19258 lines
2.2 MiB
19258 lines
2.2 MiB
{
|
|
"errors": [],
|
|
"warnings": [],
|
|
"version": "1.13.3",
|
|
"hash": "5512d937556347a62a8c",
|
|
"publicPath": "",
|
|
"assetsByChunkName": {
|
|
"my-recent-documents.bundle": [
|
|
"my-recent-documents.bundle.js",
|
|
"my-recent-documents.bundle.js.map"
|
|
],
|
|
"trending-in-the-sites-i-follow.bundle": [
|
|
"trending-in-the-sites-i-follow.bundle.js",
|
|
"trending-in-the-sites-i-follow.bundle.js.map"
|
|
],
|
|
"trending-in-this-site.bundle": [
|
|
"trending-in-this-site.bundle.js",
|
|
"trending-in-this-site.bundle.js.map"
|
|
],
|
|
"working-with.bundle": [
|
|
"working-with.bundle.js",
|
|
"working-with.bundle.js.map"
|
|
]
|
|
},
|
|
"assets": [
|
|
{
|
|
"name": "my-recent-documents.bundle.js",
|
|
"size": 1432374,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"chunkNames": [
|
|
"my-recent-documents.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "trending-in-the-sites-i-follow.bundle.js",
|
|
"size": 1433464,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"chunkNames": [
|
|
"trending-in-the-sites-i-follow.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "trending-in-this-site.bundle.js",
|
|
"size": 1437292,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"chunkNames": [
|
|
"trending-in-this-site.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "working-with.bundle.js",
|
|
"size": 1427416,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"chunkNames": [
|
|
"working-with.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "my-recent-documents.bundle.js.map",
|
|
"size": 2018017,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"chunkNames": [
|
|
"my-recent-documents.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "trending-in-the-sites-i-follow.bundle.js.map",
|
|
"size": 2021126,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"chunkNames": [
|
|
"trending-in-the-sites-i-follow.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "trending-in-this-site.bundle.js.map",
|
|
"size": 2028255,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"chunkNames": [
|
|
"trending-in-this-site.bundle"
|
|
]
|
|
},
|
|
{
|
|
"name": "working-with.bundle.js.map",
|
|
"size": 2012449,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"chunkNames": [
|
|
"working-with.bundle"
|
|
]
|
|
}
|
|
],
|
|
"chunks": [
|
|
{
|
|
"id": 0,
|
|
"rendered": true,
|
|
"initial": true,
|
|
"entry": true,
|
|
"extraAsync": false,
|
|
"size": 1374709,
|
|
"names": [
|
|
"my-recent-documents.bundle"
|
|
],
|
|
"files": [
|
|
"my-recent-documents.bundle.js",
|
|
"my-recent-documents.bundle.js.map"
|
|
],
|
|
"hash": "c33870fcd7e75eee1ee4",
|
|
"parents": [],
|
|
"origins": [
|
|
{
|
|
"moduleId": 0,
|
|
"module": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"loc": "",
|
|
"name": "my-recent-documents.bundle",
|
|
"reasons": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"rendered": true,
|
|
"initial": true,
|
|
"entry": true,
|
|
"extraAsync": false,
|
|
"size": 1375736,
|
|
"names": [
|
|
"trending-in-the-sites-i-follow.bundle"
|
|
],
|
|
"files": [
|
|
"trending-in-the-sites-i-follow.bundle.js",
|
|
"trending-in-the-sites-i-follow.bundle.js.map"
|
|
],
|
|
"hash": "7ea10f2c88007e95fb48",
|
|
"parents": [],
|
|
"origins": [
|
|
{
|
|
"moduleId": 0,
|
|
"module": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"loc": "",
|
|
"name": "trending-in-the-sites-i-follow.bundle",
|
|
"reasons": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"rendered": true,
|
|
"initial": true,
|
|
"entry": true,
|
|
"extraAsync": false,
|
|
"size": 1379599,
|
|
"names": [
|
|
"trending-in-this-site.bundle"
|
|
],
|
|
"files": [
|
|
"trending-in-this-site.bundle.js",
|
|
"trending-in-this-site.bundle.js.map"
|
|
],
|
|
"hash": "6e5319b6b2c9975649c1",
|
|
"parents": [],
|
|
"origins": [
|
|
{
|
|
"moduleId": 0,
|
|
"module": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"loc": "",
|
|
"name": "trending-in-this-site.bundle",
|
|
"reasons": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"rendered": true,
|
|
"initial": true,
|
|
"entry": true,
|
|
"extraAsync": false,
|
|
"size": 1369647,
|
|
"names": [
|
|
"working-with.bundle"
|
|
],
|
|
"files": [
|
|
"working-with.bundle.js",
|
|
"working-with.bundle.js.map"
|
|
],
|
|
"hash": "a241579fc3f18babe576",
|
|
"parents": [],
|
|
"origins": [
|
|
{
|
|
"moduleId": 0,
|
|
"module": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"loc": "",
|
|
"name": "working-with.bundle",
|
|
"reasons": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"modules": [
|
|
{
|
|
"id": 0,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"name": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"index": 0,
|
|
"index2": 381,
|
|
"size": 2713,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"assets": [],
|
|
"issuer": null,
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar sp_core_library_1 = require(\"@microsoft/sp-core-library\");\nvar React = require(\"react\");\nvar ReactDom = require(\"react-dom\");\nvar sp_webpart_base_1 = require(\"@microsoft/sp-webpart-base\");\nvar MyRecentDocuments_1 = require(\"./components/MyRecentDocuments\");\nvar strings = require(\"myRecentDocumentsStrings\");\nvar MyRecentDocumentsWebPart = (function (_super) {\n __extends(MyRecentDocumentsWebPart, _super);\n function MyRecentDocumentsWebPart(context) {\n return _super.call(this) || this;\n }\n MyRecentDocumentsWebPart.prototype.render = function () {\n var element = React.createElement(MyRecentDocuments_1.default, {\n numberOfDocuments: this.properties.numberOfDocuments,\n title: this.properties.title,\n httpClient: this.context.spHttpClient,\n siteUrl: this.context.pageContext.web.absoluteUrl\n });\n ReactDom.render(element, this.domElement);\n };\n Object.defineProperty(MyRecentDocumentsWebPart.prototype, \"dataVersion\", {\n get: function () {\n return sp_core_library_1.Version.parse('1.0');\n },\n enumerable: true,\n configurable: true\n });\n MyRecentDocumentsWebPart.prototype.getPropertyPaneConfiguration = function () {\n return {\n pages: [\n {\n header: {\n description: strings.PropertyPaneDescription\n },\n groups: [\n {\n groupName: strings.ViewGroupName,\n groupFields: [\n sp_webpart_base_1.PropertyPaneTextField('title', {\n label: strings.TitleFieldLabel\n }),\n sp_webpart_base_1.PropertyPaneSlider('numberOfDocuments', {\n label: strings.NumberOfDocumentsFieldLabel,\n min: 1,\n max: 10,\n step: 1\n })\n ]\n }\n ]\n }\n ]\n };\n };\n return MyRecentDocumentsWebPart;\n}(sp_webpart_base_1.BaseClientSideWebPart));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = MyRecentDocumentsWebPart;\n\n"
|
|
},
|
|
{
|
|
"id": 0,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"name": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"index": 382,
|
|
"index2": 387,
|
|
"size": 2809,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"assets": [],
|
|
"issuer": null,
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar sp_core_library_1 = require(\"@microsoft/sp-core-library\");\nvar React = require(\"react\");\nvar ReactDom = require(\"react-dom\");\nvar sp_webpart_base_1 = require(\"@microsoft/sp-webpart-base\");\nvar strings = require(\"trendingInTheSitesIFollowStrings\");\nvar TrendingInTheSitesIFollow_1 = require(\"./components/TrendingInTheSitesIFollow\");\nvar TrendingInTheSitesIFollowWebPart = (function (_super) {\n __extends(TrendingInTheSitesIFollowWebPart, _super);\n function TrendingInTheSitesIFollowWebPart(context) {\n return _super.call(this) || this;\n }\n TrendingInTheSitesIFollowWebPart.prototype.render = function () {\n var element = React.createElement(TrendingInTheSitesIFollow_1.default, {\n title: this.properties.title,\n numberOfDocuments: this.properties.numberOfDocuments,\n httpClient: this.context.spHttpClient,\n siteUrl: this.context.pageContext.web.absoluteUrl\n });\n ReactDom.render(element, this.domElement);\n };\n Object.defineProperty(TrendingInTheSitesIFollowWebPart.prototype, \"dataVersion\", {\n get: function () {\n return sp_core_library_1.Version.parse('1.0');\n },\n enumerable: true,\n configurable: true\n });\n TrendingInTheSitesIFollowWebPart.prototype.getPropertyPaneConfiguration = function () {\n return {\n pages: [\n {\n header: {\n description: strings.PropertyPaneDescription\n },\n groups: [\n {\n groupName: strings.ViewGroupName,\n groupFields: [\n sp_webpart_base_1.PropertyPaneTextField('title', {\n label: strings.TitleFieldLabel\n }),\n sp_webpart_base_1.PropertyPaneSlider('numberOfDocuments', {\n label: strings.NumberOfDocumentsFieldLabel,\n min: 1,\n max: 10,\n step: 1\n })\n ]\n }\n ]\n }\n ]\n };\n };\n return TrendingInTheSitesIFollowWebPart;\n}(sp_webpart_base_1.BaseClientSideWebPart));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = TrendingInTheSitesIFollowWebPart;\n\n"
|
|
},
|
|
{
|
|
"id": 0,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"name": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"index": 394,
|
|
"index2": 399,
|
|
"size": 2629,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": null,
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar React = require(\"react\");\nvar ReactDom = require(\"react-dom\");\nvar sp_core_library_1 = require(\"@microsoft/sp-core-library\");\nvar sp_webpart_base_1 = require(\"@microsoft/sp-webpart-base\");\nvar strings = require(\"workingWithStrings\");\nvar WorkingWith_1 = require(\"./components/WorkingWith\");\nvar WorkingWithWebPart = (function (_super) {\n __extends(WorkingWithWebPart, _super);\n function WorkingWithWebPart(context) {\n return _super.call(this) || this;\n }\n WorkingWithWebPart.prototype.render = function () {\n var element = React.createElement(WorkingWith_1.default, {\n numberOfPeople: this.properties.numberOfPeople,\n title: this.properties.title,\n httpClient: this.context.spHttpClient,\n siteUrl: this.context.pageContext.web.absoluteUrl\n });\n ReactDom.render(element, this.domElement);\n };\n Object.defineProperty(WorkingWithWebPart.prototype, \"dataVersion\", {\n get: function () {\n return sp_core_library_1.Version.parse('1.0');\n },\n enumerable: true,\n configurable: true\n });\n WorkingWithWebPart.prototype.getPropertyPaneConfiguration = function () {\n return {\n pages: [\n {\n header: {\n description: strings.PropertyPaneDescription\n },\n groups: [\n {\n groupName: strings.ViewGroupName,\n groupFields: [\n sp_webpart_base_1.PropertyPaneTextField('title', {\n label: strings.TitleFieldLabel\n }),\n sp_webpart_base_1.PropertyPaneSlider('numberOfPeople', {\n label: strings.NumberOfPeopleFieldLabel,\n min: 1,\n max: 10,\n step: 1\n })\n ]\n }\n ]\n }\n ]\n };\n };\n return WorkingWithWebPart;\n}(sp_webpart_base_1.BaseClientSideWebPart));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = WorkingWithWebPart;\n\n"
|
|
},
|
|
{
|
|
"id": 0,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"name": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"index": 388,
|
|
"index2": 393,
|
|
"size": 2446,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"assets": [],
|
|
"issuer": null,
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar React = require(\"react\");\nvar ReactDom = require(\"react-dom\");\nvar sp_core_library_1 = require(\"@microsoft/sp-core-library\");\nvar sp_webpart_base_1 = require(\"@microsoft/sp-webpart-base\");\nvar strings = require(\"trendingInThisSiteStrings\");\nvar TrendingInThisSite_1 = require(\"./components/TrendingInThisSite\");\nvar TrendingInThisSiteWebPart = (function (_super) {\n __extends(TrendingInThisSiteWebPart, _super);\n function TrendingInThisSiteWebPart(context) {\n return _super.call(this) || this;\n }\n TrendingInThisSiteWebPart.prototype.render = function () {\n var element = React.createElement(TrendingInThisSite_1.default, {\n numberOfDocuments: this.properties.numberOfDocuments,\n siteUrl: this.context.pageContext.web.absoluteUrl\n });\n ReactDom.render(element, this.domElement);\n };\n Object.defineProperty(TrendingInThisSiteWebPart.prototype, \"dataVersion\", {\n get: function () {\n return sp_core_library_1.Version.parse('1.0');\n },\n enumerable: true,\n configurable: true\n });\n TrendingInThisSiteWebPart.prototype.getPropertyPaneConfiguration = function () {\n return {\n pages: [\n {\n header: {\n description: strings.PropertyPaneDescription\n },\n groups: [\n {\n groupName: strings.ViewGroupName,\n groupFields: [\n sp_webpart_base_1.PropertyPaneSlider('numberOfDocuments', {\n label: strings.NumberOfDocumentsFieldLabel,\n min: 1,\n max: 10,\n step: 1\n })\n ]\n }\n ]\n }\n ]\n };\n };\n return TrendingInThisSiteWebPart;\n}(sp_webpart_base_1.BaseClientSideWebPart));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = TrendingInThisSiteWebPart;\n\n"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"identifier": "external \"@microsoft/sp-core-library\"",
|
|
"name": "external \"@microsoft/sp-core-library\"",
|
|
"index": 1,
|
|
"index2": 0,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-core-library",
|
|
"loc": "7:24-61"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-core-library",
|
|
"loc": "9:24-61"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-core-library",
|
|
"loc": "7:24-61"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-core-library",
|
|
"loc": "9:24-61"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"identifier": "external \"react\"",
|
|
"name": "external \"react\"",
|
|
"index": 2,
|
|
"index2": 1,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "8:12-28"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "7:12-28"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "8:12-28"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "7:12-28"
|
|
},
|
|
{
|
|
"moduleId": 5,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"module": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "7:12-28"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 19,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 21,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 32,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\DelayedRender.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/DelayedRender.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/DelayedRender.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 38,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\customizable.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/customizable.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/customizable.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 52,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\FocusZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 61,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "20:12-28"
|
|
},
|
|
{
|
|
"moduleId": 66,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Popup\\Popup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Popup/Popup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Popup/Popup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 94,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 96,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 98,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\DelayedRender.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/DelayedRender.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/DelayedRender.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 104,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\customizable.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/customizable.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/customizable.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 134,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "14:12-28"
|
|
},
|
|
{
|
|
"moduleId": 137,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 140,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\LayerHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 143,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "12:12-28"
|
|
},
|
|
{
|
|
"moduleId": 145,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "28:12-28"
|
|
},
|
|
{
|
|
"moduleId": 152,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 156,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 159,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 162,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 164,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 166,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 168,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 175,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 178,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 182,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 186,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 191,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 199,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 201,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorRectangle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 205,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorSlider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 220,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 226,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 228,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "4:12-28"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 232,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowCheck.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "4:12-28"
|
|
},
|
|
{
|
|
"moduleId": 234,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowFields.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 237,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 239,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 244,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 250,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\List\\List.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/List/List.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/List/List.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 252,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withViewport.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 264,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusTrapZone\\FocusTrapZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/FocusTrapZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/FocusTrapZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 267,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 269,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withResponsiveMode.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 272,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 273,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 276,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 279,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 280,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActivity.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 287,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardLocation.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 288,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardPreview.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 289,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardTitle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "20:12-28"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "28:12-28"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 308,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 312,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 320,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 323,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\AutoFill\\BaseAutoFill.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/AutoFill/BaseAutoFill.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/AutoFill/BaseAutoFill.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 326,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 327,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "12:12-28"
|
|
},
|
|
{
|
|
"moduleId": 329,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SuggestionItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "12:12-28"
|
|
},
|
|
{
|
|
"moduleId": 331,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 332,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "4:12-28"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "19:12-28"
|
|
},
|
|
{
|
|
"moduleId": 337,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\PivotItem.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/PivotItem.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/PivotItem.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "21:12-28"
|
|
},
|
|
{
|
|
"moduleId": 342,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "14:12-28"
|
|
},
|
|
{
|
|
"moduleId": 346,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "13:12-28"
|
|
},
|
|
{
|
|
"moduleId": 351,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 355,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 359,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 360,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubbleContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 364,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "27:12-28"
|
|
},
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "22:12-28"
|
|
},
|
|
{
|
|
"moduleId": 371,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "28:12-28"
|
|
},
|
|
{
|
|
"moduleId": 383,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "7:12-28"
|
|
},
|
|
{
|
|
"moduleId": 388,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\components\\TrendingInThisSite.js",
|
|
"module": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "7:12-28"
|
|
},
|
|
{
|
|
"moduleId": 393,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"module": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"moduleName": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react",
|
|
"loc": "7:12-28"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"identifier": "external \"react-dom\"",
|
|
"name": "external \"react-dom\"",
|
|
"index": 3,
|
|
"index2": 2,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react-dom",
|
|
"loc": "9:15-35"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react-dom",
|
|
"loc": "8:15-35"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react-dom",
|
|
"loc": "9:15-35"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react-dom",
|
|
"loc": "8:15-35"
|
|
},
|
|
{
|
|
"moduleId": 134,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react-dom",
|
|
"loc": "15:15-35"
|
|
},
|
|
{
|
|
"moduleId": 254,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\dragdrop\\DragDropHelper.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/dragdrop/DragDropHelper.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/dragdrop/DragDropHelper.js",
|
|
"type": "cjs require",
|
|
"userRequest": "react-dom",
|
|
"loc": "3:15-35"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"identifier": "external \"@microsoft/sp-webpart-base\"",
|
|
"name": "external \"@microsoft/sp-webpart-base\"",
|
|
"index": 4,
|
|
"index2": 3,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-webpart-base",
|
|
"loc": "10:24-61"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-webpart-base",
|
|
"loc": "10:24-61"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-webpart-base",
|
|
"loc": "10:24-61"
|
|
},
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-webpart-base",
|
|
"loc": "10:24-61"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"name": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"index": 5,
|
|
"index2": 379,
|
|
"size": 10147,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/MyRecentDocuments",
|
|
"loc": "11:26-67"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar React = require(\"react\");\nvar office_ui_fabric_react_1 = require(\"office-ui-fabric-react\");\nvar MyRecentDocuments_module_scss_1 = require(\"../MyRecentDocuments.module.scss\");\nvar sp_http_1 = require(\"@microsoft/sp-http\");\nvar SearchUtils_1 = require(\"../../SearchUtils\");\nvar Utils_1 = require(\"../../Utils\");\nvar MyRecentDocuments = (function (_super) {\n __extends(MyRecentDocuments, _super);\n function MyRecentDocuments(props, state) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n myDocuments: [],\n loading: true,\n error: null\n };\n return _this;\n }\n MyRecentDocuments.prototype.componentDidMount = function () {\n this.loadMyDocuments(this.props.siteUrl, this.props.numberOfDocuments);\n };\n MyRecentDocuments.prototype.componentDidUpdate = function (prevProps, prevState, prevContext) {\n if (this.props.numberOfDocuments !== prevProps.numberOfDocuments ||\n this.props.siteUrl !== prevProps.siteUrl && (this.props.numberOfDocuments && this.props.siteUrl)) {\n this.loadMyDocuments(this.props.siteUrl, this.props.numberOfDocuments);\n }\n };\n MyRecentDocuments.prototype.render = function () {\n var loading = this.state.loading ? React.createElement(\"div\", { style: { margin: '0 auto' } },\n React.createElement(office_ui_fabric_react_1.Spinner, { label: 'Loading...' })) : React.createElement(\"div\", null);\n var error = this.state.error ? React.createElement(\"div\", null,\n React.createElement(\"strong\", null, \"Error: \"),\n \" \",\n this.state.error) : React.createElement(\"div\", null);\n var documents = this.state.myDocuments.map(function (doc, i) {\n var iconUrl = \"https://spoprod-a.akamaihd.net/files/odsp-next-prod_ship-2016-08-15_20160815.002/odsp-media/images/filetypes/32/\" + doc.extension + \".png\";\n return (React.createElement(office_ui_fabric_react_1.DocumentCard, { onClickHref: doc.url, key: doc.id },\n React.createElement(office_ui_fabric_react_1.DocumentCardPreview, { previewImages: [\n {\n previewImageSrc: doc.previewImageUrl,\n iconSrc: iconUrl,\n width: 318,\n height: 196,\n accentColor: '#ce4b1f'\n }\n ] }),\n React.createElement(office_ui_fabric_react_1.DocumentCardTitle, { title: doc.title }),\n React.createElement(office_ui_fabric_react_1.DocumentCardActivity, { activity: doc.activity.name + \" \" + doc.activity.date, people: [\n { name: doc.activity.actorName, profileImageSrc: doc.activity.actorPhotoUrl }\n ] })));\n });\n return (React.createElement(\"div\", { className: MyRecentDocuments_module_scss_1.default.myRecentDocuments },\n React.createElement(\"div\", { className: office_ui_fabric_react_1.css('ms-font-xl', MyRecentDocuments_module_scss_1.default.webPartTitle) }, this.props.title),\n loading,\n error,\n documents,\n React.createElement(\"div\", { style: { clear: 'both' } })));\n };\n MyRecentDocuments.prototype.loadMyDocuments = function (siteUrl, numberOfDocuments) {\n var _this = this;\n var myDocuments = [];\n this.props.httpClient.get(siteUrl + \"/_api/search/query?querytext='*'&properties='GraphQuery:actor(me\\\\,or(action\\\\:1001\\\\,action\\\\:1003)),GraphRankingModel:{\\\"features\\\"\\\\:[{\\\"function\\\"\\\\:\\\"EdgeTime\\\"}]}'&selectproperties='Author,AuthorOwsUser,DocId,DocumentPreviewMetadata,Edges,EditorOwsUser,FileExtension,FileType,HitHighlightedProperties,HitHighlightedSummary,LastModifiedTime,LikeCountLifetime,ListID,ListItemID,OriginalPath,Path,Rank,SPWebUrl,SecondaryFileExtension,ServerRedirectedURL,SiteTitle,Title,ViewCountLifetime,siteID,uniqueID,webID'&rowlimit=\" + numberOfDocuments + \"&ClientType='MyRecentDocuments'&RankingModelId='0c77ded8-c3ef-466d-929d-905670ea1d72'\", sp_http_1.SPHttpClient.configurations.v1, {\n headers: {\n 'Accept': 'application/json;odata=nometadata',\n 'odata-version': ''\n }\n })\n .then(function (response) {\n return response.json();\n })\n .then(function (response) {\n if (!response ||\n !response.PrimaryQueryResult ||\n !response.PrimaryQueryResult.RelevantResults ||\n response.PrimaryQueryResult.RelevantResults.RowCount === 0) {\n return Promise.resolve();\n }\n var actorId = undefined;\n for (var i = 0; i < response.PrimaryQueryResult.RelevantResults.Table.Rows.length; i++) {\n var row = response.PrimaryQueryResult.RelevantResults.Table.Rows[i];\n var edges = JSON.parse(SearchUtils_1.SearchUtils.getValueFromResults('Edges', row.Cells));\n if (edges.length < 1) {\n continue;\n }\n // we can get multiple edges back so let's show the information from the latest one\n var latestEdge = edges[0];\n if (edges.length > 1) {\n var latestEdgeDate = new Date(latestEdge.Properties.Time);\n for (var i_1 = 1; i_1 < edges.length; i_1++) {\n var edgeDate = new Date(edges[i_1].Properties.Time);\n if (edgeDate > latestEdgeDate) {\n latestEdge = edges[i_1];\n latestEdgeDate = edgeDate;\n }\n }\n }\n if (!actorId) {\n // since all edges that we're retrieving are personal (I viewed, I modified)\n // we only need to get the actor ID once because it's the same on all edges (me)\n actorId = latestEdge.ActorId;\n }\n var cells = row.Cells;\n var date = new Date(latestEdge.Properties.Time);\n var dateString = (date.getMonth() + 1) + '/' + date.getDate() + '/' + date.getFullYear();\n myDocuments.push({\n id: SearchUtils_1.SearchUtils.getValueFromResults('DocId', cells),\n url: SearchUtils_1.SearchUtils.getValueFromResults('ServerRedirectedURL', cells),\n title: SearchUtils_1.SearchUtils.getValueFromResults('Title', cells),\n previewImageUrl: SearchUtils_1.SearchUtils.getPreviewImageUrl(cells, siteUrl),\n extension: SearchUtils_1.SearchUtils.getValueFromResults('FileType', cells),\n activity: {\n actorId: latestEdge.ActorId,\n date: dateString,\n name: SearchUtils_1.SearchUtils.getActionName(latestEdge.Properties.Action)\n }\n });\n }\n return _this.getActorsInfo(actorId, siteUrl);\n }).\n then(function (actorInformation) {\n if (actorInformation) {\n for (var i = 0; i < myDocuments.length; i++) {\n if (myDocuments[i].activity.actorId !== actorInformation.id) {\n continue;\n }\n myDocuments[i].activity.actorName = actorInformation.name;\n myDocuments[i].activity.actorPhotoUrl = actorInformation.photoUrl;\n }\n }\n _this.setState({\n loading: false,\n error: null,\n myDocuments: myDocuments\n });\n }, function (error) {\n _this.setState({\n loading: false,\n error: error,\n myDocuments: []\n });\n });\n };\n MyRecentDocuments.prototype.getActorsInfo = function (actorId, siteUrl) {\n var _this = this;\n if (!actorId) {\n return Promise.resolve();\n }\n return new Promise(function (resolve, reject) {\n _this.props.httpClient.get(siteUrl + \"/_api/search/query?querytext='WorkId:\" + actorId + \"'&selectproperties='DocId,Title,WorkEmail'&ClientType='MyRecentDocuments'&SourceId='b09a7990-05ea-4af9-81ef-edfab16c4e31'\", sp_http_1.SPHttpClient.configurations.v1, {\n headers: {\n 'Accept': 'application/json;odata=nometadata',\n 'odata-version': ''\n }\n })\n .then(function (response) {\n return response.json();\n })\n .then(function (response) {\n if (!response ||\n !response.PrimaryQueryResult ||\n !response.PrimaryQueryResult.RelevantResults ||\n response.PrimaryQueryResult.RelevantResults.RowCount === 0) {\n return Promise.resolve();\n }\n var cells = response.PrimaryQueryResult.RelevantResults.Table.Rows[0].Cells;\n resolve({\n email: SearchUtils_1.SearchUtils.getValueFromResults('WorkEmail', cells),\n id: parseInt(SearchUtils_1.SearchUtils.getValueFromResults('DocId', cells)),\n name: SearchUtils_1.SearchUtils.getValueFromResults('Title', cells),\n photoUrl: Utils_1.Utils.getUserPhotoUrl(SearchUtils_1.SearchUtils.getValueFromResults('WorkEmail', cells), siteUrl)\n });\n }, function (error) {\n reject(error);\n });\n });\n };\n return MyRecentDocuments;\n}(React.Component));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = MyRecentDocuments;\n\n"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/index.js",
|
|
"index": 6,
|
|
"index2": 371,
|
|
"size": 1832,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 5,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"module": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"type": "cjs require",
|
|
"userRequest": "office-ui-fabric-react",
|
|
"loc": "8:31-64"
|
|
},
|
|
{
|
|
"moduleId": 383,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "office-ui-fabric-react",
|
|
"loc": "8:31-64"
|
|
},
|
|
{
|
|
"moduleId": 388,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\components\\TrendingInThisSite.js",
|
|
"module": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"type": "cjs require",
|
|
"userRequest": "office-ui-fabric-react",
|
|
"loc": "8:31-64"
|
|
},
|
|
{
|
|
"moduleId": 393,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"module": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"moduleName": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"type": "cjs require",
|
|
"userRequest": "office-ui-fabric-react",
|
|
"loc": "12:31-64"
|
|
}
|
|
],
|
|
"source": "/**\n * WARNING: This entry should NOT be imported for production purposes. This entry forces every control to be\n * parsed and available at load time, which is not necessary for most cases.\n */\n\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Breadcrumb\"));\n__export(require(\"./Button\"));\n__export(require(\"./Calendar\"));\n__export(require(\"./Callout\"));\n__export(require(\"./Checkbox\"));\n__export(require(\"./ChoiceGroup\"));\n__export(require(\"./ColorPicker\"));\n__export(require(\"./CommandBar\"));\n__export(require(\"./ContextualMenu\"));\n__export(require(\"./DatePicker\"));\n__export(require(\"./DetailsList\"));\n__export(require(\"./Dialog\"));\n__export(require(\"./DocumentCard\"));\n__export(require(\"./Dropdown\"));\n__export(require(\"./Fabric\"));\n__export(require(\"./Facepile\"));\n__export(require(\"./FocusTrapZone\"));\n__export(require(\"./FocusZone\"));\n__export(require(\"./GroupedList\"));\n__export(require(\"./Icon\"));\n__export(require(\"./Image\"));\n__export(require(\"./Label\"));\n__export(require(\"./Layer\"));\n__export(require(\"./Link\"));\n__export(require(\"./List\"));\n__export(require(\"./MessageBar\"));\n__export(require(\"./MarqueeSelection\"));\n__export(require(\"./Nav\"));\n__export(require(\"./Overlay\"));\n__export(require(\"./Panel\"));\n__export(require(\"./Pickers\"));\n__export(require(\"./Persona\"));\n__export(require(\"./Pivot\"));\n__export(require(\"./ProgressIndicator\"));\n__export(require(\"./Rating\"));\n__export(require(\"./SearchBox\"));\n__export(require(\"./Slider\"));\n__export(require(\"./Spinner\"));\n__export(require(\"./Styling\"));\n__export(require(\"./TeachingBubble\"));\n__export(require(\"./TextField\"));\n__export(require(\"./Toggle\"));\n__export(require(\"./Tooltip\"));\n__export(require(\"./Utilities\"));\n\n"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Breadcrumb.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Breadcrumb.js",
|
|
"index": 7,
|
|
"index2": 167,
|
|
"size": 227,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Breadcrumb",
|
|
"loc": "10:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Breadcrumb/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Breadcrumb/index.js",
|
|
"index": 8,
|
|
"index2": 166,
|
|
"size": 210,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Breadcrumb.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 7,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Breadcrumb/index",
|
|
"loc": "6:9-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Breadcrumb\"));\n\n"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"index": 9,
|
|
"index2": 165,
|
|
"size": 9277,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 8,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Breadcrumb",
|
|
"loc": "6:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar ContextualMenu_1 = require(\"../../ContextualMenu\");\nvar Link_1 = require(\"../../Link\");\nvar Icon_1 = require(\"../../Icon\");\nvar Button_1 = require(\"../../Button\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar stylesImport = require(\"./Breadcrumb.scss\");\nvar styles = stylesImport;\nvar OVERFLOW_KEY = 'overflow';\nvar OVERFLOW_WIDTH = 44;\nvar Breadcrumb = (function (_super) {\n __extends(Breadcrumb, _super);\n function Breadcrumb(props) {\n var _this = _super.call(this, props) || this;\n _this._id = Utilities_1.getId('Breadcrumb');\n _this.state = _this._getStateFromProps(props);\n return _this;\n }\n Breadcrumb.prototype.componentDidMount = function () {\n this._updateItemMeasurements();\n this._updateRenderedItems();\n this._events.on(window, 'resize', this._updateRenderedItems);\n };\n Breadcrumb.prototype.componentWillReceiveProps = function (nextProps) {\n this.setState(this._getStateFromProps(nextProps));\n this._breadcrumbItemWidths = null;\n };\n Breadcrumb.prototype.componentDidUpdate = function (prevProps, prevStates) {\n if (!this._breadcrumbItemWidths) {\n this._updateItemMeasurements();\n this._updateRenderedItems();\n }\n };\n Breadcrumb.prototype.render = function () {\n var _this = this;\n var _a = this.props, className = _a.className, ariaLabel = _a.ariaLabel;\n var _b = this.state, isOverflowOpen = _b.isOverflowOpen, overflowAnchor = _b.overflowAnchor, renderedItems = _b.renderedItems, renderedOverflowItems = _b.renderedOverflowItems;\n var overflowMenuId = this._id + '-overflow';\n var _c = this.props.onRenderItem, onRenderItem = _c === void 0 ? this._onRenderItem : _c;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Breadcrumb', className, styles.root), ref: 'renderingArea', role: 'navigation', \"aria-label\": ariaLabel },\n React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.horizontal },\n React.createElement(\"ol\", { className: Utilities_1.css('ms-Breadcrumb-list', styles.list) },\n renderedOverflowItems && renderedOverflowItems.length ? (React.createElement(\"li\", { className: Utilities_1.css('ms-Breadcrumb-overflow', styles.overflow), key: OVERFLOW_KEY, ref: OVERFLOW_KEY },\n React.createElement(Button_1.IconButton, { className: Utilities_1.css('ms-Breadcrumb-overflowButton', styles.overflowButton), iconProps: { iconName: 'more' }, onClick: this._onOverflowClicked, role: 'button', \"aria-haspopup\": 'true', \"aria-owns\": isOverflowOpen ? overflowMenuId : null }),\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Breadcrumb-chevron', styles.chevron), iconName: Utilities_1.getRTL() ? 'ChevronLeft' : 'ChevronRight' }))) : (null),\n renderedItems.map(function (item, index) { return (React.createElement(\"li\", { className: Utilities_1.css('ms-Breadcrumb-listItem', styles.listItem), key: item.key || String(index), ref: item.key || String(index) },\n onRenderItem(item, _this._defaultRenderItem),\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Breadcrumb-chevron', styles.chevron), iconName: Utilities_1.getRTL() ? 'ChevronLeft' : 'ChevronRight' }))); }))),\n isOverflowOpen ? (React.createElement(ContextualMenu_1.ContextualMenu, { targetElement: overflowAnchor, isBeakVisible: true, items: renderedOverflowItems.map(function (item, index) { return ({\n name: item.text,\n key: item.key,\n onClick: item.onClick ? _this._onBreadcrumbClicked.bind(_this, item) : null,\n href: item.href\n }); }), id: overflowMenuId, directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge, onDismiss: this._onOverflowDismissed })) : (null)));\n };\n Breadcrumb.prototype._onRenderItem = function (item, defaultRender) {\n return this._defaultRenderItem(item);\n };\n Breadcrumb.prototype._defaultRenderItem = function (item) {\n if (item.onClick || item.href) {\n return (React.createElement(Link_1.Link, { className: Utilities_1.css('ms-Breadcrumb-itemLink', styles.itemLink), href: item.href, \"aria-current\": item.isCurrentItem ? 'page' : null, onClick: this._onBreadcrumbClicked.bind(this, item) }, item.text));\n }\n else {\n return (React.createElement(\"span\", { className: Utilities_1.css('ms-Breadcrumb-item', styles.item) }, item.text));\n }\n };\n Breadcrumb.prototype._onOverflowClicked = function (ev) {\n this.setState({\n 'isOverflowOpen': !this.state.isOverflowOpen,\n 'overflowAnchor': ev.currentTarget\n });\n };\n Breadcrumb.prototype._onOverflowDismissed = function (ev) {\n this.setState({\n 'isOverflowOpen': false,\n 'overflowAnchor': null\n });\n };\n Breadcrumb.prototype._onBreadcrumbClicked = function (item, ev) {\n if (item.onClick) {\n item.onClick(ev, item);\n }\n this.setState({\n 'isOverflowOpen': false\n });\n };\n Breadcrumb.prototype._updateItemMeasurements = function () {\n var items = this.props.items;\n if (!this._breadcrumbItemWidths) {\n this._breadcrumbItemWidths = {};\n }\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n if (!this._breadcrumbItemWidths[item.key]) {\n var el = this.refs[item.key];\n this._breadcrumbItemWidths[item.key] = el.getBoundingClientRect().width;\n }\n }\n };\n Breadcrumb.prototype._updateRenderedItems = function () {\n var _a = this.props, items = _a.items, maxDisplayedItems = _a.maxDisplayedItems;\n var renderingArea = this.refs.renderingArea;\n var renderedItems = [];\n var renderedOverflowItems = [].concat(items);\n var consumedWidth = 0;\n var style = window.getComputedStyle(renderingArea);\n var availableWidth = renderingArea.clientWidth - parseInt(style.marginLeft, 10) - parseInt(style.marginRight, 10);\n availableWidth -= OVERFLOW_WIDTH;\n var i;\n var minIndex = Math.max(0, renderedOverflowItems.length - maxDisplayedItems);\n for (i = renderedOverflowItems.length - 1; i >= minIndex; i--) {\n var item = renderedOverflowItems[i];\n var itemWidth = this._breadcrumbItemWidths[item.key];\n if ((consumedWidth + itemWidth) >= availableWidth) {\n break;\n }\n else {\n consumedWidth += itemWidth;\n }\n }\n renderedItems = renderedOverflowItems.splice(i + 1);\n this.setState({\n isOverflowOpen: this.state.isOverflowOpen,\n overflowAnchor: this.state.overflowAnchor,\n renderedItems: renderedItems,\n renderedOverflowItems: renderedOverflowItems,\n });\n };\n Breadcrumb.prototype._getStateFromProps = function (nextProps) {\n return {\n isOverflowOpen: false,\n overflowAnchor: null,\n renderedItems: nextProps.items || [],\n renderedOverflowItems: null\n };\n };\n return Breadcrumb;\n}(Utilities_1.BaseComponent));\nBreadcrumb.defaultProps = {\n items: [],\n maxDisplayedItems: 999\n};\n__decorate([\n Utilities_1.autobind\n], Breadcrumb.prototype, \"_onRenderItem\", null);\n__decorate([\n Utilities_1.autobind\n], Breadcrumb.prototype, \"_defaultRenderItem\", null);\n__decorate([\n Utilities_1.autobind\n], Breadcrumb.prototype, \"_onOverflowClicked\", null);\n__decorate([\n Utilities_1.autobind\n], Breadcrumb.prototype, \"_onOverflowDismissed\", null);\n__decorate([\n Utilities_1.autobind\n], Breadcrumb.prototype, \"_onBreadcrumbClicked\", null);\nexports.Breadcrumb = Breadcrumb;\n\n"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Utilities.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Utilities.js",
|
|
"index": 10,
|
|
"index2": 43,
|
|
"size": 227,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Utilities",
|
|
"loc": "53:9-31"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 52,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\FocusZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "29:18-44"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "31:18-44"
|
|
},
|
|
{
|
|
"moduleId": 61,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 63,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\positioning.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/positioning.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/positioning.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../Utilities",
|
|
"loc": "4:18-41"
|
|
},
|
|
{
|
|
"moduleId": 66,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Popup\\Popup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Popup/Popup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Popup/Popup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 134,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "18:18-44"
|
|
},
|
|
{
|
|
"moduleId": 137,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 138,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "3:18-44"
|
|
},
|
|
{
|
|
"moduleId": 140,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\LayerHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 143,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "16:18-44"
|
|
},
|
|
{
|
|
"moduleId": 145,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "30:18-44"
|
|
},
|
|
{
|
|
"moduleId": 148,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "4:18-44"
|
|
},
|
|
{
|
|
"moduleId": 152,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 156,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 159,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "23:18-47"
|
|
},
|
|
{
|
|
"moduleId": 160,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "4:18-47"
|
|
},
|
|
{
|
|
"moduleId": 161,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "3:18-44"
|
|
},
|
|
{
|
|
"moduleId": 162,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "23:18-47"
|
|
},
|
|
{
|
|
"moduleId": 163,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "4:18-47"
|
|
},
|
|
{
|
|
"moduleId": 164,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "23:18-47"
|
|
},
|
|
{
|
|
"moduleId": 165,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "4:18-47"
|
|
},
|
|
{
|
|
"moduleId": 166,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "23:18-47"
|
|
},
|
|
{
|
|
"moduleId": 167,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "4:18-47"
|
|
},
|
|
{
|
|
"moduleId": 168,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "22:18-47"
|
|
},
|
|
{
|
|
"moduleId": 169,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "4:18-47"
|
|
},
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 175,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 178,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 182,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 186,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "25:18-44"
|
|
},
|
|
{
|
|
"moduleId": 191,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 199,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 201,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorRectangle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 202,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\color\\colors.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/color/colors.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/color/colors.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "3:18-44"
|
|
},
|
|
{
|
|
"moduleId": 205,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorSlider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 218,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\Selection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/Selection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/Selection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "4:18-44"
|
|
},
|
|
{
|
|
"moduleId": 220,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 226,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 228,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "6:18-44"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 232,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowCheck.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "6:18-44"
|
|
},
|
|
{
|
|
"moduleId": 234,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowFields.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 237,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "33:18-44"
|
|
},
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 239,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 244,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 250,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\List\\List.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/List/List.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/List/List.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 252,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withViewport.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "23:18-44"
|
|
},
|
|
{
|
|
"moduleId": 253,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\BaseDecorator.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/BaseDecorator.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/BaseDecorator.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "13:18-44"
|
|
},
|
|
{
|
|
"moduleId": 254,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\dragdrop\\DragDropHelper.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/dragdrop/DragDropHelper.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/dragdrop/DragDropHelper.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "4:18-44"
|
|
},
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 264,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusTrapZone\\FocusTrapZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/FocusTrapZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/FocusTrapZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 267,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 269,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withResponsiveMode.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "23:18-44"
|
|
},
|
|
{
|
|
"moduleId": 272,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 273,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 276,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "21:18-44"
|
|
},
|
|
{
|
|
"moduleId": 279,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 280,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActivity.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 287,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardLocation.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 288,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardPreview.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "21:18-44"
|
|
},
|
|
{
|
|
"moduleId": 289,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardTitle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "37:18-44"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "30:18-44"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 308,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 312,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 320,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "14:18-47"
|
|
},
|
|
{
|
|
"moduleId": 323,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\AutoFill\\BaseAutoFill.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/AutoFill/BaseAutoFill.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/AutoFill/BaseAutoFill.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "28:18-47"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 327,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../../Utilities",
|
|
"loc": "14:18-50"
|
|
},
|
|
{
|
|
"moduleId": 329,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SuggestionItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../../Utilities",
|
|
"loc": "14:18-50"
|
|
},
|
|
{
|
|
"moduleId": 331,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "23:18-47"
|
|
},
|
|
{
|
|
"moduleId": 332,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Utilities",
|
|
"loc": "6:18-47"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "20:18-44"
|
|
},
|
|
{
|
|
"moduleId": 337,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\PivotItem.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/PivotItem.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/PivotItem.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 342,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "16:18-44"
|
|
},
|
|
{
|
|
"moduleId": 346,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "14:18-44"
|
|
},
|
|
{
|
|
"moduleId": 351,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 355,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 359,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 360,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubbleContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 364,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "28:18-44"
|
|
},
|
|
{
|
|
"moduleId": 365,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "4:18-44"
|
|
},
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 371,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utilities",
|
|
"loc": "30:18-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"@uifabric/utilities/lib/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"index": 11,
|
|
"index2": 42,
|
|
"size": 1048,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Utilities.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 10,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Utilities.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Utilities.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Utilities.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@uifabric/utilities/lib/index",
|
|
"loc": "6:9-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Async\"));\n__export(require(\"./AutoScroll\"));\n__export(require(\"./BaseComponent\"));\n__export(require(\"./Customizer\"));\n__export(require(\"./DelayedRender\"));\n__export(require(\"./EventGroup\"));\n__export(require(\"./KeyCodes\"));\n__export(require(\"./Rectangle\"));\n__export(require(\"./array\"));\n__export(require(\"./autobind\"));\n__export(require(\"./css\"));\n__export(require(\"./customizable\"));\n__export(require(\"./dom\"));\n__export(require(\"./focus\"));\n__export(require(\"./hoist\"));\n__export(require(\"./initials\"));\n__export(require(\"./language\"));\n__export(require(\"./math\"));\n__export(require(\"./object\"));\n__export(require(\"./overflow\"));\n__export(require(\"./properties\"));\n__export(require(\"./resources\"));\n__export(require(\"./rtl\"));\n__export(require(\"./scroll\"));\n__export(require(\"./string\"));\n__export(require(\"./warn\"));\n__export(require(\"./memoize\"));\n\n"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Async.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Async.js",
|
|
"index": 12,
|
|
"index2": 4,
|
|
"size": 14335,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Async",
|
|
"loc": "6:9-27"
|
|
},
|
|
{
|
|
"moduleId": 19,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Async",
|
|
"loc": "14:14-32"
|
|
}
|
|
],
|
|
"source": "/**\n * Bugs often appear in async code when stuff gets disposed, but async operations don't get canceled.\n * This Async helper class solves these issues by tying async code to the lifetime of a disposable object.\n *\n * Usage: Anything class extending from BaseModel can access this helper via this.async. Otherwise create a\n * new instance of the class and remember to call dispose() during your code's dispose handler.\n */\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Async = (function () {\n function Async(parent, onError) {\n this._timeoutIds = null;\n this._immediateIds = null;\n this._intervalIds = null;\n this._animationFrameIds = null;\n this._isDisposed = false;\n this._parent = parent || null;\n this._onErrorHandler = onError;\n this._noop = function () { };\n }\n /**\n * Dispose function, clears all async operations.\n */\n Async.prototype.dispose = function () {\n var id;\n this._isDisposed = true;\n this._parent = null;\n // Clear timeouts.\n if (this._timeoutIds) {\n for (id in this._timeoutIds) {\n if (this._timeoutIds.hasOwnProperty(id)) {\n this.clearTimeout(id);\n }\n }\n this._timeoutIds = null;\n }\n // Clear immediates.\n if (this._immediateIds) {\n for (id in this._immediateIds) {\n if (this._immediateIds.hasOwnProperty(id)) {\n this.clearImmediate(id);\n }\n }\n this._immediateIds = null;\n }\n // Clear intervals.\n if (this._intervalIds) {\n for (id in this._intervalIds) {\n if (this._intervalIds.hasOwnProperty(id)) {\n this.clearInterval(id);\n }\n }\n this._intervalIds = null;\n }\n // Clear animation frames.\n if (this._animationFrameIds) {\n for (id in this._animationFrameIds) {\n if (this._animationFrameIds.hasOwnProperty(id)) {\n this.cancelAnimationFrame(id);\n }\n }\n this._animationFrameIds = null;\n }\n };\n /**\n * SetTimeout override, which will auto cancel the timeout during dispose.\n * @param callback - Callback to execute.\n * @param duration - Duration in milliseconds.\n * @returns The setTimeout id.\n */\n Async.prototype.setTimeout = function (callback, duration) {\n var _this = this;\n var timeoutId = 0;\n if (!this._isDisposed) {\n if (!this._timeoutIds) {\n this._timeoutIds = {};\n }\n /* tslint:disable:ban-native-functions */\n timeoutId = setTimeout(function () {\n // Time to execute the timeout, enqueue it as a foreground task to be executed.\n try {\n // Now delete the record and call the callback.\n delete _this._timeoutIds[timeoutId];\n callback.apply(_this._parent);\n }\n catch (e) {\n if (_this._onErrorHandler) {\n _this._onErrorHandler(e);\n }\n }\n }, duration);\n /* tslint:enable:ban-native-functions */\n this._timeoutIds[timeoutId] = true;\n }\n return timeoutId;\n };\n /**\n * Clears the timeout.\n * @param id - Id to cancel.\n */\n Async.prototype.clearTimeout = function (id) {\n if (this._timeoutIds && this._timeoutIds[id]) {\n /* tslint:disable:ban-native-functions */\n clearTimeout(id);\n delete this._timeoutIds[id];\n /* tslint:enable:ban-native-functions */\n }\n };\n /**\n * SetImmediate override, which will auto cancel the immediate during dispose.\n * @param callback - Callback to execute.\n * @returns The setTimeout id.\n */\n Async.prototype.setImmediate = function (callback) {\n var _this = this;\n var immediateId = 0;\n if (!this._isDisposed) {\n if (!this._immediateIds) {\n this._immediateIds = {};\n }\n /* tslint:disable:ban-native-functions */\n var setImmediateCallback = function () {\n // Time to execute the timeout, enqueue it as a foreground task to be executed.\n try {\n // Now delete the record and call the callback.\n delete _this._immediateIds[immediateId];\n callback.apply(_this._parent);\n }\n catch (e) {\n _this._logError(e);\n }\n };\n immediateId = window.setImmediate ? window.setImmediate(setImmediateCallback) : window.setTimeout(setImmediateCallback, 0);\n /* tslint:enable:ban-native-functions */\n this._immediateIds[immediateId] = true;\n }\n return immediateId;\n };\n /**\n * Clears the immediate.\n * @param id - Id to cancel.\n */\n Async.prototype.clearImmediate = function (id) {\n if (this._immediateIds && this._immediateIds[id]) {\n /* tslint:disable:ban-native-functions */\n window.clearImmediate ? window.clearImmediate(id) : window.clearTimeout(id);\n delete this._immediateIds[id];\n /* tslint:enable:ban-native-functions */\n }\n };\n /**\n * SetInterval override, which will auto cancel the timeout during dispose.\n * @param callback - Callback to execute.\n * @param duration - Duration in milliseconds.\n * @returns The setTimeout id.\n */\n Async.prototype.setInterval = function (callback, duration) {\n var _this = this;\n var intervalId = 0;\n if (!this._isDisposed) {\n if (!this._intervalIds) {\n this._intervalIds = {};\n }\n /* tslint:disable:ban-native-functions */\n intervalId = setInterval(function () {\n // Time to execute the interval callback, enqueue it as a foreground task to be executed.\n try {\n callback.apply(_this._parent);\n }\n catch (e) {\n _this._logError(e);\n }\n }, duration);\n /* tslint:enable:ban-native-functions */\n this._intervalIds[intervalId] = true;\n }\n return intervalId;\n };\n /**\n * Clears the interval.\n * @param id - Id to cancel.\n */\n Async.prototype.clearInterval = function (id) {\n if (this._intervalIds && this._intervalIds[id]) {\n /* tslint:disable:ban-native-functions */\n clearInterval(id);\n delete this._intervalIds[id];\n /* tslint:enable:ban-native-functions */\n }\n };\n /**\n * Creates a function that, when executed, will only call the func function at most once per\n * every wait milliseconds. Provide an options object to indicate that func should be invoked\n * on the leading and/or trailing edge of the wait timeout. Subsequent calls to the throttled\n * function will return the result of the last func call.\n *\n * Note: If leading and trailing options are true func will be called on the trailing edge of\n * the timeout only if the the throttled function is invoked more than once during the wait timeout.\n *\n * @param func - The function to throttle.\n * @param wait - The number of milliseconds to throttle executions to. Defaults to 0.\n * @param options - The options object.\n * @returns The new throttled function.\n */\n Async.prototype.throttle = function (func, wait, options) {\n var _this = this;\n if (this._isDisposed) {\n return this._noop;\n }\n var waitMS = wait || 0;\n var leading = true;\n var trailing = true;\n var lastExecuteTime = 0;\n var lastResult;\n var lastArgs;\n var timeoutId = null;\n if (options && typeof (options.leading) === 'boolean') {\n leading = options.leading;\n }\n if (options && typeof (options.trailing) === 'boolean') {\n trailing = options.trailing;\n }\n var callback = function (userCall) {\n var now = (new Date).getTime();\n var delta = now - lastExecuteTime;\n var waitLength = leading ? waitMS - delta : waitMS;\n if (delta >= waitMS && (!userCall || leading)) {\n lastExecuteTime = now;\n if (timeoutId) {\n _this.clearTimeout(timeoutId);\n timeoutId = null;\n }\n lastResult = func.apply(_this._parent, lastArgs);\n }\n else if (timeoutId === null && trailing) {\n timeoutId = _this.setTimeout(callback, waitLength);\n }\n return lastResult;\n };\n var resultFunction = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n lastArgs = args;\n return callback(true);\n };\n return resultFunction;\n };\n /**\n * Creates a function that will delay the execution of func until after wait milliseconds have\n * elapsed since the last time it was invoked. Provide an options object to indicate that func\n * should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent calls\n * to the debounced function will return the result of the last func call.\n *\n * Note: If leading and trailing options are true func will be called on the trailing edge of\n * the timeout only if the the debounced function is invoked more than once during the wait\n * timeout.\n *\n * @param func - The function to debounce.\n * @param wait - The number of milliseconds to delay.\n * @param options - The options object.\n * @returns The new debounced function.\n */\n Async.prototype.debounce = function (func, wait, options) {\n var _this = this;\n if (this._isDisposed) {\n return this._noop;\n }\n var waitMS = wait || 0;\n var leading = false;\n var trailing = true;\n var maxWait = null;\n var lastCallTime = 0;\n var lastExecuteTime = (new Date).getTime();\n var lastResult;\n var lastArgs;\n var timeoutId = null;\n if (options && typeof (options.leading) === 'boolean') {\n leading = options.leading;\n }\n if (options && typeof (options.trailing) === 'boolean') {\n trailing = options.trailing;\n }\n if (options && typeof (options.maxWait) === 'number' && !isNaN(options.maxWait)) {\n maxWait = options.maxWait;\n }\n var callback = function (userCall) {\n var now = (new Date).getTime();\n var executeImmediately = false;\n if (userCall) {\n if (leading && now - lastCallTime >= waitMS) {\n executeImmediately = true;\n }\n lastCallTime = now;\n }\n var delta = now - lastCallTime;\n var waitLength = waitMS - delta;\n var maxWaitDelta = now - lastExecuteTime;\n var maxWaitExpired = false;\n if (maxWait !== null) {\n // maxWait only matters when there is a pending callback\n if (maxWaitDelta >= maxWait && timeoutId) {\n maxWaitExpired = true;\n }\n else {\n waitLength = Math.min(waitLength, maxWait - maxWaitDelta);\n }\n }\n if (delta >= waitMS || maxWaitExpired || executeImmediately) {\n if (timeoutId) {\n _this.clearTimeout(timeoutId);\n timeoutId = null;\n }\n lastExecuteTime = now;\n lastResult = func.apply(_this._parent, lastArgs);\n }\n else if ((timeoutId === null || !userCall) && trailing) {\n timeoutId = _this.setTimeout(callback, waitLength);\n }\n return lastResult;\n };\n var resultFunction = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n lastArgs = args;\n return callback(true);\n };\n return resultFunction;\n };\n Async.prototype.requestAnimationFrame = function (callback) {\n var _this = this;\n var animationFrameId = 0;\n if (!this._isDisposed) {\n if (!this._animationFrameIds) {\n this._animationFrameIds = {};\n }\n /* tslint:disable:ban-native-functions */\n var animationFrameCallback = function () {\n try {\n // Now delete the record and call the callback.\n delete _this._animationFrameIds[animationFrameId];\n callback.apply(_this._parent);\n }\n catch (e) {\n _this._logError(e);\n }\n };\n animationFrameId = window.requestAnimationFrame ?\n window.requestAnimationFrame(animationFrameCallback) :\n window.setTimeout(animationFrameCallback, 0);\n /* tslint:enable:ban-native-functions */\n this._animationFrameIds[animationFrameId] = true;\n }\n return animationFrameId;\n };\n Async.prototype.cancelAnimationFrame = function (id) {\n if (this._animationFrameIds && this._animationFrameIds[id]) {\n /* tslint:disable:ban-native-functions */\n window.cancelAnimationFrame ? window.cancelAnimationFrame(id) : window.clearTimeout(id);\n /* tslint:enable:ban-native-functions */\n delete this._animationFrameIds[id];\n }\n };\n Async.prototype._logError = function (e) {\n if (this._onErrorHandler) {\n this._onErrorHandler(e);\n }\n };\n return Async;\n}());\nexports.Async = Async;\n\n"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"index": 13,
|
|
"index2": 10,
|
|
"size": 3091,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./AutoScroll",
|
|
"loc": "7:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventGroup_1 = require(\"./EventGroup\");\nvar scroll_1 = require(\"./scroll\");\nvar dom_1 = require(\"./dom\");\nvar SCROLL_ITERATION_DELAY = 16;\nvar SCROLL_GUTTER_HEIGHT = 100;\nvar MAX_SCROLL_VELOCITY = 15;\n/**\n * AutoScroll simply hooks up mouse events given a parent element, and scrolls the container\n * up/down depending on how close the mouse is to the top/bottom of the container.\n *\n * Once you don't want autoscroll any more, just dispose the helper and it will unhook events.\n */\nvar AutoScroll = (function () {\n function AutoScroll(element) {\n this._events = new EventGroup_1.EventGroup(this);\n this._scrollableParent = scroll_1.findScrollableParent(element);\n this._incrementScroll = this._incrementScroll.bind(this);\n this._scrollRect = dom_1.getRect(this._scrollableParent);\n if (this._scrollableParent === window) {\n this._scrollableParent = document.body;\n }\n if (this._scrollableParent) {\n this._events.on(window, 'mousemove', this._onMouseMove, true);\n this._events.on(window, 'touchmove', this._onTouchMove, true);\n }\n }\n AutoScroll.prototype.dispose = function () {\n this._events.dispose();\n this._stopScroll();\n };\n AutoScroll.prototype._onMouseMove = function (ev) {\n this._computeScrollVelocity(ev.clientY);\n };\n AutoScroll.prototype._onTouchMove = function (ev) {\n if (ev.touches.length > 0) {\n this._computeScrollVelocity(ev.touches[0].clientY);\n }\n };\n AutoScroll.prototype._computeScrollVelocity = function (clientY) {\n var scrollRectTop = this._scrollRect.top;\n var scrollClientBottom = scrollRectTop + this._scrollRect.height - SCROLL_GUTTER_HEIGHT;\n if (clientY < (scrollRectTop + SCROLL_GUTTER_HEIGHT)) {\n this._scrollVelocity = Math.max(-MAX_SCROLL_VELOCITY, -MAX_SCROLL_VELOCITY * ((SCROLL_GUTTER_HEIGHT - (clientY - scrollRectTop)) / SCROLL_GUTTER_HEIGHT));\n }\n else if (clientY > scrollClientBottom) {\n this._scrollVelocity = Math.min(MAX_SCROLL_VELOCITY, MAX_SCROLL_VELOCITY * ((clientY - scrollClientBottom) / SCROLL_GUTTER_HEIGHT));\n }\n else {\n this._scrollVelocity = 0;\n }\n if (this._scrollVelocity) {\n this._startScroll();\n }\n else {\n this._stopScroll();\n }\n };\n AutoScroll.prototype._startScroll = function () {\n if (!this._timeoutId) {\n this._incrementScroll();\n }\n };\n AutoScroll.prototype._incrementScroll = function () {\n this._scrollableParent.scrollTop += Math.round(this._scrollVelocity);\n this._timeoutId = setTimeout(this._incrementScroll, SCROLL_ITERATION_DELAY);\n };\n AutoScroll.prototype._stopScroll = function () {\n if (this._timeoutId) {\n clearTimeout(this._timeoutId);\n delete this._timeoutId;\n }\n };\n return AutoScroll;\n}());\nexports.AutoScroll = AutoScroll;\n\n"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\EventGroup.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/EventGroup.js",
|
|
"index": 14,
|
|
"index2": 5,
|
|
"size": 10674,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./EventGroup",
|
|
"loc": "11:9-32"
|
|
},
|
|
{
|
|
"moduleId": 13,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./EventGroup",
|
|
"loc": "3:19-42"
|
|
},
|
|
{
|
|
"moduleId": 19,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./EventGroup",
|
|
"loc": "15:19-42"
|
|
}
|
|
],
|
|
"source": "/* tslint:disable:no-string-literal */\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/** An instance of EventGroup allows anything with a handle to it to trigger events on it.\n * If the target is an HTMLElement, the event will be attached to the element and can be\n * triggered as usual (like clicking for onclick).\n * The event can be triggered by calling EventGroup.raise() here. If the target is an\n * HTMLElement, the event gets raised and is handled by the browser. Otherwise, it gets\n * handled here in EventGroup, and the handler is called in the context of the parent\n * (which is passed in in the constructor).\n */\nvar EventGroup = (function () {\n /** parent: the context in which events attached to non-HTMLElements are called */\n function EventGroup(parent) {\n this._id = EventGroup._uniqueId++;\n this._parent = parent;\n this._eventRecords = [];\n }\n /** For IE8, bubbleEvent is ignored here and must be dealt with by the handler.\n * Events raised here by default have bubbling set to false and cancelable set to true.\n * This applies also to built-in events being raised manually here on HTMLElements,\n * which may lead to unexpected behavior if it differs from the defaults.\n */\n EventGroup.raise = function (target, eventName, eventArgs, bubbleEvent) {\n var retVal;\n if (EventGroup._isElement(target)) {\n if (document.createEvent) {\n var ev = document.createEvent('HTMLEvents');\n ev.initEvent(eventName, bubbleEvent, true);\n ev['args'] = eventArgs;\n retVal = target.dispatchEvent(ev);\n }\n else if (document['createEventObject']) {\n var evObj = document['createEventObject'](eventArgs);\n // cannot set cancelBubble on evObj, fireEvent will overwrite it\n target.fireEvent('on' + eventName, evObj);\n }\n }\n else {\n while (target && retVal !== false) {\n var events = target.__events__;\n var eventRecords = events ? events[eventName] : null;\n for (var id in eventRecords) {\n if (eventRecords.hasOwnProperty(id)) {\n var eventRecordList = eventRecords[id];\n for (var listIndex = 0; retVal !== false && listIndex < eventRecordList.length; listIndex++) {\n var record = eventRecordList[listIndex];\n if (record.objectCallback) {\n retVal = record.objectCallback.call(record.parent, eventArgs);\n }\n }\n }\n }\n // If the target has a parent, bubble the event up.\n target = bubbleEvent ? target.parent : null;\n }\n }\n return retVal;\n };\n EventGroup.isObserved = function (target, eventName) {\n var events = target && target.__events__;\n return !!events && !!events[eventName];\n };\n /** Check to see if the target has declared support of the given event. */\n EventGroup.isDeclared = function (target, eventName) {\n var declaredEvents = target && target.__declaredEvents;\n return !!declaredEvents && !!declaredEvents[eventName];\n };\n EventGroup.stopPropagation = function (event) {\n if (event.stopPropagation) {\n event.stopPropagation();\n }\n else {\n event.cancelBubble = true;\n }\n };\n EventGroup._isElement = function (target) {\n return !!target && (target.addEventListener || target instanceof HTMLElement);\n };\n EventGroup.prototype.dispose = function () {\n if (!this._isDisposed) {\n this._isDisposed = true;\n this.off();\n this._parent = null;\n }\n };\n /** On the target, attach a set of events, where the events object is a name to function mapping. */\n EventGroup.prototype.onAll = function (target, events, useCapture) {\n for (var eventName in events) {\n if (events.hasOwnProperty(eventName)) {\n this.on(target, eventName, events[eventName], useCapture);\n }\n }\n };\n /** On the target, attach an event whose handler will be called in the context of the parent\n * of this instance of EventGroup.\n */\n EventGroup.prototype.on = function (target, eventName, callback, useCapture) {\n var _this = this;\n if (eventName.indexOf(',') > -1) {\n var events = eventName.split(/[ ,]+/);\n for (var i = 0; i < events.length; i++) {\n this.on(target, events[i], callback, useCapture);\n }\n }\n else {\n var parent_1 = this._parent;\n var eventRecord = {\n target: target,\n eventName: eventName,\n parent: parent_1,\n callback: callback,\n objectCallback: null,\n elementCallback: null,\n useCapture: useCapture\n };\n // Initialize and wire up the record on the target, so that it can call the callback if the event fires.\n var events = (target.__events__ = target.__events__ || {});\n events[eventName] = events[eventName] || {\n count: 0\n };\n events[eventName][this._id] = events[eventName][this._id] || [];\n events[eventName][this._id].push(eventRecord);\n events[eventName].count++;\n if (EventGroup._isElement(target)) {\n var processElementEvent = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (_this._isDisposed) {\n return;\n }\n var result;\n try {\n result = callback.apply(parent_1, args);\n if (result === false && args[0]) {\n var e = args[0];\n if (e.preventDefault) {\n e.preventDefault();\n }\n if (e.stopPropagation) {\n e.stopPropagation();\n }\n e.cancelBubble = true;\n }\n }\n catch (e) {\n /* ErrorHelper.log(e); */\n }\n return result;\n };\n eventRecord.elementCallback = processElementEvent;\n if (target.addEventListener) {\n /* tslint:disable:ban-native-functions */\n target.addEventListener(eventName, processElementEvent, useCapture);\n /* tslint:enable:ban-native-functions */\n }\n else if (target.attachEvent) {\n target.attachEvent('on' + eventName, processElementEvent);\n }\n }\n else {\n var processObjectEvent = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (_this._isDisposed) {\n return;\n }\n return callback.apply(parent_1, args);\n };\n eventRecord.objectCallback = processObjectEvent;\n }\n // Remember the record locally, so that it can be removed.\n this._eventRecords.push(eventRecord);\n }\n };\n EventGroup.prototype.off = function (target, eventName, callback, useCapture) {\n for (var i = 0; i < this._eventRecords.length; i++) {\n var eventRecord = this._eventRecords[i];\n if ((!target || target === eventRecord.target) &&\n (!eventName || eventName === eventRecord.eventName) &&\n (!callback || callback === eventRecord.callback) &&\n ((typeof useCapture !== 'boolean') || useCapture === eventRecord.useCapture)) {\n var events = eventRecord.target.__events__;\n var targetArrayLookup = events[eventRecord.eventName];\n var targetArray = targetArrayLookup ? targetArrayLookup[this._id] : null;\n // We may have already target's entries, so check for null.\n if (targetArray) {\n if (targetArray.length === 1 || !callback) {\n targetArrayLookup.count -= targetArray.length;\n delete events[eventRecord.eventName][this._id];\n }\n else {\n targetArrayLookup.count--;\n targetArray.splice(targetArray.indexOf(eventRecord), 1);\n }\n if (!targetArrayLookup.count) {\n delete events[eventRecord.eventName];\n }\n }\n if (eventRecord.elementCallback) {\n if (eventRecord.target.removeEventListener) {\n eventRecord.target.removeEventListener(eventRecord.eventName, eventRecord.elementCallback, eventRecord.useCapture);\n }\n else if (eventRecord.target.detachEvent) {\n eventRecord.target.detachEvent('on' + eventRecord.eventName, eventRecord.elementCallback);\n }\n }\n this._eventRecords.splice(i--, 1);\n }\n }\n };\n /** Trigger the given event in the context of this instance of EventGroup. */\n EventGroup.prototype.raise = function (eventName, eventArgs, bubbleEvent) {\n return EventGroup.raise(this._parent, eventName, eventArgs, bubbleEvent);\n };\n /** Declare an event as being supported by this instance of EventGroup. */\n EventGroup.prototype.declare = function (event) {\n var declaredEvents = this._parent.__declaredEvents = this._parent.__declaredEvents || {};\n if (typeof event === 'string') {\n declaredEvents[event] = true;\n }\n else {\n for (var i = 0; i < event.length; i++) {\n declaredEvents[event[i]] = true;\n }\n }\n };\n return EventGroup;\n}());\nEventGroup._uniqueId = 0;\nexports.EventGroup = EventGroup;\n\n"
|
|
},
|
|
{
|
|
"id": 15,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.js",
|
|
"index": 15,
|
|
"index2": 9,
|
|
"size": 2877,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./scroll",
|
|
"loc": "29:9-28"
|
|
},
|
|
{
|
|
"moduleId": 13,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./scroll",
|
|
"loc": "4:15-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\nvar scroll_scss_1 = require(\"./scroll.scss\");\nvar _scrollbarWidth;\nvar _bodyScrollDisabledCount = 0;\nexports.DATA_IS_SCROLLABLE_ATTRIBUTE = 'data-is-scrollable';\nfunction disableBodyScroll() {\n var doc = dom_1.getDocument();\n if (doc && doc.body && !_bodyScrollDisabledCount) {\n doc.body.classList.add(scroll_scss_1.default.msFabricScrollDisabled);\n }\n _bodyScrollDisabledCount++;\n}\nexports.disableBodyScroll = disableBodyScroll;\nfunction enableBodyScroll() {\n if (_bodyScrollDisabledCount > 0) {\n var doc = dom_1.getDocument();\n if (doc && doc.body && _bodyScrollDisabledCount === 1) {\n doc.body.classList.remove(scroll_scss_1.default.msFabricScrollDisabled);\n }\n _bodyScrollDisabledCount--;\n }\n}\nexports.enableBodyScroll = enableBodyScroll;\n/** Calculates the width of a scrollbar for the browser/os. */\nfunction getScrollbarWidth() {\n if (_scrollbarWidth === undefined) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.setProperty('width', '100px');\n scrollDiv.style.setProperty('height', '100px');\n scrollDiv.style.setProperty('overflow', 'scroll');\n scrollDiv.style.setProperty('position', 'absolute');\n scrollDiv.style.setProperty('top', '-9999px');\n document.body.appendChild(scrollDiv);\n // Get the scrollbar width\n _scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n // Delete the DIV\n document.body.removeChild(scrollDiv);\n }\n return _scrollbarWidth;\n}\nexports.getScrollbarWidth = getScrollbarWidth;\n/**\n * Traverses up the DOM for the element with the data-is-scrollable=true attribute, or returns\n * document.body.\n */\nfunction findScrollableParent(startingElement) {\n var el = startingElement;\n // First do a quick scan for the scrollable attribute.\n while (el && el !== document.body) {\n if (el.getAttribute(exports.DATA_IS_SCROLLABLE_ATTRIBUTE) === 'true') {\n return el;\n }\n el = el.parentElement;\n }\n // If we haven't found it, the use the slower method: compute styles to evaluate if overflow is set.\n el = startingElement;\n while (el && el !== document.body) {\n if (el.getAttribute(exports.DATA_IS_SCROLLABLE_ATTRIBUTE) !== 'false') {\n var styles_1 = getComputedStyle(el);\n var overflowY = styles_1 ? styles_1.getPropertyValue('overflow-y') : '';\n if (overflowY && (overflowY === 'scroll' || overflowY === 'auto')) {\n return el;\n }\n }\n el = el.parentElement;\n }\n // Fall back to window scroll.\n if (!el || el === document.body) {\n el = window;\n }\n return el;\n}\nexports.findScrollableParent = findScrollableParent;\n\n"
|
|
},
|
|
{
|
|
"id": 16,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\dom.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/dom.js",
|
|
"index": 16,
|
|
"index2": 6,
|
|
"size": 4240,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "18:9-25"
|
|
},
|
|
{
|
|
"moduleId": 13,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "5:12-28"
|
|
},
|
|
{
|
|
"moduleId": 15,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "3:12-28"
|
|
},
|
|
{
|
|
"moduleId": 39,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\focus.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/focus.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/focus.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "4:12-28"
|
|
},
|
|
{
|
|
"moduleId": 42,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\language.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/language.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/language.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "3:12-28"
|
|
},
|
|
{
|
|
"moduleId": 47,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\rtl.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/rtl.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/rtl.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "4:12-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Sets the virtual parent of an element.\n * Pass `undefined` as the `parent` to clear the virtual parent.\n */\nfunction setVirtualParent(child, parent) {\n var virtualChild = child;\n var virtualParent = parent;\n if (!virtualChild._virtual) {\n virtualChild._virtual = {\n children: []\n };\n }\n var oldParent = virtualChild._virtual.parent;\n if (oldParent && oldParent !== parent) {\n // Remove the child from its old parent.\n var index = oldParent._virtual.children.indexOf(virtualChild);\n if (index > -1) {\n oldParent._virtual.children.splice(index, 1);\n }\n }\n virtualChild._virtual.parent = virtualParent || undefined;\n if (virtualParent) {\n if (!virtualParent._virtual) {\n virtualParent._virtual = {\n children: []\n };\n }\n virtualParent._virtual.children.push(virtualChild);\n }\n}\nexports.setVirtualParent = setVirtualParent;\nfunction getVirtualParent(child) {\n var parent;\n if (child && isVirtualElement(child)) {\n parent = child._virtual.parent;\n }\n return parent;\n}\nexports.getVirtualParent = getVirtualParent;\n/**\n * Gets the element which is the parent of a given element.\n * If `allowVirtuaParents` is `true`, this method prefers the virtual parent over\n * real DOM parent when present.\n */\nfunction getParent(child, allowVirtualParents) {\n if (allowVirtualParents === void 0) { allowVirtualParents = true; }\n return child && (allowVirtualParents && getVirtualParent(child) ||\n child.parentNode && child.parentNode);\n}\nexports.getParent = getParent;\n/**\n * Determines whether or not a parent element contains a given child element.\n * If `allowVirtualParents` is true, this method may return `true` if the child\n * has the parent in its virtual element hierarchy.\n */\nfunction elementContains(parent, child, allowVirtualParents) {\n if (allowVirtualParents === void 0) { allowVirtualParents = true; }\n var isContained = false;\n if (parent && child) {\n if (allowVirtualParents) {\n isContained = false;\n while (child) {\n var nextParent = getParent(child);\n if (nextParent === parent) {\n isContained = true;\n break;\n }\n child = nextParent;\n }\n }\n else if (parent.contains) {\n isContained = parent.contains(child);\n }\n }\n return isContained;\n}\nexports.elementContains = elementContains;\nvar _isSSR = false;\n/**\n * Helper to set ssr mode to simulate no window object returned from getWindow helper.\n */\nfunction setSSR(isEnabled) {\n _isSSR = isEnabled;\n}\nexports.setSSR = setSSR;\n/** Helper to get the window object. */\nfunction getWindow(rootElement) {\n if (_isSSR) {\n return undefined;\n }\n else {\n return (rootElement &&\n rootElement.ownerDocument &&\n rootElement.ownerDocument.defaultView ?\n rootElement.ownerDocument.defaultView :\n window);\n }\n}\nexports.getWindow = getWindow;\n/**\n * Helper to get the document object.\n */\nfunction getDocument(rootElement) {\n if (_isSSR) {\n return undefined;\n }\n else {\n return rootElement && rootElement.ownerDocument ? rootElement.ownerDocument : document;\n }\n}\nexports.getDocument = getDocument;\n/**\n * Helper to get bounding client rect, works with window.\n */\nfunction getRect(element) {\n var rect;\n if (element) {\n if (element === window) {\n rect = {\n left: 0,\n top: 0,\n width: window.innerWidth,\n height: window.innerHeight,\n right: window.innerWidth,\n bottom: window.innerHeight\n };\n }\n else if (element.getBoundingClientRect) {\n rect = element.getBoundingClientRect();\n }\n }\n return rect;\n}\nexports.getRect = getRect;\n/**\n * Determines whether or not an element has the virtual hierarchy extension.\n */\nfunction isVirtualElement(element) {\n return element && !!element._virtual;\n}\n\n"
|
|
},
|
|
{
|
|
"id": 17,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\scroll.scss.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.scss.js",
|
|
"index": 17,
|
|
"index2": 8,
|
|
"size": 411,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 15,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./scroll.scss",
|
|
"loc": "4:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n msFabricScrollDisabled: 'msFabricScrollDisabled_23e3aef2',\n};\nexports.default = styles;\nload_themed_styles_1.loadStyles([{ \"rawString\": \".msFabricScrollDisabled_23e3aef2{overflow:hidden!important}\" }]);\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 18,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\load-themed-styles\\lib\\index.js",
|
|
"name": "./~/@microsoft/load-themed-styles/lib/index.js",
|
|
"index": 18,
|
|
"index2": 7,
|
|
"size": 9346,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 17,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\scroll.scss.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/scroll.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "4:27-67"
|
|
},
|
|
{
|
|
"moduleId": 67,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/Callout.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/Callout.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 93,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\scroll.scss.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.scss.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "4:27-67"
|
|
},
|
|
{
|
|
"moduleId": 139,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/Layer.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/Layer.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 147,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/Image.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/Image.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 149,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 153,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Link/Link.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Link/Link.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 170,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 177,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 183,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 192,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Label/Label.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Label/Label.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 193,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 200,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 204,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 209,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 213,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 227,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Check/Check.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Check/Check.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 229,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 230,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 233,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 240,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 246,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 247,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 251,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 255,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 268,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 270,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 271,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 278,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 286,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 298,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 299,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 304,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 310,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 313,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 317,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 321,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 325,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 328,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\PickerItemsDefault.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/PickerItemsDefault.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/PickerItemsDefault.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 330,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 333,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 339,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 343,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 348,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/Rating.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/Rating.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 352,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 356,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Slider/Slider.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Slider/Slider.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 361,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 370,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 373,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.scss.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.scss.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/load-themed-styles",
|
|
"loc": "3:27-67"
|
|
},
|
|
{
|
|
"moduleId": 375,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.css",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\load-themed-styles\\lib\\index.js",
|
|
"loc": "2:13-117"
|
|
},
|
|
{
|
|
"moduleId": 385,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\load-themed-styles\\lib\\index.js",
|
|
"loc": "2:13-117"
|
|
},
|
|
{
|
|
"moduleId": 390,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.css",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\load-themed-styles\\lib\\index.js",
|
|
"loc": "2:13-117"
|
|
},
|
|
{
|
|
"moduleId": 395,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.css",
|
|
"module": "./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\load-themed-styles\\lib\\index.js",
|
|
"loc": "2:13-117"
|
|
}
|
|
],
|
|
"source": "/**\n * An IThemingInstruction can specify a rawString to be preserved or a theme slot and a default value\n * to use if that slot is not specified by the theme.\n */\n\"use strict\";\n// IE needs to inject styles using cssText. However, we need to evaluate this lazily, so this\n// value will initialize as undefined, and later will be set once on first loadStyles injection.\nvar _injectStylesWithCssText;\n// Store the theming state in __themeState__ global scope for reuse in the case of duplicate\n// load-themed-styles hosted on the page.\nvar _root = (typeof window === 'undefined') ? global : window; // tslint:disable-line:no-any\nvar _themeState = _root.__themeState__ = _root.__themeState__ || {\n theme: undefined,\n lastStyleElement: undefined,\n registeredStyles: []\n};\n/**\n * Matches theming tokens. For example, \"[theme: themeSlotName, default: #FFF]\" (including the quotes).\n */\n/* tslint:disable: max-line-length */\nvar _themeTokenRegex = /[\\'\\\"]\\[theme:\\s*(\\w+)\\s*(?:\\,\\s*default:\\s*([\\\\\"\\']?[\\.\\,\\(\\)\\#\\-\\s\\w]*[\\.\\,\\(\\)\\#\\-\\w][\\\"\\']?))?\\s*\\][\\'\\\"]/g;\n/* tslint:enable: max-line-length */\n/** Maximum style text length, for supporting IE style restrictions. */\nvar MAX_STYLE_CONTENT_SIZE = 10000;\n/**\n * Loads a set of style text. If it is registered too early, we will register it when the window.load\n * event is fired.\n * @param {string | ThemableArray} styles Themable style text to register.\n */\nfunction loadStyles(styles) {\n var styleParts = Array.isArray(styles) ? styles : splitStyles(styles);\n if (_injectStylesWithCssText === undefined) {\n _injectStylesWithCssText = shouldUseCssText();\n }\n applyThemableStyles(styleParts);\n}\nexports.loadStyles = loadStyles;\n/**\n * Allows for customizable loadStyles logic. e.g. for server side rendering application\n * @param {(styles: string) => void} a loadStyles callback that gets called when styles are loaded or reloaded\n */\nfunction configureLoadStyles(callback) {\n _themeState.loadStyles = callback;\n}\nexports.configureLoadStyles = configureLoadStyles;\n/**\n * Loads a set of style text. If it is registered too early, we will register it when the window.load event\n * is fired.\n * @param {string} styleText Style to register.\n * @param {IStyleRecord} styleRecord Existing style record to re-apply.\n */\nfunction applyThemableStyles(stylesArray, styleRecord) {\n if (_themeState.loadStyles) {\n var styles = resolveThemableArray(stylesArray);\n _themeState.loadStyles(styles);\n }\n else {\n _injectStylesWithCssText ?\n registerStylesIE(stylesArray, styleRecord) :\n registerStyles(stylesArray, styleRecord);\n }\n}\n/**\n * Registers a set theme tokens to find and replace. If styles were already registered, they will be\n * replaced.\n * @param {theme} theme JSON object of theme tokens to values.\n */\nfunction loadTheme(theme) {\n _themeState.theme = theme;\n // reload styles.\n reloadStyles();\n}\nexports.loadTheme = loadTheme;\n/**\n * Reloads styles.\n */\nfunction reloadStyles() {\n if (_themeState.theme) {\n for (var _i = 0, _a = _themeState.registeredStyles; _i < _a.length; _i++) {\n var styleRecord = _a[_i];\n applyThemableStyles(styleRecord.themableStyle, styleRecord);\n }\n }\n}\n/**\n * Find theme tokens and replaces them with provided theme values.\n * @param {string} styles Tokenized styles to fix.\n */\nfunction detokenize(styles) {\n if (styles) {\n styles = resolveThemableArray(splitStyles(styles));\n }\n return styles;\n}\nexports.detokenize = detokenize;\n/**\n * Resolves ThemingInstruction objects in an array and joins the result into a string.\n * @param {ThemableArray} splitStyleArray ThemableArray to resolve and join.\n */\nfunction resolveThemableArray(splitStyleArray) {\n var theme = _themeState.theme;\n var resolvedCss;\n if (splitStyleArray) {\n // Resolve the array of theming instructions to an array of strings.\n // Then join the array to produce the final CSS string.\n var resolvedArray = splitStyleArray.map(function (currentValue) {\n var themeSlot = currentValue.theme;\n if (themeSlot) {\n // A theming annotation. Resolve it.\n var themedValue = theme ? theme[themeSlot] : undefined;\n var defaultValue = currentValue.defaultValue;\n // Warn to console if we hit an unthemed value even when themes are provided.\n // Allow the themedValue to be undefined to explicitly request the default value.\n if (theme && !themedValue && console && !(themeSlot in theme)) {\n /* tslint:disable: max-line-length */\n console.warn(\"Theming value not provided for \\\"\" + themeSlot + \"\\\". Falling back to \\\"\" + (defaultValue || 'inherit') + \"\\\".\");\n }\n return themedValue || defaultValue || 'inherit';\n }\n else {\n // A non-themable string. Preserve it.\n return currentValue.rawString;\n }\n });\n resolvedCss = resolvedArray.join('');\n }\n return resolvedCss;\n}\n/**\n * Split tokenized CSS into an array of strings and theme specification objects\n * @param {string} styles Tokenized styles to split.\n */\nfunction splitStyles(styles) {\n var result = [];\n if (styles) {\n var pos = 0; // Current position in styles.\n var tokenMatch = void 0;\n while (tokenMatch = _themeTokenRegex.exec(styles)) {\n var matchIndex = tokenMatch.index;\n if (matchIndex > pos) {\n result.push({\n rawString: styles.substring(pos, matchIndex)\n });\n }\n result.push({\n theme: tokenMatch[1],\n defaultValue: tokenMatch[2] // May be undefined\n });\n // index of the first character after the current match\n pos = _themeTokenRegex.lastIndex;\n }\n // Push the rest of the string after the last match.\n result.push({\n rawString: styles.substring(pos)\n });\n }\n return result;\n}\nexports.splitStyles = splitStyles;\n/**\n * Registers a set of style text. If it is registered too early, we will register it when the\n * window.load event is fired.\n * @param {ThemableArray} styleArray Array of IThemingInstruction objects to register.\n * @param {IStyleRecord} styleRecord May specify a style Element to update.\n */\nfunction registerStyles(styleArray, styleRecord) {\n var head = document.getElementsByTagName('head')[0];\n var styleElement = document.createElement('style');\n styleElement.type = 'text/css';\n styleElement.appendChild(document.createTextNode(resolveThemableArray(styleArray)));\n if (styleRecord) {\n head.replaceChild(styleElement, styleRecord.styleElement);\n styleRecord.styleElement = styleElement;\n }\n else {\n head.appendChild(styleElement);\n }\n if (!styleRecord) {\n _themeState.registeredStyles.push({\n styleElement: styleElement,\n themableStyle: styleArray\n });\n }\n}\n/**\n * Registers a set of style text, for IE 9 and below, which has a ~30 style element limit so we need\n * to register slightly differently.\n * @param {ThemableArray} styleArray Array of IThemingInstruction objects to register.\n * @param {IStyleRecord} styleRecord May specify a style Element to update.\n */\nfunction registerStylesIE(styleArray, styleRecord) {\n var head = document.getElementsByTagName('head')[0];\n var lastStyleElement = _themeState.lastStyleElement, registeredStyles = _themeState.registeredStyles;\n var stylesheet = lastStyleElement ? lastStyleElement.styleSheet : undefined;\n var lastStyleContent = stylesheet ? stylesheet.cssText : '';\n var lastRegisteredStyle = registeredStyles[registeredStyles.length - 1];\n var resolvedStyleText = resolveThemableArray(styleArray);\n if (!lastStyleElement || (lastStyleContent.length + resolvedStyleText.length) > MAX_STYLE_CONTENT_SIZE) {\n lastStyleElement = document.createElement('style');\n lastStyleElement.type = 'text/css';\n if (styleRecord) {\n head.replaceChild(lastStyleElement, styleRecord.styleElement);\n styleRecord.styleElement = lastStyleElement;\n }\n else {\n head.appendChild(lastStyleElement);\n }\n if (!styleRecord) {\n lastRegisteredStyle = {\n styleElement: lastStyleElement,\n themableStyle: styleArray\n };\n registeredStyles.push(lastRegisteredStyle);\n }\n }\n lastStyleElement.styleSheet.cssText += detokenize(resolvedStyleText);\n Array.prototype.push.apply(lastRegisteredStyle.themableStyle, styleArray); // concat in-place\n // Preserve the theme state.\n _themeState.lastStyleElement = lastStyleElement;\n}\n/**\n * Checks to see if styleSheet exists as a property off of a style element.\n * This will determine if style registration should be done via cssText (<= IE9) or not\n */\nfunction shouldUseCssText() {\n var useCSSText = false;\n if (typeof document !== 'undefined') {\n var emptyStyle = document.createElement('style');\n emptyStyle.type = 'text/css';\n useCSSText = !!emptyStyle.styleSheet;\n }\n return useCSSText;\n}\n\n"
|
|
},
|
|
{
|
|
"id": 19,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"index": 19,
|
|
"index2": 12,
|
|
"size": 8712,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseComponent",
|
|
"loc": "8:9-35"
|
|
},
|
|
{
|
|
"moduleId": 21,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseComponent",
|
|
"loc": "15:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Async_1 = require(\"./Async\");\nvar EventGroup_1 = require(\"./EventGroup\");\nvar warn_1 = require(\"./warn\");\nvar BaseComponent = (function (_super) {\n __extends(BaseComponent, _super);\n /**\n * BaseComponent constructor\n * @param props - The props for the component.\n * @param context - The context for the component.\n */\n function BaseComponent(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.props = props;\n _this._shouldUpdateComponentRef = true;\n _makeAllSafe(_this, BaseComponent.prototype, [\n 'componentWillMount',\n 'componentDidMount',\n 'shouldComponentUpdate',\n 'componentWillUpdate',\n 'componentWillReceiveProps',\n 'render',\n 'componentDidUpdate',\n 'componentWillUnmount'\n ]);\n return _this;\n }\n /**\n * When the component will receive props, make sure the componentRef is updated.\n */\n BaseComponent.prototype.componentWillReceiveProps = function (newProps, newContext) {\n this._updateComponentRef(this.props, newProps);\n };\n /**\n * When the component has mounted, update the componentRef.\n */\n BaseComponent.prototype.componentDidMount = function () {\n this._updateComponentRef(undefined, this.props);\n };\n /**\n * If we have disposables, dispose them automatically on unmount.\n */\n BaseComponent.prototype.componentWillUnmount = function () {\n if (this.__disposables) {\n for (var i = 0, len = this._disposables.length; i < len; i++) {\n var disposable = this.__disposables[i];\n if (disposable.dispose) {\n disposable.dispose();\n }\n }\n this.__disposables = null;\n }\n };\n Object.defineProperty(BaseComponent.prototype, \"className\", {\n /**\n * Gets the object's class name.\n */\n get: function () {\n if (!this.__className) {\n var funcNameRegex = /function (.{1,})\\(/;\n var results = (funcNameRegex).exec((this).constructor.toString());\n this.__className = (results && results.length > 1) ? results[1] : '';\n }\n return this.__className;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseComponent.prototype, \"_disposables\", {\n /**\n * Allows subclasses to push things to this._disposables to be auto disposed.\n */\n get: function () {\n if (!this.__disposables) {\n this.__disposables = [];\n }\n return this.__disposables;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseComponent.prototype, \"_async\", {\n /**\n * Gets the async instance associated with the component, created on demand. The async instance gives\n * subclasses a way to execute setTimeout/setInterval async calls safely, where the callbacks\n * will be cleared/ignored automatically after unmounting. The helpers within the async object also\n * preserve the this pointer so that you don't need to \"bind\" the callbacks.\n */\n get: function () {\n if (!this.__async) {\n this.__async = new Async_1.Async(this);\n this._disposables.push(this.__async);\n }\n return this.__async;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseComponent.prototype, \"_events\", {\n /**\n * Gets the event group instance assocaited with the component, created on demand. The event instance\n * provides on/off methods for listening to DOM (or regular javascript object) events. The event callbacks\n * will be automatically disconnected after unmounting. The helpers within the events object also\n * preserve the this reference so that you don't need to \"bind\" the callbacks.\n */\n get: function () {\n if (!this.__events) {\n this.__events = new EventGroup_1.EventGroup(this);\n this._disposables.push(this.__events);\n }\n return this.__events;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Helper to return a memoized ref resolver function.\n * @param refName - Name of the member to assign the ref to.\n * @returns A function instance keyed from the given refname.\n */\n BaseComponent.prototype._resolveRef = function (refName) {\n var _this = this;\n if (!this.__resolves) {\n this.__resolves = {};\n }\n if (!this.__resolves[refName]) {\n this.__resolves[refName] = function (ref) {\n return _this[refName] = ref;\n };\n }\n return this.__resolves[refName];\n };\n /**\n * Updates the componentRef (by calling it with \"this\" when necessary.)\n */\n BaseComponent.prototype._updateComponentRef = function (currentProps, newProps) {\n if (newProps === void 0) { newProps = {}; }\n if (this._shouldUpdateComponentRef &&\n ((!currentProps && newProps.componentRef) ||\n (currentProps && currentProps.componentRef !== newProps.componentRef))) {\n if (currentProps && currentProps.componentRef) {\n currentProps.componentRef(null);\n }\n if (newProps.componentRef) {\n newProps.componentRef(this);\n }\n }\n };\n /**\n * Warns when a deprecated props are being used.\n *\n * @param deprecationMap - The map of deprecations, where key is the prop name and the value is\n * either null or a replacement prop name.\n */\n BaseComponent.prototype._warnDeprecations = function (deprecationMap) {\n warn_1.warnDeprecations(this.className, this.props, deprecationMap);\n };\n /**\n * Warns when props which are mutually exclusive with each other are both used.\n *\n * @param mutuallyExclusiveMap - The map of mutually exclusive props.\n */\n BaseComponent.prototype._warnMutuallyExclusive = function (mutuallyExclusiveMap) {\n warn_1.warnMutuallyExclusive(this.className, this.props, mutuallyExclusiveMap);\n };\n return BaseComponent;\n}(React.Component));\nexports.BaseComponent = BaseComponent;\n/**\n * Helper to override a given method with a wrapper method that can try/catch the original, but also\n * ensures that the BaseComponent's methods are called before the subclass's. This ensures that\n * componentWillUnmount in the base is called and that things in the _disposables array are disposed.\n */\nfunction _makeAllSafe(obj, prototype, methodNames) {\n for (var i = 0, len = methodNames.length; i < len; i++) {\n _makeSafe(obj, prototype, methodNames[i]);\n }\n}\nfunction _makeSafe(obj, prototype, methodName) {\n var classMethod = obj[methodName];\n var prototypeMethod = prototype[methodName];\n if (classMethod || prototypeMethod) {\n obj[methodName] = function () {\n var retVal;\n try {\n if (prototypeMethod) {\n retVal = prototypeMethod.apply(this, arguments);\n }\n if (classMethod !== prototypeMethod) {\n retVal = classMethod.apply(this, arguments);\n }\n }\n catch (e) {\n var errorMessage = \"Exception in \" + obj.className + \".\" + methodName + \"(): \" + (typeof e === 'string' ? e : e.stack);\n if (BaseComponent.onError) {\n BaseComponent.onError(errorMessage, e);\n }\n }\n return retVal;\n };\n }\n}\nBaseComponent.onError = function (errorMessage) {\n console.error(errorMessage);\n throw errorMessage;\n};\n/**\n * Simple constant function for returning null, used to render empty templates in JSX.\n */\nfunction nullRender() { return null; }\nexports.nullRender = nullRender;\n\n"
|
|
},
|
|
{
|
|
"id": 20,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\warn.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/warn.js",
|
|
"index": 20,
|
|
"index2": 11,
|
|
"size": 2330,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./warn",
|
|
"loc": "31:9-26"
|
|
},
|
|
{
|
|
"moduleId": 19,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./warn",
|
|
"loc": "16:13-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _warningCallback = warn;\n/**\n * Warns when a deprecated props are being used.\n *\n * @param componentName - The name of the component being used.\n * @param props - The props passed into the component.\n * @param deprecationMap - The map of deprecations, where key is the prop name and the value is\n * either null or a replacement prop name.\n */\nfunction warnDeprecations(componentName, props, deprecationMap) {\n for (var propName in deprecationMap) {\n if (props && propName in props) {\n var deprecationMessage = componentName + \" property '\" + propName + \"' was used but has been deprecated.\";\n var replacementPropName = deprecationMap[propName];\n if (replacementPropName) {\n deprecationMessage += \" Use '\" + replacementPropName + \"' instead.\";\n }\n _warningCallback(deprecationMessage);\n }\n }\n}\nexports.warnDeprecations = warnDeprecations;\n/**\n * Warns when two props which are mutually exclusive are both being used.\n *\n * @param componentName - The name of the component being used.\n * @param props - The props passed into the component.\n * @param exclusiveMap - A map where the key is a parameter, and the value is the other parameter.\n */\nfunction warnMutuallyExclusive(componentName, props, exclusiveMap) {\n for (var propName in exclusiveMap) {\n if (props && propName in props && exclusiveMap[propName] in props) {\n _warningCallback(componentName + \" property '\" + propName + \"' is mutually exclusive with '\" + exclusiveMap[propName] + \"'. Use one or the other.\");\n }\n }\n}\nexports.warnMutuallyExclusive = warnMutuallyExclusive;\n/**\n * Sends a warning to console, if the api is present.\n * @param message - Warning message.\n */\nfunction warn(message) {\n if (console && console.warn) {\n console.warn(message);\n }\n}\nexports.warn = warn;\n/**\n * Configures the warning callback. Passing in undefined will reset it to use the default\n * console.warn function.\n *\n * @param warningCallback - Callback to override the generated warnings.\n */\nfunction setWarningCallback(warningCallback) {\n _warningCallback = warningCallback === undefined ? warn : warningCallback;\n}\nexports.setWarningCallback = setWarningCallback;\n\n"
|
|
},
|
|
{
|
|
"id": 21,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"index": 21,
|
|
"index2": 23,
|
|
"size": 2438,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Customizer",
|
|
"loc": "9:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar PropTypes = require(\"prop-types\");\nvar BaseComponent_1 = require(\"./BaseComponent\");\nvar object_1 = require(\"./object\");\n/**\n * The Customizer component allows for default props to be mixed into components which\n * are decorated with the customizable() decorator. This enables injection scenarios like:\n *\n * 1. render svg icons instead of the icon font within all buttons\n * 2. inject a custom theme object into a component\n *\n * Props are provided via the settings prop, which should be a json map where the key is\n * the name of the customizable component, and the value is are the props to pass in.\n */\nvar Customizer = (function (_super) {\n __extends(Customizer, _super);\n function Customizer(props, context) {\n var _this = _super.call(this, props) || this;\n _this.state = _this._getInjectedProps(props, context);\n return _this;\n }\n Customizer.prototype.getChildContext = function () {\n return this.state;\n };\n Customizer.prototype.componentWillReceiveProps = function (newProps, newContext) {\n this.setState(this._getInjectedProps(newProps, newContext));\n };\n Customizer.prototype.render = function () {\n return React.Children.only(this.props.children);\n };\n Customizer.prototype._getInjectedProps = function (props, context) {\n var _a = props.settings, injectedPropsFromSettings = _a === void 0 ? {} : _a;\n var _b = context.injectedProps, injectedPropsFromContext = _b === void 0 ? {} : _b;\n return {\n injectedProps: object_1.assign({}, injectedPropsFromContext, injectedPropsFromSettings)\n };\n };\n return Customizer;\n}(BaseComponent_1.BaseComponent));\nCustomizer.contextTypes = {\n injectedProps: PropTypes.object\n};\nCustomizer.childContextTypes = Customizer.contextTypes;\nexports.Customizer = Customizer;\n\n"
|
|
},
|
|
{
|
|
"id": 22,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\index.js",
|
|
"name": "./~/prop-types/index.js",
|
|
"index": 22,
|
|
"index2": 21,
|
|
"size": 1078,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 21,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "prop-types",
|
|
"loc": "14:16-37"
|
|
},
|
|
{
|
|
"moduleId": 38,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\customizable.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/customizable.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/customizable.js",
|
|
"type": "cjs require",
|
|
"userRequest": "prop-types",
|
|
"loc": "22:16-37"
|
|
},
|
|
{
|
|
"moduleId": 96,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "prop-types",
|
|
"loc": "14:16-37"
|
|
},
|
|
{
|
|
"moduleId": 104,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\customizable.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/customizable.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/customizable.js",
|
|
"type": "cjs require",
|
|
"userRequest": "prop-types",
|
|
"loc": "22:16-37"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n Symbol.for &&\n Symbol.for('react.element')) ||\n 0xeac7;\n\n var isValidElement = function(object) {\n return typeof object === 'object' &&\n object !== null &&\n object.$$typeof === REACT_ELEMENT_TYPE;\n };\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(isValidElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"
|
|
},
|
|
{
|
|
"id": 23,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\process\\browser.js",
|
|
"name": "./~/process/browser.js",
|
|
"index": 23,
|
|
"index2": 13,
|
|
"size": 5418,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\object.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 22,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\index.js",
|
|
"module": "./~/prop-types/index.js",
|
|
"moduleName": "./~/prop-types/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 24,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"module": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"moduleName": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 26,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\invariant.js",
|
|
"module": "./~/fbjs/lib/invariant.js",
|
|
"moduleName": "./~/fbjs/lib/invariant.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 27,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\warning.js",
|
|
"module": "./~/fbjs/lib/warning.js",
|
|
"moduleName": "./~/fbjs/lib/warning.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 29,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\checkPropTypes.js",
|
|
"module": "./~/prop-types/checkPropTypes.js",
|
|
"moduleName": "./~/prop-types/checkPropTypes.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 31,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\object.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/object.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/object.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 73,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\sheet.js",
|
|
"module": "./~/glamor/lib/sheet.js",
|
|
"moduleName": "./~/glamor/lib/sheet.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 74,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 77,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\dangerousStyleValue.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 83,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\plugins.js",
|
|
"module": "./~/glamor/lib/plugins.js",
|
|
"moduleName": "./~/glamor/lib/plugins.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
},
|
|
{
|
|
"moduleId": 97,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\object.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/object.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/object.js",
|
|
"type": "cjs require",
|
|
"userRequest": "process",
|
|
"loc": "1:0-78"
|
|
}
|
|
],
|
|
"source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n"
|
|
},
|
|
{
|
|
"id": 24,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"name": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"index": 24,
|
|
"index2": 19,
|
|
"size": 18600,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 22,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\index.js",
|
|
"module": "./~/prop-types/index.js",
|
|
"moduleName": "./~/prop-types/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./factoryWithTypeCheckers",
|
|
"loc": "25:19-55"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n invariant(\n false,\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n warning(\n false,\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `%s` prop on `%s`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n propFullName,\n componentName\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n warning(\n false,\n 'Invalid argument supplid to oneOfType. Expected an array of check functions, but ' +\n 'received %s at index %s.',\n getPostfixForTypeWarning(checker),\n i\n );\n return emptyFunction.thatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"
|
|
},
|
|
{
|
|
"id": 25,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\emptyFunction.js",
|
|
"name": "./~/fbjs/lib/emptyFunction.js",
|
|
"index": 25,
|
|
"index2": 14,
|
|
"size": 1085,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 24,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"module": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"moduleName": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/emptyFunction",
|
|
"loc": "12:20-53"
|
|
},
|
|
{
|
|
"moduleId": 27,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\warning.js",
|
|
"module": "./~/fbjs/lib/warning.js",
|
|
"moduleName": "./~/fbjs/lib/warning.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./emptyFunction",
|
|
"loc": "13:20-46"
|
|
},
|
|
{
|
|
"moduleId": 30,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"module": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"moduleName": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/emptyFunction",
|
|
"loc": "12:20-53"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;"
|
|
},
|
|
{
|
|
"id": 26,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\invariant.js",
|
|
"name": "./~/fbjs/lib/invariant.js",
|
|
"index": 26,
|
|
"index2": 15,
|
|
"size": 1632,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 24,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"module": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"moduleName": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/invariant",
|
|
"loc": "13:16-45"
|
|
},
|
|
{
|
|
"moduleId": 29,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\checkPropTypes.js",
|
|
"module": "./~/prop-types/checkPropTypes.js",
|
|
"moduleName": "./~/prop-types/checkPropTypes.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/invariant",
|
|
"loc": "13:18-47"
|
|
},
|
|
{
|
|
"moduleId": 30,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"module": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"moduleName": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/invariant",
|
|
"loc": "13:16-45"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;"
|
|
},
|
|
{
|
|
"id": 27,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\warning.js",
|
|
"name": "./~/fbjs/lib/warning.js",
|
|
"index": 27,
|
|
"index2": 16,
|
|
"size": 2105,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 24,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"module": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"moduleName": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/warning",
|
|
"loc": "14:14-41"
|
|
},
|
|
{
|
|
"moduleId": 29,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\checkPropTypes.js",
|
|
"module": "./~/prop-types/checkPropTypes.js",
|
|
"moduleName": "./~/prop-types/checkPropTypes.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/warning",
|
|
"loc": "14:16-43"
|
|
},
|
|
{
|
|
"moduleId": 74,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/warning",
|
|
"loc": "25:15-42"
|
|
},
|
|
{
|
|
"moduleId": 77,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\dangerousStyleValue.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/warning",
|
|
"loc": "11:15-42"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n (function () {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n })();\n}\n\nmodule.exports = warning;"
|
|
},
|
|
{
|
|
"id": 28,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\lib\\ReactPropTypesSecret.js",
|
|
"name": "./~/prop-types/lib/ReactPropTypesSecret.js",
|
|
"index": 28,
|
|
"index2": 17,
|
|
"size": 436,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 24,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"module": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"moduleName": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./lib/ReactPropTypesSecret",
|
|
"loc": "16:27-64"
|
|
},
|
|
{
|
|
"moduleId": 29,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\checkPropTypes.js",
|
|
"module": "./~/prop-types/checkPropTypes.js",
|
|
"moduleName": "./~/prop-types/checkPropTypes.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./lib/ReactPropTypesSecret",
|
|
"loc": "15:29-66"
|
|
},
|
|
{
|
|
"moduleId": 30,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"module": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"moduleName": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./lib/ReactPropTypesSecret",
|
|
"loc": "14:27-64"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"
|
|
},
|
|
{
|
|
"id": 29,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\checkPropTypes.js",
|
|
"name": "./~/prop-types/checkPropTypes.js",
|
|
"index": 29,
|
|
"index2": 18,
|
|
"size": 2935,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 24,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithTypeCheckers.js",
|
|
"module": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"moduleName": "./~/prop-types/factoryWithTypeCheckers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./checkPropTypes",
|
|
"loc": "17:21-48"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== 'production') {\n var invariant = require('fbjs/lib/invariant');\n var warning = require('fbjs/lib/warning');\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', location, typeSpecName);\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n }\n }\n }\n }\n}\n\nmodule.exports = checkPropTypes;\n"
|
|
},
|
|
{
|
|
"id": 30,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\factoryWithThrowingShims.js",
|
|
"name": "./~/prop-types/factoryWithThrowingShims.js",
|
|
"index": 30,
|
|
"index2": 20,
|
|
"size": 1594,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 22,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\prop-types\\index.js",
|
|
"module": "./~/prop-types/index.js",
|
|
"moduleName": "./~/prop-types/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./factoryWithThrowingShims",
|
|
"loc": "29:19-56"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n invariant(\n false,\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim\n };\n\n ReactPropTypes.checkPropTypes = emptyFunction;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"
|
|
},
|
|
{
|
|
"id": 31,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\object.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/object.js",
|
|
"index": 31,
|
|
"index2": 22,
|
|
"size": 3041,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./object",
|
|
"loc": "24:9-28"
|
|
},
|
|
{
|
|
"moduleId": 21,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./object",
|
|
"loc": "16:15-34"
|
|
},
|
|
{
|
|
"moduleId": 45,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\properties.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/properties.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/properties.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./object",
|
|
"loc": "3:15-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Initialize global window id.\nvar CURRENT_ID_PROPERTY = '__currentId__';\nvar _global = (typeof window !== 'undefined' && window) || process;\nif (_global[CURRENT_ID_PROPERTY] === undefined) {\n _global[CURRENT_ID_PROPERTY] = 0;\n}\nfunction checkProperties(a, b) {\n for (var propName in a) {\n if (a.hasOwnProperty(propName)) {\n if (!b.hasOwnProperty(propName) || (b[propName] !== a[propName])) {\n return false;\n }\n }\n }\n return true;\n}\n// Compare a to b and b to a\nfunction shallowCompare(a, b) {\n return checkProperties(a, b) && checkProperties(b, a);\n}\nexports.shallowCompare = shallowCompare;\n/**\n * Makes a resulting merge of a bunch of objects. Pass in the target object followed by 1 or more\n * objects as arguments and they will be merged sequentially into the target. Note that this will\n * shallow merge; it will not create new cloned values for target members.\n *\n * @param target - Target object to merge following object arguments into.\n * @param args - One or more objects that will be mixed into the target in the order they are provided.\n * @returns Resulting merged target.\n */\nfunction assign(target) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n return filteredAssign.apply(this, [null, target].concat(args));\n}\nexports.assign = assign;\n/**\n * Makes a resulting merge of a bunch of objects, but allows a filter function to be passed in to filter\n * the resulting merges. This allows for scenarios where you want to merge \"everything except that one thing\"\n * or \"properties that start with data-\". Note that this will shallow merge; it will not create new cloned\n * values for target members.\n *\n * @param isAllowed - Callback to determine if the given propName is allowed in the result.\n * @param target - Target object to merge following object arguments into.\n * @param args - One or more objects that will be mixed into the target in the order they are provided.\n * @returns Resulting merged target.\n */\nfunction filteredAssign(isAllowed, target) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n target = target || {};\n for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n var sourceObject = args_1[_a];\n if (sourceObject) {\n for (var propName in sourceObject) {\n if (sourceObject.hasOwnProperty(propName) &&\n !isAllowed || isAllowed(propName)) {\n target[propName] = sourceObject[propName];\n }\n }\n }\n }\n return target;\n}\nexports.filteredAssign = filteredAssign;\n/** Generates a unique id in the global scope (this spans across duplicate copies of the same library.) */\nfunction getId(prefix) {\n var index = _global[CURRENT_ID_PROPERTY]++;\n return (prefix || '') + index;\n}\nexports.getId = getId;\n\n"
|
|
},
|
|
{
|
|
"id": 32,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\DelayedRender.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/DelayedRender.js",
|
|
"index": 32,
|
|
"index2": 24,
|
|
"size": 1764,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DelayedRender",
|
|
"loc": "10:9-35"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\n/**\n * Utility component for delaying the render of a child component after a given delay. This component\n * requires a single child component; don't pass in many components. Wrap multiple components in a DIV\n * if necessary.\n */\nvar DelayedRender = (function (_super) {\n __extends(DelayedRender, _super);\n function DelayedRender(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isRendered: false\n };\n return _this;\n }\n DelayedRender.prototype.componentDidMount = function () {\n var _this = this;\n var delay = this.props.delay;\n this._timeoutId = setTimeout(function () {\n _this.setState({\n isRendered: true\n });\n }, delay);\n };\n DelayedRender.prototype.componentWillUnmount = function () {\n clearTimeout(this._timeoutId);\n };\n DelayedRender.prototype.render = function () {\n return this.state.isRendered ? React.Children.only(this.props.children) : null;\n };\n return DelayedRender;\n}(React.Component));\nDelayedRender.defaultProps = {\n delay: 0\n};\nexports.DelayedRender = DelayedRender;\n\n"
|
|
},
|
|
{
|
|
"id": 33,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\KeyCodes.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/KeyCodes.js",
|
|
"index": 33,
|
|
"index2": 25,
|
|
"size": 985,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./KeyCodes",
|
|
"loc": "12:9-30"
|
|
},
|
|
{
|
|
"moduleId": 47,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\rtl.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/rtl.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/rtl.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./KeyCodes",
|
|
"loc": "3:17-38"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar KeyCodes;\n(function (KeyCodes) {\n KeyCodes[KeyCodes[\"a\"] = 65] = \"a\";\n KeyCodes[KeyCodes[\"backspace\"] = 8] = \"backspace\";\n KeyCodes[KeyCodes[\"comma\"] = 188] = \"comma\";\n KeyCodes[KeyCodes[\"del\"] = 46] = \"del\";\n KeyCodes[KeyCodes[\"down\"] = 40] = \"down\";\n KeyCodes[KeyCodes[\"end\"] = 35] = \"end\";\n KeyCodes[KeyCodes[\"enter\"] = 13] = \"enter\";\n KeyCodes[KeyCodes[\"escape\"] = 27] = \"escape\";\n KeyCodes[KeyCodes[\"home\"] = 36] = \"home\";\n KeyCodes[KeyCodes[\"left\"] = 37] = \"left\";\n KeyCodes[KeyCodes[\"pageDown\"] = 34] = \"pageDown\";\n KeyCodes[KeyCodes[\"pageUp\"] = 33] = \"pageUp\";\n KeyCodes[KeyCodes[\"right\"] = 39] = \"right\";\n KeyCodes[KeyCodes[\"semicolon\"] = 186] = \"semicolon\";\n KeyCodes[KeyCodes[\"space\"] = 32] = \"space\";\n KeyCodes[KeyCodes[\"tab\"] = 9] = \"tab\";\n KeyCodes[KeyCodes[\"up\"] = 38] = \"up\";\n})(KeyCodes = exports.KeyCodes || (exports.KeyCodes = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 34,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\Rectangle.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/Rectangle.js",
|
|
"index": 34,
|
|
"index2": 26,
|
|
"size": 1793,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rectangle",
|
|
"loc": "13:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Rectangle = (function () {\n function Rectangle(left, right, top, bottom) {\n if (left === void 0) { left = 0; }\n if (right === void 0) { right = 0; }\n if (top === void 0) { top = 0; }\n if (bottom === void 0) { bottom = 0; }\n this.top = top;\n this.bottom = bottom;\n this.left = left;\n this.right = right;\n }\n Object.defineProperty(Rectangle.prototype, \"width\", {\n /**\n * Calculated automatically by subtracting the right from left\n */\n get: function () {\n return this.right - this.left;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Rectangle.prototype, \"height\", {\n /**\n * Calculated automatically by subtracting the bottom from top.\n */\n get: function () {\n return this.bottom - this.top;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Tests if another rect is approximately equal to this rect (within 4 decimal places.)\n */\n Rectangle.prototype.equals = function (rect) {\n // I'm fixing it to 4 decimal places because it allows enough precision and will handle cases when something should be rounded,\n // like .999999 should round to 1.\n return (parseFloat(this.top.toFixed(4)) === parseFloat(rect.top.toFixed(4)) &&\n parseFloat(this.bottom.toFixed(4)) === parseFloat(rect.bottom.toFixed(4)) &&\n parseFloat(this.left.toFixed(4)) === parseFloat(rect.left.toFixed(4)) &&\n parseFloat(this.right.toFixed(4)) === parseFloat(rect.right.toFixed(4)));\n };\n return Rectangle;\n}());\nexports.Rectangle = Rectangle;\n\n"
|
|
},
|
|
{
|
|
"id": 35,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\array.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/array.js",
|
|
"index": 35,
|
|
"index2": 27,
|
|
"size": 512,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./array",
|
|
"loc": "14:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction findIndex(array, cb) {\n var index = -1;\n for (var i = 0; array && i < array.length; i++) {\n if (cb(array[i], i)) {\n index = i;\n break;\n }\n }\n return index;\n}\nexports.findIndex = findIndex;\nfunction createArray(size, getItem) {\n var array = [];\n for (var i = 0; i < size; i++) {\n array.push(getItem(i));\n }\n return array;\n}\nexports.createArray = createArray;\n\n"
|
|
},
|
|
{
|
|
"id": 36,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\autobind.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/autobind.js",
|
|
"index": 36,
|
|
"index2": 28,
|
|
"size": 1301,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./autobind",
|
|
"loc": "15:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Autobind is a utility for binding methods in a class. This simplifies tagging methods as being \"bound\" to the this pointer\n * so that they can be used in scenarios that simply require a function callback.\n */\nfunction autobind(target, key, descriptor) {\n var fn = descriptor.value;\n var defining = false;\n return {\n configurable: true,\n get: function () {\n if (defining || this === fn.prototype || this.hasOwnProperty(key)) {\n return fn;\n }\n // Bind method only once, and update the property to return the bound value from now on\n var fnBound = fn.bind(this);\n defining = true;\n Object.defineProperty(this, key, {\n configurable: true,\n writable: true,\n enumerable: true,\n value: fnBound\n });\n defining = false;\n return fnBound;\n },\n set: function (newValue) {\n Object.defineProperty(this, key, {\n configurable: true,\n writable: true,\n enumerable: true,\n value: newValue\n });\n }\n };\n}\nexports.autobind = autobind;\n\n"
|
|
},
|
|
{
|
|
"id": 37,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\css.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/css.js",
|
|
"index": 37,
|
|
"index2": 29,
|
|
"size": 848,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./css",
|
|
"loc": "16:9-25"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction css() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var classes = [];\n for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n var arg = args_1[_a];\n if (arg) {\n if (typeof arg === 'string') {\n classes.push(arg);\n }\n else if ((arg.hasOwnProperty('toString') && typeof (arg.toString) === 'function')) {\n classes.push(arg.toString());\n }\n else {\n for (var key in arg) {\n if (arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n }\n return classes.join(' ');\n}\nexports.css = css;\n\n"
|
|
},
|
|
{
|
|
"id": 38,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\customizable.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/customizable.js",
|
|
"index": 38,
|
|
"index2": 30,
|
|
"size": 1919,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./customizable",
|
|
"loc": "17:9-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar PropTypes = require(\"prop-types\");\nfunction customizable(componentName) {\n return function customizableFactory(ComposedComponent) {\n return _a = (function (_super) {\n __extends(ComponentWithInjectedProps, _super);\n function ComponentWithInjectedProps() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ComponentWithInjectedProps.prototype.render = function () {\n var defaultProps = ((this.context.injectedProps) ?\n this.context.injectedProps[componentName] :\n null) || {};\n return (React.createElement(ComposedComponent, __assign({}, defaultProps, this.props)));\n };\n return ComponentWithInjectedProps;\n }(React.Component)),\n _a.contextTypes = {\n injectedProps: PropTypes.object\n },\n _a;\n var _a;\n };\n}\nexports.customizable = customizable;\n\n"
|
|
},
|
|
{
|
|
"id": 39,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\focus.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/focus.js",
|
|
"index": 39,
|
|
"index2": 31,
|
|
"size": 6349,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./focus",
|
|
"loc": "19:9-27"
|
|
}
|
|
],
|
|
"source": "/* tslint:disable:no-string-literal */\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\nvar IS_FOCUSABLE_ATTRIBUTE = 'data-is-focusable';\nvar IS_VISIBLE_ATTRIBUTE = 'data-is-visible';\nvar FOCUSZONE_ID_ATTRIBUTE = 'data-focuszone-id';\nfunction getFirstFocusable(rootElement, currentElement, includeElementsInFocusZones) {\n return getNextElement(rootElement, currentElement, true, false, false, includeElementsInFocusZones);\n}\nexports.getFirstFocusable = getFirstFocusable;\nfunction getLastFocusable(rootElement, currentElement, includeElementsInFocusZones) {\n return getPreviousElement(rootElement, currentElement, true, false, true, includeElementsInFocusZones);\n}\nexports.getLastFocusable = getLastFocusable;\n/**\n * Attempts to focus the first focusable element that is a child or child's child of the rootElement.\n * @param rootElement - Element to start the search for a focusable child.\n * @returns True if focus was set, false if it was not.\n */\nfunction focusFirstChild(rootElement) {\n var element = getNextElement(rootElement, rootElement, true, false, false, true);\n if (element) {\n element.focus();\n return true;\n }\n return false;\n}\nexports.focusFirstChild = focusFirstChild;\n/** Traverse to find the previous element. */\nfunction getPreviousElement(rootElement, currentElement, checkNode, suppressParentTraversal, traverseChildren, includeElementsInFocusZones) {\n if (!currentElement ||\n currentElement === rootElement) {\n return null;\n }\n var isCurrentElementVisible = isElementVisible(currentElement);\n // Check its children.\n if (traverseChildren && (includeElementsInFocusZones || !isElementFocusZone(currentElement)) && isCurrentElementVisible) {\n var childMatch = getPreviousElement(rootElement, currentElement.lastElementChild, true, true, true, includeElementsInFocusZones);\n if (childMatch) {\n return childMatch;\n }\n }\n // Check the current node, if it's not the first traversal.\n if (checkNode && isCurrentElementVisible && isElementTabbable(currentElement)) {\n return currentElement;\n }\n // Check its previous sibling.\n var siblingMatch = getPreviousElement(rootElement, currentElement.previousElementSibling, true, true, true, includeElementsInFocusZones);\n if (siblingMatch) {\n return siblingMatch;\n }\n // Check its parent.\n if (!suppressParentTraversal) {\n return getPreviousElement(rootElement, currentElement.parentElement, true, false, false, includeElementsInFocusZones);\n }\n return null;\n}\nexports.getPreviousElement = getPreviousElement;\n/** Traverse to find the next focusable element. */\nfunction getNextElement(rootElement, currentElement, checkNode, suppressParentTraversal, suppressChildTraversal, includeElementsInFocusZones) {\n if (!currentElement ||\n (currentElement === rootElement && suppressChildTraversal)) {\n return null;\n }\n var isCurrentElementVisible = isElementVisible(currentElement);\n // Check the current node, if it's not the first traversal.\n if (checkNode && isCurrentElementVisible && isElementTabbable(currentElement)) {\n return currentElement;\n }\n // Check its children.\n if (!suppressChildTraversal && isCurrentElementVisible && (includeElementsInFocusZones || !isElementFocusZone(currentElement))) {\n var childMatch = getNextElement(rootElement, currentElement.firstElementChild, true, true, false, includeElementsInFocusZones);\n if (childMatch) {\n return childMatch;\n }\n }\n if (currentElement === rootElement) {\n return null;\n }\n // Check its sibling.\n var siblingMatch = getNextElement(rootElement, currentElement.nextElementSibling, true, true, false, includeElementsInFocusZones);\n if (siblingMatch) {\n return siblingMatch;\n }\n if (!suppressParentTraversal) {\n return getNextElement(rootElement, currentElement.parentElement, false, false, true, includeElementsInFocusZones);\n }\n return null;\n}\nexports.getNextElement = getNextElement;\nfunction isElementVisible(element) {\n // If the element is not valid, return false.\n if (!element || !element.getAttribute) {\n return false;\n }\n var visibilityAttribute = element.getAttribute(IS_VISIBLE_ATTRIBUTE);\n // If the element is explicitly marked with the visibility attribute, return that value as boolean.\n if (visibilityAttribute !== null && visibilityAttribute !== undefined) {\n return visibilityAttribute === 'true';\n }\n // Fallback to other methods of determining actual visibility.\n return (element.offsetHeight !== 0 ||\n element.offsetParent !== null ||\n element.isVisible === true); // used as a workaround for testing.\n}\nexports.isElementVisible = isElementVisible;\nfunction isElementTabbable(element) {\n // If this element is null or is disabled, it is not considered tabbable.\n if (!element || element.disabled) {\n return false;\n }\n // In IE, element.tabIndex is default to 0. We need to use element get tabIndex attribute to get the correct tabIndex\n var tabIndex = -1;\n if (element && element.getAttribute) {\n tabIndex = parseInt(element.getAttribute('tabIndex'), 10);\n }\n var isFocusableAttribute = element.getAttribute ? element.getAttribute(IS_FOCUSABLE_ATTRIBUTE) : null;\n return (!!element && isFocusableAttribute !== 'false' &&\n (element.tagName === 'A' ||\n (element.tagName === 'BUTTON') ||\n (element.tagName === 'INPUT') ||\n (element.tagName === 'TEXTAREA') ||\n (tabIndex >= 0) ||\n (element.getAttribute && (isFocusableAttribute === 'true' ||\n element.getAttribute('role') === 'button'))));\n}\nexports.isElementTabbable = isElementTabbable;\nfunction isElementFocusZone(element) {\n return element && !!element.getAttribute(FOCUSZONE_ID_ATTRIBUTE);\n}\nexports.isElementFocusZone = isElementFocusZone;\nfunction doesElementContainFocus(element) {\n var currentActiveElement = dom_1.getDocument(element).activeElement;\n if (currentActiveElement && dom_1.elementContains(element, currentActiveElement)) {\n return true;\n }\n return false;\n}\nexports.doesElementContainFocus = doesElementContainFocus;\n\n"
|
|
},
|
|
{
|
|
"id": 40,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\hoist.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/hoist.js",
|
|
"index": 40,
|
|
"index2": 32,
|
|
"size": 1903,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./hoist",
|
|
"loc": "20:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar REACT_LIFECYCLE_EXCLUSIONS = [\n 'setState',\n 'render',\n 'componentWillMount',\n 'componentDidMount',\n 'componentWillReceiveProps',\n 'shouldComponentUpdate',\n 'componentWillUpdate',\n 'componentDidUpdate',\n 'componentWillUnmount'\n];\n/**\n * Allows you to hoist methods, except those in an exclusion set from a source object into a destination object.\n *\n * @param destination - The instance of the object to hoist the methods onto.\n * @param source - The instance of the object where the methods are hoisted from.\n * @param exclusions - (Optional) What methods to exclude from being hoisted.\n * @returns An array of names of methods that were hoisted.\n */\nfunction hoistMethods(destination, source, exclusions) {\n if (exclusions === void 0) { exclusions = REACT_LIFECYCLE_EXCLUSIONS; }\n var hoisted = [];\n var _loop_1 = function (methodName) {\n if (typeof source[methodName] === 'function' &&\n destination[methodName] === undefined &&\n (!exclusions || exclusions.indexOf(methodName) === -1)) {\n hoisted.push(methodName);\n /* tslint:disable:no-function-expression */\n destination[methodName] = function () { source[methodName].apply(source, arguments); };\n /* tslint:enable */\n }\n };\n for (var methodName in source) {\n _loop_1(methodName);\n }\n return hoisted;\n}\nexports.hoistMethods = hoistMethods;\n/**\n * Provides a method for convenience to unhoist hoisted methods.\n *\n * @param source - The source object upon which methods were hoisted.\n * @param methodNames - An array of method names to unhoist.\n */\nfunction unhoistMethods(source, methodNames) {\n methodNames\n .forEach(function (methodName) { return delete source[methodName]; });\n}\nexports.unhoistMethods = unhoistMethods;\n\n"
|
|
},
|
|
{
|
|
"id": 41,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\initials.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/initials.js",
|
|
"index": 41,
|
|
"index2": 33,
|
|
"size": 2574,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./initials",
|
|
"loc": "21:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Regular expression matching characters to ignore when calculating the initials.\n * The first part matches characters within parenthesis, including the parenthesis.\n * The second part matches special ASCII characters except space, plus some unicode special characters.\n */\nvar UNWANTED_CHARS_REGEX = /\\([^)]*\\)|[\\0-\\u001F\\!-/:-@\\[-`\\{-\\u00BF\\u0250-\\u036F\\uD800-\\uFFFF]/g;\n/** Regular expression matching one or more spaces. */\nvar MULTIPLE_WHITESPACES_REGEX = /\\s+/g;\n/**\n * Regular expression matching languages for which we currently don't support initials.\n * Arabic: Arabic, Arabic Supplement, Arabic Extended-A.\n * Korean: Hangul Jamo, Hangul Compatibility Jamo, Hangul Jamo Extended-A, Hangul Syllables, Hangul Jamo Extended-B.\n * Japanese: Hiragana, Katakana.\n * CJK: CJK Unified Ideographs Extension A, CJK Unified Ideographs, CJK Compatibility Ideographs, CJK Unified Ideographs Extension B\n */\n/* tslint:disable:max-line-length */\nvar UNSUPPORTED_TEXT_REGEX = /[\\u0600-\\u06FF\\u0750-\\u077F\\u08A0-\\u08FF\\u1100-\\u11FF\\u3130-\\u318F\\uA960-\\uA97F\\uAC00-\\uD7AF\\uD7B0-\\uD7FF\\u3040-\\u309F\\u30A0-\\u30FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uF900-\\uFAFF]|[\\uD840-\\uD869][\\uDC00-\\uDED6]/;\n/* tslint:enable:max-line-length */\nfunction getInitialsLatin(displayName, isRtl) {\n var initials = '';\n var splits = displayName.split(' ');\n if (splits.length === 2) {\n initials += splits[0].charAt(0).toUpperCase();\n initials += splits[1].charAt(0).toUpperCase();\n }\n else if (splits.length === 3) {\n initials += splits[0].charAt(0).toUpperCase();\n initials += splits[2].charAt(0).toUpperCase();\n }\n else if (splits.length !== 0) {\n initials += splits[0].charAt(0).toUpperCase();\n }\n if (isRtl && initials.length > 1) {\n return initials.charAt(1) + initials.charAt(0);\n }\n return initials;\n}\nfunction cleanupDisplayName(displayName) {\n displayName = displayName.replace(UNWANTED_CHARS_REGEX, '');\n displayName = displayName.replace(MULTIPLE_WHITESPACES_REGEX, ' ');\n displayName = displayName.trim();\n return displayName;\n}\n/** Get (up to 2 characters) initials based on display name of the persona. */\nfunction getInitials(displayName, isRtl) {\n if (displayName == null) {\n return '';\n }\n displayName = cleanupDisplayName(displayName);\n if (UNSUPPORTED_TEXT_REGEX.test(displayName)) {\n return '';\n }\n return getInitialsLatin(displayName, isRtl);\n}\nexports.getInitials = getInitials;\n\n"
|
|
},
|
|
{
|
|
"id": 42,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\language.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/language.js",
|
|
"index": 42,
|
|
"index2": 34,
|
|
"size": 1522,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./language",
|
|
"loc": "22:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\n// Default to undefined so that we initialize on first read.\nvar _language;\n/**\n * Gets the rtl state of the page (returns true if in rtl.)\n */\nfunction getLanguage() {\n if (_language === undefined) {\n var doc = dom_1.getDocument();\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage']) {\n var savedLanguage = localStorage.getItem('language');\n if (savedLanguage !== null) {\n _language = savedLanguage;\n }\n }\n if (_language === undefined && doc) {\n _language = doc.documentElement.getAttribute('lang');\n }\n if (_language === undefined) {\n setLanguage('en', false);\n }\n }\n return _language;\n}\nexports.getLanguage = getLanguage;\n/**\n * Sets the rtl state of the page (by adjusting the dir attribute of the html element.)\n */\nfunction setLanguage(language, avoidPersisting) {\n if (avoidPersisting === void 0) { avoidPersisting = false; }\n var doc = dom_1.getDocument();\n if (doc) {\n doc.documentElement.setAttribute('lang', language);\n }\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage'] && !avoidPersisting) {\n localStorage.setItem('language', language);\n }\n _language = language;\n}\nexports.setLanguage = setLanguage;\n\n"
|
|
},
|
|
{
|
|
"id": 43,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\math.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/math.js",
|
|
"index": 43,
|
|
"index2": 35,
|
|
"size": 313,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./math",
|
|
"loc": "23:9-26"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getDistanceBetweenPoints(point1, point2) {\n var distance = Math.sqrt(Math.pow(point1.x - point2.x, 2) + Math.pow(point1.y - point2.y, 2));\n return distance;\n}\nexports.getDistanceBetweenPoints = getDistanceBetweenPoints;\n\n"
|
|
},
|
|
{
|
|
"id": 44,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\overflow.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/overflow.js",
|
|
"index": 44,
|
|
"index2": 36,
|
|
"size": 1047,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./overflow",
|
|
"loc": "25:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Detects whether an element's content has horizontal overflow\n *\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nfunction hasHorizontalOverflow(element) {\n return element.clientWidth < element.scrollWidth;\n}\nexports.hasHorizontalOverflow = hasHorizontalOverflow;\n/**\n * Detects whether an element's content has vertical overflow\n *\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nfunction hasVerticalOverflow(element) {\n return element.clientHeight < element.scrollHeight;\n}\nexports.hasVerticalOverflow = hasVerticalOverflow;\n/**\n * Detects whether an element's content has overflow in any direction\n *\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nfunction hasOverflow(element) {\n return hasHorizontalOverflow(element) || hasVerticalOverflow(element);\n}\nexports.hasOverflow = hasOverflow;\n\n"
|
|
},
|
|
{
|
|
"id": 45,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\properties.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/properties.js",
|
|
"index": 45,
|
|
"index2": 37,
|
|
"size": 5028,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./properties",
|
|
"loc": "26:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar object_1 = require(\"./object\");\nexports.baseElementEvents = [\n 'onCopy',\n 'onCut',\n 'onPaste',\n 'onCompositionEnd',\n 'onCompositionStart',\n 'onCompositionUpdate',\n 'onFocus',\n 'onFocusCapture',\n 'onBlur',\n 'onBlurCapture',\n 'onChange',\n 'onInput',\n 'onSubmit',\n 'onLoad',\n 'onError',\n 'onKeyDown',\n 'onKeyDownCapture',\n 'onKeyPress',\n 'onKeyUp',\n 'onAbort',\n 'onCanPlay',\n 'onCanPlayThrough',\n 'onDurationChange',\n 'onEmptied',\n 'onEncrypted',\n 'onEnded',\n 'onLoadedData',\n 'onLoadedMetadata',\n 'onLoadStart',\n 'onPause',\n 'onPlay',\n 'onPlaying',\n 'onProgress',\n 'onRateChange',\n 'onSeeked',\n 'onSeeking',\n 'onStalled',\n 'onSuspend',\n 'onTimeUpdate',\n 'onVolumeChange',\n 'onWaiting',\n 'onClick',\n 'onClickCapture',\n 'onContextMenu',\n 'onDoubleClick',\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n 'onMouseDown',\n 'onMouseDownCapture',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onMouseUpCapture',\n 'onSelect',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n 'onScroll',\n 'onWheel'\n];\nexports.baseElementProperties = [\n 'defaultChecked',\n 'defaultValue',\n 'accept',\n 'acceptCharset',\n 'accessKey',\n 'action',\n 'allowFullScreen',\n 'allowTransparency',\n 'alt',\n 'async',\n 'autoComplete',\n 'autoFocus',\n 'autoPlay',\n 'capture',\n 'cellPadding',\n 'cellSpacing',\n 'charSet',\n 'challenge',\n 'checked',\n 'children',\n 'classID',\n 'className',\n 'cols',\n 'colSpan',\n 'content',\n 'contentEditable',\n 'contextMenu',\n 'controls',\n 'coords',\n 'crossOrigin',\n 'data',\n 'dateTime',\n 'default',\n 'defer',\n 'dir',\n 'download',\n 'draggable',\n 'encType',\n 'form',\n 'formAction',\n 'formEncType',\n 'formMethod',\n 'formNoValidate',\n 'formTarget',\n 'frameBorder',\n 'headers',\n 'height',\n 'hidden',\n 'high',\n 'hrefLang',\n 'htmlFor',\n 'httpEquiv',\n 'icon',\n 'id',\n 'inputMode',\n 'integrity',\n 'is',\n 'keyParams',\n 'keyType',\n 'kind',\n 'lang',\n 'list',\n 'loop',\n 'low',\n 'manifest',\n 'marginHeight',\n 'marginWidth',\n 'max',\n 'maxLength',\n 'media',\n 'mediaGroup',\n 'method',\n 'min',\n 'minLength',\n 'multiple',\n 'muted',\n 'name',\n 'noValidate',\n 'open',\n 'optimum',\n 'pattern',\n 'placeholder',\n 'poster',\n 'preload',\n 'radioGroup',\n 'readOnly',\n 'rel',\n 'required',\n 'role',\n 'rows',\n 'rowSpan',\n 'sandbox',\n 'scope',\n 'scoped',\n 'scrolling',\n 'seamless',\n 'selected',\n 'shape',\n 'size',\n 'sizes',\n 'span',\n 'spellCheck',\n 'src',\n 'srcDoc',\n 'srcLang',\n 'srcSet',\n 'start',\n 'step',\n 'style',\n 'summary',\n 'tabIndex',\n 'title',\n 'type',\n 'useMap',\n 'value',\n 'width',\n 'wmode',\n 'wrap'\n];\nexports.htmlElementProperties = exports.baseElementProperties.concat(exports.baseElementEvents);\nexports.anchorProperties = exports.htmlElementProperties.concat([\n 'href',\n 'target'\n]);\nexports.buttonProperties = exports.htmlElementProperties.concat([\n 'disabled'\n]);\nexports.divProperties = exports.htmlElementProperties.concat(['align', 'noWrap']);\nexports.inputProperties = exports.buttonProperties;\nexports.textAreaProperties = exports.buttonProperties;\nexports.imageProperties = exports.divProperties;\n/**\n * Gets native supported props for an html element provided the allowance set. Use one of the property\n * sets defined (divProperties, buttonPropertes, etc) to filter out supported properties from a given\n * props set. Note that all data- and aria- prefixed attributes will be allowed.\n * NOTE: getNativeProps should always be applied first when adding props to a react component. The\n * non-native props should be applied second. This will prevent getNativeProps from overriding your custom props.\n * For example, if props passed to getNativeProps has an onClick function and getNativeProps is added to\n * the component after an onClick function is added, then the getNativeProps onClick will override it.\n * @param props - The unfiltered input props\n * @param allowedPropsNames- The array of allowed propnames.\n * @returns The filtered props\n */\nfunction getNativeProps(props, allowedPropNames, excludedPropNames) {\n return object_1.filteredAssign(function (propName) {\n return ((!excludedPropNames || excludedPropNames.indexOf(propName) < 0) && ((propName.indexOf('data-') === 0) ||\n (propName.indexOf('aria-') === 0) ||\n (allowedPropNames.indexOf(propName) >= 0)));\n }, {}, props);\n}\nexports.getNativeProps = getNativeProps;\n\n"
|
|
},
|
|
{
|
|
"id": 46,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\resources.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/resources.js",
|
|
"index": 46,
|
|
"index2": 38,
|
|
"size": 406,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./resources",
|
|
"loc": "27:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _baseUrl = '';\n/** Sets the current base url used for fetching images. */\nfunction getResourceUrl(url) {\n return _baseUrl + url;\n}\nexports.getResourceUrl = getResourceUrl;\n/** Gets the current base url used for fetching images. */\nfunction setBaseUrl(baseUrl) {\n _baseUrl = baseUrl;\n}\nexports.setBaseUrl = setBaseUrl;\n\n"
|
|
},
|
|
{
|
|
"id": 47,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\rtl.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/rtl.js",
|
|
"index": 47,
|
|
"index2": 39,
|
|
"size": 2130,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./rtl",
|
|
"loc": "28:9-25"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar KeyCodes_1 = require(\"./KeyCodes\");\nvar dom_1 = require(\"./dom\");\n// Default to undefined so that we initialize on first read.\nvar _isRTL;\n/**\n * Gets the rtl state of the page (returns true if in rtl.)\n */\nfunction getRTL() {\n if (_isRTL === undefined) {\n var doc = dom_1.getDocument();\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage']) {\n var savedRTL = localStorage.getItem('isRTL');\n if (savedRTL !== null) {\n _isRTL = savedRTL === '1';\n }\n }\n if (_isRTL === undefined && doc) {\n _isRTL = doc.documentElement.getAttribute('dir') === 'rtl';\n }\n if (_isRTL !== undefined) {\n setRTL(_isRTL, true);\n }\n else {\n throw new Error('getRTL was called in a server environment without setRTL being called first. ' +\n 'Call setRTL to set the correct direction first.');\n }\n }\n return _isRTL;\n}\nexports.getRTL = getRTL;\n/**\n * Sets the rtl state of the page (by adjusting the dir attribute of the html element.)\n */\nfunction setRTL(isRTL, avoidPersisting) {\n if (avoidPersisting === void 0) { avoidPersisting = false; }\n var doc = dom_1.getDocument();\n if (doc) {\n doc.documentElement.setAttribute('dir', isRTL ? 'rtl' : 'ltr');\n }\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage'] && !avoidPersisting) {\n localStorage.setItem('isRTL', isRTL ? '1' : '0');\n }\n _isRTL = isRTL;\n}\nexports.setRTL = setRTL;\n/**\n * Returns the given key, but flips right/left arrows if necessary.\n */\nfunction getRTLSafeKeyCode(key) {\n if (getRTL()) {\n if (key === KeyCodes_1.KeyCodes.left) {\n key = KeyCodes_1.KeyCodes.right;\n }\n else if (key === KeyCodes_1.KeyCodes.right) {\n key = KeyCodes_1.KeyCodes.left;\n }\n }\n return key;\n}\nexports.getRTLSafeKeyCode = getRTLSafeKeyCode;\n\n"
|
|
},
|
|
{
|
|
"id": 48,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\string.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/string.js",
|
|
"index": 48,
|
|
"index2": 40,
|
|
"size": 1239,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./string",
|
|
"loc": "30:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Regex that finds { and } so they can be removed on a lookup for string format\nvar FORMAT_ARGS_REGEX = /[\\{\\}]/g;\n// Regex that finds {#} so it can be replaced by the arguments in string format\nvar FORMAT_REGEX = /\\{\\d+\\}/g;\n/**\n * String Format is like C# string format.\n * Usage Example: \"hello {0}!\".format(\"mike\") will return \"hello mike!\"\n * Calling format on a string with less arguments than specified in the format is invalid\n * Example \"I love {0} every {1}\".format(\"CXP\") will result in a Debug Exception.\n */\nfunction format(s) {\n 'use strict';\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n var args = values;\n // Callback match function\n function replace_func(match) {\n // looks up in the args\n var replacement = args[match.replace(FORMAT_ARGS_REGEX, '')];\n // catches undefined in nondebug and null in debug and nondebug\n if (replacement === null || replacement === undefined) {\n replacement = '';\n }\n return replacement;\n }\n return (s.replace(FORMAT_REGEX, replace_func));\n}\nexports.format = format;\n\n"
|
|
},
|
|
{
|
|
"id": 49,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\memoize.js",
|
|
"name": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/memoize.js",
|
|
"index": 49,
|
|
"index2": 41,
|
|
"size": 2799,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 11,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./memoize",
|
|
"loc": "32:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _emptyObject = { empty: true };\nvar _dictionary = {};\nfunction memoize(target, key, descriptor) {\n // We bind to \"null\" to prevent people from inadvertently pulling values from \"this\",\n // rather than passing them in as input values which can be memoized.\n var fn = memoizeFunction(descriptor.value.bind(null));\n return {\n configurable: true,\n get: function () {\n return fn;\n }\n };\n}\nexports.memoize = memoize;\n/**\n * Memoizes a function; when you pass in the same parameters multiple times, it returns a cached result.\n * Be careful when passing in objects, you need to pass in the same INSTANCE for caching to work. Otherwise\n * it will grow the cache unnecessarily.\n *\n * By default, the cache will reset after 100 permutations, to avoid abuse cases where the function is\n * unintendedly called with unique objects. Without a reset, the cache could grow infinitely, so we safeguard\n * by resetting. To override this behavior, pass a value of 0 to the maxCacheSize parameter.\n *\n * @param cb - The function to memoize.\n * @param maxCacheSize - Max results to cache. If the cache exceeds this value, it will reset on the next call.\n * @returns A memoized version of the function.\n */\nfunction memoizeFunction(cb, maxCacheSize) {\n if (maxCacheSize === void 0) { maxCacheSize = 100; }\n var rootNode;\n var cacheSize = 0;\n // tslint:disable-next-line:no-function-expression\n return function memoizedFunction() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var currentNode = rootNode;\n if (rootNode === undefined || (maxCacheSize > 0 && cacheSize > maxCacheSize)) {\n rootNode = _createNode();\n cacheSize = 0;\n }\n currentNode = rootNode;\n // Traverse the tree until we find the match.\n for (var i = 0; i < args.length; i++) {\n var arg = _normalizeArg(args[i]);\n if (!currentNode.map.has(arg)) {\n currentNode.map.set(arg, _createNode());\n }\n currentNode = currentNode.map.get(arg);\n }\n if (!currentNode.hasOwnProperty('value')) {\n currentNode.value = cb.apply(void 0, args);\n cacheSize++;\n }\n return currentNode.value;\n };\n}\nexports.memoizeFunction = memoizeFunction;\nfunction _normalizeArg(val) {\n if (!val) {\n return _emptyObject;\n }\n else if (typeof val === 'object') {\n return val;\n }\n else if (!_dictionary[val]) {\n _dictionary[val] = { val: val };\n }\n return _dictionary[val];\n}\nfunction _createNode() {\n return {\n map: new WeakMap()\n };\n}\n\n"
|
|
},
|
|
{
|
|
"id": 50,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\FocusZone.js",
|
|
"name": "./~/office-ui-fabric-react/lib/FocusZone.js",
|
|
"index": 50,
|
|
"index2": 47,
|
|
"size": 226,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FocusZone",
|
|
"loc": "27:9-31"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "21:18-44"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "30:18-44"
|
|
},
|
|
{
|
|
"moduleId": 175,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "21:18-44"
|
|
},
|
|
{
|
|
"moduleId": 178,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "15:18-44"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "29:18-44"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "32:18-44"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "22:18-44"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "27:18-44"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "26:18-44"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "35:18-44"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "24:18-44"
|
|
},
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "15:18-44"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "29:18-44"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../FocusZone",
|
|
"loc": "22:18-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/FocusZone/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 51,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/FocusZone/index.js",
|
|
"index": 51,
|
|
"index2": 46,
|
|
"size": 249,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\FocusZone.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 50,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\FocusZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/FocusZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/FocusZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/FocusZone/index",
|
|
"loc": "6:9-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./FocusZone\"));\n__export(require(\"./FocusZone.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 52,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\FocusZone.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"index": 52,
|
|
"index2": 45,
|
|
"size": 23468,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 51,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusZone/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusZone/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FocusZone",
|
|
"loc": "6:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar FocusZone_Props_1 = require(\"./FocusZone.Props\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar IS_FOCUSABLE_ATTRIBUTE = 'data-is-focusable';\nvar IS_ENTER_DISABLED_ATTRIBUTE = 'data-disable-click-on-enter';\nvar FOCUSZONE_ID_ATTRIBUTE = 'data-focuszone-id';\nvar TABINDEX = 'tabindex';\nvar _allInstances = {};\nvar ALLOWED_INPUT_TYPES = ['text', 'number', 'password', 'email', 'tel', 'url', 'search'];\nvar FocusZone = (function (_super) {\n __extends(FocusZone, _super);\n function FocusZone(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({ rootProps: null });\n _this._id = Utilities_1.getId('FocusZone');\n _allInstances[_this._id] = _this;\n _this._focusAlignment = {\n left: 0,\n top: 0\n };\n return _this;\n }\n FocusZone.prototype.componentDidMount = function () {\n var windowElement = this.refs.root.ownerDocument.defaultView;\n var parentElement = Utilities_1.getParent(this.refs.root);\n while (parentElement &&\n parentElement !== document.body &&\n parentElement.nodeType === 1) {\n if (Utilities_1.isElementFocusZone(parentElement)) {\n this._isInnerZone = true;\n break;\n }\n parentElement = Utilities_1.getParent(parentElement);\n }\n this._events.on(windowElement, 'keydown', this._onKeyDownCapture, true);\n // Assign initial tab indexes so that we can set initial focus as appropriate.\n this._updateTabIndexes();\n if (this.props.defaultActiveElement) {\n this._activeElement = Utilities_1.getDocument().querySelector(this.props.defaultActiveElement);\n this.focus();\n }\n };\n FocusZone.prototype.componentWillUnmount = function () {\n delete _allInstances[this._id];\n };\n FocusZone.prototype.render = function () {\n var _a = this.props, rootProps = _a.rootProps, ariaDescribedBy = _a.ariaDescribedBy, ariaLabelledBy = _a.ariaLabelledBy, className = _a.className;\n var divProps = Utilities_1.getNativeProps(this.props, Utilities_1.divProperties);\n return (React.createElement(\"div\", __assign({}, divProps, rootProps, { className: Utilities_1.css('ms-FocusZone', className), ref: 'root', \"data-focuszone-id\": this._id, \"aria-labelledby\": ariaLabelledBy, \"aria-describedby\": ariaDescribedBy, onKeyDown: this._onKeyDown, onFocus: this._onFocus }, { onMouseDownCapture: this._onMouseDown }), this.props.children));\n };\n /**\n * Sets focus to the first tabbable item in the zone.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n FocusZone.prototype.focus = function () {\n if (this._activeElement && Utilities_1.elementContains(this.refs.root, this._activeElement)) {\n this._activeElement.focus();\n return true;\n }\n else {\n var firstChild = this.refs.root.firstChild;\n return this.focusElement(Utilities_1.getNextElement(this.refs.root, firstChild, true));\n }\n };\n /**\n * Sets focus to a specific child element within the zone. This can be used in conjunction with\n * onBeforeFocus to created delayed focus scenarios (like animate the scroll position to the correct\n * location and then focus.)\n * @param {HTMLElement} element The child element within the zone to focus.\n * @returns True if focus could be set to an active element, false if no operation was taken.\n */\n FocusZone.prototype.focusElement = function (element) {\n var onBeforeFocus = this.props.onBeforeFocus;\n if (onBeforeFocus && !onBeforeFocus(element)) {\n return false;\n }\n if (element) {\n if (this._activeElement) {\n this._activeElement.tabIndex = -1;\n }\n this._activeElement = element;\n if (element) {\n if (!this._focusAlignment) {\n this._setFocusAlignment(element, true, true);\n }\n this._activeElement.tabIndex = 0;\n element.focus();\n return true;\n }\n }\n return false;\n };\n FocusZone.prototype._onFocus = function (ev) {\n var onActiveElementChanged = this.props.onActiveElementChanged;\n if (this._isImmediateDescendantOfZone(ev.target)) {\n this._activeElement = ev.target;\n this._setFocusAlignment(this._activeElement);\n }\n else {\n var parentElement = ev.target;\n while (parentElement && parentElement !== this.refs.root) {\n if (Utilities_1.isElementTabbable(parentElement) && this._isImmediateDescendantOfZone(parentElement)) {\n this._activeElement = parentElement;\n break;\n }\n parentElement = Utilities_1.getParent(parentElement);\n }\n }\n if (onActiveElementChanged) {\n onActiveElementChanged(this._activeElement, ev);\n }\n };\n /**\n * Handle global tab presses so that we can patch tabindexes on the fly.\n */\n FocusZone.prototype._onKeyDownCapture = function (ev) {\n if (ev.which === Utilities_1.KeyCodes.tab) {\n this._updateTabIndexes();\n }\n };\n FocusZone.prototype._onMouseDown = function (ev) {\n var disabled = this.props.disabled;\n if (disabled) {\n return;\n }\n var target = ev.target;\n var path = [];\n while (target && target !== this.refs.root) {\n path.push(target);\n target = Utilities_1.getParent(target);\n }\n while (path.length) {\n target = path.pop();\n if (Utilities_1.isElementFocusZone(target)) {\n break;\n }\n else if (target && Utilities_1.isElementTabbable(target)) {\n target.tabIndex = 0;\n this._setFocusAlignment(target, true, true);\n }\n }\n };\n /**\n * Handle the keystrokes.\n */\n FocusZone.prototype._onKeyDown = function (ev) {\n var _a = this.props, direction = _a.direction, disabled = _a.disabled, isInnerZoneKeystroke = _a.isInnerZoneKeystroke;\n if (disabled) {\n return;\n }\n if (this.props.onKeyDown) {\n this.props.onKeyDown(ev);\n if (ev.isDefaultPrevented()) {\n return;\n }\n }\n if (isInnerZoneKeystroke &&\n this._isImmediateDescendantOfZone(ev.target) &&\n isInnerZoneKeystroke(ev)) {\n // Try to focus\n var innerZone = this._getFirstInnerZone();\n if (!innerZone || !innerZone.focus()) {\n return;\n }\n }\n else if (ev.altKey) {\n return;\n }\n else {\n switch (ev.which) {\n case Utilities_1.KeyCodes.space:\n if (this._tryInvokeClickForFocusable(ev.target)) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.left:\n if (direction !== FocusZone_Props_1.FocusZoneDirection.vertical && this._moveFocusLeft()) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.right:\n if (direction !== FocusZone_Props_1.FocusZoneDirection.vertical && this._moveFocusRight()) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.up:\n if (direction !== FocusZone_Props_1.FocusZoneDirection.horizontal && this._moveFocusUp()) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.down:\n if (direction !== FocusZone_Props_1.FocusZoneDirection.horizontal && this._moveFocusDown()) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.home:\n var firstChild = this.refs.root.firstChild;\n if (this.focusElement(Utilities_1.getNextElement(this.refs.root, firstChild, true))) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.end:\n var lastChild = this.refs.root.lastChild;\n if (this.focusElement(Utilities_1.getPreviousElement(this.refs.root, lastChild, true, true, true))) {\n break;\n }\n return;\n case Utilities_1.KeyCodes.enter:\n if (this._tryInvokeClickForFocusable(ev.target)) {\n break;\n }\n return;\n default:\n return;\n }\n }\n ev.preventDefault();\n ev.stopPropagation();\n };\n /**\n * Walk up the dom try to find a focusable element.\n */\n FocusZone.prototype._tryInvokeClickForFocusable = function (target) {\n do {\n if (target.tagName === 'BUTTON' || target.tagName === 'A' || target.tagName === 'INPUT') {\n return false;\n }\n if (this._isImmediateDescendantOfZone(target) &&\n target.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true' &&\n target.getAttribute(IS_ENTER_DISABLED_ATTRIBUTE) !== 'true') {\n Utilities_1.EventGroup.raise(target, 'click', null, true);\n return true;\n }\n target = Utilities_1.getParent(target);\n } while (target !== this.refs.root);\n return false;\n };\n /**\n * Traverse to find first child zone.\n */\n FocusZone.prototype._getFirstInnerZone = function (rootElement) {\n rootElement = rootElement || this._activeElement || this.refs.root;\n var child = rootElement.firstElementChild;\n while (child) {\n if (Utilities_1.isElementFocusZone(child)) {\n return _allInstances[child.getAttribute(FOCUSZONE_ID_ATTRIBUTE)];\n }\n var match = this._getFirstInnerZone(child);\n if (match) {\n return match;\n }\n child = child.nextElementSibling;\n }\n return null;\n };\n FocusZone.prototype._moveFocus = function (isForward, getDistanceFromCenter, ev) {\n var element = this._activeElement;\n var candidateDistance = -1;\n var candidateElement;\n var changedFocus = false;\n var isBidirectional = this.props.direction === FocusZone_Props_1.FocusZoneDirection.bidirectional;\n if (!element) {\n return false;\n }\n if (this._isElementInput(element)) {\n if (!this._shouldInputLoseFocus(element, isForward)) {\n return false;\n }\n }\n var activeRect = isBidirectional ? element.getBoundingClientRect() : null;\n do {\n element = isForward ?\n Utilities_1.getNextElement(this.refs.root, element) :\n Utilities_1.getPreviousElement(this.refs.root, element);\n if (isBidirectional) {\n if (element) {\n var targetRect = element.getBoundingClientRect();\n var elementDistance = getDistanceFromCenter(activeRect, targetRect);\n if (elementDistance > -1 && (candidateDistance === -1 || elementDistance < candidateDistance)) {\n candidateDistance = elementDistance;\n candidateElement = element;\n }\n if (candidateDistance >= 0 && elementDistance < 0) {\n break;\n }\n }\n }\n else {\n candidateElement = element;\n break;\n }\n } while (element);\n // Focus the closest candidate\n if (candidateElement && candidateElement !== this._activeElement) {\n changedFocus = true;\n this.focusElement(candidateElement);\n }\n else if (this.props.isCircularNavigation) {\n if (isForward) {\n return this.focusElement(Utilities_1.getNextElement(this.refs.root, this.refs.root.firstElementChild, true));\n }\n else {\n return this.focusElement(Utilities_1.getPreviousElement(this.refs.root, this.refs.root.lastElementChild, true, true, true));\n }\n }\n return changedFocus;\n };\n FocusZone.prototype._moveFocusDown = function () {\n var targetTop = -1;\n var leftAlignment = this._focusAlignment.left;\n if (this._moveFocus(true, function (activeRect, targetRect) {\n var distance = -1;\n // ClientRect values can be floats that differ by very small fractions of a decimal.\n // If the difference between top and bottom are within a pixel then we should treat\n // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent,\n // but without Math.Floor they will be handled incorrectly.\n var targetRectTop = Math.floor(targetRect.top);\n var activeRectBottom = Math.floor(activeRect.bottom);\n if ((targetTop === -1 && targetRectTop >= activeRectBottom) ||\n (targetRectTop === targetTop)) {\n targetTop = targetRectTop;\n if (leftAlignment >= targetRect.left && leftAlignment <= (targetRect.left + targetRect.width)) {\n distance = 0;\n }\n else {\n distance = Math.abs((targetRect.left + (targetRect.width / 2)) - leftAlignment);\n }\n }\n return distance;\n })) {\n this._setFocusAlignment(this._activeElement, false, true);\n return true;\n }\n return false;\n };\n FocusZone.prototype._moveFocusUp = function () {\n var targetTop = -1;\n var leftAlignment = this._focusAlignment.left;\n if (this._moveFocus(false, function (activeRect, targetRect) {\n var distance = -1;\n // ClientRect values can be floats that differ by very small fractions of a decimal.\n // If the difference between top and bottom are within a pixel then we should treat\n // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent,\n // but without Math.Floor they will be handled incorrectly.\n var targetRectBottom = Math.floor(targetRect.bottom);\n var targetRectTop = Math.floor(targetRect.top);\n var activeRectTop = Math.floor(activeRect.top);\n if ((targetTop === -1 && targetRectBottom <= activeRectTop) ||\n (targetRectTop === targetTop)) {\n targetTop = targetRectTop;\n if (leftAlignment >= targetRect.left && leftAlignment <= (targetRect.left + targetRect.width)) {\n distance = 0;\n }\n else {\n distance = Math.abs((targetRect.left + (targetRect.width / 2)) - leftAlignment);\n }\n }\n return distance;\n })) {\n this._setFocusAlignment(this._activeElement, false, true);\n return true;\n }\n return false;\n };\n FocusZone.prototype._moveFocusLeft = function () {\n var _this = this;\n var targetTop = -1;\n var topAlignment = this._focusAlignment.top;\n if (this._moveFocus(Utilities_1.getRTL(), function (activeRect, targetRect) {\n var distance = -1;\n if ((targetTop === -1 &&\n targetRect.right <= activeRect.right &&\n (_this.props.direction === FocusZone_Props_1.FocusZoneDirection.horizontal || targetRect.top === activeRect.top)) ||\n (targetRect.top === targetTop)) {\n targetTop = targetRect.top;\n distance = Math.abs((targetRect.top + (targetRect.height / 2)) - topAlignment);\n }\n return distance;\n })) {\n this._setFocusAlignment(this._activeElement, true, false);\n return true;\n }\n return false;\n };\n FocusZone.prototype._moveFocusRight = function () {\n var _this = this;\n var targetTop = -1;\n var topAlignment = this._focusAlignment.top;\n if (this._moveFocus(!Utilities_1.getRTL(), function (activeRect, targetRect) {\n var distance = -1;\n if ((targetTop === -1 &&\n targetRect.left >= activeRect.left &&\n (_this.props.direction === FocusZone_Props_1.FocusZoneDirection.horizontal || targetRect.top === activeRect.top)) ||\n (targetRect.top === targetTop)) {\n targetTop = targetRect.top;\n distance = Math.abs((targetRect.top + (targetRect.height / 2)) - topAlignment);\n }\n return distance;\n })) {\n this._setFocusAlignment(this._activeElement, true, false);\n return true;\n }\n return false;\n };\n FocusZone.prototype._setFocusAlignment = function (element, isHorizontal, isVertical) {\n if (this.props.direction === FocusZone_Props_1.FocusZoneDirection.bidirectional &&\n (!this._focusAlignment || isHorizontal || isVertical)) {\n var rect = element.getBoundingClientRect();\n var left = rect.left + (rect.width / 2);\n var top_1 = rect.top + (rect.height / 2);\n if (!this._focusAlignment) {\n this._focusAlignment = { left: left, top: top_1 };\n }\n if (isHorizontal) {\n this._focusAlignment.left = left;\n }\n if (isVertical) {\n this._focusAlignment.top = top_1;\n }\n }\n };\n FocusZone.prototype._isImmediateDescendantOfZone = function (element) {\n var parentElement = Utilities_1.getParent(element);\n while (parentElement && parentElement !== this.refs.root && parentElement !== document.body) {\n if (Utilities_1.isElementFocusZone(parentElement)) {\n return false;\n }\n parentElement = Utilities_1.getParent(parentElement);\n }\n return true;\n };\n FocusZone.prototype._updateTabIndexes = function (element) {\n if (!element) {\n element = this.refs.root;\n if (this._activeElement && !Utilities_1.elementContains(element, this._activeElement)) {\n this._activeElement = null;\n }\n }\n var childNodes = element.children;\n for (var childIndex = 0; childNodes && childIndex < childNodes.length; childIndex++) {\n var child = childNodes[childIndex];\n if (!Utilities_1.isElementFocusZone(child)) {\n // If the item is explicitly set to not be focusable then TABINDEX needs to be set to -1.\n if (child.getAttribute && child.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'false') {\n child.setAttribute(TABINDEX, '-1');\n }\n if (Utilities_1.isElementTabbable(child)) {\n if (this.props.disabled) {\n child.setAttribute(TABINDEX, '-1');\n }\n else if (!this._isInnerZone && (!this._activeElement || this._activeElement === child)) {\n this._activeElement = child;\n if (child.getAttribute(TABINDEX) !== '0') {\n child.setAttribute(TABINDEX, '0');\n }\n }\n else if (child.getAttribute(TABINDEX) !== '-1') {\n child.setAttribute(TABINDEX, '-1');\n }\n }\n else if (child.tagName === 'svg' && child.getAttribute('focusable') !== 'false') {\n // Disgusting IE hack. Sad face.\n child.setAttribute('focusable', 'false');\n }\n this._updateTabIndexes(child);\n }\n }\n };\n FocusZone.prototype._isElementInput = function (element) {\n if (element && element.tagName && element.tagName.toLowerCase() === 'input') {\n return true;\n }\n return false;\n };\n FocusZone.prototype._shouldInputLoseFocus = function (element, isForward) {\n if (element &&\n element.type &&\n ALLOWED_INPUT_TYPES.indexOf(element.type.toLowerCase()) > -1) {\n var selectionStart = element.selectionStart;\n var selectionEnd = element.selectionEnd;\n var isRangeSelected = selectionStart !== selectionEnd;\n var inputValue = element.value;\n // We shouldn't lose focus in the following cases:\n // 1. There is range selected.\n // 2. When selection start is larger than 0 and it is backward.\n // 3. when selection start is not the end of lenght and it is forward.\n if (isRangeSelected ||\n (selectionStart > 0 && !isForward) ||\n (selectionStart !== inputValue.length && isForward)) {\n return false;\n }\n }\n return true;\n };\n return FocusZone;\n}(Utilities_1.BaseComponent));\nFocusZone.defaultProps = {\n isCircularNavigation: false,\n direction: FocusZone_Props_1.FocusZoneDirection.bidirectional\n};\n__decorate([\n Utilities_1.autobind\n], FocusZone.prototype, \"_onFocus\", null);\n__decorate([\n Utilities_1.autobind\n], FocusZone.prototype, \"_onMouseDown\", null);\n__decorate([\n Utilities_1.autobind\n], FocusZone.prototype, \"_onKeyDown\", null);\nexports.FocusZone = FocusZone;\n\n"
|
|
},
|
|
{
|
|
"id": 53,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\FocusZone.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.Props.js",
|
|
"index": 53,
|
|
"index2": 44,
|
|
"size": 575,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 51,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusZone/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusZone/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FocusZone.Props",
|
|
"loc": "7:9-37"
|
|
},
|
|
{
|
|
"moduleId": 52,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusZone\\FocusZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusZone/FocusZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FocusZone.Props",
|
|
"loc": "28:24-52"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar FocusZoneDirection;\n(function (FocusZoneDirection) {\n /** Only react to up/down arrows. */\n FocusZoneDirection[FocusZoneDirection[\"vertical\"] = 0] = \"vertical\";\n /** Only react to left/right arrows. */\n FocusZoneDirection[FocusZoneDirection[\"horizontal\"] = 1] = \"horizontal\";\n /** React to all arrows. */\n FocusZoneDirection[FocusZoneDirection[\"bidirectional\"] = 2] = \"bidirectional\";\n})(FocusZoneDirection = exports.FocusZoneDirection || (exports.FocusZoneDirection = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 54,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ContextualMenu.js",
|
|
"name": "./~/office-ui-fabric-react/lib/ContextualMenu.js",
|
|
"index": 54,
|
|
"index2": 143,
|
|
"size": 231,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ContextualMenu",
|
|
"loc": "18:9-36"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../ContextualMenu",
|
|
"loc": "22:23-54"
|
|
},
|
|
{
|
|
"moduleId": 156,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../ContextualMenu",
|
|
"loc": "32:23-54"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../ContextualMenu",
|
|
"loc": "30:23-54"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/ContextualMenu/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 55,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ContextualMenu/index.js",
|
|
"index": 55,
|
|
"index2": 142,
|
|
"size": 259,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ContextualMenu.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 54,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/ContextualMenu/index",
|
|
"loc": "6:9-53"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./ContextualMenu\"));\n__export(require(\"./ContextualMenu.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 56,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"index": 56,
|
|
"index2": 141,
|
|
"size": 21762,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 55,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ContextualMenu",
|
|
"loc": "6:9-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar ContextualMenu_Props_1 = require(\"./ContextualMenu.Props\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Callout_1 = require(\"../../Callout\");\nvar Icon_1 = require(\"../../Icon\");\nvar stylesImport = require(\"./ContextualMenu.scss\");\nvar styles = stylesImport;\nvar ContextualMenuType;\n(function (ContextualMenuType) {\n ContextualMenuType[ContextualMenuType[\"vertical\"] = 0] = \"vertical\";\n ContextualMenuType[ContextualMenuType[\"horizontal\"] = 1] = \"horizontal\";\n})(ContextualMenuType || (ContextualMenuType = {}));\nvar HorizontalAlignmentHint;\n(function (HorizontalAlignmentHint) {\n HorizontalAlignmentHint[HorizontalAlignmentHint[\"auto\"] = 0] = \"auto\";\n HorizontalAlignmentHint[HorizontalAlignmentHint[\"left\"] = 1] = \"left\";\n HorizontalAlignmentHint[HorizontalAlignmentHint[\"center\"] = 2] = \"center\";\n HorizontalAlignmentHint[HorizontalAlignmentHint[\"right\"] = 3] = \"right\";\n})(HorizontalAlignmentHint || (HorizontalAlignmentHint = {}));\nvar VerticalAlignmentHint;\n(function (VerticalAlignmentHint) {\n VerticalAlignmentHint[VerticalAlignmentHint[\"top\"] = 0] = \"top\";\n VerticalAlignmentHint[VerticalAlignmentHint[\"center\"] = 1] = \"center\";\n VerticalAlignmentHint[VerticalAlignmentHint[\"bottom\"] = 2] = \"bottom\";\n})(VerticalAlignmentHint || (VerticalAlignmentHint = {}));\nfunction hasSubmenuItems(item) {\n var submenuItems = getSubmenuItems(item);\n return !!(submenuItems && submenuItems.length);\n}\nexports.hasSubmenuItems = hasSubmenuItems;\nfunction getSubmenuItems(item) {\n return item.subMenuProps ? item.subMenuProps.items : item.items;\n}\nexports.getSubmenuItems = getSubmenuItems;\nvar ContextualMenu = (function (_super) {\n __extends(ContextualMenu, _super);\n function ContextualMenu(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n contextualMenuItems: null,\n subMenuId: Utilities_1.getId('ContextualMenu')\n };\n _this._isFocusingPreviousElement = false;\n _this._enterTimerId = 0;\n return _this;\n }\n ContextualMenu.prototype.dismiss = function (ev, dismissAll) {\n var onDismiss = this.props.onDismiss;\n if (onDismiss) {\n onDismiss(ev, dismissAll);\n }\n };\n ContextualMenu.prototype.componentWillUpdate = function (newProps) {\n if (newProps.targetElement !== this.props.targetElement || newProps.target !== this.props.target) {\n var newTarget = newProps.targetElement ? newProps.targetElement : newProps.target;\n this._setTargetWindowAndElement(newTarget);\n }\n };\n // Invoked once, both on the client and server, immediately before the initial rendering occurs.\n ContextualMenu.prototype.componentWillMount = function () {\n var target = this.props.targetElement ? this.props.targetElement : this.props.target;\n this._setTargetWindowAndElement(target);\n this._previousActiveElement = this._targetWindow ? this._targetWindow.document.activeElement : null;\n };\n // Invoked once, only on the client (not on the server), immediately after the initial rendering occurs.\n ContextualMenu.prototype.componentDidMount = function () {\n this._events.on(this._targetWindow, 'resize', this.dismiss);\n if (this.props.onMenuOpened) {\n this.props.onMenuOpened(this.props);\n }\n };\n // Invoked immediately before a component is unmounted from the DOM.\n ContextualMenu.prototype.componentWillUnmount = function () {\n var _this = this;\n if (this._isFocusingPreviousElement && this._previousActiveElement) {\n // This slight delay is required so that we can unwind the stack, let react try to mess with focus, and then\n // apply the correct focus. Without the setTimeout, we end up focusing the correct thing, and then React wants\n // to reset the focus back to the thing it thinks should have been focused.\n setTimeout(function () { return _this._previousActiveElement.focus(); }, 0);\n }\n this._events.dispose();\n this._async.dispose();\n };\n ContextualMenu.prototype.render = function () {\n var _this = this;\n var _a = this.props, className = _a.className, items = _a.items, isBeakVisible = _a.isBeakVisible, labelElementId = _a.labelElementId, targetElement = _a.targetElement, id = _a.id, targetPoint = _a.targetPoint, useTargetPoint = _a.useTargetPoint, beakWidth = _a.beakWidth, directionalHint = _a.directionalHint, gapSpace = _a.gapSpace, coverTarget = _a.coverTarget, ariaLabel = _a.ariaLabel, doNotLayer = _a.doNotLayer, arrowDirection = _a.arrowDirection, target = _a.target, bounds = _a.bounds, useTargetWidth = _a.useTargetWidth, directionalHintFixed = _a.directionalHintFixed, shouldFocusOnMount = _a.shouldFocusOnMount, calloutProps = _a.calloutProps;\n var hasIcons = !!(items && items.some(function (item) { return !!item.icon || !!item.iconProps; }));\n var hasCheckmarks = !!(items && items.some(function (item) { return !!item.canCheck; }));\n var submenuProps = this.state.expandedMenuItemKey ? this._getSubmenuProps() : null;\n /**\n * When useTargetWidth is true, get the width of the target element and apply it for the context menu container\n */\n var contextMenuStyle;\n var targetAsHtmlElement = this._target;\n if (useTargetWidth && targetAsHtmlElement && targetAsHtmlElement.offsetWidth) {\n var contextMenuWidth = targetAsHtmlElement.offsetWidth;\n contextMenuStyle = {\n width: contextMenuWidth\n };\n }\n // The menu should only return if items were provided, if no items were provided then it should not appear.\n if (items && items.length > 0) {\n return (React.createElement(Callout_1.Callout, __assign({}, calloutProps, { target: target, targetElement: targetElement, targetPoint: targetPoint, useTargetPoint: useTargetPoint, isBeakVisible: isBeakVisible, beakWidth: beakWidth, directionalHint: directionalHint, gapSpace: gapSpace, coverTarget: coverTarget, doNotLayer: doNotLayer, className: 'ms-ContextualMenu-Callout', setInitialFocus: shouldFocusOnMount, onDismiss: this.props.onDismiss, bounds: bounds, directionalHintFixed: directionalHintFixed }),\n React.createElement(\"div\", { style: contextMenuStyle, ref: function (host) { return _this._host = host; }, id: id, className: Utilities_1.css('ms-ContextualMenu-container', className) },\n (items && items.length) ? (React.createElement(FocusZone_1.FocusZone, { className: Utilities_1.css('ms-ContextualMenu is-open', styles.root), direction: arrowDirection, ref: function (focusZone) { return _this._focusZone = focusZone; }, isCircularNavigation: true },\n React.createElement(\"ul\", { role: 'menu', \"aria-label\": ariaLabel, \"aria-labelledby\": labelElementId, className: Utilities_1.css('ms-ContextualMenu-list is-open', styles.list), onKeyDown: this._onKeyDown }, items.map(function (item, index) { return (_this._renderMenuItem(item, index, hasCheckmarks, hasIcons)); })))) : (null),\n submenuProps && React.createElement(ContextualMenu, __assign({}, submenuProps)))));\n }\n else {\n return null;\n }\n };\n ContextualMenu.prototype._renderMenuItem = function (item, index, hasCheckmarks, hasIcons) {\n var renderedItems = [];\n if (item.name === '-') {\n item.itemType = ContextualMenu_Props_1.ContextualMenuItemType.Divider;\n }\n switch (item.itemType) {\n case ContextualMenu_Props_1.ContextualMenuItemType.Divider:\n renderedItems.push(this._renderSeparator(index, item.className));\n break;\n case ContextualMenu_Props_1.ContextualMenuItemType.Header:\n renderedItems.push(this._renderSeparator(index));\n var headerItem = this._renderHeaderMenuItem(item, index, hasCheckmarks, hasIcons);\n renderedItems.push(this._renderListItem(headerItem, item.key || index, item.className, item.title));\n break;\n default:\n var menuItem = this._renderNormalItem(item, index, hasCheckmarks, hasIcons);\n renderedItems.push(this._renderListItem(menuItem, item.key || index, item.className, item.title));\n break;\n }\n return renderedItems;\n };\n ContextualMenu.prototype._renderListItem = function (content, key, className, title) {\n return React.createElement(\"li\", { role: 'presentation', title: title, key: key, className: Utilities_1.css('ms-ContextualMenu-item', styles.item, className) }, content);\n };\n ContextualMenu.prototype._renderSeparator = function (index, className) {\n if (index > 0) {\n return React.createElement(\"li\", { role: 'separator', key: 'separator-' + index, className: Utilities_1.css('ms-ContextualMenu-divider', styles.divider, className) });\n }\n return null;\n };\n ContextualMenu.prototype._renderNormalItem = function (item, index, hasCheckmarks, hasIcons) {\n if (item.onRender) {\n return [item.onRender(item)];\n }\n if (item.href) {\n return this._renderAnchorMenuItem(item, index, hasCheckmarks, hasIcons);\n }\n return this._renderButtonItem(item, index, hasCheckmarks, hasIcons);\n };\n ContextualMenu.prototype._renderHeaderMenuItem = function (item, index, hasCheckmarks, hasIcons) {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-ContextualMenu-header', styles.header), style: item.style }, this._renderMenuItemChildren(item, index, hasCheckmarks, hasIcons)));\n };\n ContextualMenu.prototype._renderAnchorMenuItem = function (item, index, hasCheckmarks, hasIcons) {\n return (React.createElement(\"div\", null,\n React.createElement(\"a\", __assign({}, Utilities_1.getNativeProps(item, Utilities_1.anchorProperties), { href: item.href, className: Utilities_1.css('ms-ContextualMenu-link', styles.link, (item.isDisabled || item.disabled) && 'is-disabled'), role: 'menuitem', style: item.style, onClick: this._onAnchorClick.bind(this, item) }), this._renderMenuItemChildren(item, index, hasCheckmarks, hasIcons))));\n };\n ContextualMenu.prototype._renderButtonItem = function (item, index, hasCheckmarks, hasIcons) {\n var _this = this;\n var _a = this.state, expandedMenuItemKey = _a.expandedMenuItemKey, subMenuId = _a.subMenuId;\n var ariaLabel = '';\n if (item.ariaLabel) {\n ariaLabel = item.ariaLabel;\n }\n else if (item.name) {\n ariaLabel = item.name;\n }\n var itemButtonProperties = {\n className: Utilities_1.css('ms-ContextualMenu-link', styles.link, (_b = {},\n _b['is-expanded ' + styles.isExpanded] = (expandedMenuItemKey === item.key),\n _b)),\n onClick: this._onItemClick.bind(this, item),\n onKeyDown: hasSubmenuItems(item) ? this._onItemKeyDown.bind(this, item) : null,\n onMouseEnter: this._onItemMouseEnter.bind(this, item),\n onMouseLeave: this._onMouseLeave,\n onMouseDown: function (ev) { return _this._onItemMouseDown(item, ev); },\n disabled: item.isDisabled || item.disabled,\n href: item.href,\n title: item.title,\n 'aria-label': ariaLabel,\n 'aria-haspopup': hasSubmenuItems(item) ? true : null,\n 'aria-owns': item.key === expandedMenuItemKey ? subMenuId : null,\n role: 'menuitem',\n style: item.style,\n };\n return React.createElement('button', Utilities_1.assign({}, Utilities_1.getNativeProps(item, Utilities_1.buttonProperties), itemButtonProperties), this._renderMenuItemChildren(item, index, hasCheckmarks, hasIcons));\n var _b;\n };\n ContextualMenu.prototype._renderMenuItemChildren = function (item, index, hasCheckmarks, hasIcons) {\n var isItemChecked = item.isChecked || item.checked;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-ContextualMenu-linkContent', styles.linkContent) },\n (hasCheckmarks) ? (React.createElement(Icon_1.Icon, { iconName: isItemChecked ? 'CheckMark' : 'CustomIcon', className: Utilities_1.css('ms-ContextualMenu-icon', styles.icon), onClick: this._onItemClick.bind(this, item) })) : (null),\n (hasIcons) ? (this._renderIcon(item)) : (null),\n React.createElement(\"span\", { className: Utilities_1.css('ms-ContextualMenu-itemText', styles.itemText) }, item.name),\n hasSubmenuItems(item) ? (React.createElement(Icon_1.Icon, __assign({ iconName: Utilities_1.getRTL() ? 'ChevronLeft' : 'ChevronRight' }, item.submenuIconProps, { className: Utilities_1.css('ms-ContextualMenu-submenuIcon', styles.submenuIcon, item.submenuIconProps ? item.submenuIconProps.className : '') }))) : (null)));\n };\n ContextualMenu.prototype._renderIcon = function (item) {\n // Only present to allow continued use of item.icon which is deprecated.\n var iconProps = item.iconProps ? item.iconProps : {\n iconName: item.icon\n };\n // Use the default icon color for the known icon names\n var iconColorClassName = iconProps.iconName === 'None' ? '' : ('ms-ContextualMenu-iconColor ' + styles.iconColor);\n var iconClassName = Utilities_1.css('ms-ContextualMenu-icon', styles.icon, iconColorClassName, iconProps.className);\n return React.createElement(Icon_1.Icon, __assign({}, iconProps, { className: iconClassName }));\n };\n ContextualMenu.prototype._onKeyDown = function (ev) {\n var submenuCloseKey = Utilities_1.getRTL() ? Utilities_1.KeyCodes.right : Utilities_1.KeyCodes.left;\n if (ev.which === Utilities_1.KeyCodes.escape\n || ev.which === Utilities_1.KeyCodes.tab\n || (ev.which === submenuCloseKey && this.props.isSubMenu && this.props.arrowDirection === FocusZone_1.FocusZoneDirection.vertical)) {\n // When a user presses escape, we will try to refocus the previous focused element.\n this._isFocusingPreviousElement = true;\n ev.preventDefault();\n ev.stopPropagation();\n this.dismiss(ev);\n }\n };\n ContextualMenu.prototype._onItemMouseEnter = function (item, ev) {\n var _this = this;\n var targetElement = ev.currentTarget;\n if (item.key !== this.state.expandedMenuItemKey) {\n if (hasSubmenuItems(item)) {\n this._enterTimerId = this._async.setTimeout(function () { return _this._onItemSubMenuExpand(item, targetElement); }, 500);\n }\n else {\n this._enterTimerId = this._async.setTimeout(function () { return _this._onSubMenuDismiss(ev); }, 500);\n }\n }\n };\n ContextualMenu.prototype._onMouseLeave = function (ev) {\n this._async.clearTimeout(this._enterTimerId);\n };\n ContextualMenu.prototype._onItemMouseDown = function (item, ev) {\n if (item.onMouseDown) {\n item.onMouseDown(item, ev);\n }\n };\n ContextualMenu.prototype._onItemClick = function (item, ev) {\n var items = getSubmenuItems(item);\n if (!items || !items.length) {\n this._executeItemClick(item, ev);\n }\n else {\n if (item.key === this.state.expandedMenuItemKey) {\n this._onSubMenuDismiss(ev);\n }\n else {\n this._onItemSubMenuExpand(item, ev.currentTarget);\n }\n }\n ev.stopPropagation();\n ev.preventDefault();\n };\n ContextualMenu.prototype._onAnchorClick = function (item, ev) {\n this._executeItemClick(item, ev);\n ev.stopPropagation();\n };\n ContextualMenu.prototype._executeItemClick = function (item, ev) {\n if (item.onClick) {\n item.onClick(ev, item);\n }\n else if (this.props.onItemClick) {\n this.props.onItemClick(ev, item);\n }\n this.dismiss(ev, true);\n };\n ContextualMenu.prototype._onItemKeyDown = function (item, ev) {\n var openKey = Utilities_1.getRTL() ? Utilities_1.KeyCodes.left : Utilities_1.KeyCodes.right;\n if (ev.which === openKey) {\n this._onItemSubMenuExpand(item, ev.currentTarget);\n ev.preventDefault();\n }\n };\n ContextualMenu.prototype._onItemSubMenuExpand = function (item, target) {\n if (this.state.expandedMenuItemKey !== item.key) {\n if (this.state.expandedMenuItemKey) {\n this._onSubMenuDismiss();\n }\n this.setState({\n expandedMenuItemKey: item.key,\n submenuTarget: target\n });\n }\n };\n ContextualMenu.prototype._getSubmenuProps = function () {\n var _a = this.state, submenuTarget = _a.submenuTarget, expandedMenuItemKey = _a.expandedMenuItemKey;\n var item = this._findItemByKey(expandedMenuItemKey);\n var submenuProps = null;\n if (item) {\n submenuProps = {\n items: getSubmenuItems(item),\n target: submenuTarget,\n onDismiss: this._onSubMenuDismiss,\n isSubMenu: true,\n id: this.state.subMenuId,\n shouldFocusOnMount: true,\n directionalHint: Utilities_1.getRTL() ? DirectionalHint_1.DirectionalHint.leftTopEdge : DirectionalHint_1.DirectionalHint.rightTopEdge,\n className: this.props.className,\n gapSpace: 0\n };\n if (item.subMenuProps) {\n Utilities_1.assign(submenuProps, item.subMenuProps);\n }\n }\n return submenuProps;\n };\n ContextualMenu.prototype._findItemByKey = function (key) {\n var items = this.props.items;\n for (var _i = 0, items_1 = items; _i < items_1.length; _i++) {\n var item = items_1[_i];\n if (item.key && item.key === key) {\n return item;\n }\n }\n };\n ContextualMenu.prototype._onSubMenuDismiss = function (ev, dismissAll) {\n if (dismissAll) {\n this.dismiss(ev, dismissAll);\n }\n else {\n this.setState({\n dismissedMenuItemKey: this.state.expandedMenuItemKey,\n expandedMenuItemKey: null,\n submenuTarget: null\n });\n }\n };\n ContextualMenu.prototype._setTargetWindowAndElement = function (target) {\n if (target) {\n if (typeof target === 'string') {\n var currentDoc = Utilities_1.getDocument();\n this._target = currentDoc ? currentDoc.querySelector(target) : null;\n this._targetWindow = Utilities_1.getWindow();\n }\n else if (target.stopPropagation) {\n this._target = target;\n this._targetWindow = Utilities_1.getWindow(target.toElement);\n }\n else {\n var targetElement = target;\n this._target = target;\n this._targetWindow = Utilities_1.getWindow(targetElement);\n }\n }\n else {\n this._targetWindow = Utilities_1.getWindow();\n }\n };\n return ContextualMenu;\n}(Utilities_1.BaseComponent));\n// The default ContextualMenu properities have no items and beak, the default submenu direction is right and top.\nContextualMenu.defaultProps = {\n items: [],\n shouldFocusOnMount: true,\n isBeakVisible: false,\n gapSpace: 0,\n directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge,\n beakWidth: 16,\n arrowDirection: FocusZone_1.FocusZoneDirection.vertical,\n};\n__decorate([\n Utilities_1.autobind\n], ContextualMenu.prototype, \"dismiss\", null);\n__decorate([\n Utilities_1.autobind\n], ContextualMenu.prototype, \"_onKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], ContextualMenu.prototype, \"_onMouseLeave\", null);\n__decorate([\n Utilities_1.autobind\n], ContextualMenu.prototype, \"_onSubMenuDismiss\", null);\nexports.ContextualMenu = ContextualMenu;\n\n"
|
|
},
|
|
{
|
|
"id": 57,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.Props.js",
|
|
"index": 57,
|
|
"index2": 49,
|
|
"size": 604,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 55,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ContextualMenu.Props",
|
|
"loc": "7:9-42"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ContextualMenu.Props",
|
|
"loc": "28:29-62"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nexports.DirectionalHint = DirectionalHint_1.DirectionalHint;\nvar ContextualMenuItemType;\n(function (ContextualMenuItemType) {\n ContextualMenuItemType[ContextualMenuItemType[\"Normal\"] = 0] = \"Normal\";\n ContextualMenuItemType[ContextualMenuItemType[\"Divider\"] = 1] = \"Divider\";\n ContextualMenuItemType[ContextualMenuItemType[\"Header\"] = 2] = \"Header\";\n})(ContextualMenuItemType = exports.ContextualMenuItemType || (exports.ContextualMenuItemType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 58,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\common\\DirectionalHint.js",
|
|
"name": "./~/office-ui-fabric-react/lib/common/DirectionalHint.js",
|
|
"index": 58,
|
|
"index2": 48,
|
|
"size": 2963,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "26:24-63"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "29:24-63"
|
|
},
|
|
{
|
|
"moduleId": 57,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.Props.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.Props.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.Props.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "3:24-63"
|
|
},
|
|
{
|
|
"moduleId": 60,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "7:9-48"
|
|
},
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "21:24-63"
|
|
},
|
|
{
|
|
"moduleId": 63,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\positioning.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/positioning.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/positioning.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../common/DirectionalHint",
|
|
"loc": "3:24-60"
|
|
},
|
|
{
|
|
"moduleId": 156,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "31:24-63"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "31:24-63"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "22:24-63"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "29:24-63"
|
|
},
|
|
{
|
|
"moduleId": 359,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "27:24-63"
|
|
},
|
|
{
|
|
"moduleId": 367,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "10:9-48"
|
|
},
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../common/DirectionalHint",
|
|
"loc": "27:24-63"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DirectionalHint;\n(function (DirectionalHint) {\n /**\n * Appear above the target element, with the left edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"topLeftEdge\"] = 0] = \"topLeftEdge\";\n /**\n * Appear above the target element, with the centers of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"topCenter\"] = 1] = \"topCenter\";\n /**\n * Appear above the target element, with the right edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"topRightEdge\"] = 2] = \"topRightEdge\";\n /**\n * Appear above the target element, aligning with the target element such that the callout tends toward the center of the screen.\n */\n DirectionalHint[DirectionalHint[\"topAutoEdge\"] = 3] = \"topAutoEdge\";\n /**\n * Appear below the target element, with the left edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"bottomLeftEdge\"] = 4] = \"bottomLeftEdge\";\n /**\n * Appear below the target element, with the centers of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"bottomCenter\"] = 5] = \"bottomCenter\";\n /**\n * Appear below the target element, with the right edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"bottomRightEdge\"] = 6] = \"bottomRightEdge\";\n /**\n * Appear below the target element, aligning with the target element such that the callout tends toward the center of the screen.\n */\n DirectionalHint[DirectionalHint[\"bottomAutoEdge\"] = 7] = \"bottomAutoEdge\";\n /**\n * Appear to the left of the target element, with the top edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"leftTopEdge\"] = 8] = \"leftTopEdge\";\n /**\n * Appear to the left of the target element, with the centers of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"leftCenter\"] = 9] = \"leftCenter\";\n /**\n * Appear to the left of the target element, with the bottom edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"leftBottomEdge\"] = 10] = \"leftBottomEdge\";\n /**\n * Appear to the right of the target element, with the top edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"rightTopEdge\"] = 11] = \"rightTopEdge\";\n /**\n * Appear to the right of the target element, with the centers of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"rightCenter\"] = 12] = \"rightCenter\";\n /**\n * Appear to the right of the target element, with the bottom edges of the callout and target aligning.\n */\n DirectionalHint[DirectionalHint[\"rightBottomEdge\"] = 13] = \"rightBottomEdge\";\n})(DirectionalHint = exports.DirectionalHint || (exports.DirectionalHint = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 59,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Callout.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Callout.js",
|
|
"index": 59,
|
|
"index2": 131,
|
|
"size": 224,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Callout",
|
|
"loc": "13:9-29"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Callout",
|
|
"loc": "32:16-40"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Callout",
|
|
"loc": "21:16-40"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Callout",
|
|
"loc": "30:16-40"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Callout",
|
|
"loc": "30:16-40"
|
|
},
|
|
{
|
|
"moduleId": 359,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Callout",
|
|
"loc": "26:16-40"
|
|
},
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Callout",
|
|
"loc": "26:16-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Callout/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 60,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Callout/index.js",
|
|
"index": 60,
|
|
"index2": 130,
|
|
"size": 258,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Callout.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 59,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Callout.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Callout.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Callout.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Callout/index",
|
|
"loc": "6:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Callout\"));\n__export(require(\"../../common/DirectionalHint\"));\n\n"
|
|
},
|
|
{
|
|
"id": 61,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"index": 61,
|
|
"index2": 129,
|
|
"size": 1583,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 60,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Callout",
|
|
"loc": "6:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar CalloutContent_1 = require(\"./CalloutContent\");\nvar Layer_1 = require(\"../../Layer\");\nvar Callout = (function (_super) {\n __extends(Callout, _super);\n function Callout(props) {\n return _super.call(this, props) || this;\n }\n Callout.prototype.render = function () {\n var content = (React.createElement(CalloutContent_1.CalloutContent, __assign({}, this.props)));\n return this.props.doNotLayer ? content : (React.createElement(Layer_1.Layer, null, content));\n };\n return Callout;\n}(Utilities_1.BaseComponent));\nexports.Callout = Callout;\n\n"
|
|
},
|
|
{
|
|
"id": 62,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"index": 62,
|
|
"index2": 119,
|
|
"size": 13461,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 61,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CalloutContent",
|
|
"loc": "25:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar positioning_1 = require(\"../../utilities/positioning\");\nvar Popup_1 = require(\"../../Popup\");\nvar stylesImport = require(\"./Callout.scss\");\nvar Styling_1 = require(\"../../Styling\");\nvar styles = stylesImport;\nvar BEAK_ORIGIN_POSITION = { top: 0, left: 0 };\nvar OFF_SCREEN_STYLE = { opacity: 0 };\nvar BORDER_WIDTH = 1;\nvar CalloutContent = (function (_super) {\n __extends(CalloutContent, _super);\n function CalloutContent(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({ 'beakStyle': 'beakWidth' });\n _this._didSetInitialFocus = false;\n _this.state = {\n positions: null,\n slideDirectionalClassName: null,\n calloutElementRect: null\n };\n _this._positionAttempts = 0;\n return _this;\n }\n CalloutContent.prototype.componentDidUpdate = function () {\n this._setInitialFocus();\n this._updatePosition();\n };\n CalloutContent.prototype.componentWillMount = function () {\n var target = this.props.targetElement ? this.props.targetElement : this.props.target;\n this._setTargetWindowAndElement(target);\n };\n CalloutContent.prototype.componentWillUpdate = function (newProps) {\n if (newProps.targetElement !== this.props.targetElement || newProps.target !== this.props.target) {\n var newTarget = newProps.targetElement ? newProps.targetElement : newProps.target;\n this._maxHeight = undefined;\n this._setTargetWindowAndElement(newTarget);\n }\n if (newProps.gapSpace !== this.props.gapSpace || this.props.beakWidth !== newProps.beakWidth) {\n this._maxHeight = undefined;\n }\n };\n CalloutContent.prototype.componentDidMount = function () {\n this._onComponentDidMount();\n };\n CalloutContent.prototype.render = function () {\n // If there is no target window then we are likely in server side rendering and we should not render anything.\n if (!this._targetWindow) {\n return null;\n }\n var _a = this.props, role = _a.role, ariaLabel = _a.ariaLabel, ariaDescribedBy = _a.ariaDescribedBy, ariaLabelledBy = _a.ariaLabelledBy, className = _a.className, target = _a.target, targetElement = _a.targetElement, isBeakVisible = _a.isBeakVisible, beakStyle = _a.beakStyle, children = _a.children, beakWidth = _a.beakWidth, backgroundColor = _a.backgroundColor;\n var positions = this.state.positions;\n var beakStyleWidth = beakWidth;\n // This is here to support the old way of setting the beak size until version 1.0.0.\n // beakStyle is now deprecated and will be be removed at version 1.0.0\n if (beakStyle === 'ms-Callout-smallbeak') {\n beakStyleWidth = 16;\n }\n var beakReactStyle = {\n top: positions && positions.beakPosition ? positions.beakPosition.top : BEAK_ORIGIN_POSITION.top,\n left: positions && positions.beakPosition ? positions.beakPosition.left : BEAK_ORIGIN_POSITION.left,\n height: beakStyleWidth,\n width: beakStyleWidth,\n backgroundColor: backgroundColor,\n };\n var directionalClassName = (positions && positions.directionalClassName)\n ? Styling_1.AnimationClassNames[positions.directionalClassName]\n : '';\n var contentMaxHeight = this._getMaxHeight();\n var beakVisible = isBeakVisible && (!!targetElement || !!target);\n var content = (React.createElement(\"div\", { ref: this._resolveRef('_hostElement'), className: Utilities_1.css('ms-Callout-container', styles.container) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Callout', styles.root, className, directionalClassName), style: positions ? positions.calloutPosition : OFF_SCREEN_STYLE, ref: this._resolveRef('_calloutElement') },\n beakVisible && (React.createElement(\"div\", { className: Utilities_1.css('ms-Callout-beak', styles.beak), style: beakReactStyle })),\n beakVisible &&\n (React.createElement(\"div\", { className: Utilities_1.css('ms-Callout-beakCurtain', styles.beakCurtain) })),\n React.createElement(Popup_1.Popup, { role: role, ariaLabel: ariaLabel, ariaDescribedBy: ariaDescribedBy, ariaLabelledBy: ariaLabelledBy, className: Utilities_1.css('ms-Callout-main', styles.main), onDismiss: this.dismiss, shouldRestoreFocus: true, style: { maxHeight: contentMaxHeight, backgroundColor: backgroundColor } }, children))));\n return content;\n };\n CalloutContent.prototype.dismiss = function (ev) {\n var onDismiss = this.props.onDismiss;\n if (onDismiss) {\n onDismiss(ev);\n }\n };\n CalloutContent.prototype._dismissOnScroll = function (ev) {\n var preventDismissOnScroll = this.props.preventDismissOnScroll;\n if (this.state.positions && !preventDismissOnScroll) {\n this._dismissOnLostFocus(ev);\n }\n };\n CalloutContent.prototype._dismissOnLostFocus = function (ev) {\n var target = ev.target;\n var clickedOutsideCallout = this._hostElement && !Utilities_1.elementContains(this._hostElement, target);\n if ((!this._target && clickedOutsideCallout) ||\n ev.target !== this._targetWindow &&\n clickedOutsideCallout &&\n (this._target.stopPropagation ||\n (!this._target || (target !== this._target && !Utilities_1.elementContains(this._target, target))))) {\n this.dismiss(ev);\n }\n };\n CalloutContent.prototype._setInitialFocus = function () {\n if (this.props.setInitialFocus && !this._didSetInitialFocus && this.state.positions) {\n this._didSetInitialFocus = true;\n Utilities_1.focusFirstChild(this._calloutElement);\n }\n };\n CalloutContent.prototype._onComponentDidMount = function () {\n var _this = this;\n // This is added so the callout will dismiss when the window is scrolled\n // but not when something inside the callout is scrolled. The delay seems\n // to be required to avoid React firing an async focus event in IE from\n // the target changing focus quickly prior to rendering the callout.\n this._async.setTimeout(function () {\n _this._events.on(_this._targetWindow, 'scroll', _this._dismissOnScroll, true);\n _this._events.on(_this._targetWindow, 'resize', _this.dismiss, true);\n _this._events.on(_this._targetWindow, 'focus', _this._dismissOnLostFocus, true);\n _this._events.on(_this._targetWindow, 'click', _this._dismissOnLostFocus, true);\n }, 0);\n if (this.props.onLayerMounted) {\n this.props.onLayerMounted();\n }\n this._updatePosition();\n };\n CalloutContent.prototype._updatePosition = function () {\n var positions = this.state.positions;\n var hostElement = this._hostElement;\n var calloutElement = this._calloutElement;\n if (hostElement && calloutElement) {\n var currentProps = void 0;\n currentProps = Utilities_1.assign(currentProps, this.props);\n currentProps.bounds = this._getBounds();\n // Temporary to be removed when targetElement is removed. Currently deprecated.\n if (this.props.targetElement) {\n currentProps.targetElement = this._target;\n }\n else {\n currentProps.target = this._target;\n }\n var newPositions = positioning_1.getRelativePositions(currentProps, hostElement, calloutElement);\n // Set the new position only when the positions are not exists or one of the new callout positions are different.\n // The position should not change if the position is within 2 decimal places.\n if ((!positions && newPositions) ||\n (positions && newPositions && !this._arePositionsEqual(positions, newPositions)\n && this._positionAttempts < 5)) {\n // We should not reposition the callout more than a few times, if it is then the content is likely resizing\n // and we should stop trying to reposition to prevent a stack overflow.\n this._positionAttempts++;\n this.setState({\n positions: newPositions\n });\n }\n else {\n this._positionAttempts = 0;\n if (this.props.onPositioned) {\n this.props.onPositioned();\n }\n }\n }\n };\n CalloutContent.prototype._getBounds = function () {\n if (!this._bounds) {\n var currentBounds = this.props.bounds;\n if (!currentBounds) {\n currentBounds = {\n top: 0 + this.props.minPagePadding,\n left: 0 + this.props.minPagePadding,\n right: this._targetWindow.innerWidth - this.props.minPagePadding,\n bottom: this._targetWindow.innerHeight - this.props.minPagePadding,\n width: this._targetWindow.innerWidth - this.props.minPagePadding * 2,\n height: this._targetWindow.innerHeight - this.props.minPagePadding * 2\n };\n }\n this._bounds = currentBounds;\n }\n return this._bounds;\n };\n CalloutContent.prototype._getMaxHeight = function () {\n if (!this._maxHeight) {\n if (this.props.directionalHintFixed && this._target) {\n var beakWidth = this.props.isBeakVisible ? this.props.beakWidth : 0;\n var gapSpace = this.props.gapSpace ? this.props.gapSpace : 0;\n this._maxHeight = positioning_1.getMaxHeight(this._target, this.props.directionalHint, beakWidth + gapSpace, this._getBounds());\n }\n else {\n this._maxHeight = this._getBounds().height - BORDER_WIDTH * 2;\n }\n }\n return this._maxHeight;\n };\n CalloutContent.prototype._arePositionsEqual = function (positions, newPosition) {\n if (positions.calloutPosition.top.toFixed(2) !== newPosition.calloutPosition.top.toFixed(2)) {\n return false;\n }\n if (positions.calloutPosition.left.toFixed(2) !== newPosition.calloutPosition.left.toFixed(2)) {\n return false;\n }\n if (positions.beakPosition.top.toFixed(2) !== newPosition.beakPosition.top.toFixed(2)) {\n return false;\n }\n if (positions.beakPosition.top.toFixed(2) !== newPosition.beakPosition.top.toFixed(2)) {\n return false;\n }\n return true;\n };\n CalloutContent.prototype._setTargetWindowAndElement = function (target) {\n if (target) {\n if (typeof target === 'string') {\n var currentDoc = Utilities_1.getDocument();\n this._target = currentDoc ? currentDoc.querySelector(target) : null;\n this._targetWindow = Utilities_1.getWindow();\n }\n else if (target.stopPropagation) {\n this._target = target;\n this._targetWindow = Utilities_1.getWindow(target.toElement);\n }\n else {\n var targetElement = target;\n this._target = target;\n this._targetWindow = Utilities_1.getWindow(targetElement);\n }\n }\n else {\n this._targetWindow = Utilities_1.getWindow();\n }\n };\n return CalloutContent;\n}(Utilities_1.BaseComponent));\nCalloutContent.defaultProps = {\n preventDismissOnScroll: false,\n isBeakVisible: true,\n beakWidth: 16,\n gapSpace: 0,\n minPagePadding: 8,\n directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge\n};\n__decorate([\n Utilities_1.autobind\n], CalloutContent.prototype, \"dismiss\", null);\n__decorate([\n Utilities_1.autobind\n], CalloutContent.prototype, \"_setInitialFocus\", null);\n__decorate([\n Utilities_1.autobind\n], CalloutContent.prototype, \"_onComponentDidMount\", null);\nexports.CalloutContent = CalloutContent;\n\n"
|
|
},
|
|
{
|
|
"id": 63,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\positioning.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/positioning.js",
|
|
"index": 63,
|
|
"index2": 50,
|
|
"size": 30548,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/positioning",
|
|
"loc": "23:20-58"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DirectionalHint_1 = require(\"../common/DirectionalHint\");\nvar Utilities_1 = require(\"../Utilities\");\nvar RectangleEdge;\n(function (RectangleEdge) {\n RectangleEdge[RectangleEdge[\"top\"] = 0] = \"top\";\n RectangleEdge[RectangleEdge[\"bottom\"] = 1] = \"bottom\";\n RectangleEdge[RectangleEdge[\"left\"] = 2] = \"left\";\n RectangleEdge[RectangleEdge[\"right\"] = 3] = \"right\";\n})(RectangleEdge = exports.RectangleEdge || (exports.RectangleEdge = {}));\nvar SLIDE_ANIMATIONS = (_a = {},\n _a[RectangleEdge.top] = 'slideUpIn20',\n _a[RectangleEdge.bottom] = 'slideDownIn20',\n _a[RectangleEdge.left] = 'slideLeftIn20',\n _a[RectangleEdge.right] = 'slideRightIn20',\n _a);\nvar PositionData = (function () {\n function PositionData(calloutDirection, targetDirection, calloutPercent, targetPercent, beakPercent, isAuto) {\n this.calloutDirection = calloutDirection;\n this.targetDirection = targetDirection;\n this.calloutPercent = calloutPercent;\n this.targetPercent = targetPercent;\n this.beakPercent = beakPercent;\n this.isAuto = isAuto;\n }\n return PositionData;\n}());\nexports.PositionData = PositionData;\n// Currently the beakPercent is set to 50 for all positions meaning that it should tend to the center of the target\nvar DirectionalDictionary = (_b = {},\n _b[DirectionalHint_1.DirectionalHint.topLeftEdge] = new PositionData(RectangleEdge.bottom, RectangleEdge.top, 0, 0, 50, false),\n _b[DirectionalHint_1.DirectionalHint.topCenter] = new PositionData(RectangleEdge.bottom, RectangleEdge.top, 50, 50, 50, false),\n _b[DirectionalHint_1.DirectionalHint.topRightEdge] = new PositionData(RectangleEdge.bottom, RectangleEdge.top, 100, 100, 50, false),\n _b[DirectionalHint_1.DirectionalHint.topAutoEdge] = new PositionData(RectangleEdge.bottom, RectangleEdge.top, 0, 0, 50, true),\n _b[DirectionalHint_1.DirectionalHint.bottomLeftEdge] = new PositionData(RectangleEdge.top, RectangleEdge.bottom, 0, 0, 50, false),\n _b[DirectionalHint_1.DirectionalHint.bottomCenter] = new PositionData(RectangleEdge.top, RectangleEdge.bottom, 50, 50, 50, false),\n _b[DirectionalHint_1.DirectionalHint.bottomRightEdge] = new PositionData(RectangleEdge.top, RectangleEdge.bottom, 100, 100, 50, false),\n _b[DirectionalHint_1.DirectionalHint.bottomAutoEdge] = new PositionData(RectangleEdge.top, RectangleEdge.bottom, 0, 0, 50, true),\n _b[DirectionalHint_1.DirectionalHint.leftTopEdge] = new PositionData(RectangleEdge.right, RectangleEdge.left, 0, 0, 50, false),\n _b[DirectionalHint_1.DirectionalHint.leftCenter] = new PositionData(RectangleEdge.right, RectangleEdge.left, 50, 50, 50, false),\n _b[DirectionalHint_1.DirectionalHint.leftBottomEdge] = new PositionData(RectangleEdge.right, RectangleEdge.left, 100, 100, 50, false),\n _b[DirectionalHint_1.DirectionalHint.rightTopEdge] = new PositionData(RectangleEdge.left, RectangleEdge.right, 0, 0, 50, false),\n _b[DirectionalHint_1.DirectionalHint.rightCenter] = new PositionData(RectangleEdge.left, RectangleEdge.right, 50, 50, 50, false),\n _b[DirectionalHint_1.DirectionalHint.rightBottomEdge] = new PositionData(RectangleEdge.left, RectangleEdge.right, 100, 100, 50, false),\n _b);\nvar CoverDictionary = (_c = {},\n _c[DirectionalHint_1.DirectionalHint.topLeftEdge] = new PositionData(RectangleEdge.top, RectangleEdge.top, 0, 0, 50, false),\n _c[DirectionalHint_1.DirectionalHint.topCenter] = new PositionData(RectangleEdge.top, RectangleEdge.top, 50, 50, 50, false),\n _c[DirectionalHint_1.DirectionalHint.topRightEdge] = new PositionData(RectangleEdge.top, RectangleEdge.top, 100, 100, 50, false),\n _c[DirectionalHint_1.DirectionalHint.topAutoEdge] = new PositionData(RectangleEdge.top, RectangleEdge.top, 0, 0, 50, true),\n _c[DirectionalHint_1.DirectionalHint.bottomLeftEdge] = new PositionData(RectangleEdge.bottom, RectangleEdge.bottom, 0, 0, 50, false),\n _c[DirectionalHint_1.DirectionalHint.bottomCenter] = new PositionData(RectangleEdge.bottom, RectangleEdge.bottom, 50, 50, 50, false),\n _c[DirectionalHint_1.DirectionalHint.bottomRightEdge] = new PositionData(RectangleEdge.bottom, RectangleEdge.bottom, 100, 100, 50, false),\n _c[DirectionalHint_1.DirectionalHint.bottomAutoEdge] = new PositionData(RectangleEdge.bottom, RectangleEdge.bottom, 0, 0, 50, true),\n _c[DirectionalHint_1.DirectionalHint.leftTopEdge] = new PositionData(RectangleEdge.left, RectangleEdge.left, 0, 0, 50, false),\n _c[DirectionalHint_1.DirectionalHint.leftCenter] = new PositionData(RectangleEdge.left, RectangleEdge.left, 50, 50, 50, false),\n _c[DirectionalHint_1.DirectionalHint.leftBottomEdge] = new PositionData(RectangleEdge.left, RectangleEdge.left, 100, 100, 50, false),\n _c[DirectionalHint_1.DirectionalHint.rightTopEdge] = new PositionData(RectangleEdge.right, RectangleEdge.right, 0, 0, 50, false),\n _c[DirectionalHint_1.DirectionalHint.rightCenter] = new PositionData(RectangleEdge.right, RectangleEdge.right, 50, 50, 50, false),\n _c[DirectionalHint_1.DirectionalHint.rightBottomEdge] = new PositionData(RectangleEdge.right, RectangleEdge.right, 100, 100, 50, false),\n _c);\nvar OppositeEdgeDictionary = (_d = {},\n _d[RectangleEdge.top] = RectangleEdge.bottom,\n _d[RectangleEdge.bottom] = RectangleEdge.top,\n _d[RectangleEdge.right] = RectangleEdge.left,\n _d[RectangleEdge.left] = RectangleEdge.right,\n _d);\nfunction getRelativePositions(props, hostElement, calloutElement) {\n var beakWidth = !props.isBeakVisible ? 0 : props.beakWidth;\n var borderWidth = positioningFunctions._getBorderSize(calloutElement);\n var gap = positioningFunctions._calculateActualBeakWidthInPixels(beakWidth) / 2 + (props.gapSpace ? props.gapSpace : 0);\n var boundingRect = props.bounds ?\n positioningFunctions._getRectangleFromIRect(props.bounds) :\n new Utilities_1.Rectangle(0, window.innerWidth - Utilities_1.getScrollbarWidth(), 0, window.innerHeight);\n var targetRect = props.target ? positioningFunctions._getTargetRect(boundingRect, props.target) : positioningFunctions._getTargetRectDEPRECATED(boundingRect, props.targetElement, props.creationEvent, props.targetPoint, props.useTargetPoint);\n var positionData = positioningFunctions._getPositionData(props.directionalHint, targetRect, boundingRect, props.coverTarget);\n var positionedCallout = positioningFunctions._positionCalloutWithinBounds(positioningFunctions._getRectangleFromHTMLElement(calloutElement), targetRect, boundingRect, positionData, gap, props.coverTarget, props.directionalHintFixed);\n var beakPositioned = positioningFunctions._positionBeak(beakWidth, positionedCallout, targetRect, borderWidth);\n var finalizedCallout = positioningFunctions._finalizeCalloutPosition(positionedCallout.calloutRectangle, hostElement);\n return {\n calloutPosition: { top: finalizedCallout.top, left: finalizedCallout.left },\n beakPosition: { top: beakPositioned.top, left: beakPositioned.left, display: 'block' },\n directionalClassName: SLIDE_ANIMATIONS[positionedCallout.targetEdge],\n submenuDirection: positionedCallout.calloutEdge === RectangleEdge.right ? DirectionalHint_1.DirectionalHint.leftBottomEdge : DirectionalHint_1.DirectionalHint.rightBottomEdge\n };\n}\nexports.getRelativePositions = getRelativePositions;\n/**\n * Get's the maximum height that a rectangle can have in order to fit below or above a target.\n * If the directional hint specifies a left or right edge (i.e. leftCenter) it will limit the height to the topBorder\n * of the target given.\n * If no bounds are provided then the window is treated as the bounds.\n */\nfunction getMaxHeight(target, targetEdge, gapSpace, bounds) {\n if (gapSpace === void 0) { gapSpace = 0; }\n var mouseTarget = target;\n var elementTarget = target;\n var targetRect;\n var boundingRectangle = bounds ?\n positioningFunctions._getRectangleFromIRect(bounds) :\n new Utilities_1.Rectangle(0, window.innerWidth - Utilities_1.getScrollbarWidth(), 0, window.innerHeight);\n if (mouseTarget.stopPropagation) {\n targetRect = new Utilities_1.Rectangle(mouseTarget.clientX, mouseTarget.clientX, mouseTarget.clientY, mouseTarget.clientY);\n }\n else {\n targetRect = positioningFunctions._getRectangleFromHTMLElement(elementTarget);\n }\n return positioningFunctions._getMaxHeightFromTargetRectangle(targetRect, targetEdge, gapSpace, boundingRectangle);\n}\nexports.getMaxHeight = getMaxHeight;\nvar positioningFunctions;\n(function (positioningFunctions) {\n /**\n * If max height is less than zero it returns the bounds height instead.\n */\n function _getMaxHeightFromTargetRectangle(targetRectangle, targetEdge, gapSpace, bounds) {\n var maxHeight = 0;\n switch (targetEdge) {\n case DirectionalHint_1.DirectionalHint.bottomAutoEdge:\n case DirectionalHint_1.DirectionalHint.bottomCenter:\n case DirectionalHint_1.DirectionalHint.bottomLeftEdge:\n case DirectionalHint_1.DirectionalHint.bottomRightEdge:\n maxHeight = bounds.bottom - targetRectangle.bottom - gapSpace;\n break;\n case DirectionalHint_1.DirectionalHint.topAutoEdge:\n case DirectionalHint_1.DirectionalHint.topCenter:\n case DirectionalHint_1.DirectionalHint.topLeftEdge:\n case DirectionalHint_1.DirectionalHint.topRightEdge:\n maxHeight = targetRectangle.top - bounds.top - gapSpace;\n break;\n default:\n maxHeight = bounds.bottom - targetRectangle.top - gapSpace;\n break;\n }\n return maxHeight > 0 ? maxHeight : bounds.height;\n }\n positioningFunctions._getMaxHeightFromTargetRectangle = _getMaxHeightFromTargetRectangle;\n function _getTargetRect(bounds, target) {\n var targetRectangle;\n if (target.preventDefault) {\n var ev = target;\n targetRectangle = new Utilities_1.Rectangle(ev.clientX, ev.clientX, ev.clientY, ev.clientY);\n }\n else {\n targetRectangle = _getRectangleFromHTMLElement(target);\n }\n if (!_isRectangleWithinBounds(targetRectangle, bounds)) {\n var outOfBounds = _getOutOfBoundsEdges(targetRectangle, bounds);\n for (var _i = 0, outOfBounds_1 = outOfBounds; _i < outOfBounds_1.length; _i++) {\n var direction = outOfBounds_1[_i];\n targetRectangle[RectangleEdge[direction]] = bounds[RectangleEdge[direction]];\n }\n }\n return targetRectangle;\n }\n positioningFunctions._getTargetRect = _getTargetRect;\n function _getTargetRectDEPRECATED(bounds, targetElement, ev, targetPoint, isTargetPoint) {\n var targetRectangle;\n if (isTargetPoint) {\n if (targetPoint) {\n targetRectangle = new Utilities_1.Rectangle(targetPoint.x, targetPoint.x, targetPoint.y, targetPoint.y);\n }\n else {\n targetRectangle = new Utilities_1.Rectangle(ev.clientX, ev.clientX, ev.clientY, ev.clientY);\n }\n }\n else {\n if (!targetElement) {\n if (ev && ev.target) {\n targetRectangle = _getRectangleFromHTMLElement(ev.target);\n }\n targetRectangle = new Utilities_1.Rectangle();\n }\n else {\n targetRectangle = _getRectangleFromHTMLElement(targetElement);\n }\n }\n if (!_isRectangleWithinBounds(targetRectangle, bounds)) {\n var outOfBounds = _getOutOfBoundsEdges(targetRectangle, bounds);\n for (var _i = 0, outOfBounds_2 = outOfBounds; _i < outOfBounds_2.length; _i++) {\n var direction = outOfBounds_2[_i];\n targetRectangle[RectangleEdge[direction]] = bounds[RectangleEdge[direction]];\n }\n }\n return targetRectangle;\n }\n positioningFunctions._getTargetRectDEPRECATED = _getTargetRectDEPRECATED;\n function _getRectangleFromHTMLElement(element) {\n var clientRect = element.getBoundingClientRect();\n return new Utilities_1.Rectangle(clientRect.left, clientRect.right, clientRect.top, clientRect.bottom);\n }\n positioningFunctions._getRectangleFromHTMLElement = _getRectangleFromHTMLElement;\n function _positionCalloutWithinBounds(calloutRectangle, targetRectangle, boundingRectangle, directionalInfo, gap, coverTarget, directionalHintFixed) {\n if (gap === void 0) { gap = 0; }\n var estimatedRectangle = _moveRectangleToAnchorRectangle(calloutRectangle, directionalInfo.calloutDirection, directionalInfo.calloutPercent, targetRectangle, directionalInfo.targetDirection, directionalInfo.targetPercent, gap);\n if (_isRectangleWithinBounds(estimatedRectangle, boundingRectangle)) {\n return { calloutRectangle: estimatedRectangle, calloutEdge: directionalInfo.calloutDirection, targetEdge: directionalInfo.targetDirection, alignPercent: directionalInfo.calloutPercent, beakPercent: directionalInfo.beakPercent };\n }\n else {\n return _getBestRectangleFitWithinBounds(estimatedRectangle, targetRectangle, boundingRectangle, directionalInfo, gap, coverTarget, directionalHintFixed);\n }\n }\n positioningFunctions._positionCalloutWithinBounds = _positionCalloutWithinBounds;\n function _getBestRectangleFitWithinBounds(estimatedPosition, targetRectangle, boundingRectangle, directionalInfo, gap, coverTarget, directionalHintFixed) {\n var callout = {\n calloutRectangle: estimatedPosition,\n calloutEdge: directionalInfo.calloutDirection,\n targetEdge: directionalInfo.targetDirection,\n alignPercent: directionalInfo.calloutPercent,\n beakPercent: directionalInfo.beakPercent\n };\n // If it can't possibly fit within the bounds just put it into it's initial position.\n if (!_canRectangleFitWithinBounds(estimatedPosition, boundingRectangle)) {\n return callout;\n }\n if (!coverTarget && !directionalHintFixed) {\n callout = _flipRectangleToFit(callout, targetRectangle, directionalInfo.targetPercent, boundingRectangle, gap);\n }\n var outOfBounds = _getOutOfBoundsEdges(callout.calloutRectangle, boundingRectangle);\n for (var _i = 0, outOfBounds_3 = outOfBounds; _i < outOfBounds_3.length; _i++) {\n var direction = outOfBounds_3[_i];\n callout.calloutRectangle = _alignEdgeToCoordinate(callout.calloutRectangle, boundingRectangle[RectangleEdge[direction]], direction);\n var adjustedPercent = _recalculateMatchingPercents(callout.calloutRectangle, callout.targetEdge, targetRectangle, callout.targetEdge, directionalInfo.targetPercent);\n callout.alignPercent = adjustedPercent;\n }\n return callout;\n }\n positioningFunctions._getBestRectangleFitWithinBounds = _getBestRectangleFitWithinBounds;\n function _positionBeak(beakWidth, callout, targetRectangle, border) {\n var calloutRect = new Utilities_1.Rectangle(0, callout.calloutRectangle.width - border * 2, 0, callout.calloutRectangle.height - border * 2);\n var beakRectangle = new Utilities_1.Rectangle(0, beakWidth, 0, beakWidth);\n var recalculatedPercent = _recalculateMatchingPercents(callout.calloutRectangle, callout.calloutEdge, targetRectangle, callout.targetEdge, callout.beakPercent);\n var estimatedTargetPoint = _getPointOnEdgeFromPercent(calloutRect, callout.calloutEdge, recalculatedPercent);\n return _finalizeBeakPosition(beakRectangle, callout, estimatedTargetPoint, border);\n }\n positioningFunctions._positionBeak = _positionBeak;\n function _finalizeBeakPosition(beakRectangle, callout, estimatedTargetPoint, border) {\n var beakPixelSize = _calculateActualBeakWidthInPixels(beakRectangle.width) / 2;\n var innerRect = null;\n var beakPoint = { x: beakRectangle.width / 2, y: beakRectangle.width / 2 };\n if (callout.calloutEdge === RectangleEdge.bottom || callout.calloutEdge === RectangleEdge.top) {\n innerRect = new Utilities_1.Rectangle(beakPixelSize, callout.calloutRectangle.width - beakPixelSize - border * 2, 0, callout.calloutRectangle.height - border * 2);\n }\n else {\n innerRect = new Utilities_1.Rectangle(0, callout.calloutRectangle.width - border * 2, beakPixelSize, callout.calloutRectangle.height - beakPixelSize - border * 2);\n }\n var finalPoint = _getClosestPointOnEdgeToPoint(innerRect, callout.calloutEdge, estimatedTargetPoint);\n return _movePointOnRectangleToPoint(beakRectangle, beakPoint, finalPoint);\n }\n positioningFunctions._finalizeBeakPosition = _finalizeBeakPosition;\n function _getRectangleFromIRect(rect) {\n return new Utilities_1.Rectangle(rect.left, rect.right, rect.top, rect.bottom);\n }\n positioningFunctions._getRectangleFromIRect = _getRectangleFromIRect;\n function _finalizeCalloutPosition(calloutRectangle, hostElement) {\n var hostRect = _getRectangleFromHTMLElement(hostElement);\n var topPosition = calloutRectangle.top - hostRect.top;\n var leftPosition = calloutRectangle.left - hostRect.left;\n return new Utilities_1.Rectangle(leftPosition, leftPosition + calloutRectangle.width, topPosition, topPosition + calloutRectangle.height);\n }\n positioningFunctions._finalizeCalloutPosition = _finalizeCalloutPosition;\n /**\n * Finds the percent on the recalculateRect that matches the percent on the target rect based on position.\n */\n function _recalculateMatchingPercents(recalculateRect, rectangleEdge, targetRect, targetEdge, targetPercent) {\n var targetPoint = _getPointOnEdgeFromPercent(targetRect, targetEdge, targetPercent);\n var adjustedPoint = _getClosestPointOnEdgeToPoint(recalculateRect, rectangleEdge, targetPoint);\n var adjustedPercent = _getPercentOfEdgeFromPoint(recalculateRect, rectangleEdge, adjustedPoint);\n if (adjustedPercent > 100) {\n adjustedPercent = 100;\n }\n else if (adjustedPercent < 0) {\n adjustedPercent = 0;\n }\n return adjustedPercent;\n }\n positioningFunctions._recalculateMatchingPercents = _recalculateMatchingPercents;\n function _canRectangleFitWithinBounds(rect, boundingRect) {\n if (rect.width > boundingRect.width || rect.height > boundingRect.height) {\n return false;\n }\n return true;\n }\n positioningFunctions._canRectangleFitWithinBounds = _canRectangleFitWithinBounds;\n function _isRectangleWithinBounds(rect, boundingRect) {\n if (rect.top < boundingRect.top) {\n return false;\n }\n if (rect.bottom > boundingRect.bottom) {\n return false;\n }\n if (rect.left < boundingRect.left) {\n return false;\n }\n if (rect.right > boundingRect.right) {\n return false;\n }\n return true;\n }\n positioningFunctions._isRectangleWithinBounds = _isRectangleWithinBounds;\n /**\n * Gets all of the edges of a rectangle that are outside of the given bounds.\n * If there are no out of bounds edges it returns an empty array.\n */\n function _getOutOfBoundsEdges(rect, boundingRect) {\n var outOfBounds = new Array();\n if (rect.top < boundingRect.top) {\n outOfBounds.push(RectangleEdge.top);\n }\n if (rect.bottom > boundingRect.bottom) {\n outOfBounds.push(RectangleEdge.bottom);\n }\n if (rect.left < boundingRect.left) {\n outOfBounds.push(RectangleEdge.left);\n }\n if (rect.right > boundingRect.right) {\n outOfBounds.push(RectangleEdge.right);\n }\n return outOfBounds;\n }\n positioningFunctions._getOutOfBoundsEdges = _getOutOfBoundsEdges;\n /**\n * Returns a point on a edge that is x% of the way down it.\n */\n function _getPointOnEdgeFromPercent(rect, direction, percentOfRect) {\n var startPoint;\n var endPoint;\n switch (direction) {\n case RectangleEdge.top:\n startPoint = { x: rect.left, y: rect.top };\n endPoint = { x: rect.right, y: rect.top };\n break;\n case RectangleEdge.left:\n startPoint = { x: rect.left, y: rect.top };\n endPoint = { x: rect.left, y: rect.bottom };\n break;\n case RectangleEdge.right:\n startPoint = { x: rect.right, y: rect.top };\n endPoint = { x: rect.right, y: rect.bottom };\n break;\n case RectangleEdge.bottom:\n startPoint = { x: rect.left, y: rect.bottom };\n endPoint = { x: rect.right, y: rect.bottom };\n break;\n default:\n startPoint = { x: 0, y: 0 };\n endPoint = { x: 0, y: 0 };\n break;\n }\n return _calculatePointPercentAlongLine(startPoint, endPoint, percentOfRect);\n }\n positioningFunctions._getPointOnEdgeFromPercent = _getPointOnEdgeFromPercent;\n /**\n * Gets the percent down an edge that a point appears.\n */\n function _getPercentOfEdgeFromPoint(rect, direction, valueOnEdge) {\n switch (direction) {\n case RectangleEdge.top:\n case RectangleEdge.bottom:\n return rect.width !== 0 ? (valueOnEdge.x - rect.left) / rect.width * 100 : 100;\n case RectangleEdge.left:\n case RectangleEdge.right:\n return rect.height !== 0 ? (valueOnEdge.y - rect.top) / rect.height * 100 : 100;\n }\n }\n positioningFunctions._getPercentOfEdgeFromPoint = _getPercentOfEdgeFromPoint;\n /**\n * Percent is based on distance from left to right or up to down. 0% would be left most, 100% would be right most.\n */\n function _calculatePointPercentAlongLine(startPoint, endPoint, percent) {\n var x = startPoint.x + ((endPoint.x - startPoint.x) * percent / 100);\n var y = startPoint.y + ((endPoint.y - startPoint.y) * percent / 100);\n return { x: x, y: y };\n }\n positioningFunctions._calculatePointPercentAlongLine = _calculatePointPercentAlongLine;\n function _moveTopLeftOfRectangleToPoint(rect, destination) {\n return new Utilities_1.Rectangle(destination.x, destination.x + rect.width, destination.y, destination.y + rect.height);\n }\n positioningFunctions._moveTopLeftOfRectangleToPoint = _moveTopLeftOfRectangleToPoint;\n /**\n * Aligns the given edge to the target coordinate.\n */\n function _alignEdgeToCoordinate(rect, coordinate, direction) {\n switch (direction) {\n case RectangleEdge.top:\n return _moveTopLeftOfRectangleToPoint(rect, { x: rect.left, y: coordinate });\n case RectangleEdge.bottom:\n return _moveTopLeftOfRectangleToPoint(rect, { x: rect.left, y: coordinate - rect.height });\n case RectangleEdge.left:\n return _moveTopLeftOfRectangleToPoint(rect, { x: coordinate, y: rect.top });\n case RectangleEdge.right:\n return _moveTopLeftOfRectangleToPoint(rect, { x: coordinate - rect.width, y: rect.top });\n }\n return new Utilities_1.Rectangle();\n }\n positioningFunctions._alignEdgeToCoordinate = _alignEdgeToCoordinate;\n /**\n * Moves a point on a given rectangle to the target point. Does not change the rectangles orientation.\n */\n function _movePointOnRectangleToPoint(rect, rectanglePoint, targetPoint) {\n var leftCornerXDifference = rectanglePoint.x - rect.left;\n var leftCornerYDifference = rectanglePoint.y - rect.top;\n return _moveTopLeftOfRectangleToPoint(rect, { x: targetPoint.x - leftCornerXDifference, y: targetPoint.y - leftCornerYDifference });\n }\n positioningFunctions._movePointOnRectangleToPoint = _movePointOnRectangleToPoint;\n /**\n * Moves the given rectangle a certain number of pixels in the given direction;\n */\n function _moveRectangleInDirection(rect, moveDistance, direction) {\n var xModifier = 0;\n var yModifier = 0;\n switch (direction) {\n case RectangleEdge.top:\n yModifier = moveDistance * -1;\n break;\n case RectangleEdge.left:\n xModifier = moveDistance * -1;\n break;\n case RectangleEdge.right:\n xModifier = moveDistance;\n break;\n case RectangleEdge.bottom:\n yModifier = moveDistance;\n break;\n }\n return _moveTopLeftOfRectangleToPoint(rect, { x: rect.left + xModifier, y: rect.top + yModifier });\n }\n positioningFunctions._moveRectangleInDirection = _moveRectangleInDirection;\n /**\n * Moves the given rectangle to an anchor rectangle.\n */\n function _moveRectangleToAnchorRectangle(rect, rectSide, rectPercent, anchorRect, anchorSide, anchorPercent, gap) {\n if (gap === void 0) { gap = 0; }\n var rectTargetPoint = _getPointOnEdgeFromPercent(rect, rectSide, rectPercent);\n var anchorTargetPoint = _getPointOnEdgeFromPercent(anchorRect, anchorSide, anchorPercent);\n var positionedRect = _movePointOnRectangleToPoint(rect, rectTargetPoint, anchorTargetPoint);\n return _moveRectangleInDirection(positionedRect, gap, anchorSide);\n }\n positioningFunctions._moveRectangleToAnchorRectangle = _moveRectangleToAnchorRectangle;\n /**\n * Gets the closet point on an edge to the given point.\n */\n function _getClosestPointOnEdgeToPoint(rect, edge, point) {\n switch (edge) {\n case RectangleEdge.top:\n case RectangleEdge.bottom:\n var x = void 0;\n if (point.x > rect.right) {\n x = rect.right;\n }\n else if (point.x < rect.left) {\n x = rect.left;\n }\n else {\n x = point.x;\n }\n return { x: x, y: rect[RectangleEdge[edge]] };\n case RectangleEdge.left:\n case RectangleEdge.right:\n var y = void 0;\n if (point.y > rect.bottom) {\n y = rect.bottom;\n }\n else if (point.y < rect.top) {\n y = rect.top;\n }\n else {\n y = point.y;\n }\n return { x: rect[RectangleEdge[edge]], y: y };\n }\n }\n positioningFunctions._getClosestPointOnEdgeToPoint = _getClosestPointOnEdgeToPoint;\n // Since the beak is rotated 45 degrees the actual height/width is the length of the diagonal.\n // We still want to position the beak based on it's midpoint which does not change. It will\n // be at (beakwidth / 2, beakwidth / 2)\n function _calculateActualBeakWidthInPixels(beakWidth) {\n return Math.sqrt(beakWidth * beakWidth * 2);\n }\n positioningFunctions._calculateActualBeakWidthInPixels = _calculateActualBeakWidthInPixels;\n function _getBorderSize(element) {\n var styles = getComputedStyle(element, null);\n var topBorder = parseFloat(styles.borderTopWidth);\n var bottomBorder = parseFloat(styles.borderBottomWidth);\n var leftBorder = parseFloat(styles.borderLeftWidth);\n var rightBorder = parseFloat(styles.borderRightWidth);\n // If any of the borders are NaN default to 0\n if (isNaN(topBorder) || isNaN(bottomBorder) || isNaN(leftBorder) || isNaN(rightBorder)) {\n return 0;\n }\n // If all of the borders are the same size, any value;\n if (topBorder === bottomBorder && bottomBorder === leftBorder && leftBorder === rightBorder) {\n return topBorder;\n }\n // If the borders do not agree, return 0\n return 0;\n }\n positioningFunctions._getBorderSize = _getBorderSize;\n function _getPositionData(direction, target, boundingRect, coverTarget) {\n var directionalInfo = coverTarget ? CoverDictionary[direction] : DirectionalDictionary[direction];\n if (directionalInfo.isAuto) {\n var center = _getPointOnEdgeFromPercent(target, directionalInfo.targetDirection, 50);\n if (center.x <= boundingRect.width / 2) {\n directionalInfo.calloutPercent = 0;\n directionalInfo.targetPercent = 0;\n }\n else {\n directionalInfo.calloutPercent = 100;\n directionalInfo.targetPercent = 100;\n }\n }\n return directionalInfo;\n }\n positioningFunctions._getPositionData = _getPositionData;\n function _flipRectangleToFit(callout, targetRect, targetPercent, boundingRect, gap) {\n var directions = [RectangleEdge.left, RectangleEdge.right, RectangleEdge.top, RectangleEdge.bottom];\n var currentEdge = callout.targetEdge;\n // Make a copy to presever the original positioning.\n var positionedCallout = Utilities_1.assign({}, callout);\n // Keep switching sides until one is found with enough space. If all sides don't fit then return the unmodified callout.\n for (var i = 0; i < 4; i++) {\n var outOfBounds = _getOutOfBoundsEdges(positionedCallout.calloutRectangle, boundingRect);\n var index = outOfBounds.indexOf(currentEdge);\n var oppositeEdge = OppositeEdgeDictionary[currentEdge];\n if (index > -1) {\n directions.splice(directions.indexOf(currentEdge), 1);\n currentEdge = directions.indexOf(oppositeEdge) > -1 ? oppositeEdge : directions.slice(-1)[0];\n positionedCallout.calloutEdge = OppositeEdgeDictionary[currentEdge];\n positionedCallout.targetEdge = currentEdge;\n positionedCallout.calloutRectangle = _moveRectangleToAnchorRectangle(positionedCallout.calloutRectangle, positionedCallout.calloutEdge, positionedCallout.alignPercent, targetRect, positionedCallout.targetEdge, targetPercent, gap);\n }\n else {\n return positionedCallout;\n }\n }\n return callout;\n }\n positioningFunctions._flipRectangleToFit = _flipRectangleToFit;\n})(positioningFunctions = exports.positioningFunctions || (exports.positioningFunctions = {}));\nvar _a, _b, _c, _d;\n\n"
|
|
},
|
|
{
|
|
"id": 64,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Popup.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Popup.js",
|
|
"index": 64,
|
|
"index2": 53,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Popup",
|
|
"loc": "24:14-36"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Popup",
|
|
"loc": "35:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Popup/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 65,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Popup\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Popup/index.js",
|
|
"index": 65,
|
|
"index2": 52,
|
|
"size": 205,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Popup.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 64,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Popup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Popup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Popup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Popup/index",
|
|
"loc": "6:9-44"
|
|
},
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../Popup/index",
|
|
"loc": "24:14-39"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Popup\"));\n\n"
|
|
},
|
|
{
|
|
"id": 66,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Popup\\Popup.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Popup/Popup.js",
|
|
"index": 66,
|
|
"index2": 51,
|
|
"size": 4168,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Popup\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 65,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Popup\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Popup/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Popup/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Popup",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\n/**\n * This adds accessibility to Dialog and Panel controls\n */\nvar Popup = (function (_super) {\n __extends(Popup, _super);\n function Popup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Popup.prototype.componentWillMount = function () {\n this._originalFocusedElement = Utilities_1.getDocument().activeElement;\n };\n Popup.prototype.componentDidMount = function () {\n this._events.on(this.refs.root, 'focus', this._onFocus, true);\n this._events.on(this.refs.root, 'blur', this._onBlur, true);\n if (Utilities_1.doesElementContainFocus(this.refs.root)) {\n this._containsFocus = true;\n }\n };\n Popup.prototype.componentWillUnmount = function () {\n if (this.props.shouldRestoreFocus &&\n this._originalFocusedElement &&\n this._containsFocus &&\n this._originalFocusedElement !== window) {\n // This slight delay is required so that we can unwind the stack, let react try to mess with focus, and then\n // apply the correct focus. Without the setTimeout, we end up focusing the correct thing, and then React wants\n // to reset the focus back to the thing it thinks should have been focused.\n if (this._originalFocusedElement) {\n this._originalFocusedElement.focus();\n }\n }\n };\n Popup.prototype.render = function () {\n var _a = this.props, role = _a.role, className = _a.className, ariaLabel = _a.ariaLabel, ariaLabelledBy = _a.ariaLabelledBy, ariaDescribedBy = _a.ariaDescribedBy;\n return (React.createElement(\"div\", __assign({ ref: 'root' }, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties), { className: className, role: role, \"aria-label\": ariaLabel, \"aria-labelledby\": ariaLabelledBy, \"aria-describedby\": ariaDescribedBy, onKeyDown: this._onKeyDown }), this.props.children));\n };\n Popup.prototype._onKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.escape:\n if (this.props.onDismiss) {\n this.props.onDismiss(ev);\n ev.preventDefault();\n ev.stopPropagation();\n }\n break;\n }\n };\n Popup.prototype._onFocus = function () {\n this._containsFocus = true;\n };\n Popup.prototype._onBlur = function () {\n this._containsFocus = false;\n };\n return Popup;\n}(Utilities_1.BaseComponent));\nPopup.defaultProps = {\n shouldRestoreFocus: true\n};\n__decorate([\n Utilities_1.autobind\n], Popup.prototype, \"_onKeyDown\", null);\nexports.Popup = Popup;\n\n"
|
|
},
|
|
{
|
|
"id": 67,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Callout/Callout.scss.js",
|
|
"index": 67,
|
|
"index2": 54,
|
|
"size": 1460,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Callout.scss",
|
|
"loc": "25:19-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_9eeb3eac',\n container: 'container_9eeb3eac',\n main: 'main_9eeb3eac',\n beak: 'beak_9eeb3eac',\n beakCurtain: 'beakCurtain_9eeb3eac',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_9eeb3eac{box-shadow:0 0 5px 0 rgba(0,0,0,.4);position:absolute;border:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";box-sizing:border-box}@media screen and (-ms-high-contrast:active){.root_9eeb3eac{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_9eeb3eac{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.container_9eeb3eac{position:relative}.main_9eeb3eac{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";overflow-x:hidden;overflow-y:auto;position:relative}.beak_9eeb3eac{position:absolute;background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";box-shadow:inherit;border:inherit;box-sizing:border-box;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.beakCurtain_9eeb3eac{position:absolute;top:0;right:0;bottom:0;left:0;background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 68,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Styling.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Styling.js",
|
|
"index": 68,
|
|
"index2": 118,
|
|
"size": 225,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Styling",
|
|
"loc": "48:9-29"
|
|
},
|
|
{
|
|
"moduleId": 62,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\CalloutContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/CalloutContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "26:16-40"
|
|
},
|
|
{
|
|
"moduleId": 137,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "23:16-40"
|
|
},
|
|
{
|
|
"moduleId": 138,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "4:16-40"
|
|
},
|
|
{
|
|
"moduleId": 143,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "17:16-40"
|
|
},
|
|
{
|
|
"moduleId": 145,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "32:16-40"
|
|
},
|
|
{
|
|
"moduleId": 148,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "3:16-40"
|
|
},
|
|
{
|
|
"moduleId": 156,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "29:16-40"
|
|
},
|
|
{
|
|
"moduleId": 160,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Styling",
|
|
"loc": "3:16-43"
|
|
},
|
|
{
|
|
"moduleId": 161,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "4:16-40"
|
|
},
|
|
{
|
|
"moduleId": 163,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Styling",
|
|
"loc": "3:16-43"
|
|
},
|
|
{
|
|
"moduleId": 165,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Styling",
|
|
"loc": "3:16-43"
|
|
},
|
|
{
|
|
"moduleId": 167,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Styling",
|
|
"loc": "3:16-43"
|
|
},
|
|
{
|
|
"moduleId": 169,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Styling",
|
|
"loc": "3:16-43"
|
|
},
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "25:16-40"
|
|
},
|
|
{
|
|
"moduleId": 199,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "27:16-40"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "33:16-40"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "31:16-40"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "37:16-40"
|
|
},
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "20:16-40"
|
|
},
|
|
{
|
|
"moduleId": 364,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "30:16-40"
|
|
},
|
|
{
|
|
"moduleId": 365,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "3:16-40"
|
|
},
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Styling",
|
|
"loc": "30:16-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"@uifabric/styling/lib/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 69,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"name": "./~/@uifabric/styling/lib/index.js",
|
|
"index": 69,
|
|
"index2": 117,
|
|
"size": 331,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Styling.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 68,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Styling.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Styling.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Styling.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@uifabric/styling/lib/index",
|
|
"loc": "6:9-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./glamorExports\"));\n__export(require(\"./classNames/index\"));\n__export(require(\"./styles/index\"));\n__export(require(\"./utilities/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 70,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"name": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"index": 70,
|
|
"index2": 100,
|
|
"size": 1920,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 69,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./glamorExports",
|
|
"loc": "6:9-35"
|
|
},
|
|
{
|
|
"moduleId": 121,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\AnimationStyles.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/AnimationStyles.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/AnimationStyles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../glamorExports",
|
|
"loc": "3:22-49"
|
|
},
|
|
{
|
|
"moduleId": 123,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\DefaultFontStyles.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/DefaultFontStyles.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/DefaultFontStyles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../glamorExports",
|
|
"loc": "3:22-49"
|
|
},
|
|
{
|
|
"moduleId": 125,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\getFocusStyle.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/getFocusStyle.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/getFocusStyle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../glamorExports",
|
|
"loc": "4:22-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Glamor = require(\"glamor\");\nvar rtl_css_js_1 = require(\"rtl-css-js\");\nvar index_1 = require(\"@uifabric/utilities/lib/index\");\nfunction _initializeGlamor() {\n // force speedy.\n // tslint:disable-next-line:no-string-literal\n if (!Glamor['styleSheet'] || !Glamor['styleSheet'].isSpeedy) {\n // tslint:disable-next-line:no-string-literal\n Glamor['speedy'](true);\n }\n // tslint:disable-next-line:no-string-literal\n Glamor['plugins'].add(function (_a) {\n var selector = _a.selector, style = _a.style;\n return ({\n selector: selector,\n style: index_1.getRTL() ? rtl_css_js_1.default(style) : style\n });\n });\n}\n_initializeGlamor();\n/**\n * Defines a :before pseudo-selector scoped style object for the given raw style.\n */\nfunction before(style) {\n return Glamor.before(style);\n}\nexports.before = before;\n/**\n * Defines a :after pseudo-selector scoped style object for the given raw style.\n */\nfunction after(style) {\n return Glamor.after(style);\n}\nexports.after = after;\n/**\n * Defines a style under a rule which is prefixed by the given selector.\n */\nfunction parent(selector, style) {\n return Glamor.parent(selector, style);\n}\nexports.parent = parent;\n/**\n * Registers a global rule. Be aware: registering global rules are not scoped;\n * Two versions of a global rule will colide with each other.\n */\nfunction insertGlobal(selector, style) {\n Glamor.insertGlobal(selector, style);\n}\nexports.insertGlobal = insertGlobal;\n/**\n * Registers a font face.\n */\nfunction fontFace(font) {\n return Glamor.fontFace(font);\n}\nexports.fontFace = fontFace;\n/**\n * Register a keyframe definition and returns the unique name to be used for\n * the animation name.\n */\nfunction keyframes(timeline) {\n return Glamor.keyframes(timeline);\n}\nexports.keyframes = keyframes;\n\n"
|
|
},
|
|
{
|
|
"id": 71,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"name": "./~/glamor/lib/index.js",
|
|
"index": 71,
|
|
"index2": 69,
|
|
"size": 26136,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 70,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"module": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"type": "cjs require",
|
|
"userRequest": "glamor",
|
|
"loc": "3:13-30"
|
|
},
|
|
{
|
|
"moduleId": 126,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\mergeStyles.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/mergeStyles.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/mergeStyles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "glamor",
|
|
"loc": "3:15-32"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.compose = exports.merge = exports.$ = exports.style = exports.presets = exports.keyframes = exports.fontFace = exports.insertGlobal = exports.insertRule = exports.plugins = exports.styleSheet = undefined;\nexports.speedy = speedy;\nexports.simulations = simulations;\nexports.simulate = simulate;\nexports.cssLabels = cssLabels;\nexports.isLikeRule = isLikeRule;\nexports.idFor = idFor;\nexports.css = css;\nexports.rehydrate = rehydrate;\nexports.flush = flush;\nexports.select = select;\nexports.parent = parent;\nexports.media = media;\nexports.pseudo = pseudo;\nexports.active = active;\nexports.any = any;\nexports.checked = checked;\nexports.disabled = disabled;\nexports.empty = empty;\nexports.enabled = enabled;\nexports._default = _default;\nexports.first = first;\nexports.firstChild = firstChild;\nexports.firstOfType = firstOfType;\nexports.fullscreen = fullscreen;\nexports.focus = focus;\nexports.hover = hover;\nexports.indeterminate = indeterminate;\nexports.inRange = inRange;\nexports.invalid = invalid;\nexports.lastChild = lastChild;\nexports.lastOfType = lastOfType;\nexports.left = left;\nexports.link = link;\nexports.onlyChild = onlyChild;\nexports.onlyOfType = onlyOfType;\nexports.optional = optional;\nexports.outOfRange = outOfRange;\nexports.readOnly = readOnly;\nexports.readWrite = readWrite;\nexports.required = required;\nexports.right = right;\nexports.root = root;\nexports.scope = scope;\nexports.target = target;\nexports.valid = valid;\nexports.visited = visited;\nexports.dir = dir;\nexports.lang = lang;\nexports.not = not;\nexports.nthChild = nthChild;\nexports.nthLastChild = nthLastChild;\nexports.nthLastOfType = nthLastOfType;\nexports.nthOfType = nthOfType;\nexports.after = after;\nexports.before = before;\nexports.firstLetter = firstLetter;\nexports.firstLine = firstLine;\nexports.selection = selection;\nexports.backdrop = backdrop;\nexports.placeholder = placeholder;\nexports.cssFor = cssFor;\nexports.attribsFor = attribsFor;\n\nvar _objectAssign = require('object-assign');\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nvar _sheet = require('./sheet.js');\n\nvar _CSSPropertyOperations = require('./CSSPropertyOperations');\n\nvar _clean = require('./clean.js');\n\nvar _clean2 = _interopRequireDefault(_clean);\n\nvar _plugins = require('./plugins');\n\nvar _hash = require('./hash');\n\nvar _hash2 = _interopRequireDefault(_hash);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n/* stylesheet */\n\n\nvar styleSheet = exports.styleSheet = new _sheet.StyleSheet();\n// an isomorphic StyleSheet shim. hides all the nitty gritty.\n\n// /**************** LIFTOFF IN 3... 2... 1... ****************/\nstyleSheet.inject(); //eslint-disable-line indent\n// /**************** TO THE MOOOOOOON ****************/\n\n// convenience function to toggle speedy\nfunction speedy(bool) {\n return styleSheet.speedy(bool);\n}\n\n// plugins\n// we include these by default\nvar plugins = exports.plugins = styleSheet.plugins = new _plugins.PluginSet([_plugins.prefixes, _plugins.fallbacks]);\nplugins.media = new _plugins.PluginSet(); // neat! media, font-face, keyframes\nplugins.fontFace = new _plugins.PluginSet();\nplugins.keyframes = new _plugins.PluginSet([_plugins.prefixes]);\n\n// define some constants\n\nvar isDev = process.env.NODE_ENV === 'development' || !process.env.NODE_ENV;\nvar isTest = process.env.NODE_ENV === 'test';\n\n/**** simulations ****/\n\n// a flag to enable simulation meta tags on dom nodes\n// defaults to true in dev mode. recommend *not* to\n// toggle often.\nvar canSimulate = isDev;\n\n// we use these flags for issuing warnings when simulate is called\n// in prod / in incorrect order\nvar warned1 = false,\n warned2 = false;\n\n// toggles simulation activity. shouldn't be needed in most cases\nfunction simulations() {\n var bool = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n canSimulate = !!bool;\n}\n\n// use this on dom nodes to 'simulate' pseudoclasses\n// <div {...hover({ color: 'red' })} {...simulate('hover', 'visited')}>...</div>\n// you can even send in some weird ones, as long as it's in simple format\n// and matches an existing rule on the element\n// eg simulate('nthChild2', ':hover:active') etc\nfunction simulate() {\n for (var _len = arguments.length, pseudos = Array(_len), _key = 0; _key < _len; _key++) {\n pseudos[_key] = arguments[_key];\n }\n\n pseudos = (0, _clean2.default)(pseudos);\n if (!pseudos) return {};\n if (!canSimulate) {\n if (!warned1) {\n console.warn('can\\'t simulate without once calling simulations(true)'); //eslint-disable-line no-console\n warned1 = true;\n }\n if (!isDev && !isTest && !warned2) {\n console.warn('don\\'t use simulation outside dev'); //eslint-disable-line no-console\n warned2 = true;\n }\n return {};\n }\n return pseudos.reduce(function (o, p) {\n return o['data-simulate-' + simple(p)] = '', o;\n }, {});\n}\n\n/**** labels ****/\n// toggle for debug labels.\n// *shouldn't* have to mess with this manually\nvar hasLabels = isDev;\n\nfunction cssLabels(bool) {\n hasLabels = !!bool;\n}\n\n// takes a string, converts to lowercase, strips out nonalphanumeric.\nfunction simple(str) {\n return str.toLowerCase().replace(/[^a-z0-9]/g, '');\n}\n\n// hashes a string to something 'unique'\n// we use this to generate ids for styles\n\n\nfunction hashify() {\n var str = '';\n\n for (var _len2 = arguments.length, objs = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n objs[_key2] = arguments[_key2];\n }\n\n for (var i = 0; i < objs.length; i++) {\n str += JSON.stringify(objs[i]);\n }\n return (0, _hash2.default)(str).toString(36);\n}\n\n// of shape { 'data-css-<id>': '' }\nfunction isLikeRule(rule) {\n var keys = Object.keys(rule).filter(function (x) {\n return x !== 'toString';\n });\n if (keys.length !== 1) {\n return false;\n }\n return !!/data\\-css\\-([a-zA-Z0-9]+)/.exec(keys[0]);\n}\n\n// extracts id from a { 'data-css-<id>': ''} like object\nfunction idFor(rule) {\n var keys = Object.keys(rule).filter(function (x) {\n return x !== 'toString';\n });\n if (keys.length !== 1) throw new Error('not a rule');\n var regex = /data\\-css\\-([a-zA-Z0-9]+)/;\n var match = regex.exec(keys[0]);\n if (!match) throw new Error('not a rule');\n return match[1];\n}\n\nfunction selector(id, path) {\n\n if (!id) {\n return path.replace(/\\&/g, '');\n }\n if (!path) return '.css-' + id + ',[data-css-' + id + ']';\n\n var x = path.split(',').map(function (x) {\n return x.indexOf('&') >= 0 ? [x.replace(/\\&/mg, '.css-' + id), x.replace(/\\&/mg, '[data-css-' + id + ']')].join(',') // todo - make sure each sub selector has an &\n : '.css-' + id + x + ',[data-css-' + id + ']' + x;\n }).join(',');\n\n if (canSimulate && /^\\&\\:/.exec(path) && !/\\s/.exec(path)) {\n x += ',.css-' + id + '[data-simulate-' + simple(path) + '],[data-css-' + id + '][data-simulate-' + simple(path) + ']';\n }\n return x;\n}\n\nfunction toCSS(_ref) {\n var selector = _ref.selector,\n style = _ref.style;\n\n var result = plugins.transform({ selector: selector, style: style });\n return result.selector + '{' + (0, _CSSPropertyOperations.createMarkupForStyles)(result.style) + '}';\n}\n\nfunction deconstruct(style) {\n // we can be sure it's not infinitely nested here \n var plain = void 0,\n selects = void 0,\n medias = void 0,\n supports = void 0;\n Object.keys(style).forEach(function (key) {\n if (key.indexOf('&') >= 0) {\n selects = selects || {};\n selects[key] = style[key];\n } else if (key.indexOf('@media') === 0) {\n medias = medias || {};\n medias[key] = deconstruct(style[key]);\n } else if (key.indexOf('@supports') === 0) {\n supports = supports || {};\n supports[key] = deconstruct(style[key]);\n } else if (key === 'label') {\n if (style.label.length > 0) {\n plain = plain || {};\n plain.label = hasLabels ? style.label.join('.') : '';\n }\n } else {\n plain = plain || {};\n plain[key] = style[key];\n }\n });\n return { plain: plain, selects: selects, medias: medias, supports: supports };\n}\n\nfunction deconstructedStyleToCSS(id, style) {\n var css = [];\n\n // plugins here\n var plain = style.plain,\n selects = style.selects,\n medias = style.medias,\n supports = style.supports;\n\n if (plain) {\n css.push(toCSS({ style: plain, selector: selector(id) }));\n }\n if (selects) {\n Object.keys(selects).forEach(function (key) {\n return css.push(toCSS({ style: selects[key], selector: selector(id, key) }));\n });\n }\n if (medias) {\n Object.keys(medias).forEach(function (key) {\n return css.push(key + '{' + deconstructedStyleToCSS(id, medias[key]).join('') + '}');\n });\n }\n if (supports) {\n Object.keys(supports).forEach(function (key) {\n return css.push(key + '{' + deconstructedStyleToCSS(id, supports[key]).join('') + '}');\n });\n }\n return css;\n}\n\n// this cache to track which rules have\n// been inserted into the stylesheet\nvar inserted = styleSheet.inserted = {};\n\n// and helpers to insert rules into said styleSheet\nfunction insert(spec) {\n if (!inserted[spec.id]) {\n inserted[spec.id] = true;\n var deconstructed = deconstruct(spec.style);\n deconstructedStyleToCSS(spec.id, deconstructed).map(function (cssRule) {\n return styleSheet.insert(cssRule);\n });\n }\n}\n\n// a simple cache to store generated rules\nvar registered = styleSheet.registered = {};\nfunction register(spec) {\n if (!registered[spec.id]) {\n registered[spec.id] = spec;\n }\n}\n\nfunction _getRegistered(rule) {\n if (isLikeRule(rule)) {\n var ret = registered[idFor(rule)];\n if (ret == null) {\n throw new Error('[glamor] an unexpected rule cache miss occurred. This is probably a sign of multiple glamor instances in your app. See https://github.com/threepointone/glamor/issues/79');\n }\n return ret;\n }\n return rule;\n}\n\n// todo - perf\nvar ruleCache = {};\nfunction toRule(spec) {\n register(spec);\n insert(spec);\n\n if (ruleCache[spec.id]) {\n return ruleCache[spec.id];\n }\n\n var ret = _defineProperty({}, 'data-css-' + spec.id, hasLabels ? spec.label || '' : '');\n Object.defineProperty(ret, 'toString', {\n enumerable: false, value: function value() {\n return 'css-' + spec.id;\n }\n });\n ruleCache[spec.id] = ret;\n return ret;\n}\n\nfunction log() {\n //eslint-disable-line no-unused-vars\n console.log(this); //eslint-disable-line no-console\n return this;\n}\n\nfunction isSelector(key) {\n var possibles = [':', '.', '[', '>', ' '],\n found = false,\n ch = key.charAt(0);\n for (var i = 0; i < possibles.length; i++) {\n if (ch === possibles[i]) {\n found = true;\n break;\n }\n }\n return found || key.indexOf('&') >= 0;\n}\n\nfunction joinSelectors(a, b) {\n var as = a.split(',').map(function (a) {\n return !(a.indexOf('&') >= 0) ? '&' + a : a;\n });\n var bs = b.split(',').map(function (b) {\n return !(b.indexOf('&') >= 0) ? '&' + b : b;\n });\n\n return bs.reduce(function (arr, b) {\n return arr.concat(as.map(function (a) {\n return b.replace(/\\&/g, a);\n }));\n }, []).join(',');\n}\n\nfunction joinMediaQueries(a, b) {\n return a ? '@media ' + a.substring(6) + ' and ' + b.substring(6) : b;\n}\n\nfunction isMediaQuery(key) {\n return key.indexOf('@media') === 0;\n}\n\nfunction isSupports(key) {\n return key.indexOf('@supports') === 0;\n}\n\nfunction joinSupports(a, b) {\n return a ? '@supports ' + a.substring(9) + ' and ' + b.substring(9) : b;\n}\n\n// flatten a nested array\nfunction flatten(inArr) {\n var arr = [];\n for (var i = 0; i < inArr.length; i++) {\n if (Array.isArray(inArr[i])) arr = arr.concat(flatten(inArr[i]));else arr = arr.concat(inArr[i]);\n }\n return arr;\n}\n\n// mutable! modifies dest.\nfunction build(dest, _ref2) {\n var _ref2$selector = _ref2.selector,\n selector = _ref2$selector === undefined ? '' : _ref2$selector,\n _ref2$mq = _ref2.mq,\n mq = _ref2$mq === undefined ? '' : _ref2$mq,\n _ref2$supp = _ref2.supp,\n supp = _ref2$supp === undefined ? '' : _ref2$supp,\n _ref2$src = _ref2.src,\n src = _ref2$src === undefined ? {} : _ref2$src;\n\n\n if (!Array.isArray(src)) {\n src = [src];\n }\n src = flatten(src);\n\n src.forEach(function (_src) {\n if (isLikeRule(_src)) {\n var reg = _getRegistered(_src);\n if (reg.type !== 'css') {\n throw new Error('cannot merge this rule');\n }\n _src = reg.style;\n }\n _src = (0, _clean2.default)(_src);\n if (_src && _src.composes) {\n build(dest, { selector: selector, mq: mq, supp: supp, src: _src.composes });\n }\n Object.keys(_src || {}).forEach(function (key) {\n if (isSelector(key)) {\n\n if (key === '::placeholder') {\n build(dest, { selector: joinSelectors(selector, '::-webkit-input-placeholder'), mq: mq, supp: supp, src: _src[key] });\n build(dest, { selector: joinSelectors(selector, '::-moz-placeholder'), mq: mq, supp: supp, src: _src[key] });\n build(dest, { selector: joinSelectors(selector, '::-ms-input-placeholder'), mq: mq, supp: supp, src: _src[key] });\n }\n\n build(dest, { selector: joinSelectors(selector, key), mq: mq, supp: supp, src: _src[key] });\n } else if (isMediaQuery(key)) {\n build(dest, { selector: selector, mq: joinMediaQueries(mq, key), supp: supp, src: _src[key] });\n } else if (isSupports(key)) {\n build(dest, { selector: selector, mq: mq, supp: joinSupports(supp, key), src: _src[key] });\n } else if (key === 'composes') {\n // ignore, we already dealth with it\n } else {\n var _dest = dest;\n if (supp) {\n _dest[supp] = _dest[supp] || {};\n _dest = _dest[supp];\n }\n if (mq) {\n _dest[mq] = _dest[mq] || {};\n _dest = _dest[mq];\n }\n if (selector) {\n _dest[selector] = _dest[selector] || {};\n _dest = _dest[selector];\n }\n\n if (key === 'label') {\n if (hasLabels) {\n dest.label = dest.label.concat(_src.label);\n }\n } else {\n _dest[key] = _src[key];\n }\n }\n });\n });\n}\n\nfunction _css(rules) {\n var style = { label: [] };\n build(style, { src: rules }); // mutative! but worth it. \n\n var spec = {\n id: hashify(style),\n style: style, label: hasLabels ? style.label.join('.') : '',\n type: 'css'\n };\n return toRule(spec);\n}\n\nvar nullrule = {\n // 'data-css-nil': ''\n};\nObject.defineProperty(nullrule, 'toString', {\n enumerable: false, value: function value() {\n return 'css-nil';\n }\n});\n\nvar inputCaches = typeof WeakMap !== 'undefined' ? [nullrule, new WeakMap(), new WeakMap(), new WeakMap()] : [nullrule];\n\nvar warnedWeakMapError = false;\nfunction multiIndexCache(fn) {\n return function (args) {\n if (inputCaches[args.length]) {\n var coi = inputCaches[args.length];\n var ctr = 0;\n while (ctr < args.length - 1) {\n if (!coi.has(args[ctr])) {\n coi.set(args[ctr], new WeakMap());\n }\n coi = coi.get(args[ctr]);\n ctr++;\n }\n if (coi.has(args[args.length - 1])) {\n var ret = coi.get(args[ctr]);\n\n if (registered[ret.toString().substring(4)]) {\n // make sure it hasn't been flushed \n return ret;\n }\n }\n }\n var value = fn(args);\n if (inputCaches[args.length]) {\n var _ctr = 0,\n _coi = inputCaches[args.length];\n while (_ctr < args.length - 1) {\n _coi = _coi.get(args[_ctr]);\n _ctr++;\n }\n try {\n _coi.set(args[_ctr], value);\n } catch (err) {\n if (isDev && !warnedWeakMapError) {\n var _console;\n\n warnedWeakMapError = true;\n (_console = console).warn.apply(_console, ['failed setting the WeakMap cache for args:'].concat(_toConsumableArray(args))); // eslint-disable-line no-console\n console.warn('this should NOT happen, please file a bug on the github repo.'); // eslint-disable-line no-console\n }\n }\n }\n return value;\n };\n}\n\nvar cachedCss = typeof WeakMap !== 'undefined' ? multiIndexCache(_css) : _css;\n\nfunction css() {\n for (var _len3 = arguments.length, rules = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n rules[_key3] = arguments[_key3];\n }\n\n if (rules[0] && rules[0].length && rules[0].raw) {\n throw new Error('you forgot to include glamor/babel in your babel plugins.');\n }\n\n rules = (0, _clean2.default)(rules);\n if (!rules) {\n return nullrule;\n }\n\n return cachedCss(rules);\n}\n\ncss.insert = function (css) {\n var spec = {\n id: hashify(css),\n css: css,\n type: 'raw'\n };\n register(spec);\n if (!inserted[spec.id]) {\n styleSheet.insert(spec.css);\n inserted[spec.id] = true;\n }\n};\n\nvar insertRule = exports.insertRule = css.insert;\n\ncss.global = function (selector, style) {\n return css.insert(toCSS({ selector: selector, style: style }));\n};\n\nvar insertGlobal = exports.insertGlobal = css.global;\n\nfunction insertKeyframe(spec) {\n if (!inserted[spec.id]) {\n (function () {\n var inner = Object.keys(spec.keyframes).map(function (kf) {\n var result = plugins.keyframes.transform({ id: spec.id, name: kf, style: spec.keyframes[kf] });\n return result.name + '{' + (0, _CSSPropertyOperations.createMarkupForStyles)(result.style) + '}';\n }).join('');\n\n ['-webkit-', '-moz-', '-o-', ''].forEach(function (prefix) {\n return styleSheet.insert('@' + prefix + 'keyframes ' + (spec.name + '_' + spec.id) + '{' + inner + '}');\n });\n\n inserted[spec.id] = true;\n })();\n }\n}\ncss.keyframes = function (name, kfs) {\n if (!kfs) {\n kfs = name, name = 'animation';\n }\n\n // do not ignore empty keyframe definitions for now.\n kfs = (0, _clean2.default)(kfs) || {};\n var spec = {\n id: hashify(name, kfs),\n type: 'keyframes',\n name: name,\n keyframes: kfs\n };\n register(spec);\n insertKeyframe(spec);\n return name + '_' + spec.id;\n};\n\n// we don't go all out for fonts as much, giving a simple font loading strategy\n// use a fancier lib if you need moar power\ncss.fontFace = function (font) {\n font = (0, _clean2.default)(font);\n var spec = {\n id: hashify(font),\n type: 'font-face',\n font: font\n };\n register(spec);\n insertFontFace(spec);\n\n return font.fontFamily;\n};\n\nvar fontFace = exports.fontFace = css.fontFace;\nvar keyframes = exports.keyframes = css.keyframes;\n\nfunction insertFontFace(spec) {\n if (!inserted[spec.id]) {\n styleSheet.insert('@font-face{' + (0, _CSSPropertyOperations.createMarkupForStyles)(spec.font) + '}');\n inserted[spec.id] = true;\n }\n}\n\n// rehydrate the insertion cache with ids sent from\n// renderStatic / renderStaticOptimized\nfunction rehydrate(ids) {\n // load up ids\n (0, _objectAssign2.default)(inserted, ids.reduce(function (o, i) {\n return o[i] = true, o;\n }, {}));\n // assume css loaded separately\n}\n\n// clears out the cache and empties the stylesheet\n// best for tests, though there might be some value for SSR.\n\nfunction flush() {\n inserted = styleSheet.inserted = {};\n registered = styleSheet.registered = {};\n ruleCache = {};\n styleSheet.flush();\n styleSheet.inject();\n}\n\nfunction warnAboutPresetsDeprecation() {\n if (isDev) {\n console.warn('[Deprecation] In glamor v3 the `presets` object will be removed. See https://github.com/threepointone/glamor/issues/213 for more information.');\n }\n}\n\nvar presets = exports.presets = {\n get mobile() {\n warnAboutPresetsDeprecation();\n return '(min-width: 400px)';\n },\n get Mobile() {\n warnAboutPresetsDeprecation();\n return '@media (min-width: 400px)';\n },\n get phablet() {\n warnAboutPresetsDeprecation();\n return '(min-width: 550px)';\n },\n get Phablet() {\n warnAboutPresetsDeprecation();\n return '@media (min-width: 550px)';\n },\n get tablet() {\n warnAboutPresetsDeprecation();\n return '(min-width: 750px)';\n },\n get Tablet() {\n warnAboutPresetsDeprecation();\n return '@media (min-width: 750px)';\n },\n get desktop() {\n warnAboutPresetsDeprecation();\n return '(min-width: 1000px)';\n },\n get Desktop() {\n warnAboutPresetsDeprecation();\n return '@media (min-width: 1000px)';\n },\n get hd() {\n warnAboutPresetsDeprecation();\n return '(min-width: 1200px)';\n },\n get Hd() {\n warnAboutPresetsDeprecation();\n return '@media (min-width: 1200px)';\n }\n};\n\nvar style = exports.style = css;\n\nfunction select(selector) {\n for (var _len4 = arguments.length, styles = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n styles[_key4 - 1] = arguments[_key4];\n }\n\n if (!selector) {\n return style(styles);\n }\n return css(_defineProperty({}, selector, styles));\n}\nvar $ = exports.$ = select;\n\nfunction parent(selector) {\n for (var _len5 = arguments.length, styles = Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n styles[_key5 - 1] = arguments[_key5];\n }\n\n return css(_defineProperty({}, selector + ' &', styles));\n}\n\nvar merge = exports.merge = css;\nvar compose = exports.compose = css;\n\nfunction media(query) {\n for (var _len6 = arguments.length, rules = Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n rules[_key6 - 1] = arguments[_key6];\n }\n\n return css(_defineProperty({}, '@media ' + query, rules));\n}\n\nfunction pseudo(selector) {\n for (var _len7 = arguments.length, styles = Array(_len7 > 1 ? _len7 - 1 : 0), _key7 = 1; _key7 < _len7; _key7++) {\n styles[_key7 - 1] = arguments[_key7];\n }\n\n return css(_defineProperty({}, selector, styles));\n}\n\n// allllll the pseudoclasses\n\nfunction active(x) {\n return pseudo(':active', x);\n}\n\nfunction any(x) {\n return pseudo(':any', x);\n}\n\nfunction checked(x) {\n return pseudo(':checked', x);\n}\n\nfunction disabled(x) {\n return pseudo(':disabled', x);\n}\n\nfunction empty(x) {\n return pseudo(':empty', x);\n}\n\nfunction enabled(x) {\n return pseudo(':enabled', x);\n}\n\nfunction _default(x) {\n return pseudo(':default', x); // note '_default' name\n}\n\nfunction first(x) {\n return pseudo(':first', x);\n}\n\nfunction firstChild(x) {\n return pseudo(':first-child', x);\n}\n\nfunction firstOfType(x) {\n return pseudo(':first-of-type', x);\n}\n\nfunction fullscreen(x) {\n return pseudo(':fullscreen', x);\n}\n\nfunction focus(x) {\n return pseudo(':focus', x);\n}\n\nfunction hover(x) {\n return pseudo(':hover', x);\n}\n\nfunction indeterminate(x) {\n return pseudo(':indeterminate', x);\n}\n\nfunction inRange(x) {\n return pseudo(':in-range', x);\n}\n\nfunction invalid(x) {\n return pseudo(':invalid', x);\n}\n\nfunction lastChild(x) {\n return pseudo(':last-child', x);\n}\n\nfunction lastOfType(x) {\n return pseudo(':last-of-type', x);\n}\n\nfunction left(x) {\n return pseudo(':left', x);\n}\n\nfunction link(x) {\n return pseudo(':link', x);\n}\n\nfunction onlyChild(x) {\n return pseudo(':only-child', x);\n}\n\nfunction onlyOfType(x) {\n return pseudo(':only-of-type', x);\n}\n\nfunction optional(x) {\n return pseudo(':optional', x);\n}\n\nfunction outOfRange(x) {\n return pseudo(':out-of-range', x);\n}\n\nfunction readOnly(x) {\n return pseudo(':read-only', x);\n}\n\nfunction readWrite(x) {\n return pseudo(':read-write', x);\n}\n\nfunction required(x) {\n return pseudo(':required', x);\n}\n\nfunction right(x) {\n return pseudo(':right', x);\n}\n\nfunction root(x) {\n return pseudo(':root', x);\n}\n\nfunction scope(x) {\n return pseudo(':scope', x);\n}\n\nfunction target(x) {\n return pseudo(':target', x);\n}\n\nfunction valid(x) {\n return pseudo(':valid', x);\n}\n\nfunction visited(x) {\n return pseudo(':visited', x);\n}\n\n// parameterized pseudoclasses\nfunction dir(p, x) {\n return pseudo(':dir(' + p + ')', x);\n}\nfunction lang(p, x) {\n return pseudo(':lang(' + p + ')', x);\n}\nfunction not(p, x) {\n // should this be a plugin?\n var selector = p.split(',').map(function (x) {\n return x.trim();\n }).map(function (x) {\n return ':not(' + x + ')';\n });\n if (selector.length === 1) {\n return pseudo(':not(' + p + ')', x);\n }\n return select(selector.join(''), x);\n}\nfunction nthChild(p, x) {\n return pseudo(':nth-child(' + p + ')', x);\n}\nfunction nthLastChild(p, x) {\n return pseudo(':nth-last-child(' + p + ')', x);\n}\nfunction nthLastOfType(p, x) {\n return pseudo(':nth-last-of-type(' + p + ')', x);\n}\nfunction nthOfType(p, x) {\n return pseudo(':nth-of-type(' + p + ')', x);\n}\n\n// pseudoelements\nfunction after(x) {\n return pseudo('::after', x);\n}\nfunction before(x) {\n return pseudo('::before', x);\n}\nfunction firstLetter(x) {\n return pseudo('::first-letter', x);\n}\nfunction firstLine(x) {\n return pseudo('::first-line', x);\n}\nfunction selection(x) {\n return pseudo('::selection', x);\n}\nfunction backdrop(x) {\n return pseudo('::backdrop', x);\n}\nfunction placeholder(x) {\n // https://github.com/threepointone/glamor/issues/14\n return css({ '::placeholder': x });\n}\n\n/*** helpers for web components ***/\n// https://github.com/threepointone/glamor/issues/16\n\nfunction cssFor() {\n for (var _len8 = arguments.length, rules = Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n rules[_key8] = arguments[_key8];\n }\n\n rules = (0, _clean2.default)(rules);\n return rules ? rules.map(function (r) {\n var style = { label: [] };\n build(style, { src: r }); // mutative! but worth it. \n return deconstructedStyleToCSS(hashify(style), deconstruct(style)).join('');\n }).join('') : '';\n}\n\nfunction attribsFor() {\n for (var _len9 = arguments.length, rules = Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {\n rules[_key9] = arguments[_key9];\n }\n\n rules = (0, _clean2.default)(rules);\n var htmlAttributes = rules ? rules.map(function (rule) {\n idFor(rule); // throwaway check for rule\n var key = Object.keys(rule)[0],\n value = rule[key];\n return key + '=\"' + (value || '') + '\"';\n }).join(' ') : '';\n\n return htmlAttributes;\n}"
|
|
},
|
|
{
|
|
"id": 72,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\object-assign\\index.js",
|
|
"name": "./~/object-assign/index.js",
|
|
"index": 72,
|
|
"index2": 55,
|
|
"size": 2108,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "object-assign",
|
|
"loc": "70:20-44"
|
|
},
|
|
{
|
|
"moduleId": 73,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\sheet.js",
|
|
"module": "./~/glamor/lib/sheet.js",
|
|
"moduleName": "./~/glamor/lib/sheet.js",
|
|
"type": "cjs require",
|
|
"userRequest": "object-assign",
|
|
"loc": "8:20-44"
|
|
},
|
|
{
|
|
"moduleId": 83,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\plugins.js",
|
|
"module": "./~/glamor/lib/plugins.js",
|
|
"moduleName": "./~/glamor/lib/plugins.js",
|
|
"type": "cjs require",
|
|
"userRequest": "object-assign",
|
|
"loc": "13:20-44"
|
|
},
|
|
{
|
|
"moduleId": 119,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\theme.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/theme.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/theme.js",
|
|
"type": "cjs require",
|
|
"userRequest": "object-assign",
|
|
"loc": "3:13-37"
|
|
}
|
|
],
|
|
"source": "/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n"
|
|
},
|
|
{
|
|
"id": 73,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\sheet.js",
|
|
"name": "./~/glamor/lib/sheet.js",
|
|
"index": 73,
|
|
"index2": 56,
|
|
"size": 7404,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./sheet.js",
|
|
"loc": "74:13-34"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.StyleSheet = StyleSheet;\n\nvar _objectAssign = require('object-assign');\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/* \n\nhigh performance StyleSheet for css-in-js systems \n\n- uses multiple style tags behind the scenes for millions of rules \n- uses `insertRule` for appending in production for *much* faster performance\n- 'polyfills' on server side \n\n\n// usage\n\nimport StyleSheet from 'glamor/lib/sheet'\nlet styleSheet = new StyleSheet()\n\nstyleSheet.inject() \n- 'injects' the stylesheet into the page (or into memory if on server)\n\nstyleSheet.insert('#box { border: 1px solid red; }') \n- appends a css rule into the stylesheet \n\nstyleSheet.flush() \n- empties the stylesheet of all its contents\n\n\n*/\n\nfunction last(arr) {\n return arr[arr.length - 1];\n}\n\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n return tag.sheet;\n }\n\n // this weirdness brought to you by firefox \n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n return document.styleSheets[i];\n }\n }\n}\n\nvar isBrowser = typeof window !== 'undefined';\nvar isDev = process.env.NODE_ENV === 'development' || !process.env.NODE_ENV; //(x => (x === 'development') || !x)(process.env.NODE_ENV)\nvar isTest = process.env.NODE_ENV === 'test';\n\nvar oldIE = function () {\n if (isBrowser) {\n var div = document.createElement('div');\n div.innerHTML = '<!--[if lt IE 10]><i></i><![endif]-->';\n return div.getElementsByTagName('i').length === 1;\n }\n}();\n\nfunction makeStyleTag() {\n var tag = document.createElement('style');\n tag.type = 'text/css';\n tag.setAttribute('data-glamor', '');\n tag.appendChild(document.createTextNode(''));\n (document.head || document.getElementsByTagName('head')[0]).appendChild(tag);\n return tag;\n}\n\nfunction StyleSheet() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$speedy = _ref.speedy,\n speedy = _ref$speedy === undefined ? !isDev && !isTest : _ref$speedy,\n _ref$maxLength = _ref.maxLength,\n maxLength = _ref$maxLength === undefined ? isBrowser && oldIE ? 4000 : 65000 : _ref$maxLength;\n\n this.isSpeedy = speedy; // the big drawback here is that the css won't be editable in devtools\n this.sheet = undefined;\n this.tags = [];\n this.maxLength = maxLength;\n this.ctr = 0;\n}\n\n(0, _objectAssign2.default)(StyleSheet.prototype, {\n getSheet: function getSheet() {\n return sheetForTag(last(this.tags));\n },\n inject: function inject() {\n var _this = this;\n\n if (this.injected) {\n throw new Error('already injected stylesheet!');\n }\n if (isBrowser) {\n this.tags[0] = makeStyleTag();\n } else {\n // server side 'polyfill'. just enough behavior to be useful.\n this.sheet = {\n cssRules: [],\n insertRule: function insertRule(rule) {\n // enough 'spec compliance' to be able to extract the rules later \n // in other words, just the cssText field \n _this.sheet.cssRules.push({ cssText: rule });\n }\n };\n }\n this.injected = true;\n },\n speedy: function speedy(bool) {\n if (this.ctr !== 0) {\n throw new Error('cannot change speedy mode after inserting any rule to sheet. Either call speedy(' + bool + ') earlier in your app, or call flush() before speedy(' + bool + ')');\n }\n this.isSpeedy = !!bool;\n },\n _insert: function _insert(rule) {\n // this weirdness for perf, and chrome's weird bug \n // https://stackoverflow.com/questions/20007992/chrome-suddenly-stopped-accepting-insertrule\n try {\n var sheet = this.getSheet();\n sheet.insertRule(rule, rule.indexOf('@import') !== -1 ? 0 : sheet.cssRules.length);\n } catch (e) {\n if (isDev) {\n // might need beter dx for this \n console.warn('whoops, illegal rule inserted', rule); //eslint-disable-line no-console\n }\n }\n },\n insert: function insert(rule) {\n\n if (isBrowser) {\n // this is the ultrafast version, works across browsers \n if (this.isSpeedy && this.getSheet().insertRule) {\n this._insert(rule);\n }\n // more browser weirdness. I don't even know \n // else if(this.tags.length > 0 && this.tags::last().styleSheet) { \n // this.tags::last().styleSheet.cssText+= rule\n // }\n else {\n if (rule.indexOf('@import') !== -1) {\n var tag = last(this.tags);\n tag.insertBefore(document.createTextNode(rule), tag.firstChild);\n } else {\n last(this.tags).appendChild(document.createTextNode(rule));\n }\n }\n } else {\n // server side is pretty simple \n this.sheet.insertRule(rule, rule.indexOf('@import') !== -1 ? 0 : this.sheet.cssRules.length);\n }\n\n this.ctr++;\n if (isBrowser && this.ctr % this.maxLength === 0) {\n this.tags.push(makeStyleTag());\n }\n return this.ctr - 1;\n },\n\n // commenting this out till we decide on v3's decision \n // _replace(index, rule) {\n // // this weirdness for perf, and chrome's weird bug \n // // https://stackoverflow.com/questions/20007992/chrome-suddenly-stopped-accepting-insertrule\n // try { \n // let sheet = this.getSheet() \n // sheet.deleteRule(index) // todo - correct index here \n // sheet.insertRule(rule, index)\n // }\n // catch(e) {\n // if(isDev) {\n // // might need beter dx for this \n // console.warn('whoops, problem replacing rule', rule) //eslint-disable-line no-console\n // } \n // } \n\n // }\n // replace(index, rule) {\n // if(isBrowser) {\n // if(this.isSpeedy && this.getSheet().insertRule) {\n // this._replace(index, rule)\n // }\n // else {\n // let _slot = Math.floor((index + this.maxLength) / this.maxLength) - 1 \n // let _index = (index % this.maxLength) + 1\n // let tag = this.tags[_slot]\n // tag.replaceChild(document.createTextNode(rule), tag.childNodes[_index])\n // }\n // }\n // else {\n // let rules = this.sheet.cssRules\n // this.sheet.cssRules = [ ...rules.slice(0, index), { cssText: rule }, ...rules.slice(index + 1) ]\n // }\n // }\n delete: function _delete(index) {\n // we insert a blank rule when 'deleting' so previously returned indexes remain stable\n return this.replace(index, '');\n },\n flush: function flush() {\n if (isBrowser) {\n this.tags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.sheet = null;\n this.ctr = 0;\n // todo - look for remnants in document.styleSheets\n } else {\n // simpler on server \n this.sheet.cssRules = [];\n }\n this.injected = false;\n },\n rules: function rules() {\n if (!isBrowser) {\n return this.sheet.cssRules;\n }\n var arr = [];\n this.tags.forEach(function (tag) {\n return arr.splice.apply(arr, [arr.length, 0].concat(_toConsumableArray(Array.from(sheetForTag(tag).cssRules))));\n });\n return arr;\n }\n});"
|
|
},
|
|
{
|
|
"id": 74,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"name": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"index": 74,
|
|
"index2": 64,
|
|
"size": 6795,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CSSPropertyOperations",
|
|
"loc": "76:29-63"
|
|
},
|
|
{
|
|
"moduleId": 83,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\plugins.js",
|
|
"module": "./~/glamor/lib/plugins.js",
|
|
"moduleName": "./~/glamor/lib/plugins.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CSSPropertyOperations",
|
|
"loc": "17:29-63"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.processStyleName = undefined;\nexports.createMarkupForStyles = createMarkupForStyles;\n\nvar _camelizeStyleName = require('fbjs/lib/camelizeStyleName');\n\nvar _camelizeStyleName2 = _interopRequireDefault(_camelizeStyleName);\n\nvar _dangerousStyleValue = require('./dangerousStyleValue');\n\nvar _dangerousStyleValue2 = _interopRequireDefault(_dangerousStyleValue);\n\nvar _hyphenateStyleName = require('fbjs/lib/hyphenateStyleName');\n\nvar _hyphenateStyleName2 = _interopRequireDefault(_hyphenateStyleName);\n\nvar _memoizeStringOnly = require('fbjs/lib/memoizeStringOnly');\n\nvar _memoizeStringOnly2 = _interopRequireDefault(_memoizeStringOnly);\n\nvar _warning = require('fbjs/lib/warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar processStyleName = exports.processStyleName = (0, _memoizeStringOnly2.default)(_hyphenateStyleName2.default); /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CSSPropertyOperations\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var warnValidStyle;\n\n (function () {\n // 'msTransform' is correct, but the other prefixes should be capitalized\n var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;\n\n // style values shouldn't contain a semicolon\n var badStyleValueWithSemicolonPattern = /;\\s*$/;\n\n var warnedStyleNames = {};\n var warnedStyleValues = {};\n var warnedForNaNValue = false;\n\n var warnHyphenatedStyleName = function warnHyphenatedStyleName(name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'Unsupported style property %s. Did you mean %s?%s', name, (0, _camelizeStyleName2.default)(name), checkRenderMessage(owner)) : void 0;\n };\n\n var warnBadVendoredStyleName = function warnBadVendoredStyleName(name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?%s', name, name.charAt(0).toUpperCase() + name.slice(1), checkRenderMessage(owner)) : void 0;\n };\n\n var warnStyleValueWithSemicolon = function warnStyleValueWithSemicolon(name, value, owner) {\n if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {\n return;\n }\n\n warnedStyleValues[value] = true;\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'Style property values shouldn\\'t contain a semicolon.%s ' + 'Try \"%s: %s\" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0;\n };\n\n var warnStyleValueIsNaN = function warnStyleValueIsNaN(name, value, owner) {\n if (warnedForNaNValue) {\n return;\n }\n\n warnedForNaNValue = true;\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, '`NaN` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner)) : void 0;\n };\n\n var checkRenderMessage = function checkRenderMessage(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n };\n\n /**\n * @param {string} name\n * @param {*} value\n * @param {ReactDOMComponent} component\n */\n\n warnValidStyle = function warnValidStyle(name, value, component) {\n //eslint-disable-line no-var\n var owner = void 0;\n if (component) {\n owner = component._currentElement._owner;\n }\n if (name.indexOf('-') > -1) {\n warnHyphenatedStyleName(name, owner);\n } else if (badVendoredStyleNamePattern.test(name)) {\n warnBadVendoredStyleName(name, owner);\n } else if (badStyleValueWithSemicolonPattern.test(value)) {\n warnStyleValueWithSemicolon(name, value, owner);\n }\n\n if (typeof value === 'number' && isNaN(value)) {\n warnStyleValueIsNaN(name, value, owner);\n }\n };\n })();\n}\n\n/**\n * Serializes a mapping of style properties for use as inline styles:\n *\n * > createMarkupForStyles({width: '200px', height: 0})\n * \"width:200px;height:0;\"\n *\n * Undefined values are ignored so that declarative programming is easier.\n * The result should be HTML-escaped before insertion into the DOM.\n *\n * @param {object} styles\n * @param {ReactDOMComponent} component\n * @return {?string}\n */\n\nfunction createMarkupForStyles(styles, component) {\n var serialized = '';\n for (var styleName in styles) {\n var isCustomProp = styleName.indexOf('--') === 0;\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n var styleValue = styles[styleName];\n if (process.env.NODE_ENV !== 'production' && !isCustomProp) {\n warnValidStyle(styleName, styleValue, component);\n }\n if (styleValue != null) {\n if (isCustomProp) {\n serialized += styleName + ':' + styleValue + ';';\n } else {\n serialized += processStyleName(styleName) + ':';\n serialized += (0, _dangerousStyleValue2.default)(styleName, styleValue, component) + ';';\n }\n }\n }\n return serialized || null;\n}"
|
|
},
|
|
{
|
|
"id": 75,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\camelizeStyleName.js",
|
|
"name": "./~/fbjs/lib/camelizeStyleName.js",
|
|
"index": 75,
|
|
"index2": 58,
|
|
"size": 1001,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 74,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/camelizeStyleName",
|
|
"loc": "9:25-62"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar camelize = require('./camelize');\n\nvar msPattern = /^-ms-/;\n\n/**\n * Camelcases a hyphenated CSS property name, for example:\n *\n * > camelizeStyleName('background-color')\n * < \"backgroundColor\"\n * > camelizeStyleName('-moz-transition')\n * < \"MozTransition\"\n * > camelizeStyleName('-ms-transition')\n * < \"msTransition\"\n *\n * As Andi Smith suggests\n * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n * is converted to lowercase `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelizeStyleName(string) {\n return camelize(string.replace(msPattern, 'ms-'));\n}\n\nmodule.exports = camelizeStyleName;"
|
|
},
|
|
{
|
|
"id": 76,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\camelize.js",
|
|
"name": "./~/fbjs/lib/camelize.js",
|
|
"index": 76,
|
|
"index2": 57,
|
|
"size": 708,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\camelizeStyleName.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 75,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\camelizeStyleName.js",
|
|
"module": "./~/fbjs/lib/camelizeStyleName.js",
|
|
"moduleName": "./~/fbjs/lib/camelizeStyleName.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./camelize",
|
|
"loc": "14:15-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar _hyphenPattern = /-(.)/g;\n\n/**\n * Camelcases a hyphenated string, for example:\n *\n * > camelize('background-color')\n * < \"backgroundColor\"\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelize(string) {\n return string.replace(_hyphenPattern, function (_, character) {\n return character.toUpperCase();\n });\n}\n\nmodule.exports = camelize;"
|
|
},
|
|
{
|
|
"id": 77,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\dangerousStyleValue.js",
|
|
"name": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"index": 77,
|
|
"index2": 60,
|
|
"size": 3364,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 74,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dangerousStyleValue",
|
|
"loc": "13:27-59"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _CSSProperty = require('./CSSProperty');\n\nvar _CSSProperty2 = _interopRequireDefault(_CSSProperty);\n\nvar _warning = require('fbjs/lib/warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule dangerousStyleValue\n */\n\nvar isUnitlessNumber = _CSSProperty2.default.isUnitlessNumber;\nvar styleWarnings = {};\n\n/**\n * Convert a value into the proper css writable value. The style name `name`\n * should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} name CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @param {ReactDOMComponent} component\n * @return {string} Normalized style value with dimensions applied.\n */\nfunction dangerousStyleValue(name, value, component) {\n // Note that we've removed escapeTextForBrowser() calls here since the\n // whole string will be escaped when the attribute is injected into\n // the markup. If you provide unsafe user data here they can inject\n // arbitrary CSS which may be problematic (I couldn't repro this):\n // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n // This is not an XSS hole but instead a potential CSS injection issue\n // which has lead to a greater discussion about how we're going to\n // trust URLs moving forward. See #2115901\n\n var isEmpty = value == null || typeof value === 'boolean' || value === '';\n if (isEmpty) {\n return '';\n }\n\n var isNonNumeric = isNaN(value);\n if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) {\n return '' + value; // cast to string\n }\n\n if (typeof value === 'string') {\n if (process.env.NODE_ENV !== 'production') {\n // Allow '0' to pass through without warning. 0 is already special and\n // doesn't require units, so we don't need to warn about it.\n if (component && value !== '0') {\n var owner = component._currentElement._owner;\n var ownerName = owner ? owner.getName() : null;\n if (ownerName && !styleWarnings[ownerName]) {\n styleWarnings[ownerName] = {};\n }\n var warned = false;\n if (ownerName) {\n var warnings = styleWarnings[ownerName];\n warned = warnings[name];\n if (!warned) {\n warnings[name] = true;\n }\n }\n if (!warned) {\n process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'a `%s` tag (owner: `%s`) was passed a numeric string value ' + 'for CSS property `%s` (value: `%s`) which will be treated ' + 'as a unitless number in a future version of React.', component._currentElement.type, ownerName || 'unknown', name, value) : void 0;\n }\n }\n }\n value = value.trim();\n }\n return value + 'px';\n}\n\nexports.default = dangerousStyleValue;"
|
|
},
|
|
{
|
|
"id": 78,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\CSSProperty.js",
|
|
"name": "./~/glamor/lib/CSSPropertyOperations/CSSProperty.js",
|
|
"index": 78,
|
|
"index2": 59,
|
|
"size": 3760,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\dangerousStyleValue.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 77,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\dangerousStyleValue.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/dangerousStyleValue.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CSSProperty",
|
|
"loc": "7:19-43"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CSSProperty\n */\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\n\nvar isUnitlessNumber = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n gridRow: true,\n gridColumn: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n\n // SVG-related properties\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\n\n/**\n * @param {string} prefix vendor-specific prefix, eg: Webkit\n * @param {string} key style name, eg: transitionDuration\n * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n * WebkitTransitionDuration\n */\nfunction prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n}\n\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n */\nvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\n// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n// infinite loop, because it iterates over the newly added props too.\nObject.keys(isUnitlessNumber).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n });\n});\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See http://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n background: {\n backgroundAttachment: true,\n backgroundColor: true,\n backgroundImage: true,\n backgroundPositionX: true,\n backgroundPositionY: true,\n backgroundRepeat: true\n },\n backgroundPosition: {\n backgroundPositionX: true,\n backgroundPositionY: true\n },\n border: {\n borderWidth: true,\n borderStyle: true,\n borderColor: true\n },\n borderBottom: {\n borderBottomWidth: true,\n borderBottomStyle: true,\n borderBottomColor: true\n },\n borderLeft: {\n borderLeftWidth: true,\n borderLeftStyle: true,\n borderLeftColor: true\n },\n borderRight: {\n borderRightWidth: true,\n borderRightStyle: true,\n borderRightColor: true\n },\n borderTop: {\n borderTopWidth: true,\n borderTopStyle: true,\n borderTopColor: true\n },\n font: {\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n fontSize: true,\n lineHeight: true,\n fontFamily: true\n },\n outline: {\n outlineWidth: true,\n outlineStyle: true,\n outlineColor: true\n }\n};\n\nvar CSSProperty = {\n isUnitlessNumber: isUnitlessNumber,\n shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nexports.default = CSSProperty;"
|
|
},
|
|
{
|
|
"id": 79,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\hyphenateStyleName.js",
|
|
"name": "./~/fbjs/lib/hyphenateStyleName.js",
|
|
"index": 79,
|
|
"index2": 62,
|
|
"size": 974,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 74,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/hyphenateStyleName",
|
|
"loc": "17:26-64"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar hyphenate = require('./hyphenate');\n\nvar msPattern = /^ms-/;\n\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}\n\nmodule.exports = hyphenateStyleName;"
|
|
},
|
|
{
|
|
"id": 80,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\hyphenate.js",
|
|
"name": "./~/fbjs/lib/hyphenate.js",
|
|
"index": 80,
|
|
"index2": 61,
|
|
"size": 800,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\hyphenateStyleName.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 79,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\hyphenateStyleName.js",
|
|
"module": "./~/fbjs/lib/hyphenateStyleName.js",
|
|
"moduleName": "./~/fbjs/lib/hyphenateStyleName.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./hyphenate",
|
|
"loc": "14:16-38"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n * > hyphenate('backgroundColor')\n * < \"background-color\"\n *\n * For CSS style names, use `hyphenateStyleName` instead which works properly\n * with all vendor prefixes, including `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;"
|
|
},
|
|
{
|
|
"id": 81,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\fbjs\\lib\\memoizeStringOnly.js",
|
|
"name": "./~/fbjs/lib/memoizeStringOnly.js",
|
|
"index": 81,
|
|
"index2": 63,
|
|
"size": 698,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 74,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\CSSPropertyOperations\\index.js",
|
|
"module": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"moduleName": "./~/glamor/lib/CSSPropertyOperations/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "fbjs/lib/memoizeStringOnly",
|
|
"loc": "21:25-62"
|
|
}
|
|
],
|
|
"source": "/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n */\n\nfunction memoizeStringOnly(callback) {\n var cache = {};\n return function (string) {\n if (!cache.hasOwnProperty(string)) {\n cache[string] = callback.call(this, string);\n }\n return cache[string];\n };\n}\n\nmodule.exports = memoizeStringOnly;"
|
|
},
|
|
{
|
|
"id": 82,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\clean.js",
|
|
"name": "./~/glamor/lib/clean.js",
|
|
"index": 82,
|
|
"index2": 65,
|
|
"size": 1854,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./clean.js",
|
|
"loc": "78:13-34"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.default = clean;\n// Returns true for null, false, undefined and {}\nfunction isFalsy(value) {\n return value === null || value === undefined || value === false || (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && Object.keys(value).length === 0;\n}\n\nfunction cleanObject(object) {\n if (isFalsy(object)) return null;\n if ((typeof object === 'undefined' ? 'undefined' : _typeof(object)) !== 'object') return object;\n\n var acc = {},\n keys = Object.keys(object),\n hasFalsy = false;\n for (var i = 0; i < keys.length; i++) {\n var value = object[keys[i]];\n var filteredValue = clean(value);\n if (filteredValue === null || filteredValue !== value) {\n hasFalsy = true;\n }\n if (filteredValue !== null) {\n acc[keys[i]] = filteredValue;\n }\n }\n return Object.keys(acc).length === 0 ? null : hasFalsy ? acc : object;\n}\n\nfunction cleanArray(rules) {\n var hasFalsy = false;\n var filtered = [];\n rules.forEach(function (rule) {\n var filteredRule = clean(rule);\n if (filteredRule === null || filteredRule !== rule) {\n hasFalsy = true;\n }\n if (filteredRule !== null) {\n filtered.push(filteredRule);\n }\n });\n return filtered.length == 0 ? null : hasFalsy ? filtered : rules;\n}\n\n// Takes style array or object provided by user and clears all the falsy data \n// If there is no styles left after filtration returns null\nfunction clean(input) {\n return Array.isArray(input) ? cleanArray(input) : cleanObject(input);\n}"
|
|
},
|
|
{
|
|
"id": 83,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\plugins.js",
|
|
"name": "./~/glamor/lib/plugins.js",
|
|
"index": 83,
|
|
"index2": 67,
|
|
"size": 2609,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./plugins",
|
|
"loc": "82:15-35"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.PluginSet = PluginSet;\nexports.fallbacks = fallbacks;\nexports.prefixes = prefixes;\n\nvar _objectAssign = require('object-assign');\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nvar _CSSPropertyOperations = require('./CSSPropertyOperations');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isDev = function (x) {\n return x === 'development' || !x;\n}(process.env.NODE_ENV);\n\nfunction PluginSet(initial) {\n this.fns = initial || [];\n}\n\n(0, _objectAssign2.default)(PluginSet.prototype, {\n add: function add() {\n var _this = this;\n\n for (var _len = arguments.length, fns = Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n\n fns.forEach(function (fn) {\n if (_this.fns.indexOf(fn) >= 0) {\n if (isDev) {\n console.warn('adding the same plugin again, ignoring'); //eslint-disable-line no-console\n }\n } else {\n _this.fns = [fn].concat(_this.fns);\n }\n });\n },\n remove: function remove(fn) {\n this.fns = this.fns.filter(function (x) {\n return x !== fn;\n });\n },\n clear: function clear() {\n this.fns = [];\n },\n transform: function transform(o) {\n return this.fns.reduce(function (o, fn) {\n return fn(o);\n }, o);\n }\n});\n\nfunction fallbacks(node) {\n var hasArray = Object.keys(node.style).map(function (x) {\n return Array.isArray(node.style[x]);\n }).indexOf(true) >= 0;\n if (hasArray) {\n var _ret = function () {\n var style = node.style;\n\n var flattened = Object.keys(style).reduce(function (o, key) {\n o[key] = Array.isArray(style[key]) ? style[key].join('; ' + (0, _CSSPropertyOperations.processStyleName)(key) + ': ') : style[key];\n return o;\n }, {});\n // todo - \n // flatten arrays which haven't been flattened yet \n return {\n v: (0, _objectAssign2.default)({}, node, { style: flattened })\n };\n }();\n\n if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n }\n return node;\n}\n\nvar prefixAll = require('./inline-style-prefix-all/index.js');\n\nfunction prefixes(node) {\n return (0, _objectAssign2.default)({}, node, { style: prefixAll(node.style) });\n}"
|
|
},
|
|
{
|
|
"id": 84,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\inline-style-prefix-all\\index.js",
|
|
"name": "./~/glamor/lib/inline-style-prefix-all/index.js",
|
|
"index": 84,
|
|
"index2": 66,
|
|
"size": 14601,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\plugins.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 83,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\plugins.js",
|
|
"module": "./~/glamor/lib/plugins.js",
|
|
"moduleName": "./~/glamor/lib/plugins.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./inline-style-prefix-all/index.js",
|
|
"loc": "86:16-61"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n(function (global, factory) {\n (typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.InlineStylePrefixAll = factory();\n})(undefined, function () {\n 'use strict';\n\n var babelHelpers = {};\n\n babelHelpers.classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n };\n\n babelHelpers.createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n babelHelpers.defineProperty = function (obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n };\n\n babelHelpers;\n\n function __commonjs(fn, module) {\n return module = { exports: {} }, fn(module, module.exports), module.exports;\n }\n\n var prefixProps = { \"Webkit\": { \"transform\": true, \"transformOrigin\": true, \"transformOriginX\": true, \"transformOriginY\": true, \"backfaceVisibility\": true, \"perspective\": true, \"perspectiveOrigin\": true, \"transformStyle\": true, \"transformOriginZ\": true, \"animation\": true, \"animationDelay\": true, \"animationDirection\": true, \"animationFillMode\": true, \"animationDuration\": true, \"animationIterationCount\": true, \"animationName\": true, \"animationPlayState\": true, \"animationTimingFunction\": true, \"appearance\": true, \"userSelect\": true, \"fontKerning\": true, \"textEmphasisPosition\": true, \"textEmphasis\": true, \"textEmphasisStyle\": true, \"textEmphasisColor\": true, \"boxDecorationBreak\": true, \"clipPath\": true, \"maskImage\": true, \"maskMode\": true, \"maskRepeat\": true, \"maskPosition\": true, \"maskClip\": true, \"maskOrigin\": true, \"maskSize\": true, \"maskComposite\": true, \"mask\": true, \"maskBorderSource\": true, \"maskBorderMode\": true, \"maskBorderSlice\": true, \"maskBorderWidth\": true, \"maskBorderOutset\": true, \"maskBorderRepeat\": true, \"maskBorder\": true, \"maskType\": true, \"textDecorationStyle\": true, \"textDecorationSkip\": true, \"textDecorationLine\": true, \"textDecorationColor\": true, \"filter\": true, \"fontFeatureSettings\": true, \"breakAfter\": true, \"breakBefore\": true, \"breakInside\": true, \"columnCount\": true, \"columnFill\": true, \"columnGap\": true, \"columnRule\": true, \"columnRuleColor\": true, \"columnRuleStyle\": true, \"columnRuleWidth\": true, \"columns\": true, \"columnSpan\": true, \"columnWidth\": true, \"flex\": true, \"flexBasis\": true, \"flexDirection\": true, \"flexGrow\": true, \"flexFlow\": true, \"flexShrink\": true, \"flexWrap\": true, \"alignContent\": true, \"alignItems\": true, \"alignSelf\": true, \"justifyContent\": true, \"order\": true, \"backdropFilter\": true, \"scrollSnapType\": true, \"scrollSnapPointsX\": true, \"scrollSnapPointsY\": true, \"scrollSnapDestination\": true, \"scrollSnapCoordinate\": true, \"shapeImageThreshold\": true, \"shapeImageMargin\": true, \"shapeImageOutside\": true, \"hyphens\": true, \"flowInto\": true, \"flowFrom\": true, \"regionFragment\": true, \"textSizeAdjust\": true, \"transition\": true, \"transitionDelay\": true, \"transitionDuration\": true, \"transitionProperty\": true, \"transitionTimingFunction\": true }, \"Moz\": { \"appearance\": true, \"userSelect\": true, \"boxSizing\": true, \"textAlignLast\": true, \"textDecorationStyle\": true, \"textDecorationSkip\": true, \"textDecorationLine\": true, \"textDecorationColor\": true, \"tabSize\": true, \"hyphens\": true, \"fontFeatureSettings\": true, \"breakAfter\": true, \"breakBefore\": true, \"breakInside\": true, \"columnCount\": true, \"columnFill\": true, \"columnGap\": true, \"columnRule\": true, \"columnRuleColor\": true, \"columnRuleStyle\": true, \"columnRuleWidth\": true, \"columns\": true, \"columnSpan\": true, \"columnWidth\": true }, \"ms\": { \"flex\": true, \"flexBasis\": false, \"flexDirection\": true, \"flexGrow\": false, \"flexFlow\": true, \"flexShrink\": false, \"flexWrap\": true, \"alignContent\": false, \"alignItems\": false, \"alignSelf\": false, \"justifyContent\": false, \"order\": false, \"userSelect\": true, \"wrapFlow\": true, \"wrapThrough\": true, \"wrapMargin\": true, \"scrollSnapType\": true, \"scrollSnapPointsX\": true, \"scrollSnapPointsY\": true, \"scrollSnapDestination\": true, \"scrollSnapCoordinate\": true, \"touchAction\": true, \"hyphens\": true, \"flowInto\": true, \"flowFrom\": true, \"breakBefore\": true, \"breakAfter\": true, \"breakInside\": true, \"regionFragment\": true, \"gridTemplateColumns\": true, \"gridTemplateRows\": true, \"gridTemplateAreas\": true, \"gridTemplate\": true, \"gridAutoColumns\": true, \"gridAutoRows\": true, \"gridAutoFlow\": true, \"grid\": true, \"gridRowStart\": true, \"gridColumnStart\": true, \"gridRowEnd\": true, \"gridRow\": true, \"gridColumn\": true, \"gridColumnEnd\": true, \"gridColumnGap\": true, \"gridRowGap\": true, \"gridArea\": true, \"gridGap\": true, \"textSizeAdjust\": true } };\n\n // helper to capitalize strings\n var capitalizeString = function capitalizeString(str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n };\n\n var isPrefixedProperty = function isPrefixedProperty(property) {\n return property.match(/^(Webkit|Moz|O|ms)/) !== null;\n };\n\n function sortPrefixedStyle(style) {\n return Object.keys(style).sort(function (left, right) {\n if (isPrefixedProperty(left) && !isPrefixedProperty(right)) {\n return -1;\n } else if (!isPrefixedProperty(left) && isPrefixedProperty(right)) {\n return 1;\n }\n return 0;\n }).reduce(function (sortedStyle, prop) {\n sortedStyle[prop] = style[prop];\n return sortedStyle;\n }, {});\n }\n\n function position(property, value) {\n if (property === 'position' && value === 'sticky') {\n return { position: ['-webkit-sticky', 'sticky'] };\n }\n }\n\n // returns a style object with a single concated prefixed value string\n var joinPrefixedValue = function joinPrefixedValue(property, value) {\n var replacer = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (prefix, value) {\n return prefix + value;\n };\n return babelHelpers.defineProperty({}, property, ['-webkit-', '-moz-', ''].map(function (prefix) {\n return replacer(prefix, value);\n }));\n };\n\n var isPrefixedValue = function isPrefixedValue(value) {\n if (Array.isArray(value)) value = value.join(',');\n\n return value.match(/-webkit-|-moz-|-ms-/) !== null;\n };\n\n function calc(property, value) {\n if (typeof value === 'string' && !isPrefixedValue(value) && value.indexOf('calc(') > -1) {\n return joinPrefixedValue(property, value, function (prefix, value) {\n return value.replace(/calc\\(/g, prefix + 'calc(');\n });\n }\n }\n\n var values = {\n 'zoom-in': true,\n 'zoom-out': true,\n grab: true,\n grabbing: true\n };\n\n function cursor(property, value) {\n if (property === 'cursor' && values[value]) {\n return joinPrefixedValue(property, value);\n }\n }\n\n var values$1 = { flex: true, 'inline-flex': true };\n\n function flex(property, value) {\n if (property === 'display' && values$1[value]) {\n return {\n display: ['-webkit-box', '-moz-box', '-ms-' + value + 'box', '-webkit-' + value, value]\n };\n }\n }\n\n var properties = {\n maxHeight: true,\n maxWidth: true,\n width: true,\n height: true,\n columnWidth: true,\n minWidth: true,\n minHeight: true\n };\n var values$2 = {\n 'min-content': true,\n 'max-content': true,\n 'fill-available': true,\n 'fit-content': true,\n 'contain-floats': true\n };\n\n function sizing(property, value) {\n if (properties[property] && values$2[value]) {\n return joinPrefixedValue(property, value);\n }\n }\n\n var values$3 = /linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;\n\n function gradient(property, value) {\n if (typeof value === 'string' && !isPrefixedValue(value) && value.match(values$3) !== null) {\n return joinPrefixedValue(property, value);\n }\n }\n\n var index = __commonjs(function (module) {\n 'use strict';\n\n var uppercasePattern = /[A-Z]/g;\n var msPattern = /^ms-/;\n var cache = {};\n\n function hyphenateStyleName(string) {\n return string in cache ? cache[string] : cache[string] = string.replace(uppercasePattern, '-$&').toLowerCase().replace(msPattern, '-ms-');\n }\n\n module.exports = hyphenateStyleName;\n });\n\n var hyphenateStyleName = index && (typeof index === 'undefined' ? 'undefined' : _typeof(index)) === 'object' && 'default' in index ? index['default'] : index;\n\n var properties$1 = {\n transition: true,\n transitionProperty: true,\n WebkitTransition: true,\n WebkitTransitionProperty: true\n };\n\n function transition(property, value) {\n // also check for already prefixed transitions\n if (typeof value === 'string' && properties$1[property]) {\n var _ref2;\n\n var outputValue = prefixValue(value);\n var webkitOutput = outputValue.split(/,(?![^()]*(?:\\([^()]*\\))?\\))/g).filter(function (value) {\n return value.match(/-moz-|-ms-/) === null;\n }).join(',');\n\n // if the property is already prefixed\n if (property.indexOf('Webkit') > -1) {\n return babelHelpers.defineProperty({}, property, webkitOutput);\n }\n\n return _ref2 = {}, babelHelpers.defineProperty(_ref2, 'Webkit' + capitalizeString(property), webkitOutput), babelHelpers.defineProperty(_ref2, property, outputValue), _ref2;\n }\n }\n\n function prefixValue(value) {\n if (isPrefixedValue(value)) {\n return value;\n }\n\n // only split multi values, not cubic beziers\n var multipleValues = value.split(/,(?![^()]*(?:\\([^()]*\\))?\\))/g);\n\n // iterate each single value and check for transitioned properties\n // that need to be prefixed as well\n multipleValues.forEach(function (val, index) {\n multipleValues[index] = Object.keys(prefixProps).reduce(function (out, prefix) {\n var dashCasePrefix = '-' + prefix.toLowerCase() + '-';\n\n Object.keys(prefixProps[prefix]).forEach(function (prop) {\n var dashCaseProperty = hyphenateStyleName(prop);\n\n if (val.indexOf(dashCaseProperty) > -1 && dashCaseProperty !== 'order') {\n // join all prefixes and create a new value\n out = val.replace(dashCaseProperty, dashCasePrefix + dashCaseProperty) + ',' + out;\n }\n });\n return out;\n }, val);\n });\n\n return multipleValues.join(',');\n }\n\n var alternativeValues = {\n 'space-around': 'distribute',\n 'space-between': 'justify',\n 'flex-start': 'start',\n 'flex-end': 'end'\n };\n var alternativeProps = {\n alignContent: 'msFlexLinePack',\n alignSelf: 'msFlexItemAlign',\n alignItems: 'msFlexAlign',\n justifyContent: 'msFlexPack',\n order: 'msFlexOrder',\n flexGrow: 'msFlexPositive',\n flexShrink: 'msFlexNegative',\n flexBasis: 'msPreferredSize'\n };\n\n function flexboxIE(property, value) {\n if (alternativeProps[property]) {\n return babelHelpers.defineProperty({}, alternativeProps[property], alternativeValues[value] || value);\n }\n }\n\n var alternativeValues$1 = {\n 'space-around': 'justify',\n 'space-between': 'justify',\n 'flex-start': 'start',\n 'flex-end': 'end',\n 'wrap-reverse': 'multiple',\n wrap: 'multiple'\n };\n\n var alternativeProps$1 = {\n alignItems: 'WebkitBoxAlign',\n justifyContent: 'WebkitBoxPack',\n flexWrap: 'WebkitBoxLines'\n };\n\n function flexboxOld(property, value) {\n if (property === 'flexDirection' && typeof value === 'string') {\n return {\n WebkitBoxOrient: value.indexOf('column') > -1 ? 'vertical' : 'horizontal',\n WebkitBoxDirection: value.indexOf('reverse') > -1 ? 'reverse' : 'normal'\n };\n }\n if (alternativeProps$1[property]) {\n return babelHelpers.defineProperty({}, alternativeProps$1[property], alternativeValues$1[value] || value);\n }\n }\n\n var plugins = [position, calc, cursor, sizing, gradient, transition, flexboxIE, flexboxOld, flex];\n\n /**\n * Returns a prefixed version of the style object using all vendor prefixes\n * @param {Object} styles - Style object that gets prefixed properties added\n * @returns {Object} - Style object with prefixed properties and values\n */\n function prefixAll(styles) {\n Object.keys(styles).forEach(function (property) {\n var value = styles[property];\n if (value instanceof Object && !Array.isArray(value)) {\n // recurse through nested style objects\n styles[property] = prefixAll(value);\n } else {\n Object.keys(prefixProps).forEach(function (prefix) {\n var properties = prefixProps[prefix];\n // add prefixes if needed\n if (properties[property]) {\n styles[prefix + capitalizeString(property)] = value;\n }\n });\n }\n });\n\n Object.keys(styles).forEach(function (property) {\n [].concat(styles[property]).forEach(function (value, index) {\n // resolve every special plugins\n plugins.forEach(function (plugin) {\n return assignStyles(styles, plugin(property, value));\n });\n });\n });\n\n return sortPrefixedStyle(styles);\n }\n\n function assignStyles(base) {\n var extend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n Object.keys(extend).forEach(function (property) {\n var baseValue = base[property];\n if (Array.isArray(baseValue)) {\n [].concat(extend[property]).forEach(function (value) {\n var valueIndex = baseValue.indexOf(value);\n if (valueIndex > -1) {\n base[property].splice(valueIndex, 1);\n }\n base[property].push(value);\n });\n } else {\n base[property] = extend[property];\n }\n });\n }\n\n return prefixAll;\n});"
|
|
},
|
|
{
|
|
"id": 85,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\hash.js",
|
|
"name": "./~/glamor/lib/hash.js",
|
|
"index": 85,
|
|
"index2": 68,
|
|
"size": 1354,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 71,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\glamor\\lib\\index.js",
|
|
"module": "./~/glamor/lib/index.js",
|
|
"moduleName": "./~/glamor/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./hash",
|
|
"loc": "84:12-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = doHash;\n// murmurhash2 via https://gist.github.com/raycmorgan/588423\n\nfunction doHash(str, seed) {\n var m = 0x5bd1e995;\n var r = 24;\n var h = seed ^ str.length;\n var length = str.length;\n var currentIndex = 0;\n\n while (length >= 4) {\n var k = UInt32(str, currentIndex);\n\n k = Umul32(k, m);\n k ^= k >>> r;\n k = Umul32(k, m);\n\n h = Umul32(h, m);\n h ^= k;\n\n currentIndex += 4;\n length -= 4;\n }\n\n switch (length) {\n case 3:\n h ^= UInt16(str, currentIndex);\n h ^= str.charCodeAt(currentIndex + 2) << 16;\n h = Umul32(h, m);\n break;\n\n case 2:\n h ^= UInt16(str, currentIndex);\n h = Umul32(h, m);\n break;\n\n case 1:\n h ^= str.charCodeAt(currentIndex);\n h = Umul32(h, m);\n break;\n }\n\n h ^= h >>> 13;\n h = Umul32(h, m);\n h ^= h >>> 15;\n\n return h >>> 0;\n}\n\nfunction UInt32(str, pos) {\n return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8) + (str.charCodeAt(pos++) << 16) + (str.charCodeAt(pos) << 24);\n}\n\nfunction UInt16(str, pos) {\n return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8);\n}\n\nfunction Umul32(n, m) {\n n = n | 0;\n m = m | 0;\n var nlo = n & 0xffff;\n var nhi = n >>> 16;\n var res = nlo * m + ((nhi * m & 0xffff) << 16) | 0;\n return res;\n}"
|
|
},
|
|
{
|
|
"id": 86,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\rtl-css-js\\dist\\index.js",
|
|
"name": "./~/rtl-css-js/dist/index.js",
|
|
"index": 86,
|
|
"index2": 70,
|
|
"size": 12202,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 70,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"module": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"type": "cjs require",
|
|
"userRequest": "rtl-css-js",
|
|
"loc": "4:19-40"
|
|
}
|
|
],
|
|
"source": "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\n// this will be an object of properties that map to their corresponding rtl property (their doppelganger)\nvar propertiesToConvert = arrayToObject([['paddingLeft', 'paddingRight'], ['marginLeft', 'marginRight'], ['left', 'right'], ['borderLeft', 'borderRight'], ['borderLeftColor', 'borderRightColor'], ['borderLeftStyle', 'borderRightStyle'], ['borderTopLeftRadius', 'borderTopRightRadius'], ['borderBottomLeftRadius', 'borderBottomRightRadius']]);\n\n// this is the same as the propertiesToConvert except for values\nvar valuesToConvert = arrayToObject([['ltr', 'rtl'], ['left', 'right'], ['w-resize', 'e-resize'], ['sw-resize', 'se-resize'], ['nw-resize', 'ne-resize']]);\n\n// some values require a little fudging, that fudging goes here.\nvar propertyValueConverters = {\n padding: function padding(value) {\n if (isNumber(value)) {\n return value;\n }\n return handleQuartetValues(value);\n },\n textShadow: function textShadow(value) {\n // intentionally leaving off the `g` flag here because we only want to change the first number (which is the offset-x)\n return value.replace(/(-*)([.|\\d]+)/, function (match, negative, number) {\n if (number === '0') {\n return match;\n }\n var doubleNegative = negative === '' ? '-' : '';\n return '' + doubleNegative + number;\n });\n },\n borderColor: function borderColor(value) {\n return handleQuartetValues(value);\n },\n borderRadius: function borderRadius(value) {\n if (isNumber(value)) {\n return value;\n }\n if (includes(value, '/')) {\n var _value$split = value.split('/'),\n _value$split2 = _slicedToArray(_value$split, 2),\n radius1 = _value$split2[0],\n radius2 = _value$split2[1];\n\n var convertedRadius1 = propertyValueConverters.borderRadius(radius1.trim());\n var convertedRadius2 = propertyValueConverters.borderRadius(radius2.trim());\n return convertedRadius1 + ' / ' + convertedRadius2;\n }\n var splitValues = getValuesAsList(value);\n switch (splitValues.length) {\n case 2:\n {\n return splitValues.reverse().join(' ');\n }\n case 4:\n {\n var _splitValues = _slicedToArray(splitValues, 4),\n topLeft = _splitValues[0],\n topRight = _splitValues[1],\n bottomRight = _splitValues[2],\n bottomLeft = _splitValues[3];\n\n return [topRight, topLeft, bottomLeft, bottomRight].join(' ');\n }\n default:\n {\n return value;\n }\n }\n },\n background: function background(value) {\n // Yeah, this is in need of a refactor 🙃...\n // but this property is a tough cookie 🍪\n // get the backgroundPosition out of the string by removing everything that couldn't be the backgroundPosition value\n var backgroundPositionValue = value.replace(/(url\\(.*?\\))|(rgba?\\(.*?\\))|(hsl\\(.*?\\))|(#[a-fA-F0-9]+)|((^| )(\\D)+( |$))/g, '').trim();\n // replace that backgroundPosition value with the converted version\n value = value.replace(backgroundPositionValue, propertyValueConverters.backgroundPosition(backgroundPositionValue));\n // do the backgroundImage value replacing on the whole value (because why not?)\n return propertyValueConverters.backgroundImage(value);\n },\n backgroundImage: function backgroundImage(value) {\n if (!includes(value, 'url(')) {\n return value;\n }\n // sorry for the regex 😞, but basically this replaces _every_ instance of `ltr`, `rtl`, `right`, and `left` with\n // the corresponding opposite. A situation we're accepting here:\n // url('/left/right/rtl/ltr.png') will be changed to url('/right/left/ltr/rtl.png')\n // Definite trade-offs here, but I think it's a good call.\n return value.replace(/(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)/g, function (match, g1, group2) {\n return match.replace(group2, valuesToConvert[group2]);\n });\n },\n backgroundPosition: function backgroundPosition(value) {\n return value\n // intentionally only grabbing the first instance of this because that represents `left`\n .replace(/^((-|\\d|\\.)+%)/, function (match, group) {\n return calculateNewBackgroundPosition(group);\n }).replace(/(left)|(right)/, function (match) {\n return valuesToConvert[match];\n });\n },\n backgroundPositionX: function backgroundPositionX(value) {\n if (isNumber(value)) {\n return value;\n }\n return propertyValueConverters.backgroundPosition(value);\n }\n};\npropertyValueConverters.margin = propertyValueConverters.padding;\npropertyValueConverters.borderWidth = propertyValueConverters.padding;\npropertyValueConverters.boxShadow = propertyValueConverters.textShadow;\npropertyValueConverters.webkitBoxShadow = propertyValueConverters.textShadow;\npropertyValueConverters.mozBoxShadow = propertyValueConverters.textShadow;\npropertyValueConverters.borderStyle = propertyValueConverters.borderColor;\n\n// here's our main export! 👋\nexports.default = convert;\n\n/**\n * converts properties and values in the CSS in JS object to their corresponding RTL values\n * @param {Object} object the CSS in JS object\n * @return {Object} the RTL converted object\n */\n\nfunction convert(object) {\n return Object.keys(object).reduce(function (newObj, originalKey) {\n var originalValue = object[originalKey];\n if (isString(originalValue)) {\n // you're welcome to later code 😺\n originalValue = originalValue.trim();\n }\n\n var _convertProperty = convertProperty(originalKey, originalValue),\n key = _convertProperty.key,\n value = _convertProperty.value;\n\n newObj[key] = value;\n return newObj;\n }, {});\n}\n\n/**\n * Converts a property and its value to the corresponding RTL key and value\n * @param {String} originalKey the original property key\n * @param {Number|String|Object} originalValue the original css property value\n * @return {Object} the new {key, value} pair\n */\nfunction convertProperty(originalKey, originalValue) {\n var isNoFlip = /\\/\\*\\s?@noflip\\s?\\*\\//.test(originalValue);\n var key = isNoFlip ? originalKey : getPropertyDoppelganger(originalKey);\n var value = isNoFlip ? originalValue : getValueDoppelganger(key, originalValue);\n return { key: key, value: value };\n}\n\n/**\n * This gets the RTL version of the given property if it has a corresponding RTL property\n * @param {String} property the name of the property\n * @return {String} the name of the RTL property\n */\nfunction getPropertyDoppelganger(property) {\n return propertiesToConvert[property] || property;\n}\n\n/**\n * This converts the given value to the RTL version of that value based on the key\n * @param {String} key this is the key (note: this should be the RTL version of the originalKey)\n * @param {String|Number|Object} originalValue the original css property value. If it's an object, then we'll convert that as well\n * @return {String|Number|Object} the converted value\n */\nfunction getValueDoppelganger(key, originalValue) {\n /* eslint complexity:[2, 7] */ // let's try to keep the complexity down... If we have to do this much more, let's break this up\n if (isObject(originalValue)) {\n return convert(originalValue); // recurssion 🌀\n }\n var isNum = isNumber(originalValue);\n var importantlessValue = isNum ? originalValue : originalValue.replace(/ !important.*?$/, '');\n var isImportant = !isNum && importantlessValue.length !== originalValue.length;\n var valueConverter = propertyValueConverters[key];\n var newValue = void 0;\n if (valueConverter) {\n newValue = valueConverter(importantlessValue);\n } else {\n newValue = valuesToConvert[importantlessValue] || importantlessValue;\n }\n if (isImportant) {\n return newValue + ' !important';\n }\n return newValue;\n}\n\n/**\n * This takes a list of CSS values and converts it to an array\n * @param {String} value - something like `1px`, `1px 2em`, or `3pt rgb(150, 230, 550) 40px calc(100% - 5px)`\n * @return {Array} the split values (for example: `['3pt', 'rgb(150, 230, 550)', '40px', 'calc(100% - 5px)']`)\n */\nfunction getValuesAsList(value) {\n return value.replace(/ +/g, ' ') // remove all extraneous spaces\n .split(' ').map(function (i) {\n return i.trim();\n }) // get rid of extra space before/after each item\n .filter(Boolean) // get rid of empty strings\n // join items which are within parenthese\n // luckily `calc (100% - 5px)` is invalid syntax and it must be `calc(100% - 5px)`, otherwise this would be even more complex\n .reduce(function (_ref, item) {\n var list = _ref.list,\n state = _ref.state;\n\n var openParansCount = (item.match(/\\(/g) || []).length;\n var closedParansCount = (item.match(/\\)/g) || []).length;\n if (state.parensDepth > 0) {\n list[list.length - 1] = list[list.length - 1] + ' ' + item;\n } else {\n list.push(item);\n }\n state.parensDepth += openParansCount - closedParansCount;\n return { list: list, state: state };\n }, { list: [], state: { parensDepth: 0 } }).list;\n}\n\n/**\n * This is intended for properties that are `top right bottom left` and will switch them to `top left bottom right`\n * @param {String} value - `1px 2px 3px 4px` for example, but also handles cases where there are too few/too many and\n * simply returns the value in those cases (which is the correct behavior)\n * @return {String} the result - `1px 4px 3px 2px` for example.\n */\nfunction handleQuartetValues(value) {\n var splitValues = getValuesAsList(value);\n if (splitValues.length <= 3 || splitValues.length > 4) {\n return value;\n }\n\n var _splitValues2 = _slicedToArray(splitValues, 4),\n top = _splitValues2[0],\n right = _splitValues2[1],\n bottom = _splitValues2[2],\n left = _splitValues2[3];\n\n return [top, left, bottom, right].join(' ');\n}\n\n/**\n * Takes a percentage for background position and inverts it.\n * This was copied and modified from CSSJanus:\n * https://github.com/cssjanus/cssjanus/blob/4245f834365f6cfb0239191a151432fb85abab23/src/cssjanus.js#L152-L175\n * @param {String} value - the original value (for example 77%)\n * @return {String} the result (for example 23%)\n */\nfunction calculateNewBackgroundPosition(value) {\n var idx = value.indexOf('.');\n if (idx === -1) {\n value = 100 - parseFloat(value) + '%';\n } else {\n // Two off, one for the \"%\" at the end, one for the dot itself\n var len = value.length - idx - 2;\n value = 100 - parseFloat(value);\n value = value.toFixed(len) + '%';\n }\n return value;\n}\n\n/**\n * Takes an array of [keyValue1, keyValue2] pairs and creates an object of {keyValue1: keyValue2, keyValue2: keyValue1}\n * @param {Array} array the array of pairs\n * @return {Object} the {key, value} pair object\n */\nfunction arrayToObject(array) {\n return array.reduce(function (obj, _ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n prop1 = _ref3[0],\n prop2 = _ref3[1];\n\n obj[prop1] = prop2;\n obj[prop2] = prop1;\n return obj;\n }, {});\n}\n\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\nfunction isObject(val) {\n return (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';\n}\n\nfunction isString(val) {\n return typeof val === 'string';\n}\n\nfunction includes(inclusive, inclusee) {\n return inclusive.indexOf(inclusee) !== -1;\n}"
|
|
},
|
|
{
|
|
"id": 87,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"index": 87,
|
|
"index2": 99,
|
|
"size": 1048,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 70,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\glamorExports.js",
|
|
"module": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/glamorExports.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@uifabric/utilities/lib/index",
|
|
"loc": "5:14-54"
|
|
},
|
|
{
|
|
"moduleId": 123,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\DefaultFontStyles.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/DefaultFontStyles.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/DefaultFontStyles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@uifabric/utilities/lib/index",
|
|
"loc": "4:14-54"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Async\"));\n__export(require(\"./AutoScroll\"));\n__export(require(\"./BaseComponent\"));\n__export(require(\"./Customizer\"));\n__export(require(\"./DelayedRender\"));\n__export(require(\"./EventGroup\"));\n__export(require(\"./KeyCodes\"));\n__export(require(\"./Rectangle\"));\n__export(require(\"./array\"));\n__export(require(\"./autobind\"));\n__export(require(\"./css\"));\n__export(require(\"./customizable\"));\n__export(require(\"./dom\"));\n__export(require(\"./focus\"));\n__export(require(\"./hoist\"));\n__export(require(\"./initials\"));\n__export(require(\"./language\"));\n__export(require(\"./math\"));\n__export(require(\"./object\"));\n__export(require(\"./overflow\"));\n__export(require(\"./properties\"));\n__export(require(\"./resources\"));\n__export(require(\"./rtl\"));\n__export(require(\"./scroll\"));\n__export(require(\"./string\"));\n__export(require(\"./warn\"));\n__export(require(\"./memoize\"));\n\n"
|
|
},
|
|
{
|
|
"id": 88,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Async.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Async.js",
|
|
"index": 88,
|
|
"index2": 71,
|
|
"size": 14335,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Async",
|
|
"loc": "6:9-27"
|
|
},
|
|
{
|
|
"moduleId": 94,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Async",
|
|
"loc": "14:14-32"
|
|
}
|
|
],
|
|
"source": "/**\n * Bugs often appear in async code when stuff gets disposed, but async operations don't get canceled.\n * This Async helper class solves these issues by tying async code to the lifetime of a disposable object.\n *\n * Usage: Anything class extending from BaseModel can access this helper via this.async. Otherwise create a\n * new instance of the class and remember to call dispose() during your code's dispose handler.\n */\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Async = (function () {\n function Async(parent, onError) {\n this._timeoutIds = null;\n this._immediateIds = null;\n this._intervalIds = null;\n this._animationFrameIds = null;\n this._isDisposed = false;\n this._parent = parent || null;\n this._onErrorHandler = onError;\n this._noop = function () { };\n }\n /**\n * Dispose function, clears all async operations.\n */\n Async.prototype.dispose = function () {\n var id;\n this._isDisposed = true;\n this._parent = null;\n // Clear timeouts.\n if (this._timeoutIds) {\n for (id in this._timeoutIds) {\n if (this._timeoutIds.hasOwnProperty(id)) {\n this.clearTimeout(id);\n }\n }\n this._timeoutIds = null;\n }\n // Clear immediates.\n if (this._immediateIds) {\n for (id in this._immediateIds) {\n if (this._immediateIds.hasOwnProperty(id)) {\n this.clearImmediate(id);\n }\n }\n this._immediateIds = null;\n }\n // Clear intervals.\n if (this._intervalIds) {\n for (id in this._intervalIds) {\n if (this._intervalIds.hasOwnProperty(id)) {\n this.clearInterval(id);\n }\n }\n this._intervalIds = null;\n }\n // Clear animation frames.\n if (this._animationFrameIds) {\n for (id in this._animationFrameIds) {\n if (this._animationFrameIds.hasOwnProperty(id)) {\n this.cancelAnimationFrame(id);\n }\n }\n this._animationFrameIds = null;\n }\n };\n /**\n * SetTimeout override, which will auto cancel the timeout during dispose.\n * @param callback - Callback to execute.\n * @param duration - Duration in milliseconds.\n * @returns The setTimeout id.\n */\n Async.prototype.setTimeout = function (callback, duration) {\n var _this = this;\n var timeoutId = 0;\n if (!this._isDisposed) {\n if (!this._timeoutIds) {\n this._timeoutIds = {};\n }\n /* tslint:disable:ban-native-functions */\n timeoutId = setTimeout(function () {\n // Time to execute the timeout, enqueue it as a foreground task to be executed.\n try {\n // Now delete the record and call the callback.\n delete _this._timeoutIds[timeoutId];\n callback.apply(_this._parent);\n }\n catch (e) {\n if (_this._onErrorHandler) {\n _this._onErrorHandler(e);\n }\n }\n }, duration);\n /* tslint:enable:ban-native-functions */\n this._timeoutIds[timeoutId] = true;\n }\n return timeoutId;\n };\n /**\n * Clears the timeout.\n * @param id - Id to cancel.\n */\n Async.prototype.clearTimeout = function (id) {\n if (this._timeoutIds && this._timeoutIds[id]) {\n /* tslint:disable:ban-native-functions */\n clearTimeout(id);\n delete this._timeoutIds[id];\n /* tslint:enable:ban-native-functions */\n }\n };\n /**\n * SetImmediate override, which will auto cancel the immediate during dispose.\n * @param callback - Callback to execute.\n * @returns The setTimeout id.\n */\n Async.prototype.setImmediate = function (callback) {\n var _this = this;\n var immediateId = 0;\n if (!this._isDisposed) {\n if (!this._immediateIds) {\n this._immediateIds = {};\n }\n /* tslint:disable:ban-native-functions */\n var setImmediateCallback = function () {\n // Time to execute the timeout, enqueue it as a foreground task to be executed.\n try {\n // Now delete the record and call the callback.\n delete _this._immediateIds[immediateId];\n callback.apply(_this._parent);\n }\n catch (e) {\n _this._logError(e);\n }\n };\n immediateId = window.setImmediate ? window.setImmediate(setImmediateCallback) : window.setTimeout(setImmediateCallback, 0);\n /* tslint:enable:ban-native-functions */\n this._immediateIds[immediateId] = true;\n }\n return immediateId;\n };\n /**\n * Clears the immediate.\n * @param id - Id to cancel.\n */\n Async.prototype.clearImmediate = function (id) {\n if (this._immediateIds && this._immediateIds[id]) {\n /* tslint:disable:ban-native-functions */\n window.clearImmediate ? window.clearImmediate(id) : window.clearTimeout(id);\n delete this._immediateIds[id];\n /* tslint:enable:ban-native-functions */\n }\n };\n /**\n * SetInterval override, which will auto cancel the timeout during dispose.\n * @param callback - Callback to execute.\n * @param duration - Duration in milliseconds.\n * @returns The setTimeout id.\n */\n Async.prototype.setInterval = function (callback, duration) {\n var _this = this;\n var intervalId = 0;\n if (!this._isDisposed) {\n if (!this._intervalIds) {\n this._intervalIds = {};\n }\n /* tslint:disable:ban-native-functions */\n intervalId = setInterval(function () {\n // Time to execute the interval callback, enqueue it as a foreground task to be executed.\n try {\n callback.apply(_this._parent);\n }\n catch (e) {\n _this._logError(e);\n }\n }, duration);\n /* tslint:enable:ban-native-functions */\n this._intervalIds[intervalId] = true;\n }\n return intervalId;\n };\n /**\n * Clears the interval.\n * @param id - Id to cancel.\n */\n Async.prototype.clearInterval = function (id) {\n if (this._intervalIds && this._intervalIds[id]) {\n /* tslint:disable:ban-native-functions */\n clearInterval(id);\n delete this._intervalIds[id];\n /* tslint:enable:ban-native-functions */\n }\n };\n /**\n * Creates a function that, when executed, will only call the func function at most once per\n * every wait milliseconds. Provide an options object to indicate that func should be invoked\n * on the leading and/or trailing edge of the wait timeout. Subsequent calls to the throttled\n * function will return the result of the last func call.\n *\n * Note: If leading and trailing options are true func will be called on the trailing edge of\n * the timeout only if the the throttled function is invoked more than once during the wait timeout.\n *\n * @param func - The function to throttle.\n * @param wait - The number of milliseconds to throttle executions to. Defaults to 0.\n * @param options - The options object.\n * @returns The new throttled function.\n */\n Async.prototype.throttle = function (func, wait, options) {\n var _this = this;\n if (this._isDisposed) {\n return this._noop;\n }\n var waitMS = wait || 0;\n var leading = true;\n var trailing = true;\n var lastExecuteTime = 0;\n var lastResult;\n var lastArgs;\n var timeoutId = null;\n if (options && typeof (options.leading) === 'boolean') {\n leading = options.leading;\n }\n if (options && typeof (options.trailing) === 'boolean') {\n trailing = options.trailing;\n }\n var callback = function (userCall) {\n var now = (new Date).getTime();\n var delta = now - lastExecuteTime;\n var waitLength = leading ? waitMS - delta : waitMS;\n if (delta >= waitMS && (!userCall || leading)) {\n lastExecuteTime = now;\n if (timeoutId) {\n _this.clearTimeout(timeoutId);\n timeoutId = null;\n }\n lastResult = func.apply(_this._parent, lastArgs);\n }\n else if (timeoutId === null && trailing) {\n timeoutId = _this.setTimeout(callback, waitLength);\n }\n return lastResult;\n };\n var resultFunction = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n lastArgs = args;\n return callback(true);\n };\n return resultFunction;\n };\n /**\n * Creates a function that will delay the execution of func until after wait milliseconds have\n * elapsed since the last time it was invoked. Provide an options object to indicate that func\n * should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent calls\n * to the debounced function will return the result of the last func call.\n *\n * Note: If leading and trailing options are true func will be called on the trailing edge of\n * the timeout only if the the debounced function is invoked more than once during the wait\n * timeout.\n *\n * @param func - The function to debounce.\n * @param wait - The number of milliseconds to delay.\n * @param options - The options object.\n * @returns The new debounced function.\n */\n Async.prototype.debounce = function (func, wait, options) {\n var _this = this;\n if (this._isDisposed) {\n return this._noop;\n }\n var waitMS = wait || 0;\n var leading = false;\n var trailing = true;\n var maxWait = null;\n var lastCallTime = 0;\n var lastExecuteTime = (new Date).getTime();\n var lastResult;\n var lastArgs;\n var timeoutId = null;\n if (options && typeof (options.leading) === 'boolean') {\n leading = options.leading;\n }\n if (options && typeof (options.trailing) === 'boolean') {\n trailing = options.trailing;\n }\n if (options && typeof (options.maxWait) === 'number' && !isNaN(options.maxWait)) {\n maxWait = options.maxWait;\n }\n var callback = function (userCall) {\n var now = (new Date).getTime();\n var executeImmediately = false;\n if (userCall) {\n if (leading && now - lastCallTime >= waitMS) {\n executeImmediately = true;\n }\n lastCallTime = now;\n }\n var delta = now - lastCallTime;\n var waitLength = waitMS - delta;\n var maxWaitDelta = now - lastExecuteTime;\n var maxWaitExpired = false;\n if (maxWait !== null) {\n // maxWait only matters when there is a pending callback\n if (maxWaitDelta >= maxWait && timeoutId) {\n maxWaitExpired = true;\n }\n else {\n waitLength = Math.min(waitLength, maxWait - maxWaitDelta);\n }\n }\n if (delta >= waitMS || maxWaitExpired || executeImmediately) {\n if (timeoutId) {\n _this.clearTimeout(timeoutId);\n timeoutId = null;\n }\n lastExecuteTime = now;\n lastResult = func.apply(_this._parent, lastArgs);\n }\n else if ((timeoutId === null || !userCall) && trailing) {\n timeoutId = _this.setTimeout(callback, waitLength);\n }\n return lastResult;\n };\n var resultFunction = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n lastArgs = args;\n return callback(true);\n };\n return resultFunction;\n };\n Async.prototype.requestAnimationFrame = function (callback) {\n var _this = this;\n var animationFrameId = 0;\n if (!this._isDisposed) {\n if (!this._animationFrameIds) {\n this._animationFrameIds = {};\n }\n /* tslint:disable:ban-native-functions */\n var animationFrameCallback = function () {\n try {\n // Now delete the record and call the callback.\n delete _this._animationFrameIds[animationFrameId];\n callback.apply(_this._parent);\n }\n catch (e) {\n _this._logError(e);\n }\n };\n animationFrameId = window.requestAnimationFrame ?\n window.requestAnimationFrame(animationFrameCallback) :\n window.setTimeout(animationFrameCallback, 0);\n /* tslint:enable:ban-native-functions */\n this._animationFrameIds[animationFrameId] = true;\n }\n return animationFrameId;\n };\n Async.prototype.cancelAnimationFrame = function (id) {\n if (this._animationFrameIds && this._animationFrameIds[id]) {\n /* tslint:disable:ban-native-functions */\n window.cancelAnimationFrame ? window.cancelAnimationFrame(id) : window.clearTimeout(id);\n /* tslint:enable:ban-native-functions */\n delete this._animationFrameIds[id];\n }\n };\n Async.prototype._logError = function (e) {\n if (this._onErrorHandler) {\n this._onErrorHandler(e);\n }\n };\n return Async;\n}());\nexports.Async = Async;\n\n"
|
|
},
|
|
{
|
|
"id": 89,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"index": 89,
|
|
"index2": 76,
|
|
"size": 3091,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./AutoScroll",
|
|
"loc": "7:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventGroup_1 = require(\"./EventGroup\");\nvar scroll_1 = require(\"./scroll\");\nvar dom_1 = require(\"./dom\");\nvar SCROLL_ITERATION_DELAY = 16;\nvar SCROLL_GUTTER_HEIGHT = 100;\nvar MAX_SCROLL_VELOCITY = 15;\n/**\n * AutoScroll simply hooks up mouse events given a parent element, and scrolls the container\n * up/down depending on how close the mouse is to the top/bottom of the container.\n *\n * Once you don't want autoscroll any more, just dispose the helper and it will unhook events.\n */\nvar AutoScroll = (function () {\n function AutoScroll(element) {\n this._events = new EventGroup_1.EventGroup(this);\n this._scrollableParent = scroll_1.findScrollableParent(element);\n this._incrementScroll = this._incrementScroll.bind(this);\n this._scrollRect = dom_1.getRect(this._scrollableParent);\n if (this._scrollableParent === window) {\n this._scrollableParent = document.body;\n }\n if (this._scrollableParent) {\n this._events.on(window, 'mousemove', this._onMouseMove, true);\n this._events.on(window, 'touchmove', this._onTouchMove, true);\n }\n }\n AutoScroll.prototype.dispose = function () {\n this._events.dispose();\n this._stopScroll();\n };\n AutoScroll.prototype._onMouseMove = function (ev) {\n this._computeScrollVelocity(ev.clientY);\n };\n AutoScroll.prototype._onTouchMove = function (ev) {\n if (ev.touches.length > 0) {\n this._computeScrollVelocity(ev.touches[0].clientY);\n }\n };\n AutoScroll.prototype._computeScrollVelocity = function (clientY) {\n var scrollRectTop = this._scrollRect.top;\n var scrollClientBottom = scrollRectTop + this._scrollRect.height - SCROLL_GUTTER_HEIGHT;\n if (clientY < (scrollRectTop + SCROLL_GUTTER_HEIGHT)) {\n this._scrollVelocity = Math.max(-MAX_SCROLL_VELOCITY, -MAX_SCROLL_VELOCITY * ((SCROLL_GUTTER_HEIGHT - (clientY - scrollRectTop)) / SCROLL_GUTTER_HEIGHT));\n }\n else if (clientY > scrollClientBottom) {\n this._scrollVelocity = Math.min(MAX_SCROLL_VELOCITY, MAX_SCROLL_VELOCITY * ((clientY - scrollClientBottom) / SCROLL_GUTTER_HEIGHT));\n }\n else {\n this._scrollVelocity = 0;\n }\n if (this._scrollVelocity) {\n this._startScroll();\n }\n else {\n this._stopScroll();\n }\n };\n AutoScroll.prototype._startScroll = function () {\n if (!this._timeoutId) {\n this._incrementScroll();\n }\n };\n AutoScroll.prototype._incrementScroll = function () {\n this._scrollableParent.scrollTop += Math.round(this._scrollVelocity);\n this._timeoutId = setTimeout(this._incrementScroll, SCROLL_ITERATION_DELAY);\n };\n AutoScroll.prototype._stopScroll = function () {\n if (this._timeoutId) {\n clearTimeout(this._timeoutId);\n delete this._timeoutId;\n }\n };\n return AutoScroll;\n}());\nexports.AutoScroll = AutoScroll;\n\n"
|
|
},
|
|
{
|
|
"id": 90,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\EventGroup.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/EventGroup.js",
|
|
"index": 90,
|
|
"index2": 72,
|
|
"size": 10674,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./EventGroup",
|
|
"loc": "11:9-32"
|
|
},
|
|
{
|
|
"moduleId": 89,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./EventGroup",
|
|
"loc": "3:19-42"
|
|
},
|
|
{
|
|
"moduleId": 94,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./EventGroup",
|
|
"loc": "15:19-42"
|
|
}
|
|
],
|
|
"source": "/* tslint:disable:no-string-literal */\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/** An instance of EventGroup allows anything with a handle to it to trigger events on it.\n * If the target is an HTMLElement, the event will be attached to the element and can be\n * triggered as usual (like clicking for onclick).\n * The event can be triggered by calling EventGroup.raise() here. If the target is an\n * HTMLElement, the event gets raised and is handled by the browser. Otherwise, it gets\n * handled here in EventGroup, and the handler is called in the context of the parent\n * (which is passed in in the constructor).\n */\nvar EventGroup = (function () {\n /** parent: the context in which events attached to non-HTMLElements are called */\n function EventGroup(parent) {\n this._id = EventGroup._uniqueId++;\n this._parent = parent;\n this._eventRecords = [];\n }\n /** For IE8, bubbleEvent is ignored here and must be dealt with by the handler.\n * Events raised here by default have bubbling set to false and cancelable set to true.\n * This applies also to built-in events being raised manually here on HTMLElements,\n * which may lead to unexpected behavior if it differs from the defaults.\n */\n EventGroup.raise = function (target, eventName, eventArgs, bubbleEvent) {\n var retVal;\n if (EventGroup._isElement(target)) {\n if (document.createEvent) {\n var ev = document.createEvent('HTMLEvents');\n ev.initEvent(eventName, bubbleEvent, true);\n ev['args'] = eventArgs;\n retVal = target.dispatchEvent(ev);\n }\n else if (document['createEventObject']) {\n var evObj = document['createEventObject'](eventArgs);\n // cannot set cancelBubble on evObj, fireEvent will overwrite it\n target.fireEvent('on' + eventName, evObj);\n }\n }\n else {\n while (target && retVal !== false) {\n var events = target.__events__;\n var eventRecords = events ? events[eventName] : null;\n for (var id in eventRecords) {\n if (eventRecords.hasOwnProperty(id)) {\n var eventRecordList = eventRecords[id];\n for (var listIndex = 0; retVal !== false && listIndex < eventRecordList.length; listIndex++) {\n var record = eventRecordList[listIndex];\n if (record.objectCallback) {\n retVal = record.objectCallback.call(record.parent, eventArgs);\n }\n }\n }\n }\n // If the target has a parent, bubble the event up.\n target = bubbleEvent ? target.parent : null;\n }\n }\n return retVal;\n };\n EventGroup.isObserved = function (target, eventName) {\n var events = target && target.__events__;\n return !!events && !!events[eventName];\n };\n /** Check to see if the target has declared support of the given event. */\n EventGroup.isDeclared = function (target, eventName) {\n var declaredEvents = target && target.__declaredEvents;\n return !!declaredEvents && !!declaredEvents[eventName];\n };\n EventGroup.stopPropagation = function (event) {\n if (event.stopPropagation) {\n event.stopPropagation();\n }\n else {\n event.cancelBubble = true;\n }\n };\n EventGroup._isElement = function (target) {\n return !!target && (target.addEventListener || target instanceof HTMLElement);\n };\n EventGroup.prototype.dispose = function () {\n if (!this._isDisposed) {\n this._isDisposed = true;\n this.off();\n this._parent = null;\n }\n };\n /** On the target, attach a set of events, where the events object is a name to function mapping. */\n EventGroup.prototype.onAll = function (target, events, useCapture) {\n for (var eventName in events) {\n if (events.hasOwnProperty(eventName)) {\n this.on(target, eventName, events[eventName], useCapture);\n }\n }\n };\n /** On the target, attach an event whose handler will be called in the context of the parent\n * of this instance of EventGroup.\n */\n EventGroup.prototype.on = function (target, eventName, callback, useCapture) {\n var _this = this;\n if (eventName.indexOf(',') > -1) {\n var events = eventName.split(/[ ,]+/);\n for (var i = 0; i < events.length; i++) {\n this.on(target, events[i], callback, useCapture);\n }\n }\n else {\n var parent_1 = this._parent;\n var eventRecord = {\n target: target,\n eventName: eventName,\n parent: parent_1,\n callback: callback,\n objectCallback: null,\n elementCallback: null,\n useCapture: useCapture\n };\n // Initialize and wire up the record on the target, so that it can call the callback if the event fires.\n var events = (target.__events__ = target.__events__ || {});\n events[eventName] = events[eventName] || {\n count: 0\n };\n events[eventName][this._id] = events[eventName][this._id] || [];\n events[eventName][this._id].push(eventRecord);\n events[eventName].count++;\n if (EventGroup._isElement(target)) {\n var processElementEvent = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (_this._isDisposed) {\n return;\n }\n var result;\n try {\n result = callback.apply(parent_1, args);\n if (result === false && args[0]) {\n var e = args[0];\n if (e.preventDefault) {\n e.preventDefault();\n }\n if (e.stopPropagation) {\n e.stopPropagation();\n }\n e.cancelBubble = true;\n }\n }\n catch (e) {\n /* ErrorHelper.log(e); */\n }\n return result;\n };\n eventRecord.elementCallback = processElementEvent;\n if (target.addEventListener) {\n /* tslint:disable:ban-native-functions */\n target.addEventListener(eventName, processElementEvent, useCapture);\n /* tslint:enable:ban-native-functions */\n }\n else if (target.attachEvent) {\n target.attachEvent('on' + eventName, processElementEvent);\n }\n }\n else {\n var processObjectEvent = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (_this._isDisposed) {\n return;\n }\n return callback.apply(parent_1, args);\n };\n eventRecord.objectCallback = processObjectEvent;\n }\n // Remember the record locally, so that it can be removed.\n this._eventRecords.push(eventRecord);\n }\n };\n EventGroup.prototype.off = function (target, eventName, callback, useCapture) {\n for (var i = 0; i < this._eventRecords.length; i++) {\n var eventRecord = this._eventRecords[i];\n if ((!target || target === eventRecord.target) &&\n (!eventName || eventName === eventRecord.eventName) &&\n (!callback || callback === eventRecord.callback) &&\n ((typeof useCapture !== 'boolean') || useCapture === eventRecord.useCapture)) {\n var events = eventRecord.target.__events__;\n var targetArrayLookup = events[eventRecord.eventName];\n var targetArray = targetArrayLookup ? targetArrayLookup[this._id] : null;\n // We may have already target's entries, so check for null.\n if (targetArray) {\n if (targetArray.length === 1 || !callback) {\n targetArrayLookup.count -= targetArray.length;\n delete events[eventRecord.eventName][this._id];\n }\n else {\n targetArrayLookup.count--;\n targetArray.splice(targetArray.indexOf(eventRecord), 1);\n }\n if (!targetArrayLookup.count) {\n delete events[eventRecord.eventName];\n }\n }\n if (eventRecord.elementCallback) {\n if (eventRecord.target.removeEventListener) {\n eventRecord.target.removeEventListener(eventRecord.eventName, eventRecord.elementCallback, eventRecord.useCapture);\n }\n else if (eventRecord.target.detachEvent) {\n eventRecord.target.detachEvent('on' + eventRecord.eventName, eventRecord.elementCallback);\n }\n }\n this._eventRecords.splice(i--, 1);\n }\n }\n };\n /** Trigger the given event in the context of this instance of EventGroup. */\n EventGroup.prototype.raise = function (eventName, eventArgs, bubbleEvent) {\n return EventGroup.raise(this._parent, eventName, eventArgs, bubbleEvent);\n };\n /** Declare an event as being supported by this instance of EventGroup. */\n EventGroup.prototype.declare = function (event) {\n var declaredEvents = this._parent.__declaredEvents = this._parent.__declaredEvents || {};\n if (typeof event === 'string') {\n declaredEvents[event] = true;\n }\n else {\n for (var i = 0; i < event.length; i++) {\n declaredEvents[event[i]] = true;\n }\n }\n };\n return EventGroup;\n}());\nEventGroup._uniqueId = 0;\nexports.EventGroup = EventGroup;\n\n"
|
|
},
|
|
{
|
|
"id": 91,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.js",
|
|
"index": 91,
|
|
"index2": 75,
|
|
"size": 2877,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./scroll",
|
|
"loc": "29:9-28"
|
|
},
|
|
{
|
|
"moduleId": 89,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./scroll",
|
|
"loc": "4:15-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\nvar scroll_scss_1 = require(\"./scroll.scss\");\nvar _scrollbarWidth;\nvar _bodyScrollDisabledCount = 0;\nexports.DATA_IS_SCROLLABLE_ATTRIBUTE = 'data-is-scrollable';\nfunction disableBodyScroll() {\n var doc = dom_1.getDocument();\n if (doc && doc.body && !_bodyScrollDisabledCount) {\n doc.body.classList.add(scroll_scss_1.default.msFabricScrollDisabled);\n }\n _bodyScrollDisabledCount++;\n}\nexports.disableBodyScroll = disableBodyScroll;\nfunction enableBodyScroll() {\n if (_bodyScrollDisabledCount > 0) {\n var doc = dom_1.getDocument();\n if (doc && doc.body && _bodyScrollDisabledCount === 1) {\n doc.body.classList.remove(scroll_scss_1.default.msFabricScrollDisabled);\n }\n _bodyScrollDisabledCount--;\n }\n}\nexports.enableBodyScroll = enableBodyScroll;\n/** Calculates the width of a scrollbar for the browser/os. */\nfunction getScrollbarWidth() {\n if (_scrollbarWidth === undefined) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.setProperty('width', '100px');\n scrollDiv.style.setProperty('height', '100px');\n scrollDiv.style.setProperty('overflow', 'scroll');\n scrollDiv.style.setProperty('position', 'absolute');\n scrollDiv.style.setProperty('top', '-9999px');\n document.body.appendChild(scrollDiv);\n // Get the scrollbar width\n _scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n // Delete the DIV\n document.body.removeChild(scrollDiv);\n }\n return _scrollbarWidth;\n}\nexports.getScrollbarWidth = getScrollbarWidth;\n/**\n * Traverses up the DOM for the element with the data-is-scrollable=true attribute, or returns\n * document.body.\n */\nfunction findScrollableParent(startingElement) {\n var el = startingElement;\n // First do a quick scan for the scrollable attribute.\n while (el && el !== document.body) {\n if (el.getAttribute(exports.DATA_IS_SCROLLABLE_ATTRIBUTE) === 'true') {\n return el;\n }\n el = el.parentElement;\n }\n // If we haven't found it, the use the slower method: compute styles to evaluate if overflow is set.\n el = startingElement;\n while (el && el !== document.body) {\n if (el.getAttribute(exports.DATA_IS_SCROLLABLE_ATTRIBUTE) !== 'false') {\n var styles_1 = getComputedStyle(el);\n var overflowY = styles_1 ? styles_1.getPropertyValue('overflow-y') : '';\n if (overflowY && (overflowY === 'scroll' || overflowY === 'auto')) {\n return el;\n }\n }\n el = el.parentElement;\n }\n // Fall back to window scroll.\n if (!el || el === document.body) {\n el = window;\n }\n return el;\n}\nexports.findScrollableParent = findScrollableParent;\n\n"
|
|
},
|
|
{
|
|
"id": 92,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\dom.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/dom.js",
|
|
"index": 92,
|
|
"index2": 73,
|
|
"size": 4240,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "18:9-25"
|
|
},
|
|
{
|
|
"moduleId": 89,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\AutoScroll.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/AutoScroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "5:12-28"
|
|
},
|
|
{
|
|
"moduleId": 91,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "3:12-28"
|
|
},
|
|
{
|
|
"moduleId": 105,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\focus.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/focus.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/focus.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "4:12-28"
|
|
},
|
|
{
|
|
"moduleId": 108,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\language.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/language.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/language.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "3:12-28"
|
|
},
|
|
{
|
|
"moduleId": 113,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\rtl.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/rtl.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/rtl.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./dom",
|
|
"loc": "4:12-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Sets the virtual parent of an element.\n * Pass `undefined` as the `parent` to clear the virtual parent.\n */\nfunction setVirtualParent(child, parent) {\n var virtualChild = child;\n var virtualParent = parent;\n if (!virtualChild._virtual) {\n virtualChild._virtual = {\n children: []\n };\n }\n var oldParent = virtualChild._virtual.parent;\n if (oldParent && oldParent !== parent) {\n // Remove the child from its old parent.\n var index = oldParent._virtual.children.indexOf(virtualChild);\n if (index > -1) {\n oldParent._virtual.children.splice(index, 1);\n }\n }\n virtualChild._virtual.parent = virtualParent || undefined;\n if (virtualParent) {\n if (!virtualParent._virtual) {\n virtualParent._virtual = {\n children: []\n };\n }\n virtualParent._virtual.children.push(virtualChild);\n }\n}\nexports.setVirtualParent = setVirtualParent;\nfunction getVirtualParent(child) {\n var parent;\n if (child && isVirtualElement(child)) {\n parent = child._virtual.parent;\n }\n return parent;\n}\nexports.getVirtualParent = getVirtualParent;\n/**\n * Gets the element which is the parent of a given element.\n * If `allowVirtuaParents` is `true`, this method prefers the virtual parent over\n * real DOM parent when present.\n */\nfunction getParent(child, allowVirtualParents) {\n if (allowVirtualParents === void 0) { allowVirtualParents = true; }\n return child && (allowVirtualParents && getVirtualParent(child) ||\n child.parentNode && child.parentNode);\n}\nexports.getParent = getParent;\n/**\n * Determines whether or not a parent element contains a given child element.\n * If `allowVirtualParents` is true, this method may return `true` if the child\n * has the parent in its virtual element hierarchy.\n */\nfunction elementContains(parent, child, allowVirtualParents) {\n if (allowVirtualParents === void 0) { allowVirtualParents = true; }\n var isContained = false;\n if (parent && child) {\n if (allowVirtualParents) {\n isContained = false;\n while (child) {\n var nextParent = getParent(child);\n if (nextParent === parent) {\n isContained = true;\n break;\n }\n child = nextParent;\n }\n }\n else if (parent.contains) {\n isContained = parent.contains(child);\n }\n }\n return isContained;\n}\nexports.elementContains = elementContains;\nvar _isSSR = false;\n/**\n * Helper to set ssr mode to simulate no window object returned from getWindow helper.\n */\nfunction setSSR(isEnabled) {\n _isSSR = isEnabled;\n}\nexports.setSSR = setSSR;\n/** Helper to get the window object. */\nfunction getWindow(rootElement) {\n if (_isSSR) {\n return undefined;\n }\n else {\n return (rootElement &&\n rootElement.ownerDocument &&\n rootElement.ownerDocument.defaultView ?\n rootElement.ownerDocument.defaultView :\n window);\n }\n}\nexports.getWindow = getWindow;\n/**\n * Helper to get the document object.\n */\nfunction getDocument(rootElement) {\n if (_isSSR) {\n return undefined;\n }\n else {\n return rootElement && rootElement.ownerDocument ? rootElement.ownerDocument : document;\n }\n}\nexports.getDocument = getDocument;\n/**\n * Helper to get bounding client rect, works with window.\n */\nfunction getRect(element) {\n var rect;\n if (element) {\n if (element === window) {\n rect = {\n left: 0,\n top: 0,\n width: window.innerWidth,\n height: window.innerHeight,\n right: window.innerWidth,\n bottom: window.innerHeight\n };\n }\n else if (element.getBoundingClientRect) {\n rect = element.getBoundingClientRect();\n }\n }\n return rect;\n}\nexports.getRect = getRect;\n/**\n * Determines whether or not an element has the virtual hierarchy extension.\n */\nfunction isVirtualElement(element) {\n return element && !!element._virtual;\n}\n\n"
|
|
},
|
|
{
|
|
"id": 93,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\scroll.scss.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.scss.js",
|
|
"index": 93,
|
|
"index2": 74,
|
|
"size": 411,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 91,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\scroll.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/scroll.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./scroll.scss",
|
|
"loc": "4:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n msFabricScrollDisabled: 'msFabricScrollDisabled_23e3aef2',\n};\nexports.default = styles;\nload_themed_styles_1.loadStyles([{ \"rawString\": \".msFabricScrollDisabled_23e3aef2{overflow:hidden!important}\" }]);\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 94,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"index": 94,
|
|
"index2": 78,
|
|
"size": 8712,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseComponent",
|
|
"loc": "8:9-35"
|
|
},
|
|
{
|
|
"moduleId": 96,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseComponent",
|
|
"loc": "15:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Async_1 = require(\"./Async\");\nvar EventGroup_1 = require(\"./EventGroup\");\nvar warn_1 = require(\"./warn\");\nvar BaseComponent = (function (_super) {\n __extends(BaseComponent, _super);\n /**\n * BaseComponent constructor\n * @param props - The props for the component.\n * @param context - The context for the component.\n */\n function BaseComponent(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.props = props;\n _this._shouldUpdateComponentRef = true;\n _makeAllSafe(_this, BaseComponent.prototype, [\n 'componentWillMount',\n 'componentDidMount',\n 'shouldComponentUpdate',\n 'componentWillUpdate',\n 'componentWillReceiveProps',\n 'render',\n 'componentDidUpdate',\n 'componentWillUnmount'\n ]);\n return _this;\n }\n /**\n * When the component will receive props, make sure the componentRef is updated.\n */\n BaseComponent.prototype.componentWillReceiveProps = function (newProps, newContext) {\n this._updateComponentRef(this.props, newProps);\n };\n /**\n * When the component has mounted, update the componentRef.\n */\n BaseComponent.prototype.componentDidMount = function () {\n this._updateComponentRef(undefined, this.props);\n };\n /**\n * If we have disposables, dispose them automatically on unmount.\n */\n BaseComponent.prototype.componentWillUnmount = function () {\n if (this.__disposables) {\n for (var i = 0, len = this._disposables.length; i < len; i++) {\n var disposable = this.__disposables[i];\n if (disposable.dispose) {\n disposable.dispose();\n }\n }\n this.__disposables = null;\n }\n };\n Object.defineProperty(BaseComponent.prototype, \"className\", {\n /**\n * Gets the object's class name.\n */\n get: function () {\n if (!this.__className) {\n var funcNameRegex = /function (.{1,})\\(/;\n var results = (funcNameRegex).exec((this).constructor.toString());\n this.__className = (results && results.length > 1) ? results[1] : '';\n }\n return this.__className;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseComponent.prototype, \"_disposables\", {\n /**\n * Allows subclasses to push things to this._disposables to be auto disposed.\n */\n get: function () {\n if (!this.__disposables) {\n this.__disposables = [];\n }\n return this.__disposables;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseComponent.prototype, \"_async\", {\n /**\n * Gets the async instance associated with the component, created on demand. The async instance gives\n * subclasses a way to execute setTimeout/setInterval async calls safely, where the callbacks\n * will be cleared/ignored automatically after unmounting. The helpers within the async object also\n * preserve the this pointer so that you don't need to \"bind\" the callbacks.\n */\n get: function () {\n if (!this.__async) {\n this.__async = new Async_1.Async(this);\n this._disposables.push(this.__async);\n }\n return this.__async;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseComponent.prototype, \"_events\", {\n /**\n * Gets the event group instance assocaited with the component, created on demand. The event instance\n * provides on/off methods for listening to DOM (or regular javascript object) events. The event callbacks\n * will be automatically disconnected after unmounting. The helpers within the events object also\n * preserve the this reference so that you don't need to \"bind\" the callbacks.\n */\n get: function () {\n if (!this.__events) {\n this.__events = new EventGroup_1.EventGroup(this);\n this._disposables.push(this.__events);\n }\n return this.__events;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Helper to return a memoized ref resolver function.\n * @param refName - Name of the member to assign the ref to.\n * @returns A function instance keyed from the given refname.\n */\n BaseComponent.prototype._resolveRef = function (refName) {\n var _this = this;\n if (!this.__resolves) {\n this.__resolves = {};\n }\n if (!this.__resolves[refName]) {\n this.__resolves[refName] = function (ref) {\n return _this[refName] = ref;\n };\n }\n return this.__resolves[refName];\n };\n /**\n * Updates the componentRef (by calling it with \"this\" when necessary.)\n */\n BaseComponent.prototype._updateComponentRef = function (currentProps, newProps) {\n if (newProps === void 0) { newProps = {}; }\n if (this._shouldUpdateComponentRef &&\n ((!currentProps && newProps.componentRef) ||\n (currentProps && currentProps.componentRef !== newProps.componentRef))) {\n if (currentProps && currentProps.componentRef) {\n currentProps.componentRef(null);\n }\n if (newProps.componentRef) {\n newProps.componentRef(this);\n }\n }\n };\n /**\n * Warns when a deprecated props are being used.\n *\n * @param deprecationMap - The map of deprecations, where key is the prop name and the value is\n * either null or a replacement prop name.\n */\n BaseComponent.prototype._warnDeprecations = function (deprecationMap) {\n warn_1.warnDeprecations(this.className, this.props, deprecationMap);\n };\n /**\n * Warns when props which are mutually exclusive with each other are both used.\n *\n * @param mutuallyExclusiveMap - The map of mutually exclusive props.\n */\n BaseComponent.prototype._warnMutuallyExclusive = function (mutuallyExclusiveMap) {\n warn_1.warnMutuallyExclusive(this.className, this.props, mutuallyExclusiveMap);\n };\n return BaseComponent;\n}(React.Component));\nexports.BaseComponent = BaseComponent;\n/**\n * Helper to override a given method with a wrapper method that can try/catch the original, but also\n * ensures that the BaseComponent's methods are called before the subclass's. This ensures that\n * componentWillUnmount in the base is called and that things in the _disposables array are disposed.\n */\nfunction _makeAllSafe(obj, prototype, methodNames) {\n for (var i = 0, len = methodNames.length; i < len; i++) {\n _makeSafe(obj, prototype, methodNames[i]);\n }\n}\nfunction _makeSafe(obj, prototype, methodName) {\n var classMethod = obj[methodName];\n var prototypeMethod = prototype[methodName];\n if (classMethod || prototypeMethod) {\n obj[methodName] = function () {\n var retVal;\n try {\n if (prototypeMethod) {\n retVal = prototypeMethod.apply(this, arguments);\n }\n if (classMethod !== prototypeMethod) {\n retVal = classMethod.apply(this, arguments);\n }\n }\n catch (e) {\n var errorMessage = \"Exception in \" + obj.className + \".\" + methodName + \"(): \" + (typeof e === 'string' ? e : e.stack);\n if (BaseComponent.onError) {\n BaseComponent.onError(errorMessage, e);\n }\n }\n return retVal;\n };\n }\n}\nBaseComponent.onError = function (errorMessage) {\n console.error(errorMessage);\n throw errorMessage;\n};\n/**\n * Simple constant function for returning null, used to render empty templates in JSX.\n */\nfunction nullRender() { return null; }\nexports.nullRender = nullRender;\n\n"
|
|
},
|
|
{
|
|
"id": 95,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\warn.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/warn.js",
|
|
"index": 95,
|
|
"index2": 77,
|
|
"size": 2330,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./warn",
|
|
"loc": "31:9-26"
|
|
},
|
|
{
|
|
"moduleId": 94,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\BaseComponent.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/BaseComponent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./warn",
|
|
"loc": "16:13-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _warningCallback = warn;\n/**\n * Warns when a deprecated props are being used.\n *\n * @param componentName - The name of the component being used.\n * @param props - The props passed into the component.\n * @param deprecationMap - The map of deprecations, where key is the prop name and the value is\n * either null or a replacement prop name.\n */\nfunction warnDeprecations(componentName, props, deprecationMap) {\n for (var propName in deprecationMap) {\n if (props && propName in props) {\n var deprecationMessage = componentName + \" property '\" + propName + \"' was used but has been deprecated.\";\n var replacementPropName = deprecationMap[propName];\n if (replacementPropName) {\n deprecationMessage += \" Use '\" + replacementPropName + \"' instead.\";\n }\n _warningCallback(deprecationMessage);\n }\n }\n}\nexports.warnDeprecations = warnDeprecations;\n/**\n * Warns when two props which are mutually exclusive are both being used.\n *\n * @param componentName - The name of the component being used.\n * @param props - The props passed into the component.\n * @param exclusiveMap - A map where the key is a parameter, and the value is the other parameter.\n */\nfunction warnMutuallyExclusive(componentName, props, exclusiveMap) {\n for (var propName in exclusiveMap) {\n if (props && propName in props && exclusiveMap[propName] in props) {\n _warningCallback(componentName + \" property '\" + propName + \"' is mutually exclusive with '\" + exclusiveMap[propName] + \"'. Use one or the other.\");\n }\n }\n}\nexports.warnMutuallyExclusive = warnMutuallyExclusive;\n/**\n * Sends a warning to console, if the api is present.\n * @param message - Warning message.\n */\nfunction warn(message) {\n if (console && console.warn) {\n console.warn(message);\n }\n}\nexports.warn = warn;\n/**\n * Configures the warning callback. Passing in undefined will reset it to use the default\n * console.warn function.\n *\n * @param warningCallback - Callback to override the generated warnings.\n */\nfunction setWarningCallback(warningCallback) {\n _warningCallback = warningCallback === undefined ? warn : warningCallback;\n}\nexports.setWarningCallback = setWarningCallback;\n\n"
|
|
},
|
|
{
|
|
"id": 96,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"index": 96,
|
|
"index2": 80,
|
|
"size": 2438,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Customizer",
|
|
"loc": "9:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar PropTypes = require(\"prop-types\");\nvar BaseComponent_1 = require(\"./BaseComponent\");\nvar object_1 = require(\"./object\");\n/**\n * The Customizer component allows for default props to be mixed into components which\n * are decorated with the customizable() decorator. This enables injection scenarios like:\n *\n * 1. render svg icons instead of the icon font within all buttons\n * 2. inject a custom theme object into a component\n *\n * Props are provided via the settings prop, which should be a json map where the key is\n * the name of the customizable component, and the value is are the props to pass in.\n */\nvar Customizer = (function (_super) {\n __extends(Customizer, _super);\n function Customizer(props, context) {\n var _this = _super.call(this, props) || this;\n _this.state = _this._getInjectedProps(props, context);\n return _this;\n }\n Customizer.prototype.getChildContext = function () {\n return this.state;\n };\n Customizer.prototype.componentWillReceiveProps = function (newProps, newContext) {\n this.setState(this._getInjectedProps(newProps, newContext));\n };\n Customizer.prototype.render = function () {\n return React.Children.only(this.props.children);\n };\n Customizer.prototype._getInjectedProps = function (props, context) {\n var _a = props.settings, injectedPropsFromSettings = _a === void 0 ? {} : _a;\n var _b = context.injectedProps, injectedPropsFromContext = _b === void 0 ? {} : _b;\n return {\n injectedProps: object_1.assign({}, injectedPropsFromContext, injectedPropsFromSettings)\n };\n };\n return Customizer;\n}(BaseComponent_1.BaseComponent));\nCustomizer.contextTypes = {\n injectedProps: PropTypes.object\n};\nCustomizer.childContextTypes = Customizer.contextTypes;\nexports.Customizer = Customizer;\n\n"
|
|
},
|
|
{
|
|
"id": 97,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\object.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/object.js",
|
|
"index": 97,
|
|
"index2": 79,
|
|
"size": 3041,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./object",
|
|
"loc": "24:9-28"
|
|
},
|
|
{
|
|
"moduleId": 96,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Customizer.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Customizer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./object",
|
|
"loc": "16:15-34"
|
|
},
|
|
{
|
|
"moduleId": 111,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\properties.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/properties.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/properties.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./object",
|
|
"loc": "3:15-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Initialize global window id.\nvar CURRENT_ID_PROPERTY = '__currentId__';\nvar _global = (typeof window !== 'undefined' && window) || process;\nif (_global[CURRENT_ID_PROPERTY] === undefined) {\n _global[CURRENT_ID_PROPERTY] = 0;\n}\nfunction checkProperties(a, b) {\n for (var propName in a) {\n if (a.hasOwnProperty(propName)) {\n if (!b.hasOwnProperty(propName) || (b[propName] !== a[propName])) {\n return false;\n }\n }\n }\n return true;\n}\n// Compare a to b and b to a\nfunction shallowCompare(a, b) {\n return checkProperties(a, b) && checkProperties(b, a);\n}\nexports.shallowCompare = shallowCompare;\n/**\n * Makes a resulting merge of a bunch of objects. Pass in the target object followed by 1 or more\n * objects as arguments and they will be merged sequentially into the target. Note that this will\n * shallow merge; it will not create new cloned values for target members.\n *\n * @param target - Target object to merge following object arguments into.\n * @param args - One or more objects that will be mixed into the target in the order they are provided.\n * @returns Resulting merged target.\n */\nfunction assign(target) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n return filteredAssign.apply(this, [null, target].concat(args));\n}\nexports.assign = assign;\n/**\n * Makes a resulting merge of a bunch of objects, but allows a filter function to be passed in to filter\n * the resulting merges. This allows for scenarios where you want to merge \"everything except that one thing\"\n * or \"properties that start with data-\". Note that this will shallow merge; it will not create new cloned\n * values for target members.\n *\n * @param isAllowed - Callback to determine if the given propName is allowed in the result.\n * @param target - Target object to merge following object arguments into.\n * @param args - One or more objects that will be mixed into the target in the order they are provided.\n * @returns Resulting merged target.\n */\nfunction filteredAssign(isAllowed, target) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n target = target || {};\n for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n var sourceObject = args_1[_a];\n if (sourceObject) {\n for (var propName in sourceObject) {\n if (sourceObject.hasOwnProperty(propName) &&\n !isAllowed || isAllowed(propName)) {\n target[propName] = sourceObject[propName];\n }\n }\n }\n }\n return target;\n}\nexports.filteredAssign = filteredAssign;\n/** Generates a unique id in the global scope (this spans across duplicate copies of the same library.) */\nfunction getId(prefix) {\n var index = _global[CURRENT_ID_PROPERTY]++;\n return (prefix || '') + index;\n}\nexports.getId = getId;\n\n"
|
|
},
|
|
{
|
|
"id": 98,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\DelayedRender.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/DelayedRender.js",
|
|
"index": 98,
|
|
"index2": 81,
|
|
"size": 1764,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DelayedRender",
|
|
"loc": "10:9-35"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\n/**\n * Utility component for delaying the render of a child component after a given delay. This component\n * requires a single child component; don't pass in many components. Wrap multiple components in a DIV\n * if necessary.\n */\nvar DelayedRender = (function (_super) {\n __extends(DelayedRender, _super);\n function DelayedRender(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isRendered: false\n };\n return _this;\n }\n DelayedRender.prototype.componentDidMount = function () {\n var _this = this;\n var delay = this.props.delay;\n this._timeoutId = setTimeout(function () {\n _this.setState({\n isRendered: true\n });\n }, delay);\n };\n DelayedRender.prototype.componentWillUnmount = function () {\n clearTimeout(this._timeoutId);\n };\n DelayedRender.prototype.render = function () {\n return this.state.isRendered ? React.Children.only(this.props.children) : null;\n };\n return DelayedRender;\n}(React.Component));\nDelayedRender.defaultProps = {\n delay: 0\n};\nexports.DelayedRender = DelayedRender;\n\n"
|
|
},
|
|
{
|
|
"id": 99,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\KeyCodes.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/KeyCodes.js",
|
|
"index": 99,
|
|
"index2": 82,
|
|
"size": 985,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./KeyCodes",
|
|
"loc": "12:9-30"
|
|
},
|
|
{
|
|
"moduleId": 113,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\rtl.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/rtl.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/rtl.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./KeyCodes",
|
|
"loc": "3:17-38"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar KeyCodes;\n(function (KeyCodes) {\n KeyCodes[KeyCodes[\"a\"] = 65] = \"a\";\n KeyCodes[KeyCodes[\"backspace\"] = 8] = \"backspace\";\n KeyCodes[KeyCodes[\"comma\"] = 188] = \"comma\";\n KeyCodes[KeyCodes[\"del\"] = 46] = \"del\";\n KeyCodes[KeyCodes[\"down\"] = 40] = \"down\";\n KeyCodes[KeyCodes[\"end\"] = 35] = \"end\";\n KeyCodes[KeyCodes[\"enter\"] = 13] = \"enter\";\n KeyCodes[KeyCodes[\"escape\"] = 27] = \"escape\";\n KeyCodes[KeyCodes[\"home\"] = 36] = \"home\";\n KeyCodes[KeyCodes[\"left\"] = 37] = \"left\";\n KeyCodes[KeyCodes[\"pageDown\"] = 34] = \"pageDown\";\n KeyCodes[KeyCodes[\"pageUp\"] = 33] = \"pageUp\";\n KeyCodes[KeyCodes[\"right\"] = 39] = \"right\";\n KeyCodes[KeyCodes[\"semicolon\"] = 186] = \"semicolon\";\n KeyCodes[KeyCodes[\"space\"] = 32] = \"space\";\n KeyCodes[KeyCodes[\"tab\"] = 9] = \"tab\";\n KeyCodes[KeyCodes[\"up\"] = 38] = \"up\";\n})(KeyCodes = exports.KeyCodes || (exports.KeyCodes = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 100,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\Rectangle.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/Rectangle.js",
|
|
"index": 100,
|
|
"index2": 83,
|
|
"size": 1793,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rectangle",
|
|
"loc": "13:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Rectangle = (function () {\n function Rectangle(left, right, top, bottom) {\n if (left === void 0) { left = 0; }\n if (right === void 0) { right = 0; }\n if (top === void 0) { top = 0; }\n if (bottom === void 0) { bottom = 0; }\n this.top = top;\n this.bottom = bottom;\n this.left = left;\n this.right = right;\n }\n Object.defineProperty(Rectangle.prototype, \"width\", {\n /**\n * Calculated automatically by subtracting the right from left\n */\n get: function () {\n return this.right - this.left;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Rectangle.prototype, \"height\", {\n /**\n * Calculated automatically by subtracting the bottom from top.\n */\n get: function () {\n return this.bottom - this.top;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Tests if another rect is approximately equal to this rect (within 4 decimal places.)\n */\n Rectangle.prototype.equals = function (rect) {\n // I'm fixing it to 4 decimal places because it allows enough precision and will handle cases when something should be rounded,\n // like .999999 should round to 1.\n return (parseFloat(this.top.toFixed(4)) === parseFloat(rect.top.toFixed(4)) &&\n parseFloat(this.bottom.toFixed(4)) === parseFloat(rect.bottom.toFixed(4)) &&\n parseFloat(this.left.toFixed(4)) === parseFloat(rect.left.toFixed(4)) &&\n parseFloat(this.right.toFixed(4)) === parseFloat(rect.right.toFixed(4)));\n };\n return Rectangle;\n}());\nexports.Rectangle = Rectangle;\n\n"
|
|
},
|
|
{
|
|
"id": 101,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\array.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/array.js",
|
|
"index": 101,
|
|
"index2": 84,
|
|
"size": 512,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./array",
|
|
"loc": "14:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction findIndex(array, cb) {\n var index = -1;\n for (var i = 0; array && i < array.length; i++) {\n if (cb(array[i], i)) {\n index = i;\n break;\n }\n }\n return index;\n}\nexports.findIndex = findIndex;\nfunction createArray(size, getItem) {\n var array = [];\n for (var i = 0; i < size; i++) {\n array.push(getItem(i));\n }\n return array;\n}\nexports.createArray = createArray;\n\n"
|
|
},
|
|
{
|
|
"id": 102,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\autobind.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/autobind.js",
|
|
"index": 102,
|
|
"index2": 85,
|
|
"size": 1301,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./autobind",
|
|
"loc": "15:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Autobind is a utility for binding methods in a class. This simplifies tagging methods as being \"bound\" to the this pointer\n * so that they can be used in scenarios that simply require a function callback.\n */\nfunction autobind(target, key, descriptor) {\n var fn = descriptor.value;\n var defining = false;\n return {\n configurable: true,\n get: function () {\n if (defining || this === fn.prototype || this.hasOwnProperty(key)) {\n return fn;\n }\n // Bind method only once, and update the property to return the bound value from now on\n var fnBound = fn.bind(this);\n defining = true;\n Object.defineProperty(this, key, {\n configurable: true,\n writable: true,\n enumerable: true,\n value: fnBound\n });\n defining = false;\n return fnBound;\n },\n set: function (newValue) {\n Object.defineProperty(this, key, {\n configurable: true,\n writable: true,\n enumerable: true,\n value: newValue\n });\n }\n };\n}\nexports.autobind = autobind;\n\n"
|
|
},
|
|
{
|
|
"id": 103,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\css.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/css.js",
|
|
"index": 103,
|
|
"index2": 86,
|
|
"size": 848,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./css",
|
|
"loc": "16:9-25"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction css() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var classes = [];\n for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n var arg = args_1[_a];\n if (arg) {\n if (typeof arg === 'string') {\n classes.push(arg);\n }\n else if ((arg.hasOwnProperty('toString') && typeof (arg.toString) === 'function')) {\n classes.push(arg.toString());\n }\n else {\n for (var key in arg) {\n if (arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n }\n return classes.join(' ');\n}\nexports.css = css;\n\n"
|
|
},
|
|
{
|
|
"id": 104,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\customizable.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/customizable.js",
|
|
"index": 104,
|
|
"index2": 87,
|
|
"size": 1919,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./customizable",
|
|
"loc": "17:9-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar PropTypes = require(\"prop-types\");\nfunction customizable(componentName) {\n return function customizableFactory(ComposedComponent) {\n return _a = (function (_super) {\n __extends(ComponentWithInjectedProps, _super);\n function ComponentWithInjectedProps() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ComponentWithInjectedProps.prototype.render = function () {\n var defaultProps = ((this.context.injectedProps) ?\n this.context.injectedProps[componentName] :\n null) || {};\n return (React.createElement(ComposedComponent, __assign({}, defaultProps, this.props)));\n };\n return ComponentWithInjectedProps;\n }(React.Component)),\n _a.contextTypes = {\n injectedProps: PropTypes.object\n },\n _a;\n var _a;\n };\n}\nexports.customizable = customizable;\n\n"
|
|
},
|
|
{
|
|
"id": 105,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\focus.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/focus.js",
|
|
"index": 105,
|
|
"index2": 88,
|
|
"size": 6349,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./focus",
|
|
"loc": "19:9-27"
|
|
}
|
|
],
|
|
"source": "/* tslint:disable:no-string-literal */\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\nvar IS_FOCUSABLE_ATTRIBUTE = 'data-is-focusable';\nvar IS_VISIBLE_ATTRIBUTE = 'data-is-visible';\nvar FOCUSZONE_ID_ATTRIBUTE = 'data-focuszone-id';\nfunction getFirstFocusable(rootElement, currentElement, includeElementsInFocusZones) {\n return getNextElement(rootElement, currentElement, true, false, false, includeElementsInFocusZones);\n}\nexports.getFirstFocusable = getFirstFocusable;\nfunction getLastFocusable(rootElement, currentElement, includeElementsInFocusZones) {\n return getPreviousElement(rootElement, currentElement, true, false, true, includeElementsInFocusZones);\n}\nexports.getLastFocusable = getLastFocusable;\n/**\n * Attempts to focus the first focusable element that is a child or child's child of the rootElement.\n * @param rootElement - Element to start the search for a focusable child.\n * @returns True if focus was set, false if it was not.\n */\nfunction focusFirstChild(rootElement) {\n var element = getNextElement(rootElement, rootElement, true, false, false, true);\n if (element) {\n element.focus();\n return true;\n }\n return false;\n}\nexports.focusFirstChild = focusFirstChild;\n/** Traverse to find the previous element. */\nfunction getPreviousElement(rootElement, currentElement, checkNode, suppressParentTraversal, traverseChildren, includeElementsInFocusZones) {\n if (!currentElement ||\n currentElement === rootElement) {\n return null;\n }\n var isCurrentElementVisible = isElementVisible(currentElement);\n // Check its children.\n if (traverseChildren && (includeElementsInFocusZones || !isElementFocusZone(currentElement)) && isCurrentElementVisible) {\n var childMatch = getPreviousElement(rootElement, currentElement.lastElementChild, true, true, true, includeElementsInFocusZones);\n if (childMatch) {\n return childMatch;\n }\n }\n // Check the current node, if it's not the first traversal.\n if (checkNode && isCurrentElementVisible && isElementTabbable(currentElement)) {\n return currentElement;\n }\n // Check its previous sibling.\n var siblingMatch = getPreviousElement(rootElement, currentElement.previousElementSibling, true, true, true, includeElementsInFocusZones);\n if (siblingMatch) {\n return siblingMatch;\n }\n // Check its parent.\n if (!suppressParentTraversal) {\n return getPreviousElement(rootElement, currentElement.parentElement, true, false, false, includeElementsInFocusZones);\n }\n return null;\n}\nexports.getPreviousElement = getPreviousElement;\n/** Traverse to find the next focusable element. */\nfunction getNextElement(rootElement, currentElement, checkNode, suppressParentTraversal, suppressChildTraversal, includeElementsInFocusZones) {\n if (!currentElement ||\n (currentElement === rootElement && suppressChildTraversal)) {\n return null;\n }\n var isCurrentElementVisible = isElementVisible(currentElement);\n // Check the current node, if it's not the first traversal.\n if (checkNode && isCurrentElementVisible && isElementTabbable(currentElement)) {\n return currentElement;\n }\n // Check its children.\n if (!suppressChildTraversal && isCurrentElementVisible && (includeElementsInFocusZones || !isElementFocusZone(currentElement))) {\n var childMatch = getNextElement(rootElement, currentElement.firstElementChild, true, true, false, includeElementsInFocusZones);\n if (childMatch) {\n return childMatch;\n }\n }\n if (currentElement === rootElement) {\n return null;\n }\n // Check its sibling.\n var siblingMatch = getNextElement(rootElement, currentElement.nextElementSibling, true, true, false, includeElementsInFocusZones);\n if (siblingMatch) {\n return siblingMatch;\n }\n if (!suppressParentTraversal) {\n return getNextElement(rootElement, currentElement.parentElement, false, false, true, includeElementsInFocusZones);\n }\n return null;\n}\nexports.getNextElement = getNextElement;\nfunction isElementVisible(element) {\n // If the element is not valid, return false.\n if (!element || !element.getAttribute) {\n return false;\n }\n var visibilityAttribute = element.getAttribute(IS_VISIBLE_ATTRIBUTE);\n // If the element is explicitly marked with the visibility attribute, return that value as boolean.\n if (visibilityAttribute !== null && visibilityAttribute !== undefined) {\n return visibilityAttribute === 'true';\n }\n // Fallback to other methods of determining actual visibility.\n return (element.offsetHeight !== 0 ||\n element.offsetParent !== null ||\n element.isVisible === true); // used as a workaround for testing.\n}\nexports.isElementVisible = isElementVisible;\nfunction isElementTabbable(element) {\n // If this element is null or is disabled, it is not considered tabbable.\n if (!element || element.disabled) {\n return false;\n }\n // In IE, element.tabIndex is default to 0. We need to use element get tabIndex attribute to get the correct tabIndex\n var tabIndex = -1;\n if (element && element.getAttribute) {\n tabIndex = parseInt(element.getAttribute('tabIndex'), 10);\n }\n var isFocusableAttribute = element.getAttribute ? element.getAttribute(IS_FOCUSABLE_ATTRIBUTE) : null;\n return (!!element && isFocusableAttribute !== 'false' &&\n (element.tagName === 'A' ||\n (element.tagName === 'BUTTON') ||\n (element.tagName === 'INPUT') ||\n (element.tagName === 'TEXTAREA') ||\n (tabIndex >= 0) ||\n (element.getAttribute && (isFocusableAttribute === 'true' ||\n element.getAttribute('role') === 'button'))));\n}\nexports.isElementTabbable = isElementTabbable;\nfunction isElementFocusZone(element) {\n return element && !!element.getAttribute(FOCUSZONE_ID_ATTRIBUTE);\n}\nexports.isElementFocusZone = isElementFocusZone;\nfunction doesElementContainFocus(element) {\n var currentActiveElement = dom_1.getDocument(element).activeElement;\n if (currentActiveElement && dom_1.elementContains(element, currentActiveElement)) {\n return true;\n }\n return false;\n}\nexports.doesElementContainFocus = doesElementContainFocus;\n\n"
|
|
},
|
|
{
|
|
"id": 106,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\hoist.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/hoist.js",
|
|
"index": 106,
|
|
"index2": 89,
|
|
"size": 1903,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./hoist",
|
|
"loc": "20:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar REACT_LIFECYCLE_EXCLUSIONS = [\n 'setState',\n 'render',\n 'componentWillMount',\n 'componentDidMount',\n 'componentWillReceiveProps',\n 'shouldComponentUpdate',\n 'componentWillUpdate',\n 'componentDidUpdate',\n 'componentWillUnmount'\n];\n/**\n * Allows you to hoist methods, except those in an exclusion set from a source object into a destination object.\n *\n * @param destination - The instance of the object to hoist the methods onto.\n * @param source - The instance of the object where the methods are hoisted from.\n * @param exclusions - (Optional) What methods to exclude from being hoisted.\n * @returns An array of names of methods that were hoisted.\n */\nfunction hoistMethods(destination, source, exclusions) {\n if (exclusions === void 0) { exclusions = REACT_LIFECYCLE_EXCLUSIONS; }\n var hoisted = [];\n var _loop_1 = function (methodName) {\n if (typeof source[methodName] === 'function' &&\n destination[methodName] === undefined &&\n (!exclusions || exclusions.indexOf(methodName) === -1)) {\n hoisted.push(methodName);\n /* tslint:disable:no-function-expression */\n destination[methodName] = function () { source[methodName].apply(source, arguments); };\n /* tslint:enable */\n }\n };\n for (var methodName in source) {\n _loop_1(methodName);\n }\n return hoisted;\n}\nexports.hoistMethods = hoistMethods;\n/**\n * Provides a method for convenience to unhoist hoisted methods.\n *\n * @param source - The source object upon which methods were hoisted.\n * @param methodNames - An array of method names to unhoist.\n */\nfunction unhoistMethods(source, methodNames) {\n methodNames\n .forEach(function (methodName) { return delete source[methodName]; });\n}\nexports.unhoistMethods = unhoistMethods;\n\n"
|
|
},
|
|
{
|
|
"id": 107,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\initials.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/initials.js",
|
|
"index": 107,
|
|
"index2": 90,
|
|
"size": 2574,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./initials",
|
|
"loc": "21:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Regular expression matching characters to ignore when calculating the initials.\n * The first part matches characters within parenthesis, including the parenthesis.\n * The second part matches special ASCII characters except space, plus some unicode special characters.\n */\nvar UNWANTED_CHARS_REGEX = /\\([^)]*\\)|[\\0-\\u001F\\!-/:-@\\[-`\\{-\\u00BF\\u0250-\\u036F\\uD800-\\uFFFF]/g;\n/** Regular expression matching one or more spaces. */\nvar MULTIPLE_WHITESPACES_REGEX = /\\s+/g;\n/**\n * Regular expression matching languages for which we currently don't support initials.\n * Arabic: Arabic, Arabic Supplement, Arabic Extended-A.\n * Korean: Hangul Jamo, Hangul Compatibility Jamo, Hangul Jamo Extended-A, Hangul Syllables, Hangul Jamo Extended-B.\n * Japanese: Hiragana, Katakana.\n * CJK: CJK Unified Ideographs Extension A, CJK Unified Ideographs, CJK Compatibility Ideographs, CJK Unified Ideographs Extension B\n */\n/* tslint:disable:max-line-length */\nvar UNSUPPORTED_TEXT_REGEX = /[\\u0600-\\u06FF\\u0750-\\u077F\\u08A0-\\u08FF\\u1100-\\u11FF\\u3130-\\u318F\\uA960-\\uA97F\\uAC00-\\uD7AF\\uD7B0-\\uD7FF\\u3040-\\u309F\\u30A0-\\u30FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uF900-\\uFAFF]|[\\uD840-\\uD869][\\uDC00-\\uDED6]/;\n/* tslint:enable:max-line-length */\nfunction getInitialsLatin(displayName, isRtl) {\n var initials = '';\n var splits = displayName.split(' ');\n if (splits.length === 2) {\n initials += splits[0].charAt(0).toUpperCase();\n initials += splits[1].charAt(0).toUpperCase();\n }\n else if (splits.length === 3) {\n initials += splits[0].charAt(0).toUpperCase();\n initials += splits[2].charAt(0).toUpperCase();\n }\n else if (splits.length !== 0) {\n initials += splits[0].charAt(0).toUpperCase();\n }\n if (isRtl && initials.length > 1) {\n return initials.charAt(1) + initials.charAt(0);\n }\n return initials;\n}\nfunction cleanupDisplayName(displayName) {\n displayName = displayName.replace(UNWANTED_CHARS_REGEX, '');\n displayName = displayName.replace(MULTIPLE_WHITESPACES_REGEX, ' ');\n displayName = displayName.trim();\n return displayName;\n}\n/** Get (up to 2 characters) initials based on display name of the persona. */\nfunction getInitials(displayName, isRtl) {\n if (displayName == null) {\n return '';\n }\n displayName = cleanupDisplayName(displayName);\n if (UNSUPPORTED_TEXT_REGEX.test(displayName)) {\n return '';\n }\n return getInitialsLatin(displayName, isRtl);\n}\nexports.getInitials = getInitials;\n\n"
|
|
},
|
|
{
|
|
"id": 108,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\language.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/language.js",
|
|
"index": 108,
|
|
"index2": 91,
|
|
"size": 1522,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./language",
|
|
"loc": "22:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\n// Default to undefined so that we initialize on first read.\nvar _language;\n/**\n * Gets the rtl state of the page (returns true if in rtl.)\n */\nfunction getLanguage() {\n if (_language === undefined) {\n var doc = dom_1.getDocument();\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage']) {\n var savedLanguage = localStorage.getItem('language');\n if (savedLanguage !== null) {\n _language = savedLanguage;\n }\n }\n if (_language === undefined && doc) {\n _language = doc.documentElement.getAttribute('lang');\n }\n if (_language === undefined) {\n setLanguage('en', false);\n }\n }\n return _language;\n}\nexports.getLanguage = getLanguage;\n/**\n * Sets the rtl state of the page (by adjusting the dir attribute of the html element.)\n */\nfunction setLanguage(language, avoidPersisting) {\n if (avoidPersisting === void 0) { avoidPersisting = false; }\n var doc = dom_1.getDocument();\n if (doc) {\n doc.documentElement.setAttribute('lang', language);\n }\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage'] && !avoidPersisting) {\n localStorage.setItem('language', language);\n }\n _language = language;\n}\nexports.setLanguage = setLanguage;\n\n"
|
|
},
|
|
{
|
|
"id": 109,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\math.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/math.js",
|
|
"index": 109,
|
|
"index2": 92,
|
|
"size": 313,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./math",
|
|
"loc": "23:9-26"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getDistanceBetweenPoints(point1, point2) {\n var distance = Math.sqrt(Math.pow(point1.x - point2.x, 2) + Math.pow(point1.y - point2.y, 2));\n return distance;\n}\nexports.getDistanceBetweenPoints = getDistanceBetweenPoints;\n\n"
|
|
},
|
|
{
|
|
"id": 110,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\overflow.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/overflow.js",
|
|
"index": 110,
|
|
"index2": 93,
|
|
"size": 1047,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./overflow",
|
|
"loc": "25:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Detects whether an element's content has horizontal overflow\n *\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nfunction hasHorizontalOverflow(element) {\n return element.clientWidth < element.scrollWidth;\n}\nexports.hasHorizontalOverflow = hasHorizontalOverflow;\n/**\n * Detects whether an element's content has vertical overflow\n *\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nfunction hasVerticalOverflow(element) {\n return element.clientHeight < element.scrollHeight;\n}\nexports.hasVerticalOverflow = hasVerticalOverflow;\n/**\n * Detects whether an element's content has overflow in any direction\n *\n * @param element - Element to check for overflow\n * @returns True if element's content overflows\n */\nfunction hasOverflow(element) {\n return hasHorizontalOverflow(element) || hasVerticalOverflow(element);\n}\nexports.hasOverflow = hasOverflow;\n\n"
|
|
},
|
|
{
|
|
"id": 111,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\properties.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/properties.js",
|
|
"index": 111,
|
|
"index2": 94,
|
|
"size": 5028,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./properties",
|
|
"loc": "26:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar object_1 = require(\"./object\");\nexports.baseElementEvents = [\n 'onCopy',\n 'onCut',\n 'onPaste',\n 'onCompositionEnd',\n 'onCompositionStart',\n 'onCompositionUpdate',\n 'onFocus',\n 'onFocusCapture',\n 'onBlur',\n 'onBlurCapture',\n 'onChange',\n 'onInput',\n 'onSubmit',\n 'onLoad',\n 'onError',\n 'onKeyDown',\n 'onKeyDownCapture',\n 'onKeyPress',\n 'onKeyUp',\n 'onAbort',\n 'onCanPlay',\n 'onCanPlayThrough',\n 'onDurationChange',\n 'onEmptied',\n 'onEncrypted',\n 'onEnded',\n 'onLoadedData',\n 'onLoadedMetadata',\n 'onLoadStart',\n 'onPause',\n 'onPlay',\n 'onPlaying',\n 'onProgress',\n 'onRateChange',\n 'onSeeked',\n 'onSeeking',\n 'onStalled',\n 'onSuspend',\n 'onTimeUpdate',\n 'onVolumeChange',\n 'onWaiting',\n 'onClick',\n 'onClickCapture',\n 'onContextMenu',\n 'onDoubleClick',\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n 'onMouseDown',\n 'onMouseDownCapture',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onMouseUpCapture',\n 'onSelect',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n 'onScroll',\n 'onWheel'\n];\nexports.baseElementProperties = [\n 'defaultChecked',\n 'defaultValue',\n 'accept',\n 'acceptCharset',\n 'accessKey',\n 'action',\n 'allowFullScreen',\n 'allowTransparency',\n 'alt',\n 'async',\n 'autoComplete',\n 'autoFocus',\n 'autoPlay',\n 'capture',\n 'cellPadding',\n 'cellSpacing',\n 'charSet',\n 'challenge',\n 'checked',\n 'children',\n 'classID',\n 'className',\n 'cols',\n 'colSpan',\n 'content',\n 'contentEditable',\n 'contextMenu',\n 'controls',\n 'coords',\n 'crossOrigin',\n 'data',\n 'dateTime',\n 'default',\n 'defer',\n 'dir',\n 'download',\n 'draggable',\n 'encType',\n 'form',\n 'formAction',\n 'formEncType',\n 'formMethod',\n 'formNoValidate',\n 'formTarget',\n 'frameBorder',\n 'headers',\n 'height',\n 'hidden',\n 'high',\n 'hrefLang',\n 'htmlFor',\n 'httpEquiv',\n 'icon',\n 'id',\n 'inputMode',\n 'integrity',\n 'is',\n 'keyParams',\n 'keyType',\n 'kind',\n 'lang',\n 'list',\n 'loop',\n 'low',\n 'manifest',\n 'marginHeight',\n 'marginWidth',\n 'max',\n 'maxLength',\n 'media',\n 'mediaGroup',\n 'method',\n 'min',\n 'minLength',\n 'multiple',\n 'muted',\n 'name',\n 'noValidate',\n 'open',\n 'optimum',\n 'pattern',\n 'placeholder',\n 'poster',\n 'preload',\n 'radioGroup',\n 'readOnly',\n 'rel',\n 'required',\n 'role',\n 'rows',\n 'rowSpan',\n 'sandbox',\n 'scope',\n 'scoped',\n 'scrolling',\n 'seamless',\n 'selected',\n 'shape',\n 'size',\n 'sizes',\n 'span',\n 'spellCheck',\n 'src',\n 'srcDoc',\n 'srcLang',\n 'srcSet',\n 'start',\n 'step',\n 'style',\n 'summary',\n 'tabIndex',\n 'title',\n 'type',\n 'useMap',\n 'value',\n 'width',\n 'wmode',\n 'wrap'\n];\nexports.htmlElementProperties = exports.baseElementProperties.concat(exports.baseElementEvents);\nexports.anchorProperties = exports.htmlElementProperties.concat([\n 'href',\n 'target'\n]);\nexports.buttonProperties = exports.htmlElementProperties.concat([\n 'disabled'\n]);\nexports.divProperties = exports.htmlElementProperties.concat(['align', 'noWrap']);\nexports.inputProperties = exports.buttonProperties;\nexports.textAreaProperties = exports.buttonProperties;\nexports.imageProperties = exports.divProperties;\n/**\n * Gets native supported props for an html element provided the allowance set. Use one of the property\n * sets defined (divProperties, buttonPropertes, etc) to filter out supported properties from a given\n * props set. Note that all data- and aria- prefixed attributes will be allowed.\n * NOTE: getNativeProps should always be applied first when adding props to a react component. The\n * non-native props should be applied second. This will prevent getNativeProps from overriding your custom props.\n * For example, if props passed to getNativeProps has an onClick function and getNativeProps is added to\n * the component after an onClick function is added, then the getNativeProps onClick will override it.\n * @param props - The unfiltered input props\n * @param allowedPropsNames- The array of allowed propnames.\n * @returns The filtered props\n */\nfunction getNativeProps(props, allowedPropNames, excludedPropNames) {\n return object_1.filteredAssign(function (propName) {\n return ((!excludedPropNames || excludedPropNames.indexOf(propName) < 0) && ((propName.indexOf('data-') === 0) ||\n (propName.indexOf('aria-') === 0) ||\n (allowedPropNames.indexOf(propName) >= 0)));\n }, {}, props);\n}\nexports.getNativeProps = getNativeProps;\n\n"
|
|
},
|
|
{
|
|
"id": 112,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\resources.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/resources.js",
|
|
"index": 112,
|
|
"index2": 95,
|
|
"size": 406,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./resources",
|
|
"loc": "27:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _baseUrl = '';\n/** Sets the current base url used for fetching images. */\nfunction getResourceUrl(url) {\n return _baseUrl + url;\n}\nexports.getResourceUrl = getResourceUrl;\n/** Gets the current base url used for fetching images. */\nfunction setBaseUrl(baseUrl) {\n _baseUrl = baseUrl;\n}\nexports.setBaseUrl = setBaseUrl;\n\n"
|
|
},
|
|
{
|
|
"id": 113,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\rtl.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/rtl.js",
|
|
"index": 113,
|
|
"index2": 96,
|
|
"size": 2130,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./rtl",
|
|
"loc": "28:9-25"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar KeyCodes_1 = require(\"./KeyCodes\");\nvar dom_1 = require(\"./dom\");\n// Default to undefined so that we initialize on first read.\nvar _isRTL;\n/**\n * Gets the rtl state of the page (returns true if in rtl.)\n */\nfunction getRTL() {\n if (_isRTL === undefined) {\n var doc = dom_1.getDocument();\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage']) {\n var savedRTL = localStorage.getItem('isRTL');\n if (savedRTL !== null) {\n _isRTL = savedRTL === '1';\n }\n }\n if (_isRTL === undefined && doc) {\n _isRTL = doc.documentElement.getAttribute('dir') === 'rtl';\n }\n if (_isRTL !== undefined) {\n setRTL(_isRTL, true);\n }\n else {\n throw new Error('getRTL was called in a server environment without setRTL being called first. ' +\n 'Call setRTL to set the correct direction first.');\n }\n }\n return _isRTL;\n}\nexports.getRTL = getRTL;\n/**\n * Sets the rtl state of the page (by adjusting the dir attribute of the html element.)\n */\nfunction setRTL(isRTL, avoidPersisting) {\n if (avoidPersisting === void 0) { avoidPersisting = false; }\n var doc = dom_1.getDocument();\n if (doc) {\n doc.documentElement.setAttribute('dir', isRTL ? 'rtl' : 'ltr');\n }\n var win = dom_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n if (win && win['localStorage'] && !avoidPersisting) {\n localStorage.setItem('isRTL', isRTL ? '1' : '0');\n }\n _isRTL = isRTL;\n}\nexports.setRTL = setRTL;\n/**\n * Returns the given key, but flips right/left arrows if necessary.\n */\nfunction getRTLSafeKeyCode(key) {\n if (getRTL()) {\n if (key === KeyCodes_1.KeyCodes.left) {\n key = KeyCodes_1.KeyCodes.right;\n }\n else if (key === KeyCodes_1.KeyCodes.right) {\n key = KeyCodes_1.KeyCodes.left;\n }\n }\n return key;\n}\nexports.getRTLSafeKeyCode = getRTLSafeKeyCode;\n\n"
|
|
},
|
|
{
|
|
"id": 114,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\string.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/string.js",
|
|
"index": 114,
|
|
"index2": 97,
|
|
"size": 1239,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./string",
|
|
"loc": "30:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Regex that finds { and } so they can be removed on a lookup for string format\nvar FORMAT_ARGS_REGEX = /[\\{\\}]/g;\n// Regex that finds {#} so it can be replaced by the arguments in string format\nvar FORMAT_REGEX = /\\{\\d+\\}/g;\n/**\n * String Format is like C# string format.\n * Usage Example: \"hello {0}!\".format(\"mike\") will return \"hello mike!\"\n * Calling format on a string with less arguments than specified in the format is invalid\n * Example \"I love {0} every {1}\".format(\"CXP\") will result in a Debug Exception.\n */\nfunction format(s) {\n 'use strict';\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n var args = values;\n // Callback match function\n function replace_func(match) {\n // looks up in the args\n var replacement = args[match.replace(FORMAT_ARGS_REGEX, '')];\n // catches undefined in nondebug and null in debug and nondebug\n if (replacement === null || replacement === undefined) {\n replacement = '';\n }\n return replacement;\n }\n return (s.replace(FORMAT_REGEX, replace_func));\n}\nexports.format = format;\n\n"
|
|
},
|
|
{
|
|
"id": 115,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\memoize.js",
|
|
"name": "./~/@uifabric/styling/~/@uifabric/utilities/lib/memoize.js",
|
|
"index": 115,
|
|
"index2": 98,
|
|
"size": 2799,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 87,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\node_modules\\@uifabric\\utilities\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/~/@uifabric/utilities/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./memoize",
|
|
"loc": "32:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _emptyObject = { empty: true };\nvar _dictionary = {};\nfunction memoize(target, key, descriptor) {\n // We bind to \"null\" to prevent people from inadvertently pulling values from \"this\",\n // rather than passing them in as input values which can be memoized.\n var fn = memoizeFunction(descriptor.value.bind(null));\n return {\n configurable: true,\n get: function () {\n return fn;\n }\n };\n}\nexports.memoize = memoize;\n/**\n * Memoizes a function; when you pass in the same parameters multiple times, it returns a cached result.\n * Be careful when passing in objects, you need to pass in the same INSTANCE for caching to work. Otherwise\n * it will grow the cache unnecessarily.\n *\n * By default, the cache will reset after 100 permutations, to avoid abuse cases where the function is\n * unintendedly called with unique objects. Without a reset, the cache could grow infinitely, so we safeguard\n * by resetting. To override this behavior, pass a value of 0 to the maxCacheSize parameter.\n *\n * @param cb - The function to memoize.\n * @param maxCacheSize - Max results to cache. If the cache exceeds this value, it will reset on the next call.\n * @returns A memoized version of the function.\n */\nfunction memoizeFunction(cb, maxCacheSize) {\n if (maxCacheSize === void 0) { maxCacheSize = 100; }\n var rootNode;\n var cacheSize = 0;\n // tslint:disable-next-line:no-function-expression\n return function memoizedFunction() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var currentNode = rootNode;\n if (rootNode === undefined || (maxCacheSize > 0 && cacheSize > maxCacheSize)) {\n rootNode = _createNode();\n cacheSize = 0;\n }\n currentNode = rootNode;\n // Traverse the tree until we find the match.\n for (var i = 0; i < args.length; i++) {\n var arg = _normalizeArg(args[i]);\n if (!currentNode.map.has(arg)) {\n currentNode.map.set(arg, _createNode());\n }\n currentNode = currentNode.map.get(arg);\n }\n if (!currentNode.hasOwnProperty('value')) {\n currentNode.value = cb.apply(void 0, args);\n cacheSize++;\n }\n return currentNode.value;\n };\n}\nexports.memoizeFunction = memoizeFunction;\nfunction _normalizeArg(val) {\n if (!val) {\n return _emptyObject;\n }\n else if (typeof val === 'object') {\n return val;\n }\n else if (!_dictionary[val]) {\n _dictionary[val] = { val: val };\n }\n return _dictionary[val];\n}\nfunction _createNode() {\n return {\n map: new WeakMap()\n };\n}\n\n"
|
|
},
|
|
{
|
|
"id": 116,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"name": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"index": 116,
|
|
"index2": 116,
|
|
"size": 548,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 69,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./classNames/index",
|
|
"loc": "7:9-38"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AnimationClassNames_1 = require(\"./AnimationClassNames\");\nexports.AnimationClassNames = AnimationClassNames_1.AnimationClassNames;\nvar FontClassNames_1 = require(\"./FontClassNames\");\nexports.FontClassNames = FontClassNames_1.FontClassNames;\nvar IconClassNames_1 = require(\"./IconClassNames\");\nexports.IconClassNames = IconClassNames_1.IconClassNames;\nvar ColorClassNames_1 = require(\"./ColorClassNames\");\nexports.ColorClassNames = ColorClassNames_1.ColorClassNames;\n\n"
|
|
},
|
|
{
|
|
"id": 117,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\AnimationClassNames.js",
|
|
"name": "./~/@uifabric/styling/lib/classNames/AnimationClassNames.js",
|
|
"index": 117,
|
|
"index2": 112,
|
|
"size": 243,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 116,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./AnimationClassNames",
|
|
"loc": "3:28-60"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar index_1 = require(\"../utilities/index\");\nvar index_2 = require(\"../styles/index\");\nexports.AnimationClassNames = index_1.buildClassMap(index_2.AnimationStyles);\n\n"
|
|
},
|
|
{
|
|
"id": 118,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"name": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"index": 118,
|
|
"index2": 105,
|
|
"size": 498,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 69,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./utilities/index",
|
|
"loc": "9:9-37"
|
|
},
|
|
{
|
|
"moduleId": 117,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\AnimationClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/AnimationClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/AnimationClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../utilities/index",
|
|
"loc": "3:14-43"
|
|
},
|
|
{
|
|
"moduleId": 125,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\getFocusStyle.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/getFocusStyle.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/getFocusStyle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../utilities/index",
|
|
"loc": "3:14-43"
|
|
},
|
|
{
|
|
"moduleId": 129,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\FontClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/FontClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/FontClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../utilities/index",
|
|
"loc": "3:14-43"
|
|
},
|
|
{
|
|
"moduleId": 130,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\IconClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/IconClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/IconClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../utilities/index",
|
|
"loc": "4:14-43"
|
|
},
|
|
{
|
|
"moduleId": 131,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\ColorClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/ColorClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/ColorClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../utilities/index",
|
|
"loc": "3:14-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar theme_1 = require(\"./theme\");\nexports.getTheme = theme_1.getTheme;\nexports.loadTheme = theme_1.loadTheme;\nvar mergeStyles_1 = require(\"./mergeStyles\");\nexports.mergeStyles = mergeStyles_1.mergeStyles;\nvar mergeStyleSets_1 = require(\"./mergeStyleSets\");\nexports.mergeStyleSets = mergeStyleSets_1.mergeStyleSets;\nvar buildClassMap_1 = require(\"./buildClassMap\");\nexports.buildClassMap = buildClassMap_1.buildClassMap;\n\n"
|
|
},
|
|
{
|
|
"id": 119,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\theme.js",
|
|
"name": "./~/@uifabric/styling/lib/utilities/theme.js",
|
|
"index": 119,
|
|
"index2": 108,
|
|
"size": 1601,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 118,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./theme",
|
|
"loc": "3:14-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar assign = require(\"object-assign\");\nvar index_1 = require(\"../styles/index\");\nvar _theme = {\n palette: index_1.DefaultPalette,\n semanticColors: _makeSemanticColorsFromPalette(index_1.DefaultPalette),\n fonts: index_1.DefaultFontStyles\n};\n/**\n * Gets the theme object.\n */\nfunction getTheme() {\n return _theme;\n}\nexports.getTheme = getTheme;\n/**\n * Mixes the given theme settings into the current theme object.\n */\nfunction loadTheme(theme) {\n _theme.palette = assign({}, _theme.palette, theme.palette);\n _theme.semanticColors = assign({}, _makeSemanticColorsFromPalette(_theme.palette), theme.semanticColors);\n _theme.fonts = assign({}, _theme.fonts, theme.fonts);\n}\nexports.loadTheme = loadTheme;\n// Generates all the semantic slot colors based on the Fabric palette.\n// We'll use these as fallbacks for semantic slots that the passed in theme did not define.\nfunction _makeSemanticColorsFromPalette(p) {\n return {\n bodyBackground: p.white,\n bodyText: p.neutralPrimary,\n bodySubtext: p.neutralSecondary,\n disabledBackground: p.neutralLighter,\n disabledText: p.neutralTertiaryAlt,\n disabledSubtext: p.neutralQuaternary,\n focusBorder: p.black,\n // errorBackground: todo,\n errorText: p.redDark,\n inputBorder: p.neutralTertiary,\n inputBorderHovered: p.neutralPrimary,\n inputBackgroundSelected: p.themePrimary,\n inputBackgroundSelectedHovered: p.themeDarkAlt,\n inputForegroundSelected: p.white\n };\n}\n\n"
|
|
},
|
|
{
|
|
"id": 120,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"name": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"index": 120,
|
|
"index2": 107,
|
|
"size": 724,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 69,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./styles/index",
|
|
"loc": "8:9-34"
|
|
},
|
|
{
|
|
"moduleId": 117,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\AnimationClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/AnimationClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/AnimationClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../styles/index",
|
|
"loc": "4:14-40"
|
|
},
|
|
{
|
|
"moduleId": 119,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\theme.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/theme.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/theme.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../styles/index",
|
|
"loc": "4:14-40"
|
|
},
|
|
{
|
|
"moduleId": 129,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\FontClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/FontClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/FontClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../styles/index",
|
|
"loc": "4:14-40"
|
|
},
|
|
{
|
|
"moduleId": 130,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\IconClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/IconClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/IconClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../styles/index",
|
|
"loc": "3:14-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AnimationStyles_1 = require(\"./AnimationStyles\");\nexports.AnimationStyles = AnimationStyles_1.AnimationStyles;\nvar DefaultPalette_1 = require(\"./DefaultPalette\");\nexports.DefaultPalette = DefaultPalette_1.DefaultPalette;\nvar DefaultFontStyles_1 = require(\"./DefaultFontStyles\");\nexports.DefaultFontStyles = DefaultFontStyles_1.DefaultFontStyles;\nexports.FontSizes = DefaultFontStyles_1.FontSizes;\nexports.FontWeights = DefaultFontStyles_1.FontWeights;\nvar IconCodes_1 = require(\"./IconCodes\");\nexports.IconCodes = IconCodes_1.IconCodes;\nvar getFocusStyle_1 = require(\"./getFocusStyle\");\nexports.getFocusStyle = getFocusStyle_1.getFocusStyle;\n\n"
|
|
},
|
|
{
|
|
"id": 121,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\AnimationStyles.js",
|
|
"name": "./~/@uifabric/styling/lib/styles/AnimationStyles.js",
|
|
"index": 121,
|
|
"index2": 101,
|
|
"size": 7367,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 120,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./AnimationStyles",
|
|
"loc": "3:24-52"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar glamorExports_1 = require(\"../glamorExports\");\n/* Register the keyframes */\nvar EASING_FUNCTION_1 = 'cubic-bezier(.1,.9,.2,1)';\nvar EASING_FUNCTION_2 = 'cubic-bezier(.1,.25,.75,.9)';\nvar DURATION_1 = '0.167s';\nvar DURATION_2 = '0.267s';\nvar DURATION_3 = '0.367s';\nvar DURATION_4 = '0.467s';\nvar FADE_IN = glamorExports_1.keyframes({\n from: { opacity: 0 },\n to: { opacity: 1 }\n});\nvar FADE_OUT = glamorExports_1.keyframes({\n from: { opacity: 1 },\n to: { opacity: 0 }\n});\nvar SLIDE_RIGHT_IN10 = _createSlideInX(-10);\nvar SLIDE_RIGHT_IN20 = _createSlideInX(-20);\nvar SLIDE_RIGHT_IN40 = _createSlideInX(-40);\nvar SLIDE_RIGHT_IN400 = _createSlideInX(-400);\nvar SLIDE_LEFT_IN10 = _createSlideInX(10);\nvar SLIDE_LEFT_IN20 = _createSlideInX(20);\nvar SLIDE_LEFT_IN40 = _createSlideInX(40);\nvar SLIDE_LEFT_IN400 = _createSlideInX(400);\nvar SLIDE_UP_IN10 = _createSlideInY(10);\nvar SLIDE_UP_IN20 = _createSlideInY(20);\nvar SLIDE_DOWN_IN10 = _createSlideInY(-10);\nvar SLIDE_DOWN_IN20 = _createSlideInY(-20);\nvar SLIDE_RIGHT_OUT10 = _createSlideOutX(10);\nvar SLIDE_RIGHT_OUT20 = _createSlideOutX(20);\nvar SLIDE_RIGHT_OUT40 = _createSlideOutX(40);\nvar SLIDE_RIGHT_OUT400 = _createSlideOutX(400);\nvar SLIDE_LEFT_OUT10 = _createSlideOutX(-10);\nvar SLIDE_LEFT_OUT20 = _createSlideOutX(-20);\nvar SLIDE_LEFT_OUT40 = _createSlideOutX(-40);\nvar SLIDE_LEFT_OUT400 = _createSlideOutX(-400);\nvar SLIDE_UP_OUT10 = _createSlideOutY(-10);\nvar SLIDE_UP_OUT20 = _createSlideOutY(-20);\nvar SLIDE_DOWN_OUT10 = _createSlideOutY(10);\nvar SLIDE_DOWN_OUT20 = _createSlideOutY(20);\nvar SCALE_UP100 = glamorExports_1.keyframes({\n from: { transform: 'scale3d(.98,.98,1)' },\n to: { transform: 'scale3d(1,1,1)' }\n});\nvar SCALE_DOWN98 = glamorExports_1.keyframes({\n from: { transform: 'scale3d(1,1,1)' },\n 'top': { transform: 'scale3d(.98,.98,1)' },\n});\nvar SCALE_DOWN100 = glamorExports_1.keyframes({\n from: { transform: 'scale3d(1.03,1.03,1)' },\n to: { transform: 'scale3d(1,1,1)' }\n});\nvar SCALE_UP103 = glamorExports_1.keyframes({\n from: { transform: 'scale3d(1,1,1)' },\n to: { transform: 'scale3d(1.03,1.03,1)' }\n});\nvar ROTATE90 = glamorExports_1.keyframes({\n from: { transform: 'rotateZ(0deg)' },\n to: { transform: 'rotateZ(90deg)' }\n});\nvar ROTATE_N90 = glamorExports_1.keyframes({\n from: { transform: 'rotateZ(0deg)' },\n to: { transform: 'rotateZ(-90deg)' }\n});\n/**\n * All Fabric standard animations, exposed as json objects referencing predefined\n * keyframes. These objects can be mixed in with other class definitions.\n */\nexports.AnimationStyles = {\n slideRightIn10: _createAnimation(FADE_IN + \",\" + SLIDE_RIGHT_IN10, DURATION_3, EASING_FUNCTION_1),\n slideRightIn20: _createAnimation(FADE_IN + \",\" + SLIDE_RIGHT_IN20, DURATION_3, EASING_FUNCTION_1),\n slideRightIn40: _createAnimation(FADE_IN + \",\" + SLIDE_RIGHT_IN40, DURATION_3, EASING_FUNCTION_1),\n slideRightIn400: _createAnimation(FADE_IN + \",\" + SLIDE_RIGHT_IN400, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn10: _createAnimation(FADE_IN + \",\" + SLIDE_LEFT_IN10, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn20: _createAnimation(FADE_IN + \",\" + SLIDE_LEFT_IN20, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn40: _createAnimation(FADE_IN + \",\" + SLIDE_LEFT_IN40, DURATION_3, EASING_FUNCTION_1),\n slideLeftIn400: _createAnimation(FADE_IN + \",\" + SLIDE_LEFT_IN400, DURATION_3, EASING_FUNCTION_1),\n slideUpIn10: _createAnimation(FADE_IN + \",\" + SLIDE_UP_IN10, DURATION_3, EASING_FUNCTION_1),\n slideUpIn20: _createAnimation(FADE_IN + \",\" + SLIDE_UP_IN20, DURATION_3, EASING_FUNCTION_1),\n slideDownIn10: _createAnimation(FADE_IN + \",\" + SLIDE_DOWN_IN10, DURATION_3, EASING_FUNCTION_1),\n slideDownIn20: _createAnimation(FADE_IN + \",\" + SLIDE_DOWN_IN20, DURATION_3, EASING_FUNCTION_1),\n slideRightOut10: _createAnimation(FADE_OUT + \",\" + SLIDE_RIGHT_OUT10, DURATION_3, EASING_FUNCTION_1),\n slideRightOut20: _createAnimation(FADE_OUT + \",\" + SLIDE_RIGHT_OUT20, DURATION_3, EASING_FUNCTION_1),\n slideRightOut40: _createAnimation(FADE_OUT + \",\" + SLIDE_RIGHT_OUT40, DURATION_3, EASING_FUNCTION_1),\n slideRightOut400: _createAnimation(FADE_OUT + \",\" + SLIDE_RIGHT_OUT400, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut10: _createAnimation(FADE_OUT + \",\" + SLIDE_LEFT_OUT10, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut20: _createAnimation(FADE_OUT + \",\" + SLIDE_LEFT_OUT20, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut40: _createAnimation(FADE_OUT + \",\" + SLIDE_LEFT_OUT40, DURATION_3, EASING_FUNCTION_1),\n slideLeftOut400: _createAnimation(FADE_OUT + \",\" + SLIDE_LEFT_OUT400, DURATION_3, EASING_FUNCTION_1),\n slideUpOut10: _createAnimation(FADE_OUT + \",\" + SLIDE_UP_OUT10, DURATION_3, EASING_FUNCTION_1),\n slideUpOut20: _createAnimation(FADE_OUT + \",\" + SLIDE_UP_OUT20, DURATION_3, EASING_FUNCTION_1),\n slideDownOut10: _createAnimation(FADE_OUT + \",\" + SLIDE_DOWN_OUT10, DURATION_3, EASING_FUNCTION_1),\n slideDownOut20: _createAnimation(FADE_OUT + \",\" + SLIDE_DOWN_OUT20, DURATION_3, EASING_FUNCTION_1),\n scaleUpIn100: _createAnimation(FADE_IN + \",\" + SCALE_UP100, DURATION_3, EASING_FUNCTION_1),\n scaleDownIn100: _createAnimation(FADE_IN + \",\" + SCALE_DOWN100, DURATION_3, EASING_FUNCTION_1),\n scaleUpOut103: _createAnimation(FADE_OUT + \",\" + SCALE_UP103, DURATION_1, EASING_FUNCTION_2),\n scaleDownOut98: _createAnimation(FADE_OUT + \",\" + SCALE_DOWN98, DURATION_1, EASING_FUNCTION_2),\n fadeIn100: _createAnimation(FADE_IN, DURATION_1, EASING_FUNCTION_2),\n fadeIn200: _createAnimation(FADE_IN, DURATION_2, EASING_FUNCTION_2),\n fadeIn400: _createAnimation(FADE_IN, DURATION_3, EASING_FUNCTION_2),\n fadeIn500: _createAnimation(FADE_IN, DURATION_4, EASING_FUNCTION_2),\n fadeOut100: _createAnimation(FADE_OUT, DURATION_1, EASING_FUNCTION_2),\n fadeOut200: _createAnimation(FADE_OUT, DURATION_2, EASING_FUNCTION_2),\n fadeOut400: _createAnimation(FADE_OUT, DURATION_3, EASING_FUNCTION_2),\n fadeOut500: _createAnimation(FADE_OUT, DURATION_4, EASING_FUNCTION_2),\n rotate90deg: _createAnimation(ROTATE90, '0.1s', EASING_FUNCTION_2),\n rotateN90deg: _createAnimation(ROTATE_N90, '0.1s', EASING_FUNCTION_2)\n // expandCollapse 100/200/400, delay 100/200\n};\nfunction _createAnimation(animationName, animationDuration, animationTimingFunction) {\n return {\n animationName: animationName,\n animationDuration: animationDuration,\n animationTimingFunction: animationTimingFunction,\n animationFillMode: 'both'\n };\n}\nfunction _createSlideInX(fromX) {\n return glamorExports_1.keyframes({\n from: { transform: \"translate3d(\" + fromX + \"px,0,0)\" },\n to: { transform: \"translate3d(0,0,0)\" }\n });\n}\nfunction _createSlideInY(fromY) {\n return glamorExports_1.keyframes({\n from: { transform: \"translate3d(0,\" + fromY + \"px,0)\" },\n to: { transform: \"translate3d(0,0,0)\" }\n });\n}\nfunction _createSlideOutX(toX) {\n return glamorExports_1.keyframes({\n from: { transform: \"translate3d(0,0,0)\" },\n to: { transform: \"translate3d(\" + toX + \"px,0,0)\" }\n });\n}\nfunction _createSlideOutY(toY) {\n return glamorExports_1.keyframes({\n from: { transform: \"translate3d(0,0,0)\" },\n to: { transform: \"translate3d(0,\" + toY + \"px,0)\" }\n });\n}\n\n"
|
|
},
|
|
{
|
|
"id": 122,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\DefaultPalette.js",
|
|
"name": "./~/@uifabric/styling/lib/styles/DefaultPalette.js",
|
|
"index": 122,
|
|
"index2": 102,
|
|
"size": 1390,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 120,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DefaultPalette",
|
|
"loc": "5:23-50"
|
|
},
|
|
{
|
|
"moduleId": 131,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\ColorClassNames.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/ColorClassNames.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/ColorClassNames.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../styles/DefaultPalette",
|
|
"loc": "4:23-58"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DefaultPalette = {\n themeDarker: '#004578',\n themeDark: '#005a9e',\n themeDarkAlt: '#106ebe',\n themePrimary: '#0078d7',\n themeSecondary: '#2b88d8',\n themeTertiary: '#71afe5',\n themeLight: '#c7e0f4',\n themeLighter: '#deecf9',\n themeLighterAlt: '#eff6fc',\n black: '#000000',\n blackTranslucent40: 'rgba(0,0,0,.4)',\n neutralDark: '#212121',\n neutralPrimary: '#333333',\n neutralPrimaryAlt: '#3c3c3c',\n neutralSecondary: '#666666',\n neutralTertiary: '#a6a6a6',\n neutralTertiaryAlt: '#c8c8c8',\n neutralQuaternary: '#d0d0d0',\n neutralQuaternaryAlt: '#dadada',\n neutralLight: '#eaeaea',\n neutralLighter: '#f4f4f4',\n neutralLighterAlt: '#f8f8f8',\n white: '#ffffff',\n yellow: '#ffb900',\n yellowLight: '#fff100',\n orange: '#d83b01',\n orangeLight: '#ea4300',\n orangeLighter: '#ff8c00',\n redDark: '#a80000',\n red: '#e81123',\n magentaDark: '#5c005c',\n magenta: '#b4009e',\n magentaLight: '#e3008c',\n purpleDark: '#32145a',\n purple: '#5c2d91',\n purpleLight: '#b4a0ff',\n blueDark: '#002050',\n blueMid: '#00188f',\n blue: '#0078d7',\n blueLight: '#00bcf2',\n tealDark: '#004b50',\n teal: '#008272',\n tealLight: '#00b294',\n greenDark: '#004b1c',\n green: '#107c10',\n greenLight: '#bad80a'\n};\n\n"
|
|
},
|
|
{
|
|
"id": 123,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\DefaultFontStyles.js",
|
|
"name": "./~/@uifabric/styling/lib/styles/DefaultFontStyles.js",
|
|
"index": 123,
|
|
"index2": 103,
|
|
"size": 7980,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 120,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DefaultFontStyles",
|
|
"loc": "7:26-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar glamorExports_1 = require(\"../glamorExports\");\nvar index_1 = require(\"@uifabric/utilities/lib/index\");\n// Default urls.\nvar DefaultBaseUrl = 'https://static2.sharepointonline.com/files/fabric/assets';\n// Fallback fonts, if specified system or web fonts are unavailable.\nvar FontFamilyFallbacks = \"-apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif\";\n// Font face names to be registered.\nvar FontNameArabic = 'Segoe UI Web (Arabic)';\nvar FontNameCyrillic = 'Segoe UI Web (Cyrillic)';\nvar FontNameEastEuropean = 'Segoe UI Web (East European)';\nvar FontNameGreek = 'Segoe UI Web (Greek)';\nvar FontNameHebrew = 'Segoe UI Web (Hebrew)';\nvar FontNameThai = 'Leelawadee UI Web';\nvar FontNameVietnamese = 'Segoe UI Web (Vietnamese)';\nvar FontNameWestEuropean = 'Segoe UI Web (West European)';\nvar FontNameSelawik = 'Selawik Web';\n// Font families with fallbacks, for the general regions.\nvar FontFamilyArabic = \"'\" + FontNameArabic + \"'\";\nvar FontFamilyChineseSimplified = \"'Microsoft Yahei', Verdana, Simsun\";\nvar FontFamilyChineseTraditional = \"'Microsoft Jhenghei', Pmingliu\";\nvar FontFamilyCyrillic = \"'\" + FontNameCyrillic + \"'\";\nvar FontFamilyEastEuropean = \"'\" + FontNameEastEuropean + \"'\";\nvar FontFamilyGreek = \"'\" + FontNameGreek + \"'\";\nvar FontFamilyHebrew = \"'\" + FontNameHebrew + \"'\";\nvar FontFamilyHindi = \"'Nirmala UI'\";\nvar FontFamilyJapanese = \"'Yu Gothic', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka\";\nvar FontFamilyKorean = \"'Malgun Gothic', Gulim\";\nvar FontFamilySelawik = \"'\" + FontNameSelawik + \"'\";\nvar FontFamilyThai = \"'Leelawadee UI Web', 'Kmer UI'\";\nvar FontFamilyVietnamese = \"'\" + FontNameVietnamese + \"'\";\nvar FontFamilyWestEuropean = \"'\" + FontNameWestEuropean + \"'\";\n// Mapping of language prefix to to font family.\nvar LanguageToFontMap = {\n 'ar': FontFamilyArabic,\n 'bg': FontFamilyCyrillic,\n 'cs': FontFamilyEastEuropean,\n 'el': FontFamilyGreek,\n 'et': FontFamilyEastEuropean,\n 'he': FontFamilyHebrew,\n 'hi': FontFamilyHindi,\n 'hr': FontFamilyEastEuropean,\n 'hu': FontFamilyEastEuropean,\n 'ja': FontFamilyJapanese,\n 'kk': FontFamilyEastEuropean,\n 'ko': FontFamilyKorean,\n 'lt': FontFamilyEastEuropean,\n 'lv': FontFamilyEastEuropean,\n 'pl': FontFamilyEastEuropean,\n 'ru': FontFamilyCyrillic,\n 'sk': FontFamilyEastEuropean,\n 'sr-latn': FontFamilyEastEuropean,\n 'th': FontFamilyThai,\n 'tr': FontFamilyEastEuropean,\n 'uk': FontFamilyCyrillic,\n 'vi': FontFamilyVietnamese,\n 'zh-hans': FontFamilyChineseSimplified,\n 'zh-hant': FontFamilyChineseTraditional,\n};\n// Standard font sizes.\nvar FontSizes;\n(function (FontSizes) {\n FontSizes.mini = '10px';\n FontSizes.xSmall = '11px';\n FontSizes.small = '12px';\n FontSizes.smallPlus = '13px';\n FontSizes.medium = '14px';\n FontSizes.mediumPlus = '15px';\n FontSizes.icon = '16px';\n FontSizes.large = '17px';\n FontSizes.xLarge = '21px';\n FontSizes.xxLarge = '28px';\n FontSizes.superLarge = '42px';\n FontSizes.mega = '72px';\n})(FontSizes = exports.FontSizes || (exports.FontSizes = {}));\n// Standard font weights.\nvar FontWeights;\n(function (FontWeights) {\n FontWeights.light = 100;\n FontWeights.semilight = 300;\n FontWeights.regular = 400;\n FontWeights.semibold = 600;\n FontWeights.bold = 700;\n})(FontWeights = exports.FontWeights || (exports.FontWeights = {}));\n// Standard font styling.\nexports.DefaultFontStyles = {\n tiny: _createFont(FontSizes.mini, FontWeights.semibold),\n xSmall: _createFont(FontSizes.xSmall, FontWeights.regular),\n small: _createFont(FontSizes.small, FontWeights.regular),\n smallPlus: _createFont(FontSizes.smallPlus, FontWeights.regular),\n medium: _createFont(FontSizes.medium, FontWeights.regular),\n mediumPlus: _createFont(FontSizes.mediumPlus, FontWeights.regular),\n large: _createFont(FontSizes.large, FontWeights.semilight),\n xLarge: _createFont(FontSizes.xLarge, FontWeights.light),\n xxLarge: _createFont(FontSizes.xxLarge, FontWeights.light),\n superLarge: _createFont(FontSizes.superLarge, FontWeights.light),\n mega: _createFont(FontSizes.mega, FontWeights.light),\n icon: {\n fontFamily: '\"FabricMDL2Icons\"',\n fontWeight: FontWeights.regular,\n fontStyle: 'normal'\n }\n};\nfunction _getFontFamily() {\n var language = index_1.getLanguage();\n var fontFamily = FontFamilyWestEuropean;\n for (var lang in LanguageToFontMap) {\n if (LanguageToFontMap.hasOwnProperty(lang) && lang.indexOf(language) === 0) {\n fontFamily = LanguageToFontMap[lang];\n break;\n }\n }\n return fontFamily + \", \" + FontFamilyFallbacks;\n}\nfunction _createFont(size, weight) {\n return {\n fontFamily: _getFontFamily(),\n MozOsxFontSmoothing: 'grayscale',\n MsHighContrastAdjust: 'none',\n WebkitFontSmoothing: 'antialiased',\n fontSize: size,\n fontWeight: weight\n };\n}\nfunction _registerFontFace(fontFamily, url, fontWeight) {\n fontFamily = \"'\" + fontFamily + \"'\";\n glamorExports_1.fontFace({\n fontFamily: fontFamily,\n src: \"url('\" + url + \".woff2') format('woff2'),\" +\n (\"url('\" + url + \".woff') format('woff')\"),\n fontWeight: fontWeight,\n fontStyle: 'normal'\n });\n}\nfunction _registerFontFaceSet(baseUrl, fontFamily, cdnFolder, cdnFontName) {\n if (cdnFontName === void 0) { cdnFontName = 'segoeui'; }\n var urlBase = baseUrl + \"/\" + cdnFolder + \"/\" + cdnFontName;\n _registerFontFace(fontFamily, urlBase + '-light', FontWeights.light);\n _registerFontFace(fontFamily, urlBase + '-semilight', FontWeights.semilight);\n _registerFontFace(fontFamily, urlBase + '-regular', FontWeights.regular);\n _registerFontFace(fontFamily, urlBase + '-semibold', FontWeights.semibold);\n}\nfunction _registerDefaultFontFaces() {\n var baseUrl = _getFontBaseUrl();\n if (baseUrl) {\n var fontUrl = baseUrl + \"/fonts\";\n var iconUrl = baseUrl + \"/icons\";\n // Produce @font-face definitions for all supported web fonts.\n _registerFontFaceSet(fontUrl, FontNameThai, 'leelawadeeui-thai', 'leelawadeeui');\n _registerFontFaceSet(fontUrl, FontNameArabic, 'segoeui-arabic');\n _registerFontFaceSet(fontUrl, FontNameCyrillic, 'segoeui-cyrillic');\n _registerFontFaceSet(fontUrl, FontNameEastEuropean, 'segoeui-easteuropean');\n _registerFontFaceSet(fontUrl, FontNameGreek, 'segoeui-greek');\n _registerFontFaceSet(fontUrl, FontNameHebrew, 'segoeui-hebrew');\n _registerFontFaceSet(fontUrl, FontNameVietnamese, 'segoeui-vietnamese');\n _registerFontFaceSet(fontUrl, FontNameWestEuropean, 'segoeui-westeuropean');\n _registerFontFaceSet(fontUrl, FontFamilySelawik, 'selawik', 'selawik');\n // Leelawadee UI (Thai) does not have a 'light' weight, so we override\n // the font-face generated above to use the 'semilight' weight instead.\n _registerFontFace('Leelawadee UI Web', fontUrl + \"/leelawadeeui-thai/leelawadeeui-semilight\", FontWeights.light);\n // Leelawadee UI (Thai) does not have a 'semibold' weight, so we override\n // the font-face generated above to use the 'bold' weight instead.\n _registerFontFace('Leelawadee UI Web', fontUrl + \"/leelawadeeui-thai/leelawadeeui-bold\", FontWeights.semibold);\n // Register icon urls.\n _registerFontFace('FabricMDL2Icons', iconUrl + \"/fabricmdl2icons\", FontWeights.regular);\n }\n}\n/**\n * Reads the fontBaseUrl from window.FabricConfig.fontBaseUrl or falls back to a default.\n */\nfunction _getFontBaseUrl() {\n var win = index_1.getWindow();\n // tslint:disable-next-line:no-string-literal\n var fabricConfig = win ? win['FabricConfig'] : undefined;\n return (fabricConfig && fabricConfig.fontBaseUrl !== undefined) ? fabricConfig.fontBaseUrl : DefaultBaseUrl;\n}\n/**\n * Register the font faces.\n */\n_registerDefaultFontFaces();\n\n"
|
|
},
|
|
{
|
|
"id": 124,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\IconCodes.js",
|
|
"name": "./~/@uifabric/styling/lib/styles/IconCodes.js",
|
|
"index": 124,
|
|
"index2": 104,
|
|
"size": 59858,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 120,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./IconCodes",
|
|
"loc": "11:18-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IconCodes = {\n /**\n * Icon code with the value '\\uED68'.\n */\n aadLogo: '\\uED68',\n /**\n * Icon code with the value '\\uE8FB'.\n */\n accept: '\\uE8FB',\n /**\n * Icon code with the value '\\uED69'.\n */\n accessLogo: '\\uED69',\n /**\n * Icon code with the value '\\uE910'.\n */\n accounts: '\\uE910',\n /**\n * Icon code with the value '\\uE710'.\n */\n add: '\\uE710',\n /**\n * Icon code with the value '\\uEEB5'.\n */\n addEvent: '\\uEEB5',\n /**\n * Icon code with the value '\\uF0C8'.\n */\n addFavorite: '\\uF0C8',\n /**\n * Icon code with the value '\\uF0C9'.\n */\n addFavoriteFill: '\\uF0C9',\n /**\n * Icon code with the value '\\uE8FA'.\n */\n addFriend: '\\uE8FA',\n /**\n * Icon code with the value '\\uEE3D'.\n */\n addGroup: '\\uEE3D',\n /**\n * Icon code with the value '\\uED8E'.\n */\n addOnlineMeeting: '\\uED8E',\n /**\n * Icon code with the value '\\uED96'.\n */\n addPhone: '\\uED96',\n /**\n * Icon code with the value '\\uECC8'.\n */\n addTo: '\\uECC8',\n /**\n * Icon code with the value '\\uE7EF'.\n */\n admin: '\\uE7EF',\n /**\n * Icon code with the value '\\uED6A'.\n */\n adminALogo: '\\uED6A',\n /**\n * Icon code with the value '\\uED6B'.\n */\n adminCLogo: '\\uED6B',\n /**\n * Icon code with the value '\\uED6C'.\n */\n adminDLogo: '\\uED6C',\n /**\n * Icon code with the value '\\uED6D'.\n */\n adminELogo: '\\uED6D',\n /**\n * Icon code with the value '\\uED6E'.\n */\n adminLLogo: '\\uED6E',\n /**\n * Icon code with the value '\\uED6F'.\n */\n adminMLogo: '\\uED6F',\n /**\n * Icon code with the value '\\uED70'.\n */\n adminOLogo: '\\uED70',\n /**\n * Icon code with the value '\\uED71'.\n */\n adminPLogo: '\\uED71',\n /**\n * Icon code with the value '\\uED72'.\n */\n adminSLogo: '\\uED72',\n /**\n * Icon code with the value '\\uED73'.\n */\n adminYLogo: '\\uED73',\n /**\n * Icon code with the value '\\uEF7A'.\n */\n airTickets: '\\uEF7A',\n /**\n * Icon code with the value '\\uE709'.\n */\n airplane: '\\uE709',\n /**\n * Icon code with the value '\\uE919'.\n */\n alarmClock: '\\uE919',\n /**\n * Icon code with the value '\\uE7AB'.\n */\n album: '\\uE7AB',\n /**\n * Icon code with the value '\\uEC62'.\n */\n albumRemove: '\\uEC62',\n /**\n * Icon code with the value '\\uED74'.\n */\n alchemyLogo: '\\uED74',\n /**\n * Icon code with the value '\\uE8E3'.\n */\n alignCenter: '\\uE8E3',\n /**\n * Icon code with the value '\\uE8E4'.\n */\n alignLeft: '\\uE8E4',\n /**\n * Icon code with the value '\\uE8E2'.\n */\n alignRight: '\\uE8E2',\n /**\n * Icon code with the value '\\uEF8B'.\n */\n androidLogo: '\\uEF8B',\n /**\n * Icon code with the value '\\uE924'.\n */\n annotation: '\\uE924',\n /**\n * Icon code with the value '\\uEEC7'.\n */\n appForOfficeLogo: '\\uEEC7',\n /**\n * Icon code with the value '\\uECAA'.\n */\n appIconDefault: '\\uECAA',\n /**\n * Icon code with the value '\\uEB34'.\n */\n arrivals: '\\uEB34',\n /**\n * Icon code with the value '\\uEED5'.\n */\n arrowDownRight8: '\\uEED5',\n /**\n * Icon code with the value '\\uEEF0'.\n */\n arrowDownRightMirrored8: '\\uEEF0',\n /**\n * Icon code with the value '\\uEED4'.\n */\n arrowUpRight8: '\\uEED4',\n /**\n * Icon code with the value '\\uEEEF'.\n */\n arrowUpRightMirrored8: '\\uEEEF',\n /**\n * Icon code with the value '\\uEAC1'.\n */\n articles: '\\uEAC1',\n /**\n * Icon code with the value '\\uEDC0'.\n */\n ascending: '\\uEDC0',\n /**\n * Icon code with the value '\\uEEB6'.\n */\n assetLibrary: '\\uEEB6',\n /**\n * Icon code with the value '\\uEA38'.\n */\n asterisk: '\\uEA38',\n /**\n * Icon code with the value '\\uEF85'.\n */\n atpLogo: '\\uEF85',\n /**\n * Icon code with the value '\\uE723'.\n */\n attach: '\\uE723',\n /**\n * Icon code with the value '\\uEE70'.\n */\n australianRules: '\\uEE70',\n /**\n * Icon code with the value '\\uE78E'.\n */\n autoEnhanceOff: '\\uE78E',\n /**\n * Icon code with the value '\\uE78D'.\n */\n autoEnhanceOn: '\\uE78D',\n /**\n * Icon code with the value '\\uEB24'.\n */\n autoRacing: '\\uEB24',\n /**\n * Icon code with the value '\\uEE6A'.\n */\n awayStatus: '\\uEE6A',\n /**\n * Icon code with the value '\\uEB6A'.\n */\n azureLogo: '\\uEB6A',\n /**\n * Icon code with the value '\\uE72B'.\n */\n back: '\\uE72B',\n /**\n * Icon code with the value '\\uE73F'.\n */\n backToWindow: '\\uE73F',\n /**\n * Icon code with the value '\\uEC1B'.\n */\n badge: '\\uEC1B',\n /**\n * Icon code with the value '\\uED7E'.\n */\n balloons: '\\uED7E',\n /**\n * Icon code with the value '\\uEAE7'.\n */\n barChart4: '\\uEAE7',\n /**\n * Icon code with the value '\\uE9EB'.\n */\n barChartHorizontal: '\\uE9EB',\n /**\n * Icon code with the value '\\uEB20'.\n */\n baseball: '\\uEB20',\n /**\n * Icon code with the value '\\uE9AA'.\n */\n bidiLtr: '\\uE9AA',\n /**\n * Icon code with the value '\\uE9AB'.\n */\n bidiRtl: '\\uE9AB',\n /**\n * Icon code with the value '\\uEB6B'.\n */\n bingLogo: '\\uEB6B',\n /**\n * Icon code with the value '\\uE8F8'.\n */\n blockContact: '\\uE8F8',\n /**\n * Icon code with the value '\\uECE4'.\n */\n blocked2: '\\uECE4',\n /**\n * Icon code with the value '\\uE733'.\n */\n blocked: '\\uE733',\n /**\n * Icon code with the value '\\uE9C9'.\n */\n blowingSnow: '\\uE9C9',\n /**\n * Icon code with the value '\\uEF68'.\n */\n boards: '\\uEF68',\n /**\n * Icon code with the value '\\uE8DD'.\n */\n bold: '\\uE8DD',\n /**\n * Icon code with the value '\\uEDC7'.\n */\n bookingsLogo: '\\uEDC7',\n /**\n * Icon code with the value '\\uE8A4'.\n */\n bookmarks: '\\uE8A4',\n /**\n * Icon code with the value '\\uEA41'.\n */\n bookmarksMirrored: '\\uEA41',\n /**\n * Icon code with the value '\\uED75'.\n */\n boxLogo: '\\uED75',\n /**\n * Icon code with the value '\\uF173'.\n */\n branchFork: '\\uF173',\n /**\n * Icon code with the value '\\uEF8C'.\n */\n breadcrumb: '\\uEF8C',\n /**\n * Icon code with the value '\\uE706'.\n */\n brightness: '\\uE706',\n /**\n * Icon code with the value '\\uEA99'.\n */\n broom: '\\uEA99',\n /**\n * Icon code with the value '\\uF0D0'.\n */\n bufferTimeAfter: '\\uF0D0',\n /**\n * Icon code with the value '\\uF0CF'.\n */\n bufferTimeBefore: '\\uF0CF',\n /**\n * Icon code with the value '\\uF0D1'.\n */\n bufferTimeBoth: '\\uF0D1',\n /**\n * Icon code with the value '\\uE8FD'.\n */\n bulletedList: '\\uE8FD',\n /**\n * Icon code with the value '\\uEA42'.\n */\n bulletedListMirrored: '\\uEA42',\n /**\n * Icon code with the value '\\uEB47'.\n */\n busSolid: '\\uEB47',\n /**\n * Icon code with the value '\\uEC32'.\n */\n cafe: '\\uEC32',\n /**\n * Icon code with the value '\\uECA4'.\n */\n cake: '\\uECA4',\n /**\n * Icon code with the value '\\uE948'.\n */\n calculatorAddition: '\\uE948',\n /**\n * Icon code with the value '\\uE949'.\n */\n calculatorSubtract: '\\uE949',\n /**\n * Icon code with the value '\\uE787'.\n */\n calendar: '\\uE787',\n /**\n * Icon code with the value '\\uEE9A'.\n */\n calendarAgenda: '\\uEE9A',\n /**\n * Icon code with the value '\\uE8BF'.\n */\n calendarDay: '\\uE8BF',\n /**\n * Icon code with the value '\\uED28'.\n */\n calendarMirrored: '\\uED28',\n /**\n * Icon code with the value '\\uE8F5'.\n */\n calendarReply: '\\uE8F5',\n /**\n * Icon code with the value '\\uE8C0'.\n */\n calendarWeek: '\\uE8C0',\n /**\n * Icon code with the value '\\uEF51'.\n */\n calendarWorkWeek: '\\uEF51',\n /**\n * Icon code with the value '\\uF172'.\n */\n caloriesAdd: '\\uF172',\n /**\n * Icon code with the value '\\uE722'.\n */\n camera: '\\uE722',\n /**\n * Icon code with the value '\\uE711'.\n */\n cancel: '\\uE711',\n /**\n * Icon code with the value '\\uE804'.\n */\n car: '\\uE804',\n /**\n * Icon code with the value '\\uF121'.\n */\n caretBottomLeftSolid8: '\\uF121',\n /**\n * Icon code with the value '\\uF122'.\n */\n caretBottomRightSolid8: '\\uF122',\n /**\n * Icon code with the value '\\uEDD8'.\n */\n caretDown8: '\\uEDD8',\n /**\n * Icon code with the value '\\uEDDC'.\n */\n caretDownSolid8: '\\uEDDC',\n /**\n * Icon code with the value '\\uE817'.\n */\n caretHollow: '\\uE817',\n /**\n * Icon code with the value '\\uEA45'.\n */\n caretHollowMirrored: '\\uEA45',\n /**\n * Icon code with the value '\\uEDD5'.\n */\n caretLeft8: '\\uEDD5',\n /**\n * Icon code with the value '\\uEDD9'.\n */\n caretLeftSolid8: '\\uEDD9',\n /**\n * Icon code with the value '\\uEDD6'.\n */\n caretRight8: '\\uEDD6',\n /**\n * Icon code with the value '\\uEDDA'.\n */\n caretRightSolid8: '\\uEDDA',\n /**\n * Icon code with the value '\\uE818'.\n */\n caretSolid: '\\uE818',\n /**\n * Icon code with the value '\\uEA46'.\n */\n caretSolidMirrored: '\\uEA46',\n /**\n * Icon code with the value '\\uEF54'.\n */\n caretTopLeftSolid8: '\\uEF54',\n /**\n * Icon code with the value '\\uEF55'.\n */\n caretTopRightSolid8: '\\uEF55',\n /**\n * Icon code with the value '\\uEDD7'.\n */\n caretUp8: '\\uEDD7',\n /**\n * Icon code with the value '\\uEDDB'.\n */\n caretUpSolid8: '\\uEDDB',\n /**\n * Icon code with the value '\\uED7F'.\n */\n cat: '\\uED7F',\n /**\n * Icon code with the value '\\uE8EA'.\n */\n cellPhone: '\\uE8EA',\n /**\n * Icon code with the value '\\uEB95'.\n */\n certificate: '\\uEB95',\n /**\n * Icon code with the value '\\uE999'.\n */\n chart: '\\uE999',\n /**\n * Icon code with the value '\\uE901'.\n */\n chat: '\\uE901',\n /**\n * Icon code with the value '\\uECFE'.\n */\n chatInviteFriend: '\\uECFE',\n /**\n * Icon code with the value '\\uE9D5'.\n */\n checkList: '\\uE9D5',\n /**\n * Icon code with the value '\\uE73E'.\n */\n checkMark: '\\uE73E',\n /**\n * Icon code with the value '\\uE739'.\n */\n checkbox: '\\uE739',\n /**\n * Icon code with the value '\\uE73A'.\n */\n checkboxComposite: '\\uE73A',\n /**\n * Icon code with the value '\\uE73C'.\n */\n checkboxIndeterminate: '\\uE73C',\n /**\n * Icon code with the value '\\uE70D'.\n */\n chevronDown: '\\uE70D',\n /**\n * Icon code with the value '\\uE972'.\n */\n chevronDownMed: '\\uE972',\n /**\n * Icon code with the value '\\uE96E'.\n */\n chevronDownSmall: '\\uE96E',\n /**\n * Icon code with the value '\\uE76B'.\n */\n chevronLeft: '\\uE76B',\n /**\n * Icon code with the value '\\uE973'.\n */\n chevronLeftMed: '\\uE973',\n /**\n * Icon code with the value '\\uE96F'.\n */\n chevronLeftSmall: '\\uE96F',\n /**\n * Icon code with the value '\\uE76C'.\n */\n chevronRight: '\\uE76C',\n /**\n * Icon code with the value '\\uE974'.\n */\n chevronRightMed: '\\uE974',\n /**\n * Icon code with the value '\\uE970'.\n */\n chevronRightSmall: '\\uE970',\n /**\n * Icon code with the value '\\uE70E'.\n */\n chevronUp: '\\uE70E',\n /**\n * Icon code with the value '\\uE971'.\n */\n chevronUpMed: '\\uE971',\n /**\n * Icon code with the value '\\uE96D'.\n */\n chevronUpSmall: '\\uE96D',\n /**\n * Icon code with the value '\\uE830'.\n */\n chromeBack: '\\uE830',\n /**\n * Icon code with the value '\\uEA47'.\n */\n chromeBackMirrored: '\\uEA47',\n /**\n * Icon code with the value '\\uE8BB'.\n */\n chromeClose: '\\uE8BB',\n /**\n * Icon code with the value '\\uE921'.\n */\n chromeMinimize: '\\uE921',\n /**\n * Icon code with the value '\\uEA3B'.\n */\n circleFill: '\\uEA3B',\n /**\n * Icon code with the value '\\uED9E'.\n */\n circleHalfFull: '\\uED9E',\n /**\n * Icon code with the value '\\uEAEE'.\n */\n circlePlus: '\\uEAEE',\n /**\n * Icon code with the value '\\uEA3A'.\n */\n circleRing: '\\uEA3A',\n /**\n * Icon code with the value '\\uEDC8'.\n */\n classNotebookLogo: '\\uEDC8',\n /**\n * Icon code with the value '\\uEF75'.\n */\n classroomLogo: '\\uEF75',\n /**\n * Icon code with the value '\\uE894'.\n */\n clear: '\\uE894',\n /**\n * Icon code with the value '\\uEF8F'.\n */\n clearFilter: '\\uEF8F',\n /**\n * Icon code with the value '\\uEDDD'.\n */\n clearFormatting: '\\uEDDD',\n /**\n * Icon code with the value '\\uE9C2'.\n */\n clearNight: '\\uE9C2',\n /**\n * Icon code with the value '\\uE917'.\n */\n clock: '\\uE917',\n /**\n * Icon code with the value '\\uE89F'.\n */\n closePane: '\\uE89F',\n /**\n * Icon code with the value '\\uEA49'.\n */\n closePaneMirrored: '\\uEA49',\n /**\n * Icon code with the value '\\uEF84'.\n */\n closedCaption: '\\uEF84',\n /**\n * Icon code with the value '\\uECA9'.\n */\n cloudAdd: '\\uECA9',\n /**\n * Icon code with the value '\\uEBD3'.\n */\n cloudDownload: '\\uEBD3',\n /**\n * Icon code with the value '\\uEC8E'.\n */\n cloudUpload: '\\uEC8E',\n /**\n * Icon code with the value '\\uE9BE'.\n */\n cloudWeather: '\\uE9BE',\n /**\n * Icon code with the value '\\uE9BF'.\n */\n cloudy: '\\uE9BF',\n /**\n * Icon code with the value '\\uEA9D'.\n */\n cocktails: '\\uEA9D',\n /**\n * Icon code with the value '\\uE943'.\n */\n code: '\\uE943',\n /**\n * Icon code with the value '\\uEAEF'.\n */\n coffee: '\\uEAEF',\n /**\n * Icon code with the value '\\uEDC9'.\n */\n collabsDbLogo: '\\uEDC9',\n /**\n * Icon code with the value '\\uEF66'.\n */\n collapseMenu: '\\uEF66',\n /**\n * Icon code with the value '\\uEB26'.\n */\n collegeFootball: '\\uEB26',\n /**\n * Icon code with the value '\\uEB25'.\n */\n collegeHoops: '\\uEB25',\n /**\n * Icon code with the value '\\uE790'.\n */\n color: '\\uE790',\n /**\n * Icon code with the value '\\uEDBB'.\n */\n combine: '\\uEDBB',\n /**\n * Icon code with the value '\\uE942'.\n */\n compassNW: '\\uE942',\n /**\n * Icon code with the value '\\uE930'.\n */\n completed: '\\uE930',\n /**\n * Icon code with the value '\\uEC61'.\n */\n completedSolid: '\\uEC61',\n /**\n * Icon code with the value '\\uE77B'.\n */\n contact: '\\uE77B',\n /**\n * Icon code with the value '\\uEEBD'.\n */\n contactCard: '\\uEEBD',\n /**\n * Icon code with the value '\\uE779'.\n */\n contactInfo: '\\uE779',\n /**\n * Icon code with the value '\\uE7B8'.\n */\n container: '\\uE7B8',\n /**\n * Icon code with the value '\\uE7A1'.\n */\n contrast: '\\uE7A1',\n /**\n * Icon code with the value '\\uE8C8'.\n */\n copy: '\\uE8C8',\n /**\n * Icon code with the value '\\uEAF3'.\n */\n cotton: '\\uEAF3',\n /**\n * Icon code with the value '\\uEB1E'.\n */\n cricket: '\\uEB1E',\n /**\n * Icon code with the value '\\uEBEF'.\n */\n css: '\\uEBEF',\n /**\n * Icon code with the value '\\uEEBE'.\n */\n customList: '\\uEEBE',\n /**\n * Icon code with the value '\\uEEBF'.\n */\n customListMirrored: '\\uEEBF',\n /**\n * Icon code with the value '\\uEAC7'.\n */\n cycling: '\\uEAC7',\n /**\n * Icon code with the value '\\uEEB7'.\n */\n dataConnectionLibrary: '\\uEEB7',\n /**\n * Icon code with the value '\\uEA17'.\n */\n dateTime2: '\\uEA17',\n /**\n * Icon code with the value '\\uEC92'.\n */\n dateTime: '\\uEC92',\n /**\n * Icon code with the value '\\uEE93'.\n */\n dateTimeMirrored: '\\uEE93',\n /**\n * Icon code with the value '\\uE290'.\n */\n decreaseIndentLegacy: '\\uE290',\n /**\n * Icon code with the value '\\uEEEE'.\n */\n delveAnalytics: '\\uEEEE',\n /**\n * Icon code with the value '\\uEDCA'.\n */\n delveAnalyticsLogo: '\\uEDCA',\n /**\n * Icon code with the value '\\uED76'.\n */\n delveLogo: '\\uED76',\n /**\n * Icon code with the value '\\uEDC1'.\n */\n descending: '\\uEDC1',\n /**\n * Icon code with the value '\\uEB3C'.\n */\n design: '\\uEB3C',\n /**\n * Icon code with the value '\\uEC7A'.\n */\n developerTools: '\\uEC7A',\n /**\n * Icon code with the value '\\uEA6C'.\n */\n devices3: '\\uEA6C',\n /**\n * Icon code with the value '\\uEB66'.\n */\n devices4: '\\uEB66',\n /**\n * Icon code with the value '\\uE75F'.\n */\n dialpad: '\\uE75F',\n /**\n * Icon code with the value '\\uE82D'.\n */\n dictionary: '\\uE82D',\n /**\n * Icon code with the value '\\uEAC8'.\n */\n dietPlanNotebook: '\\uEAC8',\n /**\n * Icon code with the value '\\uE8D8'.\n */\n disableUpdates: '\\uE8D8',\n /**\n * Icon code with the value '\\uE8E0'.\n */\n dislike: '\\uE8E0',\n /**\n * Icon code with the value '\\uEEB8'.\n */\n docLibrary: '\\uEEB8',\n /**\n * Icon code with the value '\\uE90C'.\n */\n dockLeft: '\\uE90C',\n /**\n * Icon code with the value '\\uEA4C'.\n */\n dockLeftMirrored: '\\uEA4C',\n /**\n * Icon code with the value '\\uE90D'.\n */\n dockRight: '\\uE90D',\n /**\n * Icon code with the value '\\uEDCB'.\n */\n docsLogo: '\\uEDCB',\n /**\n * Icon code with the value '\\uE8A5'.\n */\n document: '\\uE8A5',\n /**\n * Icon code with the value '\\uEF57'.\n */\n documentReply: '\\uEF57',\n /**\n * Icon code with the value '\\uEF6C'.\n */\n documentSearch: '\\uEF6C',\n /**\n * Icon code with the value '\\uEED6'.\n */\n documentSet: '\\uEED6',\n /**\n * Icon code with the value '\\uEC17'.\n */\n documentation: '\\uEC17',\n /**\n * Icon code with the value '\\uEB75'.\n */\n door: '\\uEB75',\n /**\n * Icon code with the value '\\uEB8F'.\n */\n doubleBookmark: '\\uEB8F',\n /**\n * Icon code with the value '\\uEE97'.\n */\n doubleChevronDown12: '\\uEE97',\n /**\n * Icon code with the value '\\uEE04'.\n */\n doubleChevronDown: '\\uEE04',\n /**\n * Icon code with the value '\\uEE98'.\n */\n doubleChevronLeft12: '\\uEE98',\n /**\n * Icon code with the value '\\uEDBE'.\n */\n doubleChevronLeft: '\\uEDBE',\n /**\n * Icon code with the value '\\uE991'.\n */\n doubleChevronLeftMed: '\\uE991',\n /**\n * Icon code with the value '\\uEA4D'.\n */\n doubleChevronLeftMedMirrored: '\\uEA4D',\n /**\n * Icon code with the value '\\uEE99'.\n */\n doubleChevronRight12: '\\uEE99',\n /**\n * Icon code with the value '\\uEDBF'.\n */\n doubleChevronRight: '\\uEDBF',\n /**\n * Icon code with the value '\\uEE96'.\n */\n doubleChevronUp12: '\\uEE96',\n /**\n * Icon code with the value '\\uEDBD'.\n */\n doubleChevronUp: '\\uEDBD',\n /**\n * Icon code with the value '\\uE74B'.\n */\n down: '\\uE74B',\n /**\n * Icon code with the value '\\uE896'.\n */\n download: '\\uE896',\n /**\n * Icon code with the value '\\uECA8'.\n */\n drm: '\\uECA8',\n /**\n * Icon code with the value '\\uEB42'.\n */\n drop: '\\uEB42',\n /**\n * Icon code with the value '\\uED77'.\n */\n dropboxLogo: '\\uED77',\n /**\n * Icon code with the value '\\uEDC5'.\n */\n dropdown: '\\uEDC5',\n /**\n * Icon code with the value '\\uE9CD'.\n */\n duststorm: '\\uE9CD',\n /**\n * Icon code with the value '\\uEDCD'.\n */\n dynamicSmbLogo: '\\uEDCD',\n /**\n * Icon code with the value '\\uEDCC'.\n */\n dynamics365Logo: '\\uEDCC',\n /**\n * Icon code with the value '\\uE807'.\n */\n eatDrink: '\\uE807',\n /**\n * Icon code with the value '\\uEC60'.\n */\n edgeLogo: '\\uEC60',\n /**\n * Icon code with the value '\\uE70F'.\n */\n edit: '\\uE70F',\n /**\n * Icon code with the value '\\uEF61'.\n */\n editMail: '\\uEF61',\n /**\n * Icon code with the value '\\uEB7E'.\n */\n editMirrored: '\\uEB7E',\n /**\n * Icon code with the value '\\uED9D'.\n */\n editNote: '\\uED9D',\n /**\n * Icon code with the value '\\uEF77'.\n */\n editPhoto: '\\uEF77',\n /**\n * Icon code with the value '\\uEF60'.\n */\n editStyle: '\\uEF60',\n /**\n * Icon code with the value '\\uECCE'.\n */\n embed: '\\uECCE',\n /**\n * Icon code with the value '\\uE731'.\n */\n emi: '\\uE731',\n /**\n * Icon code with the value '\\uE76E'.\n */\n emoji2: '\\uE76E',\n /**\n * Icon code with the value '\\uE899'.\n */\n emoji: '\\uE899',\n /**\n * Icon code with the value '\\uEA88'.\n */\n emojiDisappointed: '\\uEA88',\n /**\n * Icon code with the value '\\uEA87'.\n */\n emojiNeutral: '\\uEA87',\n /**\n * Icon code with the value '\\uEF88'.\n */\n emptyRecycleBin: '\\uEF88',\n /**\n * Icon code with the value '\\uE9E9'.\n */\n equalizer: '\\uE9E9',\n /**\n * Icon code with the value '\\uE75C'.\n */\n eraseTool: '\\uE75C',\n /**\n * Icon code with the value '\\uE783'.\n */\n error: '\\uE783',\n /**\n * Icon code with the value '\\uEA39'.\n */\n errorBadge: '\\uEA39',\n /**\n * Icon code with the value '\\uECA3'.\n */\n event: '\\uECA3',\n /**\n * Icon code with the value '\\uED8B'.\n */\n eventInfo: '\\uED8B',\n /**\n * Icon code with the value '\\uEF73'.\n */\n excelDocument: '\\uEF73',\n /**\n * Icon code with the value '\\uEC28'.\n */\n excelLogo: '\\uEC28',\n /**\n * Icon code with the value '\\uED78'.\n */\n exchangeLogo: '\\uED78',\n /**\n * Icon code with the value '\\uEF67'.\n */\n expandMenu: '\\uEF67',\n /**\n * Icon code with the value '\\uF09C'.\n */\n fabricAssetLibrary: '\\uF09C',\n /**\n * Icon code with the value '\\uF09D'.\n */\n fabricDataConnectionLibrary: '\\uF09D',\n /**\n * Icon code with the value '\\uF09E'.\n */\n fabricDocLibrary: '\\uF09E',\n /**\n * Icon code with the value '\\uF0A9'.\n */\n fabricFolder: '\\uF0A9',\n /**\n * Icon code with the value '\\uF0AA'.\n */\n fabricFolderFill: '\\uF0AA',\n /**\n * Icon code with the value '\\uF0A4'.\n */\n fabricFolderSearch: '\\uF0A4',\n /**\n * Icon code with the value '\\uF09F'.\n */\n fabricFormLibrary: '\\uF09F',\n /**\n * Icon code with the value '\\uF0A0'.\n */\n fabricFormLibraryMirrored: '\\uF0A0',\n /**\n * Icon code with the value '\\uF0A5'.\n */\n fabricMovetoFolder: '\\uF0A5',\n /**\n * Icon code with the value '\\uF0AB'.\n */\n fabricNewFolder: '\\uF0AB',\n /**\n * Icon code with the value '\\uF0A8'.\n */\n fabricOpenFolderHorizontal: '\\uF0A8',\n /**\n * Icon code with the value '\\uF0AC'.\n */\n fabricPictureLibrary: '\\uF0AC',\n /**\n * Icon code with the value '\\uF0A3'.\n */\n fabricPublicFolder: '\\uF0A3',\n /**\n * Icon code with the value '\\uF0A1'.\n */\n fabricReportLibrary: '\\uF0A1',\n /**\n * Icon code with the value '\\uF0A2'.\n */\n fabricReportLibraryMirrored: '\\uF0A2',\n /**\n * Icon code with the value '\\uF0A7'.\n */\n fabricSyncFolder: '\\uF0A7',\n /**\n * Icon code with the value '\\uF0A6'.\n */\n fabricUnsyncFolder: '\\uF0A6',\n /**\n * Icon code with the value '\\uECB3'.\n */\n facebookLogo: '\\uECB3',\n /**\n * Icon code with the value '\\uEBDA'.\n */\n family: '\\uEBDA',\n /**\n * Icon code with the value '\\uECEB'.\n */\n fangBody: '\\uECEB',\n /**\n * Icon code with the value '\\uE728'.\n */\n favoriteList: '\\uE728',\n /**\n * Icon code with the value '\\uE734'.\n */\n favoriteStar: '\\uE734',\n /**\n * Icon code with the value '\\uE735'.\n */\n favoriteStarFill: '\\uE735',\n /**\n * Icon code with the value '\\uEF5C'.\n */\n fax: '\\uEF5C',\n /**\n * Icon code with the value '\\uE7E3'.\n */\n ferry: '\\uE7E3',\n /**\n * Icon code with the value '\\uEB48'.\n */\n ferrySolid: '\\uEB48',\n /**\n * Icon code with the value '\\uE71C'.\n */\n filter: '\\uE71C',\n /**\n * Icon code with the value '\\uE795'.\n */\n filters: '\\uE795',\n /**\n * Icon code with the value '\\uE7BB'.\n */\n financial: '\\uE7BB',\n /**\n * Icon code with the value '\\uE928'.\n */\n fingerprint: '\\uE928',\n /**\n * Icon code with the value '\\uE7C1'.\n */\n flag: '\\uE7C1',\n /**\n * Icon code with the value '\\uE935'.\n */\n flickDown: '\\uE935',\n /**\n * Icon code with the value '\\uE937'.\n */\n flickLeft: '\\uE937',\n /**\n * Icon code with the value '\\uE938'.\n */\n flickRight: '\\uE938',\n /**\n * Icon code with the value '\\uE936'.\n */\n flickUp: '\\uE936',\n /**\n * Icon code with the value '\\uEF90'.\n */\n flow: '\\uEF90',\n /**\n * Icon code with the value '\\uE9CB'.\n */\n fog: '\\uE9CB',\n /**\n * Icon code with the value '\\uE8B7'.\n */\n folder: '\\uE8B7',\n /**\n * Icon code with the value '\\uE8D5'.\n */\n folderFill: '\\uE8D5',\n /**\n * Icon code with the value '\\uF12B'.\n */\n folderHorizontal: '\\uF12B',\n /**\n * Icon code with the value '\\uE838'.\n */\n folderOpen: '\\uE838',\n /**\n * Icon code with the value '\\uEF65'.\n */\n folderSearch: '\\uEF65',\n /**\n * Icon code with the value '\\uE8D2'.\n */\n font: '\\uE8D2',\n /**\n * Icon code with the value '\\uE8D3'.\n */\n fontColor: '\\uE8D3',\n /**\n * Icon code with the value '\\uE8E7'.\n */\n fontDecrease: '\\uE8E7',\n /**\n * Icon code with the value '\\uE8E8'.\n */\n fontIncrease: '\\uE8E8',\n /**\n * Icon code with the value '\\uE8E9'.\n */\n fontSize: '\\uE8E9',\n /**\n * Icon code with the value '\\uEEB9'.\n */\n formLibrary: '\\uEEB9',\n /**\n * Icon code with the value '\\uEEBA'.\n */\n formLibraryMirrored: '\\uEEBA',\n /**\n * Icon code with the value '\\uE72A'.\n */\n forward: '\\uE72A',\n /**\n * Icon code with the value '\\uED8C'.\n */\n forwardEvent: '\\uED8C',\n /**\n * Icon code with the value '\\uE9EF'.\n */\n freezing: '\\uE9EF',\n /**\n * Icon code with the value '\\uE9CA'.\n */\n frigid: '\\uE9CA',\n /**\n * Icon code with the value '\\uE91F'.\n */\n fullCircleMask: '\\uE91F',\n /**\n * Icon code with the value '\\uE740'.\n */\n fullScreen: '\\uE740',\n /**\n * Icon code with the value '\\uE9DA'.\n */\n generate: '\\uE9DA',\n /**\n * Icon code with the value '\\uEB8E'.\n */\n giftCard: '\\uEB8E',\n /**\n * Icon code with the value '\\uEC1F'.\n */\n giftbox: '\\uEC1F',\n /**\n * Icon code with the value '\\uEA16'.\n */\n glasses: '\\uEA16',\n /**\n * Icon code with the value '\\uECF4'.\n */\n glimmer: '\\uECF4',\n /**\n * Icon code with the value '\\uE700'.\n */\n globalNavButton: '\\uE700',\n /**\n * Icon code with the value '\\uE774'.\n */\n globe: '\\uE774',\n /**\n * Icon code with the value '\\uEF53'.\n */\n globeFavorite: '\\uEF53',\n /**\n * Icon code with the value '\\uEB1F'.\n */\n golf: '\\uEB1F',\n /**\n * Icon code with the value '\\uEE0B'.\n */\n googleDriveLogo: '\\uEE0B',\n /**\n * Icon code with the value '\\uE8D1'.\n */\n gotoToday: '\\uE8D1',\n /**\n * Icon code with the value '\\uE75E'.\n */\n gripperTool: '\\uE75E',\n /**\n * Icon code with the value '\\uE902'.\n */\n group: '\\uE902',\n /**\n * Icon code with the value '\\uEE67'.\n */\n groupedAscending: '\\uEE67',\n /**\n * Icon code with the value '\\uEE66'.\n */\n groupedDescending: '\\uEE66',\n /**\n * Icon code with the value '\\uEF74'.\n */\n groupedList: '\\uEF74',\n /**\n * Icon code with the value '\\uEA00'.\n */\n hailDay: '\\uEA00',\n /**\n * Icon code with the value '\\uEA13'.\n */\n hailNight: '\\uEA13',\n /**\n * Icon code with the value '\\uE929'.\n */\n handwriting: '\\uE929',\n /**\n * Icon code with the value '\\uEA19'.\n */\n header1: '\\uEA19',\n /**\n * Icon code with the value '\\uEF36'.\n */\n header2: '\\uEF36',\n /**\n * Icon code with the value '\\uEF37'.\n */\n header3: '\\uEF37',\n /**\n * Icon code with the value '\\uEF38'.\n */\n header4: '\\uEF38',\n /**\n * Icon code with the value '\\uE95B'.\n */\n headset: '\\uE95B',\n /**\n * Icon code with the value '\\uE95E'.\n */\n health: '\\uE95E',\n /**\n * Icon code with the value '\\uEB51'.\n */\n heart: '\\uEB51',\n /**\n * Icon code with the value '\\uEB52'.\n */\n heartFill: '\\uEB52',\n /**\n * Icon code with the value '\\uE897'.\n */\n help: '\\uE897',\n /**\n * Icon code with the value '\\uEA51'.\n */\n helpMirrored: '\\uEA51',\n /**\n * Icon code with the value '\\uEF89'.\n */\n hide2: '\\uEF89',\n /**\n * Icon code with the value '\\uED1A'.\n */\n hide: '\\uED1A',\n /**\n * Icon code with the value '\\uE81C'.\n */\n history: '\\uE81C',\n /**\n * Icon code with the value '\\uE80F'.\n */\n home: '\\uE80F',\n /**\n * Icon code with the value '\\uEA8A'.\n */\n homeSolid: '\\uEA8A',\n /**\n * Icon code with the value '\\uE91D'.\n */\n hospital: '\\uE91D',\n /**\n * Icon code with the value '\\uE824'.\n */\n hotel: '\\uE824',\n /**\n * Icon code with the value '\\uEF8A'.\n */\n iOsAppStoreLogo: '\\uEF8A',\n /**\n * Icon code with the value '\\uE8C9'.\n */\n important: '\\uE8C9',\n /**\n * Icon code with the value '\\uEF64'.\n */\n inboxCheck: '\\uEF64',\n /**\n * Icon code with the value '\\uE814'.\n */\n incidentTriangle: '\\uE814',\n /**\n * Icon code with the value '\\uE291'.\n */\n increaseIndentLegacy: '\\uE291',\n /**\n * Icon code with the value '\\uEA1F'.\n */\n info2: '\\uEA1F',\n /**\n * Icon code with the value '\\uE946'.\n */\n info: '\\uE946',\n /**\n * Icon code with the value '\\uEC7D'.\n */\n insertTextBox: '\\uEC7D',\n /**\n * Icon code with the value '\\uE704'.\n */\n internetSharing: '\\uE704',\n /**\n * Icon code with the value '\\uEEC0'.\n */\n issueTracking: '\\uEEC0',\n /**\n * Icon code with the value '\\uEEC1'.\n */\n issueTrackingMirrored: '\\uEEC1',\n /**\n * Icon code with the value '\\uE8DB'.\n */\n italic: '\\uE8DB',\n /**\n * Icon code with the value '\\uED8F'.\n */\n joinOnlineMeeting: '\\uED8F',\n /**\n * Icon code with the value '\\uEBF0'.\n */\n js: '\\uEBF0',\n /**\n * Icon code with the value '\\uE932'.\n */\n label: '\\uE932',\n /**\n * Icon code with the value '\\uEF6B'.\n */\n landscapeOrientation: '\\uEF6B',\n /**\n * Icon code with the value '\\uEC76'.\n */\n laptopSelected: '\\uEC76',\n /**\n * Icon code with the value '\\uEECB'.\n */\n largeGrid: '\\uEECB',\n /**\n * Icon code with the value '\\uE8F1'.\n */\n library: '\\uE8F1',\n /**\n * Icon code with the value '\\uEF62'.\n */\n lifesaver: '\\uEF62',\n /**\n * Icon code with the value '\\uEF63'.\n */\n lifesaverLock: '\\uEF63',\n /**\n * Icon code with the value '\\uE793'.\n */\n light: '\\uE793',\n /**\n * Icon code with the value '\\uEA80'.\n */\n lightbulb: '\\uEA80',\n /**\n * Icon code with the value '\\uE945'.\n */\n lightningBolt: '\\uE945',\n /**\n * Icon code with the value '\\uE8E1'.\n */\n like: '\\uE8E1',\n /**\n * Icon code with the value '\\uE71B'.\n */\n link: '\\uE71B',\n /**\n * Icon code with the value '\\uEA37'.\n */\n list: '\\uEA37',\n /**\n * Icon code with the value '\\uEA55'.\n */\n listMirrored: '\\uEA55',\n /**\n * Icon code with the value '\\uE81D'.\n */\n location: '\\uE81D',\n /**\n * Icon code with the value '\\uE80E'.\n */\n locationCircle: '\\uE80E',\n /**\n * Icon code with the value '\\uE827'.\n */\n locationDot: '\\uE827',\n /**\n * Icon code with the value '\\uE920'.\n */\n locationFill: '\\uE920',\n /**\n * Icon code with the value '\\uE72E'.\n */\n lock: '\\uE72E',\n /**\n * Icon code with the value '\\uEC8A'.\n */\n lowerBrightness: '\\uEC8A',\n /**\n * Icon code with the value '\\uED79'.\n */\n lyncLogo: '\\uED79',\n /**\n * Icon code with the value '\\uE715'.\n */\n mail: '\\uE715',\n /**\n * Icon code with the value '\\uED80'.\n */\n mailAlert: '\\uED80',\n /**\n * Icon code with the value '\\uED81'.\n */\n mailCheck: '\\uED81',\n /**\n * Icon code with the value '\\uE8A8'.\n */\n mailFill: '\\uE8A8',\n /**\n * Icon code with the value '\\uE89C'.\n */\n mailForward: '\\uE89C',\n /**\n * Icon code with the value '\\uEA56'.\n */\n mailForwardMirrored: '\\uEA56',\n /**\n * Icon code with the value '\\uED82'.\n */\n mailLowImportance: '\\uED82',\n /**\n * Icon code with the value '\\uED83'.\n */\n mailPause: '\\uED83',\n /**\n * Icon code with the value '\\uED84'.\n */\n mailRepeat: '\\uED84',\n /**\n * Icon code with the value '\\uE8CA'.\n */\n mailReply: '\\uE8CA',\n /**\n * Icon code with the value '\\uE8C2'.\n */\n mailReplyAll: '\\uE8C2',\n /**\n * Icon code with the value '\\uEA58'.\n */\n mailReplyAllMirrored: '\\uEA58',\n /**\n * Icon code with the value '\\uEA57'.\n */\n mailReplyMirrored: '\\uEA57',\n /**\n * Icon code with the value '\\uE816'.\n */\n mapDirections: '\\uE816',\n /**\n * Icon code with the value '\\uE707'.\n */\n mapPin: '\\uE707',\n /**\n * Icon code with the value '\\uEAFC'.\n */\n market: '\\uEAFC',\n /**\n * Icon code with the value '\\uEF42'.\n */\n marketDown: '\\uEF42',\n /**\n * Icon code with the value '\\uE789'.\n */\n megaphone: '\\uE789',\n /**\n * Icon code with the value '\\uE77C'.\n */\n memo: '\\uE77C',\n /**\n * Icon code with the value '\\uE7D5'.\n */\n merge: '\\uE7D5',\n /**\n * Icon code with the value '\\uE8BD'.\n */\n message: '\\uE8BD',\n /**\n * Icon code with the value '\\uEC70'.\n */\n messageFill: '\\uEC70',\n /**\n * Icon code with the value '\\uE720'.\n */\n microphone: '\\uE720',\n /**\n * Icon code with the value '\\uF130'.\n */\n microsoftStaffhubLogo: '\\uF130',\n /**\n * Icon code with the value '\\uE732'.\n */\n miniLink: '\\uE732',\n /**\n * Icon code with the value '\\uEC75'.\n */\n mobileSelected: '\\uEC75',\n /**\n * Icon code with the value '\\uEAFD'.\n */\n money: '\\uEAFD',\n /**\n * Icon code with the value '\\uE712'.\n */\n more: '\\uE712',\n /**\n * Icon code with the value '\\uEB22'.\n */\n moreSports: '\\uEB22',\n /**\n * Icon code with the value '\\uE7C2'.\n */\n move: '\\uE7C2',\n /**\n * Icon code with the value '\\uE8DE'.\n */\n moveToFolder: '\\uE8DE',\n /**\n * Icon code with the value '\\uEB6C'.\n */\n msnLogo: '\\uEB6C',\n /**\n * Icon code with the value '\\uE762'.\n */\n multiSelect: '\\uE762',\n /**\n * Icon code with the value '\\uEA98'.\n */\n multiSelectMirrored: '\\uEA98',\n /**\n * Icon code with the value '\\uE940'.\n */\n musicInCollection: '\\uE940',\n /**\n * Icon code with the value '\\uEA36'.\n */\n musicInCollectionFill: '\\uEA36',\n /**\n * Icon code with the value '\\uEC4F'.\n */\n musicNote: '\\uEC4F',\n /**\n * Icon code with the value '\\uE800'.\n */\n nav2DMapView: '\\uE800',\n /**\n * Icon code with the value '\\uE8F4'.\n */\n newFolder: '\\uE8F4',\n /**\n * Icon code with the value '\\uE900'.\n */\n news: '\\uE900',\n /**\n * Icon code with the value '\\uED99'.\n */\n noteForward: '\\uED99',\n /**\n * Icon code with the value '\\uED9A'.\n */\n notePinned: '\\uED9A',\n /**\n * Icon code with the value '\\uED98'.\n */\n noteReply: '\\uED98',\n /**\n * Icon code with the value '\\uEDC4'.\n */\n numberField: '\\uEDC4',\n /**\n * Icon code with the value '\\uEA1C'.\n */\n numberedList: '\\uEA1C',\n /**\n * Icon code with the value '\\uEDCE'.\n */\n officeAssistantLogo: '\\uEDCE',\n /**\n * Icon code with the value '\\uEF86'.\n */\n officeFormLogo: '\\uEF86',\n /**\n * Icon code with the value '\\uEB6E'.\n */\n officeLogo: '\\uEB6E',\n /**\n * Icon code with the value '\\uEDCF'.\n */\n officeStoreLogo: '\\uEDCF',\n /**\n * Icon code with the value '\\uED7A'.\n */\n officeVideoLogo: '\\uED7A',\n /**\n * Icon code with the value '\\uEEC8'.\n */\n offlineOneDriveParachute: '\\uEEC8',\n /**\n * Icon code with the value '\\uEEC9'.\n */\n offlineOneDriveParachuteDisabled: '\\uEEC9',\n /**\n * Icon code with the value '\\uE941'.\n */\n oneDrive: '\\uE941',\n /**\n * Icon code with the value '\\uEF32'.\n */\n oneDriveAdd: '\\uEF32',\n /**\n * Icon code with the value '\\uEDD0'.\n */\n oneNoteEduLogo: '\\uEDD0',\n /**\n * Icon code with the value '\\uEC0D'.\n */\n oneNoteLogo: '\\uEC0D',\n /**\n * Icon code with the value '\\uE8E5'.\n */\n openFile: '\\uE8E5',\n /**\n * Icon code with the value '\\uED25'.\n */\n openFolderHorizontal: '\\uED25',\n /**\n * Icon code with the value '\\uE8A7'.\n */\n openInNewWindow: '\\uE8A7',\n /**\n * Icon code with the value '\\uE8A0'.\n */\n openPane: '\\uE8A0',\n /**\n * Icon code with the value '\\uEA5B'.\n */\n openPaneMirrored: '\\uEA5B',\n /**\n * Icon code with the value '\\uECA6'.\n */\n org: '\\uECA6',\n /**\n * Icon code with the value '\\uED34'.\n */\n outOfOffice: '\\uED34',\n /**\n * Icon code with the value '\\uEB6D'.\n */\n outlookLogo: '\\uEB6D',\n /**\n * Icon code with the value '\\uE7C3'.\n */\n page: '\\uE7C3',\n /**\n * Icon code with the value '\\uEA1A'.\n */\n pageAdd: '\\uEA1A',\n /**\n * Icon code with the value '\\uF02C'.\n */\n pageCheckedOut: '\\uF02C',\n /**\n * Icon code with the value '\\uF104'.\n */\n pageCheckedin: '\\uF104',\n /**\n * Icon code with the value '\\uE760'.\n */\n pageLeft: '\\uE760',\n /**\n * Icon code with the value '\\uE761'.\n */\n pageRight: '\\uE761',\n /**\n * Icon code with the value '\\uE729'.\n */\n pageSolid: '\\uE729',\n /**\n * Icon code with the value '\\uE7B0'.\n */\n panoIndicator: '\\uE7B0',\n /**\n * Icon code with the value '\\uED7B'.\n */\n paratureLogo: '\\uED7B',\n /**\n * Icon code with the value '\\uE9C0'.\n */\n partlyCloudyDay: '\\uE9C0',\n /**\n * Icon code with the value '\\uE9C1'.\n */\n partlyCloudyNight: '\\uE9C1',\n /**\n * Icon code with the value '\\uECA7'.\n */\n partyLeader: '\\uECA7',\n /**\n * Icon code with the value '\\uE769'.\n */\n pause: '\\uE769',\n /**\n * Icon code with the value '\\uE8C7'.\n */\n paymentCard: '\\uE8C7',\n /**\n * Icon code with the value '\\uE977'.\n */\n pc1: '\\uE977',\n /**\n * Icon code with the value '\\uEA90'.\n */\n pdf: '\\uEA90',\n /**\n * Icon code with the value '\\uEF7B'.\n */\n pencilReply: '\\uEF7B',\n /**\n * Icon code with the value '\\uE716'.\n */\n people: '\\uE716',\n /**\n * Icon code with the value '\\uEA15'.\n */\n peopleAdd: '\\uEA15',\n /**\n * Icon code with the value '\\uED93'.\n */\n peopleAlert: '\\uED93',\n /**\n * Icon code with the value '\\uED91'.\n */\n peopleBlock: '\\uED91',\n /**\n * Icon code with the value '\\uED94'.\n */\n peoplePause: '\\uED94',\n /**\n * Icon code with the value '\\uED92'.\n */\n peopleRepeat: '\\uED92',\n /**\n * Icon code with the value '\\uE8D7'.\n */\n permissions: '\\uE8D7',\n /**\n * Icon code with the value '\\uE717'.\n */\n phone: '\\uE717',\n /**\n * Icon code with the value '\\uEB9F'.\n */\n photo2: '\\uEB9F',\n /**\n * Icon code with the value '\\uECAB'.\n */\n photo2Add: '\\uECAB',\n /**\n * Icon code with the value '\\uECAC'.\n */\n photo2Remove: '\\uECAC',\n /**\n * Icon code with the value '\\uE7AA'.\n */\n photoCollection: '\\uE7AA',\n /**\n * Icon code with the value '\\uE8B9'.\n */\n picture: '\\uE8B9',\n /**\n * Icon code with the value '\\uEEC2'.\n */\n pictureLibrary: '\\uEEC2',\n /**\n * Icon code with the value '\\uEB04'.\n */\n pieDouble: '\\uEB04',\n /**\n * Icon code with the value '\\uEACB'.\n */\n pill: '\\uEACB',\n /**\n * Icon code with the value '\\uE718'.\n */\n pin: '\\uE718',\n /**\n * Icon code with the value '\\uE840'.\n */\n pinned: '\\uE840',\n /**\n * Icon code with the value '\\uE842'.\n */\n pinnedFill: '\\uE842',\n /**\n * Icon code with the value '\\uEDD1'.\n */\n planner: '\\uEDD1',\n /**\n * Icon code with the value '\\uE768'.\n */\n play: '\\uE768',\n /**\n * Icon code with the value '\\uEF58'.\n */\n playerSettings: '\\uEF58',\n /**\n * Icon code with the value '\\uECAF'.\n */\n poi: '\\uECAF',\n /**\n * Icon code with the value '\\uE8F3'.\n */\n postUpdate: '\\uE8F3',\n /**\n * Icon code with the value '\\uF092'.\n */\n powerApps2Logo: '\\uF092',\n /**\n * Icon code with the value '\\uEDD2'.\n */\n powerApps: '\\uEDD2',\n /**\n * Icon code with the value '\\uF091'.\n */\n powerAppsLogo: '\\uF091',\n /**\n * Icon code with the value '\\uEA1E'.\n */\n powerBiLogo: '\\uEA1E',\n /**\n * Icon code with the value '\\uEF72'.\n */\n powerPointDocument: '\\uEF72',\n /**\n * Icon code with the value '\\uEC2A'.\n */\n powerPointLogo: '\\uEC2A',\n /**\n * Icon code with the value '\\uE9CF'.\n */\n precipitation: '\\uE9CF',\n /**\n * Icon code with the value '\\uE979'.\n */\n presenceChickletVideo: '\\uE979',\n /**\n * Icon code with the value '\\uE8FF'.\n */\n preview: '\\uE8FF',\n /**\n * Icon code with the value '\\uE8A1'.\n */\n previewLink: '\\uE8A1',\n /**\n * Icon code with the value '\\uE749'.\n */\n print: '\\uE749',\n /**\n * Icon code with the value '\\uE956'.\n */\n printfaxPrinterFile: '\\uE956',\n /**\n * Icon code with the value '\\uEB27'.\n */\n proFootball: '\\uEB27',\n /**\n * Icon code with the value '\\uEB28'.\n */\n proHockey: '\\uEB28',\n /**\n * Icon code with the value '\\uECDC'.\n */\n product: '\\uECDC',\n /**\n * Icon code with the value '\\uEDD4'.\n */\n projectLogo: '\\uEDD4',\n /**\n * Icon code with the value '\\uE8A6'.\n */\n protectedDocument: '\\uE8A6',\n /**\n * Icon code with the value '\\uEF6D'.\n */\n publicCalendar: '\\uEF6D',\n /**\n * Icon code with the value '\\uEF6E'.\n */\n publicContactCard: '\\uEF6E',\n /**\n * Icon code with the value '\\uEF6F'.\n */\n publicEmail: '\\uEF6F',\n /**\n * Icon code with the value '\\uEF70'.\n */\n publicFolder: '\\uEF70',\n /**\n * Icon code with the value '\\uEA86'.\n */\n puzzle: '\\uEA86',\n /**\n * Icon code with the value '\\uEE19'.\n */\n questionnaire: '\\uEE19',\n /**\n * Icon code with the value '\\uEE4B'.\n */\n questionnaireMirrored: '\\uEE4B',\n /**\n * Icon code with the value '\\uE70B'.\n */\n quickNote: '\\uE70B',\n /**\n * Icon code with the value '\\uECCB'.\n */\n radioBtnOn: '\\uECCB',\n /**\n * Icon code with the value '\\uE915'.\n */\n radioBullet: '\\uE915',\n /**\n * Icon code with the value '\\uE9C4'.\n */\n rain: '\\uE9C4',\n /**\n * Icon code with the value '\\uE9C3'.\n */\n rainShowersDay: '\\uE9C3',\n /**\n * Icon code with the value '\\uEA0F'.\n */\n rainShowersNight: '\\uEA0F',\n /**\n * Icon code with the value '\\uE9C7'.\n */\n rainSnow: '\\uE9C7',\n /**\n * Icon code with the value '\\uE8C3'.\n */\n read: '\\uE8C3',\n /**\n * Icon code with the value '\\uE736'.\n */\n readingMode: '\\uE736',\n /**\n * Icon code with the value '\\uEF5B'.\n */\n receiptCheck: '\\uEF5B',\n /**\n * Icon code with the value '\\uEF59'.\n */\n receiptForward: '\\uEF59',\n /**\n * Icon code with the value '\\uEF5A'.\n */\n receiptReply: '\\uEF5A',\n /**\n * Icon code with the value '\\uE823'.\n */\n recent: '\\uE823',\n /**\n * Icon code with the value '\\uEF5D'.\n */\n recurringEvent: '\\uEF5D',\n /**\n * Icon code with the value '\\uEDB2'.\n */\n recurringTask: '\\uEDB2',\n /**\n * Icon code with the value '\\uEF87'.\n */\n recycleBin: '\\uEF87',\n /**\n * Icon code with the value '\\uE7B3'.\n */\n redEye: '\\uE7B3',\n /**\n * Icon code with the value '\\uE7A6'.\n */\n redo: '\\uE7A6',\n /**\n * Icon code with the value '\\uE72C'.\n */\n refresh: '\\uE72C',\n /**\n * Icon code with the value '\\uEBF8'.\n */\n reminderGroup: '\\uEBF8',\n /**\n * Icon code with the value '\\uE738'.\n */\n remove: '\\uE738',\n /**\n * Icon code with the value '\\uED8A'.\n */\n removeEvent: '\\uED8A',\n /**\n * Icon code with the value '\\uEB08'.\n */\n removeFilter: '\\uEB08',\n /**\n * Icon code with the value '\\uED90'.\n */\n removeLink: '\\uED90',\n /**\n * Icon code with the value '\\uED9B'.\n */\n removeOccurrence: '\\uED9B',\n /**\n * Icon code with the value '\\uE8AC'.\n */\n rename: '\\uE8AC',\n /**\n * Icon code with the value '\\uED50'.\n */\n reopenPages: '\\uED50',\n /**\n * Icon code with the value '\\uE90F'.\n */\n repair: '\\uE90F',\n /**\n * Icon code with the value '\\uE97A'.\n */\n reply: '\\uE97A',\n /**\n * Icon code with the value '\\uEE0A'.\n */\n replyAll: '\\uEE0A',\n /**\n * Icon code with the value '\\uEF5F'.\n */\n replyAllAlt: '\\uEF5F',\n /**\n * Icon code with the value '\\uEE36'.\n */\n replyAllMirrored: '\\uEE36',\n /**\n * Icon code with the value '\\uEF5E'.\n */\n replyAlt: '\\uEF5E',\n /**\n * Icon code with the value '\\uEE35'.\n */\n replyMirrored: '\\uEE35',\n /**\n * Icon code with the value '\\uEEBB'.\n */\n reportLibrary: '\\uEEBB',\n /**\n * Icon code with the value '\\uEEBC'.\n */\n reportLibraryMirrored: '\\uEEBC',\n /**\n * Icon code with the value '\\uED24'.\n */\n returnToSession: '\\uED24',\n /**\n * Icon code with the value '\\uE845'.\n */\n revToggleKey: '\\uE845',\n /**\n * Icon code with the value '\\uE9D1'.\n */\n ribbon: '\\uE9D1',\n /**\n * Icon code with the value '\\uE9B1'.\n */\n rightDoubleQuote: '\\uE9B1',\n /**\n * Icon code with the value '\\uEA8F'.\n */\n ringer: '\\uEA8F',\n /**\n * Icon code with the value '\\uED9F'.\n */\n room: '\\uED9F',\n /**\n * Icon code with the value '\\uE7AD'.\n */\n rotate: '\\uE7AD',\n /**\n * Icon code with the value '\\uEB2D'.\n */\n rugby: '\\uEB2D',\n /**\n * Icon code with the value '\\uEADA'.\n */\n running: '\\uEADA',\n /**\n * Icon code with the value '\\uE757'.\n */\n sad: '\\uE757',\n /**\n * Icon code with the value '\\uE74E'.\n */\n save: '\\uE74E',\n /**\n * Icon code with the value '\\uE792'.\n */\n saveAs: '\\uE792',\n /**\n * Icon code with the value '\\uE721'.\n */\n search: '\\uE721',\n /**\n * Icon code with the value '\\uEC0C'.\n */\n section: '\\uEC0C',\n /**\n * Icon code with the value '\\uEF76'.\n */\n sections: '\\uEF76',\n /**\n * Icon code with the value '\\uED85'.\n */\n securityGroup: '\\uED85',\n /**\n * Icon code with the value '\\uE724'.\n */\n send: '\\uE724',\n /**\n * Icon code with the value '\\uEA63'.\n */\n sendMirrored: '\\uEA63',\n /**\n * Icon code with the value '\\uF071'.\n */\n setAction: '\\uF071',\n /**\n * Icon code with the value '\\uE713'.\n */\n settings: '\\uE713',\n /**\n * Icon code with the value '\\uE72D'.\n */\n share: '\\uE72D',\n /**\n * Icon code with the value '\\uEF79'.\n */\n shareiOs: '\\uEF79',\n /**\n * Icon code with the value '\\uED18'.\n */\n sharepointLogo: '\\uED18',\n /**\n * Icon code with the value '\\uEA18'.\n */\n shield: '\\uEA18',\n /**\n * Icon code with the value '\\uE719'.\n */\n shop: '\\uE719',\n /**\n * Icon code with the value '\\uE7BF'.\n */\n shoppingCart: '\\uE7BF',\n /**\n * Icon code with the value '\\uE8BC'.\n */\n showResults: '\\uE8BC',\n /**\n * Icon code with the value '\\uEA65'.\n */\n showResultsMirrored: '\\uEA65',\n /**\n * Icon code with the value '\\uEF52'.\n */\n sidePanel: '\\uEF52',\n /**\n * Icon code with the value '\\uEDFF'.\n */\n singleBookmark: '\\uEDFF',\n /**\n * Icon code with the value '\\uE759'.\n */\n sipMove: '\\uE759',\n /**\n * Icon code with the value '\\uEF80'.\n */\n skypeCheck: '\\uEF80',\n /**\n * Icon code with the value '\\uEF7D'.\n */\n skypeCircleCheck: '\\uEF7D',\n /**\n * Icon code with the value '\\uEF7E'.\n */\n skypeCircleClock: '\\uEF7E',\n /**\n * Icon code with the value '\\uEF7F'.\n */\n skypeCircleMinus: '\\uEF7F',\n /**\n * Icon code with the value '\\uEF81'.\n */\n skypeClock: '\\uEF81',\n /**\n * Icon code with the value '\\uEB6F'.\n */\n skypeLogo: '\\uEB6F',\n /**\n * Icon code with the value '\\uEF83'.\n */\n skypeMessage: '\\uEF83',\n /**\n * Icon code with the value '\\uEF82'.\n */\n skypeMinus: '\\uEF82',\n /**\n * Icon code with the value '\\uEC13'.\n */\n sliderThumb: '\\uEC13',\n /**\n * Icon code with the value '\\uEB46'.\n */\n snow: '\\uEB46',\n /**\n * Icon code with the value '\\uE9FD'.\n */\n snowShowerDay: '\\uE9FD',\n /**\n * Icon code with the value '\\uEA11'.\n */\n snowShowerNight: '\\uEA11',\n /**\n * Icon code with the value '\\uEB21'.\n */\n soccer: '\\uEB21',\n /**\n * Icon code with the value '\\uED7C'.\n */\n socialListeningLogo: '\\uED7C',\n /**\n * Icon code with the value '\\uE8CB'.\n */\n sort: '\\uE8CB',\n /**\n * Icon code with the value '\\uEE69'.\n */\n sortDown: '\\uEE69',\n /**\n * Icon code with the value '\\uE9D0'.\n */\n sortLines: '\\uE9D0',\n /**\n * Icon code with the value '\\uEE68'.\n */\n sortUp: '\\uEE68',\n /**\n * Icon code with the value '\\uE7F5'.\n */\n speakers: '\\uE7F5',\n /**\n * Icon code with the value '\\uEC4A'.\n */\n speedHigh: '\\uEC4A',\n /**\n * Icon code with the value '\\uEDBC'.\n */\n split: '\\uEDBC',\n /**\n * Icon code with the value '\\uE9CC'.\n */\n squalls: '\\uE9CC',\n /**\n * Icon code with the value '\\uE7FF'.\n */\n stackIndicator: '\\uE7FF',\n /**\n * Icon code with the value '\\uEF78'.\n */\n starburst: '\\uEF78',\n /**\n * Icon code with the value '\\uEB90'.\n */\n statusErrorFull: '\\uEB90',\n /**\n * Icon code with the value '\\uEA82'.\n */\n statusTriangle: '\\uEA82',\n /**\n * Icon code with the value '\\uEB0F'.\n */\n stockDown: '\\uEB0F',\n /**\n * Icon code with the value '\\uEB11'.\n */\n stockUp: '\\uEB11',\n /**\n * Icon code with the value '\\uE916'.\n */\n stopwatch: '\\uE916',\n /**\n * Icon code with the value '\\uEA96'.\n */\n storeLogo: '\\uEA96',\n /**\n * Icon code with the value '\\uEA04'.\n */\n storeLogoMed: '\\uEA04',\n /**\n * Icon code with the value '\\uEDE0'.\n */\n strikethrough: '\\uEDE0',\n /**\n * Icon code with the value '\\uEDA1'.\n */\n subscribe: '\\uEDA1',\n /**\n * Icon code with the value '\\uEDDF'.\n */\n subscript: '\\uEDDF',\n /**\n * Icon code with the value '\\uEDD3'.\n */\n suitcase: '\\uEDD3',\n /**\n * Icon code with the value '\\uEF69'.\n */\n sunAdd: '\\uEF69',\n /**\n * Icon code with the value '\\uEF6A'.\n */\n sunQuestionMark: '\\uEF6A',\n /**\n * Icon code with the value '\\uE9BD'.\n */\n sunny: '\\uE9BD',\n /**\n * Icon code with the value '\\uEDDE'.\n */\n superscript: '\\uEDDE',\n /**\n * Icon code with the value '\\uED29'.\n */\n swayLogo: '\\uED29',\n /**\n * Icon code with the value '\\uE8AB'.\n */\n switcher: '\\uE8AB',\n /**\n * Icon code with the value '\\uE810'.\n */\n switcherStartEnd: '\\uE810',\n /**\n * Icon code with the value '\\uE895'.\n */\n sync: '\\uE895',\n /**\n * Icon code with the value '\\uE8F7'.\n */\n syncFolder: '\\uE8F7',\n /**\n * Icon code with the value '\\uEE6E'.\n */\n syncToPc: '\\uEE6E',\n /**\n * Icon code with the value '\\uE770'.\n */\n system: '\\uE770',\n /**\n * Icon code with the value '\\uE7E9'.\n */\n tab: '\\uE7E9',\n /**\n * Icon code with the value '\\uED86'.\n */\n table: '\\uED86',\n /**\n * Icon code with the value '\\uE70A'.\n */\n tablet: '\\uE70A',\n /**\n * Icon code with the value '\\uEC74'.\n */\n tabletSelected: '\\uEC74',\n /**\n * Icon code with the value '\\uE8EC'.\n */\n tag: '\\uE8EC',\n /**\n * Icon code with the value '\\uEDB7'.\n */\n taskManager: '\\uEDB7',\n /**\n * Icon code with the value '\\uEDB8'.\n */\n taskManagerMirrored: '\\uEDB8',\n /**\n * Icon code with the value '\\uEA12'.\n */\n teamwork: '\\uEA12',\n /**\n * Icon code with the value '\\uEE58'.\n */\n temporaryUser: '\\uEE58',\n /**\n * Icon code with the value '\\uEB33'.\n */\n tennis: '\\uEB33',\n /**\n * Icon code with the value '\\uEDC2'.\n */\n textBox: '\\uEDC2',\n /**\n * Icon code with the value '\\uEDC3'.\n */\n textField: '\\uEDC3',\n /**\n * Icon code with the value '\\uE7B6'.\n */\n thumbnailView: '\\uE7B6',\n /**\n * Icon code with the value '\\uEA67'.\n */\n thumbnailViewMirrored: '\\uEA67',\n /**\n * Icon code with the value '\\uE9C6'.\n */\n thunderstorms: '\\uE9C6',\n /**\n * Icon code with the value '\\uEB54'.\n */\n ticket: '\\uEB54',\n /**\n * Icon code with the value '\\uEF7C'.\n */\n tiles2: '\\uEF7C',\n /**\n * Icon code with the value '\\uECA5'.\n */\n tiles: '\\uECA5',\n /**\n * Icon code with the value '\\uED9C'.\n */\n timeline: '\\uED9C',\n /**\n * Icon code with the value '\\uE91E'.\n */\n timer: '\\uE91E',\n /**\n * Icon code with the value '\\uEC12'.\n */\n toggleBorder: '\\uEC12',\n /**\n * Icon code with the value '\\uEC11'.\n */\n toggleFilled: '\\uEC11',\n /**\n * Icon code with the value '\\uEC14'.\n */\n toggleThumb: '\\uEC14',\n /**\n * Icon code with the value '\\uE815'.\n */\n touch: '\\uE815',\n /**\n * Icon code with the value '\\uE7C9'.\n */\n touchPointer: '\\uE7C9',\n /**\n * Icon code with the value '\\uE7C0'.\n */\n train: '\\uE7C0',\n /**\n * Icon code with the value '\\uEB4D'.\n */\n trainSolid: '\\uEB4D',\n /**\n * Icon code with the value '\\uED95'.\n */\n transferCall: '\\uED95',\n /**\n * Icon code with the value '\\uE74D'.\n */\n trash: '\\uE74D',\n /**\n * Icon code with the value '\\uEED1'.\n */\n triangleDown12: '\\uEED1',\n /**\n * Icon code with the value '\\uEED2'.\n */\n triangleLeft12: '\\uEED2',\n /**\n * Icon code with the value '\\uEED3'.\n */\n triangleRight12: '\\uEED3',\n /**\n * Icon code with the value '\\uEECD'.\n */\n triangleSolidDown12: '\\uEECD',\n /**\n * Icon code with the value '\\uEECE'.\n */\n triangleSolidLeft12: '\\uEECE',\n /**\n * Icon code with the value '\\uEECF'.\n */\n triangleSolidRight12: '\\uEECF',\n /**\n * Icon code with the value '\\uEECC'.\n */\n triangleSolidUp12: '\\uEECC',\n /**\n * Icon code with the value '\\uEED0'.\n */\n triangleUp12: '\\uEED0',\n /**\n * Icon code with the value '\\uED3F'.\n */\n trophy: '\\uED3F',\n /**\n * Icon code with the value '\\uE7DB'.\n */\n turnRight: '\\uE7DB',\n /**\n * Icon code with the value '\\uE7F4'.\n */\n tvMonitor: '\\uE7F4',\n /**\n * Icon code with the value '\\uEC77'.\n */\n tvMonitorSelected: '\\uEC77',\n /**\n * Icon code with the value '\\uE8DC'.\n */\n underline: '\\uE8DC',\n /**\n * Icon code with the value '\\uE7A7'.\n */\n undo: '\\uE7A7',\n /**\n * Icon code with the value '\\uE8D9'.\n */\n unfavorite: '\\uE8D9',\n /**\n * Icon code with the value '\\uED97'.\n */\n unknownCall: '\\uED97',\n /**\n * Icon code with the value '\\uE785'.\n */\n unlock: '\\uE785',\n /**\n * Icon code with the value '\\uE77A'.\n */\n unpin: '\\uE77A',\n /**\n * Icon code with the value '\\uEDA0'.\n */\n unsubscribe: '\\uEDA0',\n /**\n * Icon code with the value '\\uE8F6'.\n */\n unsyncFolder: '\\uE8F6',\n /**\n * Icon code with the value '\\uE74A'.\n */\n up: '\\uE74A',\n /**\n * Icon code with the value '\\uE898'.\n */\n upload: '\\uE898',\n /**\n * Icon code with the value '\\uE714'.\n */\n video: '\\uE714',\n /**\n * Icon code with the value '\\uEA0C'.\n */\n videoSolid: '\\uEA0C',\n /**\n * Icon code with the value '\\uE890'.\n */\n view: '\\uE890',\n /**\n * Icon code with the value '\\uEF56'.\n */\n viewAll2: '\\uEF56',\n /**\n * Icon code with the value '\\uE8A9'.\n */\n viewAll: '\\uE8A9',\n /**\n * Icon code with the value '\\uED7D'.\n */\n visioLogo: '\\uED7D',\n /**\n * Icon code with the value '\\uED87'.\n */\n voicemailForward: '\\uED87',\n /**\n * Icon code with the value '\\uED88'.\n */\n voicemailReply: '\\uED88',\n /**\n * Icon code with the value '\\uE992'.\n */\n volume0: '\\uE992',\n /**\n * Icon code with the value '\\uE993'.\n */\n volume1: '\\uE993',\n /**\n * Icon code with the value '\\uE994'.\n */\n volume2: '\\uE994',\n /**\n * Icon code with the value '\\uE995'.\n */\n volume3: '\\uE995',\n /**\n * Icon code with the value '\\uEA85'.\n */\n volumeDisabled: '\\uEA85',\n /**\n * Icon code with the value '\\uED89'.\n */\n waffle: '\\uED89',\n /**\n * Icon code with the value '\\uE7BA'.\n */\n warning: '\\uE7BA',\n /**\n * Icon code with the value '\\uEB41'.\n */\n website: '\\uEB41',\n /**\n * Icon code with the value '\\uEADB'.\n */\n weights: '\\uEADB',\n /**\n * Icon code with the value '\\uEBE6'.\n */\n windDirection: '\\uEBE6',\n /**\n * Icon code with the value '\\uE782'.\n */\n windowsLogo: '\\uE782',\n /**\n * Icon code with the value '\\uED8D'.\n */\n wipePhone: '\\uED8D',\n /**\n * Icon code with the value '\\uEF71'.\n */\n wordDocument: '\\uEF71',\n /**\n * Icon code with the value '\\uEC29'.\n */\n wordLogo: '\\uEC29',\n /**\n * Icon code with the value '\\uE821'.\n */\n work: '\\uE821',\n /**\n * Icon code with the value '\\uEA01'.\n */\n workFlow: '\\uEA01',\n /**\n * Icon code with the value '\\uE918'.\n */\n worldClock: '\\uE918',\n /**\n * Icon code with the value '\\uED19'.\n */\n yammerLogo: '\\uED19',\n /**\n * Icon code with the value '\\uE71E'.\n */\n zoom: '\\uE71E',\n /**\n * Icon code with the value '\\uE8A3'.\n */\n zoomIn: '\\uE8A3',\n /**\n * Icon code with the value '\\uE71F'.\n */\n zoomOut: '\\uE71F'\n};\n\n"
|
|
},
|
|
{
|
|
"id": 125,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\getFocusStyle.js",
|
|
"name": "./~/@uifabric/styling/lib/styles/getFocusStyle.js",
|
|
"index": 125,
|
|
"index2": 106,
|
|
"size": 1254,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 120,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\styles\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/styles/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./getFocusStyle",
|
|
"loc": "13:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar index_1 = require(\"../utilities/index\");\nvar glamorExports_1 = require(\"../glamorExports\");\n/**\n * Generates a focus style which can be used to define an :after focus border.\n *\n * @param theme - The theme object to use.\n * @param inset - The number of pixels to inset the border.\n * @param color - The color for the border.\n * @param position - The positioning applied to the container. Must\n * be 'relative' or 'absolute' so that the focus border can live around it.\n * @returns The style object.\n */\nfunction getFocusStyle(theme, inset, color, position) {\n if (inset === void 0) { inset = '0'; }\n if (color === void 0) { color = theme.palette.neutralSecondary; }\n if (position === void 0) { position = 'relative'; }\n return index_1.mergeStyles({\n outline: 'transparent',\n position: position\n }, glamorExports_1.parent('.ms-Fabric.is-focusVisible', {\n ':focus:after': {\n content: '\"\"',\n position: 'absolute',\n left: inset,\n top: inset,\n bottom: inset,\n right: inset,\n border: '1px solid ' + color\n }\n }));\n}\nexports.getFocusStyle = getFocusStyle;\n\n"
|
|
},
|
|
{
|
|
"id": 126,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\mergeStyles.js",
|
|
"name": "./~/@uifabric/styling/lib/utilities/mergeStyles.js",
|
|
"index": 126,
|
|
"index2": 109,
|
|
"size": 1586,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 118,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./mergeStyles",
|
|
"loc": "6:20-44"
|
|
},
|
|
{
|
|
"moduleId": 127,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\mergeStyleSets.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/mergeStyleSets.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/mergeStyleSets.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./mergeStyles",
|
|
"loc": "3:20-44"
|
|
},
|
|
{
|
|
"moduleId": 128,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\buildClassMap.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/buildClassMap.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/buildClassMap.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./mergeStyles",
|
|
"loc": "3:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar glamor_1 = require(\"glamor\");\n/**\n * Takes a collection of collection of styles, defined in various formats, and compresses them into\n * a single thing of one format to return.\n * If any class names (strings) are passed in, it will return a list of space-separated class names,\n * using glamor to generate a class name for all passed in style objects.\n * Otherwise, all style objects passed in will be compressed into a single IProcessedStyle.\n *\n * @export\n * @param {(...(IStyle | string)[])} args\n * @returns {IStyle}\n */\nfunction mergeStyles() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var classes = [];\n var rules = [];\n function _parseArgs(theArgs) {\n for (var _i = 0, theArgs_1 = theArgs; _i < theArgs_1.length; _i++) {\n var arg = theArgs_1[_i];\n if (arg) {\n if (typeof arg === 'string') {\n classes.push(arg);\n }\n else if (Array.isArray(arg)) {\n _parseArgs(arg);\n }\n else {\n rules.push(arg);\n }\n }\n }\n }\n _parseArgs(args);\n var rulesObject = rules.length ? glamor_1.css.apply(void 0, rules) : null;\n if (classes.length) {\n if (rulesObject) {\n classes.push(rulesObject.toString());\n }\n return classes.join(' ');\n }\n return rulesObject;\n}\nexports.mergeStyles = mergeStyles;\n\n"
|
|
},
|
|
{
|
|
"id": 127,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\mergeStyleSets.js",
|
|
"name": "./~/@uifabric/styling/lib/utilities/mergeStyleSets.js",
|
|
"index": 127,
|
|
"index2": 110,
|
|
"size": 955,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 118,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./mergeStyleSets",
|
|
"loc": "8:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mergeStyles_1 = require(\"./mergeStyles\");\n/**\n * Merges a give set of styles by running mergeStyles for each unique key. Works\n * like Object.assign in that it layers them in the argument order specified, but will\n * not mutate them and will return the merged result.\n */\nfunction mergeStyleSets() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var mergedRules = {};\n var setStyles = {};\n args.forEach(function (arg) { return arg && Object.keys(arg).forEach(function (key) {\n if (!setStyles[key]) {\n setStyles[key] = [];\n }\n setStyles[key].push(arg[key]);\n }); });\n Object.keys(setStyles).forEach(function (key) {\n mergedRules[key] = mergeStyles_1.mergeStyles(setStyles[key]);\n });\n return mergedRules;\n}\nexports.mergeStyleSets = mergeStyleSets;\n\n"
|
|
},
|
|
{
|
|
"id": 128,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\buildClassMap.js",
|
|
"name": "./~/@uifabric/styling/lib/utilities/buildClassMap.js",
|
|
"index": 128,
|
|
"index2": 111,
|
|
"size": 571,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 118,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\utilities\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/utilities/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./buildClassMap",
|
|
"loc": "10:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mergeStyles_1 = require(\"./mergeStyles\");\n/**\n * Builds a class names object from a given map.\n *\n * @param styles - Map of unprocessed styles.\n * @returns Map of property name to class name.\n */\nfunction buildClassMap(styles) {\n return Object\n .keys(styles)\n .reduce(function (classNames, className) {\n classNames[className] = mergeStyles_1.mergeStyles(styles[className]).toString();\n return classNames;\n }, {});\n}\nexports.buildClassMap = buildClassMap;\n\n"
|
|
},
|
|
{
|
|
"id": 129,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\FontClassNames.js",
|
|
"name": "./~/@uifabric/styling/lib/classNames/FontClassNames.js",
|
|
"index": 129,
|
|
"index2": 113,
|
|
"size": 240,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 116,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FontClassNames",
|
|
"loc": "5:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar index_1 = require(\"../utilities/index\");\nvar index_2 = require(\"../styles/index\");\nexports.FontClassNames = index_1.buildClassMap(index_2.DefaultFontStyles);\n\n"
|
|
},
|
|
{
|
|
"id": 130,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\IconClassNames.js",
|
|
"name": "./~/@uifabric/styling/lib/classNames/IconClassNames.js",
|
|
"index": 130,
|
|
"index2": 114,
|
|
"size": 801,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 116,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./IconClassNames",
|
|
"loc": "7:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar index_1 = require(\"../styles/index\");\nvar index_2 = require(\"../utilities/index\");\n/**\n * All class names for all Fabric icons.\n */\nexports.IconClassNames = {};\nvar _loop_1 = function (iconName) {\n Object.defineProperty(exports.IconClassNames, iconName, {\n get: function () {\n var className = index_2.mergeStyles(index_1.DefaultFontStyles.icon, {\n ':before': {\n content: \"\\\"\" + index_1.IconCodes[iconName] + \"\\\"\"\n }\n }).toString();\n return className;\n },\n enumerable: true,\n configurable: true\n });\n};\n// tslint:disable-next-line:forin\nfor (var iconName in index_1.IconCodes) {\n _loop_1(iconName);\n}\n\n"
|
|
},
|
|
{
|
|
"id": 131,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\ColorClassNames.js",
|
|
"name": "./~/@uifabric/styling/lib/classNames/ColorClassNames.js",
|
|
"index": 131,
|
|
"index2": 115,
|
|
"size": 1542,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 116,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\@uifabric\\styling\\lib\\classNames\\index.js",
|
|
"module": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"moduleName": "./~/@uifabric/styling/lib/classNames/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorClassNames",
|
|
"loc": "9:24-52"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar index_1 = require(\"../utilities/index\");\nvar DefaultPalette_1 = require(\"../styles/DefaultPalette\");\nexports.ColorClassNames = {};\nfor (var colorName in DefaultPalette_1.DefaultPalette) {\n if (DefaultPalette_1.DefaultPalette.hasOwnProperty(colorName)) {\n // Foreground color\n _defineGetter(exports.ColorClassNames, colorName, '', false, 'color');\n // Hover color\n _defineGetter(exports.ColorClassNames, colorName, 'Hover', true, 'color');\n // Background color\n _defineGetter(exports.ColorClassNames, colorName, 'Background', false, 'background');\n // Background hover\n _defineGetter(exports.ColorClassNames, colorName, 'BackgroundHover', true, 'background');\n // Border color\n _defineGetter(exports.ColorClassNames, colorName, 'Border', false, 'borderColor');\n // Border hover color\n _defineGetter(exports.ColorClassNames, colorName, 'BorderHover', true, 'borderColor');\n }\n}\n/**\n * Defines a getter for the given class configuration.\n */\nfunction _defineGetter(obj, colorName, suffix, isHover, cssProperty) {\n Object.defineProperty(obj, colorName + suffix, {\n get: function () {\n var style = (_a = {}, _a[cssProperty] = index_1.getTheme().palette[colorName], _a);\n return index_1.mergeStyles(isHover ? { ':hover': style } : style).toString();\n var _a;\n },\n enumerable: true,\n configurable: true\n });\n}\n\n"
|
|
},
|
|
{
|
|
"id": 132,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Layer.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Layer.js",
|
|
"index": 132,
|
|
"index2": 128,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Layer",
|
|
"loc": "32:9-27"
|
|
},
|
|
{
|
|
"moduleId": 61,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Callout\\Callout.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Callout/Callout.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Layer",
|
|
"loc": "26:14-36"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Layer",
|
|
"loc": "25:14-36"
|
|
},
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Layer",
|
|
"loc": "23:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Layer/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 133,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Layer/index.js",
|
|
"index": 133,
|
|
"index2": 127,
|
|
"size": 239,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Layer.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 132,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Layer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Layer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Layer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Layer/index",
|
|
"loc": "6:9-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Layer\"));\n__export(require(\"./LayerHost\"));\n\n"
|
|
},
|
|
{
|
|
"id": 134,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"index": 134,
|
|
"index2": 125,
|
|
"size": 4919,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 133,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Layer",
|
|
"loc": "6:9-27"
|
|
},
|
|
{
|
|
"moduleId": 140,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\LayerHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Layer",
|
|
"loc": "23:14-32"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../Layer/Layer",
|
|
"loc": "33:14-39"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\nvar ReactDOM = require(\"react-dom\");\n/* tslint:enable:no-unused-variable */\nvar Fabric_1 = require(\"../../Fabric\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Layer.scss\");\nvar styles = stylesImport;\nvar _layersByHostId = {};\nvar Layer = (function (_super) {\n __extends(Layer, _super);\n function Layer(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({\n onLayerMounted: 'onLayerDidMount'\n });\n if (_this.props.hostId) {\n if (!_layersByHostId[_this.props.hostId]) {\n _layersByHostId[_this.props.hostId] = [];\n }\n _layersByHostId[_this.props.hostId].push(_this);\n }\n return _this;\n }\n /**\n * Used for notifying applicable Layers that a host is available/unavailable and to re-evaluate Layers that\n * care about the specific host.\n */\n Layer.notifyHostChanged = function (id) {\n if (_layersByHostId[id]) {\n _layersByHostId[id].forEach(function (layer) { return layer.forceUpdate(); });\n }\n };\n Layer.prototype.componentDidMount = function () {\n this.componentDidUpdate();\n };\n Layer.prototype.componentWillUnmount = function () {\n var _this = this;\n this._removeLayerElement();\n if (this.props.hostId) {\n _layersByHostId[this.props.hostId] = _layersByHostId[this.props.hostId].filter(function (layer) { return layer !== _this; });\n if (!_layersByHostId[this.props.hostId].length) {\n delete _layersByHostId[this.props.hostId];\n }\n }\n };\n Layer.prototype.componentDidUpdate = function () {\n var _this = this;\n var host = this._getHost();\n if (host !== this._host) {\n this._removeLayerElement();\n }\n if (host) {\n this._host = host;\n if (!this._layerElement) {\n var doc = Utilities_1.getDocument(this._rootElement);\n this._layerElement = doc.createElement('div');\n this._layerElement.className = Utilities_1.css('ms-Layer', (_a = {},\n _a['ms-Layer--fixed ' + styles.rootIsFixed] = !this.props.hostId,\n _a));\n host.appendChild(this._layerElement);\n Utilities_1.setVirtualParent(this._layerElement, this._rootElement);\n }\n // Using this 'unstable' method allows us to retain the React context across the layer projection.\n ReactDOM.unstable_renderSubtreeIntoContainer(this, React.createElement(Fabric_1.Fabric, { className: Utilities_1.css('ms-Layer-content', styles.content) }, this.props.children), this._layerElement, function () {\n if (!_this._hasMounted) {\n _this._hasMounted = true;\n // TODO: @deprecated cleanup required.\n if (_this.props.onLayerMounted) {\n _this.props.onLayerMounted();\n }\n _this.props.onLayerDidMount();\n }\n });\n }\n var _a;\n };\n Layer.prototype.render = function () {\n return (React.createElement(\"span\", { className: 'ms-Layer', ref: this._resolveRef('_rootElement') }));\n };\n Layer.prototype._removeLayerElement = function () {\n if (this._layerElement) {\n this.props.onLayerWillUnmount();\n ReactDOM.unmountComponentAtNode(this._layerElement);\n var parentNode = this._layerElement.parentNode;\n if (parentNode) {\n parentNode.removeChild(this._layerElement);\n }\n this._layerElement = undefined;\n this._hasMounted = false;\n }\n };\n Layer.prototype._getHost = function () {\n var hostId = this.props.hostId;\n var doc = Utilities_1.getDocument(this._rootElement);\n if (hostId) {\n return doc.getElementById(hostId);\n }\n else {\n return doc.body;\n }\n };\n return Layer;\n}(Utilities_1.BaseComponent));\nLayer.defaultProps = {\n onLayerDidMount: function () { return undefined; },\n onLayerWillUnmount: function () { return undefined; }\n};\nexports.Layer = Layer;\n\n"
|
|
},
|
|
{
|
|
"id": 135,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Fabric.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Fabric.js",
|
|
"index": 135,
|
|
"index2": 123,
|
|
"size": 223,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Fabric",
|
|
"loc": "24:9-28"
|
|
},
|
|
{
|
|
"moduleId": 134,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Fabric",
|
|
"loc": "17:15-38"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Fabric/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 136,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Fabric/index.js",
|
|
"index": 136,
|
|
"index2": 122,
|
|
"size": 206,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Fabric.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 135,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Fabric.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Fabric.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Fabric.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Fabric/index",
|
|
"loc": "6:9-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Fabric\"));\n\n"
|
|
},
|
|
{
|
|
"id": 137,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"index": 137,
|
|
"index2": 121,
|
|
"size": 3269,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 136,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Fabric",
|
|
"loc": "6:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Styling_1 = require(\"../../Styling\");\nvar Fabric_styles_1 = require(\"./Fabric.styles\");\nvar DIRECTIONAL_KEY_CODES = [\n Utilities_1.KeyCodes.up,\n Utilities_1.KeyCodes.down,\n Utilities_1.KeyCodes.left,\n Utilities_1.KeyCodes.right,\n Utilities_1.KeyCodes.home,\n Utilities_1.KeyCodes.end,\n Utilities_1.KeyCodes.tab,\n Utilities_1.KeyCodes.pageUp,\n Utilities_1.KeyCodes.pageDown\n];\n// We will track the last focus visibility state so that if we tear down and recreate\n// the Fabric component, we will use the last known value as the default.\nvar _lastIsFocusVisible = false;\n// Ensure that the HTML element has a dir specified. This helps to ensure RTL/LTR macros in css for all components will work.\nif (typeof (document) === 'object' && document.documentElement && !document.documentElement.getAttribute('dir')) {\n document.documentElement.setAttribute('dir', 'ltr');\n}\nvar Fabric = (function (_super) {\n __extends(Fabric, _super);\n function Fabric() {\n var _this = _super.call(this) || this;\n _this.state = {\n isFocusVisible: _lastIsFocusVisible\n };\n return _this;\n }\n Fabric.prototype.componentDidMount = function () {\n this._events.on(document.body, 'mousedown', this._onMouseDown, true);\n this._events.on(document.body, 'keydown', this._onKeyDown, true);\n };\n Fabric.prototype.render = function () {\n var isFocusVisible = this.state.isFocusVisible;\n var styles = Fabric_styles_1.getStyles();\n var rootClass = Styling_1.mergeStyles('ms-Fabric', styles.root, this.props.className, isFocusVisible && 'is-focusVisible');\n return (React.createElement(\"div\", __assign({}, this.props, { className: rootClass, ref: 'root' })));\n };\n Fabric.prototype._onMouseDown = function () {\n if (this.state.isFocusVisible) {\n this.setState({\n isFocusVisible: false\n });\n _lastIsFocusVisible = false;\n }\n };\n Fabric.prototype._onKeyDown = function (ev) {\n if (!this.state.isFocusVisible && DIRECTIONAL_KEY_CODES.indexOf(ev.which) > -1) {\n this.setState({\n isFocusVisible: true\n });\n _lastIsFocusVisible = true;\n }\n };\n return Fabric;\n}(Utilities_1.BaseComponent));\nexports.Fabric = Fabric;\n\n"
|
|
},
|
|
{
|
|
"id": 138,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.styles.js",
|
|
"index": 138,
|
|
"index2": 120,
|
|
"size": 581,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 137,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Fabric\\Fabric.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Fabric/Fabric.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Fabric.styles",
|
|
"loc": "24:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Utilities_1 = require(\"../../Utilities\");\nvar Styling_1 = require(\"../../Styling\");\nvar inheritFont = { fontFamily: 'inherit' };\nexports.getStyles = Utilities_1.memoizeFunction(function (theme) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n return {\n root: [\n theme.fonts.medium,\n {\n color: theme.palette.neutralPrimary,\n '& button': inheritFont,\n '& input': inheritFont\n }\n ]\n };\n});\n\n"
|
|
},
|
|
{
|
|
"id": 139,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Layer/Layer.scss.js",
|
|
"index": 139,
|
|
"index2": 124,
|
|
"size": 445,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 134,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\Layer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/Layer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Layer.scss",
|
|
"loc": "19:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n rootIsFixed: 'rootIsFixed_cadfc200',\n content: 'content_cadfc200',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".rootIsFixed_cadfc200{position:fixed;z-index:1000000;top:0;left:0;width:100vw;height:100vh;visibility:hidden}.content_cadfc200{visibility:visible}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 140,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\LayerHost.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Layer/LayerHost.js",
|
|
"index": 140,
|
|
"index2": 126,
|
|
"size": 1752,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 133,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Layer\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Layer/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Layer/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./LayerHost",
|
|
"loc": "7:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Layer_1 = require(\"./Layer\");\nvar LayerHost = (function (_super) {\n __extends(LayerHost, _super);\n function LayerHost() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LayerHost.prototype.shouldComponentUpdate = function () {\n return false;\n };\n LayerHost.prototype.componentDidMount = function () {\n Layer_1.Layer.notifyHostChanged(this.props.id);\n };\n LayerHost.prototype.componentWillUnmount = function () {\n Layer_1.Layer.notifyHostChanged(this.props.id);\n };\n LayerHost.prototype.render = function () {\n return (React.createElement(\"div\", __assign({}, this.props, { className: Utilities_1.css('ms-LayerHost', this.props.className) })));\n };\n return LayerHost;\n}(Utilities_1.BaseComponent));\nexports.LayerHost = LayerHost;\n\n"
|
|
},
|
|
{
|
|
"id": 141,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Icon.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Icon.js",
|
|
"index": 141,
|
|
"index2": 139,
|
|
"size": 221,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Icon",
|
|
"loc": "29:9-26"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "24:13-34"
|
|
},
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "33:13-34"
|
|
},
|
|
{
|
|
"moduleId": 156,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "30:13-34"
|
|
},
|
|
{
|
|
"moduleId": 175,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "22:13-34"
|
|
},
|
|
{
|
|
"moduleId": 178,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "17:13-34"
|
|
},
|
|
{
|
|
"moduleId": 186,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "24:13-34"
|
|
},
|
|
{
|
|
"moduleId": 199,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "23:13-34"
|
|
},
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "32:13-34"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "24:13-34"
|
|
},
|
|
{
|
|
"moduleId": 226,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "15:13-34"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "23:13-34"
|
|
},
|
|
{
|
|
"moduleId": 279,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "23:13-34"
|
|
},
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "29:13-34"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "34:13-34"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "26:13-34"
|
|
},
|
|
{
|
|
"moduleId": 308,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "16:13-34"
|
|
},
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "17:13-34"
|
|
},
|
|
{
|
|
"moduleId": 332,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Icon",
|
|
"loc": "7:13-37"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "26:13-34"
|
|
},
|
|
{
|
|
"moduleId": 346,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "15:13-34"
|
|
},
|
|
{
|
|
"moduleId": 351,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Icon",
|
|
"loc": "29:13-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Icon/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 142,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Icon/index.js",
|
|
"index": 142,
|
|
"index2": 138,
|
|
"size": 239,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Icon.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 141,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Icon/index",
|
|
"loc": "6:9-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Icon\"));\n__export(require(\"./Icon.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 143,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"index": 143,
|
|
"index2": 137,
|
|
"size": 1821,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 142,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Icon",
|
|
"loc": "6:9-26"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar React = require(\"react\");\n/* tslint:enable */\nvar Icon_Props_1 = require(\"./Icon.Props\");\nvar Image_1 = require(\"../Image/Image\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Styling_1 = require(\"../../Styling\");\nvar Icon_styles_1 = require(\"./Icon.styles\");\nfunction Icon(props) {\n var ariaLabel = props.ariaLabel, className = props.className, customStyles = props.styles, iconName = props.iconName;\n var styles = Icon_styles_1.getStyles(undefined, customStyles);\n if (props.iconType === Icon_Props_1.IconType.image || props.iconType === Icon_Props_1.IconType.Image) {\n var containerClassName = Utilities_1.css('ms-Icon', 'ms-Icon-imageContainer', styles.root, styles.imageContainer, className);\n return (React.createElement(\"div\", { className: Utilities_1.css(containerClassName, styles.root) },\n \"l \",\n React.createElement(Image_1.Image, __assign({}, props.imageProps))));\n }\n else {\n var iconMemberName = iconName ? iconName.charAt(0).toLowerCase() + iconName.substr(1) : '';\n return (React.createElement(\"i\", __assign({ \"aria-label\": ariaLabel }, (ariaLabel ? {} : {\n role: 'presentation',\n 'aria-hidden': true\n }), Utilities_1.getNativeProps(props, Utilities_1.htmlElementProperties), { className: Utilities_1.css('ms-Icon', Styling_1.IconClassNames[iconMemberName], styles.root, props.className) })));\n }\n}\nexports.Icon = Icon;\n\n"
|
|
},
|
|
{
|
|
"id": 144,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Icon/Icon.Props.js",
|
|
"index": 144,
|
|
"index2": 132,
|
|
"size": 677,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 142,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Icon.Props",
|
|
"loc": "7:9-32"
|
|
},
|
|
{
|
|
"moduleId": 143,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Icon.Props",
|
|
"loc": "14:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Please keep alphabetized\nvar IconType;\n(function (IconType) {\n /**\n * Render using the fabric icon font.\n */\n IconType[IconType[\"default\"] = 0] = \"default\";\n /**\n * Render using an image, where imageProps would be used.\n */\n IconType[IconType[\"image\"] = 1] = \"image\";\n /**\n * Deprecated, use default.\n * @deprecated\n */\n IconType[IconType[\"Default\"] = 100000] = \"Default\";\n /**\n * Deprecated, use image.\n * @deprecated\n */\n IconType[IconType[\"Image\"] = 100001] = \"Image\";\n})(IconType = exports.IconType || (exports.IconType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 145,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"index": 145,
|
|
"index2": 135,
|
|
"size": 9084,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 143,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../Image/Image",
|
|
"loc": "15:14-39"
|
|
},
|
|
{
|
|
"moduleId": 188,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Image",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar Image_Props_1 = require(\"./Image.Props\");\nvar Styling_1 = require(\"../../Styling\");\nvar stylesImport = require(\"./Image.scss\");\nvar styles = stylesImport;\nvar CoverStyle;\n(function (CoverStyle) {\n CoverStyle[CoverStyle[\"landscape\"] = 0] = \"landscape\";\n CoverStyle[CoverStyle[\"portrait\"] = 1] = \"portrait\";\n})(CoverStyle = exports.CoverStyle || (exports.CoverStyle = {}));\nexports.CoverStyleMap = (_a = {},\n _a[CoverStyle.landscape] = 'ms-Image-image--landscape ' + styles.imageIsLandscape,\n _a[CoverStyle.portrait] = 'ms-Image-image--portrait ' + styles.imageIsPortrait,\n _a);\nexports.ImageFitMap = (_b = {},\n _b[Image_Props_1.ImageFit.center] = 'ms-Image-image--center ' + styles.imageIsCenter,\n _b[Image_Props_1.ImageFit.contain] = 'ms-Image-image--contain ' + styles.imageIsContain,\n _b[Image_Props_1.ImageFit.cover] = 'ms-Image-image--cover ' + styles.imageIsCover,\n _b[Image_Props_1.ImageFit.none] = 'ms-Image-image--none ' + styles.imageIsNone,\n _b);\nvar KEY_PREFIX = 'fabricImage';\nvar Image = (function (_super) {\n __extends(Image, _super);\n function Image(props) {\n var _this = _super.call(this, props) || this;\n // Make an initial assumption about the image layout until we can\n // check the rendered element. The value here only takes effect when\n // shouldStartVisible is true.\n _this._coverStyle = CoverStyle.portrait;\n _this.state = {\n loadState: Image_Props_1.ImageLoadState.notLoaded\n };\n return _this;\n }\n Image.prototype.componentWillReceiveProps = function (nextProps) {\n if (nextProps.src !== this.props.src) {\n this.setState({\n loadState: Image_Props_1.ImageLoadState.notLoaded\n });\n }\n else if (this.state.loadState === Image_Props_1.ImageLoadState.loaded) {\n this._computeCoverStyle(nextProps);\n }\n };\n Image.prototype.componentDidUpdate = function (prevProps, prevState) {\n this._checkImageLoaded();\n if (this.props.onLoadingStateChange\n && prevState.loadState !== this.state.loadState) {\n this.props.onLoadingStateChange(this.state.loadState);\n }\n };\n Image.prototype.render = function () {\n var imageProps = Utilities_1.getNativeProps(this.props, Utilities_1.imageProperties, ['width', 'height']);\n var _a = this.props, src = _a.src, alt = _a.alt, width = _a.width, height = _a.height, shouldFadeIn = _a.shouldFadeIn, className = _a.className, imageFit = _a.imageFit, role = _a.role, maximizeFrame = _a.maximizeFrame;\n var loadState = this.state.loadState;\n var coverStyle = this._coverStyle;\n var loaded = loadState === Image_Props_1.ImageLoadState.loaded || (loadState === Image_Props_1.ImageLoadState.notLoaded && this.props.shouldStartVisible);\n // If image dimensions aren't specified, the natural size of the image is used.\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Image', styles.root, className, (_b = {},\n _b['ms-Image--maximizeFrame ' + styles.rootIsMaximizeFrame] = maximizeFrame,\n _b)), style: { width: width, height: height }, ref: this._resolveRef('_frameElement') },\n React.createElement(\"img\", __assign({}, imageProps, { onLoad: this._onImageLoaded, onError: this._onImageError, key: KEY_PREFIX + this.props.src || '', className: Utilities_1.css('ms-Image-image', styles.image, exports.CoverStyleMap[coverStyle], (imageFit !== undefined) && exports.ImageFitMap[imageFit], !loaded && 'is-notLoaded', loaded && 'is-loaded ' + styles.imageIsLoaded, shouldFadeIn && 'is-fadeIn', loadState === Image_Props_1.ImageLoadState.error && 'is-error', loaded && shouldFadeIn && Styling_1.AnimationClassNames.fadeIn400, (_c = {},\n _c['ms-Image-image--scaleWidth ' + styles.imageIsScaleWidth] = (imageFit === undefined && !!width && !height),\n _c['ms-Image-image--scaleHeight ' + styles.imageIsScaleHeight] = (imageFit === undefined && !width && !!height),\n _c['ms-Image-image--scaleWidthHeight ' + styles.imageIsScaleWidthHeight] = (imageFit === undefined && !!width && !!height),\n _c)), ref: this._resolveRef('_imageElement'), src: src, alt: alt, role: role }))));\n var _b, _c;\n };\n Image.prototype._onImageLoaded = function (ev) {\n var _a = this.props, src = _a.src, onLoad = _a.onLoad;\n if (onLoad) {\n onLoad(ev);\n }\n this._computeCoverStyle(this.props);\n if (src) {\n this.setState({\n loadState: Image_Props_1.ImageLoadState.loaded\n });\n }\n };\n Image.prototype._checkImageLoaded = function () {\n var src = this.props.src;\n var loadState = this.state.loadState;\n if (loadState === Image_Props_1.ImageLoadState.notLoaded) {\n // testing if naturalWidth and naturalHeight are greater than zero is better than checking\n // .complete, because .complete will also be set to true if the image breaks. However,\n // for some browsers, SVG images do not have a naturalWidth or naturalHeight, so fall back\n // to checking .complete for these images.\n var isLoaded = src && (this._imageElement.naturalWidth > 0 && this._imageElement.naturalHeight > 0) ||\n (this._imageElement.complete && Image._svgRegex.test(src));\n if (isLoaded) {\n this._computeCoverStyle(this.props);\n this.setState({\n loadState: Image_Props_1.ImageLoadState.loaded\n });\n }\n }\n };\n Image.prototype._computeCoverStyle = function (props) {\n var imageFit = props.imageFit, width = props.width, height = props.height;\n if (imageFit === Image_Props_1.ImageFit.cover || imageFit === Image_Props_1.ImageFit.contain) {\n if (this._imageElement) {\n // Determine the desired ratio using the width and height props.\n // If those props aren't available, measure measure the frame.\n var desiredRatio = void 0;\n if (!!width && !!height) {\n desiredRatio = width / height;\n }\n else {\n desiredRatio = this._frameElement.clientWidth / this._frameElement.clientHeight;\n }\n // Examine the source image to determine its original ratio.\n var naturalRatio = this._imageElement.naturalWidth / this._imageElement.naturalHeight;\n // Should we crop from the top or the sides?\n if (naturalRatio > desiredRatio) {\n this._coverStyle = CoverStyle.landscape;\n }\n else {\n this._coverStyle = CoverStyle.portrait;\n }\n }\n }\n };\n Image.prototype._onImageError = function (ev) {\n if (this.props.onError) {\n this.props.onError(ev);\n }\n this.setState({\n loadState: Image_Props_1.ImageLoadState.error\n });\n };\n return Image;\n}(Utilities_1.BaseComponent));\nImage.defaultProps = {\n shouldFadeIn: true\n};\nImage._svgRegex = /\\.svg$/i;\n__decorate([\n Utilities_1.autobind\n], Image.prototype, \"_onImageLoaded\", null);\n__decorate([\n Utilities_1.autobind\n], Image.prototype, \"_onImageError\", null);\nexports.Image = Image;\nvar _a, _b;\n\n"
|
|
},
|
|
{
|
|
"id": 146,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Image/Image.Props.js",
|
|
"index": 146,
|
|
"index2": 133,
|
|
"size": 2131,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 145,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Image.Props",
|
|
"loc": "31:20-44"
|
|
},
|
|
{
|
|
"moduleId": 188,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Image.Props",
|
|
"loc": "7:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * The possible methods that can be used to fit the image.\n */\nvar ImageFit;\n(function (ImageFit) {\n /**\n * The image is not scaled. The image is centered and cropped within the content box.\n */\n ImageFit[ImageFit[\"center\"] = 0] = \"center\";\n /**\n * The image is scaled to maintain its aspect ratio while being fully contained within the frame. The image will\n * be centered horizontally and vertically within the frame. The space in the top and bottom or in the sides of\n * the frame will be empty depending on the difference in aspect ratio between the image and the frame.\n */\n ImageFit[ImageFit[\"contain\"] = 1] = \"contain\";\n /**\n * The image is scaled to maintain its aspect ratio while filling the frame. Portions of the image will be cropped from\n * the top and bottom, or from the sides, depending on the difference in aspect ratio between the image and the frame.\n */\n ImageFit[ImageFit[\"cover\"] = 2] = \"cover\";\n /**\n * Neither the image nor the frame are scaled. If their sizes do not match, the image will either be cropped or the\n * frame will have empty space.\n */\n ImageFit[ImageFit[\"none\"] = 3] = \"none\";\n})(ImageFit = exports.ImageFit || (exports.ImageFit = {}));\nvar ImageLoadState;\n(function (ImageLoadState) {\n /**\n * The image has not yet been loaded, and there is no error yet.\n */\n ImageLoadState[ImageLoadState[\"notLoaded\"] = 0] = \"notLoaded\";\n /**\n * The image has been loaded successfully.\n */\n ImageLoadState[ImageLoadState[\"loaded\"] = 1] = \"loaded\";\n /**\n * An error has been encountered while loading the image.\n */\n ImageLoadState[ImageLoadState[\"error\"] = 2] = \"error\";\n /**\n * Deprecated at v1.3.6, to replace the src in case of errors, use onLoadingStateChange instead\n * and rerender the Image with a difference src.\n * @deprecated\n */\n ImageLoadState[ImageLoadState[\"errorLoaded\"] = 3] = \"errorLoaded\";\n})(ImageLoadState = exports.ImageLoadState || (exports.ImageLoadState = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 147,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Image/Image.scss.js",
|
|
"index": 147,
|
|
"index2": 134,
|
|
"size": 2187,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 145,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\Image.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Image/Image.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Image.scss",
|
|
"loc": "33:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_9f38a260',\n rootIsMaximizeFrame: 'rootIsMaximizeFrame_9f38a260',\n image: 'image_9f38a260',\n imageIsLoaded: 'imageIsLoaded_9f38a260',\n imageIsCenter: 'imageIsCenter_9f38a260',\n imageIsContain: 'imageIsContain_9f38a260',\n imageIsCover: 'imageIsCover_9f38a260',\n imageIsLandscape: 'imageIsLandscape_9f38a260',\n imageIsPortrait: 'imageIsPortrait_9f38a260',\n imageIsNone: 'imageIsNone_9f38a260',\n imageIsScaleWidthHeight: 'imageIsScaleWidthHeight_9f38a260',\n imageIsScaleWidth: 'imageIsScaleWidth_9f38a260',\n imageIsScaleHeight: 'imageIsScaleHeight_9f38a260',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_9f38a260{overflow:hidden}.rootIsMaximizeFrame_9f38a260{height:100%;width:100%}.image_9f38a260{display:block;opacity:0}.image_9f38a260.imageIsLoaded_9f38a260{opacity:1}.imageIsCenter_9f38a260,.imageIsContain_9f38a260,.imageIsCover_9f38a260{position:relative;top:50%}[dir=ltr] .imageIsCenter_9f38a260,[dir=ltr] .imageIsContain_9f38a260,[dir=ltr] .imageIsCover_9f38a260{left:50%}[dir=rtl] .imageIsCenter_9f38a260,[dir=rtl] .imageIsContain_9f38a260,[dir=rtl] .imageIsCover_9f38a260{right:50%}html[dir=ltr] .imageIsCenter_9f38a260,html[dir=ltr] .imageIsContain_9f38a260,html[dir=ltr] .imageIsCover_9f38a260{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}html[dir=rtl] .imageIsCenter_9f38a260,html[dir=rtl] .imageIsContain_9f38a260,html[dir=rtl] .imageIsCover_9f38a260{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.imageIsContain_9f38a260.imageIsLandscape_9f38a260{width:100%;height:auto}.imageIsContain_9f38a260.imageIsPortrait_9f38a260{height:100%;width:auto}.imageIsCover_9f38a260.imageIsLandscape_9f38a260{height:100%;width:auto}.imageIsCover_9f38a260.imageIsPortrait_9f38a260{width:100%;height:auto}.imageIsNone_9f38a260{height:auto;width:auto}.imageIsScaleWidthHeight_9f38a260{height:100%;width:100%}.imageIsScaleWidth_9f38a260{height:auto;width:100%}.imageIsScaleHeight_9f38a260{height:100%;width:auto}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 148,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Icon/Icon.styles.js",
|
|
"index": 148,
|
|
"index2": 136,
|
|
"size": 643,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 143,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Icon\\Icon.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Icon/Icon.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Icon.styles",
|
|
"loc": "18:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../Styling\");\nvar Utilities_1 = require(\"../../Utilities\");\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n if (customStyles === void 0) { customStyles = undefined; }\n var iconStyles = {\n root: Styling_1.mergeStyles({\n display: 'inline-block'\n }),\n imageContainer: Styling_1.mergeStyles({\n overflow: 'hidden'\n })\n };\n return Styling_1.mergeStyleSets(iconStyles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 149,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.scss.js",
|
|
"index": 149,
|
|
"index2": 140,
|
|
"size": 4362,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 56,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ContextualMenu\\ContextualMenu.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ContextualMenu.scss",
|
|
"loc": "34:19-51"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_cf3f75c8',\n list: 'list_cf3f75c8',\n item: 'item_cf3f75c8',\n link: 'link_cf3f75c8',\n isDisabled: 'isDisabled_cf3f75c8',\n icon: 'icon_cf3f75c8',\n isExpanded: 'isExpanded_cf3f75c8',\n header: 'header_cf3f75c8',\n linkContent: 'linkContent_cf3f75c8',\n divider: 'divider_cf3f75c8',\n iconColor: 'iconColor_cf3f75c8',\n itemText: 'itemText_cf3f75c8',\n submenuIcon: 'submenuIcon_cf3f75c8',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_cf3f75c8{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";min-width:180px}.list_cf3f75c8{list-style-type:none;margin:0;padding:0;line-height:0}.item_cf3f75c8{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";position:relative;box-sizing:border-box}.link_cf3f75c8{font:inherit;color:inherit;background:0 0;border:none;width:100%;height:36px;line-height:36px;display:block;cursor:pointer;padding:0 6px}.link_cf3f75c8::-moz-focus-inner{border:0}.link_cf3f75c8{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .link_cf3f75c8:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}html[dir=ltr] .link_cf3f75c8{text-align:left}html[dir=rtl] .link_cf3f75c8{text-align:right}.link_cf3f75c8:hover:not([disabled]){background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.link_cf3f75c8.isDisabled_cf3f75c8,.link_cf3f75c8[disabled]{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";cursor:default;pointer-events:none}.link_cf3f75c8.isDisabled_cf3f75c8 .icon_cf3f75c8,.link_cf3f75c8[disabled] .icon_cf3f75c8{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.is-focusVisible .link_cf3f75c8:focus{background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.link_cf3f75c8.isExpanded_cf3f75c8,.link_cf3f75c8.isExpanded_cf3f75c8:hover{background:\" }, { \"theme\": \"neutralQuaternaryAlt\", \"defaultValue\": \"#dadada\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";font-weight:600}.header_cf3f75c8{font-size:12px;font-weight:400;font-weight:600;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";background:0 0;border:none;height:36px;line-height:36px;cursor:default;padding:0 6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header_cf3f75c8::-moz-focus-inner{border:0}.header_cf3f75c8{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .header_cf3f75c8:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}html[dir=ltr] .header_cf3f75c8{text-align:left}html[dir=rtl] .header_cf3f75c8{text-align:right}a.link_cf3f75c8{padding:0 6px;text-rendering:auto;color:inherit;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none;text-decoration:none;box-sizing:border-box}.linkContent_cf3f75c8{white-space:nowrap;height:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%}.divider_cf3f75c8{display:block;height:1px;background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";position:relative}.icon_cf3f75c8{display:inline-block;min-height:1px;max-height:36px;width:14px;margin:0 4px;vertical-align:middle;-ms-flex-negative:0;flex-shrink:0}.iconColor_cf3f75c8{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.itemText_cf3f75c8{margin:0 4px;vertical-align:middle;display:inline-block;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.submenuIcon_cf3f75c8{height:36px;line-height:36px;text-align:center;font-size:10px;display:inline-block;vertical-align:middle;-ms-flex-negative:0;flex-shrink:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 150,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Link.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Link.js",
|
|
"index": 150,
|
|
"index2": 147,
|
|
"size": 221,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Link",
|
|
"loc": "33:9-26"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Link",
|
|
"loc": "23:13-34"
|
|
},
|
|
{
|
|
"moduleId": 239,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Link",
|
|
"loc": "21:13-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Link/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 151,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Link/index.js",
|
|
"index": 151,
|
|
"index2": 146,
|
|
"size": 204,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Link.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 150,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Link.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Link.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Link.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Link/index",
|
|
"loc": "6:9-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Link\"));\n\n"
|
|
},
|
|
{
|
|
"id": 152,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"index": 152,
|
|
"index2": 145,
|
|
"size": 3213,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 151,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Link/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Link/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Link",
|
|
"loc": "6:9-26"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Link.scss\");\nvar styles = stylesImport;\nvar Link = (function (_super) {\n __extends(Link, _super);\n function Link() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Link.prototype.render = function () {\n var _a = this.props, disabled = _a.disabled, children = _a.children, className = _a.className, href = _a.href;\n return (href ? (React.createElement(\"a\", __assign({}, Utilities_1.getNativeProps(this.props, Utilities_1.anchorProperties), { className: Utilities_1.css('ms-Link', styles.root, className, (_b = {\n 'is-disabled': disabled\n },\n _b[styles.isDisabled] = disabled,\n _b[styles.isEnabled] = !disabled,\n _b)), onClick: this._onClick, ref: this._resolveRef('_link'), target: this.props.target }), children)) : (React.createElement(\"button\", __assign({}, Utilities_1.getNativeProps(this.props, Utilities_1.buttonProperties), { className: Utilities_1.css('ms-Link', styles.root, className, (_c = {\n 'is-disabled': disabled\n },\n _c[styles.isDisabled] = disabled,\n _c)), onClick: this._onClick, ref: this._resolveRef('_link') }), children)));\n var _b, _c;\n };\n Link.prototype.focus = function () {\n if (this._link) {\n this._link.focus();\n }\n };\n Link.prototype._onClick = function (ev) {\n var onClick = this.props.onClick;\n if (onClick) {\n onClick(ev);\n }\n };\n return Link;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], Link.prototype, \"_onClick\", null);\nexports.Link = Link;\n\n"
|
|
},
|
|
{
|
|
"id": 153,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Link/Link.scss.js",
|
|
"index": 153,
|
|
"index2": 144,
|
|
"size": 1604,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 152,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Link\\Link.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Link/Link.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Link.scss",
|
|
"loc": "29:19-41"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_f147fff6',\n isEnabled: 'isEnabled_f147fff6',\n isDisabled: 'isDisabled_f147fff6',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_f147fff6{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";margin:0;overflow:inherit;padding:0;text-overflow:inherit}.isEnabled_f147fff6:focus,.isEnabled_f147fff6:hover{color:\" }, { \"theme\": \"themeDarker\", \"defaultValue\": \"#004578\" }, { \"rawString\": \"}.isEnabled_f147fff6:active{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.isDisabled_f147fff6{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";pointer-events:none;cursor:default}button.root_f147fff6{background:0 0;border:none;cursor:pointer;display:inline;font-size:inherit}button.root_f147fff6::-moz-focus-inner{border:0}button.root_f147fff6{outline:transparent;position:relative}.ms-Fabric.is-focusVisible button.root_f147fff6:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}html[dir=ltr] button.root_f147fff6{text-align:left}html[dir=rtl] button.root_f147fff6{text-align:right}a.root_f147fff6{text-decoration:none}.ms-Fabric.is-focusVisible a.root_f147fff6:focus{outline:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 154,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Button.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Button.js",
|
|
"index": 154,
|
|
"index2": 163,
|
|
"size": 223,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Button",
|
|
"loc": "11:9-28"
|
|
},
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "25:15-38"
|
|
},
|
|
{
|
|
"moduleId": 272,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "29:15-38"
|
|
},
|
|
{
|
|
"moduleId": 279,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "24:15-38"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "32:15-38"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "36:15-38"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "25:15-38"
|
|
},
|
|
{
|
|
"moduleId": 308,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "15:15-38"
|
|
},
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "16:15-38"
|
|
},
|
|
{
|
|
"moduleId": 320,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Button",
|
|
"loc": "15:15-41"
|
|
},
|
|
{
|
|
"moduleId": 327,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../../Button",
|
|
"loc": "16:15-44"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "21:15-38"
|
|
},
|
|
{
|
|
"moduleId": 360,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubbleContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Button",
|
|
"loc": "25:15-38"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Button/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 155,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"index": 155,
|
|
"index2": 162,
|
|
"size": 534,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Button.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 154,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Button/index",
|
|
"loc": "6:9-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./BaseButton\"));\n__export(require(\"./Button.Props\"));\n__export(require(\"./Button\"));\n__export(require(\"./CommandButton/CommandButton\"));\n__export(require(\"./CompoundButton/CompoundButton\"));\n__export(require(\"./DefaultButton/DefaultButton\"));\n__export(require(\"./PrimaryButton/PrimaryButton\"));\n__export(require(\"./IconButton/IconButton\"));\n\n"
|
|
},
|
|
{
|
|
"id": 156,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.js",
|
|
"index": 156,
|
|
"index2": 148,
|
|
"size": 12772,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseButton",
|
|
"loc": "6:9-32"
|
|
},
|
|
{
|
|
"moduleId": 159,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton",
|
|
"loc": "22:19-43"
|
|
},
|
|
{
|
|
"moduleId": 162,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton",
|
|
"loc": "22:19-43"
|
|
},
|
|
{
|
|
"moduleId": 164,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton",
|
|
"loc": "22:19-43"
|
|
},
|
|
{
|
|
"moduleId": 166,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton",
|
|
"loc": "22:19-43"
|
|
},
|
|
{
|
|
"moduleId": 168,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton",
|
|
"loc": "23:19-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Styling_1 = require(\"../../Styling\");\nvar Icon_1 = require(\"../../Icon\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar ContextualMenu_1 = require(\"../../ContextualMenu\");\nvar BaseButton = (function (_super) {\n __extends(BaseButton, _super);\n function BaseButton(props, rootClassName) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({\n rootProps: null,\n icon: 'iconProps',\n menuIconName: 'menuIconProps',\n toggled: 'checked'\n });\n _this._labelId = Utilities_1.getId();\n _this._descriptionId = Utilities_1.getId();\n _this._ariaDescriptionId = Utilities_1.getId();\n _this.state = {\n menuProps: null\n };\n return _this;\n }\n BaseButton.prototype.render = function () {\n var _a = this.props, ariaDescription = _a.ariaDescription, ariaLabel = _a.ariaLabel, className = _a.className, description = _a.description, disabled = _a.disabled, href = _a.href, iconProps = _a.iconProps, styles = _a.styles, checked = _a.checked, variantClassName = _a.variantClassName;\n this._classNames = this._getClassNames(styles, className, variantClassName, iconProps && iconProps.className, disabled, checked);\n var _b = this, _ariaDescriptionId = _b._ariaDescriptionId, _labelId = _b._labelId, _descriptionId = _b._descriptionId;\n var renderAsAnchor = !!href;\n var tag = renderAsAnchor ? 'a' : 'button';\n var nativeProps = Utilities_1.getNativeProps(Utilities_1.assign(renderAsAnchor ? {} : { type: 'button' }, this.props.rootProps, this.props), renderAsAnchor ? Utilities_1.anchorProperties : Utilities_1.buttonProperties, [\n 'disabled' // Let disabled buttons be focused and styled as disabled.\n ]);\n // Check for ariaDescription, description or aria-describedby in the native props to determine source of aria-describedby\n // otherwise default to null.\n var ariaDescribedBy;\n if (ariaDescription) {\n ariaDescribedBy = _ariaDescriptionId;\n }\n else if (description) {\n ariaDescribedBy = _descriptionId;\n }\n else if (nativeProps['aria-describedby']) {\n ariaDescribedBy = nativeProps['aria-describedby'];\n }\n else {\n ariaDescribedBy = null;\n }\n var buttonProps = Utilities_1.assign(nativeProps, {\n className: this._classNames.root,\n ref: this._resolveRef('_buttonElement'),\n 'disabled': disabled,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabel ? null : _labelId,\n 'aria-describedby': ariaDescribedBy,\n 'aria-disabled': disabled,\n 'data-is-focusable': disabled ? false : true,\n 'aria-pressed': checked\n });\n // Override onClick if contextualMenuItems passed in. Eventually allow _onToggleMenu to\n // be assigned to split button click if onClick already has a value\n if (this.props.menuProps) {\n Utilities_1.assign(buttonProps, {\n 'onClick': this._onToggleMenu,\n 'aria-expanded': this.state.menuProps ? true : false\n });\n }\n return this._onRenderContent(tag, buttonProps);\n };\n BaseButton.prototype.focus = function () {\n if (this._buttonElement) {\n this._buttonElement.focus();\n }\n };\n BaseButton.prototype._onRenderContent = function (tag, buttonProps) {\n var props = this.props;\n var baseClassName = props.baseClassName, styles = props.styles, menuIconName = props.menuIconName, menuProps = props.menuProps, _a = props.onRenderIcon, onRenderIcon = _a === void 0 ? this._onRenderIcon : _a, _b = props.onRenderText, onRenderText = _b === void 0 ? this._onRenderText : _b, _c = props.onRenderDescription, onRenderDescription = _c === void 0 ? this._onRenderDescription : _c, _d = props.onRenderAriaDescription, onRenderAriaDescription = _d === void 0 ? this._onRenderAriaDescription : _d, _e = props.onRenderChildren, onRenderChildren = _e === void 0 ? this._onRenderChildren : _e, _f = props.onRenderMenu, onRenderMenu = _f === void 0 ? this._onRenderMenu : _f, _g = props.onRenderMenuIcon, onRenderMenuIcon = _g === void 0 ? this._onRenderMenuIcon : _g;\n var className = Styling_1.mergeStyles(baseClassName + '-flexContainer', styles.flexContainer);\n return React.createElement(tag, buttonProps, React.createElement('div', { className: className }, onRenderIcon(props, this._onRenderIcon), onRenderText(props, this._onRenderText), onRenderDescription(props, this._onRenderDescription), onRenderAriaDescription(props, this._onRenderAriaDescription), onRenderChildren(props, this._onRenderChildren), (menuProps || menuIconName || this.props.onRenderMenuIcon) && onRenderMenuIcon(this.props, this._onRenderMenuIcon), this.state.menuProps && onRenderMenu(menuProps, this._onRenderMenu)));\n };\n BaseButton.prototype._onRenderIcon = function (buttonProps, defaultRender) {\n var _a = this.props, baseClassName = _a.baseClassName, disabled = _a.disabled, icon = _a.icon, iconProps = _a.iconProps, styles = _a.styles, checked = _a.checked;\n if (icon || iconProps) {\n iconProps = iconProps || {\n iconName: icon\n };\n }\n return iconProps && (React.createElement(Icon_1.Icon, __assign({}, iconProps, { className: this._classNames.icon })));\n };\n BaseButton.prototype._onRenderText = function () {\n var _a = this.props, children = _a.children, disabled = _a.disabled, styles = _a.styles, text = _a.text;\n // For backwards compat, we should continue to take in the text content from children.\n if (text === undefined && typeof (children) === 'string') {\n text = children;\n }\n return text && (React.createElement(\"span\", { className: this._classNames.label, id: this._labelId }, text));\n };\n BaseButton.prototype._onRenderChildren = function () {\n var children = this.props.children;\n // If children is just a string, either it or the text will be rendered via onRenderLabel\n // If children is another component, it will be rendered after text\n if (typeof (children) === 'string') {\n return null;\n }\n return children;\n };\n BaseButton.prototype._onRenderDescription = function (props) {\n var description = this.props.description;\n // ms-Button-description is only shown when the button type is compound.\n // In other cases it will not be displayed.\n return description ? (React.createElement(\"span\", { className: this._classNames.description, id: this._descriptionId }, description)) : (null);\n };\n BaseButton.prototype._onRenderAriaDescription = function () {\n var _a = this.props, ariaDescription = _a.ariaDescription, styles = _a.styles;\n // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan,\n // otherwise it will be assigned to descriptionSpan.\n return ariaDescription ? (React.createElement(\"span\", { className: styles.screenReaderText, id: this._ariaDescriptionId }, ariaDescription)) : (null);\n };\n BaseButton.prototype._onRenderMenuIcon = function (props) {\n var _a = this.props, baseClassName = _a.baseClassName, checked = _a.checked, disabled = _a.disabled, menuIconName = _a.menuIconName, menuIconProps = _a.menuIconProps, styles = _a.styles;\n if (menuIconProps === undefined) {\n menuIconProps = {\n iconName: menuIconName === undefined ? 'ChevronDown' : menuIconName\n };\n }\n return (menuIconProps ?\n React.createElement(Icon_1.Icon, __assign({}, menuIconProps, { className: Styling_1.mergeStyles(baseClassName + \"-icon\", styles.menuIcon, disabled && styles.menuIconDisabled, !disabled && checked && styles.menuIconChecked, menuIconProps.className) }))\n :\n null);\n };\n BaseButton.prototype._onRenderMenu = function (menuProps) {\n return (React.createElement(ContextualMenu_1.ContextualMenu, __assign({ isBeakVisible: true, directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge }, menuProps, { className: Styling_1.mergeStyles('ms-BaseButton-menuhost', menuProps.className), target: this._buttonElement, labelElementId: this._labelId, onDismiss: this._onToggleMenu })));\n };\n BaseButton.prototype._onToggleMenu = function () {\n var menuProps = this.props.menuProps;\n var currentMenuProps = this.state.menuProps;\n this.setState({ menuProps: currentMenuProps ? null : menuProps });\n };\n BaseButton.prototype._getClassNames = function (styles, className, variantClassName, iconClassName, disabled, checked) {\n return {\n root: Styling_1.mergeStyles(className, 'ms-Button', variantClassName, styles.root, checked && [\n 'is-checked',\n styles.rootChecked\n ], disabled && [\n 'is-disabled',\n styles.rootDisabled\n ], !disabled && {\n ':hover': styles.rootHovered,\n ':hover .ms-Button-description': styles.descriptionHovered,\n ':active': styles.rootPressed,\n ':active .ms-Button-description': styles.descriptionPressed\n }),\n flexContainer: Styling_1.mergeStyles('ms-Button-flexContainer', styles.flexContainer),\n icon: Styling_1.mergeStyles('ms-Button-icon', iconClassName, styles.icon, checked && styles.iconChecked, disabled && styles.iconDisabled),\n label: Styling_1.mergeStyles('ms-Button-label', styles.label, checked && styles.labelChecked, disabled && styles.labelDisabled),\n menuIcon: Styling_1.mergeStyles('ms-Button-menuIcon', styles.menuIcon, checked && styles.menuIconChecked, disabled && styles.menuIconDisabled),\n description: Styling_1.mergeStyles('ms-Button-description', styles.description, checked && styles.descriptionChecked, disabled && styles.descriptionDisabled),\n screenReaderText: Styling_1.mergeStyles('ms-Button-screenReaderText', styles.screenReaderText)\n };\n };\n return BaseButton;\n}(Utilities_1.BaseComponent));\nBaseButton.defaultProps = {\n baseClassName: 'ms-Button',\n classNames: {},\n styles: {}\n};\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderIcon\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderText\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderChildren\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderDescription\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderAriaDescription\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderMenuIcon\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onRenderMenu\", null);\n__decorate([\n Utilities_1.autobind\n], BaseButton.prototype, \"_onToggleMenu\", null);\n__decorate([\n Utilities_1.memoize\n], BaseButton.prototype, \"_getClassNames\", null);\nexports.BaseButton = BaseButton;\n\n"
|
|
},
|
|
{
|
|
"id": 157,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/Button.Props.js",
|
|
"index": 157,
|
|
"index2": 149,
|
|
"size": 833,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Button.Props",
|
|
"loc": "7:9-34"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Button.Props",
|
|
"loc": "25:21-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ElementType;\n(function (ElementType) {\n /** <button> element. */\n ElementType[ElementType[\"button\"] = 0] = \"button\";\n /** <a> element. */\n ElementType[ElementType[\"anchor\"] = 1] = \"anchor\";\n})(ElementType = exports.ElementType || (exports.ElementType = {}));\nvar ButtonType;\n(function (ButtonType) {\n ButtonType[ButtonType[\"normal\"] = 0] = \"normal\";\n ButtonType[ButtonType[\"primary\"] = 1] = \"primary\";\n ButtonType[ButtonType[\"hero\"] = 2] = \"hero\";\n ButtonType[ButtonType[\"compound\"] = 3] = \"compound\";\n ButtonType[ButtonType[\"command\"] = 4] = \"command\";\n ButtonType[ButtonType[\"icon\"] = 5] = \"icon\";\n ButtonType[ButtonType[\"default\"] = 6] = \"default\";\n})(ButtonType = exports.ButtonType || (exports.ButtonType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 158,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"index": 158,
|
|
"index2": 161,
|
|
"size": 2908,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Button",
|
|
"loc": "8:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar Button_Props_1 = require(\"./Button.Props\");\nvar DefaultButton_1 = require(\"./DefaultButton/DefaultButton\");\nvar CommandButton_1 = require(\"./CommandButton/CommandButton\");\nvar CompoundButton_1 = require(\"./CompoundButton/CompoundButton\");\nvar IconButton_1 = require(\"./IconButton/IconButton\");\nvar PrimaryButton_1 = require(\"./PrimaryButton/PrimaryButton\");\n/**\n * This class is deprecated. Use the individual *Button components instead.\n * @deprecated\n */\nvar Button = (function (_super) {\n __extends(Button, _super);\n function Button(props) {\n var _this = _super.call(this, props) || this;\n /**\n * Set this BaseComponent._resolveComponentRef to false, bypassing resolution of componentRef.\n */\n _this._shouldUpdateComponentRef = false;\n Utilities_1.warn(\"The Button component has been deprecated. Use specific variants instead. \" +\n \"(PrimaryButton, DefaultButton, IconButton, CommandButton, etc.)\");\n return _this;\n }\n Button.prototype.render = function () {\n var props = this.props;\n switch (props.buttonType) {\n case Button_Props_1.ButtonType.command:\n return React.createElement(CommandButton_1.CommandButton, __assign({}, props));\n case Button_Props_1.ButtonType.compound:\n return React.createElement(CompoundButton_1.CompoundButton, __assign({}, props));\n case Button_Props_1.ButtonType.icon:\n return React.createElement(IconButton_1.IconButton, __assign({}, props));\n case Button_Props_1.ButtonType.primary:\n return React.createElement(PrimaryButton_1.PrimaryButton, __assign({}, props));\n default:\n return React.createElement(DefaultButton_1.DefaultButton, __assign({}, props));\n }\n };\n return Button;\n}(Utilities_1.BaseComponent));\nexports.Button = Button;\n\n"
|
|
},
|
|
{
|
|
"id": 159,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"index": 159,
|
|
"index2": 152,
|
|
"size": 1828,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DefaultButton/DefaultButton",
|
|
"loc": "11:9-49"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DefaultButton/DefaultButton",
|
|
"loc": "26:22-62"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar BaseButton_1 = require(\"../BaseButton\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar DefaultButton_styles_1 = require(\"./DefaultButton.styles\");\nvar DefaultButton = (function (_super) {\n __extends(DefaultButton, _super);\n function DefaultButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Tell BaseComponent to bypass resolution of componentRef.\n */\n _this._shouldUpdateComponentRef = false;\n return _this;\n }\n DefaultButton.prototype.render = function () {\n var styles = this.props.styles;\n return (React.createElement(BaseButton_1.BaseButton, __assign({}, this.props, { variantClassName: 'ms-Button--default', styles: DefaultButton_styles_1.getStyles(undefined, styles), onRenderDescription: Utilities_1.nullRender })));\n };\n return DefaultButton;\n}(Utilities_1.BaseComponent));\nexports.DefaultButton = DefaultButton;\n\n"
|
|
},
|
|
{
|
|
"id": 160,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"index": 160,
|
|
"index2": 151,
|
|
"size": 1427,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 159,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DefaultButton.styles",
|
|
"loc": "24:29-62"
|
|
},
|
|
{
|
|
"moduleId": 165,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../DefaultButton/DefaultButton.styles",
|
|
"loc": "5:29-77"
|
|
},
|
|
{
|
|
"moduleId": 169,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../DefaultButton/DefaultButton.styles",
|
|
"loc": "5:29-77"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../../Styling\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar BaseButton_styles_1 = require(\"../BaseButton.styles\");\nvar DEFAULT_BUTTON_HEIGHT = '32px';\nvar DEFAULT_BUTTON_MINWIDTH = '80px';\nvar DEFAULT_PADDING = '0 16px';\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles, focusInset, focusColor) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n var baseButtonStyles = BaseButton_styles_1.getStyles(theme, focusInset, focusColor);\n var defaultButtonStyles = {\n root: {\n minWidth: DEFAULT_BUTTON_MINWIDTH,\n height: DEFAULT_BUTTON_HEIGHT,\n backgroundColor: theme.palette.neutralLighter,\n color: theme.palette.neutralPrimary\n },\n rootHovered: {\n backgroundColor: theme.palette.neutralLight,\n color: theme.palette.black\n },\n rootPressed: {\n backgroundColor: theme.palette.themePrimary,\n color: theme.palette.white\n },\n rootChecked: {\n backgroundColor: theme.palette.themePrimary,\n color: theme.palette.white\n },\n label: {\n fontWeight: 'bold' // theme.fontWeights.semibold,\n }\n };\n return Styling_1.mergeStyleSets(baseButtonStyles, defaultButtonStyles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 161,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\BaseButton.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/BaseButton.styles.js",
|
|
"index": 161,
|
|
"index2": 150,
|
|
"size": 2444,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.styles.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 160,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\DefaultButton\\DefaultButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton.styles",
|
|
"loc": "5:26-57"
|
|
},
|
|
{
|
|
"moduleId": 163,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton.styles",
|
|
"loc": "5:26-57"
|
|
},
|
|
{
|
|
"moduleId": 167,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.styles.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BaseButton.styles",
|
|
"loc": "5:26-57"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Utilities_1 = require(\"../../Utilities\");\nvar Styling_1 = require(\"../../Styling\");\nvar noOutline = {\n outline: 0\n};\nvar iconStyle = {\n fontSize: Styling_1.FontSizes.icon,\n margin: '0 4px',\n height: '16px',\n lineHeight: '16px',\n textAlign: 'center',\n verticalAlign: 'middle'\n};\n/**\n * Gets the base button styles. Note: because it is a base class to be used with the `mergeRules`\n * helper, it should have values for all class names in the interface. This let `mergeRules` optimize\n * mixing class names together.\n */\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, focusInset, focusColor) {\n if (focusInset === void 0) { focusInset = '0'; }\n if (focusColor === void 0) { focusColor = theme.palette.neutralSecondary; }\n return {\n root: [\n Styling_1.getFocusStyle(theme, focusInset, focusColor),\n theme.fonts.medium,\n {\n // this transparent border converts to the correct colors in HC mode\n boxSizing: 'border-box',\n border: '1px solid transparent',\n userSelect: 'none',\n display: 'inline-block',\n textDecoration: 'none',\n textAlign: 'center',\n cursor: 'pointer',\n verticalAlign: 'top',\n padding: '0 16px'\n }\n ],\n rootDisabled: {\n backgroundColor: theme.palette.neutralLighter,\n color: theme.palette.neutralTertiary,\n cursor: 'default',\n pointerEvents: 'none',\n ':hover': noOutline,\n ':focus': noOutline\n },\n flexContainer: {\n display: 'flex',\n height: '100%',\n flexWrap: 'nowrap',\n justifyContent: 'center',\n alignItems: 'center'\n },\n icon: iconStyle,\n menuIcon: [\n iconStyle,\n {\n fontSize: Styling_1.FontSizes.small\n }\n ],\n label: {\n margin: '0 4px',\n lineHeight: '100%'\n },\n screenReaderText: {\n position: 'absolute',\n width: '1px',\n height: '1px',\n margin: '-1px',\n padding: 0,\n overflow: 'hidden',\n clip: 'rect(0,0,0,0)',\n border: 0\n }\n };\n});\n\n"
|
|
},
|
|
{
|
|
"id": 162,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"index": 162,
|
|
"index2": 154,
|
|
"size": 1828,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CommandButton/CommandButton",
|
|
"loc": "9:9-49"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CommandButton/CommandButton",
|
|
"loc": "27:22-62"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar BaseButton_1 = require(\"../BaseButton\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar CommandButton_styles_1 = require(\"./CommandButton.styles\");\nvar CommandButton = (function (_super) {\n __extends(CommandButton, _super);\n function CommandButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Tell BaseComponent to bypass resolution of componentRef.\n */\n _this._shouldUpdateComponentRef = false;\n return _this;\n }\n CommandButton.prototype.render = function () {\n var styles = this.props.styles;\n return (React.createElement(BaseButton_1.BaseButton, __assign({}, this.props, { variantClassName: 'ms-Button--command', styles: CommandButton_styles_1.getStyles(undefined, styles), onRenderDescription: Utilities_1.nullRender })));\n };\n return CommandButton;\n}(Utilities_1.BaseComponent));\nexports.CommandButton = CommandButton;\n\n"
|
|
},
|
|
{
|
|
"id": 163,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.styles.js",
|
|
"index": 163,
|
|
"index2": 153,
|
|
"size": 1643,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 162,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CommandButton\\CommandButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CommandButton.styles",
|
|
"loc": "24:29-62"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../../Styling\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar BaseButton_styles_1 = require(\"../BaseButton.styles\");\nvar DEFAULT_BUTTON_HEIGHT = '40px';\nvar DEFAULT_PADDING = '0 4px';\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n var baseButtonStyles = BaseButton_styles_1.getStyles(theme);\n var commandButtonStyles = {\n root: {\n borderWidth: '0',\n padding: DEFAULT_PADDING,\n height: DEFAULT_BUTTON_HEIGHT,\n color: theme.palette.neutralPrimary,\n backgroundColor: 'transparent'\n },\n rootHovered: {\n color: theme.palette.themeDarker\n },\n rootPressed: {\n color: theme.palette.themePrimary\n },\n rootDisabled: {\n color: theme.palette.neutralTertiary,\n backgroundColor: 'transparent'\n },\n rootChecked: {\n backgroundColor: theme.palette.neutralTertiaryAlt,\n ':hover': {\n backgroundColor: theme.palette.neutralLight\n }\n },\n flexContainer: {\n justifyContent: 'flex-start'\n },\n icon: {\n color: theme.palette.themePrimary\n },\n iconDisabled: {\n color: 'inherit'\n },\n menuIcon: {\n color: theme.palette.neutralSecondary\n }\n };\n return Styling_1.mergeStyleSets(baseButtonStyles, commandButtonStyles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 164,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"index": 164,
|
|
"index2": 156,
|
|
"size": 1832,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CompoundButton/CompoundButton",
|
|
"loc": "10:9-51"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CompoundButton/CompoundButton",
|
|
"loc": "28:23-65"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar BaseButton_1 = require(\"../BaseButton\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar CompoundButton_styles_1 = require(\"./CompoundButton.styles\");\nvar CompoundButton = (function (_super) {\n __extends(CompoundButton, _super);\n function CompoundButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Tell BaseComponent to bypass resolution of componentRef.\n */\n _this._shouldUpdateComponentRef = false;\n return _this;\n }\n CompoundButton.prototype.render = function () {\n var styles = this.props.styles;\n return (React.createElement(BaseButton_1.BaseButton, __assign({}, this.props, { variantClassName: 'ms-Button--compound', styles: CompoundButton_styles_1.getStyles(undefined, styles), onRenderIcon: Utilities_1.nullRender })));\n };\n return CompoundButton;\n}(Utilities_1.BaseComponent));\nexports.CompoundButton = CompoundButton;\n\n"
|
|
},
|
|
{
|
|
"id": 165,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js",
|
|
"index": 165,
|
|
"index2": 155,
|
|
"size": 1599,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 164,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\CompoundButton\\CompoundButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CompoundButton.styles",
|
|
"loc": "24:30-64"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../../Styling\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar DefaultButton_styles_1 = require(\"../DefaultButton/DefaultButton.styles\");\nvar DEFAULT_BUTTON_HEIGHT = '32px';\nvar DEFAULT_BUTTON_MINWIDTH = '80px';\nvar DEFAULT_PADDING = '0 16px';\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n var defaultButtonStyles = DefaultButton_styles_1.getStyles(theme, customStyles);\n var compoundButtonStyles = {\n root: {\n maxWidth: '280px',\n minHeight: '72px',\n height: 'auto',\n padding: '20px'\n },\n flexContainer: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n minWidth: '100%',\n margin: ''\n },\n label: {\n margin: '0 0 5px',\n lineHeight: '100%'\n },\n description: [\n theme.fonts.small,\n {\n color: theme.palette.neutralSecondary,\n lineHeight: '100%'\n }\n ],\n descriptionHovered: {\n color: theme.palette.neutralDark\n },\n descriptionPressed: {\n color: 'inherit'\n },\n descriptionChecked: {\n color: 'inherit'\n },\n descriptionDisabled: {\n color: 'inherit'\n }\n };\n return Styling_1.mergeStyleSets(defaultButtonStyles, compoundButtonStyles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 166,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"index": 166,
|
|
"index2": 158,
|
|
"size": 1833,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./IconButton/IconButton",
|
|
"loc": "13:9-43"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./IconButton/IconButton",
|
|
"loc": "29:19-53"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar BaseButton_1 = require(\"../BaseButton\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar IconButton_styles_1 = require(\"./IconButton.styles\");\nvar IconButton = (function (_super) {\n __extends(IconButton, _super);\n function IconButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Tell BaseComponent to bypass resolution of componentRef.\n */\n _this._shouldUpdateComponentRef = false;\n return _this;\n }\n IconButton.prototype.render = function () {\n var styles = this.props.styles;\n return (React.createElement(BaseButton_1.BaseButton, __assign({}, this.props, { variantClassName: 'ms-Button--icon', styles: IconButton_styles_1.getStyles(undefined, styles), onRenderText: Utilities_1.nullRender, onRenderDescription: Utilities_1.nullRender })));\n };\n return IconButton;\n}(Utilities_1.BaseComponent));\nexports.IconButton = IconButton;\n\n"
|
|
},
|
|
{
|
|
"id": 167,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.styles.js",
|
|
"index": 167,
|
|
"index2": 157,
|
|
"size": 1223,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 166,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\IconButton\\IconButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/IconButton/IconButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./IconButton.styles",
|
|
"loc": "24:26-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../../Styling\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar BaseButton_styles_1 = require(\"../BaseButton.styles\");\nvar DEFAULT_BUTTON_HEIGHT = '32px';\nvar DEFAULT_PADDING = '0 4px';\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n var baseButtonStyles = BaseButton_styles_1.getStyles(theme);\n var iconButtonStyles = {\n root: {\n padding: '0 4px',\n width: '32px',\n height: '32px',\n backgroundColor: 'transparent'\n },\n rootHovered: {\n color: theme.palette.themeDarker\n },\n rootPressed: {\n color: theme.palette.themePrimary\n },\n rootChecked: {\n backgroundColor: theme.palette.neutralTertiaryAlt,\n ':hover': {\n backgroundColor: theme.palette.neutralLight\n }\n },\n rootDisabled: {\n color: theme.palette.neutralTertiary\n }\n };\n return Styling_1.mergeStyleSets(baseButtonStyles, iconButtonStyles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 168,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"index": 168,
|
|
"index2": 160,
|
|
"size": 1863,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 155,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PrimaryButton/PrimaryButton",
|
|
"loc": "12:9-49"
|
|
},
|
|
{
|
|
"moduleId": 158,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\Button.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/Button.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PrimaryButton/PrimaryButton",
|
|
"loc": "30:22-62"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar BaseButton_1 = require(\"../BaseButton\");\nvar PrimaryButton_styles_1 = require(\"./PrimaryButton.styles\");\nvar PrimaryButton = (function (_super) {\n __extends(PrimaryButton, _super);\n function PrimaryButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Set this BaseComponent._resolveComponentRef to false, bypassing resolution of componentRef.\n */\n _this._shouldUpdateComponentRef = false;\n return _this;\n }\n PrimaryButton.prototype.render = function () {\n var styles = this.props.styles;\n return (React.createElement(BaseButton_1.BaseButton, __assign({}, this.props, { variantClassName: 'ms-Button--primary', onRenderDescription: Utilities_1.nullRender, styles: PrimaryButton_styles_1.getStyles(undefined, styles) })));\n };\n return PrimaryButton;\n}(Utilities_1.BaseComponent));\nexports.PrimaryButton = PrimaryButton;\n\n"
|
|
},
|
|
{
|
|
"id": 169,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.styles.js",
|
|
"index": 169,
|
|
"index2": 159,
|
|
"size": 1269,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 168,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Button\\PrimaryButton\\PrimaryButton.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Button/PrimaryButton/PrimaryButton.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PrimaryButton.styles",
|
|
"loc": "24:29-62"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../../Styling\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar DefaultButton_styles_1 = require(\"../DefaultButton/DefaultButton.styles\");\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n var palette = theme.palette;\n var defaultButtonStyles = DefaultButton_styles_1.getStyles(theme, customStyles, '0px', palette.white);\n var primaryButtonStyles = {\n root: {\n backgroundColor: palette.themePrimary,\n color: palette.white\n },\n rootHovered: {\n backgroundColor: palette.themeDark,\n color: palette.white\n },\n rootPressed: {\n backgroundColor: palette.themePrimary,\n color: palette.white\n },\n rootChecked: {\n backgroundColor: palette.themeDark,\n color: palette.white,\n ':hover': {\n backgroundColor: theme.palette.neutralLight,\n color: theme.palette.black\n }\n }\n };\n return Styling_1.mergeStyleSets(defaultButtonStyles, primaryButtonStyles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 170,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.scss.js",
|
|
"index": 170,
|
|
"index2": 164,
|
|
"size": 2553,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 9,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Breadcrumb\\Breadcrumb.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Breadcrumb/Breadcrumb.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Breadcrumb.scss",
|
|
"loc": "27:19-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_f13b2dea',\n list: 'list_f13b2dea',\n chevron: 'chevron_f13b2dea',\n listItem: 'listItem_f13b2dea',\n item: 'item_f13b2dea',\n itemLink: 'itemLink_f13b2dea',\n overflow: 'overflow_f13b2dea',\n overflowButton: 'overflowButton_f13b2dea',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_f13b2dea{margin:23px 0 1px}.list_f13b2dea{white-space:nowrap;padding:0;margin:0}.chevron_f13b2dea{font-size:12px;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";line-height:28px}.listItem_f13b2dea{list-style-type:none;vertical-align:top;margin:0;padding:0;display:inline-block;position:relative}.listItem_f13b2dea:last-of-type .chevron_f13b2dea{display:none}.listItem_f13b2dea .itemLink_f13b2dea,.listItem_f13b2dea .item_f13b2dea{font-size:21px;font-weight:100;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";display:inline-block;padding:0 8px;max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;vertical-align:top}.overflow_f13b2dea{display:inline-block;position:relative}.overflowButton_f13b2dea{font-size:16px;display:inline-block;vertical-align:top;height:28px;line-height:1}.overflowButton_f13b2dea:hover{cursor:pointer;background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.item_f13b2dea:hover{cursor:default}.root_f13b2dea .itemLink_f13b2dea:hover{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";color:initial;cursor:pointer}.root_f13b2dea .itemLink_f13b2dea:focus{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.root_f13b2dea .itemLink_f13b2dea:active{outline:transparent;background-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.itemLink_f13b2dea,.overflowButton_f13b2dea{text-decoration:none;outline:transparent}@media screen and (max-width:639px){.listItem_f13b2dea .itemLink_f13b2dea{font-size:17px}.chevron_f13b2dea{font-size:10px;line-height:17px}.overflowButton_f13b2dea{font-size:15px}}@media screen and (max-width:479px){.listItem_f13b2dea .itemLink_f13b2dea{font-size:14px;max-width:116px}.chevron_f13b2dea{font-size:8px;line-height:14px}.overflowButton_f13b2dea{padding:4px 6px}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 171,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Calendar.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Calendar.js",
|
|
"index": 171,
|
|
"index2": 176,
|
|
"size": 225,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Calendar",
|
|
"loc": "12:9-30"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Calendar",
|
|
"loc": "20:17-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Calendar/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 172,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Calendar/index.js",
|
|
"index": 172,
|
|
"index2": 175,
|
|
"size": 247,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Calendar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 171,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Calendar/index",
|
|
"loc": "6:9-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Calendar\"));\n__export(require(\"./Calendar.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 173,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"index": 173,
|
|
"index2": 173,
|
|
"size": 8148,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 172,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Calendar",
|
|
"loc": "6:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar DateValues_1 = require(\"../../utilities/dateValues/DateValues\");\nvar CalendarDay_1 = require(\"./CalendarDay\");\nvar CalendarMonth_1 = require(\"./CalendarMonth\");\nvar DateMath_1 = require(\"../../utilities/dateMath/DateMath\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Calendar.scss\");\nvar styles = stylesImport;\nvar Calendar = (function (_super) {\n __extends(Calendar, _super);\n function Calendar(props) {\n var _this = _super.call(this) || this;\n var currentDate = props.value && !isNaN(props.value.getTime()) ? props.value : (props.today || new Date());\n _this.state = {\n selectedDate: currentDate,\n navigatedDate: currentDate\n };\n _this._focusOnUpdate = false;\n return _this;\n }\n Calendar.prototype.componentWillReceiveProps = function (nextProps) {\n var autoNavigateOnSelection = nextProps.autoNavigateOnSelection, value = nextProps.value, _a = nextProps.today, today = _a === void 0 ? new Date() : _a;\n // Make sure auto-navigation is supported for programmatic changes to selected date, i.e.,\n // if selected date is updated via props, we may need to modify the navigated date\n var overrideNavigatedDate = (autoNavigateOnSelection && !DateMath_1.compareDates(value, this.props.value));\n if (overrideNavigatedDate) {\n this.setState({\n navigatedDate: value\n });\n }\n this.setState({\n selectedDate: value || today\n });\n };\n Calendar.prototype.componentDidUpdate = function () {\n if (this._focusOnUpdate) {\n this.refs.dayPicker.focus();\n this._focusOnUpdate = false;\n }\n };\n Calendar.prototype.render = function () {\n var rootClass = 'ms-DatePicker';\n var _a = this.props, firstDayOfWeek = _a.firstDayOfWeek, dateRangeType = _a.dateRangeType, strings = _a.strings, isMonthPickerVisible = _a.isMonthPickerVisible, autoNavigateOnSelection = _a.autoNavigateOnSelection, showGoToToday = _a.showGoToToday;\n var _b = this.state, selectedDate = _b.selectedDate, navigatedDate = _b.navigatedDate;\n return (React.createElement(\"div\", { className: Utilities_1.css(rootClass, styles.root), ref: 'root', role: 'application' },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-picker ms-DatePicker-picker--opened ms-DatePicker-picker--focused', styles.picker, styles.pickerIsOpened, styles.pickerIsFocused, isMonthPickerVisible && ('is-monthPickerVisible ' + styles.pickerIsMonthPickerVisible)) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-holder ms-slideDownIn10', styles.holder), onKeyDown: this._onDatePickerPopupKeyDown },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-frame', styles.frame) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-wrap', styles.wrap) },\n React.createElement(CalendarDay_1.CalendarDay, { selectedDate: selectedDate, navigatedDate: navigatedDate, today: this.props.today, onSelectDate: this._onSelectDate, onNavigateDate: this._onNavigateDate, onDismiss: this.props.onDismiss, firstDayOfWeek: firstDayOfWeek, dateRangeType: dateRangeType, autoNavigateOnSelection: autoNavigateOnSelection, strings: strings, ref: 'dayPicker' }),\n isMonthPickerVisible && React.createElement(CalendarMonth_1.CalendarMonth, { navigatedDate: navigatedDate, strings: strings, onNavigateDate: this._onNavigateDate }),\n showGoToToday &&\n React.createElement(\"span\", { role: 'button', className: Utilities_1.css('ms-DatePicker-goToday js-goToday', styles.goToday), onClick: this._onGotoToday, onKeyDown: this._onGotoTodayKeyDown, tabIndex: 0 }, strings.goToToday)))))));\n };\n Calendar.prototype.focus = function () {\n if (this.refs.dayPicker) {\n this.refs.dayPicker.focus();\n }\n };\n Calendar.prototype._navigateDay = function (date) {\n this.setState({\n navigatedDate: date\n });\n };\n Calendar.prototype._onNavigateDate = function (date, focusOnNavigatedDay) {\n this._navigateDay(date);\n this._focusOnUpdate = focusOnNavigatedDay;\n };\n Calendar.prototype._onSelectDate = function (date, selectedDateRangeArray) {\n var onSelectDate = this.props.onSelectDate;\n this.setState({\n selectedDate: date\n });\n if (onSelectDate) {\n onSelectDate(date, selectedDateRangeArray);\n }\n };\n Calendar.prototype._onGotoToday = function () {\n this._navigateDay(this.props.today);\n this._focusOnUpdate = true;\n };\n Calendar.prototype._onGotoTodayKeyDown = function (ev) {\n if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) {\n ev.preventDefault();\n this._onGotoToday();\n }\n else if (ev.which === Utilities_1.KeyCodes.tab && !ev.shiftKey) {\n if (this.props.onDismiss) {\n ev.stopPropagation();\n ev.preventDefault();\n this.props.onDismiss();\n }\n }\n };\n Calendar.prototype._onDatePickerPopupKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.enter:\n ev.preventDefault();\n break;\n case Utilities_1.KeyCodes.backspace:\n ev.preventDefault();\n break;\n case Utilities_1.KeyCodes.escape:\n this._handleEscKey(ev);\n break;\n default:\n break;\n }\n };\n Calendar.prototype._handleEscKey = function (ev) {\n if (this.props.onDismiss() != null) {\n this.props.onDismiss();\n }\n };\n return Calendar;\n}(Utilities_1.BaseComponent));\nCalendar.defaultProps = {\n onSelectDate: null,\n onDismiss: null,\n isMonthPickerVisible: true,\n value: null,\n today: new Date(),\n firstDayOfWeek: DateValues_1.DayOfWeek.Sunday,\n dateRangeType: DateValues_1.DateRangeType.Day,\n autoNavigateOnSelection: false,\n showGoToToday: true,\n strings: null\n};\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_navigateDay\", null);\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_onNavigateDate\", null);\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_onSelectDate\", null);\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_onGotoToday\", null);\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_onGotoTodayKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_onDatePickerPopupKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], Calendar.prototype, \"_handleEscKey\", null);\nexports.Calendar = Calendar;\n\n"
|
|
},
|
|
{
|
|
"id": 174,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\dateValues\\DateValues.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/dateValues/DateValues.js",
|
|
"index": 174,
|
|
"index2": 168,
|
|
"size": 914,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dateValues/DateValues",
|
|
"loc": "20:19-67"
|
|
},
|
|
{
|
|
"moduleId": 176,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\dateMath\\DateMath.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/dateMath/DateMath.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/dateMath/DateMath.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../dateValues/DateValues",
|
|
"loc": "3:19-54"
|
|
},
|
|
{
|
|
"moduleId": 179,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.Props.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.Props.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.Props.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dateValues/DateValues",
|
|
"loc": "3:19-67"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * The days of the week\n */\nvar DayOfWeek;\n(function (DayOfWeek) {\n DayOfWeek[DayOfWeek[\"Sunday\"] = 0] = \"Sunday\";\n DayOfWeek[DayOfWeek[\"Monday\"] = 1] = \"Monday\";\n DayOfWeek[DayOfWeek[\"Tuesday\"] = 2] = \"Tuesday\";\n DayOfWeek[DayOfWeek[\"Wednesday\"] = 3] = \"Wednesday\";\n DayOfWeek[DayOfWeek[\"Thursday\"] = 4] = \"Thursday\";\n DayOfWeek[DayOfWeek[\"Friday\"] = 5] = \"Friday\";\n DayOfWeek[DayOfWeek[\"Saturday\"] = 6] = \"Saturday\";\n})(DayOfWeek = exports.DayOfWeek || (exports.DayOfWeek = {}));\n/**\n * The supported date range types\n */\nvar DateRangeType;\n(function (DateRangeType) {\n DateRangeType[DateRangeType[\"Day\"] = 0] = \"Day\";\n DateRangeType[DateRangeType[\"Week\"] = 1] = \"Week\";\n DateRangeType[DateRangeType[\"Month\"] = 2] = \"Month\";\n})(DateRangeType = exports.DateRangeType || (exports.DateRangeType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 175,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"index": 175,
|
|
"index2": 171,
|
|
"size": 12626,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CalendarDay",
|
|
"loc": "21:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar Icon_1 = require(\"../../Icon\");\nvar DateMath_1 = require(\"../../utilities/dateMath/DateMath\");\nvar stylesImport = require(\"./Calendar.scss\");\nvar styles = stylesImport;\nvar DAYS_IN_WEEK = 7;\nvar CalendarDay = (function (_super) {\n __extends(CalendarDay, _super);\n function CalendarDay(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n activeDescendantId: Utilities_1.getId('DatePickerDay-active'),\n weeks: _this._getWeeks(props)\n };\n _this._onSelectNextMonth = _this._onSelectNextMonth.bind(_this);\n _this._onSelectPrevMonth = _this._onSelectPrevMonth.bind(_this);\n return _this;\n }\n CalendarDay.prototype.componentWillReceiveProps = function (nextProps) {\n var navigatedDate = nextProps.navigatedDate, selectedDate = nextProps.selectedDate, today = nextProps.today;\n this.setState({\n weeks: this._getWeeks(nextProps)\n });\n };\n CalendarDay.prototype.render = function () {\n var _this = this;\n var _a = this.state, activeDescendantId = _a.activeDescendantId, weeks = _a.weeks;\n var _b = this.props, firstDayOfWeek = _b.firstDayOfWeek, strings = _b.strings, navigatedDate = _b.navigatedDate, onSelectDate = _b.onSelectDate;\n var dayPickerId = Utilities_1.getId('DatePickerDay-dayPicker');\n var monthAndYearId = Utilities_1.getId('DatePickerDay-monthAndYear');\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-dayPicker', styles.dayPicker), id: dayPickerId },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-header', styles.header) },\n React.createElement(\"div\", { \"aria-live\": 'polite', \"aria-relevant\": 'text', \"aria-atomic\": 'true', id: monthAndYearId },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-month', styles.month) }, strings.months[navigatedDate.getMonth()]),\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-year', styles.year) }, navigatedDate.getFullYear()))),\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-monthComponents', styles.monthComponents) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-navContainer', styles.navContainer) },\n React.createElement(\"span\", { className: Utilities_1.css('ms-DatePicker-prevMonth js-prevMonth', styles.prevMonth), onClick: this._onSelectPrevMonth, onKeyDown: this._onPrevMonthKeyDown, \"aria-controls\": dayPickerId, \"aria-label\": strings.prevMonthAriaLabel, role: 'button', tabIndex: 0 },\n React.createElement(Icon_1.Icon, { iconName: Utilities_1.getRTL() ? 'chevronRight' : 'chevronLeft' })),\n React.createElement(\"span\", { className: Utilities_1.css('ms-DatePicker-nextMonth js-nextMonth', styles.nextMonth), onClick: this._onSelectNextMonth, onKeyDown: this._onKeyDown.bind(this, this._onSelectNextMonth), \"aria-controls\": dayPickerId, \"aria-label\": strings.nextMonthAriaLabel, role: 'button', tabIndex: 0 },\n React.createElement(Icon_1.Icon, { iconName: Utilities_1.getRTL() ? 'chevronLeft' : 'chevronRight' }))),\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-headerToggleView js-showMonthPicker', styles.headerToggleView) })),\n React.createElement(FocusZone_1.FocusZone, null,\n React.createElement(\"table\", { className: Utilities_1.css('ms-DatePicker-table', styles.table), \"aria-readonly\": 'true', \"aria-multiselectable\": 'false', \"aria-labelledby\": monthAndYearId, \"aria-activedescendant\": activeDescendantId },\n React.createElement(\"thead\", null,\n React.createElement(\"tr\", null, strings.shortDays.map(function (val, index) {\n return React.createElement(\"th\", { className: Utilities_1.css('ms-DatePicker-weekday', styles.weekday), scope: 'col', key: index, title: strings.days[(index + firstDayOfWeek) % DAYS_IN_WEEK], \"aria-label\": strings.days[(index + firstDayOfWeek) % DAYS_IN_WEEK] }, strings.shortDays[(index + firstDayOfWeek) % DAYS_IN_WEEK]);\n }))),\n React.createElement(\"tbody\", null, weeks.map(function (week, weekIndex) {\n return React.createElement(\"tr\", { key: weekIndex }, week.map(function (day, dayIndex) {\n return React.createElement(\"td\", { key: day.key },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-day', styles.day, (_a = {},\n _a['ms-DatePicker-day--infocus ' + styles.dayIsFocused] = day.isInMonth,\n _a['ms-DatePicker-day--outfocus ' + styles.dayIsUnfocused] = !day.isInMonth,\n _a['ms-DatePicker-day--today ' + styles.dayIsToday] = day.isToday,\n _a['ms-DatePicker-day--highlighted ' + styles.dayIsHighlighted] = day.isSelected,\n _a)), role: 'button', onClick: day.onSelected, onKeyDown: function (ev) {\n return _this._navigateMonthEdge(ev, day.originalDate, weekIndex, dayIndex);\n }, \"aria-selected\": day.isSelected, \"aria-label\": day.originalDate.toLocaleString ?\n day.originalDate.toLocaleString([], { day: 'numeric', month: 'long', year: 'numeric' }) : day.originalDate.getDate(), id: DateMath_1.compareDates(navigatedDate, day.originalDate) ? activeDescendantId : null, \"data-is-focusable\": true, ref: DateMath_1.compareDates(navigatedDate, day.originalDate) ? 'navigatedDay' : null, key: DateMath_1.compareDates(navigatedDate, day.originalDate) ? 'navigatedDay' : null },\n React.createElement(\"span\", { \"aria-hidden\": 'true' }, day.date)));\n var _a;\n }));\n }))))));\n };\n CalendarDay.prototype.focus = function () {\n if (this.refs.navigatedDay) {\n this.refs.navigatedDay.tabIndex = 0;\n this.refs.navigatedDay.focus();\n }\n };\n CalendarDay.prototype._navigateMonthEdge = function (ev, date, weekIndex, dayIndex) {\n if (weekIndex === 0 && ev.which === Utilities_1.KeyCodes.up) {\n this.props.onNavigateDate(DateMath_1.addWeeks(date, -1), true);\n ev.preventDefault();\n }\n else if (weekIndex === (this.state.weeks.length - 1) && ev.which === Utilities_1.KeyCodes.down) {\n this.props.onNavigateDate(DateMath_1.addWeeks(date, 1), true);\n ev.preventDefault();\n }\n else if (dayIndex === 0 && ev.which === Utilities_1.getRTLSafeKeyCode(Utilities_1.KeyCodes.left)) {\n this.props.onNavigateDate(DateMath_1.addDays(date, -1), true);\n ev.preventDefault();\n }\n else if (dayIndex === (DAYS_IN_WEEK - 1) && ev.which === Utilities_1.getRTLSafeKeyCode(Utilities_1.KeyCodes.right)) {\n this.props.onNavigateDate(DateMath_1.addDays(date, 1), true);\n ev.preventDefault();\n }\n };\n CalendarDay.prototype._onKeyDown = function (callback, ev) {\n if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) {\n callback();\n }\n };\n CalendarDay.prototype._onSelectDate = function (selectedDate) {\n var _a = this.props, onSelectDate = _a.onSelectDate, dateRangeType = _a.dateRangeType, firstDayOfWeek = _a.firstDayOfWeek, navigatedDate = _a.navigatedDate, autoNavigateOnSelection = _a.autoNavigateOnSelection;\n var dateRange = DateMath_1.getDateRangeArray(selectedDate, dateRangeType, firstDayOfWeek);\n if (onSelectDate != null) {\n onSelectDate(selectedDate, dateRange);\n }\n // Navigate to next or previous month if needed\n if (autoNavigateOnSelection && selectedDate.getMonth() !== navigatedDate.getMonth()) {\n var compareResult = DateMath_1.compareDatePart(selectedDate, navigatedDate);\n if (compareResult < 0) {\n this._onSelectPrevMonth();\n }\n else if (compareResult > 0) {\n this._onSelectNextMonth();\n }\n }\n };\n CalendarDay.prototype._onSelectNextMonth = function () {\n this.props.onNavigateDate(DateMath_1.addMonths(this.props.navigatedDate, 1), false);\n };\n CalendarDay.prototype._onSelectPrevMonth = function () {\n this.props.onNavigateDate(DateMath_1.addMonths(this.props.navigatedDate, -1), false);\n };\n CalendarDay.prototype._onPrevMonthKeyDown = function (ev) {\n if (ev.which === Utilities_1.KeyCodes.tab && ev.shiftKey) {\n if (this.props.onDismiss) {\n ev.preventDefault();\n ev.stopPropagation();\n this.props.onDismiss();\n }\n }\n else {\n this._onKeyDown(this._onSelectPrevMonth, ev);\n }\n };\n CalendarDay.prototype._getWeeks = function (propsToUse) {\n var navigatedDate = propsToUse.navigatedDate, selectedDate = propsToUse.selectedDate, dateRangeType = propsToUse.dateRangeType, firstDayOfWeek = propsToUse.firstDayOfWeek, today = propsToUse.today;\n var date = new Date(navigatedDate.getFullYear(), navigatedDate.getMonth(), 1);\n var todaysDate = today || new Date();\n var weeks = [];\n var week;\n // Cycle the date backwards to get to the first day of the week.\n while (date.getDay() !== firstDayOfWeek) {\n date.setDate(date.getDate() - 1);\n }\n // a flag to indicate whether all days of the week are in the month\n var isAllDaysOfWeekOutOfMonth = false;\n var selectedDates = DateMath_1.getDateRangeArray(selectedDate, dateRangeType, firstDayOfWeek);\n for (var weekIndex = 0; !isAllDaysOfWeekOutOfMonth; weekIndex++) {\n week = [];\n isAllDaysOfWeekOutOfMonth = true;\n for (var dayIndex = 0; dayIndex < DAYS_IN_WEEK; dayIndex++) {\n var originalDate = new Date(date.toString());\n var dayInfo = {\n key: date.toString(),\n date: date.getDate(),\n originalDate: originalDate,\n isInMonth: date.getMonth() === navigatedDate.getMonth(),\n isToday: DateMath_1.compareDates(todaysDate, date),\n isSelected: DateMath_1.isInDateRangeArray(date, selectedDates),\n onSelected: this._onSelectDate.bind(this, originalDate)\n };\n week.push(dayInfo);\n if (dayInfo.isInMonth) {\n isAllDaysOfWeekOutOfMonth = false;\n }\n date.setDate(date.getDate() + 1);\n }\n if (!isAllDaysOfWeekOutOfMonth) {\n weeks.push(week);\n }\n }\n return weeks;\n };\n return CalendarDay;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], CalendarDay.prototype, \"_onPrevMonthKeyDown\", null);\nexports.CalendarDay = CalendarDay;\n\n"
|
|
},
|
|
{
|
|
"id": 176,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\dateMath\\DateMath.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/dateMath/DateMath.js",
|
|
"index": 176,
|
|
"index2": 169,
|
|
"size": 8385,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dateMath/DateMath",
|
|
"loc": "23:17-61"
|
|
},
|
|
{
|
|
"moduleId": 175,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dateMath/DateMath",
|
|
"loc": "23:17-61"
|
|
},
|
|
{
|
|
"moduleId": 178,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dateMath/DateMath",
|
|
"loc": "16:17-61"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dateMath/DateMath",
|
|
"loc": "25:17-61"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DateValues_1 = require(\"../dateValues/DateValues\");\nvar DAYS_IN_WEEK = 7;\nvar MONTHS_IN_YEAR = 12;\n/**\n * Returns a date offset from the given date by the specified number of days.\n * @param {Date} date - The origin date\n * @param {number} days - The number of days to offset. 'days' can be negative.\n * @return {Date} A new Date object offset from the origin date by the given number of days\n */\nfunction addDays(date, days) {\n var result = new Date(date.getTime());\n result.setDate(result.getDate() + days);\n return result;\n}\nexports.addDays = addDays;\n/**\n * Returns a date offset from the given date by the specified number of weeks.\n * @param {Date} date - The origin date\n * @param {number} weeks - The number of weeks to offset. 'weeks' can be negative.\n * @return {Date} A new Date object offset from the origin date by the given number of weeks\n */\nfunction addWeeks(date, weeks) {\n return addDays(date, weeks * DAYS_IN_WEEK);\n}\nexports.addWeeks = addWeeks;\n/**\n * Returns a date offset from the given date by the specified number of months.\n * The method tries to preserve the day-of-month; however, if the new month does not have enough days\n * to contain the original day-of-month, we'll use the last day of the new month.\n * @param {Date} date - The origin date\n * @param {number} months - The number of months to offset. 'months' can be negative.\n * @return {Date} A new Date object offset from the origin date by the given number of months\n */\nfunction addMonths(date, months) {\n var result = new Date(date.getTime());\n var newMonth = result.getMonth() + months;\n result.setMonth(newMonth);\n // We want to maintain the same day-of-month, but that may not be possible if the new month doesn't have enough days.\n // Loop until we back up to a day the new month has.\n // (Weird modulo math is due to Javascript's treatment of negative numbers in modulo)\n if (result.getMonth() !== ((newMonth % MONTHS_IN_YEAR) + MONTHS_IN_YEAR) % MONTHS_IN_YEAR) {\n result = addDays(result, -result.getDate());\n }\n return result;\n}\nexports.addMonths = addMonths;\n/**\n * Returns a date offset from the given date by the specified number of years.\n * The method tries to preserve the day-of-month; however, if the new month does not have enough days\n * to contain the original day-of-month, we'll use the last day of the new month.\n * @param {Date} date - The origin date\n * @param {number} years - The number of years to offset. 'years' can be negative.\n * @return {Date} A new Date object offset from the origin date by the given number of years\n */\nfunction addYears(date, years) {\n var result = new Date(date.getTime());\n result.setFullYear(date.getFullYear() + years);\n // We want to maintain the same day-of-month, but that may not be possible if the new month doesn't have enough days.\n // Loop until we back up to a day the new month has.\n // (Weird modulo math is due to Javascript's treatment of negative numbers in modulo)\n if (result.getMonth() !== ((date.getMonth() % MONTHS_IN_YEAR) + MONTHS_IN_YEAR) % MONTHS_IN_YEAR) {\n result = addDays(result, -result.getDate());\n }\n return result;\n}\nexports.addYears = addYears;\n/**\n * Returns a date that is a copy of the given date, aside from the month changing to the given month.\n * The method tries to preserve the day-of-month; however, if the new month does not have enough days\n * to contain the original day-of-month, we'll use the last day of the new month.\n * @param {Date} date - The origin date\n * @param {number} month - The 0-based index of the month to set on the date.\n * @return {Date} A new Date object with the given month set.\n */\nfunction setMonth(date, month) {\n return addMonths(date, month - date.getMonth());\n}\nexports.setMonth = setMonth;\n/**\n * Compares two dates, and returns true if the two dates (not accounting for time-of-day) are equal.\n * @return {boolean} True if the two dates represent the same date (regardless of time-of-day), false otherwise.\n */\nfunction compareDates(date1, date2) {\n if (date1 == null && date2 == null) {\n return true;\n }\n else if (date1 == null || date2 == null) {\n return false;\n }\n else {\n return (date1.getFullYear() === date2.getFullYear()\n && date1.getMonth() === date2.getMonth()\n && date1.getDate() === date2.getDate());\n }\n}\nexports.compareDates = compareDates;\n/**\n * Compare the date parts of two dates\n * @param {Date} date1 - The first date to compare\n * @param {Date} date2 - The second date to compare\n * @returns {Number} A negative value if date1 is earlier than date2, 0 if the dates are equal, or a positive value\n * if date1 is later than date2.\n */\nfunction compareDatePart(date1, date2) {\n return getDatePartHashValue(date1) - getDatePartHashValue(date2);\n}\nexports.compareDatePart = compareDatePart;\n/**\n * Gets the date range array including the specified date. The date range array is calculated as the list\n * of dates accounting for the specified first day of the week and date range type.\n * @param {Date} date - The input date\n * @param {DateRangeType} dateRangeType - The desired date range type, i.e., day, week, month, etc.\n * @param {DayOfWeek} dayOfWeek - The first day of the week.\n * @returns {Date[]} An array of dates representing the date range containing the specified date.\n */\nfunction getDateRangeArray(date, dateRangeType, firstDayOfWeek) {\n var datesArray = new Array();\n var startDate = null;\n var endDate = null;\n switch (dateRangeType) {\n case DateValues_1.DateRangeType.Day:\n startDate = getDatePart(date);\n endDate = addDays(startDate, 1);\n break;\n case DateValues_1.DateRangeType.Week:\n startDate = getStartDateOfWeek(getDatePart(date), firstDayOfWeek);\n endDate = addDays(startDate, DAYS_IN_WEEK);\n break;\n case DateValues_1.DateRangeType.Month:\n startDate = new Date(date.getFullYear(), date.getMonth(), 1);\n endDate = addMonths(startDate, 1);\n break;\n }\n // Populate the dates array with the dates in range\n datesArray.push(startDate);\n var nextDate = addDays(startDate, 1);\n while (!compareDates(nextDate, endDate)) {\n datesArray.push(nextDate);\n nextDate = addDays(nextDate, 1);\n }\n return datesArray;\n}\nexports.getDateRangeArray = getDateRangeArray;\n/**\n * Checks whether the specified date is in the given date range.\n * @param {Date} date - The origin date\n * @param {Date[]} dateRange - An array of dates to do the lookup on\n * @returns {bool} True if the date matches one of the dates in the specified array, false otherwise.\n */\nfunction isInDateRangeArray(date, dateRange) {\n for (var _i = 0, dateRange_1 = dateRange; _i < dateRange_1.length; _i++) {\n var dateInRange = dateRange_1[_i];\n if (compareDates(date, dateInRange)) {\n return true;\n }\n }\n return false;\n}\nexports.isInDateRangeArray = isInDateRangeArray;\n/**\n * Gets a new date with the time portion zeroed out, i.e., set to midnight\n * @param {Date} date - The origin date\n * @returns {Date} A new date with the time set to midnight\n */\nfunction getDatePart(date) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n}\n/**\n * Gets the date for the first day of the week based on the given date assuming\n * the specified first day of the week.\n * @param {Date} date - The date to find the beginning of the week date for.\n * @return {Date} A new date object representing the first day of the week containing the input date.\n */\nfunction getStartDateOfWeek(date, firstDayOfWeek) {\n var daysOffset = firstDayOfWeek - date.getDay();\n if (daysOffset > 0) {\n // If first day of week is > date, go 1 week back, to ensure resulting date is in the past.\n daysOffset -= DAYS_IN_WEEK;\n }\n return addDays(date, daysOffset);\n}\n/**\n * Helper function to assist in date comparisons\n */\nfunction getDatePartHashValue(date) {\n // Generate date hash value created as sum of Date (up to 31 = 5 bits), Month (up to 11 = 4 bits) and Year.\n /* tslint:disable:no-bitwise */\n return date.getDate() + (date.getMonth() << 5) + (date.getFullYear() << 9);\n /* tslint:enable:no-bitwise */\n}\n\n"
|
|
},
|
|
{
|
|
"id": 177,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.scss.js",
|
|
"index": 177,
|
|
"index2": 170,
|
|
"size": 14491,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Calendar.scss",
|
|
"loc": "25:19-45"
|
|
},
|
|
{
|
|
"moduleId": 175,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarDay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarDay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Calendar.scss",
|
|
"loc": "24:19-45"
|
|
},
|
|
{
|
|
"moduleId": 178,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Calendar.scss",
|
|
"loc": "18:19-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_bf042f77',\n picker: 'picker_bf042f77',\n holder: 'holder_bf042f77',\n pickerIsOpened: 'pickerIsOpened_bf042f77',\n frame: 'frame_bf042f77',\n wrap: 'wrap_bf042f77',\n dayPicker: 'dayPicker_bf042f77',\n header: 'header_bf042f77',\n month: 'month_bf042f77',\n year: 'year_bf042f77',\n table: 'table_bf042f77',\n day: 'day_bf042f77',\n weekday: 'weekday_bf042f77',\n dayIsToday: 'dayIsToday_bf042f77',\n dayIsDisabled: 'dayIsDisabled_bf042f77',\n dayIsUnfocused: 'dayIsUnfocused_bf042f77',\n dayIsFocused: 'dayIsFocused_bf042f77',\n dayIsHighlighted: 'dayIsHighlighted_bf042f77',\n pickerIsFocused: 'pickerIsFocused_bf042f77',\n dayDisabled: 'dayDisabled_bf042f77',\n monthPicker: 'monthPicker_bf042f77',\n yearPicker: 'yearPicker_bf042f77',\n monthComponents: 'monthComponents_bf042f77',\n yearComponents: 'yearComponents_bf042f77',\n decadeComponents: 'decadeComponents_bf042f77',\n prevMonth: 'prevMonth_bf042f77',\n nextMonth: 'nextMonth_bf042f77',\n prevYear: 'prevYear_bf042f77',\n nextYear: 'nextYear_bf042f77',\n prevDecade: 'prevDecade_bf042f77',\n nextDecade: 'nextDecade_bf042f77',\n headerToggleView: 'headerToggleView_bf042f77',\n currentYear: 'currentYear_bf042f77',\n currentDecade: 'currentDecade_bf042f77',\n optionGrid: 'optionGrid_bf042f77',\n monthOption: 'monthOption_bf042f77',\n yearOption: 'yearOption_bf042f77',\n isHighlighted: 'isHighlighted_bf042f77',\n goToday: 'goToday_bf042f77',\n isPickingYears: 'isPickingYears_bf042f77',\n pickerIsMonthPickerVisible: 'pickerIsMonthPickerVisible_bf042f77',\n toggleMonthView: 'toggleMonthView_bf042f77',\n isPickingMonths: 'isPickingMonths_bf042f77',\n navContainer: 'navContainer_bf042f77',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_bf042f77{box-sizing:border-box;box-shadow:none;margin:0;padding:0;margin-bottom:17px}.picker_bf042f77{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";font-size:14px;position:relative}html[dir=ltr] .picker_bf042f77{text-align:left}html[dir=rtl] .picker_bf042f77{text-align:right}.holder_bf042f77{-webkit-overflow-scrolling:touch;box-sizing:border-box;background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";min-width:300px;display:none}.picker_bf042f77.pickerIsOpened_bf042f77 .holder_bf042f77{box-sizing:border-box;display:block}.pickerIsOpened_bf042f77{position:relative}.frame_bf042f77{padding:1px;position:relative}.wrap_bf042f77{margin:-1px;padding:9px}.dayPicker_bf042f77{display:block;margin-bottom:30px}.header_bf042f77{height:40px;line-height:44px}.month_bf042f77,.year_bf042f77{display:inline-block;font-size:21px;font-weight:100;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";margin-top:-1px}.month_bf042f77:hover,.year_bf042f77:hover{color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \";cursor:pointer}html[dir=ltr] .month_bf042f77{margin-left:15px}html[dir=rtl] .month_bf042f77{margin-right:15px}html[dir=ltr] .year_bf042f77{margin-left:15px}html[dir=rtl] .year_bf042f77{margin-right:15px}.table_bf042f77{text-align:center;border-collapse:collapse;border-spacing:0;table-layout:fixed;font-size:inherit}.table_bf042f77 td{margin:0;padding:0}.table_bf042f77 td:hover{outline:1px solid transparent}.day_bf042f77,.weekday_bf042f77{width:40px;height:40px;padding:0;line-height:40px;font-size:15px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.dayIsToday_bf042f77{position:relative;background-color:\" }, { \"theme\": \"themeLight\", \"defaultValue\": \"#c7e0f4\" }, { \"rawString\": \"}.dayIsDisabled_bf042f77:before{border-top-color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.dayIsUnfocused_bf042f77{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";font-weight:400}.dayIsFocused_bf042f77:hover,.dayIsUnfocused_bf042f77:hover{cursor:pointer;color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.day_bf042f77.dayIsHighlighted_bf042f77.dayIsFocused_bf042f77::-moz-focus-inner{border:0}.day_bf042f77.dayIsHighlighted_bf042f77.dayIsFocused_bf042f77{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .day_bf042f77.dayIsHighlighted_bf042f77.dayIsFocused_bf042f77:focus:after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.dayIsHighlighted_bf042f77:hover,.pickerIsFocused_bf042f77 .dayIsHighlighted_bf042f77{cursor:pointer;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";background:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.dayIsHighlighted_bf042f77.dayDisabled_bf042f77,.dayIsHighlighted_bf042f77.dayDisabled_bf042f77:hover{background:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.monthPicker_bf042f77,.yearPicker_bf042f77{display:none}.monthComponents_bf042f77{position:absolute;top:9px}[dir=ltr] .monthComponents_bf042f77{right:9px}[dir=rtl] .monthComponents_bf042f77{left:9px}[dir=ltr] .monthComponents_bf042f77{left:9px}[dir=rtl] .monthComponents_bf042f77{right:9px}.decadeComponents_bf042f77,.yearComponents_bf042f77{position:absolute;top:-2px}[dir=ltr] .decadeComponents_bf042f77,[dir=ltr] .yearComponents_bf042f77{right:10px}[dir=rtl] .decadeComponents_bf042f77,[dir=rtl] .yearComponents_bf042f77{left:10px}.nextDecade_bf042f77,.nextMonth_bf042f77,.nextYear_bf042f77,.prevDecade_bf042f77,.prevMonth_bf042f77,.prevYear_bf042f77{width:40px;height:40px;display:block;text-align:center;line-height:40px;text-align:center;font-size:16px;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";position:relative;top:2px}html[dir=ltr] .nextDecade_bf042f77,html[dir=ltr] .nextMonth_bf042f77,html[dir=ltr] .nextYear_bf042f77,html[dir=ltr] .prevDecade_bf042f77,html[dir=ltr] .prevMonth_bf042f77,html[dir=ltr] .prevYear_bf042f77{margin-left:10px}html[dir=rtl] .nextDecade_bf042f77,html[dir=rtl] .nextMonth_bf042f77,html[dir=rtl] .nextYear_bf042f77,html[dir=rtl] .prevDecade_bf042f77,html[dir=rtl] .prevMonth_bf042f77,html[dir=rtl] .prevYear_bf042f77{margin-right:10px}.nextDecade_bf042f77:hover,.nextMonth_bf042f77:hover,.nextYear_bf042f77:hover,.prevDecade_bf042f77:hover,.prevMonth_bf042f77:hover,.prevYear_bf042f77:hover{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \";cursor:pointer;outline:1px solid transparent}.headerToggleView_bf042f77{height:40px;position:absolute;top:0;width:140px;cursor:pointer}[dir=ltr] .headerToggleView_bf042f77{left:0}[dir=rtl] .headerToggleView_bf042f77{right:0}.currentDecade_bf042f77,.currentYear_bf042f77{display:block;font-size:21px;font-weight:100;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";height:40px;line-height:40px}html[dir=ltr] .currentDecade_bf042f77,html[dir=ltr] .currentYear_bf042f77{margin-left:15px}html[dir=rtl] .currentDecade_bf042f77,html[dir=rtl] .currentYear_bf042f77{margin-right:15px}.currentYear_bf042f77{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.currentYear_bf042f77:hover{color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \";cursor:pointer}.optionGrid_bf042f77{position:relative;height:210px;width:280px;margin:10px 0 30px 5px}html[dir=rtl] .optionGrid_bf042f77{margin:10px 5px 30px 0}.monthOption_bf042f77,.yearOption_bf042f77{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";width:60px;height:60px;line-height:60px;cursor:pointer;margin:0 10px 10px 0;font-size:13px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";text-align:center}html[dir=ltr] .monthOption_bf042f77,html[dir=ltr] .yearOption_bf042f77{float:left}html[dir=rtl] .monthOption_bf042f77,html[dir=rtl] .yearOption_bf042f77{float:right}html[dir=rtl] .monthOption_bf042f77,html[dir=rtl] .yearOption_bf042f77{margin:0 0 10px 10px}.monthOption_bf042f77:hover,.yearOption_bf042f77:hover{background-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";outline:1px solid transparent}.monthOption_bf042f77.isHighlighted_bf042f77,.yearOption_bf042f77.isHighlighted_bf042f77{background-color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.goToday_bf042f77{bottom:9px;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";cursor:pointer;font-size:13px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";height:30px;line-height:30px;padding:0 10px;position:absolute!important}[dir=ltr] .goToday_bf042f77{right:3px}[dir=rtl] .goToday_bf042f77{left:3px}.goToday_bf042f77:hover{outline:1px solid transparent}.root_bf042f77.isPickingYears_bf042f77 .dayPicker_bf042f77,.root_bf042f77.isPickingYears_bf042f77 .monthComponents_bf042f77{display:none}.root_bf042f77.isPickingYears_bf042f77 .monthPicker_bf042f77{display:none}.root_bf042f77.isPickingYears_bf042f77 .yearPicker_bf042f77{display:block}@media (min-width:460px){.header_bf042f77{height:30px;line-height:30px}.day_bf042f77,.weekday_bf042f77{width:30px;height:30px;line-height:28px;font-weight:600;font-size:12px}.monthComponents_bf042f77{width:210px}.nextDecade_bf042f77,.nextMonth_bf042f77,.nextYear_bf042f77,.prevDecade_bf042f77,.prevMonth_bf042f77,.prevYear_bf042f77{font-size:12px;width:24px;height:24px;line-height:24px}.holder_bf042f77{min-width:230px}.month_bf042f77,.year_bf042f77{font-weight:300}.month_bf042f77,.year_bf042f77{font-size:17px;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.month_bf042f77:hover,.year_bf042f77:hover{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";cursor:default}.pickerIsMonthPickerVisible_bf042f77 .dayPicker_bf042f77{margin:-10px 0;padding:10px 0}.pickerIsMonthPickerVisible_bf042f77 .dayPicker_bf042f77{box-sizing:border-box;width:220px;min-height:230px}html[dir=ltr] .pickerIsMonthPickerVisible_bf042f77 .dayPicker_bf042f77{border-right:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}html[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .dayPicker_bf042f77{border-left:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.pickerIsMonthPickerVisible_bf042f77 .holder_bf042f77{width:440px}.pickerIsMonthPickerVisible_bf042f77 .monthPicker_bf042f77{display:block}.pickerIsMonthPickerVisible_bf042f77 .monthPicker_bf042f77,.pickerIsMonthPickerVisible_bf042f77 .yearPicker_bf042f77{top:9px;position:absolute}[dir=ltr] .pickerIsMonthPickerVisible_bf042f77 .monthPicker_bf042f77,[dir=ltr] .pickerIsMonthPickerVisible_bf042f77 .yearPicker_bf042f77{left:238px}[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .monthPicker_bf042f77,[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .yearPicker_bf042f77{right:238px}html[dir=ltr] .pickerIsMonthPickerVisible_bf042f77 .month_bf042f77{margin-left:12px}html[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .month_bf042f77{margin-right:12px}.pickerIsMonthPickerVisible_bf042f77 .optionGrid_bf042f77{width:200px;height:auto;margin:10px 0 0 0}html[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .optionGrid_bf042f77{margin:10px 0 0 0}.pickerIsMonthPickerVisible_bf042f77 .toggleMonthView_bf042f77{display:none}.pickerIsMonthPickerVisible_bf042f77 .currentDecade_bf042f77,.pickerIsMonthPickerVisible_bf042f77 .currentYear_bf042f77{font-size:17px;margin:0;height:30px;line-height:26px;padding:0 10px;display:inline-block}.pickerIsMonthPickerVisible_bf042f77 .monthOption_bf042f77,.pickerIsMonthPickerVisible_bf042f77 .yearOption_bf042f77{width:40px;height:40px;line-height:38px;font-size:12px;margin:0 10px 10px 0}html[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .monthOption_bf042f77,html[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .yearOption_bf042f77{margin:0 0 10px 10px}.pickerIsMonthPickerVisible_bf042f77 .monthOption_bf042f77:hover,.pickerIsMonthPickerVisible_bf042f77 .yearOption_bf042f77:hover{outline:1px solid transparent}.pickerIsMonthPickerVisible_bf042f77 .goToday_bf042f77{box-sizing:border-box;font-size:12px;height:30px;line-height:30px;padding:0 10px;top:199px}[dir=ltr] .pickerIsMonthPickerVisible_bf042f77 .goToday_bf042f77{right:3px}[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .goToday_bf042f77{left:3px}html[dir=ltr] .pickerIsMonthPickerVisible_bf042f77 .goToday_bf042f77{text-align:right}html[dir=rtl] .pickerIsMonthPickerVisible_bf042f77 .goToday_bf042f77{text-align:left}.pickerIsMonthPickerVisible_bf042f77 .root_bf042f77.isPickingYears_bf042f77 .dayPicker_bf042f77,.pickerIsMonthPickerVisible_bf042f77 .root_bf042f77.isPickingYears_bf042f77 .monthComponents_bf042f77{display:block}.pickerIsMonthPickerVisible_bf042f77 .root_bf042f77.isPickingYears_bf042f77 .monthPicker_bf042f77{display:none}.pickerIsMonthPickerVisible_bf042f77 .root_bf042f77.isPickingYears_bf042f77 .yearPicker_bf042f77{display:block}}@media (max-width:459px){.root_bf042f77.isPickingMonths_bf042f77 .dayPicker_bf042f77,.root_bf042f77.isPickingMonths_bf042f77 .monthComponents_bf042f77{display:none}.root_bf042f77.isPickingMonths_bf042f77 .monthPicker_bf042f77{display:block}}.wrap_bf042f77 div:focus::-moz-focus-inner,.wrap_bf042f77 span:focus::-moz-focus-inner{border:0}.wrap_bf042f77 div:focus,.wrap_bf042f77 span:focus{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .wrap_bf042f77 div:focus:focus:after,.ms-Fabric.is-focusVisible .wrap_bf042f77 span:focus:focus:after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:1px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.goToday_bf042f77{width:auto}.nextMonth_bf042f77,.nextYear_bf042f77,.prevMonth_bf042f77,.prevYear_bf042f77{display:inline-block}html[dir=ltr] .navContainer_bf042f77{float:right}html[dir=rtl] .navContainer_bf042f77{float:left}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 178,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\CalendarMonth.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Calendar/CalendarMonth.js",
|
|
"index": 178,
|
|
"index2": 172,
|
|
"size": 4744,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 173,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CalendarMonth",
|
|
"loc": "22:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar DateMath_1 = require(\"../../utilities/dateMath/DateMath\");\nvar Icon_1 = require(\"../../Icon\");\nvar stylesImport = require(\"./Calendar.scss\");\nvar styles = stylesImport;\nvar CalendarMonth = (function (_super) {\n __extends(CalendarMonth, _super);\n function CalendarMonth(props) {\n var _this = _super.call(this, props) || this;\n _this._selectMonthCallbacks = [];\n props.strings.shortMonths.map(function (month, index) {\n _this._selectMonthCallbacks[index] = _this._onSelectMonth.bind(_this, index);\n });\n _this._onSelectNextYear = _this._onSelectNextYear.bind(_this);\n _this._onSelectPrevYear = _this._onSelectPrevYear.bind(_this);\n _this._onSelectMonth = _this._onSelectMonth.bind(_this);\n return _this;\n }\n CalendarMonth.prototype.render = function () {\n var _this = this;\n var _a = this.props, navigatedDate = _a.navigatedDate, strings = _a.strings;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-monthPicker', styles.monthPicker) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-header', styles.header) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-yearComponents ms-DatePicker-navContainer', styles.yearComponents, styles.navContainer) },\n React.createElement(\"span\", { className: Utilities_1.css('ms-DatePicker-prevYear js-prevYear', styles.prevYear), onClick: this._onSelectPrevYear, onKeyDown: this._onKeyDown.bind(this, this._onSelectPrevYear), \"aria-label\": strings.prevYearAriaLabel, role: 'button', tabIndex: 0 },\n React.createElement(Icon_1.Icon, { iconName: Utilities_1.getRTL() ? 'chevronRight' : 'chevronLeft' })),\n React.createElement(\"span\", { className: Utilities_1.css('ms-DatePicker-nextYear js-nextYear', styles.nextYear), onClick: this._onSelectNextYear, onKeyDown: this._onKeyDown.bind(this, this._onSelectNextYear), \"aria-label\": strings.nextYearAriaLabel, role: 'button', tabIndex: 0 },\n React.createElement(Icon_1.Icon, { iconName: Utilities_1.getRTL() ? 'chevronLeft' : 'chevronRight' }))),\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-currentYear js-showYearPicker', styles.currentYear) }, navigatedDate.getFullYear())),\n React.createElement(FocusZone_1.FocusZone, null,\n React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker-optionGrid', styles.optionGrid) }, strings.shortMonths.map(function (month, index) {\n return React.createElement(\"span\", { role: 'button', className: Utilities_1.css('ms-DatePicker-monthOption', styles.monthOption), key: index, onClick: _this._selectMonthCallbacks[index], \"aria-label\": DateMath_1.setMonth(navigatedDate, index).toLocaleString([], { month: 'long', year: 'numeric' }), \"data-is-focusable\": true }, month);\n })))));\n };\n CalendarMonth.prototype._onKeyDown = function (callback, ev) {\n if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) {\n callback();\n }\n };\n CalendarMonth.prototype._onSelectNextYear = function () {\n var _a = this.props, navigatedDate = _a.navigatedDate, onNavigateDate = _a.onNavigateDate;\n onNavigateDate(DateMath_1.addYears(navigatedDate, 1), false);\n };\n ;\n CalendarMonth.prototype._onSelectPrevYear = function () {\n var _a = this.props, navigatedDate = _a.navigatedDate, onNavigateDate = _a.onNavigateDate;\n onNavigateDate(DateMath_1.addYears(navigatedDate, -1), false);\n };\n ;\n CalendarMonth.prototype._onSelectMonth = function (newMonth) {\n var _a = this.props, navigatedDate = _a.navigatedDate, onNavigateDate = _a.onNavigateDate;\n onNavigateDate(DateMath_1.setMonth(navigatedDate, newMonth), true);\n };\n return CalendarMonth;\n}(Utilities_1.BaseComponent));\nexports.CalendarMonth = CalendarMonth;\n\n"
|
|
},
|
|
{
|
|
"id": 179,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\Calendar.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Calendar/Calendar.Props.js",
|
|
"index": 179,
|
|
"index2": 174,
|
|
"size": 243,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 172,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Calendar\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Calendar/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Calendar/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Calendar.Props",
|
|
"loc": "7:9-36"
|
|
},
|
|
{
|
|
"moduleId": 211,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../Calendar/Calendar.Props",
|
|
"loc": "7:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DateValues_1 = require(\"../../utilities/dateValues/DateValues\");\nexports.DayOfWeek = DateValues_1.DayOfWeek;\nexports.DateRangeType = DateValues_1.DateRangeType;\n\n"
|
|
},
|
|
{
|
|
"id": 180,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Checkbox.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Checkbox.js",
|
|
"index": 180,
|
|
"index2": 180,
|
|
"size": 225,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Checkbox",
|
|
"loc": "14:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Checkbox/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 181,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Checkbox/index.js",
|
|
"index": 181,
|
|
"index2": 179,
|
|
"size": 208,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Checkbox.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 180,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Checkbox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Checkbox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Checkbox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Checkbox/index",
|
|
"loc": "6:9-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Checkbox\"));\n\n"
|
|
},
|
|
{
|
|
"id": 182,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"index": 182,
|
|
"index2": 178,
|
|
"size": 5179,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 181,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Checkbox/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Checkbox/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Checkbox",
|
|
"loc": "6:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Checkbox.scss\");\nvar styles = stylesImport;\nvar Checkbox = (function (_super) {\n __extends(Checkbox, _super);\n function Checkbox(props) {\n var _this = _super.call(this, props) || this;\n _this._warnMutuallyExclusive({\n 'checked': 'defaultChecked'\n });\n _this._id = Utilities_1.getId('checkbox-');\n _this.state = {\n isFocused: false,\n isChecked: !!(props.checked !== undefined ? props.checked : props.defaultChecked)\n };\n return _this;\n }\n Checkbox.prototype.render = function () {\n var _a = this.props, checked = _a.checked, className = _a.className, defaultChecked = _a.defaultChecked, disabled = _a.disabled, inputProps = _a.inputProps, label = _a.label, name = _a.name;\n var isFocused = this.state.isFocused;\n var isChecked = checked === undefined ? this.state.isChecked : checked;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Checkbox', styles.root, className, (_b = {\n 'is-inFocus': isFocused\n },\n _b[styles.rootIsInFocus] = isFocused,\n _b)) },\n React.createElement(\"input\", __assign({}, inputProps, (checked !== undefined && { checked: checked }), (defaultChecked !== undefined && { defaultChecked: defaultChecked }), { disabled: disabled, ref: this._resolveRef('_checkBox'), id: this._id, name: name || this._id, className: Utilities_1.css('ms-Checkbox-input', styles.input), type: 'checkbox', onChange: this._onChange, onFocus: this._onFocus, onBlur: this._onBlur, \"aria-checked\": isChecked })),\n this.props.children,\n React.createElement(\"label\", { htmlFor: this._id, className: Utilities_1.css('ms-Checkbox-label', styles.label, (_c = {},\n _c['is-checked ' + styles.labelIsChecked] = isChecked,\n _c['is-disabled ' + styles.labelIsDisabled] = disabled,\n _c[styles.labelIsInFocus] = isFocused,\n _c)) }, label && React.createElement(\"span\", { className: styles.textLabel }, label))));\n var _b, _c;\n };\n Object.defineProperty(Checkbox.prototype, \"checked\", {\n get: function () {\n return this._checkBox ? this._checkBox.checked : false;\n },\n enumerable: true,\n configurable: true\n });\n Checkbox.prototype.focus = function () {\n if (this._checkBox) {\n this._checkBox.focus();\n }\n };\n Checkbox.prototype._onFocus = function (ev) {\n var inputProps = this.props.inputProps;\n if (inputProps && inputProps.onFocus) {\n inputProps.onFocus(ev);\n }\n this.setState({ isFocused: true });\n };\n Checkbox.prototype._onBlur = function (ev) {\n var inputProps = this.props.inputProps;\n if (inputProps && inputProps.onBlur) {\n inputProps.onBlur(ev);\n }\n this.setState({ isFocused: false });\n };\n Checkbox.prototype._onChange = function (ev) {\n var onChange = this.props.onChange;\n var isChecked = ev.target.checked;\n if (onChange) {\n onChange(ev, isChecked);\n }\n if (this.props.checked === undefined) {\n this.setState({ isChecked: isChecked });\n }\n };\n return Checkbox;\n}(Utilities_1.BaseComponent));\nCheckbox.defaultProps = {};\n__decorate([\n Utilities_1.autobind\n], Checkbox.prototype, \"_onFocus\", null);\n__decorate([\n Utilities_1.autobind\n], Checkbox.prototype, \"_onBlur\", null);\n__decorate([\n Utilities_1.autobind\n], Checkbox.prototype, \"_onChange\", null);\nexports.Checkbox = Checkbox;\n\n"
|
|
},
|
|
{
|
|
"id": 183,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.scss.js",
|
|
"index": 183,
|
|
"index2": 177,
|
|
"size": 6452,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 182,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Checkbox\\Checkbox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Checkbox/Checkbox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Checkbox.scss",
|
|
"loc": "29:19-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_ec819a34',\n textLabel: 'textLabel_ec819a34',\n input: 'input_ec819a34',\n label: 'label_ec819a34',\n labelIsDisabled: 'labelIsDisabled_ec819a34',\n labelIsChecked: 'labelIsChecked_ec819a34',\n labelIsInFocus: 'labelIsInFocus_ec819a34',\n rootIsInFocus: 'rootIsInFocus_ec819a34',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_ec819a34{box-sizing:border-box;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-size:14px;font-weight:400;min-height:36px;position:relative}.textLabel_ec819a34{font-size:14px;padding:0 0 0 26px;display:inline-block;font-size:14px}html[dir=rtl] .textLabel_ec819a34{padding:0 26px 0 0}.input_ec819a34{position:absolute;opacity:0;top:8px}.label_ec819a34::before{content:'';display:inline-block;border:1px solid \" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";width:20px;height:20px;font-weight:400;position:absolute;box-sizing:border-box;transition-property:background,border,border-color;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.23,1)}.label_ec819a34::after{content:'\\\\E73E';font-family:FabricMDL2Icons;display:none;position:absolute;font-weight:900;background-color:transparent;font-size:13px;top:0;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";line-height:20px;width:20px;text-align:center}.label_ec819a34{display:inline-block;cursor:pointer;margin-top:8px;position:relative;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-width:20px;min-height:20px;line-height:20px}.label_ec819a34:hover::before{border-color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}.label_ec819a34:hover .textLabel_ec819a34{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.label_ec819a34:focus::before{border-color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}.label_ec819a34:focus.labelIsDisabled_ec819a34::before{border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.label_ec819a34:focus.labelIsChecked_ec819a34::before{border-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.label_ec819a34:active::before{border-color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}.label_ec819a34:active .textLabel_ec819a34{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.label_ec819a34.labelIsChecked_ec819a34::before{border:10px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:black-on-white){.label_ec819a34.labelIsChecked_ec819a34::before{display:none}}.label_ec819a34.labelIsChecked_ec819a34::after{display:block}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:black-on-white){.label_ec819a34.labelIsChecked_ec819a34::after{height:16px;width:16px;line-height:16px}}@media screen and (-ms-high-contrast:active){.label_ec819a34.labelIsChecked_ec819a34::after{border:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.label_ec819a34.labelIsChecked_ec819a34::after{border:2px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.label_ec819a34.labelIsChecked_ec819a34:focus::before,.label_ec819a34.labelIsChecked_ec819a34:hover::before{border-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.label_ec819a34.labelIsDisabled_ec819a34{cursor:default}.label_ec819a34.labelIsDisabled_ec819a34:focus::before,.label_ec819a34.labelIsDisabled_ec819a34:hover::before{border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.label_ec819a34.labelIsDisabled_ec819a34::before{background-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.label_ec819a34.labelIsDisabled_ec819a34::after{border:2px solid #0f0}}@media screen and (-ms-high-contrast:black-on-white){.label_ec819a34.labelIsDisabled_ec819a34::after{border:2px solid #600000}}@media screen and (-ms-high-contrast:active){.label_ec819a34.labelIsDisabled_ec819a34::after{color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.label_ec819a34.labelIsDisabled_ec819a34::after{color:#600000}}.label_ec819a34.labelIsDisabled_ec819a34 .textLabel_ec819a34{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.label_ec819a34.labelIsDisabled_ec819a34 .textLabel_ec819a34{color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.label_ec819a34.labelIsDisabled_ec819a34 .textLabel_ec819a34{color:#600000}}.label_ec819a34.labelIsInFocus_ec819a34::before{border-color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}.label_ec819a34.labelIsInFocus_ec819a34.labelIsDisabled_ec819a34::before{border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.label_ec819a34.labelIsInFocus_ec819a34.labelIsChecked_ec819a34::before{border-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.ms-Fabric.is-focusVisible .rootIsInFocus_ec819a34::before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.ms-Fabric.is-focusVisible .rootIsInFocus_ec819a34::before{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.ms-Fabric.is-focusVisible .rootIsInFocus_ec819a34::before{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 184,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ChoiceGroup.js",
|
|
"name": "./~/office-ui-fabric-react/lib/ChoiceGroup.js",
|
|
"index": 184,
|
|
"index2": 190,
|
|
"size": 228,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ChoiceGroup",
|
|
"loc": "15:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/ChoiceGroup/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 185,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/index.js",
|
|
"index": 185,
|
|
"index2": 189,
|
|
"size": 211,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ChoiceGroup.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 184,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/ChoiceGroup/index",
|
|
"loc": "6:9-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./ChoiceGroup\"));\n\n"
|
|
},
|
|
{
|
|
"id": 186,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"index": 186,
|
|
"index2": 188,
|
|
"size": 8889,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 185,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ChoiceGroup",
|
|
"loc": "6:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Image_1 = require(\"../../Image\");\nvar Label_1 = require(\"../../Label\");\nvar Icon_1 = require(\"../../Icon\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./ChoiceGroup.scss\");\nvar styles = stylesImport;\nvar ChoiceGroup = (function (_super) {\n __extends(ChoiceGroup, _super);\n function ChoiceGroup(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({ 'onChanged': 'onChange' });\n _this._warnMutuallyExclusive({\n selectedKey: 'defaultSelectedKey'\n });\n _this.state = {\n keyChecked: (props.defaultSelectedKey === undefined) ?\n _this._getKeyChecked(props) :\n props.defaultSelectedKey,\n keyFocused: undefined\n };\n _this._id = Utilities_1.getId('ChoiceGroup');\n _this._labelId = Utilities_1.getId('ChoiceGroupLabel');\n return _this;\n }\n ChoiceGroup.prototype.componentWillReceiveProps = function (newProps) {\n var newKeyChecked = this._getKeyChecked(newProps);\n var oldKeyCheched = this._getKeyChecked(this.props);\n if (newKeyChecked !== oldKeyCheched) {\n this.setState({\n keyChecked: newKeyChecked,\n });\n }\n };\n ChoiceGroup.prototype.render = function () {\n var _this = this;\n var _a = this.props, label = _a.label, options = _a.options, className = _a.className, required = _a.required;\n var _b = this.state, keyChecked = _b.keyChecked, keyFocused = _b.keyFocused;\n return (\n // Need to assign role application on containing div because JAWS doesnt call OnKeyDown without this role\n React.createElement(\"div\", { role: 'application', className: className },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceFieldGroup', styles.root), role: 'radiogroup', \"aria-labelledby\": this.props.label ? this._id + '-label' : '' },\n this.props.label && (React.createElement(Label_1.Label, { className: className, required: required, id: this._id + '-label' }, label)),\n options.map(function (option) {\n var _a = option.onRenderField, onRenderField = _a === void 0 ? _this._onRenderField : _a;\n // Merge internal props into option\n Utilities_1.assign(option, {\n checked: option.key === keyChecked,\n disabled: option.disabled || _this.props.disabled,\n id: _this._id + \"-\" + option.key,\n labelId: _this._labelId + \"-\" + option.key\n });\n return (React.createElement(\"div\", { key: option.key, className: Utilities_1.css('ms-ChoiceField', styles.choiceField, (_b = {},\n _b['ms-ChoiceField--image ' + styles.choiceFieldIsImage] = !!option.imageSrc,\n _b['ms-ChoiceField--icon ' + styles.choiceFieldIsIcon] = !!option.iconProps,\n _b['is-inFocus ' + styles.choiceFieldIsInFocus] = option.key === keyFocused,\n _b)) },\n React.createElement(\"input\", { ref: function (c) { return _this._inputElement = c; }, id: option.id, className: Utilities_1.css('ms-ChoiceField-input', styles.input), type: 'radio', name: _this.props.name || _this._id, disabled: option.disabled || _this.props.disabled, checked: option.key === keyChecked, required: required, onChange: _this._onChange.bind(_this, option), onFocus: _this._onFocus.bind(_this, option), onBlur: _this._onBlur.bind(_this, option), \"aria-labelledby\": option.id }),\n onRenderField(option, _this._onRenderField)));\n var _b;\n }))));\n };\n ChoiceGroup.prototype.focus = function () {\n if (this._inputElement) {\n this._inputElement.focus();\n }\n };\n ChoiceGroup.prototype._onFocus = function (option, ev) {\n this.setState({\n keyFocused: option.key,\n keyChecked: this.state.keyChecked\n });\n };\n ChoiceGroup.prototype._onBlur = function (option, ev) {\n this.setState({\n keyFocused: undefined,\n keyChecked: this.state.keyChecked\n });\n };\n ChoiceGroup.prototype._onRenderField = function (option) {\n return (React.createElement(\"label\", { htmlFor: option.id, className: Utilities_1.css('ms-ChoiceField-field', styles.field, (_a = {},\n _a['ms-ChoiceField-field--image ' + styles.fieldIsImage] = !!option.imageSrc,\n _a['ms-ChoiceField--icon ' + styles.fieldIsIcon] = !!option.iconProps,\n _a['is-checked ' + styles.fieldIsChecked] = option.checked,\n _a['is-disabled ' + styles.fieldIsDisabled] = option.disabled,\n _a)) },\n option.imageSrc && (React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceField-innerField', styles.innerField) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceField-imageWrapper', styles.imageWrapper, (_b = {},\n _b['is-hidden ' + styles.imageWrapperIsHidden] = option.checked,\n _b)) },\n React.createElement(Image_1.Image, { src: option.imageSrc, width: option.imageSize.width, height: option.imageSize.height })),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceField-imageWrapper', styles.imageWrapper, (_c = {},\n _c['is-hidden ' + styles.imageWrapperIsHidden] = !option.checked,\n _c)) },\n React.createElement(Image_1.Image, { src: option.selectedImageSrc, width: option.imageSize.width, height: option.imageSize.height })))),\n option.iconProps\n ? React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceField-innerField', styles.innerField) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceField-iconWrapper', styles.iconWrapper) },\n React.createElement(Icon_1.Icon, __assign({}, option.iconProps))))\n : null,\n option.imageSrc || option.iconProps\n ? (React.createElement(\"div\", { className: Utilities_1.css('ms-ChoiceField-labelWrapper', styles.labelWrapper) },\n React.createElement(\"span\", { id: option.labelId, className: 'ms-Label' }, option.text))) : (React.createElement(\"span\", { id: option.labelId, className: 'ms-Label' }, option.text))));\n var _a, _b, _c;\n };\n ChoiceGroup.prototype._onChange = function (option, evt) {\n var _a = this.props, onChanged = _a.onChanged, onChange = _a.onChange, selectedKey = _a.selectedKey;\n // Only manage state in uncontrolled scenarios.\n if (selectedKey === undefined) {\n this.setState({\n keyChecked: option.key\n });\n }\n // TODO: onChanged deprecated, remove else if after 07/17/2017 when onChanged has been removed.\n if (onChange) {\n onChange(evt, option);\n }\n else if (onChanged) {\n onChanged(option);\n }\n };\n /**\n * If all the isChecked property of options are falsy values, return undefined;\n * Else return the key of the first option with the truthy isChecked property.\n */\n ChoiceGroup.prototype._getKeyChecked = function (props) {\n if (props.selectedKey !== undefined) {\n return props.selectedKey;\n }\n var optionsChecked = props.options.filter(function (option) {\n return option.checked;\n });\n if (optionsChecked.length === 0) {\n return undefined;\n }\n else {\n return optionsChecked[0].key;\n }\n };\n return ChoiceGroup;\n}(Utilities_1.BaseComponent));\nChoiceGroup.defaultProps = {\n options: []\n};\nexports.ChoiceGroup = ChoiceGroup;\n\n"
|
|
},
|
|
{
|
|
"id": 187,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Image.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Image.js",
|
|
"index": 187,
|
|
"index2": 182,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Image",
|
|
"loc": "30:9-27"
|
|
},
|
|
{
|
|
"moduleId": 186,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Image",
|
|
"loc": "22:14-36"
|
|
},
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Image",
|
|
"loc": "30:14-36"
|
|
},
|
|
{
|
|
"moduleId": 288,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardPreview.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Image",
|
|
"loc": "20:14-36"
|
|
},
|
|
{
|
|
"moduleId": 360,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubbleContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Image",
|
|
"loc": "26:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Image/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 188,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Image\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Image/index.js",
|
|
"index": 188,
|
|
"index2": 181,
|
|
"size": 241,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Image.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 187,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Image.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Image.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Image.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Image/index",
|
|
"loc": "6:9-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Image\"));\n__export(require(\"./Image.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 189,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Label.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Label.js",
|
|
"index": 189,
|
|
"index2": 186,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Label",
|
|
"loc": "31:9-27"
|
|
},
|
|
{
|
|
"moduleId": 186,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Label",
|
|
"loc": "23:14-36"
|
|
},
|
|
{
|
|
"moduleId": 199,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Label",
|
|
"loc": "22:14-36"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Label",
|
|
"loc": "31:14-36"
|
|
},
|
|
{
|
|
"moduleId": 355,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Label",
|
|
"loc": "29:14-36"
|
|
},
|
|
{
|
|
"moduleId": 364,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Label",
|
|
"loc": "29:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Label/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 190,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Label/index.js",
|
|
"index": 190,
|
|
"index2": 185,
|
|
"size": 205,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Label.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 189,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Label.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Label.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Label.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Label/index",
|
|
"loc": "6:9-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Label\"));\n\n"
|
|
},
|
|
{
|
|
"id": 191,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"index": 191,
|
|
"index2": 184,
|
|
"size": 1870,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 190,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Label/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Label/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Label",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Label.scss\");\nvar styles = stylesImport;\nvar Label = (function (_super) {\n __extends(Label, _super);\n function Label() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Label.prototype.render = function () {\n var _a = this.props, disabled = _a.disabled, required = _a.required, children = _a.children, className = _a.className;\n return (React.createElement(\"label\", __assign({}, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties), { className: Utilities_1.css(styles.root, 'ms-Label', className, (_b = {\n 'is-disabled': disabled,\n 'is-required': required\n },\n _b[styles.isDisabled] = disabled,\n _b[styles.isRequired] = required,\n _b)) }), children));\n var _b;\n };\n return Label;\n}(Utilities_1.BaseComponent));\nexports.Label = Label;\n\n"
|
|
},
|
|
{
|
|
"id": 192,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Label/Label.scss.js",
|
|
"index": 192,
|
|
"index2": 183,
|
|
"size": 841,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 191,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Label\\Label.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Label/Label.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Label.scss",
|
|
"loc": "23:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_083d600e',\n isRequired: 'isRequired_083d600e',\n isDisabled: 'isDisabled_083d600e',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_083d600e{font-size:14px;font-weight:400;box-sizing:border-box;box-shadow:none;margin:0;padding:0;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";box-sizing:border-box;display:block;padding:5px 0;word-wrap:break-word;overflow-wrap:break-word}.isRequired_083d600e::after{content:' *';color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.isDisabled_083d600e{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 193,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.scss.js",
|
|
"index": 193,
|
|
"index2": 187,
|
|
"size": 23608,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 186,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ChoiceGroup\\ChoiceGroup.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ChoiceGroup/ChoiceGroup.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ChoiceGroup.scss",
|
|
"loc": "26:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_92027817',\n choiceField: 'choiceField_92027817',\n input: 'input_92027817',\n field: 'field_92027817',\n fieldIsChecked: 'fieldIsChecked_92027817',\n fieldIsDisabled: 'fieldIsDisabled_92027817',\n choiceFieldIsImage: 'choiceFieldIsImage_92027817',\n choiceFieldIsIcon: 'choiceFieldIsIcon_92027817',\n fieldIsImage: 'fieldIsImage_92027817',\n fieldIsIcon: 'fieldIsIcon_92027817',\n innerField: 'innerField_92027817',\n imageWrapper: 'imageWrapper_92027817',\n imageWrapperIsHidden: 'imageWrapperIsHidden_92027817',\n labelWrapper: 'labelWrapper_92027817',\n iconWrapper: 'iconWrapper_92027817',\n choiceFieldIsInFocus: 'choiceFieldIsInFocus_92027817',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_92027817{margin-bottom:4px}.choiceField_92027817{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-size:14px;font-weight:400;min-height:26px;border:none;position:relative;margin-top:8px}[dir=ltr] .choiceField_92027817{padding-left:8px}[dir=rtl] .choiceField_92027817{padding-right:8px}.choiceField_92027817 .ms-Label{font-size:14px;padding:0 0 0 26px;display:inline-block}[dir=rtl] .choiceField_92027817 .ms-Label{padding:0 26px 0 0}.input_92027817{position:absolute;opacity:0;top:8px}.field_92027817::before{content:'';display:inline-block;background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border:1px solid \" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";width:20px;height:20px;font-weight:400;position:absolute;top:-1px;box-sizing:border-box;transition-property:border-color;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.23,1);border-radius:50%}.field_92027817::after{content:'';width:0;height:0;border-radius:50%;position:absolute;transition-property:top,left,right,width,height;transition-duration:150ms;transition-timing-function:cubic-bezier(.4,0,.23,1);box-sizing:border-box}[dir=ltr] .field_92027817::after{left:10px}[dir=rtl] .field_92027817::after{right:10px}[dir=ltr] .field_92027817::after{right:0}[dir=rtl] .field_92027817::after{left:0}@media screen and (-ms-high-contrast:active){.field_92027817::after{color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.field_92027817::after{color:#600000}}.field_92027817{display:inline-block;cursor:pointer;margin-top:0;position:relative;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.field_92027817:focus::before,.field_92027817:hover::before{border-color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.field_92027817:focus .ms-Label,.field_92027817:hover .ms-Label{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.field_92027817.fieldIsChecked_92027817::before{border:2px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.field_92027817.fieldIsChecked_92027817::before{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.field_92027817.fieldIsChecked_92027817::before{border-color:#37006e}}.field_92027817.fieldIsChecked_92027817::after{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";top:4px;width:10px;height:10px}[dir=ltr] .field_92027817.fieldIsChecked_92027817::after{left:5px}[dir=rtl] .field_92027817.fieldIsChecked_92027817::after{right:5px}@media screen and (-ms-high-contrast:active){.field_92027817.fieldIsChecked_92027817::after{background-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.field_92027817.fieldIsChecked_92027817::after{background-color:#37006e}}.field_92027817.fieldIsChecked_92027817:focus::before,.field_92027817.fieldIsChecked_92027817:hover::before{border-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.field_92027817.fieldIsDisabled_92027817{cursor:default}.field_92027817.fieldIsDisabled_92027817::before{background-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.field_92027817.fieldIsDisabled_92027817::before{border-color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.field_92027817.fieldIsDisabled_92027817::before{border-color:#600000}}.field_92027817.fieldIsDisabled_92027817 .ms-Label{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.field_92027817.fieldIsDisabled_92027817 .ms-Label{color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.field_92027817.fieldIsDisabled_92027817 .ms-Label{color:#600000}}.field_92027817.fieldIsChecked_92027817.fieldIsDisabled_92027817::before{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.field_92027817.fieldIsChecked_92027817.fieldIsDisabled_92027817::after{background-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.choiceFieldIsIcon_92027817,.choiceFieldIsImage_92027817{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:0;margin:0 4px 4px 0;background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}[dir=rtl] .choiceFieldIsIcon_92027817,[dir=rtl] .choiceFieldIsImage_92027817{margin:0 0 4px 4px}[dir=ltr] .choiceFieldIsIcon_92027817,[dir=ltr] .choiceFieldIsImage_92027817{padding-left:0}[dir=rtl] .choiceFieldIsIcon_92027817,[dir=rtl] .choiceFieldIsImage_92027817{padding-right:0}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817{display:inline-block;box-sizing:border-box;min-width:96px;cursor:pointer;padding:4px;padding-top:22px;margin:0;text-align:center;transition:all .2s ease;border:2px solid transparent}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817.fieldIsDisabled_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817.fieldIsDisabled_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817.fieldIsDisabled_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817.fieldIsDisabled_92027817{cursor:default}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817.fieldIsDisabled_92027817 .innerField_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817.fieldIsDisabled_92027817 .innerField_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817.fieldIsDisabled_92027817 .innerField_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817.fieldIsDisabled_92027817 .innerField_92027817{opacity:.25}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817 .innerField_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817 .innerField_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817 .innerField_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817 .innerField_92027817{position:relative;padding:0 28px}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817 .innerField_92027817 .imageWrapper_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817 .innerField_92027817 .imageWrapper_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817 .innerField_92027817 .imageWrapper_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817 .innerField_92027817 .imageWrapper_92027817{padding-bottom:2px;transition:opacity .2s ease}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817 .innerField_92027817 .imageWrapper_92027817.imageWrapperIsHidden_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817 .innerField_92027817 .imageWrapper_92027817.imageWrapperIsHidden_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817 .innerField_92027817 .imageWrapper_92027817.imageWrapperIsHidden_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817 .innerField_92027817 .imageWrapper_92027817.imageWrapperIsHidden_92027817{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;opacity:0}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817 .innerField_92027817 .imageWrapper_92027817 .ms-Image,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817 .innerField_92027817 .imageWrapper_92027817 .ms-Image,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817 .innerField_92027817 .imageWrapper_92027817 .ms-Image,.choiceFieldIsImage_92027817 .fieldIsImage_92027817 .innerField_92027817 .imageWrapper_92027817 .ms-Image{display:inline-block}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817 .labelWrapper_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817 .labelWrapper_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817 .labelWrapper_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817 .labelWrapper_92027817{display:inline-block;position:relative;margin:4px 0 0 0;height:32px;line-height:16px;overflow-y:hidden;font-size:14px;font-weight:400}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817 .labelWrapper_92027817 .ms-Label,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817 .labelWrapper_92027817 .ms-Label,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817 .labelWrapper_92027817 .ms-Label,.choiceFieldIsImage_92027817 .fieldIsImage_92027817 .labelWrapper_92027817 .ms-Label{padding:0}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::before,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817::before,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817::before,.choiceFieldIsImage_92027817 .fieldIsImage_92027817::before{top:3px;opacity:0}[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::before,[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::before,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::before,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::before{right:3px}[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::before,[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::before,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::before,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::before{left:3px}[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::before,[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::before,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::before,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::before{left:auto}[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::before,[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::before,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::before,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::before{right:auto}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::after,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817::after,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817::after,.choiceFieldIsImage_92027817 .fieldIsImage_92027817::after{top:13px}[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::after,[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::after,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::after,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::after{right:13px}[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::after,[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::after,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::after,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::after{left:13px}[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::after,[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::after,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::after,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::after{left:auto}[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817::after,[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817::after,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817::after,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsImage_92027817::after{right:auto}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):focus,.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):hover,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):focus,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):hover,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):focus,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):hover,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):focus,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):hover{border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):focus::before,.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):hover::before,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):focus::before,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):hover::before,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):focus::before,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817):hover::before,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):focus::before,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817):hover::before{opacity:1}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::before,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::before,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::before,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::before{opacity:1}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after{top:8px}[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,[dir=ltr] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,[dir=ltr] .choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after{right:8px}[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,[dir=rtl] .choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after,[dir=rtl] .choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817::after{left:8px}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus,.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover{border-color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::before,.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::before,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::before,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::before,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::before,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::before,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::before,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::before{border-color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::after,.choiceFieldIsIcon_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::after,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::after,.choiceFieldIsIcon_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::after,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::after,.choiceFieldIsImage_92027817 .fieldIsIcon_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::after,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:focus::after,.choiceFieldIsImage_92027817 .fieldIsImage_92027817:not(.fieldIsDisabled_92027817).fieldIsChecked_92027817:hover::after{background-color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}.choiceFieldIsIcon_92027817{height:96px;width:96px}.choiceFieldIsIcon_92027817 .iconWrapper_92027817{font-size:32px;line-height:32px;height:32px}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817::-moz-focus-inner{border:0}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817::after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817::-moz-focus-inner{border:0}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817::after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817::-moz-focus-inner{border:0}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817::after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:2px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817::-moz-focus-inner,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817::-moz-focus-inner{border:0}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817::after,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817::-moz-focus-inner,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817::-moz-focus-inner{border:0}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817::after,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817::after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817::-moz-focus-inner,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817::-moz-focus-inner{border:0}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsIcon_92027817::after,.ms-Fabric.is-focusVisible .choiceFieldIsInFocus_92027817.choiceFieldIsImage_92027817::after{content:'';position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:3px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 194,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ColorPicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/ColorPicker.js",
|
|
"index": 194,
|
|
"index2": 202,
|
|
"size": 228,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorPicker",
|
|
"loc": "16:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/ColorPicker/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 195,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ColorPicker/index.js",
|
|
"index": 195,
|
|
"index2": 201,
|
|
"size": 211,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ColorPicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 194,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/ColorPicker/index",
|
|
"loc": "6:9-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./ColorPicker\"));\n\n"
|
|
},
|
|
{
|
|
"id": 196,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"index": 196,
|
|
"index2": 200,
|
|
"size": 7247,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 195,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorPicker",
|
|
"loc": "6:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar TextField_1 = require(\"../../TextField\");\nvar ColorRectangle_1 = require(\"./ColorRectangle\");\nvar ColorSlider_1 = require(\"./ColorSlider\");\nvar colors_1 = require(\"../../utilities/color/colors\");\nvar Styling_1 = require(\"../../Styling\");\nvar stylesImport = require(\"./ColorPicker.scss\");\nvar styles = stylesImport;\nvar ColorPicker = (function (_super) {\n __extends(ColorPicker, _super);\n function ColorPicker(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n color: colors_1.getColorFromString(props.color)\n };\n return _this;\n }\n ColorPicker.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.color) {\n this._updateColor(colors_1.getColorFromString(newProps.color));\n }\n };\n ColorPicker.prototype.render = function () {\n var _this = this;\n var color = this.state.color;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker', styles.root) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker-panel', styles.panel) },\n React.createElement(ColorRectangle_1.ColorRectangle, { color: color, onSVChanged: this._onSVChanged }),\n React.createElement(ColorSlider_1.ColorSlider, { className: Utilities_1.css('is-hue', styles.colorSliderIsHue), minValue: 0, maxValue: colors_1.MAX_COLOR_HUE, value: color.h, onChanged: this._onHChanged }),\n !this.props.alphaSliderHidden && (React.createElement(ColorSlider_1.ColorSlider, { className: Utilities_1.css('is-alpha', styles.colorSliderIsAlpha), overlayStyle: { background: \"linear-gradient(to right, transparent 0, \" + color.str + \" 100%)\" }, minValue: 0, maxValue: 100, value: color.a, onChanged: this._onAChanged })),\n React.createElement(\"table\", { className: 'ms-ColorPicker-table', cellPadding: '0', cellSpacing: '0' },\n React.createElement(\"thead\", null,\n React.createElement(\"tr\", { className: Styling_1.FontClassNames.small },\n React.createElement(\"td\", null, \"Hex\"),\n React.createElement(\"td\", null, \"Red\"),\n React.createElement(\"td\", null, \"Green\"),\n React.createElement(\"td\", null, \"Blue\"),\n !this.props.alphaSliderHidden && (React.createElement(\"td\", null, \"Alpha\")))),\n React.createElement(\"tbody\", null,\n React.createElement(\"tr\", null,\n React.createElement(\"td\", null,\n React.createElement(TextField_1.TextField, { className: Utilities_1.css('ms-ColorPicker-input', styles.input), value: color.hex, ref: function (ref) { return _this.hexText = ref; }, onBlur: this._onHexChanged })),\n React.createElement(\"td\", { style: { width: '18%' } },\n React.createElement(TextField_1.TextField, { className: Utilities_1.css('ms-ColorPicker-input', styles.input), onBlur: this._onRGBAChanged, value: String(color.r), ref: function (ref) { return _this.rText = ref; } })),\n React.createElement(\"td\", { style: { width: '18%' } },\n React.createElement(TextField_1.TextField, { className: Utilities_1.css('ms-ColorPicker-input', styles.input), onBlur: this._onRGBAChanged, value: String(color.g), ref: function (ref) { return _this.gText = ref; } })),\n React.createElement(\"td\", { style: { width: '18%' } },\n React.createElement(TextField_1.TextField, { className: Utilities_1.css('ms-ColorPicker-input', styles.input), onBlur: this._onRGBAChanged, value: String(color.b), ref: function (ref) { return _this.bText = ref; } })),\n !this.props.alphaSliderHidden && (React.createElement(\"td\", { style: { width: '18%' } },\n React.createElement(TextField_1.TextField, { className: Utilities_1.css('ms-ColorPicker-input', styles.input), onBlur: this._onRGBAChanged, value: String(color.a), ref: function (ref) { return _this.aText = ref; } })))))))));\n };\n ColorPicker.prototype._onSVChanged = function (s, v) {\n this._updateColor(colors_1.updateSV(this.state.color, s, v));\n };\n ColorPicker.prototype._onHChanged = function (h) {\n this._updateColor(colors_1.updateH(this.state.color, h));\n };\n ColorPicker.prototype._onAChanged = function (a) {\n this._updateColor(colors_1.updateA(this.state.color, a));\n };\n ColorPicker.prototype._onHexChanged = function () {\n this._updateColor(colors_1.getColorFromString('#' + this.hexText.value));\n };\n ColorPicker.prototype._onRGBAChanged = function () {\n this._updateColor(colors_1.getColorFromRGBA({\n r: Number(this.rText.value),\n g: Number(this.gText.value),\n b: Number(this.bText.value),\n a: Number(this.aText.value)\n }));\n };\n ColorPicker.prototype._updateColor = function (newColor) {\n var onColorChanged = this.props.onColorChanged;\n if (newColor.str !== this.state.color.str) {\n this.setState({\n color: newColor\n }, function () {\n if (onColorChanged) {\n onColorChanged(newColor.str);\n }\n });\n }\n };\n return ColorPicker;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], ColorPicker.prototype, \"_onSVChanged\", null);\n__decorate([\n Utilities_1.autobind\n], ColorPicker.prototype, \"_onHChanged\", null);\n__decorate([\n Utilities_1.autobind\n], ColorPicker.prototype, \"_onAChanged\", null);\n__decorate([\n Utilities_1.autobind\n], ColorPicker.prototype, \"_onHexChanged\", null);\n__decorate([\n Utilities_1.autobind\n], ColorPicker.prototype, \"_onRGBAChanged\", null);\nexports.ColorPicker = ColorPicker;\n\n"
|
|
},
|
|
{
|
|
"id": 197,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\TextField.js",
|
|
"name": "./~/office-ui-fabric-react/lib/TextField.js",
|
|
"index": 197,
|
|
"index2": 194,
|
|
"size": 226,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TextField",
|
|
"loc": "50:9-31"
|
|
},
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../TextField",
|
|
"loc": "21:18-44"
|
|
},
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../TextField",
|
|
"loc": "23:18-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/TextField/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 198,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TextField/index.js",
|
|
"index": 198,
|
|
"index2": 193,
|
|
"size": 209,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\TextField.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 197,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/TextField/index",
|
|
"loc": "6:9-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./TextField\"));\n\n"
|
|
},
|
|
{
|
|
"id": 199,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"index": 199,
|
|
"index2": 192,
|
|
"size": 13816,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 198,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TextField",
|
|
"loc": "6:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Label_1 = require(\"../../Label\");\nvar Icon_1 = require(\"../../Icon\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./TextField.scss\");\nvar styles = stylesImport;\nvar Styling_1 = require(\"../../Styling\");\nvar TextField = (function (_super) {\n __extends(TextField, _super);\n function TextField(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({\n 'iconClass': 'iconProps'\n });\n _this._warnMutuallyExclusive({\n 'value': 'defaultValue'\n });\n _this._id = Utilities_1.getId('TextField');\n _this._descriptionId = Utilities_1.getId('TextFieldDescription');\n _this.state = {\n value: props.value || props.defaultValue || '',\n isFocused: false,\n errorMessage: ''\n };\n _this._onInputChange = _this._onInputChange.bind(_this);\n _this._onFocus = _this._onFocus.bind(_this);\n _this._onBlur = _this._onBlur.bind(_this);\n _this._delayedValidate = _this._async.debounce(_this._validate, _this.props.deferredValidationTime);\n _this._lastValidation = 0;\n _this._isDescriptionAvailable = false;\n return _this;\n }\n Object.defineProperty(TextField.prototype, \"value\", {\n /**\n * Gets the current value of the text field.\n */\n get: function () {\n return this.state.value;\n },\n enumerable: true,\n configurable: true\n });\n TextField.prototype.componentDidMount = function () {\n this._isMounted = true;\n this._adjustInputHeight();\n if (this.props.validateOnLoad) {\n this._validate(this.state.value);\n }\n };\n TextField.prototype.componentWillReceiveProps = function (newProps) {\n var onBeforeChange = this.props.onBeforeChange;\n if (newProps.value !== undefined && newProps.value !== this.state.value) {\n if (onBeforeChange) {\n onBeforeChange(newProps.value);\n }\n this._latestValue = newProps.value;\n this.setState({\n value: newProps.value,\n errorMessage: ''\n });\n this._delayedValidate(newProps.value);\n }\n };\n TextField.prototype.componentWillUnmount = function () {\n this._isMounted = false;\n };\n TextField.prototype.render = function () {\n var _a = this.props, className = _a.className, description = _a.description, disabled = _a.disabled, iconClass = _a.iconClass, iconProps = _a.iconProps, label = _a.label, multiline = _a.multiline, required = _a.required, underlined = _a.underlined, borderless = _a.borderless, addonString = _a.addonString, _b = _a.onRenderAddon, onRenderAddon = _b === void 0 ? this._onRenderAddon : _b;\n var isFocused = this.state.isFocused;\n var errorMessage = this._errorMessage;\n this._isDescriptionAvailable = Boolean(description || errorMessage);\n var textFieldClassName = Utilities_1.css('ms-TextField', styles.root, className, (_c = {},\n _c['is-required ' + styles.rootIsRequired] = required,\n _c['is-disabled ' + styles.rootIsDisabled] = disabled,\n _c['is-active ' + styles.rootIsActive] = isFocused,\n _c['ms-TextField--multiline ' + styles.rootIsMultiline] = multiline,\n _c['ms-TextField--underlined ' + styles.rootIsUnderlined] = underlined,\n _c['ms-TextField--borderless ' + styles.rootIsBorderless] = borderless,\n _c));\n return (React.createElement(\"div\", { className: textFieldClassName },\n label && React.createElement(Label_1.Label, { htmlFor: this._id }, label),\n React.createElement(\"div\", { className: Utilities_1.css(styles.fieldGroup, isFocused && styles.fieldGroupIsFocused) },\n (addonString !== undefined || this.props.onRenderAddon) && (React.createElement(\"div\", { className: Utilities_1.css(styles.fieldAddon) }, onRenderAddon(this.props, this._onRenderAddon))),\n multiline ? this._renderTextArea() : this._renderInput(),\n (iconClass || iconProps) && React.createElement(Icon_1.Icon, __assign({ className: Utilities_1.css(iconClass, styles.icon) }, iconProps))),\n this._isDescriptionAvailable &&\n React.createElement(\"span\", { id: this._descriptionId },\n description && React.createElement(\"span\", { className: Utilities_1.css('ms-TextField-description', styles.description) }, description),\n errorMessage &&\n React.createElement(\"div\", { \"aria-live\": 'assertive' },\n React.createElement(Utilities_1.DelayedRender, null,\n React.createElement(\"p\", { className: Utilities_1.css('ms-TextField-errorMessage', Styling_1.AnimationClassNames.slideDownIn20, styles.errorMessage), \"data-automation-id\": 'error-message' },\n React.createElement(Icon_1.Icon, { iconName: 'error', className: styles.errorIcon }),\n errorMessage))))));\n var _c;\n };\n /**\n * Sets focus on the text field\n */\n TextField.prototype.focus = function () {\n if (this._textElement) {\n this._textElement.focus();\n }\n };\n /**\n * Selects the text field\n */\n TextField.prototype.select = function () {\n if (this._textElement) {\n this._textElement.select();\n }\n };\n /**\n * Sets the selection start of the text field to a specified value\n */\n TextField.prototype.setSelectionStart = function (value) {\n if (this._textElement) {\n this._textElement.selectionStart = value;\n }\n };\n /**\n * Sets the selection end of the text field to a specified value\n */\n TextField.prototype.setSelectionEnd = function (value) {\n if (this._textElement) {\n this._textElement.selectionEnd = value;\n }\n };\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start Index of the start of the selection.\n * @param end Index of the end of the selection.\n */\n TextField.prototype.setSelectionRange = function (start, end) {\n if (this._textElement) {\n this._textElement.setSelectionRange(start, end);\n }\n };\n TextField.prototype._onFocus = function (ev) {\n if (this.props.onFocus) {\n this.props.onFocus(ev);\n }\n this.setState({ isFocused: true });\n if (this.props.validateOnFocusIn) {\n this._validate(this.state.value);\n }\n };\n TextField.prototype._onBlur = function (ev) {\n if (this.props.onBlur) {\n this.props.onBlur(ev);\n }\n this.setState({ isFocused: false });\n if (this.props.validateOnFocusOut) {\n this._validate(this.state.value);\n }\n };\n TextField.prototype._onRenderAddon = function (props) {\n var addonString = props.addonString;\n return (React.createElement(\"span\", { style: { paddingBottom: '1px' } }, addonString));\n };\n TextField.prototype._getTextElementClassName = function () {\n var errorMessage = this._errorMessage;\n var textFieldClassName;\n if (this.props.multiline && !this.props.resizable) {\n textFieldClassName = Utilities_1.css('ms-TextField-field ms-TextField-field--unresizable', styles.field, styles.fieldIsUnresizable);\n }\n else {\n textFieldClassName = Utilities_1.css('ms-TextField-field', styles.field);\n }\n return Utilities_1.css(textFieldClassName, this.props.inputClassName, (_a = {},\n _a['ms-TextField-invalid ' + styles.invalid] = !!errorMessage,\n _a[styles.hasIcon] = !!this.props.iconClass,\n _a));\n var _a;\n };\n Object.defineProperty(TextField.prototype, \"_errorMessage\", {\n get: function () {\n var errorMessage = this.state.errorMessage;\n if (!errorMessage) {\n errorMessage = this.props.errorMessage;\n }\n return errorMessage;\n },\n enumerable: true,\n configurable: true\n });\n TextField.prototype._renderTextArea = function () {\n var textAreaProps = Utilities_1.getNativeProps(this.props, Utilities_1.textAreaProperties, ['defaultValue']);\n return (React.createElement(\"textarea\", __assign({ id: this._id }, textAreaProps, { ref: this._resolveRef('_textElement'), value: this.state.value, onInput: this._onInputChange, onChange: this._onInputChange, className: this._getTextElementClassName(), \"aria-describedby\": this._isDescriptionAvailable ? this._descriptionId : null, \"aria-invalid\": !!this.state.errorMessage, \"aria-label\": this.props.ariaLabel, onFocus: this._onFocus, onBlur: this._onBlur })));\n };\n TextField.prototype._renderInput = function () {\n var inputProps = Utilities_1.getNativeProps(this.props, Utilities_1.inputProperties, ['defaultValue']);\n return (React.createElement(\"input\", __assign({ type: 'text', id: this._id }, inputProps, { ref: this._resolveRef('_textElement'), value: this.state.value, onInput: this._onInputChange, onChange: this._onInputChange, className: this._getTextElementClassName(), \"aria-label\": this.props.ariaLabel, \"aria-describedby\": this._isDescriptionAvailable ? this._descriptionId : null, \"aria-invalid\": !!this.state.errorMessage, onFocus: this._onFocus, onBlur: this._onBlur })));\n };\n TextField.prototype._onInputChange = function (event) {\n var _this = this;\n var element = event.target;\n var value = element.value;\n // Avoid doing unnecessary work when the value has not changed.\n if (value === this._latestValue) {\n return;\n }\n this._latestValue = value;\n this.setState({\n value: value,\n errorMessage: ''\n }, function () {\n _this._adjustInputHeight();\n if (_this.props.onChanged) {\n _this.props.onChanged(value);\n }\n });\n var _a = this.props, validateOnFocusIn = _a.validateOnFocusIn, validateOnFocusOut = _a.validateOnFocusOut;\n if (!(validateOnFocusIn || validateOnFocusOut)) {\n this._delayedValidate(value);\n }\n var onBeforeChange = this.props.onBeforeChange;\n onBeforeChange(value);\n };\n TextField.prototype._validate = function (value) {\n var _this = this;\n // In case of _validate called multi-times during executing validate logic with promise return.\n if (this._latestValidateValue === value) {\n return;\n }\n this._latestValidateValue = value;\n var onGetErrorMessage = this.props.onGetErrorMessage;\n var result = onGetErrorMessage(value || '');\n if (result !== undefined) {\n if (typeof result === 'string') {\n this.setState({\n errorMessage: result\n });\n this._notifyAfterValidate(value, result);\n }\n else {\n var currentValidation_1 = ++this._lastValidation;\n result.then(function (errorMessage) {\n if (_this._isMounted && currentValidation_1 === _this._lastValidation) {\n _this.setState({ errorMessage: errorMessage });\n }\n _this._notifyAfterValidate(value, errorMessage);\n });\n }\n }\n else {\n this._notifyAfterValidate(value, '');\n }\n };\n TextField.prototype._notifyAfterValidate = function (value, errorMessage) {\n if (this._isMounted &&\n value === this.state.value &&\n this.props.onNotifyValidationResult) {\n this.props.onNotifyValidationResult(errorMessage, value);\n }\n };\n TextField.prototype._adjustInputHeight = function () {\n if (this._textElement && this.props.autoAdjustHeight && this.props.multiline) {\n var textField = this._textElement;\n textField.style.height = '';\n var scrollHeight = textField.scrollHeight + 2; // +2 to avoid vertical scroll bars\n textField.style.height = scrollHeight + 'px';\n }\n };\n return TextField;\n}(Utilities_1.BaseComponent));\nTextField.defaultProps = {\n multiline: false,\n resizable: true,\n autoAdjustHeight: false,\n underlined: false,\n borderless: false,\n onChanged: function () { },\n onBeforeChange: function () { },\n onNotifyValidationResult: function () { },\n onGetErrorMessage: function () { return undefined; },\n deferredValidationTime: 200,\n errorMessage: '',\n validateOnFocusIn: false,\n validateOnFocusOut: false,\n validateOnLoad: true,\n};\nexports.TextField = TextField;\n\n"
|
|
},
|
|
{
|
|
"id": 200,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TextField/TextField.scss.js",
|
|
"index": 200,
|
|
"index2": 191,
|
|
"size": 9458,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 199,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TextField\\TextField.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TextField/TextField.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TextField.scss",
|
|
"loc": "25:19-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_020eac03',\n screenReaderOnly: 'screenReaderOnly_020eac03',\n fieldGroup: 'fieldGroup_020eac03',\n fieldGroupIsFocused: 'fieldGroupIsFocused_020eac03',\n rootIsDisabled: 'rootIsDisabled_020eac03',\n fieldAddon: 'fieldAddon_020eac03',\n field: 'field_020eac03',\n hasIcon: 'hasIcon_020eac03',\n rootIsRequired: 'rootIsRequired_020eac03',\n rootIsActive: 'rootIsActive_020eac03',\n errorIcon: 'errorIcon_020eac03',\n icon: 'icon_020eac03',\n description: 'description_020eac03',\n rootIsBorderless: 'rootIsBorderless_020eac03',\n rootIsUnderlined: 'rootIsUnderlined_020eac03',\n rootIsMultiline: 'rootIsMultiline_020eac03',\n errorMessage: 'errorMessage_020eac03',\n invalid: 'invalid_020eac03',\n fieldIsUnresizable: 'fieldIsUnresizable_020eac03',\n hidden: 'hidden_020eac03',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_020eac03{box-sizing:border-box;box-shadow:none;margin:0;padding:0;margin-bottom:8px;position:relative}.screenReaderOnly_020eac03{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.fieldGroup_020eac03{border:1px solid \" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;position:relative}.fieldGroup_020eac03:hover{border-color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}.fieldGroup_020eac03.fieldGroupIsFocused_020eac03{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.rootIsDisabled_020eac03>.fieldGroup_020eac03{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";pointer-events:none;cursor:default}@media screen and (-ms-high-contrast:active){.fieldGroup_020eac03.fieldGroupIsFocused_020eac03,.fieldGroup_020eac03:hover{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.fieldGroup_020eac03.fieldGroupIsFocused_020eac03,.fieldGroup_020eac03:hover{border-color:#37006e}}.fieldGroup_020eac03::-ms-clear{display:none}.root_020eac03.rootIsDisabled_020eac03 .field{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";pointer-events:none;cursor:default}.fieldAddon_020eac03{background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 10px;line-height:1}.field_020eac03{box-sizing:border-box;box-shadow:none;margin:0;padding:0;font-size:14px;border-radius:0;border:none;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";padding:0 12px 0 12px;width:100%;text-overflow:ellipsis;outline:0}[dir=rtl] .field_020eac03{padding:0 12px 0 12px}.field_020eac03:active,.field_020eac03:focus,.field_020eac03:hover{outline:0}[dir=ltr] .field_020eac03.hasIcon_020eac03{padding-right:24px}[dir=rtl] .field_020eac03.hasIcon_020eac03{padding-left:24px}.field_020eac03[disabled]{background-color:transparent;border-color:transparent;pointer-events:none;cursor:default}.field_020eac03 .field_020eac03::-webkit-input-placeholder{color:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.field_020eac03 .field_020eac03:-ms-input-placeholder{color:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.field .field::-webkit-input-placeholder{color:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.field .field:-ms-input-placeholder{color:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.field_020eac03 .field_020eac03::placeholder{color:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.root_020eac03.rootIsRequired_020eac03 .ms-Label::after{content:' *';color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.root_020eac03.rootIsActive_020eac03{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.errorIcon_020eac03{vertical-align:middle;font-size:14px}html[dir=ltr] .errorIcon_020eac03{margin-right:5px}html[dir=rtl] .errorIcon_020eac03{margin-left:5px}.icon_020eac03{position:absolute;bottom:8px;top:auto}html[dir=ltr] .icon_020eac03{right:8px}html[dir=rtl] .icon_020eac03{left:8px}.description_020eac03{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:11px}.rootIsBorderless_020eac03 .fieldGroup_020eac03{border-color:transparent}.root_020eac03.rootIsUnderlined_020eac03{border-bottom:1px solid \" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";border-width:0;border-bottom-width:1px;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.root_020eac03.rootIsUnderlined_020eac03:hover:not(.rootIsDisabled_020eac03){border-color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_020eac03.rootIsUnderlined_020eac03:hover:not(.rootIsDisabled_020eac03){border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.root_020eac03.rootIsUnderlined_020eac03:hover:not(.rootIsDisabled_020eac03){border-color:#37006e}}.root_020eac03.rootIsUnderlined_020eac03 .ms-Label{font-size:14px;line-height:22px;height:32px}[dir=ltr] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{margin-right:8px}[dir=rtl] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{margin-left:8px}[dir=ltr] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{padding-left:12px}[dir=rtl] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{padding-right:12px}.root_020eac03.rootIsUnderlined_020eac03 .fieldGroup_020eac03{-webkit-box-flex:1;-ms-flex:1 1 0;flex:1 1 0;border:0}[dir=ltr] .root_020eac03.rootIsUnderlined_020eac03 .fieldGroup_020eac03{text-align:left}[dir=rtl] .root_020eac03.rootIsUnderlined_020eac03 .fieldGroup_020eac03{text-align:right}.root_020eac03.rootIsUnderlined_020eac03.rootIsDisabled_020eac03{border-bottom-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.root_020eac03.rootIsUnderlined_020eac03.rootIsDisabled_020eac03 .ms-Label{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.root_020eac03.rootIsUnderlined_020eac03.rootIsDisabled_020eac03 .field_020eac03{background-color:transparent;color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.root_020eac03.rootIsUnderlined_020eac03.rootIsActive_020eac03{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_020eac03.rootIsUnderlined_020eac03.rootIsActive_020eac03{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.root_020eac03.rootIsUnderlined_020eac03.rootIsActive_020eac03{border-color:#37006e}}.root_020eac03.rootIsMultiline_020eac03 .fieldGroup_020eac03{min-height:60px;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex}.root_020eac03.rootIsMultiline_020eac03 .field_020eac03{line-height:17px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding-top:6px;overflow:auto;width:100%}[dir=ltr] .root_020eac03.rootIsMultiline_020eac03 .field_020eac03.hasIcon_020eac03{padding-right:40px}[dir=rtl] .root_020eac03.rootIsMultiline_020eac03 .field_020eac03.hasIcon_020eac03{padding-left:40px}.errorMessage_020eac03{font-size:12px;font-weight:400;color:\" }, { \"theme\": \"redDark\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \";margin:0;padding-top:5px}.invalid_020eac03,.invalid_020eac03:focus,.invalid_020eac03:hover{border-color:\" }, { \"theme\": \"redDark\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}[dir=ltr] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{padding-left:12px}[dir=rtl] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{padding-right:12px}[dir=ltr] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{padding-right:0}[dir=rtl] .root_020eac03.rootIsUnderlined_020eac03 .ms-Label{padding-left:0}html[dir=ltr] .root_020eac03.rootIsUnderlined_020eac03 .field_020eac03{text-align:left}html[dir=rtl] .root_020eac03.rootIsUnderlined_020eac03 .field_020eac03{text-align:right}.root_020eac03.rootIsMultiline_020eac03 .icon_020eac03{padding-bottom:8px;-webkit-box-align:end;-ms-flex-align:end;-ms-grid-row-align:flex-end;align-items:flex-end}[dir=ltr] .root_020eac03.rootIsMultiline_020eac03 .icon_020eac03{padding-right:24px}[dir=rtl] .root_020eac03.rootIsMultiline_020eac03 .icon_020eac03{padding-left:24px}.root_020eac03.rootIsMultiline_020eac03 .field_020eac03.fieldIsUnresizable_020eac03{resize:none}.hidden_020eac03{display:none}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 201,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorRectangle.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"index": 201,
|
|
"index2": 198,
|
|
"size": 4986,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorRectangle",
|
|
"loc": "22:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar colors_1 = require(\"../../utilities/color/colors\");\nvar stylesImport = require(\"./ColorPicker.scss\");\nvar styles = stylesImport;\nvar ColorRectangle = (function (_super) {\n __extends(ColorRectangle, _super);\n function ColorRectangle(props) {\n var _this = _super.call(this, props) || this;\n var color = _this.props.color;\n _this.state = {\n isAdjusting: false,\n origin: null,\n color: color,\n fullColorString: colors_1.getFullColorString(color)\n };\n return _this;\n }\n ColorRectangle.prototype.componentWillUnmount = function () {\n this._events.dispose();\n };\n ColorRectangle.prototype.componentWillReceiveProps = function (newProps) {\n var color = newProps.color;\n this.setState({\n color: color,\n fullColorString: colors_1.getFullColorString(color)\n });\n };\n ColorRectangle.prototype.render = function () {\n var minSize = this.props.minSize;\n var _a = this.state, color = _a.color, fullColorString = _a.fullColorString;\n return (React.createElement(\"div\", { ref: 'root', className: Utilities_1.css('ms-ColorPicker-colorRect', styles.colorRect), style: { minWidth: minSize, minHeight: minSize, backgroundColor: fullColorString }, onMouseDown: this._onMouseDown },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker-light', styles.light) }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker-dark', styles.dark) }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker-thumb', styles.thumb), style: { left: color.s + '%', top: (colors_1.MAX_COLOR_VALUE - color.v) + '%', backgroundColor: color.str } })));\n };\n ColorRectangle.prototype._onMouseDown = function (ev) {\n this._events.on(window, 'mousemove', this._onMouseMove, true);\n this._events.on(window, 'mouseup', this._onMouseUp, true);\n this._onMouseMove(ev);\n };\n ColorRectangle.prototype._onMouseMove = function (ev) {\n var _a = this.props, color = _a.color, onSVChanged = _a.onSVChanged;\n var rectSize = this.refs.root.getBoundingClientRect();\n var sPercentage = (ev.clientX - rectSize.left) / rectSize.width;\n var vPercentage = (ev.clientY - rectSize.top) / rectSize.height;\n var newColor = Utilities_1.assign({}, color, {\n s: Math.min(colors_1.MAX_COLOR_SATURATION, Math.max(0, sPercentage * colors_1.MAX_COLOR_SATURATION)),\n v: Math.min(colors_1.MAX_COLOR_VALUE, Math.max(0, colors_1.MAX_COLOR_VALUE - (vPercentage * colors_1.MAX_COLOR_VALUE))),\n });\n newColor.hex = colors_1.hsv2hex(newColor.h, newColor.s, newColor.v);\n newColor.str = newColor.a === 100 ? '#' + newColor.hex : \"rgba(\" + newColor.r + \", \" + newColor.g + \", \" + newColor.b + \", \" + newColor.a / 100 + \")\";\n this.setState({\n isAdjusting: true,\n color: newColor\n });\n if (onSVChanged) {\n onSVChanged(newColor.s, newColor.v);\n }\n ev.preventDefault();\n ev.stopPropagation();\n };\n ColorRectangle.prototype._onMouseUp = function (ev) {\n this._events.off();\n this.setState({\n isAdjusting: false,\n origin: null\n });\n };\n return ColorRectangle;\n}(Utilities_1.BaseComponent));\nColorRectangle.defaultProps = {\n minSize: 220\n};\n__decorate([\n Utilities_1.autobind\n], ColorRectangle.prototype, \"_onMouseDown\", null);\n__decorate([\n Utilities_1.autobind\n], ColorRectangle.prototype, \"_onMouseMove\", null);\n__decorate([\n Utilities_1.autobind\n], ColorRectangle.prototype, \"_onMouseUp\", null);\nexports.ColorRectangle = ColorRectangle;\n\n"
|
|
},
|
|
{
|
|
"id": 202,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\color\\colors.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/color/colors.js",
|
|
"index": 202,
|
|
"index2": 196,
|
|
"size": 7248,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/color/colors",
|
|
"loc": "24:15-54"
|
|
},
|
|
{
|
|
"moduleId": 201,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorRectangle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/color/colors",
|
|
"loc": "21:15-54"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Utilities_1 = require(\"../../Utilities\");\nvar colorValues_1 = require(\"./colorValues\");\nexports.MAX_COLOR_SATURATION = 100;\nexports.MAX_COLOR_HUE = 359;\nexports.MAX_COLOR_VALUE = 100;\nexports.MAX_COLOR_RGBA = 255;\nfunction cssColor(color) {\n return _named(color)\n || _hex3(color)\n || _hex6(color)\n || _rgb(color)\n || _rgba(color)\n || _hsl(color)\n || _hsla(color);\n}\nexports.cssColor = cssColor;\nfunction rgb2hex(r, g, b) {\n return [\n _numberToPaddedHex(r),\n _numberToPaddedHex(g),\n _numberToPaddedHex(b)\n ].join('');\n}\nexports.rgb2hex = rgb2hex;\nfunction hsv2hex(h, s, v) {\n var _a = hsv2rgb(h, s, v), r = _a.r, g = _a.g, b = _a.b;\n return rgb2hex(r, g, b);\n}\nexports.hsv2hex = hsv2hex;\nfunction rgb2hsv(r, g, b) {\n var h;\n var s;\n var v;\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var delta = max - min;\n // hue\n if (delta === 0) {\n h = 0;\n }\n else if (r === max) {\n h = ((g - b) / delta) % 6;\n }\n else if (g === max) {\n h = (b - r) / delta + 2;\n }\n else if (b === max) {\n h = (r - g) / delta + 4;\n }\n h = Math.round(h * 60);\n if (h < 0) {\n h += 360;\n }\n // saturation\n s = Math.round((max === 0 ? 0 : (delta / max)) * 100);\n // value\n v = Math.round(max / 255 * 100);\n return { h: h, s: s, v: v };\n}\nexports.rgb2hsv = rgb2hsv;\nfunction hsl2hsv(h, s, l) {\n s *= ((l < 50) ? l : (100 - l)) / 100;\n return {\n h: h,\n s: 2 * s / (l + s) * 100,\n v: l + s\n };\n}\nexports.hsl2hsv = hsl2hsv;\nfunction hsv2hsl(h, s, v) {\n s /= exports.MAX_COLOR_SATURATION;\n v /= exports.MAX_COLOR_VALUE;\n var l = (2 - s) * v;\n var sl = s * v;\n sl /= (l <= 1) ? l : 2 - l;\n sl = sl || 0;\n l /= 2;\n return { h: h, s: sl * 100, l: l * 100 };\n}\nexports.hsv2hsl = hsv2hsl;\nfunction hsl2rgb(h, s, l) {\n var hsv = hsl2hsv(h, s, l);\n return hsv2rgb(hsv.h, hsv.s, hsv.v);\n}\nexports.hsl2rgb = hsl2rgb;\nfunction hsv2rgb(h, s, v) {\n s = s / 100;\n v = v / 100;\n var rgb = [];\n var c = v * s;\n var hh = h / 60;\n var x = c * (1 - Math.abs(hh % 2 - 1));\n var m = v - c;\n switch (Math.floor(hh)) {\n case 0:\n rgb = [c, x, 0];\n break;\n case 1:\n rgb = [x, c, 0];\n break;\n case 2:\n rgb = [0, c, x];\n break;\n case 3:\n rgb = [0, x, c];\n break;\n case 4:\n rgb = [x, 0, c];\n break;\n case 5:\n rgb = [c, 0, x];\n break;\n }\n return {\n r: Math.round(exports.MAX_COLOR_RGBA * (rgb[0] + m)),\n g: Math.round(exports.MAX_COLOR_RGBA * (rgb[1] + m)),\n b: Math.round(exports.MAX_COLOR_RGBA * (rgb[2] + m))\n };\n}\nexports.hsv2rgb = hsv2rgb;\nfunction getColorFromString(color) {\n var _a = cssColor(color), a = _a.a, b = _a.b, g = _a.g, r = _a.r;\n var _b = rgb2hsv(r, g, b), h = _b.h, s = _b.s, v = _b.v;\n return {\n a: a,\n b: b,\n g: g,\n h: h,\n hex: rgb2hex(r, g, b),\n r: r,\n s: s,\n str: color,\n v: v\n };\n}\nexports.getColorFromString = getColorFromString;\nfunction getColorFromRGBA(rgba) {\n var a = rgba.a, b = rgba.b, g = rgba.g, r = rgba.r;\n var _a = rgb2hsv(r, g, b), h = _a.h, s = _a.s, v = _a.v;\n var hex = rgb2hex(r, g, b);\n return {\n a: a,\n b: b,\n g: g,\n h: h,\n hex: hex,\n r: r,\n s: s,\n str: (a === 100) ? \"#\" + hex : \"rgba(\" + r + \", \" + g + \", \" + b + \", \" + a / 100 + \")\",\n v: v\n };\n}\nexports.getColorFromRGBA = getColorFromRGBA;\nfunction getFullColorString(color) {\n return \"#\" + hsv2hex(color.h, exports.MAX_COLOR_SATURATION, exports.MAX_COLOR_VALUE);\n}\nexports.getFullColorString = getFullColorString;\nfunction updateSV(color, s, v) {\n var _a = hsv2rgb(color.h, s, v), r = _a.r, g = _a.g, b = _a.b;\n var hex = rgb2hex(r, g, b);\n return {\n a: color.a,\n b: b,\n g: g,\n h: color.h,\n hex: hex,\n r: r,\n s: s,\n str: (color.a === 100) ? \"#\" + hex : \"rgba(\" + r + \", \" + g + \", \" + b + \", \" + color.a / 100 + \")\",\n v: v\n };\n}\nexports.updateSV = updateSV;\nfunction updateH(color, h) {\n var _a = hsv2rgb(h, color.s, color.v), r = _a.r, g = _a.g, b = _a.b;\n var hex = rgb2hex(r, g, b);\n return {\n a: color.a,\n b: b,\n g: g,\n h: h,\n hex: hex,\n r: r,\n s: color.s,\n str: (color.a === 100) ? \"#\" + hex : \"rgba(\" + r + \", \" + g + \", \" + b + \", \" + color.a / 100 + \")\",\n v: color.v\n };\n}\nexports.updateH = updateH;\nfunction updateA(color, a) {\n return Utilities_1.assign({}, color, {\n a: a,\n str: (a === 100) ? \"#\" + color.hex : \"rgba(\" + color.r + \", \" + color.g + \", \" + color.b + \", \" + a / 100 + \")\"\n });\n}\nexports.updateA = updateA;\nfunction _numberToPaddedHex(num) {\n var hex = num.toString(16);\n return hex.length === 1 ? '0' + hex : hex;\n}\nfunction _named(str) {\n var c = colorValues_1.COLOR_VALUES[str.toLowerCase()];\n if (c) {\n return {\n r: c[0],\n g: c[1],\n b: c[2],\n a: 100\n };\n }\n}\nfunction _rgb(str) {\n if (0 === str.indexOf('rgb(')) {\n str = str.match(/rgb\\(([^)]+)\\)/)[1];\n var parts = str.split(/ *, */).map(Number);\n return {\n r: parts[0],\n g: parts[1],\n b: parts[2],\n a: 100\n };\n }\n}\nfunction _rgba(str) {\n if (str.indexOf('rgba(') === 0) {\n str = str.match(/rgba\\(([^)]+)\\)/)[1];\n var parts = str.split(/ *, */).map(Number);\n return {\n r: parts[0],\n g: parts[1],\n b: parts[2],\n a: parts[3] * 100\n };\n }\n}\nfunction _hex6(str) {\n if ('#' === str[0] && 7 === str.length) {\n return {\n r: parseInt(str.slice(1, 3), 16),\n g: parseInt(str.slice(3, 5), 16),\n b: parseInt(str.slice(5, 7), 16),\n a: 100\n };\n }\n}\nfunction _hex3(str) {\n if ('#' === str[0] && 4 === str.length) {\n return {\n r: parseInt(str[1] + str[1], 16),\n g: parseInt(str[2] + str[2], 16),\n b: parseInt(str[3] + str[3], 16),\n a: 100\n };\n }\n}\nfunction _hsl(str) {\n if (str.indexOf('hsl(') === 0) {\n str = str.match(/hsl\\(([^)]+)\\)/)[1];\n var parts = str.split(/ *, */);\n var h = parseInt(parts[0], 10);\n var s = parseInt(parts[1], 10);\n var l = parseInt(parts[2], 10);\n var rgba = hsl2rgb(h, s, l);\n rgba.a = 100;\n return rgba;\n }\n}\nfunction _hsla(str) {\n if (str.indexOf('hsla(') === 0) {\n str = str.match(/hsla\\(([^)]+)\\)/)[1];\n var parts = str.split(/ *, */);\n var h = parseInt(parts[0], 10);\n var s = parseInt(parts[1], 10);\n var l = parseInt(parts[2], 10);\n var a = parseInt(parts[3], 10) * 100;\n var rgba = hsl2rgb(h, s, l);\n rgba.a = a;\n return rgba;\n }\n}\n\n"
|
|
},
|
|
{
|
|
"id": 203,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\color\\colorValues.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/color/colorValues.js",
|
|
"index": 203,
|
|
"index2": 195,
|
|
"size": 4682,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\color\\colors.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 202,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\color\\colors.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/color/colors.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/color/colors.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./colorValues",
|
|
"loc": "4:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.COLOR_VALUES = {\n aliceblue: [240, 248, 255],\n antiquewhite: [250, 235, 215],\n aqua: [0, 255, 255],\n aquamarine: [127, 255, 212],\n azure: [240, 255, 255],\n beige: [245, 245, 220],\n bisque: [255, 228, 196],\n black: [0, 0, 0],\n blanchedalmond: [255, 235, 205],\n blue: [0, 0, 255],\n blueviolet: [138, 43, 226],\n brown: [165, 42, 42],\n burlywood: [222, 184, 135],\n cadetblue: [95, 158, 160],\n chartreuse: [127, 255, 0],\n chocolate: [210, 105, 30],\n coral: [255, 127, 80],\n cornflowerblue: [100, 149, 237],\n cornsilk: [255, 248, 220],\n crimson: [220, 20, 60],\n cyan: [0, 255, 255],\n darkblue: [0, 0, 139],\n darkcyan: [0, 139, 139],\n darkgoldenrod: [184, 132, 11],\n darkgray: [169, 169, 169],\n darkgreen: [0, 100, 0],\n darkgrey: [169, 169, 169],\n darkkhaki: [189, 183, 107],\n darkmagenta: [139, 0, 139],\n darkolivegreen: [85, 107, 47],\n darkorange: [255, 140, 0],\n darkorchid: [153, 50, 204],\n darkred: [139, 0, 0],\n darksalmon: [233, 150, 122],\n darkseagreen: [143, 188, 143],\n darkslateblue: [72, 61, 139],\n darkslategray: [47, 79, 79],\n darkslategrey: [47, 79, 79],\n darkturquoise: [0, 206, 209],\n darkviolet: [148, 0, 211],\n deeppink: [255, 20, 147],\n deepskyblue: [0, 191, 255],\n dimgray: [105, 105, 105],\n dimgrey: [105, 105, 105],\n dodgerblue: [30, 144, 255],\n firebrick: [178, 34, 34],\n floralwhite: [255, 255, 240],\n forestgreen: [34, 139, 34],\n fuchsia: [255, 0, 255],\n gainsboro: [220, 220, 220],\n ghostwhite: [248, 248, 255],\n gold: [255, 215, 0],\n goldenrod: [218, 165, 32],\n gray: [128, 128, 128],\n green: [0, 128, 0],\n greenyellow: [173, 255, 47],\n grey: [128, 128, 128],\n honeydew: [240, 255, 240],\n hotpink: [255, 105, 180],\n indianred: [205, 92, 92],\n indigo: [75, 0, 130],\n ivory: [255, 255, 240],\n khaki: [240, 230, 140],\n lavender: [230, 230, 250],\n lavenderblush: [255, 240, 245],\n lawngreen: [124, 252, 0],\n lemonchiffon: [255, 250, 205],\n lightblue: [173, 216, 230],\n lightcoral: [240, 128, 128],\n lightcyan: [224, 255, 255],\n lightgoldenrodyellow: [250, 250, 210],\n lightgray: [211, 211, 211],\n lightgreen: [144, 238, 144],\n lightgrey: [211, 211, 211],\n lightpink: [255, 182, 193],\n lightsalmon: [255, 160, 122],\n lightseagreen: [32, 178, 170],\n lightskyblue: [135, 206, 250],\n lightslategray: [119, 136, 153],\n lightslategrey: [119, 136, 153],\n lightsteelblue: [176, 196, 222],\n lightyellow: [255, 255, 224],\n lime: [0, 255, 0],\n limegreen: [50, 205, 50],\n linen: [250, 240, 230],\n magenta: [255, 0, 255],\n maroon: [128, 0, 0],\n mediumaquamarine: [102, 205, 170],\n mediumblue: [0, 0, 205],\n mediumorchid: [186, 85, 211],\n mediumpurple: [147, 112, 219],\n mediumseagreen: [60, 179, 113],\n mediumslateblue: [123, 104, 238],\n mediumspringgreen: [0, 250, 154],\n mediumturquoise: [72, 209, 204],\n mediumvioletred: [199, 21, 133],\n midnightblue: [25, 25, 112],\n mintcream: [245, 255, 250],\n mistyrose: [255, 228, 225],\n moccasin: [255, 228, 181],\n navajowhite: [255, 222, 173],\n navy: [0, 0, 128],\n oldlace: [253, 245, 230],\n olive: [128, 128, 0],\n olivedrab: [107, 142, 35],\n orange: [255, 165, 0],\n orangered: [255, 69, 0],\n orchid: [218, 112, 214],\n palegoldenrod: [238, 232, 170],\n palegreen: [152, 251, 152],\n paleturquoise: [175, 238, 238],\n palevioletred: [219, 112, 147],\n papayawhip: [255, 239, 213],\n peachpuff: [255, 218, 185],\n peru: [205, 133, 63],\n pink: [255, 192, 203],\n plum: [221, 160, 203],\n powderblue: [176, 224, 230],\n purple: [128, 0, 128],\n rebeccapurple: [102, 51, 153],\n red: [255, 0, 0],\n rosybrown: [188, 143, 143],\n royalblue: [65, 105, 225],\n saddlebrown: [139, 69, 19],\n salmon: [250, 128, 114],\n sandybrown: [244, 164, 96],\n seagreen: [46, 139, 87],\n seashell: [255, 245, 238],\n sienna: [160, 82, 45],\n silver: [192, 192, 192],\n skyblue: [135, 206, 235],\n slateblue: [106, 90, 205],\n slategray: [119, 128, 144],\n slategrey: [119, 128, 144],\n snow: [255, 255, 250],\n springgreen: [0, 255, 127],\n steelblue: [70, 130, 180],\n tan: [210, 180, 140],\n teal: [0, 128, 128],\n thistle: [216, 191, 216],\n tomato: [255, 99, 71],\n turquoise: [64, 224, 208],\n violet: [238, 130, 238],\n wheat: [245, 222, 179],\n white: [255, 255, 255],\n whitesmoke: [245, 245, 245],\n yellow: [255, 255, 0],\n yellowgreen: [154, 205, 5]\n};\n\n"
|
|
},
|
|
{
|
|
"id": 204,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.scss.js",
|
|
"index": 204,
|
|
"index2": 197,
|
|
"size": 2563,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorPicker.scss",
|
|
"loc": "26:19-48"
|
|
},
|
|
{
|
|
"moduleId": 201,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorRectangle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorRectangle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorPicker.scss",
|
|
"loc": "22:19-48"
|
|
},
|
|
{
|
|
"moduleId": 205,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorSlider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorPicker.scss",
|
|
"loc": "21:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_d414ad46',\n panel: 'panel_d414ad46',\n colorRect: 'colorRect_d414ad46',\n rectContainer: 'rectContainer_d414ad46',\n capture: 'capture_d414ad46',\n rectContainerIsAdjusting: 'rectContainerIsAdjusting_d414ad46',\n thumb: 'thumb_d414ad46',\n thumbIsSlider: 'thumbIsSlider_d414ad46',\n light: 'light_d414ad46',\n dark: 'dark_d414ad46',\n slider: 'slider_d414ad46',\n colorSliderIsHue: 'colorSliderIsHue_d414ad46',\n colorSliderIsAlpha: 'colorSliderIsAlpha_d414ad46',\n sliderOverlay: 'sliderOverlay_d414ad46',\n input: 'input_d414ad46',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_d414ad46{position:relative;max-width:300px}.panel_d414ad46{padding:16px}.colorRect_d414ad46{position:relative;margin-bottom:10px}.rectContainer_d414ad46{position:relative}.capture_d414ad46{position:absolute;left:0;top:0;bottom:0;right:0;background:rgba(255,0,0,.1)}.rectContainer_d414ad46.rectContainerIsAdjusting_d414ad46 .capture_d414ad46{position:fixed}.thumb_d414ad46{position:absolute;width:20px;height:20px;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:50%;box-shadow:0 0 15px -5px #000;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.thumb_d414ad46.thumbIsSlider_d414ad46{top:50%}.light_d414ad46{position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(to right,#fff 0,transparent 100%)}.dark_d414ad46{position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(to bottom,transparent 0,#000 100%)}.slider_d414ad46{position:relative;height:20px;margin-bottom:5px;border:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";box-sizing:border-box}.slider_d414ad46.colorSliderIsHue_d414ad46{background:linear-gradient(to left,red 0,#f09 10%,#cd00ff 20%,#3200ff 30%,#06f 40%,#00fffd 50%,#0f6 60%,#35ff00 70%,#cdff00 80%,#f90 90%,red 100%)}.slider_d414ad46.colorSliderIsAlpha_d414ad46{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)}.sliderOverlay_d414ad46{content:'';position:absolute;left:0;right:0;top:0;bottom:0}.input_d414ad46{width:100%;border:none;box-sizing:border-box;height:30px}.input_d414ad46.ms-TextField{padding-right:2px}.input_d414ad46 .input_d414ad46.ms-TextField-field{min-width:auto;padding:5px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 205,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorSlider.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorSlider.js",
|
|
"index": 205,
|
|
"index2": 199,
|
|
"size": 4287,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 196,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ColorPicker\\ColorPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ColorPicker/ColorPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ColorSlider",
|
|
"loc": "23:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./ColorPicker.scss\");\nvar styles = stylesImport;\nvar ColorSlider = (function (_super) {\n __extends(ColorSlider, _super);\n function ColorSlider(props) {\n var _this = _super.call(this, props) || this;\n var value = _this.props.value;\n _this.state = {\n isAdjusting: false,\n origin: null,\n currentValue: value\n };\n return _this;\n }\n ColorSlider.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps && newProps.value) {\n this.setState({ currentValue: newProps.value });\n }\n };\n ColorSlider.prototype.render = function () {\n var _a = this.props, className = _a.className, minValue = _a.minValue, maxValue = _a.maxValue, overlayStyle = _a.overlayStyle;\n var _b = this.state, currentValue = _b.currentValue, isAdjusting = _b.isAdjusting;\n var currentPercentage = 100 * (currentValue - minValue) / (maxValue - minValue);\n return (React.createElement(\"div\", { ref: 'root', className: Utilities_1.css('ms-ColorPicker-slider', styles.slider, className, {\n 'is-adjusting': isAdjusting\n }), onMouseDown: this._onMouseDown },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker-sliderOverlay', styles.sliderOverlay), style: overlayStyle }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ColorPicker-thumb is-slider', styles.thumb, styles.thumbIsSlider), style: { left: currentPercentage + '%' } })));\n };\n ColorSlider.prototype._onMouseDown = function (ev) {\n this._events.on(window, 'mousemove', this._onMouseMove, true);\n this._events.on(window, 'mouseup', this._onMouseUp, true);\n this._onMouseMove(ev);\n };\n ColorSlider.prototype._onMouseMove = function (ev) {\n var _a = this.props, onChanged = _a.onChanged, minValue = _a.minValue, maxValue = _a.maxValue;\n var rectSize = this.refs.root.getBoundingClientRect();\n var currentPercentage = (ev.clientX - rectSize.left) / rectSize.width;\n var newValue = Math.min(maxValue, Math.max(minValue, currentPercentage * maxValue));\n this.setState({\n isAdjusting: true,\n currentValue: newValue\n });\n if (onChanged) {\n onChanged(newValue);\n }\n ev.preventDefault();\n ev.stopPropagation();\n };\n ColorSlider.prototype._onMouseUp = function (ev) {\n this._events.off();\n this.setState({\n isAdjusting: false,\n origin: null\n });\n };\n return ColorSlider;\n}(Utilities_1.BaseComponent));\nColorSlider.defaultProps = {\n minValue: 0,\n maxValue: 100,\n thumbColor: 'inherit',\n value: 0\n};\n__decorate([\n Utilities_1.autobind\n], ColorSlider.prototype, \"_onMouseDown\", null);\n__decorate([\n Utilities_1.autobind\n], ColorSlider.prototype, \"_onMouseMove\", null);\n__decorate([\n Utilities_1.autobind\n], ColorSlider.prototype, \"_onMouseUp\", null);\nexports.ColorSlider = ColorSlider;\n\n"
|
|
},
|
|
{
|
|
"id": 206,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\CommandBar.js",
|
|
"name": "./~/office-ui-fabric-react/lib/CommandBar.js",
|
|
"index": 206,
|
|
"index2": 206,
|
|
"size": 227,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CommandBar",
|
|
"loc": "17:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/CommandBar/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 207,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/CommandBar/index.js",
|
|
"index": 207,
|
|
"index2": 205,
|
|
"size": 210,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\CommandBar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 206,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/CommandBar/index",
|
|
"loc": "6:9-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./CommandBar\"));\n\n"
|
|
},
|
|
{
|
|
"id": 208,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"index": 208,
|
|
"index2": 204,
|
|
"size": 16943,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 207,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CommandBar",
|
|
"loc": "6:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar ContextualMenu_1 = require(\"../../ContextualMenu\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar Icon_1 = require(\"../../Icon\");\nvar Styling_1 = require(\"../../Styling\");\nvar stylesImport = require(\"./CommandBar.scss\");\nvar styles = stylesImport;\nvar OVERFLOW_KEY = 'overflow';\nvar OVERFLOW_WIDTH = 41.5;\nvar CommandBar = (function (_super) {\n __extends(CommandBar, _super);\n function CommandBar(props) {\n var _this = _super.call(this, props) || this;\n _this.state = _this._getStateFromProps(props);\n _this._id = Utilities_1.getId('CommandBar');\n return _this;\n }\n CommandBar.prototype.componentDidMount = function () {\n this._updateItemMeasurements();\n this._updateRenderedItems();\n this._events.on(window, 'resize', this._updateRenderedItems);\n };\n CommandBar.prototype.componentWillReceiveProps = function (nextProps) {\n this.setState(this._getStateFromProps(nextProps));\n this._commandItemWidths = null;\n };\n CommandBar.prototype.componentDidUpdate = function (prevProps, prevStates) {\n if (!this._commandItemWidths) {\n this._updateItemMeasurements();\n this._updateRenderedItems();\n }\n };\n CommandBar.prototype.render = function () {\n var _this = this;\n var _a = this.props, isSearchBoxVisible = _a.isSearchBoxVisible, searchPlaceholderText = _a.searchPlaceholderText, className = _a.className;\n var _b = this.state, renderedItems = _b.renderedItems, contextualMenuProps = _b.contextualMenuProps, expandedMenuItemKey = _b.expandedMenuItemKey, expandedMenuId = _b.expandedMenuId, renderedOverflowItems = _b.renderedOverflowItems, contextualMenuTarget = _b.contextualMenuTarget, renderedFarItems = _b.renderedFarItems;\n var searchBox;\n if (isSearchBoxVisible) {\n searchBox = (React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBarSearch', styles.search), ref: 'searchSurface' },\n React.createElement(\"input\", { className: Utilities_1.css('ms-CommandBarSearch-input', styles.searchInput), type: 'text', placeholder: searchPlaceholderText }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBarSearch-iconWrapper ms-CommandBarSearch-iconSearchWrapper', styles.searchIconWrapper, styles.searchIconSearchWrapper) },\n React.createElement(Icon_1.Icon, { iconName: 'search' })),\n React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBarSearch-iconWrapper ms-CommandBarSearch-iconClearWrapper', Styling_1.FontClassNames.small, styles.searchIconWrapper, styles.searchIconClearWrapper) },\n React.createElement(Icon_1.Icon, { iconName: 'cancel' }))));\n }\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBar', styles.root, className), ref: 'commandBarRegion' },\n searchBox,\n React.createElement(FocusZone_1.FocusZone, { ref: 'focusZone', direction: FocusZone_1.FocusZoneDirection.horizontal, role: 'menubar' },\n React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBar-primaryCommands', styles.primaryCommands), ref: 'commandSurface' }, renderedItems.map(function (item, index) { return (_this._renderItemInCommandBar(item, index, expandedMenuItemKey)); }).concat((renderedOverflowItems && renderedOverflowItems.length) ? [\n React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBarItem', styles.item), key: OVERFLOW_KEY, ref: OVERFLOW_KEY },\n React.createElement(\"button\", { type: 'button', id: this._id + OVERFLOW_KEY, className: Utilities_1.css('ms-CommandBarItem-link', styles.itemLink, (_c = {},\n _c['is-expanded ' + styles.itemLinkIsExpanded] = (expandedMenuItemKey === OVERFLOW_KEY),\n _c)), onClick: this._onOverflowClick, role: 'menuitem', \"aria-label\": this.props.elipisisAriaLabel || '', \"aria-haspopup\": true, \"data-automation-id\": 'commandBarOverflow' },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-CommandBarItem-overflow', styles.itemOverflow), iconName: 'more' })))\n ] : [])),\n React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBar-sideCommands', styles.sideCommands), ref: 'farCommandSurface' }, renderedFarItems.map(function (item, index) { return (_this._renderItemInCommandBar(item, index, expandedMenuItemKey, true)); }))),\n (contextualMenuProps) ?\n (React.createElement(ContextualMenu_1.ContextualMenu, __assign({ className: Utilities_1.css('ms-CommandBar-menuHost'), isBeakVisible: true, directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge }, contextualMenuProps, { targetElement: contextualMenuTarget, labelElementId: expandedMenuId, onDismiss: this._onContextMenuDismiss }))) : (null)));\n var _c;\n };\n CommandBar.prototype.focus = function () {\n this.refs.focusZone.focus();\n };\n CommandBar.prototype._renderItemInCommandBar = function (item, index, expandedMenuItemKey, isFarItem) {\n var _this = this;\n if (item.onRender) {\n return React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBarItem', styles.item, item.className), key: item.key, ref: item.key }, item.onRender(item));\n }\n var itemKey = item.key || String(index);\n var isLink = item.onClick || ContextualMenu_1.hasSubmenuItems(item);\n var className = Utilities_1.css(isLink ? ('ms-CommandBarItem-link ' + styles.itemLink) : ('ms-CommandBarItem-text ' + styles.itemText), !item.name && ('ms-CommandBarItem--noName ' + styles.itemLinkIsNoName), (expandedMenuItemKey === item.key) && ('is-expanded ' + styles.itemLinkIsExpanded));\n var hasIcon = !!item.icon || !!item.iconProps;\n return React.createElement(\"div\", { className: Utilities_1.css('ms-CommandBarItem', styles.item, item.className), key: itemKey, ref: itemKey }, (function () {\n if (isLink) {\n return React.createElement(\"button\", __assign({}, Utilities_1.getNativeProps(item, Utilities_1.buttonProperties), { id: _this._id + item.key, className: className, onClick: function (ev) { return _this._onItemClick(ev, item); }, \"data-command-key\": index, \"aria-haspopup\": ContextualMenu_1.hasSubmenuItems(item), role: 'menuitem', \"aria-label\": item.ariaLabel || item.name }),\n (hasIcon) ? _this._renderIcon(item) : (null),\n (!!item.name) && (React.createElement(\"span\", { className: Utilities_1.css('ms-CommandBarItem-commandText', styles.itemCommandText) }, item.name)),\n ContextualMenu_1.hasSubmenuItems(item) ? (React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-CommandBarItem-chevronDown', styles.itemChevronDown), iconName: 'chevronDown' })) : (null));\n }\n else if (item.href) {\n return React.createElement(\"a\", __assign({}, Utilities_1.getNativeProps(item, Utilities_1.anchorProperties), { id: _this._id + item.key, className: className, href: item.href, \"data-command-key\": index, \"aria-haspopup\": ContextualMenu_1.hasSubmenuItems(item), role: 'menuitem', \"aria-label\": item.ariaLabel || item.name }),\n (hasIcon) ? _this._renderIcon(item) : (null),\n (!!item.name) && (React.createElement(\"span\", { className: Utilities_1.css('ms-CommandBarItem-commandText', styles.itemCommandText) }, item.name)));\n }\n else {\n return React.createElement(\"div\", __assign({}, Utilities_1.getNativeProps(item, Utilities_1.divProperties), { id: _this._id + item.key, className: className, \"data-command-key\": index, \"aria-haspopup\": ContextualMenu_1.hasSubmenuItems(item) }),\n (hasIcon) ? _this._renderIcon(item) : (null),\n React.createElement(\"span\", { className: Utilities_1.css('ms-CommandBarItem-commandText', styles.itemCommandText), \"aria-hidden\": 'true', role: 'presentation' }, item.name));\n }\n })());\n };\n CommandBar.prototype._renderIcon = function (item) {\n // Only present to allow continued use of item.icon which is deprecated.\n var iconProps = item.iconProps ? item.iconProps : {\n iconName: item.icon\n };\n // Use the default icon color for the known icon names\n var iconColorClassName = iconProps.iconName === 'None' ? '' : ('ms-CommandBarItem-iconColor ' + styles.itemIconColor);\n var iconClassName = Utilities_1.css('ms-CommandBarItem-icon', styles.itemIcon, iconColorClassName, iconProps.className);\n return React.createElement(Icon_1.Icon, __assign({}, iconProps, { className: iconClassName }));\n };\n CommandBar.prototype._updateItemMeasurements = function () {\n // the generated width for overflow is 35 in chrome, 38 in IE, but the actual value is 41.5\n if (this.refs[OVERFLOW_KEY] || (this.props.overflowItems && this.props.overflowItems.length)) {\n this._overflowWidth = OVERFLOW_WIDTH;\n }\n else {\n this._overflowWidth = 0;\n }\n if (!this._commandItemWidths) {\n this._commandItemWidths = {};\n }\n for (var i = 0; i < this.props.items.length; i++) {\n var item = this.props.items[i];\n if (!this._commandItemWidths[item.key]) {\n var el = this.refs[item.key];\n if (el) {\n this._commandItemWidths[item.key] = el.getBoundingClientRect().width;\n }\n }\n }\n };\n CommandBar.prototype._updateRenderedItems = function () {\n var _a = this.props, items = _a.items, overflowItems = _a.overflowItems;\n var commandSurface = this.refs.commandSurface;\n var farCommandSurface = this.refs.farCommandSurface;\n var commandBarRegion = this.refs.commandBarRegion;\n var searchSurface = this.refs.searchSurface;\n var renderedItems = [].concat(items);\n var renderedOverflowItems = overflowItems;\n var consumedWidth = 0;\n var isOverflowVisible = overflowItems && overflowItems.length;\n var style = window.getComputedStyle(commandSurface);\n var availableWidth = commandBarRegion.clientWidth - parseInt(style.marginLeft, 10) - parseInt(style.marginRight, 10);\n if (searchSurface) {\n availableWidth -= searchSurface.getBoundingClientRect().width;\n }\n if (farCommandSurface) {\n availableWidth -= farCommandSurface.getBoundingClientRect().width;\n }\n if (isOverflowVisible) {\n availableWidth -= this._overflowWidth;\n }\n for (var i = 0; i < renderedItems.length; i++) {\n var item = renderedItems[i];\n var itemWidth = this._commandItemWidths[item.key];\n if ((consumedWidth + itemWidth) >= availableWidth) {\n if (i > 0 && !isOverflowVisible && (availableWidth - consumedWidth) < OVERFLOW_WIDTH) {\n i--;\n }\n renderedOverflowItems = renderedItems.splice(i).concat(overflowItems);\n break;\n }\n else {\n consumedWidth += itemWidth;\n }\n }\n var renderedContextualMenuProps = this._getContextualMenuPropsAfterUpdate(renderedItems.concat(this.state.renderedFarItems), renderedOverflowItems);\n this.setState({\n renderedItems: renderedItems,\n renderedOverflowItems: renderedOverflowItems,\n expandedMenuItemKey: renderedContextualMenuProps ? this.state.expandedMenuItemKey : null,\n contextualMenuProps: renderedContextualMenuProps,\n contextualMenuTarget: renderedContextualMenuProps ? this.state.contextualMenuTarget : null\n });\n };\n CommandBar.prototype._onItemClick = function (ev, item) {\n if (item.key === this.state.expandedMenuItemKey || !ContextualMenu_1.hasSubmenuItems(item)) {\n this._onContextMenuDismiss();\n }\n else {\n this.setState({\n expandedMenuId: ev.currentTarget.id,\n expandedMenuItemKey: item.key,\n contextualMenuProps: this._getContextualMenuPropsFromItem(item),\n contextualMenuTarget: ev.currentTarget\n });\n }\n if (item.onClick) {\n item.onClick(ev, item);\n }\n };\n CommandBar.prototype._onOverflowClick = function (ev) {\n if (this.state.expandedMenuItemKey === OVERFLOW_KEY) {\n this._onContextMenuDismiss();\n }\n else {\n this.setState({\n expandedMenuId: ev.currentTarget.id,\n expandedMenuItemKey: OVERFLOW_KEY,\n contextualMenuProps: { items: this.state.renderedOverflowItems },\n contextualMenuTarget: ev.currentTarget\n });\n }\n };\n CommandBar.prototype._onContextMenuDismiss = function (ev) {\n if (!ev || !ev.relatedTarget || !this.refs.commandSurface.contains(ev.relatedTarget)) {\n var contextualMenuProps = this.state.contextualMenuProps;\n if (contextualMenuProps && contextualMenuProps.onDismiss) {\n this.state.contextualMenuProps.onDismiss(ev);\n }\n this.setState({\n expandedMenuItemKey: null,\n contextualMenuProps: null,\n contextualMenuTarget: null\n });\n }\n else {\n ev.stopPropagation();\n ev.preventDefault();\n }\n };\n CommandBar.prototype._getStateFromProps = function (nextProps) {\n return {\n renderedItems: nextProps.items || [],\n renderedOverflowItems: null,\n contextualMenuProps: this._getContextualMenuPropsAfterUpdate(nextProps.items.concat(nextProps.farItems), nextProps.overflowItems),\n renderedFarItems: nextProps.farItems || null\n };\n };\n CommandBar.prototype._getContextualMenuPropsAfterUpdate = function (renderedItems, overflowItems) {\n var _this = this;\n if (this.state && this.state.expandedMenuItemKey) {\n if (this.state.expandedMenuItemKey === OVERFLOW_KEY) {\n // Keep the overflow menu open\n return { items: overflowItems };\n }\n else {\n // Find the currently open key in the new props\n var matchingItem = renderedItems.filter(function (item) { return item.key === _this.state.expandedMenuItemKey; });\n if (matchingItem.length === 1) {\n return this._getContextualMenuPropsFromItem(matchingItem[0]);\n }\n }\n }\n return null;\n };\n CommandBar.prototype._getContextualMenuPropsFromItem = function (item) {\n return item.subMenuProps || (item.items && { items: item.items });\n };\n return CommandBar;\n}(Utilities_1.BaseComponent));\nCommandBar.defaultProps = {\n items: [],\n overflowItems: [],\n farItems: []\n};\n__decorate([\n Utilities_1.autobind\n], CommandBar.prototype, \"_onOverflowClick\", null);\n__decorate([\n Utilities_1.autobind\n], CommandBar.prototype, \"_onContextMenuDismiss\", null);\nexports.CommandBar = CommandBar;\n\n"
|
|
},
|
|
{
|
|
"id": 209,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.scss.js",
|
|
"index": 209,
|
|
"index2": 203,
|
|
"size": 11468,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 208,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\CommandBar\\CommandBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/CommandBar/CommandBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./CommandBar.scss",
|
|
"loc": "34:19-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_0456bec6',\n primaryCommands: 'primaryCommands_0456bec6',\n sideCommands: 'sideCommands_0456bec6',\n item: 'item_0456bec6',\n itemChevronDown: 'itemChevronDown_0456bec6',\n itemCommandText: 'itemCommandText_0456bec6',\n itemText: 'itemText_0456bec6',\n itemLinkIsNoName: 'itemLinkIsNoName_0456bec6',\n itemLink: 'itemLink_0456bec6',\n itemLinkIsExpanded: 'itemLinkIsExpanded_0456bec6',\n itemIcon: 'itemIcon_0456bec6',\n itemOverflow: 'itemOverflow_0456bec6',\n itemIconColor: 'itemIconColor_0456bec6',\n search: 'search_0456bec6',\n searchInput: 'searchInput_0456bec6',\n searchIconSearchWrapper: 'searchIconSearchWrapper_0456bec6',\n searchIconArrowWrapper: 'searchIconArrowWrapper_0456bec6',\n searchIconClearWrapper: 'searchIconClearWrapper_0456bec6',\n searchIconWrapper: 'searchIconWrapper_0456bec6',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_0456bec6{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";position:relative;background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";height:40px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.primaryCommands_0456bec6{position:absolute;overflow:hidden;display:inline;vertical-align:top;line-height:40px;max-width:100%;margin:0 20px}.sideCommands_0456bec6{position:absolute}[dir=ltr] .sideCommands_0456bec6{right:0}[dir=rtl] .sideCommands_0456bec6{left:0}html[dir=ltr] .sideCommands_0456bec6{text-align:right}html[dir=rtl] .sideCommands_0456bec6{text-align:left}html[dir=ltr] .sideCommands_0456bec6{padding-right:20px}html[dir=rtl] .sideCommands_0456bec6{padding-left:20px}.item_0456bec6{display:inline-block;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";height:40px;outline:transparent;vertical-align:top;margin:0 4px}.item_0456bec6:hover{background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.itemChevronDown_0456bec6,.itemCommandText_0456bec6{display:inline-block;padding:0 4px;vertical-align:top}.itemText_0456bec6{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";position:relative;background:0 0;border:none;line-height:40px;min-width:20px;text-align:center;padding:0 4px;display:block;height:100%}.itemText_0456bec6::-moz-focus-inner{border:0}.itemText_0456bec6{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .itemText_0456bec6:focus:after{content:'';position:absolute;top:2px;right:2px;bottom:2px;left:2px;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.itemText_0456bec6.itemLinkIsNoName_0456bec6{padding:0 8px}.itemLink_0456bec6{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";position:relative;background:0 0;border:none;line-height:40px;min-width:20px;text-align:center;padding:0 4px;display:block;height:100%;cursor:pointer}.itemLink_0456bec6::-moz-focus-inner{border:0}.itemLink_0456bec6{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .itemLink_0456bec6:focus:after{content:'';position:absolute;top:2px;right:2px;bottom:2px;left:2px;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.itemLink_0456bec6.itemLinkIsNoName_0456bec6{padding:0 8px}@media screen and (-ms-high-contrast:active){.itemLink_0456bec6.itemLinkIsExpanded_0456bec6::-moz-focus-inner,.itemLink_0456bec6:hover::-moz-focus-inner{border:0}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6,.itemLink_0456bec6:hover{outline:transparent;position:relative}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6::after,.itemLink_0456bec6:hover::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.itemLink_0456bec6.itemLinkIsExpanded_0456bec6::-moz-focus-inner,.itemLink_0456bec6:hover::-moz-focus-inner{border:0}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6,.itemLink_0456bec6:hover{outline:transparent;position:relative}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6::after,.itemLink_0456bec6:hover::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.itemLink_0456bec6:hover:not([disabled]){color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.itemLink_0456bec6:hover:not([disabled]) .itemIcon_0456bec6{color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}.itemLink_0456bec6:hover:not([disabled]) .itemChevronDown_0456bec6{color:\" }, { \"theme\": \"neutralPrimaryAlt\", \"defaultValue\": \"#3c3c3c\" }, { \"rawString\": \"}.itemLink_0456bec6:hover:not([disabled]) .itemOverflow_0456bec6{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6{background-color:\" }, { \"theme\": \"neutralQuaternaryAlt\", \"defaultValue\": \"#dadada\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6 .itemIcon_0456bec6{color:\" }, { \"theme\": \"themeDarker\", \"defaultValue\": \"#004578\" }, { \"rawString\": \"}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6 .itemChevronDown_0456bec6{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6 .itemOverflow_0456bec6{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.itemLink_0456bec6.itemLinkIsExpanded_0456bec6:hover{background-color:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.itemLink_0456bec6[disabled]{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";cursor:default;pointer-events:none}.itemLink_0456bec6[disabled] .itemIcon_0456bec6{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.itemIcon_0456bec6{font-size:16px;padding:0 4px}.itemIconColor_0456bec6{color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.itemChevronDown_0456bec6{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:12px}.itemOverflow_0456bec6{font-size:18px;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";padding:0 7px}.search_0456bec6{width:208px;max-width:208px;background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";height:40px;position:relative;box-sizing:border-box;border-color:transparent}html[dir=ltr] .search_0456bec6{float:left}html[dir=rtl] .search_0456bec6{float:right}html[dir=ltr] .search_0456bec6{border-right:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}html[dir=rtl] .search_0456bec6{border-left:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.search_0456bec6{z-index:10}html[dir=ltr] .search_0456bec6{border-right:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}html[dir=rtl] .search_0456bec6{border-left:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){html[dir=ltr] .search_0456bec6{border-right:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}html[dir=rtl] .search_0456bec6{border-left:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.search_0456bec6:before{position:absolute;content:' ';right:0;bottom:0;left:0;margin:0 8px;border-bottom:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.search_0456bec6:hover{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.search_0456bec6:hover::-moz-focus-inner{border:0}.search_0456bec6:hover{outline:transparent;position:relative}.search_0456bec6:hover::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.search_0456bec6:hover::-moz-focus-inner{border:0}.search_0456bec6:hover{outline:transparent;position:relative}.search_0456bec6:hover::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.searchInput_0456bec6{height:40px;padding:8px 8px 8px 0;border:none;background-color:transparent;width:100%;box-sizing:border-box;outline:0;cursor:pointer;font-size:14px;-webkit-appearance:none;-webkit-border-radius:0}html[dir=ltr] .searchInput_0456bec6{border-left:42px solid transparent}html[dir=rtl] .searchInput_0456bec6{border-right:42px solid transparent}@media screen and (-ms-high-contrast:active){html[dir=ltr] .searchInput_0456bec6{border-left:40px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}html[dir=rtl] .searchInput_0456bec6{border-right:40px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){html[dir=ltr] .searchInput_0456bec6{border-left:40px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}html[dir=rtl] .searchInput_0456bec6{border-right:40px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}.searchInput_0456bec6::-ms-clear{display:none}.searchIconSearchWrapper_0456bec6{display:block}.searchIconArrowWrapper_0456bec6{display:none}.searchIconArrowWrapper_0456bec6,.searchIconSearchWrapper_0456bec6{top:0}[dir=ltr] .searchIconArrowWrapper_0456bec6,[dir=ltr] .searchIconSearchWrapper_0456bec6{padding-left:17px}[dir=rtl] .searchIconArrowWrapper_0456bec6,[dir=rtl] .searchIconSearchWrapper_0456bec6{padding-right:17px}html[dir=ltr] .searchIconArrowWrapper_0456bec6,html[dir=ltr] .searchIconSearchWrapper_0456bec6{padding-right:8px}html[dir=rtl] .searchIconArrowWrapper_0456bec6,html[dir=rtl] .searchIconSearchWrapper_0456bec6{padding-left:8px}.searchIconClearWrapper_0456bec6{display:none;top:1px;z-index:10}[dir=ltr] .searchIconClearWrapper_0456bec6{right:0}[dir=rtl] .searchIconClearWrapper_0456bec6{left:0}.searchIconWrapper_0456bec6{height:40px;line-height:40px;cursor:pointer;position:absolute;text-align:center}.search_0456bec6 .ms-Icon:before{font-size:16px;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.searchInput_0456bec6,.searchInput_0456bec6::-webkit-input-placeholder{font-size:14px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 210,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DatePicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/DatePicker.js",
|
|
"index": 210,
|
|
"index2": 210,
|
|
"size": 227,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DatePicker",
|
|
"loc": "19:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/DatePicker/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 211,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DatePicker/index.js",
|
|
"index": 211,
|
|
"index2": 209,
|
|
"size": 259,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DatePicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 210,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/DatePicker/index",
|
|
"loc": "6:9-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./DatePicker\"));\n__export(require(\"../Calendar/Calendar.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 212,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"index": 212,
|
|
"index2": 208,
|
|
"size": 13889,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 211,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DatePicker",
|
|
"loc": "6:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Calendar_1 = require(\"../../Calendar\");\nvar Callout_1 = require(\"../../Callout\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar TextField_1 = require(\"../../TextField\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar DateMath_1 = require(\"../../utilities/dateMath/DateMath\");\nvar stylesImport = require(\"./DatePicker.scss\");\nvar styles = stylesImport;\nvar DEFAULT_STRINGS = {\n months: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December'\n ],\n shortMonths: [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec'\n ],\n days: [\n 'Sunday',\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday'\n ],\n shortDays: [\n 'S',\n 'M',\n 'T',\n 'W',\n 'T',\n 'F',\n 'S'\n ],\n goToToday: 'Go to today',\n prevMonthAriaLabel: 'Go to previous month',\n nextMonthAriaLabel: 'Go to next month',\n prevYearAriaLabel: 'Go to previous year',\n nextYearAriaLabel: 'Go to next year'\n};\nvar DatePicker = (function (_super) {\n __extends(DatePicker, _super);\n function DatePicker(props) {\n var _this = _super.call(this) || this;\n var formatDate = props.formatDate, value = props.value;\n _this.state = {\n selectedDate: value || new Date(),\n formattedDate: (formatDate && value) ? formatDate(value) : '',\n isDatePickerShown: false,\n errorMessage: null\n };\n _this._preventFocusOpeningPicker = false;\n return _this;\n }\n DatePicker.prototype.componentWillReceiveProps = function (nextProps) {\n var formatDate = nextProps.formatDate, isRequired = nextProps.isRequired, strings = nextProps.strings, value = nextProps.value;\n var errorMessage = (isRequired && !value) ? (strings.isRequiredErrorMessage || '*') : null;\n // Set error message\n this.setState({\n errorMessage: errorMessage\n });\n // Issue# 1274: Check if the date value changed from old props value, i.e., if indeed a new date is being\n // passed in or if the formatting function was modified. We only update the selected date if either of these\n // had a legit change. Note tha the bug will still repro when only the formatDate was passed in props and this\n // is the result of the onSelectDate callback, but this should be a rare scenario.\n var oldValue = this.props.value;\n if (!DateMath_1.compareDates(oldValue, value) || this.props.formatDate !== formatDate) {\n this.setState({\n selectedDate: value || new Date(),\n formattedDate: (formatDate && value) ? formatDate(value) : '',\n });\n }\n };\n DatePicker.prototype.render = function () {\n var _this = this;\n var _a = this.props, firstDayOfWeek = _a.firstDayOfWeek, strings = _a.strings, label = _a.label, isRequired = _a.isRequired, disabled = _a.disabled, ariaLabel = _a.ariaLabel, pickerAriaLabel = _a.pickerAriaLabel, placeholder = _a.placeholder, allowTextInput = _a.allowTextInput, borderless = _a.borderless, className = _a.className;\n var _b = this.state, isDatePickerShown = _b.isDatePickerShown, formattedDate = _b.formattedDate, selectedDate = _b.selectedDate, errorMessage = _b.errorMessage;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DatePicker', styles.root, className), ref: 'root' },\n React.createElement(\"div\", { ref: function (c) { return _this._datepicker = c; } },\n React.createElement(TextField_1.TextField, { className: styles.textField, ariaLabel: ariaLabel, \"aria-haspopup\": 'true', \"aria-expanded\": isDatePickerShown, required: isRequired, disabled: disabled, onKeyDown: this._onTextFieldKeyDown, onFocus: this._onTextFieldFocus, onBlur: this._onTextFieldBlur, onClick: this._onTextFieldClick, onChanged: this._onTextFieldChanged, errorMessage: errorMessage, label: label, placeholder: placeholder, borderless: borderless, iconProps: {\n iconName: 'calendar',\n className: Utilities_1.css(label ? 'ms-DatePicker-event--with-label' : 'ms-DatePicker-event--without-label', label ? styles.eventWithLabel : styles.eventWithoutLabel)\n }, readOnly: !allowTextInput, value: formattedDate, ref: 'textField' })),\n isDatePickerShown && (React.createElement(Callout_1.Callout, { role: 'dialog', ariaLabel: pickerAriaLabel, isBeakVisible: false, className: Utilities_1.css('ms-DatePicker-callout'), gapSpace: 0, doNotLayer: false, targetElement: this._datepicker, directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge, onDismiss: this._calendarDismissed, onPositioned: this._onCalloutPositioned },\n React.createElement(Calendar_1.Calendar, { onSelectDate: this._onSelectDate, onDismiss: this._calendarDismissed, isMonthPickerVisible: this.props.isMonthPickerVisible, value: selectedDate, firstDayOfWeek: firstDayOfWeek, strings: strings, ref: this._resolveRef('_calendar') })))));\n };\n DatePicker.prototype._onSelectDate = function (date) {\n var _a = this.props, formatDate = _a.formatDate, onSelectDate = _a.onSelectDate;\n this.setState({\n selectedDate: date,\n isDatePickerShown: false,\n formattedDate: formatDate && date ? formatDate(date) : '',\n });\n if (onSelectDate) {\n onSelectDate(date);\n }\n };\n DatePicker.prototype._onCalloutPositioned = function () {\n this._calendar.focus();\n };\n DatePicker.prototype._onTextFieldFocus = function (ev) {\n if (this.props.disableAutoFocus) {\n return;\n }\n if (!this.props.allowTextInput) {\n if (!this._preventFocusOpeningPicker) {\n this._showDatePickerPopup();\n }\n else {\n this._preventFocusOpeningPicker = false;\n }\n }\n };\n DatePicker.prototype._onTextFieldBlur = function (ev) {\n this._validateTextInput();\n };\n DatePicker.prototype._onTextFieldChanged = function (newValue) {\n if (this.props.allowTextInput) {\n if (this.state.isDatePickerShown) {\n this._dismissDatePickerPopup();\n }\n var _a = this.props, isRequired = _a.isRequired, value = _a.value, strings = _a.strings;\n this.setState({\n errorMessage: (isRequired && !value) ? (strings.isRequiredErrorMessage || '*') : null,\n formattedDate: newValue\n });\n }\n };\n DatePicker.prototype._onTextFieldKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.enter:\n ev.preventDefault();\n ev.stopPropagation();\n if (!this.state.isDatePickerShown) {\n this._showDatePickerPopup();\n }\n else {\n // When DatePicker allows input date string directly,\n // it is expected to hit another enter to close the popup\n if (this.props.allowTextInput) {\n this._dismissDatePickerPopup();\n }\n }\n break;\n case Utilities_1.KeyCodes.escape:\n this._handleEscKey(ev);\n break;\n default:\n break;\n }\n };\n DatePicker.prototype._onTextFieldClick = function (ev) {\n if (!this.state.isDatePickerShown) {\n this._showDatePickerPopup();\n }\n else {\n if (this.props.allowTextInput) {\n this.setState({\n isDatePickerShown: false\n });\n }\n }\n };\n DatePicker.prototype._showDatePickerPopup = function () {\n if (!this.state.isDatePickerShown) {\n this._preventFocusOpeningPicker = true;\n this._focusOnSelectedDateOnUpdate = true;\n this.setState({\n isDatePickerShown: true,\n navigatedDate: this.state.selectedDate,\n errorMessage: ''\n });\n }\n };\n DatePicker.prototype._dismissDatePickerPopup = function () {\n if (this.state.isDatePickerShown) {\n this.setState({\n isDatePickerShown: false\n });\n this._validateTextInput();\n }\n };\n /**\n * Callback for closing the calendar callout\n */\n DatePicker.prototype._calendarDismissed = function () {\n this._preventFocusOpeningPicker = true;\n this._dismissDatePickerPopup();\n if (this.refs.textField) {\n this.refs.textField.focus();\n }\n };\n DatePicker.prototype._handleEscKey = function (ev) {\n this._calendarDismissed();\n };\n DatePicker.prototype._validateTextInput = function () {\n var _a = this.props, isRequired = _a.isRequired, allowTextInput = _a.allowTextInput, strings = _a.strings, formatDate = _a.formatDate, parseDateFromString = _a.parseDateFromString, onSelectDate = _a.onSelectDate;\n var inputValue = this.state.formattedDate;\n // Do validation only if DatePicker's popup is dismissed\n if (this.state.isDatePickerShown) {\n return;\n }\n // Check when DatePicker is a required field but has NO input value\n if (isRequired && !inputValue) {\n this.setState({\n // Since fabic react doesn't have loc support yet\n // use the symbol '*' to represent error message\n errorMessage: strings.isRequiredErrorMessage || '*'\n });\n return;\n }\n if (allowTextInput) {\n var date = null;\n if (inputValue) {\n date = parseDateFromString(inputValue);\n if (!date) {\n this.setState({\n errorMessage: strings.invalidInputErrorMessage || '*'\n });\n }\n else {\n this.setState({\n selectedDate: date,\n errorMessage: ''\n });\n }\n }\n else {\n // No input date string shouldn't be an error if field is not required\n this.setState({\n errorMessage: ''\n });\n }\n // Execute onSelectDate callback\n if (onSelectDate) {\n // If no input date string or input date string is invalid\n // date variable will be null, callback should expect null value for this case\n onSelectDate(date);\n }\n }\n };\n return DatePicker;\n}(Utilities_1.BaseComponent));\nDatePicker.defaultProps = {\n allowTextInput: false,\n formatDate: function (date) {\n if (date) {\n return date.toDateString();\n }\n return '';\n },\n parseDateFromString: function (dateStr) {\n var date = Date.parse(dateStr);\n if (date) {\n return new Date(date);\n }\n return null;\n },\n firstDayOfWeek: Calendar_1.DayOfWeek.Sunday,\n isRequired: false,\n isMonthPickerVisible: true,\n strings: DEFAULT_STRINGS,\n borderless: false,\n pickerAriaLabel: 'Calender',\n};\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onSelectDate\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onCalloutPositioned\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onTextFieldFocus\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onTextFieldBlur\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onTextFieldChanged\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onTextFieldKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_onTextFieldClick\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_dismissDatePickerPopup\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_calendarDismissed\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_handleEscKey\", null);\n__decorate([\n Utilities_1.autobind\n], DatePicker.prototype, \"_validateTextInput\", null);\nexports.DatePicker = DatePicker;\n\n"
|
|
},
|
|
{
|
|
"id": 213,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.scss.js",
|
|
"index": 213,
|
|
"index2": 207,
|
|
"size": 1191,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 212,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DatePicker\\DatePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DatePicker/DatePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DatePicker.scss",
|
|
"loc": "26:19-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_13226a93',\n textField: 'textField_13226a93',\n eventWithLabel: 'eventWithLabel_13226a93',\n eventWithoutLabel: 'eventWithoutLabel_13226a93',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_13226a93{box-sizing:border-box;box-shadow:none;margin:0;padding:0;margin-bottom:17px}.textField_13226a93{position:relative}.textField_13226a93 input::-ms-clear{display:none}.textField_13226a93 input[readonly]{cursor:pointer}.eventWithLabel_13226a93{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:20px;line-height:20px;pointer-events:none;position:absolute;bottom:5px}[dir=ltr] .eventWithLabel_13226a93{right:9px}[dir=rtl] .eventWithLabel_13226a93{left:9px}.eventWithoutLabel_13226a93{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:20px;line-height:20px;pointer-events:none;position:absolute;top:7px}[dir=ltr] .eventWithoutLabel_13226a93{right:9px}[dir=rtl] .eventWithoutLabel_13226a93{left:9px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 214,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DetailsList.js",
|
|
"name": "./~/office-ui-fabric-react/lib/DetailsList.js",
|
|
"index": 214,
|
|
"index2": 252,
|
|
"size": 228,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsList",
|
|
"loc": "20:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/DetailsList/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 215,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"index": 215,
|
|
"index2": 251,
|
|
"size": 382,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DetailsList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 214,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/DetailsList/index",
|
|
"loc": "6:9-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"../../utilities/selection/index\"));\n__export(require(\"./DetailsList\"));\n__export(require(\"./DetailsList.Props\"));\n__export(require(\"./DetailsRow\"));\n__export(require(\"./DetailsRowCheck\"));\n\n"
|
|
},
|
|
{
|
|
"id": 216,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"index": 216,
|
|
"index2": 215,
|
|
"size": 322,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MarqueeSelection.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 215,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/index",
|
|
"loc": "6:9-51"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/index",
|
|
"loc": "36:14-56"
|
|
},
|
|
{
|
|
"moduleId": 237,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/index",
|
|
"loc": "23:14-56"
|
|
},
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/index",
|
|
"loc": "29:14-56"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/index",
|
|
"loc": "21:14-56"
|
|
},
|
|
{
|
|
"moduleId": 311,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MarqueeSelection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/MarqueeSelection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/MarqueeSelection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./utilities/selection/index",
|
|
"loc": "7:9-47"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/index",
|
|
"loc": "31:14-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./interfaces\"));\n__export(require(\"./Selection\"));\n__export(require(\"./SelectionLayout\"));\n__export(require(\"./SelectionZone\"));\n\n"
|
|
},
|
|
{
|
|
"id": 217,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\interfaces.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/selection/interfaces.js",
|
|
"index": 217,
|
|
"index2": 211,
|
|
"size": 711,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 216,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./interfaces",
|
|
"loc": "6:9-32"
|
|
},
|
|
{
|
|
"moduleId": 218,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\Selection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/Selection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/Selection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./interfaces",
|
|
"loc": "3:19-42"
|
|
},
|
|
{
|
|
"moduleId": 219,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionLayout.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionLayout.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionLayout.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./interfaces",
|
|
"loc": "3:19-42"
|
|
},
|
|
{
|
|
"moduleId": 220,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./interfaces",
|
|
"loc": "30:19-42"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/interfaces",
|
|
"loc": "27:19-66"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/selection/interfaces",
|
|
"loc": "28:19-66"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SELECTION_CHANGE = 'change';\nvar SelectionMode;\n(function (SelectionMode) {\n SelectionMode[SelectionMode[\"none\"] = 0] = \"none\";\n SelectionMode[SelectionMode[\"single\"] = 1] = \"single\";\n SelectionMode[SelectionMode[\"multiple\"] = 2] = \"multiple\";\n})(SelectionMode = exports.SelectionMode || (exports.SelectionMode = {}));\nvar SelectionDirection;\n(function (SelectionDirection) {\n SelectionDirection[SelectionDirection[\"horizontal\"] = 0] = \"horizontal\";\n SelectionDirection[SelectionDirection[\"vertical\"] = 1] = \"vertical\";\n})(SelectionDirection = exports.SelectionDirection || (exports.SelectionDirection = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 218,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\Selection.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/selection/Selection.js",
|
|
"index": 218,
|
|
"index2": 212,
|
|
"size": 9537,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 216,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Selection",
|
|
"loc": "7:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Selection = (function () {\n function Selection(options) {\n if (options === void 0) { options = {}; }\n var onSelectionChanged = options.onSelectionChanged, getKey = options.getKey, _a = options.canSelectItem, canSelectItem = _a === void 0 ? function (item) { return true; } : _a;\n this.getKey = getKey || (function (item, index) { return (item ? item.key : String(index)); });\n this._changeEventSuppressionCount = 0;\n this._exemptedCount = 0;\n this._anchoredIndex = 0;\n this._unselectableCount = 0;\n this.setItems([], true);\n this._onSelectionChanged = onSelectionChanged;\n this.canSelectItem = canSelectItem;\n }\n Selection.prototype.setChangeEvents = function (isEnabled, suppressChange) {\n this._changeEventSuppressionCount += isEnabled ? -1 : 1;\n if (this._changeEventSuppressionCount === 0 && this._hasChanged) {\n this._hasChanged = false;\n if (!suppressChange) {\n this._change();\n }\n }\n };\n /**\n * Selection needs the items, call this method to set them. If the set\n * of items is the same, this will re-evaluate selection and index maps.\n * Otherwise, shouldClear should be set to true, so that selection is\n * cleared.\n */\n Selection.prototype.setItems = function (items, shouldClear) {\n if (shouldClear === void 0) { shouldClear = true; }\n var newKeyToIndexMap = {};\n var newUnselectableIndices = {};\n var hasSelectionChanged = false;\n this.setChangeEvents(false);\n // Reset the unselectable count.\n this._unselectableCount = 0;\n // Build lookup table for quick selection evaluation.\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n if (item) {\n newKeyToIndexMap[this.getKey(item, i)] = i;\n }\n newUnselectableIndices[i] = item && !this.canSelectItem(item);\n if (newUnselectableIndices[i]) {\n this._unselectableCount++;\n }\n }\n if (shouldClear) {\n this.setAllSelected(false);\n }\n // Check the exemption list for discrepencies.\n var newExemptedIndicies = {};\n for (var indexProperty in this._exemptedIndices) {\n if (this._exemptedIndices.hasOwnProperty(indexProperty)) {\n var index = Number(indexProperty);\n var item = this._items[index];\n var exemptKey = item ? this.getKey(item, Number(index)) : undefined;\n var newIndex = exemptKey ? newKeyToIndexMap[exemptKey] : index;\n if (newIndex === undefined) {\n // We don't know the index of the item any more so it's either moved or removed.\n // In this case we reset the entire selection.\n this.setAllSelected(false);\n break;\n }\n else {\n // We know the new index of the item. update the existing exemption table.\n newExemptedIndicies[newIndex] = true;\n hasSelectionChanged = hasSelectionChanged || (newIndex !== index);\n }\n }\n }\n this._exemptedIndices = newExemptedIndicies;\n this._keyToIndexMap = newKeyToIndexMap;\n this._unselectableIndices = newUnselectableIndices;\n this._items = items || [];\n if (hasSelectionChanged) {\n this._change();\n }\n this.setChangeEvents(true);\n };\n Selection.prototype.getItems = function () {\n return this._items;\n };\n Selection.prototype.getSelection = function () {\n if (!this._selectedItems) {\n this._selectedItems = [];\n for (var i = 0; i < this._items.length; i++) {\n if (this.isIndexSelected(i)) {\n this._selectedItems.push(this._items[i]);\n }\n }\n }\n return this._selectedItems;\n };\n Selection.prototype.getSelectedCount = function () {\n return this._isAllSelected ? (this._items.length - this._exemptedCount - this._unselectableCount) : (this._exemptedCount);\n };\n Selection.prototype.isRangeSelected = function (fromIndex, count) {\n var endIndex = fromIndex + count;\n for (var i = fromIndex; i < endIndex; i++) {\n if (!this.isIndexSelected(i)) {\n return false;\n }\n }\n return true;\n };\n Selection.prototype.isAllSelected = function () {\n var selectableCount = this._items.length - this._unselectableCount;\n return ((this.count > 0) &&\n (this._isAllSelected && this._exemptedCount === 0) ||\n (!this._isAllSelected && (this._exemptedCount === selectableCount) && selectableCount > 0));\n };\n Selection.prototype.isKeySelected = function (key) {\n var index = this._keyToIndexMap[key];\n return this.isIndexSelected(index);\n };\n Selection.prototype.isIndexSelected = function (index) {\n return !!((this.count > 0) &&\n (this._isAllSelected && !this._exemptedIndices[index] && !this._unselectableIndices[index]) ||\n (!this._isAllSelected && this._exemptedIndices[index]));\n };\n Selection.prototype.setAllSelected = function (isAllSelected) {\n var selectableCount = this._items ? (this._items.length - this._unselectableCount) : 0;\n if (selectableCount > 0 && (this._exemptedCount > 0 || isAllSelected !== this._isAllSelected)) {\n this._exemptedIndices = {};\n this._exemptedCount = 0;\n this._isAllSelected = isAllSelected;\n this._updateCount();\n }\n };\n Selection.prototype.setKeySelected = function (key, isSelected, shouldAnchor) {\n var index = this._keyToIndexMap[key];\n if (index >= 0) {\n this.setIndexSelected(index, isSelected, shouldAnchor);\n }\n };\n Selection.prototype.setIndexSelected = function (index, isSelected, shouldAnchor) {\n // Clamp the index.\n index = Math.min(Math.max(0, index), this._items.length - 1);\n // No-op on out of bounds selections.\n if (index < 0 || index >= this._items.length) {\n return;\n }\n var isExempt = this._exemptedIndices[index];\n var hasChanged = false;\n var canSelect = !this._unselectableIndices[index];\n if (canSelect) {\n // Determine if we need to remove the exemption.\n if (isExempt && ((isSelected && this._isAllSelected) ||\n (!isSelected && !this._isAllSelected))) {\n hasChanged = true;\n delete this._exemptedIndices[index];\n this._exemptedCount--;\n }\n // Determine if we need to add the exemption.\n if (!isExempt && ((isSelected && !this._isAllSelected) ||\n (!isSelected && this._isAllSelected))) {\n hasChanged = true;\n this._exemptedIndices[index] = true;\n this._exemptedCount++;\n }\n if (shouldAnchor) {\n this._anchoredIndex = index;\n }\n }\n if (hasChanged) {\n this._updateCount();\n }\n };\n Selection.prototype.selectToKey = function (key, clearSelection) {\n this.selectToIndex(this._keyToIndexMap[key], clearSelection);\n };\n Selection.prototype.selectToIndex = function (index, clearSelection) {\n var anchorIndex = this._anchoredIndex || 0;\n var startIndex = Math.min(index, anchorIndex);\n var endIndex = Math.max(index, anchorIndex);\n this.setChangeEvents(false);\n if (clearSelection) {\n this.setAllSelected(false);\n }\n for (; startIndex <= endIndex; startIndex++) {\n this.setIndexSelected(startIndex, true, false);\n }\n this.setChangeEvents(true);\n };\n Selection.prototype.toggleAllSelected = function () {\n this.setAllSelected(!this.isAllSelected());\n };\n Selection.prototype.toggleKeySelected = function (key) {\n this.setKeySelected(key, !this.isKeySelected(key), true);\n };\n Selection.prototype.toggleIndexSelected = function (index) {\n this.setIndexSelected(index, !this.isIndexSelected(index), true);\n };\n Selection.prototype.toggleRangeSelected = function (fromIndex, count) {\n var isRangeSelected = this.isRangeSelected(fromIndex, count);\n var endIndex = fromIndex + count;\n this.setChangeEvents(false);\n for (var i = fromIndex; i < endIndex; i++) {\n this.setIndexSelected(i, !isRangeSelected, false);\n }\n this.setChangeEvents(true);\n };\n Selection.prototype._updateCount = function () {\n this.count = this.getSelectedCount();\n this._change();\n };\n Selection.prototype._change = function () {\n if (this._changeEventSuppressionCount === 0) {\n this._selectedItems = null;\n Utilities_1.EventGroup.raise(this, interfaces_1.SELECTION_CHANGE);\n if (this._onSelectionChanged) {\n this._onSelectionChanged();\n }\n }\n else {\n this._hasChanged = true;\n }\n };\n return Selection;\n}());\nexports.Selection = Selection;\n\n"
|
|
},
|
|
{
|
|
"id": 219,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionLayout.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionLayout.js",
|
|
"index": 219,
|
|
"index2": 213,
|
|
"size": 1190,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 216,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./SelectionLayout",
|
|
"loc": "8:9-37"
|
|
},
|
|
{
|
|
"moduleId": 220,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./SelectionLayout",
|
|
"loc": "29:24-52"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar SelectionLayout = (function () {\n function SelectionLayout(direction) {\n this._direction = direction;\n }\n SelectionLayout.prototype.getItemIndexAbove = function (focusIndex, items) {\n return (this._direction === interfaces_1.SelectionDirection.vertical) ? Math.max(0, focusIndex - 1) : focusIndex;\n };\n SelectionLayout.prototype.getItemIndexBelow = function (focusIndex, items) {\n return (this._direction === interfaces_1.SelectionDirection.vertical) ? Math.min(items.length - 1, focusIndex + 1) : focusIndex;\n };\n SelectionLayout.prototype.getItemIndexLeft = function (focusIndex, items) {\n return (this._direction === interfaces_1.SelectionDirection.vertical) ? focusIndex : Math.max(0, focusIndex - 1);\n };\n SelectionLayout.prototype.getItemIndexRight = function (focusIndex, items) {\n return (this._direction === interfaces_1.SelectionDirection.vertical) ? focusIndex : Math.min(items.length - 1, focusIndex + 1);\n };\n return SelectionLayout;\n}());\nexports.SelectionLayout = SelectionLayout;\n\n"
|
|
},
|
|
{
|
|
"id": 220,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\SelectionZone.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/selection/SelectionZone.js",
|
|
"index": 220,
|
|
"index2": 214,
|
|
"size": 19182,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 216,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\selection\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/selection/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./SelectionZone",
|
|
"loc": "9:9-35"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar SelectionLayout_1 = require(\"./SelectionLayout\");\nvar interfaces_1 = require(\"./interfaces\");\n// Selection definitions:\n//\n// Anchor index: the point from which a range selection starts.\n// Focus index: the point from which layout movement originates from.\n//\n// These two can differ. Tests:\n//\n// If you start at index 5\n// Shift click to index 10\n// The focus is 10, the anchor is 5.\n// If you shift click at index 0\n// The anchor remains at 5, the items between 0 and 5 are selected and everything else is cleared.\n// If you click index 8\n// The anchor and focus are set to 8.\nvar SELECTION_DISABLED_ATTRIBUTE_NAME = 'data-selection-disabled';\nvar SELECTION_INDEX_ATTRIBUTE_NAME = 'data-selection-index';\nvar SELECTION_TOGGLE_ATTRIBUTE_NAME = 'data-selection-toggle';\nvar SELECTION_INVOKE_ATTRIBUTE_NAME = 'data-selection-invoke';\nvar SELECTALL_TOGGLE_ALL_ATTRIBUTE_NAME = 'data-selection-all-toggle';\nvar SelectionZone = (function (_super) {\n __extends(SelectionZone, _super);\n function SelectionZone() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SelectionZone.prototype.componentDidMount = function () {\n var win = Utilities_1.getWindow(this.refs.root);\n var scrollElement = Utilities_1.findScrollableParent(this.refs.root);\n // Track the latest modifier keys globally.\n this._events.on(win, 'keydown keyup', this._updateModifiers);\n this._events.on(scrollElement, 'click', this._tryClearOnEmptyClick);\n };\n SelectionZone.prototype.render = function () {\n return (React.createElement(\"div\", __assign({ className: 'ms-SelectionZone', ref: 'root', onKeyDown: this._onKeyDown, onMouseDown: this._onMouseDown, onClick: this._onClick, onDoubleClick: this._onDoubleClick, onContextMenu: this._onContextMenu }, {\n onMouseDownCapture: this._onMouseDownCapture,\n onFocusCapture: this._onFocus\n }), this.props.children));\n };\n /**\n * In some cases, the consuming scenario requires to set focus on a row without having SelectionZone\n * react to the event. Note that focus events in IE <= 11 will occur asynchronously after .focus() has\n * been called on an element, so we need a flag to store the idea that we will bypass the \"next\"\n * focus event that occurs. This method does that.\n */\n SelectionZone.prototype.ignoreNextFocus = function () {\n this._shouldHandleFocus = false;\n };\n SelectionZone.prototype._onMouseDownCapture = function (ev) {\n if (document.activeElement !== ev.target && !Utilities_1.elementContains(document.activeElement, ev.target)) {\n this.ignoreNextFocus();\n }\n };\n /**\n * When we focus an item, for single/multi select scenarios, we should try to select it immediately\n * as long as the focus did not originate from a mouse down/touch event. For those cases, we handle them\n * specially.\n */\n SelectionZone.prototype._onFocus = function (ev) {\n var target = ev.target;\n var _a = this.props, selection = _a.selection, selectionMode = _a.selectionMode;\n var isToggleModifierPressed = this._isCtrlPressed || this._isMetaPressed;\n if (this._shouldHandleFocus && selectionMode !== interfaces_1.SelectionMode.none) {\n var isToggle = this._hasAttribute(target, SELECTION_TOGGLE_ATTRIBUTE_NAME);\n var itemRoot = this._findItemRoot(target);\n if (!isToggle && itemRoot) {\n var index = this._getItemIndex(itemRoot);\n if (isToggleModifierPressed) {\n // set anchor only.\n selection.setIndexSelected(index, selection.isIndexSelected(index), true);\n }\n else {\n this._onItemSurfaceClick(ev, index);\n }\n }\n }\n this._shouldHandleFocus = false;\n };\n SelectionZone.prototype._onMouseDown = function (ev) {\n this._updateModifiers(ev);\n var target = ev.target;\n var itemRoot = this._findItemRoot(target);\n while (target !== this.refs.root) {\n if (this._hasAttribute(target, SELECTALL_TOGGLE_ALL_ATTRIBUTE_NAME)) {\n break;\n }\n else if (itemRoot) {\n if (this._hasAttribute(target, SELECTION_TOGGLE_ATTRIBUTE_NAME)) {\n break;\n }\n else if (this._hasAttribute(target, SELECTION_INVOKE_ATTRIBUTE_NAME)) {\n this._onInvokeMouseDown(ev, this._getItemIndex(itemRoot));\n break;\n }\n else if (target === itemRoot) {\n break;\n }\n }\n target = Utilities_1.getParent(target);\n }\n };\n SelectionZone.prototype._onClick = function (ev) {\n this._updateModifiers(ev);\n var target = ev.target;\n var itemRoot = this._findItemRoot(target);\n // No-op if selection is disabled\n if (this._isSelectionDisabled(target)) {\n return;\n }\n while (target !== this.refs.root) {\n if (this._hasAttribute(target, SELECTALL_TOGGLE_ALL_ATTRIBUTE_NAME)) {\n this._onToggleAllClick(ev);\n break;\n }\n else if (itemRoot) {\n var index = this._getItemIndex(itemRoot);\n if (this._hasAttribute(target, SELECTION_TOGGLE_ATTRIBUTE_NAME)) {\n if (this._isShiftPressed) {\n this._onItemSurfaceClick(ev, index);\n }\n else {\n this._onToggleClick(ev, index);\n }\n break;\n }\n else if (this._hasAttribute(target, SELECTION_INVOKE_ATTRIBUTE_NAME)) {\n this._onInvokeClick(ev, index);\n break;\n }\n else if (target === itemRoot) {\n this._onItemSurfaceClick(ev, index);\n break;\n }\n }\n target = Utilities_1.getParent(target);\n }\n };\n SelectionZone.prototype._onContextMenu = function (ev) {\n var target = ev.target;\n var _a = this.props, onItemContextMenu = _a.onItemContextMenu, selection = _a.selection;\n if (onItemContextMenu) {\n var itemRoot = this._findItemRoot(target);\n if (itemRoot) {\n var index = this._getItemIndex(itemRoot);\n onItemContextMenu(selection.getItems()[index], index, ev.nativeEvent);\n ev.preventDefault();\n }\n }\n };\n SelectionZone.prototype._isSelectionDisabled = function (target) {\n while (target !== this.refs.root) {\n if (this._hasAttribute(target, SELECTION_DISABLED_ATTRIBUTE_NAME)) {\n return true;\n }\n target = Utilities_1.getParent(target);\n }\n return false;\n };\n /**\n * In multi selection, if you double click within an item's root (but not within the invoke element or input elements),\n * we should execute the invoke handler.\n */\n SelectionZone.prototype._onDoubleClick = function (ev) {\n var target = ev.target;\n if (this._isSelectionDisabled(target)) {\n return;\n }\n var _a = this.props, selectionMode = _a.selectionMode, onItemInvoked = _a.onItemInvoked;\n var itemRoot = this._findItemRoot(target);\n if (itemRoot && onItemInvoked && selectionMode !== interfaces_1.SelectionMode.none && !this._isInputElement(target)) {\n var index = this._getItemIndex(itemRoot);\n while (target !== this.refs.root) {\n if (this._hasAttribute(target, SELECTION_TOGGLE_ATTRIBUTE_NAME) ||\n this._hasAttribute(target, SELECTION_INVOKE_ATTRIBUTE_NAME)) {\n break;\n }\n else if (target === itemRoot) {\n this._onInvokeClick(ev, index);\n break;\n }\n target = Utilities_1.getParent(target);\n }\n target = Utilities_1.getParent(target);\n }\n };\n SelectionZone.prototype._onKeyDown = function (ev) {\n this._updateModifiers(ev);\n var target = ev.target;\n if (this._isSelectionDisabled(target)) {\n return;\n }\n var _a = this.props, selection = _a.selection, selectionMode = _a.selectionMode;\n var isSelectAllKey = ev.which === Utilities_1.KeyCodes.a && (this._isCtrlPressed || this._isMetaPressed);\n var isClearSelectionKey = ev.which === Utilities_1.KeyCodes.escape;\n // Ignore key downs from input elements.\n if (this._isInputElement(target)) {\n // A key was pressed while an item in this zone was focused.\n this._shouldHandleFocus = true;\n return;\n }\n // If ctrl-a is pressed, select all (if all are not already selected.)\n if (isSelectAllKey && selectionMode === interfaces_1.SelectionMode.multiple && !selection.isAllSelected()) {\n selection.setAllSelected(true);\n ev.stopPropagation();\n ev.preventDefault();\n return;\n }\n // If escape is pressed, clear selection (if any are selected.)\n if (isClearSelectionKey && selection.getSelectedCount() > 0) {\n selection.setAllSelected(false);\n ev.stopPropagation();\n ev.preventDefault();\n return;\n }\n var itemRoot = this._findItemRoot(target);\n // If a key was pressed within an item, we should treat \"enters\" as invokes and \"space\" as toggle\n if (itemRoot) {\n var index = this._getItemIndex(itemRoot);\n while (target !== this.refs.root) {\n if (this._hasAttribute(target, SELECTION_TOGGLE_ATTRIBUTE_NAME)) {\n // For toggle elements, assuming they are rendered as buttons, they will generate a click event,\n // so we can no-op for any keydowns in this case.\n break;\n }\n else if ((ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) &&\n (target.tagName === 'BUTTON' || target.tagName === 'A' || target.tagName === 'INPUT')) {\n return false;\n }\n else if (target === itemRoot) {\n if (ev.which === Utilities_1.KeyCodes.enter) {\n this._onInvokeClick(ev, index);\n ev.preventDefault();\n return;\n }\n else if (ev.which === Utilities_1.KeyCodes.space) {\n this._onToggleClick(ev, index);\n ev.preventDefault();\n return;\n }\n break;\n }\n target = Utilities_1.getParent(target);\n }\n }\n // A key was pressed while an item in this zone was focused.\n this._shouldHandleFocus = true;\n };\n SelectionZone.prototype._onToggleAllClick = function (ev) {\n var _a = this.props, selection = _a.selection, selectionMode = _a.selectionMode;\n if (selectionMode === interfaces_1.SelectionMode.multiple) {\n selection.toggleAllSelected();\n ev.stopPropagation();\n ev.preventDefault();\n }\n };\n SelectionZone.prototype._onToggleClick = function (ev, index) {\n var _a = this.props, selection = _a.selection, selectionMode = _a.selectionMode;\n if (selectionMode === interfaces_1.SelectionMode.multiple) {\n selection.toggleIndexSelected(index);\n }\n else if (selectionMode === interfaces_1.SelectionMode.single) {\n var isSelected = selection.isIndexSelected(index);\n selection.setChangeEvents(false);\n selection.setAllSelected(false);\n selection.setIndexSelected(index, !isSelected, true);\n selection.setChangeEvents(true);\n }\n else {\n return;\n }\n ev.stopPropagation();\n // NOTE: ev.preventDefault is not called for toggle clicks, because this will kill the browser behavior\n // for checkboxes if you use a checkbox for the toggle.\n };\n SelectionZone.prototype._onInvokeClick = function (ev, index) {\n var _a = this.props, selection = _a.selection, onItemInvoked = _a.onItemInvoked;\n if (onItemInvoked) {\n onItemInvoked(selection.getItems()[index], index, ev.nativeEvent);\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n SelectionZone.prototype._onItemSurfaceClick = function (ev, index) {\n var _a = this.props, selection = _a.selection, selectionMode = _a.selectionMode;\n var isToggleModifierPressed = this._isCtrlPressed || this._isMetaPressed;\n if (selectionMode === interfaces_1.SelectionMode.multiple) {\n if (this._isShiftPressed) {\n selection.selectToIndex(index, !isToggleModifierPressed);\n }\n else if (isToggleModifierPressed) {\n selection.toggleIndexSelected(index);\n }\n else {\n this._clearAndSelectIndex(index);\n }\n }\n else if (selectionMode === interfaces_1.SelectionMode.single) {\n this._clearAndSelectIndex(index);\n }\n };\n SelectionZone.prototype._onInvokeMouseDown = function (ev, index) {\n var selection = this.props.selection;\n // Only do work if item is not selected.\n if (selection.isIndexSelected(index)) {\n return;\n }\n this._clearAndSelectIndex(index);\n };\n SelectionZone.prototype._tryClearOnEmptyClick = function (ev) {\n if (!this.props.selectionPreservedOnEmptyClick &&\n this._isNonHandledClick(ev.target)) {\n this.props.selection.setAllSelected(false);\n }\n };\n SelectionZone.prototype._clearAndSelectIndex = function (index) {\n var selection = this.props.selection;\n var isAlreadySingleSelected = selection.getSelectedCount() === 1 && selection.isIndexSelected(index);\n if (!isAlreadySingleSelected) {\n selection.setChangeEvents(false);\n selection.setAllSelected(false);\n selection.setIndexSelected(index, true, true);\n selection.setChangeEvents(true);\n }\n };\n /**\n * We need to track the modifier key states so that when focus events occur, which do not contain\n * modifier states in the Event object, we know how to behave.\n */\n SelectionZone.prototype._updateModifiers = function (ev) {\n this._isShiftPressed = ev.shiftKey;\n this._isCtrlPressed = ev.ctrlKey;\n this._isMetaPressed = ev.metaKey;\n };\n SelectionZone.prototype._findItemRoot = function (target) {\n var selection = this.props.selection;\n while (target !== this.refs.root) {\n var indexValue = target.getAttribute(SELECTION_INDEX_ATTRIBUTE_NAME);\n var index = Number(indexValue);\n if (indexValue !== null && index >= 0 && index < selection.getItems().length) {\n break;\n }\n target = Utilities_1.getParent(target);\n }\n if (target === this.refs.root) {\n return undefined;\n }\n return target;\n };\n SelectionZone.prototype._getItemIndex = function (itemRoot) {\n return Number(itemRoot.getAttribute(SELECTION_INDEX_ATTRIBUTE_NAME));\n };\n SelectionZone.prototype._hasAttribute = function (element, attributeName) {\n var isToggle = false;\n while (!isToggle && element !== this.refs.root) {\n isToggle = element.getAttribute(attributeName) === 'true';\n element = Utilities_1.getParent(element);\n }\n return isToggle;\n };\n SelectionZone.prototype._isInputElement = function (element) {\n return element.tagName === 'INPUT' || element.tagName === 'TEXTAREA';\n };\n SelectionZone.prototype._isNonHandledClick = function (element) {\n var doc = Utilities_1.getDocument();\n if (doc && element) {\n while (element && element !== doc.documentElement) {\n if (Utilities_1.isElementTabbable(element)) {\n return false;\n }\n element = Utilities_1.getParent(element);\n }\n }\n return true;\n };\n return SelectionZone;\n}(Utilities_1.BaseComponent));\nSelectionZone.defaultProps = {\n layout: new SelectionLayout_1.SelectionLayout(interfaces_1.SelectionDirection.vertical),\n isMultiSelectEnabled: true,\n isSelectedOnFocus: true,\n selectionMode: interfaces_1.SelectionMode.multiple\n};\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"ignoreNextFocus\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onMouseDownCapture\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onFocus\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onMouseDown\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onClick\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onContextMenu\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onDoubleClick\", null);\n__decorate([\n Utilities_1.autobind\n], SelectionZone.prototype, \"_onKeyDown\", null);\nexports.SelectionZone = SelectionZone;\n\n"
|
|
},
|
|
{
|
|
"id": 221,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"index": 221,
|
|
"index2": 250,
|
|
"size": 26212,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 215,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsList",
|
|
"loc": "7:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar DetailsList_Props_1 = require(\"../DetailsList/DetailsList.Props\");\nvar DetailsHeader_1 = require(\"../DetailsList/DetailsHeader\");\nvar DetailsRow_1 = require(\"../DetailsList/DetailsRow\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar GroupedList_1 = require(\"../../GroupedList\");\nvar List_1 = require(\"../../List\");\nvar withViewport_1 = require(\"../../utilities/decorators/withViewport\");\nvar index_1 = require(\"../../utilities/selection/index\");\nvar DragDropHelper_1 = require(\"../../utilities/dragdrop/DragDropHelper\");\nvar stylesImport = require(\"./DetailsList.scss\");\nvar styles = stylesImport;\nvar MIN_COLUMN_WIDTH = 100; // this is the global min width\nvar CHECKBOX_WIDTH = 36;\nvar GROUP_EXPAND_WIDTH = 36;\nvar DEFAULT_INNER_PADDING = 16;\nvar DEFAULT_RENDERED_WINDOWS_AHEAD = 2;\nvar DEFAULT_RENDERED_WINDOWS_BEHIND = 2;\nvar DetailsList = (function (_super) {\n __extends(DetailsList, _super);\n function DetailsList(props) {\n var _this = _super.call(this, props) || this;\n _this._activeRows = {};\n _this._columnOverrides = {};\n _this._onColumnIsSizingChanged = _this._onColumnIsSizingChanged.bind(_this);\n _this._onColumnResized = _this._onColumnResized.bind(_this);\n _this._onColumnAutoResized = _this._onColumnAutoResized.bind(_this);\n _this._onRowDidMount = _this._onRowDidMount.bind(_this);\n _this._onRowWillUnmount = _this._onRowWillUnmount.bind(_this);\n _this._onToggleCollapse = _this._onToggleCollapse.bind(_this);\n _this._onActiveRowChanged = _this._onActiveRowChanged.bind(_this);\n _this._onHeaderKeyDown = _this._onHeaderKeyDown.bind(_this);\n _this._onContentKeyDown = _this._onContentKeyDown.bind(_this);\n _this._onRenderCell = _this._onRenderCell.bind(_this);\n _this._onGroupExpandStateChanged = _this._onGroupExpandStateChanged.bind(_this);\n _this.state = {\n lastWidth: 0,\n adjustedColumns: _this._getAdjustedColumns(props),\n layoutMode: props.layoutMode,\n isSizing: false,\n isDropping: false,\n isCollapsed: props.groupProps && props.groupProps.isAllGroupsCollapsed,\n isSomeGroupExpanded: props.groupProps && !props.groupProps.isAllGroupsCollapsed\n };\n _this._selection = props.selection || new index_1.Selection({ onSelectionChanged: null, getKey: props.getKey });\n _this._selection.setItems(props.items, false);\n _this._dragDropHelper = props.dragDropEvents ? new DragDropHelper_1.DragDropHelper({\n selection: _this._selection,\n minimumPixelsForDrag: props.minimumPixelsForDrag\n }) : null;\n _this._initialFocusedIndex = props.initialFocusedIndex;\n return _this;\n }\n DetailsList.prototype.componentWillUnmount = function () {\n if (this._dragDropHelper) {\n this._dragDropHelper.dispose();\n }\n };\n DetailsList.prototype.componentDidUpdate = function (prevProps, prevState) {\n if (this._initialFocusedIndex !== undefined) {\n var row = this._activeRows[this._initialFocusedIndex];\n if (row) {\n this._setFocusToRowIfPending(row);\n }\n }\n if (this.props.onDidUpdate) {\n this.props.onDidUpdate(this);\n }\n };\n DetailsList.prototype.componentWillReceiveProps = function (newProps) {\n var _a = this.props, checkboxVisibility = _a.checkboxVisibility, items = _a.items, setKey = _a.setKey, selectionMode = _a.selectionMode, columns = _a.columns, viewport = _a.viewport;\n var layoutMode = this.state.layoutMode;\n var shouldResetSelection = (newProps.setKey !== setKey) || newProps.setKey === undefined;\n var shouldForceUpdates = false;\n if (newProps.layoutMode !== this.props.layoutMode) {\n layoutMode = newProps.layoutMode;\n this.setState({ layoutMode: layoutMode });\n shouldForceUpdates = true;\n }\n if (shouldResetSelection) {\n this._initialFocusedIndex = newProps.initialFocusedIndex;\n }\n if (newProps.items !== items) {\n this._selection.setItems(newProps.items, shouldResetSelection);\n }\n if (newProps.checkboxVisibility !== checkboxVisibility ||\n newProps.columns !== columns ||\n newProps.viewport.width !== viewport.width) {\n shouldForceUpdates = true;\n }\n this._adjustColumns(newProps, true, layoutMode);\n if (newProps.selectionMode !== selectionMode) {\n shouldForceUpdates = true;\n }\n if (shouldForceUpdates) {\n this._forceListUpdates();\n }\n };\n DetailsList.prototype.render = function () {\n var _this = this;\n var _a = this.props, ariaLabelForListHeader = _a.ariaLabelForListHeader, ariaLabelForSelectAllCheckbox = _a.ariaLabelForSelectAllCheckbox, className = _a.className, checkboxVisibility = _a.checkboxVisibility, constrainMode = _a.constrainMode, dragDropEvents = _a.dragDropEvents, groups = _a.groups, groupProps = _a.groupProps, items = _a.items, isHeaderVisible = _a.isHeaderVisible, onItemInvoked = _a.onItemInvoked, onItemContextMenu = _a.onItemContextMenu, onColumnHeaderClick = _a.onColumnHeaderClick, onColumnHeaderContextMenu = _a.onColumnHeaderContextMenu, selectionMode = _a.selectionMode, selectionPreservedOnEmptyClick = _a.selectionPreservedOnEmptyClick, ariaLabel = _a.ariaLabel, ariaLabelForGrid = _a.ariaLabelForGrid, rowElementEventMap = _a.rowElementEventMap, _b = _a.shouldApplyApplicationRole, shouldApplyApplicationRole = _b === void 0 ? false : _b, getKey = _a.getKey;\n var _c = this.state, adjustedColumns = _c.adjustedColumns, isCollapsed = _c.isCollapsed, layoutMode = _c.layoutMode, isSizing = _c.isSizing, isSomeGroupExpanded = _c.isSomeGroupExpanded;\n var _d = this, selection = _d._selection, dragDropHelper = _d._dragDropHelper;\n var groupNestingDepth = this._getGroupNestingDepth();\n var additionalListProps = {\n renderedWindowsAhead: isSizing ? 0 : DEFAULT_RENDERED_WINDOWS_AHEAD,\n renderedWindowsBehind: isSizing ? 0 : DEFAULT_RENDERED_WINDOWS_BEHIND,\n getKey: getKey\n };\n var selectAllVisibility = DetailsHeader_1.SelectAllVisibility.none; // for SelectionMode.none\n if (selectionMode === index_1.SelectionMode.single) {\n selectAllVisibility = DetailsHeader_1.SelectAllVisibility.hidden;\n }\n if (selectionMode === index_1.SelectionMode.multiple) {\n // if isCollapsedGroupSelectVisible is false, disable select all when the list has all collapsed groups\n var isCollapsedGroupSelectVisible = groupProps && groupProps.headerProps && groupProps.headerProps.isCollapsedGroupSelectVisible;\n if (isCollapsedGroupSelectVisible === undefined) {\n isCollapsedGroupSelectVisible = true;\n }\n var isSelectAllVisible = isCollapsedGroupSelectVisible || !groups || isSomeGroupExpanded;\n selectAllVisibility = isSelectAllVisible ? DetailsHeader_1.SelectAllVisibility.visible : DetailsHeader_1.SelectAllVisibility.hidden;\n }\n if (checkboxVisibility === DetailsList_Props_1.CheckboxVisibility.hidden) {\n selectAllVisibility = DetailsHeader_1.SelectAllVisibility.none;\n }\n return (\n // If shouldApplyApplicationRole is true, role application will be applied to make arrow keys work\n // with JAWS.\n React.createElement(\"div\", __assign({ ref: 'root', className: Utilities_1.css('ms-DetailsList', styles.root, className, (_e = {\n 'is-fixed': layoutMode === DetailsList_Props_1.DetailsListLayoutMode.fixedColumns\n },\n _e['is-horizontalConstrained ' + styles.rootIsHorizontalConstrained] = constrainMode === DetailsList_Props_1.ConstrainMode.horizontalConstrained,\n _e)), \"data-automationid\": 'DetailsList', \"data-is-scrollable\": 'false', \"aria-label\": ariaLabel }, (shouldApplyApplicationRole ? { role: 'application' } : {})),\n React.createElement(\"div\", { role: 'grid', \"aria-label\": ariaLabelForGrid, \"aria-rowcount\": items ? items.length : 0, \"aria-colcount\": adjustedColumns ? adjustedColumns.length : 0 },\n React.createElement(\"div\", { onKeyDown: this._onHeaderKeyDown, role: 'presentation' }, isHeaderVisible && (React.createElement(DetailsHeader_1.DetailsHeader, { ref: 'header', selectionMode: selectionMode, layoutMode: layoutMode, selection: selection, columns: adjustedColumns, onColumnClick: onColumnHeaderClick, onColumnContextMenu: onColumnHeaderContextMenu, onColumnResized: this._onColumnResized, onColumnIsSizingChanged: this._onColumnIsSizingChanged, onColumnAutoResized: this._onColumnAutoResized, groupNestingDepth: groupNestingDepth, isAllCollapsed: isCollapsed, onToggleCollapseAll: this._onToggleCollapse, ariaLabel: ariaLabelForListHeader, ariaLabelForSelectAllCheckbox: ariaLabelForSelectAllCheckbox, selectAllVisibility: selectAllVisibility }))),\n React.createElement(\"div\", { ref: 'contentContainer', onKeyDown: this._onContentKeyDown, role: 'presentation' },\n React.createElement(FocusZone_1.FocusZone, { ref: 'focusZone', className: styles.focusZone, direction: FocusZone_1.FocusZoneDirection.vertical, isInnerZoneKeystroke: function (ev) { return (ev.which === Utilities_1.getRTLSafeKeyCode(Utilities_1.KeyCodes.right)); }, onActiveElementChanged: this._onActiveRowChanged },\n React.createElement(index_1.SelectionZone, { ref: 'selectionZone', selection: selection, selectionPreservedOnEmptyClick: selectionPreservedOnEmptyClick, selectionMode: selectionMode, onItemInvoked: onItemInvoked, onItemContextMenu: onItemContextMenu }, groups ? (React.createElement(GroupedList_1.GroupedList, { groups: groups, groupProps: groupProps, items: items, onRenderCell: this._onRenderCell, selection: selection, selectionMode: selectionMode, dragDropEvents: dragDropEvents, dragDropHelper: dragDropHelper, eventsToRegister: rowElementEventMap, listProps: additionalListProps, onGroupExpandStateChanged: this._onGroupExpandStateChanged, ref: 'groupedList' })) : (React.createElement(List_1.List, __assign({ role: null, items: items, onRenderCell: function (item, itemIndex) { return _this._onRenderCell(0, item, itemIndex); } }, additionalListProps, { ref: 'list' })))))))));\n var _e;\n };\n DetailsList.prototype.forceUpdate = function () {\n _super.prototype.forceUpdate.call(this);\n this._forceListUpdates();\n };\n DetailsList.prototype._onRenderRow = function (props, defaultRender) {\n return React.createElement(DetailsRow_1.DetailsRow, __assign({}, props));\n };\n DetailsList.prototype._onRenderCell = function (nestingDepth, item, index) {\n var _a = this.props, dragDropEvents = _a.dragDropEvents, eventsToRegister = _a.rowElementEventMap, onRenderMissingItem = _a.onRenderMissingItem, onRenderItemColumn = _a.onRenderItemColumn, _b = _a.onRenderRow, onRenderRow = _b === void 0 ? this._onRenderRow : _b, selectionMode = _a.selectionMode, viewport = _a.viewport, checkboxVisibility = _a.checkboxVisibility, getRowAriaLabel = _a.getRowAriaLabel, checkButtonAriaLabel = _a.checkButtonAriaLabel;\n var selection = this._selection;\n var dragDropHelper = this._dragDropHelper;\n var columns = this.state.adjustedColumns;\n if (!item) {\n if (onRenderMissingItem) {\n onRenderMissingItem(index);\n }\n return null;\n }\n return onRenderRow({\n item: item,\n itemIndex: index,\n columns: columns,\n groupNestingDepth: nestingDepth,\n selectionMode: selectionMode,\n selection: selection,\n onDidMount: this._onRowDidMount,\n onWillUnmount: this._onRowWillUnmount,\n onRenderItemColumn: onRenderItemColumn,\n eventsToRegister: eventsToRegister,\n dragDropEvents: dragDropEvents,\n dragDropHelper: dragDropHelper,\n viewport: viewport,\n checkboxVisibility: checkboxVisibility,\n getRowAriaLabel: getRowAriaLabel,\n checkButtonAriaLabel: checkButtonAriaLabel\n }, this._onRenderRow);\n };\n DetailsList.prototype._onGroupExpandStateChanged = function (isSomeGroupExpanded) {\n this.setState({ isSomeGroupExpanded: isSomeGroupExpanded });\n };\n DetailsList.prototype._onColumnIsSizingChanged = function (column, isSizing) {\n this.setState({ isSizing: isSizing });\n };\n DetailsList.prototype._onHeaderKeyDown = function (ev) {\n if (ev.which === Utilities_1.KeyCodes.down) {\n if (this.refs.focusZone && this.refs.focusZone.focus()) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n };\n DetailsList.prototype._onContentKeyDown = function (ev) {\n if (ev.which === Utilities_1.KeyCodes.up) {\n if (this.refs.header && this.refs.header.focus()) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n };\n DetailsList.prototype._getGroupNestingDepth = function () {\n var groups = this.props.groups;\n var level = 0;\n var groupsInLevel = groups;\n while (groupsInLevel && groupsInLevel.length > 0) {\n level++;\n groupsInLevel = groupsInLevel[0].children;\n }\n return level;\n };\n DetailsList.prototype._onRowDidMount = function (row) {\n var onRowDidMount = this.props.onRowDidMount;\n var index = row.props.itemIndex;\n this._activeRows[index] = row; // this is used for column auto resize\n this._setFocusToRowIfPending(row);\n if (onRowDidMount) {\n onRowDidMount(row.props.item, index);\n }\n };\n DetailsList.prototype._setFocusToRowIfPending = function (row) {\n var index = row.props.itemIndex;\n if (this._initialFocusedIndex !== undefined && index === this._initialFocusedIndex) {\n if (this.refs.selectionZone) {\n this.refs.selectionZone.ignoreNextFocus();\n }\n this._async.setTimeout(function () { return row.focus(); }, 0);\n delete this._initialFocusedIndex;\n }\n };\n DetailsList.prototype._onRowWillUnmount = function (row) {\n var onRowWillUnmount = this.props.onRowWillUnmount;\n var index = row.props.itemIndex;\n delete this._activeRows[index];\n this._events.off(row.refs.root);\n if (onRowWillUnmount) {\n onRowWillUnmount(row.props.item, index);\n }\n };\n DetailsList.prototype._onToggleCollapse = function (collapsed) {\n this.setState({\n isCollapsed: collapsed\n });\n if (this.refs.groupedList) {\n this.refs.groupedList.toggleCollapseAll(collapsed);\n }\n };\n DetailsList.prototype._forceListUpdates = function () {\n if (this.refs.groupedList) {\n this.refs.groupedList.forceUpdate();\n }\n if (this.refs.list) {\n this.refs.list.forceUpdate();\n }\n };\n DetailsList.prototype._adjustColumns = function (newProps, forceUpdate, layoutMode) {\n var adjustedColumns = this._getAdjustedColumns(newProps, forceUpdate, layoutMode);\n var viewportWidth = this.props.viewport.width;\n if (adjustedColumns) {\n this.setState({\n adjustedColumns: adjustedColumns,\n lastWidth: viewportWidth,\n layoutMode: layoutMode\n });\n }\n };\n /** Returns adjusted columns, given the viewport size and layout mode. */\n DetailsList.prototype._getAdjustedColumns = function (newProps, forceUpdate, layoutMode) {\n var _this = this;\n var newColumns = newProps.columns, newItems = newProps.items, viewportWidth = newProps.viewport.width, selectionMode = newProps.selectionMode;\n if (layoutMode === undefined) {\n layoutMode = newProps.layoutMode;\n }\n var columns = this.props ? this.props.columns : [];\n var lastWidth = this.state ? this.state.lastWidth : -1;\n var lastSelectionMode = this.state ? this.state.lastSelectionMode : undefined;\n if (viewportWidth !== undefined) {\n if (!forceUpdate &&\n lastWidth === viewportWidth &&\n lastSelectionMode === selectionMode &&\n (!columns || newColumns === columns)) {\n return;\n }\n }\n else {\n viewportWidth = this.props.viewport.width;\n }\n newColumns = newColumns || buildColumns(newItems, true);\n var adjustedColumns;\n if (layoutMode === DetailsList_Props_1.DetailsListLayoutMode.fixedColumns) {\n adjustedColumns = this._getFixedColumns(newColumns);\n }\n else {\n adjustedColumns = this._getJustifiedColumns(newColumns, viewportWidth, newProps);\n }\n // Preserve adjusted column calculated widths.\n adjustedColumns.forEach(function (column) {\n var overrides = _this._columnOverrides[column.key] = _this._columnOverrides[column.key] || {};\n overrides.calculatedWidth = column.calculatedWidth;\n });\n return adjustedColumns;\n };\n /** Builds a set of columns based on the given columns mixed with the current overrides. */\n DetailsList.prototype._getFixedColumns = function (newColumns) {\n var _this = this;\n return newColumns.map(function (column) {\n var newColumn = Utilities_1.assign({}, column, _this._columnOverrides[column.key]);\n if (!newColumn.calculatedWidth) {\n newColumn.calculatedWidth = newColumn.maxWidth || newColumn.minWidth || MIN_COLUMN_WIDTH;\n }\n return newColumn;\n });\n };\n /** Builds a set of columns to fix within the viewport width. */\n DetailsList.prototype._getJustifiedColumns = function (newColumns, viewportWidth, props) {\n var selectionMode = props.selectionMode, groups = props.groups;\n var outerPadding = DEFAULT_INNER_PADDING;\n var rowCheckWidth = (selectionMode !== index_1.SelectionMode.none) ? CHECKBOX_WIDTH : 0;\n var groupExpandWidth = groups ? GROUP_EXPAND_WIDTH : 0;\n var totalWidth = 0; // offset because we have one less inner padding.\n var availableWidth = viewportWidth - (outerPadding + rowCheckWidth + groupExpandWidth);\n var adjustedColumns = newColumns.map(function (column, i) {\n var newColumn = Utilities_1.assign({}, column, {\n calculatedWidth: column.minWidth || MIN_COLUMN_WIDTH\n });\n totalWidth += newColumn.calculatedWidth + (i > 0 ? DEFAULT_INNER_PADDING : 0);\n return newColumn;\n });\n var lastIndex = adjustedColumns.length - 1;\n // Remove collapsable columns.\n while (lastIndex > 1 && totalWidth > availableWidth) {\n var column = adjustedColumns[lastIndex];\n if (column.isCollapsable) {\n totalWidth -= column.calculatedWidth + DEFAULT_INNER_PADDING;\n adjustedColumns.splice(lastIndex, 1);\n }\n lastIndex--;\n }\n // Then expand columns starting at the beginning, until we've filled the width.\n for (var i = 0; i < adjustedColumns.length && totalWidth < availableWidth; i++) {\n var column = adjustedColumns[i];\n var maxWidth = column.maxWidth;\n var minWidth = column.minWidth || maxWidth || MIN_COLUMN_WIDTH;\n var spaceLeft = availableWidth - totalWidth;\n var increment = maxWidth ? Math.min(spaceLeft, maxWidth - minWidth) : spaceLeft;\n // Add remaining space to the last column.\n if (i === (adjustedColumns.length - 1)) {\n increment = spaceLeft;\n }\n column.calculatedWidth += increment;\n totalWidth += increment;\n }\n // Mark the last column as not resizable to avoid extra scrolling issues.\n if (adjustedColumns.length) {\n adjustedColumns[adjustedColumns.length - 1].isResizable = false;\n }\n return adjustedColumns;\n };\n DetailsList.prototype._onColumnResized = function (resizingColumn, newWidth) {\n var newCalculatedWidth = Math.max(resizingColumn.minWidth || MIN_COLUMN_WIDTH, newWidth);\n if (this.props.onColumnResize) {\n this.props.onColumnResize(resizingColumn, newCalculatedWidth);\n }\n this._columnOverrides[resizingColumn.key].calculatedWidth = newCalculatedWidth;\n this._adjustColumns(this.props, true, DetailsList_Props_1.DetailsListLayoutMode.fixedColumns);\n this._forceListUpdates();\n };\n /**\n * Callback function when double clicked on the details header column resizer\n * which will measure the column cells of all the active rows and resize the\n * column to the max cell width.\n *\n * @private\n * @param {IColumn} column (double clicked column definition)\n * @param {number} columnIndex (double clicked column index)\n * @todo min width 100 should be changed to const value and should be consistent with the value used on _onSizerMove method in DetailsHeader\n */\n DetailsList.prototype._onColumnAutoResized = function (column, columnIndex) {\n var _this = this;\n var max = 0;\n var count = 0;\n var totalCount = Object.keys(this._activeRows).length;\n for (var key in this._activeRows) {\n if (this._activeRows.hasOwnProperty(key)) {\n var currentRow = this._activeRows[key];\n currentRow.measureCell(columnIndex, function (width) {\n max = Math.max(max, width);\n count++;\n if (count === totalCount) {\n _this._onColumnResized(column, max);\n }\n });\n }\n }\n };\n /**\n * Call back function when an element in FocusZone becomes active. It will transalate it into item\n * and call onActiveItemChanged callback if specified.\n *\n * @private\n * @param {el} row element that became active in Focus Zone\n * @param {ev} focus event from Focus Zone\n */\n DetailsList.prototype._onActiveRowChanged = function (el, ev) {\n var _a = this.props, items = _a.items, onActiveItemChanged = _a.onActiveItemChanged;\n if (!onActiveItemChanged || !el) {\n return;\n }\n var index = Number(el.getAttribute('data-item-index'));\n if (index >= 0) {\n onActiveItemChanged(items[index], index, ev);\n }\n };\n ;\n return DetailsList;\n}(Utilities_1.BaseComponent));\nDetailsList.defaultProps = {\n layoutMode: DetailsList_Props_1.DetailsListLayoutMode.justified,\n selectionMode: index_1.SelectionMode.multiple,\n constrainMode: DetailsList_Props_1.ConstrainMode.horizontalConstrained,\n checkboxVisibility: DetailsList_Props_1.CheckboxVisibility.onHover,\n isHeaderVisible: true\n};\n__decorate([\n Utilities_1.autobind\n], DetailsList.prototype, \"_onRenderRow\", null);\nDetailsList = __decorate([\n withViewport_1.withViewport\n], DetailsList);\nexports.DetailsList = DetailsList;\nfunction buildColumns(items, canResizeColumns, onColumnClick, sortedColumnKey, isSortedDescending, groupedColumnKey, isMultiline) {\n var columns = [];\n if (items && items.length) {\n var firstItem = items[0];\n var isFirstColumn = true;\n for (var propName in firstItem) {\n if (firstItem.hasOwnProperty(propName)) {\n columns.push({\n key: propName,\n name: propName,\n fieldName: propName,\n minWidth: MIN_COLUMN_WIDTH,\n maxWidth: 300,\n isCollapsable: !!columns.length,\n isMultiline: (isMultiline === undefined) ? false : isMultiline,\n isSorted: sortedColumnKey === propName,\n isSortedDescending: !!isSortedDescending,\n isRowHeader: false,\n columnActionsMode: DetailsList_Props_1.ColumnActionsMode.clickable,\n isResizable: canResizeColumns,\n onColumnClick: onColumnClick,\n isGrouped: groupedColumnKey === propName\n });\n isFirstColumn = false;\n }\n }\n }\n return columns;\n}\nexports.buildColumns = buildColumns;\n\n"
|
|
},
|
|
{
|
|
"id": 222,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.Props.js",
|
|
"index": 222,
|
|
"index2": 216,
|
|
"size": 2442,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 215,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsList.Props",
|
|
"loc": "8:9-39"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../DetailsList/DetailsList.Props",
|
|
"loc": "29:26-69"
|
|
},
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsList.Props",
|
|
"loc": "21:26-56"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsList.Props",
|
|
"loc": "23:26-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Enum to describe how a particular column header behaves.... This enum is used to\n * to specify the property IColumn:columnActionsMode.\n * If IColumn:columnActionsMode is undefined, then it's equivalent to ColumnActionsMode.clickable\n */\nvar ColumnActionsMode;\n(function (ColumnActionsMode) {\n /**\n * Renders the column header as disabled.\n */\n ColumnActionsMode[ColumnActionsMode[\"disabled\"] = 0] = \"disabled\";\n /**\n * Renders the column header is clickable.\n */\n ColumnActionsMode[ColumnActionsMode[\"clickable\"] = 1] = \"clickable\";\n /**\n * Renders the column header ias clickable and displays the dropdown cheveron.\n */\n ColumnActionsMode[ColumnActionsMode[\"hasDropdown\"] = 2] = \"hasDropdown\";\n})(ColumnActionsMode = exports.ColumnActionsMode || (exports.ColumnActionsMode = {}));\nvar ConstrainMode;\n(function (ConstrainMode) {\n /** If specified, lets the content grow which allows the page to manage scrolling. */\n ConstrainMode[ConstrainMode[\"unconstrained\"] = 0] = \"unconstrained\";\n /**\n * If specified, constrains the list to the given layout space.\n */\n ConstrainMode[ConstrainMode[\"horizontalConstrained\"] = 1] = \"horizontalConstrained\";\n})(ConstrainMode = exports.ConstrainMode || (exports.ConstrainMode = {}));\nvar DetailsListLayoutMode;\n(function (DetailsListLayoutMode) {\n /**\n * Lets the user resize columns and makes not attempt to fit them.\n */\n DetailsListLayoutMode[DetailsListLayoutMode[\"fixedColumns\"] = 0] = \"fixedColumns\";\n /**\n * Manages which columns are visible, tries to size them according to their min/max rules and drops\n * off columns that can't fit and have isCollapsable set.\n */\n DetailsListLayoutMode[DetailsListLayoutMode[\"justified\"] = 1] = \"justified\";\n})(DetailsListLayoutMode = exports.DetailsListLayoutMode || (exports.DetailsListLayoutMode = {}));\nvar CheckboxVisibility;\n(function (CheckboxVisibility) {\n /**\n * Visible on hover.\n */\n CheckboxVisibility[CheckboxVisibility[\"onHover\"] = 0] = \"onHover\";\n /**\n * Visible always.\n */\n CheckboxVisibility[CheckboxVisibility[\"always\"] = 1] = \"always\";\n /**\n * Hide checkboxes.\n */\n CheckboxVisibility[CheckboxVisibility[\"hidden\"] = 2] = \"hidden\";\n})(CheckboxVisibility = exports.CheckboxVisibility || (exports.CheckboxVisibility = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 223,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"index": 223,
|
|
"index2": 224,
|
|
"size": 15071,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../DetailsList/DetailsHeader",
|
|
"loc": "30:22-61"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar DetailsList_Props_1 = require(\"./DetailsList.Props\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar Check_1 = require(\"../../Check\");\nvar Icon_1 = require(\"../../Icon\");\nvar Layer_1 = require(\"../../Layer\");\nvar GroupSpacer_1 = require(\"../GroupedList/GroupSpacer\");\nvar interfaces_1 = require(\"../../utilities/selection/interfaces\");\nvar stylesImport = require(\"./DetailsHeader.scss\");\nvar styles = stylesImport;\nvar MOUSEDOWN_PRIMARY_BUTTON = 0; // for mouse down event we are using ev.button property, 0 means left button\nvar MOUSEMOVE_PRIMARY_BUTTON = 1; // for mouse move event we are using ev.buttons property, 1 means left button\nvar INNER_PADDING = 16;\nvar SelectAllVisibility;\n(function (SelectAllVisibility) {\n SelectAllVisibility[SelectAllVisibility[\"none\"] = 0] = \"none\";\n SelectAllVisibility[SelectAllVisibility[\"hidden\"] = 1] = \"hidden\";\n SelectAllVisibility[SelectAllVisibility[\"visible\"] = 2] = \"visible\";\n})(SelectAllVisibility = exports.SelectAllVisibility || (exports.SelectAllVisibility = {}));\nvar DetailsHeader = (function (_super) {\n __extends(DetailsHeader, _super);\n function DetailsHeader(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n columnResizeDetails: null,\n groupNestingDepth: _this.props.groupNestingDepth,\n isAllCollapsed: _this.props.isAllCollapsed\n };\n _this._onToggleCollapseAll = _this._onToggleCollapseAll.bind(_this);\n _this._onSelectAllClicked = _this._onSelectAllClicked.bind(_this);\n return _this;\n }\n DetailsHeader.prototype.componentDidMount = function () {\n var selection = this.props.selection;\n this._events.on(selection, interfaces_1.SELECTION_CHANGE, this._onSelectionChanged);\n // We need to use native on this to avoid MarqueeSelection from handling the event before us.\n this._events.on(this.refs.root, 'mousedown', this._onRootMouseDown);\n };\n DetailsHeader.prototype.componentWillReceiveProps = function (newProps) {\n var groupNestingDepth = this.state.groupNestingDepth;\n if (newProps.groupNestingDepth !== groupNestingDepth) {\n this.setState({ groupNestingDepth: newProps.groupNestingDepth });\n }\n };\n DetailsHeader.prototype.render = function () {\n var _this = this;\n var _a = this.props, columns = _a.columns, ariaLabel = _a.ariaLabel, ariaLabelForSelectAllCheckbox = _a.ariaLabelForSelectAllCheckbox, selectAllVisibility = _a.selectAllVisibility;\n var _b = this.state, isAllSelected = _b.isAllSelected, columnResizeDetails = _b.columnResizeDetails, isSizing = _b.isSizing, groupNestingDepth = _b.groupNestingDepth, isAllCollapsed = _b.isAllCollapsed;\n return (React.createElement(\"div\", { role: 'row', \"aria-label\": ariaLabel, className: Utilities_1.css('ms-DetailsHeader', styles.root, (_c = {},\n _c['is-allSelected ' + styles.rootIsAllSelected] = isAllSelected,\n _c['is-selectAllHidden ' + styles.rootIsSelectAllHidden] = selectAllVisibility === SelectAllVisibility.hidden,\n _c['is-resizingColumn'] = !!columnResizeDetails && isSizing,\n _c)), ref: 'root', onMouseMove: this._onRootMouseMove, \"data-automationid\": 'DetailsHeader' },\n React.createElement(FocusZone_1.FocusZone, { ref: 'focusZone', direction: FocusZone_1.FocusZoneDirection.horizontal },\n (selectAllVisibility !== SelectAllVisibility.none) ? (React.createElement(\"div\", { className: Utilities_1.css('ms-DetailsHeader-cellWrapper', styles.cellWrapper), role: 'columnheader' },\n React.createElement(\"button\", { type: 'button', className: Utilities_1.css('ms-DetailsHeader-cell is-check', styles.cell, styles.cellIsCheck), onClick: this._onSelectAllClicked, \"aria-label\": ariaLabelForSelectAllCheckbox, \"aria-pressed\": isAllSelected },\n React.createElement(Check_1.Check, { checked: isAllSelected })))) : null,\n groupNestingDepth > 0 ? (React.createElement(\"button\", { type: 'button', className: Utilities_1.css('ms-DetailsHeader-cell', styles.cell), onClick: this._onToggleCollapseAll },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-DetailsHeader-collapseButton', styles.collapseButton, isAllCollapsed && ('is-collapsed ' + styles.collapseButtonIsCollapsed)), iconName: 'ChevronDown' }))) : (null),\n GroupSpacer_1.GroupSpacer({ count: groupNestingDepth - 1 }),\n columns.map(function (column, columnIndex) {\n return (React.createElement(\"div\", { key: column.key, className: Utilities_1.css('ms-DetailsHeader-cellWrapper', styles.cellWrapper), role: 'columnheader', \"aria-sort\": column.isSorted ? (column.isSortedDescending ? 'descending' : 'ascending') : 'none' },\n React.createElement(\"button\", { type: 'button', key: column.fieldName, disabled: column.columnActionsMode === DetailsList_Props_1.ColumnActionsMode.disabled, className: Utilities_1.css('ms-DetailsHeader-cell', styles.cell, column.headerClassName, (_a = {},\n _a['is-actionable ' + styles.cellIsActionable] = column.columnActionsMode !== DetailsList_Props_1.ColumnActionsMode.disabled,\n _a['is-empty ' + styles.cellIsEmpty] = !column.name,\n _a['is-icon-visible'] = column.isSorted || column.isGrouped || column.isFiltered,\n _a)), style: { width: column.calculatedWidth + INNER_PADDING }, onClick: _this._onColumnClick.bind(_this, column), onContextMenu: _this._onColumnContextMenu.bind(_this, column), \"aria-haspopup\": column.columnActionsMode === DetailsList_Props_1.ColumnActionsMode.hasDropdown, \"aria-label\": column.ariaLabel || column.name, \"data-automationid\": 'ColumnsHeaderColumn', \"data-item-key\": column.key },\n column.isFiltered && (React.createElement(Icon_1.Icon, { className: styles.nearIcon, iconName: 'Filter' })),\n column.isSorted && (React.createElement(Icon_1.Icon, { className: styles.nearIcon, iconName: column.isSortedDescending ? 'SortDown' : 'SortUp' })),\n column.isGrouped && (React.createElement(Icon_1.Icon, { className: styles.nearIcon, iconName: 'GroupedDescending' })),\n column.iconClassName && (React.createElement(Icon_1.Icon, { className: Utilities_1.css(styles.nearIcon, column.iconClassName), iconName: column.iconName })),\n column.name,\n column.columnActionsMode === DetailsList_Props_1.ColumnActionsMode.hasDropdown && (React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-DetailsHeader-filterChevron', styles.filterChevron), iconName: 'ChevronDown' }))),\n (column.isResizable) && (React.createElement(\"div\", { \"data-sizer-index\": columnIndex, className: Utilities_1.css('ms-DetailsHeader-cell is-sizer', styles.cell, styles.cellIsSizer, (_b = {},\n _b['is-resizing ' + styles.cellIsResizing] = isSizing && columnResizeDetails.columnIndex === columnIndex,\n _b)), onDoubleClick: _this._onSizerDoubleClick.bind(_this, columnIndex) }))));\n var _a, _b;\n })),\n isSizing && (React.createElement(Layer_1.Layer, null,\n React.createElement(\"div\", { className: Utilities_1.css(isSizing && styles.sizingOverlay), onMouseMove: this._onSizerMouseMove, onMouseUp: this._onSizerMouseUp })))));\n var _c;\n };\n /** Set focus to the active thing in the focus area. */\n DetailsHeader.prototype.focus = function () {\n return this.refs.focusZone.focus();\n };\n /**\n * double click on the column sizer will auto ajust column width\n * to fit the longest content among current rendered rows.\n *\n * @private\n * @param {number} columnIndex (index of the column user double clicked)\n * @param {React.MouseEvent} ev (mouse double click event)\n */\n DetailsHeader.prototype._onSizerDoubleClick = function (columnIndex, ev) {\n var _a = this.props, onColumnAutoResized = _a.onColumnAutoResized, columns = _a.columns;\n if (onColumnAutoResized) {\n onColumnAutoResized(columns[columnIndex], columnIndex);\n }\n };\n /**\n * Called when the select all toggle is clicked.\n */\n DetailsHeader.prototype._onSelectAllClicked = function () {\n var selection = this.props.selection;\n selection.toggleAllSelected();\n };\n DetailsHeader.prototype._onRootMouseDown = function (ev) {\n var columnIndexAttr = ev.target.getAttribute('data-sizer-index');\n var columnIndex = Number(columnIndexAttr);\n var columns = this.props.columns;\n if (columnIndexAttr === null || ev.button !== MOUSEDOWN_PRIMARY_BUTTON) {\n // Ignore anything except the primary button.\n return;\n }\n this.setState({\n columnResizeDetails: {\n columnIndex: columnIndex,\n columnMinWidth: columns[columnIndex].calculatedWidth,\n originX: ev.clientX\n }\n });\n ev.preventDefault();\n ev.stopPropagation();\n };\n DetailsHeader.prototype._onRootMouseMove = function (ev) {\n var _a = this.state, columnResizeDetails = _a.columnResizeDetails, isSizing = _a.isSizing;\n if (columnResizeDetails && !isSizing && ev.clientX !== columnResizeDetails.originX) {\n this.setState({ isSizing: true });\n }\n };\n /**\n * mouse move event handler in the header\n * it will set isSizing state to true when user clicked on the sizer and move the mouse.\n *\n * @private\n * @param {React.MouseEvent} ev (mouse move event)\n */\n DetailsHeader.prototype._onSizerMouseMove = function (ev) {\n var \n // use buttons property here since ev.button in some edge case is not upding well during the move.\n // but firefox doesn't support it, so we set the default value when it is not defined.\n buttons = ev.buttons;\n var _a = this.props, onColumnIsSizingChanged = _a.onColumnIsSizingChanged, onColumnResized = _a.onColumnResized, columns = _a.columns;\n var columnResizeDetails = this.state.columnResizeDetails;\n if (buttons !== undefined && buttons !== MOUSEMOVE_PRIMARY_BUTTON) {\n // cancel mouse down event and return early when the primary button is not pressed\n this._onSizerMouseUp(ev);\n return;\n }\n if (ev.clientX !== columnResizeDetails.originX) {\n if (onColumnIsSizingChanged) {\n onColumnIsSizingChanged(columns[columnResizeDetails.columnIndex], true);\n }\n }\n if (onColumnResized) {\n var movement = ev.clientX - columnResizeDetails.originX;\n if (Utilities_1.getRTL()) {\n movement = -movement;\n }\n onColumnResized(columns[columnResizeDetails.columnIndex], columnResizeDetails.columnMinWidth + movement);\n }\n };\n /**\n * mouse up event handler in the header\n * clear the resize related state.\n * This is to ensure we can catch double click event\n *\n * @private\n * @param {React.MouseEvent} ev (mouse up event)\n */\n DetailsHeader.prototype._onSizerMouseUp = function (ev) {\n var _a = this.props, columns = _a.columns, onColumnIsSizingChanged = _a.onColumnIsSizingChanged;\n var columnResizeDetails = this.state.columnResizeDetails;\n this.setState({\n columnResizeDetails: null,\n isSizing: false\n });\n if (onColumnIsSizingChanged) {\n onColumnIsSizingChanged(columns[columnResizeDetails.columnIndex], false);\n }\n };\n DetailsHeader.prototype._onSelectionChanged = function () {\n var isAllSelected = this.props.selection.isAllSelected();\n if (this.state.isAllSelected !== isAllSelected) {\n this.setState({\n isAllSelected: isAllSelected\n });\n }\n };\n DetailsHeader.prototype._onColumnClick = function (column, ev) {\n var onColumnClick = this.props.onColumnClick;\n if (column.onColumnClick) {\n column.onColumnClick(ev, column);\n }\n if (onColumnClick) {\n onColumnClick(ev, column);\n }\n };\n DetailsHeader.prototype._onColumnContextMenu = function (column, ev) {\n var onColumnContextMenu = this.props.onColumnContextMenu;\n if (column.onContextMenu) {\n column.onColumnContextMenu(column, ev);\n }\n if (onColumnContextMenu) {\n onColumnContextMenu(column, ev);\n }\n };\n DetailsHeader.prototype._onToggleCollapseAll = function () {\n var onToggleCollapseAll = this.props.onToggleCollapseAll;\n var newCollapsed = !this.state.isAllCollapsed;\n this.setState({\n isAllCollapsed: newCollapsed\n });\n if (onToggleCollapseAll) {\n onToggleCollapseAll(newCollapsed);\n }\n };\n return DetailsHeader;\n}(Utilities_1.BaseComponent));\nDetailsHeader.defaultProps = {\n isSelectAllVisible: SelectAllVisibility.visible\n};\n__decorate([\n Utilities_1.autobind\n], DetailsHeader.prototype, \"_onSelectAllClicked\", null);\n__decorate([\n Utilities_1.autobind\n], DetailsHeader.prototype, \"_onRootMouseDown\", null);\n__decorate([\n Utilities_1.autobind\n], DetailsHeader.prototype, \"_onRootMouseMove\", null);\n__decorate([\n Utilities_1.autobind\n], DetailsHeader.prototype, \"_onSizerMouseMove\", null);\n__decorate([\n Utilities_1.autobind\n], DetailsHeader.prototype, \"_onSizerMouseUp\", null);\nexports.DetailsHeader = DetailsHeader;\n\n"
|
|
},
|
|
{
|
|
"id": 224,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Check.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Check.js",
|
|
"index": 224,
|
|
"index2": 220,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowCheck.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Check",
|
|
"loc": "23:14-36"
|
|
},
|
|
{
|
|
"moduleId": 232,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowCheck.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Check",
|
|
"loc": "7:14-36"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Check",
|
|
"loc": "22:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Check/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 225,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Check/index.js",
|
|
"index": 225,
|
|
"index2": 219,
|
|
"size": 205,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Check.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 224,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Check.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Check.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Check.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Check/index",
|
|
"loc": "6:9-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Check\"));\n\n"
|
|
},
|
|
{
|
|
"id": 226,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"index": 226,
|
|
"index2": 218,
|
|
"size": 1955,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 225,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Check/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Check/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Check",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Icon_1 = require(\"../../Icon\");\nvar stylesImport = require(\"./Check.scss\");\nvar styles = stylesImport;\nvar Check = (function (_super) {\n __extends(Check, _super);\n function Check() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Check.prototype.shouldComponentUpdate = function (newProps) {\n return this.props.isChecked !== newProps.isChecked || this.props.checked !== newProps.checked;\n };\n Check.prototype.render = function () {\n var _a = this.props, isChecked = _a.isChecked, checked = _a.checked;\n isChecked = isChecked || checked;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Check', styles.root, isChecked && ('is-checked ' + styles.rootIsChecked)) },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Check-background', styles.background), iconName: 'fullCircleMask' }),\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Check-circle', styles.circle), iconName: 'circleRing' }),\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Check-check', styles.check), iconName: 'checkMark' })));\n };\n return Check;\n}(Utilities_1.BaseComponent));\nCheck.defaultProps = {\n isChecked: false\n};\nexports.Check = Check;\n\n"
|
|
},
|
|
{
|
|
"id": 227,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Check/Check.scss.js",
|
|
"index": 227,
|
|
"index2": 217,
|
|
"size": 1599,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 226,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Check\\Check.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Check/Check.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Check.scss",
|
|
"loc": "16:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_62ed7d7f',\n rootIsChecked: 'rootIsChecked_62ed7d7f',\n background: 'background_62ed7d7f',\n circle: 'circle_62ed7d7f',\n check: 'check_62ed7d7f',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_62ed7d7f{line-height:1;width:24px;height:24px;vertical-align:top;position:relative;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rootIsChecked_62ed7d7f,.root_62ed7d7f:focus,.root_62ed7d7f:hover{opacity:1}.background_62ed7d7f,.check_62ed7d7f,.circle_62ed7d7f{position:absolute;height:24px;width:24px;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:24px}.background_62ed7d7f{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.rootIsChecked_62ed7d7f .background_62ed7d7f{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.circle_62ed7d7f{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.rootIsChecked_62ed7d7f .circle_62ed7d7f{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.check_62ed7d7f{width:auto;height:auto;color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";font-size:12px}.rootIsChecked_62ed7d7f .check_62ed7d7f{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";font-weight:900}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 228,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"index": 228,
|
|
"index2": 222,
|
|
"size": 547,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../GroupedList/GroupSpacer",
|
|
"loc": "26:20-57"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../GroupedList/GroupSpacer",
|
|
"loc": "25:20-57"
|
|
},
|
|
{
|
|
"moduleId": 239,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupSpacer",
|
|
"loc": "22:20-44"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupSpacer",
|
|
"loc": "24:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./GroupSpacer.scss\");\nvar styles = stylesImport;\nvar SPACER_WIDTH = 36;\nexports.GroupSpacer = function (props) {\n return props.count > 0 && (React.createElement(\"span\", { className: Utilities_1.css('ms-GroupSpacer', styles.root), style: { width: props.count * SPACER_WIDTH } }));\n};\n\n"
|
|
},
|
|
{
|
|
"id": 229,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.scss.js",
|
|
"index": 229,
|
|
"index2": 221,
|
|
"size": 288,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 228,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupSpacer.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupSpacer.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupSpacer.scss",
|
|
"loc": "7:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_e4cefdbe',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_e4cefdbe{display:inline-block}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 230,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.scss.js",
|
|
"index": 230,
|
|
"index2": 223,
|
|
"size": 5004,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 223,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsHeader.scss",
|
|
"loc": "28:19-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_67d3f40a',\n rootIsSelectAllHidden: 'rootIsSelectAllHidden_67d3f40a',\n cell: 'cell_67d3f40a',\n cellIsCheck: 'cellIsCheck_67d3f40a',\n rootIsAllSelected: 'rootIsAllSelected_67d3f40a',\n cellWrapper: 'cellWrapper_67d3f40a',\n cellIsActionable: 'cellIsActionable_67d3f40a',\n cellIsSizer: 'cellIsSizer_67d3f40a',\n cellIsEmpty: 'cellIsEmpty_67d3f40a',\n cellIsResizing: 'cellIsResizing_67d3f40a',\n collapseButton: 'collapseButton_67d3f40a',\n collapseButtonIsCollapsed: 'collapseButtonIsCollapsed_67d3f40a',\n nearIcon: 'nearIcon_67d3f40a',\n filterChevron: 'filterChevron_67d3f40a',\n sizingOverlay: 'sizingOverlay_67d3f40a',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_67d3f40a{display:inline-block;min-width:100%;vertical-align:top;height:36px;line-height:36px;white-space:nowrap;padding-bottom:1px;border-bottom:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.root_67d3f40a.rootIsSelectAllHidden_67d3f40a .cell_67d3f40a.cellIsCheck_67d3f40a{visibility:hidden}.cell_67d3f40a.cellIsCheck_67d3f40a .ms-Check-circle{opacity:0}.cell_67d3f40a.cellIsCheck_67d3f40a:focus .ms-Check-circle,.cell_67d3f40a.cellIsCheck_67d3f40a:hover .ms-Check-circle,.root_67d3f40a.rootIsAllSelected_67d3f40a .ms-Check-circle{opacity:1}.cellWrapper_67d3f40a{display:inline-block;position:relative}.cell_67d3f40a{font-size:12px;font-weight:400;background:0 0;color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";font-weight:400;position:relative;display:inline-block;box-sizing:border-box;padding:0 8px;border:none;line-height:inherit;margin:0;height:36px;vertical-align:top;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cell_67d3f40a::-moz-focus-inner{border:0}.cell_67d3f40a{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .cell_67d3f40a:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}html[dir=ltr] .cell_67d3f40a{text-align:left}html[dir=rtl] .cell_67d3f40a{text-align:right}html[dir=ltr] .cell_67d3f40a{text-align:left}html[dir=rtl] .cell_67d3f40a{text-align:right}.cell_67d3f40a.cellIsCheck_67d3f40a{position:relative;padding:6px;margin:0}.cell_67d3f40a.cellIsActionable_67d3f40a{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.cell_67d3f40a.cellIsActionable_67d3f40a:hover{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";background:\" }, { \"theme\": \"neutralLighterAlt\", \"defaultValue\": \"#f8f8f8\" }, { \"rawString\": \"}.cell_67d3f40a.cellIsActionable_67d3f40a:active{background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.cell_67d3f40a.cellIsSizer_67d3f40a{position:absolute;width:16px;cursor:ew-resize;bottom:0;top:0;height:inherit;background:0 0}html[dir=ltr] .cell_67d3f40a.cellIsSizer_67d3f40a{margin-left:-10px}html[dir=rtl] .cell_67d3f40a.cellIsSizer_67d3f40a{margin-right:-10px}.cell_67d3f40a.cellIsEmpty_67d3f40a{text-overflow:clip}.cell_67d3f40a.cellIsSizer_67d3f40a:after{content:'';position:absolute;left:50%;top:0;bottom:0;width:1px;background:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";opacity:0}.cell_67d3f40a.cellIsSizer_67d3f40a.cellIsResizing_67d3f40a:after,.cell_67d3f40a.cellIsSizer_67d3f40a:hover:after{opacity:1;transition:opacity .3s linear}.collapseButton_67d3f40a{text-align:center;-webkit-transform:rotate(-180deg);transform:rotate(-180deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;transition:-webkit-transform .1s linear;transition:transform .1s linear;transition:transform .1s linear,-webkit-transform .1s linear;width:20px;outline:0}.collapseButton_67d3f40a.collapseButtonIsCollapsed_67d3f40a{-webkit-transform:rotate(0);transform:rotate(0)}.cell_67d3f40a .nearIcon_67d3f40a{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";opacity:1}html[dir=ltr] .cell_67d3f40a .nearIcon_67d3f40a{padding-right:4px}html[dir=rtl] .cell_67d3f40a .nearIcon_67d3f40a{padding-left:4px}.cell_67d3f40a .filterChevron_67d3f40a{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";vertical-align:middle}[dir=ltr] .cell_67d3f40a .filterChevron_67d3f40a{padding-left:4px}[dir=rtl] .cell_67d3f40a .filterChevron_67d3f40a{padding-right:4px}.sizingOverlay_67d3f40a{position:absolute;left:0;top:0;right:0;bottom:0;cursor:ew-resize;background:rgba(255,255,255,0)}html[dir=ltr] .cell_67d3f40a .collapseButton_67d3f40a{padding-right:0}html[dir=rtl] .cell_67d3f40a .collapseButton_67d3f40a{padding-left:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 231,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"index": 231,
|
|
"index2": 228,
|
|
"size": 11692,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 215,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRow",
|
|
"loc": "9:9-32"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../DetailsList/DetailsRow",
|
|
"loc": "31:19-55"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar DetailsList_Props_1 = require(\"./DetailsList.Props\");\nvar DetailsRowCheck_1 = require(\"./DetailsRowCheck\");\nvar GroupSpacer_1 = require(\"../GroupedList/GroupSpacer\");\nvar DetailsRowFields_1 = require(\"./DetailsRowFields\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar interfaces_1 = require(\"../../utilities/selection/interfaces\");\nvar stylesImport = require(\"./DetailsRow.scss\");\nvar styles = stylesImport;\nvar Styling_1 = require(\"../../Styling\");\nvar DEFAULT_DROPPING_CSS_CLASS = 'is-dropping';\nvar DetailsRow = (function (_super) {\n __extends(DetailsRow, _super);\n function DetailsRow(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n selectionState: _this._getSelectionState(props),\n columnMeasureInfo: null,\n isDropping: false,\n groupNestingDepth: props.groupNestingDepth\n };\n _this._hasSetFocus = false;\n _this._droppingClassNames = '';\n _this._updateDroppingState = _this._updateDroppingState.bind(_this);\n return _this;\n }\n DetailsRow.prototype.componentDidMount = function () {\n var dragDropHelper = this.props.dragDropHelper;\n if (dragDropHelper) {\n this._dragDropSubscription = dragDropHelper.subscribe(this.refs.root, this._events, this._getRowDragDropOptions());\n }\n this._events.on(this.props.selection, interfaces_1.SELECTION_CHANGE, this._onSelectionChanged);\n if (this.props.onDidMount && this.props.item) {\n // If the item appears later, we should wait for it before calling this method.\n this._hasMounted = true;\n this.props.onDidMount(this);\n }\n };\n DetailsRow.prototype.componentDidUpdate = function (previousProps) {\n var state = this.state;\n var _a = this.props, item = _a.item, onDidMount = _a.onDidMount;\n var columnMeasureInfo = state.columnMeasureInfo;\n if (this.props.itemIndex !== previousProps.itemIndex ||\n this.props.item !== previousProps.item ||\n this.props.dragDropHelper !== previousProps.dragDropHelper) {\n if (this._dragDropSubscription) {\n this._dragDropSubscription.dispose();\n delete this._dragDropSubscription;\n }\n if (this.props.dragDropHelper) {\n this._dragDropSubscription = this.props.dragDropHelper.subscribe(this.refs.root, this._events, this._getRowDragDropOptions());\n }\n }\n if (columnMeasureInfo && columnMeasureInfo.index >= 0) {\n var newWidth = this.refs.cellMeasurer.getBoundingClientRect().width;\n columnMeasureInfo.onMeasureDone(newWidth);\n this.setState({\n columnMeasureInfo: null\n });\n }\n if (item && onDidMount && !this._hasMounted) {\n this._hasMounted = true;\n onDidMount(this);\n }\n };\n DetailsRow.prototype.componentWillUnmount = function () {\n var _a = this.props, item = _a.item, onWillUnmount = _a.onWillUnmount;\n // Only call the onWillUnmount callback if we have an item.\n if (onWillUnmount && item) {\n onWillUnmount(this);\n }\n if (this._dragDropSubscription) {\n this._dragDropSubscription.dispose();\n delete this._dragDropSubscription;\n }\n };\n DetailsRow.prototype.componentWillReceiveProps = function (newProps) {\n this.setState({\n selectionState: this._getSelectionState(newProps),\n groupNestingDepth: newProps.groupNestingDepth\n });\n };\n DetailsRow.prototype.render = function () {\n var _a = this.props, columns = _a.columns, dragDropEvents = _a.dragDropEvents, item = _a.item, itemIndex = _a.itemIndex, _b = _a.onRenderCheck, onRenderCheck = _b === void 0 ? this._onRenderCheck : _b, onRenderItemColumn = _a.onRenderItemColumn, selectionMode = _a.selectionMode, viewport = _a.viewport, checkboxVisibility = _a.checkboxVisibility, getRowAriaLabel = _a.getRowAriaLabel, checkButtonAriaLabel = _a.checkButtonAriaLabel, selection = _a.selection;\n var _c = this.state, _d = _c.selectionState, isSelected = _d.isSelected, anySelected = _d.anySelected, columnMeasureInfo = _c.columnMeasureInfo, isDropping = _c.isDropping, groupNestingDepth = _c.groupNestingDepth;\n var isDraggable = Boolean(dragDropEvents && dragDropEvents.canDrag && dragDropEvents.canDrag(item));\n var droppingClassName = isDropping ? (this._droppingClassNames ? this._droppingClassNames : DEFAULT_DROPPING_CSS_CLASS) : '';\n var ariaLabel = getRowAriaLabel ? getRowAriaLabel(item) : null;\n var canSelect = selection.canSelectItem(item);\n var isContentUnselectable = selectionMode === interfaces_1.SelectionMode.multiple;\n return (React.createElement(\"div\", __assign({}, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties), { ref: 'root', role: 'row', \"aria-label\": ariaLabel, className: Utilities_1.css('ms-DetailsRow', Styling_1.AnimationClassNames.fadeIn400, styles.root, droppingClassName, (_e = {},\n _e['is-contentUnselectable ' + styles.rootIsContentUnselectable] = isContentUnselectable,\n _e['is-selected ' + styles.rootIsSelected] = isSelected,\n _e['is-check-visible ' + styles.rootIsCheckVisible] = checkboxVisibility === DetailsList_Props_1.CheckboxVisibility.always,\n _e)), \"data-is-focusable\": true, \"data-selection-index\": itemIndex, \"data-item-index\": itemIndex, \"aria-rowindex\": itemIndex, \"data-is-draggable\": isDraggable, draggable: isDraggable, \"data-automationid\": 'DetailsRow', style: { minWidth: viewport ? viewport.width : 0 }, \"aria-selected\": isSelected }),\n React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.horizontal },\n (selectionMode !== interfaces_1.SelectionMode.none && checkboxVisibility !== DetailsList_Props_1.CheckboxVisibility.hidden) && (React.createElement(\"span\", { role: 'gridcell' }, onRenderCheck({\n isSelected: isSelected,\n anySelected: anySelected,\n ariaLabel: checkButtonAriaLabel,\n canSelect: canSelect\n }))),\n GroupSpacer_1.GroupSpacer({ count: groupNestingDepth }),\n item && (React.createElement(DetailsRowFields_1.DetailsRowFields, { columns: columns, item: item, itemIndex: itemIndex, onRenderItemColumn: onRenderItemColumn })),\n columnMeasureInfo && (React.createElement(\"span\", { className: Utilities_1.css('ms-DetailsRow-cellMeasurer ms-DetailsRow-cell', styles.cellMeasurer, styles.cell), ref: 'cellMeasurer' },\n React.createElement(DetailsRowFields_1.DetailsRowFields, { columns: [columnMeasureInfo.column], item: item, itemIndex: itemIndex, onRenderItemColumn: onRenderItemColumn }))))));\n var _e;\n };\n /**\n * measure cell at index. and call the call back with the measured cell width when finish measure\n *\n * @param {number} index (the cell index)\n * @param {(width: number) => void} onMeasureDone (the call back function when finish measure)\n */\n DetailsRow.prototype.measureCell = function (index, onMeasureDone) {\n var column = Utilities_1.assign({}, this.props.columns[index]);\n column.minWidth = 0;\n column.maxWidth = 999999;\n delete column.calculatedWidth;\n this.setState({\n columnMeasureInfo: {\n index: index,\n column: column,\n onMeasureDone: onMeasureDone\n }\n });\n };\n DetailsRow.prototype.focus = function () {\n if (this.refs && this.refs.root) {\n this.refs.root.tabIndex = 0;\n this.refs.root.focus();\n }\n };\n DetailsRow.prototype._onRenderCheck = function (props) {\n return React.createElement(DetailsRowCheck_1.DetailsRowCheck, __assign({}, props));\n };\n DetailsRow.prototype._getSelectionState = function (props) {\n var itemIndex = props.itemIndex, selection = props.selection;\n return {\n isSelected: selection.isIndexSelected(itemIndex),\n anySelected: selection.getSelectedCount() > 0\n };\n };\n DetailsRow.prototype._onSelectionChanged = function () {\n var selectionState = this._getSelectionState(this.props);\n if (!Utilities_1.shallowCompare(selectionState, this.state.selectionState)) {\n this.setState({\n selectionState: selectionState\n });\n }\n };\n DetailsRow.prototype._getRowDragDropOptions = function () {\n var _a = this.props, item = _a.item, itemIndex = _a.itemIndex, dragDropEvents = _a.dragDropEvents, eventsToRegister = _a.eventsToRegister;\n var options = {\n eventMap: eventsToRegister,\n selectionIndex: itemIndex,\n context: { data: item, index: itemIndex },\n canDrag: dragDropEvents.canDrag,\n canDrop: dragDropEvents.canDrop,\n onDragStart: dragDropEvents.onDragStart,\n updateDropState: this._updateDroppingState,\n onDrop: dragDropEvents.onDrop,\n onDragEnd: dragDropEvents.onDragEnd,\n };\n return options;\n };\n /**\n * update isDropping state based on the input value, which is used to change style during drag and drop\n *\n * when change to true, that means drag enter. we will add default dropping class name\n * or the custom dropping class name (return result from onDragEnter) to the root elemet.\n *\n * when change to false, that means drag leave. we will remove the dropping class name from root element.\n *\n * @private\n * @param {boolean} newValue (new isDropping state value)\n * @param {DragEvent} event (the event trigger dropping state change which can be dragenter, dragleave etc)\n */\n DetailsRow.prototype._updateDroppingState = function (newValue, event) {\n var _a = this.state, selectionState = _a.selectionState, isDropping = _a.isDropping;\n var _b = this.props, dragDropEvents = _b.dragDropEvents, item = _b.item;\n if (!newValue) {\n if (dragDropEvents.onDragLeave) {\n dragDropEvents.onDragLeave(item, event);\n }\n }\n else {\n if (dragDropEvents.onDragEnter) {\n this._droppingClassNames = dragDropEvents.onDragEnter(item, event);\n }\n }\n if (isDropping !== newValue) {\n this.setState({ selectionState: selectionState, isDropping: newValue });\n }\n };\n return DetailsRow;\n}(Utilities_1.BaseComponent));\nexports.DetailsRow = DetailsRow;\n\n"
|
|
},
|
|
{
|
|
"id": 232,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowCheck.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"index": 232,
|
|
"index2": 226,
|
|
"size": 956,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 215,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRowCheck",
|
|
"loc": "10:9-37"
|
|
},
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRowCheck",
|
|
"loc": "24:24-52"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar Check_1 = require(\"../../Check\");\nvar stylesImport = require(\"./DetailsRow.scss\");\nvar styles = stylesImport;\nexports.DetailsRowCheck = function (props) {\n var selected = props.isSelected || props.selected;\n return (React.createElement(\"button\", { type: 'button', className: Utilities_1.css('ms-DetailsRow-check', styles.check, (_a = {},\n _a[styles.checkDisabled] = !props.canSelect,\n _a['ms-DetailsRow-check--isDisabled'] = !props.canSelect,\n _a)), role: 'button', \"aria-pressed\": selected, \"data-selection-toggle\": true, \"data-automationid\": 'DetailsRowCheck', \"aria-label\": props.ariaLabel },\n React.createElement(Check_1.Check, { checked: selected })));\n var _a;\n};\n\n"
|
|
},
|
|
{
|
|
"id": 233,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.scss.js",
|
|
"index": 233,
|
|
"index2": 225,
|
|
"size": 2947,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRow.scss",
|
|
"loc": "29:19-47"
|
|
},
|
|
{
|
|
"moduleId": 232,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowCheck.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowCheck.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRow.scss",
|
|
"loc": "8:19-47"
|
|
},
|
|
{
|
|
"moduleId": 234,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowFields.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRow.scss",
|
|
"loc": "15:19-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_4b15dcc8',\n rootIsSelected: 'rootIsSelected_4b15dcc8',\n rootIsContentUnselectable: 'rootIsContentUnselectable_4b15dcc8',\n cell: 'cell_4b15dcc8',\n isMultiline: 'isMultiline_4b15dcc8',\n fields: 'fields_4b15dcc8',\n check: 'check_4b15dcc8',\n checkDisabled: 'checkDisabled_4b15dcc8',\n rootIsCheckVisible: 'rootIsCheckVisible_4b15dcc8',\n cellMeasurer: 'cellMeasurer_4b15dcc8',\n checkSpacer: 'checkSpacer_4b15dcc8',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_4b15dcc8{display:inline-block;min-width:100%;min-height:36px;margin:1px 0;vertical-align:top;white-space:nowrap;padding:0;box-sizing:border-box;background:0 0;border:none;vertical-align:top;line-height:16px}.root_4b15dcc8::-moz-focus-inner{border:0}.root_4b15dcc8{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .root_4b15dcc8:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}html[dir=ltr] .root_4b15dcc8{text-align:left}html[dir=rtl] .root_4b15dcc8{text-align:right}.root_4b15dcc8:hover{background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.rootIsSelected_4b15dcc8{background:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.rootIsSelected_4b15dcc8:hover{background:\" }, { \"theme\": \"neutralQuaternaryAlt\", \"defaultValue\": \"#dadada\" }, { \"rawString\": \"}.rootIsContentUnselectable_4b15dcc8{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.cell_4b15dcc8{display:inline-block;position:relative;box-sizing:border-box;padding:10px 0;margin:0 8px;min-height:36px;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell_4b15dcc8>button{max-width:100%}.isMultiline_4b15dcc8{white-space:normal;word-break:break-word;text-overflow:clip}.fields_4b15dcc8{display:inline-block}.check_4b15dcc8{display:inline-block;cursor:default;padding:6px;box-sizing:border-box;vertical-align:top;background:0 0;border:none;opacity:0}.check_4b15dcc8::-moz-focus-inner{border:0}.check_4b15dcc8{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .check_4b15dcc8:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.checkDisabled_4b15dcc8{visibility:hidden}.rootIsCheckVisible_4b15dcc8 .check_4b15dcc8,.rootIsSelected_4b15dcc8 .check_4b15dcc8,.root_4b15dcc8:hover .check_4b15dcc8{opacity:1}.cellMeasurer_4b15dcc8 .cell_4b15dcc8{overflow:visible;white-space:nowrap}.checkSpacer_4b15dcc8{display:inline-block;height:20px;width:20px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 234,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRowFields.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRowFields.js",
|
|
"index": 234,
|
|
"index2": 227,
|
|
"size": 3060,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 231,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsRow.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsRow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsRowFields",
|
|
"loc": "26:25-54"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./DetailsRow.scss\");\nvar styles = stylesImport;\nvar DetailsRowFields = (function (_super) {\n __extends(DetailsRowFields, _super);\n function DetailsRowFields(props) {\n var _this = _super.call(this) || this;\n _this.state = _this._getState(props);\n return _this;\n }\n DetailsRowFields.prototype.componentWillReceiveProps = function (newProps) {\n this.setState(this._getState(newProps));\n };\n DetailsRowFields.prototype.render = function () {\n var columns = this.props.columns;\n var cellContent = this.state.cellContent;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DetailsRow-fields', styles.fields), \"data-automationid\": 'DetailsRowFields' }, columns.map(function (column, columnIndex) {\n return (React.createElement(\"div\", { key: columnIndex, role: column.isRowHeader ? 'rowheader' : 'gridcell', \"aria-colindex\": columnIndex, className: Utilities_1.css('ms-DetailsRow-cell', styles.cell, column.className, (_a = {\n 'is-multiline': column.isMultiline\n },\n _a[styles.isMultiline] = column.isMultiline,\n _a)), style: { width: column.calculatedWidth }, \"data-automationid\": 'DetailsRowCell', \"data-automation-key\": column.key }, cellContent[columnIndex]));\n var _a;\n })));\n };\n DetailsRowFields.prototype._getState = function (props) {\n var _this = this;\n var item = props.item, itemIndex = props.itemIndex, onRenderItemColumn = props.onRenderItemColumn;\n return {\n cellContent: props.columns.map(function (column) {\n var cellContent;\n try {\n var render = column.onRender || onRenderItemColumn;\n cellContent = render ? render(item, itemIndex, column) : _this._getCellText(item, column);\n }\n catch (e) { }\n return cellContent;\n })\n };\n };\n DetailsRowFields.prototype._getCellText = function (item, column) {\n var value = (item && column && column.fieldName) ? item[column.fieldName] : '';\n if (value === null || value === undefined) {\n value = '';\n }\n return value;\n };\n return DetailsRowFields;\n}(Utilities_1.BaseComponent));\nexports.DetailsRowFields = DetailsRowFields;\n\n"
|
|
},
|
|
{
|
|
"id": 235,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\GroupedList.js",
|
|
"name": "./~/office-ui-fabric-react/lib/GroupedList.js",
|
|
"index": 235,
|
|
"index2": 245,
|
|
"size": 228,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupedList",
|
|
"loc": "28:9-33"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../GroupedList",
|
|
"loc": "33:20-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/GroupedList/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 236,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/index.js",
|
|
"index": 236,
|
|
"index2": 244,
|
|
"size": 211,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\GroupedList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 235,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/GroupedList/index",
|
|
"loc": "6:9-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./GroupedList\"));\n\n"
|
|
},
|
|
{
|
|
"id": 237,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"index": 237,
|
|
"index2": 243,
|
|
"size": 8977,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 236,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupedList",
|
|
"loc": "6:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar GroupedListSection_1 = require(\"./GroupedListSection\");\nvar List_1 = require(\"../../List\");\nvar index_1 = require(\"../../utilities/selection/index\");\nvar stylesImport = require(\"./GroupedList.scss\");\nvar styles = stylesImport;\nvar GroupedList = (function (_super) {\n __extends(GroupedList, _super);\n function GroupedList(props) {\n var _this = _super.call(this, props) || this;\n _this._isSomeGroupExpanded = _this._computeIsSomeGroupExpanded(props.groups);\n _this.state = {\n lastWidth: 0,\n groups: props.groups\n };\n return _this;\n }\n GroupedList.prototype.componentWillReceiveProps = function (newProps) {\n var _a = this.props, groups = _a.groups, selectionMode = _a.selectionMode;\n var shouldForceUpdates = false;\n if (newProps.groups !== groups) {\n this.setState({ groups: newProps.groups });\n shouldForceUpdates = true;\n }\n if (newProps.selectionMode !== selectionMode) {\n shouldForceUpdates = true;\n }\n if (shouldForceUpdates) {\n this._forceListUpdates();\n }\n };\n GroupedList.prototype.render = function () {\n var className = this.props.className;\n var groups = this.state.groups;\n return (React.createElement(\"div\", { ref: 'root', className: Utilities_1.css('ms-GroupedList', styles.root, className), \"data-automationid\": 'GroupedList', \"data-is-scrollable\": 'false', role: 'grid' }, !groups ?\n this._renderGroup(null, 0) : (React.createElement(List_1.List, { ref: 'list', items: groups, onRenderCell: this._renderGroup, getItemCountForPage: function () { return 1; } }))));\n };\n GroupedList.prototype.forceUpdate = function () {\n _super.prototype.forceUpdate.call(this);\n this._forceListUpdates();\n };\n GroupedList.prototype.toggleCollapseAll = function (allCollapsed) {\n var groups = this.state.groups;\n var groupProps = this.props.groupProps;\n var onToggleCollapseAll = groupProps && groupProps.onToggleCollapseAll;\n if (groups) {\n if (onToggleCollapseAll) {\n onToggleCollapseAll(allCollapsed);\n }\n for (var groupIndex = 0; groupIndex < groups.length; groupIndex++) {\n groups[groupIndex].isCollapsed = allCollapsed;\n }\n this._updateIsSomeGroupExpanded();\n this.forceUpdate();\n }\n };\n GroupedList.prototype._renderGroup = function (group, groupIndex) {\n var _a = this.props, dragDropEvents = _a.dragDropEvents, dragDropHelper = _a.dragDropHelper, eventsToRegister = _a.eventsToRegister, groupProps = _a.groupProps, items = _a.items, listProps = _a.listProps, onRenderCell = _a.onRenderCell, selectionMode = _a.selectionMode, selection = _a.selection, viewport = _a.viewport;\n // override group header/footer props as needed\n var dividerProps = {\n onToggleSelectGroup: this._onToggleSelectGroup,\n onToggleCollapse: this._onToggleCollapse,\n onToggleSummarize: this._onToggleSummarize\n };\n var headerProps = Utilities_1.assign({}, groupProps.headerProps, dividerProps);\n var footerProps = Utilities_1.assign({}, groupProps.footerProps, dividerProps);\n var groupNestingDepth = this._getGroupNestingDepth();\n return (!group || group.count > 0) ? (React.createElement(GroupedListSection_1.GroupedListSection, { ref: 'group_' + groupIndex, key: this._getGroupKey(group, groupIndex), dragDropEvents: dragDropEvents, dragDropHelper: dragDropHelper, eventsToRegister: eventsToRegister, footerProps: footerProps, getGroupItemLimit: groupProps && groupProps.getGroupItemLimit, group: group, groupIndex: groupIndex, groupNestingDepth: groupNestingDepth, headerProps: headerProps, listProps: listProps, items: items, onRenderCell: onRenderCell, onRenderGroupHeader: groupProps.onRenderHeader, onRenderGroupFooter: groupProps.onRenderFooter, selectionMode: selectionMode, selection: selection, viewport: viewport })) : null;\n };\n GroupedList.prototype._getGroupKey = function (group, index) {\n return 'group-' + ((group && group.key) ? group.key : String(index));\n };\n GroupedList.prototype._getGroupNestingDepth = function () {\n var groups = this.state.groups;\n var level = 0;\n var groupsInLevel = groups;\n while (groupsInLevel && groupsInLevel.length > 0) {\n level++;\n groupsInLevel = groupsInLevel[0].children;\n }\n return level;\n };\n GroupedList.prototype._onToggleCollapse = function (group) {\n var groupProps = this.props.groupProps;\n var onToggleCollapse = groupProps && groupProps.headerProps && groupProps.headerProps.onToggleCollapse;\n if (group) {\n if (onToggleCollapse) {\n onToggleCollapse(group);\n }\n group.isCollapsed = !group.isCollapsed;\n this._updateIsSomeGroupExpanded();\n this.forceUpdate();\n }\n };\n GroupedList.prototype._onToggleSelectGroup = function (group) {\n if (group) {\n this.props.selection.toggleRangeSelected(group.startIndex, group.count);\n }\n };\n GroupedList.prototype._forceListUpdates = function (groups) {\n groups = groups || this.state.groups;\n var groupCount = groups ? groups.length : 1;\n if (this.refs.list) {\n this.refs.list.forceUpdate();\n for (var i = 0; i < groupCount; i++) {\n var group = this.refs.list.refs['group_' + String(i)];\n if (group) {\n group.forceListUpdate();\n }\n }\n }\n else {\n var group = this.refs['group_' + String(0)];\n if (group) {\n group.forceListUpdate();\n }\n }\n };\n GroupedList.prototype._onToggleSummarize = function (group) {\n var groupProps = this.props.groupProps;\n var onToggleSummarize = groupProps && groupProps.footerProps && groupProps.footerProps.onToggleSummarize;\n if (onToggleSummarize) {\n onToggleSummarize(group);\n }\n else {\n if (group) {\n group.isShowingAll = !group.isShowingAll;\n }\n this.forceUpdate();\n }\n };\n GroupedList.prototype._computeIsSomeGroupExpanded = function (groups) {\n var _this = this;\n return groups && groups.some(function (group) { return group.children ? _this._computeIsSomeGroupExpanded(group.children) : !group.isCollapsed; });\n };\n GroupedList.prototype._updateIsSomeGroupExpanded = function () {\n var groups = this.state.groups;\n var onGroupExpandStateChanged = this.props.onGroupExpandStateChanged;\n var newIsSomeGroupExpanded = this._computeIsSomeGroupExpanded(groups);\n if (this._isSomeGroupExpanded !== newIsSomeGroupExpanded) {\n if (onGroupExpandStateChanged) {\n onGroupExpandStateChanged(newIsSomeGroupExpanded);\n }\n this._isSomeGroupExpanded = newIsSomeGroupExpanded;\n }\n };\n return GroupedList;\n}(Utilities_1.BaseComponent));\nGroupedList.defaultProps = {\n selectionMode: index_1.SelectionMode.multiple,\n isHeaderVisible: true,\n groupProps: {}\n};\n__decorate([\n Utilities_1.autobind\n], GroupedList.prototype, \"_renderGroup\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedList.prototype, \"_onToggleCollapse\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedList.prototype, \"_onToggleSelectGroup\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedList.prototype, \"_onToggleSummarize\", null);\nexports.GroupedList = GroupedList;\n\n"
|
|
},
|
|
{
|
|
"id": 238,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"index": 238,
|
|
"index2": 242,
|
|
"size": 12155,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 237,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupedListSection",
|
|
"loc": "21:27-58"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar index_1 = require(\"../../utilities/selection/index\");\nvar GroupFooter_1 = require(\"./GroupFooter\");\nvar GroupHeader_1 = require(\"./GroupHeader\");\nvar List_1 = require(\"../../List\");\nvar Utilities_2 = require(\"../../Utilities\");\nvar stylesImport = require(\"./GroupedList.scss\");\nvar styles = stylesImport;\nvar DEFAULT_DROPPING_CSS_CLASS = 'is-dropping';\nvar GroupedListSection = (function (_super) {\n __extends(GroupedListSection, _super);\n function GroupedListSection(props) {\n var _this = _super.call(this, props) || this;\n var selection = props.selection, group = props.group;\n _this._subGroups = {};\n _this.state = {\n isDropping: false,\n isSelected: (selection && group) ? selection.isRangeSelected(group.startIndex, group.count) : false\n };\n return _this;\n }\n GroupedListSection.prototype.componentDidMount = function () {\n var _a = this.props, dragDropHelper = _a.dragDropHelper, selection = _a.selection;\n if (dragDropHelper) {\n this._dragDropSubscription = dragDropHelper.subscribe(this.refs.root, this._events, this._getGroupDragDropOptions());\n }\n if (selection) {\n this._events.on(selection, index_1.SELECTION_CHANGE, this._onSelectionChange);\n }\n };\n GroupedListSection.prototype.componentWillUnmount = function () {\n if (this._dragDropSubscription) {\n this._dragDropSubscription.dispose();\n }\n };\n GroupedListSection.prototype.componentDidUpdate = function (previousProps) {\n if (this.props.group !== previousProps.group ||\n this.props.groupIndex !== previousProps.groupIndex ||\n this.props.dragDropHelper !== previousProps.dragDropHelper) {\n if (this._dragDropSubscription) {\n this._dragDropSubscription.dispose();\n delete this._dragDropSubscription;\n }\n if (this.props.dragDropHelper) {\n this._dragDropSubscription = this.props.dragDropHelper.subscribe(this.refs.root, this._events, this._getGroupDragDropOptions());\n }\n }\n };\n GroupedListSection.prototype.render = function () {\n var _a = this.props, getGroupItemLimit = _a.getGroupItemLimit, group = _a.group, groupIndex = _a.groupIndex, headerProps = _a.headerProps, footerProps = _a.footerProps, viewport = _a.viewport, selectionMode = _a.selectionMode, _b = _a.onRenderGroupHeader, onRenderGroupHeader = _b === void 0 ? this._onRenderGroupHeader : _b, _c = _a.onRenderGroupFooter, onRenderGroupFooter = _c === void 0 ? this._onRenderGroupFooter : _c;\n var isSelected = this.state.isSelected;\n var renderCount = group && getGroupItemLimit ? getGroupItemLimit(group) : Infinity;\n var isFooterVisible = group && !group.children && !group.isCollapsed && !group.isShowingAll &&\n (group.count > renderCount || group.hasMoreData);\n var hasNestedGroups = group && group.children && group.children.length > 0;\n var dividerProps = {\n group: group,\n groupIndex: groupIndex,\n groupLevel: group ? group.level : 0,\n isSelected: isSelected,\n viewport: viewport,\n selectionMode: selectionMode\n };\n var groupHeaderProps = Utilities_2.assign({}, headerProps, dividerProps);\n var groupFooterProps = Utilities_2.assign({}, footerProps, dividerProps);\n return (React.createElement(\"div\", { ref: 'root', className: Utilities_2.css('ms-GroupedList-group', styles.group, this._getDroppingClassName()) },\n onRenderGroupHeader(groupHeaderProps, this._onRenderGroupHeader),\n group && group.isCollapsed ?\n null :\n (hasNestedGroups ?\n (React.createElement(List_1.List, { ref: 'list', items: group.children, onRenderCell: this._renderSubGroup, getItemCountForPage: function () { return 1; } })) :\n this._onRenderGroup(renderCount)),\n isFooterVisible && onRenderGroupFooter(groupFooterProps, this._onRenderGroupFooter)));\n };\n GroupedListSection.prototype.forceUpdate = function () {\n _super.prototype.forceUpdate.call(this);\n this.forceListUpdate();\n };\n GroupedListSection.prototype.forceListUpdate = function () {\n var group = this.props.group;\n if (this.refs.list) {\n this.refs.list.forceUpdate();\n if (group && group.children && group.children.length > 0) {\n var subGroupCount = group.children.length;\n for (var i = 0; i < subGroupCount; i++) {\n var subGroup = this.refs.list.refs['subGroup_' + String(i)];\n if (subGroup) {\n subGroup.forceListUpdate();\n }\n }\n }\n }\n else {\n var subGroup = this.refs['subGroup_' + String(0)];\n if (subGroup) {\n subGroup.forceListUpdate();\n }\n }\n };\n GroupedListSection.prototype._onRenderGroupHeader = function (props) {\n return React.createElement(GroupHeader_1.GroupHeader, __assign({}, props));\n };\n GroupedListSection.prototype._onRenderGroupFooter = function (props) {\n return React.createElement(GroupFooter_1.GroupFooter, __assign({}, props));\n };\n GroupedListSection.prototype._onSelectionChange = function () {\n var _a = this.props, group = _a.group, selection = _a.selection;\n var isSelected = selection.isRangeSelected(group.startIndex, group.count);\n if (isSelected !== this.state.isSelected) {\n this.setState({ isSelected: isSelected });\n }\n };\n GroupedListSection.prototype._onRenderGroup = function (renderCount) {\n var _a = this.props, group = _a.group, items = _a.items, onRenderCell = _a.onRenderCell, listProps = _a.listProps, groupNestingDepth = _a.groupNestingDepth;\n var count = group ? group.count : items.length;\n var startIndex = group ? group.startIndex : 0;\n return (React.createElement(List_1.List, __assign({ items: items, onRenderCell: function (item, itemIndex) { return onRenderCell(groupNestingDepth, item, itemIndex); }, ref: 'list', renderCount: Math.min(count, renderCount), startIndex: startIndex }, listProps)));\n };\n GroupedListSection.prototype._renderSubGroup = function (subGroup, subGroupIndex) {\n var _a = this.props, dragDropEvents = _a.dragDropEvents, dragDropHelper = _a.dragDropHelper, eventsToRegister = _a.eventsToRegister, getGroupItemLimit = _a.getGroupItemLimit, groupNestingDepth = _a.groupNestingDepth, items = _a.items, headerProps = _a.headerProps, footerProps = _a.footerProps, listProps = _a.listProps, onRenderCell = _a.onRenderCell, selection = _a.selection, selectionMode = _a.selectionMode, viewport = _a.viewport, onRenderGroupHeader = _a.onRenderGroupHeader, onRenderGroupFooter = _a.onRenderGroupFooter;\n return (!subGroup || subGroup.count > 0) ? (React.createElement(GroupedListSection, { ref: 'subGroup_' + subGroupIndex, key: this._getGroupKey(subGroup, subGroupIndex), dragDropEvents: dragDropEvents, dragDropHelper: dragDropHelper, eventsToRegister: eventsToRegister, footerProps: footerProps, getGroupItemLimit: getGroupItemLimit, group: subGroup, groupIndex: subGroupIndex, groupNestingDepth: groupNestingDepth, headerProps: headerProps, items: items, listProps: listProps, onRenderCell: onRenderCell, selection: selection, selectionMode: selectionMode, viewport: viewport, onRenderGroupHeader: onRenderGroupHeader, onRenderGroupFooter: onRenderGroupFooter })) : null;\n };\n GroupedListSection.prototype._getGroupKey = function (group, index) {\n return 'group-' + ((group && group.key) ? group.key : String(group.level) + String(index));\n };\n /**\n * collect all the data we need to enable drag/drop for a group\n */\n GroupedListSection.prototype._getGroupDragDropOptions = function () {\n var _a = this.props, group = _a.group, groupIndex = _a.groupIndex, dragDropEvents = _a.dragDropEvents, eventsToRegister = _a.eventsToRegister;\n var options = {\n eventMap: eventsToRegister,\n selectionIndex: -1,\n context: { data: group, index: groupIndex, isGroup: true },\n canDrag: function () { return false; },\n canDrop: dragDropEvents.canDrop,\n onDragStart: null,\n updateDropState: this._updateDroppingState\n };\n return options;\n };\n /**\n * update groupIsDropping state based on the input value, which is used to change style during drag and drop\n *\n * @private\n * @param {boolean} newValue (new isDropping state value)\n * @param {DragEvent} event (the event trigger dropping state change which can be dragenter, dragleave etc)\n */\n GroupedListSection.prototype._updateDroppingState = function (newIsDropping, event) {\n var isDropping = this.state.isDropping;\n var dragDropEvents = this.props.dragDropEvents;\n if (!isDropping) {\n if (dragDropEvents.onDragLeave) {\n dragDropEvents.onDragLeave(event, null);\n }\n }\n else {\n if (dragDropEvents.onDragEnter) {\n dragDropEvents.onDragEnter(event, null);\n }\n }\n if (isDropping !== newIsDropping) {\n this.setState({ isDropping: newIsDropping });\n }\n };\n /**\n * get the correct css class to reflect the dropping state for a given group\n *\n * If the group is the current drop target, return the default dropping class name\n * Otherwise, return '';\n *\n */\n GroupedListSection.prototype._getDroppingClassName = function () {\n var isDropping = this.state.isDropping;\n var group = this.props.group;\n isDropping = !!(group && isDropping);\n return Utilities_2.css(isDropping && DEFAULT_DROPPING_CSS_CLASS, isDropping && styles.groupIsDropping);\n };\n return GroupedListSection;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], GroupedListSection.prototype, \"_onRenderGroupHeader\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedListSection.prototype, \"_onRenderGroupFooter\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedListSection.prototype, \"_renderSubGroup\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedListSection.prototype, \"_getGroupDragDropOptions\", null);\n__decorate([\n Utilities_1.autobind\n], GroupedListSection.prototype, \"_updateDroppingState\", null);\nexports.GroupedListSection = GroupedListSection;\n\n"
|
|
},
|
|
{
|
|
"id": 239,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"index": 239,
|
|
"index2": 230,
|
|
"size": 2375,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupFooter",
|
|
"loc": "30:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Link_1 = require(\"../../Link\");\nvar GroupSpacer_1 = require(\"./GroupSpacer\");\nvar stylesImport = require(\"./GroupFooter.scss\");\nvar styles = stylesImport;\nvar GroupFooter = (function (_super) {\n __extends(GroupFooter, _super);\n function GroupFooter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GroupFooter.prototype.render = function () {\n var _a = this.props, group = _a.group, groupLevel = _a.groupLevel, showAllLinkText = _a.showAllLinkText;\n return group && (React.createElement(\"div\", { className: Utilities_1.css('ms-groupFooter', styles.root) },\n GroupSpacer_1.GroupSpacer({ count: groupLevel }),\n React.createElement(Link_1.Link, { onClick: this._onSummarizeClick }, showAllLinkText)));\n };\n GroupFooter.prototype._onSummarizeClick = function (ev) {\n this.props.onToggleSummarize(this.props.group);\n ev.stopPropagation();\n ev.preventDefault();\n };\n return GroupFooter;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], GroupFooter.prototype, \"_onSummarizeClick\", null);\nexports.GroupFooter = GroupFooter;\n\n"
|
|
},
|
|
{
|
|
"id": 240,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.scss.js",
|
|
"index": 240,
|
|
"index2": 229,
|
|
"size": 357,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 239,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupFooter.scss",
|
|
"loc": "23:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_22983be9',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_22983be9{position:relative;padding:10px 84px;cursor:pointer}.root_22983be9 .ms-Link{font-size:12px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 241,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"index": 241,
|
|
"index2": 237,
|
|
"size": 7103,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupHeader",
|
|
"loc": "31:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar index_1 = require(\"../../utilities/selection/index\");\nvar Check_1 = require(\"../../Check\");\nvar Icon_1 = require(\"../../Icon\");\nvar GroupSpacer_1 = require(\"./GroupSpacer\");\nvar Spinner_1 = require(\"../../Spinner\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar stylesImport = require(\"./GroupHeader.scss\");\nvar styles = stylesImport;\nvar GroupHeader = (function (_super) {\n __extends(GroupHeader, _super);\n function GroupHeader(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isCollapsed: _this.props.group && _this.props.group.isCollapsed,\n isLoadingVisible: false\n };\n return _this;\n }\n GroupHeader.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.group) {\n var newCollapsed = newProps.group.isCollapsed;\n var isGroupLoading = newProps.headerProps && newProps.headerProps.isGroupLoading;\n var newLoadingVisible = !newCollapsed && isGroupLoading && isGroupLoading(newProps.group);\n this.setState({\n isCollapsed: newCollapsed,\n isLoadingVisible: newLoadingVisible\n });\n }\n };\n GroupHeader.prototype.render = function () {\n var _a = this.props, group = _a.group, groupLevel = _a.groupLevel, viewport = _a.viewport, selectionMode = _a.selectionMode, loadingText = _a.loadingText, isSelected = _a.isSelected, selected = _a.selected, isCollapsedGroupSelectVisible = _a.isCollapsedGroupSelectVisible;\n var _b = this.state, isCollapsed = _b.isCollapsed, isLoadingVisible = _b.isLoadingVisible;\n if (isCollapsedGroupSelectVisible === undefined) {\n isCollapsedGroupSelectVisible = true;\n }\n var canSelectGroup = selectionMode === index_1.SelectionMode.multiple;\n var isSelectionCheckVisible = canSelectGroup && (isCollapsedGroupSelectVisible || !(group && group.isCollapsed));\n var currentlySelected = isSelected || selected;\n return group && (React.createElement(\"div\", { className: Utilities_1.css('ms-GroupHeader', styles.root, (_c = {},\n _c['is-selected ' + styles.rootIsSelected] = currentlySelected,\n _c)), style: viewport ? { minWidth: viewport.width } : {}, onClick: this._onHeaderClick, \"aria-label\": group.ariaLabel || group.name, \"data-is-focusable\": true },\n React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.horizontal },\n isSelectionCheckVisible ? (React.createElement(\"button\", { type: 'button', className: Utilities_1.css('ms-GroupHeader-check', styles.check), \"data-selection-toggle\": true, onClick: this._onToggleSelectGroupClick },\n React.createElement(Check_1.Check, { checked: currentlySelected }))) : (selectionMode !== index_1.SelectionMode.none ? GroupSpacer_1.GroupSpacer({ count: 1 }) : null),\n GroupSpacer_1.GroupSpacer({ count: groupLevel }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-GroupHeader-dropIcon', styles.dropIcon) },\n React.createElement(Icon_1.Icon, { iconName: 'Tag' })),\n React.createElement(\"button\", { type: 'button', className: Utilities_1.css('ms-GroupHeader-expand', styles.expand), onClick: this._onToggleCollapse },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css(isCollapsed && ('is-collapsed ' + styles.expandIsCollapsed)), iconName: 'ChevronDown' })),\n React.createElement(\"div\", { className: Utilities_1.css('ms-GroupHeader-title', styles.title) },\n React.createElement(\"span\", null, group.name),\n React.createElement(\"span\", null,\n \"(\",\n group.count,\n group.hasMoreData && '+',\n \")\")),\n React.createElement(\"div\", { className: Utilities_1.css('ms-GroupHeader-loading', styles.loading, isLoadingVisible && ('is-loading ' + styles.loadingIsVisible)) },\n React.createElement(Spinner_1.Spinner, { label: loadingText })))));\n var _c;\n };\n GroupHeader.prototype._onToggleCollapse = function (ev) {\n var _a = this.props, group = _a.group, onToggleCollapse = _a.onToggleCollapse, isGroupLoading = _a.isGroupLoading;\n var isCollapsed = this.state.isCollapsed;\n var newCollapsed = !isCollapsed;\n var newLoadingVisible = !newCollapsed && isGroupLoading && isGroupLoading(group);\n this.setState({\n isCollapsed: newCollapsed,\n isLoadingVisible: newLoadingVisible\n });\n if (onToggleCollapse) {\n onToggleCollapse(group);\n }\n ev.stopPropagation();\n ev.preventDefault();\n };\n GroupHeader.prototype._onToggleSelectGroupClick = function (ev) {\n var _a = this.props, onToggleSelectGroup = _a.onToggleSelectGroup, group = _a.group;\n if (onToggleSelectGroup) {\n onToggleSelectGroup(group);\n }\n ev.preventDefault();\n ev.stopPropagation();\n };\n GroupHeader.prototype._onHeaderClick = function () {\n var _a = this.props, group = _a.group, onGroupHeaderClick = _a.onGroupHeaderClick, onToggleSelectGroup = _a.onToggleSelectGroup;\n if (onGroupHeaderClick) {\n onGroupHeaderClick(group);\n }\n else if (onToggleSelectGroup) {\n onToggleSelectGroup(group);\n }\n };\n return GroupHeader;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], GroupHeader.prototype, \"_onToggleCollapse\", null);\n__decorate([\n Utilities_1.autobind\n], GroupHeader.prototype, \"_onToggleSelectGroupClick\", null);\n__decorate([\n Utilities_1.autobind\n], GroupHeader.prototype, \"_onHeaderClick\", null);\nexports.GroupHeader = GroupHeader;\n\n"
|
|
},
|
|
{
|
|
"id": 242,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Spinner.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Spinner.js",
|
|
"index": 242,
|
|
"index2": 235,
|
|
"size": 224,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Spinner",
|
|
"loc": "47:9-29"
|
|
},
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Spinner",
|
|
"loc": "25:16-40"
|
|
},
|
|
{
|
|
"moduleId": 320,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../Spinner",
|
|
"loc": "16:16-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Spinner/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 243,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Spinner/index.js",
|
|
"index": 243,
|
|
"index2": 234,
|
|
"size": 245,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Spinner.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 242,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Spinner.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Spinner.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Spinner.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Spinner/index",
|
|
"loc": "6:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Spinner\"));\n__export(require(\"./Spinner.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 244,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"index": 244,
|
|
"index2": 233,
|
|
"size": 2889,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 243,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Spinner",
|
|
"loc": "6:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Spinner_Props_1 = require(\"./Spinner.Props\");\nvar stylesImport = require(\"./Spinner.scss\");\nvar styles = stylesImport;\nvar Spinner = (function (_super) {\n __extends(Spinner, _super);\n function Spinner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Spinner.prototype.render = function () {\n var _a = this.props, type = _a.type, size = _a.size, label = _a.label, className = _a.className, ariaLive = _a.ariaLive, ariaLabel = _a.ariaLabel; // TODO remove deprecated type property at >= 2.0.0\n var statusMessage = ariaLabel || label;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Spinner', styles.root, className) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Spinner-circle', styles.circle, (_b = {},\n _b['ms-Spinner--xSmall ' + styles.circleIsXSmall] = size === Spinner_Props_1.SpinnerSize.xSmall,\n _b['ms-Spinner--small ' + styles.circleIsSmall] = size === Spinner_Props_1.SpinnerSize.small,\n _b['ms-Spinner--medium ' + styles.circleIsMedium] = size === Spinner_Props_1.SpinnerSize.medium,\n _b['ms-Spinner--large ' + styles.circleIsLarge] = size === Spinner_Props_1.SpinnerSize.large,\n _b['ms-Spinner--normal ' + styles.circleIsTypeMedium] = type === Spinner_Props_1.SpinnerType.normal,\n _b['ms-Spinner--large ' + styles.circleIsTypeLarge] = type === Spinner_Props_1.SpinnerType.large // TODO remove deprecated value at >= 2.0.0\n ,\n _b)) }),\n label && React.createElement(\"div\", { className: Utilities_1.css('ms-Spinner-label', styles.label) }, label),\n statusMessage &&\n React.createElement(\"div\", { role: 'status', \"aria-live\": this.props.ariaLive },\n React.createElement(Utilities_1.DelayedRender, null,\n React.createElement(\"div\", { className: styles.screenReaderOnly }, statusMessage)))));\n var _b;\n };\n return Spinner;\n}(Utilities_1.BaseComponent));\nSpinner.defaultProps = {\n size: Spinner_Props_1.SpinnerSize.medium,\n ariaLive: 'polite'\n};\nexports.Spinner = Spinner;\n\n"
|
|
},
|
|
{
|
|
"id": 245,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.Props.js",
|
|
"index": 245,
|
|
"index2": 231,
|
|
"size": 1078,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 243,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Spinner.Props",
|
|
"loc": "7:9-35"
|
|
},
|
|
{
|
|
"moduleId": 244,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Spinner.Props",
|
|
"loc": "15:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar SpinnerSize;\n(function (SpinnerSize) {\n /**\n * 12px Spinner diameter\n */\n SpinnerSize[SpinnerSize[\"xSmall\"] = 0] = \"xSmall\";\n /**\n * 16px Spinner diameter\n */\n SpinnerSize[SpinnerSize[\"small\"] = 1] = \"small\";\n /**\n * 20px Spinner diameter\n */\n SpinnerSize[SpinnerSize[\"medium\"] = 2] = \"medium\";\n /**\n * 28px Spinner diameter\n */\n SpinnerSize[SpinnerSize[\"large\"] = 3] = \"large\";\n})(SpinnerSize = exports.SpinnerSize || (exports.SpinnerSize = {}));\n/**\n * Deprecated at v2.0.0, use 'SpinnerSize' instead.\n * @deprecated\n */\nvar SpinnerType;\n(function (SpinnerType) {\n /**\n * Deprecated and will be removed at >= 2.0.0. Use SpinnerSize.medium instead.\n */\n SpinnerType[SpinnerType[\"normal\"] = 0] = \"normal\";\n /**\n * Deprecated and will be removed at >= 2.0.0. Use SpinnerSize.large instead.\n */\n SpinnerType[SpinnerType[\"large\"] = 1] = \"large\";\n})(SpinnerType = exports.SpinnerType || (exports.SpinnerType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 246,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.scss.js",
|
|
"index": 246,
|
|
"index2": 232,
|
|
"size": 2294,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 244,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Spinner\\Spinner.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Spinner/Spinner.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Spinner.scss",
|
|
"loc": "16:19-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_43227b55',\n circle: 'circle_43227b55',\n spinAnimation: 'spinAnimation_43227b55',\n circleIsXSmall: 'circleIsXSmall_43227b55',\n circleIsSmall: 'circleIsSmall_43227b55',\n circleIsTypeMedium: 'circleIsTypeMedium_43227b55',\n circleIsMedium: 'circleIsMedium_43227b55',\n circleIsTypeLarge: 'circleIsTypeLarge_43227b55',\n circleIsLarge: 'circleIsLarge_43227b55',\n label: 'label_43227b55',\n screenReaderOnly: 'screenReaderOnly_43227b55',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \"@-webkit-keyframes spinAnimation_43227b55{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinAnimation_43227b55{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.root_43227b55>.circle_43227b55{margin:auto;box-sizing:border-box;border-radius:50%;width:100%;height:100%;border:1.5px solid \" }, { \"theme\": \"themeLight\", \"defaultValue\": \"#c7e0f4\" }, { \"rawString\": \";border-top-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";-webkit-animation:spinAnimation_43227b55 1.3s infinite cubic-bezier(.53,.21,.29,.67);animation:spinAnimation_43227b55 1.3s infinite cubic-bezier(.53,.21,.29,.67)}.root_43227b55>.circle_43227b55.circleIsXSmall_43227b55{width:12px;height:12px}.root_43227b55>.circle_43227b55.circleIsSmall_43227b55{width:16px;height:16px}.root_43227b55>.circle_43227b55.circleIsMedium_43227b55,.root_43227b55>.circle_43227b55.circleIsTypeMedium_43227b55{width:20px;height:20px}.root_43227b55>.circle_43227b55.circleIsLarge_43227b55,.root_43227b55>.circle_43227b55.circleIsTypeLarge_43227b55{width:28px;height:28px}.root_43227b55 .label_43227b55{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";margin-top:10px;text-align:center}.root_43227b55 .screenReaderOnly_43227b55{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media screen and (-ms-high-contrast:active){.root_43227b55>.circle_43227b55{border-top-style:none}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 247,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.scss.js",
|
|
"index": 247,
|
|
"index2": 236,
|
|
"size": 4503,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 241,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupHeader.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupHeader.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupHeader.scss",
|
|
"loc": "27:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_c6cb32ae',\n rootIsSelected: 'rootIsSelected_c6cb32ae',\n check: 'check_c6cb32ae',\n expand: 'expand_c6cb32ae',\n title: 'title_c6cb32ae',\n expandIsCollapsed: 'expandIsCollapsed_c6cb32ae',\n loading: 'loading_c6cb32ae',\n loadingIsVisible: 'loadingIsVisible_c6cb32ae',\n dropIcon: 'dropIcon_c6cb32ae',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_c6cb32ae{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.root_c6cb32ae::-moz-focus-inner{border:0}.root_c6cb32ae{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .root_c6cb32ae:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.root_c6cb32ae:hover{background:\" }, { \"theme\": \"themeLighterAlt\", \"defaultValue\": \"#eff6fc\" }, { \"rawString\": \"}.root_c6cb32ae.rootIsSelected_c6cb32ae{background:\" }, { \"theme\": \"themeLighter\", \"defaultValue\": \"#deecf9\" }, { \"rawString\": \"}.root_c6cb32ae.rootIsSelected_c6cb32ae:hover{background:\" }, { \"theme\": \"themeLight\", \"defaultValue\": \"#c7e0f4\" }, { \"rawString\": \"}.check_c6cb32ae,.expand_c6cb32ae{display:inline-block;cursor:default;padding:6px;-webkit-transform:translateY(50%);transform:translateY(50%);margin-top:-12px;box-sizing:border-box;vertical-align:top;background:0 0;border:none;font-size:12px;top:4px}.check_c6cb32ae::-moz-focus-inner,.expand_c6cb32ae::-moz-focus-inner{border:0}.check_c6cb32ae,.expand_c6cb32ae{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .check_c6cb32ae:focus:after,.ms-Fabric.is-focusVisible .expand_c6cb32ae:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.check_c6cb32ae{opacity:0;margin-top:-10px}.check_c6cb32ae:focus{opacity:1}.root_c6cb32ae.rootIsSelected_c6cb32ae .check_c6cb32ae,.root_c6cb32ae:hover .check_c6cb32ae{opacity:1}.title_c6cb32ae{font-size:21px;font-weight:100;padding:14px 6px;display:inline-block;cursor:pointer;outline:0}.expand_c6cb32ae{width:36px;height:40px;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.expand_c6cb32ae .ms-Icon{-webkit-transform:rotate(-180deg);transform:rotate(-180deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;transition:-webkit-transform .1s linear;transition:transform .1s linear;transition:transform .1s linear,-webkit-transform .1s linear}.expand_c6cb32ae .ms-Icon.expandIsCollapsed_c6cb32ae{-webkit-transform:rotate(0);transform:rotate(0)}.loading_c6cb32ae{display:inline-block;visibility:hidden;opacity:0;padding:0 16px;vertical-align:middle;transition:visibility 367ms,opacity 367ms}.loading_c6cb32ae.loadingIsVisible_c6cb32ae{visibility:visible;opacity:1}.dropIcon_c6cb32ae{display:inline-block;position:relative;top:-16px;font-size:20px;color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \";transition:opacity 467ms cubic-bezier(.39,.575,.565,1),-webkit-transform 267ms cubic-bezier(.6,-.28,.735,.045);transition:transform 267ms cubic-bezier(.6,-.28,.735,.045),opacity 467ms cubic-bezier(.39,.575,.565,1);transition:transform 267ms cubic-bezier(.6,-.28,.735,.045),opacity 467ms cubic-bezier(.39,.575,.565,1),-webkit-transform 267ms cubic-bezier(.6,-.28,.735,.045);opacity:0;-webkit-transform:rotate(.2deg) scale(.65);transform:rotate(.2deg) scale(.65);-webkit-transform-origin:10px 10px;transform-origin:10px 10px}[dir=ltr] .dropIcon_c6cb32ae{left:-26px}[dir=rtl] .dropIcon_c6cb32ae{right:-26px}.dropIcon_c6cb32ae .ms-Icon--Tag{position:absolute}.ms-GroupedList-group.is-dropping>.root_c6cb32ae .dropIcon_c6cb32ae{transition:opacity 167ms cubic-bezier(.39,.575,.565,1),-webkit-transform 467ms cubic-bezier(.075,.82,.165,1);transition:transform 467ms cubic-bezier(.075,.82,.165,1),opacity 167ms cubic-bezier(.39,.575,.565,1);transition:transform 467ms cubic-bezier(.075,.82,.165,1),opacity 167ms cubic-bezier(.39,.575,.565,1),-webkit-transform 467ms cubic-bezier(.075,.82,.165,1);transition-delay:367ms;opacity:1;-webkit-transform:rotate(.2deg) scale(1);transform:rotate(.2deg) scale(1)}.ms-GroupedList-group.is-dropping .check_c6cb32ae{opacity:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 248,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\List.js",
|
|
"name": "./~/office-ui-fabric-react/lib/List.js",
|
|
"index": 248,
|
|
"index2": 240,
|
|
"size": 221,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./List",
|
|
"loc": "34:9-26"
|
|
},
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../List",
|
|
"loc": "34:13-34"
|
|
},
|
|
{
|
|
"moduleId": 237,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../List",
|
|
"loc": "22:13-34"
|
|
},
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../List",
|
|
"loc": "32:13-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/List/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 249,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\List\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/List/index.js",
|
|
"index": 249,
|
|
"index2": 239,
|
|
"size": 204,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\List.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 248,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\List.js",
|
|
"module": "./~/office-ui-fabric-react/lib/List.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/List.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/List/index",
|
|
"loc": "6:9-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./List\"));\n\n"
|
|
},
|
|
{
|
|
"id": 250,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\List\\List.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/List/List.js",
|
|
"index": 250,
|
|
"index2": 238,
|
|
"size": 29609,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\List\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 249,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\List\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/List/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/List/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./List",
|
|
"loc": "6:9-26"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar RESIZE_DELAY = 16;\nvar MIN_SCROLL_UPDATE_DELAY = 100;\nvar MAX_SCROLL_UPDATE_DELAY = 500;\nvar IDLE_DEBOUNCE_DELAY = 200;\nvar DEFAULT_ITEMS_PER_PAGE = 10;\nvar DEFAULT_PAGE_HEIGHT = 30;\nvar DEFAULT_RENDERED_WINDOWS_BEHIND = 2;\nvar DEFAULT_RENDERED_WINDOWS_AHEAD = 2;\nvar EMPTY_RECT = {\n top: -1,\n bottom: -1,\n left: -1,\n right: -1,\n width: 0,\n height: 0\n};\n// Naming expensive measures so that they're named in profiles.\nvar _measurePageRect = function (element) { return element.getBoundingClientRect(); };\nvar _measureSurfaceRect = _measurePageRect;\nvar _measureScrollRect = _measurePageRect;\n/**\n * The List renders virtualized pages of items. Each page's item count is determined by the getItemCountForPage callback if\n * provided by the caller, or 10 as default. Each page's height is determined by the getPageHeight callback if provided by\n * the caller, or by cached measurements if available, or by a running average, or a default fallback.\n *\n * The algorithm for rendering pages works like this:\n *\n * 1. Predict visible pages based on \"current measure data\" (page heights, surface position, visible window)\n * 2. If changes are necessary, apply changes (add/remove pages)\n * 3. For pages that are added, measure the page heights if we need to using getBoundingClientRect\n * 4. If measurements don't match predictions, update measure data and goto step 1 asynchronously\n *\n * Measuring too frequently can pull performance down significantly. To compensate, we cache measured values so that\n * we can avoid re-measuring during operations that should not alter heights, like scrolling.\n *\n * However, certain operations can make measure data stale. For example, resizing the list, or passing in new props,\n * or forcing an update change cause pages to shrink/grow. When these operations occur, we increment a measureVersion\n * number, which we associate with cached measurements and use to determine if a remeasure should occur.\n */\nvar List = (function (_super) {\n __extends(List, _super);\n function List(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n pages: []\n };\n _this._estimatedPageHeight = 0;\n _this._totalEstimates = 0;\n _this._requiredWindowsAhead = 0;\n _this._requiredWindowsBehind = 0;\n // Track the measure version for everything.\n _this._measureVersion = 0;\n // Ensure that scrolls are lazy updated.\n _this._onAsyncScroll = _this._async.debounce(_this._onAsyncScroll, MIN_SCROLL_UPDATE_DELAY, {\n leading: false,\n maxWait: MAX_SCROLL_UPDATE_DELAY\n });\n _this._onAsyncIdle = _this._async.debounce(_this._onAsyncIdle, IDLE_DEBOUNCE_DELAY, {\n leading: false\n });\n _this._onAsyncResize = _this._async.debounce(_this._onAsyncResize, RESIZE_DELAY, {\n leading: false\n });\n _this._cachedPageHeights = {};\n _this._estimatedPageHeight = 0;\n _this._focusedIndex = -1;\n _this._scrollingToIndex = -1;\n return _this;\n }\n /**\n * Scroll to the given index. By default will bring the page the specified item is on into the view. If a callback\n * to measure the height of an individual item is specified, will only scroll to bring the specific item into view.\n *\n * Note: with items of variable height and no passed in `getPageHeight` method, the list might jump after scrolling\n * when windows before/ahead are being rendered, and the estimated height is replaced using actual elements.\n *\n * @param index Index of item to scroll to\n * @param measureItem Optional callback to measure the height of an individual item\n */\n List.prototype.scrollToIndex = function (index, measureItem) {\n var startIndex = this.props.startIndex;\n var renderCount = this._getRenderCount();\n var endIndex = startIndex + renderCount;\n var scrollTop = 0;\n var itemsPerPage = 1;\n for (var itemIndex = startIndex; itemIndex < endIndex; itemIndex += itemsPerPage) {\n itemsPerPage = this._getItemCountForPage(itemIndex, this._allowedRect);\n var requestedIndexIsInPage = itemIndex <= index && (itemIndex + itemsPerPage) > index;\n if (requestedIndexIsInPage) {\n // We have found the page. If the user provided a way to measure an individual item, we will try to scroll in just\n // the given item, otherwise we'll only bring the page into view\n if (measureItem) {\n // Adjust for actual item position within page\n var itemPositionWithinPage = index - itemIndex;\n for (var itemIndexInPage = 0; itemIndexInPage < itemPositionWithinPage; ++itemIndexInPage) {\n scrollTop += measureItem(itemIndex + itemIndexInPage);\n }\n var scrollBottom = scrollTop + measureItem(index);\n var scrollRect = _measureScrollRect(this._scrollElement);\n var scrollWindow = {\n top: this._scrollElement.scrollTop,\n bottom: this._scrollElement.scrollTop + scrollRect.height\n };\n var itemIsFullyVisible = scrollTop >= scrollWindow.top && scrollBottom <= scrollWindow.bottom;\n if (itemIsFullyVisible) {\n // Item is already visible, do nothing.\n return;\n }\n var itemIsPartiallyAbove = scrollTop < scrollWindow.top;\n var itemIsPartiallyBelow = scrollBottom > scrollWindow.bottom;\n if (itemIsPartiallyAbove) {\n // We will just scroll to 'scrollTop'\n // ______\n // |Item | - scrollTop\n // | ____|_\n // |_|____| | - scrollWindow.top\n // | |\n // |______|\n }\n else if (itemIsPartiallyBelow) {\n // Adjust scrollTop position to just bring in the element\n // ______ - scrollTop\n // | |\n // | ____|_ - scrollWindow.bottom\n // |_|____| |\n // | Item |\n // |______| - scrollBottom\n scrollTop = this._scrollElement.scrollTop + (scrollBottom - scrollWindow.bottom);\n }\n }\n this._scrollElement.scrollTop = scrollTop;\n break;\n }\n scrollTop += this._getPageHeight(itemIndex, itemsPerPage, this._surfaceRect);\n }\n };\n List.prototype.componentDidMount = function () {\n this._updatePages();\n this._measureVersion++;\n this._scrollElement = Utilities_1.findScrollableParent(this.refs.root);\n this._events.on(window, 'resize', this._onAsyncResize);\n this._events.on(this.refs.root, 'focus', this._onFocus, true);\n if (this._scrollElement) {\n this._events.on(this._scrollElement, 'scroll', this._onScroll);\n this._events.on(this._scrollElement, 'scroll', this._onAsyncScroll);\n }\n };\n List.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.items !== this.props.items ||\n newProps.renderCount !== this.props.renderCount ||\n newProps.startIndex !== this.props.startIndex) {\n this._measureVersion++;\n this._updatePages(newProps);\n }\n };\n List.prototype.shouldComponentUpdate = function (newProps, newState) {\n var _a = this.props, renderedWindowsAhead = _a.renderedWindowsAhead, renderedWindowsBehind = _a.renderedWindowsBehind;\n var oldPages = this.state.pages;\n var newPages = newState.pages, measureVersion = newState.measureVersion;\n var shouldComponentUpdate = false;\n if (this._measureVersion === measureVersion &&\n newProps.renderedWindowsAhead === renderedWindowsAhead,\n newProps.renderedWindowsBehind === renderedWindowsBehind,\n newProps.items === this.props.items &&\n oldPages.length === newPages.length) {\n for (var i = 0; i < oldPages.length; i++) {\n var oldPage = oldPages[i];\n var newPage = newPages[i];\n if ((oldPage.key !== newPage.key ||\n oldPage.itemCount !== newPage.itemCount)) {\n shouldComponentUpdate = true;\n break;\n }\n }\n }\n else {\n shouldComponentUpdate = true;\n }\n return shouldComponentUpdate;\n };\n List.prototype.forceUpdate = function () {\n // Ensure that when the list is force updated we update the pages first before render.\n this._updateRenderRects(this.props, true);\n this._updatePages();\n this._measureVersion++;\n _super.prototype.forceUpdate.call(this);\n };\n List.prototype.render = function () {\n var _a = this.props, className = _a.className, role = _a.role;\n var pages = this.state.pages;\n var pageElements = [];\n var divProps = Utilities_1.getNativeProps(this.props, Utilities_1.divProperties);\n // assign list if no role\n role = (role === undefined) ? 'list' : role;\n for (var i = 0; i < pages.length; i++) {\n pageElements.push(this._renderPage(pages[i]));\n }\n return (React.createElement(\"div\", __assign({ ref: 'root' }, divProps, { role: role, className: Utilities_1.css('ms-List', className) }),\n React.createElement(\"div\", { ref: 'surface', className: 'ms-List-surface' }, pageElements)));\n };\n List.prototype._renderPage = function (page) {\n var _a = this.props, onRenderCell = _a.onRenderCell, role = _a.role;\n var cells = [];\n var pageStyle = this._getPageStyle(page);\n // only assign list item role if no role is assigned\n role = (role === undefined) ? 'listitem' : null;\n for (var i = 0; page.items && i < page.items.length; i++) {\n var item = page.items[i];\n var index = page.startIndex + i;\n var itemKey = this.props.getKey\n ? this.props.getKey(item, index)\n : item && item.key;\n if (itemKey === null || itemKey === undefined) {\n itemKey = index;\n }\n cells.push(React.createElement(\"div\", { role: role, className: 'ms-List-cell', key: itemKey, \"data-list-index\": i + page.startIndex, \"data-automationid\": 'ListCell' }, onRenderCell(item, page.startIndex + i)));\n }\n return (React.createElement(\"div\", { className: 'ms-List-page', key: page.key, ref: page.key, style: pageStyle }, cells));\n };\n /** Generate the style object for the page. */\n List.prototype._getPageStyle = function (page) {\n var style;\n var getPageStyle = this.props.getPageStyle;\n if (getPageStyle) {\n style = getPageStyle(page);\n }\n if (!page.items) {\n style = style || {};\n style.height = page.height;\n }\n return style;\n };\n /** Track the last item index focused so that we ensure we keep it rendered. */\n List.prototype._onFocus = function (ev) {\n var target = ev.target;\n while (target !== this.refs.surface) {\n var indexString = target.getAttribute('data-list-index');\n if (indexString) {\n this._focusedIndex = Number(indexString);\n break;\n }\n target = Utilities_1.getParent(target);\n }\n };\n /**\n * Called synchronously to reset the required render range to 0 on scrolling. After async scroll has executed,\n * we will call onAsyncIdle which will reset it back to it's correct value.\n */\n List.prototype._onScroll = function () {\n this._requiredWindowsAhead = 0;\n this._requiredWindowsBehind = 0;\n };\n /**\n * Debounced method to asynchronously update the visible region on a scroll event.\n */\n List.prototype._onAsyncScroll = function () {\n this._updateRenderRects();\n // Only update pages when the visible rect falls outside of the materialized rect.\n if (!this._materializedRect || !_isContainedWithin(this._requiredRect, this._materializedRect)) {\n this._updatePages();\n }\n else {\n // console.log('requiredRect contained in materialized', this._requiredRect, this._materializedRect);\n }\n };\n /**\n * This is an async debounced method that will try and increment the windows we render. If we can increment\n * either, we increase the amount we render and re-evaluate.\n */\n List.prototype._onAsyncIdle = function () {\n var _a = this.props, renderedWindowsAhead = _a.renderedWindowsAhead, renderedWindowsBehind = _a.renderedWindowsBehind;\n var _b = this, requiredWindowsAhead = _b._requiredWindowsAhead, requiredWindowsBehind = _b._requiredWindowsBehind;\n var windowsAhead = Math.min(renderedWindowsAhead, requiredWindowsAhead + 1);\n var windowsBehind = Math.min(renderedWindowsBehind, requiredWindowsBehind + 1);\n if (windowsAhead !== requiredWindowsAhead || windowsBehind !== requiredWindowsBehind) {\n // console.log('idling', windowsBehind, windowsAhead);\n this._requiredWindowsAhead = windowsAhead;\n this._requiredWindowsBehind = windowsBehind;\n this._updateRenderRects();\n this._updatePages();\n }\n if (renderedWindowsAhead > windowsAhead || renderedWindowsBehind > windowsBehind) {\n // Async increment on next tick.\n this._onAsyncIdle();\n }\n };\n List.prototype._onAsyncResize = function () {\n this.forceUpdate();\n };\n List.prototype._updatePages = function (props) {\n var _this = this;\n var _a = (props || this.props), items = _a.items, startIndex = _a.startIndex, renderCount = _a.renderCount;\n renderCount = this._getRenderCount(props);\n // console.log('updating pages');\n if (!this._requiredRect) {\n this._updateRenderRects(props);\n }\n var newListState = this._buildPages(items, startIndex, renderCount);\n var oldListPages = this.state.pages;\n this.setState(newListState, function () {\n // If measured version is invalid since we've updated the DOM\n var heightsChanged = _this._updatePageMeasurements(oldListPages, newListState.pages);\n // On first render, we should re-measure so that we don't get a visual glitch.\n if (heightsChanged) {\n _this._materializedRect = null;\n if (!_this._hasCompletedFirstRender) {\n _this._hasCompletedFirstRender = true;\n _this._updatePages();\n }\n else {\n _this._onAsyncScroll();\n }\n }\n else {\n // Enqueue an idle bump.\n _this._onAsyncIdle();\n }\n });\n };\n List.prototype._updatePageMeasurements = function (oldPages, newPages) {\n var renderedIndexes = {};\n var heightChanged = false;\n var renderCount = this._getRenderCount();\n for (var i = 0; i < oldPages.length; i++) {\n var page = oldPages[i];\n if (page.items) {\n renderedIndexes[page.startIndex] = page;\n }\n }\n for (var i = 0; i < newPages.length; i++) {\n var page = newPages[i];\n if (page.items) {\n heightChanged = this._measurePage(page) || heightChanged;\n if (!renderedIndexes[page.startIndex]) {\n this._onPageAdded(page);\n }\n else {\n delete renderedIndexes[page.startIndex];\n }\n }\n }\n for (var index in renderedIndexes) {\n if (renderedIndexes.hasOwnProperty(index)) {\n this._onPageRemoved(renderedIndexes[index]);\n }\n }\n return heightChanged;\n };\n /**\n * Given a page, measure its dimensions, update cache.\n * @returns True if the height has changed.\n */\n List.prototype._measurePage = function (page) {\n var hasChangedHeight = false;\n var pageElement = this.refs[page.key];\n var cachedHeight = this._cachedPageHeights[page.startIndex];\n // console.log(' * measure attempt', page.startIndex, cachedHeight);\n if (pageElement && (!cachedHeight || cachedHeight.measureVersion !== this._measureVersion)) {\n var newClientRect = {\n width: pageElement.clientWidth,\n height: pageElement.clientHeight\n };\n if (newClientRect.height || newClientRect.width) {\n hasChangedHeight = page.height !== newClientRect.height;\n // console.warn(' *** expensive page measure', page.startIndex, page.height, newClientRect.height);\n page.height = newClientRect.height;\n this._cachedPageHeights[page.startIndex] = {\n height: newClientRect.height,\n measureVersion: this._measureVersion\n };\n this._estimatedPageHeight = Math.round(((this._estimatedPageHeight * this._totalEstimates) + newClientRect.height) /\n (this._totalEstimates + 1));\n this._totalEstimates++;\n }\n }\n return hasChangedHeight;\n };\n /** Called when a page has been added to the DOM. */\n List.prototype._onPageAdded = function (page) {\n var onPageAdded = this.props.onPageAdded;\n // console.log('page added', page.startIndex, this.state.pages.map(page=>page.key).join(', '));\n if (onPageAdded) {\n onPageAdded(page);\n }\n };\n /** Called when a page has been removed from the DOM. */\n List.prototype._onPageRemoved = function (page) {\n var onPageRemoved = this.props.onPageRemoved;\n // console.log(' --- page removed', page.startIndex, this.state.pages.map(page=>page.key).join(', '));\n if (onPageRemoved) {\n onPageRemoved(page);\n }\n };\n /** Build up the pages that should be rendered. */\n List.prototype._buildPages = function (items, startIndex, renderCount) {\n var materializedRect = Utilities_1.assign({}, EMPTY_RECT);\n var itemsPerPage = 1;\n var pages = [];\n var pageTop = 0;\n var currentSpacer = null;\n var focusedIndex = this._focusedIndex;\n var endIndex = startIndex + renderCount;\n // First render is very important to track; when we render cells, we have no idea of estimated page height.\n // So we should default to rendering only the first page so that we can get information.\n // However if the user provides a measure function, let's just assume they know the right heights.\n var isFirstRender = this._estimatedPageHeight === 0 && !this.props.getPageHeight;\n var _loop_1 = function (itemIndex) {\n itemsPerPage = this_1._getItemCountForPage(itemIndex, this_1._allowedRect);\n var pageHeight = this_1._getPageHeight(itemIndex, itemsPerPage, this_1._surfaceRect);\n var pageBottom = pageTop + pageHeight - 1;\n var isPageRendered = Utilities_1.findIndex(this_1.state.pages, function (page) { return page.items && page.startIndex === itemIndex; }) > -1;\n var isPageInAllowedRange = pageBottom >= this_1._allowedRect.top && pageTop <= this_1._allowedRect.bottom;\n var isPageInRequiredRange = pageBottom >= this_1._requiredRect.top && pageTop <= this_1._requiredRect.bottom;\n var isPageVisible = !isFirstRender && (isPageInRequiredRange || (isPageInAllowedRange && isPageRendered));\n var isPageFocused = focusedIndex >= itemIndex && focusedIndex < (itemIndex + itemsPerPage);\n var isFirstPage = itemIndex === startIndex;\n // console.log('building page', itemIndex, 'pageTop: ' + pageTop, 'inAllowed: ' + isPageInAllowedRange, 'inRequired: ' + isPageInRequiredRange);\n // Only render whats visible, focused, or first page.\n if (isPageVisible || isPageFocused || isFirstPage) {\n if (currentSpacer) {\n pages.push(currentSpacer);\n currentSpacer = null;\n }\n var itemsInPage = Math.min(itemsPerPage, endIndex - itemIndex);\n var newPage = this_1._createPage(null, items.slice(itemIndex, itemIndex + itemsInPage), itemIndex);\n newPage.top = pageTop;\n newPage.height = pageHeight;\n pages.push(newPage);\n if (isPageInRequiredRange) {\n _mergeRect(materializedRect, {\n top: pageTop,\n bottom: pageBottom,\n height: pageHeight,\n left: this_1._allowedRect.left,\n right: this_1._allowedRect.right,\n width: this_1._allowedRect.width\n });\n }\n }\n else {\n if (!currentSpacer) {\n currentSpacer = this_1._createPage('spacer-' + itemIndex, null, itemIndex, 0);\n }\n currentSpacer.height = (currentSpacer.height || 0) + (pageBottom - pageTop) + 1;\n currentSpacer.itemCount += itemsPerPage;\n }\n pageTop += (pageBottom - pageTop + 1);\n if (isFirstRender) {\n return \"break\";\n }\n };\n var this_1 = this;\n for (var itemIndex = startIndex; itemIndex < endIndex; itemIndex += itemsPerPage) {\n var state_1 = _loop_1(itemIndex);\n if (state_1 === \"break\")\n break;\n }\n if (currentSpacer) {\n currentSpacer.key = 'spacer-end';\n pages.push(currentSpacer);\n }\n this._materializedRect = materializedRect;\n // console.log('materialized: ', materializedRect);\n return {\n pages: pages,\n measureVersion: this._measureVersion\n };\n };\n /**\n * Get the pixel height of a give page. Will use the props getPageHeight first, and if not provided, fallback to\n * cached height, or estimated page height, or default page height.\n */\n List.prototype._getPageHeight = function (itemIndex, itemsPerPage, visibleRect) {\n if (this.props.getPageHeight) {\n return this.props.getPageHeight(itemIndex, visibleRect);\n }\n else {\n var cachedHeight = (this._cachedPageHeights[itemIndex]);\n return cachedHeight ? cachedHeight.height : (this._estimatedPageHeight || DEFAULT_PAGE_HEIGHT);\n }\n };\n List.prototype._getItemCountForPage = function (itemIndex, visibileRect) {\n var itemsPerPage = this.props.getItemCountForPage ? this.props.getItemCountForPage(itemIndex, visibileRect) : DEFAULT_ITEMS_PER_PAGE;\n return itemsPerPage ? itemsPerPage : DEFAULT_ITEMS_PER_PAGE;\n };\n List.prototype._createPage = function (pageKey, items, startIndex, count, style) {\n pageKey = pageKey || ('page-' + startIndex);\n // Fill undefined cells because array.map will ignore undefined cells.\n if (items) {\n for (var i = 0; i < items.length; i++) {\n items[i] = items[i] || null;\n }\n }\n return {\n key: pageKey,\n startIndex: startIndex === undefined ? -1 : startIndex,\n itemCount: (count === undefined) ? (items ? items.length : 0) : count,\n items: items,\n style: style || {},\n top: 0,\n height: 0\n };\n };\n List.prototype._getRenderCount = function (props) {\n var _a = props || this.props, items = _a.items, startIndex = _a.startIndex, renderCount = _a.renderCount;\n return (renderCount === undefined ? (items ? items.length - startIndex : 0) : renderCount);\n };\n /** Calculate the visible rect within the list where top: 0 and left: 0 is the top/left of the list. */\n List.prototype._updateRenderRects = function (props, forceUpdate) {\n var _a = (props || this.props), renderedWindowsAhead = _a.renderedWindowsAhead, renderedWindowsBehind = _a.renderedWindowsBehind;\n var pages = this.state.pages;\n var renderCount = this._getRenderCount(props);\n var surfaceRect = this._surfaceRect;\n var scrollHeight = this._scrollElement && this._scrollElement.scrollHeight;\n var scrollTop = this._scrollElement ? this._scrollElement.scrollTop : 0;\n // WARNING: EXPENSIVE CALL! We need to know the surface top relative to the window.\n // This needs to be called to recalculate when new pages should be loaded.\n // We check to see how far we've scrolled and if it's further than a third of a page we run it again.\n if (forceUpdate ||\n !pages ||\n !this._surfaceRect ||\n !scrollHeight ||\n scrollHeight !== this._scrollHeight ||\n Math.abs(this._scrollTop - scrollTop) > this._estimatedPageHeight / 3) {\n surfaceRect = this._surfaceRect = _measureSurfaceRect(this.refs.surface);\n this._scrollTop = scrollTop;\n }\n // If the scroll height has changed, something in the container likely resized and\n // we should redo the page heights incase their content resized.\n if (forceUpdate ||\n !scrollHeight ||\n scrollHeight !== this._scrollHeight) {\n this._measureVersion++;\n }\n this._scrollHeight = scrollHeight;\n // If the surface is above the container top or below the container bottom, or if this is not the first\n // render return empty rect.\n // The first time the list gets rendered we need to calculate the rectangle. The width of the list is\n // used to calculate the width of the list items.\n var visibleTop = Math.max(0, -surfaceRect.top);\n var visibleRect = {\n top: visibleTop,\n left: surfaceRect.left,\n bottom: visibleTop + window.innerHeight,\n right: surfaceRect.right,\n width: surfaceRect.width,\n height: window.innerHeight\n };\n // The required/allowed rects are adjusted versions of the visible rect.\n this._requiredRect = _expandRect(visibleRect, this._requiredWindowsBehind, this._requiredWindowsAhead);\n this._allowedRect = _expandRect(visibleRect, renderedWindowsBehind, renderedWindowsAhead);\n };\n return List;\n}(Utilities_1.BaseComponent));\nList.defaultProps = {\n startIndex: 0,\n onRenderCell: function (item, index, containsFocus) { return (React.createElement(\"div\", null, (item && item.name) || '')); },\n renderedWindowsAhead: DEFAULT_RENDERED_WINDOWS_AHEAD,\n renderedWindowsBehind: DEFAULT_RENDERED_WINDOWS_BEHIND\n};\nexports.List = List;\nfunction _expandRect(rect, pagesBefore, pagesAfter) {\n var top = rect.top - (pagesBefore * rect.height);\n var height = rect.height + ((pagesBefore + pagesAfter) * rect.height);\n return {\n top: top,\n bottom: top + height,\n height: height,\n left: rect.left,\n right: rect.right,\n width: rect.width\n };\n}\nfunction _isContainedWithin(innerRect, outerRect) {\n return (innerRect.top >= outerRect.top &&\n innerRect.left >= outerRect.left &&\n innerRect.bottom <= outerRect.bottom &&\n innerRect.right <= outerRect.right);\n}\nfunction _mergeRect(targetRect, newRect) {\n targetRect.top = (newRect.top < targetRect.top || targetRect.top === -1) ? newRect.top : targetRect.top;\n targetRect.left = (newRect.left < targetRect.left || targetRect.left === -1) ? newRect.left : targetRect.left;\n targetRect.bottom = (newRect.bottom > targetRect.bottom || targetRect.bottom === -1) ? newRect.bottom : targetRect.bottom;\n targetRect.right = (newRect.right > targetRect.right || targetRect.right === -1) ? newRect.right : targetRect.right;\n targetRect.width = targetRect.right - targetRect.left + 1;\n targetRect.height = targetRect.bottom - targetRect.top + 1;\n return targetRect;\n}\n\n"
|
|
},
|
|
{
|
|
"id": 251,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.scss.js",
|
|
"index": 251,
|
|
"index2": 241,
|
|
"size": 676,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 237,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupedList.scss",
|
|
"loc": "24:19-48"
|
|
},
|
|
{
|
|
"moduleId": 238,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\GroupedList\\GroupedListSection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/GroupedList/GroupedListSection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./GroupedList.scss",
|
|
"loc": "34:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_347f6a65',\n group: 'group_347f6a65',\n groupIsDropping: 'groupIsDropping_347f6a65',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_347f6a65{position:relative;font-size:12px}.root_347f6a65 BUTTON{background-color:transparent}.group_347f6a65{transition:background-color 267ms cubic-bezier(.445,.05,.55,.95)}.groupIsDropping_347f6a65{background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.root_347f6a65 .ms-List-cell{min-height:38px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 252,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withViewport.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"index": 252,
|
|
"index2": 247,
|
|
"size": 4207,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/decorators/withViewport",
|
|
"loc": "35:21-71"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar BaseDecorator_1 = require(\"./BaseDecorator\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar RESIZE_DELAY = 500;\nvar MAX_RESIZE_ATTEMPTS = 3;\nfunction withViewport(ComposedComponent) {\n return (function (_super) {\n __extends(WithViewportComponent, _super);\n function WithViewportComponent() {\n var _this = _super.call(this) || this;\n /* Note: using lambda here because decorators don't seem to work in decorators. */\n _this._updateViewport = function (withForceUpdate) {\n var viewport = _this.state.viewport;\n var viewportElement = _this.refs.root;\n var scrollElement = Utilities_1.findScrollableParent(viewportElement);\n var scrollRect = Utilities_1.getRect(scrollElement);\n var clientRect = Utilities_1.getRect(viewportElement);\n var updateComponent = function () {\n if (withForceUpdate && _this._composedComponentInstance) {\n _this._composedComponentInstance.forceUpdate();\n }\n };\n var isSizeChanged = (clientRect.width !== viewport.width ||\n scrollRect.height !== viewport.height);\n if (isSizeChanged && _this._resizeAttempts < MAX_RESIZE_ATTEMPTS) {\n _this._resizeAttempts++;\n _this.setState({\n viewport: {\n width: clientRect.width,\n height: scrollRect.height\n }\n }, function () { _this._updateViewport(withForceUpdate); });\n }\n else {\n _this._resizeAttempts = 0;\n updateComponent();\n }\n };\n _this._resizeAttempts = 0;\n _this.state = {\n viewport: {\n width: 0,\n height: 0\n }\n };\n return _this;\n }\n WithViewportComponent.prototype.componentDidMount = function () {\n this._onAsyncResize = this._async.debounce(this._onAsyncResize, RESIZE_DELAY, {\n leading: false\n });\n this._events.on(window, 'resize', this._onAsyncResize);\n this._updateViewport();\n };\n WithViewportComponent.prototype.componentWillUnmount = function () {\n this._events.dispose();\n };\n WithViewportComponent.prototype.render = function () {\n var viewport = this.state.viewport;\n var isViewportVisible = viewport.width > 0 && viewport.height > 0;\n return (React.createElement(\"div\", { className: 'ms-Viewport', ref: 'root', style: { minWidth: 1, minHeight: 1 } }, isViewportVisible && (React.createElement(ComposedComponent, __assign({ ref: this._updateComposedComponentRef, viewport: viewport }, this.props)))));\n };\n WithViewportComponent.prototype.forceUpdate = function () {\n this._updateViewport(true);\n };\n WithViewportComponent.prototype._onAsyncResize = function () {\n this._updateViewport();\n };\n return WithViewportComponent;\n }(BaseDecorator_1.BaseDecorator));\n}\nexports.withViewport = withViewport;\n\n"
|
|
},
|
|
{
|
|
"id": 253,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\BaseDecorator.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/decorators/BaseDecorator.js",
|
|
"index": 253,
|
|
"index2": 246,
|
|
"size": 1739,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withViewport.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 252,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withViewport.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/withViewport.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseDecorator",
|
|
"loc": "22:22-48"
|
|
},
|
|
{
|
|
"moduleId": 269,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withResponsiveMode.js",
|
|
"module": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BaseDecorator",
|
|
"loc": "22:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Utilities_1 = require(\"../../Utilities\");\nvar BaseDecorator = (function (_super) {\n __extends(BaseDecorator, _super);\n function BaseDecorator() {\n var _this = _super.call(this) || this;\n _this._shouldUpdateComponentRef = false;\n _this._updateComposedComponentRef = _this._updateComposedComponentRef.bind(_this);\n return _this;\n }\n /**\n * Updates the ref to the component composed by the decorator, which will also take care of hoisting\n * (and unhoisting as appropriate) methods from said component.\n *\n * Pass this method as the argument to the 'ref' property of the composed component.\n */\n BaseDecorator.prototype._updateComposedComponentRef = function (composedComponentInstance) {\n this._composedComponentInstance = composedComponentInstance;\n if (composedComponentInstance) {\n this._hoisted = Utilities_1.hoistMethods(this, composedComponentInstance);\n }\n else if (this._hoisted) {\n Utilities_1.unhoistMethods(this, this._hoisted);\n }\n };\n return BaseDecorator;\n}(Utilities_1.BaseComponent));\nexports.BaseDecorator = BaseDecorator;\n\n"
|
|
},
|
|
{
|
|
"id": 254,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\dragdrop\\DragDropHelper.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/dragdrop/DragDropHelper.js",
|
|
"index": 254,
|
|
"index2": 248,
|
|
"size": 14310,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/dragdrop/DragDropHelper",
|
|
"loc": "37:23-73"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ReactDOM = require(\"react-dom\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar DISTANCE_FOR_DRAG_SQUARED = 25; // the minimum mouse move distance to treat it as drag event\nvar MOUSEDOWN_PRIMARY_BUTTON = 0; // for mouse down event we are using ev.button property, 0 means left button\nvar MOUSEMOVE_PRIMARY_BUTTON = 1; // for mouse move event we are using ev.buttons property, 1 means left button\nvar DragDropHelper = (function () {\n function DragDropHelper(params) {\n this._selection = params.selection;\n this._dragEnterCounts = {};\n this._activeTargets = {};\n this._lastId = 0;\n this._distanceSquaredForDrag = typeof params.minimumPixelsForDrag === 'number' ?\n params.minimumPixelsForDrag * params.minimumPixelsForDrag : DISTANCE_FOR_DRAG_SQUARED;\n this._events = new Utilities_1.EventGroup(this);\n // clear drag data when mouse up, use capture event to ensure it will be run\n this._events.on(document.body, 'mouseup', this._onMouseUp.bind(this), true);\n this._events.on(document, 'mouseup', this._onDocumentMouseUp.bind(this), true);\n }\n DragDropHelper.prototype.dispose = function () {\n this._events.dispose();\n };\n DragDropHelper.prototype.subscribe = function (root, events, dragDropOptions) {\n var _this = this;\n var _a = dragDropOptions.key, key = _a === void 0 ? \"\" + ++this._lastId : _a;\n var handlers = [];\n var onDragLeave;\n var onDragEnter;\n var onDragEnd;\n var onDrop;\n var onDragOver;\n var onMouseDown;\n var isDraggable;\n var isDroppable;\n var activeTarget;\n if (dragDropOptions && root) {\n var eventMap = dragDropOptions.eventMap, context_1 = dragDropOptions.context, updateDropState_1 = dragDropOptions.updateDropState;\n var dragDropTarget = {\n root: root,\n options: dragDropOptions,\n key: key\n };\n isDraggable = this._isDraggable(dragDropTarget);\n isDroppable = this._isDroppable(dragDropTarget);\n if (isDraggable || isDroppable) {\n if (eventMap) {\n for (var _i = 0, eventMap_1 = eventMap; _i < eventMap_1.length; _i++) {\n var event_1 = eventMap_1[_i];\n var handler = {\n callback: event_1.callback.bind(null, context_1),\n eventName: event_1.eventName\n };\n handlers.push(handler);\n this._events.on(root, handler.eventName, handler.callback);\n }\n }\n }\n if (isDroppable) {\n // If the target is droppable, wire up global event listeners to track drop-related events.\n onDragLeave = function (event) {\n if (!event.isHandled) {\n event.isHandled = true;\n _this._dragEnterCounts[key]--;\n if (_this._dragEnterCounts[key] === 0) {\n updateDropState_1(false /* isDropping */, event);\n }\n }\n };\n onDragEnter = function (event) {\n event.preventDefault(); // needed for IE\n if (!event.isHandled) {\n event.isHandled = true;\n _this._dragEnterCounts[key]++;\n if (_this._dragEnterCounts[key] === 1) {\n updateDropState_1(true /* isDropping */, event);\n }\n }\n };\n onDragEnd = function (event) {\n _this._dragEnterCounts[key] = 0;\n updateDropState_1(false /* isDropping */, event);\n };\n onDrop = function (event) {\n _this._dragEnterCounts[key] = 0;\n updateDropState_1(false /* isDropping */, event);\n if (dragDropOptions.onDrop) {\n dragDropOptions.onDrop(dragDropOptions.context.data, event);\n }\n };\n onDragOver = function (event) {\n event.preventDefault();\n };\n this._dragEnterCounts[key] = 0;\n // dragenter and dragleave will be fired when hover to the child element\n // but we only want to change state when enter or leave the current element\n // use the count to ensure it.\n events.on(root, 'dragenter', onDragEnter);\n events.on(root, 'dragleave', onDragLeave);\n events.on(root, 'dragend', onDragEnd);\n events.on(root, 'drop', onDrop);\n events.on(root, 'dragover', onDragOver);\n }\n if (isDraggable) {\n // If the target is draggable, wire up local event listeners for mouse events.\n onMouseDown = this._onMouseDown.bind(this, dragDropTarget);\n onDragEnd = this._onDragEnd.bind(this, dragDropTarget);\n events.on(root, 'mousedown', onMouseDown);\n events.on(root, 'dragend', onDragEnd);\n }\n activeTarget = {\n target: dragDropTarget,\n dispose: function () {\n if (_this._activeTargets[key] === activeTarget) {\n delete _this._activeTargets[key];\n }\n if (root) {\n for (var _i = 0, handlers_1 = handlers; _i < handlers_1.length; _i++) {\n var handler = handlers_1[_i];\n _this._events.off(root, handler.eventName, handler.callback);\n }\n if (isDroppable) {\n events.off(root, 'dragenter', onDragEnter);\n events.off(root, 'dragleave', onDragLeave);\n events.off(root, 'dragend', onDragEnd);\n events.off(root, 'dragover', onDragOver);\n events.off(root, 'drop', onDrop);\n }\n if (isDraggable) {\n events.off(root, 'mousedown', onMouseDown);\n events.off(root, 'dragend', onDragEnd);\n }\n }\n }\n };\n this._activeTargets[key] = activeTarget;\n }\n return {\n key: key,\n dispose: function () {\n if (activeTarget) {\n activeTarget.dispose();\n }\n }\n };\n };\n DragDropHelper.prototype.unsubscribe = function (root, key) {\n var activeTarget = this._activeTargets[key];\n if (activeTarget) {\n activeTarget.dispose();\n }\n };\n DragDropHelper.prototype._onDragEnd = function (target, event) {\n var options = target.options;\n if (options.onDragEnd) {\n options.onDragEnd(options.context.data, event);\n }\n };\n /**\n * clear drag data when mouse up on body\n */\n DragDropHelper.prototype._onMouseUp = function (event) {\n this._isDragging = false;\n if (this._dragData) {\n for (var _i = 0, _a = Object.keys(this._activeTargets); _i < _a.length; _i++) {\n var key = _a[_i];\n var activeTarget = this._activeTargets[key];\n if (activeTarget.target.root) {\n this._events.off(activeTarget.target.root, 'mousemove');\n this._events.off(activeTarget.target.root, 'mouseleave');\n }\n }\n if (this._dragData.dropTarget) {\n // raise dragleave event to let dropTarget know it need to remove dropping style\n Utilities_1.EventGroup.raise(this._dragData.dropTarget.root, 'dragleave');\n Utilities_1.EventGroup.raise(this._dragData.dropTarget.root, 'drop');\n }\n }\n this._dragData = null;\n };\n /**\n * clear drag data when mouse up outside of the document\n */\n DragDropHelper.prototype._onDocumentMouseUp = function (event) {\n if (event.target === document.documentElement) {\n this._onMouseUp(event);\n }\n };\n /**\n * when mouse move over a new drop target while dragging some items,\n * fire dragleave on the old target and fire dragenter to the new target\n * The target will handle style change on dragenter and dragleave events.\n */\n DragDropHelper.prototype._onMouseMove = function (target, event) {\n var \n // use buttons property here since ev.button in some edge case is not updating well during the move.\n // but firefox doesn't support it, so we set the default value when it is not defined.\n _a = event.buttons, \n // use buttons property here since ev.button in some edge case is not updating well during the move.\n // but firefox doesn't support it, so we set the default value when it is not defined.\n buttons = _a === void 0 ? MOUSEMOVE_PRIMARY_BUTTON : _a;\n if (this._dragData && buttons !== MOUSEMOVE_PRIMARY_BUTTON) {\n // cancel mouse down event and return early when the primary button is not pressed\n this._onMouseUp(event);\n return;\n }\n var root = target.root, options = target.options, key = target.key;\n if (this._isDragging) {\n if (this._isDroppable(target)) {\n // we can have nested drop targets in the DOM, like a folder inside a group. In that case, when we drag into\n // the inner target (folder), we first set dropTarget to the inner element. But the same event is bubbled to the\n // outer target too, and we need to prevent the outer one from taking over.\n // So, check if the last dropTarget is not a child of the current.\n if (this._dragData.dropTarget &&\n this._dragData.dropTarget.key !== key &&\n !this._isChild(root, this._dragData.dropTarget.root)) {\n Utilities_1.EventGroup.raise(this._dragData.dropTarget.root, 'dragleave');\n this._dragData.dropTarget = null;\n }\n if (!this._dragData.dropTarget) {\n Utilities_1.EventGroup.raise(root, 'dragenter');\n this._dragData.dropTarget = target;\n }\n }\n }\n else if (this._dragData) {\n if (this._isDraggable(target)) {\n var xDiff = this._dragData.clientX - event.clientX;\n var yDiff = this._dragData.clientY - event.clientY;\n if (xDiff * xDiff + yDiff * yDiff >= this._distanceSquaredForDrag) {\n if (this._dragData.dragTarget) {\n this._isDragging = true;\n if (options.onDragStart) {\n options.onDragStart(options.context.data, options.context.index, this._selection.getSelection(), event);\n }\n }\n }\n }\n }\n };\n /**\n * when mouse leave a target while dragging some items, fire dragleave to the target\n */\n DragDropHelper.prototype._onMouseLeave = function (target, event) {\n if (this._isDragging) {\n if (this._dragData && this._dragData.dropTarget && this._dragData.dropTarget.key === target.key) {\n Utilities_1.EventGroup.raise(target.root, 'dragleave');\n this._dragData.dropTarget = null;\n }\n }\n };\n /**\n * when mouse down on a draggable item, we start to track dragdata.\n */\n DragDropHelper.prototype._onMouseDown = function (target, event) {\n if (event.button !== MOUSEDOWN_PRIMARY_BUTTON) {\n // Ignore anything except the primary button.\n return;\n }\n if (this._isDraggable(target)) {\n this._dragData = {\n clientX: event.clientX,\n clientY: event.clientY,\n eventTarget: event.target,\n dragTarget: target\n };\n for (var _i = 0, _a = Object.keys(this._activeTargets); _i < _a.length; _i++) {\n var key = _a[_i];\n var activeTarget = this._activeTargets[key];\n if (activeTarget.target.root) {\n this._events.on(activeTarget.target.root, 'mousemove', this._onMouseMove.bind(this, activeTarget.target));\n this._events.on(activeTarget.target.root, 'mouseleave', this._onMouseLeave.bind(this, activeTarget.target));\n }\n }\n }\n else {\n this._dragData = null;\n }\n };\n /**\n * determine whether the child target is a descendant of the parent\n */\n DragDropHelper.prototype._isChild = function (parent, child) {\n var parentElement = ReactDOM.findDOMNode(parent);\n var childElement = ReactDOM.findDOMNode(child);\n while (childElement && childElement.parentElement) {\n if (childElement.parentElement === parentElement) {\n return true;\n }\n childElement = childElement.parentElement;\n }\n return false;\n };\n DragDropHelper.prototype._isDraggable = function (target) {\n var options = target.options;\n return options.canDrag && options.canDrag(options.context.data);\n };\n DragDropHelper.prototype._isDroppable = function (target) {\n // TODO: take the drag item into consideration to prevent dragging an item into the same group\n var options = target.options;\n var dragContext = this._dragData && this._dragData.dragTarget ? this._dragData.dragTarget.options.context : null;\n return options.canDrop && options.canDrop(options.context, dragContext);\n };\n return DragDropHelper;\n}());\nexports.DragDropHelper = DragDropHelper;\n\n"
|
|
},
|
|
{
|
|
"id": 255,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.scss.js",
|
|
"index": 255,
|
|
"index2": 249,
|
|
"size": 774,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 221,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DetailsList\\DetailsList.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DetailsList/DetailsList.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DetailsList.scss",
|
|
"loc": "38:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_a107e0e9',\n focusZone: 'focusZone_a107e0e9',\n rootIsHorizontalConstrained: 'rootIsHorizontalConstrained_a107e0e9',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_a107e0e9{position:relative;font-size:12px;background:0 0;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.focusZone_a107e0e9{display:inline-block;vertical-align:top;min-width:100%;min-height:1px}.rootIsHorizontalConstrained_a107e0e9{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.root_a107e0e9 .ms-List-cell{min-height:38px;word-break:break-word}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 256,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dialog.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Dialog.js",
|
|
"index": 256,
|
|
"index2": 270,
|
|
"size": 309,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog",
|
|
"loc": "21:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Dialog/index\"));\nvar index_1 = require(\"./components/Dialog/index\");\nexports.default = index_1.Dialog;\n\n"
|
|
},
|
|
{
|
|
"id": 257,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"index": 257,
|
|
"index2": 269,
|
|
"size": 318,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dialog.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 256,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Dialog/index",
|
|
"loc": "6:9-45"
|
|
},
|
|
{
|
|
"moduleId": 256,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Dialog/index",
|
|
"loc": "7:14-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Dialog\"));\n__export(require(\"./DialogContent\"));\n__export(require(\"./DialogFooter\"));\n__export(require(\"./Dialog.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 258,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"index": 258,
|
|
"index2": 268,
|
|
"size": 4257,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 257,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog",
|
|
"loc": "6:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Dialog_Props_1 = require(\"./Dialog.Props\");\nvar Modal_1 = require(\"../../Modal\");\nvar withResponsiveMode_1 = require(\"../../utilities/decorators/withResponsiveMode\");\nvar stylesImport = require(\"./Dialog.scss\");\nvar styles = stylesImport;\nvar DialogContent_1 = require(\"./DialogContent\");\nvar Dialog = (function (_super) {\n __extends(Dialog, _super);\n function Dialog(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n id: Utilities_1.getId('Dialog'),\n };\n return _this;\n }\n Dialog.prototype.render = function () {\n var _a = this.props, elementToFocusOnDismiss = _a.elementToFocusOnDismiss, firstFocusableSelector = _a.firstFocusableSelector, forceFocusInsideTrap = _a.forceFocusInsideTrap, ignoreExternalFocusing = _a.ignoreExternalFocusing, isBlocking = _a.isBlocking, isClickableOutsideFocusTrap = _a.isClickableOutsideFocusTrap, isDarkOverlay = _a.isDarkOverlay, isOpen = _a.isOpen, onDismiss = _a.onDismiss, onDismissed = _a.onDismissed, onLayerDidMount = _a.onLayerDidMount, onLayerMounted = _a.onLayerMounted, responsiveMode = _a.responsiveMode, subText = _a.subText, title = _a.title, type = _a.type, contentClassName = _a.contentClassName, topButtonsProps = _a.topButtonsProps;\n var id = this.state.id;\n var dialogClassName = Utilities_1.css(this.props.className, (_b = {},\n _b['ms-Dialog--lgHeader ' + styles.isLargeHeader] = type === Dialog_Props_1.DialogType.largeHeader,\n _b['ms-Dialog--close ' + styles.isClose] = type === Dialog_Props_1.DialogType.close,\n _b));\n var containerClassName = Utilities_1.css(this.props.containerClassName, styles.main);\n return (React.createElement(Modal_1.Modal, { className: dialogClassName, containerClassName: containerClassName, elementToFocusOnDismiss: elementToFocusOnDismiss, firstFocusableSelector: firstFocusableSelector, forceFocusInsideTrap: forceFocusInsideTrap, ignoreExternalFocusing: ignoreExternalFocusing, isBlocking: isBlocking, isClickableOutsideFocusTrap: isClickableOutsideFocusTrap, isDarkOverlay: isDarkOverlay, isOpen: isOpen, onDismiss: onDismiss, onDismissed: onDismissed, onLayerDidMount: onLayerDidMount, responsiveMode: responsiveMode, subtitleAriaId: subText && id + '-subText', titleAriaId: title && id + '-title' },\n React.createElement(DialogContent_1.DialogContent, { onDismiss: onDismiss, showCloseButton: !isBlocking && type !== Dialog_Props_1.DialogType.largeHeader, title: title, subText: subText, className: contentClassName, topButtonsProps: topButtonsProps }, this.props.children)));\n var _b;\n };\n return Dialog;\n}(Utilities_1.BaseComponent));\nDialog.defaultProps = {\n isOpen: false,\n type: Dialog_Props_1.DialogType.normal,\n isDarkOverlay: true,\n isBlocking: false,\n className: '',\n containerClassName: '',\n contentClassName: '',\n topButtonsProps: []\n};\nDialog = __decorate([\n withResponsiveMode_1.withResponsiveMode\n], Dialog);\nexports.Dialog = Dialog;\n\n"
|
|
},
|
|
{
|
|
"id": 259,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.Props.js",
|
|
"index": 259,
|
|
"index2": 253,
|
|
"size": 491,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 257,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog.Props",
|
|
"loc": "9:9-34"
|
|
},
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog.Props",
|
|
"loc": "21:21-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DialogType;\n(function (DialogType) {\n /** Standard dialog */\n DialogType[DialogType[\"normal\"] = 0] = \"normal\";\n /** Dialog with large header banner */\n DialogType[DialogType[\"largeHeader\"] = 1] = \"largeHeader\";\n /** Dialog with an 'x' close button in the upper-right corner */\n DialogType[DialogType[\"close\"] = 2] = \"close\";\n})(DialogType = exports.DialogType || (exports.DialogType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 260,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Modal.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Modal.js",
|
|
"index": 260,
|
|
"index2": 264,
|
|
"size": 306,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Modal",
|
|
"loc": "22:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Modal/index\"));\nvar index_1 = require(\"./components/Modal/index\");\nexports.default = index_1.Modal;\n\n"
|
|
},
|
|
{
|
|
"id": 261,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Modal/index.js",
|
|
"index": 261,
|
|
"index2": 263,
|
|
"size": 205,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Modal.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 260,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Modal/index",
|
|
"loc": "6:9-44"
|
|
},
|
|
{
|
|
"moduleId": 260,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Modal/index",
|
|
"loc": "7:14-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Modal\"));\n\n"
|
|
},
|
|
{
|
|
"id": 262,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"index": 262,
|
|
"index2": 262,
|
|
"size": 5575,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 261,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Modal",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar index_1 = require(\"../FocusTrapZone/index\");\nvar Overlay_1 = require(\"../../Overlay\");\nvar Layer_1 = require(\"../../Layer\");\nvar index_2 = require(\"../Popup/index\");\nvar withResponsiveMode_1 = require(\"../../utilities/decorators/withResponsiveMode\");\nvar stylesImport = require(\"./Modal.scss\");\nvar styles = stylesImport;\nvar Modal = (function (_super) {\n __extends(Modal, _super);\n function Modal(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n id: Utilities_1.getId('Modal'),\n isOpen: props.isOpen,\n isVisible: props.isOpen,\n };\n return _this;\n }\n Modal.prototype.componentWillReceiveProps = function (newProps) {\n clearTimeout(this._onModalCloseTimer);\n // Opening the dialog\n if (newProps.isOpen) {\n if (!this.state.isOpen) {\n // First Open\n this.setState({\n isOpen: true\n });\n }\n else {\n // Reopen during closing\n this.setState({\n isVisible: true\n });\n }\n }\n // Closing the dialog\n if (!newProps.isOpen && this.state.isOpen) {\n this._onModalCloseTimer = this._async.setTimeout(this._onModalClose, parseFloat(styles.duration) * 1000);\n this.setState({\n isVisible: false\n });\n }\n };\n Modal.prototype.componentDidUpdate = function (prevProps, prevState) {\n if (!prevProps.isOpen && !prevState.isVisible) {\n this.setState({\n isVisible: true\n });\n }\n };\n Modal.prototype.render = function () {\n var _a = this.props, elementToFocusOnDismiss = _a.elementToFocusOnDismiss, firstFocusableSelector = _a.firstFocusableSelector, forceFocusInsideTrap = _a.forceFocusInsideTrap, ignoreExternalFocusing = _a.ignoreExternalFocusing, isBlocking = _a.isBlocking, isClickableOutsideFocusTrap = _a.isClickableOutsideFocusTrap, isDarkOverlay = _a.isDarkOverlay, onDismiss = _a.onDismiss, onLayerDidMount = _a.onLayerDidMount, responsiveMode = _a.responsiveMode, titleAriaId = _a.titleAriaId, subtitleAriaId = _a.subtitleAriaId;\n var _b = this.state, id = _b.id, isOpen = _b.isOpen, isVisible = _b.isVisible;\n var modalClassName = Utilities_1.css('ms-Dialog', styles.root, this.props.className, (_c = {},\n _c['is-open'] = isOpen,\n _c[styles.rootIsVisible] = isVisible,\n _c));\n if (!isOpen) {\n return null;\n }\n // @temp tuatology - Will adjust this to be a panel at certain breakpoints\n if (responsiveMode >= withResponsiveMode_1.ResponsiveMode.small) {\n return (React.createElement(Layer_1.Layer, { onLayerDidMount: onLayerDidMount },\n React.createElement(index_2.Popup, { role: isBlocking ? 'alertdialog' : 'dialog', ariaLabelledBy: titleAriaId, ariaDescribedBy: subtitleAriaId, onDismiss: onDismiss },\n React.createElement(\"div\", { className: modalClassName },\n React.createElement(Overlay_1.Overlay, { isDarkThemed: isDarkOverlay, onClick: isBlocking ? null : onDismiss }),\n React.createElement(index_1.FocusTrapZone, { className: Utilities_1.css('ms-Dialog-main', styles.main, this.props.containerClassName), elementToFocusOnDismiss: elementToFocusOnDismiss, isClickableOutsideFocusTrap: isClickableOutsideFocusTrap ? isClickableOutsideFocusTrap : !isBlocking, ignoreExternalFocusing: ignoreExternalFocusing, forceFocusInsideTrap: forceFocusInsideTrap, firstFocusableSelector: firstFocusableSelector }, this.props.children)))));\n }\n var _c;\n };\n // Watch for completed animations and set the state\n Modal.prototype._onModalClose = function () {\n this.setState({\n isOpen: false\n });\n // Call the onDismiss callback\n if (this.props.onDismissed) {\n this.props.onDismissed();\n }\n };\n return Modal;\n}(Utilities_1.BaseComponent));\nModal.defaultProps = {\n isOpen: false,\n isDarkOverlay: true,\n isBlocking: false,\n className: '',\n containerClassName: '',\n};\nModal = __decorate([\n withResponsiveMode_1.withResponsiveMode\n], Modal);\nexports.Modal = Modal;\n\n"
|
|
},
|
|
{
|
|
"id": 263,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusTrapZone\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/index.js",
|
|
"index": 263,
|
|
"index2": 255,
|
|
"size": 213,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\FocusTrapZone.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../FocusTrapZone/index",
|
|
"loc": "21:14-47"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../FocusTrapZone/index",
|
|
"loc": "31:14-47"
|
|
},
|
|
{
|
|
"moduleId": 305,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\FocusTrapZone.js",
|
|
"module": "./~/office-ui-fabric-react/lib/FocusTrapZone.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/FocusTrapZone.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/FocusTrapZone/index",
|
|
"loc": "6:9-52"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./FocusTrapZone\"));\n\n"
|
|
},
|
|
{
|
|
"id": 264,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusTrapZone\\FocusTrapZone.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/FocusTrapZone.js",
|
|
"index": 264,
|
|
"index2": 254,
|
|
"size": 7063,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusTrapZone\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 263,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\FocusTrapZone\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/FocusTrapZone/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FocusTrapZone",
|
|
"loc": "6:9-35"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusTrapZone = (function (_super) {\n __extends(FocusTrapZone, _super);\n function FocusTrapZone() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._isInFocusStack = false;\n _this._isInClickStack = false;\n return _this;\n }\n FocusTrapZone.prototype.componentWillMount = function () {\n var _a = this.props, _b = _a.isClickableOutsideFocusTrap, isClickableOutsideFocusTrap = _b === void 0 ? false : _b, _c = _a.forceFocusInsideTrap, forceFocusInsideTrap = _c === void 0 ? true : _c;\n if (forceFocusInsideTrap) {\n this._isInFocusStack = true;\n FocusTrapZone._focusStack.push(this);\n }\n if (!isClickableOutsideFocusTrap) {\n this._isInClickStack = true;\n FocusTrapZone._clickStack.push(this);\n }\n };\n FocusTrapZone.prototype.componentDidMount = function () {\n var _a = this.props, elementToFocusOnDismiss = _a.elementToFocusOnDismiss, _b = _a.isClickableOutsideFocusTrap, isClickableOutsideFocusTrap = _b === void 0 ? false : _b, _c = _a.forceFocusInsideTrap, forceFocusInsideTrap = _c === void 0 ? true : _c;\n this._previouslyFocusedElement = elementToFocusOnDismiss ? elementToFocusOnDismiss : document.activeElement;\n if (!Utilities_1.elementContains(this.refs.root, this._previouslyFocusedElement)) {\n this.focus();\n }\n if (forceFocusInsideTrap) {\n this._events.on(window, 'focus', this._forceFocusInTrap, true);\n }\n if (!isClickableOutsideFocusTrap) {\n this._events.on(window, 'click', this._forceClickInTrap, true);\n }\n };\n FocusTrapZone.prototype.componentWillUnmount = function () {\n var _this = this;\n var ignoreExternalFocusing = this.props.ignoreExternalFocusing;\n this._events.dispose();\n if (this._isInFocusStack || this._isInClickStack) {\n var filter = function (value) {\n return _this !== value;\n };\n if (this._isInFocusStack) {\n FocusTrapZone._focusStack = FocusTrapZone._focusStack.filter(filter);\n }\n if (this._isInClickStack) {\n FocusTrapZone._clickStack = FocusTrapZone._clickStack.filter(filter);\n }\n }\n if (!ignoreExternalFocusing && this._previouslyFocusedElement && typeof this._previouslyFocusedElement.focus === 'function') {\n this._previouslyFocusedElement.focus();\n }\n };\n FocusTrapZone.prototype.render = function () {\n var _a = this.props, className = _a.className, ariaLabelledBy = _a.ariaLabelledBy;\n var divProps = Utilities_1.getNativeProps(this.props, Utilities_1.divProperties);\n return (React.createElement(\"div\", __assign({}, divProps, { className: className, ref: 'root', \"aria-labelledby\": ariaLabelledBy, onKeyDown: this._onKeyboardHandler }), this.props.children));\n };\n /**\n * Need to expose this method in case of popups since focus needs to be set when popup is opened\n */\n FocusTrapZone.prototype.focus = function () {\n var firstFocusableSelector = this.props.firstFocusableSelector;\n var _firstFocusableChild;\n var root = this.refs.root;\n if (firstFocusableSelector) {\n _firstFocusableChild = root.querySelector('.' + firstFocusableSelector);\n }\n else {\n _firstFocusableChild = Utilities_1.getNextElement(root, root.firstChild, true, false, false, true);\n }\n if (_firstFocusableChild) {\n _firstFocusableChild.focus();\n }\n };\n FocusTrapZone.prototype._onKeyboardHandler = function (ev) {\n if (ev.which !== Utilities_1.KeyCodes.tab) {\n return;\n }\n var root = this.refs.root;\n var _firstFocusableChild = Utilities_1.getFirstFocusable(root, root.firstChild, true);\n var _lastFocusableChild = Utilities_1.getLastFocusable(root, root.lastChild, true);\n if (ev.shiftKey && _firstFocusableChild === ev.target) {\n _lastFocusableChild.focus();\n ev.preventDefault();\n ev.stopPropagation();\n }\n else if (!ev.shiftKey && _lastFocusableChild === ev.target) {\n _firstFocusableChild.focus();\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n FocusTrapZone.prototype._forceFocusInTrap = function (ev) {\n if (FocusTrapZone._focusStack.length && this === FocusTrapZone._focusStack[FocusTrapZone._focusStack.length - 1]) {\n var focusedElement = document.activeElement;\n if (!Utilities_1.elementContains(this.refs.root, focusedElement)) {\n this.focus();\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n };\n FocusTrapZone.prototype._forceClickInTrap = function (ev) {\n if (FocusTrapZone._clickStack.length && this === FocusTrapZone._clickStack[FocusTrapZone._clickStack.length - 1]) {\n var clickedElement = ev.target;\n if (clickedElement && !Utilities_1.elementContains(this.refs.root, clickedElement)) {\n this.focus();\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n };\n return FocusTrapZone;\n}(Utilities_1.BaseComponent));\nFocusTrapZone._focusStack = [];\nFocusTrapZone._clickStack = [];\n__decorate([\n Utilities_1.autobind\n], FocusTrapZone.prototype, \"_onKeyboardHandler\", null);\nexports.FocusTrapZone = FocusTrapZone;\n\n"
|
|
},
|
|
{
|
|
"id": 265,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Overlay.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Overlay.js",
|
|
"index": 265,
|
|
"index2": 259,
|
|
"size": 224,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Overlay",
|
|
"loc": "38:9-29"
|
|
},
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Overlay",
|
|
"loc": "22:16-40"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Overlay",
|
|
"loc": "34:16-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Overlay/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 266,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Overlay/index.js",
|
|
"index": 266,
|
|
"index2": 258,
|
|
"size": 207,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Overlay.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 265,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Overlay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Overlay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Overlay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Overlay/index",
|
|
"loc": "6:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Overlay\"));\n\n"
|
|
},
|
|
{
|
|
"id": 267,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"index": 267,
|
|
"index2": 257,
|
|
"size": 1992,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 266,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Overlay/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Overlay/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Overlay",
|
|
"loc": "6:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Overlay.scss\");\nvar styles = stylesImport;\nvar Overlay = (function (_super) {\n __extends(Overlay, _super);\n function Overlay() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Overlay.prototype.componentDidMount = function () {\n Utilities_1.disableBodyScroll();\n };\n Overlay.prototype.componentWillUnmount = function () {\n Utilities_1.enableBodyScroll();\n };\n Overlay.prototype.render = function () {\n var _a = this.props, isDarkThemed = _a.isDarkThemed, className = _a.className;\n var divProps = Utilities_1.getNativeProps(this.props, Utilities_1.divProperties);\n var modifiedClassName = Utilities_1.css('ms-Overlay', styles.root, className, (_b = {},\n _b['ms-Overlay--dark ' + styles.rootIsDark] = isDarkThemed,\n _b));\n return (React.createElement(\"div\", __assign({}, divProps, { className: modifiedClassName })));\n var _b;\n };\n return Overlay;\n}(Utilities_1.BaseComponent));\nexports.Overlay = Overlay;\n\n"
|
|
},
|
|
{
|
|
"id": 268,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.scss.js",
|
|
"index": 268,
|
|
"index2": 256,
|
|
"size": 703,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 267,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Overlay\\Overlay.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Overlay/Overlay.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Overlay.scss",
|
|
"loc": "23:19-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_96cb34c6',\n rootIsNone: 'rootIsNone_96cb34c6',\n rootIsDark: 'rootIsDark_96cb34c6',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_96cb34c6{background-color:\" }, { \"theme\": \"whiteTranslucent40\", \"defaultValue\": \"rgba(255,255,255,.4)\" }, { \"rawString\": \";position:absolute;bottom:0;left:0;right:0;top:0}.root_96cb34c6.rootIsNone_96cb34c6{visibility:hidden}.root_96cb34c6.rootIsDark_96cb34c6{background-color:\" }, { \"theme\": \"blackTranslucent40\", \"defaultValue\": \"rgba(0,0,0,.4)\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 269,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\utilities\\decorators\\withResponsiveMode.js",
|
|
"name": "./~/office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode.js",
|
|
"index": 269,
|
|
"index2": 260,
|
|
"size": 4077,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/decorators/withResponsiveMode",
|
|
"loc": "23:27-83"
|
|
},
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/decorators/withResponsiveMode",
|
|
"loc": "25:27-83"
|
|
},
|
|
{
|
|
"moduleId": 272,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/decorators/withResponsiveMode",
|
|
"loc": "31:27-83"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../utilities/decorators/withResponsiveMode",
|
|
"loc": "36:27-83"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar BaseDecorator_1 = require(\"./BaseDecorator\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar ResponsiveMode;\n(function (ResponsiveMode) {\n ResponsiveMode[ResponsiveMode[\"small\"] = 0] = \"small\";\n ResponsiveMode[ResponsiveMode[\"medium\"] = 1] = \"medium\";\n ResponsiveMode[ResponsiveMode[\"large\"] = 2] = \"large\";\n ResponsiveMode[ResponsiveMode[\"xLarge\"] = 3] = \"xLarge\";\n ResponsiveMode[ResponsiveMode[\"xxLarge\"] = 4] = \"xxLarge\";\n ResponsiveMode[ResponsiveMode[\"xxxLarge\"] = 5] = \"xxxLarge\";\n})(ResponsiveMode = exports.ResponsiveMode || (exports.ResponsiveMode = {}));\nvar RESPONSIVE_MAX_CONSTRAINT = [\n 479,\n 639,\n 1023,\n 1365,\n 1919,\n 99999999\n];\nvar _defaultMode;\n/**\n * Allows a server rendered scenario to provide a default responsive mode.\n */\nfunction setResponsiveMode(responsiveMode) {\n _defaultMode = responsiveMode;\n}\nexports.setResponsiveMode = setResponsiveMode;\nfunction withResponsiveMode(ComposedComponent) {\n return (function (_super) {\n __extends(WithResponsiveMode, _super);\n function WithResponsiveMode() {\n var _this = _super.call(this) || this;\n _this._updateComposedComponentRef = _this._updateComposedComponentRef.bind(_this);\n _this.state = {\n responsiveMode: _this._getResponsiveMode()\n };\n return _this;\n }\n WithResponsiveMode.prototype.componentDidMount = function () {\n var _this = this;\n this._events.on(window, 'resize', function () {\n var responsiveMode = _this._getResponsiveMode();\n if (responsiveMode !== _this.state.responsiveMode) {\n _this.setState({\n responsiveMode: responsiveMode\n });\n }\n });\n };\n WithResponsiveMode.prototype.componentWillUnmount = function () {\n this._events.dispose();\n };\n WithResponsiveMode.prototype.render = function () {\n var responsiveMode = this.state.responsiveMode;\n return (React.createElement(ComposedComponent, __assign({ ref: this._updateComposedComponentRef, responsiveMode: responsiveMode }, this.props)));\n };\n WithResponsiveMode.prototype._getResponsiveMode = function () {\n var responsiveMode = ResponsiveMode.small;\n var win = Utilities_1.getWindow();\n if (typeof win !== 'undefined') {\n while (win.innerWidth > RESPONSIVE_MAX_CONSTRAINT[responsiveMode]) {\n responsiveMode++;\n }\n }\n else {\n if (_defaultMode !== undefined) {\n responsiveMode = _defaultMode;\n }\n else {\n throw new Error('Content was rendered in a server environment without providing a default responsive mode. ' +\n 'Call setResponsiveMode to define what the responsive mode is.');\n }\n }\n return responsiveMode;\n };\n return WithResponsiveMode;\n }(BaseDecorator_1.BaseDecorator));\n}\nexports.withResponsiveMode = withResponsiveMode;\n\n"
|
|
},
|
|
{
|
|
"id": 270,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Modal/Modal.scss.js",
|
|
"index": 270,
|
|
"index2": 261,
|
|
"size": 1334,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 262,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Modal\\Modal.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Modal/Modal.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Modal.scss",
|
|
"loc": "26:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n duration: '0.267s',\n root: 'root_a3f85f57',\n rootIsVisible: 'rootIsVisible_a3f85f57',\n main: 'main_a3f85f57',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_a3f85f57{background-color:transparent;position:fixed;height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity 267ms}.root_a3f85f57 .ms-Button.ms-Button--compound{display:block}[dir=ltr] .root_a3f85f57 .ms-Button.ms-Button--compound{margin-left:0}[dir=rtl] .root_a3f85f57 .ms-Button.ms-Button--compound{margin-right:0}@media screen and (-ms-high-contrast:active){.root_a3f85f57 .ms-Overlay{opacity:0}}.rootIsVisible_a3f85f57{opacity:1;pointer-events:auto}.main_a3f85f57{box-shadow:0 0 5px 0 rgba(0,0,0,.4);background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";box-sizing:border-box;position:relative;outline:3px solid transparent;max-height:100%;overflow-y:auto}[dir=ltr] .main_a3f85f57{text-align:left}[dir=rtl] .main_a3f85f57{text-align:right}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 271,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.scss.js",
|
|
"index": 271,
|
|
"index2": 265,
|
|
"size": 3332,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog.scss",
|
|
"loc": "24:19-43"
|
|
},
|
|
{
|
|
"moduleId": 272,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog.scss",
|
|
"loc": "32:19-43"
|
|
},
|
|
{
|
|
"moduleId": 273,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogFooter.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dialog.scss",
|
|
"loc": "15:19-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n isOpen: 'isOpen_4755d2e8',\n main: 'main_4755d2e8',\n button: 'button_4755d2e8',\n isClose: 'isClose_4755d2e8',\n inner: 'inner_4755d2e8',\n header: 'header_4755d2e8',\n title: 'title_4755d2e8',\n topButton: 'topButton_4755d2e8',\n content: 'content_4755d2e8',\n subText: 'subText_4755d2e8',\n actions: 'actions_4755d2e8',\n actionsRight: 'actionsRight_4755d2e8',\n action: 'action_4755d2e8',\n isLargeHeader: 'isLargeHeader_4755d2e8',\n isMultiline: 'isMultiline_4755d2e8',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".isOpen_4755d2e8{display:-webkit-box;display:-ms-flexbox;display:flex}.main_4755d2e8{width:288px}.button_4755d2e8.isClose_4755d2e8{display:none}.button_4755d2e8.isClose_4755d2e8 .ms-Icon.ms-Icon--Cancel{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:16px}.inner_4755d2e8{padding:0 28px 20px}.header_4755d2e8{position:relative;width:100%;box-sizing:border-box}.title_4755d2e8{margin:0;font-size:21px;font-weight:100;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";padding:20px 36px 20px 28px}[dir=rtl] .title_4755d2e8{padding:20px 28px 20px 36px}.topButton_4755d2e8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;position:absolute;top:0;padding:12px 12px 0 0}[dir=ltr] .topButton_4755d2e8{right:0}[dir=rtl] .topButton_4755d2e8{left:0}[dir=rtl] .topButton_4755d2e8{padding:12px 0 0 12px}.topButton_4755d2e8>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.content_4755d2e8{position:relative;width:100%}.content_4755d2e8 .ms-Button.ms-Button--compound{margin-bottom:20px}.content_4755d2e8 .ms-Button.ms-Button--compound:last-child{margin-bottom:0}.subText_4755d2e8{margin:0 0 20px 0;padding-top:8px;font-size:12px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-weight:300;line-height:1.5}.actions_4755d2e8{position:relative;width:100%;min-height:24px;line-height:24px;margin:20px 0 0;font-size:0}.actions_4755d2e8 .ms-Button{line-height:normal}.actionsRight_4755d2e8{font-size:0}[dir=ltr] .actionsRight_4755d2e8{text-align:right}[dir=rtl] .actionsRight_4755d2e8{text-align:left}[dir=ltr] .actionsRight_4755d2e8{margin-right:-4px}[dir=rtl] .actionsRight_4755d2e8{margin-left:-4px}.actionsRight_4755d2e8 .action_4755d2e8{margin:0 4px}.isClose_4755d2e8:not(.isLargeHeader_4755d2e8) .button_4755d2e8.isClose_4755d2e8{display:block}.isMultiline_4755d2e8 .title_4755d2e8{font-size:28px}.isMultiline_4755d2e8 .inner_4755d2e8{padding:0 20px 20px}.isLargeHeader_4755d2e8 .header_4755d2e8{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.isLargeHeader_4755d2e8 .title_4755d2e8{font-size:28px;font-weight:100;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";padding:26px 28px 28px;margin-bottom:8px}.isLargeHeader_4755d2e8 .subText_4755d2e8{font-size:14px}@media (min-width:480px){.main_4755d2e8{width:auto;min-width:288px;max-width:340px}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 272,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"index": 272,
|
|
"index2": 267,
|
|
"size": 4828,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 257,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DialogContent",
|
|
"loc": "7:9-35"
|
|
},
|
|
{
|
|
"moduleId": 258,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\Dialog.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/Dialog.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DialogContent",
|
|
"loc": "26:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Button_1 = require(\"../../Button\");\nvar DialogFooter_1 = require(\"./DialogFooter\");\nvar withResponsiveMode_1 = require(\"../../utilities/decorators/withResponsiveMode\");\nvar stylesImport = require(\"./Dialog.scss\");\nvar styles = stylesImport;\nvar DialogContent = (function (_super) {\n __extends(DialogContent, _super);\n function DialogContent(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n id: Utilities_1.getId('Dialog'),\n };\n return _this;\n }\n DialogContent.prototype.render = function () {\n var _a = this.props, showCloseButton = _a.showCloseButton, closeButtonAriaLabel = _a.closeButtonAriaLabel, onDismiss = _a.onDismiss, subText = _a.subText, title = _a.title;\n var id = this.state.id;\n var groupings = this._groupChildren();\n var subTextContent;\n if (subText) {\n subTextContent = React.createElement(\"p\", { className: Utilities_1.css('ms-Dialog-subText', styles.subText), id: id + '-subText' }, subText);\n }\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: Utilities_1.css('ms-Dialog-header', styles.header) },\n React.createElement(\"p\", { className: Utilities_1.css('ms-Dialog-title', styles.title), id: id + '-title', role: 'heading' }, title),\n React.createElement(\"div\", { className: Utilities_1.css('ms-Dialog-topButton', styles.topButton) },\n this.props.topButtonsProps.map(function (props) { return (React.createElement(Button_1.IconButton, __assign({}, props))); }),\n React.createElement(Button_1.IconButton, { className: Utilities_1.css('ms-Dialog-button ms-Dialog-button--close', styles.button, (_b = {}, _b[styles.isClose] = !showCloseButton, _b)), iconProps: { iconName: 'Cancel' }, ariaLabel: closeButtonAriaLabel, onClick: onDismiss }))),\n React.createElement(\"div\", { className: Utilities_1.css('ms-Dialog-inner', styles.inner) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Dialog-content', styles.content, this.props.className) },\n subTextContent,\n groupings.contents),\n groupings.footers)));\n var _b;\n };\n // @TODO - typing the footers as an array of DialogFooter is difficult because\n // casing \"child as DialogFooter\" causes a problem because\n // \"Neither type 'ReactElement<any>' nor type 'DialogFooter' is assignable to the other.\"\n DialogContent.prototype._groupChildren = function () {\n var groupings = {\n footers: [],\n contents: []\n };\n React.Children.map(this.props.children, function (child) {\n if (typeof child === 'object' && child !== null && child.type === DialogFooter_1.DialogFooter) {\n groupings.footers.push(child);\n }\n else {\n groupings.contents.push(child);\n }\n });\n return groupings;\n };\n return DialogContent;\n}(Utilities_1.BaseComponent));\nDialogContent.defaultProps = {\n showCloseButton: false,\n className: '',\n topButtonsProps: []\n};\nDialogContent = __decorate([\n withResponsiveMode_1.withResponsiveMode\n], DialogContent);\nexports.DialogContent = DialogContent;\n\n"
|
|
},
|
|
{
|
|
"id": 273,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogFooter.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dialog/DialogFooter.js",
|
|
"index": 273,
|
|
"index2": 266,
|
|
"size": 1604,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 257,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DialogFooter",
|
|
"loc": "8:9-34"
|
|
},
|
|
{
|
|
"moduleId": 272,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dialog\\DialogContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dialog/DialogContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DialogFooter",
|
|
"loc": "30:21-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Dialog.scss\");\nvar styles = stylesImport;\nvar DialogFooter = (function (_super) {\n __extends(DialogFooter, _super);\n function DialogFooter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DialogFooter.prototype.render = function () {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Dialog-actions', styles.actions) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Dialog-actionsRight', styles.actionsRight) }, this._renderChildrenAsActions())));\n };\n DialogFooter.prototype._renderChildrenAsActions = function () {\n return React.Children.map(this.props.children, function (child) {\n return React.createElement(\"span\", { className: Utilities_1.css('ms-Dialog-action', styles.action) }, child);\n });\n };\n return DialogFooter;\n}(Utilities_1.BaseComponent));\nexports.DialogFooter = DialogFooter;\n\n"
|
|
},
|
|
{
|
|
"id": 274,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DocumentCard.js",
|
|
"name": "./~/office-ui-fabric-react/lib/DocumentCard.js",
|
|
"index": 274,
|
|
"index2": 286,
|
|
"size": 229,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard",
|
|
"loc": "22:9-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/DocumentCard/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 275,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"index": 275,
|
|
"index2": 285,
|
|
"size": 475,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DocumentCard.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 274,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\DocumentCard.js",
|
|
"module": "./~/office-ui-fabric-react/lib/DocumentCard.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/DocumentCard.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/DocumentCard/index",
|
|
"loc": "6:9-51"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./DocumentCard\"));\n__export(require(\"./DocumentCard.Props\"));\n__export(require(\"./DocumentCardActions\"));\n__export(require(\"./DocumentCardActivity\"));\n__export(require(\"./DocumentCardLocation\"));\n__export(require(\"./DocumentCardPreview\"));\n__export(require(\"./DocumentCardTitle\"));\n\n"
|
|
},
|
|
{
|
|
"id": 276,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"index": 276,
|
|
"index2": 273,
|
|
"size": 4073,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard",
|
|
"loc": "6:9-34"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar DocumentCard_Props_1 = require(\"./DocumentCard.Props\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./DocumentCard.scss\");\nvar styles = stylesImport;\nvar DocumentCard = (function (_super) {\n __extends(DocumentCard, _super);\n function DocumentCard() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DocumentCard.prototype.render = function () {\n var _a = this.props, onClick = _a.onClick, onClickHref = _a.onClickHref, children = _a.children, className = _a.className, type = _a.type, accentColor = _a.accentColor;\n var actionable = (onClick || onClickHref) ? true : false;\n // Override the border color if an accent color was provided (compact card only)\n var style;\n if (type === DocumentCard_Props_1.DocumentCardType.compact && accentColor) {\n style = {\n borderBottomColor: accentColor\n };\n }\n // if this element is actionable it should have an aria role\n var role = actionable ? (onClick ? 'button' : 'link') : null;\n var tabIndex = actionable ? 0 : null;\n return (React.createElement(\"div\", { tabIndex: tabIndex, role: role, className: Utilities_1.css('ms-DocumentCard', styles.root, (_b = {},\n _b['ms-DocumentCard--actionable ' + styles.rootIsActionable] = actionable,\n _b['ms-DocumentCard--compact ' + styles.rootIsCompact] = type === DocumentCard_Props_1.DocumentCardType.compact ? true : false,\n _b), className), onKeyDown: actionable ? this._onKeyDown : null, onClick: actionable ? this._onClick : null, style: style }, children));\n var _b;\n };\n DocumentCard.prototype._onClick = function (ev) {\n this._onAction(ev);\n };\n DocumentCard.prototype._onKeyDown = function (ev) {\n if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) {\n this._onAction(ev);\n }\n };\n DocumentCard.prototype._onAction = function (ev) {\n var _a = this.props, onClick = _a.onClick, onClickHref = _a.onClickHref;\n if (onClick) {\n onClick(ev);\n }\n else if (!onClick && onClickHref) {\n // If no onClick Function was provided and we do have an onClickHref, redirect to the onClickHref\n window.location.href = onClickHref;\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n return DocumentCard;\n}(Utilities_1.BaseComponent));\nDocumentCard.defaultProps = {\n type: DocumentCard_Props_1.DocumentCardType.normal\n};\n__decorate([\n Utilities_1.autobind\n], DocumentCard.prototype, \"_onClick\", null);\n__decorate([\n Utilities_1.autobind\n], DocumentCard.prototype, \"_onKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], DocumentCard.prototype, \"_onAction\", null);\nexports.DocumentCard = DocumentCard;\n\n"
|
|
},
|
|
{
|
|
"id": 277,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.Props.js",
|
|
"index": 277,
|
|
"index2": 271,
|
|
"size": 492,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.Props",
|
|
"loc": "7:9-40"
|
|
},
|
|
{
|
|
"moduleId": 276,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.Props",
|
|
"loc": "20:27-58"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DocumentCardType;\n(function (DocumentCardType) {\n /**\n * Standard DocumentCard.\n */\n DocumentCardType[DocumentCardType[\"normal\"] = 0] = \"normal\";\n /**\n * Compact layout. Displays the preview beside the details, rather than above.\n */\n DocumentCardType[DocumentCardType[\"compact\"] = 1] = \"compact\";\n})(DocumentCardType = exports.DocumentCardType || (exports.DocumentCardType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 278,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.scss.js",
|
|
"index": 278,
|
|
"index2": 272,
|
|
"size": 7227,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 276,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCard.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCard.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.scss",
|
|
"loc": "22:19-49"
|
|
},
|
|
{
|
|
"moduleId": 279,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.scss",
|
|
"loc": "25:19-49"
|
|
},
|
|
{
|
|
"moduleId": 280,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActivity.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.scss",
|
|
"loc": "16:19-49"
|
|
},
|
|
{
|
|
"moduleId": 287,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardLocation.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.scss",
|
|
"loc": "15:19-49"
|
|
},
|
|
{
|
|
"moduleId": 288,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardPreview.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.scss",
|
|
"loc": "22:19-49"
|
|
},
|
|
{
|
|
"moduleId": 289,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardTitle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCard.scss",
|
|
"loc": "23:19-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_4e9b7730',\n rootIsActionable: 'rootIsActionable_4e9b7730',\n location: 'location_4e9b7730',\n title: 'title_4e9b7730',\n rootIsCompact: 'rootIsCompact_4e9b7730',\n preview: 'preview_4e9b7730',\n icon: 'icon_4e9b7730',\n activity: 'activity_4e9b7730',\n actions: 'actions_4e9b7730',\n action: 'action_4e9b7730',\n views: 'views_4e9b7730',\n activityIsMultiplePeople: 'activityIsMultiplePeople_4e9b7730',\n avatar: 'avatar_4e9b7730',\n activityDetails: 'activityDetails_4e9b7730',\n avatars: 'avatars_4e9b7730',\n name: 'name_4e9b7730',\n activityActivity: 'activityActivity_4e9b7730',\n previewIsFileList: 'previewIsFileList_4e9b7730',\n fileList: 'fileList_4e9b7730',\n fileListIcon: 'fileListIcon_4e9b7730',\n fileListMore: 'fileListMore_4e9b7730',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_4e9b7730{-webkit-font-smoothing:antialiased;background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";box-sizing:border-box;max-width:320px;min-width:206px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.rootIsActionable_4e9b7730:hover{cursor:pointer;border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.rootIsActionable_4e9b7730:hover:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid \" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";pointer-events:none}.location_4e9b7730+.title_4e9b7730{padding-top:4px}.rootIsCompact_4e9b7730{border-bottom:2px solid \" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";display:-webkit-box;display:-ms-flexbox;display:flex;max-width:480px;height:109px}.rootIsCompact_4e9b7730 .ms-DocumentCard-details{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rootIsCompact_4e9b7730 .preview_4e9b7730{border-bottom:none;max-height:106px;max-width:144px}.rootIsCompact_4e9b7730 .preview_4e9b7730 .icon_4e9b7730 .ms-Image-image{max-height:32px;max-width:32px}html[dir=ltr] .rootIsCompact_4e9b7730 .preview_4e9b7730{border-right:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}html[dir=rtl] .rootIsCompact_4e9b7730 .preview_4e9b7730{border-left:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.rootIsCompact_4e9b7730 .title_4e9b7730{padding:12px 16px 8px 16px;font-size:15px;font-weight:400;line-height:16px}.rootIsCompact_4e9b7730 .activity_4e9b7730{padding-bottom:12px}.actions_4e9b7730{height:34px;padding:4px 12px;position:relative}.action_4e9b7730{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";cursor:pointer}html[dir=ltr] .action_4e9b7730{float:left}html[dir=rtl] .action_4e9b7730{float:right}[dir=ltr] .action_4e9b7730{margin-right:4px}[dir=rtl] .action_4e9b7730{margin-left:4px}.action_4e9b7730 .ms-Button{font-size:16px;height:34px;width:34px}.action_4e9b7730 .ms-Button:hover .ms-Button-icon{color:#1174c3;cursor:pointer}.views_4e9b7730{line-height:34px}html[dir=ltr] .views_4e9b7730{text-align:right}html[dir=rtl] .views_4e9b7730{text-align:left}.views_4e9b7730 .ms-Icon{font-size:16px;vertical-align:top}[dir=ltr] .views_4e9b7730 .ms-Icon{margin-right:4px}[dir=rtl] .views_4e9b7730 .ms-Icon{margin-left:4px}.activity_4e9b7730{padding:8px 16px;position:relative}html[dir=ltr] .activityIsMultiplePeople_4e9b7730 .avatar_4e9b7730:nth-of-type(2){margin-left:-16px}html[dir=rtl] .activityIsMultiplePeople_4e9b7730 .avatar_4e9b7730:nth-of-type(2){margin-right:-16px}[dir=ltr] .activityIsMultiplePeople_4e9b7730 .activityDetails_4e9b7730{left:72px}[dir=rtl] .activityIsMultiplePeople_4e9b7730 .activityDetails_4e9b7730{right:72px}.avatars_4e9b7730{height:32px}html[dir=ltr] .avatars_4e9b7730{margin-left:-2px}html[dir=rtl] .avatars_4e9b7730{margin-right:-2px}.avatar_4e9b7730{display:inline-block;vertical-align:top;position:relative;text-align:center;width:32px;height:32px}.avatar_4e9b7730:after{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border:2px solid #fafafa;border-radius:50%}.activityDetails_4e9b7730{height:32px;position:absolute;top:8px;width:calc(100% - 72px)}[dir=ltr] .activityDetails_4e9b7730{left:56px}[dir=rtl] .activityDetails_4e9b7730{right:56px}.activityActivity_4e9b7730,.name_4e9b7730{display:block;font-size:12px;font-weight:400;color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \";line-height:15px;height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.name_4e9b7730{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-weight:600}.location_4e9b7730{font-size:12px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";display:block;padding:8px 16px;position:relative;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location_4e9b7730:hover{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";cursor:pointer}.preview_4e9b7730{border-bottom:2px solid \" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";position:relative;background-color:\" }, { \"theme\": \"neutralLighterAlt\", \"defaultValue\": \"#f8f8f8\" }, { \"rawString\": \";overflow:hidden}.preview_4e9b7730.previewIsFileList_4e9b7730{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.icon_4e9b7730{bottom:10px;position:absolute}[dir=ltr] .icon_4e9b7730{left:10px}[dir=rtl] .icon_4e9b7730{right:10px}.fileList_4e9b7730{padding:16px 16px 0 16px;list-style-type:none;margin:0}html[dir=rtl] .fileList_4e9b7730{padding:16px 16px 0 16px}.fileList_4e9b7730 li{height:16px;line-height:16px;margin-bottom:8px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}[dir=ltr] .fileList_4e9b7730 li{padding-left:24px}[dir=rtl] .fileList_4e9b7730 li{padding-right:24px}.fileList_4e9b7730 a{font-size:12px;text-decoration:none;color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.fileList_4e9b7730 a:hover{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.fileListIcon_4e9b7730{position:absolute;top:0}[dir=ltr] .fileListIcon_4e9b7730{left:0}[dir=rtl] .fileListIcon_4e9b7730{right:0}.fileListMore_4e9b7730{padding:0 16px 8px 16px;display:block;font-size:12px}html[dir=rtl] .fileListMore_4e9b7730{padding:0 16px 8px 16px}.title_4e9b7730{padding:8px 16px;display:block;font-size:17px;font-weight:300;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";height:38px;line-height:21px;overflow:hidden;word-wrap:break-word}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 279,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActions.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActions.js",
|
|
"index": 279,
|
|
"index2": 274,
|
|
"size": 2188,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCardActions",
|
|
"loc": "8:9-41"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Icon_1 = require(\"../../Icon\");\nvar Button_1 = require(\"../../Button\");\nvar stylesImport = require(\"./DocumentCard.scss\");\nvar styles = stylesImport;\nvar DocumentCardActions = (function (_super) {\n __extends(DocumentCardActions, _super);\n function DocumentCardActions() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DocumentCardActions.prototype.render = function () {\n var _a = this.props, actions = _a.actions, views = _a.views;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActions', styles.actions) },\n actions && actions.map(function (action, index) {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActions-action', styles.action), key: index },\n React.createElement(Button_1.IconButton, __assign({}, action))));\n }),\n views > 0 && (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActions-views', styles.views) },\n React.createElement(Icon_1.Icon, { iconName: 'view' }),\n views))));\n };\n return DocumentCardActions;\n}(Utilities_1.BaseComponent));\nexports.DocumentCardActions = DocumentCardActions;\n\n"
|
|
},
|
|
{
|
|
"id": 280,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActivity.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"index": 280,
|
|
"index2": 281,
|
|
"size": 3098,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCardActivity",
|
|
"loc": "9:9-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Persona_1 = require(\"../../Persona\");\nvar stylesImport = require(\"./DocumentCard.scss\");\nvar styles = stylesImport;\nvar DocumentCardActivity = (function (_super) {\n __extends(DocumentCardActivity, _super);\n function DocumentCardActivity() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DocumentCardActivity.prototype.render = function () {\n var _a = this.props, activity = _a.activity, people = _a.people;\n return (people && people.length > 0 &&\n React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActivity', styles.activity, (_b = {},\n _b['ms-DocumentCardActivity--multiplePeople ' + styles.activityIsMultiplePeople] = people.length > 1,\n _b)) },\n this._renderAvatars(people),\n React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActivity-details', styles.activityDetails) },\n React.createElement(\"span\", { className: Utilities_1.css('ms-DocumentCardActivity-name', styles.name) }, this._getNameString(people)),\n React.createElement(\"span\", { className: Utilities_1.css('ms-DocumentCardActivity-activity', styles.activityActivity) }, activity))));\n var _b;\n };\n DocumentCardActivity.prototype._renderAvatars = function (people) {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActivity-avatars', styles.avatars) },\n people.length > 1 ? this._renderAvatar(people[1]) : null,\n this._renderAvatar(people[0])));\n };\n DocumentCardActivity.prototype._renderAvatar = function (person) {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardActivity-avatar', styles.avatar) },\n React.createElement(Persona_1.Persona, { imageInitials: person.initials, primaryText: person.name, hidePersonaDetails: true, imageUrl: person.profileImageSrc, initialsColor: person.initialsColor, role: 'persentation', size: Persona_1.PersonaSize.extraSmall })));\n };\n DocumentCardActivity.prototype._getNameString = function (people) {\n var nameString = people[0].name;\n if (people.length >= 2) {\n nameString += ' +' + (people.length - 1);\n }\n return nameString;\n };\n return DocumentCardActivity;\n}(Utilities_1.BaseComponent));\nexports.DocumentCardActivity = DocumentCardActivity;\n\n"
|
|
},
|
|
{
|
|
"id": 281,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Persona.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Persona.js",
|
|
"index": 281,
|
|
"index2": 280,
|
|
"size": 224,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona",
|
|
"loc": "41:9-29"
|
|
},
|
|
{
|
|
"moduleId": 280,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardActivity.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardActivity.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Persona",
|
|
"loc": "15:16-40"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Persona",
|
|
"loc": "27:16-40"
|
|
},
|
|
{
|
|
"moduleId": 327,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../../Persona",
|
|
"loc": "15:16-46"
|
|
},
|
|
{
|
|
"moduleId": 329,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SuggestionItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../../Persona",
|
|
"loc": "15:16-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Persona/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 282,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"index": 282,
|
|
"index2": 279,
|
|
"size": 283,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Persona.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 281,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Persona/index",
|
|
"loc": "6:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Persona\"));\n__export(require(\"./Persona.Props\"));\n__export(require(\"./PersonaConsts\"));\n\n"
|
|
},
|
|
{
|
|
"id": 283,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"index": 283,
|
|
"index2": 278,
|
|
"size": 8555,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 282,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona",
|
|
"loc": "6:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Icon_1 = require(\"../../Icon\");\nvar Image_1 = require(\"../../Image\");\nvar Persona_Props_1 = require(\"./Persona.Props\");\nvar PersonaConsts_1 = require(\"./PersonaConsts\");\nvar stylesImport = require(\"./Persona.scss\");\nvar styles = stylesImport;\n// The RGB color swatches\nvar COLOR_SWATCHES_LOOKUP = [\n Persona_Props_1.PersonaInitialsColor.lightGreen,\n Persona_Props_1.PersonaInitialsColor.lightBlue,\n Persona_Props_1.PersonaInitialsColor.lightPink,\n Persona_Props_1.PersonaInitialsColor.green,\n Persona_Props_1.PersonaInitialsColor.darkGreen,\n Persona_Props_1.PersonaInitialsColor.pink,\n Persona_Props_1.PersonaInitialsColor.magenta,\n Persona_Props_1.PersonaInitialsColor.purple,\n Persona_Props_1.PersonaInitialsColor.black,\n Persona_Props_1.PersonaInitialsColor.teal,\n Persona_Props_1.PersonaInitialsColor.blue,\n Persona_Props_1.PersonaInitialsColor.darkBlue,\n Persona_Props_1.PersonaInitialsColor.orange,\n Persona_Props_1.PersonaInitialsColor.darkRed,\n Persona_Props_1.PersonaInitialsColor.red\n];\nvar COLOR_SWATCHES_NUM_ENTRIES = COLOR_SWATCHES_LOOKUP.length;\nvar Persona = (function (_super) {\n __extends(Persona, _super);\n function Persona(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isImageLoaded: false,\n };\n return _this;\n }\n Persona.prototype.render = function () {\n var _a = this.props, className = _a.className, size = _a.size, imageUrl = _a.imageUrl, initialsColor = _a.initialsColor, presence = _a.presence, primaryText = _a.primaryText, secondaryText = _a.secondaryText, tertiaryText = _a.tertiaryText, optionalText = _a.optionalText, hidePersonaDetails = _a.hidePersonaDetails, imageShouldFadeIn = _a.imageShouldFadeIn, _b = _a.onRenderInitials, onRenderInitials = _b === void 0 ? this._onRenderInitials : _b, onRenderPrimaryText = _a.onRenderPrimaryText, onRenderSecondaryText = _a.onRenderSecondaryText, onRenderTertiaryText = _a.onRenderTertiaryText, onRenderOptionalText = _a.onRenderOptionalText, imageShouldStartVisible = _a.imageShouldStartVisible;\n initialsColor = initialsColor !== undefined && initialsColor !== null ? initialsColor : this._getColorFromName(primaryText);\n var presenceElement = null;\n if (presence !== Persona_Props_1.PersonaPresence.none) {\n var userPresence = Persona_Props_1.PersonaPresence[presence], statusIcon = null;\n switch (userPresence) {\n case 'online':\n userPresence = 'SkypeCheck';\n break;\n case 'away':\n userPresence = 'SkypeClock';\n break;\n case 'dnd':\n userPresence = 'SkypeMinus';\n break;\n default:\n userPresence = '';\n }\n if (userPresence) {\n statusIcon = (React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Persona-presenceIcon', styles.presenceIcon), iconName: userPresence }));\n }\n presenceElement = React.createElement(\"div\", { className: Utilities_1.css('ms-Persona-presence', styles.presence) }, statusIcon);\n }\n var divProps = Utilities_1.getNativeProps(this.props, Utilities_1.divProperties);\n var personaDetails = React.createElement(\"div\", { className: Utilities_1.css('ms-Persona-details', styles.details) },\n this._renderElement(this.props.primaryText, Utilities_1.css('ms-Persona-primaryText', styles.primaryText), onRenderPrimaryText),\n this._renderElement(this.props.secondaryText, Utilities_1.css('ms-Persona-secondaryText', styles.secondaryText), onRenderSecondaryText),\n this._renderElement(this.props.tertiaryText, Utilities_1.css('ms-Persona-tertiaryText', styles.tertiaryText), onRenderTertiaryText),\n this._renderElement(this.props.optionalText, Utilities_1.css('ms-Persona-optionalText', styles.optionalText), onRenderOptionalText),\n this.props.children);\n return (React.createElement(\"div\", __assign({}, divProps, { className: Utilities_1.css('ms-Persona', styles.root, className, PersonaConsts_1.PERSONA_SIZE[size], PersonaConsts_1.PERSONA_PRESENCE[presence], this.props.showSecondaryText ? styles.showSecondaryText : '') }),\n size !== Persona_Props_1.PersonaSize.tiny && (React.createElement(\"div\", { className: Utilities_1.css('ms-Persona-imageArea', styles.imageArea) },\n !this.state.isImageLoaded &&\n (React.createElement(\"div\", { className: Utilities_1.css('ms-Persona-initials', styles.initials, PersonaConsts_1.PERSONA_INITIALS_COLOR[initialsColor]), \"aria-hidden\": 'true' }, onRenderInitials(this.props, this._onRenderInitials))),\n React.createElement(Image_1.Image, { className: Utilities_1.css('ms-Persona-image', styles.image), imageFit: Image_1.ImageFit.cover, src: imageUrl, shouldFadeIn: imageShouldFadeIn, shouldStartVisible: imageShouldStartVisible, onLoadingStateChange: this._onPhotoLoadingStateChange }))),\n presenceElement,\n (!hidePersonaDetails || (size === Persona_Props_1.PersonaSize.tiny)) && personaDetails));\n };\n Persona.prototype._renderElement = function (text, className, render) {\n return (React.createElement(\"div\", { className: className }, render ? render(this.props) : text));\n };\n Persona.prototype._onRenderInitials = function (props) {\n var imageInitials = props.imageInitials, primaryText = props.primaryText;\n var isRTL = Utilities_1.getRTL();\n imageInitials = imageInitials || Utilities_1.getInitials(primaryText, isRTL);\n return (React.createElement(\"span\", null, imageInitials));\n };\n Persona.prototype._getColorFromName = function (displayName) {\n var color = Persona_Props_1.PersonaInitialsColor.blue;\n if (!displayName) {\n return color;\n }\n var hashCode = 0;\n for (var iLen = displayName.length - 1; iLen >= 0; iLen--) {\n var ch = displayName.charCodeAt(iLen);\n var shift = iLen % 8;\n // tslint:disable-next-line:no-bitwise\n hashCode ^= (ch << shift) + (ch >> (8 - shift));\n }\n color = COLOR_SWATCHES_LOOKUP[hashCode % COLOR_SWATCHES_NUM_ENTRIES];\n return color;\n };\n Persona.prototype._onPhotoLoadingStateChange = function (loadState) {\n this.setState({\n isImageLoaded: loadState === Image_1.ImageLoadState.loaded\n });\n };\n return Persona;\n}(Utilities_1.BaseComponent));\nPersona.defaultProps = {\n primaryText: '',\n size: Persona_Props_1.PersonaSize.regular,\n presence: Persona_Props_1.PersonaPresence.none\n};\n__decorate([\n Utilities_1.autobind\n], Persona.prototype, \"_renderElement\", null);\n__decorate([\n Utilities_1.autobind\n], Persona.prototype, \"_onRenderInitials\", null);\n__decorate([\n Utilities_1.autobind\n], Persona.prototype, \"_onPhotoLoadingStateChange\", null);\nexports.Persona = Persona;\n\n"
|
|
},
|
|
{
|
|
"id": 284,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Persona/Persona.Props.js",
|
|
"index": 284,
|
|
"index2": 275,
|
|
"size": 2486,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 282,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona.Props",
|
|
"loc": "7:9-35"
|
|
},
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona.Props",
|
|
"loc": "31:22-48"
|
|
},
|
|
{
|
|
"moduleId": 285,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\PersonaConsts.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/PersonaConsts.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/PersonaConsts.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona.Props",
|
|
"loc": "3:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PersonaSize;\n(function (PersonaSize) {\n PersonaSize[PersonaSize[\"tiny\"] = 0] = \"tiny\";\n PersonaSize[PersonaSize[\"extraExtraSmall\"] = 1] = \"extraExtraSmall\";\n PersonaSize[PersonaSize[\"extraSmall\"] = 2] = \"extraSmall\";\n PersonaSize[PersonaSize[\"small\"] = 3] = \"small\";\n PersonaSize[PersonaSize[\"regular\"] = 4] = \"regular\";\n PersonaSize[PersonaSize[\"large\"] = 5] = \"large\";\n PersonaSize[PersonaSize[\"extraLarge\"] = 6] = \"extraLarge\";\n PersonaSize[PersonaSize[\"size28\"] = 7] = \"size28\";\n})(PersonaSize = exports.PersonaSize || (exports.PersonaSize = {}));\nvar PersonaPresence;\n(function (PersonaPresence) {\n PersonaPresence[PersonaPresence[\"none\"] = 0] = \"none\";\n PersonaPresence[PersonaPresence[\"offline\"] = 1] = \"offline\";\n PersonaPresence[PersonaPresence[\"online\"] = 2] = \"online\";\n PersonaPresence[PersonaPresence[\"away\"] = 3] = \"away\";\n PersonaPresence[PersonaPresence[\"dnd\"] = 4] = \"dnd\";\n PersonaPresence[PersonaPresence[\"blocked\"] = 5] = \"blocked\";\n PersonaPresence[PersonaPresence[\"busy\"] = 6] = \"busy\";\n})(PersonaPresence = exports.PersonaPresence || (exports.PersonaPresence = {}));\nvar PersonaInitialsColor;\n(function (PersonaInitialsColor) {\n PersonaInitialsColor[PersonaInitialsColor[\"lightBlue\"] = 0] = \"lightBlue\";\n PersonaInitialsColor[PersonaInitialsColor[\"blue\"] = 1] = \"blue\";\n PersonaInitialsColor[PersonaInitialsColor[\"darkBlue\"] = 2] = \"darkBlue\";\n PersonaInitialsColor[PersonaInitialsColor[\"teal\"] = 3] = \"teal\";\n PersonaInitialsColor[PersonaInitialsColor[\"lightGreen\"] = 4] = \"lightGreen\";\n PersonaInitialsColor[PersonaInitialsColor[\"green\"] = 5] = \"green\";\n PersonaInitialsColor[PersonaInitialsColor[\"darkGreen\"] = 6] = \"darkGreen\";\n PersonaInitialsColor[PersonaInitialsColor[\"lightPink\"] = 7] = \"lightPink\";\n PersonaInitialsColor[PersonaInitialsColor[\"pink\"] = 8] = \"pink\";\n PersonaInitialsColor[PersonaInitialsColor[\"magenta\"] = 9] = \"magenta\";\n PersonaInitialsColor[PersonaInitialsColor[\"purple\"] = 10] = \"purple\";\n PersonaInitialsColor[PersonaInitialsColor[\"black\"] = 11] = \"black\";\n PersonaInitialsColor[PersonaInitialsColor[\"orange\"] = 12] = \"orange\";\n PersonaInitialsColor[PersonaInitialsColor[\"red\"] = 13] = \"red\";\n PersonaInitialsColor[PersonaInitialsColor[\"darkRed\"] = 14] = \"darkRed\";\n})(PersonaInitialsColor = exports.PersonaInitialsColor || (exports.PersonaInitialsColor = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 285,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\PersonaConsts.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Persona/PersonaConsts.js",
|
|
"index": 285,
|
|
"index2": 277,
|
|
"size": 3267,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 282,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PersonaConsts",
|
|
"loc": "8:9-35"
|
|
},
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PersonaConsts",
|
|
"loc": "32:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Persona_Props_1 = require(\"./Persona.Props\");\nvar stylesImport = require(\"./Persona.scss\");\nvar styles = stylesImport;\nexports.PERSONA_SIZE = (_a = {},\n _a[Persona_Props_1.PersonaSize.tiny] = 'ms-Persona--tiny ' + styles.rootIsTiny,\n _a[Persona_Props_1.PersonaSize.extraExtraSmall] = 'ms-Persona--xxs ' + styles.rootIsExtraExtraSmall,\n _a[Persona_Props_1.PersonaSize.extraSmall] = 'ms-Persona--xs ' + styles.rootIsExtraSmall,\n _a[Persona_Props_1.PersonaSize.small] = 'ms-Persona--sm ' + styles.rootIsSmall,\n _a[Persona_Props_1.PersonaSize.regular] = '',\n _a[Persona_Props_1.PersonaSize.large] = 'ms-Persona--lg ' + styles.rootIsLarge,\n _a[Persona_Props_1.PersonaSize.extraLarge] = 'ms-Persona--xl ' + styles.rootIsExtraLarge,\n _a[Persona_Props_1.PersonaSize.size28] = 'ms-Persona--28 ' + styles.rootIs28,\n _a);\nexports.PERSONA_PRESENCE = (_b = {},\n _b[Persona_Props_1.PersonaPresence.offline] = 'ms-Persona--offline ' + styles.rootIsOffline,\n _b[Persona_Props_1.PersonaPresence.online] = 'ms-Persona--online ',\n _b[Persona_Props_1.PersonaPresence.away] = 'ms-Persona--away ' + styles.rootIsAway,\n _b[Persona_Props_1.PersonaPresence.dnd] = 'ms-Persona--dnd ' + styles.rootIsDoNotDisturb,\n _b[Persona_Props_1.PersonaPresence.blocked] = 'ms-Persona--blocked ' + styles.rootIsBlocked,\n _b[Persona_Props_1.PersonaPresence.busy] = 'ms-Persona--busy ' + styles.rootIsBusy,\n _b);\nexports.PERSONA_INITIALS_COLOR = (_c = {},\n _c[Persona_Props_1.PersonaInitialsColor.lightBlue] = 'ms-Persona-initials--lightBlue ' + styles.initialsIsLightBlue,\n _c[Persona_Props_1.PersonaInitialsColor.blue] = 'ms-Persona-initials--blue ' + styles.initialsIsBlue,\n _c[Persona_Props_1.PersonaInitialsColor.darkBlue] = 'ms-Persona-initials--darkBlue ' + styles.initialsIsDarkBlue,\n _c[Persona_Props_1.PersonaInitialsColor.teal] = 'ms-Persona-initials--teal ' + styles.initialsIsTeal,\n _c[Persona_Props_1.PersonaInitialsColor.lightGreen] = 'ms-Persona-initials--lightGreen ' + styles.initialsIsLightGreen,\n _c[Persona_Props_1.PersonaInitialsColor.green] = 'ms-Persona-initials--green ' + styles.initialsIsGreen,\n _c[Persona_Props_1.PersonaInitialsColor.darkGreen] = 'ms-Persona-initials--darkGreen ' + styles.initialsIsDarkGreen,\n _c[Persona_Props_1.PersonaInitialsColor.lightPink] = 'ms-Persona-initials--lightPink ' + styles.initialsIsLightPink,\n _c[Persona_Props_1.PersonaInitialsColor.pink] = 'ms-Persona-initials--pink ' + styles.initialsIsPink,\n _c[Persona_Props_1.PersonaInitialsColor.magenta] = 'ms-Persona-initials--magenta ' + styles.initialsIsMagenta,\n _c[Persona_Props_1.PersonaInitialsColor.purple] = 'ms-Persona-initials--purple ' + styles.initialsIsPurple,\n _c[Persona_Props_1.PersonaInitialsColor.black] = 'ms-Persona-initials--black ' + styles.initialsIsBlack,\n _c[Persona_Props_1.PersonaInitialsColor.orange] = 'ms-Persona-initials--orange ' + styles.initialsIsGreen,\n _c[Persona_Props_1.PersonaInitialsColor.red] = 'ms-Persona-initials--red ' + styles.initialsIsRed,\n _c[Persona_Props_1.PersonaInitialsColor.darkRed] = 'ms-Persona-initials--darkRed ' + styles.initialsIsDarkRed,\n _c);\nvar _a, _b, _c;\n\n"
|
|
},
|
|
{
|
|
"id": 286,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Persona/Persona.scss.js",
|
|
"index": 286,
|
|
"index2": 276,
|
|
"size": 20925,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 283,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\Persona.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/Persona.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona.scss",
|
|
"loc": "33:19-44"
|
|
},
|
|
{
|
|
"moduleId": 285,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Persona\\PersonaConsts.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Persona/PersonaConsts.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Persona/PersonaConsts.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Persona.scss",
|
|
"loc": "4:19-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_559e9a38',\n contextualHost: 'contextualHost_559e9a38',\n primaryText: 'primaryText_559e9a38',\n imageArea: 'imageArea_559e9a38',\n image: 'image_559e9a38',\n placeholder: 'placeholder_559e9a38',\n initials: 'initials_559e9a38',\n initialsIsLightBlue: 'initialsIsLightBlue_559e9a38',\n initialsIsBlue: 'initialsIsBlue_559e9a38',\n initialsIsDarkBlue: 'initialsIsDarkBlue_559e9a38',\n initialsIsTeal: 'initialsIsTeal_559e9a38',\n initialsIsLightGreen: 'initialsIsLightGreen_559e9a38',\n initialsIsGreen: 'initialsIsGreen_559e9a38',\n initialsIsDarkGreen: 'initialsIsDarkGreen_559e9a38',\n initialsIsLightPink: 'initialsIsLightPink_559e9a38',\n initialsIsPink: 'initialsIsPink_559e9a38',\n initialsIsMagenta: 'initialsIsMagenta_559e9a38',\n initialsIsPurple: 'initialsIsPurple_559e9a38',\n initialsIsBlack: 'initialsIsBlack_559e9a38',\n initialsIsOrange: 'initialsIsOrange_559e9a38',\n initialsIsRed: 'initialsIsRed_559e9a38',\n initialsIsDarkRed: 'initialsIsDarkRed_559e9a38',\n presence: 'presence_559e9a38',\n presenceIcon: 'presenceIcon_559e9a38',\n details: 'details_559e9a38',\n secondaryText: 'secondaryText_559e9a38',\n tertiaryText: 'tertiaryText_559e9a38',\n optionalText: 'optionalText_559e9a38',\n textContent: 'textContent_559e9a38',\n rootIsTiny: 'rootIsTiny_559e9a38',\n rootIsReadonly: 'rootIsReadonly_559e9a38',\n rootIsExtraExtraSmall: 'rootIsExtraExtraSmall_559e9a38',\n showSecondaryText: 'showSecondaryText_559e9a38',\n rootIs28: 'rootIs28_559e9a38',\n rootIsExtraSmall: 'rootIsExtraSmall_559e9a38',\n rootIsSmall: 'rootIsSmall_559e9a38',\n rootIsLarge: 'rootIsLarge_559e9a38',\n rootIsExtraLarge: 'rootIsExtraLarge_559e9a38',\n rootIsDarkText: 'rootIsDarkText_559e9a38',\n rootIsSelectable: 'rootIsSelectable_559e9a38',\n rootExtraLarge: 'rootExtraLarge_559e9a38',\n rootIsAvailable: 'rootIsAvailable_559e9a38',\n rootIsAway: 'rootIsAway_559e9a38',\n rootIsBlocked: 'rootIsBlocked_559e9a38',\n rootIsBusy: 'rootIsBusy_559e9a38',\n rootIsDoNotDisturb: 'rootIsDoNotDisturb_559e9a38',\n rootIsOffline: 'rootIsOffline_559e9a38',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_559e9a38{box-sizing:border-box;box-shadow:none;margin:0;padding:0;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-size:14px;font-weight:400;line-height:1;position:relative;height:48px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.root_559e9a38 .contextualHost_559e9a38{display:none}.root_559e9a38:hover .primaryText_559e9a38{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.imageArea_559e9a38{position:relative;overflow:hidden;text-align:center;-webkit-box-flex:0;-ms-flex:0 0 48px;flex:0 0 48px;height:48px;width:48px;border-radius:50%}@media screen and (-ms-high-contrast:active){.imageArea_559e9a38{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.imageArea_559e9a38{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.imageArea_559e9a38 .image_559e9a38{border:0}.placeholder_559e9a38{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";position:absolute;right:0;left:0;font-size:47px;top:9px;z-index:5}.initials_559e9a38{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";font-size:17px;font-weight:100;line-height:46px;height:48px}.initials_559e9a38.initialsIsLightBlue_559e9a38{background-color:#6ba5e7}.initials_559e9a38.initialsIsBlue_559e9a38{background-color:#2d89ef}.initials_559e9a38.initialsIsDarkBlue_559e9a38{background-color:#2b5797}.initials_559e9a38.initialsIsTeal_559e9a38{background-color:#00aba9}.initials_559e9a38.initialsIsLightGreen_559e9a38{background-color:#99b433}.initials_559e9a38.initialsIsGreen_559e9a38{background-color:#00a300}.initials_559e9a38.initialsIsDarkGreen_559e9a38{background-color:#1e7145}.initials_559e9a38.initialsIsLightPink_559e9a38{background-color:#e773bd}.initials_559e9a38.initialsIsPink_559e9a38{background-color:#ff0097}.initials_559e9a38.initialsIsMagenta_559e9a38{background-color:#7e3878}.initials_559e9a38.initialsIsPurple_559e9a38{background-color:#603cba}.initials_559e9a38.initialsIsBlack_559e9a38{background-color:#1d1d1d}.initials_559e9a38.initialsIsOrange_559e9a38{background-color:#da532c}.initials_559e9a38.initialsIsRed_559e9a38{background-color:#e11}.initials_559e9a38.initialsIsDarkRed_559e9a38{background-color:#b91d47}.image_559e9a38{position:absolute;top:0;width:100%;height:100%;border-radius:50%;-webkit-perspective:1px;perspective:1px}[dir=ltr] .image_559e9a38{margin-right:10px}[dir=rtl] .image_559e9a38{margin-left:10px}[dir=ltr] .image_559e9a38{left:0}[dir=rtl] .image_559e9a38{right:0}.image_559e9a38[src=\\\"\\\"]{display:none}.presence_559e9a38{background-color:#7fba00;position:absolute;height:12px;width:12px;border-radius:50%;top:auto;bottom:-1px;border:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";text-align:center;box-sizing:content-box;-ms-high-contrast-adjust:none}[dir=ltr] .presence_559e9a38{left:34px}[dir=rtl] .presence_559e9a38{right:34px}@media screen and (-ms-high-contrast:active){.presence_559e9a38{border-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.presence_559e9a38{border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.presence_559e9a38 .presenceIcon_559e9a38{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";font-size:8px;line-height:12px;vertical-align:top}@media screen and (-ms-high-contrast:active){.presence_559e9a38 .presenceIcon_559e9a38{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.presence_559e9a38 .presenceIcon_559e9a38{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}.details_559e9a38{padding:0 24px 0 12px;min-width:0;width:100%}html[dir=rtl] .details_559e9a38{padding:0 12px 0 24px}html[dir=ltr] .details_559e9a38{text-align:left}html[dir=rtl] .details_559e9a38{text-align:right}.optionalText_559e9a38,.primaryText_559e9a38,.secondaryText_559e9a38,.tertiaryText_559e9a38,.textContent_559e9a38{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.primaryText_559e9a38{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-weight:400;font-size:17px;margin-top:-3px;line-height:1.4}.optionalText_559e9a38,.secondaryText_559e9a38,.tertiaryText_559e9a38{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-weight:400;font-size:12px;white-space:nowrap;line-height:1.3}.secondaryText_559e9a38{padding-top:3px}.optionalText_559e9a38,.tertiaryText_559e9a38{padding-top:5px;display:none}.root_559e9a38.rootIsTiny_559e9a38{height:30px;min-width:30px}.root_559e9a38.rootIsTiny_559e9a38 .imageArea_559e9a38{overflow:visible;background:0 0;height:0;width:0}.root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{top:10px;border:0}[dir=ltr] .root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{right:auto}[dir=rtl] .root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{left:auto}[dir=ltr] .root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{left:0}[dir=rtl] .root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{right:0}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{top:9px;border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsTiny_559e9a38 .presence_559e9a38{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}[dir=ltr] .root_559e9a38.rootIsTiny_559e9a38 .details_559e9a38{padding-left:20px}[dir=rtl] .root_559e9a38.rootIsTiny_559e9a38 .details_559e9a38{padding-right:20px}.root_559e9a38.rootIsTiny_559e9a38 .primaryText_559e9a38{font-size:14px;padding-top:4px}.root_559e9a38.rootIsTiny_559e9a38 .secondaryText_559e9a38{display:none}.root_559e9a38.rootIsTiny_559e9a38.rootIsReadonly_559e9a38{padding:0;background-color:transparent}.root_559e9a38.rootIsTiny_559e9a38.rootIsReadonly_559e9a38 .primaryText_559e9a38:after{content:';'}.root_559e9a38.rootIsExtraExtraSmall_559e9a38{height:24px;line-height:24px;min-width:24px;margin-right:4px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .imageArea_559e9a38,.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .image_559e9a38{-webkit-box-flex:0;-ms-flex:0 0 24px;flex:0 0 24px;height:24px;width:24px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .placeholder_559e9a38{font-size:18px;top:4px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .initials_559e9a38{font-size:11px;height:24px;line-height:24px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .presence_559e9a38{height:8px;width:8px;border:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}[dir=ltr] .root_559e9a38.rootIsExtraExtraSmall_559e9a38 .presence_559e9a38{left:16px}[dir=rtl] .root_559e9a38.rootIsExtraExtraSmall_559e9a38 .presence_559e9a38{right:16px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .presenceIcon_559e9a38{font-size:6px;line-height:9px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .primaryText_559e9a38{font-size:14px;padding-top:3px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38 .secondaryText_559e9a38{display:none}.root_559e9a38.rootIsExtraExtraSmall_559e9a38.showSecondaryText_559e9a38{height:30px}.root_559e9a38.rootIsExtraExtraSmall_559e9a38.showSecondaryText_559e9a38 .primaryText_559e9a38,.root_559e9a38.rootIsExtraExtraSmall_559e9a38.showSecondaryText_559e9a38 .secondaryText_559e9a38{display:block;padding:0;line-height:1;overflow:visible}.root_559e9a38.rootIs28_559e9a38{height:28px;line-height:28px;min-width:28px;overflow:hidden}.root_559e9a38.rootIs28_559e9a38 .imageArea_559e9a38,.root_559e9a38.rootIs28_559e9a38 .image_559e9a38{-webkit-box-flex:0;-ms-flex:0 0 28px;flex:0 0 28px;height:28px;width:28px}.root_559e9a38.rootIs28_559e9a38 .placeholder_559e9a38{font-size:18px;top:4px}.root_559e9a38.rootIs28_559e9a38 .initials_559e9a38{font-size:11px;height:28px;line-height:28px}.root_559e9a38.rootIs28_559e9a38 .presence_559e9a38{height:8px;width:8px;border:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}[dir=ltr] .root_559e9a38.rootIs28_559e9a38 .presence_559e9a38{left:20px}[dir=rtl] .root_559e9a38.rootIs28_559e9a38 .presence_559e9a38{right:20px}.root_559e9a38.rootIs28_559e9a38 .presenceIcon_559e9a38{font-size:6px;line-height:9px}.root_559e9a38.rootIs28_559e9a38 .primaryText_559e9a38{font-size:14px;padding-top:3px}.root_559e9a38.rootIs28_559e9a38 .secondaryText_559e9a38{display:none}.root_559e9a38.rootIs28_559e9a38.showSecondaryText_559e9a38 .primaryText_559e9a38,.root_559e9a38.rootIs28_559e9a38.showSecondaryText_559e9a38 .secondaryText_559e9a38{display:block;padding:0;line-height:1;overflow:visible}.root_559e9a38.rootIsExtraSmall_559e9a38{height:32px;line-height:32px;min-width:32px}.root_559e9a38.rootIsExtraSmall_559e9a38 .imageArea_559e9a38,.root_559e9a38.rootIsExtraSmall_559e9a38 .image_559e9a38{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px;height:32px;width:32px}.root_559e9a38.rootIsExtraSmall_559e9a38 .placeholder_559e9a38{font-size:28px;top:6px}.root_559e9a38.rootIsExtraSmall_559e9a38 .initials_559e9a38{font-size:14px;height:32px;line-height:32px}[dir=ltr] .root_559e9a38.rootIsExtraSmall_559e9a38 .presence_559e9a38{left:19px}[dir=rtl] .root_559e9a38.rootIsExtraSmall_559e9a38 .presence_559e9a38{right:19px}.root_559e9a38.rootIsExtraSmall_559e9a38 .primaryText_559e9a38{font-size:14px;padding-top:3px}.root_559e9a38.rootIsExtraSmall_559e9a38 .secondaryText_559e9a38{display:none}.root_559e9a38.rootIsExtraSmall_559e9a38.showSecondaryText_559e9a38 .primaryText_559e9a38,.root_559e9a38.rootIsExtraSmall_559e9a38.showSecondaryText_559e9a38 .secondaryText_559e9a38{display:block;padding:0;line-height:1;overflow:visible}.root_559e9a38.rootIsSmall_559e9a38{height:40px;line-height:40px;min-width:40px}.root_559e9a38.rootIsSmall_559e9a38 .imageArea_559e9a38,.root_559e9a38.rootIsSmall_559e9a38 .image_559e9a38{-webkit-box-flex:0;-ms-flex:0 0 40px;flex:0 0 40px;height:40px;width:40px}.root_559e9a38.rootIsSmall_559e9a38 .placeholder_559e9a38{font-size:38px;top:5px}.root_559e9a38.rootIsSmall_559e9a38 .initials_559e9a38{font-size:14px;height:40px;line-height:40px}[dir=ltr] .root_559e9a38.rootIsSmall_559e9a38 .presence_559e9a38{left:27px}[dir=rtl] .root_559e9a38.rootIsSmall_559e9a38 .presence_559e9a38{right:27px}.root_559e9a38.rootIsSmall_559e9a38 .primaryText_559e9a38{font-size:14px}.root_559e9a38.rootIsSmall_559e9a38 .primaryText_559e9a38,.root_559e9a38.rootIsSmall_559e9a38 .secondaryText_559e9a38{padding-top:1px}.root_559e9a38.rootIsLarge_559e9a38{height:72px;line-height:72px;min-width:72px}.root_559e9a38.rootIsLarge_559e9a38 .imageArea_559e9a38,.root_559e9a38.rootIsLarge_559e9a38 .image_559e9a38{-webkit-box-flex:0;-ms-flex:0 0 72px;flex:0 0 72px;height:72px;width:72px}.root_559e9a38.rootIsLarge_559e9a38 .placeholder_559e9a38{font-size:67px;top:10px}.root_559e9a38.rootIsLarge_559e9a38 .initials_559e9a38{font-size:28px;height:72px;line-height:70px}.root_559e9a38.rootIsLarge_559e9a38 .presence_559e9a38{height:20px;width:20px;border-width:3px}[dir=ltr] .root_559e9a38.rootIsLarge_559e9a38 .presence_559e9a38{left:49px}[dir=rtl] .root_559e9a38.rootIsLarge_559e9a38 .presence_559e9a38{right:49px}.root_559e9a38.rootIsLarge_559e9a38 .presenceIcon_559e9a38{line-height:20px;font-size:14px}.root_559e9a38.rootIsLarge_559e9a38 .secondaryText_559e9a38{padding-top:3px}.root_559e9a38.rootIsLarge_559e9a38 .tertiaryText_559e9a38{padding-top:5px;display:block}.root_559e9a38.rootIsExtraLarge_559e9a38{height:100px;line-height:100px;min-width:100px}.root_559e9a38.rootIsExtraLarge_559e9a38 .imageArea_559e9a38,.root_559e9a38.rootIsExtraLarge_559e9a38 .image_559e9a38{-webkit-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;height:100px;width:100px}.root_559e9a38.rootIsExtraLarge_559e9a38 .placeholder_559e9a38{font-size:95px;top:12px}.root_559e9a38.rootIsExtraLarge_559e9a38 .initials_559e9a38{font-size:42px;height:100px;line-height:96px}.root_559e9a38.rootIsExtraLarge_559e9a38 .presence_559e9a38{height:28px;width:28px;border-width:4px}[dir=ltr] .root_559e9a38.rootIsExtraLarge_559e9a38 .presence_559e9a38{left:71px}[dir=rtl] .root_559e9a38.rootIsExtraLarge_559e9a38 .presence_559e9a38{right:71px}.root_559e9a38.rootIsExtraLarge_559e9a38 .presenceIcon_559e9a38{line-height:28px;font-size:21px;position:relative;top:1px}.root_559e9a38.rootIsExtraLarge_559e9a38 .primaryText_559e9a38{font-size:21px;font-weight:300;margin-top:0}.root_559e9a38.rootIsExtraLarge_559e9a38 .secondaryText_559e9a38{padding-top:2px}.root_559e9a38.rootIsExtraLarge_559e9a38 .optionalText_559e9a38,.root_559e9a38.rootIsExtraLarge_559e9a38 .tertiaryText_559e9a38{padding-top:5px;display:block}.root_559e9a38.rootIsDarkText_559e9a38 .primaryText_559e9a38{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.root_559e9a38.rootIsDarkText_559e9a38 .optionalText_559e9a38,.root_559e9a38.rootIsDarkText_559e9a38 .secondaryText_559e9a38,.root_559e9a38.rootIsDarkText_559e9a38 .tertiaryText_559e9a38{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.root_559e9a38.rootIsSelectable_559e9a38{cursor:pointer;padding:0 10px}.root_559e9a38.rootIsSelectable_559e9a38:not(.rootExtraLarge_559e9a38):focus,.root_559e9a38.rootIsSelectable_559e9a38:not(.rootExtraLarge_559e9a38):hover{background-color:\" }, { \"theme\": \"themeLighter\", \"defaultValue\": \"#deecf9\" }, { \"rawString\": \";outline:1px solid transparent}.root_559e9a38.rootIsAvailable_559e9a38 .presence_559e9a38{background-color:#7fba00}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsAvailable_559e9a38 .presence_559e9a38{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsAvailable_559e9a38 .presence_559e9a38{background-color:#600000}}.root_559e9a38.rootIsAway_559e9a38 .presence_559e9a38{background-color:#fcd116}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsAway_559e9a38 .presence_559e9a38{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsAway_559e9a38 .presence_559e9a38{background-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.root_559e9a38.rootIsAway_559e9a38 .presenceIcon_559e9a38{position:relative}[dir=ltr] .root_559e9a38.rootIsAway_559e9a38 .presenceIcon_559e9a38{left:1px}[dir=rtl] .root_559e9a38.rootIsAway_559e9a38 .presenceIcon_559e9a38{right:1px}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::before{content:'';width:100%;height:100%;position:absolute;top:0;box-shadow:0 0 0 2px #d93b3b inset;border-radius:50%}[dir=ltr] .root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::before{left:0}[dir=rtl] .root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::before{right:0}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::after{content:'';width:100%;height:2px;background-color:#d93b3b;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);position:absolute;top:40%}[dir=ltr] .root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::after{left:0}[dir=rtl] .root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::after{right:0}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38{color:#0f0;background-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::before{box-shadow:0 0 0 2px #0f0 inset}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::after{background-color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38{color:#600000;background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::before{box-shadow:0 0 0 2px #600000 inset}.root_559e9a38.rootIsBlocked_559e9a38 .presence_559e9a38::after{background-color:#600000}}.root_559e9a38.rootIsBlocked_559e9a38.rootIsLarge_559e9a38 .presence_559e9a38::after{top:9px}.root_559e9a38.rootIsBlocked_559e9a38.rootIsExtraLarge_559e9a38 .presence_559e9a38::after{top:13px}.root_559e9a38.rootIsBusy_559e9a38 .presence_559e9a38{background-color:#d93b3b}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsBusy_559e9a38 .presence_559e9a38{background-color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsBusy_559e9a38 .presence_559e9a38{background-color:#600000}}.root_559e9a38.rootIsDoNotDisturb_559e9a38 .presence_559e9a38{background-color:#e81123}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsDoNotDisturb_559e9a38 .presence_559e9a38{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";background-color:#0f0}.root_559e9a38.rootIsDoNotDisturb_559e9a38 .presence_559e9a38::before{background-color:#0f0}.root_559e9a38.rootIsDoNotDisturb_559e9a38 .presence_559e9a38::after{background-color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsDoNotDisturb_559e9a38 .presence_559e9a38{background-color:#600000}}.root_559e9a38.rootIsOffline_559e9a38 .presence_559e9a38{background-color:#93abbd}@media screen and (-ms-high-contrast:active){.root_559e9a38.rootIsOffline_559e9a38 .presence_559e9a38{background-color:#0f0;box-shadow:0 0 0 1px \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \" inset}}@media screen and (-ms-high-contrast:black-on-white){.root_559e9a38.rootIsOffline_559e9a38 .presence_559e9a38{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";box-shadow:0 0 0 1px \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \" inset}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 287,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardLocation.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardLocation.js",
|
|
"index": 287,
|
|
"index2": 282,
|
|
"size": 1442,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCardLocation",
|
|
"loc": "10:9-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./DocumentCard.scss\");\nvar styles = stylesImport;\nvar DocumentCardLocation = (function (_super) {\n __extends(DocumentCardLocation, _super);\n function DocumentCardLocation() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DocumentCardLocation.prototype.render = function () {\n var _a = this.props, location = _a.location, locationHref = _a.locationHref, ariaLabel = _a.ariaLabel, onClick = _a.onClick;\n return (React.createElement(\"a\", { className: Utilities_1.css('ms-DocumentCardLocation', styles.location), href: locationHref, onClick: onClick, \"aria-label\": ariaLabel }, location));\n };\n return DocumentCardLocation;\n}(Utilities_1.BaseComponent));\nexports.DocumentCardLocation = DocumentCardLocation;\n\n"
|
|
},
|
|
{
|
|
"id": 288,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardPreview.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardPreview.js",
|
|
"index": 288,
|
|
"index2": 283,
|
|
"size": 4954,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCardPreview",
|
|
"loc": "11:9-41"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Image_1 = require(\"../../Image\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./DocumentCard.scss\");\nvar styles = stylesImport;\nvar LIST_ITEM_COUNT = 3;\nvar DocumentCardPreview = (function (_super) {\n __extends(DocumentCardPreview, _super);\n function DocumentCardPreview() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DocumentCardPreview.prototype.render = function () {\n var previewImages = this.props.previewImages;\n var style, preview;\n var isFileList = false;\n if (previewImages.length > 1) {\n // Render a list of files\n preview = this._renderPreviewList(previewImages);\n isFileList = true;\n }\n else if (previewImages.length === 1) {\n // Render a single preview\n preview = this._renderPreviewImage(previewImages[0]);\n // Override the border color if an accent color was provided\n if (previewImages[0].accentColor) {\n style = {\n borderBottomColor: previewImages[0].accentColor\n };\n }\n }\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardPreview', styles.preview, isFileList && ('is-fileList ' + styles.previewIsFileList)), style: style }, preview));\n };\n DocumentCardPreview.prototype._renderPreviewImage = function (previewImage) {\n var width = previewImage.width, height = previewImage.height, imageFit = previewImage.imageFit;\n var image = (React.createElement(Image_1.Image, { width: width, height: height, imageFit: imageFit, src: previewImage.previewImageSrc, role: 'presentation', alt: '' }));\n var icon;\n if (previewImage.iconSrc) {\n icon = React.createElement(Image_1.Image, { className: Utilities_1.css('ms-DocumentCardPreview-icon', styles.icon), src: previewImage.iconSrc, role: 'presentation', alt: '' });\n }\n return (React.createElement(\"div\", null,\n image,\n icon));\n };\n DocumentCardPreview.prototype._renderPreviewList = function (previewImages) {\n var getOverflowDocumentCountText = this.props.getOverflowDocumentCountText;\n // Determine how many documents we won't be showing\n var overflowDocumentCount = previewImages.length - LIST_ITEM_COUNT;\n // Determine the overflow text that will be rendered after the preview list.\n var overflowText = overflowDocumentCount ?\n (getOverflowDocumentCountText ?\n getOverflowDocumentCountText(overflowDocumentCount) :\n '+' + overflowDocumentCount) : null;\n // Create list items for the documents to be shown\n var fileListItems = previewImages.slice(0, LIST_ITEM_COUNT).map(function (file, fileIndex) { return (React.createElement(\"li\", { key: fileIndex },\n React.createElement(Image_1.Image, { className: Utilities_1.css('ms-DocumentCardPreview-fileListIcon', styles.fileListIcon), src: file.iconSrc, role: 'presentation', alt: '', width: '16px', height: '16px' }),\n React.createElement(\"a\", { href: file.url }, file.name))); });\n return (React.createElement(\"div\", null,\n React.createElement(\"ul\", { className: Utilities_1.css('ms-DocumentCardPreview-fileList', styles.fileList) }, fileListItems),\n overflowText &&\n React.createElement(\"span\", { className: Utilities_1.css('ms-DocumentCardPreview-fileListMore', styles.fileListMore) }, overflowText)));\n };\n return DocumentCardPreview;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], DocumentCardPreview.prototype, \"_renderPreviewList\", null);\nexports.DocumentCardPreview = DocumentCardPreview;\n\n"
|
|
},
|
|
{
|
|
"id": 289,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\DocumentCardTitle.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/DocumentCard/DocumentCardTitle.js",
|
|
"index": 289,
|
|
"index2": 284,
|
|
"size": 7304,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 275,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\DocumentCard\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/DocumentCard/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./DocumentCardTitle",
|
|
"loc": "12:9-39"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./DocumentCard.scss\");\nvar styles = stylesImport;\nvar TRUNCATION_SEPARATOR = '…';\nvar TRUNCATION_MINIMUM_LENGTH = 40; // This is the length we know can fit into the min width of DocumentCard.\nvar TRUNCATION_MAXIMUM_LENGTH = 90 - TRUNCATION_SEPARATOR.length;\nvar TRUNCATION_FIRST_PIECE_LONGER_BY = 10;\nvar TRUNCATION_VERTICAL_OVERFLOW_THRESHOLD = 5;\nvar DocumentCardTitle = (function (_super) {\n __extends(DocumentCardTitle, _super);\n function DocumentCardTitle(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n truncatedTitleFirstPiece: '',\n truncatedTitleSecondPiece: ''\n };\n return _this;\n }\n DocumentCardTitle.prototype.componentDidMount = function () {\n var _a = this.props, title = _a.title, shouldTruncate = _a.shouldTruncate;\n if (shouldTruncate && title && title.length > TRUNCATION_MINIMUM_LENGTH) {\n if (this._doesTitleOverflow()) {\n this._startTruncation(this.props);\n }\n this._events.on(window, 'resize', this._updateTruncation);\n }\n };\n DocumentCardTitle.prototype.componentWillReceiveProps = function (newProps) {\n this._events.off(window, 'resize');\n this._isTruncated = false;\n if (newProps.shouldTruncate && newProps.title && newProps.title.length > TRUNCATION_MINIMUM_LENGTH) {\n this._startTruncation(newProps);\n this._events.on(window, 'resize', this._updateTruncation);\n }\n };\n DocumentCardTitle.prototype.componentDidUpdate = function () {\n // If we're truncating, make sure the title fits\n if (this.props.shouldTruncate) {\n this._shrinkTitle();\n }\n };\n DocumentCardTitle.prototype.render = function () {\n var _a = this.props, title = _a.title, shouldTruncate = _a.shouldTruncate;\n var _b = this.state, truncatedTitleFirstPiece = _b.truncatedTitleFirstPiece, truncatedTitleSecondPiece = _b.truncatedTitleSecondPiece;\n var documentCardTitle;\n if (shouldTruncate && this._isTruncated) {\n documentCardTitle = (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardTitle', styles.title), ref: this._resolveRef('_titleElement'), title: title },\n truncatedTitleFirstPiece,\n \"\\u2026\",\n truncatedTitleSecondPiece));\n }\n else {\n documentCardTitle = (React.createElement(\"div\", { className: Utilities_1.css('ms-DocumentCardTitle', styles.title), ref: this._resolveRef('_titleElement'), title: title }, title));\n }\n return documentCardTitle;\n };\n DocumentCardTitle.prototype._startTruncation = function (props) {\n var originalTitle = props.title;\n this._isTruncated = false;\n // If the title is really short, there's no need to truncate it\n if (originalTitle && originalTitle.length >= TRUNCATION_MINIMUM_LENGTH) {\n // Break the text into two pieces for assembly later\n if (originalTitle.length > TRUNCATION_MAXIMUM_LENGTH) {\n // The text is really long, so we can take a chunk out of the middle so the two pieces combine for the maximum length\n this._isTruncated = true;\n this.setState({\n truncatedTitleFirstPiece: originalTitle.slice(0, TRUNCATION_MAXIMUM_LENGTH / 2 + TRUNCATION_FIRST_PIECE_LONGER_BY),\n truncatedTitleSecondPiece: originalTitle.slice(originalTitle.length - (TRUNCATION_MAXIMUM_LENGTH / 2 - TRUNCATION_FIRST_PIECE_LONGER_BY))\n });\n }\n else {\n // The text is not so long, so we'll just break it into two pieces\n this.setState({\n truncatedTitleFirstPiece: originalTitle.slice(0, Math.ceil(originalTitle.length / 2) + TRUNCATION_FIRST_PIECE_LONGER_BY),\n truncatedTitleSecondPiece: originalTitle.slice(originalTitle.length - Math.floor(originalTitle.length / 2) + TRUNCATION_FIRST_PIECE_LONGER_BY)\n });\n }\n }\n // Save the width we just started truncation at, so that later we will only update truncation if necessary\n this._truncatedTitleAtWidth = this._titleElement.clientWidth;\n };\n DocumentCardTitle.prototype._shrinkTitle = function () {\n if (this._doesTitleOverflow()) {\n var _a = this.state, truncatedTitleFirstPiece = _a.truncatedTitleFirstPiece, truncatedTitleSecondPiece = _a.truncatedTitleSecondPiece;\n this._isTruncated = true;\n if (!truncatedTitleFirstPiece && !truncatedTitleSecondPiece) {\n this._startTruncation(this.props);\n }\n this.setState({\n truncatedTitleFirstPiece: truncatedTitleFirstPiece.slice(0, truncatedTitleFirstPiece.length - 1),\n truncatedTitleSecondPiece: truncatedTitleSecondPiece.slice(1)\n });\n }\n };\n DocumentCardTitle.prototype._doesTitleOverflow = function () {\n var titleElement = this._titleElement;\n return titleElement.scrollHeight > titleElement.clientHeight + TRUNCATION_VERTICAL_OVERFLOW_THRESHOLD || titleElement.scrollWidth > titleElement.clientWidth;\n };\n DocumentCardTitle.prototype._updateTruncation = function () {\n // Only update truncation if the title's size has changed since the last time we truncated\n if (this._titleElement.clientWidth !== this._truncatedTitleAtWidth) {\n // Throttle truncation so that it doesn't happen during a window resize\n clearTimeout(this._scrollTimerId);\n this._scrollTimerId = this._async.setTimeout(this._startTruncation.bind(this, this.props), 250);\n }\n };\n return DocumentCardTitle;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], DocumentCardTitle.prototype, \"_startTruncation\", null);\nexports.DocumentCardTitle = DocumentCardTitle;\n\n"
|
|
},
|
|
{
|
|
"id": 290,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dropdown.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Dropdown.js",
|
|
"index": 290,
|
|
"index2": 296,
|
|
"size": 225,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dropdown",
|
|
"loc": "23:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Dropdown/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 291,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dropdown/index.js",
|
|
"index": 291,
|
|
"index2": 295,
|
|
"size": 247,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dropdown.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 290,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Dropdown/index",
|
|
"loc": "6:9-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Dropdown\"));\n__export(require(\"./Dropdown.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 292,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"index": 292,
|
|
"index2": 294,
|
|
"size": 16788,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 291,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dropdown",
|
|
"loc": "6:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Dropdown_Props_1 = require(\"./Dropdown.Props\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar Callout_1 = require(\"../../Callout\");\nvar Label_1 = require(\"../../Label\");\nvar Button_1 = require(\"../../Button\");\nvar Panel_1 = require(\"../../Panel\");\nvar Icon_1 = require(\"../../Icon\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar withResponsiveMode_1 = require(\"../../utilities/decorators/withResponsiveMode\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./Dropdown.scss\");\nvar styles = stylesImport;\nvar Dropdown = Dropdown_1 = (function (_super) {\n __extends(Dropdown, _super);\n function Dropdown(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({\n 'isDisabled': 'disabled'\n });\n _this._warnMutuallyExclusive({\n 'defaultSelectedKey': 'selectedKey'\n });\n _this._id = props.id || Utilities_1.getId('Dropdown');\n var selectedKey = props.defaultSelectedKey !== undefined ? props.defaultSelectedKey : props.selectedKey;\n _this.state = {\n isOpen: false,\n selectedIndex: _this._getSelectedIndex(props.options, selectedKey)\n };\n return _this;\n }\n Dropdown.prototype.componentWillReceiveProps = function (newProps) {\n // In controlled component usage where selectedKey is provided, update the selectedIndex\n // state if the key or options change.\n if (newProps.selectedKey !== undefined &&\n (newProps.selectedKey !== this.props.selectedKey || newProps.options !== this.props.options)) {\n this.setState({\n selectedIndex: this._getSelectedIndex(newProps.options, newProps.selectedKey)\n });\n }\n };\n Dropdown.prototype.componentDidUpdate = function (prevProps, prevState) {\n if (prevState.isOpen === true && this.state.isOpen === false) {\n this._dropDown.focus();\n }\n };\n // Primary Render\n Dropdown.prototype.render = function () {\n var id = this._id;\n var _a = this.props, className = _a.className, label = _a.label, options = _a.options, disabled = _a.disabled, isDisabled = _a.isDisabled, ariaLabel = _a.ariaLabel, required = _a.required, errorMessage = _a.errorMessage, _b = _a.onRenderTitle, onRenderTitle = _b === void 0 ? this._onRenderTitle : _b, _c = _a.onRenderContainer, onRenderContainer = _c === void 0 ? this._onRenderContainer : _c;\n var _d = this.state, isOpen = _d.isOpen, selectedIndex = _d.selectedIndex;\n var selectedOption = options[selectedIndex];\n // Remove this deprecation workaround at 1.0.0\n if (isDisabled !== undefined) {\n disabled = isDisabled;\n }\n return (React.createElement(\"div\", { ref: 'root', className: Utilities_1.css('ms-Dropdown-container') },\n label && (React.createElement(Label_1.Label, { className: Utilities_1.css('ms-Dropdown-label'), id: id + '-label', ref: this._resolveRef('_dropdownLabel'), required: required }, label)),\n React.createElement(\"div\", { \"data-is-focusable\": !disabled, ref: this._resolveRef('_dropDown'), id: id, className: Utilities_1.css('ms-Dropdown', styles.root, className, (_e = {\n 'is-open': isOpen\n },\n _e['is-disabled ' + styles.rootIsDisabled] = disabled,\n _e['is-required '] = required,\n _e)), tabIndex: disabled ? -1 : 0, onKeyDown: this._onDropdownKeyDown, onKeyUp: this._onDropdownKeyUp, onClick: this._onDropdownClick, \"aria-expanded\": isOpen ? 'true' : 'false', role: 'combobox', \"aria-readonly\": true, \"aria-live\": disabled || isOpen ? 'off' : 'assertive', \"aria-label\": ariaLabel || label, \"aria-describedby\": id + '-option', \"aria-activedescendant\": isOpen && selectedIndex >= 0 ? (this._id + '-list' + selectedIndex) : null, \"aria-disabled\": disabled, \"aria-owns\": id + '-list' },\n React.createElement(\"span\", { id: id + '-option', className: Utilities_1.css('ms-Dropdown-title', styles.title, !selectedOption && styles.titleIsPlaceHolder, (errorMessage && errorMessage.length > 0 ? styles.titleIsError : null)), key: selectedIndex, \"aria-atomic\": true }, // If option is selected render title, otherwise render the placeholder text\n selectedOption ? (onRenderTitle(selectedOption, this._onRenderTitle)) :\n this._onRenderPlaceHolder(this.props)),\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Dropdown-caretDown', styles.caretDown), iconName: 'chevronDown' })),\n isOpen && (onRenderContainer(this.props, this._onRenderContainer)),\n errorMessage &&\n React.createElement(\"div\", { className: Utilities_1.css(styles.errorMessage) }, errorMessage)));\n var _e;\n };\n Dropdown.prototype.focus = function () {\n if (this._dropDown && this._dropDown.tabIndex !== -1) {\n this._dropDown.focus();\n }\n };\n Dropdown.prototype.setSelectedIndex = function (index) {\n var _a = this.props, onChanged = _a.onChanged, options = _a.options;\n var selectedIndex = this.state.selectedIndex;\n index = Math.max(0, Math.min(options.length - 1, index));\n if (index !== selectedIndex) {\n // Set the selected option.\n this.setState({\n selectedIndex: index\n });\n if (onChanged) {\n onChanged(options[index], index);\n }\n }\n };\n // Render text in dropdown input\n Dropdown.prototype._onRenderTitle = function (item) {\n return React.createElement(\"span\", null, item.text);\n };\n // Render placeHolder text in dropdown input\n Dropdown.prototype._onRenderPlaceHolder = function (props) {\n if (!props.placeHolder) {\n return null;\n }\n return React.createElement(\"span\", null, props.placeHolder);\n };\n // Render Callout or Panel container and pass in list\n Dropdown.prototype._onRenderContainer = function (props) {\n var _a = this.props, _b = _a.onRenderList, onRenderList = _b === void 0 ? this._onRenderList : _b, responsiveMode = _a.responsiveMode, calloutProps = _a.calloutProps;\n var isSmall = responsiveMode <= withResponsiveMode_1.ResponsiveMode.medium;\n return (isSmall ?\n React.createElement(Panel_1.Panel, { className: Utilities_1.css('ms-Dropdown-panel', styles.panel), isOpen: true, isLightDismiss: true, onDismissed: this._onDismiss, hasCloseButton: false }, onRenderList(props, this._onRenderList))\n :\n React.createElement(Callout_1.Callout, __assign({ isBeakVisible: false, gapSpace: 0, doNotLayer: false, directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge }, calloutProps, { className: Utilities_1.css('ms-Dropdown-callout', styles.callout, calloutProps ? calloutProps.className : undefined), targetElement: this._dropDown, onDismiss: this._onDismiss, onPositioned: this._onPositioned }),\n React.createElement(\"div\", { style: { width: this._dropDown.clientWidth - 2 } }, onRenderList(props, this._onRenderList))));\n };\n // Render List of items\n Dropdown.prototype._onRenderList = function (props) {\n var _this = this;\n var _a = this.props.onRenderItem, onRenderItem = _a === void 0 ? this._onRenderItem : _a;\n var id = this._id;\n var selectedIndex = this.state.selectedIndex;\n return (React.createElement(FocusZone_1.FocusZone, { ref: this._resolveRef('_focusZone'), direction: FocusZone_1.FocusZoneDirection.vertical, defaultActiveElement: '#' + id + '-list' + selectedIndex, id: id + '-list', className: Utilities_1.css('ms-Dropdown-items', styles.items), \"aria-labelledby\": id + '-label', onKeyDown: this._onZoneKeyDown, role: 'listbox' }, this.props.options.map(function (item, index) { return onRenderItem(__assign({}, item, { index: index }), _this._onRenderItem); })));\n };\n // Render items\n Dropdown.prototype._onRenderItem = function (item) {\n switch (item.itemType) {\n case Dropdown_Props_1.DropdownMenuItemType.Divider:\n return this._renderSeparator(item);\n case Dropdown_Props_1.DropdownMenuItemType.Header:\n return this._renderHeader(item);\n default:\n return this._renderOption(item);\n }\n };\n // Render separator\n Dropdown.prototype._renderSeparator = function (item) {\n var index = item.index, key = item.key;\n if (index > 0) {\n return React.createElement(\"div\", { role: 'separator', key: key, className: Utilities_1.css('ms-Dropdown-divider', styles.divider) });\n }\n return null;\n };\n Dropdown.prototype._renderHeader = function (item) {\n var _a = this.props.onRenderOption, onRenderOption = _a === void 0 ? this._onRenderOption : _a;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Dropdown-header', styles.header) }, onRenderOption(item, this._onRenderOption)));\n };\n // Render menu item\n Dropdown.prototype._renderOption = function (item) {\n var _this = this;\n var _a = this.props.onRenderOption, onRenderOption = _a === void 0 ? this._onRenderOption : _a;\n var id = this._id;\n return (React.createElement(Button_1.CommandButton, { id: id + '-list' + item.index, ref: Dropdown_1.Option + item.index, key: item.key, \"data-index\": item.index, \"data-is-focusable\": true, className: Utilities_1.css('ms-Dropdown-item', styles.item, (_b = {},\n _b['is-selected ' + styles.itemIsSelected] = this.state.selectedIndex === item.index,\n _b['is-disabled ' + styles.itemIsDisabled] = this.props.disabled === true,\n _b)), onClick: function () { return _this._onItemClick(item.index); }, role: 'option', \"aria-selected\": this.state.selectedIndex === item.index ? 'true' : 'false', ariaLabel: item.text, title: item.text },\n \" \",\n onRenderOption(item, this._onRenderOption)));\n var _b;\n };\n // Render content of item (i.e. text/icon inside of button)\n Dropdown.prototype._onRenderOption = function (item) {\n return React.createElement(\"span\", { className: Utilities_1.css('ms-Dropdown-optionText', styles.optionText) }, item.text);\n };\n Dropdown.prototype._onPositioned = function () {\n this._focusZone.focus();\n };\n Dropdown.prototype._onItemClick = function (index) {\n this.setSelectedIndex(index);\n this.setState({\n isOpen: false\n });\n };\n Dropdown.prototype._onDismiss = function () {\n this.setState({ isOpen: false });\n this._dropDown.focus();\n };\n Dropdown.prototype._getSelectedIndex = function (options, selectedKey) {\n return Utilities_1.findIndex(options, (function (option) { return (option.isSelected || option.selected || (selectedKey != null) && option.key === selectedKey); }));\n };\n Dropdown.prototype._onDropdownKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.enter:\n this.setState({\n isOpen: !this.state.isOpen\n });\n break;\n case Utilities_1.KeyCodes.escape:\n if (!this.state.isOpen) {\n return;\n }\n this.setState({\n isOpen: false\n });\n break;\n case Utilities_1.KeyCodes.up:\n this.setSelectedIndex(this.state.selectedIndex - 1);\n break;\n case Utilities_1.KeyCodes.down:\n if (ev.altKey || ev.metaKey) {\n this.setState({ isOpen: true });\n }\n else {\n this.setSelectedIndex(this.state.selectedIndex + 1);\n }\n break;\n case Utilities_1.KeyCodes.home:\n this.setSelectedIndex(0);\n break;\n case Utilities_1.KeyCodes.end:\n this.setSelectedIndex(this.props.options.length - 1);\n break;\n case Utilities_1.KeyCodes.space:\n // event handled in _onDropdownKeyUp\n break;\n default:\n return;\n }\n ev.stopPropagation();\n ev.preventDefault();\n };\n Dropdown.prototype._onDropdownKeyUp = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.space:\n this.setState({\n isOpen: !this.state.isOpen\n });\n break;\n default:\n return;\n }\n ev.stopPropagation();\n ev.preventDefault();\n };\n Dropdown.prototype._onZoneKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.up:\n if (ev.altKey || ev.metaKey) {\n this.setState({ isOpen: false });\n break;\n }\n return;\n case Utilities_1.KeyCodes.escape:\n this.setState({ isOpen: false });\n break;\n case Utilities_1.KeyCodes.tab:\n this.setState({ isOpen: false });\n return;\n default:\n return;\n }\n ev.stopPropagation();\n ev.preventDefault();\n };\n Dropdown.prototype._onDropdownClick = function () {\n var _a = this.props, disabled = _a.disabled, isDisabled = _a.isDisabled;\n var isOpen = this.state.isOpen;\n // Remove this deprecation workaround at 1.0.0\n if (isDisabled !== undefined) {\n disabled = isDisabled;\n }\n if (!disabled) {\n this.setState({\n isOpen: !isOpen\n });\n }\n };\n return Dropdown;\n}(Utilities_1.BaseComponent));\nDropdown.defaultProps = {\n options: []\n};\nDropdown.Option = 'option';\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onRenderTitle\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onRenderPlaceHolder\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onRenderContainer\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onRenderList\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onRenderItem\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_renderOption\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onRenderOption\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onPositioned\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onDismiss\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onDropdownKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onDropdownKeyUp\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onZoneKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], Dropdown.prototype, \"_onDropdownClick\", null);\nDropdown = Dropdown_1 = __decorate([\n withResponsiveMode_1.withResponsiveMode\n], Dropdown);\nexports.Dropdown = Dropdown;\nvar Dropdown_1;\n\n"
|
|
},
|
|
{
|
|
"id": 293,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.Props.js",
|
|
"index": 293,
|
|
"index2": 287,
|
|
"size": 456,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 291,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dropdown.Props",
|
|
"loc": "7:9-36"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dropdown.Props",
|
|
"loc": "28:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DropdownMenuItemType;\n(function (DropdownMenuItemType) {\n DropdownMenuItemType[DropdownMenuItemType[\"Normal\"] = 0] = \"Normal\";\n DropdownMenuItemType[DropdownMenuItemType[\"Divider\"] = 1] = \"Divider\";\n DropdownMenuItemType[DropdownMenuItemType[\"Header\"] = 2] = \"Header\";\n})(DropdownMenuItemType = exports.DropdownMenuItemType || (exports.DropdownMenuItemType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 294,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Panel.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Panel.js",
|
|
"index": 294,
|
|
"index2": 292,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Panel",
|
|
"loc": "39:9-27"
|
|
},
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Panel",
|
|
"loc": "33:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Panel/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 295,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Panel/index.js",
|
|
"index": 295,
|
|
"index2": 291,
|
|
"size": 241,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Panel.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 294,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Panel/index",
|
|
"loc": "6:9-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Panel\"));\n__export(require(\"./Panel.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 296,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"index": 296,
|
|
"index2": 290,
|
|
"size": 11320,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 295,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Panel",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar index_1 = require(\"../FocusTrapZone/index\");\nvar Panel_Props_1 = require(\"./Panel.Props\");\nvar Layer_1 = require(\"../Layer/Layer\");\nvar Overlay_1 = require(\"../../Overlay\");\nvar Popup_1 = require(\"../../Popup\");\nvar Button_1 = require(\"../../Button\");\nvar Styling_1 = require(\"../../Styling\");\nvar stylesImport = require(\"./Panel.scss\");\nvar styles = stylesImport;\nvar Panel = (function (_super) {\n __extends(Panel, _super);\n function Panel(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isFooterSticky: false,\n isOpen: false,\n isAnimating: false,\n id: Utilities_1.getId('Panel')\n };\n return _this;\n }\n Panel.prototype.componentDidMount = function () {\n this._events.on(window, 'resize', this._updateFooterPosition);\n if (this.props.isOpen) {\n this.open();\n }\n };\n Panel.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.isOpen !== this.state.isOpen) {\n if (newProps.isOpen) {\n this.open();\n }\n else {\n this.dismiss();\n }\n }\n };\n Panel.prototype.render = function () {\n var _a = this.props, children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, closeButtonAriaLabel = _a.closeButtonAriaLabel, elementToFocusOnDismiss = _a.elementToFocusOnDismiss, firstFocusableSelector = _a.firstFocusableSelector, forceFocusInsideTrap = _a.forceFocusInsideTrap, hasCloseButton = _a.hasCloseButton, headerText = _a.headerText, ignoreExternalFocusing = _a.ignoreExternalFocusing, isBlocking = _a.isBlocking, isLightDismiss = _a.isLightDismiss, layerProps = _a.layerProps, type = _a.type, customWidth = _a.customWidth, _c = _a.onRenderNavigation, onRenderNavigation = _c === void 0 ? this._onRenderNavigation : _c, _d = _a.onRenderHeader, onRenderHeader = _d === void 0 ? this._onRenderHeader : _d, _e = _a.onRenderBody, onRenderBody = _e === void 0 ? this._onRenderBody : _e, _f = _a.onRenderFooter, onRenderFooter = _f === void 0 ? this._onRenderFooter : _f;\n var _g = this.state, isOpen = _g.isOpen, isAnimating = _g.isAnimating, id = _g.id, isFooterSticky = _g.isFooterSticky;\n var isLeft = type === Panel_Props_1.PanelType.smallFixedNear ? true : false;\n var isRTL = Utilities_1.getRTL();\n var isOnRightSide = isRTL ? isLeft : !isLeft;\n var headerTextId = id + '-headerText';\n var customWidthStyles = (type === Panel_Props_1.PanelType.custom) ? { width: customWidth } : {};\n if (!isOpen && !isAnimating) {\n return null;\n }\n var overlay;\n if (isBlocking) {\n overlay = (React.createElement(Overlay_1.Overlay, { className: Utilities_1.css(styles.overlay, isOpen && isAnimating && Styling_1.AnimationClassNames.fadeIn200, !isOpen && isAnimating && Styling_1.AnimationClassNames.fadeOut200), isDarkThemed: false, onClick: isLightDismiss ? this._onPanelClick : null }));\n }\n return (React.createElement(Layer_1.Layer, __assign({}, layerProps),\n React.createElement(Popup_1.Popup, { role: 'dialog', ariaLabelledBy: headerText && headerTextId, onDismiss: this.dismiss },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Panel', styles.root, className, \n // because the RTL animations are not being used, we need to set a class\n isOpen && ('is-open ' + styles.rootIsOpen), type === Panel_Props_1.PanelType.smallFluid && ('ms-Panel--smFluid ' + styles.rootIsSmallFluid), type === Panel_Props_1.PanelType.smallFixedNear && ('ms-Panel--smLeft ' + styles.rootIsSmallLeft), type === Panel_Props_1.PanelType.smallFixedFar && ('ms-Panel--sm ' + styles.rootIsSmall), type === Panel_Props_1.PanelType.medium && ('ms-Panel--md ' + styles.rootIsMedium), type === Panel_Props_1.PanelType.large || type === Panel_Props_1.PanelType.largeFixed && ('ms-Panel--lg ' + styles.rootIsLarge), type === Panel_Props_1.PanelType.largeFixed && ('ms-Panel--fixed ' + styles.rootIsFixed), type === Panel_Props_1.PanelType.extraLarge && ('ms-Panel--xl ' + styles.rootIsXLarge), type === Panel_Props_1.PanelType.custom && ('ms-Panel--custom ' + styles.rootIsCustom), hasCloseButton && ('ms-Panel--hasCloseButton ' + styles.rootHasCloseButton)) },\n overlay,\n React.createElement(index_1.FocusTrapZone, { className: Utilities_1.css('ms-Panel-main', styles.main, isOpen && isAnimating && !isOnRightSide && Styling_1.AnimationClassNames.slideRightIn40, isOpen && isAnimating && isOnRightSide && Styling_1.AnimationClassNames.slideLeftIn40, !isOpen && isAnimating && !isOnRightSide && Styling_1.AnimationClassNames.slideLeftOut40, !isOpen && isAnimating && isOnRightSide && Styling_1.AnimationClassNames.slideRightOut40), style: customWidthStyles, elementToFocusOnDismiss: elementToFocusOnDismiss, isClickableOutsideFocusTrap: isLightDismiss, ignoreExternalFocusing: ignoreExternalFocusing, forceFocusInsideTrap: forceFocusInsideTrap, firstFocusableSelector: firstFocusableSelector },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Panel-commands'), \"data-is-visible\": true }, onRenderNavigation(this.props, this._onRenderNavigation)),\n React.createElement(\"div\", { className: Utilities_1.css('ms-Panel-contentInner', styles.contentInner) },\n onRenderHeader(this.props, this._onRenderHeader),\n onRenderBody(this.props, this._onRenderBody),\n onRenderFooter(this.props, this._onRenderFooter)))))));\n };\n Panel.prototype.open = function () {\n var _this = this;\n if (!this.state.isOpen) {\n this.setState({\n isOpen: true,\n isAnimating: true\n }, function () {\n _this._async.setTimeout(_this._onTransitionComplete, 200);\n });\n }\n };\n Panel.prototype.dismiss = function () {\n var _this = this;\n if (this.state.isOpen) {\n this.setState({\n isOpen: false,\n isAnimating: true\n }, function () {\n _this._async.setTimeout(_this._onTransitionComplete, 200);\n });\n if (this.props.onDismiss) {\n this.props.onDismiss();\n }\n }\n };\n Panel.prototype._onRenderNavigation = function (props) {\n var closeButtonAriaLabel = props.closeButtonAriaLabel, hasCloseButton = props.hasCloseButton;\n return (hasCloseButton &&\n React.createElement(Button_1.IconButton, { className: Utilities_1.css('ms-Panel-closeButton ms-PanelAction-close', styles.closeButton), onClick: this._onPanelClick, ariaLabel: closeButtonAriaLabel, \"data-is-visible\": true, iconProps: { iconName: 'Cancel' } }));\n };\n Panel.prototype._onRenderHeader = function (props) {\n var headerText = props.headerText, headerTextId = props.headerTextId, _a = props.headerClassName, headerClassName = _a === void 0 ? '' : _a;\n return (headerText &&\n React.createElement(\"div\", { className: Utilities_1.css('ms-Panel-header', styles.header) },\n React.createElement(\"p\", { className: Utilities_1.css('ms-Panel-headerText', styles.headerText, headerClassName), id: headerTextId, role: 'heading' }, headerText)));\n };\n Panel.prototype._onRenderBody = function (props) {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Panel-content', styles.content), ref: this._resolveRef('_content') }, props.children));\n };\n Panel.prototype._onRenderFooter = function (props) {\n var isFooterSticky = this.state.isFooterSticky;\n var _a = this.props.onRenderFooterContent, onRenderFooterContent = _a === void 0 ? null : _a;\n return (onRenderFooterContent != null &&\n React.createElement(\"div\", { className: Utilities_1.css('ms-Panel-footer', styles.footer, isFooterSticky && styles.footerIsSticky) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Panel-footerInner', styles.footerInner) }, onRenderFooterContent())));\n };\n Panel.prototype._updateFooterPosition = function () {\n var _content = this._content;\n if (_content) {\n var height = _content.clientHeight;\n var innerHeight_1 = _content.scrollHeight;\n this.setState({\n isFooterSticky: height < innerHeight_1 ? true : false\n });\n }\n };\n Panel.prototype._onPanelClick = function () {\n this.dismiss();\n };\n Panel.prototype._onTransitionComplete = function () {\n this.setState({\n isAnimating: false\n });\n if (!this.state.isOpen && this.props.onDismissed) {\n this.props.onDismissed();\n }\n };\n return Panel;\n}(Utilities_1.BaseComponent));\nPanel.defaultProps = {\n isOpen: false,\n isBlocking: true,\n hasCloseButton: true,\n type: Panel_Props_1.PanelType.smallFixedFar,\n};\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"dismiss\", null);\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"_onRenderNavigation\", null);\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"_onRenderHeader\", null);\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"_onRenderBody\", null);\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"_onRenderFooter\", null);\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"_onPanelClick\", null);\n__decorate([\n Utilities_1.autobind\n], Panel.prototype, \"_onTransitionComplete\", null);\nexports.Panel = Panel;\n\n"
|
|
},
|
|
{
|
|
"id": 297,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Panel/Panel.Props.js",
|
|
"index": 297,
|
|
"index2": 288,
|
|
"size": 3798,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 295,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Panel.Props",
|
|
"loc": "7:9-33"
|
|
},
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Panel.Props",
|
|
"loc": "32:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PanelType;\n(function (PanelType) {\n /**\n * Renders the panel in 'small' mode, anchored to the far side (right in LTR mode), and has a fluid width.\n * Only used on Small screen breakpoints.\n * Small: 320-479px width (full screen), 16px Left/Right padding\n * Medium: <unused>\n * Large: <unused>\n * XLarge: <unused>\n * XXLarge: <unused>\n */\n PanelType[PanelType[\"smallFluid\"] = 0] = \"smallFluid\";\n /**\n * Renders the panel in 'small' mode, anchored to the far side (right in LTR mode), and has a fixed width.\n * Small: 272px width, 16px Left/Right padding\n * Medium: 340px width, 16px Left/Right padding\n * Large: 340px width, 32px Left/Right padding\n * XLarge: 340px width, 32px Left/Right padding\n * XXLarge: 340px width, 40px Left/Right padding\n */\n PanelType[PanelType[\"smallFixedFar\"] = 1] = \"smallFixedFar\";\n /**\n * Renders the panel in 'small' mode, anchored to the near side (left in LTR mode), and has a fixed width.\n * Small: 272px width, 16px Left/Right padding\n * Medium: 272px width, 16px Left/Right padding\n * Large: 272px width, 32px Left/Right padding\n * XLarge: 272px width, 32px Left/Right padding\n * XXLarge: 272px width, 32px Left/Right padding\n */\n PanelType[PanelType[\"smallFixedNear\"] = 2] = \"smallFixedNear\";\n /**\n * Renders the panel in 'medium' mode, anchored to the far side (right in LTR mode).\n * Small: <adapts to smallFluid>\n * Medium: <adapts to smallFixedFar>\n * Large: 48px fixed left margin, 32px Left/Right padding\n * XLarge: 644px width, 32px Left/Right padding\n * XXLarge: 643px width, 40px Left/Right padding\n */\n PanelType[PanelType[\"medium\"] = 3] = \"medium\";\n /**\n * Renders the panel in 'large' mode, anchored to the far side (right in LTR mode), and is fluid at XXX-Large breakpoint.\n * Small: <adapts to smallFluid>\n * Medium: <adapts to smallFixedFar>\n * Large: <adapts to medium>\n * XLarge: 48px fixed left margin, 32px Left/Right padding\n * XXLarge: 48px fixed left margin, 32px Left/Right padding\n * XXXLarge: 48px fixed left margin, (no redlines for padding, assuming previous breakpoint)\n */\n PanelType[PanelType[\"large\"] = 4] = \"large\";\n /**\n * Renders the panel in 'large' mode, anchored to the far side (right in LTR mode), and is fixed at XXX-Large breakpoint.\n * Small: <adapts to smallFluid>\n * Medium: <adapts to smallFixedFar>\n * Large: <adapts to medium>\n * XLarge: 48px fixed left margin, 32px Left/Right padding\n * XXLarge: 48px fixed left margin, 32px Left/Right padding\n * XXXLarge: 940px width, (no redlines for padding, assuming previous breakpoint)\n */\n PanelType[PanelType[\"largeFixed\"] = 5] = \"largeFixed\";\n /**\n * Renders the panel in 'extra large' mode, anchored to the far side (right in LTR mode).\n * Small: <adapts to smallFluid>\n * Medium: <adapts to smallFixedFar>\n * Large: <adapts to medium>\n * XLarge: <adapts to large>\n * XXLarge: 176px fixed left margin, 40px Left/Right padding\n * XXXLarge: 176px fixed left margin, 40px Left/Right padding\n */\n PanelType[PanelType[\"extraLarge\"] = 6] = \"extraLarge\";\n /**\n * Renders the panel in 'custom' mode using customWidth, anchored to the far side (right in LTR mode).\n * Small: <adapts to smallFluid>\n * Medium: <adapts to smallFixedFar>\n * Large: 48px fixed left margin, 32px Left/Right padding\n * XLarge: 644px width, 32px Left/Right padding\n * XXLarge: 643px width, 40px Left/Right padding\n */\n PanelType[PanelType[\"custom\"] = 7] = \"custom\";\n})(PanelType = exports.PanelType || (exports.PanelType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 298,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Panel/Panel.scss.js",
|
|
"index": 298,
|
|
"index2": 289,
|
|
"size": 6583,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 296,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Panel\\Panel.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Panel/Panel.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Panel.scss",
|
|
"loc": "38:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_6639629e',\n overlay: 'overlay_6639629e',\n main: 'main_6639629e',\n rootIsSmall: 'rootIsSmall_6639629e',\n rootIsSmallLeft: 'rootIsSmallLeft_6639629e',\n rootIsSmallFluid: 'rootIsSmallFluid_6639629e',\n rootIsMedium: 'rootIsMedium_6639629e',\n rootIsLarge: 'rootIsLarge_6639629e',\n rootIsXLarge: 'rootIsXLarge_6639629e',\n rootIsCustom: 'rootIsCustom_6639629e',\n rootIsFixed: 'rootIsFixed_6639629e',\n rootIsOpen: 'rootIsOpen_6639629e',\n closeButton: 'closeButton_6639629e',\n contentInner: 'contentInner_6639629e',\n rootHasCloseButton: 'rootHasCloseButton_6639629e',\n header: 'header_6639629e',\n content: 'content_6639629e',\n footerInner: 'footerInner_6639629e',\n footer: 'footer_6639629e',\n footerIsSticky: 'footerIsSticky_6639629e',\n headerText: 'headerText_6639629e',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_6639629e{pointer-events:none;position:absolute;top:0;left:0;right:0;bottom:0}.root_6639629e .overlay_6639629e{pointer-events:none;opacity:1;cursor:pointer;transition:opacity 367ms cubic-bezier(.1,.9,.2,1)}.main_6639629e{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";position:absolute;width:100%;bottom:0;top:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}[dir=ltr] .main_6639629e{right:0}[dir=rtl] .main_6639629e{left:0}@media (min-width:480px){.main_6639629e{border-left:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";border-right:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";pointer-events:auto;width:340px;box-shadow:-30px 0 30px -30px rgba(0,0,0,.2)}[dir=ltr] .main_6639629e{left:auto}[dir=rtl] .main_6639629e{right:auto}}.root_6639629e.rootIsSmall_6639629e .main_6639629e{width:272px}@media (min-width:480px){.root_6639629e.rootIsSmall_6639629e .main_6639629e{width:340px}}.root_6639629e.rootIsSmallLeft_6639629e .main_6639629e{width:272px;box-shadow:30px 0 30px -30px rgba(0,0,0,.2)}[dir=ltr] .root_6639629e.rootIsSmallLeft_6639629e .main_6639629e{right:auto}[dir=rtl] .root_6639629e.rootIsSmallLeft_6639629e .main_6639629e{left:auto}[dir=ltr] .root_6639629e.rootIsSmallLeft_6639629e .main_6639629e{left:0}[dir=rtl] .root_6639629e.rootIsSmallLeft_6639629e .main_6639629e{right:0}.root_6639629e.rootIsSmallFluid_6639629e .main_6639629e{width:100%}@media (min-width:640px){.root_6639629e.rootIsCustom_6639629e .main_6639629e,.root_6639629e.rootIsLarge_6639629e .main_6639629e,.root_6639629e.rootIsMedium_6639629e .main_6639629e,.root_6639629e.rootIsXLarge_6639629e .main_6639629e{width:auto}[dir=ltr] .root_6639629e.rootIsCustom_6639629e .main_6639629e,[dir=ltr] .root_6639629e.rootIsLarge_6639629e .main_6639629e,[dir=ltr] .root_6639629e.rootIsMedium_6639629e .main_6639629e,[dir=ltr] .root_6639629e.rootIsXLarge_6639629e .main_6639629e{left:48px}[dir=rtl] .root_6639629e.rootIsCustom_6639629e .main_6639629e,[dir=rtl] .root_6639629e.rootIsLarge_6639629e .main_6639629e,[dir=rtl] .root_6639629e.rootIsMedium_6639629e .main_6639629e,[dir=rtl] .root_6639629e.rootIsXLarge_6639629e .main_6639629e{right:48px}}@media (min-width:1024px){.root_6639629e.rootIsMedium_6639629e .main_6639629e{width:643px}[dir=ltr] .root_6639629e.rootIsMedium_6639629e .main_6639629e{left:auto}[dir=rtl] .root_6639629e.rootIsMedium_6639629e .main_6639629e{right:auto}}@media (min-width:1366px){[dir=ltr] .root_6639629e.rootIsLarge_6639629e .main_6639629e{left:428px}[dir=rtl] .root_6639629e.rootIsLarge_6639629e .main_6639629e{right:428px}}@media (min-width:1366px){.root_6639629e.rootIsLarge_6639629e.rootIsFixed_6639629e .main_6639629e{width:940px}[dir=ltr] .root_6639629e.rootIsLarge_6639629e.rootIsFixed_6639629e .main_6639629e{left:auto}[dir=rtl] .root_6639629e.rootIsLarge_6639629e.rootIsFixed_6639629e .main_6639629e{right:auto}}@media (min-width:1366px){[dir=ltr] .root_6639629e.rootIsXLarge_6639629e .main_6639629e{left:176px}[dir=rtl] .root_6639629e.rootIsXLarge_6639629e .main_6639629e{right:176px}}@media (min-width:1024px){[dir=ltr] .root_6639629e.rootIsCustom_6639629e .main_6639629e{left:auto}[dir=rtl] .root_6639629e.rootIsCustom_6639629e .main_6639629e{right:auto}}.root_6639629e.rootIsOpen_6639629e .main_6639629e{pointer-events:auto}.root_6639629e.rootIsOpen_6639629e .overlay_6639629e{cursor:pointer;pointer-events:auto}@media screen and (-ms-high-contrast:active){.root_6639629e.rootIsOpen_6639629e .overlay_6639629e{opacity:0}}.closeButton_6639629e{background:0 0;border:0;cursor:pointer;position:absolute;top:0;height:44px;width:44px;line-height:44px;padding:0;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:20px}[dir=ltr] .closeButton_6639629e{right:4px}[dir=rtl] .closeButton_6639629e{left:4px}.closeButton_6639629e:hover{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.contentInner_6639629e{position:absolute;top:0;bottom:0;left:0;right:0;overflow-y:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-overflow-scrolling:touch;-webkit-transform:translateZ(0);transform:translateZ(0)}.rootHasCloseButton_6639629e .contentInner_6639629e{top:44px}.content_6639629e,.footerInner_6639629e,.header_6639629e{padding-left:16px;padding-right:16px}@media (min-width:640px){.content_6639629e,.footerInner_6639629e,.header_6639629e{padding-left:32px;padding-right:32px}}@media (min-width:1366px){.content_6639629e,.footerInner_6639629e,.header_6639629e{padding-left:40px;padding-right:40px}}.header_6639629e{margin:14px 0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}@media (min-width:1024px){.header_6639629e{margin-top:30px}}.content_6639629e{margin-bottom:0;overflow-y:auto}.footer_6639629e{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;border-top:1px solid transparent;transition:border 367ms cubic-bezier(.1,.25,.75,.9)}.footerInner_6639629e{padding-bottom:20px;padding-top:20px}.footerIsSticky_6639629e{background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border-top-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.headerText_6639629e{font-size:21px;font-weight:100;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";line-height:32px;margin:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 299,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.scss.js",
|
|
"index": 299,
|
|
"index2": 293,
|
|
"size": 10329,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 292,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Dropdown\\Dropdown.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Dropdown/Dropdown.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Dropdown.scss",
|
|
"loc": "38:19-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_56083fec',\n title: 'title_56083fec',\n caretDown: 'caretDown_56083fec',\n titleIsPlaceHolder: 'titleIsPlaceHolder_56083fec',\n rootIsDisabled: 'rootIsDisabled_56083fec',\n titleIsError: 'titleIsError_56083fec',\n panel: 'panel_56083fec',\n callout: 'callout_56083fec',\n errorMessage: 'errorMessage_56083fec',\n items: 'items_56083fec',\n item: 'item_56083fec',\n itemIsDisabled: 'itemIsDisabled_56083fec',\n itemIsSelected: 'itemIsSelected_56083fec',\n header: 'header_56083fec',\n divider: 'divider_56083fec',\n optionText: 'optionText_56083fec',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_56083fec{box-sizing:border-box;box-shadow:none;margin:0;padding:0;font-size:14px;font-weight:400;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";margin-bottom:10px;position:relative;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.root_56083fec:active .caretDown_56083fec,.root_56083fec:active .title_56083fec,.root_56083fec:focus .caretDown_56083fec,.root_56083fec:focus .title_56083fec,.root_56083fec:hover .caretDown_56083fec,.root_56083fec:hover .title_56083fec{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_56083fec:active .caretDown_56083fec,.root_56083fec:active .title_56083fec,.root_56083fec:focus .caretDown_56083fec,.root_56083fec:focus .title_56083fec,.root_56083fec:hover .caretDown_56083fec,.root_56083fec:hover .title_56083fec{color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.root_56083fec:active .caretDown_56083fec,.root_56083fec:active .title_56083fec,.root_56083fec:focus .caretDown_56083fec,.root_56083fec:focus .title_56083fec,.root_56083fec:hover .caretDown_56083fec,.root_56083fec:hover .title_56083fec{color:#37006e}}.root_56083fec:active .titleIsPlaceHolder_56083fec,.root_56083fec:focus .titleIsPlaceHolder_56083fec,.root_56083fec:hover .titleIsPlaceHolder_56083fec{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.root_56083fec:active .title_56083fec,.root_56083fec:hover .title_56083fec{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_56083fec:active .title_56083fec,.root_56083fec:hover .title_56083fec{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.root_56083fec:active .title_56083fec,.root_56083fec:hover .title_56083fec{border-color:#37006e}}.root_56083fec:focus .title_56083fec{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_56083fec:focus .title_56083fec{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.root_56083fec:focus .title_56083fec{border-color:#37006e}}.root_56083fec .ms-Label{display:inline-block;margin-bottom:8px}.root_56083fec.rootIsDisabled_56083fec .title_56083fec{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";cursor:default}@media screen and (-ms-high-contrast:active){.root_56083fec.rootIsDisabled_56083fec .title_56083fec{border-color:#0f0;color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.root_56083fec.rootIsDisabled_56083fec .title_56083fec{border-color:#600000;color:#600000}}.root_56083fec.rootIsDisabled_56083fec .title_56083fec.titleIsError_56083fec{border-color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.root_56083fec.rootIsDisabled_56083fec .caretDown_56083fec{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_56083fec.rootIsDisabled_56083fec .caretDown_56083fec{color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.root_56083fec.rootIsDisabled_56083fec .caretDown_56083fec{color:#600000}}.caretDown_56083fec{color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \";font-size:12px;position:absolute;top:1px;pointer-events:none;height:32px;line-height:30px}[dir=ltr] .caretDown_56083fec{right:12px}[dir=rtl] .caretDown_56083fec{left:12px}.title_56083fec{box-sizing:border-box;box-shadow:none;margin:0;padding:0;background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border:1px solid \" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";cursor:pointer;display:block;height:32px;line-height:30px;padding:0 32px 0 12px;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}html[dir=rtl] .title_56083fec{padding:0 12px 0 32px}.title_56083fec.titleIsError_56083fec{border-color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.title_56083fec.titleIsPlaceHolder_56083fec{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.panel_56083fec .ms-Panel-main{box-shadow:-30px 0 30px -30px rgba(0,0,0,.2)}.panel_56083fec .ms-Panel-contentInner{padding:0 0 20px}.callout_56083fec{box-shadow:0 0 5px 0 rgba(0,0,0,.4);border:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.errorMessage_56083fec{color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.errorMessage_56083fec::before{content:'* '}.items_56083fec{display:block}.item_56083fec{background:0 0;box-sizing:border-box;cursor:pointer;display:block;width:100%;height:auto;min-height:36px;line-height:20px;padding:5px 16px;position:relative;border:1px solid transparent;word-wrap:break-word;overflow-wrap:break-word;text-align:left}@media screen and (-ms-high-contrast:active){.item_56083fec{border-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.item_56083fec{border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}.item_56083fec:hover{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.item_56083fec:hover{background-color:#1aebff;border-color:#1aebff;color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.item_56083fec:hover:focus{border-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.item_56083fec:hover{background-color:#37006e;border-color:#37006e;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:black-on-white){.item_56083fec:hover{-ms-high-contrast-adjust:none}}.item_56083fec::-moz-focus-inner{border:0}.item_56083fec{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .item_56083fec:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.item_56083fec:focus{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.item_56083fec:active{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.item_56083fec.itemIsDisabled_56083fec{background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";cursor:default}.item_56083fec .ms-Button-flexContainer{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.item_56083fec.itemIsSelected_56083fec{background-color:\" }, { \"theme\": \"neutralQuaternaryAlt\", \"defaultValue\": \"#dadada\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.item_56083fec.itemIsSelected_56083fec:hover{background-color:\" }, { \"theme\": \"neutralQuaternaryAlt\", \"defaultValue\": \"#dadada\" }, { \"rawString\": \"}.item_56083fec.itemIsSelected_56083fec::-moz-focus-inner{border:0}.item_56083fec.itemIsSelected_56083fec{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .item_56083fec.itemIsSelected_56083fec:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.item_56083fec.itemIsSelected_56083fec{background-color:#1aebff;border-color:#1aebff;color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.item_56083fec.itemIsSelected_56083fec:focus{border-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.item_56083fec.itemIsSelected_56083fec{background-color:#37006e;border-color:#37006e;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:black-on-white){.item_56083fec.itemIsSelected_56083fec{-ms-high-contrast-adjust:none}}.header_56083fec{font-size:14px;font-weight:400;font-weight:600;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";background:0 0;border:none;height:36px;line-height:36px;cursor:default;padding:0 16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html[dir=ltr] .header_56083fec{text-align:left}html[dir=rtl] .header_56083fec{text-align:right}.divider_56083fec{height:1px;background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.optionText_56083fec{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;word-wrap:break-word;overflow-wrap:break-word;margin:1px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 300,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Facepile.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Facepile.js",
|
|
"index": 300,
|
|
"index2": 301,
|
|
"size": 225,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Facepile",
|
|
"loc": "25:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Facepile/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 301,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Facepile/index.js",
|
|
"index": 301,
|
|
"index2": 300,
|
|
"size": 247,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Facepile.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 300,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Facepile/index",
|
|
"loc": "6:9-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Facepile.Props\"));\n__export(require(\"./Facepile\"));\n\n"
|
|
},
|
|
{
|
|
"id": 302,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.Props.js",
|
|
"index": 302,
|
|
"index2": 297,
|
|
"size": 623,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 301,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Facepile.Props",
|
|
"loc": "6:9-36"
|
|
},
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Facepile.Props",
|
|
"loc": "23:23-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar OverflowButtonType;\n(function (OverflowButtonType) {\n /** No overflow */\n OverflowButtonType[OverflowButtonType[\"none\"] = 0] = \"none\";\n /** +1 overflow icon */\n OverflowButtonType[OverflowButtonType[\"descriptive\"] = 1] = \"descriptive\";\n /** More overflow icon */\n OverflowButtonType[OverflowButtonType[\"more\"] = 2] = \"more\";\n /** Chevron overflow icon */\n OverflowButtonType[OverflowButtonType[\"downArrow\"] = 3] = \"downArrow\";\n})(OverflowButtonType = exports.OverflowButtonType || (exports.OverflowButtonType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 303,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"index": 303,
|
|
"index2": 299,
|
|
"size": 8943,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 301,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Facepile",
|
|
"loc": "7:9-30"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Facepile_Props_1 = require(\"./Facepile.Props\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar Button_1 = require(\"../../Button\");\nvar Icon_1 = require(\"../../Icon\");\nvar Persona_1 = require(\"../../Persona\");\nvar stylesImport = require(\"./Facepile.scss\");\nvar styles = stylesImport;\nvar Facepile = (function (_super) {\n __extends(Facepile, _super);\n function Facepile(props) {\n var _this = _super.call(this, props) || this;\n _this._ariaDescriptionId = Utilities_1.getId();\n return _this;\n }\n Facepile.prototype.render = function () {\n var _this = this;\n var _a = this.props, chevronButtonProps = _a.chevronButtonProps, maxDisplayablePersonas = _a.maxDisplayablePersonas, overflowButtonProps = _a.overflowButtonProps, overflowButtonType = _a.overflowButtonType, ariaDescription = _a.ariaDescription, className = _a.className, personas = _a.personas, showAddButton = _a.showAddButton;\n var numPersonasToShow = Math.min(personas.length, maxDisplayablePersonas);\n // Added for deprecating chevronButtonProps. Can remove after v1.0\n if (chevronButtonProps && !overflowButtonProps) {\n overflowButtonProps = chevronButtonProps;\n overflowButtonType = Facepile_Props_1.OverflowButtonType.downArrow;\n }\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Facepile', styles.root, className) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Facepile-itemContainer', styles.itemContainer) },\n showAddButton ? this._getAddNewElement() : null,\n this.onRenderAriaDescription(),\n React.createElement(FocusZone_1.FocusZone, { ariaDescribedBy: this._ariaDescriptionId, role: 'listbox', className: Utilities_1.css('ms-Facepile-members', styles.members), direction: FocusZone_1.FocusZoneDirection.horizontal }, personas.slice(0, numPersonasToShow).map(function (persona, index) {\n var personaControl = _this._getPersonaControl(persona);\n return persona.onClick ?\n _this._getElementWithOnClickEvent(personaControl, persona, index) :\n _this._getElementWithoutOnClickEvent(personaControl, persona, index);\n })),\n overflowButtonProps ? this._getOverflowElement(numPersonasToShow) : null)));\n };\n Facepile.prototype.onRenderAriaDescription = function () {\n var ariaDescription = this.props.ariaDescription;\n // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan,\n // otherwise it will be assigned to descriptionSpan.\n return ariaDescription && (React.createElement(\"span\", { className: styles.screenReaderOnly, id: this._ariaDescriptionId }, ariaDescription));\n };\n Facepile.prototype._getPersonaControl = function (persona) {\n var _a = this.props, getPersonaProps = _a.getPersonaProps, personaSize = _a.personaSize;\n return React.createElement(Persona_1.Persona, __assign({ imageInitials: persona.imageInitials, imageUrl: persona.imageUrl, initialsColor: persona.initialsColor, primaryText: persona.personaName, size: personaSize, hidePersonaDetails: true }, (getPersonaProps ? getPersonaProps(persona) : null)));\n };\n Facepile.prototype._getElementWithOnClickEvent = function (personaControl, persona, index) {\n return React.createElement(Button_1.BaseButton, __assign({}, Utilities_1.getNativeProps(persona, Utilities_1.buttonProperties), { key: (!!persona.imageUrl ? 'i' : '') + index, \"data-is-focusable\": true, role: 'option', className: Utilities_1.css('ms-Facepile-itemButton ms-Facepile-person', styles.itemButton), title: persona.personaName, onClick: this._onPersonaClick.bind(this, persona), onMouseMove: this._onPersonaMouseMove.bind(this, persona), onMouseOut: this._onPersonaMouseOut.bind(this, persona) }), personaControl);\n };\n Facepile.prototype._getElementWithoutOnClickEvent = function (personaControl, persona, index) {\n return React.createElement(\"div\", __assign({}, Utilities_1.getNativeProps(persona, Utilities_1.divProperties), { key: (!!persona.imageUrl ? 'i' : '') + index, \"data-is-focusable\": true, role: 'option', className: Utilities_1.css('ms-Facepile-itemButton ms-Facepile-person', styles.itemButton), title: persona.personaName, onMouseMove: this._onPersonaMouseMove.bind(this, persona), onMouseOut: this._onPersonaMouseOut.bind(this, persona) }), personaControl);\n };\n Facepile.prototype._getOverflowElement = function (numPersonasToShow) {\n switch (this.props.overflowButtonType) {\n case Facepile_Props_1.OverflowButtonType.descriptive:\n return this._getDescriptiveOverflowElement(numPersonasToShow);\n case Facepile_Props_1.OverflowButtonType.downArrow:\n return this._getIconElement('ChevronDown');\n case Facepile_Props_1.OverflowButtonType.more:\n return this._getIconElement('More');\n default:\n return null;\n }\n };\n Facepile.prototype._getDescriptiveOverflowElement = function (numPersonasToShow) {\n var _a = this.props, overflowButtonProps = _a.overflowButtonProps, personas = _a.personas, personaSize = _a.personaSize;\n var numPersonasNotPictured = personas.length - numPersonasToShow;\n if (!overflowButtonProps || numPersonasNotPictured < 1) {\n return null;\n }\n var personaNames = personas.slice(numPersonasToShow).map(function (p) { return p.personaName; }).join(', ');\n return React.createElement(Button_1.BaseButton, __assign({}, overflowButtonProps, { ariaDescription: personaNames, className: Utilities_1.css('ms-Facepile-descriptiveOverflowButton', 'ms-Facepile-itemButton', styles.descriptiveOverflowButton, styles.itemButton) }),\n React.createElement(Persona_1.Persona, { title: personaNames, size: personaSize, hidePersonaDetails: true, onRenderInitials: function () {\n return (React.createElement(\"span\", null, '+' + numPersonasNotPictured));\n } }));\n };\n Facepile.prototype._getIconElement = function (icon) {\n var _a = this.props, overflowButtonProps = _a.overflowButtonProps, personaSize = _a.personaSize;\n return React.createElement(Button_1.BaseButton, __assign({}, overflowButtonProps, { className: Utilities_1.css('ms-Facepile-overflowButton', 'ms-Facepile-itemButton', styles.overflowButton, styles.itemButton) }),\n React.createElement(Persona_1.Persona, { size: personaSize, hidePersonaDetails: true, onRenderInitials: function () { return (React.createElement(Icon_1.Icon, { iconName: icon })); } }));\n };\n Facepile.prototype._getAddNewElement = function () {\n var _a = this.props, addButtonProps = _a.addButtonProps, personaSize = _a.personaSize;\n return React.createElement(Button_1.BaseButton, __assign({}, addButtonProps, { className: Utilities_1.css('ms-Facepile-addButton', 'ms-Facepile-itemButton', styles.itemButton, styles.addButton) }),\n React.createElement(Persona_1.Persona, { size: personaSize, hidePersonaDetails: true, onRenderInitials: function () { return (React.createElement(Icon_1.Icon, { iconName: 'addFriend' })); } }));\n };\n Facepile.prototype._onPersonaClick = function (persona, ev) {\n persona.onClick(ev, persona);\n ev.preventDefault();\n ev.stopPropagation();\n };\n Facepile.prototype._onPersonaMouseMove = function (persona, ev) {\n if (!!persona.onMouseMove) {\n persona.onMouseMove(ev, persona);\n }\n };\n Facepile.prototype._onPersonaMouseOut = function (persona, ev) {\n if (!!persona.onMouseOut) {\n persona.onMouseOut(ev, persona);\n }\n };\n return Facepile;\n}(Utilities_1.BaseComponent));\nFacepile.defaultProps = {\n maxDisplayablePersonas: 5,\n personas: [],\n personaSize: Persona_1.PersonaSize.extraSmall\n};\nexports.Facepile = Facepile;\n\n"
|
|
},
|
|
{
|
|
"id": 304,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.scss.js",
|
|
"index": 304,
|
|
"index2": 298,
|
|
"size": 3355,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 303,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Facepile\\Facepile.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Facepile/Facepile.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Facepile.scss",
|
|
"loc": "28:19-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_ec63745c',\n clear: 'clear_ec63745c',\n itemContainer: 'itemContainer_ec63745c',\n members: 'members_ec63745c',\n itemButton: 'itemButton_ec63745c',\n addButton: 'addButton_ec63745c',\n overflowButton: 'overflowButton_ec63745c',\n descriptiveOverflowButton: 'descriptiveOverflowButton_ec63745c',\n screenReaderOnly: 'screenReaderOnly_ec63745c',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_ec63745c{width:auto}.clear_ec63745c{clear:both}.itemContainer_ec63745c{display:-webkit-box;display:-ms-flexbox;display:flex}.members_ec63745c{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden;margin:-2px}.members_ec63745c>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:2px}.itemButton_ec63745c{text-align:center;padding:0;border-radius:50%;vertical-align:top}.itemButton_ec63745c::-moz-focus-inner{border:0}.itemButton_ec63745c{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .itemButton_ec63745c:focus:after{content:'';position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.itemButton_ec63745c .ms-Persona-details{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}button.itemButton_ec63745c{display:inline;background:0 0;padding:0;cursor:pointer;border:none}button.itemButton_ec63745c::-moz-focus-inner{padding:0;border:0}button.addButton_ec63745c{font-size:14px;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}html[dir=ltr] button.addButton_ec63745c{margin-right:4px}html[dir=rtl] button.addButton_ec63745c{margin-left:4px}button.addButton_ec63745c:focus,button.addButton_ec63745c:hover{background-color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}button.addButton_ec63745c:active{background-color:\" }, { \"theme\": \"themeDarker\", \"defaultValue\": \"#004578\" }, { \"rawString\": \"}button.addButton_ec63745c:disabled{background-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}button.overflowButton_ec63745c{font-size:14px;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}html[dir=ltr] button.overflowButton_ec63745c{margin-left:4px}html[dir=rtl] button.overflowButton_ec63745c{margin-right:4px}button.descriptiveOverflowButton_ec63745c{font-size:12px;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}html[dir=ltr] button.descriptiveOverflowButton_ec63745c{margin-left:4px}html[dir=rtl] button.descriptiveOverflowButton_ec63745c{margin-right:4px}.screenReaderOnly_ec63745c{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 305,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\FocusTrapZone.js",
|
|
"name": "./~/office-ui-fabric-react/lib/FocusTrapZone.js",
|
|
"index": 305,
|
|
"index2": 302,
|
|
"size": 230,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./FocusTrapZone",
|
|
"loc": "26:9-35"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/FocusTrapZone/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 306,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MessageBar.js",
|
|
"name": "./~/office-ui-fabric-react/lib/MessageBar.js",
|
|
"index": 306,
|
|
"index2": 307,
|
|
"size": 227,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MessageBar",
|
|
"loc": "35:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/MessageBar/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 307,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/MessageBar/index.js",
|
|
"index": 307,
|
|
"index2": 306,
|
|
"size": 251,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MessageBar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 306,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/MessageBar/index",
|
|
"loc": "6:9-49"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./MessageBar\"));\n__export(require(\"./MessageBar.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 308,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"index": 308,
|
|
"index2": 305,
|
|
"size": 6792,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 307,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MessageBar",
|
|
"loc": "6:9-32"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Button_1 = require(\"../../Button\");\nvar Icon_1 = require(\"../../Icon\");\nvar MessageBar_Props_1 = require(\"./MessageBar.Props\");\nvar stylesImport = require(\"./MessageBar.scss\");\nvar styles = stylesImport;\nvar MessageBar = (function (_super) {\n __extends(MessageBar, _super);\n function MessageBar(props) {\n var _this = _super.call(this, props) || this;\n _this.ICON_MAP = (_a = {},\n _a[MessageBar_Props_1.MessageBarType.info] = 'Info',\n _a[MessageBar_Props_1.MessageBarType.warning] = 'Info',\n _a[MessageBar_Props_1.MessageBarType.error] = 'ErrorBadge',\n _a[MessageBar_Props_1.MessageBarType.blocked] = 'Blocked',\n _a[MessageBar_Props_1.MessageBarType.remove] = 'Blocked',\n _a[MessageBar_Props_1.MessageBarType.severeWarning] = 'Warning',\n _a[MessageBar_Props_1.MessageBarType.success] = 'Completed',\n _a);\n _this.state = {\n labelId: Utilities_1.getId('MessageBar'),\n showContent: false\n };\n return _this;\n var _a;\n }\n MessageBar.prototype.render = function () {\n var isMultiline = this.props.isMultiline;\n return isMultiline ? this._renderMultiLine() : this._renderSingleLine();\n };\n MessageBar.prototype._getActionsDiv = function () {\n if (this.props.actions) {\n return React.createElement(\"div\", { className: this.props.isMultiline ?\n ('ms-MessageBar-actions ' + styles.actions) :\n ('ms-MessageBar-actionsOneline ' + styles.actionsOneline) }, this.props.actions);\n }\n return null;\n };\n MessageBar.prototype._getClassName = function () {\n return Utilities_1.css(this.props.className, 'ms-MessageBar', styles.root, (_a = {},\n _a['ms-MessageBar ' + styles.root] = this.props.messageBarType === MessageBar_Props_1.MessageBarType.info,\n _a['ms-MessageBar--error ' + styles.rootIsError] = this.props.messageBarType === MessageBar_Props_1.MessageBarType.error,\n _a['ms-MessageBar--blocked ' + styles.rootIsBlocked] = (this.props.messageBarType === MessageBar_Props_1.MessageBarType.blocked) ||\n (this.props.messageBarType === MessageBar_Props_1.MessageBarType.remove),\n _a['ms-MessageBar--severeWarning ' + styles.rootIsSevereWarning] = this.props.messageBarType === MessageBar_Props_1.MessageBarType.severeWarning,\n _a['ms-MessageBar--success ' + styles.rootIsSuccess] = this.props.messageBarType === MessageBar_Props_1.MessageBarType.success,\n _a['ms-MessageBar--warning ' + styles.rootIsWarning] = this.props.messageBarType === MessageBar_Props_1.MessageBarType.warning,\n _a));\n var _a;\n };\n MessageBar.prototype._getDismissDiv = function () {\n if (this.props.onDismiss != null) {\n return (React.createElement(Button_1.IconButton, { disabled: false, className: Utilities_1.css('ms-MessageBar-dismissal', styles.dismissal), onClick: this.props.onDismiss, iconProps: { iconName: 'Cancel' }, ariaLabel: this.props.dismissButtonAriaLabel }));\n }\n return null;\n };\n MessageBar.prototype._getIconSpan = function () {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-icon', styles.icon) },\n React.createElement(Icon_1.Icon, { iconName: this.ICON_MAP[this.props.messageBarType] })));\n };\n MessageBar.prototype._getInnerTextClassName = function () {\n return this.props.onDismiss || this.props.actions ?\n 'ms-MessageBar-innerTextPadding ' + styles.innerTextPadding : 'ms-MessageBar-innerText ' + styles.innerText;\n };\n MessageBar.prototype._renderMultiLine = function () {\n return (React.createElement(\"div\", { className: this._getClassName() + ' ms-MessageBar-multiline ' + styles.multiline, role: 'status', \"aria-live\": this._getAnnouncementPriority() },\n React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-content', styles.content) },\n this._getIconSpan(),\n React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-actionables', styles.actionables) },\n this._renderInnerText(),\n this._getActionsDiv(),\n this._getDismissDiv()))));\n };\n MessageBar.prototype._renderSingleLine = function () {\n return (React.createElement(\"div\", { className: this._getClassName() + ' ms-MessageBar-singleline ' + styles.singleline },\n React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-content', styles.content) },\n this._getIconSpan(),\n React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-actionables', styles.actionables) }, this._renderInnerText()),\n this._getActionsDiv(),\n React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-dismissalOneline', styles.dismissalOneline) }, this._getDismissDiv()))));\n };\n MessageBar.prototype._renderInnerText = function () {\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-MessageBar-text', styles.text), id: this.state.labelId },\n React.createElement(\"span\", { className: this._getInnerTextClassName(), role: 'status', \"aria-live\": this._getAnnouncementPriority() },\n React.createElement(Utilities_1.DelayedRender, null,\n React.createElement(\"span\", null, this.props.children)))));\n };\n MessageBar.prototype._getAnnouncementPriority = function () {\n switch (this.props.messageBarType) {\n case MessageBar_Props_1.MessageBarType.blocked:\n case MessageBar_Props_1.MessageBarType.error:\n case MessageBar_Props_1.MessageBarType.severeWarning:\n return 'assertive';\n }\n return 'polite';\n };\n return MessageBar;\n}(Utilities_1.BaseComponent));\nMessageBar.defaultProps = {\n messageBarType: MessageBar_Props_1.MessageBarType.info,\n onDismiss: null,\n isMultiline: true,\n};\nexports.MessageBar = MessageBar;\n\n"
|
|
},
|
|
{
|
|
"id": 309,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.Props.js",
|
|
"index": 309,
|
|
"index2": 303,
|
|
"size": 989,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 307,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MessageBar.Props",
|
|
"loc": "7:9-38"
|
|
},
|
|
{
|
|
"moduleId": 308,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MessageBar.Props",
|
|
"loc": "17:25-54"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar MessageBarType;\n(function (MessageBarType) {\n /** Info styled MessageBar */\n MessageBarType[MessageBarType[\"info\"] = 0] = \"info\";\n /** Error styled MessageBar */\n MessageBarType[MessageBarType[\"error\"] = 1] = \"error\";\n /** Blocked styled MessageBar */\n MessageBarType[MessageBarType[\"blocked\"] = 2] = \"blocked\";\n /** SevereWarning styled MessageBar */\n MessageBarType[MessageBarType[\"severeWarning\"] = 3] = \"severeWarning\";\n /** Success styled MessageBar */\n MessageBarType[MessageBarType[\"success\"] = 4] = \"success\";\n /** Warning styled MessageBar */\n MessageBarType[MessageBarType[\"warning\"] = 5] = \"warning\";\n /**\n * Deprecated at v0.48.0, to be removed at >= v1.0.0. Use 'blocked' instead.\n * @deprecated\n */\n MessageBarType[MessageBarType[\"remove\"] = 90000] = \"remove\";\n})(MessageBarType = exports.MessageBarType || (exports.MessageBarType = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 310,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.scss.js",
|
|
"index": 310,
|
|
"index2": 304,
|
|
"size": 6867,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 308,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MessageBar\\MessageBar.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MessageBar.scss",
|
|
"loc": "18:19-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_56c7fc1c',\n icon: 'icon_56c7fc1c',\n text: 'text_56c7fc1c',\n rootIsWarning: 'rootIsWarning_56c7fc1c',\n rootIsSevereWarning: 'rootIsSevereWarning_56c7fc1c',\n rootIsError: 'rootIsError_56c7fc1c',\n rootIsBlocked: 'rootIsBlocked_56c7fc1c',\n rootIsSuccess: 'rootIsSuccess_56c7fc1c',\n content: 'content_56c7fc1c',\n actionables: 'actionables_56c7fc1c',\n dismissal: 'dismissal_56c7fc1c',\n actions: 'actions_56c7fc1c',\n actionsOneline: 'actionsOneline_56c7fc1c',\n dismissalOneline: 'dismissalOneline_56c7fc1c',\n innerTextPadding: 'innerTextPadding_56c7fc1c',\n innerText: 'innerText_56c7fc1c',\n multiline: 'multiline_56c7fc1c',\n singleline: 'singleline_56c7fc1c',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_56c7fc1c{background-color:\" }, { \"theme\": \"infoBackground\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";color:\" }, { \"theme\": \"infoText\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";width:100%;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.root_56c7fc1c .icon_56c7fc1c{color:\" }, { \"theme\": \"info\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}html[dir=ltr] .root_56c7fc1c .icon_56c7fc1c{padding-right:8px}html[dir=rtl] .root_56c7fc1c .icon_56c7fc1c{padding-left:8px}.root_56c7fc1c .ms-Link{font-size:12px;color:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}html[dir=ltr] .root_56c7fc1c .ms-Button{margin-left:6px}html[dir=rtl] .root_56c7fc1c .ms-Button{margin-right:6px}.icon_56c7fc1c,.text_56c7fc1c{display:table-cell;vertical-align:top}.icon_56c7fc1c{font-size:16px;min-width:16px;min-height:16px;display:-webkit-box;display:-ms-flexbox;display:flex}.text_56c7fc1c{font-size:12px;font-weight:400;min-width:0;display:-webkit-box;display:-ms-flexbox;display:flex}.root_56c7fc1c.rootIsWarning_56c7fc1c{background-color:\" }, { \"theme\": \"warningBackground\", \"defaultValue\": \"#fff4ce\" }, { \"rawString\": \";color:\" }, { \"theme\": \"warningText\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsSevereWarning_56c7fc1c{background-color:\" }, { \"theme\": \"severeWarningBackground\", \"defaultValue\": \"#fed9cc\" }, { \"rawString\": \";color:\" }, { \"theme\": \"severeWarningText\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsSevereWarning_56c7fc1c .icon_56c7fc1c{color:\" }, { \"theme\": \"severeWarning\", \"defaultValue\": \"#d83b01\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsError_56c7fc1c{background-color:\" }, { \"theme\": \"errorBackground\", \"defaultValue\": \"#fde7e9\" }, { \"rawString\": \";color:\" }, { \"theme\": \"errorText\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsError_56c7fc1c .icon_56c7fc1c{color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsBlocked_56c7fc1c{background-color:\" }, { \"theme\": \"errorBackground\", \"defaultValue\": \"#fde7e9\" }, { \"rawString\": \";color:\" }, { \"theme\": \"errorText\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsBlocked_56c7fc1c .icon_56c7fc1c{color:\" }, { \"theme\": \"error\", \"defaultValue\": \"#a80000\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsSuccess_56c7fc1c{background-color:\" }, { \"theme\": \"successBackground\", \"defaultValue\": \"#dff6dd\" }, { \"rawString\": \";color:\" }, { \"theme\": \"successText\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.root_56c7fc1c.rootIsSuccess_56c7fc1c .icon_56c7fc1c{color:\" }, { \"theme\": \"green\", \"defaultValue\": \"#107c10\" }, { \"rawString\": \"}.content_56c7fc1c{padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;box-sizing:border-box}.content_56c7fc1c:before{pointer-events:none;position:absolute;right:0;bottom:0;left:0;top:0;margin:0}@media screen and (-ms-high-contrast:active){.content_56c7fc1c:before{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";content:' '}}@media screen and (-ms-high-contrast:black-on-white){.content_56c7fc1c:before{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";content:' '}}.actionables_56c7fc1c{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;min-width:0}.actionables_56c7fc1c>.dismissal_56c7fc1c{right:0;top:0;position:absolute!important}.actionsOneline_56c7fc1c,.actions_56c7fc1c{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.actionsOneline_56c7fc1c{position:relative}.dismissal_56c7fc1c{min-width:0}.dismissal_56c7fc1c::-moz-focus-inner{border:0}.dismissal_56c7fc1c{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .dismissal_56c7fc1c:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}[dir=ltr] .dismissalOneline_56c7fc1c .dismissal_56c7fc1c{margin-right:-8px}[dir=rtl] .dismissalOneline_56c7fc1c .dismissal_56c7fc1c{margin-left:-8px}.root_56c7fc1c+.root_56c7fc1c{margin-top:6px}html[dir=ltr] .innerTextPadding_56c7fc1c{padding-right:24px}html[dir=rtl] .innerTextPadding_56c7fc1c{padding-left:24px}html[dir=ltr] .innerTextPadding_56c7fc1c .innerText_56c7fc1c>span,html[dir=ltr] .innerTextPadding_56c7fc1c span{padding-right:4px}html[dir=rtl] .innerTextPadding_56c7fc1c .innerText_56c7fc1c>span,html[dir=rtl] .innerTextPadding_56c7fc1c span{padding-left:4px}.multiline_56c7fc1c>.content_56c7fc1c>.actionables_56c7fc1c{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.singleline_56c7fc1c .content_56c7fc1c .icon_56c7fc1c{-webkit-box-align:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center}.singleline_56c7fc1c .content_56c7fc1c .actionables_56c7fc1c>.text_56c7fc1c{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center}.singleline_56c7fc1c .content_56c7fc1c .actionables_56c7fc1c>.text_56c7fc1c .innerTextPadding_56c7fc1c,.singleline_56c7fc1c .content_56c7fc1c .actionables_56c7fc1c>.text_56c7fc1c .innerText_56c7fc1c{max-height:1.3em;line-height:1.3em;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.singleline_56c7fc1c .content_56c7fc1c>.actionables_56c7fc1c{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.root_56c7fc1c .ms-Icon--Cancel{font-size:14px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 311,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MarqueeSelection.js",
|
|
"name": "./~/office-ui-fabric-react/lib/MarqueeSelection.js",
|
|
"index": 311,
|
|
"index2": 310,
|
|
"size": 294,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MarqueeSelection",
|
|
"loc": "36:9-38"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/MarqueeSelection/MarqueeSelection\"));\n__export(require(\"./utilities/selection/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 312,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"index": 312,
|
|
"index2": 309,
|
|
"size": 12295,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MarqueeSelection.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 311,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\MarqueeSelection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/MarqueeSelection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/MarqueeSelection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/MarqueeSelection/MarqueeSelection",
|
|
"loc": "6:9-66"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./MarqueeSelection.scss\");\nvar styles = stylesImport;\n// We want to make the marquee selection start when the user drags a minimum distance. Otherwise we'd start\n// the drag even if they just click an item without moving.\nvar MIN_DRAG_DISTANCE = 5;\n/**\n * MarqueeSelection component abstracts managing a draggable rectangle which sets items selected/not selected.\n * Elements which have data-selectable-index attributes are queried and measured once to determine if they\n * fall within the bounds of the rectangle. The measure is memoized during the drag as a performance optimization\n * so if the items change sizes while dragging, that could cause incorrect results.\n */\nvar MarqueeSelection = (function (_super) {\n __extends(MarqueeSelection, _super);\n function MarqueeSelection(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n dragRect: undefined\n };\n return _this;\n }\n MarqueeSelection.prototype.componentDidMount = function () {\n this._scrollableParent = Utilities_1.findScrollableParent(this.refs.root);\n this._scrollableSurface = this._scrollableParent === window ? document.body : this._scrollableParent;\n // When scroll events come from window, we need to read scrollTop values from the body.\n this._events.on(this.props.isDraggingConstrainedToRoot ? this.refs.root : this._scrollableSurface, 'mousedown', this._onMouseDown);\n };\n MarqueeSelection.prototype.componentWillUnmount = function () {\n if (this._autoScroll) {\n this._autoScroll.dispose();\n }\n };\n MarqueeSelection.prototype.render = function () {\n var _a = this.props, rootProps = _a.rootProps, children = _a.children;\n var dragRect = this.state.dragRect;\n return (React.createElement(\"div\", __assign({}, rootProps, { className: Utilities_1.css('ms-MarqueeSelection', styles.root, rootProps.className), ref: 'root' }),\n children,\n dragRect && (React.createElement(\"div\", { className: Utilities_1.css('ms-MarqueeSelection-dragMask', styles.dragMask) })),\n dragRect && (React.createElement(\"div\", { className: Utilities_1.css('ms-MarqueeSelection-box', styles.box), style: dragRect },\n React.createElement(\"div\", { className: Utilities_1.css('ms-MarqueeSelection-boxFill', styles.boxFill) })))));\n };\n /** Determine if the mouse event occured on a scrollbar of the target element. */\n MarqueeSelection.prototype._isMouseEventOnScrollbar = function (ev) {\n var targetElement = ev.target;\n var targetScrollbarWidth = (targetElement.offsetWidth - targetElement.clientWidth);\n if (targetScrollbarWidth) {\n var targetRect = targetElement.getBoundingClientRect();\n // Check vertical scroll\n if (Utilities_1.getRTL()) {\n if (ev.clientX < (targetRect.left + targetScrollbarWidth)) {\n return true;\n }\n }\n else {\n if (ev.clientX > (targetRect.left + targetElement.clientWidth)) {\n return true;\n }\n }\n // Check horizontal scroll\n if (ev.clientY > (targetRect.top + targetElement.clientHeight)) {\n return true;\n }\n }\n return false;\n };\n MarqueeSelection.prototype._onMouseDown = function (ev) {\n var _a = this.props, isEnabled = _a.isEnabled, onShouldStartSelection = _a.onShouldStartSelection;\n // Ensure the mousedown is within the boundaries of the target. If not, it may have been a click on a scrollbar.\n if (this._isMouseEventOnScrollbar(ev)) {\n return;\n }\n if (isEnabled && !this._isDragStartInSelection(ev) && (!onShouldStartSelection || onShouldStartSelection(ev))) {\n if (this._scrollableSurface && ev.button === 0) {\n this._selectedIndicies = {};\n this._events.on(window, 'mousemove', this._onMouseMove);\n this._events.on(this._scrollableParent, 'scroll', this._onMouseMove);\n this._events.on(window, 'click', this._onMouseUp, true);\n this._autoScroll = new Utilities_1.AutoScroll(this.refs.root);\n this._scrollTop = this._scrollableSurface.scrollTop;\n this._rootRect = this.refs.root.getBoundingClientRect();\n }\n }\n };\n MarqueeSelection.prototype._getRootRect = function () {\n return {\n left: this._rootRect.left,\n top: this._rootRect.top + (this._scrollTop - this._scrollableSurface.scrollTop),\n width: this._rootRect.width,\n height: this._rootRect.height\n };\n };\n MarqueeSelection.prototype._onMouseMove = function (ev) {\n if (ev.clientX !== undefined) {\n this._lastMouseEvent = ev;\n }\n var rootRect = this._getRootRect();\n var currentPoint = { x: ev.clientX - rootRect.left, y: ev.clientY - rootRect.top };\n if (!this._dragOrigin) {\n this._dragOrigin = currentPoint;\n }\n if (ev.buttons !== undefined && ev.buttons === 0) {\n this._onMouseUp(ev);\n }\n else {\n if (this.state.dragRect || Utilities_1.getDistanceBetweenPoints(this._dragOrigin, currentPoint) > MIN_DRAG_DISTANCE) {\n // We need to constrain the current point to the rootRect boundaries.\n var constrainedPoint = this.props.isDraggingConstrainedToRoot ? {\n x: Math.max(0, Math.min(rootRect.width, this._lastMouseEvent.clientX - rootRect.left)),\n y: Math.max(0, Math.min(rootRect.height, this._lastMouseEvent.clientY - rootRect.top))\n } : {\n x: this._lastMouseEvent.clientX - rootRect.left,\n y: this._lastMouseEvent.clientY - rootRect.top\n };\n var dragRect = {\n left: Math.min(this._dragOrigin.x, constrainedPoint.x),\n top: Math.min(this._dragOrigin.y, constrainedPoint.y),\n width: Math.abs(constrainedPoint.x - this._dragOrigin.x),\n height: Math.abs(constrainedPoint.y - this._dragOrigin.y)\n };\n this.setState({ dragRect: dragRect });\n this._evaluateSelection(dragRect);\n }\n }\n ev.stopPropagation();\n ev.preventDefault();\n return false;\n };\n MarqueeSelection.prototype._onMouseUp = function (ev) {\n this._events.off(window);\n this._events.off(this._scrollableParent, 'scroll');\n this._autoScroll.dispose();\n this._autoScroll = this._dragOrigin = this._lastMouseEvent = this._selectedIndicies = this._itemRectCache = undefined;\n if (this.state.dragRect) {\n this.setState({\n dragRect: undefined\n });\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n MarqueeSelection.prototype._isPointInRectangle = function (rectangle, point) {\n return rectangle.top < point.y &&\n rectangle.bottom > point.y &&\n rectangle.left < point.x &&\n rectangle.right > point.x;\n };\n /**\n * We do not want to start the marquee if we're trying to marquee\n * from within an existing marquee selection.\n */\n MarqueeSelection.prototype._isDragStartInSelection = function (ev) {\n var selection = this.props.selection;\n if (selection && selection.getSelectedCount() === 0) {\n return false;\n }\n var allElements = this.refs.root.querySelectorAll('[data-selection-index]');\n for (var i = 0; i < allElements.length; i++) {\n var element = allElements[i];\n var index = Number(element.getAttribute('data-selection-index'));\n if (selection.isIndexSelected(index)) {\n var itemRect = element.getBoundingClientRect();\n if (this._isPointInRectangle(itemRect, { x: ev.x, y: ev.y })) {\n return true;\n }\n }\n }\n return false;\n };\n MarqueeSelection.prototype._evaluateSelection = function (dragRect) {\n // Break early if we don't need to evaluate.\n if (!dragRect) {\n return;\n }\n var selection = this.props.selection;\n var rootRect = this._getRootRect();\n var allElements = this.refs.root.querySelectorAll('[data-selection-index]');\n if (!this._itemRectCache) {\n this._itemRectCache = {};\n }\n // Stop change events, clear selection to re-populate.\n selection.setChangeEvents(false);\n selection.setAllSelected(false);\n for (var i = 0; i < allElements.length; i++) {\n var element = allElements[i];\n var index = element.getAttribute('data-selection-index');\n // Pull the memoized rectangle for the item, or the get the rect and memoize.\n var itemRect = this._itemRectCache[index];\n if (!itemRect) {\n itemRect = element.getBoundingClientRect();\n // Normalize the item rect to the dragRect coordinates.\n itemRect = {\n left: itemRect.left - rootRect.left,\n top: itemRect.top - rootRect.top,\n width: itemRect.width,\n height: itemRect.height,\n right: (itemRect.left - rootRect.left) + itemRect.width,\n bottom: (itemRect.top - rootRect.top) + itemRect.height\n };\n if (itemRect.width > 0 && itemRect.height > 0) {\n this._itemRectCache[index] = itemRect;\n }\n }\n if (itemRect.top < (dragRect.top + dragRect.height) &&\n itemRect.bottom > dragRect.top &&\n itemRect.left < (dragRect.left + dragRect.width) &&\n itemRect.right > dragRect.left) {\n this._selectedIndicies[index] = true;\n }\n else {\n delete this._selectedIndicies[index];\n }\n }\n for (var index in this._selectedIndicies) {\n if (this._selectedIndicies.hasOwnProperty(index)) {\n selection.setIndexSelected(Number(index), true, false);\n }\n }\n selection.setChangeEvents(true);\n };\n return MarqueeSelection;\n}(Utilities_1.BaseComponent));\nMarqueeSelection.defaultProps = {\n rootTagName: 'div',\n rootProps: {},\n isEnabled: true\n};\n__decorate([\n Utilities_1.autobind\n], MarqueeSelection.prototype, \"_onMouseDown\", null);\nexports.MarqueeSelection = MarqueeSelection;\n\n"
|
|
},
|
|
{
|
|
"id": 313,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.scss.js",
|
|
"index": 313,
|
|
"index2": 308,
|
|
"size": 850,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 312,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\MarqueeSelection\\MarqueeSelection.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/MarqueeSelection/MarqueeSelection.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MarqueeSelection.scss",
|
|
"loc": "29:19-53"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_65d2317c',\n dragMask: 'dragMask_65d2317c',\n box: 'box_65d2317c',\n boxFill: 'boxFill_65d2317c',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_65d2317c{position:relative;cursor:default}.dragMask_65d2317c{position:absolute;background:rgba(255,0,0,0);left:0;top:0;right:0;bottom:0}.box_65d2317c{position:absolute;box-sizing:border-box;border:1px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";pointer-events:none}.boxFill_65d2317c{position:absolute;box-sizing:border-box;background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";opacity:.1;left:0;top:0;right:0;bottom:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 314,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Nav.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Nav.js",
|
|
"index": 314,
|
|
"index2": 314,
|
|
"size": 220,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Nav",
|
|
"loc": "37:9-25"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Nav/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 315,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Nav/index.js",
|
|
"index": 315,
|
|
"index2": 313,
|
|
"size": 203,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Nav.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 314,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Nav/index",
|
|
"loc": "6:9-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Nav\"));\n\n"
|
|
},
|
|
{
|
|
"id": 316,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"index": 316,
|
|
"index2": 312,
|
|
"size": 10593,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 315,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Nav",
|
|
"loc": "6:9-25"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar Button_1 = require(\"../../Button\");\nvar Icon_1 = require(\"../../Icon\");\nvar stylesImport = require(\"./Nav.scss\");\nvar styles = stylesImport;\nvar Styling_1 = require(\"../../Styling\");\n// The number pixels per indentation level for Nav links.\nvar _indentationSize = 14;\n// Tne number of pixels of left margin when there is expand/collaps button\nvar _indentWithExpandButton = 28;\n// Tne number of pixels of left margin when there is expand/collaps button\nvar _indentNoExpandButton = 20;\n// global var used in _isLinkSelectedKey\nvar _urlResolver;\nvar Nav = (function (_super) {\n __extends(Nav, _super);\n function Nav(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isGroupCollapsed: {},\n isLinkExpandStateChanged: false,\n selectedKey: props.initialSelectedKey || props.selectedKey,\n };\n _this._hasExpandButton = false;\n return _this;\n }\n Nav.prototype.render = function () {\n var _this = this;\n var _a = this.props, groups = _a.groups, className = _a.className, isOnTop = _a.isOnTop;\n if (!groups) {\n return null;\n }\n // when this.props.groups[x].name is specified or Any of the link has child link, chevorn Expand/collaps button is shown,\n // different padding is needed. _hasExpandButton marks this condition.\n this._hasExpandButton = groups.some(function (group, groupIndex) {\n return !!group && !!group.name || group.links && group.links.some(function (link, linkIndex) {\n return !!link && !!link.links && link.links.length > 0;\n });\n });\n var groupElements = groups.map(function (group, groupIndex) { return _this._renderGroup(group, groupIndex); });\n return (React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.vertical },\n React.createElement(\"nav\", { role: 'navigation', className: Utilities_1.css('ms-Nav', styles.root, className, isOnTop && Utilities_1.css('is-onTop', styles.rootIsOnTop, Styling_1.AnimationClassNames.slideRightIn40)) }, groupElements)));\n };\n Object.defineProperty(Nav.prototype, \"selectedKey\", {\n get: function () {\n return this.state.selectedKey;\n },\n enumerable: true,\n configurable: true\n });\n Nav.prototype._renderAnchorLink = function (link, linkIndex, nestingLevel) {\n // Determine the appropriate padding to add before this link.\n // In RTL, the \"before\" padding will go on the right instead of the left.\n var isRtl = Utilities_1.getRTL();\n var paddingBefore = (_indentationSize * nestingLevel +\n (this._hasExpandButton ? _indentWithExpandButton : _indentNoExpandButton)).toString(10) + 'px';\n return (React.createElement(\"a\", { className: Utilities_1.css('ms-Nav-link', styles.link), style: (_a = {}, _a[isRtl ? 'paddingRight' : 'paddingLeft'] = paddingBefore, _a), href: link.url || 'javascript:', onClick: this._onNavAnchorLinkClicked.bind(this, link), \"aria-label\": link.ariaLabel, title: link.title || link.name, target: link.target },\n link.iconClassName && (React.createElement(Icon_1.Icon, { className: Utilities_1.css(link.iconClassName, styles.iconLink), iconName: 'iconLink' })),\n this.props.onRenderLink(link)));\n var _a;\n };\n Nav.prototype._renderButtonLink = function (link, linkIndex) {\n return (React.createElement(Button_1.CommandButton, { className: Utilities_1.css('ms-Nav-link ms-Nav-linkButton', styles.link, (_a = {\n 'isOnExpanded': this._hasExpandButton\n },\n _a[styles.linkIsOnExpanded] = this._hasExpandButton,\n _a)), href: link.url, iconProps: { iconName: link.icon }, description: link.title || link.name, onClick: this._onNavButtonLinkClicked.bind(this, link) }, link.name));\n var _a;\n };\n Nav.prototype._renderCompositeLink = function (link, linkIndex, nestingLevel) {\n var isLinkSelected = this._isLinkSelected(link);\n return (React.createElement(\"div\", { key: link.key || linkIndex, className: Utilities_1.css('ms-Nav-compositeLink', styles.compositeLink, (_a = {\n ' is-expanded': link.isExpanded,\n 'is-selected': isLinkSelected\n },\n _a[styles.compositeLinkIsExpanded] = link.isExpanded,\n _a[styles.compositeLinkIsSelected] = isLinkSelected,\n _a)) },\n (nestingLevel === 0 && link.links && link.links.length > 0 ?\n React.createElement(\"button\", { className: Utilities_1.css('ms-Nav-chevronButton ms-Nav-chevronButton--link', styles.chevronButton, styles.chevronButtonLink), onClick: this._onLinkExpandClicked.bind(this, link), \"aria-label\": this.props.expandButtonAriaLabel, \"aria-expanded\": link.isExpanded ? 'true' : 'false' },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Nav-chevron', styles.chevronIcon, link.isExpanded), iconName: 'chevronDown' })) : null),\n !!link.onClick ? this._renderButtonLink(link, linkIndex) : this._renderAnchorLink(link, linkIndex, nestingLevel)));\n var _a;\n };\n Nav.prototype._renderLink = function (link, linkIndex, nestingLevel) {\n return (React.createElement(\"li\", { key: link.key || linkIndex, role: 'listitem', className: Utilities_1.css(styles.navItem) },\n this._renderCompositeLink(link, linkIndex, nestingLevel),\n (link.isExpanded ? this._renderLinks(link.links, ++nestingLevel) : null)));\n };\n Nav.prototype._renderLinks = function (links, nestingLevel) {\n var _this = this;\n if (!links || !links.length) {\n return null;\n }\n var linkElements = links.map(function (link, linkIndex) { return _this._renderLink(link, linkIndex, nestingLevel); });\n return (React.createElement(\"ul\", { role: 'list', \"aria-label\": this.props.ariaLabel, className: Utilities_1.css(styles.navItems) }, linkElements));\n };\n Nav.prototype._renderGroup = function (group, groupIndex) {\n var isGroupExpanded = !this.state.isGroupCollapsed[group.name];\n return (React.createElement(\"div\", { key: groupIndex, className: Utilities_1.css('ms-Nav-group', styles.group, (_a = {\n 'is-expanded': isGroupExpanded\n },\n _a[styles.groupIsExpanded] = isGroupExpanded,\n _a)) },\n (group.name ?\n React.createElement(\"button\", { className: Utilities_1.css('ms-Nav-chevronButton ms-Nav-chevronButton--group ms-Nav-groupHeaderFontSize', styles.chevronButton, styles.chevronButtonIsGroup, styles.groupHeaderFontSize), onClick: this._onGroupHeaderClicked.bind(this, group.name) },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-Nav-chevron', styles.chevronIcon, isGroupExpanded && styles.chevronIsExpanded), iconName: 'chevronDown' }),\n group.name) : null),\n React.createElement(\"div\", { className: Utilities_1.css('ms-Nav-groupContent', Styling_1.AnimationClassNames.slideDownIn20, styles.groupContent) }, this._renderLinks(group.links, 0 /* nestingLevel */))));\n var _a;\n };\n Nav.prototype._onGroupHeaderClicked = function (groupKey, ev) {\n var isGroupCollapsed = this.state.isGroupCollapsed;\n isGroupCollapsed[groupKey] = !isGroupCollapsed[groupKey];\n this.setState({ isGroupCollapsed: isGroupCollapsed });\n ev.preventDefault();\n ev.stopPropagation();\n };\n Nav.prototype._onLinkExpandClicked = function (link, ev) {\n link.isExpanded = !link.isExpanded;\n this.setState({ isLinkExpandStateChanged: true });\n ev.preventDefault();\n ev.stopPropagation();\n };\n Nav.prototype._onNavAnchorLinkClicked = function (link, ev) {\n if (this.props.onLinkClick) {\n this.props.onLinkClick(ev, link);\n }\n this.setState({ selectedKey: link.key });\n };\n Nav.prototype._onNavButtonLinkClicked = function (link, ev) {\n if (link.onClick) {\n link.onClick(ev, link);\n }\n this.setState({ selectedKey: link.key });\n };\n Nav.prototype._isLinkSelected = function (link) {\n // if caller passes in selectedKey, use it as first choice or\n // if current state.selectedKey (from addressbar) is match to the link\n if (this.props.selectedKey !== undefined) {\n return link.key === this.props.selectedKey;\n }\n else if (this.state.selectedKey !== undefined && link.key === this.state.selectedKey) {\n return true;\n }\n // resolve is not supported for ssr\n if (typeof (window) === 'undefined') {\n return false;\n }\n if (!link.url) {\n return false;\n }\n _urlResolver = _urlResolver || document.createElement('a');\n _urlResolver.href = link.url || '';\n var target = _urlResolver.href;\n if (location.href === target) {\n return true;\n }\n if (location.protocol + '//' + location.host + location.pathname === target) {\n return true;\n }\n if (location.hash) {\n // Match the hash to the url.\n if (location.hash === link.url) {\n return true;\n }\n // Match a rebased url. (e.g. #foo becomes http://hostname/foo)\n _urlResolver.href = location.hash.substring(1);\n return _urlResolver.href === target;\n }\n return false;\n };\n return Nav;\n}(Utilities_1.BaseComponent));\nNav.defaultProps = {\n groups: null,\n onRenderLink: function (link) { return (React.createElement(\"span\", { className: Utilities_1.css('ms-Nav-linkText', styles.linkText) }, link.name)); }\n};\nexports.Nav = Nav;\n\n"
|
|
},
|
|
{
|
|
"id": 317,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Nav/Nav.scss.js",
|
|
"index": 317,
|
|
"index2": 311,
|
|
"size": 7917,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 316,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Nav\\Nav.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Nav/Nav.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Nav.scss",
|
|
"loc": "18:19-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_0f532585',\n rootIsOnTop: 'rootIsOnTop_0f532585',\n navItems: 'navItems_0f532585',\n navItem: 'navItem_0f532585',\n groupContent: 'groupContent_0f532585',\n group: 'group_0f532585',\n groupIsExpanded: 'groupIsExpanded_0f532585',\n icon: 'icon_0f532585',\n iconLink: 'iconLink_0f532585',\n chevronButton: 'chevronButton_0f532585',\n chevronButtonIsGroup: 'chevronButtonIsGroup_0f532585',\n chevronIcon: 'chevronIcon_0f532585',\n chevronIsExpanded: 'chevronIsExpanded_0f532585',\n linkText: 'linkText_0f532585',\n compositeLink: 'compositeLink_0f532585',\n chevronButtonLink: 'chevronButtonLink_0f532585',\n compositeLinkIsExpanded: 'compositeLinkIsExpanded_0f532585',\n compositeLinkIsSelected: 'compositeLinkIsSelected_0f532585',\n link: 'link_0f532585',\n groupHeaderFontSize: 'groupHeaderFontSize_0f532585',\n chevronButtonGroup: 'chevronButtonGroup_0f532585',\n linkIsOnExpanded: 'linkIsOnExpanded_0f532585',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_0f532585{overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rootIsOnTop_0f532585{position:absolute}.navItems_0f532585{list-style-type:none}.navItems_0f532585,.navItems_0f532585>.navItem_0f532585{padding:0}.groupContent_0f532585{display:none;margin-bottom:40px}.group_0f532585.groupIsExpanded_0f532585 .groupContent_0f532585{display:block}.icon_0f532585{padding:0;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";transition:-webkit-transform .1s linear;transition:transform .1s linear;transition:transform .1s linear,-webkit-transform .1s linear}[dir=ltr] .iconLink_0f532585{margin-right:4px}[dir=rtl] .iconLink_0f532585{margin-left:4px}.chevronButton_0f532585{display:block;font-weight:400;font-size:12px;line-height:36px;margin:5px 0;padding:0 20px 0 28px;background:0 0;border:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}html[dir=ltr] .chevronButton_0f532585{text-align:left}html[dir=rtl] .chevronButton_0f532585{text-align:right}html[dir=rtl] .chevronButton_0f532585{padding:0 28px 0 20px}.chevronButton_0f532585:visited{color:inherit}.chevronButton_0f532585:hover{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";background:\" }, { \"theme\": \"neutralLighterAlt\", \"defaultValue\": \"#f8f8f8\" }, { \"rawString\": \"}.chevronButton_0f532585.chevronButtonIsGroup_0f532585{width:100%;height:36px;border-bottom:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.chevronIcon_0f532585{position:absolute;height:36px;line-height:36px;font-size:12px;transition:-webkit-transform .1s linear;transition:transform .1s linear;transition:transform .1s linear,-webkit-transform .1s linear}[dir=ltr] .chevronIcon_0f532585{left:8px}[dir=rtl] .chevronIcon_0f532585{right:8px}.chevronIsExpanded_0f532585{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.linkText_0f532585{vertical-align:middle}.compositeLink_0f532585{display:block;position:relative;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.compositeLink_0f532585 .chevronButton_0f532585.chevronButtonLink_0f532585{display:block;width:26px;height:34px;position:absolute;top:1px;z-index:1;padding:0;margin:0}[dir=ltr] .compositeLink_0f532585 .chevronButton_0f532585.chevronButtonLink_0f532585{left:1px}[dir=rtl] .compositeLink_0f532585 .chevronButton_0f532585.chevronButtonLink_0f532585{right:1px}.compositeLink_0f532585 .chevronButton_0f532585.chevronButtonLink_0f532585 .chevronIcon_0f532585{top:0}.compositeLink_0f532585 a{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.compositeLink_0f532585:hover .chevronButton_0f532585,.compositeLink_0f532585:hover a{background:\" }, { \"theme\": \"neutralLighterAlt\", \"defaultValue\": \"#f8f8f8\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.compositeLink_0f532585.compositeLinkIsExpanded_0f532585 .chevronIcon_0f532585{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585,.compositeLink_0f532585.compositeLinkIsSelected_0f532585 a{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,.compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{content:'';position:absolute;top:0;bottom:0}html[dir=ltr] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,html[dir=ltr] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{border-left:2px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}html[dir=rtl] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,html[dir=rtl] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{border-right:2px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}[dir=ltr] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,[dir=ltr] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{right:0}[dir=rtl] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,[dir=rtl] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{left:0}[dir=ltr] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,[dir=ltr] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{left:0}[dir=rtl] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 .chevronButton_0f532585:after,[dir=rtl] .compositeLink_0f532585.compositeLinkIsSelected_0f532585 a:after{right:0}.link_0f532585{display:block;position:relative;height:36px;line-height:36px;text-decoration:none;padding:0 20px;cursor:pointer;text-overflow:ellipsis;text-decoration:none;white-space:nowrap;overflow:hidden}.groupHeaderFontSize_0f532585{font-size:17px;font-weight:300}.chevronButtonGroup_0f532585::-moz-focus-inner,.chevronButtonLink_0f532585::-moz-focus-inner,.chevronButton_0f532585::-moz-focus-inner,.link_0f532585::-moz-focus-inner{border:0}.chevronButtonGroup_0f532585,.chevronButtonLink_0f532585,.chevronButton_0f532585,.link_0f532585{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .chevronButtonGroup_0f532585:focus:after,.ms-Fabric.is-focusVisible .chevronButtonLink_0f532585:focus:after,.ms-Fabric.is-focusVisible .chevronButton_0f532585:focus:after,.ms-Fabric.is-focusVisible .link_0f532585:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}[dir=ltr] .root_0f532585 .link_0f532585{padding-left:20px}[dir=rtl] .root_0f532585 .link_0f532585{padding-right:20px}.root_0f532585 .link_0f532585 .ms-Button-label{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}[dir=ltr] .root_0f532585 .link_0f532585.linkIsOnExpanded_0f532585{padding-left:28px}[dir=rtl] .root_0f532585 .link_0f532585.linkIsOnExpanded_0f532585{padding-right:28px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 318,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Pickers.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Pickers.js",
|
|
"index": 318,
|
|
"index2": 330,
|
|
"size": 224,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pickers",
|
|
"loc": "40:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/pickers/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 319,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"index": 319,
|
|
"index2": 329,
|
|
"size": 498,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Pickers.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 318,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Pickers.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Pickers.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Pickers.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/pickers/index",
|
|
"loc": "6:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Suggestions/Suggestions\"));\n__export(require(\"./Suggestions/SuggestionsController\"));\n__export(require(\"./AutoFill/BaseAutoFill\"));\n__export(require(\"./BasePicker\"));\n__export(require(\"./PeoplePicker/PeoplePicker\"));\n__export(require(\"./TagPicker/TagPicker\"));\n__export(require(\"./TagPicker/TagItem\"));\n\n"
|
|
},
|
|
{
|
|
"id": 320,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"index": 320,
|
|
"index2": 316,
|
|
"size": 7595,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Suggestions/Suggestions",
|
|
"loc": "6:9-45"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Suggestions/Suggestions",
|
|
"loc": "32:20-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar Button_1 = require(\"../../../Button\");\nvar Spinner_1 = require(\"../../../Spinner\");\nvar stylesImport = require(\"./Suggestions.scss\");\nvar styles = stylesImport;\nvar SuggestionsItem = (function (_super) {\n __extends(SuggestionsItem, _super);\n function SuggestionsItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SuggestionsItem.prototype.render = function () {\n var _a = this.props, suggestionModel = _a.suggestionModel, RenderSuggestion = _a.RenderSuggestion, onClick = _a.onClick, className = _a.className, onRemoveItem = _a.onRemoveItem, showRemoveButton = _a.showRemoveButton, id = _a.id;\n var itemProps = Utilities_1.assign({}, suggestionModel.item, { onRemoveItem: onRemoveItem });\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Suggestions-item', styles.suggestionsItem, (_b = {},\n _b['is-suggested ' + styles.suggestionsItemIsSuggested] = suggestionModel.selected,\n _b), className) },\n React.createElement(Button_1.CommandButton, { onClick: onClick, className: Utilities_1.css('ms-Suggestions-itemButton', styles.itemButton) }, RenderSuggestion(suggestionModel.item, this.props)),\n this.props.showRemoveButton ? (React.createElement(Button_1.IconButton, { iconProps: { iconName: 'Cancel' }, title: 'Remove', ariaLabel: 'Remove', onClick: onRemoveItem, className: Utilities_1.css('ms-Suggestions-closeButton', styles.closeButton) })) : (null)));\n var _b;\n };\n return SuggestionsItem;\n}(Utilities_1.BaseComponent));\nexports.SuggestionsItem = SuggestionsItem;\nvar Suggestions = (function (_super) {\n __extends(Suggestions, _super);\n function Suggestions(suggestionsProps) {\n var _this = _super.call(this, suggestionsProps) || this;\n _this.SuggestionsItemOfProperType = SuggestionsItem;\n _this._getMoreResults = _this._getMoreResults.bind(_this);\n return _this;\n }\n Suggestions.prototype.componentDidUpdate = function () {\n this.scrollSelected();\n };\n Suggestions.prototype.render = function () {\n var _a = this.props, suggestionsHeaderText = _a.suggestionsHeaderText, mostRecentlyUsedHeaderText = _a.mostRecentlyUsedHeaderText, searchForMoreText = _a.searchForMoreText, className = _a.className, moreSuggestionsAvailable = _a.moreSuggestionsAvailable, noResultsFoundText = _a.noResultsFoundText, suggestions = _a.suggestions, isLoading = _a.isLoading, isSearching = _a.isSearching, loadingText = _a.loadingText, onRenderNoResultFound = _a.onRenderNoResultFound, searchingText = _a.searchingText, isMostRecentlyUsedVisible = _a.isMostRecentlyUsedVisible, resultsMaximumNumber = _a.resultsMaximumNumber, resultsFooterFull = _a.resultsFooterFull, resultsFooter = _a.resultsFooter, isResultsFooterVisible = _a.isResultsFooterVisible, showRemoveButtons = _a.showRemoveButtons;\n var noResults = function () {\n return noResultsFoundText ?\n React.createElement(\"div\", { className: Utilities_1.css('ms-Suggestions-none', styles.suggestionsNone) }, noResultsFoundText) : null;\n };\n var headerText = isMostRecentlyUsedVisible && mostRecentlyUsedHeaderText ? mostRecentlyUsedHeaderText : null;\n var footerTitle = (suggestions.length >= resultsMaximumNumber) ? resultsFooterFull : resultsFooter;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Suggestions', className ? className : '', styles.root) },\n headerText ?\n (React.createElement(\"div\", { className: Utilities_1.css('ms-Suggestions-title', styles.suggestionsTitle) }, headerText)) : (null),\n isLoading && (React.createElement(Spinner_1.Spinner, { className: Utilities_1.css('ms-Suggestions-spinner', styles.suggestionsSpinner), label: loadingText })),\n (!suggestions || !suggestions.length) && !isLoading ?\n (onRenderNoResultFound ? onRenderNoResultFound(null, noResults) : noResults()) :\n this._renderSuggestions(),\n searchForMoreText && moreSuggestionsAvailable && (React.createElement(Button_1.CommandButton, { componentRef: this._resolveRef('_searchForMoreButton'), className: Utilities_1.css('ms-SearchMore-button', styles.searchMoreButton), iconProps: { iconName: 'Search' }, onClick: this._getMoreResults.bind(this) }, searchForMoreText)),\n isSearching ?\n (React.createElement(Spinner_1.Spinner, { className: Utilities_1.css('ms-Suggestions-spinner', styles.suggestionsSpinner), label: searchingText })) : (null),\n !moreSuggestionsAvailable && !isMostRecentlyUsedVisible && !isSearching ?\n (React.createElement(\"div\", { className: Utilities_1.css('ms-Suggestions-title', styles.suggestionsTitle) }, footerTitle(this.props))) : (null)));\n };\n Suggestions.prototype.focusSearchForMoreButton = function () {\n if (this._searchForMoreButton) {\n this._searchForMoreButton.focus();\n }\n };\n // TODO get the element to scroll into view properly regardless of direction.\n Suggestions.prototype.scrollSelected = function () {\n if (this._selectedElement) {\n this._selectedElement.scrollIntoView(false);\n }\n };\n Suggestions.prototype._renderSuggestions = function () {\n var _this = this;\n var _a = this.props, suggestions = _a.suggestions, onRenderSuggestion = _a.onRenderSuggestion, suggestionsItemClassName = _a.suggestionsItemClassName, resultsMaximumNumber = _a.resultsMaximumNumber, showRemoveButtons = _a.showRemoveButtons;\n var TypedSuggestionsItem = this.SuggestionsItemOfProperType;\n if (resultsMaximumNumber) {\n suggestions = suggestions.slice(0, resultsMaximumNumber);\n }\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Suggestions-container', styles.suggestionsContainer), id: 'suggestion-list', role: 'menu' }, suggestions.map(function (suggestion, index) {\n return React.createElement(\"div\", { ref: _this._resolveRef(suggestion.selected ? '_selectedElement' : ''), key: index, id: 'sug-' + index, role: 'menuitem' },\n React.createElement(TypedSuggestionsItem, { id: 'sug-item' + index, suggestionModel: suggestion, RenderSuggestion: onRenderSuggestion, onClick: function (ev) { _this.props.onSuggestionClick(ev, suggestion.item, index); }, className: suggestionsItemClassName, showRemoveButton: showRemoveButtons, onRemoveItem: function (ev) {\n _this.props.onSuggestionRemove(ev, suggestion.item, index);\n ev.stopPropagation();\n } }));\n })));\n };\n Suggestions.prototype._getMoreResults = function () {\n if (this.props.onGetMoreResults) {\n this.props.onGetMoreResults();\n }\n };\n return Suggestions;\n}(Utilities_1.BaseComponent));\nexports.Suggestions = Suggestions;\n\n"
|
|
},
|
|
{
|
|
"id": 321,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.scss.js",
|
|
"index": 321,
|
|
"index2": 315,
|
|
"size": 4135,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 320,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\Suggestions.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/Suggestions.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Suggestions.scss",
|
|
"loc": "17:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_bc3cce41',\n suggestionsItem: 'suggestionsItem_bc3cce41',\n suggestionsItemIsSuggested: 'suggestionsItemIsSuggested_bc3cce41',\n closeButton: 'closeButton_bc3cce41',\n searchMoreButton: 'searchMoreButton_bc3cce41',\n suggestionsTitle: 'suggestionsTitle_bc3cce41',\n suggestionsContainer: 'suggestionsContainer_bc3cce41',\n suggestionsNone: 'suggestionsNone_bc3cce41',\n suggestionsSpinner: 'suggestionsSpinner_bc3cce41',\n itemButton: 'itemButton_bc3cce41',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_bc3cce41{min-width:260px}.suggestionsItem_bc3cce41{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;box-sizing:border-box;width:100%;position:relative}.suggestionsItem_bc3cce41:hover{background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.suggestionsItem_bc3cce41.suggestionsItemIsSuggested_bc3cce41{background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.suggestionsItem_bc3cce41.suggestionsItemIsSuggested_bc3cce41:hover{background:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.suggestionsItem_bc3cce41.suggestionsItemIsSuggested_bc3cce41 .closeButton_bc3cce41:hover{background:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \";color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.searchMoreButton_bc3cce41{background:0 0;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";height:40px;width:100%}[dir=ltr] .searchMoreButton_bc3cce41{padding-left:8px}[dir=rtl] .searchMoreButton_bc3cce41{padding-right:8px}[dir=ltr] .searchMoreButton_bc3cce41{text-align:left}[dir=rtl] .searchMoreButton_bc3cce41{text-align:right}.searchMoreButton_bc3cce41:hover{background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";cursor:pointer}.searchMoreButton_bc3cce41:active,.searchMoreButton_bc3cce41:focus{background-color:\" }, { \"theme\": \"themeLight\", \"defaultValue\": \"#c7e0f4\" }, { \"rawString\": \"}.searchMoreButton_bc3cce41 .ms-Button-icon{font-size:16px;width:25px}.searchMoreButton_bc3cce41 .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .searchMoreButton_bc3cce41 .ms-Button-label{margin:0 9px 0 4px}.suggestionsTitle_bc3cce41{padding:0 12px;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";font-size:12px;text-transform:uppercase;line-height:40px;border-bottom:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.suggestionsContainer_bc3cce41{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.suggestionsNone_bc3cce41{text-align:center;color:\" }, { \"theme\": \"info\", \"defaultValue\": \"#767676\" }, { \"rawString\": \";font-size:12px;line-height:30px}.suggestionsSpinner_bc3cce41{margin:5px 0;white-space:nowrap;line-height:20px}html[dir=ltr] .suggestionsSpinner_bc3cce41{padding-left:14px}html[dir=rtl] .suggestionsSpinner_bc3cce41{padding-right:14px}html[dir=ltr] .suggestionsSpinner_bc3cce41{text-align:left}html[dir=rtl] .suggestionsSpinner_bc3cce41{text-align:right}.suggestionsSpinner_bc3cce41 .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_bc3cce41 .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_bc3cce41 .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_bc3cce41{height:100%;width:100%;padding:7px 12px}.closeButton_bc3cce41{padding:0 4px;height:auto;width:32px}.closeButton_bc3cce41:hover{background:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 322,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\Suggestions\\SuggestionsController.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/Suggestions/SuggestionsController.js",
|
|
"index": 322,
|
|
"index2": 317,
|
|
"size": 3711,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Suggestions/SuggestionsController",
|
|
"loc": "7:9-55"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Suggestions/SuggestionsController",
|
|
"loc": "33:30-76"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar SuggestionsController = (function () {\n function SuggestionsController() {\n this.suggestions = [];\n this.currentIndex = -1;\n }\n SuggestionsController.prototype.updateSuggestions = function (newSuggestions, selectedIndex) {\n if (newSuggestions && newSuggestions.length > 0) {\n this.suggestions = this._convertSuggestionsToSuggestionItems(newSuggestions);\n this.currentIndex = 0;\n if (selectedIndex !== undefined) {\n this.suggestions[selectedIndex].selected = true;\n this.currentSuggestion = this.suggestions[selectedIndex];\n }\n }\n else {\n this.suggestions = [];\n this.currentIndex = -1;\n this.currentSuggestion = undefined;\n }\n };\n /**\n * Increments the suggestion index and gets the next suggestion in the list.\n */\n SuggestionsController.prototype.nextSuggestion = function () {\n if (this.suggestions && this.suggestions.length) {\n if (this.currentIndex < (this.suggestions.length - 1)) {\n this._setSelectedSuggestion(this.currentIndex + 1);\n return true;\n }\n else if (this.currentIndex === (this.suggestions.length - 1)) {\n this._setSelectedSuggestion(0);\n return true;\n }\n }\n return false;\n };\n /**\n * Decrements the suggestion index and gets the previous suggestion in the list.\n */\n SuggestionsController.prototype.previousSuggestion = function () {\n if (this.suggestions && this.suggestions.length) {\n if (this.currentIndex > 0) {\n this._setSelectedSuggestion(this.currentIndex - 1);\n return true;\n }\n else if (this.currentIndex === 0) {\n this._setSelectedSuggestion(this.suggestions.length - 1);\n return true;\n }\n }\n return false;\n };\n SuggestionsController.prototype.getSuggestions = function () {\n return this.suggestions;\n };\n SuggestionsController.prototype.getCurrentItem = function () {\n return this.currentSuggestion;\n };\n SuggestionsController.prototype.getSuggestionAtIndex = function (index) {\n return this.suggestions[index];\n };\n SuggestionsController.prototype.hasSelectedSuggestion = function () {\n return this.currentSuggestion ? true : false;\n };\n SuggestionsController.prototype.removeSuggestion = function (index) {\n this.suggestions.splice(index, 1);\n };\n SuggestionsController.prototype._convertSuggestionsToSuggestionItems = function (suggestions) {\n var converted = [];\n suggestions.forEach(function (suggestion) { return converted.push({ item: suggestion, selected: false }); });\n return converted;\n };\n SuggestionsController.prototype._setSelectedSuggestion = function (index) {\n if (index > this.suggestions.length - 1 || index < 0) {\n this.currentIndex = 0;\n this.currentSuggestion.selected = false;\n this.currentSuggestion = this.suggestions[0];\n this.currentSuggestion.selected = true;\n }\n else {\n if (this.currentIndex > -1) {\n this.suggestions[this.currentIndex].selected = false;\n }\n this.suggestions[index].selected = true;\n this.currentIndex = index;\n this.currentSuggestion = this.suggestions[index];\n }\n };\n return SuggestionsController;\n}());\nexports.SuggestionsController = SuggestionsController;\n\n"
|
|
},
|
|
{
|
|
"id": 323,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\AutoFill\\BaseAutoFill.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/AutoFill/BaseAutoFill.js",
|
|
"index": 323,
|
|
"index2": 318,
|
|
"size": 8157,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./AutoFill/BaseAutoFill",
|
|
"loc": "8:9-43"
|
|
},
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./AutoFill/BaseAutoFill",
|
|
"loc": "34:21-55"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../../Utilities\");\nvar SELECTION_FORWARD = 'forward';\nvar SELECTION_BACKWARD = 'backward';\nvar BaseAutoFill = (function (_super) {\n __extends(BaseAutoFill, _super);\n function BaseAutoFill(props) {\n var _this = _super.call(this, props) || this;\n _this._autoFillEnabled = true;\n _this._value = '';\n _this.state = {\n displayValue: ''\n };\n return _this;\n }\n Object.defineProperty(BaseAutoFill.prototype, \"cursorLocation\", {\n get: function () {\n if (this._inputElement) {\n var inputElement = this._inputElement;\n if (inputElement.selectionDirection !== SELECTION_FORWARD) {\n return inputElement.selectionEnd;\n }\n else {\n return inputElement.selectionStart;\n }\n }\n else {\n return -1;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseAutoFill.prototype, \"isValueSelected\", {\n get: function () {\n return this.inputElement.selectionStart !== this.inputElement.selectionEnd;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseAutoFill.prototype, \"value\", {\n get: function () {\n return this._value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseAutoFill.prototype, \"selectionStart\", {\n get: function () {\n return this._inputElement ? this._inputElement.selectionStart : -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseAutoFill.prototype, \"selectionEnd\", {\n get: function () {\n return this._inputElement ? this._inputElement.selectionEnd : -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseAutoFill.prototype, \"inputElement\", {\n get: function () {\n return this._inputElement;\n },\n enumerable: true,\n configurable: true\n });\n BaseAutoFill.prototype.componentWillReceiveProps = function (nextProps) {\n if (this._autoFillEnabled && this._doesTextStartWith(nextProps.suggestedDisplayValue, this._value)) {\n this.setState({ displayValue: nextProps.suggestedDisplayValue });\n }\n };\n BaseAutoFill.prototype.componentDidUpdate = function () {\n var value = this._value;\n var suggestedDisplayValue = this.props.suggestedDisplayValue;\n var differenceIndex = 0;\n if (this._autoFillEnabled && value && suggestedDisplayValue && this._doesTextStartWith(suggestedDisplayValue, value)) {\n while (differenceIndex < value.length && value[differenceIndex].toLocaleLowerCase() === suggestedDisplayValue[differenceIndex].toLocaleLowerCase()) {\n differenceIndex++;\n }\n if (differenceIndex > 0) {\n this._inputElement.setSelectionRange(differenceIndex, suggestedDisplayValue.length, SELECTION_BACKWARD);\n }\n }\n };\n BaseAutoFill.prototype.render = function () {\n var displayValue = this.state.displayValue;\n var nativeProps = Utilities_1.getNativeProps(this.props, Utilities_1.inputProperties);\n return React.createElement(\"input\", __assign({}, nativeProps, { ref: this._resolveRef('_inputElement'), value: displayValue, autoCapitalize: 'off', autoComplete: 'off', onChange: this._onChange, onKeyDown: this._onKeyDown, onClick: this._onClick }));\n };\n BaseAutoFill.prototype.focus = function () {\n this._inputElement.focus();\n };\n BaseAutoFill.prototype.clear = function () {\n this._autoFillEnabled = true;\n this._updateValue('');\n this._inputElement.setSelectionRange(0, 0);\n };\n BaseAutoFill.prototype._onClick = function () {\n if (this._value && this._value !== '' && this._autoFillEnabled) {\n this._autoFillEnabled = false;\n }\n };\n BaseAutoFill.prototype._onKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.backspace:\n this._autoFillEnabled = false;\n break;\n case Utilities_1.KeyCodes.left:\n if (this._autoFillEnabled) {\n this._autoFillEnabled = false;\n }\n break;\n case Utilities_1.KeyCodes.right:\n if (this._autoFillEnabled) {\n this._autoFillEnabled = false;\n }\n break;\n default:\n if (!this._autoFillEnabled) {\n if (this.props.enableAutoFillOnKeyPress.indexOf(ev.which) !== -1) {\n this._autoFillEnabled = true;\n }\n }\n break;\n }\n };\n BaseAutoFill.prototype._onChange = function (ev) {\n var value = ev.target.value;\n if (value && ev.target.selectionStart === value.length && !this._autoFillEnabled && value.length > this._value.length) {\n this._autoFillEnabled = true;\n }\n this._updateValue(value);\n };\n BaseAutoFill.prototype._notifyInputChange = function (newValue) {\n if (this.props.onInputValueChange) {\n this.props.onInputValueChange(newValue);\n }\n };\n BaseAutoFill.prototype._updateValue = function (newValue) {\n var _this = this;\n this._value = newValue;\n var displayValue = newValue;\n if (this.props.suggestedDisplayValue &&\n this._doesTextStartWith(this.props.suggestedDisplayValue, displayValue)\n && this._autoFillEnabled) {\n displayValue = this.props.suggestedDisplayValue;\n }\n this.setState({\n displayValue: newValue\n }, function () { return _this._notifyInputChange(newValue); });\n };\n BaseAutoFill.prototype._doesTextStartWith = function (text, startWith) {\n if (!text || !startWith) {\n return false;\n }\n return text.toLocaleLowerCase().indexOf(startWith.toLocaleLowerCase()) === 0;\n };\n return BaseAutoFill;\n}(Utilities_1.BaseComponent));\nBaseAutoFill.defaultProps = {\n enableAutoFillOnKeyPress: [Utilities_1.KeyCodes.down, Utilities_1.KeyCodes.up]\n};\n__decorate([\n Utilities_1.autobind\n], BaseAutoFill.prototype, \"_onClick\", null);\n__decorate([\n Utilities_1.autobind\n], BaseAutoFill.prototype, \"_onKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], BaseAutoFill.prototype, \"_onChange\", null);\nexports.BaseAutoFill = BaseAutoFill;\n\n"
|
|
},
|
|
{
|
|
"id": 324,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"index": 324,
|
|
"index2": 320,
|
|
"size": 22118,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BasePicker",
|
|
"loc": "9:9-32"
|
|
},
|
|
{
|
|
"moduleId": 326,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BasePicker",
|
|
"loc": "24:19-43"
|
|
},
|
|
{
|
|
"moduleId": 331,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../BasePicker",
|
|
"loc": "25:19-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar Callout_1 = require(\"../../Callout\");\nvar index_1 = require(\"../../utilities/selection/index\");\nvar Suggestions_1 = require(\"./Suggestions/Suggestions\");\nvar SuggestionsController_1 = require(\"./Suggestions/SuggestionsController\");\nvar BaseAutoFill_1 = require(\"./AutoFill/BaseAutoFill\");\nvar stylesImport = require(\"./BasePicker.scss\");\nvar styles = stylesImport;\nvar BasePicker = (function (_super) {\n __extends(BasePicker, _super);\n function BasePicker(basePickerProps) {\n var _this = _super.call(this, basePickerProps) || this;\n _this.SuggestionOfProperType = Suggestions_1.Suggestions;\n var items = basePickerProps.defaultSelectedItems || [];\n _this.suggestionStore = new SuggestionsController_1.SuggestionsController();\n _this.selection = new index_1.Selection({ onSelectionChanged: function () { return _this.onSelectionChange(); } });\n _this.selection.setItems(items);\n _this.state = {\n items: items,\n suggestedDisplayValue: '',\n isMostRecentlyUsedVisible: false,\n moreSuggestionsAvailable: false,\n isSearching: false\n };\n return _this;\n }\n Object.defineProperty(BasePicker.prototype, \"items\", {\n get: function () {\n return this.state.items;\n },\n enumerable: true,\n configurable: true\n });\n BasePicker.prototype.componentWillUpdate = function (newProps, newState) {\n if (newState.items && newState.items !== this.state.items) {\n this.selection.setItems(newState.items);\n }\n };\n BasePicker.prototype.componentDidMount = function () {\n this.selection.setItems(this.state.items);\n };\n BasePicker.prototype.focus = function () {\n this.focusZone.focus();\n };\n BasePicker.prototype.dismissSuggestions = function () {\n this.setState({ suggestionsVisible: false });\n };\n BasePicker.prototype.completeSuggestion = function () {\n if (this.suggestionStore.hasSelectedSuggestion()) {\n this.addItem(this.suggestionStore.currentSuggestion.item);\n this.updateValue('');\n this.input.clear();\n }\n };\n BasePicker.prototype.render = function () {\n var suggestedDisplayValue = this.state.suggestedDisplayValue;\n var _a = this.props, className = _a.className, inputProps = _a.inputProps, disabled = _a.disabled;\n return (React.createElement(\"div\", { ref: this._resolveRef('root'), className: Utilities_1.css('ms-BasePicker', className ? className : ''), onKeyDown: this.onKeyDown },\n React.createElement(FocusZone_1.FocusZone, { ref: this._resolveRef('focusZone'), direction: FocusZone_1.FocusZoneDirection.horizontal },\n React.createElement(index_1.SelectionZone, { selection: this.selection, selectionMode: index_1.SelectionMode.multiple },\n React.createElement(\"div\", { className: Utilities_1.css('ms-BasePicker-text', styles.pickerText) },\n this.renderItems(),\n React.createElement(BaseAutoFill_1.BaseAutoFill, __assign({}, inputProps, { className: Utilities_1.css('ms-BasePicker-input', styles.pickerInput), ref: this._resolveRef('input'), onFocus: this.onInputFocus, onInputValueChange: this.onInputChange, suggestedDisplayValue: suggestedDisplayValue, \"aria-activedescendant\": 'sug-' + this.suggestionStore.currentIndex, \"aria-owns\": 'suggestion-list', \"aria-expanded\": 'true', \"aria-haspopup\": 'true', autoCapitalize: 'off', autoComplete: 'off', role: 'combobox', disabled: disabled }))))),\n this.renderSuggestions()));\n };\n BasePicker.prototype.renderSuggestions = function () {\n var TypedSuggestion = this.SuggestionOfProperType;\n return this.state.suggestionsVisible ? (React.createElement(Callout_1.Callout, { isBeakVisible: false, gapSpace: 0, targetElement: this.input.inputElement, onDismiss: this.dismissSuggestions, directionalHint: Utilities_1.getRTL() ? Callout_1.DirectionalHint.bottomRightEdge : Callout_1.DirectionalHint.bottomLeftEdge },\n React.createElement(TypedSuggestion, __assign({ onRenderSuggestion: this.props.onRenderSuggestionsItem, onSuggestionClick: this.onSuggestionClick, onSuggestionRemove: this.onSuggestionRemove, suggestions: this.suggestionStore.getSuggestions(), ref: this._resolveRef('suggestionElement'), onGetMoreResults: this.onGetMoreResults, moreSuggestionsAvailable: this.state.moreSuggestionsAvailable, isLoading: this.state.suggestionsLoading, isSearching: this.state.isSearching, isMostRecentlyUsedVisible: this.state.isMostRecentlyUsedVisible, isResultsFooterVisible: this.state.isResultsFooterVisible }, this.props.pickerSuggestionsProps)))) : (null);\n };\n BasePicker.prototype.renderItems = function () {\n var _this = this;\n var onRenderItem = this.props.onRenderItem;\n var items = this.state.items;\n return items.map(function (item, index) { return onRenderItem({\n item: item,\n index: index,\n key: index + _this._getTextFromItem(item),\n selected: _this.selection.isIndexSelected(index),\n onRemoveItem: function () { return _this.removeItem(item); },\n onItemChange: _this.onItemChange\n }); });\n };\n BasePicker.prototype.resetFocus = function (index) {\n var items = this.state.items;\n if (items.length) {\n var newEl = this.root.querySelectorAll('[data-selection-index]')[Math.min(index, items.length - 1)];\n if (newEl) {\n this.focusZone.focusElement(newEl);\n }\n }\n else {\n this.input.focus();\n }\n };\n BasePicker.prototype.onSuggestionSelect = function () {\n if (this.suggestionStore.currentSuggestion) {\n var currentValue = this.input.value;\n var itemValue = this._getTextFromItem(this.suggestionStore.currentSuggestion.item, currentValue);\n this.setState({ suggestedDisplayValue: itemValue });\n }\n };\n BasePicker.prototype.onSelectionChange = function () {\n this.forceUpdate();\n };\n BasePicker.prototype.updateSuggestions = function (suggestions) {\n this.suggestionStore.updateSuggestions(suggestions, 0);\n this.forceUpdate();\n };\n BasePicker.prototype.onEmptyInputFocus = function () {\n var suggestions = this.props.onEmptyInputFocus(this.state.items);\n this.updateSuggestionsList(suggestions);\n };\n BasePicker.prototype.updateValue = function (updatedValue) {\n var suggestions = this.props.onResolveSuggestions(updatedValue, this.state.items);\n this.updateSuggestionsList(suggestions, updatedValue);\n };\n BasePicker.prototype.updateSuggestionsList = function (suggestions, updatedValue) {\n var _this = this;\n var suggestionsArray = suggestions;\n var suggestionsPromiseLike = suggestions;\n // Check to see if the returned value is an array, if it is then just pass it into the next function.\n // If the returned value is not an array then check to see if it's a promise or PromiseLike. If it is then resolve it asynchronously.\n if (Array.isArray(suggestionsArray)) {\n if (updatedValue !== undefined) {\n this.resolveNewValue(updatedValue, suggestionsArray);\n }\n else {\n this.suggestionStore.updateSuggestions(suggestionsArray);\n }\n }\n else if (suggestionsPromiseLike && suggestionsPromiseLike.then) {\n if (!this.loadingTimer) {\n this.loadingTimer = this._async.setTimeout(function () { return _this.setState({\n suggestionsLoading: true\n }); }, 500);\n }\n // Clear suggestions\n this.suggestionStore.updateSuggestions([]);\n if (updatedValue !== undefined) {\n this.setState({\n suggestionsVisible: this.input.value !== '' && this.input.inputElement === document.activeElement\n });\n }\n else {\n this.setState({\n suggestionsVisible: this.input.inputElement === document.activeElement\n });\n }\n // Ensure that the promise will only use the callback if it was the most recent one.\n var promise_1 = this.currentPromise = suggestionsPromiseLike;\n promise_1.then(function (newSuggestions) {\n if (promise_1 === _this.currentPromise) {\n if (updatedValue !== undefined) {\n _this.resolveNewValue(updatedValue, newSuggestions);\n }\n else {\n _this.suggestionStore.updateSuggestions(newSuggestions);\n _this.setState({\n suggestionsLoading: false\n });\n }\n if (_this.loadingTimer) {\n _this._async.clearTimeout(_this.loadingTimer);\n _this.loadingTimer = undefined;\n }\n }\n });\n }\n };\n BasePicker.prototype.resolveNewValue = function (updatedValue, suggestions) {\n this.suggestionStore.updateSuggestions(suggestions, 0);\n var itemValue = undefined;\n if (this.suggestionStore.currentSuggestion) {\n itemValue = this._getTextFromItem(this.suggestionStore.currentSuggestion.item, updatedValue);\n }\n this.setState({\n suggestionsLoading: false,\n suggestedDisplayValue: itemValue,\n suggestionsVisible: this.input.value !== '' && this.input.inputElement === document.activeElement\n });\n };\n BasePicker.prototype.onChange = function () {\n if (this.props.onChange) {\n this.props.onChange(this.state.items);\n }\n };\n BasePicker.prototype.onInputChange = function (value) {\n this.updateValue(value);\n this.setState({\n moreSuggestionsAvailable: true,\n isMostRecentlyUsedVisible: false\n });\n };\n BasePicker.prototype.onSuggestionClick = function (ev, item, index) {\n this.addItemByIndex(index);\n };\n BasePicker.prototype.onSuggestionRemove = function (ev, item, index) {\n if (this.props.onRemoveSuggestion) {\n this.props.onRemoveSuggestion(item);\n }\n this.suggestionStore.removeSuggestion(index);\n };\n BasePicker.prototype.onInputFocus = function (ev) {\n this.selection.setAllSelected(false);\n if (this.input.value === '' && this.props.onEmptyInputFocus) {\n this.onEmptyInputFocus();\n this.setState({\n isMostRecentlyUsedVisible: true,\n moreSuggestionsAvailable: false,\n suggestionsVisible: true\n });\n }\n else if (this.input.value) {\n this.setState({\n isMostRecentlyUsedVisible: false,\n suggestionsVisible: true\n });\n }\n };\n BasePicker.prototype.onKeyDown = function (ev) {\n var value = this.input.value;\n switch (ev.which) {\n case Utilities_1.KeyCodes.escape:\n if (this.state.suggestionsVisible) {\n this.dismissSuggestions();\n ev.preventDefault();\n ev.stopPropagation();\n }\n break;\n case Utilities_1.KeyCodes.tab:\n case Utilities_1.KeyCodes.enter:\n if (!ev.shiftKey && this.suggestionStore.hasSelectedSuggestion() && this.state.suggestionsVisible) {\n this.completeSuggestion();\n ev.preventDefault();\n ev.stopPropagation();\n }\n break;\n case Utilities_1.KeyCodes.backspace:\n this.onBackspace(ev);\n break;\n case Utilities_1.KeyCodes.del:\n if (ev.target === this.input.inputElement && this.state.suggestionsVisible && this.suggestionStore.currentIndex !== -1) {\n if (this.props.onRemoveSuggestion) {\n this.props.onRemoveSuggestion(this.suggestionStore.currentSuggestion.item);\n }\n this.suggestionStore.removeSuggestion(this.suggestionStore.currentIndex);\n this.forceUpdate();\n }\n break;\n case Utilities_1.KeyCodes.up:\n if (ev.target === this.input.inputElement && this.suggestionStore.previousSuggestion() && this.state.suggestionsVisible) {\n ev.preventDefault();\n ev.stopPropagation();\n this.onSuggestionSelect();\n }\n break;\n case Utilities_1.KeyCodes.down:\n if (ev.target === this.input.inputElement && this.state.suggestionsVisible) {\n if (this.suggestionStore.nextSuggestion()) {\n ev.preventDefault();\n ev.stopPropagation();\n this.onSuggestionSelect();\n }\n }\n break;\n }\n };\n BasePicker.prototype.onItemChange = function (changedItem, index) {\n var _this = this;\n var items = this.state.items;\n if (index >= 0) {\n var newItems = items;\n newItems[index] = changedItem;\n this.setState({ items: newItems }, function () { return _this.onChange(); });\n }\n };\n BasePicker.prototype.onGetMoreResults = function () {\n var _this = this;\n this.setState({\n isSearching: true\n }, function () {\n if (_this.props.onGetMoreResults) {\n var suggestions = _this.props.onGetMoreResults(_this.input.value, _this.state.items);\n var suggestionsArray = suggestions;\n var suggestionsPromiseLike = suggestions;\n if (Array.isArray(suggestionsArray)) {\n _this.updateSuggestions(suggestionsArray);\n _this.setState({ isSearching: false });\n }\n else if (suggestionsPromiseLike.then) {\n suggestionsPromiseLike.then(function (newSuggestions) {\n _this.updateSuggestions(newSuggestions);\n _this.setState({ isSearching: false });\n });\n }\n }\n else {\n _this.setState({ isSearching: false });\n }\n _this.input.focus();\n _this.setState({\n moreSuggestionsAvailable: false,\n isResultsFooterVisible: true\n });\n });\n };\n BasePicker.prototype.addItemByIndex = function (index) {\n this.addItem(this.suggestionStore.getSuggestionAtIndex(index).item);\n this.input.clear();\n this.updateValue('');\n };\n BasePicker.prototype.addItem = function (item) {\n var _this = this;\n var newItems = this.state.items.concat([item]);\n this.setState({ items: newItems }, function () { return _this.onChange(); });\n };\n BasePicker.prototype.removeItem = function (item) {\n var _this = this;\n var items = this.state.items;\n var index = items.indexOf(item);\n if (index >= 0) {\n var newItems = items.slice(0, index).concat(items.slice(index + 1));\n this.setState({ items: newItems }, function () { return _this.onChange(); });\n }\n };\n BasePicker.prototype.removeItems = function (itemsToRemove) {\n var _this = this;\n var items = this.state.items;\n var newItems = items.filter(function (item) { return itemsToRemove.indexOf(item) === -1; });\n var firstItemToRemove = this.selection.getSelection()[0];\n var index = items.indexOf(firstItemToRemove);\n this.setState({ items: newItems }, function () {\n _this.resetFocus(index);\n _this.onChange();\n });\n };\n // This is protected because we may expect the backspace key to work differently in a different kind of picker.\n // This lets the subclass override it and provide it's own onBackspace. For an example see the BasePickerListBelow\n BasePicker.prototype.onBackspace = function (ev) {\n if (this.state.items.length && !this.input.isValueSelected && this.input.cursorLocation === 0) {\n if (this.selection.getSelectedCount() > 0) {\n this.removeItems(this.selection.getSelection());\n }\n else {\n this.removeItem(this.state.items[this.state.items.length - 1]);\n }\n }\n };\n BasePicker.prototype._getTextFromItem = function (item, currentValue) {\n if (this.props.getTextFromItem) {\n return this.props.getTextFromItem(item, currentValue);\n }\n else {\n return '';\n }\n };\n return BasePicker;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"dismissSuggestions\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onInputChange\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onSuggestionClick\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onSuggestionRemove\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onInputFocus\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onItemChange\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"onGetMoreResults\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"addItemByIndex\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"addItem\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"removeItem\", null);\n__decorate([\n Utilities_1.autobind\n], BasePicker.prototype, \"removeItems\", null);\nexports.BasePicker = BasePicker;\nvar BasePickerListBelow = (function (_super) {\n __extends(BasePickerListBelow, _super);\n function BasePickerListBelow() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n BasePickerListBelow.prototype.render = function () {\n var suggestedDisplayValue = this.state.suggestedDisplayValue;\n var _a = this.props, className = _a.className, inputProps = _a.inputProps, disabled = _a.disabled;\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { ref: this._resolveRef('root'), className: Utilities_1.css('ms-BasePicker', className ? className : ''), onKeyDown: this.onKeyDown },\n React.createElement(index_1.SelectionZone, { selection: this.selection, selectionMode: index_1.SelectionMode.multiple },\n React.createElement(\"div\", { className: Utilities_1.css('ms-BasePicker-text', styles.pickerText) },\n React.createElement(BaseAutoFill_1.BaseAutoFill, __assign({}, inputProps, { className: Utilities_1.css('ms-BasePicker-input', styles.pickerInput), ref: this._resolveRef('input'), onFocus: this.onInputFocus, onInputValueChange: this.onInputChange, suggestedDisplayValue: suggestedDisplayValue, \"aria-activedescendant\": 'sug-' + this.suggestionStore.currentIndex, \"aria-owns\": 'suggestion-list', \"aria-expanded\": 'true', \"aria-haspopup\": 'true', autoCapitalize: 'off', autoComplete: 'off', role: 'combobox', disabled: disabled }))))),\n this.renderSuggestions(),\n React.createElement(FocusZone_1.FocusZone, { ref: this._resolveRef('focusZone'), className: 'ms-BasePicker-selectedItems', isInnerZoneKeystroke: this._isFocusZoneInnerKeystroke }, this.renderItems())));\n };\n BasePickerListBelow.prototype.onBackspace = function (ev) {\n // override the existing backspace method to not do anything because the list items appear below.\n };\n BasePickerListBelow.prototype._isFocusZoneInnerKeystroke = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.down:\n return true;\n }\n return false;\n };\n return BasePickerListBelow;\n}(BasePicker));\n__decorate([\n Utilities_1.autobind\n], BasePickerListBelow.prototype, \"_isFocusZoneInnerKeystroke\", null);\nexports.BasePickerListBelow = BasePickerListBelow;\n\n"
|
|
},
|
|
{
|
|
"id": 325,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.scss.js",
|
|
"index": 325,
|
|
"index2": 319,
|
|
"size": 1001,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 324,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\BasePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/BasePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./BasePicker.scss",
|
|
"loc": "35:19-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n pickerText: 'pickerText_f28c4353',\n inputFocused: 'inputFocused_f28c4353',\n pickerInput: 'pickerInput_f28c4353',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".pickerText_f28c4353{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;box-sizing:border-box;border:1px solid \" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";min-width:180px;padding:1px;min-height:32px}.pickerText_f28c4353:hover{border-color:\" }, { \"theme\": \"themeLight\", \"defaultValue\": \"#c7e0f4\" }, { \"rawString\": \"}.pickerText_f28c4353.inputFocused_f28c4353{border-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.pickerInput_f28c4353{height:26px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 326,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"index": 326,
|
|
"index2": 325,
|
|
"size": 3913,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PeoplePicker/PeoplePicker",
|
|
"loc": "10:9-47"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar React = require(\"react\");\n/* tslint:enable */\nvar BasePicker_1 = require(\"../BasePicker\");\nvar SelectedItemDefault_1 = require(\"./PeoplePickerItems/SelectedItemDefault\");\nvar SuggestionItemDefault_1 = require(\"./PeoplePickerItems/SuggestionItemDefault\");\nrequire(\"./PeoplePicker.scss\");\nvar BasePeoplePicker = (function (_super) {\n __extends(BasePeoplePicker, _super);\n function BasePeoplePicker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return BasePeoplePicker;\n}(BasePicker_1.BasePicker));\nexports.BasePeoplePicker = BasePeoplePicker;\nvar MemberListPeoplePicker = (function (_super) {\n __extends(MemberListPeoplePicker, _super);\n function MemberListPeoplePicker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return MemberListPeoplePicker;\n}(BasePicker_1.BasePickerListBelow));\nexports.MemberListPeoplePicker = MemberListPeoplePicker;\n/**\n * Standard People Picker.\n */\nvar NormalPeoplePicker = (function (_super) {\n __extends(NormalPeoplePicker, _super);\n function NormalPeoplePicker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return NormalPeoplePicker;\n}(BasePeoplePicker));\nNormalPeoplePicker.defaultProps = {\n onRenderItem: function (props) { return React.createElement(SelectedItemDefault_1.SelectedItemDefault, __assign({}, props)); },\n onRenderSuggestionsItem: function (props, itemProps) { return SuggestionItemDefault_1.SuggestionItemNormal(__assign({}, props), __assign({}, itemProps)); }\n};\nexports.NormalPeoplePicker = NormalPeoplePicker;\n/**\n* Compact layout. It uses small personas when displaying search results.\n*/\nvar CompactPeoplePicker = (function (_super) {\n __extends(CompactPeoplePicker, _super);\n function CompactPeoplePicker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return CompactPeoplePicker;\n}(BasePeoplePicker));\nCompactPeoplePicker.defaultProps = {\n onRenderItem: function (props) { return React.createElement(SelectedItemDefault_1.SelectedItemDefault, __assign({}, props)); },\n onRenderSuggestionsItem: function (props, itemProps) { return SuggestionItemDefault_1.SuggestionItemSmall(__assign({}, props), __assign({}, itemProps)); }\n};\nexports.CompactPeoplePicker = CompactPeoplePicker;\n/**\n * MemberList layout. The selected people show up below the search box.\n */\nvar ListPeoplePicker = (function (_super) {\n __extends(ListPeoplePicker, _super);\n function ListPeoplePicker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ListPeoplePicker;\n}(MemberListPeoplePicker));\nListPeoplePicker.defaultProps = {\n onRenderItem: function (props) { return React.createElement(SelectedItemDefault_1.SelectedItemDefault, __assign({}, props)); },\n onRenderSuggestionsItem: function (props, itemProps) { return SuggestionItemDefault_1.SuggestionItemNormal(__assign({}, props), __assign({}, itemProps)); }\n};\nexports.ListPeoplePicker = ListPeoplePicker;\n\n"
|
|
},
|
|
{
|
|
"id": 327,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"index": 327,
|
|
"index2": 322,
|
|
"size": 1805,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 326,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PeoplePickerItems/SelectedItemDefault",
|
|
"loc": "25:28-78"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar React = require(\"react\");\n/* tslint:enable */\nvar Utilities_1 = require(\"../../../../Utilities\");\nvar Persona_1 = require(\"../../../../Persona\");\nvar Button_1 = require(\"../../../../Button\");\nvar stylesImport = require(\"./PickerItemsDefault.scss\");\nvar styles = stylesImport;\nexports.SelectedItemDefault = function (peoplePickerItemProps) {\n var item = peoplePickerItemProps.item, onRemoveItem = peoplePickerItemProps.onRemoveItem, index = peoplePickerItemProps.index, selected = peoplePickerItemProps.selected;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-PickerPersona-container', styles.personaContainer, (_a = {},\n _a['is-selected ' + styles.personaContainerIsSelected] = selected,\n _a)), \"data-is-focusable\": true, \"data-selection-index\": index },\n React.createElement(\"div\", { className: Utilities_1.css('ms-PickerItem-content', styles.itemContent) },\n React.createElement(Persona_1.Persona, __assign({}, item, { presence: item.presence !== undefined ? item.presence : Persona_1.PersonaPresence.none, size: Persona_1.PersonaSize.size28 }))),\n React.createElement(Button_1.IconButton, { onClick: function () { if (onRemoveItem) {\n onRemoveItem();\n } }, iconProps: { iconName: 'Cancel' }, className: Utilities_1.css('ms-PickerItem-removeButton', styles.removeButton), \"data-is-focusable\": false })));\n var _a;\n};\n\n"
|
|
},
|
|
{
|
|
"id": 328,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\PickerItemsDefault.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/PickerItemsDefault.scss.js",
|
|
"index": 328,
|
|
"index2": 321,
|
|
"size": 3030,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 327,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SelectedItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SelectedItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PickerItemsDefault.scss",
|
|
"loc": "17:19-55"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n personaContainer: 'personaContainer_96a1c5bb',\n removeButton: 'removeButton_96a1c5bb',\n personaContainerIsSelected: 'personaContainerIsSelected_96a1c5bb',\n itemContent: 'itemContent_96a1c5bb',\n personaDetails: 'personaDetails_96a1c5bb',\n itemContainer: 'itemContainer_96a1c5bb',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".personaContainer_96a1c5bb{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";margin:1px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:180px}.personaContainer_96a1c5bb::-moz-focus-inner{border:0}.personaContainer_96a1c5bb{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .personaContainer_96a1c5bb:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.personaContainer_96a1c5bb:hover{background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.personaContainer_96a1c5bb:hover .removeButton_96a1c5bb{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \"}.personaContainer_96a1c5bb.personaContainerIsSelected_96a1c5bb{background:\" }, { \"theme\": \"blue\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.personaContainer_96a1c5bb.personaContainerIsSelected_96a1c5bb .ms-Persona-primaryText{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.personaContainer_96a1c5bb.personaContainerIsSelected_96a1c5bb .removeButton_96a1c5bb .ms-Button-icon{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.personaContainer_96a1c5bb.personaContainerIsSelected_96a1c5bb .removeButton_96a1c5bb:hover{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";background:\" }, { \"theme\": \"themeDark\", \"defaultValue\": \"#005a9e\" }, { \"rawString\": \"}.personaContainer_96a1c5bb .itemContent_96a1c5bb{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%;overflow-x:hidden}.personaContainer_96a1c5bb .removeButton_96a1c5bb{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:28px;height:28px;-ms-flex-preferred-size:28px;flex-basis:28px}.personaContainer_96a1c5bb .removeButton_96a1c5bb:hover{background:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \";color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.personaContainer_96a1c5bb .personaDetails_96a1c5bb{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_96a1c5bb{display:inline-block;vertical-align:top}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 329,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SuggestionItemDefault.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"index": 329,
|
|
"index2": 324,
|
|
"size": 1950,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 326,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PeoplePickerItems/SuggestionItemDefault",
|
|
"loc": "26:30-82"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar React = require(\"react\");\n/* tslint:enable */\nvar Utilities_1 = require(\"../../../../Utilities\");\nvar Persona_1 = require(\"../../../../Persona\");\nvar stylesImport = require(\"../PeoplePicker.scss\");\nvar styles = stylesImport;\nexports.SuggestionItemNormal = function (personaProps, suggestionItemProps) {\n var onRemoveItem = suggestionItemProps.onRemoveItem, onClick = suggestionItemProps.onClick, showRemoveButton = suggestionItemProps.showRemoveButton;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-PeoplePicker-personaContent', styles.peoplePickerPersonaContent) },\n React.createElement(Persona_1.Persona, __assign({}, personaProps, { presence: personaProps.presence !== undefined ? personaProps.presence : Persona_1.PersonaPresence.none, size: Persona_1.PersonaSize.extraExtraSmall, className: Utilities_1.css('ms-PeoplePicker-Persona', styles.peoplePickerPersona), showSecondaryText: true }))));\n};\nexports.SuggestionItemSmall = function (personaProps, suggestionItemProps) {\n var onRemoveItem = suggestionItemProps.onRemoveItem, onClick = suggestionItemProps.onClick;\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-PeoplePicker-personaContent', styles.peoplePickerPersonaContent) },\n React.createElement(Persona_1.Persona, __assign({}, personaProps, { presence: personaProps.presence !== undefined ? personaProps.presence : Persona_1.PersonaPresence.none, size: Persona_1.PersonaSize.extraExtraSmall, className: Utilities_1.css('ms-PeoplePicker-Persona', styles.peoplePickerPersona) }))));\n};\n\n"
|
|
},
|
|
{
|
|
"id": 330,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.scss.js",
|
|
"index": 330,
|
|
"index2": 323,
|
|
"size": 1014,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 326,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PeoplePicker.scss",
|
|
"loc": "27:0-30"
|
|
},
|
|
{
|
|
"moduleId": 329,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\PeoplePicker\\PeoplePickerItems\\SuggestionItemDefault.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../PeoplePicker.scss",
|
|
"loc": "16:19-50"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n resultContent: 'resultContent_bee420eb',\n resultItem: 'resultItem_bee420eb',\n peoplePickerPersona: 'peoplePickerPersona_bee420eb',\n peoplePicker: 'peoplePicker_bee420eb',\n peoplePickerPersonaContent: 'peoplePickerPersonaContent_bee420eb',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".resultContent_bee420eb{display:table-row}.resultContent_bee420eb .resultItem_bee420eb{display:table-cell;vertical-align:bottom}.peoplePickerPersona_bee420eb{width:180px}.peoplePickerPersona_bee420eb .ms-Persona-details{width:100%}.peoplePicker_bee420eb .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_bee420eb{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 331,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagPicker.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"index": 331,
|
|
"index2": 328,
|
|
"size": 1758,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TagPicker/TagPicker",
|
|
"loc": "11:9-41"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../../Utilities\");\n/* tslint:enable */\nvar BasePicker_1 = require(\"../BasePicker\");\nvar TagItem_1 = require(\"./TagItem\");\nvar stylesImport = require(\"./TagItem.scss\");\nvar styles = stylesImport;\nvar TagPicker = (function (_super) {\n __extends(TagPicker, _super);\n function TagPicker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return TagPicker;\n}(BasePicker_1.BasePicker));\nTagPicker.defaultProps = {\n onRenderItem: function (props) { return React.createElement(TagItem_1.TagItem, __assign({}, props), props.item.name); },\n onRenderSuggestionsItem: function (props) { return React.createElement(\"div\", { className: Utilities_1.css('ms-TagItem-TextOverflow', styles.tagItemTextOverflow) },\n \" \",\n props.name,\n \" \"); }\n};\nexports.TagPicker = TagPicker;\n\n"
|
|
},
|
|
{
|
|
"id": 332,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"index": 332,
|
|
"index2": 327,
|
|
"size": 921,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 319,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TagPicker/TagItem",
|
|
"loc": "12:9-39"
|
|
},
|
|
{
|
|
"moduleId": 331,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TagItem",
|
|
"loc": "26:16-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar React = require(\"react\");\n/* tslint:enable */\nvar Utilities_1 = require(\"../../../Utilities\");\nvar Icon_1 = require(\"../../../Icon\");\nvar stylesImport = require(\"./TagItem.scss\");\nvar styles = stylesImport;\nexports.TagItem = function (props) { return (React.createElement(\"div\", { className: Utilities_1.css('ms-TagItem', styles.root, { 'is-selected': props.selected }, props.selected && styles.isSelected), key: props.index, \"data-selection-index\": props.index, \"data-is-focusable\": true },\n React.createElement(\"span\", { className: Utilities_1.css('ms-TagItem-text', styles.tagItemText) }, props.children),\n React.createElement(\"span\", { className: Utilities_1.css('ms-TagItem-close', styles.tagItemClose), onClick: props.onRemoveItem },\n React.createElement(Icon_1.Icon, { iconName: 'cancel' })))); };\n\n"
|
|
},
|
|
{
|
|
"id": 333,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.scss.js",
|
|
"index": 333,
|
|
"index2": 326,
|
|
"size": 2079,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 331,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagPicker.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TagItem.scss",
|
|
"loc": "27:19-44"
|
|
},
|
|
{
|
|
"moduleId": 332,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\pickers\\TagPicker\\TagItem.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/pickers/TagPicker/TagItem.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TagItem.scss",
|
|
"loc": "8:19-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_df64cf87',\n isSelected: 'isSelected_df64cf87',\n tagItemText: 'tagItemText_df64cf87',\n tagItemClose: 'tagItemClose_df64cf87',\n tagItemButton: 'tagItemButton_df64cf87',\n tagItemTextOverflow: 'tagItemTextOverflow_df64cf87',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_df64cf87{-ms-flex-negative:1;flex-shrink:1;background:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";margin:1px;height:26px;line-height:26px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;min-width:100px;max-width:100%}.root_df64cf87::-moz-focus-inner{border:0}.root_df64cf87{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .root_df64cf87:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.root_df64cf87:hover{background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}.root_df64cf87.isSelected_df64cf87{background:\" }, { \"theme\": \"neutralQuaternary\", \"defaultValue\": \"#d0d0d0\" }, { \"rawString\": \"}.root_df64cf87.isSelected_df64cf87:hover{background:\" }, { \"theme\": \"neutralQuaternaryAlt\", \"defaultValue\": \"#dadada\" }, { \"rawString\": \"}.tagItemText_df64cf87{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:100px;margin:0 8px}.tagItemClose_df64cf87{cursor:pointer;color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";font-size:12px;display:inline-block;text-align:center;vertical-align:top;width:30px;height:100%;-ms-flex-negative:0;flex-shrink:0}.tagItemButton_df64cf87{width:100%;height:100%}.tagItemTextOverflow_df64cf87{overflow:hidden;text-overflow:ellipsis;max-width:60vw}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 334,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Pivot.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Pivot.js",
|
|
"index": 334,
|
|
"index2": 336,
|
|
"size": 222,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pivot",
|
|
"loc": "42:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Pivot/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 335,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"index": 335,
|
|
"index2": 335,
|
|
"size": 326,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Pivot.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 334,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Pivot/index",
|
|
"loc": "6:9-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Pivot\"));\nvar PivotItem_1 = require(\"./PivotItem\");\nexports.PivotItem = PivotItem_1.PivotItem;\n__export(require(\"./Pivot.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 336,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"index": 336,
|
|
"index2": 334,
|
|
"size": 9499,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 335,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pivot",
|
|
"loc": "6:9-27"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Button_1 = require(\"../../Button\");\nvar FocusZone_1 = require(\"../../FocusZone\");\nvar PivotItem_1 = require(\"./PivotItem\");\nvar Pivot_Props_1 = require(\"./Pivot.Props\");\nvar Pivot_Props_2 = require(\"./Pivot.Props\");\nvar Icon_1 = require(\"../../Icon\");\nvar stylesImport = require(\"./Pivot.scss\");\nvar styles = stylesImport;\nvar Pivot = (function (_super) {\n __extends(Pivot, _super);\n function Pivot(props) {\n var _this = _super.call(this, props) || this;\n _this._pivotId = Utilities_1.getId('Pivot');\n var links = _this._getPivotLinks(_this.props);\n var selectedKey;\n if (props.initialSelectedKey) {\n selectedKey = props.initialSelectedKey;\n }\n else if (props.initialSelectedIndex) {\n selectedKey = links[props.initialSelectedIndex].itemKey;\n }\n else if (props.selectedKey) {\n selectedKey = props.selectedKey;\n }\n else if (links.length) {\n selectedKey = links[0].itemKey;\n }\n _this.state = {\n links: links,\n selectedKey: selectedKey,\n selectedTabId: _this._keyToTabIds[selectedKey],\n };\n _this._renderLink = _this._renderLink.bind(_this);\n return _this;\n }\n Pivot.prototype.componentWillReceiveProps = function (nextProps) {\n var _this = this;\n var links = this._getPivotLinks(nextProps);\n this.setState(function (prevState, props) {\n var selectedKey;\n if (_this._isKeyValid(nextProps.selectedKey)) {\n selectedKey = nextProps.selectedKey;\n }\n else if (_this._isKeyValid(prevState.selectedKey)) {\n selectedKey = prevState.selectedKey;\n }\n else if (links.length) {\n selectedKey = links[0].itemKey;\n }\n return {\n links: links,\n selectedKey: selectedKey,\n selectedTabId: _this._keyToTabIds[selectedKey],\n };\n });\n };\n Pivot.prototype.render = function () {\n return (React.createElement(\"div\", null,\n this._renderPivotLinks(),\n this._renderPivotItem()));\n };\n /**\n * Renders the set of links to route between pivots\n */\n Pivot.prototype._renderPivotLinks = function () {\n return (React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.horizontal },\n React.createElement(\"ul\", { className: Utilities_1.css('ms-Pivot', styles.root, (_a = {}, _a['ms-Pivot--large ' + styles.rootIsLarge] = this.props.linkSize === Pivot_Props_2.PivotLinkSize.large, _a), (_b = {}, _b['ms-Pivot--tabs ' + styles.rootIsTabs] = this.props.linkFormat === Pivot_Props_1.PivotLinkFormat.tabs, _b)), role: 'tablist' }, this.state.links.map(this._renderLink))));\n var _a, _b;\n };\n /**\n * Renders a pivot link\n */\n Pivot.prototype._renderLink = function (link) {\n var itemKey = link.itemKey;\n var tabId = this._keyToTabIds[itemKey];\n var onRenderItemLink = link.onRenderItemLink;\n var linkContent;\n if (onRenderItemLink) {\n linkContent = onRenderItemLink(link, this._renderLinkContent);\n }\n else {\n linkContent = this._renderLinkContent(link);\n }\n return (React.createElement(Button_1.CommandButton, { id: tabId, key: itemKey, className: Utilities_1.css('ms-Pivot-link', styles.link, (_a = {},\n _a['is-selected ' + styles.linkIsSelected] = this.state.selectedKey === itemKey,\n _a)), onClick: this._onLinkClick.bind(this, itemKey), onKeyPress: this._onKeyPress.bind(this, itemKey), ariaLabel: link.ariaLabel, role: 'tab', \"aria-selected\": this.state.selectedKey === itemKey }, linkContent));\n var _a;\n };\n Pivot.prototype._renderLinkContent = function (link) {\n var itemCount = link.itemCount, itemIcon = link.itemIcon, linkText = link.linkText;\n return React.createElement(\"span\", { className: Utilities_1.css('ms-Pivot-link-content') },\n itemIcon !== undefined && (React.createElement(\"span\", { className: Utilities_1.css('ms-Pivot-icon', styles.icon) },\n React.createElement(Icon_1.Icon, { iconName: itemIcon }))),\n linkText !== undefined && React.createElement(\"span\", { className: Utilities_1.css('ms-Pivot-text', styles.text) },\n \" \",\n link.linkText),\n itemCount !== undefined && React.createElement(\"span\", { className: Utilities_1.css('ms-Pivot-count', styles.count) },\n \" (\",\n itemCount,\n \")\"));\n };\n /**\n * Renders the current Pivot Item\n */\n Pivot.prototype._renderPivotItem = function () {\n if (this.props.headersOnly) {\n return null;\n }\n var itemKey = this.state.selectedKey;\n var index = this._keyToIndexMapping[itemKey];\n var selectedTabId = this.state.selectedTabId;\n return (React.createElement(\"div\", { role: 'tabpanel', \"aria-labelledby\": selectedTabId }, React.Children.toArray(this.props.children)[index]));\n };\n /**\n * Gets the set of PivotLinks as arrary of IPivotItemProps\n * The set of Links is determined by child components of type PivotItem\n */\n Pivot.prototype._getPivotLinks = function (props) {\n var _this = this;\n var links = [];\n this._keyToIndexMapping = {};\n this._keyToTabIds = {};\n React.Children.map(props.children, function (child, index) {\n if (typeof child === 'object' && child.type === PivotItem_1.PivotItem) {\n var pivotItem = child;\n var itemKey = pivotItem.props.itemKey || index.toString();\n links.push({\n linkText: pivotItem.props.linkText,\n ariaLabel: pivotItem.props.ariaLabel,\n itemKey: itemKey,\n itemCount: pivotItem.props.itemCount,\n itemIcon: pivotItem.props.itemIcon,\n onRenderItemLink: pivotItem.props.onRenderItemLink\n });\n _this._keyToIndexMapping[itemKey] = index;\n _this._keyToTabIds[itemKey] = _this.getTabId(itemKey, index);\n }\n });\n return links;\n };\n /**\n * Generates the Id for the tab button.\n */\n Pivot.prototype.getTabId = function (itemKey, index) {\n if (this.props.getTabId) {\n return this.props.getTabId(itemKey, index);\n }\n return this._pivotId + (\"-Tab\" + index);\n };\n /**\n * whether the key exists in the pivot items.\n */\n Pivot.prototype._isKeyValid = function (itemKey) {\n return itemKey !== undefined && this._keyToIndexMapping[itemKey] !== undefined;\n };\n /**\n * Handles the onClick event on PivotLinks\n */\n Pivot.prototype._onLinkClick = function (itemKey, ev) {\n ev.preventDefault();\n this._updateSelectedItem(itemKey, ev);\n };\n /**\n * Handle the onKeyPress eventon the PivotLinks\n */\n Pivot.prototype._onKeyPress = function (itemKey, ev) {\n ev.preventDefault();\n if (ev.which === Utilities_1.KeyCodes.enter) {\n this._updateSelectedItem(itemKey);\n }\n };\n /**\n * Updates the state with the new selected index\n */\n Pivot.prototype._updateSelectedItem = function (itemKey, ev) {\n this.setState({\n selectedKey: itemKey,\n selectedTabId: this._keyToTabIds[itemKey]\n });\n if (this.props.onLinkClick && this._keyToIndexMapping[itemKey] >= 0) {\n var index = this._keyToIndexMapping[itemKey];\n // React.Element<any> cannot directly convert to PivotItem.\n var item = React.Children.toArray(this.props.children)[index];\n if (typeof item === 'object' && item.type === PivotItem_1.PivotItem) {\n this.props.onLinkClick(item, ev);\n }\n }\n };\n return Pivot;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], Pivot.prototype, \"_renderLink\", null);\n__decorate([\n Utilities_1.autobind\n], Pivot.prototype, \"_renderLinkContent\", null);\nexports.Pivot = Pivot;\n\n"
|
|
},
|
|
{
|
|
"id": 337,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\PivotItem.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Pivot/PivotItem.js",
|
|
"index": 337,
|
|
"index2": 331,
|
|
"size": 1388,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 335,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PivotItem",
|
|
"loc": "7:18-40"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./PivotItem",
|
|
"loc": "23:18-40"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar PivotItem = (function (_super) {\n __extends(PivotItem, _super);\n function PivotItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PivotItem.prototype.render = function () {\n return (React.createElement(\"div\", __assign({}, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties)), this.props.children));\n };\n return PivotItem;\n}(Utilities_1.BaseComponent));\nexports.PivotItem = PivotItem;\n\n"
|
|
},
|
|
{
|
|
"id": 338,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.Props.js",
|
|
"index": 338,
|
|
"index2": 332,
|
|
"size": 789,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 335,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pivot.Props",
|
|
"loc": "9:9-33"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pivot.Props",
|
|
"loc": "24:20-44"
|
|
},
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pivot.Props",
|
|
"loc": "25:20-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PivotLinkFormat;\n(function (PivotLinkFormat) {\n /**\n * Display Pivot Links as links\n */\n PivotLinkFormat[PivotLinkFormat[\"links\"] = 0] = \"links\";\n /**\n * Display Pivot Links as Tabs\n */\n PivotLinkFormat[PivotLinkFormat[\"tabs\"] = 1] = \"tabs\";\n})(PivotLinkFormat = exports.PivotLinkFormat || (exports.PivotLinkFormat = {}));\nvar PivotLinkSize;\n(function (PivotLinkSize) {\n /**\n * Display Link using normal font size\n */\n PivotLinkSize[PivotLinkSize[\"normal\"] = 0] = \"normal\";\n /**\n * Display links using large font size\n */\n PivotLinkSize[PivotLinkSize[\"large\"] = 1] = \"large\";\n})(PivotLinkSize = exports.PivotLinkSize || (exports.PivotLinkSize = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 339,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.scss.js",
|
|
"index": 339,
|
|
"index2": 333,
|
|
"size": 7087,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 336,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Pivot\\Pivot.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Pivot/Pivot.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Pivot.scss",
|
|
"loc": "27:19-42"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_ca2b42d3',\n links: 'links_ca2b42d3',\n link: 'link_ca2b42d3',\n text: 'text_ca2b42d3',\n count: 'count_ca2b42d3',\n icon: 'icon_ca2b42d3',\n linkIsSelected: 'linkIsSelected_ca2b42d3',\n linkIsDisabled: 'linkIsDisabled_ca2b42d3',\n linkIsOverflow: 'linkIsOverflow_ca2b42d3',\n ellipsis: 'ellipsis_ca2b42d3',\n rootIsLarge: 'rootIsLarge_ca2b42d3',\n rootIsTabs: 'rootIsTabs_ca2b42d3',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_ca2b42d3{box-sizing:border-box;box-shadow:none;margin:0;padding:0;font-size:14px;font-weight:400;position:relative;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";white-space:nowrap}.links_ca2b42d3{font-size:0;height:40px;list-style-type:none;padding:0;white-space:nowrap}.root_ca2b42d3 .link_ca2b42d3{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";display:inline-block;font-size:14px;font-weight:400;line-height:40px;padding:0 8px;text-align:center;position:relative;background-color:transparent;border:0}[dir=ltr] .root_ca2b42d3 .link_ca2b42d3{margin-right:8px}[dir=rtl] .root_ca2b42d3 .link_ca2b42d3{margin-left:8px}.root_ca2b42d3 .link_ca2b42d3:hover{cursor:pointer}.root_ca2b42d3 .link_ca2b42d3:focus{outline:0}.root_ca2b42d3 .link_ca2b42d3::before{background-color:transparent;bottom:0;content:'';height:2px;left:8px;position:absolute;right:8px;transition:background-color 267ms cubic-bezier(.1,.25,.75,.9)}.root_ca2b42d3 .link_ca2b42d3::after{color:transparent;content:attr(title);display:block;font-weight:700;height:1px;overflow:hidden;visibility:hidden}.root_ca2b42d3 .link_ca2b42d3 .count_ca2b42d3,.root_ca2b42d3 .link_ca2b42d3 .text_ca2b42d3{display:inline-block;vertical-align:top}html[dir=ltr] .root_ca2b42d3 .link_ca2b42d3 .icon_ca2b42d3+.text_ca2b42d3{margin-left:4px}html[dir=rtl] .root_ca2b42d3 .link_ca2b42d3 .icon_ca2b42d3+.text_ca2b42d3{margin-right:4px}html[dir=ltr] .root_ca2b42d3 .link_ca2b42d3 .count_ca2b42d3{margin-left:4px}html[dir=rtl] .root_ca2b42d3 .link_ca2b42d3 .count_ca2b42d3{margin-right:4px}.root_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3{font-weight:600}.root_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3::before{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.root_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3::before{background-color:transparent;border-bottom:2px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3::before{background-color:transparent;border-bottom:2px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.root_ca2b42d3 .link_ca2b42d3.linkIsDisabled_ca2b42d3{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.ms-Fabric.is-focusVisible .link_ca2b42d3:focus{outline:1px solid \" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \"}.link_ca2b42d3.linkIsOverflow_ca2b42d3{color:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.link_ca2b42d3.linkIsOverflow_ca2b42d3.linkIsSelected_ca2b42d3{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.link_ca2b42d3.linkIsOverflow_ca2b42d3:focus:not(.linkIsSelected_ca2b42d3),.link_ca2b42d3.linkIsOverflow_ca2b42d3:hover:not(.linkIsSelected_ca2b42d3){color:\" }, { \"theme\": \"neutralDark\", \"defaultValue\": \"#212121\" }, { \"rawString\": \"}.link_ca2b42d3.linkIsOverflow_ca2b42d3:active{color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.ellipsis_ca2b42d3{font-size:15px;position:relative;top:0}.root_ca2b42d3.rootIsLarge_ca2b42d3 .link_ca2b42d3{font-size:17px}.root_ca2b42d3.rootIsLarge_ca2b42d3 .link_ca2b42d3.linkIsOverflow_ca2b42d3::after{font-size:17px}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3{height:40px;line-height:40px;background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";padding:0 10px;vertical-align:top}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3::-moz-focus-inner{border:0}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}[dir=ltr] .root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3{margin-right:0}[dir=rtl] .root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3{margin-left:0}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3:focus:not(.linkIsSelected_ca2b42d3):not(.linkIsOverflow_ca2b42d3),.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3:hover:not(.linkIsSelected_ca2b42d3):not(.linkIsOverflow_ca2b42d3){color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3:active{color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";font-weight:300}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3::before{background-color:transparent;transition:none;position:absolute;top:0;left:0;right:0;bottom:0;content:'';height:auto}@media screen and (-ms-high-contrast:active){.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3::before{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3::before{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsOverflow_ca2b42d3:focus:not(.linkIsSelected_ca2b42d3),.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsOverflow_ca2b42d3:hover:not(.linkIsSelected_ca2b42d3){background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsOverflow_ca2b42d3:active{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.ms-Fabric.is-focusVisible .root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3:focus:before{height:auto;background:0 0;transition:none}@media screen and (-ms-high-contrast:active){.root_ca2b42d3.rootIsTabs_ca2b42d3 .link_ca2b42d3.linkIsSelected_ca2b42d3{font-weight:600}}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 340,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ProgressIndicator.js",
|
|
"name": "./~/office-ui-fabric-react/lib/ProgressIndicator.js",
|
|
"index": 340,
|
|
"index2": 340,
|
|
"size": 234,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ProgressIndicator",
|
|
"loc": "43:9-39"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/ProgressIndicator/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 341,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/index.js",
|
|
"index": 341,
|
|
"index2": 339,
|
|
"size": 217,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ProgressIndicator.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 340,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\ProgressIndicator.js",
|
|
"module": "./~/office-ui-fabric-react/lib/ProgressIndicator.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/ProgressIndicator.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/ProgressIndicator/index",
|
|
"loc": "6:9-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./ProgressIndicator\"));\n\n"
|
|
},
|
|
{
|
|
"id": 342,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"index": 342,
|
|
"index2": 338,
|
|
"size": 2971,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 341,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ProgressIndicator",
|
|
"loc": "6:9-39"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar stylesImport = require(\"./ProgressIndicator.scss\");\nvar styles = stylesImport;\n// if the percentComplete is near 0, don't animate it.\n// This prevents animations on reset to 0 scenarios\nvar ZERO_THRESHOLD = 0.01;\nvar ProgressIndicator = (function (_super) {\n __extends(ProgressIndicator, _super);\n function ProgressIndicator(props) {\n var _this = _super.call(this, props) || this;\n _this._warnDeprecations({\n title: 'label'\n });\n return _this;\n }\n ProgressIndicator.prototype.render = function () {\n var _a = this.props, title = _a.title, label = _a.label, description = _a.description, percentComplete = _a.percentComplete, className = _a.className, ariaValueText = _a.ariaValueText;\n // Handle deprecated value.\n if (title) {\n label = title;\n }\n percentComplete = Math.min(100, Math.max(0, percentComplete * 100));\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-ProgressIndicator', styles.root, className) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ProgressIndicator-itemName', styles.itemName) }, label),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ProgressIndicator-itemProgress', styles.itemProgress) },\n React.createElement(\"div\", { className: Utilities_1.css('ms-ProgressIndicator-progressTrack', styles.progressTrack) }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ProgressIndicator-progressBar', styles.progressBar, {\n 'smoothTransition': percentComplete > ZERO_THRESHOLD\n }), style: { width: percentComplete + '%' }, role: 'progressbar', \"aria-valuemin\": '0', \"aria-valuemax\": '100', \"aria-valuenow\": percentComplete.toFixed().toString(), \"aria-valuetext\": ariaValueText })),\n React.createElement(\"div\", { className: Utilities_1.css('ms-ProgressIndicator-itemDescription', styles.itemDescription) }, description)));\n };\n return ProgressIndicator;\n}(Utilities_1.BaseComponent));\nProgressIndicator.defaultProps = {\n label: '',\n description: '',\n percentComplete: 0,\n width: 180\n};\nexports.ProgressIndicator = ProgressIndicator;\n\n"
|
|
},
|
|
{
|
|
"id": 343,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.scss.js",
|
|
"index": 343,
|
|
"index2": 337,
|
|
"size": 1775,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 342,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\ProgressIndicator\\ProgressIndicator.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/ProgressIndicator/ProgressIndicator.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./ProgressIndicator.scss",
|
|
"loc": "17:19-54"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_40e2def2',\n itemName: 'itemName_40e2def2',\n itemDescription: 'itemDescription_40e2def2',\n itemProgress: 'itemProgress_40e2def2',\n progressTrack: 'progressTrack_40e2def2',\n progressBar: 'progressBar_40e2def2',\n smoothTransition: 'smoothTransition_40e2def2',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_40e2def2{font-weight:400}.itemName_40e2def2{color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";font-size:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding-top:4px;line-height:20px}.itemDescription_40e2def2{color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \";font-size:11px;line-height:18px}.itemProgress_40e2def2{position:relative;height:2px;padding:8px 0}.progressTrack_40e2def2{position:absolute;width:100%;height:2px;background-color:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \";outline:1px solid transparent}.progressBar_40e2def2{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";height:2px;position:absolute;transition:width .3s ease;width:0}@media screen and (-ms-high-contrast:active){.progressBar_40e2def2{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.progressBar_40e2def2{background-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.smoothTransition_40e2def2{transition-property:width;transition-timing-function:linear;transition-duration:150ms}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 344,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Rating.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Rating.js",
|
|
"index": 344,
|
|
"index2": 345,
|
|
"size": 223,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rating",
|
|
"loc": "44:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Rating/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 345,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Rating/index.js",
|
|
"index": 345,
|
|
"index2": 344,
|
|
"size": 243,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Rating.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 344,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Rating.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Rating.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Rating.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Rating/index",
|
|
"loc": "6:9-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Rating\"));\n__export(require(\"./Rating.Props\"));\n\n"
|
|
},
|
|
{
|
|
"id": 346,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"index": 346,
|
|
"index2": 343,
|
|
"size": 4859,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 345,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rating",
|
|
"loc": "6:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Icon_1 = require(\"../../Icon\");\nvar Rating_Props_1 = require(\"./Rating.Props\");\nvar stylesImport = require(\"./Rating.scss\");\nvar styles = stylesImport;\nvar Rating = (function (_super) {\n __extends(Rating, _super);\n function Rating(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n rating: _this._getInitialValue(props),\n focusedRating: null\n };\n _this._id = Utilities_1.getId('Rating');\n _this._labelId = Utilities_1.getId('RatingLabel');\n return _this;\n }\n Rating.prototype.componentWillReceiveProps = function (nextProps) {\n if (typeof nextProps.rating !== 'undefined' && nextProps.rating !== this.state.rating) {\n this.setState({\n rating: this._getClampedRating(nextProps.rating)\n });\n }\n };\n Rating.prototype.render = function () {\n var stars = [];\n for (var i = this.props.min; i <= this.props.max; ++i) {\n stars.push(this._renderStar(i));\n }\n return React.createElement(\"div\", { className: Utilities_1.css('ms-Rating', this.props.className, (_a = {},\n _a['ms-Rating--large ' + styles.rootIsLarge] = this.props.size === Rating_Props_1.RatingSize.Large,\n _a)), role: 'application' },\n React.createElement(\"div\", { className: Utilities_1.css('ms-Rating-container', styles.container), role: 'radiogroup', \"aria-labelledby\": this.props.ariaLabelId }, stars));\n var _a;\n };\n Rating.prototype._renderStar = function (rating) {\n var inputId = this._id + \"-\" + rating;\n return React.createElement(\"div\", { className: Utilities_1.css('ms-Rating-star', styles.star, (_a = {},\n _a['is-selected ' + styles.starIsSelected] = rating <= this.state.rating,\n _a['is-inFocus ' + styles.starIsInFocus] = rating === this.state.focusedRating,\n _a['is-disabled ' + styles.starIsDisabled] = this.props.disabled,\n _a)), key: rating },\n React.createElement(\"input\", { className: Utilities_1.css('ms-Rating-input', styles.input), type: 'radio', name: this._id, id: inputId, value: rating, \"aria-labelledby\": this._labelId + \"-\" + rating, disabled: this.props.disabled, checked: rating === this.state.rating, onChange: this._onChange.bind(this, rating), onFocus: this._onFocus.bind(this, rating), onBlur: this._onBlur.bind(this, rating) }),\n React.createElement(\"label\", { className: Utilities_1.css('ms-Rating-label', styles.label), htmlFor: inputId },\n this._getLabel(rating),\n this._getIcon()));\n var _a;\n };\n Rating.prototype._onFocus = function (value, ev) {\n this.setState({\n focusedRating: value\n });\n };\n Rating.prototype._onBlur = function (option, ev) {\n this.setState({\n focusedRating: null\n });\n };\n Rating.prototype._onChange = function (rating, evt) {\n this.setState({\n rating: rating\n });\n var onChanged = this.props.onChanged;\n if (onChanged) {\n onChanged(rating);\n }\n };\n Rating.prototype._getLabel = function (rating) {\n var text = this.props.ariaLabelIcon || 'Star';\n return (React.createElement(\"span\", { id: this._labelId + \"-\" + rating, className: Utilities_1.css('ms-Rating-labelText', styles.labelText) }, rating + \" \" + text));\n };\n Rating.prototype._getIcon = function () {\n return React.createElement(Icon_1.Icon, { iconName: this.props.icon || 'favoriteStarFill' });\n };\n Rating.prototype._getInitialValue = function (props) {\n if (typeof props.rating === 'undefined') {\n return props.min;\n }\n if (props.rating === null) {\n return null;\n }\n return this._getClampedRating(props.rating);\n };\n Rating.prototype._getClampedRating = function (rating) {\n rating = Math.floor(rating);\n return Math.min(Math.max(rating, this.props.min), this.props.max);\n };\n return Rating;\n}(Utilities_1.BaseComponent));\nRating.defaultProps = {\n min: 1,\n max: 5\n};\nexports.Rating = Rating;\n\n"
|
|
},
|
|
{
|
|
"id": 347,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Rating/Rating.Props.js",
|
|
"index": 347,
|
|
"index2": 341,
|
|
"size": 287,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 345,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rating.Props",
|
|
"loc": "7:9-34"
|
|
},
|
|
{
|
|
"moduleId": 346,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rating.Props",
|
|
"loc": "16:21-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RatingSize;\n(function (RatingSize) {\n RatingSize[RatingSize[\"Small\"] = 0] = \"Small\";\n RatingSize[RatingSize[\"Large\"] = 1] = \"Large\";\n})(RatingSize = exports.RatingSize || (exports.RatingSize = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 348,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Rating/Rating.scss.js",
|
|
"index": 348,
|
|
"index2": 342,
|
|
"size": 2259,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 346,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Rating\\Rating.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Rating/Rating.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Rating.scss",
|
|
"loc": "17:19-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n input: 'input_19b01ffa',\n container: 'container_19b01ffa',\n star: 'star_19b01ffa',\n starIsDisabled: 'starIsDisabled_19b01ffa',\n starIsSelected: 'starIsSelected_19b01ffa',\n label: 'label_19b01ffa',\n rootIsLarge: 'rootIsLarge_19b01ffa',\n labelText: 'labelText_19b01ffa',\n starIsInFocus: 'starIsInFocus_19b01ffa',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".input_19b01ffa{position:absolute;opacity:0;top:0}.container_19b01ffa{position:relative;display:inline-block}.container_19b01ffa:hover .star_19b01ffa:not(.starIsDisabled_19b01ffa){color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.container_19b01ffa:hover .star_19b01ffa:not(.starIsDisabled_19b01ffa).star_19b01ffa:hover{color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.container_19b01ffa:hover .star_19b01ffa:not(.starIsDisabled_19b01ffa).star_19b01ffa:hover~.star_19b01ffa{color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.container_19b01ffa .star_19b01ffa{display:inline-block;text-align:center;color:\" }, { \"theme\": \"neutralTertiary\", \"defaultValue\": \"#a6a6a6\" }, { \"rawString\": \"}.container_19b01ffa .star_19b01ffa.starIsSelected_19b01ffa{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.container_19b01ffa .star_19b01ffa.starIsDisabled_19b01ffa{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.container_19b01ffa .star_19b01ffa.starIsDisabled_19b01ffa .label_19b01ffa{cursor:default}.container_19b01ffa .star_19b01ffa .label_19b01ffa{display:inline-block;cursor:pointer;font-size:16px;padding:12px 0;border:1px solid transparent}.rootIsLarge_19b01ffa .container_19b01ffa .label_19b01ffa{font-size:20px;padding:6px 2px 9px 2px}.labelText_19b01ffa{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.ms-Fabric.is-focusVisible .starIsInFocus_19b01ffa .label_19b01ffa{border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 349,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\SearchBox.js",
|
|
"name": "./~/office-ui-fabric-react/lib/SearchBox.js",
|
|
"index": 349,
|
|
"index2": 349,
|
|
"size": 226,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./SearchBox",
|
|
"loc": "45:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/SearchBox/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 350,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/SearchBox/index.js",
|
|
"index": 350,
|
|
"index2": 348,
|
|
"size": 209,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\SearchBox.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 349,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\SearchBox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/SearchBox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/SearchBox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/SearchBox/index",
|
|
"loc": "6:9-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./SearchBox\"));\n\n"
|
|
},
|
|
{
|
|
"id": 351,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"index": 351,
|
|
"index2": 347,
|
|
"size": 6262,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 350,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/SearchBox/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/SearchBox/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./SearchBox",
|
|
"loc": "6:9-31"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Icon_1 = require(\"../../Icon\");\nvar stylesImport = require(\"./SearchBox.scss\");\nvar styles = stylesImport;\nvar SearchBox = (function (_super) {\n __extends(SearchBox, _super);\n function SearchBox(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n value: props.value || '',\n hasFocus: false,\n id: Utilities_1.getId('SearchBox')\n };\n return _this;\n }\n SearchBox.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.value !== undefined) {\n this._latestValue = newProps.value;\n this.setState({\n value: newProps.value\n });\n }\n };\n SearchBox.prototype.render = function () {\n var _a = this.props, labelText = _a.labelText, className = _a.className;\n var _b = this.state, value = _b.value, hasFocus = _b.hasFocus, id = _b.id;\n return (React.createElement(\"div\", __assign({ ref: this._resolveRef('_rootElement'), className: Utilities_1.css('ms-SearchBox', className, styles.root, (_c = {},\n _c['is-active ' + styles.rootIsActive] = hasFocus,\n _c['can-clear ' + styles.rootCanClear] = value.length > 0,\n _c)) }, { onFocusCapture: this._onFocusCapture }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-SearchBox-iconContainer', styles.iconContainer) },\n React.createElement(Icon_1.Icon, { className: Utilities_1.css('ms-SearchBox-icon', styles.icon), iconName: 'Search' })),\n React.createElement(\"input\", { id: id, className: Utilities_1.css('ms-SearchBox-field', styles.field), placeholder: labelText, onChange: this._onInputChange, onInput: this._onInputChange, onKeyDown: this._onKeyDown, value: value, \"aria-label\": this.props.ariaLabel ? this.props.ariaLabel : this.props.labelText, ref: this._resolveRef('_inputElement') }),\n React.createElement(\"div\", { className: Utilities_1.css('ms-SearchBox-clearButton', styles.clearButton), onClick: this._onClearClick },\n React.createElement(Icon_1.Icon, { iconName: 'Clear' }))));\n var _c;\n };\n /**\n * Sets focus to the search box input field\n */\n SearchBox.prototype.focus = function () {\n if (this._inputElement) {\n this._inputElement.focus();\n }\n };\n SearchBox.prototype._onClearClick = function (ev) {\n this.setState({\n value: ''\n });\n this._callOnChange('');\n ev.stopPropagation();\n ev.preventDefault();\n this._inputElement.focus();\n };\n SearchBox.prototype._onFocusCapture = function (ev) {\n this.setState({\n hasFocus: true\n });\n this._events.on(this._rootElement, 'blur', this._onBlur, true);\n };\n SearchBox.prototype._onKeyDown = function (ev) {\n switch (ev.which) {\n case Utilities_1.KeyCodes.escape:\n this._onClearClick(ev);\n break;\n case Utilities_1.KeyCodes.enter:\n if (this.props.onSearch && this.state.value.length > 0) {\n this.props.onSearch(this.state.value);\n }\n break;\n default:\n return;\n }\n // We only get here if the keypress has been handled.\n ev.preventDefault();\n ev.stopPropagation();\n };\n SearchBox.prototype._onBlur = function (ev) {\n this._events.off(this._rootElement, 'blur');\n this.setState({\n hasFocus: false\n });\n };\n SearchBox.prototype._onInputChange = function (ev) {\n var value = this._inputElement.value;\n if (value === this._latestValue) {\n return;\n }\n this._latestValue = value;\n this.setState({ value: value });\n this._callOnChange(value);\n };\n SearchBox.prototype._callOnChange = function (newValue) {\n var _a = this.props, onChange = _a.onChange, onChanged = _a.onChanged;\n // Call @deprecated method.\n if (onChanged) {\n onChanged(newValue);\n }\n if (onChange) {\n onChange(newValue);\n }\n };\n return SearchBox;\n}(Utilities_1.BaseComponent));\nSearchBox.defaultProps = {\n labelText: 'Search',\n};\n__decorate([\n Utilities_1.autobind\n], SearchBox.prototype, \"_onClearClick\", null);\n__decorate([\n Utilities_1.autobind\n], SearchBox.prototype, \"_onFocusCapture\", null);\n__decorate([\n Utilities_1.autobind\n], SearchBox.prototype, \"_onKeyDown\", null);\n__decorate([\n Utilities_1.autobind\n], SearchBox.prototype, \"_onBlur\", null);\n__decorate([\n Utilities_1.autobind\n], SearchBox.prototype, \"_onInputChange\", null);\nexports.SearchBox = SearchBox;\n\n"
|
|
},
|
|
{
|
|
"id": 352,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.scss.js",
|
|
"index": 352,
|
|
"index2": 346,
|
|
"size": 4066,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 351,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\SearchBox\\SearchBox.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/SearchBox/SearchBox.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./SearchBox.scss",
|
|
"loc": "30:19-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_ec2202a4',\n iconContainer: 'iconContainer_ec2202a4',\n icon: 'icon_ec2202a4',\n field: 'field_ec2202a4',\n clearButton: 'clearButton_ec2202a4',\n label: 'label_ec2202a4',\n rootIsActive: 'rootIsActive_ec2202a4',\n rootIsDisabled: 'rootIsDisabled_ec2202a4',\n rootCanClear: 'rootCanClear_ec2202a4',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_ec2202a4{font-size:14px;font-weight:400;box-sizing:border-box;box-shadow:none;margin:0;padding:0;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;margin-bottom:10px;padding:0 0 0 8px;border:1px solid \" }, { \"theme\": \"themeTertiary\", \"defaultValue\": \"#71afe5\" }, { \"rawString\": \";height:32px}html[dir=rtl] .root_ec2202a4{padding:0 8px 0 0}@media screen and (-ms-high-contrast:active){.root_ec2202a4{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.root_ec2202a4{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.iconContainer_ec2202a4{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;color:\" }, { \"theme\": \"neutralSecondaryAlt\", \"defaultValue\": \"#767676\" }, { \"rawString\": \";font-size:16px;width:32px;text-align:center;transition:width 167ms;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.icon_ec2202a4{opacity:1;transition:opacity 167ms 0s}.field_ec2202a4{box-sizing:border-box;box-shadow:none;margin:0;padding:0;border:none;outline:0;font-weight:inherit;font-family:inherit;font-size:inherit;color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \";background-color:transparent;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0px;overflow:hidden;text-overflow:ellipsis;padding-bottom:.5px}.field_ec2202a4::-ms-clear{display:none}.clearButton_ec2202a4{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:none;cursor:pointer;text-align:center;font-size:12px;-ms-flex-preferred-size:32px;flex-basis:32px;-ms-flex-negative:0;flex-shrink:0;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.root_ec2202a4:hover{border-color:\" }, { \"theme\": \"themeDarker\", \"defaultValue\": \"#004578\" }, { \"rawString\": \"}.root_ec2202a4:hover .label_ec2202a4{color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}.root_ec2202a4:hover .label_ec2202a4 .iconContainer_ec2202a4{color:\" }, { \"theme\": \"themeDarker\", \"defaultValue\": \"#004578\" }, { \"rawString\": \"}.rootIsActive_ec2202a4{border-color:\" }, { \"theme\": \"themeDarker\", \"defaultValue\": \"#004578\" }, { \"rawString\": \"}.rootIsActive_ec2202a4 .iconContainer_ec2202a4{width:4px;transition:width 167ms}.rootIsActive_ec2202a4 .icon_ec2202a4{opacity:0;opacity:0 0s 167ms}.rootIsDisabled_ec2202a4{border-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \"}.rootIsDisabled_ec2202a4 .iconContainer_ec2202a4{color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.rootIsDisabled_ec2202a4 .field_ec2202a4{background-color:\" }, { \"theme\": \"neutralLighter\", \"defaultValue\": \"#f4f4f4\" }, { \"rawString\": \";pointer-events:none;cursor:default}.rootCanClear_ec2202a4 .clearButton_ec2202a4{display:-webkit-box;display:-ms-flexbox;display:flex}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 353,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Slider.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Slider.js",
|
|
"index": 353,
|
|
"index2": 353,
|
|
"size": 223,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Slider",
|
|
"loc": "46:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Slider/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 354,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Slider/index.js",
|
|
"index": 354,
|
|
"index2": 352,
|
|
"size": 206,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Slider.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 353,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Slider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Slider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Slider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Slider/index",
|
|
"loc": "6:9-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Slider\"));\n\n"
|
|
},
|
|
{
|
|
"id": 355,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"index": 355,
|
|
"index2": 351,
|
|
"size": 10378,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 354,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Slider/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Slider/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Slider",
|
|
"loc": "6:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Label_1 = require(\"../../Label\");\nvar stylesImport = require(\"./Slider.scss\");\nvar styles = stylesImport;\nvar ValuePosition;\n(function (ValuePosition) {\n ValuePosition[ValuePosition[\"Previous\"] = 0] = \"Previous\";\n ValuePosition[ValuePosition[\"Next\"] = 1] = \"Next\";\n})(ValuePosition = exports.ValuePosition || (exports.ValuePosition = {}));\nvar Slider = (function (_super) {\n __extends(Slider, _super);\n function Slider(props) {\n var _this = _super.call(this, props) || this;\n _this._warnMutuallyExclusive({\n 'value': 'defaultValue'\n });\n _this._id = Utilities_1.getId('Slider');\n var value = props.value || props.defaultValue || props.min;\n _this.state = {\n value: value,\n renderedValue: value\n };\n return _this;\n }\n /**\n * Invoked when a component is receiving new props. This method is not called for the initial render.\n */\n Slider.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.value !== undefined) {\n var value = Math.max(newProps.min, Math.min(newProps.max, newProps.value));\n this.setState({\n value: value,\n renderedValue: value\n });\n }\n };\n Slider.prototype.render = function () {\n var _a = this.props, ariaLabel = _a.ariaLabel, className = _a.className, disabled = _a.disabled, label = _a.label, max = _a.max, min = _a.min, showValue = _a.showValue, buttonProps = _a.buttonProps;\n var _b = this.state, value = _b.value, renderedValue = _b.renderedValue;\n var thumbOffsetPercent = (renderedValue - min) / (max - min) * 100;\n var onMouseDownProp = disabled ? {} : { onMouseDown: this._onMouseDownOrTouchStart };\n var onTouchStartProp = disabled ? {} : { onTouchStart: this._onMouseDownOrTouchStart };\n var onKeyDownProp = disabled ? {} : { onKeyDown: this._onKeyDown };\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-Slider', styles.root, className, (_c = {},\n _c['ms-Slider-enabled ' + styles.rootIsEnabled] = !disabled,\n _c['ms-Slider-disabled ' + styles.rootIsDisabled] = disabled,\n _c)), ref: 'root' },\n label && (React.createElement(Label_1.Label, __assign({ className: styles.titleLabel }, ariaLabel ? {} : { 'htmlFor': this._id }), label)),\n React.createElement(\"div\", { className: Utilities_1.css('ms-Slider-container', styles.container) },\n React.createElement(\"button\", __assign({ \"aria-valuenow\": value, \"aria-valuemin\": min, \"aria-valuemax\": max }, onMouseDownProp, onTouchStartProp, onKeyDownProp, buttonProps, { className: Utilities_1.css('ms-Slider-slideBox', styles.slideBox, buttonProps.className, (_d = {\n 'ms-Slider-showValue': showValue\n },\n _d['ms-Slider-showTransitions ' + styles.showTransitions] = (renderedValue === value),\n _d)), id: this._id, disabled: disabled, type: 'button', role: 'slider' }),\n React.createElement(\"div\", { ref: 'sliderLine', className: Utilities_1.css('ms-Slider-line', styles.line) },\n React.createElement(\"span\", __assign({ ref: 'thumb', className: Utilities_1.css('ms-Slider-thumb', styles.thumb) }, ariaLabel ? { 'aria-label': ariaLabel } : {}, { style: Utilities_1.getRTL() ?\n { 'right': thumbOffsetPercent + '%' } :\n { 'left': thumbOffsetPercent + '%' } })),\n React.createElement(\"span\", { className: Utilities_1.css('ms-Slider-active', styles.activeSection), style: { 'width': thumbOffsetPercent + '%' } }),\n React.createElement(\"span\", { className: Utilities_1.css('ms-Slider-inactive', styles.inactiveSection), style: { 'width': (100 - thumbOffsetPercent) + '%' } }))),\n showValue && React.createElement(Label_1.Label, { className: Utilities_1.css('ms-Slider-value', styles.valueLabel) }, value))));\n var _c, _d;\n };\n Slider.prototype.focus = function () {\n if (this.refs.thumb) {\n this.refs.thumb.focus();\n }\n };\n Object.defineProperty(Slider.prototype, \"value\", {\n get: function () {\n return this.state.value;\n },\n enumerable: true,\n configurable: true\n });\n Slider.prototype._onMouseDownOrTouchStart = function (event) {\n if (event.type === 'mousedown') {\n this._events.on(window, 'mousemove', this._onMouseMoveOrTouchMove, true);\n this._events.on(window, 'mouseup', this._onMouseUpOrTouchEnd, true);\n }\n else if (event.type === 'touchstart') {\n this._events.on(window, 'touchmove', this._onMouseMoveOrTouchMove, true);\n this._events.on(window, 'touchend', this._onMouseUpOrTouchEnd, true);\n }\n this._onMouseMoveOrTouchMove(event, true);\n };\n Slider.prototype._onMouseMoveOrTouchMove = function (event, suppressEventCancelation) {\n var _a = this.props, max = _a.max, min = _a.min, step = _a.step;\n var steps = (max - min) / step;\n var sliderPositionRect = this.refs.sliderLine.getBoundingClientRect();\n var sliderLength = sliderPositionRect.width;\n var stepLength = sliderLength / steps;\n var currentSteps;\n if (event.type === 'mousedown' || event.type === 'mousemove') {\n currentSteps = Utilities_1.getRTL() ?\n (sliderPositionRect.right - event.clientX) / stepLength :\n (event.clientX - sliderPositionRect.left) / stepLength;\n }\n else if (event.type === 'touchstart' || event.type === 'touchmove') {\n currentSteps = Utilities_1.getRTL() ?\n (sliderPositionRect.right - event.touches[0].clientX) / stepLength :\n (event.touches[0].clientX - sliderPositionRect.left) / stepLength;\n }\n var currentValue;\n var renderedValue;\n // The value shouldn't be bigger than max or be smaller than min.\n if (currentSteps > Math.floor(steps)) {\n renderedValue = currentValue = max;\n }\n else if (currentSteps < 0) {\n renderedValue = currentValue = min;\n }\n else {\n renderedValue = min + step * currentSteps;\n currentValue = min + step * Math.round(currentSteps);\n }\n this._updateValue(currentValue, renderedValue);\n if (!suppressEventCancelation) {\n event.preventDefault();\n event.stopPropagation();\n }\n };\n Slider.prototype._updateValue = function (value, renderedValue) {\n var _this = this;\n var valueChanged = value !== this.state.value;\n this.setState({\n value: value,\n renderedValue: renderedValue\n }, function () {\n if (valueChanged && _this.props.onChange) {\n _this.props.onChange(_this.state.value);\n }\n });\n };\n Slider.prototype._onMouseUpOrTouchEnd = function () {\n // Synchronize the renderedValue to the actual value.\n this.setState({\n renderedValue: this.state.value\n });\n this._events.off();\n };\n Slider.prototype._onKeyDown = function (event) {\n var value = this.state.value;\n var _a = this.props, max = _a.max, min = _a.min, step = _a.step;\n var diff = 0;\n switch (event.which) {\n case Utilities_1.getRTLSafeKeyCode(Utilities_1.KeyCodes.left):\n case Utilities_1.KeyCodes.down:\n diff = -step;\n break;\n case Utilities_1.getRTLSafeKeyCode(Utilities_1.KeyCodes.right):\n case Utilities_1.KeyCodes.up:\n diff = step;\n break;\n case Utilities_1.KeyCodes.home:\n value = min;\n break;\n case Utilities_1.KeyCodes.end:\n value = max;\n break;\n default:\n return;\n }\n var newValue = Math.min(max, Math.max(min, value + diff));\n this._updateValue(newValue, newValue);\n event.preventDefault();\n event.stopPropagation();\n };\n return Slider;\n}(Utilities_1.BaseComponent));\nSlider.defaultProps = {\n step: 1,\n min: 0,\n max: 10,\n showValue: true,\n disabled: false,\n buttonProps: {}\n};\n__decorate([\n Utilities_1.autobind\n], Slider.prototype, \"_onMouseDownOrTouchStart\", null);\n__decorate([\n Utilities_1.autobind\n], Slider.prototype, \"_onMouseMoveOrTouchMove\", null);\n__decorate([\n Utilities_1.autobind\n], Slider.prototype, \"_onMouseUpOrTouchEnd\", null);\n__decorate([\n Utilities_1.autobind\n], Slider.prototype, \"_onKeyDown\", null);\nexports.Slider = Slider;\n\n"
|
|
},
|
|
{
|
|
"id": 356,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Slider/Slider.scss.js",
|
|
"index": 356,
|
|
"index2": 350,
|
|
"size": 6830,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 355,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Slider\\Slider.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Slider/Slider.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Slider.scss",
|
|
"loc": "30:19-43"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_6b213d59',\n titleLabel: 'titleLabel_6b213d59',\n line: 'line_6b213d59',\n activeSection: 'activeSection_6b213d59',\n inactiveSection: 'inactiveSection_6b213d59',\n showTransitions: 'showTransitions_6b213d59',\n thumb: 'thumb_6b213d59',\n slideBox: 'slideBox_6b213d59',\n container: 'container_6b213d59',\n valueLabel: 'valueLabel_6b213d59',\n rootIsEnabled: 'rootIsEnabled_6b213d59',\n rootIsDisabled: 'rootIsDisabled_6b213d59',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_6b213d59{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-bottom:8px}.titleLabel_6b213d59{padding:0}.line_6b213d59{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;width:100%}.line_6b213d59 span{height:4px;border-radius:4px;box-sizing:border-box}.activeSection_6b213d59{background:\" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.activeSection_6b213d59{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.activeSection_6b213d59{background-color:\" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.inactiveSection_6b213d59{background:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.inactiveSection_6b213d59{border:1px solid \" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}}@media screen and (-ms-high-contrast:black-on-white){.inactiveSection_6b213d59{border:1px solid \" }, { \"theme\": \"black\", \"defaultValue\": \"#000000\" }, { \"rawString\": \"}}.showTransitions_6b213d59 .thumb_6b213d59{transition:left 367ms cubic-bezier(.1,.9,.2,1)}.showTransitions_6b213d59 .activeSection_6b213d59,.showTransitions_6b213d59 .inactiveSection_6b213d59{transition:width 367ms cubic-bezier(.1,.9,.2,1)}.slideBox_6b213d59{background:0 0;border:none;padding:0;margin:0}.slideBox_6b213d59 .thumb_6b213d59{border:2px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \";box-sizing:border-box;background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";display:block;width:16px;height:16px;position:absolute;top:-6px;border-radius:10px}html[dir=ltr] .slideBox_6b213d59 .thumb_6b213d59{-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=rtl] .slideBox_6b213d59 .thumb_6b213d59{-webkit-transform:translateX(50%);transform:translateX(50%)}.container_6b213d59{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.slideBox_6b213d59{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:28px;line-height:28px;padding:0 8px}.slideBox_6b213d59::-moz-focus-inner{border:0}.slideBox_6b213d59{outline:transparent;position:relative}.ms-Fabric.is-focusVisible .slideBox_6b213d59:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid \" }, { \"theme\": \"neutralSecondary\", \"defaultValue\": \"#666666\" }, { \"rawString\": \"}.valueLabel_6b213d59{-ms-flex-negative:1;flex-shrink:1;width:30px;margin:0 8px;line-height:1}.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .thumb_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .thumb_6b213d59{border:2px solid \" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .thumb_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .thumb_6b213d59{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .thumb_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .thumb_6b213d59{border-color:#37006e}}.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .activeSection_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .activeSection_6b213d59{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .activeSection_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .activeSection_6b213d59{background-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .activeSection_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .activeSection_6b213d59{background-color:#37006e}}.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .inactiveSection_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .inactiveSection_6b213d59{background-color:\" }, { \"theme\": \"themeLight\", \"defaultValue\": \"#c7e0f4\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .inactiveSection_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .inactiveSection_6b213d59{border-color:#1aebff}}@media screen and (-ms-high-contrast:black-on-white){.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .inactiveSection_6b213d59,.rootIsEnabled_6b213d59 .slideBox_6b213d59:hover .inactiveSection_6b213d59{border-color:#37006e}}.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .thumb_6b213d59{border:2px solid \" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.rootIsEnabled_6b213d59 .slideBox_6b213d59:active .activeSection_6b213d59{background-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \"}.rootIsDisabled_6b213d59 .thumb_6b213d59{border-color:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}@media screen and (-ms-high-contrast:active){.rootIsDisabled_6b213d59 .thumb_6b213d59{border-color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.rootIsDisabled_6b213d59 .thumb_6b213d59{border-color:#600000}}@media screen and (-ms-high-contrast:active){.rootIsDisabled_6b213d59 .activeSection_6b213d59,.rootIsDisabled_6b213d59 .inactiveSection_6b213d59{background-color:#0f0;border-color:#0f0}}@media screen and (-ms-high-contrast:black-on-white){.rootIsDisabled_6b213d59 .activeSection_6b213d59,.rootIsDisabled_6b213d59 .inactiveSection_6b213d59{background-color:#600000;border-color:#600000}}.rootIsDisabled_6b213d59 .activeSection_6b213d59{background:\" }, { \"theme\": \"neutralTertiaryAlt\", \"defaultValue\": \"#c8c8c8\" }, { \"rawString\": \"}.rootIsDisabled_6b213d59 .inactiveSection_6b213d59{background:\" }, { \"theme\": \"neutralLight\", \"defaultValue\": \"#eaeaea\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 357,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\TeachingBubble.js",
|
|
"name": "./~/office-ui-fabric-react/lib/TeachingBubble.js",
|
|
"index": 357,
|
|
"index2": 358,
|
|
"size": 231,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TeachingBubble",
|
|
"loc": "49:9-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/TeachingBubble/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 358,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TeachingBubble/index.js",
|
|
"index": 358,
|
|
"index2": 357,
|
|
"size": 260,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\TeachingBubble.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 357,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/TeachingBubble/index",
|
|
"loc": "6:9-53"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./TeachingBubble\"));\n__export(require(\"./TeachingBubbleContent\"));\n\n"
|
|
},
|
|
{
|
|
"id": 359,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"index": 359,
|
|
"index2": 356,
|
|
"size": 2340,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 358,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TeachingBubble",
|
|
"loc": "6:9-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar TeachingBubbleContent_1 = require(\"./TeachingBubbleContent\");\nvar Callout_1 = require(\"../../Callout\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar stylesImport = require(\"./TeachingBubble.scss\");\nvar styles = stylesImport;\nvar TeachingBubble = (function (_super) {\n __extends(TeachingBubble, _super);\n // Constructor\n function TeachingBubble(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {};\n return _this;\n }\n TeachingBubble.prototype.render = function () {\n var _a = this.props, calloutProps = _a.calloutProps, targetElement = _a.targetElement;\n return (React.createElement(Callout_1.Callout, __assign({ className: Utilities_1.css('ms-TeachingBubble', styles.root), ref: this._resolveRef('_callout'), targetElement: targetElement }, calloutProps),\n React.createElement(TeachingBubbleContent_1.TeachingBubbleContent, __assign({}, this.props))));\n };\n return TeachingBubble;\n}(Utilities_1.BaseComponent));\n// Specify default props values\nTeachingBubble.defaultProps = {\n calloutProps: {\n beakWidth: 16,\n gapSpace: 0,\n setInitialFocus: true,\n doNotLayer: false,\n directionalHint: DirectionalHint_1.DirectionalHint.rightCenter\n }\n};\nexports.TeachingBubble = TeachingBubble;\n\n"
|
|
},
|
|
{
|
|
"id": 360,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubbleContent.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"index": 360,
|
|
"index2": 355,
|
|
"size": 4756,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 358,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TeachingBubbleContent",
|
|
"loc": "7:9-43"
|
|
},
|
|
{
|
|
"moduleId": 359,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TeachingBubbleContent",
|
|
"loc": "25:30-64"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar Button_1 = require(\"../../Button\");\nvar Image_1 = require(\"../../Image\");\nvar stylesImport = require(\"./TeachingBubble.scss\");\nvar styles = stylesImport;\nvar TeachingBubbleContent = (function (_super) {\n __extends(TeachingBubbleContent, _super);\n // Constructor\n function TeachingBubbleContent(props) {\n var _this = _super.call(this, props) || this;\n _this._id = Utilities_1.getId('TeachingBubble');\n _this.state = {};\n return _this;\n }\n TeachingBubbleContent.prototype.render = function () {\n var _a = this.props, illustrationImage = _a.illustrationImage, primaryButtonProps = _a.primaryButtonProps, secondaryButtonProps = _a.secondaryButtonProps, headline = _a.headline, hasCondensedHeadline = _a.hasCondensedHeadline, hasCloseIcon = _a.hasCloseIcon, onDismiss = _a.onDismiss, closeButtonAriaLabel = _a.closeButtonAriaLabel;\n var imageContent;\n var headerContent;\n var bodyContent;\n var footerContent;\n var closeButton;\n if (illustrationImage && illustrationImage.src) {\n imageContent = (React.createElement(\"div\", { className: 'ms-TeachingBubble-header' },\n React.createElement(Image_1.Image, __assign({}, illustrationImage))));\n }\n if (headline) {\n headerContent = (React.createElement(\"div\", { className: Utilities_1.css('ms-TeachingBubble-header', hasCondensedHeadline ?\n 'ms-TeachingBubble-header--small ' + styles.headerIsSmall :\n 'ms-TeachingBubble-header--large ' + styles.headerIsLarge) },\n React.createElement(\"p\", { className: Utilities_1.css('ms-TeachingBubble-headline', styles.headline) }, headline)));\n }\n if (this.props.children) {\n bodyContent = (React.createElement(\"div\", { className: Utilities_1.css('ms-TeachingBubble-body', styles.body) },\n React.createElement(\"p\", { className: Utilities_1.css('ms-TeachingBubble-subText', styles.subText) }, this.props.children)));\n }\n if (primaryButtonProps || secondaryButtonProps) {\n footerContent = (React.createElement(\"div\", { className: Utilities_1.css('ms-TeachingBubble-footer', styles.footer) },\n primaryButtonProps && (React.createElement(Button_1.PrimaryButton, __assign({}, primaryButtonProps, { className: Utilities_1.css('ms-TeachingBubble-primaryButton', styles.primaryButton, primaryButtonProps.className) }))),\n secondaryButtonProps && (React.createElement(Button_1.DefaultButton, __assign({}, secondaryButtonProps, { className: Utilities_1.css('ms-TeachingBubble-secondaryButton', styles.secondaryButton, secondaryButtonProps.className) })))));\n }\n if (hasCloseIcon) {\n closeButton = (React.createElement(Button_1.IconButton, { className: Utilities_1.css('ms-TeachingBubble-closebutton', styles.closeButton), iconProps: { iconName: 'Cancel' }, title: closeButtonAriaLabel, ariaLabel: closeButtonAriaLabel, onClick: onDismiss }));\n }\n return (React.createElement(\"div\", { className: Utilities_1.css('ms-TeachingBubble-content') },\n imageContent,\n closeButton,\n React.createElement(\"div\", { className: Utilities_1.css('ms-TeachingBubble-bodycontent', styles.bodyContent) },\n headerContent,\n bodyContent,\n footerContent)));\n };\n return TeachingBubbleContent;\n}(Utilities_1.BaseComponent));\n// Specify default props values\nTeachingBubbleContent.defaultProps = {\n hasCondensedHeadline: false,\n imageProps: {\n imageFit: Image_1.ImageFit.cover,\n width: 364,\n height: 130\n }\n};\nexports.TeachingBubbleContent = TeachingBubbleContent;\n\n"
|
|
},
|
|
{
|
|
"id": 361,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.scss.js",
|
|
"index": 361,
|
|
"index2": 354,
|
|
"size": 4123,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 359,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubble.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubble.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TeachingBubble.scss",
|
|
"loc": "28:19-51"
|
|
},
|
|
{
|
|
"moduleId": 360,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\TeachingBubble\\TeachingBubbleContent.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/TeachingBubble/TeachingBubbleContent.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TeachingBubble.scss",
|
|
"loc": "27:19-51"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_f02ca86d',\n bodyContent: 'bodyContent_f02ca86d',\n headerIsLarge: 'headerIsLarge_f02ca86d',\n headline: 'headline_f02ca86d',\n headerIsSmall: 'headerIsSmall_f02ca86d',\n body: 'body_f02ca86d',\n subText: 'subText_f02ca86d',\n closeButton: 'closeButton_f02ca86d',\n footer: 'footer_f02ca86d',\n primaryButton: 'primaryButton_f02ca86d',\n secondaryButton: 'secondaryButton_f02ca86d',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_f02ca86d{display:block;max-width:364px}.bodyContent_f02ca86d{padding:20px}.headerIsLarge_f02ca86d:not(:last-child){margin-bottom:14px}.headline_f02ca86d{margin:0;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.headerIsLarge_f02ca86d .headline_f02ca86d{font-size:28px;font-weight:100;font-weight:100}.headerIsSmall_f02ca86d .headline_f02ca86d{font-size:14px;font-weight:400;font-weight:600}[dir=ltr] .headerIsSmall_f02ca86d .headline_f02ca86d{margin-right:10px}[dir=rtl] .headerIsSmall_f02ca86d .headline_f02ca86d{margin-left:10px}.body_f02ca86d:not(:last-child){margin-bottom:20px}.subText_f02ca86d{margin:0;font-size:14px;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";font-weight:300}.root_f02ca86d .closeButton_f02ca86d{position:absolute;top:0;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";font-size:12px}[dir=ltr] .root_f02ca86d .closeButton_f02ca86d{right:0}[dir=rtl] .root_f02ca86d .closeButton_f02ca86d{left:0}html[dir=ltr] .footer_f02ca86d .ms-Button:not(:first-child){margin-left:20px}html[dir=rtl] .footer_f02ca86d .ms-Button:not(:first-child){margin-right:20px}.root_f02ca86d .ms-Callout-beak,.root_f02ca86d .ms-Callout-main,.root_f02ca86d .ms-Callout-smallbeak{background:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.root_f02ca86d .primaryButton_f02ca86d{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .primaryButton_f02ca86d .ms-Button-label{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \"}.root_f02ca86d .primaryButton_f02ca86d:hover{background-color:\" }, { \"theme\": \"themeLighter\", \"defaultValue\": \"#deecf9\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"themeLighter\", \"defaultValue\": \"#deecf9\" }, { \"rawString\": \"}.root_f02ca86d .primaryButton_f02ca86d:focus{background-color:\" }, { \"theme\": \"themeLighter\", \"defaultValue\": \"#deecf9\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .primaryButton_f02ca86d:active{background-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .secondaryButton_f02ca86d{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .secondaryButton_f02ca86d .ms-Button-label{font-size:14px;font-weight:400;color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .secondaryButton_f02ca86d:hover{background-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .secondaryButton_f02ca86d:focus{background-color:\" }, { \"theme\": \"themeDarkAlt\", \"defaultValue\": \"#106ebe\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}.root_f02ca86d .secondaryButton_f02ca86d:active{background-color:\" }, { \"theme\": \"themePrimary\", \"defaultValue\": \"#0078d7\" }, { \"rawString\": \";border-color:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \"}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 362,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Toggle.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Toggle.js",
|
|
"index": 362,
|
|
"index2": 362,
|
|
"size": 223,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Toggle",
|
|
"loc": "51:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Toggle/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 363,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Toggle/index.js",
|
|
"index": 363,
|
|
"index2": 361,
|
|
"size": 206,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Toggle.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 362,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Toggle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Toggle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Toggle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Toggle/index",
|
|
"loc": "6:9-45"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Toggle\"));\n\n"
|
|
},
|
|
{
|
|
"id": 364,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"index": 364,
|
|
"index2": 360,
|
|
"size": 6980,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 363,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Toggle",
|
|
"loc": "6:9-28"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar Utilities_1 = require(\"../../Utilities\");\nvar Label_1 = require(\"../../Label\");\nvar Styling_1 = require(\"../../Styling\");\nvar Toggle_styles_1 = require(\"./Toggle.styles\");\nvar Toggle = (function (_super) {\n __extends(Toggle, _super);\n function Toggle(props) {\n var _this = _super.call(this) || this;\n _this._warnMutuallyExclusive({\n checked: 'defaultChecked'\n });\n _this.state = {\n isChecked: !!(props.checked || props.defaultChecked)\n };\n _this._id = props.id || Utilities_1.getId('Toggle');\n return _this;\n }\n Object.defineProperty(Toggle.prototype, \"checked\", {\n /**\n * Gets the current checked state of the toggle.\n */\n get: function () {\n return this.state.isChecked;\n },\n enumerable: true,\n configurable: true\n });\n Toggle.prototype.componentWillReceiveProps = function (newProps) {\n if (newProps.checked !== undefined) {\n this.setState({\n isChecked: !!newProps.checked // convert null to false\n });\n }\n };\n Toggle.prototype.render = function () {\n // This control is using an input element for more universal accessibility support.\n // Previously a button and the aria-pressed attribute were used. This technique works well with Narrator + Edge and NVDA + FireFox.\n // However, JAWS and VoiceOver did not announce anything when the toggle was checked or unchecked.\n // In the future when more screenreaders support aria-pressed it would be a good idea to change this control back to using it as it is\n // more semantically correct.\n var _this = this;\n var _a = this.props, className = _a.className, customStyles = _a.styles, disabled = _a.disabled, label = _a.label, offAriaLabel = _a.offAriaLabel, offText = _a.offText, onAriaLabel = _a.onAriaLabel, onText = _a.onText;\n var isChecked = this.state.isChecked;\n var stateText = isChecked ? onText : offText;\n var ariaLabel = isChecked ? onAriaLabel : offAriaLabel;\n var toggleNativeProps = Utilities_1.getNativeProps(this.props, Utilities_1.inputProperties, ['defaultChecked']);\n var classNames = this._getClassNames(Toggle_styles_1.getStyles(undefined, customStyles), className, disabled, isChecked);\n return (React.createElement(\"div\", { className: classNames.root },\n label && (React.createElement(Label_1.Label, { htmlFor: this._id, className: classNames.label }, label)),\n React.createElement(\"div\", { className: classNames.container },\n React.createElement(\"button\", __assign({}, toggleNativeProps, { className: classNames.pill, ref: function (c) { return _this._toggleButton = c; }, \"aria-disabled\": disabled, \"aria-pressed\": isChecked, id: this._id, onChange: function () { }, disabled: disabled, \"data-is-focusable\": true, onClick: this._onClick }),\n React.createElement(\"div\", { className: classNames.thumb })),\n stateText && (React.createElement(Label_1.Label, { className: classNames.text }, stateText)))));\n };\n Toggle.prototype.focus = function () {\n if (this._toggleButton) {\n this._toggleButton.focus();\n }\n };\n Toggle.prototype._onClick = function (ev) {\n var _a = this.props, checked = _a.checked, onChanged = _a.onChanged, onClick = _a.onClick;\n var isChecked = this.state.isChecked;\n // Only update the state if the user hasn't provided it.\n if (checked === undefined) {\n this.setState({\n isChecked: !isChecked\n });\n }\n if (onChanged) {\n onChanged(!isChecked);\n }\n if (onClick) {\n onClick(ev);\n }\n };\n Toggle.prototype._getClassNames = function (styles, className, disabled, isChecked) {\n return {\n root: Styling_1.mergeStyles('ms-Toggle', isChecked && 'is-checked', !disabled && 'is-enabled', disabled && 'is-disabled', className, styles.root),\n label: Styling_1.mergeStyles('ms-Toggle-label', styles.label),\n container: Styling_1.mergeStyles('ms-Toggle-innerContainer', styles.container),\n pill: Styling_1.mergeStyles('ms-Toggle-background', styles.pill, !disabled && [\n !isChecked && {\n ':hover': styles.pillHovered,\n ':hover .ms-Toggle-thumb': styles.thumbHovered\n },\n isChecked && [\n styles.pillChecked,\n {\n ':hover': styles.pillCheckedHovered,\n ':hover .ms-Toggle-thumb': styles.thumbCheckedHovered\n }\n ]\n ], disabled && [\n !isChecked && styles.pillDisabled,\n isChecked && styles.pillCheckedDisabled,\n ]),\n thumb: Styling_1.mergeStyles('ms-Toggle-thumb', styles.thumb, !disabled && isChecked && styles.thumbChecked, disabled && [\n !isChecked && styles.thumbDisabled,\n isChecked && styles.thumbCheckedDisabled\n ]),\n text: Styling_1.mergeStyles('ms-Toggle-stateText', styles.text),\n };\n };\n ;\n return Toggle;\n}(Utilities_1.BaseComponent));\n__decorate([\n Utilities_1.autobind\n], Toggle.prototype, \"_onClick\", null);\n__decorate([\n Utilities_1.memoize\n], Toggle.prototype, \"_getClassNames\", null);\nexports.Toggle = Toggle;\n\n"
|
|
},
|
|
{
|
|
"id": 365,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.styles.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.styles.js",
|
|
"index": 365,
|
|
"index2": 359,
|
|
"size": 3636,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 364,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Toggle\\Toggle.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Toggle/Toggle.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Toggle.styles",
|
|
"loc": "31:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Styling_1 = require(\"../../Styling\");\nvar Utilities_1 = require(\"../../Utilities\");\nexports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) {\n if (theme === void 0) { theme = Styling_1.getTheme(); }\n var semanticColors = theme.semanticColors;\n var pillUncheckedBackground = semanticColors.bodyBackground;\n var pillCheckedBackground = semanticColors.inputBackgroundSelected;\n var pillCheckedHoveredBackground = semanticColors.inputBackgroundSelectedHovered;\n var pillCheckedDisabledBackground = semanticColors.disabledText;\n var thumbBackground = semanticColors.inputBorderHovered;\n var thumbCheckedBackground = semanticColors.inputForegroundSelected;\n var thumbDisabledBackground = semanticColors.disabledText;\n var thumbCheckedDisabledBackground = semanticColors.disabledBackground;\n var pillBorderColor = semanticColors.inputBorder;\n var pillBorderHoveredColor = semanticColors.inputBorderHovered;\n var pillBorderDisabledColor = semanticColors.disabledText;\n var toggleFocusBorderColor = semanticColors.focusBorder;\n var styles = {\n root: {\n marginBottom: '8px'\n },\n container: [\n {\n display: 'inline-flex',\n position: 'relative',\n }\n ],\n pill: [\n Styling_1.getFocusStyle(theme, '-1px'),\n {\n fontSize: '20px',\n lineHeight: '1em',\n boxSizing: 'border-box',\n position: 'relative',\n width: '2.2em',\n height: '1em',\n borderRadius: '1em',\n transition: 'all 0.1s ease',\n borderWidth: '1px',\n borderStyle: 'solid',\n background: pillUncheckedBackground,\n borderColor: pillBorderColor,\n }\n ],\n pillHovered: {\n borderColor: pillBorderHoveredColor\n },\n pillChecked: {\n background: pillCheckedBackground,\n borderColor: 'transparent',\n },\n pillCheckedHovered: {\n backgroundColor: pillCheckedHoveredBackground,\n borderColor: 'transparent'\n },\n pillDisabled: {\n borderColor: pillBorderDisabledColor\n },\n pillCheckedDisabled: {\n backgroundColor: pillCheckedDisabledBackground,\n borderColor: 'transparent'\n },\n thumb: {\n width: '.5em',\n height: '.5em',\n borderRadius: '.5em',\n position: 'absolute',\n top: '.2em',\n transition: 'all 0.1s ease',\n backgroundColor: thumbBackground,\n left: '.2em'\n },\n thumbChecked: {\n backgroundColor: thumbCheckedBackground,\n left: '1.4em'\n },\n thumbDisabled: {\n backgroundColor: thumbDisabledBackground,\n left: '.2em',\n },\n thumbCheckedDisabled: {\n backgroundColor: thumbCheckedDisabledBackground,\n left: '1.4em'\n },\n text: {\n // Workaround; until Label is converted and we can pass in custom styles, we need to make this\n // more specific. Once Label is converted, we should be able to just pull in the customized styling.\n '.ms-Toggle-stateText': {\n padding: '0',\n margin: '0 10px',\n userSelect: 'none'\n }\n }\n };\n return Styling_1.mergeStyleSets(styles, customStyles);\n});\n\n"
|
|
},
|
|
{
|
|
"id": 366,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Tooltip.js",
|
|
"name": "./~/office-ui-fabric-react/lib/Tooltip.js",
|
|
"index": 366,
|
|
"index2": 370,
|
|
"size": 224,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 6,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip",
|
|
"loc": "52:9-29"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./components/Tooltip/index\"));\n\n"
|
|
},
|
|
{
|
|
"id": 367,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"index": 367,
|
|
"index2": 369,
|
|
"size": 374,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Tooltip.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 366,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/Tooltip/index",
|
|
"loc": "6:9-46"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Tooltip\"));\n__export(require(\"./Tooltip.Props\"));\n__export(require(\"./TooltipHost\"));\n__export(require(\"./TooltipHost.Props\"));\n__export(require(\"../../common/DirectionalHint\"));\n\n"
|
|
},
|
|
{
|
|
"id": 368,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"index": 368,
|
|
"index2": 365,
|
|
"size": 3012,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 367,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip",
|
|
"loc": "6:9-29"
|
|
},
|
|
{
|
|
"moduleId": 371,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip",
|
|
"loc": "32:16-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar Tooltip_Props_1 = require(\"./Tooltip.Props\");\nvar Callout_1 = require(\"../../Callout\");\nvar DirectionalHint_1 = require(\"../../common/DirectionalHint\");\nvar stylesImport = require(\"./Tooltip.scss\");\nvar styles = stylesImport;\nvar Styling_1 = require(\"../../Styling\");\nvar Tooltip = (function (_super) {\n __extends(Tooltip, _super);\n function Tooltip() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Tooltip.prototype.render = function () {\n var _a = this.props, targetElement = _a.targetElement, content = _a.content, calloutProps = _a.calloutProps, directionalHint = _a.directionalHint, delay = _a.delay, id = _a.id, _b = _a.onRenderContent, onRenderContent = _b === void 0 ? this._onRenderContent : _b;\n return (React.createElement(Callout_1.Callout, __assign({ className: Utilities_1.css('ms-Tooltip', Styling_1.AnimationClassNames.fadeIn200, styles.root, (_c = {},\n _c[styles.hasMediumDelay] = delay === Tooltip_Props_1.TooltipDelay.medium,\n _c)), targetElement: targetElement, directionalHint: directionalHint }, calloutProps, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties)),\n React.createElement(\"div\", { className: Utilities_1.css('ms-Tooltip-content', styles.content), id: id, role: 'tooltip' }, onRenderContent(this.props, this._onRenderContent))));\n var _c;\n };\n Tooltip.prototype._onRenderContent = function (props) {\n return (React.createElement(\"p\", { className: Utilities_1.css('ms-Tooltip-subText', styles.subText) }, props.content));\n };\n return Tooltip;\n}(Utilities_1.BaseComponent));\n// Specify default props values\nTooltip.defaultProps = {\n directionalHint: DirectionalHint_1.DirectionalHint.topCenter,\n delay: Tooltip_Props_1.TooltipDelay.medium,\n calloutProps: {\n isBeakVisible: true,\n beakWidth: 16,\n gapSpace: 0,\n setInitialFocus: true,\n doNotLayer: false\n }\n};\nexports.Tooltip = Tooltip;\n\n"
|
|
},
|
|
{
|
|
"id": 369,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.Props.js",
|
|
"index": 369,
|
|
"index2": 363,
|
|
"size": 305,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 367,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip.Props",
|
|
"loc": "7:9-35"
|
|
},
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip.Props",
|
|
"loc": "25:22-48"
|
|
},
|
|
{
|
|
"moduleId": 371,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip.Props",
|
|
"loc": "33:22-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TooltipDelay;\n(function (TooltipDelay) {\n TooltipDelay[TooltipDelay[\"zero\"] = 0] = \"zero\";\n TooltipDelay[TooltipDelay[\"medium\"] = 1] = \"medium\";\n})(TooltipDelay = exports.TooltipDelay || (exports.TooltipDelay = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 370,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.scss.js",
|
|
"index": 370,
|
|
"index2": 364,
|
|
"size": 789,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 368,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\Tooltip.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/Tooltip.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./Tooltip.scss",
|
|
"loc": "28:19-44"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n root: 'root_9f132af5',\n hasMediumDelay: 'hasMediumDelay_9f132af5',\n content: 'content_9f132af5',\n subText: 'subText_9f132af5',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".root_9f132af5{max-width:364px;background:\" }, { \"theme\": \"white\", \"defaultValue\": \"#ffffff\" }, { \"rawString\": \";padding:8px;pointer-events:none}.root_9f132af5.hasMediumDelay_9f132af5{-webkit-animation-delay:.3s;animation-delay:.3s}.content_9f132af5{font-size:12px;color:\" }, { \"theme\": \"neutralPrimary\", \"defaultValue\": \"#333333\" }, { \"rawString\": \";word-wrap:break-word;overflow-wrap:break-word}.subText_9f132af5{margin:0}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 371,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"index": 371,
|
|
"index2": 368,
|
|
"size": 5245,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 367,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TooltipHost",
|
|
"loc": "8:9-33"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable:no-unused-variable */\nvar React = require(\"react\");\n/* tslint:enable:no-unused-variable */\nvar Utilities_1 = require(\"../../Utilities\");\nvar TooltipHost_Props_1 = require(\"./TooltipHost.Props\");\nvar Tooltip_1 = require(\"./Tooltip\");\nvar Tooltip_Props_1 = require(\"./Tooltip.Props\");\nvar stylesImport = require(\"./TooltipHost.scss\");\nvar styles = stylesImport;\nvar TooltipHost = (function (_super) {\n __extends(TooltipHost, _super);\n // Constructor\n function TooltipHost(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n isTooltipVisible: false\n };\n return _this;\n }\n // Render\n TooltipHost.prototype.render = function () {\n var _a = this.props, calloutProps = _a.calloutProps, tooltipProps = _a.tooltipProps, content = _a.content, children = _a.children, directionalHint = _a.directionalHint, delay = _a.delay, id = _a.id, hostClassName = _a.hostClassName;\n var isTooltipVisible = this.state.isTooltipVisible;\n var tooltipId = id || Utilities_1.getId('tooltip');\n return (React.createElement(\"div\", __assign({ className: Utilities_1.css('ms-TooltipHost', styles.host, hostClassName), ref: this._resolveRef('_tooltipHost') }, { onFocusCapture: this._onTooltipMouseEnter }, { onBlurCapture: this._onTooltipMouseLeave }, { onMouseEnter: this._onTooltipMouseEnter, onMouseLeave: this._onTooltipMouseLeave, \"aria-describedby\": isTooltipVisible ? tooltipId : undefined }),\n children,\n isTooltipVisible && (React.createElement(Tooltip_1.Tooltip, __assign({}, tooltipProps, { id: tooltipId, delay: delay, content: content, targetElement: this._getTargetElement(), directionalHint: directionalHint, calloutProps: Utilities_1.assign(calloutProps, { onDismiss: this._onTooltipCallOutDismiss }) }, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties))))));\n };\n TooltipHost.prototype._getTargetElement = function () {\n var overflowMode = this.props.overflowMode;\n // Select target element based on overflow mode. For parent mode, you want to position the tooltip relative\n // to the parent element, otherwise it might look off.\n if (overflowMode !== undefined) {\n switch (overflowMode) {\n case TooltipHost_Props_1.TooltipOverflowMode.Parent:\n return this._tooltipHost.parentElement;\n case TooltipHost_Props_1.TooltipOverflowMode.Self:\n return this._tooltipHost;\n }\n }\n return this._tooltipHost;\n };\n // Show Tooltip\n TooltipHost.prototype._onTooltipMouseEnter = function (ev) {\n var overflowMode = this.props.overflowMode;\n if (overflowMode !== undefined) {\n var overflowElement = this._getTargetElement();\n if (overflowElement && !Utilities_1.hasOverflow(overflowElement)) {\n return;\n }\n }\n this.setState({\n isTooltipVisible: true\n });\n };\n // Hide Tooltip\n TooltipHost.prototype._onTooltipMouseLeave = function (ev) {\n this.setState({\n isTooltipVisible: false\n });\n };\n // Hide Tooltip\n TooltipHost.prototype._onTooltipCallOutDismiss = function () {\n this.setState({\n isTooltipVisible: false\n });\n };\n return TooltipHost;\n}(Utilities_1.BaseComponent));\nTooltipHost.defaultProps = {\n delay: Tooltip_Props_1.TooltipDelay.medium\n};\n__decorate([\n Utilities_1.autobind\n], TooltipHost.prototype, \"_onTooltipMouseEnter\", null);\n__decorate([\n Utilities_1.autobind\n], TooltipHost.prototype, \"_onTooltipMouseLeave\", null);\n__decorate([\n Utilities_1.autobind\n], TooltipHost.prototype, \"_onTooltipCallOutDismiss\", null);\nexports.TooltipHost = TooltipHost;\n\n"
|
|
},
|
|
{
|
|
"id": 372,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.Props.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.Props.js",
|
|
"index": 372,
|
|
"index2": 366,
|
|
"size": 504,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 367,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\index.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/index.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TooltipHost.Props",
|
|
"loc": "9:9-39"
|
|
},
|
|
{
|
|
"moduleId": 371,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TooltipHost.Props",
|
|
"loc": "31:26-56"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TooltipOverflowMode;\n(function (TooltipOverflowMode) {\n /** Only show tooltip if parent DOM element is overflowing */\n TooltipOverflowMode[TooltipOverflowMode[\"Parent\"] = 0] = \"Parent\";\n /** Only show tooltip if tooltip host's content is overflowing */\n TooltipOverflowMode[TooltipOverflowMode[\"Self\"] = 1] = \"Self\";\n})(TooltipOverflowMode = exports.TooltipOverflowMode || (exports.TooltipOverflowMode = {}));\n\n"
|
|
},
|
|
{
|
|
"id": 373,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.scss.js",
|
|
"name": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.scss.js",
|
|
"index": 373,
|
|
"index2": 367,
|
|
"size": 282,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 371,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\office-ui-fabric-react\\lib\\components\\Tooltip\\TooltipHost.js",
|
|
"module": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"moduleName": "./~/office-ui-fabric-react/lib/components/Tooltip/TooltipHost.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TooltipHost.scss",
|
|
"loc": "34:19-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nvar load_themed_styles_1 = require(\"@microsoft/load-themed-styles\");\nvar styles = {\n host: 'host_e1b7b906',\n};\nload_themed_styles_1.loadStyles([{ \"rawString\": \".host_e1b7b906{display:inline}\" }]);\nmodule.exports = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 374,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.scss.js",
|
|
"name": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.scss.js",
|
|
"index": 374,
|
|
"index2": 375,
|
|
"size": 303,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 5,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"module": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../MyRecentDocuments.module.scss",
|
|
"loc": "9:38-81"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nrequire('./MyRecentDocuments.module.css');\nvar styles = {\n myRecentDocuments: 'myRecentDocuments_8aec3ad1',\n webPartTitle: 'webPartTitle_8aec3ad1',\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 375,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.css",
|
|
"name": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"index": 375,
|
|
"index2": 374,
|
|
"size": 454,
|
|
"cacheable": false,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.scss.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 374,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.scss.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.scss.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./MyRecentDocuments.module.css",
|
|
"loc": "3:0-41"
|
|
}
|
|
],
|
|
"source": "var content = require(\"!!../../../node_modules/css-loader/index.js?-minimize!./MyRecentDocuments.module.css\");\nvar loader = require(\"E:\\\\spfx-demo\\\\react-officegraph\\\\node_modules\\\\@microsoft\\\\load-themed-styles\\\\lib\\\\index.js\");\n\nif(typeof content === \"string\") content = [[module.id, content]];\n\n// add the styles to the DOM\nfor (var i = 0; i < content.length; i++) loader.loadStyles(content[i][1]);\n\nif(content.locals) module.exports = content.locals;"
|
|
},
|
|
{
|
|
"id": 376,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.css",
|
|
"name": "./~/css-loader?-minimize!./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"index": 376,
|
|
"index2": 373,
|
|
"size": 380,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.css",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 375,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.css",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "!!../../../node_modules/css-loader/index.js?-minimize!./MyRecentDocuments.module.css",
|
|
"loc": "1:14-109"
|
|
}
|
|
],
|
|
"source": "exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".myRecentDocuments_8aec3ad1 .webPartTitle_8aec3ad1{margin-bottom:.7em;margin-left:.38em}.myRecentDocuments_8aec3ad1 .ms-DocumentCard{float:left;margin:.5em}.myRecentDocuments_8aec3ad1 .ms-Spinner{width:7em;margin:0 auto}\", \"\"]);\n\n// exports\n"
|
|
},
|
|
{
|
|
"id": 377,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\lib\\css-base.js",
|
|
"name": "./~/css-loader/lib/css-base.js",
|
|
"index": 377,
|
|
"index2": 372,
|
|
"size": 1506,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 376,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocuments.module.css",
|
|
"module": "./~/css-loader?-minimize!./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"moduleName": "./~/css-loader?-minimize!./lib/webparts/myRecentDocuments/MyRecentDocuments.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../node_modules/css-loader/lib/css-base.js",
|
|
"loc": "1:27-86"
|
|
},
|
|
{
|
|
"moduleId": 386,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"module": "./~/css-loader?-minimize!./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"moduleName": "./~/css-loader?-minimize!./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../node_modules/css-loader/lib/css-base.js",
|
|
"loc": "1:27-86"
|
|
},
|
|
{
|
|
"moduleId": 391,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.css",
|
|
"module": "./~/css-loader?-minimize!./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"moduleName": "./~/css-loader?-minimize!./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../node_modules/css-loader/lib/css-base.js",
|
|
"loc": "1:27-86"
|
|
},
|
|
{
|
|
"moduleId": 396,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.css",
|
|
"module": "./~/css-loader?-minimize!./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"moduleName": "./~/css-loader?-minimize!./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "../../../node_modules/css-loader/lib/css-base.js",
|
|
"loc": "1:27-86"
|
|
}
|
|
],
|
|
"source": "/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n"
|
|
},
|
|
{
|
|
"id": 378,
|
|
"identifier": "external \"@microsoft/sp-http\"",
|
|
"name": "external \"@microsoft/sp-http\"",
|
|
"index": 378,
|
|
"index2": 376,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 5,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"module": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-http",
|
|
"loc": "10:16-45"
|
|
},
|
|
{
|
|
"moduleId": 383,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-http",
|
|
"loc": "10:16-45"
|
|
},
|
|
{
|
|
"moduleId": 393,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"module": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"moduleName": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"type": "cjs require",
|
|
"userRequest": "@microsoft/sp-http",
|
|
"loc": "9:16-45"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 379,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\SearchUtils.js",
|
|
"name": "./lib/webparts/SearchUtils.js",
|
|
"index": 379,
|
|
"index2": 377,
|
|
"size": 1540,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 5,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"module": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../SearchUtils",
|
|
"loc": "11:20-48"
|
|
},
|
|
{
|
|
"moduleId": 383,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../SearchUtils",
|
|
"loc": "11:20-48"
|
|
},
|
|
{
|
|
"moduleId": 393,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"module": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"moduleName": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../SearchUtils",
|
|
"loc": "10:20-48"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar SearchUtils = (function () {\n function SearchUtils() {\n }\n SearchUtils.getValueFromResults = function (key, results) {\n var value = undefined;\n if (results && results.length > 0 && key) {\n for (var i = 0; i < results.length; i++) {\n var resultItem = results[i];\n if (resultItem.Key === key) {\n value = resultItem.Value;\n break;\n }\n }\n }\n return value;\n };\n SearchUtils.getPreviewImageUrl = function (result, siteUrl) {\n var uniqueID = SearchUtils.getValueFromResults('uniqueID', result);\n var siteId = SearchUtils.getValueFromResults('siteID', result);\n var webId = SearchUtils.getValueFromResults('webID', result);\n var docId = SearchUtils.getValueFromResults('DocId', result);\n if (uniqueID && siteId && webId && docId) {\n return siteUrl + \"/_layouts/15/getpreview.ashx?guidFile=\" + uniqueID + \"&guidSite=\" + siteId + \"&guidWeb=\" + webId + \"&docid=\" + docId + \"\\n &metadatatoken=300x424x2&ClientType=CodenameOsloWeb&size=small\";\n }\n else {\n return '';\n }\n };\n SearchUtils.getActionName = function (actionId) {\n switch (actionId) {\n case 1001:\n return 'Viewed';\n case 1003:\n return 'Modified';\n default:\n return '';\n }\n };\n return SearchUtils;\n}());\nexports.SearchUtils = SearchUtils;\n\n"
|
|
},
|
|
{
|
|
"id": 380,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\Utils.js",
|
|
"name": "./lib/webparts/Utils.js",
|
|
"index": 380,
|
|
"index2": 378,
|
|
"size": 513,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0,
|
|
1,
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 5,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\components\\MyRecentDocuments.js",
|
|
"module": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/components/MyRecentDocuments.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utils",
|
|
"loc": "12:14-36"
|
|
},
|
|
{
|
|
"moduleId": 383,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utils",
|
|
"loc": "12:14-36"
|
|
},
|
|
{
|
|
"moduleId": 393,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"module": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"moduleName": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../../Utils",
|
|
"loc": "11:14-36"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar Utils = (function () {\n function Utils() {\n }\n Utils.getUserPhotoUrl = function (userEmail, siteUrl, size) {\n if (size === void 0) { size = 'S'; }\n return siteUrl + \"/_layouts/15/userphoto.aspx?size=\" + size + \"&accountname=\" + userEmail;\n };\n Utils.trim = function (s) {\n if (s && s.length > 0) {\n return s.replace(/^\\s+|\\s+$/gm, '');\n }\n else {\n return s;\n }\n };\n return Utils;\n}());\nexports.Utils = Utils;\n\n"
|
|
},
|
|
{
|
|
"id": 381,
|
|
"identifier": "external \"myRecentDocumentsStrings\"",
|
|
"name": "external \"myRecentDocumentsStrings\"",
|
|
"index": 381,
|
|
"index2": 380,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
0
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\myRecentDocuments\\MyRecentDocumentsWebPart.js",
|
|
"module": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"moduleName": "./lib/webparts/myRecentDocuments/MyRecentDocumentsWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "myRecentDocumentsStrings",
|
|
"loc": "12:14-49"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 382,
|
|
"identifier": "external \"trendingInTheSitesIFollowStrings\"",
|
|
"name": "external \"trendingInTheSitesIFollowStrings\"",
|
|
"index": 383,
|
|
"index2": 382,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "trendingInTheSitesIFollowStrings",
|
|
"loc": "11:14-57"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 383,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"name": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"index": 384,
|
|
"index2": 386,
|
|
"size": 11022,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollowWebPart.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollowWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/TrendingInTheSitesIFollow",
|
|
"loc": "12:34-83"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar React = require(\"react\");\nvar office_ui_fabric_react_1 = require(\"office-ui-fabric-react\");\nvar TrendingInTheSitesIFollow_module_scss_1 = require(\"../TrendingInTheSitesIFollow.module.scss\");\nvar sp_http_1 = require(\"@microsoft/sp-http\");\nvar SearchUtils_1 = require(\"../../SearchUtils\");\nvar Utils_1 = require(\"../../Utils\");\nvar TrendingInTheSitesIFollow = (function (_super) {\n __extends(TrendingInTheSitesIFollow, _super);\n function TrendingInTheSitesIFollow(props, state) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n trendingDocuments: [],\n loading: true,\n error: null\n };\n return _this;\n }\n TrendingInTheSitesIFollow.prototype.componentDidMount = function () {\n this.loadDocuments(this.props.siteUrl, this.props.numberOfDocuments);\n };\n TrendingInTheSitesIFollow.prototype.componentDidUpdate = function (prevProps, prevState, prevContext) {\n if (this.props.numberOfDocuments !== prevProps.numberOfDocuments ||\n this.props.siteUrl !== prevProps.siteUrl && (this.props.numberOfDocuments && this.props.siteUrl)) {\n this.loadDocuments(this.props.siteUrl, this.props.numberOfDocuments);\n }\n };\n TrendingInTheSitesIFollow.prototype.render = function () {\n var loading = this.state.loading ? React.createElement(\"div\", { style: { margin: '0 auto' } },\n React.createElement(office_ui_fabric_react_1.Spinner, { label: 'Loading...' })) : React.createElement(\"div\", null);\n var error = this.state.error ? React.createElement(\"div\", null,\n React.createElement(\"strong\", null, \"Error: \"),\n \" \",\n this.state.error) : React.createElement(\"div\", null);\n var documents = this.state.trendingDocuments.map(function (doc, i) {\n var iconUrl = \"https://spoprod-a.akamaihd.net/files/odsp-next-prod_ship-2016-08-15_20160815.002/odsp-media/images/filetypes/32/\" + doc.extension + \".png\";\n return (React.createElement(office_ui_fabric_react_1.DocumentCard, { onClickHref: doc.url, key: doc.id },\n React.createElement(office_ui_fabric_react_1.DocumentCardPreview, { previewImages: [\n {\n previewImageSrc: doc.previewImageUrl,\n iconSrc: iconUrl,\n width: 318,\n height: 196,\n accentColor: '#ce4b1f'\n }\n ] }),\n React.createElement(office_ui_fabric_react_1.DocumentCardTitle, { title: doc.title }),\n React.createElement(office_ui_fabric_react_1.DocumentCardLocation, { location: doc.webTitle, locationHref: doc.webUrl }),\n React.createElement(office_ui_fabric_react_1.DocumentCardActivity, { activity: doc.activity.name + \" \" + doc.activity.date, people: [\n { name: doc.activity.actorName, profileImageSrc: doc.activity.actorPhotoUrl }\n ] })));\n });\n return (React.createElement(\"div\", { className: TrendingInTheSitesIFollow_module_scss_1.default.trendingInTheSitesIFollow },\n React.createElement(\"div\", { className: office_ui_fabric_react_1.css('ms-font-xl', TrendingInTheSitesIFollow_module_scss_1.default.webPartTitle) }, this.props.title),\n loading,\n error,\n documents,\n React.createElement(\"div\", { style: { clear: 'both' } })));\n };\n TrendingInTheSitesIFollow.prototype.loadDocuments = function (siteUrl, numberOfDocuments) {\n var _this = this;\n this.setState({\n loading: true,\n error: undefined,\n trendingDocuments: []\n });\n var trendingDocuments = [];\n this.getSitesIFollow(siteUrl)\n .then(function (sitesIFollow) {\n return _this.getTrendingDocuments(sitesIFollow, siteUrl, numberOfDocuments);\n })\n .then(function (trendingDocuments) {\n _this.setState({\n loading: false,\n error: undefined,\n trendingDocuments: trendingDocuments\n });\n }, function (error) {\n _this.setState({\n loading: false,\n error: error,\n trendingDocuments: []\n });\n });\n return;\n };\n TrendingInTheSitesIFollow.prototype.getSitesIFollow = function (siteUrl) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n _this.props.httpClient.get(siteUrl + \"/_api/social.following/my/followed(types=4)\", sp_http_1.SPHttpClient.configurations.v1, {\n headers: {\n 'Accept': 'application/json;odata=nometadata',\n 'odata-version': ''\n }\n })\n .then(function (response) {\n return response.json();\n })\n .then(function (sitesIFollowInfo) {\n var sitesIFollow = [];\n for (var i = 0; i < sitesIFollowInfo.value.length; i++) {\n sitesIFollow.push(sitesIFollowInfo.value[i].Uri);\n }\n resolve(sitesIFollow);\n }, function (error) {\n reject(error);\n });\n });\n };\n TrendingInTheSitesIFollow.prototype.getTrendingDocuments = function (sitesIFollow, siteUrl, numberOfDocuments) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n if (sitesIFollow.length === 0) {\n return resolve([]);\n }\n var query = '(';\n for (var i = 0; i < sitesIFollow.length; i++) {\n if (query.length > 1) {\n query += ' OR ';\n }\n query += \"Path:\\\"\" + sitesIFollow[i] + \"\\\"\";\n }\n query += ') AND (IsDocument:1)';\n var postData = JSON.stringify({\n 'request': {\n '__metadata': {\n 'type': 'Microsoft.Office.Server.Search.REST.SearchRequest'\n },\n 'Querytext': query,\n 'SelectProperties': {\n 'results': ['Author', 'AuthorOwsUser', 'DocId', 'DocumentPreviewMetadata', 'Edges', 'EditorOwsUser', 'FileExtension', 'FileType', 'HitHighlightedProperties', 'HitHighlightedSummary', 'LastModifiedTime', 'LikeCountLifetime', 'ListID', 'ListItemID', 'OriginalPath', 'Path', 'Rank', 'SPWebUrl', 'SecondaryFileExtension', 'ServerRedirectedURL', 'SiteTitle', 'Title', 'ViewCountLifetime', 'siteID', 'uniqueID', 'webID']\n },\n 'ClientType': 'TrendingInTheSitesIFollow',\n 'BypassResultTypes': 'true',\n 'RowLimit': numberOfDocuments,\n 'StartRow': '0',\n 'RankingModelId': '0c77ded8-c3ef-466d-929d-905670ea1d72',\n 'Properties': {\n 'results': [{\n 'Name': 'IncludeExternalContent',\n 'Value': {\n 'BoolVal': 'True',\n 'QueryPropertyValueTypeIndex': 3\n }\n }, {\n 'Name': 'GraphQuery',\n 'Value': {\n 'StrVal': 'actor(ME,action:1021)',\n 'QueryPropertyValueTypeIndex': 1\n }\n }]\n }\n }\n });\n _this.props.httpClient.post(siteUrl + \"/_api/search/postquery\", sp_http_1.SPHttpClient.configurations.v1, {\n headers: {\n 'Accept': 'application/json;odata=nometadata',\n 'Content-type': 'application/json;odata=verbose',\n 'odata-version': ''\n },\n body: postData\n })\n .then(function (response) {\n return response.json();\n })\n .then(function (response) {\n if (!response ||\n !response.PrimaryQueryResult ||\n !response.PrimaryQueryResult.RelevantResults ||\n response.PrimaryQueryResult.RelevantResults.RowCount === 0) {\n resolve([]);\n return;\n }\n var trendingDocuments = [];\n for (var i = 0; i < response.PrimaryQueryResult.RelevantResults.Table.Rows.length; i++) {\n var row = response.PrimaryQueryResult.RelevantResults.Table.Rows[i];\n var cells = row.Cells;\n var editorInfo = SearchUtils_1.SearchUtils.getValueFromResults('EditorOwsUser', cells).split('|');\n var modifiedDate = new Date(SearchUtils_1.SearchUtils.getValueFromResults('LastModifiedTime', cells).replace('.0000000', ''));\n var dateString = (modifiedDate.getMonth() + 1) + '/' + modifiedDate.getDate() + '/' + modifiedDate.getFullYear();\n trendingDocuments.push({\n id: SearchUtils_1.SearchUtils.getValueFromResults('DocId', cells),\n url: SearchUtils_1.SearchUtils.getValueFromResults('ServerRedirectedURL', cells),\n webUrl: SearchUtils_1.SearchUtils.getValueFromResults('SPWebUrl', cells),\n webTitle: SearchUtils_1.SearchUtils.getValueFromResults('SiteTitle', cells),\n title: SearchUtils_1.SearchUtils.getValueFromResults('Title', cells),\n previewImageUrl: SearchUtils_1.SearchUtils.getPreviewImageUrl(cells, siteUrl),\n extension: SearchUtils_1.SearchUtils.getValueFromResults('FileType', cells),\n activity: {\n actorId: -1,\n actorName: Utils_1.Utils.trim(editorInfo[1]),\n actorPhotoUrl: Utils_1.Utils.getUserPhotoUrl(Utils_1.Utils.trim(editorInfo[0]), siteUrl),\n date: dateString,\n name: 'Modified'\n }\n });\n }\n resolve(trendingDocuments);\n }, function (error) {\n reject(error);\n });\n });\n };\n return TrendingInTheSitesIFollow;\n}(React.Component));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = TrendingInTheSitesIFollow;\n\n"
|
|
},
|
|
{
|
|
"id": 384,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.scss.js",
|
|
"name": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.scss.js",
|
|
"index": 385,
|
|
"index2": 385,
|
|
"size": 327,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 383,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\components\\TrendingInTheSitesIFollow.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/components/TrendingInTheSitesIFollow.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../TrendingInTheSitesIFollow.module.scss",
|
|
"loc": "9:46-97"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nrequire('./TrendingInTheSitesIFollow.module.css');\nvar styles = {\n trendingInTheSitesIFollow: 'trendingInTheSitesIFollow_e41074f2',\n webPartTitle: 'webPartTitle_e41074f2',\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 385,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"name": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"index": 386,
|
|
"index2": 384,
|
|
"size": 462,
|
|
"cacheable": false,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.scss.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 384,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.scss.js",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.scss.js",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TrendingInTheSitesIFollow.module.css",
|
|
"loc": "3:0-49"
|
|
}
|
|
],
|
|
"source": "var content = require(\"!!../../../node_modules/css-loader/index.js?-minimize!./TrendingInTheSitesIFollow.module.css\");\nvar loader = require(\"E:\\\\spfx-demo\\\\react-officegraph\\\\node_modules\\\\@microsoft\\\\load-themed-styles\\\\lib\\\\index.js\");\n\nif(typeof content === \"string\") content = [[module.id, content]];\n\n// add the styles to the DOM\nfor (var i = 0; i < content.length; i++) loader.loadStyles(content[i][1]);\n\nif(content.locals) module.exports = content.locals;"
|
|
},
|
|
{
|
|
"id": 386,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"name": "./~/css-loader?-minimize!./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"index": 387,
|
|
"index2": 383,
|
|
"size": 404,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
1
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 385,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInTheSitesIFollow\\TrendingInTheSitesIFollow.module.css",
|
|
"module": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"moduleName": "./lib/webparts/trendingInTheSitesIFollow/TrendingInTheSitesIFollow.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "!!../../../node_modules/css-loader/index.js?-minimize!./TrendingInTheSitesIFollow.module.css",
|
|
"loc": "1:14-117"
|
|
}
|
|
],
|
|
"source": "exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".trendingInTheSitesIFollow_e41074f2 .webPartTitle_e41074f2{margin-bottom:.7em;margin-left:.38em}.trendingInTheSitesIFollow_e41074f2 .ms-DocumentCard{float:left;margin:.5em}.trendingInTheSitesIFollow_e41074f2 .ms-Spinner{width:7em;margin:0 auto}\", \"\"]);\n\n// exports\n"
|
|
},
|
|
{
|
|
"id": 387,
|
|
"identifier": "external \"trendingInThisSiteStrings\"",
|
|
"name": "external \"trendingInThisSiteStrings\"",
|
|
"index": 389,
|
|
"index2": 388,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "trendingInThisSiteStrings",
|
|
"loc": "11:14-50"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 388,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\components\\TrendingInThisSite.js",
|
|
"name": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"index": 390,
|
|
"index2": 392,
|
|
"size": 16955,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSiteWebPart.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSiteWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/TrendingInThisSite",
|
|
"loc": "12:27-69"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar React = require(\"react\");\nvar office_ui_fabric_react_1 = require(\"office-ui-fabric-react\");\nvar TrendingInThisSite_module_scss_1 = require(\"../TrendingInThisSite.module.scss\");\nvar TrendingInThisSite = (function (_super) {\n __extends(TrendingInThisSite, _super);\n function TrendingInThisSite(props, state) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n trendingDocuments: [],\n loading: true,\n error: null\n };\n return _this;\n }\n TrendingInThisSite.prototype.componentDidMount = function () {\n this.loadTrendingContent(this.props.siteUrl, this.props.numberOfDocuments);\n };\n TrendingInThisSite.prototype.componentDidUpdate = function (prevProps, prevState, prevContext) {\n if (this.props.numberOfDocuments !== prevProps.numberOfDocuments ||\n this.props.siteUrl !== prevProps.siteUrl && (this.props.numberOfDocuments && this.props.siteUrl)) {\n this.loadTrendingContent(this.props.siteUrl, this.props.numberOfDocuments);\n }\n };\n TrendingInThisSite.prototype.render = function () {\n var loading = this.state.loading ? React.createElement(\"div\", { style: { margin: '0 auto' } },\n React.createElement(office_ui_fabric_react_1.Spinner, { label: 'Loading...' })) : React.createElement(\"div\", null);\n var error = this.state.error ? React.createElement(\"div\", null,\n React.createElement(\"strong\", null, \"Error:\"),\n \" \",\n this.state.error) : React.createElement(\"div\", null);\n var documents = this.state.trendingDocuments.map(function (doc, i) {\n var iconUrl = \"https://spoprod-a.akamaihd.net/files/odsp-next-prod_ship-2016-08-15_20160815.002/odsp-media/images/filetypes/32/\" + doc.extension + \".png\";\n return (React.createElement(office_ui_fabric_react_1.DocumentCard, { onClickHref: doc.url, key: doc.id },\n React.createElement(office_ui_fabric_react_1.DocumentCardPreview, { previewImages: [\n {\n previewImageSrc: doc.previewImageUrl,\n iconSrc: iconUrl,\n width: 318,\n height: 196,\n accentColor: '#ce4b1f'\n }\n ] }),\n React.createElement(office_ui_fabric_react_1.DocumentCardTitle, { title: doc.title }),\n React.createElement(office_ui_fabric_react_1.DocumentCardActivity, { activity: 'Modified ' + doc.lastModifiedTime, people: [\n { name: doc.lastModifiedByName, profileImageSrc: doc.lastModifiedByPhotoUrl }\n ] })));\n });\n return (React.createElement(\"div\", { className: TrendingInThisSite_module_scss_1.default.trendingInThisSite },\n loading,\n error,\n documents,\n React.createElement(\"div\", { style: { clear: 'both' } })));\n };\n TrendingInThisSite.prototype.getValueFromResults = function (key, results) {\n var value = '';\n if (results != null && results.length > 0 && key != null) {\n for (var i = 0; i < results.length; i++) {\n var resultItem = results[i];\n if (resultItem.Key === key) {\n value = resultItem.Value;\n break;\n }\n }\n }\n return value;\n };\n TrendingInThisSite.prototype.trim = function (s) {\n if (s != null && s.length > 0) {\n return s.replace(/^\\s+|\\s+$/gm, '');\n }\n else {\n return s;\n }\n };\n TrendingInThisSite.prototype.getPreviewImageUrl = function (result, siteUrl) {\n var uniqueID = this.getValueFromResults('uniqueID', result);\n var siteId = this.getValueFromResults('siteID', result);\n var webId = this.getValueFromResults('webID', result);\n var docId = this.getValueFromResults('DocId', result);\n if (uniqueID !== null && siteId !== null && webId !== null && docId !== null) {\n return siteUrl + \"/_layouts/15/getpreview.ashx?guidFile=\" + uniqueID + \"&guidSite=\" + siteId + \"&guidWeb=\" + webId + \"&docid=\" + docId + \"\\n &metadatatoken=300x424x2&ClientType=CodenameOsloWeb&size=small\";\n }\n else {\n return '';\n }\n };\n TrendingInThisSite.prototype.getUserPhotoUrl = function (userEmail, siteUrl) {\n return siteUrl + \"/_layouts/15/userphoto.aspx?size=S&accountname=\" + userEmail;\n };\n TrendingInThisSite.prototype.request = function (url, method, headers, data) {\n if (method === void 0) { method = 'GET'; }\n if (headers === void 0) { headers = null; }\n if (data === void 0) { data = null; }\n return new Promise(function (resolve, reject) {\n var xhr = new XMLHttpRequest();\n xhr.onreadystatechange = function () {\n if (this.readyState === 4) {\n if (this.status === 200) {\n resolve(this.response);\n }\n else if (this.status >= 400) {\n reject({\n message: this.response['odata.error'].message.value,\n statusText: this.statusText,\n status: this.status\n });\n }\n }\n };\n xhr.open(method, url, true);\n if (headers === null) {\n xhr.setRequestHeader('Accept', 'application/json;odata=nometadata');\n }\n else {\n for (var header in headers) {\n if (headers.hasOwnProperty(header)) {\n xhr.setRequestHeader(header, headers[header]);\n }\n }\n }\n xhr.responseType = 'json';\n xhr.send(data);\n });\n };\n TrendingInThisSite.prototype.getSiteMembers = function (siteUrl) {\n var component = this;\n return new Promise(function (resolve, reject) {\n component.request(siteUrl + \"/_api/Web/AssociatedMemberGroup/Users?$select=Email\").then(function (members) {\n var siteMembers = [];\n for (var i = 0; i < members.value.length; i++) {\n siteMembers.push(members.value[i].Email);\n }\n resolve(siteMembers);\n }, function (error) {\n reject(error);\n });\n });\n };\n TrendingInThisSite.prototype.getActors = function (siteMembers, requestDigest, siteUrl) {\n var component = this;\n var query = '';\n siteMembers.forEach(function (member) {\n if (query.length > 0) {\n query += ' OR ';\n }\n query += \"UserName:\" + member;\n });\n var postData = JSON.stringify({\n 'request': {\n '__metadata': {\n 'type': 'Microsoft.Office.Server.Search.REST.SearchRequest'\n },\n 'Querytext': query,\n 'SelectProperties': {\n 'results': ['DocId', 'WorkEmail']\n },\n 'RowLimit': '100',\n 'StartRow': '0',\n 'SourceId': 'b09a7990-05ea-4af9-81ef-edfab16c4e31'\n }\n });\n return new Promise(function (resolve, reject) {\n component.request(siteUrl + \"/_api/search/postquery\", 'POST', {\n 'Accept': 'application/json;odata=nometadata',\n 'Content-Type': 'application/json;odata=verbose',\n 'X-RequestDigest': requestDigest\n }, postData).then(function (data) {\n if (data && data.PrimaryQueryResult && data.PrimaryQueryResult.RelevantResults) {\n var actors_1 = [];\n data.PrimaryQueryResult.RelevantResults.Table.Rows.forEach(function (row) {\n var actorId = component.getValueFromResults('DocId', row.Cells);\n if (actorId != null && actorId.length > 0) {\n actors_1.push(actorId);\n }\n });\n resolve(actors_1);\n }\n else {\n reject();\n }\n }, function (error) {\n reject(error);\n });\n });\n };\n TrendingInThisSite.prototype.getTrendingContent = function (siteUrl, actors, requestDigest) {\n var component = this;\n var gq = '';\n if (actors.length > 1) {\n actors.forEach(function (actor) {\n if (gq.length > 0) {\n gq += ',';\n }\n gq += \"actor(\" + actor + \",action:1020)\";\n });\n gq += ',and(actor(me,action:1021),actor(me,or(action:1021,action:1036,action:1037,action:1039)))';\n gq = \"or(\" + gq + \")\";\n }\n else {\n gq = \"or(actor(\" + actors[0] + \",action:1020),and(actor(me,action:1021),actor(me,or(action:1021,action:1036,action:1037,action:1039))))\";\n }\n siteUrl = siteUrl.replace(':443/', '/');\n var postData = JSON.stringify({\n 'request': {\n '__metadata': {\n 'type': 'Microsoft.Office.Server.Search.REST.SearchRequest'\n },\n 'Querytext': 'path:' + siteUrl,\n 'SelectProperties': {\n 'results': ['Author', 'AuthorOwsUser', 'DocId', 'DocumentPreviewMetadata', 'Edges', 'EditorOwsUser', 'FileExtension', 'FileType', 'HitHighlightedProperties', 'HitHighlightedSummary', 'LastModifiedTime', 'LikeCountLifetime', 'ListID', 'ListItemID', 'OriginalPath', 'Path', 'Rank', 'SPWebUrl', 'SecondaryFileExtension', 'ServerRedirectedURL', 'SiteTitle', 'Title', 'ViewCountLifetime', 'siteID', 'uniqueID', 'webID']\n },\n 'ClientType': 'TrendingInThisSite',\n 'BypassResultTypes': 'true',\n 'RowLimit': component.props.numberOfDocuments.toString(),\n 'StartRow': '0',\n 'RankingModelId': '0c77ded8-c3ef-466d-929d-905670ea1d72',\n 'Properties': {\n 'results': [{\n 'Name': 'IncludeExternalContent',\n 'Value': {\n 'BoolVal': 'True',\n 'QueryPropertyValueTypeIndex': 3\n }\n }, {\n 'Name': 'GraphQuery',\n 'Value': {\n 'StrVal': gq,\n 'QueryPropertyValueTypeIndex': 1\n }\n }, {\n 'Name': 'GraphRankingModel',\n 'Value': {\n 'StrVal': '{\"features\":[{\"function\":\"EdgeWeight\"}],\"featureCombination\":\"sum\",\"actorCombination\":\"sum\"}',\n 'QueryPropertyValueTypeIndex': 1\n }\n }]\n }\n }\n });\n return new Promise(function (resolve, reject) {\n component.request(siteUrl + \"/_api/search/postquery\", 'POST', {\n 'Accept': 'application/json;odata=nometadata',\n 'Content-Type': 'application/json;odata=verbose',\n 'X-RequestDigest': requestDigest\n }, postData).then(function (data) {\n var trendingContent = [];\n if (data.PrimaryQueryResult && data.PrimaryQueryResult.RelevantResults &&\n data.PrimaryQueryResult.RelevantResults.Table.Rows.length > 0) {\n data.PrimaryQueryResult.RelevantResults.Table.Rows.forEach(function (row) {\n var cells = row.Cells;\n var editorInfo = component.getValueFromResults('EditorOwsUser', cells).split('|');\n var modifiedDate = new Date(component.getValueFromResults('LastModifiedTime', cells).replace('.0000000', ''));\n var dateString = (modifiedDate.getMonth() + 1) + '/' + modifiedDate.getDate() + '/' + modifiedDate.getFullYear();\n trendingContent.push({\n id: component.getValueFromResults('DocId', cells),\n url: component.getValueFromResults('ServerRedirectedURL', cells),\n title: component.getValueFromResults('Title', cells),\n previewImageUrl: component.getPreviewImageUrl(cells, siteUrl),\n lastModifiedTime: dateString,\n lastModifiedByName: component.trim(editorInfo[1]),\n lastModifiedByPhotoUrl: component.getUserPhotoUrl(component.trim(editorInfo[0]), siteUrl),\n extension: component.getValueFromResults('FileType', cells)\n });\n });\n }\n resolve(trendingContent);\n }, function (error) {\n reject(error);\n });\n });\n };\n TrendingInThisSite.prototype.loadTrendingContent = function (siteUrl, numberOfDocuments) {\n var component = this;\n var requestDigest = null;\n component.getRequestDigest(siteUrl)\n .then(function (digest) {\n requestDigest = digest;\n }, function (err) {\n component.handleError(err);\n })\n .then(function () {\n return component.getSiteMembers(siteUrl);\n }, function (err) {\n component.handleError(err);\n })\n .then(function (siteMembers) {\n return component.getActors(siteMembers, requestDigest, siteUrl);\n }, function (err) {\n component.handleError(err);\n })\n .then(function (actors) {\n return component.getTrendingContent(siteUrl, actors, requestDigest);\n }, function (err) {\n component.handleError(err);\n })\n .then(function (trendingDocuments) {\n component.setState(function (previousState, curProps) {\n previousState.trendingDocuments.length = 0;\n return previousState;\n });\n trendingDocuments.forEach(function (result) {\n component.setState(function (previousState, curProps) {\n previousState.trendingDocuments.push(result);\n return previousState;\n });\n });\n component.setState(function (previousState, curProps) {\n previousState.loading = false;\n return previousState;\n });\n }, function (err) {\n component.handleError(err);\n });\n };\n TrendingInThisSite.prototype.handleError = function (err) {\n if (err.responseJSON && err.responseJSON.error) {\n this.setState(function (previousState, curProps) {\n previousState.error = \"The following error has occured while running the query: \" + err.responseJSON.error.message.value;\n return previousState;\n });\n }\n else if (err.responseJSON && err.responseJSON[\"odata.error\"]) {\n this.setState(function (previousState, curProps) {\n previousState.error = \"The following error has occured while running the query: \" + err.responseJSON[\"odata.error\"].message.value;\n return previousState;\n });\n }\n else {\n this.setState(function (previousState, curProps) {\n previousState.error = \"An unexpected error occured while running the query\";\n return previousState;\n });\n }\n this.setState(function (previousState, curProps) {\n previousState.loading = false;\n return previousState;\n });\n };\n TrendingInThisSite.prototype.getRequestDigest = function (siteUrl) {\n var component = this;\n return new Promise(function (resolve, reject) {\n component.request(siteUrl + \"/_api/contextinfo\", 'POST').then(function (data) {\n resolve(data.FormDigestValue);\n }, function (error) {\n reject(error);\n });\n });\n };\n return TrendingInThisSite;\n}(React.Component));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = TrendingInThisSite;\n\n"
|
|
},
|
|
{
|
|
"id": 389,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.scss.js",
|
|
"name": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.scss.js",
|
|
"index": 391,
|
|
"index2": 391,
|
|
"size": 391,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\components\\TrendingInThisSite.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 388,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\components\\TrendingInThisSite.js",
|
|
"module": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/components/TrendingInThisSite.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../TrendingInThisSite.module.scss",
|
|
"loc": "9:39-83"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nrequire('./TrendingInThisSite.module.css');\nvar styles = {\n trendingInThisSite: 'trendingInThisSite_2a33a9c5',\n container: 'container_2a33a9c5',\n row: 'row_2a33a9c5',\n listItem: 'listItem_2a33a9c5',\n button: 'button_2a33a9c5',\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 390,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.css",
|
|
"name": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"index": 392,
|
|
"index2": 390,
|
|
"size": 455,
|
|
"cacheable": false,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.scss.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 389,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.scss.js",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.scss.js",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./TrendingInThisSite.module.css",
|
|
"loc": "3:0-42"
|
|
}
|
|
],
|
|
"source": "var content = require(\"!!../../../node_modules/css-loader/index.js?-minimize!./TrendingInThisSite.module.css\");\nvar loader = require(\"E:\\\\spfx-demo\\\\react-officegraph\\\\node_modules\\\\@microsoft\\\\load-themed-styles\\\\lib\\\\index.js\");\n\nif(typeof content === \"string\") content = [[module.id, content]];\n\n// add the styles to the DOM\nfor (var i = 0; i < content.length; i++) loader.loadStyles(content[i][1]);\n\nif(content.locals) module.exports = content.locals;"
|
|
},
|
|
{
|
|
"id": 391,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.css",
|
|
"name": "./~/css-loader?-minimize!./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"index": 393,
|
|
"index2": 389,
|
|
"size": 735,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
2
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.css",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 390,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\trendingInThisSite\\TrendingInThisSite.module.css",
|
|
"module": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"moduleName": "./lib/webparts/trendingInThisSite/TrendingInThisSite.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "!!../../../node_modules/css-loader/index.js?-minimize!./TrendingInThisSite.module.css",
|
|
"loc": "1:14-110"
|
|
}
|
|
],
|
|
"source": "exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".trendingInThisSite_2a33a9c5 .container_2a33a9c5{max-width:700px;margin:0 auto;box-shadow:0 2px 4px 0 rgba(0,0,0,.2),0 25px 50px 0 rgba(0,0,0,.1)}.trendingInThisSite_2a33a9c5 .row_2a33a9c5{padding:20px}.trendingInThisSite_2a33a9c5 .listItem_2a33a9c5{max-width:715px;margin:5px auto 5px auto;box-shadow:0 0 4px 0 rgba(0,0,0,.2),0 25px 50px 0 rgba(0,0,0,.1)}.trendingInThisSite_2a33a9c5 .button_2a33a9c5{text-decoration:none}.trendingInThisSite_2a33a9c5 [class*='ms-DocumentCard ']{float:left;margin:.5em}.trendingInThisSite_2a33a9c5 [class=ms-Spinner]{width:7em;margin:0 auto}\", \"\"]);\n\n// exports\n"
|
|
},
|
|
{
|
|
"id": 392,
|
|
"identifier": "external \"workingWithStrings\"",
|
|
"name": "external \"workingWithStrings\"",
|
|
"index": 395,
|
|
"index2": 394,
|
|
"size": 42,
|
|
"cacheable": false,
|
|
"built": false,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "workingWithStrings",
|
|
"loc": "11:14-43"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 393,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"name": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"index": 396,
|
|
"index2": 398,
|
|
"size": 5243,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 0,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWithWebPart.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWithWebPart.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./components/WorkingWith",
|
|
"loc": "12:20-55"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar React = require(\"react\");\nvar WorkingWith_module_scss_1 = require(\"../WorkingWith.module.scss\");\nvar sp_http_1 = require(\"@microsoft/sp-http\");\nvar SearchUtils_1 = require(\"../../SearchUtils\");\nvar Utils_1 = require(\"../../Utils\");\nvar office_ui_fabric_react_1 = require(\"office-ui-fabric-react\");\nvar WorkingWith = (function (_super) {\n __extends(WorkingWith, _super);\n function WorkingWith(props, state) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n people: [],\n loading: true,\n error: null\n };\n return _this;\n }\n WorkingWith.prototype.componentDidMount = function () {\n this.loadPeople(this.props.siteUrl, this.props.numberOfPeople);\n };\n WorkingWith.prototype.componentDidUpdate = function (prevProps, prevState, prevContext) {\n if (this.props.numberOfPeople !== prevProps.numberOfPeople ||\n this.props.siteUrl !== prevProps.siteUrl && (this.props.numberOfPeople && this.props.siteUrl)) {\n this.loadPeople(this.props.siteUrl, this.props.numberOfPeople);\n }\n };\n WorkingWith.prototype.render = function () {\n var _this = this;\n var loading = this.state.loading ? React.createElement(\"div\", { style: { margin: '0 auto' } },\n React.createElement(office_ui_fabric_react_1.Spinner, { label: 'Loading...' })) : React.createElement(\"div\", null);\n var error = this.state.error ? React.createElement(\"div\", null,\n React.createElement(\"strong\", null, \"Error: \"),\n \" \",\n this.state.error) : React.createElement(\"div\", null);\n var people = this.state.people.map(function (person, i) {\n return (React.createElement(office_ui_fabric_react_1.Persona, { primaryText: person.name, secondaryText: person.jobTitle, tertiaryText: person.department, imageUrl: person.photoUrl, size: office_ui_fabric_react_1.PersonaSize.large, presence: office_ui_fabric_react_1.PersonaPresence.none, onClick: function () { _this.navigateTo(person.profileUrl); }, key: person.email }));\n });\n return (React.createElement(\"div\", { className: WorkingWith_module_scss_1.default.workingWith },\n React.createElement(\"div\", { className: office_ui_fabric_react_1.css('ms-font-xl', WorkingWith_module_scss_1.default.webPartTitle) }, this.props.title),\n loading,\n error,\n people));\n };\n WorkingWith.prototype.navigateTo = function (url) {\n window.open(url, '_blank');\n };\n WorkingWith.prototype.loadPeople = function (siteUrl, numberOfPeople) {\n var _this = this;\n this.props.httpClient.get(siteUrl + \"/_api/search/query?querytext='*'&properties='GraphQuery:actor(me\\\\,action\\\\:1019)'&selectproperties='Title,WorkEmail,JobTitle,Department,Path'&rowlimit=\" + numberOfPeople, sp_http_1.SPHttpClient.configurations.v1, {\n headers: {\n 'Accept': 'application/json;odata=nometadata',\n 'odata-version': ''\n }\n })\n .then(function (response) {\n return response.json();\n })\n .then(function (response) {\n if (!response ||\n !response.PrimaryQueryResult ||\n !response.PrimaryQueryResult.RelevantResults ||\n response.PrimaryQueryResult.RelevantResults.RowCount === 0) {\n _this.setState({\n loading: false,\n error: null,\n people: []\n });\n return;\n }\n var people = [];\n for (var i = 0; i < response.PrimaryQueryResult.RelevantResults.Table.Rows.length; i++) {\n var personRow = response.PrimaryQueryResult.RelevantResults.Table.Rows[i];\n var email = SearchUtils_1.SearchUtils.getValueFromResults('WorkEmail', personRow.Cells);\n people.push({\n name: SearchUtils_1.SearchUtils.getValueFromResults('Title', personRow.Cells),\n email: email,\n jobTitle: SearchUtils_1.SearchUtils.getValueFromResults('JobTitle', personRow.Cells),\n department: SearchUtils_1.SearchUtils.getValueFromResults('Department', personRow.Cells),\n photoUrl: Utils_1.Utils.getUserPhotoUrl(email, siteUrl, 'L'),\n profileUrl: SearchUtils_1.SearchUtils.getValueFromResults('Path', personRow.Cells)\n });\n }\n _this.setState({\n loading: false,\n error: null,\n people: people\n });\n }, function (error) {\n _this.setState({\n loading: false,\n error: error,\n people: []\n });\n });\n };\n return WorkingWith;\n}(React.Component));\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = WorkingWith;\n\n"
|
|
},
|
|
{
|
|
"id": 394,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.scss.js",
|
|
"name": "./lib/webparts/workingWith/WorkingWith.module.scss.js",
|
|
"index": 397,
|
|
"index2": 397,
|
|
"size": 285,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 393,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\components\\WorkingWith.js",
|
|
"module": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"moduleName": "./lib/webparts/workingWith/components/WorkingWith.js",
|
|
"type": "cjs require",
|
|
"userRequest": "../WorkingWith.module.scss",
|
|
"loc": "8:32-69"
|
|
}
|
|
],
|
|
"source": "\"use strict\";\n/* tslint:disable */\nrequire('./WorkingWith.module.css');\nvar styles = {\n workingWith: 'workingWith_cca48a75',\n webPartTitle: 'webPartTitle_cca48a75',\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = styles;\n/* tslint:enable */ \n\n"
|
|
},
|
|
{
|
|
"id": 395,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.css",
|
|
"name": "./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"index": 398,
|
|
"index2": 396,
|
|
"size": 448,
|
|
"cacheable": false,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.scss.js",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 394,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\source-map-loader\\index.js!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.scss.js",
|
|
"module": "./lib/webparts/workingWith/WorkingWith.module.scss.js",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWith.module.scss.js",
|
|
"type": "cjs require",
|
|
"userRequest": "./WorkingWith.module.css",
|
|
"loc": "3:0-35"
|
|
}
|
|
],
|
|
"source": "var content = require(\"!!../../../node_modules/css-loader/index.js?-minimize!./WorkingWith.module.css\");\nvar loader = require(\"E:\\\\spfx-demo\\\\react-officegraph\\\\node_modules\\\\@microsoft\\\\load-themed-styles\\\\lib\\\\index.js\");\n\nif(typeof content === \"string\") content = [[module.id, content]];\n\n// add the styles to the DOM\nfor (var i = 0; i < content.length; i++) loader.loadStyles(content[i][1]);\n\nif(content.locals) module.exports = content.locals;"
|
|
},
|
|
{
|
|
"id": 396,
|
|
"identifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.css",
|
|
"name": "./~/css-loader?-minimize!./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"index": 399,
|
|
"index2": 395,
|
|
"size": 330,
|
|
"cacheable": true,
|
|
"built": true,
|
|
"optional": false,
|
|
"prefetched": false,
|
|
"chunks": [
|
|
3
|
|
],
|
|
"assets": [],
|
|
"issuer": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.css",
|
|
"failed": false,
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"reasons": [
|
|
{
|
|
"moduleId": 395,
|
|
"moduleIdentifier": "E:\\spfx-demo\\react-officegraph\\node_modules\\@microsoft\\loader-load-themed-styles\\lib\\index.js!E:\\spfx-demo\\react-officegraph\\node_modules\\css-loader\\index.js?-minimize!E:\\spfx-demo\\react-officegraph\\lib\\webparts\\workingWith\\WorkingWith.module.css",
|
|
"module": "./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"moduleName": "./lib/webparts/workingWith/WorkingWith.module.css",
|
|
"type": "cjs require",
|
|
"userRequest": "!!../../../node_modules/css-loader/index.js?-minimize!./WorkingWith.module.css",
|
|
"loc": "1:14-103"
|
|
}
|
|
],
|
|
"source": "exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".workingWith_cca48a75 .webPartTitle_cca48a75{margin-bottom:1em}.workingWith_cca48a75 .ms-Spinner{width:7em;margin:0 auto}.workingWith_cca48a75 .ms-Persona{cursor:pointer}\", \"\"]);\n\n// exports\n"
|
|
}
|
|
],
|
|
"filteredModules": 0,
|
|
"children": []
|
|
} |