@roomle/embedding-lib 4.43.0-debug.1 → 4.44.0

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.
Files changed (30) hide show
  1. package/.releaserc.json +1 -1
  2. package/docs/api/.nojekyll +1 -0
  3. package/docs/api/README.md +9 -0
  4. package/docs/api/classes/exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md +47 -0
  5. package/docs/api/classes/exposed_api.ExposedApi.md +255 -0
  6. package/docs/api/classes/exposed_callbacks.ExposedCallbacks.md +195 -0
  7. package/docs/api/classes/roomle_configurator_api.default.md +211 -0
  8. package/docs/api/enums/types.UI_BUTTON.md +263 -0
  9. package/docs/api/interfaces/exposed_callbacks.Labels.md +32 -0
  10. package/docs/api/interfaces/exposed_callbacks.Price.md +32 -0
  11. package/docs/api/interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md +58 -0
  12. package/docs/api/interfaces/types.ConfiguratorSettings.md +150 -0
  13. package/docs/api/interfaces/types.EmbeddingSkin.md +65 -0
  14. package/docs/api/interfaces/types.UiInitData.md +1199 -0
  15. package/docs/api/interfaces/types.VariantsMap.md +9 -0
  16. package/docs/api/modules/exposed_analytics_callbacks.md +9 -0
  17. package/docs/api/modules/exposed_api.md +9 -0
  18. package/docs/api/modules/exposed_callbacks.md +14 -0
  19. package/docs/api/modules/roomle_configurator_api.md +49 -0
  20. package/docs/api/modules/types.md +16 -0
  21. package/docs/api/modules.md +13 -0
  22. package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +9 -119
  23. package/package.json +28 -1
  24. package/types/index.d.ts +8 -4
  25. package/types/src/common/store/index.d.ts +1 -1
  26. package/types/src/configurator/components/utils/-utils/SceneOffsetResizer.d.ts +1 -1
  27. package/types/src/planner/store/planner-ui-state.d.ts +7 -3
  28. package/types/tests/helpers/data/wall-dimensions.d.ts +41 -0
  29. package/types/tests/integration/planner/components/ShowWallMeasurements.spec.d.ts +1 -0
  30. package/types/tests/integration/planner/components/utils/InteractionHeader.spec.d.ts +1 -0
@@ -0,0 +1,9 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / [types](../modules/types.md) / VariantsMap
2
+
3
+ # Interface: VariantsMap
4
+
5
+ [types](../modules/types.md).VariantsMap
6
+
7
+ ## Indexable
8
+
9
+ ▪ [key: `string`]: `RapiId`
@@ -0,0 +1,9 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / exposed-analytics-callbacks
2
+
3
+ # Module: exposed-analytics-callbacks
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [ExposedAnalyticsCallbacks](../classes/exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md)
@@ -0,0 +1,9 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / exposed-api
2
+
3
+ # Module: exposed-api
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [ExposedApi](../classes/exposed_api.ExposedApi.md)
@@ -0,0 +1,14 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / exposed-callbacks
2
+
3
+ # Module: exposed-callbacks
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [ExposedCallbacks](../classes/exposed_callbacks.ExposedCallbacks.md)
10
+
11
+ ### Interfaces
12
+
13
+ - [Labels](../interfaces/exposed_callbacks.Labels.md)
14
+ - [Price](../interfaces/exposed_callbacks.Price.md)
@@ -0,0 +1,49 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / roomle-configurator-api
2
+
3
+ # Module: roomle-configurator-api
4
+
5
+ ## Table of contents
6
+
7
+ ### Classes
8
+
9
+ - [default](../classes/roomle_configurator_api.default.md)
10
+
11
+ ### Interfaces
12
+
13
+ - [RoomleEmbeddingApiKeys](../interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md)
14
+
15
+ ### Type aliases
16
+
17
+ - [RoomleConfiguratorApi](roomle_configurator_api.md#roomleconfiguratorapi)
18
+ - [RoomlePlannerApi](roomle_configurator_api.md#roomleplannerapi)
19
+ - [RoomleViewerApi](roomle_configurator_api.md#roomleviewerapi)
20
+
21
+ ## Type aliases
22
+
23
+ ### RoomleConfiguratorApi
24
+
25
+ Ƭ **RoomleConfiguratorApi**: [`default`](../classes/roomle_configurator_api.default.md)<`RoomleConfigurator`, `ConfiguratorUiCallbacks`\>
26
+
27
+ #### Defined in
28
+
29
+ [src/configurator/embedding/roomle-configurator-api.ts:70](https://github.com/roomle-dev/roomle-ui/blob/8222e2cc/src/configurator/embedding/roomle-configurator-api.ts#L70)
30
+
31
+ ___
32
+
33
+ ### RoomlePlannerApi
34
+
35
+ Ƭ **RoomlePlannerApi**: [`default`](../classes/roomle_configurator_api.default.md)<`RoomlePlanner`, `ConfiguratorUiCallbacks`\>
36
+
37
+ #### Defined in
38
+
39
+ [src/configurator/embedding/roomle-configurator-api.ts:72](https://github.com/roomle-dev/roomle-ui/blob/8222e2cc/src/configurator/embedding/roomle-configurator-api.ts#L72)
40
+
41
+ ___
42
+
43
+ ### RoomleViewerApi
44
+
45
+ Ƭ **RoomleViewerApi**: [`default`](../classes/roomle_configurator_api.default.md)<`RoomleGLBViewer`, `ConfiguratorUiCallbacks`\>
46
+
47
+ #### Defined in
48
+
49
+ [src/configurator/embedding/roomle-configurator-api.ts:71](https://github.com/roomle-dev/roomle-ui/blob/8222e2cc/src/configurator/embedding/roomle-configurator-api.ts#L71)
@@ -0,0 +1,16 @@
1
+ [Embedding API Reference](../README.md) / [Modules](../modules.md) / types
2
+
3
+ # Module: types
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumerations
8
+
9
+ - [UI\_BUTTON](../enums/types.UI_BUTTON.md)
10
+
11
+ ### Interfaces
12
+
13
+ - [ConfiguratorSettings](../interfaces/types.ConfiguratorSettings.md)
14
+ - [EmbeddingSkin](../interfaces/types.EmbeddingSkin.md)
15
+ - [UiInitData](../interfaces/types.UiInitData.md)
16
+ - [VariantsMap](../interfaces/types.VariantsMap.md)
@@ -0,0 +1,13 @@
1
+ [Embedding API Reference](README.md) / Modules
2
+
3
+ # Embedding API Reference
4
+
5
+ ## Table of contents
6
+
7
+ ### Modules
8
+
9
+ - [exposed-analytics-callbacks](modules/exposed_analytics_callbacks.md)
10
+ - [exposed-api](modules/exposed_api.md)
11
+ - [exposed-callbacks](modules/exposed_callbacks.md)
12
+ - [roomle-configurator-api](modules/roomle_configurator_api.md)
13
+ - [types](modules/types.md)
@@ -1,127 +1,17 @@
1
- ## [4.43.0-debug.1](https://github.com/roomle-dev/roomle-ui/compare/embedding-v4.42.0...embedding-v4.43.0-debug.1) (2022-10-11)
1
+ ## [4.44.0](https://github.com/roomle-dev/roomle-ui/compare/embedding-v4.43.0...embedding-v4.44.0) (2022-10-25)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * add flag for disabling starting in the configure mode if only one object in the scene ([19b6917](https://github.com/roomle-dev/roomle-ui/commit/19b691772d52b54a806df2dfa035a98c5e3216e4))
7
- * add loading screen for init configurator if only one item in planner ([1427bb6](https://github.com/roomle-dev/roomle-ui/commit/1427bb665b3769df60f2698f9e62554186112c5f))
8
- * add logic for opening configuring mode if only one object in plan ([d574770](https://github.com/roomle-dev/roomle-ui/commit/d574770da5fe3e2e7f48da1d3d6787dd2834e743))
9
- * add measurement unit for room sidebar ([b97249c](https://github.com/roomle-dev/roomle-ui/commit/b97249cd4ff516540567ae89afd16d7b83c706da))
10
- * add new more generic RoomSidebar ([88a0e70](https://github.com/roomle-dev/roomle-ui/commit/88a0e70d3db1b678dcfbac2288b6192e035e8cab))
11
- * add room parameters on mobile ([e8b14ed](https://github.com/roomle-dev/roomle-ui/commit/e8b14edae98824a5b6b65c8cc9db427c60562f65))
12
- * add switch button for sidebar ([67c155e](https://github.com/roomle-dev/roomle-ui/commit/67c155ecff77029fa4f44903c427253a4ab2befd))
13
- * add unit formatter for displaying cm and inch correctly ([5a0e020](https://github.com/roomle-dev/roomle-ui/commit/5a0e02087b7aab57b121d233ed64af0fc49e45e3))
14
- * cancel drawing on click Escape button ([0c7bd6b](https://github.com/roomle-dev/roomle-ui/commit/0c7bd6baf6ea96bc80e7693ad073e25f1b9ea126))
15
- * change draw section design on desktop ([97c6e3f](https://github.com/roomle-dev/roomle-ui/commit/97c6e3f7c4986640ffdfd5d16631a1570d762216))
16
- * Enable drawing mode when in room mode and 2d ([3ad533a](https://github.com/roomle-dev/roomle-ui/commit/3ad533a93638b81a690ae03962e2c6ed0e5d8b54))
17
- * enable wall drawing in MOC ([26afd29](https://github.com/roomle-dev/roomle-ui/commit/26afd29a930838bf5ae9083906c6a3f8ce7765e1))
18
- * enable wall drawing on mobile RML-5095 ([7ed0e52](https://github.com/roomle-dev/roomle-ui/commit/7ed0e52fc04d20bc286f28bd9ad12c28213a4f9f))
19
- * refactor rangparameter to generic component and add component for general room range parameters ([988f840](https://github.com/roomle-dev/roomle-ui/commit/988f840befe51648f174c749686c7770aa491615))
20
- * tell SDK to ignore certain UI elements ([be1a4d4](https://github.com/roomle-dev/roomle-ui/commit/be1a4d4adbdc91f0a47e19acc6f01f9d74521d23))
21
- * unify the interaction headers in MOC ([6ffea9a](https://github.com/roomle-dev/roomle-ui/commit/6ffea9a6e995419d96239ef86c58bc2194fb000a))
22
- * **SDK:** upgrade SDK to version 2.40.0 ([beaeafa](https://github.com/roomle-dev/roomle-ui/commit/beaeafae237caeb272f7da72b35b44f838ae2538))
23
- * **SDK:** upgrade to version 2.39.0 ([e13eba3](https://github.com/roomle-dev/roomle-ui/commit/e13eba3c87068bccd6aca69bad6e0d0c8e7163a6))
24
- * **SDK:** upgrade to version 2.39.0-alpha.1 ([a1dca3e](https://github.com/roomle-dev/roomle-ui/commit/a1dca3ed1cc4f8ee4bc888a6fc1da14266d03102))
25
- * **SDK:** upgrade to version 2.39.0-alpha.2 ([9d32d1b](https://github.com/roomle-dev/roomle-ui/commit/9d32d1b10c95d59a11b951a0aefc80a3e1a24634))
26
- * **SDK:** upgrade to version 2.39.0-alpha.3 ([7c812cf](https://github.com/roomle-dev/roomle-ui/commit/7c812cfbec49d87af1f13ca6bde983a649850637))
27
- * **SDK:** upgrade to version 2.40.0-alpha.1 ([f6be2d6](https://github.com/roomle-dev/roomle-ui/commit/f6be2d61896f2223811aa86dca112e4d0921eec5))
28
- * **SDK:** upgrade to version 2.40.0-alpha.2 ([8a9a3f9](https://github.com/roomle-dev/roomle-ui/commit/8a9a3f9bc7af1b3900f8760b1ec56fe51fc1b729))
29
- * **SDK:** upgrade to version 2.40.0-alpha.3 ([8833fc5](https://github.com/roomle-dev/roomle-ui/commit/8833fc519f4983409212ead36eb38a8c1a93aef1))
30
- * **SDK:** upgrade to version 2.40.0-alpha.4 ([c0940c1](https://github.com/roomle-dev/roomle-ui/commit/c0940c13b40b10c3fe779c28571e5a96c67acd48))
31
- * **SDK:** upgrade to version 2.40.0-alpha.5 ([579a79a](https://github.com/roomle-dev/roomle-ui/commit/579a79af6358eb13e9a3b3efd5e857a3d558ba23))
32
- * **SDK:** upgrade to version 2.40.0-alpha.6 ([e1323da](https://github.com/roomle-dev/roomle-ui/commit/e1323dada1fca1a61a09e2ad79530d8f3d325a05))
33
- * **SDK:** upgrade to version 2.40.0-alpha.7 ([6aa4032](https://github.com/roomle-dev/roomle-ui/commit/6aa40325dcc514b490ed6ca41206ea29f63461f4))
34
- * **SDK:** upgrade to version 2.40.0-alpha.8 ([c721d2e](https://github.com/roomle-dev/roomle-ui/commit/c721d2ee71c09fa5452f36d078be4415aa6c4a4e))
6
+ * add second drawer level indicator ([756312a](https://github.com/roomle-dev/roomle-ui/commit/756312a62fe1b4ca1a1b0c8ffa445030827db677))
7
+ * remove interactions header if it is a second level drawer ([5d87fda](https://github.com/roomle-dev/roomle-ui/commit/5d87fda58d47f471a247e0c593422a103dae9c6b))
8
+ * **SDK:** upgrade SDK to version 2.41.0-alpha.3 ([6c9b58b](https://github.com/roomle-dev/roomle-ui/commit/6c9b58bd6578eedb51fd1cdc2b2ceaf4b51803f2))
9
+ * **SDK:** upgrade to SDK version 2.41.0-alpha.1 ([09efc56](https://github.com/roomle-dev/roomle-ui/commit/09efc560538b4373a9a53464228a4a4cb80886b1))
10
+ * **SDK:** upgrade to version 2.41.0-alpha.2 ([afdd6e4](https://github.com/roomle-dev/roomle-ui/commit/afdd6e447dcc2c3e9606bb31e7d808c661e70072))
35
11
 
36
12
 
37
13
  ### Bug Fixes
38
14
 
39
- * add correct icons for room nav sidebar ([80e6cbb](https://github.com/roomle-dev/roomle-ui/commit/80e6cbba4eb9a9017016c0e3a5dc3f7039b27948))
40
- * add key so that Vue can cache list and render faster ([83c6360](https://github.com/roomle-dev/roomle-ui/commit/83c63607a108d0ebf783dae23894570e8589cb66))
41
- * add missing german translation and remove double wall parameter translation ([463d829](https://github.com/roomle-dev/roomle-ui/commit/463d829423b7af02de3ab33841e8f243b5e1514f))
42
- * broken icons ([0b0b937](https://github.com/roomle-dev/roomle-ui/commit/0b0b937a12f92a1a998fbf07d56513e070cc5f2e))
43
- * change bottom bar label as in the designs ([5157813](https://github.com/roomle-dev/roomle-ui/commit/51578131c49095cc97429d5cc619c0a971a7d810))
44
- * change incorrect german spelling ([10f6e6a](https://github.com/roomle-dev/roomle-ui/commit/10f6e6ad7311b3020e5560a99cb18e677d8f2638))
45
- * change the wrong header for room sidebar ([3e94e1c](https://github.com/roomle-dev/roomle-ui/commit/3e94e1c99653c215ffb779e8d2ca8c6d62c2af55))
46
- * cropped inch ([f884757](https://github.com/roomle-dev/roomle-ui/commit/f88475763e6e61e370b296f950b5bfd78114bd9d))
47
- * fix design issue of action button and refactor css to component intern ([63f5555](https://github.com/roomle-dev/roomle-ui/commit/63f555518de306b77002f1f890162035dd7bbe58))
48
- * handle genImageUrl exception ([4aa223a](https://github.com/roomle-dev/roomle-ui/commit/4aa223a36acef40490fbdd70b867d183c6eddcda))
49
- * hide measurements when switching between configurator to planner ([3c9335b](https://github.com/roomle-dev/roomle-ui/commit/3c9335badfabdef116d79fa01bda9da3333e3355))
50
- * implement correct mobile design of room icons ([f2b8f57](https://github.com/roomle-dev/roomle-ui/commit/f2b8f577029439b5c4d5064389c40dab90b955c6))
51
- * incorrect function should also check if value is undefined or null ([b06386d](https://github.com/roomle-dev/roomle-ui/commit/b06386df3b714703a95599d2171c8e7888dceed5))
52
- * incorrect icons ([a530d65](https://github.com/roomle-dev/roomle-ui/commit/a530d65da0393eccb01e18696ada619c5168a781))
53
- * MOC partlist print ([6a9dcde](https://github.com/roomle-dev/roomle-ui/commit/6a9dcde11f1f972d63174729460aa293333ffb39))
54
- * MOC: the room header not exact like the design ([639ff5e](https://github.com/roomle-dev/roomle-ui/commit/639ff5ed326e38d31899b444fb853b112c50c606))
55
- * MOC(Mobile): disable 2D view toggle if we are in drawing mode ([052aa1a](https://github.com/roomle-dev/roomle-ui/commit/052aa1abcd794064a1934ec84b91ddfe76cb248f))
56
- * only show icon without text as request button, only 2 lines for main label RML-5021 ([05d050a](https://github.com/roomle-dev/roomle-ui/commit/05d050a4ec31338a6b2f1afdb0896a7fc2e470b9))
57
- * range slider bugs and refactor functions into room general settings component ([9e2edc4](https://github.com/roomle-dev/roomle-ui/commit/9e2edc4538f87046499bdf5a47eb58782e48db79))
58
- * remove code smell and make dependency on plannerUiState.measurementUnit explicit ([d589ff7](https://github.com/roomle-dev/roomle-ui/commit/d589ff7eb88916b13f62798d984a00e8c8d54977))
59
- * remove the wired callback registration from embedding example RML-4804 RML-4806 ([5ffb735](https://github.com/roomle-dev/roomle-ui/commit/5ffb735357447d355b3d616938394b9ea00436d9))
60
- * should show error message if input is too great or low ([36ea24b](https://github.com/roomle-dev/roomle-ui/commit/36ea24bc5981f729c901e925322a287e25a8bc59))
61
- * update wall measurements on update walls ([94acb6d](https://github.com/roomle-dev/roomle-ui/commit/94acb6d35a01dbf4f4b25b6aedf67d49bc53038d))
62
- * wall general param state on undo/redo ([c75eda2](https://github.com/roomle-dev/roomle-ui/commit/c75eda22fcb4a4397829d724414667f79d6074a3))
63
- * wrong name of class ([41e8a6b](https://github.com/roomle-dev/roomle-ui/commit/41e8a6b10bdac6af7962028a8e4d7f0352f75256))
64
-
65
- ## [4.43.0-debug.1](https://github.com/roomle-dev/roomle-ui/compare/embedding-v4.42.0...embedding-v4.43.0-debug.1) (2022-10-11)
66
-
67
-
68
- ### Features
69
-
70
- * add flag for disabling starting in the configure mode if only one object in the scene ([19b6917](https://github.com/roomle-dev/roomle-ui/commit/19b691772d52b54a806df2dfa035a98c5e3216e4))
71
- * add loading screen for init configurator if only one item in planner ([1427bb6](https://github.com/roomle-dev/roomle-ui/commit/1427bb665b3769df60f2698f9e62554186112c5f))
72
- * add logic for opening configuring mode if only one object in plan ([d574770](https://github.com/roomle-dev/roomle-ui/commit/d574770da5fe3e2e7f48da1d3d6787dd2834e743))
73
- * add measurement unit for room sidebar ([b97249c](https://github.com/roomle-dev/roomle-ui/commit/b97249cd4ff516540567ae89afd16d7b83c706da))
74
- * add new more generic RoomSidebar ([88a0e70](https://github.com/roomle-dev/roomle-ui/commit/88a0e70d3db1b678dcfbac2288b6192e035e8cab))
75
- * add room parameters on mobile ([e8b14ed](https://github.com/roomle-dev/roomle-ui/commit/e8b14edae98824a5b6b65c8cc9db427c60562f65))
76
- * add switch button for sidebar ([67c155e](https://github.com/roomle-dev/roomle-ui/commit/67c155ecff77029fa4f44903c427253a4ab2befd))
77
- * add unit formatter for displaying cm and inch correctly ([5a0e020](https://github.com/roomle-dev/roomle-ui/commit/5a0e02087b7aab57b121d233ed64af0fc49e45e3))
78
- * cancel drawing on click Escape button ([0c7bd6b](https://github.com/roomle-dev/roomle-ui/commit/0c7bd6baf6ea96bc80e7693ad073e25f1b9ea126))
79
- * change draw section design on desktop ([97c6e3f](https://github.com/roomle-dev/roomle-ui/commit/97c6e3f7c4986640ffdfd5d16631a1570d762216))
80
- * Enable drawing mode when in room mode and 2d ([3ad533a](https://github.com/roomle-dev/roomle-ui/commit/3ad533a93638b81a690ae03962e2c6ed0e5d8b54))
81
- * enable wall drawing in MOC ([26afd29](https://github.com/roomle-dev/roomle-ui/commit/26afd29a930838bf5ae9083906c6a3f8ce7765e1))
82
- * enable wall drawing on mobile RML-5095 ([7ed0e52](https://github.com/roomle-dev/roomle-ui/commit/7ed0e52fc04d20bc286f28bd9ad12c28213a4f9f))
83
- * refactor rangparameter to generic component and add component for general room range parameters ([988f840](https://github.com/roomle-dev/roomle-ui/commit/988f840befe51648f174c749686c7770aa491615))
84
- * tell SDK to ignore certain UI elements ([be1a4d4](https://github.com/roomle-dev/roomle-ui/commit/be1a4d4adbdc91f0a47e19acc6f01f9d74521d23))
85
- * unify the interaction headers in MOC ([6ffea9a](https://github.com/roomle-dev/roomle-ui/commit/6ffea9a6e995419d96239ef86c58bc2194fb000a))
86
- * **SDK:** upgrade SDK to version 2.40.0 ([beaeafa](https://github.com/roomle-dev/roomle-ui/commit/beaeafae237caeb272f7da72b35b44f838ae2538))
87
- * **SDK:** upgrade to version 2.39.0 ([e13eba3](https://github.com/roomle-dev/roomle-ui/commit/e13eba3c87068bccd6aca69bad6e0d0c8e7163a6))
88
- * **SDK:** upgrade to version 2.39.0-alpha.1 ([a1dca3e](https://github.com/roomle-dev/roomle-ui/commit/a1dca3ed1cc4f8ee4bc888a6fc1da14266d03102))
89
- * **SDK:** upgrade to version 2.39.0-alpha.2 ([9d32d1b](https://github.com/roomle-dev/roomle-ui/commit/9d32d1b10c95d59a11b951a0aefc80a3e1a24634))
90
- * **SDK:** upgrade to version 2.39.0-alpha.3 ([7c812cf](https://github.com/roomle-dev/roomle-ui/commit/7c812cfbec49d87af1f13ca6bde983a649850637))
91
- * **SDK:** upgrade to version 2.40.0-alpha.1 ([f6be2d6](https://github.com/roomle-dev/roomle-ui/commit/f6be2d61896f2223811aa86dca112e4d0921eec5))
92
- * **SDK:** upgrade to version 2.40.0-alpha.2 ([8a9a3f9](https://github.com/roomle-dev/roomle-ui/commit/8a9a3f9bc7af1b3900f8760b1ec56fe51fc1b729))
93
- * **SDK:** upgrade to version 2.40.0-alpha.3 ([8833fc5](https://github.com/roomle-dev/roomle-ui/commit/8833fc519f4983409212ead36eb38a8c1a93aef1))
94
- * **SDK:** upgrade to version 2.40.0-alpha.4 ([c0940c1](https://github.com/roomle-dev/roomle-ui/commit/c0940c13b40b10c3fe779c28571e5a96c67acd48))
95
- * **SDK:** upgrade to version 2.40.0-alpha.5 ([579a79a](https://github.com/roomle-dev/roomle-ui/commit/579a79af6358eb13e9a3b3efd5e857a3d558ba23))
96
- * **SDK:** upgrade to version 2.40.0-alpha.6 ([e1323da](https://github.com/roomle-dev/roomle-ui/commit/e1323dada1fca1a61a09e2ad79530d8f3d325a05))
97
- * **SDK:** upgrade to version 2.40.0-alpha.7 ([6aa4032](https://github.com/roomle-dev/roomle-ui/commit/6aa40325dcc514b490ed6ca41206ea29f63461f4))
98
- * **SDK:** upgrade to version 2.40.0-alpha.8 ([c721d2e](https://github.com/roomle-dev/roomle-ui/commit/c721d2ee71c09fa5452f36d078be4415aa6c4a4e))
99
-
100
-
101
- ### Bug Fixes
102
-
103
- * add correct icons for room nav sidebar ([80e6cbb](https://github.com/roomle-dev/roomle-ui/commit/80e6cbba4eb9a9017016c0e3a5dc3f7039b27948))
104
- * add key so that Vue can cache list and render faster ([83c6360](https://github.com/roomle-dev/roomle-ui/commit/83c63607a108d0ebf783dae23894570e8589cb66))
105
- * add missing german translation and remove double wall parameter translation ([463d829](https://github.com/roomle-dev/roomle-ui/commit/463d829423b7af02de3ab33841e8f243b5e1514f))
106
- * broken icons ([0b0b937](https://github.com/roomle-dev/roomle-ui/commit/0b0b937a12f92a1a998fbf07d56513e070cc5f2e))
107
- * change bottom bar label as in the designs ([5157813](https://github.com/roomle-dev/roomle-ui/commit/51578131c49095cc97429d5cc619c0a971a7d810))
108
- * change incorrect german spelling ([10f6e6a](https://github.com/roomle-dev/roomle-ui/commit/10f6e6ad7311b3020e5560a99cb18e677d8f2638))
109
- * change the wrong header for room sidebar ([3e94e1c](https://github.com/roomle-dev/roomle-ui/commit/3e94e1c99653c215ffb779e8d2ca8c6d62c2af55))
110
- * cropped inch ([f884757](https://github.com/roomle-dev/roomle-ui/commit/f88475763e6e61e370b296f950b5bfd78114bd9d))
111
- * fix design issue of action button and refactor css to component intern ([63f5555](https://github.com/roomle-dev/roomle-ui/commit/63f555518de306b77002f1f890162035dd7bbe58))
112
- * handle genImageUrl exception ([4aa223a](https://github.com/roomle-dev/roomle-ui/commit/4aa223a36acef40490fbdd70b867d183c6eddcda))
113
- * hide measurements when switching between configurator to planner ([3c9335b](https://github.com/roomle-dev/roomle-ui/commit/3c9335badfabdef116d79fa01bda9da3333e3355))
114
- * implement correct mobile design of room icons ([f2b8f57](https://github.com/roomle-dev/roomle-ui/commit/f2b8f577029439b5c4d5064389c40dab90b955c6))
115
- * incorrect function should also check if value is undefined or null ([b06386d](https://github.com/roomle-dev/roomle-ui/commit/b06386df3b714703a95599d2171c8e7888dceed5))
116
- * incorrect icons ([a530d65](https://github.com/roomle-dev/roomle-ui/commit/a530d65da0393eccb01e18696ada619c5168a781))
117
- * MOC partlist print ([6a9dcde](https://github.com/roomle-dev/roomle-ui/commit/6a9dcde11f1f972d63174729460aa293333ffb39))
118
- * MOC: the room header not exact like the design ([639ff5e](https://github.com/roomle-dev/roomle-ui/commit/639ff5ed326e38d31899b444fb853b112c50c606))
119
- * MOC(Mobile): disable 2D view toggle if we are in drawing mode ([052aa1a](https://github.com/roomle-dev/roomle-ui/commit/052aa1abcd794064a1934ec84b91ddfe76cb248f))
120
- * only show icon without text as request button, only 2 lines for main label RML-5021 ([05d050a](https://github.com/roomle-dev/roomle-ui/commit/05d050a4ec31338a6b2f1afdb0896a7fc2e470b9))
121
- * range slider bugs and refactor functions into room general settings component ([9e2edc4](https://github.com/roomle-dev/roomle-ui/commit/9e2edc4538f87046499bdf5a47eb58782e48db79))
122
- * remove code smell and make dependency on plannerUiState.measurementUnit explicit ([d589ff7](https://github.com/roomle-dev/roomle-ui/commit/d589ff7eb88916b13f62798d984a00e8c8d54977))
123
- * remove the wired callback registration from embedding example RML-4804 RML-4806 ([5ffb735](https://github.com/roomle-dev/roomle-ui/commit/5ffb735357447d355b3d616938394b9ea00436d9))
124
- * should show error message if input is too great or low ([36ea24b](https://github.com/roomle-dev/roomle-ui/commit/36ea24bc5981f729c901e925322a287e25a8bc59))
125
- * update wall measurements on update walls ([94acb6d](https://github.com/roomle-dev/roomle-ui/commit/94acb6d35a01dbf4f4b25b6aedf67d49bc53038d))
126
- * wall general param state on undo/redo ([c75eda2](https://github.com/roomle-dev/roomle-ui/commit/c75eda22fcb4a4397829d724414667f79d6074a3))
127
- * wrong name of class ([41e8a6b](https://github.com/roomle-dev/roomle-ui/commit/41e8a6b10bdac6af7962028a8e4d7f0352f75256))
15
+ * format length value to length with unit string in ui so it gets called on unit change ([c2ec290](https://github.com/roomle-dev/roomle-ui/commit/c2ec290cd20e847a934b0726944ceb2a0ec7897a))
16
+ * print should displayed in the bottom of the sidebar and second level indicator should pop sidebar view ([f16d262](https://github.com/roomle-dev/roomle-ui/commit/f16d2620845d05d941180470a4c035cb2a7a3d2e))
17
+ * resizing should work if mobileLandscape configuring is possible ([e448f66](https://github.com/roomle-dev/roomle-ui/commit/e448f6631d54be08619651def30e77d5f9602803))
package/package.json CHANGED
@@ -1 +1,28 @@
1
- {"name":"@roomle/embedding-lib","version":"4.43.0-debug.1","main":"roomle-configurator-api.es.min.js","types":"types/index.d.ts","author":"Roomle Development","dependencies":{"@roomle/web-sdk":"2.40.0"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/exec":"^5.0.0","conventional-changelog-conventionalcommits":"^4.2.3","semantic-release":"^17.0.7"},"scripts":{"release":"semantic-release --no-ci"},"description":"This is a small library which can be used to communicate with the Roomle Configurator","repository":{"type":"git","url":"git+https://github.com/roomle-build/npm-packages.git"},"publishConfig":{"access":"public"},"license":"MIT"}
1
+ {
2
+ "name": "@roomle/embedding-lib",
3
+ "version": "4.44.0",
4
+ "main": "roomle-configurator-api.es.min.js",
5
+ "types": "types/index.d.ts",
6
+ "author": "Roomle Development",
7
+ "dependencies": {
8
+ "@roomle/web-sdk": "2.41.0-alpha.3"
9
+ },
10
+ "devDependencies": {
11
+ "@semantic-release/changelog": "^5.0.1",
12
+ "@semantic-release/exec": "^5.0.0",
13
+ "conventional-changelog-conventionalcommits": "^4.2.3",
14
+ "semantic-release": "^17.0.7"
15
+ },
16
+ "scripts": {
17
+ "release": "semantic-release"
18
+ },
19
+ "description": "This is a small library which can be used to communicate with the Roomle Configurator",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/roomle-build/npm-packages.git"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "license": "MIT"
28
+ }
package/types/index.d.ts CHANGED
@@ -511,6 +511,7 @@ declare module "planner/store/planner-ui-state" {
511
511
  measurementUnit: MEASUREMENT_UNIT;
512
512
  isDrawing: boolean;
513
513
  hasWalls: boolean;
514
+ secondSidebarLevelActive: boolean;
514
515
  }
515
516
  export enum PLANNER_UI_STATE_MUTATIONS {
516
517
  SET_SELECTION = "PLANNER_UI_STATE_setSelection",
@@ -528,18 +529,21 @@ declare module "planner/store/planner-ui-state" {
528
529
  SET_TOPBAR_ACTION_DESELECTED = "SET_TOPBAR_ACTION_DESELECTED",
529
530
  PUSH_SIDEBAR_VIEW = "PUSH_SIDEBAR_VIEW",
530
531
  POP_SIDEBAR_VIEW = "POP_SIDEBAR_VIEW",
531
- CLEAR_SIDEBAR = "CLEAR_SIDEBAR",
532
532
  SET_LAST_WALLS = "SET_LAST_WALLS",
533
533
  SET_MEASUREMENT_UNIT = "SET_MEASUREMENT_UNIT",
534
534
  SET_IS_DRAWING = "SET_IS_DRAWING",
535
- SET_HAS_WALLS = "SET_HAS_WALLS"
535
+ SET_HAS_WALLS = "SET_HAS_WALLS",
536
+ SET_SECOND_SIDEBAR_LEVEL_ACTIVE = "SET_SECOND_SIDEBAR_LEVEL_ACTIVE"
536
537
  }
537
538
  export enum PLANNER_UI_STATE_ACTIONS {
538
539
  SELECT_VIEW_MODE = "PLANNER_UI_STATE_SELECT_VIEW_MODE",
539
540
  SET_INTERACTIONS_EXPANDED = "PLANNER_UI_STATE_SET_INTERACTIONS_EXPANDED",
540
541
  DESELECT_SIDEBAR_ACTION_BUTTONS = "DESELECT_SIDEBAR_ACTION_BUTTONS",
541
542
  CLEAR_AND_CLOSE_SIDEBAR = "CLEAR_AND_CLOSE_SIDEBAR",
542
- SET_SELECTION_PAYLOAD = "PLANNER_UI_STATE_setSelectionPayload"
543
+ SET_SELECTION_PAYLOAD = "PLANNER_UI_STATE_setSelectionPayload",
544
+ ADD_SIDEBAR_VIEW = "ADD_SIDEBAR_VIEW",
545
+ REMOVE_SIDEBAR_VIEW = "REMOVE_SIDEBAR_VIEW",
546
+ CLEAR_SIDEBAR = "CLEAR_SIDEBAR"
543
547
  }
544
548
  export enum PLANNER_UI_STATE_GETTERS {
545
549
  CATALOG_ROOT_TAG = "PLANNER_UI_STATE_CATALOG_ROOT_TAG",
@@ -797,11 +801,11 @@ declare module "common/store/index" {
797
801
  SET_TOPBAR_ACTION_DESELECTED: PLANNER_UI_STATE_MUTATIONS.SET_TOPBAR_ACTION_DESELECTED;
798
802
  PUSH_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.PUSH_SIDEBAR_VIEW;
799
803
  POP_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.POP_SIDEBAR_VIEW;
800
- CLEAR_SIDEBAR: PLANNER_UI_STATE_MUTATIONS.CLEAR_SIDEBAR;
801
804
  SET_LAST_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_LAST_WALLS;
802
805
  SET_MEASUREMENT_UNIT: PLANNER_UI_STATE_MUTATIONS.SET_MEASUREMENT_UNIT;
803
806
  SET_IS_DRAWING: PLANNER_UI_STATE_MUTATIONS.SET_IS_DRAWING;
804
807
  SET_HAS_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_HAS_WALLS;
808
+ SET_SECOND_SIDEBAR_LEVEL_ACTIVE: PLANNER_UI_STATE_MUTATIONS.SET_SECOND_SIDEBAR_LEVEL_ACTIVE;
805
809
  SET_SELECTED_GROUP: UI_STATE_MUTATIONS.SET_SELECTED_GROUP;
806
810
  SET_IS_PART_LIST_SHOWN: UI_STATE_MUTATIONS.SET_IS_PART_LIST_SHOWN;
807
811
  SHOW_ONLY_ADDONS: UI_STATE_MUTATIONS.SHOW_ONLY_ADDONS;
@@ -41,11 +41,11 @@ export declare const MUTATIONS: {
41
41
  SET_TOPBAR_ACTION_DESELECTED: PLANNER_UI_STATE_MUTATIONS.SET_TOPBAR_ACTION_DESELECTED;
42
42
  PUSH_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.PUSH_SIDEBAR_VIEW;
43
43
  POP_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.POP_SIDEBAR_VIEW;
44
- CLEAR_SIDEBAR: PLANNER_UI_STATE_MUTATIONS.CLEAR_SIDEBAR;
45
44
  SET_LAST_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_LAST_WALLS;
46
45
  SET_MEASUREMENT_UNIT: PLANNER_UI_STATE_MUTATIONS.SET_MEASUREMENT_UNIT;
47
46
  SET_IS_DRAWING: PLANNER_UI_STATE_MUTATIONS.SET_IS_DRAWING;
48
47
  SET_HAS_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_HAS_WALLS;
48
+ SET_SECOND_SIDEBAR_LEVEL_ACTIVE: PLANNER_UI_STATE_MUTATIONS.SET_SECOND_SIDEBAR_LEVEL_ACTIVE;
49
49
  SET_SELECTED_GROUP: UI_STATE_MUTATIONS.SET_SELECTED_GROUP;
50
50
  SET_IS_PART_LIST_SHOWN: UI_STATE_MUTATIONS.SET_IS_PART_LIST_SHOWN;
51
51
  SHOW_ONLY_ADDONS: UI_STATE_MUTATIONS.SHOW_ONLY_ADDONS;
@@ -6,7 +6,7 @@ export interface SceneOffsetResizerCallback {
6
6
  onFinished: () => void;
7
7
  }
8
8
  export declare class SceneOffsetResizer {
9
- static getCameraOffset(parentWidth: number, width: number, parentHeight: number, height: number, isFullscreen: boolean, isExpanded: boolean, isDesktop: boolean, isLandscape: boolean, hasGroups: boolean): CanvasOffset;
9
+ static getCameraOffset(parentWidth: number, width: number, parentHeight: number, height: number, isFullscreenOrMobileLandscape: boolean, isExpanded: boolean, isDesktop: boolean, hasGroups: boolean): CanvasOffset;
10
10
  private _api;
11
11
  private _targetOffset;
12
12
  private _startOffset;
@@ -19,6 +19,7 @@ export interface PlannerUiState extends SharedUiState {
19
19
  measurementUnit: MEASUREMENT_UNIT;
20
20
  isDrawing: boolean;
21
21
  hasWalls: boolean;
22
+ secondSidebarLevelActive: boolean;
22
23
  }
23
24
  export declare enum PLANNER_UI_STATE_MUTATIONS {
24
25
  SET_SELECTION = "PLANNER_UI_STATE_setSelection",
@@ -36,18 +37,21 @@ export declare enum PLANNER_UI_STATE_MUTATIONS {
36
37
  SET_TOPBAR_ACTION_DESELECTED = "SET_TOPBAR_ACTION_DESELECTED",
37
38
  PUSH_SIDEBAR_VIEW = "PUSH_SIDEBAR_VIEW",
38
39
  POP_SIDEBAR_VIEW = "POP_SIDEBAR_VIEW",
39
- CLEAR_SIDEBAR = "CLEAR_SIDEBAR",
40
40
  SET_LAST_WALLS = "SET_LAST_WALLS",
41
41
  SET_MEASUREMENT_UNIT = "SET_MEASUREMENT_UNIT",
42
42
  SET_IS_DRAWING = "SET_IS_DRAWING",
43
- SET_HAS_WALLS = "SET_HAS_WALLS"
43
+ SET_HAS_WALLS = "SET_HAS_WALLS",
44
+ SET_SECOND_SIDEBAR_LEVEL_ACTIVE = "SET_SECOND_SIDEBAR_LEVEL_ACTIVE"
44
45
  }
45
46
  export declare enum PLANNER_UI_STATE_ACTIONS {
46
47
  SELECT_VIEW_MODE = "PLANNER_UI_STATE_SELECT_VIEW_MODE",
47
48
  SET_INTERACTIONS_EXPANDED = "PLANNER_UI_STATE_SET_INTERACTIONS_EXPANDED",
48
49
  DESELECT_SIDEBAR_ACTION_BUTTONS = "DESELECT_SIDEBAR_ACTION_BUTTONS",
49
50
  CLEAR_AND_CLOSE_SIDEBAR = "CLEAR_AND_CLOSE_SIDEBAR",
50
- SET_SELECTION_PAYLOAD = "PLANNER_UI_STATE_setSelectionPayload"
51
+ SET_SELECTION_PAYLOAD = "PLANNER_UI_STATE_setSelectionPayload",
52
+ ADD_SIDEBAR_VIEW = "ADD_SIDEBAR_VIEW",
53
+ REMOVE_SIDEBAR_VIEW = "REMOVE_SIDEBAR_VIEW",
54
+ CLEAR_SIDEBAR = "CLEAR_SIDEBAR"
51
55
  }
52
56
  export declare enum PLANNER_UI_STATE_GETTERS {
53
57
  CATALOG_ROOT_TAG = "PLANNER_UI_STATE_CATALOG_ROOT_TAG",
@@ -0,0 +1,41 @@
1
+ export declare const WALL_DIMENSIONS_ARRAY: {
2
+ id: number;
3
+ fromPosition3d: {
4
+ x: number;
5
+ y: number;
6
+ z: number;
7
+ };
8
+ toPosition3d: {
9
+ x: number;
10
+ y: number;
11
+ z: number;
12
+ };
13
+ textPosition3d: {
14
+ x: number;
15
+ y: number;
16
+ z: number;
17
+ };
18
+ textDirection: {
19
+ x: number;
20
+ y: number;
21
+ z: number;
22
+ };
23
+ textRotation: number;
24
+ length: number;
25
+ fromPosition2d: {
26
+ x: number;
27
+ y: number;
28
+ z: number;
29
+ };
30
+ toPosition2d: {
31
+ x: number;
32
+ y: number;
33
+ z: number;
34
+ };
35
+ textPosition2d: {
36
+ x: number;
37
+ y: number;
38
+ z: number;
39
+ };
40
+ lengthFormatted: string;
41
+ }[];