@microsoft/sp-adaptive-card-extension-base 1.15.0 → 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.
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_a74e69ff20bce013677b.js",
17
- "en-US": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
18
- "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_a74e69ff20bce013677b.js",
19
- "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_a74e69ff20bce013677b.js",
20
- "en-GB": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
21
- "en-NZ": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
22
- "en-IE": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
23
- "en-AU": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
24
- "bn": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
25
- "chr": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
26
- "dv": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
27
- "div": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
28
- "en": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
29
- "fil": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
30
- "haw": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
31
- "iu": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
32
- "lo": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
33
- "moh": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
34
- "sq": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
35
- "am": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
36
- "hy": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
37
- "mk": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
38
- "bs": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
39
- "my": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
40
- "dz": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
41
- "en-CY": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
42
- "en-EG": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
43
- "en-IL": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
44
- "en-IS": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
45
- "en-JO": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
46
- "en-KE": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
47
- "en-KW": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
48
- "en-MK": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
49
- "en-MT": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
50
- "en-PK": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
51
- "en-QA": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
52
- "en-SA": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
53
- "en-LK": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
54
- "en-AE": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
55
- "en-VN": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
56
- "is": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
57
- "km": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
58
- "kh": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
59
- "mt": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
60
- "fa": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
61
- "gd": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
62
- "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
63
- "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
64
- "sd": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
65
- "si": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
66
- "so": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
67
- "ti-ET": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
68
- "uz": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
69
- "en-SG": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
70
- "en-HK": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
71
- "en-MY": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
72
- "en-PH": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
73
- "en-TT": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
74
- "en-AZ": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
75
- "en-BH": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
76
- "en-BN": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
77
- "en-ID": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.js",
78
- "mi": "sp-adaptive-card-extension-base_en-us_a74e69ff20bce013677b.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_a74e69ff20bce013677b.js"
80
+ "defaultPath": "sp-adaptive-card-extension-base_default_4d52eab3b1fce771d521.js"
81
81
  },
82
82
  "tslib": {
83
83
  "type": "component",
@@ -92,37 +92,37 @@
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
  }
@@ -1181,12 +1181,12 @@ export declare interface IQuickViewParameters {
1181
1181
  export declare interface ISelectMediaAction extends IAction {
1182
1182
  /**
1183
1183
  * Indicates this is a Viva Select Location button.
1184
- * @beta
1184
+ * @public
1185
1185
  */
1186
1186
  type: 'VivaAction.SelectMedia';
1187
1187
  /**
1188
1188
  * Parameters that can be provided to the ISelectMedia Action
1189
- * @beta
1189
+ * @public
1190
1190
  */
1191
1191
  parameters: ISelectMediaActionParameters;
1192
1192
  }
@@ -1203,12 +1203,12 @@ export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArg
1203
1203
  type: 'VivaAction.SelectMedia';
1204
1204
  /**
1205
1205
  * media object returned media picker API
1206
- * @beta
1206
+ * @public
1207
1207
  */
1208
1208
  media: ISelectMediaAttachment[];
1209
1209
  /**
1210
1210
  * Submit Action data that is passed to internal action handler to ensure forms do not clear.
1211
- * @beta
1211
+ * @public
1212
1212
  */
1213
1213
  data: any;
1214
1214
  }
@@ -1221,17 +1221,17 @@ export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArg
1221
1221
  export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1222
1222
  /**
1223
1223
  * The type of Adaptive Card Action.
1224
- * @beta
1224
+ * @public
1225
1225
  */
1226
1226
  type: 'VivaAction.SelectMedia';
1227
1227
  /**
1228
1228
  * media object returned media picker API
1229
- * @beta
1229
+ * @public
1230
1230
  */
1231
1231
  media: ISelectMediaAttachment[] | undefined;
1232
1232
  /**
1233
1233
  * Error codes specific to the Select Media Action.
1234
- * @beta
1234
+ * @public
1235
1235
  */
1236
1236
  error: {
1237
1237
  code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
@@ -1241,7 +1241,7 @@ export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActi
1241
1241
  /**
1242
1242
  * Parameters that can be supplied with the Viva Select Media Action.
1243
1243
  * @remarks API under active development and not ready for use.
1244
- * @beta
1244
+ * @public
1245
1245
  */
1246
1246
  export declare interface ISelectMediaActionParameters {
1247
1247
  /**
@@ -1265,7 +1265,7 @@ export declare interface ISelectMediaActionParameters {
1265
1265
  /**
1266
1266
  * This object represents the data returned by the native media picker API.
1267
1267
  * @remarks API under active development and not ready for use.
1268
- * @beta
1268
+ * @public
1269
1269
  */
1270
1270
  export declare interface ISelectMediaAttachment {
1271
1271
  /**
@@ -1294,7 +1294,7 @@ export declare interface ISelectMediaCardAction {
1294
1294
  type: 'VivaAction.SelectMedia';
1295
1295
  /**
1296
1296
  * Parameters for the Select Media Action
1297
- * @beta
1297
+ * @public
1298
1298
  */
1299
1299
  parameters: ISelectMediaActionParameters;
1300
1300
  }
@@ -1436,7 +1436,7 @@ export declare interface ISubmitCardParameters {
1436
1436
  /**
1437
1437
  * Enum value to specify the type of media.
1438
1438
  * @remarks API under active development and not ready for use.
1439
- * @beta
1439
+ * @public
1440
1440
  */
1441
1441
  export declare enum MediaType {
1442
1442
  Image = 1,
@@ -1488,16 +1488,18 @@ export declare class ViewNavigator<TView extends BaseView> {
1488
1488
  /**
1489
1489
  * Registers a new view.
1490
1490
  *
1491
- * @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
1492
1494
  *
1493
1495
  * @remarks `initializer` is not called until `id` is pushed onto the view stack.
1494
1496
  *
1495
1497
  * @remarks A View with a given `id` is only initialized once, and the instance is reused if it is pushed more than once
1496
1498
  *
1497
1499
  * @param id - Unique identifier for the view.
1498
- * @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.
1499
1501
  */
1500
- register(id: string, initializer: () => TView): void;
1502
+ register(id: string, initializer: () => TView | Promise<TView>): void;
1501
1503
  /**
1502
1504
  * Pushes a new view to the top of the view stack.
1503
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
  /**
@@ -1095,8 +1099,16 @@ export declare interface IQuickViewParameters {
1095
1099
  * @public
1096
1100
  */
1097
1101
  export declare interface ISelectMediaAction extends IAction {
1098
- /* Excluded from this release type: type */
1099
- /* 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;
1100
1112
  }
1101
1113
 
1102
1114
  /**
@@ -1109,8 +1121,16 @@ export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArg
1109
1121
  * The type of Adaptive Card Action.
1110
1122
  */
1111
1123
  type: 'VivaAction.SelectMedia';
1112
- /* Excluded from this release type: media */
1113
- /* Excluded from this release type: data */
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;
1114
1134
  }
1115
1135
 
1116
1136
  /**
@@ -1119,14 +1139,68 @@ export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArg
1119
1139
  * @public
1120
1140
  */
1121
1141
  export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1122
- /* Excluded from this release type: type */
1123
- /* Excluded from this release type: media */
1124
- /* 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
+ };
1125
1159
  }
1126
1160
 
1127
- /* 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
+ }
1128
1184
 
1129
- /* 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
+ }
1130
1204
 
1131
1205
  /**
1132
1206
  * Invoke an `VivaAction.SelectMedia` event.
@@ -1138,7 +1212,11 @@ export declare interface ISelectMediaCardAction {
1138
1212
  * Indicates this is a Viva Select Media button.
1139
1213
  */
1140
1214
  type: 'VivaAction.SelectMedia';
1141
- /* Excluded from this release type: parameters */
1215
+ /**
1216
+ * Parameters for the Select Media Action
1217
+ * @public
1218
+ */
1219
+ parameters: ISelectMediaActionParameters;
1142
1220
  }
1143
1221
 
1144
1222
  /* Excluded from this release type: _ISelectMediaHandleProvider */
@@ -1275,7 +1353,15 @@ export declare interface ISubmitCardParameters {
1275
1353
 
1276
1354
  /* Excluded from this release type: _LocalStorageACECache */
1277
1355
 
1278
- /* 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
+ }
1279
1365
 
1280
1366
  /* Excluded from this release type: _NavigationButtonType */
1281
1367
 
@@ -1322,16 +1408,18 @@ export declare class ViewNavigator<TView extends BaseView> {
1322
1408
  /**
1323
1409
  * Registers a new view.
1324
1410
  *
1325
- * @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
1326
1414
  *
1327
1415
  * @remarks `initializer` is not called until `id` is pushed onto the view stack.
1328
1416
  *
1329
1417
  * @remarks A View with a given `id` is only initialized once, and the instance is reused if it is pushed more than once
1330
1418
  *
1331
1419
  * @param id - Unique identifier for the view.
1332
- * @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.
1333
1421
  */
1334
- register(id: string, initializer: () => TView): void;
1422
+ register(id: string, initializer: () => TView | Promise<TView>): void;
1335
1423
  /**
1336
1424
  * Pushes a new view to the top of the view stack.
1337
1425
  *