@omnia/fx 8.0.525-dev → 8.0.527-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/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.stylex.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvasV2.d.ts +18 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNodeView.d.ts +20 -85
- package/internal-do-not-import-from-here/ux/rollup/views/CardView.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/rollup/views/ListView.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +18 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/v2/VersionedLayoutRenderer.d.ts +14 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +18 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +22 -4
- package/package.json +2 -2
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts
CHANGED
@@ -30,7 +30,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
30
30
|
actions: import("../../mobile").StoreReturnDefineAction<{
|
31
31
|
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
32
32
|
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
33
|
-
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) =>
|
33
|
+
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
|
34
34
|
}>;
|
35
35
|
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
36
36
|
set: (layout: import("@omnia/fx-models").Layout) => void;
|
@@ -71,6 +71,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
71
71
|
};
|
72
72
|
rules: {
|
73
73
|
isEditMode: () => boolean;
|
74
|
+
isEmptyLayout: () => boolean;
|
74
75
|
};
|
75
76
|
readonly editor: {
|
76
77
|
state: {
|
@@ -184,6 +185,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
184
185
|
isClipboardActive: () => boolean;
|
185
186
|
activeItem: {
|
186
187
|
isSection(): boolean;
|
188
|
+
isFirstSectionActive(): boolean;
|
187
189
|
};
|
188
190
|
showSelectors: () => boolean;
|
189
191
|
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
@@ -309,6 +311,7 @@ export declare function defineLayoutEditorCanvas(settings: LayoutEditorCanvasSet
|
|
309
311
|
isClipboardActive: () => boolean;
|
310
312
|
activeItem: {
|
311
313
|
isSection(): boolean;
|
314
|
+
isFirstSectionActive(): boolean;
|
312
315
|
};
|
313
316
|
showSelectors: () => boolean;
|
314
317
|
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
@@ -22,7 +22,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
22
22
|
actions: import("../../mobile").StoreReturnDefineAction<{
|
23
23
|
hooks: () => import("../../mobile").StoreReturnDefineAction<{
|
24
24
|
blockinstanceCreated: (blockInstance: import("@omnia/fx-models").IBlockInstance) => void;
|
25
|
-
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) =>
|
25
|
+
layoutSectionRenderer: (layoutSectionRenderer: import("@omnia/fx-models").ILayoutSectionRenderer) => import("@omnia/fx-models").ILayoutSectionRenderer;
|
26
26
|
}>;
|
27
27
|
layout: () => import("../../mobile").StoreReturnDefineAction<{
|
28
28
|
set: (layout: import("@omnia/fx-models").Layout) => void;
|
@@ -63,6 +63,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
63
63
|
};
|
64
64
|
rules: {
|
65
65
|
isEditMode: () => boolean;
|
66
|
+
isEmptyLayout: () => boolean;
|
66
67
|
};
|
67
68
|
readonly editor: {
|
68
69
|
state: {
|
@@ -176,6 +177,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
176
177
|
isClipboardActive: () => boolean;
|
177
178
|
activeItem: {
|
178
179
|
isSection(): boolean;
|
180
|
+
isFirstSectionActive(): boolean;
|
179
181
|
};
|
180
182
|
showSelectors: () => boolean;
|
181
183
|
isLayoutItemLocked: (item: import("@omnia/fx-models").LayoutItem) => boolean;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.stylex.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import { useColorSchemaStore } from "../..";
|
1
2
|
export declare const LayoutEditorCanvasStyles: {
|
2
|
-
|
3
|
+
canvasWrapper: (active: boolean, store: ReturnType<typeof useColorSchemaStore>) => Readonly<import("../..").StylexValue>;
|
4
|
+
layoutItemEmptySelectorPosition: Readonly<import("../..").StylexValue>;
|
3
5
|
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ILayoutMediaContext, ILayoutFileContext } from "@omnia/fx/models";
|
2
|
+
import { DefineRef, DefineProp } from "@omnia/fx/ux";
|
3
|
+
import { useLayoutCanvasStore } from "../";
|
4
|
+
export type LayoutRendererCanvasApis = {
|
5
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
6
|
+
mediaContext: ILayoutMediaContext;
|
7
|
+
fileContext: ILayoutFileContext;
|
8
|
+
};
|
9
|
+
type Props = DefineProp<"designRender", boolean> & DefineRef<LayoutRendererCanvasApis> & DefineProp<"height", string> & DefineProp<"provider", string> & DefineProp<"disableScrollCompensation", boolean> & DefineProp<"noScroll", boolean>;
|
10
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
|
11
|
+
"v-slots"?: {} & Omit<{
|
12
|
+
default?: import("vue").Slot;
|
13
|
+
$stable?: boolean;
|
14
|
+
}, never>;
|
15
|
+
} & {
|
16
|
+
ref?: import("vue").Ref<LayoutRendererCanvasApis, LayoutRendererCanvasApis> | ((ref: LayoutRendererCanvasApis) => void);
|
17
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "provider" | "ref" | "designRender" | "disableScrollCompensation" | "noScroll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasEditorStore.d.ts
CHANGED
@@ -113,6 +113,7 @@ export declare const useLayoutCanvasEditorStore: () => {
|
|
113
113
|
isClipboardActive: () => boolean;
|
114
114
|
activeItem: {
|
115
115
|
isSection(): boolean;
|
116
|
+
isFirstSectionActive(): boolean;
|
116
117
|
};
|
117
118
|
showSelectors: () => boolean;
|
118
119
|
isLayoutItemLocked: (item: LayoutItem) => boolean;
|
@@ -37,7 +37,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
37
37
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
38
38
|
hooks: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
39
39
|
blockinstanceCreated: (blockInstance: IBlockInstance) => void;
|
40
|
-
layoutSectionRenderer: (layoutSectionRenderer: ILayoutSectionRenderer) =>
|
40
|
+
layoutSectionRenderer: (layoutSectionRenderer: ILayoutSectionRenderer) => ILayoutSectionRenderer;
|
41
41
|
}>;
|
42
42
|
layout: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
43
43
|
set: (layout: Layout) => void;
|
@@ -76,6 +76,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
76
76
|
};
|
77
77
|
rules: {
|
78
78
|
isEditMode: () => boolean;
|
79
|
+
isEmptyLayout: () => boolean;
|
79
80
|
};
|
80
81
|
readonly editor: {
|
81
82
|
state: {
|
@@ -189,6 +190,7 @@ export declare const useLayoutCanvasStore: () => {
|
|
189
190
|
isClipboardActive: () => boolean;
|
190
191
|
activeItem: {
|
191
192
|
isSection(): boolean;
|
193
|
+
isFirstSectionActive(): boolean;
|
192
194
|
};
|
193
195
|
showSelectors: () => boolean;
|
194
196
|
isLayoutItemLocked: (item: LayoutItem) => boolean;
|
@@ -1,88 +1,23 @@
|
|
1
1
|
import { Node as ProseMirrorNode } from "@tiptap/pm/model";
|
2
2
|
import { Editor } from "@tiptap/core";
|
3
|
-
declare const _default: {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
required: false;
|
24
|
-
};
|
25
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
26
|
-
P: {};
|
27
|
-
B: {};
|
28
|
-
D: {};
|
29
|
-
C: {};
|
30
|
-
M: {};
|
31
|
-
Defaults: {};
|
32
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
33
|
-
getPos: {
|
34
|
-
type: import("vue").PropType<() => number>;
|
35
|
-
};
|
36
|
-
editor: {
|
37
|
-
type: import("vue").PropType<Editor>;
|
38
|
-
};
|
39
|
-
updateAttributes: {
|
40
|
-
type: import("vue").PropType<(attributes: Record<string, any>) => void>;
|
41
|
-
};
|
42
|
-
"onUpdate:node": {
|
43
|
-
type: import("vue").PropType<(value: ProseMirrorNode) => any | void>;
|
44
|
-
};
|
45
|
-
"v-model:node": {
|
46
|
-
type: import("vue").PropType<ProseMirrorNode>;
|
47
|
-
required: false;
|
48
|
-
};
|
49
|
-
node: {
|
50
|
-
type: import("vue").PropType<ProseMirrorNode>;
|
51
|
-
required: false;
|
52
|
-
};
|
53
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
54
|
-
__isFragment?: never;
|
55
|
-
__isTeleport?: never;
|
56
|
-
__isSuspense?: never;
|
57
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
58
|
-
getPos: {
|
59
|
-
type: import("vue").PropType<() => number>;
|
60
|
-
};
|
61
|
-
editor: {
|
62
|
-
type: import("vue").PropType<Editor>;
|
63
|
-
};
|
64
|
-
updateAttributes: {
|
65
|
-
type: import("vue").PropType<(attributes: Record<string, any>) => void>;
|
66
|
-
};
|
67
|
-
"onUpdate:node": {
|
68
|
-
type: import("vue").PropType<(value: ProseMirrorNode) => any | void>;
|
69
|
-
};
|
70
|
-
"v-model:node": {
|
71
|
-
type: import("vue").PropType<ProseMirrorNode>;
|
72
|
-
required: false;
|
73
|
-
};
|
74
|
-
node: {
|
75
|
-
type: import("vue").PropType<ProseMirrorNode>;
|
76
|
-
required: false;
|
77
|
-
};
|
78
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
79
|
-
propsDefinition: Omit<Readonly<{} & {
|
80
|
-
node?: ProseMirrorNode;
|
81
|
-
editor?: Editor;
|
82
|
-
updateAttributes?: (attributes: Record<string, any>) => void;
|
83
|
-
"onUpdate:node"?: (value: ProseMirrorNode) => any | void;
|
84
|
-
"v-model:node"?: ProseMirrorNode;
|
85
|
-
getPos?: () => number;
|
86
|
-
}>, never>;
|
87
|
-
};
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
+
"emit:update:node": (value: ProseMirrorNode) => void;
|
5
|
+
} & {
|
6
|
+
"v-model:node"?: ProseMirrorNode;
|
7
|
+
} & {
|
8
|
+
node?: ProseMirrorNode;
|
9
|
+
} & {
|
10
|
+
updateAttributes?: (attributes: Record<string, any>) => void;
|
11
|
+
} & {
|
12
|
+
editor?: Editor;
|
13
|
+
} & {
|
14
|
+
getPos?: () => number;
|
15
|
+
}> & {
|
16
|
+
"onUpdate:node"?: (value: ProseMirrorNode) => any;
|
17
|
+
} & {
|
18
|
+
"v-slots"?: {} & Omit<{
|
19
|
+
default?: import("vue").Slot;
|
20
|
+
$stable?: boolean;
|
21
|
+
}, never>;
|
22
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "node" | "editor" | "updateAttributes" | "emit:update:node" | "v-model:node" | "getPos"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
88
23
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MediaPickerMedia } from "@omnia/fx-models";
|
2
|
-
import { SetupContext, SlotsType, VNodeChild } from "vue";
|
2
|
+
import { HTMLAttributes, SetupContext, SlotsType, VNodeChild } from "vue";
|
3
3
|
export declare function defineCardView(): {
|
4
4
|
Header: typeof HeaderComponent;
|
5
5
|
Title: typeof o.text;
|
@@ -8,8 +8,8 @@ export declare function defineCardView(): {
|
|
8
8
|
Media: typeof MediaComponent;
|
9
9
|
Card: typeof o.card;
|
10
10
|
};
|
11
|
-
declare function HeaderComponent(props:
|
12
|
-
declare function BodyComponent(props:
|
11
|
+
declare function HeaderComponent(props: HTMLAttributes, ctx: SetupContext<{}>): import("vue/jsx-runtime").JSX.Element;
|
12
|
+
declare function BodyComponent(props: HTMLAttributes, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
13
13
|
type FooterSlots = {
|
14
14
|
left?: () => VNodeChild;
|
15
15
|
right?: () => VNodeChild;
|
@@ -17,8 +17,8 @@ type FooterSlots = {
|
|
17
17
|
};
|
18
18
|
declare function FooterComponent(props: {
|
19
19
|
"v-slots"?: FooterSlots;
|
20
|
-
}, ctx: SetupContext<{}, SlotsType<FooterSlots>>): import("vue/jsx-runtime").JSX.Element;
|
20
|
+
} & HTMLAttributes, ctx: SetupContext<{}, SlotsType<FooterSlots>>): import("vue/jsx-runtime").JSX.Element;
|
21
21
|
declare function MediaComponent(props: {
|
22
22
|
media?: MediaPickerMedia | string;
|
23
|
-
}, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
23
|
+
} & HTMLAttributes, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
24
24
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IIcon, MediaPickerMedia } from "@omnia/fx-models";
|
2
|
-
import { SetupContext, TdHTMLAttributes, VNodeChild } from "vue";
|
2
|
+
import { HTMLAttributes, SetupContext, TdHTMLAttributes, VNodeChild } from "vue";
|
3
3
|
export declare function defineListView(): {
|
4
4
|
List: typeof ListComponent;
|
5
5
|
Row: typeof RowComponent;
|
@@ -12,11 +12,11 @@ declare function ListComponent(props: {
|
|
12
12
|
title: string | VNodeChild;
|
13
13
|
colspan?: number;
|
14
14
|
}[];
|
15
|
-
}, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
16
|
-
declare function RowComponent(props:
|
15
|
+
} & HTMLAttributes, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
16
|
+
declare function RowComponent(props: HTMLAttributes, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
17
17
|
declare function CellComponent(props: TdHTMLAttributes, ctx: SetupContext): import("vue/jsx-runtime").JSX.Element;
|
18
18
|
declare function RichTextComponent(props: {
|
19
19
|
text: string;
|
20
20
|
media?: IIcon | MediaPickerMedia | string;
|
21
|
-
}): import("vue/jsx-runtime").JSX.Element;
|
21
|
+
} & HTMLAttributes): import("vue/jsx-runtime").JSX.Element;
|
22
22
|
export {};
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts
CHANGED
@@ -4,6 +4,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
|
|
4
4
|
id: guid;
|
5
5
|
settings: import("../..").VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
6
6
|
active: {
|
7
|
+
parentVersionedLayout: import("@omnia/fx-models").VersionedLayout;
|
7
8
|
versionedLayout: import("@omnia/fx-models").VersionedLayout;
|
8
9
|
layout: import("@omnia/fx-models").Layout;
|
9
10
|
versionedData: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
@@ -19,6 +20,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
|
|
19
20
|
id: guid;
|
20
21
|
settings: import("../..").VersionedLayoutEditorSettings<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
21
22
|
active: {
|
23
|
+
parentVersionedLayout: import("@omnia/fx-models").VersionedLayout;
|
22
24
|
versionedLayout: import("@omnia/fx-models").VersionedLayout;
|
23
25
|
layout: import("@omnia/fx-models").Layout;
|
24
26
|
versionedData: import("@omnia/fx-models").IVersionedData<import("@omnia/fx-models").VersionedLayoutDefinition>;
|
@@ -32,8 +34,12 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
|
|
32
34
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
33
35
|
actions: import("../../../mobile").StoreReturnDefineAction<{
|
34
36
|
layout: () => {
|
35
|
-
|
36
|
-
|
37
|
+
publish: () => Promise<void>;
|
38
|
+
saveAsDraft: () => Promise<void>;
|
39
|
+
discardChanges: () => Promise<void>;
|
40
|
+
checkOut: () => Promise<void>;
|
41
|
+
set: (layout: import("@omnia/fx-models").VersionedLayout) => Promise<void>;
|
42
|
+
setDefault: () => Promise<void>;
|
37
43
|
};
|
38
44
|
editor: () => {
|
39
45
|
set: {
|
@@ -47,7 +53,16 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
|
|
47
53
|
editorMode: () => import("@omnia/fx-models").LayoutCanvasEditorMode;
|
48
54
|
canvasMode: () => import("@omnia/fx-models").LayoutCanvasMode;
|
49
55
|
};
|
50
|
-
rules: {
|
56
|
+
rules: {
|
57
|
+
isCheckedOutToMe: () => boolean;
|
58
|
+
isCheckedOut: () => boolean;
|
59
|
+
actions: {
|
60
|
+
hide: {
|
61
|
+
whenNotCheckedOut: () => boolean;
|
62
|
+
whenCheckedOut: () => boolean;
|
63
|
+
};
|
64
|
+
};
|
65
|
+
};
|
51
66
|
} & {
|
52
67
|
dispose?: () => void;
|
53
68
|
}) => {
|
package/internal-do-not-import-from-here/ux/versionedlayout/renderer/v2/VersionedLayoutRenderer.d.ts
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
import { VersionedLayoutId, guid, IVersionReference } from "@omnia/fx-models";
|
2
|
+
import { DefineEmit, DefineProp } from "@omnia/fx/ux";
|
3
|
+
import { type LayoutRendererCanvasApis } from "internal/fx/ux/layoutcanvas/renderer/LayoutRendererCanvasV2";
|
4
|
+
import { ServiceContainerContext } from "@omnia/fx";
|
5
|
+
type Props = DefineProp<"layoutBackgroundImageElementId", String> & DefineEmit<"ready", (apis: LayoutRendererCanvasApis) => void> & DefineProp<"height", string> & DefineProp<"appInstanceId", guid, true> & DefineProp<"versionedLayoutId", VersionedLayoutId> & DefineProp<"enableAlternateLayout", boolean> & DefineProp<"noScroll", boolean> & DefineProp<"layoutProvider", string> & DefineProp<"serviceContainerContext", ServiceContainerContext> & DefineProp<"publishedVersionReference", IVersionReference>;
|
6
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {
|
7
|
+
onReady?: (apis: LayoutRendererCanvasApis) => any;
|
8
|
+
} & {
|
9
|
+
"v-slots"?: {} & Omit<{
|
10
|
+
default?: import("vue").Slot;
|
11
|
+
$stable?: boolean;
|
12
|
+
}, never>;
|
13
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "appInstanceId" | "serviceContainerContext" | "versionedLayoutId" | "layoutProvider" | "noScroll" | "publishedVersionReference" | "layoutBackgroundImageElementId" | "enableAlternateLayout" | "emit:ready"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
14
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts
CHANGED
@@ -11,6 +11,7 @@ export declare const useVersionedLayoutEditorStore: () => {
|
|
11
11
|
id: guid;
|
12
12
|
settings: VersionedLayoutEditorSettings<VersionedLayoutDefinition>;
|
13
13
|
active: {
|
14
|
+
parentVersionedLayout: VersionedLayout;
|
14
15
|
versionedLayout: VersionedLayout;
|
15
16
|
layout: Layout;
|
16
17
|
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
@@ -26,6 +27,7 @@ export declare const useVersionedLayoutEditorStore: () => {
|
|
26
27
|
id: guid;
|
27
28
|
settings: VersionedLayoutEditorSettings<VersionedLayoutDefinition>;
|
28
29
|
active: {
|
30
|
+
parentVersionedLayout: VersionedLayout;
|
29
31
|
versionedLayout: VersionedLayout;
|
30
32
|
layout: Layout;
|
31
33
|
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
@@ -39,8 +41,12 @@ export declare const useVersionedLayoutEditorStore: () => {
|
|
39
41
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
40
42
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
41
43
|
layout: () => {
|
42
|
-
|
43
|
-
|
44
|
+
publish: () => Promise<void>;
|
45
|
+
saveAsDraft: () => Promise<void>;
|
46
|
+
discardChanges: () => Promise<void>;
|
47
|
+
checkOut: () => Promise<void>;
|
48
|
+
set: (layout: VersionedLayout) => Promise<void>;
|
49
|
+
setDefault: () => Promise<void>;
|
44
50
|
};
|
45
51
|
editor: () => {
|
46
52
|
set: {
|
@@ -54,7 +60,16 @@ export declare const useVersionedLayoutEditorStore: () => {
|
|
54
60
|
editorMode: () => LayoutCanvasEditorMode;
|
55
61
|
canvasMode: () => import("@omnia/fx-models").LayoutCanvasMode;
|
56
62
|
};
|
57
|
-
rules: {
|
63
|
+
rules: {
|
64
|
+
isCheckedOutToMe: () => boolean;
|
65
|
+
isCheckedOut: () => boolean;
|
66
|
+
actions: {
|
67
|
+
hide: {
|
68
|
+
whenNotCheckedOut: () => boolean;
|
69
|
+
whenCheckedOut: () => boolean;
|
70
|
+
};
|
71
|
+
};
|
72
|
+
};
|
58
73
|
} & {
|
59
74
|
dispose?: () => void;
|
60
75
|
};
|
@@ -148,6 +148,7 @@ import wc21a1f20b3d404602853049c1c8b8da2f from './ux/userpresence/UserPresence';
|
|
148
148
|
import wc30289e2b58ff48b0aabb3cb3732c3038 from './ux/usertypelayout/UserTypeLayoutRenderer';
|
149
149
|
import wc90cfd68bb4e04f67bfd5677bdf4af59d from './ux/validation/FieldValidation';
|
150
150
|
import wcba03fc7e6921468289c0a0ffe0cf942e from './ux/versionedlayout/renderer/VersionedLayoutRenderer';
|
151
|
+
import wc16225d552da74599b01a49952f3d2280 from './ux/versionedlayout/renderer/v2/VersionedLayoutRenderer';
|
151
152
|
import wc73154f51a92944acbe248779a3fa7ef5 from './ux/versionedlayout/editor/VersionedLayoutEditor_old';
|
152
153
|
import wcf61a88097aa748dbb99b691f78da571a from './ux/versionedlayout/editor/VersionedLayoutEditor';
|
153
154
|
import wc32a6ca3074384eb4bcef68e9cd49a334 from './ux/versionedlayout/editor/panels/versionhistory/VersionHistory';
|
@@ -258,6 +259,7 @@ import wc5d6ec741cf6e4d8ab005abdda288ceed from './ux/layoutcanvas/layoutblock/La
|
|
258
259
|
import wc0b2ee63495854227a082987161a9e641 from './ux/layoutcanvas/renderer/LayoutBlockRendererHelper';
|
259
260
|
import wc16631fca46634e1b8c44401400bbf6ef from './ux/layoutcanvas/renderer/InternalLayoutBlockSettingsHelper';
|
260
261
|
import wcf346db89a53b404690b1795429fb0162 from './ux/layoutcanvas/renderer/LayoutRendererCanvas';
|
262
|
+
import wc100134c612ae49f1a7ab9e89abe8af5b from './ux/layoutcanvas/renderer/LayoutRendererCanvasV2';
|
261
263
|
import wc96c7e84dfb66450796fe123aea7999c5 from './ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer';
|
262
264
|
import wcc15cd6402e584ab18c73ed2b5e3eded9 from './ux/mediagallery/view/MediaDisplayRenderer';
|
263
265
|
import wc29f45ded4fb4479fab6fd6fd79505642 from './ux/mediapickerV2/chrome/MediaPicker';
|
@@ -2591,13 +2593,21 @@ declare global {
|
|
2591
2593
|
};
|
2592
2594
|
"versioned": {
|
2593
2595
|
"layout": {
|
2594
|
-
"renderer": typeof wcba03fc7e6921468289c0a0ffe0cf942e extends {
|
2596
|
+
"renderer": (typeof wcba03fc7e6921468289c0a0ffe0cf942e extends {
|
2595
2597
|
propsDefinition: infer TProp;
|
2596
2598
|
} ? {
|
2597
2599
|
new (...args: any[]): {
|
2598
2600
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2599
2601
|
};
|
2600
|
-
} : typeof wcba03fc7e6921468289c0a0ffe0cf942e
|
2602
|
+
} : typeof wcba03fc7e6921468289c0a0ffe0cf942e) & {
|
2603
|
+
"v2": typeof wc16225d552da74599b01a49952f3d2280 extends {
|
2604
|
+
propsDefinition: infer TProp;
|
2605
|
+
} ? {
|
2606
|
+
new (...args: any[]): {
|
2607
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2608
|
+
};
|
2609
|
+
} : typeof wc16225d552da74599b01a49952f3d2280;
|
2610
|
+
};
|
2601
2611
|
"editor": (typeof wc73154f51a92944acbe248779a3fa7ef5 extends {
|
2602
2612
|
propsDefinition: infer TProp;
|
2603
2613
|
} ? {
|
@@ -3342,13 +3352,21 @@ declare global {
|
|
3342
3352
|
};
|
3343
3353
|
};
|
3344
3354
|
"renderer": {
|
3345
|
-
"canvas": typeof wcf346db89a53b404690b1795429fb0162 extends {
|
3355
|
+
"canvas": (typeof wcf346db89a53b404690b1795429fb0162 extends {
|
3346
3356
|
propsDefinition: infer TProp;
|
3347
3357
|
} ? {
|
3348
3358
|
new (...args: any[]): {
|
3349
3359
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3350
3360
|
};
|
3351
|
-
} : typeof wcf346db89a53b404690b1795429fb0162
|
3361
|
+
} : typeof wcf346db89a53b404690b1795429fb0162) & {
|
3362
|
+
"v2": typeof wc100134c612ae49f1a7ab9e89abe8af5b extends {
|
3363
|
+
propsDefinition: infer TProp;
|
3364
|
+
} ? {
|
3365
|
+
new (...args: any[]): {
|
3366
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3367
|
+
};
|
3368
|
+
} : typeof wc100134c612ae49f1a7ab9e89abe8af5b;
|
3369
|
+
};
|
3352
3370
|
};
|
3353
3371
|
"background": {
|
3354
3372
|
"settings": typeof wcf5cf0b4975644d688124880ae533869e extends {
|
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.527-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.527-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|