@microsoft/sp-component-base 1.15.0-beta.1 → 1.15.0-beta.6
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.
- package/dist/467dc675-7cc5-4709-8aac-78e3b71bd2f6.manifest.json +70 -65
- package/dist/{chunk.legacy-third-party-fabric-core-localfont_none_a9cc7a03e35d8e36785d.js → chunk.legacy-third-party-fabric-core-localfont_none_2f01d25ba0d75d4649ee.js} +0 -0
- package/dist/index-internal-beta.d.ts +12 -5
- package/dist/index-internal-public.d.ts +12 -5
- package/dist/index-internal.d.ts +12 -5
- package/dist/sp-component-base_default_e032a7004043b5dfb553.js +1 -0
- package/dist/sp-component-base_en-us_e032a7004043b5dfb553.js +1 -0
- package/dist/sp-component-base_qps-ploc_e032a7004043b5dfb553.js +1 -0
- package/dist/sp-component-base_qps-ploca_e032a7004043b5dfb553.js +1 -0
- package/lib-commonjs/BaseComponent.js +1 -1
- package/lib-commonjs/BaseComponentContext.js +2 -2
- package/lib-commonjs/DynamicDataProvider.js +1 -1
- package/lib-commonjs/DynamicDataSourceManager.js +11 -13
- package/lib-commonjs/DynamicProperty.js +2 -2
- package/lib-commonjs/EnsureIsolatedDomainUrl.js +1 -1
- package/lib-commonjs/LegacyThirdPartyFabricCoreLoader.js +1 -1
- package/lib-commonjs/PropertyMetadataProcessor.js +5 -5
- package/lib-commonjs/ShimmerFactory.js +3 -3
- package/lib-commonjs/dataCollector/IWebPartLoadData.js +8 -0
- package/lib-commonjs/dataCollector/WebPartLoadDataCollector.js +139 -0
- package/lib-commonjs/index.js +13 -7
- package/lib-commonjs/test-api/MockComponent.js +2 -2
- package/lib-commonjs/test-api/MockComponentContext.js +2 -2
- package/lib-commonjs/test-api/index.js +1 -0
- package/lib-commonjs/themeProvider/ThemeProvider.js +1 -1
- package/package.json +10 -10
- package/dist/sp-component-base_default_cb6f0de2f0d2450d6bb3.js +0 -1
- package/dist/sp-component-base_en-us_cb6f0de2f0d2450d6bb3.js +0 -1
- package/dist/sp-component-base_qps-ploc_cb6f0de2f0d2450d6bb3.js +0 -1
- package/dist/sp-component-base_qps-ploca_cb6f0de2f0d2450d6bb3.js +0 -1
|
@@ -13,76 +13,81 @@
|
|
|
13
13
|
"sp-component-base": {
|
|
14
14
|
"type": "localizedPath",
|
|
15
15
|
"paths": {
|
|
16
|
-
"default": "sp-component-
|
|
17
|
-
"en-US": "sp-component-base_en-
|
|
18
|
-
"qps-ploca": "sp-component-base_qps-
|
|
19
|
-
"qps-ploc": "sp-component-base_qps-
|
|
20
|
-
"en-GB": "sp-component-base_en-
|
|
21
|
-
"en-NZ": "sp-component-base_en-
|
|
22
|
-
"en-IE": "sp-component-base_en-
|
|
23
|
-
"en-AU": "sp-component-base_en-
|
|
24
|
-
"bn": "sp-component-base_en-
|
|
25
|
-
"chr": "sp-component-base_en-
|
|
26
|
-
"dv": "sp-component-base_en-
|
|
27
|
-
"div": "sp-component-base_en-
|
|
28
|
-
"en": "sp-component-base_en-
|
|
29
|
-
"fil": "sp-component-base_en-
|
|
30
|
-
"haw": "sp-component-base_en-
|
|
31
|
-
"iu": "sp-component-base_en-
|
|
32
|
-
"lo": "sp-component-base_en-
|
|
33
|
-
"moh": "sp-component-base_en-
|
|
34
|
-
"sq": "sp-component-base_en-
|
|
35
|
-
"am": "sp-component-base_en-
|
|
36
|
-
"hy": "sp-component-base_en-
|
|
37
|
-
"mk": "sp-component-base_en-
|
|
38
|
-
"bs": "sp-component-base_en-
|
|
39
|
-
"my": "sp-component-base_en-
|
|
40
|
-
"dz": "sp-component-base_en-
|
|
41
|
-
"en-CY": "sp-component-base_en-
|
|
42
|
-
"en-EG": "sp-component-base_en-
|
|
43
|
-
"en-IL": "sp-component-base_en-
|
|
44
|
-
"en-IS": "sp-component-base_en-
|
|
45
|
-
"en-JO": "sp-component-base_en-
|
|
46
|
-
"en-KE": "sp-component-base_en-
|
|
47
|
-
"en-KW": "sp-component-base_en-
|
|
48
|
-
"en-MK": "sp-component-base_en-
|
|
49
|
-
"en-MT": "sp-component-base_en-
|
|
50
|
-
"en-PK": "sp-component-base_en-
|
|
51
|
-
"en-QA": "sp-component-base_en-
|
|
52
|
-
"en-SA": "sp-component-base_en-
|
|
53
|
-
"en-LK": "sp-component-base_en-
|
|
54
|
-
"en-AE": "sp-component-base_en-
|
|
55
|
-
"en-VN": "sp-component-base_en-
|
|
56
|
-
"is": "sp-component-base_en-
|
|
57
|
-
"km": "sp-component-base_en-
|
|
58
|
-
"kh": "sp-component-base_en-
|
|
59
|
-
"mt": "sp-component-base_en-
|
|
60
|
-
"fa": "sp-component-base_en-
|
|
61
|
-
"gd": "sp-component-base_en-
|
|
62
|
-
"sr-Cyrl-BA": "sp-component-base_en-
|
|
63
|
-
"sr-Latn-BA": "sp-component-base_en-
|
|
64
|
-
"sd": "sp-component-base_en-
|
|
65
|
-
"si": "sp-component-base_en-
|
|
66
|
-
"so": "sp-component-base_en-
|
|
67
|
-
"ti-ET": "sp-component-base_en-
|
|
68
|
-
"uz": "sp-component-base_en-
|
|
69
|
-
"en-SG": "sp-component-base_en-
|
|
70
|
-
"en-HK": "sp-component-base_en-
|
|
71
|
-
"en-MY": "sp-component-base_en-
|
|
72
|
-
"en-PH": "sp-component-base_en-
|
|
73
|
-
"en-TT": "sp-component-base_en-
|
|
74
|
-
"en-AZ": "sp-component-base_en-
|
|
75
|
-
"en-BH": "sp-component-base_en-
|
|
76
|
-
"en-BN": "sp-component-base_en-
|
|
77
|
-
"en-ID": "sp-component-base_en-
|
|
78
|
-
"mi": "sp-component-base_en-
|
|
16
|
+
"default": "sp-component-base_default_e032a7004043b5dfb553.js",
|
|
17
|
+
"en-US": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
18
|
+
"qps-ploca": "sp-component-base_qps-ploca_e032a7004043b5dfb553.js",
|
|
19
|
+
"qps-ploc": "sp-component-base_qps-ploc_e032a7004043b5dfb553.js",
|
|
20
|
+
"en-GB": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
21
|
+
"en-NZ": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
22
|
+
"en-IE": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
23
|
+
"en-AU": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
24
|
+
"bn": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
25
|
+
"chr": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
26
|
+
"dv": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
27
|
+
"div": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
28
|
+
"en": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
29
|
+
"fil": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
30
|
+
"haw": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
31
|
+
"iu": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
32
|
+
"lo": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
33
|
+
"moh": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
34
|
+
"sq": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
35
|
+
"am": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
36
|
+
"hy": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
37
|
+
"mk": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
38
|
+
"bs": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
39
|
+
"my": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
40
|
+
"dz": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
41
|
+
"en-CY": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
42
|
+
"en-EG": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
43
|
+
"en-IL": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
44
|
+
"en-IS": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
45
|
+
"en-JO": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
46
|
+
"en-KE": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
47
|
+
"en-KW": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
48
|
+
"en-MK": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
49
|
+
"en-MT": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
50
|
+
"en-PK": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
51
|
+
"en-QA": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
52
|
+
"en-SA": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
53
|
+
"en-LK": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
54
|
+
"en-AE": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
55
|
+
"en-VN": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
56
|
+
"is": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
57
|
+
"km": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
58
|
+
"kh": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
59
|
+
"mt": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
60
|
+
"fa": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
61
|
+
"gd": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
62
|
+
"sr-Cyrl-BA": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
63
|
+
"sr-Latn-BA": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
64
|
+
"sd": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
65
|
+
"si": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
66
|
+
"so": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
67
|
+
"ti-ET": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
68
|
+
"uz": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
69
|
+
"en-SG": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
70
|
+
"en-HK": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
71
|
+
"en-MY": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
72
|
+
"en-PH": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
73
|
+
"en-TT": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
74
|
+
"en-AZ": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
75
|
+
"en-BH": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
76
|
+
"en-BN": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
77
|
+
"en-ID": "sp-component-base_en-us_e032a7004043b5dfb553.js",
|
|
78
|
+
"mi": "sp-component-base_en-us_e032a7004043b5dfb553.js"
|
|
79
79
|
},
|
|
80
|
-
"defaultPath": "sp-component-
|
|
80
|
+
"defaultPath": "sp-component-base_default_e032a7004043b5dfb553.js"
|
|
81
81
|
},
|
|
82
82
|
"tslib": {
|
|
83
83
|
"type": "component",
|
|
84
84
|
"id": "01c4df03-e775-48cb-aa14-171ee5199a15",
|
|
85
|
-
"version": "
|
|
85
|
+
"version": "2.3.1"
|
|
86
|
+
},
|
|
87
|
+
"@ms/sp-telemetry": {
|
|
88
|
+
"type": "component",
|
|
89
|
+
"id": "8217e442-8ed3-41fd-957d-b112e841286a",
|
|
90
|
+
"version": "0.23.19"
|
|
86
91
|
},
|
|
87
92
|
"@microsoft/sp-dynamic-data": {
|
|
88
93
|
"type": "component",
|
|
File without changes
|
|
@@ -16,6 +16,7 @@ import { DynamicDataReference } from '@microsoft/sp-dynamic-data';
|
|
|
16
16
|
import { Guid } from '@microsoft/sp-core-library';
|
|
17
17
|
import { HttpClient } from '@microsoft/sp-http';
|
|
18
18
|
import { IClientSideComponentManifest } from '@microsoft/sp-module-interfaces';
|
|
19
|
+
import { IClientSideWebPartManifest } from '@microsoft/sp-module-interfaces';
|
|
19
20
|
import { IDisposable } from '@microsoft/sp-core-library';
|
|
20
21
|
import { IDynamicDataCallables } from '@microsoft/sp-dynamic-data';
|
|
21
22
|
import { IDynamicDataSource } from '@microsoft/sp-dynamic-data';
|
|
@@ -57,7 +58,7 @@ export declare abstract class BaseComponent implements ISPEventObserver {
|
|
|
57
58
|
* then we can convert "context" to an ordinary property getter.
|
|
58
59
|
* https://github.com/Microsoft/TypeScript/issues/338
|
|
59
60
|
*/
|
|
60
|
-
protected context
|
|
61
|
+
protected context?: BaseComponentContext;
|
|
61
62
|
private _isDisposed;
|
|
62
63
|
/* Excluded from this release type: _dynamicDataSourceId */
|
|
63
64
|
/* Excluded from this release type: __constructor */
|
|
@@ -214,6 +215,8 @@ export declare abstract class BaseComponentContext implements IDisposable {
|
|
|
214
215
|
get isServedFromLocalhost(): boolean;
|
|
215
216
|
}
|
|
216
217
|
|
|
218
|
+
/* Excluded from this release type: _CacheMissReason */
|
|
219
|
+
|
|
217
220
|
/**
|
|
218
221
|
* The Dynamic Data Provider allows components to consume Dynamic Data.
|
|
219
222
|
* It allows components to request Dynamic Data sources and register/unregister to those.
|
|
@@ -511,12 +514,12 @@ export declare class DynamicProperty<TValue> implements IDisposable {
|
|
|
511
514
|
private _value;
|
|
512
515
|
private _hasValue;
|
|
513
516
|
private _sourceId;
|
|
514
|
-
private _provider
|
|
517
|
+
private _provider?;
|
|
515
518
|
private _isDisposed;
|
|
516
519
|
/**
|
|
517
520
|
* Set to store all callback assigned in order to unregister them when the object gets disposed.
|
|
518
521
|
*/
|
|
519
|
-
private _callbacks
|
|
522
|
+
private _callbacks?;
|
|
520
523
|
/**
|
|
521
524
|
* Default callback. Can be undefined if another callback has been set up.
|
|
522
525
|
*/
|
|
@@ -525,8 +528,8 @@ export declare class DynamicProperty<TValue> implements IDisposable {
|
|
|
525
528
|
* Collection of callbacks that should be registered if/when the DynamicProperty source gets registered.
|
|
526
529
|
* This gets emptied when the source exists.
|
|
527
530
|
*/
|
|
528
|
-
private _pendingCallbacks
|
|
529
|
-
private _onSourcesChanged
|
|
531
|
+
private _pendingCallbacks?;
|
|
532
|
+
private _onSourcesChanged?;
|
|
530
533
|
/**
|
|
531
534
|
* Create a new DynamicProperty object.
|
|
532
535
|
* @param provider - DynamicDataProvider.
|
|
@@ -832,6 +835,8 @@ export declare interface ISerializedServerProcessedData {
|
|
|
832
835
|
export declare interface ITheme extends IPartialTheme {
|
|
833
836
|
}
|
|
834
837
|
|
|
838
|
+
/* Excluded from this release type: _IWebPartLoadData */
|
|
839
|
+
|
|
835
840
|
/* Excluded from this release type: _LegacyThirdPartyFabricCoreLoader */
|
|
836
841
|
|
|
837
842
|
/* Excluded from this release type: _PropertyMetadataProcessor */
|
|
@@ -894,4 +899,6 @@ export declare class ThemeProvider {
|
|
|
894
899
|
private _raiseEvent;
|
|
895
900
|
}
|
|
896
901
|
|
|
902
|
+
/* Excluded from this release type: _WebPartLoadDataCollector */
|
|
903
|
+
|
|
897
904
|
export { }
|
|
@@ -16,6 +16,7 @@ import { DynamicDataReference } from '@microsoft/sp-dynamic-data';
|
|
|
16
16
|
import { Guid } from '@microsoft/sp-core-library';
|
|
17
17
|
import { HttpClient } from '@microsoft/sp-http';
|
|
18
18
|
import { IClientSideComponentManifest } from '@microsoft/sp-module-interfaces';
|
|
19
|
+
import { IClientSideWebPartManifest } from '@microsoft/sp-module-interfaces';
|
|
19
20
|
import { IDisposable } from '@microsoft/sp-core-library';
|
|
20
21
|
import { IDynamicDataCallables } from '@microsoft/sp-dynamic-data';
|
|
21
22
|
import { IDynamicDataSource } from '@microsoft/sp-dynamic-data';
|
|
@@ -57,7 +58,7 @@ export declare abstract class BaseComponent implements ISPEventObserver {
|
|
|
57
58
|
* then we can convert "context" to an ordinary property getter.
|
|
58
59
|
* https://github.com/Microsoft/TypeScript/issues/338
|
|
59
60
|
*/
|
|
60
|
-
protected context
|
|
61
|
+
protected context?: BaseComponentContext;
|
|
61
62
|
private _isDisposed;
|
|
62
63
|
/* Excluded from this release type: _dynamicDataSourceId */
|
|
63
64
|
/* Excluded from this release type: __constructor */
|
|
@@ -214,6 +215,8 @@ export declare abstract class BaseComponentContext implements IDisposable {
|
|
|
214
215
|
get isServedFromLocalhost(): boolean;
|
|
215
216
|
}
|
|
216
217
|
|
|
218
|
+
/* Excluded from this release type: _CacheMissReason */
|
|
219
|
+
|
|
217
220
|
/**
|
|
218
221
|
* The Dynamic Data Provider allows components to consume Dynamic Data.
|
|
219
222
|
* It allows components to request Dynamic Data sources and register/unregister to those.
|
|
@@ -511,12 +514,12 @@ export declare class DynamicProperty<TValue> implements IDisposable {
|
|
|
511
514
|
private _value;
|
|
512
515
|
private _hasValue;
|
|
513
516
|
private _sourceId;
|
|
514
|
-
private _provider
|
|
517
|
+
private _provider?;
|
|
515
518
|
private _isDisposed;
|
|
516
519
|
/**
|
|
517
520
|
* Set to store all callback assigned in order to unregister them when the object gets disposed.
|
|
518
521
|
*/
|
|
519
|
-
private _callbacks
|
|
522
|
+
private _callbacks?;
|
|
520
523
|
/**
|
|
521
524
|
* Default callback. Can be undefined if another callback has been set up.
|
|
522
525
|
*/
|
|
@@ -525,8 +528,8 @@ export declare class DynamicProperty<TValue> implements IDisposable {
|
|
|
525
528
|
* Collection of callbacks that should be registered if/when the DynamicProperty source gets registered.
|
|
526
529
|
* This gets emptied when the source exists.
|
|
527
530
|
*/
|
|
528
|
-
private _pendingCallbacks
|
|
529
|
-
private _onSourcesChanged
|
|
531
|
+
private _pendingCallbacks?;
|
|
532
|
+
private _onSourcesChanged?;
|
|
530
533
|
/**
|
|
531
534
|
* Create a new DynamicProperty object.
|
|
532
535
|
* @param provider - DynamicDataProvider.
|
|
@@ -832,6 +835,8 @@ export declare interface ISerializedServerProcessedData {
|
|
|
832
835
|
export declare interface ITheme extends IPartialTheme {
|
|
833
836
|
}
|
|
834
837
|
|
|
838
|
+
/* Excluded from this release type: _IWebPartLoadData */
|
|
839
|
+
|
|
835
840
|
/* Excluded from this release type: _LegacyThirdPartyFabricCoreLoader */
|
|
836
841
|
|
|
837
842
|
/* Excluded from this release type: _PropertyMetadataProcessor */
|
|
@@ -894,4 +899,6 @@ export declare class ThemeProvider {
|
|
|
894
899
|
private _raiseEvent;
|
|
895
900
|
}
|
|
896
901
|
|
|
902
|
+
/* Excluded from this release type: _WebPartLoadDataCollector */
|
|
903
|
+
|
|
897
904
|
export { }
|
package/dist/index-internal.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { DynamicDataReference } from '@microsoft/sp-dynamic-data';
|
|
|
16
16
|
import { Guid } from '@microsoft/sp-core-library';
|
|
17
17
|
import { HttpClient } from '@microsoft/sp-http';
|
|
18
18
|
import { IClientSideComponentManifest } from '@microsoft/sp-module-interfaces';
|
|
19
|
+
import { IClientSideWebPartManifest } from '@microsoft/sp-module-interfaces';
|
|
19
20
|
import { IDisposable } from '@microsoft/sp-core-library';
|
|
20
21
|
import { IDynamicDataCallables } from '@microsoft/sp-dynamic-data';
|
|
21
22
|
import { IDynamicDataSource } from '@microsoft/sp-dynamic-data';
|
|
@@ -57,7 +58,7 @@ export declare abstract class BaseComponent implements ISPEventObserver {
|
|
|
57
58
|
* then we can convert "context" to an ordinary property getter.
|
|
58
59
|
* https://github.com/Microsoft/TypeScript/issues/338
|
|
59
60
|
*/
|
|
60
|
-
protected context
|
|
61
|
+
protected context?: BaseComponentContext;
|
|
61
62
|
private _isDisposed;
|
|
62
63
|
/* Excluded from this release type: _dynamicDataSourceId */
|
|
63
64
|
/* Excluded from this release type: __constructor */
|
|
@@ -214,6 +215,8 @@ export declare abstract class BaseComponentContext implements IDisposable {
|
|
|
214
215
|
get isServedFromLocalhost(): boolean;
|
|
215
216
|
}
|
|
216
217
|
|
|
218
|
+
/* Excluded from this release type: _CacheMissReason */
|
|
219
|
+
|
|
217
220
|
/**
|
|
218
221
|
* The Dynamic Data Provider allows components to consume Dynamic Data.
|
|
219
222
|
* It allows components to request Dynamic Data sources and register/unregister to those.
|
|
@@ -511,12 +514,12 @@ export declare class DynamicProperty<TValue> implements IDisposable {
|
|
|
511
514
|
private _value;
|
|
512
515
|
private _hasValue;
|
|
513
516
|
private _sourceId;
|
|
514
|
-
private _provider
|
|
517
|
+
private _provider?;
|
|
515
518
|
private _isDisposed;
|
|
516
519
|
/**
|
|
517
520
|
* Set to store all callback assigned in order to unregister them when the object gets disposed.
|
|
518
521
|
*/
|
|
519
|
-
private _callbacks
|
|
522
|
+
private _callbacks?;
|
|
520
523
|
/**
|
|
521
524
|
* Default callback. Can be undefined if another callback has been set up.
|
|
522
525
|
*/
|
|
@@ -525,8 +528,8 @@ export declare class DynamicProperty<TValue> implements IDisposable {
|
|
|
525
528
|
* Collection of callbacks that should be registered if/when the DynamicProperty source gets registered.
|
|
526
529
|
* This gets emptied when the source exists.
|
|
527
530
|
*/
|
|
528
|
-
private _pendingCallbacks
|
|
529
|
-
private _onSourcesChanged
|
|
531
|
+
private _pendingCallbacks?;
|
|
532
|
+
private _onSourcesChanged?;
|
|
530
533
|
/**
|
|
531
534
|
* Create a new DynamicProperty object.
|
|
532
535
|
* @param provider - DynamicDataProvider.
|
|
@@ -832,6 +835,8 @@ export declare interface ISerializedServerProcessedData {
|
|
|
832
835
|
export declare interface ITheme extends IPartialTheme {
|
|
833
836
|
}
|
|
834
837
|
|
|
838
|
+
/* Excluded from this release type: _IWebPartLoadData */
|
|
839
|
+
|
|
835
840
|
/* Excluded from this release type: _LegacyThirdPartyFabricCoreLoader */
|
|
836
841
|
|
|
837
842
|
/* Excluded from this release type: _PropertyMetadataProcessor */
|
|
@@ -894,4 +899,6 @@ export declare class ThemeProvider {
|
|
|
894
899
|
private _raiseEvent;
|
|
895
900
|
}
|
|
896
901
|
|
|
902
|
+
/* Excluded from this release type: _WebPartLoadDataCollector */
|
|
903
|
+
|
|
897
904
|
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.15.0",["tslib","@ms/sp-telemetry","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","@microsoft/sp-core-library","@microsoft/sp-page-context","@microsoft/load-themed-styles","@microsoft/sp-diagnostics","@microsoft/sp-http"],function(n,a,i,r,o,s,c,d,l){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,d=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&d.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(c&&c(t);d.length;)d.shift()()}var n={},a={1:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,i){n=a[e]=[t,i]});t.push(n[2]=r);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+"chunk."+({0:"legacy-third-party-fabric-core-localfont"}[e]||e)+"_"+"none"+"_"+{0:"2f01d25ba0d75d4649ee"}[e]+".js"}(e),0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous");var c=new Error;o=function(t){s.onerror=s.onload=null,clearTimeout(d);var n=a[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",c.name="ChunkLoadError",c.type=i,c.request=r,n[1](c)}a[e]=void 0}};var d=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_15_0=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_15_0||[],o=r.push.bind(r);r.push=t,r=r.slice();for(var s=0;s<r.length;s++)t(r[s]);var c=o;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp-component-base_default_e032a7004043b5dfb553\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2q6Q":function(e,t){e.exports=a},"84nK":function(e,t){e.exports=i},Pk8u:function(e,t){e.exports=r},UWqr:function(e,t){e.exports=o},"X+PM":function(e,t){e.exports=s},jOlS:function(e,t){e.exports=c},mGD9:function(e){e.exports=JSON.parse('{"r":"SourceAlreadyInitialized","i":"NoSendEventWhenAllowedEventsIsNonEmpty","t":"DynamicDataSourceManagerIsDisposed","n":"DynamicDataSourceManagerIsNotInitialized","e":"DynamicDataSourceIsNotInitialized","a":"InvalidEvent"}')},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"BaseComponent",function(){return a}),n.d(t,"BaseComponentContext",function(){return m}),n.d(t,"DynamicDataProvider",function(){return l}),n.d(t,"DynamicDataSourceManager",function(){return p}),n.d(t,"DynamicProperty",function(){return _}),n.d(t,"_LegacyThirdPartyFabricCoreLoader",function(){return h}),n.d(t,"_PropertyMetadataProcessor",function(){return b}),n.d(t,"ThemeChangedEventArgs",function(){return g}),n.d(t,"ThemeProvider",function(){return v}),n.d(t,"_ShimmerFactory",function(){return y}),n.d(t,"_ensureIsolatedDomainUrl",function(){return D}),n.d(t,"_WebPartLoadDataCollector",function(){return C});var a=function(){function e(){this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}(),i=n("UWqr"),r=n("ut3N"),o=n("X+PM"),s=n("vlQI"),c=n("84nK"),d=n("Pk8u"),l=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,t){i.Validate.isNotNullOrUndefined(e,"component"),i.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=t.consume(c._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},e.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),e.prototype.registerSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNotNullOrUndefined(t,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,t),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:t})},e.prototype.unregisterSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNotNullOrUndefined(t,"callback");var n={id:e,callback:t};this.isRegistrationPending(n)?this._removePendingRegistration(n):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,t),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNonemptyString(t,"propertyId"),i.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,t,this._component,n),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:t})):this._addPendingRegistration({id:e,propertyId:t,callback:n})},e.prototype.unregisterPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNonemptyString(t,"propertyId"),i.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n,propertyId:t};this.isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterPropertyChanged(e,t,this._component,n),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:t}))},e.prototype.registerAvailableSourcesChanged=function(e){i.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){i.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,e)},e.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},e.prototype.getAvailableSourcesByComponentId=function(e){this._assertNotDisposed(),this._assertInitialized();var t=[];return this._dynamicDataManager.getSources().forEach(function(n){e.equals(i.Guid.tryParse(n.metadata.componentId)||i.Guid.empty)&&t.push(n)}),t},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(t){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNotNullOrUndefined(t,"dataReference");var n=this._dynamicDataManager.tryGetSource(t.sourceId);if(n){var a=n.getPropertyValue(t.property);return a&&t.propertyPath&&t.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),i=n[0];if(a)if(Array.isArray(a)){var r=[];a.forEach(function(e){e.hasOwnProperty(i)&&r.push(e[i])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}a=isNaN(parseInt(o,10))?r:r[o]}else a=a.hasOwnProperty(i)?a[i]:void 0}),a}},e.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},e.prototype._addPendingRegistration=function(e){this.isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},e.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},e.prototype.isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new r._LogEntry("DynamicDataProvider",e,r._LogType.Event,d.merge(a,t));r._EngagementLogger.logEventWithLogEntry(i)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}(),u=n("17wl"),f=n("mGD9"),p=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=r._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,t){i.Validate.isNotNullOrUndefined(e,"component"),i.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._dynamicDataManager=t.consume(c._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},e.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),e.prototype.initializeSource=function(e){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(f.r);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},e.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},e.prototype.notifyPropertyChanged=function(e){i.Validate.isNonemptyString(e,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,e)},e.prototype.updateMetadata=function(e){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),i.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,Object(d.merge)(this._src.metadata,e)},Object.defineProperty(e.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),e.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(f.i);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},e.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?Object(d.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},e.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},e.prototype._getPropertyDefinitions=function(){return Object(d.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){i.Validate.isNotNullOrUndefined(e,"propertyId");var t=new r._QosMonitor("DynamicDataSourceManager._getPropertyValue"),n=e.split(l._jsonPathArrayRegex);try{var a=this._callableFunctions.getPropertyValue(n.shift());if(n.length>0&&!isNaN(parseInt(n[0],10))&&Array.isArray(a)&&(a=a[n[0]]),void 0===a&&0===this._callableFunctions.getPropertyDefinitions().filter(function(t){return t.id===e}).length&&this._src)throw new Error('Property "'.concat(e,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return t.writeSuccess(Object(u.__assign)(Object(u.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyValue:a,propertyId:e})),Object(d.cloneDeep)(a)}catch(n){return t.writeUnexpectedFailure("NoPropertyId",n,{propertyId:e}),void r._TraceLogger.logErrorData({source:this._logSource,error:n})}},e.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},e.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},e.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},e.prototype._getAnnotatedPropertyValue=function(e){i.Validate.isNotNullOrUndefined(e,"propertyId");var t,n=new r._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var a=e.split(l._jsonPathArrayRegex);try{t=this._callableFunctions.getAnnotatedPropertyValue(a.shift()),a.length>0&&!isNaN(parseInt(a[0],10))&&Array.isArray(t)&&(t=t[a[0]]),n.writeSuccess(Object(u.__assign)(Object(u.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:t,propertyId:e}))}catch(e){n.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:t}),r._TraceLogger.logErrorData({source:this._logSource,error:e}),t=void 0}}return t||(t={sampleValue:this._getPropertyValue(e),metadata:void 0}),t},e.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},e.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},e.prototype._assertValidEvent=function(e){if(!this._allowedEvents()||-1===Object(d.findIndex)(this._allowedEvents(),{name:e}))throw new Error(i.Text.format(f.a,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(f.t)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(f.n)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(f.e)},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new r._LogEntry("DynamicDataSourceManager",e,r._LogType.Event,d.merge(a,t));r._EngagementLogger.logEventWithLogEntry(i)},e}(),m=function(){function e(e){var t=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,i.Validate.isNotNullOrUndefined(e,"parameters"),i.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var n=this.manifest.loaderConfig;n&&n.internalModuleBaseUrls&&n.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(n.internalModuleBaseUrls[0])),i.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),i.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(r._logSourceServiceKey,r._LogSource.create(e.loggingTag)),i.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(s.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(s.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(s.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(s.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(s.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(i._ClientManifestData.serviceKey,new i._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){t._pageContext=t.serviceScope.consume(o.PageContext.serviceKey)}),this._dynamicDataProvider=new l,this._dynamicDataSourceManager=new p}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(e.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),e.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(e.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),e}(),_=function(){function e(t,n){this._hasValue=!1,this._isDisposed=!1,i.Validate.isNotNullOrUndefined(t,"provider"),this.__type=e._TYPE_NAME,this._provider=t,this._callbacks=new Set,this._pendingCallbacks=new Set,n?(this._pendingCallbacks.add(n),this._defaultCallback=n):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return e.prototype.setReference=function(e){var t=this;i.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var n=new Set;this._callbacks.forEach(function(e){return n.add(e)}),this._callbacks.forEach(function(e){return t.unregister(e)}),this._reference=new c.DynamicDataReference(e),this._sourceId=this._getSourceId(),n.forEach(function(e){return t.register(e)}),this._onSourcesChangedCallback()},e.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},e.prototype.toJSON=function(){return this._hasValue?{__type:e._TYPE_NAME,value:this._value}:{__type:e._TYPE_NAME,reference:this._reference}},Object.defineProperty(e.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.tryGetValue=function(){if(!this.isDisposed||i._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){i.Validate.isNotDisposed(this,"DynamicData");var e=this._getData();return Array.isArray(e)&&(e=e[0]),e}},e.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},e.prototype.tryGetSource=function(){if(!this.isDisposed||i._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){i.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._callbacks.add(e)):this._pendingCallbacks.add(e)},e.prototype.unregister=function(e){i.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._pendingCallbacks.delete(e),this._callbacks.delete(e)},e.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},e.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},e.prototype._getSourceId=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return d.cloneDeepWith(e,function(e){if(e instanceof l)return e})},e.prototype._getPropertyToRegister=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(e._arrayRegex)[0]},e.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},e.prototype._getData=function(){if(!this.isDisposed||i._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;i.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw r._EngagementLogger.logEventWithLogEntry(e),e}return r._EngagementLogger.logEventWithLogEntry(new r._LogEntry("DynamicData","getData",r._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),h=function(){function e(){}return e.load=function(t){return t||e.isLoaded?Promise.resolve():n.e(0).then(n.bind(null,"TL+I")).then(function(){e.isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?n.e(0).then(n.bind(null,"TL+I")).then(function(){e.isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},e.needLegacyFabricCss=function(e){if(e.isInternal)return!1;if(void 0===e.loadLegacyFabricCss){var t=i.Version._tryParseSPFxVersion(e);return!t||t.lessThan(i.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e.isLoaded&&e.needLegacyFabricCss(t)},e.isLoaded=!1,e}(),b=function(){function e(){}return e.serializeServerProcessedData=function(e,t,n){var a=this;this._forEachPropertyWithMetaData(e,t,function(e,i,r){i.shouldNotPersist&&d.set(t,e,void 0);var o=e,s=d.get(t,e);if(n&&"string"==typeof s&&s){if(n.htmlStrings&&i.isHtmlString?n.htmlStrings[o]=s:n.searchablePlainTexts&&i.isSearchablePlainText?n.searchablePlainTexts[o]=s:n.links&&i.isLink?n.links[o]=s:n.imageSources&&i.isImageSource?n.imageSources[o]=s:i.isComponentDependency&&(n.componentDependencies||(n.componentDependencies={}),n.componentDependencies[o]=s),i.customMetadata){var c={};if(i&&i.customMetadata)for(var l in i.customMetadata){var u=i.customMetadata[l];void 0!==r&&-1!==u.indexOf("*")&&(u=u.replace("*",r.toString())),a._validateAndIteratePath(u,t,function(e,a){if(void 0===a&&i.customMetadata){var r=d.get(t,e);n&&void 0!==r&&(c[e]=r)}})}n.customMetadata||(n.customMetadata={}),n.customMetadata[o]=c}d.set(t,e,void 0)}})},e.reInstateServerProcessedData=function(e,t,n,a){if(a&&this._forEachPropertyWithMetaData(e,t,function(e,n){"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==a.id&&n.isHtmlString&&d.set(t,e,void 0)}),n)for(var i=0,r=[n.htmlStrings,n.searchablePlainTexts,n.imageSources,n.links,n.componentDependencies];i<r.length;i++){var o=r[i];if(o)for(var s in o){var c=o[s];"string"==typeof c&&d.set(t,s,c)}}},e._forEachPropertyWithMetaData=function(e,t,n){if(e){var a=function(a){var r=e[a];i._validateAndIteratePath(a,t,function(e,t){n(e,r,t)})},i=this;for(var r in e)a(r)}},e._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=d.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var s=0;s<o.length;s++)n(e.replace("*","".concat(s)),s)}else n(e)},e}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.__extends)(t,e),t}(i.SPEventArgs),v=function(){function e(t,n){this._id=e._instanceCount++,this.themeChangedEvent=new i.SPEvent(this._themeChangedEventName),n&&(this._theme=Object.freeze(n))}return Object.defineProperty(e.prototype,"_themeChangedEventName",{get:function(){return e._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),e.prototype._clearTheme=function(){this._theme=void 0,this._raiseEvent()},e.prototype._setTheme=function(e){i.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype._raiseEvent=function(){i._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme})},e.serviceKey=i.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();n("jOlS").loadStyles(".a_a_a3996340{position:relative;width:100%;margin:5px;height:100%;background-color:transparent}.b_a_a3996340{fill:#f4f4f4}",!0);var y=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="a_a_a3996340";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="b_a_a3996340";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}(),S=new RegExp("^https://[^/]*/");function D(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(S,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var I=n("2q6Q"),x="N/A",C=function(){function e(){}return e.collect=function(t,n,a){var r=function(e){return I._PerformanceLogger.readComponentBreakdown(n,e)||I._PerformanceLogger.readTempData("".concat(n,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(a&&a.legacyPageContext&&a.legacyPageContext.isMultiGeoTenant),f=x,p=x,m="N/A",_="N/A";if(t.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=e._getCacheMissReason(h,r);var v=I._PerformanceLogger.now(),y=I._PerformanceDataDimensions.Layout,S=I._PerformanceDataDimensions.DataProvider,D=I._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(n)>-1&&(p===x&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===x||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var C=I._PerformanceLogger.getWebpartFlightsAndExperiments(n),O=this._getSyncRenderTime(p,r),w={alias:t.alias,isMultiGeo:u,isInternal:t.isInternal,isSpinnyShown:l,manifestId:t.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:O,scenarioId:I._PerformanceLogger.getScenarioId(),isFullPage:I._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:C,storeAppId:t.storeAppId,mpnId:t.mpnId,componentDeveloperName:t.componentDeveloperName};return w.teamsHosted=i._BrowserUtilities.isTeamsHosted(),w},e._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(I._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return"N/A";var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o="NotSpecified";return n?o="CacheConfigMissmatch":a?o="LateFlush":i?o="CachedItemNotFound":r&&(o="CacheExpired"),o},e}()},ut3N:function(e,t){e.exports=d},vlQI:function(e,t){e.exports=l}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.15.0",["tslib","@ms/sp-telemetry","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","@microsoft/sp-core-library","@microsoft/sp-page-context","@microsoft/load-themed-styles","@microsoft/sp-diagnostics","@microsoft/sp-http"],function(n,a,i,r,o,s,c,d,l){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,d=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&d.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(c&&c(t);d.length;)d.shift()()}var n={},a={1:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,i){n=a[e]=[t,i]});t.push(n[2]=r);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+"chunk."+({0:"legacy-third-party-fabric-core-localfont"}[e]||e)+"_"+"none"+"_"+{0:"2f01d25ba0d75d4649ee"}[e]+".js"}(e),0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous");var c=new Error;o=function(t){s.onerror=s.onload=null,clearTimeout(d);var n=a[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",c.name="ChunkLoadError",c.type=i,c.request=r,n[1](c)}a[e]=void 0}};var d=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_15_0=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_15_0||[],o=r.push.bind(r);r.push=t,r=r.slice();for(var s=0;s<r.length;s++)t(r[s]);var c=o;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp-component-base_en-us_e032a7004043b5dfb553\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2q6Q":function(e,t){e.exports=a},"84nK":function(e,t){e.exports=i},Pk8u:function(e,t){e.exports=r},UWqr:function(e,t){e.exports=o},"X+PM":function(e,t){e.exports=s},jOlS:function(e,t){e.exports=c},mGD9:function(e){e.exports=JSON.parse('{"r":"Source has already been initialized.","i":"\\u0022sendEvent()\\u0022 must be defined, when the \\u0022allowedEvents()\\u0022 returns a non-empty value.","t":"Dynamic Data Source Manager has been disposed.","n":"Dynamic Data Source Manager has not been initialized.","e":"Dynamic Data Source has not been initialized.","a":"\\u0022{0}\\u0022 event is not allowed on the source \\u0022{1}\\u0022"}')},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"BaseComponent",function(){return a}),n.d(t,"BaseComponentContext",function(){return m}),n.d(t,"DynamicDataProvider",function(){return l}),n.d(t,"DynamicDataSourceManager",function(){return p}),n.d(t,"DynamicProperty",function(){return _}),n.d(t,"_LegacyThirdPartyFabricCoreLoader",function(){return h}),n.d(t,"_PropertyMetadataProcessor",function(){return b}),n.d(t,"ThemeChangedEventArgs",function(){return g}),n.d(t,"ThemeProvider",function(){return v}),n.d(t,"_ShimmerFactory",function(){return y}),n.d(t,"_ensureIsolatedDomainUrl",function(){return D}),n.d(t,"_WebPartLoadDataCollector",function(){return C});var a=function(){function e(){this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}(),i=n("UWqr"),r=n("ut3N"),o=n("X+PM"),s=n("vlQI"),c=n("84nK"),d=n("Pk8u"),l=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,t){i.Validate.isNotNullOrUndefined(e,"component"),i.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=t.consume(c._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},e.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),e.prototype.registerSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNotNullOrUndefined(t,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,t),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:t})},e.prototype.unregisterSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNotNullOrUndefined(t,"callback");var n={id:e,callback:t};this.isRegistrationPending(n)?this._removePendingRegistration(n):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,t),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNonemptyString(t,"propertyId"),i.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,t,this._component,n),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:t})):this._addPendingRegistration({id:e,propertyId:t,callback:n})},e.prototype.unregisterPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNonemptyString(e,"sourceId"),i.Validate.isNonemptyString(t,"propertyId"),i.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n,propertyId:t};this.isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterPropertyChanged(e,t,this._component,n),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:t}))},e.prototype.registerAvailableSourcesChanged=function(e){i.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){i.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,e)},e.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},e.prototype.getAvailableSourcesByComponentId=function(e){this._assertNotDisposed(),this._assertInitialized();var t=[];return this._dynamicDataManager.getSources().forEach(function(n){e.equals(i.Guid.tryParse(n.metadata.componentId)||i.Guid.empty)&&t.push(n)}),t},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(t){this._assertNotDisposed(),this._assertInitialized(),i.Validate.isNotNullOrUndefined(t,"dataReference");var n=this._dynamicDataManager.tryGetSource(t.sourceId);if(n){var a=n.getPropertyValue(t.property);return a&&t.propertyPath&&t.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),i=n[0];if(a)if(Array.isArray(a)){var r=[];a.forEach(function(e){e.hasOwnProperty(i)&&r.push(e[i])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}a=isNaN(parseInt(o,10))?r:r[o]}else a=a.hasOwnProperty(i)?a[i]:void 0}),a}},e.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},e.prototype._addPendingRegistration=function(e){this.isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},e.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},e.prototype.isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new r._LogEntry("DynamicDataProvider",e,r._LogType.Event,d.merge(a,t));r._EngagementLogger.logEventWithLogEntry(i)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}(),u=n("17wl"),f=n("mGD9"),p=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=r._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,t){i.Validate.isNotNullOrUndefined(e,"component"),i.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._dynamicDataManager=t.consume(c._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},e.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),e.prototype.initializeSource=function(e){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(f.r);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},e.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},e.prototype.notifyPropertyChanged=function(e){i.Validate.isNonemptyString(e,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,e)},e.prototype.updateMetadata=function(e){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),i.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,Object(d.merge)(this._src.metadata,e)},Object.defineProperty(e.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),e.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(f.i);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},e.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?Object(d.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},e.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},e.prototype._getPropertyDefinitions=function(){return Object(d.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){i.Validate.isNotNullOrUndefined(e,"propertyId");var t=new r._QosMonitor("DynamicDataSourceManager._getPropertyValue"),n=e.split(l._jsonPathArrayRegex);try{var a=this._callableFunctions.getPropertyValue(n.shift());if(n.length>0&&!isNaN(parseInt(n[0],10))&&Array.isArray(a)&&(a=a[n[0]]),void 0===a&&0===this._callableFunctions.getPropertyDefinitions().filter(function(t){return t.id===e}).length&&this._src)throw new Error('Property "'.concat(e,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return t.writeSuccess(Object(u.__assign)(Object(u.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyValue:a,propertyId:e})),Object(d.cloneDeep)(a)}catch(n){return t.writeUnexpectedFailure("NoPropertyId",n,{propertyId:e}),void r._TraceLogger.logErrorData({source:this._logSource,error:n})}},e.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},e.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},e.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},e.prototype._getAnnotatedPropertyValue=function(e){i.Validate.isNotNullOrUndefined(e,"propertyId");var t,n=new r._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var a=e.split(l._jsonPathArrayRegex);try{t=this._callableFunctions.getAnnotatedPropertyValue(a.shift()),a.length>0&&!isNaN(parseInt(a[0],10))&&Array.isArray(t)&&(t=t[a[0]]),n.writeSuccess(Object(u.__assign)(Object(u.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:t,propertyId:e}))}catch(e){n.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:t}),r._TraceLogger.logErrorData({source:this._logSource,error:e}),t=void 0}}return t||(t={sampleValue:this._getPropertyValue(e),metadata:void 0}),t},e.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},e.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},e.prototype._assertValidEvent=function(e){if(!this._allowedEvents()||-1===Object(d.findIndex)(this._allowedEvents(),{name:e}))throw new Error(i.Text.format(f.a,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(f.t)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(f.n)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(f.e)},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new r._LogEntry("DynamicDataSourceManager",e,r._LogType.Event,d.merge(a,t));r._EngagementLogger.logEventWithLogEntry(i)},e}(),m=function(){function e(e){var t=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,i.Validate.isNotNullOrUndefined(e,"parameters"),i.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var n=this.manifest.loaderConfig;n&&n.internalModuleBaseUrls&&n.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(n.internalModuleBaseUrls[0])),i.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),i.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(r._logSourceServiceKey,r._LogSource.create(e.loggingTag)),i.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(s.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(s.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(s.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(s.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(s.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(i._ClientManifestData.serviceKey,new i._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){t._pageContext=t.serviceScope.consume(o.PageContext.serviceKey)}),this._dynamicDataProvider=new l,this._dynamicDataSourceManager=new p}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(e.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),e.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(e.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),e}(),_=function(){function e(t,n){this._hasValue=!1,this._isDisposed=!1,i.Validate.isNotNullOrUndefined(t,"provider"),this.__type=e._TYPE_NAME,this._provider=t,this._callbacks=new Set,this._pendingCallbacks=new Set,n?(this._pendingCallbacks.add(n),this._defaultCallback=n):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return e.prototype.setReference=function(e){var t=this;i.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var n=new Set;this._callbacks.forEach(function(e){return n.add(e)}),this._callbacks.forEach(function(e){return t.unregister(e)}),this._reference=new c.DynamicDataReference(e),this._sourceId=this._getSourceId(),n.forEach(function(e){return t.register(e)}),this._onSourcesChangedCallback()},e.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},e.prototype.toJSON=function(){return this._hasValue?{__type:e._TYPE_NAME,value:this._value}:{__type:e._TYPE_NAME,reference:this._reference}},Object.defineProperty(e.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.tryGetValue=function(){if(!this.isDisposed||i._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){i.Validate.isNotDisposed(this,"DynamicData");var e=this._getData();return Array.isArray(e)&&(e=e[0]),e}},e.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},e.prototype.tryGetSource=function(){if(!this.isDisposed||i._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){i.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._callbacks.add(e)):this._pendingCallbacks.add(e)},e.prototype.unregister=function(e){i.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._pendingCallbacks.delete(e),this._callbacks.delete(e)},e.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},e.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},e.prototype._getSourceId=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return d.cloneDeepWith(e,function(e){if(e instanceof l)return e})},e.prototype._getPropertyToRegister=function(){return i.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(e._arrayRegex)[0]},e.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},e.prototype._getData=function(){if(!this.isDisposed||i._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;i.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw r._EngagementLogger.logEventWithLogEntry(e),e}return r._EngagementLogger.logEventWithLogEntry(new r._LogEntry("DynamicData","getData",r._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),h=function(){function e(){}return e.load=function(t){return t||e.isLoaded?Promise.resolve():n.e(0).then(n.bind(null,"TL+I")).then(function(){e.isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?n.e(0).then(n.bind(null,"TL+I")).then(function(){e.isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},e.needLegacyFabricCss=function(e){if(e.isInternal)return!1;if(void 0===e.loadLegacyFabricCss){var t=i.Version._tryParseSPFxVersion(e);return!t||t.lessThan(i.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e.isLoaded&&e.needLegacyFabricCss(t)},e.isLoaded=!1,e}(),b=function(){function e(){}return e.serializeServerProcessedData=function(e,t,n){var a=this;this._forEachPropertyWithMetaData(e,t,function(e,i,r){i.shouldNotPersist&&d.set(t,e,void 0);var o=e,s=d.get(t,e);if(n&&"string"==typeof s&&s){if(n.htmlStrings&&i.isHtmlString?n.htmlStrings[o]=s:n.searchablePlainTexts&&i.isSearchablePlainText?n.searchablePlainTexts[o]=s:n.links&&i.isLink?n.links[o]=s:n.imageSources&&i.isImageSource?n.imageSources[o]=s:i.isComponentDependency&&(n.componentDependencies||(n.componentDependencies={}),n.componentDependencies[o]=s),i.customMetadata){var c={};if(i&&i.customMetadata)for(var l in i.customMetadata){var u=i.customMetadata[l];void 0!==r&&-1!==u.indexOf("*")&&(u=u.replace("*",r.toString())),a._validateAndIteratePath(u,t,function(e,a){if(void 0===a&&i.customMetadata){var r=d.get(t,e);n&&void 0!==r&&(c[e]=r)}})}n.customMetadata||(n.customMetadata={}),n.customMetadata[o]=c}d.set(t,e,void 0)}})},e.reInstateServerProcessedData=function(e,t,n,a){if(a&&this._forEachPropertyWithMetaData(e,t,function(e,n){"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==a.id&&n.isHtmlString&&d.set(t,e,void 0)}),n)for(var i=0,r=[n.htmlStrings,n.searchablePlainTexts,n.imageSources,n.links,n.componentDependencies];i<r.length;i++){var o=r[i];if(o)for(var s in o){var c=o[s];"string"==typeof c&&d.set(t,s,c)}}},e._forEachPropertyWithMetaData=function(e,t,n){if(e){var a=function(a){var r=e[a];i._validateAndIteratePath(a,t,function(e,t){n(e,r,t)})},i=this;for(var r in e)a(r)}},e._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=d.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var s=0;s<o.length;s++)n(e.replace("*","".concat(s)),s)}else n(e)},e}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.__extends)(t,e),t}(i.SPEventArgs),v=function(){function e(t,n){this._id=e._instanceCount++,this.themeChangedEvent=new i.SPEvent(this._themeChangedEventName),n&&(this._theme=Object.freeze(n))}return Object.defineProperty(e.prototype,"_themeChangedEventName",{get:function(){return e._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),e.prototype._clearTheme=function(){this._theme=void 0,this._raiseEvent()},e.prototype._setTheme=function(e){i.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype._raiseEvent=function(){i._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme})},e.serviceKey=i.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();n("jOlS").loadStyles(".a_a_a3996340{position:relative;width:100%;margin:5px;height:100%;background-color:transparent}.b_a_a3996340{fill:#f4f4f4}",!0);var y=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="a_a_a3996340";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="b_a_a3996340";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}(),S=new RegExp("^https://[^/]*/");function D(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(S,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var I=n("2q6Q"),x="N/A",C=function(){function e(){}return e.collect=function(t,n,a){var r=function(e){return I._PerformanceLogger.readComponentBreakdown(n,e)||I._PerformanceLogger.readTempData("".concat(n,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(a&&a.legacyPageContext&&a.legacyPageContext.isMultiGeoTenant),f=x,p=x,m="N/A",_="N/A";if(t.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=e._getCacheMissReason(h,r);var v=I._PerformanceLogger.now(),y=I._PerformanceDataDimensions.Layout,S=I._PerformanceDataDimensions.DataProvider,D=I._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(n)>-1&&(p===x&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===x||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var C=I._PerformanceLogger.getWebpartFlightsAndExperiments(n),O=this._getSyncRenderTime(p,r),w={alias:t.alias,isMultiGeo:u,isInternal:t.isInternal,isSpinnyShown:l,manifestId:t.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:O,scenarioId:I._PerformanceLogger.getScenarioId(),isFullPage:I._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:C,storeAppId:t.storeAppId,mpnId:t.mpnId,componentDeveloperName:t.componentDeveloperName};return w.teamsHosted=i._BrowserUtilities.isTeamsHosted(),w},e._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(I._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return"N/A";var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o="NotSpecified";return n?o="CacheConfigMissmatch":a?o="LateFlush":i?o="CachedItemNotFound":r&&(o="CacheExpired"),o},e}()},ut3N:function(e,t){e.exports=d},vlQI:function(e,t){e.exports=l}})});
|