@omnia/fx 8.0.530-dev → 8.0.532-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.
Files changed (22) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.editor.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/ux/admin/systemlayout/SystemLayoutJourney_old.d.ts +10 -0
  3. package/internal-do-not-import-from-here/ux/editorchrome/define/EditorChromeConfigurationHelper.d.ts +15 -0
  4. package/internal-do-not-import-from-here/ux/editorchrome/define/index.d.ts +1 -0
  5. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +1 -0
  6. package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineHandler.d.ts +2 -2
  7. package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +2 -2
  8. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +39 -2
  9. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +25 -1
  10. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +14 -1
  11. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +27 -2
  12. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +4 -3
  13. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +3 -1
  14. package/internal-do-not-import-from-here/ux/sidepanel/SidePanelRenderer.d.ts +2 -5
  15. package/internal-do-not-import-from-here/ux/versionedlayout/blade/Shared.d.ts +2 -0
  16. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutCreation.d.ts +10 -0
  17. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts +3 -1
  18. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +6 -0
  19. package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +7 -1
  20. package/internal-do-not-import-from-here/wctypings.d.ts +7 -9
  21. package/package.json +2 -2
  22. package/internal-do-not-import-from-here/ux/versionedlayout/editor/helpers/ConfigurationHelper.d.ts +0 -43
@@ -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","useJourneyMenuSettingsStore"]}}}
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","useEditorChromeConfigurationHelper","useJourneyMenuSettingsStore"]}}}
@@ -0,0 +1,10 @@
1
+ import { AdminNavigationBuiltInCategory } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ category?: AdminNavigationBuiltInCategory;
4
+ }> & {} & {
5
+ "v-slots"?: {} & Omit<{
6
+ default?: import("vue").Slot;
7
+ $stable?: boolean;
8
+ }, never>;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "category"> & import("@omnia/fx/ux").VNodeEvents) => any;
10
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { ChromeActionItem, EditorChromeConfiguration } from "@omnia/fx-models";
2
+ export declare function useEditorChromeConfigurationHelper(): {
3
+ add: {
4
+ actionToLeftFooter: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem) => void;
5
+ actionToRightFooter: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem) => void;
6
+ actionToCenterFooter: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem) => void;
7
+ actionToExtendedRightFooter: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem) => void;
8
+ actionsToToolbar: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], actions: ChromeActionItem[], location: "left" | "right" | "center" | "extendedRight") => void;
9
+ };
10
+ ensure: {
11
+ allToolbars: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[]) => void;
12
+ footerToolbar: (configuration: EditorChromeConfiguration) => void;
13
+ headerToolbar: (configuration: EditorChromeConfiguration) => void;
14
+ };
15
+ };
@@ -1,2 +1,3 @@
1
1
  export * from "./DefineEditorChromeConfiguration";
2
2
  export * from "./DefineEditorChromeView";
3
+ export * from "./EditorChromeConfigurationHelper";
@@ -174,6 +174,7 @@ export declare const useEditorChromeStore: () => {
174
174
  };
175
175
  remove: (view: EditorChromeView) => void;
176
176
  history: {
177
+ removeCurrent: () => void;
177
178
  goBack: () => boolean;
178
179
  goForward: () => boolean;
179
180
  addToHistory: (view: EditorChromeView) => void;
@@ -65,16 +65,16 @@ export declare class FilterEngineHandler extends Store {
65
65
  hasDefaultStyling: () => boolean;
66
66
  getFilterSettingStyles: () => TermColorSettings;
67
67
  getPropertyDefinitionId: (typedHandler: ITypedFilterEngineHandler) => BaseFilterEnginePropertyType;
68
+ getSidePanelId: () => guid;
68
69
  };
69
70
  mutations: {
70
71
  registerTopElement: import("@omnia/fx/stores").StoreMutation<(element: Element) => void, (element: Element) => IMessageBusSubscriptionHandler>;
71
72
  setKeywordsSearching: import("@omnia/fx/stores").StoreMutation<(keywordsSearching: string) => void, (keywordsSearching: string) => IMessageBusSubscriptionHandler>;
72
73
  setPageNumber: import("@omnia/fx/stores").StoreMutation<(pageNumber: number) => void, (pageNumber: number) => IMessageBusSubscriptionHandler>;
73
74
  clearAllSelections: import("@omnia/fx/stores").StoreMutation<(typedHandlers: ITypedFilterEngineHandler[]) => void, (typedHandlers: ITypedFilterEngineHandler[]) => IMessageBusSubscriptionHandler>;
74
- toggleShowDialog: import("@omnia/fx/stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>;
75
- ensureCloseDialog: import("@omnia/fx/stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>;
76
75
  setLatestRefiner: import("@omnia/fx/stores").StoreMutation<(internalName: string, refiner: Refiner<Refinement>) => void, (internalName: string, refiner: Refiner<Refinement>) => IMessageBusSubscriptionHandler>;
77
76
  setUpdateDataCallback: import("@omnia/fx/stores").StoreMutation<(callback: () => Promise<void>) => void, (callback: () => Promise<void>) => IMessageBusSubscriptionHandler>;
77
+ setSidePanelId: import("@omnia/fx/stores").StoreMutation<(id: guid) => void, (id: guid) => IMessageBusSubscriptionHandler>;
78
78
  };
79
79
  actions: {
80
80
  init: import("@omnia/fx/stores").StoreAction<unknown, (settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => void, (result: void, settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => void, (failureReason: any, settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => void, (settings: FilterEngineSettings, fromRouter?: boolean, updateDataCallback?: () => Promise<void>) => Promise<void>>;
@@ -1,9 +1,9 @@
1
1
  import { guid, IIcon, JourneyMenuItem, JourneySwitchMenuItem } from "@omnia/fx-models";
2
- import { BladeSizeTypes, useJourneyStore, DefineProp, DefineSlot, DefineEmit } from "@omnia/fx/ux";
2
+ import { BladeSizeTypes, useJourneyMenuStore, DefineProp, DefineSlot, DefineEmit } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
4
  import { type SwitchValue } from "./JourneyBlade";
5
5
  declare const defaultItems: any[];
6
- export type JourneyMenuProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"id", guid, false, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"items", JourneyMenuItem[], false, typeof defaultItems, "An array of menu items used for automatically generating menu items"> & DefineSlot<"selection", (selected: JourneyMenuItem) => VNodeChild, "Custom renderer selected node."> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"itemSelected", (item: JourneyMenuItem) => true> & DefineEmit<"valueChanged", (item: JourneySwitchMenuItem) => true>;
6
+ export type JourneyMenuProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyMenuStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"id", guid, false, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"items", JourneyMenuItem[], false, typeof defaultItems, "An array of menu items used for automatically generating menu items"> & DefineSlot<"selection", (selected: JourneyMenuItem) => VNodeChild, "Custom renderer selected node."> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"itemSelected", (item: JourneyMenuItem) => true> & DefineEmit<"valueChanged", (item: JourneySwitchMenuItem) => true>;
7
7
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyMenuProps> & {
8
8
  onValueChanged?: (item: JourneySwitchMenuItem) => any;
9
9
  onItemSelected?: (item: JourneyMenuItem) => any;
@@ -26,8 +26,18 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
26
26
  dependencyProviders: string[];
27
27
  };
28
28
  };
29
+ visiblePane: {
30
+ id: guid;
31
+ elementRenderer: () => import("vue").VNode;
32
+ position: import("@omnia/fx-models").SidePanelPosition;
33
+ width: number;
34
+ };
29
35
  };
30
36
  actions: import("../../mobile").StoreReturnDefineAction<{
37
+ pane: () => import("../../mobile").StoreReturnDefineAction<{
38
+ show: (elementRenderer: () => import("vue").VNode, position: import("@omnia/fx-models").SidePanelPosition, width?: number) => void;
39
+ hide: () => void;
40
+ }>;
31
41
  hooks: () => import("../../mobile").StoreReturnDefineAction<{
32
42
  blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
33
43
  layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
@@ -72,11 +82,15 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
72
82
  rules: {
73
83
  isEditMode: () => boolean;
74
84
  isEmptyLayout: () => boolean;
85
+ isPaneDisplayAsDialog: (breakpoints: import("@omnia/fx-models").Breakpoint) => boolean;
75
86
  };
76
87
  readonly editor: {
77
88
  state: {
78
89
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
79
90
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
91
+ history: {
92
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
93
+ };
80
94
  id: guid;
81
95
  settings: {
82
96
  authDisabled: boolean;
@@ -101,6 +115,9 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
101
115
  events: import("../../mobile").StoreEvents<{
102
116
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
103
117
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
118
+ history: {
119
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
120
+ };
104
121
  id: guid;
105
122
  settings: {
106
123
  authDisabled: boolean;
@@ -159,8 +176,15 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
159
176
  title?: string;
160
177
  enabled?: boolean;
161
178
  }, customScroll?: boolean) => void;
162
- setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
179
+ setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode, toggle?: boolean) => void;
163
180
  setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
181
+ history: () => {
182
+ editorMode: {
183
+ back: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
184
+ add: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
185
+ clear: () => void;
186
+ };
187
+ };
164
188
  hooks: () => import("../../mobile").StoreReturnDefineAction<{
165
189
  onBlockRemoved(block: import("@omnia/fx-models").Block): void;
166
190
  onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
@@ -203,6 +227,9 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
203
227
  state: {
204
228
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
205
229
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
230
+ history: {
231
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
232
+ };
206
233
  id: guid;
207
234
  settings: {
208
235
  authDisabled: boolean;
@@ -227,6 +254,9 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
227
254
  events: import("../../mobile").StoreEvents<{
228
255
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
229
256
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
257
+ history: {
258
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
259
+ };
230
260
  id: guid;
231
261
  settings: {
232
262
  authDisabled: boolean;
@@ -285,8 +315,15 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
285
315
  title?: string;
286
316
  enabled?: boolean;
287
317
  }, customScroll?: boolean) => void;
288
- setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
318
+ setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode, toggle?: boolean) => void;
289
319
  setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
320
+ history: () => {
321
+ editorMode: {
322
+ back: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
323
+ add: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
324
+ clear: () => void;
325
+ };
326
+ };
290
327
  hooks: () => import("../../mobile").StoreReturnDefineAction<{
291
328
  onBlockRemoved(block: import("@omnia/fx-models").Block): void;
292
329
  onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
@@ -18,8 +18,18 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
18
18
  dependencyProviders: string[];
19
19
  };
20
20
  };
21
+ visiblePane: {
22
+ id: import("@omnia/fx-models").guid;
23
+ elementRenderer: () => import("vue").VNode;
24
+ position: import("@omnia/fx-models").SidePanelPosition;
25
+ width: number;
26
+ };
21
27
  };
22
28
  actions: import("../../mobile").StoreReturnDefineAction<{
29
+ pane: () => import("../../mobile").StoreReturnDefineAction<{
30
+ show: (elementRenderer: () => import("vue").VNode, position: import("@omnia/fx-models").SidePanelPosition, width?: number) => void;
31
+ hide: () => void;
32
+ }>;
23
33
  hooks: () => import("../../mobile").StoreReturnDefineAction<{
24
34
  blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
25
35
  layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
@@ -64,11 +74,15 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
64
74
  rules: {
65
75
  isEditMode: () => boolean;
66
76
  isEmptyLayout: () => boolean;
77
+ isPaneDisplayAsDialog: (breakpoints: import("@omnia/fx-models").Breakpoint) => boolean;
67
78
  };
68
79
  readonly editor: {
69
80
  state: {
70
81
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
71
82
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
83
+ history: {
84
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
85
+ };
72
86
  id: import("@omnia/fx-models").guid;
73
87
  settings: {
74
88
  authDisabled: boolean;
@@ -93,6 +107,9 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
93
107
  events: import("../../mobile").StoreEvents<{
94
108
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
95
109
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
110
+ history: {
111
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
112
+ };
96
113
  id: import("@omnia/fx-models").guid;
97
114
  settings: {
98
115
  authDisabled: boolean;
@@ -151,8 +168,15 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
151
168
  title?: string;
152
169
  enabled?: boolean;
153
170
  }, customScroll?: boolean) => void;
154
- setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
171
+ setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode, toggle?: boolean) => void;
155
172
  setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
173
+ history: () => {
174
+ editorMode: {
175
+ back: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
176
+ add: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
177
+ clear: () => void;
178
+ };
179
+ };
156
180
  hooks: () => import("../../mobile").StoreReturnDefineAction<{
157
181
  onBlockRemoved(block: import("@omnia/fx-models").Block): void;
158
182
  onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
@@ -5,6 +5,9 @@ export declare const useLayoutCanvasEditorStore: () => {
5
5
  state: {
6
6
  editorMode: LayoutCanvasEditorMode;
7
7
  canvasMode: LayoutCanvasMode;
8
+ history: {
9
+ editorMode: LayoutCanvasEditorMode[];
10
+ };
8
11
  id: guid;
9
12
  settings: {
10
13
  authDisabled: boolean;
@@ -29,6 +32,9 @@ export declare const useLayoutCanvasEditorStore: () => {
29
32
  events: import("@omnia/fx/stores").StoreEvents<{
30
33
  editorMode: LayoutCanvasEditorMode;
31
34
  canvasMode: LayoutCanvasMode;
35
+ history: {
36
+ editorMode: LayoutCanvasEditorMode[];
37
+ };
32
38
  id: guid;
33
39
  settings: {
34
40
  authDisabled: boolean;
@@ -87,8 +93,15 @@ export declare const useLayoutCanvasEditorStore: () => {
87
93
  title?: string;
88
94
  enabled?: boolean;
89
95
  }, customScroll?: boolean) => void;
90
- setEditorMode: (mode: LayoutCanvasEditorMode) => void;
96
+ setEditorMode: (mode: LayoutCanvasEditorMode, toggle?: boolean) => void;
91
97
  setCanvasMode: (mode: LayoutCanvasMode) => void;
98
+ history: () => {
99
+ editorMode: {
100
+ back: () => LayoutCanvasEditorMode;
101
+ add: (mode: LayoutCanvasEditorMode) => void;
102
+ clear: () => void;
103
+ };
104
+ };
92
105
  hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
93
106
  onBlockRemoved(block: Block): void;
94
107
  onLayoutItemMoved(layoutItem: LayoutItem): void;
@@ -1,8 +1,9 @@
1
1
  import { ServiceContainerContext } from "@omnia/fx";
2
- import { Block, BlockRenderingModes, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, IMessageBusTopicPublishSubscriber, Layout, LayoutDefinition, LayoutItem, LoadedLayout, Section, SectionTypes } from "@omnia/fx-models";
2
+ import { Block, BlockRenderingModes, Breakpoint, guid, IBlockInstance, ILayoutFileContext, ILayoutMediaContext, ILayoutSectionRenderer, IMessageBusTopicPublishSubscriber, Layout, LayoutDefinition, LayoutItem, LoadedLayout, Section, SectionTypes, SidePanelPosition } from "@omnia/fx-models";
3
3
  import { ReactiveLayoutItemsSettingsStore } from "./ReactiveLayoutItemsSettingsStore";
4
4
  import { useEditorChromeStore } from "../../editorchrome";
5
5
  import { BlockSettingsProvider } from "../shared/BlockSettingsProvider";
6
+ import { VNode } from "vue";
6
7
  export interface IBlockInstanceExtendsInternal<TSettings = void> extends IBlockInstance<TSettings> {
7
8
  settings: TSettings;
8
9
  serviceContainerContext: ServiceContainerContext;
@@ -33,8 +34,18 @@ export declare const useLayoutCanvasStore: () => {
33
34
  dependencyProviders: string[];
34
35
  };
35
36
  };
37
+ visiblePane: {
38
+ id: guid;
39
+ elementRenderer: () => VNode;
40
+ position: SidePanelPosition;
41
+ width: number;
42
+ };
36
43
  };
37
44
  actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
45
+ pane: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
46
+ show: (elementRenderer: () => VNode, position: SidePanelPosition, width?: number) => void;
47
+ hide: () => void;
48
+ }>;
38
49
  hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
39
50
  blockinstanceCreated: (blockInstance: IBlockInstance) => void;
40
51
  layoutSectionRenderer: (layoutSectionRenderer: ILayoutSectionRenderer) => ILayoutSectionRenderer;
@@ -77,11 +88,15 @@ export declare const useLayoutCanvasStore: () => {
77
88
  rules: {
78
89
  isEditMode: () => boolean;
79
90
  isEmptyLayout: () => boolean;
91
+ isPaneDisplayAsDialog: (breakpoints: Breakpoint) => boolean;
80
92
  };
81
93
  readonly editor: {
82
94
  state: {
83
95
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
84
96
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
97
+ history: {
98
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
99
+ };
85
100
  id: guid;
86
101
  settings: {
87
102
  authDisabled: boolean;
@@ -106,6 +121,9 @@ export declare const useLayoutCanvasStore: () => {
106
121
  events: import("@omnia/fx/stores").StoreEvents<{
107
122
  editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
108
123
  canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
124
+ history: {
125
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode[];
126
+ };
109
127
  id: guid;
110
128
  settings: {
111
129
  authDisabled: boolean;
@@ -164,8 +182,15 @@ export declare const useLayoutCanvasStore: () => {
164
182
  title?: string;
165
183
  enabled?: boolean;
166
184
  }, customScroll?: boolean) => void;
167
- setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
185
+ setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode, toggle?: boolean) => void;
168
186
  setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
187
+ history: () => {
188
+ editorMode: {
189
+ back: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
190
+ add: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
191
+ clear: () => void;
192
+ };
193
+ };
169
194
  hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
170
195
  onBlockRemoved(block: Block): void;
171
196
  onLayoutItemMoved(layoutItem: LayoutItem): void;
@@ -3,7 +3,7 @@ import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel } f
3
3
  import { VNodeChild } from "vue";
4
4
  export * from "./Dialog.stylex";
5
5
  export type DialogLocation = "left" | "center" | "right";
6
- type DialogProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "If dialog is toned"> & DefineVModel<"", boolean, false, null, false, "The v-model of the component."> & DefineProp<"persistent", boolean, false, false, "Specify if the dialog is closed if clicked outside of the dialog."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts."> & DefineProp<"title", string, false, null, "Specify the title of the dialog."> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the dialog and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the dialog. This is almost mandatory and is used to hightlight the dialog context."> & DefineProp<"hiddenCloseButton", boolean, false, false, "Hide the close button of the dialog."> & DefineProp<"disabledFullScreenOnMobile", boolean, false, false, "Not allow auto full sreen on mobile."> & DefineProp<"backButton", boolean, false, false, "I a back button is displayed to close the dialog."> & DefineProp<"size", ODialogSizes, false, "medium", "Specify the size of the dialog. Default is mediumsize."> & DefineProp<"attach", string, false, null, "Specifies which DOM element the overlay content should teleport to."> & DefineProp<"variant", ODialogTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"contentHeight", OContentHeight, false, "static", "Sets the content responsive strategy for the dialog . With dynamic it will adapt to the content height. This should only be used with content that does not change size."> & DefineProp<"customScrolling", boolean, false, false, "Disables the default scrolling behavior of the dialog. This should be used when the dialog contains a custom scrollable element such as a o.tab or a component with custom scrollable requirements."> & DefineProp<"horizontalScroll", boolean, false, false, "Adds a horizontal scrollbar to the dialog. This should be used when the dialog contains a custom vertiacl scrollable element such as a <o-journey> or a component with custom scrollable requirements."> & DefineProp<"journey", boolean, false, false, "The dialog is a journey dialog where the header supports navigation."> & DefineProp<"canClose", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"canBack", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"buttonApi", (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void, false, null, "Function that can get reference to the buttons to control the state of them."> & DefineSlot<"fixedContent", () => VNodeChild> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"headerButtons", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"navigation", (apis: {
6
+ type DialogProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "If dialog is toned"> & DefineVModel<"", boolean, false, null, false, "The v-model of the component."> & DefineProp<"persistent", boolean, false, false, "Specify if the dialog is closed if clicked outside of the dialog."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts."> & DefineProp<"title", string, false, null, "Specify the title of the dialog."> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the dialog and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the dialog. This is almost mandatory and is used to hightlight the dialog context."> & DefineProp<"hiddenCloseButton", boolean, false, false, "Hide the close button of the dialog."> & DefineProp<"disabledFullScreenOnMobile", boolean, false, false, "Not allow auto full sreen on mobile."> & DefineProp<"backButton", boolean, false, false, "I a back button is displayed to close the dialog."> & DefineProp<"size", ODialogSizes, false, "medium", "Specify the size of the dialog. Default is mediumsize."> & DefineProp<"attach", string, false, null, "Specifies which DOM element the overlay content should teleport to."> & DefineProp<"variant", ODialogTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"contentHeight", OContentHeight, false, "static", "Sets the content responsive strategy for the dialog . With dynamic it will adapt to the content height. This should only be used with content that does not change size."> & DefineProp<"customScrolling", boolean, false, false, "Disables the default scrolling behavior of the dialog. This should be used when the dialog contains a custom scrollable element such as a o.tab or a component with custom scrollable requirements."> & DefineProp<"horizontalScroll", boolean, false, false, "Adds a horizontal scrollbar to the dialog. This should be used when the dialog contains a custom vertiacl scrollable element such as a <o-journey> or a component with custom scrollable requirements."> & DefineProp<"journey", boolean, false, false, "The dialog is a journey dialog where the header supports navigation."> & DefineProp<"canClose", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"canBack", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"buttonApi", (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void, false, null, "Function that can get reference to the buttons to control the state of them."> & DefineSlot<"fixedContent", () => VNodeChild> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"headerButtons", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"icon", () => VNodeChild> & DefineSlot<"navigation", (apis: {
7
7
  hideNavigation: () => void;
8
8
  showNavigation: () => void;
9
9
  }) => VNodeChild> & DefineSlot<"header", () => VNodeChild> & DefineEmit<"click:close", () => void> & DefineEmit<"click:cancel", () => void> & DefineEmit<"click:confirm", () => void> & DefineEmit<"click:backButton", () => void> & DefineProp<"location", DialogLocation, false, "center", "Sets location of the dialog.">;
@@ -19,6 +19,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DialogProps>
19
19
  activator?: () => VNodeChild;
20
20
  headerButtons?: () => VNodeChild;
21
21
  actions?: () => VNodeChild;
22
+ icon?: () => VNodeChild;
22
23
  navigation?: (apis: {
23
24
  hideNavigation: () => void;
24
25
  showNavigation: () => void;
@@ -27,6 +28,6 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DialogProps>
27
28
  } & Omit<{
28
29
  default?: import("vue").Slot;
29
30
  $stable?: boolean;
30
- }, "actions" | "header" | "activator" | "navigation" | "fixedContent" | "headerButtons">;
31
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "colorSchemaType" | "variant" | "size" | "class" | "colors" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "eager" | "persistent" | "location" | "attach" | "journey" | "subTitle" | "hiddenCloseButton" | "disabledFullScreenOnMobile" | "backButton" | "contentHeight" | "customScrolling" | "horizontalScroll" | "canClose" | "canBack" | "buttonApi" | "slot:fixedContent" | "slot:activator" | "slot:headerButtons" | "slot:navigation" | "slot:header" | "emit:click:close" | "emit:click:cancel" | "emit:click:confirm" | "emit:click:backButton"> & import("@omnia/fx/ux").VNodeEvents) => any;
31
+ }, "icon" | "actions" | "header" | "activator" | "navigation" | "fixedContent" | "headerButtons">;
32
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "colorSchemaType" | "variant" | "size" | "class" | "colors" | "toned" | "v-model" | "modelValue" | "slot:actions" | "emit:update:modelValue" | "eager" | "persistent" | "location" | "attach" | "journey" | "subTitle" | "hiddenCloseButton" | "disabledFullScreenOnMobile" | "backButton" | "contentHeight" | "customScrolling" | "horizontalScroll" | "canClose" | "canBack" | "buttonApi" | "slot:fixedContent" | "slot:activator" | "slot:headerButtons" | "slot:icon" | "slot:navigation" | "slot:header" | "emit:click:close" | "emit:click:cancel" | "emit:click:confirm" | "emit:click:backButton"> & import("@omnia/fx/ux").VNodeEvents) => any;
32
33
  export default _default;
@@ -26,6 +26,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
26
26
  disableResizeWatcher?: boolean;
27
27
  } & {
28
28
  disableRouteWatcher?: boolean;
29
+ } & {
30
+ absolute?: boolean;
29
31
  }> & {
30
32
  "onUpdate:modelValue"?: (value: boolean) => any;
31
33
  } & {
@@ -33,5 +35,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
33
35
  default?: import("vue").Slot;
34
36
  $stable?: boolean;
35
37
  }, never>;
36
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "class" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "location" | "overrides" | "customWidth" | "temporary" | "disableResizeWatcher" | "disableRouteWatcher"> & import("@omnia/fx/ux").VNodeEvents) => any;
38
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "class" | "absolute" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "location" | "overrides" | "customWidth" | "temporary" | "disableResizeWatcher" | "disableRouteWatcher"> & import("@omnia/fx/ux").VNodeEvents) => any;
37
39
  export default _default;
@@ -1,10 +1,7 @@
1
- import "./SidePanel.css";
2
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
- position: string;
4
- }> & {} & {
1
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
5
2
  "v-slots"?: {} & Omit<{
6
3
  default?: import("vue").Slot;
7
4
  $stable?: boolean;
8
5
  }, never>;
9
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "position"> & import("@omnia/fx/ux").VNodeEvents) => any;
6
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
10
7
  export default _default;
@@ -6,6 +6,8 @@ export interface VersionedLayoutEditorSettings<T extends VersionedLayoutDefiniti
6
6
  sort?: (a: VersionedLayout, b: VersionedLayout) => number;
7
7
  businessProfileId?: guid;
8
8
  checkDeletable?: (layout: VersionedLayout) => Promise<boolean>;
9
+ enableAlias?: boolean;
10
+ onBeforeCreate?: (layout: VersionedLayoutDefinition) => VersionedLayoutDefinition | Promise<VersionedLayoutDefinition>;
9
11
  enableAlternateLayouts?: boolean;
10
12
  hideBreakpointPreview?: boolean;
11
13
  profileAdminEditable?: boolean;
@@ -0,0 +1,10 @@
1
+ import { DefineSlot } from "@omnia/fx/ux";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefineSlot<"activator", () => JSX.Element>> & {} & {
3
+ "v-slots"?: {
4
+ activator?: () => JSX.Element;
5
+ } & Omit<{
6
+ default?: import("vue").Slot;
7
+ $stable?: boolean;
8
+ }, "activator">;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "slot:activator"> & import("@omnia/fx/ux").VNodeEvents) => any;
10
+ export default _default;
@@ -9,6 +9,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
9
9
  icon?: IIcon;
10
10
  } & {
11
11
  title?: string;
12
+ } & {
13
+ showLayoutNavigation?: boolean;
12
14
  } & {
13
15
  subTitle?: string;
14
16
  } & {
@@ -24,5 +26,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
24
26
  default?: import("vue").Slot;
25
27
  $stable?: boolean;
26
28
  }, "navigation">;
27
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "settings" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "slot:navigation" | "getApi" | "emit:close"> & import("@omnia/fx/ux").VNodeEvents) => any;
29
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "title" | "settings" | "appInstanceId" | "serviceContainerContext" | "subTitle" | "slot:navigation" | "getApi" | "emit:close" | "showLayoutNavigation"> & import("@omnia/fx/ux").VNodeEvents) => any;
28
30
  export default _default;
@@ -3,6 +3,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
3
3
  state: {
4
4
  id: guid;
5
5
  settings: import("@omnia/fx/ux").VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
6
+ layouts: import("@omnia/fx-models").VersionedLayout[];
6
7
  versioning: {
7
8
  originalVersion: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>;
8
9
  selectedVersion: import("@omnia/fx-models").IVersionInformation;
@@ -28,6 +29,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
28
29
  events: import("../../../mobile").StoreEvents<{
29
30
  id: guid;
30
31
  settings: import("@omnia/fx/ux").VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
32
+ layouts: import("@omnia/fx-models").VersionedLayout[];
31
33
  versioning: {
32
34
  originalVersion: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>;
33
35
  selectedVersion: import("@omnia/fx-models").IVersionInformation;
@@ -78,6 +80,8 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
78
80
  set: (layout: import("@omnia/fx-models").VersionedLayout) => Promise<void>;
79
81
  setVersion: (versionedData: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>, mergeWithoutCache: boolean) => Promise<import("@omnia/fx-models").Layout>;
80
82
  setDefault: () => Promise<void>;
83
+ loadAll: () => Promise<void>;
84
+ create: (title: import("@omnia/fx-models").MultilingualString, urlSegment: string) => Promise<import("@omnia/fx-models").VersionedLayout>;
81
85
  };
82
86
  editor: () => {
83
87
  set: {
@@ -266,6 +270,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
266
270
  };
267
271
  remove: (view: import("@omnia/fx-models").EditorChromeView) => void;
268
272
  history: {
273
+ removeCurrent: () => void;
269
274
  goBack: () => boolean;
270
275
  goForward: () => boolean;
271
276
  addToHistory: (view: import("@omnia/fx-models").EditorChromeView) => void;
@@ -361,6 +366,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
361
366
  versioning: {
362
367
  hasReverted: () => boolean;
363
368
  };
369
+ isFirstMinorVersion: () => boolean;
364
370
  isCheckedOutToMe: () => boolean;
365
371
  isCheckedOut: () => boolean;
366
372
  isDefaultLayout: () => boolean;
@@ -1,4 +1,4 @@
1
- import { EditorChromeConfiguration, EditorChromeNavigationConfiguration, EditorChromePanel, EditorChromeView, guid, IVersionedData, IVersionInformation, IVersionReference, Layout, LayoutCanvasEditorMode, VersionedLayout, VersionedLayoutDefinition } from "@omnia/fx-models";
1
+ import { EditorChromeConfiguration, EditorChromeNavigationConfiguration, EditorChromePanel, EditorChromeView, guid, IVersionedData, IVersionInformation, IVersionReference, Layout, LayoutCanvasEditorMode, MultilingualString, VersionedLayout, VersionedLayoutDefinition } from "@omnia/fx-models";
2
2
  import { useEditorChromeStore, useLayoutCanvasStore, VersionedLayoutEditorSettings } from "@omnia/fx/ux";
3
3
  export interface EditorViews {
4
4
  default: () => {
@@ -10,6 +10,7 @@ export declare const useVersionedLayoutEditorStore: () => {
10
10
  state: {
11
11
  id: guid;
12
12
  settings: VersionedLayoutEditorSettings<VersionedLayoutDefinition>;
13
+ layouts: VersionedLayout[];
13
14
  versioning: {
14
15
  originalVersion: IVersionedData<VersionedLayoutDefinition>;
15
16
  selectedVersion: IVersionInformation;
@@ -35,6 +36,7 @@ export declare const useVersionedLayoutEditorStore: () => {
35
36
  events: import("@omnia/fx/stores").StoreEvents<{
36
37
  id: guid;
37
38
  settings: VersionedLayoutEditorSettings<VersionedLayoutDefinition>;
39
+ layouts: VersionedLayout[];
38
40
  versioning: {
39
41
  originalVersion: IVersionedData<VersionedLayoutDefinition>;
40
42
  selectedVersion: IVersionInformation;
@@ -85,6 +87,8 @@ export declare const useVersionedLayoutEditorStore: () => {
85
87
  set: (layout: VersionedLayout) => Promise<void>;
86
88
  setVersion: (versionedData: IVersionedData<VersionedLayoutDefinition>, mergeWithoutCache: boolean) => Promise<Layout>;
87
89
  setDefault: () => Promise<void>;
90
+ loadAll: () => Promise<void>;
91
+ create: (title: MultilingualString, urlSegment: string) => Promise<VersionedLayout>;
88
92
  };
89
93
  editor: () => {
90
94
  set: {
@@ -273,6 +277,7 @@ export declare const useVersionedLayoutEditorStore: () => {
273
277
  };
274
278
  remove: (view: EditorChromeView) => void;
275
279
  history: {
280
+ removeCurrent: () => void;
276
281
  goBack: () => boolean;
277
282
  goForward: () => boolean;
278
283
  addToHistory: (view: EditorChromeView) => void;
@@ -368,6 +373,7 @@ export declare const useVersionedLayoutEditorStore: () => {
368
373
  versioning: {
369
374
  hasReverted: () => boolean;
370
375
  };
376
+ isFirstMinorVersion: () => boolean;
371
377
  isCheckedOutToMe: () => boolean;
372
378
  isCheckedOut: () => boolean;
373
379
  isDefaultLayout: () => boolean;
@@ -5458,15 +5458,13 @@ declare global {
5458
5458
  };
5459
5459
  } : typeof wc4a4631845ea24fbb8cabdbb9b06772da;
5460
5460
  };
5461
- "omnia": {
5462
- "logo": typeof wcd0b8420c01d54ab28be011c92c8f0d24 extends {
5463
- propsDefinition: infer TProp;
5464
- } ? {
5465
- new (...args: any[]): {
5466
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
5467
- };
5468
- } : typeof wcd0b8420c01d54ab28be011c92c8f0d24;
5469
- };
5461
+ "logo": typeof wcd0b8420c01d54ab28be011c92c8f0d24 extends {
5462
+ propsDefinition: infer TProp;
5463
+ } ? {
5464
+ new (...args: any[]): {
5465
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
5466
+ };
5467
+ } : typeof wcd0b8420c01d54ab28be011c92c8f0d24;
5470
5468
  "main": typeof wc1ed9f2ec3580492cb211d719c9b15ad1 extends {
5471
5469
  propsDefinition: infer TProp;
5472
5470
  } ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.530-dev",
4
+ "version": "8.0.532-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.530-dev",
23
+ "@omnia/fx-models": "8.0.532-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,43 +0,0 @@
1
- import { ChromeActionItem, EditorChromeConfiguration } from "@omnia/fx-models";
2
- export declare class ConfigurationHelper {
3
- /**
4
- * Ensures an array exists, returns empty array if undefined
5
- */
6
- static ensureArray<T>(array: T[] | undefined): T[];
7
- /**
8
- * Ensures footer toolbar exists on configuration
9
- */
10
- static ensureFooterToolbar(configuration: EditorChromeConfiguration): void;
11
- /**
12
- * Ensures header toolbar exists on configuration
13
- */
14
- static ensureHeaderToolbar(configuration: EditorChromeConfiguration): void;
15
- /**
16
- * Adds an action to an array if it doesn't already exist (based on id)
17
- */
18
- static addActionToArray(actions: Array<ChromeActionItem>, action: ChromeActionItem): void;
19
- /**
20
- * Adds an action to the left footer toolbar actions of configuration(s)
21
- */
22
- static addActionToLeftFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
23
- /**
24
- * Adds an action to the right footer toolbar actions of configuration(s)
25
- */
26
- static addActionToRightFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
27
- /**
28
- * Adds an action to the center footer toolbar actions of configuration(s)
29
- */
30
- static addActionToCenterFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
31
- /**
32
- * Adds an action to the extended right footer toolbar actions of configuration(s)
33
- */
34
- static addActionToExtendedRightFooter(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem): void;
35
- /**
36
- * Adds multiple actions to a specific toolbar location
37
- */
38
- static addActionsToToolbar(configuration: EditorChromeConfiguration | EditorChromeConfiguration[], actions: ChromeActionItem[], location: "left" | "right" | "center" | "extendedRight"): void;
39
- /**
40
- * Ensures all standard toolbar arrays exist on configuration(s)
41
- */
42
- static ensureAllToolbars(configuration: EditorChromeConfiguration | EditorChromeConfiguration[]): void;
43
- }