@omnia/fx 8.0.558-dev → 8.0.560-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 (74) hide show
  1. package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
  2. package/internal-do-not-import-from-here/ux/aurora/admin/theme-designer/componentblueprints/store/ComponentEditorStore.d.ts +1 -0
  3. package/internal-do-not-import-from-here/ux/aurora/admin/theme-designer/themes/store/ThemeEditorStore.d.ts +3 -3
  4. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +6 -6
  5. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +10 -2
  7. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +4 -219
  8. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +6 -2
  9. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +5 -1
  10. package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +3 -3
  12. package/internal-do-not-import-from-here/ux/oxide/column/Column.stylex.d.ts +3 -1
  13. package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +3 -2
  14. package/internal-do-not-import-from-here/ux/oxide/spacer/Spacer.d.ts +5 -2
  15. package/internal-do-not-import-from-here/ux/oxide/splitpane/SplitPaneContainer.d.ts +5 -1
  16. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +2 -2
  17. package/internal-do-not-import-from-here/ux/rollup/views/CardView.d.ts +3 -1
  18. package/internal-do-not-import-from-here/ux/velcron/editor/hooks/canvasEditorHooks.d.ts +7 -0
  19. package/internal-do-not-import-from-here/ux/velcron/editor/hooks/index.d.ts +1 -0
  20. package/internal-do-not-import-from-here/ux/velcron/editor/store/VelcronCanvasStoreV2.d.ts +96 -0
  21. package/internal-do-not-import-from-here/ux/velcron/editor/store/index.d.ts +1 -0
  22. package/internal-do-not-import-from-here/ux/velcron/editor/store/tempDefinition.d.ts +1 -0
  23. package/internal-do-not-import-from-here/ux/velcron/editor/views/DefineVelcronCanvasConfig.d.ts +358 -0
  24. package/internal-do-not-import-from-here/ux/velcron/editor/views/DefineVelcronEditorView.d.ts +266 -0
  25. package/internal-do-not-import-from-here/ux/velcron/editor/views/DefineVelcronTemplatesConfig.d.ts +357 -0
  26. package/internal-do-not-import-from-here/ux/velcron/editor/views/index.d.ts +1 -0
  27. package/internal-do-not-import-from-here/ux/velcron/editor_old/VelcronEditor.d.ts +27 -0
  28. package/internal-do-not-import-from-here/ux/velcron/editor_old/components/panels/edit-component/StylingPanel.d.ts +16 -0
  29. package/internal-do-not-import-from-here/ux/velcron/editor_old/components/panels/edit-editors/EditEditorsPanel.d.ts +16 -0
  30. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +1 -1
  32. package/internal-do-not-import-from-here/wctypings.d.ts +12 -3
  33. package/package.json +2 -2
  34. /package/internal-do-not-import-from-here/ux/velcron/editor/{components/AddDataObject.d.ts → drawers/settings/VelcronSettingsPanel.d.ts} +0 -0
  35. /package/internal-do-not-import-from-here/ux/velcron/editor/{components/CodeEditor.d.ts → drawers/source-code/VelcronSourceDefinitionPanel.d.ts} +0 -0
  36. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/VelcronEditor.css.d.ts +0 -0
  37. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/VelcronEditorAction.d.ts +0 -0
  38. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/VelcronEditorClickHandler.d.ts +0 -0
  39. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AddApp.d.ts +0 -0
  40. /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-component/ConditionalStatements.d.ts → editor_old/components/AddDataObject.d.ts} +0 -0
  41. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AddItem.css.d.ts +0 -0
  42. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AddItem.d.ts +0 -0
  43. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/AppExplorer.d.ts +0 -0
  44. /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-component/EventsPanel.d.ts → editor_old/components/CodeEditor.d.ts} +0 -0
  45. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/ComponentStyles.css.d.ts +0 -0
  46. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/ContextMenu.d.ts +0 -0
  47. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditComponentPane.d.ts +0 -0
  48. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditDataPane.d.ts +0 -0
  49. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditDefinitionPropertiesPane.d.ts +0 -0
  50. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditEditorsPane.d.ts +0 -0
  51. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditorCanvas.css.d.ts +0 -0
  52. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/EditorCanvas.d.ts +0 -0
  53. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/StateTree.d.ts +0 -0
  54. /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-component/StylingPanel.d.ts → editor_old/components/panels/edit-component/ConditionalStatements.d.ts} +0 -0
  55. /package/internal-do-not-import-from-here/ux/velcron/{editor/components/panels/edit-editors/EditEditorsPanel.d.ts → editor_old/components/panels/edit-component/EventsPanel.d.ts} +0 -0
  56. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/panels/edit-component/PropertiesPanel.d.ts +0 -0
  57. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/components/panels/edit-data/EditDataMemberPanel.d.ts +0 -0
  58. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/CodeEditor.d.ts +0 -0
  59. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/ComponentDescriptors.d.ts +0 -0
  60. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/ComponentPropertyDescriptorTemplates.d.ts +0 -0
  61. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/ComponentePropertiesGroupDescriptorTemplates.d.ts +0 -0
  62. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/Enums.d.ts +0 -0
  63. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/EventDescriptors.d.ts +0 -0
  64. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/Shared.d.ts +0 -0
  65. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/StateDescriptors.d.ts +0 -0
  66. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/VelcronDescriptors.d.ts +0 -0
  67. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/VelcronEditorDescriptors.d.ts +0 -0
  68. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/models/index.d.ts +0 -0
  69. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/stores/VelcronComponentStore.d.ts +0 -0
  70. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/stores/VelcronEditorStore.d.ts +0 -0
  71. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/stores/index.d.ts +0 -0
  72. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/templates/ComponentTemplates.d.ts +0 -0
  73. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/templates/ContentTemplates.d.ts +0 -0
  74. /package/internal-do-not-import-from-here/ux/velcron/{editor → editor_old}/templates/EditorTemplates.d.ts +0 -0
@@ -0,0 +1,96 @@
1
+ import { Future, VelcronAppDefinition, VelcronDefinition, VelcronRendererResolverReference } from "@omnia/fx-models";
2
+ import { useEditorChromeStore } from "@omnia/fx/ux";
3
+ type CanvasMode = "design" | "preview";
4
+ type PanelType = "settings" | "definition-structure" | "picker" | "code-editor";
5
+ export type CodeViewMode = "app" | "state" | "body" | "editors";
6
+ export declare const useVelcronCanvasStore: () => {
7
+ state: {
8
+ editing: {
9
+ definition: VelcronAppDefinition<object>;
10
+ };
11
+ source: {
12
+ editMode: CodeViewMode;
13
+ json: {
14
+ app: string;
15
+ appState: string;
16
+ appBody: string;
17
+ appEditors: string;
18
+ };
19
+ };
20
+ drawerMode: PanelType;
21
+ selection: {
22
+ item: VelcronDefinition;
23
+ };
24
+ settings: {
25
+ colorSchemaType: string;
26
+ canvasMode: {
27
+ current: CanvasMode;
28
+ previous: CanvasMode;
29
+ };
30
+ };
31
+ };
32
+ events: import("@omnia/fx/stores").StoreEvents<{
33
+ editing: {
34
+ definition: VelcronAppDefinition<object>;
35
+ };
36
+ source: {
37
+ editMode: CodeViewMode;
38
+ json: {
39
+ app: string;
40
+ appState: string;
41
+ appBody: string;
42
+ appEditors: string;
43
+ };
44
+ };
45
+ drawerMode: PanelType;
46
+ selection: {
47
+ item: VelcronDefinition;
48
+ };
49
+ settings: {
50
+ colorSchemaType: string;
51
+ canvasMode: {
52
+ current: CanvasMode;
53
+ previous: CanvasMode;
54
+ };
55
+ };
56
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
57
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
58
+ editor: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
59
+ selectItem: (item: VelcronDefinition) => void;
60
+ }>;
61
+ show: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
62
+ sourcePanel: (action: "show" | "hide" | "toggle") => void;
63
+ settingsPanel: (action: "show" | "hide" | "toggle") => void;
64
+ }>;
65
+ canvas: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
66
+ setMode: (mode: CanvasMode) => void;
67
+ }>;
68
+ template: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
69
+ update: () => {
70
+ byJson: (json: string) => void;
71
+ };
72
+ edit: () => {
73
+ byResolverReference: (ref: VelcronRendererResolverReference) => void;
74
+ definition: (definition: VelcronAppDefinition) => void;
75
+ };
76
+ }>;
77
+ init: (editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
78
+ }>;
79
+ get: {
80
+ ready: () => Future<void>;
81
+ canvas: {
82
+ mode: () => CanvasMode;
83
+ };
84
+ };
85
+ rules: {
86
+ is: {
87
+ selected: (item: VelcronDefinition) => boolean;
88
+ editorEmpty: () => boolean;
89
+ settingsActive: () => boolean;
90
+ codeEditorActive: () => boolean;
91
+ };
92
+ };
93
+ } & {
94
+ dispose?: () => void;
95
+ };
96
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./VelcronCanvasStoreV2";
@@ -0,0 +1 @@
1
+ export declare const tmpDefinition: any;
@@ -0,0 +1,358 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ import { useEditorChromeStore } from "@omnia/fx/ux";
3
+ import { ChromeActionItem, EditorChromeConfiguration } from "@omnia/fx/ux/editor";
4
+ export declare const defineVelcronEditorCanvasConfiguration: (param1: {
5
+ state: {
6
+ id: guid;
7
+ finishedLoading: boolean;
8
+ compactMode: boolean;
9
+ navigation: {
10
+ configuration: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration;
11
+ enabled: boolean;
12
+ show: boolean;
13
+ };
14
+ drawers: {
15
+ right: {
16
+ panel: {
17
+ settings: import("@omnia/fx/ux/editor").EditorChromePanel;
18
+ show: boolean;
19
+ actions: ChromeActionItem[];
20
+ footerToolbar: {
21
+ actionsLeft: ChromeActionItem[];
22
+ actionsCenter: ChromeActionItem[];
23
+ actionsRight: ChromeActionItem[];
24
+ ExtendActionsRight: ChromeActionItem[];
25
+ };
26
+ };
27
+ canvas: {
28
+ enabled: boolean;
29
+ show: boolean;
30
+ customScroll: boolean;
31
+ header: {
32
+ enabled: boolean;
33
+ icon: import("@omnia/fx-models").IIcon;
34
+ title: string;
35
+ };
36
+ };
37
+ };
38
+ };
39
+ views: {
40
+ active: import("@omnia/fx/ux").EditorChromeViewRegistration;
41
+ registrations: import("@omnia/fx/ux").EditorChromeViewRegistration[];
42
+ history: {
43
+ items: {
44
+ id: guid;
45
+ timestamp: number;
46
+ }[];
47
+ currentIndex: number;
48
+ maxSize: number;
49
+ };
50
+ };
51
+ canvasSettings: {
52
+ scroll: {
53
+ store: {
54
+ state: {
55
+ elementRef: HTMLElement;
56
+ elementId: string;
57
+ disableScrolling: boolean;
58
+ height: string;
59
+ width: string;
60
+ scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
61
+ coordinates: {
62
+ readonly left: number;
63
+ readonly right: number;
64
+ readonly top: number;
65
+ readonly bottom: number;
66
+ };
67
+ };
68
+ events: import("../../../mobile").StoreEvents<{
69
+ elementRef: HTMLElement;
70
+ elementId: string;
71
+ disableScrolling: boolean;
72
+ height: string;
73
+ width: string;
74
+ scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
75
+ coordinates: {
76
+ readonly left: number;
77
+ readonly right: number;
78
+ readonly top: number;
79
+ readonly bottom: number;
80
+ };
81
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
82
+ actions: import("../../../mobile").StoreReturnDefineAction<{
83
+ scroll: () => void;
84
+ setDisableScrolling: (disable: boolean) => void;
85
+ calculateDynamicHeight: () => void;
86
+ setHeight: (height: string) => void;
87
+ setWidth: (width: string) => void;
88
+ setScrolling: (scrolling: import("@omnia/fx-models").OScrollTypesCombination) => void;
89
+ calculateScrollHeight: (referenceElementIds: string[]) => void;
90
+ isElementNameStillInView: (elementName: string) => boolean;
91
+ isElementIdStillInView: (elementId: string) => boolean;
92
+ scrollToStart: () => void;
93
+ scrollToElementId: (elementId: string, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void, immediate?: boolean) => void;
94
+ scrollToElementName: (elementName: string, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
95
+ scrollToElement: (element: HTMLElement, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
96
+ scrollToSelector: (selector: string, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void, immediate?: boolean) => void;
97
+ }>;
98
+ get: {
99
+ readonly coordinates: {
100
+ readonly left: number;
101
+ readonly right: number;
102
+ readonly top: number;
103
+ readonly bottom: number;
104
+ };
105
+ readonly scrollPosition: number;
106
+ };
107
+ } & {
108
+ dispose?: () => void;
109
+ };
110
+ };
111
+ zoom: {
112
+ enabled: boolean;
113
+ level: number;
114
+ };
115
+ displaySize: {
116
+ enabled: boolean;
117
+ value: "l" | "s" | "m";
118
+ store: {
119
+ state: {
120
+ width: string;
121
+ zoomLevel: number;
122
+ };
123
+ events: import("../../../mobile").StoreEvents<{
124
+ width: string;
125
+ zoomLevel: number;
126
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
127
+ actions: import("../../../mobile").StoreReturnDefineAction<{
128
+ setWidth: (width: string) => void;
129
+ resetWidth: () => void;
130
+ setBreakPoint: (breakPoint: import("@omnia/fx-models").DisplayBreakpointTypes) => void;
131
+ resetZoomLevel: () => void;
132
+ setZoomLevel: (zoomLevel: number) => void;
133
+ }>;
134
+ get: {};
135
+ } & {
136
+ dispose?: () => void;
137
+ };
138
+ };
139
+ };
140
+ notificationMessage: {
141
+ key: guid;
142
+ message: string;
143
+ show: boolean;
144
+ timeout: number;
145
+ customRenderer: string;
146
+ };
147
+ operations: {
148
+ id: guid;
149
+ loading: boolean;
150
+ }[];
151
+ };
152
+ actions: import("../../../mobile").StoreReturnDefineAction<{
153
+ canvas: () => {
154
+ syncDisplaySettings: () => Promise<void>;
155
+ setDisplayBreakPoint: (value: import("@omnia/fx-models").DisplayBreakpointTypes) => void;
156
+ zoomIn: (step?: number) => void;
157
+ zoomOut: (step?: number) => void;
158
+ setZoom: (level: number) => void;
159
+ resetZoom: () => void;
160
+ };
161
+ editor: () => {
162
+ resetForNewActiveConfiguration: () => void;
163
+ };
164
+ views: () => {
165
+ register: (editorView: import("@omnia/fx/ux/editor").EditorChromeView | import("@omnia/fx/ux/editor").EditorChromeView[]) => void;
166
+ active: {
167
+ set: (view: import("@omnia/fx/ux/editor").EditorChromeView, addToHistory?: boolean) => void;
168
+ clear: () => void;
169
+ configuration: {
170
+ set: (configuration: EditorChromeConfiguration) => void;
171
+ };
172
+ };
173
+ remove: (view: import("@omnia/fx/ux/editor").EditorChromeView) => void;
174
+ history: {
175
+ removeCurrent: () => void;
176
+ goBack: () => boolean;
177
+ goForward: () => boolean;
178
+ addToHistory: (view: import("@omnia/fx/ux/editor").EditorChromeView) => void;
179
+ clear: () => void;
180
+ };
181
+ };
182
+ showNotification: (message: import("@omnia/fx-models").NotificationMessage) => void;
183
+ operations: () => {
184
+ create: (showLoading?: boolean) => import("@omnia/fx-models").Future<null>;
185
+ setLoading: () => import("@omnia/fx-models").Future<null>;
186
+ register: (showLoading?: boolean) => guid;
187
+ unregister: (operationId: guid) => boolean;
188
+ clear: () => void;
189
+ waitForCompletion: () => Promise<void>;
190
+ };
191
+ navigation: () => {
192
+ register: (navigationItem: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration) => void;
193
+ show: (value: boolean) => void;
194
+ toggle: () => void;
195
+ };
196
+ drawers: () => {
197
+ right: {
198
+ panel: {
199
+ show: (panel: import("@omnia/fx/ux/editor").EditorChromePanel) => void;
200
+ footerToolbar: {
201
+ add: {
202
+ action: (action: ChromeActionItem | ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
203
+ };
204
+ };
205
+ close: () => void;
206
+ };
207
+ canvas: {
208
+ configure: (header: {
209
+ icon?: import("@omnia/fx-models").IIcon;
210
+ title?: string;
211
+ enabled?: boolean;
212
+ }, customScroll?: boolean) => void;
213
+ toolbar: {
214
+ enable: (value: boolean) => void;
215
+ };
216
+ syncButtons: (currentId: guid) => void;
217
+ toggle: () => void;
218
+ show: (value: boolean) => void;
219
+ };
220
+ };
221
+ };
222
+ init: () => void;
223
+ dispose: () => void;
224
+ }>;
225
+ get: {
226
+ views: {
227
+ active: () => import("@omnia/fx/ux/editor").EditorChromeView;
228
+ all: () => import("@omnia/fx/ux/editor").EditorChromeView[];
229
+ byId: (id: guid) => import("@omnia/fx/ux/editor").EditorChromeView;
230
+ };
231
+ operations: {
232
+ all: () => guid[];
233
+ has: (operationId: guid) => boolean;
234
+ count: () => number;
235
+ };
236
+ history: () => {
237
+ view: import("@omnia/fx/ux/editor").EditorChromeView;
238
+ id: guid;
239
+ timestamp: number;
240
+ }[];
241
+ };
242
+ rules: {
243
+ showLoading: () => boolean;
244
+ history: {
245
+ canGoBack: () => boolean;
246
+ canGoForward: () => boolean;
247
+ };
248
+ views: {
249
+ hasActive: () => boolean;
250
+ active: {
251
+ configuration: {
252
+ hasActive: () => boolean;
253
+ hasBackgNavigation: () => boolean;
254
+ };
255
+ };
256
+ };
257
+ };
258
+ utils: {
259
+ configuration: {
260
+ extend: (target: EditorChromeConfiguration, configuration: EditorChromeConfiguration) => void;
261
+ };
262
+ };
263
+ } & {
264
+ dispose?: () => void;
265
+ }) => {
266
+ configuration: EditorChromeConfiguration;
267
+ store: {
268
+ state: {
269
+ editing: {
270
+ definition: import("@omnia/fx-models").VelcronAppDefinition<object>;
271
+ };
272
+ source: {
273
+ editMode: import("../store").CodeViewMode;
274
+ json: {
275
+ app: string;
276
+ appState: string;
277
+ appBody: string;
278
+ appEditors: string;
279
+ };
280
+ };
281
+ drawerMode: "settings" | "picker" | "definition-structure" | "code-editor";
282
+ selection: {
283
+ item: import("@omnia/fx-models").VelcronDefinition;
284
+ };
285
+ settings: {
286
+ colorSchemaType: string;
287
+ canvasMode: {
288
+ current: "preview" | "design";
289
+ previous: "preview" | "design";
290
+ };
291
+ };
292
+ };
293
+ events: import("../../../mobile").StoreEvents<{
294
+ editing: {
295
+ definition: import("@omnia/fx-models").VelcronAppDefinition<object>;
296
+ };
297
+ source: {
298
+ editMode: import("../store").CodeViewMode;
299
+ json: {
300
+ app: string;
301
+ appState: string;
302
+ appBody: string;
303
+ appEditors: string;
304
+ };
305
+ };
306
+ drawerMode: "settings" | "picker" | "definition-structure" | "code-editor";
307
+ selection: {
308
+ item: import("@omnia/fx-models").VelcronDefinition;
309
+ };
310
+ settings: {
311
+ colorSchemaType: string;
312
+ canvasMode: {
313
+ current: "preview" | "design";
314
+ previous: "preview" | "design";
315
+ };
316
+ };
317
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
318
+ actions: import("../../../mobile").StoreReturnDefineAction<{
319
+ editor: () => import("../../../mobile").StoreReturnDefineAction<{
320
+ selectItem: (item: import("@omnia/fx-models").VelcronDefinition) => void;
321
+ }>;
322
+ show: () => import("../../../mobile").StoreReturnDefineAction<{
323
+ sourcePanel: (action: "show" | "hide" | "toggle") => void;
324
+ settingsPanel: (action: "show" | "hide" | "toggle") => void;
325
+ }>;
326
+ canvas: () => import("../../../mobile").StoreReturnDefineAction<{
327
+ setMode: (mode: "preview" | "design") => void;
328
+ }>;
329
+ template: () => import("../../../mobile").StoreReturnDefineAction<{
330
+ update: () => {
331
+ byJson: (json: string) => void;
332
+ };
333
+ edit: () => {
334
+ byResolverReference: (ref: import("@omnia/fx-models").VelcronRendererResolverReference) => void;
335
+ definition: (definition: import("@omnia/fx-models").VelcronAppDefinition) => void;
336
+ };
337
+ }>;
338
+ init: (editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
339
+ }>;
340
+ get: {
341
+ ready: () => import("@omnia/fx-models").Future<void>;
342
+ canvas: {
343
+ mode: () => "preview" | "design";
344
+ };
345
+ };
346
+ rules: {
347
+ is: {
348
+ selected: (item: import("@omnia/fx-models").VelcronDefinition) => boolean;
349
+ editorEmpty: () => boolean;
350
+ settingsActive: () => boolean;
351
+ codeEditorActive: () => boolean;
352
+ };
353
+ };
354
+ } & {
355
+ dispose?: () => void;
356
+ };
357
+ refresh(): void;
358
+ };