@omnia/fx-models 7.9.14-preview → 7.9.16-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.
package/Exposes.d.ts CHANGED
@@ -134,6 +134,7 @@ export * from "./semanticsearch";
134
134
  export * from "./aiengine";
135
135
  export * from "./filterbuilder";
136
136
  export * from "./unsplash";
137
+ export * from "./blockgallery";
137
138
  export * from "./FilePicker";
138
139
  export * from "./FileIdentifier";
139
140
  export * from "./UserAgent";
package/Exposes.js CHANGED
@@ -146,6 +146,7 @@ tslib_1.__exportStar(require("./semanticsearch"), exports);
146
146
  tslib_1.__exportStar(require("./aiengine"), exports);
147
147
  tslib_1.__exportStar(require("./filterbuilder"), exports);
148
148
  tslib_1.__exportStar(require("./unsplash"), exports);
149
+ tslib_1.__exportStar(require("./blockgallery"), exports);
149
150
  //************************************************************************************ */
150
151
  // End of folder exports
151
152
  //************************************************************************************ */
package/Layout.d.ts CHANGED
@@ -357,6 +357,7 @@ export interface BlockRegistration extends LayoutItemRegistration {
357
357
  export interface ILayoutDependencyProvider {
358
358
  }
359
359
  export interface CustomRegistration extends LayoutItemRegistration {
360
+ id?: GuidValue;
360
361
  sectionHandler: (layout: LoadedLayout) => Array<Section>;
361
362
  iconComponent?: string;
362
363
  }
package/ManifestIds.d.ts CHANGED
@@ -197,7 +197,6 @@ export declare class OmniaWebComponentManifests {
197
197
  static get FxUxMenuBlade(): Guid;
198
198
  static get FxUxWizard(): Guid;
199
199
  static get FxUxPeoplePicker(): Guid;
200
- static get FxUxSkeletonLoader(): Guid;
201
200
  static get FxUxIcon(): Guid;
202
201
  static get FxUxButton(): Guid;
203
202
  static get FxUxDatatable(): Guid;
package/ManifestIds.js CHANGED
@@ -604,9 +604,6 @@ class OmniaWebComponentManifests {
604
604
  static get FxUxPeoplePicker() {
605
605
  return new models_1.Guid("4893dcff-9223-448c-9259-367a1b4ad652");
606
606
  }
607
- static get FxUxSkeletonLoader() {
608
- return new models_1.Guid("4ecc3b27-de00-4525-8b22-cba846f79ad9");
609
- }
610
607
  static get FxUxIcon() {
611
608
  return new models_1.Guid("EC34A224-751B-4124-B150-3174AC3868F1");
612
609
  }
@@ -0,0 +1,22 @@
1
+ import { IconPickerModel } from "../Exposes";
2
+ import { BlockGalleryHeader } from "./Header";
3
+ export interface BlockGallerySetting {
4
+ headers: Array<BlockGalleryHeader>;
5
+ orderedItems: Array<BlockGalleryItem>;
6
+ }
7
+ export declare const BlockGallerySettingsKey = "$omnia_block_gallery_settings$";
8
+ export interface BlockGalleryItem {
9
+ id: string;
10
+ type: BlockGalleryItemType;
11
+ }
12
+ export interface BlockGalleryItemView extends BlockGalleryItem {
13
+ title: string;
14
+ icon?: string;
15
+ iconPicker?: IconPickerModel;
16
+ }
17
+ export declare enum BlockGalleryItemType {
18
+ CustomRegistration = 1,
19
+ BlockRegistration = 2,
20
+ HeaderRegistration = 3,
21
+ BlockTemplate = 4
22
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlockGalleryItemType = exports.BlockGallerySettingsKey = void 0;
4
+ exports.BlockGallerySettingsKey = "$omnia_block_gallery_settings$";
5
+ var BlockGalleryItemType;
6
+ (function (BlockGalleryItemType) {
7
+ //layout block
8
+ BlockGalleryItemType[BlockGalleryItemType["CustomRegistration"] = 1] = "CustomRegistration";
9
+ //normal webcomponent block
10
+ BlockGalleryItemType[BlockGalleryItemType["BlockRegistration"] = 2] = "BlockRegistration";
11
+ //header acts as old category
12
+ BlockGalleryItemType[BlockGalleryItemType["HeaderRegistration"] = 3] = "HeaderRegistration";
13
+ BlockGalleryItemType[BlockGalleryItemType["BlockTemplate"] = 4] = "BlockTemplate";
14
+ })(BlockGalleryItemType = exports.BlockGalleryItemType || (exports.BlockGalleryItemType = {}));
@@ -0,0 +1,14 @@
1
+ import { IconPickerModel } from "../Icon";
2
+ import { MultilingualString } from "../MultilingualString";
3
+ export interface BlockTemplate {
4
+ id?: number;
5
+ title?: MultilingualString;
6
+ icon?: IconPickerModel;
7
+ description?: MultilingualString;
8
+ codeSnippet: string;
9
+ }
10
+ export interface BlockTemplateView {
11
+ id?: number;
12
+ title?: MultilingualString;
13
+ icon?: IconPickerModel;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { GuidValue, MultilingualString } from "../Exposes";
2
+ export interface BlockGalleryHeader {
3
+ id: GuidValue;
4
+ title: MultilingualString;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./BlockTemplates";
2
+ export * from "./BlockGallery";
3
+ export * from "./Header";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BlockTemplates"), exports);
5
+ tslib_1.__exportStar(require("./BlockGallery"), exports);
6
+ tslib_1.__exportStar(require("./Header"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.9.14-preview",
4
+ "version": "7.9.16-preview",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"