@omnia/fx 8.0.87-vnext → 8.0.90-vnext

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 (119) hide show
  1. package/internal-do-not-import-from-here/index.d.ts +2 -2
  2. package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +4 -4
  3. package/internal-do-not-import-from-here/ux/image/scalingsettings/ScalingSettings.d.ts +4 -4
  4. package/internal-do-not-import-from-here/ux/journey/v2/stores/JourneyStore.d.ts +5 -11
  5. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/blockplaceholder/BlockPlaceholder.d.ts +4 -4
  6. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelection.d.ts +4 -4
  7. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelector.d.ts +4 -4
  8. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitems/LayoutBlock.d.ts +4 -4
  9. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitems/LayoutColumn.d.ts +4 -4
  10. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitems/LayoutSection.d.ts +4 -4
  11. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/TemplatePreview.d.ts +4 -4
  12. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +4 -4
  13. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts +4 -4
  14. package/internal-do-not-import-from-here/ux/models/Validation.d.ts +1 -0
  15. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +4 -4
  16. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +4 -4
  17. package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +6 -6
  18. package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +4 -4
  19. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +4 -4
  20. package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +4 -4
  21. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +4 -4
  22. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +4 -4
  23. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +4 -4
  24. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +4 -4
  25. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +4 -4
  26. package/internal-do-not-import-from-here/ux/oxide/layout/Layout.d.ts +4 -4
  27. package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +4 -4
  28. package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +4 -4
  29. package/internal-do-not-import-from-here/ux/oxide/main/Main.d.ts +4 -4
  30. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +4 -4
  31. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +4 -4
  32. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +6 -6
  33. package/internal-do-not-import-from-here/ux/oxide/radio/Radio.d.ts +4 -4
  34. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +4 -4
  35. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +42 -9
  36. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +4 -4
  37. package/internal-do-not-import-from-here/ux/oxide/snackbar/Snackbar.d.ts +4 -4
  38. package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +4 -4
  39. package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +4 -4
  40. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +4 -4
  41. package/internal-do-not-import-from-here/ux/oxide/table/Table.d.ts +4 -4
  42. package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +4 -4
  43. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +4 -4
  44. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +4 -4
  45. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +4 -4
  46. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +4 -4
  47. package/internal-do-not-import-from-here/ux/rollupempty/RollupEmpty.d.ts +4 -4
  48. package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker2.d.ts +4 -4
  49. package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker3.d.ts +4 -4
  50. package/internal-do-not-import-from-here/ux/theming-v2/{blueprintpicker → components/blueprintpicker}/BlueprintPicker.d.ts +24 -24
  51. package/internal-do-not-import-from-here/ux/theming-v2/components/blueprintpicker/docs/ExampleComponents.d.ts +1 -0
  52. package/internal-do-not-import-from-here/ux/theming-v2/components/blueprintpicker/docs/SampleComponent.d.ts +91 -0
  53. package/internal-do-not-import-from-here/ux/theming-v2/components/blueprintpicker/docs/index.d.ts +1 -0
  54. package/internal-do-not-import-from-here/ux/theming-v2/components/colorpicker/ColorPicker.css.d.ts +6 -0
  55. package/internal-do-not-import-from-here/ux/theming-v2/components/colorpicker/ColorPicker.d.ts +596 -0
  56. package/internal-do-not-import-from-here/ux/theming-v2/components/colorpicker/docs/ExampleComponents.d.ts +1 -0
  57. package/internal-do-not-import-from-here/ux/theming-v2/components/colorpicker/docs/SampleComponent.d.ts +91 -0
  58. package/internal-do-not-import-from-here/ux/theming-v2/components/colorpicker/docs/index.d.ts +1 -0
  59. package/internal-do-not-import-from-here/ux/theming-v2/{colorschemadefinitionpicker → components/colorschemadefinitionpicker}/ColorSchemaDefinitionPicker.d.ts +33 -33
  60. package/internal-do-not-import-from-here/ux/theming-v2/{colorschemapicker → components/colorschemapicker}/ColorSchemaPicker.d.ts +24 -24
  61. package/internal-do-not-import-from-here/ux/theming-v2/components/colorschemapicker/docs/ExampleComponents.d.ts +1 -0
  62. package/internal-do-not-import-from-here/ux/theming-v2/components/colorschemapicker/docs/SampleComponent.d.ts +91 -0
  63. package/internal-do-not-import-from-here/ux/theming-v2/components/colorschemapicker/docs/index.d.ts +1 -0
  64. package/internal-do-not-import-from-here/ux/theming-v2/components/typographypicker/TypographyPicker.css.d.ts +7 -0
  65. package/internal-do-not-import-from-here/ux/theming-v2/components/typographypicker/TypographyPicker.d.ts +473 -0
  66. package/internal-do-not-import-from-here/ux/theming-v2/components/typographypicker/docs/ExampleComponents.d.ts +1 -0
  67. package/internal-do-not-import-from-here/ux/theming-v2/components/typographypicker/docs/SampleComponent.d.ts +91 -0
  68. package/internal-do-not-import-from-here/ux/theming-v2/components/typographypicker/docs/index.d.ts +1 -0
  69. package/internal-do-not-import-from-here/ux/theming-v2/skins/core/index.d.ts +0 -1
  70. package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.d.ts +4 -4
  71. package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.d.ts +4 -4
  72. package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/DefinitionPickerPanel.d.ts +4 -4
  73. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/DefinitionPicker.d.ts +4 -4
  74. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +2 -1
  75. package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +1 -0
  76. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +35 -9
  77. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronPropertyEditors.d.ts +9 -0
  78. package/internal-do-not-import-from-here/ux/velcron/core/parser/index.d.ts +1 -0
  79. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronColorSchemaEditor.d.ts +9 -0
  80. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronContentEditor.d.ts +14 -0
  81. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronEditorBuilder.d.ts +13 -0
  82. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronEditorBuilderBase.d.ts +9 -0
  83. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronImageEditor.d.ts +11 -0
  84. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/index.d.ts +1 -0
  85. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronColorSchemaBuilder.d.ts +11 -0
  86. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronContentStateBuilder.d.ts +17 -0
  87. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronImageStateBuilder.d.ts +20 -0
  88. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilder.d.ts +12 -0
  89. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilderBase.d.ts +8 -0
  90. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/useVelcronTemplateBuilder.d.ts +6 -0
  91. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +6 -6
  92. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/AlignmentEditor.d.ts +454 -0
  93. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ColorEditor.d.ts +434 -0
  94. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ColorSchemaEditor.d.ts +434 -0
  95. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/MarkdownEditor.d.ts +433 -0
  96. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/PropertyEditorCreator.d.ts +451 -0
  97. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/SliderEditor.d.ts +451 -0
  98. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/SwitchEditor.d.ts +450 -0
  99. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TextEditor.d.ts +450 -0
  100. package/internal-do-not-import-from-here/vue/VueApp.d.ts +4 -1
  101. package/internal-do-not-import-from-here/vue/VueHooks.d.ts +1 -4
  102. package/internal-do-not-import-from-here/wctypings.d.ts +153 -144
  103. package/package.json +3 -3
  104. package/internal-do-not-import-from-here/ux/theming-v2/skins/core/useVelcronState.d.ts +0 -50
  105. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/alignment/AlignmentEditor.d.ts +0 -4
  106. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/color/ColorEditor.d.ts +0 -1
  107. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/index.d.ts +0 -6
  108. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/markdown/MarkdownEditor.d.ts +0 -1
  109. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/slider/SliderEditor.d.ts +0 -2
  110. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/switch/SwitchEditor.d.ts +0 -1
  111. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/text/TextEditor.d.ts +0 -1
  112. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/index.d.ts +0 -2
  113. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/models/DefineVelcronPropertyEditor.d.ts +0 -2
  114. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/models/DefineVelcronPropertyEditorProps.d.ts +0 -1
  115. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/models/index.d.ts +0 -2
  116. package/internal-do-not-import-from-here/ux/vuetify/stepper/VStepperItems.d.ts +0 -1
  117. /package/internal-do-not-import-from-here/ux/theming-v2/{blueprintpicker → components/blueprintpicker}/BlueprintPicker.css.d.ts +0 -0
  118. /package/internal-do-not-import-from-here/ux/theming-v2/{colorschemadefinitionpicker → components/colorschemadefinitionpicker}/ColorSchemaDefinitionPicker.css.d.ts +0 -0
  119. /package/internal-do-not-import-from-here/ux/theming-v2/{colorschemapicker → components/colorschemapicker}/ColorSchemaPicker.css.d.ts +0 -0
@@ -11,8 +11,8 @@ declare const _default: {
11
11
  $props: {
12
12
  container?: any;
13
13
  blueprint?: any;
14
- blueprintType?: any;
15
14
  colorSchemaType?: any;
15
+ blueprintType?: any;
16
16
  colors?: any;
17
17
  style?: unknown;
18
18
  class?: unknown;
@@ -86,8 +86,8 @@ declare const _default: {
86
86
  }, string, {
87
87
  container?: any;
88
88
  blueprint?: any;
89
- blueprintType?: any;
90
89
  colorSchemaType?: any;
90
+ blueprintType?: any;
91
91
  colors?: any;
92
92
  }, {}, string, {}> & {
93
93
  beforeCreate?: (() => void) | (() => void)[];
@@ -134,15 +134,15 @@ declare const _default: {
134
134
  }, string, {
135
135
  container?: any;
136
136
  blueprint?: any;
137
- blueprintType?: any;
138
137
  colorSchemaType?: any;
138
+ blueprintType?: any;
139
139
  colors?: any;
140
140
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
141
141
  propsDefinition: Omit<Readonly<{
142
142
  container?: any;
143
143
  blueprint?: any;
144
- blueprintType?: any;
145
144
  colorSchemaType?: any;
145
+ blueprintType?: any;
146
146
  colors?: any;
147
147
  } & {}>, "onDefinition:selected"> & {
148
148
  "onDefinition:selected"?: (ev: DefinitionSelectedEvent) => any;
@@ -7,8 +7,8 @@ declare const _default: {
7
7
  $props: {
8
8
  container?: any;
9
9
  blueprint?: any;
10
- blueprintType?: any;
11
10
  colorSchemaType?: any;
11
+ blueprintType?: any;
12
12
  colors?: any;
13
13
  style?: unknown;
14
14
  class?: unknown;
@@ -92,8 +92,8 @@ declare const _default: {
92
92
  }, string, {
93
93
  container?: any;
94
94
  blueprint?: any;
95
- blueprintType?: any;
96
95
  colorSchemaType?: any;
96
+ blueprintType?: any;
97
97
  colors?: any;
98
98
  }, {}, string, {}> & {
99
99
  beforeCreate?: (() => void) | (() => void)[];
@@ -150,15 +150,15 @@ declare const _default: {
150
150
  }, string, {
151
151
  container?: any;
152
152
  blueprint?: any;
153
- blueprintType?: any;
154
153
  colorSchemaType?: any;
154
+ blueprintType?: any;
155
155
  colors?: any;
156
156
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
157
157
  propsDefinition: Omit<Readonly<{
158
158
  container?: any;
159
159
  blueprint?: any;
160
- blueprintType?: any;
161
160
  colorSchemaType?: any;
161
+ blueprintType?: any;
162
162
  colors?: any;
163
163
  } & {
164
164
  "v-slots"?: {
@@ -1,4 +1,5 @@
1
- import { VelcronAppDefinition, VelcronPropertyEditor } from "@omnia/fx-models";
1
+ import { VelcronAppDefinition } from "@omnia/fx-models";
2
+ import { VelcronPropertyEditor } from "../../core";
2
3
  declare const _default: {
3
4
  new (...args: any[]): {
4
5
  $: import("vue").ComponentInternalInstance;
@@ -4,3 +4,4 @@ export * from "./actions";
4
4
  export * from "./stores";
5
5
  export * from "../../../shared/models";
6
6
  export * from "./rules";
7
+ export * from "./templatebuilder";
@@ -1,13 +1,29 @@
1
- import { VelcronDataTypes, VelcronImageRatios } from "@omnia/fx-models";
1
+ import { VelcronImageRatios } from "@omnia/fx-models";
2
+ export interface ResolvedPropertyEditor {
3
+ editor: VelcronPropertyEditor;
4
+ }
2
5
  export interface VelcronPropertyEditor<TSettings = any> {
3
6
  name?: string;
7
+ category?: string;
4
8
  type: BuiltInPropertyEditorType | string;
5
9
  settings?: TSettings;
6
- mapToStateProperty: string;
7
- dataType?: VelcronDataTypes;
10
+ stateMapping?: string;
11
+ propertyMapping?: string;
8
12
  component?: unknown;
9
13
  }
10
- export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image";
14
+ export interface BuiltInPropertyEditors {
15
+ text: unknown;
16
+ slider: unknown;
17
+ switch: unknown;
18
+ alignment: unknown;
19
+ color: unknown;
20
+ markdown: unknown;
21
+ icon: unknown;
22
+ image: unknown;
23
+ typography: unknown;
24
+ "color-schema-type": unknown;
25
+ }
26
+ export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image" | "typography" | "color-schema-type";
11
27
  export declare enum BuiltInPropertyEditorTypes {
12
28
  text = "text",
13
29
  slider = "slider",
@@ -16,7 +32,9 @@ export declare enum BuiltInPropertyEditorTypes {
16
32
  color = "color",
17
33
  markdown = "markdown",
18
34
  icon = "icon",
19
- image = "image"
35
+ image = "image",
36
+ typography = "typography",
37
+ "color-schema-type" = "color-schema-type"
20
38
  }
21
39
  export interface VelcronSliderPropertyEditorSettings {
22
40
  min: number;
@@ -29,6 +47,9 @@ export interface VelcronSliderPropertyEditor extends VelcronPropertyEditor<Velcr
29
47
  export interface VelcronTextPropertyEditor extends VelcronPropertyEditor<any> {
30
48
  type: "text";
31
49
  }
50
+ export interface VelcronTypographyPropertyEditor extends VelcronPropertyEditor<any> {
51
+ type: "typography";
52
+ }
32
53
  export interface VelcronSwitchPropertyEditor extends VelcronPropertyEditor<any> {
33
54
  type: "switch";
34
55
  }
@@ -38,6 +59,9 @@ export interface VelcronAlignmentPropertyEditor extends VelcronPropertyEditor<an
38
59
  export interface VelcronColorPropertyEditor extends VelcronPropertyEditor<any> {
39
60
  type: "color";
40
61
  }
62
+ export interface VelcronColorSchemaPropertyEditor extends VelcronPropertyEditor<any> {
63
+ type: "color-schema-type";
64
+ }
41
65
  export interface VelcronIconPropertyEditor extends VelcronPropertyEditor<any> {
42
66
  type: "icon";
43
67
  }
@@ -48,10 +72,12 @@ export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
48
72
  type: "image";
49
73
  }
50
74
  export interface VelcronContentState {
51
- caption: string;
52
- main: string;
75
+ content: {
76
+ caption?: string;
77
+ main?: string;
78
+ };
53
79
  }
54
80
  export interface VelcronImageState {
55
- url: string;
56
- ratio: VelcronImageRatios;
81
+ url?: string;
82
+ ratio?: VelcronImageRatios;
57
83
  }
@@ -0,0 +1,9 @@
1
+ import { BuiltInPropertyEditors, ResolvedPropertyEditor } from "../models";
2
+ export declare class VelcronPropertyEditors {
3
+ private static editors;
4
+ static registerEditor(type: string, editor: any): void;
5
+ static hasEditors(): boolean;
6
+ static hasEditor(type: string): any;
7
+ static registerEditors(editors: BuiltInPropertyEditors): void;
8
+ static getEditor(editor: string): ResolvedPropertyEditor;
9
+ }
@@ -5,3 +5,4 @@ export * from "./VelcronStyles";
5
5
  export * from "./VelcronLogger";
6
6
  export * from "./VelcronRenderers";
7
7
  export * from "./TextValue";
8
+ export * from "./VelcronPropertyEditors";
@@ -0,0 +1,9 @@
1
+ import { VelcronPropertyEditor } from "@omnia/fx-models";
2
+ import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
+ import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
+ export declare class VelcronColorSchemaEditorBuilder extends VelcronEditorBuilderBase {
5
+ private editor;
6
+ constructor(builder: any);
7
+ add(): VelcronEditorBuilder;
8
+ protected internalBuild(): VelcronPropertyEditor<any>[];
9
+ }
@@ -0,0 +1,14 @@
1
+ import { VelcronPropertyEditor } from "@omnia/fx-models";
2
+ import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
3
+ export declare class VelcronContentEditorBuilder extends VelcronEditorBuilderBase {
4
+ private mainEditor;
5
+ private captionEditor;
6
+ constructor(builder: any);
7
+ main: {
8
+ add: () => VelcronContentEditorBuilder;
9
+ };
10
+ caption: {
11
+ add: () => VelcronContentEditorBuilder;
12
+ };
13
+ protected internalBuild(): VelcronPropertyEditor<any>[];
14
+ }
@@ -0,0 +1,13 @@
1
+ import { VelcronPropertyEditor } from "@omnia/fx-models";
2
+ import { VelcronContentEditorBuilder } from "./VelcronContentEditor";
3
+ import { VelcronColorSchemaEditorBuilder } from "./VelcronColorSchemaEditor";
4
+ import { VelcronImageEditorBuilder } from "./VelcronImageEditor";
5
+ export declare class VelcronEditorBuilder {
6
+ private contentEditorBuilder;
7
+ private colorSchemaEditorBuilder;
8
+ private imageEditorBuilder;
9
+ content(): VelcronContentEditorBuilder;
10
+ colorSchemaType(): VelcronColorSchemaEditorBuilder;
11
+ image(): VelcronImageEditorBuilder;
12
+ build(): VelcronPropertyEditor<any>[];
13
+ }
@@ -0,0 +1,9 @@
1
+ import { VelcronPropertyEditor } from "../../models";
2
+ import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
+ export declare abstract class VelcronEditorBuilderBase {
4
+ protected builder: VelcronEditorBuilder;
5
+ constructor(builder: VelcronEditorBuilder);
6
+ done(): VelcronEditorBuilder;
7
+ build(): VelcronPropertyEditor<any>[];
8
+ protected abstract internalBuild(): Array<VelcronPropertyEditor>;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { VelcronPropertyEditor } from "@omnia/fx-models";
2
+ import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
+ import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
+ export declare class VelcronImageEditorBuilder extends VelcronEditorBuilderBase {
5
+ private mainEditor;
6
+ constructor(builder: any);
7
+ main: {
8
+ add: () => VelcronEditorBuilder;
9
+ };
10
+ protected internalBuild(): VelcronPropertyEditor<any>[];
11
+ }
@@ -0,0 +1 @@
1
+ export * from "./useVelcronTemplateBuilder";
@@ -0,0 +1,11 @@
1
+ import { ColorSchemaType } from "@omnia/fx-models";
2
+ import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
3
+ export declare class VelcronColorSchemaStateBuilder extends VelcronStateBuilderBase {
4
+ private colorSchema;
5
+ constructor(stateBuilder: any);
6
+ add(colorSchema?: ColorSchemaType): VelcronColorSchemaStateBuilder;
7
+ bind: string;
8
+ protected internalBuild(): {
9
+ colorSchemaType: ColorSchemaType;
10
+ };
11
+ }
@@ -0,0 +1,17 @@
1
+ import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
2
+ export declare class VelcronContentStateBuilder extends VelcronStateBuilderBase {
3
+ private mainContent;
4
+ private captionContent;
5
+ constructor(stateBuilder: any);
6
+ main: {
7
+ add: (value?: string) => VelcronContentStateBuilder;
8
+ bind: string;
9
+ };
10
+ caption: {
11
+ add: (value?: string) => VelcronContentStateBuilder;
12
+ bind: string;
13
+ };
14
+ protected internalBuild(): {
15
+ content: {};
16
+ };
17
+ }
@@ -0,0 +1,20 @@
1
+ import { VelcronImageRatios } from "../../models";
2
+ import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
3
+ export declare class VelcronImageStateBuilder extends VelcronStateBuilderBase {
4
+ private mainImageUrl;
5
+ private mainImageRatio;
6
+ constructor(stateBuilder: any);
7
+ main: {
8
+ url: {
9
+ add: (url: string) => VelcronImageStateBuilder;
10
+ bind: string;
11
+ };
12
+ ratio: {
13
+ add: (ratio: VelcronImageRatios) => VelcronImageStateBuilder;
14
+ bind: string;
15
+ };
16
+ };
17
+ protected internalBuild(): {
18
+ "main-image": {};
19
+ };
20
+ }
@@ -0,0 +1,12 @@
1
+ import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
2
+ import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
3
+ import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
4
+ export declare class VelcronStateBuilder {
5
+ private contentStateBuilder;
6
+ private imageStateBuilder;
7
+ private colorSchemaStateBuilder;
8
+ content(): VelcronContentStateBuilder;
9
+ image(): VelcronImageStateBuilder;
10
+ colorSchemaType(): VelcronColorSchemaStateBuilder;
11
+ build(): any;
12
+ }
@@ -0,0 +1,8 @@
1
+ import { VelcronStateBuilder } from "./VelcronStateBuilder";
2
+ export declare abstract class VelcronStateBuilderBase {
3
+ protected stateBuilder: VelcronStateBuilder;
4
+ constructor(stateBulder: VelcronStateBuilder);
5
+ done(): VelcronStateBuilder;
6
+ build(): any;
7
+ protected abstract internalBuild(): any;
8
+ }
@@ -0,0 +1,6 @@
1
+ import { VelcronEditorBuilder } from "./editor/VelcronEditorBuilder";
2
+ import { VelcronStateBuilder } from "./state/VelcronStateBuilder";
3
+ export declare function useVelcronTemplateBuilder(): {
4
+ state: VelcronStateBuilder;
5
+ editor: VelcronEditorBuilder;
6
+ };
@@ -7,8 +7,8 @@ declare const _default: {
7
7
  $props: {
8
8
  container?: any;
9
9
  blueprint?: any;
10
- blueprintType?: any;
11
10
  colorSchemaType?: any;
11
+ blueprintType?: any;
12
12
  colors?: any;
13
13
  style?: unknown;
14
14
  class?: unknown;
@@ -57,10 +57,10 @@ declare const _default: {
57
57
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
58
  [key: string]: any;
59
59
  }>) => void)[];
60
+ readonly "color-schema-type"?: ColorSchemaTypes | ColorSchemaType;
60
61
  readonly context?: VelcronRenderContext;
61
62
  readonly eventHandlers?: unknown;
62
63
  readonly "event-handlers"?: unknown;
63
- readonly "color-schema-type"?: ColorSchemaTypes | ColorSchemaType;
64
64
  readonly editMode?: boolean;
65
65
  readonly "edit-mode"?: boolean;
66
66
  "onState:updated"?: (state: object) => any;
@@ -121,8 +121,8 @@ declare const _default: {
121
121
  }, string, {
122
122
  container?: any;
123
123
  blueprint?: any;
124
- blueprintType?: any;
125
124
  colorSchemaType: any;
125
+ blueprintType?: any;
126
126
  colors?: any;
127
127
  }, {}, string, {}> & {
128
128
  beforeCreate?: (() => void) | (() => void)[];
@@ -229,24 +229,24 @@ declare const _default: {
229
229
  }, string, {
230
230
  container?: any;
231
231
  blueprint?: any;
232
- blueprintType?: any;
233
232
  colorSchemaType: any;
233
+ blueprintType?: any;
234
234
  colors?: any;
235
235
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
236
236
  propsDefinition: Omit<Readonly<{
237
237
  container?: any;
238
238
  definition: VelcronAppDefinition<object>;
239
239
  blueprint?: any;
240
- blueprintType?: any;
241
240
  colorSchemaType: any;
241
+ blueprintType?: any;
242
242
  colors?: any;
243
243
  } & {
244
244
  themeDefinition?: ThemeDefinitionV2;
245
245
  "theme-definition"?: ThemeDefinitionV2;
246
+ "color-schema-type"?: ColorSchemaTypes | ColorSchemaType;
246
247
  context?: VelcronRenderContext;
247
248
  eventHandlers?: unknown;
248
249
  "event-handlers"?: unknown;
249
- "color-schema-type"?: ColorSchemaTypes | ColorSchemaType;
250
250
  editMode?: boolean;
251
251
  "edit-mode"?: boolean;
252
252
  }>, "onState:updated"> & {