@omnia/fx 8.0.507-dev → 8.0.508-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/ux/editor/models/SettingsJourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editor/settings/DefineJourneyMenuSettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeConfiguration.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeView.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/editorchrome/define/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +312 -4
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { VNodeChild } from "vue";
|
2
|
-
import { SettingsJourneyMenuItem } from "
|
2
|
+
import { SettingsJourneyMenuItem } from "@omnia/fx/ux";
|
3
3
|
import { guid } from "@omnia/fx-models";
|
4
4
|
export interface SettingsJourneyMenuItemRenderer extends Omit<SettingsJourneyMenuItem, "id"> {
|
5
5
|
renderer: (item: SettingsJourneyMenuItem) => VNodeChild;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type SettingsJourneyMenuItem } from "
|
1
|
+
import { type SettingsJourneyMenuItem } from "@omnia/fx/ux";
|
2
2
|
import { ConstructComponentProps, DefineProp, VNodeEvents } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
import { useJourneyMenuSettingsStore } from "../stores";
|
package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeConfiguration.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
import { EditorChromeConfiguration, InstanceLifetimes } from "@omnia/fx-models";
|
2
|
+
type ReturnEditorChromeConfigurationSetup = {
|
3
|
+
configuration: EditorChromeConfiguration;
|
4
|
+
};
|
5
|
+
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup>(setup: () => TReturnSetup, lifetime?: InstanceLifetimes): () => TReturnSetup;
|
6
|
+
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup, T1>(setup: (param1: T1, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1) => TReturnSetup;
|
7
|
+
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup, T1, T2>(setup: (param1: T1, param2: T2, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2) => TReturnSetup;
|
8
|
+
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup, T1, T2, T3>(setup: (param1: T1, param2: T2, param3: T3, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2, param3: T3) => TReturnSetup;
|
9
|
+
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup, T1, T2, T3, T4>(setup: (param1: T1, param2: T2, param3: T3, param4: T4, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2, param3: T3, param4: T4) => TReturnSetup;
|
10
|
+
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup, T1, T2, T3, T4, T5>(setup: (param1: T1, param2: T2, param3: T3, param4: T4, param5: T5, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2, param3: T3, param4: T4, param5: T5) => TReturnSetup;
|
11
|
+
export {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { EditorChromeView, InstanceLifetimes } from "@omnia/fx-models";
|
2
|
+
type ReturnEditorChromeViewSetup = {
|
3
|
+
view: EditorChromeView;
|
4
|
+
};
|
5
|
+
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup>(setup: () => TReturnSetup, lifetime?: InstanceLifetimes): () => TReturnSetup;
|
6
|
+
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup, T1>(setup: (param1: T1, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1) => TReturnSetup;
|
7
|
+
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup, T1, T2>(setup: (param1: T1, param2: T2, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2) => TReturnSetup;
|
8
|
+
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup, T1, T2, T3>(setup: (param1: T1, param2: T2, param3: T3, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2, param3: T3) => TReturnSetup;
|
9
|
+
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup, T1, T2, T3, T4>(setup: (param1: T1, param2: T2, param3: T3, param4: T4, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2, param3: T3, param4: T4) => TReturnSetup;
|
10
|
+
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup, T1, T2, T3, T4, T5>(setup: (param1: T1, param2: T2, param3: T3, param4: T4, param5: T5, lifetime?: InstanceLifetimes) => TReturnSetup): (param1: T1, param2: T2, param3: T3, param4: T4, param5: T5) => TReturnSetup;
|
11
|
+
export {};
|
@@ -141,11 +141,14 @@ export declare const useEditorChromeStore: () => {
|
|
141
141
|
};
|
142
142
|
editorView: () => {
|
143
143
|
register: (editorView: EditorChromeView | EditorChromeView[]) => void;
|
144
|
-
setAsActive: (
|
144
|
+
setAsActive: (view: EditorChromeView) => void;
|
145
145
|
clearActive: () => void;
|
146
|
-
remove: (
|
146
|
+
remove: (view: EditorChromeView) => void;
|
147
147
|
};
|
148
148
|
configuration: () => {
|
149
|
+
hideAll: () => void;
|
150
|
+
selectDefault: () => void;
|
151
|
+
show: (config: EditorChromeConfiguration) => void;
|
149
152
|
clearActive: () => void;
|
150
153
|
syncEditor: () => void;
|
151
154
|
update: (configuration: EditorChromeConfiguration) => void;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EditorChromeConfiguration, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
|
2
|
-
import { useEditorChromeStore } from "
|
1
|
+
import { EditorChromeConfiguration, guid, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
|
2
|
+
import { useEditorChromeStore, useLayoutCanvasStore } from "../..";
|
3
3
|
export interface LayoutEditorCanvasSettings {
|
4
4
|
blockProvider?: string;
|
5
5
|
deisgnModes?: "design" | "write" | "design preview" | "write preview" | "design write" | "design write preview";
|
@@ -7,9 +7,317 @@ export interface LayoutEditorCanvasSettings {
|
|
7
7
|
mediaContext?: ILayoutMediaContext;
|
8
8
|
fileContext?: ILayoutFileContext;
|
9
9
|
}
|
10
|
-
export declare const defineLayoutEditorCanvas: () => {
|
10
|
+
export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettings) => {
|
11
11
|
configuration: EditorChromeConfiguration;
|
12
|
+
store: {
|
13
|
+
state: {
|
14
|
+
compatibilityMode: boolean;
|
15
|
+
layout: {
|
16
|
+
definition: import("@omnia/fx-models").LayoutDefinition;
|
17
|
+
ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
|
18
|
+
originalId: guid;
|
19
|
+
};
|
20
|
+
id: guid;
|
21
|
+
settings: {
|
22
|
+
providers: {
|
23
|
+
block: string;
|
24
|
+
mediaContext: ILayoutMediaContext;
|
25
|
+
fileContext: ILayoutFileContext;
|
26
|
+
dependencyProviders: string[];
|
27
|
+
};
|
28
|
+
};
|
29
|
+
};
|
30
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
31
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
32
|
+
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
33
|
+
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => void;
|
34
|
+
}>;
|
35
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
36
|
+
set: (layout: import("@omnia/fx-models").Layout) => void;
|
37
|
+
}>;
|
38
|
+
providers: () => {
|
39
|
+
set: {
|
40
|
+
dependencyProviders: (providers: Array<string>) => void;
|
41
|
+
block: (blockProvider: string) => void;
|
42
|
+
mediaContext: (mediaContext: ILayoutMediaContext) => void;
|
43
|
+
fileContext: (fileContext: ILayoutFileContext) => void;
|
44
|
+
};
|
45
|
+
};
|
46
|
+
notify: (blockManifestId: string) => void;
|
47
|
+
init: () => {
|
48
|
+
readOnlyCanvas: (blockProvider: string, mediaContext: ILayoutMediaContext, fileContext: ILayoutFileContext) => void;
|
49
|
+
editableCanvas: (editorChromeStore: ReturnType<typeof useEditorChromeStore>, blockProvider: string, mediaContext: ILayoutMediaContext, fileContext: ILayoutFileContext) => void;
|
50
|
+
};
|
51
|
+
}>;
|
52
|
+
get: {
|
53
|
+
layout: {
|
54
|
+
loaded: () => import("@omnia/fx-models").LoadedLayout;
|
55
|
+
};
|
56
|
+
block: {
|
57
|
+
readonly instances: {
|
58
|
+
[blockManifestId: string]: Set<{
|
59
|
+
instance: import("../..").IBlockInstanceExtendsInternal<void>;
|
60
|
+
}>;
|
61
|
+
};
|
62
|
+
readonly settings: import("../..").ReactiveLayoutItemsSettingsStore;
|
63
|
+
settingsProvider: () => import("../..").BlockSettingsProvider;
|
64
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
65
|
+
};
|
66
|
+
providers: {
|
67
|
+
block: string;
|
68
|
+
mediaContext: ILayoutMediaContext;
|
69
|
+
fileContext: ILayoutFileContext;
|
70
|
+
};
|
71
|
+
};
|
72
|
+
rules: {
|
73
|
+
isEditMode: () => boolean;
|
74
|
+
};
|
75
|
+
readonly editor: {
|
76
|
+
state: {
|
77
|
+
editorMode: import("@omnia/fx-models").LayoutCanvasMode;
|
78
|
+
id: guid;
|
79
|
+
settings: {
|
80
|
+
authDisabled: boolean;
|
81
|
+
breakpointSettingsEnabled: boolean;
|
82
|
+
};
|
83
|
+
drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
|
84
|
+
selected: {
|
85
|
+
layoutItem: import("@omnia/fx-models").LayoutItem;
|
86
|
+
clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
|
87
|
+
displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
|
88
|
+
layoutItem4Action: import("@omnia/fx-models").LayoutItem;
|
89
|
+
};
|
90
|
+
active: {
|
91
|
+
layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
|
92
|
+
};
|
93
|
+
};
|
94
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
95
|
+
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
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;
|
107
|
+
};
|
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
|
+
};
|
12
166
|
};
|
13
|
-
export declare const useDefineLayoutEditorCanvas: () => {
|
167
|
+
export declare const useDefineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettings) => {
|
14
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
|
+
};
|
250
|
+
};
|
251
|
+
actions: import("../../mobile").StoreReturnDefineAction<{
|
252
|
+
scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
|
253
|
+
selection: () => import("../../mobile").StoreReturnDefineAction<{
|
254
|
+
execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
255
|
+
toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
|
256
|
+
removeActiveAction: () => void;
|
257
|
+
removeLayoutItemSelection: () => void;
|
258
|
+
setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
|
259
|
+
}>;
|
260
|
+
enableDisplayBreakpointSettings: (enable: boolean) => void;
|
261
|
+
block: () => {
|
262
|
+
set: {
|
263
|
+
suggestedBlocks: (blocks: string[]) => void;
|
264
|
+
};
|
265
|
+
ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
|
266
|
+
};
|
267
|
+
show: () => import("../../mobile").StoreReturnDefineAction<{
|
268
|
+
settingsPanel: (action: "show" | "hide" | "toggle") => void;
|
269
|
+
layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
|
270
|
+
clipboardPanel: (action: "show" | "hide" | "toggle") => void;
|
271
|
+
}>;
|
272
|
+
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
273
|
+
copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
|
274
|
+
moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
|
275
|
+
addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
|
276
|
+
insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
|
277
|
+
deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
|
278
|
+
changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
|
279
|
+
}>;
|
280
|
+
configureDrawer: (header: {
|
281
|
+
icon?: import("@omnia/fx-models").IIcon;
|
282
|
+
title?: string;
|
283
|
+
enabled?: boolean;
|
284
|
+
}, customScroll?: boolean) => void;
|
285
|
+
setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
|
286
|
+
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
287
|
+
onBlockRemoved(block: import("@omnia/fx-models").Block): void;
|
288
|
+
onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
|
289
|
+
onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
|
290
|
+
onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
|
291
|
+
}>;
|
292
|
+
init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
|
293
|
+
}>;
|
294
|
+
get: {
|
295
|
+
settingsDefinitions: import("../..").LayoutDefinitionBuilder;
|
296
|
+
layout: {
|
297
|
+
active: () => import("@omnia/fx-models").Layout;
|
298
|
+
};
|
299
|
+
block: {
|
300
|
+
suggestions: () => string[];
|
301
|
+
renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
|
302
|
+
};
|
303
|
+
};
|
304
|
+
rules: {
|
305
|
+
isSettingsActive: () => boolean;
|
306
|
+
isLayoutStructureActive: () => boolean;
|
307
|
+
isClipboardActive: () => boolean;
|
308
|
+
activeItem: {
|
309
|
+
isSection(): boolean;
|
310
|
+
};
|
311
|
+
showSelectors: () => boolean;
|
312
|
+
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
313
|
+
isTemplateEnabledLayout: () => boolean;
|
314
|
+
isAdvancedModeActivated: () => boolean;
|
315
|
+
isAuthDisabled: () => boolean;
|
316
|
+
};
|
317
|
+
} & {
|
318
|
+
dispose?: () => void;
|
319
|
+
};
|
320
|
+
} & {
|
321
|
+
dispose?: () => void;
|
322
|
+
};
|
15
323
|
};
|
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.508-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.508-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|