@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,266 @@
1
+ import { guid } from "@omnia/fx/models";
2
+ import { EditorChromeView } from "@omnia/fx/ux/editor";
3
+ export declare const defineVelcronEditorView: (param1: {
4
+ state: {
5
+ id: guid;
6
+ finishedLoading: boolean;
7
+ compactMode: boolean;
8
+ navigation: {
9
+ configuration: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration;
10
+ enabled: boolean;
11
+ show: boolean;
12
+ };
13
+ drawers: {
14
+ right: {
15
+ panel: {
16
+ settings: import("@omnia/fx/ux/editor").EditorChromePanel;
17
+ show: boolean;
18
+ actions: import("@omnia/fx/ux/editor").ChromeActionItem[];
19
+ footerToolbar: {
20
+ actionsLeft: import("@omnia/fx/ux/editor").ChromeActionItem[];
21
+ actionsCenter: import("@omnia/fx/ux/editor").ChromeActionItem[];
22
+ actionsRight: import("@omnia/fx/ux/editor").ChromeActionItem[];
23
+ ExtendActionsRight: import("@omnia/fx/ux/editor").ChromeActionItem[];
24
+ };
25
+ };
26
+ canvas: {
27
+ enabled: boolean;
28
+ show: boolean;
29
+ customScroll: boolean;
30
+ header: {
31
+ enabled: boolean;
32
+ icon: import("@omnia/fx-models").IIcon;
33
+ title: string;
34
+ };
35
+ };
36
+ };
37
+ };
38
+ views: {
39
+ active: import("@omnia/fx/ux").EditorChromeViewRegistration;
40
+ registrations: import("@omnia/fx/ux").EditorChromeViewRegistration[];
41
+ history: {
42
+ items: {
43
+ id: guid;
44
+ timestamp: number;
45
+ }[];
46
+ currentIndex: number;
47
+ maxSize: number;
48
+ };
49
+ };
50
+ canvasSettings: {
51
+ scroll: {
52
+ store: {
53
+ state: {
54
+ elementRef: HTMLElement;
55
+ elementId: string;
56
+ disableScrolling: boolean;
57
+ height: string;
58
+ width: string;
59
+ scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
60
+ coordinates: {
61
+ readonly left: number;
62
+ readonly right: number;
63
+ readonly top: number;
64
+ readonly bottom: number;
65
+ };
66
+ };
67
+ events: import("../../../mobile").StoreEvents<{
68
+ elementRef: HTMLElement;
69
+ elementId: string;
70
+ disableScrolling: boolean;
71
+ height: string;
72
+ width: string;
73
+ scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
74
+ coordinates: {
75
+ readonly left: number;
76
+ readonly right: number;
77
+ readonly top: number;
78
+ readonly bottom: number;
79
+ };
80
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
81
+ actions: import("../../../mobile").StoreReturnDefineAction<{
82
+ scroll: () => void;
83
+ setDisableScrolling: (disable: boolean) => void;
84
+ calculateDynamicHeight: () => void;
85
+ setHeight: (height: string) => void;
86
+ setWidth: (width: string) => void;
87
+ setScrolling: (scrolling: import("@omnia/fx-models").OScrollTypesCombination) => void;
88
+ calculateScrollHeight: (referenceElementIds: string[]) => void;
89
+ isElementNameStillInView: (elementName: string) => boolean;
90
+ isElementIdStillInView: (elementId: string) => boolean;
91
+ scrollToStart: () => void;
92
+ scrollToElementId: (elementId: string, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void, immediate?: boolean) => void;
93
+ scrollToElementName: (elementName: string, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
94
+ scrollToElement: (element: HTMLElement, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
95
+ scrollToSelector: (selector: string, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void, immediate?: boolean) => void;
96
+ }>;
97
+ get: {
98
+ readonly coordinates: {
99
+ readonly left: number;
100
+ readonly right: number;
101
+ readonly top: number;
102
+ readonly bottom: number;
103
+ };
104
+ readonly scrollPosition: number;
105
+ };
106
+ } & {
107
+ dispose?: () => void;
108
+ };
109
+ };
110
+ zoom: {
111
+ enabled: boolean;
112
+ level: number;
113
+ };
114
+ displaySize: {
115
+ enabled: boolean;
116
+ value: "l" | "s" | "m";
117
+ store: {
118
+ state: {
119
+ width: string;
120
+ zoomLevel: number;
121
+ };
122
+ events: import("../../../mobile").StoreEvents<{
123
+ width: string;
124
+ zoomLevel: number;
125
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
126
+ actions: import("../../../mobile").StoreReturnDefineAction<{
127
+ setWidth: (width: string) => void;
128
+ resetWidth: () => void;
129
+ setBreakPoint: (breakPoint: import("@omnia/fx-models").DisplayBreakpointTypes) => void;
130
+ resetZoomLevel: () => void;
131
+ setZoomLevel: (zoomLevel: number) => void;
132
+ }>;
133
+ get: {};
134
+ } & {
135
+ dispose?: () => void;
136
+ };
137
+ };
138
+ };
139
+ notificationMessage: {
140
+ key: guid;
141
+ message: string;
142
+ show: boolean;
143
+ timeout: number;
144
+ customRenderer: string;
145
+ };
146
+ operations: {
147
+ id: guid;
148
+ loading: boolean;
149
+ }[];
150
+ };
151
+ actions: import("../../../mobile").StoreReturnDefineAction<{
152
+ canvas: () => {
153
+ syncDisplaySettings: () => Promise<void>;
154
+ setDisplayBreakPoint: (value: import("@omnia/fx-models").DisplayBreakpointTypes) => void;
155
+ zoomIn: (step?: number) => void;
156
+ zoomOut: (step?: number) => void;
157
+ setZoom: (level: number) => void;
158
+ resetZoom: () => void;
159
+ };
160
+ editor: () => {
161
+ resetForNewActiveConfiguration: () => void;
162
+ };
163
+ views: () => {
164
+ register: (editorView: EditorChromeView | EditorChromeView[]) => void;
165
+ active: {
166
+ set: (view: EditorChromeView, addToHistory?: boolean) => void;
167
+ clear: () => void;
168
+ configuration: {
169
+ set: (configuration: import("@omnia/fx/ux/editor").EditorChromeConfiguration) => void;
170
+ };
171
+ };
172
+ remove: (view: EditorChromeView) => void;
173
+ history: {
174
+ removeCurrent: () => void;
175
+ goBack: () => boolean;
176
+ goForward: () => boolean;
177
+ addToHistory: (view: EditorChromeView) => void;
178
+ clear: () => void;
179
+ };
180
+ };
181
+ showNotification: (message: import("@omnia/fx-models").NotificationMessage) => void;
182
+ operations: () => {
183
+ create: (showLoading?: boolean) => import("@omnia/fx-models").Future<null>;
184
+ setLoading: () => import("@omnia/fx-models").Future<null>;
185
+ register: (showLoading?: boolean) => guid;
186
+ unregister: (operationId: guid) => boolean;
187
+ clear: () => void;
188
+ waitForCompletion: () => Promise<void>;
189
+ };
190
+ navigation: () => {
191
+ register: (navigationItem: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration) => void;
192
+ show: (value: boolean) => void;
193
+ toggle: () => void;
194
+ };
195
+ drawers: () => {
196
+ right: {
197
+ panel: {
198
+ show: (panel: import("@omnia/fx/ux/editor").EditorChromePanel) => void;
199
+ footerToolbar: {
200
+ add: {
201
+ action: (action: import("@omnia/fx/ux/editor").ChromeActionItem | import("@omnia/fx/ux/editor").ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
202
+ };
203
+ };
204
+ close: () => void;
205
+ };
206
+ canvas: {
207
+ configure: (header: {
208
+ icon?: import("@omnia/fx-models").IIcon;
209
+ title?: string;
210
+ enabled?: boolean;
211
+ }, customScroll?: boolean) => void;
212
+ toolbar: {
213
+ enable: (value: boolean) => void;
214
+ };
215
+ syncButtons: (currentId: guid) => void;
216
+ toggle: () => void;
217
+ show: (value: boolean) => void;
218
+ };
219
+ };
220
+ };
221
+ init: () => void;
222
+ dispose: () => void;
223
+ }>;
224
+ get: {
225
+ views: {
226
+ active: () => EditorChromeView;
227
+ all: () => EditorChromeView[];
228
+ byId: (id: guid) => EditorChromeView;
229
+ };
230
+ operations: {
231
+ all: () => guid[];
232
+ has: (operationId: guid) => boolean;
233
+ count: () => number;
234
+ };
235
+ history: () => {
236
+ view: EditorChromeView;
237
+ id: guid;
238
+ timestamp: number;
239
+ }[];
240
+ };
241
+ rules: {
242
+ showLoading: () => boolean;
243
+ history: {
244
+ canGoBack: () => boolean;
245
+ canGoForward: () => boolean;
246
+ };
247
+ views: {
248
+ hasActive: () => boolean;
249
+ active: {
250
+ configuration: {
251
+ hasActive: () => boolean;
252
+ hasBackgNavigation: () => boolean;
253
+ };
254
+ };
255
+ };
256
+ };
257
+ utils: {
258
+ configuration: {
259
+ extend: (target: import("@omnia/fx/ux/editor").EditorChromeConfiguration, configuration: import("@omnia/fx/ux/editor").EditorChromeConfiguration) => void;
260
+ };
261
+ };
262
+ } & {
263
+ dispose?: () => void;
264
+ }) => {
265
+ view: EditorChromeView;
266
+ };
@@ -0,0 +1,357 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ import { useEditorChromeStore } from "@omnia/fx/ux";
3
+ import { EditorChromeConfiguration } from "@omnia/fx/ux/editor";
4
+ export declare const defineVelcronTemplatesConfiguration: (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: import("@omnia/fx/ux/editor").ChromeActionItem[];
20
+ footerToolbar: {
21
+ actionsLeft: import("@omnia/fx/ux/editor").ChromeActionItem[];
22
+ actionsCenter: import("@omnia/fx/ux/editor").ChromeActionItem[];
23
+ actionsRight: import("@omnia/fx/ux/editor").ChromeActionItem[];
24
+ ExtendActionsRight: import("@omnia/fx/ux/editor").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: import("@omnia/fx/ux/editor").ChromeActionItem | import("@omnia/fx/ux/editor").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
+ }, param2: {
266
+ state: {
267
+ editing: {
268
+ definition: import("@omnia/fx-models").VelcronAppDefinition<object>;
269
+ };
270
+ source: {
271
+ editMode: import("../store").CodeViewMode;
272
+ json: {
273
+ app: string;
274
+ appState: string;
275
+ appBody: string;
276
+ appEditors: string;
277
+ };
278
+ };
279
+ drawerMode: "settings" | "picker" | "definition-structure" | "code-editor";
280
+ selection: {
281
+ item: import("@omnia/fx-models").VelcronDefinition;
282
+ };
283
+ settings: {
284
+ colorSchemaType: string;
285
+ canvasMode: {
286
+ current: "preview" | "design";
287
+ previous: "preview" | "design";
288
+ };
289
+ };
290
+ };
291
+ events: import("../../../mobile").StoreEvents<{
292
+ editing: {
293
+ definition: import("@omnia/fx-models").VelcronAppDefinition<object>;
294
+ };
295
+ source: {
296
+ editMode: import("../store").CodeViewMode;
297
+ json: {
298
+ app: string;
299
+ appState: string;
300
+ appBody: string;
301
+ appEditors: string;
302
+ };
303
+ };
304
+ drawerMode: "settings" | "picker" | "definition-structure" | "code-editor";
305
+ selection: {
306
+ item: import("@omnia/fx-models").VelcronDefinition;
307
+ };
308
+ settings: {
309
+ colorSchemaType: string;
310
+ canvasMode: {
311
+ current: "preview" | "design";
312
+ previous: "preview" | "design";
313
+ };
314
+ };
315
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
316
+ actions: import("../../../mobile").StoreReturnDefineAction<{
317
+ editor: () => import("../../../mobile").StoreReturnDefineAction<{
318
+ selectItem: (item: import("@omnia/fx-models").VelcronDefinition) => void;
319
+ }>;
320
+ show: () => import("../../../mobile").StoreReturnDefineAction<{
321
+ sourcePanel: (action: "show" | "hide" | "toggle") => void;
322
+ settingsPanel: (action: "show" | "hide" | "toggle") => void;
323
+ }>;
324
+ canvas: () => import("../../../mobile").StoreReturnDefineAction<{
325
+ setMode: (mode: "preview" | "design") => void;
326
+ }>;
327
+ template: () => import("../../../mobile").StoreReturnDefineAction<{
328
+ update: () => {
329
+ byJson: (json: string) => void;
330
+ };
331
+ edit: () => {
332
+ byResolverReference: (ref: import("@omnia/fx-models").VelcronRendererResolverReference) => void;
333
+ definition: (definition: import("@omnia/fx-models").VelcronAppDefinition) => void;
334
+ };
335
+ }>;
336
+ init: (editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
337
+ }>;
338
+ get: {
339
+ ready: () => import("@omnia/fx-models").Future<void>;
340
+ canvas: {
341
+ mode: () => "preview" | "design";
342
+ };
343
+ };
344
+ rules: {
345
+ is: {
346
+ selected: (item: import("@omnia/fx-models").VelcronDefinition) => boolean;
347
+ editorEmpty: () => boolean;
348
+ settingsActive: () => boolean;
349
+ codeEditorActive: () => boolean;
350
+ };
351
+ };
352
+ } & {
353
+ dispose?: () => void;
354
+ }) => {
355
+ configuration: EditorChromeConfiguration;
356
+ refresh(): void;
357
+ };
@@ -0,0 +1 @@
1
+ export * from "./DefineVelcronEditorView";
@@ -0,0 +1,27 @@
1
+ import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
2
+ import { VNodeChild } from "vue";
3
+ import { VelcronAppDefinition } from "@omnia/fx-models";
4
+ export type DefinitionChanged = (definition: VelcronAppDefinition) => void;
5
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
6
+ "emit:update:modelValue": (value: boolean) => void;
7
+ } & {
8
+ "v-model"?: boolean;
9
+ } & {
10
+ modelValue?: boolean;
11
+ } & {
12
+ definition?: VelcronAppDefinition<object>;
13
+ } & {
14
+ mode?: "store" | "return";
15
+ } & DefineEmit<"click:close", () => true> & DefineEmit<"save", (definition: VelcronAppDefinition) => true> & DefineSlot<"activator", () => VNodeChild>> & {
16
+ "onUpdate:modelValue"?: (value: boolean) => any;
17
+ "onClick:close"?: () => any;
18
+ onSave?: (definition: VelcronAppDefinition<object>) => any;
19
+ } & {
20
+ "v-slots"?: {
21
+ activator?: () => VNodeChild;
22
+ } & Omit<{
23
+ default?: import("vue").Slot;
24
+ $stable?: boolean;
25
+ }, "activator">;
26
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "mode" | "definition" | "v-model" | "modelValue" | "emit:update:modelValue" | "slot:activator" | "emit:click:close" | "emit:save"> & import("@omnia/fx/ux").VNodeEvents) => any;
27
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
14
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
15
+ };
16
+ export default _default;