@microsoft/sp-module-interfaces 1.13.0-beta.22 → 1.13.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.
@@ -31,7 +31,7 @@ export declare interface IAdaptiveCardExtensionManifest<TProperties> extends ICl
31
31
  * Usage: Use this array to define all hosts that are supported.
32
32
  *
33
33
  */
34
- supportedHosts?: ReadonlyArray<'Dashboard' | 'SharePointWebPart'>;
34
+ supportedHosts?: ReadonlyArray<'Dashboard'>;
35
35
  /**
36
36
  * Definition: If true, this ACE supports and has been tested for theme variants experience.
37
37
  *
@@ -11,258 +11,9 @@ export declare type ComponentType = 'Application' | 'WebPart' | 'Library' | 'Ext
11
11
  */
12
12
  export declare type ExtensionType = 'Unknown' | 'ApplicationCustomizer' | 'FieldCustomizer' | 'ListViewCommandSet' | 'SearchQueryModifier';
13
13
 
14
- /**
15
- * @beta
16
- */
17
- export declare interface IAdaptiveCardExtensionManifest<TProperties> extends IClientSideComponentManifest {
18
- /**
19
- * Id matching the Teams SaaS application that the ACE will redirect to when a “full page” experience is required
20
- */
21
- connectedTeamsAppId?: string;
22
- /**
23
- * Id of the SPFx application that the ACE will redirect to when a “full page” experience is required
24
- */
25
- connectedSPFXAppId?: string;
26
- /**
27
- * Definition: An array defining what host types are supported
28
- *
29
- *
30
- * @remarks
31
- * Usage: Use this array to define all hosts that are supported.
32
- *
33
- */
34
- supportedHosts?: ReadonlyArray<'Dashboard' | 'SharePointWebPart'>;
35
- /**
36
- * Definition: If true, this ACE supports and has been tested for theme variants experience.
37
- *
38
- * @remarks
39
- * Usage: Use this flag if a ACE supports theme variants and has been tested as such.
40
- * In order to support theme variants, ACEs must have the capability to render correctly in the context
41
- * of a theme variant. An ACE may or may not need to be updated to support theme variants, but should
42
- * always be tested before enabling this flag. By default no ACEs support theme variants.
43
- *
44
- */
45
- supportsThemeVariants?: boolean;
46
- /**
47
- * An untyped property bag for experimental flags not ready for production.
48
- *
49
- */
50
- experimentalData?: {
51
- [key: string]: any;
52
- };
53
- /**
54
- * If true, this AdaptiveCardExtension should not be displayed in the modern SharePoint toolbox.
55
- *
56
- * @remarks
57
- * Usage: Use this flag if it is not appropriate to display a AdaptiveCardExtension in the modern toolbox. By default,
58
- * all AdaptiveCardExtensions are enabled to be displayed in the toolbox if supportedHosts contains 'SharePointWebPart'
59
- * Such AdaptiveCardExtensions can be provisioned on pages though API or be added to the page in a pre configured way.
60
- */
61
- hiddenFromToolbox?: boolean;
62
- /* Excluded from this release type: isolationLevel */
63
- /**
64
- * Definition:
65
- * - If true, the AdaptiveCardExtension will be disposed and reloaded when the AdaptiveCardExtension data is updated by an external source.
66
- * - If false, the AdaptiveCardExtension data will be deserialized and the properties of the AdaptiveCardExtension will be updated,
67
- * onAfterPropertiesUpdatedExternally will be executed.
68
- * - If undefined, AdaptiveCardExtensions developed with SPFx version below 1.9 will default to true and AdaptiveCardExtensions developed with
69
- * a SPFx version 1.9 or greater will default to false.
70
- *
71
- * @remarks
72
- * By default, onAfterPropertiesUpdatedExternally will re-render the AdaptiveCardExtension. If your AdaptiveCardExtension requires specialized
73
- * logic, then it is recommended to override onAfterPropertiesUpdatedExternally.
74
- */
75
- useFallbackWhenPropertiesUpdatedExternally?: boolean;
76
- /**
77
- * A AdaptiveCardExtension can have pre-configured properties like the title, description, iconImageUrl, officeFabricIconFontName, toolbox group name
78
- * and AdaptiveCardExtension specific custom properties. And there can be multiple instances of these pre-configured properties.
79
- *
80
- * @remarks
81
- * This helps support scenarios where an organization may want to present multiple pre-configured entries
82
- * for a AdaptiveCardExtension in the Toolbox. Each entry is expected to configure the AdaptiveCardExtension with a different set
83
- * of pre-configured properties. A developer may decide to seed some initial values for these properties
84
- * but an organization admin can go ahead and customize these properties per the needs of his/her organization.
85
- * The properties can also be modified by the author of the page.
86
- *
87
- * Usage: help display a AdaptiveCardExtension in the Toolbox, PropertyPane and the initial rendering of the AdaptiveCardExtension.
88
- *
89
- * Type: JSON object
90
- *
91
- * Supported values: Array of `IClientSideWebPartManifestEntry` objects.
92
- *
93
- * Example:
94
- * ```
95
- * [{
96
- * "groupId": "5c03119e-3074-46fd-976b-c60198311f70",
97
- * "group": { "default": "Other" },
98
- * "title": { "id": "$./ManifestStrings.resx:PrimaryTextL1Template;" },
99
- * "description": { "id": "$./ManifestStrings.resx:PrimaryTextL1TemplateDescription;" },
100
- * "officeFabricIconFontName": "Balloons",
101
- * "properties": {
102
- * "templateType": "primaryText",
103
- * "title": "Primary Text",
104
- * "primaryText": "Basic card",
105
- * "description": "This is an example.",
106
- * "cardSize": "Medium"
107
- * }
108
- * }]
109
- * ```
110
- */
111
- preconfiguredEntries: IAdaptiveCardExtensionManifestEntry<TProperties>[];
112
- }
14
+ /* Excluded from this release type: IAdaptiveCardExtensionManifest */
113
15
 
114
- /**
115
- * This interface specifies the set of properties that can be pre-configured by a AdaptiveCardExtension developer. Each
116
- * pre-configured instance of the AdaptiveCardExtension will need a copy of these properties. Organization admins and
117
- * content authors can modify these properties on a need basis.
118
- *
119
- * @beta
120
- */
121
- export declare interface IAdaptiveCardExtensionManifestEntry<TProperties> {
122
- /**
123
- * Size of the AdaptiveCardExtension when it is rendered. This is value must be one of the supported CardSizes
124
- * ["Medium", "Large"] defined in the sp-adaptive-card-base project.
125
- */
126
- cardSize: string;
127
- /**
128
- * Title of the AdaptiveCardExtension represented as a single a dictionary of locale keys to title values. This
129
- * value will be displayed to the user in the toolbox.
130
- *
131
- * @remarks
132
- * This title should be used in the Toolbox and other display areas. The AdaptiveCardExtension developer may give
133
- * an initial title to the AdaptiveCardExtension. The organization admin and page author will have the ability to
134
- * change this title as per need.
135
- *
136
- * Usage: display the name of the AdaptiveCardExtension in the toolbox, web part gallery and the page.
137
- *
138
- * Supported values: a dictionary of locale keys to strings. Should always have a `'default'` key.
139
- *
140
- * Example: `"My Webpart"`
141
- * ```
142
- * {
143
- * "default": "My WebPart"
144
- * "en-us": "My WebPart",
145
- * "fr-fr": "Ma WebPart",
146
- * "zh": "我的 web 部件"
147
- * }
148
- * ```
149
- */
150
- title: ILocalizedString;
151
- /**
152
- * Description of the AdaptiveCardExtension represented as a dictionary of locale keys to description values. This
153
- * value will be displayed to the user in the toolbox. This description should be used in the Toolbox tooltip and
154
- * other display areas.
155
- *
156
- * @remarks
157
- * The AdaptiveCardExtension developer may give an initial description to the AdaptiveCardExtension. The organization
158
- * admin and page author will have the ability to change this description as per need.
159
- *
160
- * Usage: display the description of the AdaptiveCardExtension in the toolbox tooltip, web part gallery and the page.
161
- *
162
- * Supported values: a dictionary of locale keys to strings. Should always have a `'default'` key.
163
- *
164
- * Example: `"A tool for displaying neat information."`
165
- *
166
- * ```
167
- * {
168
- * "default": "A tool for displaying neat information.",
169
- * "en-us": "A tool for displaying neat information.",
170
- * "fr-fr": "Un outil d’affichage des informations soignées.",
171
- * "zh": "用於顯示整潔資訊的工具。"
172
- * }
173
- * ```
174
- */
175
- description: ILocalizedString;
176
- /**
177
- * The icon for the AdaptiveCardExtension, to be displayed in the toolbox, represented as a character name in the
178
- * Office 365 icon font file.
179
- *
180
- * @remarks
181
- * The icon font is specified here: {@link https://aka.ms/uifabric-icons} If this field has
182
- * a value, the {@link IClientSideWebPartManifestEntry.iconImageUrl} field will be ignored.
183
- *
184
- * Supported values: Any character name in the Office 365 Icon Font.
185
- *
186
- * Example: "graph"
187
- */
188
- officeFabricIconFontName?: string;
189
- /**
190
- * The icon for the AdaptiveCardExtension, to be displayed in the toolbox, represented an image URL. The image at the
191
- * URL must be exactly 40x28 px (SPPPLAT VSO#218660 to fix the size of the icon image).
192
- *
193
- * @remarks
194
- * If the {@link IClientSideWebPartManifestEntry.officeFabricIconFontName} field does not have a value,
195
- * this field must have a value. This value can be an absolute URL (e.g. `"http://example.com/icons/my-icon.png"`) or
196
- * a relative file path (e.g. `"./icons/my-icon.png"`). In the latter case, the path will be resolved relative to
197
- * the folder containing the input manifest. The icon file will be copied to the deployment folder like an asset,
198
- * and the output manifest’s iconImageUrl will be replaced with a URL relative to the URL used to load all other
199
- * assets (the loaderConfig.internalModuleBaseUrls property).
200
- *
201
- * Supported values: Any absolute URL.
202
- *
203
- * Example: `"https://contoso.akamaihd.net/files/myWebpartIcon.png"`
204
- */
205
- iconImageUrl?: string;
206
- /**
207
- * The group id to determine which modern group contains the AdaptiveCardExtension in modern site page. The SharePoint
208
- * Framework reserves group ids for predefined groups. The developer can pick one from those groups. If the developer
209
- * fills an id not in the predefined groups, it falls back to Other group.
210
- *
211
- * @remarks
212
- *
213
- * Supported values: the GUID from PredefinedGroup list
214
- *
215
- * Example: `"cf066440-0614-43d6-98ae-0b31cf14c7c3"`
216
- *
217
- * @beta
218
- */
219
- groupId: PredefinedGroup | string;
220
- /**
221
- * This field is used to tag a AdaptiveCardExtension with keywords that are different from the AdaptiveCardExtension group name.
222
- * Tags can be used for categorization and searching of AdaptiveCardExtensions. For example, in the toolbox.
223
- *
224
- * @remarks
225
- *
226
- * Example `[{ "default": "image" }, { "default": "media" }, { "default": "picture" }, ...]`
227
- *
228
- * @beta
229
- */
230
- tags?: ILocalizedString[];
231
- /**
232
- * Definition: Use this field to specify the data version of the pre-configured data provided to the AdaptiveCardExtension.
233
- * Note that data version is different from the version field in the manifest.
234
- *
235
- * @remarks
236
- * The manifest version is used to control the versioning of the AdaptiveCardExtension code, while data version is used
237
- * to control the versioning of the serialized data of the AdaptiveCardExtension. Refer to dataVersion field of your
238
- * AdaptiveCardExtension for more information.
239
- *
240
- * Usage: versioning and evolving the serialized data of the AdaptiveCardExtension
241
- *
242
- * Type: string representing a {@link http://semver.org | semantic version} with only two parts
243
- *
244
- * Supported values: MAJOR.MINOR
245
- *
246
- * Example: `"1.0"`
247
- */
248
- dataVersion?: string;
249
- /**
250
- * Every AdaptiveCardExtension is expected to have some custom properties. For example, a page AdaptiveCardExtension might define
251
- * properties for the page URL and caption text. A list AdaptiveCardExtension may have the list ID and list title as its
252
- * properties, and so on.
253
- *
254
- * @remarks
255
- *
256
- * The SharePoint Framework passes these properties to the AdaptiveCardExtensions when they are loaded. The AdaptiveCardExtension developer
257
- * fully controls the schema for these properties. The AdaptiveCardExtension developer should follow versioning rules when
258
- * updating the properties.
259
- *
260
- * Usage: rendering of the AdaptiveCardExtension
261
- *
262
- * Example: `{"imageSource": "https://contoso.akamaihd.net/files/contosoLogo.jpg", "captionText": "Contoso logo"}"`
263
- */
264
- properties: TProperties;
265
- }
16
+ /* Excluded from this release type: IAdaptiveCardExtensionManifestEntry */
266
17
 
267
18
  /* Excluded from this release type: ICapabilityCollection */
268
19
 
@@ -286,120 +37,7 @@ export declare interface IClientSideAssemblyManifest extends IClientSideComponen
286
37
  rootComponentId: string;
287
38
  }
288
39
 
289
- /**
290
- * This interface describes how a client-side component is to be loaded and initialized by a SharePoint client
291
- * framework. It contains all data for loading an entrypoint script and its dependency scripts.
292
- *
293
- * @beta
294
- */
295
- export declare interface IClientSideComponentLoaderConfiguration {
296
- /**
297
- * This is an array of fully-qualified paths to be prepended to each of the script resource paths with the
298
- * "internal" or "localized" type. If one fails to load, the loader will attempt to load from the next until there
299
- * are no base paths remaining.
300
- *
301
- * @remarks
302
- * All "internal" and "localized" script resources that do not have fully-qualified URLs
303
- * as their "path" field values must be hosted under each of the paths listed in this property. For example, if an
304
- * internal module's "path" field value is `"master_2015-04-20/my-application.bundle_1928f8a0.js"` and this field's
305
- * value is `[ "https://contoso.akamaihd.net/files/", "https://contoso.msecnd.net/files/" ]`, the loader will first
306
- * attempt to load this script resource from the URL
307
- * `"https://contoso.akamaihd.net/files/master_2015-04-20/my-application.bundle_1928f8a0.js"`. If loading from
308
- * that URL fails, the loader will then attempt to load this script resource from
309
- * `"https://contoso.msecnd.net/files/master_2015-04-20/my-application.bundle_1928f8a0.js"`. If that URL fails
310
- * to load, the component will fail to load and an error will be returned. It is important to note that the support
311
- * for multiple base URLs is purely for failover support. This means that all files must be present on all hosts
312
- * listed in this field.
313
- *
314
- * Usage: Base URLs for script resources with the "internal" or "localized" type.
315
- *
316
- * Supported values: Any URL that contains all internal scripts referenced in the "scriptResources" dictionary.
317
- *
318
- * Example: `[ "https://contoso.akamaihd.net/files/", "https://contoso.msecnd.net/files/" ]`
319
- */
320
- internalModuleBaseUrls: string[];
321
- /**
322
- * This is the ID of one of the entries in the "scriptResources" dictionary.
323
- *
324
- * @remarks
325
- * The loader will download and evaluate the script resource referenced in this field, resolve all dependencies
326
- * against the keys in the "scriptResources", and return the exported object to the loader's calling function.
327
- * The entry referenced in the "scriptResources" dictionary must be of the "internal" or the "localized" type.
328
- *
329
- * Supported values: An entry in the "scriptResources" dictionary that defines the base exported module of the
330
- * component.
331
- *
332
- * Example: `"myApplication.bundle"`
333
- */
334
- entryModuleId: string;
335
- /**
336
- * The module referenced by the "entryModuleId" field may export an object with several fields.
337
- *
338
- * @remarks
339
- * This value optionally references the name of a field on the object exported by the module referenced by the
340
- * `entryModuleId` field. When this field has a value, the value of the referenced field on the object exported
341
- * by the module referenced by the `entryModuleId` field is returned when this manifest is loaded instead of
342
- * the base exported object. For example, if entryModuleId refers to a module with with a top-level export of
343
- * `{ foo: 'bar', baz: 123 }` and:
344
- *
345
- * - if this field is unset, the value returned by the module loader is `{ foo: 'bar', baz: 123 }`
346
- *
347
- * - if this field is set to `foo`, the value returned by the module loader is `bar`
348
- *
349
- * - if this field is set to `bar`, the value returned by the module loader is undefined (as `bar` is not a key in
350
- * the top-level export).
351
- *
352
- * Example: `mySpWebpart`
353
- */
354
- exportName?: string;
355
- /**
356
- * This is a dictionary of named script resources. `path` and `localizedPath` modules may reference each
357
- * other and `manifest` modules are expected to be provided by the framework runtime. The resource named in the
358
- * `entryModuleId` must contain the component's exported object.
359
- *
360
- * @remarks
361
- *
362
- * Supported values: A dictionary of named script resources.
363
- *
364
- * Example:
365
- *
366
- * ```
367
- * {
368
- * "myApplication.bundle": {
369
- * "type": "path",
370
- * "path": "master_2015-04-20/my-application.bundle_1928f8a0.js"
371
- * },
372
- * "@microsoft/sp-client-base": {
373
- * "type": "component",
374
- * "id": "af59c2b3-2da7-41fd-8b72-3939817960af",
375
- * "version": "latest"
376
- * },
377
- * "@microsoft/sp-client-preview": {
378
- * "type": "component",
379
- * "id": "4d5eb168-6729-49a8-aec7-0e397f486b6e",
380
- * "version": "latest"
381
- * },
382
- * "jQuery": {
383
- * "type": "component",
384
- * "id": "00000000-0000-0000-0000-000000000000",
385
- * "version": "2.2.4",
386
- * "path": "https://code.jquery.com/jquery-2.2.4.min.js"
387
- * },
388
- * "myApplication_strings": {
389
- * "type": "localizedPath",
390
- * "defaultPath": "master_2015-04-20/my-application_strings_default_af378e0d.js",
391
- * "paths": {
392
- * "en-us": "master_2015-04-20/my-application_strings_en-us_d38ff012.js",
393
- * "fr-fr": "master_2015-04-20/my-application_strings_fr-fr_138af7e4.js"
394
- * }
395
- * }
396
- * }
397
- * ```
398
- */
399
- scriptResources: {
400
- [name: string]: IModuleConfiguration;
401
- };
402
- }
40
+ /* Excluded from this release type: IClientSideComponentLoaderConfiguration */
403
41
 
404
42
  /**
405
43
  * All client-side components built on the SharePoint framework need a valid component manifest. This interface
@@ -508,19 +146,7 @@ export declare interface IClientSideComponentManifest extends IClientSideManifes
508
146
  * Usage: Requires Custom Script to be allowed in order for this component to be installed and run.
509
147
  */
510
148
  requiresCustomScript?: boolean;
511
- /**
512
- * This portion of the configuration describes how the component is to be loaded and initialized by a
513
- * client. It contains an enumeration of scripts that the component requires along with a single
514
- * entry point script.
515
- *
516
- * @remarks
517
- * Usage: Loading a component.
518
- *
519
- * See `IClientSideComponentLoaderConfiguration` for more information and examples.
520
- *
521
- * @beta
522
- */
523
- loaderConfig: IClientSideComponentLoaderConfiguration;
149
+ /* Excluded from this release type: loaderConfig */
524
150
  /* Excluded from this release type: isolatedDomain */
525
151
  /* Excluded from this release type: storeAppId */
526
152
  /* Excluded from this release type: mpnId */
@@ -802,42 +428,9 @@ export declare interface IClientSideWebPartManifestEntry<TProperties> {
802
428
  * Example: `"https://contoso.akamaihd.net/files/myWebpartIcon.png"`
803
429
  */
804
430
  iconImageUrl?: string;
805
- /**
806
- * The group id to determine which modern group contains the web part in modern site page. The SharePoint
807
- * Framework reserves group ids for predefined groups. The developer can pick one from those groups. If the developer
808
- * fills an id not in the predefined groups, it falls back to Other group.
809
- *
810
- * @remarks
811
- *
812
- * Supported values: the GUID from PredefinedGroup list
813
- *
814
- * Example: `"cf066440-0614-43d6-98ae-0b31cf14c7c3"`
815
- *
816
- * @beta
817
- */
818
- groupId: PredefinedGroup | string;
819
- /**
820
- * The group name in web part picker to contain the web part in the classic page. If no value is provided,
821
- * then the web part will be displayed in the Miscellaneous group.
822
- *
823
- * @remarks
824
- *
825
- * Example: `{ "default": "Media and Content" }`
826
- *
827
- * @beta
828
- */
829
- group?: ILocalizedString;
830
- /**
831
- * This field is used to tag a web part with keywords that are different from the web part group name.
832
- * Tags can be used for categorization and searching of web parts. For example, in the web part toolbox.
833
- *
834
- * @remarks
835
- *
836
- * Example `[{ "default": "image" }, { "default": "media" }, { "default": "picture" }, ...]`
837
- *
838
- * @beta
839
- */
840
- tags?: ILocalizedString[];
431
+ /* Excluded from this release type: groupId */
432
+ /* Excluded from this release type: group */
433
+ /* Excluded from this release type: tags */
841
434
  /**
842
435
  * Definition: Use this field to specify the data version of the pre-configured data provided to the web part.
843
436
  * Note that data version is different from the version field in the manifest.
@@ -969,106 +562,9 @@ export declare interface ICommandSetExtensionManifest extends IClientSideExtensi
969
562
  };
970
563
  }
971
564
 
972
- /**
973
- * This is the interface for a script module with the "component" type. Modules of this type will be provided via
974
- * manifests. In order for the dependency to be loaded, the manifest must be available on the site.
975
- *
976
- * @beta
977
- */
978
- export declare interface IComponentModuleConfiguration extends IModuleConfiguration {
979
- /**
980
- * The version of the framework-supplied component to be loaded. For framework runtime component such as
981
- * `@microsoft/sp-client-base`, it is recommended the version of the framework component the component was developed
982
- * against be specified.
983
- *
984
- * @remarks
985
- *
986
- * Supported values: string representing a {@link http://semver.org | semantic version}, or "latest".
987
- *
988
- * Example: `"2.2.4"`
989
- */
990
- version: string;
991
- /**
992
- * The ID of the framework-supplied component to be loaded.
993
- *
994
- * @remarks
995
- *
996
- * Supported values: string representing a component's ID.
997
- *
998
- * Example: `"0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d"`
999
- */
1000
- id: string;
1001
- /**
1002
- * A path to the framework-supplied component in case the framework fails to load the requested version.
1003
- *
1004
- * @remarks
1005
- * This must be either a fully-qualified URL, or a path under the paths specified in the `internalModuleBaseUrls`
1006
- * field. If this field is not specified and the version is not available in the framework runtime, the closest
1007
- * matching version of the component will be provided instead.
1008
- *
1009
- * Supported values: The path to the component either as a fully-qualified URL or as a path under the
1010
- * paths provided in the "internalModuleBaseUrls" field.
1011
- *
1012
- * Example: `"https://code.jquery.com/jquery-2.2.4.min.js"`
1013
- */
1014
- failoverPath?: string | IPath;
1015
- }
565
+ /* Excluded from this release type: IComponentModuleConfiguration */
1016
566
 
1017
- /**
1018
- * This is the interface for a script module with the "localizedPath" type.
1019
- *
1020
- * @remarks
1021
- * Modules of this type must be provided by the component developer. These script resources are similar to those of
1022
- * the "path" type, but they may be present at a number of different paths, to be selected by the user's locale.
1023
- * Paths in this module type are loaded exactly the same way as "internal" modules are.
1024
- *
1025
- * @beta
1026
- */
1027
- export declare interface ILocalizedPathModuleConfiguration extends IModuleConfiguration {
1028
- /**
1029
- * A path to this module's default locale javascript resource either as a fully-qualified URL or as a
1030
- * path under the paths provided in the "internalModuleBaseUrls" field.
1031
- *
1032
- * @remarks
1033
- * If the user's locale does not resolve to one of the paths specified in the "paths" field, the path in this
1034
- * field is used. Paths in this module type are treated exactly the same way paths in modules of the "internal"
1035
- * type are treated.
1036
- *
1037
- * Supported values: The path to the default locale version of the module either as a fully-qualified URL or as a path
1038
- * under the paths provided in the "internalModuleBaseUrls" field.
1039
- *
1040
- * Example: `"master_2015-04-20/my-application_strings_default_af378e0d.js"`
1041
- */
1042
- defaultPath: string | IPath;
1043
- /**
1044
- * This is a dictionary of locale keys (in the `"ll-cc"` format) to paths to this module's locale
1045
- * javascript resource either as a fully-qualified URL or as a path under the paths provided in the
1046
- * `"internalModuleBaseUrls"` field.
1047
- *
1048
- * @remarks
1049
- * The loader will attempt to resolve the user's locale to one of the paths provided by this field, and will load
1050
- * the script resource under that path. If the user's locale does not resolve to one of the paths specified in this
1051
- * field, the path in `"defaultPath"` field is used. For example, if the user's locale is `"en-gb"`, and this field's
1052
- * value contains the keys `[ "en-us", "en-gb", "fr-fr" ]`, the path specified by the `"en-gb"` key will be used.
1053
- * If the user's locale is "en-gb", and this field's value contains the keys `[ "en-us", "fr-fr" ]`, the path
1054
- * specified by the `"en-us"` key will be used. If the user's locale is `"en-gb"`, and this field's value contains
1055
- * the keys `[ "es-es", "fr-fr" ]`, the path specified by the "defaultPath" field will be used.
1056
- * Paths in this module type are treated exactly the same way paths in modules of the "internal" type are treated.
1057
- *
1058
- * Supported values: A dictionary of locale-to-path mappings.
1059
- *
1060
- * Example:
1061
- * ```
1062
- * {
1063
- * "en-us": "master_2015-04-20/my-application_strings_en-us_d38ff012.js",
1064
- * "fr-fr": "master_2015-04-20/my-application_strings_fr-fr_138af7e4.js"
1065
- * }
1066
- * ```
1067
- */
1068
- paths?: {
1069
- [locale: string]: string | IPath;
1070
- };
1071
- }
567
+ /* Excluded from this release type: ILocalizedPathModuleConfiguration */
1072
568
 
1073
569
  /**
1074
570
  * A set of localized strings.
@@ -1116,209 +612,16 @@ export declare interface ILocalizedString {
1116
612
  [locale: string]: string | undefined;
1117
613
  }
1118
614
 
1119
- /**
1120
- * This is the base interface for a script module's definition.
1121
- *
1122
- * @beta
1123
- */
1124
- export declare interface IModuleConfiguration {
1125
- /**
1126
- * The type of the script block. `"component"` modules come from a component,
1127
- * `"path"` and `"localizedPath"` modules must be available on the paths provided in
1128
- * the `"internalModuleBaseUrls"` field.
1129
- *
1130
- * @remarks
1131
- *
1132
- * Modules with the `"path"` type use the `IPathModuleConfiguration` interface.
1133
- *
1134
- * Modules with the `"component"` type use the `IComponentModuleConfiguration` interface.
1135
- * Modules with the "localizedPath" type use the `ILocalizedPathModuleConfiguration` interface.
1136
- *
1137
- * Supported values: `"component"`, `"path"`, `"localizedPath"`
1138
- *
1139
- * Example: `"localized"`
1140
- */
1141
- type: 'component' | 'path' | 'localizedPath';
1142
- /**
1143
- * If set to `true`, this module should not be preloaded when loading the component.
1144
- *
1145
- * @remarks
1146
- * The most common case for setting this property to "true" is when a module is defined in a manifest,
1147
- * but is not required for the module referenced in "entryModuleId" to load. Modules may be defined that
1148
- * are loaded asynchronously, and these modules do not need to be preloaded. This field implicitly defaults
1149
- * to `false`.
1150
- *
1151
- * Usage: Instructs the module loader to not preload this module.
1152
- */
1153
- shouldNotPreload?: boolean;
1154
- }
615
+ /* Excluded from this release type: IModuleConfiguration */
1155
616
 
1156
- /**
1157
- * This is the base interface for a set of debug and non-debug/minimized paths. The paths in this object are
1158
- * loaded in exactly the same way as any other internal path.
1159
- *
1160
- * @beta
1161
- */
1162
- export declare interface IPath {
1163
- /**
1164
- * A path to this module's javascript resource either as a fully-qualified URL or as a path under the
1165
- * paths provided in the "internalModuleBaseUrls" field. The script referenced by this field is loaded by default
1166
- * unless a debug version of the script is provided and explicitly requested.
1167
- *
1168
- * @remarks
1169
- *
1170
- * Supported values: The path to the default/non-debug script either as a fully-qualified URL or as a path under the
1171
- * paths provided in the "internalModuleBaseUrls" field.
1172
- *
1173
- * Example: `"master_2015-04-20/my-application.bundle_1928f8a0.js"`
1174
- */
1175
- default: string;
1176
- /**
1177
- * A path to this module's debug javascript resource either as a fully-qualified URL or as a path under
1178
- * the paths provided in the "internalModuleBaseUrls" field. The script referenced by this field is only loaded if
1179
- * it is present and debug scripts are explicitly requested.
1180
- *
1181
- * @remarks
1182
- *
1183
- * Supported values: The path to the debug script either as a fully-qualified URL or as a path under the
1184
- * paths provided in the `"internalModuleBaseUrls"` field.
1185
- *
1186
- * Example: `"master_2015-04-20/my-application.bundle_18182c39.debug.js"`
1187
- */
1188
- debug?: string;
1189
- }
617
+ /* Excluded from this release type: IPath */
1190
618
 
1191
- /**
1192
- * This is the interface for a script module with the "path" type. Modules of this type must be provided by the
1193
- * component developer.
1194
- *
1195
- * @beta
1196
- */
1197
- export declare interface IPathModuleConfiguration extends IModuleConfiguration {
1198
- /**
1199
- * A path to this module's javascript resource either as a fully-qualified URL or as a path under the
1200
- * paths provided in the `internalModuleBaseUrls` field.
1201
- *
1202
- * @remarks
1203
- *
1204
- * For example, if this field's value is `"master_2015-04-20/my-application.bundle_1928f8a0.js"` and
1205
- * the `"internalModuleBaseUrls"` field's value is
1206
- * `[ "https://contoso.akamaihd.net/files/", "https://contoso.msecnd.net/files/" ]`, the loader will
1207
- * first attempt to load this script resource from the URL
1208
- * `"https://contoso.akamaihd.net/files/master_2015-04-20/my-application.bundle_1928f8a0.js"`.
1209
- * If loading from that URL fails, the loader will then attempt to load this script resource from
1210
- * `"https://contoso.msecnd.net/files/master_2015-04-20/my-application.bundle_1928f8a0.js"`.
1211
- * If that URL fails to load, the component will fail to load and an error will be returned.
1212
- *
1213
- * Supported values: The path to the module either as a fully-qualified URL or as a path under the
1214
- * paths provided in the "internalModuleBaseUrls" field.
1215
- *
1216
- * Example: `"master_2015-04-20/my-application.bundle_1928f8a0.js"`
1217
- */
1218
- path: string | IPath;
1219
- /**
1220
- * If this property is specified, this module is considered non-AMD and
1221
- * the module loader will not expect "define" or "require" to be called.
1222
- *
1223
- * @remarks
1224
- * In order to load scripts that don't follow the AMD/module-pattern where "define" or "require" is
1225
- * called and dependencies are explicitly listed and exports are explicitly returned, the module loader needs to
1226
- * know which global variable must be examined. If this property is specified, this module is considered non-AMD and
1227
- * the module loader will not expect "define" or "require" to be called. Instead, it will wait for the script to
1228
- * finish loading and examine the global variable specified in this field.
1229
- *
1230
- * Supported values: Variable names that are expected to be populated after this module is loaded. For example,
1231
- * if this module is describing jQuery, this value should probably be "$". If an empty string is specified,
1232
- * the module loader will throw an exception and the component will fail to load.
1233
- *
1234
- * Example: `"$"`
1235
- */
1236
- globalName?: string;
1237
- /**
1238
- * For non-AMD/module-pattern scripts that have dependencies (for example, jQuery plugins), the module
1239
- * loader will ensure that those dependencies are already loaded.
1240
- *
1241
- * @remarks
1242
- * Entries in the array specified in this field must refer to other non-AMD modules in this component. This field
1243
- * is not required to have a value for non-AMD modules. If any values are specified that do not refer to other
1244
- * modules in the same component manifest that this module is specified, the module loader will throw an exception
1245
- * and the component will fail to load.
1246
- *
1247
- * Supported values: Names of other non-AMD-pattern modules in this loader configuration, as specified by the key
1248
- * `IClientSideComponentLoaderConfiguration.scriptResources[]`
1249
- *
1250
- * Example: `["jquery"]`
1251
- */
1252
- globalDependencies?: string[];
1253
- }
619
+ /* Excluded from this release type: IPathModuleConfiguration */
1254
620
 
1255
621
  /* Excluded from this release type: IPreloadOptions */
1256
622
 
1257
623
  /* Excluded from this release type: ManifestType */
1258
624
 
1259
- /**
1260
- * Predefined web part group.
1261
- *
1262
- * @beta
1263
- */
1264
- export declare const enum PredefinedGroup {
1265
- /**
1266
- * Text, media and content.
1267
- *
1268
- * This group includes web parts that display text, multi-media, documents, information from the web, and other
1269
- * rich content.
1270
- *
1271
- * @beta
1272
- */
1273
- TextMediaAndContent = "cf066440-0614-43d6-98ae-0b31cf14c7c3",
1274
- /**
1275
- * Discovery.
1276
- *
1277
- * This group includes web parts that organize, group, and filter content to help users discover information.
1278
- *
1279
- * @beta
1280
- */
1281
- Discovery = "1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489",
1282
- /**
1283
- * Communication and collaboration.
1284
- *
1285
- * This group includes web parts that facilitate information sharing, team work, and social interactions.
1286
- *
1287
- * @beta
1288
- */
1289
- CommunicationAndCollaboration = "75e22ed5-fa14-4829-850a-c890608aca2d",
1290
- /**
1291
- * Planning and process.
1292
- *
1293
- * This group includes web parts that empower team productivity with the use of planning and process tools.
1294
- *
1295
- * @beta
1296
- */
1297
- PlanningAndProcess = "1bc7927e-4a5e-4520-b540-71305c79c20a",
1298
- /**
1299
- * Business and intelligence.
1300
- *
1301
- * This group includes web parts for tracking and analyzing data, and for integrating business flow with pages.
1302
- *
1303
- * @beta
1304
- */
1305
- BusinessAndIntelligence = "4aca9e90-eff5-4fa1-bac7-728f5f157b66",
1306
- /**
1307
- * Site tools.
1308
- *
1309
- * This group includes web parts for site information and management.
1310
- *
1311
- * @beta
1312
- */
1313
- SiteTools = "070951d7-94da-4db8-b06e-9d581f1f55b1",
1314
- /**
1315
- * Other.
1316
- *
1317
- * This group includes web parts not in other groups.
1318
- *
1319
- * @beta
1320
- */
1321
- Other = "5c03119e-3074-46fd-976b-c60198311f70"
1322
- }
625
+ /* Excluded from this release type: PredefinedGroup */
1323
626
 
1324
627
  export { }
@@ -20,7 +20,7 @@ export interface IAdaptiveCardExtensionManifest<TProperties> extends IClientSide
20
20
  * Usage: Use this array to define all hosts that are supported.
21
21
  *
22
22
  */
23
- supportedHosts?: ReadonlyArray<'Dashboard' | 'SharePointWebPart'>;
23
+ supportedHosts?: ReadonlyArray<'Dashboard'>;
24
24
  /**
25
25
  * Definition: If true, this ACE supports and has been tested for theme variants experience.
26
26
  *
@@ -1 +1 @@
1
- {"version":3,"file":"IAdaptiveCardExtensionManifest.d.ts","sourceRoot":"","sources":["../../src/manifestSchemas/IAdaptiveCardExtensionManifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,8BAA8B,CAAC,WAAW,CAAE,SAAQ,4BAA4B;IAC/F;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC,WAAW,GAAG,mBAAmB,CAAC,CAAC;IAElE;;;;;;;;;OASG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,gBAAgB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAkC;IAE3E;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,cAAc,GAAG,iBAAiB,CAAC;IAE7D;;;;;;;;;;;OAWG;IACH,0CAA0C,CAAC,EAAE,OAAO,CAAC;IAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,oBAAoB,EAAE,mCAAmC,CAAC,WAAW,CAAC,EAAE,CAAC;CAC1E;AAED;;;;;;GAMG;AACH,MAAM,WAAW,mCAAmC,CAAC,WAAW;IAC9D;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,KAAK,EAAE,gBAAgB,CAAC;IAExB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,WAAW,EAAE,gBAAgB,CAAC;IAE9B;;;;;;;;;;;OAWG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;;;;;;OAYG;IACH,OAAO,EAAE,eAAe,GAAG,MAAM,CAAC;IAElC;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAE1B;;;;;;;;;;;;;;;;OAgBG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;;;;OAcG;IACH,UAAU,EAAE,WAAW,CAAC;CACzB"}
1
+ {"version":3,"file":"IAdaptiveCardExtensionManifest.d.ts","sourceRoot":"","sources":["../../src/manifestSchemas/IAdaptiveCardExtensionManifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,8BAA8B,CAAC,WAAW,CAAE,SAAQ,4BAA4B;IAC/F;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAE5C;;;;;;;;;OASG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,gBAAgB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAkC;IAE3E;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,cAAc,GAAG,iBAAiB,CAAC;IAE7D;;;;;;;;;;;OAWG;IACH,0CAA0C,CAAC,EAAE,OAAO,CAAC;IAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,oBAAoB,EAAE,mCAAmC,CAAC,WAAW,CAAC,EAAE,CAAC;CAC1E;AAED;;;;;;GAMG;AACH,MAAM,WAAW,mCAAmC,CAAC,WAAW;IAC9D;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,KAAK,EAAE,gBAAgB,CAAC;IAExB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,WAAW,EAAE,gBAAgB,CAAC;IAE9B;;;;;;;;;;;OAWG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;;;;;;OAYG;IACH,OAAO,EAAE,eAAe,GAAG,MAAM,CAAC;IAElC;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAE1B;;;;;;;;;;;;;;;;OAgBG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;;;;OAcG;IACH,UAAU,EAAE,WAAW,CAAC;CACzB"}
@@ -92,11 +92,11 @@
92
92
  "description": "If true, the AdaptiveCardExtension will be disposed and reloaded when the AdaptiveCardExtension data is updated by an external source. If false, the AdaptiveCardExtension data will be deserialized and the properties of the AdaptiveCardExtension will be updated, onAfterPropertiesUpdatedExternally will be executed. If undefined, AdaptiveCardExtensions developed with SPFx version below 1.9 will default to true and AdaptiveCardExtensions developed with a SPFx version 1.9 or greater will default to false."
93
93
  },
94
94
  "supportedHosts": {
95
- "description": "An array indicates the AdaptiveCardExtension supports any of following hosts. If this property is missing the default is SharePointFullPage",
95
+ "description": "An array indicates the AdaptiveCardExtension supports any of following hosts. Currently, only Dashboard is supported.",
96
96
  "type": "array",
97
97
  "items": {
98
98
  "type": "string",
99
- "enum": ["Dashboard", "SharePointWebPart"]
99
+ "enum": ["Dashboard"]
100
100
  }
101
101
  },
102
102
  "connectedTeamsAppId": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/sp-module-interfaces",
3
- "version": "1.13.0-beta.22",
3
+ "version": "1.13.1",
4
4
  "description": "SharePoint Framework module interfaces",
5
5
  "license": "SEE LICENSE IN \"EULA\" FOLDER",
6
6
  "homepage": "http://aka.ms/spfx",