@omnia/velcron 8.0.431-dev → 8.0.433-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.
Files changed (37) hide show
  1. package/events/CreateEventHook.d.ts +1 -1
  2. package/internal-do-not-import-from-here/shared/models/MultilingualString.d.ts +150 -0
  3. package/internal-do-not-import-from-here/shared/models/MultilingualString.js +2 -0
  4. package/internal-do-not-import-from-here/shared/models/ValueOf.d.ts +3 -0
  5. package/internal-do-not-import-from-here/shared/models/ValueOf.js +6 -0
  6. package/internal-do-not-import-from-here/shared/models/index.d.ts +3 -0
  7. package/internal-do-not-import-from-here/shared/models/index.js +3 -0
  8. package/internal-do-not-import-from-here/shared/models/properties/PropertyBinding.d.ts +11 -0
  9. package/internal-do-not-import-from-here/shared/models/properties/PropertyBinding.js +16 -0
  10. package/internal-do-not-import-from-here/shared/models/properties/PropertyConfiguration.d.ts +6 -0
  11. package/internal-do-not-import-from-here/shared/models/properties/PropertyConfiguration.js +2 -0
  12. package/internal-do-not-import-from-here/shared/models/properties/PropertyDefinition.d.ts +63 -0
  13. package/internal-do-not-import-from-here/shared/models/properties/PropertyDefinition.js +25 -0
  14. package/internal-do-not-import-from-here/shared/models/properties/PropertyValue.d.ts +15 -0
  15. package/internal-do-not-import-from-here/shared/models/properties/PropertyValue.js +29 -0
  16. package/internal-do-not-import-from-here/shared/models/properties/index.d.ts +4 -0
  17. package/internal-do-not-import-from-here/shared/models/properties/index.js +7 -0
  18. package/models/VelcronDefinitions.d.ts +7 -1
  19. package/models/VelcronTypes.d.ts +1 -1
  20. package/models/ViewModelAndContext.d.ts +1 -1
  21. package/package.json +1 -1
  22. package/parser/VelcronStyles.d.ts +1 -1
  23. package/stores/VelcronColorSchema.d.ts +1 -1
  24. package/stores/VelcronColorSchema.js +5 -5
  25. package/templatebuilder/VelcronEditorBuilder.d.ts +2 -1
  26. package/templatebuilder/old/editor/VelcronColorSchemaEditor.d.ts +1 -1
  27. package/templatebuilder/old/editor/VelcronContentEditor.d.ts +1 -1
  28. package/templatebuilder/old/editor/VelcronEditorBuilder.d.ts +1 -1
  29. package/templatebuilder/old/editor/VelcronEditorBuilderBase.d.ts +1 -1
  30. package/templatebuilder/old/editor/VelcronImageEditor.d.ts +1 -1
  31. package/templatebuilder/old/editor/VelcronPropertyMappingEditorBuilder.d.ts +1 -1
  32. package/templatebuilder/old/state/VelcronColorSchemaBuilder.d.ts +1 -1
  33. package/templatebuilder/old/state/VelcronContentStateBuilder.d.ts +1 -1
  34. package/templatebuilder/old/state/VelcronImageStateBuilder.d.ts +1 -1
  35. package/templatebuilder/old/state/VelcronPropertyMappingStateBuilder.d.ts +1 -1
  36. package/templatebuilder/old/state/VelcronStateBuilder.d.ts +1 -1
  37. package/templatebuilder/old/state/VelcronTextContentBuilder.d.ts +2 -1
@@ -1,4 +1,4 @@
1
- import { EventHook } from "@omnia/fx-models";
1
+ import { EventHook } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  /**
3
3
  * Utility for creating event hooks on the fly
4
4
  */
@@ -0,0 +1,150 @@
1
+ /**
2
+ * Language tag (languageTags-RegionTag)("ISO 639-1"-"ISO 3166-1") as property and the value beloning to what language tag
3
+ * Resolve using MultilingualStore.getters.stringValue (or propertyName["en-us"] etc)
4
+ * */
5
+ export interface MultilingualString {
6
+ /**
7
+ * Only used for type identification, always set to true in new instances.
8
+ * @example if(someProp.isMultilingualString){return someProp["ar-sa"];}
9
+ * */
10
+ isMultilingualString: true;
11
+ "ar-sa"?: string;
12
+ "bg-bg"?: string;
13
+ "ca-es"?: string;
14
+ "zh-tw"?: string;
15
+ "cs-cz"?: string;
16
+ "da-dk"?: string;
17
+ "de-de"?: string;
18
+ "el-gr"?: string;
19
+ "en-us"?: string;
20
+ "fi-fi"?: string;
21
+ "fr-fr"?: string;
22
+ "he-il"?: string;
23
+ "hu-hu"?: string;
24
+ "is-is"?: string;
25
+ "it-it"?: string;
26
+ "ja-jp"?: string;
27
+ "ko-kr"?: string;
28
+ "nl-nl"?: string;
29
+ "nb-no"?: string;
30
+ "pl-pl"?: string;
31
+ "pt-br"?: string;
32
+ "ro-ro"?: string;
33
+ "ru-ru"?: string;
34
+ "hr-hr"?: string;
35
+ "sk-sk"?: string;
36
+ "sq-al"?: string;
37
+ "sv-se"?: string;
38
+ "th-th"?: string;
39
+ "tr-tr"?: string;
40
+ "ur-pk"?: string;
41
+ "id-id"?: string;
42
+ "uk-ua"?: string;
43
+ "be-by"?: string;
44
+ "sl-si"?: string;
45
+ "et-ee"?: string;
46
+ "lv-lv"?: string;
47
+ "lt-lt"?: string;
48
+ "fa-ir"?: string;
49
+ "vi-vn"?: string;
50
+ "hy-am"?: string;
51
+ "eu-es"?: string;
52
+ "mk-mk"?: string;
53
+ "af-za"?: string;
54
+ "ka-ge"?: string;
55
+ "fo-fo"?: string;
56
+ "hi-in"?: string;
57
+ "ms-my"?: string;
58
+ "kk-kz"?: string;
59
+ "ky-kg"?: string;
60
+ "sw-ke"?: string;
61
+ "tt-ru"?: string;
62
+ "pa-in"?: string;
63
+ "gu-in"?: string;
64
+ "ta-in"?: string;
65
+ "te-in"?: string;
66
+ "kn-in"?: string;
67
+ "mr-in"?: string;
68
+ "sa-in"?: string;
69
+ "mn-mn"?: string;
70
+ "gl-es"?: string;
71
+ "dv-mv"?: string;
72
+ "ar-iq"?: string;
73
+ "zh-cn"?: string;
74
+ "de-ch"?: string;
75
+ "en-gb"?: string;
76
+ "es-mx"?: string;
77
+ "fr-be"?: string;
78
+ "it-ch"?: string;
79
+ "nl-be"?: string;
80
+ "nn-no"?: string;
81
+ "pt-pt"?: string;
82
+ "sv-fi"?: string;
83
+ "ms-bn"?: string;
84
+ "ar-eg"?: string;
85
+ "zh-hk"?: string;
86
+ "de-at"?: string;
87
+ "en-au"?: string;
88
+ "en-es"?: string;
89
+ "fr-ca"?: string;
90
+ "ar-ly"?: string;
91
+ "zh-sg"?: string;
92
+ "de-lu"?: string;
93
+ "en-ca"?: string;
94
+ "es-gt"?: string;
95
+ "fr-ch"?: string;
96
+ "ar-dz"?: string;
97
+ "zh-mo"?: string;
98
+ "de-li"?: string;
99
+ "en-nz"?: string;
100
+ "es-cr"?: string;
101
+ "fr-lu"?: string;
102
+ "ar-ma"?: string;
103
+ "en-ie"?: string;
104
+ "es-pa"?: string;
105
+ "fr-mc"?: string;
106
+ "ar-tn"?: string;
107
+ "en-za"?: string;
108
+ "es-do"?: string;
109
+ "ar-om"?: string;
110
+ "en-jm"?: string;
111
+ "es-ve"?: string;
112
+ "ar-ye"?: string;
113
+ "es-co"?: string;
114
+ "ar-sy"?: string;
115
+ "en-bz"?: string;
116
+ "es-pe"?: string;
117
+ "ar-jo"?: string;
118
+ "en-tt"?: string;
119
+ "es-ar"?: string;
120
+ "ar-lb"?: string;
121
+ "en-zw"?: string;
122
+ "es-ec"?: string;
123
+ "ar-kw"?: string;
124
+ "en-ph"?: string;
125
+ "es-cl"?: string;
126
+ "ar-ae"?: string;
127
+ "es-uy"?: string;
128
+ "ar-bh"?: string;
129
+ "es-py"?: string;
130
+ "ar-qa"?: string;
131
+ "es-bo"?: string;
132
+ "es-sv"?: string;
133
+ "es-hn"?: string;
134
+ "es-pr"?: string;
135
+ "zu-za"?: string;
136
+ "xh-za"?: string;
137
+ "fy-nl"?: string;
138
+ "tn-za"?: string;
139
+ "se-se"?: string;
140
+ "se-fi"?: string;
141
+ "cy-gb"?: string;
142
+ "hr-ba"?: string;
143
+ "mi-nz"?: string;
144
+ "ga-ie"?: string;
145
+ "rm-ch"?: string;
146
+ "lb-lu"?: string;
147
+ "ns-za"?: string;
148
+ "se-no"?: string;
149
+ "mt-mt"?: string;
150
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ type NullOfType<T> = T extends null ? T : T | null;
2
+ export declare function valueOf<T>(value: T): NullOfType<T>;
3
+ export {};
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.valueOf = valueOf;
4
+ function valueOf(value) {
5
+ return value;
6
+ }
@@ -22,3 +22,6 @@ export * from "./EventHook";
22
22
  export * from "./ShortId";
23
23
  export * from "./OmniaHub";
24
24
  export * from "./Icon";
25
+ export * from "./MultilingualString";
26
+ export * from "./properties";
27
+ export * from "./ValueOf";
@@ -26,3 +26,6 @@ tslib_1.__exportStar(require("./EventHook"), exports);
26
26
  tslib_1.__exportStar(require("./ShortId"), exports);
27
27
  tslib_1.__exportStar(require("./OmniaHub"), exports);
28
28
  tslib_1.__exportStar(require("./Icon"), exports);
29
+ tslib_1.__exportStar(require("./MultilingualString"), exports);
30
+ tslib_1.__exportStar(require("./properties"), exports);
31
+ tslib_1.__exportStar(require("./ValueOf"), exports);
@@ -0,0 +1,11 @@
1
+ import { guid } from "../Guid";
2
+ import { MultilingualString } from "../MultilingualString";
3
+ import { PropertyDefinition, PropertyDefinitionId } from "./PropertyDefinition";
4
+ export type PropertyBindingId = guid;
5
+ export type PropertyBindingProviderId = guid;
6
+ export declare class PropertyBinding<TPropertyDef extends PropertyDefinition<any, any, any>> {
7
+ readonly propertyDefinitionId: PropertyDefinitionId;
8
+ readonly bindingId: PropertyBindingId;
9
+ readonly displayName: MultilingualString;
10
+ constructor(typeDef: (new () => TPropertyDef) | TPropertyDef, bindingId: PropertyBindingId, displayName?: MultilingualString);
11
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyBinding = void 0;
4
+ class PropertyBinding {
5
+ constructor(typeDef, bindingId, displayName) {
6
+ if (typeDef.id) {
7
+ this.propertyDefinitionId = typeDef.id;
8
+ }
9
+ else {
10
+ this.propertyDefinitionId = new typeDef().id;
11
+ }
12
+ this.bindingId = bindingId;
13
+ this.displayName = displayName || {};
14
+ }
15
+ }
16
+ exports.PropertyBinding = PropertyBinding;
@@ -0,0 +1,6 @@
1
+ import { PropertyDefinition, PropertyDisplaySettingsType, PropertyEditorSettingsType, PropertySetupSettingsType } from "./PropertyDefinition";
2
+ export interface PropertyConfiguration<TPropertyDef extends PropertyDefinition<any, any, any>> {
3
+ propertyDisplaySettings: PropertyDisplaySettingsType<TPropertyDef>;
4
+ propertyEditorSettings: PropertyEditorSettingsType<TPropertyDef>;
5
+ propertySetupSettings?: PropertySetupSettingsType<TPropertyDef>;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,63 @@
1
+ import { guid } from "../Guid";
2
+ import { IIcon } from "../Icon";
3
+ import { MultilingualString } from "../MultilingualString";
4
+ import { PropertyValue } from "./PropertyValue";
5
+ export type PropertyDisplaySettingsType<TPropDef extends PropertyDefinition<any, any, any, any>> = TPropDef extends PropertyDefinition<any, infer TPropertyDisplaySettings, any, any> ? TPropertyDisplaySettings : never;
6
+ export type PropertyEditorSettingsType<TPropDef extends PropertyDefinition<any, any, any, any>> = TPropDef extends PropertyDefinition<any, any, infer TPropertyEditorSettings, any> ? TPropertyEditorSettings : never;
7
+ export type PropertySetupSettingsType<TPropDef extends PropertyDefinition<any, any, any, any>> = TPropDef extends PropertyDefinition<any, any, any, infer TPropertySetupSettings> ? (TPropertySetupSettings extends UndefinedMirrorOfPropertySetupBase ? never : TPropertySetupSettings) : never;
8
+ export type PropertyValueType<TPropDef> = TPropDef extends PropertyDefinition<infer TPropertyValue, any, any, any> ? TPropertyValue : never;
9
+ export type PropertyDefinitionId = guid;
10
+ export interface PropertyLabel {
11
+ text: string | MultilingualString;
12
+ icon?: IIcon;
13
+ }
14
+ export interface IPropertyDisplaySettingsBase {
15
+ label?: PropertyLabel;
16
+ showLabelText?: boolean;
17
+ showLabelIcon?: boolean;
18
+ inline?: boolean;
19
+ }
20
+ export declare abstract class PropertyDisplaySettingsBase implements IPropertyDisplaySettingsBase {
21
+ label?: PropertyLabel;
22
+ showLabelText?: boolean;
23
+ showLabelIcon?: boolean;
24
+ inline?: boolean;
25
+ }
26
+ export interface IPropertyEditorSettingsBase {
27
+ required?: boolean;
28
+ description?: MultilingualString;
29
+ }
30
+ export declare abstract class PropertyEditorSettingsBase implements IPropertyEditorSettingsBase {
31
+ required?: boolean;
32
+ description?: MultilingualString;
33
+ }
34
+ /**
35
+ * The base for PropertySetup
36
+ */
37
+ export declare abstract class PropertySetupBase {
38
+ }
39
+ declare abstract class UndefinedMirrorOfPropertySetupBase extends PropertySetupBase {
40
+ private uniquePropertyNameOfUndefinedMirrorOfPropertySetupBase?;
41
+ }
42
+ export declare abstract class PropertyDefinition<TPropertyValue extends PropertyValue, TPropertyDisplaySettings extends PropertyDisplaySettingsBase, TPropertyEditorSettings extends PropertyEditorSettingsBase, TPropertySetupSettings extends PropertySetupBase = PropertySetupBase> {
43
+ abstract readonly id: PropertyDefinitionId;
44
+ abstract readonly typeName: string;
45
+ /**
46
+ * Dummy used to not make the compiler remove the generic type info from d.ts
47
+ * */
48
+ protected value?: TPropertyValue;
49
+ /**
50
+ * Dummy used to not make the compiler remove the generic type info from d.ts
51
+ * */
52
+ protected displaySettings?: TPropertyDisplaySettings;
53
+ /**
54
+ * Dummy used to not make the compiler remove the generic type info from d.ts
55
+ * */
56
+ protected editorSettings?: TPropertyEditorSettings;
57
+ /**
58
+ * Dummy used to not make the compiler remove the generic type info from d.ts
59
+ * */
60
+ protected setupSettings?: TPropertySetupSettings;
61
+ constructor();
62
+ }
63
+ export {};
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyDefinition = exports.PropertySetupBase = exports.PropertyEditorSettingsBase = exports.PropertyDisplaySettingsBase = void 0;
4
+ class PropertyDisplaySettingsBase {
5
+ }
6
+ exports.PropertyDisplaySettingsBase = PropertyDisplaySettingsBase;
7
+ class PropertyEditorSettingsBase {
8
+ }
9
+ exports.PropertyEditorSettingsBase = PropertyEditorSettingsBase;
10
+ //// Begining: Making the typing work for PropertyDefinition without specifying TPropertySetupSettings gives type never, i.e compile error else the correct typing if set.
11
+ ///This is kind of magic stuff getting ts to have the desired behaviour
12
+ /**
13
+ * The base for PropertySetup
14
+ */
15
+ class PropertySetupBase {
16
+ }
17
+ exports.PropertySetupBase = PropertySetupBase;
18
+ class UndefinedMirrorOfPropertySetupBase extends PropertySetupBase {
19
+ }
20
+ ///End
21
+ class PropertyDefinition {
22
+ constructor() {
23
+ }
24
+ }
25
+ exports.PropertyDefinition = PropertyDefinition;
@@ -0,0 +1,15 @@
1
+ import { guid } from "../Guid";
2
+ import { PropertyBinding } from "./PropertyBinding";
3
+ import { PropertyDefinition, PropertyValueType } from "./PropertyDefinition";
4
+ export declare class PropertyValueBinding<TPropertyDefinition extends PropertyDefinition<any, any, any>> {
5
+ value: PropertyValueType<TPropertyDefinition>;
6
+ readonly propertyBindingId: guid;
7
+ constructor(//definition: { new(): TPropertyDefinition ;},
8
+ propertyBinding: PropertyBinding<TPropertyDefinition>, value: PropertyValueType<TPropertyDefinition>);
9
+ }
10
+ export declare abstract class PropertyValue {
11
+ containValue?(other: PropertyValue): boolean;
12
+ appendValue?(other: PropertyValue): PropertyValue;
13
+ getValue(): any;
14
+ abstract isEmpty(): any;
15
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyValue = exports.PropertyValueBinding = void 0;
4
+ class PropertyValueBinding {
5
+ constructor(//definition: { new(): TPropertyDefinition ;},
6
+ propertyBinding, value) {
7
+ this.value = value;
8
+ //let defId = new definition().id;
9
+ this.propertyBindingId = propertyBinding.bindingId;
10
+ //let bindingDefId = this.propertyBindingId = (propertyBinding as PropertyBinding<any>).propertyDefinitionId
11
+ //if (defId !== (propertyBinding as PropertyBinding<any>).propertyDefinitionId) {
12
+ // throw new Error('The binding wih id: ' + this.propertyBindingId + ' does not belong to the specifed definition id: ' + defId + ' binding definition id: ' + bindingDefId);
13
+ //}
14
+ }
15
+ }
16
+ exports.PropertyValueBinding = PropertyValueBinding;
17
+ class PropertyValue {
18
+ containValue(other) {
19
+ return JSON.stringify(other) == JSON.stringify(this);
20
+ }
21
+ appendValue(other) {
22
+ //Replace to the new value if the property isn't a term set property
23
+ return this;
24
+ }
25
+ getValue() {
26
+ return this;
27
+ }
28
+ }
29
+ exports.PropertyValue = PropertyValue;
@@ -0,0 +1,4 @@
1
+ export * from "./PropertyBinding";
2
+ export * from "./PropertyConfiguration";
3
+ export * from "./PropertyDefinition";
4
+ export * from "./PropertyValue";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./PropertyBinding"), exports);
5
+ tslib_1.__exportStar(require("./PropertyConfiguration"), exports);
6
+ tslib_1.__exportStar(require("./PropertyDefinition"), exports);
7
+ tslib_1.__exportStar(require("./PropertyValue"), exports);
@@ -2,7 +2,7 @@ import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEve
2
2
  import { VelcronComponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
3
3
  import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
4
4
  import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
5
- import { guid, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/fx/models";
5
+ import { guid, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
6
6
  import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
7
7
  import { Properties } from "csstype";
8
8
  import type { AnimationOptionsWithOverrides, InViewOptions, VariantDefinition, Variants } from "motion";
@@ -448,3 +448,9 @@ export type VelcronRenderProps<TDefinition> = {
448
448
  export type VelcronAppRendererProps = VelcronRenderProps<VelcronAppDefinition> & {
449
449
  rootApp: boolean;
450
450
  };
451
+ declare global {
452
+ namespace JSX {
453
+ interface Element {
454
+ }
455
+ }
456
+ }
@@ -1,4 +1,4 @@
1
- import { VelcronDefinition } from "@omnia/fx-models";
1
+ import { VelcronDefinition } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  export type VelcronPrimitiveType = string | number | boolean;
3
3
  export type VelcronArrayType<T> = Array<T>;
4
4
  export type VelcronObjectType<T extends Object> = T;
@@ -1,4 +1,4 @@
1
- import { VelcronAppDefinition } from "@omnia/fx-models";
1
+ import { VelcronAppDefinition } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  export interface AppJson {
3
3
  app: VelcronAppDefinition;
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "8.0.431-dev",
4
+ "version": "8.0.433-dev",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,7 +1,7 @@
1
1
  import { VelcronBorder, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow, VelcronDimensions, VelcronEffects, VelcronRenderContext } from "../models";
2
2
  import { VelcronUnitProvider } from "../models/VelcronUnitProvider";
3
3
  import { SpacingBlueprint, VelcronBindableProp, VelcronColorStyling, VelcronDefinition } from "..";
4
- import { CSSProperties, StylexValue } from "internal/fx/ux/Styles.stylex";
4
+ import { type CSSProperties, type StylexValue } from "internal/fx/ux/Styles.stylex";
5
5
  export declare class VelcronStyles {
6
6
  static styleProvider: (baseStyles: CSSProperties, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => StylexValue;
7
7
  static effectsProvider: (effects: VelcronEffects, renderCtx: VelcronRenderContext) => VelcronEffects;
@@ -1,4 +1,4 @@
1
- import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, guid } from "@omnia/fx-models";
1
+ import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, guid } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { useVelcronThemingStore } from ".";
3
3
  export declare const useVelcronColorSchemaStore: (newStateWithName?: string) => {
4
4
  state: {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useVelcronColorSchemaStore = void 0;
4
- const fx_models_1 = require("@omnia/fx-models");
4
+ const models_1 = require("@omnia/velcron/internal-do-not-import-from-here/shared/models");
5
5
  const _1 = require(".");
6
6
  exports.useVelcronColorSchemaStore = (0, _1.defineVelcronStore)("ColorSchemaStore", {
7
7
  setup() {
@@ -12,13 +12,13 @@ exports.useVelcronColorSchemaStore = (0, _1.defineVelcronStore)("ColorSchemaStor
12
12
  container: {},
13
13
  onContainer: {},
14
14
  isContainer: false,
15
- name: (0, fx_models_1.valueOf)(""),
16
- colorSchemaType: fx_models_1.ColorSchemaTypes.background,
17
- id: (0, fx_models_1.guid)(),
15
+ name: (0, models_1.valueOf)(""),
16
+ colorSchemaType: models_1.ColorSchemaTypes.background,
17
+ id: (0, models_1.guid)(),
18
18
  },
19
19
  //The private state is not reactive that means it will not trigger re-rendering of the component
20
20
  privateState: {
21
- themeStore: (0, fx_models_1.valueOf)(null)
21
+ themeStore: (0, models_1.valueOf)(null)
22
22
  }
23
23
  };
24
24
  },
@@ -1,4 +1,5 @@
1
- import { TextStyleType, VelcronEditor, VelcronTypographyEditorSettings, VelcronSliderPropertyEditorSettings } from "@omnia/fx-models";
1
+ import { TextStyleType, VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
+ import { VelcronSliderPropertyEditorSettings, VelcronTypographyEditorSettings } from "../models";
2
3
  export declare class VelcronEditorBuilder {
3
4
  private editors;
4
5
  private formatStateMapping;
@@ -1,4 +1,4 @@
1
- import { VelcronEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
4
  export declare class VelcronColorSchemaEditorBuilder extends VelcronEditorBuilderBase {
@@ -1,4 +1,4 @@
1
- import { VelcronEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
3
3
  export declare class VelcronContentEditorBuilder extends VelcronEditorBuilderBase {
4
4
  private mainEditor;
@@ -1,4 +1,4 @@
1
- import { VelcronEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronContentEditorBuilder } from "./VelcronContentEditor";
3
3
  import { VelcronColorSchemaEditorBuilder } from "./VelcronColorSchemaEditor";
4
4
  import { VelcronImageEditorBuilder } from "./VelcronImageEditor";
@@ -1,4 +1,4 @@
1
- import { VelcronEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  export declare abstract class VelcronEditorBuilderBase {
4
4
  protected builder: VelcronEditorBuilder;
@@ -1,4 +1,4 @@
1
- import { VelcronEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
4
  export declare class VelcronImageEditorBuilder extends VelcronEditorBuilderBase {
@@ -1,4 +1,4 @@
1
- import { VelcronEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
4
  export declare class VelcronPropertyMappingEditorBuilder extends VelcronEditorBuilderBase {
@@ -1,4 +1,4 @@
1
- import { ColorSchemaType } from "@omnia/fx-models";
1
+ import { ColorSchemaType } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
3
3
  export declare class VelcronColorSchemaStateBuilder extends VelcronStateBuilderBase {
4
4
  private colorSchema;
@@ -1,4 +1,4 @@
1
- import { VelcronState } from "@omnia/fx-models";
1
+ import { VelcronState } from "../../../models";
2
2
  import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
3
3
  import { VelcronTextContentBuilder } from "./VelcronTextContentBuilder";
4
4
  export declare class VelcronContentStateBuilder extends VelcronStateBuilderBase {
@@ -1,4 +1,4 @@
1
- import { VelcronImageRatios, VelcronState } from "@omnia/fx-models";
1
+ import { VelcronImageRatios, VelcronState } from "../../../models";
2
2
  import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
3
3
  export declare class VelcronImageStateBuilder extends VelcronStateBuilderBase {
4
4
  private mainImageUrl;
@@ -1,4 +1,4 @@
1
- import { VelcronState } from "@omnia/fx-models";
1
+ import { VelcronState } from "../../../models";
2
2
  import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
3
3
  export declare class VelcronPropertyMappingStateBuilder extends VelcronStateBuilderBase {
4
4
  private propertyItemsValue;
@@ -1,4 +1,4 @@
1
- import { VelcronState } from "@omnia/fx-models";
1
+ import { VelcronState } from "../../../models";
2
2
  import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
3
3
  import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
4
4
  import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
@@ -1,5 +1,6 @@
1
- import { TextStyleSize, TextStyleType, VelcronTextState, VelcronTypographyState } from "@omnia/fx-models";
1
+ import { TextStyleSize, TextStyleType } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronStateBuilderStrategy } from "./VelcronStateBuilderBase";
3
+ import { VelcronTextState, VelcronTypographyState } from "../../../models";
3
4
  export declare class VelcronTextContentBuilder<TBaseBuilder> extends VelcronStateBuilderStrategy {
4
5
  private _textState;
5
6
  private bindingContextValue;