@roomle/embedding-lib 6.12.0 → 6.12.1-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.
- package/docs/md/web/embedding/CHANGELOG.md +9 -355
- package/package.json +1 -1
- package/roomle-embedding-lib.js +55 -55
- package/roomle-embedding-lib.min.js +46 -46
|
@@ -1,356 +1,10 @@
|
|
|
1
|
-
## 6.12.
|
|
1
|
+
## <small>6.12.1-alpha.2 (2026-07-28)</small>
|
|
2
2
|
|
|
3
|
-
*
|
|
4
|
-
* Merge branch '
|
|
5
|
-
* Merge branch '
|
|
6
|
-
* Merge branch '
|
|
7
|
-
* Merge branch '
|
|
8
|
-
* Merge
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Merge branch 'master' into chore/remove-product-positions-ui ([f841fc4](https://github.com/roomle-dev/roomle-ui/commit/f841fc4))
|
|
12
|
-
* Merge branch 'master' into chore/remove-product-positions-ui ([743aa3d](https://github.com/roomle-dev/roomle-ui/commit/743aa3d))
|
|
13
|
-
* Merge branch 'master' into chore/remove-product-positions-ui ([7fa36e9](https://github.com/roomle-dev/roomle-ui/commit/7fa36e9))
|
|
14
|
-
* Merge branch 'master' into feat/2dElevationPlanImprovements ([c88f75f](https://github.com/roomle-dev/roomle-ui/commit/c88f75f))
|
|
15
|
-
* Merge branch 'master' into feat/2dElevationPlanImprovements ([316f8dc](https://github.com/roomle-dev/roomle-ui/commit/316f8dc))
|
|
16
|
-
* Merge branch 'master' into feat/adjust-group-position ([810e990](https://github.com/roomle-dev/roomle-ui/commit/810e990))
|
|
17
|
-
* Merge branch 'master' into feat/configurationForWebGpuGroundShadowReflection ([3c25e6f](https://github.com/roomle-dev/roomle-ui/commit/3c25e6f))
|
|
18
|
-
* Merge branch 'master' into feat/construction-overview ([767d50b](https://github.com/roomle-dev/roomle-ui/commit/767d50b))
|
|
19
|
-
* Merge branch 'master' into feat/core-upgrade ([52fbe73](https://github.com/roomle-dev/roomle-ui/commit/52fbe73))
|
|
20
|
-
* Merge branch 'master' into feat/fence-ui-adaptions ([1ed1612](https://github.com/roomle-dev/roomle-ui/commit/1ed1612))
|
|
21
|
-
* Merge branch 'master' into feat/fence-ui-adaptions ([c7aae8e](https://github.com/roomle-dev/roomle-ui/commit/c7aae8e))
|
|
22
|
-
* Merge branch 'master' into feat/fence-ui-adaptions ([a6882a8](https://github.com/roomle-dev/roomle-ui/commit/a6882a8))
|
|
23
|
-
* Merge branch 'master' into feat/hi-examples-price ([d47ad13](https://github.com/roomle-dev/roomle-ui/commit/d47ad13))
|
|
24
|
-
* Merge branch 'master' into feat/hi-examples-price ([751033d](https://github.com/roomle-dev/roomle-ui/commit/751033d))
|
|
25
|
-
* Merge branch 'master' into feat/hi-examples-price ([8a4aedc](https://github.com/roomle-dev/roomle-ui/commit/8a4aedc))
|
|
26
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([910d73f](https://github.com/roomle-dev/roomle-ui/commit/910d73f))
|
|
27
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([63e643e](https://github.com/roomle-dev/roomle-ui/commit/63e643e))
|
|
28
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([854ee1e](https://github.com/roomle-dev/roomle-ui/commit/854ee1e))
|
|
29
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([f030f9b](https://github.com/roomle-dev/roomle-ui/commit/f030f9b))
|
|
30
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([c75b2ab](https://github.com/roomle-dev/roomle-ui/commit/c75b2ab))
|
|
31
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([256d28c](https://github.com/roomle-dev/roomle-ui/commit/256d28c))
|
|
32
|
-
* Merge branch 'master' into feat/RML-17293-RML-17289-fence-terrain-adjustments ([3309c2d](https://github.com/roomle-dev/roomle-ui/commit/3309c2d))
|
|
33
|
-
* Merge branch 'master' into feat/RML-17294-fence-selection-logic ([96a5175](https://github.com/roomle-dev/roomle-ui/commit/96a5175))
|
|
34
|
-
* Merge branch 'master' into feat/RML-17294-selected-terrain-measurements ([26231d8](https://github.com/roomle-dev/roomle-ui/commit/26231d8))
|
|
35
|
-
* Merge branch 'master' into feat/RML-17294-selected-terrain-measurements ([993cd5a](https://github.com/roomle-dev/roomle-ui/commit/993cd5a))
|
|
36
|
-
* Merge branch 'master' into feat/RML-17294-selected-terrain-measurements ([6378a29](https://github.com/roomle-dev/roomle-ui/commit/6378a29))
|
|
37
|
-
* Merge branch 'master' into feat/RML-17294-selected-terrain-measurements ([916a2be](https://github.com/roomle-dev/roomle-ui/commit/916a2be))
|
|
38
|
-
* Merge branch 'master' into feat/RML-17294-selected-terrain-measurements ([b3945b1](https://github.com/roomle-dev/roomle-ui/commit/b3945b1))
|
|
39
|
-
* Merge branch 'master' into feat/types-qa-v5-breaking-changes ([0b04ef1](https://github.com/roomle-dev/roomle-ui/commit/0b04ef1))
|
|
40
|
-
* Merge branch 'master' into feat/webGpuInteriorLightsShadows ([a950716](https://github.com/roomle-dev/roomle-ui/commit/a950716))
|
|
41
|
-
* Merge branch 'master' into feat/webGpuQuality ([22d577f](https://github.com/roomle-dev/roomle-ui/commit/22d577f))
|
|
42
|
-
* Merge branch 'master' into feat/webGpuQuality ([8205cf1](https://github.com/roomle-dev/roomle-ui/commit/8205cf1))
|
|
43
|
-
* Merge branch 'master' into feat/webGpuQuality ([d17d304](https://github.com/roomle-dev/roomle-ui/commit/d17d304))
|
|
44
|
-
* Merge branch 'master' into feat/webGpuQuality ([b8ece1a](https://github.com/roomle-dev/roomle-ui/commit/b8ece1a))
|
|
45
|
-
* Merge branch 'master' into feat/webGpuQuality ([ea760a2](https://github.com/roomle-dev/roomle-ui/commit/ea760a2))
|
|
46
|
-
* Merge branch 'master' into feat/webGpuQuality ([e88f6cd](https://github.com/roomle-dev/roomle-ui/commit/e88f6cd))
|
|
47
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([66e4f4d](https://github.com/roomle-dev/roomle-ui/commit/66e4f4d))
|
|
48
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([fda276c](https://github.com/roomle-dev/roomle-ui/commit/fda276c))
|
|
49
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([35bab26](https://github.com/roomle-dev/roomle-ui/commit/35bab26))
|
|
50
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([4dd45d9](https://github.com/roomle-dev/roomle-ui/commit/4dd45d9))
|
|
51
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([b1c3a2b](https://github.com/roomle-dev/roomle-ui/commit/b1c3a2b))
|
|
52
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([a2c473d](https://github.com/roomle-dev/roomle-ui/commit/a2c473d))
|
|
53
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([a3c3dcb](https://github.com/roomle-dev/roomle-ui/commit/a3c3dcb))
|
|
54
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([1840004](https://github.com/roomle-dev/roomle-ui/commit/1840004))
|
|
55
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([1eac5fb](https://github.com/roomle-dev/roomle-ui/commit/1eac5fb))
|
|
56
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([a58d9a2](https://github.com/roomle-dev/roomle-ui/commit/a58d9a2))
|
|
57
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([04b3867](https://github.com/roomle-dev/roomle-ui/commit/04b3867))
|
|
58
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([697a900](https://github.com/roomle-dev/roomle-ui/commit/697a900))
|
|
59
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([f017efe](https://github.com/roomle-dev/roomle-ui/commit/f017efe))
|
|
60
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([91f1b65](https://github.com/roomle-dev/roomle-ui/commit/91f1b65))
|
|
61
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([b80d767](https://github.com/roomle-dev/roomle-ui/commit/b80d767))
|
|
62
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([3e9cca1](https://github.com/roomle-dev/roomle-ui/commit/3e9cca1))
|
|
63
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([23677d9](https://github.com/roomle-dev/roomle-ui/commit/23677d9))
|
|
64
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([b9f012d](https://github.com/roomle-dev/roomle-ui/commit/b9f012d))
|
|
65
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([e1dc44b](https://github.com/roomle-dev/roomle-ui/commit/e1dc44b))
|
|
66
|
-
* Merge branch 'master' into feature/undo-redo-design-change-proposal ([9a8e245](https://github.com/roomle-dev/roomle-ui/commit/9a8e245))
|
|
67
|
-
* Merge branch 'master' into fix/applyRepositioningData ([0c41828](https://github.com/roomle-dev/roomle-ui/commit/0c41828))
|
|
68
|
-
* Merge branch 'master' into fix/applyRepositioningData ([2c0fe40](https://github.com/roomle-dev/roomle-ui/commit/2c0fe40))
|
|
69
|
-
* Merge branch 'master' into fix/construction-update ([3e15dd4](https://github.com/roomle-dev/roomle-ui/commit/3e15dd4))
|
|
70
|
-
* Merge branch 'master' into fix/construction-update ([6874704](https://github.com/roomle-dev/roomle-ui/commit/6874704))
|
|
71
|
-
* Merge branch 'master' into fix/different-perspective-images-RML-17268 ([2051722](https://github.com/roomle-dev/roomle-ui/commit/2051722))
|
|
72
|
-
* Merge branch 'master' into fix/elevation-plan-api ([ac7bdd7](https://github.com/roomle-dev/roomle-ui/commit/ac7bdd7))
|
|
73
|
-
* Merge branch 'master' into fix/elevation-plan-api ([1c57486](https://github.com/roomle-dev/roomle-ui/commit/1c57486))
|
|
74
|
-
* Merge branch 'master' into fix/firefox-mobile-drag ([3bc8785](https://github.com/roomle-dev/roomle-ui/commit/3bc8785))
|
|
75
|
-
* Merge branch 'master' into fix/gltf-remove-nans ([fc1a3ab](https://github.com/roomle-dev/roomle-ui/commit/fc1a3ab))
|
|
76
|
-
* Merge branch 'master' into fix/gltf-remove-nans ([29e8f9c](https://github.com/roomle-dev/roomle-ui/commit/29e8f9c))
|
|
77
|
-
* Merge branch 'master' into fix/gltf-remove-nans ([6cfab22](https://github.com/roomle-dev/roomle-ui/commit/6cfab22))
|
|
78
|
-
* Merge branch 'master' into fix/hi-idb-loading ([1c5b6c7](https://github.com/roomle-dev/roomle-ui/commit/1c5b6c7))
|
|
79
|
-
* Merge branch 'master' into fix/initialFloorMaterialWebGpu ([dbf83f4](https://github.com/roomle-dev/roomle-ui/commit/dbf83f4))
|
|
80
|
-
* Merge branch 'master' into fix/rapi-round-trip-plan-objects ([65e130f](https://github.com/roomle-dev/roomle-ui/commit/65e130f))
|
|
81
|
-
* Merge branch 'master' into fix/rapi-round-trip-plan-objects ([abd407d](https://github.com/roomle-dev/roomle-ui/commit/abd407d))
|
|
82
|
-
* Merge branch 'master' into fix/rapi-round-trip-plan-objects ([068892b](https://github.com/roomle-dev/roomle-ui/commit/068892b))
|
|
83
|
-
* Merge branch 'master' into fix/rapi-round-trip-plan-objects ([ec53235](https://github.com/roomle-dev/roomle-ui/commit/ec53235))
|
|
84
|
-
* Merge branch 'master' into upgraded-by-ci/core-2.81.0 ([1338c1f](https://github.com/roomle-dev/roomle-ui/commit/1338c1f))
|
|
85
|
-
* Merge branch 'master' into upgraded-by-ci/core-2.81.0 ([81b24bc](https://github.com/roomle-dev/roomle-ui/commit/81b24bc))
|
|
86
|
-
* Merge pull request #2705 from roomle-dev/feature/undo-redo-design-change-proposal ([0ec3bb5](https://github.com/roomle-dev/roomle-ui/commit/0ec3bb5)), closes [#2705](https://github.com/roomle-dev/roomle-ui/issues/2705)
|
|
87
|
-
* Merge pull request #2735 from roomle-dev/feat/hi-examples-price ([f58f6da](https://github.com/roomle-dev/roomle-ui/commit/f58f6da)), closes [#2735](https://github.com/roomle-dev/roomle-ui/issues/2735)
|
|
88
|
-
* Merge pull request #2745 from roomle-dev/experiment/interaction-type-narrowing ([bf6ceb5](https://github.com/roomle-dev/roomle-ui/commit/bf6ceb5)), closes [#2745](https://github.com/roomle-dev/roomle-ui/issues/2745)
|
|
89
|
-
* Merge pull request #2746 from roomle-dev/feat/webGpuQuality ([63e0c53](https://github.com/roomle-dev/roomle-ui/commit/63e0c53)), closes [#2746](https://github.com/roomle-dev/roomle-ui/issues/2746)
|
|
90
|
-
* Merge pull request #2747 from roomle-dev/refactor/actions-method-name-typing ([45cbf92](https://github.com/roomle-dev/roomle-ui/commit/45cbf92)), closes [#2747](https://github.com/roomle-dev/roomle-ui/issues/2747)
|
|
91
|
-
* Merge pull request #2755 from roomle-dev/chore/remove-product-positions-ui ([7c38b14](https://github.com/roomle-dev/roomle-ui/commit/7c38b14)), closes [#2755](https://github.com/roomle-dev/roomle-ui/issues/2755)
|
|
92
|
-
* Merge pull request #2766 from roomle-dev/feature/RML-17309-remove-sequence-rules ([46b9533](https://github.com/roomle-dev/roomle-ui/commit/46b9533)), closes [#2766](https://github.com/roomle-dev/roomle-ui/issues/2766)
|
|
93
|
-
* Merge pull request #2768 from roomle-dev/fix/gltf-remove-nans ([37c6999](https://github.com/roomle-dev/roomle-ui/commit/37c6999)), closes [#2768](https://github.com/roomle-dev/roomle-ui/issues/2768)
|
|
94
|
-
* Merge pull request #2777 from roomle-dev/upgraded-by-ci/core-2.80.0-alpha.21 ([6a13f94](https://github.com/roomle-dev/roomle-ui/commit/6a13f94)), closes [#2777](https://github.com/roomle-dev/roomle-ui/issues/2777)
|
|
95
|
-
* Merge pull request #2778 from roomle-dev/upgraded-by-ci/core-2.80.0-alpha.22 ([f62cd8a](https://github.com/roomle-dev/roomle-ui/commit/f62cd8a)), closes [#2778](https://github.com/roomle-dev/roomle-ui/issues/2778)
|
|
96
|
-
* Merge pull request #2779 from roomle-dev/feat/fence-ui-adaptions ([509fd03](https://github.com/roomle-dev/roomle-ui/commit/509fd03)), closes [#2779](https://github.com/roomle-dev/roomle-ui/issues/2779)
|
|
97
|
-
* Merge pull request #2780 from roomle-dev/feat/RML-17294-fence-selection-logic ([ce6cc3e](https://github.com/roomle-dev/roomle-ui/commit/ce6cc3e)), closes [#2780](https://github.com/roomle-dev/roomle-ui/issues/2780)
|
|
98
|
-
* Merge pull request #2781 from roomle-dev/fix/firefox-mobile-drag ([63592dd](https://github.com/roomle-dev/roomle-ui/commit/63592dd)), closes [#2781](https://github.com/roomle-dev/roomle-ui/issues/2781)
|
|
99
|
-
* Merge pull request #2782 from roomle-dev/upgraded-by-ci/core-2.80.0-alpha.23 ([e78efd7](https://github.com/roomle-dev/roomle-ui/commit/e78efd7)), closes [#2782](https://github.com/roomle-dev/roomle-ui/issues/2782)
|
|
100
|
-
* Merge pull request #2783 from roomle-dev/fix/hi-idb-loading ([724fd5f](https://github.com/roomle-dev/roomle-ui/commit/724fd5f)), closes [#2783](https://github.com/roomle-dev/roomle-ui/issues/2783)
|
|
101
|
-
* Merge pull request #2784 from roomle-dev/upgraded-by-ci/core-2.80.0-alpha.24 ([9e34d04](https://github.com/roomle-dev/roomle-ui/commit/9e34d04)), closes [#2784](https://github.com/roomle-dev/roomle-ui/issues/2784)
|
|
102
|
-
* Merge pull request #2785 from roomle-dev/feat/core-upgrade ([0a37e50](https://github.com/roomle-dev/roomle-ui/commit/0a37e50)), closes [#2785](https://github.com/roomle-dev/roomle-ui/issues/2785)
|
|
103
|
-
* Merge pull request #2786 from roomle-dev/upgraded-by-ci/core-2.80.0-alpha.26 ([00a969c](https://github.com/roomle-dev/roomle-ui/commit/00a969c)), closes [#2786](https://github.com/roomle-dev/roomle-ui/issues/2786)
|
|
104
|
-
* Merge pull request #2788 from roomle-dev/feat/2dElevationPlanImprovements ([d708d9b](https://github.com/roomle-dev/roomle-ui/commit/d708d9b)), closes [#2788](https://github.com/roomle-dev/roomle-ui/issues/2788)
|
|
105
|
-
* Merge pull request #2789 from roomle-dev/upgraded-by-ci/core-2.80.1-alpha.1 ([d9d542d](https://github.com/roomle-dev/roomle-ui/commit/d9d542d)), closes [#2789](https://github.com/roomle-dev/roomle-ui/issues/2789)
|
|
106
|
-
* Merge pull request #2790 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.1 ([a94d3a3](https://github.com/roomle-dev/roomle-ui/commit/a94d3a3)), closes [#2790](https://github.com/roomle-dev/roomle-ui/issues/2790)
|
|
107
|
-
* Merge pull request #2792 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.2 ([be44188](https://github.com/roomle-dev/roomle-ui/commit/be44188)), closes [#2792](https://github.com/roomle-dev/roomle-ui/issues/2792)
|
|
108
|
-
* Merge pull request #2793 from roomle-dev/feat/adjust-group-position ([a3268f7](https://github.com/roomle-dev/roomle-ui/commit/a3268f7)), closes [#2793](https://github.com/roomle-dev/roomle-ui/issues/2793)
|
|
109
|
-
* Merge pull request #2794 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.3 ([a45a8a2](https://github.com/roomle-dev/roomle-ui/commit/a45a8a2)), closes [#2794](https://github.com/roomle-dev/roomle-ui/issues/2794)
|
|
110
|
-
* Merge pull request #2795 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.4 ([f0210c7](https://github.com/roomle-dev/roomle-ui/commit/f0210c7)), closes [#2795](https://github.com/roomle-dev/roomle-ui/issues/2795)
|
|
111
|
-
* Merge pull request #2796 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.5 ([ed9f206](https://github.com/roomle-dev/roomle-ui/commit/ed9f206)), closes [#2796](https://github.com/roomle-dev/roomle-ui/issues/2796)
|
|
112
|
-
* Merge pull request #2797 from roomle-dev/fix/initialFloorMaterialWebGpu ([3a44284](https://github.com/roomle-dev/roomle-ui/commit/3a44284)), closes [#2797](https://github.com/roomle-dev/roomle-ui/issues/2797)
|
|
113
|
-
* Merge pull request #2798 from roomle-dev/feat/2dElevationPlanImprovements ([d835bbd](https://github.com/roomle-dev/roomle-ui/commit/d835bbd)), closes [#2798](https://github.com/roomle-dev/roomle-ui/issues/2798)
|
|
114
|
-
* Merge pull request #2799 from roomle-dev/feat/construction-overview ([f5652bb](https://github.com/roomle-dev/roomle-ui/commit/f5652bb)), closes [#2799](https://github.com/roomle-dev/roomle-ui/issues/2799)
|
|
115
|
-
* Merge pull request #2800 from roomle-dev/fix/construction-update ([c517dfd](https://github.com/roomle-dev/roomle-ui/commit/c517dfd)), closes [#2800](https://github.com/roomle-dev/roomle-ui/issues/2800)
|
|
116
|
-
* Merge pull request #2801 from roomle-dev/feat/RML-17293-RML-17289-fence-terrain-adjustments ([163d4a4](https://github.com/roomle-dev/roomle-ui/commit/163d4a4)), closes [#2801](https://github.com/roomle-dev/roomle-ui/issues/2801)
|
|
117
|
-
* Merge pull request #2802 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.6 ([7609ef7](https://github.com/roomle-dev/roomle-ui/commit/7609ef7)), closes [#2802](https://github.com/roomle-dev/roomle-ui/issues/2802)
|
|
118
|
-
* Merge pull request #2804 from roomle-dev/fix/elevation-plan-api ([a5b4740](https://github.com/roomle-dev/roomle-ui/commit/a5b4740)), closes [#2804](https://github.com/roomle-dev/roomle-ui/issues/2804)
|
|
119
|
-
* Merge pull request #2805 from roomle-dev/feat/RML-17294-selected-terrain-measurements ([e7a7f99](https://github.com/roomle-dev/roomle-ui/commit/e7a7f99)), closes [#2805](https://github.com/roomle-dev/roomle-ui/issues/2805)
|
|
120
|
-
* Merge pull request #2806 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.7 ([7726bd1](https://github.com/roomle-dev/roomle-ui/commit/7726bd1)), closes [#2806](https://github.com/roomle-dev/roomle-ui/issues/2806)
|
|
121
|
-
* Merge pull request #2808 from roomle-dev/feat/types-qa-v5-breaking-changes ([145ffe9](https://github.com/roomle-dev/roomle-ui/commit/145ffe9)), closes [#2808](https://github.com/roomle-dev/roomle-ui/issues/2808)
|
|
122
|
-
* Merge pull request #2809 from roomle-dev/fix/potentially-undefined-object-ids ([67003cd](https://github.com/roomle-dev/roomle-ui/commit/67003cd)), closes [#2809](https://github.com/roomle-dev/roomle-ui/issues/2809)
|
|
123
|
-
* Merge pull request #2810 from roomle-dev/fix/room-fence-settings-floor-material ([6b6e46a](https://github.com/roomle-dev/roomle-ui/commit/6b6e46a)), closes [#2810](https://github.com/roomle-dev/roomle-ui/issues/2810)
|
|
124
|
-
* Merge pull request #2811 from roomle-dev/fix/applyRepositioningData ([41e1690](https://github.com/roomle-dev/roomle-ui/commit/41e1690)), closes [#2811](https://github.com/roomle-dev/roomle-ui/issues/2811)
|
|
125
|
-
* Merge pull request #2812 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.8 ([525de14](https://github.com/roomle-dev/roomle-ui/commit/525de14)), closes [#2812](https://github.com/roomle-dev/roomle-ui/issues/2812)
|
|
126
|
-
* Merge pull request #2813 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.9 ([91ddd65](https://github.com/roomle-dev/roomle-ui/commit/91ddd65)), closes [#2813](https://github.com/roomle-dev/roomle-ui/issues/2813)
|
|
127
|
-
* Merge pull request #2814 from roomle-dev/fix/floor-position-after-wall-move-undo ([8093131](https://github.com/roomle-dev/roomle-ui/commit/8093131)), closes [#2814](https://github.com/roomle-dev/roomle-ui/issues/2814)
|
|
128
|
-
* Merge pull request #2815 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.10 ([f2043a6](https://github.com/roomle-dev/roomle-ui/commit/f2043a6)), closes [#2815](https://github.com/roomle-dev/roomle-ui/issues/2815)
|
|
129
|
-
* Merge pull request #2816 from roomle-dev/feat/fence-node-types-styles ([7c932ae](https://github.com/roomle-dev/roomle-ui/commit/7c932ae)), closes [#2816](https://github.com/roomle-dev/roomle-ui/issues/2816)
|
|
130
|
-
* Merge pull request #2817 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.11 ([5a04aaf](https://github.com/roomle-dev/roomle-ui/commit/5a04aaf)), closes [#2817](https://github.com/roomle-dev/roomle-ui/issues/2817)
|
|
131
|
-
* Merge pull request #2818 from roomle-dev/fix/svgo-browser-import-crash ([3a7e01b](https://github.com/roomle-dev/roomle-ui/commit/3a7e01b)), closes [#2818](https://github.com/roomle-dev/roomle-ui/issues/2818)
|
|
132
|
-
* Merge pull request #2819 from roomle-dev/feat/configurationForWebGpuGroundShadowReflection ([648a03b](https://github.com/roomle-dev/roomle-ui/commit/648a03b)), closes [#2819](https://github.com/roomle-dev/roomle-ui/issues/2819)
|
|
133
|
-
* Merge pull request #2820 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.12 ([a77e6d5](https://github.com/roomle-dev/roomle-ui/commit/a77e6d5)), closes [#2820](https://github.com/roomle-dev/roomle-ui/issues/2820)
|
|
134
|
-
* Merge pull request #2821 from roomle-dev/feat/webGpuInteriorLightsShadows ([539cfb0](https://github.com/roomle-dev/roomle-ui/commit/539cfb0)), closes [#2821](https://github.com/roomle-dev/roomle-ui/issues/2821)
|
|
135
|
-
* Merge pull request #2822 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.13 ([8e51faa](https://github.com/roomle-dev/roomle-ui/commit/8e51faa)), closes [#2822](https://github.com/roomle-dev/roomle-ui/issues/2822)
|
|
136
|
-
* Merge pull request #2823 from roomle-dev/chore/hide-edit-icon-for-external-object-RML-17231 ([1b3a3f4](https://github.com/roomle-dev/roomle-ui/commit/1b3a3f4)), closes [#2823](https://github.com/roomle-dev/roomle-ui/issues/2823)
|
|
137
|
-
* Merge pull request #2824 from roomle-dev/fix/different-perspective-images-RML-17268 ([549df68](https://github.com/roomle-dev/roomle-ui/commit/549df68)), closes [#2824](https://github.com/roomle-dev/roomle-ui/issues/2824)
|
|
138
|
-
* Merge pull request #2826 from roomle-dev/fix/rapi-round-trip-plan-objects ([d3765ef](https://github.com/roomle-dev/roomle-ui/commit/d3765ef)), closes [#2826](https://github.com/roomle-dev/roomle-ui/issues/2826)
|
|
139
|
-
* Merge pull request #2827 from roomle-dev/chore/removeUnnecessaryNullabilityInitdata ([b502c48](https://github.com/roomle-dev/roomle-ui/commit/b502c48)), closes [#2827](https://github.com/roomle-dev/roomle-ui/issues/2827)
|
|
140
|
-
* Merge pull request #2830 from roomle-dev/upgraded-by-ci/core-2.81.0-alpha.14 ([7228a08](https://github.com/roomle-dev/roomle-ui/commit/7228a08)), closes [#2830](https://github.com/roomle-dev/roomle-ui/issues/2830)
|
|
141
|
-
* Merge pull request #2831 from roomle-dev/upgraded-by-ci/core-2.81.0 ([8a059c1](https://github.com/roomle-dev/roomle-ui/commit/8a059c1)), closes [#2831](https://github.com/roomle-dev/roomle-ui/issues/2831)
|
|
142
|
-
* Merge pull request #2833 from roomle-dev/fix/fence-icon ([a678832](https://github.com/roomle-dev/roomle-ui/commit/a678832)), closes [#2833](https://github.com/roomle-dev/roomle-ui/issues/2833)
|
|
143
|
-
* Merge pull request #2834 from roomle-dev/fix/npm-ci-lockfile-sync ([8b8c830](https://github.com/roomle-dev/roomle-ui/commit/8b8c830)), closes [#2834](https://github.com/roomle-dev/roomle-ui/issues/2834)
|
|
144
|
-
* Merge pull request #2837 from roomle-dev/chore/build-embedding-examples-cp-internal-RML-17426 ([fbd3018](https://github.com/roomle-dev/roomle-ui/commit/fbd3018)), closes [#2837](https://github.com/roomle-dev/roomle-ui/issues/2837)
|
|
145
|
-
* Potential fix for pull request finding ([27001cd](https://github.com/roomle-dev/roomle-ui/commit/27001cd))
|
|
146
|
-
* Potential fix for pull request finding ([581ab18](https://github.com/roomle-dev/roomle-ui/commit/581ab18))
|
|
147
|
-
* Potential fix for pull request finding ([1f2e4b3](https://github.com/roomle-dev/roomle-ui/commit/1f2e4b3))
|
|
148
|
-
* ci: build embedding examples in cp-internal deploy workflow ([14747ee](https://github.com/roomle-dev/roomle-ui/commit/14747ee))
|
|
149
|
-
* chore: add types ([ccab045](https://github.com/roomle-dev/roomle-ui/commit/ccab045))
|
|
150
|
-
* chore: adjust custom Y offset to Fence nodes ([4d85220](https://github.com/roomle-dev/roomle-ui/commit/4d85220))
|
|
151
|
-
* chore: align fence measurements labels in 2d ([3a6d1fd](https://github.com/roomle-dev/roomle-ui/commit/3a6d1fd))
|
|
152
|
-
* chore: apply copilot review suggestion - renaming ([8126bac](https://github.com/roomle-dev/roomle-ui/commit/8126bac))
|
|
153
|
-
* chore(format): apply prettier changes required by pre-push hook ([5835dac](https://github.com/roomle-dev/roomle-ui/commit/5835dac))
|
|
154
|
-
* chore(planner-core): apply prettier formatting for RML-17309 mock change ([ae078b6](https://github.com/roomle-dev/roomle-ui/commit/ae078b6))
|
|
155
|
-
* chore: cleanup ([876de21](https://github.com/roomle-dev/roomle-ui/commit/876de21))
|
|
156
|
-
* chore: cleanup ([aa0c5f9](https://github.com/roomle-dev/roomle-ui/commit/aa0c5f9))
|
|
157
|
-
* chore: cleanup duplicated code ([4f7154c](https://github.com/roomle-dev/roomle-ui/commit/4f7154c))
|
|
158
|
-
* chore: code cleaning, remove as any and unneeded comments ([23cb56f](https://github.com/roomle-dev/roomle-ui/commit/23cb56f))
|
|
159
|
-
* chore: core api - object category ([c8d2b9a](https://github.com/roomle-dev/roomle-ui/commit/c8d2b9a))
|
|
160
|
-
* chore: create webGpuConfig in featureFlags instead of using initdata directly ([00fc513](https://github.com/roomle-dev/roomle-ui/commit/00fc513))
|
|
161
|
-
* chore(planner-core): drop keepInteractionOpen deprecation tag (r3513853877) ([6d76180](https://github.com/roomle-dev/roomle-ui/commit/6d76180))
|
|
162
|
-
* chore: finalize ([91db329](https://github.com/roomle-dev/roomle-ui/commit/91db329))
|
|
163
|
-
* chore: fix and tidy up core api types ([945cdf9](https://github.com/roomle-dev/roomle-ui/commit/945cdf9))
|
|
164
|
-
* chore: fix delete element tracking ([00fdc97](https://github.com/roomle-dev/roomle-ui/commit/00fdc97))
|
|
165
|
-
* chore: fix failing tests ([9ab9572](https://github.com/roomle-dev/roomle-ui/commit/9ab9572))
|
|
166
|
-
* chore: fix formatting ([22d94ab](https://github.com/roomle-dev/roomle-ui/commit/22d94ab))
|
|
167
|
-
* chore: fix formatting ([bcf9ff3](https://github.com/roomle-dev/roomle-ui/commit/bcf9ff3))
|
|
168
|
-
* chore: fix formatting issues ([dd2363e](https://github.com/roomle-dev/roomle-ui/commit/dd2363e))
|
|
169
|
-
* chore: fix lint errors ([05c764a](https://github.com/roomle-dev/roomle-ui/commit/05c764a))
|
|
170
|
-
* chore: fix spacing ([c1b7f13](https://github.com/roomle-dev/roomle-ui/commit/c1b7f13))
|
|
171
|
-
* chore: fix types problem ([a5173ba](https://github.com/roomle-dev/roomle-ui/commit/a5173ba))
|
|
172
|
-
* chore: format ([0960d13](https://github.com/roomle-dev/roomle-ui/commit/0960d13))
|
|
173
|
-
* chore: formatting error ([8e51893](https://github.com/roomle-dev/roomle-ui/commit/8e51893))
|
|
174
|
-
* chore: formatting issue ([0d65b3a](https://github.com/roomle-dev/roomle-ui/commit/0d65b3a))
|
|
175
|
-
* chore: formatting issue ([b34fa71](https://github.com/roomle-dev/roomle-ui/commit/b34fa71))
|
|
176
|
-
* chore(fix): formatting problems ([bf0a940](https://github.com/roomle-dev/roomle-ui/commit/bf0a940))
|
|
177
|
-
* chore: hi api - renaming of properties ([f49a43a](https://github.com/roomle-dev/roomle-ui/commit/f49a43a))
|
|
178
|
-
* chore: merge master ([2ef1892](https://github.com/roomle-dev/roomle-ui/commit/2ef1892))
|
|
179
|
-
* chore: merge master into feature/plan-interaction-manager-refactor ([70e4152](https://github.com/roomle-dev/roomle-ui/commit/70e4152))
|
|
180
|
-
* chore: missing default ([4b76f0b](https://github.com/roomle-dev/roomle-ui/commit/4b76f0b))
|
|
181
|
-
* chore: prohibit show node labels for normal fence node ([1308bd3](https://github.com/roomle-dev/roomle-ui/commit/1308bd3))
|
|
182
|
-
* chore: refactor ([419890a](https://github.com/roomle-dev/roomle-ui/commit/419890a))
|
|
183
|
-
* chore: remove @todo comment ([b775d62](https://github.com/roomle-dev/roomle-ui/commit/b775d62))
|
|
184
|
-
* chore: remove non existing method ([7963923](https://github.com/roomle-dev/roomle-ui/commit/7963923))
|
|
185
|
-
* chore: remove product positions UI and tests ([e8ed656](https://github.com/roomle-dev/roomle-ui/commit/e8ed656))
|
|
186
|
-
* chore: remove strange promise reolves ([b2b8e67](https://github.com/roomle-dev/roomle-ui/commit/b2b8e67))
|
|
187
|
-
* chore: remove uneeded test ([dd16cc7](https://github.com/roomle-dev/roomle-ui/commit/dd16cc7))
|
|
188
|
-
* chore: remove unnecessary ? from initdata fields with default value ([2f4435b](https://github.com/roomle-dev/roomle-ui/commit/2f4435b))
|
|
189
|
-
* chore(planner-core): remove unused afterEach import in wall-dimensions spec ([b50a2ac](https://github.com/roomle-dev/roomle-ui/commit/b50a2ac))
|
|
190
|
-
* chore: remove unused import ([d5759d5](https://github.com/roomle-dev/roomle-ui/commit/d5759d5))
|
|
191
|
-
* chore: remove wrong changes ([6f8af2f](https://github.com/roomle-dev/roomle-ui/commit/6f8af2f))
|
|
192
|
-
* chore: remove wrong import ([75b10a5](https://github.com/roomle-dev/roomle-ui/commit/75b10a5))
|
|
193
|
-
* chore: simplify ([7142ad6](https://github.com/roomle-dev/roomle-ui/commit/7142ad6))
|
|
194
|
-
* chore: Skip selection cancel if docking to a construction element (wall, node). ([6adcef0](https://github.com/roomle-dev/roomle-ui/commit/6adcef0))
|
|
195
|
-
* chore: style cleaning ([c6417b6](https://github.com/roomle-dev/roomle-ui/commit/c6417b6))
|
|
196
|
-
* chore: sync loco translations ([3be4ce5](https://github.com/roomle-dev/roomle-ui/commit/3be4ce5))
|
|
197
|
-
* chore: undo commented styles ([8fe4cc5](https://github.com/roomle-dev/roomle-ui/commit/8fe4cc5))
|
|
198
|
-
* chore: update e2e snapshots ([83d01ad](https://github.com/roomle-dev/roomle-ui/commit/83d01ad))
|
|
199
|
-
* chore: update hi example to allow idb saving ([dc56f0f](https://github.com/roomle-dev/roomle-ui/commit/dc56f0f))
|
|
200
|
-
* chore: update lockfile ([77347b9](https://github.com/roomle-dev/roomle-ui/commit/77347b9))
|
|
201
|
-
* chore: update playwright tests ([bef5ce9](https://github.com/roomle-dev/roomle-ui/commit/bef5ce9))
|
|
202
|
-
* chore: use correct types ([89a3a54](https://github.com/roomle-dev/roomle-ui/commit/89a3a54))
|
|
203
|
-
* chore: wait for fonts, try to make a regenerate comment ([00267ac](https://github.com/roomle-dev/roomle-ui/commit/00267ac))
|
|
204
|
-
* chore: wip round trip ([e5b5758](https://github.com/roomle-dev/roomle-ui/commit/e5b5758))
|
|
205
|
-
* fix(planner-core): add fallback/drift guard in run method to prevent undefined spec errors ([928aad7](https://github.com/roomle-dev/roomle-ui/commit/928aad7))
|
|
206
|
-
* fix(planner): address Copilot review feedback on terrain floor selection ([e1b15fd](https://github.com/roomle-dev/roomle-ui/commit/e1b15fd))
|
|
207
|
-
* fix: address Copilot review on PR #2745 — propagate AllowedPlanInteractionHandler to UI ([66680b0](https://github.com/roomle-dev/roomle-ui/commit/66680b0)), closes [#2745](https://github.com/roomle-dev/roomle-ui/issues/2745) [#2745](https://github.com/roomle-dev/roomle-ui/issues/2745)
|
|
208
|
-
* fix: address PR review comments on undo/redo interaction manager ([cacd496](https://github.com/roomle-dev/roomle-ui/commit/cacd496))
|
|
209
|
-
* fix: address review comments on PR #2747 ([0025ab4](https://github.com/roomle-dev/roomle-ui/commit/0025ab4)), closes [#2747](https://github.com/roomle-dev/roomle-ui/issues/2747)
|
|
210
|
-
* fix(planner-core): address review comments on replaceObject (RML-17309) ([57d4ed7](https://github.com/roomle-dev/roomle-ui/commit/57d4ed7))
|
|
211
|
-
* fix: apply mesh center of exactly zero when updating plan element position ([d0b6cc6](https://github.com/roomle-dev/roomle-ui/commit/d0b6cc6))
|
|
212
|
-
* fix(undo-redo): batch wall and floor material multi-updates in single steps (r3516188810, r351618881 ([6955044](https://github.com/roomle-dev/roomle-ui/commit/6955044))
|
|
213
|
-
* fix(planner-core): clean manager API usage and align undo step policy (r3516247613, r3516247621, r35 ([8c49f50](https://github.com/roomle-dev/roomle-ui/commit/8c49f50))
|
|
214
|
-
* fix(planner-core): correct fence sibling selection in STANDARD mode ([beaea74](https://github.com/roomle-dev/roomle-ui/commit/beaea74))
|
|
215
|
-
* fix(planner-core): correct planInteractionHandler to planInteractionManager in tests ([6f01a0e](https://github.com/roomle-dev/roomle-ui/commit/6f01a0e))
|
|
216
|
-
* fix: do not emit updates when dragging on mobile firefox with mouse pointer ([a58f01f](https://github.com/roomle-dev/roomle-ui/commit/a58f01f))
|
|
217
|
-
* fix: do not emit updates when dragging on mobile firefox with mouse pointer ([5e8f4ae](https://github.com/roomle-dev/roomle-ui/commit/5e8f4ae))
|
|
218
|
-
* fix: failing inject + missing .bind(this) ([9a58e46](https://github.com/roomle-dev/roomle-ui/commit/9a58e46))
|
|
219
|
-
* fix: fence icon inside floor drawer ([44591b3](https://github.com/roomle-dev/roomle-ui/commit/44591b3))
|
|
220
|
-
* fix(planner-core): fix rotation tracking and wall visibility undo steps ([9f7f5ff](https://github.com/roomle-dev/roomle-ui/commit/9f7f5ff))
|
|
221
|
-
* fix(planner-core): fix rotation tracking and wall visibility undo steps ([f52a7a8](https://github.com/roomle-dev/roomle-ui/commit/f52a7a8))
|
|
222
|
-
* fix(web-sdk): generate consistent perspective images with construction elements in snapshots (RML-17 ([b9da0f8](https://github.com/roomle-dev/roomle-ui/commit/b9da0f8))
|
|
223
|
-
* fix(planner): group drag-in, room materials, and parapet height into single undo steps ([3dd6a3d](https://github.com/roomle-dev/roomle-ui/commit/3dd6a3d))
|
|
224
|
-
* fix: guard hi presets price callback ([bb4dca3](https://github.com/roomle-dev/roomle-ui/commit/bb4dca3))
|
|
225
|
-
* fix: hi examples - total price calculation ([0583670](https://github.com/roomle-dev/roomle-ui/commit/0583670))
|
|
226
|
-
* fix(planner-core): hidden lifecycle methods throw on call, not on read ([35f6f75](https://github.com/roomle-dev/roomle-ui/commit/35f6f75))
|
|
227
|
-
* fix(planner-core): hide endInteraction() from the manager surface (PR #2747 #12) ([053b558](https://github.com/roomle-dev/roomle-ui/commit/053b558)), closes [#2747](https://github.com/roomle-dev/roomle-ui/issues/2747) [#12](https://github.com/roomle-dev/roomle-ui/issues/12)
|
|
228
|
-
* fix(planner): hide fence 2D measurements when node is selected and add delta symbol to node height b ([2101f8a](https://github.com/roomle-dev/roomle-ui/commit/2101f8a))
|
|
229
|
-
* fix: implement one single undo operation for parameters visible in planner and range sliders ([e244599](https://github.com/roomle-dev/roomle-ui/commit/e244599))
|
|
230
|
-
* fix(web-sdk): import svgo browser build directly to prevent browser crashes ([d4d96b1](https://github.com/roomle-dev/roomle-ui/commit/d4d96b1))
|
|
231
|
-
* fix: initialFloorMaterial for webgpu (without fog) ([9bf8836](https://github.com/roomle-dev/roomle-ui/commit/9bf8836))
|
|
232
|
-
* fix(web-sdk): isolate object snapshot images ([d3dc9ef](https://github.com/roomle-dev/roomle-ui/commit/d3dc9ef))
|
|
233
|
-
* fix: keep plain elevation plan filename for single plan and revoke object urls asynchronously ([9e95800](https://github.com/roomle-dev/roomle-ui/commit/9e95800))
|
|
234
|
-
* fix(planner-core): map parameterChange back to immediate to ensure instant undo/redo activation ([755bbaa](https://github.com/roomle-dev/roomle-ui/commit/755bbaa))
|
|
235
|
-
* fix(planner-core): map parameterChange to on-signal to support continuous animation parameter change ([9e6e72b](https://github.com/roomle-dev/roomle-ui/commit/9e6e72b))
|
|
236
|
-
* fix: offset group by inverse referenced root position on repositioning ([b47a832](https://github.com/roomle-dev/roomle-ui/commit/b47a832))
|
|
237
|
-
* fix: optionally chain objectIds in _dispatchSetParameter ([a0ce8d1](https://github.com/roomle-dev/roomle-ui/commit/a0ce8d1))
|
|
238
|
-
* fix: prevent stale price display by coalescing price calculations ([b842b7d](https://github.com/roomle-dev/roomle-ui/commit/b842b7d))
|
|
239
|
-
* fix: prevent unselect plan element on clicking undo/redo to preserve the selection state and not bre ([d3dae1b](https://github.com/roomle-dev/roomle-ui/commit/d3dae1b))
|
|
240
|
-
* fix(planner-core): remove all as any casts by adding methods to PlanInteractionHandler interface ([5a66ee2](https://github.com/roomle-dev/roomle-ui/commit/5a66ee2))
|
|
241
|
-
* fix(planner-core): remove deprecated drawing aliases and dead resume set (r3513853877, r3516188852, ([55996d3](https://github.com/roomle-dev/roomle-ui/commit/55996d3))
|
|
242
|
-
* fix: remove NaNs in geometry on glbs ([ed9e546](https://github.com/roomle-dev/roomle-ui/commit/ed9e546))
|
|
243
|
-
* fix: remove pencil icon for HI catalogue ([ccfb866](https://github.com/roomle-dev/roomle-ui/commit/ccfb866))
|
|
244
|
-
* fix(fence-ui): remove thick black line on the right of fence scribble SVG ([b4cc61e](https://github.com/roomle-dev/roomle-ui/commit/b4cc61e))
|
|
245
|
-
* fix(planner-core): replace swap heuristic with explicit replaceObject (RML-17309) ([9717413](https://github.com/roomle-dev/roomle-ui/commit/9717413))
|
|
246
|
-
* fix(planner): resolve setFloorMaterial TypeError in RoomFenceSettings ([a576d29](https://github.com/roomle-dev/roomle-ui/commit/a576d29))
|
|
247
|
-
* fix(planner): restore atomic interaction grouping and clarify keepInteractionOpen deprecation (r3516 ([caa74f2](https://github.com/roomle-dev/roomle-ui/commit/caa74f2))
|
|
248
|
-
* fix(web-sdk): serialize perspective image rendering in getExternalObjectSnapshot to prevent shared s ([96a9262](https://github.com/roomle-dev/roomle-ui/commit/96a9262))
|
|
249
|
-
* fix(planner): show all edges + sloping labels only for selected terrain floor, fix fence node elevat ([70f9c46](https://github.com/roomle-dev/roomle-ui/commit/70f9c46))
|
|
250
|
-
* fix: show no price when the plan contains no order positions ([f32714f](https://github.com/roomle-dev/roomle-ui/commit/f32714f))
|
|
251
|
-
* fix(planner-core): support componentId in applyKernelParameterChange and map additional floor/parame ([c4421cb](https://github.com/roomle-dev/roomle-ui/commit/c4421cb))
|
|
252
|
-
* fix: support max 3 labels on one side of the fence in svg ([042acb0](https://github.com/roomle-dev/roomle-ui/commit/042acb0))
|
|
253
|
-
* fix: sync package-lock.json to fix npm ci failure in CI ([2656785](https://github.com/roomle-dev/roomle-ui/commit/2656785))
|
|
254
|
-
* fix(planner): tidy up terrain dimensions and m² display ([06d176b](https://github.com/roomle-dev/roomle-ui/commit/06d176b))
|
|
255
|
-
* fix(planner-core): track attic parameter changes in PlanInteractionManager ([ae1a3df](https://github.com/roomle-dev/roomle-ui/commit/ae1a3df))
|
|
256
|
-
* fix(planner-core): wrap deletePlanElements in a transaction to track delete object in interaction ma ([a39453b](https://github.com/roomle-dev/roomle-ui/commit/a39453b))
|
|
257
|
-
* feat: add enable/disable flag for autodetect quality level on webgpu ([2a204a7](https://github.com/roomle-dev/roomle-ui/commit/2a204a7))
|
|
258
|
-
* feat: add getConstructionOverview api to roomle-planner ([966508b](https://github.com/roomle-dev/roomle-ui/commit/966508b))
|
|
259
|
-
* feat: add white background to elevation view svg and improve readability ([94e9056](https://github.com/roomle-dev/roomle-ui/commit/94e9056))
|
|
260
|
-
* feat(planner): address PR review comments on nodeType logic, test naming, and brittle assertions ([587fecd](https://github.com/roomle-dev/roomle-ui/commit/587fecd))
|
|
261
|
-
* feat(planner): classify fence nodes based on nodeType and clean up scene manager styling ([6494c05](https://github.com/roomle-dev/roomle-ui/commit/6494c05))
|
|
262
|
-
* feat: configuration parameters for webgpu top light/shadow and ground reflection ([805d9c8](https://github.com/roomle-dev/roomle-ui/commit/805d9c8))
|
|
263
|
-
* feat: core api - applyGroupPosition ([7a2aacd](https://github.com/roomle-dev/roomle-ui/commit/7a2aacd))
|
|
264
|
-
* feat: core api - dock mode ([a7fe915](https://github.com/roomle-dev/roomle-ui/commit/a7fe915))
|
|
265
|
-
* feat: core api - FloorCluster ([f547ba0](https://github.com/roomle-dev/roomle-ui/commit/f547ba0))
|
|
266
|
-
* feat: core api - getConstructionOverview ([bb3639c](https://github.com/roomle-dev/roomle-ui/commit/bb3639c))
|
|
267
|
-
* feat: core-api - docking context ([3eaf0b2](https://github.com/roomle-dev/roomle-ui/commit/3eaf0b2))
|
|
268
|
-
* feat(planner-core): distinguish fence nodes from fence-attached nodes ([b75ecca](https://github.com/roomle-dev/roomle-ui/commit/b75ecca))
|
|
269
|
-
* feat: enable shadows for interior lights for webGPU ([8a08a84](https://github.com/roomle-dev/roomle-ui/commit/8a08a84))
|
|
270
|
-
* feat(fence-ui): expand and collapse fence visualization tab on mobile ([4f992f3](https://github.com/roomle-dev/roomle-ui/commit/4f992f3))
|
|
271
|
-
* feat(fence-ui): hide fence planning area sidebar label on desktop ([4c483b0](https://github.com/roomle-dev/roomle-ui/commit/4c483b0))
|
|
272
|
-
* feat: implement bubble edit tracking and strengthen plan interaction manager tests ([5eae1ff](https://github.com/roomle-dev/roomle-ui/commit/5eae1ff))
|
|
273
|
-
* feat(planner): implement fence feature flag UI adaptions and visualization ([35486b9](https://github.com/roomle-dev/roomle-ui/commit/35486b9))
|
|
274
|
-
* feat: implement undo/redo design change proposal with PlanInteractionHandlerAdapter ([44c3b31](https://github.com/roomle-dev/roomle-ui/commit/44c3b31))
|
|
275
|
-
* feat: improve fps counter/quality adaptation logic and refactor ([0c0f889](https://github.com/roomle-dev/roomle-ui/commit/0c0f889))
|
|
276
|
-
* feat(planner): invert fence boundary node classification logic to check for !== CORE_NODE_TYPE.CONST ([356fc70](https://github.com/roomle-dev/roomle-ui/commit/356fc70))
|
|
277
|
-
* feat(planner): only show 2d measurements of selected terrain floor ([db59b35](https://github.com/roomle-dev/roomle-ui/commit/db59b35))
|
|
278
|
-
* feat: recalculate group position from repositioning data after group adjust ([0083411](https://github.com/roomle-dev/roomle-ui/commit/0083411))
|
|
279
|
-
* feat: refactor create2DElevationPlan API ([f69f78f](https://github.com/roomle-dev/roomle-ui/commit/f69f78f))
|
|
280
|
-
* feat: request applying the group position when loading adjusted groups ([d9fe5b0](https://github.com/roomle-dev/roomle-ui/commit/d9fe5b0))
|
|
281
|
-
* feat: show hi example calculated price ([db7e1df](https://github.com/roomle-dev/roomle-ui/commit/db7e1df))
|
|
282
|
-
* feat(core): upgrade to version 2.80.0-alpha.21 ([4407c41](https://github.com/roomle-dev/roomle-ui/commit/4407c41))
|
|
283
|
-
* feat(core): upgrade to version 2.80.0-alpha.22 ([d139359](https://github.com/roomle-dev/roomle-ui/commit/d139359))
|
|
284
|
-
* feat(core): upgrade to version 2.80.0-alpha.23 ([c5ea09e](https://github.com/roomle-dev/roomle-ui/commit/c5ea09e))
|
|
285
|
-
* feat(core): upgrade to version 2.80.0-alpha.24 ([84709eb](https://github.com/roomle-dev/roomle-ui/commit/84709eb))
|
|
286
|
-
* feat(core): upgrade to version 2.80.0-alpha.25 ([7905500](https://github.com/roomle-dev/roomle-ui/commit/7905500))
|
|
287
|
-
* feat(core): upgrade to version 2.80.0-alpha.26 ([8c94166](https://github.com/roomle-dev/roomle-ui/commit/8c94166))
|
|
288
|
-
* feat(core): upgrade to version 2.80.1-alpha.1 ([f7eb0ab](https://github.com/roomle-dev/roomle-ui/commit/f7eb0ab))
|
|
289
|
-
* feat(core): upgrade to version 2.81.0-alpha.10 ([da80b20](https://github.com/roomle-dev/roomle-ui/commit/da80b20))
|
|
290
|
-
* feat(core): upgrade to version 2.81.0-alpha.11 ([7c6d13e](https://github.com/roomle-dev/roomle-ui/commit/7c6d13e))
|
|
291
|
-
* feat(core): upgrade to version 2.81.0-alpha.12 ([7f6fe30](https://github.com/roomle-dev/roomle-ui/commit/7f6fe30))
|
|
292
|
-
* feat(core): upgrade to version 2.81.0-alpha.13 ([8d422a4](https://github.com/roomle-dev/roomle-ui/commit/8d422a4))
|
|
293
|
-
* feat(core): upgrade to version 2.81.0-alpha.14 ([8bbb1e8](https://github.com/roomle-dev/roomle-ui/commit/8bbb1e8))
|
|
294
|
-
* feat(core): upgrade to version 2.81.0-alpha.1 ([c4f1b53](https://github.com/roomle-dev/roomle-ui/commit/c4f1b53))
|
|
295
|
-
* feat(core): upgrade to version 2.81.0-alpha.2 ([dcc77ee](https://github.com/roomle-dev/roomle-ui/commit/dcc77ee))
|
|
296
|
-
* feat(core): upgrade to version 2.81.0-alpha.3 ([27cc7f4](https://github.com/roomle-dev/roomle-ui/commit/27cc7f4))
|
|
297
|
-
* feat(core): upgrade to version 2.81.0-alpha.4 ([d967fa4](https://github.com/roomle-dev/roomle-ui/commit/d967fa4))
|
|
298
|
-
* feat(core): upgrade to version 2.81.0-alpha.5 ([0a02dad](https://github.com/roomle-dev/roomle-ui/commit/0a02dad))
|
|
299
|
-
* feat(core): upgrade to version 2.81.0-alpha.6 ([0be40f9](https://github.com/roomle-dev/roomle-ui/commit/0be40f9))
|
|
300
|
-
* feat(core): upgrade to version 2.81.0-alpha.7 ([a840fd6](https://github.com/roomle-dev/roomle-ui/commit/a840fd6))
|
|
301
|
-
* feat(core): upgrade to version 2.81.0-alpha.8 ([d0a6cba](https://github.com/roomle-dev/roomle-ui/commit/d0a6cba))
|
|
302
|
-
* feat(core): upgrade to version 2.81.0-alpha.9 ([1dd839b](https://github.com/roomle-dev/roomle-ui/commit/1dd839b))
|
|
303
|
-
* feat(core): upgrade to version 2.81.0 ([f4d9446](https://github.com/roomle-dev/roomle-ui/commit/f4d9446))
|
|
304
|
-
* feat: webgpu quality settings + auto quality ([99cdbe3](https://github.com/roomle-dev/roomle-ui/commit/99cdbe3))
|
|
305
|
-
* docs: add minimum fence embedding example ([8f2e533](https://github.com/roomle-dev/roomle-ui/commit/8f2e533))
|
|
306
|
-
* docs(planner-core): clarify why applyKernelParameterChange is listed explicitly ([c65cf88](https://github.com/roomle-dev/roomle-ui/commit/c65cf88))
|
|
307
|
-
* docs(planner): fix lifecycle encapsulation and tracking guide drift (r3516188821, r3516188846, r3516 ([ae0cbba](https://github.com/roomle-dev/roomle-ui/commit/ae0cbba))
|
|
308
|
-
* docs(embedding): fix stale _planInteractionHandler reference in demo comment ([ec6431e](https://github.com/roomle-dev/roomle-ui/commit/ec6431e))
|
|
309
|
-
* docs(hi): update external object snapshot documentation to reflect current behavior ([14ad0a0](https://github.com/roomle-dev/roomle-ui/commit/14ad0a0))
|
|
310
|
-
* test: adapt applyGroupPosition tests to plan interaction manager mock ([8ced855](https://github.com/roomle-dev/roomle-ui/commit/8ced855))
|
|
311
|
-
* test(planner): add unit tests for fence mode feature flag in RoomFloorAndWallSettings ([c83788e](https://github.com/roomle-dev/roomle-ui/commit/c83788e))
|
|
312
|
-
* test(planner): add unit tests for fence selection logic ([7b8c00a](https://github.com/roomle-dev/roomle-ui/commit/7b8c00a))
|
|
313
|
-
* test(planner-core): align external-loading manager mocks with proxy contract (r3516358976) ([499e7d5](https://github.com/roomle-dev/roomle-ui/commit/499e7d5))
|
|
314
|
-
* test: assert specific error message on unknown repositioning root ([279fb97](https://github.com/roomle-dev/roomle-ui/commit/279fb97))
|
|
315
|
-
* test(planner-core): cover proxy bound-method cache (referential stability) ([e734828](https://github.com/roomle-dev/roomle-ui/commit/e734828))
|
|
316
|
-
* test(planner): fix deprecated getPlanInteractionHandler API usage in RoomFenceSettings mock ([565633f](https://github.com/roomle-dev/roomle-ui/commit/565633f))
|
|
317
|
-
* test: fix failing test case ([cc8b52e](https://github.com/roomle-dev/roomle-ui/commit/cc8b52e))
|
|
318
|
-
* test: fix failing tests ([550c511](https://github.com/roomle-dev/roomle-ui/commit/550c511))
|
|
319
|
-
* test(fence-ui): fix fence mode feature flag test for mobile view ([5fd8392](https://github.com/roomle-dev/roomle-ui/commit/5fd8392))
|
|
320
|
-
* test: fix playwright tests ([749a5c1](https://github.com/roomle-dev/roomle-ui/commit/749a5c1))
|
|
321
|
-
* test(planner): fix RotationIndicator integration tests by mocking getPlanInteractionHandler ([6e15112](https://github.com/roomle-dev/roomle-ui/commit/6e15112))
|
|
322
|
-
* test(planner-core): provide planInteractionManager getter in inline kernel-access mocks ([b45c357](https://github.com/roomle-dev/roomle-ui/commit/b45c357))
|
|
323
|
-
* style: apply prettier formatting ([ca57ee1](https://github.com/roomle-dev/roomle-ui/commit/ca57ee1))
|
|
324
|
-
* style: apply prettier formatting ([05e2049](https://github.com/roomle-dev/roomle-ui/commit/05e2049))
|
|
325
|
-
* style: format files with prettier ([91a3db4](https://github.com/roomle-dev/roomle-ui/commit/91a3db4))
|
|
326
|
-
* style: format files with prettier ([982b5fa](https://github.com/roomle-dev/roomle-ui/commit/982b5fa))
|
|
327
|
-
* style: format plan interaction manager files with prettier ([abf35ae](https://github.com/roomle-dev/roomle-ui/commit/abf35ae))
|
|
328
|
-
* style: format planner-scene-manager test file with Prettier ([d935562](https://github.com/roomle-dev/roomle-ui/commit/d935562))
|
|
329
|
-
* style(planner): format RoomFloorAndWallSettings files ([a1e1974](https://github.com/roomle-dev/roomle-ui/commit/a1e1974))
|
|
330
|
-
* style(catalog-trigger): scale down catalog icon ([e6f23ee](https://github.com/roomle-dev/roomle-ui/commit/e6f23ee))
|
|
331
|
-
* style(fence-ui): use design system font size variables for fence measurements ([29738c7](https://github.com/roomle-dev/roomle-ui/commit/29738c7))
|
|
332
|
-
* refactor(typings): add compile-time drift guard for hand-typed PlanInteractionHandler ([31e4952](https://github.com/roomle-dev/roomle-ui/commit/31e4952))
|
|
333
|
-
* refactor: address PR review comments on selection ring color and array handling ([a3de34d](https://github.com/roomle-dev/roomle-ui/commit/a3de34d))
|
|
334
|
-
* refactor(planner-core): clean up and simplify _toggleGroupSelection logic ([4ac8c30](https://github.com/roomle-dev/roomle-ui/commit/4ac8c30))
|
|
335
|
-
* refactor: clean up manual start/end interaction calls and let adapter handle autonomously ([5851e86](https://github.com/roomle-dev/roomle-ui/commit/5851e86))
|
|
336
|
-
* refactor(planner-core): confine PlanInteractionHandler to its 4 internal files ([5bc9eb4](https://github.com/roomle-dev/roomle-ui/commit/5bc9eb4))
|
|
337
|
-
* refactor: convert buildMethodTable and decide to arrow functions ([9d39205](https://github.com/roomle-dev/roomle-ui/commit/9d39205))
|
|
338
|
-
* refactor(planner-core): drop duplicated manager-method list from ACTIONS typing ([f2f5f0e](https://github.com/roomle-dev/roomle-ui/commit/f2f5f0e))
|
|
339
|
-
* refactor(planner-core): eliminate direct exposure of interaction methods ([0e565c1](https://github.com/roomle-dev/roomle-ui/commit/0e565c1))
|
|
340
|
-
* refactor(planner-core): enforce PlanInteractionManager lifecycle encapsulation in the type system ([90c1580](https://github.com/roomle-dev/roomle-ui/commit/90c1580))
|
|
341
|
-
* refactor(planner): extract terrain helpers and fix PR discussion issues ([fb9e466](https://github.com/roomle-dev/roomle-ui/commit/fb9e466))
|
|
342
|
-
* refactor(planner): finalize wall dimensions immediately and remove transaction wrappers ([3b2456b](https://github.com/roomle-dev/roomle-ui/commit/3b2456b))
|
|
343
|
-
* refactor(planner-core): implement state-machine and proxy-based plan interaction manager ([5814732](https://github.com/roomle-dev/roomle-ui/commit/5814732))
|
|
344
|
-
* refactor(planner-core): improve type safety in PlanInteractionManager ([b8fd908](https://github.com/roomle-dev/roomle-ui/commit/b8fd908))
|
|
345
|
-
* refactor: make elevation plan creation synchronous and align svg export naming ([d33a60f](https://github.com/roomle-dev/roomle-ui/commit/d33a60f))
|
|
346
|
-
* refactor: move the fence mode stuff into its own component ([87d11de](https://github.com/roomle-dev/roomle-ui/commit/87d11de))
|
|
347
|
-
* refactor(planner-core): rename to a coherent Step vocabulary + tidy handler typings ([6d72cd8](https://github.com/roomle-dev/roomle-ui/commit/6d72cd8))
|
|
348
|
-
* refactor(planner): replace invalid DRAG_END and DRAG_IN_MERGE strings with correct HI_LOAD_OBJECT_RE ([7267acf](https://github.com/roomle-dev/roomle-ui/commit/7267acf))
|
|
349
|
-
* refactor(planner-core): replace prop casts with type guards (PR #2747 markers 2 & 4) ([66c1003](https://github.com/roomle-dev/roomle-ui/commit/66c1003)), closes [#2747](https://github.com/roomle-dev/roomle-ui/issues/2747)
|
|
350
|
-
* refactor(planner): resolve PR review comments for fence mode ([3e0aa5b](https://github.com/roomle-dev/roomle-ui/commit/3e0aa5b))
|
|
351
|
-
* refactor(typings): split PlanInteractionHandler into core mirror + manager extensions ([a7fbe0f](https://github.com/roomle-dev/roomle-ui/commit/a7fbe0f))
|
|
352
|
-
* refactor(planner-core): split step machinery from handler ops; tidy comments ([85b250f](https://github.com/roomle-dev/roomle-ui/commit/85b250f))
|
|
353
|
-
* refactor(planner-core): type ACTIONS method names against the core handler ([c7c23d2](https://github.com/roomle-dev/roomle-ui/commit/c7c23d2))
|
|
354
|
-
* refactor(planner-core): type embind delete() on the handler (PR #2747 marker 3) ([78f24c0](https://github.com/roomle-dev/roomle-ui/commit/78f24c0)), closes [#2747](https://github.com/roomle-dev/roomle-ui/issues/2747)
|
|
355
|
-
* refactor(planner): update undo/redo interaction management and fix tests ([efec230](https://github.com/roomle-dev/roomle-ui/commit/efec230))
|
|
356
|
-
* perf: apply merged multi-object parameter change as one batched interaction ([51bacb9](https://github.com/roomle-dev/roomle-ui/commit/51bacb9))
|
|
3
|
+
* Merge branch 'master' into fix/fence-issues ([cd2a4d0](https://github.com/roomle-dev/roomle-ui/commit/cd2a4d0))
|
|
4
|
+
* Merge branch 'master' into fix/fence-issues ([8541ff4](https://github.com/roomle-dev/roomle-ui/commit/8541ff4))
|
|
5
|
+
* Merge branch 'master' into fix/fence-issues ([99fb861](https://github.com/roomle-dev/roomle-ui/commit/99fb861))
|
|
6
|
+
* Merge branch 'master' into fix/fence-issues ([bdae0b8](https://github.com/roomle-dev/roomle-ui/commit/bdae0b8))
|
|
7
|
+
* Merge branch 'master' into fix/fence-issues ([12e1286](https://github.com/roomle-dev/roomle-ui/commit/12e1286))
|
|
8
|
+
* Merge pull request #2832 from roomle-dev/fix/fence-issues ([423ea8f](https://github.com/roomle-dev/roomle-ui/commit/423ea8f)), closes [#2832](https://github.com/roomle-dev/roomle-ui/issues/2832)
|
|
9
|
+
* fix: floor deselecting after sloping length change and make the fence line in 2d always visible ([ec38215](https://github.com/roomle-dev/roomle-ui/commit/ec38215))
|
|
10
|
+
* fix(planner): show loading cursor while a fence node drop is committing ([11d9d74](https://github.com/roomle-dev/roomle-ui/commit/11d9d74))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/embedding-lib",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.1-alpha.2",
|
|
4
4
|
"description": "This is a small library which can be used to communicate with the Roomle Configurator. ES modules only (browser-compatible).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./roomle-embedding-lib.js",
|
package/roomle-embedding-lib.js
CHANGED
|
@@ -126,32 +126,32 @@ var r = class {
|
|
|
126
126
|
},
|
|
127
127
|
rotationSnapDegrees: 10,
|
|
128
128
|
interactionsCollapsed: !1
|
|
129
|
-
}, p = (e) => (
|
|
130
|
-
if (!e) return;
|
|
129
|
+
}, p = (e) => (h(e), e?.customApiUrl && (e.customApiUrl = decodeURIComponent(e.customApiUrl)), e.shareUrl && (e.deeplink = e.shareUrl.replace(_, v)), e), m = (e) => e.trim() !== "" && Number.isFinite(Number(e.trim())), h = (e) => {
|
|
130
|
+
if (!e || typeof e != "object") return;
|
|
131
131
|
let t = Object.keys(e);
|
|
132
132
|
for (let n of t) {
|
|
133
133
|
let t = e[n];
|
|
134
|
-
if (!Array.isArray(t) && typeof t == "object" && t &&
|
|
135
|
-
|
|
134
|
+
if (!Array.isArray(t) && typeof t == "object" && t && h(t), Array.isArray(t)) for (let e of t) h(e);
|
|
135
|
+
t === "true" || t === "false" ? e[n] = t === "true" : typeof t == "string" && m(t) && (e[n] = Number(t));
|
|
136
136
|
}
|
|
137
|
-
},
|
|
137
|
+
}, g = () => {
|
|
138
138
|
let e = d(f);
|
|
139
139
|
e.locale ||= t(null, !0), e.id === "(idle)" && delete e.id;
|
|
140
140
|
let n = o();
|
|
141
|
-
return n && s(n) && (e.configuratorId = "demoConfigurator"), e.customApiUrl =
|
|
142
|
-
},
|
|
141
|
+
return n && s(n) && (e.configuratorId = "demoConfigurator"), e.customApiUrl = "https://rubens.alpha.roomle.com/api/v2", e.emails = !1, e;
|
|
142
|
+
}, _ = "<CONF_ID>", v = "#CONFIGURATIONID#", y = (e) => {
|
|
143
143
|
let t = e.featureFlags;
|
|
144
144
|
if (!t || typeof t != "object" || Array.isArray(t)) return;
|
|
145
145
|
let n = t;
|
|
146
146
|
"enableTwoLevelCatalog" in n && typeof n.enableTwoLevelCatalog == "boolean" && (e.enableTwoLevelCatalog === !1 || e.enableTwoLevelCatalog === void 0) && (e.enableTwoLevelCatalog = n.enableTwoLevelCatalog);
|
|
147
|
-
},
|
|
147
|
+
}, b = (e) => {
|
|
148
148
|
e.featureFlags ||= {}, typeof e.featureFlags.realPartList != "boolean" && (e.featureFlags.realPartList = !0), typeof e.featureFlags.globalCallbacks != "boolean" && (e.featureFlags.globalCallbacks = !0), typeof e.featureFlags.mocAr != "boolean" && (e.featureFlags.mocAr = !1);
|
|
149
|
-
},
|
|
150
|
-
let n = d(t), r =
|
|
151
|
-
|
|
149
|
+
}, x = (e, t) => {
|
|
150
|
+
let n = d(t), r = g();
|
|
151
|
+
b(r);
|
|
152
152
|
let i = c(c(r, e.settings || {}), n);
|
|
153
|
-
return i.configuratorId = e.id, !i.overrideTenant && e.tenant && (i.overrideTenant = e.tenant),
|
|
154
|
-
},
|
|
153
|
+
return i.configuratorId = e.id, !i.overrideTenant && e.tenant && (i.overrideTenant = e.tenant), y(i), i;
|
|
154
|
+
}, S = () => /(android)/i.test(navigator.userAgent), C = class {
|
|
155
155
|
_messageHandler = null;
|
|
156
156
|
isSetupDone = !1;
|
|
157
157
|
viewName = "main";
|
|
@@ -215,7 +215,7 @@ var r = class {
|
|
|
215
215
|
}
|
|
216
216
|
}));
|
|
217
217
|
}
|
|
218
|
-
},
|
|
218
|
+
}, w = () => {
|
|
219
219
|
let e, t;
|
|
220
220
|
return {
|
|
221
221
|
promise: new Promise((n, r) => {
|
|
@@ -224,7 +224,7 @@ var r = class {
|
|
|
224
224
|
resolve: e,
|
|
225
225
|
reject: t
|
|
226
226
|
};
|
|
227
|
-
},
|
|
227
|
+
}, T = {
|
|
228
228
|
SDK: "extended",
|
|
229
229
|
CONFIGURATOR_SDK: "configurator",
|
|
230
230
|
CALLBACKS: "callbacks",
|
|
@@ -232,20 +232,20 @@ var r = class {
|
|
|
232
232
|
ANALYTICS: "analytics",
|
|
233
233
|
GLOBAL: "global",
|
|
234
234
|
RAPI: "rapi"
|
|
235
|
-
},
|
|
235
|
+
}, E = ".", D = T.SDK + "." + T.CALLBACKS, O = {
|
|
236
236
|
REQUEST_BOOT: "requestBoot",
|
|
237
237
|
SETUP: "setup",
|
|
238
238
|
WEBSITE_READY: "websiteReady"
|
|
239
|
-
},
|
|
239
|
+
}, k = {
|
|
240
240
|
GET_METHODS: "getMethods",
|
|
241
241
|
RETURN_METHODS: "returnMethods",
|
|
242
242
|
REGISTER_CUSTOM_VIEW: "registerCustomView",
|
|
243
243
|
REGISTER_CUSTOM_VIEW_DONE: "registerCustomViewDone"
|
|
244
|
-
},
|
|
244
|
+
}, A = ["constructor", "callbacks"], j = (e) => e[0] !== "_" && !A.includes(e), M = (e, t, n = !1) => {
|
|
245
245
|
if (!e) return [];
|
|
246
|
-
let r = Object.getOwnPropertyNames(e), i = n ?
|
|
247
|
-
return r.filter(
|
|
248
|
-
},
|
|
246
|
+
let r = Object.getOwnPropertyNames(e), i = n ? T.CALLBACKS + "." : "";
|
|
247
|
+
return r.filter(j).map((e) => t + "." + i + e);
|
|
248
|
+
}, N = async (e, t) => {
|
|
249
249
|
if (typeof e != "string") throw Error("Configurator ID is not a string type: \"" + typeof e + "\"");
|
|
250
250
|
let n = t.customApiUrl ? t.customApiUrl : "https://api.roomle.com/v2", r = t.overrideTenant || 9, i = n + "/configurators/" + e, a = "03-" + window.btoa((/* @__PURE__ */ new Date()).toISOString() + ";anonymous;roomle_portal_v2"), o = new Request(i, {
|
|
251
251
|
method: "GET",
|
|
@@ -262,7 +262,7 @@ var r = class {
|
|
|
262
262
|
cache: "default"
|
|
263
263
|
}), { configurator: s } = await (await fetch(o)).json();
|
|
264
264
|
return s;
|
|
265
|
-
},
|
|
265
|
+
}, P = "data-rml-interaction-container", F = (e, t, n) => {
|
|
266
266
|
let r = null;
|
|
267
267
|
Object.defineProperty(e, t, {
|
|
268
268
|
get() {
|
|
@@ -272,28 +272,28 @@ var r = class {
|
|
|
272
272
|
e?.mute ? r = e.value : (console.warn("You override Roomle defined behaviour. To disalbe this warning pass in an object with the following properties"), console.warn("{ mute: true, value: () => void }"), r = e);
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
},
|
|
276
|
-
e && setTimeout(() => e.style.setProperty(
|
|
277
|
-
},
|
|
275
|
+
}, I = () => window.innerHeight * .01 + "px", L = (e) => {
|
|
276
|
+
e && setTimeout(() => e.style.setProperty(B, I()), 0);
|
|
277
|
+
}, R = "rml-styles", z = 450, B = "--rml-full-height", V = {
|
|
278
278
|
CONTAINER: "rml-container",
|
|
279
279
|
FILL: "rml-fill",
|
|
280
280
|
POSITION: "rml-pos",
|
|
281
281
|
TRANSITION: "rml-transition",
|
|
282
282
|
ANDROID_HEIGHT: "rml-android-height",
|
|
283
283
|
OVERFLOW_HIDDEN: "rml-overflow-hidden"
|
|
284
|
-
},
|
|
284
|
+
}, H = /* @__PURE__ */ new Map(), U = class extends C {
|
|
285
285
|
static createPlanner(e, t, n, r = []) {
|
|
286
286
|
return this._create(e, t, n, r);
|
|
287
287
|
}
|
|
288
288
|
static async connect(e, t = []) {
|
|
289
|
-
let n = new
|
|
289
|
+
let n = new C();
|
|
290
290
|
n.viewName = e;
|
|
291
|
-
let { resolve: i, promise: a } =
|
|
291
|
+
let { resolve: i, promise: a } = w(), { resolve: o, promise: s } = w(), c = new r("custom-view-" + e, window, window.parent, ({ message: e, args: t }) => {
|
|
292
292
|
switch (e) {
|
|
293
|
-
case
|
|
293
|
+
case k.REGISTER_CUSTOM_VIEW_DONE:
|
|
294
294
|
i();
|
|
295
295
|
break;
|
|
296
|
-
case
|
|
296
|
+
case k.RETURN_METHODS:
|
|
297
297
|
n.handleSetup(t[0]), o();
|
|
298
298
|
break;
|
|
299
299
|
default: if (n.isSetupDone) return n.executeMessage({
|
|
@@ -304,7 +304,7 @@ var r = class {
|
|
|
304
304
|
});
|
|
305
305
|
n.setMessageHandler(c);
|
|
306
306
|
let l = [e];
|
|
307
|
-
return c.sendMessage(
|
|
307
|
+
return c.sendMessage(k.REGISTER_CUSTOM_VIEW, l), await a, c.sendMessage(k.GET_METHODS, l), await s, n.setupPlugins(t, document.body, "custom-view"), await Promise.allSettled(n.pluginsLoaded), n;
|
|
308
308
|
}
|
|
309
309
|
static createConfigurator(e, t, n, r = []) {
|
|
310
310
|
return this._create(e, t, n, r);
|
|
@@ -327,10 +327,10 @@ var r = class {
|
|
|
327
327
|
static async _create(e, t, n, r) {
|
|
328
328
|
return new Promise(async (i, a) => {
|
|
329
329
|
try {
|
|
330
|
-
let a = p(n), o =
|
|
331
|
-
|
|
332
|
-
let s = await
|
|
333
|
-
n =
|
|
330
|
+
let a = p(n), o = g();
|
|
331
|
+
b(o);
|
|
332
|
+
let s = await N(e, c(o, a));
|
|
333
|
+
n = x(s, a);
|
|
334
334
|
let l = new this(s, t, n, r, i);
|
|
335
335
|
return await Promise.allSettled(l.pluginsLoaded), l;
|
|
336
336
|
} catch (e) {
|
|
@@ -345,51 +345,51 @@ var r = class {
|
|
|
345
345
|
_iframe;
|
|
346
346
|
constructor(e, t, n, i, a) {
|
|
347
347
|
if (super(), !e || typeof e.id != "string") throw Error("Please provide a correct configuratorId, you get the correct ID from your Roomle Contact Person");
|
|
348
|
-
if (
|
|
349
|
-
if (!document.getElementById(
|
|
348
|
+
if (H.has(t)) throw Error("There is already an instance on this DOM element");
|
|
349
|
+
if (!document.getElementById(R)) {
|
|
350
350
|
let e = n.zIndex || 9999999, t = document.createElement("style");
|
|
351
|
-
t.type = "text/css", t.id =
|
|
352
|
-
let r = "transition:all ease-in-out " +
|
|
351
|
+
t.type = "text/css", t.id = R;
|
|
352
|
+
let r = "transition:all ease-in-out " + z + "ms;", i = ["-webkit-", "-o-"].reduce((e, t) => e += t + r, "") + r, a = I();
|
|
353
353
|
t.innerHTML = `
|
|
354
|
-
.${
|
|
355
|
-
.${
|
|
356
|
-
.${
|
|
357
|
-
.${
|
|
358
|
-
.${
|
|
359
|
-
.${
|
|
354
|
+
.${V.CONTAINER}{${B}:${a};}
|
|
355
|
+
.${V.POSITION}{position:fixed;top:0;left:0;z-index:${e};opacity:0}
|
|
356
|
+
.${V.TRANSITION}{${i}}
|
|
357
|
+
.${V.FILL}{width:100%;height:100%;opacity:1}
|
|
358
|
+
.${V.ANDROID_HEIGHT}{height:calc(var(${B},1vh)*100)}
|
|
359
|
+
.${V.OVERFLOW_HIDDEN}{overflow:hidden}
|
|
360
360
|
`, document.head.appendChild(t);
|
|
361
361
|
}
|
|
362
362
|
this._executeMessage = this._executeMessage.bind(this);
|
|
363
363
|
let o = new r("website", window, null, this._executeMessage);
|
|
364
|
-
this.setMessageHandler(o), this._onResize = this._onResize.bind(this),
|
|
364
|
+
this.setMessageHandler(o), this._onResize = this._onResize.bind(this), S() && window.addEventListener("resize", this._onResize), this._container = t, this._initData = n, this._configuratorSettings = e;
|
|
365
365
|
let s = this._createIframe();
|
|
366
|
-
this._onUseFullPage = this._onUseFullPage.bind(this), this._onBackToWebsite = this._onBackToWebsite.bind(this), this._waitForIframe = a, this._container.appendChild(s), this._iframe = s, this.setupPlugins(i, this._iframe),
|
|
366
|
+
this._onUseFullPage = this._onUseFullPage.bind(this), this._onBackToWebsite = this._onBackToWebsite.bind(this), this._waitForIframe = a, this._container.appendChild(s), this._iframe = s, this.setupPlugins(i, this._iframe), H.set(t, !0);
|
|
367
367
|
}
|
|
368
368
|
teardown() {
|
|
369
|
-
this._container &&
|
|
369
|
+
this._container && H.delete(this._container);
|
|
370
370
|
let e = this._container.querySelector("iframe");
|
|
371
371
|
e && this._container.removeChild(e), window.removeEventListener("resize", this._onResize);
|
|
372
372
|
}
|
|
373
373
|
_createIframe() {
|
|
374
374
|
let e = document.createElement("iframe"), t = this._configuratorSettings?.url || "https://www.roomle.com/t/cp/";
|
|
375
|
-
return this._initData.useLocalRoomle && (t = location.href.replace("embedding.html", "")), location.href.includes("roomle.gitlab.io") && (t = location.href.replace("embedding.html", "index.html")), this._initData.overrideServerUrl && (t = this._initData.overrideServerUrl), e.src = t, e.classList.add(
|
|
375
|
+
return this._initData.useLocalRoomle && (t = location.href.replace("embedding.html", "")), location.href.includes("roomle.gitlab.io") && (t = location.href.replace("embedding.html", "index.html")), this._initData.overrideServerUrl && (t = this._initData.overrideServerUrl), e.src = t, e.classList.add(V.CONTAINER), e.classList.add(V.FILL), e;
|
|
376
376
|
}
|
|
377
377
|
_onResize() {
|
|
378
|
-
|
|
378
|
+
L(this._iframe);
|
|
379
379
|
}
|
|
380
380
|
_onUseFullPage() {
|
|
381
|
-
this._iframe.classList.add(
|
|
381
|
+
this._iframe.classList.add(V.POSITION), document.documentElement.classList.add(V.OVERFLOW_HIDDEN), window.document.body.classList.add(V.OVERFLOW_HIDDEN), S() && (L(this._iframe), this._iframe.classList.add(V.ANDROID_HEIGHT));
|
|
382
382
|
}
|
|
383
383
|
_onBackToWebsite() {
|
|
384
|
-
this._iframe.classList.remove(
|
|
384
|
+
this._iframe.classList.remove(V.POSITION), this._iframe.classList.remove(V.ANDROID_HEIGHT), document.documentElement.classList.remove(V.OVERFLOW_HIDDEN), window.document.body.classList.remove(V.OVERFLOW_HIDDEN);
|
|
385
385
|
}
|
|
386
386
|
_executeMessage({ message: e, args: t }, n) {
|
|
387
|
-
if (n.source && n.source === this._iframe?.contentWindow) return e ===
|
|
387
|
+
if (n.source && n.source === this._iframe?.contentWindow) return e === O.REQUEST_BOOT ? this._messageHandler ? (this._messageHandler.setOutgoingMessageBus(n.source), Promise.resolve({ result: this._initData })) : (console.error("MessageHandler not set"), Promise.resolve({ error: "MessageHandler not set" })) : e === O.SETUP ? (this.handleSetup(t[0]), F(this.ui.callbacks, "onUseFullPage", this._onUseFullPage), F(this.ui.callbacks, "onBackToWebsite", this._onBackToWebsite), this._waitForIframe(this), setTimeout(() => {
|
|
388
388
|
if (!this._messageHandler) {
|
|
389
389
|
console.error("MessageHandler not set");
|
|
390
390
|
return;
|
|
391
391
|
}
|
|
392
|
-
this._messageHandler.sendMessage(
|
|
392
|
+
this._messageHandler.sendMessage(O.WEBSITE_READY);
|
|
393
393
|
}, 0), Promise.resolve({ result: null })) : this.executeMessage({
|
|
394
394
|
message: e,
|
|
395
395
|
args: t
|
|
@@ -397,4 +397,4 @@ var r = class {
|
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
399
|
//#endregion
|
|
400
|
-
export {
|
|
400
|
+
export { O as HANDSHAKE_MESSAGES, P as INTERACTION_CONTAINER_SELECTOR, T as NAMESPACE, E as NAMESPACE_SEPARATOR, D as SDK_CALLBACK, k as WELL_KNOWN_MESSAGES, U as default, N as getConfiguratorSettings, M as getMethodNames, j as isExposable };
|
|
@@ -104,15 +104,15 @@ var r = class {
|
|
|
104
104
|
},
|
|
105
105
|
rotationSnapDegrees: 10,
|
|
106
106
|
interactionsCollapsed: !1
|
|
107
|
-
}, u = (e) => {
|
|
108
|
-
if (!e) return;
|
|
107
|
+
}, u = (e) => e.trim() !== "" && Number.isFinite(Number(e.trim())), d = (e) => {
|
|
108
|
+
if (!e || typeof e != "object") return;
|
|
109
109
|
let t = Object.keys(e);
|
|
110
110
|
for (let n of t) {
|
|
111
111
|
let t = e[n];
|
|
112
|
-
if (Array.isArray(t) || typeof t != "object" || !t ||
|
|
113
|
-
t
|
|
112
|
+
if (Array.isArray(t) || typeof t != "object" || !t || d(t), Array.isArray(t)) for (let e of t) d(e);
|
|
113
|
+
t === "true" || t === "false" ? e[n] = t === "true" : typeof t == "string" && u(t) && (e[n] = Number(t));
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, f = () => {
|
|
116
116
|
let e = c(l);
|
|
117
117
|
e.locale ||= t(null, !0), e.id === "(idle)" && delete e.id;
|
|
118
118
|
let n = (() => {
|
|
@@ -133,10 +133,10 @@ var r = class {
|
|
|
133
133
|
return n && ((e) => {
|
|
134
134
|
let t = /* @__PURE__ */ new RegExp(/^(10\.|172\.(1[6-9]|2\d|3[01])\.|192\.168\.)/);
|
|
135
135
|
return !!(i.includes(e) || t.test(e) || e.endsWith("roomle.com") || e.endsWith("gitlab.io") || e.endsWith("gitlab.com"));
|
|
136
|
-
})(n) && (e.configuratorId = "demoConfigurator"), e.customApiUrl =
|
|
137
|
-
},
|
|
136
|
+
})(n) && (e.configuratorId = "demoConfigurator"), e.customApiUrl = "https://rubens.alpha.roomle.com/api/v2", e.emails = !1, e;
|
|
137
|
+
}, p = (e) => {
|
|
138
138
|
e.featureFlags ||= {}, typeof e.featureFlags.realPartList != "boolean" && (e.featureFlags.realPartList = !0), typeof e.featureFlags.globalCallbacks != "boolean" && (e.featureFlags.globalCallbacks = !0), typeof e.featureFlags.mocAr != "boolean" && (e.featureFlags.mocAr = !1);
|
|
139
|
-
},
|
|
139
|
+
}, m = () => /(android)/i.test(navigator.userAgent), h = class {
|
|
140
140
|
_messageHandler = null;
|
|
141
141
|
isSetupDone = !1;
|
|
142
142
|
viewName = "main";
|
|
@@ -196,7 +196,7 @@ var r = class {
|
|
|
196
196
|
}
|
|
197
197
|
}));
|
|
198
198
|
}
|
|
199
|
-
},
|
|
199
|
+
}, g = () => {
|
|
200
200
|
let e, t;
|
|
201
201
|
return {
|
|
202
202
|
promise: new Promise((n, r) => {
|
|
@@ -205,7 +205,7 @@ var r = class {
|
|
|
205
205
|
resolve: e,
|
|
206
206
|
reject: t
|
|
207
207
|
};
|
|
208
|
-
},
|
|
208
|
+
}, _ = {
|
|
209
209
|
SDK: "extended",
|
|
210
210
|
CONFIGURATOR_SDK: "configurator",
|
|
211
211
|
CALLBACKS: "callbacks",
|
|
@@ -213,20 +213,20 @@ var r = class {
|
|
|
213
213
|
ANALYTICS: "analytics",
|
|
214
214
|
GLOBAL: "global",
|
|
215
215
|
RAPI: "rapi"
|
|
216
|
-
},
|
|
216
|
+
}, v = ".", y = _.SDK + "." + _.CALLBACKS, b = {
|
|
217
217
|
REQUEST_BOOT: "requestBoot",
|
|
218
218
|
SETUP: "setup",
|
|
219
219
|
WEBSITE_READY: "websiteReady"
|
|
220
|
-
},
|
|
220
|
+
}, x = {
|
|
221
221
|
GET_METHODS: "getMethods",
|
|
222
222
|
RETURN_METHODS: "returnMethods",
|
|
223
223
|
REGISTER_CUSTOM_VIEW: "registerCustomView",
|
|
224
224
|
REGISTER_CUSTOM_VIEW_DONE: "registerCustomViewDone"
|
|
225
|
-
},
|
|
225
|
+
}, S = ["constructor", "callbacks"], C = (e) => e[0] !== "_" && !S.includes(e), w = (e, t, n = !1) => {
|
|
226
226
|
if (!e) return [];
|
|
227
|
-
let r = Object.getOwnPropertyNames(e), i = n ?
|
|
228
|
-
return r.filter(
|
|
229
|
-
},
|
|
227
|
+
let r = Object.getOwnPropertyNames(e), i = n ? _.CALLBACKS + "." : "";
|
|
228
|
+
return r.filter(C).map((e) => t + "." + i + e);
|
|
229
|
+
}, T = async (e, t) => {
|
|
230
230
|
if (typeof e != "string") throw Error("Configurator ID is not a string type: \"" + typeof e + "\"");
|
|
231
231
|
let n = t.customApiUrl ? t.customApiUrl : "https://api.roomle.com/v2", r = t.overrideTenant || 9, i = n + "/configurators/" + e, a = "03-" + window.btoa((/* @__PURE__ */ new Date()).toISOString() + ";anonymous;roomle_portal_v2"), o = new Request(i, {
|
|
232
232
|
method: "GET",
|
|
@@ -243,7 +243,7 @@ var r = class {
|
|
|
243
243
|
cache: "default"
|
|
244
244
|
}), { configurator: s } = await (await fetch(o)).json();
|
|
245
245
|
return s;
|
|
246
|
-
},
|
|
246
|
+
}, E = "data-rml-interaction-container", D = (e, t, n) => {
|
|
247
247
|
let r = null;
|
|
248
248
|
Object.defineProperty(e, t, {
|
|
249
249
|
get: () => r || n,
|
|
@@ -251,21 +251,21 @@ var r = class {
|
|
|
251
251
|
r = e?.mute ? e.value : e;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
},
|
|
255
|
-
e && setTimeout(() => e.style.setProperty(
|
|
256
|
-
},
|
|
254
|
+
}, O = () => .01 * window.innerHeight + "px", k = (e) => {
|
|
255
|
+
e && setTimeout(() => e.style.setProperty(j, O()), 0);
|
|
256
|
+
}, A = "rml-styles", j = "--rml-full-height", M = "rml-container", N = "rml-fill", P = "rml-pos", F = "rml-android-height", I = "rml-overflow-hidden", L = /* @__PURE__ */ new Map(), R = class extends h {
|
|
257
257
|
static createPlanner(e, t, n, r = []) {
|
|
258
258
|
return this._create(e, t, n, r);
|
|
259
259
|
}
|
|
260
260
|
static async connect(e, t = []) {
|
|
261
|
-
let n = new
|
|
261
|
+
let n = new h();
|
|
262
262
|
n.viewName = e;
|
|
263
|
-
let { resolve: i, promise: a } =
|
|
263
|
+
let { resolve: i, promise: a } = g(), { resolve: o, promise: s } = g(), c = new r("custom-view-" + e, window, window.parent, ({ message: e, args: t }) => {
|
|
264
264
|
switch (e) {
|
|
265
|
-
case
|
|
265
|
+
case x.REGISTER_CUSTOM_VIEW_DONE:
|
|
266
266
|
i();
|
|
267
267
|
break;
|
|
268
|
-
case
|
|
268
|
+
case x.RETURN_METHODS:
|
|
269
269
|
n.handleSetup(t[0]), o();
|
|
270
270
|
break;
|
|
271
271
|
default: if (n.isSetupDone) return n.executeMessage({
|
|
@@ -276,7 +276,7 @@ var r = class {
|
|
|
276
276
|
});
|
|
277
277
|
n.setMessageHandler(c);
|
|
278
278
|
let l = [e];
|
|
279
|
-
return c.sendMessage(
|
|
279
|
+
return c.sendMessage(x.REGISTER_CUSTOM_VIEW, l), await a, c.sendMessage(x.GET_METHODS, l), await s, n.setupPlugins(t, document.body, "custom-view"), await Promise.allSettled(n.pluginsLoaded), n;
|
|
280
280
|
}
|
|
281
281
|
static createConfigurator(e, t, n, r = []) {
|
|
282
282
|
return this._create(e, t, n, r);
|
|
@@ -299,12 +299,12 @@ var r = class {
|
|
|
299
299
|
static async _create(e, t, n, r) {
|
|
300
300
|
return new Promise(async (i, o) => {
|
|
301
301
|
try {
|
|
302
|
-
let o = ((e) => (
|
|
303
|
-
|
|
304
|
-
let l = await
|
|
302
|
+
let o = ((e) => (d(e), e?.customApiUrl && (e.customApiUrl = decodeURIComponent(e.customApiUrl)), e.shareUrl && (e.deeplink = e.shareUrl.replace("<CONF_ID>", "#CONFIGURATIONID#")), e))(n), s = f();
|
|
303
|
+
p(s);
|
|
304
|
+
let l = await T(e, a(s, o));
|
|
305
305
|
n = ((e, t) => {
|
|
306
|
-
let n = c(t), r =
|
|
307
|
-
|
|
306
|
+
let n = c(t), r = f();
|
|
307
|
+
p(r);
|
|
308
308
|
let i = a(a(r, e.settings || {}), n);
|
|
309
309
|
return i.configuratorId = e.id, !i.overrideTenant && e.tenant && (i.overrideTenant = e.tenant), ((e) => {
|
|
310
310
|
let t = e.featureFlags;
|
|
@@ -313,8 +313,8 @@ var r = class {
|
|
|
313
313
|
!("enableTwoLevelCatalog" in n) || typeof n.enableTwoLevelCatalog != "boolean" || !1 !== e.enableTwoLevelCatalog && e.enableTwoLevelCatalog !== void 0 || (e.enableTwoLevelCatalog = n.enableTwoLevelCatalog);
|
|
314
314
|
})(i), i;
|
|
315
315
|
})(l, o);
|
|
316
|
-
let
|
|
317
|
-
return await Promise.allSettled(
|
|
316
|
+
let u = new this(l, t, n, r, i);
|
|
317
|
+
return await Promise.allSettled(u.pluginsLoaded), u;
|
|
318
318
|
} catch (e) {
|
|
319
319
|
return o(e);
|
|
320
320
|
}
|
|
@@ -327,44 +327,44 @@ var r = class {
|
|
|
327
327
|
_iframe;
|
|
328
328
|
constructor(e, t, n, i, a) {
|
|
329
329
|
if (super(), !e || typeof e.id != "string") throw Error("Please provide a correct configuratorId, you get the correct ID from your Roomle Contact Person");
|
|
330
|
-
if (
|
|
331
|
-
if (!document.getElementById(
|
|
330
|
+
if (L.has(t)) throw Error("There is already an instance on this DOM element");
|
|
331
|
+
if (!document.getElementById(A)) {
|
|
332
332
|
let e = n.zIndex || 9999999, t = document.createElement("style");
|
|
333
|
-
t.type = "text/css", t.id =
|
|
333
|
+
t.type = "text/css", t.id = A;
|
|
334
334
|
let r = "transition:all ease-in-out 450ms;", i = ["-webkit-", "-o-"].reduce((e, t) => e + (t + r), "") + r;
|
|
335
|
-
t.innerHTML = `\n .${
|
|
335
|
+
t.innerHTML = `\n .${M}{${j}:${O()};}\n .${P}{position:fixed;top:0;left:0;z-index:${e};opacity:0}\n .rml-transition{${i}}\n .${N}{width:100%;height:100%;opacity:1}\n .${F}{height:calc(var(${j},1vh)*100)}\n .${I}{overflow:hidden}\n `, document.head.appendChild(t);
|
|
336
336
|
}
|
|
337
337
|
this._executeMessage = this._executeMessage.bind(this);
|
|
338
338
|
let o = new r("website", window, null, this._executeMessage);
|
|
339
|
-
this.setMessageHandler(o), this._onResize = this._onResize.bind(this),
|
|
339
|
+
this.setMessageHandler(o), this._onResize = this._onResize.bind(this), m() && window.addEventListener("resize", this._onResize), this._container = t, this._initData = n, this._configuratorSettings = e;
|
|
340
340
|
let s = this._createIframe();
|
|
341
|
-
this._onUseFullPage = this._onUseFullPage.bind(this), this._onBackToWebsite = this._onBackToWebsite.bind(this), this._waitForIframe = a, this._container.appendChild(s), this._iframe = s, this.setupPlugins(i, this._iframe),
|
|
341
|
+
this._onUseFullPage = this._onUseFullPage.bind(this), this._onBackToWebsite = this._onBackToWebsite.bind(this), this._waitForIframe = a, this._container.appendChild(s), this._iframe = s, this.setupPlugins(i, this._iframe), L.set(t, !0);
|
|
342
342
|
}
|
|
343
343
|
teardown() {
|
|
344
|
-
this._container &&
|
|
344
|
+
this._container && L.delete(this._container);
|
|
345
345
|
let e = this._container.querySelector("iframe");
|
|
346
346
|
e && this._container.removeChild(e), window.removeEventListener("resize", this._onResize);
|
|
347
347
|
}
|
|
348
348
|
_createIframe() {
|
|
349
349
|
let e = document.createElement("iframe"), t = this._configuratorSettings?.url || "https://www.roomle.com/t/cp/";
|
|
350
|
-
return this._initData.useLocalRoomle && (t = location.href.replace("embedding.html", "")), location.href.includes("roomle.gitlab.io") && (t = location.href.replace("embedding.html", "index.html")), this._initData.overrideServerUrl && (t = this._initData.overrideServerUrl), e.src = t, e.classList.add(
|
|
350
|
+
return this._initData.useLocalRoomle && (t = location.href.replace("embedding.html", "")), location.href.includes("roomle.gitlab.io") && (t = location.href.replace("embedding.html", "index.html")), this._initData.overrideServerUrl && (t = this._initData.overrideServerUrl), e.src = t, e.classList.add(M), e.classList.add(N), e;
|
|
351
351
|
}
|
|
352
352
|
_onResize() {
|
|
353
|
-
|
|
353
|
+
k(this._iframe);
|
|
354
354
|
}
|
|
355
355
|
_onUseFullPage() {
|
|
356
|
-
this._iframe.classList.add(
|
|
356
|
+
this._iframe.classList.add(P), document.documentElement.classList.add(I), window.document.body.classList.add(I), m() && (k(this._iframe), this._iframe.classList.add(F));
|
|
357
357
|
}
|
|
358
358
|
_onBackToWebsite() {
|
|
359
|
-
this._iframe.classList.remove(
|
|
359
|
+
this._iframe.classList.remove(P), this._iframe.classList.remove(F), document.documentElement.classList.remove(I), window.document.body.classList.remove(I);
|
|
360
360
|
}
|
|
361
361
|
_executeMessage({ message: e, args: t }, n) {
|
|
362
|
-
if (n.source && n.source === this._iframe?.contentWindow) return e ===
|
|
363
|
-
this._messageHandler && this._messageHandler.sendMessage(
|
|
362
|
+
if (n.source && n.source === this._iframe?.contentWindow) return e === b.REQUEST_BOOT ? this._messageHandler ? (this._messageHandler.setOutgoingMessageBus(n.source), Promise.resolve({ result: this._initData })) : Promise.resolve({ error: "MessageHandler not set" }) : e === b.SETUP ? (this.handleSetup(t[0]), D(this.ui.callbacks, "onUseFullPage", this._onUseFullPage), D(this.ui.callbacks, "onBackToWebsite", this._onBackToWebsite), this._waitForIframe(this), setTimeout(() => {
|
|
363
|
+
this._messageHandler && this._messageHandler.sendMessage(b.WEBSITE_READY);
|
|
364
364
|
}, 0), Promise.resolve({ result: null })) : this.executeMessage({
|
|
365
365
|
message: e,
|
|
366
366
|
args: t
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
|
-
export {
|
|
370
|
+
export { b as HANDSHAKE_MESSAGES, E as INTERACTION_CONTAINER_SELECTOR, _ as NAMESPACE, v as NAMESPACE_SEPARATOR, y as SDK_CALLBACK, x as WELL_KNOWN_MESSAGES, R as default, T as getConfiguratorSettings, w as getMethodNames, C as isExposable };
|