@omnia/velcron 8.0.452-dev → 8.0.454-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 (23) hide show
  1. package/internal-do-not-import-from-here/shared/models/ObjectMerger.d.ts +7 -0
  2. package/internal-do-not-import-from-here/shared/models/ObjectMerger.js +129 -0
  3. package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.d.ts +3 -0
  4. package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.js +5 -0
  5. package/internal-do-not-import-from-here/shared/models/SharedUtils.d.ts +29 -0
  6. package/internal-do-not-import-from-here/shared/models/SharedUtils.js +61 -0
  7. package/internal-do-not-import-from-here/shared/models/index.d.ts +2 -0
  8. package/internal-do-not-import-from-here/shared/models/index.js +2 -0
  9. package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +4 -0
  10. package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.js +6 -0
  11. package/internal-do-not-import-from-here/shared/models/velcron/VelcronState.d.ts +71 -0
  12. package/internal-do-not-import-from-here/shared/models/velcron/VelcronState.js +2 -0
  13. package/internal-do-not-import-from-here/shared/models/velcron/index.d.ts +1 -0
  14. package/internal-do-not-import-from-here/shared/models/velcron/index.js +1 -0
  15. package/models/VelcronDefinitions.d.ts +1 -5
  16. package/models/VelcronDefinitions.js +0 -6
  17. package/models/VelcronState.d.ts +1 -71
  18. package/package.json +1 -1
  19. package/templatebuilder/old/state/VelcronContentStateBuilder.d.ts +1 -1
  20. package/templatebuilder/old/state/VelcronImageStateBuilder.d.ts +1 -1
  21. package/templatebuilder/old/state/VelcronPropertyMappingStateBuilder.d.ts +1 -1
  22. package/templatebuilder/old/state/VelcronStateBuilder.d.ts +1 -1
  23. package/templatebuilder/old/state/VelcronTextContentBuilder.d.ts +1 -2
@@ -0,0 +1,7 @@
1
+ export declare class ObjectMerger {
2
+ static isEmptyObject(item: any): boolean;
3
+ static objectKeysWithFilter(object: any, includeFunctions: boolean): Array<string>;
4
+ static mergeObjects<T extends object = object>(target: T, nullOrUndefinedValueCustomHandler: (missingPropertyName: string, parent: object, defaultValue: object) => object, emptyStringValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, emptyArrayValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, ...sources: T[]): T;
5
+ static customNullCondition<T extends object = object>(target: T, condition: (target: T) => boolean): T;
6
+ static deleteNullProperties<T extends object = object>(target: T, disableTreatingEmptyStringAsNull?: boolean, disableTreatingFalseAsNull?: boolean, disableTreatingZeroAsNull?: boolean, disableTreatingEmptyArrayAsNull?: boolean): void;
7
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ObjectMerger = void 0;
4
+ const SharedUtils_1 = require("./SharedUtils");
5
+ class ObjectMerger {
6
+ static isEmptyObject(item) {
7
+ let empty = true;
8
+ if (item) {
9
+ Object.keys(item).forEach((key) => {
10
+ if (SharedUtils_1.Utils.isFunction(item[key]) === false && empty === true) {
11
+ empty = false;
12
+ }
13
+ });
14
+ }
15
+ return empty;
16
+ }
17
+ static objectKeysWithFilter(object, includeFunctions) {
18
+ const result = [];
19
+ if (object) {
20
+ Object.keys(object).forEach((key) => {
21
+ if (SharedUtils_1.Utils.isFunction(object[key]) && includeFunctions) {
22
+ result.push(key);
23
+ }
24
+ else {
25
+ result.push(key);
26
+ }
27
+ });
28
+ }
29
+ return result;
30
+ }
31
+ static mergeObjects(target, nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, ...sources) {
32
+ if (!sources.length) {
33
+ return target;
34
+ }
35
+ const source = sources.shift();
36
+ if (source === undefined) {
37
+ return target;
38
+ }
39
+ if (SharedUtils_1.Utils.isObject(target) && SharedUtils_1.Utils.isObject(source)) {
40
+ Object.keys(source).forEach(function (key) {
41
+ if (SharedUtils_1.Utils.isObject(source[key])) {
42
+ if (!target[key]) {
43
+ const sourceKeyValue = {};
44
+ ObjectMerger.mergeObjects(sourceKeyValue, nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, source[key]);
45
+ target[key] = nullOrUndefinedValueCustomHandler ? nullOrUndefinedValueCustomHandler(key, target, sourceKeyValue) : sourceKeyValue;
46
+ }
47
+ else {
48
+ ObjectMerger.mergeObjects(target[key], nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, source[key]);
49
+ }
50
+ }
51
+ else {
52
+ //By default we just add missing properties if custom handler we get value and set it..
53
+ //merge value if target is null or undefined (or maybe when only undefined ?)
54
+ if (target[key] === undefined || target[key] === null) {
55
+ target[key] = nullOrUndefinedValueCustomHandler ? nullOrUndefinedValueCustomHandler(key, target, source[key]) : source[key];
56
+ }
57
+ else if (target[key] === "") {
58
+ target[key] = emptyStringValueCustomHandler ? emptyStringValueCustomHandler(key, target, source[key]) : target[key];
59
+ }
60
+ else if (Array.isArray(target[key]) && target[key].length === 0) {
61
+ target[key] = emptyArrayValueCustomHandler ? emptyArrayValueCustomHandler(key, target, source[key]) : target[key];
62
+ }
63
+ }
64
+ });
65
+ }
66
+ return ObjectMerger.mergeObjects(target, nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, ...sources);
67
+ }
68
+ //Custom condition on object if it should be treated as null
69
+ static customNullCondition(target, condition) {
70
+ if (target) {
71
+ target["customNullCondition"] = condition;
72
+ }
73
+ else {
74
+ target = {
75
+ customNullCondition: condition
76
+ };
77
+ }
78
+ return target;
79
+ }
80
+ static deleteNullProperties(target, disableTreatingEmptyStringAsNull = false, disableTreatingFalseAsNull = false, disableTreatingZeroAsNull = false, disableTreatingEmptyArrayAsNull = false) {
81
+ if (SharedUtils_1.Utils.isObject(target)) {
82
+ Object.keys(target).forEach(function (key) {
83
+ let hasNullConditionResult = false;
84
+ if (target[key] && typeof target[key] == "object" && key != "customNullCondition" && target[key]["customNullCondition"]) {
85
+ hasNullConditionResult = target[key]["customNullCondition"](target[key]);
86
+ }
87
+ if (hasNullConditionResult) {
88
+ return;
89
+ }
90
+ else {
91
+ if (SharedUtils_1.Utils.isObject(target[key])) {
92
+ ObjectMerger.deleteNullProperties(target[key], disableTreatingEmptyStringAsNull, disableTreatingFalseAsNull, disableTreatingZeroAsNull, disableTreatingEmptyArrayAsNull);
93
+ if (ObjectMerger.isEmptyObject(target[key])) {
94
+ //Empty object = {} lets remove it
95
+ delete target[key];
96
+ }
97
+ }
98
+ else if (Array.isArray(target[key])) {
99
+ if (!disableTreatingEmptyArrayAsNull && target[key].length === 0) {
100
+ delete target[key];
101
+ }
102
+ else {
103
+ target[key].forEach((item) => {
104
+ ObjectMerger.deleteNullProperties(item, disableTreatingEmptyStringAsNull, disableTreatingFalseAsNull, disableTreatingZeroAsNull, disableTreatingEmptyArrayAsNull);
105
+ });
106
+ }
107
+ }
108
+ else {
109
+ if (!target[key]) {
110
+ if (SharedUtils_1.Utils.isString(target[key]) && !disableTreatingEmptyStringAsNull) {
111
+ delete target[key];
112
+ }
113
+ else if (SharedUtils_1.Utils.isBoolean(target[key]) && !disableTreatingFalseAsNull) {
114
+ delete target[key];
115
+ }
116
+ else if (SharedUtils_1.Utils.isNumber(target[key]) && !disableTreatingZeroAsNull) {
117
+ delete target[key];
118
+ }
119
+ else if (target[key] === null) {
120
+ delete target[key];
121
+ }
122
+ }
123
+ }
124
+ }
125
+ });
126
+ }
127
+ }
128
+ }
129
+ exports.ObjectMerger = ObjectMerger;
@@ -0,0 +1,3 @@
1
+ export declare const OIconSizeDefinitions: readonly ["x-large", "large", "default", "x-small", "small"];
2
+ export type OIconSizes = typeof OIconSizeDefinitions[number];
3
+ export declare const OIconSizesName = "OIconSizes";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OIconSizesName = exports.OIconSizeDefinitions = void 0;
4
+ exports.OIconSizeDefinitions = ["x-large", "large", "default", "x-small", "small"];
5
+ exports.OIconSizesName = "OIconSizes";
@@ -0,0 +1,29 @@
1
+ export declare class Utils {
2
+ /**
3
+ * Determine whether the argument is an array.
4
+ *
5
+ * @param obj Object to test whether or not it is an array.
6
+ */
7
+ static isArray(obj: any): obj is Array<any>;
8
+ /**
9
+ * Check if is type of a function
10
+ * @param obj Object to test whether or not it is an function.
11
+ */
12
+ static isFunction(obj: any): obj is Function;
13
+ /**
14
+ * Check if is type of a Object
15
+ * @param obj Object to test whether or not it is a real object.
16
+ */
17
+ static isObject(val: any): val is object;
18
+ /**
19
+ * Check if is type of a boolean
20
+ * @param obj Object to test whether or not it is a boolean.
21
+ */
22
+ static isBoolean(obj: any): obj is Boolean;
23
+ static generateguid(): string;
24
+ static isNativeClass(value: any): boolean;
25
+ static isPromise(val: any): boolean;
26
+ static isString(target: any): target is string;
27
+ static isNumber(target: any): target is number;
28
+ static clone<T extends I, I>(obj: I): T;
29
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Utils = void 0;
4
+ class Utils {
5
+ /**
6
+ * Determine whether the argument is an array.
7
+ *
8
+ * @param obj Object to test whether or not it is an array.
9
+ */
10
+ static isArray(obj) {
11
+ return Array.isArray(obj);
12
+ }
13
+ /**
14
+ * Check if is type of a function
15
+ * @param obj Object to test whether or not it is an function.
16
+ */
17
+ static isFunction(obj) {
18
+ return typeof obj === "function";
19
+ }
20
+ /**
21
+ * Check if is type of a Object
22
+ * @param obj Object to test whether or not it is a real object.
23
+ */
24
+ static isObject(val) {
25
+ return toString.call(val) === "[object Object]";
26
+ }
27
+ /**
28
+ * Check if is type of a boolean
29
+ * @param obj Object to test whether or not it is a boolean.
30
+ */
31
+ static isBoolean(obj) {
32
+ return typeof obj === "boolean";
33
+ }
34
+ static generateguid() {
35
+ let d = new Date().getTime();
36
+ const uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
37
+ const r = (d + Math.random() * 16) % 16 | 0;
38
+ d = Math.floor(d / 16);
39
+ return (c == "x" ? r : (r & 0x3 | 0x8)).toString(16);
40
+ });
41
+ return uuid;
42
+ }
43
+ static isNativeClass(value /* :mixed */) {
44
+ return typeof value === "function" && value.toString().indexOf("class") === 0;
45
+ }
46
+ static isPromise(val) {
47
+ return (val &&
48
+ typeof val.then === "function" &&
49
+ typeof val.catch === "function");
50
+ }
51
+ static isString(target) {
52
+ return typeof target === "string";
53
+ }
54
+ static isNumber(target) {
55
+ return typeof target === "number";
56
+ }
57
+ static clone(obj) {
58
+ return JSON.parse(JSON.stringify(obj));
59
+ }
60
+ }
61
+ exports.Utils = Utils;
@@ -26,3 +26,5 @@ export * from "./MultilingualString";
26
26
  export * from "./properties";
27
27
  export * from "./ValueOf";
28
28
  export * from "./Enums";
29
+ export * from "./ObjectMerger";
30
+ export * from "./OxideTypeDefinitions";
@@ -30,3 +30,5 @@ tslib_1.__exportStar(require("./MultilingualString"), exports);
30
30
  tslib_1.__exportStar(require("./properties"), exports);
31
31
  tslib_1.__exportStar(require("./ValueOf"), exports);
32
32
  tslib_1.__exportStar(require("./Enums"), exports);
33
+ tslib_1.__exportStar(require("./ObjectMerger"), exports);
34
+ tslib_1.__exportStar(require("./OxideTypeDefinitions"), exports);
@@ -11,6 +11,10 @@ export interface VelcronColorStyling {
11
11
  toned?: boolean;
12
12
  color?: string;
13
13
  }
14
+ export declare enum VelcronImageRatios {
15
+ square = "square",
16
+ landscape = "landscape"
17
+ }
14
18
  /**
15
19
  * Velcron definition base
16
20
  */
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VelcronImageRatios = void 0;
3
4
  exports.velcronBind = velcronBind;
5
+ var VelcronImageRatios;
6
+ (function (VelcronImageRatios) {
7
+ VelcronImageRatios["square"] = "square";
8
+ VelcronImageRatios["landscape"] = "landscape";
9
+ })(VelcronImageRatios || (exports.VelcronImageRatios = VelcronImageRatios = {}));
4
10
  function velcronBind(bindPath) {
5
11
  return `$bind: ${bindPath}`;
6
12
  }
@@ -0,0 +1,71 @@
1
+ import { BackgroundDefinition, BlueprintVariant, ContainerFillBlueprint, TextStyleSize, TextStyleType } from "../theme";
2
+ import { VelcronImageRatios, VelcronSpacing } from "./VelcronDefinition";
3
+ export interface VelcronState {
4
+ states?: {
5
+ active?: boolean;
6
+ };
7
+ component?: {
8
+ title: string;
9
+ icon: string;
10
+ };
11
+ images?: VelcronImagesState;
12
+ container?: {
13
+ maxWidth?: number;
14
+ minHeight?: number;
15
+ alignX?: string;
16
+ alignY?: string;
17
+ colorSchemaType?: string;
18
+ spacing?: VelcronSpacing;
19
+ blueprint?: ContainerFillBlueprint | BlueprintVariant;
20
+ background?: BackgroundDefinition;
21
+ };
22
+ grid?: VelcronGridState;
23
+ content?: VelcronContentState;
24
+ header?: VelcronHeaderState;
25
+ properties?: VelcronPropertiesState;
26
+ spacing?: VelcronSpacingState;
27
+ }
28
+ export interface VelcronGridState {
29
+ columnWidth?: number;
30
+ columns?: Array<object>;
31
+ gap?: string | number;
32
+ }
33
+ export interface VelcronSpacingState {
34
+ container?: VelcronSpacing;
35
+ }
36
+ export interface VelcronHeaderState {
37
+ title?: VelcronTextState;
38
+ icon?: string;
39
+ }
40
+ export interface VelcronTextState {
41
+ text?: string;
42
+ placeholder?: string;
43
+ typography?: VelcronTypographyState;
44
+ }
45
+ export interface VelcronTypographyState {
46
+ type?: TextStyleType;
47
+ size?: TextStyleSize;
48
+ toned?: boolean;
49
+ }
50
+ export interface VelcronContentState {
51
+ caption?: VelcronTextState;
52
+ main?: VelcronTextState;
53
+ title?: VelcronTextState;
54
+ summary?: VelcronTextState;
55
+ }
56
+ export interface VelcronPropertiesState {
57
+ user: any;
58
+ mappings: Array<any>;
59
+ }
60
+ export interface VelcronImagesState {
61
+ main?: VelcronImageState;
62
+ alt1?: VelcronImageState;
63
+ alt2?: VelcronImageState;
64
+ }
65
+ export interface VelcronImageState {
66
+ url?: string;
67
+ ratio?: VelcronImageRatios;
68
+ caption?: VelcronTextState;
69
+ width?: number;
70
+ height?: number;
71
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,3 +3,4 @@ export * from "./VelcronEvents";
3
3
  export * from "./VelcronReference";
4
4
  export * from "./VelcronContentSection";
5
5
  export * from "./VelcronDefinitionCategories";
6
+ export * from "./VelcronState";
@@ -6,3 +6,4 @@ tslib_1.__exportStar(require("./VelcronEvents"), exports);
6
6
  tslib_1.__exportStar(require("./VelcronReference"), exports);
7
7
  tslib_1.__exportStar(require("./VelcronContentSection"), exports);
8
8
  tslib_1.__exportStar(require("./VelcronDefinitionCategories"), exports);
9
+ tslib_1.__exportStar(require("./VelcronState"), exports);
@@ -1,4 +1,4 @@
1
- import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
1
+ import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues, VelcronImageRatios } from "@omnia/velcron/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, VelcronEffects, useVelcronThemingStore } from "..";
@@ -257,10 +257,6 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
257
257
  events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
258
258
  blueprint?: VelcronBindableProp<TextBlueprint>;
259
259
  }
260
- export declare enum VelcronImageRatios {
261
- square = "square",
262
- landscape = "landscape"
263
- }
264
260
  export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
265
261
  type: "image";
266
262
  value?: VelcronBindableProp<string>;
@@ -1,13 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VelcronImageRatios = void 0;
4
3
  const d = {
5
4
  position: {
6
5
  type: null
7
6
  }
8
7
  };
9
- var VelcronImageRatios;
10
- (function (VelcronImageRatios) {
11
- VelcronImageRatios["square"] = "square";
12
- VelcronImageRatios["landscape"] = "landscape";
13
- })(VelcronImageRatios || (exports.VelcronImageRatios = VelcronImageRatios = {}));
@@ -1,74 +1,4 @@
1
- import { BackgroundDefinition, ContainerFillBlueprint, BlueprintVariant, TextBlueprint, TextStyleSize, TextStyleType, VelcronSpacing } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
- import { VelcronImageRatios } from "./VelcronDefinitions";
3
- export interface VelcronState {
4
- states?: {
5
- active?: boolean;
6
- };
7
- component?: {
8
- title: string;
9
- icon: string;
10
- };
11
- images?: VelcronImagesState;
12
- container?: {
13
- maxWidth?: number;
14
- minHeight?: number;
15
- alignX?: string;
16
- alignY?: string;
17
- colorSchemaType?: string;
18
- spacing?: VelcronSpacing;
19
- blueprint?: ContainerFillBlueprint | BlueprintVariant;
20
- background?: BackgroundDefinition;
21
- };
22
- grid?: VelcronGridState;
23
- content?: VelcronContentState;
24
- header?: VelcronHeaderState;
25
- properties?: VelcronPropertiesState;
26
- spacing?: VelcronSpacingState;
27
- }
28
- export interface VelcronGridState {
29
- columnWidth?: number;
30
- columns?: Array<object>;
31
- gap?: string | number;
32
- }
33
- export interface VelcronSpacingState {
34
- container?: VelcronSpacing;
35
- }
36
- export interface VelcronHeaderState {
37
- title?: VelcronTextState;
38
- icon?: string;
39
- }
40
- export interface VelcronTextState {
41
- text?: string;
42
- placeholder?: string;
43
- typography?: VelcronTypographyState;
44
- }
45
- export interface VelcronTypographyState {
46
- type?: TextStyleType;
47
- size?: TextStyleSize;
48
- toned?: boolean;
49
- }
50
- export interface VelcronContentState {
51
- caption?: VelcronTextState;
52
- main?: VelcronTextState;
53
- title?: VelcronTextState;
54
- summary?: VelcronTextState;
55
- }
56
- export interface VelcronPropertiesState {
57
- user: any;
58
- mappings: Array<any>;
59
- }
60
- export interface VelcronImagesState {
61
- main?: VelcronImageState;
62
- alt1?: VelcronImageState;
63
- alt2?: VelcronImageState;
64
- }
65
- export interface VelcronImageState {
66
- url?: string;
67
- ratio?: VelcronImageRatios;
68
- caption?: VelcronTextState;
69
- width?: number;
70
- height?: number;
71
- }
1
+ import { TextBlueprint } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
72
2
  export declare const VelcronImagesStateBinding: {
73
3
  main: {
74
4
  mediapickerImage: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "8.0.452-dev",
4
+ "version": "8.0.454-dev",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,4 +1,4 @@
1
- import { VelcronState } from "../../../models";
1
+ import { VelcronState } from "@omnia/velcron/internal-do-not-import-from-here/shared/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 "../../../models";
1
+ import { VelcronImageRatios, VelcronState } from "@omnia/velcron/internal-do-not-import-from-here/shared/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 "../../../models";
1
+ import { VelcronState } from "@omnia/velcron/internal-do-not-import-from-here/shared/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 "../../../models";
1
+ import { VelcronState } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
3
3
  import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
4
4
  import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
@@ -1,6 +1,5 @@
1
- import { TextStyleSize, TextStyleType } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
1
+ import { TextStyleSize, TextStyleType, VelcronTextState, VelcronTypographyState } from "@omnia/velcron/internal-do-not-import-from-here/shared/models";
2
2
  import { VelcronStateBuilderStrategy } from "./VelcronStateBuilderBase";
3
- import { VelcronTextState, VelcronTypographyState } from "../../../models";
4
3
  export declare class VelcronTextContentBuilder<TBaseBuilder> extends VelcronStateBuilderStrategy {
5
4
  private _textState;
6
5
  private bindingContextValue;