@omnia/fx 8.0.289-dev → 8.0.290-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +9 -1
- package/internal-do-not-import-from-here/ux/docs/Docs.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/docs/bestpractices/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/docs/bestpractices/typescript/index.md.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/docs/imports.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/documenticon/DocumentIcon.d.ts +7 -14
- package/internal-do-not-import-from-here/ux/flow/editor/commands/EditorCommands.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/EditorNodeHelper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/HtmlNodehelper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/components/EditorSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/models/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/flow/editor/parsers/HtmlParser.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/flow/editor/parsers/JSONParser.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/DefineEditorPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/bold/BoldPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorButton.d.ts +23 -13
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorConverter.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorStylePlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementConverter.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/EditorEvents.d.ts +17 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/KeyboardEvents.d.ts +8 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/italic/ItalicPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkButton.d.ts +451 -0
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkConverter.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkPlugin.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/sourceeditor/SourceEditorPlugin.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingButton.d.ts +23 -13
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/testdata/TestDataPlugin.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextConverter.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/textalign/TextAlignPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +23 -13
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/plugins/velcron/VelcronPlugin.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +18 -8
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +145 -95
- package/internal-do-not-import-from-here/ux/flow/editor/stores/VelcronPluginStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/flow/renderer/plugins/link/LinkPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointBlockSettingsComponent.d.ts +2 -20
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointSectionSettingsComponent.d.ts +2 -28
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointSettingsComponent.d.ts +6 -25
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/BreakPointManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/linkpicker/LinkPicker.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/linkpicker/LinkRenderer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/linkpicker/factory/LinkItemFactory.d.ts +2 -7
- package/internal-do-not-import-from-here/ux/markdown/plugins/CodeComponent.d.ts +34 -0
- package/internal-do-not-import-from-here/ux/markdown/plugins/CodeMarkdownPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/models/flow/LinkNode.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/models/flow/index.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/models/linkpicker/ILinkPickerProvider.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/models/linkpicker/ILinkRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItemHandler.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerRegistration.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/models/linkpicker/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/Grid.d.ts +32 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/LinkResolverEditor.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +13 -0
- package/internal-do-not-import-from-here/vue/vuecustomelement/Slots.d.ts +1 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -0
- package/package.json +4 -4
- package/internal-do-not-import-from-here/ux/markdown/plugins/CodeMarkdownRenderer.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItem.d.ts +0 -8
- /package/internal-do-not-import-from-here/ux/{flow/editor/models → models/flow}/EditorModels.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{flow/editor/models → models/flow}/EditorPlugin.d.ts +0 -0
@@ -1,18 +1,18 @@
|
|
1
|
+
import { FlowNodeReference } from "@omnia/fx/ux";
|
1
2
|
import { guid } from "@omnia/fx-models";
|
2
|
-
import { FlowNodeReference } from "../../models";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
4
4
|
store?: {
|
5
5
|
state: {
|
6
6
|
editorContent: import("@omnia/fx/ux").FlowContent;
|
7
|
-
plugins: import("
|
7
|
+
plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
|
8
8
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
9
9
|
hideToolbar: boolean;
|
10
10
|
toolbarActions: import("@omnia/fx-models").FlowEditorActionRegistration[];
|
11
11
|
editor: HTMLDivElement;
|
12
|
-
nodeSelection: import("
|
12
|
+
nodeSelection: import("@omnia/fx/ux").NodeSelection;
|
13
13
|
telePorts: JSX.Element[];
|
14
14
|
id: string;
|
15
|
-
pluginContext: import("
|
15
|
+
pluginContext: import("@omnia/fx/ux").FlowEditorPluginContext;
|
16
16
|
selectedRange: Range;
|
17
17
|
storedRange: Range;
|
18
18
|
showPlaceHolder: boolean;
|
@@ -21,18 +21,21 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
21
21
|
categoryFilters: guid[];
|
22
22
|
rendererTypeFilters: guid[];
|
23
23
|
};
|
24
|
+
settings: {
|
25
|
+
gridWidth: number;
|
26
|
+
};
|
24
27
|
};
|
25
28
|
events: {
|
26
29
|
onMutatedEditorContent: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowContent>;
|
27
|
-
onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("
|
30
|
+
onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPlugin[]>;
|
28
31
|
onMutatedPluginsLoadedPromise: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
29
32
|
onMutatedHideToolbar: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
|
30
33
|
onMutatedToolbarActions: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").FlowEditorActionRegistration[]>;
|
31
34
|
onMutatedEditor: import("../../../../..").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
32
|
-
onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("
|
35
|
+
onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").NodeSelection>;
|
33
36
|
onMutatedTelePorts: import("../../../../..").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
34
37
|
onMutatedId: import("../../../../..").MessageBusExposeOnlySubscription<string>;
|
35
|
-
onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("
|
38
|
+
onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPluginContext>;
|
36
39
|
onMutatedSelectedRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
|
37
40
|
onMutatedStoredRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
|
38
41
|
onMutatedShowPlaceHolder: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
|
@@ -41,6 +44,9 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
41
44
|
categoryFilters: guid[];
|
42
45
|
rendererTypeFilters: guid[];
|
43
46
|
}>;
|
47
|
+
onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
|
48
|
+
gridWidth: number;
|
49
|
+
}>;
|
44
50
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
45
51
|
actions: {
|
46
52
|
onDispatching: {
|
@@ -94,7 +100,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
94
100
|
register: {
|
95
101
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
96
102
|
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
97
|
-
context: (ctx: import("
|
103
|
+
context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
|
98
104
|
};
|
99
105
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
100
106
|
};
|
@@ -123,6 +129,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
123
129
|
subscribe(fn: (result: {
|
124
130
|
wrapLine: (element: HTMLElement) => void;
|
125
131
|
add: (element: HTMLElement) => void;
|
132
|
+
addWithText: (element: HTMLElement, text: any) => void;
|
126
133
|
toggle: (element: HTMLElement) => void;
|
127
134
|
remove: (dataType: string) => void;
|
128
135
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -170,6 +177,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
170
177
|
};
|
171
178
|
formatting: {
|
172
179
|
add: (element: HTMLElement) => void;
|
180
|
+
addWithTxt: (element: HTMLElement, text?: string) => void;
|
173
181
|
wrapLine: (element: HTMLElement) => void;
|
174
182
|
remove: (dataType: string | HTMLElement) => void;
|
175
183
|
has: (dataType: string | HTMLElement) => boolean;
|
@@ -218,7 +226,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
218
226
|
get: {
|
219
227
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
220
228
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
221
|
-
nodeSelectionForRange: (range: Range) => import("
|
229
|
+
nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
|
222
230
|
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
223
231
|
};
|
224
232
|
remove: {
|
@@ -283,7 +291,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
283
291
|
register: {
|
284
292
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
285
293
|
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
286
|
-
context: (ctx: import("
|
294
|
+
context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
|
287
295
|
};
|
288
296
|
};
|
289
297
|
content: () => {
|
@@ -304,6 +312,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
304
312
|
formatting: () => {
|
305
313
|
wrapLine: (element: HTMLElement) => void;
|
306
314
|
add: (element: HTMLElement) => void;
|
315
|
+
addWithText: (element: HTMLElement, text: any) => void;
|
307
316
|
toggle: (element: HTMLElement) => void;
|
308
317
|
remove: (dataType: string) => void;
|
309
318
|
};
|
@@ -347,6 +356,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
347
356
|
};
|
348
357
|
formatting: {
|
349
358
|
add: (element: HTMLElement) => void;
|
359
|
+
addWithTxt: (element: HTMLElement, text?: string) => void;
|
350
360
|
wrapLine: (element: HTMLElement) => void;
|
351
361
|
remove: (dataType: string | HTMLElement) => void;
|
352
362
|
has: (dataType: string | HTMLElement) => boolean;
|
@@ -395,7 +405,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
395
405
|
get: {
|
396
406
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
397
407
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
398
|
-
nodeSelectionForRange: (range: Range) => import("
|
408
|
+
nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
|
399
409
|
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
400
410
|
};
|
401
411
|
remove: {
|
@@ -414,7 +424,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
414
424
|
};
|
415
425
|
};
|
416
426
|
get: {
|
417
|
-
plugins: import("
|
427
|
+
plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
|
418
428
|
content: {
|
419
429
|
isEmpty: () => boolean;
|
420
430
|
asObject: () => import("@omnia/fx/ux").FlowContent;
|
@@ -426,7 +436,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
426
436
|
};
|
427
437
|
get: {
|
428
438
|
byType: (pluginType: string) => FlowNodeReference[];
|
429
|
-
all: () => import("
|
439
|
+
all: () => import("@omnia/fx/ux").NodeSelection;
|
430
440
|
};
|
431
441
|
};
|
432
442
|
element: {
|
package/internal-do-not-import-from-here/ux/flow/editor/plugins/testdata/TestDataPlugin.d.ts
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
export declare const testDataPlugin: () =>
|
1
|
+
import { FlowEditorActionRegistration } from "@omnia/fx-models";
|
2
|
+
export declare const testDataPlugin: () => {
|
3
|
+
name: string;
|
4
|
+
actions: FlowEditorActionRegistration[];
|
5
|
+
} & {
|
3
6
|
dispose?: () => void;
|
4
7
|
};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ElementConverter } from "
|
1
|
+
import { ElementConverter } from "@omnia/fx/ux";
|
2
2
|
export declare function useTextConverter(): ElementConverter;
|
package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
+
import { FlowNodeReference } from "@omnia/fx/ux";
|
1
2
|
import { guid } from "@omnia/fx-models";
|
2
|
-
import { FlowNodeReference } from "../../models";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
4
4
|
store?: {
|
5
5
|
state: {
|
6
6
|
editorContent: import("@omnia/fx/ux").FlowContent;
|
7
|
-
plugins: import("
|
7
|
+
plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
|
8
8
|
pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
|
9
9
|
hideToolbar: boolean;
|
10
10
|
toolbarActions: import("@omnia/fx-models").FlowEditorActionRegistration[];
|
11
11
|
editor: HTMLDivElement;
|
12
|
-
nodeSelection: import("
|
12
|
+
nodeSelection: import("@omnia/fx/ux").NodeSelection;
|
13
13
|
telePorts: JSX.Element[];
|
14
14
|
id: string;
|
15
|
-
pluginContext: import("
|
15
|
+
pluginContext: import("@omnia/fx/ux").FlowEditorPluginContext;
|
16
16
|
selectedRange: Range;
|
17
17
|
storedRange: Range;
|
18
18
|
showPlaceHolder: boolean;
|
@@ -21,18 +21,21 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
21
21
|
categoryFilters: guid[];
|
22
22
|
rendererTypeFilters: guid[];
|
23
23
|
};
|
24
|
+
settings: {
|
25
|
+
gridWidth: number;
|
26
|
+
};
|
24
27
|
};
|
25
28
|
events: {
|
26
29
|
onMutatedEditorContent: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowContent>;
|
27
|
-
onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("
|
30
|
+
onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPlugin[]>;
|
28
31
|
onMutatedPluginsLoadedPromise: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
|
29
32
|
onMutatedHideToolbar: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
|
30
33
|
onMutatedToolbarActions: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").FlowEditorActionRegistration[]>;
|
31
34
|
onMutatedEditor: import("../../../../..").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
32
|
-
onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("
|
35
|
+
onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").NodeSelection>;
|
33
36
|
onMutatedTelePorts: import("../../../../..").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
34
37
|
onMutatedId: import("../../../../..").MessageBusExposeOnlySubscription<string>;
|
35
|
-
onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("
|
38
|
+
onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPluginContext>;
|
36
39
|
onMutatedSelectedRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
|
37
40
|
onMutatedStoredRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
|
38
41
|
onMutatedShowPlaceHolder: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
|
@@ -41,6 +44,9 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
41
44
|
categoryFilters: guid[];
|
42
45
|
rendererTypeFilters: guid[];
|
43
46
|
}>;
|
47
|
+
onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
|
48
|
+
gridWidth: number;
|
49
|
+
}>;
|
44
50
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
45
51
|
actions: {
|
46
52
|
onDispatching: {
|
@@ -94,7 +100,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
94
100
|
register: {
|
95
101
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
96
102
|
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
97
|
-
context: (ctx: import("
|
103
|
+
context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
|
98
104
|
};
|
99
105
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
100
106
|
};
|
@@ -123,6 +129,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
123
129
|
subscribe(fn: (result: {
|
124
130
|
wrapLine: (element: HTMLElement) => void;
|
125
131
|
add: (element: HTMLElement) => void;
|
132
|
+
addWithText: (element: HTMLElement, text: any) => void;
|
126
133
|
toggle: (element: HTMLElement) => void;
|
127
134
|
remove: (dataType: string) => void;
|
128
135
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -170,6 +177,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
170
177
|
};
|
171
178
|
formatting: {
|
172
179
|
add: (element: HTMLElement) => void;
|
180
|
+
addWithTxt: (element: HTMLElement, text?: string) => void;
|
173
181
|
wrapLine: (element: HTMLElement) => void;
|
174
182
|
remove: (dataType: string | HTMLElement) => void;
|
175
183
|
has: (dataType: string | HTMLElement) => boolean;
|
@@ -218,7 +226,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
218
226
|
get: {
|
219
227
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
220
228
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
221
|
-
nodeSelectionForRange: (range: Range) => import("
|
229
|
+
nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
|
222
230
|
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
223
231
|
};
|
224
232
|
remove: {
|
@@ -283,7 +291,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
283
291
|
register: {
|
284
292
|
plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
|
285
293
|
plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
|
286
|
-
context: (ctx: import("
|
294
|
+
context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
|
287
295
|
};
|
288
296
|
};
|
289
297
|
content: () => {
|
@@ -304,6 +312,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
304
312
|
formatting: () => {
|
305
313
|
wrapLine: (element: HTMLElement) => void;
|
306
314
|
add: (element: HTMLElement) => void;
|
315
|
+
addWithText: (element: HTMLElement, text: any) => void;
|
307
316
|
toggle: (element: HTMLElement) => void;
|
308
317
|
remove: (dataType: string) => void;
|
309
318
|
};
|
@@ -347,6 +356,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
347
356
|
};
|
348
357
|
formatting: {
|
349
358
|
add: (element: HTMLElement) => void;
|
359
|
+
addWithTxt: (element: HTMLElement, text?: string) => void;
|
350
360
|
wrapLine: (element: HTMLElement) => void;
|
351
361
|
remove: (dataType: string | HTMLElement) => void;
|
352
362
|
has: (dataType: string | HTMLElement) => boolean;
|
@@ -395,7 +405,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
395
405
|
get: {
|
396
406
|
topContainerForContent: (element: HTMLElement) => HTMLElement;
|
397
407
|
topContainerForComponent: (element: HTMLElement) => HTMLElement;
|
398
|
-
nodeSelectionForRange: (range: Range) => import("
|
408
|
+
nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
|
399
409
|
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
400
410
|
};
|
401
411
|
remove: {
|
@@ -414,7 +424,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
414
424
|
};
|
415
425
|
};
|
416
426
|
get: {
|
417
|
-
plugins: import("
|
427
|
+
plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
|
418
428
|
content: {
|
419
429
|
isEmpty: () => boolean;
|
420
430
|
asObject: () => import("@omnia/fx/ux").FlowContent;
|
@@ -426,7 +436,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
426
436
|
};
|
427
437
|
get: {
|
428
438
|
byType: (pluginType: string) => FlowNodeReference[];
|
429
|
-
all: () => import("
|
439
|
+
all: () => import("@omnia/fx/ux").NodeSelection;
|
430
440
|
};
|
431
441
|
};
|
432
442
|
element: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FlowEditorActionRegistration, FlowEditorPluginSettings, guid, Future } from "@omnia/fx-models";
|
2
|
-
import { FlowEditorPlugin, FlowEditorPluginContext, NodeSelection } from "
|
2
|
+
import { FlowEditorPlugin, FlowEditorPluginContext, NodeSelection } from "@omnia/fx/ux";
|
3
3
|
import { FlowContent } from "@omnia/fx/ux";
|
4
4
|
export declare const useFlowEditorStore: () => {
|
5
5
|
state: {
|
@@ -21,6 +21,9 @@ export declare const useFlowEditorStore: () => {
|
|
21
21
|
categoryFilters: guid[];
|
22
22
|
rendererTypeFilters: guid[];
|
23
23
|
};
|
24
|
+
settings: {
|
25
|
+
gridWidth: number;
|
26
|
+
};
|
24
27
|
};
|
25
28
|
events: {
|
26
29
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
|
@@ -41,6 +44,9 @@ export declare const useFlowEditorStore: () => {
|
|
41
44
|
categoryFilters: guid[];
|
42
45
|
rendererTypeFilters: guid[];
|
43
46
|
}>;
|
47
|
+
onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
48
|
+
gridWidth: number;
|
49
|
+
}>;
|
44
50
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
45
51
|
actions: {
|
46
52
|
onDispatching: {
|
@@ -123,6 +129,7 @@ export declare const useFlowEditorStore: () => {
|
|
123
129
|
subscribe(fn: (result: {
|
124
130
|
wrapLine: (element: HTMLElement) => void;
|
125
131
|
add: (element: HTMLElement) => void;
|
132
|
+
addWithText: (element: HTMLElement, text: any) => void;
|
126
133
|
toggle: (element: HTMLElement) => void;
|
127
134
|
remove: (dataType: string) => void;
|
128
135
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -155,7 +162,7 @@ export declare const useFlowEditorStore: () => {
|
|
155
162
|
};
|
156
163
|
selection: {
|
157
164
|
get: {
|
158
|
-
byPluginType: (pluginType: string) => import("
|
165
|
+
byPluginType: (pluginType: string) => import("@omnia/fx/ux").FlowNodeReference[];
|
159
166
|
};
|
160
167
|
ensure: {
|
161
168
|
storedRange: () => void;
|
@@ -170,6 +177,7 @@ export declare const useFlowEditorStore: () => {
|
|
170
177
|
};
|
171
178
|
formatting: {
|
172
179
|
add: (element: HTMLElement) => void;
|
180
|
+
addWithTxt: (element: HTMLElement, text?: string) => void;
|
173
181
|
wrapLine: (element: HTMLElement) => void;
|
174
182
|
remove: (dataType: string | HTMLElement) => void;
|
175
183
|
has: (dataType: string | HTMLElement) => boolean;
|
@@ -204,7 +212,7 @@ export declare const useFlowEditorStore: () => {
|
|
204
212
|
};
|
205
213
|
editorNode: {
|
206
214
|
get: {
|
207
|
-
nodesInArrayByPluginType: (nodes: Array<import("
|
215
|
+
nodesInArrayByPluginType: (nodes: Array<import("@omnia/fx/ux").FlowNodeReference>, dataType: string) => Array<import("@omnia/fx/ux").FlowNodeReference>;
|
208
216
|
};
|
209
217
|
};
|
210
218
|
htmlNode: {
|
@@ -222,7 +230,7 @@ export declare const useFlowEditorStore: () => {
|
|
222
230
|
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
223
231
|
};
|
224
232
|
remove: {
|
225
|
-
nodes: (nodes2Remove: Array<import("
|
233
|
+
nodes: (nodes2Remove: Array<import("@omnia/fx/ux").FlowNodeReference>, editor: HTMLElement) => void;
|
226
234
|
};
|
227
235
|
strip: {
|
228
236
|
after: (element: HTMLElement, splitter: string) => void;
|
@@ -304,6 +312,7 @@ export declare const useFlowEditorStore: () => {
|
|
304
312
|
formatting: () => {
|
305
313
|
wrapLine: (element: HTMLElement) => void;
|
306
314
|
add: (element: HTMLElement) => void;
|
315
|
+
addWithText: (element: HTMLElement, text: any) => void;
|
307
316
|
toggle: (element: HTMLElement) => void;
|
308
317
|
remove: (dataType: string) => void;
|
309
318
|
};
|
@@ -332,7 +341,7 @@ export declare const useFlowEditorStore: () => {
|
|
332
341
|
};
|
333
342
|
selection: {
|
334
343
|
get: {
|
335
|
-
byPluginType: (pluginType: string) => import("
|
344
|
+
byPluginType: (pluginType: string) => import("@omnia/fx/ux").FlowNodeReference[];
|
336
345
|
};
|
337
346
|
ensure: {
|
338
347
|
storedRange: () => void;
|
@@ -347,6 +356,7 @@ export declare const useFlowEditorStore: () => {
|
|
347
356
|
};
|
348
357
|
formatting: {
|
349
358
|
add: (element: HTMLElement) => void;
|
359
|
+
addWithTxt: (element: HTMLElement, text?: string) => void;
|
350
360
|
wrapLine: (element: HTMLElement) => void;
|
351
361
|
remove: (dataType: string | HTMLElement) => void;
|
352
362
|
has: (dataType: string | HTMLElement) => boolean;
|
@@ -381,7 +391,7 @@ export declare const useFlowEditorStore: () => {
|
|
381
391
|
};
|
382
392
|
editorNode: {
|
383
393
|
get: {
|
384
|
-
nodesInArrayByPluginType: (nodes: Array<import("
|
394
|
+
nodesInArrayByPluginType: (nodes: Array<import("@omnia/fx/ux").FlowNodeReference>, dataType: string) => Array<import("@omnia/fx/ux").FlowNodeReference>;
|
385
395
|
};
|
386
396
|
};
|
387
397
|
htmlNode: {
|
@@ -399,7 +409,7 @@ export declare const useFlowEditorStore: () => {
|
|
399
409
|
htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
|
400
410
|
};
|
401
411
|
remove: {
|
402
|
-
nodes: (nodes2Remove: Array<import("
|
412
|
+
nodes: (nodes2Remove: Array<import("@omnia/fx/ux").FlowNodeReference>, editor: HTMLElement) => void;
|
403
413
|
};
|
404
414
|
strip: {
|
405
415
|
after: (element: HTMLElement, splitter: string) => void;
|
@@ -425,7 +435,7 @@ export declare const useFlowEditorStore: () => {
|
|
425
435
|
type: (pluginType: string) => boolean;
|
426
436
|
};
|
427
437
|
get: {
|
428
|
-
byType: (pluginType: string) => import("
|
438
|
+
byType: (pluginType: string) => import("@omnia/fx/ux").FlowNodeReference[];
|
429
439
|
all: () => NodeSelection;
|
430
440
|
};
|
431
441
|
};
|