@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,10 +1,22 @@
1
- import { SvelteComponent as L, init as Q, safe_not_equal as T, append_styles as V, empty as X, insert as D, transition_in as u, transition_out as _, check_outros as P, detach as y, onMount as Y, element as R, attr as B, action_destroyer as Z, listen as H, group_outros as G, run_all as x, assign as W, create_component as z, space as $, set_style as I, mount_component as C, append as ee, get_spread_update as S, destroy_component as A } from "../../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as L, action_destroyer as Q, run_all as T, assign as H } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as V, empty as X, insert as D, detach as y, element as P, attr as R, listen as W, space as Y, set_style as I, append as Z } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as u, transition_out as d, check_outros as B, group_outros as G } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { onMount as x } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
5
+ import { get_spread_update as z } from "../../../vendor/svelte/src/runtime/internal/spread.js";
6
+ import { SvelteComponent as $, init as ee, create_component as C, mount_component as S, destroy_component as A } from "../../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
8
  import te from "./Camera.js";
3
- import le from "./CurrentFloor/CurrentFloor.js";
4
- import { svelteResizeObserver as re } from "../../../shared-utils/svelte/resizeObserver.js";
9
+ import re from "./CurrentFloor/CurrentFloor.js";
10
+ import { svelteResizeObserver as le } from "../../../shared-utils/svelte/resizeObserver.js";
11
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
12
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
13
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
14
+ import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
15
+ import "../../../vendor/svelte/src/shared/version.js";
5
16
  import "../../Assets/camera.js";
6
17
  import "../../../shared-utils/throttle.js";
7
18
  import "./CurrentFloor/ExtraObjects.js";
19
+ import "../../../vendor/svelte/src/runtime/internal/each.js";
8
20
  import "../../Components/BaseImage.js";
9
21
  import "../../Components/Normalmage.js";
10
22
  import "../../Components/SvgImage.js";
@@ -12,130 +24,130 @@ import "../../Components/RoomHighlight/RoomHighlight.js";
12
24
  import "../../Components/RoomHighlight/Room.js";
13
25
  import "../../utils/formatPosition.js";
14
26
  import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
15
- function ne(i) {
16
- V(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
27
+ function ie(n) {
28
+ V(n, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
17
29
  }
18
- function M(i) {
19
- let e, r, l, a, n = (
30
+ function M(n) {
31
+ let e, l, r, a, i = (
20
32
  /*clientWidth*/
21
- i[8] !== 0 && N(i)
33
+ n[8] !== 0 && N(n)
22
34
  );
23
35
  return {
24
36
  c() {
25
- e = R("div"), n && n.c(), B(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
37
+ e = P("div"), i && i.c(), R(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
26
38
  },
27
- m(f, m) {
28
- D(f, e, m), n && n.m(e, null), r = !0, l || (a = [
29
- Z(re.call(null, e)),
30
- H(
39
+ m(m, f) {
40
+ D(m, e, f), i && i.m(e, null), l = !0, r || (a = [
41
+ Q(le.call(null, e)),
42
+ W(
31
43
  e,
32
44
  "clientWidth",
33
45
  /*clientWidth_handler*/
34
- i[14]
46
+ n[14]
35
47
  ),
36
- H(
48
+ W(
37
49
  e,
38
50
  "clientHeight",
39
51
  /*clientHeight_handler*/
40
- i[15]
52
+ n[15]
41
53
  )
42
- ], l = !0);
54
+ ], r = !0);
43
55
  },
44
- p(f, m) {
56
+ p(m, f) {
45
57
  /*clientWidth*/
46
- f[8] !== 0 ? n ? (n.p(f, m), m & /*clientWidth*/
47
- 256 && u(n, 1)) : (n = N(f), n.c(), u(n, 1), n.m(e, null)) : n && (G(), _(n, 1, 1, () => {
48
- n = null;
49
- }), P());
58
+ m[8] !== 0 ? i ? (i.p(m, f), f & /*clientWidth*/
59
+ 256 && u(i, 1)) : (i = N(m), i.c(), u(i, 1), i.m(e, null)) : i && (G(), d(i, 1, 1, () => {
60
+ i = null;
61
+ }), B());
50
62
  },
51
- i(f) {
52
- r || (u(n), r = !0);
63
+ i(m) {
64
+ l || (u(i), l = !0);
53
65
  },
54
- o(f) {
55
- _(n), r = !1;
66
+ o(m) {
67
+ d(i), l = !1;
56
68
  },
57
- d(f) {
58
- f && y(e), n && n.d(), l = !1, x(a);
69
+ d(m) {
70
+ m && y(e), i && i.d(), r = !1, T(a);
59
71
  }
60
72
  };
61
73
  }
62
- function N(i) {
63
- let e, r, l, a, n = `${/*contentWidth*/
64
- i[10]}px`, f = `${/*contentHeight*/
65
- i[13]}px`, m;
74
+ function N(n) {
75
+ let e, l, r, a, i = `${/*contentWidth*/
76
+ n[10]}px`, m = `${/*contentHeight*/
77
+ n[13]}px`, f;
66
78
  const g = [
67
79
  {
68
80
  five: (
69
81
  /*five*/
70
- i[0]
82
+ n[0]
71
83
  ),
72
84
  pxmm: (
73
85
  /*pxmm*/
74
- i[11]
86
+ n[11]
75
87
  ),
76
88
  floorIndex: (
77
89
  /*floorIndex*/
78
- i[12]
90
+ n[12]
79
91
  ),
80
92
  floorplanData: (
81
93
  /*floorplanData*/
82
- i[3]
94
+ n[3]
83
95
  ),
84
96
  hoverEnable: (
85
97
  /*hoverEnable*/
86
- i[2]
98
+ n[2]
87
99
  ),
88
100
  extraObjects: (
89
101
  /*extraObjects*/
90
- i[5]
102
+ n[5]
91
103
  ),
92
104
  highlightData: (
93
105
  /*highlightData*/
94
- i[6]
106
+ n[6]
95
107
  ),
96
108
  missingFloorImageUrl: (
97
109
  /*missingFloorImageUrl*/
98
- i[7]
110
+ n[7]
99
111
  )
100
112
  }
101
113
  ];
102
114
  let c = {};
103
115
  for (let t = 0; t < g.length; t += 1)
104
- c = W(c, g[t]);
105
- r = new le({ props: c });
116
+ c = H(c, g[t]);
117
+ l = new re({ props: c });
106
118
  const h = [
107
119
  {
108
120
  pxmm: (
109
121
  /*pxmm*/
110
- i[11]
122
+ n[11]
111
123
  ),
112
124
  five: (
113
125
  /*five*/
114
- i[0]
126
+ n[0]
115
127
  ),
116
128
  floorplanData: (
117
129
  /*floorplanData*/
118
- i[3]
130
+ n[3]
119
131
  ),
120
132
  cameraImageUrl: (
121
133
  /*cameraImageUrl*/
122
- i[4]
134
+ n[4]
123
135
  )
124
136
  }
125
137
  ];
126
- let d = {};
138
+ let p = {};
127
139
  for (let t = 0; t < h.length; t += 1)
128
- d = W(d, h[t]);
129
- return a = new te({ props: d }), {
140
+ p = H(p, h[t]);
141
+ return a = new te({ props: p }), {
130
142
  c() {
131
- e = R("div"), z(r.$$.fragment), l = $(), z(a.$$.fragment), B(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), I(e, "width", n), I(e, "height", f);
143
+ e = P("div"), C(l.$$.fragment), r = Y(), C(a.$$.fragment), R(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), I(e, "width", i), I(e, "height", m);
132
144
  },
133
145
  m(t, s) {
134
- D(t, e, s), C(r, e, null), ee(e, l), C(a, e, null), m = !0;
146
+ D(t, e, s), S(l, e, null), Z(e, r), S(a, e, null), f = !0;
135
147
  },
136
148
  p(t, s) {
137
- const p = s & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData, missingFloorImageUrl*/
138
- 6381 ? S(g, [
149
+ const _ = s & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData, missingFloorImageUrl*/
150
+ 6381 ? z(g, [
139
151
  {
140
152
  five: (
141
153
  /*five*/
@@ -171,9 +183,9 @@ function N(i) {
171
183
  )
172
184
  }
173
185
  ]) : {};
174
- r.$set(p);
186
+ l.$set(_);
175
187
  const v = s & /*pxmm, five, floorplanData, cameraImageUrl*/
176
- 2073 ? S(h, [
188
+ 2073 ? z(h, [
177
189
  {
178
190
  pxmm: (
179
191
  /*pxmm*/
@@ -194,103 +206,103 @@ function N(i) {
194
206
  }
195
207
  ]) : {};
196
208
  a.$set(v), s & /*contentWidth*/
197
- 1024 && n !== (n = `${/*contentWidth*/
198
- t[10]}px`) && I(e, "width", n), s & /*contentHeight*/
199
- 8192 && f !== (f = `${/*contentHeight*/
200
- t[13]}px`) && I(e, "height", f);
209
+ 1024 && i !== (i = `${/*contentWidth*/
210
+ t[10]}px`) && I(e, "width", i), s & /*contentHeight*/
211
+ 8192 && m !== (m = `${/*contentHeight*/
212
+ t[13]}px`) && I(e, "height", m);
201
213
  },
202
214
  i(t) {
203
- m || (u(r.$$.fragment, t), u(a.$$.fragment, t), m = !0);
215
+ f || (u(l.$$.fragment, t), u(a.$$.fragment, t), f = !0);
204
216
  },
205
217
  o(t) {
206
- _(r.$$.fragment, t), _(a.$$.fragment, t), m = !1;
218
+ d(l.$$.fragment, t), d(a.$$.fragment, t), f = !1;
207
219
  },
208
220
  d(t) {
209
- t && y(e), A(r), A(a);
221
+ t && y(e), A(l), A(a);
210
222
  }
211
223
  };
212
224
  }
213
- function ie(i) {
214
- let e, r, l = (
225
+ function ne(n) {
226
+ let e, l, r = (
215
227
  /*visible*/
216
- i[1] && M(i)
228
+ n[1] && M(n)
217
229
  );
218
230
  return {
219
231
  c() {
220
- l && l.c(), e = X();
232
+ r && r.c(), e = X();
221
233
  },
222
- m(a, n) {
223
- l && l.m(a, n), D(a, e, n), r = !0;
234
+ m(a, i) {
235
+ r && r.m(a, i), D(a, e, i), l = !0;
224
236
  },
225
- p(a, [n]) {
237
+ p(a, [i]) {
226
238
  /*visible*/
227
- a[1] ? l ? (l.p(a, n), n & /*visible*/
228
- 2 && u(l, 1)) : (l = M(a), l.c(), u(l, 1), l.m(e.parentNode, e)) : l && (G(), _(l, 1, 1, () => {
229
- l = null;
230
- }), P());
239
+ a[1] ? r ? (r.p(a, i), i & /*visible*/
240
+ 2 && u(r, 1)) : (r = M(a), r.c(), u(r, 1), r.m(e.parentNode, e)) : r && (G(), d(r, 1, 1, () => {
241
+ r = null;
242
+ }), B());
231
243
  },
232
244
  i(a) {
233
- r || (u(l), r = !0);
245
+ l || (u(r), l = !0);
234
246
  },
235
247
  o(a) {
236
- _(l), r = !1;
248
+ d(r), l = !1;
237
249
  },
238
250
  d(a) {
239
- l && l.d(a), a && y(e);
251
+ a && y(e), r && r.d(a);
240
252
  }
241
253
  };
242
254
  }
243
- function oe(i, e, r) {
255
+ function oe(n, e, l) {
244
256
  var w, j;
245
- let { five: l } = e, { visible: a } = e, { hoverEnable: n } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: g = [] } = e, { highlightData: c } = e, { missingFloorImageUrl: h } = e, d = 0, t = (j = (w = l.work.observers[l.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? j : 0, s = 0, p = 0, v = 0, U = 0;
257
+ let { five: r } = e, { visible: a } = e, { hoverEnable: i } = e, { floorplanData: m } = e, { cameraImageUrl: f } = e, { extraObjects: g = [] } = e, { highlightData: c } = e, { missingFloorImageUrl: h } = e, p = 0, t = (j = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? j : 0, s = 0, _ = 0, v = 0, U = 0;
246
258
  function k(o) {
247
- r(12, t = l.work.observers[o].floorIndex);
259
+ l(12, t = r.work.observers[o].floorIndex);
248
260
  }
249
- Y(() => (l.on("panoArrived", k), () => {
250
- l.off("panoArrived", k);
261
+ x(() => (r.on("panoArrived", k), () => {
262
+ r.off("panoArrived", k);
251
263
  }));
252
264
  const J = (o) => {
253
- r(8, s = o.detail);
265
+ l(8, s = o.detail);
254
266
  }, K = (o) => {
255
- r(9, p = o.detail);
267
+ l(9, _ = o.detail);
256
268
  };
257
- return i.$$set = (o) => {
258
- "five" in o && r(0, l = o.five), "visible" in o && r(1, a = o.visible), "hoverEnable" in o && r(2, n = o.hoverEnable), "floorplanData" in o && r(3, f = o.floorplanData), "cameraImageUrl" in o && r(4, m = o.cameraImageUrl), "extraObjects" in o && r(5, g = o.extraObjects), "highlightData" in o && r(6, c = o.highlightData), "missingFloorImageUrl" in o && r(7, h = o.missingFloorImageUrl);
259
- }, i.$$.update = () => {
260
- if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
269
+ return n.$$set = (o) => {
270
+ "five" in o && l(0, r = o.five), "visible" in o && l(1, a = o.visible), "hoverEnable" in o && l(2, i = o.hoverEnable), "floorplanData" in o && l(3, m = o.floorplanData), "cameraImageUrl" in o && l(4, f = o.cameraImageUrl), "extraObjects" in o && l(5, g = o.extraObjects), "highlightData" in o && l(6, c = o.highlightData), "missingFloorImageUrl" in o && l(7, h = o.missingFloorImageUrl);
271
+ }, n.$$.update = () => {
272
+ if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
261
273
  1800) {
262
- const o = Math.min(s, p), { max: F, min: O } = f.bounding, b = F.x - O.x, q = F.y - O.y, E = function() {
274
+ const o = Math.min(s, _), { max: F, min: O } = m.bounding, b = F.x - O.x, q = F.y - O.y, E = function() {
263
275
  return b > q ? [o, o / b * q] : [o / q * b, o];
264
276
  }();
265
- r(10, v = E[0]), r(13, U = E[1]), r(11, d = v / b);
277
+ l(10, v = E[0]), l(13, U = E[1]), l(11, p = v / b);
266
278
  }
267
279
  }, [
268
- l,
280
+ r,
269
281
  a,
270
- n,
271
- f,
282
+ i,
272
283
  m,
284
+ f,
273
285
  g,
274
286
  c,
275
287
  h,
276
288
  s,
277
- p,
289
+ _,
278
290
  v,
279
- d,
291
+ p,
280
292
  t,
281
293
  U,
282
294
  J,
283
295
  K
284
296
  ];
285
297
  }
286
- class De extends L {
298
+ class Ce extends $ {
287
299
  constructor(e) {
288
- super(), Q(
300
+ super(), ee(
289
301
  this,
290
302
  e,
291
303
  oe,
292
- ie,
293
- T,
304
+ ne,
305
+ L,
294
306
  {
295
307
  five: 0,
296
308
  visible: 1,
@@ -301,10 +313,10 @@ class De extends L {
301
313
  highlightData: 6,
302
314
  missingFloorImageUrl: 7
303
315
  },
304
- ne
316
+ ie
305
317
  );
306
318
  }
307
319
  }
308
320
  export {
309
- De as default
321
+ Ce as default
310
322
  };
@@ -1,42 +1,54 @@
1
1
  var g = Object.defineProperty, w = Object.defineProperties;
2
2
  var v = Object.getOwnPropertyDescriptors;
3
- var m = Object.getOwnPropertySymbols;
3
+ var f = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var u = (r, e, t) => e in r ? g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e) => {
5
+ var u = (s, e, t) => e in s ? g(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, p = (s, e) => {
6
6
  for (var t in e || (e = {}))
7
- A.call(e, t) && u(r, t, e[t]);
8
- if (m)
9
- for (var t of m(e))
10
- S.call(e, t) && u(r, t, e[t]);
11
- return r;
12
- }, f = (r, e) => w(r, v(e));
13
- var o = (r, e, t) => (u(r, typeof e != "symbol" ? e + "" : e, t), t);
14
- var c = (r, e, t) => new Promise((i, s) => {
7
+ A.call(e, t) && u(s, t, e[t]);
8
+ if (f)
9
+ for (var t of f(e))
10
+ S.call(e, t) && u(s, t, e[t]);
11
+ return s;
12
+ }, m = (s, e) => w(s, v(e));
13
+ var o = (s, e, t) => (u(s, typeof e != "symbol" ? e + "" : e, t), t);
14
+ var c = (s, e, t) => new Promise((i, r) => {
15
15
  var a = (n) => {
16
16
  try {
17
17
  d(t.next(n));
18
18
  } catch (l) {
19
- s(l);
19
+ r(l);
20
20
  }
21
21
  }, h = (n) => {
22
22
  try {
23
23
  d(t.throw(n));
24
24
  } catch (l) {
25
- s(l);
25
+ r(l);
26
26
  }
27
27
  }, d = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(a, h);
28
- d((t = t.apply(r, e)).next());
28
+ d((t = t.apply(s, e)).next());
29
29
  });
30
30
  import _ from "./Components/Main.js";
31
31
  import { equal as y } from "../../shared-utils/equal.js";
32
32
  import { CAMERA_IMAGE as D } from "../Assets/camera.js";
33
33
  import { Controller as O } from "../../base/BasePluginWithData.js";
34
34
  import { formatData as b, formatExtraObjects as x } from "../utils/formatData.js";
35
- import "../../vendor/svelte/internal/index.js";
35
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
36
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
37
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
38
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
39
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
40
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
41
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
42
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
43
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
44
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
45
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
46
+ import "../../vendor/svelte/src/shared/version.js";
36
47
  import "./Components/Camera.js";
37
48
  import "../../shared-utils/throttle.js";
38
49
  import "./Components/CurrentFloor/CurrentFloor.js";
39
50
  import "./Components/CurrentFloor/ExtraObjects.js";
51
+ import "../../vendor/svelte/src/runtime/internal/each.js";
40
52
  import "../Components/BaseImage.js";
41
53
  import "../Components/Normalmage.js";
42
54
  import "../Components/SvgImage.js";
@@ -70,7 +82,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
70
82
  import "animejs";
71
83
  import "../../shared-utils/url/absoluteUrl.js";
72
84
  import "../Assets/floorplanExtraObject.js";
73
- class gt extends O {
85
+ class Et extends O {
74
86
  constructor(t, i) {
75
87
  super(t);
76
88
  // =============== public properties =================
@@ -96,26 +108,26 @@ class gt extends O {
96
108
  this.highlightData = {}, this.render();
97
109
  });
98
110
  o(this, "_disable", (t) => {
99
- var s;
111
+ var r;
100
112
  const { userAction: i } = t;
101
- (s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: i });
113
+ (r = this.app) == null || r.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: i });
102
114
  });
103
115
  this.five = t;
104
- const s = {
116
+ const r = {
105
117
  hoverEnable: !0,
106
118
  highlightEnable: !0,
107
119
  cameraImageUrl: D,
108
120
  missingFloorImageUrl: this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
109
- }, a = p(p({}, s), i == null ? void 0 : i.configs);
121
+ }, a = p(p({}, r), i == null ? void 0 : i.configs);
110
122
  this.state = { enabled: !0, visible: !0, config: a }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), t.once("dispose", this.dispose);
111
123
  }
112
- load(t, i, s = !0) {
124
+ load(t, i, r = !0) {
113
125
  return c(this, null, function* () {
114
126
  function a(l) {
115
127
  return Object.prototype.hasOwnProperty.apply(l, ["version"]);
116
128
  }
117
129
  const h = JSON.parse(JSON.stringify(t)), d = a(h) ? h.data : h, n = this.data;
118
- this.data = yield b(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), i && this.updateState(i, s), this.render();
130
+ this.data = yield b(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), i && this.updateState(i, r), this.render();
119
131
  });
120
132
  }
121
133
  show() {
@@ -148,12 +160,12 @@ class gt extends O {
148
160
  }
149
161
  /** 更改插件 State */
150
162
  setState(t, i = {}) {
151
- const s = this.state, a = i.userAction !== void 0 ? i.userAction : !0;
152
- if (this.updateState(t, a), t.enabled !== void 0 && s.enabled !== t.enabled) {
163
+ const r = this.state, a = i.userAction !== void 0 ? i.userAction : !0;
164
+ if (this.updateState(t, a), t.enabled !== void 0 && r.enabled !== t.enabled) {
153
165
  const h = { userAction: a };
154
166
  t.enabled ? this._enable(h) : this._disable(h);
155
167
  }
156
- if (t.visible !== void 0 && s.visible !== t.visible) {
168
+ if (t.visible !== void 0 && r.visible !== t.visible) {
157
169
  const h = { userAction: a };
158
170
  t.visible ? this._show(h) : this._hide(h);
159
171
  }
@@ -190,8 +202,8 @@ class gt extends O {
190
202
  this.hooks.emit("hide", { userAction: i }), this.render();
191
203
  }
192
204
  updateState(t, i) {
193
- const s = this.state, a = t.config ? p(p({}, s.config), t.config) : s.config;
194
- this.state = f(p(p({}, this.state), t), { config: a }), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
205
+ const r = this.state, a = t.config ? p(p({}, r.config), t.config) : r.config;
206
+ this.state = m(p(p({}, this.state), t), { config: a }), !y(this.state, r, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: r, userAction: i });
195
207
  }
196
208
  render() {
197
209
  if (this.disposed || !this.state.enabled)
@@ -202,7 +214,7 @@ class gt extends O {
202
214
  }
203
215
  if (!this.data || !this.wrapper)
204
216
  return;
205
- const t = f(p({}, this.state.config), {
217
+ const t = m(p({}, this.state.config), {
206
218
  five: this.five,
207
219
  floorplanData: this.data,
208
220
  visible: this.state.visible,
@@ -213,5 +225,5 @@ class gt extends O {
213
225
  }
214
226
  }
215
227
  export {
216
- gt as Controller
228
+ Et as Controller
217
229
  };
@@ -1,11 +1,23 @@
1
1
  import { Controller as t } from "./Controller.js";
2
2
  import "./Components/Main.js";
3
- import "../../vendor/svelte/internal/index.js";
3
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
4
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
5
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
6
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
7
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
8
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
9
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
10
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
11
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
12
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
13
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
14
+ import "../../vendor/svelte/src/shared/version.js";
4
15
  import "./Components/Camera.js";
5
16
  import "../Assets/camera.js";
6
17
  import "../../shared-utils/throttle.js";
7
18
  import "./Components/CurrentFloor/CurrentFloor.js";
8
19
  import "./Components/CurrentFloor/ExtraObjects.js";
20
+ import "../../vendor/svelte/src/runtime/internal/each.js";
9
21
  import "../Components/BaseImage.js";
10
22
  import "../Components/Normalmage.js";
11
23
  import "../Components/SvgImage.js";
@@ -42,8 +54,8 @@ import "animejs";
42
54
  import "../../shared-utils/url/absoluteUrl.js";
43
55
  import "../utils/formatData.js";
44
56
  import "../Assets/floorplanExtraObject.js";
45
- const V = (o, r) => new t(o, r);
57
+ const mo = (o, r) => new t(o, r);
46
58
  export {
47
- V as PanoFloorplanRadarPlugin,
48
- V as default
59
+ mo as PanoFloorplanRadarPlugin,
60
+ mo as default
49
61
  };