@omnia/fx 8.0.263-dev → 8.0.265-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +11 -11
  3. package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
  4. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
  5. package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.css.d.ts +4 -1
  7. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +12 -8
  8. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontRegistration.d.ts +6 -0
  9. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +41 -16
  10. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/FontManager.d.ts +2 -0
  11. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/blade/FontDefinitionBlade.d.ts +6 -0
  12. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +75 -0
  13. package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +77 -0
  14. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +114 -10
  15. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +117 -11
  16. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
  17. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +2 -13
  18. package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
  19. package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
  20. package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
  21. package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
  22. package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
  23. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
  24. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
  25. package/internal-do-not-import-from-here/ux/floweditor/FlowEditorToolbar.css.d.ts +6 -0
  26. package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +53 -0
  27. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +5 -0
  28. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +9 -0
  29. package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
  30. package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +30 -0
  31. package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
  32. package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
  33. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
  34. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
  36. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
  40. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
  41. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
  42. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
  44. package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownStore.d.ts → floweditor/stores/FlowEditorStore.d.ts} +41 -32
  45. package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownToolbarStore.d.ts → floweditor/stores/FlowEditorToolbarStore.d.ts} +214 -147
  46. package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
  47. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
  48. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
  49. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
  50. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
  51. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -1
  52. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
  53. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
  54. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
  55. package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
  56. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
  57. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +13 -0
  58. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
  59. package/internal-do-not-import-from-here/wctypings.d.ts +30 -16
  60. package/package.json +2 -2
  61. package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
  62. package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.css.d.ts +0 -5
  63. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +0 -60
  64. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -12
  65. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +0 -9
  66. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
  67. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
  68. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -17
  69. package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -16
  70. package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
  71. package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
  72. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
  73. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
  74. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
  75. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
  76. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
  77. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
  78. /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.css.d.ts → floweditor/FlowEditor.css.d.ts} +0 -0
  79. /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
  80. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
  81. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/ClipboardCommands.d.ts +0 -0
  82. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/Editorhelper.d.ts +0 -0
  83. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
  84. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
@@ -1,35 +1,35 @@
1
- import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
2
- import { useMarkdownStore } from "./MarkdownStore";
3
- export declare const useMarkdownToolbarStore: () => {
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").EditorContent;
8
- plugins: import("../models/EditorPlugin").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: MarkdownEditorActionRegistration[];
12
+ toolbarActions: FlowEditorActionRegistration[];
13
13
  editor: HTMLDivElement;
14
- selectedNodes: import("../models/EditorModels").EditorNode[];
15
- selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
14
+ nodeSelection: import("../models/EditorModels").NodeSelection;
16
15
  telePorts: JSX.Element[];
17
16
  id: string;
18
17
  selectedRange: Range;
18
+ showPlaceHolder: boolean;
19
19
  };
20
20
  events: {
21
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
22
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").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<MarkdownEditorActionRegistration[]>;
26
+ onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
27
27
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
28
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
29
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
28
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
30
29
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
31
30
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
32
31
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
32
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
33
33
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
34
34
  actions: {
35
35
  onDispatching: {
@@ -45,6 +45,9 @@ export declare const useMarkdownToolbarStore: () => {
45
45
  setEditorContainer: {
46
46
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
47
47
  };
48
+ focusEditor: {
49
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
50
+ };
48
51
  toolbarAction: {
49
52
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
50
53
  };
@@ -62,16 +65,16 @@ export declare const useMarkdownToolbarStore: () => {
62
65
  plugin: {
63
66
  subscribe(fn: (result: {
64
67
  register: {
65
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
66
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
67
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
68
71
  };
69
72
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
70
73
  };
71
74
  content: {
72
75
  subscribe(fn: (result: {
73
76
  set: {
74
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
77
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
75
78
  byString: (content: string) => void;
76
79
  };
77
80
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -82,16 +85,19 @@ export declare const useMarkdownToolbarStore: () => {
82
85
  setEditorContainer: {
83
86
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
84
87
  };
88
+ focusEditor: {
89
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
90
+ };
85
91
  toolbarAction: {
86
92
  subscribe(fn: (result: {
87
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
93
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
88
94
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
95
  };
90
96
  formatting: {
91
97
  subscribe(fn: (result: {
92
98
  add: (element: HTMLElement) => void;
93
99
  toggle: (element: HTMLElement) => void;
94
- remove: (element: HTMLElement) => void;
100
+ remove: (dataType: string) => void;
95
101
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
96
102
  };
97
103
  element: {
@@ -122,6 +128,9 @@ export declare const useMarkdownToolbarStore: () => {
122
128
  setEditorContainer: {
123
129
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
124
130
  };
131
+ focusEditor: {
132
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
133
+ };
125
134
  toolbarAction: {
126
135
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
127
136
  };
@@ -138,26 +147,27 @@ export declare const useMarkdownToolbarStore: () => {
138
147
  } & {
139
148
  plugin: () => {
140
149
  register: {
141
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
142
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
143
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
144
153
  };
145
154
  };
146
155
  content: () => {
147
156
  set: {
148
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
157
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
149
158
  byString: (content: string) => void;
150
159
  };
151
160
  };
152
161
  setEditorMode: (editMode: boolean) => void;
153
162
  setEditorContainer: (el: HTMLDivElement) => void;
163
+ focusEditor: () => void;
154
164
  toolbarAction: () => {
155
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
165
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
156
166
  };
157
167
  formatting: () => {
158
168
  add: (element: HTMLElement) => void;
159
169
  toggle: (element: HTMLElement) => void;
160
- remove: (element: HTMLElement) => void;
170
+ remove: (dataType: string) => void;
161
171
  };
162
172
  element: () => {
163
173
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -171,19 +181,18 @@ export declare const useMarkdownToolbarStore: () => {
171
181
  };
172
182
  };
173
183
  get: {
174
- plugins: import("../models/EditorPlugin").EditorPlugin[];
184
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
175
185
  content: {
176
- asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
177
- asString: (cleanIds?: boolean) => string;
186
+ isEmpty: () => boolean;
187
+ asJSON: () => import("../models/EditorModels").FlowContent;
188
+ asString: () => string;
178
189
  };
179
190
  selection: {
180
191
  has: {
181
192
  dataType: (dataType: string) => boolean;
182
- id: (id: number) => boolean;
183
193
  };
184
194
  get: {
185
- byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
186
- byId: (id: number) => import("../models/EditorModels").EditorNode;
195
+ byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
187
196
  };
188
197
  };
189
198
  };
@@ -191,37 +200,38 @@ export declare const useMarkdownToolbarStore: () => {
191
200
  dispose?: () => void;
192
201
  };
193
202
  show: boolean;
194
- actions: MarkdownEditorActionRegistration[];
203
+ actions: FlowEditorActionRegistration[];
204
+ customActionRenderer: () => JSX.Element;
195
205
  };
196
206
  events: {
197
207
  onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
198
208
  state: {
199
- editorContent: import("../models/EditorModels").EditorContent;
200
- plugins: import("../models/EditorPlugin").EditorPlugin[];
209
+ editorContent: import("../models/EditorModels").FlowContent;
210
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
201
211
  hideToolbar: boolean;
202
212
  editMode: boolean;
203
213
  maxNodeId: number;
204
- toolbarActions: MarkdownEditorActionRegistration[];
214
+ toolbarActions: FlowEditorActionRegistration[];
205
215
  editor: HTMLDivElement;
206
- selectedNodes: import("../models/EditorModels").EditorNode[];
207
- selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
216
+ nodeSelection: import("../models/EditorModels").NodeSelection;
208
217
  telePorts: JSX.Element[];
209
218
  id: string;
210
219
  selectedRange: Range;
220
+ showPlaceHolder: boolean;
211
221
  };
212
222
  events: {
213
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
214
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
223
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
224
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
215
225
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
216
226
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
217
227
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
218
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
228
+ onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
219
229
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
220
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
221
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
230
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
222
231
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
223
232
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
224
233
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
234
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
225
235
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
226
236
  actions: {
227
237
  onDispatching: {
@@ -237,6 +247,9 @@ export declare const useMarkdownToolbarStore: () => {
237
247
  setEditorContainer: {
238
248
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
239
249
  };
250
+ focusEditor: {
251
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
252
+ };
240
253
  toolbarAction: {
241
254
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
242
255
  };
@@ -254,16 +267,16 @@ export declare const useMarkdownToolbarStore: () => {
254
267
  plugin: {
255
268
  subscribe(fn: (result: {
256
269
  register: {
257
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
258
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
259
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
260
273
  };
261
274
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
262
275
  };
263
276
  content: {
264
277
  subscribe(fn: (result: {
265
278
  set: {
266
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
279
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
267
280
  byString: (content: string) => void;
268
281
  };
269
282
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -274,16 +287,19 @@ export declare const useMarkdownToolbarStore: () => {
274
287
  setEditorContainer: {
275
288
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
276
289
  };
290
+ focusEditor: {
291
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
292
+ };
277
293
  toolbarAction: {
278
294
  subscribe(fn: (result: {
279
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
295
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
280
296
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
281
297
  };
282
298
  formatting: {
283
299
  subscribe(fn: (result: {
284
300
  add: (element: HTMLElement) => void;
285
301
  toggle: (element: HTMLElement) => void;
286
- remove: (element: HTMLElement) => void;
302
+ remove: (dataType: string) => void;
287
303
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
288
304
  };
289
305
  element: {
@@ -314,6 +330,9 @@ export declare const useMarkdownToolbarStore: () => {
314
330
  setEditorContainer: {
315
331
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
316
332
  };
333
+ focusEditor: {
334
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
335
+ };
317
336
  toolbarAction: {
318
337
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
319
338
  };
@@ -330,26 +349,27 @@ export declare const useMarkdownToolbarStore: () => {
330
349
  } & {
331
350
  plugin: () => {
332
351
  register: {
333
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
334
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
335
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
336
355
  };
337
356
  };
338
357
  content: () => {
339
358
  set: {
340
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
359
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
341
360
  byString: (content: string) => void;
342
361
  };
343
362
  };
344
363
  setEditorMode: (editMode: boolean) => void;
345
364
  setEditorContainer: (el: HTMLDivElement) => void;
365
+ focusEditor: () => void;
346
366
  toolbarAction: () => {
347
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
367
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
348
368
  };
349
369
  formatting: () => {
350
370
  add: (element: HTMLElement) => void;
351
371
  toggle: (element: HTMLElement) => void;
352
- remove: (element: HTMLElement) => void;
372
+ remove: (dataType: string) => void;
353
373
  };
354
374
  element: () => {
355
375
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -363,19 +383,18 @@ export declare const useMarkdownToolbarStore: () => {
363
383
  };
364
384
  };
365
385
  get: {
366
- plugins: import("../models/EditorPlugin").EditorPlugin[];
386
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
367
387
  content: {
368
- asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
369
- asString: (cleanIds?: boolean) => string;
388
+ isEmpty: () => boolean;
389
+ asJSON: () => import("../models/EditorModels").FlowContent;
390
+ asString: () => string;
370
391
  };
371
392
  selection: {
372
393
  has: {
373
394
  dataType: (dataType: string) => boolean;
374
- id: (id: number) => boolean;
375
395
  };
376
396
  get: {
377
- byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
378
- byId: (id: number) => import("../models/EditorModels").EditorNode;
397
+ byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
379
398
  };
380
399
  };
381
400
  };
@@ -383,39 +402,46 @@ export declare const useMarkdownToolbarStore: () => {
383
402
  dispose?: () => void;
384
403
  }>;
385
404
  onMutatedShow: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
386
- onMutatedActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
405
+ onMutatedActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
406
+ onMutatedCustomActionRenderer: import("@omnia/fx").MessageBusExposeOnlySubscription<() => JSX.Element>;
387
407
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
388
408
  actions: {
389
409
  onDispatching: {
410
+ setCustomRenderer: {
411
+ subscribe(fn: (renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
412
+ };
413
+ removeAllActions: {
414
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
415
+ };
390
416
  setActiveEditorStore: {
391
417
  subscribe(fn: (store: {
392
418
  state: {
393
- editorContent: import("../models/EditorModels").EditorContent;
394
- plugins: import("../models/EditorPlugin").EditorPlugin[];
419
+ editorContent: import("../models/EditorModels").FlowContent;
420
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
395
421
  hideToolbar: boolean;
396
422
  editMode: boolean;
397
423
  maxNodeId: number;
398
- toolbarActions: MarkdownEditorActionRegistration[];
424
+ toolbarActions: FlowEditorActionRegistration[];
399
425
  editor: HTMLDivElement;
400
- selectedNodes: import("../models/EditorModels").EditorNode[];
401
- selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
426
+ nodeSelection: import("../models/EditorModels").NodeSelection;
402
427
  telePorts: JSX.Element[];
403
428
  id: string;
404
429
  selectedRange: Range;
430
+ showPlaceHolder: boolean;
405
431
  };
406
432
  events: {
407
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
408
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
433
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
434
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
409
435
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
410
436
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
411
437
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
412
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
438
+ onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
413
439
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
414
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
415
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
440
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
416
441
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
417
442
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
418
443
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
444
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
419
445
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
420
446
  actions: {
421
447
  onDispatching: {
@@ -431,6 +457,9 @@ export declare const useMarkdownToolbarStore: () => {
431
457
  setEditorContainer: {
432
458
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
433
459
  };
460
+ focusEditor: {
461
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
462
+ };
434
463
  toolbarAction: {
435
464
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
436
465
  };
@@ -448,16 +477,16 @@ export declare const useMarkdownToolbarStore: () => {
448
477
  plugin: {
449
478
  subscribe(fn: (result: {
450
479
  register: {
451
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
452
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
453
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
454
483
  };
455
484
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
456
485
  };
457
486
  content: {
458
487
  subscribe(fn: (result: {
459
488
  set: {
460
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
489
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
461
490
  byString: (content: string) => void;
462
491
  };
463
492
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -468,16 +497,19 @@ export declare const useMarkdownToolbarStore: () => {
468
497
  setEditorContainer: {
469
498
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
470
499
  };
500
+ focusEditor: {
501
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
502
+ };
471
503
  toolbarAction: {
472
504
  subscribe(fn: (result: {
473
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
505
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
474
506
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
475
507
  };
476
508
  formatting: {
477
509
  subscribe(fn: (result: {
478
510
  add: (element: HTMLElement) => void;
479
511
  toggle: (element: HTMLElement) => void;
480
- remove: (element: HTMLElement) => void;
512
+ remove: (dataType: string) => void;
481
513
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
482
514
  };
483
515
  element: {
@@ -508,6 +540,9 @@ export declare const useMarkdownToolbarStore: () => {
508
540
  setEditorContainer: {
509
541
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
510
542
  };
543
+ focusEditor: {
544
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
545
+ };
511
546
  toolbarAction: {
512
547
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
513
548
  };
@@ -524,26 +559,27 @@ export declare const useMarkdownToolbarStore: () => {
524
559
  } & {
525
560
  plugin: () => {
526
561
  register: {
527
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
528
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
529
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
530
565
  };
531
566
  };
532
567
  content: () => {
533
568
  set: {
534
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
569
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
535
570
  byString: (content: string) => void;
536
571
  };
537
572
  };
538
573
  setEditorMode: (editMode: boolean) => void;
539
574
  setEditorContainer: (el: HTMLDivElement) => void;
575
+ focusEditor: () => void;
540
576
  toolbarAction: () => {
541
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
577
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
542
578
  };
543
579
  formatting: () => {
544
580
  add: (element: HTMLElement) => void;
545
581
  toggle: (element: HTMLElement) => void;
546
- remove: (element: HTMLElement) => void;
582
+ remove: (dataType: string) => void;
547
583
  };
548
584
  element: () => {
549
585
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -557,19 +593,18 @@ export declare const useMarkdownToolbarStore: () => {
557
593
  };
558
594
  };
559
595
  get: {
560
- plugins: import("../models/EditorPlugin").EditorPlugin[];
596
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
561
597
  content: {
562
- asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
563
- asString: (cleanIds?: boolean) => string;
598
+ isEmpty: () => boolean;
599
+ asJSON: () => import("../models/EditorModels").FlowContent;
600
+ asString: () => string;
564
601
  };
565
602
  selection: {
566
603
  has: {
567
604
  dataType: (dataType: string) => boolean;
568
- id: (id: number) => boolean;
569
605
  };
570
606
  get: {
571
- byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
572
- byId: (id: number) => import("../models/EditorModels").EditorNode;
607
+ byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
573
608
  };
574
609
  };
575
610
  };
@@ -582,35 +617,41 @@ export declare const useMarkdownToolbarStore: () => {
582
617
  };
583
618
  };
584
619
  onDispatched: {
620
+ setCustomRenderer: {
621
+ subscribe(fn: (result: void, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
622
+ };
623
+ removeAllActions: {
624
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
625
+ };
585
626
  setActiveEditorStore: {
586
627
  subscribe(fn: (result: void, store: {
587
628
  state: {
588
- editorContent: import("../models/EditorModels").EditorContent;
589
- plugins: import("../models/EditorPlugin").EditorPlugin[];
629
+ editorContent: import("../models/EditorModels").FlowContent;
630
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
590
631
  hideToolbar: boolean;
591
632
  editMode: boolean;
592
633
  maxNodeId: number;
593
- toolbarActions: MarkdownEditorActionRegistration[];
634
+ toolbarActions: FlowEditorActionRegistration[];
594
635
  editor: HTMLDivElement;
595
- selectedNodes: import("../models/EditorModels").EditorNode[];
596
- selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
636
+ nodeSelection: import("../models/EditorModels").NodeSelection;
597
637
  telePorts: JSX.Element[];
598
638
  id: string;
599
639
  selectedRange: Range;
640
+ showPlaceHolder: boolean;
600
641
  };
601
642
  events: {
602
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
603
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
643
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
644
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
604
645
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
605
646
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
606
647
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
607
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
648
+ onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
608
649
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
609
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
610
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
650
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
611
651
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
612
652
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
613
653
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
654
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
614
655
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
615
656
  actions: {
616
657
  onDispatching: {
@@ -626,6 +667,9 @@ export declare const useMarkdownToolbarStore: () => {
626
667
  setEditorContainer: {
627
668
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
628
669
  };
670
+ focusEditor: {
671
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
672
+ };
629
673
  toolbarAction: {
630
674
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
631
675
  };
@@ -643,16 +687,16 @@ export declare const useMarkdownToolbarStore: () => {
643
687
  plugin: {
644
688
  subscribe(fn: (result: {
645
689
  register: {
646
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
647
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
648
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
649
693
  };
650
694
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
651
695
  };
652
696
  content: {
653
697
  subscribe(fn: (result: {
654
698
  set: {
655
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
699
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
656
700
  byString: (content: string) => void;
657
701
  };
658
702
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -663,16 +707,19 @@ export declare const useMarkdownToolbarStore: () => {
663
707
  setEditorContainer: {
664
708
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
665
709
  };
710
+ focusEditor: {
711
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
712
+ };
666
713
  toolbarAction: {
667
714
  subscribe(fn: (result: {
668
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
715
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
669
716
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
670
717
  };
671
718
  formatting: {
672
719
  subscribe(fn: (result: {
673
720
  add: (element: HTMLElement) => void;
674
721
  toggle: (element: HTMLElement) => void;
675
- remove: (element: HTMLElement) => void;
722
+ remove: (dataType: string) => void;
676
723
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
677
724
  };
678
725
  element: {
@@ -703,6 +750,9 @@ export declare const useMarkdownToolbarStore: () => {
703
750
  setEditorContainer: {
704
751
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
705
752
  };
753
+ focusEditor: {
754
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
755
+ };
706
756
  toolbarAction: {
707
757
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
708
758
  };
@@ -719,26 +769,27 @@ export declare const useMarkdownToolbarStore: () => {
719
769
  } & {
720
770
  plugin: () => {
721
771
  register: {
722
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
723
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
724
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
725
775
  };
726
776
  };
727
777
  content: () => {
728
778
  set: {
729
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
779
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
730
780
  byString: (content: string) => void;
731
781
  };
732
782
  };
733
783
  setEditorMode: (editMode: boolean) => void;
734
784
  setEditorContainer: (el: HTMLDivElement) => void;
785
+ focusEditor: () => void;
735
786
  toolbarAction: () => {
736
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
787
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
737
788
  };
738
789
  formatting: () => {
739
790
  add: (element: HTMLElement) => void;
740
791
  toggle: (element: HTMLElement) => void;
741
- remove: (element: HTMLElement) => void;
792
+ remove: (dataType: string) => void;
742
793
  };
743
794
  element: () => {
744
795
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -752,19 +803,18 @@ export declare const useMarkdownToolbarStore: () => {
752
803
  };
753
804
  };
754
805
  get: {
755
- plugins: import("../models/EditorPlugin").EditorPlugin[];
806
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
756
807
  content: {
757
- asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
758
- asString: (cleanIds?: boolean) => string;
808
+ isEmpty: () => boolean;
809
+ asJSON: () => import("../models/EditorModels").FlowContent;
810
+ asString: () => string;
759
811
  };
760
812
  selection: {
761
813
  has: {
762
814
  dataType: (dataType: string) => boolean;
763
- id: (id: number) => boolean;
764
815
  };
765
816
  get: {
766
- byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
767
- byId: (id: number) => import("../models/EditorModels").EditorNode;
817
+ byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
768
818
  };
769
819
  };
770
820
  };
@@ -777,35 +827,41 @@ export declare const useMarkdownToolbarStore: () => {
777
827
  };
778
828
  };
779
829
  onFailure: {
830
+ setCustomRenderer: {
831
+ subscribe(fn: (failureReason: any, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
832
+ };
833
+ removeAllActions: {
834
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
835
+ };
780
836
  setActiveEditorStore: {
781
837
  subscribe(fn: (failureReason: any, store: {
782
838
  state: {
783
- editorContent: import("../models/EditorModels").EditorContent;
784
- plugins: import("../models/EditorPlugin").EditorPlugin[];
839
+ editorContent: import("../models/EditorModels").FlowContent;
840
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
785
841
  hideToolbar: boolean;
786
842
  editMode: boolean;
787
843
  maxNodeId: number;
788
- toolbarActions: MarkdownEditorActionRegistration[];
844
+ toolbarActions: FlowEditorActionRegistration[];
789
845
  editor: HTMLDivElement;
790
- selectedNodes: import("../models/EditorModels").EditorNode[];
791
- selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
846
+ nodeSelection: import("../models/EditorModels").NodeSelection;
792
847
  telePorts: JSX.Element[];
793
848
  id: string;
794
849
  selectedRange: Range;
850
+ showPlaceHolder: boolean;
795
851
  };
796
852
  events: {
797
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
798
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
853
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
854
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
799
855
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
800
856
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
801
857
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
802
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
858
+ onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
803
859
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
804
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
805
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
860
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
806
861
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
807
862
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
808
863
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
864
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
809
865
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
810
866
  actions: {
811
867
  onDispatching: {
@@ -821,6 +877,9 @@ export declare const useMarkdownToolbarStore: () => {
821
877
  setEditorContainer: {
822
878
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
823
879
  };
880
+ focusEditor: {
881
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
882
+ };
824
883
  toolbarAction: {
825
884
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
826
885
  };
@@ -838,16 +897,16 @@ export declare const useMarkdownToolbarStore: () => {
838
897
  plugin: {
839
898
  subscribe(fn: (result: {
840
899
  register: {
841
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
842
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
843
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
844
903
  };
845
904
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
846
905
  };
847
906
  content: {
848
907
  subscribe(fn: (result: {
849
908
  set: {
850
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
909
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
851
910
  byString: (content: string) => void;
852
911
  };
853
912
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -858,16 +917,19 @@ export declare const useMarkdownToolbarStore: () => {
858
917
  setEditorContainer: {
859
918
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
860
919
  };
920
+ focusEditor: {
921
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
922
+ };
861
923
  toolbarAction: {
862
924
  subscribe(fn: (result: {
863
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
925
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
864
926
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
865
927
  };
866
928
  formatting: {
867
929
  subscribe(fn: (result: {
868
930
  add: (element: HTMLElement) => void;
869
931
  toggle: (element: HTMLElement) => void;
870
- remove: (element: HTMLElement) => void;
932
+ remove: (dataType: string) => void;
871
933
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
872
934
  };
873
935
  element: {
@@ -898,6 +960,9 @@ export declare const useMarkdownToolbarStore: () => {
898
960
  setEditorContainer: {
899
961
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
900
962
  };
963
+ focusEditor: {
964
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
965
+ };
901
966
  toolbarAction: {
902
967
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
903
968
  };
@@ -914,26 +979,27 @@ export declare const useMarkdownToolbarStore: () => {
914
979
  } & {
915
980
  plugin: () => {
916
981
  register: {
917
- plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
918
- plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
919
- context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
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;
920
985
  };
921
986
  };
922
987
  content: () => {
923
988
  set: {
924
- byJSON: (content: import("../models/EditorModels").EditorContent) => void;
989
+ byJSON: (content: import("../models/EditorModels").FlowContent) => void;
925
990
  byString: (content: string) => void;
926
991
  };
927
992
  };
928
993
  setEditorMode: (editMode: boolean) => void;
929
994
  setEditorContainer: (el: HTMLDivElement) => void;
995
+ focusEditor: () => void;
930
996
  toolbarAction: () => {
931
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
997
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
932
998
  };
933
999
  formatting: () => {
934
1000
  add: (element: HTMLElement) => void;
935
1001
  toggle: (element: HTMLElement) => void;
936
- remove: (element: HTMLElement) => void;
1002
+ remove: (dataType: string) => void;
937
1003
  };
938
1004
  element: () => {
939
1005
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -947,19 +1013,18 @@ export declare const useMarkdownToolbarStore: () => {
947
1013
  };
948
1014
  };
949
1015
  get: {
950
- plugins: import("../models/EditorPlugin").EditorPlugin[];
1016
+ plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
951
1017
  content: {
952
- asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
953
- asString: (cleanIds?: boolean) => string;
1018
+ isEmpty: () => boolean;
1019
+ asJSON: () => import("../models/EditorModels").FlowContent;
1020
+ asString: () => string;
954
1021
  };
955
1022
  selection: {
956
1023
  has: {
957
1024
  dataType: (dataType: string) => boolean;
958
- id: (id: number) => boolean;
959
1025
  };
960
1026
  get: {
961
- byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
962
- byId: (id: number) => import("../models/EditorModels").EditorNode;
1027
+ byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
963
1028
  };
964
1029
  };
965
1030
  };
@@ -972,12 +1037,14 @@ export declare const useMarkdownToolbarStore: () => {
972
1037
  };
973
1038
  };
974
1039
  } & {
975
- setActiveEditorStore: (store: ReturnType<typeof useMarkdownStore>) => void;
1040
+ setCustomRenderer: (renderer: () => JSX.Element) => void;
1041
+ removeAllActions: () => void;
1042
+ setActiveEditorStore: (store: ReturnType<typeof useFlowEditorStore>) => void;
976
1043
  setVisibility: (show: boolean) => void;
977
1044
  };
978
1045
  get: {
979
1046
  isActiveStore(): boolean;
980
- actionsGroupedAndSorted(): MarkdownEditorActionRegistration[][];
1047
+ actionsGroupedAndSorted(): FlowEditorActionRegistration[][];
981
1048
  };
982
1049
  } & {
983
1050
  dispose?: () => void;