@roomle/embedding-lib 5.11.0-alpha.1 → 5.11.0-alpha.2

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.
@@ -1,14 +1,17 @@
1
- ## [5.11.0-alpha.1](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.10.0...embedding-lib-v5.11.0-alpha.1) (2025-01-30)
1
+ ## [5.11.0-alpha.2](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.11.0-alpha.1...embedding-lib-v5.11.0-alpha.2) (2025-02-06)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **SDK:** upgrade to 2.93.0-alpha.1 ([c64be1b](https://github.com/roomle-dev/roomle-ui/commit/c64be1bf3e09aef2746f978c424fe87e4bd2b321))
7
- * **SDK:** upgrade to version 2.92.0 ([#1448](https://github.com/roomle-dev/roomle-ui/issues/1448)) ([e7445f2](https://github.com/roomle-dev/roomle-ui/commit/e7445f207df93c365218c9de0e5493d6bb5e5cff))
8
- * use tenant from configurator id ([24422be](https://github.com/roomle-dev/roomle-ui/commit/24422be1bb3b4146a4016ee3741d82430f80240d))
6
+ * add object highlighting on hover to product list objects ([e067163](https://github.com/roomle-dev/roomle-ui/commit/e067163cfad8584cab6ed6f8b9f933b73858f8d3))
7
+ * make Items selectable via product list ([fe76875](https://github.com/roomle-dev/roomle-ui/commit/fe768756f744b704410b3b4dbbabdc81dd0b2f28))
8
+ * **SDK:** upgrade to version 2.93.0-alpha.2 ([#1454](https://github.com/roomle-dev/roomle-ui/issues/1454)) ([e2cf0c7](https://github.com/roomle-dev/roomle-ui/commit/e2cf0c77f672064d196a4626bbec999e1aecbd4a))
9
+ * **SDK:** upgrade to version 2.93.0-alpha.3 ([#1456](https://github.com/roomle-dev/roomle-ui/issues/1456)) ([6f094e3](https://github.com/roomle-dev/roomle-ui/commit/6f094e3b65be9ead6b2a5b416e77c044bfc143e1))
10
+ * **SDK:** upgrade to version 2.93.0-alpha.4 ([#1463](https://github.com/roomle-dev/roomle-ui/issues/1463)) ([dd069b2](https://github.com/roomle-dev/roomle-ui/commit/dd069b265fd8f0002a92780f5162899acd25877a))
11
+ * **SDK:** upgrade to version 2.93.0-alpha.5 ([#1466](https://github.com/roomle-dev/roomle-ui/issues/1466)) ([86cdec1](https://github.com/roomle-dev/roomle-ui/commit/86cdec14d5ebf59c5d5f94a50297c68692e28773))
9
12
 
10
13
 
11
14
  ### Bug Fixes
12
15
 
13
- * improve Notification cards: Swipe functionality ([3d3866d](https://github.com/roomle-dev/roomle-ui/commit/3d3866d68a6f5858addd3de8b5aba40c43ef3870))
14
- * typescript error when build embedding lib ([b73ed20](https://github.com/roomle-dev/roomle-ui/commit/b73ed20880d6f5688603d2a25f4e92b477a8344f))
16
+ * dont enable GA by default ([156e233](https://github.com/roomle-dev/roomle-ui/commit/156e23375dede430b5b2b40ca087d27376ae37f3))
17
+ * SDK: Floor color looks strange on Safari ([7bf1e40](https://github.com/roomle-dev/roomle-ui/commit/7bf1e40f6a3fd6c60fd7624f02e05ff3ab493699))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "5.11.0-alpha.1",
3
+ "version": "5.11.0-alpha.2",
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.93.0-alpha.1"
32
+ "@roomle/web-sdk": "2.93.0-alpha.5"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -1,8 +1,11 @@
1
1
  import { UsePointerPosReturn } from '../../composables/use-pointer-pos';
2
+ import { CssHash } from '../../utils/types';
2
3
 
3
4
  declare const _default: import('vue').DefineComponent<{
4
5
  pointerPos: UsePointerPosReturn;
6
+ menuPosition: CssHash;
5
7
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
8
  pointerPos: UsePointerPosReturn;
9
+ menuPosition: CssHash;
7
10
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
11
  export default _default;
@@ -122,13 +122,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
122
122
  disabled: boolean;
123
123
  isOpen: boolean;
124
124
  }, {}, {
125
- ArrowButton: import('vue').DefineComponent<{
126
- onClick: (_payload: MouseEvent) => void;
127
- direction?: string;
128
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
129
- onClick: (_payload: MouseEvent) => void;
130
- direction?: string;
131
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
125
+ ArrowButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
132
126
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
133
127
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
134
128
  HeightToggle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -156,13 +150,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
156
150
  disabled: boolean;
157
151
  isOpen: boolean;
158
152
  }, {}, {
159
- ArrowButton: import('vue').DefineComponent<{
160
- onClick: (_payload: MouseEvent) => void;
161
- direction?: string;
162
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
163
- onClick: (_payload: MouseEvent) => void;
164
- direction?: string;
165
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
153
+ ArrowButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
166
154
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
167
155
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
168
156
  PartListHeader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -68,13 +68,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
68
  disabled: boolean;
69
69
  isOpen: boolean;
70
70
  }, {}, {
71
- ArrowButton: import('vue').DefineComponent<{
72
- onClick: (_payload: MouseEvent) => void;
73
- direction?: string;
74
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
75
- onClick: (_payload: MouseEvent) => void;
76
- direction?: string;
77
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
71
+ ArrowButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
78
72
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
79
73
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
80
74
  HeightToggle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -102,13 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
102
96
  disabled: boolean;
103
97
  isOpen: boolean;
104
98
  }, {}, {
105
- ArrowButton: import('vue').DefineComponent<{
106
- onClick: (_payload: MouseEvent) => void;
107
- direction?: string;
108
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
109
- onClick: (_payload: MouseEvent) => void;
110
- direction?: string;
111
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
99
+ ArrowButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
112
100
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
113
101
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
114
102
  export default _default;
@@ -48,13 +48,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
48
48
  disabled: boolean;
49
49
  isOpen: boolean;
50
50
  }, {}, {
51
- ArrowButton: import('vue').DefineComponent<{
52
- onClick: (_payload: MouseEvent) => void;
53
- direction?: string;
54
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
55
- onClick: (_payload: MouseEvent) => void;
56
- direction?: string;
57
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
51
+ ArrowButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
52
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
59
53
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
54
  export default _default;
@@ -23,12 +23,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
23
23
  disabled: boolean;
24
24
  isOpen: boolean;
25
25
  }, {}, {
26
- ArrowButton: import('vue').DefineComponent<{
27
- onClick: (_payload: MouseEvent) => void;
28
- direction?: string;
29
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
30
- onClick: (_payload: MouseEvent) => void;
31
- direction?: string;
32
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ ArrowButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
27
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
28
  export default _default;
@@ -2,7 +2,7 @@ import { Ref } from 'vue';
2
2
  import { BUTTON_ACTIONS } from '../../configurator/store/ui-state';
3
3
  import { Enumify, PERSPECTIVE_CAMERA_TYPES } from '../utils/types';
4
4
 
5
- export declare const useSharedSidebarSetup: (topBar: Ref<HTMLElement>) => {
5
+ export declare const useSharedSidebarSetup: (topBar: Ref<HTMLElement> | null) => {
6
6
  currentPerspectiveIcon: Ref<string, string>;
7
7
  isPerspectiveIconsExpanded: Ref<boolean, boolean>;
8
8
  isConfigureInRoomIconsExpanded: Ref<boolean, boolean>;
@@ -12,6 +12,7 @@ export declare const VIEW_MODES: {
12
12
  type CommonUiStateIdentifier = EnsurePrefix<'COMMON_UI_STATE_'>;
13
13
  export interface CommonUiState {
14
14
  showFlyingMenu: boolean;
15
+ flyingMenuTriggeredByClick: boolean;
15
16
  isInIframe: boolean;
16
17
  isViewOnly: Nullable<boolean>;
17
18
  lastRequestedId: Nullable<RapiId>;
@@ -5,6 +5,11 @@ declare const _default: import('vue').DefineComponent<{}, {
5
5
  x: import('vue').Ref<number, number>;
6
6
  y: import('vue').Ref<number, number>;
7
7
  };
8
+ menuPosition: import('vue').ComputedRef<{
9
+ top: string;
10
+ left: string;
11
+ transform: string;
12
+ }>;
8
13
  }, {}, {
9
14
  OVERLAYS(): typeof OVERLAYS;
10
15
  hasOpenOverlay(): boolean;
@@ -14,8 +19,10 @@ declare const _default: import('vue').DefineComponent<{}, {
14
19
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
15
20
  FlyingMenu: import('vue').DefineComponent<{
16
21
  pointerPos: import('../../common/composables/use-pointer-pos').UsePointerPosReturn;
22
+ menuPosition: import('../../common/utils/types').CssHash;
17
23
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
24
  pointerPos: import('../../common/composables/use-pointer-pos').UsePointerPosReturn;
25
+ menuPosition: import('../../common/utils/types').CssHash;
19
26
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
27
  Tutorials: import('vue').DefineComponent<{
21
28
  onClose: () => void;
@@ -1,8 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- onClick: (_payload: MouseEvent) => void;
3
- direction?: string;
4
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
5
- onClick: (_payload: MouseEvent) => void;
6
- direction?: string;
7
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
2
  export default _default;
@@ -0,0 +1,42 @@
1
+ import { ProductListEntryType } from '../ProductList.vue';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ product: ProductListEntryType;
5
+ perspectiveImage: string;
6
+ label: string;
7
+ runtimeId?: number;
8
+ quantity: number;
9
+ hasPartList: boolean;
10
+ isHovered: boolean;
11
+ isExpanded?: boolean;
12
+ isParent?: boolean;
13
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "toggle-expand": (...args: any[]) => void;
15
+ "toggle-part-list": (...args: any[]) => void;
16
+ "select-product": (...args: any[]) => void;
17
+ "multiselect-product": (...args: any[]) => void;
18
+ "hover-product": (...args: any[]) => void;
19
+ "multi-hover-product": (...args: any[]) => void;
20
+ "leave-product": (...args: any[]) => void;
21
+ "select-product-configure": (...args: any[]) => void;
22
+ }, string, import('vue').PublicProps, Readonly<{
23
+ product: ProductListEntryType;
24
+ perspectiveImage: string;
25
+ label: string;
26
+ runtimeId?: number;
27
+ quantity: number;
28
+ hasPartList: boolean;
29
+ isHovered: boolean;
30
+ isExpanded?: boolean;
31
+ isParent?: boolean;
32
+ }> & Readonly<{
33
+ "onToggle-expand"?: (...args: any[]) => any;
34
+ "onToggle-part-list"?: (...args: any[]) => any;
35
+ "onSelect-product"?: (...args: any[]) => any;
36
+ "onMultiselect-product"?: (...args: any[]) => any;
37
+ "onHover-product"?: (...args: any[]) => any;
38
+ "onMulti-hover-product"?: (...args: any[]) => any;
39
+ "onLeave-product"?: (...args: any[]) => any;
40
+ "onSelect-product-configure"?: (...args: any[]) => any;
41
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
42
+ export default _default;
@@ -11,6 +11,7 @@ export interface XYZCoords {
11
11
  export interface ProductListItem extends UiPlanObject {
12
12
  configurationRuntimeId: number;
13
13
  quantity: number;
14
+ runtimeIds?: number[];
14
15
  }
15
16
  export declare const matchProductListAndQuantity: (productList: UiPlanObject[]) => ProductListItem[];
16
17
  export declare const fillPartList: (data: RapiItem | RapiConfiguration, partList: KernelPartList, hash: string, plannerApi: RoomlePlanner, store: Store<StoreState>) => Promise<void>;