@omnia/fx 8.0.510-dev → 8.0.511-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/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/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/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/LinkPickerV2.d.ts +18 -0
- package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItemHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/tag/HashTagList.d.ts +1 -6
- package/internal-do-not-import-from-here/wctypings.d.ts +11 -2
- 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;
|
@@ -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>;
|
@@ -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
|
} & {
|
@@ -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;
|
@@ -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;
|
@@ -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,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;
|
@@ -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;
|
@@ -74,6 +74,7 @@ import wc3392707566c844e39f57097aade4e81c from './ux/jsonexportimport/ExportImpo
|
|
74
74
|
import wc20b4e8166fb44f2b8b240724eb5f2db2 from './ux/languagepicker/LanguagePicker';
|
75
75
|
import wcfc7e793728e64099ab1b37b8f89e8693 from './ux/letteravatar/LetterAvatar';
|
76
76
|
import wc6c2ac8bf4da44a2b8e544eaf5b42099f from './ux/limited-label/LimitedLabel';
|
77
|
+
import wc1114043c582d4359a5261781854e77a3 from './ux/links/LinkPickerV2';
|
77
78
|
import wc9e7b4a48efba4dc390986eeb638b34cd from './ux/links/LinkPicker';
|
78
79
|
import wc4892102894624a4ca84e67df764cbe93 from './ux/links/LinkRenderer';
|
79
80
|
import wc106dba3f206e4ad7bbb28e574e3da49e from './ux/magiclink/MagicLinkLogin';
|
@@ -1788,13 +1789,21 @@ declare global {
|
|
1788
1789
|
} : typeof wc6c2ac8bf4da44a2b8e544eaf5b42099f;
|
1789
1790
|
};
|
1790
1791
|
"link": {
|
1791
|
-
"picker": typeof wc9e7b4a48efba4dc390986eeb638b34cd extends {
|
1792
|
+
"picker": (typeof wc9e7b4a48efba4dc390986eeb638b34cd extends {
|
1792
1793
|
propsDefinition: infer TProp;
|
1793
1794
|
} ? {
|
1794
1795
|
new (...args: any[]): {
|
1795
1796
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1796
1797
|
};
|
1797
|
-
} : typeof wc9e7b4a48efba4dc390986eeb638b34cd
|
1798
|
+
} : typeof wc9e7b4a48efba4dc390986eeb638b34cd) & {
|
1799
|
+
"v2": typeof wc1114043c582d4359a5261781854e77a3 extends {
|
1800
|
+
propsDefinition: infer TProp;
|
1801
|
+
} ? {
|
1802
|
+
new (...args: any[]): {
|
1803
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1804
|
+
};
|
1805
|
+
} : typeof wc1114043c582d4359a5261781854e77a3;
|
1806
|
+
};
|
1798
1807
|
"renderer": typeof wc4892102894624a4ca84e67df764cbe93 extends {
|
1799
1808
|
propsDefinition: infer TProp;
|
1800
1809
|
} ? {
|
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.511-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.511-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
|