@omnia/fx 8.0.512-dev → 8.0.514-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.
@@ -8,6 +8,9 @@ declare const _default: {
8
8
  navigation?: Func<[VNodeChild]>;
9
9
  bottomDrawer?: Func<[VNodeChild]>;
10
10
  }>;
11
+ useNewVersion: {
12
+ type: import("vue").PropType<boolean>;
13
+ };
11
14
  hideCloseButton: {
12
15
  type: import("vue").PropType<boolean>;
13
16
  };
@@ -41,6 +44,9 @@ declare const _default: {
41
44
  navigation?: Func<[VNodeChild]>;
42
45
  bottomDrawer?: Func<[VNodeChild]>;
43
46
  }>;
47
+ useNewVersion: {
48
+ type: import("vue").PropType<boolean>;
49
+ };
44
50
  hideCloseButton: {
45
51
  type: import("vue").PropType<boolean>;
46
52
  };
@@ -69,6 +75,9 @@ declare const _default: {
69
75
  navigation?: Func<[VNodeChild]>;
70
76
  bottomDrawer?: Func<[VNodeChild]>;
71
77
  }>;
78
+ useNewVersion: {
79
+ type: import("vue").PropType<boolean>;
80
+ };
72
81
  hideCloseButton: {
73
82
  type: import("vue").PropType<boolean>;
74
83
  };
@@ -101,6 +110,7 @@ declare const _default: {
101
110
  hideCloseButton?: boolean;
102
111
  subTitle?: string;
103
112
  actionToolbarRoles?: guid[];
113
+ useNewVersion?: boolean;
104
114
  }>, "onClose"> & {
105
115
  onClose?: () => any;
106
116
  };
@@ -1,4 +1,4 @@
1
- export declare const HeaderToolbarStyles: {
1
+ export declare const ToolbarStyles: {
2
2
  themeStyling: {
3
3
  input: {
4
4
  stylex: typeof import("../../aurora/styling/styles/InputStyling").InputStyling.getFieldBlueprintStylex;
@@ -73,5 +73,6 @@ export declare const HeaderToolbarStyles: {
73
73
  object: typeof import("../../aurora/styling/styles").TextStyles.getBlueprintTextStylingObject;
74
74
  };
75
75
  };
76
+ borderLeft: (dark: boolean) => string;
76
77
  displayButton: (dark: boolean, selected: boolean) => string;
77
78
  };
@@ -1,12 +1,13 @@
1
1
  import { EditorChromeConfiguration, guid, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
2
- import { useEditorChromeStore, useLayoutCanvasStore } from "../..";
2
+ import { useEditorChromeStore, useLayoutCanvasStore } from "@omnia/fx/ux";
3
3
  export interface LayoutEditorCanvasSettings {
4
4
  blockProvider?: string;
5
5
  chromeStore: ReturnType<typeof useEditorChromeStore>;
6
+ layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
6
7
  mediaContext?: ILayoutMediaContext;
7
8
  fileContext?: ILayoutFileContext;
8
9
  }
9
- export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettings) => {
10
+ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSettings): {
10
11
  configuration: EditorChromeConfiguration;
11
12
  store: {
12
13
  state: {
@@ -55,11 +56,11 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
55
56
  block: {
56
57
  readonly instances: {
57
58
  [blockManifestId: string]: Set<{
58
- instance: import("../..").IBlockInstanceExtendsInternal<void>;
59
+ instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
59
60
  }>;
60
61
  };
61
- readonly settings: import("../..").ReactiveLayoutItemsSettingsStore;
62
- settingsProvider: () => import("../..").BlockSettingsProvider;
62
+ readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
63
+ settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
63
64
  renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
64
65
  };
65
66
  providers: {
@@ -120,10 +121,10 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
120
121
  developerTools: () => void;
121
122
  }>;
122
123
  layout: () => import("../../mobile").StoreReturnDefineAction<{
123
- copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
124
+ copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
124
125
  moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
125
126
  addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
126
- insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("../..").CopiedLayoutItemResult;
127
+ insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
127
128
  deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
128
129
  changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
129
130
  }>;
@@ -143,7 +144,7 @@ export declare const defineLayoutEditorCanvas: (param1: LayoutEditorCanvasSettin
143
144
  init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof useEditorChromeStore>) => void;
144
145
  }>;
145
146
  get: {
146
- settingsDefinitions: import("../..").LayoutDefinitionBuilder;
147
+ settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
147
148
  layout: {
148
149
  active: () => import("@omnia/fx-models").Layout;
149
150
  };
@@ -1,11 +1,173 @@
1
- import { LayoutEditorCanvasApi } from "@omnia/fx-models";
2
- import { DefineProp, DefinePropTheming, useLayoutCanvasStore } from "@omnia/fx/ux";
3
- import "./LayoutEditorCanvas.css";
4
- type LayoutEditorCanvasProps = DefinePropTheming & DefineProp<"provider", string> & DefineProp<"authDisabled", boolean> & DefineProp<"getApi", (inst: LayoutEditorCanvasApi, layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>) => void>;
5
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<LayoutEditorCanvasProps> & {} & {
1
+ import { Section } from "@omnia/fx-models";
2
+ import { useLayoutCanvasStore } from "@omnia/fx/ux";
3
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
4
+ store?: {
5
+ state: {
6
+ compatibilityMode: boolean;
7
+ layout: {
8
+ definition: import("@omnia/fx-models").LayoutDefinition;
9
+ ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
10
+ originalId: import("@omnia/fx-models").guid;
11
+ };
12
+ id: import("@omnia/fx-models").guid;
13
+ settings: {
14
+ providers: {
15
+ block: string;
16
+ mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
17
+ fileContext: import("@omnia/fx-models").ILayoutFileContext;
18
+ dependencyProviders: string[];
19
+ };
20
+ };
21
+ };
22
+ actions: import("../../mobile").StoreReturnDefineAction<{
23
+ hooks: () => import("../../mobile").StoreReturnDefineAction<{
24
+ blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
25
+ layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => void;
26
+ }>;
27
+ layout: () => import("../../mobile").StoreReturnDefineAction<{
28
+ set: (layout: import("@omnia/fx-models").Layout) => void;
29
+ }>;
30
+ providers: () => {
31
+ set: {
32
+ dependencyProviders: (providers: Array<string>) => void;
33
+ block: (blockProvider: string) => void;
34
+ mediaContext: (mediaContext: import("@omnia/fx-models").ILayoutMediaContext) => void;
35
+ fileContext: (fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
36
+ };
37
+ };
38
+ notify: (blockManifestId: string) => void;
39
+ init: () => {
40
+ readOnlyCanvas: (blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
41
+ editableCanvas: (editorChromeStore: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>, blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
42
+ };
43
+ }>;
44
+ get: {
45
+ layout: {
46
+ loaded: () => import("@omnia/fx-models").LoadedLayout;
47
+ };
48
+ block: {
49
+ readonly instances: {
50
+ [blockManifestId: string]: Set<{
51
+ instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
52
+ }>;
53
+ };
54
+ readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
55
+ settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
56
+ renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
57
+ };
58
+ providers: {
59
+ block: string;
60
+ mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
61
+ fileContext: import("@omnia/fx-models").ILayoutFileContext;
62
+ };
63
+ };
64
+ rules: {
65
+ isEditMode: () => boolean;
66
+ };
67
+ readonly editor: {
68
+ state: {
69
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
70
+ canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
71
+ id: import("@omnia/fx-models").guid;
72
+ settings: {
73
+ authDisabled: boolean;
74
+ breakpointSettingsEnabled: boolean;
75
+ };
76
+ drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
77
+ selected: {
78
+ layoutItem: import("@omnia/fx-models").LayoutItem;
79
+ clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
80
+ displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
81
+ layoutItem4Action: import("@omnia/fx-models").LayoutItem;
82
+ };
83
+ active: {
84
+ layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
85
+ };
86
+ dialogs: {
87
+ developerTools: {
88
+ show: boolean;
89
+ };
90
+ };
91
+ };
92
+ actions: import("../../mobile").StoreReturnDefineAction<{
93
+ onActivated: () => void;
94
+ scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
95
+ selection: () => import("../../mobile").StoreReturnDefineAction<{
96
+ execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
97
+ toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
98
+ removeActiveAction: () => void;
99
+ removeLayoutItemSelection: () => void;
100
+ setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
101
+ }>;
102
+ enableDisplayBreakpointSettings: (enable: boolean) => void;
103
+ block: () => {
104
+ set: {
105
+ suggestedBlocks: (blocks: string[]) => void;
106
+ };
107
+ ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
108
+ };
109
+ show: () => import("../../mobile").StoreReturnDefineAction<{
110
+ settingsPanel: (action: "show" | "hide" | "toggle") => void;
111
+ layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
112
+ clipboardPanel: (action: "show" | "hide" | "toggle") => void;
113
+ developerTools: () => void;
114
+ }>;
115
+ layout: () => import("../../mobile").StoreReturnDefineAction<{
116
+ copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
117
+ moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
118
+ addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
119
+ insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
120
+ deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
121
+ changeSectionType: (section: Section, type: import("@omnia/fx-models").SectionTypes) => void;
122
+ }>;
123
+ configureDrawer: (header: {
124
+ icon?: import("@omnia/fx-models").IIcon;
125
+ title?: string;
126
+ enabled?: boolean;
127
+ }, customScroll?: boolean) => void;
128
+ setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
129
+ setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
130
+ hooks: () => import("../../mobile").StoreReturnDefineAction<{
131
+ onBlockRemoved(block: import("@omnia/fx-models").Block): void;
132
+ onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
133
+ onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
134
+ onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
135
+ }>;
136
+ init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>) => void;
137
+ }>;
138
+ get: {
139
+ settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
140
+ layout: {
141
+ active: () => import("@omnia/fx-models").Layout;
142
+ };
143
+ block: {
144
+ suggestions: () => string[];
145
+ renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
146
+ };
147
+ };
148
+ rules: {
149
+ isSettingsActive: () => boolean;
150
+ isLayoutStructureActive: () => boolean;
151
+ isClipboardActive: () => boolean;
152
+ activeItem: {
153
+ isSection(): boolean;
154
+ };
155
+ showSelectors: () => boolean;
156
+ isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
157
+ isTemplateEnabledLayout: () => boolean;
158
+ isAdvancedModeActivated: () => boolean;
159
+ isAuthDisabled: () => boolean;
160
+ };
161
+ } & {
162
+ dispose?: () => void;
163
+ };
164
+ } & {
165
+ dispose?: () => void;
166
+ };
167
+ }> & {} & {
6
168
  "v-slots"?: {} & Omit<{
7
169
  default?: import("vue").Slot;
8
170
  $stable?: boolean;
9
171
  }, never>;
10
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "authDisabled" | "provider" | "colors" | "getApi"> & import("@omnia/fx/ux").VNodeEvents) => any;
172
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "store"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
173
  export default _default;
@@ -0,0 +1,175 @@
1
+ import { useLayoutCanvasStore } from "@omnia/fx/ux";
2
+ export interface LayoutEditorContextApi {
3
+ contextStore: ReturnType<typeof useLayoutCanvasStore>;
4
+ }
5
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
6
+ store?: {
7
+ state: {
8
+ compatibilityMode: boolean;
9
+ layout: {
10
+ definition: import("@omnia/fx-models").LayoutDefinition;
11
+ ownerLayoutItemsOverride: import("@omnia/fx-models").LayoutItem[];
12
+ originalId: import("@omnia/fx-models").guid;
13
+ };
14
+ id: import("@omnia/fx-models").guid;
15
+ settings: {
16
+ providers: {
17
+ block: string;
18
+ mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
19
+ fileContext: import("@omnia/fx-models").ILayoutFileContext;
20
+ dependencyProviders: string[];
21
+ };
22
+ };
23
+ };
24
+ actions: import("../../mobile").StoreReturnDefineAction<{
25
+ hooks: () => import("../../mobile").StoreReturnDefineAction<{
26
+ blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
27
+ layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => void;
28
+ }>;
29
+ layout: () => import("../../mobile").StoreReturnDefineAction<{
30
+ set: (layout: import("@omnia/fx-models").Layout) => void;
31
+ }>;
32
+ providers: () => {
33
+ set: {
34
+ dependencyProviders: (providers: Array<string>) => void;
35
+ block: (blockProvider: string) => void;
36
+ mediaContext: (mediaContext: import("@omnia/fx-models").ILayoutMediaContext) => void;
37
+ fileContext: (fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
38
+ };
39
+ };
40
+ notify: (blockManifestId: string) => void;
41
+ init: () => {
42
+ readOnlyCanvas: (blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
43
+ editableCanvas: (editorChromeStore: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>, blockProvider: string, mediaContext: import("@omnia/fx-models").ILayoutMediaContext, fileContext: import("@omnia/fx-models").ILayoutFileContext) => void;
44
+ };
45
+ }>;
46
+ get: {
47
+ layout: {
48
+ loaded: () => import("@omnia/fx-models").LoadedLayout;
49
+ };
50
+ block: {
51
+ readonly instances: {
52
+ [blockManifestId: string]: Set<{
53
+ instance: import("@omnia/fx/ux").IBlockInstanceExtendsInternal<void>;
54
+ }>;
55
+ };
56
+ readonly settings: import("@omnia/fx/ux").ReactiveLayoutItemsSettingsStore;
57
+ settingsProvider: () => import("@omnia/fx/ux").BlockSettingsProvider;
58
+ renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
59
+ };
60
+ providers: {
61
+ block: string;
62
+ mediaContext: import("@omnia/fx-models").ILayoutMediaContext;
63
+ fileContext: import("@omnia/fx-models").ILayoutFileContext;
64
+ };
65
+ };
66
+ rules: {
67
+ isEditMode: () => boolean;
68
+ };
69
+ readonly editor: {
70
+ state: {
71
+ editorMode: import("@omnia/fx-models").LayoutCanvasEditorMode;
72
+ canvasMode: import("@omnia/fx-models").LayoutCanvasMode;
73
+ id: import("@omnia/fx-models").guid;
74
+ settings: {
75
+ authDisabled: boolean;
76
+ breakpointSettingsEnabled: boolean;
77
+ };
78
+ drawerMode: "settings" | "editing" | "layout-structure" | "clipboard";
79
+ selected: {
80
+ layoutItem: import("@omnia/fx-models").LayoutItem;
81
+ clipBoardItem: import("@omnia/fx-models").ClipboardLayoutItem;
82
+ displayBreakPoint: import("@omnia/fx-models").DisplayBreakPoint;
83
+ layoutItem4Action: import("@omnia/fx-models").LayoutItem;
84
+ };
85
+ active: {
86
+ layoutItemAction: import("@omnia/fx-models").LayoutItemActionState;
87
+ };
88
+ dialogs: {
89
+ developerTools: {
90
+ show: boolean;
91
+ };
92
+ };
93
+ };
94
+ actions: import("../../mobile").StoreReturnDefineAction<{
95
+ onActivated: () => void;
96
+ scrollToLayoutItem: (item: import("@omnia/fx-models").LayoutItem) => void;
97
+ selection: () => import("../../mobile").StoreReturnDefineAction<{
98
+ execActiveAction: (container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
99
+ toggleActiveAction: (item: import("@omnia/fx-models").LayoutItem | import("@omnia/fx-models").ClipboardLayoutItem, action: import("@omnia/fx-models").LayoutItemActionState) => void;
100
+ removeActiveAction: () => void;
101
+ removeLayoutItemSelection: () => void;
102
+ setLayoutItem: (item: import("@omnia/fx-models").LayoutItem, settingsPanelAction?: "toggle" | "show" | "hide") => void;
103
+ }>;
104
+ enableDisplayBreakpointSettings: (enable: boolean) => void;
105
+ block: () => {
106
+ set: {
107
+ suggestedBlocks: (blocks: string[]) => void;
108
+ };
109
+ ensureRemoveDeletedBlocks: (layout: import("@omnia/fx-models").Layout) => void;
110
+ };
111
+ show: () => import("../../mobile").StoreReturnDefineAction<{
112
+ settingsPanel: (action: "show" | "hide" | "toggle") => void;
113
+ layoutStructurePanel: (action: "show" | "hide" | "toggle") => void;
114
+ clipboardPanel: (action: "show" | "hide" | "toggle") => void;
115
+ developerTools: () => void;
116
+ }>;
117
+ layout: () => import("../../mobile").StoreReturnDefineAction<{
118
+ copyItem: (item2Copy: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
119
+ moveItem: (item2Move: import("@omnia/fx-models").LayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => void;
120
+ addItem: (itemreference: import("@omnia/fx-models").AddItemToLayoutPayLoad) => void;
121
+ insertClipboardItem: (clipboard: import("@omnia/fx-models").ClipboardLayoutItem, container: import("@omnia/fx-models").LayoutItem, siblingId?: string, postInsert?: boolean) => import("@omnia/fx/ux").CopiedLayoutItemResult;
122
+ deleteItem: (itemreference: import("@omnia/fx-models").DeleteItemFromLayoutPayLoad) => void;
123
+ changeSectionType: (section: import("@omnia/fx-models").Section, type: import("@omnia/fx-models").SectionTypes) => void;
124
+ }>;
125
+ configureDrawer: (header: {
126
+ icon?: import("@omnia/fx-models").IIcon;
127
+ title?: string;
128
+ enabled?: boolean;
129
+ }, customScroll?: boolean) => void;
130
+ setEditorMode: (mode: import("@omnia/fx-models").LayoutCanvasEditorMode) => void;
131
+ setCanvasMode: (mode: import("@omnia/fx-models").LayoutCanvasMode) => void;
132
+ hooks: () => import("../../mobile").StoreReturnDefineAction<{
133
+ onBlockRemoved(block: import("@omnia/fx-models").Block): void;
134
+ onLayoutItemMoved(layoutItem: import("@omnia/fx-models").LayoutItem): void;
135
+ onBlockCopiedHook(originalBlock: import("@omnia/fx-models").Block, newBlock: import("@omnia/fx-models").Block): void;
136
+ onLayoutItemPasted(layoutItem: import("@omnia/fx-models").ClipboardLayoutItem): void;
137
+ }>;
138
+ init: (canvasStore: ReturnType<typeof useLayoutCanvasStore>, editorChromeStoreRef: ReturnType<typeof import("@omnia/fx/ux").useEditorChromeStore>) => void;
139
+ }>;
140
+ get: {
141
+ settingsDefinitions: import("@omnia/fx/ux").LayoutDefinitionBuilder;
142
+ layout: {
143
+ active: () => import("@omnia/fx-models").Layout;
144
+ };
145
+ block: {
146
+ suggestions: () => string[];
147
+ renderMode: () => import("@omnia/fx-models").BlockRenderingModes;
148
+ };
149
+ };
150
+ rules: {
151
+ isSettingsActive: () => boolean;
152
+ isLayoutStructureActive: () => boolean;
153
+ isClipboardActive: () => boolean;
154
+ activeItem: {
155
+ isSection(): boolean;
156
+ };
157
+ showSelectors: () => boolean;
158
+ isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
159
+ isTemplateEnabledLayout: () => boolean;
160
+ isAdvancedModeActivated: () => boolean;
161
+ isAuthDisabled: () => boolean;
162
+ };
163
+ } & {
164
+ dispose?: () => void;
165
+ };
166
+ } & {
167
+ dispose?: () => void;
168
+ };
169
+ }> & {} & {
170
+ "v-slots"?: {} & Omit<{
171
+ default?: import("vue").Slot;
172
+ $stable?: boolean;
173
+ }, never>;
174
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "store"> & import("@omnia/fx/ux").VNodeEvents) => any;
175
+ export default _default;
@@ -113,7 +113,7 @@ declare const _default: {
113
113
  onClose?: () => any;
114
114
  onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
115
115
  onDoc$?: (description?: string) => any;
116
- }, import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
117
117
  close: () => void;
118
118
  doc$(description?: string): {
119
119
  close: () => void;
@@ -237,7 +237,7 @@ declare const _default: {
237
237
  onClose?: () => any;
238
238
  onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
239
239
  onDoc$?: (description?: string) => any;
240
- }, import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
240
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
241
241
  __isFragment?: never;
242
242
  __isTeleport?: never;
243
243
  __isSuspense?: never;
@@ -352,7 +352,7 @@ declare const _default: {
352
352
  onClose?: () => any;
353
353
  onSave?: (result: MediaPickerMedia | MediaPickerMedia[]) => any;
354
354
  onDoc$?: (description?: string) => any;
355
- }, import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
355
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
356
356
  close: () => void;
357
357
  doc$(description?: string): {
358
358
  close: () => void;
@@ -249,6 +249,7 @@ import wc1760d6fe433f46388d4840077b6a6bec from './ux/journey/selection/JourneySe
249
249
  import wc58e999e5a1184a7fbea90061fc377f91 from './ux/journey/selection/JourneySelectionListRenderer';
250
250
  import wc806ee9675e9943459e5d30369a919c86 from './ux/journey/selection/JourneySelect';
251
251
  import wc8e03e2f7fb024945bc51138b77d06088 from './ux/layoutcanvas/editor/LayoutEditorCanvas_old';
252
+ import wce470575577684f4ba338bb2f54d697fb from './ux/layoutcanvas/editor/LayoutEditorCanvas';
252
253
  import wc4aed54beb02341e3a6cbde5af5fb6c78 from './ux/layoutcanvas/layoutactionhandler/LayoutAction';
253
254
  import wc02c473f7041b40038ceecdf09e6ba4ca from './ux/layoutcanvas/layoutactionhandler/LayoutActionSettings';
254
255
  import wc057def31f5f5403d91b2da569de2fdff from './ux/layoutcanvas/layoutblock/LayoutBlock';
@@ -3210,13 +3211,21 @@ declare global {
3210
3211
  };
3211
3212
  "layout": {
3212
3213
  "editor": {
3213
- "canvas": typeof wc8e03e2f7fb024945bc51138b77d06088 extends {
3214
+ "canvas": (typeof wc8e03e2f7fb024945bc51138b77d06088 extends {
3214
3215
  propsDefinition: infer TProp;
3215
3216
  } ? {
3216
3217
  new (...args: any[]): {
3217
3218
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3218
3219
  };
3219
- } : typeof wc8e03e2f7fb024945bc51138b77d06088;
3220
+ } : typeof wc8e03e2f7fb024945bc51138b77d06088) & {
3221
+ "v2": typeof wce470575577684f4ba338bb2f54d697fb extends {
3222
+ propsDefinition: infer TProp;
3223
+ } ? {
3224
+ new (...args: any[]): {
3225
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3226
+ };
3227
+ } : typeof wce470575577684f4ba338bb2f54d697fb;
3228
+ };
3220
3229
  "block": {
3221
3230
  "edit": (typeof wc86802c11a0c8471ca455385a9fecb9c6 extends {
3222
3231
  propsDefinition: infer TProp;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.512-dev",
4
+ "version": "8.0.514-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.512-dev",
23
+ "@omnia/fx-models": "8.0.514-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",