@realsee/dnalogel 3.1.2 → 3.1.3
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.
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var Q = Object.defineProperty, V = Object.defineProperties;
|
|
2
2
|
var X = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var E = Object.getOwnPropertySymbols;
|
|
4
4
|
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var F = (e, i, o) => i in e ? Q(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o, C = (e, i) => {
|
|
6
6
|
for (var o in i || (i = {}))
|
|
7
|
-
Y.call(i, o) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var o of
|
|
10
|
-
Z.call(i, o) &&
|
|
7
|
+
Y.call(i, o) && F(e, o, i[o]);
|
|
8
|
+
if (E)
|
|
9
|
+
for (var o of E(i))
|
|
10
|
+
Z.call(i, o) && F(e, o, i[o]);
|
|
11
11
|
return e;
|
|
12
12
|
}, L = (e, i) => V(e, X(i));
|
|
13
13
|
var K = (e, i, o) => new Promise((t, n) => {
|
|
@@ -26,7 +26,7 @@ var K = (e, i, o) => new Promise((t, n) => {
|
|
|
26
26
|
}, u = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(r, m);
|
|
27
27
|
u((o = o.apply(e, i)).next());
|
|
28
28
|
});
|
|
29
|
-
import { SvelteComponent as $, init as x, safe_not_equal as ee, append_styles as ie, empty as N, insert as w, transition_in as _, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ne, onMount as te, element as R, space as oe, attr as p, set_style as c, append as re, group_outros as G, create_component as ae, mount_component as le, destroy_component as ue, handle_promise as q, update_await_block_branch as J, noop as s, src_url_equal as
|
|
29
|
+
import { SvelteComponent as $, init as x, safe_not_equal as ee, append_styles as ie, empty as N, insert as w, transition_in as _, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ne, onMount as te, element as R, space as oe, attr as p, set_style as c, append as re, group_outros as G, create_component as ae, mount_component as le, destroy_component as ue, handle_promise as q, update_await_block_branch as J, noop as s, src_url_equal as M } from "../../../../vendor/svelte/internal/index.js";
|
|
30
30
|
import "three";
|
|
31
31
|
import { noTypecheck as W } from "../../../utils/noTypecheck.js";
|
|
32
32
|
import { getKeyframeInfo as se, getImageInfo as fe } from "../../../utils/getImageInfo.js";
|
|
@@ -37,13 +37,13 @@ import "../../../../vendor/svelte/easing/index.js";
|
|
|
37
37
|
function de(e) {
|
|
38
38
|
ie(e, "svelte-316sq3", "@keyframes svelte-316sq3-sprites-animation{0%{background-position:0 0}100%{background-position:100% 0}}.icon-image.svelte-316sq3{display:block;width:auto}.icon-keyframe.svelte-316sq3{background-repeat:no-repeat;background-size:auto 100%;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-316sq3-sprites-animation;animation-delay:0}");
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function T(e) {
|
|
41
41
|
e[1] = e[19].width;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function U(e) {
|
|
44
44
|
e[1] = e[19].width, e[16] = e[19].height, e[17] = e[19].steps, e[18] = e[19].duration;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function j(e) {
|
|
47
47
|
let i, o, t, n = (
|
|
48
48
|
/*shadow*/
|
|
49
49
|
e[0] && A()
|
|
@@ -237,11 +237,11 @@ function _e(e) {
|
|
|
237
237
|
return { c: s, m: s, p: s, d: s };
|
|
238
238
|
}
|
|
239
239
|
function pe(e) {
|
|
240
|
-
|
|
240
|
+
T(e);
|
|
241
241
|
let i, o;
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
244
|
-
i = R("img"), p(i, "alt", "tag-icon"), p(i, "class", "icon-image svelte-316sq3"),
|
|
244
|
+
i = R("img"), p(i, "alt", "tag-icon"), p(i, "class", "icon-image svelte-316sq3"), M(i.src, o = /*iconUrl*/
|
|
245
245
|
e[7]) || p(i, "src", o), c(i, "width", g(k({
|
|
246
246
|
originWidth: (
|
|
247
247
|
/*width*/
|
|
@@ -261,8 +261,8 @@ function pe(e) {
|
|
|
261
261
|
w(t, i, n);
|
|
262
262
|
},
|
|
263
263
|
p(t, n) {
|
|
264
|
-
|
|
265
|
-
128 && !
|
|
264
|
+
T(t), n & /*iconUrl*/
|
|
265
|
+
128 && !M(i.src, o = /*iconUrl*/
|
|
266
266
|
t[7]) && p(i, "src", o), n & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
267
267
|
184 && c(i, "width", g(k({
|
|
268
268
|
originWidth: (
|
|
@@ -291,10 +291,10 @@ function ke(e) {
|
|
|
291
291
|
return { c: s, m: s, p: s, d: s };
|
|
292
292
|
}
|
|
293
293
|
function we(e) {
|
|
294
|
-
|
|
294
|
+
U(e);
|
|
295
295
|
let i, o = `url(${/*iconUrl*/
|
|
296
296
|
e[7]})`, t = `steps(${/*steps*/
|
|
297
|
-
e[17]
|
|
297
|
+
e[17] - 1})`;
|
|
298
298
|
return {
|
|
299
299
|
c() {
|
|
300
300
|
i = R("div"), p(i, "class", "icon-keyframe svelte-316sq3"), c(i, "width", g(k({
|
|
@@ -342,7 +342,7 @@ function we(e) {
|
|
|
342
342
|
w(n, i, r);
|
|
343
343
|
},
|
|
344
344
|
p(n, r) {
|
|
345
|
-
|
|
345
|
+
U(n), r & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
346
346
|
252 && c(i, "width", g(k({
|
|
347
347
|
originWidth: (
|
|
348
348
|
/*width*/
|
|
@@ -388,7 +388,7 @@ function we(e) {
|
|
|
388
388
|
n[18]
|
|
389
389
|
), r & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
390
390
|
228 && t !== (t = `steps(${/*steps*/
|
|
391
|
-
n[17]
|
|
391
|
+
n[17] - 1})`) && c(i, "animation-timing-function", t);
|
|
392
392
|
},
|
|
393
393
|
d(n) {
|
|
394
394
|
n && b(i);
|
|
@@ -401,7 +401,7 @@ function be(e) {
|
|
|
401
401
|
function ye(e) {
|
|
402
402
|
let i, o, t = (
|
|
403
403
|
/*iconCopy*/
|
|
404
|
-
e[9] &&
|
|
404
|
+
e[9] && j(e)
|
|
405
405
|
);
|
|
406
406
|
return {
|
|
407
407
|
c() {
|
|
@@ -413,7 +413,7 @@ function ye(e) {
|
|
|
413
413
|
p(n, [r]) {
|
|
414
414
|
/*iconCopy*/
|
|
415
415
|
n[9] ? t ? (t.p(n, r), r & /*iconCopy*/
|
|
416
|
-
512 && _(t, 1)) : (t =
|
|
416
|
+
512 && _(t, 1)) : (t = j(n), t.c(), _(t, 1), t.m(i.parentNode, i)) : t && (G(), y(t, 1, 1, () => {
|
|
417
417
|
t = null;
|
|
418
418
|
}), B());
|
|
419
419
|
},
|
|
@@ -433,7 +433,7 @@ function k(e) {
|
|
|
433
433
|
return L(C({}, e), { width: r, height: m });
|
|
434
434
|
}
|
|
435
435
|
function We(e, i, o) {
|
|
436
|
-
let t, n, r, m, u, a, d, v, I, { width: H = null } = i, { icon: l = null } = i, { shadow:
|
|
436
|
+
let t, n, r, m, u, a, d, v, I, { width: H = null } = i, { icon: l = null } = i, { shadow: z = !1 } = i;
|
|
437
437
|
const S = ne();
|
|
438
438
|
function O(f) {
|
|
439
439
|
return K(this, null, function* () {
|
|
@@ -449,13 +449,13 @@ function We(e, i, o) {
|
|
|
449
449
|
return S("iconLoaded", h), h;
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function D() {
|
|
453
453
|
v || S("iconLoaded");
|
|
454
454
|
}
|
|
455
455
|
return te(() => {
|
|
456
|
-
|
|
456
|
+
D();
|
|
457
457
|
}), e.$$set = (f) => {
|
|
458
|
-
"width" in f && o(1, H = f.width), "icon" in f && o(12, l = f.icon), "shadow" in f && o(0,
|
|
458
|
+
"width" in f && o(1, H = f.width), "icon" in f && o(12, l = f.icon), "shadow" in f && o(0, z = f.shadow);
|
|
459
459
|
}, e.$$.update = () => {
|
|
460
460
|
var f, h;
|
|
461
461
|
e.$$.dirty & /*icon*/
|
|
@@ -475,8 +475,8 @@ function We(e, i, o) {
|
|
|
475
475
|
})), e.$$.dirty & /*iconSteps*/
|
|
476
476
|
4 && o(8, v = n > 1), e.$$.dirty & /*width*/
|
|
477
477
|
2 && (I = H);
|
|
478
|
-
},
|
|
479
|
-
|
|
478
|
+
}, D(), [
|
|
479
|
+
z,
|
|
480
480
|
H,
|
|
481
481
|
n,
|
|
482
482
|
a,
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.1.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.1.3",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.1.
|
|
10
|
+
"version": "3.1.3",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|