@romainbx/wpic-components 0.0.85 → 0.0.87
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/style.css +1 -1
- package/dist/wpic-components.js +110 -105
- package/dist/wpic-components.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/wpic-components.js
CHANGED
|
@@ -3496,50 +3496,50 @@ function Y0(t) {
|
|
|
3496
3496
|
var e = typeof t;
|
|
3497
3497
|
return t != null && (e == "object" || e == "function");
|
|
3498
3498
|
}
|
|
3499
|
-
var ns = Y0, J0 = typeof Qn == "object" && Qn && Qn.Object === Object && Qn, sf = J0, G0 = sf, Z0 = typeof self == "object" && self && self.Object === Object && self, X0 = G0 || Z0 || Function("return this")(), tn = X0, Q0 = tn,
|
|
3499
|
+
var ns = Y0, J0 = typeof Qn == "object" && Qn && Qn.Object === Object && Qn, sf = J0, G0 = sf, Z0 = typeof self == "object" && self && self.Object === Object && self, X0 = G0 || Z0 || Function("return this")(), tn = X0, Q0 = tn, e1 = function() {
|
|
3500
3500
|
return Q0.Date.now();
|
|
3501
|
-
},
|
|
3502
|
-
function
|
|
3503
|
-
for (var e = t.length; e-- &&
|
|
3501
|
+
}, t1 = e1, n1 = /\s/;
|
|
3502
|
+
function r1(t) {
|
|
3503
|
+
for (var e = t.length; e-- && n1.test(t.charAt(e)); )
|
|
3504
3504
|
;
|
|
3505
3505
|
return e;
|
|
3506
3506
|
}
|
|
3507
|
-
var
|
|
3508
|
-
function
|
|
3509
|
-
return t && t.slice(0,
|
|
3507
|
+
var i1 = r1, o1 = i1, s1 = /^\s+/;
|
|
3508
|
+
function a1(t) {
|
|
3509
|
+
return t && t.slice(0, o1(t) + 1).replace(s1, "");
|
|
3510
3510
|
}
|
|
3511
|
-
var
|
|
3512
|
-
function
|
|
3513
|
-
var e =
|
|
3511
|
+
var l1 = a1, c1 = tn, u1 = c1.Symbol, ll = u1, lc = ll, af = Object.prototype, d1 = af.hasOwnProperty, f1 = af.toString, ai = lc ? lc.toStringTag : void 0;
|
|
3512
|
+
function h1(t) {
|
|
3513
|
+
var e = d1.call(t, ai), n = t[ai];
|
|
3514
3514
|
try {
|
|
3515
3515
|
t[ai] = void 0;
|
|
3516
3516
|
var r = !0;
|
|
3517
3517
|
} catch {
|
|
3518
3518
|
}
|
|
3519
|
-
var i =
|
|
3519
|
+
var i = f1.call(t);
|
|
3520
3520
|
return r && (e ? t[ai] = n : delete t[ai]), i;
|
|
3521
3521
|
}
|
|
3522
|
-
var
|
|
3523
|
-
function
|
|
3524
|
-
return
|
|
3522
|
+
var p1 = h1, m1 = Object.prototype, g1 = m1.toString;
|
|
3523
|
+
function y1(t) {
|
|
3524
|
+
return g1.call(t);
|
|
3525
3525
|
}
|
|
3526
|
-
var
|
|
3527
|
-
function
|
|
3528
|
-
return t == null ? t === void 0 ?
|
|
3526
|
+
var v1 = y1, cc = ll, b1 = p1, x1 = v1, w1 = "[object Null]", k1 = "[object Undefined]", uc = cc ? cc.toStringTag : void 0;
|
|
3527
|
+
function S1(t) {
|
|
3528
|
+
return t == null ? t === void 0 ? k1 : w1 : uc && uc in Object(t) ? b1(t) : x1(t);
|
|
3529
3529
|
}
|
|
3530
|
-
var Gi =
|
|
3531
|
-
function
|
|
3530
|
+
var Gi = S1;
|
|
3531
|
+
function C1(t) {
|
|
3532
3532
|
return t != null && typeof t == "object";
|
|
3533
3533
|
}
|
|
3534
|
-
var Zi =
|
|
3535
|
-
function $
|
|
3536
|
-
return typeof t == "symbol" ||
|
|
3534
|
+
var Zi = C1, O1 = Gi, M1 = Zi, T1 = "[object Symbol]";
|
|
3535
|
+
function $1(t) {
|
|
3536
|
+
return typeof t == "symbol" || M1(t) && O1(t) == T1;
|
|
3537
3537
|
}
|
|
3538
|
-
var
|
|
3539
|
-
function
|
|
3538
|
+
var A1 = $1, E1 = l1, dc = ns, D1 = A1, fc = NaN, N1 = /^[-+]0x[0-9a-f]+$/i, L1 = /^0b[01]+$/i, I1 = /^0o[0-7]+$/i, B1 = parseInt;
|
|
3539
|
+
function P1(t) {
|
|
3540
3540
|
if (typeof t == "number")
|
|
3541
3541
|
return t;
|
|
3542
|
-
if (
|
|
3542
|
+
if (D1(t))
|
|
3543
3543
|
return fc;
|
|
3544
3544
|
if (dc(t)) {
|
|
3545
3545
|
var e = typeof t.valueOf == "function" ? t.valueOf() : t;
|
|
@@ -3547,16 +3547,16 @@ function Py(t) {
|
|
|
3547
3547
|
}
|
|
3548
3548
|
if (typeof t != "string")
|
|
3549
3549
|
return t === 0 ? t : +t;
|
|
3550
|
-
t =
|
|
3551
|
-
var n =
|
|
3552
|
-
return n ||
|
|
3550
|
+
t = E1(t);
|
|
3551
|
+
var n = L1.test(t);
|
|
3552
|
+
return n || I1.test(t) ? B1(t.slice(2), n ? 2 : 8) : N1.test(t) ? fc : +t;
|
|
3553
3553
|
}
|
|
3554
|
-
var
|
|
3555
|
-
function
|
|
3554
|
+
var V1 = P1, R1 = ns, Ts = t1, hc = V1, _1 = "Expected a function", j1 = Math.max, z1 = Math.min;
|
|
3555
|
+
function F1(t, e, n) {
|
|
3556
3556
|
var r, i, o, s, a, l, c = 0, u = !1, d = !1, f = !0;
|
|
3557
3557
|
if (typeof t != "function")
|
|
3558
|
-
throw new TypeError(
|
|
3559
|
-
e = hc(e) || 0,
|
|
3558
|
+
throw new TypeError(_1);
|
|
3559
|
+
e = hc(e) || 0, R1(n) && (u = !!n.leading, d = "maxWait" in n, o = d ? j1(hc(n.maxWait) || 0, e) : o, f = "trailing" in n ? !!n.trailing : f);
|
|
3560
3560
|
function h(w) {
|
|
3561
3561
|
var I = r, z = i;
|
|
3562
3562
|
return r = i = void 0, c = w, s = t.apply(z, I), s;
|
|
@@ -3566,7 +3566,7 @@ function Fy(t, e, n) {
|
|
|
3566
3566
|
}
|
|
3567
3567
|
function g(w) {
|
|
3568
3568
|
var I = w - l, z = w - c, R = e - I;
|
|
3569
|
-
return d ?
|
|
3569
|
+
return d ? z1(R, o - z) : R;
|
|
3570
3570
|
}
|
|
3571
3571
|
function m(w) {
|
|
3572
3572
|
var I = w - l, z = w - c;
|
|
@@ -3599,45 +3599,45 @@ function Fy(t, e, n) {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
return $.cancel = E, $.flush = v, $;
|
|
3601
3601
|
}
|
|
3602
|
-
var
|
|
3603
|
-
const lf = /* @__PURE__ */ Ji(
|
|
3604
|
-
function
|
|
3602
|
+
var H1 = F1;
|
|
3603
|
+
const lf = /* @__PURE__ */ Ji(H1);
|
|
3604
|
+
function W1() {
|
|
3605
3605
|
this.__data__ = [], this.size = 0;
|
|
3606
3606
|
}
|
|
3607
|
-
var
|
|
3608
|
-
function
|
|
3607
|
+
var U1 = W1;
|
|
3608
|
+
function q1(t, e) {
|
|
3609
3609
|
return t === e || t !== t && e !== e;
|
|
3610
3610
|
}
|
|
3611
|
-
var cf =
|
|
3612
|
-
function
|
|
3611
|
+
var cf = q1, K1 = cf;
|
|
3612
|
+
function Y1(t, e) {
|
|
3613
3613
|
for (var n = t.length; n--; )
|
|
3614
|
-
if (
|
|
3614
|
+
if (K1(t[n][0], e))
|
|
3615
3615
|
return n;
|
|
3616
3616
|
return -1;
|
|
3617
3617
|
}
|
|
3618
|
-
var rs =
|
|
3619
|
-
function
|
|
3620
|
-
var e = this.__data__, n =
|
|
3618
|
+
var rs = Y1, J1 = rs, G1 = Array.prototype, Z1 = G1.splice;
|
|
3619
|
+
function X1(t) {
|
|
3620
|
+
var e = this.__data__, n = J1(e, t);
|
|
3621
3621
|
if (n < 0)
|
|
3622
3622
|
return !1;
|
|
3623
3623
|
var r = e.length - 1;
|
|
3624
|
-
return n == r ? e.pop() :
|
|
3624
|
+
return n == r ? e.pop() : Z1.call(e, n, 1), --this.size, !0;
|
|
3625
3625
|
}
|
|
3626
|
-
var
|
|
3627
|
-
function
|
|
3628
|
-
var e = this.__data__, n =
|
|
3626
|
+
var Q1 = X1, ey = rs;
|
|
3627
|
+
function ty(t) {
|
|
3628
|
+
var e = this.__data__, n = ey(e, t);
|
|
3629
3629
|
return n < 0 ? void 0 : e[n][1];
|
|
3630
3630
|
}
|
|
3631
|
-
var
|
|
3632
|
-
function
|
|
3633
|
-
return
|
|
3631
|
+
var ny = ty, ry = rs;
|
|
3632
|
+
function iy(t) {
|
|
3633
|
+
return ry(this.__data__, t) > -1;
|
|
3634
3634
|
}
|
|
3635
|
-
var
|
|
3636
|
-
function
|
|
3637
|
-
var n = this.__data__, r =
|
|
3635
|
+
var oy = iy, sy = rs;
|
|
3636
|
+
function ay(t, e) {
|
|
3637
|
+
var n = this.__data__, r = sy(n, t);
|
|
3638
3638
|
return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
|
|
3639
3639
|
}
|
|
3640
|
-
var
|
|
3640
|
+
var ly = ay, cy = U1, uy = Q1, dy = ny, fy = oy, hy = ly;
|
|
3641
3641
|
function Xr(t) {
|
|
3642
3642
|
var e = -1, n = t == null ? 0 : t.length;
|
|
3643
3643
|
for (this.clear(); ++e < n; ) {
|
|
@@ -3645,47 +3645,47 @@ function Xr(t) {
|
|
|
3645
3645
|
this.set(r[0], r[1]);
|
|
3646
3646
|
}
|
|
3647
3647
|
}
|
|
3648
|
-
Xr.prototype.clear =
|
|
3649
|
-
Xr.prototype.delete =
|
|
3650
|
-
Xr.prototype.get =
|
|
3651
|
-
Xr.prototype.has =
|
|
3652
|
-
Xr.prototype.set =
|
|
3653
|
-
var is = Xr,
|
|
3654
|
-
function
|
|
3655
|
-
this.__data__ = new
|
|
3648
|
+
Xr.prototype.clear = cy;
|
|
3649
|
+
Xr.prototype.delete = uy;
|
|
3650
|
+
Xr.prototype.get = dy;
|
|
3651
|
+
Xr.prototype.has = fy;
|
|
3652
|
+
Xr.prototype.set = hy;
|
|
3653
|
+
var is = Xr, py = is;
|
|
3654
|
+
function my() {
|
|
3655
|
+
this.__data__ = new py(), this.size = 0;
|
|
3656
3656
|
}
|
|
3657
|
-
var
|
|
3658
|
-
function
|
|
3657
|
+
var gy = my;
|
|
3658
|
+
function yy(t) {
|
|
3659
3659
|
var e = this.__data__, n = e.delete(t);
|
|
3660
3660
|
return this.size = e.size, n;
|
|
3661
3661
|
}
|
|
3662
|
-
var
|
|
3663
|
-
function
|
|
3662
|
+
var vy = yy;
|
|
3663
|
+
function by(t) {
|
|
3664
3664
|
return this.__data__.get(t);
|
|
3665
3665
|
}
|
|
3666
|
-
var
|
|
3667
|
-
function
|
|
3666
|
+
var xy = by;
|
|
3667
|
+
function wy(t) {
|
|
3668
3668
|
return this.__data__.has(t);
|
|
3669
3669
|
}
|
|
3670
|
-
var
|
|
3671
|
-
function
|
|
3672
|
-
if (!
|
|
3670
|
+
var ky = wy, Sy = Gi, Cy = ns, Oy = "[object AsyncFunction]", My = "[object Function]", Ty = "[object GeneratorFunction]", $y = "[object Proxy]";
|
|
3671
|
+
function Ay(t) {
|
|
3672
|
+
if (!Cy(t))
|
|
3673
3673
|
return !1;
|
|
3674
|
-
var e =
|
|
3675
|
-
return e ==
|
|
3674
|
+
var e = Sy(t);
|
|
3675
|
+
return e == My || e == Ty || e == Oy || e == $y;
|
|
3676
3676
|
}
|
|
3677
|
-
var uf =
|
|
3677
|
+
var uf = Ay, Ey = tn, Dy = Ey["__core-js_shared__"], Ny = Dy, $s = Ny, pc = function() {
|
|
3678
3678
|
var t = /[^.]+$/.exec($s && $s.keys && $s.keys.IE_PROTO || "");
|
|
3679
3679
|
return t ? "Symbol(src)_1." + t : "";
|
|
3680
3680
|
}();
|
|
3681
|
-
function
|
|
3681
|
+
function Ly(t) {
|
|
3682
3682
|
return !!pc && pc in t;
|
|
3683
3683
|
}
|
|
3684
|
-
var
|
|
3685
|
-
function
|
|
3684
|
+
var Iy = Ly, By = Function.prototype, Py = By.toString;
|
|
3685
|
+
function Vy(t) {
|
|
3686
3686
|
if (t != null) {
|
|
3687
3687
|
try {
|
|
3688
|
-
return
|
|
3688
|
+
return Py.call(t);
|
|
3689
3689
|
} catch {
|
|
3690
3690
|
}
|
|
3691
3691
|
try {
|
|
@@ -3695,23 +3695,23 @@ function V1(t) {
|
|
|
3695
3695
|
}
|
|
3696
3696
|
return "";
|
|
3697
3697
|
}
|
|
3698
|
-
var df =
|
|
3699
|
-
"^" +
|
|
3698
|
+
var df = Vy, Ry = uf, _y = Iy, jy = ns, zy = df, Fy = /[\\^$.*+?()[\]{}|]/g, Hy = /^\[object .+?Constructor\]$/, Wy = Function.prototype, Uy = Object.prototype, qy = Wy.toString, Ky = Uy.hasOwnProperty, Yy = RegExp(
|
|
3699
|
+
"^" + qy.call(Ky).replace(Fy, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3700
3700
|
);
|
|
3701
|
-
function
|
|
3702
|
-
if (!
|
|
3701
|
+
function Jy(t) {
|
|
3702
|
+
if (!jy(t) || _y(t))
|
|
3703
3703
|
return !1;
|
|
3704
|
-
var e =
|
|
3705
|
-
return e.test(
|
|
3704
|
+
var e = Ry(t) ? Yy : Hy;
|
|
3705
|
+
return e.test(zy(t));
|
|
3706
3706
|
}
|
|
3707
|
-
var
|
|
3708
|
-
function
|
|
3707
|
+
var Gy = Jy;
|
|
3708
|
+
function Zy(t, e) {
|
|
3709
3709
|
return t == null ? void 0 : t[e];
|
|
3710
3710
|
}
|
|
3711
|
-
var
|
|
3711
|
+
var Xy = Zy, Qy = Gy, ev = Xy;
|
|
3712
3712
|
function tv(t, e) {
|
|
3713
3713
|
var n = ev(t, e);
|
|
3714
|
-
return
|
|
3714
|
+
return Qy(n) ? n : void 0;
|
|
3715
3715
|
}
|
|
3716
3716
|
var Qr = tv, nv = Qr, rv = tn, iv = nv(rv, "Map"), cl = iv, ov = Qr, sv = ov(Object, "create"), ss = sv, mc = ss;
|
|
3717
3717
|
function av() {
|
|
@@ -3814,7 +3814,7 @@ function ab(t, e) {
|
|
|
3814
3814
|
}
|
|
3815
3815
|
return n.set(t, e), this.size = n.size, this;
|
|
3816
3816
|
}
|
|
3817
|
-
var lb = ab, cb = is, ub =
|
|
3817
|
+
var lb = ab, cb = is, ub = gy, db = vy, fb = xy, hb = ky, pb = lb;
|
|
3818
3818
|
function ni(t) {
|
|
3819
3819
|
var e = this.__data__ = new cb(t);
|
|
3820
3820
|
this.size = e.size;
|
|
@@ -5707,7 +5707,7 @@ function hS(t, e) {
|
|
|
5707
5707
|
const pS = /* @__PURE__ */ ve(cS, [["render", hS]]), mS = { class: "wpic-table" }, gS = {
|
|
5708
5708
|
key: 0,
|
|
5709
5709
|
class: "px-2 py-1 flex justify-end border-b dark:border-gray-900"
|
|
5710
|
-
}, yS = { class: "overflow-auto
|
|
5710
|
+
}, yS = { class: "overflow-y-auto" }, vS = { class: "w-full rounded-lg" }, bS = {
|
|
5711
5711
|
key: 0,
|
|
5712
5712
|
class: "w-16"
|
|
5713
5713
|
}, xS = ["width"], wS = ["width"], kS = { class: "flex justify-center items-center h-full" }, SS = ["onClick"], CS = { class: "rounded-b-lg relative" }, OS = { key: 0 }, MS = /* @__PURE__ */ A("td", { class: "text-center py-3" }, " ", -1), TS = [
|
|
@@ -24107,7 +24107,10 @@ const l6 = /* @__PURE__ */ ve(r6, [["render", a6]]), c6 = {}, u6 = {
|
|
|
24107
24107
|
function h6(t, e) {
|
|
24108
24108
|
return b(), S("svg", u6, f6);
|
|
24109
24109
|
}
|
|
24110
|
-
const p6 = /* @__PURE__ */ ve(c6, [["render", h6]]), m6 = {
|
|
24110
|
+
const p6 = /* @__PURE__ */ ve(c6, [["render", h6]]), m6 = {
|
|
24111
|
+
key: 0,
|
|
24112
|
+
class: "w-6 opacity-50"
|
|
24113
|
+
}, g6 = { class: "flex-1" }, y6 = {
|
|
24111
24114
|
key: 0,
|
|
24112
24115
|
class: "mb-2"
|
|
24113
24116
|
}, v6 = {
|
|
@@ -24123,15 +24126,17 @@ const p6 = /* @__PURE__ */ ve(c6, [["render", h6]]), m6 = { class: "w-6" }, g6 =
|
|
|
24123
24126
|
},
|
|
24124
24127
|
setup(t) {
|
|
24125
24128
|
return (e, n) => (b(), S("div", {
|
|
24126
|
-
class: G(["
|
|
24127
|
-
"bg-
|
|
24128
|
-
"bg-
|
|
24129
|
-
"bg-
|
|
24130
|
-
"bg-red-
|
|
24131
|
-
"bg-
|
|
24129
|
+
class: G(["py-3 rounded-md text-base flex gap-4 pr-6", {
|
|
24130
|
+
"bg-iron-500/10 text-iron-900 dark:bg-iron-500/20 dark:text-iron-200/90": !t.warning && !t.info && !t.error && !t.success,
|
|
24131
|
+
"bg-yellow-500/10 text-yellow-900 dark:bg-yellow-500/20 dark:text-yellow-200/90": t.warning,
|
|
24132
|
+
"bg-purple-500/10 text-purple-900 dark:bg-purple-500/20 dark:text-purple-200/90": t.info,
|
|
24133
|
+
"bg-red-500/10 text-red-900 dark:bg-red-500/20 dark:text-red-200/90": t.error,
|
|
24134
|
+
"bg-emerald-500/10 text-emerald-900 dark:bg-emerald-500/20 dark:text-emerald-200/90": t.success,
|
|
24135
|
+
"pl-4": t.warning || t.info || t.success || t.error,
|
|
24136
|
+
"pl-6": !t.warning && !t.info && !t.success && !t.error
|
|
24132
24137
|
}])
|
|
24133
24138
|
}, [
|
|
24134
|
-
|
|
24139
|
+
t.warning || t.info || t.success || t.error ? (b(), S("div", m6, [
|
|
24135
24140
|
t.warning ? (b(), ge(GD, {
|
|
24136
24141
|
key: 0,
|
|
24137
24142
|
class: "w-full aspect-square"
|
|
@@ -24145,16 +24150,16 @@ const p6 = /* @__PURE__ */ ve(c6, [["render", h6]]), m6 = { class: "w-6" }, g6 =
|
|
|
24145
24150
|
key: 3,
|
|
24146
24151
|
class: "w-full aspect-square"
|
|
24147
24152
|
})) : Q("", !0)
|
|
24148
|
-
]),
|
|
24153
|
+
])) : Q("", !0),
|
|
24149
24154
|
A("div", g6, [
|
|
24150
24155
|
t.title ? (b(), S("div", y6, be(t.title), 1)) : Q("", !0),
|
|
24151
24156
|
A("span", {
|
|
24152
24157
|
class: G(["", {
|
|
24153
|
-
"
|
|
24154
|
-
"
|
|
24155
|
-
"
|
|
24156
|
-
"
|
|
24157
|
-
"
|
|
24158
|
+
"": !t.warning && !t.info && !t.error && !t.success,
|
|
24159
|
+
"": t.warning,
|
|
24160
|
+
"": t.info,
|
|
24161
|
+
"": t.error,
|
|
24162
|
+
"": t.success
|
|
24158
24163
|
}])
|
|
24159
24164
|
}, [
|
|
24160
24165
|
Me(e.$slots, "default", {}, () => [
|