@omnia/fx 8.0.526-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 +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvasV2.d.ts +4 -15
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStoreV2.d.ts +1 -1
- 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 +16 -1
- 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 +16 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +11 -2
- package/package.json +2 -2
package/internal-do-not-import-from-here/ux/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;
|
@@ -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;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvasV2.d.ts
CHANGED
@@ -1,29 +1,18 @@
|
|
1
1
|
import { ILayoutMediaContext, ILayoutFileContext } from "@omnia/fx/models";
|
2
2
|
import { DefineRef, DefineProp } from "@omnia/fx/ux";
|
3
3
|
import { useLayoutCanvasStore } from "../";
|
4
|
-
type
|
4
|
+
export type LayoutRendererCanvasApis = {
|
5
5
|
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
6
6
|
mediaContext: ILayoutMediaContext;
|
7
7
|
fileContext: ILayoutFileContext;
|
8
|
-
}
|
8
|
+
};
|
9
|
+
type Props = DefineProp<"designRender", boolean> & DefineRef<LayoutRendererCanvasApis> & DefineProp<"height", string> & DefineProp<"provider", string> & DefineProp<"disableScrollCompensation", boolean> & DefineProp<"noScroll", boolean>;
|
9
10
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
|
10
11
|
"v-slots"?: {} & Omit<{
|
11
12
|
default?: import("vue").Slot;
|
12
13
|
$stable?: boolean;
|
13
14
|
}, never>;
|
14
15
|
} & {
|
15
|
-
ref?: import("vue").Ref<
|
16
|
-
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
17
|
-
mediaContext: ILayoutMediaContext;
|
18
|
-
fileContext: ILayoutFileContext;
|
19
|
-
}, {
|
20
|
-
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
21
|
-
mediaContext: ILayoutMediaContext;
|
22
|
-
fileContext: ILayoutFileContext;
|
23
|
-
}> | ((ref: {
|
24
|
-
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
25
|
-
mediaContext: ILayoutMediaContext;
|
26
|
-
fileContext: ILayoutFileContext;
|
27
|
-
}) => void);
|
16
|
+
ref?: import("vue").Ref<LayoutRendererCanvasApis, LayoutRendererCanvasApis> | ((ref: LayoutRendererCanvasApis) => void);
|
28
17
|
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "provider" | "ref" | "designRender" | "disableScrollCompensation" | "noScroll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
29
18
|
export default _default;
|
@@ -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;
|
@@ -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,6 +34,10 @@ 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: () => {
|
37
|
+
publish: () => Promise<void>;
|
38
|
+
saveAsDraft: () => Promise<void>;
|
39
|
+
discardChanges: () => Promise<void>;
|
40
|
+
checkOut: () => Promise<void>;
|
35
41
|
set: (layout: import("@omnia/fx-models").VersionedLayout) => Promise<void>;
|
36
42
|
setDefault: () => Promise<void>;
|
37
43
|
};
|
@@ -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,6 +41,10 @@ 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: () => {
|
44
|
+
publish: () => Promise<void>;
|
45
|
+
saveAsDraft: () => Promise<void>;
|
46
|
+
discardChanges: () => Promise<void>;
|
47
|
+
checkOut: () => Promise<void>;
|
42
48
|
set: (layout: VersionedLayout) => Promise<void>;
|
43
49
|
setDefault: () => Promise<void>;
|
44
50
|
};
|
@@ -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';
|
@@ -2592,13 +2593,21 @@ declare global {
|
|
2592
2593
|
};
|
2593
2594
|
"versioned": {
|
2594
2595
|
"layout": {
|
2595
|
-
"renderer": typeof wcba03fc7e6921468289c0a0ffe0cf942e extends {
|
2596
|
+
"renderer": (typeof wcba03fc7e6921468289c0a0ffe0cf942e extends {
|
2596
2597
|
propsDefinition: infer TProp;
|
2597
2598
|
} ? {
|
2598
2599
|
new (...args: any[]): {
|
2599
2600
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2600
2601
|
};
|
2601
|
-
} : 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
|
+
};
|
2602
2611
|
"editor": (typeof wc73154f51a92944acbe248779a3fa7ef5 extends {
|
2603
2612
|
propsDefinition: infer TProp;
|
2604
2613
|
} ? {
|
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",
|