@omnia/fx 8.0.510-dev → 8.0.512-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.editor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +4 -0
- 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/{navigation → _old/navigation}/EditorChromeNavigation.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +48 -28
- package/internal-do-not-import-from-here/ux/errormessage/ErrorMessage.css.d.ts +0 -3
- 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/core/JourneyRouter.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/journey/models/BladeInstance.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.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/journey/stores/JourneyRouterStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +9 -158
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +12 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +11 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +11 -2
- package/internal-do-not-import-from-here/ux/links/LinkPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/links/LinkPickerV2.d.ts +18 -0
- 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/models/linkpicker/LinkItemHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerRegistration.d.ts +4 -7
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +2 -2
- 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/ux/tag/HashTagList.d.ts +1 -6
- 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/editorchrome/{action_toolbar → _old/action_toolbar}/ActionToolbar.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{action_toolbar → _old/action_toolbar}/ActionToolbar.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{action_toolbar → _old/action_toolbar}/DisplaySettingsToolbar.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{navigation → _old/navigation}/EditorChromeNavigation.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{navigation_drawer → _old/navigation_drawer}/NavigationDrawer.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{navigation_drawer → _old/navigation_drawer}/NavigationDrawer.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{panel_tabs → _old/panel_tabs}/TabsPanel.css.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{panel_tabs → _old/panel_tabs}/TabsPanel.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['e0d8cdbf-5683-4f1b-883b-da203e8193a4']","content":{"./node_modules/@omnia/fx/ux/editor/index.js":{"id":"9a97c476-5a09-4522-b16d-db752dc06c7e","buildMeta":{"exportsType":"namespace"},"expo.js":["defineEditorChromeConfiguration","defineEditorChromeView","defineJourneyMenuSettings","defineLayoutEditorCanvas","useBlockJourneyMenuSettings","
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['e0d8cdbf-5683-4f1b-883b-da203e8193a4']","content":{"./node_modules/@omnia/fx/ux/editor/index.js":{"id":"9a97c476-5a09-4522-b16d-db752dc06c7e","buildMeta":{"exportsType":"namespace"},"expo.js":["defineEditorChromeConfiguration","defineEditorChromeView","defineJourneyMenuSettings","defineLayoutEditorCanvas","useBlockJourneyMenuSettings","useJourneyMenuSettingsStore"]}}}
|
@@ -582,6 +582,7 @@ export interface OmniaUxLocalization {
|
|
582
582
|
Image: string;
|
583
583
|
Process: string;
|
584
584
|
Integer: string;
|
585
|
+
Date: string;
|
585
586
|
DateTime: string;
|
586
587
|
Boolean: string;
|
587
588
|
Language: string;
|
@@ -1010,6 +1011,9 @@ export interface OmniaUxLocalization {
|
|
1010
1011
|
Random: string;
|
1011
1012
|
DesignLayout: string;
|
1012
1013
|
OpenEditor: string;
|
1014
|
+
Design: string;
|
1015
|
+
Preview: string;
|
1016
|
+
Write: string;
|
1013
1017
|
};
|
1014
1018
|
LayoutStructure: {
|
1015
1019
|
Layout: string;
|
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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DisplayBreakpointTypes, guid, EditorChromeConfiguration, NotificationMessage, IIcon, EditorChromeNavigationConfiguration, Future, EditorChromeView } from "@omnia/fx-models";
|
1
|
+
import { DisplayBreakpointTypes, guid, EditorChromeConfiguration, NotificationMessage, IIcon, EditorChromeNavigationConfiguration, Future, EditorChromeView, EditorChromePanel, ChromeActionItem } from "@omnia/fx-models";
|
2
2
|
interface EditorChromeViewRegistration {
|
3
3
|
view: EditorChromeView;
|
4
4
|
configuration: EditorChromeConfiguration;
|
@@ -12,19 +12,28 @@ export declare const useEditorChromeStore: () => {
|
|
12
12
|
enabled: boolean;
|
13
13
|
show: boolean;
|
14
14
|
};
|
15
|
-
panel: {
|
16
|
-
renderer: () => Array<JSX.Element> | JSX.Element;
|
17
|
-
show: boolean;
|
18
|
-
};
|
19
15
|
drawers: {
|
20
16
|
right: {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
17
|
+
panel: {
|
18
|
+
settings: EditorChromePanel;
|
19
|
+
show: boolean;
|
20
|
+
actions: ChromeActionItem[];
|
21
|
+
footerToolbar: {
|
22
|
+
actionsLeft: ChromeActionItem[];
|
23
|
+
actionsCenter: ChromeActionItem[];
|
24
|
+
actionsRight: ChromeActionItem[];
|
25
|
+
ExtendActionsRight: ChromeActionItem[];
|
26
|
+
};
|
27
|
+
};
|
28
|
+
canvas: {
|
25
29
|
enabled: boolean;
|
26
|
-
|
27
|
-
|
30
|
+
show: boolean;
|
31
|
+
customScroll: boolean;
|
32
|
+
header: {
|
33
|
+
enabled: boolean;
|
34
|
+
icon: IIcon;
|
35
|
+
title: string;
|
36
|
+
};
|
28
37
|
};
|
29
38
|
};
|
30
39
|
};
|
@@ -151,16 +160,10 @@ export declare const useEditorChromeStore: () => {
|
|
151
160
|
resetZoom: () => void;
|
152
161
|
};
|
153
162
|
editor: () => {
|
154
|
-
|
163
|
+
resetForNewActiveConfiguration: () => void;
|
155
164
|
};
|
156
165
|
views: () => {
|
157
166
|
register: (editorView: EditorChromeView | EditorChromeView[]) => void;
|
158
|
-
history: {
|
159
|
-
goBack: () => boolean;
|
160
|
-
goForward: () => boolean;
|
161
|
-
addToHistory: (view: EditorChromeView) => void;
|
162
|
-
clear: () => void;
|
163
|
-
};
|
164
167
|
active: {
|
165
168
|
set: (view: EditorChromeView, addToHistory?: boolean) => void;
|
166
169
|
clear: () => void;
|
@@ -169,6 +172,12 @@ export declare const useEditorChromeStore: () => {
|
|
169
172
|
};
|
170
173
|
};
|
171
174
|
remove: (view: EditorChromeView) => void;
|
175
|
+
history: {
|
176
|
+
goBack: () => boolean;
|
177
|
+
goForward: () => boolean;
|
178
|
+
addToHistory: (view: EditorChromeView) => void;
|
179
|
+
clear: () => void;
|
180
|
+
};
|
172
181
|
};
|
173
182
|
showNotification: (message: NotificationMessage) => void;
|
174
183
|
operations: () => {
|
@@ -186,17 +195,28 @@ export declare const useEditorChromeStore: () => {
|
|
186
195
|
};
|
187
196
|
drawers: () => {
|
188
197
|
right: {
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
198
|
+
panel: {
|
199
|
+
show: (panel: EditorChromePanel) => void;
|
200
|
+
footerToolbar: {
|
201
|
+
add: {
|
202
|
+
action: (action: ChromeActionItem | ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
|
203
|
+
};
|
204
|
+
};
|
205
|
+
close: () => void;
|
206
|
+
};
|
207
|
+
canvas: {
|
208
|
+
configure: (header: {
|
209
|
+
icon?: IIcon;
|
210
|
+
title?: string;
|
211
|
+
enabled?: boolean;
|
212
|
+
}, customScroll?: boolean) => void;
|
213
|
+
toolbar: {
|
214
|
+
enable: (value: boolean) => void;
|
215
|
+
};
|
216
|
+
syncButtons: (currentId: guid) => void;
|
217
|
+
toggle: () => void;
|
218
|
+
show: (value: boolean) => void;
|
196
219
|
};
|
197
|
-
syncButtons: (currentId: guid) => void;
|
198
|
-
toggle: () => void;
|
199
|
-
show: (value: boolean) => void;
|
200
220
|
};
|
201
221
|
};
|
202
222
|
init: () => void;
|
@@ -13,11 +13,8 @@ export declare const ErrorMessageStyle: {
|
|
13
13
|
fullTitle?: types.NestedCSSProperties;
|
14
14
|
};
|
15
15
|
export declare const ErrorMessageStylex: {
|
16
|
-
alert: (bgColor: string, textColor: string) => Readonly<import("../Styles.stylex").StylexValue>;
|
17
|
-
alertDetail: (bgColor: string, textColor: string) => Readonly<import("../Styles.stylex").StylexValue>;
|
18
16
|
container: Readonly<import("../Styles.stylex").StylexValue>;
|
19
17
|
content: Readonly<import("../Styles.stylex").StylexValue>;
|
20
|
-
contentTitle: Readonly<import("../Styles.stylex").StylexValue>;
|
21
18
|
fullTitle: Readonly<import("../Styles.stylex").StylexValue>;
|
22
19
|
comments: Readonly<import("../Styles.stylex").StylexValue>;
|
23
20
|
exit: Readonly<import("../Styles.stylex").StylexValue>;
|
@@ -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;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OMultiSelectionStyles } from "@omnia/fx-models";
|
2
2
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, ItemType, ItemValueType, JourneySelectItem } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
type OJourneySelectV2Props<TItem, TReturnObject extends boolean> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", any
|
4
|
+
type OJourneySelectV2Props<TItem, TReturnObject extends boolean> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", any> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"items", TItem, false, null, "TItem must be an array of objects or array of strings. When using objects, will look for a title, value and disabled keys. This can be changed using the item-title, item-value and item-disabled props."> & DefineProp<"itemTitle", ItemValueType<ItemType<TItem>>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemValue", ItemValueType<ItemType<TItem>>, false, null, "Property on supplied items that contains its value."> & DefineProp<"returnObject", TReturnObject, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value."> & DefineProp<"multiple", boolean, false, false, "Multiple selection."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"multiSelectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineProp<"itemDeletable", (item: ItemType<TItem>) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"item", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selection", (item: JourneySelectItem<any>, index: number) => VNodeChild>;
|
5
5
|
declare const _default: <TItem extends readonly any[], TReturnObject extends boolean>(props: import("@omnia/fx/ux").ExtractProps<OJourneySelectV2Props<TItem, TReturnObject>> & {
|
6
6
|
"onUpdate:modelValue"?: (value: any) => any;
|
7
7
|
} & {
|
@@ -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;
|
@@ -5,6 +5,7 @@ export interface InternalJourneyBladeRouter extends JourneyBladeRouter {
|
|
5
5
|
export declare const useJourneyRouterStore: () => {
|
6
6
|
get: {
|
7
7
|
blade<T extends InternalJourneyBladeRouter>(bladeId: guid): T;
|
8
|
+
bladesVisible(): InternalJourneyBladeRouter[];
|
8
9
|
};
|
9
10
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
10
11
|
hideBlade(blade: JourneyBladeRouter): void;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -2,7 +2,6 @@ import { EditorChromeConfiguration, guid, ILayoutFileContext, ILayoutMediaContex
|
|
2
2
|
import { useEditorChromeStore, useLayoutCanvasStore } from "../..";
|
3
3
|
export interface LayoutEditorCanvasSettings {
|
4
4
|
blockProvider?: string;
|
5
|
-
deisgnModes?: "design" | "write" | "design preview" | "write preview" | "design write" | "design write preview";
|
6
5
|
chromeStore: ReturnType<typeof useEditorChromeStore>;
|
7
6
|
mediaContext?: ILayoutMediaContext;
|
8
7
|
fileContext?: ILayoutFileContext;
|
@@ -74,7 +73,8 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
|
|
74
73
|
};
|
75
74
|
readonly editor: {
|
76
75
|
state: {
|
77
|
-
editorMode: import("@omnia/fx-models").
|
76
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
77
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
78
78
|
id: guid;
|
79
79
|
settings: {
|
80
80
|
authDisabled: boolean;
|
@@ -90,165 +90,14 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
|
|
90
90
|
active: {
|
91
91
|
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
92
92
|
};
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
97
|
-
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
98
|
-
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
99
|
-
removeActiveAction: () => void;
|
100
|
-
removeLayoutItemSelection: () => void;
|
101
|
-
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
102
|
-
}>;
|
103
|
-
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
104
|
-
block: () => {
|
105
|
-
set: {
|
106
|
-
suggestedBlocks: (blocks: string[]) => void;
|
93
|
+
dialogs: {
|
94
|
+
developerTools: {
|
95
|
+
show: boolean;
|
107
96
|
};
|
108
|
-
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
109
|
-
};
|
110
|
-
show: () => import("../../mobile").StoreReturnDefineAction<{
|
111
|
-
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
112
|
-
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
113
|
-
clipboardPanel: (action: "show" | "hide" | "toggle") => 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("../..").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("../..").CopiedLayoutItemResult;
|
120
|
-
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
121
|
-
changeSectionType: (section: import("@omnia/fx-models").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").LayoutCanvasMode) => void;
|
129
|
-
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
130
|
-
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
131
|
-
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
132
|
-
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
133
|
-
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
134
|
-
}>;
|
135
|
-
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
136
|
-
}>;
|
137
|
-
get: {
|
138
|
-
settingsDefinitions: import("../..").LayoutDefinitionBuilder;
|
139
|
-
layout: {
|
140
|
-
active: () => import("@omnia/fx-models").Layout;
|
141
|
-
};
|
142
|
-
block: {
|
143
|
-
suggestions: () => string[];
|
144
|
-
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
145
|
-
};
|
146
|
-
};
|
147
|
-
rules: {
|
148
|
-
isSettingsActive: () => boolean;
|
149
|
-
isLayoutStructureActive: () => boolean;
|
150
|
-
isClipboardActive: () => boolean;
|
151
|
-
activeItem: {
|
152
|
-
isSection(): boolean;
|
153
|
-
};
|
154
|
-
showSelectors: () => boolean;
|
155
|
-
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
156
|
-
isTemplateEnabledLayout: () => boolean;
|
157
|
-
isAdvancedModeActivated: () => boolean;
|
158
|
-
isAuthDisabled: () => boolean;
|
159
|
-
};
|
160
|
-
} & {
|
161
|
-
dispose?: () => void;
|
162
|
-
};
|
163
|
-
} & {
|
164
|
-
dispose?: () => void;
|
165
|
-
};
|
166
|
-
};
|
167
|
-
export declare const useDefineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettings) => {
|
168
|
-
configuration: EditorChromeConfiguration;
|
169
|
-
store: {
|
170
|
-
state: {
|
171
|
-
compatibilityMode: boolean;
|
172
|
-
layout: {
|
173
|
-
definition: import("@omnia/fx-models").LayoutDefinition;
|
174
|
-
ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
|
175
|
-
originalId: guid;
|
176
|
-
};
|
177
|
-
id: guid;
|
178
|
-
settings: {
|
179
|
-
providers: {
|
180
|
-
block: string;
|
181
|
-
mediaContext: ILayoutMediaContext;
|
182
|
-
fileContext: ILayoutFileContext;
|
183
|
-
dependencyProviders: string[];
|
184
|
-
};
|
185
|
-
};
|
186
|
-
};
|
187
|
-
actions: import("../../mobile").StoreReturnDefineAction<{
|
188
|
-
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
189
|
-
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
190
|
-
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => void;
|
191
|
-
}>;
|
192
|
-
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
193
|
-
set: (layout: import("@omnia/fx-models").Layout) => void;
|
194
|
-
}>;
|
195
|
-
providers: () => {
|
196
|
-
set: {
|
197
|
-
dependencyProviders: (providers: Array<string>) => void;
|
198
|
-
block: (blockProvider: string) => void;
|
199
|
-
mediaContext: (mediaContext: ILayoutMediaContext) => void;
|
200
|
-
fileContext: (fileContext: ILayoutFileContext) => void;
|
201
|
-
};
|
202
|
-
};
|
203
|
-
notify: (blockManifestId: string) => void;
|
204
|
-
init: () => {
|
205
|
-
readOnlyCanvas: (blockProvider: string, mediaContext: ILayoutMediaContext, fileContext: ILayoutFileContext) => void;
|
206
|
-
editableCanvas: (editorChromeStore: ReturnType<typeof useEditorChromeStore>, blockProvider: string, mediaContext: ILayoutMediaContext, fileContext: ILayoutFileContext) => void;
|
207
|
-
};
|
208
|
-
}>;
|
209
|
-
get: {
|
210
|
-
layout: {
|
211
|
-
loaded: () => import("@omnia/fx-models").LoadedLayout;
|
212
|
-
};
|
213
|
-
block: {
|
214
|
-
readonly instances: {
|
215
|
-
[blockManifestId: string]: Set<{
|
216
|
-
instance: import("../..").IBlockInstanceExtendsInternal<void>;
|
217
|
-
}>;
|
218
|
-
};
|
219
|
-
readonly settings: import("../..").ReactiveLayoutItemsSettingsStore;
|
220
|
-
settingsProvider: () => import("../..").BlockSettingsProvider;
|
221
|
-
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
222
|
-
};
|
223
|
-
providers: {
|
224
|
-
block: string;
|
225
|
-
mediaContext: ILayoutMediaContext;
|
226
|
-
fileContext: ILayoutFileContext;
|
227
|
-
};
|
228
|
-
};
|
229
|
-
rules: {
|
230
|
-
isEditMode: () => boolean;
|
231
|
-
};
|
232
|
-
readonly editor: {
|
233
|
-
state: {
|
234
|
-
editorMode: import("@omnia/fx-models").LayoutCanvasMode;
|
235
|
-
id: guid;
|
236
|
-
settings: {
|
237
|
-
authDisabled: boolean;
|
238
|
-
breakpointSettingsEnabled: boolean;
|
239
|
-
};
|
240
|
-
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
241
|
-
selected: {
|
242
|
-
layoutItem: import("@omnia/fx-models").LayoutItem;
|
243
|
-
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
244
|
-
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
245
|
-
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
246
|
-
};
|
247
|
-
active: {
|
248
|
-
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
249
97
|
};
|
250
98
|
};
|
251
99
|
actions: import("../../mobile").StoreReturnDefineAction<{
|
100
|
+
onActivated: () => void;
|
252
101
|
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
253
102
|
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
254
103
|
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
@@ -268,6 +117,7 @@ export declare const useDefineLayoutEditorCanvas: (param1: LayoutEditorCanvasSet
|
|
268
117
|
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
269
118
|
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
270
119
|
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
120
|
+
developerTools: () => void;
|
271
121
|
}>;
|
272
122
|
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
273
123
|
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
|
@@ -282,7 +132,8 @@ export declare const useDefineLayoutEditorCanvas: (param1: LayoutEditorCanvasSet
|
|
282
132
|
title?: string;
|
283
133
|
enabled?: boolean;
|
284
134
|
}, customScroll?: boolean) => void;
|
285
|
-
setEditorMode: (mode: import("@omnia/fx-models").
|
135
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
136
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
286
137
|
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
287
138
|
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
288
139
|
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, ClipboardLayoutItem, DeleteItemFromLayoutPayLoad, DisplayBreakPoint, guid, IIcon, Layout, LayoutCanvasMode, LayoutItem, LayoutItemActionState, Section, SectionTypes } from "@omnia/fx-models";
|
1
|
+
import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, ClipboardLayoutItem, DeleteItemFromLayoutPayLoad, DisplayBreakPoint, guid, IIcon, Layout, LayoutCanvasEditorMode, LayoutCanvasMode, LayoutItem, LayoutItemActionState, Section, SectionTypes } from "@omnia/fx-models";
|
2
2
|
import { CopiedLayoutItemResult, LayoutDefinitionBuilder, useLayoutCanvasStore } from "..";
|
3
3
|
import { useEditorChromeStore } from "../..";
|
4
4
|
export declare const useLayoutCanvasEditorStore: () => {
|
5
5
|
state: {
|
6
|
-
editorMode:
|
6
|
+
editorMode: LayoutCanvasEditorMode;
|
7
|
+
canvasMode: LayoutCanvasMode;
|
7
8
|
id: guid;
|
8
9
|
settings: {
|
9
10
|
authDisabled: boolean;
|
@@ -19,8 +20,14 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
19
20
|
active: {
|
20
21
|
layoutItemAction: LayoutItemActionState;
|
21
22
|
};
|
23
|
+
dialogs: {
|
24
|
+
developerTools: {
|
25
|
+
show: boolean;
|
26
|
+
};
|
27
|
+
};
|
22
28
|
};
|
23
29
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
30
|
+
onActivated: () => void;
|
24
31
|
scrollToLayoutItem: (item: LayoutItem) => void;
|
25
32
|
selection: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
26
33
|
execActiveAction: (container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
@@ -40,6 +47,7 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
40
47
|
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
41
48
|
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
42
49
|
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
50
|
+
developerTools: () => void;
|
43
51
|
}>;
|
44
52
|
layout: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
45
53
|
copyItem: (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
@@ -54,7 +62,8 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
54
62
|
title?: string;
|
55
63
|
enabled?: boolean;
|
56
64
|
}, customScroll?: boolean) => void;
|
57
|
-
setEditorMode: (mode:
|
65
|
+
setEditorMode: (mode: LayoutCanvasEditorMode) => void;
|
66
|
+
setCanvasMode: (mode: LayoutCanvasMode) => void;
|
58
67
|
hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
59
68
|
onBlockRemoved(block: Block): void;
|
60
69
|
onLayoutItemMoved(layoutItem: LayoutItem): void;
|
@@ -86,7 +86,8 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
86
86
|
};
|
87
87
|
readonly editor: {
|
88
88
|
state: {
|
89
|
-
editorMode: import("@omnia/fx-models").
|
89
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
90
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
90
91
|
id: guid;
|
91
92
|
settings: {
|
92
93
|
authDisabled: boolean;
|
@@ -102,8 +103,14 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
102
103
|
active: {
|
103
104
|
layoutItemAction: LayoutItemActionState;
|
104
105
|
};
|
106
|
+
dialogs: {
|
107
|
+
developerTools: {
|
108
|
+
show: boolean;
|
109
|
+
};
|
110
|
+
};
|
105
111
|
};
|
106
112
|
actions: import("../../../stores").StoreReturnDefineAction<{
|
113
|
+
onActivated: () => void;
|
107
114
|
scrollToLayoutItem: (item: LayoutItem) => void;
|
108
115
|
selection: () => import("../../../stores").StoreReturnDefineAction<{
|
109
116
|
execActiveAction: (container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
@@ -123,6 +130,7 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
123
130
|
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
124
131
|
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
125
132
|
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
133
|
+
developerTools: () => void;
|
126
134
|
}>;
|
127
135
|
layout: () => import("../../../stores").StoreReturnDefineAction<{
|
128
136
|
copyItem: (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
@@ -137,7 +145,8 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
137
145
|
title?: string;
|
138
146
|
enabled?: boolean;
|
139
147
|
}, customScroll?: boolean) => void;
|
140
|
-
setEditorMode: (mode: import("@omnia/fx-models").
|
148
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
149
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
141
150
|
hooks: () => import("../../../stores").StoreReturnDefineAction<{
|
142
151
|
onBlockRemoved(block: Block): void;
|
143
152
|
onLayoutItemMoved(layoutItem: LayoutItem): void;
|
@@ -79,7 +79,8 @@ export declare const useLayoutCanvasStore: () => {
|
|
79
79
|
};
|
80
80
|
readonly editor: {
|
81
81
|
state: {
|
82
|
-
editorMode: import("@omnia/fx-models").
|
82
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
|
83
|
+
canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
|
83
84
|
id: guid;
|
84
85
|
settings: {
|
85
86
|
authDisabled: boolean;
|
@@ -95,8 +96,14 @@ export declare const useLayoutCanvasStore: () => {
|
|
95
96
|
active: {
|
96
97
|
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
97
98
|
};
|
99
|
+
dialogs: {
|
100
|
+
developerTools: {
|
101
|
+
show: boolean;
|
102
|
+
};
|
103
|
+
};
|
98
104
|
};
|
99
105
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
106
|
+
onActivated: () => void;
|
100
107
|
scrollToLayoutItem: (item: LayoutItem) => void;
|
101
108
|
selection: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
102
109
|
execActiveAction: (container: LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
@@ -116,6 +123,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
116
123
|
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
117
124
|
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
118
125
|
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
126
|
+
developerTools: () => void;
|
119
127
|
}>;
|
120
128
|
layout: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
121
129
|
copyItem: (item2Copy: LayoutItem, container: LayoutItem, siblingId?: string, postInsert?: boolean) => CopiedLayoutItemResult;
|
@@ -130,7 +138,8 @@ export declare const useLayoutCanvasStore: () => {
|
|
130
138
|
title?: string;
|
131
139
|
enabled?: boolean;
|
132
140
|
}, customScroll?: boolean) => void;
|
133
|
-
setEditorMode: (mode: import("@omnia/fx-models").
|
141
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
|
142
|
+
setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
134
143
|
hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
135
144
|
onBlockRemoved(block: Block): void;
|
136
145
|
onLayoutItemMoved(layoutItem: LayoutItem): void;
|
@@ -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,18 @@
|
|
1
|
+
import { LinkItemV2, LinkProviderId } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
+
"emit:update:modelValue": (value: LinkItemV2) => void;
|
4
|
+
} & {
|
5
|
+
"v-model"?: LinkItemV2;
|
6
|
+
} & {
|
7
|
+
modelValue?: LinkItemV2;
|
8
|
+
} & {
|
9
|
+
allowProviders?: LinkProviderId[];
|
10
|
+
}> & {
|
11
|
+
"onUpdate:modelValue"?: (value: LinkItemV2) => any;
|
12
|
+
} & {
|
13
|
+
"v-slots"?: {} & Omit<{
|
14
|
+
default?: import("vue").Slot;
|
15
|
+
$stable?: boolean;
|
16
|
+
}, never>;
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "allowProviders"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
|
+
export default _default;
|
@@ -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
|
+
}
|
@@ -2,5 +2,5 @@ import { LinkItem, LinkProviderId } from "@omnia/fx-models";
|
|
2
2
|
export interface ILinkItemHandler {
|
3
3
|
id: LinkProviderId;
|
4
4
|
onClick: (e: MouseEvent, link: LinkItem) => void;
|
5
|
-
resolveUrl: (link: LinkItem) => Promise<string
|
5
|
+
resolveUrl: (link: LinkItem) => Promise<string> | string;
|
6
6
|
}
|
@@ -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
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { OMenuLocations } from "@omnia/fx-models";
|
4
|
-
type MenuProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", boolean, false, false> & DefineProp<"activator", string, false, null, "Supply a CSS selector string to activator prop."> & DefineProp<"attach", string | boolean | Element, false, null, "Specifies which DOM element the overlay content should teleport to."> & DefineProp<"minWidth", string | number, false, null, "Sets the minimum width for the component. Use auto to use the activator width."> & DefineProp<"maxWidth", string | number, false, null, "Sets the maximum width for the component."> & DefineProp<"minHeight", string | number, false, null, "Sets the minimum height for the component."> & DefineProp<"maxHeight", string | number, false, null, "Sets the maximum height for the component."> & DefineProp<"closeDelay", string | number, false, null, "Milliseconds to wait before closing component. Only works with the open-on-hover prop."> & DefineProp<"location", OMenuLocations, false, "bottom start", "Designates where the menu should be placed."> & DefineProp<"openOnHover", boolean, false, null, "Designates whether menu should open on hover or not."> & DefineProp<"visibleOnContentClick", boolean, false, false, "Designates if menu still show when its content is clicked"> & DefineProp<"disabled", boolean, false, false, "Removed the ability to interact with the component."> & DefineProp<"eager", boolean, false, false> & DefineSlot<"activator", () => VNodeChild>;
|
4
|
+
type MenuProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", boolean, false, false> & DefineProp<"activator", string, false, null, "Supply a CSS selector string to activator prop."> & DefineProp<"attach", string | boolean | Element, false, null, "Specifies which DOM element the overlay content should teleport to."> & DefineProp<"minWidth", string | number, false, null, "Sets the minimum width for the component. Use auto to use the activator width."> & DefineProp<"maxWidth", string | number, false, null, "Sets the maximum width for the component."> & DefineProp<"minHeight", string | number, false, null, "Sets the minimum height for the component."> & DefineProp<"maxHeight", string | number, false, null, "Sets the maximum height for the component."> & DefineProp<"closeDelay", string | number, false, null, "Milliseconds to wait before closing component. Only works with the open-on-hover prop."> & DefineProp<"location", OMenuLocations, false, "bottom start", "Designates where the menu should be placed."> & DefineProp<"openOnHover", boolean, false, null, "Designates whether menu should open on hover or not."> & DefineProp<"visibleOnContentClick", boolean, false, false, "Designates if menu still show when its content is clicked"> & DefineProp<"disabled", boolean, false, false, "Removed the ability to interact with the component."> & DefineProp<"scrollStrategy", "close" | "none" | "block" | "reposition", false, "close", "Strategy used when the component is activate and user scrolls."> & DefineProp<"eager", boolean, false, false> & DefineSlot<"activator", () => VNodeChild>;
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<MenuProps> & {
|
6
6
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
7
7
|
} & {
|
@@ -11,5 +11,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<MenuProps> &
|
|
11
11
|
default?: import("vue").Slot;
|
12
12
|
$stable?: boolean;
|
13
13
|
}, "activator">;
|
14
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "colorSchemaType" | "class" | "disabled" | "colors" | "v-model" | "modelValue" | "emit:update:modelValue" | "eager" | "location" | "closeDelay" | "openOnHover" | "activator" | "attach" | "slot:activator" | "visibleOnContentClick"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
14
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "colorSchemaType" | "class" | "disabled" | "colors" | "v-model" | "modelValue" | "emit:update:modelValue" | "eager" | "location" | "closeDelay" | "scrollStrategy" | "openOnHover" | "activator" | "attach" | "slot:activator" | "visibleOnContentClick"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
15
15
|
export default _default;
|
@@ -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;
|
@@ -2,11 +2,6 @@ import { PromotedTagOptions, Tag } from "@omnia/fx-models";
|
|
2
2
|
import { DefineEmit } from "@omnia/fx/ux";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
4
|
searchKeyword?: string;
|
5
|
-
} & {
|
6
|
-
positionInfo?: {
|
7
|
-
x: number;
|
8
|
-
y: number;
|
9
|
-
};
|
10
5
|
} & {
|
11
6
|
promotedTagOptions?: PromotedTagOptions;
|
12
7
|
} & DefineEmit<"tagSelected", (selectedValue: Tag) => void>> & {
|
@@ -16,5 +11,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
16
11
|
default?: import("vue").Slot;
|
17
12
|
$stable?: boolean;
|
18
13
|
}, never>;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "promotedTagOptions" | "searchKeyword" | "
|
14
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "promotedTagOptions" | "searchKeyword" | "emit:tagSelected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
15
|
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';
|
@@ -74,6 +75,7 @@ import wc3392707566c844e39f57097aade4e81c from './ux/jsonexportimport/ExportImpo
|
|
74
75
|
import wc20b4e8166fb44f2b8b240724eb5f2db2 from './ux/languagepicker/LanguagePicker';
|
75
76
|
import wcfc7e793728e64099ab1b37b8f89e8693 from './ux/letteravatar/LetterAvatar';
|
76
77
|
import wc6c2ac8bf4da44a2b8e544eaf5b42099f from './ux/limited-label/LimitedLabel';
|
78
|
+
import wc1114043c582d4359a5261781854e77a3 from './ux/links/LinkPickerV2';
|
77
79
|
import wc9e7b4a48efba4dc390986eeb638b34cd from './ux/links/LinkPicker';
|
78
80
|
import wc4892102894624a4ca84e67df764cbe93 from './ux/links/LinkRenderer';
|
79
81
|
import wc106dba3f206e4ad7bbb28e574e3da49e from './ux/magiclink/MagicLinkLogin';
|
@@ -1479,7 +1481,13 @@ declare global {
|
|
1479
1481
|
} : typeof wcaac689be588e4dd3ac8166ac631a37f1;
|
1480
1482
|
};
|
1481
1483
|
};
|
1482
|
-
"filter": {
|
1484
|
+
"filter": (typeof wc14db052e2e844741973a944d51871c32 extends {
|
1485
|
+
propsDefinition: infer TProp;
|
1486
|
+
} ? {
|
1487
|
+
new (...args: any[]): {
|
1488
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1489
|
+
};
|
1490
|
+
} : typeof wc14db052e2e844741973a944d51871c32) & {
|
1483
1491
|
"picker": typeof wc46a6c15c2a0e446fbef9770274409366 extends {
|
1484
1492
|
propsDefinition: infer TProp;
|
1485
1493
|
} ? {
|
@@ -1788,13 +1796,21 @@ declare global {
|
|
1788
1796
|
} : typeof wc6c2ac8bf4da44a2b8e544eaf5b42099f;
|
1789
1797
|
};
|
1790
1798
|
"link": {
|
1791
|
-
"picker": typeof wc9e7b4a48efba4dc390986eeb638b34cd extends {
|
1799
|
+
"picker": (typeof wc9e7b4a48efba4dc390986eeb638b34cd extends {
|
1792
1800
|
propsDefinition: infer TProp;
|
1793
1801
|
} ? {
|
1794
1802
|
new (...args: any[]): {
|
1795
1803
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1796
1804
|
};
|
1797
|
-
} : typeof wc9e7b4a48efba4dc390986eeb638b34cd
|
1805
|
+
} : typeof wc9e7b4a48efba4dc390986eeb638b34cd) & {
|
1806
|
+
"v2": typeof wc1114043c582d4359a5261781854e77a3 extends {
|
1807
|
+
propsDefinition: infer TProp;
|
1808
|
+
} ? {
|
1809
|
+
new (...args: any[]): {
|
1810
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1811
|
+
};
|
1812
|
+
} : typeof wc1114043c582d4359a5261781854e77a3;
|
1813
|
+
};
|
1798
1814
|
"renderer": typeof wc4892102894624a4ca84e67df764cbe93 extends {
|
1799
1815
|
propsDefinition: infer TProp;
|
1800
1816
|
} ? {
|
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.512-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.512-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|