@realsee/dnalogel 3.79.0-alpha.0 → 3.79.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 (64) hide show
  1. package/CHANGELOG.md +832 -832
  2. package/dist/GuideLinePlugin/Controller.d.ts +34 -2
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
  4. package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +1 -0
  5. package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +1 -0
  6. package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +1 -0
  7. package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +1 -0
  8. package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +1 -0
  9. package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +1 -0
  10. package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +1 -0
  11. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +1 -0
  12. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +1 -0
  13. package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +1 -0
  14. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -6
  15. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +3 -2
  16. package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
  17. package/dist/PanoTagPlugin/utils/doUtil.d.ts +1 -0
  18. package/dist/index.cjs.js +102 -97
  19. package/dist/index.js +16607 -14562
  20. package/dist/index.umd.js +95 -90
  21. package/libs/CruisePlugin/Move.js +27 -14
  22. package/libs/CruisePlugin/Work.js +74 -61
  23. package/libs/CruisePlugin/index.js +31 -18
  24. package/libs/GuideLinePlugin/Components/Tag.js +151 -163
  25. package/libs/GuideLinePlugin/Controller.d.ts +34 -2
  26. package/libs/GuideLinePlugin/Controller.js +85 -38
  27. package/libs/GuideLinePlugin/GuideLineItem.js +27 -14
  28. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -69
  29. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
  30. package/libs/GuideLinePlugin/GuideLineModeItem.js +27 -14
  31. package/libs/GuideLinePlugin/index.js +31 -18
  32. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +77 -87
  33. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +135 -189
  34. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +432 -460
  35. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +198 -0
  36. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +1 -0
  37. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +258 -0
  38. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +1 -0
  39. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +358 -0
  40. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +1 -0
  41. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +126 -38
  42. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +259 -0
  43. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +1 -0
  44. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +216 -0
  45. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +1 -0
  46. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +219 -0
  47. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +1 -0
  48. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +134 -0
  49. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +1 -0
  50. package/libs/PanoTagPlugin/Components/Tag/index.js +393 -292
  51. package/libs/PanoTagPlugin/Components/TagContainer.js +135 -125
  52. package/libs/PanoTagPlugin/Components/TagItem.js +321 -318
  53. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +74 -61
  54. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +108 -95
  55. package/libs/PanoTagPlugin/controller/index.js +54 -41
  56. package/libs/PanoTagPlugin/index.js +36 -23
  57. package/libs/PanoTagPlugin/tag.config.js +1 -31
  58. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -6
  59. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +3 -2
  60. package/libs/base/BasePlugin.js +5 -5
  61. package/libs/index.js +182 -169
  62. package/libs/shared-utils/logger.js +1 -1
  63. package/libs/vendor/svelte/internal/index.js +225 -235
  64. package/package.json +2 -1
@@ -1,6 +1,6 @@
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";
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";
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 x } from "../../../../shared-utils/isNil.js";
11
+ import { notNil as k } 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,277 +68,223 @@ 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 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}");
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}");
73
73
  }
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 = (
74
+ function M(n) {
75
+ let t, p, r, i, o = (
82
76
  /*toolbar*/
83
- l[0].showMore && S(l)
84
- ), p = (
77
+ n[0].showMore && S(n)
78
+ ), e = (
85
79
  /*toolbar*/
86
- l[0].showShare && y(l)
80
+ n[0].showShare && T(n)
87
81
  );
88
82
  return {
89
83
  c() {
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");
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");
97
88
  },
98
- m(n, o) {
99
- v(n, e, o), t && t.m(e, null), u(e, a), p && p.m(e, null), r = !0;
89
+ m(f, l) {
90
+ h(f, t, l), o && o.m(t, null), b(t, p), e && e.m(t, null), i = !0;
100
91
  },
101
- p(n, o) {
92
+ p(f, l) {
102
93
  /*toolbar*/
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);
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);
118
106
  },
119
- i(n) {
120
- r || (f(t), f(p), r = !0);
107
+ i(f) {
108
+ i || (m(o), m(e), i = !0);
121
109
  },
122
- o(n) {
123
- c(t), c(p), r = !1;
110
+ o(f) {
111
+ s(o), s(e), i = !1;
124
112
  },
125
- d(n) {
126
- n && b(e), t && t.d(), p && p.d();
113
+ d(f) {
114
+ f && u(t), o && o.d(), e && e.d();
127
115
  }
128
116
  };
129
117
  }
130
- function S(l) {
131
- let e, a, i, r, t, p, n;
132
- return r = new J({
118
+ function S(n) {
119
+ let t, p, r, i, o, e, f;
120
+ return i = new F({
133
121
  props: {
134
122
  size: "14",
135
123
  color: (
136
124
  /*theme*/
137
- l[1] === "light" ? "#000000" : "#ffffff"
125
+ n[1] === "light" ? "#000000" : "#ffffff"
138
126
  ),
139
127
  opacity: (
140
128
  /*theme*/
141
- l[1] === "light" ? 0.8 : 1
129
+ n[1] === "light" ? 0.8 : 1
142
130
  )
143
131
  }
144
132
  }), {
145
133
  c() {
146
- e = w("div"), a = j(
134
+ t = _("div"), p = E(
147
135
  /*viewMoreText*/
148
- l[2]
149
- ), i = k(), C(r.$$.fragment), g(e, "class", "tag-popover-btn view-more svelte-m2x1q4");
136
+ n[2]
137
+ ), r = y(), P(i.$$.fragment), g(t, "class", "tag-popover-btn view-more svelte-18owx9v");
150
138
  },
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,
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,
154
142
  "click",
155
143
  /*handleViewMore*/
156
- l[3]
157
- ), p = !0);
144
+ n[3]
145
+ ), e = !0);
158
146
  },
159
- p(o, s) {
160
- (!t || s & /*viewMoreText*/
161
- 4) && N(
162
- a,
147
+ p(l, c) {
148
+ (!o || c & /*viewMoreText*/
149
+ 4) && R(
150
+ p,
163
151
  /*viewMoreText*/
164
- o[2]
152
+ l[2]
165
153
  );
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);
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);
172
160
  },
173
- i(o) {
174
- t || (f(r.$$.fragment, o), t = !0);
161
+ i(l) {
162
+ o || (m(i.$$.fragment, l), o = !0);
175
163
  },
176
- o(o) {
177
- c(r.$$.fragment, o), t = !1;
164
+ o(l) {
165
+ s(i.$$.fragment, l), o = !1;
178
166
  },
179
- d(o) {
180
- o && b(e), V(r), p = !1, n();
167
+ d(l) {
168
+ l && u(t), j(i), e = !1, f();
181
169
  }
182
170
  };
183
171
  }
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({
172
+ function T(n) {
173
+ let t, p, r, i, o;
174
+ return p = new G({
191
175
  props: {
192
176
  size: "20",
193
177
  color: (
194
178
  /*theme*/
195
- l[1] === "light" ? "#000000" : "#ffffff"
179
+ n[1] === "light" ? "#000000" : "#ffffff"
196
180
  ),
197
181
  opacity: (
198
182
  /*theme*/
199
- l[1] === "light" ? 0.8 : 1
183
+ n[1] === "light" ? 0.8 : 1
200
184
  )
201
185
  }
202
186
  }), {
203
187
  c() {
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
- );
188
+ t = _("div"), P(p.$$.fragment), g(t, "class", "tag-popover-btn share svelte-18owx9v");
211
189
  },
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,
190
+ m(e, f) {
191
+ h(e, t, f), x(p, t, null), r = !0, i || (o = C(
192
+ t,
215
193
  "click",
216
194
  /*handleShare*/
217
- l[4]
218
- ), t = !0);
195
+ n[4]
196
+ ), i = !0);
219
197
  },
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");
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);
257
205
  },
258
- m(r, t) {
259
- v(r, e, t), u(e, i);
206
+ i(e) {
207
+ r || (m(p.$$.fragment, e), r = !0);
260
208
  },
261
- p(r, t) {
262
- t & /*toolbar*/
263
- 1 && a !== (a = /*toolbar*/
264
- r[0].shareText + "") && N(i, a);
209
+ o(e) {
210
+ s(p.$$.fragment, e), r = !1;
265
211
  },
266
- d(r) {
267
- r && b(e);
212
+ d(e) {
213
+ e && u(t), j(p), i = !1, o();
268
214
  }
269
215
  };
270
216
  }
271
- function O(l) {
272
- let e, a, i = (
217
+ function J(n) {
218
+ let t, p, r = (
273
219
  /*toolbar*/
274
- (l[0].showMore || /*toolbar*/
275
- l[0].showShare) && M(_(l))
220
+ (n[0].showMore || /*toolbar*/
221
+ n[0].showShare) && M(n)
276
222
  );
277
223
  return {
278
224
  c() {
279
- i && i.c(), e = R();
225
+ r && r.c(), t = q();
280
226
  },
281
- m(r, t) {
282
- i && i.m(r, t), v(r, e, t), a = !0;
227
+ m(i, o) {
228
+ r && r.m(i, o), h(i, t, o), p = !0;
283
229
  },
284
- p(r, [t]) {
230
+ p(i, [o]) {
285
231
  /*toolbar*/
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());
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());
291
237
  },
292
- i(r) {
293
- a || (f(i), a = !0);
238
+ i(i) {
239
+ p || (m(r), p = !0);
294
240
  },
295
- o(r) {
296
- c(i), a = !1;
241
+ o(i) {
242
+ s(r), p = !1;
297
243
  },
298
- d(r) {
299
- i && i.d(r), r && b(e);
244
+ d(i) {
245
+ r && r.d(i), i && u(t);
300
246
  }
301
247
  };
302
248
  }
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 });
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 });
310
256
  });
311
- function s(m) {
312
- m.stopPropagation(), typeof o == "function" && o(), r.emit("click", { event: m, target: "TagPopoverViewMore", tag: t });
257
+ function c(a) {
258
+ a.stopPropagation(), typeof l == "function" && l(), i.emit("click", { event: a, target: "TagPopoverViewMore", tag: o });
313
259
  }
314
- function h(m) {
315
- m.stopPropagation(), typeof o == "function" && o(), r.emit("click", { event: m, target: "TagPopoverShare", tag: t });
260
+ function v(a) {
261
+ a.stopPropagation(), typeof l == "function" && l(), i.emit("click", { event: a, target: "TagPopoverShare", tag: o });
316
262
  }
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];
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];
323
269
  }
324
- class mt extends A {
325
- constructor(e) {
326
- super(), B(
270
+ class ft extends z {
271
+ constructor(t) {
272
+ super(), I(
327
273
  this,
328
- e,
329
- Q,
330
- O,
331
- D,
274
+ t,
275
+ K,
276
+ J,
277
+ N,
332
278
  {
333
279
  tag: 5,
334
280
  toolbar: 0,
335
281
  theme: 1,
336
282
  closePopover: 6
337
283
  },
338
- L
284
+ H
339
285
  );
340
286
  }
341
287
  }
342
288
  export {
343
- mt as default
289
+ ft as default
344
290
  };