@omnia/fx 8.0.267-dev → 8.0.269-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. package/internal-do-not-import-from-here/core/Extend.d.ts +1 -1
  2. package/internal-do-not-import-from-here/core/propertyPath.d.ts +1 -1
  3. package/internal-do-not-import-from-here/index.d.ts +2 -2
  4. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  5. package/internal-do-not-import-from-here/stores/floweditor/FlowRendererPluginStore.d.ts +43 -0
  6. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +1 -0
  7. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +5 -5
  8. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +1 -0
  9. package/internal-do-not-import-from-here/ux/aurora/components/viewtemplatepicker/ViewTemplatePicker.d.ts +6 -6
  10. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +18 -18
  11. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +18 -18
  12. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditor.d.ts +7 -6
  14. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/EditorCommands.d.ts +7 -8
  15. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/EditorNodeHelper.d.ts +1 -1
  16. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/HtmlNodehelper.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/index.d.ts +3 -0
  18. package/internal-do-not-import-from-here/ux/flow/editor/commands/index.d.ts +2 -0
  19. package/internal-do-not-import-from-here/ux/flow/editor/index.d.ts +5 -0
  20. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/Constants.d.ts +1 -0
  21. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/EditorModels.d.ts +0 -11
  22. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/EditorPlugin.d.ts +12 -11
  23. package/internal-do-not-import-from-here/ux/flow/editor/models/index.d.ts +3 -0
  24. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/parsers/HtmlParser.d.ts +2 -2
  25. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/parsers/JSONParser.d.ts +2 -2
  26. package/internal-do-not-import-from-here/ux/flow/editor/parsers/index.d.ts +2 -0
  27. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/DefineEditorPlugin.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/flow/editor/plugins/bold/BoldPlugin.d.ts +3 -0
  29. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorConverter.d.ts +3 -0
  30. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementConverter.d.ts +6 -0
  32. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementPlugin.d.ts +3 -0
  33. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/EditorEvents.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/KeyboardEvents.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/converters/WordConverter.d.ts +0 -0
  36. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +6 -0
  38. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/EnterHandler.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/index.d.ts +3 -0
  40. package/internal-do-not-import-from-here/ux/flow/editor/plugins/italic/ItalicPlugin.d.ts +3 -0
  41. package/internal-do-not-import-from-here/ux/flow/editor/plugins/sourceeditor/SourceEditorButton.d.ts +2 -0
  42. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextConverter.d.ts +2 -0
  45. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextPlugin.d.ts +3 -0
  46. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +2 -0
  47. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  48. package/internal-do-not-import-from-here/ux/flow/editor/plugins/velcron/VelcronPlugin.d.ts +9 -0
  49. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/rules/EditorRules.d.ts +1 -0
  50. package/internal-do-not-import-from-here/ux/flow/editor/rules/index.d.ts +1 -0
  51. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/stores/FlowEditorStore.d.ts +31 -21
  52. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/stores/FlowEditorToolbarStore.d.ts +216 -166
  53. package/internal-do-not-import-from-here/ux/flow/editor/stores/index.d.ts +2 -0
  54. package/internal-do-not-import-from-here/ux/flow/models/ColorFormatNode.d.ts +5 -0
  55. package/internal-do-not-import-from-here/ux/flow/models/ElementNode.d.ts +4 -0
  56. package/internal-do-not-import-from-here/ux/flow/models/FlowContent.d.ts +11 -0
  57. package/internal-do-not-import-from-here/ux/flow/models/TypographyNode.d.ts +5 -0
  58. package/internal-do-not-import-from-here/ux/flow/models/VelcronNode.d.ts +5 -0
  59. package/internal-do-not-import-from-here/ux/flow/models/index.d.ts +5 -0
  60. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.css.d.ts +6 -0
  61. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.d.ts +11 -0
  62. package/internal-do-not-import-from-here/ux/flow/renderer/PluginRegistrationHandler.d.ts +1 -0
  63. package/internal-do-not-import-from-here/ux/flow/renderer/index.d.ts +3 -0
  64. package/internal-do-not-import-from-here/ux/flow/renderer/models/Constants.d.ts +12 -0
  65. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContentPlugin.d.ts +6 -0
  66. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContext.d.ts +3 -0
  67. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPlugin.d.ts +3 -0
  68. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPluginContext.d.ts +7 -0
  69. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererToHtmlContext.d.ts +8 -0
  70. package/internal-do-not-import-from-here/ux/flow/renderer/models/index.d.ts +6 -0
  71. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/JSONParser.d.ts +8 -0
  72. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/index.d.ts +1 -0
  73. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/DefineRendererPlugin.d.ts +8 -0
  74. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/PluginRegistrations.d.ts +1 -0
  75. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/bold/BoldPlugin.d.ts +3 -0
  76. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/colorstyle/ColorStylePlugin.d.ts +3 -0
  77. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/elements/ElementPlugin.d.ts +3 -0
  78. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/italic/ItalicPlugin.d.ts +3 -0
  79. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/text/TextConverter.d.ts +5 -0
  80. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/text/TextPlugin.d.ts +3 -0
  81. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/typography/TypographyPlugin.d.ts +3 -0
  82. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/velcron/VelcronPlugin.d.ts +9 -0
  83. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +109 -0
  84. package/internal-do-not-import-from-here/ux/flow/renderer/stores/index.d.ts +1 -0
  85. package/internal-do-not-import-from-here/ux/journey/core/JourneyRouter.d.ts +4 -0
  86. package/internal-do-not-import-from-here/ux/journey/core/index.d.ts +1 -0
  87. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitemactiontoolbar/LayoutItemActionToolbar.d.ts +9 -129
  88. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +1 -1
  89. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -4
  90. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.stylex.d.ts +4 -1
  91. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
  92. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.stylex.d.ts +4 -0
  93. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  94. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +8 -8
  95. package/internal-do-not-import-from-here/ux/velcron/definitions/VelcronDefinitionIds.d.ts +9 -9
  96. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +57 -3
  97. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
  98. package/internal-do-not-import-from-here/wctypings.d.ts +28 -22
  99. package/package.json +2 -2
  100. package/internal-do-not-import-from-here/ux/floweditor/plugins/bold/BoldPlugin.d.ts +0 -3
  101. package/internal-do-not-import-from-here/ux/floweditor/plugins/colorstyle/ColorButton.d.ts +0 -7
  102. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +0 -7
  103. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +0 -4
  104. package/internal-do-not-import-from-here/ux/floweditor/plugins/italic/ItalicPlugin.d.ts +0 -3
  105. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +0 -3
  106. package/internal-do-not-import-from-here/ux/floweditor/plugins/typography/TypographyButton.d.ts +0 -7
  107. package/internal-do-not-import-from-here/ux/floweditor/plugins/velcron/VelcronPlugin.d.ts +0 -8
  108. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +0 -5
  109. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +0 -89
  110. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentRenderer.d.ts +0 -80
  111. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.css.d.ts +0 -4
  112. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.d.ts +0 -11
  113. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector copy.d.ts +0 -11
  114. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.css.d.ts +0 -12
  115. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.d.ts +0 -11
  116. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar copy.d.ts +0 -14
  117. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.css.d.ts +0 -4
  118. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.d.ts +0 -14
  119. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  120. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.d.ts +0 -2
  121. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/markdownplugins/section/SectionRenderer.d.ts +0 -5
  122. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/markdownplugins/section/SectionRendererPlugin.d.ts +0 -5
  123. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +0 -24
  124. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/index.d.ts +0 -1
  125. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +0 -249
  126. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditor.css.d.ts +0 -0
  127. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditorToolbar.css.d.ts +0 -0
  128. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditorToolbar.d.ts +0 -0
  129. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/PluginRegistrationHandler.d.ts +0 -0
  130. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/Editorhelper.d.ts +0 -0
  131. /package/internal-do-not-import-from-here/ux/{floweditor/plugins/registrations → flow/editor/plugins}/PluginRegistrations.d.ts +0 -0
  132. /package/internal-do-not-import-from-here/ux/{floweditor/plugins/sourceeditor/SourceEditorButton.d.ts → flow/editor/plugins/colorstyle/ColorButton.d.ts} +0 -0
@@ -1,37 +1,47 @@
1
- import { FlowEditorActionRegistration } from "@omnia/fx-models";
1
+ import { FlowEditorActionRegistration, guid } from "@omnia/fx-models";
2
2
  import { useFlowEditorStore } from "./FlowEditorStore";
3
3
  export declare const useFlowEditorToolbarStore: () => {
4
4
  state: {
5
5
  activeEditorStore: {
6
6
  state: {
7
- editorContent: import("../models/EditorModels").FlowContent;
8
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
7
+ editorContent: import("../../models").FlowContent;
8
+ plugins: import("..").FlowEditorPlugin[];
9
9
  hideToolbar: boolean;
10
10
  editMode: boolean;
11
11
  maxNodeId: number;
12
12
  toolbarActions: FlowEditorActionRegistration[];
13
13
  editor: HTMLDivElement;
14
- nodeSelection: import("../models/EditorModels").NodeSelection;
14
+ nodeSelection: import("..").NodeSelection;
15
15
  telePorts: JSX.Element[];
16
16
  id: string;
17
- pluginContext: import("../models/EditorPlugin").FlowEditorPluginContext;
17
+ pluginContext: import("..").FlowEditorPluginContext;
18
18
  selectedRange: Range;
19
19
  showPlaceHolder: boolean;
20
+ definitionSelector: {
21
+ show: boolean;
22
+ categoryFilters: guid[];
23
+ rendererTypeFilters: guid[];
24
+ };
20
25
  };
21
26
  events: {
22
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
23
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
27
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
28
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
24
29
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
25
30
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
26
31
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
27
32
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
28
33
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
29
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
34
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
30
35
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
31
36
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
32
- onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPluginContext>;
37
+ onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
33
38
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
34
39
  onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
40
+ onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
41
+ show: boolean;
42
+ categoryFilters: guid[];
43
+ rendererTypeFilters: guid[];
44
+ }>;
35
45
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
36
46
  actions: {
37
47
  onDispatching: {
@@ -63,15 +73,15 @@ export declare const useFlowEditorToolbarStore: () => {
63
73
  register: {
64
74
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
65
75
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
66
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
76
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
67
77
  };
68
78
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
69
79
  };
70
80
  content: {
71
81
  subscribe(fn: (result: {
72
- sync: () => import("../models/EditorModels").FlowContent;
82
+ sync: () => import("../../models").FlowContent;
73
83
  set: {
74
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
84
+ byObject: (content: import("../../models").FlowContent) => void;
75
85
  byString: (content: string) => void;
76
86
  };
77
87
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -98,9 +108,9 @@ export declare const useFlowEditorToolbarStore: () => {
98
108
  };
99
109
  element: {
100
110
  subscribe(fn: (result: {
101
- createForComponent: (componentName: string) => HTMLDivElement;
111
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
102
112
  createText: () => HTMLParagraphElement;
103
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
113
+ create: (tagName: string, dataType: string) => HTMLElement;
104
114
  createTextNode: (data: any) => Text;
105
115
  add: (element: HTMLElement) => void;
106
116
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -120,7 +130,7 @@ export declare const useFlowEditorToolbarStore: () => {
120
130
  };
121
131
  selection: {
122
132
  get: {
123
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
133
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
124
134
  };
125
135
  };
126
136
  cursor: {
@@ -138,10 +148,10 @@ export declare const useFlowEditorToolbarStore: () => {
138
148
  element: {
139
149
  clean: (element: HTMLElement) => void;
140
150
  add: (element: HTMLElement) => void;
141
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
151
+ create: (tagName: string, dataType: string) => HTMLElement;
142
152
  createText: () => HTMLParagraphElement;
143
153
  createTextNode: (data: any) => Text;
144
- createComponent: (componentName: string) => HTMLDivElement;
154
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
145
155
  insert: {
146
156
  text: (element: Node, text: string, offset: any) => void;
147
157
  };
@@ -167,7 +177,7 @@ export declare const useFlowEditorToolbarStore: () => {
167
177
  };
168
178
  editorNode: {
169
179
  get: {
170
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
180
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
171
181
  };
172
182
  };
173
183
  htmlNode: {
@@ -180,11 +190,11 @@ export declare const useFlowEditorToolbarStore: () => {
180
190
  };
181
191
  get: {
182
192
  topContainerForContent: (element: HTMLElement) => HTMLElement;
183
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
193
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
184
194
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
185
195
  };
186
196
  remove: {
187
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
197
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
188
198
  };
189
199
  strip: {
190
200
  after: (element: HTMLElement, splitter: string) => void;
@@ -227,13 +237,13 @@ export declare const useFlowEditorToolbarStore: () => {
227
237
  register: {
228
238
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
229
239
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
230
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
240
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
231
241
  };
232
242
  };
233
243
  content: () => {
234
- sync: () => import("../models/EditorModels").FlowContent;
244
+ sync: () => import("../../models").FlowContent;
235
245
  set: {
236
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
246
+ byObject: (content: import("../../models").FlowContent) => void;
237
247
  byString: (content: string) => void;
238
248
  };
239
249
  };
@@ -252,9 +262,9 @@ export declare const useFlowEditorToolbarStore: () => {
252
262
  remove: (dataType: string) => void;
253
263
  };
254
264
  element: () => {
255
- createForComponent: (componentName: string) => HTMLDivElement;
265
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
256
266
  createText: () => HTMLParagraphElement;
257
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
267
+ create: (tagName: string, dataType: string) => HTMLElement;
258
268
  createTextNode: (data: any) => Text;
259
269
  add: (element: HTMLElement) => void;
260
270
  };
@@ -272,7 +282,7 @@ export declare const useFlowEditorToolbarStore: () => {
272
282
  };
273
283
  selection: {
274
284
  get: {
275
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
285
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
276
286
  };
277
287
  };
278
288
  cursor: {
@@ -290,10 +300,10 @@ export declare const useFlowEditorToolbarStore: () => {
290
300
  element: {
291
301
  clean: (element: HTMLElement) => void;
292
302
  add: (element: HTMLElement) => void;
293
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
303
+ create: (tagName: string, dataType: string) => HTMLElement;
294
304
  createText: () => HTMLParagraphElement;
295
305
  createTextNode: (data: any) => Text;
296
- createComponent: (componentName: string) => HTMLDivElement;
306
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
297
307
  insert: {
298
308
  text: (element: Node, text: string, offset: any) => void;
299
309
  };
@@ -319,7 +329,7 @@ export declare const useFlowEditorToolbarStore: () => {
319
329
  };
320
330
  editorNode: {
321
331
  get: {
322
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
332
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
323
333
  };
324
334
  };
325
335
  htmlNode: {
@@ -332,11 +342,11 @@ export declare const useFlowEditorToolbarStore: () => {
332
342
  };
333
343
  get: {
334
344
  topContainerForContent: (element: HTMLElement) => HTMLElement;
335
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
345
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
336
346
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
337
347
  };
338
348
  remove: {
339
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
349
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
340
350
  };
341
351
  strip: {
342
352
  after: (element: HTMLElement, splitter: string) => void;
@@ -351,10 +361,10 @@ export declare const useFlowEditorToolbarStore: () => {
351
361
  };
352
362
  };
353
363
  get: {
354
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
364
+ plugins: import("..").FlowEditorPlugin[];
355
365
  content: {
356
366
  isEmpty: () => boolean;
357
- asJSON: () => import("../models/EditorModels").FlowContent;
367
+ asObject: () => import("../../models").FlowContent;
358
368
  asString: () => string;
359
369
  };
360
370
  selection: {
@@ -362,7 +372,7 @@ export declare const useFlowEditorToolbarStore: () => {
362
372
  type: (pluginType: string) => boolean;
363
373
  };
364
374
  get: {
365
- byType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
375
+ byType: (pluginType: string) => import("..").FlowNodeReference[];
366
376
  };
367
377
  };
368
378
  };
@@ -376,34 +386,44 @@ export declare const useFlowEditorToolbarStore: () => {
376
386
  events: {
377
387
  onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
378
388
  state: {
379
- editorContent: import("../models/EditorModels").FlowContent;
380
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
389
+ editorContent: import("../../models").FlowContent;
390
+ plugins: import("..").FlowEditorPlugin[];
381
391
  hideToolbar: boolean;
382
392
  editMode: boolean;
383
393
  maxNodeId: number;
384
394
  toolbarActions: FlowEditorActionRegistration[];
385
395
  editor: HTMLDivElement;
386
- nodeSelection: import("../models/EditorModels").NodeSelection;
396
+ nodeSelection: import("..").NodeSelection;
387
397
  telePorts: JSX.Element[];
388
398
  id: string;
389
- pluginContext: import("../models/EditorPlugin").FlowEditorPluginContext;
399
+ pluginContext: import("..").FlowEditorPluginContext;
390
400
  selectedRange: Range;
391
401
  showPlaceHolder: boolean;
402
+ definitionSelector: {
403
+ show: boolean;
404
+ categoryFilters: guid[];
405
+ rendererTypeFilters: guid[];
406
+ };
392
407
  };
393
408
  events: {
394
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
395
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
409
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
410
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
396
411
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
397
412
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
398
413
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
399
414
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
400
415
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
401
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
416
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
402
417
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
403
418
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
404
- onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPluginContext>;
419
+ onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
405
420
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
406
421
  onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
422
+ onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
423
+ show: boolean;
424
+ categoryFilters: guid[];
425
+ rendererTypeFilters: guid[];
426
+ }>;
407
427
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
408
428
  actions: {
409
429
  onDispatching: {
@@ -435,15 +455,15 @@ export declare const useFlowEditorToolbarStore: () => {
435
455
  register: {
436
456
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
437
457
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
438
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
458
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
439
459
  };
440
460
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
441
461
  };
442
462
  content: {
443
463
  subscribe(fn: (result: {
444
- sync: () => import("../models/EditorModels").FlowContent;
464
+ sync: () => import("../../models").FlowContent;
445
465
  set: {
446
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
466
+ byObject: (content: import("../../models").FlowContent) => void;
447
467
  byString: (content: string) => void;
448
468
  };
449
469
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -470,9 +490,9 @@ export declare const useFlowEditorToolbarStore: () => {
470
490
  };
471
491
  element: {
472
492
  subscribe(fn: (result: {
473
- createForComponent: (componentName: string) => HTMLDivElement;
493
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
474
494
  createText: () => HTMLParagraphElement;
475
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
495
+ create: (tagName: string, dataType: string) => HTMLElement;
476
496
  createTextNode: (data: any) => Text;
477
497
  add: (element: HTMLElement) => void;
478
498
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -492,7 +512,7 @@ export declare const useFlowEditorToolbarStore: () => {
492
512
  };
493
513
  selection: {
494
514
  get: {
495
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
515
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
496
516
  };
497
517
  };
498
518
  cursor: {
@@ -510,10 +530,10 @@ export declare const useFlowEditorToolbarStore: () => {
510
530
  element: {
511
531
  clean: (element: HTMLElement) => void;
512
532
  add: (element: HTMLElement) => void;
513
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
533
+ create: (tagName: string, dataType: string) => HTMLElement;
514
534
  createText: () => HTMLParagraphElement;
515
535
  createTextNode: (data: any) => Text;
516
- createComponent: (componentName: string) => HTMLDivElement;
536
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
517
537
  insert: {
518
538
  text: (element: Node, text: string, offset: any) => void;
519
539
  };
@@ -539,7 +559,7 @@ export declare const useFlowEditorToolbarStore: () => {
539
559
  };
540
560
  editorNode: {
541
561
  get: {
542
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
562
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
543
563
  };
544
564
  };
545
565
  htmlNode: {
@@ -552,11 +572,11 @@ export declare const useFlowEditorToolbarStore: () => {
552
572
  };
553
573
  get: {
554
574
  topContainerForContent: (element: HTMLElement) => HTMLElement;
555
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
575
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
556
576
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
557
577
  };
558
578
  remove: {
559
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
579
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
560
580
  };
561
581
  strip: {
562
582
  after: (element: HTMLElement, splitter: string) => void;
@@ -599,13 +619,13 @@ export declare const useFlowEditorToolbarStore: () => {
599
619
  register: {
600
620
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
601
621
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
602
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
622
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
603
623
  };
604
624
  };
605
625
  content: () => {
606
- sync: () => import("../models/EditorModels").FlowContent;
626
+ sync: () => import("../../models").FlowContent;
607
627
  set: {
608
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
628
+ byObject: (content: import("../../models").FlowContent) => void;
609
629
  byString: (content: string) => void;
610
630
  };
611
631
  };
@@ -624,9 +644,9 @@ export declare const useFlowEditorToolbarStore: () => {
624
644
  remove: (dataType: string) => void;
625
645
  };
626
646
  element: () => {
627
- createForComponent: (componentName: string) => HTMLDivElement;
647
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
628
648
  createText: () => HTMLParagraphElement;
629
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
649
+ create: (tagName: string, dataType: string) => HTMLElement;
630
650
  createTextNode: (data: any) => Text;
631
651
  add: (element: HTMLElement) => void;
632
652
  };
@@ -644,7 +664,7 @@ export declare const useFlowEditorToolbarStore: () => {
644
664
  };
645
665
  selection: {
646
666
  get: {
647
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
667
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
648
668
  };
649
669
  };
650
670
  cursor: {
@@ -662,10 +682,10 @@ export declare const useFlowEditorToolbarStore: () => {
662
682
  element: {
663
683
  clean: (element: HTMLElement) => void;
664
684
  add: (element: HTMLElement) => void;
665
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
685
+ create: (tagName: string, dataType: string) => HTMLElement;
666
686
  createText: () => HTMLParagraphElement;
667
687
  createTextNode: (data: any) => Text;
668
- createComponent: (componentName: string) => HTMLDivElement;
688
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
669
689
  insert: {
670
690
  text: (element: Node, text: string, offset: any) => void;
671
691
  };
@@ -691,7 +711,7 @@ export declare const useFlowEditorToolbarStore: () => {
691
711
  };
692
712
  editorNode: {
693
713
  get: {
694
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
714
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
695
715
  };
696
716
  };
697
717
  htmlNode: {
@@ -704,11 +724,11 @@ export declare const useFlowEditorToolbarStore: () => {
704
724
  };
705
725
  get: {
706
726
  topContainerForContent: (element: HTMLElement) => HTMLElement;
707
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
727
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
708
728
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
709
729
  };
710
730
  remove: {
711
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
731
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
712
732
  };
713
733
  strip: {
714
734
  after: (element: HTMLElement, splitter: string) => void;
@@ -723,10 +743,10 @@ export declare const useFlowEditorToolbarStore: () => {
723
743
  };
724
744
  };
725
745
  get: {
726
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
746
+ plugins: import("..").FlowEditorPlugin[];
727
747
  content: {
728
748
  isEmpty: () => boolean;
729
- asJSON: () => import("../models/EditorModels").FlowContent;
749
+ asObject: () => import("../../models").FlowContent;
730
750
  asString: () => string;
731
751
  };
732
752
  selection: {
@@ -734,7 +754,7 @@ export declare const useFlowEditorToolbarStore: () => {
734
754
  type: (pluginType: string) => boolean;
735
755
  };
736
756
  get: {
737
- byType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
757
+ byType: (pluginType: string) => import("..").FlowNodeReference[];
738
758
  };
739
759
  };
740
760
  };
@@ -756,34 +776,44 @@ export declare const useFlowEditorToolbarStore: () => {
756
776
  setActiveEditorStore: {
757
777
  subscribe(fn: (store: {
758
778
  state: {
759
- editorContent: import("../models/EditorModels").FlowContent;
760
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
779
+ editorContent: import("../../models").FlowContent;
780
+ plugins: import("..").FlowEditorPlugin[];
761
781
  hideToolbar: boolean;
762
782
  editMode: boolean;
763
783
  maxNodeId: number;
764
784
  toolbarActions: FlowEditorActionRegistration[];
765
785
  editor: HTMLDivElement;
766
- nodeSelection: import("../models/EditorModels").NodeSelection;
786
+ nodeSelection: import("..").NodeSelection;
767
787
  telePorts: JSX.Element[];
768
788
  id: string;
769
- pluginContext: import("../models/EditorPlugin").FlowEditorPluginContext;
789
+ pluginContext: import("..").FlowEditorPluginContext;
770
790
  selectedRange: Range;
771
791
  showPlaceHolder: boolean;
792
+ definitionSelector: {
793
+ show: boolean;
794
+ categoryFilters: guid[];
795
+ rendererTypeFilters: guid[];
796
+ };
772
797
  };
773
798
  events: {
774
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
775
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
799
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
800
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
776
801
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
777
802
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
778
803
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
779
804
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
780
805
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
781
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
806
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
782
807
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
783
808
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
784
- onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPluginContext>;
809
+ onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
785
810
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
786
811
  onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
812
+ onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
813
+ show: boolean;
814
+ categoryFilters: guid[];
815
+ rendererTypeFilters: guid[];
816
+ }>;
787
817
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
788
818
  actions: {
789
819
  onDispatching: {
@@ -815,15 +845,15 @@ export declare const useFlowEditorToolbarStore: () => {
815
845
  register: {
816
846
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
817
847
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
818
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
848
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
819
849
  };
820
850
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
821
851
  };
822
852
  content: {
823
853
  subscribe(fn: (result: {
824
- sync: () => import("../models/EditorModels").FlowContent;
854
+ sync: () => import("../../models").FlowContent;
825
855
  set: {
826
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
856
+ byObject: (content: import("../../models").FlowContent) => void;
827
857
  byString: (content: string) => void;
828
858
  };
829
859
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -850,9 +880,9 @@ export declare const useFlowEditorToolbarStore: () => {
850
880
  };
851
881
  element: {
852
882
  subscribe(fn: (result: {
853
- createForComponent: (componentName: string) => HTMLDivElement;
883
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
854
884
  createText: () => HTMLParagraphElement;
855
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
885
+ create: (tagName: string, dataType: string) => HTMLElement;
856
886
  createTextNode: (data: any) => Text;
857
887
  add: (element: HTMLElement) => void;
858
888
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -872,7 +902,7 @@ export declare const useFlowEditorToolbarStore: () => {
872
902
  };
873
903
  selection: {
874
904
  get: {
875
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
905
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
876
906
  };
877
907
  };
878
908
  cursor: {
@@ -890,10 +920,10 @@ export declare const useFlowEditorToolbarStore: () => {
890
920
  element: {
891
921
  clean: (element: HTMLElement) => void;
892
922
  add: (element: HTMLElement) => void;
893
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
923
+ create: (tagName: string, dataType: string) => HTMLElement;
894
924
  createText: () => HTMLParagraphElement;
895
925
  createTextNode: (data: any) => Text;
896
- createComponent: (componentName: string) => HTMLDivElement;
926
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
897
927
  insert: {
898
928
  text: (element: Node, text: string, offset: any) => void;
899
929
  };
@@ -919,7 +949,7 @@ export declare const useFlowEditorToolbarStore: () => {
919
949
  };
920
950
  editorNode: {
921
951
  get: {
922
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
952
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
923
953
  };
924
954
  };
925
955
  htmlNode: {
@@ -932,11 +962,11 @@ export declare const useFlowEditorToolbarStore: () => {
932
962
  };
933
963
  get: {
934
964
  topContainerForContent: (element: HTMLElement) => HTMLElement;
935
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
965
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
936
966
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
937
967
  };
938
968
  remove: {
939
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
969
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
940
970
  };
941
971
  strip: {
942
972
  after: (element: HTMLElement, splitter: string) => void;
@@ -979,13 +1009,13 @@ export declare const useFlowEditorToolbarStore: () => {
979
1009
  register: {
980
1010
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
981
1011
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
982
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
1012
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
983
1013
  };
984
1014
  };
985
1015
  content: () => {
986
- sync: () => import("../models/EditorModels").FlowContent;
1016
+ sync: () => import("../../models").FlowContent;
987
1017
  set: {
988
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
1018
+ byObject: (content: import("../../models").FlowContent) => void;
989
1019
  byString: (content: string) => void;
990
1020
  };
991
1021
  };
@@ -1004,9 +1034,9 @@ export declare const useFlowEditorToolbarStore: () => {
1004
1034
  remove: (dataType: string) => void;
1005
1035
  };
1006
1036
  element: () => {
1007
- createForComponent: (componentName: string) => HTMLDivElement;
1037
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1008
1038
  createText: () => HTMLParagraphElement;
1009
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1039
+ create: (tagName: string, dataType: string) => HTMLElement;
1010
1040
  createTextNode: (data: any) => Text;
1011
1041
  add: (element: HTMLElement) => void;
1012
1042
  };
@@ -1024,7 +1054,7 @@ export declare const useFlowEditorToolbarStore: () => {
1024
1054
  };
1025
1055
  selection: {
1026
1056
  get: {
1027
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1057
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
1028
1058
  };
1029
1059
  };
1030
1060
  cursor: {
@@ -1042,10 +1072,10 @@ export declare const useFlowEditorToolbarStore: () => {
1042
1072
  element: {
1043
1073
  clean: (element: HTMLElement) => void;
1044
1074
  add: (element: HTMLElement) => void;
1045
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1075
+ create: (tagName: string, dataType: string) => HTMLElement;
1046
1076
  createText: () => HTMLParagraphElement;
1047
1077
  createTextNode: (data: any) => Text;
1048
- createComponent: (componentName: string) => HTMLDivElement;
1078
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1049
1079
  insert: {
1050
1080
  text: (element: Node, text: string, offset: any) => void;
1051
1081
  };
@@ -1071,7 +1101,7 @@ export declare const useFlowEditorToolbarStore: () => {
1071
1101
  };
1072
1102
  editorNode: {
1073
1103
  get: {
1074
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
1104
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
1075
1105
  };
1076
1106
  };
1077
1107
  htmlNode: {
@@ -1084,11 +1114,11 @@ export declare const useFlowEditorToolbarStore: () => {
1084
1114
  };
1085
1115
  get: {
1086
1116
  topContainerForContent: (element: HTMLElement) => HTMLElement;
1087
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
1117
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
1088
1118
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
1089
1119
  };
1090
1120
  remove: {
1091
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
1121
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
1092
1122
  };
1093
1123
  strip: {
1094
1124
  after: (element: HTMLElement, splitter: string) => void;
@@ -1103,10 +1133,10 @@ export declare const useFlowEditorToolbarStore: () => {
1103
1133
  };
1104
1134
  };
1105
1135
  get: {
1106
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
1136
+ plugins: import("..").FlowEditorPlugin[];
1107
1137
  content: {
1108
1138
  isEmpty: () => boolean;
1109
- asJSON: () => import("../models/EditorModels").FlowContent;
1139
+ asObject: () => import("../../models").FlowContent;
1110
1140
  asString: () => string;
1111
1141
  };
1112
1142
  selection: {
@@ -1114,7 +1144,7 @@ export declare const useFlowEditorToolbarStore: () => {
1114
1144
  type: (pluginType: string) => boolean;
1115
1145
  };
1116
1146
  get: {
1117
- byType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1147
+ byType: (pluginType: string) => import("..").FlowNodeReference[];
1118
1148
  };
1119
1149
  };
1120
1150
  };
@@ -1136,34 +1166,44 @@ export declare const useFlowEditorToolbarStore: () => {
1136
1166
  setActiveEditorStore: {
1137
1167
  subscribe(fn: (result: void, store: {
1138
1168
  state: {
1139
- editorContent: import("../models/EditorModels").FlowContent;
1140
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
1169
+ editorContent: import("../../models").FlowContent;
1170
+ plugins: import("..").FlowEditorPlugin[];
1141
1171
  hideToolbar: boolean;
1142
1172
  editMode: boolean;
1143
1173
  maxNodeId: number;
1144
1174
  toolbarActions: FlowEditorActionRegistration[];
1145
1175
  editor: HTMLDivElement;
1146
- nodeSelection: import("../models/EditorModels").NodeSelection;
1176
+ nodeSelection: import("..").NodeSelection;
1147
1177
  telePorts: JSX.Element[];
1148
1178
  id: string;
1149
- pluginContext: import("../models/EditorPlugin").FlowEditorPluginContext;
1179
+ pluginContext: import("..").FlowEditorPluginContext;
1150
1180
  selectedRange: Range;
1151
1181
  showPlaceHolder: boolean;
1182
+ definitionSelector: {
1183
+ show: boolean;
1184
+ categoryFilters: guid[];
1185
+ rendererTypeFilters: guid[];
1186
+ };
1152
1187
  };
1153
1188
  events: {
1154
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
1155
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
1189
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
1190
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
1156
1191
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1157
1192
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1158
1193
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
1159
1194
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
1160
1195
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
1161
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
1196
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
1162
1197
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
1163
1198
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
1164
- onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPluginContext>;
1199
+ onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
1165
1200
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
1166
1201
  onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1202
+ onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
1203
+ show: boolean;
1204
+ categoryFilters: guid[];
1205
+ rendererTypeFilters: guid[];
1206
+ }>;
1167
1207
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
1168
1208
  actions: {
1169
1209
  onDispatching: {
@@ -1195,15 +1235,15 @@ export declare const useFlowEditorToolbarStore: () => {
1195
1235
  register: {
1196
1236
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
1197
1237
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
1198
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
1238
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
1199
1239
  };
1200
1240
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
1201
1241
  };
1202
1242
  content: {
1203
1243
  subscribe(fn: (result: {
1204
- sync: () => import("../models/EditorModels").FlowContent;
1244
+ sync: () => import("../../models").FlowContent;
1205
1245
  set: {
1206
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
1246
+ byObject: (content: import("../../models").FlowContent) => void;
1207
1247
  byString: (content: string) => void;
1208
1248
  };
1209
1249
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1230,9 +1270,9 @@ export declare const useFlowEditorToolbarStore: () => {
1230
1270
  };
1231
1271
  element: {
1232
1272
  subscribe(fn: (result: {
1233
- createForComponent: (componentName: string) => HTMLDivElement;
1273
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1234
1274
  createText: () => HTMLParagraphElement;
1235
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1275
+ create: (tagName: string, dataType: string) => HTMLElement;
1236
1276
  createTextNode: (data: any) => Text;
1237
1277
  add: (element: HTMLElement) => void;
1238
1278
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1252,7 +1292,7 @@ export declare const useFlowEditorToolbarStore: () => {
1252
1292
  };
1253
1293
  selection: {
1254
1294
  get: {
1255
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1295
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
1256
1296
  };
1257
1297
  };
1258
1298
  cursor: {
@@ -1270,10 +1310,10 @@ export declare const useFlowEditorToolbarStore: () => {
1270
1310
  element: {
1271
1311
  clean: (element: HTMLElement) => void;
1272
1312
  add: (element: HTMLElement) => void;
1273
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1313
+ create: (tagName: string, dataType: string) => HTMLElement;
1274
1314
  createText: () => HTMLParagraphElement;
1275
1315
  createTextNode: (data: any) => Text;
1276
- createComponent: (componentName: string) => HTMLDivElement;
1316
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1277
1317
  insert: {
1278
1318
  text: (element: Node, text: string, offset: any) => void;
1279
1319
  };
@@ -1299,7 +1339,7 @@ export declare const useFlowEditorToolbarStore: () => {
1299
1339
  };
1300
1340
  editorNode: {
1301
1341
  get: {
1302
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
1342
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
1303
1343
  };
1304
1344
  };
1305
1345
  htmlNode: {
@@ -1312,11 +1352,11 @@ export declare const useFlowEditorToolbarStore: () => {
1312
1352
  };
1313
1353
  get: {
1314
1354
  topContainerForContent: (element: HTMLElement) => HTMLElement;
1315
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
1355
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
1316
1356
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
1317
1357
  };
1318
1358
  remove: {
1319
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
1359
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
1320
1360
  };
1321
1361
  strip: {
1322
1362
  after: (element: HTMLElement, splitter: string) => void;
@@ -1359,13 +1399,13 @@ export declare const useFlowEditorToolbarStore: () => {
1359
1399
  register: {
1360
1400
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
1361
1401
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
1362
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
1402
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
1363
1403
  };
1364
1404
  };
1365
1405
  content: () => {
1366
- sync: () => import("../models/EditorModels").FlowContent;
1406
+ sync: () => import("../../models").FlowContent;
1367
1407
  set: {
1368
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
1408
+ byObject: (content: import("../../models").FlowContent) => void;
1369
1409
  byString: (content: string) => void;
1370
1410
  };
1371
1411
  };
@@ -1384,9 +1424,9 @@ export declare const useFlowEditorToolbarStore: () => {
1384
1424
  remove: (dataType: string) => void;
1385
1425
  };
1386
1426
  element: () => {
1387
- createForComponent: (componentName: string) => HTMLDivElement;
1427
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1388
1428
  createText: () => HTMLParagraphElement;
1389
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1429
+ create: (tagName: string, dataType: string) => HTMLElement;
1390
1430
  createTextNode: (data: any) => Text;
1391
1431
  add: (element: HTMLElement) => void;
1392
1432
  };
@@ -1404,7 +1444,7 @@ export declare const useFlowEditorToolbarStore: () => {
1404
1444
  };
1405
1445
  selection: {
1406
1446
  get: {
1407
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1447
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
1408
1448
  };
1409
1449
  };
1410
1450
  cursor: {
@@ -1422,10 +1462,10 @@ export declare const useFlowEditorToolbarStore: () => {
1422
1462
  element: {
1423
1463
  clean: (element: HTMLElement) => void;
1424
1464
  add: (element: HTMLElement) => void;
1425
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1465
+ create: (tagName: string, dataType: string) => HTMLElement;
1426
1466
  createText: () => HTMLParagraphElement;
1427
1467
  createTextNode: (data: any) => Text;
1428
- createComponent: (componentName: string) => HTMLDivElement;
1468
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1429
1469
  insert: {
1430
1470
  text: (element: Node, text: string, offset: any) => void;
1431
1471
  };
@@ -1451,7 +1491,7 @@ export declare const useFlowEditorToolbarStore: () => {
1451
1491
  };
1452
1492
  editorNode: {
1453
1493
  get: {
1454
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
1494
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
1455
1495
  };
1456
1496
  };
1457
1497
  htmlNode: {
@@ -1464,11 +1504,11 @@ export declare const useFlowEditorToolbarStore: () => {
1464
1504
  };
1465
1505
  get: {
1466
1506
  topContainerForContent: (element: HTMLElement) => HTMLElement;
1467
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
1507
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
1468
1508
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
1469
1509
  };
1470
1510
  remove: {
1471
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
1511
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
1472
1512
  };
1473
1513
  strip: {
1474
1514
  after: (element: HTMLElement, splitter: string) => void;
@@ -1483,10 +1523,10 @@ export declare const useFlowEditorToolbarStore: () => {
1483
1523
  };
1484
1524
  };
1485
1525
  get: {
1486
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
1526
+ plugins: import("..").FlowEditorPlugin[];
1487
1527
  content: {
1488
1528
  isEmpty: () => boolean;
1489
- asJSON: () => import("../models/EditorModels").FlowContent;
1529
+ asObject: () => import("../../models").FlowContent;
1490
1530
  asString: () => string;
1491
1531
  };
1492
1532
  selection: {
@@ -1494,7 +1534,7 @@ export declare const useFlowEditorToolbarStore: () => {
1494
1534
  type: (pluginType: string) => boolean;
1495
1535
  };
1496
1536
  get: {
1497
- byType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1537
+ byType: (pluginType: string) => import("..").FlowNodeReference[];
1498
1538
  };
1499
1539
  };
1500
1540
  };
@@ -1516,34 +1556,44 @@ export declare const useFlowEditorToolbarStore: () => {
1516
1556
  setActiveEditorStore: {
1517
1557
  subscribe(fn: (failureReason: any, store: {
1518
1558
  state: {
1519
- editorContent: import("../models/EditorModels").FlowContent;
1520
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
1559
+ editorContent: import("../../models").FlowContent;
1560
+ plugins: import("..").FlowEditorPlugin[];
1521
1561
  hideToolbar: boolean;
1522
1562
  editMode: boolean;
1523
1563
  maxNodeId: number;
1524
1564
  toolbarActions: FlowEditorActionRegistration[];
1525
1565
  editor: HTMLDivElement;
1526
- nodeSelection: import("../models/EditorModels").NodeSelection;
1566
+ nodeSelection: import("..").NodeSelection;
1527
1567
  telePorts: JSX.Element[];
1528
1568
  id: string;
1529
- pluginContext: import("../models/EditorPlugin").FlowEditorPluginContext;
1569
+ pluginContext: import("..").FlowEditorPluginContext;
1530
1570
  selectedRange: Range;
1531
1571
  showPlaceHolder: boolean;
1572
+ definitionSelector: {
1573
+ show: boolean;
1574
+ categoryFilters: guid[];
1575
+ rendererTypeFilters: guid[];
1576
+ };
1532
1577
  };
1533
1578
  events: {
1534
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").FlowContent>;
1535
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPlugin[]>;
1579
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
1580
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
1536
1581
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1537
1582
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1538
1583
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
1539
1584
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
1540
1585
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
1541
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
1586
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").NodeSelection>;
1542
1587
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
1543
1588
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
1544
- onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorPlugin").FlowEditorPluginContext>;
1589
+ onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPluginContext>;
1545
1590
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
1546
1591
  onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1592
+ onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
1593
+ show: boolean;
1594
+ categoryFilters: guid[];
1595
+ rendererTypeFilters: guid[];
1596
+ }>;
1547
1597
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
1548
1598
  actions: {
1549
1599
  onDispatching: {
@@ -1575,15 +1625,15 @@ export declare const useFlowEditorToolbarStore: () => {
1575
1625
  register: {
1576
1626
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
1577
1627
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
1578
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
1628
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
1579
1629
  };
1580
1630
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
1581
1631
  };
1582
1632
  content: {
1583
1633
  subscribe(fn: (result: {
1584
- sync: () => import("../models/EditorModels").FlowContent;
1634
+ sync: () => import("../../models").FlowContent;
1585
1635
  set: {
1586
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
1636
+ byObject: (content: import("../../models").FlowContent) => void;
1587
1637
  byString: (content: string) => void;
1588
1638
  };
1589
1639
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1610,9 +1660,9 @@ export declare const useFlowEditorToolbarStore: () => {
1610
1660
  };
1611
1661
  element: {
1612
1662
  subscribe(fn: (result: {
1613
- createForComponent: (componentName: string) => HTMLDivElement;
1663
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1614
1664
  createText: () => HTMLParagraphElement;
1615
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1665
+ create: (tagName: string, dataType: string) => HTMLElement;
1616
1666
  createTextNode: (data: any) => Text;
1617
1667
  add: (element: HTMLElement) => void;
1618
1668
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1632,7 +1682,7 @@ export declare const useFlowEditorToolbarStore: () => {
1632
1682
  };
1633
1683
  selection: {
1634
1684
  get: {
1635
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1685
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
1636
1686
  };
1637
1687
  };
1638
1688
  cursor: {
@@ -1650,10 +1700,10 @@ export declare const useFlowEditorToolbarStore: () => {
1650
1700
  element: {
1651
1701
  clean: (element: HTMLElement) => void;
1652
1702
  add: (element: HTMLElement) => void;
1653
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1703
+ create: (tagName: string, dataType: string) => HTMLElement;
1654
1704
  createText: () => HTMLParagraphElement;
1655
1705
  createTextNode: (data: any) => Text;
1656
- createComponent: (componentName: string) => HTMLDivElement;
1706
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1657
1707
  insert: {
1658
1708
  text: (element: Node, text: string, offset: any) => void;
1659
1709
  };
@@ -1679,7 +1729,7 @@ export declare const useFlowEditorToolbarStore: () => {
1679
1729
  };
1680
1730
  editorNode: {
1681
1731
  get: {
1682
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
1732
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
1683
1733
  };
1684
1734
  };
1685
1735
  htmlNode: {
@@ -1692,11 +1742,11 @@ export declare const useFlowEditorToolbarStore: () => {
1692
1742
  };
1693
1743
  get: {
1694
1744
  topContainerForContent: (element: HTMLElement) => HTMLElement;
1695
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
1745
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
1696
1746
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
1697
1747
  };
1698
1748
  remove: {
1699
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
1749
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
1700
1750
  };
1701
1751
  strip: {
1702
1752
  after: (element: HTMLElement, splitter: string) => void;
@@ -1739,13 +1789,13 @@ export declare const useFlowEditorToolbarStore: () => {
1739
1789
  register: {
1740
1790
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
1741
1791
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
1742
- context: (ctx: import("../models/EditorPlugin").FlowEditorPluginContext) => void;
1792
+ context: (ctx: import("..").FlowEditorPluginContext) => void;
1743
1793
  };
1744
1794
  };
1745
1795
  content: () => {
1746
- sync: () => import("../models/EditorModels").FlowContent;
1796
+ sync: () => import("../../models").FlowContent;
1747
1797
  set: {
1748
- byJSON: (content: import("../models/EditorModels").FlowContent) => void;
1798
+ byObject: (content: import("../../models").FlowContent) => void;
1749
1799
  byString: (content: string) => void;
1750
1800
  };
1751
1801
  };
@@ -1764,9 +1814,9 @@ export declare const useFlowEditorToolbarStore: () => {
1764
1814
  remove: (dataType: string) => void;
1765
1815
  };
1766
1816
  element: () => {
1767
- createForComponent: (componentName: string) => HTMLDivElement;
1817
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1768
1818
  createText: () => HTMLParagraphElement;
1769
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1819
+ create: (tagName: string, dataType: string) => HTMLElement;
1770
1820
  createTextNode: (data: any) => Text;
1771
1821
  add: (element: HTMLElement) => void;
1772
1822
  };
@@ -1784,7 +1834,7 @@ export declare const useFlowEditorToolbarStore: () => {
1784
1834
  };
1785
1835
  selection: {
1786
1836
  get: {
1787
- byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1837
+ byPluginType: (pluginType: string) => import("..").FlowNodeReference[];
1788
1838
  };
1789
1839
  };
1790
1840
  cursor: {
@@ -1802,10 +1852,10 @@ export declare const useFlowEditorToolbarStore: () => {
1802
1852
  element: {
1803
1853
  clean: (element: HTMLElement) => void;
1804
1854
  add: (element: HTMLElement) => void;
1805
- create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
1855
+ create: (tagName: string, dataType: string) => HTMLElement;
1806
1856
  createText: () => HTMLParagraphElement;
1807
1857
  createTextNode: (data: any) => Text;
1808
- createComponent: (componentName: string) => HTMLDivElement;
1858
+ createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
1809
1859
  insert: {
1810
1860
  text: (element: Node, text: string, offset: any) => void;
1811
1861
  };
@@ -1831,7 +1881,7 @@ export declare const useFlowEditorToolbarStore: () => {
1831
1881
  };
1832
1882
  editorNode: {
1833
1883
  get: {
1834
- nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
1884
+ nodesInArrayByPluginType: (nodes: Array<import("..").FlowNodeReference>, dataType: string) => Array<import("..").FlowNodeReference>;
1835
1885
  };
1836
1886
  };
1837
1887
  htmlNode: {
@@ -1844,11 +1894,11 @@ export declare const useFlowEditorToolbarStore: () => {
1844
1894
  };
1845
1895
  get: {
1846
1896
  topContainerForContent: (element: HTMLElement) => HTMLElement;
1847
- nodeSelectionForRange: (range: Range) => import("../models/EditorModels").NodeSelection;
1897
+ nodeSelectionForRange: (range: Range) => import("..").NodeSelection;
1848
1898
  htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
1849
1899
  };
1850
1900
  remove: {
1851
- nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
1901
+ nodes: (nodes2Remove: Array<import("..").FlowNodeReference>, editor: HTMLElement) => void;
1852
1902
  };
1853
1903
  strip: {
1854
1904
  after: (element: HTMLElement, splitter: string) => void;
@@ -1863,10 +1913,10 @@ export declare const useFlowEditorToolbarStore: () => {
1863
1913
  };
1864
1914
  };
1865
1915
  get: {
1866
- plugins: import("../models/EditorPlugin").FlowEditorPlugin[];
1916
+ plugins: import("..").FlowEditorPlugin[];
1867
1917
  content: {
1868
1918
  isEmpty: () => boolean;
1869
- asJSON: () => import("../models/EditorModels").FlowContent;
1919
+ asObject: () => import("../../models").FlowContent;
1870
1920
  asString: () => string;
1871
1921
  };
1872
1922
  selection: {
@@ -1874,7 +1924,7 @@ export declare const useFlowEditorToolbarStore: () => {
1874
1924
  type: (pluginType: string) => boolean;
1875
1925
  };
1876
1926
  get: {
1877
- byType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
1927
+ byType: (pluginType: string) => import("..").FlowNodeReference[];
1878
1928
  };
1879
1929
  };
1880
1930
  };