@omnia/fx 8.0.288-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/aurora/admin/DesignAppJourney.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/DesignBPJourney.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/DesignJourney.d.ts +3 -15
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/ThemesJourney.d.ts +3 -15
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/blades/SelectionThemeBlade.d.ts +14 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/models/Theme.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +15 -501
- 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 +7 -10
- package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/EditorHelper.d.ts +1 -3
- 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 +2 -2
- 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 +450 -1
- 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 +450 -1
- 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 +450 -1
- 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 -7
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +26 -19
- package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +195 -150
- package/internal-do-not-import-from-here/ux/flow/editor/stores/VelcronPluginStore.d.ts +53 -0
- package/internal-do-not-import-from-here/ux/flow/editor/stores/index.d.ts +1 -0
- 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/renderer/LayoutRendererCanvas.d.ts +13 -0
- 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/{flow/editor/models → models/flow}/EditorModels.d.ts +1 -1
- 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/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +11 -1
- 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/velcron/renderer/editors/ReferenceEditor.d.ts +6 -4
- 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 +58 -20
- 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}/EditorPlugin.d.ts +0 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
import { DynamicState, VelcronAppDefinition, VelcronDefinitionRegistrationWithoutApp } from "@omnia/fx-models";
|
2
|
+
import { FlowEditorPluginContext } from "@omnia/fx/ux";
|
3
|
+
export type VelcronHtmlDivElement = HTMLDivElement & {
|
4
|
+
velcron: VelcronAppDefinition;
|
5
|
+
velcronRegistration: VelcronDefinitionRegistrationWithoutApp;
|
6
|
+
state: DynamicState;
|
7
|
+
};
|
8
|
+
export declare const useVelcronPluginStore: () => {
|
9
|
+
state: {
|
10
|
+
activeElement: VelcronHtmlDivElement;
|
11
|
+
editorCtx: FlowEditorPluginContext;
|
12
|
+
};
|
13
|
+
events: {
|
14
|
+
onMutatedActiveElement: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronHtmlDivElement>;
|
15
|
+
onMutatedEditorCtx: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPluginContext>;
|
16
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
17
|
+
actions: {
|
18
|
+
onDispatching: {
|
19
|
+
set: {
|
20
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
21
|
+
};
|
22
|
+
delete: {
|
23
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
onDispatched: {
|
27
|
+
set: {
|
28
|
+
subscribe(fn: (result: {
|
29
|
+
active(element: VelcronHtmlDivElement, ctx: FlowEditorPluginContext): void;
|
30
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
31
|
+
};
|
32
|
+
delete: {
|
33
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
onFailure: {
|
37
|
+
set: {
|
38
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
39
|
+
};
|
40
|
+
delete: {
|
41
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
} & {
|
45
|
+
set: () => {
|
46
|
+
active(element: VelcronHtmlDivElement, ctx: FlowEditorPluginContext): void;
|
47
|
+
};
|
48
|
+
delete: () => void;
|
49
|
+
};
|
50
|
+
get: {};
|
51
|
+
} & {
|
52
|
+
dispose?: () => void;
|
53
|
+
};
|
@@ -10,6 +10,9 @@ export declare const useFlowRendererStore: () => {
|
|
10
10
|
id: string;
|
11
11
|
pluginContext: FlowRendererPluginContext;
|
12
12
|
pluginsLoadedPromise: Future<void>;
|
13
|
+
settings: {
|
14
|
+
gridWidth: number;
|
15
|
+
};
|
13
16
|
};
|
14
17
|
events: {
|
15
18
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
|
@@ -19,6 +22,9 @@ export declare const useFlowRendererStore: () => {
|
|
19
22
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
20
23
|
onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowRendererPluginContext>;
|
21
24
|
onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<Future<void>>;
|
25
|
+
onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
26
|
+
gridWidth: number;
|
27
|
+
}>;
|
22
28
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
23
29
|
actions: {
|
24
30
|
onDispatching: {
|
@@ -1,20 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export declare class BreakPointBlockSettingsComponent extends VueComponentBase {
|
4
|
-
omniaTheming: OmniaTheming;
|
5
|
-
editorStore: LayoutCanvasStore;
|
6
|
-
private omniaUxLoc;
|
7
|
-
private subscriptionHandler;
|
8
|
-
private activatedControls;
|
9
|
-
private currentBlockSettings;
|
10
|
-
private defaultBlockSettings;
|
11
|
-
mounted(): void;
|
12
|
-
beforeDestroy(): void;
|
13
|
-
onDeviceBreakPointSelectionChanged(): void;
|
14
|
-
initComponentSettings(): void;
|
15
|
-
private setActivatedControls;
|
16
|
-
private isShowHideModified;
|
17
|
-
onShowHideSectionClicked(value: boolean): void;
|
18
|
-
onRevertShowHideSection(): void;
|
19
|
-
render(): JSX.Element;
|
20
|
-
}
|
1
|
+
declare const _default: (props: import("../../../..").ConstructComponentProps<Record<string, any>>) => any;
|
2
|
+
export default _default;
|
@@ -1,28 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { VueComponentBase } from "../../../..";
|
4
|
-
export declare class BreakPointSectionSettingsComponent extends VueComponentBase {
|
5
|
-
editorStore: LayoutCanvasStore;
|
6
|
-
private omniaUxLoc;
|
7
|
-
private subscriptionHandler;
|
8
|
-
private activatedControls;
|
9
|
-
private currentSectionSettings;
|
10
|
-
private defaultSectionSettings;
|
11
|
-
private currentMargins;
|
12
|
-
mounted(): void;
|
13
|
-
beforeDestroy(): void;
|
14
|
-
onDeviceBreakPointSelectionChanged(): void;
|
15
|
-
initComponentSettings(): void;
|
16
|
-
private setActivatedControls;
|
17
|
-
private areSectionmarginModified;
|
18
|
-
private isShowHideModified;
|
19
|
-
/**
|
20
|
-
* Eventhandler for column spacing changes
|
21
|
-
* @param value
|
22
|
-
*/
|
23
|
-
onSectionMarginChanged(value: Spacing): void;
|
24
|
-
onShowHideSectionClicked(value: boolean): void;
|
25
|
-
onRevertShowHideSection(): void;
|
26
|
-
onRevertSectionMargin(): void;
|
27
|
-
render(): JSX.Element;
|
28
|
-
}
|
1
|
+
declare const _default: (props: import("../../../..").ConstructComponentProps<Record<string, any>>) => any;
|
2
|
+
export default _default;
|
@@ -1,26 +1,7 @@
|
|
1
1
|
import { LayoutItem } from "../../../../../models";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
item: LayoutItem;
|
9
|
-
private editorStore;
|
10
|
-
private subscriptionHandler;
|
11
|
-
private omniaUxLoc;
|
12
|
-
private primaryColor;
|
13
|
-
private model;
|
14
|
-
mounted(): void;
|
15
|
-
created(): void;
|
16
|
-
private activeTab;
|
17
|
-
private onSelectBreakPoint;
|
18
|
-
private initSettings;
|
19
|
-
/**
|
20
|
-
* Creates the block settings element
|
21
|
-
*/
|
22
|
-
createBlockSettingsForm(elementName: string): void;
|
23
|
-
private renderBreakPoints;
|
24
|
-
render(): JSX.Element;
|
25
|
-
}
|
26
|
-
export {};
|
2
|
+
declare const _default: (props: import("../../../..").ConstructComponentProps<{
|
3
|
+
secondarycolor?: boolean;
|
4
|
+
} & {
|
5
|
+
item?: LayoutItem;
|
6
|
+
}>) => any;
|
7
|
+
export default _default;
|
@@ -6,6 +6,9 @@ declare const _default: {
|
|
6
6
|
height: {
|
7
7
|
type: import("vue").PropType<string>;
|
8
8
|
};
|
9
|
+
noScroll: {
|
10
|
+
type: import("vue").PropType<boolean>;
|
11
|
+
};
|
9
12
|
disableScrollCompensation: {
|
10
13
|
type: import("vue").PropType<boolean>;
|
11
14
|
};
|
@@ -22,6 +25,9 @@ declare const _default: {
|
|
22
25
|
height: {
|
23
26
|
type: import("vue").PropType<string>;
|
24
27
|
};
|
28
|
+
noScroll: {
|
29
|
+
type: import("vue").PropType<boolean>;
|
30
|
+
};
|
25
31
|
disableScrollCompensation: {
|
26
32
|
type: import("vue").PropType<boolean>;
|
27
33
|
};
|
@@ -45,6 +51,9 @@ declare const _default: {
|
|
45
51
|
height: {
|
46
52
|
type: import("vue").PropType<string>;
|
47
53
|
};
|
54
|
+
noScroll: {
|
55
|
+
type: import("vue").PropType<boolean>;
|
56
|
+
};
|
48
57
|
disableScrollCompensation: {
|
49
58
|
type: import("vue").PropType<boolean>;
|
50
59
|
};
|
@@ -65,6 +74,9 @@ declare const _default: {
|
|
65
74
|
height: {
|
66
75
|
type: import("vue").PropType<string>;
|
67
76
|
};
|
77
|
+
noScroll: {
|
78
|
+
type: import("vue").PropType<boolean>;
|
79
|
+
};
|
68
80
|
disableScrollCompensation: {
|
69
81
|
type: import("vue").PropType<boolean>;
|
70
82
|
};
|
@@ -84,6 +96,7 @@ declare const _default: {
|
|
84
96
|
getApi?: (inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void;
|
85
97
|
designRender?: boolean;
|
86
98
|
disableScrollCompensation?: boolean;
|
99
|
+
noScroll?: boolean;
|
87
100
|
}>, never>;
|
88
101
|
};
|
89
102
|
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { LayoutItemSettings, DisplayBreakPoint, DisplayBreakPointSetting } from "../../../models";
|
2
2
|
export declare class BreakPointManager {
|
3
3
|
private static breakPointArray;
|
4
|
-
private static
|
4
|
+
private static omniaUxLoc;
|
5
5
|
static createSettingsForDeviceBreakPoint(settings: LayoutItemSettings, breakPoint: DisplayBreakPoint): LayoutItemSettings;
|
6
6
|
static createSettingsFromBreakPointSettings(settings: LayoutItemSettings, breakPointSettings: Array<DisplayBreakPointSetting>): LayoutItemSettings;
|
7
7
|
static breakPoints(): Array<DisplayBreakPoint>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { guid } from "@omnia/fx-models";
|
1
|
+
import { guid, LinkItem } from "@omnia/fx-models";
|
2
2
|
import { DefineEmit } from "@omnia/fx/ux";
|
3
3
|
import "./LinkPicker.css";
|
4
|
-
import {
|
4
|
+
import { LinkPickerRegistration } from "@omnia/fx/ux";
|
5
5
|
export declare const LinkPickerVariantDefinitions: readonly ["default", "dialog"];
|
6
6
|
export type LinkPickerVariant = typeof LinkPickerVariantDefinitions[number];
|
7
7
|
export declare const LinkPickerVariantTypesName = "LinkPickerVariant";
|
@@ -39,7 +39,5 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
39
39
|
};
|
40
40
|
} & {
|
41
41
|
onSaved?: (link: LinkItem) => void | Promise<void>;
|
42
|
-
} &
|
43
|
-
onConfigureProviders?: (providers: Array<LinkPickerRegistration>) => void;
|
44
|
-
} & DefineEmit<"update:modelValue", (value: boolean) => void> & DefineEmit<"update:selectedItem", (value: LinkItem) => void> & DefineEmit<"close", () => void>>) => any;
|
42
|
+
} & DefineEmit<"configureProviders", (providers: Array<LinkPickerRegistration>) => void> & DefineEmit<"update:modelValue", (value: boolean) => void> & DefineEmit<"update:selectedItem", (value: LinkItem) => void> & DefineEmit<"close", () => void>>) => any;
|
45
43
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DefineProp, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
2
|
-
import { LinkItem } from "@omnia/fx
|
2
|
+
import { LinkItem } from "@omnia/fx-models";
|
3
3
|
export type targetOpts = "_self" | "_target";
|
4
|
-
export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineProp<"target", targetOpts, false, "_self"> & DefineVModel<"", LinkItem>;
|
4
|
+
export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineProp<"target", targetOpts, false, "_self"> & DefineProp<"datavalue", string, false> & DefineVModel<"", LinkItem>;
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<InternalLinkRender>) => any;
|
6
6
|
export default _default;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
3
|
+
code: {
|
4
|
+
type: import("vue").PropType<string>;
|
5
|
+
};
|
6
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
code: {
|
8
|
+
type: import("vue").PropType<string>;
|
9
|
+
};
|
10
|
+
}>>, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
11
|
+
P: {};
|
12
|
+
B: {};
|
13
|
+
D: {};
|
14
|
+
C: {};
|
15
|
+
M: {};
|
16
|
+
Defaults: {};
|
17
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
18
|
+
code: {
|
19
|
+
type: import("vue").PropType<string>;
|
20
|
+
};
|
21
|
+
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
22
|
+
__isFragment?: never;
|
23
|
+
__isTeleport?: never;
|
24
|
+
__isSuspense?: never;
|
25
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
26
|
+
code: {
|
27
|
+
type: import("vue").PropType<string>;
|
28
|
+
};
|
29
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
30
|
+
propsDefinition: Omit<Readonly<{} & {
|
31
|
+
code?: string;
|
32
|
+
}>, never>;
|
33
|
+
};
|
34
|
+
export default _default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { LinkItem } from "@omnia/fx-models";
|
2
|
+
import { FlowNode } from "./FlowContent";
|
3
|
+
export interface LinkNode extends FlowNode, LinkNodeData {
|
4
|
+
}
|
5
|
+
export interface LinkNodeData {
|
6
|
+
data: LinkItem;
|
7
|
+
}
|
8
|
+
export declare const LinkElement: {
|
9
|
+
name: string;
|
10
|
+
attributes: {
|
11
|
+
dataValue: string;
|
12
|
+
};
|
13
|
+
};
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { MediaPickerStorageProviderContext } from "@omnia/fx-models";
|
1
|
+
import { LinkItem, MediaPickerStorageProviderContext } from "@omnia/fx-models";
|
2
2
|
import { CustomLinkPropertyData } from "./CustomLinkPropertyData";
|
3
|
-
import { LinkItem } from "./LinkItem";
|
4
3
|
export interface ILinkPickerProvider {
|
5
4
|
linkData?: LinkItem;
|
6
5
|
propertyData?: CustomLinkPropertyData;
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
import { LinkItem } from "./LinkItem";
|
1
|
+
import { LinkItem, LinkProviderId } from "@omnia/fx-models";
|
3
2
|
export interface ILinkItemHandler {
|
4
|
-
id:
|
3
|
+
id: LinkProviderId;
|
5
4
|
onClick: (e: MouseEvent, link: LinkItem) => void;
|
6
5
|
href: (link: LinkItem) => string;
|
7
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { IIcon
|
1
|
+
import { IIcon } from "@omnia/fx/ux";
|
2
2
|
import { ILinkPickerProvider } from "./ILinkPickerProvider";
|
3
|
-
import { guid } from "@omnia/fx-models";
|
3
|
+
import { guid, LinkItem } from "@omnia/fx-models";
|
4
4
|
export interface LinkPickerRegistration extends ILinkPickerProvider {
|
5
5
|
id: guid;
|
6
6
|
name: string;
|
@@ -8,16 +8,16 @@ export interface LinkPickerRegistration extends ILinkPickerProvider {
|
|
8
8
|
elementPickerToRender: string;
|
9
9
|
weight: number;
|
10
10
|
/**
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
* Provider use to handle onClick, href on <a> tag of Link item
|
12
|
+
*
|
13
|
+
*
|
14
|
+
*/
|
15
15
|
handlerProviderId?: guid;
|
16
16
|
getProviderProperties?: () => object;
|
17
17
|
/**
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
* Post process after link process is saved
|
19
|
+
* @param link
|
20
|
+
* @returns Promise result of link item
|
21
|
+
*/
|
22
22
|
onSaved?: (link: LinkItem) => Promise<LinkItem>;
|
23
23
|
}
|
@@ -25,14 +25,14 @@ export declare class DataTableRowRenderer implements IDataTableRowRenderer {
|
|
25
25
|
addIcon(icon: IIcon): void;
|
26
26
|
addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
27
27
|
}
|
28
|
-
export type PublicDataTableRowProps = DefineProp<"active", boolean, false, false> & DefineProp<"remove", boolean, false, false> & DefineProp<"icon", IIcon> & DefineSlot<"actions", () => VNodeChild>;
|
28
|
+
export type PublicDataTableRowProps = DefineProp<"active", boolean, false, false> & DefineProp<"remove", boolean, false, false> & DefineProp<"icon", IIcon> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row.">;
|
29
29
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
30
30
|
active?: boolean;
|
31
31
|
} & {
|
32
32
|
remove?: boolean;
|
33
33
|
} & {
|
34
34
|
icon?: IIcon;
|
35
|
-
} & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"click:navigation", (e: MouseEvent) => void> & {
|
35
|
+
} & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row."> & DefineEmit<"click:navigation", (e: MouseEvent) => void> & {
|
36
36
|
drag?: boolean;
|
37
37
|
} & {
|
38
38
|
draggableIcon?: () => VNodeChild;
|
@@ -6,6 +6,6 @@ export interface IExpansionPanel<T> {
|
|
6
6
|
index: number;
|
7
7
|
ExpansionPanel: typeof o.expansion.panel;
|
8
8
|
}
|
9
|
-
type ExpansionPanelsProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number | Array<number>, false, null, false, "The v-model of the component."> & DefineVModel<"items", T[], false, null, false, "An array of strings or objects used for automatically generating children components."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"variant", OPanelTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"expandAll", boolean, false, false, "Expands all panels"> & DefineProp<"mandatory", boolean, false, false, "Forces at least one item to always be selected (if available)."> & DefineProp<"toned", boolean, false, false, "Applies the toned color schema to all panels."> & DefineProp<"multiple", boolean, false, false, "Allows one to select multiple items."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineSlot<"item", (item: IExpansionPanel<T>) => VNodeChild>;
|
9
|
+
type ExpansionPanelsProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number | Array<number>, false, null, false, "The v-model of the component."> & DefineVModel<"items", T[], false, null, false, "An array of strings or objects used for automatically generating children components."> & DefineProp<"remove", boolean | ((item: T) => boolean), false, false, "Enable removable row."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"variant", OPanelTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"expandAll", boolean, false, false, "Expands all panels"> & DefineProp<"mandatory", boolean, false, false, "Forces at least one item to always be selected (if available)."> & DefineProp<"toned", boolean, false, false, "Applies the toned color schema to all panels."> & DefineProp<"multiple", boolean, false, false, "Allows one to select multiple items."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineSlot<"item", (item: IExpansionPanel<T>) => VNodeChild>;
|
10
10
|
declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<ExpansionPanelsProps<T>>) => any;
|
11
11
|
export default _default;
|
@@ -13,6 +13,7 @@ export interface BuiltInComponentRenderers {
|
|
13
13
|
"velcron": unknown;
|
14
14
|
"flex": unknown;
|
15
15
|
"row": unknown;
|
16
|
+
"grid": unknown;
|
16
17
|
"column": unknown;
|
17
18
|
"card": unknown;
|
18
19
|
"text": unknown;
|
@@ -175,6 +176,17 @@ export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorSt
|
|
175
176
|
events?: VelcronOnPressEvent;
|
176
177
|
border?: VelcronBorder;
|
177
178
|
borderRadius?: VelcronDimensions;
|
179
|
+
width?: number | string;
|
180
|
+
minWidth?: number | string;
|
181
|
+
height?: number | string;
|
182
|
+
minHeight?: number | string;
|
183
|
+
}
|
184
|
+
export interface VelcronGridDefinition extends VelcronDefinition {
|
185
|
+
type: "grid";
|
186
|
+
minColumnWidth?: number | string;
|
187
|
+
columns?: number | Array<string>;
|
188
|
+
gapX?: number | string;
|
189
|
+
gapY?: number | string;
|
178
190
|
}
|
179
191
|
export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow {
|
180
192
|
type: "row";
|
@@ -311,6 +323,10 @@ export interface VelcronLottieDefinition extends VelcronDefinition {
|
|
311
323
|
direction?: VelcronBindableProp<"normal" | "reverse">;
|
312
324
|
hover?: VelcronBindableProp<boolean>;
|
313
325
|
}
|
326
|
+
export interface VelcronSlidePanelSlidesOptions {
|
327
|
+
foreach: string;
|
328
|
+
definition: VelcronDefinition;
|
329
|
+
}
|
314
330
|
export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
315
331
|
type: "slide-panel";
|
316
332
|
slidesPerView?: VelcronBindableProp<number>;
|
@@ -322,6 +338,7 @@ export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
|
322
338
|
loop?: VelcronBindableProp<boolean>;
|
323
339
|
style?: VelcronCardStyling;
|
324
340
|
events?: VelcronOnPressEvent;
|
341
|
+
slides?: VelcronSlidePanelSlidesOptions;
|
325
342
|
}
|
326
343
|
export interface VelcronEditorRendererDefinition extends VelcronDefinition {
|
327
344
|
type: "editor";
|
@@ -36,6 +36,11 @@ export interface VelcronNumberEditorSettings {
|
|
36
36
|
max: number;
|
37
37
|
step: number;
|
38
38
|
}
|
39
|
+
export interface VelcronReferencePropertyEditorSettings {
|
40
|
+
multiple: boolean;
|
41
|
+
min?: number;
|
42
|
+
max?: number;
|
43
|
+
}
|
39
44
|
export interface VelcronPropertyMapping {
|
40
45
|
state: string;
|
41
46
|
title: string;
|
@@ -45,6 +50,8 @@ export interface VelcronPropertyMapping {
|
|
45
50
|
export interface VelcronPropertyResolverEditorSettings {
|
46
51
|
properties: Array<VelcronPropertyMapping>;
|
47
52
|
}
|
53
|
+
export interface VelcronLinkResolverEditorSettings {
|
54
|
+
}
|
48
55
|
export interface VelcronBlueprintEditorSettings {
|
49
56
|
type: "container" | "icon" | "button";
|
50
57
|
}
|
@@ -90,7 +97,7 @@ export interface VelcronImagePropertyEditor extends VelcronEditor<any> {
|
|
90
97
|
export interface VelcronSpacingPropertyEditor extends VelcronEditor<VelcronSpacingEditorSettings> {
|
91
98
|
type: "spacing";
|
92
99
|
}
|
93
|
-
export interface VelcronReferencePropertyEditor extends VelcronEditor<
|
100
|
+
export interface VelcronReferencePropertyEditor extends VelcronEditor<VelcronReferencePropertyEditorSettings> {
|
94
101
|
type: "reference";
|
95
102
|
}
|
96
103
|
export interface VelcronBlueprintEditor extends VelcronEditor<VelcronBlueprintEditorSettings> {
|
@@ -108,3 +115,6 @@ export interface VelcronSelectEditor extends VelcronEditor<VelcronSelectEditorSe
|
|
108
115
|
export interface VelcronPropertyResolverEditor extends VelcronEditor<VelcronPropertyResolverEditorSettings> {
|
109
116
|
type: "property-resolver";
|
110
117
|
}
|
118
|
+
export interface VelcronLinkResolverEditor extends VelcronEditor<VelcronLinkResolverEditorSettings> {
|
119
|
+
type: "link-resolver";
|
120
|
+
}
|
package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts
CHANGED
@@ -16,6 +16,7 @@ export declare class VelcronEditorBuilder {
|
|
16
16
|
gridEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
17
17
|
widthEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
18
18
|
propertyResolverEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
19
|
+
linkResolverEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
19
20
|
};
|
20
21
|
build(): VelcronEditor<any>[];
|
21
22
|
}
|
package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts
CHANGED
@@ -21,6 +21,7 @@ export declare const VelcronBackgroundEditorDescriptor: VelcronEditorDescriptor;
|
|
21
21
|
export declare const VelcronGridEditorDescriptor: VelcronEditorDescriptor;
|
22
22
|
export declare const VelcronSelectEditorDescriptor: VelcronEditorDescriptor;
|
23
23
|
export declare const VelcronPropertyResolverEditorDescriptor: VelcronEditorDescriptor;
|
24
|
+
export declare const VelcronLinkResolverEditorDescriptor: VelcronEditorDescriptor;
|
24
25
|
type BuiltInPropertyEditorDescriptorMap = {
|
25
26
|
[key in BuiltInPropertyEditorType]: typeof VelcronTextEditorDescriptor | typeof VelcronNumberEditorDescriptor | typeof VelcronSliderEditorDescriptor | typeof VelcronSwitchEditorDescriptor | typeof VelcronAlignmentEditorDescriptor | typeof VelcronColorEditorDescriptor | typeof VelcronFlowEditorDescriptor | typeof VelcronIconEditorDescriptor | typeof VelcronImageEditorDescriptor | typeof VelcronTypographyEditorDescriptor | typeof VelcronSpacingEditorDescriptor | typeof VelcronColorSchemaEditorDescriptor | typeof VelcronReferenceEditorDescriptor | typeof VelcronBackgroundEditorDescriptor | typeof VelcronBlueprintEditorDescriptor | typeof VelcronGridEditorDescriptor;
|
26
27
|
};
|
@@ -5,4 +5,5 @@ export declare const VelcronEditorTemplates: {
|
|
5
5
|
ContainerBlueprintEditor: VelcronComponentTemplateDescriptor;
|
6
6
|
BackgroundMediaEditor: VelcronComponentTemplateDescriptor;
|
7
7
|
PropertyResolverEditor: VelcronComponentTemplateDescriptor;
|
8
|
+
LinkResolverEditor: VelcronComponentTemplateDescriptor;
|
8
9
|
};
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { VelcronGridDefinition, VelcronRenderContext } from "../../core";
|
2
|
+
declare const _default: {
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
definition: import("vue").Prop<VelcronGridDefinition, VelcronGridDefinition>;
|
5
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
6
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
definition: import("vue").Prop<VelcronGridDefinition, VelcronGridDefinition>;
|
8
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
9
|
+
}>>, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
10
|
+
P: {};
|
11
|
+
B: {};
|
12
|
+
D: {};
|
13
|
+
C: {};
|
14
|
+
M: {};
|
15
|
+
Defaults: {};
|
16
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
17
|
+
definition: import("vue").Prop<VelcronGridDefinition, VelcronGridDefinition>;
|
18
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
19
|
+
}>>, {}, {}, {}, {}, {}>;
|
20
|
+
__isFragment?: never;
|
21
|
+
__isTeleport?: never;
|
22
|
+
__isSuspense?: never;
|
23
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
24
|
+
definition: import("vue").Prop<VelcronGridDefinition, VelcronGridDefinition>;
|
25
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
26
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
27
|
+
propsDefinition: Omit<Readonly<{} & {
|
28
|
+
definition?: VelcronGridDefinition;
|
29
|
+
renderContext?: VelcronRenderContext;
|
30
|
+
}>, never>;
|
31
|
+
};
|
32
|
+
export default _default;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { EditorLocation, LinkItem, VelcronLinkResolverEditorSettings } from "@omnia/fx-models";
|
2
|
+
import { DefineProp, DefineVModel } from "@omnia/fx/ux";
|
3
|
+
type LinkEditorProps = DefineProp<"location", EditorLocation> & DefineProp<"settings", VelcronLinkResolverEditorSettings> & DefineVModel<"", LinkItem[]>;
|
4
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<LinkEditorProps>) => any;
|
5
|
+
export default _default;
|
@@ -1,11 +1,13 @@
|
|
1
|
-
import { VelcronRendererResolverReference } from "@omnia/fx-models";
|
1
|
+
import { VelcronReferencePropertyEditorSettings, VelcronRendererResolverReference } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
3
|
label?: string;
|
4
4
|
} & {
|
5
|
-
|
5
|
+
settings?: VelcronReferencePropertyEditorSettings;
|
6
6
|
} & {
|
7
|
-
"
|
7
|
+
"emit:update:modelValue": (value: VelcronRendererResolverReference | VelcronRendererResolverReference[]) => void;
|
8
8
|
} & {
|
9
|
-
|
9
|
+
"v-model"?: VelcronRendererResolverReference | VelcronRendererResolverReference[];
|
10
|
+
} & {
|
11
|
+
modelValue?: VelcronRendererResolverReference | VelcronRendererResolverReference[];
|
10
12
|
}>) => any;
|
11
13
|
export default _default;
|