@omnia/fx 8.0.476-dev → 8.0.477-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/stores/SizeContainerStore.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/editorchrome/buttons/ToolbarButton.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/editorchrome/buttons/ToolbarButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +116 -8
- package/internal-do-not-import-from-here/ux/editorchrome/toolbars/HeaderToolbar.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/editorchrome/toolbars/LeftPanelToolbar.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/editorchrome/toolbars/RightPanelToolbar.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/sizecontainer/SizeContainer.css.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +3 -0
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/ux/editorchrome/{header/HeaderToolbar.d.ts → toolbars/FooterToolbar.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/editorchrome/{header → toolbars}/HeaderToolbar.css.d.ts +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import { DisplayBreakpointTypes } from "../models";
|
1
2
|
export declare const useSizeContainerStore: () => {
|
2
3
|
state: {
|
3
4
|
width: string;
|
@@ -9,6 +10,9 @@ export declare const useSizeContainerStore: () => {
|
|
9
10
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
10
11
|
actions: import("./DefineStore").StoreReturnDefineAction<{
|
11
12
|
setWidth: (width: string) => void;
|
13
|
+
resetWidth: () => void;
|
14
|
+
setBreakPoint: (breakPoint: DisplayBreakpointTypes) => void;
|
15
|
+
resetZoomLevel: () => void;
|
12
16
|
setZoomLevel: (zoomLevel: number) => void;
|
13
17
|
}>;
|
14
18
|
get: {};
|
@@ -73,5 +73,5 @@ export declare const ToolbarButtonStyles: {
|
|
73
73
|
object: typeof import("../../aurora/styling/styles").TextStyles.getBlueprintTextStylingObject;
|
74
74
|
};
|
75
75
|
};
|
76
|
-
wrapper: (dark: boolean, border: "left" | "right" | "left right") => string;
|
76
|
+
wrapper: (dark: boolean, border: "left" | "right" | "left right" | "bottom") => string;
|
77
77
|
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
2
2
|
import { IIcon } from "@omnia/fx-models";
|
3
|
-
type ToolbarButtonProps = DefinePropTheming & DefineProp<"icon", IIcon> & DefineProp<"active", boolean> & DefineProp<"title", string> & DefineProp<"border", "left" | "right" | "left right">;
|
3
|
+
type ToolbarButtonProps = DefinePropTheming & DefineProp<"icon", IIcon> & DefineProp<"active", boolean> & DefineProp<"position", "topBar" | "bottomBar" | "rightBar"> & DefineProp<"title", string> & DefineProp<"border", "left" | "right" | "left right" | "bottom">;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarButtonProps> & {} & {
|
5
5
|
"v-slots"?: {} & Omit<{
|
6
6
|
default?: import("vue").Slot;
|
7
7
|
}, never>;
|
8
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "border" | "title" | "colorSchemaType" | "active" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "border" | "position" | "title" | "colorSchemaType" | "active" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
9
|
export default _default;
|
@@ -3,10 +3,21 @@ import { DisplayBreakpointTypes, guid, IEditorChromeRegistration, NotificationMe
|
|
3
3
|
export declare const useEditorChromeStore: () => {
|
4
4
|
state: {
|
5
5
|
finishedLoading: boolean;
|
6
|
-
|
6
|
+
renderingKeys: {
|
7
|
+
header: guid;
|
8
|
+
footer: guid;
|
9
|
+
leftDrawer: guid;
|
10
|
+
rightDrawer: guid;
|
11
|
+
};
|
7
12
|
drawers: {
|
8
|
-
|
9
|
-
|
13
|
+
left: {
|
14
|
+
enabled: boolean;
|
15
|
+
show: boolean;
|
16
|
+
};
|
17
|
+
right: {
|
18
|
+
enabled: boolean;
|
19
|
+
show: boolean;
|
20
|
+
};
|
10
21
|
};
|
11
22
|
tabs: {
|
12
23
|
activeIndex: number;
|
@@ -14,6 +25,64 @@ export declare const useEditorChromeStore: () => {
|
|
14
25
|
items: IEditorChromeRegistration[];
|
15
26
|
};
|
16
27
|
canvasSettings: {
|
28
|
+
scroll: {
|
29
|
+
store: {
|
30
|
+
state: {
|
31
|
+
elementRef: HTMLElement;
|
32
|
+
elementId: string;
|
33
|
+
disableScrolling: boolean;
|
34
|
+
height: string;
|
35
|
+
width: string;
|
36
|
+
scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
|
37
|
+
coordinates: {
|
38
|
+
readonly left: number;
|
39
|
+
readonly right: number;
|
40
|
+
readonly bottom: number;
|
41
|
+
readonly top: number;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
45
|
+
elementRef: HTMLElement;
|
46
|
+
elementId: string;
|
47
|
+
disableScrolling: boolean;
|
48
|
+
height: string;
|
49
|
+
width: string;
|
50
|
+
scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
|
51
|
+
coordinates: {
|
52
|
+
readonly left: number;
|
53
|
+
readonly right: number;
|
54
|
+
readonly bottom: number;
|
55
|
+
readonly top: number;
|
56
|
+
};
|
57
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
58
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
59
|
+
scroll: () => void;
|
60
|
+
calculateDynamicHeight: () => void;
|
61
|
+
setHeight: (height: string) => void;
|
62
|
+
setWidth: (width: string) => void;
|
63
|
+
setScrolling: (scrolling: import("@omnia/fx-models").OScrollTypesCombination) => void;
|
64
|
+
calculateScrollHeight: (referenceElementIds: string[]) => void;
|
65
|
+
isElementNameStillInView: (elementName: string) => boolean;
|
66
|
+
isElementIdStillInView: (elementId: string) => boolean;
|
67
|
+
scrollToStart: () => void;
|
68
|
+
scrollToElementId: (elementId: string, anchor?: import("../..").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void, immediate?: boolean) => void;
|
69
|
+
scrollToElementName: (elementName: string, anchor?: import("../..").AnchorPosition) => void;
|
70
|
+
scrollToElement: (element: HTMLElement, anchor?: import("../..").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
71
|
+
scrollToSelector: (selector: string, anchor?: import("../..").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void, immediate?: boolean) => void;
|
72
|
+
}>;
|
73
|
+
get: {
|
74
|
+
readonly coordinates: {
|
75
|
+
readonly left: number;
|
76
|
+
readonly right: number;
|
77
|
+
readonly bottom: number;
|
78
|
+
readonly top: number;
|
79
|
+
};
|
80
|
+
readonly scrollPosition: number;
|
81
|
+
};
|
82
|
+
} & {
|
83
|
+
dispose?: () => void;
|
84
|
+
};
|
85
|
+
};
|
17
86
|
zoom: {
|
18
87
|
enabled: boolean;
|
19
88
|
level: number;
|
@@ -21,6 +90,26 @@ export declare const useEditorChromeStore: () => {
|
|
21
90
|
displaySize: {
|
22
91
|
enabled: boolean;
|
23
92
|
value: "l" | "s" | "m";
|
93
|
+
store: {
|
94
|
+
state: {
|
95
|
+
width: string;
|
96
|
+
zoomLevel: number;
|
97
|
+
};
|
98
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
99
|
+
width: string;
|
100
|
+
zoomLevel: number;
|
101
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
102
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
103
|
+
setWidth: (width: string) => void;
|
104
|
+
resetWidth: () => void;
|
105
|
+
setBreakPoint: (breakPoint: DisplayBreakpointTypes) => void;
|
106
|
+
resetZoomLevel: () => void;
|
107
|
+
setZoomLevel: (zoomLevel: number) => void;
|
108
|
+
}>;
|
109
|
+
get: {};
|
110
|
+
} & {
|
111
|
+
dispose?: () => void;
|
112
|
+
};
|
24
113
|
};
|
25
114
|
};
|
26
115
|
splitPanes: {
|
@@ -48,8 +137,19 @@ export declare const useEditorChromeStore: () => {
|
|
48
137
|
};
|
49
138
|
};
|
50
139
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
51
|
-
|
52
|
-
|
140
|
+
header: () => {
|
141
|
+
syncButtons: () => void;
|
142
|
+
};
|
143
|
+
footer: () => {
|
144
|
+
syncButtons: () => void;
|
145
|
+
};
|
146
|
+
canvas: () => {
|
147
|
+
syncDisplaySettings: () => void;
|
148
|
+
setDisplayBreakPoint: (value: DisplayBreakpointTypes) => void;
|
149
|
+
zoomIn: (step?: number) => void;
|
150
|
+
zoomOut: (step?: number) => void;
|
151
|
+
setZoom: (level: number) => void;
|
152
|
+
resetZoom: () => void;
|
53
153
|
};
|
54
154
|
tabs: () => {
|
55
155
|
syncEditor: () => void;
|
@@ -58,8 +158,14 @@ export declare const useEditorChromeStore: () => {
|
|
58
158
|
};
|
59
159
|
showNotification: (message: NotificationMessage) => void;
|
60
160
|
drawers: () => {
|
61
|
-
|
62
|
-
|
161
|
+
left: {
|
162
|
+
syncButtons: () => void;
|
163
|
+
toggle: (value: boolean) => void;
|
164
|
+
};
|
165
|
+
right: {
|
166
|
+
syncButtons: (currentId: guid) => void;
|
167
|
+
toggle: (value: boolean) => void;
|
168
|
+
};
|
63
169
|
};
|
64
170
|
splitPanes: () => {
|
65
171
|
wrapper: {
|
@@ -74,7 +180,9 @@ export declare const useEditorChromeStore: () => {
|
|
74
180
|
init: () => void;
|
75
181
|
}>;
|
76
182
|
get: {};
|
77
|
-
rules: {
|
183
|
+
rules: {
|
184
|
+
showLeftDrawerSettings: () => boolean;
|
185
|
+
};
|
78
186
|
} & {
|
79
187
|
dispose?: () => void;
|
80
188
|
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DefinePropTheming } from "@omnia/fx/ux";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefinePropTheming> & {} & {
|
3
|
+
"v-slots"?: {} & Omit<{
|
4
|
+
default?: import("vue").Slot;
|
5
|
+
}, never>;
|
6
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
7
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DefinePropTheming } from "@omnia/fx/ux";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefinePropTheming> & {} & {
|
3
|
+
"v-slots"?: {} & Omit<{
|
4
|
+
default?: import("vue").Slot;
|
5
|
+
}, never>;
|
6
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
7
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DefinePropTheming } from "@omnia/fx/ux";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefinePropTheming> & {} & {
|
3
|
+
"v-slots"?: {} & Omit<{
|
4
|
+
default?: import("vue").Slot;
|
5
|
+
}, never>;
|
6
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
7
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/sizecontainer/SizeContainer.css.d.ts
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
export declare const SizeContainerStyles: {
|
2
|
-
wrapper: (backgroundColor: any) =>
|
3
|
-
|
2
|
+
wrapper: (backgroundColor: any) => Readonly<import("internal/fx/ux/Styles.stylex").StylexValue>;
|
3
|
+
baseContainer: (backgroundColor: any) => Readonly<import("internal/fx/ux/Styles.stylex").StylexValue>;
|
4
|
+
sizeWrapper: (width: any) => Readonly<import("internal/fx/ux/Styles.stylex").StylexValue>;
|
5
|
+
zoomTransform: (zoomLevel: number) => import("internal/fx/ux/Styles.stylex").StylexValue;
|
4
6
|
};
|
@@ -84,6 +84,9 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
84
84
|
}, Record<string, IMessageBusTopicPublishSubscriber<any>>>;
|
85
85
|
actions: import("../../../stores").StoreReturnDefineAction<{
|
86
86
|
setWidth: (width: string) => void;
|
87
|
+
resetWidth: () => void;
|
88
|
+
setBreakPoint: (breakPoint: import("@omnia/fx-models").DisplayBreakpointTypes) => void;
|
89
|
+
resetZoomLevel: () => void;
|
87
90
|
setZoomLevel: (zoomLevel: number) => void;
|
88
91
|
}>;
|
89
92
|
get: {};
|
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.477-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.477-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
File without changes
|
/package/internal-do-not-import-from-here/ux/editorchrome/{header → toolbars}/HeaderToolbar.css.d.ts
RENAMED
File without changes
|