@roomle/embedding-lib 7.0.0 → 7.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,82 +1,76 @@
1
- ## 7.0.0 (2026-08-11)
1
+ ## 7.1.0-alpha.2 (2026-08-18)
2
2
 
3
- * Merge branch 'feat/lazy-load-svgo-elevation-plan' of https://github.com/roomle-dev/roomle-ui into fe ([df61afb](https://github.com/roomle-dev/roomle-ui/commit/df61afb))
4
- * Merge branch 'master' into chore/allow-headless-plan-strings-and-xmls ([7ffa74e](https://github.com/roomle-dev/roomle-ui/commit/7ffa74e))
5
- * Merge branch 'master' into chore/allow-headless-plan-strings-and-xmls ([d293c00](https://github.com/roomle-dev/roomle-ui/commit/d293c00))
6
- * Merge branch 'master' into chore/allow-headless-plan-strings-and-xmls ([f7c7917](https://github.com/roomle-dev/roomle-ui/commit/f7c7917))
7
- * Merge branch 'master' into chore/removeDeprecatedUnusedInitdata ([53e8d1b](https://github.com/roomle-dev/roomle-ui/commit/53e8d1b))
8
- * Merge branch 'master' into feat/expor-file-names ([83b7d60](https://github.com/roomle-dev/roomle-ui/commit/83b7d60))
9
- * Merge branch 'master' into feat/expor-file-names ([fb3e3be](https://github.com/roomle-dev/roomle-ui/commit/fb3e3be))
10
- * Merge branch 'master' into feat/lazy-load-svgo-elevation-plan ([790686c](https://github.com/roomle-dev/roomle-ui/commit/790686c))
11
- * Merge branch 'master' into feat/lazy-load-svgo-elevation-plan ([dd0966a](https://github.com/roomle-dev/roomle-ui/commit/dd0966a))
12
- * Merge branch 'master' into feat/lazy-load-svgo-elevation-plan ([b636d88](https://github.com/roomle-dev/roomle-ui/commit/b636d88))
13
- * Merge branch 'master' into feat/make-luts-webgl-only ([a3dc37e](https://github.com/roomle-dev/roomle-ui/commit/a3dc37e))
14
- * Merge branch 'master' into feat/make-luts-webgl-only ([91a8aa4](https://github.com/roomle-dev/roomle-ui/commit/91a8aa4))
15
- * Merge branch 'master' into feat/webGpuFog ([da8cd2f](https://github.com/roomle-dev/roomle-ui/commit/da8cd2f))
16
- * Merge branch 'master' into feat/webGpuFog ([0e63587](https://github.com/roomle-dev/roomle-ui/commit/0e63587))
17
- * Merge branch 'master' into fix/2d-measurement-labels-master ([ec348ed](https://github.com/roomle-dev/roomle-ui/commit/ec348ed))
18
- * Merge branch 'master' into fix/e2e-timeout-issue ([0c3b245](https://github.com/roomle-dev/roomle-ui/commit/0c3b245))
19
- * Merge branch 'master' into fix/e2e-timeout-issue ([6426dad](https://github.com/roomle-dev/roomle-ui/commit/6426dad))
20
- * Merge branch 'master' into fix/fence-issues ([cd2a4d0](https://github.com/roomle-dev/roomle-ui/commit/cd2a4d0))
21
- * Merge branch 'master' into fix/fence-issues ([8541ff4](https://github.com/roomle-dev/roomle-ui/commit/8541ff4))
22
- * Merge branch 'master' into fix/fence-issues ([99fb861](https://github.com/roomle-dev/roomle-ui/commit/99fb861))
23
- * Merge branch 'master' into fix/fence-issues ([bdae0b8](https://github.com/roomle-dev/roomle-ui/commit/bdae0b8))
24
- * Merge branch 'master' into fix/fence-issues ([12e1286](https://github.com/roomle-dev/roomle-ui/commit/12e1286))
25
- * Merge pull request #2803 from roomle-dev/feat/webGpuFog ([c349dfd](https://github.com/roomle-dev/roomle-ui/commit/c349dfd)), closes [#2803](https://github.com/roomle-dev/roomle-ui/issues/2803)
26
- * Merge pull request #2825 from roomle-dev/fix/parseNumberInitDataAsNumber ([41f90eb](https://github.com/roomle-dev/roomle-ui/commit/41f90eb)), closes [#2825](https://github.com/roomle-dev/roomle-ui/issues/2825)
27
- * Merge pull request #2829 from roomle-dev/chore/removeDeprecatedUnusedInitdata ([37e8cfb](https://github.com/roomle-dev/roomle-ui/commit/37e8cfb)), closes [#2829](https://github.com/roomle-dev/roomle-ui/issues/2829)
28
- * 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)
29
- * Merge pull request #2835 from roomle-dev/feat/lazy-load-svgo-elevation-plan ([2f3e3f7](https://github.com/roomle-dev/roomle-ui/commit/2f3e3f7)), closes [#2835](https://github.com/roomle-dev/roomle-ui/issues/2835)
30
- * Merge pull request #2838 from roomle-dev/fix/2d-measurement-labels-master ([a5bbd87](https://github.com/roomle-dev/roomle-ui/commit/a5bbd87)), closes [#2838](https://github.com/roomle-dev/roomle-ui/issues/2838)
31
- * Merge pull request #2839 from roomle-dev/feat/make-luts-webgl-only ([9114549](https://github.com/roomle-dev/roomle-ui/commit/9114549)), closes [#2839](https://github.com/roomle-dev/roomle-ui/issues/2839)
32
- * Merge pull request #2841 from roomle-dev/feat/web-gpu-tone-mapping-settings ([c450ab4](https://github.com/roomle-dev/roomle-ui/commit/c450ab4)), closes [#2841](https://github.com/roomle-dev/roomle-ui/issues/2841)
33
- * Merge pull request #2842 from roomle-dev/chore/fix-vite8-peer-deps-RML-17471 ([a00b262](https://github.com/roomle-dev/roomle-ui/commit/a00b262)), closes [#2842](https://github.com/roomle-dev/roomle-ui/issues/2842)
34
- * Merge pull request #2843 from roomle-dev/fix/RML-17470-two-level-catalogue-dimensions-unit ([ae92fcf](https://github.com/roomle-dev/roomle-ui/commit/ae92fcf)), closes [#2843](https://github.com/roomle-dev/roomle-ui/issues/2843)
35
- * Merge pull request #2844 from roomle-dev/chore/allow-headless-plan-strings-and-xmls ([e8af29c](https://github.com/roomle-dev/roomle-ui/commit/e8af29c)), closes [#2844](https://github.com/roomle-dev/roomle-ui/issues/2844)
36
- * Merge pull request #2845 from roomle-dev/fix/e2e-timeout-issue ([7a8af18](https://github.com/roomle-dev/roomle-ui/commit/7a8af18)), closes [#2845](https://github.com/roomle-dev/roomle-ui/issues/2845)
37
- * Merge pull request #2846 from roomle-dev/chore/reintroduce-product-positions-ff ([e513614](https://github.com/roomle-dev/roomle-ui/commit/e513614)), closes [#2846](https://github.com/roomle-dev/roomle-ui/issues/2846)
38
- * Merge pull request #2848 from roomle-dev/chore/move-webGpuConfig-out-of-featureFlags ([d7131ec](https://github.com/roomle-dev/roomle-ui/commit/d7131ec)), closes [#2848](https://github.com/roomle-dev/roomle-ui/issues/2848)
39
- * Merge pull request #2850 from roomle-dev/feat/expor-file-names ([dc98619](https://github.com/roomle-dev/roomle-ui/commit/dc98619)), closes [#2850](https://github.com/roomle-dev/roomle-ui/issues/2850)
40
- * Merge pull request #2851 from roomle-dev/fix/strange-tool-boxes-layout ([cac7037](https://github.com/roomle-dev/roomle-ui/commit/cac7037)), closes [#2851](https://github.com/roomle-dev/roomle-ui/issues/2851)
41
- * Potential fix for pull request finding ([79ee8f2](https://github.com/roomle-dev/roomle-ui/commit/79ee8f2))
42
- * fix: actually parse init data number values as numbers not strings ([ad37612](https://github.com/roomle-dev/roomle-ui/commit/ad37612))
43
- * 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))
44
- * fix: port 2D measurement label fixes from SDK branch to master ([ed14c66](https://github.com/roomle-dev/roomle-ui/commit/ed14c66))
45
- * fix(minor): remove broken css target ([56352ec](https://github.com/roomle-dev/roomle-ui/commit/56352ec))
46
- * fix: remove invalid initdata field ([92da85c](https://github.com/roomle-dev/roomle-ui/commit/92da85c))
47
- * fix(planner): show loading cursor while a fence node drop is committing ([11d9d74](https://github.com/roomle-dev/roomle-ui/commit/11d9d74))
48
- * fix: skip measurement commit when value is unchanged (master) ([e5c46a5](https://github.com/roomle-dev/roomle-ui/commit/e5c46a5))
49
- * fix: timeout issue on e2e if rubens does not load ([5e96d45](https://github.com/roomle-dev/roomle-ui/commit/5e96d45))
50
- * fix: two level catalogue does not update to mm ([1b8aefd](https://github.com/roomle-dev/roomle-ui/commit/1b8aefd))
51
- * feat: add fog to webgpu ([e62c143](https://github.com/roomle-dev/roomle-ui/commit/e62c143))
52
- * feat: add optinonal filename to model exports ([2efd7a6](https://github.com/roomle-dev/roomle-ui/commit/2efd7a6))
53
- * feat: add webgpu tone mapping initdata settings ([625b84b](https://github.com/roomle-dev/roomle-ui/commit/625b84b))
54
- * feat: lazy-load svgo in elevation plan SVG export ([159ca02](https://github.com/roomle-dev/roomle-ui/commit/159ca02))
55
- * feat: make LUTs webgl renderer only ([fa64c0f](https://github.com/roomle-dev/roomle-ui/commit/fa64c0f))
56
- * chore: allow the headless-sdk to accept planXMLs and configurationStrings directly ([10da469](https://github.com/roomle-dev/roomle-ui/commit/10da469))
57
- * chore: cleanup ([1c29a60](https://github.com/roomle-dev/roomle-ui/commit/1c29a60))
58
- * chore: cleanup ([f3f1654](https://github.com/roomle-dev/roomle-ui/commit/f3f1654))
59
- * chore: dont use composable, store only ([6a6de70](https://github.com/roomle-dev/roomle-ui/commit/6a6de70))
60
- * chore: fix failing test cases ([8bd82ee](https://github.com/roomle-dev/roomle-ui/commit/8bd82ee))
61
- * chore: fix failing tests ([6d1bbca](https://github.com/roomle-dev/roomle-ui/commit/6d1bbca))
62
- * chore: fix Vite 8 peer dependency warnings on npm install ([f2ee069](https://github.com/roomle-dev/roomle-ui/commit/f2ee069))
63
- * chore(fix): formatting problems ([7ccf417](https://github.com/roomle-dev/roomle-ui/commit/7ccf417))
64
- * chore: lint ([c8c5e59](https://github.com/roomle-dev/roomle-ui/commit/c8c5e59))
65
- * chore: move webGpuConfig out of featureFlags ([ab570e5](https://github.com/roomle-dev/roomle-ui/commit/ab570e5))
66
- * chore: re-add e2e results from previous run ([d0be1c0](https://github.com/roomle-dev/roomle-ui/commit/d0be1c0))
67
- * chore: re-add e2e tests ([f59d578](https://github.com/roomle-dev/roomle-ui/commit/f59d578))
68
- * chore: regenerate package-lockl ([55d6a5e](https://github.com/roomle-dev/roomle-ui/commit/55d6a5e))
69
- * chore: reintroduce product positions behind initData ([cf5772f](https://github.com/roomle-dev/roomle-ui/commit/cf5772f))
70
- * chore: remove unnecessary ? from initdata fields with default value ([43acfd4](https://github.com/roomle-dev/roomle-ui/commit/43acfd4))
71
- * chore: update e2e test ([13c548a](https://github.com/roomle-dev/roomle-ui/commit/13c548a))
72
- * chore: update headless-sdk.md ([ea73d51](https://github.com/roomle-dev/roomle-ui/commit/ea73d51))
73
- * chore: use correct version and do some cleanup ([6e7224c](https://github.com/roomle-dev/roomle-ui/commit/6e7224c))
74
- * revert: drop skip-if-unchanged commit guard on master ([2dd0e29](https://github.com/roomle-dev/roomle-ui/commit/2dd0e29))
75
- * style: run prettier on sdk-connector-planner.spec.ts ([514e7e8](https://github.com/roomle-dev/roomle-ui/commit/514e7e8))
76
-
77
- ### BREAKING CHANGE
78
-
79
- * RoomleConfigurator/RoomlePlanner create2DElevationPlan
80
- and download2DElevationPlan now return Promises instead of sync values.
81
-
82
- Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
3
+ * Merge branch 'feat/move-2d-measurements-to-SDK-RML-17191' of https://github.com/roomle-dev/roomle-ui ([091e625](https://github.com/roomle-dev/roomle-ui/commit/091e625))
4
+ * Merge branch 'feat/move-2d-measurements-to-SDK-RML-17191' of https://github.com/roomle-dev/roomle-ui ([15d1e09](https://github.com/roomle-dev/roomle-ui/commit/15d1e09))
5
+ * Merge branch 'feat/move-2d-measurements-to-SDK-RML-17191' of https://github.com/roomle-dev/roomle-ui ([717f913](https://github.com/roomle-dev/roomle-ui/commit/717f913))
6
+ * Merge branch 'master' into chore/e2e-test-id-selectors-RML-17554 ([a4231db](https://github.com/roomle-dev/roomle-ui/commit/a4231db))
7
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK ([cee621e](https://github.com/roomle-dev/roomle-ui/commit/cee621e))
8
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK ([d26b87f](https://github.com/roomle-dev/roomle-ui/commit/d26b87f))
9
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([49a13fa](https://github.com/roomle-dev/roomle-ui/commit/49a13fa))
10
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([98b6e92](https://github.com/roomle-dev/roomle-ui/commit/98b6e92))
11
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([a865b01](https://github.com/roomle-dev/roomle-ui/commit/a865b01))
12
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([cd98c6f](https://github.com/roomle-dev/roomle-ui/commit/cd98c6f))
13
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([cb66cc6](https://github.com/roomle-dev/roomle-ui/commit/cb66cc6))
14
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([6876dad](https://github.com/roomle-dev/roomle-ui/commit/6876dad))
15
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([e0ba2ae](https://github.com/roomle-dev/roomle-ui/commit/e0ba2ae))
16
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([6a8ebaf](https://github.com/roomle-dev/roomle-ui/commit/6a8ebaf))
17
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([8cfa1f8](https://github.com/roomle-dev/roomle-ui/commit/8cfa1f8))
18
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([20c0447](https://github.com/roomle-dev/roomle-ui/commit/20c0447))
19
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([a9cdc20](https://github.com/roomle-dev/roomle-ui/commit/a9cdc20))
20
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([c7be5f0](https://github.com/roomle-dev/roomle-ui/commit/c7be5f0))
21
+ * Merge branch 'master' into feat/move-2d-measurements-to-SDK-RML-17191 ([1c684c2](https://github.com/roomle-dev/roomle-ui/commit/1c684c2))
22
+ * Merge branch 'master' into feat/threejs185 ([00a06dd](https://github.com/roomle-dev/roomle-ui/commit/00a06dd))
23
+ * Merge branch 'master' into feat/threejs185 ([5a62c12](https://github.com/roomle-dev/roomle-ui/commit/5a62c12))
24
+ * Merge branch 'master' into feat/threejs185 ([71956ff](https://github.com/roomle-dev/roomle-ui/commit/71956ff))
25
+ * Merge branch 'master' into fix/preserve-article-info-after-group-adjust-PBI-371339 ([f12f648](https://github.com/roomle-dev/roomle-ui/commit/f12f648))
26
+ * Merge branch 'master' into fix/preserve-article-info-after-group-adjust-PBI-371339 ([2f5369c](https://github.com/roomle-dev/roomle-ui/commit/2f5369c))
27
+ * Merge branch 'master' into fix/preserve-article-info-after-group-adjust-PBI-371339 ([20f5dc0](https://github.com/roomle-dev/roomle-ui/commit/20f5dc0))
28
+ * Merge pull request #2840 from roomle-dev/feat/move-2d-measurements-to-SDK-RML-17191 ([7a2422b](https://github.com/roomle-dev/roomle-ui/commit/7a2422b)), closes [#2840](https://github.com/roomle-dev/roomle-ui/issues/2840)
29
+ * Merge pull request #2856 from roomle-dev/feat/threejs185 ([936470c](https://github.com/roomle-dev/roomle-ui/commit/936470c)), closes [#2856](https://github.com/roomle-dev/roomle-ui/issues/2856)
30
+ * Merge pull request #2872 from roomle-dev/chore/e2e-test-id-selectors-RML-17554 ([738a62c](https://github.com/roomle-dev/roomle-ui/commit/738a62c)), closes [#2872](https://github.com/roomle-dev/roomle-ui/issues/2872)
31
+ * Merge pull request #2873 from roomle-dev/fix/preserve-article-info-after-group-adjust-PBI-371339 ([23f20ab](https://github.com/roomle-dev/roomle-ui/commit/23f20ab)), closes [#2873](https://github.com/roomle-dev/roomle-ui/issues/2873)
32
+ * Merge pull request #2874 from roomle-dev/fix/top-bar-buttons-still-shown-in-fullscreen-on-mobile-RML ([7a53f6b](https://github.com/roomle-dev/roomle-ui/commit/7a53f6b)), closes [#2874](https://github.com/roomle-dev/roomle-ui/issues/2874)
33
+ * Merge pull request #2878 from roomle-dev/upgraded-by-ci/core-2.81.1-alpha.1 ([8eb628c](https://github.com/roomle-dev/roomle-ui/commit/8eb628c)), closes [#2878](https://github.com/roomle-dev/roomle-ui/issues/2878)
34
+ * Merge pull request #2879 from roomle-dev/upgraded-by-ci/core-2.82.0-alpha.1 ([d9de845](https://github.com/roomle-dev/roomle-ui/commit/d9de845)), closes [#2879](https://github.com/roomle-dev/roomle-ui/issues/2879)
35
+ * Potential fix for pull request finding ([585d71b](https://github.com/roomle-dev/roomle-ui/commit/585d71b))
36
+ * fix(homag-intelligence): added comment why article info is used ([168b626](https://github.com/roomle-dev/roomle-ui/commit/168b626))
37
+ * fix(planner): address 2d measurements review feedback ([11828a7](https://github.com/roomle-dev/roomle-ui/commit/11828a7))
38
+ * fix(homag-intelligence): clarify comment about articleInfo fallback ([f3d274f](https://github.com/roomle-dev/roomle-ui/commit/f3d274f))
39
+ * fix: direction icons rendering behind neighboring wall labels ([29d1d2c](https://github.com/roomle-dev/roomle-ui/commit/29d1d2c))
40
+ * fix(ar): enable iOS AR Quick Look tests in Chromium environments ([c891f66](https://github.com/roomle-dev/roomle-ui/commit/c891f66))
41
+ * fix: GPUextent copying, missing normal map in gltf exporter ([e4d24a6](https://github.com/roomle-dev/roomle-ui/commit/e4d24a6))
42
+ * fix(configurator): hide parameter group pills in mobile fullscreen ([d5a2b08](https://github.com/roomle-dev/roomle-ui/commit/d5a2b08))
43
+ * fix: make the variants assertions actually assert ([67b1646](https://github.com/roomle-dev/roomle-ui/commit/67b1646))
44
+ * fix: missing variables ([049d5d2](https://github.com/roomle-dev/roomle-ui/commit/049d5d2))
45
+ * fix(homag-intelligence): preserve article info on root modules after group adjust ([66fa6da](https://github.com/roomle-dev/roomle-ui/commit/66fa6da))
46
+ * fix: properly delete old dracoloader stuff ([3e65c07](https://github.com/roomle-dev/roomle-ui/commit/3e65c07))
47
+ * fix: restore 2D wall measurement labels during active drawing ([ddba1bc](https://github.com/roomle-dev/roomle-ui/commit/ddba1bc))
48
+ * fix: revert removing draco loader lib files monkey patch ([f0c4847](https://github.com/roomle-dev/roomle-ui/commit/f0c4847))
49
+ * fix: show all 2D measurement labels during drawing and dragging ([2f7af55](https://github.com/roomle-dev/roomle-ui/commit/2f7af55))
50
+ * fix: skip measurement commit callback when value is unchanged ([846c8cf](https://github.com/roomle-dev/roomle-ui/commit/846c8cf))
51
+ * docs: explain the two selectors that are not self-evident ([ec0069f](https://github.com/roomle-dev/roomle-ui/commit/ec0069f))
52
+ * refactor: drop the migration commentary from the e2e selectors ([3463a55](https://github.com/roomle-dev/roomle-ui/commit/3463a55))
53
+ * feat: add test ids for the elements still selected by text ([3670f5f](https://github.com/roomle-dev/roomle-ui/commit/3670f5f))
54
+ * feat: move all 2d measurements to SDK ([621902b](https://github.com/roomle-dev/roomle-ui/commit/621902b))
55
+ * feat: threejs upgrade r185 ([6966b62](https://github.com/roomle-dev/roomle-ui/commit/6966b62))
56
+ * feat(core): upgrade to version 2.81.1-alpha.1 ([f314e24](https://github.com/roomle-dev/roomle-ui/commit/f314e24))
57
+ * feat(core): upgrade to version 2.82.0-alpha.1 ([5cbd1c0](https://github.com/roomle-dev/roomle-ui/commit/5cbd1c0))
58
+ * test(homag-intelligence): cover articleInfo priority in group adjust ([f76613b](https://github.com/roomle-dev/roomle-ui/commit/f76613b))
59
+ * test(ar): fix OpenARView unit tests by disabling isTestEnv by default ([ffd113a](https://github.com/roomle-dev/roomle-ui/commit/ffd113a))
60
+ * test: replace the remaining e2e text selectors with test ids ([34f46a6](https://github.com/roomle-dev/roomle-ui/commit/34f46a6))
61
+ * chore: add missing bubbles background color ([b662083](https://github.com/roomle-dev/roomle-ui/commit/b662083))
62
+ * chore: apply formatting fixes ([bfab67e](https://github.com/roomle-dev/roomle-ui/commit/bfab67e))
63
+ * chore(snapshots): auto-update headless baselines [skip ci] ([c7a2f61](https://github.com/roomle-dev/roomle-ui/commit/c7a2f61))
64
+ * chore: code cleaning ([786bbb2](https://github.com/roomle-dev/roomle-ui/commit/786bbb2))
65
+ * chore: code improvements and remove dead coding ([8743528](https://github.com/roomle-dev/roomle-ui/commit/8743528))
66
+ * chore(fix): draw from wall node hide the whole 2d measurements ([bf8dd36](https://github.com/roomle-dev/roomle-ui/commit/bf8dd36))
67
+ * chore: fix direction icon styles ([1f73287](https://github.com/roomle-dev/roomle-ui/commit/1f73287))
68
+ * chore: fix formatting problem ([f09dc55](https://github.com/roomle-dev/roomle-ui/commit/f09dc55))
69
+ * chore: fix measurements not shown in 2d snapshot after changes ([daa3e39](https://github.com/roomle-dev/roomle-ui/commit/daa3e39))
70
+ * chore: fixed failed tests ([1c4b94e](https://github.com/roomle-dev/roomle-ui/commit/1c4b94e))
71
+ * chore: merge origin/feat/move-2d-measurements-to-SDK-RML-17191 ([0ede5ba](https://github.com/roomle-dev/roomle-ui/commit/0ede5ba))
72
+ * chore: render 2d measurements on load plan completely ([10af627](https://github.com/roomle-dev/roomle-ui/commit/10af627))
73
+ * chore: solve copilot reviewing open discussions ([21e501c](https://github.com/roomle-dev/roomle-ui/commit/21e501c))
74
+ * style: format files with prettier ([e0d5ac3](https://github.com/roomle-dev/roomle-ui/commit/e0d5ac3))
75
+ * style(planner): format measurement review fixes ([d75ba1b](https://github.com/roomle-dev/roomle-ui/commit/d75ba1b))
76
+ * style: unify style as before refactoring the 2d measurements ([27666d3](https://github.com/roomle-dev/roomle-ui/commit/27666d3))
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-B42WpY_e.mjs";
1
+ import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-BCnrHxxt.mjs";
2
2
  import "./embedding-plugins.js";
3
3
  //#region packages/common/src/utils/drag.ts
4
4
  var o = (e, t, n = 0, r = 0) => {
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-DXVxlotA.mjs";
1
+ import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-DDGopCLr.mjs";
2
2
  import "./embedding-plugins.min.js";
3
3
  var o = (e, t, n = 0, r = 0) => {
4
4
  let i = t.x + t.width + n, a = t.x - n, o = t.y + t.height + r, s = t.y - r, { x: c, y: l } = e;
@@ -35,7 +35,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
35
35
  }
36
36
  async init() {
37
37
  if (await super.init(), this._mode === "website") try {
38
- let { DragInFromWebsiteStrategy: e } = await import("./from-website-il2_I_s5.mjs");
38
+ let { DragInFromWebsiteStrategy: e } = await import("./from-website-D07qrmeq.mjs");
39
39
  this._strategy = new e(this._instance, this._mainDomElement, {
40
40
  settings: this.options,
41
41
  mode: "website"
@@ -44,7 +44,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
44
44
  throw console.error("Could not load Dragin strategy \"FromWebsite\""), e;
45
45
  }
46
46
  else if (this._mode === "custom-view") try {
47
- let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-DgMx7_5-.mjs");
47
+ let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-BxJkoaTB.mjs");
48
48
  this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
49
49
  } catch (e) {
50
50
  throw console.error("Could not load Dragin strategy \"FromCustomView\""), e;
@@ -28,7 +28,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
28
28
  }
29
29
  async init() {
30
30
  if (await super.init(), this._mode === "website") try {
31
- let { DragInFromWebsiteStrategy: e } = await import("./from-website-BVznMwIE.mjs");
31
+ let { DragInFromWebsiteStrategy: e } = await import("./from-website-W-UZ3lee.mjs");
32
32
  this._strategy = new e(this._instance, this._mainDomElement, {
33
33
  settings: this.options,
34
34
  mode: "website"
@@ -39,7 +39,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
39
39
  else {
40
40
  if (this._mode !== "custom-view") throw Error("Unsupported mode");
41
41
  try {
42
- let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-CNctfhuo.mjs");
42
+ let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-CbO74qvE.mjs");
43
43
  this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
44
44
  } catch (e) {
45
45
  throw e;
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-B42WpY_e.mjs";
1
+ import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-BCnrHxxt.mjs";
2
2
  export { l as DragIn, a as RML_DRAG_GHOST_FADE_IN, e as RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS, s as RML_DRAG_GHOST_FADE_OUT, c as RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS, t as RML_DRAG_IN_DRAG_ELEMENT_ID, u as RML_DRAG_IN_FALLBACK_GHOST_HEIGHT, n as RML_DRAG_IN_FALLBACK_GHOST_URL, r as RML_DRAG_IN_FALLBACK_GHOST_WIDTH, o as RML_DRAG_IN_STYLES_ID, i as TARGET_OPACITY };
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-DXVxlotA.mjs";
1
+ import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-DDGopCLr.mjs";
2
2
  export { l as DragIn, a as RML_DRAG_GHOST_FADE_IN, e as RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS, s as RML_DRAG_GHOST_FADE_OUT, c as RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS, t as RML_DRAG_IN_DRAG_ELEMENT_ID, u as RML_DRAG_IN_FALLBACK_GHOST_HEIGHT, n as RML_DRAG_IN_FALLBACK_GHOST_URL, r as RML_DRAG_IN_FALLBACK_GHOST_WIDTH, o as RML_DRAG_IN_STYLES_ID, i as TARGET_OPACITY };
@@ -1,13 +1,13 @@
1
- import { a as e, n as t, o as n } from "./utils-BnWKaFPc.mjs";
2
- import { d as r } from "./drag-in-B42WpY_e.mjs";
3
- import { t as i } from "./drag-ghost-BFAJCWau.mjs";
4
- var a = (e, t = 0) => n(e) ? {
5
- clientX: e.touches[t].clientX,
6
- clientY: e.touches[t].clientY
1
+ import { a as e, c as t, n } from "./utils-i2eOrtnv.mjs";
2
+ import { d as r } from "./drag-in-BCnrHxxt.mjs";
3
+ import { t as i } from "./drag-ghost-DqF-SGUQ.mjs";
4
+ var a = (e, n = 0) => t(e) ? {
5
+ clientX: e.touches[n].clientX,
6
+ clientY: e.touches[n].clientY
7
7
  } : {
8
8
  clientX: e.clientX,
9
9
  clientY: e.clientY
10
- }, o = (e) => e && n(e) ? e.touches.length > 0 : !0, s = class {
10
+ }, o = (e) => e && t(e) ? e.touches.length > 0 : !0, s = class {
11
11
  _touchDragTimeOut;
12
12
  _onTouchDragStart;
13
13
  _payload = null;
@@ -19,7 +19,7 @@ var a = (e, t = 0) => n(e) ? {
19
19
  this._payload = e, this._onTouchDragStart = t, this._delay = typeof n.delay == "number" ? n.delay : 500, this._epsilon = typeof n.epsilon == "number" ? n.epsilon : 10;
20
20
  }
21
21
  onStart(e) {
22
- o(e) && (this._touchDragTimeOut ||= (this._firstTouch = a(e, n(e) ? e.touches.length - 1 : 0), setTimeout(() => {
22
+ o(e) && (this._touchDragTimeOut ||= (this._firstTouch = a(e, t(e) ? e.touches.length - 1 : 0), setTimeout(() => {
23
23
  this._clearTimeout(), this._lastTouch ||= a(e), this._checkXDistance(e)();
24
24
  }, this._delay)));
25
25
  }
@@ -70,12 +70,12 @@ var a = (e, t = 0) => n(e) ? {
70
70
  _reset() {
71
71
  this._startX = 0, this._startY = 0, this._lastX = 0, this._lastY = 0, this._isWaiting = !1;
72
72
  }
73
- }, f = "data-rml-old-draggable", p = void 0, m = (e, t) => {
74
- let r = n(e), i = {
73
+ }, f = "data-rml-old-draggable", p = void 0, m = (e, n) => {
74
+ let r = t(e), i = {
75
75
  delay: r ? 500 : 100,
76
76
  epsilon: r ? 10 : 15
77
77
  };
78
- if (!t) return i;
78
+ if (!n) return i;
79
79
  if (!r && !(e instanceof MouseEvent)) return console.warn("Unsupported event! It is not TouchEvent and also not MouseEvent"), i;
80
80
  let { delayKey: a, epsilonKey: o } = r ? {
81
81
  delayKey: "touchDragDelay",
@@ -84,7 +84,7 @@ var a = (e, t = 0) => n(e) ? {
84
84
  delayKey: "customDragDelay",
85
85
  epsilonKey: "customDragEpsilon"
86
86
  };
87
- return typeof t[a] == "number" && (i.delay = t.touchDragDelay), typeof t[o] == "number" && (i.epsilon = t.touchDragEpsilon), i;
87
+ return typeof n[a] == "number" && (i.delay = n.touchDragDelay), typeof n[o] == "number" && (i.epsilon = n.touchDragEpsilon), i;
88
88
  }, h = (e) => {
89
89
  let t = "", n = 112, i = 112;
90
90
  if (!e) return {
@@ -108,39 +108,57 @@ var a = (e, t = 0) => n(e) ? {
108
108
  _mainDomElement;
109
109
  _viewName;
110
110
  _currentCustomDrag = null;
111
- _currentBb = null;
112
111
  _startTarget = null;
113
112
  _dragGhost = null;
114
113
  _onBeforeUpdateDrag = () => ({});
115
114
  isDragging = !1;
116
115
  _hasEnteredIframe = !1;
117
116
  _pendingDragIn = null;
118
- _canvasBb = null;
119
- _overlayBb = null;
117
+ _phase = { kind: "idle" };
120
118
  _dragGeneration = 0;
121
- _interactionContainerBb = null;
119
+ _parentWithDragLeave = null;
120
+ _parentDragLeave = () => {
121
+ this._phase.kind !== "ready" || !this._hasEnteredIframe || (this._instance.cancelDragIn(), this._hasEnteredIframe = !1);
122
+ };
122
123
  constructor(e, t, n, r) {
123
- this._instance = e, this._options = n || {}, this._viewName = r, this._mainDomElement = t, this._mainDomElement.parentElement?.addEventListener("dragleave", () => {
124
- this._instance.cancelDragIn();
125
- });
124
+ this._instance = e, this._options = n || {}, this._viewName = r, this._mainDomElement = t, this._parentWithDragLeave = this._mainDomElement.parentElement, this._parentWithDragLeave?.addEventListener("dragleave", this._parentDragLeave);
126
125
  }
127
126
  beforeUpdateGhost(e) {
128
127
  this._onBeforeUpdateDrag = e;
129
128
  }
130
129
  async _dragStart(e, t, n = "rml_id") {
131
130
  let r = ++this._dragGeneration;
132
- if (this._startTarget && (this._startTarget.style.pointerEvents = "none", this._startTarget.style.userSelect = "none", this._startTarget.setAttribute(f, this._startTarget.draggable.toString()), this._startTarget.draggable = !1, this._startTarget.removeEventListener("dragstart", l), this._startTarget.addEventListener("dragstart", l)), this._startTarget) {
131
+ if (this._phase = { kind: "starting" }, this._startTarget && (this._startTarget.style.pointerEvents = "none", this._startTarget.style.userSelect = "none", this._startTarget.setAttribute(f, this._startTarget.draggable.toString()), this._startTarget.draggable = !1, this._startTarget.removeEventListener("dragstart", l), this._startTarget.addEventListener("dragstart", l)), this._startTarget) {
133
132
  let e = this._startTarget.getBoundingClientRect(), t = this._startTarget.cloneNode(!0);
134
133
  t.style.width = `${e.width}px`, t.style.height = `${e.height}px`, this._dragGhost = new i(t);
135
134
  } else this._dragGhost = new i();
136
- this._currentBb = await this._instance.getBoundingClientRect(c(this._viewName)), this._canvasBb = await this._instance.getBoundingClientRect("canvas"), this._overlayBb = (await this._instance.getDrawerBoundingClientRect()).final, this._interactionContainerBb = await this._instance.getBoundingClientRect(".interaction-container"), r === this._dragGeneration && (this._pendingDragIn = {
137
- id: e,
138
- type: n
139
- }, this._hasEnteredIframe = !1, this.isDragging = !0);
140
- }
141
- _dragUpdate(n) {
142
- document.body.focus(), this._currentCustomDrag && this._currentCustomDrag.onMove(n);
143
- let { clientX: r, clientY: i } = t(n);
135
+ let a = await this._instance.getBoundingClientRect(c(this._viewName)), o = await this._instance.getBoundingClientRect("canvas"), s = (await this._instance.getDrawerBoundingClientRect()).final, u = await this._instance.getBoundingClientRect(".interaction-container");
136
+ if (r === this._dragGeneration) {
137
+ if (!a) {
138
+ let e = `could not read the bounding rect of custom view "${this._viewName}"`;
139
+ this._phase = {
140
+ kind: "failed",
141
+ reason: e
142
+ }, console.warn(`Drag-in not started: ${e}`);
143
+ return;
144
+ }
145
+ this._phase = {
146
+ kind: "ready",
147
+ bounds: {
148
+ view: a,
149
+ canvas: o,
150
+ overlay: s,
151
+ interactionContainer: u
152
+ }
153
+ }, this._pendingDragIn = {
154
+ id: e,
155
+ type: n
156
+ }, this._hasEnteredIframe = !1, this.isDragging = !0;
157
+ }
158
+ }
159
+ _dragUpdate(t) {
160
+ document.body.focus(), this._currentCustomDrag && this._currentCustomDrag.onMove(t);
161
+ let { clientX: r, clientY: i } = n(t);
144
162
  if (this._dragGhost) {
145
163
  let { width: e, height: t } = this._mainDomElement.getBoundingClientRect();
146
164
  this._dragGhost.updateDragGhost(r, i, { ghost: { visibleIn: {
@@ -150,35 +168,35 @@ var a = (e, t = 0) => n(e) ? {
150
168
  height: t
151
169
  } } });
152
170
  }
153
- if (!this._currentBb || !this.isDragging) return;
154
- let a = this._currentBb.x + r, o = this._currentBb.y + i, s = e(a, o, this._canvasBb, this._overlayBb, this._interactionContainerBb);
155
- if (s && !this._hasEnteredIframe && this._pendingDragIn && (this._instance.dragInObject(this._pendingDragIn.id, a, o, this._pendingDragIn.type), this._hasEnteredIframe = !0), !s && this._hasEnteredIframe && (this._instance.cancelDragIn(), this._hasEnteredIframe = !1), !this._hasEnteredIframe) return;
156
- let { url: c, width: l, height: u } = h(this._startTarget), d = this._options || {}, f = {
171
+ if (this._phase.kind !== "ready") return;
172
+ let { view: a, canvas: o, overlay: s, interactionContainer: c } = this._phase.bounds, l = a.x + r, u = a.y + i, d = e(l, u, o, s, c);
173
+ if (d && !this._hasEnteredIframe && this._pendingDragIn && (this._instance.dragInObject(this._pendingDragIn.id, l, u, this._pendingDragIn.type), this._hasEnteredIframe = !0), !d && this._hasEnteredIframe && (this._instance.cancelDragIn(), this._hasEnteredIframe = !1), !this._hasEnteredIframe) return;
174
+ let { url: f, width: p, height: m } = h(this._startTarget), g = this._options || {}, _ = {
157
175
  ghost: {
158
176
  visibleIn: {
159
- x: this._currentBb.x - (d.dragInOverlapX || 0),
160
- y: this._currentBb.y + (d.dragInOverlapY || 0),
161
- width: this._currentBb.width + (d.dragInOverlapX || 0),
162
- height: this._currentBb.height + (d.dragInOverlapY || 0)
177
+ x: a.x - (g.dragInOverlapX || 0),
178
+ y: a.y + (g.dragInOverlapY || 0),
179
+ width: a.width + (g.dragInOverlapX || 0),
180
+ height: a.height + (g.dragInOverlapY || 0)
163
181
  },
164
- url: c,
165
- width: l,
166
- height: u
182
+ url: f,
183
+ width: p,
184
+ height: m
167
185
  },
168
186
  mode: "custom-view"
169
- }, { x: p, y: m, options: g } = this._onBeforeUpdateDrag(a, o, f), _ = typeof p == "number" ? p : a, v = typeof m == "number" ? m : o, y = g || f;
170
- this._instance.updateDrag(_, v, y);
187
+ }, { x: v, y, options: b } = this._onBeforeUpdateDrag(l, u, _), x = typeof v == "number" ? v : l, S = typeof y == "number" ? y : u, C = b || _;
188
+ this._instance.updateDrag(x, S, C);
171
189
  }
172
190
  _dragEnd() {
173
- this._currentCustomDrag && this._currentCustomDrag.onEnd(), this._currentCustomDrag = null, this.isDragging = !1, this._currentBb = null, this._canvasBb = null, this._overlayBb = null, this._interactionContainerBb = null, this._resetStartTarget(), this._instance.enableEvents(), this._dragGhost &&= (this._dragGhost.removeDragGhost(), null), this._hasEnteredIframe && this._instance.dragInObjectEnd(), this._hasEnteredIframe = !1, this._pendingDragIn = null;
191
+ this._dragGeneration++, this._currentCustomDrag && this._currentCustomDrag.onEnd(), this._currentCustomDrag = null, this.isDragging = !1, this._phase = { kind: "idle" }, this._resetStartTarget(), this._instance.enableEvents(), this._dragGhost &&= (this._dragGhost.removeDragGhost(), null), this._hasEnteredIframe && this._instance.dragInObjectEnd(), this._hasEnteredIframe = !1, this._pendingDragIn = null;
174
192
  }
175
- dragStart(e, t, r) {
176
- this._instance.disableEvents(), this._startTarget = t.target, this._currentCustomDrag = n(t) ? new s(p, { onTouchDragStart: (t, n) => {
193
+ dragStart(e, n, r) {
194
+ this._instance.disableEvents(), this._startTarget = n.target, this._currentCustomDrag = t(n) ? new s(p, { onTouchDragStart: (t, n) => {
177
195
  this._dragStart(e, n, r);
178
196
  } }, {
179
- ...m(t, this._options),
197
+ ...m(n, this._options),
180
198
  delay: 0
181
- }) : new d({ onCustomDragStart: (t) => this._dragStart(e, t, r) }, m(t, this._options)), this._currentCustomDrag.onStart(t);
199
+ }) : new d({ onCustomDragStart: (t) => this._dragStart(e, t, r) }, m(n, this._options)), this._currentCustomDrag.onStart(n);
182
200
  }
183
201
  dragEnd() {
184
202
  this._dragEnd();
@@ -195,12 +213,14 @@ var a = (e, t = 0) => n(e) ? {
195
213
  touchEnd() {
196
214
  this.dragEnd();
197
215
  }
198
- dispose() {}
216
+ dispose() {
217
+ this._parentWithDragLeave?.removeEventListener("dragleave", this._parentDragLeave), this._parentWithDragLeave = null;
218
+ }
199
219
  _resetStartTarget() {
200
220
  this._startTarget && (this._startTarget.style.pointerEvents = "", this._startTarget.style.userSelect = "", this._startTarget.draggable = this._startTarget.getAttribute(f) === "true", this._startTarget.removeAttribute(f), this._startTarget.removeEventListener("dragstart", l));
201
221
  }
202
222
  releaseInput(e) {
203
- this._dragGeneration++, this._dragEnd();
223
+ this._dragEnd();
204
224
  }
205
225
  };
206
226
  //#endregion