@microsoft/sp-adaptive-card-extension-base 1.16.1 → 1.17.0-beta.1

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.
Files changed (34) hide show
  1. package/dist/eeec822e-c28a-46b4-affc-7058e4c1aa80.manifest.json +73 -73
  2. package/dist/index-internal-beta.d.ts +61 -2
  3. package/dist/index-internal-public.d.ts +27 -2
  4. package/dist/index-internal.d.ts +178 -17
  5. package/dist/sp-adaptive-card-extension-base_default_1a8c8e3e49f741959083.js +1 -0
  6. package/dist/sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js +1 -0
  7. package/dist/sp-adaptive-card-extension-base_qps-ploc_1a8c8e3e49f741959083.js +1 -0
  8. package/dist/sp-adaptive-card-extension-base_qps-ploca_1a8c8e3e49f741959083.js +1 -0
  9. package/dist/test-api/AdaptiveCardExtensionTestWrapper.d.ts +2 -1
  10. package/dist/test-api/AdaptiveCardExtensionTestWrapper.js +3 -0
  11. package/dist/tsdoc-metadata.json +1 -1
  12. package/lib-commonjs/AdaptiveCardExtensionLoader.js +9 -11
  13. package/lib-commonjs/BaseAdaptiveCardExtension.js +55 -56
  14. package/lib-commonjs/ac-template/util/actionButtonHelper.js +54 -12
  15. package/lib-commonjs/ac-template/util/getCardRenderParameters.js +22 -9
  16. package/lib-commonjs/actionShim/AdaptiveCardExtensionActionShim.js +9 -7
  17. package/lib-commonjs/caching/CacheManager.js +2 -2
  18. package/lib-commonjs/caching/cache/ACEMySiteCacheManager.js +25 -11
  19. package/lib-commonjs/caching/cache/BaseAdaptiveCardExtensionCache.js +18 -3
  20. package/lib-commonjs/common/Flights.js +9 -2
  21. package/lib-commonjs/common/Killswitches.js +67 -65
  22. package/lib-commonjs/interfaces/CardActionType.js +3 -0
  23. package/lib-commonjs/interfaces/INotificationTypes.js +3 -0
  24. package/lib-commonjs/interfaces/ISelectMediaActionTypes.js +1 -0
  25. package/lib-commonjs/isolation/IsolatedAdaptiveCardExtensionService.js +68 -68
  26. package/lib-commonjs/isolation/interfaces/IBotACE.js +3 -0
  27. package/lib-commonjs/loc/Strings.resx +8 -0
  28. package/lib-commonjs/test-api/AdaptiveCardExtensionTestWrapper.js +3 -0
  29. package/lib-commonjs/views/navigator/ViewNavigator.js +1 -2
  30. package/package.json +18 -17
  31. package/dist/sp-adaptive-card-extension-base_default_6aea883129fc8eca190e.js +0 -1
  32. package/dist/sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js +0 -1
  33. package/dist/sp-adaptive-card-extension-base_qps-ploc_6aea883129fc8eca190e.js +0 -1
  34. package/dist/sp-adaptive-card-extension-base_qps-ploca_6aea883129fc8eca190e.js +0 -1
@@ -3,7 +3,7 @@
3
3
  "id": "eeec822e-c28a-46b4-affc-7058e4c1aa80",
4
4
  "alias": "SpAdaptiveCardBase",
5
5
  "componentType": "Library",
6
- "version": "1.16.1",
6
+ "version": "1.17.0",
7
7
  "loaderConfig": {
8
8
  "internalModuleBaseUrls": [
9
9
  "https://localhost:4321/dist/"
@@ -13,71 +13,71 @@
13
13
  "sp-adaptive-card-extension-base": {
14
14
  "type": "localizedPath",
15
15
  "paths": {
16
- "default": "sp-adaptive-card-extension-base_default_6aea883129fc8eca190e.js",
17
- "en-US": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
18
- "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_6aea883129fc8eca190e.js",
19
- "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_6aea883129fc8eca190e.js",
20
- "en-GB": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
21
- "en-NZ": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
22
- "en-IE": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
23
- "en-AU": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
24
- "bn": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
25
- "chr": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
26
- "dv": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
27
- "div": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
28
- "en": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
29
- "fil": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
30
- "haw": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
31
- "iu": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
32
- "lo": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
33
- "moh": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
34
- "sq": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
35
- "am": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
36
- "hy": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
37
- "mk": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
38
- "bs": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
39
- "my": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
40
- "dz": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
41
- "en-CY": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
42
- "en-EG": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
43
- "en-IL": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
44
- "en-IS": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
45
- "en-JO": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
46
- "en-KE": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
47
- "en-KW": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
48
- "en-MK": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
49
- "en-MT": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
50
- "en-PK": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
51
- "en-QA": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
52
- "en-SA": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
53
- "en-LK": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
54
- "en-AE": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
55
- "en-VN": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
56
- "is": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
57
- "km": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
58
- "kh": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
59
- "mt": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
60
- "fa": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
61
- "gd": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
62
- "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
63
- "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
64
- "sd": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
65
- "si": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
66
- "so": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
67
- "ti-ET": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
68
- "uz": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
69
- "en-SG": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
70
- "en-HK": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
71
- "en-MY": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
72
- "en-PH": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
73
- "en-TT": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
74
- "en-AZ": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
75
- "en-BH": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
76
- "en-BN": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
77
- "en-ID": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js",
78
- "mi": "sp-adaptive-card-extension-base_en-us_6aea883129fc8eca190e.js"
16
+ "default": "sp-adaptive-card-extension-base_default_1a8c8e3e49f741959083.js",
17
+ "en-US": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
18
+ "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_1a8c8e3e49f741959083.js",
19
+ "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_1a8c8e3e49f741959083.js",
20
+ "en-GB": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
21
+ "en-NZ": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
22
+ "en-IE": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
23
+ "en-AU": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
24
+ "bn": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
25
+ "chr": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
26
+ "dv": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
27
+ "div": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
28
+ "en": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
29
+ "fil": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
30
+ "haw": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
31
+ "iu": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
32
+ "lo": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
33
+ "moh": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
34
+ "sq": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
35
+ "am": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
36
+ "hy": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
37
+ "mk": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
38
+ "bs": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
39
+ "my": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
40
+ "dz": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
41
+ "en-CY": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
42
+ "en-EG": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
43
+ "en-IL": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
44
+ "en-IS": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
45
+ "en-JO": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
46
+ "en-KE": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
47
+ "en-KW": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
48
+ "en-MK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
49
+ "en-MT": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
50
+ "en-PK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
51
+ "en-QA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
52
+ "en-SA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
53
+ "en-LK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
54
+ "en-AE": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
55
+ "en-VN": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
56
+ "is": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
57
+ "km": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
58
+ "kh": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
59
+ "mt": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
60
+ "fa": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
61
+ "gd": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
62
+ "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
63
+ "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
64
+ "sd": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
65
+ "si": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
66
+ "so": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
67
+ "ti-ET": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
68
+ "uz": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
69
+ "en-SG": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
70
+ "en-HK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
71
+ "en-MY": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
72
+ "en-PH": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
73
+ "en-TT": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
74
+ "en-AZ": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
75
+ "en-BH": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
76
+ "en-BN": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
77
+ "en-ID": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
78
+ "mi": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js"
79
79
  },
80
- "defaultPath": "sp-adaptive-card-extension-base_default_6aea883129fc8eca190e.js"
80
+ "defaultPath": "sp-adaptive-card-extension-base_default_1a8c8e3e49f741959083.js"
81
81
  },
82
82
  "tslib": {
83
83
  "type": "component",
@@ -87,42 +87,42 @@
87
87
  "@microsoft/sp-http-base": {
88
88
  "type": "component",
89
89
  "id": "8496636c-2300-4915-abef-20de64c98d8b",
90
- "version": "1.16.1"
90
+ "version": "1.17.0"
91
91
  },
92
92
  "@ms/sp-telemetry": {
93
93
  "type": "component",
94
94
  "id": "8217e442-8ed3-41fd-957d-b112e841286a",
95
- "version": "0.26.27"
95
+ "version": "0.26.110"
96
96
  },
97
97
  "@microsoft/sp-component-base": {
98
98
  "type": "component",
99
99
  "id": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
100
- "version": "1.16.1"
100
+ "version": "1.17.0"
101
101
  },
102
102
  "@microsoft/sp-loader": {
103
103
  "type": "component",
104
104
  "id": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
105
- "version": "1.16.1"
105
+ "version": "1.17.0"
106
106
  },
107
107
  "@microsoft/sp-lodash-subset": {
108
108
  "type": "component",
109
109
  "id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
110
- "version": "1.16.1"
110
+ "version": "1.17.0"
111
111
  },
112
112
  "@microsoft/sp-core-library": {
113
113
  "type": "component",
114
114
  "id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
115
- "version": "1.16.1"
115
+ "version": "1.17.0"
116
116
  },
117
117
  "@microsoft/sp-page-context": {
118
118
  "type": "component",
119
119
  "id": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
120
- "version": "1.16.1"
120
+ "version": "1.17.0"
121
121
  },
122
122
  "@microsoft/sp-diagnostics": {
123
123
  "type": "component",
124
124
  "id": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
125
- "version": "1.16.1"
125
+ "version": "1.17.0"
126
126
  }
127
127
  }
128
128
  }
@@ -211,6 +211,8 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
211
211
  *
212
212
  * @remarks If this property is not initialized, {@link BaseAdaptiveCardExtension.setState} cannot be called.
213
213
  *
214
+ * @remarks This property should not be directly updated. Please use {@link BaseAdaptiveCardExtension.setState} to update the state after initialization.
215
+ *
214
216
  * @readonly
215
217
  */
216
218
  protected get state(): Readonly<TState>;
@@ -269,6 +271,24 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
269
271
  * @virtual
270
272
  */
271
273
  protected getCachedState(state: TState): Partial<TState>;
274
+ /**
275
+ * Lifecycle method called when a notification is received for this Adaptive Card Extension.
276
+ *
277
+ * @remarks If the notification should be handled by this Adaptive Card Extension then a registered quick view id
278
+ * should be returned. Otherwise, returning undefined will result in the next, if any, Adaptive Card Extension
279
+ * to potentially handle the notification event.
280
+ *
281
+ * @remarks Only one Adaptive Card Extension can handle a notification event. If the event is handled,
282
+ * then propagation is finished.
283
+ *
284
+ * @param notificationArguments - The {@link INotificationArguments} for the current notification event.
285
+ *
286
+ * @returns A registered quick view id to open or undefined.
287
+ *
288
+ * @beta
289
+ * @virtual
290
+ */
291
+ onNotificationReceived(notificationArguments: Readonly<INotificationArguments<{}>>): INotificationResponse | undefined;
272
292
  /* Excluded from this release type: _internalOnAction */
273
293
  /* Excluded from this release type: _internalOnActionError */
274
294
  /**
@@ -414,7 +434,8 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
414
434
  /**
415
435
  * Update the state of the Adaptive Card Extension and re-render.
416
436
  *
417
- * @remarks Calling {@link BaseAdaptiveCardExtension.setState} without an object will force a re-render with the current state.
437
+ * @remarks Calling {@link BaseAdaptiveCardExtension.setState} without a new state will trigger the code path to re-render with current state.
438
+ * However, this does not guarantee a re-render. Re-render will only occur if either state or content of view template has changed.
418
439
  *
419
440
  * @remarks {@link BaseAdaptiveCardExtension.state} must have been initialized before calling {@link BaseAdaptiveCardExtension.setState}.
420
441
  *
@@ -707,6 +728,13 @@ export declare abstract class BaseView<TProperties = {}, TState = {}, TData = {}
707
728
  setVisibility(isVisible: boolean): void;
708
729
  }
709
730
 
731
+ /**
732
+ * @public
733
+ */
734
+ export declare type CardActionType = (ISubmitAction | IOpenUrlAction | IShowCardAction | ISelectMediaAction | IGetLocationAction | IShowLocationAction) & {
735
+ style?: ActionStyle;
736
+ };
737
+
710
738
  /**
711
739
  * Size of the Card view.
712
740
  *
@@ -881,6 +909,8 @@ export declare interface IBasicCardParameters extends IBaseCardParameters {
881
909
  primaryText: string;
882
910
  }
883
911
 
912
+ /* Excluded from this release type: _IBotACE */
913
+
884
914
  /**
885
915
  * Parameters used to rehydrate the AdaptiveCardExtension during a cached load
886
916
  *
@@ -1088,6 +1118,8 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
1088
1118
 
1089
1119
  /* Excluded from this release type: _IIsolatedActionServiceMessage */
1090
1120
 
1121
+ /* Excluded from this release type: _IIsolatedBotIdServiceMessage */
1122
+
1091
1123
  /* Excluded from this release type: _IIsolatedCloseQuickViewMessage */
1092
1124
 
1093
1125
  /* Excluded from this release type: _IIsolatedErrorCallbackParameters */
@@ -1173,6 +1205,27 @@ export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorAr
1173
1205
 
1174
1206
  /* Excluded from this release type: _INavigationBarProperties */
1175
1207
 
1208
+ /**
1209
+ * The object passed to {@link BaseAdaptiveCardExtension.onNotificationReceived} when a notification is received.
1210
+ *
1211
+ * @beta
1212
+ */
1213
+ export declare interface INotificationArguments<T extends {}> {
1214
+ version: Version;
1215
+ data: T;
1216
+ }
1217
+
1218
+ /**
1219
+ * The object returned from {@link BaseAdaptiveCardExtension.onNotificationReceived} if it has handled the notification.
1220
+ *
1221
+ * @remarks ACE should return the registered quickViewId which it wants to display for the notification.
1222
+ *
1223
+ * @beta
1224
+ */
1225
+ export declare interface INotificationResponse {
1226
+ quickViewId: string;
1227
+ }
1228
+
1176
1229
  /**
1177
1230
  * The data parameters for {@link BasePrimaryTextCardView}.
1178
1231
  *
@@ -1294,6 +1347,11 @@ export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActi
1294
1347
  error: {
1295
1348
  code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
1296
1349
  };
1350
+ /**
1351
+ * Submit Action data that is passed to internal action handler to ensure forms do not clear.
1352
+ * @public
1353
+ */
1354
+ data: any;
1297
1355
  }
1298
1356
 
1299
1357
  /**
@@ -1500,7 +1558,8 @@ export declare interface ISubmitCardParameters {
1500
1558
  */
1501
1559
  export declare enum MediaType {
1502
1560
  Image = 1,
1503
- Audio = 4
1561
+ Audio = 4,
1562
+ Document = 8
1504
1563
  }
1505
1564
 
1506
1565
  /* Excluded from this release type: _NavigationButtonType */
@@ -196,6 +196,8 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
196
196
  *
197
197
  * @remarks If this property is not initialized, {@link BaseAdaptiveCardExtension.setState} cannot be called.
198
198
  *
199
+ * @remarks This property should not be directly updated. Please use {@link BaseAdaptiveCardExtension.setState} to update the state after initialization.
200
+ *
199
201
  * @readonly
200
202
  */
201
203
  protected get state(): Readonly<TState>;
@@ -239,6 +241,7 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
239
241
  protected loadPropertyPaneResources(): Promise<void>;
240
242
  /* Excluded from this release type: getCacheSettings */
241
243
  /* Excluded from this release type: getCachedState */
244
+ /* Excluded from this release type: onNotificationReceived */
242
245
  /* Excluded from this release type: _internalOnAction */
243
246
  /* Excluded from this release type: _internalOnActionError */
244
247
  /**
@@ -360,7 +363,8 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
360
363
  /**
361
364
  * Update the state of the Adaptive Card Extension and re-render.
362
365
  *
363
- * @remarks Calling {@link BaseAdaptiveCardExtension.setState} without an object will force a re-render with the current state.
366
+ * @remarks Calling {@link BaseAdaptiveCardExtension.setState} without a new state will trigger the code path to re-render with current state.
367
+ * However, this does not guarantee a re-render. Re-render will only occur if either state or content of view template has changed.
364
368
  *
365
369
  * @remarks {@link BaseAdaptiveCardExtension.state} must have been initialized before calling {@link BaseAdaptiveCardExtension.setState}.
366
370
  *
@@ -646,6 +650,13 @@ export declare abstract class BaseView<TProperties = {}, TState = {}, TData = {}
646
650
  setVisibility(isVisible: boolean): void;
647
651
  }
648
652
 
653
+ /**
654
+ * @public
655
+ */
656
+ export declare type CardActionType = (ISubmitAction | IOpenUrlAction | IShowCardAction | ISelectMediaAction | IGetLocationAction | IShowLocationAction) & {
657
+ style?: ActionStyle;
658
+ };
659
+
649
660
  /**
650
661
  * Size of the Card view.
651
662
  *
@@ -805,6 +816,8 @@ export declare interface IBasicCardParameters extends IBaseCardParameters {
805
816
  primaryText: string;
806
817
  }
807
818
 
819
+ /* Excluded from this release type: _IBotACE */
820
+
808
821
  /* Excluded from this release type: ICachedLoadParameters */
809
822
 
810
823
  /* Excluded from this release type: ICacheSettings */
@@ -986,6 +999,8 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
986
999
 
987
1000
  /* Excluded from this release type: _IIsolatedActionServiceMessage */
988
1001
 
1002
+ /* Excluded from this release type: _IIsolatedBotIdServiceMessage */
1003
+
989
1004
  /* Excluded from this release type: _IIsolatedCloseQuickViewMessage */
990
1005
 
991
1006
  /* Excluded from this release type: _IIsolatedErrorCallbackParameters */
@@ -1071,6 +1086,10 @@ export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorAr
1071
1086
 
1072
1087
  /* Excluded from this release type: _INavigationBarProperties */
1073
1088
 
1089
+ /* Excluded from this release type: INotificationArguments */
1090
+
1091
+ /* Excluded from this release type: INotificationResponse */
1092
+
1074
1093
  /**
1075
1094
  * The data parameters for {@link BasePrimaryTextCardView}.
1076
1095
  *
@@ -1192,6 +1211,11 @@ export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActi
1192
1211
  error: {
1193
1212
  code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
1194
1213
  };
1214
+ /**
1215
+ * Submit Action data that is passed to internal action handler to ensure forms do not clear.
1216
+ * @public
1217
+ */
1218
+ data: any;
1195
1219
  }
1196
1220
 
1197
1221
  /**
@@ -1398,7 +1422,8 @@ export declare interface ISubmitCardParameters {
1398
1422
  */
1399
1423
  export declare enum MediaType {
1400
1424
  Image = 1,
1401
- Audio = 4
1425
+ Audio = 4,
1426
+ Document = 8
1402
1427
  }
1403
1428
 
1404
1429
  /* Excluded from this release type: _NavigationButtonType */