@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,18 +1,29 @@
1
- import { SvelteComponent as U, init as W, safe_not_equal as X, append_styles as Y, empty as x, insert as I, transition_in as h, transition_out as y, check_outros as L, detach as N, getContext as $, element as P, space as ee, attr as u, null_to_empty as E, set_style as w, toggle_class as b, append as F, group_outros as Z, binding_callbacks as te, noop as T, create_component as K, mount_component as O, destroy_component as Q } from "../../vendor/svelte/internal/index.js";
2
- import ie from "./Tag/index.js";
1
+ import { safe_not_equal as U, null_to_empty as E, noop as T } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as W, empty as X, insert as I, detach as N, element as P, space as Y, attr as u, set_style as w, toggle_class as b, append as F } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as h, transition_out as y, check_outros as L, group_outros as Z } from "../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { binding_callbacks as x } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { getContext as $ } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
6
+ import { SvelteComponent as tt, init as et, create_component as K, mount_component as O, destroy_component as Q } from "../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import it from "./Tag/index.js";
3
9
  import "three";
4
10
  import { noTypecheck as G } from "../utils/noTypecheck.js";
5
- import ne from "./Common/TagPoint.js";
11
+ import ot from "./Common/TagPoint.js";
6
12
  import { classnames as H } from "../../vendor/classnames/index.js";
13
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
14
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
15
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
16
+ import "../../vendor/svelte/src/shared/version.js";
7
17
  import "./Tag/TextTag/index.js";
8
18
  import "./Tag/TextTag/TextTag.js";
9
19
  import "./Common/Line/Straight.js";
10
- import "../../vendor/svelte/transition/index.js";
11
- import "../../vendor/svelte/easing/index.js";
20
+ import "../../vendor/svelte/src/runtime/transition/index.js";
21
+ import "../../vendor/svelte/src/runtime/easing/index.js";
12
22
  import "../../shared-utils/uuid.js";
13
23
  import "./Common/Shadow.js";
14
24
  import "./Common/Text/FlyMText.js";
15
25
  import "./Common/Text/FlyText.js";
26
+ import "../../vendor/svelte/src/runtime/internal/each.js";
16
27
  import "animejs";
17
28
  import "../../shared-utils/isNil.js";
18
29
  import "../utils/search.js";
@@ -28,6 +39,7 @@ import "../utils/px2rem.js";
28
39
  import "./Tag/ImageTextTag.js";
29
40
  import "./Common/Line/Polyline.js";
30
41
  import "./Common/Media.js";
42
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
31
43
  import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
32
44
  import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
33
45
  import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -89,103 +101,104 @@ import "./Tag/AudioTag/AudioPlaneTag.js";
89
101
  import "./Tag/MediaPlane.js";
90
102
  import "./Tag/LinkTag.js";
91
103
  import "./Common/Icon/Icon.js";
104
+ import "../../vendor/svelte/src/runtime/internal/await_block.js";
92
105
  import "../utils/getImageInfo.js";
93
106
  import "./Tag/PanoramaTag.js";
94
107
  import "./Tag/CustomTag.js";
95
- function oe(n) {
96
- Y(n, "svelte-g38zun", ".tag.svelte-g38zun{will-change:opacity}.tag.withAnimation.svelte-g38zun{transition:opacity 0.2s linear}.tag.enableZIndex.svelte-g38zun{position:absolute;left:0;top:0;width:100%;height:100%}.tag.hide.svelte-g38zun{opacity:0;pointer-events:none}.tag.hide.svelte-g38zun *{pointer-events:none !important}.tag.unClickable.svelte-g38zun{pointer-events:none !important}.tag.unClickable.svelte-g38zun *{pointer-events:none !important}.tag.disable.svelte-g38zun{display:none}.wrapper.svelte-g38zun{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
108
+ function nt(o) {
109
+ W(o, "svelte-g38zun", ".tag.svelte-g38zun{will-change:opacity}.tag.withAnimation.svelte-g38zun{transition:opacity 0.2s linear}.tag.enableZIndex.svelte-g38zun{position:absolute;left:0;top:0;width:100%;height:100%}.tag.hide.svelte-g38zun{opacity:0;pointer-events:none}.tag.hide.svelte-g38zun *{pointer-events:none !important}.tag.unClickable.svelte-g38zun{pointer-events:none !important}.tag.unClickable.svelte-g38zun *{pointer-events:none !important}.tag.disable.svelte-g38zun{display:none}.wrapper.svelte-g38zun{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
97
110
  }
98
- function J(n) {
99
- let e, i, t, o, l, s, c, k, d, v, f;
100
- const z = [ae, re], g = [];
111
+ function J(o) {
112
+ let t, i, e, n, m, s, c, k, d, v, f;
113
+ const z = [at, rt], g = [];
101
114
  function a(r, p) {
102
115
  return (
103
116
  /*havePoint*/
104
117
  r[16] ? 0 : 1
105
118
  );
106
119
  }
107
- t = a(n), o = g[t] = z[t](n);
108
- const S = [le, pe], _ = [];
120
+ e = a(o), n = g[e] = z[e](o);
121
+ const S = [mt, pt], _ = [];
109
122
  function M(r, p) {
110
123
  return (
111
124
  /*haveContent*/
112
125
  r[15] ? 0 : 1
113
126
  );
114
127
  }
115
- return s = M(n), c = _[s] = S[s](n), {
128
+ return s = M(o), c = _[s] = S[s](o), {
116
129
  c() {
117
- e = P("div"), i = P("div"), o.c(), l = ee(), c.c(), u(i, "class", k = E(H(
130
+ t = P("div"), i = P("div"), n.c(), m = Y(), c.c(), u(i, "class", k = E(H(
118
131
  "wrapper",
119
132
  /*tag*/
120
- n[0].className ? `${/*tag*/
121
- n[0].className}__wrapper` : void 0
133
+ o[0].className ? `${/*tag*/
134
+ o[0].className}__wrapper` : void 0
122
135
  )) + " svelte-g38zun"), u(
123
136
  i,
124
137
  "data-tag-unfolded",
125
138
  /*unfolded*/
126
- n[7]
139
+ o[7]
127
140
  ), u(
128
141
  i,
129
142
  "data-tag-id",
130
143
  /*id*/
131
- n[14]
144
+ o[14]
132
145
  ), u(i, "data-content-type", d = /*tag*/
133
- n[0].contentType), w(
146
+ o[0].contentType), w(
134
147
  i,
135
148
  "left",
136
149
  /*left*/
137
- n[11]
150
+ o[11]
138
151
  ), w(
139
152
  i,
140
153
  "top",
141
154
  /*top*/
142
- n[10]
143
- ), u(e, "class", "tag svelte-g38zun"), u(
144
- e,
155
+ o[10]
156
+ ), u(t, "class", "tag svelte-g38zun"), u(
157
+ t,
145
158
  "data-tag-id",
146
159
  /*id*/
147
- n[14]
148
- ), u(e, "id", v = `tag-${/*id*/
149
- n[14]}`), b(
150
- e,
160
+ o[14]
161
+ ), u(t, "id", v = `tag-${/*id*/
162
+ o[14]}`), b(
163
+ t,
151
164
  "unClickable",
152
165
  /*tag*/
153
- n[0].config.clickable === !1
166
+ o[0].config.clickable === !1
154
167
  ), b(
155
- e,
168
+ t,
156
169
  "disable",
157
170
  /*disable*/
158
- n[13]
171
+ o[13]
159
172
  ), b(
160
- e,
173
+ t,
161
174
  "hide",
162
175
  /*hide*/
163
- n[12]
176
+ o[12]
164
177
  ), b(
165
- e,
178
+ t,
166
179
  "withAnimation",
167
180
  /*withAnimation*/
168
- n[1]
181
+ o[1]
169
182
  ), b(
170
- e,
183
+ t,
171
184
  "enableZIndex",
172
185
  /*zIndex*/
173
- n[9]
186
+ o[9]
174
187
  ), w(
175
- e,
188
+ t,
176
189
  "z-index",
177
190
  /*zIndex*/
178
- n[9]
191
+ o[9]
179
192
  );
180
193
  },
181
194
  m(r, p) {
182
- I(r, e, p), F(e, i), g[t].m(i, null), F(i, l), _[s].m(i, null), n[18](e), f = !0;
195
+ I(r, t, p), F(t, i), g[e].m(i, null), F(i, m), _[s].m(i, null), o[18](t), f = !0;
183
196
  },
184
197
  p(r, p) {
185
- let A = t;
186
- t = a(r), t === A ? g[t].p(r, p) : (Z(), y(g[A], 1, 1, () => {
198
+ let A = e;
199
+ e = a(r), e === A ? g[e].p(r, p) : (Z(), y(g[A], 1, 1, () => {
187
200
  g[A] = null;
188
- }), L(), o = g[t], o ? o.p(r, p) : (o = g[t] = z[t](r), o.c()), h(o, 1), o.m(i, l));
201
+ }), L(), n = g[e], n ? n.p(r, p) : (n = g[e] = z[e](r), n.c()), h(n, 1), n.m(i, m));
189
202
  let C = s;
190
203
  s = M(r), s === C ? _[s].p(r, p) : (Z(), y(_[C], 1, 1, () => {
191
204
  _[C] = null;
@@ -223,254 +236,254 @@ function J(n) {
223
236
  r[10]
224
237
  ), (!f || p & /*id*/
225
238
  16384) && u(
226
- e,
239
+ t,
227
240
  "data-tag-id",
228
241
  /*id*/
229
242
  r[14]
230
243
  ), (!f || p & /*id*/
231
244
  16384 && v !== (v = `tag-${/*id*/
232
- r[14]}`)) && u(e, "id", v), (!f || p & /*tag*/
245
+ r[14]}`)) && u(t, "id", v), (!f || p & /*tag*/
233
246
  1) && b(
234
- e,
247
+ t,
235
248
  "unClickable",
236
249
  /*tag*/
237
250
  r[0].config.clickable === !1
238
251
  ), (!f || p & /*disable*/
239
252
  8192) && b(
240
- e,
253
+ t,
241
254
  "disable",
242
255
  /*disable*/
243
256
  r[13]
244
257
  ), (!f || p & /*hide*/
245
258
  4096) && b(
246
- e,
259
+ t,
247
260
  "hide",
248
261
  /*hide*/
249
262
  r[12]
250
263
  ), (!f || p & /*withAnimation*/
251
264
  2) && b(
252
- e,
265
+ t,
253
266
  "withAnimation",
254
267
  /*withAnimation*/
255
268
  r[1]
256
269
  ), (!f || p & /*zIndex*/
257
270
  512) && b(
258
- e,
271
+ t,
259
272
  "enableZIndex",
260
273
  /*zIndex*/
261
274
  r[9]
262
275
  ), p & /*zIndex*/
263
276
  512 && w(
264
- e,
277
+ t,
265
278
  "z-index",
266
279
  /*zIndex*/
267
280
  r[9]
268
281
  );
269
282
  },
270
283
  i(r) {
271
- f || (h(o), h(c), f = !0);
284
+ f || (h(n), h(c), f = !0);
272
285
  },
273
286
  o(r) {
274
- y(o), y(c), f = !1;
287
+ y(n), y(c), f = !1;
275
288
  },
276
289
  d(r) {
277
- r && N(e), g[t].d(), _[s].d(), n[18](null);
290
+ r && N(t), g[e].d(), _[s].d(), o[18](null);
278
291
  }
279
292
  };
280
293
  }
281
- function re(n) {
282
- let e;
294
+ function rt(o) {
295
+ let t;
283
296
  return {
284
297
  c() {
285
- e = P("div"), u(e, "data-info", "tag point is disable");
298
+ t = P("div"), u(t, "data-info", "tag point is disable");
286
299
  },
287
- m(i, t) {
288
- I(i, e, t);
300
+ m(i, e) {
301
+ I(i, t, e);
289
302
  },
290
303
  p: T,
291
304
  i: T,
292
305
  o: T,
293
306
  d(i) {
294
- i && N(e);
307
+ i && N(t);
295
308
  }
296
309
  };
297
310
  }
298
- function ae(n) {
299
- let e, i;
300
- return e = new ne({ props: { tag: (
311
+ function at(o) {
312
+ let t, i;
313
+ return t = new ot({ props: { tag: (
301
314
  /*tag*/
302
- n[0]
315
+ o[0]
303
316
  ) } }), {
304
317
  c() {
305
- K(e.$$.fragment);
318
+ K(t.$$.fragment);
306
319
  },
307
- m(t, o) {
308
- O(e, t, o), i = !0;
320
+ m(e, n) {
321
+ O(t, e, n), i = !0;
309
322
  },
310
- p(t, o) {
311
- const l = {};
312
- o & /*tag*/
313
- 1 && (l.tag = /*tag*/
314
- t[0]), e.$set(l);
323
+ p(e, n) {
324
+ const m = {};
325
+ n & /*tag*/
326
+ 1 && (m.tag = /*tag*/
327
+ e[0]), t.$set(m);
315
328
  },
316
- i(t) {
317
- i || (h(e.$$.fragment, t), i = !0);
329
+ i(e) {
330
+ i || (h(t.$$.fragment, e), i = !0);
318
331
  },
319
- o(t) {
320
- y(e.$$.fragment, t), i = !1;
332
+ o(e) {
333
+ y(t.$$.fragment, e), i = !1;
321
334
  },
322
- d(t) {
323
- Q(e, t);
335
+ d(e) {
336
+ Q(t, e);
324
337
  }
325
338
  };
326
339
  }
327
- function pe(n) {
328
- let e;
340
+ function pt(o) {
341
+ let t;
329
342
  return {
330
343
  c() {
331
- e = P("div"), u(e, "data-info", "tag content is disable");
344
+ t = P("div"), u(t, "data-info", "tag content is disable");
332
345
  },
333
- m(i, t) {
334
- I(i, e, t);
346
+ m(i, e) {
347
+ I(i, t, e);
335
348
  },
336
349
  p: T,
337
350
  i: T,
338
351
  o: T,
339
352
  d(i) {
340
- i && N(e);
353
+ i && N(t);
341
354
  }
342
355
  };
343
356
  }
344
- function le(n) {
345
- let e, i;
346
- return e = new ie({
357
+ function mt(o) {
358
+ let t, i;
359
+ return t = new it({
347
360
  props: {
348
361
  mediaStore: (
349
362
  /*mediaStore*/
350
- n[2]
363
+ o[2]
351
364
  ),
352
365
  withAnimation: (
353
366
  /*withAnimation*/
354
- n[1]
367
+ o[1]
355
368
  ),
356
369
  tag: G(
357
370
  /*tag*/
358
- n[0]
371
+ o[0]
359
372
  ),
360
373
  hooks: (
361
374
  /*hooks*/
362
- n[17]
375
+ o[17]
363
376
  ),
364
377
  state: (
365
378
  /*state*/
366
- n[5]
379
+ o[5]
367
380
  ),
368
381
  temporaryState: (
369
382
  /*temporaryState*/
370
- n[6]
383
+ o[6]
371
384
  ),
372
385
  rendererMap: (
373
386
  /*rendererMap*/
374
- n[3]
387
+ o[3]
375
388
  ),
376
389
  contentTypeMap: (
377
390
  /*contentTypeMap*/
378
- n[4]
391
+ o[4]
379
392
  )
380
393
  }
381
394
  }), {
382
395
  c() {
383
- K(e.$$.fragment);
396
+ K(t.$$.fragment);
384
397
  },
385
- m(t, o) {
386
- O(e, t, o), i = !0;
398
+ m(e, n) {
399
+ O(t, e, n), i = !0;
387
400
  },
388
- p(t, o) {
389
- const l = {};
390
- o & /*mediaStore*/
391
- 4 && (l.mediaStore = /*mediaStore*/
392
- t[2]), o & /*withAnimation*/
393
- 2 && (l.withAnimation = /*withAnimation*/
394
- t[1]), o & /*tag*/
395
- 1 && (l.tag = G(
401
+ p(e, n) {
402
+ const m = {};
403
+ n & /*mediaStore*/
404
+ 4 && (m.mediaStore = /*mediaStore*/
405
+ e[2]), n & /*withAnimation*/
406
+ 2 && (m.withAnimation = /*withAnimation*/
407
+ e[1]), n & /*tag*/
408
+ 1 && (m.tag = G(
396
409
  /*tag*/
397
- t[0]
398
- )), o & /*state*/
399
- 32 && (l.state = /*state*/
400
- t[5]), o & /*temporaryState*/
401
- 64 && (l.temporaryState = /*temporaryState*/
402
- t[6]), o & /*rendererMap*/
403
- 8 && (l.rendererMap = /*rendererMap*/
404
- t[3]), o & /*contentTypeMap*/
405
- 16 && (l.contentTypeMap = /*contentTypeMap*/
406
- t[4]), e.$set(l);
410
+ e[0]
411
+ )), n & /*state*/
412
+ 32 && (m.state = /*state*/
413
+ e[5]), n & /*temporaryState*/
414
+ 64 && (m.temporaryState = /*temporaryState*/
415
+ e[6]), n & /*rendererMap*/
416
+ 8 && (m.rendererMap = /*rendererMap*/
417
+ e[3]), n & /*contentTypeMap*/
418
+ 16 && (m.contentTypeMap = /*contentTypeMap*/
419
+ e[4]), t.$set(m);
407
420
  },
408
- i(t) {
409
- i || (h(e.$$.fragment, t), i = !0);
421
+ i(e) {
422
+ i || (h(t.$$.fragment, e), i = !0);
410
423
  },
411
- o(t) {
412
- y(e.$$.fragment, t), i = !1;
424
+ o(e) {
425
+ y(t.$$.fragment, e), i = !1;
413
426
  },
414
- d(t) {
415
- Q(e, t);
427
+ d(e) {
428
+ Q(t, e);
416
429
  }
417
430
  };
418
431
  }
419
- function me(n) {
420
- let e, i, t = (
432
+ function lt(o) {
433
+ let t, i, e = (
421
434
  /*screenPosition*/
422
- n[8] && J(n)
435
+ o[8] && J(o)
423
436
  );
424
437
  return {
425
438
  c() {
426
- t && t.c(), e = x();
439
+ e && e.c(), t = X();
427
440
  },
428
- m(o, l) {
429
- t && t.m(o, l), I(o, e, l), i = !0;
441
+ m(n, m) {
442
+ e && e.m(n, m), I(n, t, m), i = !0;
430
443
  },
431
- p(o, [l]) {
444
+ p(n, [m]) {
432
445
  /*screenPosition*/
433
- o[8] ? t ? (t.p(o, l), l & /*screenPosition*/
434
- 256 && h(t, 1)) : (t = J(o), t.c(), h(t, 1), t.m(e.parentNode, e)) : t && (Z(), y(t, 1, 1, () => {
435
- t = null;
446
+ n[8] ? e ? (e.p(n, m), m & /*screenPosition*/
447
+ 256 && h(e, 1)) : (e = J(n), e.c(), h(e, 1), e.m(t.parentNode, t)) : e && (Z(), y(e, 1, 1, () => {
448
+ e = null;
436
449
  }), L());
437
450
  },
438
- i(o) {
439
- i || (h(t), i = !0);
451
+ i(n) {
452
+ i || (h(e), i = !0);
440
453
  },
441
- o(o) {
442
- y(t), i = !1;
454
+ o(n) {
455
+ y(e), i = !1;
443
456
  },
444
- d(o) {
445
- t && t.d(o), o && N(e);
457
+ d(n) {
458
+ n && N(t), e && e.d(n);
446
459
  }
447
460
  };
448
461
  }
449
- function fe(n, e, i) {
450
- let t, o, l, s, c, k, d, v, f, z, { withAnimation: g = !1 } = e, { tag: a } = e, { mediaStore: S } = e, { rendererMap: _ = /* @__PURE__ */ new Map() } = e, { contentTypeMap: M = /* @__PURE__ */ new Map() } = e, { state: r } = e, { temporaryState: p } = e;
462
+ function ft(o, t, i) {
463
+ let e, n, m, s, c, k, d, v, f, z, { withAnimation: g = !1 } = t, { tag: a } = t, { mediaStore: S } = t, { rendererMap: _ = /* @__PURE__ */ new Map() } = t, { contentTypeMap: M = /* @__PURE__ */ new Map() } = t, { state: r } = t, { temporaryState: p } = t;
451
464
  const A = $("hooks");
452
- function C(m) {
453
- te[m ? "unshift" : "push"](() => {
454
- a.dom = m, i(0, a);
465
+ function C(l) {
466
+ x[l ? "unshift" : "push"](() => {
467
+ a.dom = l, i(0, a);
455
468
  });
456
469
  }
457
- return n.$$set = (m) => {
458
- "withAnimation" in m && i(1, g = m.withAnimation), "tag" in m && i(0, a = m.tag), "mediaStore" in m && i(2, S = m.mediaStore), "rendererMap" in m && i(3, _ = m.rendererMap), "contentTypeMap" in m && i(4, M = m.contentTypeMap), "state" in m && i(5, r = m.state), "temporaryState" in m && i(6, p = m.temporaryState);
459
- }, n.$$.update = () => {
460
- var m, q, D, R;
461
- n.$$.dirty & /*tag, rendererMap*/
462
- 9 && i(16, t = (() => {
470
+ return o.$$set = (l) => {
471
+ "withAnimation" in l && i(1, g = l.withAnimation), "tag" in l && i(0, a = l.tag), "mediaStore" in l && i(2, S = l.mediaStore), "rendererMap" in l && i(3, _ = l.rendererMap), "contentTypeMap" in l && i(4, M = l.contentTypeMap), "state" in l && i(5, r = l.state), "temporaryState" in l && i(6, p = l.temporaryState);
472
+ }, o.$$.update = () => {
473
+ var l, q, D, R;
474
+ o.$$.dirty & /*tag, rendererMap*/
475
+ 9 && i(16, e = (() => {
463
476
  var V, j, B;
464
477
  return !(((j = (V = a.style) == null ? void 0 : V.point) == null ? void 0 : j.enabled) === !1 || ((B = _.get(a.contentType)) == null ? void 0 : B.usePoint) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Panorama" || a.contentType === "Audio" && a.data.appearance === "plane");
465
- })()), n.$$.dirty & /*tag*/
466
- 1 && i(15, o = (() => a.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
467
- 1 && i(14, l = a.id), n.$$.dirty & /*tag*/
468
- 1 && i(13, s = a.enabled === !1 || !a.state), n.$$.dirty & /*tag*/
469
- 1 && i(12, c = !((m = a.state) != null && m.visible) || ((q = a.temporaryState) == null ? void 0 : q.visible) === !1 || !a.screenPosition), n.$$.dirty & /*tag*/
470
- 1 && i(7, k = (D = a.state) == null ? void 0 : D.unfolded), n.$$.dirty & /*tag*/
471
- 1 && i(8, d = a.screenPosition), n.$$.dirty & /*screenPosition*/
472
- 256 && i(11, v = (d == null ? void 0 : d.leftPercent) + "%"), n.$$.dirty & /*screenPosition*/
473
- 256 && i(10, f = (d == null ? void 0 : d.topPercent) + "%"), n.$$.dirty & /*unfolded, tag*/
478
+ })()), o.$$.dirty & /*tag*/
479
+ 1 && i(15, n = (() => a.stickType === "2DPoint")()), o.$$.dirty & /*tag*/
480
+ 1 && i(14, m = a.id), o.$$.dirty & /*tag*/
481
+ 1 && i(13, s = a.enabled === !1 || !a.state), o.$$.dirty & /*tag*/
482
+ 1 && i(12, c = !((l = a.state) != null && l.visible) || ((q = a.temporaryState) == null ? void 0 : q.visible) === !1 || !a.screenPosition), o.$$.dirty & /*tag*/
483
+ 1 && i(7, k = (D = a.state) == null ? void 0 : D.unfolded), o.$$.dirty & /*tag*/
484
+ 1 && i(8, d = a.screenPosition), o.$$.dirty & /*screenPosition*/
485
+ 256 && i(11, v = (d == null ? void 0 : d.leftPercent) + "%"), o.$$.dirty & /*screenPosition*/
486
+ 256 && i(10, f = (d == null ? void 0 : d.topPercent) + "%"), o.$$.dirty & /*unfolded, tag*/
474
487
  129 && i(9, z = k ? ((R = a.zIndex) != null ? R : 0) + (k ? 1e6 : 0) : void 0);
475
488
  }, [
476
489
  a,
@@ -487,21 +500,21 @@ function fe(n, e, i) {
487
500
  v,
488
501
  c,
489
502
  s,
490
- l,
491
- o,
492
- t,
503
+ m,
504
+ n,
505
+ e,
493
506
  A,
494
507
  C
495
508
  ];
496
509
  }
497
- class Yt extends U {
498
- constructor(e) {
499
- super(), W(
510
+ class fi extends tt {
511
+ constructor(t) {
512
+ super(), et(
500
513
  this,
501
- e,
502
- fe,
503
- me,
504
- X,
514
+ t,
515
+ ft,
516
+ lt,
517
+ U,
505
518
  {
506
519
  withAnimation: 1,
507
520
  tag: 0,
@@ -511,10 +524,10 @@ class Yt extends U {
511
524
  state: 5,
512
525
  temporaryState: 6
513
526
  },
514
- oe
527
+ nt
515
528
  );
516
529
  }
517
530
  }
518
531
  export {
519
- Yt as default
532
+ fi as default
520
533
  };
@@ -5,6 +5,7 @@ import * as BasePlugin from '../../base/BasePlugin';
5
5
  export declare abstract class TagCache extends BasePlugin.Controller<State, EventMap> {
6
6
  private tagCacheByPanoIndex;
7
7
  protected constructor(five: Five);
8
+ clearCacheById(id: TagId): void;
8
9
  /**
9
10
  * @description 获取缓存
10
11
  */
@@ -20,7 +21,6 @@ export declare abstract class TagCache extends BasePlugin.Controller<State, Even
20
21
  id: TagId;
21
22
  key: keyof TagCacheInterface;
22
23
  }): ValueOf<TagCacheInterface> | undefined;
23
- clearCacheById(id: TagId): void;
24
24
  /**
25
25
  * @description 清除所有缓存
26
26
  */
@@ -29,6 +29,11 @@ class F extends g {
29
29
  super(e);
30
30
  s(this, "tagCacheByPanoIndex", {});
31
31
  }
32
+ clearCacheById(e) {
33
+ Object.values(this.tagCacheByPanoIndex).forEach((n) => {
34
+ n.delete(e);
35
+ });
36
+ }
32
37
  getPanoIndexCache(e) {
33
38
  var p;
34
39
  const { five: n } = this, { panoIndex: a, id: i, key: h } = e != null ? e : {}, c = a != null ? a : n.getCurrentState().panoIndex;
@@ -44,11 +49,6 @@ class F extends g {
44
49
  }
45
50
  return (p = o.get(i)) == null ? void 0 : p[h];
46
51
  }
47
- clearCacheById(e) {
48
- Object.values(this.tagCacheByPanoIndex).forEach((n) => {
49
- n.delete(e);
50
- });
51
- }
52
52
  /**
53
53
  * @description 清除所有缓存
54
54
  */
@@ -47,8 +47,8 @@ import "../utils/normalPositionToPositions.js";
47
47
  import "./TagCache.js";
48
48
  import "../../base/BasePlugin.js";
49
49
  import "../../shared-utils/url/absoluteUrl.js";
50
- import "../../vendor/svelte/store/index.js";
51
- import "../../vendor/svelte/internal/index.js";
50
+ import "../../vendor/svelte/src/runtime/store/index.js";
51
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
52
52
  import "../../shared-utils/device.js";
53
53
  import "../utils/model/mediaPlane.js";
54
54
  import "../../shared-utils/three/loadTexture.js";