@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.
- package/CHANGELOG.md +15 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
- package/dist/index.cjs.js +97 -102
- package/dist/index.js +14564 -16573
- package/dist/index.umd.js +90 -95
- package/libs/CruisePlugin/Move.js +14 -27
- package/libs/CruisePlugin/Work.js +61 -74
- package/libs/CruisePlugin/index.js +18 -31
- package/libs/GuideLinePlugin/Controller.js +18 -31
- package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
- package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
- package/libs/GuideLinePlugin/index.js +18 -31
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
- package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
- package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
- package/libs/PanoTagPlugin/Components/TagItem.js +318 -321
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
- package/libs/PanoTagPlugin/controller/index.js +41 -54
- package/libs/PanoTagPlugin/index.js +23 -36
- package/libs/PanoTagPlugin/tag.config.js +31 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +169 -182
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/url/replace-static-prefix.js +12 -7
- package/libs/vendor/svelte/internal/index.js +235 -225
- package/package.json +2 -2
- package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
- package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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
|
|
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
|
|
72
|
-
|
|
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
|
|
75
|
-
|
|
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
|
-
|
|
78
|
-
),
|
|
83
|
+
l[0].showMore && S(l)
|
|
84
|
+
), p = (
|
|
79
85
|
/*toolbar*/
|
|
80
|
-
|
|
86
|
+
l[0].showShare && y(l)
|
|
81
87
|
);
|
|
82
88
|
return {
|
|
83
89
|
c() {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
(
|
|
87
|
-
|
|
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(
|
|
90
|
-
|
|
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(
|
|
101
|
+
p(n, o) {
|
|
93
102
|
/*toolbar*/
|
|
94
|
-
|
|
95
|
-
1 &&
|
|
96
|
-
|
|
97
|
-
}),
|
|
98
|
-
|
|
99
|
-
1 &&
|
|
100
|
-
|
|
101
|
-
}),
|
|
102
|
-
3 &&
|
|
103
|
-
|
|
104
|
-
(
|
|
105
|
-
|
|
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(
|
|
108
|
-
|
|
119
|
+
i(n) {
|
|
120
|
+
r || (f(t), f(p), r = !0);
|
|
109
121
|
},
|
|
110
|
-
o(
|
|
111
|
-
|
|
122
|
+
o(n) {
|
|
123
|
+
c(t), c(p), r = !1;
|
|
112
124
|
},
|
|
113
|
-
d(
|
|
114
|
-
|
|
125
|
+
d(n) {
|
|
126
|
+
n && b(e), t && t.d(), p && p.d();
|
|
115
127
|
}
|
|
116
128
|
};
|
|
117
129
|
}
|
|
118
|
-
function S(
|
|
119
|
-
let
|
|
120
|
-
return
|
|
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
|
-
|
|
137
|
+
l[1] === "light" ? "#000000" : "#ffffff"
|
|
126
138
|
),
|
|
127
139
|
opacity: (
|
|
128
140
|
/*theme*/
|
|
129
|
-
|
|
141
|
+
l[1] === "light" ? 0.8 : 1
|
|
130
142
|
)
|
|
131
143
|
}
|
|
132
144
|
}), {
|
|
133
145
|
c() {
|
|
134
|
-
|
|
146
|
+
e = w("div"), a = j(
|
|
135
147
|
/*viewMoreText*/
|
|
136
|
-
|
|
137
|
-
),
|
|
148
|
+
l[2]
|
|
149
|
+
), i = k(), C(r.$$.fragment), g(e, "class", "tag-popover-btn view-more svelte-m2x1q4");
|
|
138
150
|
},
|
|
139
|
-
m(
|
|
140
|
-
|
|
141
|
-
|
|
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
|
-
|
|
145
|
-
),
|
|
156
|
+
l[3]
|
|
157
|
+
), p = !0);
|
|
146
158
|
},
|
|
147
|
-
p(
|
|
148
|
-
(!
|
|
149
|
-
4) &&
|
|
150
|
-
|
|
159
|
+
p(o, s) {
|
|
160
|
+
(!t || s & /*viewMoreText*/
|
|
161
|
+
4) && N(
|
|
162
|
+
a,
|
|
151
163
|
/*viewMoreText*/
|
|
152
|
-
|
|
164
|
+
o[2]
|
|
153
165
|
);
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
2 && (
|
|
157
|
-
|
|
158
|
-
2 && (
|
|
159
|
-
|
|
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(
|
|
162
|
-
|
|
173
|
+
i(o) {
|
|
174
|
+
t || (f(r.$$.fragment, o), t = !0);
|
|
163
175
|
},
|
|
164
|
-
o(
|
|
165
|
-
|
|
176
|
+
o(o) {
|
|
177
|
+
c(r.$$.fragment, o), t = !1;
|
|
166
178
|
},
|
|
167
|
-
d(
|
|
168
|
-
|
|
179
|
+
d(o) {
|
|
180
|
+
o && b(e), V(r), p = !1, n();
|
|
169
181
|
}
|
|
170
182
|
};
|
|
171
183
|
}
|
|
172
|
-
function
|
|
173
|
-
let
|
|
174
|
-
|
|
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
|
-
|
|
195
|
+
l[1] === "light" ? "#000000" : "#ffffff"
|
|
180
196
|
),
|
|
181
197
|
opacity: (
|
|
182
198
|
/*theme*/
|
|
183
|
-
|
|
199
|
+
l[1] === "light" ? 0.8 : 1
|
|
184
200
|
)
|
|
185
201
|
}
|
|
186
202
|
}), {
|
|
187
203
|
c() {
|
|
188
|
-
|
|
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(
|
|
191
|
-
|
|
192
|
-
|
|
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
|
-
|
|
196
|
-
),
|
|
217
|
+
l[4]
|
|
218
|
+
), t = !0);
|
|
197
219
|
},
|
|
198
|
-
p(
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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
|
-
|
|
207
|
-
r
|
|
258
|
+
m(r, t) {
|
|
259
|
+
v(r, e, t), u(e, i);
|
|
208
260
|
},
|
|
209
|
-
|
|
210
|
-
|
|
261
|
+
p(r, t) {
|
|
262
|
+
t & /*toolbar*/
|
|
263
|
+
1 && a !== (a = /*toolbar*/
|
|
264
|
+
r[0].shareText + "") && N(i, a);
|
|
211
265
|
},
|
|
212
|
-
d(
|
|
213
|
-
|
|
266
|
+
d(r) {
|
|
267
|
+
r && b(e);
|
|
214
268
|
}
|
|
215
269
|
};
|
|
216
270
|
}
|
|
217
|
-
function
|
|
218
|
-
let
|
|
271
|
+
function O(l) {
|
|
272
|
+
let e, a, i = (
|
|
219
273
|
/*toolbar*/
|
|
220
|
-
(
|
|
221
|
-
|
|
274
|
+
(l[0].showMore || /*toolbar*/
|
|
275
|
+
l[0].showShare) && M(_(l))
|
|
222
276
|
);
|
|
223
277
|
return {
|
|
224
278
|
c() {
|
|
225
|
-
|
|
279
|
+
i && i.c(), e = R();
|
|
226
280
|
},
|
|
227
|
-
m(
|
|
228
|
-
|
|
281
|
+
m(r, t) {
|
|
282
|
+
i && i.m(r, t), v(r, e, t), a = !0;
|
|
229
283
|
},
|
|
230
|
-
p(
|
|
284
|
+
p(r, [t]) {
|
|
231
285
|
/*toolbar*/
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
1 &&
|
|
235
|
-
|
|
236
|
-
}),
|
|
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(
|
|
239
|
-
|
|
292
|
+
i(r) {
|
|
293
|
+
a || (f(i), a = !0);
|
|
240
294
|
},
|
|
241
|
-
o(
|
|
242
|
-
|
|
295
|
+
o(r) {
|
|
296
|
+
c(i), a = !1;
|
|
243
297
|
},
|
|
244
|
-
d(
|
|
245
|
-
|
|
298
|
+
d(r) {
|
|
299
|
+
i && i.d(r), r && b(e);
|
|
246
300
|
}
|
|
247
301
|
};
|
|
248
302
|
}
|
|
249
|
-
function
|
|
250
|
-
let
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
let { tag:
|
|
254
|
-
|
|
255
|
-
|
|
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
|
|
258
|
-
|
|
311
|
+
function s(m) {
|
|
312
|
+
m.stopPropagation(), typeof o == "function" && o(), r.emit("click", { event: m, target: "TagPopoverViewMore", tag: t });
|
|
259
313
|
}
|
|
260
|
-
function
|
|
261
|
-
|
|
314
|
+
function h(m) {
|
|
315
|
+
m.stopPropagation(), typeof o == "function" && o(), r.emit("click", { event: m, target: "TagPopoverShare", tag: t });
|
|
262
316
|
}
|
|
263
|
-
return
|
|
264
|
-
"tag" in
|
|
265
|
-
},
|
|
266
|
-
|
|
267
|
-
32 &&
|
|
268
|
-
}, [
|
|
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
|
|
271
|
-
constructor(
|
|
272
|
-
super(),
|
|
324
|
+
class mt extends A {
|
|
325
|
+
constructor(e) {
|
|
326
|
+
super(), B(
|
|
273
327
|
this,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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
|
-
|
|
338
|
+
L
|
|
285
339
|
);
|
|
286
340
|
}
|
|
287
341
|
}
|
|
288
342
|
export {
|
|
289
|
-
|
|
343
|
+
mt as default
|
|
290
344
|
};
|