@omnia/fx 8.0.511-dev → 8.0.513-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/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/EditorChrome_old.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/editorchrome/toolbars/{HeaderToolbar.css.d.ts → Toolbar.css.d.ts} +2 -1
- package/internal-do-not-import-from-here/ux/{journey/journeyfilter → filter}/JourneyFilterDialog.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelectBase.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +9 -8
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +168 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvasContextProvider.d.ts +175 -0
- package/internal-do-not-import-from-here/ux/links/LinkPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/links/factory/LinkItemFactory.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/links/loc/localize.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerRegistration.d.ts +4 -7
- package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/picker/PickerSelection.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +19 -3
- package/package.json +2 -2
package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts
CHANGED
@@ -41,5 +41,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
41
41
|
default?: import("vue").Slot;
|
42
42
|
$stable?: boolean;
|
43
43
|
}, "activator">;
|
44
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "
|
44
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "customTyping" | "viewType" | "previewType" | "textBlueprint" | "typographyBlueprint" | "breakpoint" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
45
45
|
export default _default;
|
@@ -8,6 +8,9 @@ declare const _default: {
|
|
8
8
|
navigation?: Func<[VNodeChild]>;
|
9
9
|
bottomDrawer?: Func<[VNodeChild]>;
|
10
10
|
}>;
|
11
|
+
useNewVersion: {
|
12
|
+
type: import("vue").PropType<boolean>;
|
13
|
+
};
|
11
14
|
hideCloseButton: {
|
12
15
|
type: import("vue").PropType<boolean>;
|
13
16
|
};
|
@@ -41,6 +44,9 @@ declare const _default: {
|
|
41
44
|
navigation?: Func<[VNodeChild]>;
|
42
45
|
bottomDrawer?: Func<[VNodeChild]>;
|
43
46
|
}>;
|
47
|
+
useNewVersion: {
|
48
|
+
type: import("vue").PropType<boolean>;
|
49
|
+
};
|
44
50
|
hideCloseButton: {
|
45
51
|
type: import("vue").PropType<boolean>;
|
46
52
|
};
|
@@ -69,6 +75,9 @@ declare const _default: {
|
|
69
75
|
navigation?: Func<[VNodeChild]>;
|
70
76
|
bottomDrawer?: Func<[VNodeChild]>;
|
71
77
|
}>;
|
78
|
+
useNewVersion: {
|
79
|
+
type: import("vue").PropType<boolean>;
|
80
|
+
};
|
72
81
|
hideCloseButton: {
|
73
82
|
type: import("vue").PropType<boolean>;
|
74
83
|
};
|
@@ -101,6 +110,7 @@ declare const _default: {
|
|
101
110
|
hideCloseButton?: boolean;
|
102
111
|
subTitle?: string;
|
103
112
|
actionToolbarRoles?: guid[];
|
113
|
+
useNewVersion?: boolean;
|
104
114
|
}>, "onClose"> & {
|
105
115
|
onClose?: () => any;
|
106
116
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const ToolbarStyles: {
|
2
2
|
themeStyling: {
|
3
3
|
input: {
|
4
4
|
stylex: typeof import("../../aurora/styling/styles/InputStyling").InputStyling.getFieldBlueprintStylex;
|
@@ -73,5 +73,6 @@ export declare const HeaderToolbarStyles: {
|
|
73
73
|
object: typeof import("../../aurora/styling/styles").TextStyles.getBlueprintTextStylingObject;
|
74
74
|
};
|
75
75
|
};
|
76
|
+
borderLeft: (dark: boolean) => string;
|
76
77
|
displayButton: (dark: boolean, selected: boolean) => string;
|
77
78
|
};
|
@@ -6,10 +6,12 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
6
6
|
countFieldHasValue?: number;
|
7
7
|
} & {
|
8
8
|
searchable?: boolean | Ref<boolean, boolean>;
|
9
|
-
} & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"applyFilter", () => true> & DefineEmit<"closeFilter", () => true
|
9
|
+
} & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"applyFilter", () => true> & DefineEmit<"closeFilter", () => true> & {
|
10
|
+
variant?: "dialog" | "journey";
|
11
|
+
}> & {
|
10
12
|
onSearch?: (searchText: string) => any;
|
11
|
-
onApplyFilter?: () => any;
|
12
13
|
onCloseFilter?: () => any;
|
14
|
+
onApplyFilter?: () => any;
|
13
15
|
} & {
|
14
16
|
"v-slots"?: {
|
15
17
|
filter?: () => VNodeChild;
|
@@ -17,5 +19,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
17
19
|
default?: import("vue").Slot;
|
18
20
|
$stable?: boolean;
|
19
21
|
}, "filter">;
|
20
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "
|
22
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "searchable" | "slot:filter" | "emit:search" | "emit:closeFilter" | "heightDialog" | "countFieldHasValue" | "emit:applyFilter"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
23
|
export default _default;
|
@@ -33,5 +33,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBlade
|
|
33
33
|
default?: import("vue").Slot;
|
34
34
|
$stable?: boolean;
|
35
35
|
}, "filter" | "actions" | "actionsFooter">;
|
36
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "switch" | "icon" | "actions" | "title" | "variant" | "size" | "create" | "remove" | "delete" | "add" | "ok" | "settings" | "id" | "disabled" | "toned" | "slot:actions" | "eager" | "loading" | "subTitle" | "emit:click:cancel" | "
|
36
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "switch" | "icon" | "actions" | "title" | "variant" | "size" | "create" | "remove" | "delete" | "add" | "ok" | "settings" | "id" | "disabled" | "toned" | "slot:actions" | "eager" | "loading" | "subTitle" | "emit:click:cancel" | "getApi" | "searchable" | "manageList" | "manageListText" | "bladeContext" | "onOk" | "onRemove" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "slot:actionsFooter" | "slot:filter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:search" | "emit:changeFilter" | "emit:closeFilter" | "emit:hidden" | "emit:click:manageList" | "commit" | "onCommit"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
37
37
|
export default _default;
|
@@ -10,8 +10,8 @@ type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> &
|
|
10
10
|
}) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineProp<"onClickAdd", (item: Array<TItem> | TItem) => void | boolean | Promise<boolean>> & DefineProp<"onRemoveItem", (item: TItem) => void | boolean | Promise<boolean>> & DefineProp<"onClickUpdate", (item: TItem, index: number) => void | boolean | Promise<boolean>> & DefineProp<"onClickDelete", (item: TItem, index: number) => void | boolean | Promise<boolean>>;
|
11
11
|
declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
|
12
12
|
"onUpdate:modelValue"?: (value: any) => any;
|
13
|
-
"onClick:clear"?: () => any;
|
14
13
|
onSearch?: (searchText: string) => any;
|
14
|
+
"onClick:clear"?: () => any;
|
15
15
|
onShowAdd?: () => any;
|
16
16
|
onShowEdit?: (item: TItem, index: number) => any;
|
17
17
|
} & {
|
@@ -33,5 +33,5 @@ declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/u
|
|
33
33
|
default?: import("vue").Slot;
|
34
34
|
$stable?: boolean;
|
35
35
|
}, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender" | "settingsRenderV2" | "selectionRenderV2">;
|
36
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "actions" | "label" | "colorSchemaType" | "list" | "multiple" | "colors" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "items" | "readonly" | "emit:search" | "
|
36
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "actions" | "label" | "colorSchemaType" | "list" | "multiple" | "colors" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "items" | "readonly" | "getApi" | "emit:search" | "itemDeletable" | "emit:click:clear" | "sortable" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "slot:settingsRenderV2" | "slot:selectionRenderV2" | "emit:showAdd" | "emit:showEdit" | "onClickAdd" | "onRemoveItem" | "onClickUpdate" | "onClickDelete"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
37
37
|
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
import { EditorChromeConfiguration, guid, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
|
2
|
-
import { useEditorChromeStore, useLayoutCanvasStore } from "
|
2
|
+
import { useEditorChromeStore, useLayoutCanvasStore } from "@omnia/fx/ux";
|
3
3
|
export interface LayoutEditorCanvasSettings {
|
4
4
|
blockProvider?: string;
|
5
5
|
chromeStore: ReturnType<typeof useEditorChromeStore>;
|
6
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
6
7
|
mediaContext?: ILayoutMediaContext;
|
7
8
|
fileContext?: ILayoutFileContext;
|
8
9
|
}
|
9
|
-
export declare
|
10
|
+
export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSettings): {
|
10
11
|
configuration: EditorChromeConfiguration;
|
11
12
|
store: {
|
12
13
|
state: {
|
@@ -55,11 +56,11 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
|
|
55
56
|
block: {
|
56
57
|
readonly instances: {
|
57
58
|
[blockManifestId: string]: Set<{
|
58
|
-
instance: import("
|
59
|
+
instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
|
59
60
|
}>;
|
60
61
|
};
|
61
|
-
readonly settings: import("
|
62
|
-
settingsProvider: () => import("
|
62
|
+
readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
|
63
|
+
settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
|
63
64
|
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
64
65
|
};
|
65
66
|
providers: {
|
@@ -120,10 +121,10 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
|
|
120
121
|
developerTools: () => void;
|
121
122
|
}>;
|
122
123
|
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
123
|
-
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("
|
124
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
124
125
|
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
125
126
|
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
126
|
-
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("
|
127
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
127
128
|
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
128
129
|
changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
129
130
|
}>;
|
@@ -143,7 +144,7 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
|
|
143
144
|
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
144
145
|
}>;
|
145
146
|
get: {
|
146
|
-
settingsDefinitions: import("
|
147
|
+
settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
|
147
148
|
layout: {
|
148
149
|
active: () => import("@omnia/fx-models").Layout;
|
149
150
|
};
|
@@ -1,11 +1,173 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import
|
4
|
-
|
5
|
-
|
1
|
+
import { Section } from "@omnia/fx-models";
|
2
|
+
import { useLayoutCanvasStore } from "@omnia/fx/ux";
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
+
store?: {
|
5
|
+
state: {
|
6
|
+
compatibilityMode: boolean;
|
7
|
+
layout: {
|
8
|
+
definition: import("@omnia/fx-models").LayoutDefinition;
|
9
|
+
ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
|
10
|
+
originalId: import("@omnia/fx-models").guid;
|
11
|
+
};
|
12
|
+
id: import("@omnia/fx-models").guid;
|
13
|
+
settings: {
|
14
|
+
providers: {
|
15
|
+
block: string;
|
16
|
+
mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
|
17
|
+
fileContext: import("@omnia/fx-models").ILayoutFileContext;
|
18
|
+
dependencyProviders: string[];
|
19
|
+
};
|
20
|
+
};
|
21
|
+
};
|
22
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
23
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
24
|
+
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
25
|
+
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => void;
|
26
|
+
}>;
|
27
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
28
|
+
set: (layout: import("@omnia/fx-models").Layout) => void;
|
29
|
+
}>;
|
30
|
+
providers: () => {
|
31
|
+
set: {
|
32
|
+
dependencyProviders: (providers: Array<string>) => void;
|
33
|
+
block: (blockProvider: string) => void;
|
34
|
+
mediaContext: (mediaContext: import("@omnia/fx-models").ILayoutMediaContext) => void;
|
35
|
+
fileContext: (fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
notify: (blockManifestId: string) => void;
|
39
|
+
init: () => {
|
40
|
+
readOnlyCanvas: (blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
41
|
+
editableCanvas: (editorChromeStore: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>, blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
42
|
+
};
|
43
|
+
}>;
|
44
|
+
get: {
|
45
|
+
layout: {
|
46
|
+
loaded: () => import("@omnia/fx-models").LoadedLayout;
|
47
|
+
};
|
48
|
+
block: {
|
49
|
+
readonly instances: {
|
50
|
+
[blockManifestId: string]: Set<{
|
51
|
+
instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
|
52
|
+
}>;
|
53
|
+
};
|
54
|
+
readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
|
55
|
+
settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
|
56
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
57
|
+
};
|
58
|
+
providers: {
|
59
|
+
block: string;
|
60
|
+
mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
|
61
|
+
fileContext: import("@omnia/fx-models").ILayoutFileContext;
|
62
|
+
};
|
63
|
+
};
|
64
|
+
rules: {
|
65
|
+
isEditMode: () => boolean;
|
66
|
+
};
|
67
|
+
readonly editor: {
|
68
|
+
state: {
|
69
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
70
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
71
|
+
id: import("@omnia/fx-models").guid;
|
72
|
+
settings: {
|
73
|
+
authDisabled: boolean;
|
74
|
+
breakpointSettingsEnabled: boolean;
|
75
|
+
};
|
76
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
77
|
+
selected: {
|
78
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
79
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
80
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
81
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
82
|
+
};
|
83
|
+
active: {
|
84
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
85
|
+
};
|
86
|
+
dialogs: {
|
87
|
+
developerTools: {
|
88
|
+
show: boolean;
|
89
|
+
};
|
90
|
+
};
|
91
|
+
};
|
92
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
93
|
+
onActivated: () => void;
|
94
|
+
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
95
|
+
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
96
|
+
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
97
|
+
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
98
|
+
removeActiveAction: () => void;
|
99
|
+
removeLayoutItemSelection: () => void;
|
100
|
+
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
101
|
+
}>;
|
102
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
103
|
+
block: () => {
|
104
|
+
set: {
|
105
|
+
suggestedBlocks: (blocks: string[]) => void;
|
106
|
+
};
|
107
|
+
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
108
|
+
};
|
109
|
+
show: () => import("../../mobile").StoreReturnDefineAction<{
|
110
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
111
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
112
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
113
|
+
developerTools: () => void;
|
114
|
+
}>;
|
115
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
116
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
117
|
+
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
118
|
+
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
119
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
120
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
121
|
+
changeSectionType: (section: Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
122
|
+
}>;
|
123
|
+
configureDrawer: (header: {
|
124
|
+
icon?: import("@omnia/fx-models").IIcon;
|
125
|
+
title?: string;
|
126
|
+
enabled?: boolean;
|
127
|
+
}, customScroll?: boolean) => void;
|
128
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
129
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
130
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
131
|
+
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
132
|
+
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
133
|
+
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
134
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
135
|
+
}>;
|
136
|
+
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>) => void;
|
137
|
+
}>;
|
138
|
+
get: {
|
139
|
+
settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
|
140
|
+
layout: {
|
141
|
+
active: () => import("@omnia/fx-models").Layout;
|
142
|
+
};
|
143
|
+
block: {
|
144
|
+
suggestions: () => string[];
|
145
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
146
|
+
};
|
147
|
+
};
|
148
|
+
rules: {
|
149
|
+
isSettingsActive: () => boolean;
|
150
|
+
isLayoutStructureActive: () => boolean;
|
151
|
+
isClipboardActive: () => boolean;
|
152
|
+
activeItem: {
|
153
|
+
isSection(): boolean;
|
154
|
+
};
|
155
|
+
showSelectors: () => boolean;
|
156
|
+
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
157
|
+
isTemplateEnabledLayout: () => boolean;
|
158
|
+
isAdvancedModeActivated: () => boolean;
|
159
|
+
isAuthDisabled: () => boolean;
|
160
|
+
};
|
161
|
+
} & {
|
162
|
+
dispose?: () => void;
|
163
|
+
};
|
164
|
+
} & {
|
165
|
+
dispose?: () => void;
|
166
|
+
};
|
167
|
+
}> & {} & {
|
6
168
|
"v-slots"?: {} & Omit<{
|
7
169
|
default?: import("vue").Slot;
|
8
170
|
$stable?: boolean;
|
9
171
|
}, never>;
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "
|
172
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "store"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
173
|
export default _default;
|
@@ -0,0 +1,175 @@
|
|
1
|
+
import { useLayoutCanvasStore } from "@omnia/fx/ux";
|
2
|
+
export interface LayoutEditorContextApi {
|
3
|
+
contextStore: ReturnType<typeof useLayoutCanvasStore>;
|
4
|
+
}
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
+
store?: {
|
7
|
+
state: {
|
8
|
+
compatibilityMode: boolean;
|
9
|
+
layout: {
|
10
|
+
definition: import("@omnia/fx-models").LayoutDefinition;
|
11
|
+
ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
|
12
|
+
originalId: import("@omnia/fx-models").guid;
|
13
|
+
};
|
14
|
+
id: import("@omnia/fx-models").guid;
|
15
|
+
settings: {
|
16
|
+
providers: {
|
17
|
+
block: string;
|
18
|
+
mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
|
19
|
+
fileContext: import("@omnia/fx-models").ILayoutFileContext;
|
20
|
+
dependencyProviders: string[];
|
21
|
+
};
|
22
|
+
};
|
23
|
+
};
|
24
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
25
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
26
|
+
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
27
|
+
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => void;
|
28
|
+
}>;
|
29
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
30
|
+
set: (layout: import("@omnia/fx-models").Layout) => void;
|
31
|
+
}>;
|
32
|
+
providers: () => {
|
33
|
+
set: {
|
34
|
+
dependencyProviders: (providers: Array<string>) => void;
|
35
|
+
block: (blockProvider: string) => void;
|
36
|
+
mediaContext: (mediaContext: import("@omnia/fx-models").ILayoutMediaContext) => void;
|
37
|
+
fileContext: (fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
38
|
+
};
|
39
|
+
};
|
40
|
+
notify: (blockManifestId: string) => void;
|
41
|
+
init: () => {
|
42
|
+
readOnlyCanvas: (blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
43
|
+
editableCanvas: (editorChromeStore: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>, blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
|
44
|
+
};
|
45
|
+
}>;
|
46
|
+
get: {
|
47
|
+
layout: {
|
48
|
+
loaded: () => import("@omnia/fx-models").LoadedLayout;
|
49
|
+
};
|
50
|
+
block: {
|
51
|
+
readonly instances: {
|
52
|
+
[blockManifestId: string]: Set<{
|
53
|
+
instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
|
54
|
+
}>;
|
55
|
+
};
|
56
|
+
readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
|
57
|
+
settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
|
58
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
59
|
+
};
|
60
|
+
providers: {
|
61
|
+
block: string;
|
62
|
+
mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
|
63
|
+
fileContext: import("@omnia/fx-models").ILayoutFileContext;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
rules: {
|
67
|
+
isEditMode: () => boolean;
|
68
|
+
};
|
69
|
+
readonly editor: {
|
70
|
+
state: {
|
71
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
72
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
73
|
+
id: import("@omnia/fx-models").guid;
|
74
|
+
settings: {
|
75
|
+
authDisabled: boolean;
|
76
|
+
breakpointSettingsEnabled: boolean;
|
77
|
+
};
|
78
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
79
|
+
selected: {
|
80
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
81
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
82
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
83
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
84
|
+
};
|
85
|
+
active: {
|
86
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
87
|
+
};
|
88
|
+
dialogs: {
|
89
|
+
developerTools: {
|
90
|
+
show: boolean;
|
91
|
+
};
|
92
|
+
};
|
93
|
+
};
|
94
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
95
|
+
onActivated: () => void;
|
96
|
+
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
97
|
+
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
98
|
+
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
99
|
+
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
100
|
+
removeActiveAction: () => void;
|
101
|
+
removeLayoutItemSelection: () => void;
|
102
|
+
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
103
|
+
}>;
|
104
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
105
|
+
block: () => {
|
106
|
+
set: {
|
107
|
+
suggestedBlocks: (blocks: string[]) => void;
|
108
|
+
};
|
109
|
+
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
110
|
+
};
|
111
|
+
show: () => import("../../mobile").StoreReturnDefineAction<{
|
112
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
113
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
114
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
115
|
+
developerTools: () => void;
|
116
|
+
}>;
|
117
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
118
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
119
|
+
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
120
|
+
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
121
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
|
122
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
123
|
+
changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
124
|
+
}>;
|
125
|
+
configureDrawer: (header: {
|
126
|
+
icon?: import("@omnia/fx-models").IIcon;
|
127
|
+
title?: string;
|
128
|
+
enabled?: boolean;
|
129
|
+
}, customScroll?: boolean) => void;
|
130
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
131
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
132
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
133
|
+
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
134
|
+
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
135
|
+
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
136
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
137
|
+
}>;
|
138
|
+
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>) => void;
|
139
|
+
}>;
|
140
|
+
get: {
|
141
|
+
settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
|
142
|
+
layout: {
|
143
|
+
active: () => import("@omnia/fx-models").Layout;
|
144
|
+
};
|
145
|
+
block: {
|
146
|
+
suggestions: () => string[];
|
147
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
148
|
+
};
|
149
|
+
};
|
150
|
+
rules: {
|
151
|
+
isSettingsActive: () => boolean;
|
152
|
+
isLayoutStructureActive: () => boolean;
|
153
|
+
isClipboardActive: () => boolean;
|
154
|
+
activeItem: {
|
155
|
+
isSection(): boolean;
|
156
|
+
};
|
157
|
+
showSelectors: () => boolean;
|
158
|
+
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
159
|
+
isTemplateEnabledLayout: () => boolean;
|
160
|
+
isAdvancedModeActivated: () => boolean;
|
161
|
+
isAuthDisabled: () => boolean;
|
162
|
+
};
|
163
|
+
} & {
|
164
|
+
dispose?: () => void;
|
165
|
+
};
|
166
|
+
} & {
|
167
|
+
dispose?: () => void;
|
168
|
+
};
|
169
|
+
}> & {} & {
|
170
|
+
"v-slots"?: {} & Omit<{
|
171
|
+
default?: import("vue").Slot;
|
172
|
+
$stable?: boolean;
|
173
|
+
}, never>;
|
174
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "store"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
175
|
+
export default _default;
|
@@ -40,8 +40,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
40
40
|
} & DefineEmit<"configureProviders", (providers: Array<LinkPickerRegistration>) => void> & DefineEmit<"close", () => void> & DefineEmit<"saved", (selectedLinkItem: LinkItem) => void> & DefineSlot<"activator", () => void>> & {
|
41
41
|
onClose?: () => any;
|
42
42
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
43
|
-
onConfigureProviders?: (providers: LinkPickerRegistration[]) => any;
|
44
43
|
onSaved?: (selectedLinkItem: LinkItem) => any;
|
44
|
+
onConfigureProviders?: (providers: LinkPickerRegistration[]) => any;
|
45
45
|
"onUpdate:selectedItem"?: (value: LinkItem) => any;
|
46
46
|
} & {
|
47
47
|
"v-slots"?: {
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare namespace LinkPickerLocalization {
|
2
|
+
const namespace = "Omnia.LinkPicker.Link";
|
3
|
+
interface locInterface {
|
4
|
+
Name: string;
|
5
|
+
Url: string;
|
6
|
+
Title: string;
|
7
|
+
OpenNewWindow: string;
|
8
|
+
LinkNotSupported: string;
|
9
|
+
AnchorName: string;
|
10
|
+
EditLink: string;
|
11
|
+
}
|
12
|
+
}
|
@@ -113,7 +113,7 @@ declare const _default: {
|
|
113
113
|
onClose?: () => any;
|
114
114
|
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
115
115
|
onDoc$?: (description?: string) => any;
|
116
|
-
}, import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
116
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
117
117
|
close: () => void;
|
118
118
|
doc$(description?: string): {
|
119
119
|
close: () => void;
|
@@ -237,7 +237,7 @@ declare const _default: {
|
|
237
237
|
onClose?: () => any;
|
238
238
|
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
239
239
|
onDoc$?: (description?: string) => any;
|
240
|
-
}, import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
240
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
241
241
|
__isFragment?: never;
|
242
242
|
__isTeleport?: never;
|
243
243
|
__isSuspense?: never;
|
@@ -352,7 +352,7 @@ declare const _default: {
|
|
352
352
|
onClose?: () => any;
|
353
353
|
onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
|
354
354
|
onDoc$?: (description?: string) => any;
|
355
|
-
}, import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
355
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
356
356
|
close: () => void;
|
357
357
|
doc$(description?: string): {
|
358
358
|
close: () => void;
|
@@ -1,4 +1,7 @@
|
|
1
|
-
import { guid, IIcon, LinkItem, LinkProviderId } from "@omnia/fx-models";
|
1
|
+
import { guid, IIcon, LinkItem, LinkItemV2, LinkProviderId } from "@omnia/fx-models";
|
2
|
+
export interface ILinkPickerComponentProps {
|
3
|
+
modelValue: LinkItemV2;
|
4
|
+
}
|
2
5
|
export interface LinkPickerRegistration {
|
3
6
|
id: LinkProviderId;
|
4
7
|
name: string;
|
@@ -6,11 +9,5 @@ export interface LinkPickerRegistration {
|
|
6
9
|
componentManifestToRender: guid;
|
7
10
|
weight: number;
|
8
11
|
onSaved?: (link: LinkItem) => Promise<LinkItem>;
|
9
|
-
/**
|
10
|
-
* Provider use to handle onClick, href on <a> tag of Link item
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*/
|
14
|
-
handlerProviderId?: guid;
|
15
12
|
getProviderProperties?: () => object;
|
16
13
|
}
|
@@ -6,8 +6,8 @@ import { usePickerStore } from "./stores/PickerStore";
|
|
6
6
|
type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant, false, "dropdown"> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"maxHeight", number, null, null, "Limit the max height of the dropdown"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"actions", ActionDefinition[] | VNodeChild, false, null, "Actions to be showns on the blade header"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild>;
|
7
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps> & {
|
8
8
|
"onUpdate:modelValue"?: (value: MenuState) => any;
|
9
|
-
"onClick:clear"?: () => any;
|
10
9
|
onSearch?: (searchText: string) => any;
|
10
|
+
"onClick:clear"?: () => any;
|
11
11
|
} & {
|
12
12
|
"v-slots"?: {
|
13
13
|
activator?: () => VNodeChild;
|
@@ -17,5 +17,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps>
|
|
17
17
|
default?: import("vue").Slot;
|
18
18
|
$stable?: boolean;
|
19
19
|
}, "actions" | "activator" | "selectedItemRenderer">;
|
20
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "blueprint" | "grid" | "maxHeight" | "actions" | "label" | "variant" | "class" | "disabled" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "
|
20
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "blueprint" | "grid" | "maxHeight" | "actions" | "label" | "variant" | "class" | "disabled" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "getApi" | "searchable" | "emit:search" | "clearable" | "visibleOnContentClick" | "emit:click:clear" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
21
|
export default _default;
|
@@ -2,8 +2,8 @@ import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx
|
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
type PickerSelectionProps = DefinePropTheming & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disableOverlay", boolean, false, null, "Doesn't show a default overlay to mark the picker"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, false, null, "A search box is displayed with the text value"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot and show clear icon"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"click:clear", () => void> & DefineEmit<"show:selection", () => void> & DefineEmit<"search", (text: string) => void> & DefineSlot<"placeholderRenderer", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild>;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerSelectionProps> & {
|
5
|
-
"onClick:clear"?: () => any;
|
6
5
|
onSearch?: (text: string) => any;
|
6
|
+
"onClick:clear"?: () => any;
|
7
7
|
"onShow:selection"?: () => any;
|
8
8
|
} & {
|
9
9
|
"v-slots"?: {
|
@@ -13,5 +13,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerSelect
|
|
13
13
|
default?: import("vue").Slot;
|
14
14
|
$stable?: boolean;
|
15
15
|
}, "selectedItemRenderer" | "placeholderRenderer">;
|
16
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "grid" | "colorSchemaType" | "disabled" | "colors" | "toned" | "placeholder" | "searchable" | "emit:search" | "emit:click:clear" | "
|
16
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "grid" | "colorSchemaType" | "disabled" | "colors" | "toned" | "placeholder" | "searchable" | "emit:search" | "clearable" | "emit:click:clear" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection" | "disableOverlay" | "emit:show:selection" | "slot:placeholderRenderer"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
17
17
|
export default _default;
|
@@ -20,5 +20,5 @@ declare const _default: <TItem extends readonly any[], TReturnObject extends boo
|
|
20
20
|
default?: import("vue").Slot;
|
21
21
|
$stable?: boolean;
|
22
22
|
}, keyof (OSelectProps<TItem, TReturnObject> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: OSelectProps<TItem, TReturnObject>[K_3]; } : never)>;
|
23
|
-
} & (OSelectProps<TItem, TReturnObject> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<OSelectProps<TItem, TReturnObject>[K_4], OSelectProps<TItem, TReturnObject>[K_4]> | ((ref: OSelectProps<TItem, TReturnObject>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "maxHeight" | "label" | "error" | "colorSchemaType" | "variant" | "class" | "multiple" | "disabled" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "items" | "itemHeight" | "loading" | "readonly" | "errorMessages" | "rules" | "hideDetails" | "hint" | "persistentHint" | "itemValue" | "searchable" | "
|
23
|
+
} & (OSelectProps<TItem, TReturnObject> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<OSelectProps<TItem, TReturnObject>[K_4], OSelectProps<TItem, TReturnObject>[K_4]> | ((ref: OSelectProps<TItem, TReturnObject>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "maxHeight" | "label" | "error" | "colorSchemaType" | "variant" | "class" | "multiple" | "disabled" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "items" | "itemHeight" | "loading" | "readonly" | "errorMessages" | "rules" | "hideDetails" | "hint" | "persistentHint" | "itemValue" | "searchable" | "hideSelected" | "itemTitle" | "returnObject" | "clearable" | "chips" | "hideNoData" | "menuIcon" | "multiSelectionStyle" | "emit:click:button" | "emit:update:search" | "emit:update:focused" | "slot:append-item" | "slot:prepend-inner" | "slot:append-inner" | "itemDeletable" | keyof (TReturnObject extends true ? SlotsWithReturnObject<TItem> : SlotsWithoutReturnObject)> & import("@omnia/fx/ux").VNodeEvents) => any;
|
24
24
|
export default _default;
|
@@ -14,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TextAreaProp
|
|
14
14
|
default?: import("vue").Slot;
|
15
15
|
$stable?: boolean;
|
16
16
|
}, "append-inner">;
|
17
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "color" | "label" | "colorSchemaType" | "variant" | "class" | "rows" | "disabled" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "readonly" | "errorMessages" | "rules" | "hint" | "persistentHint" | "autofocus" | "textBlueprint" | "
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "color" | "label" | "colorSchemaType" | "variant" | "class" | "rows" | "disabled" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "readonly" | "errorMessages" | "rules" | "hint" | "persistentHint" | "autofocus" | "textBlueprint" | "clearable" | "emit:click:button" | "emit:update:focused" | "slot:append-inner" | "autoGrow"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
18
|
export default _default;
|
@@ -31,6 +31,7 @@ import wc629ff3fc45f84df382ddb6282d968547 from './ux/features/FeaturesJourneyTen
|
|
31
31
|
import wc47f40c108c6d482197c5f462acf292d2 from './ux/features/FeaturesJourneyAppInstance';
|
32
32
|
import wcdf386f66c6a746298c4f53b2948e14be from './ux/filepicker/FilePickerRenderer';
|
33
33
|
import wc1fab0218538f431c91ece4e10cbd468c from './ux/fileuploader/FileUploader';
|
34
|
+
import wc14db052e2e844741973a944d51871c32 from './ux/filter/JourneyFilterDialog';
|
34
35
|
import wca91d4cd2b5744de3a672110cb1cdf7ba from './ux/filterengine/FilterEngineSettings';
|
35
36
|
import wc34e1cea969d744f1bbec4770b51d49f5 from './ux/filterengine/FilterEngineRenderer';
|
36
37
|
import wc43fc70078d114ec3a70ebbd767ef4f95 from './ux/filterengine/components/renderer/person/PersonPropertyRenderer';
|
@@ -248,6 +249,7 @@ import wc1760d6fe433f46388d4840077b6a6bec from './ux/journey/selection/JourneySe
|
|
248
249
|
import wc58e999e5a1184a7fbea90061fc377f91 from './ux/journey/selection/JourneySelectionListRenderer';
|
249
250
|
import wc806ee9675e9943459e5d30369a919c86 from './ux/journey/selection/JourneySelect';
|
250
251
|
import wc8e03e2f7fb024945bc51138b77d06088 from './ux/layoutcanvas/editor/LayoutEditorCanvas_old';
|
252
|
+
import wce470575577684f4ba338bb2f54d697fb from './ux/layoutcanvas/editor/LayoutEditorCanvas';
|
251
253
|
import wc4aed54beb02341e3a6cbde5af5fb6c78 from './ux/layoutcanvas/layoutactionhandler/LayoutAction';
|
252
254
|
import wc02c473f7041b40038ceecdf09e6ba4ca from './ux/layoutcanvas/layoutactionhandler/LayoutActionSettings';
|
253
255
|
import wc057def31f5f5403d91b2da569de2fdff from './ux/layoutcanvas/layoutblock/LayoutBlock';
|
@@ -1480,7 +1482,13 @@ declare global {
|
|
1480
1482
|
} : typeof wcaac689be588e4dd3ac8166ac631a37f1;
|
1481
1483
|
};
|
1482
1484
|
};
|
1483
|
-
"filter": {
|
1485
|
+
"filter": (typeof wc14db052e2e844741973a944d51871c32 extends {
|
1486
|
+
propsDefinition: infer TProp;
|
1487
|
+
} ? {
|
1488
|
+
new (...args: any[]): {
|
1489
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1490
|
+
};
|
1491
|
+
} : typeof wc14db052e2e844741973a944d51871c32) & {
|
1484
1492
|
"picker": typeof wc46a6c15c2a0e446fbef9770274409366 extends {
|
1485
1493
|
propsDefinition: infer TProp;
|
1486
1494
|
} ? {
|
@@ -3203,13 +3211,21 @@ declare global {
|
|
3203
3211
|
};
|
3204
3212
|
"layout": {
|
3205
3213
|
"editor": {
|
3206
|
-
"canvas": typeof wc8e03e2f7fb024945bc51138b77d06088 extends {
|
3214
|
+
"canvas": (typeof wc8e03e2f7fb024945bc51138b77d06088 extends {
|
3207
3215
|
propsDefinition: infer TProp;
|
3208
3216
|
} ? {
|
3209
3217
|
new (...args: any[]): {
|
3210
3218
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3211
3219
|
};
|
3212
|
-
} : typeof wc8e03e2f7fb024945bc51138b77d06088
|
3220
|
+
} : typeof wc8e03e2f7fb024945bc51138b77d06088) & {
|
3221
|
+
"v2": typeof wce470575577684f4ba338bb2f54d697fb extends {
|
3222
|
+
propsDefinition: infer TProp;
|
3223
|
+
} ? {
|
3224
|
+
new (...args: any[]): {
|
3225
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3226
|
+
};
|
3227
|
+
} : typeof wce470575577684f4ba338bb2f54d697fb;
|
3228
|
+
};
|
3213
3229
|
"block": {
|
3214
3230
|
"edit": (typeof wc86802c11a0c8471ca455385a9fecb9c6 extends {
|
3215
3231
|
propsDefinition: infer TProp;
|
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.513-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": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.513-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|