@omnia/fx 8.0.248-dev → 8.0.250-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.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/localizationinput/LocalizationInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PropertyRow.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/appprovisioning/apppropertiesinput/AppPropertiesInput.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/datetimezonerenderer/DateTimeZoneRenderer.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineSettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertyDefaultValueInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutBlockRendererHelper.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutBlockRenderer.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +11 -2
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands_old.d.ts +27 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/{Nodehelper.d.ts → HtmlNodehelper_old.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +17 -15
- package/internal-do-not-import-from-here/ux/markdown2/models/{MarkdownPlugin.d.ts → EditorPlugin.d.ts} +8 -10
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/DefineEditorPlugin.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorButton.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +61 -41
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +295 -200
- package/internal-do-not-import-from-here/ux/mediagallery/view/MediaDisplayRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/calendar/Calendar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +628 -20
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +20 -20
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/tooltip/Tooltip.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostCardDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/boolean/BooleanEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/businessprofile/BusinessProfileEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/date/DateEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/email/EmailEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityConfiguration.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/identity/IdentityEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/integer/IntegerEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguageEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/media/MediaEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/text/TextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/time/TimeEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/LabelOptionsRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyValueRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/VersionedLayoutRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +0 -3
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/markdown2/parsers/MarkdownParser.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/markdown2/plugins/DefineMarkdownPlugin.d.ts +0 -8
@@ -4,35 +4,38 @@ export declare const useMarkdownToolbarStore: () => {
|
|
4
4
|
state: {
|
5
5
|
activeEditorStore: {
|
6
6
|
state: {
|
7
|
-
|
7
|
+
editorContent: import("../models/EditorModels").EditorContent;
|
8
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
8
9
|
editMode: boolean;
|
10
|
+
maxNodeId: number;
|
9
11
|
toolbarActions: MarkdownEditorActionRegistration[];
|
10
12
|
editor: HTMLDivElement;
|
11
|
-
|
13
|
+
selectedNodes: import("../models/EditorModels").EditorNode[];
|
14
|
+
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
12
15
|
telePorts: JSX.Element[];
|
13
16
|
id: string;
|
14
17
|
selectedRange: Range;
|
15
18
|
};
|
16
19
|
events: {
|
17
|
-
|
20
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
21
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
18
22
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
23
|
+
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
19
24
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
20
25
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
21
|
-
|
26
|
+
onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
|
27
|
+
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
22
28
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
23
29
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
24
30
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
25
31
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
26
32
|
actions: {
|
27
33
|
onDispatching: {
|
28
|
-
|
29
|
-
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
30
|
-
};
|
31
|
-
toMarkdown: {
|
34
|
+
plugin: {
|
32
35
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
33
36
|
};
|
34
|
-
|
35
|
-
subscribe(fn: (
|
37
|
+
content: {
|
38
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
36
39
|
};
|
37
40
|
setEditorMode: {
|
38
41
|
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -40,9 +43,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
40
43
|
setEditorContainer: {
|
41
44
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
42
45
|
};
|
43
|
-
registerPluginContext: {
|
44
|
-
subscribe(fn: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
45
|
-
};
|
46
46
|
toolbarAction: {
|
47
47
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
48
48
|
};
|
@@ -57,14 +57,22 @@ export declare const useMarkdownToolbarStore: () => {
|
|
57
57
|
};
|
58
58
|
};
|
59
59
|
onDispatched: {
|
60
|
-
|
61
|
-
subscribe(fn: (result:
|
62
|
-
|
63
|
-
|
64
|
-
|
60
|
+
plugin: {
|
61
|
+
subscribe(fn: (result: {
|
62
|
+
register: {
|
63
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
64
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
65
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
66
|
+
};
|
67
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
65
68
|
};
|
66
|
-
|
67
|
-
subscribe(fn: (result:
|
69
|
+
content: {
|
70
|
+
subscribe(fn: (result: {
|
71
|
+
set: {
|
72
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
73
|
+
byString: (content: string) => void;
|
74
|
+
};
|
75
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
68
76
|
};
|
69
77
|
setEditorMode: {
|
70
78
|
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -72,9 +80,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
72
80
|
setEditorContainer: {
|
73
81
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
74
82
|
};
|
75
|
-
registerPluginContext: {
|
76
|
-
subscribe(fn: (result: void, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
77
|
-
};
|
78
83
|
toolbarAction: {
|
79
84
|
subscribe(fn: (result: {
|
80
85
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -102,14 +107,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
102
107
|
};
|
103
108
|
};
|
104
109
|
onFailure: {
|
105
|
-
|
106
|
-
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
107
|
-
};
|
108
|
-
toMarkdown: {
|
110
|
+
plugin: {
|
109
111
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
110
112
|
};
|
111
|
-
|
112
|
-
subscribe(fn: (failureReason: any
|
113
|
+
content: {
|
114
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
115
|
};
|
114
116
|
setEditorMode: {
|
115
117
|
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -117,9 +119,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
117
119
|
setEditorContainer: {
|
118
120
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
119
121
|
};
|
120
|
-
registerPluginContext: {
|
121
|
-
subscribe(fn: (failureReason: any, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
122
|
-
};
|
123
122
|
toolbarAction: {
|
124
123
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
125
124
|
};
|
@@ -134,12 +133,21 @@ export declare const useMarkdownToolbarStore: () => {
|
|
134
133
|
};
|
135
134
|
};
|
136
135
|
} & {
|
137
|
-
|
138
|
-
|
139
|
-
|
136
|
+
plugin: () => {
|
137
|
+
register: {
|
138
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
139
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
140
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
141
|
+
};
|
142
|
+
};
|
143
|
+
content: () => {
|
144
|
+
set: {
|
145
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
146
|
+
byString: (content: string) => void;
|
147
|
+
};
|
148
|
+
};
|
140
149
|
setEditorMode: (editMode: boolean) => void;
|
141
150
|
setEditorContainer: (el: HTMLDivElement) => void;
|
142
|
-
registerPluginContext: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void;
|
143
151
|
toolbarAction: () => {
|
144
152
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
145
153
|
};
|
@@ -159,15 +167,26 @@ export declare const useMarkdownToolbarStore: () => {
|
|
159
167
|
};
|
160
168
|
};
|
161
169
|
get: {
|
162
|
-
plugins: import("../models/
|
170
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
171
|
+
content: {
|
172
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
173
|
+
asString: () => string;
|
174
|
+
};
|
163
175
|
selection: {
|
164
176
|
has: {
|
165
177
|
dataType: (dataType: string) => boolean;
|
166
|
-
|
178
|
+
nodeName: (name: string) => boolean;
|
179
|
+
id: (id: number) => boolean;
|
167
180
|
};
|
168
181
|
get: {
|
169
|
-
byDataType: (dataType: string) =>
|
170
|
-
|
182
|
+
byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
|
183
|
+
byNodeName: (name: string) => import("../models/EditorModels").EditorNode;
|
184
|
+
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
185
|
+
bySelectors(selectors: {
|
186
|
+
name?: string;
|
187
|
+
id?: string;
|
188
|
+
dataType?: string;
|
189
|
+
}): import("../models/EditorModels").EditorNode;
|
171
190
|
};
|
172
191
|
};
|
173
192
|
};
|
@@ -180,35 +199,38 @@ export declare const useMarkdownToolbarStore: () => {
|
|
180
199
|
events: {
|
181
200
|
onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
182
201
|
state: {
|
183
|
-
|
202
|
+
editorContent: import("../models/EditorModels").EditorContent;
|
203
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
184
204
|
editMode: boolean;
|
205
|
+
maxNodeId: number;
|
185
206
|
toolbarActions: MarkdownEditorActionRegistration[];
|
186
207
|
editor: HTMLDivElement;
|
187
|
-
|
208
|
+
selectedNodes: import("../models/EditorModels").EditorNode[];
|
209
|
+
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
188
210
|
telePorts: JSX.Element[];
|
189
211
|
id: string;
|
190
212
|
selectedRange: Range;
|
191
213
|
};
|
192
214
|
events: {
|
193
|
-
|
215
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
216
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
194
217
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
218
|
+
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
195
219
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
196
220
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
197
|
-
|
221
|
+
onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
|
222
|
+
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
198
223
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
199
224
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
200
225
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
201
226
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
202
227
|
actions: {
|
203
228
|
onDispatching: {
|
204
|
-
|
205
|
-
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
206
|
-
};
|
207
|
-
toMarkdown: {
|
229
|
+
plugin: {
|
208
230
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
209
231
|
};
|
210
|
-
|
211
|
-
subscribe(fn: (
|
232
|
+
content: {
|
233
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
212
234
|
};
|
213
235
|
setEditorMode: {
|
214
236
|
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -216,9 +238,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
216
238
|
setEditorContainer: {
|
217
239
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
218
240
|
};
|
219
|
-
registerPluginContext: {
|
220
|
-
subscribe(fn: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
221
|
-
};
|
222
241
|
toolbarAction: {
|
223
242
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
224
243
|
};
|
@@ -233,14 +252,22 @@ export declare const useMarkdownToolbarStore: () => {
|
|
233
252
|
};
|
234
253
|
};
|
235
254
|
onDispatched: {
|
236
|
-
|
237
|
-
subscribe(fn: (result:
|
238
|
-
|
239
|
-
|
240
|
-
|
255
|
+
plugin: {
|
256
|
+
subscribe(fn: (result: {
|
257
|
+
register: {
|
258
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
259
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
260
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
261
|
+
};
|
262
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
241
263
|
};
|
242
|
-
|
243
|
-
subscribe(fn: (result:
|
264
|
+
content: {
|
265
|
+
subscribe(fn: (result: {
|
266
|
+
set: {
|
267
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
268
|
+
byString: (content: string) => void;
|
269
|
+
};
|
270
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
244
271
|
};
|
245
272
|
setEditorMode: {
|
246
273
|
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -248,9 +275,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
248
275
|
setEditorContainer: {
|
249
276
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
250
277
|
};
|
251
|
-
registerPluginContext: {
|
252
|
-
subscribe(fn: (result: void, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
253
|
-
};
|
254
278
|
toolbarAction: {
|
255
279
|
subscribe(fn: (result: {
|
256
280
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -278,14 +302,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
278
302
|
};
|
279
303
|
};
|
280
304
|
onFailure: {
|
281
|
-
|
282
|
-
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
283
|
-
};
|
284
|
-
toMarkdown: {
|
305
|
+
plugin: {
|
285
306
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
286
307
|
};
|
287
|
-
|
288
|
-
subscribe(fn: (failureReason: any
|
308
|
+
content: {
|
309
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
289
310
|
};
|
290
311
|
setEditorMode: {
|
291
312
|
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -293,9 +314,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
293
314
|
setEditorContainer: {
|
294
315
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
295
316
|
};
|
296
|
-
registerPluginContext: {
|
297
|
-
subscribe(fn: (failureReason: any, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
298
|
-
};
|
299
317
|
toolbarAction: {
|
300
318
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
301
319
|
};
|
@@ -310,12 +328,21 @@ export declare const useMarkdownToolbarStore: () => {
|
|
310
328
|
};
|
311
329
|
};
|
312
330
|
} & {
|
313
|
-
|
314
|
-
|
315
|
-
|
331
|
+
plugin: () => {
|
332
|
+
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;
|
336
|
+
};
|
337
|
+
};
|
338
|
+
content: () => {
|
339
|
+
set: {
|
340
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
341
|
+
byString: (content: string) => void;
|
342
|
+
};
|
343
|
+
};
|
316
344
|
setEditorMode: (editMode: boolean) => void;
|
317
345
|
setEditorContainer: (el: HTMLDivElement) => void;
|
318
|
-
registerPluginContext: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void;
|
319
346
|
toolbarAction: () => {
|
320
347
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
321
348
|
};
|
@@ -335,15 +362,26 @@ export declare const useMarkdownToolbarStore: () => {
|
|
335
362
|
};
|
336
363
|
};
|
337
364
|
get: {
|
338
|
-
plugins: import("../models/
|
365
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
366
|
+
content: {
|
367
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
368
|
+
asString: () => string;
|
369
|
+
};
|
339
370
|
selection: {
|
340
371
|
has: {
|
341
372
|
dataType: (dataType: string) => boolean;
|
342
|
-
|
373
|
+
nodeName: (name: string) => boolean;
|
374
|
+
id: (id: number) => boolean;
|
343
375
|
};
|
344
376
|
get: {
|
345
|
-
byDataType: (dataType: string) =>
|
346
|
-
|
377
|
+
byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
|
378
|
+
byNodeName: (name: string) => import("../models/EditorModels").EditorNode;
|
379
|
+
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
380
|
+
bySelectors(selectors: {
|
381
|
+
name?: string;
|
382
|
+
id?: string;
|
383
|
+
dataType?: string;
|
384
|
+
}): import("../models/EditorModels").EditorNode;
|
347
385
|
};
|
348
386
|
};
|
349
387
|
};
|
@@ -358,35 +396,38 @@ export declare const useMarkdownToolbarStore: () => {
|
|
358
396
|
setActiveEditorStore: {
|
359
397
|
subscribe(fn: (store: {
|
360
398
|
state: {
|
361
|
-
|
399
|
+
editorContent: import("../models/EditorModels").EditorContent;
|
400
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
362
401
|
editMode: boolean;
|
402
|
+
maxNodeId: number;
|
363
403
|
toolbarActions: MarkdownEditorActionRegistration[];
|
364
404
|
editor: HTMLDivElement;
|
365
|
-
|
405
|
+
selectedNodes: import("../models/EditorModels").EditorNode[];
|
406
|
+
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
366
407
|
telePorts: JSX.Element[];
|
367
408
|
id: string;
|
368
409
|
selectedRange: Range;
|
369
410
|
};
|
370
411
|
events: {
|
371
|
-
|
412
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
413
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
372
414
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
415
|
+
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
373
416
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
374
417
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
375
|
-
|
418
|
+
onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
|
419
|
+
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
376
420
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
377
421
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
378
422
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
379
423
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
380
424
|
actions: {
|
381
425
|
onDispatching: {
|
382
|
-
|
383
|
-
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
384
|
-
};
|
385
|
-
toMarkdown: {
|
426
|
+
plugin: {
|
386
427
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
387
428
|
};
|
388
|
-
|
389
|
-
subscribe(fn: (
|
429
|
+
content: {
|
430
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
390
431
|
};
|
391
432
|
setEditorMode: {
|
392
433
|
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -394,9 +435,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
394
435
|
setEditorContainer: {
|
395
436
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
396
437
|
};
|
397
|
-
registerPluginContext: {
|
398
|
-
subscribe(fn: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
399
|
-
};
|
400
438
|
toolbarAction: {
|
401
439
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
402
440
|
};
|
@@ -411,14 +449,22 @@ export declare const useMarkdownToolbarStore: () => {
|
|
411
449
|
};
|
412
450
|
};
|
413
451
|
onDispatched: {
|
414
|
-
|
415
|
-
subscribe(fn: (result:
|
416
|
-
|
417
|
-
|
418
|
-
|
452
|
+
plugin: {
|
453
|
+
subscribe(fn: (result: {
|
454
|
+
register: {
|
455
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
456
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
457
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
458
|
+
};
|
459
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
419
460
|
};
|
420
|
-
|
421
|
-
subscribe(fn: (result:
|
461
|
+
content: {
|
462
|
+
subscribe(fn: (result: {
|
463
|
+
set: {
|
464
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
465
|
+
byString: (content: string) => void;
|
466
|
+
};
|
467
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
422
468
|
};
|
423
469
|
setEditorMode: {
|
424
470
|
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -426,9 +472,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
426
472
|
setEditorContainer: {
|
427
473
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
428
474
|
};
|
429
|
-
registerPluginContext: {
|
430
|
-
subscribe(fn: (result: void, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
431
|
-
};
|
432
475
|
toolbarAction: {
|
433
476
|
subscribe(fn: (result: {
|
434
477
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -456,14 +499,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
456
499
|
};
|
457
500
|
};
|
458
501
|
onFailure: {
|
459
|
-
|
460
|
-
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
461
|
-
};
|
462
|
-
toMarkdown: {
|
502
|
+
plugin: {
|
463
503
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
464
504
|
};
|
465
|
-
|
466
|
-
subscribe(fn: (failureReason: any
|
505
|
+
content: {
|
506
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
467
507
|
};
|
468
508
|
setEditorMode: {
|
469
509
|
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -471,9 +511,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
471
511
|
setEditorContainer: {
|
472
512
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
473
513
|
};
|
474
|
-
registerPluginContext: {
|
475
|
-
subscribe(fn: (failureReason: any, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
476
|
-
};
|
477
514
|
toolbarAction: {
|
478
515
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
479
516
|
};
|
@@ -488,12 +525,21 @@ export declare const useMarkdownToolbarStore: () => {
|
|
488
525
|
};
|
489
526
|
};
|
490
527
|
} & {
|
491
|
-
|
492
|
-
|
493
|
-
|
528
|
+
plugin: () => {
|
529
|
+
register: {
|
530
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
531
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
532
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
533
|
+
};
|
534
|
+
};
|
535
|
+
content: () => {
|
536
|
+
set: {
|
537
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
538
|
+
byString: (content: string) => void;
|
539
|
+
};
|
540
|
+
};
|
494
541
|
setEditorMode: (editMode: boolean) => void;
|
495
542
|
setEditorContainer: (el: HTMLDivElement) => void;
|
496
|
-
registerPluginContext: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void;
|
497
543
|
toolbarAction: () => {
|
498
544
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
499
545
|
};
|
@@ -513,15 +559,26 @@ export declare const useMarkdownToolbarStore: () => {
|
|
513
559
|
};
|
514
560
|
};
|
515
561
|
get: {
|
516
|
-
plugins: import("../models/
|
562
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
563
|
+
content: {
|
564
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
565
|
+
asString: () => string;
|
566
|
+
};
|
517
567
|
selection: {
|
518
568
|
has: {
|
519
569
|
dataType: (dataType: string) => boolean;
|
520
|
-
|
570
|
+
nodeName: (name: string) => boolean;
|
571
|
+
id: (id: number) => boolean;
|
521
572
|
};
|
522
573
|
get: {
|
523
|
-
byDataType: (dataType: string) =>
|
524
|
-
|
574
|
+
byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
|
575
|
+
byNodeName: (name: string) => import("../models/EditorModels").EditorNode;
|
576
|
+
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
577
|
+
bySelectors(selectors: {
|
578
|
+
name?: string;
|
579
|
+
id?: string;
|
580
|
+
dataType?: string;
|
581
|
+
}): import("../models/EditorModels").EditorNode;
|
525
582
|
};
|
526
583
|
};
|
527
584
|
};
|
@@ -537,35 +594,38 @@ export declare const useMarkdownToolbarStore: () => {
|
|
537
594
|
setActiveEditorStore: {
|
538
595
|
subscribe(fn: (result: void, store: {
|
539
596
|
state: {
|
540
|
-
|
597
|
+
editorContent: import("../models/EditorModels").EditorContent;
|
598
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
541
599
|
editMode: boolean;
|
600
|
+
maxNodeId: number;
|
542
601
|
toolbarActions: MarkdownEditorActionRegistration[];
|
543
602
|
editor: HTMLDivElement;
|
544
|
-
|
603
|
+
selectedNodes: import("../models/EditorModels").EditorNode[];
|
604
|
+
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
545
605
|
telePorts: JSX.Element[];
|
546
606
|
id: string;
|
547
607
|
selectedRange: Range;
|
548
608
|
};
|
549
609
|
events: {
|
550
|
-
|
610
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
611
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
551
612
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
613
|
+
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
552
614
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
553
615
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
554
|
-
|
616
|
+
onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
|
617
|
+
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
555
618
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
556
619
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
557
620
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
558
621
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
559
622
|
actions: {
|
560
623
|
onDispatching: {
|
561
|
-
|
562
|
-
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
563
|
-
};
|
564
|
-
toMarkdown: {
|
624
|
+
plugin: {
|
565
625
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
566
626
|
};
|
567
|
-
|
568
|
-
subscribe(fn: (
|
627
|
+
content: {
|
628
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
569
629
|
};
|
570
630
|
setEditorMode: {
|
571
631
|
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -573,9 +633,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
573
633
|
setEditorContainer: {
|
574
634
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
575
635
|
};
|
576
|
-
registerPluginContext: {
|
577
|
-
subscribe(fn: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
578
|
-
};
|
579
636
|
toolbarAction: {
|
580
637
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
581
638
|
};
|
@@ -590,14 +647,22 @@ export declare const useMarkdownToolbarStore: () => {
|
|
590
647
|
};
|
591
648
|
};
|
592
649
|
onDispatched: {
|
593
|
-
|
594
|
-
subscribe(fn: (result:
|
595
|
-
|
596
|
-
|
597
|
-
|
650
|
+
plugin: {
|
651
|
+
subscribe(fn: (result: {
|
652
|
+
register: {
|
653
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
654
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
655
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
656
|
+
};
|
657
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
598
658
|
};
|
599
|
-
|
600
|
-
subscribe(fn: (result:
|
659
|
+
content: {
|
660
|
+
subscribe(fn: (result: {
|
661
|
+
set: {
|
662
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
663
|
+
byString: (content: string) => void;
|
664
|
+
};
|
665
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
601
666
|
};
|
602
667
|
setEditorMode: {
|
603
668
|
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -605,9 +670,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
605
670
|
setEditorContainer: {
|
606
671
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
607
672
|
};
|
608
|
-
registerPluginContext: {
|
609
|
-
subscribe(fn: (result: void, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
610
|
-
};
|
611
673
|
toolbarAction: {
|
612
674
|
subscribe(fn: (result: {
|
613
675
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -635,14 +697,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
635
697
|
};
|
636
698
|
};
|
637
699
|
onFailure: {
|
638
|
-
|
639
|
-
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
640
|
-
};
|
641
|
-
toMarkdown: {
|
700
|
+
plugin: {
|
642
701
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
643
702
|
};
|
644
|
-
|
645
|
-
subscribe(fn: (failureReason: any
|
703
|
+
content: {
|
704
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
646
705
|
};
|
647
706
|
setEditorMode: {
|
648
707
|
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -650,9 +709,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
650
709
|
setEditorContainer: {
|
651
710
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
652
711
|
};
|
653
|
-
registerPluginContext: {
|
654
|
-
subscribe(fn: (failureReason: any, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
655
|
-
};
|
656
712
|
toolbarAction: {
|
657
713
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
658
714
|
};
|
@@ -667,12 +723,21 @@ export declare const useMarkdownToolbarStore: () => {
|
|
667
723
|
};
|
668
724
|
};
|
669
725
|
} & {
|
670
|
-
|
671
|
-
|
672
|
-
|
726
|
+
plugin: () => {
|
727
|
+
register: {
|
728
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
729
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
730
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
731
|
+
};
|
732
|
+
};
|
733
|
+
content: () => {
|
734
|
+
set: {
|
735
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
736
|
+
byString: (content: string) => void;
|
737
|
+
};
|
738
|
+
};
|
673
739
|
setEditorMode: (editMode: boolean) => void;
|
674
740
|
setEditorContainer: (el: HTMLDivElement) => void;
|
675
|
-
registerPluginContext: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void;
|
676
741
|
toolbarAction: () => {
|
677
742
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
678
743
|
};
|
@@ -692,15 +757,26 @@ export declare const useMarkdownToolbarStore: () => {
|
|
692
757
|
};
|
693
758
|
};
|
694
759
|
get: {
|
695
|
-
plugins: import("../models/
|
760
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
761
|
+
content: {
|
762
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
763
|
+
asString: () => string;
|
764
|
+
};
|
696
765
|
selection: {
|
697
766
|
has: {
|
698
767
|
dataType: (dataType: string) => boolean;
|
699
|
-
|
768
|
+
nodeName: (name: string) => boolean;
|
769
|
+
id: (id: number) => boolean;
|
700
770
|
};
|
701
771
|
get: {
|
702
|
-
byDataType: (dataType: string) =>
|
703
|
-
|
772
|
+
byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
|
773
|
+
byNodeName: (name: string) => import("../models/EditorModels").EditorNode;
|
774
|
+
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
775
|
+
bySelectors(selectors: {
|
776
|
+
name?: string;
|
777
|
+
id?: string;
|
778
|
+
dataType?: string;
|
779
|
+
}): import("../models/EditorModels").EditorNode;
|
704
780
|
};
|
705
781
|
};
|
706
782
|
};
|
@@ -716,35 +792,38 @@ export declare const useMarkdownToolbarStore: () => {
|
|
716
792
|
setActiveEditorStore: {
|
717
793
|
subscribe(fn: (failureReason: any, store: {
|
718
794
|
state: {
|
719
|
-
|
795
|
+
editorContent: import("../models/EditorModels").EditorContent;
|
796
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
720
797
|
editMode: boolean;
|
798
|
+
maxNodeId: number;
|
721
799
|
toolbarActions: MarkdownEditorActionRegistration[];
|
722
800
|
editor: HTMLDivElement;
|
723
|
-
|
801
|
+
selectedNodes: import("../models/EditorModels").EditorNode[];
|
802
|
+
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
724
803
|
telePorts: JSX.Element[];
|
725
804
|
id: string;
|
726
805
|
selectedRange: Range;
|
727
806
|
};
|
728
807
|
events: {
|
729
|
-
|
808
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
809
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").EditorPlugin[]>;
|
730
810
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
811
|
+
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
731
812
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
732
813
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
733
|
-
|
814
|
+
onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorNode[]>;
|
815
|
+
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
734
816
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
735
817
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
736
818
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
737
819
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
738
820
|
actions: {
|
739
821
|
onDispatching: {
|
740
|
-
|
741
|
-
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
742
|
-
};
|
743
|
-
toMarkdown: {
|
822
|
+
plugin: {
|
744
823
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
745
824
|
};
|
746
|
-
|
747
|
-
subscribe(fn: (
|
825
|
+
content: {
|
826
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
748
827
|
};
|
749
828
|
setEditorMode: {
|
750
829
|
subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -752,9 +831,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
752
831
|
setEditorContainer: {
|
753
832
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
754
833
|
};
|
755
|
-
registerPluginContext: {
|
756
|
-
subscribe(fn: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
757
|
-
};
|
758
834
|
toolbarAction: {
|
759
835
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
760
836
|
};
|
@@ -769,14 +845,22 @@ export declare const useMarkdownToolbarStore: () => {
|
|
769
845
|
};
|
770
846
|
};
|
771
847
|
onDispatched: {
|
772
|
-
|
773
|
-
subscribe(fn: (result:
|
774
|
-
|
775
|
-
|
776
|
-
|
848
|
+
plugin: {
|
849
|
+
subscribe(fn: (result: {
|
850
|
+
register: {
|
851
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
852
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
853
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
854
|
+
};
|
855
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
777
856
|
};
|
778
|
-
|
779
|
-
subscribe(fn: (result:
|
857
|
+
content: {
|
858
|
+
subscribe(fn: (result: {
|
859
|
+
set: {
|
860
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
861
|
+
byString: (content: string) => void;
|
862
|
+
};
|
863
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
780
864
|
};
|
781
865
|
setEditorMode: {
|
782
866
|
subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -784,9 +868,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
784
868
|
setEditorContainer: {
|
785
869
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
786
870
|
};
|
787
|
-
registerPluginContext: {
|
788
|
-
subscribe(fn: (result: void, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
789
|
-
};
|
790
871
|
toolbarAction: {
|
791
872
|
subscribe(fn: (result: {
|
792
873
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -814,14 +895,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
814
895
|
};
|
815
896
|
};
|
816
897
|
onFailure: {
|
817
|
-
|
818
|
-
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
819
|
-
};
|
820
|
-
toMarkdown: {
|
898
|
+
plugin: {
|
821
899
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
822
900
|
};
|
823
|
-
|
824
|
-
subscribe(fn: (failureReason: any
|
901
|
+
content: {
|
902
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
825
903
|
};
|
826
904
|
setEditorMode: {
|
827
905
|
subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -829,9 +907,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
829
907
|
setEditorContainer: {
|
830
908
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
831
909
|
};
|
832
|
-
registerPluginContext: {
|
833
|
-
subscribe(fn: (failureReason: any, ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
834
|
-
};
|
835
910
|
toolbarAction: {
|
836
911
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
837
912
|
};
|
@@ -846,12 +921,21 @@ export declare const useMarkdownToolbarStore: () => {
|
|
846
921
|
};
|
847
922
|
};
|
848
923
|
} & {
|
849
|
-
|
850
|
-
|
851
|
-
|
924
|
+
plugin: () => {
|
925
|
+
register: {
|
926
|
+
plugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
927
|
+
plugins: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings | import("@omnia/fx-models").MarkdownPluginSettings[]) => Promise<void>;
|
928
|
+
context: (ctx: import("../models/EditorPlugin").EditorPluginContext) => void;
|
929
|
+
};
|
930
|
+
};
|
931
|
+
content: () => {
|
932
|
+
set: {
|
933
|
+
byJSON: (content: import("../models/EditorModels").EditorContent) => void;
|
934
|
+
byString: (content: string) => void;
|
935
|
+
};
|
936
|
+
};
|
852
937
|
setEditorMode: (editMode: boolean) => void;
|
853
938
|
setEditorContainer: (el: HTMLDivElement) => void;
|
854
|
-
registerPluginContext: (ctx: import("../models/MarkdownPlugin").MarkdownPluginContext) => void;
|
855
939
|
toolbarAction: () => {
|
856
940
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
857
941
|
};
|
@@ -871,15 +955,26 @@ export declare const useMarkdownToolbarStore: () => {
|
|
871
955
|
};
|
872
956
|
};
|
873
957
|
get: {
|
874
|
-
plugins: import("../models/
|
958
|
+
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
959
|
+
content: {
|
960
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
961
|
+
asString: () => string;
|
962
|
+
};
|
875
963
|
selection: {
|
876
964
|
has: {
|
877
965
|
dataType: (dataType: string) => boolean;
|
878
|
-
|
966
|
+
nodeName: (name: string) => boolean;
|
967
|
+
id: (id: number) => boolean;
|
879
968
|
};
|
880
969
|
get: {
|
881
|
-
byDataType: (dataType: string) =>
|
882
|
-
|
970
|
+
byDataType: (dataType: string) => import("../models/EditorModels").EditorNode;
|
971
|
+
byNodeName: (name: string) => import("../models/EditorModels").EditorNode;
|
972
|
+
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
973
|
+
bySelectors(selectors: {
|
974
|
+
name?: string;
|
975
|
+
id?: string;
|
976
|
+
dataType?: string;
|
977
|
+
}): import("../models/EditorModels").EditorNode;
|
883
978
|
};
|
884
979
|
};
|
885
980
|
};
|