@vtj/ui 0.18.28 → 0.19.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/dist/index.mjs +26 -26
- package/dist/index.umd.js +4 -11
- package/package.json +4 -4
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ import { VXETable as an, VxeTableFilterModule as _l, VxeTableEditModule as Cl, V
|
|
|
9
9
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
10
10
|
* @name @vtj/ui
|
|
11
11
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
12
|
-
* @version 0.
|
|
12
|
+
* @version 0.19.0
|
|
13
13
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
14
14
|
*/
|
|
15
|
-
const v2 = "0.
|
|
15
|
+
const v2 = "0.19.0", Pl = {
|
|
16
16
|
default: 14,
|
|
17
17
|
small: 12,
|
|
18
18
|
large: 18
|
|
@@ -3579,14 +3579,14 @@ function Se(o) {
|
|
|
3579
3579
|
newDraggableIndex: it
|
|
3580
3580
|
}, o));
|
|
3581
3581
|
}
|
|
3582
|
-
var B, fe, J, ue, ft, hn, ce, lt, Et, Me, Qt, it, cn, be, xt = !1, En = !1, kn = [], ut, $e, On, Nn, Er, kr, qt, Ct, Zt, en = !1, dn = !1, vn, we, jn = [], Eo = !1, Tn = [], Pn = typeof document < "u", fn = Yo, Tr = on || rt ? "cssFloat" : "float", tu = Pn && !Ra && !Yo && "draggable" in document.createElement("div"), Xa = function() {
|
|
3582
|
+
var B, fe, J, ue, ft, hn, ce, lt, Et, Me, Qt, it, cn, be, xt = !1, En = !1, kn = [], ut, $e, On, Nn, Er, kr, qt, Ct, Zt, en = !1, dn = !1, vn, we, jn = [], Eo = !1, Tn = [], Pn = typeof document < "u", fn = Yo, Tr = on || rt ? "cssFloat" : "float", tu = Pn && !Ra && !Yo && "draggable" in document.createElement("div"), Xa = (function() {
|
|
3583
3583
|
if (Pn) {
|
|
3584
3584
|
if (rt)
|
|
3585
3585
|
return !1;
|
|
3586
3586
|
var o = document.createElement("x");
|
|
3587
3587
|
return o.style.cssText = "pointer-events:auto", o.style.pointerEvents === "auto";
|
|
3588
3588
|
}
|
|
3589
|
-
}(), qa = function(e, n) {
|
|
3589
|
+
})(), qa = function(e, n) {
|
|
3590
3590
|
var t = G(e), r = parseInt(t.width) - parseInt(t.paddingLeft) - parseInt(t.paddingRight) - parseInt(t.borderLeftWidth) - parseInt(t.borderRightWidth), a = At(e, 0, n), i = At(e, 1, n), l = a && G(a), s = i && G(i), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + ge(a).width, d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + ge(i).width;
|
|
3591
3591
|
if (t.display === "flex")
|
|
3592
3592
|
return t.flexDirection === "column" || t.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
@@ -7894,7 +7894,7 @@ function ht() {
|
|
|
7894
7894
|
}
|
|
7895
7895
|
var Gn = {}, Br;
|
|
7896
7896
|
function nr() {
|
|
7897
|
-
return Br || (Br = 1, function(o) {
|
|
7897
|
+
return Br || (Br = 1, (function(o) {
|
|
7898
7898
|
o.L = { bit: 1 }, o.M = { bit: 0 }, o.Q = { bit: 3 }, o.H = { bit: 2 };
|
|
7899
7899
|
function e(n) {
|
|
7900
7900
|
if (typeof n != "string")
|
|
@@ -7927,7 +7927,7 @@ function nr() {
|
|
|
7927
7927
|
return r;
|
|
7928
7928
|
}
|
|
7929
7929
|
};
|
|
7930
|
-
}(Gn)), Gn;
|
|
7930
|
+
})(Gn)), Gn;
|
|
7931
7931
|
}
|
|
7932
7932
|
var Kn, Vr;
|
|
7933
7933
|
function sc() {
|
|
@@ -7976,7 +7976,7 @@ function uc() {
|
|
|
7976
7976
|
}
|
|
7977
7977
|
var Jn = {}, Fr;
|
|
7978
7978
|
function cc() {
|
|
7979
|
-
return Fr || (Fr = 1, function(o) {
|
|
7979
|
+
return Fr || (Fr = 1, (function(o) {
|
|
7980
7980
|
const e = ht().getSymbolSize;
|
|
7981
7981
|
o.getRowColCoords = function(t) {
|
|
7982
7982
|
if (t === 1) return [];
|
|
@@ -7993,7 +7993,7 @@ function cc() {
|
|
|
7993
7993
|
l === i - 1 && s === 0 || r.push([a[l], a[s]]);
|
|
7994
7994
|
return r;
|
|
7995
7995
|
};
|
|
7996
|
-
}(Jn)), Jn;
|
|
7996
|
+
})(Jn)), Jn;
|
|
7997
7997
|
}
|
|
7998
7998
|
var Qn = {}, Or;
|
|
7999
7999
|
function dc() {
|
|
@@ -8014,7 +8014,7 @@ function dc() {
|
|
|
8014
8014
|
}
|
|
8015
8015
|
var Zn = {}, Nr;
|
|
8016
8016
|
function fc() {
|
|
8017
|
-
return Nr || (Nr = 1, function(o) {
|
|
8017
|
+
return Nr || (Nr = 1, (function(o) {
|
|
8018
8018
|
o.Patterns = {
|
|
8019
8019
|
PATTERN000: 0,
|
|
8020
8020
|
PATTERN001: 1,
|
|
@@ -8108,7 +8108,7 @@ function fc() {
|
|
|
8108
8108
|
}
|
|
8109
8109
|
return l;
|
|
8110
8110
|
};
|
|
8111
|
-
}(Zn)), Zn;
|
|
8111
|
+
})(Zn)), Zn;
|
|
8112
8112
|
}
|
|
8113
8113
|
var mn = {}, jr;
|
|
8114
8114
|
function ri() {
|
|
@@ -8472,13 +8472,13 @@ function pc() {
|
|
|
8472
8472
|
if (Lr) return Ht;
|
|
8473
8473
|
Lr = 1;
|
|
8474
8474
|
const o = new Uint8Array(512), e = new Uint8Array(256);
|
|
8475
|
-
return function() {
|
|
8475
|
+
return (function() {
|
|
8476
8476
|
let t = 1;
|
|
8477
8477
|
for (let r = 0; r < 255; r++)
|
|
8478
8478
|
o[r] = t, e[t] = r, t <<= 1, t & 256 && (t ^= 285);
|
|
8479
8479
|
for (let r = 255; r < 512; r++)
|
|
8480
8480
|
o[r] = o[r - 255];
|
|
8481
|
-
}(), Ht.log = function(t) {
|
|
8481
|
+
})(), Ht.log = function(t) {
|
|
8482
8482
|
if (t < 1) throw new Error("log(" + t + ")");
|
|
8483
8483
|
return e[t];
|
|
8484
8484
|
}, Ht.exp = function(t) {
|
|
@@ -8489,7 +8489,7 @@ function pc() {
|
|
|
8489
8489
|
}
|
|
8490
8490
|
var Hr;
|
|
8491
8491
|
function mc() {
|
|
8492
|
-
return Hr || (Hr = 1, function(o) {
|
|
8492
|
+
return Hr || (Hr = 1, (function(o) {
|
|
8493
8493
|
const e = pc();
|
|
8494
8494
|
o.mul = function(t, r) {
|
|
8495
8495
|
const a = new Uint8Array(t.length + r.length - 1);
|
|
@@ -8514,7 +8514,7 @@ function mc() {
|
|
|
8514
8514
|
r = o.mul(r, new Uint8Array([1, e.exp(a)]));
|
|
8515
8515
|
return r;
|
|
8516
8516
|
};
|
|
8517
|
-
}(eo)), eo;
|
|
8517
|
+
})(eo)), eo;
|
|
8518
8518
|
}
|
|
8519
8519
|
var to, Ur;
|
|
8520
8520
|
function gc() {
|
|
@@ -8566,7 +8566,7 @@ function ii() {
|
|
|
8566
8566
|
}
|
|
8567
8567
|
var Yr;
|
|
8568
8568
|
function vt() {
|
|
8569
|
-
return Yr || (Yr = 1, function(o) {
|
|
8569
|
+
return Yr || (Yr = 1, (function(o) {
|
|
8570
8570
|
const e = ai(), n = ii();
|
|
8571
8571
|
o.NUMERIC = {
|
|
8572
8572
|
id: "Numeric",
|
|
@@ -8624,11 +8624,11 @@ function vt() {
|
|
|
8624
8624
|
return i;
|
|
8625
8625
|
}
|
|
8626
8626
|
};
|
|
8627
|
-
}(oo)), oo;
|
|
8627
|
+
})(oo)), oo;
|
|
8628
8628
|
}
|
|
8629
8629
|
var Gr;
|
|
8630
8630
|
function hc() {
|
|
8631
|
-
return Gr || (Gr = 1, function(o) {
|
|
8631
|
+
return Gr || (Gr = 1, (function(o) {
|
|
8632
8632
|
const e = ht(), n = ri(), t = nr(), r = vt(), a = ai(), i = 7973, l = e.getBCHDigit(i);
|
|
8633
8633
|
function s(m, g, p) {
|
|
8634
8634
|
for (let h = 1; h <= 40; h++)
|
|
@@ -8690,7 +8690,7 @@ function hc() {
|
|
|
8690
8690
|
p ^= i << e.getBCHDigit(p) - l;
|
|
8691
8691
|
return g << 12 | p;
|
|
8692
8692
|
};
|
|
8693
|
-
}(no)), no;
|
|
8693
|
+
})(no)), no;
|
|
8694
8694
|
}
|
|
8695
8695
|
var ao = {}, Kr;
|
|
8696
8696
|
function vc() {
|
|
@@ -8848,7 +8848,7 @@ Make sure your charset is UTF-8`
|
|
|
8848
8848
|
}
|
|
8849
8849
|
var fo = { exports: {} }, ea;
|
|
8850
8850
|
function Cc() {
|
|
8851
|
-
return ea || (ea = 1, function(o) {
|
|
8851
|
+
return ea || (ea = 1, (function(o) {
|
|
8852
8852
|
var e = {
|
|
8853
8853
|
single_source_shortest_paths: function(n, t, r) {
|
|
8854
8854
|
var a = {}, i = {};
|
|
@@ -8912,11 +8912,11 @@ function Cc() {
|
|
|
8912
8912
|
}
|
|
8913
8913
|
};
|
|
8914
8914
|
o.exports = e;
|
|
8915
|
-
}(fo)), fo.exports;
|
|
8915
|
+
})(fo)), fo.exports;
|
|
8916
8916
|
}
|
|
8917
8917
|
var ta;
|
|
8918
8918
|
function Sc() {
|
|
8919
|
-
return ta || (ta = 1, function(o) {
|
|
8919
|
+
return ta || (ta = 1, (function(o) {
|
|
8920
8920
|
const e = vt(), n = yc(), t = bc(), r = wc(), a = _c(), i = ii(), l = ht(), s = Cc();
|
|
8921
8921
|
function u(_) {
|
|
8922
8922
|
return unescape(encodeURIComponent(_)).length;
|
|
@@ -9046,7 +9046,7 @@ function Sc() {
|
|
|
9046
9046
|
f(S, l.isKanjiModeEnabled())
|
|
9047
9047
|
);
|
|
9048
9048
|
};
|
|
9049
|
-
}(io)), io;
|
|
9049
|
+
})(io)), io;
|
|
9050
9050
|
}
|
|
9051
9051
|
var na;
|
|
9052
9052
|
function xc() {
|
|
@@ -9187,7 +9187,7 @@ Minimum version required to store current data is: ` + F + `.
|
|
|
9187
9187
|
}
|
|
9188
9188
|
var po = {}, mo = {}, oa;
|
|
9189
9189
|
function li() {
|
|
9190
|
-
return oa || (oa = 1, function(o) {
|
|
9190
|
+
return oa || (oa = 1, (function(o) {
|
|
9191
9191
|
function e(n) {
|
|
9192
9192
|
if (typeof n == "number" && (n = n.toString()), typeof n != "string")
|
|
9193
9193
|
throw new Error("Color should be defined as hex string");
|
|
@@ -9237,11 +9237,11 @@ function li() {
|
|
|
9237
9237
|
t[p++] = h.r, t[p++] = h.g, t[p++] = h.b, t[p] = h.a;
|
|
9238
9238
|
}
|
|
9239
9239
|
};
|
|
9240
|
-
}(mo)), mo;
|
|
9240
|
+
})(mo)), mo;
|
|
9241
9241
|
}
|
|
9242
9242
|
var ra;
|
|
9243
9243
|
function Ec() {
|
|
9244
|
-
return ra || (ra = 1, function(o) {
|
|
9244
|
+
return ra || (ra = 1, (function(o) {
|
|
9245
9245
|
const e = li();
|
|
9246
9246
|
function n(r, a, i) {
|
|
9247
9247
|
r.clearRect(0, 0, a.width, a.height), a.style || (a.style = {}), a.height = i, a.width = i, a.style.height = i + "px", a.style.width = i + "px";
|
|
@@ -9264,7 +9264,7 @@ function Ec() {
|
|
|
9264
9264
|
const u = o.render(a, i, s), d = s.type || "image/png", f = s.rendererOpts || {};
|
|
9265
9265
|
return u.toDataURL(d, f.quality);
|
|
9266
9266
|
};
|
|
9267
|
-
}(po)), po;
|
|
9267
|
+
})(po)), po;
|
|
9268
9268
|
}
|
|
9269
9269
|
var go = {}, aa;
|
|
9270
9270
|
function kc() {
|