@microsoft/sp-adaptive-card-extension-base 1.15.0-beta.6 → 1.15.2

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 (37) hide show
  1. package/README.md +7 -1
  2. package/dist/eeec822e-c28a-46b4-affc-7058e4c1aa80.manifest.json +73 -73
  3. package/dist/index-internal-beta.d.ts +23 -16
  4. package/dist/index-internal-public.d.ts +113 -16
  5. package/dist/index-internal.d.ts +36 -109
  6. package/dist/sp-adaptive-card-extension-base_default_4d52eab3b1fce771d521.js +1 -0
  7. package/dist/sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js +1 -0
  8. package/dist/sp-adaptive-card-extension-base_qps-ploc_4d52eab3b1fce771d521.js +1 -0
  9. package/dist/sp-adaptive-card-extension-base_qps-ploca_4d52eab3b1fce771d521.js +1 -0
  10. package/dist/test-api/AdaptiveCardExtensionTestWrapper.js +2 -2
  11. package/dist/tsdoc-metadata.json +1 -1
  12. package/lib-commonjs/AdaptiveCardExtensionContext.js +1 -1
  13. package/lib-commonjs/AdaptiveCardExtensionLoader.js +7 -4
  14. package/lib-commonjs/BaseAdaptiveCardExtension.js +31 -24
  15. package/lib-commonjs/ac-template/util/actionButtonHelper.js +1 -1
  16. package/lib-commonjs/ac-template/util/getCardRenderParameters.js +2 -2
  17. package/lib-commonjs/caching/CacheManager.js +2 -2
  18. package/lib-commonjs/caching/cache/LocalStorageACECache.js +1 -1
  19. package/lib-commonjs/common/Flights.js +1 -6
  20. package/lib-commonjs/common/Killswitches.js +31 -1
  21. package/lib-commonjs/interfaces/ISelectMediaActionTypes.js +1 -1
  22. package/lib-commonjs/isolation/IsolatedAdaptiveCardExtensionService.js +35 -5
  23. package/lib-commonjs/loc/Strings.resx +4 -0
  24. package/lib-commonjs/test-api/AdaptiveCardExtensionTestWrapper.js +2 -2
  25. package/lib-commonjs/views/card/BaseBasicCardView.js +1 -1
  26. package/lib-commonjs/views/card/BaseCardView.js +1 -1
  27. package/lib-commonjs/views/card/BaseImageCardView.js +1 -1
  28. package/lib-commonjs/views/card/BasePrimaryTextCardView.js +1 -1
  29. package/lib-commonjs/views/card/DefaultCardView.js +1 -1
  30. package/lib-commonjs/views/navigator/QuickViewNavigator.js +1 -1
  31. package/lib-commonjs/views/navigator/ViewNavigator.js +49 -2
  32. package/lib-commonjs/views/quickView/BaseAdaptiveCardView.js +1 -1
  33. package/package.json +9 -9
  34. package/dist/sp-adaptive-card-extension-base_default_05ab046b908b2becb5f2.js +0 -1
  35. package/dist/sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js +0 -1
  36. package/dist/sp-adaptive-card-extension-base_qps-ploc_05ab046b908b2becb5f2.js +0 -1
  37. package/dist/sp-adaptive-card-extension-base_qps-ploca_05ab046b908b2becb5f2.js +0 -1
package/README.md CHANGED
@@ -2,4 +2,10 @@
2
2
 
3
3
  An ACE is a way for developers to create a component by simply focusing on their own data model/provider and simply rely to the Adaptive Card schema for lightweight uniform rendering.
4
4
 
5
- ACEs can be used to extend the EE Dashboard scenario beyond just static functionality. But they can also be used in other M365 workloads as Teams tabs or Web Parts
5
+ ACEs can be used to extend the EE Dashboard scenario beyond just static functionality. But they can also be used in other M365 workloads as Teams tabs or Web Parts
6
+
7
+ *This package is part of the [SharePoint Framework](http://aka.ms/spfx),
8
+ which is a collection of NPM packages that empower developers to create client-side experiences
9
+ for [Microsoft SharePoint](https://products.office.com/en-us/sharepoint/collaboration).
10
+ For more information, including complete API documentation and code samples, please visit
11
+ the [SharePoint Framework](http://aka.ms/spfx) web site.*
@@ -3,7 +3,7 @@
3
3
  "id": "eeec822e-c28a-46b4-affc-7058e4c1aa80",
4
4
  "alias": "SpAdaptiveCardBase",
5
5
  "componentType": "Library",
6
- "version": "1.15.0",
6
+ "version": "1.15.2",
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_05ab046b908b2becb5f2.js",
17
- "en-US": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
18
- "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_05ab046b908b2becb5f2.js",
19
- "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_05ab046b908b2becb5f2.js",
20
- "en-GB": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
21
- "en-NZ": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
22
- "en-IE": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
23
- "en-AU": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
24
- "bn": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
25
- "chr": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
26
- "dv": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
27
- "div": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
28
- "en": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
29
- "fil": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
30
- "haw": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
31
- "iu": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
32
- "lo": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
33
- "moh": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
34
- "sq": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
35
- "am": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
36
- "hy": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
37
- "mk": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
38
- "bs": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
39
- "my": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
40
- "dz": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
41
- "en-CY": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
42
- "en-EG": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
43
- "en-IL": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
44
- "en-IS": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
45
- "en-JO": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
46
- "en-KE": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
47
- "en-KW": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
48
- "en-MK": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
49
- "en-MT": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
50
- "en-PK": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
51
- "en-QA": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
52
- "en-SA": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
53
- "en-LK": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
54
- "en-AE": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
55
- "en-VN": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
56
- "is": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
57
- "km": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
58
- "kh": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
59
- "mt": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
60
- "fa": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
61
- "gd": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
62
- "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
63
- "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
64
- "sd": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
65
- "si": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
66
- "so": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
67
- "ti-ET": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
68
- "uz": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
69
- "en-SG": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
70
- "en-HK": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
71
- "en-MY": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
72
- "en-PH": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
73
- "en-TT": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
74
- "en-AZ": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
75
- "en-BH": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
76
- "en-BN": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
77
- "en-ID": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js",
78
- "mi": "sp-adaptive-card-extension-base_en-us_05ab046b908b2becb5f2.js"
16
+ "default": "sp-adaptive-card-extension-base_default_4d52eab3b1fce771d521.js",
17
+ "en-US": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
18
+ "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_4d52eab3b1fce771d521.js",
19
+ "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_4d52eab3b1fce771d521.js",
20
+ "en-GB": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
21
+ "en-NZ": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
22
+ "en-IE": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
23
+ "en-AU": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
24
+ "bn": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
25
+ "chr": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
26
+ "dv": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
27
+ "div": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
28
+ "en": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
29
+ "fil": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
30
+ "haw": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
31
+ "iu": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
32
+ "lo": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
33
+ "moh": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
34
+ "sq": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
35
+ "am": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
36
+ "hy": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
37
+ "mk": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
38
+ "bs": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
39
+ "my": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
40
+ "dz": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
41
+ "en-CY": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
42
+ "en-EG": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
43
+ "en-IL": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
44
+ "en-IS": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
45
+ "en-JO": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
46
+ "en-KE": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
47
+ "en-KW": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
48
+ "en-MK": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
49
+ "en-MT": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
50
+ "en-PK": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
51
+ "en-QA": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
52
+ "en-SA": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
53
+ "en-LK": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
54
+ "en-AE": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
55
+ "en-VN": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
56
+ "is": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
57
+ "km": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
58
+ "kh": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
59
+ "mt": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
60
+ "fa": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
61
+ "gd": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
62
+ "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
63
+ "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
64
+ "sd": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
65
+ "si": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
66
+ "so": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
67
+ "ti-ET": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
68
+ "uz": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
69
+ "en-SG": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
70
+ "en-HK": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
71
+ "en-MY": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
72
+ "en-PH": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
73
+ "en-TT": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
74
+ "en-AZ": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
75
+ "en-BH": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
76
+ "en-BN": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
77
+ "en-ID": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js",
78
+ "mi": "sp-adaptive-card-extension-base_en-us_4d52eab3b1fce771d521.js"
79
79
  },
80
- "defaultPath": "sp-adaptive-card-extension-base_default_05ab046b908b2becb5f2.js"
80
+ "defaultPath": "sp-adaptive-card-extension-base_default_4d52eab3b1fce771d521.js"
81
81
  },
82
82
  "tslib": {
83
83
  "type": "component",
@@ -87,42 +87,42 @@
87
87
  "@ms/sp-telemetry": {
88
88
  "type": "component",
89
89
  "id": "8217e442-8ed3-41fd-957d-b112e841286a",
90
- "version": "0.23.19"
90
+ "version": "0.24.16"
91
91
  },
92
92
  "@microsoft/sp-component-base": {
93
93
  "type": "component",
94
94
  "id": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
95
- "version": "1.15.0"
95
+ "version": "1.15.2"
96
96
  },
97
97
  "@microsoft/sp-loader": {
98
98
  "type": "component",
99
99
  "id": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
100
- "version": "1.15.0"
100
+ "version": "1.15.2"
101
101
  },
102
102
  "@microsoft/sp-lodash-subset": {
103
103
  "type": "component",
104
104
  "id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
105
- "version": "1.15.0"
105
+ "version": "1.15.2"
106
106
  },
107
107
  "@microsoft/sp-core-library": {
108
108
  "type": "component",
109
109
  "id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
110
- "version": "1.15.0"
110
+ "version": "1.15.2"
111
111
  },
112
112
  "@microsoft/sp-page-context": {
113
113
  "type": "component",
114
114
  "id": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
115
- "version": "1.15.0"
115
+ "version": "1.15.2"
116
116
  },
117
117
  "@microsoft/sp-diagnostics": {
118
118
  "type": "component",
119
119
  "id": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
120
- "version": "1.15.0"
120
+ "version": "1.15.2"
121
121
  },
122
122
  "@microsoft/sp-http": {
123
123
  "type": "component",
124
124
  "id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
125
- "version": "1.15.0"
125
+ "version": "1.15.2"
126
126
  }
127
127
  }
128
128
  }
@@ -740,7 +740,7 @@ export declare interface IAdaptiveCardExtensionPropertyMetadata extends ICompone
740
740
  export declare interface IAttachmentError {
741
741
  /**
742
742
  * Error code associated with a particular attachment
743
- * @beta
743
+ * @public
744
744
  */
745
745
  errorCode: 'FileTooLarge' | 'IncorrectFileFormat';
746
746
  }
@@ -1024,8 +1024,12 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
1024
1024
  primaryText: string;
1025
1025
  }
1026
1026
 
1027
+ /* Excluded from this release type: _IIsoaltedLocationRequestCallbackParameters */
1028
+
1027
1029
  /* Excluded from this release type: _IIsolatedACEDataServiceMessage */
1028
1030
 
1031
+ /* Excluded from this release type: _IIsolatedACELocationServiceMessage */
1032
+
1029
1033
  /* Excluded from this release type: _IIsolatedAction */
1030
1034
 
1031
1035
  /* Excluded from this release type: _IIsolatedActionServiceMessage */
@@ -1109,6 +1113,8 @@ export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorAr
1109
1113
  };
1110
1114
  }
1111
1115
 
1116
+ /* Excluded from this release type: _ILocationRequestMessage */
1117
+
1112
1118
  /* Excluded from this release type: _INavigationBarProperties */
1113
1119
 
1114
1120
  /**
@@ -1175,12 +1181,12 @@ export declare interface IQuickViewParameters {
1175
1181
  export declare interface ISelectMediaAction extends IAction {
1176
1182
  /**
1177
1183
  * Indicates this is a Viva Select Location button.
1178
- * @beta
1184
+ * @public
1179
1185
  */
1180
1186
  type: 'VivaAction.SelectMedia';
1181
1187
  /**
1182
1188
  * Parameters that can be provided to the ISelectMedia Action
1183
- * @beta
1189
+ * @public
1184
1190
  */
1185
1191
  parameters: ISelectMediaActionParameters;
1186
1192
  }
@@ -1193,17 +1199,16 @@ export declare interface ISelectMediaAction extends IAction {
1193
1199
  export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArguments, 'type'> {
1194
1200
  /**
1195
1201
  * The type of Adaptive Card Action.
1196
- * @beta
1197
1202
  */
1198
1203
  type: 'VivaAction.SelectMedia';
1199
1204
  /**
1200
1205
  * media object returned media picker API
1201
- * @beta
1206
+ * @public
1202
1207
  */
1203
1208
  media: ISelectMediaAttachment[];
1204
1209
  /**
1205
1210
  * Submit Action data that is passed to internal action handler to ensure forms do not clear.
1206
- * @beta
1211
+ * @public
1207
1212
  */
1208
1213
  data: any;
1209
1214
  }
@@ -1216,17 +1221,17 @@ export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArg
1216
1221
  export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1217
1222
  /**
1218
1223
  * The type of Adaptive Card Action.
1219
- * @beta
1224
+ * @public
1220
1225
  */
1221
1226
  type: 'VivaAction.SelectMedia';
1222
1227
  /**
1223
1228
  * media object returned media picker API
1224
- * @beta
1229
+ * @public
1225
1230
  */
1226
1231
  media: ISelectMediaAttachment[] | undefined;
1227
1232
  /**
1228
1233
  * Error codes specific to the Select Media Action.
1229
- * @beta
1234
+ * @public
1230
1235
  */
1231
1236
  error: {
1232
1237
  code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
@@ -1236,7 +1241,7 @@ export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActi
1236
1241
  /**
1237
1242
  * Parameters that can be supplied with the Viva Select Media Action.
1238
1243
  * @remarks API under active development and not ready for use.
1239
- * @beta
1244
+ * @public
1240
1245
  */
1241
1246
  export declare interface ISelectMediaActionParameters {
1242
1247
  /**
@@ -1260,7 +1265,7 @@ export declare interface ISelectMediaActionParameters {
1260
1265
  /**
1261
1266
  * This object represents the data returned by the native media picker API.
1262
1267
  * @remarks API under active development and not ready for use.
1263
- * @beta
1268
+ * @public
1264
1269
  */
1265
1270
  export declare interface ISelectMediaAttachment {
1266
1271
  /**
@@ -1289,7 +1294,7 @@ export declare interface ISelectMediaCardAction {
1289
1294
  type: 'VivaAction.SelectMedia';
1290
1295
  /**
1291
1296
  * Parameters for the Select Media Action
1292
- * @beta
1297
+ * @public
1293
1298
  */
1294
1299
  parameters: ISelectMediaActionParameters;
1295
1300
  }
@@ -1431,7 +1436,7 @@ export declare interface ISubmitCardParameters {
1431
1436
  /**
1432
1437
  * Enum value to specify the type of media.
1433
1438
  * @remarks API under active development and not ready for use.
1434
- * @beta
1439
+ * @public
1435
1440
  */
1436
1441
  export declare enum MediaType {
1437
1442
  Image = 1,
@@ -1483,16 +1488,18 @@ export declare class ViewNavigator<TView extends BaseView> {
1483
1488
  /**
1484
1489
  * Registers a new view.
1485
1490
  *
1486
- * @remarks `initializer` must return an instance of a {@link BaseView}.
1491
+ * @remarks `initializer` must return an instance of a {@link BaseView} or a Promise of a {@link BaseView}.
1492
+ * The promise allows developers with large quickviews to defer / chunk in the quickview code on
1493
+ * demand
1487
1494
  *
1488
1495
  * @remarks `initializer` is not called until `id` is pushed onto the view stack.
1489
1496
  *
1490
1497
  * @remarks A View with a given `id` is only initialized once, and the instance is reused if it is pushed more than once
1491
1498
  *
1492
1499
  * @param id - Unique identifier for the view.
1493
- * @param initializer - Function that returns a new view, which is only called if no view with the `id` already exists.
1500
+ * @param initializer - Function that returns a new view - or a promise to a new view - which is only called if no view with the `id` already exists.
1494
1501
  */
1495
- register(id: string, initializer: () => TView): void;
1502
+ register(id: string, initializer: () => TView | Promise<TView>): void;
1496
1503
  /**
1497
1504
  * Pushes a new view to the top of the view stack.
1498
1505
  *
@@ -696,7 +696,11 @@ export declare interface IAdaptiveCardExtensionPropertyMetadata extends ICompone
696
696
  * @public
697
697
  */
698
698
  export declare interface IAttachmentError {
699
- /* Excluded from this release type: errorCode */
699
+ /**
700
+ * Error code associated with a particular attachment
701
+ * @public
702
+ */
703
+ errorCode: 'FileTooLarge' | 'IncorrectFileFormat';
700
704
  }
701
705
 
702
706
  /**
@@ -940,8 +944,12 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
940
944
  primaryText: string;
941
945
  }
942
946
 
947
+ /* Excluded from this release type: _IIsoaltedLocationRequestCallbackParameters */
948
+
943
949
  /* Excluded from this release type: _IIsolatedACEDataServiceMessage */
944
950
 
951
+ /* Excluded from this release type: _IIsolatedACELocationServiceMessage */
952
+
945
953
  /* Excluded from this release type: _IIsolatedAction */
946
954
 
947
955
  /* Excluded from this release type: _IIsolatedActionServiceMessage */
@@ -1025,6 +1033,8 @@ export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorAr
1025
1033
  };
1026
1034
  }
1027
1035
 
1036
+ /* Excluded from this release type: _ILocationRequestMessage */
1037
+
1028
1038
  /* Excluded from this release type: _INavigationBarProperties */
1029
1039
 
1030
1040
  /**
@@ -1089,8 +1099,16 @@ export declare interface IQuickViewParameters {
1089
1099
  * @public
1090
1100
  */
1091
1101
  export declare interface ISelectMediaAction extends IAction {
1092
- /* Excluded from this release type: type */
1093
- /* Excluded from this release type: parameters */
1102
+ /**
1103
+ * Indicates this is a Viva Select Location button.
1104
+ * @public
1105
+ */
1106
+ type: 'VivaAction.SelectMedia';
1107
+ /**
1108
+ * Parameters that can be provided to the ISelectMedia Action
1109
+ * @public
1110
+ */
1111
+ parameters: ISelectMediaActionParameters;
1094
1112
  }
1095
1113
 
1096
1114
  /**
@@ -1099,9 +1117,20 @@ export declare interface ISelectMediaAction extends IAction {
1099
1117
  * @public
1100
1118
  */
1101
1119
  export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArguments, 'type'> {
1102
- /* Excluded from this release type: type */
1103
- /* Excluded from this release type: media */
1104
- /* Excluded from this release type: data */
1120
+ /**
1121
+ * The type of Adaptive Card Action.
1122
+ */
1123
+ type: 'VivaAction.SelectMedia';
1124
+ /**
1125
+ * media object returned media picker API
1126
+ * @public
1127
+ */
1128
+ media: ISelectMediaAttachment[];
1129
+ /**
1130
+ * Submit Action data that is passed to internal action handler to ensure forms do not clear.
1131
+ * @public
1132
+ */
1133
+ data: any;
1105
1134
  }
1106
1135
 
1107
1136
  /**
@@ -1110,14 +1139,68 @@ export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArg
1110
1139
  * @public
1111
1140
  */
1112
1141
  export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1113
- /* Excluded from this release type: type */
1114
- /* Excluded from this release type: media */
1115
- /* Excluded from this release type: error */
1142
+ /**
1143
+ * The type of Adaptive Card Action.
1144
+ * @public
1145
+ */
1146
+ type: 'VivaAction.SelectMedia';
1147
+ /**
1148
+ * media object returned media picker API
1149
+ * @public
1150
+ */
1151
+ media: ISelectMediaAttachment[] | undefined;
1152
+ /**
1153
+ * Error codes specific to the Select Media Action.
1154
+ * @public
1155
+ */
1156
+ error: {
1157
+ code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
1158
+ };
1116
1159
  }
1117
1160
 
1118
- /* Excluded from this release type: ISelectMediaActionParameters */
1161
+ /**
1162
+ * Parameters that can be supplied with the Viva Select Media Action.
1163
+ * @remarks API under active development and not ready for use.
1164
+ * @public
1165
+ */
1166
+ export declare interface ISelectMediaActionParameters {
1167
+ /**
1168
+ * Specify the specific media type that should be selected
1169
+ */
1170
+ mediaType: MediaType;
1171
+ /**
1172
+ * Allow multiple images to be selected.
1173
+ */
1174
+ allowMultipleCapture?: boolean;
1175
+ /**
1176
+ * Max file size that can be uploaded.
1177
+ */
1178
+ maxSizePerFile?: number;
1179
+ /**
1180
+ * File formats supported for upload.
1181
+ */
1182
+ supportedFileFormats?: string[];
1183
+ }
1119
1184
 
1120
- /* Excluded from this release type: ISelectMediaAttachment */
1185
+ /**
1186
+ * This object represents the data returned by the native media picker API.
1187
+ * @remarks API under active development and not ready for use.
1188
+ * @public
1189
+ */
1190
+ export declare interface ISelectMediaAttachment {
1191
+ /**
1192
+ * The names of the selected files.
1193
+ */
1194
+ fileName: string;
1195
+ /**
1196
+ * Content of the file represented as base64Strings
1197
+ */
1198
+ content: string;
1199
+ /**
1200
+ * Error associated with attachment
1201
+ */
1202
+ error?: IAttachmentError;
1203
+ }
1121
1204
 
1122
1205
  /**
1123
1206
  * Invoke an `VivaAction.SelectMedia` event.
@@ -1129,7 +1212,11 @@ export declare interface ISelectMediaCardAction {
1129
1212
  * Indicates this is a Viva Select Media button.
1130
1213
  */
1131
1214
  type: 'VivaAction.SelectMedia';
1132
- /* Excluded from this release type: parameters */
1215
+ /**
1216
+ * Parameters for the Select Media Action
1217
+ * @public
1218
+ */
1219
+ parameters: ISelectMediaActionParameters;
1133
1220
  }
1134
1221
 
1135
1222
  /* Excluded from this release type: _ISelectMediaHandleProvider */
@@ -1266,7 +1353,15 @@ export declare interface ISubmitCardParameters {
1266
1353
 
1267
1354
  /* Excluded from this release type: _LocalStorageACECache */
1268
1355
 
1269
- /* Excluded from this release type: MediaType */
1356
+ /**
1357
+ * Enum value to specify the type of media.
1358
+ * @remarks API under active development and not ready for use.
1359
+ * @public
1360
+ */
1361
+ export declare enum MediaType {
1362
+ Image = 1,
1363
+ Audio = 4
1364
+ }
1270
1365
 
1271
1366
  /* Excluded from this release type: _NavigationButtonType */
1272
1367
 
@@ -1313,16 +1408,18 @@ export declare class ViewNavigator<TView extends BaseView> {
1313
1408
  /**
1314
1409
  * Registers a new view.
1315
1410
  *
1316
- * @remarks `initializer` must return an instance of a {@link BaseView}.
1411
+ * @remarks `initializer` must return an instance of a {@link BaseView} or a Promise of a {@link BaseView}.
1412
+ * The promise allows developers with large quickviews to defer / chunk in the quickview code on
1413
+ * demand
1317
1414
  *
1318
1415
  * @remarks `initializer` is not called until `id` is pushed onto the view stack.
1319
1416
  *
1320
1417
  * @remarks A View with a given `id` is only initialized once, and the instance is reused if it is pushed more than once
1321
1418
  *
1322
1419
  * @param id - Unique identifier for the view.
1323
- * @param initializer - Function that returns a new view, which is only called if no view with the `id` already exists.
1420
+ * @param initializer - Function that returns a new view - or a promise to a new view - which is only called if no view with the `id` already exists.
1324
1421
  */
1325
- register(id: string, initializer: () => TView): void;
1422
+ register(id: string, initializer: () => TView | Promise<TView>): void;
1326
1423
  /**
1327
1424
  * Pushes a new view to the top of the view stack.
1328
1425
  *