@omnia/fx 8.0.162-dev → 8.0.163-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 (77) hide show
  1. package/internal-do-not-import-from-here/stores/mediapicker/ImageTransformerStore.d.ts +13 -0
  2. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +6 -6
  3. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +4 -0
  4. package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +4 -0
  5. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +4 -0
  6. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +4 -0
  7. package/internal-do-not-import-from-here/ux/datetimepicker/IDateTimePicker.d.ts +2 -1
  8. package/internal-do-not-import-from-here/ux/{velcron/editor/components/AddComponent.d.ts → datetimepicker/docs/DateTimePickerExample.d.ts} +8 -4
  9. package/internal-do-not-import-from-here/ux/datetimepicker/docs/ExampleComponents.d.ts +1 -0
  10. package/internal-do-not-import-from-here/ux/datetimepicker/docs/index.d.ts +1 -0
  11. package/internal-do-not-import-from-here/ux/editorchrome/chrome/EditorChrome.d.ts +22 -1
  12. package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +22 -1
  14. package/internal-do-not-import-from-here/ux/oxide/badge/Badge.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +9 -9
  16. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +4 -0
  17. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +8 -0
  18. package/internal-do-not-import-from-here/ux/oxide/datepicker/DatePicker.d.ts +21 -0
  19. package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +10 -10
  20. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +8 -0
  22. package/internal-do-not-import-from-here/ux/oxide/timepicker/TimePicker.d.ts +65 -0
  23. package/internal-do-not-import-from-here/ux/oxide/timepicker/docs/ExampleComponents.d.ts +1 -0
  24. package/internal-do-not-import-from-here/ux/oxide/timepicker/docs/SampleComponent.d.ts +55 -0
  25. package/internal-do-not-import-from-here/ux/oxide/timepicker/docs/index.d.ts +1 -0
  26. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +9 -9
  27. package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.d.ts +91 -91
  28. package/internal-do-not-import-from-here/ux/rollupfilter/RollupFilter.d.ts +2 -1
  29. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +4 -0
  30. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  31. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +80 -0
  33. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.css.d.ts +3 -0
  34. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.d.ts +60 -0
  35. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +2 -1
  36. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +3 -2
  37. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +16 -0
  38. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +11 -11
  39. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +4 -4
  40. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +16 -212
  41. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +201 -0
  42. package/internal-do-not-import-from-here/ux/velcron/core/models/index.d.ts +1 -0
  43. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronData.d.ts +6 -6
  44. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor/VelcronEditorBuilder2.d.ts → VelcronEditorBuilder.d.ts} +10 -10
  45. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronColorSchemaEditor.d.ts +2 -2
  46. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronContentEditor.d.ts +2 -2
  47. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronEditorBuilder.d.ts +2 -2
  48. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronEditorBuilderBase.d.ts +3 -3
  49. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronImageEditor.d.ts +2 -2
  50. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronPropertyMappingEditorBuilder.d.ts +2 -2
  51. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/useVelcronEditorBuilder.d.ts +2 -2
  52. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/useVelcronTemplateBuilder.d.ts +3 -3
  53. package/internal-do-not-import-from-here/ux/velcron/editor/components/{AddComponent.css.d.ts → AddItem.css.d.ts} +1 -1
  54. package/internal-do-not-import-from-here/ux/velcron/editor/components/AddItem.d.ts +56 -0
  55. package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-data/EditDataMemberPanel.d.ts +3 -3
  56. package/internal-do-not-import-from-here/ux/velcron/editor/models/Enums.d.ts +2 -0
  57. package/internal-do-not-import-from-here/ux/velcron/editor/models/Shared.d.ts +2 -2
  58. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +3 -3
  59. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +5 -5
  60. package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +5 -0
  61. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Editor.d.ts +6 -6
  62. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyEditorCreator.d.ts +10 -10
  63. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +6 -4
  64. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
  65. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts +6 -4
  66. package/internal-do-not-import-from-here/wctypings.d.ts +13 -13
  67. package/package.json +2 -2
  68. package/internal-do-not-import-from-here/ux/oxide/datepicker/DateTimePicker.d.ts +0 -138
  69. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutStyle.css.d.ts +0 -3
  70. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronBlockHeaderStateBuilder.d.ts +0 -0
  71. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronColorSchemaBuilder.d.ts +0 -0
  72. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronContentStateBuilder.d.ts +0 -0
  73. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronImageStateBuilder.d.ts +0 -0
  74. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronPropertyMappingStateBuilder.d.ts +0 -0
  75. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronStateBuilder.d.ts +0 -0
  76. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronStateBuilderBase.d.ts +0 -0
  77. /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronTextContentBuilder.d.ts +0 -0
@@ -1,7 +1,6 @@
1
- import { BuiltInPropertyEditorType, TextBlueprint, TypographySize, TypographyType, VelcronSpacing, VelcronStateEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { VelcronImageRatios } from "./VelcronDefinitions";
1
+ import { BuiltInPropertyEditorType, TypographyType, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
2
  export interface ResolvedPropertyEditor {
4
- editor: VelcronStateEditor;
3
+ editor: VelcronEditor;
5
4
  }
6
5
  export type BuiltInPropertyEditorMap = {
7
6
  [key in BuiltInPropertyEditorType]: unknown;
@@ -24,240 +23,45 @@ export interface VelcronTextEditorSettings {
24
23
  type: TypographyType;
25
24
  placeholder: string;
26
25
  }
27
- export interface VelcronSliderPropertyEditor extends VelcronStateEditor<VelcronSliderPropertyEditorSettings> {
26
+ export interface VelcronSliderPropertyEditor extends VelcronEditor<VelcronSliderPropertyEditorSettings> {
28
27
  type: "slider";
29
28
  }
30
- export interface VelcronTextPropertyEditor extends VelcronStateEditor<VelcronTextEditorSettings> {
29
+ export interface VelcronTextPropertyEditor extends VelcronEditor<VelcronTextEditorSettings> {
31
30
  type: "text";
32
31
  }
33
- export interface VelcronEnterprisePropertyEditor extends VelcronStateEditor<any> {
32
+ export interface VelcronEnterprisePropertyEditor extends VelcronEditor<any> {
34
33
  type: "enterprise-property";
35
34
  }
36
- export interface VelcronTypographyPropertyEditor extends VelcronStateEditor<VelcronTypographyEditorSettings> {
35
+ export interface VelcronTypographyPropertyEditor extends VelcronEditor<VelcronTypographyEditorSettings> {
37
36
  type: "typography";
38
37
  }
39
- export interface VelcronContainerPropertyEditor extends VelcronStateEditor<any> {
38
+ export interface VelcronContainerPropertyEditor extends VelcronEditor<any> {
40
39
  type: "container";
41
40
  }
42
- export interface VelcronSwitchPropertyEditor extends VelcronStateEditor<any> {
41
+ export interface VelcronSwitchPropertyEditor extends VelcronEditor<any> {
43
42
  type: "switch";
44
43
  }
45
- export interface VelcronAlignmentPropertyEditor extends VelcronStateEditor<any> {
44
+ export interface VelcronAlignmentPropertyEditor extends VelcronEditor<any> {
46
45
  type: "alignment";
47
46
  }
48
- export interface VelcronColorPropertyEditor extends VelcronStateEditor<any> {
47
+ export interface VelcronColorPropertyEditor extends VelcronEditor<any> {
49
48
  type: "color";
50
49
  }
51
- export interface VelcronColorSchemaPropertyEditor extends VelcronStateEditor<any> {
50
+ export interface VelcronColorSchemaPropertyEditor extends VelcronEditor<any> {
52
51
  type: "color-schema-type";
53
52
  }
54
- export interface VelcronIconPropertyEditor extends VelcronStateEditor<any> {
53
+ export interface VelcronIconPropertyEditor extends VelcronEditor<any> {
55
54
  type: "icon";
56
55
  }
57
- export interface VelcronMarkdownPropertyEditor extends VelcronStateEditor<VelcronMarkdownEditorSettings> {
56
+ export interface VelcronMarkdownPropertyEditor extends VelcronEditor<VelcronMarkdownEditorSettings> {
58
57
  type: "markdown";
59
58
  }
60
- export interface VelcronImagePropertyEditor extends VelcronStateEditor<any> {
59
+ export interface VelcronImagePropertyEditor extends VelcronEditor<any> {
61
60
  type: "image";
62
61
  }
63
- export interface VelcronSpacingPropertyEditor extends VelcronStateEditor<VelcronSpacingEditorSettings> {
62
+ export interface VelcronSpacingPropertyEditor extends VelcronEditor<VelcronSpacingEditorSettings> {
64
63
  type: "spacing";
65
64
  }
66
- export interface VelcronReferencePropertyEditor extends VelcronStateEditor<any> {
65
+ export interface VelcronReferencePropertyEditor extends VelcronEditor<any> {
67
66
  type: "reference";
68
67
  }
69
- export interface VelcronState {
70
- images?: VelcronImagesState;
71
- styling?: VelcronStylingState;
72
- colorSchemas?: VelcronColorSchemasState;
73
- content?: VelcronContentState;
74
- header?: VelcronHeaderState;
75
- properties?: VelcronPropertiesState;
76
- spacing?: VelcronSpacingState;
77
- }
78
- export interface VelcronSpacingState {
79
- chrome?: VelcronSpacing;
80
- }
81
- export interface VelcronHeaderState {
82
- title?: VelcronTextState;
83
- icon?: string;
84
- }
85
- export interface VelcronTextState {
86
- text?: string;
87
- placeholder?: string;
88
- typography?: VelcronTypographyState;
89
- }
90
- export interface VelcronTypographyState {
91
- type?: TypographyType;
92
- size?: TypographySize;
93
- toned?: boolean;
94
- }
95
- export interface VelcronContentState {
96
- caption?: VelcronTextState;
97
- main?: VelcronTextState;
98
- title?: VelcronTextState;
99
- summary?: VelcronTextState;
100
- }
101
- export interface VelcronPropertiesState {
102
- user: any;
103
- mappings: Array<any>;
104
- }
105
- export interface VelcronImagesState {
106
- main?: VelcronImageState;
107
- alt1?: VelcronImageState;
108
- alt2?: VelcronImageState;
109
- }
110
- export interface VelcronImageState {
111
- url?: string;
112
- ratio?: VelcronImageRatios;
113
- caption?: VelcronTextState;
114
- width?: number;
115
- height?: number;
116
- }
117
- export interface VelcronStylingState {
118
- }
119
- export interface VelcronColorSchemasState {
120
- main: string;
121
- }
122
- export declare const VelcronImagesStateBinding: {
123
- main: {
124
- editor: string;
125
- url: string;
126
- ratio: string;
127
- caption: string;
128
- width: string;
129
- height: string;
130
- };
131
- alt1: {
132
- editor: string;
133
- url: string;
134
- ratio: string;
135
- caption: string;
136
- width: string;
137
- height: string;
138
- };
139
- alt2: {
140
- editor: string;
141
- url: string;
142
- ratio: string;
143
- caption: string;
144
- width: string;
145
- height: string;
146
- };
147
- };
148
- export declare const VelcronHeaderStateBinding: {
149
- title: {
150
- text: string;
151
- placeholder: string;
152
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
153
- };
154
- icon: string;
155
- };
156
- export declare const VelcronContentStateBinding: {
157
- title: {
158
- text: string;
159
- placeholder: string;
160
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
161
- };
162
- main: {
163
- text: string;
164
- placeholder: string;
165
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
166
- };
167
- caption: {
168
- text: string;
169
- placeholder: string;
170
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
171
- };
172
- summary: {
173
- text: string;
174
- placeholder: string;
175
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
176
- };
177
- };
178
- export declare const VelcronColorSchemasStateBinding: {
179
- main: {
180
- type: string;
181
- filled: string;
182
- };
183
- };
184
- export declare const VelcronSpacingStateBinding: {
185
- chrome: {
186
- top: string;
187
- right: string;
188
- bottom: string;
189
- left: string;
190
- };
191
- };
192
- export declare const VelcronStateBinding: {
193
- colorSchemas: {
194
- main: {
195
- type: string;
196
- filled: string;
197
- };
198
- };
199
- images: {
200
- main: {
201
- editor: string;
202
- url: string;
203
- ratio: string;
204
- caption: string;
205
- width: string;
206
- height: string;
207
- };
208
- alt1: {
209
- editor: string;
210
- url: string;
211
- ratio: string;
212
- caption: string;
213
- width: string;
214
- height: string;
215
- };
216
- alt2: {
217
- editor: string;
218
- url: string;
219
- ratio: string;
220
- caption: string;
221
- width: string;
222
- height: string;
223
- };
224
- };
225
- content: {
226
- title: {
227
- text: string;
228
- placeholder: string;
229
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
230
- };
231
- main: {
232
- text: string;
233
- placeholder: string;
234
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
235
- };
236
- caption: {
237
- text: string;
238
- placeholder: string;
239
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
240
- };
241
- summary: {
242
- text: string;
243
- placeholder: string;
244
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
245
- };
246
- };
247
- header: {
248
- title: {
249
- text: string;
250
- placeholder: string;
251
- blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
252
- };
253
- icon: string;
254
- };
255
- spacing: {
256
- chrome: {
257
- top: string;
258
- right: string;
259
- bottom: string;
260
- left: string;
261
- };
262
- };
263
- };
@@ -0,0 +1,201 @@
1
+ import { TextBlueprint, TypographySize, TypographyType, VelcronSpacing } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
+ import { VelcronImageRatios } from "./VelcronDefinitions";
3
+ export interface VelcronState {
4
+ images?: VelcronImagesState;
5
+ styling?: VelcronStylingState;
6
+ colorSchemas?: VelcronColorSchemasState;
7
+ content?: VelcronContentState;
8
+ header?: VelcronHeaderState;
9
+ properties?: VelcronPropertiesState;
10
+ spacing?: VelcronSpacingState;
11
+ }
12
+ export interface VelcronSpacingState {
13
+ container?: VelcronSpacing;
14
+ }
15
+ export interface VelcronHeaderState {
16
+ title?: VelcronTextState;
17
+ icon?: string;
18
+ }
19
+ export interface VelcronTextState {
20
+ text?: string;
21
+ placeholder?: string;
22
+ typography?: VelcronTypographyState;
23
+ }
24
+ export interface VelcronTypographyState {
25
+ type?: TypographyType;
26
+ size?: TypographySize;
27
+ toned?: boolean;
28
+ }
29
+ export interface VelcronContentState {
30
+ caption?: VelcronTextState;
31
+ main?: VelcronTextState;
32
+ title?: VelcronTextState;
33
+ summary?: VelcronTextState;
34
+ }
35
+ export interface VelcronPropertiesState {
36
+ user: any;
37
+ mappings: Array<any>;
38
+ }
39
+ export interface VelcronImagesState {
40
+ main?: VelcronImageState;
41
+ alt1?: VelcronImageState;
42
+ alt2?: VelcronImageState;
43
+ }
44
+ export interface VelcronImageState {
45
+ url?: string;
46
+ ratio?: VelcronImageRatios;
47
+ caption?: VelcronTextState;
48
+ width?: number;
49
+ height?: number;
50
+ }
51
+ export interface VelcronStylingState {
52
+ }
53
+ export interface VelcronColorSchemasState {
54
+ main: string;
55
+ }
56
+ export declare const VelcronImagesStateBinding: {
57
+ main: {
58
+ editor: string;
59
+ url: string;
60
+ ratio: string;
61
+ caption: string;
62
+ width: string;
63
+ height: string;
64
+ };
65
+ alt1: {
66
+ editor: string;
67
+ url: string;
68
+ ratio: string;
69
+ caption: string;
70
+ width: string;
71
+ height: string;
72
+ };
73
+ alt2: {
74
+ editor: string;
75
+ url: string;
76
+ ratio: string;
77
+ caption: string;
78
+ width: string;
79
+ height: string;
80
+ };
81
+ };
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;
126
+ };
127
+ };
128
+ export declare const VelcronStateBinding: {
129
+ colorSchemas: {
130
+ main: {
131
+ value: string;
132
+ type: string;
133
+ filled: string;
134
+ };
135
+ };
136
+ images: {
137
+ main: {
138
+ editor: string;
139
+ url: string;
140
+ ratio: string;
141
+ caption: string;
142
+ width: string;
143
+ height: string;
144
+ };
145
+ alt1: {
146
+ editor: string;
147
+ url: string;
148
+ ratio: string;
149
+ caption: string;
150
+ width: string;
151
+ height: string;
152
+ };
153
+ alt2: {
154
+ editor: string;
155
+ url: string;
156
+ ratio: string;
157
+ caption: string;
158
+ width: string;
159
+ height: string;
160
+ };
161
+ };
162
+ content: {
163
+ title: {
164
+ text: string;
165
+ placeholder: string;
166
+ blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
167
+ };
168
+ main: {
169
+ text: string;
170
+ placeholder: string;
171
+ blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
172
+ };
173
+ caption: {
174
+ text: string;
175
+ placeholder: string;
176
+ blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
177
+ };
178
+ summary: {
179
+ text: string;
180
+ placeholder: string;
181
+ blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
182
+ };
183
+ };
184
+ header: {
185
+ title: {
186
+ text: string;
187
+ placeholder: string;
188
+ blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
189
+ };
190
+ icon: string;
191
+ };
192
+ spacing: {
193
+ container: {
194
+ value: string;
195
+ top: string;
196
+ right: string;
197
+ bottom: string;
198
+ left: string;
199
+ };
200
+ };
201
+ };
@@ -5,3 +5,4 @@ export * from "./Enums";
5
5
  export * from "./VelcronUnitProvider";
6
6
  export * from "./VelcronPropertyEditorDefinitions";
7
7
  export * from "./ActionHooks";
8
+ export * from "./VelcronState";
@@ -5,8 +5,8 @@ export interface ParseResult<T> {
5
5
  value: T;
6
6
  }
7
7
  export declare class VelcronData {
8
- static dataBind<T = string>(renderContext: VelcronRenderContext, text: VelcronBindableProp<any>): T;
9
- static hasTwoWayBinding(text: string): boolean;
8
+ static dataBind<T = string>(renderContext: VelcronRenderContext, bindTo: VelcronBindableProp<any>): T;
9
+ static isBindable<T = string>(bindable: VelcronBindableProp<T>): boolean;
10
10
  static getBindPath(text: string): string;
11
11
  static addCtxToVariableNames(template: string, skipIfNameStartsWith?: string, skipIfNameMatches?: Array<string>, overridePrefixWhenNameMatches?: {
12
12
  [name: string]: string;
@@ -20,12 +20,12 @@ export declare class VelcronData {
20
20
  static evaluateArray(template: string, renderContext: VelcronRenderContext): Array<any> | null;
21
21
  static evaluateBoolean(template: string | Boolean, renderContext: VelcronRenderContext): boolean | null;
22
22
  static tryParseBoolean(bool: any): ParseResult<boolean | null>;
23
- static isString(text: any): boolean;
24
- static isBoolean(value: any): boolean;
25
- static isNumber(value: any): boolean;
23
+ static isString(text: any): text is string;
24
+ static isBoolean(value: any): value is boolean;
25
+ static isNumber(value: any): value is number;
26
26
  static isUndefined(value: any): boolean;
27
27
  static isArray(obj: any): obj is ExtendArray;
28
- static isObject(value: any): boolean;
28
+ static isObject(value: any): value is object;
29
29
  static extendObject(obj: any): any;
30
30
  static propertyPathExists(obj: object, path: string): boolean;
31
31
  static getOrSetObjectByPath<T>(object: Object, path: string, value?: any): T | null;
@@ -1,15 +1,15 @@
1
- import { TypographyType, VelcronStateEditor, VelcronTypographyEditorSettings } from "@omnia/fx-models";
2
- export declare class VelcronEditorBuilder2 {
1
+ import { TypographyType, VelcronEditor, VelcronTypographyEditorSettings } from "@omnia/fx-models";
2
+ export declare class VelcronEditorBuilder {
3
3
  private editors;
4
4
  private formatStateMapping;
5
5
  add(): {
6
- spacingEditor: (name: string, stateMapping: string, individualSelection?: boolean) => VelcronEditorBuilder2;
7
- imageEditor: (name: string, stateMapping: string) => VelcronEditorBuilder2;
8
- colorSchemaEditor: (name: string, stateMapping: string) => VelcronEditorBuilder2;
9
- markdownEditor: (name: string, stateMapping: string, placeholder?: string) => VelcronEditorBuilder2;
10
- textEditor: (name: string, stateMapping: string, typographyType: TypographyType, placeholder?: string) => VelcronEditorBuilder2;
11
- blockHeaderEditor: () => VelcronEditorBuilder2;
12
- typographyEditor: (stateMapping: string, settings: VelcronTypographyEditorSettings) => VelcronEditorBuilder2;
6
+ spacingEditor: (name: string, stateMapping: string, individualSelection?: boolean) => VelcronEditorBuilder;
7
+ imageEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
8
+ colorSchemaEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
9
+ markdownEditor: (name: string, stateMapping: string, placeholder?: string) => VelcronEditorBuilder;
10
+ textEditor: (name: string, stateMapping: string, typographyType: TypographyType, placeholder?: string) => VelcronEditorBuilder;
11
+ blockHeaderEditor: () => VelcronEditorBuilder;
12
+ typographyEditor: (stateMapping: string, settings: VelcronTypographyEditorSettings) => VelcronEditorBuilder;
13
13
  };
14
- build(): VelcronStateEditor<any>[];
14
+ build(): VelcronEditor<any>[];
15
15
  }
@@ -1,9 +1,9 @@
1
- import { VelcronStateEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
4
  export declare class VelcronColorSchemaEditorBuilder extends VelcronEditorBuilderBase {
5
5
  private editor;
6
6
  constructor(builder: any);
7
7
  add(): VelcronEditorBuilder;
8
- protected internalBuild(): VelcronStateEditor<any>[];
8
+ protected internalBuild(): VelcronEditor<any>[];
9
9
  }
@@ -1,4 +1,4 @@
1
- import { VelcronStateEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
3
3
  export declare class VelcronContentEditorBuilder extends VelcronEditorBuilderBase {
4
4
  private mainEditor;
@@ -34,5 +34,5 @@ export declare class VelcronContentEditorBuilder extends VelcronEditorBuilderBas
34
34
  addPropertyMappingEditor: (title?: string) => VelcronContentEditorBuilder;
35
35
  addTypographyEditor: (title?: string, type?: "text" | "title") => VelcronContentEditorBuilder;
36
36
  };
37
- protected internalBuild(): VelcronStateEditor<any>[];
37
+ protected internalBuild(): VelcronEditor<any>[];
38
38
  }
@@ -1,4 +1,4 @@
1
- import { VelcronStateEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronContentEditorBuilder } from "./VelcronContentEditor";
3
3
  import { VelcronColorSchemaEditorBuilder } from "./VelcronColorSchemaEditor";
4
4
  import { VelcronImageEditorBuilder } from "./VelcronImageEditor";
@@ -12,5 +12,5 @@ export declare class VelcronEditorBuilder {
12
12
  colorSchemaType(): VelcronColorSchemaEditorBuilder;
13
13
  image(): VelcronImageEditorBuilder;
14
14
  properties(): VelcronPropertyMappingEditorBuilder;
15
- build(): VelcronStateEditor<any>[];
15
+ build(): VelcronEditor<any>[];
16
16
  }
@@ -1,9 +1,9 @@
1
- import { VelcronStateEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  export declare abstract class VelcronEditorBuilderBase {
4
4
  protected builder: VelcronEditorBuilder;
5
5
  constructor(builder: VelcronEditorBuilder);
6
6
  done(): VelcronEditorBuilder;
7
- build(): VelcronStateEditor<any>[];
8
- protected abstract internalBuild(): Array<VelcronStateEditor>;
7
+ build(): VelcronEditor<any>[];
8
+ protected abstract internalBuild(): Array<VelcronEditor>;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { VelcronStateEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
4
  export declare class VelcronImageEditorBuilder extends VelcronEditorBuilderBase {
@@ -7,5 +7,5 @@ export declare class VelcronImageEditorBuilder extends VelcronEditorBuilderBase
7
7
  main: {
8
8
  add: () => VelcronEditorBuilder;
9
9
  };
10
- protected internalBuild(): VelcronStateEditor<any>[];
10
+ protected internalBuild(): VelcronEditor<any>[];
11
11
  }
@@ -1,9 +1,9 @@
1
- import { VelcronStateEditor } from "@omnia/fx-models";
1
+ import { VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
3
  import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
4
  export declare class VelcronPropertyMappingEditorBuilder extends VelcronEditorBuilderBase {
5
5
  private editor;
6
6
  constructor(builder: any);
7
7
  add(): VelcronEditorBuilder;
8
- protected internalBuild(): VelcronStateEditor<any>[];
8
+ protected internalBuild(): VelcronEditor<any>[];
9
9
  }
@@ -1,2 +1,2 @@
1
- import { VelcronEditorBuilder2 } from "./editor/VelcronEditorBuilder2";
2
- export declare function useVelcronEditorBuilder(): VelcronEditorBuilder2;
1
+ import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
2
+ export declare function useVelcronEditorBuilder(): VelcronEditorBuilder;
@@ -1,6 +1,6 @@
1
- import { VelcronEditorBuilder } from "./editor/VelcronEditorBuilder";
2
- import { VelcronStateBuilder } from "./state/VelcronStateBuilder";
3
- export declare function useVelcronTemplateBuilder(): {
1
+ import { VelcronEditorBuilder } from "./old/editor/VelcronEditorBuilder";
2
+ import { VelcronStateBuilder } from "./old/state/VelcronStateBuilder";
3
+ export declare function useOldVelcronTemplateBuilder(): {
4
4
  state: VelcronStateBuilder;
5
5
  editor: VelcronEditorBuilder;
6
6
  };
@@ -1,4 +1,4 @@
1
- export declare const AddComponentStyles: {
1
+ export declare const AddItemStyles: {
2
2
  wrapper: (backgroundColor: string) => string;
3
3
  container: string;
4
4
  };