@pnp/spfx-controls-react 3.7.0-beta.2005979 → 3.7.0-beta.2018695
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = "3.7.0-beta.
|
|
1
|
+
export var version = "3.7.0-beta.2018695";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -202,7 +202,7 @@ var LocationPicker = /** @class */ (function (_super) {
|
|
|
202
202
|
body: "{\"resource\":\"https://outlook.office365.com\"}",
|
|
203
203
|
headers: requestHeaders
|
|
204
204
|
};
|
|
205
|
-
return [4 /*yield*/, this.props.context.spHttpClient.post(this.props.context.pageContext.web.
|
|
205
|
+
return [4 /*yield*/, this.props.context.spHttpClient.post(this.props.context.pageContext.web.absoluteUrl + "/_api/SP.OAuth.Token/Acquire", SPHttpClient.configurations.v1, spOpts)];
|
|
206
206
|
case 1:
|
|
207
207
|
response = _a.sent();
|
|
208
208
|
return [4 /*yield*/, response.json()];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationPicker.js","sourceRoot":"","sources":["../../../src/controls/locationPicker/LocationPicker.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA8C,IAAI,EAA2C,MAAM,mBAAmB,CAAC;AAC9H,OAAO,MAAM,MAAM,8BAA8B,CAAC;AAClD,OAAO,EAAE,YAAY,EAA8C,UAAU,EAAsB,MAAM,oBAAoB,CAAC;AAC9H,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAi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B,CAAC,CAAC,iBAAiB,CAAC,CAAC;4BACpD,wBAAsB,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC;wBACrG,CAAC,CAAC,CAAC;wBAEH,wBAAsB,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,iBAAiB,EAAE,GAAG,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;wBAC1I,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,wBAAsB,EAAE,CAAC,CAAC;;;;wBAGnD,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAK,CAAC,CAAC;;;;;;KAGzC;IACH,qBAAC;AAAD,CAAC,AA1RD,CAAoC,KAAK,CAAC,SAAS,GA0RlD"}
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"errors": [],
|
|
3
3
|
"warnings": [],
|
|
4
4
|
"version": "4.44.2",
|
|
5
|
-
"hash": "
|
|
6
|
-
"time":
|
|
7
|
-
"builtAt":
|
|
5
|
+
"hash": "ee6e2e2e1dc133369de4",
|
|
6
|
+
"time": 19612,
|
|
7
|
+
"builtAt": 1647896198528,
|
|
8
8
|
"publicPath": "",
|
|
9
9
|
"outputPath": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/dist",
|
|
10
10
|
"assetsByChunkName": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"name": "controls-test-web-part.js",
|
|
295
|
-
"size":
|
|
295
|
+
"size": 17706923,
|
|
296
296
|
"chunks": [
|
|
297
297
|
"controls-test-web-part"
|
|
298
298
|
],
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
"name": "controls-test-web-part.js.map",
|
|
308
|
-
"size":
|
|
308
|
+
"size": 15955738,
|
|
309
309
|
"chunks": [
|
|
310
310
|
"controls-test-web-part"
|
|
311
311
|
],
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"rendered": true,
|
|
405
405
|
"initial": true,
|
|
406
406
|
"entry": true,
|
|
407
|
-
"size":
|
|
407
|
+
"size": 12784662,
|
|
408
408
|
"names": [
|
|
409
409
|
"controls-test-web-part"
|
|
410
410
|
],
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"controls-test-web-part.js",
|
|
413
413
|
"controls-test-web-part.js.map"
|
|
414
414
|
],
|
|
415
|
-
"hash": "
|
|
415
|
+
"hash": "822d9845849b8fdc5893",
|
|
416
416
|
"siblings": [],
|
|
417
417
|
"parents": [],
|
|
418
418
|
"children": [],
|
|
@@ -45820,14 +45820,14 @@
|
|
|
45820
45820
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
45821
45821
|
},
|
|
45822
45822
|
{
|
|
45823
|
-
"id": "
|
|
45824
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
45825
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
45823
|
+
"id": "pFc4",
|
|
45824
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
45825
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
45826
45826
|
},
|
|
45827
45827
|
{
|
|
45828
|
-
"id": "
|
|
45829
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
45830
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
45828
|
+
"id": "mvdJ",
|
|
45829
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
45830
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
45831
45831
|
},
|
|
45832
45832
|
{
|
|
45833
45833
|
"id": "4eMn",
|
|
@@ -47339,9 +47339,9 @@
|
|
|
47339
47339
|
"chunks": [
|
|
47340
47340
|
"controls-test-web-part"
|
|
47341
47341
|
],
|
|
47342
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
47343
|
-
"issuerId": "
|
|
47344
|
-
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
47342
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
47343
|
+
"issuerId": "mvdJ",
|
|
47344
|
+
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
47345
47345
|
"issuerPath": [
|
|
47346
47346
|
{
|
|
47347
47347
|
"id": "G6oG",
|
|
@@ -47369,14 +47369,14 @@
|
|
|
47369
47369
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
47370
47370
|
},
|
|
47371
47371
|
{
|
|
47372
|
-
"id": "
|
|
47373
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
47374
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
47372
|
+
"id": "pFc4",
|
|
47373
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
47374
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
47375
47375
|
},
|
|
47376
47376
|
{
|
|
47377
|
-
"id": "
|
|
47378
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
47379
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
47377
|
+
"id": "mvdJ",
|
|
47378
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
47379
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
47380
47380
|
}
|
|
47381
47381
|
],
|
|
47382
47382
|
"failed": false,
|
|
@@ -132711,9 +132711,9 @@
|
|
|
132711
132711
|
"chunks": [
|
|
132712
132712
|
"controls-test-web-part"
|
|
132713
132713
|
],
|
|
132714
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
132715
|
-
"issuerId": "
|
|
132716
|
-
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
132714
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js",
|
|
132715
|
+
"issuerId": "V9KN",
|
|
132716
|
+
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js",
|
|
132717
132717
|
"issuerPath": [
|
|
132718
132718
|
{
|
|
132719
132719
|
"id": "G6oG",
|
|
@@ -132731,9 +132731,9 @@
|
|
|
132731
132731
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/index.js"
|
|
132732
132732
|
},
|
|
132733
132733
|
{
|
|
132734
|
-
"id": "
|
|
132735
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
132736
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
132734
|
+
"id": "V9KN",
|
|
132735
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js",
|
|
132736
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js"
|
|
132737
132737
|
}
|
|
132738
132738
|
],
|
|
132739
132739
|
"failed": false,
|
|
@@ -216034,14 +216034,14 @@
|
|
|
216034
216034
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
216035
216035
|
},
|
|
216036
216036
|
{
|
|
216037
|
-
"id": "
|
|
216038
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
216039
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
216037
|
+
"id": "pFc4",
|
|
216038
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
216039
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
216040
216040
|
},
|
|
216041
216041
|
{
|
|
216042
|
-
"id": "
|
|
216043
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
216044
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
216042
|
+
"id": "mvdJ",
|
|
216043
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
216044
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
216045
216045
|
},
|
|
216046
216046
|
{
|
|
216047
216047
|
"id": "4eMn",
|
|
@@ -274331,9 +274331,9 @@
|
|
|
274331
274331
|
"chunks": [
|
|
274332
274332
|
"controls-test-web-part"
|
|
274333
274333
|
],
|
|
274334
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/
|
|
274335
|
-
"issuerId": "
|
|
274336
|
-
"issuerName": "./lib/controls/accessibleAccordion/components/
|
|
274334
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/AccordionItemHeading.js",
|
|
274335
|
+
"issuerId": "PVoh",
|
|
274336
|
+
"issuerName": "./lib/controls/accessibleAccordion/components/AccordionItemHeading.js",
|
|
274337
274337
|
"issuerPath": [
|
|
274338
274338
|
{
|
|
274339
274339
|
"id": "G6oG",
|
|
@@ -274351,9 +274351,9 @@
|
|
|
274351
274351
|
"name": "./lib/controls/accessibleAccordion/index.js"
|
|
274352
274352
|
},
|
|
274353
274353
|
{
|
|
274354
|
-
"id": "
|
|
274355
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/
|
|
274356
|
-
"name": "./lib/controls/accessibleAccordion/components/
|
|
274354
|
+
"id": "PVoh",
|
|
274355
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/AccordionItemHeading.js",
|
|
274356
|
+
"name": "./lib/controls/accessibleAccordion/components/AccordionItemHeading.js"
|
|
274357
274357
|
}
|
|
274358
274358
|
],
|
|
274359
274359
|
"failed": false,
|
|
@@ -286451,7 +286451,7 @@
|
|
|
286451
286451
|
"name": "./lib/controls/locationPicker/LocationPicker.js",
|
|
286452
286452
|
"index": 2900,
|
|
286453
286453
|
"index2": 2902,
|
|
286454
|
-
"size":
|
|
286454
|
+
"size": 15729,
|
|
286455
286455
|
"cacheable": true,
|
|
286456
286456
|
"built": true,
|
|
286457
286457
|
"optional": false,
|
|
@@ -286503,7 +286503,7 @@
|
|
|
286503
286503
|
],
|
|
286504
286504
|
"optimizationBailout": [],
|
|
286505
286505
|
"depth": 2,
|
|
286506
|
-
"source": "var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n 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 extendStatics(d, b);\n };\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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport * as React from 'react';\nimport { Mode } from './ILocationPicker';\nimport styles from './LocationPicker.module.scss';\nimport { SPHttpClient, HttpClient } from '@microsoft/sp-http';\nimport { Text } from 'office-ui-fabric-react/lib/Text';\nimport { Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';\nimport { ComboBox } from 'office-ui-fabric-react/lib/ComboBox';\nimport { FontIcon } from 'office-ui-fabric-react/lib/Icon';\nimport { IconButton } from 'office-ui-fabric-react/lib/Button';\nimport * as strings from 'ControlStrings';\nimport { isEqual } from '@microsoft/sp-lodash-subset';\nvar LocationPicker = /** @class */ (function (_super) {\n __extends(LocationPicker, _super);\n /**\n * Constructor method\n */\n function LocationPicker(props) {\n var _this = _super.call(this, props) || this;\n _this._token = null;\n _this.focusRef = null;\n _this.onRenderOption = function (item) {\n var text = item.text, locationItem = item.locationItem;\n if (locationItem.EntityType === \"Custom\") {\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: locationItem.DisplayName, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n }\n else\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: _this.getLocationText(locationItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n };\n _this.getMainContent = function () {\n var _a = _this.state, options = _a.options, selectedItem = _a.selectedItem, currentMode = _a.currentMode;\n var _b = _this.props, className = _b.className, disabled = _b.disabled, placeholder = _b.placeholder, errorMessage = _b.errorMessage;\n switch (currentMode) {\n case Mode.empty:\n return React.createElement(ComboBox, { className: className, disabled: disabled, placeholder: placeholder, allowFreeform: true, autoComplete: \"on\", options: options, onRenderOption: _this.onRenderOption, calloutProps: { className: styles.callout }, buttonIconProps: { iconName: \"MapPin\" }, useComboBoxAsMenuWidth: true, openOnKeyboardFocus: true, scrollSelectedToTop: true, isButtonAriaHidden: true, onInput: function (e) { return _this.getLocatios(e.target[\"value\"]); }, onChange: _this.onChange, errorMessage: errorMessage });\n case Mode.editView:\n if (selectedItem.EntityType === \"Custom\") {\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }));\n }\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, secondaryText: _this.getLocationText(selectedItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n !disabled ?\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }) : null);\n case Mode.view:\n if (selectedItem.EntityType === 'Custom') {\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName)));\n }\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName),\n React.createElement(\"div\", { className: styles.locationContent },\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"street\")),\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"noStreet\")))));\n }\n return null;\n };\n _this.getLocationText = function (item, mode) {\n if (!item.Address) {\n return '';\n }\n var address = item.Address;\n switch (mode) {\n case \"street\":\n return address.Street || \"\";\n case \"noStreet\":\n return \"\" + (address.City ? address.City + \", \" : '') + (address.State ? address.State + \", \" : \"\") + (address.CountryOrRegion || \"\");\n }\n return \"\" + (address.Street ? address.Street + \", \" : '') + (address.City ? address.City + \", \" : \"\") + (address.State ? address.State + \", \" : '') + (address.CountryOrRegion || \"\");\n };\n _this.onIconButtonClick = function () {\n _this.setState({ currentMode: Mode.empty, selectedItem: null });\n };\n _this.onClick = function () {\n _this.setState({ currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n };\n _this.onBlur = function (ev) {\n try {\n if (ev !== null && ev.relatedTarget[\"title\"] !== \"Location\" && ev.relatedTarget[\"title\"] !== \"Clear\") {\n _this.setState({ currentMode: Mode.view });\n }\n }\n catch (_a) { }\n };\n _this.onChange = function (ev, option) {\n _this.setState({ selectedItem: option.locationItem, currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n if (_this.props.onChange) {\n _this.props.onChange(option.locationItem);\n }\n };\n _this.getToken();\n _this.focusRef = React.createRef();\n if (props.defaultValue) {\n _this.state = {\n options: [],\n currentMode: Mode.view,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n else {\n _this.state = {\n options: [],\n currentMode: Mode.empty,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n return _this;\n }\n LocationPicker.prototype.componentWillReceiveProps = function (nextProps) {\n if (!isEqual(nextProps.defaultValue, this.props.defaultValue)) {\n if (nextProps.defaultValue) {\n this.setState({ selectedItem: nextProps.defaultValue, currentMode: Mode.view });\n }\n }\n };\n /**\n * Renders the LocationPicker controls with Office UI Fabric\n */\n LocationPicker.prototype.render = function () {\n var label = this.props.label;\n return (React.createElement(\"div\", null,\n label ? React.createElement(Text, null, label) : null,\n this.getMainContent()));\n };\n LocationPicker.prototype.customRenderInitials = function (props) {\n if (props.imageAlt === \"Custom\")\n return React.createElement(FontIcon, { \"aria-label\": \"Poi\", iconName: \"Poi\", style: { fontSize: \"14pt\" } });\n else\n return React.createElement(FontIcon, { \"aria-label\": \"EMI\", iconName: \"EMI\", style: { fontSize: \"14pt\" } });\n };\n LocationPicker.prototype.getToken = function () {\n return __awaiter(this, void 0, void 0, function () {\n var requestHeaders, spOpts, response, PrimaryQueryResult;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n spOpts = {\n body: \"{\\\"resource\\\":\\\"https://outlook.office365.com\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.spHttpClient.post(this.props.context.pageContext.web.serverRelativeUrl + \"/_api/SP.OAuth.Token/Acquire\", SPHttpClient.configurations.v1, spOpts)];\n case 1:\n response = _a.sent();\n return [4 /*yield*/, response.json()];\n case 2:\n PrimaryQueryResult = _a.sent();\n this._token = PrimaryQueryResult.access_token;\n return [2 /*return*/];\n }\n });\n });\n };\n LocationPicker.prototype.getLocatios = function (searchText) {\n return __awaiter(this, void 0, void 0, function () {\n var optionsForCustomRender_1, requestHeaders, spOpts, response1, json, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n optionsForCustomRender_1 = [];\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n requestHeaders.append(\"Authorization\", \"Bearer \" + this._token);\n spOpts = {\n body: \"{\\\"QueryConstraint\\\":{\\\"Query\\\":\\\"\" + searchText + \"\\\"},\\\"LocationProvider\\\":32,\\\"BingMarket\\\":\\\"en-IN\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.httpClient.post(\"https://outlook.office365.com/SchedulingB2/api/v1.0/me/findmeetinglocations\", HttpClient.configurations.v1, spOpts)];\n case 1:\n response1 = _a.sent();\n return [4 /*yield*/, response1.json()];\n case 2:\n json = _a.sent();\n json.MeetingLocations.forEach(function (v, i) {\n var loc = v[\"MeetingLocation\"];\n optionsForCustomRender_1.push({ text: v.MeetingLocation[\"DisplayName\"], key: i, locationItem: loc });\n });\n optionsForCustomRender_1.push({ text: strings.customDisplayName, key: 7, locationItem: { DisplayName: searchText, EntityType: \"Custom\" } });\n this.setState({ options: optionsForCustomRender_1 });\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n console.log(\"Error get Items\", error_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return LocationPicker;\n}(React.Component));\nexport { LocationPicker };\n"
|
|
286506
|
+
"source": "var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n 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 extendStatics(d, b);\n };\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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport * as React from 'react';\nimport { Mode } from './ILocationPicker';\nimport styles from './LocationPicker.module.scss';\nimport { SPHttpClient, HttpClient } from '@microsoft/sp-http';\nimport { Text } from 'office-ui-fabric-react/lib/Text';\nimport { Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';\nimport { ComboBox } from 'office-ui-fabric-react/lib/ComboBox';\nimport { FontIcon } from 'office-ui-fabric-react/lib/Icon';\nimport { IconButton } from 'office-ui-fabric-react/lib/Button';\nimport * as strings from 'ControlStrings';\nimport { isEqual } from '@microsoft/sp-lodash-subset';\nvar LocationPicker = /** @class */ (function (_super) {\n __extends(LocationPicker, _super);\n /**\n * Constructor method\n */\n function LocationPicker(props) {\n var _this = _super.call(this, props) || this;\n _this._token = null;\n _this.focusRef = null;\n _this.onRenderOption = function (item) {\n var text = item.text, locationItem = item.locationItem;\n if (locationItem.EntityType === \"Custom\") {\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: locationItem.DisplayName, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n }\n else\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: _this.getLocationText(locationItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n };\n _this.getMainContent = function () {\n var _a = _this.state, options = _a.options, selectedItem = _a.selectedItem, currentMode = _a.currentMode;\n var _b = _this.props, className = _b.className, disabled = _b.disabled, placeholder = _b.placeholder, errorMessage = _b.errorMessage;\n switch (currentMode) {\n case Mode.empty:\n return React.createElement(ComboBox, { className: className, disabled: disabled, placeholder: placeholder, allowFreeform: true, autoComplete: \"on\", options: options, onRenderOption: _this.onRenderOption, calloutProps: { className: styles.callout }, buttonIconProps: { iconName: \"MapPin\" }, useComboBoxAsMenuWidth: true, openOnKeyboardFocus: true, scrollSelectedToTop: true, isButtonAriaHidden: true, onInput: function (e) { return _this.getLocatios(e.target[\"value\"]); }, onChange: _this.onChange, errorMessage: errorMessage });\n case Mode.editView:\n if (selectedItem.EntityType === \"Custom\") {\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }));\n }\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, secondaryText: _this.getLocationText(selectedItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n !disabled ?\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }) : null);\n case Mode.view:\n if (selectedItem.EntityType === 'Custom') {\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName)));\n }\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName),\n React.createElement(\"div\", { className: styles.locationContent },\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"street\")),\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"noStreet\")))));\n }\n return null;\n };\n _this.getLocationText = function (item, mode) {\n if (!item.Address) {\n return '';\n }\n var address = item.Address;\n switch (mode) {\n case \"street\":\n return address.Street || \"\";\n case \"noStreet\":\n return \"\" + (address.City ? address.City + \", \" : '') + (address.State ? address.State + \", \" : \"\") + (address.CountryOrRegion || \"\");\n }\n return \"\" + (address.Street ? address.Street + \", \" : '') + (address.City ? address.City + \", \" : \"\") + (address.State ? address.State + \", \" : '') + (address.CountryOrRegion || \"\");\n };\n _this.onIconButtonClick = function () {\n _this.setState({ currentMode: Mode.empty, selectedItem: null });\n };\n _this.onClick = function () {\n _this.setState({ currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n };\n _this.onBlur = function (ev) {\n try {\n if (ev !== null && ev.relatedTarget[\"title\"] !== \"Location\" && ev.relatedTarget[\"title\"] !== \"Clear\") {\n _this.setState({ currentMode: Mode.view });\n }\n }\n catch (_a) { }\n };\n _this.onChange = function (ev, option) {\n _this.setState({ selectedItem: option.locationItem, currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n if (_this.props.onChange) {\n _this.props.onChange(option.locationItem);\n }\n };\n _this.getToken();\n _this.focusRef = React.createRef();\n if (props.defaultValue) {\n _this.state = {\n options: [],\n currentMode: Mode.view,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n else {\n _this.state = {\n options: [],\n currentMode: Mode.empty,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n return _this;\n }\n LocationPicker.prototype.componentWillReceiveProps = function (nextProps) {\n if (!isEqual(nextProps.defaultValue, this.props.defaultValue)) {\n if (nextProps.defaultValue) {\n this.setState({ selectedItem: nextProps.defaultValue, currentMode: Mode.view });\n }\n }\n };\n /**\n * Renders the LocationPicker controls with Office UI Fabric\n */\n LocationPicker.prototype.render = function () {\n var label = this.props.label;\n return (React.createElement(\"div\", null,\n label ? React.createElement(Text, null, label) : null,\n this.getMainContent()));\n };\n LocationPicker.prototype.customRenderInitials = function (props) {\n if (props.imageAlt === \"Custom\")\n return React.createElement(FontIcon, { \"aria-label\": \"Poi\", iconName: \"Poi\", style: { fontSize: \"14pt\" } });\n else\n return React.createElement(FontIcon, { \"aria-label\": \"EMI\", iconName: \"EMI\", style: { fontSize: \"14pt\" } });\n };\n LocationPicker.prototype.getToken = function () {\n return __awaiter(this, void 0, void 0, function () {\n var requestHeaders, spOpts, response, PrimaryQueryResult;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n spOpts = {\n body: \"{\\\"resource\\\":\\\"https://outlook.office365.com\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.spHttpClient.post(this.props.context.pageContext.web.absoluteUrl + \"/_api/SP.OAuth.Token/Acquire\", SPHttpClient.configurations.v1, spOpts)];\n case 1:\n response = _a.sent();\n return [4 /*yield*/, response.json()];\n case 2:\n PrimaryQueryResult = _a.sent();\n this._token = PrimaryQueryResult.access_token;\n return [2 /*return*/];\n }\n });\n });\n };\n LocationPicker.prototype.getLocatios = function (searchText) {\n return __awaiter(this, void 0, void 0, function () {\n var optionsForCustomRender_1, requestHeaders, spOpts, response1, json, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n optionsForCustomRender_1 = [];\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n requestHeaders.append(\"Authorization\", \"Bearer \" + this._token);\n spOpts = {\n body: \"{\\\"QueryConstraint\\\":{\\\"Query\\\":\\\"\" + searchText + \"\\\"},\\\"LocationProvider\\\":32,\\\"BingMarket\\\":\\\"en-IN\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.httpClient.post(\"https://outlook.office365.com/SchedulingB2/api/v1.0/me/findmeetinglocations\", HttpClient.configurations.v1, spOpts)];\n case 1:\n response1 = _a.sent();\n return [4 /*yield*/, response1.json()];\n case 2:\n json = _a.sent();\n json.MeetingLocations.forEach(function (v, i) {\n var loc = v[\"MeetingLocation\"];\n optionsForCustomRender_1.push({ text: v.MeetingLocation[\"DisplayName\"], key: i, locationItem: loc });\n });\n optionsForCustomRender_1.push({ text: strings.customDisplayName, key: 7, locationItem: { DisplayName: searchText, EntityType: \"Custom\" } });\n this.setState({ options: optionsForCustomRender_1 });\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n console.log(\"Error get Items\", error_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return LocationPicker;\n}(React.Component));\nexport { LocationPicker };\n"
|
|
286507
286507
|
},
|
|
286508
286508
|
{
|
|
286509
286509
|
"id": "YFYv",
|
|
@@ -371534,7 +371534,7 @@
|
|
|
371534
371534
|
],
|
|
371535
371535
|
"optimizationBailout": [],
|
|
371536
371536
|
"depth": 4,
|
|
371537
|
-
"source": "export var version = \"3.7.0-beta.
|
|
371537
|
+
"source": "export var version = \"3.7.0-beta.2018695\";\n"
|
|
371538
371538
|
},
|
|
371539
371539
|
{
|
|
371540
371540
|
"id": "cLrF",
|
|
@@ -446867,14 +446867,14 @@
|
|
|
446867
446867
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
446868
446868
|
},
|
|
446869
446869
|
{
|
|
446870
|
-
"id": "
|
|
446871
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
446872
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
446870
|
+
"id": "pFc4",
|
|
446871
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
446872
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
446873
446873
|
},
|
|
446874
446874
|
{
|
|
446875
|
-
"id": "
|
|
446876
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
446877
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
446875
|
+
"id": "mvdJ",
|
|
446876
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
446877
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
446878
446878
|
},
|
|
446879
446879
|
{
|
|
446880
446880
|
"id": "4eMn",
|
|
@@ -464861,9 +464861,9 @@
|
|
|
464861
464861
|
"chunks": [
|
|
464862
464862
|
"controls-test-web-part"
|
|
464863
464863
|
],
|
|
464864
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
464865
|
-
"issuerId": "
|
|
464866
|
-
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
464864
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js",
|
|
464865
|
+
"issuerId": "DQiM",
|
|
464866
|
+
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js",
|
|
464867
464867
|
"issuerPath": [
|
|
464868
464868
|
{
|
|
464869
464869
|
"id": "G6oG",
|
|
@@ -464881,9 +464881,9 @@
|
|
|
464881
464881
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/index.js"
|
|
464882
464882
|
},
|
|
464883
464883
|
{
|
|
464884
|
-
"id": "
|
|
464885
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
464886
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
464884
|
+
"id": "DQiM",
|
|
464885
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js",
|
|
464886
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js"
|
|
464887
464887
|
}
|
|
464888
464888
|
],
|
|
464889
464889
|
"failed": false,
|
|
@@ -465339,14 +465339,14 @@
|
|
|
465339
465339
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
465340
465340
|
},
|
|
465341
465341
|
{
|
|
465342
|
-
"id": "
|
|
465343
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
465344
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
465342
|
+
"id": "pFc4",
|
|
465343
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
465344
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
465345
465345
|
},
|
|
465346
465346
|
{
|
|
465347
|
-
"id": "
|
|
465348
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
465349
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
465347
|
+
"id": "mvdJ",
|
|
465348
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
465349
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
465350
465350
|
},
|
|
465351
465351
|
{
|
|
465352
465352
|
"id": "4eMn",
|
|
@@ -505587,14 +505587,14 @@
|
|
|
505587
505587
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
505588
505588
|
},
|
|
505589
505589
|
{
|
|
505590
|
-
"id": "
|
|
505591
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
505592
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
505590
|
+
"id": "pFc4",
|
|
505591
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
505592
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
505593
505593
|
},
|
|
505594
505594
|
{
|
|
505595
|
-
"id": "
|
|
505596
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
505597
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
505595
|
+
"id": "mvdJ",
|
|
505596
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
505597
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
505598
505598
|
},
|
|
505599
505599
|
{
|
|
505600
505600
|
"id": "4eMn",
|
|
@@ -506422,7 +506422,7 @@
|
|
|
506422
506422
|
"moduleName": "./lib/controls/locationPicker/LocationPicker.js",
|
|
506423
506423
|
"type": "harmony import specifier",
|
|
506424
506424
|
"userRequest": "@microsoft/sp-http",
|
|
506425
|
-
"loc": "205:
|
|
506425
|
+
"loc": "205:163-175"
|
|
506426
506426
|
},
|
|
506427
506427
|
{
|
|
506428
506428
|
"moduleId": "YEex",
|
|
@@ -542875,7 +542875,7 @@
|
|
|
542875
542875
|
"ootb-fields-field-customizer.js",
|
|
542876
542876
|
"ootb-fields-field-customizer.js.map"
|
|
542877
542877
|
],
|
|
542878
|
-
"hash": "
|
|
542878
|
+
"hash": "83b92659dd66028fdbcd",
|
|
542879
542879
|
"siblings": [],
|
|
542880
542880
|
"parents": [],
|
|
542881
542881
|
"children": [],
|
|
@@ -694278,7 +694278,7 @@
|
|
|
694278
694278
|
],
|
|
694279
694279
|
"optimizationBailout": [],
|
|
694280
694280
|
"depth": 4,
|
|
694281
|
-
"source": "export var version = \"3.7.0-beta.
|
|
694281
|
+
"source": "export var version = \"3.7.0-beta.2018695\";\n"
|
|
694282
694282
|
},
|
|
694283
694283
|
{
|
|
694284
694284
|
"id": "cPD0",
|
|
@@ -720863,7 +720863,7 @@
|
|
|
720863
720863
|
"moduleName": "./lib/controls/locationPicker/LocationPicker.js",
|
|
720864
720864
|
"type": "harmony import specifier",
|
|
720865
720865
|
"userRequest": "@microsoft/sp-http",
|
|
720866
|
-
"loc": "205:
|
|
720866
|
+
"loc": "205:163-175"
|
|
720867
720867
|
},
|
|
720868
720868
|
{
|
|
720869
720869
|
"moduleId": "YEex",
|
|
@@ -778330,14 +778330,14 @@
|
|
|
778330
778330
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
778331
778331
|
},
|
|
778332
778332
|
{
|
|
778333
|
-
"id": "
|
|
778334
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
778335
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
778333
|
+
"id": "pFc4",
|
|
778334
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
778335
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
778336
778336
|
},
|
|
778337
778337
|
{
|
|
778338
|
-
"id": "
|
|
778339
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
778340
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
778338
|
+
"id": "mvdJ",
|
|
778339
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
778340
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
778341
778341
|
},
|
|
778342
778342
|
{
|
|
778343
778343
|
"id": "4eMn",
|
|
@@ -779849,9 +779849,9 @@
|
|
|
779849
779849
|
"chunks": [
|
|
779850
779850
|
"controls-test-web-part"
|
|
779851
779851
|
],
|
|
779852
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
779853
|
-
"issuerId": "
|
|
779854
|
-
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
779852
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
779853
|
+
"issuerId": "mvdJ",
|
|
779854
|
+
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
779855
779855
|
"issuerPath": [
|
|
779856
779856
|
{
|
|
779857
779857
|
"id": "G6oG",
|
|
@@ -779879,14 +779879,14 @@
|
|
|
779879
779879
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
779880
779880
|
},
|
|
779881
779881
|
{
|
|
779882
|
-
"id": "
|
|
779883
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
779884
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
779882
|
+
"id": "pFc4",
|
|
779883
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
779884
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
779885
779885
|
},
|
|
779886
779886
|
{
|
|
779887
|
-
"id": "
|
|
779888
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
779889
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
779887
|
+
"id": "mvdJ",
|
|
779888
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
779889
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
779890
779890
|
}
|
|
779891
779891
|
],
|
|
779892
779892
|
"failed": false,
|
|
@@ -865312,9 +865312,9 @@
|
|
|
865312
865312
|
"chunks": [
|
|
865313
865313
|
"controls-test-web-part"
|
|
865314
865314
|
],
|
|
865315
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
865316
|
-
"issuerId": "
|
|
865317
|
-
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
865315
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js",
|
|
865316
|
+
"issuerId": "V9KN",
|
|
865317
|
+
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js",
|
|
865318
865318
|
"issuerPath": [
|
|
865319
865319
|
{
|
|
865320
865320
|
"id": "G6oG",
|
|
@@ -865332,9 +865332,9 @@
|
|
|
865332
865332
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/index.js"
|
|
865333
865333
|
},
|
|
865334
865334
|
{
|
|
865335
|
-
"id": "
|
|
865336
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
865337
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/
|
|
865335
|
+
"id": "V9KN",
|
|
865336
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js",
|
|
865337
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Debug/DebugSelector.js"
|
|
865338
865338
|
}
|
|
865339
865339
|
],
|
|
865340
865340
|
"failed": false,
|
|
@@ -948659,14 +948659,14 @@
|
|
|
948659
948659
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
948660
948660
|
},
|
|
948661
948661
|
{
|
|
948662
|
-
"id": "
|
|
948663
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
948664
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
948662
|
+
"id": "pFc4",
|
|
948663
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
948664
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
948665
948665
|
},
|
|
948666
948666
|
{
|
|
948667
|
-
"id": "
|
|
948668
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
948669
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
948667
|
+
"id": "mvdJ",
|
|
948668
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
948669
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
948670
948670
|
},
|
|
948671
948671
|
{
|
|
948672
948672
|
"id": "4eMn",
|
|
@@ -1007010,9 +1007010,9 @@
|
|
|
1007010
1007010
|
"chunks": [
|
|
1007011
1007011
|
"controls-test-web-part"
|
|
1007012
1007012
|
],
|
|
1007013
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/
|
|
1007014
|
-
"issuerId": "
|
|
1007015
|
-
"issuerName": "./lib/controls/accessibleAccordion/components/
|
|
1007013
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/AccordionItemHeading.js",
|
|
1007014
|
+
"issuerId": "PVoh",
|
|
1007015
|
+
"issuerName": "./lib/controls/accessibleAccordion/components/AccordionItemHeading.js",
|
|
1007016
1007016
|
"issuerPath": [
|
|
1007017
1007017
|
{
|
|
1007018
1007018
|
"id": "G6oG",
|
|
@@ -1007030,9 +1007030,9 @@
|
|
|
1007030
1007030
|
"name": "./lib/controls/accessibleAccordion/index.js"
|
|
1007031
1007031
|
},
|
|
1007032
1007032
|
{
|
|
1007033
|
-
"id": "
|
|
1007034
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/
|
|
1007035
|
-
"name": "./lib/controls/accessibleAccordion/components/
|
|
1007033
|
+
"id": "PVoh",
|
|
1007034
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/source-map-loader/index.js!/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/lib/controls/accessibleAccordion/components/AccordionItemHeading.js",
|
|
1007035
|
+
"name": "./lib/controls/accessibleAccordion/components/AccordionItemHeading.js"
|
|
1007036
1007036
|
}
|
|
1007037
1007037
|
],
|
|
1007038
1007038
|
"failed": false,
|
|
@@ -1019130,7 +1019130,7 @@
|
|
|
1019130
1019130
|
"name": "./lib/controls/locationPicker/LocationPicker.js",
|
|
1019131
1019131
|
"index": 2900,
|
|
1019132
1019132
|
"index2": 2902,
|
|
1019133
|
-
"size":
|
|
1019133
|
+
"size": 15729,
|
|
1019134
1019134
|
"cacheable": true,
|
|
1019135
1019135
|
"built": true,
|
|
1019136
1019136
|
"optional": false,
|
|
@@ -1019182,7 +1019182,7 @@
|
|
|
1019182
1019182
|
],
|
|
1019183
1019183
|
"optimizationBailout": [],
|
|
1019184
1019184
|
"depth": 2,
|
|
1019185
|
-
"source": "var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n 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 extendStatics(d, b);\n };\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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport * as React from 'react';\nimport { Mode } from './ILocationPicker';\nimport styles from './LocationPicker.module.scss';\nimport { SPHttpClient, HttpClient } from '@microsoft/sp-http';\nimport { Text } from 'office-ui-fabric-react/lib/Text';\nimport { Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';\nimport { ComboBox } from 'office-ui-fabric-react/lib/ComboBox';\nimport { FontIcon } from 'office-ui-fabric-react/lib/Icon';\nimport { IconButton } from 'office-ui-fabric-react/lib/Button';\nimport * as strings from 'ControlStrings';\nimport { isEqual } from '@microsoft/sp-lodash-subset';\nvar LocationPicker = /** @class */ (function (_super) {\n __extends(LocationPicker, _super);\n /**\n * Constructor method\n */\n function LocationPicker(props) {\n var _this = _super.call(this, props) || this;\n _this._token = null;\n _this.focusRef = null;\n _this.onRenderOption = function (item) {\n var text = item.text, locationItem = item.locationItem;\n if (locationItem.EntityType === \"Custom\") {\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: locationItem.DisplayName, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n }\n else\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: _this.getLocationText(locationItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n };\n _this.getMainContent = function () {\n var _a = _this.state, options = _a.options, selectedItem = _a.selectedItem, currentMode = _a.currentMode;\n var _b = _this.props, className = _b.className, disabled = _b.disabled, placeholder = _b.placeholder, errorMessage = _b.errorMessage;\n switch (currentMode) {\n case Mode.empty:\n return React.createElement(ComboBox, { className: className, disabled: disabled, placeholder: placeholder, allowFreeform: true, autoComplete: \"on\", options: options, onRenderOption: _this.onRenderOption, calloutProps: { className: styles.callout }, buttonIconProps: { iconName: \"MapPin\" }, useComboBoxAsMenuWidth: true, openOnKeyboardFocus: true, scrollSelectedToTop: true, isButtonAriaHidden: true, onInput: function (e) { return _this.getLocatios(e.target[\"value\"]); }, onChange: _this.onChange, errorMessage: errorMessage });\n case Mode.editView:\n if (selectedItem.EntityType === \"Custom\") {\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }));\n }\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, secondaryText: _this.getLocationText(selectedItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n !disabled ?\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }) : null);\n case Mode.view:\n if (selectedItem.EntityType === 'Custom') {\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName)));\n }\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName),\n React.createElement(\"div\", { className: styles.locationContent },\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"street\")),\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"noStreet\")))));\n }\n return null;\n };\n _this.getLocationText = function (item, mode) {\n if (!item.Address) {\n return '';\n }\n var address = item.Address;\n switch (mode) {\n case \"street\":\n return address.Street || \"\";\n case \"noStreet\":\n return \"\" + (address.City ? address.City + \", \" : '') + (address.State ? address.State + \", \" : \"\") + (address.CountryOrRegion || \"\");\n }\n return \"\" + (address.Street ? address.Street + \", \" : '') + (address.City ? address.City + \", \" : \"\") + (address.State ? address.State + \", \" : '') + (address.CountryOrRegion || \"\");\n };\n _this.onIconButtonClick = function () {\n _this.setState({ currentMode: Mode.empty, selectedItem: null });\n };\n _this.onClick = function () {\n _this.setState({ currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n };\n _this.onBlur = function (ev) {\n try {\n if (ev !== null && ev.relatedTarget[\"title\"] !== \"Location\" && ev.relatedTarget[\"title\"] !== \"Clear\") {\n _this.setState({ currentMode: Mode.view });\n }\n }\n catch (_a) { }\n };\n _this.onChange = function (ev, option) {\n _this.setState({ selectedItem: option.locationItem, currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n if (_this.props.onChange) {\n _this.props.onChange(option.locationItem);\n }\n };\n _this.getToken();\n _this.focusRef = React.createRef();\n if (props.defaultValue) {\n _this.state = {\n options: [],\n currentMode: Mode.view,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n else {\n _this.state = {\n options: [],\n currentMode: Mode.empty,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n return _this;\n }\n LocationPicker.prototype.componentWillReceiveProps = function (nextProps) {\n if (!isEqual(nextProps.defaultValue, this.props.defaultValue)) {\n if (nextProps.defaultValue) {\n this.setState({ selectedItem: nextProps.defaultValue, currentMode: Mode.view });\n }\n }\n };\n /**\n * Renders the LocationPicker controls with Office UI Fabric\n */\n LocationPicker.prototype.render = function () {\n var label = this.props.label;\n return (React.createElement(\"div\", null,\n label ? React.createElement(Text, null, label) : null,\n this.getMainContent()));\n };\n LocationPicker.prototype.customRenderInitials = function (props) {\n if (props.imageAlt === \"Custom\")\n return React.createElement(FontIcon, { \"aria-label\": \"Poi\", iconName: \"Poi\", style: { fontSize: \"14pt\" } });\n else\n return React.createElement(FontIcon, { \"aria-label\": \"EMI\", iconName: \"EMI\", style: { fontSize: \"14pt\" } });\n };\n LocationPicker.prototype.getToken = function () {\n return __awaiter(this, void 0, void 0, function () {\n var requestHeaders, spOpts, response, PrimaryQueryResult;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n spOpts = {\n body: \"{\\\"resource\\\":\\\"https://outlook.office365.com\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.spHttpClient.post(this.props.context.pageContext.web.serverRelativeUrl + \"/_api/SP.OAuth.Token/Acquire\", SPHttpClient.configurations.v1, spOpts)];\n case 1:\n response = _a.sent();\n return [4 /*yield*/, response.json()];\n case 2:\n PrimaryQueryResult = _a.sent();\n this._token = PrimaryQueryResult.access_token;\n return [2 /*return*/];\n }\n });\n });\n };\n LocationPicker.prototype.getLocatios = function (searchText) {\n return __awaiter(this, void 0, void 0, function () {\n var optionsForCustomRender_1, requestHeaders, spOpts, response1, json, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n optionsForCustomRender_1 = [];\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n requestHeaders.append(\"Authorization\", \"Bearer \" + this._token);\n spOpts = {\n body: \"{\\\"QueryConstraint\\\":{\\\"Query\\\":\\\"\" + searchText + \"\\\"},\\\"LocationProvider\\\":32,\\\"BingMarket\\\":\\\"en-IN\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.httpClient.post(\"https://outlook.office365.com/SchedulingB2/api/v1.0/me/findmeetinglocations\", HttpClient.configurations.v1, spOpts)];\n case 1:\n response1 = _a.sent();\n return [4 /*yield*/, response1.json()];\n case 2:\n json = _a.sent();\n json.MeetingLocations.forEach(function (v, i) {\n var loc = v[\"MeetingLocation\"];\n optionsForCustomRender_1.push({ text: v.MeetingLocation[\"DisplayName\"], key: i, locationItem: loc });\n });\n optionsForCustomRender_1.push({ text: strings.customDisplayName, key: 7, locationItem: { DisplayName: searchText, EntityType: \"Custom\" } });\n this.setState({ options: optionsForCustomRender_1 });\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n console.log(\"Error get Items\", error_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return LocationPicker;\n}(React.Component));\nexport { LocationPicker };\n"
|
|
1019185
|
+
"source": "var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n 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 extendStatics(d, b);\n };\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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport * as React from 'react';\nimport { Mode } from './ILocationPicker';\nimport styles from './LocationPicker.module.scss';\nimport { SPHttpClient, HttpClient } from '@microsoft/sp-http';\nimport { Text } from 'office-ui-fabric-react/lib/Text';\nimport { Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';\nimport { ComboBox } from 'office-ui-fabric-react/lib/ComboBox';\nimport { FontIcon } from 'office-ui-fabric-react/lib/Icon';\nimport { IconButton } from 'office-ui-fabric-react/lib/Button';\nimport * as strings from 'ControlStrings';\nimport { isEqual } from '@microsoft/sp-lodash-subset';\nvar LocationPicker = /** @class */ (function (_super) {\n __extends(LocationPicker, _super);\n /**\n * Constructor method\n */\n function LocationPicker(props) {\n var _this = _super.call(this, props) || this;\n _this._token = null;\n _this.focusRef = null;\n _this.onRenderOption = function (item) {\n var text = item.text, locationItem = item.locationItem;\n if (locationItem.EntityType === \"Custom\") {\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: locationItem.DisplayName, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n }\n else\n return React.createElement(Persona, { text: text, imageAlt: locationItem.EntityType, secondaryText: _this.getLocationText(locationItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials });\n };\n _this.getMainContent = function () {\n var _a = _this.state, options = _a.options, selectedItem = _a.selectedItem, currentMode = _a.currentMode;\n var _b = _this.props, className = _b.className, disabled = _b.disabled, placeholder = _b.placeholder, errorMessage = _b.errorMessage;\n switch (currentMode) {\n case Mode.empty:\n return React.createElement(ComboBox, { className: className, disabled: disabled, placeholder: placeholder, allowFreeform: true, autoComplete: \"on\", options: options, onRenderOption: _this.onRenderOption, calloutProps: { className: styles.callout }, buttonIconProps: { iconName: \"MapPin\" }, useComboBoxAsMenuWidth: true, openOnKeyboardFocus: true, scrollSelectedToTop: true, isButtonAriaHidden: true, onInput: function (e) { return _this.getLocatios(e.target[\"value\"]); }, onChange: _this.onChange, errorMessage: errorMessage });\n case Mode.editView:\n if (selectedItem.EntityType === \"Custom\") {\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }));\n }\n return React.createElement(\"div\", { ref: _this.focusRef, \"data-selection-index\": 0, \"data-is-focusable\": true, role: \"listitem\", className: styles.pickerItemContainer, onBlur: _this.onBlur, tabIndex: 0 },\n React.createElement(Persona, { \"data-is-focusable\": \"false\", imageAlt: selectedItem.EntityType, tabIndex: 0, text: selectedItem.DisplayName, title: \"Location\", className: styles.persona, secondaryText: _this.getLocationText(selectedItem, \"full\"), size: PersonaSize.size40, onRenderInitials: _this.customRenderInitials }),\n !disabled ?\n React.createElement(IconButton, { \"data-is-focusable\": \"false\", tabIndex: 0, iconProps: { iconName: \"Cancel\" }, title: \"Clear\", ariaLabel: \"Clear\", disabled: disabled, className: styles.closeButton, onClick: _this.onIconButtonClick }) : null);\n case Mode.view:\n if (selectedItem.EntityType === 'Custom') {\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName)));\n }\n return React.createElement(\"div\", { className: styles.locationAddressContainer, onClick: _this.onClick },\n React.createElement(\"div\", { className: styles.locationContainer, tabIndex: 0 },\n React.createElement(\"div\", { className: styles.locationDisplayName }, selectedItem.DisplayName),\n React.createElement(\"div\", { className: styles.locationContent },\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"street\")),\n React.createElement(\"div\", { className: styles.locationAddress }, _this.getLocationText(selectedItem, \"noStreet\")))));\n }\n return null;\n };\n _this.getLocationText = function (item, mode) {\n if (!item.Address) {\n return '';\n }\n var address = item.Address;\n switch (mode) {\n case \"street\":\n return address.Street || \"\";\n case \"noStreet\":\n return \"\" + (address.City ? address.City + \", \" : '') + (address.State ? address.State + \", \" : \"\") + (address.CountryOrRegion || \"\");\n }\n return \"\" + (address.Street ? address.Street + \", \" : '') + (address.City ? address.City + \", \" : \"\") + (address.State ? address.State + \", \" : '') + (address.CountryOrRegion || \"\");\n };\n _this.onIconButtonClick = function () {\n _this.setState({ currentMode: Mode.empty, selectedItem: null });\n };\n _this.onClick = function () {\n _this.setState({ currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n };\n _this.onBlur = function (ev) {\n try {\n if (ev !== null && ev.relatedTarget[\"title\"] !== \"Location\" && ev.relatedTarget[\"title\"] !== \"Clear\") {\n _this.setState({ currentMode: Mode.view });\n }\n }\n catch (_a) { }\n };\n _this.onChange = function (ev, option) {\n _this.setState({ selectedItem: option.locationItem, currentMode: Mode.editView }, function () {\n if (_this.focusRef.current != null)\n _this.focusRef.current.focus();\n });\n if (_this.props.onChange) {\n _this.props.onChange(option.locationItem);\n }\n };\n _this.getToken();\n _this.focusRef = React.createRef();\n if (props.defaultValue) {\n _this.state = {\n options: [],\n currentMode: Mode.view,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n else {\n _this.state = {\n options: [],\n currentMode: Mode.empty,\n searchText: null,\n isCalloutVisible: true,\n selectedItem: props.defaultValue,\n };\n }\n return _this;\n }\n LocationPicker.prototype.componentWillReceiveProps = function (nextProps) {\n if (!isEqual(nextProps.defaultValue, this.props.defaultValue)) {\n if (nextProps.defaultValue) {\n this.setState({ selectedItem: nextProps.defaultValue, currentMode: Mode.view });\n }\n }\n };\n /**\n * Renders the LocationPicker controls with Office UI Fabric\n */\n LocationPicker.prototype.render = function () {\n var label = this.props.label;\n return (React.createElement(\"div\", null,\n label ? React.createElement(Text, null, label) : null,\n this.getMainContent()));\n };\n LocationPicker.prototype.customRenderInitials = function (props) {\n if (props.imageAlt === \"Custom\")\n return React.createElement(FontIcon, { \"aria-label\": \"Poi\", iconName: \"Poi\", style: { fontSize: \"14pt\" } });\n else\n return React.createElement(FontIcon, { \"aria-label\": \"EMI\", iconName: \"EMI\", style: { fontSize: \"14pt\" } });\n };\n LocationPicker.prototype.getToken = function () {\n return __awaiter(this, void 0, void 0, function () {\n var requestHeaders, spOpts, response, PrimaryQueryResult;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n spOpts = {\n body: \"{\\\"resource\\\":\\\"https://outlook.office365.com\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.spHttpClient.post(this.props.context.pageContext.web.absoluteUrl + \"/_api/SP.OAuth.Token/Acquire\", SPHttpClient.configurations.v1, spOpts)];\n case 1:\n response = _a.sent();\n return [4 /*yield*/, response.json()];\n case 2:\n PrimaryQueryResult = _a.sent();\n this._token = PrimaryQueryResult.access_token;\n return [2 /*return*/];\n }\n });\n });\n };\n LocationPicker.prototype.getLocatios = function (searchText) {\n return __awaiter(this, void 0, void 0, function () {\n var optionsForCustomRender_1, requestHeaders, spOpts, response1, json, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n optionsForCustomRender_1 = [];\n requestHeaders = new Headers();\n requestHeaders.append(\"Content-type\", \"application/json\");\n requestHeaders.append(\"Cache-Control\", \"no-cache\");\n requestHeaders.append(\"Authorization\", \"Bearer \" + this._token);\n spOpts = {\n body: \"{\\\"QueryConstraint\\\":{\\\"Query\\\":\\\"\" + searchText + \"\\\"},\\\"LocationProvider\\\":32,\\\"BingMarket\\\":\\\"en-IN\\\"}\",\n headers: requestHeaders\n };\n return [4 /*yield*/, this.props.context.httpClient.post(\"https://outlook.office365.com/SchedulingB2/api/v1.0/me/findmeetinglocations\", HttpClient.configurations.v1, spOpts)];\n case 1:\n response1 = _a.sent();\n return [4 /*yield*/, response1.json()];\n case 2:\n json = _a.sent();\n json.MeetingLocations.forEach(function (v, i) {\n var loc = v[\"MeetingLocation\"];\n optionsForCustomRender_1.push({ text: v.MeetingLocation[\"DisplayName\"], key: i, locationItem: loc });\n });\n optionsForCustomRender_1.push({ text: strings.customDisplayName, key: 7, locationItem: { DisplayName: searchText, EntityType: \"Custom\" } });\n this.setState({ options: optionsForCustomRender_1 });\n return [3 /*break*/, 4];\n case 3:\n error_1 = _a.sent();\n console.log(\"Error get Items\", error_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return LocationPicker;\n}(React.Component));\nexport { LocationPicker };\n"
|
|
1019186
1019186
|
},
|
|
1019187
1019187
|
{
|
|
1019188
1019188
|
"id": "YFYv",
|
|
@@ -1104213,7 +1104213,7 @@
|
|
|
1104213
1104213
|
],
|
|
1104214
1104214
|
"optimizationBailout": [],
|
|
1104215
1104215
|
"depth": 4,
|
|
1104216
|
-
"source": "export var version = \"3.7.0-beta.
|
|
1104216
|
+
"source": "export var version = \"3.7.0-beta.2018695\";\n"
|
|
1104217
1104217
|
},
|
|
1104218
1104218
|
{
|
|
1104219
1104219
|
"id": "cLrF",
|
|
@@ -1179546,14 +1179546,14 @@
|
|
|
1179546
1179546
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
1179547
1179547
|
},
|
|
1179548
1179548
|
{
|
|
1179549
|
-
"id": "
|
|
1179550
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
1179551
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
1179549
|
+
"id": "pFc4",
|
|
1179550
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
1179551
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
1179552
1179552
|
},
|
|
1179553
1179553
|
{
|
|
1179554
|
-
"id": "
|
|
1179555
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
1179556
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
1179554
|
+
"id": "mvdJ",
|
|
1179555
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
1179556
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
1179557
1179557
|
},
|
|
1179558
1179558
|
{
|
|
1179559
1179559
|
"id": "4eMn",
|
|
@@ -1197600,9 +1197600,9 @@
|
|
|
1197600
1197600
|
"chunks": [
|
|
1197601
1197601
|
"controls-test-web-part"
|
|
1197602
1197602
|
],
|
|
1197603
|
-
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
1197604
|
-
"issuerId": "
|
|
1197605
|
-
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
1197603
|
+
"issuer": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js",
|
|
1197604
|
+
"issuerId": "DQiM",
|
|
1197605
|
+
"issuerName": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js",
|
|
1197606
1197606
|
"issuerPath": [
|
|
1197607
1197607
|
{
|
|
1197608
1197608
|
"id": "G6oG",
|
|
@@ -1197620,9 +1197620,9 @@
|
|
|
1197620
1197620
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/index.js"
|
|
1197621
1197621
|
},
|
|
1197622
1197622
|
{
|
|
1197623
|
-
"id": "
|
|
1197624
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
1197625
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/
|
|
1197623
|
+
"id": "DQiM",
|
|
1197624
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js",
|
|
1197625
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/Form/FormButton.js"
|
|
1197626
1197626
|
}
|
|
1197627
1197627
|
],
|
|
1197628
1197628
|
"failed": false,
|
|
@@ -1198078,14 +1198078,14 @@
|
|
|
1198078
1198078
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
1198079
1198079
|
},
|
|
1198080
1198080
|
{
|
|
1198081
|
-
"id": "
|
|
1198082
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
1198083
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
1198081
|
+
"id": "pFc4",
|
|
1198082
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
1198083
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
1198084
1198084
|
},
|
|
1198085
1198085
|
{
|
|
1198086
|
-
"id": "
|
|
1198087
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
1198088
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
1198086
|
+
"id": "mvdJ",
|
|
1198087
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
1198088
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
1198089
1198089
|
},
|
|
1198090
1198090
|
{
|
|
1198091
1198091
|
"id": "4eMn",
|
|
@@ -1238326,14 +1238326,14 @@
|
|
|
1238326
1238326
|
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/componentStyles.js"
|
|
1238327
1238327
|
},
|
|
1238328
1238328
|
{
|
|
1238329
|
-
"id": "
|
|
1238330
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
1238331
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/
|
|
1238329
|
+
"id": "pFc4",
|
|
1238330
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js",
|
|
1238331
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/List/listItemStyles.js"
|
|
1238332
1238332
|
},
|
|
1238333
1238333
|
{
|
|
1238334
|
-
"id": "
|
|
1238335
|
-
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/
|
|
1238336
|
-
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/
|
|
1238334
|
+
"id": "mvdJ",
|
|
1238335
|
+
"identifier": "/home/runner/work/sp-dev-fx-controls-react/sp-dev-fx-controls-react/node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js",
|
|
1238336
|
+
"name": "./node_modules/@fluentui/react-northstar/dist/es/components/List/ListItem.js"
|
|
1238337
1238337
|
},
|
|
1238338
1238338
|
{
|
|
1238339
1238339
|
"id": "4eMn",
|
|
@@ -1239161,7 +1239161,7 @@
|
|
|
1239161
1239161
|
"moduleName": "./lib/controls/locationPicker/LocationPicker.js",
|
|
1239162
1239162
|
"type": "harmony import specifier",
|
|
1239163
1239163
|
"userRequest": "@microsoft/sp-http",
|
|
1239164
|
-
"loc": "205:
|
|
1239164
|
+
"loc": "205:163-175"
|
|
1239165
1239165
|
},
|
|
1239166
1239166
|
{
|
|
1239167
1239167
|
"moduleId": "YEex",
|