@roomle/embedding-lib 5.12.0-alpha.7 → 5.12.0-alpha.9
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/docs/md/web/embedding/CHANGELOG.md +4 -2
- package/package.json +2 -2
- package/src/common/components/ToggleButtons.vue.d.ts +8 -4
- package/src/common/composables/use-event-emitter-listener.d.ts +2 -0
- package/src/common/composables/use-planner-actions-visibility.d.ts +1 -0
- package/src/common/utils/dom.d.ts +1 -1
- package/src/configurator/components/utils/RadioButton.vue.d.ts +16 -22
- package/src/planner/components/overlays/rooms/SlopingRoof.vue.d.ts +12 -0
- package/src/planner/components/overlays/rooms/SlopingRoofDirection.vue.d.ts +15 -0
- package/src/planner/components/utils/WallSideIcon.vue.d.ts +11 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
## [5.12.0-alpha.
|
|
1
|
+
## [5.12.0-alpha.9](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.12.0-alpha.8...embedding-lib-v5.12.0-alpha.9) (2025-03-05)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* add wall attic functionality ([381c211](https://github.com/roomle-dev/roomle-ui/commit/381c211b3ebee5eb87dfee8a0aff665dac8586fd))
|
|
7
|
+
* **SDK:** upgrade to version 2.94.0-alpha.24 ([e0e027c](https://github.com/roomle-dev/roomle-ui/commit/e0e027c8b40ceffa5a80536b9872a05903c0e86e))
|
|
8
|
+
* **SDK:** upgrade to version 2.94.0-alpha.25 ([#1512](https://github.com/roomle-dev/roomle-ui/issues/1512)) ([db16c8c](https://github.com/roomle-dev/roomle-ui/commit/db16c8c3f27670d368048fda02c54d025d1b62f3))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/embedding-lib",
|
|
3
|
-
"version": "5.12.0-alpha.
|
|
3
|
+
"version": "5.12.0-alpha.9",
|
|
4
4
|
"description": "This is a small library which can be used to communicate with the Roomle Configurator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./roomle-embedding-lib.umd.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"npm": "8.3.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@roomle/web-sdk": "2.94.0-alpha.
|
|
32
|
+
"@roomle/web-sdk": "2.94.0-alpha.25"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
firstIconName
|
|
3
|
-
secondIconName
|
|
2
|
+
firstIconName?: string;
|
|
3
|
+
secondIconName?: string;
|
|
4
|
+
firstLabel?: string;
|
|
5
|
+
secondLabel?: string;
|
|
4
6
|
isActive: boolean;
|
|
5
7
|
toggle: () => void;
|
|
6
8
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
-
firstIconName
|
|
8
|
-
secondIconName
|
|
9
|
+
firstIconName?: string;
|
|
10
|
+
secondIconName?: string;
|
|
11
|
+
firstLabel?: string;
|
|
12
|
+
secondLabel?: string;
|
|
9
13
|
isActive: boolean;
|
|
10
14
|
toggle: () => void;
|
|
11
15
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -46,6 +46,7 @@ export interface UpdateEventTypes {
|
|
|
46
46
|
export declare const CUSTOM_VIEW_EVENTS: {
|
|
47
47
|
readonly SHOW: "show-custom-view";
|
|
48
48
|
readonly HIDE: "hide-custom-view";
|
|
49
|
+
readonly ATTIC_UPDATED: "attic-updated";
|
|
49
50
|
};
|
|
50
51
|
export interface CustomViewEventTypes {
|
|
51
52
|
[CUSTOM_VIEW_EVENTS.SHOW]: {
|
|
@@ -56,6 +57,7 @@ export interface CustomViewEventTypes {
|
|
|
56
57
|
viewName: PossibleCustomViews;
|
|
57
58
|
options: PossibleCustomViewSettings;
|
|
58
59
|
};
|
|
60
|
+
[CUSTOM_VIEW_EVENTS.ATTIC_UPDATED]: boolean;
|
|
59
61
|
}
|
|
60
62
|
interface EventEmitterTypes extends SidebarEventTypes, UpdateEventTypes, NotificationEventTypes, CustomViewEventTypes {
|
|
61
63
|
}
|
|
@@ -8,4 +8,5 @@ export declare const usePlannerActionsVisibility: () => {
|
|
|
8
8
|
showSwitchProduct: import('vue').ComputedRef<boolean>;
|
|
9
9
|
showProductFlip: import('vue').ComputedRef<boolean>;
|
|
10
10
|
selectionIsConstructionElement: import('vue').ComputedRef<boolean>;
|
|
11
|
+
showSlopingButton: import('vue').ComputedRef<any>;
|
|
11
12
|
};
|
|
@@ -13,7 +13,7 @@ export declare const removeLoadingScreen: (e2e: boolean | undefined) => Promise<
|
|
|
13
13
|
export declare const hasLoadingScreen: () => boolean;
|
|
14
14
|
export declare const hasLoadingScreenIntend: () => boolean;
|
|
15
15
|
export declare const showLoadingScreen: (e2e: boolean | undefined, delay?: number) => Promise<void>;
|
|
16
|
-
export declare const copyToClipboard: (text: string) => void
|
|
16
|
+
export declare const copyToClipboard: (text: string) => Promise<void>;
|
|
17
17
|
export declare const setLoadingProgress: (percent: number) => void;
|
|
18
18
|
export declare const hideLoadingCircle: () => void;
|
|
19
19
|
export declare const scrollElement: (selectedElement: Element) => void;
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
text: StringConstructor;
|
|
5
|
-
checked: BooleanConstructor;
|
|
6
|
-
value: StringConstructor;
|
|
7
|
-
onClick: PropType<(_payload: MouseEvent) => void>;
|
|
8
|
-
name: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
-
text: StringConstructor;
|
|
14
|
-
checked: BooleanConstructor;
|
|
15
|
-
value: StringConstructor;
|
|
16
|
-
onClick: PropType<(_payload: MouseEvent) => void>;
|
|
17
|
-
name: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
checked: boolean;
|
|
3
|
+
value: string;
|
|
22
4
|
name: string;
|
|
5
|
+
onClick: (_payload: MouseEvent) => void;
|
|
6
|
+
text?: string;
|
|
7
|
+
size?: string;
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
9
|
checked: boolean;
|
|
24
|
-
|
|
10
|
+
value: string;
|
|
11
|
+
name: string;
|
|
12
|
+
onClick: (_payload: MouseEvent) => void;
|
|
13
|
+
text?: string;
|
|
14
|
+
size?: string;
|
|
15
|
+
}> & Readonly<{}>, {
|
|
16
|
+
size: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
19
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
api: RoomlePlanner;
|
|
5
|
+
hideInputs?: boolean;
|
|
6
|
+
hideDirection?: boolean;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
api: RoomlePlanner;
|
|
9
|
+
hideInputs?: boolean;
|
|
10
|
+
hideDirection?: boolean;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KernelAttic } from '@roomle/web-sdk/lib/definitions/typings/planner';
|
|
2
|
+
import { default as RoomlePlanner } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
attachedAttic: KernelAttic;
|
|
7
|
+
api: RoomlePlanner;
|
|
8
|
+
}, {
|
|
9
|
+
direction: import('vue').Ref<"left" | "right", "left" | "right">;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
attachedAttic: KernelAttic;
|
|
13
|
+
api: RoomlePlanner;
|
|
14
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -5,13 +5,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5
5
|
props: {
|
|
6
6
|
type: PropType<WallSideIconProps>;
|
|
7
7
|
};
|
|
8
|
+
flip: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
8
12
|
}>, {
|
|
9
13
|
wallIconAngle: import('vue').ComputedRef<string>;
|
|
10
14
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
15
|
props: {
|
|
12
16
|
type: PropType<WallSideIconProps>;
|
|
13
17
|
};
|
|
14
|
-
|
|
18
|
+
flip: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
flip: boolean;
|
|
24
|
+
}, {}, {
|
|
15
25
|
SvgIcon: import('vue').DefineComponent<{
|
|
16
26
|
icon: string;
|
|
17
27
|
}, {
|