@realsee/dnalogel 2.1.0-alpha.26 → 2.1.0-alpha.27

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 (105) hide show
  1. package/dist/index.es.js +21286 -0
  2. package/dist/index.js +34 -33
  3. package/docs/classes/CruisePluginController.html +14 -14
  4. package/docs/classes/Magnifier.html +4 -4
  5. package/docs/classes/ModelRoomLabelController.html +4 -4
  6. package/docs/classes/Object3DHelperController.html +9 -9
  7. package/docs/classes/PaintBrush.html +3 -3
  8. package/docs/classes/PanoTagPluginController.html +23 -23
  9. package/docs/enums/CameraMovementEffect.html +2 -2
  10. package/docs/enums/ContentType.html +7 -7
  11. package/docs/enums/DIRECTION.html +1 -1
  12. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  13. package/docs/enums/DimensionType.html +1 -1
  14. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  15. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  16. package/docs/enums/LinkType.html +1 -1
  17. package/docs/enums/PaintBrushTypeEnum.html +1 -1
  18. package/docs/enums/PointType.html +1 -1
  19. package/docs/enums/Rotation.html +2 -2
  20. package/docs/index.html +1 -1
  21. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  22. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  23. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  24. package/docs/interfaces/ContentTypeMap.html +3 -3
  25. package/docs/interfaces/FloorplanBounding.html +4 -4
  26. package/docs/interfaces/FloorplanData.html +2 -2
  27. package/docs/interfaces/FloorplanEntrance.html +7 -7
  28. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  29. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  30. package/docs/interfaces/FloorplanFloorData.html +2 -2
  31. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  32. package/docs/interfaces/FloorplanObserver.html +2 -2
  33. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  34. package/docs/interfaces/FloorplanPosition.html +2 -2
  35. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  36. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  37. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  38. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  39. package/docs/interfaces/FloorplanServerData.html +2 -2
  40. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  41. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  42. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  43. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  44. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  45. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  46. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  47. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  48. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  49. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  50. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  51. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  52. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  53. package/docs/interfaces/LineJson.html +1 -1
  54. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  55. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  56. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  57. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  58. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  59. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  60. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  61. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  62. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  63. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  64. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  65. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  66. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  67. package/docs/interfaces/Object3DHelperState.html +1 -1
  68. package/docs/interfaces/OpenParameter.html +2 -2
  69. package/docs/interfaces/PaintBrushAction.html +7 -7
  70. package/docs/interfaces/PaintBrushConfigs.html +1 -1
  71. package/docs/interfaces/PaintBrushState.html +1 -1
  72. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  73. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  74. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  75. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  76. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  77. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  78. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  79. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  80. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  81. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  82. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  83. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  84. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  85. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  86. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  87. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  88. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  89. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  90. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  91. package/docs/interfaces/Point.html +1 -1
  92. package/docs/interfaces/PointJson.html +1 -1
  93. package/docs/interfaces/Room.html +1 -1
  94. package/docs/interfaces/RoomInfo.html +1 -1
  95. package/docs/interfaces/RoomLabel.html +7 -7
  96. package/docs/interfaces/RoomRules.html +1 -1
  97. package/docs/interfaces/Rooms.html +1 -1
  98. package/docs/interfaces/Scissor.html +5 -5
  99. package/docs/interfaces/TagConfig.html +3 -3
  100. package/docs/interfaces/Tags.html +3 -3
  101. package/docs/modules.html +21 -21
  102. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +81 -81
  103. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +69 -68
  104. package/libs/PanoTagPlugin/controller/index.js +1 -1
  105. package/package.json +1 -1
@@ -1,147 +1,147 @@
1
- import { S as j, i as C, s as N, a as F, r as U, c as m, n as h, g as _, e as d, b as r, G as q, o as S, l as g, I as f, q as y, p as z, K as k, L } from "../../../index.164f1850.js";
2
- import { Image_Play_Large as P, Image_Play_Small as B } from "../../Assets/Icon.js";
3
- function G(l) {
4
- F(l, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
1
+ import { S as C, i as N, s as F, a as U, r as q, c as _, n as y, g as p, e as m, b as u, G as S, o as L, l as b, I as d, q as z, p as k, K as P, L as G } from "../../../index.164f1850.js";
2
+ import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
3
+ function K(o) {
4
+ U(o, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
5
5
  }
6
- function I(l) {
7
- let e, t;
8
- function a(u, i) {
9
- if (u[0].type === "Image")
6
+ function I(o) {
7
+ let e;
8
+ function t(a, c) {
9
+ if (a[0].type === "Image")
10
+ return V;
11
+ if (a[0].type === "Video")
10
12
  return M;
11
- if (u[0].type === "Video")
12
- return K;
13
13
  }
14
- let s = a(l), o = s && s(l);
14
+ let s = t(o), i = s && s(o);
15
15
  return {
16
16
  c() {
17
- e = d("div"), o && o.c(), r(e, "class", "media-item svelte-cwtvzu"), r(e, "style", t = `object-fit: ${l[3]};`);
17
+ e = m("div"), i && i.c(), u(e, "class", "media-item svelte-cwtvzu");
18
18
  },
19
- m(u, i) {
20
- m(u, e, i), o && o.m(e, null);
19
+ m(a, c) {
20
+ _(a, e, c), i && i.m(e, null);
21
21
  },
22
- p(u, i) {
23
- s === (s = a(u)) && o ? o.p(u, i) : (o && o.d(1), o = s && s(u), o && (o.c(), o.m(e, null))), i & 8 && t !== (t = `object-fit: ${u[3]};`) && r(e, "style", t);
22
+ p(a, c) {
23
+ s === (s = t(a)) && i ? i.p(a, c) : (i && i.d(1), i = s && s(a), i && (i.c(), i.m(e, null)));
24
24
  },
25
- d(u) {
26
- u && _(e), o && o.d();
25
+ d(a) {
26
+ a && p(e), i && i.d();
27
27
  }
28
28
  };
29
29
  }
30
- function K(l) {
31
- let e, t, a, s, o, u, i, v, p, w;
30
+ function M(o) {
31
+ let e, t, s, i, a, c, n, f, v, w, g;
32
32
  return {
33
33
  c() {
34
- var c;
35
- e = d("video"), o = S(), u = d("div"), i = d("div"), v = d("div"), r(e, "class", "media-content svelte-cwtvzu"), g(e.src, t = l[0].url) || r(e, "src", t), r(e, "poster", a = (c = l[0].videoCoverUrl) != null ? c : void 0), r(e, "preload", s = l[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, r(e, "paused", ""), e.loop = !1, r(e, "crossorigin", ""), e.controls = !1, f(e, "showPlayButton", l[5]), r(v, "class", "video-icon-img svelte-cwtvzu"), y(v, "background-image", "url(" + (l[1] === "large" ? P : B) + ")"), f(v, "canPlay", l[2]), r(i, "class", "video-icon svelte-cwtvzu"), f(i, "large", l[1] === "large"), f(i, "small", l[1] === "small"), r(u, "class", "video-play-button-container svelte-cwtvzu"), f(u, "showPlayButton", l[5]);
34
+ var l;
35
+ e = m("video"), c = L(), n = m("div"), f = m("div"), v = m("div"), u(e, "class", "media-content svelte-cwtvzu"), u(e, "style", t = `object-fit: ${o[3]};`), b(e.src, s = o[0].url) || u(e, "src", s), u(e, "poster", i = (l = o[0].videoCoverUrl) != null ? l : void 0), u(e, "preload", a = o[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, u(e, "paused", ""), e.loop = !1, u(e, "crossorigin", ""), e.controls = !1, d(e, "showPlayButton", o[5]), u(v, "class", "video-icon-img svelte-cwtvzu"), z(v, "background-image", "url(" + (o[1] === "large" ? j : B) + ")"), d(v, "canPlay", o[2]), u(f, "class", "video-icon svelte-cwtvzu"), d(f, "large", o[1] === "large"), d(f, "small", o[1] === "small"), u(n, "class", "video-play-button-container svelte-cwtvzu"), d(n, "showPlayButton", o[5]);
36
36
  },
37
- m(c, n) {
38
- m(c, e, n), l[7](e), m(c, o, n), m(c, u, n), z(u, i), z(i, v), p || (w = [
39
- k(e, "click", l[6]),
40
- k(v, "click", l[8])
41
- ], p = !0);
37
+ m(l, r) {
38
+ _(l, e, r), o[7](e), _(l, c, r), _(l, n, r), k(n, f), k(f, v), w || (g = [
39
+ P(e, "click", o[6]),
40
+ P(v, "click", o[8])
41
+ ], w = !0);
42
42
  },
43
- p(c, n) {
44
- var b;
45
- n & 1 && !g(e.src, t = c[0].url) && r(e, "src", t), n & 1 && a !== (a = (b = c[0].videoCoverUrl) != null ? b : void 0) && r(e, "poster", a), n & 1 && s !== (s = c[0].videoCoverUrl ? void 0 : "auto") && r(e, "preload", s), n & 32 && f(e, "showPlayButton", c[5]), n & 2 && y(v, "background-image", "url(" + (c[1] === "large" ? P : B) + ")"), n & 4 && f(v, "canPlay", c[2]), n & 2 && f(i, "large", c[1] === "large"), n & 2 && f(i, "small", c[1] === "small"), n & 32 && f(u, "showPlayButton", c[5]);
43
+ p(l, r) {
44
+ var h;
45
+ r & 8 && t !== (t = `object-fit: ${l[3]};`) && u(e, "style", t), r & 1 && !b(e.src, s = l[0].url) && u(e, "src", s), r & 1 && i !== (i = (h = l[0].videoCoverUrl) != null ? h : void 0) && u(e, "poster", i), r & 1 && a !== (a = l[0].videoCoverUrl ? void 0 : "auto") && u(e, "preload", a), r & 32 && d(e, "showPlayButton", l[5]), r & 2 && z(v, "background-image", "url(" + (l[1] === "large" ? j : B) + ")"), r & 4 && d(v, "canPlay", l[2]), r & 2 && d(f, "large", l[1] === "large"), r & 2 && d(f, "small", l[1] === "small"), r & 32 && d(n, "showPlayButton", l[5]);
46
46
  },
47
- d(c) {
48
- c && _(e), l[7](null), c && _(o), c && _(u), p = !1, L(w);
47
+ d(l) {
48
+ l && p(e), o[7](null), l && p(c), l && p(n), w = !1, G(g);
49
49
  }
50
50
  };
51
51
  }
52
- function M(l) {
53
- let e, t, a;
52
+ function V(o) {
53
+ let e, t, s, i;
54
54
  return {
55
55
  c() {
56
- e = d("img"), r(e, "class", "media-content svelte-cwtvzu"), g(e.src, t = l[0].url) || r(e, "src", t), r(e, "alt", a = l[0].name);
56
+ e = m("img"), u(e, "class", "media-content svelte-cwtvzu"), u(e, "style", t = `object-fit: ${o[3]};`), b(e.src, s = o[0].url) || u(e, "src", s), u(e, "alt", i = o[0].name);
57
57
  },
58
- m(s, o) {
59
- m(s, e, o);
58
+ m(a, c) {
59
+ _(a, e, c);
60
60
  },
61
- p(s, o) {
62
- o & 1 && !g(e.src, t = s[0].url) && r(e, "src", t), o & 1 && a !== (a = s[0].name) && r(e, "alt", a);
61
+ p(a, c) {
62
+ c & 8 && t !== (t = `object-fit: ${a[3]};`) && u(e, "style", t), c & 1 && !b(e.src, s = a[0].url) && u(e, "src", s), c & 1 && i !== (i = a[0].name) && u(e, "alt", i);
63
63
  },
64
- d(s) {
65
- s && _(e);
64
+ d(a) {
65
+ a && p(e);
66
66
  }
67
67
  };
68
68
  }
69
- function V(l) {
70
- let e, t = l[0] && I(l);
69
+ function A(o) {
70
+ let e, t = o[0] && I(o);
71
71
  return {
72
72
  c() {
73
- t && t.c(), e = U();
73
+ t && t.c(), e = q();
74
74
  },
75
- m(a, s) {
76
- t && t.m(a, s), m(a, e, s);
75
+ m(s, i) {
76
+ t && t.m(s, i), _(s, e, i);
77
77
  },
78
- p(a, [s]) {
79
- a[0] ? t ? t.p(a, s) : (t = I(a), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
78
+ p(s, [i]) {
79
+ s[0] ? t ? t.p(s, i) : (t = I(s), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
80
80
  },
81
- i: h,
82
- o: h,
83
- d(a) {
84
- t && t.d(a), a && _(e);
81
+ i: y,
82
+ o: y,
83
+ d(s) {
84
+ t && t.d(s), s && p(e);
85
85
  }
86
86
  };
87
87
  }
88
- function A(l, e, t) {
89
- let { media: a } = e, { playButtonIfNeed: s = "small" } = e, { canPlay: o = !0 } = e, { objectFit: u = "cover" } = e, i, v = !1;
90
- const p = () => i == null ? void 0 : i.pause();
91
- function w(n) {
92
- q[n ? "unshift" : "push"](() => {
93
- i = n, t(4, i);
88
+ function D(o, e, t) {
89
+ let { media: s } = e, { playButtonIfNeed: i = "small" } = e, { canPlay: a = !0 } = e, { objectFit: c = "cover" } = e, n, f = !1;
90
+ const v = () => n == null ? void 0 : n.pause();
91
+ function w(l) {
92
+ S[l ? "unshift" : "push"](() => {
93
+ n = l, t(4, n);
94
94
  });
95
95
  }
96
- const c = () => {
97
- !o || i && i.play();
96
+ const g = () => {
97
+ !a || n && n.play();
98
98
  };
99
- return l.$$set = (n) => {
100
- "media" in n && t(0, a = n.media), "playButtonIfNeed" in n && t(1, s = n.playButtonIfNeed), "canPlay" in n && t(2, o = n.canPlay), "objectFit" in n && t(3, u = n.objectFit);
101
- }, l.$$.update = () => {
102
- l.$$.dirty & 16 && i && (t(5, v = i.paused), t(
99
+ return o.$$set = (l) => {
100
+ "media" in l && t(0, s = l.media), "playButtonIfNeed" in l && t(1, i = l.playButtonIfNeed), "canPlay" in l && t(2, a = l.canPlay), "objectFit" in l && t(3, c = l.objectFit);
101
+ }, o.$$.update = () => {
102
+ o.$$.dirty & 16 && n && (t(5, f = n.paused), t(
103
103
  4,
104
- i.onplay = () => {
105
- t(5, v = !1);
104
+ n.onplay = () => {
105
+ t(5, f = !1);
106
106
  },
107
- i
107
+ n
108
108
  ), t(
109
109
  4,
110
- i.onpause = () => {
111
- t(5, v = !0);
110
+ n.onpause = () => {
111
+ t(5, f = !0);
112
112
  },
113
- i
113
+ n
114
114
  ));
115
115
  }, [
116
- a,
117
116
  s,
118
- o,
119
- u,
120
117
  i,
118
+ a,
119
+ c,
120
+ n,
121
+ f,
121
122
  v,
122
- p,
123
123
  w,
124
- c
124
+ g
125
125
  ];
126
126
  }
127
- class H extends j {
127
+ class J extends C {
128
128
  constructor(e) {
129
- super(), C(
129
+ super(), N(
130
130
  this,
131
131
  e,
132
+ D,
132
133
  A,
133
- V,
134
- N,
134
+ F,
135
135
  {
136
136
  media: 0,
137
137
  playButtonIfNeed: 1,
138
138
  canPlay: 2,
139
139
  objectFit: 3
140
140
  },
141
- G
141
+ K
142
142
  );
143
143
  }
144
144
  }
145
145
  export {
146
- H as default
146
+ J as default
147
147
  };
@@ -1,4 +1,4 @@
1
- import { S as j, i as q, s as Y, a as A, r as R, c as h, f as d, t as c, d as D, g as w, j as y, o as $, e as z, b as C, m as k, h as N, B as E, C as F, k as v } from "../../../index.164f1850.js";
1
+ import { S as j, i as q, s as Y, a as A, r as R, c as h, f as d, t as c, d as D, g as w, j as y, o as $, e as N, b as z, m as k, h as C, B as E, C as F, k as v } from "../../../index.164f1850.js";
2
2
  import G from "../../../shared-utils/uuid.js";
3
3
  import H from "../Common/Text.js";
4
4
  import J from "../Common/Line/Polyline.js";
@@ -13,18 +13,18 @@ import "../../../index.6a0eead1.js";
13
13
  import "../../utils/noTypecheck.js";
14
14
  import "../Common/MediaItem.js";
15
15
  import "../../Assets/Icon.js";
16
- function O(a) {
17
- A(a, "svelte-1p8f9wy", ".line.svelte-1p8f9wy{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%);z-index:10}.text.svelte-1p8f9wy{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;z-index:10;font-weight:600}.media-wrapper.svelte-1p8f9wy{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;z-index:10;font-weight:600}");
16
+ function O(r) {
17
+ A(r, "svelte-1p8f9wy", ".line.svelte-1p8f9wy{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%);z-index:10}.text.svelte-1p8f9wy{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;z-index:10;font-weight:600}.media-wrapper.svelte-1p8f9wy{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;z-index:10;font-weight:600}");
18
18
  }
19
- function T(a, l, i) {
20
- const e = a.slice();
19
+ function T(r, l, i) {
20
+ const e = r.slice();
21
21
  return e[8] = l[i].id, e[1] = l[i].content, e;
22
22
  }
23
- function B(a) {
24
- let l, i, e, o, r, f = [], m = /* @__PURE__ */ new Map(), p, u, b;
23
+ function B(r) {
24
+ let l, i, e, o, a, s = [], m = /* @__PURE__ */ new Map(), p, u, b;
25
25
  l = new L({
26
26
  props: {
27
- visible: a[4],
27
+ visible: r[4],
28
28
  left: 61,
29
29
  bottom: 57,
30
30
  width: 2,
@@ -33,62 +33,62 @@ function B(a) {
33
33
  }
34
34
  }), o = new J({
35
35
  props: {
36
- unfolded: a[4],
36
+ unfolded: r[4],
37
37
  duration: 1e3,
38
38
  outDelay: 400
39
39
  }
40
40
  });
41
- let g = a[2];
41
+ let g = r[2];
42
42
  const I = (t) => t[8];
43
43
  for (let t = 0; t < g.length; t += 1) {
44
- let n = T(a, g, t), _ = I(n);
45
- m.set(_, f[t] = M(_, n));
44
+ let n = T(r, g, t), _ = I(n);
45
+ m.set(_, s[t] = M(_, n));
46
46
  }
47
- let s = a[3] && P(a);
47
+ let f = r[3] && P(r);
48
48
  return {
49
49
  c() {
50
- y(l.$$.fragment), i = $(), e = z("div"), y(o.$$.fragment), r = $();
51
- for (let t = 0; t < f.length; t += 1)
52
- f[t].c();
53
- p = $(), s && s.c(), u = R(), C(e, "class", "line svelte-1p8f9wy");
50
+ y(l.$$.fragment), i = $(), e = N("div"), y(o.$$.fragment), a = $();
51
+ for (let t = 0; t < s.length; t += 1)
52
+ s[t].c();
53
+ p = $(), f && f.c(), u = R(), z(e, "class", "line svelte-1p8f9wy");
54
54
  },
55
55
  m(t, n) {
56
- k(l, t, n), h(t, i, n), h(t, e, n), k(o, e, null), h(t, r, n);
57
- for (let _ = 0; _ < f.length; _ += 1)
58
- f[_].m(t, n);
59
- h(t, p, n), s && s.m(t, n), h(t, u, n), b = !0;
56
+ k(l, t, n), h(t, i, n), h(t, e, n), k(o, e, null), h(t, a, n);
57
+ for (let _ = 0; _ < s.length; _ += 1)
58
+ s[_].m(t, n);
59
+ h(t, p, n), f && f.m(t, n), h(t, u, n), b = !0;
60
60
  },
61
61
  p(t, n) {
62
62
  const _ = {};
63
63
  n & 16 && (_.visible = t[4]), l.$set(_);
64
64
  const S = {};
65
- n & 16 && (S.unfolded = t[4]), o.$set(S), n & 20 && (g = t[2], N(), f = E(f, n, I, 1, t, g, m, p.parentNode, F, M, p, T), D()), t[3] ? s ? (s.p(t, n), n & 8 && d(s, 1)) : (s = P(t), s.c(), d(s, 1), s.m(u.parentNode, u)) : s && (N(), c(s, 1, 1, () => {
66
- s = null;
65
+ n & 16 && (S.unfolded = t[4]), o.$set(S), n & 20 && (g = t[2], C(), s = E(s, n, I, 1, t, g, m, p.parentNode, F, M, p, T), D()), t[3] ? f ? (f.p(t, n), n & 8 && d(f, 1)) : (f = P(t), f.c(), d(f, 1), f.m(u.parentNode, u)) : f && (C(), c(f, 1, 1, () => {
66
+ f = null;
67
67
  }), D());
68
68
  },
69
69
  i(t) {
70
70
  if (!b) {
71
71
  d(l.$$.fragment, t), d(o.$$.fragment, t);
72
72
  for (let n = 0; n < g.length; n += 1)
73
- d(f[n]);
74
- d(s), b = !0;
73
+ d(s[n]);
74
+ d(f), b = !0;
75
75
  }
76
76
  },
77
77
  o(t) {
78
78
  c(l.$$.fragment, t), c(o.$$.fragment, t);
79
- for (let n = 0; n < f.length; n += 1)
80
- c(f[n]);
81
- c(s), b = !1;
79
+ for (let n = 0; n < s.length; n += 1)
80
+ c(s[n]);
81
+ c(f), b = !1;
82
82
  },
83
83
  d(t) {
84
- v(l, t), t && w(i), t && w(e), v(o), t && w(r);
85
- for (let n = 0; n < f.length; n += 1)
86
- f[n].d(t);
87
- t && w(p), s && s.d(t), t && w(u);
84
+ v(l, t), t && w(i), t && w(e), v(o), t && w(a);
85
+ for (let n = 0; n < s.length; n += 1)
86
+ s[n].d(t);
87
+ t && w(p), f && f.d(t), t && w(u);
88
88
  }
89
89
  };
90
90
  }
91
- function M(a, l) {
91
+ function M(r, l) {
92
92
  let i, e, o;
93
93
  return e = new H({
94
94
  props: {
@@ -97,37 +97,38 @@ function M(a, l) {
97
97
  inDelay: 500
98
98
  }
99
99
  }), {
100
- key: a,
100
+ key: r,
101
101
  first: null,
102
102
  c() {
103
- i = z("div"), y(e.$$.fragment), C(i, "class", "text svelte-1p8f9wy"), this.first = i;
103
+ i = N("div"), y(e.$$.fragment), z(i, "class", "text svelte-1p8f9wy"), this.first = i;
104
104
  },
105
- m(r, f) {
106
- h(r, i, f), k(e, i, null), o = !0;
105
+ m(a, s) {
106
+ h(a, i, s), k(e, i, null), o = !0;
107
107
  },
108
- p(r, f) {
109
- l = r;
108
+ p(a, s) {
109
+ l = a;
110
110
  const m = {};
111
- f & 16 && (m.unfolded = l[4]), f & 4 && (m.content = l[1]), e.$set(m);
111
+ s & 16 && (m.unfolded = l[4]), s & 4 && (m.content = l[1]), e.$set(m);
112
112
  },
113
- i(r) {
114
- o || (d(e.$$.fragment, r), o = !0);
113
+ i(a) {
114
+ o || (d(e.$$.fragment, a), o = !0);
115
115
  },
116
- o(r) {
117
- c(e.$$.fragment, r), o = !1;
116
+ o(a) {
117
+ c(e.$$.fragment, a), o = !1;
118
118
  },
119
- d(r) {
120
- r && w(i), v(e);
119
+ d(a) {
120
+ a && w(i), v(e);
121
121
  }
122
122
  };
123
123
  }
124
- function P(a) {
124
+ function P(r) {
125
125
  let l, i, e;
126
126
  return i = new K({
127
127
  props: {
128
128
  autoplayConfig: { autoplay: !1 },
129
- unfolded: a[4],
130
- mediaData: a[3],
129
+ unfolded: r[4],
130
+ mediaData: r[3],
131
+ enableCarousel: !1,
131
132
  canPlay: !1,
132
133
  playButtonIfNeed: "small",
133
134
  inDelay: 500,
@@ -135,14 +136,14 @@ function P(a) {
135
136
  }
136
137
  }), {
137
138
  c() {
138
- l = z("div"), y(i.$$.fragment), C(l, "class", "media-wrapper svelte-1p8f9wy");
139
+ l = N("div"), y(i.$$.fragment), z(l, "class", "media-wrapper svelte-1p8f9wy");
139
140
  },
140
- m(o, r) {
141
- h(o, l, r), k(i, l, null), e = !0;
141
+ m(o, a) {
142
+ h(o, l, a), k(i, l, null), e = !0;
142
143
  },
143
- p(o, r) {
144
- const f = {};
145
- r & 16 && (f.unfolded = o[4]), r & 8 && (f.mediaData = o[3]), i.$set(f);
144
+ p(o, a) {
145
+ const s = {};
146
+ a & 16 && (s.unfolded = o[4]), a & 8 && (s.mediaData = o[3]), i.$set(s);
146
147
  },
147
148
  i(o) {
148
149
  e || (d(i.$$.fragment, o), e = !0);
@@ -155,17 +156,17 @@ function P(a) {
155
156
  }
156
157
  };
157
158
  }
158
- function Q(a) {
159
- let l, i, e = a[0].state && B(a);
159
+ function Q(r) {
160
+ let l, i, e = r[0].state && B(r);
160
161
  return {
161
162
  c() {
162
163
  e && e.c(), l = R();
163
164
  },
164
- m(o, r) {
165
- e && e.m(o, r), h(o, l, r), i = !0;
165
+ m(o, a) {
166
+ e && e.m(o, a), h(o, l, a), i = !0;
166
167
  },
167
- p(o, [r]) {
168
- o[0].state ? e ? (e.p(o, r), r & 1 && d(e, 1)) : (e = B(o), e.c(), d(e, 1), e.m(l.parentNode, l)) : e && (N(), c(e, 1, 1, () => {
168
+ p(o, [a]) {
169
+ o[0].state ? e ? (e.p(o, a), a & 1 && d(e, 1)) : (e = B(o), e.c(), d(e, 1), e.m(l.parentNode, l)) : e && (C(), c(e, 1, 1, () => {
169
170
  e = null;
170
171
  }), D());
171
172
  },
@@ -180,15 +181,15 @@ function Q(a) {
180
181
  }
181
182
  };
182
183
  }
183
- function U(a, l, i) {
184
- let e, o, r;
185
- var f, m, p;
184
+ function U(r, l, i) {
185
+ let e, o, a;
186
+ var s, m, p;
186
187
  let { tag: u } = l, b;
187
- return a.$$set = (g) => {
188
+ return r.$$set = (g) => {
188
189
  "tag" in g && i(0, u = g.tag);
189
- }, a.$$.update = () => {
190
- a.$$.dirty & 1 && i(4, e = u.state ? u.state.unfolded : !1), a.$$.dirty & 225 && i(1, o = (i(6, m = i(5, f = u.data.text) === null || f === void 0 ? void 0 : f.length) !== null && m !== void 0 ? m : 0) > 7 ? (i(7, p = u.data.text) === null || p === void 0 ? void 0 : p.substring(0, 6)) + "..." : u.data.text), a.$$.dirty & 1 && i(3, r = u.data.mediaData), a.$$.dirty & 2 && i(2, b = o ? [{ id: G(), content: o }] : []);
191
- }, [u, o, b, r, e, f, m, p];
190
+ }, r.$$.update = () => {
191
+ r.$$.dirty & 1 && i(4, e = u.state ? u.state.unfolded : !1), r.$$.dirty & 225 && i(1, o = (i(6, m = i(5, s = u.data.text) === null || s === void 0 ? void 0 : s.length) !== null && m !== void 0 ? m : 0) > 7 ? (i(7, p = u.data.text) === null || p === void 0 ? void 0 : p.substring(0, 6)) + "..." : u.data.text), r.$$.dirty & 1 && i(3, a = u.data.mediaData), r.$$.dirty & 2 && i(2, b = o ? [{ id: G(), content: o }] : []);
192
+ }, [u, o, b, a, e, s, m, p];
192
193
  }
193
194
  class ue extends j {
194
195
  constructor(l) {
@@ -59,7 +59,7 @@ import "../../CSS3DRenderPlugin/CSS3DRender.js";
59
59
  import "three/examples/jsm/renderers/CSS3DRenderer";
60
60
  import "../../CSS3DRenderPlugin/utils/evenNumber.js";
61
61
  import "../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
62
- const b = "1.2.1", g = `DnalogelPlugin-PanoTagPlugin@${b}`, O = !1, ze = (h) => `${g}--${h}`;
62
+ const b = "1.2.2", g = `DnalogelPlugin-PanoTagPlugin@${b}`, O = !1, ze = (h) => `${g}--${h}`;
63
63
  class je extends S {
64
64
  constructor(e, t) {
65
65
  super(e);
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "repository": "https://github.com/realsee-developer/dnalogel.git",
7
7
  "description": "如视 VR 看房插件合集",
8
8
  "private": false,
9
- "version": "2.1.0-alpha.26",
9
+ "version": "2.1.0-alpha.27",
10
10
  "license": "SEE LICENSE IN TERMS.txt",
11
11
  "scripts": {
12
12
  "build": "sh bin/build-production.sh",