@omnia/fx 8.0.275-dev → 8.0.277-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/admin/businessprofile/settings/language/LanguageSettings.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/admin/businessprofile/settings/language/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/settings/blades/tenantregional/components/LanguageSettings.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/admin/settings/blades/tenantregional/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/FlowEditor.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/flow/editor/FlowEditorToolbar.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/flow/editor/commands/EditorCommands.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/models/EditorPlugin.d.ts +11 -2
- package/internal-do-not-import-from-here/ux/flow/editor/parsers/HtmlParser.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/parsers/JSONParser.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +33 -7
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +174 -31
- package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPluginHook.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/flow/renderer/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/Handler.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/models/flow/SpacingFormatNode.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/flow/TextAlignNode.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +9 -3
- package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyInput.d.ts +0 -18
- package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +29 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +7 -4
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentPropertyDescriptorTemplates.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/templates/ContentTemplates.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/{Editorhelper.d.ts → EditorHelper.d.ts} +0 -0
@@ -6,8 +6,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
6
6
|
state: {
|
7
7
|
editorContent: import("../../..").FlowContent;
|
8
8
|
plugins: import("..").FlowEditorPlugin[];
|
9
|
+
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
9
10
|
hideToolbar: boolean;
|
10
|
-
editMode: boolean;
|
11
11
|
maxNodeId: number;
|
12
12
|
toolbarActions: FlowEditorActionRegistration[];
|
13
13
|
editor: HTMLDivElement;
|
@@ -26,8 +26,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
26
26
|
events: {
|
27
27
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
|
28
28
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
29
|
+
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
29
30
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
30
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
31
31
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
32
32
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
33
33
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
@@ -45,6 +45,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
45
45
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
46
46
|
actions: {
|
47
47
|
onDispatching: {
|
48
|
+
selection: {
|
49
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
|
+
};
|
48
51
|
plugin: {
|
49
52
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
53
|
};
|
@@ -68,6 +71,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
68
71
|
};
|
69
72
|
};
|
70
73
|
onDispatched: {
|
74
|
+
selection: {
|
75
|
+
subscribe(fn: (result: {
|
76
|
+
ensure: {
|
77
|
+
storedRange: () => void;
|
78
|
+
};
|
79
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
80
|
+
};
|
71
81
|
plugin: {
|
72
82
|
subscribe(fn: (result: {
|
73
83
|
register: {
|
@@ -79,7 +89,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
79
89
|
};
|
80
90
|
content: {
|
81
91
|
subscribe(fn: (result: {
|
82
|
-
sync: () =>
|
92
|
+
sync: () => void;
|
83
93
|
set: {
|
84
94
|
byObject: (content: import("../../..").FlowContent) => void;
|
85
95
|
byString: (content: string) => void;
|
@@ -88,7 +98,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
88
98
|
};
|
89
99
|
set: {
|
90
100
|
subscribe(fn: (result: {
|
91
|
-
mode: (editMode: boolean) => void;
|
92
101
|
container: (el: HTMLDivElement) => void;
|
93
102
|
focus: () => void;
|
94
103
|
placeHolderVisibility: () => void;
|
@@ -133,6 +142,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
133
142
|
get: {
|
134
143
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
135
144
|
};
|
145
|
+
ensure: {
|
146
|
+
storedRange: () => void;
|
147
|
+
};
|
136
148
|
};
|
137
149
|
cursor: {
|
138
150
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -212,6 +224,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
212
224
|
};
|
213
225
|
};
|
214
226
|
onFailure: {
|
227
|
+
selection: {
|
228
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
229
|
+
};
|
215
230
|
plugin: {
|
216
231
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
217
232
|
};
|
@@ -235,6 +250,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
235
250
|
};
|
236
251
|
};
|
237
252
|
} & {
|
253
|
+
selection: () => {
|
254
|
+
ensure: {
|
255
|
+
storedRange: () => void;
|
256
|
+
};
|
257
|
+
};
|
238
258
|
plugin: () => {
|
239
259
|
register: {
|
240
260
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
@@ -243,14 +263,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
243
263
|
};
|
244
264
|
};
|
245
265
|
content: () => {
|
246
|
-
sync: () =>
|
266
|
+
sync: () => void;
|
247
267
|
set: {
|
248
268
|
byObject: (content: import("../../..").FlowContent) => void;
|
249
269
|
byString: (content: string) => void;
|
250
270
|
};
|
251
271
|
};
|
252
272
|
set: () => {
|
253
|
-
mode: (editMode: boolean) => void;
|
254
273
|
container: (el: HTMLDivElement) => void;
|
255
274
|
focus: () => void;
|
256
275
|
placeHolderVisibility: () => void;
|
@@ -287,6 +306,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
287
306
|
get: {
|
288
307
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
289
308
|
};
|
309
|
+
ensure: {
|
310
|
+
storedRange: () => void;
|
311
|
+
};
|
290
312
|
};
|
291
313
|
cursor: {
|
292
314
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -377,8 +399,12 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
377
399
|
};
|
378
400
|
get: {
|
379
401
|
byType: (pluginType: string) => import("..").FlowNodeReference[];
|
402
|
+
all: () => import("..").NodeSelection;
|
380
403
|
};
|
381
404
|
};
|
405
|
+
element: {
|
406
|
+
byId: (id: number) => HTMLElement;
|
407
|
+
};
|
382
408
|
};
|
383
409
|
} & {
|
384
410
|
dispose?: () => void;
|
@@ -392,8 +418,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
392
418
|
state: {
|
393
419
|
editorContent: import("../../..").FlowContent;
|
394
420
|
plugins: import("..").FlowEditorPlugin[];
|
421
|
+
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
395
422
|
hideToolbar: boolean;
|
396
|
-
editMode: boolean;
|
397
423
|
maxNodeId: number;
|
398
424
|
toolbarActions: FlowEditorActionRegistration[];
|
399
425
|
editor: HTMLDivElement;
|
@@ -412,8 +438,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
412
438
|
events: {
|
413
439
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
|
414
440
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
441
|
+
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
415
442
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
416
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
417
443
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
418
444
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
419
445
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
@@ -431,6 +457,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
431
457
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
432
458
|
actions: {
|
433
459
|
onDispatching: {
|
460
|
+
selection: {
|
461
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
462
|
+
};
|
434
463
|
plugin: {
|
435
464
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
436
465
|
};
|
@@ -454,6 +483,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
454
483
|
};
|
455
484
|
};
|
456
485
|
onDispatched: {
|
486
|
+
selection: {
|
487
|
+
subscribe(fn: (result: {
|
488
|
+
ensure: {
|
489
|
+
storedRange: () => void;
|
490
|
+
};
|
491
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
492
|
+
};
|
457
493
|
plugin: {
|
458
494
|
subscribe(fn: (result: {
|
459
495
|
register: {
|
@@ -465,7 +501,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
465
501
|
};
|
466
502
|
content: {
|
467
503
|
subscribe(fn: (result: {
|
468
|
-
sync: () =>
|
504
|
+
sync: () => void;
|
469
505
|
set: {
|
470
506
|
byObject: (content: import("../../..").FlowContent) => void;
|
471
507
|
byString: (content: string) => void;
|
@@ -474,7 +510,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
474
510
|
};
|
475
511
|
set: {
|
476
512
|
subscribe(fn: (result: {
|
477
|
-
mode: (editMode: boolean) => void;
|
478
513
|
container: (el: HTMLDivElement) => void;
|
479
514
|
focus: () => void;
|
480
515
|
placeHolderVisibility: () => void;
|
@@ -519,6 +554,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
519
554
|
get: {
|
520
555
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
521
556
|
};
|
557
|
+
ensure: {
|
558
|
+
storedRange: () => void;
|
559
|
+
};
|
522
560
|
};
|
523
561
|
cursor: {
|
524
562
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -598,6 +636,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
598
636
|
};
|
599
637
|
};
|
600
638
|
onFailure: {
|
639
|
+
selection: {
|
640
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
641
|
+
};
|
601
642
|
plugin: {
|
602
643
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
603
644
|
};
|
@@ -621,6 +662,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
621
662
|
};
|
622
663
|
};
|
623
664
|
} & {
|
665
|
+
selection: () => {
|
666
|
+
ensure: {
|
667
|
+
storedRange: () => void;
|
668
|
+
};
|
669
|
+
};
|
624
670
|
plugin: () => {
|
625
671
|
register: {
|
626
672
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
@@ -629,14 +675,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
629
675
|
};
|
630
676
|
};
|
631
677
|
content: () => {
|
632
|
-
sync: () =>
|
678
|
+
sync: () => void;
|
633
679
|
set: {
|
634
680
|
byObject: (content: import("../../..").FlowContent) => void;
|
635
681
|
byString: (content: string) => void;
|
636
682
|
};
|
637
683
|
};
|
638
684
|
set: () => {
|
639
|
-
mode: (editMode: boolean) => void;
|
640
685
|
container: (el: HTMLDivElement) => void;
|
641
686
|
focus: () => void;
|
642
687
|
placeHolderVisibility: () => void;
|
@@ -673,6 +718,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
673
718
|
get: {
|
674
719
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
675
720
|
};
|
721
|
+
ensure: {
|
722
|
+
storedRange: () => void;
|
723
|
+
};
|
676
724
|
};
|
677
725
|
cursor: {
|
678
726
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -763,8 +811,12 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
763
811
|
};
|
764
812
|
get: {
|
765
813
|
byType: (pluginType: string) => import("..").FlowNodeReference[];
|
814
|
+
all: () => import("..").NodeSelection;
|
766
815
|
};
|
767
816
|
};
|
817
|
+
element: {
|
818
|
+
byId: (id: number) => HTMLElement;
|
819
|
+
};
|
768
820
|
};
|
769
821
|
} & {
|
770
822
|
dispose?: () => void;
|
@@ -781,13 +833,16 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
781
833
|
removeAllActions: {
|
782
834
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
783
835
|
};
|
836
|
+
setAsActive: {
|
837
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
838
|
+
};
|
784
839
|
setActiveEditorStore: {
|
785
840
|
subscribe(fn: (store: {
|
786
841
|
state: {
|
787
842
|
editorContent: import("../../..").FlowContent;
|
788
843
|
plugins: import("..").FlowEditorPlugin[];
|
844
|
+
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
789
845
|
hideToolbar: boolean;
|
790
|
-
editMode: boolean;
|
791
846
|
maxNodeId: number;
|
792
847
|
toolbarActions: FlowEditorActionRegistration[];
|
793
848
|
editor: HTMLDivElement;
|
@@ -806,8 +861,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
806
861
|
events: {
|
807
862
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
|
808
863
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
864
|
+
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
809
865
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
810
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
811
866
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
812
867
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
813
868
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
@@ -825,6 +880,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
825
880
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
826
881
|
actions: {
|
827
882
|
onDispatching: {
|
883
|
+
selection: {
|
884
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
885
|
+
};
|
828
886
|
plugin: {
|
829
887
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
830
888
|
};
|
@@ -848,6 +906,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
848
906
|
};
|
849
907
|
};
|
850
908
|
onDispatched: {
|
909
|
+
selection: {
|
910
|
+
subscribe(fn: (result: {
|
911
|
+
ensure: {
|
912
|
+
storedRange: () => void;
|
913
|
+
};
|
914
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
915
|
+
};
|
851
916
|
plugin: {
|
852
917
|
subscribe(fn: (result: {
|
853
918
|
register: {
|
@@ -859,7 +924,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
859
924
|
};
|
860
925
|
content: {
|
861
926
|
subscribe(fn: (result: {
|
862
|
-
sync: () =>
|
927
|
+
sync: () => void;
|
863
928
|
set: {
|
864
929
|
byObject: (content: import("../../..").FlowContent) => void;
|
865
930
|
byString: (content: string) => void;
|
@@ -868,7 +933,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
868
933
|
};
|
869
934
|
set: {
|
870
935
|
subscribe(fn: (result: {
|
871
|
-
mode: (editMode: boolean) => void;
|
872
936
|
container: (el: HTMLDivElement) => void;
|
873
937
|
focus: () => void;
|
874
938
|
placeHolderVisibility: () => void;
|
@@ -913,6 +977,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
913
977
|
get: {
|
914
978
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
915
979
|
};
|
980
|
+
ensure: {
|
981
|
+
storedRange: () => void;
|
982
|
+
};
|
916
983
|
};
|
917
984
|
cursor: {
|
918
985
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -992,6 +1059,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
992
1059
|
};
|
993
1060
|
};
|
994
1061
|
onFailure: {
|
1062
|
+
selection: {
|
1063
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1064
|
+
};
|
995
1065
|
plugin: {
|
996
1066
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
997
1067
|
};
|
@@ -1015,6 +1085,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1015
1085
|
};
|
1016
1086
|
};
|
1017
1087
|
} & {
|
1088
|
+
selection: () => {
|
1089
|
+
ensure: {
|
1090
|
+
storedRange: () => void;
|
1091
|
+
};
|
1092
|
+
};
|
1018
1093
|
plugin: () => {
|
1019
1094
|
register: {
|
1020
1095
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
@@ -1023,14 +1098,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1023
1098
|
};
|
1024
1099
|
};
|
1025
1100
|
content: () => {
|
1026
|
-
sync: () =>
|
1101
|
+
sync: () => void;
|
1027
1102
|
set: {
|
1028
1103
|
byObject: (content: import("../../..").FlowContent) => void;
|
1029
1104
|
byString: (content: string) => void;
|
1030
1105
|
};
|
1031
1106
|
};
|
1032
1107
|
set: () => {
|
1033
|
-
mode: (editMode: boolean) => void;
|
1034
1108
|
container: (el: HTMLDivElement) => void;
|
1035
1109
|
focus: () => void;
|
1036
1110
|
placeHolderVisibility: () => void;
|
@@ -1067,6 +1141,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1067
1141
|
get: {
|
1068
1142
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
1069
1143
|
};
|
1144
|
+
ensure: {
|
1145
|
+
storedRange: () => void;
|
1146
|
+
};
|
1070
1147
|
};
|
1071
1148
|
cursor: {
|
1072
1149
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -1157,8 +1234,12 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1157
1234
|
};
|
1158
1235
|
get: {
|
1159
1236
|
byType: (pluginType: string) => import("..").FlowNodeReference[];
|
1237
|
+
all: () => import("..").NodeSelection;
|
1160
1238
|
};
|
1161
1239
|
};
|
1240
|
+
element: {
|
1241
|
+
byId: (id: number) => HTMLElement;
|
1242
|
+
};
|
1162
1243
|
};
|
1163
1244
|
} & {
|
1164
1245
|
dispose?: () => void;
|
@@ -1175,13 +1256,16 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1175
1256
|
removeAllActions: {
|
1176
1257
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1177
1258
|
};
|
1259
|
+
setAsActive: {
|
1260
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1261
|
+
};
|
1178
1262
|
setActiveEditorStore: {
|
1179
1263
|
subscribe(fn: (result: void, store: {
|
1180
1264
|
state: {
|
1181
1265
|
editorContent: import("../../..").FlowContent;
|
1182
1266
|
plugins: import("..").FlowEditorPlugin[];
|
1267
|
+
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
1183
1268
|
hideToolbar: boolean;
|
1184
|
-
editMode: boolean;
|
1185
1269
|
maxNodeId: number;
|
1186
1270
|
toolbarActions: FlowEditorActionRegistration[];
|
1187
1271
|
editor: HTMLDivElement;
|
@@ -1200,8 +1284,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1200
1284
|
events: {
|
1201
1285
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
|
1202
1286
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
1287
|
+
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
1203
1288
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1204
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1205
1289
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
1206
1290
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
1207
1291
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
@@ -1219,6 +1303,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1219
1303
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1220
1304
|
actions: {
|
1221
1305
|
onDispatching: {
|
1306
|
+
selection: {
|
1307
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1308
|
+
};
|
1222
1309
|
plugin: {
|
1223
1310
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1224
1311
|
};
|
@@ -1242,6 +1329,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1242
1329
|
};
|
1243
1330
|
};
|
1244
1331
|
onDispatched: {
|
1332
|
+
selection: {
|
1333
|
+
subscribe(fn: (result: {
|
1334
|
+
ensure: {
|
1335
|
+
storedRange: () => void;
|
1336
|
+
};
|
1337
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1338
|
+
};
|
1245
1339
|
plugin: {
|
1246
1340
|
subscribe(fn: (result: {
|
1247
1341
|
register: {
|
@@ -1253,7 +1347,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1253
1347
|
};
|
1254
1348
|
content: {
|
1255
1349
|
subscribe(fn: (result: {
|
1256
|
-
sync: () =>
|
1350
|
+
sync: () => void;
|
1257
1351
|
set: {
|
1258
1352
|
byObject: (content: import("../../..").FlowContent) => void;
|
1259
1353
|
byString: (content: string) => void;
|
@@ -1262,7 +1356,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1262
1356
|
};
|
1263
1357
|
set: {
|
1264
1358
|
subscribe(fn: (result: {
|
1265
|
-
mode: (editMode: boolean) => void;
|
1266
1359
|
container: (el: HTMLDivElement) => void;
|
1267
1360
|
focus: () => void;
|
1268
1361
|
placeHolderVisibility: () => void;
|
@@ -1307,6 +1400,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1307
1400
|
get: {
|
1308
1401
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
1309
1402
|
};
|
1403
|
+
ensure: {
|
1404
|
+
storedRange: () => void;
|
1405
|
+
};
|
1310
1406
|
};
|
1311
1407
|
cursor: {
|
1312
1408
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -1386,6 +1482,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1386
1482
|
};
|
1387
1483
|
};
|
1388
1484
|
onFailure: {
|
1485
|
+
selection: {
|
1486
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1487
|
+
};
|
1389
1488
|
plugin: {
|
1390
1489
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1391
1490
|
};
|
@@ -1409,6 +1508,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1409
1508
|
};
|
1410
1509
|
};
|
1411
1510
|
} & {
|
1511
|
+
selection: () => {
|
1512
|
+
ensure: {
|
1513
|
+
storedRange: () => void;
|
1514
|
+
};
|
1515
|
+
};
|
1412
1516
|
plugin: () => {
|
1413
1517
|
register: {
|
1414
1518
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
@@ -1417,14 +1521,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1417
1521
|
};
|
1418
1522
|
};
|
1419
1523
|
content: () => {
|
1420
|
-
sync: () =>
|
1524
|
+
sync: () => void;
|
1421
1525
|
set: {
|
1422
1526
|
byObject: (content: import("../../..").FlowContent) => void;
|
1423
1527
|
byString: (content: string) => void;
|
1424
1528
|
};
|
1425
1529
|
};
|
1426
1530
|
set: () => {
|
1427
|
-
mode: (editMode: boolean) => void;
|
1428
1531
|
container: (el: HTMLDivElement) => void;
|
1429
1532
|
focus: () => void;
|
1430
1533
|
placeHolderVisibility: () => void;
|
@@ -1461,6 +1564,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1461
1564
|
get: {
|
1462
1565
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
1463
1566
|
};
|
1567
|
+
ensure: {
|
1568
|
+
storedRange: () => void;
|
1569
|
+
};
|
1464
1570
|
};
|
1465
1571
|
cursor: {
|
1466
1572
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -1551,8 +1657,12 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1551
1657
|
};
|
1552
1658
|
get: {
|
1553
1659
|
byType: (pluginType: string) => import("..").FlowNodeReference[];
|
1660
|
+
all: () => import("..").NodeSelection;
|
1554
1661
|
};
|
1555
1662
|
};
|
1663
|
+
element: {
|
1664
|
+
byId: (id: number) => HTMLElement;
|
1665
|
+
};
|
1556
1666
|
};
|
1557
1667
|
} & {
|
1558
1668
|
dispose?: () => void;
|
@@ -1569,13 +1679,16 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1569
1679
|
removeAllActions: {
|
1570
1680
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1571
1681
|
};
|
1682
|
+
setAsActive: {
|
1683
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1684
|
+
};
|
1572
1685
|
setActiveEditorStore: {
|
1573
1686
|
subscribe(fn: (failureReason: any, store: {
|
1574
1687
|
state: {
|
1575
1688
|
editorContent: import("../../..").FlowContent;
|
1576
1689
|
plugins: import("..").FlowEditorPlugin[];
|
1690
|
+
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
1577
1691
|
hideToolbar: boolean;
|
1578
|
-
editMode: boolean;
|
1579
1692
|
maxNodeId: number;
|
1580
1693
|
toolbarActions: FlowEditorActionRegistration[];
|
1581
1694
|
editor: HTMLDivElement;
|
@@ -1594,8 +1707,8 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1594
1707
|
events: {
|
1595
1708
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
|
1596
1709
|
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
|
1710
|
+
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
1597
1711
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1598
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
1599
1712
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
1600
1713
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
1601
1714
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
@@ -1613,6 +1726,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1613
1726
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
1614
1727
|
actions: {
|
1615
1728
|
onDispatching: {
|
1729
|
+
selection: {
|
1730
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1731
|
+
};
|
1616
1732
|
plugin: {
|
1617
1733
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1618
1734
|
};
|
@@ -1636,6 +1752,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1636
1752
|
};
|
1637
1753
|
};
|
1638
1754
|
onDispatched: {
|
1755
|
+
selection: {
|
1756
|
+
subscribe(fn: (result: {
|
1757
|
+
ensure: {
|
1758
|
+
storedRange: () => void;
|
1759
|
+
};
|
1760
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1761
|
+
};
|
1639
1762
|
plugin: {
|
1640
1763
|
subscribe(fn: (result: {
|
1641
1764
|
register: {
|
@@ -1647,7 +1770,7 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1647
1770
|
};
|
1648
1771
|
content: {
|
1649
1772
|
subscribe(fn: (result: {
|
1650
|
-
sync: () =>
|
1773
|
+
sync: () => void;
|
1651
1774
|
set: {
|
1652
1775
|
byObject: (content: import("../../..").FlowContent) => void;
|
1653
1776
|
byString: (content: string) => void;
|
@@ -1656,7 +1779,6 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1656
1779
|
};
|
1657
1780
|
set: {
|
1658
1781
|
subscribe(fn: (result: {
|
1659
|
-
mode: (editMode: boolean) => void;
|
1660
1782
|
container: (el: HTMLDivElement) => void;
|
1661
1783
|
focus: () => void;
|
1662
1784
|
placeHolderVisibility: () => void;
|
@@ -1701,6 +1823,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1701
1823
|
get: {
|
1702
1824
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
1703
1825
|
};
|
1826
|
+
ensure: {
|
1827
|
+
storedRange: () => void;
|
1828
|
+
};
|
1704
1829
|
};
|
1705
1830
|
cursor: {
|
1706
1831
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -1780,6 +1905,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1780
1905
|
};
|
1781
1906
|
};
|
1782
1907
|
onFailure: {
|
1908
|
+
selection: {
|
1909
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1910
|
+
};
|
1783
1911
|
plugin: {
|
1784
1912
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1785
1913
|
};
|
@@ -1803,6 +1931,11 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1803
1931
|
};
|
1804
1932
|
};
|
1805
1933
|
} & {
|
1934
|
+
selection: () => {
|
1935
|
+
ensure: {
|
1936
|
+
storedRange: () => void;
|
1937
|
+
};
|
1938
|
+
};
|
1806
1939
|
plugin: () => {
|
1807
1940
|
register: {
|
1808
1941
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
@@ -1811,14 +1944,13 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1811
1944
|
};
|
1812
1945
|
};
|
1813
1946
|
content: () => {
|
1814
|
-
sync: () =>
|
1947
|
+
sync: () => void;
|
1815
1948
|
set: {
|
1816
1949
|
byObject: (content: import("../../..").FlowContent) => void;
|
1817
1950
|
byString: (content: string) => void;
|
1818
1951
|
};
|
1819
1952
|
};
|
1820
1953
|
set: () => {
|
1821
|
-
mode: (editMode: boolean) => void;
|
1822
1954
|
container: (el: HTMLDivElement) => void;
|
1823
1955
|
focus: () => void;
|
1824
1956
|
placeHolderVisibility: () => void;
|
@@ -1855,6 +1987,9 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1855
1987
|
get: {
|
1856
1988
|
byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
|
1857
1989
|
};
|
1990
|
+
ensure: {
|
1991
|
+
storedRange: () => void;
|
1992
|
+
};
|
1858
1993
|
};
|
1859
1994
|
cursor: {
|
1860
1995
|
isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
|
@@ -1945,8 +2080,12 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1945
2080
|
};
|
1946
2081
|
get: {
|
1947
2082
|
byType: (pluginType: string) => import("..").FlowNodeReference[];
|
2083
|
+
all: () => import("..").NodeSelection;
|
1948
2084
|
};
|
1949
2085
|
};
|
2086
|
+
element: {
|
2087
|
+
byId: (id: number) => HTMLElement;
|
2088
|
+
};
|
1950
2089
|
};
|
1951
2090
|
} & {
|
1952
2091
|
dispose?: () => void;
|
@@ -1959,11 +2098,15 @@ export declare const useFlowEditorToolbarStore: () => {
|
|
1959
2098
|
} & {
|
1960
2099
|
setCustomRenderer: (renderer: () => JSX.Element) => void;
|
1961
2100
|
removeAllActions: () => void;
|
2101
|
+
setAsActive: () => void;
|
1962
2102
|
setActiveEditorStore: (store: ReturnType<typeof useFlowEditorStore>) => void;
|
1963
2103
|
setVisibility: (show: boolean) => void;
|
1964
2104
|
};
|
1965
2105
|
get: {
|
1966
|
-
|
2106
|
+
is: {
|
2107
|
+
activeStore(): boolean;
|
2108
|
+
hidden(): boolean;
|
2109
|
+
};
|
1967
2110
|
actionsGroupedAndSorted(): FlowEditorActionRegistration[][];
|
1968
2111
|
};
|
1969
2112
|
} & {
|