@omnia/fx-models 8.0.163-dev → 8.0.164-dev

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/Constants.d.ts CHANGED
@@ -51,6 +51,7 @@ export declare const Constants: {
51
51
  dalle: Guid;
52
52
  mediaflow: Guid;
53
53
  unsplash: Guid;
54
+ vimeo: Guid;
54
55
  };
55
56
  providerContextInject: Guid;
56
57
  };
package/Constants.js CHANGED
@@ -82,6 +82,7 @@ exports.Constants = {
82
82
  dalle: new models_1.Guid("69805036-0D70-421B-8B81-217978BB47A4"),
83
83
  mediaflow: new models_1.Guid("F3078399-C3B6-457D-8C2F-A4C8C39B5F27"),
84
84
  unsplash: new models_1.Guid("db11bef7-768d-4281-ad13-c938a4cdb6de"),
85
+ vimeo: new models_1.Guid("b213d44a-728f-4d28-a810-a2a5ed86a9b5")
85
86
  },
86
87
  providerContextInject: new models_1.Guid("950198af-fc0e-4a2e-9f73-394edccf1d8e"),
87
88
  },
package/ManifestIds.d.ts CHANGED
@@ -54,6 +54,7 @@ export declare class OmniaResourceManifests {
54
54
  static get Fx(): Guid;
55
55
  static get FxSpContexts(): Guid;
56
56
  static get FxUxVuetifyTextinput(): Guid;
57
+ static get FxUxVuetifyNumberinput(): Guid;
57
58
  static get FxUxVuetifySelect(): Guid;
58
59
  static get FxUxVuetifyTextarea(): Guid;
59
60
  static get LocalhostingCommands(): Guid;
@@ -69,6 +70,8 @@ export declare class OmniaResourceManifests {
69
70
  static get FxUxVDialog(): Guid;
70
71
  static get FxUxVuetifyAvatar(): Guid;
71
72
  static get FxUxVTreeView(): Guid;
73
+ static get FxUxVSpeedial(): Guid;
74
+ static get FxUxVMenu(): Guid;
72
75
  static get Vendor(): Guid;
73
76
  static get PhoneNumberLib(): Guid;
74
77
  static get FxTenantLanguage(): Guid;
@@ -312,6 +315,7 @@ export declare class OmniaWebComponentManifests {
312
315
  static get FxUxSharePointVideoSettings(): Guid;
313
316
  static get FxUxMicrosoftStreamProvider(): Guid;
314
317
  static get FxUxYoutubeProvider(): Guid;
318
+ static get FxUxVimeoProvider(): Guid;
315
319
  static get FxUxDallEProvider(): Guid;
316
320
  static get FxUxImageTransformer(): Guid;
317
321
  static get FxUxThemeDefinitionEditor(): Guid;
package/ManifestIds.js CHANGED
@@ -164,6 +164,9 @@ class OmniaResourceManifests {
164
164
  static get FxUxVuetifyTextinput() {
165
165
  return new models_1.Guid("181ff5d3-896f-4471-b516-3a347fe9e35d");
166
166
  }
167
+ static get FxUxVuetifyNumberinput() {
168
+ return new models_1.Guid("0fb99ef6-4899-4100-9e95-e33934baf823");
169
+ }
167
170
  static get FxUxVuetifySelect() {
168
171
  return new models_1.Guid("6d5f3edc-0fc0-4765-804b-b6583381f25d");
169
172
  }
@@ -233,6 +236,12 @@ class OmniaResourceManifests {
233
236
  static get FxUxVTreeView() {
234
237
  return new models_1.Guid("6d7b7ee9-0839-49fd-885e-513b17b6b023");
235
238
  }
239
+ static get FxUxVSpeedial() {
240
+ return new models_1.Guid("86e824ef-c893-4e64-b51c-fc91e1be4c85");
241
+ }
242
+ static get FxUxVMenu() {
243
+ return new models_1.Guid("2a6bef63-35c8-492b-9035-868016b1da20");
244
+ }
236
245
  static get Vendor() {
237
246
  return new models_1.Guid("6270b632-1f44-4146-bace-137131c0471b");
238
247
  }
@@ -955,6 +964,9 @@ class OmniaWebComponentManifests {
955
964
  return new models_1.Guid("E748B310-3FE4-4732-B899-3513D863035B");
956
965
  }
957
966
  //public static get FxUxYoutubeProviderRegistration(): Guid { return new Guid("0f90dfd5-fa8c-4e97-a840-3b3f3c5ee7d3"); }
967
+ static get FxUxVimeoProvider() {
968
+ return new models_1.Guid("9275FAF9-638C-486B-9EEF-0C7C38FCF12C");
969
+ }
958
970
  static get FxUxDallEProvider() {
959
971
  return new models_1.Guid("9ece4ebd-690f-43b7-95d5-3f72bcc590d1");
960
972
  }
@@ -1,5 +1,6 @@
1
+ import { ColorSchemaTypes } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
1
2
  export interface ThemeableComponentProps {
2
- colorSchemaType?: any;
3
+ colorSchemaType?: ColorSchemaTypes;
3
4
  container?: any;
4
5
  colors?: any;
5
6
  }
@@ -129,10 +129,11 @@ export interface BackgroundDefinition {
129
129
  fill?: FillDefinitionValue;
130
130
  border?: BorderStylingDefinition;
131
131
  elevation?: number;
132
- media?: BackgroundMedia;
132
+ media?: BackgroundMediaDefinition;
133
133
  }
134
- export interface BackgroundMedia {
135
- type: "image" | "video";
134
+ export type BackgroundMedia = "image" | "video";
135
+ export interface BackgroundMediaDefinition {
136
+ type: BackgroundMedia;
136
137
  src: string;
137
138
  }
138
139
  export interface FillDefinition {
@@ -60,15 +60,16 @@ export interface VelcronComponentDefinition extends VelcronDefinition {
60
60
  icon?: any;
61
61
  }
62
62
  export type VelcronCustomComponentDefinition = VelcronComponentDefinition;
63
- export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image" | "typography" | "spacing" | "color-schema-type" | "container" | "reference";
63
+ export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image" | "typography" | "spacing" | "color-schema-type" | "blueprint" | "background" | "grid" | "reference";
64
+ export type EditorLocation = "inline " | "pane" | "toolbar";
64
65
  export interface VelcronEditor<TSettings = any> {
65
66
  name?: string;
66
67
  icon?: IFontAwesomeIcon;
67
68
  category?: string;
68
- locations?: ("inline" | "pane" | "menu")[];
69
+ locations?: (EditorLocation)[];
69
70
  type: BuiltInPropertyEditorType | string;
70
71
  settings?: TSettings;
71
- stateMapping?: string;
72
+ state?: string;
72
73
  propertyMapping?: boolean;
73
74
  multiple?: boolean;
74
75
  component?: unknown;
@@ -16,22 +16,9 @@ export declare enum VelcronActionTypes {
16
16
  export declare enum VelcronIconTypes {
17
17
  fontAwesome = "fa"
18
18
  }
19
- export declare enum VelcronViewDirections {
20
- row = "row",
21
- column = "column",
22
- rowReverse = "row-reverse",
23
- columnRevers = "column-reverse"
24
- }
25
- export declare enum VelcronHorizontalAlignments {
26
- left = "left",
27
- center = "center",
28
- right = "right"
29
- }
30
- export declare enum VelcronVerticalAlignments {
31
- top = "top",
32
- center = "center",
33
- bottom = "bottom"
34
- }
19
+ export type VelcronViewDirections = "row" | "column" | "row-reverse" | "column-reverse";
20
+ export type VelcronHorizontalAlignments = "left" | "center" | "right";
21
+ export type VelcronVerticalAlignments = "top" | "center" | "bottom";
35
22
  export declare enum VelcronDataTypes {
36
23
  unknown = "unknown",
37
24
  object = "object",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VelcronDataTypes = exports.VelcronVerticalAlignments = exports.VelcronHorizontalAlignments = exports.VelcronViewDirections = exports.VelcronIconTypes = exports.VelcronActionTypes = exports.AssignOperators = void 0;
3
+ exports.VelcronDataTypes = exports.VelcronIconTypes = exports.VelcronActionTypes = exports.AssignOperators = void 0;
4
4
  var AssignOperators;
5
5
  (function (AssignOperators) {
6
6
  AssignOperators["equals"] = "=";
@@ -22,25 +22,6 @@ var VelcronIconTypes;
22
22
  (function (VelcronIconTypes) {
23
23
  VelcronIconTypes["fontAwesome"] = "fa";
24
24
  })(VelcronIconTypes || (exports.VelcronIconTypes = VelcronIconTypes = {}));
25
- var VelcronViewDirections;
26
- (function (VelcronViewDirections) {
27
- VelcronViewDirections["row"] = "row";
28
- VelcronViewDirections["column"] = "column";
29
- VelcronViewDirections["rowReverse"] = "row-reverse";
30
- VelcronViewDirections["columnRevers"] = "column-reverse";
31
- })(VelcronViewDirections || (exports.VelcronViewDirections = VelcronViewDirections = {}));
32
- var VelcronHorizontalAlignments;
33
- (function (VelcronHorizontalAlignments) {
34
- VelcronHorizontalAlignments["left"] = "left";
35
- VelcronHorizontalAlignments["center"] = "center";
36
- VelcronHorizontalAlignments["right"] = "right";
37
- })(VelcronHorizontalAlignments || (exports.VelcronHorizontalAlignments = VelcronHorizontalAlignments = {}));
38
- var VelcronVerticalAlignments;
39
- (function (VelcronVerticalAlignments) {
40
- VelcronVerticalAlignments["top"] = "top";
41
- VelcronVerticalAlignments["center"] = "center";
42
- VelcronVerticalAlignments["bottom"] = "bottom";
43
- })(VelcronVerticalAlignments || (exports.VelcronVerticalAlignments = VelcronVerticalAlignments = {}));
44
25
  var VelcronDataTypes;
45
26
  (function (VelcronDataTypes) {
46
27
  //Unknown = null
@@ -51,5 +32,6 @@ var VelcronDataTypes;
51
32
  VelcronDataTypes["boolean"] = "boolean";
52
33
  VelcronDataTypes["array"] = "array";
53
34
  VelcronDataTypes["componentArray"] = "componentArray";
35
+ //Depricated????
54
36
  VelcronDataTypes["bind"] = "bind";
55
37
  })(VelcronDataTypes || (exports.VelcronDataTypes = VelcronDataTypes = {}));
@@ -1,4 +1,4 @@
1
- import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint, BackgroundDefinition, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
1
+ import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerBlueprint, BackgroundDefinition, ContainerVariant } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
3
3
  import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
4
4
  import { DynamicState, VelcronDefinition, useVelcronThemingStore } from "..";
@@ -85,11 +85,11 @@ export interface VelcronRenderContextEventHandlersInstance extends VelcronRender
85
85
  }
86
86
  export interface VelcronRenderContextHooks {
87
87
  dialogVisibilityChanged?: ((visible: boolean) => void);
88
- onItemSelected?: ((item: VelcronDefinition) => void);
88
+ onItemSelected?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => void);
89
89
  wrapperStyleExtensions?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => string);
90
- renderExtensions?: <TNodeType>(item: VelcronDefinition) => TNodeType;
90
+ renderExtensions?: <TNodeType>(item: VelcronDefinition, renderContext: VelcronRenderContext) => TNodeType;
91
91
  appStyleExtension?: (() => string);
92
- onItemCreatedProps?: ((item: VelcronDefinition) => object);
92
+ onItemCreatedProps?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => object);
93
93
  }
94
94
  export interface VelcronContainerRenderer {
95
95
  definition: VelcronDefinition;
@@ -161,7 +161,7 @@ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColo
161
161
  events?: VelcronOnPressEvent;
162
162
  direction?: VelcronBindableProp<"row" | "row-reverse">;
163
163
  absolute?: VelcronSpacing;
164
- blueprint?: ContainerBlueprint;
164
+ blueprint?: ContainerBlueprint | ContainerVariant;
165
165
  background?: BackgroundDefinition;
166
166
  hideOverflow?: boolean;
167
167
  wrap?: boolean;
@@ -194,7 +194,6 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
194
194
  type: "text";
195
195
  value?: VelcronBindableProp;
196
196
  placeholder?: VelcronBindableProp;
197
- editLabel?: VelcronBindableProp;
198
197
  lineClamp?: VelcronBindableProp<number>;
199
198
  noWrap?: VelcronBindableProp<boolean>;
200
199
  wordBreak?: VelcronBindableProp<"none">;
@@ -23,6 +23,12 @@ export interface VelcronTextEditorSettings {
23
23
  type: TypographyType;
24
24
  placeholder: string;
25
25
  }
26
+ export interface VelcronBlueprintEditorSettings {
27
+ type: "container" | "";
28
+ }
29
+ export interface VelcronBackgroundEditorSettings {
30
+ type: "image" | "video";
31
+ }
26
32
  export interface VelcronSliderPropertyEditor extends VelcronEditor<VelcronSliderPropertyEditorSettings> {
27
33
  type: "slider";
28
34
  }
@@ -35,9 +41,6 @@ export interface VelcronEnterprisePropertyEditor extends VelcronEditor<any> {
35
41
  export interface VelcronTypographyPropertyEditor extends VelcronEditor<VelcronTypographyEditorSettings> {
36
42
  type: "typography";
37
43
  }
38
- export interface VelcronContainerPropertyEditor extends VelcronEditor<any> {
39
- type: "container";
40
- }
41
44
  export interface VelcronSwitchPropertyEditor extends VelcronEditor<any> {
42
45
  type: "switch";
43
46
  }
@@ -65,3 +68,12 @@ export interface VelcronSpacingPropertyEditor extends VelcronEditor<VelcronSpaci
65
68
  export interface VelcronReferencePropertyEditor extends VelcronEditor<any> {
66
69
  type: "reference";
67
70
  }
71
+ export interface VelcronBlueprintEditor extends VelcronEditor<VelcronBlueprintEditorSettings> {
72
+ type: "blueprint";
73
+ }
74
+ export interface VelcronBackgroundEditor extends VelcronEditor<VelcronBackgroundEditorSettings> {
75
+ type: "background";
76
+ }
77
+ export interface VelcronGridEditor extends VelcronEditor<any> {
78
+ type: "grid";
79
+ }
@@ -1,14 +1,25 @@
1
- import { TextBlueprint, TypographySize, TypographyType, VelcronSpacing } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
1
+ import { BackgroundDefinition, ContainerBlueprint, ContainerVariant, TextBlueprint, TypographySize, TypographyType, VelcronSpacing } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronImageRatios } from "./VelcronDefinitions";
3
3
  export interface VelcronState {
4
4
  images?: VelcronImagesState;
5
- styling?: VelcronStylingState;
5
+ container?: {
6
+ colorSchemaType?: string;
7
+ spacing?: VelcronSpacing;
8
+ blueprint?: ContainerBlueprint | ContainerVariant;
9
+ background?: BackgroundDefinition;
10
+ };
11
+ grid?: VelcronGridState;
6
12
  colorSchemas?: VelcronColorSchemasState;
7
13
  content?: VelcronContentState;
8
14
  header?: VelcronHeaderState;
9
15
  properties?: VelcronPropertiesState;
10
16
  spacing?: VelcronSpacingState;
11
17
  }
18
+ export interface VelcronGridState {
19
+ columnWidth?: number;
20
+ columns?: Array<object>;
21
+ gap?: string | number;
22
+ }
12
23
  export interface VelcronSpacingState {
13
24
  container?: VelcronSpacing;
14
25
  }
@@ -79,60 +90,28 @@ export declare const VelcronImagesStateBinding: {
79
90
  height: string;
80
91
  };
81
92
  };
82
- export declare const VelcronHeaderStateBinding: {
83
- title: {
84
- text: string;
85
- placeholder: string;
86
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
87
- };
88
- icon: string;
89
- };
90
- export declare const VelcronContentStateBinding: {
91
- title: {
92
- text: string;
93
- placeholder: string;
94
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
95
- };
96
- main: {
97
- text: string;
98
- placeholder: string;
99
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
100
- };
101
- caption: {
102
- text: string;
103
- placeholder: string;
104
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
105
- };
106
- summary: {
107
- text: string;
108
- placeholder: string;
109
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
110
- };
111
- };
112
- export declare const VelcronColorSchemasStateBinding: {
113
- main: {
114
- value: string;
115
- type: string;
116
- filled: string;
117
- };
118
- };
119
- export declare const VelcronSpacingStateBinding: {
120
- container: {
121
- value: string;
122
- top: string;
123
- right: string;
124
- bottom: string;
125
- left: string;
93
+ export declare const VelcronStateMapping: {
94
+ grid: {
95
+ columns: string;
126
96
  };
127
97
  };
128
98
  export declare const VelcronStateBinding: {
129
99
  colorSchemas: {
130
- main: {
100
+ main_depricated: {
131
101
  value: string;
132
102
  type: string;
133
103
  filled: string;
134
104
  };
135
105
  };
106
+ container: {
107
+ colorSchemaType: string;
108
+ spacing: string;
109
+ blueprint: string;
110
+ background: {
111
+ value: string;
112
+ media: string;
113
+ };
114
+ };
136
115
  images: {
137
116
  main: {
138
117
  editor: string;
@@ -181,6 +160,12 @@ export declare const VelcronStateBinding: {
181
160
  blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
182
161
  };
183
162
  };
163
+ grid: {
164
+ value: string;
165
+ columnWidth: string;
166
+ columns: string;
167
+ gap: string;
168
+ };
184
169
  header: {
185
170
  title: {
186
171
  text: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VelcronStateBinding = exports.VelcronSpacingStateBinding = exports.VelcronColorSchemasStateBinding = exports.VelcronContentStateBinding = exports.VelcronHeaderStateBinding = exports.VelcronImagesStateBinding = void 0;
3
+ exports.VelcronStateBinding = exports.VelcronStateMapping = exports.VelcronImagesStateBinding = void 0;
4
4
  const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
5
5
  exports.VelcronImagesStateBinding = {
6
6
  main: {
@@ -28,15 +28,7 @@ exports.VelcronImagesStateBinding = {
28
28
  height: "{{images.alt2.height}}",
29
29
  },
30
30
  };
31
- exports.VelcronHeaderStateBinding = {
32
- title: {
33
- text: (0, models_1.velcronBind)("header.title.text"),
34
- placeholder: (0, models_1.velcronBind)("header.title.placeholder"),
35
- blueprint: (0, models_1.velcronBind)("content.title.blueprint")
36
- },
37
- icon: (0, models_1.velcronBind)("header.icon")
38
- };
39
- exports.VelcronContentStateBinding = {
31
+ const VelcronContentStateBinding = {
40
32
  title: {
41
33
  text: (0, models_1.velcronBind)("content.title.text"),
42
34
  placeholder: (0, models_1.velcronBind)("content.title.placeholder"),
@@ -58,34 +50,53 @@ exports.VelcronContentStateBinding = {
58
50
  blueprint: (0, models_1.velcronBind)("content.summary.blueprint")
59
51
  },
60
52
  };
61
- exports.VelcronColorSchemasStateBinding = {
62
- main: {
63
- value: (0, models_1.velcronBind)("colorSchemas.main"),
64
- type: (0, models_1.velcronBind)("colorSchemas.main.type"),
65
- filled: (0, models_1.velcronBind)("colorSchemas.main.filled")
66
- }
67
- };
68
- exports.VelcronSpacingStateBinding = {
69
- container: {
70
- value: (0, models_1.velcronBind)("spacing.chrome"),
71
- top: (0, models_1.velcronBind)("{{spacing.chrome.top}}"),
72
- right: (0, models_1.velcronBind)("{{spacing.chrome.right}}"),
73
- bottom: (0, models_1.velcronBind)("{{spacing.chrome.bottom}}"),
74
- left: (0, models_1.velcronBind)("{{spacing.chrome.left}}"),
75
- }
53
+ exports.VelcronStateMapping = {
54
+ grid: {
55
+ columns: "grid.columns",
56
+ },
76
57
  };
77
- // export interface VelcronSpacingState {
78
- // chrome?: VelcronDimensionState
79
- // }
80
- // export interface VelcronDimensionState {
81
- // margin?: VelcronSpacing;
82
- // padding?: VelcronSpacing;
83
- // }
84
58
  exports.VelcronStateBinding = {
85
- colorSchemas: exports.VelcronColorSchemasStateBinding,
59
+ colorSchemas: {
60
+ main_depricated: {
61
+ value: (0, models_1.velcronBind)("colorSchemas.main"),
62
+ type: (0, models_1.velcronBind)("colorSchemas.main.type"),
63
+ filled: (0, models_1.velcronBind)("colorSchemas.main.filled")
64
+ }
65
+ },
66
+ container: {
67
+ colorSchemaType: (0, models_1.velcronBind)("$state.container.colorSchemaType"),
68
+ spacing: (0, models_1.velcronBind)("$state.container.spacing"),
69
+ blueprint: (0, models_1.velcronBind)("$state.container.blueprint"),
70
+ background: {
71
+ value: (0, models_1.velcronBind)("$state.container.background"),
72
+ media: (0, models_1.velcronBind)("$state.container.background.media")
73
+ }
74
+ },
86
75
  images: exports.VelcronImagesStateBinding,
87
- content: exports.VelcronContentStateBinding,
88
- header: exports.VelcronHeaderStateBinding,
89
- spacing: exports.VelcronSpacingStateBinding
76
+ content: VelcronContentStateBinding,
77
+ grid: {
78
+ value: (0, models_1.velcronBind)("$state.grid"),
79
+ columnWidth: (0, models_1.velcronBind)("$state.grid.columnWidth"),
80
+ columns: (0, models_1.velcronBind)("$state.grid.columns"),
81
+ gap: (0, models_1.velcronBind)("$state.grid.gap"),
82
+ //rows:velcronBind("grid.rows"),
83
+ },
84
+ header: {
85
+ title: {
86
+ text: (0, models_1.velcronBind)("$state.header.title.text"),
87
+ placeholder: (0, models_1.velcronBind)("$state.header.title.placeholder"),
88
+ blueprint: (0, models_1.velcronBind)("$state.content.title.blueprint")
89
+ },
90
+ icon: (0, models_1.velcronBind)("$state.header.icon")
91
+ },
92
+ spacing: {
93
+ container: {
94
+ value: (0, models_1.velcronBind)("$state.spacing.chrome"),
95
+ top: (0, models_1.velcronBind)("{{spacing.chrome.top}}"),
96
+ right: (0, models_1.velcronBind)("{{spacing.chrome.right}}"),
97
+ bottom: (0, models_1.velcronBind)("{{spacing.chrome.bottom}}"),
98
+ left: (0, models_1.velcronBind)("{{spacing.chrome.left}}"),
99
+ }
100
+ }
90
101
  //properties?:VelcronPropertiesState,
91
102
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.163-dev",
4
+ "version": "8.0.164-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,10 +1,9 @@
1
- import { DynamicState, GuidValue, ThemeDefinitionV2, VelcronAppDefinition } from "..";
1
+ import { DynamicState, GuidValue, VelcronAppDefinition } from "..";
2
2
  export type VelcronDefitinionRegistrationsTypes = "content" | "card" | "header" | "general" | "property" | "block-header" | "social" | "spacing";
3
3
  export interface VelcronDefinitionRegistration<TDefinitionState extends DynamicState = DynamicState> {
4
4
  id: GuidValue;
5
5
  definition: VelcronAppDefinition<TDefinitionState>;
6
6
  title: string;
7
- previewTheme?: ThemeDefinitionV2;
8
7
  category: VelcronDefitinionRegistrationsTypes;
9
8
  builtIn?: boolean;
10
9
  }