@omnia/fx 8.0.525-dev → 8.0.526-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 +3 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +2 -0
- 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 +29 -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 +2 -0
- 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/versionedlayout/editor/views/DefineDefaultView.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +2 -2
- 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
@@ -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;
|
@@ -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,29 @@
|
|
1
|
+
import { ILayoutMediaContext, ILayoutFileContext } from "@omnia/fx/models";
|
2
|
+
import { DefineRef, DefineProp } from "@omnia/fx/ux";
|
3
|
+
import { useLayoutCanvasStore } from "../";
|
4
|
+
type Props = DefineProp<"designRender", boolean, false, null> & DefineRef<{
|
5
|
+
layoutCanvasStore: ReturnType<typeof useLayoutCanvasStore>;
|
6
|
+
mediaContext: ILayoutMediaContext;
|
7
|
+
fileContext: ILayoutFileContext;
|
8
|
+
}> & DefineProp<"height", string, false, null> & DefineProp<"provider", string, false, null> & DefineProp<"disableScrollCompensation", boolean, false, false> & DefineProp<"noScroll", boolean, false, false>;
|
9
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
|
10
|
+
"v-slots"?: {} & Omit<{
|
11
|
+
default?: import("vue").Slot;
|
12
|
+
$stable?: boolean;
|
13
|
+
}, never>;
|
14
|
+
} & {
|
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);
|
28
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "provider" | "ref" | "designRender" | "disableScrollCompensation" | "noScroll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
29
|
+
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;
|
@@ -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;
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts
CHANGED
@@ -32,8 +32,8 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
|
|
32
32
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
33
33
|
actions: import("../../../mobile").StoreReturnDefineAction<{
|
34
34
|
layout: () => {
|
35
|
-
set: (layout: import("@omnia/fx-models").VersionedLayout) => Promise<
|
36
|
-
setDefault: () => void
|
35
|
+
set: (layout: import("@omnia/fx-models").VersionedLayout) => Promise<void>;
|
36
|
+
setDefault: () => Promise<void>;
|
37
37
|
};
|
38
38
|
editor: () => {
|
39
39
|
set: {
|
package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts
CHANGED
@@ -39,8 +39,8 @@ export declare const useVersionedLayoutEditorStore: () => {
|
|
39
39
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
40
40
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
41
41
|
layout: () => {
|
42
|
-
set: (layout: VersionedLayout) => Promise<
|
43
|
-
setDefault: () => void
|
42
|
+
set: (layout: VersionedLayout) => Promise<void>;
|
43
|
+
setDefault: () => Promise<void>;
|
44
44
|
};
|
45
45
|
editor: () => {
|
46
46
|
set: {
|
@@ -258,6 +258,7 @@ import wc5d6ec741cf6e4d8ab005abdda288ceed from './ux/layoutcanvas/layoutblock/La
|
|
258
258
|
import wc0b2ee63495854227a082987161a9e641 from './ux/layoutcanvas/renderer/LayoutBlockRendererHelper';
|
259
259
|
import wc16631fca46634e1b8c44401400bbf6ef from './ux/layoutcanvas/renderer/InternalLayoutBlockSettingsHelper';
|
260
260
|
import wcf346db89a53b404690b1795429fb0162 from './ux/layoutcanvas/renderer/LayoutRendererCanvas';
|
261
|
+
import wc100134c612ae49f1a7ab9e89abe8af5b from './ux/layoutcanvas/renderer/LayoutRendererCanvasV2';
|
261
262
|
import wc96c7e84dfb66450796fe123aea7999c5 from './ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer';
|
262
263
|
import wcc15cd6402e584ab18c73ed2b5e3eded9 from './ux/mediagallery/view/MediaDisplayRenderer';
|
263
264
|
import wc29f45ded4fb4479fab6fd6fd79505642 from './ux/mediapickerV2/chrome/MediaPicker';
|
@@ -3342,13 +3343,21 @@ declare global {
|
|
3342
3343
|
};
|
3343
3344
|
};
|
3344
3345
|
"renderer": {
|
3345
|
-
"canvas": typeof wcf346db89a53b404690b1795429fb0162 extends {
|
3346
|
+
"canvas": (typeof wcf346db89a53b404690b1795429fb0162 extends {
|
3346
3347
|
propsDefinition: infer TProp;
|
3347
3348
|
} ? {
|
3348
3349
|
new (...args: any[]): {
|
3349
3350
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3350
3351
|
};
|
3351
|
-
} : typeof wcf346db89a53b404690b1795429fb0162
|
3352
|
+
} : typeof wcf346db89a53b404690b1795429fb0162) & {
|
3353
|
+
"v2": typeof wc100134c612ae49f1a7ab9e89abe8af5b extends {
|
3354
|
+
propsDefinition: infer TProp;
|
3355
|
+
} ? {
|
3356
|
+
new (...args: any[]): {
|
3357
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3358
|
+
};
|
3359
|
+
} : typeof wc100134c612ae49f1a7ab9e89abe8af5b;
|
3360
|
+
};
|
3352
3361
|
};
|
3353
3362
|
"background": {
|
3354
3363
|
"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.526-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.526-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|