@realsee/dnalogel 2.3.9-alpha.3 → 2.3.9-alpha.5

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 (243) hide show
  1. package/dist/index.cjs.js +2 -2
  2. package/dist/index.js +20 -16
  3. package/dist/index.umd.js +2 -2
  4. package/dist/shared-utils/audio.d.ts +1 -1
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +24 -24
  7. package/docs/classes/Magnifier.html +16 -16
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoTagPluginController.html +41 -41
  12. package/docs/classes/Util.BetterTween.html +8 -8
  13. package/docs/classes/Util.FivePointSelector.html +12 -12
  14. package/docs/classes/Util.Interval.html +12 -12
  15. package/docs/classes/Util.Magnifier.html +17 -17
  16. package/docs/classes/Util.PointDomHelper.html +11 -11
  17. package/docs/classes/Util.PointHelper.html +11 -11
  18. package/docs/classes/Util.Rectangle.html +13 -13
  19. package/docs/enums/CameraMovementEffect.html +7 -7
  20. package/docs/enums/ContentType.html +16 -16
  21. package/docs/enums/DIRECTION.html +9 -9
  22. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  23. package/docs/enums/DimensionType.html +7 -7
  24. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  25. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  27. package/docs/enums/PointType.html +7 -7
  28. package/docs/enums/Rotation.html +8 -8
  29. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  30. package/docs/functions/CameraMovementPlugin.html +4 -4
  31. package/docs/functions/CruisePlugin.html +4 -4
  32. package/docs/functions/GuideLinePlugin.html +5 -5
  33. package/docs/functions/ItemLabelPlugin.html +4 -4
  34. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  35. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  36. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  37. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  38. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  39. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  40. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  41. package/docs/functions/ModelViewPlugin.html +4 -4
  42. package/docs/functions/Object3DHelperPlugin.html +4 -4
  43. package/docs/functions/PanoCompassPlugin.html +4 -4
  44. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  45. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  46. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  47. package/docs/functions/PanoMeasurePlugin.html +4 -4
  48. package/docs/functions/PanoRulerPlugin.html +4 -4
  49. package/docs/functions/PanoRulerProPlugin.html +4 -4
  50. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  51. package/docs/functions/PanoTagPlugin.html +4 -4
  52. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  53. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  54. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  55. package/docs/functions/Util.getFrameTime.html +5 -5
  56. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  57. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  58. package/docs/functions/Util.isNil.html +5 -5
  59. package/docs/functions/Util.nextFrame.html +5 -5
  60. package/docs/functions/Util.notNil.html +5 -5
  61. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  62. package/docs/functions/Util.tweenProgress.html +5 -5
  63. package/docs/functions/pluginFlag.html +5 -5
  64. package/docs/index.html +4 -4
  65. package/docs/interfaces/AddTagConfig.html +6 -6
  66. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  67. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  68. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  69. package/docs/interfaces/EventMap.html +15 -15
  70. package/docs/interfaces/FloorplanBounding.html +8 -8
  71. package/docs/interfaces/FloorplanData.html +10 -10
  72. package/docs/interfaces/FloorplanEntrance.html +11 -11
  73. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  74. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  75. package/docs/interfaces/FloorplanFloorData.html +9 -9
  76. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  77. package/docs/interfaces/FloorplanObserver.html +9 -9
  78. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  79. package/docs/interfaces/FloorplanPosition.html +7 -7
  80. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  81. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  82. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  83. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  84. package/docs/interfaces/FloorplanServerData.html +7 -7
  85. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  86. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  87. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  88. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  89. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  90. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  91. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  92. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  94. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  95. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  96. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  97. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  98. package/docs/interfaces/LineJson.html +7 -7
  99. package/docs/interfaces/MinMax.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  101. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  102. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  103. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  104. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  105. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  108. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  110. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  112. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  113. package/docs/interfaces/Object3DHelperState.html +8 -8
  114. package/docs/interfaces/OpenParameter.html +7 -7
  115. package/docs/interfaces/PaintBrushAction.html +12 -12
  116. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  117. package/docs/interfaces/PaintBrushState.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  120. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  121. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  124. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  125. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  127. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  128. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  130. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  132. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  133. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  136. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  137. package/docs/interfaces/Point.html +8 -8
  138. package/docs/interfaces/PointJson.html +8 -8
  139. package/docs/interfaces/Room.html +9 -9
  140. package/docs/interfaces/RoomInfo.html +7 -7
  141. package/docs/interfaces/RoomLabel.html +14 -14
  142. package/docs/interfaces/RoomRules.html +5 -5
  143. package/docs/interfaces/Rooms.html +5 -5
  144. package/docs/interfaces/Scissor.html +9 -9
  145. package/docs/interfaces/State.html +8 -8
  146. package/docs/interfaces/TagCache.html +10 -10
  147. package/docs/interfaces/TagConfig.html +10 -10
  148. package/docs/interfaces/TagIconUrl.html +9 -9
  149. package/docs/interfaces/Tags.html +9 -9
  150. package/docs/interfaces/TemporaryState.html +6 -6
  151. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  152. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  153. package/docs/modules/Util.html +5 -5
  154. package/docs/modules.html +4 -4
  155. package/docs/types/ArrayPosition.html +5 -5
  156. package/docs/types/AudioAppearance.html +5 -5
  157. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  158. package/docs/types/CSS3DRenderExportType.html +5 -5
  159. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  160. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  161. package/docs/types/Color.html +5 -5
  162. package/docs/types/ContentTypeConfigKey.html +5 -5
  163. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  164. package/docs/types/ContentTypeMap.html +5 -5
  165. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  166. package/docs/types/Create3DElementReturnType.html +5 -5
  167. package/docs/types/CruisePluginExportType.html +5 -5
  168. package/docs/types/Direction-1.html +5 -5
  169. package/docs/types/Direction4.html +5 -5
  170. package/docs/types/FloorplanRuleLabels.html +5 -5
  171. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  172. package/docs/types/GuideLinePluginExportType.html +5 -5
  173. package/docs/types/HelperEventMap.html +5 -5
  174. package/docs/types/LoadTagConfig.html +5 -5
  175. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  176. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  177. package/docs/types/MediaData.html +5 -5
  178. package/docs/types/MediaStore.html +5 -5
  179. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  180. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  181. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  182. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  183. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  184. package/docs/types/MoveArgs.html +5 -5
  185. package/docs/types/MoveOpts.html +5 -5
  186. package/docs/types/Object3DHelperEventMap.html +5 -5
  187. package/docs/types/ObjectFit.html +5 -5
  188. package/docs/types/PaintBrushEventMap.html +5 -5
  189. package/docs/types/PanoCompassPluginData.html +5 -5
  190. package/docs/types/PanoCompassPluginExportType.html +5 -5
  191. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  192. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  193. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  194. package/docs/types/PanoIndex.html +5 -5
  195. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  196. package/docs/types/PanoMeasureReturnType.html +5 -5
  197. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  198. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  199. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  200. package/docs/types/PlaneTag.html +5 -5
  201. package/docs/types/PlaneTagElement.html +5 -5
  202. package/docs/types/Point2DElement.html +5 -5
  203. package/docs/types/Point2DTag.html +5 -5
  204. package/docs/types/Point3DElement.html +5 -5
  205. package/docs/types/Point3DTag.html +5 -5
  206. package/docs/types/PointTag.html +5 -5
  207. package/docs/types/PointTagElement.html +5 -5
  208. package/docs/types/Position.html +5 -5
  209. package/docs/types/RotateArgs.html +5 -5
  210. package/docs/types/RotateOpts.html +5 -5
  211. package/docs/types/RuleLabelsKey.html +5 -5
  212. package/docs/types/RuleLabelsValue.html +5 -5
  213. package/docs/types/StickType.html +5 -5
  214. package/docs/types/Tag.html +5 -5
  215. package/docs/types/Tag2D.html +5 -5
  216. package/docs/types/Tag3D.html +5 -5
  217. package/docs/types/TagContentType.html +5 -5
  218. package/docs/types/TagDimensionType.html +5 -5
  219. package/docs/types/TagElement.html +5 -5
  220. package/docs/types/TagEvents.html +5 -5
  221. package/docs/types/TagHooks.html +5 -5
  222. package/docs/types/TagIconSize.html +5 -5
  223. package/docs/types/TagId.html +5 -5
  224. package/docs/types/TagPointType.html +5 -5
  225. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  226. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  227. package/docs/types/WorkCode.html +5 -5
  228. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  229. package/docs/variables/PLUGIN.html +5 -5
  230. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  231. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  232. package/docs/variables/VERSION.html +5 -5
  233. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  234. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  235. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  236. package/libs/PanoTagPlugin/Components/Common/Audio.js +13 -13
  237. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +25 -25
  238. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +62 -60
  239. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +40 -40
  240. package/libs/PanoTagPlugin/controller/index.js +1 -1
  241. package/libs/shared-utils/audio.d.ts +1 -1
  242. package/libs/shared-utils/audio.js +10 -8
  243. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { SvelteComponent as j, init as A, safe_not_equal as B, append_styles as E, empty as F, insert as Y, transition_in as u, transition_out as x, check_outros as G, detach as z, create_component as w, space as D, element as c, attr as v, set_style as M, toggle_class as $, mount_component as k, append as g, destroy_component as y, group_outros as H } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as j, init as A, safe_not_equal as B, append_styles as E, empty as F, insert as z, transition_in as u, transition_out as v, check_outros as G, detach as T, create_component as k, space as D, element as w, attr as _, set_style as M, toggle_class as g, mount_component as y, append as h, destroy_component as Y, group_outros as H } from "../../../../vendor/svelte/internal/index.js";
2
2
  import I from "../../Common/Line/Straight.js";
3
3
  import N from "../../Common/Text/MText.js";
4
4
  import "../../../../vendor/svelte/transition/index.js";
5
5
  import "../../../../vendor/svelte/easing/index.js";
6
6
  import "../../../../shared-utils/uuid.js";
7
7
  import "../../../utils/px2rem.js";
8
- function J(i) {
9
- E(i, "svelte-10r5rix", ".plane__container.svelte-10r5rix.svelte-10r5rix{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-10r5rix.svelte-10r5rix{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.5);border-radius:0.25rem}.unfolded.svelte-10r5rix .plane__wrapper.svelte-10r5rix{transition-delay:200ms, 500ms;opacity:1}.folded.svelte-10r5rix .plane__wrapper.svelte-10r5rix{opacity:0}.plane.svelte-10r5rix.svelte-10r5rix{max-width:11.75rem}.title.svelte-10r5rix.svelte-10r5rix{font-weight:bold;font-size:0.75rem;line-height:1.125rem;margin-bottom:0.25rem}.description.svelte-10r5rix.svelte-10r5rix{font-size:0.6875rem;line-height:1rem}");
8
+ function J(l) {
9
+ E(l, "svelte-1lhi5w1", ".plane__container.svelte-1lhi5w1.svelte-1lhi5w1{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-1lhi5w1.svelte-1lhi5w1{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.3);border-radius:0.25rem}.unfolded.svelte-1lhi5w1 .plane__wrapper.svelte-1lhi5w1{transition-delay:200ms, 500ms;opacity:1}.folded.svelte-1lhi5w1 .plane__wrapper.svelte-1lhi5w1{opacity:0}.plane.svelte-1lhi5w1.svelte-1lhi5w1{max-width:11.75rem}.title.svelte-1lhi5w1.svelte-1lhi5w1{white-space:pre-wrap;font-weight:bold;font-size:0.75rem;line-height:1.125rem;margin-bottom:0.25rem}.description.svelte-1lhi5w1.svelte-1lhi5w1{white-space:pre-wrap;font-size:0.6875rem;line-height:1rem}");
10
10
  }
11
- function P(i) {
12
- var T, C;
13
- let n, l, e, r, a, d, s, _, f, m, p;
11
+ function P(l) {
12
+ var x, C;
13
+ let n, a, e, i, r, d, s, c, p, f, m;
14
14
  return n = new I({
15
15
  props: {
16
- unfolded: i[1],
16
+ unfolded: l[1],
17
17
  direction: "vertical",
18
18
  length: 15,
19
19
  duration: 500,
@@ -22,75 +22,75 @@ function P(i) {
22
22
  }
23
23
  }), s = new N({
24
24
  props: {
25
- text: i[2],
26
- edit: (T = i[0].data.edit) == null ? void 0 : T.title
25
+ text: l[2],
26
+ edit: (x = l[0].data.edit) == null ? void 0 : x.title
27
27
  }
28
- }), m = new N({
28
+ }), f = new N({
29
29
  props: {
30
- text: i[0].data.description,
31
- edit: (C = i[0].data.edit) == null ? void 0 : C.description,
30
+ text: l[0].data.description,
31
+ edit: (C = l[0].data.edit) == null ? void 0 : C.description,
32
32
  maxLine: 3
33
33
  }
34
34
  }), {
35
35
  c() {
36
- w(n.$$.fragment), l = D(), e = c("div"), r = c("div"), a = c("div"), d = c("div"), w(s.$$.fragment), _ = D(), f = c("div"), w(m.$$.fragment), v(d, "class", "title svelte-10r5rix"), v(f, "class", "description svelte-10r5rix"), v(a, "class", "plane svelte-10r5rix"), v(r, "class", "plane__wrapper svelte-10r5rix"), M(r, "transform", i[1] ? "translateY(-15px)" : "translateY(0)"), v(e, "class", "plane__container svelte-10r5rix"), $(e, "unfolded", i[1]), $(e, "folded", i[3]);
36
+ k(n.$$.fragment), a = D(), e = w("div"), i = w("div"), r = w("div"), d = w("div"), k(s.$$.fragment), c = D(), p = w("div"), k(f.$$.fragment), _(d, "class", "title svelte-1lhi5w1"), _(p, "class", "description svelte-1lhi5w1"), _(r, "class", "plane svelte-1lhi5w1"), _(i, "class", "plane__wrapper svelte-1lhi5w1"), M(i, "transform", l[1] ? "translateY(-15px)" : "translateY(0)"), _(e, "class", "plane__container svelte-1lhi5w1"), g(e, "unfolded", l[1]), g(e, "folded", l[3]);
37
37
  },
38
38
  m(t, o) {
39
- k(n, t, o), Y(t, l, o), Y(t, e, o), g(e, r), g(r, a), g(a, d), k(s, d, null), g(a, _), g(a, f), k(m, f, null), p = !0;
39
+ y(n, t, o), z(t, a, o), z(t, e, o), h(e, i), h(i, r), h(r, d), y(s, d, null), h(r, c), h(r, p), y(f, p, null), m = !0;
40
40
  },
41
41
  p(t, o) {
42
42
  var S, q;
43
43
  const L = {};
44
44
  o & 2 && (L.unfolded = t[1]), n.$set(L);
45
+ const $ = {};
46
+ o & 4 && ($.text = t[2]), o & 1 && ($.edit = (S = t[0].data.edit) == null ? void 0 : S.title), s.$set($);
45
47
  const b = {};
46
- o & 4 && (b.text = t[2]), o & 1 && (b.edit = (S = t[0].data.edit) == null ? void 0 : S.title), s.$set(b);
47
- const h = {};
48
- o & 1 && (h.text = t[0].data.description), o & 1 && (h.edit = (q = t[0].data.edit) == null ? void 0 : q.description), m.$set(h), o & 2 && M(r, "transform", t[1] ? "translateY(-15px)" : "translateY(0)"), (!p || o & 2) && $(e, "unfolded", t[1]), (!p || o & 8) && $(e, "folded", t[3]);
48
+ o & 1 && (b.text = t[0].data.description), o & 1 && (b.edit = (q = t[0].data.edit) == null ? void 0 : q.description), f.$set(b), o & 2 && M(i, "transform", t[1] ? "translateY(-15px)" : "translateY(0)"), (!m || o & 2) && g(e, "unfolded", t[1]), (!m || o & 8) && g(e, "folded", t[3]);
49
49
  },
50
50
  i(t) {
51
- p || (u(n.$$.fragment, t), u(s.$$.fragment, t), u(m.$$.fragment, t), p = !0);
51
+ m || (u(n.$$.fragment, t), u(s.$$.fragment, t), u(f.$$.fragment, t), m = !0);
52
52
  },
53
53
  o(t) {
54
- x(n.$$.fragment, t), x(s.$$.fragment, t), x(m.$$.fragment, t), p = !1;
54
+ v(n.$$.fragment, t), v(s.$$.fragment, t), v(f.$$.fragment, t), m = !1;
55
55
  },
56
56
  d(t) {
57
- y(n, t), t && z(l), t && z(e), y(s), y(m);
57
+ Y(n, t), t && T(a), t && T(e), Y(s), Y(f);
58
58
  }
59
59
  };
60
60
  }
61
- function K(i) {
62
- let n, l, e = i[0].state && P(i);
61
+ function K(l) {
62
+ let n, a, e = l[0].state && P(l);
63
63
  return {
64
64
  c() {
65
65
  e && e.c(), n = F();
66
66
  },
67
- m(r, a) {
68
- e && e.m(r, a), Y(r, n, a), l = !0;
67
+ m(i, r) {
68
+ e && e.m(i, r), z(i, n, r), a = !0;
69
69
  },
70
- p(r, [a]) {
71
- r[0].state ? e ? (e.p(r, a), a & 1 && u(e, 1)) : (e = P(r), e.c(), u(e, 1), e.m(n.parentNode, n)) : e && (H(), x(e, 1, 1, () => {
70
+ p(i, [r]) {
71
+ i[0].state ? e ? (e.p(i, r), r & 1 && u(e, 1)) : (e = P(i), e.c(), u(e, 1), e.m(n.parentNode, n)) : e && (H(), v(e, 1, 1, () => {
72
72
  e = null;
73
73
  }), G());
74
74
  },
75
- i(r) {
76
- l || (u(e), l = !0);
75
+ i(i) {
76
+ a || (u(e), a = !0);
77
77
  },
78
- o(r) {
79
- x(e), l = !1;
78
+ o(i) {
79
+ v(e), a = !1;
80
80
  },
81
- d(r) {
82
- e && e.d(r), r && z(n);
81
+ d(i) {
82
+ e && e.d(i), i && T(n);
83
83
  }
84
84
  };
85
85
  }
86
- function O(i, n, l) {
87
- let e, r, a, { tag: d } = n;
88
- return i.$$set = (s) => {
89
- "tag" in s && l(0, d = s.tag);
90
- }, i.$$.update = () => {
91
- var s, _, f;
92
- i.$$.dirty & 1 && l(1, e = !!((s = d.state) != null && s.unfolded)), i.$$.dirty & 2 && l(3, r = !e), i.$$.dirty & 1 && l(2, a = (f = (_ = d.data.title) != null ? _ : d.data.text) != null ? f : "");
93
- }, [d, e, a, r];
86
+ function O(l, n, a) {
87
+ let e, i, r, { tag: d } = n;
88
+ return l.$$set = (s) => {
89
+ "tag" in s && a(0, d = s.tag);
90
+ }, l.$$.update = () => {
91
+ var s, c, p;
92
+ l.$$.dirty & 1 && a(1, e = !!((s = d.state) != null && s.unfolded)), l.$$.dirty & 2 && a(3, i = !e), l.$$.dirty & 1 && a(2, r = (p = (c = d.data.title) != null ? c : d.data.text) != null ? p : "");
93
+ }, [d, e, r, i];
94
94
  }
95
95
  class ee extends j {
96
96
  constructor(n) {
@@ -121,7 +121,7 @@ import "./TagCacheController.js";
121
121
  import "../../base/BasePlugin.js";
122
122
  import "../../CSS3DRenderPlugin/Controller.js";
123
123
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
124
- const A = "2.0.2", v = `DnalogelPlugin-PanoTagPlugin@${A}`, $ = !1, Ut = (h) => `${v}--${h}`;
124
+ const A = "2.0.4", v = `DnalogelPlugin-PanoTagPlugin@${A}`, $ = !1, Ut = (h) => `${v}--${h}`;
125
125
  class Lt extends N {
126
126
  constructor(e, t) {
127
127
  super(e);
@@ -7,7 +7,7 @@ export declare function waitForBlankAudioGenerated(checkInterval?: number, timeo
7
7
  */
8
8
  export declare function generateBlankAudio(length: number): void;
9
9
  export declare class IAudio extends Audio {
10
- preload: "metadata";
10
+ preload: "auto";
11
11
  get isBlankAudio(): boolean;
12
12
  get src(): string;
13
13
  set src(paramsSrc: string);
@@ -1,6 +1,6 @@
1
- var m = Object.defineProperty;
2
- var l = (e, V, A) => V in e ? m(e, V, { enumerable: !0, configurable: !0, writable: !0, value: A }) : e[V] = A;
3
- var r = (e, V, A) => (l(e, typeof V != "symbol" ? V + "" : V, A), A);
1
+ var l = Object.defineProperty;
2
+ var m = (e, V, A) => V in e ? l(e, V, { enumerable: !0, configurable: !0, writable: !0, value: A }) : e[V] = A;
3
+ var r = (e, V, A) => (m(e, typeof V != "symbol" ? V + "" : V, A), A);
4
4
  var a = (e, V, A) => new Promise((t, c) => {
5
5
  var u = (n) => {
6
6
  try {
@@ -25,14 +25,16 @@ function L(e) {
25
25
  function K(e) {
26
26
  return a(this, null, function* () {
27
27
  const V = (() => e instanceof d ? e : L(e))(), A = yield new Promise((t) => {
28
- V.duration ? V.isBlankAudio ? t(0) : t(V.duration) : V.addEventListener("loadedmetadata", () => {
28
+ V.duration ? V.isBlankAudio ? t(0) : t(V.duration) : (V.addEventListener("loadedmetadata", () => {
29
29
  V.isBlankAudio ? t(0) : t(V.duration);
30
- });
30
+ }), V.addEventListener("canplaythrough", () => {
31
+ V.isBlankAudio ? t(0) : t(V.duration);
32
+ }));
31
33
  });
32
34
  return typeof e == "string" && V.clear(), A;
33
35
  });
34
36
  }
35
- function v(e) {
37
+ function g(e) {
36
38
  const V = e - s.length;
37
39
  if (!(V <= 0))
38
40
  for (let A = 0; A < V; A++)
@@ -44,7 +46,7 @@ function f(e) {
44
46
  class d extends Audio {
45
47
  constructor(A) {
46
48
  super(A);
47
- r(this, "preload", "metadata");
49
+ r(this, "preload", "auto");
48
50
  r(this, "realSrc", "");
49
51
  r(this, "inited", !1);
50
52
  r(this, "removeDocumentEventListener");
@@ -70,6 +72,6 @@ class d extends Audio {
70
72
  }
71
73
  }
72
74
  export {
73
- v as generateBlankAudio,
75
+ g as generateBlankAudio,
74
76
  K as getAudioDuration
75
77
  };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.3.9-alpha.3",
10
+ "version": "2.3.9-alpha.5",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",