@omnia/fx 8.0.263-dev → 8.0.265-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.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +11 -11
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
- package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.css.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +12 -8
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontRegistration.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +41 -16
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/FontManager.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/blade/FontDefinitionBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +75 -0
- package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +77 -0
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +114 -10
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +117 -11
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +2 -13
- package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
- package/internal-do-not-import-from-here/ux/floweditor/FlowEditorToolbar.css.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +53 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +30 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownStore.d.ts → floweditor/stores/FlowEditorStore.d.ts} +41 -32
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownToolbarStore.d.ts → floweditor/stores/FlowEditorToolbarStore.d.ts} +214 -147
- package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
- 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/Property.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +30 -16
- package/package.json +2 -2
- package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.css.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +0 -60
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.css.d.ts → floweditor/FlowEditor.css.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/ClipboardCommands.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/Editorhelper.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
import { FlowEditorPlugin } from "../models/EditorPlugin";
|
2
|
+
import { FlowContent } from "../models/EditorModels";
|
3
|
+
export declare function useHtmlParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
plugins: Array<FlowEditorPlugin>;
|
6
|
+
}): {
|
7
|
+
toJSON: () => FlowContent;
|
8
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { FlowContent } from "../models/EditorModels";
|
2
|
+
import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
|
3
|
+
export declare function useJSONParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
plugins: Array<FlowEditorPlugin>;
|
6
|
+
}, pluginContext: FlowEditorPluginContext): {
|
7
|
+
loadJSONToEditor: (editorContent: FlowContent) => any;
|
8
|
+
};
|
package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { SetupFactoryContext } from "@omnia/fx";
|
2
|
-
import {
|
2
|
+
import { FlowEditorContentPlugin, FlowEditorPlugin } from "../models/EditorPlugin";
|
3
3
|
interface SetupEditorPluginContext extends SetupFactoryContext {
|
4
4
|
}
|
5
|
-
export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) =>
|
5
|
+
export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) => FlowEditorPlugin | FlowEditorContentPlugin): () => FlowEditorPlugin & {
|
6
6
|
dispose?: () => void;
|
7
7
|
};
|
8
8
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ColorValue } from "@omnia/fx-models";
|
2
|
-
import {
|
3
|
-
export interface
|
2
|
+
import { FlowNode } from "../../models/EditorModels";
|
3
|
+
export interface ColorFormatNode extends FlowNode {
|
4
4
|
data: ColorValue;
|
5
5
|
}
|
6
6
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TypographyValue } from "@omnia/fx-models";
|
2
|
-
import {
|
3
|
-
export interface
|
2
|
+
import { FlowNode } from "../../models/EditorModels";
|
3
|
+
export interface TypographyFormatNode extends FlowNode {
|
4
4
|
data: TypographyValue;
|
5
5
|
}
|
6
6
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { VelcronAppDefinition } from "@omnia/fx-models";
|
2
|
-
import {
|
3
|
-
export interface
|
2
|
+
import { FlowNode } from "../../models/EditorModels";
|
3
|
+
export interface VelcronContentNode extends FlowNode {
|
4
4
|
definition: VelcronAppDefinition;
|
5
5
|
}
|
6
|
-
export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").
|
6
|
+
export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
|
7
7
|
dispose?: () => void;
|
8
8
|
};
|
@@ -1,34 +1,34 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
export declare const
|
1
|
+
import { FlowEditorActionRegistration, FlowEditorPluginSettings } from "@omnia/fx-models";
|
2
|
+
import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
|
3
|
+
import { FlowContent, NodeSelection } from "../models/EditorModels";
|
4
|
+
export declare const useFlowEditorStore: () => {
|
5
5
|
state: {
|
6
|
-
editorContent:
|
7
|
-
plugins:
|
6
|
+
editorContent: FlowContent;
|
7
|
+
plugins: FlowEditorPlugin[];
|
8
8
|
hideToolbar: boolean;
|
9
9
|
editMode: boolean;
|
10
10
|
maxNodeId: number;
|
11
|
-
toolbarActions:
|
11
|
+
toolbarActions: FlowEditorActionRegistration[];
|
12
12
|
editor: HTMLDivElement;
|
13
|
-
|
14
|
-
selectedNodeIds: NodeIdSelection;
|
13
|
+
nodeSelection: NodeSelection;
|
15
14
|
telePorts: JSX.Element[];
|
16
15
|
id: string;
|
17
16
|
selectedRange: Range;
|
17
|
+
showPlaceHolder: boolean;
|
18
18
|
};
|
19
19
|
events: {
|
20
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
21
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
20
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
|
21
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPlugin[]>;
|
22
22
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
23
23
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
24
24
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
25
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
25
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
26
26
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
27
|
-
|
28
|
-
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeIdSelection>;
|
27
|
+
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
|
29
28
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
30
29
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
31
30
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
31
|
+
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
32
32
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
33
33
|
actions: {
|
34
34
|
onDispatching: {
|
@@ -44,6 +44,9 @@ export declare const useMarkdownStore: () => {
|
|
44
44
|
setEditorContainer: {
|
45
45
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
46
46
|
};
|
47
|
+
focusEditor: {
|
48
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
49
|
+
};
|
47
50
|
toolbarAction: {
|
48
51
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
49
52
|
};
|
@@ -61,16 +64,16 @@ export declare const useMarkdownStore: () => {
|
|
61
64
|
plugin: {
|
62
65
|
subscribe(fn: (result: {
|
63
66
|
register: {
|
64
|
-
plugin: (pluginSettings:
|
65
|
-
plugins: (pluginSettings:
|
66
|
-
context: (ctx:
|
67
|
+
plugin: (pluginSettings: FlowEditorPluginSettings) => void;
|
68
|
+
plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
|
69
|
+
context: (ctx: FlowEditorPluginContext) => void;
|
67
70
|
};
|
68
71
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
69
72
|
};
|
70
73
|
content: {
|
71
74
|
subscribe(fn: (result: {
|
72
75
|
set: {
|
73
|
-
byJSON: (content:
|
76
|
+
byJSON: (content: FlowContent) => void;
|
74
77
|
byString: (content: string) => void;
|
75
78
|
};
|
76
79
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -81,16 +84,19 @@ export declare const useMarkdownStore: () => {
|
|
81
84
|
setEditorContainer: {
|
82
85
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
83
86
|
};
|
87
|
+
focusEditor: {
|
88
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
89
|
+
};
|
84
90
|
toolbarAction: {
|
85
91
|
subscribe(fn: (result: {
|
86
|
-
add: (action:
|
92
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
87
93
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
88
94
|
};
|
89
95
|
formatting: {
|
90
96
|
subscribe(fn: (result: {
|
91
97
|
add: (element: HTMLElement) => void;
|
92
98
|
toggle: (element: HTMLElement) => void;
|
93
|
-
remove: (
|
99
|
+
remove: (dataType: string) => void;
|
94
100
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
95
101
|
};
|
96
102
|
element: {
|
@@ -121,6 +127,9 @@ export declare const useMarkdownStore: () => {
|
|
121
127
|
setEditorContainer: {
|
122
128
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
123
129
|
};
|
130
|
+
focusEditor: {
|
131
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
132
|
+
};
|
124
133
|
toolbarAction: {
|
125
134
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
126
135
|
};
|
@@ -137,26 +146,27 @@ export declare const useMarkdownStore: () => {
|
|
137
146
|
} & {
|
138
147
|
plugin: () => {
|
139
148
|
register: {
|
140
|
-
plugin: (pluginSettings:
|
141
|
-
plugins: (pluginSettings:
|
142
|
-
context: (ctx:
|
149
|
+
plugin: (pluginSettings: FlowEditorPluginSettings) => void;
|
150
|
+
plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
|
151
|
+
context: (ctx: FlowEditorPluginContext) => void;
|
143
152
|
};
|
144
153
|
};
|
145
154
|
content: () => {
|
146
155
|
set: {
|
147
|
-
byJSON: (content:
|
156
|
+
byJSON: (content: FlowContent) => void;
|
148
157
|
byString: (content: string) => void;
|
149
158
|
};
|
150
159
|
};
|
151
160
|
setEditorMode: (editMode: boolean) => void;
|
152
161
|
setEditorContainer: (el: HTMLDivElement) => void;
|
162
|
+
focusEditor: () => void;
|
153
163
|
toolbarAction: () => {
|
154
|
-
add: (action:
|
164
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
155
165
|
};
|
156
166
|
formatting: () => {
|
157
167
|
add: (element: HTMLElement) => void;
|
158
168
|
toggle: (element: HTMLElement) => void;
|
159
|
-
remove: (
|
169
|
+
remove: (dataType: string) => void;
|
160
170
|
};
|
161
171
|
element: () => {
|
162
172
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -170,19 +180,18 @@ export declare const useMarkdownStore: () => {
|
|
170
180
|
};
|
171
181
|
};
|
172
182
|
get: {
|
173
|
-
plugins:
|
183
|
+
plugins: FlowEditorPlugin[];
|
174
184
|
content: {
|
175
|
-
|
176
|
-
|
185
|
+
isEmpty: () => boolean;
|
186
|
+
asJSON: () => FlowContent;
|
187
|
+
asString: () => string;
|
177
188
|
};
|
178
189
|
selection: {
|
179
190
|
has: {
|
180
191
|
dataType: (dataType: string) => boolean;
|
181
|
-
id: (id: number) => boolean;
|
182
192
|
};
|
183
193
|
get: {
|
184
|
-
byDataType: (dataType: string) =>
|
185
|
-
byId: (id: number) => EditorNode;
|
194
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
186
195
|
};
|
187
196
|
};
|
188
197
|
};
|