@omnia/fx 8.0.298-dev → 8.0.300-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/internal-do-not-import-from-here/contexts/OmniaContext.d.ts +2 -2
  2. package/internal-do-not-import-from-here/contexts/OmniaContextProvider.d.ts +2 -2
  3. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  4. package/internal-do-not-import-from-here/{ux/aurora/store → services}/ThemeService.d.ts +3 -4
  5. package/internal-do-not-import-from-here/services/index.d.ts +1 -0
  6. package/internal-do-not-import-from-here/stores/DefineStore.d.ts +23 -10
  7. package/internal-do-not-import-from-here/stores/LocalizationStore.d.ts +3 -28
  8. package/internal-do-not-import-from-here/stores/SizeContainerStore.d.ts +6 -31
  9. package/internal-do-not-import-from-here/stores/floweditor/FlowEditorPluginStore.d.ts +6 -31
  10. package/internal-do-not-import-from-here/stores/floweditor/FlowEditorToolbarStateStore.d.ts +5 -21
  11. package/internal-do-not-import-from-here/stores/mediapicker/ImageTransformerStore.d.ts +24 -215
  12. package/internal-do-not-import-from-here/stores/mediapicker/MediaPickerCommonStore.d.ts +7 -59
  13. package/internal-do-not-import-from-here/stores/mediapicker/MediaPickerGalleryStore.d.ts +17 -123
  14. package/internal-do-not-import-from-here/stores/mediapicker/ProviderStore.d.ts +24 -160
  15. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +9 -70
  16. package/internal-do-not-import-from-here/stores/oxide/ComponentSharedSettingsStore.d.ts +5 -21
  17. package/internal-do-not-import-from-here/ux/admin/businessprofile/manageprofiles/BusinessProfileJourneyStore.d.ts +6 -58
  18. package/internal-do-not-import-from-here/ux/admin/security/store/AppInstanceJourneyStore.d.ts +6 -22
  19. package/internal-do-not-import-from-here/ux/admin/security/store/ProfileJourneyStore.d.ts +6 -22
  20. package/internal-do-not-import-from-here/ux/admin/security/store/TenantJourneyStore.d.ts +6 -22
  21. package/internal-do-not-import-from-here/ux/admin/settings/blades/mediapicker/store/SettingsBladeStore.d.ts +7 -50
  22. package/internal-do-not-import-from-here/ux/admin/settings/blades/redirect/store/OmniaRedirectStore.d.ts +2 -72
  23. package/internal-do-not-import-from-here/ux/admin/store/AdminStore.d.ts +2 -27
  24. package/internal-do-not-import-from-here/ux/admin/system/store/SystemJourneyStore.d.ts +6 -49
  25. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/stores/LocalizationAdminStore.d.ts +8 -78
  26. package/internal-do-not-import-from-here/ux/admin/system/submenu/seo/store/SeoManagerStore.d.ts +2 -27
  27. package/internal-do-not-import-from-here/ux/admin/system/submenu/services/store/ServicesJourneyStore.d.ts +6 -31
  28. package/internal-do-not-import-from-here/ux/admin/systemlayout/store/SystemLayoutStore.d.ts +4 -126
  29. package/internal-do-not-import-from-here/ux/admin/usermanagement/authentication/BusinessProfileAuthenticationStore.d.ts +5 -39
  30. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/GroupDetailStore.d.ts +1 -6
  31. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/GroupQueryStore.d.ts +2 -45
  32. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/SelfServiceStore.d.ts +11 -72
  33. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/UserDetailStore.d.ts +2 -54
  34. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/UserQueryStore.d.ts +2 -84
  35. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/blades/AddBlueprint.d.ts +16 -0
  36. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ButtonsEditorStore.d.ts +8 -42
  37. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ChromeEditorStore.d.ts +11 -72
  38. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +68 -377
  39. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ContainersEditorStore.d.ts +17 -69
  40. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/IconsEditorStore.d.ts +7 -41
  41. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/TabsEditorStore.d.ts +7 -41
  42. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/spacing/store/SpacingEditorStore.d.ts +8 -87
  43. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +11 -147
  44. package/internal-do-not-import-from-here/ux/aurora/admin/blades/colorschemas/store/ColorSchemaEditorStore.d.ts +6 -58
  45. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +2 -54
  46. package/internal-do-not-import-from-here/ux/aurora/admin/blades/templates/store/TemplateEditorStore.d.ts +8 -123
  47. package/internal-do-not-import-from-here/ux/aurora/admin/blades/themedesigner/store/ThemeDesignerStore.d.ts +8 -33
  48. package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/store/ThemeEditorStore.d.ts +7 -59
  49. package/internal-do-not-import-from-here/ux/aurora/components/{containerpicker → containerFillpicker}/ContainerBlueprintsViewer.d.ts +5 -5
  50. package/internal-do-not-import-from-here/ux/aurora/components/{containerpicker/ContainerPicker.d.ts → containerFillpicker/ContainerFillPicker.d.ts} +91 -91
  51. package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +4 -44
  52. package/internal-do-not-import-from-here/ux/aurora/store/ComponentBlueprintStore.d.ts +8 -33
  53. package/internal-do-not-import-from-here/ux/aurora/store/ComponentMigration.d.ts +4 -0
  54. package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +2 -63
  55. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +19 -406
  56. package/internal-do-not-import-from-here/ux/aurora/store/TemplateRegistrationStore.d.ts +5 -39
  57. package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +156 -700
  58. package/internal-do-not-import-from-here/ux/aurora/store/ThemeStorage.d.ts +8 -44
  59. package/internal-do-not-import-from-here/ux/aurora/store/ThemeStore.d.ts +13 -57
  60. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +20 -407
  61. package/internal-do-not-import-from-here/ux/docs/omfx/services/docs/Service.d.ts +1 -5
  62. package/internal-do-not-import-from-here/ux/docs/omfx/stores/docs/Store.d.ts +9 -34
  63. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +29 -117
  64. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorButton.d.ts +20 -246
  65. package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkButton.d.ts +20 -246
  66. package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingButton.d.ts +20 -246
  67. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +20 -246
  68. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +20 -246
  69. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +48 -1908
  70. package/internal-do-not-import-from-here/ux/flow/editor/stores/VelcronPluginStore.d.ts +6 -33
  71. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +12 -70
  72. package/internal-do-not-import-from-here/ux/hub/feed/stores/ActivityFeedStore.d.ts +31 -101
  73. package/internal-do-not-import-from-here/ux/hub/feed/stores/HubFeedChromeStore.d.ts +19 -53
  74. package/internal-do-not-import-from-here/ux/identities/components/shared/AzureAdProviderSettingsStore.d.ts +2 -27
  75. package/internal-do-not-import-from-here/ux/inputlanguagepicker/stores/InputLanguageStore.d.ts +6 -31
  76. package/internal-do-not-import-from-here/ux/journey/stores/JourneyMenuStore.d.ts +6 -31
  77. package/internal-do-not-import-from-here/ux/journey/stores/JourneyRouterStore.d.ts +5 -57
  78. package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +19 -176
  79. package/internal-do-not-import-from-here/ux/journey/stores/SettingsJourneyStore.d.ts +9 -79
  80. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +17 -166
  81. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/SettingsMenuStore.d.ts +6 -31
  82. package/internal-do-not-import-from-here/ux/links/store/LinkPickerStore.d.ts +2 -27
  83. package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -48
  84. package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Delimiter.d.ts +3 -64
  85. package/internal-do-not-import-from-here/ux/mediagallery/view/store/PhotoWallStore.d.ts +2 -36
  86. package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/use/MediaflowProviderStore.d.ts +2 -54
  87. package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.stylex.d.ts +1 -1
  88. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts +11 -135
  89. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
  90. package/internal-do-not-import-from-here/ux/oxide/slidepanel/store/SlidePanelStore.d.ts +3 -64
  91. package/internal-do-not-import-from-here/ux/oxide/stickycontainer/store/StickyContainerStore.d.ts +8 -33
  92. package/internal-do-not-import-from-here/ux/oxide/table/Table.stylex.d.ts +1 -1
  93. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorStore.d.ts +6 -28
  94. package/internal-do-not-import-from-here/ux/theming/ThemeManager.d.ts +2 -2
  95. package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +1 -1
  96. package/internal-do-not-import-from-here/ux/velcron/blocks/velcron/useVelcronStateManager.d.ts +1 -1
  97. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  98. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +2 -2
  99. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +2 -5
  100. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronComponentStore.d.ts +5 -5
  101. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +31 -290
  102. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +7 -98
  103. package/internal-do-not-import-from-here/ux/velcron/stores/useVelcronStateManager.d.ts +1 -1
  104. package/internal-do-not-import-from-here/wctypings.d.ts +11 -9
  105. package/package.json +2 -2
  106. /package/internal-do-not-import-from-here/ux/aurora/components/{containerpicker/ContainerPicker.css.d.ts → containerFillpicker/ContainerFillPicker.css.d.ts} +0 -0
  107. /package/internal-do-not-import-from-here/ux/aurora/components/{containerpicker → containerFillpicker}/docs/ExampleComponents.d.ts +0 -0
  108. /package/internal-do-not-import-from-here/ux/aurora/components/{containerpicker → containerFillpicker}/docs/SampleComponent.d.ts +0 -0
  109. /package/internal-do-not-import-from-here/ux/aurora/components/{containerpicker → containerFillpicker}/docs/index.d.ts +0 -0
@@ -27,258 +27,32 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
27
27
  textStyle: import("@omnia/fx-models").TextBlueprint;
28
28
  };
29
29
  };
30
- events: {
31
- onMutatedEditorContent: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowContent>;
32
- onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPlugin[]>;
33
- onMutatedPluginsLoadedPromise: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
34
- onMutatedHideToolbar: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
35
- onMutatedToolbarActions: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").FlowEditorActionRegistration[]>;
36
- onMutatedEditor: import("../../../../..").MessageBusExposeOnlySubscription<HTMLDivElement>;
37
- onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").NodeSelection>;
38
- onMutatedTelePorts: import("../../../../..").MessageBusExposeOnlySubscription<JSX.Element[]>;
39
- onMutatedId: import("../../../../..").MessageBusExposeOnlySubscription<string>;
40
- onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPluginContext>;
41
- onMutatedSelectedRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
42
- onMutatedStoredRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
43
- onMutatedShowPlaceHolder: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
44
- onMutatedDefinitionSelector: import("../../../../..").MessageBusExposeOnlySubscription<{
30
+ events: import("../../../../../stores").StoreEvents<{
31
+ editorContent: import("@omnia/fx/ux").FlowContent;
32
+ plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
33
+ pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
34
+ hideToolbar: boolean;
35
+ toolbarActions: import("@omnia/fx-models").FlowEditorActionRegistration[];
36
+ editor: HTMLDivElement;
37
+ nodeSelection: import("@omnia/fx/ux").NodeSelection;
38
+ telePorts: JSX.Element[];
39
+ id: string;
40
+ pluginContext: import("@omnia/fx/ux").FlowEditorPluginContext;
41
+ selectedRange: Range;
42
+ storedRange: Range;
43
+ showPlaceHolder: boolean;
44
+ definitionSelector: {
45
45
  show: boolean;
46
46
  categoryFilters: guid[];
47
47
  rendererTypeFilters: guid[];
48
- }>;
49
- onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
48
+ };
49
+ settings: {
50
50
  gridWidth: number;
51
51
  rowSpacing: import("@omnia/fx-models").SpacingValue;
52
52
  textStyle: import("@omnia/fx-models").TextBlueprint;
53
- }>;
54
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
55
- actions: {
56
- onDispatching: {
57
- confirm: {
58
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
59
- };
60
- selection: {
61
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
62
- };
63
- plugin: {
64
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
65
- };
66
- content: {
67
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
68
- };
69
- set: {
70
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
71
- };
72
- toolbarAction: {
73
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
74
- };
75
- formatting: {
76
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
77
- };
78
- element: {
79
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
80
- };
81
- commands: {
82
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
83
- };
84
53
  };
85
- onDispatched: {
86
- confirm: {
87
- subscribe(fn: (result: {
88
- delete: {
89
- container: (element: HTMLElement) => void;
90
- };
91
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
92
- };
93
- selection: {
94
- subscribe(fn: (result: {
95
- set: (elements: Node | Array<Node>) => void;
96
- capture: () => void;
97
- store: () => void;
98
- revertToStored: () => void;
99
- ensure: () => void;
100
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
101
- };
102
- plugin: {
103
- subscribe(fn: (result: {
104
- register: {
105
- plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
106
- plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
107
- context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
108
- };
109
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
110
- };
111
- content: {
112
- subscribe(fn: (result: {
113
- sync: () => void;
114
- set: {
115
- byObject: (content: import("@omnia/fx/ux").FlowContent) => void;
116
- byString: (content: string) => void;
117
- };
118
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
119
- };
120
- set: {
121
- subscribe(fn: (result: {
122
- container: (el: HTMLDivElement) => void;
123
- focus: () => void;
124
- placeHolderVisibility: () => void;
125
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
- };
127
- toolbarAction: {
128
- subscribe(fn: (result: {
129
- add: (action: import("@omnia/fx-models").FlowEditorActionRegistration | import("@omnia/fx-models").FlowEditorActionRegistration[]) => void;
130
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
131
- };
132
- formatting: {
133
- subscribe(fn: (result: {
134
- wrapLine: (element: HTMLElement) => void;
135
- add: (element: HTMLElement) => void;
136
- addWithText: (element: HTMLElement, text: any) => void;
137
- toggle: (element: HTMLElement) => void;
138
- remove: (dataType: string) => void;
139
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
140
- };
141
- element: {
142
- subscribe(fn: (result: {
143
- createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
144
- createText: () => HTMLParagraphElement;
145
- create: (tagName: string, dataType: string) => HTMLElement;
146
- createTextNode: (data: any) => Text;
147
- add: (element: HTMLElement) => void;
148
- insert: (element: HTMLElement, ref: HTMLElement, preInsert: boolean) => void;
149
- delete: (element: HTMLElement) => void;
150
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
151
- };
152
- commands: {
153
- subscribe(fn: (result: {
154
- exec: (command: string, data: object | string) => void;
155
- builtIn: {
156
- content: {
157
- convert: (element: HTMLElement) => void;
158
- };
159
- ensure: {
160
- lastElement: {
161
- isText: () => void;
162
- };
163
- unique: {
164
- ids: (element: HTMLElement) => void;
165
- };
166
- };
167
- selection: {
168
- get: {
169
- byPluginType: (pluginType: string) => FlowNodeReference[];
170
- };
171
- ensure: {
172
- storedRange: () => void;
173
- };
174
- };
175
- cursor: {
176
- isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
177
- isBeforeContent: (range: Range, container: HTMLElement) => boolean;
178
- };
179
- actions: {
180
- captureSelection: () => void;
181
- };
182
- formatting: {
183
- add: (element: HTMLElement) => void;
184
- addWithTxt: (element: HTMLElement, text?: string) => void;
185
- wrapLine: (element: HTMLElement) => void;
186
- remove: (dataType: string | HTMLElement) => void;
187
- has: (dataType: string | HTMLElement) => boolean;
188
- };
189
- element: {
190
- clean: (element: HTMLElement) => void;
191
- add: (element: HTMLElement) => void;
192
- create: (tagName: string, dataType: string) => HTMLElement;
193
- createText: () => HTMLParagraphElement;
194
- createTextNode: (data: any) => Text;
195
- createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
196
- insert: {
197
- text: (element: Node, text: string, offset: any) => void;
198
- };
199
- ids: {
200
- unique: (element: HTMLElement) => void;
201
- };
202
- };
203
- helpers: {
204
- editor: {
205
- ensure: {
206
- uniqueIds: (element: HTMLElement) => HTMLElement;
207
- selectionIsInEditor: (range: Range) => void;
208
- };
209
- cursor: {
210
- storePosition: (state: {
211
- selectedRange: Range;
212
- }) => void;
213
- isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
214
- isBeforeContent: (range: Range, container: HTMLElement) => boolean;
215
- };
216
- };
217
- editorNode: {
218
- get: {
219
- nodesInArrayByPluginType: (nodes: Array<FlowNodeReference>, dataType: string) => Array<FlowNodeReference>;
220
- };
221
- };
222
- htmlNode: {
223
- copy: {
224
- children: (from: HTMLElement, to: HTMLElement) => void;
225
- };
226
- insert: {
227
- text: (element: Node, text: string, offset: any) => void;
228
- elementInContainer: (element: HTMLElement, container: HTMLElement) => void;
229
- };
230
- get: {
231
- topContainerForContent: (element: HTMLElement) => HTMLElement;
232
- topContainerForComponent: (element: HTMLElement) => HTMLElement;
233
- nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
234
- htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
235
- };
236
- remove: {
237
- nodes: (nodes2Remove: Array<FlowNodeReference>, editor: HTMLElement) => void;
238
- };
239
- strip: {
240
- after: (element: HTMLElement, splitter: string) => void;
241
- before: (element: HTMLElement, splitter: string) => void;
242
- };
243
- surround: {
244
- selectionWithElement: (element: HTMLElement, range: Range) => void;
245
- };
246
- };
247
- };
248
- };
249
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
250
- };
251
- };
252
- onFailure: {
253
- confirm: {
254
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
255
- };
256
- selection: {
257
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
258
- };
259
- plugin: {
260
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
261
- };
262
- content: {
263
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
264
- };
265
- set: {
266
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
267
- };
268
- toolbarAction: {
269
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
270
- };
271
- formatting: {
272
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
273
- };
274
- element: {
275
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
276
- };
277
- commands: {
278
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
279
- };
280
- };
281
- } & {
54
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
55
+ actions: import("../../../../../stores").StoreReturnDefineAction<{
282
56
  confirm: () => {
283
57
  delete: {
284
58
  container: (element: HTMLElement) => void;
@@ -426,7 +200,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
426
200
  };
427
201
  };
428
202
  };
429
- };
203
+ }>;
430
204
  get: {
431
205
  plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
432
206
  content: {
@@ -27,258 +27,32 @@ export declare const useFlowEditorStore: () => {
27
27
  textStyle: TextBlueprint;
28
28
  };
29
29
  };
30
- events: {
31
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
32
- onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPlugin[]>;
33
- onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<Future<void>>;
34
- onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
35
- onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
36
- onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
37
- onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
38
- onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
39
- onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
40
- onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPluginContext>;
41
- onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
42
- onMutatedStoredRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
43
- onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
44
- onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
30
+ events: import("@omnia/fx/stores").StoreEvents<{
31
+ editorContent: FlowContent;
32
+ plugins: FlowEditorPlugin[];
33
+ pluginsLoadedPromise: Future<void>;
34
+ hideToolbar: boolean;
35
+ toolbarActions: FlowEditorActionRegistration[];
36
+ editor: HTMLDivElement;
37
+ nodeSelection: NodeSelection;
38
+ telePorts: JSX.Element[];
39
+ id: string;
40
+ pluginContext: FlowEditorPluginContext;
41
+ selectedRange: Range;
42
+ storedRange: Range;
43
+ showPlaceHolder: boolean;
44
+ definitionSelector: {
45
45
  show: boolean;
46
46
  categoryFilters: guid[];
47
47
  rendererTypeFilters: guid[];
48
- }>;
49
- onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
48
+ };
49
+ settings: {
50
50
  gridWidth: number;
51
51
  rowSpacing: SpacingValue;
52
52
  textStyle: TextBlueprint;
53
- }>;
54
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
55
- actions: {
56
- onDispatching: {
57
- confirm: {
58
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
59
- };
60
- selection: {
61
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
62
- };
63
- plugin: {
64
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
65
- };
66
- content: {
67
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
68
- };
69
- set: {
70
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
71
- };
72
- toolbarAction: {
73
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
74
- };
75
- formatting: {
76
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
77
- };
78
- element: {
79
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
80
- };
81
- commands: {
82
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
83
- };
84
53
  };
85
- onDispatched: {
86
- confirm: {
87
- subscribe(fn: (result: {
88
- delete: {
89
- container: (element: HTMLElement) => void;
90
- };
91
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
92
- };
93
- selection: {
94
- subscribe(fn: (result: {
95
- set: (elements: Node | Array<Node>) => void;
96
- capture: () => void;
97
- store: () => void;
98
- revertToStored: () => void;
99
- ensure: () => void;
100
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
101
- };
102
- plugin: {
103
- subscribe(fn: (result: {
104
- register: {
105
- plugin: (pluginSettings: FlowEditorPluginSettings) => void;
106
- plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
107
- context: (ctx: FlowEditorPluginContext) => void;
108
- };
109
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
110
- };
111
- content: {
112
- subscribe(fn: (result: {
113
- sync: () => void;
114
- set: {
115
- byObject: (content: FlowContent) => void;
116
- byString: (content: string) => void;
117
- };
118
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
119
- };
120
- set: {
121
- subscribe(fn: (result: {
122
- container: (el: HTMLDivElement) => void;
123
- focus: () => void;
124
- placeHolderVisibility: () => void;
125
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
- };
127
- toolbarAction: {
128
- subscribe(fn: (result: {
129
- add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
130
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
131
- };
132
- formatting: {
133
- subscribe(fn: (result: {
134
- wrapLine: (element: HTMLElement) => void;
135
- add: (element: HTMLElement) => void;
136
- addWithText: (element: HTMLElement, text: any) => void;
137
- toggle: (element: HTMLElement) => void;
138
- remove: (dataType: string) => void;
139
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
140
- };
141
- element: {
142
- subscribe(fn: (result: {
143
- createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
144
- createText: () => HTMLParagraphElement;
145
- create: (tagName: string, dataType: string) => HTMLElement;
146
- createTextNode: (data: any) => Text;
147
- add: (element: HTMLElement) => void;
148
- insert: (element: HTMLElement, ref: HTMLElement, preInsert: boolean) => void;
149
- delete: (element: HTMLElement) => void;
150
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
151
- };
152
- commands: {
153
- subscribe(fn: (result: {
154
- exec: (command: string, data: object | string) => void;
155
- builtIn: {
156
- content: {
157
- convert: (element: HTMLElement) => void;
158
- };
159
- ensure: {
160
- lastElement: {
161
- isText: () => void;
162
- };
163
- unique: {
164
- ids: (element: HTMLElement) => void;
165
- };
166
- };
167
- selection: {
168
- get: {
169
- byPluginType: (pluginType: string) => import("@omnia/fx/ux").FlowNodeReference[];
170
- };
171
- ensure: {
172
- storedRange: () => void;
173
- };
174
- };
175
- cursor: {
176
- isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
177
- isBeforeContent: (range: Range, container: HTMLElement) => boolean;
178
- };
179
- actions: {
180
- captureSelection: () => void;
181
- };
182
- formatting: {
183
- add: (element: HTMLElement) => void;
184
- addWithTxt: (element: HTMLElement, text?: string) => void;
185
- wrapLine: (element: HTMLElement) => void;
186
- remove: (dataType: string | HTMLElement) => void;
187
- has: (dataType: string | HTMLElement) => boolean;
188
- };
189
- element: {
190
- clean: (element: HTMLElement) => void;
191
- add: (element: HTMLElement) => void;
192
- create: (tagName: string, dataType: string) => HTMLElement;
193
- createText: () => HTMLParagraphElement;
194
- createTextNode: (data: any) => Text;
195
- createComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
196
- insert: {
197
- text: (element: Node, text: string, offset: any) => void;
198
- };
199
- ids: {
200
- unique: (element: HTMLElement) => void;
201
- };
202
- };
203
- helpers: {
204
- editor: {
205
- ensure: {
206
- uniqueIds: (element: HTMLElement) => HTMLElement;
207
- selectionIsInEditor: (range: Range) => void;
208
- };
209
- cursor: {
210
- storePosition: (state: {
211
- selectedRange: Range;
212
- }) => void;
213
- isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
214
- isBeforeContent: (range: Range, container: HTMLElement) => boolean;
215
- };
216
- };
217
- editorNode: {
218
- get: {
219
- nodesInArrayByPluginType: (nodes: Array<import("@omnia/fx/ux").FlowNodeReference>, dataType: string) => Array<import("@omnia/fx/ux").FlowNodeReference>;
220
- };
221
- };
222
- htmlNode: {
223
- copy: {
224
- children: (from: HTMLElement, to: HTMLElement) => void;
225
- };
226
- insert: {
227
- text: (element: Node, text: string, offset: any) => void;
228
- elementInContainer: (element: HTMLElement, container: HTMLElement) => void;
229
- };
230
- get: {
231
- topContainerForContent: (element: HTMLElement) => HTMLElement;
232
- topContainerForComponent: (element: HTMLElement) => HTMLElement;
233
- nodeSelectionForRange: (range: Range) => NodeSelection;
234
- htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
235
- };
236
- remove: {
237
- nodes: (nodes2Remove: Array<import("@omnia/fx/ux").FlowNodeReference>, editor: HTMLElement) => void;
238
- };
239
- strip: {
240
- after: (element: HTMLElement, splitter: string) => void;
241
- before: (element: HTMLElement, splitter: string) => void;
242
- };
243
- surround: {
244
- selectionWithElement: (element: HTMLElement, range: Range) => void;
245
- };
246
- };
247
- };
248
- };
249
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
250
- };
251
- };
252
- onFailure: {
253
- confirm: {
254
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
255
- };
256
- selection: {
257
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
258
- };
259
- plugin: {
260
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
261
- };
262
- content: {
263
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
264
- };
265
- set: {
266
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
267
- };
268
- toolbarAction: {
269
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
270
- };
271
- formatting: {
272
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
273
- };
274
- element: {
275
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
276
- };
277
- commands: {
278
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
279
- };
280
- };
281
- } & {
54
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
55
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
282
56
  confirm: () => {
283
57
  delete: {
284
58
  container: (element: HTMLElement) => void;
@@ -426,7 +200,7 @@ export declare const useFlowEditorStore: () => {
426
200
  };
427
201
  };
428
202
  };
429
- };
203
+ }>;
430
204
  get: {
431
205
  plugins: FlowEditorPlugin[];
432
206
  content: {