@omnia/fx 8.0.263-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.
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
@@ -0,0 +1,8 @@
1
+ import { FlowEditorPlugin } from "../models/EditorPlugin";
2
+ import { FlowContent } from "../models/EditorModels";
3
+ export declare function useHtmlParser(state: {
4
+ editor: HTMLDivElement;
5
+ plugins: Array<FlowEditorPlugin>;
6
+ }): {
7
+ toJSON: () => FlowContent;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { FlowContent } from "../models/EditorModels";
2
+ import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
3
+ export declare function useJSONParser(state: {
4
+ editor: HTMLDivElement;
5
+ plugins: Array<FlowEditorPlugin>;
6
+ }, pluginContext: FlowEditorPluginContext): {
7
+ loadJSONToEditor: (editorContent: FlowContent) => any;
8
+ };
@@ -1,8 +1,8 @@
1
1
  import { SetupFactoryContext } from "@omnia/fx";
2
- import { EditorFormattingPlugin, EditorPlugin } from "../models/EditorPlugin";
2
+ import { FlowEditorContentPlugin, FlowEditorPlugin } from "../models/EditorPlugin";
3
3
  interface SetupEditorPluginContext extends SetupFactoryContext {
4
4
  }
5
- export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) => EditorPlugin | EditorFormattingPlugin): () => EditorPlugin & {
5
+ export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) => FlowEditorPlugin | FlowEditorContentPlugin): () => FlowEditorPlugin & {
6
6
  dispose?: () => void;
7
7
  };
8
8
  export {};
@@ -1,3 +1,3 @@
1
- export declare const boldPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
1
+ export declare const boldPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,6 +1,6 @@
1
1
  import { ColorValue } from "@omnia/fx-models";
2
- import { EditorNode } from "../../models/EditorModels";
3
- export interface ColorEditorNode extends EditorNode {
2
+ import { FlowNode } from "../../models/EditorModels";
3
+ export interface ColorFormatNode extends FlowNode {
4
4
  data: ColorValue;
5
5
  }
6
6
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
@@ -1,3 +1,3 @@
1
- export declare const colorStylePlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
1
+ export declare const colorStylePlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,3 +1,3 @@
1
- export declare const italicPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
1
+ export declare const italicPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,3 +1,3 @@
1
- export declare const sourceEditorPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
1
+ export declare const sourceEditorPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,3 +1,3 @@
1
- export declare const testDataPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
1
+ export declare const testDataPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -0,0 +1,3 @@
1
+ export declare const textPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -1,6 +1,6 @@
1
1
  import { TypographyValue } from "@omnia/fx-models";
2
- import { EditorNode } from "../../models/EditorModels";
3
- export interface TypographyEditorNode extends EditorNode {
2
+ import { FlowNode } from "../../models/EditorModels";
3
+ export interface TypographyFormatNode extends FlowNode {
4
4
  data: TypographyValue;
5
5
  }
6
6
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
@@ -1,3 +1,3 @@
1
- export declare const typographyPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
1
+ export declare const typographyPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,8 +1,8 @@
1
1
  import { VelcronAppDefinition } from "@omnia/fx-models";
2
- import { EditorNode } from "../../models/EditorModels";
3
- export interface VelcronEditorNode extends EditorNode {
2
+ import { FlowNode } from "../../models/EditorModels";
3
+ export interface VelcronContentNode extends FlowNode {
4
4
  definition: VelcronAppDefinition;
5
5
  }
6
- export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
6
+ export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
7
7
  dispose?: () => void;
8
8
  };
@@ -1,34 +1,34 @@
1
- import { MarkdownEditorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
2
- import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
- import { EditorContent, EditorNode, NodeIdSelection } from "../models/EditorModels";
4
- export declare const useMarkdownStore: () => {
1
+ import { FlowEditorActionRegistration, FlowEditorPluginSettings } from "@omnia/fx-models";
2
+ import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
3
+ import { FlowContent, NodeSelection } from "../models/EditorModels";
4
+ export declare const useFlowEditorStore: () => {
5
5
  state: {
6
- editorContent: EditorContent;
7
- plugins: EditorPlugin[];
6
+ editorContent: FlowContent;
7
+ plugins: FlowEditorPlugin[];
8
8
  hideToolbar: boolean;
9
9
  editMode: boolean;
10
10
  maxNodeId: number;
11
- toolbarActions: MarkdownEditorActionRegistration[];
11
+ toolbarActions: FlowEditorActionRegistration[];
12
12
  editor: HTMLDivElement;
13
- selectedNodes: EditorNode[];
14
- selectedNodeIds: NodeIdSelection;
13
+ nodeSelection: NodeSelection;
15
14
  telePorts: JSX.Element[];
16
15
  id: string;
17
16
  selectedRange: Range;
17
+ showPlaceHolder: boolean;
18
18
  };
19
19
  events: {
20
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorContent>;
21
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorPlugin[]>;
20
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
21
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPlugin[]>;
22
22
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
23
23
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
24
24
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
25
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
25
+ onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
26
26
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
27
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorNode[]>;
28
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeIdSelection>;
27
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
29
28
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
30
29
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
31
30
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
31
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
32
32
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
33
33
  actions: {
34
34
  onDispatching: {
@@ -44,6 +44,9 @@ export declare const useMarkdownStore: () => {
44
44
  setEditorContainer: {
45
45
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
46
  };
47
+ focusEditor: {
48
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
+ };
47
50
  toolbarAction: {
48
51
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
52
  };
@@ -61,16 +64,16 @@ export declare const useMarkdownStore: () => {
61
64
  plugin: {
62
65
  subscribe(fn: (result: {
63
66
  register: {
64
- plugin: (pluginSettings: MarkdownPluginSettings) => void;
65
- plugins: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => Promise<void>;
66
- context: (ctx: EditorPluginContext) => void;
67
+ plugin: (pluginSettings: FlowEditorPluginSettings) => void;
68
+ plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
69
+ context: (ctx: FlowEditorPluginContext) => void;
67
70
  };
68
71
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
69
72
  };
70
73
  content: {
71
74
  subscribe(fn: (result: {
72
75
  set: {
73
- byJSON: (content: EditorContent) => void;
76
+ byJSON: (content: FlowContent) => void;
74
77
  byString: (content: string) => void;
75
78
  };
76
79
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -81,16 +84,19 @@ export declare const useMarkdownStore: () => {
81
84
  setEditorContainer: {
82
85
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
83
86
  };
87
+ focusEditor: {
88
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
+ };
84
90
  toolbarAction: {
85
91
  subscribe(fn: (result: {
86
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
92
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
87
93
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
88
94
  };
89
95
  formatting: {
90
96
  subscribe(fn: (result: {
91
97
  add: (element: HTMLElement) => void;
92
98
  toggle: (element: HTMLElement) => void;
93
- remove: (element: HTMLElement) => void;
99
+ remove: (dataType: string) => void;
94
100
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
95
101
  };
96
102
  element: {
@@ -121,6 +127,9 @@ export declare const useMarkdownStore: () => {
121
127
  setEditorContainer: {
122
128
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
123
129
  };
130
+ focusEditor: {
131
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
132
+ };
124
133
  toolbarAction: {
125
134
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
135
  };
@@ -137,26 +146,27 @@ export declare const useMarkdownStore: () => {
137
146
  } & {
138
147
  plugin: () => {
139
148
  register: {
140
- plugin: (pluginSettings: MarkdownPluginSettings) => void;
141
- plugins: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => Promise<void>;
142
- context: (ctx: EditorPluginContext) => void;
149
+ plugin: (pluginSettings: FlowEditorPluginSettings) => void;
150
+ plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
151
+ context: (ctx: FlowEditorPluginContext) => void;
143
152
  };
144
153
  };
145
154
  content: () => {
146
155
  set: {
147
- byJSON: (content: EditorContent) => void;
156
+ byJSON: (content: FlowContent) => void;
148
157
  byString: (content: string) => void;
149
158
  };
150
159
  };
151
160
  setEditorMode: (editMode: boolean) => void;
152
161
  setEditorContainer: (el: HTMLDivElement) => void;
162
+ focusEditor: () => void;
153
163
  toolbarAction: () => {
154
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
164
+ add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
155
165
  };
156
166
  formatting: () => {
157
167
  add: (element: HTMLElement) => void;
158
168
  toggle: (element: HTMLElement) => void;
159
- remove: (element: HTMLElement) => void;
169
+ remove: (dataType: string) => void;
160
170
  };
161
171
  element: () => {
162
172
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -170,19 +180,18 @@ export declare const useMarkdownStore: () => {
170
180
  };
171
181
  };
172
182
  get: {
173
- plugins: EditorPlugin[];
183
+ plugins: FlowEditorPlugin[];
174
184
  content: {
175
- asJSON: (cleanIds?: boolean) => EditorContent;
176
- asString: (cleanIds?: boolean) => string;
185
+ isEmpty: () => boolean;
186
+ asJSON: () => FlowContent;
187
+ asString: () => string;
177
188
  };
178
189
  selection: {
179
190
  has: {
180
191
  dataType: (dataType: string) => boolean;
181
- id: (id: number) => boolean;
182
192
  };
183
193
  get: {
184
- byDataType: (dataType: string) => EditorNode;
185
- byId: (id: number) => EditorNode;
194
+ byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
186
195
  };
187
196
  };
188
197
  };