@omnia/fx 8.0.287-dev → 8.0.289-dev
Sign up to get free protection for your applications and to get access to all the features.
- 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 +3 -6
- 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/DeleteButton.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/velcron/SwapButton.d.ts +2 -0
- 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 +20 -19
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +110 -95
- 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/models/Velcron.d.ts +8 -1
- 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/core/parser/VelcronRenderers.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ReferenceEditor.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +6 -1
- 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;
|
@@ -16,6 +15,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
16
15
|
id: string;
|
17
16
|
pluginContext: import("..").FlowEditorPluginContext;
|
18
17
|
selectedRange: Range;
|
18
|
+
storedRange: Range;
|
19
19
|
showPlaceHolder: boolean;
|
20
20
|
definitionSelector: {
|
21
21
|
show: boolean;
|
@@ -28,7 +28,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
28
28
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
29
29
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
30
30
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
31
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
32
31
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
33
32
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
34
33
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -36,6 +35,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
36
35
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
37
36
|
onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
|
38
37
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
38
|
+
onMutatedStoredRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
39
39
|
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
40
40
|
onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
41
41
|
show: boolean;
|
@@ -83,9 +83,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
83
83
|
};
|
84
84
|
selection: {
|
85
85
|
subscribe(fn: (result: {
|
86
|
-
|
87
|
-
|
88
|
-
|
86
|
+
set: (elements: Node | Array<Node>) => void;
|
87
|
+
capture: () => void;
|
88
|
+
store: () => void;
|
89
|
+
revertToStored: () => void;
|
90
|
+
ensure: () => void;
|
89
91
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
92
|
};
|
91
93
|
plugin: {
|
@@ -165,7 +167,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
165
167
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
166
168
|
};
|
167
169
|
actions: {
|
168
|
-
|
170
|
+
captureSelection: () => void;
|
169
171
|
};
|
170
172
|
formatting: {
|
171
173
|
add: (element: HTMLElement) => void;
|
@@ -190,9 +192,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
190
192
|
helpers: {
|
191
193
|
editor: {
|
192
194
|
ensure: {
|
193
|
-
uniqueIds: (element: HTMLElement
|
194
|
-
maxNodeId: number;
|
195
|
-
}) => HTMLElement;
|
195
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
196
196
|
selectionIsInEditor: (range: Range) => void;
|
197
197
|
};
|
198
198
|
cursor: {
|
@@ -220,7 +220,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
220
220
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
221
221
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
222
222
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
223
|
-
htmlElementInStructureById: (id:
|
223
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
224
224
|
};
|
225
225
|
remove: {
|
226
226
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -274,9 +274,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
274
274
|
};
|
275
275
|
};
|
276
276
|
selection: () => {
|
277
|
-
|
278
|
-
|
279
|
-
|
277
|
+
set: (elements: Node | Array<Node>) => void;
|
278
|
+
capture: () => void;
|
279
|
+
store: () => void;
|
280
|
+
revertToStored: () => void;
|
281
|
+
ensure: () => void;
|
280
282
|
};
|
281
283
|
plugin: () => {
|
282
284
|
register: {
|
@@ -342,7 +344,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
342
344
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
343
345
|
};
|
344
346
|
actions: {
|
345
|
-
|
347
|
+
captureSelection: () => void;
|
346
348
|
};
|
347
349
|
formatting: {
|
348
350
|
add: (element: HTMLElement) => void;
|
@@ -367,9 +369,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
367
369
|
helpers: {
|
368
370
|
editor: {
|
369
371
|
ensure: {
|
370
|
-
uniqueIds: (element: HTMLElement
|
371
|
-
maxNodeId: number;
|
372
|
-
}) => HTMLElement;
|
372
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
373
373
|
selectionIsInEditor: (range: Range) => void;
|
374
374
|
};
|
375
375
|
cursor: {
|
@@ -397,7 +397,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
397
397
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
398
398
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
399
399
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
400
|
-
htmlElementInStructureById: (id:
|
400
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
401
401
|
};
|
402
402
|
remove: {
|
403
403
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -431,7 +431,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
431
431
|
};
|
432
432
|
};
|
433
433
|
element: {
|
434
|
-
byId: (id:
|
434
|
+
byId: (id: string) => HTMLElement;
|
435
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
435
436
|
};
|
436
437
|
};
|
437
438
|
} & {
|
@@ -448,7 +449,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
448
449
|
plugins: import("..").FlowEditorPlugin[];
|
449
450
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
450
451
|
hideToolbar: boolean;
|
451
|
-
maxNodeId: number;
|
452
452
|
toolbarActions: FlowEditorActionRegistration[];
|
453
453
|
editor: HTMLDivElement;
|
454
454
|
nodeSelection: import("..").NodeSelection;
|
@@ -456,6 +456,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
456
456
|
id: string;
|
457
457
|
pluginContext: import("..").FlowEditorPluginContext;
|
458
458
|
selectedRange: Range;
|
459
|
+
storedRange: Range;
|
459
460
|
showPlaceHolder: boolean;
|
460
461
|
definitionSelector: {
|
461
462
|
show: boolean;
|
@@ -468,7 +469,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
468
469
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
469
470
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
470
471
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
471
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
472
472
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
473
473
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
474
474
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -476,6 +476,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
476
476
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
477
477
|
onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
|
478
478
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
479
|
+
onMutatedStoredRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
479
480
|
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
480
481
|
onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
481
482
|
show: boolean;
|
@@ -523,9 +524,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
523
524
|
};
|
524
525
|
selection: {
|
525
526
|
subscribe(fn: (result: {
|
526
|
-
|
527
|
-
|
528
|
-
|
527
|
+
set: (elements: Node | Array<Node>) => void;
|
528
|
+
capture: () => void;
|
529
|
+
store: () => void;
|
530
|
+
revertToStored: () => void;
|
531
|
+
ensure: () => void;
|
529
532
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
530
533
|
};
|
531
534
|
plugin: {
|
@@ -605,7 +608,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
605
608
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
606
609
|
};
|
607
610
|
actions: {
|
608
|
-
|
611
|
+
captureSelection: () => void;
|
609
612
|
};
|
610
613
|
formatting: {
|
611
614
|
add: (element: HTMLElement) => void;
|
@@ -630,9 +633,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
630
633
|
helpers: {
|
631
634
|
editor: {
|
632
635
|
ensure: {
|
633
|
-
uniqueIds: (element: HTMLElement
|
634
|
-
maxNodeId: number;
|
635
|
-
}) => HTMLElement;
|
636
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
636
637
|
selectionIsInEditor: (range: Range) => void;
|
637
638
|
};
|
638
639
|
cursor: {
|
@@ -660,7 +661,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
660
661
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
661
662
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
662
663
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
663
|
-
htmlElementInStructureById: (id:
|
664
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
664
665
|
};
|
665
666
|
remove: {
|
666
667
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -714,9 +715,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
714
715
|
};
|
715
716
|
};
|
716
717
|
selection: () => {
|
717
|
-
|
718
|
-
|
719
|
-
|
718
|
+
set: (elements: Node | Array<Node>) => void;
|
719
|
+
capture: () => void;
|
720
|
+
store: () => void;
|
721
|
+
revertToStored: () => void;
|
722
|
+
ensure: () => void;
|
720
723
|
};
|
721
724
|
plugin: () => {
|
722
725
|
register: {
|
@@ -782,7 +785,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
782
785
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
783
786
|
};
|
784
787
|
actions: {
|
785
|
-
|
788
|
+
captureSelection: () => void;
|
786
789
|
};
|
787
790
|
formatting: {
|
788
791
|
add: (element: HTMLElement) => void;
|
@@ -807,9 +810,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
807
810
|
helpers: {
|
808
811
|
editor: {
|
809
812
|
ensure: {
|
810
|
-
uniqueIds: (element: HTMLElement
|
811
|
-
maxNodeId: number;
|
812
|
-
}) => HTMLElement;
|
813
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
813
814
|
selectionIsInEditor: (range: Range) => void;
|
814
815
|
};
|
815
816
|
cursor: {
|
@@ -837,7 +838,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
837
838
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
838
839
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
839
840
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
840
|
-
htmlElementInStructureById: (id:
|
841
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
841
842
|
};
|
842
843
|
remove: {
|
843
844
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -871,7 +872,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
871
872
|
};
|
872
873
|
};
|
873
874
|
element: {
|
874
|
-
byId: (id:
|
875
|
+
byId: (id: string) => HTMLElement;
|
876
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
875
877
|
};
|
876
878
|
};
|
877
879
|
} & {
|
@@ -883,6 +885,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
883
885
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
884
886
|
actions: {
|
885
887
|
onDispatching: {
|
888
|
+
addAction: {
|
889
|
+
subscribe(fn: (action: FlowEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
890
|
+
};
|
886
891
|
setCustomRenderer: {
|
887
892
|
subscribe(fn: (renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
888
893
|
};
|
@@ -899,7 +904,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
899
904
|
plugins: import("..").FlowEditorPlugin[];
|
900
905
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
901
906
|
hideToolbar: boolean;
|
902
|
-
maxNodeId: number;
|
903
907
|
toolbarActions: FlowEditorActionRegistration[];
|
904
908
|
editor: HTMLDivElement;
|
905
909
|
nodeSelection: import("..").NodeSelection;
|
@@ -907,6 +911,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
907
911
|
id: string;
|
908
912
|
pluginContext: import("..").FlowEditorPluginContext;
|
909
913
|
selectedRange: Range;
|
914
|
+
storedRange: Range;
|
910
915
|
showPlaceHolder: boolean;
|
911
916
|
definitionSelector: {
|
912
917
|
show: boolean;
|
@@ -919,7 +924,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
919
924
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
920
925
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
921
926
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
922
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
923
927
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
924
928
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
925
929
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -927,6 +931,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
927
931
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
928
932
|
onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
|
929
933
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
934
|
+
onMutatedStoredRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
930
935
|
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
931
936
|
onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
932
937
|
show: boolean;
|
@@ -974,9 +979,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
974
979
|
};
|
975
980
|
selection: {
|
976
981
|
subscribe(fn: (result: {
|
977
|
-
|
978
|
-
|
979
|
-
|
982
|
+
set: (elements: Node | Array<Node>) => void;
|
983
|
+
capture: () => void;
|
984
|
+
store: () => void;
|
985
|
+
revertToStored: () => void;
|
986
|
+
ensure: () => void;
|
980
987
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
981
988
|
};
|
982
989
|
plugin: {
|
@@ -1056,7 +1063,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1056
1063
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
1057
1064
|
};
|
1058
1065
|
actions: {
|
1059
|
-
|
1066
|
+
captureSelection: () => void;
|
1060
1067
|
};
|
1061
1068
|
formatting: {
|
1062
1069
|
add: (element: HTMLElement) => void;
|
@@ -1081,9 +1088,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1081
1088
|
helpers: {
|
1082
1089
|
editor: {
|
1083
1090
|
ensure: {
|
1084
|
-
uniqueIds: (element: HTMLElement
|
1085
|
-
maxNodeId: number;
|
1086
|
-
}) => HTMLElement;
|
1091
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1087
1092
|
selectionIsInEditor: (range: Range) => void;
|
1088
1093
|
};
|
1089
1094
|
cursor: {
|
@@ -1111,7 +1116,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1111
1116
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1112
1117
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1113
1118
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1114
|
-
htmlElementInStructureById: (id:
|
1119
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1115
1120
|
};
|
1116
1121
|
remove: {
|
1117
1122
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1165,9 +1170,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1165
1170
|
};
|
1166
1171
|
};
|
1167
1172
|
selection: () => {
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1173
|
+
set: (elements: Node | Array<Node>) => void;
|
1174
|
+
capture: () => void;
|
1175
|
+
store: () => void;
|
1176
|
+
revertToStored: () => void;
|
1177
|
+
ensure: () => void;
|
1171
1178
|
};
|
1172
1179
|
plugin: () => {
|
1173
1180
|
register: {
|
@@ -1233,7 +1240,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1233
1240
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
1234
1241
|
};
|
1235
1242
|
actions: {
|
1236
|
-
|
1243
|
+
captureSelection: () => void;
|
1237
1244
|
};
|
1238
1245
|
formatting: {
|
1239
1246
|
add: (element: HTMLElement) => void;
|
@@ -1258,9 +1265,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1258
1265
|
helpers: {
|
1259
1266
|
editor: {
|
1260
1267
|
ensure: {
|
1261
|
-
uniqueIds: (element: HTMLElement
|
1262
|
-
maxNodeId: number;
|
1263
|
-
}) => HTMLElement;
|
1268
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1264
1269
|
selectionIsInEditor: (range: Range) => void;
|
1265
1270
|
};
|
1266
1271
|
cursor: {
|
@@ -1288,7 +1293,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1288
1293
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1289
1294
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1290
1295
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1291
|
-
htmlElementInStructureById: (id:
|
1296
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1292
1297
|
};
|
1293
1298
|
remove: {
|
1294
1299
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1322,7 +1327,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1322
1327
|
};
|
1323
1328
|
};
|
1324
1329
|
element: {
|
1325
|
-
byId: (id:
|
1330
|
+
byId: (id: string) => HTMLElement;
|
1331
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
1326
1332
|
};
|
1327
1333
|
};
|
1328
1334
|
} & {
|
@@ -1334,6 +1340,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1334
1340
|
};
|
1335
1341
|
};
|
1336
1342
|
onDispatched: {
|
1343
|
+
addAction: {
|
1344
|
+
subscribe(fn: (result: void, action: FlowEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1345
|
+
};
|
1337
1346
|
setCustomRenderer: {
|
1338
1347
|
subscribe(fn: (result: void, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1339
1348
|
};
|
@@ -1350,7 +1359,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1350
1359
|
plugins: import("..").FlowEditorPlugin[];
|
1351
1360
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
1352
1361
|
hideToolbar: boolean;
|
1353
|
-
maxNodeId: number;
|
1354
1362
|
toolbarActions: FlowEditorActionRegistration[];
|
1355
1363
|
editor: HTMLDivElement;
|
1356
1364
|
nodeSelection: import("..").NodeSelection;
|
@@ -1358,6 +1366,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1358
1366
|
id: string;
|
1359
1367
|
pluginContext: import("..").FlowEditorPluginContext;
|
1360
1368
|
selectedRange: Range;
|
1369
|
+
storedRange: Range;
|
1361
1370
|
showPlaceHolder: boolean;
|
1362
1371
|
definitionSelector: {
|
1363
1372
|
show: boolean;
|
@@ -1370,7 +1379,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1370
1379
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
1371
1380
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
1372
1381
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1373
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
1374
1382
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
1375
1383
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
1376
1384
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -1378,6 +1386,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1378
1386
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
1379
1387
|
onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
|
1380
1388
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
1389
|
+
onMutatedStoredRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
1381
1390
|
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1382
1391
|
onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
1383
1392
|
show: boolean;
|
@@ -1425,9 +1434,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1425
1434
|
};
|
1426
1435
|
selection: {
|
1427
1436
|
subscribe(fn: (result: {
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1437
|
+
set: (elements: Node | Array<Node>) => void;
|
1438
|
+
capture: () => void;
|
1439
|
+
store: () => void;
|
1440
|
+
revertToStored: () => void;
|
1441
|
+
ensure: () => void;
|
1431
1442
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1432
1443
|
};
|
1433
1444
|
plugin: {
|
@@ -1507,7 +1518,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1507
1518
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
1508
1519
|
};
|
1509
1520
|
actions: {
|
1510
|
-
|
1521
|
+
captureSelection: () => void;
|
1511
1522
|
};
|
1512
1523
|
formatting: {
|
1513
1524
|
add: (element: HTMLElement) => void;
|
@@ -1532,9 +1543,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1532
1543
|
helpers: {
|
1533
1544
|
editor: {
|
1534
1545
|
ensure: {
|
1535
|
-
uniqueIds: (element: HTMLElement
|
1536
|
-
maxNodeId: number;
|
1537
|
-
}) => HTMLElement;
|
1546
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1538
1547
|
selectionIsInEditor: (range: Range) => void;
|
1539
1548
|
};
|
1540
1549
|
cursor: {
|
@@ -1562,7 +1571,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1562
1571
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1563
1572
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1564
1573
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1565
|
-
htmlElementInStructureById: (id:
|
1574
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1566
1575
|
};
|
1567
1576
|
remove: {
|
1568
1577
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1616,9 +1625,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1616
1625
|
};
|
1617
1626
|
};
|
1618
1627
|
selection: () => {
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1628
|
+
set: (elements: Node | Array<Node>) => void;
|
1629
|
+
capture: () => void;
|
1630
|
+
store: () => void;
|
1631
|
+
revertToStored: () => void;
|
1632
|
+
ensure: () => void;
|
1622
1633
|
};
|
1623
1634
|
plugin: () => {
|
1624
1635
|
register: {
|
@@ -1684,7 +1695,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1684
1695
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
1685
1696
|
};
|
1686
1697
|
actions: {
|
1687
|
-
|
1698
|
+
captureSelection: () => void;
|
1688
1699
|
};
|
1689
1700
|
formatting: {
|
1690
1701
|
add: (element: HTMLElement) => void;
|
@@ -1709,9 +1720,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1709
1720
|
helpers: {
|
1710
1721
|
editor: {
|
1711
1722
|
ensure: {
|
1712
|
-
uniqueIds: (element: HTMLElement
|
1713
|
-
maxNodeId: number;
|
1714
|
-
}) => HTMLElement;
|
1723
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1715
1724
|
selectionIsInEditor: (range: Range) => void;
|
1716
1725
|
};
|
1717
1726
|
cursor: {
|
@@ -1739,7 +1748,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1739
1748
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
1740
1749
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
1741
1750
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
1742
|
-
htmlElementInStructureById: (id:
|
1751
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
1743
1752
|
};
|
1744
1753
|
remove: {
|
1745
1754
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -1773,7 +1782,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1773
1782
|
};
|
1774
1783
|
};
|
1775
1784
|
element: {
|
1776
|
-
byId: (id:
|
1785
|
+
byId: (id: string) => HTMLElement;
|
1786
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
1777
1787
|
};
|
1778
1788
|
};
|
1779
1789
|
} & {
|
@@ -1785,6 +1795,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1785
1795
|
};
|
1786
1796
|
};
|
1787
1797
|
onFailure: {
|
1798
|
+
addAction: {
|
1799
|
+
subscribe(fn: (failureReason: any, action: FlowEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1800
|
+
};
|
1788
1801
|
setCustomRenderer: {
|
1789
1802
|
subscribe(fn: (failureReason: any, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1790
1803
|
};
|
@@ -1801,7 +1814,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1801
1814
|
plugins: import("..").FlowEditorPlugin[];
|
1802
1815
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
1803
1816
|
hideToolbar: boolean;
|
1804
|
-
maxNodeId: number;
|
1805
1817
|
toolbarActions: FlowEditorActionRegistration[];
|
1806
1818
|
editor: HTMLDivElement;
|
1807
1819
|
nodeSelection: import("..").NodeSelection;
|
@@ -1809,6 +1821,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1809
1821
|
id: string;
|
1810
1822
|
pluginContext: import("..").FlowEditorPluginContext;
|
1811
1823
|
selectedRange: Range;
|
1824
|
+
storedRange: Range;
|
1812
1825
|
showPlaceHolder: boolean;
|
1813
1826
|
definitionSelector: {
|
1814
1827
|
show: boolean;
|
@@ -1821,7 +1834,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1821
1834
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
1822
1835
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
1823
1836
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1824
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
1825
1837
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
1826
1838
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
1827
1839
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
|
@@ -1829,6 +1841,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1829
1841
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
1830
1842
|
onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
|
1831
1843
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
1844
|
+
onMutatedStoredRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
1832
1845
|
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1833
1846
|
onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
1834
1847
|
show: boolean;
|
@@ -1876,9 +1889,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1876
1889
|
};
|
1877
1890
|
selection: {
|
1878
1891
|
subscribe(fn: (result: {
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1892
|
+
set: (elements: Node | Array<Node>) => void;
|
1893
|
+
capture: () => void;
|
1894
|
+
store: () => void;
|
1895
|
+
revertToStored: () => void;
|
1896
|
+
ensure: () => void;
|
1882
1897
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1883
1898
|
};
|
1884
1899
|
plugin: {
|
@@ -1958,7 +1973,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1958
1973
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
1959
1974
|
};
|
1960
1975
|
actions: {
|
1961
|
-
|
1976
|
+
captureSelection: () => void;
|
1962
1977
|
};
|
1963
1978
|
formatting: {
|
1964
1979
|
add: (element: HTMLElement) => void;
|
@@ -1983,9 +1998,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1983
1998
|
helpers: {
|
1984
1999
|
editor: {
|
1985
2000
|
ensure: {
|
1986
|
-
uniqueIds: (element: HTMLElement
|
1987
|
-
maxNodeId: number;
|
1988
|
-
}) => HTMLElement;
|
2001
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
1989
2002
|
selectionIsInEditor: (range: Range) => void;
|
1990
2003
|
};
|
1991
2004
|
cursor: {
|
@@ -2013,7 +2026,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2013
2026
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
2014
2027
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
2015
2028
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
2016
|
-
htmlElementInStructureById: (id:
|
2029
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
2017
2030
|
};
|
2018
2031
|
remove: {
|
2019
2032
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -2067,9 +2080,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2067
2080
|
};
|
2068
2081
|
};
|
2069
2082
|
selection: () => {
|
2070
|
-
|
2071
|
-
|
2072
|
-
|
2083
|
+
set: (elements: Node | Array<Node>) => void;
|
2084
|
+
capture: () => void;
|
2085
|
+
store: () => void;
|
2086
|
+
revertToStored: () => void;
|
2087
|
+
ensure: () => void;
|
2073
2088
|
};
|
2074
2089
|
plugin: () => {
|
2075
2090
|
register: {
|
@@ -2135,7 +2150,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2135
2150
|
isBeforeContent: (range: Range, container: HTMLElement) => boolean;
|
2136
2151
|
};
|
2137
2152
|
actions: {
|
2138
|
-
|
2153
|
+
captureSelection: () => void;
|
2139
2154
|
};
|
2140
2155
|
formatting: {
|
2141
2156
|
add: (element: HTMLElement) => void;
|
@@ -2160,9 +2175,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2160
2175
|
helpers: {
|
2161
2176
|
editor: {
|
2162
2177
|
ensure: {
|
2163
|
-
uniqueIds: (element: HTMLElement
|
2164
|
-
maxNodeId: number;
|
2165
|
-
}) => HTMLElement;
|
2178
|
+
uniqueIds: (element: HTMLElement) => HTMLElement;
|
2166
2179
|
selectionIsInEditor: (range: Range) => void;
|
2167
2180
|
};
|
2168
2181
|
cursor: {
|
@@ -2190,7 +2203,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2190
2203
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
2191
2204
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
2192
2205
|
nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
|
2193
|
-
htmlElementInStructureById: (id:
|
2206
|
+
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
2194
2207
|
};
|
2195
2208
|
remove: {
|
2196
2209
|
nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
|
@@ -2224,7 +2237,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2224
2237
|
};
|
2225
2238
|
};
|
2226
2239
|
element: {
|
2227
|
-
byId: (id:
|
2240
|
+
byId: (id: string) => HTMLElement;
|
2241
|
+
byRef: (ref: HTMLElement) => HTMLElement;
|
2228
2242
|
};
|
2229
2243
|
};
|
2230
2244
|
} & {
|
@@ -2236,6 +2250,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
2236
2250
|
};
|
2237
2251
|
};
|
2238
2252
|
} & {
|
2253
|
+
addAction: (action: FlowEditorActionRegistration) => void;
|
2239
2254
|
setCustomRenderer: (renderer: () => JSX.Element) => void;
|
2240
2255
|
removeAllActions: () => void;
|
2241
2256
|
setAsActive: () => void;
|