@realsee/dnalogel 2.3.2 → 2.3.4

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 (227) hide show
  1. package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -2
  2. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +5 -0
  3. package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +5 -1
  4. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -0
  5. package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +5 -2
  6. package/dist/index.cjs.js +36 -36
  7. package/dist/index.js +263 -197
  8. package/dist/index.umd.js +21 -21
  9. package/docs/classes/CSS3DRender.html +31 -31
  10. package/docs/classes/CruisePluginController.html +24 -24
  11. package/docs/classes/Magnifier.html +16 -16
  12. package/docs/classes/ModelRoomLabelController.html +11 -11
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +15 -15
  15. package/docs/classes/PanoTagPluginController.html +39 -39
  16. package/docs/classes/Util.BetterTween.html +8 -8
  17. package/docs/classes/Util.FivePointSelector.html +12 -12
  18. package/docs/classes/Util.Interval.html +12 -12
  19. package/docs/classes/Util.Magnifier.html +17 -17
  20. package/docs/classes/Util.PointDomHelper.html +11 -11
  21. package/docs/classes/Util.PointHelper.html +11 -11
  22. package/docs/classes/Util.Rectangle.html +13 -13
  23. package/docs/enums/CameraMovementEffect.html +7 -7
  24. package/docs/enums/ContentType.html +12 -12
  25. package/docs/enums/DIRECTION.html +9 -9
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/DimensionType.html +7 -7
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  30. package/docs/enums/LinkType.html +7 -7
  31. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  32. package/docs/enums/PointType.html +7 -7
  33. package/docs/enums/Rotation.html +8 -8
  34. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  35. package/docs/functions/CameraMovementPlugin.html +4 -4
  36. package/docs/functions/CruisePlugin.html +4 -4
  37. package/docs/functions/GuideLinePlugin.html +5 -5
  38. package/docs/functions/ItemLabelPlugin.html +4 -4
  39. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  42. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  43. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  44. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  45. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  46. package/docs/functions/ModelViewPlugin.html +4 -4
  47. package/docs/functions/Object3DHelperPlugin.html +4 -4
  48. package/docs/functions/PanoCompassPlugin.html +4 -4
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  50. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  52. package/docs/functions/PanoMeasurePlugin.html +4 -4
  53. package/docs/functions/PanoRulerPlugin.html +4 -4
  54. package/docs/functions/PanoRulerProPlugin.html +4 -4
  55. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  56. package/docs/functions/PanoTagPlugin.html +4 -4
  57. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  58. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  59. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  60. package/docs/functions/Util.getFrameTime.html +5 -5
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  63. package/docs/functions/Util.isNil.html +5 -5
  64. package/docs/functions/Util.nextFrame.html +5 -5
  65. package/docs/functions/Util.notNil.html +5 -5
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  67. package/docs/functions/Util.tweenProgress.html +5 -5
  68. package/docs/functions/pluginFlag.html +5 -5
  69. package/docs/index.html +4 -4
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  71. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  72. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  73. package/docs/interfaces/ContentTypeMap.html +12 -12
  74. package/docs/interfaces/FloorplanBounding.html +8 -8
  75. package/docs/interfaces/FloorplanData.html +10 -10
  76. package/docs/interfaces/FloorplanEntrance.html +11 -11
  77. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  78. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  79. package/docs/interfaces/FloorplanFloorData.html +9 -9
  80. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  81. package/docs/interfaces/FloorplanObserver.html +9 -9
  82. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  83. package/docs/interfaces/FloorplanPosition.html +7 -7
  84. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  87. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  88. package/docs/interfaces/FloorplanServerData.html +7 -7
  89. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  91. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  97. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  99. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  100. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  101. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  102. package/docs/interfaces/LineJson.html +7 -7
  103. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  105. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  106. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  107. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  108. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  110. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  111. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  112. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  113. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  114. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  115. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  116. package/docs/interfaces/Object3DHelperState.html +8 -8
  117. package/docs/interfaces/OpenParameter.html +7 -7
  118. package/docs/interfaces/PaintBrushAction.html +12 -12
  119. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  120. package/docs/interfaces/PaintBrushState.html +10 -10
  121. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  123. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  124. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  125. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  127. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  128. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  129. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  130. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  131. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  132. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  133. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  134. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  135. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  136. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  137. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  138. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  139. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  140. package/docs/interfaces/Point.html +8 -8
  141. package/docs/interfaces/PointJson.html +8 -8
  142. package/docs/interfaces/Room.html +9 -9
  143. package/docs/interfaces/RoomInfo.html +7 -7
  144. package/docs/interfaces/RoomLabel.html +14 -14
  145. package/docs/interfaces/RoomRules.html +5 -5
  146. package/docs/interfaces/Rooms.html +5 -5
  147. package/docs/interfaces/Scissor.html +9 -9
  148. package/docs/interfaces/TagConfig.html +10 -10
  149. package/docs/interfaces/Tags.html +9 -9
  150. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  151. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  152. package/docs/modules/Util.html +5 -5
  153. package/docs/modules.html +4 -4
  154. package/docs/types/ArrayPosition.html +5 -5
  155. package/docs/types/CSS3DRenderExportType.html +5 -5
  156. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  157. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  158. package/docs/types/Color.html +5 -5
  159. package/docs/types/ContentTypeConfigKey.html +5 -5
  160. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  161. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  162. package/docs/types/Create3DElementReturnType.html +5 -5
  163. package/docs/types/CruisePluginExportType.html +5 -5
  164. package/docs/types/Direction-1.html +5 -5
  165. package/docs/types/Direction4.html +5 -5
  166. package/docs/types/FloorplanRuleLabels.html +5 -5
  167. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  168. package/docs/types/GuideLinePluginExportType.html +5 -5
  169. package/docs/types/HelperEventMap.html +5 -5
  170. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  171. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  172. package/docs/types/MediaData.html +5 -5
  173. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  174. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  175. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  176. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  177. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  178. package/docs/types/MoveArgs.html +5 -5
  179. package/docs/types/MoveOpts.html +5 -5
  180. package/docs/types/Object3DHelperEventMap.html +5 -5
  181. package/docs/types/ObjectFit.html +5 -5
  182. package/docs/types/PaintBrushEventMap.html +5 -5
  183. package/docs/types/PanoCompassPluginData.html +5 -5
  184. package/docs/types/PanoCompassPluginExportType.html +5 -5
  185. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  186. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  187. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  188. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  189. package/docs/types/PanoMeasureReturnType.html +5 -5
  190. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  191. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  192. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  193. package/docs/types/PlaneTag.html +5 -5
  194. package/docs/types/PointTag.html +5 -5
  195. package/docs/types/Position.html +5 -5
  196. package/docs/types/RotateArgs.html +5 -5
  197. package/docs/types/RotateOpts.html +5 -5
  198. package/docs/types/RuleLabelsKey.html +5 -5
  199. package/docs/types/RuleLabelsValue.html +5 -5
  200. package/docs/types/Tag.html +5 -5
  201. package/docs/types/Tag2D.html +5 -5
  202. package/docs/types/Tag3D.html +5 -5
  203. package/docs/types/TagId.html +5 -5
  204. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  205. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  206. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  207. package/docs/variables/PLUGIN.html +5 -5
  208. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  209. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  210. package/docs/variables/VERSION.html +5 -5
  211. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  212. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  213. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  214. package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -2
  215. package/libs/PanoMeasurePlugin/Controller/index.js +63 -44
  216. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +5 -0
  217. package/libs/PanoMeasurePlugin/Modules/GuideController.js +15 -10
  218. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +3 -3
  219. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +5 -1
  220. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +38 -15
  221. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -0
  222. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +20 -15
  223. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  224. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +5 -2
  225. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +36 -22
  226. package/libs/PanoTagPlugin/Components/Common/Text.js +33 -33
  227. package/package.json +15 -14
@@ -1,39 +1,53 @@
1
- var m = Object.defineProperty;
2
- var s = (n, e, t) => e in n ? m(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var i = (n, e, t) => (s(n, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { mainIconStyle as _, mainItemStyle as l } from "./style.js";
5
- class o {
6
- constructor(e, t) {
7
- i(this, "container");
8
- i(this, "measureController");
9
- i(this, "mainElement");
10
- i(this, "onClick", () => {
11
- this.mainElement.mainTextDom.innerText === "\u5F00\u59CB" ? (this.measureController.hook.emit("willChangeState", "watching", "editing"), this.change2Done()) : (this.measureController.hook.emit("willChangeState", "editing", "watching"), this.change2Add());
1
+ var _ = Object.defineProperty;
2
+ var r = (i, t, e) => t in i ? _(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var n = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { mainIconStyle as l, mainItemStyle as c } from "./style.js";
5
+ class d {
6
+ constructor(t, e, s) {
7
+ n(this, "container");
8
+ n(this, "measureController");
9
+ n(this, "mainElement");
10
+ n(this, "_params");
11
+ n(this, "_btnTexts", {
12
+ start: "\u5F00\u59CB",
13
+ end: "\u7ED3\u675F"
12
14
  });
13
- this.measureController = e, this.container = t, this.mainElement = this.getMainElement(), Object.assign(this.mainElement.mainIcon.style, _), Object.assign(this.mainElement.mainItem.style, l), this.change2Add(), this.mainElement.mainItem.addEventListener("click", this.onClick);
15
+ n(this, "onClick", () => {
16
+ var t;
17
+ this.mainElement.mainTextDom.innerText === ((t = this._params.startButtonText) != null ? t : "\u5F00\u59CB") ? (this.measureController.hook.emit("willChangeState", "watching", "editing"), this.change2Done()) : (this.measureController.hook.emit("willChangeState", "editing", "watching"), this.change2Add());
18
+ });
19
+ var a, m;
20
+ this._params = s, this._btnTexts = {
21
+ start: (a = this._params.startButtonText) != null ? a : this._btnTexts.start,
22
+ end: (m = this._params.endButtonText) != null ? m : this._btnTexts.end
23
+ }, this.measureController = t, this.container = e, this.mainElement = this.getMainElement(), Object.assign(this.mainElement.mainIcon.style, l), Object.assign(this.mainElement.mainItem.style, c), this.change2Add(), this.mainElement.mainItem.addEventListener("click", this.onClick);
14
24
  }
15
25
  dispose() {
16
26
  this.mainElement.mainItem.removeEventListener("click", this.onClick);
17
27
  }
18
28
  getMainElement() {
19
- const e = this.container.querySelector(".fpm__main-text"), t = this.container.querySelector(".fpm__main"), a = this.container.querySelector(".fpm__main-icon");
20
- if (!t || !e || !a)
29
+ const t = this.container.querySelector(".fpm__main-text"), e = this.container.querySelector(".fpm__main"), s = this.container.querySelector(".fpm__main-icon");
30
+ if (!e || !t || !s)
21
31
  throw new Error("cannot find dom");
22
- return { mainTextDom: e, mainItem: t, mainIcon: a };
32
+ return { mainTextDom: t, mainItem: e, mainIcon: s };
23
33
  }
24
34
  change2Add() {
25
- const { mainIcon: e, mainTextDom: t } = this.mainElement;
26
- e.className.includes("fpm__main__start") || e.className.includes("fpm__main__end") && (e.style.transform = "scale(0.8)", t.className.includes("fpm__main-text__show") ? t.classList.replace("fpm__main-text__show", "fpm__main-text__hide") : t.classList.add("fpm__main-text__hide"), setTimeout(() => {
27
- e.classList.replace("fpm__main__end", "fpm__main__start"), e.style.transform = "scale(1)", t.innerText = "\u5F00\u59CB", t.classList.replace("fpm__main-text__hide", "fpm__main-text__show");
35
+ const { mainIcon: t, mainTextDom: e } = this.mainElement;
36
+ if (t.className.includes("fpm__main__start")) {
37
+ e.innerText = this._btnTexts.start;
38
+ return;
39
+ }
40
+ t.className.includes("fpm__main__end") && (t.style.transform = "scale(0.8)", e.className.includes("fpm__main-text__show") ? e.classList.replace("fpm__main-text__show", "fpm__main-text__hide") : e.classList.add("fpm__main-text__hide"), setTimeout(() => {
41
+ t.classList.replace("fpm__main__end", "fpm__main__start"), t.style.transform = "scale(1)", e.innerText = this._btnTexts.start, e.classList.replace("fpm__main-text__hide", "fpm__main-text__show");
28
42
  }, 200));
29
43
  }
30
44
  change2Done() {
31
- const { mainTextDom: e, mainIcon: t } = this.mainElement;
32
- e.innerText !== "\u7ED3\u675F" && (t.className.includes("fpm__main__end") || t.className.includes("fpm__main__start") && (t.style.transform = "scale(0.8)", e.className.includes("fpm__main-text__show") ? e.classList.replace("fpm__main-text__show", "fpm__main-text__hide") : e.classList.add("fpm__main-text__hide"), setTimeout(() => {
33
- t.classList.replace("fpm__main__start", "fpm__main__end"), t.style.transform = "scale(1)", e.innerText = "\u7ED3\u675F", e.classList.replace("fpm__main-text__hide", "fpm__main-text__show");
45
+ const { mainTextDom: t, mainIcon: e } = this.mainElement;
46
+ t.innerText !== this._btnTexts.end && (e.className.includes("fpm__main__end") || e.className.includes("fpm__main__start") && (e.style.transform = "scale(0.8)", t.className.includes("fpm__main-text__show") ? t.classList.replace("fpm__main-text__show", "fpm__main-text__hide") : t.classList.add("fpm__main-text__hide"), setTimeout(() => {
47
+ e.classList.replace("fpm__main__start", "fpm__main__end"), e.style.transform = "scale(1)", t.innerText = this._btnTexts.end, t.classList.replace("fpm__main-text__hide", "fpm__main-text__show");
34
48
  }, 200)));
35
49
  }
36
50
  }
37
51
  export {
38
- o as mobileMainBtnController
52
+ d as MobileMainBtnController
39
53
  };
@@ -1,48 +1,48 @@
1
- import { SvelteComponent as M, init as x, safe_not_equal as R, append_styles as L, empty as T, insert as j, noop as p, destroy_each as k, detach as D, onMount as w, element as N, text as S, attr as O, append as v, set_data as C, binding_callbacks as A } from "../../../vendor/svelte/internal/index.js";
2
- import g from "animejs";
3
- import { notNil as B } from "../../../shared-utils/isNil.js";
1
+ import { SvelteComponent as b, init as k, safe_not_equal as x, append_styles as R, empty as L, insert as D, noop as g, destroy_each as T, detach as F, onMount as N, element as S, text as O, attr as v, append as z, set_data as C, binding_callbacks as w } from "../../../vendor/svelte/internal/index.js";
2
+ import p from "animejs";
3
+ import { notNil as A } from "../../../shared-utils/isNil.js";
4
4
  import "three";
5
5
  import { searchFirstValueSmallThanLastValue as J } from "../../utils/search.js";
6
6
  import { RANDON_STRING as E } from "../../utils/constants.js";
7
7
  function P(o) {
8
- L(o, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
8
+ R(o, "svelte-zgfkts", ".text-char.svelte-zgfkts{text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
9
9
  }
10
10
  function y(o, i, l) {
11
11
  const e = o.slice();
12
12
  return e[10] = i[l], e[11] = i, e[12] = l, e;
13
13
  }
14
- function b(o) {
14
+ function j(o) {
15
15
  let i, l = o[10] + "", e, t = o[12];
16
16
  const s = () => o[6](i, t), n = () => o[6](null, t);
17
17
  return {
18
18
  c() {
19
- i = N("span"), e = S(l), O(i, "class", "text-char svelte-1b2n9wi");
19
+ i = S("span"), e = O(l), v(i, "class", "text-char svelte-zgfkts");
20
20
  },
21
21
  m(r, f) {
22
- j(r, i, f), v(i, e), s();
22
+ D(r, i, f), z(i, e), s();
23
23
  },
24
24
  p(r, f) {
25
25
  o = r, f & 2 && l !== (l = o[10] + "") && C(e, l), t !== o[12] && (n(), t = o[12], s());
26
26
  },
27
27
  d(r) {
28
- r && D(i), n();
28
+ r && F(i), n();
29
29
  }
30
30
  };
31
31
  }
32
32
  function U(o) {
33
33
  let i, l = o[1], e = [];
34
34
  for (let t = 0; t < l.length; t += 1)
35
- e[t] = b(y(o, l, t));
35
+ e[t] = j(y(o, l, t));
36
36
  return {
37
37
  c() {
38
38
  for (let t = 0; t < e.length; t += 1)
39
39
  e[t].c();
40
- i = T();
40
+ i = L();
41
41
  },
42
42
  m(t, s) {
43
43
  for (let n = 0; n < e.length; n += 1)
44
44
  e[n].m(t, s);
45
- j(t, i, s);
45
+ D(t, i, s);
46
46
  },
47
47
  p(t, [s]) {
48
48
  if (s & 3) {
@@ -50,38 +50,38 @@ function U(o) {
50
50
  let n;
51
51
  for (n = 0; n < l.length; n += 1) {
52
52
  const r = y(t, l, n);
53
- e[n] ? e[n].p(r, s) : (e[n] = b(r), e[n].c(), e[n].m(i.parentNode, i));
53
+ e[n] ? e[n].p(r, s) : (e[n] = j(r), e[n].c(), e[n].m(i.parentNode, i));
54
54
  }
55
55
  for (; n < e.length; n += 1)
56
56
  e[n].d(1);
57
57
  e.length = l.length;
58
58
  }
59
59
  },
60
- i: p,
61
- o: p,
60
+ i: g,
61
+ o: g,
62
62
  d(t) {
63
- k(e, t), t && D(i);
63
+ T(e, t), t && F(i);
64
64
  }
65
65
  };
66
66
  }
67
67
  function V(o, i, l) {
68
- let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f, u = [], c;
69
- function F(a) {
68
+ let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f, c = [], u;
69
+ function I(a) {
70
70
  clearTimeout(f), f = setTimeout(
71
71
  function() {
72
- !c || (a && c.reversed || !a && !c.reversed) && (c.reverse(), c.play());
72
+ !u || (a && u.reversed || !a && !u.reversed) && (u.reverse(), u.play());
73
73
  },
74
74
  a ? t : s
75
75
  );
76
76
  }
77
- w(function() {
77
+ N(function() {
78
78
  const a = (() => {
79
- const _ = J((m) => u[m].getBoundingClientRect().x, [Math.min(u.length - 1, 10), Math.min(u.length - 1, 30)]);
79
+ const _ = J((m) => c[m].getBoundingClientRect().x, [Math.min(c.length - 1, 10), Math.min(c.length - 1, 30)]);
80
80
  if (_ > 0)
81
81
  return _;
82
82
  })();
83
- c = g({
84
- targets: u.filter(B).slice(0, a),
83
+ u = p({
84
+ targets: c.slice(0, a).filter(A),
85
85
  autoplay: !1,
86
86
  duration: 400,
87
87
  scale: [0.7, 1],
@@ -89,13 +89,13 @@ function V(o, i, l) {
89
89
  opacity: [0, 1],
90
90
  translateX: [4, 0],
91
91
  translateY: [10, 0],
92
- delay: g.stagger(50),
92
+ delay: p.stagger(50),
93
93
  easing: "easeInOutCubic"
94
- }), r && c.seek(c.duration);
94
+ }), r && u.seek(u.duration);
95
95
  });
96
- function I(a, _) {
97
- A[a ? "unshift" : "push"](() => {
98
- u[_] = a, l(0, u);
96
+ function M(a, _) {
97
+ w[a ? "unshift" : "push"](() => {
98
+ c[_] = a, l(0, c);
99
99
  });
100
100
  }
101
101
  return o.$$set = (a) => {
@@ -103,18 +103,18 @@ function V(o, i, l) {
103
103
  }, o.$$.update = () => {
104
104
  o.$$.dirty & 16 && l(1, e = (() => {
105
105
  const a = [], _ = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu")), m = `__EMOJI_SPLIT_${E}__`, h = `__EMOJI_${E}__`;
106
- return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a.filter(Boolean);
107
- })()), o.$$.dirty & 32 && F(r);
108
- }, [u, e, t, s, n, r, I];
106
+ return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a;
107
+ })()), o.$$.dirty & 32 && I(r);
108
+ }, [c, e, t, s, n, r, M];
109
109
  }
110
- class H extends M {
110
+ class H extends b {
111
111
  constructor(i) {
112
- super(), x(
112
+ super(), k(
113
113
  this,
114
114
  i,
115
115
  V,
116
116
  U,
117
- R,
117
+ x,
118
118
  {
119
119
  inDelay: 2,
120
120
  outDelay: 3,
package/package.json CHANGED
@@ -7,8 +7,21 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.3.2",
10
+ "version": "2.3.4",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
+ "scripts": {
13
+ "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
14
+ "dev": "run-p dev:*",
15
+ "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
16
+ "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
17
+ "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
18
+ "build": "run-p build:*",
19
+ "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
20
+ "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
21
+ "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
22
+ "docs": "typedoc --options ./typedoc.json",
23
+ "prepublishOnly": "run-p build docs"
24
+ },
12
25
  "files": [
13
26
  "libs",
14
27
  "dist",
@@ -69,17 +82,5 @@
69
82
  "peerDependencies": {
70
83
  "@realsee/five": "^5.0.0",
71
84
  "three": ">=0.115.0 <=0.117.1"
72
- },
73
- "scripts": {
74
- "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
75
- "dev": "run-p dev:*",
76
- "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
77
- "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
78
- "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
79
- "build": "run-p build:*",
80
- "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
81
- "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
82
- "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
83
- "docs": "typedoc --options ./typedoc.json"
84
85
  }
85
- }
86
+ }