@realsee/dnalogel 3.3.4 → 3.3.5
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/dist/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/dist/index.cjs.js +45 -45
- package/dist/index.js +2821 -2789
- package/dist/index.umd.js +37 -37
- package/libs/PanoTagPlugin/Components/TagItem.js +287 -255
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/libs/PanoTagPlugin/controller/TagComputer.js +116 -135
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/TagRender.js +90 -71
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q,
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q, empty as U, insert as N, transition_in as h, transition_out as k, check_outros as L, detach as P, getContext as W, element as M, space as X, attr as _, null_to_empty as V, set_style as C, toggle_class as b, append as j, group_outros as q, noop as w, create_component as F, mount_component as G, destroy_component as H } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import Y from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
6
|
-
import { classnames as
|
|
4
|
+
import { noTypecheck as z } from "../utils/noTypecheck.js";
|
|
5
|
+
import Z from "./Common/TagPoint.js";
|
|
6
|
+
import { classnames as B } from "../../vendor/classnames/index.js";
|
|
7
7
|
import "./Tag/TextTag/index.js";
|
|
8
8
|
import "./Tag/TextTag/TextTag.js";
|
|
9
9
|
import "./Common/Line/Straight.js";
|
|
@@ -91,75 +91,233 @@ import "./Tag/LinkTag.js";
|
|
|
91
91
|
import "./Common/Icon/Icon.js";
|
|
92
92
|
import "../utils/getImageInfo.js";
|
|
93
93
|
import "./Tag/CustomTag.js";
|
|
94
|
-
function
|
|
94
|
+
function x(o) {
|
|
95
95
|
Q(o, "svelte-t2hepc", ".tag.svelte-t2hepc{will-change:opacity}.tag.withAnimation.svelte-t2hepc{transition:opacity 0.2s linear}.tag.hide.svelte-t2hepc{opacity:0;pointer-events:none}.tag.hide.svelte-t2hepc *{pointer-events:none !important}.tag.unClickable.svelte-t2hepc{pointer-events:none !important}.tag.unClickable.svelte-t2hepc *{pointer-events:none !important}.tag.disable.svelte-t2hepc{display:none}.wrapper.svelte-t2hepc{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
let e;
|
|
99
|
-
|
|
97
|
+
function E(o) {
|
|
98
|
+
let i, e, t, r, a, s, c, v, u, f;
|
|
99
|
+
const S = [tt, $], d = [];
|
|
100
|
+
function p(n, m) {
|
|
101
|
+
return (
|
|
102
|
+
/*havePoint*/
|
|
103
|
+
n[14] ? 0 : 1
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
t = p(o), r = d[t] = S[t](o);
|
|
107
|
+
const T = [it, et], g = [];
|
|
108
|
+
function A(n, m) {
|
|
109
|
+
return (
|
|
110
|
+
/*haveContent*/
|
|
111
|
+
n[13] ? 0 : 1
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
return s = A(o), c = g[s] = T[s](o), {
|
|
100
115
|
c() {
|
|
101
|
-
e =
|
|
116
|
+
i = M("div"), e = M("div"), r.c(), a = X(), c.c(), _(e, "class", v = V(B(
|
|
117
|
+
"wrapper",
|
|
118
|
+
/*tag*/
|
|
119
|
+
o[1].className ? `${/*tag*/
|
|
120
|
+
o[1].className}__wrapper` : void 0
|
|
121
|
+
)) + " svelte-t2hepc"), _(
|
|
122
|
+
e,
|
|
123
|
+
"data-tag-unfolded",
|
|
124
|
+
/*unfolded*/
|
|
125
|
+
o[9]
|
|
126
|
+
), _(
|
|
127
|
+
e,
|
|
128
|
+
"data-tag-id",
|
|
129
|
+
/*id*/
|
|
130
|
+
o[12]
|
|
131
|
+
), _(e, "data-content-type", u = /*tag*/
|
|
132
|
+
o[1].contentType), C(
|
|
133
|
+
e,
|
|
134
|
+
"left",
|
|
135
|
+
/*left*/
|
|
136
|
+
o[8]
|
|
137
|
+
), C(
|
|
138
|
+
e,
|
|
139
|
+
"top",
|
|
140
|
+
/*top*/
|
|
141
|
+
o[7]
|
|
142
|
+
), _(i, "class", "tag svelte-t2hepc"), _(
|
|
143
|
+
i,
|
|
144
|
+
"data-tag-id",
|
|
145
|
+
/*id*/
|
|
146
|
+
o[12]
|
|
147
|
+
), b(
|
|
148
|
+
i,
|
|
149
|
+
"unClickable",
|
|
150
|
+
/*tag*/
|
|
151
|
+
o[1].config.clickable === !1
|
|
152
|
+
), b(
|
|
153
|
+
i,
|
|
154
|
+
"disable",
|
|
155
|
+
/*disable*/
|
|
156
|
+
o[11]
|
|
157
|
+
), b(
|
|
158
|
+
i,
|
|
159
|
+
"hide",
|
|
160
|
+
/*hide*/
|
|
161
|
+
o[10]
|
|
162
|
+
), b(
|
|
163
|
+
i,
|
|
164
|
+
"withAnimation",
|
|
165
|
+
/*withAnimation*/
|
|
166
|
+
o[0]
|
|
167
|
+
);
|
|
102
168
|
},
|
|
103
|
-
m(
|
|
104
|
-
|
|
169
|
+
m(n, m) {
|
|
170
|
+
N(n, i, m), j(i, e), d[t].m(e, null), j(e, a), g[s].m(e, null), f = !0;
|
|
105
171
|
},
|
|
106
|
-
p
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
t
|
|
172
|
+
p(n, m) {
|
|
173
|
+
let l = t;
|
|
174
|
+
t = p(n), t === l ? d[t].p(n, m) : (q(), k(d[l], 1, 1, () => {
|
|
175
|
+
d[l] = null;
|
|
176
|
+
}), L(), r = d[t], r ? r.p(n, m) : (r = d[t] = S[t](n), r.c()), h(r, 1), r.m(e, a));
|
|
177
|
+
let y = s;
|
|
178
|
+
s = A(n), s === y ? g[s].p(n, m) : (q(), k(g[y], 1, 1, () => {
|
|
179
|
+
g[y] = null;
|
|
180
|
+
}), L(), c = g[s], c ? c.p(n, m) : (c = g[s] = T[s](n), c.c()), h(c, 1), c.m(e, null)), (!f || m & /*tag*/
|
|
181
|
+
2 && v !== (v = V(B(
|
|
182
|
+
"wrapper",
|
|
183
|
+
/*tag*/
|
|
184
|
+
n[1].className ? `${/*tag*/
|
|
185
|
+
n[1].className}__wrapper` : void 0
|
|
186
|
+
)) + " svelte-t2hepc")) && _(e, "class", v), (!f || m & /*unfolded*/
|
|
187
|
+
512) && _(
|
|
188
|
+
e,
|
|
189
|
+
"data-tag-unfolded",
|
|
190
|
+
/*unfolded*/
|
|
191
|
+
n[9]
|
|
192
|
+
), (!f || m & /*id*/
|
|
193
|
+
4096) && _(
|
|
194
|
+
e,
|
|
195
|
+
"data-tag-id",
|
|
196
|
+
/*id*/
|
|
197
|
+
n[12]
|
|
198
|
+
), (!f || m & /*tag*/
|
|
199
|
+
2 && u !== (u = /*tag*/
|
|
200
|
+
n[1].contentType)) && _(e, "data-content-type", u), m & /*left*/
|
|
201
|
+
256 && C(
|
|
202
|
+
e,
|
|
203
|
+
"left",
|
|
204
|
+
/*left*/
|
|
205
|
+
n[8]
|
|
206
|
+
), m & /*top*/
|
|
207
|
+
128 && C(
|
|
208
|
+
e,
|
|
209
|
+
"top",
|
|
210
|
+
/*top*/
|
|
211
|
+
n[7]
|
|
212
|
+
), (!f || m & /*id*/
|
|
213
|
+
4096) && _(
|
|
214
|
+
i,
|
|
215
|
+
"data-tag-id",
|
|
216
|
+
/*id*/
|
|
217
|
+
n[12]
|
|
218
|
+
), (!f || m & /*tag*/
|
|
219
|
+
2) && b(
|
|
220
|
+
i,
|
|
221
|
+
"unClickable",
|
|
222
|
+
/*tag*/
|
|
223
|
+
n[1].config.clickable === !1
|
|
224
|
+
), (!f || m & /*disable*/
|
|
225
|
+
2048) && b(
|
|
226
|
+
i,
|
|
227
|
+
"disable",
|
|
228
|
+
/*disable*/
|
|
229
|
+
n[11]
|
|
230
|
+
), (!f || m & /*hide*/
|
|
231
|
+
1024) && b(
|
|
232
|
+
i,
|
|
233
|
+
"hide",
|
|
234
|
+
/*hide*/
|
|
235
|
+
n[10]
|
|
236
|
+
), (!f || m & /*withAnimation*/
|
|
237
|
+
1) && b(
|
|
238
|
+
i,
|
|
239
|
+
"withAnimation",
|
|
240
|
+
/*withAnimation*/
|
|
241
|
+
n[0]
|
|
242
|
+
);
|
|
243
|
+
},
|
|
244
|
+
i(n) {
|
|
245
|
+
f || (h(r), h(c), f = !0);
|
|
246
|
+
},
|
|
247
|
+
o(n) {
|
|
248
|
+
k(r), k(c), f = !1;
|
|
249
|
+
},
|
|
250
|
+
d(n) {
|
|
251
|
+
n && P(i), d[t].d(), g[s].d();
|
|
111
252
|
}
|
|
112
253
|
};
|
|
113
254
|
}
|
|
114
255
|
function $(o) {
|
|
115
|
-
let
|
|
116
|
-
return
|
|
256
|
+
let i;
|
|
257
|
+
return {
|
|
258
|
+
c() {
|
|
259
|
+
i = M("div"), _(i, "data-info", "tag point is disable");
|
|
260
|
+
},
|
|
261
|
+
m(e, t) {
|
|
262
|
+
N(e, i, t);
|
|
263
|
+
},
|
|
264
|
+
p: w,
|
|
265
|
+
i: w,
|
|
266
|
+
o: w,
|
|
267
|
+
d(e) {
|
|
268
|
+
e && P(i);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
function tt(o) {
|
|
273
|
+
let i, e;
|
|
274
|
+
return i = new Z({ props: { tag: (
|
|
117
275
|
/*tag*/
|
|
118
276
|
o[1]
|
|
119
277
|
) } }), {
|
|
120
278
|
c() {
|
|
121
|
-
F(
|
|
279
|
+
F(i.$$.fragment);
|
|
122
280
|
},
|
|
123
|
-
m(
|
|
124
|
-
G(
|
|
281
|
+
m(t, r) {
|
|
282
|
+
G(i, t, r), e = !0;
|
|
125
283
|
},
|
|
126
|
-
p(
|
|
127
|
-
const
|
|
128
|
-
|
|
129
|
-
2 && (
|
|
130
|
-
|
|
284
|
+
p(t, r) {
|
|
285
|
+
const a = {};
|
|
286
|
+
r & /*tag*/
|
|
287
|
+
2 && (a.tag = /*tag*/
|
|
288
|
+
t[1]), i.$set(a);
|
|
131
289
|
},
|
|
132
|
-
i(
|
|
133
|
-
|
|
290
|
+
i(t) {
|
|
291
|
+
e || (h(i.$$.fragment, t), e = !0);
|
|
134
292
|
},
|
|
135
|
-
o(
|
|
136
|
-
k(
|
|
293
|
+
o(t) {
|
|
294
|
+
k(i.$$.fragment, t), e = !1;
|
|
137
295
|
},
|
|
138
|
-
d(
|
|
139
|
-
H(
|
|
296
|
+
d(t) {
|
|
297
|
+
H(i, t);
|
|
140
298
|
}
|
|
141
299
|
};
|
|
142
300
|
}
|
|
143
|
-
function
|
|
144
|
-
let
|
|
301
|
+
function et(o) {
|
|
302
|
+
let i;
|
|
145
303
|
return {
|
|
146
304
|
c() {
|
|
147
|
-
|
|
305
|
+
i = M("div"), _(i, "data-info", "tag content is disable");
|
|
148
306
|
},
|
|
149
|
-
m(
|
|
150
|
-
|
|
307
|
+
m(e, t) {
|
|
308
|
+
N(e, i, t);
|
|
151
309
|
},
|
|
152
|
-
p:
|
|
153
|
-
i:
|
|
154
|
-
o:
|
|
155
|
-
d(
|
|
156
|
-
|
|
310
|
+
p: w,
|
|
311
|
+
i: w,
|
|
312
|
+
o: w,
|
|
313
|
+
d(e) {
|
|
314
|
+
e && P(i);
|
|
157
315
|
}
|
|
158
316
|
};
|
|
159
317
|
}
|
|
160
|
-
function
|
|
161
|
-
let
|
|
162
|
-
return
|
|
318
|
+
function it(o) {
|
|
319
|
+
let i, e;
|
|
320
|
+
return i = new Y({
|
|
163
321
|
props: {
|
|
164
322
|
mediaStore: (
|
|
165
323
|
/*mediaStore*/
|
|
@@ -169,13 +327,13 @@ function et(o) {
|
|
|
169
327
|
/*withAnimation*/
|
|
170
328
|
o[0]
|
|
171
329
|
),
|
|
172
|
-
tag:
|
|
330
|
+
tag: z(
|
|
173
331
|
/*tag*/
|
|
174
332
|
o[1]
|
|
175
333
|
),
|
|
176
334
|
hooks: (
|
|
177
335
|
/*hooks*/
|
|
178
|
-
o[
|
|
336
|
+
o[15]
|
|
179
337
|
),
|
|
180
338
|
state: (
|
|
181
339
|
/*state*/
|
|
@@ -192,242 +350,116 @@ function et(o) {
|
|
|
192
350
|
}
|
|
193
351
|
}), {
|
|
194
352
|
c() {
|
|
195
|
-
F(
|
|
353
|
+
F(i.$$.fragment);
|
|
196
354
|
},
|
|
197
|
-
m(
|
|
198
|
-
G(
|
|
355
|
+
m(t, r) {
|
|
356
|
+
G(i, t, r), e = !0;
|
|
199
357
|
},
|
|
200
|
-
p(
|
|
201
|
-
const
|
|
202
|
-
|
|
203
|
-
4 && (
|
|
204
|
-
|
|
205
|
-
1 && (
|
|
206
|
-
|
|
207
|
-
2 && (
|
|
358
|
+
p(t, r) {
|
|
359
|
+
const a = {};
|
|
360
|
+
r & /*mediaStore*/
|
|
361
|
+
4 && (a.mediaStore = /*mediaStore*/
|
|
362
|
+
t[2]), r & /*withAnimation*/
|
|
363
|
+
1 && (a.withAnimation = /*withAnimation*/
|
|
364
|
+
t[0]), r & /*tag*/
|
|
365
|
+
2 && (a.tag = z(
|
|
208
366
|
/*tag*/
|
|
209
|
-
|
|
210
|
-
)),
|
|
211
|
-
16 && (
|
|
212
|
-
|
|
213
|
-
32 && (
|
|
214
|
-
|
|
215
|
-
8 && (
|
|
216
|
-
|
|
367
|
+
t[1]
|
|
368
|
+
)), r & /*state*/
|
|
369
|
+
16 && (a.state = /*state*/
|
|
370
|
+
t[4]), r & /*temporaryState*/
|
|
371
|
+
32 && (a.temporaryState = /*temporaryState*/
|
|
372
|
+
t[5]), r & /*renderMap*/
|
|
373
|
+
8 && (a.renderMap = /*renderMap*/
|
|
374
|
+
t[3]), i.$set(a);
|
|
217
375
|
},
|
|
218
|
-
i(
|
|
219
|
-
|
|
376
|
+
i(t) {
|
|
377
|
+
e || (h(i.$$.fragment, t), e = !0);
|
|
220
378
|
},
|
|
221
|
-
o(
|
|
222
|
-
k(
|
|
379
|
+
o(t) {
|
|
380
|
+
k(i.$$.fragment, t), e = !1;
|
|
223
381
|
},
|
|
224
|
-
d(
|
|
225
|
-
H(
|
|
382
|
+
d(t) {
|
|
383
|
+
H(i, t);
|
|
226
384
|
}
|
|
227
385
|
};
|
|
228
386
|
}
|
|
229
|
-
function
|
|
230
|
-
let
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
n[13] ? 0 : 1
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
i = S(o), p = a[i] = w[i](o);
|
|
239
|
-
const T = [et, tt], u = [];
|
|
240
|
-
function A(n, r) {
|
|
241
|
-
return (
|
|
242
|
-
/*haveContent*/
|
|
243
|
-
n[12] ? 0 : 1
|
|
244
|
-
);
|
|
245
|
-
}
|
|
246
|
-
return s = A(o), f = u[s] = T[s](o), {
|
|
387
|
+
function ot(o) {
|
|
388
|
+
let i, e, t = (
|
|
389
|
+
/*screenPosition*/
|
|
390
|
+
o[6] && E(o)
|
|
391
|
+
);
|
|
392
|
+
return {
|
|
247
393
|
c() {
|
|
248
|
-
|
|
249
|
-
"wrapper",
|
|
250
|
-
/*tag*/
|
|
251
|
-
o[1].className ? `${/*tag*/
|
|
252
|
-
o[1].className}__wrapper` : void 0
|
|
253
|
-
)) + " svelte-t2hepc"), c(
|
|
254
|
-
t,
|
|
255
|
-
"data-tag-unfolded",
|
|
256
|
-
/*unfolded*/
|
|
257
|
-
o[8]
|
|
258
|
-
), c(
|
|
259
|
-
t,
|
|
260
|
-
"data-tag-id",
|
|
261
|
-
/*id*/
|
|
262
|
-
o[11]
|
|
263
|
-
), c(t, "data-content-type", g = /*tag*/
|
|
264
|
-
o[1].contentType), P(
|
|
265
|
-
t,
|
|
266
|
-
"left",
|
|
267
|
-
/*left*/
|
|
268
|
-
o[7]
|
|
269
|
-
), P(
|
|
270
|
-
t,
|
|
271
|
-
"top",
|
|
272
|
-
/*top*/
|
|
273
|
-
o[6]
|
|
274
|
-
), c(e, "class", "tag svelte-t2hepc"), c(
|
|
275
|
-
e,
|
|
276
|
-
"data-tag-id",
|
|
277
|
-
/*id*/
|
|
278
|
-
o[11]
|
|
279
|
-
), d(
|
|
280
|
-
e,
|
|
281
|
-
"unClickable",
|
|
282
|
-
/*tag*/
|
|
283
|
-
o[1].config.clickable === !1
|
|
284
|
-
), d(
|
|
285
|
-
e,
|
|
286
|
-
"disable",
|
|
287
|
-
/*disable*/
|
|
288
|
-
o[10]
|
|
289
|
-
), d(
|
|
290
|
-
e,
|
|
291
|
-
"hide",
|
|
292
|
-
/*hide*/
|
|
293
|
-
o[9]
|
|
294
|
-
), d(
|
|
295
|
-
e,
|
|
296
|
-
"withAnimation",
|
|
297
|
-
/*withAnimation*/
|
|
298
|
-
o[0]
|
|
299
|
-
);
|
|
394
|
+
t && t.c(), i = U();
|
|
300
395
|
},
|
|
301
|
-
m(
|
|
302
|
-
|
|
396
|
+
m(r, a) {
|
|
397
|
+
t && t.m(r, a), N(r, i, a), e = !0;
|
|
303
398
|
},
|
|
304
|
-
p(
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
s = A(n), s === b ? u[s].p(n, r) : (z(), k(u[b], 1, 1, () => {
|
|
311
|
-
u[b] = null;
|
|
312
|
-
}), j(), f = u[s], f ? f.p(n, r) : (f = u[s] = T[s](n), f.c()), v(f, 1), f.m(t, null)), (!l || r & /*tag*/
|
|
313
|
-
2 && _ !== (_ = R(E(
|
|
314
|
-
"wrapper",
|
|
315
|
-
/*tag*/
|
|
316
|
-
n[1].className ? `${/*tag*/
|
|
317
|
-
n[1].className}__wrapper` : void 0
|
|
318
|
-
)) + " svelte-t2hepc")) && c(t, "class", _), (!l || r & /*unfolded*/
|
|
319
|
-
256) && c(
|
|
320
|
-
t,
|
|
321
|
-
"data-tag-unfolded",
|
|
322
|
-
/*unfolded*/
|
|
323
|
-
n[8]
|
|
324
|
-
), (!l || r & /*id*/
|
|
325
|
-
2048) && c(
|
|
326
|
-
t,
|
|
327
|
-
"data-tag-id",
|
|
328
|
-
/*id*/
|
|
329
|
-
n[11]
|
|
330
|
-
), (!l || r & /*tag*/
|
|
331
|
-
2 && g !== (g = /*tag*/
|
|
332
|
-
n[1].contentType)) && c(t, "data-content-type", g), r & /*left*/
|
|
333
|
-
128 && P(
|
|
334
|
-
t,
|
|
335
|
-
"left",
|
|
336
|
-
/*left*/
|
|
337
|
-
n[7]
|
|
338
|
-
), r & /*top*/
|
|
339
|
-
64 && P(
|
|
340
|
-
t,
|
|
341
|
-
"top",
|
|
342
|
-
/*top*/
|
|
343
|
-
n[6]
|
|
344
|
-
), (!l || r & /*id*/
|
|
345
|
-
2048) && c(
|
|
346
|
-
e,
|
|
347
|
-
"data-tag-id",
|
|
348
|
-
/*id*/
|
|
349
|
-
n[11]
|
|
350
|
-
), (!l || r & /*tag*/
|
|
351
|
-
2) && d(
|
|
352
|
-
e,
|
|
353
|
-
"unClickable",
|
|
354
|
-
/*tag*/
|
|
355
|
-
n[1].config.clickable === !1
|
|
356
|
-
), (!l || r & /*disable*/
|
|
357
|
-
1024) && d(
|
|
358
|
-
e,
|
|
359
|
-
"disable",
|
|
360
|
-
/*disable*/
|
|
361
|
-
n[10]
|
|
362
|
-
), (!l || r & /*hide*/
|
|
363
|
-
512) && d(
|
|
364
|
-
e,
|
|
365
|
-
"hide",
|
|
366
|
-
/*hide*/
|
|
367
|
-
n[9]
|
|
368
|
-
), (!l || r & /*withAnimation*/
|
|
369
|
-
1) && d(
|
|
370
|
-
e,
|
|
371
|
-
"withAnimation",
|
|
372
|
-
/*withAnimation*/
|
|
373
|
-
n[0]
|
|
374
|
-
);
|
|
399
|
+
p(r, [a]) {
|
|
400
|
+
/*screenPosition*/
|
|
401
|
+
r[6] ? t ? (t.p(r, a), a & /*screenPosition*/
|
|
402
|
+
64 && h(t, 1)) : (t = E(r), t.c(), h(t, 1), t.m(i.parentNode, i)) : t && (q(), k(t, 1, 1, () => {
|
|
403
|
+
t = null;
|
|
404
|
+
}), L());
|
|
375
405
|
},
|
|
376
|
-
i(
|
|
377
|
-
|
|
406
|
+
i(r) {
|
|
407
|
+
e || (h(t), e = !0);
|
|
378
408
|
},
|
|
379
|
-
o(
|
|
380
|
-
k(
|
|
409
|
+
o(r) {
|
|
410
|
+
k(t), e = !1;
|
|
381
411
|
},
|
|
382
|
-
d(
|
|
383
|
-
|
|
412
|
+
d(r) {
|
|
413
|
+
t && t.d(r), r && P(i);
|
|
384
414
|
}
|
|
385
415
|
};
|
|
386
416
|
}
|
|
387
|
-
function
|
|
388
|
-
let
|
|
389
|
-
const
|
|
390
|
-
return o.$$set = (
|
|
391
|
-
"withAnimation" in
|
|
417
|
+
function rt(o, i, e) {
|
|
418
|
+
let t, r, a, s, c, v, u, f, S, { withAnimation: d = !1 } = i, { tag: p } = i, { mediaStore: T } = i, { renderMap: g = /* @__PURE__ */ new Map() } = i, { state: A } = i, { temporaryState: n } = i;
|
|
419
|
+
const m = W("hooks");
|
|
420
|
+
return o.$$set = (l) => {
|
|
421
|
+
"withAnimation" in l && e(0, d = l.withAnimation), "tag" in l && e(1, p = l.tag), "mediaStore" in l && e(2, T = l.mediaStore), "renderMap" in l && e(3, g = l.renderMap), "state" in l && e(4, A = l.state), "temporaryState" in l && e(5, n = l.temporaryState);
|
|
392
422
|
}, o.$$.update = () => {
|
|
393
|
-
var
|
|
423
|
+
var l, y, D;
|
|
394
424
|
o.$$.dirty & /*tag*/
|
|
395
|
-
2 &&
|
|
396
|
-
var
|
|
397
|
-
return !(((
|
|
425
|
+
2 && e(14, t = (() => {
|
|
426
|
+
var I, R;
|
|
427
|
+
return !(((R = (I = p.style) == null ? void 0 : I.point) == null ? void 0 : R.enabled) === !1 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Audio" && p.data.appearance === "plane");
|
|
398
428
|
})()), o.$$.dirty & /*tag*/
|
|
399
|
-
2 &&
|
|
400
|
-
2 &&
|
|
401
|
-
2 &&
|
|
402
|
-
2 &&
|
|
403
|
-
2 &&
|
|
404
|
-
2 &&
|
|
405
|
-
|
|
429
|
+
2 && e(13, r = (() => p.stickType === "2DPoint")()), o.$$.dirty & /*tag*/
|
|
430
|
+
2 && e(12, a = p.id), o.$$.dirty & /*tag*/
|
|
431
|
+
2 && e(11, s = p.enabled === !1 || !p.state), o.$$.dirty & /*tag*/
|
|
432
|
+
2 && e(10, c = !((l = p.state) != null && l.visible) || ((y = p.temporaryState) == null ? void 0 : y.visible) === !1 || !p.screenPosition), o.$$.dirty & /*tag*/
|
|
433
|
+
2 && e(9, v = (D = p.state) == null ? void 0 : D.unfolded), o.$$.dirty & /*tag*/
|
|
434
|
+
2 && e(6, u = p.screenPosition), o.$$.dirty & /*screenPosition*/
|
|
435
|
+
64 && e(8, f = (u == null ? void 0 : u.leftPercent) + "%"), o.$$.dirty & /*screenPosition*/
|
|
436
|
+
64 && e(7, S = (u == null ? void 0 : u.topPercent) + "%");
|
|
406
437
|
}, [
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
S,
|
|
438
|
+
d,
|
|
439
|
+
p,
|
|
410
440
|
T,
|
|
411
|
-
u,
|
|
412
|
-
A,
|
|
413
|
-
l,
|
|
414
441
|
g,
|
|
415
|
-
|
|
442
|
+
A,
|
|
443
|
+
n,
|
|
444
|
+
u,
|
|
445
|
+
S,
|
|
416
446
|
f,
|
|
447
|
+
v,
|
|
448
|
+
c,
|
|
417
449
|
s,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
450
|
+
a,
|
|
451
|
+
r,
|
|
452
|
+
t,
|
|
453
|
+
m
|
|
422
454
|
];
|
|
423
455
|
}
|
|
424
|
-
class
|
|
425
|
-
constructor(
|
|
456
|
+
class Ke extends J {
|
|
457
|
+
constructor(i) {
|
|
426
458
|
super(), K(
|
|
427
459
|
this,
|
|
428
|
-
|
|
460
|
+
i,
|
|
461
|
+
rt,
|
|
429
462
|
ot,
|
|
430
|
-
it,
|
|
431
463
|
O,
|
|
432
464
|
{
|
|
433
465
|
withAnimation: 0,
|
|
@@ -437,10 +469,10 @@ class Je extends J {
|
|
|
437
469
|
state: 4,
|
|
438
470
|
temporaryState: 5
|
|
439
471
|
},
|
|
440
|
-
|
|
472
|
+
x
|
|
441
473
|
);
|
|
442
474
|
}
|
|
443
475
|
}
|
|
444
476
|
export {
|
|
445
|
-
|
|
477
|
+
Ke as default
|
|
446
478
|
};
|
|
@@ -17,10 +17,6 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
17
17
|
getUnfoldedByCamera(tag: TagInstance): boolean;
|
|
18
18
|
protected setTagZIndex(tags: TagInstance[]): void;
|
|
19
19
|
protected calculateTagZIndex(tag: TagInstance): number;
|
|
20
|
-
/**
|
|
21
|
-
* @description: 一个点的标签
|
|
22
|
-
*/
|
|
23
|
-
protected setPointTagPosition(): void;
|
|
24
20
|
protected setVisible(tags?: TagInstance[]): void;
|
|
25
21
|
protected setUnfoldedByPanoIndex(): void;
|
|
26
22
|
/**
|