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

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 (39) hide show
  1. package/.releaserc.json +2 -2
  2. package/docs/md/web/ui/EMBEDDING-CHANGELOG.md +119 -8
  3. package/package.json +1 -28
  4. package/types/index.d.ts +32 -10
  5. package/types/src/common/components/collection-view/-utils/types.d.ts +2 -2
  6. package/types/src/common/store/index.d.ts +4 -0
  7. package/types/src/common/utils/types.d.ts +4 -0
  8. package/types/src/configurator/business-logic/sdk-connector.d.ts +2 -1
  9. package/types/src/configurator/embedding/types.d.ts +5 -0
  10. package/types/src/configurator/store/ui-state.d.ts +3 -1
  11. package/types/src/planner/business-logic/general-room-parameters.d.ts +17 -0
  12. package/types/src/planner/business-logic/rooms.d.ts +27 -2
  13. package/types/src/planner/store/planner-core-data.d.ts +2 -2
  14. package/types/src/planner/store/planner-ui-state.d.ts +9 -2
  15. package/types/src/planner/utils/planner-sidebar.d.ts +1 -2
  16. package/types/tests/helpers/data/planObject.d.ts +134 -0
  17. package/types/tests/helpers/mocks/roomle-sdk-wrapper.d.ts +135 -0
  18. package/types/tests/integration/planner/components/{SelectionPreview.spec.d.ts → overlays/rooms/RoomGeneralSettings.spec.d.ts} +0 -0
  19. package/types/tests/integration/planner/components/overlays/rooms/RoomRangeParameter.spec.d.ts +1 -0
  20. package/docs/api/.nojekyll +0 -1
  21. package/docs/api/README.md +0 -9
  22. package/docs/api/classes/exposed_analytics_callbacks.ExposedAnalyticsCallbacks.md +0 -47
  23. package/docs/api/classes/exposed_api.ExposedApi.md +0 -255
  24. package/docs/api/classes/exposed_callbacks.ExposedCallbacks.md +0 -195
  25. package/docs/api/classes/roomle_configurator_api.default.md +0 -211
  26. package/docs/api/enums/types.UI_BUTTON.md +0 -263
  27. package/docs/api/interfaces/exposed_callbacks.Labels.md +0 -32
  28. package/docs/api/interfaces/exposed_callbacks.Price.md +0 -32
  29. package/docs/api/interfaces/roomle_configurator_api.RoomleEmbeddingApiKeys.md +0 -58
  30. package/docs/api/interfaces/types.ConfiguratorSettings.md +0 -150
  31. package/docs/api/interfaces/types.EmbeddingSkin.md +0 -65
  32. package/docs/api/interfaces/types.UiInitData.md +0 -1185
  33. package/docs/api/interfaces/types.VariantsMap.md +0 -9
  34. package/docs/api/modules/exposed_analytics_callbacks.md +0 -9
  35. package/docs/api/modules/exposed_api.md +0 -9
  36. package/docs/api/modules/exposed_callbacks.md +0 -14
  37. package/docs/api/modules/roomle_configurator_api.md +0 -49
  38. package/docs/api/modules/types.md +0 -16
  39. package/docs/api/modules.md +0 -13
package/.releaserc.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "tagFormat": "embedding-v${version}",
3
- "repositoryUrl": "git@gitlab.com:roomle/web/roomle-ui.git",
3
+ "repositoryUrl": "git@github.com:roomle-dev/roomle-ui.git",
4
4
  "branches": [
5
5
  {
6
- "name": "fix/semantic-release-build",
6
+ "name": "ci/semantic-release-gh",
7
7
  "channel": "debug",
8
8
  "prerelease": "debug"
9
9
  },
@@ -1,16 +1,127 @@
1
- ## [4.42.0](https://gitlab.com/roomle/web/roomle-ui/compare/embedding-v4.41.0...embedding-v4.42.0) (2022-08-30)
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)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * add "back button" for parameter groups ([e30030d](https://gitlab.com/roomle/web/roomle-ui/commit/e30030d07b9658ba16fa03aa06a8c66cb9194f54))
7
- * MoC: Show Action buttons on object ([b2f78d4](https://gitlab.com/roomle/web/roomle-ui/commit/b2f78d4ca617393777f09f53062205c416a189f5))
8
- * MoC: show measurements for walls in 2D ([298e3ed](https://gitlab.com/roomle/web/roomle-ui/commit/298e3ed20288f8049f383131d7af253c25b29bcf))
9
- * **SDK:** upgrade to version 2.37.0 ([47866eb](https://gitlab.com/roomle/web/roomle-ui/commit/47866eb12e1ed304fcb49f1501086830f24872a6))
10
- * **SDK:** upgrade to version 2.38.0 ([4e41522](https://gitlab.com/roomle/web/roomle-ui/commit/4e41522025ba9daa892ebbd38e022b1ae901ad54))
11
- * **SDK:** upgrade to version 2.38.0-alpha.1 ([6324149](https://gitlab.com/roomle/web/roomle-ui/commit/632414927a14d3ac323c1786b5268e943257300d))
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))
12
35
 
13
36
 
14
37
  ### Bug Fixes
15
38
 
16
- * validRange for parameter values - if you set '"valueTo": 0', the slider does not stop at this limit ([63e7e63](https://gitlab.com/roomle/web/roomle-ui/commit/63e7e63c9a92adc10854ff2a7e1b8ed361fbb52c))
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))
package/package.json CHANGED
@@ -1,28 +1 @@
1
- {
2
- "name": "@roomle/embedding-lib",
3
- "version": "4.42.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.38.0"
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
- }
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"}
package/types/index.d.ts CHANGED
@@ -14,6 +14,10 @@ declare module "common/utils/types" {
14
14
  }
15
15
  export type ToggleCallback = (isExpanded: boolean) => void;
16
16
  export type CloseReason = 'toggle';
17
+ export enum MEASUREMENT_UNIT {
18
+ CM = "cm",
19
+ INCH = "inchfeet"
20
+ }
17
21
  }
18
22
  declare module "configurator/embedding/message-handler" {
19
23
  import { Nullable } from "common/utils/types";
@@ -186,6 +190,11 @@ declare module "configurator/embedding/types" {
186
190
  * default: false
187
191
  */
188
192
  materialMultiSelect?: boolean;
193
+ /**
194
+ * set this flag to true if you want to start the moc in configuring mode if there is only one object in the scene
195
+ * default: true
196
+ */
197
+ initMocInConfiguringMode?: boolean;
189
198
  }
190
199
  export interface EmbeddingSkin {
191
200
  'primary-color'?: string;
@@ -366,9 +375,9 @@ declare module "configurator/store/core-data" {
366
375
  }
367
376
  declare module "common/components/collection-view/-utils/types" {
368
377
  import { Nullable } from "common/utils/types";
369
- import { UiPossibleChildTag, UiKernelParameter } from '@roomle/web-sdk/lib/definitions/typings/kernel';
378
+ import { UiKernelParameter, UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
370
379
  import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
371
- export type CollectionViewElementType = 'addon' | 'parameter' | 'variant' | 'object' | 'room';
380
+ export type CollectionViewElementType = 'addon' | 'parameter' | 'variant' | 'object' | 'room' | 'generalRoomSetting' | 'unitSwitch';
372
381
  export interface CollectionViewElement<T = (UiPossibleChildTag | UiKernelParameter | RapiTagForUi)> {
373
382
  label: Nullable<string>;
374
383
  key: string;
@@ -469,8 +478,7 @@ declare module "planner/utils/planner-sidebar" {
469
478
  catalog: boolean;
470
479
  productList: boolean;
471
480
  partList: boolean;
472
- sampleRooms: boolean;
473
- selectionDetail: boolean;
481
+ roomSidebar: boolean;
474
482
  mobileExpanded: boolean;
475
483
  [key: string]: boolean;
476
484
  }
@@ -484,7 +492,7 @@ declare module "planner/utils/planner-sidebar" {
484
492
  declare module "planner/store/planner-ui-state" {
485
493
  import { Module } from 'vuex';
486
494
  import { SharedUiState, StoreState } from "common/store/index";
487
- import { Nullable } from "common/utils/types";
495
+ import { MEASUREMENT_UNIT, Nullable } from "common/utils/types";
488
496
  import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
489
497
  import { BUTTON_ACTIONS } from "configurator/store/ui-state";
490
498
  import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
@@ -500,6 +508,9 @@ declare module "planner/store/planner-ui-state" {
500
508
  selectedActions: BUTTON_ACTIONS[];
501
509
  stackViewStack: PlannerSidebarState[];
502
510
  lastWalls: KernelWall[];
511
+ measurementUnit: MEASUREMENT_UNIT;
512
+ isDrawing: boolean;
513
+ hasWalls: boolean;
503
514
  }
504
515
  export enum PLANNER_UI_STATE_MUTATIONS {
505
516
  SET_SELECTION = "PLANNER_UI_STATE_setSelection",
@@ -518,7 +529,10 @@ declare module "planner/store/planner-ui-state" {
518
529
  PUSH_SIDEBAR_VIEW = "PUSH_SIDEBAR_VIEW",
519
530
  POP_SIDEBAR_VIEW = "POP_SIDEBAR_VIEW",
520
531
  CLEAR_SIDEBAR = "CLEAR_SIDEBAR",
521
- SET_LAST_WALLS = "SET_LAST_WALLS"
532
+ SET_LAST_WALLS = "SET_LAST_WALLS",
533
+ SET_MEASUREMENT_UNIT = "SET_MEASUREMENT_UNIT",
534
+ SET_IS_DRAWING = "SET_IS_DRAWING",
535
+ SET_HAS_WALLS = "SET_HAS_WALLS"
522
536
  }
523
537
  export enum PLANNER_UI_STATE_ACTIONS {
524
538
  SELECT_VIEW_MODE = "PLANNER_UI_STATE_SELECT_VIEW_MODE",
@@ -534,6 +548,7 @@ declare module "planner/store/planner-ui-state" {
534
548
  PRODUCT_LIST_SHOWN = "PRODUCT_LIST_SHOWN",
535
549
  LAST_OF_STACK_VIEW_STACK = "LAST_OF_STACK_VIEW_STACK"
536
550
  }
551
+ export const initialState: PlannerUiState;
537
552
  export const plannerUiState: Module<PlannerUiState, StoreState>;
538
553
  }
539
554
  declare module "common/store/collection-view-state" {
@@ -653,6 +668,7 @@ declare module "configurator/store/ui-state" {
653
668
  materialMultiSelect: boolean;
654
669
  wallsDimensions: WallDimension[];
655
670
  objPosOnPlanner: any[];
671
+ initPlannerWithObjID: boolean;
656
672
  }
657
673
  export enum UI_STATE_MUTATIONS {
658
674
  SET_SELECTED_GROUP = "setSelectedGroup",
@@ -683,7 +699,8 @@ declare module "configurator/store/ui-state" {
683
699
  SET_TOPBAR_ACTION_SELECTED = "SET_TOPBAR_ACTION_SELECTED",
684
700
  SET_TOPBAR_ACTION_DESELECTED = "SET_TOPBAR_ACTION_DESELECTED",
685
701
  SET_WALLS_DIMENSIONS = "SET_WALLS_DIMENSIONS",
686
- SET_PLANNER_OBJ_POS = "SET_PLANNER_OBJ_POS"
702
+ SET_PLANNER_OBJ_POS = "SET_PLANNER_OBJ_POS",
703
+ SET_PLANNER_INIT_WITH_OBJ_ID = "SET_PLANNER_INIT_WITH_OBJ_ID"
687
704
  }
688
705
  export enum UI_STATE_ACTIONS {
689
706
  SELECT_GROUP = "SELECT_GROUP",
@@ -717,9 +734,9 @@ declare module "planner/store/planner-core-data" {
717
734
  import { StoreState } from "common/store/index";
718
735
  import { Nullable } from "common/utils/types";
719
736
  import { Module } from 'vuex';
720
- import { ProductListItem } from "planner/utils/planner-sidebar";
737
+ import { UiPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
721
738
  export interface PlannerCoreData {
722
- productList: ProductListItem[];
739
+ productList: UiPlanObject[];
723
740
  currencySymbol: string;
724
741
  price: Nullable<number>;
725
742
  }
@@ -782,6 +799,9 @@ declare module "common/store/index" {
782
799
  POP_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.POP_SIDEBAR_VIEW;
783
800
  CLEAR_SIDEBAR: PLANNER_UI_STATE_MUTATIONS.CLEAR_SIDEBAR;
784
801
  SET_LAST_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_LAST_WALLS;
802
+ SET_MEASUREMENT_UNIT: PLANNER_UI_STATE_MUTATIONS.SET_MEASUREMENT_UNIT;
803
+ SET_IS_DRAWING: PLANNER_UI_STATE_MUTATIONS.SET_IS_DRAWING;
804
+ SET_HAS_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_HAS_WALLS;
785
805
  SET_SELECTED_GROUP: UI_STATE_MUTATIONS.SET_SELECTED_GROUP;
786
806
  SET_IS_PART_LIST_SHOWN: UI_STATE_MUTATIONS.SET_IS_PART_LIST_SHOWN;
787
807
  SHOW_ONLY_ADDONS: UI_STATE_MUTATIONS.SHOW_ONLY_ADDONS;
@@ -804,6 +824,7 @@ declare module "common/store/index" {
804
824
  SET_REDO_PLANNER: UI_STATE_MUTATIONS.SET_REDO_PLANNER;
805
825
  SET_WALLS_DIMENSIONS: UI_STATE_MUTATIONS.SET_WALLS_DIMENSIONS;
806
826
  SET_PLANNER_OBJ_POS: UI_STATE_MUTATIONS.SET_PLANNER_OBJ_POS;
827
+ SET_PLANNER_INIT_WITH_OBJ_ID: UI_STATE_MUTATIONS.SET_PLANNER_INIT_WITH_OBJ_ID;
807
828
  UPDATE_GROUPS: CORE_DATA_MUTATIONS.UPDATE_GROUPS;
808
829
  UPDATE_PARAMETERS: CORE_DATA_MUTATIONS.UPDATE_PARAMETERS;
809
830
  UPDATE_ADDONS: CORE_DATA_MUTATIONS.UPDATE_ADDONS;
@@ -1225,13 +1246,14 @@ declare module "configurator/business-logic/sdk-connector" {
1225
1246
  get hasPlanner(): boolean;
1226
1247
  saveCurrentObject(): Promise<RapiPlan | RapiConfigurationEnhanced>;
1227
1248
  preparePerspectiveImage(): Promise<Base64Image>;
1249
+ finishLoading(kernelParts: Nullable<LoadResponse>): void;
1228
1250
  private _waitForCanvasElement;
1229
1251
  private _needsInit;
1230
1252
  private _fetchVariants;
1231
1253
  private _execLoadingConfiguratorProcess;
1232
1254
  private _startLoading;
1233
- private _finishLoading;
1234
1255
  private _showGenericError;
1256
+ private _selectFirstObjAndStartConfiguring;
1235
1257
  }
1236
1258
  }
1237
1259
  declare module "configurator/embedding/helper" {
@@ -1,7 +1,7 @@
1
1
  import { Nullable } from '@/common/utils/types';
2
- import { UiPossibleChildTag, UiKernelParameter } from '@roomle/web-sdk/lib/definitions/typings/kernel';
2
+ import { UiKernelParameter, UiPossibleChildTag } from '@roomle/web-sdk/lib/definitions/typings/kernel';
3
3
  import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
4
- export declare type CollectionViewElementType = 'addon' | 'parameter' | 'variant' | 'object' | 'room';
4
+ export declare type CollectionViewElementType = 'addon' | 'parameter' | 'variant' | 'object' | 'room' | 'generalRoomSetting' | 'unitSwitch';
5
5
  export interface CollectionViewElement<T = (UiPossibleChildTag | UiKernelParameter | RapiTagForUi)> {
6
6
  label: Nullable<string>;
7
7
  key: string;
@@ -43,6 +43,9 @@ export declare const MUTATIONS: {
43
43
  POP_SIDEBAR_VIEW: PLANNER_UI_STATE_MUTATIONS.POP_SIDEBAR_VIEW;
44
44
  CLEAR_SIDEBAR: PLANNER_UI_STATE_MUTATIONS.CLEAR_SIDEBAR;
45
45
  SET_LAST_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_LAST_WALLS;
46
+ SET_MEASUREMENT_UNIT: PLANNER_UI_STATE_MUTATIONS.SET_MEASUREMENT_UNIT;
47
+ SET_IS_DRAWING: PLANNER_UI_STATE_MUTATIONS.SET_IS_DRAWING;
48
+ SET_HAS_WALLS: PLANNER_UI_STATE_MUTATIONS.SET_HAS_WALLS;
46
49
  SET_SELECTED_GROUP: UI_STATE_MUTATIONS.SET_SELECTED_GROUP;
47
50
  SET_IS_PART_LIST_SHOWN: UI_STATE_MUTATIONS.SET_IS_PART_LIST_SHOWN;
48
51
  SHOW_ONLY_ADDONS: UI_STATE_MUTATIONS.SHOW_ONLY_ADDONS;
@@ -65,6 +68,7 @@ export declare const MUTATIONS: {
65
68
  SET_REDO_PLANNER: UI_STATE_MUTATIONS.SET_REDO_PLANNER;
66
69
  SET_WALLS_DIMENSIONS: UI_STATE_MUTATIONS.SET_WALLS_DIMENSIONS;
67
70
  SET_PLANNER_OBJ_POS: UI_STATE_MUTATIONS.SET_PLANNER_OBJ_POS;
71
+ SET_PLANNER_INIT_WITH_OBJ_ID: UI_STATE_MUTATIONS.SET_PLANNER_INIT_WITH_OBJ_ID;
68
72
  UPDATE_GROUPS: CORE_DATA_MUTATIONS.UPDATE_GROUPS;
69
73
  UPDATE_PARAMETERS: CORE_DATA_MUTATIONS.UPDATE_PARAMETERS;
70
74
  UPDATE_ADDONS: CORE_DATA_MUTATIONS.UPDATE_ADDONS;
@@ -13,3 +13,7 @@ export declare enum USER_ACTION {
13
13
  }
14
14
  export declare type ToggleCallback = (isExpanded: boolean) => void;
15
15
  export declare type CloseReason = 'toggle';
16
+ export declare enum MEASUREMENT_UNIT {
17
+ CM = "cm",
18
+ INCH = "inchfeet"
19
+ }
@@ -108,11 +108,12 @@ export declare class SdkConnector {
108
108
  get hasPlanner(): boolean;
109
109
  saveCurrentObject(): Promise<RapiPlan | RapiConfigurationEnhanced>;
110
110
  preparePerspectiveImage(): Promise<Base64Image>;
111
+ finishLoading(kernelParts: Nullable<LoadResponse>): void;
111
112
  private _waitForCanvasElement;
112
113
  private _needsInit;
113
114
  private _fetchVariants;
114
115
  private _execLoadingConfiguratorProcess;
115
116
  private _startLoading;
116
- private _finishLoading;
117
117
  private _showGenericError;
118
+ private _selectFirstObjAndStartConfiguring;
118
119
  }
@@ -136,6 +136,11 @@ export interface UiInitData extends InitDataDefinition, GlobalInitDataDefinition
136
136
  * default: false
137
137
  */
138
138
  materialMultiSelect?: boolean;
139
+ /**
140
+ * set this flag to true if you want to start the moc in configuring mode if there is only one object in the scene
141
+ * default: true
142
+ */
143
+ initMocInConfiguringMode?: boolean;
139
144
  }
140
145
  export interface EmbeddingSkin {
141
146
  'primary-color'?: string;
@@ -55,6 +55,7 @@ export interface UiState extends SharedUiState {
55
55
  materialMultiSelect: boolean;
56
56
  wallsDimensions: WallDimension[];
57
57
  objPosOnPlanner: any[];
58
+ initPlannerWithObjID: boolean;
58
59
  }
59
60
  export declare enum UI_STATE_MUTATIONS {
60
61
  SET_SELECTED_GROUP = "setSelectedGroup",
@@ -85,7 +86,8 @@ export declare enum UI_STATE_MUTATIONS {
85
86
  SET_TOPBAR_ACTION_SELECTED = "SET_TOPBAR_ACTION_SELECTED",
86
87
  SET_TOPBAR_ACTION_DESELECTED = "SET_TOPBAR_ACTION_DESELECTED",
87
88
  SET_WALLS_DIMENSIONS = "SET_WALLS_DIMENSIONS",
88
- SET_PLANNER_OBJ_POS = "SET_PLANNER_OBJ_POS"
89
+ SET_PLANNER_OBJ_POS = "SET_PLANNER_OBJ_POS",
90
+ SET_PLANNER_INIT_WITH_OBJ_ID = "SET_PLANNER_INIT_WITH_OBJ_ID"
89
91
  }
90
92
  export declare enum UI_STATE_ACTIONS {
91
93
  SELECT_GROUP = "SELECT_GROUP",
@@ -0,0 +1,17 @@
1
+ import { GeneralRoomParameterView } from '@/planner/business-logic/rooms';
2
+ export interface RangeValues {
3
+ ceilingHeight: string;
4
+ parapetHeight: string;
5
+ thickness: string;
6
+ }
7
+ export declare const DEFAULT_MAX_RANGE: {
8
+ ceilingHeight: string;
9
+ parapetHeight: string;
10
+ thickness: string;
11
+ };
12
+ export declare const DEFAULT_MIN_RANGE: {
13
+ ceilingHeight: string;
14
+ parapetHeight: string;
15
+ thickness: string;
16
+ };
17
+ export declare const getGeneralRoomParameters: (translate: (key: string) => string, minRange: RangeValues, maxRange: RangeValues, switchUnit: (activeSwitch: number) => void) => GeneralRoomParameterView;
@@ -1,12 +1,37 @@
1
1
  import { CollectionViewElement } from '@/common/components/collection-view/-utils/types';
2
2
  import { WallDefinition } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner';
3
3
  import { PlanOverview } from '@roomle/web-sdk/lib/definitions/typings/planner';
4
+ import { PlanInteractionHandler } from '@roomle/web-sdk/lib/definitions/typings/planner';
4
5
  export declare type RoomType = 'wall' | 'corner' | 'square' | 'L';
5
6
  export interface SampleRoom {
6
7
  id: string;
7
- roomSketch: string;
8
+ roomSketch: object;
8
9
  label: string;
9
10
  type: RoomType;
10
11
  }
11
- export declare type SampleRoomsCollectionView = Array<CollectionViewElement<SampleRoom[]>>;
12
+ export interface WallsGeneralTab {
13
+ id: string;
14
+ label: string;
15
+ desc: string;
16
+ isGeneralTab: boolean;
17
+ hasCustomTabAction: boolean;
18
+ }
19
+ export interface RoomRangeParametersTab {
20
+ id: string;
21
+ uiType: string;
22
+ heading: string;
23
+ minRange: string;
24
+ maxRange: string;
25
+ setValue: (value: string, interactionHandler: PlanInteractionHandler) => void;
26
+ getValue: (interactionHandler: PlanInteractionHandler) => string;
27
+ }
28
+ export interface UnitSwitchTab {
29
+ id: string;
30
+ label: string;
31
+ switchUnit: (activeSwitch: number) => void;
32
+ firstOption: string;
33
+ secondOption: string;
34
+ }
35
+ export declare type SampleRoomsCollectionView = Array<CollectionViewElement<SampleRoom[] | WallsGeneralTab[]>>;
36
+ export declare type GeneralRoomParameterView = Array<CollectionViewElement<RoomRangeParametersTab | UnitSwitchTab>>;
12
37
  export declare const getRoomDefinition: (type: RoomType, planOverview: PlanOverview) => WallDefinition[];
@@ -1,9 +1,9 @@
1
1
  import { StoreState } from '@/common/store';
2
2
  import { Nullable } from '@/common/utils/types';
3
3
  import { Module } from 'vuex';
4
- import { ProductListItem } from '@/planner/utils/planner-sidebar';
4
+ import { UiPlanObject } from '@roomle/web-sdk/lib/definitions/typings/kernel';
5
5
  export interface PlannerCoreData {
6
- productList: ProductListItem[];
6
+ productList: UiPlanObject[];
7
7
  currencySymbol: string;
8
8
  price: Nullable<number>;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import { Module } from 'vuex';
2
2
  import { SharedUiState, StoreState } from '@/common/store';
3
- import { Nullable } from '@/common/utils/types';
3
+ import { MEASUREMENT_UNIT, Nullable } from '@/common/utils/types';
4
4
  import { SelectionPayload } from '@roomle/web-sdk/lib/definitions/planner-core/src/roomle-planner-ui-callback';
5
5
  import { BUTTON_ACTIONS } from '@/configurator/store/ui-state';
6
6
  import { RapiTagForUi } from '@roomle/web-sdk/lib/definitions/typings/rapi-types';
@@ -16,6 +16,9 @@ export interface PlannerUiState extends SharedUiState {
16
16
  selectedActions: BUTTON_ACTIONS[];
17
17
  stackViewStack: PlannerSidebarState[];
18
18
  lastWalls: KernelWall[];
19
+ measurementUnit: MEASUREMENT_UNIT;
20
+ isDrawing: boolean;
21
+ hasWalls: boolean;
19
22
  }
20
23
  export declare enum PLANNER_UI_STATE_MUTATIONS {
21
24
  SET_SELECTION = "PLANNER_UI_STATE_setSelection",
@@ -34,7 +37,10 @@ export declare enum PLANNER_UI_STATE_MUTATIONS {
34
37
  PUSH_SIDEBAR_VIEW = "PUSH_SIDEBAR_VIEW",
35
38
  POP_SIDEBAR_VIEW = "POP_SIDEBAR_VIEW",
36
39
  CLEAR_SIDEBAR = "CLEAR_SIDEBAR",
37
- SET_LAST_WALLS = "SET_LAST_WALLS"
40
+ SET_LAST_WALLS = "SET_LAST_WALLS",
41
+ SET_MEASUREMENT_UNIT = "SET_MEASUREMENT_UNIT",
42
+ SET_IS_DRAWING = "SET_IS_DRAWING",
43
+ SET_HAS_WALLS = "SET_HAS_WALLS"
38
44
  }
39
45
  export declare enum PLANNER_UI_STATE_ACTIONS {
40
46
  SELECT_VIEW_MODE = "PLANNER_UI_STATE_SELECT_VIEW_MODE",
@@ -50,5 +56,6 @@ export declare enum PLANNER_UI_STATE_GETTERS {
50
56
  PRODUCT_LIST_SHOWN = "PRODUCT_LIST_SHOWN",
51
57
  LAST_OF_STACK_VIEW_STACK = "LAST_OF_STACK_VIEW_STACK"
52
58
  }
59
+ export declare const initialState: PlannerUiState;
53
60
  export declare const plannerUiState: Module<PlannerUiState, StoreState>;
54
61
  export {};
@@ -7,8 +7,7 @@ export interface PlannerSidebarState {
7
7
  catalog: boolean;
8
8
  productList: boolean;
9
9
  partList: boolean;
10
- sampleRooms: boolean;
11
- selectionDetail: boolean;
10
+ roomSidebar: boolean;
12
11
  mobileExpanded: boolean;
13
12
  [key: string]: boolean;
14
13
  }