@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
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { FlowEditorActionRegistration, guid } from "@omnia/fx-models";
|
2
2
|
import { type Editor } from "internal/fx/libs/toastui";
|
3
3
|
export declare const useMarkdownEditorStore: () => {
|
4
4
|
state: {
|
5
5
|
toolbar: {
|
6
6
|
show: boolean;
|
7
|
-
textActions:
|
8
|
-
additionalActions:
|
7
|
+
textActions: FlowEditorActionRegistration[];
|
8
|
+
additionalActions: FlowEditorActionRegistration[];
|
9
9
|
};
|
10
10
|
toolbarOwnerId: guid;
|
11
11
|
activeEditor: Editor;
|
@@ -13,8 +13,8 @@ export declare const useMarkdownEditorStore: () => {
|
|
13
13
|
events: {
|
14
14
|
onMutatedToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
15
15
|
show: boolean;
|
16
|
-
textActions:
|
17
|
-
additionalActions:
|
16
|
+
textActions: FlowEditorActionRegistration[];
|
17
|
+
additionalActions: FlowEditorActionRegistration[];
|
18
18
|
}>;
|
19
19
|
onMutatedToolbarOwnerId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
|
20
20
|
onMutatedActiveEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<Editor>;
|
@@ -39,7 +39,7 @@ export declare const useMarkdownEditorStore: () => {
|
|
39
39
|
};
|
40
40
|
toolbar: {
|
41
41
|
subscribe(fn: (result: {
|
42
|
-
addAdditionalAction: (action:
|
42
|
+
addAdditionalAction: (action: FlowEditorActionRegistration) => void;
|
43
43
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
44
44
|
};
|
45
45
|
editor: {
|
@@ -65,7 +65,7 @@ export declare const useMarkdownEditorStore: () => {
|
|
65
65
|
exec: (command: string, payload: any) => void;
|
66
66
|
};
|
67
67
|
toolbar: () => {
|
68
|
-
addAdditionalAction: (action:
|
68
|
+
addAdditionalAction: (action: FlowEditorActionRegistration) => void;
|
69
69
|
};
|
70
70
|
editor: () => {
|
71
71
|
onEnter: (editor: Editor, editorId: guid) => void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, MaybeComputedRef, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
declare const emptyRules: any[];
|
4
|
-
type CheckboxProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", MaybeComputedRef<boolean> | Array<string>, false, null, true, "The v-model of the component"> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"label", string, null, "Sets the label of the component."> & DefineProp<"value", any, null, "The value used when the component is selected in a group. If not provided, a unique ID will be used."> & DefineProp<"disabled", boolean, false, null, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused.Force this always open with the persistent-hint property."> & DefineProp<"persistentHint", boolean, false, null, "Always show hint text."> & DefineSlot<"label", () => VNodeChild, "Slot used to customize the label.">;
|
4
|
+
type CheckboxProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", MaybeComputedRef<boolean> | Array<string>, false, null, true, "The v-model of the component"> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"value", any, false, null, "The value used when the component is selected in a group. If not provided, a unique ID will be used."> & DefineProp<"disabled", boolean, false, null, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused.Force this always open with the persistent-hint property."> & DefineProp<"persistentHint", boolean, false, null, "Always show hint text."> & DefineSlot<"label", () => VNodeChild, "Slot used to customize the label.">;
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<CheckboxProps>) => any;
|
6
6
|
export default _default;
|
package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts
CHANGED
@@ -30,7 +30,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
30
30
|
item: import("typestyle/lib/types").NestedCSSProperties;
|
31
31
|
inline: import("typestyle/lib/types").NestedCSSProperties;
|
32
32
|
};
|
33
|
-
} & DefineSlot<"
|
33
|
+
} & DefineSlot<"left", (resolvedIdentity: IResolvedIdentity) => VNodeChild> & DefineSlot<"right", (resolvedIdentity: IResolvedIdentity) => VNodeChild> & DefineSlot<"renderer", (renderProps: {
|
34
34
|
identities: Array<IResolvedIdentity>;
|
35
35
|
}) => VNodeChild>>) => any;
|
36
36
|
export default _default;
|
@@ -1,11 +1,14 @@
|
|
1
1
|
import { TagsPropertyDefinition, IPropertyDisplayRenderer, PropertyValueType, Tag, IIcon, TagsDisplaySettings } from "@omnia/fx-models";
|
2
2
|
import { DefineProp, DefineSlot, DefineVModel, TagsFieldDisplayStyles } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
3
4
|
export type TagsDisplayProps = IPropertyDisplayRenderer<TagsPropertyDefinition> & ComponentProps;
|
4
5
|
type ComponentProps = DefineVModel<"", PropertyValueType<TagsPropertyDefinition>> & DefineProp<"displaySettings", TagsDisplaySettings> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"clickableIcon", IIcon> & DefineProp<"appendedTagContents", {
|
5
6
|
[tagName: string]: {
|
6
7
|
icon: IIcon;
|
7
8
|
title: string;
|
8
9
|
};
|
9
|
-
}[]> & DefineProp<"hideSelected", boolean> & DefineProp<"styles", typeof TagsFieldDisplayStyles> & DefineProp<"contentColor", string> & DefineProp<"onTagClicked", (tag: Tag) => void> & DefineProp<"persistentLabels", boolean, false, false> & DefineSlot<"appendedElement", () => JSX.Element
|
10
|
+
}[]> & DefineProp<"hideSelected", boolean> & DefineProp<"styles", typeof TagsFieldDisplayStyles> & DefineProp<"contentColor", string> & DefineProp<"onTagClicked", (tag: Tag) => void> & DefineProp<"persistentLabels", boolean, false, false> & DefineSlot<"appendedElement", () => JSX.Element> & DefineSlot<"renderer", (renderProps: {
|
11
|
+
tags: Array<Tag>;
|
12
|
+
}) => VNodeChild>;
|
10
13
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<TagsDisplayProps>) => any;
|
11
14
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration,
|
1
|
+
import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, FlowEditorPluginSettings } from "@omnia/fx-models";
|
2
2
|
type InsertMode = "add" | "change";
|
3
3
|
export interface InsertOptions {
|
4
4
|
preInsert?: boolean;
|
@@ -108,7 +108,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
108
108
|
};
|
109
109
|
plugins: {
|
110
110
|
subscribe(fn: (result: {
|
111
|
-
register: (pluginSettings:
|
111
|
+
register: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => void;
|
112
112
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
113
|
};
|
114
114
|
selectorActions: {
|
@@ -199,7 +199,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
199
199
|
} & {
|
200
200
|
setMarkdownEditorStore(store: any): void;
|
201
201
|
plugins: () => {
|
202
|
-
register: (pluginSettings:
|
202
|
+
register: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => void;
|
203
203
|
};
|
204
204
|
selectorActions: () => {
|
205
205
|
hideDefaultSelector: () => void;
|
@@ -4,6 +4,7 @@ import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, Velcron
|
|
4
4
|
import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
|
5
5
|
import { guid, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/fx/models";
|
6
6
|
import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
|
7
|
+
import { IDataSourcePropertySelection } from "internal/fx/ux/properties/models/PropertyPicker";
|
7
8
|
export interface ResolvedComponentRenderer {
|
8
9
|
component: unknown;
|
9
10
|
definition: VelcronDefinition;
|
@@ -223,7 +224,6 @@ export declare enum VelcronImageRatios {
|
|
223
224
|
}
|
224
225
|
export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
|
225
226
|
type: "image";
|
226
|
-
url?: VelcronBindableProp<string>;
|
227
227
|
value?: VelcronBindableProp<string>;
|
228
228
|
ratio?: VelcronImageRatios | string;
|
229
229
|
width?: number | string;
|
@@ -371,6 +371,10 @@ export interface VelcronPropertyDefinitionValue {
|
|
371
371
|
value: PropertyValue;
|
372
372
|
configuration: PropertyConfiguration<PropertyDefinition<any, any, any, PropertySetupBase>>;
|
373
373
|
}
|
374
|
+
export interface VelcronPropertyDefinitionValueResolver {
|
375
|
+
name: string;
|
376
|
+
source: IDataSourcePropertySelection;
|
377
|
+
}
|
374
378
|
export type VelcronRenderProps<TDefinition> = {
|
375
379
|
definition: TDefinition;
|
376
380
|
renderContext: VelcronRenderContext;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BuiltInPropertyEditorType, TypographyType, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { BuiltInPropertyEditorType, guid, TypographyType, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export interface ResolvedPropertyEditor {
|
3
3
|
editor: VelcronEditor;
|
4
4
|
}
|
@@ -36,6 +36,12 @@ export interface VelcronNumberEditorSettings {
|
|
36
36
|
max: number;
|
37
37
|
step: number;
|
38
38
|
}
|
39
|
+
export interface VelcronPropertyResolverEditorSettings {
|
40
|
+
properties: Array<{
|
41
|
+
name: string;
|
42
|
+
definitionId: guid;
|
43
|
+
}>;
|
44
|
+
}
|
39
45
|
export interface VelcronBlueprintEditorSettings {
|
40
46
|
type: "container" | "icon";
|
41
47
|
}
|
@@ -96,3 +102,6 @@ export interface VelcronGridEditor extends VelcronEditor<any> {
|
|
96
102
|
export interface VelcronSelectEditor extends VelcronEditor<VelcronSelectEditorSettings> {
|
97
103
|
type: "select";
|
98
104
|
}
|
105
|
+
export interface VelcronPropertyResolverEditor extends VelcronEditor<VelcronPropertyResolverEditorSettings> {
|
106
|
+
type: "property-resolver";
|
107
|
+
}
|
package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts
CHANGED
@@ -15,6 +15,7 @@ export declare class VelcronEditorBuilder {
|
|
15
15
|
sliderEditor: (name: string, stateMapping: string, settings: VelcronSliderPropertyEditorSettings) => VelcronEditorBuilder;
|
16
16
|
gridEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
17
17
|
widthEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
18
|
+
propertyResolverEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
18
19
|
};
|
19
20
|
build(): VelcronEditor<any>[];
|
20
21
|
}
|
package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts
CHANGED
@@ -20,6 +20,7 @@ export declare const VelcronBlueprintEditorDescriptor: VelcronEditorDescriptor;
|
|
20
20
|
export declare const VelcronBackgroundEditorDescriptor: VelcronEditorDescriptor;
|
21
21
|
export declare const VelcronGridEditorDescriptor: VelcronEditorDescriptor;
|
22
22
|
export declare const VelcronSelectEditorDescriptor: VelcronEditorDescriptor;
|
23
|
+
export declare const VelcronPropertyResolverEditorDescriptor: VelcronEditorDescriptor;
|
23
24
|
type BuiltInPropertyEditorDescriptorMap = {
|
24
25
|
[key in BuiltInPropertyEditorType]: typeof VelcronTextEditorDescriptor | typeof VelcronNumberEditorDescriptor | typeof VelcronSliderEditorDescriptor | typeof VelcronSwitchEditorDescriptor | typeof VelcronAlignmentEditorDescriptor | typeof VelcronColorEditorDescriptor | typeof VelcronMarkdownEditorDescriptor | typeof VelcronIconEditorDescriptor | typeof VelcronImageEditorDescriptor | typeof VelcronTypographyEditorDescriptor | typeof VelcronSpacingEditorDescriptor | typeof VelcronColorSchemaEditorDescriptor | typeof VelcronReferenceEditorDescriptor | typeof VelcronBackgroundEditorDescriptor | typeof VelcronBlueprintEditorDescriptor | typeof VelcronGridEditorDescriptor;
|
25
26
|
};
|
@@ -4,4 +4,5 @@ export declare const VelcronEditorTemplates: {
|
|
4
4
|
SpacingEditor: VelcronComponentTemplateDescriptor;
|
5
5
|
ContainerBlueprintEditor: VelcronComponentTemplateDescriptor;
|
6
6
|
BackgroundMediaEditor: VelcronComponentTemplateDescriptor;
|
7
|
+
PropertyResolverEditor: VelcronComponentTemplateDescriptor;
|
7
8
|
};
|
@@ -2,10 +2,10 @@ import { VelcronPropertyDefinition } from "../../core";
|
|
2
2
|
declare const _default: {
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
4
|
definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
|
5
|
-
renderContext: import("vue").Prop<import("
|
5
|
+
renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
|
6
6
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
7
7
|
definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
|
8
|
-
renderContext: import("vue").Prop<import("
|
8
|
+
renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
|
9
9
|
}>>, {}, true, {}, {}, {
|
10
10
|
P: {};
|
11
11
|
B: {};
|
@@ -15,18 +15,18 @@ declare const _default: {
|
|
15
15
|
Defaults: {};
|
16
16
|
}, Readonly<import("vue").ExtractPropTypes<{
|
17
17
|
definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
|
18
|
-
renderContext: import("vue").Prop<import("
|
18
|
+
renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
|
19
19
|
}>>, {}, {}, {}, {}, {}>;
|
20
20
|
__isFragment?: never;
|
21
21
|
__isTeleport?: never;
|
22
22
|
__isSuspense?: never;
|
23
23
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
24
24
|
definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
|
25
|
-
renderContext: import("vue").Prop<import("
|
25
|
+
renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
|
26
26
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
27
27
|
propsDefinition: Omit<Readonly<{} & {
|
28
28
|
definition?: VelcronPropertyDefinition;
|
29
|
-
renderContext?: import("
|
29
|
+
renderContext?: import("@omnia/fx-models").VelcronRenderContext;
|
30
30
|
}>, never>;
|
31
31
|
};
|
32
32
|
export default _default;
|
package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
import { VelcronPropertyDefinitionValueResolver, VelcronPropertyResolverEditorSettings } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
|
+
settings?: VelcronPropertyResolverEditorSettings;
|
4
|
+
} & {
|
5
|
+
"emit:update:modelValue": (value: VelcronPropertyDefinitionValueResolver[]) => void;
|
6
|
+
} & {
|
7
|
+
"v-model"?: VelcronPropertyDefinitionValueResolver[];
|
8
|
+
} & {
|
9
|
+
"onUpdate:modelValue"?: (value: VelcronPropertyDefinitionValueResolver[]) => void;
|
10
|
+
} & {
|
11
|
+
modelValue?: VelcronPropertyDefinitionValueResolver[];
|
12
|
+
}>) => any;
|
13
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts
CHANGED
@@ -24,5 +24,5 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
24
24
|
"onUpdate:modelValue"?: (value: boolean) => void;
|
25
25
|
} & {
|
26
26
|
modelValue?: boolean;
|
27
|
-
} & DefineSlot<"navigation", () => JSX.Element> & DefineSlot<"bottomNavigationDrawer", () => JSX.Element> & DefineSlot<"prependNavigation", () => JSX.Element>>) => any;
|
27
|
+
} & DefineSlot<"navigation", () => JSX.Element> & DefineSlot<"bottomNavigationDrawer", () => JSX.Element> & DefineSlot<"prependNavigation", () => JSX.Element> & DefineSlot<"rightPanel", () => JSX.Element>>) => any;
|
28
28
|
export default _default;
|
@@ -39,6 +39,7 @@ import wc7813f37afbf34cb085a2ef74e71e20fa from './ux/filterengine/components/ren
|
|
39
39
|
import wc373cd0c180af441ca9f973b1da4de7f9 from './ux/filterengine/components/renderer/PropertyListRenderer';
|
40
40
|
import wc0b99953ef72848a7936f51500d69d771 from './ux/filterengine/components/renderer/date/DateTimePeriodSlider';
|
41
41
|
import wc46a6c15c2a0e446fbef9770274409366 from './ux/filterpicker/FilterPicker';
|
42
|
+
import wcfaee0b6397494a9abca9c480856e2498 from './ux/floweditor/FlowEditor';
|
42
43
|
import wca673e0befd6649dda5e680ae1cd3535d from './ux/governancedashboard/NumericIndicator';
|
43
44
|
import wca377536b4fd84773a9730966623601cd from './ux/governancedashboard/BarChartIndicator';
|
44
45
|
import wc08b9c70d2a77433f8492dc0fb50d900e from './ux/grecaptcha/GRecaptcha';
|
@@ -66,7 +67,6 @@ import wcd836de74ad894f4999e21046b1ba2cab from './ux/magiclink/MagicLinkFailure'
|
|
66
67
|
import wc744b3f31e00c4815b63ecaf638ad7a7a from './ux/markdown/MarkdownEditor';
|
67
68
|
import wcc8b990d01ddc45ab930b4409fc406435 from './ux/markdown/MarkdownRenderer';
|
68
69
|
import wccbd18219fce4454d92afd1867f0ef43b from './ux/markdown/MarkdownToolbar';
|
69
|
-
import wcfaee0b6397494a9abca9c480856e2498 from './ux/markdown2/MarkdownEditorFuture';
|
70
70
|
import wce9bb3179713943d787e139cedf749838 from './ux/mediapickerimage/MediaPickerImage';
|
71
71
|
import wc4b2648ed8b124e62a09b21b099b43399 from './ux/mediapickervideo/MediaPickerVideo';
|
72
72
|
import wc2e8004b49c8d44dd8edb56ce884c2b57 from './ux/monaco/MonacoEditor';
|
@@ -217,7 +217,6 @@ import wc4aed54beb02341e3a6cbde5af5fb6c78 from './ux/layoutcanvas/layoutactionha
|
|
217
217
|
import wc02c473f7041b40038ceecdf09e6ba4ca from './ux/layoutcanvas/layoutactionhandler/LayoutActionSettings';
|
218
218
|
import wc0b2ee63495854227a082987161a9e641 from './ux/layoutcanvas/renderer/LayoutBlockRendererHelper';
|
219
219
|
import wcf346db89a53b404690b1795429fb0162 from './ux/layoutcanvas/renderer/LayoutRendererCanvas';
|
220
|
-
import wcdc73e71c4fdf47bbb5f48c6d998b4229 from './ux/markdown2/markdowntester/MarkdownTester';
|
221
220
|
import wc96c7e84dfb66450796fe123aea7999c5 from './ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer';
|
222
221
|
import wcc15cd6402e584ab18c73ed2b5e3eded9 from './ux/mediagallery/view/MediaDisplayRenderer';
|
223
222
|
import wc29f45ded4fb4479fab6fd6fd79505642 from './ux/mediapickerV2/chrome/MediaPicker';
|
@@ -484,6 +483,7 @@ import wcfeb168ca8f484e06ab3f88d48c078319 from './ux/admin/system/submenu/servic
|
|
484
483
|
import wc3a923c54b15d461597cd678c0d561496 from './ux/admin/system/submenu/systemlogs/SystemLogsJourney';
|
485
484
|
import wc9fbf91affc974ca698437e8ada43bb0c from './ux/admin/system/submenu/tenantcontact/TenantContactJourney';
|
486
485
|
import wcd90e0352809742c482bdda733dc8872a from './ux/aurora/admin/blades/colorschemas/ColorSchemasJourney';
|
486
|
+
import wc8142fa90f0d34258bb080a15aa21ab74 from './ux/aurora/admin/blades/fontsmanager/FontManager';
|
487
487
|
import wc682077b575c74b2086cbf438346e0ed3 from './ux/aurora/admin/blades/templates/TemplatesJourney';
|
488
488
|
import wc5e7631b4411b498eafa68ebde2136cc5 from './ux/aurora/admin/blades/themedesigner/ThemeDesigner';
|
489
489
|
import wc136c9c57149747f198180bdf38a6b297 from './ux/aurora/admin/blades/themedesigner/PreviewJourney';
|
@@ -519,6 +519,7 @@ import wc891de93e73cc47b0a552d24fdf34c9cf from './ux/aurora/admin/blades/bluepri
|
|
519
519
|
import wcfc2401c7c3384790ae7ce17d05b0855f from './ux/aurora/admin/blades/blueprints/typography/TypographyJourney';
|
520
520
|
import wca1b28c17c13e4250a8ba59a01efece0e from './ux/admin/system/submenu/systemlogs/providers/AppInstance/AppInstanceLog';
|
521
521
|
import wc606afcf1b9b04b5e8920b7675b4ecc4b from './ux/admin/system/submenu/systemlogs/providers/Feature/FeatureInstanceLog';
|
522
|
+
import wc3734b9786d374f388cc5b5181f5cd4f3 from './ux/aurora/admin/blades/blueprints/typography/components/FontPicker';
|
522
523
|
import wcb358eb4c58fb49119c7c2fca8b2fe186 from './ux/app/apps/admin/appsettings/admin/blades/editapp/EditBlade';
|
523
524
|
import wcb0e4ded914dd47ed99226f884b927f9a from './ux/app/apps/admin/appsettings/admin/blades/switchingtemplate/journey/SwitchingTemplateSettings';
|
524
525
|
declare global {
|
@@ -712,6 +713,15 @@ declare global {
|
|
712
713
|
} : typeof wcd90e0352809742c482bdda733dc8872a;
|
713
714
|
};
|
714
715
|
};
|
716
|
+
"fontmanager": {
|
717
|
+
"journey": typeof wc8142fa90f0d34258bb080a15aa21ab74 extends {
|
718
|
+
propsDefinition: infer TProp;
|
719
|
+
} ? {
|
720
|
+
new (...args: any[]): {
|
721
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
722
|
+
};
|
723
|
+
} : typeof wc8142fa90f0d34258bb080a15aa21ab74;
|
724
|
+
};
|
715
725
|
"templates": {
|
716
726
|
"journey": typeof wc682077b575c74b2086cbf438346e0ed3 extends {
|
717
727
|
propsDefinition: infer TProp;
|
@@ -1298,6 +1308,15 @@ declare global {
|
|
1298
1308
|
};
|
1299
1309
|
} : typeof wc46a6c15c2a0e446fbef9770274409366;
|
1300
1310
|
};
|
1311
|
+
"flow": {
|
1312
|
+
"editor": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
|
1313
|
+
propsDefinition: infer TProp;
|
1314
|
+
} ? {
|
1315
|
+
new (...args: any[]): {
|
1316
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1317
|
+
};
|
1318
|
+
} : typeof wcfaee0b6397494a9abca9c480856e2498;
|
1319
|
+
};
|
1301
1320
|
"numeric": {
|
1302
1321
|
"indicator": typeof wca673e0befd6649dda5e680ae1cd3535d extends {
|
1303
1322
|
propsDefinition: infer TProp;
|
@@ -1567,13 +1586,6 @@ declare global {
|
|
1567
1586
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1568
1587
|
};
|
1569
1588
|
} : typeof wccbd18219fce4454d92afd1867f0ef43b;
|
1570
|
-
"future": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
|
1571
|
-
propsDefinition: infer TProp;
|
1572
|
-
} ? {
|
1573
|
-
new (...args: any[]): {
|
1574
|
-
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1575
|
-
};
|
1576
|
-
} : typeof wcfaee0b6397494a9abca9c480856e2498;
|
1577
1589
|
};
|
1578
1590
|
"renderer": typeof wcc8b990d01ddc45ab930b4409fc406435 extends {
|
1579
1591
|
propsDefinition: infer TProp;
|
@@ -1589,13 +1601,6 @@ declare global {
|
|
1589
1601
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1590
1602
|
};
|
1591
1603
|
} : typeof wc744b3f31e00c4815b63ecaf638ad7a7a;
|
1592
|
-
"tester": typeof wcdc73e71c4fdf47bbb5f48c6d998b4229 extends {
|
1593
|
-
propsDefinition: infer TProp;
|
1594
|
-
} ? {
|
1595
|
-
new (...args: any[]): {
|
1596
|
-
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1597
|
-
};
|
1598
|
-
} : typeof wcdc73e71c4fdf47bbb5f48c6d998b4229;
|
1599
1604
|
};
|
1600
1605
|
"media": {
|
1601
1606
|
"picker": {
|
@@ -3996,6 +4001,15 @@ declare global {
|
|
3996
4001
|
};
|
3997
4002
|
} : typeof wc1476702e8f24468d9185322be5931c54;
|
3998
4003
|
};
|
4004
|
+
"font": {
|
4005
|
+
"picker": typeof wc3734b9786d374f388cc5b5181f5cd4f3 extends {
|
4006
|
+
propsDefinition: infer TProp;
|
4007
|
+
} ? {
|
4008
|
+
new (...args: any[]): {
|
4009
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
4010
|
+
};
|
4011
|
+
} : typeof wc3734b9786d374f388cc5b5181f5cd4f3;
|
4012
|
+
};
|
3999
4013
|
};
|
4000
4014
|
let oa: {
|
4001
4015
|
"recaptcha": {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.265-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.265-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { EditorContent, EditorNode, NodeIdSelection } from "../models/EditorModels";
|
2
|
-
export type builtIndataTypes = "text" | "formatting";
|
3
|
-
export declare function useEditorCommands(state: {
|
4
|
-
editor: HTMLDivElement;
|
5
|
-
selectedRange: Range;
|
6
|
-
maxNodeId: number;
|
7
|
-
editorContent: EditorContent;
|
8
|
-
selectedNodes: Array<EditorNode>;
|
9
|
-
selectedNodeIds: NodeIdSelection;
|
10
|
-
}): {
|
11
|
-
selection: {
|
12
|
-
get: {
|
13
|
-
byDataType: (dataType: string) => EditorNode;
|
14
|
-
byId: (id: number) => EditorNode;
|
15
|
-
};
|
16
|
-
};
|
17
|
-
actions: {
|
18
|
-
setSelection: () => void;
|
19
|
-
};
|
20
|
-
evenhandlers: {
|
21
|
-
backspace: () => void;
|
22
|
-
enter: () => void;
|
23
|
-
};
|
24
|
-
formatting: {
|
25
|
-
add: (element: HTMLElement, toggleIfExists?: boolean) => void;
|
26
|
-
remove: (element: HTMLElement) => void;
|
27
|
-
};
|
28
|
-
element: {
|
29
|
-
add: (element: HTMLElement) => void;
|
30
|
-
create: (tagName: string, dataType: builtIndataTypes | string) => HTMLElement;
|
31
|
-
createText: () => HTMLParagraphElement;
|
32
|
-
createTextNode: (data: any) => Text;
|
33
|
-
createComponent: (componentName: string) => HTMLDivElement;
|
34
|
-
};
|
35
|
-
helpers: {
|
36
|
-
editor: {
|
37
|
-
storeCursorPosition: (state: {
|
38
|
-
selectedRange: Range;
|
39
|
-
}) => void;
|
40
|
-
ensureSelectionIsInEditor: (range: Range) => void;
|
41
|
-
};
|
42
|
-
editorNode: {
|
43
|
-
getEditorNodeBySelectors: (nodes: Array<EditorNode>, selectors: {
|
44
|
-
name?: string;
|
45
|
-
id?: string;
|
46
|
-
dataType?: string;
|
47
|
-
}) => EditorNode;
|
48
|
-
getEditorNodesInArrayByElement: (element: HTMLElement, nodes: Array<EditorNode>, deep: boolean) => Array<EditorNode>;
|
49
|
-
getSelectedEditorNodes: (nodeSelectionIds: NodeIdSelection, content: EditorContent) => Array<EditorNode>;
|
50
|
-
removeIds: (nodes: Array<EditorNode>) => void;
|
51
|
-
};
|
52
|
-
htmlNode: {
|
53
|
-
getNodeIdsForRange: (range: Range) => NodeIdSelection;
|
54
|
-
removeNodes: (nodes2Remove: Array<EditorNode>, editor: HTMLElement) => void;
|
55
|
-
getHtmlElementById: (id: number, element: HTMLElement) => HTMLElement;
|
56
|
-
surroundSelectionWithElement: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
57
|
-
surroundContents: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
58
|
-
};
|
59
|
-
};
|
60
|
-
};
|
package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { EditorContent, EditorNode, NodeIdSelection } from "../../models/EditorModels";
|
2
|
-
export type builtIndataTypes = "text" | "formatting";
|
3
|
-
export declare function useEditorNodeHelper(): {
|
4
|
-
getEditorNodeBySelectors: (nodes: Array<EditorNode>, selectors: {
|
5
|
-
name?: string;
|
6
|
-
id?: string;
|
7
|
-
dataType?: string;
|
8
|
-
}) => EditorNode;
|
9
|
-
getEditorNodesInArrayByElement: (element: HTMLElement, nodes: Array<EditorNode>, deep: boolean) => Array<EditorNode>;
|
10
|
-
getSelectedEditorNodes: (nodeSelectionIds: NodeIdSelection, content: EditorContent) => Array<EditorNode>;
|
11
|
-
removeIds: (nodes: Array<EditorNode>) => void;
|
12
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { EditorNode, NodeIdSelection } from "../../models/EditorModels";
|
2
|
-
export type builtIndataTypes = "text" | "formatting";
|
3
|
-
export declare function useHtmlNodeHelper(): {
|
4
|
-
getNodeIdsForRange: (range: Range) => NodeIdSelection;
|
5
|
-
removeNodes: (nodes2Remove: Array<EditorNode>, editor: HTMLElement) => void;
|
6
|
-
getHtmlElementById: (id: number, element: HTMLElement) => HTMLElement;
|
7
|
-
surroundSelectionWithElement: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
8
|
-
surroundContents: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
9
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
3
|
-
P: {};
|
4
|
-
B: {};
|
5
|
-
D: {};
|
6
|
-
C: {};
|
7
|
-
M: {};
|
8
|
-
Defaults: {};
|
9
|
-
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
|
10
|
-
__isFragment?: never;
|
11
|
-
__isTeleport?: never;
|
12
|
-
__isSuspense?: never;
|
13
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
14
|
-
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
15
|
-
};
|
16
|
-
export default _default;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export interface EditorContent {
|
2
|
-
version: string;
|
3
|
-
nodes: EditorNode[];
|
4
|
-
}
|
5
|
-
export interface EditorNode {
|
6
|
-
type: string;
|
7
|
-
id: number;
|
8
|
-
children?: EditorNode[];
|
9
|
-
}
|
10
|
-
export interface TextEditorNode extends EditorNode {
|
11
|
-
text: string;
|
12
|
-
}
|
13
|
-
export interface NodeIdSelection {
|
14
|
-
commonAncestorContainerId: number;
|
15
|
-
containerIds: number[];
|
16
|
-
nodesInSelectionIds: number[];
|
17
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
|
2
|
-
import { useMarkdownStore } from "../stores/MarkdownStore";
|
3
|
-
import { EditorNode } from "./EditorModels";
|
4
|
-
export interface EditorPlugin {
|
5
|
-
name: string;
|
6
|
-
commands?: object;
|
7
|
-
actions?: Array<MarkdownEditorActionRegistration>;
|
8
|
-
}
|
9
|
-
export interface EditorFormattingPlugin extends EditorPlugin {
|
10
|
-
toJSON: (el: HTMLElement) => EditorNode;
|
11
|
-
toHtml: (node: EditorNode, ctx: EditorPluginContext) => HTMLElement;
|
12
|
-
}
|
13
|
-
export interface EditorPluginContext {
|
14
|
-
componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
|
15
|
-
store: ReturnType<typeof useMarkdownStore>;
|
16
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { EditorContent } from "../models/EditorModels";
|
2
|
-
import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
|
3
|
-
export declare function useJSONParser(state: {
|
4
|
-
editor: HTMLDivElement;
|
5
|
-
plugins: Array<EditorPlugin>;
|
6
|
-
}, pluginContext: EditorPluginContext): {
|
7
|
-
loadJSONToEditor: (editorContent: EditorContent) => any;
|
8
|
-
};
|
package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts
DELETED
File without changes
|
File without changes
|
package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts
DELETED
File without changes
|
File without changes
|
package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts
DELETED
File without changes
|
File without changes
|
File without changes
|
/package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|