@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.
Files changed (151) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +12 -11
  3. package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
  4. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
  5. package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +4 -0
  7. package/internal-do-not-import-from-here/ux/aurora/designkits/default/DefinitionRegistrations.d.ts +0 -1
  8. package/internal-do-not-import-from-here/ux/aurora/designkits/pages/DefinitionRegistrations.d.ts +0 -1
  9. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +36 -0
  10. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +36 -0
  11. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +3 -14
  12. package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
  13. package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
  14. package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
  15. package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
  16. package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
  17. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
  18. package/internal-do-not-import-from-here/ux/floweditor/FlowEditor.css.d.ts +6 -0
  19. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
  20. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.css.d.ts → floweditor/FlowEditorToolbar.css.d.ts} +1 -1
  21. package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +99 -0
  22. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +6 -0
  23. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/Editorhelper.d.ts +15 -0
  24. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +25 -0
  25. package/internal-do-not-import-from-here/ux/floweditor/models/Constants.d.ts +14 -0
  26. package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
  27. package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +40 -0
  28. package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
  29. package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
  30. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
  31. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
  33. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +7 -0
  35. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/EditorEvents.d.ts +4 -0
  36. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/KeyboardEvents.d.ts +4 -0
  37. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +4 -0
  38. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +4 -0
  39. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/EnterHandler.d.ts +4 -0
  40. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/floweditor/plugins/sourceeditor/SourceEditorPlugin.d.ts +4 -0
  42. package/internal-do-not-import-from-here/ux/floweditor/plugins/testdata/TestDataPlugin.d.ts +4 -0
  43. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
  44. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
  45. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
  47. package/internal-do-not-import-from-here/ux/floweditor/rules/EditorRules.d.ts +7 -0
  48. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorStore.d.ts +370 -0
  49. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorToolbarStore.d.ts +1901 -0
  50. package/internal-do-not-import-from-here/ux/hub/feed/definitions/CommunityUpdate.d.ts +0 -2
  51. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DefinitionRegistrations.d.ts +0 -1
  52. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DocumentReview.d.ts +0 -2
  53. package/internal-do-not-import-from-here/ux/hub/feed/definitions/NewsArticleTemplate.d.ts +0 -2
  54. package/internal-do-not-import-from-here/ux/hub/feed/definitions/QuickPoll.d.ts +0 -2
  55. package/internal-do-not-import-from-here/ux/hub/feed/definitions/Reach.d.ts +0 -2
  56. package/internal-do-not-import-from-here/ux/hub/feed/definitions/UpdatedProcess.d.ts +0 -2
  57. package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +1 -0
  58. package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
  59. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
  62. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +18 -1
  63. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +5 -5
  64. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +5 -1
  65. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -5
  66. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +3 -3
  67. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -1
  69. package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/models → definitions}/VelcronDefinitionIds.d.ts +1 -1
  70. package/internal-do-not-import-from-here/ux/velcron/definitions/index.d.ts +1 -1
  71. package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -1
  72. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +7 -7
  73. package/internal-do-not-import-from-here/ux/velcron/renderer/components/{Markdown.d.ts → Flow.d.ts} +6 -6
  74. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
  75. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/MarkdownEditor.d.ts +6 -6
  76. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
  77. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +47 -7
  78. package/internal-do-not-import-from-here/wctypings.d.ts +10 -32
  79. package/package.json +2 -2
  80. package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
  81. package/internal-do-not-import-from-here/ux/markdown2/MarkdownEditorFuture.css.d.ts +0 -6
  82. package/internal-do-not-import-from-here/ux/markdown2/commands/ClipboardCommands.d.ts +0 -4
  83. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +0 -52
  84. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -5
  85. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/Editorhelper.d.ts +0 -7
  86. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +0 -9
  87. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
  88. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
  89. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -21
  90. package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -18
  91. package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
  92. package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
  93. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
  94. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
  95. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
  96. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
  97. package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorPlugin.d.ts +0 -3
  98. package/internal-do-not-import-from-here/ux/markdown2/plugins/testdata/TestDataPlugin.d.ts +0 -3
  99. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
  100. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +0 -200
  101. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +0 -1051
  102. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.css.d.ts +0 -6
  103. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +0 -949
  104. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/content/Quote.d.ts +0 -2
  105. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/index.d.ts +0 -2
  106. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Image.d.ts +0 -2
  107. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog.d.ts +0 -3
  108. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog2.d.ts +0 -3
  109. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Praise.d.ts +0 -2
  110. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/SocialText.d.ts +0 -2
  111. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/index.d.ts +0 -4
  112. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +0 -9
  113. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/index.d.ts +0 -2
  114. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +0 -180
  115. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +0 -1
  116. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.css.d.ts +0 -5
  117. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.d.ts +0 -1133
  118. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentRenderer.d.ts +0 -80
  119. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.css.d.ts +0 -4
  120. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.d.ts +0 -11
  121. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector copy.d.ts +0 -11
  122. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.css.d.ts +0 -12
  123. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.d.ts +0 -11
  124. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar copy.d.ts +0 -14
  125. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.css.d.ts +0 -4
  126. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.d.ts +0 -14
  127. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/DefinitionRegistrations.d.ts +0 -1
  128. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/index.d.ts +0 -1
  129. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  130. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.d.ts +0 -2
  131. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/EditorRenderingHooks.d.ts +0 -24
  132. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/index.d.ts +0 -1
  133. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/stores/ContentEditorStore.d.ts +0 -222
  134. /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
  135. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
  136. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
  137. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
  138. /package/internal-do-not-import-from-here/ux/{aurora/RegistrationHandlerDefinitions.d.ts → velcron/apis/VelcronCategoriesHandler.d.ts} +0 -0
  139. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/DefinitionRegistrations.d.ts → apis/VelcronDefinitionsHandler.d.ts} +0 -0
  140. /package/internal-do-not-import-from-here/ux/velcron/{registrations → definitions}/CategoryRegistrations.d.ts +0 -0
  141. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Image.d.ts +0 -0
  142. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/ImageText.d.ts +0 -0
  143. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditorNew/definitions/DefinitionRegistrations.d.ts → definitions/content/Quote.d.ts} +0 -0
  144. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Text.d.ts +0 -0
  145. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/index.d.ts +0 -0
  146. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content → velcron/definitions/social}/Image.d.ts +0 -0
  147. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/ImageText.d.ts → velcron/definitions/social/MicroBlog.d.ts} +0 -0
  148. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Quote.d.ts → velcron/definitions/social/MicroBlog2.d.ts} +0 -0
  149. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Text.d.ts → velcron/definitions/social/Praise.d.ts} +0 -0
  150. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/index.d.ts → velcron/definitions/social/SocialText.d.ts} +0 -0
  151. /package/internal-do-not-import-from-here/ux/{markdown2/parsers/markdownparser_old/MarkdownParser.d.ts → velcron/definitions/social/index.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { DynamicState, VelcronAppDefinition, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRendererTypeRegistration, VelcronRendererReference, guid } from "@omnia/fx-models";
1
+ import { DynamicState, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRegistrationWithoutApp, VelcronDefinitionRendererTypeRegistration, VelcronRendererResolverReference, guid } from "@omnia/fx-models";
2
2
  export declare const useVelcronDefinitionStore: () => {
3
3
  state: {
4
4
  definitions: VelcronDefinitionRegistration<object>[];
@@ -6,8 +6,8 @@ export declare const useVelcronDefinitionStore: () => {
6
6
  rendererTypes: VelcronDefinitionRendererTypeRegistration[];
7
7
  };
8
8
  get: {
9
- byReference(reference: VelcronRendererReference | VelcronAppDefinition): VelcronAppDefinition<object>;
10
- byId<TState extends DynamicState>(id: guid, stripped?: boolean): VelcronDefinitionRegistration<TState>;
9
+ appDefinition(registration: VelcronDefinitionRegistration | VelcronDefinitionRegistrationWithoutApp): import("@omnia/fx-models").VelcronAppDefinition<object>;
10
+ byId<TState extends DynamicState>(id: guid): VelcronDefinitionRegistrationWithoutApp;
11
11
  byFilters(categoryFilters: Array<guid>, rendererTypeFilters: Array<guid>, includeBuiltIn?: boolean): VelcronDefinitionRegistration<object>[];
12
12
  readonly categories: VelcronDefinitionCategoryRegistration[];
13
13
  filteredCategories(filters: Array<guid>, rendererTypeFilters: Array<guid>, includeBuiltIn?: boolean): VelcronDefinitionCategoryRegistration[];
@@ -19,7 +19,19 @@ export declare const useVelcronDefinitionStore: () => {
19
19
  addDefinition: {
20
20
  subscribe(fn: (registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
21
21
  };
22
- load: {
22
+ loadAll: {
23
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
24
+ };
25
+ ensureByReference: {
26
+ subscribe(fn: (reference: VelcronRendererResolverReference) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
27
+ };
28
+ ensureCustomDefinitions: {
29
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
30
+ };
31
+ ensureProviderDefinitions: {
32
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
33
+ };
34
+ ensureCategories: {
23
35
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
24
36
  };
25
37
  saveDefinition: {
@@ -33,7 +45,19 @@ export declare const useVelcronDefinitionStore: () => {
33
45
  addDefinition: {
34
46
  subscribe(fn: (result: void, registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
35
47
  };
36
- load: {
48
+ loadAll: {
49
+ subscribe(fn: (result: [void, void, void]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
50
+ };
51
+ ensureByReference: {
52
+ subscribe(fn: (result: VelcronDefinitionRegistrationWithoutApp, reference: VelcronRendererResolverReference) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
53
+ };
54
+ ensureCustomDefinitions: {
55
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
56
+ };
57
+ ensureProviderDefinitions: {
58
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
59
+ };
60
+ ensureCategories: {
37
61
  subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
38
62
  };
39
63
  saveDefinition: {
@@ -47,7 +71,19 @@ export declare const useVelcronDefinitionStore: () => {
47
71
  addDefinition: {
48
72
  subscribe(fn: (failureReason: any, registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
73
  };
50
- load: {
74
+ loadAll: {
75
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
76
+ };
77
+ ensureByReference: {
78
+ subscribe(fn: (failureReason: any, reference: VelcronRendererResolverReference) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
79
+ };
80
+ ensureCustomDefinitions: {
81
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
82
+ };
83
+ ensureProviderDefinitions: {
84
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
85
+ };
86
+ ensureCategories: {
51
87
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
52
88
  };
53
89
  saveDefinition: {
@@ -59,7 +95,11 @@ export declare const useVelcronDefinitionStore: () => {
59
95
  };
60
96
  } & {
61
97
  addDefinition(registration: VelcronDefinitionRegistration): void;
62
- load(): Promise<void>;
98
+ loadAll(): Promise<[void, void, void]>;
99
+ ensureByReference(reference: VelcronRendererResolverReference): Promise<VelcronDefinitionRegistrationWithoutApp>;
100
+ ensureCustomDefinitions(): Promise<void>;
101
+ ensureProviderDefinitions(): Promise<void>;
102
+ ensureCategories(): Promise<void>;
63
103
  saveDefinition(definition: VelcronDefinitionRegistration): Promise<void>;
64
104
  deleteDefinition(definition: VelcronDefinitionRegistration): Promise<void>;
65
105
  };
@@ -39,6 +39,7 @@ import wc7813f37afbf34cb085a2ef74e71e20fa from './ux/filterengine/components/ren
39
39
  import wc373cd0c180af441ca9f973b1da4de7f9 from './ux/filterengine/components/renderer/PropertyListRenderer';
40
40
  import wc0b99953ef72848a7936f51500d69d771 from './ux/filterengine/components/renderer/date/DateTimePeriodSlider';
41
41
  import wc46a6c15c2a0e446fbef9770274409366 from './ux/filterpicker/FilterPicker';
42
+ import wcfaee0b6397494a9abca9c480856e2498 from './ux/floweditor/FlowEditor';
42
43
  import wca673e0befd6649dda5e680ae1cd3535d from './ux/governancedashboard/NumericIndicator';
43
44
  import wca377536b4fd84773a9730966623601cd from './ux/governancedashboard/BarChartIndicator';
44
45
  import wc08b9c70d2a77433f8492dc0fb50d900e from './ux/grecaptcha/GRecaptcha';
@@ -66,7 +67,6 @@ import wcd836de74ad894f4999e21046b1ba2cab from './ux/magiclink/MagicLinkFailure'
66
67
  import wc744b3f31e00c4815b63ecaf638ad7a7a from './ux/markdown/MarkdownEditor';
67
68
  import wcc8b990d01ddc45ab930b4409fc406435 from './ux/markdown/MarkdownRenderer';
68
69
  import wccbd18219fce4454d92afd1867f0ef43b from './ux/markdown/MarkdownToolbar';
69
- import wcfaee0b6397494a9abca9c480856e2498 from './ux/markdown2/MarkdownEditorFuture';
70
70
  import wce9bb3179713943d787e139cedf749838 from './ux/mediapickerimage/MediaPickerImage';
71
71
  import wc4b2648ed8b124e62a09b21b099b43399 from './ux/mediapickervideo/MediaPickerVideo';
72
72
  import wc2e8004b49c8d44dd8edb56ce884c2b57 from './ux/monaco/MonacoEditor';
@@ -217,7 +217,6 @@ import wc4aed54beb02341e3a6cbde5af5fb6c78 from './ux/layoutcanvas/layoutactionha
217
217
  import wc02c473f7041b40038ceecdf09e6ba4ca from './ux/layoutcanvas/layoutactionhandler/LayoutActionSettings';
218
218
  import wc0b2ee63495854227a082987161a9e641 from './ux/layoutcanvas/renderer/LayoutBlockRendererHelper';
219
219
  import wcf346db89a53b404690b1795429fb0162 from './ux/layoutcanvas/renderer/LayoutRendererCanvas';
220
- import wcdc73e71c4fdf47bbb5f48c6d998b4229 from './ux/markdown2/markdowntester/MarkdownTester';
221
220
  import wc96c7e84dfb66450796fe123aea7999c5 from './ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer';
222
221
  import wcc15cd6402e584ab18c73ed2b5e3eded9 from './ux/mediagallery/view/MediaDisplayRenderer';
223
222
  import wc29f45ded4fb4479fab6fd6fd79505642 from './ux/mediapickerV2/chrome/MediaPicker';
@@ -458,9 +457,7 @@ import wcc9d01726f5594902bf4de68612b186de from './ux/velcron/blocks/demo/DemoBlo
458
457
  import wcbbd5168574b64f0486adaf68ba31be49 from './ux/velcron/blocks/demo/DemoBlockSettings';
459
458
  import wc80bd5b0978ea40439001d3d409236382 from './ux/velcron/blocks/velcron/VelcronBlock';
460
459
  import wce8526e8ed3f74e848e0dd747fd4d376d from './ux/velcron/blocks/velcron/VelcronBlockSettings';
461
- import wca7db43482a3140998eca19b47d941126 from './ux/velcron/components/contenteditor/VelcronContentEditor';
462
460
  import wcb2999683f82046d6ad05a3c13df8e577 from './ux/velcron/components/contenteditorNew/VelcronContentEditor';
463
- import wc6d57729e9d8f4a8080e512f6214ee24d from './ux/velcron/components/contenteditorNew/VelcronContentRenderer';
464
461
  import wcb197c5e805cc4d6bb3d012e258560b31 from './ux/velcron/components/definitionpicker/VelcronDefinitionPicker';
465
462
  import wcdabd67ab338243858fe7d1ca24399995 from './ux/velcron/components/propertieseditor/VelcronPropertiesEditor';
466
463
  import wc5688474abe554cabb34c696620eb6be1 from './ux/velcron/renderer/editors/PropertyEditorCreator';
@@ -1309,6 +1306,15 @@ declare global {
1309
1306
  };
1310
1307
  } : typeof wc46a6c15c2a0e446fbef9770274409366;
1311
1308
  };
1309
+ "flow": {
1310
+ "editor": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
1311
+ propsDefinition: infer TProp;
1312
+ } ? {
1313
+ new (...args: any[]): {
1314
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1315
+ };
1316
+ } : typeof wcfaee0b6397494a9abca9c480856e2498;
1317
+ };
1312
1318
  "numeric": {
1313
1319
  "indicator": typeof wca673e0befd6649dda5e680ae1cd3535d extends {
1314
1320
  propsDefinition: infer TProp;
@@ -1578,13 +1584,6 @@ declare global {
1578
1584
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1579
1585
  };
1580
1586
  } : typeof wccbd18219fce4454d92afd1867f0ef43b;
1581
- "future": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
1582
- propsDefinition: infer TProp;
1583
- } ? {
1584
- new (...args: any[]): {
1585
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1586
- };
1587
- } : typeof wcfaee0b6397494a9abca9c480856e2498;
1588
1587
  };
1589
1588
  "renderer": typeof wcc8b990d01ddc45ab930b4409fc406435 extends {
1590
1589
  propsDefinition: infer TProp;
@@ -1600,13 +1599,6 @@ declare global {
1600
1599
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1601
1600
  };
1602
1601
  } : typeof wc744b3f31e00c4815b63ecaf638ad7a7a;
1603
- "tester": typeof wcdc73e71c4fdf47bbb5f48c6d998b4229 extends {
1604
- propsDefinition: infer TProp;
1605
- } ? {
1606
- new (...args: any[]): {
1607
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1608
- };
1609
- } : typeof wcdc73e71c4fdf47bbb5f48c6d998b4229;
1610
1602
  };
1611
1603
  "media": {
1612
1604
  "picker": {
@@ -3179,20 +3171,6 @@ declare global {
3179
3171
  };
3180
3172
  } : typeof wcb2999683f82046d6ad05a3c13df8e577;
3181
3173
  };
3182
- "editor$": typeof wca7db43482a3140998eca19b47d941126 extends {
3183
- propsDefinition: infer TProp;
3184
- } ? {
3185
- new (...args: any[]): {
3186
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3187
- };
3188
- } : typeof wca7db43482a3140998eca19b47d941126;
3189
- "renderer": typeof wc6d57729e9d8f4a8080e512f6214ee24d extends {
3190
- propsDefinition: infer TProp;
3191
- } ? {
3192
- new (...args: any[]): {
3193
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3194
- };
3195
- } : typeof wc6d57729e9d8f4a8080e512f6214ee24d;
3196
3174
  };
3197
3175
  "definition": {
3198
3176
  "picker": typeof wcb197c5e805cc4d6bb3d012e258560b31 extends {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.264-dev",
4
+ "version": "8.0.266-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.264-dev",
23
+ "@omnia/fx-models": "8.0.266-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,2 +0,0 @@
1
- export * from "./MarkdownToolbarStateStore";
2
- export * from "./MarkdownPluginStore";
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- container: {
3
- fontSize: number;
4
- };
5
- };
6
- export default _default;
@@ -1,4 +0,0 @@
1
- export type builtIndataTypes = "text" | "formatting";
2
- export declare function useClipboardCommands(): {
3
- paste: (ev: ClipboardEvent) => void;
4
- };
@@ -1,52 +0,0 @@
1
- import { EditorContent, NodeSelection } from "../models/EditorModels";
2
- export type builtIndataTypes = "text" | "formatting";
3
- export declare function useEditorCommands(state: {
4
- editor: HTMLDivElement;
5
- selectedRange: Range;
6
- maxNodeId: number;
7
- editorContent: EditorContent;
8
- nodeSelection: NodeSelection;
9
- }): {
10
- selection: {
11
- get: {
12
- byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
13
- };
14
- };
15
- actions: {
16
- setSelection: () => void;
17
- };
18
- evenhandlers: {
19
- backspace: () => void;
20
- enter: () => void;
21
- };
22
- formatting: {
23
- add: (element: HTMLElement, toggleIfExists?: boolean) => void;
24
- remove: (dataType: string) => void;
25
- };
26
- element: {
27
- add: (element: HTMLElement) => void;
28
- create: (tagName: string, dataType: builtIndataTypes | string) => HTMLElement;
29
- createText: () => HTMLParagraphElement;
30
- createTextNode: (data: any) => Text;
31
- createComponent: (componentName: string) => HTMLDivElement;
32
- };
33
- helpers: {
34
- editor: {
35
- storeCursorPosition: (state: {
36
- selectedRange: Range;
37
- }) => void;
38
- ensureSelectionIsInEditor: (range: Range) => void;
39
- };
40
- editorNode: {
41
- getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
42
- getNodesInArrayByDataType: (nodes: Array<import("../models/EditorModels").ContentNodeReference>, dataType: string) => Array<import("../models/EditorModels").ContentNodeReference>;
43
- };
44
- htmlNode: {
45
- getNodeSelectionForRange: (range: Range) => NodeSelection;
46
- removeNodes: (nodes2Remove: Array<import("../models/EditorModels").ContentNodeReference>, editor: HTMLElement) => void;
47
- getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
48
- surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
49
- surroundContents: (element: HTMLElement, range: Range) => void;
50
- };
51
- };
52
- };
@@ -1,5 +0,0 @@
1
- import { ContentNodeReference } from "../../models/EditorModels";
2
- export declare function useEditorNodeHelper(): {
3
- getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
4
- getNodesInArrayByDataType: (nodes: Array<ContentNodeReference>, dataType: string) => Array<ContentNodeReference>;
5
- };
@@ -1,7 +0,0 @@
1
- export type builtIndataTypes = "text" | "formatting";
2
- export declare function useEditorHelper(): {
3
- storeCursorPosition: (state: {
4
- selectedRange: Range;
5
- }) => void;
6
- ensureSelectionIsInEditor: (range: Range) => void;
7
- };
@@ -1,9 +0,0 @@
1
- import { ContentNodeReference, NodeSelection } from "../../models/EditorModels";
2
- export type builtIndataTypes = "text" | "formatting";
3
- export declare function useHtmlNodeHelper(): {
4
- getNodeSelectionForRange: (range: Range) => NodeSelection;
5
- removeNodes: (nodes2Remove: Array<ContentNodeReference>, editor: HTMLElement) => void;
6
- getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
7
- surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
8
- surroundContents: (element: HTMLElement, range: Range) => void;
9
- };
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- container: {
3
- fontSize: number;
4
- };
5
- };
6
- export default _default;
@@ -1,16 +0,0 @@
1
- declare const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
10
- __isFragment?: never;
11
- __isTeleport?: never;
12
- __isSuspense?: never;
13
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
14
- propsDefinition: Omit<Readonly<{} & {}>, never>;
15
- };
16
- export default _default;
@@ -1,21 +0,0 @@
1
- export interface EditorContent {
2
- version: string;
3
- nodes: ContentNode[];
4
- }
5
- export interface ContentNode {
6
- type: string;
7
- children?: ContentNode[];
8
- }
9
- export interface TextEditorNode extends ContentNode {
10
- text: string;
11
- }
12
- export interface ContentNodeReference {
13
- type: string;
14
- id: number;
15
- element: HTMLElement;
16
- }
17
- export interface NodeSelection {
18
- commonAncestorContainer: ContentNodeReference;
19
- formatting: ContentNodeReference[];
20
- nodes: ContentNodeReference[];
21
- }
@@ -1,18 +0,0 @@
1
- import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
2
- import { useMarkdownStore } from "../stores/MarkdownStore";
3
- import { ContentNode } from "./EditorModels";
4
- import { useMarkdownToolbarStore } from "../stores/MarkdownToolbarStore";
5
- export interface EditorPlugin {
6
- name: string;
7
- commands?: object;
8
- actions?: Array<MarkdownEditorActionRegistration>;
9
- }
10
- export interface EditorFormattingPlugin extends EditorPlugin {
11
- toJSON: (el: HTMLElement) => ContentNode;
12
- toHtml: (node: ContentNode, ctx: EditorPluginContext) => HTMLElement;
13
- }
14
- export interface EditorPluginContext {
15
- componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
16
- editorStore: ReturnType<typeof useMarkdownStore>;
17
- toolbarStore: ReturnType<typeof useMarkdownToolbarStore>;
18
- }
@@ -1,8 +0,0 @@
1
- import { EditorPlugin } from "../models/EditorPlugin";
2
- import { EditorContent } from "../models/EditorModels";
3
- export declare function useHtmlParser(state: {
4
- editor: HTMLDivElement;
5
- plugins: Array<EditorPlugin>;
6
- }): {
7
- toJSON: () => EditorContent;
8
- };
@@ -1,8 +0,0 @@
1
- import { EditorContent } from "../models/EditorModels";
2
- import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
- export declare function useJSONParser(state: {
4
- editor: HTMLDivElement;
5
- plugins: Array<EditorPlugin>;
6
- }, pluginContext: EditorPluginContext): {
7
- loadJSONToEditor: (editorContent: EditorContent) => any;
8
- };
@@ -1,3 +0,0 @@
1
- export declare const sourceEditorPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
- dispose?: () => void;
3
- };
@@ -1,3 +0,0 @@
1
- export declare const testDataPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
- dispose?: () => void;
3
- };
@@ -1,7 +0,0 @@
1
- import { ContentNode } from "../../models/EditorModels";
2
- export interface TextContentNode extends ContentNode {
3
- value?: string;
4
- }
5
- export declare const textPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
6
- dispose?: () => void;
7
- };
@@ -1,200 +0,0 @@
1
- import { MarkdownEditorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
2
- import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
- import { EditorContent, NodeSelection } from "../models/EditorModels";
4
- export declare const useMarkdownStore: () => {
5
- state: {
6
- editorContent: EditorContent;
7
- plugins: EditorPlugin[];
8
- hideToolbar: boolean;
9
- editMode: boolean;
10
- maxNodeId: number;
11
- toolbarActions: MarkdownEditorActionRegistration[];
12
- editor: HTMLDivElement;
13
- nodeSelection: NodeSelection;
14
- telePorts: JSX.Element[];
15
- id: string;
16
- selectedRange: Range;
17
- showPlaceHolder: boolean;
18
- };
19
- events: {
20
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorContent>;
21
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorPlugin[]>;
22
- onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
23
- onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
24
- onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
25
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
26
- onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
27
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
28
- onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
29
- onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
30
- onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
31
- onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
32
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
33
- actions: {
34
- onDispatching: {
35
- plugin: {
36
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
37
- };
38
- content: {
39
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
40
- };
41
- setEditorMode: {
42
- subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
43
- };
44
- setEditorContainer: {
45
- subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
- };
47
- focusEditor: {
48
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
- };
50
- toolbarAction: {
51
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
52
- };
53
- formatting: {
54
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
55
- };
56
- element: {
57
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
58
- };
59
- commands: {
60
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
61
- };
62
- };
63
- onDispatched: {
64
- plugin: {
65
- subscribe(fn: (result: {
66
- register: {
67
- plugin: (pluginSettings: MarkdownPluginSettings) => void;
68
- plugins: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => Promise<void>;
69
- context: (ctx: EditorPluginContext) => void;
70
- };
71
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
72
- };
73
- content: {
74
- subscribe(fn: (result: {
75
- set: {
76
- byJSON: (content: EditorContent) => void;
77
- byString: (content: string) => void;
78
- };
79
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
80
- };
81
- setEditorMode: {
82
- subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
83
- };
84
- setEditorContainer: {
85
- subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
86
- };
87
- focusEditor: {
88
- subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
- };
90
- toolbarAction: {
91
- subscribe(fn: (result: {
92
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
93
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
94
- };
95
- formatting: {
96
- subscribe(fn: (result: {
97
- add: (element: HTMLElement) => void;
98
- toggle: (element: HTMLElement) => void;
99
- remove: (dataType: string) => void;
100
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
101
- };
102
- element: {
103
- subscribe(fn: (result: {
104
- createForComponent: (componentName: string) => HTMLDivElement;
105
- createText: () => HTMLParagraphElement;
106
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
107
- createTextNode: (data: any) => Text;
108
- add: (element: HTMLElement) => void;
109
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
110
- };
111
- commands: {
112
- subscribe(fn: (result: {
113
- exec: (command: string, data: object) => void;
114
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
115
- };
116
- };
117
- onFailure: {
118
- plugin: {
119
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
120
- };
121
- content: {
122
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
123
- };
124
- setEditorMode: {
125
- subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
- };
127
- setEditorContainer: {
128
- subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
129
- };
130
- focusEditor: {
131
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
132
- };
133
- toolbarAction: {
134
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
135
- };
136
- formatting: {
137
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
138
- };
139
- element: {
140
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
141
- };
142
- commands: {
143
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
144
- };
145
- };
146
- } & {
147
- plugin: () => {
148
- register: {
149
- plugin: (pluginSettings: MarkdownPluginSettings) => void;
150
- plugins: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => Promise<void>;
151
- context: (ctx: EditorPluginContext) => void;
152
- };
153
- };
154
- content: () => {
155
- set: {
156
- byJSON: (content: EditorContent) => void;
157
- byString: (content: string) => void;
158
- };
159
- };
160
- setEditorMode: (editMode: boolean) => void;
161
- setEditorContainer: (el: HTMLDivElement) => void;
162
- focusEditor: () => void;
163
- toolbarAction: () => {
164
- add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
165
- };
166
- formatting: () => {
167
- add: (element: HTMLElement) => void;
168
- toggle: (element: HTMLElement) => void;
169
- remove: (dataType: string) => void;
170
- };
171
- element: () => {
172
- createForComponent: (componentName: string) => HTMLDivElement;
173
- createText: () => HTMLParagraphElement;
174
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
175
- createTextNode: (data: any) => Text;
176
- add: (element: HTMLElement) => void;
177
- };
178
- commands: () => {
179
- exec: (command: string, data: object) => void;
180
- };
181
- };
182
- get: {
183
- plugins: EditorPlugin[];
184
- hasContent: () => boolean;
185
- content: {
186
- asJSON: () => EditorContent;
187
- asString: () => string;
188
- };
189
- selection: {
190
- has: {
191
- dataType: (dataType: string) => boolean;
192
- };
193
- get: {
194
- byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
195
- };
196
- };
197
- };
198
- } & {
199
- dispose?: () => void;
200
- };