@omnia/fx 8.0.248-dev → 8.0.250-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +2 -0
  3. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/localizationinput/LocalizationInput.d.ts +1 -1
  4. package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PropertyRow.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +6 -6
  6. package/internal-do-not-import-from-here/ux/appprovisioning/apppropertiesinput/AppPropertiesInput.d.ts +6 -6
  7. package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +5 -5
  8. package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +7 -7
  9. package/internal-do-not-import-from-here/ux/datetimezonerenderer/DateTimeZoneRenderer.d.ts +6 -6
  10. package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +2 -2
  13. package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +7 -7
  14. package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRenderer.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/filterengine/FilterEngineSettings.d.ts +1 -1
  16. package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertySettings.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertySettings.d.ts +1 -1
  18. package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertySettings.d.ts +1 -1
  19. package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertyDefaultValueInput.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertySettings.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertySettings.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertySettings.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +5 -5
  24. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +7 -7
  25. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +11 -11
  26. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +8 -8
  27. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +8 -8
  28. package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +2 -2
  29. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
  30. package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -3
  32. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
  33. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +2 -2
  34. package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutBlockRendererHelper.d.ts +3 -3
  35. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutBlockRenderer.d.ts +6 -6
  36. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +11 -2
  37. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands_old.d.ts +27 -0
  38. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +11 -0
  39. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +9 -0
  40. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/{Nodehelper.d.ts → HtmlNodehelper_old.d.ts} +1 -1
  41. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +17 -15
  42. package/internal-do-not-import-from-here/ux/markdown2/models/{MarkdownPlugin.d.ts → EditorPlugin.d.ts} +8 -10
  43. package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +5 -3
  44. package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +8 -0
  45. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
  46. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
  47. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
  48. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
  49. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
  50. package/internal-do-not-import-from-here/ux/markdown2/plugins/DefineEditorPlugin.d.ts +8 -0
  51. package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorButton.d.ts +47 -0
  53. package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorPlugin.d.ts +3 -0
  54. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +1 -1
  55. package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyPlugin.d.ts +1 -1
  56. package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +1 -1
  57. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +61 -41
  58. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +295 -200
  59. package/internal-do-not-import-from-here/ux/mediagallery/view/MediaDisplayRenderer.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +2 -2
  62. package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.d.ts +1 -1
  63. package/internal-do-not-import-from-here/ux/oxide/calendar/Calendar.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +628 -20
  65. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +20 -20
  66. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +5 -5
  67. package/internal-do-not-import-from-here/ux/oxide/tooltip/Tooltip.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +1 -1
  69. package/internal-do-not-import-from-here/ux/post/Post.d.ts +1 -1
  70. package/internal-do-not-import-from-here/ux/post/templates/PostCardDisplay.d.ts +1 -1
  71. package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
  72. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayConfiguration.d.ts +1 -1
  73. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayEditor.d.ts +1 -1
  74. package/internal-do-not-import-from-here/ux/properties/builtins/boolean/BooleanEditor.d.ts +1 -1
  75. package/internal-do-not-import-from-here/ux/properties/builtins/businessprofile/BusinessProfileEditor.d.ts +1 -1
  76. package/internal-do-not-import-from-here/ux/properties/builtins/date/DateEditor.d.ts +1 -1
  77. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeConfiguration.d.ts +1 -1
  78. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeEditor.d.ts +1 -1
  79. package/internal-do-not-import-from-here/ux/properties/builtins/email/EmailEditor.d.ts +1 -1
  80. package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlConfiguration.d.ts +1 -1
  81. package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlEditor.d.ts +1 -1
  82. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityConfiguration.d.ts +1 -1
  83. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
  84. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityEditor.d.ts +1 -1
  85. package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageConfiguration.d.ts +1 -1
  86. package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageEditor.d.ts +1 -1
  87. package/internal-do-not-import-from-here/ux/properties/builtins/integer/IntegerEditor.d.ts +1 -1
  88. package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguageEditor.d.ts +1 -1
  89. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkConfiguration.d.ts +1 -1
  90. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkEditor.d.ts +1 -1
  91. package/internal-do-not-import-from-here/ux/properties/builtins/media/MediaEditor.d.ts +1 -1
  92. package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextEditor.d.ts +1 -1
  93. package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberEditor.d.ts +1 -1
  94. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +1 -1
  95. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsEditor.d.ts +1 -1
  96. package/internal-do-not-import-from-here/ux/properties/builtins/text/TextEditor.d.ts +1 -1
  97. package/internal-do-not-import-from-here/ux/properties/builtins/time/TimeEditor.d.ts +1 -1
  98. package/internal-do-not-import-from-here/ux/properties/property-configuration/LabelOptionsRenderer.d.ts +1 -1
  99. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfiguration.d.ts +1 -1
  100. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +2 -2
  101. package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyValueRenderer.d.ts +1 -1
  102. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
  103. package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +2 -2
  104. package/internal-do-not-import-from-here/ux/social/Comment.d.ts +7 -7
  105. package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +1 -1
  106. package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +12 -12
  107. package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +3 -3
  108. package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +3 -3
  109. package/internal-do-not-import-from-here/ux/versionedlayout/renderer/VersionedLayoutRenderer.d.ts +3 -3
  110. package/internal-do-not-import-from-here/wctypings.d.ts +0 -3
  111. package/package.json +3 -3
  112. package/internal-do-not-import-from-here/ux/markdown2/parsers/MarkdownParser.d.ts +0 -7
  113. package/internal-do-not-import-from-here/ux/markdown2/plugins/DefineMarkdownPlugin.d.ts +0 -8
@@ -0,0 +1,3 @@
1
+ export declare const sourceEditorPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -1,3 +1,3 @@
1
- export declare const textPlugin: () => import("../../models/MarkdownPlugin").MarkdownPlugin & {
1
+ export declare const textPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,3 +1,3 @@
1
- export declare const typographyPlugin: () => import("../../models/MarkdownPlugin").MarkdownPlugin & {
1
+ export declare const typographyPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,3 +1,3 @@
1
- export declare const velcronRendererPlugin: () => import("../../models/MarkdownPlugin").MarkdownPlugin & {
1
+ export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
2
  dispose?: () => void;
3
3
  };
@@ -1,36 +1,40 @@
1
1
  import { MarkdownEditorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
2
- import { MarkdownPlugin, MarkdownPluginContext } from "../models/MarkdownPlugin";
2
+ import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
+ import { EditorContent, EditorNode, NodeIdSelection } from "../models/EditorModels";
3
4
  export declare const useMarkdownStore: () => {
4
5
  state: {
5
- markdownContent: string;
6
+ editorContent: EditorContent;
7
+ plugins: EditorPlugin[];
6
8
  editMode: boolean;
9
+ maxNodeId: number;
7
10
  toolbarActions: MarkdownEditorActionRegistration[];
8
11
  editor: HTMLDivElement;
9
- selectedPluginNodes: Node[];
12
+ selectedNodes: EditorNode[];
13
+ selectedNodeIds: NodeIdSelection;
10
14
  telePorts: JSX.Element[];
11
15
  id: string;
12
16
  selectedRange: Range;
13
17
  };
14
18
  events: {
15
- onMutatedMarkdownContent: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<string>;
19
+ onMutatedEditorContent: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<EditorContent>;
20
+ onMutatedPlugins: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<EditorPlugin[]>;
16
21
  onMutatedEditMode: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<boolean>;
22
+ onMutatedMaxNodeId: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<number>;
17
23
  onMutatedToolbarActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
18
24
  onMutatedEditor: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<HTMLDivElement>;
19
- onMutatedSelectedPluginNodes: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<Node[]>;
25
+ onMutatedSelectedNodes: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<EditorNode[]>;
26
+ onMutatedSelectedNodeIds: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<NodeIdSelection>;
20
27
  onMutatedTelePorts: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<JSX.Element[]>;
21
28
  onMutatedId: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<string>;
22
29
  onMutatedSelectedRange: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<Range>;
23
30
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
24
31
  actions: {
25
32
  onDispatching: {
26
- registerPlugin: {
27
- subscribe(fn: (pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
28
- };
29
- toMarkdown: {
33
+ plugin: {
30
34
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
31
35
  };
32
- setContent: {
33
- subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
36
+ content: {
37
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
34
38
  };
35
39
  setEditorMode: {
36
40
  subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -38,9 +42,6 @@ export declare const useMarkdownStore: () => {
38
42
  setEditorContainer: {
39
43
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
40
44
  };
41
- registerPluginContext: {
42
- subscribe(fn: (ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
43
- };
44
45
  toolbarAction: {
45
46
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
47
  };
@@ -55,14 +56,22 @@ export declare const useMarkdownStore: () => {
55
56
  };
56
57
  };
57
58
  onDispatched: {
58
- registerPlugin: {
59
- subscribe(fn: (result: void, pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
60
- };
61
- toMarkdown: {
62
- subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
59
+ plugin: {
60
+ subscribe(fn: (result: {
61
+ register: {
62
+ plugin: (pluginSettings: MarkdownPluginSettings) => void;
63
+ plugins: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => Promise<void>;
64
+ context: (ctx: EditorPluginContext) => void;
65
+ };
66
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
63
67
  };
64
- setContent: {
65
- subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
68
+ content: {
69
+ subscribe(fn: (result: {
70
+ set: {
71
+ byJSON: (content: EditorContent) => void;
72
+ byString: (content: string) => void;
73
+ };
74
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
66
75
  };
67
76
  setEditorMode: {
68
77
  subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -70,9 +79,6 @@ export declare const useMarkdownStore: () => {
70
79
  setEditorContainer: {
71
80
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
72
81
  };
73
- registerPluginContext: {
74
- subscribe(fn: (result: void, ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
75
- };
76
82
  toolbarAction: {
77
83
  subscribe(fn: (result: {
78
84
  add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
@@ -100,14 +106,11 @@ export declare const useMarkdownStore: () => {
100
106
  };
101
107
  };
102
108
  onFailure: {
103
- registerPlugin: {
104
- subscribe(fn: (failureReason: any, pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
105
- };
106
- toMarkdown: {
109
+ plugin: {
107
110
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
108
111
  };
109
- setContent: {
110
- subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
112
+ content: {
113
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
111
114
  };
112
115
  setEditorMode: {
113
116
  subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -115,9 +118,6 @@ export declare const useMarkdownStore: () => {
115
118
  setEditorContainer: {
116
119
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
117
120
  };
118
- registerPluginContext: {
119
- subscribe(fn: (failureReason: any, ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
120
- };
121
121
  toolbarAction: {
122
122
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
123
123
  };
@@ -132,12 +132,21 @@ export declare const useMarkdownStore: () => {
132
132
  };
133
133
  };
134
134
  } & {
135
- registerPlugin: (pluginSettings: MarkdownPluginSettings) => void;
136
- toMarkdown: () => string;
137
- setContent: (markdown: string) => void;
135
+ plugin: () => {
136
+ register: {
137
+ plugin: (pluginSettings: MarkdownPluginSettings) => void;
138
+ plugins: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => Promise<void>;
139
+ context: (ctx: EditorPluginContext) => void;
140
+ };
141
+ };
142
+ content: () => {
143
+ set: {
144
+ byJSON: (content: EditorContent) => void;
145
+ byString: (content: string) => void;
146
+ };
147
+ };
138
148
  setEditorMode: (editMode: boolean) => void;
139
149
  setEditorContainer: (el: HTMLDivElement) => void;
140
- registerPluginContext: (ctx: MarkdownPluginContext) => void;
141
150
  toolbarAction: () => {
142
151
  add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
143
152
  };
@@ -157,15 +166,26 @@ export declare const useMarkdownStore: () => {
157
166
  };
158
167
  };
159
168
  get: {
160
- plugins: MarkdownPlugin[];
169
+ plugins: EditorPlugin[];
170
+ content: {
171
+ asJSON: () => EditorContent;
172
+ asString: () => string;
173
+ };
161
174
  selection: {
162
175
  has: {
163
176
  dataType: (dataType: string) => boolean;
164
- elementName: (elementName: string) => boolean;
177
+ nodeName: (name: string) => boolean;
178
+ id: (id: number) => boolean;
165
179
  };
166
180
  get: {
167
- byDataType: (dataType: string) => Node;
168
- byElementName: (elementName: string) => Node;
181
+ byDataType: (dataType: string) => EditorNode;
182
+ byNodeName: (name: string) => EditorNode;
183
+ byId: (id: number) => EditorNode;
184
+ bySelectors(selectors: {
185
+ name?: string;
186
+ id?: string;
187
+ dataType?: string;
188
+ }): EditorNode;
169
189
  };
170
190
  };
171
191
  };