@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
@@ -2,7 +2,7 @@ var V = Object.defineProperty, E = Object.defineProperties;
2
2
  var R = Object.getOwnPropertyDescriptors;
3
3
  var D = Object.getOwnPropertySymbols;
4
4
  var F = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
- var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
5
+ var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, u = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
7
  F.call(a, e) && C(d, e, a[e]);
8
8
  if (D)
@@ -10,19 +10,19 @@ var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writab
10
10
  O.call(a, e) && C(d, e, a[e]);
11
11
  return d;
12
12
  }, A = (d, a) => E(d, R(a));
13
- var f = (d, a, e) => (C(d, typeof a != "symbol" ? a + "" : a, e), e);
13
+ var p = (d, a, e) => (C(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var c = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
16
16
  try {
17
17
  n(e.next(r));
18
- } catch (l) {
19
- i(l);
18
+ } catch (h) {
19
+ i(h);
20
20
  }
21
21
  }, o = (r) => {
22
22
  try {
23
23
  n(e.throw(r));
24
- } catch (l) {
25
- i(l);
24
+ } catch (h) {
25
+ i(h);
26
26
  }
27
27
  }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
28
  n((e = e.apply(d, a)).next());
@@ -35,8 +35,8 @@ import { arrayPositionToVector3 as S } from "../../shared-utils/positionToVector
35
35
  import { isMediaModelTag as L, isModelTag as N } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as G } from "../utils/debounce.js";
37
37
  import { throttle as w } from "../utils/throttle.js";
38
- import z, { getTagStickType as W } from "../utils/tag/format.js";
39
- import { generateBlankAudio as x, AudioNamespace as $ } from "../../shared-utils/audio.js";
38
+ import z, { getTagStickType as $ } from "../utils/tag/format.js";
39
+ import { generateBlankAudio as W, AudioNamespace as x } from "../../shared-utils/audio.js";
40
40
  import { resizeObserver as k } from "../../shared-utils/dom/resizeObserver.js";
41
41
  import { TagRender as j } from "./TagRender.js";
42
42
  import { uuid as J } from "../../shared-utils/uuid.js";
@@ -77,8 +77,8 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
77
77
  import "../../shared-utils/three/getObjectVisible.js";
78
78
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
79
79
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
80
- import "../../vendor/svelte/store/index.js";
81
- import "../../vendor/svelte/internal/index.js";
80
+ import "../../vendor/svelte/src/runtime/store/index.js";
81
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
82
82
  import "../../shared-utils/device.js";
83
83
  import "../utils/model/mediaPlane.js";
84
84
  import "../../shared-utils/three/loadTexture.js";
@@ -99,13 +99,24 @@ import "../../shared-utils/Utils/WorkUtil.js";
99
99
  import "../../shared-utils/Utils/BaseUtil.js";
100
100
  import "../../shared-utils/five/getFloorIndex.js";
101
101
  import "../Components/TagContainer.js";
102
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
103
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
104
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
105
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
106
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
107
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
108
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
109
+ import "../../vendor/svelte/src/runtime/internal/each.js";
110
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
111
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
112
+ import "../../vendor/svelte/src/shared/version.js";
102
113
  import "../Components/TagItem.js";
103
114
  import "../Components/Tag/index.js";
104
115
  import "../Components/Tag/TextTag/index.js";
105
116
  import "../Components/Tag/TextTag/TextTag.js";
106
117
  import "../Components/Common/Line/Straight.js";
107
- import "../../vendor/svelte/transition/index.js";
108
- import "../../vendor/svelte/easing/index.js";
118
+ import "../../vendor/svelte/src/runtime/transition/index.js";
119
+ import "../../vendor/svelte/src/runtime/easing/index.js";
109
120
  import "../Components/Common/Shadow.js";
110
121
  import "../Components/Common/Text/FlyMText.js";
111
122
  import "../Components/Common/Text/FlyText.js";
@@ -121,6 +132,7 @@ import "../utils/px2rem.js";
121
132
  import "../Components/Tag/ImageTextTag.js";
122
133
  import "../Components/Common/Line/Polyline.js";
123
134
  import "../Components/Common/Media.js";
135
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
124
136
  import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
125
137
  import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
126
138
  import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -163,6 +175,7 @@ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
163
175
  import "../Components/Tag/MediaPlane.js";
164
176
  import "../Components/Tag/LinkTag.js";
165
177
  import "../Components/Common/Icon/Icon.js";
178
+ import "../../vendor/svelte/src/runtime/internal/await_block.js";
166
179
  import "../utils/getImageInfo.js";
167
180
  import "../Components/Tag/PanoramaTag.js";
168
181
  import "../Components/Tag/CustomTag.js";
@@ -174,22 +187,22 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
174
187
  import "../../shared-utils/three/GLTFLoader.js";
175
188
  import "@realsee/five/gltf-loader";
176
189
  import "../../shared-utils/animationFrame/index.js";
177
- const U = "Dnalogel-PanoTagPlugin", Gi = (d) => `${U}--${d}`;
178
- class zi extends j {
190
+ const U = "Dnalogel-PanoTagPlugin", Xi = (d) => `${U}--${d}`;
191
+ class es extends j {
179
192
  constructor(e, t) {
180
193
  super(e);
181
194
  /** state */
182
- f(this, "state", { enabled: !0, visible: !0 });
195
+ p(this, "state", { enabled: !0, visible: !0 });
183
196
  /** 插件参数 */
184
- f(this, "params");
197
+ p(this, "params");
185
198
  /** debug */
186
- f(this, "debug");
187
- f(this, "debugUtil", new K(this));
199
+ p(this, "debug");
200
+ p(this, "debugUtil", new K(this));
188
201
  /** 更改 tag 模型 */
189
- f(this, "changeTagModel", (e, t) => c(this, null, function* () {
202
+ p(this, "changeTagModel", (e, t) => c(this, null, function* () {
190
203
  e.data = g({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
191
204
  }));
192
- f(this, "whyHide", (e) => {
205
+ p(this, "whyHide", (e) => {
193
206
  var i, s, o;
194
207
  if (!this.state.enabled)
195
208
  return { reason: `plugin.state.enabled is ${this.state.enabled}` };
@@ -208,13 +221,13 @@ class zi extends j {
208
221
  }
209
222
  return { reason: "check your eyes" };
210
223
  });
211
- f(this, "updateVisible", () => {
224
+ p(this, "updateVisible", () => {
212
225
  const e = this.five.getCurrentState().mode;
213
226
  this.tags.forEach((t) => {
214
227
  L(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
215
228
  }), this.setVisible(), this.updateRenderAllTags();
216
229
  });
217
- f(this, "handleFiveWantsMoveToPano", (e) => {
230
+ p(this, "handleFiveWantsMoveToPano", (e) => {
218
231
  this.tags.forEach((t) => {
219
232
  this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
220
233
  const s = this.getTagConfig(t);
@@ -235,7 +248,7 @@ class zi extends j {
235
248
  // this.temporaryState.visible = false
236
249
  // this.updateTagContainerVisible()
237
250
  // }
238
- f(this, "clickhandler", (e) => {
251
+ p(this, "clickhandler", (e) => {
239
252
  if (e.target !== "TagPoint")
240
253
  return;
241
254
  if (!e.tag.state)
@@ -245,43 +258,49 @@ class zi extends j {
245
258
  s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
246
259
  }), this.updateRenderAllTags());
247
260
  });
248
- f(this, "handleFiveCameraUpdate", () => {
261
+ p(this, "handleFiveCameraUpdate", () => {
249
262
  this.updatePointTagPosition();
250
263
  });
251
- f(this, "handleFivePanoArrived", () => c(this, null, function* () {
264
+ p(this, "handleFivePanoArrived", () => c(this, null, function* () {
252
265
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
253
- e.temporaryState = A(m({}, e.temporaryState), { visible: !0 });
266
+ e.temporaryState = A(u({}, e.temporaryState), { visible: !0 });
254
267
  }), this.tags.filter(N).filter((e) => {
255
268
  var t;
256
269
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
257
270
  }).forEach((e) => {
258
- var l;
259
- const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (l = e.model) == null ? void 0 : l.object;
271
+ var h;
272
+ const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
260
273
  if (!i)
261
274
  return;
262
275
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
263
276
  const s = this.five.camera.position;
264
277
  t.lookAt(s.clone().setY(t.position.y));
265
278
  const o = i.quaternion.clone(), n = t.quaternion.clone(), r = Y();
266
- r.onUpdate(({ progress: h }) => {
267
- i.quaternion.copy(o.clone().slerp(n, h));
279
+ r.onUpdate(({ progress: l }) => {
280
+ i.quaternion.copy(o.clone().slerp(n, l));
268
281
  }), r.play();
269
282
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
270
283
  }));
271
284
  /** 楼层切换时,需要更新标签可见性 */
272
- f(this, "handleFiveModelShownFloorChange", () => {
285
+ p(this, "handleFiveModelShownFloorChange", () => {
273
286
  this.setVisible(), this.updateRenderAllTags();
274
287
  });
275
- f(this, "onFiveEveryReady", () => {
288
+ p(this, "onFiveEveryReady", () => {
276
289
  this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
277
290
  });
278
- this.params = g({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, x(1, { namespace: $.PlayAudio });
291
+ this.params = g({}, { debug: !1, config: this.config }, u({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: x.PlayAudio });
279
292
  try {
280
293
  const i = window;
281
294
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
282
295
  } catch (i) {
283
296
  }
284
297
  }
298
+ appendTo(e) {
299
+ var i, s, o;
300
+ this.container = e;
301
+ const t = (s = (i = this.TagContainerSvelte) == null ? void 0 : i.$$) == null ? void 0 : s.root;
302
+ t && t !== this.container && ((o = this.TagContainerSvelte) == null || o.$destroy(), this.TagContainerSvelte = void 0, this.updateDomView());
303
+ }
285
304
  /**
286
305
  * @description 加载数据
287
306
  */
@@ -309,38 +328,38 @@ class zi extends j {
309
328
  return c(this, null, function* () {
310
329
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
311
330
  var b, v, T, y;
312
- o.stickType = W(o);
331
+ o.stickType = $(o);
313
332
  const n = JSON.parse(JSON.stringify(o.data)), r = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
314
333
  o.initialConfig = r;
315
- const l = this.calculateTagConfig(o), h = this.getTagConfig(o);
316
- o.config = h;
317
- const p = A(m({}, o), {
334
+ const h = this.calculateTagConfig(o), l = this.getTagConfig(o);
335
+ o.config = l;
336
+ const f = A(u({}, o), {
318
337
  enabled: (v = o.enabled) != null ? v : !0,
319
338
  id: (T = o.id) != null ? T : J(),
320
- data: (y = h.initialData) != null && y.important ? g(o.data, n, h.initialData) : g(o.data, h.initialData, n),
321
- state: m({
339
+ data: (y = l.initialData) != null && y.important ? g(o.data, n, l.initialData) : g(o.data, l.initialData, n),
340
+ state: u({
322
341
  visible: void 0,
323
342
  unfolded: !this.can("fold", o)
324
- }, h.initialState),
343
+ }, l.initialState),
325
344
  hooks: new M(),
326
345
  originPosition: o.position,
327
346
  position: (() => {
328
- const u = this.getTransformedPostion(o.position);
329
- return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
347
+ const m = this.getTransformedPostion(o.position);
348
+ return Array.isArray(m) ? m.map((B) => B.toArray()) : m.toArray();
330
349
  })(),
331
350
  initialConfig: r,
332
- computedConfig: l,
333
- config: h,
334
- unfold: () => this.changeUnfoldedById(p.id, !0),
335
- fold: () => this.changeUnfoldedById(p.id, !1),
336
- enable: () => this.changeEnabledById(p.id, !0),
337
- disable: () => this.changeEnabledById(p.id, !1),
338
- destroy: () => this.destroyTagById(p.id),
339
- changeData: (u) => this.changeDataById(p.id, u),
340
- changePosition: (u) => this.changePositionById(p.id, u),
341
- blink: (u) => this.blinkTagById(p.id, u)
351
+ computedConfig: h,
352
+ config: l,
353
+ unfold: () => this.changeUnfoldedById(f.id, !0),
354
+ fold: () => this.changeUnfoldedById(f.id, !1),
355
+ enable: () => this.changeEnabledById(f.id, !0),
356
+ disable: () => this.changeEnabledById(f.id, !1),
357
+ destroy: () => this.destroyTagById(f.id),
358
+ changeData: (m) => this.changeDataById(f.id, m),
359
+ changePosition: (m) => this.changePositionById(f.id, m),
360
+ blink: (m) => this.blinkTagById(f.id, m)
342
361
  });
343
- return p;
362
+ return f;
344
363
  });
345
364
  return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, Z(this.five).then(() => c(this, null, function* () {
346
365
  var o, n, r;
@@ -397,7 +416,7 @@ class zi extends j {
397
416
  setState(e, t) {
398
417
  if (this.checkDisposed())
399
418
  return;
400
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = m({}, this.state);
419
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = u({}, this.state);
401
420
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
402
421
  }
403
422
  /**
@@ -406,8 +425,8 @@ class zi extends j {
406
425
  dispose() {
407
426
  var e, t, i, s, o, n;
408
427
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
409
- var l;
410
- return (l = r.tag3DContentSvelte) == null ? void 0 : l.svelteApp.$destroy();
428
+ var h;
429
+ return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
411
430
  }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
412
431
  }
413
432
  /**
@@ -417,11 +436,11 @@ class zi extends j {
417
436
  */
418
437
  blinkTagById(e, t) {
419
438
  return c(this, null, function* () {
420
- var h, p;
439
+ var l, f;
421
440
  const i = this.getTagById(e);
422
441
  if (!i)
423
442
  return;
424
- const s = (h = i.enabled) != null ? h : !0, o = (p = i.state) == null ? void 0 : p.visible, n = s && o;
443
+ const s = (l = i.enabled) != null ? l : !0, o = (f = i.state) == null ? void 0 : f.visible, n = s && o;
425
444
  n === !1 && (i.state.visible = !0, i.enabled = !0, this.setPointTagPosition(), this.updateDomView(), yield X(0), i.dom && (i.dom.style.visibility = "hidden"));
426
445
  const r = (() => {
427
446
  var v, T, y;
@@ -430,7 +449,7 @@ class zi extends j {
430
449
  })();
431
450
  if (!r.length)
432
451
  return;
433
- yield (n ? H : Q)(r, m({
452
+ yield (n ? H : Q)(r, u({
434
453
  begin: () => {
435
454
  n === !1 && i.dom && (i.dom.style.visibility = "");
436
455
  },
@@ -494,7 +513,7 @@ class zi extends j {
494
513
  changeDataById(e, t, i = !0) {
495
514
  const s = this.getTagById(e);
496
515
  let o = !1;
497
- s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data = m(m({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
516
+ s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data = u(u({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
498
517
  }
499
518
  /**
500
519
  * @description 改变tag的stickType
@@ -610,12 +629,12 @@ class zi extends j {
610
629
  });
611
630
  }
612
631
  changeTagMode(e, t) {
613
- var i, s, o, n, r, l;
614
- ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (l = this.store.css3DRenderDisposer.get(e.id)) == null || l.forEach((h) => h == null ? void 0 : h()), e.tag3DContentSvelte = void 0);
632
+ var i, s, o, n, r, h;
633
+ ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
615
634
  }
616
635
  }
617
636
  export {
618
- zi as PanoTagPluginController,
619
- zi as default,
620
- Gi as pluginFlag
637
+ es as PanoTagPluginController,
638
+ es as default,
639
+ Xi as pluginFlag
621
640
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Ut } from "./controller/index.js";
3
- import { defaultGlobalConfig as Wt } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Yt, DimensionType as Zt, PointType as _t } from "./Archive/deprecated.js";
2
+ import { pluginFlag as mr } from "./controller/index.js";
3
+ import { defaultGlobalConfig as er } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as ar, DimensionType as fr, PointType as gr } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -44,8 +44,8 @@ import "./utils/normalPositionToPositions.js";
44
44
  import "./controller/TagCache.js";
45
45
  import "../base/BasePlugin.js";
46
46
  import "../shared-utils/url/absoluteUrl.js";
47
- import "../vendor/svelte/store/index.js";
48
- import "../vendor/svelte/internal/index.js";
47
+ import "../vendor/svelte/src/runtime/store/index.js";
48
+ import "../vendor/svelte/src/runtime/internal/utils.js";
49
49
  import "../shared-utils/device.js";
50
50
  import "./utils/model/mediaPlane.js";
51
51
  import "../shared-utils/three/loadTexture.js";
@@ -67,13 +67,24 @@ import "../shared-utils/Utils/BaseUtil.js";
67
67
  import "../shared-utils/five/getFloorIndex.js";
68
68
  import "../shared-utils/safeObj.js";
69
69
  import "./Components/TagContainer.js";
70
+ import "../vendor/svelte/src/runtime/internal/dom.js";
71
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
72
+ import "../vendor/svelte/src/runtime/internal/environment.js";
73
+ import "../vendor/svelte/src/runtime/internal/loop.js";
74
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
75
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
76
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
77
+ import "../vendor/svelte/src/runtime/internal/each.js";
78
+ import "../vendor/svelte/src/runtime/internal/Component.js";
79
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
80
+ import "../vendor/svelte/src/shared/version.js";
70
81
  import "./Components/TagItem.js";
71
82
  import "./Components/Tag/index.js";
72
83
  import "./Components/Tag/TextTag/index.js";
73
84
  import "./Components/Tag/TextTag/TextTag.js";
74
85
  import "./Components/Common/Line/Straight.js";
75
- import "../vendor/svelte/transition/index.js";
76
- import "../vendor/svelte/easing/index.js";
86
+ import "../vendor/svelte/src/runtime/transition/index.js";
87
+ import "../vendor/svelte/src/runtime/easing/index.js";
77
88
  import "../shared-utils/uuid.js";
78
89
  import "./Components/Common/Shadow.js";
79
90
  import "./Components/Common/Text/FlyMText.js";
@@ -90,6 +101,7 @@ import "./utils/px2rem.js";
90
101
  import "./Components/Tag/ImageTextTag.js";
91
102
  import "./Components/Common/Line/Polyline.js";
92
103
  import "./Components/Common/Media.js";
104
+ import "../vendor/svelte/src/runtime/internal/spread.js";
93
105
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
94
106
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
95
107
  import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -132,6 +144,7 @@ import "./Components/Tag/AudioTag/AudioPlaneTag.js";
132
144
  import "./Components/Tag/MediaPlane.js";
133
145
  import "./Components/Tag/LinkTag.js";
134
146
  import "./Components/Common/Icon/Icon.js";
147
+ import "../vendor/svelte/src/runtime/internal/await_block.js";
135
148
  import "./utils/getImageInfo.js";
136
149
  import "./Components/Tag/PanoramaTag.js";
137
150
  import "./Components/Tag/CustomTag.js";
@@ -148,14 +161,14 @@ import "../shared-utils/animationFrame/index.js";
148
161
  import "../shared-utils/five/fiveModelLoad.js";
149
162
  import "./utils/DebugUtil.js";
150
163
  import "../CruisePlugin/utils/sleep.js";
151
- const Qt = (o, t) => new r(o, t);
164
+ const rr = (o, t) => new r(o, t);
152
165
  export {
153
- Yt as ContentType,
154
- Zt as DimensionType,
155
- Qt as PanoTagPlugin,
166
+ ar as ContentType,
167
+ fr as DimensionType,
168
+ rr as PanoTagPlugin,
156
169
  r as PanoTagPluginController,
157
- _t as PointType,
158
- Qt as default,
159
- Wt as defaultGlobalConfig,
160
- Ut as pluginFlag
170
+ gr as PointType,
171
+ rr as default,
172
+ er as defaultGlobalConfig,
173
+ mr as pluginFlag
161
174
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="svelte" />
1
2
  import type { PanoTagPluginController, TagInstance } from '../index';
2
3
  import type * as BasePlugin from '../../base/BasePlugin';
3
4
  import type { Writable } from 'svelte/store';
@@ -15,7 +15,7 @@ let v = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- i(this, "VERSION", "3.31.1-dev.0");
18
+ i(this, "VERSION", "3.32.0-dev.0");
19
19
  i(this, "five");
20
20
  /**
21
21
  * @description: 插件事件钩子
@@ -1,82 +1,87 @@
1
- import { SvelteComponent as w, init as C, safe_not_equal as D, append_styles as N, element as v, attr as k, set_style as f, insert as b, noop as y, detach as _, onMount as L, onDestroy as B, text as M, space as O, toggle_class as z, append as q, listen as A, is_function as E, set_data as G, binding_callbacks as R } from "../../vendor/svelte/internal/index.js";
2
- import { ROOM_LABEL_BG as S } from "./Assets/roomLabelBg.js";
3
- function F(i) {
4
- N(i, "svelte-1s88cj8", ".room-label-item.svelte-1s88cj8{position:absolute;font-size:0.5rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1s88cj8{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1s88cj8{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1s88cj8{font-size:0.625rem}");
1
+ import { safe_not_equal as w, noop as y, is_function as C } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as D, element as v, attr as h, set_style as f, insert as b, detach as _, text as N, space as L, toggle_class as z, append as p, listen as B, set_data as M } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { binding_callbacks as O } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
4
+ import { onMount as q, onDestroy as A } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
5
+ import { SvelteComponent as E, init as G } from "../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
7
+ import { ROOM_LABEL_BG as R } from "./Assets/roomLabelBg.js";
8
+ function S(n) {
9
+ D(n, "svelte-1s88cj8", ".room-label-item.svelte-1s88cj8{position:absolute;font-size:0.5rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1s88cj8{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1s88cj8{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1s88cj8{font-size:0.625rem}");
5
10
  }
6
- function j(i) {
7
- let e, n, l, o, a, m;
11
+ function j(n) {
12
+ let e, t, l, o, a, m;
8
13
  return {
9
14
  c() {
10
- e = v("span"), n = M(
15
+ e = v("span"), t = N(
11
16
  /*content*/
12
- i[0]
13
- ), l = O(), o = v("div"), k(e, "class", "room-label-item__text svelte-1s88cj8"), f(e, "background-image", "url(" + S + ")"), z(
17
+ n[0]
18
+ ), l = L(), o = v("div"), h(e, "class", "room-label-item__text svelte-1s88cj8"), f(e, "background-image", "url(" + R + ")"), z(
14
19
  e,
15
20
  "wide",
16
21
  /*content*/
17
- i[0].length > 3
18
- ), k(o, "class", "room-label-item__bar svelte-1s88cj8");
22
+ n[0].length > 3
23
+ ), h(o, "class", "room-label-item__bar svelte-1s88cj8");
19
24
  },
20
25
  m(r, s) {
21
- b(r, e, s), q(e, n), b(r, l, s), b(r, o, s), a || (m = A(e, "click", function() {
22
- E(
26
+ b(r, e, s), p(e, t), b(r, l, s), b(r, o, s), a || (m = B(e, "click", function() {
27
+ C(
23
28
  /*onClick*/
24
- i[4]
25
- ) && i[4].apply(this, arguments);
29
+ n[4]
30
+ ) && n[4].apply(this, arguments);
26
31
  }), a = !0);
27
32
  },
28
33
  p(r, s) {
29
- i = r, s & /*content*/
30
- 1 && G(
31
- n,
34
+ n = r, s & /*content*/
35
+ 1 && M(
36
+ t,
32
37
  /*content*/
33
- i[0]
38
+ n[0]
34
39
  ), s & /*content*/
35
40
  1 && z(
36
41
  e,
37
42
  "wide",
38
43
  /*content*/
39
- i[0].length > 3
44
+ n[0].length > 3
40
45
  );
41
46
  },
42
47
  d(r) {
43
- r && _(e), r && _(l), r && _(o), a = !1, m();
48
+ r && (_(e), _(l), _(o)), a = !1, m();
44
49
  }
45
50
  };
46
51
  }
47
- function H(i) {
48
- let e, n = !/*rendererIfNeed*/
49
- i[5] && j(i);
52
+ function F(n) {
53
+ let e, t = !/*rendererIfNeed*/
54
+ n[5] && j(n);
50
55
  return {
51
56
  c() {
52
- e = v("div"), n && n.c(), k(e, "class", "room-label-item svelte-1s88cj8"), f(
57
+ e = v("div"), t && t.c(), h(e, "class", "room-label-item svelte-1s88cj8"), f(
53
58
  e,
54
59
  "z-index",
55
60
  /*zIndex*/
56
- i[2]
61
+ n[2]
57
62
  ), f(
58
63
  e,
59
64
  "transform",
60
65
  /*transform*/
61
- i[3]
66
+ n[3]
62
67
  ), f(
63
68
  e,
64
69
  "opacity",
65
70
  /*opacity*/
66
- i[1]
71
+ n[1]
67
72
  ), f(
68
73
  e,
69
74
  "visibility",
70
75
  /*visibility*/
71
- i[7]
76
+ n[7]
72
77
  );
73
78
  },
74
79
  m(l, o) {
75
- b(l, e, o), n && n.m(e, null), i[10](e);
80
+ b(l, e, o), t && t.m(e, null), n[10](e);
76
81
  },
77
82
  p(l, [o]) {
78
83
  /*rendererIfNeed*/
79
- l[5] ? n && (n.d(1), n = null) : n ? n.p(l, o) : (n = j(l), n.c(), n.m(e, null)), o & /*zIndex*/
84
+ l[5] ? t && (t.d(1), t = null) : t ? t.p(l, o) : (t = j(l), t.c(), t.m(e, null)), o & /*zIndex*/
80
85
  4 && f(
81
86
  e,
82
87
  "z-index",
@@ -105,34 +110,34 @@ function H(i) {
105
110
  i: y,
106
111
  o: y,
107
112
  d(l) {
108
- l && _(e), n && n.d(), i[10](null);
113
+ l && _(e), t && t.d(), n[10](null);
109
114
  }
110
115
  };
111
116
  }
112
- function J(i, e, n) {
113
- let l, { content: o } = e, { visible: a = !0 } = e, { opacity: m = 1 } = e, { zIndex: r = 0 } = e, { transform: s = void 0 } = e, { onClick: h = () => {
117
+ function H(n, e, t) {
118
+ let l, { content: o } = e, { visible: a = !0 } = e, { opacity: m = 1 } = e, { zIndex: r = 0 } = e, { transform: s = void 0 } = e, { onClick: k = () => {
114
119
  } } = e, { rendererIfNeed: c = void 0 } = e, { rendererData: g = void 0 } = e, d, u;
115
- L(() => {
120
+ q(() => {
116
121
  d && typeof c == "function" && (u = c(d, g));
117
- }), B(() => {
122
+ }), A(() => {
118
123
  u == null || u();
119
124
  });
120
- function I(t) {
121
- R[t ? "unshift" : "push"](() => {
122
- d = t, n(6, d);
125
+ function I(i) {
126
+ O[i ? "unshift" : "push"](() => {
127
+ d = i, t(6, d);
123
128
  });
124
129
  }
125
- return i.$$set = (t) => {
126
- "content" in t && n(0, o = t.content), "visible" in t && n(8, a = t.visible), "opacity" in t && n(1, m = t.opacity), "zIndex" in t && n(2, r = t.zIndex), "transform" in t && n(3, s = t.transform), "onClick" in t && n(4, h = t.onClick), "rendererIfNeed" in t && n(5, c = t.rendererIfNeed), "rendererData" in t && n(9, g = t.rendererData);
127
- }, i.$$.update = () => {
128
- i.$$.dirty & /*visible*/
129
- 256 && n(7, l = a ? "visible" : "hidden");
130
+ return n.$$set = (i) => {
131
+ "content" in i && t(0, o = i.content), "visible" in i && t(8, a = i.visible), "opacity" in i && t(1, m = i.opacity), "zIndex" in i && t(2, r = i.zIndex), "transform" in i && t(3, s = i.transform), "onClick" in i && t(4, k = i.onClick), "rendererIfNeed" in i && t(5, c = i.rendererIfNeed), "rendererData" in i && t(9, g = i.rendererData);
132
+ }, n.$$.update = () => {
133
+ n.$$.dirty & /*visible*/
134
+ 256 && t(7, l = a ? "visible" : "hidden");
130
135
  }, [
131
136
  o,
132
137
  m,
133
138
  r,
134
139
  s,
135
- h,
140
+ k,
136
141
  c,
137
142
  d,
138
143
  l,
@@ -141,14 +146,14 @@ function J(i, e, n) {
141
146
  I
142
147
  ];
143
148
  }
144
- class Q extends w {
149
+ class X extends E {
145
150
  constructor(e) {
146
- super(), C(
151
+ super(), G(
147
152
  this,
148
153
  e,
149
- J,
150
154
  H,
151
- D,
155
+ F,
156
+ w,
152
157
  {
153
158
  content: 0,
154
159
  visible: 8,
@@ -159,10 +164,10 @@ class Q extends w {
159
164
  rendererIfNeed: 5,
160
165
  rendererData: 9
161
166
  },
162
- F
167
+ S
163
168
  );
164
169
  }
165
170
  }
166
171
  export {
167
- Q as LabelItem
172
+ X as LabelItem
168
173
  };