@omnia/fx 8.0.264-dev → 8.0.266-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} +12 -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/appprovisioning/appimageinput/AppImageInput.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/aurora/designkits/default/DefinitionRegistrations.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/aurora/designkits/pages/DefinitionRegistrations.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +36 -0
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +36 -0
- package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +3 -14
- 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/floweditor/FlowEditor.css.d.ts +6 -0
- 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/floweditor/commands/EditorCommands.d.ts +99 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/Editorhelper.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +25 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/Constants.d.ts +14 -0
- 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 +40 -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/floweditor/plugins/elements/ElementPlugin.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/EditorEvents.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/KeyboardEvents.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/EnterHandler.d.ts +4 -0
- 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/floweditor/plugins/sourceeditor/SourceEditorPlugin.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/floweditor/plugins/testdata/TestDataPlugin.d.ts +4 -0
- 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/floweditor/rules/EditorRules.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorStore.d.ts +370 -0
- package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorToolbarStore.d.ts +1901 -0
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/CommunityUpdate.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/DefinitionRegistrations.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/DocumentReview.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/NewsArticleTemplate.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/QuickPoll.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/Reach.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/hub/feed/definitions/UpdatedProcess.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
- 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/properties/property-picker/PropertyPicker.d.ts +18 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/models → definitions}/VelcronDefinitionIds.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/definitions/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/{Markdown.d.ts → Flow.d.ts} +6 -6
- 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/MarkdownEditor.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +47 -7
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -32
- 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/MarkdownEditorFuture.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/markdown2/commands/ClipboardCommands.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +0 -52
- 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/commands/helpers/Editorhelper.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +0 -9
- 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_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/sourceeditor/SourceEditorPlugin.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/markdown2/plugins/testdata/TestDataPlugin.d.ts +0 -3
- 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/stores/MarkdownStore.d.ts +0 -200
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +0 -1051
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +0 -949
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/content/Quote.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Image.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog2.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Praise.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/SocialText.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/index.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +0 -180
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.css.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.d.ts +0 -1133
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentRenderer.d.ts +0 -80
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.css.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.d.ts +0 -11
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector copy.d.ts +0 -11
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.css.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.d.ts +0 -11
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar copy.d.ts +0 -14
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.css.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.d.ts +0 -14
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/DefinitionRegistrations.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/EditorRenderingHooks.d.ts +0 -24
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/stores/ContentEditorStore.d.ts +0 -222
- /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}/plugins/registrations/PluginRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{aurora/RegistrationHandlerDefinitions.d.ts → velcron/apis/VelcronCategoriesHandler.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/DefinitionRegistrations.d.ts → apis/VelcronDefinitionsHandler.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{registrations → definitions}/CategoryRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Image.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/ImageText.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditorNew/definitions/DefinitionRegistrations.d.ts → definitions/content/Quote.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Text.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content → velcron/definitions/social}/Image.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/ImageText.d.ts → velcron/definitions/social/MicroBlog.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Quote.d.ts → velcron/definitions/social/MicroBlog2.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Text.d.ts → velcron/definitions/social/Praise.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/index.d.ts → velcron/definitions/social/SocialText.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2/parsers/markdownparser_old/MarkdownParser.d.ts → velcron/definitions/social/index.d.ts} +0 -0
@@ -1,1051 +0,0 @@
|
|
1
|
-
import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
|
2
|
-
import { useMarkdownStore } from "./MarkdownStore";
|
3
|
-
export declare const useMarkdownToolbarStore: () => {
|
4
|
-
state: {
|
5
|
-
activeEditorStore: {
|
6
|
-
state: {
|
7
|
-
editorContent: import("../models/EditorModels").EditorContent;
|
8
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
9
|
-
hideToolbar: boolean;
|
10
|
-
editMode: boolean;
|
11
|
-
maxNodeId: number;
|
12
|
-
toolbarActions: MarkdownEditorActionRegistration[];
|
13
|
-
editor: HTMLDivElement;
|
14
|
-
nodeSelection: import("../models/EditorModels").NodeSelection;
|
15
|
-
telePorts: JSX.Element[];
|
16
|
-
id: string;
|
17
|
-
selectedRange: Range;
|
18
|
-
showPlaceHolder: boolean;
|
19
|
-
};
|
20
|
-
events: {
|
21
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
22
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
23
|
-
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
24
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
25
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
26
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
27
|
-
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
28
|
-
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
29
|
-
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
30
|
-
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
31
|
-
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
32
|
-
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
33
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
34
|
-
actions: {
|
35
|
-
onDispatching: {
|
36
|
-
plugin: {
|
37
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
38
|
-
};
|
39
|
-
content: {
|
40
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
41
|
-
};
|
42
|
-
setEditorMode: {
|
43
|
-
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
44
|
-
};
|
45
|
-
setEditorContainer: {
|
46
|
-
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
47
|
-
};
|
48
|
-
focusEditor: {
|
49
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
|
-
};
|
51
|
-
toolbarAction: {
|
52
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
53
|
-
};
|
54
|
-
formatting: {
|
55
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
56
|
-
};
|
57
|
-
element: {
|
58
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
59
|
-
};
|
60
|
-
commands: {
|
61
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
62
|
-
};
|
63
|
-
};
|
64
|
-
onDispatched: {
|
65
|
-
plugin: {
|
66
|
-
subscribe(fn: (result: {
|
67
|
-
register: {
|
68
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
69
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
70
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
71
|
-
};
|
72
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
73
|
-
};
|
74
|
-
content: {
|
75
|
-
subscribe(fn: (result: {
|
76
|
-
set: {
|
77
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
78
|
-
byString: (content: string) => void;
|
79
|
-
};
|
80
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
81
|
-
};
|
82
|
-
setEditorMode: {
|
83
|
-
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
84
|
-
};
|
85
|
-
setEditorContainer: {
|
86
|
-
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
87
|
-
};
|
88
|
-
focusEditor: {
|
89
|
-
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
|
-
};
|
91
|
-
toolbarAction: {
|
92
|
-
subscribe(fn: (result: {
|
93
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
94
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
95
|
-
};
|
96
|
-
formatting: {
|
97
|
-
subscribe(fn: (result: {
|
98
|
-
add: (element: HTMLElement) => void;
|
99
|
-
toggle: (element: HTMLElement) => void;
|
100
|
-
remove: (dataType: string) => void;
|
101
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
102
|
-
};
|
103
|
-
element: {
|
104
|
-
subscribe(fn: (result: {
|
105
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
106
|
-
createText: () => HTMLParagraphElement;
|
107
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
108
|
-
createTextNode: (data: any) => Text;
|
109
|
-
add: (element: HTMLElement) => void;
|
110
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
111
|
-
};
|
112
|
-
commands: {
|
113
|
-
subscribe(fn: (result: {
|
114
|
-
exec: (command: string, data: object) => void;
|
115
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
116
|
-
};
|
117
|
-
};
|
118
|
-
onFailure: {
|
119
|
-
plugin: {
|
120
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
121
|
-
};
|
122
|
-
content: {
|
123
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
124
|
-
};
|
125
|
-
setEditorMode: {
|
126
|
-
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
127
|
-
};
|
128
|
-
setEditorContainer: {
|
129
|
-
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
130
|
-
};
|
131
|
-
focusEditor: {
|
132
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
133
|
-
};
|
134
|
-
toolbarAction: {
|
135
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
136
|
-
};
|
137
|
-
formatting: {
|
138
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
139
|
-
};
|
140
|
-
element: {
|
141
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
142
|
-
};
|
143
|
-
commands: {
|
144
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
145
|
-
};
|
146
|
-
};
|
147
|
-
} & {
|
148
|
-
plugin: () => {
|
149
|
-
register: {
|
150
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
151
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
152
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
153
|
-
};
|
154
|
-
};
|
155
|
-
content: () => {
|
156
|
-
set: {
|
157
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
158
|
-
byString: (content: string) => void;
|
159
|
-
};
|
160
|
-
};
|
161
|
-
setEditorMode: (editMode: boolean) => void;
|
162
|
-
setEditorContainer: (el: HTMLDivElement) => void;
|
163
|
-
focusEditor: () => void;
|
164
|
-
toolbarAction: () => {
|
165
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
166
|
-
};
|
167
|
-
formatting: () => {
|
168
|
-
add: (element: HTMLElement) => void;
|
169
|
-
toggle: (element: HTMLElement) => void;
|
170
|
-
remove: (dataType: string) => void;
|
171
|
-
};
|
172
|
-
element: () => {
|
173
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
174
|
-
createText: () => HTMLParagraphElement;
|
175
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
176
|
-
createTextNode: (data: any) => Text;
|
177
|
-
add: (element: HTMLElement) => void;
|
178
|
-
};
|
179
|
-
commands: () => {
|
180
|
-
exec: (command: string, data: object) => void;
|
181
|
-
};
|
182
|
-
};
|
183
|
-
get: {
|
184
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
185
|
-
hasContent: () => boolean;
|
186
|
-
content: {
|
187
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
188
|
-
asString: () => string;
|
189
|
-
};
|
190
|
-
selection: {
|
191
|
-
has: {
|
192
|
-
dataType: (dataType: string) => boolean;
|
193
|
-
};
|
194
|
-
get: {
|
195
|
-
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
196
|
-
};
|
197
|
-
};
|
198
|
-
};
|
199
|
-
} & {
|
200
|
-
dispose?: () => void;
|
201
|
-
};
|
202
|
-
show: boolean;
|
203
|
-
actions: MarkdownEditorActionRegistration[];
|
204
|
-
customActionRenderer: () => JSX.Element;
|
205
|
-
};
|
206
|
-
events: {
|
207
|
-
onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
208
|
-
state: {
|
209
|
-
editorContent: import("../models/EditorModels").EditorContent;
|
210
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
211
|
-
hideToolbar: boolean;
|
212
|
-
editMode: boolean;
|
213
|
-
maxNodeId: number;
|
214
|
-
toolbarActions: MarkdownEditorActionRegistration[];
|
215
|
-
editor: HTMLDivElement;
|
216
|
-
nodeSelection: import("../models/EditorModels").NodeSelection;
|
217
|
-
telePorts: JSX.Element[];
|
218
|
-
id: string;
|
219
|
-
selectedRange: Range;
|
220
|
-
showPlaceHolder: boolean;
|
221
|
-
};
|
222
|
-
events: {
|
223
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
224
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
225
|
-
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
226
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
227
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
228
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
229
|
-
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
230
|
-
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
231
|
-
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
232
|
-
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
233
|
-
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
234
|
-
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
235
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
236
|
-
actions: {
|
237
|
-
onDispatching: {
|
238
|
-
plugin: {
|
239
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
240
|
-
};
|
241
|
-
content: {
|
242
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
243
|
-
};
|
244
|
-
setEditorMode: {
|
245
|
-
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
246
|
-
};
|
247
|
-
setEditorContainer: {
|
248
|
-
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
249
|
-
};
|
250
|
-
focusEditor: {
|
251
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
252
|
-
};
|
253
|
-
toolbarAction: {
|
254
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
255
|
-
};
|
256
|
-
formatting: {
|
257
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
258
|
-
};
|
259
|
-
element: {
|
260
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
261
|
-
};
|
262
|
-
commands: {
|
263
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
264
|
-
};
|
265
|
-
};
|
266
|
-
onDispatched: {
|
267
|
-
plugin: {
|
268
|
-
subscribe(fn: (result: {
|
269
|
-
register: {
|
270
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
271
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
272
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
273
|
-
};
|
274
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
275
|
-
};
|
276
|
-
content: {
|
277
|
-
subscribe(fn: (result: {
|
278
|
-
set: {
|
279
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
280
|
-
byString: (content: string) => void;
|
281
|
-
};
|
282
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
283
|
-
};
|
284
|
-
setEditorMode: {
|
285
|
-
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
286
|
-
};
|
287
|
-
setEditorContainer: {
|
288
|
-
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
289
|
-
};
|
290
|
-
focusEditor: {
|
291
|
-
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
292
|
-
};
|
293
|
-
toolbarAction: {
|
294
|
-
subscribe(fn: (result: {
|
295
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
296
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
297
|
-
};
|
298
|
-
formatting: {
|
299
|
-
subscribe(fn: (result: {
|
300
|
-
add: (element: HTMLElement) => void;
|
301
|
-
toggle: (element: HTMLElement) => void;
|
302
|
-
remove: (dataType: string) => void;
|
303
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
304
|
-
};
|
305
|
-
element: {
|
306
|
-
subscribe(fn: (result: {
|
307
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
308
|
-
createText: () => HTMLParagraphElement;
|
309
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
310
|
-
createTextNode: (data: any) => Text;
|
311
|
-
add: (element: HTMLElement) => void;
|
312
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
313
|
-
};
|
314
|
-
commands: {
|
315
|
-
subscribe(fn: (result: {
|
316
|
-
exec: (command: string, data: object) => void;
|
317
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
318
|
-
};
|
319
|
-
};
|
320
|
-
onFailure: {
|
321
|
-
plugin: {
|
322
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
323
|
-
};
|
324
|
-
content: {
|
325
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
326
|
-
};
|
327
|
-
setEditorMode: {
|
328
|
-
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
329
|
-
};
|
330
|
-
setEditorContainer: {
|
331
|
-
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
332
|
-
};
|
333
|
-
focusEditor: {
|
334
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
335
|
-
};
|
336
|
-
toolbarAction: {
|
337
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
338
|
-
};
|
339
|
-
formatting: {
|
340
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
341
|
-
};
|
342
|
-
element: {
|
343
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
344
|
-
};
|
345
|
-
commands: {
|
346
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
347
|
-
};
|
348
|
-
};
|
349
|
-
} & {
|
350
|
-
plugin: () => {
|
351
|
-
register: {
|
352
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
353
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
354
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
355
|
-
};
|
356
|
-
};
|
357
|
-
content: () => {
|
358
|
-
set: {
|
359
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
360
|
-
byString: (content: string) => void;
|
361
|
-
};
|
362
|
-
};
|
363
|
-
setEditorMode: (editMode: boolean) => void;
|
364
|
-
setEditorContainer: (el: HTMLDivElement) => void;
|
365
|
-
focusEditor: () => void;
|
366
|
-
toolbarAction: () => {
|
367
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
368
|
-
};
|
369
|
-
formatting: () => {
|
370
|
-
add: (element: HTMLElement) => void;
|
371
|
-
toggle: (element: HTMLElement) => void;
|
372
|
-
remove: (dataType: string) => void;
|
373
|
-
};
|
374
|
-
element: () => {
|
375
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
376
|
-
createText: () => HTMLParagraphElement;
|
377
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
378
|
-
createTextNode: (data: any) => Text;
|
379
|
-
add: (element: HTMLElement) => void;
|
380
|
-
};
|
381
|
-
commands: () => {
|
382
|
-
exec: (command: string, data: object) => void;
|
383
|
-
};
|
384
|
-
};
|
385
|
-
get: {
|
386
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
387
|
-
hasContent: () => boolean;
|
388
|
-
content: {
|
389
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
390
|
-
asString: () => string;
|
391
|
-
};
|
392
|
-
selection: {
|
393
|
-
has: {
|
394
|
-
dataType: (dataType: string) => boolean;
|
395
|
-
};
|
396
|
-
get: {
|
397
|
-
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
398
|
-
};
|
399
|
-
};
|
400
|
-
};
|
401
|
-
} & {
|
402
|
-
dispose?: () => void;
|
403
|
-
}>;
|
404
|
-
onMutatedShow: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
405
|
-
onMutatedActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
406
|
-
onMutatedCustomActionRenderer: import("@omnia/fx").MessageBusExposeOnlySubscription<() => JSX.Element>;
|
407
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
408
|
-
actions: {
|
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
|
-
};
|
416
|
-
setActiveEditorStore: {
|
417
|
-
subscribe(fn: (store: {
|
418
|
-
state: {
|
419
|
-
editorContent: import("../models/EditorModels").EditorContent;
|
420
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
421
|
-
hideToolbar: boolean;
|
422
|
-
editMode: boolean;
|
423
|
-
maxNodeId: number;
|
424
|
-
toolbarActions: MarkdownEditorActionRegistration[];
|
425
|
-
editor: HTMLDivElement;
|
426
|
-
nodeSelection: import("../models/EditorModels").NodeSelection;
|
427
|
-
telePorts: JSX.Element[];
|
428
|
-
id: string;
|
429
|
-
selectedRange: Range;
|
430
|
-
showPlaceHolder: boolean;
|
431
|
-
};
|
432
|
-
events: {
|
433
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
434
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
435
|
-
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
436
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
437
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
438
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
439
|
-
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
440
|
-
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
441
|
-
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
442
|
-
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
443
|
-
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
444
|
-
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
445
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
446
|
-
actions: {
|
447
|
-
onDispatching: {
|
448
|
-
plugin: {
|
449
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
450
|
-
};
|
451
|
-
content: {
|
452
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
453
|
-
};
|
454
|
-
setEditorMode: {
|
455
|
-
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
456
|
-
};
|
457
|
-
setEditorContainer: {
|
458
|
-
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
459
|
-
};
|
460
|
-
focusEditor: {
|
461
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
462
|
-
};
|
463
|
-
toolbarAction: {
|
464
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
465
|
-
};
|
466
|
-
formatting: {
|
467
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
468
|
-
};
|
469
|
-
element: {
|
470
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
471
|
-
};
|
472
|
-
commands: {
|
473
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
474
|
-
};
|
475
|
-
};
|
476
|
-
onDispatched: {
|
477
|
-
plugin: {
|
478
|
-
subscribe(fn: (result: {
|
479
|
-
register: {
|
480
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
481
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
482
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
483
|
-
};
|
484
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
485
|
-
};
|
486
|
-
content: {
|
487
|
-
subscribe(fn: (result: {
|
488
|
-
set: {
|
489
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
490
|
-
byString: (content: string) => void;
|
491
|
-
};
|
492
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
493
|
-
};
|
494
|
-
setEditorMode: {
|
495
|
-
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
496
|
-
};
|
497
|
-
setEditorContainer: {
|
498
|
-
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
499
|
-
};
|
500
|
-
focusEditor: {
|
501
|
-
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
502
|
-
};
|
503
|
-
toolbarAction: {
|
504
|
-
subscribe(fn: (result: {
|
505
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
506
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
507
|
-
};
|
508
|
-
formatting: {
|
509
|
-
subscribe(fn: (result: {
|
510
|
-
add: (element: HTMLElement) => void;
|
511
|
-
toggle: (element: HTMLElement) => void;
|
512
|
-
remove: (dataType: string) => void;
|
513
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
514
|
-
};
|
515
|
-
element: {
|
516
|
-
subscribe(fn: (result: {
|
517
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
518
|
-
createText: () => HTMLParagraphElement;
|
519
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
520
|
-
createTextNode: (data: any) => Text;
|
521
|
-
add: (element: HTMLElement) => void;
|
522
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
523
|
-
};
|
524
|
-
commands: {
|
525
|
-
subscribe(fn: (result: {
|
526
|
-
exec: (command: string, data: object) => void;
|
527
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
528
|
-
};
|
529
|
-
};
|
530
|
-
onFailure: {
|
531
|
-
plugin: {
|
532
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
533
|
-
};
|
534
|
-
content: {
|
535
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
536
|
-
};
|
537
|
-
setEditorMode: {
|
538
|
-
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
539
|
-
};
|
540
|
-
setEditorContainer: {
|
541
|
-
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
542
|
-
};
|
543
|
-
focusEditor: {
|
544
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
545
|
-
};
|
546
|
-
toolbarAction: {
|
547
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
548
|
-
};
|
549
|
-
formatting: {
|
550
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
551
|
-
};
|
552
|
-
element: {
|
553
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
554
|
-
};
|
555
|
-
commands: {
|
556
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
557
|
-
};
|
558
|
-
};
|
559
|
-
} & {
|
560
|
-
plugin: () => {
|
561
|
-
register: {
|
562
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
563
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
564
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
565
|
-
};
|
566
|
-
};
|
567
|
-
content: () => {
|
568
|
-
set: {
|
569
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
570
|
-
byString: (content: string) => void;
|
571
|
-
};
|
572
|
-
};
|
573
|
-
setEditorMode: (editMode: boolean) => void;
|
574
|
-
setEditorContainer: (el: HTMLDivElement) => void;
|
575
|
-
focusEditor: () => void;
|
576
|
-
toolbarAction: () => {
|
577
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
578
|
-
};
|
579
|
-
formatting: () => {
|
580
|
-
add: (element: HTMLElement) => void;
|
581
|
-
toggle: (element: HTMLElement) => void;
|
582
|
-
remove: (dataType: string) => void;
|
583
|
-
};
|
584
|
-
element: () => {
|
585
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
586
|
-
createText: () => HTMLParagraphElement;
|
587
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
588
|
-
createTextNode: (data: any) => Text;
|
589
|
-
add: (element: HTMLElement) => void;
|
590
|
-
};
|
591
|
-
commands: () => {
|
592
|
-
exec: (command: string, data: object) => void;
|
593
|
-
};
|
594
|
-
};
|
595
|
-
get: {
|
596
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
597
|
-
hasContent: () => boolean;
|
598
|
-
content: {
|
599
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
600
|
-
asString: () => string;
|
601
|
-
};
|
602
|
-
selection: {
|
603
|
-
has: {
|
604
|
-
dataType: (dataType: string) => boolean;
|
605
|
-
};
|
606
|
-
get: {
|
607
|
-
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
608
|
-
};
|
609
|
-
};
|
610
|
-
};
|
611
|
-
} & {
|
612
|
-
dispose?: () => void;
|
613
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
614
|
-
};
|
615
|
-
setVisibility: {
|
616
|
-
subscribe(fn: (show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
617
|
-
};
|
618
|
-
};
|
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
|
-
};
|
626
|
-
setActiveEditorStore: {
|
627
|
-
subscribe(fn: (result: void, store: {
|
628
|
-
state: {
|
629
|
-
editorContent: import("../models/EditorModels").EditorContent;
|
630
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
631
|
-
hideToolbar: boolean;
|
632
|
-
editMode: boolean;
|
633
|
-
maxNodeId: number;
|
634
|
-
toolbarActions: MarkdownEditorActionRegistration[];
|
635
|
-
editor: HTMLDivElement;
|
636
|
-
nodeSelection: import("../models/EditorModels").NodeSelection;
|
637
|
-
telePorts: JSX.Element[];
|
638
|
-
id: string;
|
639
|
-
selectedRange: Range;
|
640
|
-
showPlaceHolder: boolean;
|
641
|
-
};
|
642
|
-
events: {
|
643
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
644
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
645
|
-
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
646
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
647
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
648
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
649
|
-
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
650
|
-
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
651
|
-
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
652
|
-
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
653
|
-
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
654
|
-
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
655
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
656
|
-
actions: {
|
657
|
-
onDispatching: {
|
658
|
-
plugin: {
|
659
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
660
|
-
};
|
661
|
-
content: {
|
662
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
663
|
-
};
|
664
|
-
setEditorMode: {
|
665
|
-
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
666
|
-
};
|
667
|
-
setEditorContainer: {
|
668
|
-
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
669
|
-
};
|
670
|
-
focusEditor: {
|
671
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
672
|
-
};
|
673
|
-
toolbarAction: {
|
674
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
675
|
-
};
|
676
|
-
formatting: {
|
677
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
678
|
-
};
|
679
|
-
element: {
|
680
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
681
|
-
};
|
682
|
-
commands: {
|
683
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
684
|
-
};
|
685
|
-
};
|
686
|
-
onDispatched: {
|
687
|
-
plugin: {
|
688
|
-
subscribe(fn: (result: {
|
689
|
-
register: {
|
690
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
691
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
692
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
693
|
-
};
|
694
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
695
|
-
};
|
696
|
-
content: {
|
697
|
-
subscribe(fn: (result: {
|
698
|
-
set: {
|
699
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
700
|
-
byString: (content: string) => void;
|
701
|
-
};
|
702
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
703
|
-
};
|
704
|
-
setEditorMode: {
|
705
|
-
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
706
|
-
};
|
707
|
-
setEditorContainer: {
|
708
|
-
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
709
|
-
};
|
710
|
-
focusEditor: {
|
711
|
-
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
712
|
-
};
|
713
|
-
toolbarAction: {
|
714
|
-
subscribe(fn: (result: {
|
715
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
716
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
717
|
-
};
|
718
|
-
formatting: {
|
719
|
-
subscribe(fn: (result: {
|
720
|
-
add: (element: HTMLElement) => void;
|
721
|
-
toggle: (element: HTMLElement) => void;
|
722
|
-
remove: (dataType: string) => void;
|
723
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
724
|
-
};
|
725
|
-
element: {
|
726
|
-
subscribe(fn: (result: {
|
727
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
728
|
-
createText: () => HTMLParagraphElement;
|
729
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
730
|
-
createTextNode: (data: any) => Text;
|
731
|
-
add: (element: HTMLElement) => void;
|
732
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
733
|
-
};
|
734
|
-
commands: {
|
735
|
-
subscribe(fn: (result: {
|
736
|
-
exec: (command: string, data: object) => void;
|
737
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
738
|
-
};
|
739
|
-
};
|
740
|
-
onFailure: {
|
741
|
-
plugin: {
|
742
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
743
|
-
};
|
744
|
-
content: {
|
745
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
746
|
-
};
|
747
|
-
setEditorMode: {
|
748
|
-
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
749
|
-
};
|
750
|
-
setEditorContainer: {
|
751
|
-
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
752
|
-
};
|
753
|
-
focusEditor: {
|
754
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
755
|
-
};
|
756
|
-
toolbarAction: {
|
757
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
758
|
-
};
|
759
|
-
formatting: {
|
760
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
761
|
-
};
|
762
|
-
element: {
|
763
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
764
|
-
};
|
765
|
-
commands: {
|
766
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
767
|
-
};
|
768
|
-
};
|
769
|
-
} & {
|
770
|
-
plugin: () => {
|
771
|
-
register: {
|
772
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
773
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
774
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
775
|
-
};
|
776
|
-
};
|
777
|
-
content: () => {
|
778
|
-
set: {
|
779
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
780
|
-
byString: (content: string) => void;
|
781
|
-
};
|
782
|
-
};
|
783
|
-
setEditorMode: (editMode: boolean) => void;
|
784
|
-
setEditorContainer: (el: HTMLDivElement) => void;
|
785
|
-
focusEditor: () => void;
|
786
|
-
toolbarAction: () => {
|
787
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
788
|
-
};
|
789
|
-
formatting: () => {
|
790
|
-
add: (element: HTMLElement) => void;
|
791
|
-
toggle: (element: HTMLElement) => void;
|
792
|
-
remove: (dataType: string) => void;
|
793
|
-
};
|
794
|
-
element: () => {
|
795
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
796
|
-
createText: () => HTMLParagraphElement;
|
797
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
798
|
-
createTextNode: (data: any) => Text;
|
799
|
-
add: (element: HTMLElement) => void;
|
800
|
-
};
|
801
|
-
commands: () => {
|
802
|
-
exec: (command: string, data: object) => void;
|
803
|
-
};
|
804
|
-
};
|
805
|
-
get: {
|
806
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
807
|
-
hasContent: () => boolean;
|
808
|
-
content: {
|
809
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
810
|
-
asString: () => string;
|
811
|
-
};
|
812
|
-
selection: {
|
813
|
-
has: {
|
814
|
-
dataType: (dataType: string) => boolean;
|
815
|
-
};
|
816
|
-
get: {
|
817
|
-
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
818
|
-
};
|
819
|
-
};
|
820
|
-
};
|
821
|
-
} & {
|
822
|
-
dispose?: () => void;
|
823
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
824
|
-
};
|
825
|
-
setVisibility: {
|
826
|
-
subscribe(fn: (result: void, show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
827
|
-
};
|
828
|
-
};
|
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
|
-
};
|
836
|
-
setActiveEditorStore: {
|
837
|
-
subscribe(fn: (failureReason: any, store: {
|
838
|
-
state: {
|
839
|
-
editorContent: import("../models/EditorModels").EditorContent;
|
840
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
841
|
-
hideToolbar: boolean;
|
842
|
-
editMode: boolean;
|
843
|
-
maxNodeId: number;
|
844
|
-
toolbarActions: MarkdownEditorActionRegistration[];
|
845
|
-
editor: HTMLDivElement;
|
846
|
-
nodeSelection: import("../models/EditorModels").NodeSelection;
|
847
|
-
telePorts: JSX.Element[];
|
848
|
-
id: string;
|
849
|
-
selectedRange: Range;
|
850
|
-
showPlaceHolder: boolean;
|
851
|
-
};
|
852
|
-
events: {
|
853
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
854
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
855
|
-
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
856
|
-
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
857
|
-
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
858
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
859
|
-
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
860
|
-
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
861
|
-
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
862
|
-
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
863
|
-
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
864
|
-
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
865
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
866
|
-
actions: {
|
867
|
-
onDispatching: {
|
868
|
-
plugin: {
|
869
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
870
|
-
};
|
871
|
-
content: {
|
872
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
873
|
-
};
|
874
|
-
setEditorMode: {
|
875
|
-
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
876
|
-
};
|
877
|
-
setEditorContainer: {
|
878
|
-
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
879
|
-
};
|
880
|
-
focusEditor: {
|
881
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
882
|
-
};
|
883
|
-
toolbarAction: {
|
884
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
885
|
-
};
|
886
|
-
formatting: {
|
887
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
888
|
-
};
|
889
|
-
element: {
|
890
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
891
|
-
};
|
892
|
-
commands: {
|
893
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
894
|
-
};
|
895
|
-
};
|
896
|
-
onDispatched: {
|
897
|
-
plugin: {
|
898
|
-
subscribe(fn: (result: {
|
899
|
-
register: {
|
900
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
901
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
902
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
903
|
-
};
|
904
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
905
|
-
};
|
906
|
-
content: {
|
907
|
-
subscribe(fn: (result: {
|
908
|
-
set: {
|
909
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
910
|
-
byString: (content: string) => void;
|
911
|
-
};
|
912
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
913
|
-
};
|
914
|
-
setEditorMode: {
|
915
|
-
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
916
|
-
};
|
917
|
-
setEditorContainer: {
|
918
|
-
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
919
|
-
};
|
920
|
-
focusEditor: {
|
921
|
-
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
922
|
-
};
|
923
|
-
toolbarAction: {
|
924
|
-
subscribe(fn: (result: {
|
925
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
926
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
927
|
-
};
|
928
|
-
formatting: {
|
929
|
-
subscribe(fn: (result: {
|
930
|
-
add: (element: HTMLElement) => void;
|
931
|
-
toggle: (element: HTMLElement) => void;
|
932
|
-
remove: (dataType: string) => void;
|
933
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
934
|
-
};
|
935
|
-
element: {
|
936
|
-
subscribe(fn: (result: {
|
937
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
938
|
-
createText: () => HTMLParagraphElement;
|
939
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
940
|
-
createTextNode: (data: any) => Text;
|
941
|
-
add: (element: HTMLElement) => void;
|
942
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
943
|
-
};
|
944
|
-
commands: {
|
945
|
-
subscribe(fn: (result: {
|
946
|
-
exec: (command: string, data: object) => void;
|
947
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
948
|
-
};
|
949
|
-
};
|
950
|
-
onFailure: {
|
951
|
-
plugin: {
|
952
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
953
|
-
};
|
954
|
-
content: {
|
955
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
956
|
-
};
|
957
|
-
setEditorMode: {
|
958
|
-
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
959
|
-
};
|
960
|
-
setEditorContainer: {
|
961
|
-
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
962
|
-
};
|
963
|
-
focusEditor: {
|
964
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
965
|
-
};
|
966
|
-
toolbarAction: {
|
967
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
968
|
-
};
|
969
|
-
formatting: {
|
970
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
971
|
-
};
|
972
|
-
element: {
|
973
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
974
|
-
};
|
975
|
-
commands: {
|
976
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
977
|
-
};
|
978
|
-
};
|
979
|
-
} & {
|
980
|
-
plugin: () => {
|
981
|
-
register: {
|
982
|
-
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
983
|
-
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
984
|
-
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
985
|
-
};
|
986
|
-
};
|
987
|
-
content: () => {
|
988
|
-
set: {
|
989
|
-
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
990
|
-
byString: (content: string) => void;
|
991
|
-
};
|
992
|
-
};
|
993
|
-
setEditorMode: (editMode: boolean) => void;
|
994
|
-
setEditorContainer: (el: HTMLDivElement) => void;
|
995
|
-
focusEditor: () => void;
|
996
|
-
toolbarAction: () => {
|
997
|
-
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
998
|
-
};
|
999
|
-
formatting: () => {
|
1000
|
-
add: (element: HTMLElement) => void;
|
1001
|
-
toggle: (element: HTMLElement) => void;
|
1002
|
-
remove: (dataType: string) => void;
|
1003
|
-
};
|
1004
|
-
element: () => {
|
1005
|
-
createForComponent: (componentName: string) => HTMLDivElement;
|
1006
|
-
createText: () => HTMLParagraphElement;
|
1007
|
-
create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
|
1008
|
-
createTextNode: (data: any) => Text;
|
1009
|
-
add: (element: HTMLElement) => void;
|
1010
|
-
};
|
1011
|
-
commands: () => {
|
1012
|
-
exec: (command: string, data: object) => void;
|
1013
|
-
};
|
1014
|
-
};
|
1015
|
-
get: {
|
1016
|
-
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
1017
|
-
hasContent: () => boolean;
|
1018
|
-
content: {
|
1019
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
1020
|
-
asString: () => string;
|
1021
|
-
};
|
1022
|
-
selection: {
|
1023
|
-
has: {
|
1024
|
-
dataType: (dataType: string) => boolean;
|
1025
|
-
};
|
1026
|
-
get: {
|
1027
|
-
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
1028
|
-
};
|
1029
|
-
};
|
1030
|
-
};
|
1031
|
-
} & {
|
1032
|
-
dispose?: () => void;
|
1033
|
-
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1034
|
-
};
|
1035
|
-
setVisibility: {
|
1036
|
-
subscribe(fn: (failureReason: any, show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
1037
|
-
};
|
1038
|
-
};
|
1039
|
-
} & {
|
1040
|
-
setCustomRenderer: (renderer: () => JSX.Element) => void;
|
1041
|
-
removeAllActions: () => void;
|
1042
|
-
setActiveEditorStore: (store: ReturnType<typeof useMarkdownStore>) => void;
|
1043
|
-
setVisibility: (show: boolean) => void;
|
1044
|
-
};
|
1045
|
-
get: {
|
1046
|
-
isActiveStore(): boolean;
|
1047
|
-
actionsGroupedAndSorted(): MarkdownEditorActionRegistration[][];
|
1048
|
-
};
|
1049
|
-
} & {
|
1050
|
-
dispose?: () => void;
|
1051
|
-
};
|