@realsee/dnalogel 3.78.1-alpha.1 → 3.79.0-alpha.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 (60) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  4. package/dist/index.cjs.js +97 -102
  5. package/dist/index.js +14564 -16573
  6. package/dist/index.umd.js +90 -95
  7. package/libs/CruisePlugin/Move.js +14 -27
  8. package/libs/CruisePlugin/Work.js +61 -74
  9. package/libs/CruisePlugin/index.js +18 -31
  10. package/libs/GuideLinePlugin/Controller.js +18 -31
  11. package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
  12. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  13. package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
  14. package/libs/GuideLinePlugin/index.js +18 -31
  15. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
  16. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
  17. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
  18. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
  19. package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
  20. package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
  21. package/libs/PanoTagPlugin/Components/TagItem.js +318 -321
  22. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
  23. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
  24. package/libs/PanoTagPlugin/controller/index.js +41 -54
  25. package/libs/PanoTagPlugin/index.js +23 -36
  26. package/libs/PanoTagPlugin/tag.config.js +31 -1
  27. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
  28. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  29. package/libs/base/BasePlugin.js +1 -1
  30. package/libs/index.js +169 -182
  31. package/libs/shared-utils/logger.js +1 -1
  32. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  33. package/libs/vendor/svelte/internal/index.js +235 -225
  34. package/package.json +2 -2
  35. package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
  36. package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
  37. package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
  38. package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  39. package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  40. package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  41. package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  42. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  43. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  44. package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
  45. package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
  46. package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
  47. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
  48. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  49. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
  50. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  51. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
  52. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  53. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
  54. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  55. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
  56. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  57. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
  58. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  59. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
  60. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
@@ -1,6 +1,6 @@
1
- import { SvelteComponent as z, init as I, safe_not_equal as N, append_styles as V, empty as q, insert as h, transition_in as m, transition_out as s, check_outros as w, detach as u, getContext as A, createEventDispatcher as B, onMount as D, element as _, space as y, attr as g, append as b, group_outros as d, text as E, create_component as P, mount_component as x, listen as C, set_data as R, destroy_component as j } from "../../../../vendor/svelte/internal/index.js";
2
- import F from "./ArrowRightIcon.js";
3
- import G from "./ShareIcon.js";
1
+ import { SvelteComponent as A, init as B, safe_not_equal as D, append_styles as E, empty as R, insert as v, transition_in as f, transition_out as c, check_outros as d, detach as b, getContext as F, createEventDispatcher as G, onMount as H, element as w, space as k, attr as g, append as u, group_outros as q, text as j, create_component as C, mount_component as z, listen as I, set_data as N, destroy_component as V, toggle_class as T } from "../../../../vendor/svelte/internal/index.js";
2
+ import J from "./ArrowRightIcon.js";
3
+ import K from "./ShareIcon.js";
4
4
  import "../../../../shared-utils/tag.js";
5
5
  import "three";
6
6
  import "../../../../vendor/hammerjs/hammer.js";
@@ -8,7 +8,7 @@ import "../../../../shared-utils/three/PointSelector/index.js";
8
8
  import "../../../../shared-utils/three/CSS3DRenderer/index.js";
9
9
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
10
10
  import "@realsee/five/line";
11
- import { notNil as k } from "../../../../shared-utils/isNil.js";
11
+ import { notNil as x } from "../../../../shared-utils/isNil.js";
12
12
  import "../../../../shared-utils/three/core/Five_LineMaterial2.js";
13
13
  import "../../../../shared-utils/three/core/Sphere.js";
14
14
  import "../../../../shared-utils/three/blink.js";
@@ -68,223 +68,277 @@ import "../../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
68
68
  import "../../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
69
69
  import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
70
70
  import "@realsee/five";
71
- function H(n) {
72
- V(n, "svelte-18owx9v", ".tag-popover-toolbar.svelte-18owx9v.svelte-18owx9v{display:flex;align-items:center;margin-top:0.75rem;padding-top:0;border-top:none}.tag-popover-toolbar.both-buttons.svelte-18owx9v.svelte-18owx9v{justify-content:space-between}.tag-popover-toolbar.single-button.svelte-18owx9v.svelte-18owx9v{justify-content:flex-end}.tag-popover-toolbar-dark.svelte-18owx9v .tag-popover-btn.svelte-18owx9v{color:#ffffff}.tag-popover-toolbar-light.svelte-18owx9v .tag-popover-btn.svelte-18owx9v{color:rgba(0, 0, 0, 0.85)}.tag-popover-btn.view-more.svelte-18owx9v.svelte-18owx9v{display:flex;align-items:center;justify-content:center;font-weight:500;font-size:0.875rem;letter-spacing:0;line-height:1.25rem}.tag-popover-btn.share.svelte-18owx9v.svelte-18owx9v{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}");
71
+ function L(l) {
72
+ E(l, "svelte-m2x1q4", ".tag-popover-toolbar.svelte-m2x1q4.svelte-m2x1q4{display:flex;align-items:center;margin-top:0.75rem;padding-top:0;border-top:none}.tag-popover-toolbar.both-buttons.svelte-m2x1q4.svelte-m2x1q4{justify-content:space-between}.tag-popover-toolbar.single-button.svelte-m2x1q4.svelte-m2x1q4{justify-content:flex-end}.tag-popover-toolbar.share-only.svelte-m2x1q4.svelte-m2x1q4{justify-content:flex-start}.tag-popover-toolbar-dark.svelte-m2x1q4 .tag-popover-btn.svelte-m2x1q4{color:#ffffff}.tag-popover-toolbar-light.svelte-m2x1q4 .tag-popover-btn.svelte-m2x1q4{color:rgba(0, 0, 0, 0.85)}.tag-popover-btn.view-more.svelte-m2x1q4.svelte-m2x1q4{display:flex;align-items:center;justify-content:center;font-weight:500;font-size:0.875rem;letter-spacing:0;line-height:1.25rem}.tag-popover-btn.share.svelte-m2x1q4.svelte-m2x1q4{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}.tag-popover-btn.share.share-with-text.svelte-m2x1q4.svelte-m2x1q4{width:auto;gap:0.25rem;font-size:0.875rem;font-weight:500;line-height:1.25rem}.share-text.svelte-m2x1q4.svelte-m2x1q4{white-space:nowrap}");
73
73
  }
74
- function M(n) {
75
- let t, p, r, i, o = (
74
+ function _(l) {
75
+ const e = l.slice(), a = !/*toolbar*/
76
+ e[0].showMore && /*toolbar*/
77
+ e[0].showShare;
78
+ return e[9] = a, e;
79
+ }
80
+ function M(l) {
81
+ let e, a, i, r, t = (
76
82
  /*toolbar*/
77
- n[0].showMore && S(n)
78
- ), e = (
83
+ l[0].showMore && S(l)
84
+ ), p = (
79
85
  /*toolbar*/
80
- n[0].showShare && T(n)
86
+ l[0].showShare && y(l)
81
87
  );
82
88
  return {
83
89
  c() {
84
- t = _("div"), o && o.c(), p = y(), e && e.c(), g(t, "class", r = "tag-popover-toolbar tag-popover-toolbar-" + /*theme*/
85
- n[1] + " " + /*toolbar*/
86
- (n[0].showMore && /*toolbar*/
87
- n[0].showShare ? "both-buttons" : "single-button") + " svelte-18owx9v");
90
+ e = w("div"), t && t.c(), a = k(), p && p.c(), g(e, "class", i = "tag-popover-toolbar tag-popover-toolbar-" + /*theme*/
91
+ l[1] + " " + /*toolbar*/
92
+ (l[0].showMore && /*toolbar*/
93
+ l[0].showShare ? "both-buttons" : (
94
+ /*shareOnly*/
95
+ l[9] ? "share-only" : "single-button"
96
+ )) + " svelte-m2x1q4");
88
97
  },
89
- m(f, l) {
90
- h(f, t, l), o && o.m(t, null), b(t, p), e && e.m(t, null), i = !0;
98
+ m(n, o) {
99
+ v(n, e, o), t && t.m(e, null), u(e, a), p && p.m(e, null), r = !0;
91
100
  },
92
- p(f, l) {
101
+ p(n, o) {
93
102
  /*toolbar*/
94
- f[0].showMore ? o ? (o.p(f, l), l & /*toolbar*/
95
- 1 && m(o, 1)) : (o = S(f), o.c(), m(o, 1), o.m(t, p)) : o && (d(), s(o, 1, 1, () => {
96
- o = null;
97
- }), w()), /*toolbar*/
98
- f[0].showShare ? e ? (e.p(f, l), l & /*toolbar*/
99
- 1 && m(e, 1)) : (e = T(f), e.c(), m(e, 1), e.m(t, null)) : e && (d(), s(e, 1, 1, () => {
100
- e = null;
101
- }), w()), (!i || l & /*theme, toolbar*/
102
- 3 && r !== (r = "tag-popover-toolbar tag-popover-toolbar-" + /*theme*/
103
- f[1] + " " + /*toolbar*/
104
- (f[0].showMore && /*toolbar*/
105
- f[0].showShare ? "both-buttons" : "single-button") + " svelte-18owx9v")) && g(t, "class", r);
103
+ n[0].showMore ? t ? (t.p(n, o), o & /*toolbar*/
104
+ 1 && f(t, 1)) : (t = S(n), t.c(), f(t, 1), t.m(e, a)) : t && (q(), c(t, 1, 1, () => {
105
+ t = null;
106
+ }), d()), /*toolbar*/
107
+ n[0].showShare ? p ? (p.p(n, o), o & /*toolbar*/
108
+ 1 && f(p, 1)) : (p = y(n), p.c(), f(p, 1), p.m(e, null)) : p && (q(), c(p, 1, 1, () => {
109
+ p = null;
110
+ }), d()), (!r || o & /*theme, toolbar*/
111
+ 3 && i !== (i = "tag-popover-toolbar tag-popover-toolbar-" + /*theme*/
112
+ n[1] + " " + /*toolbar*/
113
+ (n[0].showMore && /*toolbar*/
114
+ n[0].showShare ? "both-buttons" : (
115
+ /*shareOnly*/
116
+ n[9] ? "share-only" : "single-button"
117
+ )) + " svelte-m2x1q4")) && g(e, "class", i);
106
118
  },
107
- i(f) {
108
- i || (m(o), m(e), i = !0);
119
+ i(n) {
120
+ r || (f(t), f(p), r = !0);
109
121
  },
110
- o(f) {
111
- s(o), s(e), i = !1;
122
+ o(n) {
123
+ c(t), c(p), r = !1;
112
124
  },
113
- d(f) {
114
- f && u(t), o && o.d(), e && e.d();
125
+ d(n) {
126
+ n && b(e), t && t.d(), p && p.d();
115
127
  }
116
128
  };
117
129
  }
118
- function S(n) {
119
- let t, p, r, i, o, e, f;
120
- return i = new F({
130
+ function S(l) {
131
+ let e, a, i, r, t, p, n;
132
+ return r = new J({
121
133
  props: {
122
134
  size: "14",
123
135
  color: (
124
136
  /*theme*/
125
- n[1] === "light" ? "#000000" : "#ffffff"
137
+ l[1] === "light" ? "#000000" : "#ffffff"
126
138
  ),
127
139
  opacity: (
128
140
  /*theme*/
129
- n[1] === "light" ? 0.8 : 1
141
+ l[1] === "light" ? 0.8 : 1
130
142
  )
131
143
  }
132
144
  }), {
133
145
  c() {
134
- t = _("div"), p = E(
146
+ e = w("div"), a = j(
135
147
  /*viewMoreText*/
136
- n[2]
137
- ), r = y(), P(i.$$.fragment), g(t, "class", "tag-popover-btn view-more svelte-18owx9v");
148
+ l[2]
149
+ ), i = k(), C(r.$$.fragment), g(e, "class", "tag-popover-btn view-more svelte-m2x1q4");
138
150
  },
139
- m(l, c) {
140
- h(l, t, c), b(t, p), b(t, r), x(i, t, null), o = !0, e || (f = C(
141
- t,
151
+ m(o, s) {
152
+ v(o, e, s), u(e, a), u(e, i), z(r, e, null), t = !0, p || (n = I(
153
+ e,
142
154
  "click",
143
155
  /*handleViewMore*/
144
- n[3]
145
- ), e = !0);
156
+ l[3]
157
+ ), p = !0);
146
158
  },
147
- p(l, c) {
148
- (!o || c & /*viewMoreText*/
149
- 4) && R(
150
- p,
159
+ p(o, s) {
160
+ (!t || s & /*viewMoreText*/
161
+ 4) && N(
162
+ a,
151
163
  /*viewMoreText*/
152
- l[2]
164
+ o[2]
153
165
  );
154
- const v = {};
155
- c & /*theme*/
156
- 2 && (v.color = /*theme*/
157
- l[1] === "light" ? "#000000" : "#ffffff"), c & /*theme*/
158
- 2 && (v.opacity = /*theme*/
159
- l[1] === "light" ? 0.8 : 1), i.$set(v);
166
+ const h = {};
167
+ s & /*theme*/
168
+ 2 && (h.color = /*theme*/
169
+ o[1] === "light" ? "#000000" : "#ffffff"), s & /*theme*/
170
+ 2 && (h.opacity = /*theme*/
171
+ o[1] === "light" ? 0.8 : 1), r.$set(h);
160
172
  },
161
- i(l) {
162
- o || (m(i.$$.fragment, l), o = !0);
173
+ i(o) {
174
+ t || (f(r.$$.fragment, o), t = !0);
163
175
  },
164
- o(l) {
165
- s(i.$$.fragment, l), o = !1;
176
+ o(o) {
177
+ c(r.$$.fragment, o), t = !1;
166
178
  },
167
- d(l) {
168
- l && u(t), j(i), e = !1, f();
179
+ d(o) {
180
+ o && b(e), V(r), p = !1, n();
169
181
  }
170
182
  };
171
183
  }
172
- function T(n) {
173
- let t, p, r, i, o;
174
- return p = new G({
184
+ function y(l) {
185
+ let e, a, i, r, t, p, n = (
186
+ /*shareOnly*/
187
+ l[9] && /*toolbar*/
188
+ l[0].shareText && P(l)
189
+ );
190
+ return i = new K({
175
191
  props: {
176
192
  size: "20",
177
193
  color: (
178
194
  /*theme*/
179
- n[1] === "light" ? "#000000" : "#ffffff"
195
+ l[1] === "light" ? "#000000" : "#ffffff"
180
196
  ),
181
197
  opacity: (
182
198
  /*theme*/
183
- n[1] === "light" ? 0.8 : 1
199
+ l[1] === "light" ? 0.8 : 1
184
200
  )
185
201
  }
186
202
  }), {
187
203
  c() {
188
- t = _("div"), P(p.$$.fragment), g(t, "class", "tag-popover-btn share svelte-18owx9v");
204
+ e = w("div"), n && n.c(), a = k(), C(i.$$.fragment), g(e, "class", "tag-popover-btn share svelte-m2x1q4"), T(
205
+ e,
206
+ "share-with-text",
207
+ /*shareOnly*/
208
+ l[9] && !!/*toolbar*/
209
+ l[0].shareText
210
+ );
189
211
  },
190
- m(e, f) {
191
- h(e, t, f), x(p, t, null), r = !0, i || (o = C(
192
- t,
212
+ m(o, s) {
213
+ v(o, e, s), n && n.m(e, null), u(e, a), z(i, e, null), r = !0, t || (p = I(
214
+ e,
193
215
  "click",
194
216
  /*handleShare*/
195
- n[4]
196
- ), i = !0);
217
+ l[4]
218
+ ), t = !0);
197
219
  },
198
- p(e, f) {
199
- const l = {};
200
- f & /*theme*/
201
- 2 && (l.color = /*theme*/
202
- e[1] === "light" ? "#000000" : "#ffffff"), f & /*theme*/
203
- 2 && (l.opacity = /*theme*/
204
- e[1] === "light" ? 0.8 : 1), p.$set(l);
220
+ p(o, s) {
221
+ /*shareOnly*/
222
+ o[9] && /*toolbar*/
223
+ o[0].shareText ? n ? n.p(o, s) : (n = P(o), n.c(), n.m(e, a)) : n && (n.d(1), n = null);
224
+ const h = {};
225
+ s & /*theme*/
226
+ 2 && (h.color = /*theme*/
227
+ o[1] === "light" ? "#000000" : "#ffffff"), s & /*theme*/
228
+ 2 && (h.opacity = /*theme*/
229
+ o[1] === "light" ? 0.8 : 1), i.$set(h), (!r || s & /*toolbar*/
230
+ 1) && T(
231
+ e,
232
+ "share-with-text",
233
+ /*shareOnly*/
234
+ o[9] && !!/*toolbar*/
235
+ o[0].shareText
236
+ );
237
+ },
238
+ i(o) {
239
+ r || (f(i.$$.fragment, o), r = !0);
240
+ },
241
+ o(o) {
242
+ c(i.$$.fragment, o), r = !1;
243
+ },
244
+ d(o) {
245
+ o && b(e), n && n.d(), V(i), t = !1, p();
246
+ }
247
+ };
248
+ }
249
+ function P(l) {
250
+ let e, a = (
251
+ /*toolbar*/
252
+ l[0].shareText + ""
253
+ ), i;
254
+ return {
255
+ c() {
256
+ e = w("span"), i = j(a), g(e, "class", "share-text svelte-m2x1q4");
205
257
  },
206
- i(e) {
207
- r || (m(p.$$.fragment, e), r = !0);
258
+ m(r, t) {
259
+ v(r, e, t), u(e, i);
208
260
  },
209
- o(e) {
210
- s(p.$$.fragment, e), r = !1;
261
+ p(r, t) {
262
+ t & /*toolbar*/
263
+ 1 && a !== (a = /*toolbar*/
264
+ r[0].shareText + "") && N(i, a);
211
265
  },
212
- d(e) {
213
- e && u(t), j(p), i = !1, o();
266
+ d(r) {
267
+ r && b(e);
214
268
  }
215
269
  };
216
270
  }
217
- function J(n) {
218
- let t, p, r = (
271
+ function O(l) {
272
+ let e, a, i = (
219
273
  /*toolbar*/
220
- (n[0].showMore || /*toolbar*/
221
- n[0].showShare) && M(n)
274
+ (l[0].showMore || /*toolbar*/
275
+ l[0].showShare) && M(_(l))
222
276
  );
223
277
  return {
224
278
  c() {
225
- r && r.c(), t = q();
279
+ i && i.c(), e = R();
226
280
  },
227
- m(i, o) {
228
- r && r.m(i, o), h(i, t, o), p = !0;
281
+ m(r, t) {
282
+ i && i.m(r, t), v(r, e, t), a = !0;
229
283
  },
230
- p(i, [o]) {
284
+ p(r, [t]) {
231
285
  /*toolbar*/
232
- i[0].showMore || /*toolbar*/
233
- i[0].showShare ? r ? (r.p(i, o), o & /*toolbar*/
234
- 1 && m(r, 1)) : (r = M(i), r.c(), m(r, 1), r.m(t.parentNode, t)) : r && (d(), s(r, 1, 1, () => {
235
- r = null;
236
- }), w());
286
+ r[0].showMore || /*toolbar*/
287
+ r[0].showShare ? i ? (i.p(_(r), t), t & /*toolbar*/
288
+ 1 && f(i, 1)) : (i = M(_(r)), i.c(), f(i, 1), i.m(e.parentNode, e)) : i && (q(), c(i, 1, 1, () => {
289
+ i = null;
290
+ }), d());
237
291
  },
238
- i(i) {
239
- p || (m(r), p = !0);
292
+ i(r) {
293
+ a || (f(i), a = !0);
240
294
  },
241
- o(i) {
242
- s(r), p = !1;
295
+ o(r) {
296
+ c(i), a = !1;
243
297
  },
244
- d(i) {
245
- r && r.d(i), i && u(t);
298
+ d(r) {
299
+ i && i.d(r), r && b(e);
246
300
  }
247
301
  };
248
302
  }
249
- function K(n, t, p) {
250
- let r;
251
- const i = A("hooks");
252
- B();
253
- let { tag: o } = t, { toolbar: e = { showMore: !0, showShare: !0 } } = t, { theme: f = "dark" } = t, { closePopover: l = void 0 } = t;
254
- D(() => {
255
- i.emit("popoverToolbarShow", { tag: o });
303
+ function Q(l, e, a) {
304
+ let i;
305
+ const r = F("hooks");
306
+ G();
307
+ let { tag: t } = e, { toolbar: p = { showMore: !0, showShare: !0 } } = e, { theme: n = "dark" } = e, { closePopover: o = void 0 } = e;
308
+ H(() => {
309
+ r.emit("popoverToolbarShow", { tag: t });
256
310
  });
257
- function c(a) {
258
- a.stopPropagation(), typeof l == "function" && l(), i.emit("click", { event: a, target: "TagPopoverViewMore", tag: o });
311
+ function s(m) {
312
+ m.stopPropagation(), typeof o == "function" && o(), r.emit("click", { event: m, target: "TagPopoverViewMore", tag: t });
259
313
  }
260
- function v(a) {
261
- a.stopPropagation(), typeof l == "function" && l(), i.emit("click", { event: a, target: "TagPopoverShare", tag: o });
314
+ function h(m) {
315
+ m.stopPropagation(), typeof o == "function" && o(), r.emit("click", { event: m, target: "TagPopoverShare", tag: t });
262
316
  }
263
- return n.$$set = (a) => {
264
- "tag" in a && p(5, o = a.tag), "toolbar" in a && p(0, e = a.toolbar), "theme" in a && p(1, f = a.theme), "closePopover" in a && p(6, l = a.closePopover);
265
- }, n.$$.update = () => {
266
- n.$$.dirty & /*tag*/
267
- 32 && p(2, r = (() => k(o.data.highlightText) && o.data.highlightText.trim() !== "" ? o.data.highlightText : k(o.config.popoverConfig.viewMoreText) && o.config.popoverConfig.viewMoreText.trim() !== "" ? o.config.popoverConfig.viewMoreText : "查看更多")());
268
- }, [e, f, r, c, v, o, l];
317
+ return l.$$set = (m) => {
318
+ "tag" in m && a(5, t = m.tag), "toolbar" in m && a(0, p = m.toolbar), "theme" in m && a(1, n = m.theme), "closePopover" in m && a(6, o = m.closePopover);
319
+ }, l.$$.update = () => {
320
+ l.$$.dirty & /*tag*/
321
+ 32 && a(2, i = (() => x(t.data.highlightText) && t.data.highlightText.trim() !== "" ? t.data.highlightText : x(t.config.popoverConfig.viewMoreText) && t.config.popoverConfig.viewMoreText.trim() !== "" ? t.config.popoverConfig.viewMoreText : "查看更多")());
322
+ }, [p, n, i, s, h, t, o];
269
323
  }
270
- class ft extends z {
271
- constructor(t) {
272
- super(), I(
324
+ class mt extends A {
325
+ constructor(e) {
326
+ super(), B(
273
327
  this,
274
- t,
275
- K,
276
- J,
277
- N,
328
+ e,
329
+ Q,
330
+ O,
331
+ D,
278
332
  {
279
333
  tag: 5,
280
334
  toolbar: 0,
281
335
  theme: 1,
282
336
  closePopover: 6
283
337
  },
284
- H
338
+ L
285
339
  );
286
340
  }
287
341
  }
288
342
  export {
289
- ft as default
343
+ mt as default
290
344
  };