@omnia/fx 8.0.288-dev → 8.0.289-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.
- package/internal-do-not-import-from-here/ux/aurora/admin/DesignAppJourney.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/DesignBPJourney.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/DesignJourney.d.ts +3 -15
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/ThemesJourney.d.ts +3 -15
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/blades/SelectionThemeBlade.d.ts +14 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/models/Theme.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +15 -501
- package/internal-do-not-import-from-here/ux/flow/editor/commands/EditorCommands.d.ts +2 -5
- package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/EditorHelper.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/HtmlNodehelper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/models/EditorModels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorButton.d.ts +440 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingButton.d.ts +440 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +440 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/velcron/VelcronPlugin.d.ts +1 -7
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +8 -11
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +50 -55
- package/internal-do-not-import-from-here/ux/flow/editor/stores/VelcronPluginStore.d.ts +53 -0
- package/internal-do-not-import-from-here/ux/flow/editor/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ReferenceEditor.d.ts +6 -4
- package/internal-do-not-import-from-here/wctypings.d.ts +48 -20
- package/package.json +3 -3
@@ -8,7 +8,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
8
8
|
plugins: import("..").FlowEditorPlugin[];
|
9
9
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
10
10
|
hideToolbar: boolean;
|
11
|
-
maxNodeId: number;
|
12
11
|
toolbarActions: FlowEditorActionRegistration[];
|
13
12
|
editor: HTMLDivElement;
|
14
13
|
nodeSelection: import("..").NodeSelection;
|
@@ -29,7 +28,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
29
28
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
30
29
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
31
30
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
32
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
33
31
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
34
32
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
35
33
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -85,6 +83,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
85
83
|
};
|
86
84
|
selection: {
|
87
85
|
subscribe(fn: (result: {
|
86
|
+
set: (elements: Node | Array<Node>) => void;
|
88
87
|
capture: () => void;
|
89
88
|
store: () => void;
|
90
89
|
revertToStored: () => void;
|
@@ -193,9 +192,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
193
192
|
helpers: {
|
194
193
|
editor: {
|
195
194
|
ensure: {
|
196
|
-
uniqueIds: (element: HTMLElement
|
197
|
-
maxNodeId: number;
|
198
|
-
}) => HTMLElement;
|
195
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
199
196
|
selectionIsInEditor: (range: Range) => void;
|
200
197
|
};
|
201
198
|
cursor: {
|
@@ -223,7 +220,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
223
220
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
224
221
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
225
222
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
226
|
-
htmlElementInStructureById: (id:
|
223
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
227
224
|
};
|
228
225
|
remove: {
|
229
226
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -277,6 +274,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
277
274
|
};
|
278
275
|
};
|
279
276
|
selection: () => {
|
277
|
+
set: (elements: Node | Array<Node>) => void;
|
280
278
|
capture: () => void;
|
281
279
|
store: () => void;
|
282
280
|
revertToStored: () => void;
|
@@ -371,9 +369,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
371
369
|
helpers: {
|
372
370
|
editor: {
|
373
371
|
ensure: {
|
374
|
-
uniqueIds: (element: HTMLElement
|
375
|
-
maxNodeId: number;
|
376
|
-
}) => HTMLElement;
|
372
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
377
373
|
selectionIsInEditor: (range: Range) => void;
|
378
374
|
};
|
379
375
|
cursor: {
|
@@ -401,7 +397,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
401
397
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
402
398
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
403
399
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
404
|
-
htmlElementInStructureById: (id:
|
400
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
405
401
|
};
|
406
402
|
remove: {
|
407
403
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -435,7 +431,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
435
431
|
};
|
436
432
|
};
|
437
433
|
element: {
|
438
|
-
byId: (id:
|
434
|
+
byId: (id: string) => HTMLElement;
|
435
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
439
436
|
};
|
440
437
|
};
|
441
438
|
} & {
|
@@ -452,7 +449,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
452
449
|
plugins: import("..").FlowEditorPlugin[];
|
453
450
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
454
451
|
hideToolbar: boolean;
|
455
|
-
maxNodeId: number;
|
456
452
|
toolbarActions: FlowEditorActionRegistration[];
|
457
453
|
editor: HTMLDivElement;
|
458
454
|
nodeSelection: import("..").NodeSelection;
|
@@ -473,7 +469,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
473
469
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
474
470
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
475
471
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
476
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
477
472
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
478
473
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
479
474
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -529,6 +524,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
529
524
|
};
|
530
525
|
selection: {
|
531
526
|
subscribe(fn: (result: {
|
527
|
+
set: (elements: Node | Array<Node>) => void;
|
532
528
|
capture: () => void;
|
533
529
|
store: () => void;
|
534
530
|
revertToStored: () => void;
|
@@ -637,9 +633,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
637
633
|
helpers: {
|
638
634
|
editor: {
|
639
635
|
ensure: {
|
640
|
-
uniqueIds: (element: HTMLElement
|
641
|
-
maxNodeId: number;
|
642
|
-
}) => HTMLElement;
|
636
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
643
637
|
selectionIsInEditor: (range: Range) => void;
|
644
638
|
};
|
645
639
|
cursor: {
|
@@ -667,7 +661,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
667
661
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
668
662
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
669
663
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
670
|
-
htmlElementInStructureById: (id:
|
664
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
671
665
|
};
|
672
666
|
remove: {
|
673
667
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -721,6 +715,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
721
715
|
};
|
722
716
|
};
|
723
717
|
selection: () => {
|
718
|
+
set: (elements: Node | Array<Node>) => void;
|
724
719
|
capture: () => void;
|
725
720
|
store: () => void;
|
726
721
|
revertToStored: () => void;
|
@@ -815,9 +810,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
815
810
|
helpers: {
|
816
811
|
editor: {
|
817
812
|
ensure: {
|
818
|
-
uniqueIds: (element: HTMLElement
|
819
|
-
maxNodeId: number;
|
820
|
-
}) => HTMLElement;
|
813
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
821
814
|
selectionIsInEditor: (range: Range) => void;
|
822
815
|
};
|
823
816
|
cursor: {
|
@@ -845,7 +838,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
845
838
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
846
839
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
847
840
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
848
|
-
htmlElementInStructureById: (id:
|
841
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
849
842
|
};
|
850
843
|
remove: {
|
851
844
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -879,7 +872,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
879
872
|
};
|
880
873
|
};
|
881
874
|
element: {
|
882
|
-
byId: (id:
|
875
|
+
byId: (id: string) => HTMLElement;
|
876
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
883
877
|
};
|
884
878
|
};
|
885
879
|
} & {
|
@@ -891,6 +885,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
891
885
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
892
886
|
actions: {
|
893
887
|
onDispatching: {
|
888
|
+
addAction: {
|
889
|
+
subscribe(fn: (action: FlowEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
890
|
+
};
|
894
891
|
setCustomRenderer: {
|
895
892
|
subscribe(fn: (renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
896
893
|
};
|
@@ -907,7 +904,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
907
904
|
plugins: import("..").FlowEditorPlugin[];
|
908
905
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
909
906
|
hideToolbar: boolean;
|
910
|
-
maxNodeId: number;
|
911
907
|
toolbarActions: FlowEditorActionRegistration[];
|
912
908
|
editor: HTMLDivElement;
|
913
909
|
nodeSelection: import("..").NodeSelection;
|
@@ -928,7 +924,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
928
924
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
929
925
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
930
926
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
931
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
932
927
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
933
928
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
934
929
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -984,6 +979,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
984
979
|
};
|
985
980
|
selection: {
|
986
981
|
subscribe(fn: (result: {
|
982
|
+
set: (elements: Node | Array<Node>) => void;
|
987
983
|
capture: () => void;
|
988
984
|
store: () => void;
|
989
985
|
revertToStored: () => void;
|
@@ -1092,9 +1088,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1092
1088
|
helpers: {
|
1093
1089
|
editor: {
|
1094
1090
|
ensure: {
|
1095
|
-
uniqueIds: (element: HTMLElement
|
1096
|
-
maxNodeId: number;
|
1097
|
-
}) => HTMLElement;
|
1091
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1098
1092
|
selectionIsInEditor: (range: Range) => void;
|
1099
1093
|
};
|
1100
1094
|
cursor: {
|
@@ -1122,7 +1116,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1122
1116
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1123
1117
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1124
1118
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1125
|
-
htmlElementInStructureById: (id:
|
1119
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1126
1120
|
};
|
1127
1121
|
remove: {
|
1128
1122
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1176,6 +1170,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1176
1170
|
};
|
1177
1171
|
};
|
1178
1172
|
selection: () => {
|
1173
|
+
set: (elements: Node | Array<Node>) => void;
|
1179
1174
|
capture: () => void;
|
1180
1175
|
store: () => void;
|
1181
1176
|
revertToStored: () => void;
|
@@ -1270,9 +1265,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1270
1265
|
helpers: {
|
1271
1266
|
editor: {
|
1272
1267
|
ensure: {
|
1273
|
-
uniqueIds: (element: HTMLElement
|
1274
|
-
maxNodeId: number;
|
1275
|
-
}) => HTMLElement;
|
1268
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1276
1269
|
selectionIsInEditor: (range: Range) => void;
|
1277
1270
|
};
|
1278
1271
|
cursor: {
|
@@ -1300,7 +1293,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1300
1293
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1301
1294
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1302
1295
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1303
|
-
htmlElementInStructureById: (id:
|
1296
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1304
1297
|
};
|
1305
1298
|
remove: {
|
1306
1299
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1334,7 +1327,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1334
1327
|
};
|
1335
1328
|
};
|
1336
1329
|
element: {
|
1337
|
-
byId: (id:
|
1330
|
+
byId: (id: string) => HTMLElement;
|
1331
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
1338
1332
|
};
|
1339
1333
|
};
|
1340
1334
|
} & {
|
@@ -1346,6 +1340,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1346
1340
|
};
|
1347
1341
|
};
|
1348
1342
|
onDispatched: {
|
1343
|
+
addAction: {
|
1344
|
+
subscribe(fn: (result: void, action: FlowEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1345
|
+
};
|
1349
1346
|
setCustomRenderer: {
|
1350
1347
|
subscribe(fn: (result: void, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1351
1348
|
};
|
@@ -1362,7 +1359,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1362
1359
|
plugins: import("..").FlowEditorPlugin[];
|
1363
1360
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
1364
1361
|
hideToolbar: boolean;
|
1365
|
-
maxNodeId: number;
|
1366
1362
|
toolbarActions: FlowEditorActionRegistration[];
|
1367
1363
|
editor: HTMLDivElement;
|
1368
1364
|
nodeSelection: import("..").NodeSelection;
|
@@ -1383,7 +1379,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1383
1379
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
1384
1380
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
1385
1381
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1386
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
1387
1382
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
1388
1383
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
1389
1384
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -1439,6 +1434,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1439
1434
|
};
|
1440
1435
|
selection: {
|
1441
1436
|
subscribe(fn: (result: {
|
1437
|
+
set: (elements: Node | Array<Node>) => void;
|
1442
1438
|
capture: () => void;
|
1443
1439
|
store: () => void;
|
1444
1440
|
revertToStored: () => void;
|
@@ -1547,9 +1543,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1547
1543
|
helpers: {
|
1548
1544
|
editor: {
|
1549
1545
|
ensure: {
|
1550
|
-
uniqueIds: (element: HTMLElement
|
1551
|
-
maxNodeId: number;
|
1552
|
-
}) => HTMLElement;
|
1546
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1553
1547
|
selectionIsInEditor: (range: Range) => void;
|
1554
1548
|
};
|
1555
1549
|
cursor: {
|
@@ -1577,7 +1571,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1577
1571
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1578
1572
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1579
1573
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1580
|
-
htmlElementInStructureById: (id:
|
1574
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1581
1575
|
};
|
1582
1576
|
remove: {
|
1583
1577
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1631,6 +1625,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1631
1625
|
};
|
1632
1626
|
};
|
1633
1627
|
selection: () => {
|
1628
|
+
set: (elements: Node | Array<Node>) => void;
|
1634
1629
|
capture: () => void;
|
1635
1630
|
store: () => void;
|
1636
1631
|
revertToStored: () => void;
|
@@ -1725,9 +1720,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1725
1720
|
helpers: {
|
1726
1721
|
editor: {
|
1727
1722
|
ensure: {
|
1728
|
-
uniqueIds: (element: HTMLElement
|
1729
|
-
maxNodeId: number;
|
1730
|
-
}) => HTMLElement;
|
1723
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1731
1724
|
selectionIsInEditor: (range: Range) => void;
|
1732
1725
|
};
|
1733
1726
|
cursor: {
|
@@ -1755,7 +1748,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1755
1748
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1756
1749
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1757
1750
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1758
|
-
htmlElementInStructureById: (id:
|
1751
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1759
1752
|
};
|
1760
1753
|
remove: {
|
1761
1754
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1789,7 +1782,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1789
1782
|
};
|
1790
1783
|
};
|
1791
1784
|
element: {
|
1792
|
-
byId: (id:
|
1785
|
+
byId: (id: string) => HTMLElement;
|
1786
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
1793
1787
|
};
|
1794
1788
|
};
|
1795
1789
|
} & {
|
@@ -1801,6 +1795,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1801
1795
|
};
|
1802
1796
|
};
|
1803
1797
|
onFailure: {
|
1798
|
+
addAction: {
|
1799
|
+
subscribe(fn: (failureReason: any, action: FlowEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1800
|
+
};
|
1804
1801
|
setCustomRenderer: {
|
1805
1802
|
subscribe(fn: (failureReason: any, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1806
1803
|
};
|
@@ -1817,7 +1814,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1817
1814
|
plugins: import("..").FlowEditorPlugin[];
|
1818
1815
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
1819
1816
|
hideToolbar: boolean;
|
1820
|
-
maxNodeId: number;
|
1821
1817
|
toolbarActions: FlowEditorActionRegistration[];
|
1822
1818
|
editor: HTMLDivElement;
|
1823
1819
|
nodeSelection: import("..").NodeSelection;
|
@@ -1838,7 +1834,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1838
1834
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
1839
1835
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
1840
1836
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1841
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
1842
1837
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
1843
1838
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
1844
1839
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -1894,6 +1889,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1894
1889
|
};
|
1895
1890
|
selection: {
|
1896
1891
|
subscribe(fn: (result: {
|
1892
|
+
set: (elements: Node | Array<Node>) => void;
|
1897
1893
|
capture: () => void;
|
1898
1894
|
store: () => void;
|
1899
1895
|
revertToStored: () => void;
|
@@ -2002,9 +1998,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2002
1998
|
helpers: {
|
2003
1999
|
editor: {
|
2004
2000
|
ensure: {
|
2005
|
-
uniqueIds: (element: HTMLElement
|
2006
|
-
maxNodeId: number;
|
2007
|
-
}) => HTMLElement;
|
2001
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
2008
2002
|
selectionIsInEditor: (range: Range) => void;
|
2009
2003
|
};
|
2010
2004
|
cursor: {
|
@@ -2032,7 +2026,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2032
2026
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
2033
2027
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
2034
2028
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
2035
|
-
htmlElementInStructureById: (id:
|
2029
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
2036
2030
|
};
|
2037
2031
|
remove: {
|
2038
2032
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -2086,6 +2080,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2086
2080
|
};
|
2087
2081
|
};
|
2088
2082
|
selection: () => {
|
2083
|
+
set: (elements: Node | Array<Node>) => void;
|
2089
2084
|
capture: () => void;
|
2090
2085
|
store: () => void;
|
2091
2086
|
revertToStored: () => void;
|
@@ -2180,9 +2175,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2180
2175
|
helpers: {
|
2181
2176
|
editor: {
|
2182
2177
|
ensure: {
|
2183
|
-
uniqueIds: (element: HTMLElement
|
2184
|
-
maxNodeId: number;
|
2185
|
-
}) => HTMLElement;
|
2178
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
2186
2179
|
selectionIsInEditor: (range: Range) => void;
|
2187
2180
|
};
|
2188
2181
|
cursor: {
|
@@ -2210,7 +2203,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2210
2203
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
2211
2204
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
2212
2205
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
2213
|
-
htmlElementInStructureById: (id:
|
2206
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
2214
2207
|
};
|
2215
2208
|
remove: {
|
2216
2209
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -2244,7 +2237,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2244
2237
|
};
|
2245
2238
|
};
|
2246
2239
|
element: {
|
2247
|
-
byId: (id:
|
2240
|
+
byId: (id: string) => HTMLElement;
|
2241
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
2248
2242
|
};
|
2249
2243
|
};
|
2250
2244
|
} & {
|
@@ -2256,6 +2250,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2256
2250
|
};
|
2257
2251
|
};
|
2258
2252
|
} & {
|
2253
|
+
addAction: (action: FlowEditorActionRegistration) => void;
|
2259
2254
|
setCustomRenderer: (renderer: () => JSX.Element) => void;
|
2260
2255
|
removeAllActions: () => void;
|
2261
2256
|
setAsActive: () => void;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { DynamicState, VelcronAppDefinition, VelcronDefinitionRegistrationWithoutApp } from "@omnia/fx-models";
|
2
|
+
import { FlowEditorPluginContext } from "../models";
|
3
|
+
export type VelcronHtmlDivElement = HTMLDivElement & {
|
4
|
+
velcron: VelcronAppDefinition;
|
5
|
+
velcronRegistration: VelcronDefinitionRegistrationWithoutApp;
|
6
|
+
state: DynamicState;
|
7
|
+
};
|
8
|
+
export declare const useVelcronPluginStore: () => {
|
9
|
+
state: {
|
10
|
+
activeElement: VelcronHtmlDivElement;
|
11
|
+
editorCtx: FlowEditorPluginContext;
|
12
|
+
};
|
13
|
+
events: {
|
14
|
+
onMutatedActiveElement: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronHtmlDivElement>;
|
15
|
+
onMutatedEditorCtx: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPluginContext>;
|
16
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
17
|
+
actions: {
|
18
|
+
onDispatching: {
|
19
|
+
set: {
|
20
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
21
|
+
};
|
22
|
+
delete: {
|
23
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
onDispatched: {
|
27
|
+
set: {
|
28
|
+
subscribe(fn: (result: {
|
29
|
+
active(element: VelcronHtmlDivElement, ctx: FlowEditorPluginContext): void;
|
30
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
31
|
+
};
|
32
|
+
delete: {
|
33
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
onFailure: {
|
37
|
+
set: {
|
38
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
39
|
+
};
|
40
|
+
delete: {
|
41
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
} & {
|
45
|
+
set: () => {
|
46
|
+
active(element: VelcronHtmlDivElement, ctx: FlowEditorPluginContext): void;
|
47
|
+
};
|
48
|
+
delete: () => void;
|
49
|
+
};
|
50
|
+
get: {};
|
51
|
+
} & {
|
52
|
+
dispose?: () => void;
|
53
|
+
};
|
@@ -6,6 +6,9 @@ declare const _default: {
|
|
6
6
|
height: {
|
7
7
|
type: import("vue").PropType<string>;
|
8
8
|
};
|
9
|
+
noScroll: {
|
10
|
+
type: import("vue").PropType<boolean>;
|
11
|
+
};
|
9
12
|
disableScrollCompensation: {
|
10
13
|
type: import("vue").PropType<boolean>;
|
11
14
|
};
|
@@ -22,6 +25,9 @@ declare const _default: {
|
|
22
25
|
height: {
|
23
26
|
type: import("vue").PropType<string>;
|
24
27
|
};
|
28
|
+
noScroll: {
|
29
|
+
type: import("vue").PropType<boolean>;
|
30
|
+
};
|
25
31
|
disableScrollCompensation: {
|
26
32
|
type: import("vue").PropType<boolean>;
|
27
33
|
};
|
@@ -45,6 +51,9 @@ declare const _default: {
|
|
45
51
|
height: {
|
46
52
|
type: import("vue").PropType<string>;
|
47
53
|
};
|
54
|
+
noScroll: {
|
55
|
+
type: import("vue").PropType<boolean>;
|
56
|
+
};
|
48
57
|
disableScrollCompensation: {
|
49
58
|
type: import("vue").PropType<boolean>;
|
50
59
|
};
|
@@ -65,6 +74,9 @@ declare const _default: {
|
|
65
74
|
height: {
|
66
75
|
type: import("vue").PropType<string>;
|
67
76
|
};
|
77
|
+
noScroll: {
|
78
|
+
type: import("vue").PropType<boolean>;
|
79
|
+
};
|
68
80
|
disableScrollCompensation: {
|
69
81
|
type: import("vue").PropType<boolean>;
|
70
82
|
};
|
@@ -84,6 +96,7 @@ declare const _default: {
|
|
84
96
|
getApi?: (inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void;
|
85
97
|
designRender?: boolean;
|
86
98
|
disableScrollCompensation?: boolean;
|
99
|
+
noScroll?: boolean;
|
87
100
|
}>, never>;
|
88
101
|
};
|
89
102
|
export default _default;
|
@@ -6,6 +6,6 @@ export interface IExpansionPanel<T> {
|
|
6
6
|
index: number;
|
7
7
|
ExpansionPanel: typeof o.expansion.panel;
|
8
8
|
}
|
9
|
-
type ExpansionPanelsProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number | Array<number>, false, null, false, "The v-model of the component."> & DefineVModel<"items", T[], false, null, false, "An array of strings or objects used for automatically generating children components."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"variant", OPanelTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"expandAll", boolean, false, false, "Expands all panels"> & DefineProp<"mandatory", boolean, false, false, "Forces at least one item to always be selected (if available)."> & DefineProp<"toned", boolean, false, false, "Applies the toned color schema to all panels."> & DefineProp<"multiple", boolean, false, false, "Allows one to select multiple items."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineSlot<"item", (item: IExpansionPanel<T>) => VNodeChild>;
|
9
|
+
type ExpansionPanelsProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number | Array<number>, false, null, false, "The v-model of the component."> & DefineVModel<"items", T[], false, null, false, "An array of strings or objects used for automatically generating children components."> & DefineProp<"remove", boolean | ((item: T) => boolean), false, false, "Enable removable row."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"variant", OPanelTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"expandAll", boolean, false, false, "Expands all panels"> & DefineProp<"mandatory", boolean, false, false, "Forces at least one item to always be selected (if available)."> & DefineProp<"toned", boolean, false, false, "Applies the toned color schema to all panels."> & DefineProp<"multiple", boolean, false, false, "Allows one to select multiple items."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineSlot<"item", (item: IExpansionPanel<T>) => VNodeChild>;
|
10
10
|
declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<ExpansionPanelsProps<T>>) => any;
|
11
11
|
export default _default;
|
@@ -175,6 +175,10 @@ export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorSt
|
|
175
175
|
events?: VelcronOnPressEvent;
|
176
176
|
border?: VelcronBorder;
|
177
177
|
borderRadius?: VelcronDimensions;
|
178
|
+
width?: number | string;
|
179
|
+
minWidth?: number | string;
|
180
|
+
height?: number | string;
|
181
|
+
minHeight?: number | string;
|
178
182
|
}
|
179
183
|
export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow {
|
180
184
|
type: "row";
|
@@ -311,6 +315,10 @@ export interface VelcronLottieDefinition extends VelcronDefinition {
|
|
311
315
|
direction?: VelcronBindableProp<"normal" | "reverse">;
|
312
316
|
hover?: VelcronBindableProp<boolean>;
|
313
317
|
}
|
318
|
+
export interface VelcronSlidePanelSlidesOptions {
|
319
|
+
foreach: string;
|
320
|
+
definition: VelcronDefinition;
|
321
|
+
}
|
314
322
|
export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
315
323
|
type: "slide-panel";
|
316
324
|
slidesPerView?: VelcronBindableProp<number>;
|
@@ -322,6 +330,7 @@ export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
|
322
330
|
loop?: VelcronBindableProp<boolean>;
|
323
331
|
style?: VelcronCardStyling;
|
324
332
|
events?: VelcronOnPressEvent;
|
333
|
+
slides?: VelcronSlidePanelSlidesOptions;
|
325
334
|
}
|
326
335
|
export interface VelcronEditorRendererDefinition extends VelcronDefinition {
|
327
336
|
type: "editor";
|
@@ -36,6 +36,11 @@ export interface VelcronNumberEditorSettings {
|
|
36
36
|
max: number;
|
37
37
|
step: number;
|
38
38
|
}
|
39
|
+
export interface VelcronReferencePropertyEditorSettings {
|
40
|
+
multiple: boolean;
|
41
|
+
min?: number;
|
42
|
+
max?: number;
|
43
|
+
}
|
39
44
|
export interface VelcronPropertyMapping {
|
40
45
|
state: string;
|
41
46
|
title: string;
|
@@ -90,7 +95,7 @@ export interface VelcronImagePropertyEditor extends VelcronEditor<any> {
|
|
90
95
|
export interface VelcronSpacingPropertyEditor extends VelcronEditor<VelcronSpacingEditorSettings> {
|
91
96
|
type: "spacing";
|
92
97
|
}
|
93
|
-
export interface VelcronReferencePropertyEditor extends VelcronEditor<
|
98
|
+
export interface VelcronReferencePropertyEditor extends VelcronEditor<VelcronReferencePropertyEditorSettings> {
|
94
99
|
type: "reference";
|
95
100
|
}
|
96
101
|
export interface VelcronBlueprintEditor extends VelcronEditor<VelcronBlueprintEditorSettings> {
|
@@ -1,11 +1,13 @@
|
|
1
|
-
import { VelcronRendererResolverReference } from "@omnia/fx-models";
|
1
|
+
import { VelcronReferencePropertyEditorSettings, VelcronRendererResolverReference } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
3
|
label?: string;
|
4
4
|
} & {
|
5
|
-
|
5
|
+
settings?: VelcronReferencePropertyEditorSettings;
|
6
6
|
} & {
|
7
|
-
"
|
7
|
+
"emit:update:modelValue": (value: VelcronRendererResolverReference | VelcronRendererResolverReference[]) => void;
|
8
8
|
} & {
|
9
|
-
|
9
|
+
"v-model"?: VelcronRendererResolverReference | VelcronRendererResolverReference[];
|
10
|
+
} & {
|
11
|
+
modelValue?: VelcronRendererResolverReference | VelcronRendererResolverReference[];
|
10
12
|
}>) => any;
|
11
13
|
export default _default;
|