@roomle/embedding-lib 6.6.0-alpha.1 → 6.6.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.
Files changed (38) hide show
  1. package/browser-C_Dfiou7.mjs +18 -0
  2. package/browser-DRgK3Fk8.mjs +16 -0
  3. package/comlink-BipJ8Ikr.mjs +237 -0
  4. package/comlink-Dds_bpug.mjs +220 -0
  5. package/docs/md/web/embedding/CHANGELOG.md +32 -186
  6. package/drag-ghost-BGZWgVa7.mjs +60 -0
  7. package/drag-ghost-DGgvJ4Lm.mjs +65 -0
  8. package/drag-in-AFSAsnAN.mjs +102 -0
  9. package/drag-in-BwqVwCBp.mjs +96 -0
  10. package/embedding-plugins.js +2 -14
  11. package/embedding-plugins.min.js +2 -1
  12. package/from-custom-view-B-eXMXF1.mjs +207 -0
  13. package/from-custom-view-tZcYF-zX.mjs +206 -0
  14. package/from-website--UCl1aQs.mjs +113 -0
  15. package/from-website-BesXdvcV.mjs +118 -0
  16. package/hi.js +72 -119
  17. package/hi.min.js +71 -1
  18. package/package.json +1 -1
  19. package/rolldown-runtime-C-QNzSnW.mjs +11 -0
  20. package/rolldown-runtime-C017PlDO.mjs +9 -0
  21. package/roomle-embedding-lib.js +394 -583
  22. package/roomle-embedding-lib.min.js +365 -1
  23. package/utils-BnWKaFPc.mjs +126 -0
  24. package/utils-DfC2ZLUc.mjs +118 -0
  25. package/browser-BhHw2H1M.mjs +0 -1
  26. package/browser-CUgD7zyH.mjs +0 -21
  27. package/comlink-BAiXCcU9.mjs +0 -258
  28. package/comlink-CmT64Qi3.mjs +0 -1
  29. package/drag-ghost-B7UAYefM.mjs +0 -1
  30. package/drag-ghost-DHrf_Evu.mjs +0 -81
  31. package/embedding-plugins-DLVs7ER4.mjs +0 -1
  32. package/embedding-plugins-DqMSzAJe.mjs +0 -140
  33. package/from-custom-view-CaDOooe4.mjs +0 -1
  34. package/from-custom-view-T67aFIDR.mjs +0 -249
  35. package/from-website-Bvd5Pi0i.mjs +0 -134
  36. package/from-website-nKwD78_u.mjs +0 -1
  37. package/utils-BqTPLNLs.mjs +0 -1
  38. package/utils-Dav4kGNW.mjs +0 -150
@@ -1,187 +1,33 @@
1
- ## 6.6.0-alpha.1 (2026-04-01)
1
+ ## 6.6.0-alpha.2 (2026-04-02)
2
2
 
3
- * Initial plan ([c221a59](https://github.com/roomle-dev/roomle-ui/commit/c221a59))
4
- * Initial plan ([3be9f24](https://github.com/roomle-dev/roomle-ui/commit/3be9f24))
5
- * Initial plan ([3c0082b](https://github.com/roomle-dev/roomle-ui/commit/3c0082b))
6
- * Merge branch 'master' into chore/remove-interior-lights-feature-flag ([6f2af50](https://github.com/roomle-dev/roomle-ui/commit/6f2af50))
7
- * Merge branch 'master' into ci/update-github-actions ([3554c89](https://github.com/roomle-dev/roomle-ui/commit/3554c89))
8
- * Merge branch 'master' into copilot/strict-null-checks-phase-3b-rapi-access ([3127c9b](https://github.com/roomle-dev/roomle-ui/commit/3127c9b))
9
- * Merge branch 'master' into copilot/strict-null-checks-phase-4 ([17e4b52](https://github.com/roomle-dev/roomle-ui/commit/17e4b52))
10
- * Merge branch 'master' into copilot/upgrade-web-sdk-to-strict-null-checks ([f6f18db](https://github.com/roomle-dev/roomle-ui/commit/f6f18db))
11
- * Merge branch 'master' into copilot/upgrade-web-sdk-to-strict-null-checks ([f7227b4](https://github.com/roomle-dev/roomle-ui/commit/f7227b4))
12
- * Merge branch 'master' into copilot/upgrade-web-sdk-typescript-strict-null-checks ([a1e1db9](https://github.com/roomle-dev/roomle-ui/commit/a1e1db9))
13
- * Merge branch 'master' into feat(core)/upgrade-to-version-2.73.0-alpha.9 ([0b8df89](https://github.com/roomle-dev/roomle-ui/commit/0b8df89))
14
- * Merge branch 'master' into feat/new-measurements ([97a9908](https://github.com/roomle-dev/roomle-ui/commit/97a9908))
15
- * Merge branch 'master' into feat/new-measurements ([ce88e77](https://github.com/roomle-dev/roomle-ui/commit/ce88e77))
16
- * Merge branch 'master' into feat/new-measurements ([b5f3d86](https://github.com/roomle-dev/roomle-ui/commit/b5f3d86))
17
- * Merge branch 'master' into feat/threejs183 ([18f9fcc](https://github.com/roomle-dev/roomle-ui/commit/18f9fcc))
18
- * Merge branch 'master' into feat/threejs183 ([48f5b55](https://github.com/roomle-dev/roomle-ui/commit/48f5b55))
19
- * Merge branch 'master' into feat/types-qa-known-breaks-allowlist-RML-16355 ([8d7ab5e](https://github.com/roomle-dev/roomle-ui/commit/8d7ab5e))
20
- * Merge branch 'master' into feat/types-qa-known-breaks-allowlist-RML-16355 ([63b34f7](https://github.com/roomle-dev/roomle-ui/commit/63b34f7))
21
- * Merge branch 'master' into feat/types-qa-known-breaks-allowlist-RML-16355 ([8cd1f7d](https://github.com/roomle-dev/roomle-ui/commit/8cd1f7d))
22
- * Merge branch 'master' into feat/types-qa-known-breaks-allowlist-RML-16355 ([28ad8a7](https://github.com/roomle-dev/roomle-ui/commit/28ad8a7))
23
- * Merge branch 'master' into fix/catalogRootTags-url-order-sort-RML-16333 ([66bbc34](https://github.com/roomle-dev/roomle-ui/commit/66bbc34))
24
- * Merge branch 'master' into fix/catalogRootTags-url-order-sort-RML-16333 ([adff8ec](https://github.com/roomle-dev/roomle-ui/commit/adff8ec))
25
- * Merge branch 'master' into fix/catalogRootTags-url-order-sort-RML-16333 ([ec2f0af](https://github.com/roomle-dev/roomle-ui/commit/ec2f0af))
26
- * Merge branch 'master' into fix/console-error ([8aa3851](https://github.com/roomle-dev/roomle-ui/commit/8aa3851))
27
- * Merge branch 'master' into fix/console-error ([b1f4779](https://github.com/roomle-dev/roomle-ui/commit/b1f4779))
28
- * Merge branch 'master' into fix/element-preview-mobile-overflow-RML-16256 ([abf8736](https://github.com/roomle-dev/roomle-ui/commit/abf8736))
29
- * Merge branch 'master' into fix/element-preview-mobile-overflow-RML-16256 ([ca211fa](https://github.com/roomle-dev/roomle-ui/commit/ca211fa))
30
- * Merge branch 'master' into fix/merge-undo-redo ([2817a1f](https://github.com/roomle-dev/roomle-ui/commit/2817a1f))
31
- * Merge branch 'master' into fix/Parametergroup-problem-RML-16304 ([9d9b462](https://github.com/roomle-dev/roomle-ui/commit/9d9b462))
32
- * Merge branch 'master' into fix/scrolling-chain-RML-16303 ([632acfa](https://github.com/roomle-dev/roomle-ui/commit/632acfa))
33
- * Merge branch 'master' into fix/sort-for-level1-RML-16400 ([ef9a540](https://github.com/roomle-dev/roomle-ui/commit/ef9a540))
34
- * Merge branch 'master' into fix/undo-redo ([41224ee](https://github.com/roomle-dev/roomle-ui/commit/41224ee))
35
- * Merge branch 'master' into fix/wrong-parameter-label-RML-16109 ([069aaf0](https://github.com/roomle-dev/roomle-ui/commit/069aaf0))
36
- * Merge branch 'master' into fix/wrong-parameter-label-RML-16109 ([9f6fb91](https://github.com/roomle-dev/roomle-ui/commit/9f6fb91))
37
- * Merge branch 'master' into fix/zoom-factor-switch-to-3d ([e811498](https://github.com/roomle-dev/roomle-ui/commit/e811498))
38
- * Merge pull request #2399 from roomle-dev/fix/element-preview-mobile-overflow-RML-16256 ([947f71e](https://github.com/roomle-dev/roomle-ui/commit/947f71e)), closes [#2399](https://github.com/roomle-dev/roomle-ui/issues/2399)
39
- * Merge pull request #2400 from roomle-dev/feat/new-measurements ([8c7bb10](https://github.com/roomle-dev/roomle-ui/commit/8c7bb10)), closes [#2400](https://github.com/roomle-dev/roomle-ui/issues/2400)
40
- * Merge pull request #2412 from roomle-dev/fix/undo-redo ([540fc45](https://github.com/roomle-dev/roomle-ui/commit/540fc45)), closes [#2412](https://github.com/roomle-dev/roomle-ui/issues/2412)
41
- * Merge pull request #2413 from roomle-dev/fix/console-error ([0ddff1f](https://github.com/roomle-dev/roomle-ui/commit/0ddff1f)), closes [#2413](https://github.com/roomle-dev/roomle-ui/issues/2413)
42
- * Merge pull request #2416 from roomle-dev/fix/article-label-and-image ([1a30ac2](https://github.com/roomle-dev/roomle-ui/commit/1a30ac2)), closes [#2416](https://github.com/roomle-dev/roomle-ui/issues/2416)
43
- * Merge pull request #2418 from roomle-dev/copilot/upgrade-web-sdk-to-strict-null-checks ([a753cdd](https://github.com/roomle-dev/roomle-ui/commit/a753cdd)), closes [#2418](https://github.com/roomle-dev/roomle-ui/issues/2418)
44
- * Merge pull request #2419 from roomle-dev/fix/scrolling-chain-RML-16303 ([6de078e](https://github.com/roomle-dev/roomle-ui/commit/6de078e)), closes [#2419](https://github.com/roomle-dev/roomle-ui/issues/2419)
45
- * Merge pull request #2420 from roomle-dev/upgraded-by-ci/core-2.72.0-alpha.13 ([52f2f2d](https://github.com/roomle-dev/roomle-ui/commit/52f2f2d)), closes [#2420](https://github.com/roomle-dev/roomle-ui/issues/2420)
46
- * Merge pull request #2421 from roomle-dev/upgraded-by-ci/core-2.72.0-alpha.14 ([5b8b082](https://github.com/roomle-dev/roomle-ui/commit/5b8b082)), closes [#2421](https://github.com/roomle-dev/roomle-ui/issues/2421)
47
- * Merge pull request #2424 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.1 ([7af2303](https://github.com/roomle-dev/roomle-ui/commit/7af2303)), closes [#2424](https://github.com/roomle-dev/roomle-ui/issues/2424)
48
- * Merge pull request #2425 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.2 ([4fc863d](https://github.com/roomle-dev/roomle-ui/commit/4fc863d)), closes [#2425](https://github.com/roomle-dev/roomle-ui/issues/2425)
49
- * Merge pull request #2426 from roomle-dev/fix/hi-dragging-objects-disconnect ([b3a22d5](https://github.com/roomle-dev/roomle-ui/commit/b3a22d5)), closes [#2426](https://github.com/roomle-dev/roomle-ui/issues/2426)
50
- * Merge pull request #2427 from roomle-dev/copilot/upgrade-web-sdk-to-strict-null-checks ([a518325](https://github.com/roomle-dev/roomle-ui/commit/a518325)), closes [#2427](https://github.com/roomle-dev/roomle-ui/issues/2427)
51
- * Merge pull request #2428 from roomle-dev/copilot/strict-null-checks-phase-3b-rapi-access ([63e0ee7](https://github.com/roomle-dev/roomle-ui/commit/63e0ee7)), closes [#2428](https://github.com/roomle-dev/roomle-ui/issues/2428)
52
- * Merge pull request #2429 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.3 ([c615525](https://github.com/roomle-dev/roomle-ui/commit/c615525)), closes [#2429](https://github.com/roomle-dev/roomle-ui/issues/2429)
53
- * Merge pull request #2430 from roomle-dev/fix/catalogRootTags-url-order-sort-RML-16333 ([40ffb54](https://github.com/roomle-dev/roomle-ui/commit/40ffb54)), closes [#2430](https://github.com/roomle-dev/roomle-ui/issues/2430)
54
- * Merge pull request #2431 from roomle-dev/fix/Parametergroup-problem-RML-16304 ([f3f4030](https://github.com/roomle-dev/roomle-ui/commit/f3f4030)), closes [#2431](https://github.com/roomle-dev/roomle-ui/issues/2431)
55
- * Merge pull request #2432 from roomle-dev/fix/reEnableDimensionsOnUndoRedo ([a664cc2](https://github.com/roomle-dev/roomle-ui/commit/a664cc2)), closes [#2432](https://github.com/roomle-dev/roomle-ui/issues/2432)
56
- * Merge pull request #2433 from roomle-dev/copilot/strict-null-checks-phase-4 ([9ef4db3](https://github.com/roomle-dev/roomle-ui/commit/9ef4db3)), closes [#2433](https://github.com/roomle-dev/roomle-ui/issues/2433)
57
- * Merge pull request #2434 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.4 ([3aa67d3](https://github.com/roomle-dev/roomle-ui/commit/3aa67d3)), closes [#2434](https://github.com/roomle-dev/roomle-ui/issues/2434)
58
- * Merge pull request #2435 from roomle-dev/feat/types-qa-known-breaks-allowlist-RML-16355 ([39ba5a7](https://github.com/roomle-dev/roomle-ui/commit/39ba5a7)), closes [#2435](https://github.com/roomle-dev/roomle-ui/issues/2435)
59
- * Merge pull request #2436 from roomle-dev/fix/zoom-factor-switch-to-3d ([1f36f01](https://github.com/roomle-dev/roomle-ui/commit/1f36f01)), closes [#2436](https://github.com/roomle-dev/roomle-ui/issues/2436)
60
- * Merge pull request #2437 from roomle-dev/copilot/upgrade-web-sdk-typescript-strict-null-checks ([bbb4fa9](https://github.com/roomle-dev/roomle-ui/commit/bbb4fa9)), closes [#2437](https://github.com/roomle-dev/roomle-ui/issues/2437)
61
- * Merge pull request #2438 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.5 ([02103b9](https://github.com/roomle-dev/roomle-ui/commit/02103b9)), closes [#2438](https://github.com/roomle-dev/roomle-ui/issues/2438)
62
- * Merge pull request #2439 from roomle-dev/fix/merge-undo-redo ([f2321c9](https://github.com/roomle-dev/roomle-ui/commit/f2321c9)), closes [#2439](https://github.com/roomle-dev/roomle-ui/issues/2439)
63
- * Merge pull request #2440 from roomle-dev/ci/update-github-actions ([aabb054](https://github.com/roomle-dev/roomle-ui/commit/aabb054)), closes [#2440](https://github.com/roomle-dev/roomle-ui/issues/2440)
64
- * Merge pull request #2442 from roomle-dev/feat/threejs183 ([9f50705](https://github.com/roomle-dev/roomle-ui/commit/9f50705)), closes [#2442](https://github.com/roomle-dev/roomle-ui/issues/2442)
65
- * Merge pull request #2443 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.6 ([c5a4748](https://github.com/roomle-dev/roomle-ui/commit/c5a4748)), closes [#2443](https://github.com/roomle-dev/roomle-ui/issues/2443)
66
- * Merge pull request #2445 from roomle-dev/chore/hi-example-embedding-id ([0e28d01](https://github.com/roomle-dev/roomle-ui/commit/0e28d01)), closes [#2445](https://github.com/roomle-dev/roomle-ui/issues/2445)
67
- * Merge pull request #2446 from roomle-dev/fix/wrong-parameter-label-RML-16109 ([1b8078f](https://github.com/roomle-dev/roomle-ui/commit/1b8078f)), closes [#2446](https://github.com/roomle-dev/roomle-ui/issues/2446)
68
- * Merge pull request #2447 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.7 ([561e3f4](https://github.com/roomle-dev/roomle-ui/commit/561e3f4)), closes [#2447](https://github.com/roomle-dev/roomle-ui/issues/2447)
69
- * Merge pull request #2448 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.8 ([1c5d292](https://github.com/roomle-dev/roomle-ui/commit/1c5d292)), closes [#2448](https://github.com/roomle-dev/roomle-ui/issues/2448)
70
- * Merge pull request #2449 from roomle-dev/fix/bottom-bar-hidden-height-2 ([4acc6e1](https://github.com/roomle-dev/roomle-ui/commit/4acc6e1)), closes [#2449](https://github.com/roomle-dev/roomle-ui/issues/2449)
71
- * Merge pull request #2450 from roomle-dev/feat(core)/upgrade-to-version-2.73.0-alpha.9 ([347ac4d](https://github.com/roomle-dev/roomle-ui/commit/347ac4d)), closes [#2450](https://github.com/roomle-dev/roomle-ui/issues/2450)
72
- * Merge pull request #2452 from roomle-dev/fix/sort-for-level1-RML-16400 ([ec0b355](https://github.com/roomle-dev/roomle-ui/commit/ec0b355)), closes [#2452](https://github.com/roomle-dev/roomle-ui/issues/2452)
73
- * Merge pull request #2453 from roomle-dev/chore/remove-interior-lights-feature-flag ([0906c96](https://github.com/roomle-dev/roomle-ui/commit/0906c96)), closes [#2453](https://github.com/roomle-dev/roomle-ui/issues/2453)
74
- * Merge pull request #2454 from roomle-dev/fix/init-data-merge-priority-RML-16406 ([502df53](https://github.com/roomle-dev/roomle-ui/commit/502df53)), closes [#2454](https://github.com/roomle-dev/roomle-ui/issues/2454)
75
- * Merge pull request #2455 from roomle-dev/fix/drawing ([dad2ffa](https://github.com/roomle-dev/roomle-ui/commit/dad2ffa)), closes [#2455](https://github.com/roomle-dev/roomle-ui/issues/2455)
76
- * Merge pull request #2456 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.10 ([ae0b458](https://github.com/roomle-dev/roomle-ui/commit/ae0b458)), closes [#2456](https://github.com/roomle-dev/roomle-ui/issues/2456)
77
- * Merge pull request #2458 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.11 ([53c3717](https://github.com/roomle-dev/roomle-ui/commit/53c3717)), closes [#2458](https://github.com/roomle-dev/roomle-ui/issues/2458)
78
- * Merge pull request #2460 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.12 ([9a77dec](https://github.com/roomle-dev/roomle-ui/commit/9a77dec)), closes [#2460](https://github.com/roomle-dev/roomle-ui/issues/2460)
79
- * Merge pull request #2461 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.13 ([5558900](https://github.com/roomle-dev/roomle-ui/commit/5558900)), closes [#2461](https://github.com/roomle-dev/roomle-ui/issues/2461)
80
- * Merge pull request #2462 from roomle-dev/copilot/upgrade-web-sdk-to-strict-null-checks-again ([d3bbaef](https://github.com/roomle-dev/roomle-ui/commit/d3bbaef)), closes [#2462](https://github.com/roomle-dev/roomle-ui/issues/2462)
81
- * Merge pull request #2464 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.14 ([d24183e](https://github.com/roomle-dev/roomle-ui/commit/d24183e)), closes [#2464](https://github.com/roomle-dev/roomle-ui/issues/2464)
82
- * Merge pull request #2465 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.15 ([e63db31](https://github.com/roomle-dev/roomle-ui/commit/e63db31)), closes [#2465](https://github.com/roomle-dev/roomle-ui/issues/2465)
83
- * Potential fix for pull request finding ([742bc50](https://github.com/roomle-dev/roomle-ui/commit/742bc50))
84
- * feat: add e2e test for interactive component dimensioning ([eeaceff](https://github.com/roomle-dev/roomle-ui/commit/eeaceff))
85
- * feat(types-qa): add known breaks allowlist with expiry enforcement ([e177d56](https://github.com/roomle-dev/roomle-ui/commit/e177d56))
86
- * feat: add user rights to single object configurator example ([c18bacd](https://github.com/roomle-dev/roomle-ui/commit/c18bacd))
87
- * feat: core api - mergedWidthDrag ([6c6fafa](https://github.com/roomle-dev/roomle-ui/commit/6c6fafa))
88
- * feat: core api - object custom label ([a9761ec](https://github.com/roomle-dev/roomle-ui/commit/a9761ec))
89
- * feat: new system for measurements/dimensioning/component-dimensioning ([0431958](https://github.com/roomle-dev/roomle-ui/commit/0431958))
90
- * feat: upgrade threejs version to 183 ([03b6f70](https://github.com/roomle-dev/roomle-ui/commit/03b6f70))
91
- * feat(core): upgrade to version 2.72.0-alpha.13 ([b511150](https://github.com/roomle-dev/roomle-ui/commit/b511150))
92
- * feat(core): upgrade to version 2.72.0-alpha.14 ([9172fa9](https://github.com/roomle-dev/roomle-ui/commit/9172fa9))
93
- * feat(core): upgrade to version 2.73.0-alpha.10 ([ab4f25e](https://github.com/roomle-dev/roomle-ui/commit/ab4f25e))
94
- * feat(core): upgrade to version 2.73.0-alpha.11 ([916f201](https://github.com/roomle-dev/roomle-ui/commit/916f201))
95
- * feat(core): upgrade to version 2.73.0-alpha.12 ([3e664ee](https://github.com/roomle-dev/roomle-ui/commit/3e664ee))
96
- * feat(core): upgrade to version 2.73.0-alpha.13 ([e455f65](https://github.com/roomle-dev/roomle-ui/commit/e455f65))
97
- * feat(core): upgrade to version 2.73.0-alpha.14 ([fb71ddc](https://github.com/roomle-dev/roomle-ui/commit/fb71ddc))
98
- * feat(core): upgrade to version 2.73.0-alpha.15 ([01b8905](https://github.com/roomle-dev/roomle-ui/commit/01b8905))
99
- * feat(core): upgrade to version 2.73.0-alpha.1 ([030d0c3](https://github.com/roomle-dev/roomle-ui/commit/030d0c3))
100
- * feat(core): upgrade to version 2.73.0-alpha.2 ([bde2c7e](https://github.com/roomle-dev/roomle-ui/commit/bde2c7e))
101
- * feat(core): upgrade to version 2.73.0-alpha.3 ([ddbd82d](https://github.com/roomle-dev/roomle-ui/commit/ddbd82d))
102
- * feat(core): upgrade to version 2.73.0-alpha.4 ([36eeed0](https://github.com/roomle-dev/roomle-ui/commit/36eeed0))
103
- * feat(core): upgrade to version 2.73.0-alpha.5 ([a964a2c](https://github.com/roomle-dev/roomle-ui/commit/a964a2c))
104
- * feat(core): upgrade to version 2.73.0-alpha.6 ([a9186f4](https://github.com/roomle-dev/roomle-ui/commit/a9186f4))
105
- * feat(core): upgrade to version 2.73.0-alpha.7 ([fefaee8](https://github.com/roomle-dev/roomle-ui/commit/fefaee8))
106
- * feat(core): upgrade to version 2.73.0-alpha.8 ([ff4efeb](https://github.com/roomle-dev/roomle-ui/commit/ff4efeb))
107
- * feat(core): upgrade to version 2.73.0-alpha.9 ([ff4d194](https://github.com/roomle-dev/roomle-ui/commit/ff4d194))
108
- * chore: add docs about _getById returning Promise.resolve in error case ([ed2ec00](https://github.com/roomle-dev/roomle-ui/commit/ed2ec00))
109
- * chore: add tests ([9f5ba2b](https://github.com/roomle-dev/roomle-ui/commit/9f5ba2b))
110
- * chore: avoid non-null assertion operator ([d9d9945](https://github.com/roomle-dev/roomle-ui/commit/d9d9945))
111
- * chore: do formatting ([a0c2c4f](https://github.com/roomle-dev/roomle-ui/commit/a0c2c4f))
112
- * chore: embedding id for hi example ([124107f](https://github.com/roomle-dev/roomle-ui/commit/124107f))
113
- * chore: finally correct package-lock ([9ce0265](https://github.com/roomle-dev/roomle-ui/commit/9ce0265))
114
- * chore: fix failing test ([39e3d28](https://github.com/roomle-dev/roomle-ui/commit/39e3d28))
115
- * chore(web-sdk): fix strictNullChecks errors in scene-manager, roomle-component-factory, configurator ([4011a42](https://github.com/roomle-dev/roomle-ui/commit/4011a42))
116
- * chore(web-sdk): fix strictNullChecks errors in simpler common-core files ([ba79d63](https://github.com/roomle-dev/roomle-ui/commit/ba79d63))
117
- * chore: get the environment map working ([4414331](https://github.com/roomle-dev/roomle-ui/commit/4414331))
118
- * chore: initial plan for strictNullChecks phase 3b ([f5f9e07](https://github.com/roomle-dev/roomle-ui/commit/f5f9e07))
119
- * chore: lint ([ef40185](https://github.com/roomle-dev/roomle-ui/commit/ef40185))
120
- * chore: manual fixes ([0f54f5e](https://github.com/roomle-dev/roomle-ui/commit/0f54f5e))
121
- * chore: move completed plan to done folder ([6e1f343](https://github.com/roomle-dev/roomle-ui/commit/6e1f343))
122
- * chore: move the sidebar labels out of the component to keep consistent ([fe72579](https://github.com/roomle-dev/roomle-ui/commit/fe72579))
123
- * chore: new prompts ([37600f9](https://github.com/roomle-dev/roomle-ui/commit/37600f9))
124
- * chore: remove inert debug scaffolding from fetchSortedItems ([cbffefe](https://github.com/roomle-dev/roomle-ui/commit/cbffefe))
125
- * chore: remove temporary id on css2dRenderer ([e616768](https://github.com/roomle-dev/roomle-ui/commit/e616768))
126
- * chore: restore correct version of package-lock.json ([5484030](https://github.com/roomle-dev/roomle-ui/commit/5484030))
127
- * chore: small adaptations, cleanup, fix unit tests ([677194b](https://github.com/roomle-dev/roomle-ui/commit/677194b))
128
- * chore: small fixes and cleanup ([ed24ff4](https://github.com/roomle-dev/roomle-ui/commit/ed24ff4))
129
- * chore(web-sdk): strictNullChecks phase 3b — rapi-access ([8f8933c](https://github.com/roomle-dev/roomle-ui/commit/8f8933c))
130
- * chore(web-sdk): strictNullChecks phase 4 — complete common-core and typings ([d2189c1](https://github.com/roomle-dev/roomle-ui/commit/d2189c1))
131
- * chore(web-sdk): strictNullChecks phase 4 — partial common-core fixes (16 errors resolved) ([26a5f8c](https://github.com/roomle-dev/roomle-ui/commit/26a5f8c))
132
- * fix: add a case to make the RSW content full height when bottom bar is disabled ([03ff800](https://github.com/roomle-dev/roomle-ui/commit/03ff800))
133
- * fix: add initialized check to css2drenderer.setsize ([5a9400e](https://github.com/roomle-dev/roomle-ui/commit/5a9400e))
134
- * fix: address copilot PR feedback for catalog ordering ([88d53b1](https://github.com/roomle-dev/roomle-ui/commit/88d53b1))
135
- * fix: address pr comments, fix non-1 dpr rendering ([f4fbafe](https://github.com/roomle-dev/roomle-ui/commit/f4fbafe))
136
- * fix(web-sdk): address PR review comments ([56d6e2b](https://github.com/roomle-dev/roomle-ui/commit/56d6e2b))
137
- * fix(web-sdk): address remaining review comments on PR #2433 ([6f50313](https://github.com/roomle-dev/roomle-ui/commit/6f50313)), closes [#2433](https://github.com/roomle-dev/roomle-ui/issues/2433)
138
- * fix: address review comments on PR #2428 ([a089938](https://github.com/roomle-dev/roomle-ui/commit/a089938)), closes [#2428](https://github.com/roomle-dev/roomle-ui/issues/2428)
139
- * fix(web-sdk): address review comments on PR #2433 ([3fa0f5d](https://github.com/roomle-dev/roomle-ui/commit/3fa0f5d)), closes [#2433](https://github.com/roomle-dev/roomle-ui/issues/2433)
140
- * fix: address review findings on strictNullChecks phase 3 ([4166a38](https://github.com/roomle-dev/roomle-ui/commit/4166a38))
141
- * fix: apply sort connection on level 1 catalog tags and items ([e987df1](https://github.com/roomle-dev/roomle-ui/commit/e987df1))
142
- * fix(mobile): clip element-preview overflow in mobile catalog sidebar ([c04d063](https://github.com/roomle-dev/roomle-ui/commit/c04d063))
143
- * fix(web-sdk): complete remaining Phase 4 common-core strictNullChecks fixes ([3a975fa](https://github.com/roomle-dev/roomle-ui/commit/3a975fa))
144
- * fix: copilot code review - make _insertObject private ([66bfcbf](https://github.com/roomle-dev/roomle-ui/commit/66bfcbf))
145
- * fix(embedding): correct init-data merge priority in embedding API ([39055da](https://github.com/roomle-dev/roomle-ui/commit/39055da))
146
- * fix: distinguish between merge with drag and merge on action for undo/redo ([669ed7e](https://github.com/roomle-dev/roomle-ui/commit/669ed7e))
147
- * fix: do not request rapi item from undefined id ([e985263](https://github.com/roomle-dev/roomle-ui/commit/e985263))
148
- * fix: do not start or end an interaction while drawing ([e4f52c2](https://github.com/roomle-dev/roomle-ui/commit/e4f52c2))
149
- * fix: fix minor issue on bounding box unit test ([f5ac978](https://github.com/roomle-dev/roomle-ui/commit/f5ac978))
150
- * fix: hi dragging objects to disconnect ([80c5dc6](https://github.com/roomle-dev/roomle-ui/commit/80c5dc6))
151
- * fix(configurator): keep addon-only groups in local context ([26a8c74](https://github.com/roomle-dev/roomle-ui/commit/26a8c74))
152
- * fix: kernel types ([83e9ca9](https://github.com/roomle-dev/roomle-ui/commit/83e9ca9))
153
- * fix: more stable removal of all children loop in html util class ([bae9ad8](https://github.com/roomle-dev/roomle-ui/commit/bae9ad8))
154
- * fix: pass required camera argument to PointLightShadow constructor ([977785e](https://github.com/roomle-dev/roomle-ui/commit/977785e))
155
- * fix: preserve catalog order when multiple catalogRootTag entries are specified (RML-16333) ([4ba2551](https://github.com/roomle-dev/roomle-ui/commit/4ba2551))
156
- * fix: preserve URL root-tag order for two-level catalog pills ([1a96ca4](https://github.com/roomle-dev/roomle-ui/commit/1a96ca4))
157
- * fix(mobile): propagate tab-content height to CollapsedView chain ([5c3ff85](https://github.com/roomle-dev/roomle-ui/commit/5c3ff85))
158
- * fix: re-enable dimensions on undo/redo ([211ab42](https://github.com/roomle-dev/roomle-ui/commit/211ab42))
159
- * fix: remove flickering on selection ([32686a1](https://github.com/roomle-dev/roomle-ui/commit/32686a1))
160
- * fix: report all failure categories together and add code field for precision matching ([7ea6da3](https://github.com/roomle-dev/roomle-ui/commit/7ea6da3))
161
- * fix: resolve strictNullChecks errors in common-core mock files ([2375537](https://github.com/roomle-dev/roomle-ui/commit/2375537))
162
- * fix: resolve strictNullChecks errors in configurator-kernel-access.ts ([79d2822](https://github.com/roomle-dev/roomle-ui/commit/79d2822))
163
- * fix: resolve strictNullChecks errors in input-manager.ts ([a06ab8e](https://github.com/roomle-dev/roomle-ui/commit/a06ab8e))
164
- * fix: resolve strictNullChecks errors in roomle-sdk.ts ([610b611](https://github.com/roomle-dev/roomle-ui/commit/610b611))
165
- * fix: resolve strictNullChecks errors in view-model files ([2543734](https://github.com/roomle-dev/roomle-ui/commit/2543734))
166
- * fix: restore package-lock.json, align waiter resolve cast with widened type ([bac0d67](https://github.com/roomle-dev/roomle-ui/commit/bac0d67))
167
- * fix: revert single-level catalog back to non-connection sort ([37583c6](https://github.com/roomle-dev/roomle-ui/commit/37583c6))
168
- * fix: scrolling chain between iframe and the host page and make it consistent across browsers ([34d5c28](https://github.com/roomle-dev/roomle-ui/commit/34d5c28))
169
- * fix: set the zoom factor when switching from 2D to 3D ([eaa3e62](https://github.com/roomle-dev/roomle-ui/commit/eaa3e62))
170
- * fix: show correct parameter label in expanded grid view ([7b2b7b7](https://github.com/roomle-dev/roomle-ui/commit/7b2b7b7))
171
- * fix: try to fix the background issue on Mobile Chrome ([9d95f72](https://github.com/roomle-dev/roomle-ui/commit/9d95f72))
172
- * fix: undo/redo on swap external object ([0d0767a](https://github.com/roomle-dev/roomle-ui/commit/0d0767a))
173
- * fix: update callback types to accept null, fix test failures, update progress ([4d6650d](https://github.com/roomle-dev/roomle-ui/commit/4d6650d))
174
- * fix: update root module properties when loading an external object from plan ([89ecef7](https://github.com/roomle-dev/roomle-ui/commit/89ecef7))
175
- * fix: use css ([4421313](https://github.com/roomle-dev/roomle-ui/commit/4421313))
176
- * fix(web-sdk): use optional chaining for dataTransfer to handle undefined ([cff371a](https://github.com/roomle-dev/roomle-ui/commit/cff371a))
177
- * fix: use static item label if external object label is missing ([92b98b0](https://github.com/roomle-dev/roomle-ui/commit/92b98b0))
178
- * fix: use UTC consistently in getExpiryDate ([a2afaac](https://github.com/roomle-dev/roomle-ui/commit/a2afaac))
179
- * refactor(embedding): extract mergeEmbeddingInitData utility ([078c4a0](https://github.com/roomle-dev/roomle-ui/commit/078c4a0))
180
- * refactor: move lighting setting into own component ([14a950d](https://github.com/roomle-dev/roomle-ui/commit/14a950d))
181
- * docs: add init-data merge priority documentation ([95ff48e](https://github.com/roomle-dev/roomle-ui/commit/95ff48e))
182
- * docs: add more docs ([60b0926](https://github.com/roomle-dev/roomle-ui/commit/60b0926))
183
- * revert: remove unrelated PointLightShadow change from this branch ([1b8ef21](https://github.com/roomle-dev/roomle-ui/commit/1b8ef21))
184
- * test: add test for multi-catalog sort order with enableTwoLevelCatalog=false ([964016a](https://github.com/roomle-dev/roomle-ui/commit/964016a))
185
- * test: fix fail tests ([a45f067](https://github.com/roomle-dev/roomle-ui/commit/a45f067))
186
- * ci: update github actions to latest versions ([f9f3e20](https://github.com/roomle-dev/roomle-ui/commit/f9f3e20))
187
- * style: apply prettier formatting ([47e55c0](https://github.com/roomle-dev/roomle-ui/commit/47e55c0))
3
+ * Merge branch 'master' into chore/vite-8-upgrade-RML-16407 ([1bd398a](https://github.com/roomle-dev/roomle-ui/commit/1bd398a))
4
+ * Merge branch 'master' into fix/display-sub-sub-modules-in-left-panel ([369f41c](https://github.com/roomle-dev/roomle-ui/commit/369f41c))
5
+ * Merge branch 'master' into fix/lamp-state-persistence ([146ab40](https://github.com/roomle-dev/roomle-ui/commit/146ab40))
6
+ * Merge branch 'master' into fix/lamp-state-persistence ([c3baa9e](https://github.com/roomle-dev/roomle-ui/commit/c3baa9e))
7
+ * Merge branch 'master' into fix/lamp-state-persistence ([ed2eaaa](https://github.com/roomle-dev/roomle-ui/commit/ed2eaaa))
8
+ * Merge branch 'master' into fix/lamp-state-persistence ([17fcf9f](https://github.com/roomle-dev/roomle-ui/commit/17fcf9f))
9
+ * Merge branch 'master' into fix/lamp-state-persistence ([a288a01](https://github.com/roomle-dev/roomle-ui/commit/a288a01))
10
+ * Merge branch 'master' into fix/lamp-state-persistence ([bfe9be7](https://github.com/roomle-dev/roomle-ui/commit/bfe9be7))
11
+ * Merge pull request #2457 from roomle-dev/fix/lamp-state-persistence ([7673da1](https://github.com/roomle-dev/roomle-ui/commit/7673da1)), closes [#2457](https://github.com/roomle-dev/roomle-ui/issues/2457)
12
+ * Merge pull request #2459 from roomle-dev/chore/vite-8-upgrade-RML-16407 ([ec54037](https://github.com/roomle-dev/roomle-ui/commit/ec54037)), closes [#2459](https://github.com/roomle-dev/roomle-ui/issues/2459)
13
+ * Merge pull request #2468 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.16 ([395447d](https://github.com/roomle-dev/roomle-ui/commit/395447d)), closes [#2468](https://github.com/roomle-dev/roomle-ui/issues/2468)
14
+ * Merge pull request #2471 from roomle-dev/fix/display-sub-sub-modules-in-left-panel ([f16ddfd](https://github.com/roomle-dev/roomle-ui/commit/f16ddfd)), closes [#2471](https://github.com/roomle-dev/roomle-ui/issues/2471)
15
+ * Merge pull request #2473 from roomle-dev/upgraded-by-ci/core-2.73.0-alpha.17 ([3974b4f](https://github.com/roomle-dev/roomle-ui/commit/3974b4f)), closes [#2473](https://github.com/roomle-dev/roomle-ui/issues/2473)
16
+ * feat: core api - custom data json ([b1f90be](https://github.com/roomle-dev/roomle-ui/commit/b1f90be))
17
+ * feat(core): upgrade to version 2.73.0-alpha.16 ([06060d0](https://github.com/roomle-dev/roomle-ui/commit/06060d0))
18
+ * feat(core): upgrade to version 2.73.0-alpha.17 ([868f320](https://github.com/roomle-dev/roomle-ui/commit/868f320))
19
+ * fix: guard customDataJson write behind lights check; return empty string for clean payload ([19405e3](https://github.com/roomle-dev/roomle-ui/commit/19405e3))
20
+ * fix: iterate over all submodules ([1ba250a](https://github.com/roomle-dev/roomle-ui/commit/1ba250a))
21
+ * fix: iterate over all submodules - pass root module id ([e998f57](https://github.com/roomle-dev/roomle-ui/commit/e998f57))
22
+ * fix: persist lamp on/off state across plan saves and reloads ([4303e62](https://github.com/roomle-dev/roomle-ui/commit/4303e62))
23
+ * fix: preserve existing customLabel when toggling lamp state ([b8543ee](https://github.com/roomle-dev/roomle-ui/commit/b8543ee))
24
+ * fix: use exact token matching for lamp marker; strip marker from UI label ([8e18cc1](https://github.com/roomle-dev/roomle-ui/commit/8e18cc1))
25
+ * fix: use ToggleableLightSource type consistently; improve label fallback ([42205e3](https://github.com/roomle-dev/roomle-ui/commit/42205e3))
26
+ * refactor: remove dead addDemoLights function and unused PlanViewModel import ([5810ecc](https://github.com/roomle-dev/roomle-ui/commit/5810ecc))
27
+ * refactor: simplify lamp restore by reading customLabel directly from kernel DTO ([02dd40e](https://github.com/roomle-dev/roomle-ui/commit/02dd40e))
28
+ * refactor: use customDataJson API for lamp state persistence ([bcc6208](https://github.com/roomle-dev/roomle-ui/commit/bcc6208))
29
+ * test: increase timeout for component-dimensioning-helper test ([d3534fd](https://github.com/roomle-dev/roomle-ui/commit/d3534fd))
30
+ * chore: merge master into fix/lamp-state-persistence ([95125d2](https://github.com/roomle-dev/roomle-ui/commit/95125d2))
31
+ * chore: upgrade vite 7 to vite 8 (rolldown/oxc) ([f615fbd](https://github.com/roomle-dev/roomle-ui/commit/f615fbd))
32
+ * style: prettier brace formatting ([9db1f7f](https://github.com/roomle-dev/roomle-ui/commit/9db1f7f))
33
+ * style: prettier formatting ([d2124fa](https://github.com/roomle-dev/roomle-ui/commit/d2124fa))
@@ -0,0 +1,60 @@
1
+ import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-BwqVwCBp.mjs";
2
+ import "./embedding-plugins.min.js";
3
+ var o = (e, t, n = 0, r = 0) => {
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;
5
+ return c >= a && c <= i && l >= s && l <= o;
6
+ }, s = (e, t, n, r = 0, i = 0) => {
7
+ if (n && (n.hiddenIn || n.visibleIn)) return n.visibleIn ? o({
8
+ x: e,
9
+ y: t
10
+ }, n.visibleIn, r, i) : !!n.hiddenIn && !o({
11
+ x: e,
12
+ y: t
13
+ }, n.hiddenIn, -r, -i);
14
+ }, c = class {
15
+ _dragGhostAnimationFrameId = null;
16
+ _dragGhostRemoveAnimationFrameId = null;
17
+ _dragGhostElement = null;
18
+ constructor(e = null) {
19
+ this._dragGhostElement = e;
20
+ }
21
+ updateDragGhost(o, c, l) {
22
+ this._dragGhostRemoveAnimationFrameId &&= (cancelAnimationFrame(this._dragGhostRemoveAnimationFrameId), null), l.ghost?.external || l.ghost && (this._dragGhostAnimationFrameId ||= requestAnimationFrame(() => {
23
+ (() => {
24
+ if (!document.getElementById("rml-drag-in-styles")) {
25
+ let t = document.createElement("style");
26
+ t.type = "text/css", t.id = r, t.innerHTML = `\n ${e}\n ${a}\n `, document.head.appendChild(t);
27
+ }
28
+ })();
29
+ let u = {
30
+ x: o,
31
+ y: c
32
+ };
33
+ !l.ghost && this._dragGhostElement && (l.ghost = {}), l.ghost && !l.ghost.element && this._dragGhostElement && (l.ghost.element = this._dragGhostElement), (({ x: e, y: n }, r) => {
34
+ let i = document.getElementById(t);
35
+ if (!i) {
36
+ if (i = document.createElement("div"), r.ghost?.element) i.appendChild(r.ghost.element);
37
+ else {
38
+ let e = document.createElement("img");
39
+ e.src = r.ghost?.url || "https://res.cloudinary.com/roomle/image/upload/v1729679975/fallback_afpyqr.jpg", e.width = r.ghost?.width || 112, e.height = r.ghost?.height || 112, i.appendChild(e);
40
+ }
41
+ i.id = t, i.style.position = "fixed", i.style.top = "0", i.style.left = "0", i.style.willChange = "transform", i.style.transform = "translate3d(0, 0, 0)", i.style.zIndex = "9999", i.style.opacity = "0.5", s(e, n, r.ghost || {}, r.settings?.dragInOverlapX, r.settings?.dragInOverlapY) || (i.style.display = "none"), i.style.pointerEvents = "none", document.body.appendChild(i);
42
+ }
43
+ })(u, l), (({ x: e, y: r }, a) => {
44
+ let o = document.getElementById(t);
45
+ if (!o) return;
46
+ let c = a.ghost?.width, l = a.ghost?.height;
47
+ c === void 0 && (c = o.getBoundingClientRect().width || 112), l === void 0 && (l = o.getBoundingClientRect().height || 112);
48
+ let u = e - c / 2, d = r - l / 2;
49
+ o.style.transform = `translate3d(${u}px, ${d}px, 0)`, a.ghost && (s(e, r, a.ghost, a.settings?.dragInOverlapX, a.settings?.dragInOverlapY) ? o.style.animation != n && (o.style.animation = n) : o.style.animation != i && (o.style.animation = i));
50
+ })(u, l), this._dragGhostAnimationFrameId = null;
51
+ }));
52
+ }
53
+ removeDragGhost() {
54
+ this._dragGhostAnimationFrameId &&= (cancelAnimationFrame(this._dragGhostAnimationFrameId), null), this._dragGhostRemoveAnimationFrameId ||= requestAnimationFrame(() => {
55
+ let e = document.getElementById(t);
56
+ e && document.body.removeChild(e), this._dragGhostRemoveAnimationFrameId = null;
57
+ });
58
+ }
59
+ };
60
+ export { c as t };
@@ -0,0 +1,65 @@
1
+ import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-AFSAsnAN.mjs";
2
+ import "./embedding-plugins.js";
3
+ //#region packages/common/src/utils/drag.ts
4
+ var o = (e, t, n = 0, r = 0) => {
5
+ 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;
6
+ return c >= a && c <= i && l >= s && l <= o;
7
+ }, s = (e, t, n, r = 0, i = 0) => {
8
+ if (!(!n || !n.hiddenIn && !n.visibleIn)) return n.visibleIn ? o({
9
+ x: e,
10
+ y: t
11
+ }, n.visibleIn, r, i) : n.hiddenIn ? !o({
12
+ x: e,
13
+ y: t
14
+ }, n.hiddenIn, -r, -i) : !1;
15
+ }, c = () => {
16
+ if (!document.getElementById("rml-drag-in-styles")) {
17
+ let t = document.createElement("style");
18
+ t.type = "text/css", t.id = r, t.innerHTML = `
19
+ ${e}
20
+ ${a}
21
+ `, document.head.appendChild(t);
22
+ }
23
+ }, l = ({ x: e, y: n }, r) => {
24
+ let i = document.getElementById(t);
25
+ if (!i) {
26
+ if (i = document.createElement("div"), r.ghost?.element) i.appendChild(r.ghost.element);
27
+ else {
28
+ let e = document.createElement("img");
29
+ e.src = r.ghost?.url || "https://res.cloudinary.com/roomle/image/upload/v1729679975/fallback_afpyqr.jpg", e.width = r.ghost?.width || 112, e.height = r.ghost?.height || 112, i.appendChild(e);
30
+ }
31
+ i.id = t, i.style.position = "fixed", i.style.top = "0", i.style.left = "0", i.style.willChange = "transform", i.style.transform = "translate3d(0, 0, 0)", i.style.zIndex = "9999", i.style.opacity = "0.5", s(e, n, r.ghost || {}, r.settings?.dragInOverlapX, r.settings?.dragInOverlapY) || (i.style.display = "none"), i.style.pointerEvents = "none", document.body.appendChild(i);
32
+ }
33
+ }, u = ({ x: e, y: r }, a) => {
34
+ let o = document.getElementById(t);
35
+ if (!o) return;
36
+ let c = a.ghost?.width, l = a.ghost?.height;
37
+ c === void 0 && (c = o.getBoundingClientRect().width || 112), l === void 0 && (l = o.getBoundingClientRect().height || 112);
38
+ let u = e - c / 2, d = r - l / 2;
39
+ o.style.transform = `translate3d(${u}px, ${d}px, 0)`, a.ghost && (s(e, r, a.ghost, a.settings?.dragInOverlapX, a.settings?.dragInOverlapY) ? o.style.animation != n && (o.style.animation = n) : o.style.animation != i && (o.style.animation = i));
40
+ }, d = class {
41
+ _dragGhostAnimationFrameId = null;
42
+ _dragGhostRemoveAnimationFrameId = null;
43
+ _dragGhostElement = null;
44
+ constructor(e = null) {
45
+ this._dragGhostElement = e;
46
+ }
47
+ updateDragGhost(e, t, n) {
48
+ this._dragGhostRemoveAnimationFrameId &&= (cancelAnimationFrame(this._dragGhostRemoveAnimationFrameId), null), !n.ghost?.external && n.ghost && (this._dragGhostAnimationFrameId ||= requestAnimationFrame(() => {
49
+ c();
50
+ let r = {
51
+ x: e,
52
+ y: t
53
+ };
54
+ !n.ghost && this._dragGhostElement && (n.ghost = {}), n.ghost && !n.ghost.element && this._dragGhostElement && (n.ghost.element = this._dragGhostElement), l(r, n), u(r, n), this._dragGhostAnimationFrameId = null;
55
+ }));
56
+ }
57
+ removeDragGhost() {
58
+ this._dragGhostAnimationFrameId &&= (cancelAnimationFrame(this._dragGhostAnimationFrameId), null), this._dragGhostRemoveAnimationFrameId ||= requestAnimationFrame(() => {
59
+ let e = document.getElementById(t);
60
+ e && document.body.removeChild(e), this._dragGhostRemoveAnimationFrameId = null;
61
+ });
62
+ }
63
+ };
64
+ //#endregion
65
+ export { d as t };
@@ -0,0 +1,102 @@
1
+ import { t as e } from "./rolldown-runtime-C-QNzSnW.mjs";
2
+ //#region packages/embedding-lib/src/plugins/constants.ts
3
+ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-overlay", i = "rml-drag-in-drag-ghost", a = "rml-drag-in-fade-in", o = "rml-drag-in-fade-out", s = { DISPLAY_NONE: "rml-display-none" }, c = .5, l = "250ms", u = "forwards", d = `@keyframes ${a} {from{opacity: 0;}to {opacity: ${c};}}`, f = `@keyframes ${o} {from{opacity: ${c};}to {opacity: 0;}}`, p = `${a} ${l} ${u}`, m = `${o} ${l} ${u}`, h = "https://res.cloudinary.com/roomle/image/upload/v1729679975/fallback_afpyqr.jpg", g = 112, _ = 112, v = class {
4
+ _mainDomElement;
5
+ _instance;
6
+ _mode = "website";
7
+ _viewName = "main";
8
+ constructor(e, t, n, r) {
9
+ this._instance = e, this._mainDomElement = t, this._mode = n, this._viewName = r;
10
+ }
11
+ async init() {
12
+ return Promise.resolve();
13
+ }
14
+ }, y = /* @__PURE__ */ e({ DragIn: () => b }), b = class extends v {
15
+ options = {};
16
+ _customDragSignal = new AbortController();
17
+ _injectStyles() {
18
+ if (!document.getElementById("rml-drag-in-styles")) {
19
+ let e = document.createElement("style");
20
+ e.type = "text/css", e.id = t, e.innerHTML = `
21
+ .${s.DISPLAY_NONE}{display:none}
22
+ .${r}{position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;}
23
+ .${i}{position:absolute;top:0;left:0;width:1px;height:1px;z-index:999;pointer-events:none;background-color:transparent;}
24
+ ${d}
25
+ ${f}
26
+ `, document.head.appendChild(e);
27
+ }
28
+ }
29
+ _initializeDragGhost() {
30
+ let e = this._mainDomElement.parentNode, t = e.querySelector("." + i);
31
+ t || (t = document.createElement("div"), t.classList.add(i), t.innerText = " ", e.appendChild(t));
32
+ }
33
+ constructor(e, t, n, r) {
34
+ super(e, t, n, r), this._mainDomElement = t, this._injectStyles(), this._initializeDragGhost();
35
+ }
36
+ async init() {
37
+ if (await super.init(), this._mode === "website") try {
38
+ let { DragInFromWebsiteStrategy: e } = await import("./from-website-BesXdvcV.mjs");
39
+ this._strategy = new e(this._instance, this._mainDomElement, {
40
+ settings: this.options,
41
+ mode: "website"
42
+ });
43
+ } catch (e) {
44
+ throw console.error("Could not load Dragin strategy \"FromWebsite\""), e;
45
+ }
46
+ else if (this._mode === "custom-view") try {
47
+ let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-B-eXMXF1.mjs");
48
+ this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
49
+ } catch (e) {
50
+ throw console.error("Could not load Dragin strategy \"FromCustomView\""), e;
51
+ }
52
+ else throw Error("Unsupported mode");
53
+ }
54
+ get isDragging() {
55
+ return this._strategy.isDragging;
56
+ }
57
+ dragStart(e, t, n = "rml_id") {
58
+ this._strategy.dragStart(e, t, n);
59
+ }
60
+ dragUpdate(e) {
61
+ this._strategy.dragUpdate(e);
62
+ }
63
+ dragEnd() {
64
+ this._strategy.dragEnd();
65
+ }
66
+ touchStart(e, t, n = "rml_id") {
67
+ this._strategy.touchStart(e, t, n);
68
+ }
69
+ touchMove(e) {
70
+ this._strategy.touchMove(e);
71
+ }
72
+ touchEnd() {
73
+ this._strategy.touchEnd();
74
+ }
75
+ dispose() {
76
+ this._strategy.dispose();
77
+ }
78
+ beforeUpdateGhost(e) {
79
+ this._strategy.beforeUpdateGhost(e);
80
+ }
81
+ registerCustomDrag({ customDragStart: e, customDragEnd: t, customDragUpdate: n, beforeUpdateGhost: r }) {
82
+ r && this._strategy.beforeUpdateGhost(r);
83
+ let i = this._customDragSignal.signal, a = (t) => {
84
+ t.target.getAttribute("data-rml-draggable") === "true" && (t.target.setPointerCapture && t.target.setPointerCapture(t.pointerId), e(t));
85
+ }, o = (e) => {
86
+ this._strategy.releaseInput(e), this._strategy.isDragging && t(e);
87
+ };
88
+ document.querySelectorAll("[data-rml-draggable=\"true\"]").forEach((e) => {
89
+ e.draggable = !1, e.style.touchAction = "none";
90
+ }), document.addEventListener("pointerdown", a, { signal: i }), document.addEventListener("pointermove", (e) => {
91
+ n(e);
92
+ }, { signal: i }), document.addEventListener("pointerup", o, { signal: i }), document.addEventListener("pointercancel", o, { signal: i });
93
+ }
94
+ unregisterCustomDrag() {
95
+ this._customDragSignal.abort(), this._customDragSignal = new AbortController();
96
+ }
97
+ releaseInput(e) {
98
+ this._strategy.releaseInput(e);
99
+ }
100
+ };
101
+ //#endregion
102
+ export { d as a, n as c, h as d, g as f, c as h, p as i, i as l, t as m, y as n, m as o, r as p, s as r, f as s, b as t, _ as u };
@@ -0,0 +1,96 @@
1
+ import { t as e } from "./rolldown-runtime-C017PlDO.mjs";
2
+ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-overlay", i = "rml-drag-in-drag-ghost", a = "rml-drag-in-fade-in", o = "rml-drag-in-fade-out", s = { DISPLAY_NONE: "rml-display-none" }, c = .5, l = "250ms", u = "forwards", d = `@keyframes ${a} {from{opacity: 0;}to {opacity: 0.5;}}`, f = `@keyframes ${o} {from{opacity: 0.5;}to {opacity: 0;}}`, p = `${a} ${l} ${u}`, m = `${o} ${l} ${u}`, h = "https://res.cloudinary.com/roomle/image/upload/v1729679975/fallback_afpyqr.jpg", g = 112, _ = 112, v = class {
3
+ _mainDomElement;
4
+ _instance;
5
+ _mode = "website";
6
+ _viewName = "main";
7
+ constructor(e, t, n, r) {
8
+ this._instance = e, this._mainDomElement = t, this._mode = n, this._viewName = r;
9
+ }
10
+ async init() {
11
+ return Promise.resolve();
12
+ }
13
+ }, y = e({ DragIn: () => b }), b = class extends v {
14
+ options = {};
15
+ _customDragSignal = new AbortController();
16
+ _injectStyles() {
17
+ if (!document.getElementById("rml-drag-in-styles")) {
18
+ let e = document.createElement("style");
19
+ e.type = "text/css", e.id = t, e.innerHTML = `\n .${s.DISPLAY_NONE}{display:none}\n .${r}{position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;}\n .${i}{position:absolute;top:0;left:0;width:1px;height:1px;z-index:999;pointer-events:none;background-color:transparent;}\n ${d}\n ${f}\n `, document.head.appendChild(e);
20
+ }
21
+ }
22
+ _initializeDragGhost() {
23
+ let e = this._mainDomElement.parentNode, t = e.querySelector("." + i);
24
+ t || (t = document.createElement("div"), t.classList.add(i), t.innerText = " ", e.appendChild(t));
25
+ }
26
+ constructor(e, t, n, r) {
27
+ super(e, t, n, r), this._mainDomElement = t, this._injectStyles(), this._initializeDragGhost();
28
+ }
29
+ async init() {
30
+ if (await super.init(), this._mode === "website") try {
31
+ let { DragInFromWebsiteStrategy: e } = await import("./from-website--UCl1aQs.mjs");
32
+ this._strategy = new e(this._instance, this._mainDomElement, {
33
+ settings: this.options,
34
+ mode: "website"
35
+ });
36
+ } catch (e) {
37
+ throw e;
38
+ }
39
+ else {
40
+ if (this._mode !== "custom-view") throw Error("Unsupported mode");
41
+ try {
42
+ let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-tZcYF-zX.mjs");
43
+ this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
44
+ } catch (e) {
45
+ throw e;
46
+ }
47
+ }
48
+ }
49
+ get isDragging() {
50
+ return this._strategy.isDragging;
51
+ }
52
+ dragStart(e, t, n = "rml_id") {
53
+ this._strategy.dragStart(e, t, n);
54
+ }
55
+ dragUpdate(e) {
56
+ this._strategy.dragUpdate(e);
57
+ }
58
+ dragEnd() {
59
+ this._strategy.dragEnd();
60
+ }
61
+ touchStart(e, t, n = "rml_id") {
62
+ this._strategy.touchStart(e, t, n);
63
+ }
64
+ touchMove(e) {
65
+ this._strategy.touchMove(e);
66
+ }
67
+ touchEnd() {
68
+ this._strategy.touchEnd();
69
+ }
70
+ dispose() {
71
+ this._strategy.dispose();
72
+ }
73
+ beforeUpdateGhost(e) {
74
+ this._strategy.beforeUpdateGhost(e);
75
+ }
76
+ registerCustomDrag({ customDragStart: e, customDragEnd: t, customDragUpdate: n, beforeUpdateGhost: r }) {
77
+ r && this._strategy.beforeUpdateGhost(r);
78
+ let i = this._customDragSignal.signal, a = (e) => {
79
+ this._strategy.releaseInput(e), this._strategy.isDragging && t(e);
80
+ };
81
+ document.querySelectorAll("[data-rml-draggable=\"true\"]").forEach((e) => {
82
+ e.draggable = !1, e.style.touchAction = "none";
83
+ }), document.addEventListener("pointerdown", (t) => {
84
+ t.target.getAttribute("data-rml-draggable") === "true" && (t.target.setPointerCapture && t.target.setPointerCapture(t.pointerId), e(t));
85
+ }, { signal: i }), document.addEventListener("pointermove", (e) => {
86
+ n(e);
87
+ }, { signal: i }), document.addEventListener("pointerup", a, { signal: i }), document.addEventListener("pointercancel", a, { signal: i });
88
+ }
89
+ unregisterCustomDrag() {
90
+ this._customDragSignal.abort(), this._customDragSignal = new AbortController();
91
+ }
92
+ releaseInput(e) {
93
+ this._strategy.releaseInput(e);
94
+ }
95
+ };
96
+ export { d as a, n as c, h as d, g as f, c as h, p as i, i as l, t as m, y as n, m as o, r as p, s as r, f as s, b as t, _ as u };
@@ -1,14 +1,2 @@
1
- import { D as R, j as D, e as G, k as T, f as L, c as I, i as S, g as a, h as M, d as N, T as O } from "./embedding-plugins-DqMSzAJe.mjs";
2
- export {
3
- R as DragIn,
4
- D as RML_DRAG_GHOST_FADE_IN,
5
- G as RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS,
6
- T as RML_DRAG_GHOST_FADE_OUT,
7
- L as RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS,
8
- I as RML_DRAG_IN_DRAG_ELEMENT_ID,
9
- S as RML_DRAG_IN_FALLBACK_GHOST_HEIGHT,
10
- a as RML_DRAG_IN_FALLBACK_GHOST_URL,
11
- M as RML_DRAG_IN_FALLBACK_GHOST_WIDTH,
12
- N as RML_DRAG_IN_STYLES_ID,
13
- O as TARGET_OPACITY
14
- };
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-AFSAsnAN.mjs";
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 +1,2 @@
1
- import{D as _,j as A,e as s,k as a,f as R,c as D,i as G,g as T,h as L,d as I,T as S}from"./embedding-plugins-DLVs7ER4.mjs";export{_ as DragIn,A as RML_DRAG_GHOST_FADE_IN,s as RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS,a as RML_DRAG_GHOST_FADE_OUT,R as RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS,D as RML_DRAG_IN_DRAG_ELEMENT_ID,G as RML_DRAG_IN_FALLBACK_GHOST_HEIGHT,T as RML_DRAG_IN_FALLBACK_GHOST_URL,L as RML_DRAG_IN_FALLBACK_GHOST_WIDTH,I as RML_DRAG_IN_STYLES_ID,S as TARGET_OPACITY};
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-BwqVwCBp.mjs";
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 };