@realsee/dnalogel 3.31.1-dev.0 → 3.32.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  3. package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  5. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  6. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  7. package/dist/index.cjs.js +66 -66
  8. package/dist/index.js +5849 -5666
  9. package/dist/index.umd.js +59 -59
  10. package/libs/AreaMakerPlugin/Controller.js +54 -44
  11. package/libs/AreaMakerPlugin/index.js +13 -3
  12. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  13. package/libs/CruisePlugin/Move.js +50 -37
  14. package/libs/CruisePlugin/Work.js +19 -6
  15. package/libs/CruisePlugin/index.js +23 -10
  16. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  17. package/libs/GuideLinePlugin/Controller.js +46 -33
  18. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  19. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  20. package/libs/GuideLinePlugin/index.js +23 -10
  21. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  22. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  23. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  24. package/libs/ItemLabelPlugin/index.js +16 -5
  25. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  26. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  27. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  28. package/libs/ModelItemLabelPlugin/index.js +16 -5
  29. package/libs/ModelMakerPlugin/Controller.js +33 -23
  30. package/libs/ModelMakerPlugin/index.js +13 -3
  31. package/libs/ModelMakerPlugin/utils/Text.js +43 -33
  32. package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
  33. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  34. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  35. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  36. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  37. package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
  38. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  39. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  40. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  41. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  42. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  43. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  44. package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
  45. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  46. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  47. package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
  48. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  49. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
  50. package/libs/PanoMeasurePlugin/index.js +27 -16
  51. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  52. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  53. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  54. package/libs/PanoRulerProPlugin/index.js +15 -4
  55. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  56. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  57. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  58. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  59. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  60. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  61. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  62. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  63. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  64. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  65. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  66. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  67. package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
  68. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
  69. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  70. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  71. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  72. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  73. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  74. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  75. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  76. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  77. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  78. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  79. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  80. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  81. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
  82. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  83. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  84. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  85. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  86. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  87. package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
  88. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  89. package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
  90. package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  91. package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
  92. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  93. package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
  94. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  95. package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
  96. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  97. package/libs/PanoTagPlugin/controller/index.js +84 -65
  98. package/libs/PanoTagPlugin/index.js +28 -15
  99. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  100. package/libs/base/BasePlugin.js +1 -1
  101. package/libs/components/AreaLabel/LabelItem.js +56 -51
  102. package/libs/floorplan/Components/BaseImage.js +43 -39
  103. package/libs/floorplan/Components/Camera.js +41 -32
  104. package/libs/floorplan/Components/Compass.js +27 -24
  105. package/libs/floorplan/Components/CurrentFloor.js +167 -162
  106. package/libs/floorplan/Components/Main.js +85 -76
  107. package/libs/floorplan/Components/MissingFloor.js +24 -21
  108. package/libs/floorplan/Components/Normalmage.js +25 -22
  109. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  110. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  111. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
  112. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
  113. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  114. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  115. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  116. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  117. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  118. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  119. package/libs/floorplan/Components/SvgImage.js +30 -27
  120. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  121. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  122. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  123. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  124. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  125. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  126. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  127. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  128. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
  129. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  130. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
  131. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  132. package/libs/floorplan/index.js +1 -0
  133. package/libs/index.js +143 -129
  134. package/libs/shared-utils/logger.js +1 -1
  135. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  136. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  137. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  138. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  139. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  140. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  141. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  142. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  143. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  144. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  145. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  146. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  147. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  148. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  149. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  150. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  151. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  152. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  153. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  154. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  155. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  156. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  157. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  158. package/libs/vendor/svelte/src/shared/version.js +4 -0
  159. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  160. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  161. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  162. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  163. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  164. package/package.json +5 -6
  165. package/libs/vendor/svelte/internal/index.js +0 -749
  166. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  167. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,76 +1,79 @@
1
- import { SvelteComponent as _, init as w, safe_not_equal as y, svg_element as h, space as k, attr as t, insert as l, append as d, noop as c, detach as m } from "../../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as _, noop as u } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { svg_element as h, space as w, attr as t, insert as l, append as m, detach as d } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { SvelteComponent as y, init as k } from "../../../vendor/svelte/src/runtime/internal/Component.js";
4
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
5
  import { pathD as M } from "../../utils/formatPosition.js";
3
- function v(n) {
4
- let a, e, i, p, f, o;
6
+ function g(r) {
7
+ let i, e, o, n, f, a;
5
8
  return {
6
9
  c() {
7
- a = h("defs"), e = h("pattern"), i = h("rect"), p = h("path"), f = k(), o = h("path"), t(i, "x", "0"), t(i, "y", "0"), t(
8
- i,
10
+ i = h("defs"), e = h("pattern"), o = h("rect"), n = h("path"), f = w(), a = h("path"), t(o, "x", "0"), t(o, "y", "0"), t(
11
+ o,
9
12
  "width",
10
13
  /*width*/
11
- n[1]
14
+ r[1]
12
15
  ), t(
13
- i,
16
+ o,
14
17
  "height",
15
18
  /*width*/
16
- n[1]
17
- ), t(i, "fill", "#323747"), t(
18
- p,
19
+ r[1]
20
+ ), t(o, "fill", "#323747"), t(
21
+ n,
19
22
  "d",
20
23
  /*patternPathD*/
21
- n[2]
22
- ), t(p, "stroke", "#ffffff"), t(p, "stroke-opacity", "0.06"), t(p, "stroke-width", "0.5"), t(p, "fill", "none"), t(e, "id", "fpm-room-pattern-0"), t(e, "x", "0"), t(e, "y", "0"), t(
24
+ r[2]
25
+ ), t(n, "stroke", "#ffffff"), t(n, "stroke-opacity", "0.06"), t(n, "stroke-width", "0.5"), t(n, "fill", "none"), t(e, "id", "fpm-room-pattern-0"), t(e, "x", "0"), t(e, "y", "0"), t(
23
26
  e,
24
27
  "width",
25
28
  /*width*/
26
- n[1]
29
+ r[1]
27
30
  ), t(
28
31
  e,
29
32
  "height",
30
33
  /*width*/
31
- n[1]
34
+ r[1]
32
35
  ), t(e, "patternUnits", "userSpaceOnUse"), t(e, "patternTransform", "scale(50 50)"), t(
33
- o,
36
+ a,
34
37
  "d",
35
38
  /*d*/
36
- n[0]
37
- ), t(o, "fill", "url(#fpm-room-pattern-0)");
39
+ r[0]
40
+ ), t(a, "fill", "url(#fpm-room-pattern-0)");
38
41
  },
39
- m(r, s) {
40
- l(r, a, s), d(a, e), d(e, i), d(e, p), l(r, f, s), l(r, o, s);
42
+ m(p, s) {
43
+ l(p, i, s), m(i, e), m(e, o), m(e, n), l(p, f, s), l(p, a, s);
41
44
  },
42
- p(r, [s]) {
45
+ p(p, [s]) {
43
46
  s & /*d*/
44
47
  1 && t(
45
- o,
48
+ a,
46
49
  "d",
47
50
  /*d*/
48
- r[0]
51
+ p[0]
49
52
  );
50
53
  },
51
- i: c,
52
- o: c,
53
- d(r) {
54
- r && m(a), r && m(f), r && m(o);
54
+ i: u,
55
+ o: u,
56
+ d(p) {
57
+ p && (d(i), d(f), d(a));
55
58
  }
56
59
  };
57
60
  }
58
- const u = 6;
59
- function D(n, a, e) {
60
- let i, { path: p } = a;
61
- const f = u * 2, o = `M0 ${u} h ${f} M${u} 0 v ${f}`;
62
- return n.$$set = (r) => {
63
- "path" in r && e(3, p = r.path);
64
- }, n.$$.update = () => {
65
- n.$$.dirty & /*path*/
66
- 8 && e(0, i = M(p, { needZ: !0 }));
67
- }, [i, f, o, p];
61
+ const c = 6;
62
+ function v(r, i, e) {
63
+ let o, { path: n } = i;
64
+ const f = c * 2, a = `M0 ${c} h ${f} M${c} 0 v ${f}`;
65
+ return r.$$set = (p) => {
66
+ "path" in p && e(3, n = p.path);
67
+ }, r.$$.update = () => {
68
+ r.$$.dirty & /*path*/
69
+ 8 && e(0, o = M(n, { needZ: !0 }));
70
+ }, [o, f, a, n];
68
71
  }
69
- class $ extends _ {
70
- constructor(a) {
71
- super(), w(this, a, D, v, y, { path: 3 });
72
+ class C extends y {
73
+ constructor(i) {
74
+ super(), k(this, i, v, g, _, { path: 3 });
72
75
  }
73
76
  }
74
77
  export {
75
- $ as RoomMaterial_1
78
+ C as RoomMaterial_1
76
79
  };
@@ -1,15 +1,18 @@
1
- import { SvelteComponent as S, init as c, safe_not_equal as x, svg_element as f, space as U, attr as t, insert as s, append as w, noop as y, detach as m } from "../../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as y, noop as U } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { svg_element as s, space as B, attr as t, insert as m, append as c, detach as d } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { SvelteComponent as S, init as x } from "../../../vendor/svelte/src/runtime/internal/Component.js";
4
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
5
  import { pathD as D } from "../../utils/formatPosition.js";
3
6
  function O(o) {
4
- let n, i, p, r, l, _, d, k, h, B, u;
7
+ let l, r, p, e, a, w, f, _, h, k, u;
5
8
  return {
6
9
  c() {
7
- n = f("defs"), i = f("pattern"), p = f("rect"), r = f("pattern"), l = f("rect"), _ = U(), d = f("path"), k = U(), h = f("path"), B = U(), u = f("path"), t(p, "x", "0"), t(p, "y", "0"), t(p, "width", "6"), t(p, "height", "50"), t(p, "fill", "none"), t(p, "stroke", "#4B4B57"), t(p, "stroke-width", "0.5"), t(i, "id", "room-material-pattern-1"), t(i, "x", "0"), t(i, "y", "0"), t(i, "width", "12"), t(i, "height", "50"), t(i, "patternUnits", "userSpaceOnUse"), t(i, "patternTransform", "scale(50 50)"), t(l, "x", "0"), t(l, "y", "0"), t(l, "width", "6"), t(l, "height", "50"), t(l, "fill", "none"), t(l, "stroke", "#4B4B57"), t(l, "stroke-width", "0.5"), t(r, "id", "room-material-pattern-2"), t(r, "x", "6"), t(r, "y", "25"), t(r, "width", "12"), t(r, "height", "50"), t(r, "patternUnits", "userSpaceOnUse"), t(r, "patternTransform", "scale(50 50)"), t(
8
- d,
10
+ l = s("defs"), r = s("pattern"), p = s("rect"), e = s("pattern"), a = s("rect"), w = B(), f = s("path"), _ = B(), h = s("path"), k = B(), u = s("path"), t(p, "x", "0"), t(p, "y", "0"), t(p, "width", "6"), t(p, "height", "50"), t(p, "fill", "none"), t(p, "stroke", "#4B4B57"), t(p, "stroke-width", "0.5"), t(r, "id", "room-material-pattern-1"), t(r, "x", "0"), t(r, "y", "0"), t(r, "width", "12"), t(r, "height", "50"), t(r, "patternUnits", "userSpaceOnUse"), t(r, "patternTransform", "scale(50 50)"), t(a, "x", "0"), t(a, "y", "0"), t(a, "width", "6"), t(a, "height", "50"), t(a, "fill", "none"), t(a, "stroke", "#4B4B57"), t(a, "stroke-width", "0.5"), t(e, "id", "room-material-pattern-2"), t(e, "x", "6"), t(e, "y", "25"), t(e, "width", "12"), t(e, "height", "50"), t(e, "patternUnits", "userSpaceOnUse"), t(e, "patternTransform", "scale(50 50)"), t(
11
+ f,
9
12
  "d",
10
13
  /*d*/
11
14
  o[0]
12
- ), t(d, "fill", "#43434D"), t(
15
+ ), t(f, "fill", "#43434D"), t(
13
16
  h,
14
17
  "d",
15
18
  /*d*/
@@ -21,51 +24,51 @@ function O(o) {
21
24
  o[0]
22
25
  ), t(u, "fill", "url(#room-material-pattern-2)");
23
26
  },
24
- m(e, a) {
25
- s(e, n, a), w(n, i), w(i, p), w(n, r), w(r, l), s(e, _, a), s(e, d, a), s(e, k, a), s(e, h, a), s(e, B, a), s(e, u, a);
27
+ m(i, n) {
28
+ m(i, l, n), c(l, r), c(r, p), c(l, e), c(e, a), m(i, w, n), m(i, f, n), m(i, _, n), m(i, h, n), m(i, k, n), m(i, u, n);
26
29
  },
27
- p(e, [a]) {
28
- a & /*d*/
30
+ p(i, [n]) {
31
+ n & /*d*/
29
32
  1 && t(
30
- d,
33
+ f,
31
34
  "d",
32
35
  /*d*/
33
- e[0]
34
- ), a & /*d*/
36
+ i[0]
37
+ ), n & /*d*/
35
38
  1 && t(
36
39
  h,
37
40
  "d",
38
41
  /*d*/
39
- e[0]
40
- ), a & /*d*/
42
+ i[0]
43
+ ), n & /*d*/
41
44
  1 && t(
42
45
  u,
43
46
  "d",
44
47
  /*d*/
45
- e[0]
48
+ i[0]
46
49
  );
47
50
  },
48
- i: y,
49
- o: y,
50
- d(e) {
51
- e && m(n), e && m(_), e && m(d), e && m(k), e && m(h), e && m(B), e && m(u);
51
+ i: U,
52
+ o: U,
53
+ d(i) {
54
+ i && (d(l), d(w), d(f), d(_), d(h), d(k), d(u));
52
55
  }
53
56
  };
54
57
  }
55
- function T(o, n, i) {
56
- let p, { path: r } = n;
57
- return o.$$set = (l) => {
58
- "path" in l && i(1, r = l.path);
58
+ function T(o, l, r) {
59
+ let p, { path: e } = l;
60
+ return o.$$set = (a) => {
61
+ "path" in a && r(1, e = a.path);
59
62
  }, o.$$.update = () => {
60
63
  o.$$.dirty & /*path*/
61
- 2 && i(0, p = D(r, { needZ: !0 }));
62
- }, [p, r];
64
+ 2 && r(0, p = D(e, { needZ: !0 }));
65
+ }, [p, e];
63
66
  }
64
- class C extends S {
65
- constructor(n) {
66
- super(), c(this, n, T, O, x, { path: 1 });
67
+ class Z extends S {
68
+ constructor(l) {
69
+ super(), x(this, l, T, O, y, { path: 1 });
67
70
  }
68
71
  }
69
72
  export {
70
- C as RoomMaterial_2
73
+ Z as RoomMaterial_2
71
74
  };
@@ -1,16 +1,20 @@
1
- import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X, destroy_block as Y, noop as T, detach as z, destroy_each as A, text as B, set_data as E } from "../../../vendor/svelte/internal/index.js";
2
- function F(i) {
3
- S(i, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
1
+ import { safe_not_equal as O, noop as T } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as P, element as h, space as D, attr as d, toggle_class as R, set_style as j, insert as z, append as c, detach as W, destroy_each as S, text as X, set_data as Y } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { ensure_array_like as x, update_keyed_each as A, destroy_block as B } from "../../../vendor/svelte/src/runtime/internal/each.js";
4
+ import { SvelteComponent as E, init as F } from "../../../vendor/svelte/src/runtime/internal/Component.js";
5
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
6
+ function G(i) {
7
+ P(i, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
4
8
  }
5
- function q(i, e, n) {
9
+ function C(i, e, n) {
6
10
  const s = i.slice();
7
11
  return s[11] = e[n], s[13] = n, s;
8
12
  }
9
- function C(i, e, n) {
13
+ function H(i, e, n) {
10
14
  const s = i.slice();
11
15
  return s[14] = e[n], s;
12
16
  }
13
- function H(i) {
17
+ function I(i) {
14
18
  let e;
15
19
  return {
16
20
  c() {
@@ -27,15 +31,15 @@ function H(i) {
27
31
  );
28
32
  },
29
33
  m(n, s) {
30
- D(n, e, s);
34
+ z(n, e, s);
31
35
  },
32
36
  p: T,
33
37
  d(n) {
34
- n && z(e);
38
+ n && W(e);
35
39
  }
36
40
  };
37
41
  }
38
- function I(i, e) {
42
+ function L(i, e) {
39
43
  let n, s, p = (
40
44
  /*getRuleDistanceText*/
41
45
  e[1](
@@ -47,7 +51,7 @@ function I(i, e) {
47
51
  key: i,
48
52
  first: null,
49
53
  c() {
50
- n = h("div"), s = h("div"), u = B(p), m = R(), d(s, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(
54
+ n = h("div"), s = h("div"), u = X(p), m = D(), d(s, "class", "floorplan-plugin__rule-text svelte-djlmk4"), R(
51
55
  s,
52
56
  "is-row",
53
57
  /*isRow*/
@@ -65,7 +69,7 @@ function I(i, e) {
65
69
  ), this.first = n;
66
70
  },
67
71
  m(r, _) {
68
- D(r, n, _), c(n, s), c(s, u), c(n, m);
72
+ z(r, n, _), c(n, s), c(s, u), c(n, m);
69
73
  },
70
74
  p(r, _) {
71
75
  e = r, _ & /*getRuleDistanceText*/
@@ -73,21 +77,21 @@ function I(i, e) {
73
77
  e[1](
74
78
  /*textItem*/
75
79
  e[11].distance
76
- ) + "") && E(u, p);
80
+ ) + "") && Y(u, p);
77
81
  },
78
82
  d(r) {
79
- r && z(n);
83
+ r && W(n);
80
84
  }
81
85
  };
82
86
  }
83
- function G(i) {
84
- let e, n, s, p, u, m, r = [], _ = /* @__PURE__ */ new Map(), g, f = (
87
+ function J(i) {
88
+ let e, n, s, p, u, m, r = [], _ = /* @__PURE__ */ new Map(), g, f = x(
85
89
  /*rulerLabels*/
86
90
  i[3]
87
91
  ), a = [];
88
92
  for (let l = 0; l < f.length; l += 1)
89
- a[l] = H(C(i, f, l));
90
- let v = (
93
+ a[l] = I(H(i, f, l));
94
+ let v = x(
91
95
  /*rulerTexts*/
92
96
  i[4]
93
97
  );
@@ -96,24 +100,24 @@ function G(i) {
96
100
  l[13]
97
101
  );
98
102
  for (let l = 0; l < v.length; l += 1) {
99
- let o = q(i, v, l), t = w(o);
100
- _.set(t, r[l] = I(t, o));
103
+ let o = C(i, v, l), t = w(o);
104
+ _.set(t, r[l] = L(t, o));
101
105
  }
102
106
  return {
103
107
  c() {
104
- e = h("div"), n = h("div"), s = R(), p = h("div");
108
+ e = h("div"), n = h("div"), s = D(), p = h("div");
105
109
  for (let l = 0; l < a.length; l += 1)
106
110
  a[l].c();
107
- u = R(), m = h("div");
111
+ u = D(), m = h("div");
108
112
  for (let l = 0; l < r.length; l += 1)
109
113
  r[l].c();
110
- d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(
114
+ d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), R(
111
115
  p,
112
116
  "is-row",
113
117
  /*isRow*/
114
118
  i[2]
115
119
  ), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
116
- i[0] + " svelte-djlmk4"), x(
120
+ i[0] + " svelte-djlmk4"), R(
117
121
  e,
118
122
  "is-row",
119
123
  /*isRow*/
@@ -127,7 +131,7 @@ function G(i) {
127
131
  i[2] ? 1 / 16 + "rem" : "100%");
128
132
  },
129
133
  m(l, o) {
130
- D(l, e, o), c(e, n), c(e, s), c(e, p);
134
+ z(l, e, o), c(e, n), c(e, s), c(e, p);
131
135
  for (let t = 0; t < a.length; t += 1)
132
136
  a[t] && a[t].m(p, null);
133
137
  c(e, u), c(e, m);
@@ -137,23 +141,27 @@ function G(i) {
137
141
  p(l, [o]) {
138
142
  if (o & /*rulerLabels*/
139
143
  8) {
140
- f = /*rulerLabels*/
141
- l[3];
144
+ f = x(
145
+ /*rulerLabels*/
146
+ l[3]
147
+ );
142
148
  let t;
143
149
  for (t = 0; t < f.length; t += 1) {
144
- const y = C(l, f, t);
145
- a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(p, null));
150
+ const y = H(l, f, t);
151
+ a[t] ? a[t].p(y, o) : (a[t] = I(y), a[t].c(), a[t].m(p, null));
146
152
  }
147
153
  for (; t < a.length; t += 1)
148
154
  a[t].d(1);
149
155
  a.length = f.length;
150
156
  }
151
157
  o & /*rulerTexts, isRow, getRuleDistanceText*/
152
- 22 && (v = /*rulerTexts*/
153
- l[4], r = X(r, o, w, 1, l, v, _, m, Y, I, null, q)), o & /*type*/
158
+ 22 && (v = x(
159
+ /*rulerTexts*/
160
+ l[4]
161
+ ), r = A(r, o, w, 1, l, v, _, m, B, L, null, C)), o & /*type*/
154
162
  1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
155
163
  l[0] + " svelte-djlmk4") && d(e, "class", g), o & /*type, isRow*/
156
- 5 && x(
164
+ 5 && R(
157
165
  e,
158
166
  "is-row",
159
167
  /*isRow*/
@@ -163,14 +171,14 @@ function G(i) {
163
171
  i: T,
164
172
  o: T,
165
173
  d(l) {
166
- l && z(e), A(a, l);
174
+ l && W(e), S(a, l);
167
175
  for (let o = 0; o < r.length; o += 1)
168
176
  r[o].d();
169
177
  }
170
178
  };
171
179
  }
172
180
  const k = 1e3, b = 180;
173
- function J(i, e, n) {
181
+ function K(i, e, n) {
174
182
  let { type: s } = e, { data: p } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
175
183
  const r = s === "top" || s === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, f = p.map(([l, o]) => r ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = f.map((l) => {
176
184
  const o = r ? (l - u.min.x - k + b) / _ : 0, t = r ? 0 : (l - u.min.y - k + b) / g;
@@ -178,31 +186,31 @@ function J(i, e, n) {
178
186
  });
179
187
  a.unshift({ left: 0, bottom: 0 }), a.push(r ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
180
188
  const v = f[f.length - 1] - f[0], w = f.map((l, o, t) => {
181
- const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = r ? (W - u.min.x - k + b) / _ : 0, M = r ? 0 : (W - u.min.y - k + b) / g;
182
- return { left: L, bottom: M, distance: y };
189
+ const y = o === 0 ? 0 : l - t[o - 1], q = o === 0 ? 0 : (l + t[o - 1]) / 2, M = r ? (q - u.min.x - k + b) / _ : 0, N = r ? 0 : (q - u.min.y - k + b) / g;
190
+ return { left: M, bottom: N, distance: y };
183
191
  }).filter(({ distance: l }) => l / v > 0.1);
184
192
  return i.$$set = (l) => {
185
193
  "type" in l && n(0, s = l.type), "data" in l && n(5, p = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
186
194
  }, [s, m, r, a, w, p, u];
187
195
  }
188
- class Q extends N {
196
+ class ll extends E {
189
197
  constructor(e) {
190
- super(), O(
198
+ super(), F(
191
199
  this,
192
200
  e,
201
+ K,
193
202
  J,
194
- G,
195
- P,
203
+ O,
196
204
  {
197
205
  type: 0,
198
206
  data: 5,
199
207
  bounding: 6,
200
208
  getRuleDistanceText: 1
201
209
  },
202
- F
210
+ G
203
211
  );
204
212
  }
205
213
  }
206
214
  export {
207
- Q as RuleItem
215
+ ll as RuleItem
208
216
  };