@omnia/fx-models 7.9.21-preview → 7.9.23-preview

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.
@@ -1,11 +1,21 @@
1
1
  import { BlockRegistration, BlockTemplate, BlockTemplateView, CustomRegistration, IconPickerModel } from "../Exposes";
2
2
  import { BlockGalleryHeader } from "./Header";
3
- export interface BlockGallerySetting {
3
+ export interface BlockGalleryDialogLayoutSetting {
4
4
  headers: Array<BlockGalleryHeader>;
5
5
  orderedItems: Array<BlockGalleryItem>;
6
- enabled: boolean;
7
6
  }
8
- export declare const BlockGallerySettingsKey = "$omnia_block_gallery_settings$";
7
+ export interface BlockGalleryGeneralSetting {
8
+ enabled?: boolean;
9
+ }
10
+ export declare const BlockGalleryAuthenticationLayoutSettingsKey = "$omnia_block_gallery_authentication_layout_settings$";
11
+ export declare const BlockGalleryDefaultLayoutSettingsKey = "$omnia_block_gallery_default_layout_settings$";
12
+ export declare const BlockGallerySpfxLayoutSettingsKey = "$omnia_block_gallery_spfx_layout_settings$";
13
+ export declare const BlockGalleryGeneralSettingsKey = "$omnia_block_gallery_general_settings$";
14
+ export declare enum BlockDialogLayoutType {
15
+ Default = 1,
16
+ Spfx = 2,
17
+ Authentication = 3
18
+ }
9
19
  export interface BlockGalleryItem {
10
20
  id: string;
11
21
  type: BlockGalleryItemType;
@@ -14,7 +24,9 @@ export interface BlockGalleryItemView extends BlockGalleryItem {
14
24
  title: string;
15
25
  icon?: string;
16
26
  iconPicker?: IconPickerModel;
27
+ description?: string;
17
28
  item: CustomRegistration | BlockRegistration | BlockGalleryHeader | BlockTemplate | BlockTemplateView;
29
+ spfxCompatibility?: boolean;
18
30
  }
19
31
  export declare enum BlockGalleryItemType {
20
32
  CustomRegistration = 1,
@@ -1,7 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BlockGalleryItemType = exports.BlockGallerySettingsKey = void 0;
4
- exports.BlockGallerySettingsKey = "$omnia_block_gallery_settings$";
3
+ exports.BlockGalleryItemType = exports.BlockDialogLayoutType = exports.BlockGalleryGeneralSettingsKey = exports.BlockGallerySpfxLayoutSettingsKey = exports.BlockGalleryDefaultLayoutSettingsKey = exports.BlockGalleryAuthenticationLayoutSettingsKey = void 0;
4
+ exports.BlockGalleryAuthenticationLayoutSettingsKey = "$omnia_block_gallery_authentication_layout_settings$";
5
+ exports.BlockGalleryDefaultLayoutSettingsKey = "$omnia_block_gallery_default_layout_settings$";
6
+ exports.BlockGallerySpfxLayoutSettingsKey = "$omnia_block_gallery_spfx_layout_settings$";
7
+ exports.BlockGalleryGeneralSettingsKey = "$omnia_block_gallery_general_settings$";
8
+ var BlockDialogLayoutType;
9
+ (function (BlockDialogLayoutType) {
10
+ BlockDialogLayoutType[BlockDialogLayoutType["Default"] = 1] = "Default";
11
+ BlockDialogLayoutType[BlockDialogLayoutType["Spfx"] = 2] = "Spfx";
12
+ BlockDialogLayoutType[BlockDialogLayoutType["Authentication"] = 3] = "Authentication";
13
+ })(BlockDialogLayoutType = exports.BlockDialogLayoutType || (exports.BlockDialogLayoutType = {}));
5
14
  var BlockGalleryItemType;
6
15
  (function (BlockGalleryItemType) {
7
16
  //layout block
@@ -5,7 +5,7 @@ export interface BlockTemplate {
5
5
  title?: MultilingualString;
6
6
  icon?: IconPickerModel;
7
7
  description?: MultilingualString;
8
- codeSnippet: string;
8
+ definition: string;
9
9
  }
10
10
  export interface BlockTemplateView {
11
11
  id?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.9.21-preview",
4
+ "version": "7.9.23-preview",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"