@microsoft/sp-module-interfaces 1.21.0-beta.0 → 1.21.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-internal-beta.d.ts +15 -3
- package/dist/index-internal-public.d.ts +47 -2
- package/dist/index-internal.d.ts +29 -710
- package/lib-commonjs/index.js +31 -29
- package/lib-commonjs/manifestHelpers.js +22 -19
- package/lib-commonjs/manifestSchemaValidator.js +70 -84
- package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.js +11 -3
- package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideManifestBase.js +10 -3
- package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.js +62 -67
- package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IPrefabAppManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/ManifestType.js +18 -13
- package/lib-commonjs/manifestSchemas/examples/application_1.manifest.js +24 -6
- package/lib-commonjs/manifestSchemas/examples/application_2.manifest.js +28 -7
- package/lib-commonjs/manifestSchemas/examples/application_3.manifest.js +22 -5
- package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.js +18 -4
- package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/library_1.manifest.js +18 -4
- package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.js +24 -6
- package/lib-commonjs/manifestSchemas/examples/prefab_1.manifest.js +27 -7
- package/lib-commonjs/manifestSchemas/examples/prefab_2.manifest.js +61 -9
- package/lib-commonjs/manifestSchemas/examples/prefabapp.manifest.json +37 -3
- package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.js +24 -6
- package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.js +47 -12
- package/lib-commonjs/manifestSchemas/jsonSchemas/prefab-app-manifest.schema.json +107 -3
- package/{lib-commonjs → lib-dts}/manifestSchemaValidator.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideWebPartManifest.d.ts +1 -3
- package/lib-dts/manifestSchemas/IPrefabAppManifest.d.ts +255 -0
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_2.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_3.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/assembly_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/commandSet_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_2.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_3.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_4.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/library_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/multi-version_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/prefab_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/prefab_2.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/webpart_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/webpart_2.manifest.d.ts +1 -1
- package/{dist → lib-dts}/tsdoc-metadata.json +1 -1
- package/lib-esm/index.js +15 -0
- package/lib-esm/manifestHelpers.js +21 -0
- package/lib-esm/manifestSchemaValidator.js +135 -0
- package/lib-esm/manifestSchemas/IAdaptiveCardExtensionManifest.js +9 -0
- package/lib-esm/manifestSchemas/IClientSideApplicationManifest.js +5 -0
- package/lib-esm/manifestSchemas/IClientSideAssemblyManifest.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideComponentLoaderConfiguration.js +17 -0
- package/lib-esm/manifestSchemas/IClientSideComponentManifest.js +27 -0
- package/lib-esm/manifestSchemas/IClientSideExtensionManifest.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideLibraryManifest.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideManifestBase.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideMultiVersionManifest.js +25 -0
- package/lib-esm/manifestSchemas/IClientSideWebPartManifest.js +62 -0
- package/lib-esm/manifestSchemas/ICommandSetExtensionManifest.js +8 -0
- package/lib-esm/manifestSchemas/IPrefabAppManifest.js +7 -0
- package/lib-esm/manifestSchemas/ManifestType.js +15 -0
- package/lib-esm/manifestSchemas/examples/application.manifest.json +346 -0
- package/lib-esm/manifestSchemas/examples/application_1.manifest.js +344 -0
- package/lib-esm/manifestSchemas/examples/application_2.manifest.js +47 -0
- package/lib-esm/manifestSchemas/examples/application_3.manifest.js +42 -0
- package/lib-esm/manifestSchemas/examples/assembly.manifest.json +331 -0
- package/lib-esm/manifestSchemas/examples/assembly_1.manifest.js +336 -0
- package/lib-esm/manifestSchemas/examples/commandSet_1.manifest.js +42 -0
- package/lib-esm/manifestSchemas/examples/commandset.manifest.json +38 -0
- package/lib-esm/manifestSchemas/examples/extension.manifest.json +20 -0
- package/lib-esm/manifestSchemas/examples/extension_1.manifest.js +25 -0
- package/lib-esm/manifestSchemas/examples/extension_2.manifest.js +24 -0
- package/lib-esm/manifestSchemas/examples/extension_3.manifest.js +23 -0
- package/lib-esm/manifestSchemas/examples/extension_4.manifest.js +23 -0
- package/lib-esm/manifestSchemas/examples/library.manifest.json +330 -0
- package/lib-esm/manifestSchemas/examples/library_1.manifest.js +335 -0
- package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.js +673 -0
- package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.json +336 -0
- package/lib-esm/manifestSchemas/examples/prefab_1.manifest.js +344 -0
- package/lib-esm/manifestSchemas/examples/prefab_2.manifest.js +381 -0
- package/lib-esm/manifestSchemas/examples/prefabapp.manifest.json +379 -0
- package/lib-esm/manifestSchemas/examples/webpart.manifest.json +380 -0
- package/lib-esm/manifestSchemas/examples/webpart_1.manifest.js +350 -0
- package/lib-esm/manifestSchemas/examples/webpart_2.manifest.js +388 -0
- package/lib-esm/manifestSchemas/jsonSchemas/adaptive-card-extension-manifest.schema.json +230 -0
- package/lib-esm/manifestSchemas/jsonSchemas/any-value.schema.json +8 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-application-manifest.schema.json +138 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-assembly-manifest.schema.json +45 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +273 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-manifest.schema.json +131 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-extension-manifest.schema.json +61 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-library-manifest.schema.json +39 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-manifest-base.schema.json +25 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-multi-version-manifest.schema.json +118 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +348 -0
- package/lib-esm/manifestSchemas/jsonSchemas/command-set-extension-manifest.schema.json +81 -0
- package/lib-esm/manifestSchemas/jsonSchemas/guid.schema.json +6 -0
- package/lib-esm/manifestSchemas/jsonSchemas/localized-string.schema.json +33 -0
- package/lib-esm/manifestSchemas/jsonSchemas/prefab-app-manifest.schema.json +176 -0
- package/lib-esm/manifestSchemas/jsonSchemas/semver.schema.json +8 -0
- package/lib-esm/manifestSchemas/remote/draft-04.schema.json +137 -0
- package/lib-esm/manifestSchemas/remote/site-design-script-actions.schema.json +1158 -0
- package/package.json +27 -7
- package/lib-commonjs/index.d.ts.map +0 -1
- package/lib-commonjs/manifestHelpers.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemaValidator.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideManifestBase.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IPrefabAppManifest.d.ts +0 -76
- package/lib-commonjs/manifestSchemas/IPrefabAppManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/ManifestType.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/application_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/application_2.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/application_3.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/library_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/prefab_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/prefab_2.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.d.ts.map +0 -1
- /package/{lib-commonjs → lib-dts}/index.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestHelpers.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideApplicationManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideAssemblyManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideComponentManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideExtensionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideLibraryManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideManifestBase.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideMultiVersionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/ICommandSetExtensionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/ManifestType.d.ts +0 -0
|
@@ -746,8 +746,6 @@ export declare interface IClientSideWebPartManifest<TProperties> extends IClient
|
|
|
746
746
|
* ```
|
|
747
747
|
* @remarks
|
|
748
748
|
* Ensure this remains up to date with IFlexibleControlSizingData in FlexibleControl.types.ts
|
|
749
|
-
*
|
|
750
|
-
* @beta
|
|
751
749
|
*/
|
|
752
750
|
flexibleLayoutSizing?: IFlexibleLayoutSizing;
|
|
753
751
|
}
|
|
@@ -1054,7 +1052,7 @@ export declare interface IComponentModuleConfiguration extends IModuleConfigurat
|
|
|
1054
1052
|
|
|
1055
1053
|
/**
|
|
1056
1054
|
* Flexible layout sizing data
|
|
1057
|
-
* @
|
|
1055
|
+
* @public
|
|
1058
1056
|
*/
|
|
1059
1057
|
export declare interface IFlexibleLayoutSizing {
|
|
1060
1058
|
/**
|
|
@@ -1300,6 +1298,16 @@ export declare interface IPathModuleConfiguration extends IModuleConfigurationBa
|
|
|
1300
1298
|
|
|
1301
1299
|
/* Excluded from this release type: IPrefabAppManifest */
|
|
1302
1300
|
|
|
1301
|
+
/* Excluded from this release type: IPrefabAppOnDemandSiteScript */
|
|
1302
|
+
|
|
1303
|
+
/* Excluded from this release type: IPrefabAppOnInstallSiteScript */
|
|
1304
|
+
|
|
1305
|
+
/* Excluded from this release type: IPrefabAppSiteScriptBase */
|
|
1306
|
+
|
|
1307
|
+
/* Excluded from this release type: IPrefabAppSiteSettingsLink */
|
|
1308
|
+
|
|
1309
|
+
/* Excluded from this release type: IPrefabAppToolboxEntry */
|
|
1310
|
+
|
|
1303
1311
|
/* Excluded from this release type: IPreloadOptions */
|
|
1304
1312
|
|
|
1305
1313
|
/* Excluded from this release type: ISiteScriptActionBase */
|
|
@@ -1379,4 +1387,8 @@ export declare const enum PredefinedGroup {
|
|
|
1379
1387
|
Local = "8b7bf6f1-a56a-4aa3-8657-7eb6e7e6af61"
|
|
1380
1388
|
}
|
|
1381
1389
|
|
|
1390
|
+
/* Excluded from this release type: PrefabAppSiteScript */
|
|
1391
|
+
|
|
1392
|
+
/* Excluded from this release type: SiteScriptType */
|
|
1393
|
+
|
|
1382
1394
|
export { }
|
|
@@ -359,7 +359,20 @@ export declare interface IClientSideWebPartManifest<TProperties> extends IClient
|
|
|
359
359
|
* and will be hosted as a Teams application (supportedHosts contains any of Teams hosts).
|
|
360
360
|
*/
|
|
361
361
|
supportsSelfFramingInTeams?: boolean;
|
|
362
|
-
|
|
362
|
+
/**
|
|
363
|
+
* Definition: Defines the default sizing of webpart in flexible sections, as well as if it supports dynamic resizing.
|
|
364
|
+
* Example:
|
|
365
|
+
* ```
|
|
366
|
+
* flexibleLayoutSizing: {
|
|
367
|
+
* supportsDynamicResizing: false,
|
|
368
|
+
* defaultColumnWidth: 22,
|
|
369
|
+
* defaultRowHeight: 21
|
|
370
|
+
* }
|
|
371
|
+
* ```
|
|
372
|
+
* @remarks
|
|
373
|
+
* Ensure this remains up to date with IFlexibleControlSizingData in FlexibleControl.types.ts
|
|
374
|
+
*/
|
|
375
|
+
flexibleLayoutSizing?: IFlexibleLayoutSizing;
|
|
363
376
|
}
|
|
364
377
|
|
|
365
378
|
/**
|
|
@@ -585,7 +598,25 @@ export declare interface ICommandSetExtensionManifest extends IClientSideExtensi
|
|
|
585
598
|
|
|
586
599
|
/* Excluded from this release type: IComponentModuleConfiguration */
|
|
587
600
|
|
|
588
|
-
|
|
601
|
+
/**
|
|
602
|
+
* Flexible layout sizing data
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
export declare interface IFlexibleLayoutSizing {
|
|
606
|
+
/**
|
|
607
|
+
* If true webpart can resize to any width between minimum and 70 columns
|
|
608
|
+
* Otherwise webpart is slot resized to 22, 34, 48, or 70 columns
|
|
609
|
+
*/
|
|
610
|
+
supportsDynamicResizing?: boolean;
|
|
611
|
+
/**
|
|
612
|
+
* Default column width for the webpart, used by drop hint
|
|
613
|
+
*/
|
|
614
|
+
defaultColumnWidth?: number;
|
|
615
|
+
/**
|
|
616
|
+
* Default row height for the webpart, used by drop hint
|
|
617
|
+
*/
|
|
618
|
+
defaultRowHeight?: number;
|
|
619
|
+
}
|
|
589
620
|
|
|
590
621
|
/* Excluded from this release type: IIntegrityPath */
|
|
591
622
|
|
|
@@ -645,6 +676,16 @@ export declare interface ILocalizedString {
|
|
|
645
676
|
|
|
646
677
|
/* Excluded from this release type: IPrefabAppManifest */
|
|
647
678
|
|
|
679
|
+
/* Excluded from this release type: IPrefabAppOnDemandSiteScript */
|
|
680
|
+
|
|
681
|
+
/* Excluded from this release type: IPrefabAppOnInstallSiteScript */
|
|
682
|
+
|
|
683
|
+
/* Excluded from this release type: IPrefabAppSiteScriptBase */
|
|
684
|
+
|
|
685
|
+
/* Excluded from this release type: IPrefabAppSiteSettingsLink */
|
|
686
|
+
|
|
687
|
+
/* Excluded from this release type: IPrefabAppToolboxEntry */
|
|
688
|
+
|
|
648
689
|
/* Excluded from this release type: IPreloadOptions */
|
|
649
690
|
|
|
650
691
|
/* Excluded from this release type: ISiteScriptActionBase */
|
|
@@ -653,4 +694,8 @@ export declare interface ILocalizedString {
|
|
|
653
694
|
|
|
654
695
|
/* Excluded from this release type: PredefinedGroup */
|
|
655
696
|
|
|
697
|
+
/* Excluded from this release type: PrefabAppSiteScript */
|
|
698
|
+
|
|
699
|
+
/* Excluded from this release type: SiteScriptType */
|
|
700
|
+
|
|
656
701
|
export { }
|