@omnia/fx 8.0.264-dev → 8.0.265-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/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +11 -11
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
- package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +2 -13
- package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
- package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.css.d.ts → floweditor/FlowEditorToolbar.css.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/EditorCommands.d.ts +8 -7
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/HtmlNodehelper.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +30 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownStore.d.ts → floweditor/stores/FlowEditorStore.d.ts} +24 -24
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownToolbarStore.d.ts → floweditor/stores/FlowEditorToolbarStore.d.ts} +107 -107
- package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -16
- package/package.json +2 -2
- package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -18
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.css.d.ts → floweditor/FlowEditor.css.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/ClipboardCommands.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/Editorhelper.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
@@ -1,15 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
export declare const
|
1
|
+
import { FlowEditorActionRegistration } from "@omnia/fx-models";
|
2
|
+
import { useFlowEditorStore } from "./FlowEditorStore";
|
3
|
+
export declare const useFlowEditorToolbarStore: () => {
|
4
4
|
state: {
|
5
5
|
activeEditorStore: {
|
6
6
|
state: {
|
7
|
-
editorContent: import("../models/EditorModels").
|
8
|
-
plugins: import("../models/EditorPlugin").
|
7
|
+
editorContent: import("../models/EditorModels").FlowContent;
|
8
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
9
9
|
hideToolbar: boolean;
|
10
10
|
editMode: boolean;
|
11
11
|
maxNodeId: number;
|
12
|
-
toolbarActions:
|
12
|
+
toolbarActions: FlowEditorActionRegistration[];
|
13
13
|
editor: HTMLDivElement;
|
14
14
|
nodeSelection: import("../models/EditorModels").NodeSelection;
|
15
15
|
telePorts: JSX.Element[];
|
@@ -18,12 +18,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
18
18
|
showPlaceHolder: boolean;
|
19
19
|
};
|
20
20
|
events: {
|
21
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").
|
22
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").
|
21
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
|
22
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
|
23
23
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
24
24
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
25
25
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
26
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
26
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
27
27
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
28
28
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
29
29
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
@@ -65,16 +65,16 @@ export declare const useMarkdownToolbarStore: () => {
|
|
65
65
|
plugin: {
|
66
66
|
subscribe(fn: (result: {
|
67
67
|
register: {
|
68
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
69
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
70
|
-
context: (ctx: import("../models/EditorPlugin").
|
68
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
69
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
70
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
71
71
|
};
|
72
72
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
73
73
|
};
|
74
74
|
content: {
|
75
75
|
subscribe(fn: (result: {
|
76
76
|
set: {
|
77
|
-
byJSON: (content: import("../models/EditorModels").
|
77
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
78
78
|
byString: (content: string) => void;
|
79
79
|
};
|
80
80
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -90,7 +90,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
90
90
|
};
|
91
91
|
toolbarAction: {
|
92
92
|
subscribe(fn: (result: {
|
93
|
-
add: (action:
|
93
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
94
94
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
95
95
|
};
|
96
96
|
formatting: {
|
@@ -147,14 +147,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
147
147
|
} & {
|
148
148
|
plugin: () => {
|
149
149
|
register: {
|
150
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
151
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
152
|
-
context: (ctx: import("../models/EditorPlugin").
|
150
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
151
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
152
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
153
153
|
};
|
154
154
|
};
|
155
155
|
content: () => {
|
156
156
|
set: {
|
157
|
-
byJSON: (content: import("../models/EditorModels").
|
157
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
158
158
|
byString: (content: string) => void;
|
159
159
|
};
|
160
160
|
};
|
@@ -162,7 +162,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
162
162
|
setEditorContainer: (el: HTMLDivElement) => void;
|
163
163
|
focusEditor: () => void;
|
164
164
|
toolbarAction: () => {
|
165
|
-
add: (action:
|
165
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
166
166
|
};
|
167
167
|
formatting: () => {
|
168
168
|
add: (element: HTMLElement) => void;
|
@@ -181,10 +181,10 @@ export declare const useMarkdownToolbarStore: () => {
|
|
181
181
|
};
|
182
182
|
};
|
183
183
|
get: {
|
184
|
-
plugins: import("../models/EditorPlugin").
|
185
|
-
hasContent: () => boolean;
|
184
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
186
185
|
content: {
|
187
|
-
|
186
|
+
isEmpty: () => boolean;
|
187
|
+
asJSON: () => import("../models/EditorModels").FlowContent;
|
188
188
|
asString: () => string;
|
189
189
|
};
|
190
190
|
selection: {
|
@@ -192,7 +192,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
192
192
|
dataType: (dataType: string) => boolean;
|
193
193
|
};
|
194
194
|
get: {
|
195
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
195
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
196
196
|
};
|
197
197
|
};
|
198
198
|
};
|
@@ -200,18 +200,18 @@ export declare const useMarkdownToolbarStore: () => {
|
|
200
200
|
dispose?: () => void;
|
201
201
|
};
|
202
202
|
show: boolean;
|
203
|
-
actions:
|
203
|
+
actions: FlowEditorActionRegistration[];
|
204
204
|
customActionRenderer: () => JSX.Element;
|
205
205
|
};
|
206
206
|
events: {
|
207
207
|
onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
208
208
|
state: {
|
209
|
-
editorContent: import("../models/EditorModels").
|
210
|
-
plugins: import("../models/EditorPlugin").
|
209
|
+
editorContent: import("../models/EditorModels").FlowContent;
|
210
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
211
211
|
hideToolbar: boolean;
|
212
212
|
editMode: boolean;
|
213
213
|
maxNodeId: number;
|
214
|
-
toolbarActions:
|
214
|
+
toolbarActions: FlowEditorActionRegistration[];
|
215
215
|
editor: HTMLDivElement;
|
216
216
|
nodeSelection: import("../models/EditorModels").NodeSelection;
|
217
217
|
telePorts: JSX.Element[];
|
@@ -220,12 +220,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
220
220
|
showPlaceHolder: boolean;
|
221
221
|
};
|
222
222
|
events: {
|
223
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").
|
224
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").
|
223
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
|
224
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
|
225
225
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
226
226
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
227
227
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
228
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
228
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
229
229
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
230
230
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
231
231
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
@@ -267,16 +267,16 @@ export declare const useMarkdownToolbarStore: () => {
|
|
267
267
|
plugin: {
|
268
268
|
subscribe(fn: (result: {
|
269
269
|
register: {
|
270
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
271
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
272
|
-
context: (ctx: import("../models/EditorPlugin").
|
270
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
271
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
272
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
273
273
|
};
|
274
274
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
275
275
|
};
|
276
276
|
content: {
|
277
277
|
subscribe(fn: (result: {
|
278
278
|
set: {
|
279
|
-
byJSON: (content: import("../models/EditorModels").
|
279
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
280
280
|
byString: (content: string) => void;
|
281
281
|
};
|
282
282
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -292,7 +292,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
292
292
|
};
|
293
293
|
toolbarAction: {
|
294
294
|
subscribe(fn: (result: {
|
295
|
-
add: (action:
|
295
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
296
296
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
297
297
|
};
|
298
298
|
formatting: {
|
@@ -349,14 +349,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
349
349
|
} & {
|
350
350
|
plugin: () => {
|
351
351
|
register: {
|
352
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
353
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
354
|
-
context: (ctx: import("../models/EditorPlugin").
|
352
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
353
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
354
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
355
355
|
};
|
356
356
|
};
|
357
357
|
content: () => {
|
358
358
|
set: {
|
359
|
-
byJSON: (content: import("../models/EditorModels").
|
359
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
360
360
|
byString: (content: string) => void;
|
361
361
|
};
|
362
362
|
};
|
@@ -364,7 +364,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
364
364
|
setEditorContainer: (el: HTMLDivElement) => void;
|
365
365
|
focusEditor: () => void;
|
366
366
|
toolbarAction: () => {
|
367
|
-
add: (action:
|
367
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
368
368
|
};
|
369
369
|
formatting: () => {
|
370
370
|
add: (element: HTMLElement) => void;
|
@@ -383,10 +383,10 @@ export declare const useMarkdownToolbarStore: () => {
|
|
383
383
|
};
|
384
384
|
};
|
385
385
|
get: {
|
386
|
-
plugins: import("../models/EditorPlugin").
|
387
|
-
hasContent: () => boolean;
|
386
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
388
387
|
content: {
|
389
|
-
|
388
|
+
isEmpty: () => boolean;
|
389
|
+
asJSON: () => import("../models/EditorModels").FlowContent;
|
390
390
|
asString: () => string;
|
391
391
|
};
|
392
392
|
selection: {
|
@@ -394,7 +394,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
394
394
|
dataType: (dataType: string) => boolean;
|
395
395
|
};
|
396
396
|
get: {
|
397
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
397
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
398
398
|
};
|
399
399
|
};
|
400
400
|
};
|
@@ -402,7 +402,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
402
402
|
dispose?: () => void;
|
403
403
|
}>;
|
404
404
|
onMutatedShow: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
405
|
-
onMutatedActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
405
|
+
onMutatedActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
406
406
|
onMutatedCustomActionRenderer: import("@omnia/fx").MessageBusExposeOnlySubscription<() => JSX.Element>;
|
407
407
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
408
408
|
actions: {
|
@@ -416,12 +416,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
416
416
|
setActiveEditorStore: {
|
417
417
|
subscribe(fn: (store: {
|
418
418
|
state: {
|
419
|
-
editorContent: import("../models/EditorModels").
|
420
|
-
plugins: import("../models/EditorPlugin").
|
419
|
+
editorContent: import("../models/EditorModels").FlowContent;
|
420
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
421
421
|
hideToolbar: boolean;
|
422
422
|
editMode: boolean;
|
423
423
|
maxNodeId: number;
|
424
|
-
toolbarActions:
|
424
|
+
toolbarActions: FlowEditorActionRegistration[];
|
425
425
|
editor: HTMLDivElement;
|
426
426
|
nodeSelection: import("../models/EditorModels").NodeSelection;
|
427
427
|
telePorts: JSX.Element[];
|
@@ -430,12 +430,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
430
430
|
showPlaceHolder: boolean;
|
431
431
|
};
|
432
432
|
events: {
|
433
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").
|
434
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").
|
433
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
|
434
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
|
435
435
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
436
436
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
437
437
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
438
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
438
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
439
439
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
440
440
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
441
441
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
@@ -477,16 +477,16 @@ export declare const useMarkdownToolbarStore: () => {
|
|
477
477
|
plugin: {
|
478
478
|
subscribe(fn: (result: {
|
479
479
|
register: {
|
480
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
481
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
482
|
-
context: (ctx: import("../models/EditorPlugin").
|
480
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
481
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
482
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
483
483
|
};
|
484
484
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
485
485
|
};
|
486
486
|
content: {
|
487
487
|
subscribe(fn: (result: {
|
488
488
|
set: {
|
489
|
-
byJSON: (content: import("../models/EditorModels").
|
489
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
490
490
|
byString: (content: string) => void;
|
491
491
|
};
|
492
492
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -502,7 +502,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
502
502
|
};
|
503
503
|
toolbarAction: {
|
504
504
|
subscribe(fn: (result: {
|
505
|
-
add: (action:
|
505
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
506
506
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
507
507
|
};
|
508
508
|
formatting: {
|
@@ -559,14 +559,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
559
559
|
} & {
|
560
560
|
plugin: () => {
|
561
561
|
register: {
|
562
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
563
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
564
|
-
context: (ctx: import("../models/EditorPlugin").
|
562
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
563
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
564
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
565
565
|
};
|
566
566
|
};
|
567
567
|
content: () => {
|
568
568
|
set: {
|
569
|
-
byJSON: (content: import("../models/EditorModels").
|
569
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
570
570
|
byString: (content: string) => void;
|
571
571
|
};
|
572
572
|
};
|
@@ -574,7 +574,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
574
574
|
setEditorContainer: (el: HTMLDivElement) => void;
|
575
575
|
focusEditor: () => void;
|
576
576
|
toolbarAction: () => {
|
577
|
-
add: (action:
|
577
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
578
578
|
};
|
579
579
|
formatting: () => {
|
580
580
|
add: (element: HTMLElement) => void;
|
@@ -593,10 +593,10 @@ export declare const useMarkdownToolbarStore: () => {
|
|
593
593
|
};
|
594
594
|
};
|
595
595
|
get: {
|
596
|
-
plugins: import("../models/EditorPlugin").
|
597
|
-
hasContent: () => boolean;
|
596
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
598
597
|
content: {
|
599
|
-
|
598
|
+
isEmpty: () => boolean;
|
599
|
+
asJSON: () => import("../models/EditorModels").FlowContent;
|
600
600
|
asString: () => string;
|
601
601
|
};
|
602
602
|
selection: {
|
@@ -604,7 +604,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
604
604
|
dataType: (dataType: string) => boolean;
|
605
605
|
};
|
606
606
|
get: {
|
607
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
607
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
608
608
|
};
|
609
609
|
};
|
610
610
|
};
|
@@ -626,12 +626,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
626
626
|
setActiveEditorStore: {
|
627
627
|
subscribe(fn: (result: void, store: {
|
628
628
|
state: {
|
629
|
-
editorContent: import("../models/EditorModels").
|
630
|
-
plugins: import("../models/EditorPlugin").
|
629
|
+
editorContent: import("../models/EditorModels").FlowContent;
|
630
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
631
631
|
hideToolbar: boolean;
|
632
632
|
editMode: boolean;
|
633
633
|
maxNodeId: number;
|
634
|
-
toolbarActions:
|
634
|
+
toolbarActions: FlowEditorActionRegistration[];
|
635
635
|
editor: HTMLDivElement;
|
636
636
|
nodeSelection: import("../models/EditorModels").NodeSelection;
|
637
637
|
telePorts: JSX.Element[];
|
@@ -640,12 +640,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
640
640
|
showPlaceHolder: boolean;
|
641
641
|
};
|
642
642
|
events: {
|
643
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").
|
644
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").
|
643
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
|
644
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
|
645
645
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
646
646
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
647
647
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
648
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
648
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
649
649
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
650
650
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
651
651
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
@@ -687,16 +687,16 @@ export declare const useMarkdownToolbarStore: () => {
|
|
687
687
|
plugin: {
|
688
688
|
subscribe(fn: (result: {
|
689
689
|
register: {
|
690
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
691
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
692
|
-
context: (ctx: import("../models/EditorPlugin").
|
690
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
691
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
692
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
693
693
|
};
|
694
694
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
695
695
|
};
|
696
696
|
content: {
|
697
697
|
subscribe(fn: (result: {
|
698
698
|
set: {
|
699
|
-
byJSON: (content: import("../models/EditorModels").
|
699
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
700
700
|
byString: (content: string) => void;
|
701
701
|
};
|
702
702
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -712,7 +712,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
712
712
|
};
|
713
713
|
toolbarAction: {
|
714
714
|
subscribe(fn: (result: {
|
715
|
-
add: (action:
|
715
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
716
716
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
717
717
|
};
|
718
718
|
formatting: {
|
@@ -769,14 +769,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
769
769
|
} & {
|
770
770
|
plugin: () => {
|
771
771
|
register: {
|
772
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
773
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
774
|
-
context: (ctx: import("../models/EditorPlugin").
|
772
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
773
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
774
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
775
775
|
};
|
776
776
|
};
|
777
777
|
content: () => {
|
778
778
|
set: {
|
779
|
-
byJSON: (content: import("../models/EditorModels").
|
779
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
780
780
|
byString: (content: string) => void;
|
781
781
|
};
|
782
782
|
};
|
@@ -784,7 +784,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
784
784
|
setEditorContainer: (el: HTMLDivElement) => void;
|
785
785
|
focusEditor: () => void;
|
786
786
|
toolbarAction: () => {
|
787
|
-
add: (action:
|
787
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
788
788
|
};
|
789
789
|
formatting: () => {
|
790
790
|
add: (element: HTMLElement) => void;
|
@@ -803,10 +803,10 @@ export declare const useMarkdownToolbarStore: () => {
|
|
803
803
|
};
|
804
804
|
};
|
805
805
|
get: {
|
806
|
-
plugins: import("../models/EditorPlugin").
|
807
|
-
hasContent: () => boolean;
|
806
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
808
807
|
content: {
|
809
|
-
|
808
|
+
isEmpty: () => boolean;
|
809
|
+
asJSON: () => import("../models/EditorModels").FlowContent;
|
810
810
|
asString: () => string;
|
811
811
|
};
|
812
812
|
selection: {
|
@@ -814,7 +814,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
814
814
|
dataType: (dataType: string) => boolean;
|
815
815
|
};
|
816
816
|
get: {
|
817
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
817
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
818
818
|
};
|
819
819
|
};
|
820
820
|
};
|
@@ -836,12 +836,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
836
836
|
setActiveEditorStore: {
|
837
837
|
subscribe(fn: (failureReason: any, store: {
|
838
838
|
state: {
|
839
|
-
editorContent: import("../models/EditorModels").
|
840
|
-
plugins: import("../models/EditorPlugin").
|
839
|
+
editorContent: import("../models/EditorModels").FlowContent;
|
840
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
841
841
|
hideToolbar: boolean;
|
842
842
|
editMode: boolean;
|
843
843
|
maxNodeId: number;
|
844
|
-
toolbarActions:
|
844
|
+
toolbarActions: FlowEditorActionRegistration[];
|
845
845
|
editor: HTMLDivElement;
|
846
846
|
nodeSelection: import("../models/EditorModels").NodeSelection;
|
847
847
|
telePorts: JSX.Element[];
|
@@ -850,12 +850,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
850
850
|
showPlaceHolder: boolean;
|
851
851
|
};
|
852
852
|
events: {
|
853
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").
|
854
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").
|
853
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
|
854
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
|
855
855
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
856
856
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
857
857
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
858
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
858
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
859
859
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
860
860
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
861
861
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
@@ -897,16 +897,16 @@ export declare const useMarkdownToolbarStore: () => {
|
|
897
897
|
plugin: {
|
898
898
|
subscribe(fn: (result: {
|
899
899
|
register: {
|
900
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
901
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
902
|
-
context: (ctx: import("../models/EditorPlugin").
|
900
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
901
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
902
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
903
903
|
};
|
904
904
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
905
905
|
};
|
906
906
|
content: {
|
907
907
|
subscribe(fn: (result: {
|
908
908
|
set: {
|
909
|
-
byJSON: (content: import("../models/EditorModels").
|
909
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
910
910
|
byString: (content: string) => void;
|
911
911
|
};
|
912
912
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -922,7 +922,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
922
922
|
};
|
923
923
|
toolbarAction: {
|
924
924
|
subscribe(fn: (result: {
|
925
|
-
add: (action:
|
925
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
926
926
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
927
927
|
};
|
928
928
|
formatting: {
|
@@ -979,14 +979,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
979
979
|
} & {
|
980
980
|
plugin: () => {
|
981
981
|
register: {
|
982
|
-
plugin: (pluginSettings: import("@omnia/fx-models").
|
983
|
-
plugins: (pluginSettings: import("@omnia/fx-models").
|
984
|
-
context: (ctx: import("../models/EditorPlugin").
|
982
|
+
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
983
|
+
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
984
|
+
context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
|
985
985
|
};
|
986
986
|
};
|
987
987
|
content: () => {
|
988
988
|
set: {
|
989
|
-
byJSON: (content: import("../models/EditorModels").
|
989
|
+
byJSON: (content: import("../models/EditorModels").FlowContent) => void;
|
990
990
|
byString: (content: string) => void;
|
991
991
|
};
|
992
992
|
};
|
@@ -994,7 +994,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
994
994
|
setEditorContainer: (el: HTMLDivElement) => void;
|
995
995
|
focusEditor: () => void;
|
996
996
|
toolbarAction: () => {
|
997
|
-
add: (action:
|
997
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
998
998
|
};
|
999
999
|
formatting: () => {
|
1000
1000
|
add: (element: HTMLElement) => void;
|
@@ -1013,10 +1013,10 @@ export declare const useMarkdownToolbarStore: () => {
|
|
1013
1013
|
};
|
1014
1014
|
};
|
1015
1015
|
get: {
|
1016
|
-
plugins: import("../models/EditorPlugin").
|
1017
|
-
hasContent: () => boolean;
|
1016
|
+
plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
|
1018
1017
|
content: {
|
1019
|
-
|
1018
|
+
isEmpty: () => boolean;
|
1019
|
+
asJSON: () => import("../models/EditorModels").FlowContent;
|
1020
1020
|
asString: () => string;
|
1021
1021
|
};
|
1022
1022
|
selection: {
|
@@ -1024,7 +1024,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
1024
1024
|
dataType: (dataType: string) => boolean;
|
1025
1025
|
};
|
1026
1026
|
get: {
|
1027
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
1027
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
1028
1028
|
};
|
1029
1029
|
};
|
1030
1030
|
};
|
@@ -1039,12 +1039,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
1039
1039
|
} & {
|
1040
1040
|
setCustomRenderer: (renderer: () => JSX.Element) => void;
|
1041
1041
|
removeAllActions: () => void;
|
1042
|
-
setActiveEditorStore: (store: ReturnType<typeof
|
1042
|
+
setActiveEditorStore: (store: ReturnType<typeof useFlowEditorStore>) => void;
|
1043
1043
|
setVisibility: (show: boolean) => void;
|
1044
1044
|
};
|
1045
1045
|
get: {
|
1046
1046
|
isActiveStore(): boolean;
|
1047
|
-
actionsGroupedAndSorted():
|
1047
|
+
actionsGroupedAndSorted(): FlowEditorActionRegistration[][];
|
1048
1048
|
};
|
1049
1049
|
} & {
|
1050
1050
|
dispose?: () => void;
|