ui-process-h5 2.5.49 → 2.5.51
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/package.json +1 -1
- package/v2/style.css +1 -1
- package/v2/ui-process-h5.js +269 -263
- package/v2/ui-process-h5.umd.cjs +7 -7
- package/v2.7/style.css +1 -1
- package/v2.7/ui-process-h5.js +92 -86
- package/v2.7/ui-process-h5.umd.cjs +8 -8
- package/v3/style.css +1 -1
- package/v3/ui-process-h5.js +97 -91
- package/v3/ui-process-h5.umd.cjs +1 -1
package/v2/ui-process-h5.js
CHANGED
|
@@ -127,8 +127,8 @@ function Re(e, s) {
|
|
|
127
127
|
try {
|
|
128
128
|
var a = Array.isArray(e), n = Array.isArray(s);
|
|
129
129
|
if (a && n)
|
|
130
|
-
return e.length === s.length && e.every(function(l,
|
|
131
|
-
return Re(l, s[
|
|
130
|
+
return e.length === s.length && e.every(function(l, p) {
|
|
131
|
+
return Re(l, s[p]);
|
|
132
132
|
});
|
|
133
133
|
if (e instanceof Date && s instanceof Date)
|
|
134
134
|
return e.getTime() === s.getTime();
|
|
@@ -426,17 +426,17 @@ function te(e, s, t, i, a) {
|
|
|
426
426
|
if (!(r && r.configurable === !1)) {
|
|
427
427
|
var o = r && r.get, l = r && r.set;
|
|
428
428
|
(!o || l) && arguments.length === 2 && (t = e[s]);
|
|
429
|
-
var
|
|
429
|
+
var p = !a && _e(t);
|
|
430
430
|
Object.defineProperty(e, s, {
|
|
431
431
|
enumerable: !0,
|
|
432
432
|
configurable: !0,
|
|
433
433
|
get: function() {
|
|
434
434
|
var m = o ? o.call(e) : t;
|
|
435
|
-
return Y.target && (n.depend(),
|
|
435
|
+
return Y.target && (n.depend(), p && (p.dep.depend(), Array.isArray(m) && ln(m))), m;
|
|
436
436
|
},
|
|
437
437
|
set: function(m) {
|
|
438
|
-
var
|
|
439
|
-
m ===
|
|
438
|
+
var A = o ? o.call(e) : t;
|
|
439
|
+
m === A || m !== m && A !== A || (process.env.NODE_ENV !== "production" && i && i(), !(o && !l) && (l ? l.call(e, m) : t = m, p = !a && _e(m), n.notify()));
|
|
440
440
|
}
|
|
441
441
|
});
|
|
442
442
|
}
|
|
@@ -613,8 +613,8 @@ function Je(e, s, t) {
|
|
|
613
613
|
for (r in s)
|
|
614
614
|
F(e, r) || o(r);
|
|
615
615
|
function o(l) {
|
|
616
|
-
var
|
|
617
|
-
n[l] =
|
|
616
|
+
var p = X[l] || cn;
|
|
617
|
+
n[l] = p(e[l], s[l], t, l);
|
|
618
618
|
}
|
|
619
619
|
return n;
|
|
620
620
|
}
|
|
@@ -648,8 +648,8 @@ function $s(e, s, t, i) {
|
|
|
648
648
|
}
|
|
649
649
|
if (r === void 0) {
|
|
650
650
|
r = qr(i, a, e);
|
|
651
|
-
var
|
|
652
|
-
Ie(!0), _e(r), Ie(
|
|
651
|
+
var p = Hs;
|
|
652
|
+
Ie(!0), _e(r), Ie(p);
|
|
653
653
|
}
|
|
654
654
|
return process.env.NODE_ENV !== "production" && jr(a, e, r, i, n), r;
|
|
655
655
|
}
|
|
@@ -675,12 +675,12 @@ function jr(e, s, t, i, a) {
|
|
|
675
675
|
if (n) {
|
|
676
676
|
Array.isArray(n) || (n = [n]);
|
|
677
677
|
for (var l = 0; l < n.length && !r; l++) {
|
|
678
|
-
var
|
|
679
|
-
o.push(
|
|
678
|
+
var p = Yr(t, n[l], i);
|
|
679
|
+
o.push(p.expectedType || ""), r = p.valid;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
-
var h = o.some(function(
|
|
683
|
-
return
|
|
682
|
+
var h = o.some(function(A) {
|
|
683
|
+
return A;
|
|
684
684
|
});
|
|
685
685
|
if (!r && h) {
|
|
686
686
|
g(
|
|
@@ -939,14 +939,14 @@ function Bs(e, s) {
|
|
|
939
939
|
return t.fns = e, t;
|
|
940
940
|
}
|
|
941
941
|
function un(e, s, t, i, a, n) {
|
|
942
|
-
var r, o, l,
|
|
942
|
+
var r, o, l, p;
|
|
943
943
|
for (r in e)
|
|
944
|
-
o = e[r], l = s[r],
|
|
945
|
-
'Invalid handler for event "' +
|
|
944
|
+
o = e[r], l = s[r], p = Li(r), C(o) ? process.env.NODE_ENV !== "production" && g(
|
|
945
|
+
'Invalid handler for event "' + p.name + '": got ' + String(o),
|
|
946
946
|
n
|
|
947
|
-
) : C(l) ? (C(o.fns) && (o = e[r] = Bs(o, n)), M(
|
|
947
|
+
) : C(l) ? (C(o.fns) && (o = e[r] = Bs(o, n)), M(p.once) && (o = e[r] = a(p.name, o, p.capture)), t(p.name, o, p.capture, p.passive, p.params)) : o !== l && (l.fns = o, e[r] = l);
|
|
948
948
|
for (r in s)
|
|
949
|
-
C(e[r]) && (
|
|
949
|
+
C(e[r]) && (p = Li(r), i(p.name, s[r], p.capture));
|
|
950
950
|
}
|
|
951
951
|
function ye(e, s, t) {
|
|
952
952
|
e instanceof q && (e = e.data.hook || (e.data.hook = {}));
|
|
@@ -964,9 +964,9 @@ function ao(e, s, t) {
|
|
|
964
964
|
for (var o in i) {
|
|
965
965
|
var l = je(o);
|
|
966
966
|
if (process.env.NODE_ENV !== "production") {
|
|
967
|
-
var
|
|
968
|
-
o !==
|
|
969
|
-
'Prop "' +
|
|
967
|
+
var p = o.toLowerCase();
|
|
968
|
+
o !== p && n && F(n, p) && Ys(
|
|
969
|
+
'Prop "' + p + '" is passed to component ' + De(t || s) + ', but the declared prop name is "' + o + '". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "' + l + '" instead of "' + o + '".'
|
|
970
970
|
);
|
|
971
971
|
}
|
|
972
972
|
Fi(a, r, o, l, !0) || Fi(a, n, o, l, !1);
|
|
@@ -1050,8 +1050,8 @@ function si(e, s) {
|
|
|
1050
1050
|
} else
|
|
1051
1051
|
(t.default || (t.default = [])).push(n);
|
|
1052
1052
|
}
|
|
1053
|
-
for (var
|
|
1054
|
-
t[
|
|
1053
|
+
for (var p in t)
|
|
1054
|
+
t[p].every(lo) && delete t[p];
|
|
1055
1055
|
return t;
|
|
1056
1056
|
}
|
|
1057
1057
|
function lo(e) {
|
|
@@ -1142,13 +1142,13 @@ function go(e, s, t, i, a) {
|
|
|
1142
1142
|
if (l === "class" || l === "style" || Ha(l))
|
|
1143
1143
|
n = e;
|
|
1144
1144
|
else {
|
|
1145
|
-
var
|
|
1146
|
-
n = i || S.mustUseProp(s,
|
|
1145
|
+
var p = e.attrs && e.attrs.type;
|
|
1146
|
+
n = i || S.mustUseProp(s, p, l) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {});
|
|
1147
1147
|
}
|
|
1148
1148
|
var h = Ge(l), m = je(l);
|
|
1149
1149
|
if (!(h in n) && !(m in n) && (n[l] = t[l], a)) {
|
|
1150
|
-
var
|
|
1151
|
-
|
|
1150
|
+
var A = e.on || (e.on = {});
|
|
1151
|
+
A["update:" + l] = function(I) {
|
|
1152
1152
|
t[l] = I;
|
|
1153
1153
|
};
|
|
1154
1154
|
}
|
|
@@ -1222,7 +1222,7 @@ function gn(e) {
|
|
|
1222
1222
|
function ii(e, s, t, i, a) {
|
|
1223
1223
|
var n = this, r = a.options, o;
|
|
1224
1224
|
F(i, "_uid") ? (o = Object.create(i), o._original = i) : (o = i, i = i._original);
|
|
1225
|
-
var l = M(r._compiled),
|
|
1225
|
+
var l = M(r._compiled), p = !l;
|
|
1226
1226
|
this.data = e, this.props = s, this.children = t, this.parent = i, this.listeners = e.on || Z, this.injections = hn(r.inject, i), this.slots = function() {
|
|
1227
1227
|
return n.$slots || Ft(
|
|
1228
1228
|
e.scopedSlots,
|
|
@@ -1233,11 +1233,11 @@ function ii(e, s, t, i, a) {
|
|
|
1233
1233
|
get: function() {
|
|
1234
1234
|
return Ft(e.scopedSlots, this.slots());
|
|
1235
1235
|
}
|
|
1236
|
-
}), l && (this.$options = r, this.$slots = this.slots(), this.$scopedSlots = Ft(e.scopedSlots, this.$slots)), r._scopeId ? this._c = function(h, m,
|
|
1237
|
-
var x = Ht(o, h, m,
|
|
1236
|
+
}), l && (this.$options = r, this.$slots = this.slots(), this.$scopedSlots = Ft(e.scopedSlots, this.$slots)), r._scopeId ? this._c = function(h, m, A, I) {
|
|
1237
|
+
var x = Ht(o, h, m, A, I, p);
|
|
1238
1238
|
return x && !Array.isArray(x) && (x.fnScopeId = r._scopeId, x.fnContext = i), x;
|
|
1239
|
-
} : this._c = function(h, m,
|
|
1240
|
-
return Ht(o, h, m,
|
|
1239
|
+
} : this._c = function(h, m, A, I) {
|
|
1240
|
+
return Ht(o, h, m, A, I, p);
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
1243
|
gn(ii.prototype);
|
|
@@ -1248,19 +1248,19 @@ function bo(e, s, t, i, a) {
|
|
|
1248
1248
|
r[l] = $s(l, o, s || Z);
|
|
1249
1249
|
else
|
|
1250
1250
|
d(t.attrs) && Ri(r, t.attrs), d(t.props) && Ri(r, t.props);
|
|
1251
|
-
var
|
|
1251
|
+
var p = new ii(
|
|
1252
1252
|
t,
|
|
1253
1253
|
r,
|
|
1254
1254
|
a,
|
|
1255
1255
|
i,
|
|
1256
1256
|
e
|
|
1257
|
-
), h = n.render.call(null,
|
|
1257
|
+
), h = n.render.call(null, p._c, p);
|
|
1258
1258
|
if (h instanceof q)
|
|
1259
|
-
return Gi(h, t,
|
|
1259
|
+
return Gi(h, t, p.parent, n, p);
|
|
1260
1260
|
if (Array.isArray(h)) {
|
|
1261
|
-
for (var m = ti(h) || [],
|
|
1262
|
-
|
|
1263
|
-
return
|
|
1261
|
+
for (var m = ti(h) || [], A = new Array(m.length), I = 0; I < m.length; I++)
|
|
1262
|
+
A[I] = Gi(m[I], t, p.parent, n, p);
|
|
1263
|
+
return A;
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
function Gi(e, s, t, i, a) {
|
|
@@ -1325,8 +1325,8 @@ function Ji(e, s, t, i, a) {
|
|
|
1325
1325
|
return bo(e, o, s, t, i);
|
|
1326
1326
|
var l = s.on;
|
|
1327
1327
|
if (s.on = s.nativeOn, M(e.options.abstract)) {
|
|
1328
|
-
var
|
|
1329
|
-
s = {},
|
|
1328
|
+
var p = s.slot;
|
|
1329
|
+
s = {}, p && (s.slot = p);
|
|
1330
1330
|
}
|
|
1331
1331
|
ko(s);
|
|
1332
1332
|
var h = e.options.name || a, m = new q(
|
|
@@ -1488,21 +1488,21 @@ function Mo(e, s) {
|
|
|
1488
1488
|
return fe(i, t);
|
|
1489
1489
|
});
|
|
1490
1490
|
var o = function(m) {
|
|
1491
|
-
for (var
|
|
1492
|
-
i[
|
|
1491
|
+
for (var A = 0, I = i.length; A < I; A++)
|
|
1492
|
+
i[A].$forceUpdate();
|
|
1493
1493
|
m && (i.length = 0, n !== null && (clearTimeout(n), n = null), r !== null && (clearTimeout(r), r = null));
|
|
1494
1494
|
}, l = Rt(function(m) {
|
|
1495
1495
|
e.resolved = ps(m, s), a ? i.length = 0 : o(!0);
|
|
1496
|
-
}),
|
|
1496
|
+
}), p = Rt(function(m) {
|
|
1497
1497
|
process.env.NODE_ENV !== "production" && g(
|
|
1498
1498
|
"Failed to resolve async component: " + String(e) + (m ? `
|
|
1499
1499
|
Reason: ` + m : "")
|
|
1500
1500
|
), d(e.errorComp) && (e.error = !0, o(!0));
|
|
1501
|
-
}), h = e(l,
|
|
1502
|
-
return U(h) && (ys(h) ? C(e.resolved) && h.then(l,
|
|
1501
|
+
}), h = e(l, p);
|
|
1502
|
+
return U(h) && (ys(h) ? C(e.resolved) && h.then(l, p) : ys(h.component) && (h.component.then(l, p), d(h.error) && (e.errorComp = ps(h.error, s)), d(h.loading) && (e.loadingComp = ps(h.loading, s), h.delay === 0 ? e.loading = !0 : n = setTimeout(function() {
|
|
1503
1503
|
n = null, C(e.resolved) && C(e.error) && (e.loading = !0, o(!1));
|
|
1504
1504
|
}, h.delay || 200)), d(h.timeout) && (r = setTimeout(function() {
|
|
1505
|
-
r = null, C(e.resolved) &&
|
|
1505
|
+
r = null, C(e.resolved) && p(
|
|
1506
1506
|
process.env.NODE_ENV !== "production" ? "timeout (" + h.timeout + "ms)" : null
|
|
1507
1507
|
);
|
|
1508
1508
|
}, h.timeout)))), a = !1, e.loading ? e.loadingComp : e.resolved;
|
|
@@ -1568,9 +1568,9 @@ function Uo(e) {
|
|
|
1568
1568
|
return a;
|
|
1569
1569
|
if (!i)
|
|
1570
1570
|
return a._events[t] = null, a;
|
|
1571
|
-
for (var l,
|
|
1572
|
-
if (l = o[
|
|
1573
|
-
o.splice(
|
|
1571
|
+
for (var l, p = o.length; p--; )
|
|
1572
|
+
if (l = o[p], l === i || l.fn === i) {
|
|
1573
|
+
o.splice(p, 1);
|
|
1574
1574
|
break;
|
|
1575
1575
|
}
|
|
1576
1576
|
return a;
|
|
@@ -1585,7 +1585,7 @@ function Uo(e) {
|
|
|
1585
1585
|
var n = i._events[t];
|
|
1586
1586
|
if (n) {
|
|
1587
1587
|
n = n.length > 1 ? Cs(n) : n;
|
|
1588
|
-
for (var r = Cs(arguments, 1), o = 'event handler for "' + t + '"', l = 0,
|
|
1588
|
+
for (var r = Cs(arguments, 1), o = 'event handler for "' + t + '"', l = 0, p = n.length; l < p; l++)
|
|
1589
1589
|
it(n[l], i, r, i, o);
|
|
1590
1590
|
}
|
|
1591
1591
|
return i;
|
|
@@ -1653,9 +1653,9 @@ function _o(e, s, t, i, a) {
|
|
|
1653
1653
|
var n = i.data.scopedSlots, r = e.$scopedSlots, o = !!(n && !n.$stable || r !== Z && !r.$stable || n && e.$scopedSlots.$key !== n.$key || !n && e.$scopedSlots.$key), l = !!(a || e.$options._renderChildren || o);
|
|
1654
1654
|
if (e.$options._parentVnode = i, e.$vnode = i, e._vnode && (e._vnode.parent = i), e.$options._renderChildren = a, e.$attrs = i.data.attrs || Z, e.$listeners = t || Z, s && e.$options.props) {
|
|
1655
1655
|
Ie(!1);
|
|
1656
|
-
for (var
|
|
1657
|
-
var
|
|
1658
|
-
|
|
1656
|
+
for (var p = e._props, h = e.$options._propKeys || [], m = 0; m < h.length; m++) {
|
|
1657
|
+
var A = h[m], I = e.$options.props;
|
|
1658
|
+
p[A] = $s(A, I, s, e);
|
|
1659
1659
|
}
|
|
1660
1660
|
Ie(!0), e.$options.propsData = s;
|
|
1661
1661
|
}
|
|
@@ -1844,20 +1844,20 @@ function Zo(e, s) {
|
|
|
1844
1844
|
n || Ie(!1);
|
|
1845
1845
|
var r = function(l) {
|
|
1846
1846
|
a.push(l);
|
|
1847
|
-
var
|
|
1847
|
+
var p = $s(l, s, t, e);
|
|
1848
1848
|
if (process.env.NODE_ENV !== "production") {
|
|
1849
1849
|
var h = je(l);
|
|
1850
1850
|
(Ha(h) || S.isReservedAttr(h)) && g(
|
|
1851
1851
|
'"' + h + '" is a reserved attribute and cannot be used as component prop.',
|
|
1852
1852
|
e
|
|
1853
|
-
), te(i, l,
|
|
1853
|
+
), te(i, l, p, function() {
|
|
1854
1854
|
!n && !vt && g(
|
|
1855
1855
|
`Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "` + l + '"',
|
|
1856
1856
|
e
|
|
1857
1857
|
);
|
|
1858
1858
|
});
|
|
1859
1859
|
} else
|
|
1860
|
-
te(i, l,
|
|
1860
|
+
te(i, l, p);
|
|
1861
1861
|
l in e || li(e, "_props", l);
|
|
1862
1862
|
};
|
|
1863
1863
|
for (var o in s)
|
|
@@ -2055,8 +2055,8 @@ function ul(e) {
|
|
|
2055
2055
|
return n[a];
|
|
2056
2056
|
var r = t.name || i.options.name;
|
|
2057
2057
|
process.env.NODE_ENV !== "production" && r && zs(r);
|
|
2058
|
-
var o = function(
|
|
2059
|
-
this._init(
|
|
2058
|
+
var o = function(p) {
|
|
2059
|
+
this._init(p);
|
|
2060
2060
|
};
|
|
2061
2061
|
return o.prototype = Object.create(i.prototype), o.prototype.constructor = o, o.cid = s++, o.options = Je(
|
|
2062
2062
|
i.options,
|
|
@@ -2152,8 +2152,8 @@ var Wi = [String, RegExp, Array], ml = {
|
|
|
2152
2152
|
var a = Yi(i), n = this, r = n.include, o = n.exclude;
|
|
2153
2153
|
if (r && (!a || !Ot(r, a)) || o && a && Ot(o, a))
|
|
2154
2154
|
return t;
|
|
2155
|
-
var l = this,
|
|
2156
|
-
|
|
2155
|
+
var l = this, p = l.cache, h = l.keys, m = t.key == null ? i.Ctor.cid + (i.tag ? "::" + i.tag : "") : t.key;
|
|
2156
|
+
p[m] ? (t.componentInstance = p[m].componentInstance, fe(h, m), h.push(m)) : (this.vnodeToCache = t, this.keyToCache = m), t.data.keepAlive = !0;
|
|
2157
2157
|
}
|
|
2158
2158
|
return t || s && s[0];
|
|
2159
2159
|
}
|
|
@@ -2365,191 +2365,191 @@ function Wl(e) {
|
|
|
2365
2365
|
for (s = 0; s < pt.length; ++s)
|
|
2366
2366
|
for (i[pt[s]] = [], t = 0; t < a.length; ++t)
|
|
2367
2367
|
d(a[t][pt[s]]) && i[pt[s]].push(a[t][pt[s]]);
|
|
2368
|
-
function r(
|
|
2369
|
-
return new q(n.tagName(
|
|
2368
|
+
function r(u) {
|
|
2369
|
+
return new q(n.tagName(u).toLowerCase(), {}, [], void 0, u);
|
|
2370
2370
|
}
|
|
2371
|
-
function o(
|
|
2371
|
+
function o(u, c) {
|
|
2372
2372
|
function f() {
|
|
2373
|
-
--f.listeners === 0 && l(
|
|
2373
|
+
--f.listeners === 0 && l(u);
|
|
2374
2374
|
}
|
|
2375
2375
|
return f.listeners = c, f;
|
|
2376
2376
|
}
|
|
2377
|
-
function l(
|
|
2378
|
-
var c = n.parentNode(
|
|
2379
|
-
d(c) && n.removeChild(c,
|
|
2377
|
+
function l(u) {
|
|
2378
|
+
var c = n.parentNode(u);
|
|
2379
|
+
d(c) && n.removeChild(c, u);
|
|
2380
2380
|
}
|
|
2381
|
-
function u
|
|
2382
|
-
return !c && !
|
|
2383
|
-
return Ka(f) ? f.test(
|
|
2384
|
-
})) && S.isUnknownElement(
|
|
2381
|
+
function p(u, c) {
|
|
2382
|
+
return !c && !u.ns && !(S.ignoredElements.length && S.ignoredElements.some(function(f) {
|
|
2383
|
+
return Ka(f) ? f.test(u.tag) : f === u.tag;
|
|
2384
|
+
})) && S.isUnknownElement(u.tag);
|
|
2385
2385
|
}
|
|
2386
2386
|
var h = 0;
|
|
2387
|
-
function m(
|
|
2388
|
-
if (d(
|
|
2389
|
-
var b =
|
|
2390
|
-
d(N) ? (process.env.NODE_ENV !== "production" && (b && b.pre && h++, u
|
|
2387
|
+
function m(u, c, f, v, y, w, k) {
|
|
2388
|
+
if (d(u.elm) && d(w) && (u = w[k] = bs(u)), u.isRootInsert = !y, !A(u, c, f, v)) {
|
|
2389
|
+
var b = u.data, B = u.children, N = u.tag;
|
|
2390
|
+
d(N) ? (process.env.NODE_ENV !== "production" && (b && b.pre && h++, p(u, h) && g(
|
|
2391
2391
|
"Unknown custom element: <" + N + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',
|
|
2392
|
-
|
|
2393
|
-
)),
|
|
2392
|
+
u.context
|
|
2393
|
+
)), u.elm = u.ns ? n.createElementNS(u.ns, N) : n.createElement(N, u), Ne(u), ae(u, B, c), d(b) && K(u, c), T(f, u.elm, v), process.env.NODE_ENV !== "production" && b && b.pre && h--) : M(u.isComment) ? (u.elm = n.createComment(u.text), T(f, u.elm, v)) : (u.elm = n.createTextNode(u.text), T(f, u.elm, v));
|
|
2394
2394
|
}
|
|
2395
2395
|
}
|
|
2396
|
-
function
|
|
2397
|
-
var y =
|
|
2396
|
+
function A(u, c, f, v) {
|
|
2397
|
+
var y = u.data;
|
|
2398
2398
|
if (d(y)) {
|
|
2399
|
-
var w = d(
|
|
2400
|
-
if (d(y = y.hook) && d(y = y.init) && y(
|
|
2401
|
-
return I(
|
|
2399
|
+
var w = d(u.componentInstance) && y.keepAlive;
|
|
2400
|
+
if (d(y = y.hook) && d(y = y.init) && y(u, !1), d(u.componentInstance))
|
|
2401
|
+
return I(u, c), T(f, u.elm, v), M(w) && x(u, c, f, v), !0;
|
|
2402
2402
|
}
|
|
2403
2403
|
}
|
|
2404
|
-
function I(
|
|
2405
|
-
d(
|
|
2404
|
+
function I(u, c) {
|
|
2405
|
+
d(u.data.pendingInsert) && (c.push.apply(c, u.data.pendingInsert), u.data.pendingInsert = null), u.elm = u.componentInstance.$el, V(u) ? (K(u, c), Ne(u)) : ($e(u), c.push(u));
|
|
2406
2406
|
}
|
|
2407
|
-
function x(
|
|
2408
|
-
for (var y, w =
|
|
2407
|
+
function x(u, c, f, v) {
|
|
2408
|
+
for (var y, w = u; w.componentInstance; )
|
|
2409
2409
|
if (w = w.componentInstance._vnode, d(y = w.data) && d(y = y.transition)) {
|
|
2410
2410
|
for (y = 0; y < i.activate.length; ++y)
|
|
2411
2411
|
i.activate[y](Me, w);
|
|
2412
2412
|
c.push(w);
|
|
2413
2413
|
break;
|
|
2414
2414
|
}
|
|
2415
|
-
T(f,
|
|
2415
|
+
T(f, u.elm, v);
|
|
2416
2416
|
}
|
|
2417
|
-
function T(
|
|
2418
|
-
d(
|
|
2417
|
+
function T(u, c, f) {
|
|
2418
|
+
d(u) && (d(f) ? n.parentNode(f) === u && n.insertBefore(u, c, f) : n.appendChild(u, c));
|
|
2419
2419
|
}
|
|
2420
|
-
function ae(
|
|
2420
|
+
function ae(u, c, f) {
|
|
2421
2421
|
if (Array.isArray(c)) {
|
|
2422
2422
|
process.env.NODE_ENV !== "production" && Ye(c);
|
|
2423
|
-
for (var
|
|
2424
|
-
m(c[
|
|
2423
|
+
for (var v = 0; v < c.length; ++v)
|
|
2424
|
+
m(c[v], f, u.elm, null, !0, c, v);
|
|
2425
2425
|
} else
|
|
2426
|
-
we(
|
|
2426
|
+
we(u.text) && n.appendChild(u.elm, n.createTextNode(String(u.text)));
|
|
2427
2427
|
}
|
|
2428
|
-
function V(
|
|
2429
|
-
for (;
|
|
2430
|
-
|
|
2431
|
-
return d(
|
|
2428
|
+
function V(u) {
|
|
2429
|
+
for (; u.componentInstance; )
|
|
2430
|
+
u = u.componentInstance._vnode;
|
|
2431
|
+
return d(u.tag);
|
|
2432
2432
|
}
|
|
2433
|
-
function K(
|
|
2433
|
+
function K(u, c) {
|
|
2434
2434
|
for (var f = 0; f < i.create.length; ++f)
|
|
2435
|
-
i.create[f](Me,
|
|
2436
|
-
s =
|
|
2435
|
+
i.create[f](Me, u);
|
|
2436
|
+
s = u.data.hook, d(s) && (d(s.create) && s.create(Me, u), d(s.insert) && c.push(u));
|
|
2437
2437
|
}
|
|
2438
|
-
function Ne(
|
|
2438
|
+
function Ne(u) {
|
|
2439
2439
|
var c;
|
|
2440
|
-
if (d(c =
|
|
2441
|
-
n.setStyleScope(
|
|
2440
|
+
if (d(c = u.fnScopeId))
|
|
2441
|
+
n.setStyleScope(u.elm, c);
|
|
2442
2442
|
else
|
|
2443
|
-
for (var f =
|
|
2444
|
-
d(c = f.context) && d(c = c.$options._scopeId) && n.setStyleScope(
|
|
2445
|
-
d(c = Fe) && c !==
|
|
2446
|
-
}
|
|
2447
|
-
function Ke(
|
|
2448
|
-
for (;
|
|
2449
|
-
m(f[
|
|
2450
|
-
}
|
|
2451
|
-
function Ee(
|
|
2452
|
-
var c, f,
|
|
2453
|
-
if (d(
|
|
2454
|
-
for (d(c =
|
|
2455
|
-
i.destroy[c](
|
|
2456
|
-
if (d(c =
|
|
2457
|
-
for (f = 0; f <
|
|
2458
|
-
Ee(
|
|
2459
|
-
}
|
|
2460
|
-
function ce(
|
|
2443
|
+
for (var f = u; f; )
|
|
2444
|
+
d(c = f.context) && d(c = c.$options._scopeId) && n.setStyleScope(u.elm, c), f = f.parent;
|
|
2445
|
+
d(c = Fe) && c !== u.context && c !== u.fnContext && d(c = c.$options._scopeId) && n.setStyleScope(u.elm, c);
|
|
2446
|
+
}
|
|
2447
|
+
function Ke(u, c, f, v, y, w) {
|
|
2448
|
+
for (; v <= y; ++v)
|
|
2449
|
+
m(f[v], w, u, c, !1, f, v);
|
|
2450
|
+
}
|
|
2451
|
+
function Ee(u) {
|
|
2452
|
+
var c, f, v = u.data;
|
|
2453
|
+
if (d(v))
|
|
2454
|
+
for (d(c = v.hook) && d(c = c.destroy) && c(u), c = 0; c < i.destroy.length; ++c)
|
|
2455
|
+
i.destroy[c](u);
|
|
2456
|
+
if (d(c = u.children))
|
|
2457
|
+
for (f = 0; f < u.children.length; ++f)
|
|
2458
|
+
Ee(u.children[f]);
|
|
2459
|
+
}
|
|
2460
|
+
function ce(u, c, f) {
|
|
2461
2461
|
for (; c <= f; ++c) {
|
|
2462
|
-
var
|
|
2463
|
-
d(
|
|
2462
|
+
var v = u[c];
|
|
2463
|
+
d(v) && (d(v.tag) ? (ee(v), Ee(v)) : l(v.elm));
|
|
2464
2464
|
}
|
|
2465
2465
|
}
|
|
2466
|
-
function ee(
|
|
2467
|
-
if (d(c) || d(
|
|
2468
|
-
var f,
|
|
2469
|
-
for (d(c) ? c.listeners +=
|
|
2470
|
-
i.remove[f](
|
|
2471
|
-
d(f =
|
|
2466
|
+
function ee(u, c) {
|
|
2467
|
+
if (d(c) || d(u.data)) {
|
|
2468
|
+
var f, v = i.remove.length + 1;
|
|
2469
|
+
for (d(c) ? c.listeners += v : c = o(u.elm, v), d(f = u.componentInstance) && d(f = f._vnode) && d(f.data) && ee(f, c), f = 0; f < i.remove.length; ++f)
|
|
2470
|
+
i.remove[f](u, c);
|
|
2471
|
+
d(f = u.data.hook) && d(f = f.remove) ? f(u, c) : c();
|
|
2472
2472
|
} else
|
|
2473
|
-
l(
|
|
2473
|
+
l(u.elm);
|
|
2474
2474
|
}
|
|
2475
|
-
function lt(
|
|
2475
|
+
function lt(u, c, f, v, y) {
|
|
2476
2476
|
var w = 0, k = 0, b = c.length - 1, B = c[0], N = c[b], E = f.length - 1, Q = f[0], z = f[E], Be, Ae, ve, Ci, os = !y;
|
|
2477
2477
|
for (process.env.NODE_ENV !== "production" && Ye(f); w <= b && k <= E; )
|
|
2478
|
-
C(B) ? B = c[++w] : C(N) ? N = c[--b] : Se(B, Q) ? (pe(B, Q,
|
|
2479
|
-
w > b ? (Ci = C(f[E + 1]) ? null : f[E + 1].elm, Ke(
|
|
2478
|
+
C(B) ? B = c[++w] : C(N) ? N = c[--b] : Se(B, Q) ? (pe(B, Q, v, f, k), B = c[++w], Q = f[++k]) : Se(N, z) ? (pe(N, z, v, f, E), N = c[--b], z = f[--E]) : Se(B, z) ? (pe(B, z, v, f, E), os && n.insertBefore(u, B.elm, n.nextSibling(N.elm)), B = c[++w], z = f[--E]) : Se(N, Q) ? (pe(N, Q, v, f, k), os && n.insertBefore(u, N.elm, B.elm), N = c[--b], Q = f[++k]) : (C(Be) && (Be = Hl(c, w, b)), Ae = d(Q.key) ? Be[Q.key] : wt(Q, c, w, b), C(Ae) ? m(Q, v, u, B.elm, !1, f, k) : (ve = c[Ae], Se(ve, Q) ? (pe(ve, Q, v, f, k), c[Ae] = void 0, os && n.insertBefore(u, ve.elm, B.elm)) : m(Q, v, u, B.elm, !1, f, k)), Q = f[++k]);
|
|
2479
|
+
w > b ? (Ci = C(f[E + 1]) ? null : f[E + 1].elm, Ke(u, Ci, f, k, E, v)) : k > E && ce(c, w, b);
|
|
2480
2480
|
}
|
|
2481
|
-
function Ye(
|
|
2482
|
-
for (var c = {}, f = 0; f <
|
|
2483
|
-
var
|
|
2481
|
+
function Ye(u) {
|
|
2482
|
+
for (var c = {}, f = 0; f < u.length; f++) {
|
|
2483
|
+
var v = u[f], y = v.key;
|
|
2484
2484
|
d(y) && (c[y] ? g(
|
|
2485
2485
|
"Duplicate keys detected: '" + y + "'. This may cause an update error.",
|
|
2486
|
-
|
|
2486
|
+
v.context
|
|
2487
2487
|
) : c[y] = !0);
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
|
-
function wt(
|
|
2491
|
-
for (var y = f; y <
|
|
2490
|
+
function wt(u, c, f, v) {
|
|
2491
|
+
for (var y = f; y < v; y++) {
|
|
2492
2492
|
var w = c[y];
|
|
2493
|
-
if (d(w) && Se(
|
|
2493
|
+
if (d(w) && Se(u, w))
|
|
2494
2494
|
return y;
|
|
2495
2495
|
}
|
|
2496
2496
|
}
|
|
2497
|
-
function pe(
|
|
2498
|
-
if (
|
|
2499
|
-
d(c.elm) && d(
|
|
2500
|
-
var k = c.elm =
|
|
2501
|
-
if (M(
|
|
2502
|
-
d(c.asyncFactory.resolved) ? ge(
|
|
2497
|
+
function pe(u, c, f, v, y, w) {
|
|
2498
|
+
if (u !== c) {
|
|
2499
|
+
d(c.elm) && d(v) && (c = v[y] = bs(c));
|
|
2500
|
+
var k = c.elm = u.elm;
|
|
2501
|
+
if (M(u.isAsyncPlaceholder)) {
|
|
2502
|
+
d(c.asyncFactory.resolved) ? ge(u.elm, c, f) : c.isAsyncPlaceholder = !0;
|
|
2503
2503
|
return;
|
|
2504
2504
|
}
|
|
2505
|
-
if (M(c.isStatic) && M(
|
|
2506
|
-
c.componentInstance =
|
|
2505
|
+
if (M(c.isStatic) && M(u.isStatic) && c.key === u.key && (M(c.isCloned) || M(c.isOnce))) {
|
|
2506
|
+
c.componentInstance = u.componentInstance;
|
|
2507
2507
|
return;
|
|
2508
2508
|
}
|
|
2509
2509
|
var b, B = c.data;
|
|
2510
|
-
d(B) && d(b = B.hook) && d(b = b.prepatch) && b(
|
|
2511
|
-
var N =
|
|
2510
|
+
d(B) && d(b = B.hook) && d(b = b.prepatch) && b(u, c);
|
|
2511
|
+
var N = u.children, E = c.children;
|
|
2512
2512
|
if (d(B) && V(c)) {
|
|
2513
2513
|
for (b = 0; b < i.update.length; ++b)
|
|
2514
|
-
i.update[b](
|
|
2515
|
-
d(b = B.hook) && d(b = b.update) && b(
|
|
2514
|
+
i.update[b](u, c);
|
|
2515
|
+
d(b = B.hook) && d(b = b.update) && b(u, c);
|
|
2516
2516
|
}
|
|
2517
|
-
C(c.text) ? d(N) && d(E) ? N !== E && lt(k, N, E, f, w) : d(E) ? (process.env.NODE_ENV !== "production" && Ye(E), d(
|
|
2517
|
+
C(c.text) ? d(N) && d(E) ? N !== E && lt(k, N, E, f, w) : d(E) ? (process.env.NODE_ENV !== "production" && Ye(E), d(u.text) && n.setTextContent(k, ""), Ke(k, null, E, 0, E.length - 1, f)) : d(N) ? ce(N, 0, N.length - 1) : d(u.text) && n.setTextContent(k, "") : u.text !== c.text && n.setTextContent(k, c.text), d(B) && d(b = B.hook) && d(b = b.postpatch) && b(u, c);
|
|
2518
2518
|
}
|
|
2519
2519
|
}
|
|
2520
|
-
function me(
|
|
2521
|
-
if (M(f) && d(
|
|
2522
|
-
|
|
2520
|
+
function me(u, c, f) {
|
|
2521
|
+
if (M(f) && d(u.parent))
|
|
2522
|
+
u.parent.data.pendingInsert = c;
|
|
2523
2523
|
else
|
|
2524
|
-
for (var
|
|
2525
|
-
c[
|
|
2524
|
+
for (var v = 0; v < c.length; ++v)
|
|
2525
|
+
c[v].data.hook.insert(c[v]);
|
|
2526
2526
|
}
|
|
2527
2527
|
var xe = !1, Nt = W("attrs,class,staticClass,staticStyle,key");
|
|
2528
|
-
function ge(
|
|
2528
|
+
function ge(u, c, f, v) {
|
|
2529
2529
|
var y, w = c.tag, k = c.data, b = c.children;
|
|
2530
|
-
if (
|
|
2530
|
+
if (v = v || k && k.pre, c.elm = u, M(c.isComment) && d(c.asyncFactory))
|
|
2531
2531
|
return c.isAsyncPlaceholder = !0, !0;
|
|
2532
|
-
if (process.env.NODE_ENV !== "production" && !He(
|
|
2532
|
+
if (process.env.NODE_ENV !== "production" && !He(u, c, v))
|
|
2533
2533
|
return !1;
|
|
2534
2534
|
if (d(k) && (d(y = k.hook) && d(y = y.init) && y(c, !0), d(y = c.componentInstance)))
|
|
2535
2535
|
return I(c, f), !0;
|
|
2536
2536
|
if (d(w)) {
|
|
2537
2537
|
if (d(b))
|
|
2538
|
-
if (!
|
|
2538
|
+
if (!u.hasChildNodes())
|
|
2539
2539
|
ae(c, b, f);
|
|
2540
2540
|
else if (d(y = k) && d(y = y.domProps) && d(y = y.innerHTML)) {
|
|
2541
|
-
if (y !==
|
|
2542
|
-
return process.env.NODE_ENV !== "production" && typeof console < "u" && !xe && (xe = !0, console.warn("Parent: ",
|
|
2541
|
+
if (y !== u.innerHTML)
|
|
2542
|
+
return process.env.NODE_ENV !== "production" && typeof console < "u" && !xe && (xe = !0, console.warn("Parent: ", u), console.warn("server innerHTML: ", y), console.warn("client innerHTML: ", u.innerHTML)), !1;
|
|
2543
2543
|
} else {
|
|
2544
|
-
for (var B = !0, N =
|
|
2545
|
-
if (!N || !ge(N, b[E], f,
|
|
2544
|
+
for (var B = !0, N = u.firstChild, E = 0; E < b.length; E++) {
|
|
2545
|
+
if (!N || !ge(N, b[E], f, v)) {
|
|
2546
2546
|
B = !1;
|
|
2547
2547
|
break;
|
|
2548
2548
|
}
|
|
2549
2549
|
N = N.nextSibling;
|
|
2550
2550
|
}
|
|
2551
2551
|
if (!B || N)
|
|
2552
|
-
return process.env.NODE_ENV !== "production" && typeof console < "u" && !xe && (xe = !0, console.warn("Parent: ",
|
|
2552
|
+
return process.env.NODE_ENV !== "production" && typeof console < "u" && !xe && (xe = !0, console.warn("Parent: ", u), console.warn("Mismatching childNodes vs. VNodes: ", u.childNodes, b)), !1;
|
|
2553
2553
|
}
|
|
2554
2554
|
if (d(k)) {
|
|
2555
2555
|
var Q = !1;
|
|
@@ -2561,13 +2561,13 @@ function Wl(e) {
|
|
|
2561
2561
|
!Q && k.class && Kt(k.class);
|
|
2562
2562
|
}
|
|
2563
2563
|
} else
|
|
2564
|
-
|
|
2564
|
+
u.data !== c.text && (u.data = c.text);
|
|
2565
2565
|
return !0;
|
|
2566
2566
|
}
|
|
2567
|
-
function He(
|
|
2568
|
-
return d(c.tag) ? c.tag.indexOf("vue-component") === 0 || !
|
|
2567
|
+
function He(u, c, f) {
|
|
2568
|
+
return d(c.tag) ? c.tag.indexOf("vue-component") === 0 || !p(c, f) && c.tag.toLowerCase() === (u.tagName && u.tagName.toLowerCase()) : u.nodeType === (c.isComment ? 8 : 3);
|
|
2569
2569
|
}
|
|
2570
|
-
return function(c, f,
|
|
2570
|
+
return function(c, f, v, y) {
|
|
2571
2571
|
if (C(f)) {
|
|
2572
2572
|
d(c) && Ee(c);
|
|
2573
2573
|
return;
|
|
@@ -2581,7 +2581,7 @@ function Wl(e) {
|
|
|
2581
2581
|
pe(c, f, k, null, null, y);
|
|
2582
2582
|
else {
|
|
2583
2583
|
if (b) {
|
|
2584
|
-
if (c.nodeType === 1 && c.hasAttribute(bi) && (c.removeAttribute(bi),
|
|
2584
|
+
if (c.nodeType === 1 && c.hasAttribute(bi) && (c.removeAttribute(bi), v = !0), M(v)) {
|
|
2585
2585
|
if (ge(c, f, k))
|
|
2586
2586
|
return me(f, k, !0), c;
|
|
2587
2587
|
process.env.NODE_ENV !== "production" && g(
|
|
@@ -2628,19 +2628,19 @@ function ds(e, s) {
|
|
|
2628
2628
|
(e.data.directives || s.data.directives) && Zl(e, s);
|
|
2629
2629
|
}
|
|
2630
2630
|
function Zl(e, s) {
|
|
2631
|
-
var t = e === Me, i = s === Me, a = Zi(e.data.directives, e.context), n = Zi(s.data.directives, s.context), r = [], o = [], l,
|
|
2631
|
+
var t = e === Me, i = s === Me, a = Zi(e.data.directives, e.context), n = Zi(s.data.directives, s.context), r = [], o = [], l, p, h;
|
|
2632
2632
|
for (l in n)
|
|
2633
|
-
|
|
2633
|
+
p = a[l], h = n[l], p ? (h.oldValue = p.value, h.oldArg = p.arg, ut(h, "update", s, e), h.def && h.def.componentUpdated && o.push(h)) : (ut(h, "bind", s, e), h.def && h.def.inserted && r.push(h));
|
|
2634
2634
|
if (r.length) {
|
|
2635
2635
|
var m = function() {
|
|
2636
|
-
for (var
|
|
2637
|
-
ut(r[
|
|
2636
|
+
for (var A = 0; A < r.length; A++)
|
|
2637
|
+
ut(r[A], "inserted", s, e);
|
|
2638
2638
|
};
|
|
2639
2639
|
t ? ye(s, "insert", m) : m();
|
|
2640
2640
|
}
|
|
2641
2641
|
if (o.length && ye(s, "postpatch", function() {
|
|
2642
|
-
for (var
|
|
2643
|
-
ut(o[
|
|
2642
|
+
for (var A = 0; A < o.length; A++)
|
|
2643
|
+
ut(o[A], "componentUpdated", s, e);
|
|
2644
2644
|
}), !t)
|
|
2645
2645
|
for (l in a)
|
|
2646
2646
|
n[l] || ut(a[l], "unbind", e, e, i);
|
|
@@ -2866,13 +2866,13 @@ var fc = /^--/, aa = /\s*!important$/, na = function(e, s, t) {
|
|
|
2866
2866
|
function oa(e, s) {
|
|
2867
2867
|
var t = s.data, i = e.data;
|
|
2868
2868
|
if (!(C(t.staticStyle) && C(t.style) && C(i.staticStyle) && C(i.style))) {
|
|
2869
|
-
var a, n, r = s.elm, o = i.staticStyle, l = i.normalizedStyle || i.style || {},
|
|
2869
|
+
var a, n, r = s.elm, o = i.staticStyle, l = i.normalizedStyle || i.style || {}, p = o || l, h = Sn(s.data.style) || {};
|
|
2870
2870
|
s.data.normalizedStyle = d(h.__ob__) ? O({}, h) : h;
|
|
2871
2871
|
var m = hc(s, !0);
|
|
2872
|
-
for (n in
|
|
2872
|
+
for (n in p)
|
|
2873
2873
|
C(m[n]) && na(r, n, "");
|
|
2874
2874
|
for (n in m)
|
|
2875
|
-
a = m[n], a !==
|
|
2875
|
+
a = m[n], a !== p[n] && na(r, n, a == null ? "" : a);
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
2878
2878
|
var gc = {
|
|
@@ -2941,25 +2941,25 @@ function Un(e, s, t) {
|
|
|
2941
2941
|
var i = Vn(e, s), a = i.type, n = i.timeout, r = i.propCount;
|
|
2942
2942
|
if (!a)
|
|
2943
2943
|
return t();
|
|
2944
|
-
var o = a === We ? zt : Ln, l = 0,
|
|
2944
|
+
var o = a === We ? zt : Ln, l = 0, p = function() {
|
|
2945
2945
|
e.removeEventListener(o, h), t();
|
|
2946
2946
|
}, h = function(m) {
|
|
2947
|
-
m.target === e && ++l >= r &&
|
|
2947
|
+
m.target === e && ++l >= r && p();
|
|
2948
2948
|
};
|
|
2949
2949
|
setTimeout(function() {
|
|
2950
|
-
l < r &&
|
|
2950
|
+
l < r && p();
|
|
2951
2951
|
}, n + 1), e.addEventListener(o, h);
|
|
2952
2952
|
}
|
|
2953
2953
|
var Ac = /\b(transform|all)(,|$)/;
|
|
2954
2954
|
function Vn(e, s) {
|
|
2955
|
-
var t = window.getComputedStyle(e), i = (t[Vt + "Delay"] || "").split(", "), a = (t[Vt + "Duration"] || "").split(", "), n = pa(i, a), r = (t[Fs + "Delay"] || "").split(", "), o = (t[Fs + "Duration"] || "").split(", "), l = pa(r, o),
|
|
2956
|
-
s === We ? n > 0 && (
|
|
2957
|
-
var
|
|
2955
|
+
var t = window.getComputedStyle(e), i = (t[Vt + "Delay"] || "").split(", "), a = (t[Vt + "Duration"] || "").split(", "), n = pa(i, a), r = (t[Fs + "Delay"] || "").split(", "), o = (t[Fs + "Duration"] || "").split(", "), l = pa(r, o), p, h = 0, m = 0;
|
|
2956
|
+
s === We ? n > 0 && (p = We, h = n, m = a.length) : s === gs ? l > 0 && (p = gs, h = l, m = o.length) : (h = Math.max(n, l), p = h > 0 ? n > l ? We : gs : null, m = p ? p === We ? a.length : o.length : 0);
|
|
2957
|
+
var A = p === We && Ac.test(t[Vt + "Property"]);
|
|
2958
2958
|
return {
|
|
2959
|
-
type:
|
|
2959
|
+
type: p,
|
|
2960
2960
|
timeout: h,
|
|
2961
2961
|
propCount: m,
|
|
2962
|
-
hasTransform:
|
|
2962
|
+
hasTransform: A
|
|
2963
2963
|
};
|
|
2964
2964
|
}
|
|
2965
2965
|
function pa(e, s) {
|
|
@@ -2977,23 +2977,23 @@ function Us(e, s) {
|
|
|
2977
2977
|
d(t._leaveCb) && (t._leaveCb.cancelled = !0, t._leaveCb());
|
|
2978
2978
|
var i = Pn(e.data.transition);
|
|
2979
2979
|
if (!C(i) && !(d(t._enterCb) || t.nodeType !== 1)) {
|
|
2980
|
-
for (var a = i.css, n = i.type, r = i.enterClass, o = i.enterToClass, l = i.enterActiveClass,
|
|
2980
|
+
for (var a = i.css, n = i.type, r = i.enterClass, o = i.enterToClass, l = i.enterActiveClass, p = i.appearClass, h = i.appearToClass, m = i.appearActiveClass, A = i.beforeEnter, I = i.enter, x = i.afterEnter, T = i.enterCancelled, ae = i.beforeAppear, V = i.appear, K = i.afterAppear, Ne = i.appearCancelled, Ke = i.duration, Ee = Fe, ce = Fe.$vnode; ce && ce.parent; )
|
|
2981
2981
|
Ee = ce.context, ce = ce.parent;
|
|
2982
2982
|
var ee = !Ee._isMounted || !e.isRootInsert;
|
|
2983
2983
|
if (!(ee && !V && V !== "")) {
|
|
2984
|
-
var lt = ee &&
|
|
2984
|
+
var lt = ee && p ? p : r, Ye = ee && m ? m : l, wt = ee && h ? h : o, pe = ee && ae || A, me = ee && typeof V == "function" ? V : I, xe = ee && K || x, Nt = ee && Ne || T, ge = ft(
|
|
2985
2985
|
U(Ke) ? Ke.enter : Ke
|
|
2986
2986
|
);
|
|
2987
2987
|
process.env.NODE_ENV !== "production" && ge != null && Rn(ge, "enter", e);
|
|
2988
|
-
var He = a !== !1 && !ot,
|
|
2988
|
+
var He = a !== !1 && !ot, u = fi(me), c = t._enterCb = Rt(function() {
|
|
2989
2989
|
He && (he(t, wt), he(t, Ye)), c.cancelled ? (He && he(t, lt), Nt && Nt(t)) : xe && xe(t), t._enterCb = null;
|
|
2990
2990
|
});
|
|
2991
2991
|
e.data.show || ye(e, "insert", function() {
|
|
2992
|
-
var f = t.parentNode,
|
|
2993
|
-
|
|
2992
|
+
var f = t.parentNode, v = f && f._pending && f._pending[e.key];
|
|
2993
|
+
v && v.tag === e.tag && v.elm._leaveCb && v.elm._leaveCb(), me && me(t, c);
|
|
2994
2994
|
}), pe && pe(t), He && (Ue(t, lt), Ue(t, Ye), Fn(function() {
|
|
2995
|
-
he(t, lt), c.cancelled || (Ue(t, wt),
|
|
2996
|
-
})), e.data.show && (s && s(), me && me(t, c)), !He && !
|
|
2995
|
+
he(t, lt), c.cancelled || (Ue(t, wt), u || (_n(ge) ? setTimeout(c, ge) : Un(t, n, c)));
|
|
2996
|
+
})), e.data.show && (s && s(), me && me(t, c)), !He && !u && c();
|
|
2997
2997
|
}
|
|
2998
2998
|
}
|
|
2999
2999
|
}
|
|
@@ -3005,16 +3005,16 @@ function Gn(e, s) {
|
|
|
3005
3005
|
return s();
|
|
3006
3006
|
if (d(t._leaveCb))
|
|
3007
3007
|
return;
|
|
3008
|
-
var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, l = i.leaveActiveClass,
|
|
3008
|
+
var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, l = i.leaveActiveClass, p = i.beforeLeave, h = i.leave, m = i.afterLeave, A = i.leaveCancelled, I = i.delayLeave, x = i.duration, T = a !== !1 && !ot, ae = fi(h), V = ft(
|
|
3009
3009
|
U(x) ? x.leave : x
|
|
3010
3010
|
);
|
|
3011
3011
|
process.env.NODE_ENV !== "production" && d(V) && Rn(V, "leave", e);
|
|
3012
3012
|
var K = t._leaveCb = Rt(function() {
|
|
3013
|
-
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), T && (he(t, o), he(t, l)), K.cancelled ? (T && he(t, r),
|
|
3013
|
+
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), T && (he(t, o), he(t, l)), K.cancelled ? (T && he(t, r), A && A(t)) : (s(), m && m(t)), t._leaveCb = null;
|
|
3014
3014
|
});
|
|
3015
3015
|
I ? I(Ne) : Ne();
|
|
3016
3016
|
function Ne() {
|
|
3017
|
-
K.cancelled || (!e.data.show && t.parentNode && ((t.parentNode._pending || (t.parentNode._pending = {}))[e.key] = e),
|
|
3017
|
+
K.cancelled || (!e.data.show && t.parentNode && ((t.parentNode._pending || (t.parentNode._pending = {}))[e.key] = e), p && p(t), T && (Ue(t, r), Ue(t, l), Fn(function() {
|
|
3018
3018
|
he(t, r), K.cancelled || (Ue(t, o), ae || (_n(V) ? setTimeout(K, V) : Un(t, n, K)));
|
|
3019
3019
|
})), h && h(t, K), !T && !ae && K());
|
|
3020
3020
|
}
|
|
@@ -3226,7 +3226,7 @@ var Ec = function(e) {
|
|
|
3226
3226
|
return Aa(s, n);
|
|
3227
3227
|
var o = "__transition-" + this._uid + "-";
|
|
3228
3228
|
r.key = r.key == null ? r.isComment ? o + "comment" : o + r.tag : we(r.key) ? String(r.key).indexOf(o) === 0 ? r.key : o + r.key : r.key;
|
|
3229
|
-
var l = (r.data || (r.data = {})).transition = jn(this),
|
|
3229
|
+
var l = (r.data || (r.data = {})).transition = jn(this), p = this._vnode, h = Gs(p);
|
|
3230
3230
|
if (r.data.directives && r.data.directives.some(xc) && (r.data.show = !0), h && h.data && !Nc(r, h) && !gt(h) && !(h.componentInstance && h.componentInstance._vnode.isComment)) {
|
|
3231
3231
|
var m = h.data.transition = O({}, l);
|
|
3232
3232
|
if (a === "out-in")
|
|
@@ -3235,12 +3235,12 @@ var Ec = function(e) {
|
|
|
3235
3235
|
}), Aa(s, n);
|
|
3236
3236
|
if (a === "in-out") {
|
|
3237
3237
|
if (gt(r))
|
|
3238
|
-
return
|
|
3239
|
-
var
|
|
3240
|
-
|
|
3238
|
+
return p;
|
|
3239
|
+
var A, I = function() {
|
|
3240
|
+
A();
|
|
3241
3241
|
};
|
|
3242
3242
|
ye(l, "afterEnter", I), ye(l, "enterCancelled", I), ye(m, "delayLeave", function(x) {
|
|
3243
|
-
|
|
3243
|
+
A = x;
|
|
3244
3244
|
});
|
|
3245
3245
|
}
|
|
3246
3246
|
}
|
|
@@ -3268,22 +3268,22 @@ var Sc = {
|
|
|
3268
3268
|
},
|
|
3269
3269
|
render: function(s) {
|
|
3270
3270
|
for (var t = this.tag || this.$vnode.data.tag || "span", i = /* @__PURE__ */ Object.create(null), a = this.prevChildren = this.children, n = this.$slots.default || [], r = this.children = [], o = jn(this), l = 0; l < n.length; l++) {
|
|
3271
|
-
var
|
|
3272
|
-
if (
|
|
3273
|
-
if (
|
|
3274
|
-
r.push(
|
|
3271
|
+
var p = n[l];
|
|
3272
|
+
if (p.tag) {
|
|
3273
|
+
if (p.key != null && String(p.key).indexOf("__vlist") !== 0)
|
|
3274
|
+
r.push(p), i[p.key] = p, (p.data || (p.data = {})).transition = o;
|
|
3275
3275
|
else if (process.env.NODE_ENV !== "production") {
|
|
3276
|
-
var h =
|
|
3276
|
+
var h = p.componentOptions, m = h ? h.Ctor.options.name || h.tag || "" : p.tag;
|
|
3277
3277
|
g("<transition-group> children must be keyed: <" + m + ">");
|
|
3278
3278
|
}
|
|
3279
3279
|
}
|
|
3280
3280
|
}
|
|
3281
3281
|
if (a) {
|
|
3282
|
-
for (var
|
|
3282
|
+
for (var A = [], I = [], x = 0; x < a.length; x++) {
|
|
3283
3283
|
var T = a[x];
|
|
3284
|
-
T.data.transition = o, T.data.pos = T.elm.getBoundingClientRect(), i[T.key] ?
|
|
3284
|
+
T.data.transition = o, T.data.pos = T.elm.getBoundingClientRect(), i[T.key] ? A.push(T) : I.push(T);
|
|
3285
3285
|
}
|
|
3286
|
-
this.kept = s(t, null,
|
|
3286
|
+
this.kept = s(t, null, A), this.removed = I;
|
|
3287
3287
|
}
|
|
3288
3288
|
return s(t, null, r);
|
|
3289
3289
|
},
|
|
@@ -3879,15 +3879,15 @@ function ka(e, s) {
|
|
|
3879
3879
|
});
|
|
3880
3880
|
};
|
|
3881
3881
|
try {
|
|
3882
|
-
for (var l = Yn(Object.keys(r)),
|
|
3883
|
-
var h =
|
|
3882
|
+
for (var l = Yn(Object.keys(r)), p = l.next(); !p.done; p = l.next()) {
|
|
3883
|
+
var h = p.value;
|
|
3884
3884
|
o(h);
|
|
3885
3885
|
}
|
|
3886
3886
|
} catch (m) {
|
|
3887
3887
|
t = { error: m };
|
|
3888
3888
|
} finally {
|
|
3889
3889
|
try {
|
|
3890
|
-
|
|
3890
|
+
p && !p.done && (i = l.return) && i.call(l);
|
|
3891
3891
|
} finally {
|
|
3892
3892
|
if (t)
|
|
3893
3893
|
throw t.error;
|
|
@@ -3938,12 +3938,12 @@ function op(e) {
|
|
|
3938
3938
|
}
|
|
3939
3939
|
});
|
|
3940
3940
|
function s() {
|
|
3941
|
-
var r = this, o = r.$options, l = o.setup,
|
|
3942
|
-
if (
|
|
3943
|
-
for (var m = this,
|
|
3944
|
-
|
|
3941
|
+
var r = this, o = r.$options, l = o.setup, p = o.render;
|
|
3942
|
+
if (p && (o.render = function() {
|
|
3943
|
+
for (var m = this, A = [], I = 0; I < arguments.length; I++)
|
|
3944
|
+
A[I] = arguments[I];
|
|
3945
3945
|
return vs(Xt(r), function() {
|
|
3946
|
-
return
|
|
3946
|
+
return p.apply(m, A);
|
|
3947
3947
|
});
|
|
3948
3948
|
}), !!l) {
|
|
3949
3949
|
if (!Pe(l)) {
|
|
@@ -3958,17 +3958,17 @@ function op(e) {
|
|
|
3958
3958
|
}
|
|
3959
3959
|
function t(r, o) {
|
|
3960
3960
|
o === void 0 && (o = {});
|
|
3961
|
-
var l = r.$options.setup,
|
|
3962
|
-
h.setupContext =
|
|
3961
|
+
var l = r.$options.setup, p = n(r), h = Xt(r);
|
|
3962
|
+
h.setupContext = p, Zn(o, "__ob__", sp()), wa(r, p.slots);
|
|
3963
3963
|
var m;
|
|
3964
3964
|
if (vs(h, function() {
|
|
3965
|
-
m = l(o,
|
|
3965
|
+
m = l(o, p);
|
|
3966
3966
|
}), !!m) {
|
|
3967
3967
|
if (Pe(m)) {
|
|
3968
|
-
var
|
|
3968
|
+
var A = m;
|
|
3969
3969
|
r.$options.render = function() {
|
|
3970
|
-
return wa(r,
|
|
3971
|
-
return
|
|
3970
|
+
return wa(r, p.slots), vs(h, function() {
|
|
3971
|
+
return A();
|
|
3972
3972
|
});
|
|
3973
3973
|
};
|
|
3974
3974
|
return;
|
|
@@ -3996,10 +3996,10 @@ function op(e) {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
function i(r, o) {
|
|
3998
3998
|
if (o === void 0 && (o = /* @__PURE__ */ new Set()), !o.has(r) && !(!Te(r) || _(r) || tt(r) || nt(r))) {
|
|
3999
|
-
var l = ns(),
|
|
3999
|
+
var l = ns(), p = l.util.defineReactive;
|
|
4000
4000
|
Object.keys(r).forEach(function(h) {
|
|
4001
4001
|
var m = r[h];
|
|
4002
|
-
|
|
4002
|
+
p(r, h, m), m && (o.add(m), i(m, o));
|
|
4003
4003
|
});
|
|
4004
4004
|
}
|
|
4005
4005
|
}
|
|
@@ -4016,7 +4016,7 @@ function op(e) {
|
|
|
4016
4016
|
"listeners",
|
|
4017
4017
|
"isServer",
|
|
4018
4018
|
"ssrContext"
|
|
4019
|
-
],
|
|
4019
|
+
], p = ["emit"];
|
|
4020
4020
|
return l.forEach(function(h) {
|
|
4021
4021
|
var m = "$".concat(h);
|
|
4022
4022
|
R(o, h, {
|
|
@@ -4027,15 +4027,15 @@ function op(e) {
|
|
|
4027
4027
|
process.env.NODE_ENV !== "production" && H("Cannot assign to '".concat(h, "' because it is a read-only property"), r);
|
|
4028
4028
|
}
|
|
4029
4029
|
});
|
|
4030
|
-
}), ka(r, o),
|
|
4030
|
+
}), ka(r, o), p.forEach(function(h) {
|
|
4031
4031
|
var m = "$".concat(h);
|
|
4032
4032
|
R(o, h, {
|
|
4033
4033
|
get: function() {
|
|
4034
4034
|
return function() {
|
|
4035
|
-
for (var
|
|
4036
|
-
|
|
4035
|
+
for (var A = [], I = 0; I < arguments.length; I++)
|
|
4036
|
+
A[I] = arguments[I];
|
|
4037
4037
|
var x = r[m];
|
|
4038
|
-
x.apply(r,
|
|
4038
|
+
x.apply(r, A);
|
|
4039
4039
|
};
|
|
4040
4040
|
}
|
|
4041
4041
|
});
|
|
@@ -4218,24 +4218,24 @@ var up = function() {
|
|
|
4218
4218
|
function P(e, s, t, i, a, n, r, o) {
|
|
4219
4219
|
var l = typeof e == "function" ? e.options : e;
|
|
4220
4220
|
s && (l.render = s, l.staticRenderFns = t, l._compiled = !0), i && (l.functional = !0), n && (l._scopeId = "data-v-" + n);
|
|
4221
|
-
var
|
|
4222
|
-
if (r ? (
|
|
4223
|
-
|
|
4224
|
-
}, l._ssrRegister =
|
|
4221
|
+
var p;
|
|
4222
|
+
if (r ? (p = function(A) {
|
|
4223
|
+
A = A || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !A && typeof __VUE_SSR_CONTEXT__ < "u" && (A = __VUE_SSR_CONTEXT__), a && a.call(this, A), A && A._registeredComponents && A._registeredComponents.add(r);
|
|
4224
|
+
}, l._ssrRegister = p) : a && (p = o ? function() {
|
|
4225
4225
|
a.call(
|
|
4226
4226
|
this,
|
|
4227
4227
|
(l.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4228
4228
|
);
|
|
4229
|
-
} : a),
|
|
4229
|
+
} : a), p)
|
|
4230
4230
|
if (l.functional) {
|
|
4231
|
-
l._injectStyles =
|
|
4231
|
+
l._injectStyles = p;
|
|
4232
4232
|
var h = l.render;
|
|
4233
4233
|
l.render = function(I, x) {
|
|
4234
|
-
return
|
|
4234
|
+
return p.call(x), h(I, x);
|
|
4235
4235
|
};
|
|
4236
4236
|
} else {
|
|
4237
4237
|
var m = l.beforeCreate;
|
|
4238
|
-
l.beforeCreate = m ? [].concat(m,
|
|
4238
|
+
l.beforeCreate = m ? [].concat(m, p) : [p];
|
|
4239
4239
|
}
|
|
4240
4240
|
return {
|
|
4241
4241
|
exports: e,
|
|
@@ -5640,16 +5640,16 @@ const mr = /* @__PURE__ */ function() {
|
|
|
5640
5640
|
taskPostIds: [i]
|
|
5641
5641
|
}).then((a) => {
|
|
5642
5642
|
let n = [], r = [], o = !1;
|
|
5643
|
-
a.data.map((
|
|
5644
|
-
|
|
5643
|
+
a.data.map((p) => {
|
|
5644
|
+
p.posts.map((h) => {
|
|
5645
5645
|
r.push(...h.users), h.users.length == 1 ? n.push(...h.users) : o = !0;
|
|
5646
5646
|
});
|
|
5647
5647
|
}), n.length > t.loopCardinality && t.loopCardinality > 0 && (o = !0), o && (n = []);
|
|
5648
5648
|
let l = [];
|
|
5649
|
-
a.data[0].posts.map((
|
|
5649
|
+
a.data[0].posts.map((p) => {
|
|
5650
5650
|
l.push({
|
|
5651
|
-
...
|
|
5652
|
-
uid:
|
|
5651
|
+
...p,
|
|
5652
|
+
uid: p.users.map((h) => h.uid)
|
|
5653
5653
|
});
|
|
5654
5654
|
}), console.log("user========", n), r.length == 0 && this.$set(t, "noPersonnel", !0), n.length > 0 && (this.personObjId = t.id, this.humanPerformerName = t.humanPerformerName, this.$set(t, "noPersonnel", !0), this.handleCallback(n)), t.positionArray = l;
|
|
5655
5655
|
});
|
|
@@ -5682,15 +5682,15 @@ const mr = /* @__PURE__ */ function() {
|
|
|
5682
5682
|
}).then((i) => {
|
|
5683
5683
|
let a = [], n = [], r = !1;
|
|
5684
5684
|
i.data.map((l) => {
|
|
5685
|
-
l.posts.map((
|
|
5686
|
-
n.push(...
|
|
5685
|
+
l.posts.map((p) => {
|
|
5686
|
+
n.push(...p.users), p.users.length == 1 ? a.push(...p.users) : r = !0;
|
|
5687
5687
|
});
|
|
5688
5688
|
}), a.length > s.loopCardinality && s.loopCardinality > 0 && (r = !0), r && (a = []), console.log("users1111======", s, a);
|
|
5689
5689
|
let o = [];
|
|
5690
5690
|
i.data[0].posts.map((l) => {
|
|
5691
5691
|
o.push({
|
|
5692
5692
|
...l,
|
|
5693
|
-
uid: l.users.map((
|
|
5693
|
+
uid: l.users.map((p) => p.uid)
|
|
5694
5694
|
});
|
|
5695
5695
|
}), n.length == 0 && this.$set(s, "noPersonnel", !0), a.length > 0 && (this.personObjId = s.id, this.humanPerformerName = s.humanPerformerName, this.$set(s, "noPersonnel", !0), this.handleCallback(a)), s.positionArray = o;
|
|
5696
5696
|
});
|
|
@@ -6254,12 +6254,12 @@ const iu = /* @__PURE__ */ function() {
|
|
|
6254
6254
|
if (this.filesArr.length > 0) {
|
|
6255
6255
|
for (let l = 0; l < this.filesArr.length; l++)
|
|
6256
6256
|
if (o.name == this.filesArr[l].name && i++, this.filesArr[l].name.includes(`(${i})`) && i++, i > 0) {
|
|
6257
|
-
let
|
|
6257
|
+
let p = o.name.lastIndexOf(
|
|
6258
6258
|
"."
|
|
6259
6259
|
);
|
|
6260
6260
|
o.name = `${o.name.substring(
|
|
6261
6261
|
0,
|
|
6262
|
-
|
|
6262
|
+
p
|
|
6263
6263
|
)} (${i}) .${o.name.substring(
|
|
6264
6264
|
o.name.lastIndexOf(
|
|
6265
6265
|
"."
|
|
@@ -7571,16 +7571,16 @@ const Ou = {
|
|
|
7571
7571
|
taskPostIds: [i]
|
|
7572
7572
|
}).then((a) => {
|
|
7573
7573
|
let n = [], r = [], o = !1;
|
|
7574
|
-
a.data.map((
|
|
7575
|
-
|
|
7574
|
+
a.data.map((p) => {
|
|
7575
|
+
p.posts.map((h) => {
|
|
7576
7576
|
r.push(...h.users), h.users.length == 1 ? n.push(...h.users) : o = !0;
|
|
7577
7577
|
});
|
|
7578
7578
|
}), n.length > t.loopCardinality && t.loopCardinality > 0 && (o = !0), o && (n = []), console.log("user======", n), console.log("v======", t);
|
|
7579
7579
|
let l = [];
|
|
7580
|
-
a.data[0].posts.map((
|
|
7580
|
+
a.data[0].posts.map((p) => {
|
|
7581
7581
|
l.push({
|
|
7582
|
-
...
|
|
7583
|
-
uid:
|
|
7582
|
+
...p,
|
|
7583
|
+
uid: p.users.map((h) => h.uid)
|
|
7584
7584
|
});
|
|
7585
7585
|
}), r.length == 0 && this.$set(t, "noPersonnel", !0), n.length > 0 && (this.$set(t, "noPersonnel", !0), this.partObjId = t.id, this.handleCallback(n)), t.positionArray = l;
|
|
7586
7586
|
});
|
|
@@ -8072,7 +8072,7 @@ const Ju = {
|
|
|
8072
8072
|
this.currentPath.length > 0 && this.paths.push(this.currentPath), this.isDrawing = !1;
|
|
8073
8073
|
},
|
|
8074
8074
|
clearCanvas() {
|
|
8075
|
-
this.$refs.canvasRef.getContext ? (this.ctx.clearRect(0, 0, this.$refs.canvasRef.width, this.$refs.canvasRef.height), this.signatureImage = "", this.paths = []) : (this.ctx.clearRect(0, 0, this.$refs.canvasRef.$el.offsetWidth, this.$refs.canvasRef.$el.offsetHeight), this.ctx.draw(!0), this.signatureImage = "", this.paths = []), this.$emit("saveSignature", "", !1);
|
|
8075
|
+
this.$refs.canvasRef.getContext ? (this.ctx.clearRect(0, 0, this.$refs.canvasRef.width, this.$refs.canvasRef.height), this.ctx.fillStyle = "#fff", this.ctx.fillRect(0, 0, this.$refs.canvasRef.width, this.$refs.canvasRef.height), this.signatureImage = "", this.paths = []) : (this.ctx.clearRect(0, 0, this.$refs.canvasRef.$el.offsetWidth, this.$refs.canvasRef.$el.offsetHeight), this.ctx.draw(!0), this.signatureImage = "", this.paths = []), this.$emit("saveSignature", "", !1);
|
|
8076
8076
|
},
|
|
8077
8077
|
saveSignature() {
|
|
8078
8078
|
if (this.paths.length == 0) {
|
|
@@ -8082,11 +8082,17 @@ const Ju = {
|
|
|
8082
8082
|
let e = this;
|
|
8083
8083
|
if (this.$refs.canvasRef.getContext) {
|
|
8084
8084
|
let t = 1, i = null;
|
|
8085
|
-
i = this.$refs.canvasRef.toDataURL("image/
|
|
8086
|
-
debugger;
|
|
8085
|
+
i = this.$refs.canvasRef.toDataURL("image/jpeg", t);
|
|
8087
8086
|
let a = window.atob(i.split(",")[1]).length;
|
|
8088
|
-
for (console.log("\u521D\u59CB\u957F\u5EA6", a); t >= 0
|
|
8087
|
+
for (console.log("\u521D\u59CB\u957F\u5EA6", a); t >= 0; ) {
|
|
8088
|
+
const r = atob(base64String.split(",")[1]), o = new Array(r.length);
|
|
8089
|
+
for (let A = 0; A < r.length; A++)
|
|
8090
|
+
o[A] = r.charCodeAt(A);
|
|
8091
|
+
const l = new Uint8Array(o), h = new Blob([l]).size, m = h / 1024;
|
|
8092
|
+
if (console.log("Blob Size (KB):", m), h <= 65536)
|
|
8093
|
+
break;
|
|
8089
8094
|
t -= 0.01;
|
|
8095
|
+
}
|
|
8090
8096
|
console.log(t, "\u538B\u7F29\u8D28\u91CF"), console.log(window.atob(i.split(",")[1]).length, "\u538B\u7F29\u540E\u5927\u5C0F"), this.signatureImage = i;
|
|
8091
8097
|
let n = JSON.parse(localStorage.getItem("signaturesArr")) || [];
|
|
8092
8098
|
n.unshift(this.signatureImage), this.$set(this, "historyPics", n.slice(0, 3)), localStorage.setItem("signaturesArr", JSON.stringify(this.historyPics));
|
|
@@ -8126,7 +8132,7 @@ const Ju = {
|
|
|
8126
8132
|
if (t) {
|
|
8127
8133
|
let i = document.getElementById("canvas-id");
|
|
8128
8134
|
const a = t.offsetWidth, n = t.offsetHeight - this.actionHeight - this.historyHeight;
|
|
8129
|
-
i.style.width = `${a}px`, i.style.height = `${n}px`, i.width = a * window.devicePixelRatio, i.height = n * window.devicePixelRatio, this.ctx = this.$refs.canvasRef.getContext("2d"), this.ctx.scale(window.devicePixelRatio, window.devicePixelRatio);
|
|
8135
|
+
i.style.width = `${a}px`, i.style.height = `${n}px`, i.width = a * window.devicePixelRatio, i.height = n * window.devicePixelRatio, this.ctx = this.$refs.canvasRef.getContext("2d"), this.ctx.scale(window.devicePixelRatio, window.devicePixelRatio), this.ctx.fillStyle = "#fff", this.ctx.fillRect(0, 0, i.width, i.height);
|
|
8130
8136
|
}
|
|
8131
8137
|
console.log("first"), console.log(window.devicePixelRatio);
|
|
8132
8138
|
} else {
|
|
@@ -8146,7 +8152,7 @@ var qu = /* @__PURE__ */ P(
|
|
|
8146
8152
|
_u,
|
|
8147
8153
|
!1,
|
|
8148
8154
|
ju,
|
|
8149
|
-
"
|
|
8155
|
+
"cd035e92",
|
|
8150
8156
|
null,
|
|
8151
8157
|
null
|
|
8152
8158
|
);
|