formue-crud 0.1.64 → 0.1.66
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/formue-crud.js +686 -686
- package/dist/formue-crud.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/formue-crud.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
var Ty = Object.defineProperty;
|
2
2
|
var Sy = (l, e, t) => e in l ? Ty(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
|
3
3
|
var P = (l, e, t) => (Sy(l, typeof e != "symbol" ? e + "" : e, t), t);
|
4
|
-
import { reactive as My, ref as Pe, markRaw as ky, openBlock as $, createElementBlock as j, Fragment as tt, unref as G, createStaticVNode as Ly, createCommentVNode as Ne, createElementVNode as S, withDirectives as Bn, vModelCheckbox as Dy, createApp as Ya, watch as ln, inject as it, renderList as Ai, normalizeClass as Ue, toDisplayString as fe, computed as or, onMounted as Zn, createVNode as $e, createBlock as Fi, Transition as mr, withCtx as et, renderSlot as Xt, resolveComponent as Sd, mergeProps as Xn, withKeys as Ay, resolveDynamicComponent as Iu, normalizeProps as Md, guardReactiveProps as kd, nextTick as ar, readonly as Fy, getCurrentInstance as Oy, getCurrentScope as Py, onScopeDispose as zy, shallowRef as Hy, toHandlers as lr, withModifiers as Xs, createTextVNode as Bu, vShow as Nu, vModelText as Ld, provide as Wu } from "vue";
|
4
|
+
import { reactive as My, ref as Pe, markRaw as ky, openBlock as $, createElementBlock as j, Fragment as tt, unref as G, createStaticVNode as Ly, createCommentVNode as Ne, createElementVNode as S, withDirectives as Bn, vModelCheckbox as Dy, createApp as Ya, watch as ln, inject as it, renderList as Ai, normalizeClass as Ue, toDisplayString as fe, computed as or, onMounted as Zn, createVNode as $e, createBlock as Fi, Transition as mr, withCtx as et, renderSlot as Xt, resolveComponent as Sd, mergeProps as Xn, withKeys as Ay, resolveDynamicComponent as Iu, normalizeProps as Md, guardReactiveProps as kd, nextTick as ar, readonly as Fy, getCurrentInstance as Oy, getCurrentScope as Py, onScopeDispose as zy, shallowRef as Hy, toHandlers as lr, withModifiers as Xs, createTextVNode as Bu, vShow as Nu, vModelText as Ld, provide as Wu, onUnmounted as Iy } from "vue";
|
5
5
|
import { emitter as je } from "formue";
|
6
6
|
import Pt from "axios";
|
7
7
|
import { defineStore as Dd } from "pinia";
|
8
8
|
var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
9
|
-
function
|
9
|
+
function By(l) {
|
10
10
|
return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function Ny(l) {
|
13
13
|
if (l.__esModule)
|
14
14
|
return l;
|
15
15
|
var e = l.default;
|
@@ -3706,11 +3706,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
3706
3706
|
}).call(_i);
|
3707
3707
|
})(hr, hr.exports);
|
3708
3708
|
var W = hr.exports, cn = TypeError;
|
3709
|
-
const
|
3709
|
+
const Wy = {}, Vy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3710
3710
|
__proto__: null,
|
3711
|
-
default:
|
3712
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
3713
|
-
var Za = typeof Map == "function" && Map.prototype, jo = Object.getOwnPropertyDescriptor && Za ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ur = Za && jo && typeof jo.get == "function" ? jo.get : null, Vu = Za && Map.prototype.forEach, Qa = typeof Set == "function" && Set.prototype, Ko = Object.getOwnPropertyDescriptor && Qa ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, dr = Qa && Ko && typeof Ko.get == "function" ? Ko.get : null, Gu = Qa && Set.prototype.forEach,
|
3711
|
+
default: Wy
|
3712
|
+
}, Symbol.toStringTag, { value: "Module" })), Gy = /* @__PURE__ */ Ny(Vy);
|
3713
|
+
var Za = typeof Map == "function" && Map.prototype, jo = Object.getOwnPropertyDescriptor && Za ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ur = Za && jo && typeof jo.get == "function" ? jo.get : null, Vu = Za && Map.prototype.forEach, Qa = typeof Set == "function" && Set.prototype, Ko = Object.getOwnPropertyDescriptor && Qa ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, dr = Qa && Ko && typeof Ko.get == "function" ? Ko.get : null, Gu = Qa && Set.prototype.forEach, $y = typeof WeakMap == "function" && WeakMap.prototype, Nn = $y ? WeakMap.prototype.has : null, Uy = typeof WeakSet == "function" && WeakSet.prototype, Wn = Uy ? WeakSet.prototype.has : null, jy = typeof WeakRef == "function" && WeakRef.prototype, $u = jy ? WeakRef.prototype.deref : null, Ky = Boolean.prototype.valueOf, qy = Object.prototype.toString, Jy = Function.prototype.toString, Xy = String.prototype.match, el = String.prototype.slice, fi = String.prototype.replace, Yy = String.prototype.toUpperCase, Uu = String.prototype.toLowerCase, Ad = RegExp.prototype.test, ju = Array.prototype.concat, Ot = Array.prototype.join, Zy = Array.prototype.slice, Ku = Math.floor, ma = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, qo = Object.getOwnPropertySymbols, ba = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, un = typeof Symbol == "function" && typeof Symbol.iterator == "object", Vn = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === un || "symbol") ? Symbol.toStringTag : null, Fd = Object.prototype.propertyIsEnumerable, qu = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(l) {
|
3714
3714
|
return l.__proto__;
|
3715
3715
|
} : null);
|
3716
3716
|
function Ju(l, e) {
|
@@ -3726,11 +3726,11 @@ function Ju(l, e) {
|
|
3726
3726
|
}
|
3727
3727
|
return fi.call(e, t, "$&_");
|
3728
3728
|
}
|
3729
|
-
var va =
|
3729
|
+
var va = Gy, Xu = va.custom, Yu = zd(Xu) ? Xu : null, Od = {
|
3730
3730
|
__proto__: null,
|
3731
3731
|
double: '"',
|
3732
3732
|
single: "'"
|
3733
|
-
},
|
3733
|
+
}, Qy = {
|
3734
3734
|
__proto__: null,
|
3735
3735
|
double: /(["\\])/g,
|
3736
3736
|
single: /(['\\])/g
|
@@ -3769,13 +3769,13 @@ var va = Vy, Xu = va.custom, Yu = zd(Xu) ? Xu : null, Od = {
|
|
3769
3769
|
var p = typeof r.depth > "u" ? 5 : r.depth;
|
3770
3770
|
if (typeof i > "u" && (i = 0), i >= p && p > 0 && typeof e == "object")
|
3771
3771
|
return wa(e) ? "[Array]" : "[Object]";
|
3772
|
-
var v =
|
3772
|
+
var v = bC(r, i);
|
3773
3773
|
if (typeof n > "u")
|
3774
3774
|
n = [];
|
3775
3775
|
else if (Hd(n, e) >= 0)
|
3776
3776
|
return "[Circular]";
|
3777
3777
|
function m(Ke, qe, vt) {
|
3778
|
-
if (qe && (n =
|
3778
|
+
if (qe && (n = Zy.call(n), n.push(qe)), vt) {
|
3779
3779
|
var gi = {
|
3780
3780
|
depth: r.depth
|
3781
3781
|
};
|
@@ -3784,25 +3784,25 @@ var va = Vy, Xu = va.custom, Yu = zd(Xu) ? Xu : null, Od = {
|
|
3784
3784
|
return l(Ke, r, i + 1, n);
|
3785
3785
|
}
|
3786
3786
|
if (typeof e == "function" && !Zu(e)) {
|
3787
|
-
var C =
|
3787
|
+
var C = lC(e), x = Ys(e, m);
|
3788
3788
|
return "[Function" + (C ? ": " + C : " (anonymous)") + "]" + (x.length > 0 ? " { " + Ot.call(x, ", ") + " }" : "");
|
3789
3789
|
}
|
3790
3790
|
if (zd(e)) {
|
3791
3791
|
var T = un ? fi.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ba.call(e);
|
3792
3792
|
return typeof e == "object" && !un ? zn(T) : T;
|
3793
3793
|
}
|
3794
|
-
if (
|
3794
|
+
if (pC(e)) {
|
3795
3795
|
for (var D = "<" + Uu.call(String(e.nodeName)), L = e.attributes || [], U = 0; U < L.length; U++)
|
3796
|
-
D += " " + L[U].name + "=" + Pd(
|
3796
|
+
D += " " + L[U].name + "=" + Pd(eC(L[U].value), "double", r);
|
3797
3797
|
return D += ">", e.childNodes && e.childNodes.length && (D += "..."), D += "</" + Uu.call(String(e.nodeName)) + ">", D;
|
3798
3798
|
}
|
3799
3799
|
if (wa(e)) {
|
3800
3800
|
if (e.length === 0)
|
3801
3801
|
return "[]";
|
3802
3802
|
var I = Ys(e, m);
|
3803
|
-
return v && !
|
3803
|
+
return v && !mC(I) ? "[" + ya(I, v) + "]" : "[ " + Ot.call(I, ", ") + " ]";
|
3804
3804
|
}
|
3805
|
-
if (
|
3805
|
+
if (iC(e)) {
|
3806
3806
|
var N = Ys(e, m);
|
3807
3807
|
return !("cause" in Error.prototype) && "cause" in e && !Fd.call(e, "cause") ? "{ [" + String(e) + "] " + Ot.call(ju.call("[cause]: " + m(e.cause), N), ", ") + " }" : N.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + Ot.call(N, ", ") + " }";
|
3808
3808
|
}
|
@@ -3812,37 +3812,37 @@ var va = Vy, Xu = va.custom, Yu = zd(Xu) ? Xu : null, Od = {
|
|
3812
3812
|
if (a !== "symbol" && typeof e.inspect == "function")
|
3813
3813
|
return e.inspect();
|
3814
3814
|
}
|
3815
|
-
if (
|
3815
|
+
if (hC(e)) {
|
3816
3816
|
var z = [];
|
3817
3817
|
return Vu && Vu.call(e, function(Ke, qe) {
|
3818
3818
|
z.push(m(qe, e, !0) + " => " + m(Ke, e));
|
3819
3819
|
}), Qu("Map", ur.call(e), z, v);
|
3820
3820
|
}
|
3821
|
-
if (
|
3821
|
+
if (cC(e)) {
|
3822
3822
|
var ue = [];
|
3823
3823
|
return Gu && Gu.call(e, function(Ke) {
|
3824
3824
|
ue.push(m(Ke, e));
|
3825
3825
|
}), Qu("Set", dr.call(e), ue, v);
|
3826
3826
|
}
|
3827
|
-
if (
|
3827
|
+
if (uC(e))
|
3828
3828
|
return Jo("WeakMap");
|
3829
|
-
if (
|
3829
|
+
if (fC(e))
|
3830
3830
|
return Jo("WeakSet");
|
3831
|
-
if (
|
3831
|
+
if (dC(e))
|
3832
3832
|
return Jo("WeakRef");
|
3833
|
-
if (
|
3833
|
+
if (sC(e))
|
3834
3834
|
return zn(m(Number(e)));
|
3835
|
-
if (
|
3835
|
+
if (oC(e))
|
3836
3836
|
return zn(m(ma.call(e)));
|
3837
|
-
if (
|
3838
|
-
return zn(
|
3839
|
-
if (
|
3837
|
+
if (rC(e))
|
3838
|
+
return zn(Ky.call(e));
|
3839
|
+
if (nC(e))
|
3840
3840
|
return zn(m(String(e)));
|
3841
3841
|
if (typeof window < "u" && e === window)
|
3842
3842
|
return "{ [object Window] }";
|
3843
3843
|
if (typeof globalThis < "u" && e === globalThis || typeof _i < "u" && e === _i)
|
3844
3844
|
return "{ [object globalThis] }";
|
3845
|
-
if (!
|
3845
|
+
if (!tC(e) && !Zu(e)) {
|
3846
3846
|
var Z = Ys(e, m), K = qu ? qu(e) === Object.prototype : e instanceof Object || e.constructor === Object, Se = e instanceof Object ? "" : "null prototype", te = !K && Vn && Object(e) === e && Vn in e ? el.call(pi(e), 8, -1) : Se ? "Object" : "", we = K || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", Y = we + (te || Se ? "[" + Ot.call(ju.call([], te || [], Se || []), ": ") + "] " : "");
|
3847
3847
|
return Z.length === 0 ? Y + "{}" : v ? Y + "{" + ya(Z, v) + "}" : Y + "{ " + Ot.call(Z, ", ") + " }";
|
3848
3848
|
}
|
@@ -3852,7 +3852,7 @@ function Pd(l, e, t) {
|
|
3852
3852
|
var i = t.quoteStyle || e, n = Od[i];
|
3853
3853
|
return n + l + n;
|
3854
3854
|
}
|
3855
|
-
function
|
3855
|
+
function eC(l) {
|
3856
3856
|
return fi.call(String(l), /"/g, """);
|
3857
3857
|
}
|
3858
3858
|
function Pi(l) {
|
@@ -3861,22 +3861,22 @@ function Pi(l) {
|
|
3861
3861
|
function wa(l) {
|
3862
3862
|
return pi(l) === "[object Array]" && Pi(l);
|
3863
3863
|
}
|
3864
|
-
function
|
3864
|
+
function tC(l) {
|
3865
3865
|
return pi(l) === "[object Date]" && Pi(l);
|
3866
3866
|
}
|
3867
3867
|
function Zu(l) {
|
3868
3868
|
return pi(l) === "[object RegExp]" && Pi(l);
|
3869
3869
|
}
|
3870
|
-
function
|
3870
|
+
function iC(l) {
|
3871
3871
|
return pi(l) === "[object Error]" && Pi(l);
|
3872
3872
|
}
|
3873
|
-
function
|
3873
|
+
function nC(l) {
|
3874
3874
|
return pi(l) === "[object String]" && Pi(l);
|
3875
3875
|
}
|
3876
|
-
function
|
3876
|
+
function sC(l) {
|
3877
3877
|
return pi(l) === "[object Number]" && Pi(l);
|
3878
3878
|
}
|
3879
|
-
function
|
3879
|
+
function rC(l) {
|
3880
3880
|
return pi(l) === "[object Boolean]" && Pi(l);
|
3881
3881
|
}
|
3882
3882
|
function zd(l) {
|
@@ -3892,7 +3892,7 @@ function zd(l) {
|
|
3892
3892
|
}
|
3893
3893
|
return !1;
|
3894
3894
|
}
|
3895
|
-
function
|
3895
|
+
function oC(l) {
|
3896
3896
|
if (!l || typeof l != "object" || !ma)
|
3897
3897
|
return !1;
|
3898
3898
|
try {
|
@@ -3901,19 +3901,19 @@ function rC(l) {
|
|
3901
3901
|
}
|
3902
3902
|
return !1;
|
3903
3903
|
}
|
3904
|
-
var
|
3904
|
+
var aC = Object.prototype.hasOwnProperty || function(l) {
|
3905
3905
|
return l in this;
|
3906
3906
|
};
|
3907
3907
|
function Kt(l, e) {
|
3908
|
-
return
|
3908
|
+
return aC.call(l, e);
|
3909
3909
|
}
|
3910
3910
|
function pi(l) {
|
3911
|
-
return
|
3911
|
+
return qy.call(l);
|
3912
3912
|
}
|
3913
|
-
function
|
3913
|
+
function lC(l) {
|
3914
3914
|
if (l.name)
|
3915
3915
|
return l.name;
|
3916
|
-
var e =
|
3916
|
+
var e = Xy.call(Jy.call(l), /^function\s*([\w$]+)/);
|
3917
3917
|
return e ? e[1] : null;
|
3918
3918
|
}
|
3919
3919
|
function Hd(l, e) {
|
@@ -3924,7 +3924,7 @@ function Hd(l, e) {
|
|
3924
3924
|
return t;
|
3925
3925
|
return -1;
|
3926
3926
|
}
|
3927
|
-
function
|
3927
|
+
function hC(l) {
|
3928
3928
|
if (!ur || !l || typeof l != "object")
|
3929
3929
|
return !1;
|
3930
3930
|
try {
|
@@ -3939,7 +3939,7 @@ function lC(l) {
|
|
3939
3939
|
}
|
3940
3940
|
return !1;
|
3941
3941
|
}
|
3942
|
-
function
|
3942
|
+
function uC(l) {
|
3943
3943
|
if (!Nn || !l || typeof l != "object")
|
3944
3944
|
return !1;
|
3945
3945
|
try {
|
@@ -3954,7 +3954,7 @@ function hC(l) {
|
|
3954
3954
|
}
|
3955
3955
|
return !1;
|
3956
3956
|
}
|
3957
|
-
function
|
3957
|
+
function dC(l) {
|
3958
3958
|
if (!$u || !l || typeof l != "object")
|
3959
3959
|
return !1;
|
3960
3960
|
try {
|
@@ -3963,7 +3963,7 @@ function uC(l) {
|
|
3963
3963
|
}
|
3964
3964
|
return !1;
|
3965
3965
|
}
|
3966
|
-
function
|
3966
|
+
function cC(l) {
|
3967
3967
|
if (!dr || !l || typeof l != "object")
|
3968
3968
|
return !1;
|
3969
3969
|
try {
|
@@ -3978,7 +3978,7 @@ function dC(l) {
|
|
3978
3978
|
}
|
3979
3979
|
return !1;
|
3980
3980
|
}
|
3981
|
-
function
|
3981
|
+
function fC(l) {
|
3982
3982
|
if (!Wn || !l || typeof l != "object")
|
3983
3983
|
return !1;
|
3984
3984
|
try {
|
@@ -3993,7 +3993,7 @@ function cC(l) {
|
|
3993
3993
|
}
|
3994
3994
|
return !1;
|
3995
3995
|
}
|
3996
|
-
function
|
3996
|
+
function pC(l) {
|
3997
3997
|
return !l || typeof l != "object" ? !1 : typeof HTMLElement < "u" && l instanceof HTMLElement ? !0 : typeof l.nodeName == "string" && typeof l.getAttribute == "function";
|
3998
3998
|
}
|
3999
3999
|
function Id(l, e) {
|
@@ -4001,12 +4001,12 @@ function Id(l, e) {
|
|
4001
4001
|
var t = l.length - e.maxStringLength, i = "... " + t + " more character" + (t > 1 ? "s" : "");
|
4002
4002
|
return Id(el.call(l, 0, e.maxStringLength), e) + i;
|
4003
4003
|
}
|
4004
|
-
var n =
|
4004
|
+
var n = Qy[e.quoteStyle || "single"];
|
4005
4005
|
n.lastIndex = 0;
|
4006
|
-
var r = fi.call(fi.call(l, n, "\\$1"), /[\x00-\x1f]/g,
|
4006
|
+
var r = fi.call(fi.call(l, n, "\\$1"), /[\x00-\x1f]/g, gC);
|
4007
4007
|
return Pd(r, "single", e);
|
4008
4008
|
}
|
4009
|
-
function
|
4009
|
+
function gC(l) {
|
4010
4010
|
var e = l.charCodeAt(0), t = {
|
4011
4011
|
8: "b",
|
4012
4012
|
9: "t",
|
@@ -4014,7 +4014,7 @@ function pC(l) {
|
|
4014
4014
|
12: "f",
|
4015
4015
|
13: "r"
|
4016
4016
|
}[e];
|
4017
|
-
return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") +
|
4017
|
+
return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Yy.call(e.toString(16));
|
4018
4018
|
}
|
4019
4019
|
function zn(l) {
|
4020
4020
|
return "Object(" + l + ")";
|
@@ -4026,14 +4026,14 @@ function Qu(l, e, t, i) {
|
|
4026
4026
|
var n = i ? ya(t, i) : Ot.call(t, ", ");
|
4027
4027
|
return l + " (" + e + ") {" + n + "}";
|
4028
4028
|
}
|
4029
|
-
function
|
4029
|
+
function mC(l) {
|
4030
4030
|
for (var e = 0; e < l.length; e++)
|
4031
4031
|
if (Hd(l[e], `
|
4032
4032
|
`) >= 0)
|
4033
4033
|
return !1;
|
4034
4034
|
return !0;
|
4035
4035
|
}
|
4036
|
-
function
|
4036
|
+
function bC(l, e) {
|
4037
4037
|
var t;
|
4038
4038
|
if (l.indent === " ")
|
4039
4039
|
t = " ";
|
@@ -4074,17 +4074,17 @@ function Ys(l, e) {
|
|
4074
4074
|
Fd.call(l, r[f]) && i.push("[" + e(r[f]) + "]: " + e(l[r[f]], l));
|
4075
4075
|
return i;
|
4076
4076
|
}
|
4077
|
-
var
|
4077
|
+
var vC = br, wC = cn, vr = function(l, e, t) {
|
4078
4078
|
for (var i = l, n; (n = i.next) != null; i = n)
|
4079
4079
|
if (n.key === e)
|
4080
4080
|
return i.next = n.next, t || (n.next = /** @type {NonNullable<typeof list.next>} */
|
4081
4081
|
l.next, l.next = n), n;
|
4082
|
-
},
|
4082
|
+
}, yC = function(l, e) {
|
4083
4083
|
if (l) {
|
4084
4084
|
var t = vr(l, e);
|
4085
4085
|
return t && t.value;
|
4086
4086
|
}
|
4087
|
-
},
|
4087
|
+
}, CC = function(l, e, t) {
|
4088
4088
|
var i = vr(l, e);
|
4089
4089
|
i ? i.value = t : l.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
4090
4090
|
{
|
@@ -4093,31 +4093,31 @@ var bC = br, vC = cn, vr = function(l, e, t) {
|
|
4093
4093
|
next: l.next,
|
4094
4094
|
value: t
|
4095
4095
|
};
|
4096
|
-
}, CC = function(l, e) {
|
4097
|
-
return l ? !!vr(l, e) : !1;
|
4098
4096
|
}, EC = function(l, e) {
|
4097
|
+
return l ? !!vr(l, e) : !1;
|
4098
|
+
}, xC = function(l, e) {
|
4099
4099
|
if (l)
|
4100
4100
|
return vr(l, e, !0);
|
4101
|
-
},
|
4101
|
+
}, RC = function() {
|
4102
4102
|
var e, t = {
|
4103
4103
|
assert: function(i) {
|
4104
4104
|
if (!t.has(i))
|
4105
|
-
throw new
|
4105
|
+
throw new wC("Side channel does not contain " + vC(i));
|
4106
4106
|
},
|
4107
4107
|
delete: function(i) {
|
4108
|
-
var n = e && e.next, r =
|
4108
|
+
var n = e && e.next, r = xC(e, i);
|
4109
4109
|
return r && n && n === r && (e = void 0), !!r;
|
4110
4110
|
},
|
4111
4111
|
get: function(i) {
|
4112
|
-
return
|
4112
|
+
return yC(e, i);
|
4113
4113
|
},
|
4114
4114
|
has: function(i) {
|
4115
|
-
return
|
4115
|
+
return EC(e, i);
|
4116
4116
|
},
|
4117
4117
|
set: function(i, n) {
|
4118
4118
|
e || (e = {
|
4119
4119
|
next: void 0
|
4120
|
-
}),
|
4120
|
+
}), CC(
|
4121
4121
|
/** @type {NonNullable<typeof $o>} */
|
4122
4122
|
e,
|
4123
4123
|
i,
|
@@ -4126,11 +4126,11 @@ var bC = br, vC = cn, vr = function(l, e, t) {
|
|
4126
4126
|
}
|
4127
4127
|
};
|
4128
4128
|
return t;
|
4129
|
-
}, Bd = Object,
|
4129
|
+
}, Bd = Object, _C = Error, TC = EvalError, SC = RangeError, MC = ReferenceError, kC = SyntaxError, LC = URIError, DC = Math.abs, AC = Math.floor, FC = Math.max, OC = Math.min, PC = Math.pow, zC = Math.round, HC = Number.isNaN || function(e) {
|
4130
4130
|
return e !== e;
|
4131
|
-
},
|
4132
|
-
return
|
4133
|
-
},
|
4131
|
+
}, IC = HC, BC = function(e) {
|
4132
|
+
return IC(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
4133
|
+
}, NC = Object.getOwnPropertyDescriptor, tr = NC;
|
4134
4134
|
if (tr)
|
4135
4135
|
try {
|
4136
4136
|
tr([], "length");
|
@@ -4144,8 +4144,8 @@ if (ir)
|
|
4144
4144
|
} catch {
|
4145
4145
|
ir = !1;
|
4146
4146
|
}
|
4147
|
-
var
|
4148
|
-
function
|
4147
|
+
var WC = ir, Xo, ed;
|
4148
|
+
function VC() {
|
4149
4149
|
return ed || (ed = 1, Xo = function() {
|
4150
4150
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
4151
4151
|
return !1;
|
@@ -4175,11 +4175,11 @@ function WC() {
|
|
4175
4175
|
}), Xo;
|
4176
4176
|
}
|
4177
4177
|
var Yo, td;
|
4178
|
-
function
|
4178
|
+
function GC() {
|
4179
4179
|
if (td)
|
4180
4180
|
return Yo;
|
4181
4181
|
td = 1;
|
4182
|
-
var l = typeof Symbol < "u" && Symbol, e =
|
4182
|
+
var l = typeof Symbol < "u" && Symbol, e = VC();
|
4183
4183
|
return Yo = function() {
|
4184
4184
|
return typeof l != "function" || typeof Symbol != "function" || typeof l("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
4185
4185
|
}, Yo;
|
@@ -4197,7 +4197,7 @@ function Vd() {
|
|
4197
4197
|
return Qo = l.getPrototypeOf || null, Qo;
|
4198
4198
|
}
|
4199
4199
|
var ea, sd;
|
4200
|
-
function
|
4200
|
+
function $C() {
|
4201
4201
|
if (sd)
|
4202
4202
|
return ea;
|
4203
4203
|
sd = 1;
|
@@ -4247,7 +4247,7 @@ function wr() {
|
|
4247
4247
|
if (rd)
|
4248
4248
|
return ta;
|
4249
4249
|
rd = 1;
|
4250
|
-
var l =
|
4250
|
+
var l = $C();
|
4251
4251
|
return ta = Function.prototype.bind || l, ta;
|
4252
4252
|
}
|
4253
4253
|
var ia, od;
|
@@ -4258,12 +4258,12 @@ var na, ad;
|
|
4258
4258
|
function Gd() {
|
4259
4259
|
return ad || (ad = 1, na = Function.prototype.apply), na;
|
4260
4260
|
}
|
4261
|
-
var
|
4261
|
+
var UC = typeof Reflect < "u" && Reflect && Reflect.apply, jC = wr(), KC = Gd(), qC = tl(), JC = UC, XC = JC || jC.call(qC, KC), YC = wr(), ZC = cn, QC = tl(), eE = XC, $d = function(e) {
|
4262
4262
|
if (e.length < 1 || typeof e[0] != "function")
|
4263
|
-
throw new
|
4264
|
-
return
|
4263
|
+
throw new ZC("a function is required");
|
4264
|
+
return eE(YC, QC, e);
|
4265
4265
|
}, sa, ld;
|
4266
|
-
function
|
4266
|
+
function tE() {
|
4267
4267
|
if (ld)
|
4268
4268
|
return sa;
|
4269
4269
|
ld = 1;
|
@@ -4288,11 +4288,11 @@ function eE() {
|
|
4288
4288
|
) : !1, sa;
|
4289
4289
|
}
|
4290
4290
|
var ra, hd;
|
4291
|
-
function
|
4291
|
+
function iE() {
|
4292
4292
|
if (hd)
|
4293
4293
|
return ra;
|
4294
4294
|
hd = 1;
|
4295
|
-
var l = Wd(), e = Vd(), t =
|
4295
|
+
var l = Wd(), e = Vd(), t = tE();
|
4296
4296
|
return ra = l ? function(n) {
|
4297
4297
|
return l(n);
|
4298
4298
|
} : e ? function(n) {
|
@@ -4304,21 +4304,21 @@ function tE() {
|
|
4304
4304
|
} : null, ra;
|
4305
4305
|
}
|
4306
4306
|
var oa, ud;
|
4307
|
-
function
|
4307
|
+
function nE() {
|
4308
4308
|
if (ud)
|
4309
4309
|
return oa;
|
4310
4310
|
ud = 1;
|
4311
4311
|
var l = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = wr();
|
4312
4312
|
return oa = t.call(l, e), oa;
|
4313
4313
|
}
|
4314
|
-
var ae,
|
4314
|
+
var ae, sE = Bd, rE = _C, oE = TC, aE = SC, lE = MC, dn = kC, hn = cn, hE = LC, uE = DC, dE = AC, cE = FC, fE = OC, pE = PC, gE = zC, mE = BC, Ud = Function, aa = function(l) {
|
4315
4315
|
try {
|
4316
4316
|
return Ud('"use strict"; return (' + l + ").constructor;")();
|
4317
4317
|
} catch {
|
4318
4318
|
}
|
4319
|
-
}, Yn = Nd,
|
4319
|
+
}, Yn = Nd, bE = WC, la = function() {
|
4320
4320
|
throw new hn();
|
4321
|
-
},
|
4321
|
+
}, vE = Yn ? function() {
|
4322
4322
|
try {
|
4323
4323
|
return arguments.callee, la;
|
4324
4324
|
} catch {
|
@@ -4328,7 +4328,7 @@ var ae, nE = Bd, sE = RC, rE = _C, oE = TC, aE = SC, dn = MC, hn = cn, lE = kC,
|
|
4328
4328
|
return la;
|
4329
4329
|
}
|
4330
4330
|
}
|
4331
|
-
}() : la, Qi =
|
4331
|
+
}() : la, Qi = GC()(), Ae = iE(), wE = Vd(), yE = Wd(), jd = Gd(), Qn = tl(), tn = {}, CE = typeof Uint8Array > "u" || !Ae ? ae : Ae(Uint8Array), Li = {
|
4332
4332
|
__proto__: null,
|
4333
4333
|
"%AggregateError%": typeof AggregateError > "u" ? ae : AggregateError,
|
4334
4334
|
"%Array%": Array,
|
@@ -4350,10 +4350,10 @@ var ae, nE = Bd, sE = RC, rE = _C, oE = TC, aE = SC, dn = MC, hn = cn, lE = kC,
|
|
4350
4350
|
"%decodeURIComponent%": decodeURIComponent,
|
4351
4351
|
"%encodeURI%": encodeURI,
|
4352
4352
|
"%encodeURIComponent%": encodeURIComponent,
|
4353
|
-
"%Error%":
|
4353
|
+
"%Error%": rE,
|
4354
4354
|
"%eval%": eval,
|
4355
4355
|
// eslint-disable-line no-eval
|
4356
|
-
"%EvalError%":
|
4356
|
+
"%EvalError%": oE,
|
4357
4357
|
"%Float16Array%": typeof Float16Array > "u" ? ae : Float16Array,
|
4358
4358
|
"%Float32Array%": typeof Float32Array > "u" ? ae : Float32Array,
|
4359
4359
|
"%Float64Array%": typeof Float64Array > "u" ? ae : Float64Array,
|
@@ -4371,14 +4371,14 @@ var ae, nE = Bd, sE = RC, rE = _C, oE = TC, aE = SC, dn = MC, hn = cn, lE = kC,
|
|
4371
4371
|
"%MapIteratorPrototype%": typeof Map > "u" || !Qi || !Ae ? ae : Ae((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
4372
4372
|
"%Math%": Math,
|
4373
4373
|
"%Number%": Number,
|
4374
|
-
"%Object%":
|
4374
|
+
"%Object%": sE,
|
4375
4375
|
"%Object.getOwnPropertyDescriptor%": Yn,
|
4376
4376
|
"%parseFloat%": parseFloat,
|
4377
4377
|
"%parseInt%": parseInt,
|
4378
4378
|
"%Promise%": typeof Promise > "u" ? ae : Promise,
|
4379
4379
|
"%Proxy%": typeof Proxy > "u" ? ae : Proxy,
|
4380
|
-
"%RangeError%":
|
4381
|
-
"%ReferenceError%":
|
4380
|
+
"%RangeError%": aE,
|
4381
|
+
"%ReferenceError%": lE,
|
4382
4382
|
"%Reflect%": typeof Reflect > "u" ? ae : Reflect,
|
4383
4383
|
"%RegExp%": RegExp,
|
4384
4384
|
"%Set%": typeof Set > "u" ? ae : Set,
|
@@ -4388,38 +4388,38 @@ var ae, nE = Bd, sE = RC, rE = _C, oE = TC, aE = SC, dn = MC, hn = cn, lE = kC,
|
|
4388
4388
|
"%StringIteratorPrototype%": Qi && Ae ? Ae(""[Symbol.iterator]()) : ae,
|
4389
4389
|
"%Symbol%": Qi ? Symbol : ae,
|
4390
4390
|
"%SyntaxError%": dn,
|
4391
|
-
"%ThrowTypeError%":
|
4392
|
-
"%TypedArray%":
|
4391
|
+
"%ThrowTypeError%": vE,
|
4392
|
+
"%TypedArray%": CE,
|
4393
4393
|
"%TypeError%": hn,
|
4394
4394
|
"%Uint8Array%": typeof Uint8Array > "u" ? ae : Uint8Array,
|
4395
4395
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? ae : Uint8ClampedArray,
|
4396
4396
|
"%Uint16Array%": typeof Uint16Array > "u" ? ae : Uint16Array,
|
4397
4397
|
"%Uint32Array%": typeof Uint32Array > "u" ? ae : Uint32Array,
|
4398
|
-
"%URIError%":
|
4398
|
+
"%URIError%": hE,
|
4399
4399
|
"%WeakMap%": typeof WeakMap > "u" ? ae : WeakMap,
|
4400
4400
|
"%WeakRef%": typeof WeakRef > "u" ? ae : WeakRef,
|
4401
4401
|
"%WeakSet%": typeof WeakSet > "u" ? ae : WeakSet,
|
4402
4402
|
"%Function.prototype.call%": Qn,
|
4403
4403
|
"%Function.prototype.apply%": jd,
|
4404
|
-
"%Object.defineProperty%":
|
4405
|
-
"%Object.getPrototypeOf%":
|
4406
|
-
"%Math.abs%":
|
4407
|
-
"%Math.floor%":
|
4408
|
-
"%Math.max%":
|
4409
|
-
"%Math.min%":
|
4410
|
-
"%Math.pow%":
|
4411
|
-
"%Math.round%":
|
4412
|
-
"%Math.sign%":
|
4413
|
-
"%Reflect.getPrototypeOf%":
|
4404
|
+
"%Object.defineProperty%": bE,
|
4405
|
+
"%Object.getPrototypeOf%": wE,
|
4406
|
+
"%Math.abs%": uE,
|
4407
|
+
"%Math.floor%": dE,
|
4408
|
+
"%Math.max%": cE,
|
4409
|
+
"%Math.min%": fE,
|
4410
|
+
"%Math.pow%": pE,
|
4411
|
+
"%Math.round%": gE,
|
4412
|
+
"%Math.sign%": mE,
|
4413
|
+
"%Reflect.getPrototypeOf%": yE
|
4414
4414
|
};
|
4415
4415
|
if (Ae)
|
4416
4416
|
try {
|
4417
4417
|
null.error;
|
4418
4418
|
} catch (l) {
|
4419
|
-
var
|
4420
|
-
Li["%Error.prototype%"] =
|
4419
|
+
var EE = Ae(Ae(l));
|
4420
|
+
Li["%Error.prototype%"] = EE;
|
4421
4421
|
}
|
4422
|
-
var
|
4422
|
+
var xE = function l(e) {
|
4423
4423
|
var t;
|
4424
4424
|
if (e === "%AsyncFunction%")
|
4425
4425
|
t = aa("async function () {}");
|
@@ -4488,21 +4488,21 @@ var EE = function l(e) {
|
|
4488
4488
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
4489
4489
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
4490
4490
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
4491
|
-
}, es = wr(), cr =
|
4491
|
+
}, es = wr(), cr = nE(), RE = es.call(Qn, Array.prototype.concat), _E = es.call(jd, Array.prototype.splice), cd = es.call(Qn, String.prototype.replace), fr = es.call(Qn, String.prototype.slice), TE = es.call(Qn, RegExp.prototype.exec), SE = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ME = /\\(\\)?/g, kE = function(e) {
|
4492
4492
|
var t = fr(e, 0, 1), i = fr(e, -1);
|
4493
4493
|
if (t === "%" && i !== "%")
|
4494
4494
|
throw new dn("invalid intrinsic syntax, expected closing `%`");
|
4495
4495
|
if (i === "%" && t !== "%")
|
4496
4496
|
throw new dn("invalid intrinsic syntax, expected opening `%`");
|
4497
4497
|
var n = [];
|
4498
|
-
return cd(e,
|
4499
|
-
n[n.length] = u ? cd(d,
|
4498
|
+
return cd(e, SE, function(r, a, u, d) {
|
4499
|
+
n[n.length] = u ? cd(d, ME, "$1") : a || r;
|
4500
4500
|
}), n;
|
4501
|
-
},
|
4501
|
+
}, LE = function(e, t) {
|
4502
4502
|
var i = e, n;
|
4503
4503
|
if (cr(dd, i) && (n = dd[i], i = "%" + n[0] + "%"), cr(Li, i)) {
|
4504
4504
|
var r = Li[i];
|
4505
|
-
if (r === tn && (r =
|
4505
|
+
if (r === tn && (r = xE(i)), typeof r > "u" && !t)
|
4506
4506
|
throw new hn("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
4507
4507
|
return {
|
4508
4508
|
alias: n,
|
@@ -4516,10 +4516,10 @@ var EE = function l(e) {
|
|
4516
4516
|
throw new hn("intrinsic name must be a non-empty string");
|
4517
4517
|
if (arguments.length > 1 && typeof t != "boolean")
|
4518
4518
|
throw new hn('"allowMissing" argument must be a boolean');
|
4519
|
-
if (
|
4519
|
+
if (TE(/^%?[^%]*%?$/, e) === null)
|
4520
4520
|
throw new dn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
4521
|
-
var i =
|
4522
|
-
f && (n = f[0],
|
4521
|
+
var i = kE(e), n = i.length > 0 ? i[0] : "", r = LE("%" + n + "%", t), a = r.name, u = r.value, d = !1, f = r.alias;
|
4522
|
+
f && (n = f[0], _E(i, RE([0, 1], f)));
|
4523
4523
|
for (var p = 1, v = !0; p < i.length; p += 1) {
|
4524
4524
|
var m = i[p], C = fr(m, 0, 1), x = fr(m, -1);
|
4525
4525
|
if ((C === '"' || C === "'" || C === "`" || x === '"' || x === "'" || x === "`") && C !== x)
|
@@ -4541,74 +4541,74 @@ var EE = function l(e) {
|
|
4541
4541
|
}
|
4542
4542
|
}
|
4543
4543
|
return u;
|
4544
|
-
}, Kd = il, qd = $d,
|
4544
|
+
}, Kd = il, qd = $d, DE = qd([Kd("%String.prototype.indexOf%")]), Jd = function(e, t) {
|
4545
4545
|
var i = (
|
4546
4546
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
4547
4547
|
Kd(e, !!t)
|
4548
4548
|
);
|
4549
|
-
return typeof i == "function" &&
|
4549
|
+
return typeof i == "function" && DE(e, ".prototype.") > -1 ? qd(
|
4550
4550
|
/** @type {const} */
|
4551
4551
|
[i]
|
4552
4552
|
) : i;
|
4553
|
-
},
|
4553
|
+
}, AE = il, ts = Jd, FE = br, OE = cn, fd = AE("%Map%", !0), PE = ts("Map.prototype.get", !0), zE = ts("Map.prototype.set", !0), HE = ts("Map.prototype.has", !0), IE = ts("Map.prototype.delete", !0), BE = ts("Map.prototype.size", !0), Xd = !!fd && /** @type {Exclude<import('.'), false>} */
|
4554
4554
|
function() {
|
4555
4555
|
var e, t = {
|
4556
4556
|
assert: function(i) {
|
4557
4557
|
if (!t.has(i))
|
4558
|
-
throw new
|
4558
|
+
throw new OE("Side channel does not contain " + FE(i));
|
4559
4559
|
},
|
4560
4560
|
delete: function(i) {
|
4561
4561
|
if (e) {
|
4562
|
-
var n =
|
4563
|
-
return
|
4562
|
+
var n = IE(e, i);
|
4563
|
+
return BE(e) === 0 && (e = void 0), n;
|
4564
4564
|
}
|
4565
4565
|
return !1;
|
4566
4566
|
},
|
4567
4567
|
get: function(i) {
|
4568
4568
|
if (e)
|
4569
|
-
return
|
4569
|
+
return PE(e, i);
|
4570
4570
|
},
|
4571
4571
|
has: function(i) {
|
4572
|
-
return e ?
|
4572
|
+
return e ? HE(e, i) : !1;
|
4573
4573
|
},
|
4574
4574
|
set: function(i, n) {
|
4575
|
-
e || (e = new fd()),
|
4575
|
+
e || (e = new fd()), zE(e, i, n);
|
4576
4576
|
}
|
4577
4577
|
};
|
4578
4578
|
return t;
|
4579
|
-
},
|
4579
|
+
}, NE = il, yr = Jd, WE = br, Zs = Xd, VE = cn, en = NE("%WeakMap%", !0), GE = yr("WeakMap.prototype.get", !0), $E = yr("WeakMap.prototype.set", !0), UE = yr("WeakMap.prototype.has", !0), jE = yr("WeakMap.prototype.delete", !0), KE = en ? (
|
4580
4580
|
/** @type {Exclude<import('.'), false>} */
|
4581
4581
|
function() {
|
4582
4582
|
var e, t, i = {
|
4583
4583
|
assert: function(n) {
|
4584
4584
|
if (!i.has(n))
|
4585
|
-
throw new
|
4585
|
+
throw new VE("Side channel does not contain " + WE(n));
|
4586
4586
|
},
|
4587
4587
|
delete: function(n) {
|
4588
4588
|
if (en && n && (typeof n == "object" || typeof n == "function")) {
|
4589
4589
|
if (e)
|
4590
|
-
return
|
4590
|
+
return jE(e, n);
|
4591
4591
|
} else if (Zs && t)
|
4592
4592
|
return t.delete(n);
|
4593
4593
|
return !1;
|
4594
4594
|
},
|
4595
4595
|
get: function(n) {
|
4596
|
-
return en && n && (typeof n == "object" || typeof n == "function") && e ?
|
4596
|
+
return en && n && (typeof n == "object" || typeof n == "function") && e ? GE(e, n) : t && t.get(n);
|
4597
4597
|
},
|
4598
4598
|
has: function(n) {
|
4599
|
-
return en && n && (typeof n == "object" || typeof n == "function") && e ?
|
4599
|
+
return en && n && (typeof n == "object" || typeof n == "function") && e ? UE(e, n) : !!t && t.has(n);
|
4600
4600
|
},
|
4601
4601
|
set: function(n, r) {
|
4602
|
-
en && n && (typeof n == "object" || typeof n == "function") ? (e || (e = new en()),
|
4602
|
+
en && n && (typeof n == "object" || typeof n == "function") ? (e || (e = new en()), $E(e, n, r)) : Zs && (t || (t = Zs()), t.set(n, r));
|
4603
4603
|
}
|
4604
4604
|
};
|
4605
4605
|
return i;
|
4606
4606
|
}
|
4607
|
-
) : Zs,
|
4607
|
+
) : Zs, qE = cn, JE = br, XE = RC, YE = Xd, ZE = KE, QE = ZE || YE || XE, e0 = function() {
|
4608
4608
|
var e, t = {
|
4609
4609
|
assert: function(i) {
|
4610
4610
|
if (!t.has(i))
|
4611
|
-
throw new
|
4611
|
+
throw new qE("Side channel does not contain " + JE(i));
|
4612
4612
|
},
|
4613
4613
|
delete: function(i) {
|
4614
4614
|
return !!e && e.delete(i);
|
@@ -4620,18 +4620,18 @@ function() {
|
|
4620
4620
|
return !!e && e.has(i);
|
4621
4621
|
},
|
4622
4622
|
set: function(i, n) {
|
4623
|
-
e || (e =
|
4623
|
+
e || (e = QE()), e.set(i, n);
|
4624
4624
|
}
|
4625
4625
|
};
|
4626
4626
|
return t;
|
4627
|
-
},
|
4627
|
+
}, t0 = String.prototype.replace, i0 = /%20/g, ha = {
|
4628
4628
|
RFC1738: "RFC1738",
|
4629
4629
|
RFC3986: "RFC3986"
|
4630
4630
|
}, nl = {
|
4631
4631
|
default: ha.RFC3986,
|
4632
4632
|
formatters: {
|
4633
4633
|
RFC1738: function(l) {
|
4634
|
-
return
|
4634
|
+
return t0.call(l, i0, "+");
|
4635
4635
|
},
|
4636
4636
|
RFC3986: function(l) {
|
4637
4637
|
return String(l);
|
@@ -4639,11 +4639,11 @@ function() {
|
|
4639
4639
|
},
|
4640
4640
|
RFC1738: ha.RFC1738,
|
4641
4641
|
RFC3986: ha.RFC3986
|
4642
|
-
},
|
4642
|
+
}, n0 = nl, ua = Object.prototype.hasOwnProperty, Ti = Array.isArray, At = function() {
|
4643
4643
|
for (var l = [], e = 0; e < 256; ++e)
|
4644
4644
|
l.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
4645
4645
|
return l;
|
4646
|
-
}(),
|
4646
|
+
}(), s0 = function(e) {
|
4647
4647
|
for (; e.length > 1; ) {
|
4648
4648
|
var t = e.pop(), i = t.obj[t.prop];
|
4649
4649
|
if (Ti(i)) {
|
@@ -4656,7 +4656,7 @@ function() {
|
|
4656
4656
|
for (var i = t && t.plainObjects ? { __proto__: null } : {}, n = 0; n < e.length; ++n)
|
4657
4657
|
typeof e[n] < "u" && (i[n] = e[n]);
|
4658
4658
|
return i;
|
4659
|
-
},
|
4659
|
+
}, r0 = function l(e, t, i) {
|
4660
4660
|
if (!t)
|
4661
4661
|
return e;
|
4662
4662
|
if (typeof t != "object" && typeof t != "function") {
|
@@ -4681,11 +4681,11 @@ function() {
|
|
4681
4681
|
var u = t[a];
|
4682
4682
|
return ua.call(r, a) ? r[a] = l(r[a], u, i) : r[a] = u, r;
|
4683
4683
|
}, n);
|
4684
|
-
},
|
4684
|
+
}, o0 = function(e, t) {
|
4685
4685
|
return Object.keys(t).reduce(function(i, n) {
|
4686
4686
|
return i[n] = t[n], i;
|
4687
4687
|
}, e);
|
4688
|
-
},
|
4688
|
+
}, a0 = function(l, e, t) {
|
4689
4689
|
var i = l.replace(/\+/g, " ");
|
4690
4690
|
if (t === "iso-8859-1")
|
4691
4691
|
return i.replace(/%[0-9a-f]{2}/gi, unescape);
|
@@ -4694,7 +4694,7 @@ function() {
|
|
4694
4694
|
} catch {
|
4695
4695
|
return i;
|
4696
4696
|
}
|
4697
|
-
}, da = 1024,
|
4697
|
+
}, da = 1024, l0 = function(e, t, i, n, r) {
|
4698
4698
|
if (e.length === 0)
|
4699
4699
|
return e;
|
4700
4700
|
var a = e;
|
@@ -4705,7 +4705,7 @@ function() {
|
|
4705
4705
|
for (var u = "", d = 0; d < a.length; d += da) {
|
4706
4706
|
for (var f = a.length >= da ? a.slice(d, d + da) : a, p = [], v = 0; v < f.length; ++v) {
|
4707
4707
|
var m = f.charCodeAt(v);
|
4708
|
-
if (m === 45 || m === 46 || m === 95 || m === 126 || m >= 48 && m <= 57 || m >= 65 && m <= 90 || m >= 97 && m <= 122 || r ===
|
4708
|
+
if (m === 45 || m === 46 || m === 95 || m === 126 || m >= 48 && m <= 57 || m >= 65 && m <= 90 || m >= 97 && m <= 122 || r === n0.RFC1738 && (m === 40 || m === 41)) {
|
4709
4709
|
p[p.length] = f.charAt(v);
|
4710
4710
|
continue;
|
4711
4711
|
}
|
@@ -4726,20 +4726,20 @@ function() {
|
|
4726
4726
|
u += p.join("");
|
4727
4727
|
}
|
4728
4728
|
return u;
|
4729
|
-
},
|
4729
|
+
}, h0 = function(e) {
|
4730
4730
|
for (var t = [{ obj: { o: e }, prop: "o" }], i = [], n = 0; n < t.length; ++n)
|
4731
4731
|
for (var r = t[n], a = r.obj[r.prop], u = Object.keys(a), d = 0; d < u.length; ++d) {
|
4732
4732
|
var f = u[d], p = a[f];
|
4733
4733
|
typeof p == "object" && p !== null && i.indexOf(p) === -1 && (t.push({ obj: a, prop: f }), i.push(p));
|
4734
4734
|
}
|
4735
|
-
return
|
4736
|
-
}, h0 = function(e) {
|
4737
|
-
return Object.prototype.toString.call(e) === "[object RegExp]";
|
4735
|
+
return s0(t), e;
|
4738
4736
|
}, u0 = function(e) {
|
4737
|
+
return Object.prototype.toString.call(e) === "[object RegExp]";
|
4738
|
+
}, d0 = function(e) {
|
4739
4739
|
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
4740
|
-
}, d0 = function(e, t) {
|
4741
|
-
return [].concat(e, t);
|
4742
4740
|
}, c0 = function(e, t) {
|
4741
|
+
return [].concat(e, t);
|
4742
|
+
}, f0 = function(e, t) {
|
4743
4743
|
if (Ti(e)) {
|
4744
4744
|
for (var i = [], n = 0; n < e.length; n += 1)
|
4745
4745
|
i.push(t(e[n]));
|
@@ -4748,16 +4748,16 @@ function() {
|
|
4748
4748
|
return t(e);
|
4749
4749
|
}, Zd = {
|
4750
4750
|
arrayToObject: Yd,
|
4751
|
-
assign:
|
4752
|
-
combine:
|
4753
|
-
compact:
|
4754
|
-
decode:
|
4755
|
-
encode:
|
4756
|
-
isBuffer:
|
4757
|
-
isRegExp:
|
4758
|
-
maybeMap:
|
4759
|
-
merge:
|
4760
|
-
}, Qd =
|
4751
|
+
assign: o0,
|
4752
|
+
combine: c0,
|
4753
|
+
compact: h0,
|
4754
|
+
decode: a0,
|
4755
|
+
encode: l0,
|
4756
|
+
isBuffer: d0,
|
4757
|
+
isRegExp: u0,
|
4758
|
+
maybeMap: f0,
|
4759
|
+
merge: r0
|
4760
|
+
}, Qd = e0, nr = Zd, Gn = nl, p0 = Object.prototype.hasOwnProperty, ec = {
|
4761
4761
|
brackets: function(e) {
|
4762
4762
|
return e + "[]";
|
4763
4763
|
},
|
@@ -4768,9 +4768,9 @@ function() {
|
|
4768
4768
|
repeat: function(e) {
|
4769
4769
|
return e;
|
4770
4770
|
}
|
4771
|
-
}, Ft = Array.isArray,
|
4772
|
-
|
4773
|
-
},
|
4771
|
+
}, Ft = Array.isArray, g0 = Array.prototype.push, tc = function(l, e) {
|
4772
|
+
g0.apply(l, Ft(e) ? e : [e]);
|
4773
|
+
}, m0 = Date.prototype.toISOString, pd = Gn.default, Le = {
|
4774
4774
|
addQueryPrefix: !1,
|
4775
4775
|
allowDots: !1,
|
4776
4776
|
allowEmptyArrays: !1,
|
@@ -4789,13 +4789,13 @@ function() {
|
|
4789
4789
|
// deprecated
|
4790
4790
|
indices: !1,
|
4791
4791
|
serializeDate: function(e) {
|
4792
|
-
return
|
4792
|
+
return m0.call(e);
|
4793
4793
|
},
|
4794
4794
|
skipNulls: !1,
|
4795
4795
|
strictNullHandling: !1
|
4796
|
-
},
|
4796
|
+
}, b0 = function(e) {
|
4797
4797
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
4798
|
-
}, ca = {},
|
4798
|
+
}, ca = {}, v0 = function l(e, t, i, n, r, a, u, d, f, p, v, m, C, x, T, D, L, U) {
|
4799
4799
|
for (var I = e, N = U, z = 0, ue = !1; (N = N.get(ca)) !== void 0 && !ue; ) {
|
4800
4800
|
var Z = N.get(e);
|
4801
4801
|
if (z += 1, typeof Z < "u") {
|
@@ -4812,7 +4812,7 @@ function() {
|
|
4812
4812
|
return f && !D ? f(t, Le.encoder, L, "key", x) : t;
|
4813
4813
|
I = "";
|
4814
4814
|
}
|
4815
|
-
if (
|
4815
|
+
if (b0(I) || nr.isBuffer(I)) {
|
4816
4816
|
if (f) {
|
4817
4817
|
var K = D ? t : f(t, Le.encoder, L, "key", x);
|
4818
4818
|
return [T(K) + "=" + T(f(I, Le.encoder, L, "value", x))];
|
@@ -4863,7 +4863,7 @@ function() {
|
|
4863
4863
|
}
|
4864
4864
|
}
|
4865
4865
|
return Se;
|
4866
|
-
},
|
4866
|
+
}, w0 = function(e) {
|
4867
4867
|
if (!e)
|
4868
4868
|
return Le;
|
4869
4869
|
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
@@ -4877,7 +4877,7 @@ function() {
|
|
4877
4877
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
4878
4878
|
var i = Gn.default;
|
4879
4879
|
if (typeof e.format < "u") {
|
4880
|
-
if (!
|
4880
|
+
if (!p0.call(Gn.formatters, e.format))
|
4881
4881
|
throw new TypeError("Unknown format option provided.");
|
4882
4882
|
i = e.format;
|
4883
4883
|
}
|
@@ -4908,8 +4908,8 @@ function() {
|
|
4908
4908
|
sort: typeof e.sort == "function" ? e.sort : null,
|
4909
4909
|
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : Le.strictNullHandling
|
4910
4910
|
};
|
4911
|
-
},
|
4912
|
-
var t = l, i =
|
4911
|
+
}, y0 = function(l, e) {
|
4912
|
+
var t = l, i = w0(e), n, r;
|
4913
4913
|
typeof i.filter == "function" ? (r = i.filter, t = r("", t)) : Ft(i.filter) && (r = i.filter, n = r);
|
4914
4914
|
var a = [];
|
4915
4915
|
if (typeof t != "object" || t === null)
|
@@ -4918,7 +4918,7 @@ function() {
|
|
4918
4918
|
n || (n = Object.keys(t)), i.sort && n.sort(i.sort);
|
4919
4919
|
for (var f = Qd(), p = 0; p < n.length; ++p) {
|
4920
4920
|
var v = n[p], m = t[v];
|
4921
|
-
i.skipNulls && m === null || tc(a,
|
4921
|
+
i.skipNulls && m === null || tc(a, v0(
|
4922
4922
|
m,
|
4923
4923
|
v,
|
4924
4924
|
u,
|
@@ -4963,7 +4963,7 @@ function() {
|
|
4963
4963
|
strictDepth: !1,
|
4964
4964
|
strictNullHandling: !1,
|
4965
4965
|
throwOnLimitExceeded: !1
|
4966
|
-
},
|
4966
|
+
}, C0 = function(l) {
|
4967
4967
|
return l.replace(/&#(\d+);/g, function(e, t) {
|
4968
4968
|
return String.fromCharCode(parseInt(t, 10));
|
4969
4969
|
});
|
@@ -4973,7 +4973,7 @@ function() {
|
|
4973
4973
|
if (e.throwOnLimitExceeded && t >= e.arrayLimit)
|
4974
4974
|
throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
4975
4975
|
return l;
|
4976
|
-
},
|
4976
|
+
}, E0 = "utf8=%26%2310003%3B", x0 = "utf8=%E2%9C%93", R0 = function(e, t) {
|
4977
4977
|
var i = { __proto__: null }, n = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
4978
4978
|
n = n.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
4979
4979
|
var r = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, a = n.split(
|
@@ -4985,7 +4985,7 @@ function() {
|
|
4985
4985
|
var u = -1, d, f = t.charset;
|
4986
4986
|
if (t.charsetSentinel)
|
4987
4987
|
for (d = 0; d < a.length; ++d)
|
4988
|
-
a[d].indexOf("utf8=") === 0 && (a[d] ===
|
4988
|
+
a[d].indexOf("utf8=") === 0 && (a[d] === x0 ? f = "utf-8" : a[d] === E0 && (f = "iso-8859-1"), u = d, d = a.length);
|
4989
4989
|
for (d = 0; d < a.length; ++d)
|
4990
4990
|
if (d !== u) {
|
4991
4991
|
var p = a[d], v = p.indexOf("]="), m = v === -1 ? p.indexOf("=") : v + 1, C, x;
|
@@ -4998,12 +4998,12 @@ function() {
|
|
4998
4998
|
function(D) {
|
4999
4999
|
return t.decoder(D, Re.decoder, f, "value");
|
5000
5000
|
}
|
5001
|
-
)), x && t.interpretNumericEntities && f === "iso-8859-1" && (x =
|
5001
|
+
)), x && t.interpretNumericEntities && f === "iso-8859-1" && (x = C0(String(x))), p.indexOf("[]=") > -1 && (x = gd(x) ? [x] : x);
|
5002
5002
|
var T = Ca.call(i, C);
|
5003
5003
|
T && t.duplicates === "combine" ? i[C] = Oi.combine(i[C], x) : (!T || t.duplicates === "last") && (i[C] = x);
|
5004
5004
|
}
|
5005
5005
|
return i;
|
5006
|
-
},
|
5006
|
+
}, _0 = function(l, e, t, i) {
|
5007
5007
|
var n = 0;
|
5008
5008
|
if (l.length > 0 && l[l.length - 1] === "[]") {
|
5009
5009
|
var r = l.slice(0, -1).join("");
|
@@ -5021,7 +5021,7 @@ function() {
|
|
5021
5021
|
a = d;
|
5022
5022
|
}
|
5023
5023
|
return a;
|
5024
|
-
},
|
5024
|
+
}, T0 = function(e, t, i, n) {
|
5025
5025
|
if (e) {
|
5026
5026
|
var r = i.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, a = /(\[[^[\]]*])/, u = /(\[[^[\]]*])/g, d = i.depth > 0 && a.exec(r), f = d ? r.slice(0, d.index) : r, p = [];
|
5027
5027
|
if (f) {
|
@@ -5039,9 +5039,9 @@ function() {
|
|
5039
5039
|
throw new RangeError("Input depth exceeded depth option of " + i.depth + " and strictDepth is true");
|
5040
5040
|
p.push("[" + r.slice(d.index) + "]");
|
5041
5041
|
}
|
5042
|
-
return
|
5042
|
+
return _0(p, t, i, n);
|
5043
5043
|
}
|
5044
|
-
},
|
5044
|
+
}, S0 = function(e) {
|
5045
5045
|
if (!e)
|
5046
5046
|
return Re;
|
5047
5047
|
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
@@ -5082,22 +5082,22 @@ function() {
|
|
5082
5082
|
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : Re.strictNullHandling,
|
5083
5083
|
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
|
5084
5084
|
};
|
5085
|
-
},
|
5086
|
-
var t =
|
5085
|
+
}, M0 = function(l, e) {
|
5086
|
+
var t = S0(e);
|
5087
5087
|
if (l === "" || l === null || typeof l > "u")
|
5088
5088
|
return t.plainObjects ? { __proto__: null } : {};
|
5089
|
-
for (var i = typeof l == "string" ?
|
5090
|
-
var u = r[a], d =
|
5089
|
+
for (var i = typeof l == "string" ? R0(l, t) : l, n = t.plainObjects ? { __proto__: null } : {}, r = Object.keys(i), a = 0; a < r.length; ++a) {
|
5090
|
+
var u = r[a], d = T0(u, i[u], t, typeof l == "string");
|
5091
5091
|
n = Oi.merge(n, d, t);
|
5092
5092
|
}
|
5093
5093
|
return t.allowSparse === !0 ? n : Oi.compact(n);
|
5094
|
-
},
|
5095
|
-
formats:
|
5096
|
-
parse:
|
5097
|
-
stringify:
|
5094
|
+
}, k0 = y0, L0 = M0, D0 = nl, A0 = {
|
5095
|
+
formats: D0,
|
5096
|
+
parse: L0,
|
5097
|
+
stringify: k0
|
5098
5098
|
};
|
5099
|
-
const
|
5100
|
-
function
|
5099
|
+
const F0 = /* @__PURE__ */ By(A0), Ea = (l) => W.upperFirst(W.camelCase(l));
|
5100
|
+
function O0(l) {
|
5101
5101
|
let e = [];
|
5102
5102
|
function t(i) {
|
5103
5103
|
for (let n in i)
|
@@ -5105,7 +5105,7 @@ function F0(l) {
|
|
5105
5105
|
}
|
5106
5106
|
return t(l), e;
|
5107
5107
|
}
|
5108
|
-
const { event: jt } = je,
|
5108
|
+
const { event: jt } = je, P0 = (l = "myStore") => Dd(l, {
|
5109
5109
|
state: () => ({
|
5110
5110
|
mainKey: "",
|
5111
5111
|
form: {},
|
@@ -5145,7 +5145,7 @@ const { event: jt } = je, O0 = (l = "myStore") => Dd(l, {
|
|
5145
5145
|
return W.get(e.routes, e.mainKey, "");
|
5146
5146
|
},
|
5147
5147
|
flatFields(e) {
|
5148
|
-
let t =
|
5148
|
+
let t = O0(e.fields);
|
5149
5149
|
return t.unshift(
|
5150
5150
|
My({
|
5151
5151
|
title: "",
|
@@ -5166,7 +5166,7 @@ const { event: jt } = je, O0 = (l = "myStore") => Dd(l, {
|
|
5166
5166
|
);
|
5167
5167
|
},
|
5168
5168
|
headers() {
|
5169
|
-
return
|
5169
|
+
return q0(this.flatFields);
|
5170
5170
|
},
|
5171
5171
|
headersWithoutActions() {
|
5172
5172
|
return this.headers.filter(
|
@@ -5241,7 +5241,7 @@ const { event: jt } = je, O0 = (l = "myStore") => Dd(l, {
|
|
5241
5241
|
[r.op]: r.value
|
5242
5242
|
};
|
5243
5243
|
}
|
5244
|
-
return
|
5244
|
+
return F0.stringify({ filters: e, sort: this.sorts }, { encodeValuesOnly: !0 });
|
5245
5245
|
},
|
5246
5246
|
generateQuery(e = this.mainKey) {
|
5247
5247
|
let t = W.get(this.routes, e + ".index", "");
|
@@ -5339,7 +5339,7 @@ const { event: jt } = je, O0 = (l = "myStore") => Dd(l, {
|
|
5339
5339
|
});
|
5340
5340
|
}
|
5341
5341
|
}
|
5342
|
-
}),
|
5342
|
+
}), z0 = (l) => P0(l)(), H0 = [
|
5343
5343
|
"create",
|
5344
5344
|
"update",
|
5345
5345
|
"delete",
|
@@ -5351,19 +5351,19 @@ const { event: jt } = je, O0 = (l = "myStore") => Dd(l, {
|
|
5351
5351
|
], fa = Pe([]);
|
5352
5352
|
function sl() {
|
5353
5353
|
function l(t) {
|
5354
|
-
fa.value =
|
5354
|
+
fa.value = H0.filter((i) => !t.includes(i));
|
5355
5355
|
}
|
5356
5356
|
function e(t) {
|
5357
5357
|
return fa.value.includes(t);
|
5358
5358
|
}
|
5359
5359
|
return { can: e, setPermissions: l, permissions: fa };
|
5360
5360
|
}
|
5361
|
-
const
|
5361
|
+
const I0 = (l) => ({
|
5362
5362
|
onChange: (...e) => {
|
5363
5363
|
const t = e[2].form$.el$(l);
|
5364
5364
|
t && "clear" in t && t.clear(), t && "updateItems" in t && t.updateItems();
|
5365
5365
|
}
|
5366
|
-
}),
|
5366
|
+
}), B0 = (l = {}) => ({
|
5367
5367
|
search: !0,
|
5368
5368
|
clearOnSearch: !0,
|
5369
5369
|
type: "select",
|
@@ -5373,7 +5373,7 @@ const H0 = (l) => ({
|
|
5373
5373
|
native: !1,
|
5374
5374
|
formatter: (e) => W.get(e.getValue(), W.get(l, "labelProp")),
|
5375
5375
|
...l
|
5376
|
-
}),
|
5376
|
+
}), N0 = (l = {}) => ({
|
5377
5377
|
search: !0,
|
5378
5378
|
clearOnSearch: !0,
|
5379
5379
|
type: "select",
|
@@ -5381,7 +5381,7 @@ const H0 = (l) => ({
|
|
5381
5381
|
native: !1,
|
5382
5382
|
formatter: (e) => W.get(e.getValue(), W.get(l, "labelProp"), e.getValue()),
|
5383
5383
|
...l
|
5384
|
-
}),
|
5384
|
+
}), W0 = (l = {}) => ({
|
5385
5385
|
search: !0,
|
5386
5386
|
clearOnSearch: !0,
|
5387
5387
|
type: "multiselect",
|
@@ -5405,12 +5405,12 @@ const H0 = (l) => ({
|
|
5405
5405
|
}), sc = (l = {}) => ({
|
5406
5406
|
type: "date",
|
5407
5407
|
...l
|
5408
|
-
}),
|
5408
|
+
}), V0 = (l, e = {}) => ({
|
5409
5409
|
addClass: ["bg-gray-100", "p-4", "rounded-lg", ""],
|
5410
5410
|
type: "group",
|
5411
5411
|
label: l,
|
5412
5412
|
schema: e
|
5413
|
-
}),
|
5413
|
+
}), G0 = (l = {}) => ({
|
5414
5414
|
type: "multifile",
|
5415
5415
|
label: l == null ? void 0 : l.title,
|
5416
5416
|
placeholder: l == null ? void 0 : l.title,
|
@@ -5424,30 +5424,30 @@ const H0 = (l) => ({
|
|
5424
5424
|
object: !0,
|
5425
5425
|
storeFile: "hash",
|
5426
5426
|
...l
|
5427
|
-
}),
|
5428
|
-
normalSelect:
|
5429
|
-
multiSelect:
|
5430
|
-
multiFile:
|
5431
|
-
hasRel:
|
5432
|
-
select:
|
5433
|
-
group:
|
5427
|
+
}), $0 = {
|
5428
|
+
normalSelect: N0,
|
5429
|
+
multiSelect: W0,
|
5430
|
+
multiFile: G0,
|
5431
|
+
hasRel: I0,
|
5432
|
+
select: B0,
|
5433
|
+
group: V0,
|
5434
5434
|
tags: nc,
|
5435
5435
|
date: sc
|
5436
5436
|
};
|
5437
5437
|
let rc = {};
|
5438
|
-
function
|
5438
|
+
function U0({ form: l, fieldName: e, field: t }) {
|
5439
5439
|
return Array.isArray(W.get(l, e)) && W.has(t, "valueProp");
|
5440
5440
|
}
|
5441
5441
|
function md(l, e) {
|
5442
5442
|
let t = {}, i = !1;
|
5443
5443
|
for (let n in l) {
|
5444
|
-
let r =
|
5444
|
+
let r = K0(n, e);
|
5445
5445
|
if (!r)
|
5446
5446
|
continue;
|
5447
5447
|
i = !0;
|
5448
|
-
let a =
|
5448
|
+
let a = j0(r), u = n;
|
5449
5449
|
const d = W.get(r, "valueProp", !1);
|
5450
|
-
if (d && (u += "." + d),
|
5450
|
+
if (d && (u += "." + d), U0({
|
5451
5451
|
form: l,
|
5452
5452
|
fieldName: n,
|
5453
5453
|
field: r
|
@@ -5459,13 +5459,13 @@ function md(l, e) {
|
|
5459
5459
|
}
|
5460
5460
|
return i ? t : l;
|
5461
5461
|
}
|
5462
|
-
function
|
5462
|
+
function j0(l) {
|
5463
5463
|
return "sendKey" in l ? l.sendKey : l.field;
|
5464
5464
|
}
|
5465
|
-
function
|
5465
|
+
function K0(l, e) {
|
5466
5466
|
return e.find((t) => t.field == l);
|
5467
5467
|
}
|
5468
|
-
function
|
5468
|
+
function q0(l) {
|
5469
5469
|
let e = l.filter((r) => r.isHeader && r.field !== "_actions_");
|
5470
5470
|
const t = l.find((r) => r.field === "_actions_");
|
5471
5471
|
let i = {
|
@@ -5490,14 +5490,14 @@ function K0(l) {
|
|
5490
5490
|
headerSort: !1
|
5491
5491
|
}), e;
|
5492
5492
|
}
|
5493
|
-
function
|
5493
|
+
function J0(l) {
|
5494
5494
|
for (const e of l)
|
5495
5495
|
"init" in e && e.init();
|
5496
5496
|
}
|
5497
|
-
const
|
5497
|
+
const X0 = (l) => {
|
5498
5498
|
const e = W.get(rc, l);
|
5499
5499
|
return e ? ky(e) : "";
|
5500
|
-
},
|
5500
|
+
}, Y0 = (l) => ({ url: e, key: t, foreignKey: i, dataKey: n, change: r } = {
|
5501
5501
|
url: !1,
|
5502
5502
|
key: !1,
|
5503
5503
|
foreignKey: !1,
|
@@ -5525,21 +5525,21 @@ const J0 = (l) => {
|
|
5525
5525
|
u = typeof u == "string" ? u : "";
|
5526
5526
|
const m = await Pt.get(d + v + "search=" + u);
|
5527
5527
|
return r || (r = (C) => C), r(W.get(m, "data.data", []));
|
5528
|
-
},
|
5528
|
+
}, Z0 = (l, e) => l({ getRegisterField: X0, axios: Pt, get: Y0(e), getSafe: W.get, useFields: $0 }), Q0 = (l) => {
|
5529
5529
|
rc = l;
|
5530
5530
|
};
|
5531
|
-
function
|
5532
|
-
const { setPermissions: a } = sl(), u =
|
5533
|
-
u.query = r || "", u.fields =
|
5531
|
+
function e1({ fields: l, hiddenActions: e, options: t, route: i, structure: n, query: r }) {
|
5532
|
+
const { setPermissions: a } = sl(), u = z0("Store-" + parseInt(Math.random() * 1e7));
|
5533
|
+
u.query = r || "", u.fields = Z0(l, u), je.event("beforeFormueInit");
|
5534
5534
|
const d = u.getModelKey(i), f = {
|
5535
5535
|
create: typeof i == "string" ? i : i.create,
|
5536
5536
|
update: typeof i == "string" ? i : i.update,
|
5537
5537
|
delete: typeof i == "string" ? i : i.delete,
|
5538
5538
|
index: typeof i == "string" ? i : i.index
|
5539
5539
|
};
|
5540
|
-
return u.routes[d] = f, u.loadItems(), u.options = t, a(e), u.structure = n,
|
5540
|
+
return u.routes[d] = f, u.loadItems(), u.options = t, a(e), u.structure = n, J0(u.flatFields), u;
|
5541
5541
|
}
|
5542
|
-
const
|
5542
|
+
const t1 = {
|
5543
5543
|
clear: "Clear",
|
5544
5544
|
no: "No",
|
5545
5545
|
yes: "yes",
|
@@ -5577,7 +5577,7 @@ const e1 = {
|
|
5577
5577
|
active_filter: "Active filter",
|
5578
5578
|
not_null: "Not Null",
|
5579
5579
|
null: "Null"
|
5580
|
-
},
|
5580
|
+
}, i1 = {
|
5581
5581
|
clear: "پاک کردن",
|
5582
5582
|
no: "خیر",
|
5583
5583
|
yes: "بله",
|
@@ -5623,14 +5623,14 @@ const e1 = {
|
|
5623
5623
|
between: "از میان",
|
5624
5624
|
not_null: "دارای مقدار",
|
5625
5625
|
null: "بدون مقدار"
|
5626
|
-
},
|
5627
|
-
en:
|
5628
|
-
fa:
|
5626
|
+
}, n1 = {
|
5627
|
+
en: t1,
|
5628
|
+
fa: i1
|
5629
5629
|
}, fn = Dd("formuCrudLangs", {
|
5630
5630
|
state: () => ({
|
5631
5631
|
lang: "fa",
|
5632
5632
|
dir: "rtl",
|
5633
|
-
langs:
|
5633
|
+
langs: n1
|
5634
5634
|
}),
|
5635
5635
|
getters: {
|
5636
5636
|
currentLang(l) {
|
@@ -5771,7 +5771,7 @@ class be {
|
|
5771
5771
|
return t;
|
5772
5772
|
}
|
5773
5773
|
}
|
5774
|
-
let
|
5774
|
+
let s1 = class oc extends ze {
|
5775
5775
|
constructor(e, t, i) {
|
5776
5776
|
super(e), this.element = t, this.container = this._lookupContainer(), this.parent = i, this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this), this.destroyed = !1;
|
5777
5777
|
}
|
@@ -5923,7 +5923,7 @@ class se extends ze {
|
|
5923
5923
|
//////// Popups Management ////////
|
5924
5924
|
///////////////////////////////////
|
5925
5925
|
popup(e, t) {
|
5926
|
-
return new
|
5926
|
+
return new s1(this.table, e, t);
|
5927
5927
|
}
|
5928
5928
|
///////////////////////////////////
|
5929
5929
|
//////// Alert Management ////////
|
@@ -5935,7 +5935,7 @@ class se extends ze {
|
|
5935
5935
|
return this.table.alertManager.clear();
|
5936
5936
|
}
|
5937
5937
|
}
|
5938
|
-
var
|
5938
|
+
var r1 = {
|
5939
5939
|
rownum: function(l, e, t, i, n, r) {
|
5940
5940
|
return r.getPosition();
|
5941
5941
|
}
|
@@ -5980,9 +5980,9 @@ const sn = class sn extends se {
|
|
5980
5980
|
}
|
5981
5981
|
};
|
5982
5982
|
P(sn, "moduleName", "accessor"), //load defaults
|
5983
|
-
P(sn, "accessors",
|
5983
|
+
P(sn, "accessors", r1);
|
5984
5984
|
let xa = sn;
|
5985
|
-
var
|
5985
|
+
var o1 = {
|
5986
5986
|
method: "GET"
|
5987
5987
|
};
|
5988
5988
|
function Ra(l, e) {
|
@@ -5998,16 +5998,16 @@ function Ra(l, e) {
|
|
5998
5998
|
t.push({ key: e, value: l });
|
5999
5999
|
return t;
|
6000
6000
|
}
|
6001
|
-
function
|
6001
|
+
function a1(l) {
|
6002
6002
|
var e = Ra(l), t = [];
|
6003
6003
|
return e.forEach(function(i) {
|
6004
6004
|
t.push(encodeURIComponent(i.key) + "=" + encodeURIComponent(i.value));
|
6005
6005
|
}), t.join("&");
|
6006
6006
|
}
|
6007
6007
|
function ac(l, e, t) {
|
6008
|
-
return l && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() == "get") && (e.method = "get", l += (l.includes("?") ? "&" : "?") +
|
6008
|
+
return l && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() == "get") && (e.method = "get", l += (l.includes("?") ? "&" : "?") + a1(t)), l;
|
6009
6009
|
}
|
6010
|
-
function
|
6010
|
+
function l1(l, e, t) {
|
6011
6011
|
var i;
|
6012
6012
|
return new Promise((n, r) => {
|
6013
6013
|
if (l = this.urlGenerator.call(this.table, l, e, t), e.method.toUpperCase() != "GET")
|
@@ -6041,7 +6041,7 @@ function _a(l, e) {
|
|
6041
6041
|
t.push({ key: e, value: l });
|
6042
6042
|
return t;
|
6043
6043
|
}
|
6044
|
-
var
|
6044
|
+
var h1 = {
|
6045
6045
|
json: {
|
6046
6046
|
headers: {
|
6047
6047
|
"Content-Type": "application/json"
|
@@ -6102,9 +6102,9 @@ const Tt = class Tt extends se {
|
|
6102
6102
|
}
|
6103
6103
|
};
|
6104
6104
|
P(Tt, "moduleName", "ajax"), //load defaults
|
6105
|
-
P(Tt, "defaultConfig",
|
6105
|
+
P(Tt, "defaultConfig", o1), P(Tt, "defaultURLGenerator", ac), P(Tt, "defaultLoaderPromise", l1), P(Tt, "contentTypeFormatters", h1);
|
6106
6106
|
let Ta = Tt;
|
6107
|
-
var
|
6107
|
+
var u1 = {
|
6108
6108
|
replace: function(l) {
|
6109
6109
|
return this.table.setData(l);
|
6110
6110
|
},
|
@@ -6114,7 +6114,7 @@ var h1 = {
|
|
6114
6114
|
insert: function(l) {
|
6115
6115
|
return this.table.addData(l);
|
6116
6116
|
}
|
6117
|
-
},
|
6117
|
+
}, d1 = {
|
6118
6118
|
table: function(l) {
|
6119
6119
|
var e = [], t = !0, i = this.table.columnManager.columns, n = [], r = [];
|
6120
6120
|
return l = l.split(`
|
@@ -6137,16 +6137,16 @@ var h1 = {
|
|
6137
6137
|
}), r.push(u);
|
6138
6138
|
}), r) : !1;
|
6139
6139
|
}
|
6140
|
-
}, d1 = {
|
6141
|
-
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
6142
6140
|
}, c1 = {
|
6141
|
+
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
6142
|
+
}, f1 = {
|
6143
6143
|
copyToClipboard: function(l) {
|
6144
6144
|
this.table.modules.edit.currentCell || this.table.modExists("clipboard", !0) && this.table.modules.clipboard.copy(!1, !0);
|
6145
6145
|
}
|
6146
|
-
},
|
6146
|
+
}, p1 = {
|
6147
6147
|
keybindings: {
|
6148
|
-
bindings:
|
6149
|
-
actions:
|
6148
|
+
bindings: c1,
|
6149
|
+
actions: f1
|
6150
6150
|
}
|
6151
6151
|
};
|
6152
6152
|
const ai = class ai extends se {
|
@@ -6235,10 +6235,10 @@ const ai = class ai extends se {
|
|
6235
6235
|
return window.clipboardData && window.clipboardData.getData ? t = window.clipboardData.getData("Text") : e.clipboardData && e.clipboardData.getData ? t = e.clipboardData.getData("text/plain") : e.originalEvent && e.originalEvent.clipboardData.getData && (t = e.originalEvent.clipboardData.getData("text/plain")), t;
|
6236
6236
|
}
|
6237
6237
|
};
|
6238
|
-
P(ai, "moduleName", "clipboard"), P(ai, "moduleExtensions",
|
6239
|
-
P(ai, "pasteActions",
|
6238
|
+
P(ai, "moduleName", "clipboard"), P(ai, "moduleExtensions", p1), //load defaults
|
6239
|
+
P(ai, "pasteActions", u1), P(ai, "pasteParsers", d1);
|
6240
6240
|
let Sa = ai;
|
6241
|
-
class
|
6241
|
+
class g1 {
|
6242
6242
|
constructor(e) {
|
6243
6243
|
return this._row = e, new Proxy(this, {
|
6244
6244
|
get: function(t, i, n) {
|
@@ -7165,7 +7165,7 @@ class Be extends ze {
|
|
7165
7165
|
return this.component || (this.component = new Cr(this)), this.component;
|
7166
7166
|
}
|
7167
7167
|
}
|
7168
|
-
var
|
7168
|
+
var m1 = {
|
7169
7169
|
avg: function(l, e, t) {
|
7170
7170
|
var i = 0, n = typeof t.precision < "u" ? t.precision : 2;
|
7171
7171
|
return l.length && (i = l.reduce(function(r, a) {
|
@@ -7360,7 +7360,7 @@ const li = class li extends se {
|
|
7360
7360
|
//generate stats row
|
7361
7361
|
generateRow(e, t) {
|
7362
7362
|
var i = this.generateRowData(e, t), n;
|
7363
|
-
return this.table.modExists("mutator") && this.table.modules.mutator.disable(), n = new Be(i, this, "calc"), this.table.modExists("mutator") && this.table.modules.mutator.enable(), n.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), n.component = !1, n.getComponent = () => (n.component || (n.component = new
|
7363
|
+
return this.table.modExists("mutator") && this.table.modules.mutator.disable(), n = new Be(i, this, "calc"), this.table.modExists("mutator") && this.table.modules.mutator.enable(), n.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), n.component = !1, n.getComponent = () => (n.component || (n.component = new g1(n)), n.component), n.generateCells = () => {
|
7364
7364
|
var r = [];
|
7365
7365
|
this.table.columnManager.columnsByIndex.forEach((a) => {
|
7366
7366
|
this.genColumn.setField(a.getField()), this.genColumn.hozAlign = a.hozAlign, a.definition[e + "CalcFormatter"] && this.table.modExists("format") ? this.genColumn.modules.format = {
|
@@ -7421,7 +7421,7 @@ const li = class li extends se {
|
|
7421
7421
|
}
|
7422
7422
|
};
|
7423
7423
|
P(li, "moduleName", "columnCalcs"), //load defaults
|
7424
|
-
P(li, "calculations",
|
7424
|
+
P(li, "calculations", m1);
|
7425
7425
|
let Ma = li;
|
7426
7426
|
class dc extends se {
|
7427
7427
|
constructor(e) {
|
@@ -7593,7 +7593,7 @@ class dc extends se {
|
|
7593
7593
|
}
|
7594
7594
|
}
|
7595
7595
|
P(dc, "moduleName", "dataTree");
|
7596
|
-
function
|
7596
|
+
function b1(l, e = {}, t) {
|
7597
7597
|
var i = e.delimiter ? e.delimiter : ",", n = [], r = [];
|
7598
7598
|
l.forEach((a) => {
|
7599
7599
|
var u = [];
|
@@ -7628,7 +7628,7 @@ function m1(l, e = {}, t) {
|
|
7628
7628
|
}), r.length && n.unshift(r.join(i)), n = n.join(`
|
7629
7629
|
`), e.bom && (n = "\uFEFF" + n), t(n, "text/csv");
|
7630
7630
|
}
|
7631
|
-
function
|
7631
|
+
function v1(l, e, t) {
|
7632
7632
|
var i = [];
|
7633
7633
|
l.forEach((n) => {
|
7634
7634
|
var r = {};
|
@@ -7649,7 +7649,7 @@ function b1(l, e, t) {
|
|
7649
7649
|
}
|
7650
7650
|
}), i = JSON.stringify(i, null, " "), t(i, "application/json");
|
7651
7651
|
}
|
7652
|
-
function
|
7652
|
+
function w1(l, e = {}, t) {
|
7653
7653
|
var i = [], n = [], r = {}, a = e.rowGroupStyles || {
|
7654
7654
|
fontStyle: "bold",
|
7655
7655
|
fontSize: 12,
|
@@ -7702,7 +7702,7 @@ function v1(l, e = {}, t) {
|
|
7702
7702
|
v.text(f, 40, 30);
|
7703
7703
|
}), r.head = i, r.body = n, v.autoTable(r), e.documentProcessing && e.documentProcessing(v), t(v.output("arraybuffer"), "application/pdf");
|
7704
7704
|
}
|
7705
|
-
function
|
7705
|
+
function y1(l, e, t) {
|
7706
7706
|
var i = this, n = e.sheetName || "Sheet1", r = this.dependencyRegistry.lookup("XLSX"), a = r.utils.book_new(), u = new ze(this), d = "compress" in e ? e.compress : !0, f = e.writeOptions || { bookType: "xlsx", bookSST: !0, compression: d }, p;
|
7707
7707
|
f.type = "binary", a.SheetNames = [], a.Sheets = {};
|
7708
7708
|
function v() {
|
@@ -7738,10 +7738,10 @@ function w1(l, e, t) {
|
|
7738
7738
|
}
|
7739
7739
|
p = r.write(a, f), t(C(p), "application/octet-stream");
|
7740
7740
|
}
|
7741
|
-
function
|
7741
|
+
function C1(l, e, t) {
|
7742
7742
|
this.modExists("export", !0) && t(this.modules.export.generateHTMLTable(l), "text/html");
|
7743
7743
|
}
|
7744
|
-
function
|
7744
|
+
function E1(l, e, t) {
|
7745
7745
|
const i = [];
|
7746
7746
|
l.forEach((n) => {
|
7747
7747
|
const r = {};
|
@@ -7763,13 +7763,13 @@ function C1(l, e, t) {
|
|
7763
7763
|
}), t(i.join(`
|
7764
7764
|
`), "application/x-ndjson");
|
7765
7765
|
}
|
7766
|
-
var
|
7767
|
-
csv:
|
7768
|
-
json:
|
7769
|
-
jsonLines:
|
7770
|
-
pdf:
|
7771
|
-
xlsx:
|
7772
|
-
html:
|
7766
|
+
var x1 = {
|
7767
|
+
csv: b1,
|
7768
|
+
json: v1,
|
7769
|
+
jsonLines: E1,
|
7770
|
+
pdf: w1,
|
7771
|
+
xlsx: y1,
|
7772
|
+
html: C1
|
7773
7773
|
};
|
7774
7774
|
const rn = class rn extends se {
|
7775
7775
|
constructor(e) {
|
@@ -7822,7 +7822,7 @@ const rn = class rn extends se {
|
|
7822
7822
|
}
|
7823
7823
|
};
|
7824
7824
|
P(rn, "moduleName", "download"), //load defaults
|
7825
|
-
P(rn, "downloaders",
|
7825
|
+
P(rn, "downloaders", x1);
|
7826
7826
|
let ka = rn;
|
7827
7827
|
function Er(l, e) {
|
7828
7828
|
var t = e.mask, i = typeof e.maskLetterChar < "u" ? e.maskLetterChar : "A", n = typeof e.maskNumberChar < "u" ? e.maskNumberChar : "9", r = typeof e.maskWildcardChar < "u" ? e.maskWildcardChar : "*";
|
@@ -7855,7 +7855,7 @@ function Er(l, e) {
|
|
7855
7855
|
u.keyCode > 46 && e.maskAutoFill && a(l.value.length);
|
7856
7856
|
}), l.placeholder || (l.placeholder = t), e.maskAutoFill && a(l.value.length);
|
7857
7857
|
}
|
7858
|
-
function
|
7858
|
+
function R1(l, e, t, i, n) {
|
7859
7859
|
var r = l.getValue(), a = document.createElement("input");
|
7860
7860
|
if (a.setAttribute("type", n.search ? "search" : "text"), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", n.elementAttributes && typeof n.elementAttributes == "object")
|
7861
7861
|
for (let d in n.elementAttributes)
|
@@ -7881,7 +7881,7 @@ function x1(l, e, t, i, n) {
|
|
7881
7881
|
}
|
7882
7882
|
}), n.mask && Er(a, n), a;
|
7883
7883
|
}
|
7884
|
-
function
|
7884
|
+
function _1(l, e, t, i, n) {
|
7885
7885
|
var r = l.getValue(), a = n.verticalNavigation || "hybrid", u = String(r !== null && typeof r < "u" ? r : ""), d = document.createElement("textarea"), f = 0;
|
7886
7886
|
if (d.style.display = "block", d.style.padding = "2px", d.style.height = "100%", d.style.width = "100%", d.style.boxSizing = "border-box", d.style.whiteSpace = "pre-wrap", d.style.resize = "none", n.elementAttributes && typeof n.elementAttributes == "object")
|
7887
7887
|
for (let v in n.elementAttributes)
|
@@ -7919,7 +7919,7 @@ function R1(l, e, t, i, n) {
|
|
7919
7919
|
}
|
7920
7920
|
}), n.mask && Er(d, n), d;
|
7921
7921
|
}
|
7922
|
-
function
|
7922
|
+
function T1(l, e, t, i, n) {
|
7923
7923
|
var r = l.getValue(), a = n.verticalNavigation || "editor", u = document.createElement("input");
|
7924
7924
|
if (u.setAttribute("type", "number"), typeof n.max < "u" && u.setAttribute("max", n.max), typeof n.min < "u" && u.setAttribute("min", n.min), typeof n.step < "u" && u.setAttribute("step", n.step), u.style.padding = "4px", u.style.width = "100%", u.style.boxSizing = "border-box", n.elementAttributes && typeof n.elementAttributes == "object")
|
7925
7925
|
for (let p in n.elementAttributes)
|
@@ -7954,7 +7954,7 @@ function _1(l, e, t, i, n) {
|
|
7954
7954
|
}
|
7955
7955
|
}), n.mask && Er(u, n), u;
|
7956
7956
|
}
|
7957
|
-
function
|
7957
|
+
function S1(l, e, t, i, n) {
|
7958
7958
|
var r = l.getValue(), a = document.createElement("input");
|
7959
7959
|
if (a.setAttribute("type", "range"), typeof n.max < "u" && a.setAttribute("max", n.max), typeof n.min < "u" && a.setAttribute("min", n.min), typeof n.step < "u" && a.setAttribute("step", n.step), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", n.elementAttributes && typeof n.elementAttributes == "object")
|
7960
7960
|
for (let d in n.elementAttributes)
|
@@ -7979,7 +7979,7 @@ function T1(l, e, t, i, n) {
|
|
7979
7979
|
}
|
7980
7980
|
}), a;
|
7981
7981
|
}
|
7982
|
-
function
|
7982
|
+
function M1(l, e, t, i, n) {
|
7983
7983
|
var r = n.format, a = n.verticalNavigation || "editor", u = r ? window.DateTime || luxon.DateTime : null, d = l.getValue(), f = document.createElement("input");
|
7984
7984
|
function p(m) {
|
7985
7985
|
var C;
|
@@ -8030,7 +8030,7 @@ function S1(l, e, t, i, n) {
|
|
8030
8030
|
}
|
8031
8031
|
}), f;
|
8032
8032
|
}
|
8033
|
-
function
|
8033
|
+
function k1(l, e, t, i, n) {
|
8034
8034
|
var r = n.format, a = n.verticalNavigation || "editor", u = r ? window.DateTime || luxon.DateTime : null, d, f = l.getValue(), p = document.createElement("input");
|
8035
8035
|
if (p.type = "time", p.style.padding = "4px", p.style.width = "100%", p.style.boxSizing = "border-box", n.elementAttributes && typeof n.elementAttributes == "object")
|
8036
8036
|
for (let m in n.elementAttributes)
|
@@ -8077,7 +8077,7 @@ function M1(l, e, t, i, n) {
|
|
8077
8077
|
}
|
8078
8078
|
}), p;
|
8079
8079
|
}
|
8080
|
-
function
|
8080
|
+
function L1(l, e, t, i, n) {
|
8081
8081
|
var r = n.format, a = n.verticalNavigation || "editor", u = r ? this.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null, d, f = l.getValue(), p = document.createElement("input");
|
8082
8082
|
if (p.type = "datetime-local", p.style.padding = "4px", p.style.width = "100%", p.style.boxSizing = "border-box", n.elementAttributes && typeof n.elementAttributes == "object")
|
8083
8083
|
for (let m in n.elementAttributes)
|
@@ -8124,7 +8124,7 @@ function k1(l, e, t, i, n) {
|
|
8124
8124
|
}
|
8125
8125
|
}), p;
|
8126
8126
|
}
|
8127
|
-
let
|
8127
|
+
let D1 = class {
|
8128
8128
|
constructor(e, t, i, n, r, a) {
|
8129
8129
|
this.edit = e, this.table = e.table, this.cell = t, this.params = this._initializeParams(a), this.data = [], this.displayItems = [], this.currentItems = [], this.focusedItem = null, this.input = this._createInputElement(), this.listEl = this._createListElement(), this.initialValues = null, this.isFilter = t.getType() === "header", this.filterTimeout = null, this.filtered = !1, this.typing = !1, this.values = [], this.popup = null, this.listIteration = 0, this.lastAction = "", this.filterTerm = "", this.blurable = !0, this.actions = {
|
8130
8130
|
success: n,
|
@@ -8490,11 +8490,11 @@ let L1 = class {
|
|
8490
8490
|
t === "" && (t = this.params.emptyValue), this.actions.success(t), this.isFilter && (this.initialValues = t && !Array.isArray(t) ? [t] : t, this.currentItems = []);
|
8491
8491
|
}
|
8492
8492
|
};
|
8493
|
-
function
|
8494
|
-
var r = new
|
8493
|
+
function A1(l, e, t, i, n) {
|
8494
|
+
var r = new D1(this, l, e, t, i, n);
|
8495
8495
|
return r.input;
|
8496
8496
|
}
|
8497
|
-
function
|
8497
|
+
function F1(l, e, t, i, n) {
|
8498
8498
|
var r = this, a = l.getElement(), u = l.getValue(), d = a.getElementsByTagName("svg").length || 5, f = a.getElementsByTagName("svg")[0] ? a.getElementsByTagName("svg")[0].getAttribute("width") : 14, p = [], v = document.createElement("div"), m = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
8499
8499
|
function C(L) {
|
8500
8500
|
p.forEach(function(U, I) {
|
@@ -8542,7 +8542,7 @@ function A1(l, e, t, i, n) {
|
|
8542
8542
|
}
|
8543
8543
|
}), v;
|
8544
8544
|
}
|
8545
|
-
function
|
8545
|
+
function O1(l, e, t, i, n) {
|
8546
8546
|
var r = l.getElement(), a = typeof n.max > "u" ? r.getElementsByTagName("div")[0] && r.getElementsByTagName("div")[0].getAttribute("max") || 100 : n.max, u = typeof n.min > "u" ? r.getElementsByTagName("div")[0] && r.getElementsByTagName("div")[0].getAttribute("min") || 0 : n.min, d = (a - u) / 100, f = l.getValue() || 0, p = document.createElement("div"), v = document.createElement("div"), m, C;
|
8547
8547
|
function x() {
|
8548
8548
|
var T = window.getComputedStyle(r, null), D = d * Math.round(v.offsetWidth / ((r.clientWidth - parseInt(T.getPropertyValue("padding-left")) - parseInt(T.getPropertyValue("padding-right"))) / 100)) + u;
|
@@ -8579,7 +8579,7 @@ function F1(l, e, t, i, n) {
|
|
8579
8579
|
i();
|
8580
8580
|
}), v;
|
8581
8581
|
}
|
8582
|
-
function
|
8582
|
+
function P1(l, e, t, i, n) {
|
8583
8583
|
var r = l.getValue(), a = document.createElement("input"), u = n.tristate, d = typeof n.indeterminateValue > "u" ? null : n.indeterminateValue, f = !1, p = Object.keys(n).includes("trueValue"), v = Object.keys(n).includes("falseValue");
|
8584
8584
|
if (a.setAttribute("type", "checkbox"), a.style.marginTop = "5px", a.style.boxSizing = "border-box", n.elementAttributes && typeof n.elementAttributes == "object")
|
8585
8585
|
for (let C in n.elementAttributes)
|
@@ -8599,7 +8599,7 @@ function O1(l, e, t, i, n) {
|
|
8599
8599
|
C.keyCode == 13 && t(m()), C.keyCode == 27 && i();
|
8600
8600
|
}), a;
|
8601
8601
|
}
|
8602
|
-
function
|
8602
|
+
function z1(l, e, t, i, n) {
|
8603
8603
|
var r = l._getSelf().column, a, u, d;
|
8604
8604
|
function f(p) {
|
8605
8605
|
var v = p.getValue(), m = "input";
|
@@ -8619,19 +8619,19 @@ function P1(l, e, t, i, n) {
|
|
8619
8619
|
}
|
8620
8620
|
return a = n.editorLookup ? n.editorLookup(l) : f(l), n.paramsLookup && (d = typeof n.paramsLookup == "function" ? n.paramsLookup(a, l) : n.paramsLookup[a]), u = this.table.modules.edit.lookupEditor(a, r), u.call(this, l, e, t, i, d || {});
|
8621
8621
|
}
|
8622
|
-
var
|
8623
|
-
input:
|
8624
|
-
textarea:
|
8625
|
-
number:
|
8626
|
-
range:
|
8627
|
-
date:
|
8628
|
-
time:
|
8629
|
-
datetime:
|
8630
|
-
list:
|
8631
|
-
star:
|
8632
|
-
progress:
|
8633
|
-
tickCross:
|
8634
|
-
adaptable:
|
8622
|
+
var H1 = {
|
8623
|
+
input: R1,
|
8624
|
+
textarea: _1,
|
8625
|
+
number: T1,
|
8626
|
+
range: S1,
|
8627
|
+
date: M1,
|
8628
|
+
time: k1,
|
8629
|
+
datetime: L1,
|
8630
|
+
list: A1,
|
8631
|
+
star: F1,
|
8632
|
+
progress: O1,
|
8633
|
+
tickCross: P1,
|
8634
|
+
adaptable: z1
|
8635
8635
|
};
|
8636
8636
|
const Un = class Un extends se {
|
8637
8637
|
constructor(e) {
|
@@ -8908,7 +8908,7 @@ const Un = class Un extends se {
|
|
8908
8908
|
}
|
8909
8909
|
};
|
8910
8910
|
P(Un, "moduleName", "edit"), //load defaults
|
8911
|
-
P(Un, "editors",
|
8911
|
+
P(Un, "editors", H1);
|
8912
8912
|
let La = Un;
|
8913
8913
|
class bd {
|
8914
8914
|
constructor(e, t, i, n) {
|
@@ -8920,7 +8920,7 @@ class pa {
|
|
8920
8920
|
this.value = e, this.component = t || !1, this.width = i, this.height = n, this.depth = r;
|
8921
8921
|
}
|
8922
8922
|
}
|
8923
|
-
var
|
8923
|
+
var I1 = {}, B1 = {
|
8924
8924
|
visible: function() {
|
8925
8925
|
return this.rowManager.getVisibleRows(!1, !0);
|
8926
8926
|
},
|
@@ -9183,9 +9183,9 @@ const hi = class hi extends se {
|
|
9183
9183
|
}
|
9184
9184
|
}
|
9185
9185
|
};
|
9186
|
-
P(hi, "moduleName", "export"), P(hi, "columnLookups",
|
9186
|
+
P(hi, "moduleName", "export"), P(hi, "columnLookups", I1), P(hi, "rowLookups", B1);
|
9187
9187
|
let Da = hi;
|
9188
|
-
var
|
9188
|
+
var N1 = {
|
9189
9189
|
//equal to
|
9190
9190
|
"=": function(l, e, t, i) {
|
9191
9191
|
return e == l;
|
@@ -9596,18 +9596,18 @@ const qt = class qt extends se {
|
|
9596
9596
|
}
|
9597
9597
|
};
|
9598
9598
|
P(qt, "moduleName", "filter"), //load defaults
|
9599
|
-
P(qt, "filters",
|
9599
|
+
P(qt, "filters", N1);
|
9600
9600
|
let Aa = qt;
|
9601
|
-
function
|
9601
|
+
function W1(l, e, t) {
|
9602
9602
|
return this.emptyToSpace(this.sanitizeHTML(l.getValue()));
|
9603
9603
|
}
|
9604
|
-
function
|
9604
|
+
function V1(l, e, t) {
|
9605
9605
|
return l.getValue();
|
9606
9606
|
}
|
9607
|
-
function
|
9607
|
+
function G1(l, e, t) {
|
9608
9608
|
return l.getElement().style.whiteSpace = "pre-wrap", this.emptyToSpace(this.sanitizeHTML(l.getValue()));
|
9609
9609
|
}
|
9610
|
-
function
|
9610
|
+
function $1(l, e, t) {
|
9611
9611
|
var i = parseFloat(l.getValue()), n = "", r, a, u, d, f, p = e.decimal || ".", v = e.thousand || ",", m = e.negativeSign || "-", C = e.symbol || "", x = !!e.symbolAfter, T = typeof e.precision < "u" ? e.precision : 2;
|
9612
9612
|
if (isNaN(i))
|
9613
9613
|
return this.emptyToSpace(this.sanitizeHTML(l.getValue()));
|
@@ -9616,7 +9616,7 @@ function G1(l, e, t) {
|
|
9616
9616
|
a = a.replace(d, "$1" + v + "$2");
|
9617
9617
|
return f = a + u, n === !0 ? (f = "(" + f + ")", x ? f + C : C + f) : x ? n + f + C : n + C + f;
|
9618
9618
|
}
|
9619
|
-
function
|
9619
|
+
function U1(l, e, t) {
|
9620
9620
|
var i = l.getValue(), n = e.urlPrefix || "", r = e.download, a = i, u = document.createElement("a"), d;
|
9621
9621
|
function f(p, v) {
|
9622
9622
|
var m = p.shift(), C = v[m];
|
@@ -9645,7 +9645,7 @@ function $1(l, e, t) {
|
|
9645
9645
|
} else
|
9646
9646
|
return " ";
|
9647
9647
|
}
|
9648
|
-
function
|
9648
|
+
function j1(l, e, t) {
|
9649
9649
|
var i = document.createElement("img"), n = l.getValue();
|
9650
9650
|
switch (e.urlPrefix && (n = e.urlPrefix + l.getValue()), e.urlSuffix && (n = n + e.urlSuffix), i.setAttribute("src", n), typeof e.height) {
|
9651
9651
|
case "number":
|
@@ -9667,11 +9667,11 @@ function U1(l, e, t) {
|
|
9667
9667
|
l.getRow().normalizeHeight();
|
9668
9668
|
}), i;
|
9669
9669
|
}
|
9670
|
-
function
|
9670
|
+
function K1(l, e, t) {
|
9671
9671
|
var i = l.getValue(), n = l.getElement(), r = e.allowEmpty, a = e.allowTruthy, u = Object.keys(e).includes("trueValue"), d = typeof e.tickElement < "u" ? e.tickElement : '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>', f = typeof e.crossElement < "u" ? e.crossElement : '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
9672
9672
|
return u && i === e.trueValue || !u && (a && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (n.setAttribute("aria-checked", !0), d || "") : r && (i === "null" || i === "" || i === null || typeof i > "u") ? (n.setAttribute("aria-checked", "mixed"), "") : (n.setAttribute("aria-checked", !1), f || "");
|
9673
9673
|
}
|
9674
|
-
function
|
9674
|
+
function q1(l, e, t) {
|
9675
9675
|
var i = this.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime"), n = e.inputFormat || "yyyy-MM-dd HH:mm:ss", r = e.outputFormat || "dd/MM/yyyy HH:mm:ss", a = typeof e.invalidPlaceholder < "u" ? e.invalidPlaceholder : "", u = l.getValue();
|
9676
9676
|
if (typeof i < "u") {
|
9677
9677
|
var d;
|
@@ -9679,7 +9679,7 @@ function K1(l, e, t) {
|
|
9679
9679
|
} else
|
9680
9680
|
console.error("Format Error - 'datetime' formatter is dependant on luxon.js");
|
9681
9681
|
}
|
9682
|
-
function
|
9682
|
+
function J1(l, e, t) {
|
9683
9683
|
var i = this.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime"), n = e.inputFormat || "yyyy-MM-dd HH:mm:ss", r = typeof e.invalidPlaceholder < "u" ? e.invalidPlaceholder : "", a = typeof e.suffix < "u" ? e.suffix : !1, u = typeof e.unit < "u" ? e.unit : "days", d = typeof e.humanize < "u" ? e.humanize : !1, f = typeof e.date < "u" ? e.date : i.now(), p = l.getValue();
|
9684
9684
|
if (typeof i < "u") {
|
9685
9685
|
var v;
|
@@ -9687,11 +9687,11 @@ function q1(l, e, t) {
|
|
9687
9687
|
} else
|
9688
9688
|
console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js");
|
9689
9689
|
}
|
9690
|
-
function
|
9690
|
+
function X1(l, e, t) {
|
9691
9691
|
var i = l.getValue();
|
9692
9692
|
return typeof e[i] > "u" ? (console.warn("Missing display value for " + i), i) : e[i];
|
9693
9693
|
}
|
9694
|
-
function
|
9694
|
+
function Y1(l, e, t) {
|
9695
9695
|
var i = l.getValue(), n = l.getElement(), r = e && e.stars ? e.stars : 5, a = document.createElement("span"), u = document.createElementNS("http://www.w3.org/2000/svg", "svg"), d = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', f = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
|
9696
9696
|
a.style.verticalAlign = "middle", u.setAttribute("width", "14"), u.setAttribute("height", "14"), u.setAttribute("viewBox", "0 0 512 512"), u.setAttribute("xml:space", "preserve"), u.style.padding = "0 1px", i = i && !isNaN(i) ? parseInt(i) : 0, i = Math.max(0, Math.min(i, r));
|
9697
9697
|
for (var p = 1; p <= r; p++) {
|
@@ -9700,7 +9700,7 @@ function X1(l, e, t) {
|
|
9700
9700
|
}
|
9701
9701
|
return n.style.whiteSpace = "nowrap", n.style.overflow = "hidden", n.style.textOverflow = "ellipsis", n.setAttribute("aria-label", i), a;
|
9702
9702
|
}
|
9703
|
-
function
|
9703
|
+
function Z1(l, e, t) {
|
9704
9704
|
var i = this.sanitizeHTML(l.getValue()) || 0, n = document.createElement("span"), r = e && e.max ? e.max : 100, a = e && e.min ? e.min : 0, u = e && typeof e.color < "u" ? e.color : ["red", "orange", "green"], d = "#666666", f, p;
|
9705
9705
|
if (!(isNaN(i) || typeof l.getValue() > "u")) {
|
9706
9706
|
switch (n.classList.add("tabulator-traffic-light"), p = parseFloat(i) <= r ? parseFloat(i) : r, p = parseFloat(p) >= a ? parseFloat(p) : a, f = (r - a) / 100, p = Math.round((p - a) / f), typeof u) {
|
@@ -9720,7 +9720,7 @@ function Y1(l, e, t) {
|
|
9720
9720
|
return n.style.backgroundColor = d, n;
|
9721
9721
|
}
|
9722
9722
|
}
|
9723
|
-
function
|
9723
|
+
function Q1(l, e = {}, t) {
|
9724
9724
|
var i = this.sanitizeHTML(l.getValue()) || 0, n = l.getElement(), r = e.max ? e.max : 100, a = e.min ? e.min : 0, u = e.legendAlign ? e.legendAlign : "center", d, f, p, v, m;
|
9725
9725
|
switch (f = parseFloat(i) <= r ? parseFloat(i) : r, f = parseFloat(f) >= a ? parseFloat(f) : a, d = (r - a) / 100, f = Math.round((f - a) / d), typeof e.color) {
|
9726
9726
|
case "string":
|
@@ -9783,31 +9783,31 @@ function Z1(l, e = {}, t) {
|
|
9783
9783
|
n.appendChild(x), x.appendChild(C), v && x.appendChild(T);
|
9784
9784
|
}), "";
|
9785
9785
|
}
|
9786
|
-
function
|
9786
|
+
function ex(l, e, t) {
|
9787
9787
|
return l.getElement().style.backgroundColor = this.sanitizeHTML(l.getValue()), "";
|
9788
9788
|
}
|
9789
|
-
function
|
9789
|
+
function tx(l, e, t) {
|
9790
9790
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>';
|
9791
9791
|
}
|
9792
|
-
function
|
9792
|
+
function ix(l, e, t) {
|
9793
9793
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
9794
9794
|
}
|
9795
|
-
function
|
9795
|
+
function nx(l, e, t) {
|
9796
9796
|
var i = l.getValue(), n = e.size || 15, r = n + "px", a, u, d = e.hasOwnProperty("onValue") ? e.onValue : !0, f = e.hasOwnProperty("offValue") ? e.offValue : !1, p = e.onTruthy ? i : i === d;
|
9797
9797
|
return a = document.createElement("div"), a.classList.add("tabulator-toggle"), p ? (a.classList.add("tabulator-toggle-on"), a.style.flexDirection = "row-reverse", e.onColor && (a.style.background = e.onColor)) : e.offColor && (a.style.background = e.offColor), a.style.width = 2.5 * n + "px", a.style.borderRadius = r, e.clickable && a.addEventListener("click", (v) => {
|
9798
9798
|
l.setValue(p ? f : d);
|
9799
9799
|
}), u = document.createElement("div"), u.classList.add("tabulator-toggle-switch"), u.style.height = r, u.style.width = r, u.style.borderRadius = r, a.appendChild(u), a;
|
9800
9800
|
}
|
9801
|
-
function
|
9801
|
+
function sx(l, e, t) {
|
9802
9802
|
var i = document.createElement("span"), n = l.getRow(), r = l.getTable();
|
9803
9803
|
return n.watchPosition((a) => {
|
9804
9804
|
e.relativeToPage && (a += r.modules.page.getPageSize() * (r.modules.page.getPage() - 1)), i.innerText = a;
|
9805
9805
|
}), i;
|
9806
9806
|
}
|
9807
|
-
function
|
9807
|
+
function rx(l, e, t) {
|
9808
9808
|
return l.getElement().classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
|
9809
9809
|
}
|
9810
|
-
function
|
9810
|
+
function ox(l, e, t) {
|
9811
9811
|
var i, n, r;
|
9812
9812
|
function a(u) {
|
9813
9813
|
var d = u.getValue(), f = "plaintext";
|
@@ -9824,39 +9824,39 @@ function rx(l, e, t) {
|
|
9824
9824
|
}
|
9825
9825
|
return i = e.formatterLookup ? e.formatterLookup(l) : a(l), e.paramsLookup && (r = typeof e.paramsLookup == "function" ? e.paramsLookup(i, l) : e.paramsLookup[i]), n = this.table.modules.format.lookupFormatter(i), n.call(this, l, r || {}, t);
|
9826
9826
|
}
|
9827
|
-
function
|
9827
|
+
function ax(l, e, t) {
|
9828
9828
|
var i = e.delimiter || ",", n = l.getValue(), r = this.table, a;
|
9829
9829
|
return e.valueMap && (typeof e.valueMap == "string" ? a = function(u) {
|
9830
9830
|
return u.map((d) => be.retrieveNestedData(r.options.nestedFieldSeparator, e.valueMap, d));
|
9831
9831
|
} : a = e.valueMap), Array.isArray(n) ? (a && (n = a(n)), n.join(i)) : n;
|
9832
9832
|
}
|
9833
|
-
function
|
9833
|
+
function lx(l, e, t) {
|
9834
9834
|
var i = e.indent || " ", n = typeof e.multiline > "u" ? !0 : e.multiline, r = e.replacer || null, a = l.getValue();
|
9835
9835
|
return n && (l.getElement().style.whiteSpace = "pre-wrap"), JSON.stringify(a, r, i);
|
9836
9836
|
}
|
9837
|
-
var
|
9838
|
-
plaintext:
|
9839
|
-
html:
|
9840
|
-
textarea:
|
9841
|
-
money:
|
9842
|
-
link:
|
9843
|
-
image:
|
9844
|
-
tickCross:
|
9845
|
-
datetime:
|
9846
|
-
datetimediff:
|
9847
|
-
lookup:
|
9848
|
-
star:
|
9849
|
-
traffic:
|
9850
|
-
progress:
|
9851
|
-
color:
|
9852
|
-
buttonTick:
|
9853
|
-
buttonCross:
|
9854
|
-
toggle:
|
9855
|
-
rownum:
|
9856
|
-
handle:
|
9857
|
-
adaptable:
|
9858
|
-
array:
|
9859
|
-
json:
|
9837
|
+
var hx = {
|
9838
|
+
plaintext: W1,
|
9839
|
+
html: V1,
|
9840
|
+
textarea: G1,
|
9841
|
+
money: $1,
|
9842
|
+
link: U1,
|
9843
|
+
image: j1,
|
9844
|
+
tickCross: K1,
|
9845
|
+
datetime: q1,
|
9846
|
+
datetimediff: J1,
|
9847
|
+
lookup: X1,
|
9848
|
+
star: Y1,
|
9849
|
+
traffic: Z1,
|
9850
|
+
progress: Q1,
|
9851
|
+
color: ex,
|
9852
|
+
buttonTick: tx,
|
9853
|
+
buttonCross: ix,
|
9854
|
+
toggle: nx,
|
9855
|
+
rownum: sx,
|
9856
|
+
handle: rx,
|
9857
|
+
adaptable: ox,
|
9858
|
+
array: ax,
|
9859
|
+
json: lx
|
9860
9860
|
};
|
9861
9861
|
const ui = class ui extends se {
|
9862
9862
|
constructor(e) {
|
@@ -9953,7 +9953,7 @@ const ui = class ui extends se {
|
|
9953
9953
|
}
|
9954
9954
|
};
|
9955
9955
|
P(ui, "moduleName", "format"), //load defaults
|
9956
|
-
P(ui, "formatters",
|
9956
|
+
P(ui, "formatters", hx);
|
9957
9957
|
let Fa = ui;
|
9958
9958
|
class cc extends se {
|
9959
9959
|
constructor(e) {
|
@@ -10117,7 +10117,7 @@ class fc extends se {
|
|
10117
10117
|
}
|
10118
10118
|
}
|
10119
10119
|
P(fc, "moduleName", "frozenRows");
|
10120
|
-
class
|
10120
|
+
class ux {
|
10121
10121
|
constructor(e) {
|
10122
10122
|
return this._group = e, this.type = "GroupComponent", new Proxy(this, {
|
10123
10123
|
get: function(t, i, n) {
|
@@ -10370,7 +10370,7 @@ class nn {
|
|
10370
10370
|
}
|
10371
10371
|
//////////////// Object Generation /////////////////
|
10372
10372
|
getComponent() {
|
10373
|
-
return this.component || (this.component = new
|
10373
|
+
return this.component || (this.component = new ux(this)), this.component;
|
10374
10374
|
}
|
10375
10375
|
}
|
10376
10376
|
class pc extends se {
|
@@ -10599,7 +10599,7 @@ class pc extends se {
|
|
10599
10599
|
}
|
10600
10600
|
}
|
10601
10601
|
P(pc, "moduleName", "groupRows");
|
10602
|
-
var
|
10602
|
+
var dx = {
|
10603
10603
|
cellEdit: function(l) {
|
10604
10604
|
l.component.setValueProcessData(l.data.oldValue), l.component.cellRendered();
|
10605
10605
|
},
|
@@ -10614,7 +10614,7 @@ var ux = {
|
|
10614
10614
|
var e = l.data.posFrom - l.data.posTo > 0;
|
10615
10615
|
this.table.rowManager.moveRowActual(l.component, this.table.rowManager.getRowFromPosition(l.data.posFrom), e), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition();
|
10616
10616
|
}
|
10617
|
-
},
|
10617
|
+
}, cx = {
|
10618
10618
|
cellEdit: function(l) {
|
10619
10619
|
l.component.setValueProcessData(l.data.newValue), l.component.cellRendered();
|
10620
10620
|
},
|
@@ -10628,10 +10628,10 @@ var ux = {
|
|
10628
10628
|
rowMove: function(l) {
|
10629
10629
|
this.table.rowManager.moveRowActual(l.component, this.table.rowManager.getRowFromPosition(l.data.posTo), l.data.after), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition();
|
10630
10630
|
}
|
10631
|
-
},
|
10631
|
+
}, fx = {
|
10632
10632
|
undo: ["ctrl + 90", "meta + 90"],
|
10633
10633
|
redo: ["ctrl + 89", "meta + 89"]
|
10634
|
-
},
|
10634
|
+
}, px = {
|
10635
10635
|
undo: function(l) {
|
10636
10636
|
var e = !1;
|
10637
10637
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit.currentCell, e || (l.preventDefault(), this.table.modules.history.undo()));
|
@@ -10640,10 +10640,10 @@ var ux = {
|
|
10640
10640
|
var e = !1;
|
10641
10641
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit.currentCell, e || (l.preventDefault(), this.table.modules.history.redo()));
|
10642
10642
|
}
|
10643
|
-
},
|
10643
|
+
}, gx = {
|
10644
10644
|
keybindings: {
|
10645
|
-
bindings:
|
10646
|
-
actions:
|
10645
|
+
bindings: fx,
|
10646
|
+
actions: px
|
10647
10647
|
}
|
10648
10648
|
};
|
10649
10649
|
const di = class di extends se {
|
@@ -10715,8 +10715,8 @@ const di = class di extends se {
|
|
10715
10715
|
});
|
10716
10716
|
}
|
10717
10717
|
};
|
10718
|
-
P(di, "moduleName", "history"), P(di, "moduleExtensions",
|
10719
|
-
P(di, "undoers",
|
10718
|
+
P(di, "moduleName", "history"), P(di, "moduleExtensions", gx), //load defaults
|
10719
|
+
P(di, "undoers", dx), P(di, "redoers", cx);
|
10720
10720
|
let Oa = di;
|
10721
10721
|
class gc extends se {
|
10722
10722
|
constructor(e) {
|
@@ -10780,7 +10780,7 @@ class gc extends se {
|
|
10780
10780
|
}
|
10781
10781
|
}
|
10782
10782
|
P(gc, "moduleName", "htmlTableImport");
|
10783
|
-
function
|
10783
|
+
function mx(l) {
|
10784
10784
|
var e = [], t = 0, i = 0, n = !1;
|
10785
10785
|
for (let r = 0; r < l.length; r++) {
|
10786
10786
|
let a = l[r], u = l[r + 1];
|
@@ -10810,25 +10810,25 @@ function gx(l) {
|
|
10810
10810
|
}
|
10811
10811
|
return e;
|
10812
10812
|
}
|
10813
|
-
function
|
10813
|
+
function bx(l) {
|
10814
10814
|
try {
|
10815
10815
|
return JSON.parse(l);
|
10816
10816
|
} catch (e) {
|
10817
10817
|
return console.warn("JSON Import Error - File contents is invalid JSON", e), Promise.reject();
|
10818
10818
|
}
|
10819
10819
|
}
|
10820
|
-
function
|
10820
|
+
function vx(l) {
|
10821
10821
|
return l;
|
10822
10822
|
}
|
10823
|
-
function
|
10823
|
+
function wx(l) {
|
10824
10824
|
var e = this.dependencyRegistry.lookup("XLSX"), t = e.read(l), i = t.Sheets[t.SheetNames[0]];
|
10825
10825
|
return e.utils.sheet_to_json(i, { header: 1 });
|
10826
10826
|
}
|
10827
|
-
var
|
10828
|
-
csv:
|
10829
|
-
json:
|
10830
|
-
array:
|
10831
|
-
xlsx:
|
10827
|
+
var yx = {
|
10828
|
+
csv: mx,
|
10829
|
+
json: bx,
|
10830
|
+
array: vx,
|
10831
|
+
xlsx: wx
|
10832
10832
|
};
|
10833
10833
|
const jn = class jn extends se {
|
10834
10834
|
constructor(e) {
|
@@ -10953,7 +10953,7 @@ const jn = class jn extends se {
|
|
10953
10953
|
}
|
10954
10954
|
};
|
10955
10955
|
P(jn, "moduleName", "import"), //load defaults
|
10956
|
-
P(jn, "importers",
|
10956
|
+
P(jn, "importers", yx);
|
10957
10957
|
let Pa = jn;
|
10958
10958
|
class mc extends se {
|
10959
10959
|
constructor(e) {
|
@@ -11106,7 +11106,7 @@ class mc extends se {
|
|
11106
11106
|
}
|
11107
11107
|
}
|
11108
11108
|
P(mc, "moduleName", "interaction");
|
11109
|
-
var
|
11109
|
+
var Cx = {
|
11110
11110
|
navPrev: "shift + 9",
|
11111
11111
|
navNext: 9,
|
11112
11112
|
navUp: 38,
|
@@ -11117,7 +11117,7 @@ var yx = {
|
|
11117
11117
|
scrollPageDown: 34,
|
11118
11118
|
scrollToStart: 36,
|
11119
11119
|
scrollToEnd: 35
|
11120
|
-
},
|
11120
|
+
}, Ex = {
|
11121
11121
|
keyBlock: function(l) {
|
11122
11122
|
l.stopPropagation(), l.preventDefault();
|
11123
11123
|
},
|
@@ -11224,7 +11224,7 @@ const ci = class ci extends se {
|
|
11224
11224
|
}
|
11225
11225
|
};
|
11226
11226
|
P(ci, "moduleName", "keybindings"), //load defaults
|
11227
|
-
P(ci, "bindings",
|
11227
|
+
P(ci, "bindings", Cx), P(ci, "actions", Ex);
|
11228
11228
|
let za = ci;
|
11229
11229
|
class bc extends se {
|
11230
11230
|
constructor(e) {
|
@@ -11369,11 +11369,11 @@ class vc extends se {
|
|
11369
11369
|
}
|
11370
11370
|
}
|
11371
11371
|
P(vc, "moduleName", "moveColumn");
|
11372
|
-
var
|
11372
|
+
var xx = {
|
11373
11373
|
delete: function(l, e, t) {
|
11374
11374
|
l.delete();
|
11375
11375
|
}
|
11376
|
-
},
|
11376
|
+
}, Rx = {
|
11377
11377
|
insert: function(l, e, t) {
|
11378
11378
|
return this.table.addRow(l.getData(), void 0, e), !0;
|
11379
11379
|
},
|
@@ -11563,9 +11563,9 @@ const Mi = class Mi extends se {
|
|
11563
11563
|
}
|
11564
11564
|
};
|
11565
11565
|
P(Mi, "moduleName", "moveRow"), //load defaults
|
11566
|
-
P(Mi, "senders",
|
11566
|
+
P(Mi, "senders", xx), P(Mi, "receivers", Rx);
|
11567
11567
|
let Ha = Mi;
|
11568
|
-
var
|
11568
|
+
var _x = {};
|
11569
11569
|
const on = class on extends se {
|
11570
11570
|
constructor(e) {
|
11571
11571
|
super(e), this.allowedTypes = ["", "data", "edit", "clipboard", "import"], this.enabled = !0, this.registerColumnOption("mutator"), this.registerColumnOption("mutatorParams"), this.registerColumnOption("mutatorData"), this.registerColumnOption("mutatorDataParams"), this.registerColumnOption("mutatorEdit"), this.registerColumnOption("mutatorEditParams"), this.registerColumnOption("mutatorClipboard"), this.registerColumnOption("mutatorClipboardParams"), this.registerColumnOption("mutatorImport"), this.registerColumnOption("mutatorImportParams"), this.registerColumnOption("mutateLink");
|
@@ -11631,9 +11631,9 @@ const on = class on extends se {
|
|
11631
11631
|
}
|
11632
11632
|
};
|
11633
11633
|
P(on, "moduleName", "mutator"), //load defaults
|
11634
|
-
P(on, "mutators",
|
11634
|
+
P(on, "mutators", _x);
|
11635
11635
|
let Ia = on;
|
11636
|
-
function
|
11636
|
+
function Tx(l, e, t, i, n) {
|
11637
11637
|
var r = document.createElement("span"), a = document.createElement("span"), u = document.createElement("span"), d = document.createElement("span"), f = document.createElement("span"), p = document.createElement("span");
|
11638
11638
|
return this.table.modules.localize.langBind("pagination|counter|showing", (v) => {
|
11639
11639
|
a.innerHTML = v;
|
@@ -11643,7 +11643,7 @@ function _x(l, e, t, i, n) {
|
|
11643
11643
|
p.innerHTML = v;
|
11644
11644
|
}), i ? (u.innerHTML = " " + e + "-" + Math.min(e + l - 1, i) + " ", f.innerHTML = " " + i + " ", r.appendChild(a), r.appendChild(u), r.appendChild(d), r.appendChild(f), r.appendChild(p)) : (u.innerHTML = " 0 ", r.appendChild(a), r.appendChild(u), r.appendChild(p)), r;
|
11645
11645
|
}
|
11646
|
-
function
|
11646
|
+
function Sx(l, e, t, i, n) {
|
11647
11647
|
var r = document.createElement("span"), a = document.createElement("span"), u = document.createElement("span"), d = document.createElement("span"), f = document.createElement("span"), p = document.createElement("span");
|
11648
11648
|
return this.table.modules.localize.langBind("pagination|counter|showing", (v) => {
|
11649
11649
|
a.innerHTML = v;
|
@@ -11653,9 +11653,9 @@ function Tx(l, e, t, i, n) {
|
|
11653
11653
|
p.innerHTML = v;
|
11654
11654
|
}), r.appendChild(a), r.appendChild(u), r.appendChild(d), r.appendChild(f), r.appendChild(p), r;
|
11655
11655
|
}
|
11656
|
-
var
|
11657
|
-
rows:
|
11658
|
-
pages:
|
11656
|
+
var Mx = {
|
11657
|
+
rows: Tx,
|
11658
|
+
pages: Sx
|
11659
11659
|
};
|
11660
11660
|
const Kn = class Kn extends se {
|
11661
11661
|
constructor(e) {
|
@@ -11928,9 +11928,9 @@ const Kn = class Kn extends se {
|
|
11928
11928
|
}
|
11929
11929
|
};
|
11930
11930
|
P(Kn, "moduleName", "page"), //load defaults
|
11931
|
-
P(Kn, "pageCounters",
|
11931
|
+
P(Kn, "pageCounters", Mx);
|
11932
11932
|
let Ba = Kn;
|
11933
|
-
var
|
11933
|
+
var kx = {
|
11934
11934
|
local: function(l, e) {
|
11935
11935
|
var t = localStorage.getItem(l + "-" + e);
|
11936
11936
|
return t ? JSON.parse(t) : !1;
|
@@ -11939,7 +11939,7 @@ var Mx = {
|
|
11939
11939
|
var t = document.cookie, i = l + "-" + e, n = t.indexOf(i + "="), r, a;
|
11940
11940
|
return n > -1 && (t = t.slice(n), r = t.indexOf(";"), r > -1 && (t = t.slice(0, r)), a = t.replace(i + "=", "")), a ? JSON.parse(a) : !1;
|
11941
11941
|
}
|
11942
|
-
},
|
11942
|
+
}, Lx = {
|
11943
11943
|
local: function(l, e, t) {
|
11944
11944
|
localStorage.setItem(l + "-" + e, JSON.stringify(t));
|
11945
11945
|
},
|
@@ -12106,7 +12106,7 @@ const Qe = class Qe extends se {
|
|
12106
12106
|
}
|
12107
12107
|
};
|
12108
12108
|
P(Qe, "moduleName", "persistence"), P(Qe, "moduleInitOrder", -10), //load defaults
|
12109
|
-
P(Qe, "readers",
|
12109
|
+
P(Qe, "readers", kx), P(Qe, "writers", Lx);
|
12110
12110
|
let Na = Qe;
|
12111
12111
|
class wc extends se {
|
12112
12112
|
constructor(e) {
|
@@ -12538,7 +12538,7 @@ class Rc extends se {
|
|
12538
12538
|
}
|
12539
12539
|
}
|
12540
12540
|
P(Rc, "moduleName", "resizeTable");
|
12541
|
-
function
|
12541
|
+
function Dx(l, e, t) {
|
12542
12542
|
var i = document.createElement("div"), n = l.getRow()._row.modules.responsiveLayout;
|
12543
12543
|
i.classList.add("tabulator-responsive-collapse-toggle"), i.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewbox="0 0 24 24">
|
12544
12544
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
@@ -12556,10 +12556,10 @@ function Lx(l, e, t) {
|
|
12556
12556
|
a.stopImmediatePropagation(), r(!n.open), l.getTable().rowManager.adjustTableSize();
|
12557
12557
|
}), r(n.open), i;
|
12558
12558
|
}
|
12559
|
-
var
|
12559
|
+
var Ax = {
|
12560
12560
|
format: {
|
12561
12561
|
formatters: {
|
12562
|
-
responsiveCollapse:
|
12562
|
+
responsiveCollapse: Dx
|
12563
12563
|
}
|
12564
12564
|
}
|
12565
12565
|
};
|
@@ -12699,8 +12699,8 @@ class Wa extends se {
|
|
12699
12699
|
}), Object.keys(e).length ? t : "";
|
12700
12700
|
}
|
12701
12701
|
}
|
12702
|
-
P(Wa, "moduleName", "responsiveLayout"), P(Wa, "moduleExtensions",
|
12703
|
-
function
|
12702
|
+
P(Wa, "moduleName", "responsiveLayout"), P(Wa, "moduleExtensions", Ax);
|
12703
|
+
function Fx(l, e, t) {
|
12704
12704
|
var i = document.createElement("input"), n = !1;
|
12705
12705
|
if (i.type = "checkbox", i.setAttribute("aria-label", "Select Row"), this.table.modExists("selectRow", !0))
|
12706
12706
|
if (i.addEventListener("click", (a) => {
|
@@ -12718,10 +12718,10 @@ function Ax(l, e, t) {
|
|
12718
12718
|
}), this.table.modules.selectRow.registerHeaderSelectCheckbox(i);
|
12719
12719
|
return i;
|
12720
12720
|
}
|
12721
|
-
var
|
12721
|
+
var Ox = {
|
12722
12722
|
format: {
|
12723
12723
|
formatters: {
|
12724
|
-
rowSelection:
|
12724
|
+
rowSelection: Fx
|
12725
12725
|
}
|
12726
12726
|
}
|
12727
12727
|
};
|
@@ -12881,8 +12881,8 @@ class Va extends se {
|
|
12881
12881
|
this._deselectRow(n, !0);
|
12882
12882
|
}
|
12883
12883
|
}
|
12884
|
-
P(Va, "moduleName", "selectRow"), P(Va, "moduleExtensions",
|
12885
|
-
class
|
12884
|
+
P(Va, "moduleName", "selectRow"), P(Va, "moduleExtensions", Ox);
|
12885
|
+
class Px {
|
12886
12886
|
constructor(e) {
|
12887
12887
|
return this._range = e, new Proxy(this, {
|
12888
12888
|
get: function(t, i, n) {
|
@@ -12939,7 +12939,7 @@ class Ox {
|
|
12939
12939
|
this._range.destroyedGuard("remove") && this._range.destroy(!0);
|
12940
12940
|
}
|
12941
12941
|
}
|
12942
|
-
class
|
12942
|
+
class zx extends ze {
|
12943
12943
|
constructor(e, t, i, n) {
|
12944
12944
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
12945
12945
|
start: !1,
|
@@ -13053,7 +13053,7 @@ class Px extends ze {
|
|
13053
13053
|
return t.length ? (i.start = t[0], i.end = t[t.length - 1]) : console.warn("No bounds defined on range"), i;
|
13054
13054
|
}
|
13055
13055
|
getComponent() {
|
13056
|
-
return this.component || (this.component = new
|
13056
|
+
return this.component || (this.component = new Px(this)), this.component;
|
13057
13057
|
}
|
13058
13058
|
destroy(e) {
|
13059
13059
|
this.destroyed = !0, this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
@@ -13062,7 +13062,7 @@ class Px extends ze {
|
|
13062
13062
|
return this.destroyed && console.warn("You cannot call the " + e + " function on a destroyed range"), !this.destroyed;
|
13063
13063
|
}
|
13064
13064
|
}
|
13065
|
-
var
|
13065
|
+
var Hx = {
|
13066
13066
|
rangeJumpUp: ["ctrl + 38", "meta + 38"],
|
13067
13067
|
rangeJumpDown: ["ctrl + 40", "meta + 40"],
|
13068
13068
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
@@ -13075,7 +13075,7 @@ var zx = {
|
|
13075
13075
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
13076
13076
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
13077
13077
|
rangeExpandJumpRight: ["ctrl + shift + 39", "meta + shift + 39"]
|
13078
|
-
},
|
13078
|
+
}, Ix = {
|
13079
13079
|
rangeJumpLeft: function(l) {
|
13080
13080
|
this.dispatch("keybinding-nav-range", l, "left", !0, !1);
|
13081
13081
|
},
|
@@ -13112,14 +13112,14 @@ var zx = {
|
|
13112
13112
|
rangeExpandJumpDown: function(l) {
|
13113
13113
|
this.dispatch("keybinding-nav-range", l, "down", !0, !0);
|
13114
13114
|
}
|
13115
|
-
},
|
13115
|
+
}, Bx = {
|
13116
13116
|
range: function(l) {
|
13117
13117
|
var e = [], t = this.table.modules.selectRange.activeRange, i = !1, n, r, a, u, d;
|
13118
13118
|
return d = l.length, t && (n = t.getBounds(), r = n.start, n.start === n.end && (i = !0), r && (e = this.table.rowManager.activeRows.slice(), a = e.indexOf(r.row), i ? u = l.length : u = e.indexOf(n.end.row) - a + 1, a > -1 && (this.table.blockRedraw(), e = e.slice(a, a + u), e.forEach((f, p) => {
|
13119
13119
|
f.updateData(l[p % d]);
|
13120
13120
|
}), this.table.restoreRedraw()))), e;
|
13121
13121
|
}
|
13122
|
-
},
|
13122
|
+
}, Nx = {
|
13123
13123
|
range: function(l) {
|
13124
13124
|
var e = [], t = [], i = this.table.modules.selectRange.activeRange, n = !1, r, a, u, d, f;
|
13125
13125
|
return i && (r = i.getBounds(), a = r.start, r.start === r.end && (n = !0), a && (l = l.split(`
|
@@ -13132,27 +13132,27 @@ var zx = {
|
|
13132
13132
|
}), t.push(v);
|
13133
13133
|
}), t) : !1;
|
13134
13134
|
}
|
13135
|
-
},
|
13135
|
+
}, Wx = {
|
13136
13136
|
range: function() {
|
13137
13137
|
var l = this.modules.selectRange.selectedColumns();
|
13138
13138
|
return this.columnManager.rowHeader && l.unshift(this.columnManager.rowHeader), l;
|
13139
13139
|
}
|
13140
|
-
},
|
13140
|
+
}, Vx = {
|
13141
13141
|
range: function() {
|
13142
13142
|
return this.modules.selectRange.selectedRows();
|
13143
13143
|
}
|
13144
|
-
},
|
13144
|
+
}, Gx = {
|
13145
13145
|
keybindings: {
|
13146
|
-
bindings:
|
13147
|
-
actions:
|
13146
|
+
bindings: Hx,
|
13147
|
+
actions: Ix
|
13148
13148
|
},
|
13149
13149
|
clipboard: {
|
13150
|
-
pasteActions:
|
13151
|
-
pasteParsers:
|
13150
|
+
pasteActions: Bx,
|
13151
|
+
pasteParsers: Nx
|
13152
13152
|
},
|
13153
13153
|
export: {
|
13154
|
-
columnLookups:
|
13155
|
-
rowLookups:
|
13154
|
+
columnLookups: Wx,
|
13155
|
+
rowLookups: Vx
|
13156
13156
|
}
|
13157
13157
|
};
|
13158
13158
|
class sr extends se {
|
@@ -13466,7 +13466,7 @@ class sr extends se {
|
|
13466
13466
|
}
|
13467
13467
|
addRange(e, t) {
|
13468
13468
|
var i;
|
13469
|
-
return this.maxRanges !== !0 && this.ranges.length >= this.maxRanges && this.ranges.shift().destroy(), i = new
|
13469
|
+
return this.maxRanges !== !0 && this.ranges.length >= this.maxRanges && this.ranges.shift().destroy(), i = new zx(this.table, this, e, t), this.activeRange = i, this.ranges.push(i), this.rangeContainer.appendChild(i.element), i;
|
13470
13470
|
}
|
13471
13471
|
resetRanges() {
|
13472
13472
|
var e, t, i;
|
@@ -13488,8 +13488,8 @@ class sr extends se {
|
|
13488
13488
|
return e == null || e === "";
|
13489
13489
|
}
|
13490
13490
|
}
|
13491
|
-
P(sr, "moduleName", "selectRange"), P(sr, "moduleInitOrder", 1), P(sr, "moduleExtensions",
|
13492
|
-
function
|
13491
|
+
P(sr, "moduleName", "selectRange"), P(sr, "moduleInitOrder", 1), P(sr, "moduleExtensions", Gx);
|
13492
|
+
function $x(l, e, t, i, n, r, a) {
|
13493
13493
|
var u = a.alignEmptyValues, d = a.decimalSeparator, f = a.thousandSeparator, p = 0;
|
13494
13494
|
if (l = String(l), e = String(e), f && (l = l.split(f).join(""), e = e.split(f).join("")), d && (l = l.split(d).join("."), e = e.split(d).join(".")), l = parseFloat(l), e = parseFloat(e), isNaN(l))
|
13495
13495
|
p = isNaN(e) ? 0 : -1;
|
@@ -13499,7 +13499,7 @@ function Gx(l, e, t, i, n, r, a) {
|
|
13499
13499
|
return l - e;
|
13500
13500
|
return (u === "top" && r === "desc" || u === "bottom" && r === "asc") && (p *= -1), p;
|
13501
13501
|
}
|
13502
|
-
function
|
13502
|
+
function Ux(l, e, t, i, n, r, a) {
|
13503
13503
|
var u = a.alignEmptyValues, d = 0, f;
|
13504
13504
|
if (!l)
|
13505
13505
|
d = e ? -1 : 0;
|
@@ -13531,17 +13531,17 @@ function rl(l, e, t, i, n, r, a) {
|
|
13531
13531
|
} else
|
13532
13532
|
console.error("Sort Error - 'datetime' sorter is dependant on luxon.js");
|
13533
13533
|
}
|
13534
|
-
function
|
13534
|
+
function jx(l, e, t, i, n, r, a) {
|
13535
13535
|
return a.format || (a.format = "dd/MM/yyyy"), rl.call(this, l, e, t, i, n, r, a);
|
13536
13536
|
}
|
13537
|
-
function
|
13537
|
+
function Kx(l, e, t, i, n, r, a) {
|
13538
13538
|
return a.format || (a.format = "HH:mm"), rl.call(this, l, e, t, i, n, r, a);
|
13539
13539
|
}
|
13540
|
-
function
|
13540
|
+
function qx(l, e, t, i, n, r, a) {
|
13541
13541
|
var u = l === !0 || l === "true" || l === "True" || l === 1 ? 1 : 0, d = e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0;
|
13542
13542
|
return u - d;
|
13543
13543
|
}
|
13544
|
-
function
|
13544
|
+
function Jx(l, e, t, i, n, r, a) {
|
13545
13545
|
var u = a.type || "length", d = a.alignEmptyValues, f = 0, p = this.table, v;
|
13546
13546
|
a.valueMap && (typeof a.valueMap == "string" ? v = function(C) {
|
13547
13547
|
return C.map((x) => be.retrieveNestedData(p.options.nestedFieldSeparator, a.valueMap, x));
|
@@ -13582,11 +13582,11 @@ function qx(l, e, t, i, n, r, a) {
|
|
13582
13582
|
return u === "string" ? String(m(l)).toLowerCase().localeCompare(String(m(e)).toLowerCase()) : m(e) - m(l);
|
13583
13583
|
return (d === "top" && r === "desc" || d === "bottom" && r === "asc") && (f *= -1), f;
|
13584
13584
|
}
|
13585
|
-
function
|
13585
|
+
function Xx(l, e, t, i, n, r, a) {
|
13586
13586
|
var u = typeof l > "u" ? 0 : 1, d = typeof e > "u" ? 0 : 1;
|
13587
13587
|
return u - d;
|
13588
13588
|
}
|
13589
|
-
function
|
13589
|
+
function Yx(l, e, t, i, n, r, a) {
|
13590
13590
|
var u, d, f, p, v = 0, m, C = /(\d+)|(\D+)/g, x = /\d/, T = a.alignEmptyValues, D = 0;
|
13591
13591
|
if (!l && l !== 0)
|
13592
13592
|
D = !e && e !== 0 ? 0 : -1;
|
@@ -13606,16 +13606,16 @@ function Xx(l, e, t, i, n, r, a) {
|
|
13606
13606
|
}
|
13607
13607
|
return (T === "top" && r === "desc" || T === "bottom" && r === "asc") && (D *= -1), D;
|
13608
13608
|
}
|
13609
|
-
var
|
13610
|
-
number:
|
13611
|
-
string:
|
13612
|
-
date:
|
13613
|
-
time:
|
13609
|
+
var Zx = {
|
13610
|
+
number: $x,
|
13611
|
+
string: Ux,
|
13612
|
+
date: jx,
|
13613
|
+
time: Kx,
|
13614
13614
|
datetime: rl,
|
13615
|
-
boolean:
|
13616
|
-
array:
|
13617
|
-
exists:
|
13618
|
-
alphanum:
|
13615
|
+
boolean: qx,
|
13616
|
+
array: Jx,
|
13617
|
+
exists: Xx,
|
13618
|
+
alphanum: Yx
|
13619
13619
|
};
|
13620
13620
|
const ki = class ki extends se {
|
13621
13621
|
constructor(e) {
|
@@ -13799,9 +13799,9 @@ const ki = class ki extends se {
|
|
13799
13799
|
}
|
13800
13800
|
};
|
13801
13801
|
P(ki, "moduleName", "sort"), //load defaults
|
13802
|
-
P(ki, "sorters",
|
13802
|
+
P(ki, "sorters", Zx);
|
13803
13803
|
let Ga = ki;
|
13804
|
-
class
|
13804
|
+
class Qx {
|
13805
13805
|
constructor(e, t) {
|
13806
13806
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
13807
13807
|
}
|
@@ -13874,7 +13874,7 @@ class _c {
|
|
13874
13874
|
}
|
13875
13875
|
class vd extends ze {
|
13876
13876
|
constructor(e, t) {
|
13877
|
-
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title, this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new
|
13877
|
+
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title, this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new Qx(this.columnCount, this.rowCount), this.defaultColumnDefinition = { width: 100, headerHozAlign: "center", headerSort: !1 }, this.columnDefinition = Object.assign(this.defaultColumnDefinition, this.options("spreadsheetColumnDefinition")), this.columnDefs = [], this.rowDefs = [], this.columnFields = [], this.columns = [], this.rows = [], this.scrollTop = null, this.scrollLeft = null, this.initialize(), this.dispatchExternal("sheetAdded", this.getComponent());
|
13878
13878
|
}
|
13879
13879
|
///////////////////////////////////
|
13880
13880
|
///////// Initialization //////////
|
@@ -14102,7 +14102,7 @@ class Sc extends se {
|
|
14102
14102
|
}
|
14103
14103
|
}
|
14104
14104
|
P(Sc, "moduleName", "tooltip");
|
14105
|
-
var
|
14105
|
+
var eR = {
|
14106
14106
|
//is integer
|
14107
14107
|
integer: function(l, e, t) {
|
14108
14108
|
return e === "" || e === null || typeof e > "u" ? !0 : (e = Number(e), !isNaN(e) && isFinite(e) && Math.floor(e) === e);
|
@@ -14294,7 +14294,7 @@ const qn = class qn extends se {
|
|
14294
14294
|
}
|
14295
14295
|
};
|
14296
14296
|
P(qn, "moduleName", "validate"), //load defaults
|
14297
|
-
P(qn, "validators",
|
14297
|
+
P(qn, "validators", eR);
|
14298
14298
|
let $a = qn;
|
14299
14299
|
var ga = /* @__PURE__ */ Object.freeze({
|
14300
14300
|
__proto__: null,
|
@@ -14335,7 +14335,7 @@ var ga = /* @__PURE__ */ Object.freeze({
|
|
14335
14335
|
SpreadsheetModule: Tc,
|
14336
14336
|
TooltipModule: Sc,
|
14337
14337
|
ValidateModule: $a
|
14338
|
-
}),
|
14338
|
+
}), tR = {
|
14339
14339
|
debugEventsExternal: !1,
|
14340
14340
|
//flag to console log events
|
14341
14341
|
debugEventsInternal: !1,
|
@@ -14505,7 +14505,7 @@ class xr extends ze {
|
|
14505
14505
|
});
|
14506
14506
|
}
|
14507
14507
|
}
|
14508
|
-
class
|
14508
|
+
class iR extends xr {
|
14509
14509
|
constructor(e) {
|
14510
14510
|
super(e);
|
14511
14511
|
}
|
@@ -14523,7 +14523,7 @@ class tR extends xr {
|
|
14523
14523
|
});
|
14524
14524
|
}
|
14525
14525
|
}
|
14526
|
-
class
|
14526
|
+
class nR extends xr {
|
14527
14527
|
constructor(e) {
|
14528
14528
|
super(e), this.leftCol = 0, this.rightCol = 0, this.scrollLeft = 0, this.vDomScrollPosLeft = 0, this.vDomScrollPosRight = 0, this.vDomPadLeft = 0, this.vDomPadRight = 0, this.fitDataColAvg = 0, this.windowBuffer = 200, this.visibleRows = null, this.initialized = !1, this.isFitData = !1, this.columns = [];
|
14529
14529
|
}
|
@@ -14748,7 +14748,7 @@ class iR extends xr {
|
|
14748
14748
|
}
|
14749
14749
|
}
|
14750
14750
|
}
|
14751
|
-
class
|
14751
|
+
class sR extends ze {
|
14752
14752
|
constructor(e) {
|
14753
14753
|
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.element = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new Mc(this.table, "column definition", uc), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
|
14754
14754
|
}
|
@@ -14761,8 +14761,8 @@ class nR extends ze {
|
|
14761
14761
|
}
|
14762
14762
|
initializeRenderer() {
|
14763
14763
|
var e, t = {
|
14764
|
-
virtual:
|
14765
|
-
basic:
|
14764
|
+
virtual: nR,
|
14765
|
+
basic: iR
|
14766
14766
|
};
|
14767
14767
|
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table, this.element, this.tableElement), this.renderer.initialize()) : console.error("Unable to find matching renderer:", this.table.options.renderHorizontal);
|
14768
14768
|
}
|
@@ -15045,7 +15045,7 @@ class nR extends ze {
|
|
15045
15045
|
be.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager.resetScroll(), this.table.rowManager.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e), this.dispatch("table-redraw", e), this.table.footerManager.redraw();
|
15046
15046
|
}
|
15047
15047
|
}
|
15048
|
-
class
|
15048
|
+
class rR extends xr {
|
15049
15049
|
constructor(e) {
|
15050
15050
|
super(e), this.verticalFillMode = "fill", this.scrollTop = 0, this.scrollLeft = 0, this.scrollTop = 0, this.scrollLeft = 0;
|
15051
15051
|
}
|
@@ -15079,7 +15079,7 @@ class sR extends xr {
|
|
15079
15079
|
return this.rows();
|
15080
15080
|
}
|
15081
15081
|
}
|
15082
|
-
class
|
15082
|
+
class oR extends xr {
|
15083
15083
|
constructor(e) {
|
15084
15084
|
super(e), this.verticalFillMode = "fill", this.scrollTop = 0, this.scrollLeft = 0, this.vDomRowHeight = 20, this.vDomTop = 0, this.vDomBottom = 0, this.vDomScrollPosTop = 0, this.vDomScrollPosBottom = 0, this.vDomTopPad = 0, this.vDomBottomPad = 0, this.vDomMaxRenderChain = 90, this.vDomWindowBuffer = 0, this.vDomWindowMinTotalRows = 20, this.vDomWindowMinMarginRows = 5, this.vDomTopNewRows = [], this.vDomBottomNewRows = [];
|
15085
15085
|
}
|
@@ -15228,7 +15228,7 @@ class rR extends xr {
|
|
15228
15228
|
t.setCellHeight();
|
15229
15229
|
}
|
15230
15230
|
}
|
15231
|
-
class
|
15231
|
+
class aR extends ze {
|
15232
15232
|
constructor(e) {
|
15233
15233
|
super(e), this.element = this.createHolderElement(), this.tableElement = this.createTableElement(), this.heightFixer = this.createTableElement(), this.placeholder = null, this.placeholderContents = null, this.firstRender = !1, this.renderMode = "virtual", this.fixedHeight = !1, this.rows = [], this.activeRowsPipeline = [], this.activeRows = [], this.activeRowsCount = 0, this.displayRows = [], this.displayRowsCount = 0, this.scrollTop = 0, this.scrollLeft = 0, this.redrawBlock = !1, this.redrawBlockRestoreConfig = !1, this.redrawBlockRenderInPosition = !1, this.dataPipeline = [], this.displayPipeline = [], this.scrollbarWidth = 0, this.renderer = null;
|
15234
15234
|
}
|
@@ -15525,8 +15525,8 @@ Data: `, e);
|
|
15525
15525
|
}
|
15526
15526
|
initializeRenderer() {
|
15527
15527
|
var e, t = {
|
15528
|
-
virtual:
|
15529
|
-
basic:
|
15528
|
+
virtual: oR,
|
15529
|
+
basic: rR
|
15530
15530
|
};
|
15531
15531
|
typeof this.table.options.renderVertical == "string" ? e = t[this.table.options.renderVertical] : e = this.table.options.renderVertical, e ? (this.renderMode = this.table.options.renderVertical, this.renderer = new e(this.table, this.element, this.tableElement), this.renderer.initialize(), (this.table.element.clientHeight || this.table.options.height) && !(this.table.options.minHeight && this.table.options.maxHeight) ? this.fixedHeight = !0 : this.fixedHeight = !1) : console.error("Unable to find matching renderer:", this.table.options.renderVertical);
|
15532
15532
|
}
|
@@ -15609,7 +15609,7 @@ Data: `, e);
|
|
15609
15609
|
this.element.dispatchEvent(new Event("scroll"));
|
15610
15610
|
}
|
15611
15611
|
}
|
15612
|
-
class
|
15612
|
+
class lR extends ze {
|
15613
15613
|
constructor(e) {
|
15614
15614
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
15615
15615
|
}
|
@@ -15657,7 +15657,7 @@ class aR extends ze {
|
|
15657
15657
|
this.dispatch("footer-redraw");
|
15658
15658
|
}
|
15659
15659
|
}
|
15660
|
-
class
|
15660
|
+
class hR extends ze {
|
15661
15661
|
constructor(e) {
|
15662
15662
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
15663
15663
|
"click",
|
@@ -15806,7 +15806,7 @@ class lR extends ze {
|
|
15806
15806
|
}
|
15807
15807
|
}
|
15808
15808
|
}
|
15809
|
-
class
|
15809
|
+
class uR {
|
15810
15810
|
constructor(e) {
|
15811
15811
|
this.table = e, this.bindings = {};
|
15812
15812
|
}
|
@@ -15819,7 +15819,7 @@ class hR {
|
|
15819
15819
|
i !== "then" && typeof i == "string" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error("The " + e + " component does not have a " + i + " function, have you checked that you have the correct Tabulator module installed?");
|
15820
15820
|
}
|
15821
15821
|
}
|
15822
|
-
class
|
15822
|
+
class dR extends ze {
|
15823
15823
|
constructor(e) {
|
15824
15824
|
super(e), this.requestOrder = 0, this.loading = !1;
|
15825
15825
|
}
|
@@ -15876,7 +15876,7 @@ class uR extends ze {
|
|
15876
15876
|
this.table.alertManager.clear();
|
15877
15877
|
}
|
15878
15878
|
}
|
15879
|
-
class
|
15879
|
+
class cR {
|
15880
15880
|
constructor(e, t, i) {
|
15881
15881
|
this.table = e, this.events = {}, this.optionsList = t || {}, this.subscriptionNotifiers = {}, this.dispatch = i ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.debug = i;
|
15882
15882
|
}
|
@@ -15925,7 +15925,7 @@ class dR {
|
|
15925
15925
|
return e[0] = "ExternalEvent:" + e[0], (this.debug === !0 || this.debug.includes(t)) && console.log(...e), this._dispatch(...arguments);
|
15926
15926
|
}
|
15927
15927
|
}
|
15928
|
-
class
|
15928
|
+
class fR {
|
15929
15929
|
constructor(e) {
|
15930
15930
|
this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
|
15931
15931
|
}
|
@@ -15991,7 +15991,7 @@ class cR {
|
|
15991
15991
|
return e[0] = "InternalEvent:" + t, (this.debug === !0 || this.debug.includes(t)) && console.log(...e), this._confirm(...arguments);
|
15992
15992
|
}
|
15993
15993
|
}
|
15994
|
-
class
|
15994
|
+
class pR extends ze {
|
15995
15995
|
constructor(e) {
|
15996
15996
|
super(e);
|
15997
15997
|
}
|
@@ -16009,7 +16009,7 @@ class fR extends ze {
|
|
16009
16009
|
this._warnUser(e);
|
16010
16010
|
}
|
16011
16011
|
}
|
16012
|
-
class
|
16012
|
+
class gR extends ze {
|
16013
16013
|
constructor(e) {
|
16014
16014
|
super(e), this.deps = {}, this.props = {};
|
16015
16015
|
}
|
@@ -16044,7 +16044,7 @@ class pR extends ze {
|
|
16044
16044
|
console.error("Unable to find dependency", e, "Please check documentation and ensure you have imported the required library into your project");
|
16045
16045
|
}
|
16046
16046
|
}
|
16047
|
-
function
|
16047
|
+
function mR(l, e) {
|
16048
16048
|
e && this.table.columnManager.renderer.reinitializeColumnWidths(l), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
16049
16049
|
}
|
16050
16050
|
function wd(l, e) {
|
@@ -16052,13 +16052,13 @@ function wd(l, e) {
|
|
16052
16052
|
t.reinitializeWidth();
|
16053
16053
|
}), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
16054
16054
|
}
|
16055
|
-
function
|
16055
|
+
function bR(l, e) {
|
16056
16056
|
var t = 0, i = this.table.rowManager.element.clientWidth, n = 0, r = !1;
|
16057
16057
|
l.forEach((a, u) => {
|
16058
16058
|
a.widthFixed || a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : a.visible) && (r = a), a.visible && (t += a.getWidth());
|
16059
16059
|
}), r ? (n = i - t + r.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (r.setWidth(0), this.table.modules.responsiveLayout.update()), n > 0 ? r.setWidth(n) : r.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
16060
16060
|
}
|
16061
|
-
function
|
16061
|
+
function vR(l, e) {
|
16062
16062
|
var t = this.table.rowManager.element.getBoundingClientRect().width, i = 0, n = 0, r = 0, a = 0, u = [], d = [], f = 0, p = 0, v = 0;
|
16063
16063
|
function m(x) {
|
16064
16064
|
var T;
|
@@ -16098,12 +16098,12 @@ function bR(l, e) {
|
|
16098
16098
|
x.column.setWidth(x.width);
|
16099
16099
|
});
|
16100
16100
|
}
|
16101
|
-
var
|
16102
|
-
fitData:
|
16101
|
+
var wR = {
|
16102
|
+
fitData: mR,
|
16103
16103
|
fitDataFill: wd,
|
16104
16104
|
fitDataTable: wd,
|
16105
|
-
fitDataStretch:
|
16106
|
-
fitColumns:
|
16105
|
+
fitDataStretch: bR,
|
16106
|
+
fitColumns: vR
|
16107
16107
|
};
|
16108
16108
|
const an = class an extends se {
|
16109
16109
|
constructor(e) {
|
@@ -16127,9 +16127,9 @@ const an = class an extends se {
|
|
16127
16127
|
}
|
16128
16128
|
};
|
16129
16129
|
P(an, "moduleName", "layout"), //load defaults
|
16130
|
-
P(an, "modes",
|
16130
|
+
P(an, "modes", wR);
|
16131
16131
|
let Ua = an;
|
16132
|
-
var
|
16132
|
+
var yR = {
|
16133
16133
|
default: {
|
16134
16134
|
//hold default locale text
|
16135
16135
|
groups: {
|
@@ -16235,7 +16235,7 @@ const Jn = class Jn extends se {
|
|
16235
16235
|
}
|
16236
16236
|
};
|
16237
16237
|
P(Jn, "moduleName", "localize"), //load defaults
|
16238
|
-
P(Jn, "langs",
|
16238
|
+
P(Jn, "langs", yR);
|
16239
16239
|
let ja = Jn;
|
16240
16240
|
class kc extends se {
|
16241
16241
|
constructor(e) {
|
@@ -16263,7 +16263,7 @@ class kc extends se {
|
|
16263
16263
|
}
|
16264
16264
|
}
|
16265
16265
|
P(kc, "moduleName", "comms");
|
16266
|
-
var
|
16266
|
+
var CR = /* @__PURE__ */ Object.freeze({
|
16267
16267
|
__proto__: null,
|
16268
16268
|
CommsModule: kc,
|
16269
16269
|
LayoutModule: Ua,
|
@@ -16308,7 +16308,7 @@ const ge = class ge extends Ka {
|
|
16308
16308
|
super();
|
16309
16309
|
}
|
16310
16310
|
static initializeModuleBinder(e) {
|
16311
|
-
ge.modulesRegistered || (ge.modulesRegistered = !0, ge._registerModules(
|
16311
|
+
ge.modulesRegistered || (ge.modulesRegistered = !0, ge._registerModules(CR, !0), e && ge._registerModules(e));
|
16312
16312
|
}
|
16313
16313
|
static _extendModule(e, t, i) {
|
16314
16314
|
if (ge.moduleBindings[e]) {
|
@@ -16373,7 +16373,7 @@ const ge = class ge extends Ka {
|
|
16373
16373
|
};
|
16374
16374
|
P(ge, "moduleBindings", {}), P(ge, "moduleExtensions", {}), P(ge, "modulesRegistered", !1), P(ge, "defaultModules", !1);
|
16375
16375
|
let qa = ge;
|
16376
|
-
class
|
16376
|
+
class ER extends ze {
|
16377
16377
|
constructor(e) {
|
16378
16378
|
super(e), this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.type = null, this.element.appendChild(this.msgElement);
|
16379
16379
|
}
|
@@ -16407,7 +16407,7 @@ const Jt = class Jt extends qa {
|
|
16407
16407
|
Jt.initializeModuleBinder(), Jt._registerModule(...arguments);
|
16408
16408
|
}
|
16409
16409
|
constructor(e, t, i) {
|
16410
|
-
super(), Jt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new
|
16410
|
+
super(), Jt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new uR(this), this.dataLoader = !1, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new pR(this), this.optionsList = new Mc(this, "table constructor"), this.dependencyRegistry = new gR(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
16411
16411
|
this._create();
|
16412
16412
|
})), this.constructor.registry.register(this);
|
16413
16413
|
}
|
@@ -16415,7 +16415,7 @@ const Jt = class Jt extends qa {
|
|
16415
16415
|
return typeof HTMLElement < "u" && e instanceof HTMLElement ? (this.element = e, !0) : typeof e == "string" ? (this.element = document.querySelector(e), this.element ? !0 : (console.error("Tabulator Creation Error - no element found matching selector: ", e), !1)) : (console.error("Tabulator Creation Error - Invalid element provided:", e), !1);
|
16416
16416
|
}
|
16417
16417
|
initializeCoreSystems(e) {
|
16418
|
-
this.columnManager = new
|
16418
|
+
this.columnManager = new sR(this), this.rowManager = new aR(this), this.footerManager = new lR(this), this.dataLoader = new dR(this), this.alertManager = new ER(this), this._bindModules(), this.options = this.optionsList.generate(Jt.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new cR(this, this.options, this.options.debugEventsExternal), this.eventBus = new fR(this.options.debugEventsInternal), this.interactionMonitor = new hR(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
16419
16419
|
}
|
16420
16420
|
//convert deprecated functionality to new functions
|
16421
16421
|
_mapDeprecatedFunctionality() {
|
@@ -16709,10 +16709,10 @@ const Jt = class Jt extends qa {
|
|
16709
16709
|
}
|
16710
16710
|
};
|
16711
16711
|
//default setup options
|
16712
|
-
P(Jt, "defaultOptions",
|
16712
|
+
P(Jt, "defaultOptions", tR);
|
16713
16713
|
let Ja = Jt;
|
16714
16714
|
var Hn = Ja;
|
16715
|
-
class
|
16715
|
+
class xR extends Hn {
|
16716
16716
|
static extendModule() {
|
16717
16717
|
Hn.initializeModuleBinder(ga), Hn._extendModule(...arguments);
|
16718
16718
|
}
|
@@ -16723,8 +16723,8 @@ class ER extends Hn {
|
|
16723
16723
|
super(e, t, ga);
|
16724
16724
|
}
|
16725
16725
|
}
|
16726
|
-
var
|
16727
|
-
const
|
16726
|
+
var RR = xR;
|
16727
|
+
const _R = {
|
16728
16728
|
__name: "ActionButton",
|
16729
16729
|
props: {
|
16730
16730
|
data: {},
|
@@ -16795,11 +16795,11 @@ const RR = {
|
|
16795
16795
|
}
|
16796
16796
|
};
|
16797
16797
|
let pr;
|
16798
|
-
const
|
16798
|
+
const TR = ({ element: l, headers: e, options: t } = {
|
16799
16799
|
element: null,
|
16800
16800
|
headers: [],
|
16801
16801
|
options: {}
|
16802
|
-
}) => (pr = new
|
16802
|
+
}) => (pr = new RR(l, {
|
16803
16803
|
pagination: !1,
|
16804
16804
|
paginationMode: "remote",
|
16805
16805
|
layout: "fitDataStretch",
|
@@ -16832,16 +16832,16 @@ function Dc(l) {
|
|
16832
16832
|
"label"
|
16833
16833
|
], t = {
|
16834
16834
|
_select_: {
|
16835
|
-
formatter:
|
16835
|
+
formatter: MR,
|
16836
16836
|
formatterParams: {
|
16837
16837
|
component: Lc
|
16838
16838
|
},
|
16839
|
-
titleFormatter:
|
16839
|
+
titleFormatter: kR
|
16840
16840
|
},
|
16841
16841
|
_actions_: {
|
16842
|
-
formatter:
|
16842
|
+
formatter: SR,
|
16843
16843
|
formatterParams: {
|
16844
|
-
component:
|
16844
|
+
component: _R
|
16845
16845
|
}
|
16846
16846
|
}
|
16847
16847
|
// _index_: {
|
@@ -16854,36 +16854,36 @@ function Dc(l) {
|
|
16854
16854
|
return { ...n, headerSort: !1 };
|
16855
16855
|
});
|
16856
16856
|
}
|
16857
|
-
function
|
16857
|
+
function SR(l, e) {
|
16858
16858
|
const t = l.getRow().getData(), i = l.getRow().getPosition(), n = document.createElement("div"), r = e.component;
|
16859
16859
|
return Ya(r, { data: t, index: i }).mount(n), n;
|
16860
16860
|
}
|
16861
|
-
function
|
16861
|
+
function MR(l, e) {
|
16862
16862
|
const t = l.getRow().getData(), i = l.getRow().getPosition(), n = document.createElement("div"), r = e.component;
|
16863
16863
|
return Ya(r, { data: t, index: i }).mount(n), n;
|
16864
16864
|
}
|
16865
|
-
function
|
16865
|
+
function kR() {
|
16866
16866
|
const l = document.createElement("div");
|
16867
16867
|
return Ya(Lc, { all: !0 }).mount(l), l;
|
16868
16868
|
}
|
16869
16869
|
function yd(l) {
|
16870
16870
|
pr.setData(l);
|
16871
16871
|
}
|
16872
|
-
function
|
16872
|
+
function LR(l) {
|
16873
16873
|
pr.setColumns(l);
|
16874
16874
|
}
|
16875
|
-
const
|
16876
|
-
up:
|
16877
|
-
down:
|
16875
|
+
const DR = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuNC4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIzIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMjEyLjcgMTQ4LjdjNi4yLTYuMiAxNi40LTYuMiAyMi42IDBsMTYwIDE2MGM2LjIgNi4yIDYuMiAxNi40IDAgMjIuNnMtMTYuNCA2LjItMjIuNiAwTDIyNCAxODIuNiA3NS4zIDMzMS4zYy02LjIgNi4yLTE2LjQgNi4yLTIyLjYgMHMtNi4yLTE2LjQgMC0yMi42bDE2MC0xNjB6Ii8+PC9zdmc+", AR = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuNC4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIzIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMjEyLjcgMzMxLjNjNi4yIDYuMiAxNi40IDYuMiAyMi42IDBsMTYwLTE2MGM2LjItNi4yIDYuMi0xNi40IDAtMjIuNnMtMTYuNC02LjItMjIuNiAwTDIyNCAyOTcuNCA3NS4zIDE0OC43Yy02LjItNi4yLTE2LjQtNi4yLTIyLjYgMHMtNi4yIDE2LjQgMCAyMi42bDE2MCAxNjB6Ii8+PC9zdmc+", FR = {
|
16876
|
+
up: DR,
|
16877
|
+
down: AR
|
16878
16878
|
}, Cd = (l = "up") => {
|
16879
16879
|
const e = document.createElement("img");
|
16880
|
-
return e.src =
|
16880
|
+
return e.src = FR[l], e.style.width = "10px", e.style.height = "10px", e.style.marginLeft = "5px", e;
|
16881
16881
|
}, Ed = (l, e) => {
|
16882
16882
|
l._column.titleHolderElement.style.display = "flex", l._column.titleHolderElement.style.alignItems = "center", l._column.titleHolderElement.appendChild(e);
|
16883
16883
|
}, xd = (l) => {
|
16884
16884
|
l._column.titleHolderElement.lastChild.remove();
|
16885
16885
|
};
|
16886
|
-
function
|
16886
|
+
function OR(l, e) {
|
16887
16887
|
let t = [];
|
16888
16888
|
e.on("tableBuilt", function() {
|
16889
16889
|
ln(
|
@@ -16895,7 +16895,7 @@ function FR(l, e) {
|
|
16895
16895
|
), ln(
|
16896
16896
|
() => l.flatFields,
|
16897
16897
|
() => {
|
16898
|
-
|
16898
|
+
LR(Dc(l.headers));
|
16899
16899
|
},
|
16900
16900
|
{ deep: !0 }
|
16901
16901
|
), ln(
|
@@ -16925,10 +16925,10 @@ const zi = (l, e) => {
|
|
16925
16925
|
for (const [i, n] of e)
|
16926
16926
|
t[i] = n;
|
16927
16927
|
return t;
|
16928
|
-
},
|
16928
|
+
}, PR = {
|
16929
16929
|
key: 0,
|
16930
16930
|
id: "paginate"
|
16931
|
-
},
|
16931
|
+
}, zR = { class: "flex items-center justify-center py-2 lg:px-0 sm:px-6 px-4" }, HR = { class: "lg:w-5/5 bg-white w-full flex items-center justify-between rounded-lg border pb-3" }, IR = { class: "sm:flex hidden mx-auto" }, BR = ["onClick"], NR = {
|
16932
16932
|
__name: "MTablePagination",
|
16933
16933
|
setup(l) {
|
16934
16934
|
const e = it("store");
|
@@ -16953,10 +16953,10 @@ const zi = (l, e) => {
|
|
16953
16953
|
u = e.mainPagination.lastPage;
|
16954
16954
|
return u;
|
16955
16955
|
}
|
16956
|
-
return (u, d) => G(e).mainPagination.lastPage ? ($(), j("div",
|
16957
|
-
S("div",
|
16958
|
-
S("div",
|
16959
|
-
S("div",
|
16956
|
+
return (u, d) => G(e).mainPagination.lastPage ? ($(), j("div", PR, [
|
16957
|
+
S("div", zR, [
|
16958
|
+
S("div", HR, [
|
16959
|
+
S("div", IR, [
|
16960
16960
|
S("div", {
|
16961
16961
|
onClick: i,
|
16962
16962
|
class: "flex items-center px-2 pt-3 text-gray-600 hover:text-indigo-700 cursor-pointer"
|
@@ -16976,7 +16976,7 @@ const zi = (l, e) => {
|
|
16976
16976
|
G(e).mainPagination.currentPage === f ? "text-sm font-medium leading-none cursor-pointer text-indigo-700 !border-indigo-400 border-t-[1px] pt-3 mr-4 px-2" : "text-sm font-medium leading-none cursor-pointer text-gray-600 hover:text-indigo-700 border-t-[1px] border-transparent hover:border-indigo-400 pt-3 mr-4 px-2"
|
16977
16977
|
),
|
16978
16978
|
onClick: (p) => n(f)
|
16979
|
-
}, fe(f), 11,
|
16979
|
+
}, fe(f), 11, BR)) : ($(), j("p", {
|
16980
16980
|
key: 1,
|
16981
16981
|
class: Ue(["text-sm font-medium leading-none text-gray-600 pt-3 px-2", { "mr-4": a() > 1 }])
|
16982
16982
|
}, fe(f), 3))
|
@@ -16998,30 +16998,30 @@ const zi = (l, e) => {
|
|
16998
16998
|
])
|
16999
16999
|
])) : Ne("", !0);
|
17000
17000
|
}
|
17001
|
-
},
|
17001
|
+
}, WR = /* @__PURE__ */ zi(NR, [["__scopeId", "data-v-7f626758"]]), VR = {
|
17002
17002
|
key: 0,
|
17003
17003
|
class: "mt-[-20px]"
|
17004
|
-
},
|
17004
|
+
}, GR = { class: "flex animate-pulse flex-row items-center h-full justify-center" }, $R = { class: "w-full flex flex-row items-start rtl:mr-8 ltr:ml-8" }, UR = {
|
17005
17005
|
key: 1,
|
17006
17006
|
class: "padding: 100px; mt-[-20px] rounded-b-xl bg-white text-center p-[100px] dark:bg-muted-800"
|
17007
|
-
},
|
17007
|
+
}, jR = { class: "dark:text-muted-200 text-muted-600" }, KR = {
|
17008
17008
|
__name: "MTable",
|
17009
17009
|
setup(l) {
|
17010
17010
|
const e = Pe(null), t = it("store"), i = it("tableOptions"), n = or(() => t.mainItems.length === 0 && !t.loadings.mainLoading);
|
17011
17011
|
return Zn(() => {
|
17012
|
-
const r =
|
17012
|
+
const r = TR({
|
17013
17013
|
options: i,
|
17014
17014
|
element: e.value,
|
17015
17015
|
headers: t.headers
|
17016
17016
|
});
|
17017
|
-
|
17017
|
+
OR(t, r);
|
17018
17018
|
}), (r, a) => ($(), j(tt, null, [
|
17019
17019
|
S("div", {
|
17020
17020
|
ref_key: "table",
|
17021
17021
|
ref: e,
|
17022
17022
|
class: "mt-2 w-full overflow-x-auto"
|
17023
17023
|
}, null, 512),
|
17024
|
-
G(t).loadings.mainLoading ? ($(), j("div",
|
17024
|
+
G(t).loadings.mainLoading ? ($(), j("div", VR, [
|
17025
17025
|
($(), j(tt, null, Ai(10, (u) => S("div", {
|
17026
17026
|
key: u,
|
17027
17027
|
class: Ue([{
|
@@ -17031,8 +17031,8 @@ const zi = (l, e) => {
|
|
17031
17031
|
"bg-white dark:bg-muted-800": u % 2 === 0
|
17032
17032
|
}, "w-full py-4 mx-auto border-b-1"])
|
17033
17033
|
}, [
|
17034
|
-
S("div",
|
17035
|
-
S("div",
|
17034
|
+
S("div", GR, [
|
17035
|
+
S("div", $R, [
|
17036
17036
|
($(), j(tt, null, Ai(9, (d) => S("div", {
|
17037
17037
|
key: d,
|
17038
17038
|
class: "mx-1 w-[10%] bg-muted-300 dark:bg-muted-900 h-2.5 rounded-md"
|
@@ -17041,23 +17041,23 @@ const zi = (l, e) => {
|
|
17041
17041
|
])
|
17042
17042
|
], 2)), 64))
|
17043
17043
|
])) : Ne("", !0),
|
17044
|
-
n.value ? ($(), j("div",
|
17045
|
-
S("h2",
|
17044
|
+
n.value ? ($(), j("div", UR, [
|
17045
|
+
S("h2", jR, fe(r.$fcTr("not_load_or_existing_data")), 1)
|
17046
17046
|
])) : Ne("", !0),
|
17047
|
-
$e(
|
17047
|
+
$e(WR)
|
17048
17048
|
], 64));
|
17049
17049
|
}
|
17050
17050
|
}, Ac = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXgiPjxwYXRoIGQ9Ik0xOCA2IDYgMTgiLz48cGF0aCBkPSJtNiA2IDEyIDEyIi8+PC9zdmc+";
|
17051
|
-
const
|
17051
|
+
const qR = {
|
17052
17052
|
key: 0,
|
17053
17053
|
class: "w-full rounded-lg bg-white shadow-secondary-1 shadow-lg border border-muted-300 dark:bg-surface-dark"
|
17054
|
-
},
|
17054
|
+
}, JR = { class: "border-b-2 flex justify-between border--100 px-6 py-3 text-surface dark:border-white/10 dark:text-white" }, XR = {
|
17055
17055
|
key: 0,
|
17056
17056
|
class: "text-primerr-700"
|
17057
|
-
},
|
17057
|
+
}, YR = {
|
17058
17058
|
key: 1,
|
17059
17059
|
class: "text-primerr-700"
|
17060
|
-
},
|
17060
|
+
}, ZR = ["src"], QR = { class: "p-6" }, e_ = { class: "flex justify-end p-3 bg-gray-100 rounded-lg" }, t_ = {
|
17061
17061
|
__name: "MTabForm",
|
17062
17062
|
setup(l) {
|
17063
17063
|
const e = it("store");
|
@@ -17066,18 +17066,18 @@ const KR = {
|
|
17066
17066
|
appear: ""
|
17067
17067
|
}, {
|
17068
17068
|
default: et(() => [
|
17069
|
-
G(e).dialog ? ($(), j("div",
|
17070
|
-
S("div",
|
17071
|
-
G(e).isEditing ? ($(), j("b",
|
17069
|
+
G(e).dialog ? ($(), j("div", qR, [
|
17070
|
+
S("div", JR, [
|
17071
|
+
G(e).isEditing ? ($(), j("b", XR, fe(t.$fcTr("edit")), 1)) : ($(), j("b", YR, fe(t.$fcTr("add")), 1)),
|
17072
17072
|
S("img", {
|
17073
17073
|
style: { "max-width": "18px", cursor: "pointer" },
|
17074
17074
|
src: G(Ac),
|
17075
17075
|
onClick: i[0] || (i[0] = (n) => G(e).dialog = !1)
|
17076
|
-
}, null, 8,
|
17076
|
+
}, null, 8, ZR)
|
17077
17077
|
]),
|
17078
|
-
S("div",
|
17078
|
+
S("div", QR, [
|
17079
17079
|
Xt(t.$slots, "default", {}, void 0, !0),
|
17080
|
-
S("div",
|
17080
|
+
S("div", e_, [
|
17081
17081
|
Xt(t.$slots, "actions", {}, void 0, !0)
|
17082
17082
|
])
|
17083
17083
|
])
|
@@ -17086,7 +17086,7 @@ const KR = {
|
|
17086
17086
|
_: 3
|
17087
17087
|
}));
|
17088
17088
|
}
|
17089
|
-
},
|
17089
|
+
}, i_ = /* @__PURE__ */ zi(t_, [["__scopeId", "data-v-305ba86b"]]), n_ = { class: "flex flex-col text-right mt-4" }, s_ = { class: "mb-5" }, r_ = {
|
17090
17090
|
__name: "FormCore",
|
17091
17091
|
setup(l) {
|
17092
17092
|
const e = it("store"), t = Pe(null), i = () => {
|
@@ -17105,8 +17105,8 @@ const KR = {
|
|
17105
17105
|
n();
|
17106
17106
|
}), (r, a) => {
|
17107
17107
|
const u = Sd("Vueform");
|
17108
|
-
return $(), j("div",
|
17109
|
-
S("div",
|
17108
|
+
return $(), j("div", n_, [
|
17109
|
+
S("div", s_, [
|
17110
17110
|
$e(u, Xn({
|
17111
17111
|
modelValue: G(e).form,
|
17112
17112
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => G(e).form = d)
|
@@ -17121,10 +17121,10 @@ const KR = {
|
|
17121
17121
|
]);
|
17122
17122
|
};
|
17123
17123
|
}
|
17124
|
-
},
|
17124
|
+
}, o_ = { class: "fixed z-10 inset-0 overflow-y-auto" }, a_ = { class: "flex items-center justify-center min-h-full p-4 sm:p-0" }, l_ = { class: "relative bg-white rounded-lg shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full" }, h_ = { class: "bg-white rounded-lg px-4 pt-3 pb-4 sm:pb-4" }, u_ = { class: "flex items-start" }, d_ = { class: "w-full" }, c_ = {
|
17125
17125
|
class: "text-lg leading-6 font-medium text-gray-900 flex flex-row justify-between",
|
17126
17126
|
id: "modal-title"
|
17127
|
-
},
|
17127
|
+
}, f_ = { class: "pt-1" }, p_ = ["src"], g_ = { class: "mt-2" }, m_ = { class: "bg-gray-100 p-2 flex sm:flex-row-reverse" }, b_ = {
|
17128
17128
|
__name: "TailwindDialog",
|
17129
17129
|
props: {
|
17130
17130
|
title: { default: "" },
|
@@ -17148,27 +17148,27 @@ const KR = {
|
|
17148
17148
|
role: "dialog"
|
17149
17149
|
}, [
|
17150
17150
|
u[1] || (u[1] = S("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity backdrop-blur-[4px]" }, null, -1)),
|
17151
|
-
S("div",
|
17152
|
-
S("div",
|
17153
|
-
S("div",
|
17154
|
-
S("div",
|
17155
|
-
S("div",
|
17156
|
-
S("div",
|
17157
|
-
S("h3",
|
17158
|
-
S("span",
|
17151
|
+
S("div", o_, [
|
17152
|
+
S("div", a_, [
|
17153
|
+
S("div", l_, [
|
17154
|
+
S("div", h_, [
|
17155
|
+
S("div", u_, [
|
17156
|
+
S("div", d_, [
|
17157
|
+
S("h3", c_, [
|
17158
|
+
S("span", f_, fe(n.title), 1),
|
17159
17159
|
S("img", {
|
17160
17160
|
style: { "max-width": "18px", cursor: "pointer" },
|
17161
17161
|
src: G(Ac),
|
17162
17162
|
onClick: u[0] || (u[0] = (d) => G(t).dialog = !1)
|
17163
|
-
}, null, 8,
|
17163
|
+
}, null, 8, p_)
|
17164
17164
|
]),
|
17165
|
-
S("div",
|
17165
|
+
S("div", g_, [
|
17166
17166
|
Xt(a.$slots, "default")
|
17167
17167
|
])
|
17168
17168
|
])
|
17169
17169
|
])
|
17170
17170
|
]),
|
17171
|
-
S("div",
|
17171
|
+
S("div", m_, [
|
17172
17172
|
Xt(a.$slots, "actions", {}, () => [
|
17173
17173
|
S("button", {
|
17174
17174
|
type: "button",
|
@@ -17191,11 +17191,11 @@ const KR = {
|
|
17191
17191
|
}));
|
17192
17192
|
}
|
17193
17193
|
};
|
17194
|
-
const
|
17194
|
+
const v_ = {
|
17195
17195
|
__name: "MDialogForm",
|
17196
17196
|
setup(l) {
|
17197
17197
|
const e = it("store");
|
17198
|
-
return (t, i) => ($(), Fi(
|
17198
|
+
return (t, i) => ($(), Fi(b_, {
|
17199
17199
|
modelValue: G(e).dialog,
|
17200
17200
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => G(e).dialog = n),
|
17201
17201
|
title: G(e).isEditing ? t.$fcTr("edit") : t.$fcTr("add")
|
@@ -17209,21 +17209,19 @@ const b_ = {
|
|
17209
17209
|
_: 3
|
17210
17210
|
}, 8, ["modelValue", "title"]));
|
17211
17211
|
}
|
17212
|
-
}, Rd = /* @__PURE__ */ zi(
|
17213
|
-
function
|
17212
|
+
}, Rd = /* @__PURE__ */ zi(v_, [["__scopeId", "data-v-3c50400f"]]);
|
17213
|
+
function w_(l, e) {
|
17214
17214
|
return Array.isArray(l) ? W.every(l, (t) => W.isType(t, e)) : !1;
|
17215
17215
|
}
|
17216
|
-
const
|
17216
|
+
const y_ = (l, e) => {
|
17217
17217
|
const t = W.get(l, "field"), i = W.get(l, "valueProp");
|
17218
|
-
return
|
17219
|
-
}, Fc = (l, e) => W.get(e, l.field),
|
17220
|
-
select:
|
17218
|
+
return w_(e, "object") ? e.map((n) => W.get(n, i)) : W.get(e, t);
|
17219
|
+
}, Fc = (l, e) => W.get(e, l.field), C_ = {
|
17220
|
+
select: y_,
|
17221
17221
|
text: Fc
|
17222
17222
|
};
|
17223
17223
|
function Oc(l, e = "", t = {}) {
|
17224
17224
|
for (const i in l) {
|
17225
|
-
if (!l.hasOwnProperty(i))
|
17226
|
-
continue;
|
17227
17225
|
const n = l[i], r = e ? `${e}.${i}` : i;
|
17228
17226
|
if (typeof n == "object" && n !== null) {
|
17229
17227
|
if (typeof n.normalizer == "function")
|
@@ -17233,19 +17231,19 @@ function Oc(l, e = "", t = {}) {
|
|
17233
17231
|
}
|
17234
17232
|
return t;
|
17235
17233
|
}
|
17236
|
-
const
|
17234
|
+
const E_ = (l, e) => {
|
17237
17235
|
const t = Oc(l);
|
17238
|
-
if (console.log(t), typeof t == "function")
|
17236
|
+
if (console.log(t), console.log(l, e), typeof t == "function")
|
17239
17237
|
return t(e);
|
17240
|
-
const i =
|
17238
|
+
const i = C_[l.type];
|
17241
17239
|
return i ? i(l, e) : Fc(l, e);
|
17242
17240
|
};
|
17243
|
-
const
|
17241
|
+
const x_ = ["disabled"], R_ = { key: 0 }, __ = { key: 1 }, T_ = { class: "w-full" }, S_ = {
|
17244
17242
|
__name: "MList",
|
17245
17243
|
setup(l) {
|
17246
17244
|
const e = it("store"), { listen: t, event: i } = je, n = it("form.save.key"), r = or(() => {
|
17247
17245
|
const f = {
|
17248
|
-
tab:
|
17246
|
+
tab: i_,
|
17249
17247
|
dialog: Rd
|
17250
17248
|
};
|
17251
17249
|
return W.get(f, e.options.formMode) || Rd;
|
@@ -17256,7 +17254,7 @@ const E_ = ["disabled"], x_ = { key: 0 }, R_ = { key: 1 }, __ = { class: "w-full
|
|
17256
17254
|
const u = (f) => {
|
17257
17255
|
let p = { ...f };
|
17258
17256
|
for (const v of e.flatFieldsWithoutActions)
|
17259
|
-
p[v.field] =
|
17257
|
+
p[v.field] = E_(v, f);
|
17260
17258
|
return p;
|
17261
17259
|
};
|
17262
17260
|
return (() => {
|
@@ -17287,28 +17285,28 @@ const E_ = ["disabled"], x_ = { key: 0 }, R_ = { key: 1 }, __ = { class: "w-full
|
|
17287
17285
|
onClick: p[0] || (p[0] = (v) => G(i)("saveForm")),
|
17288
17286
|
className: "btn mt-1 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 !bg-green-500 text-base font-medium text-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
|
17289
17287
|
}, [
|
17290
|
-
G(e).loadings.mainLoading ? ($(), j("span",
|
17288
|
+
G(e).loadings.mainLoading ? ($(), j("span", __, p[2] || (p[2] = [
|
17291
17289
|
S("b", null, null, -1),
|
17292
17290
|
S("b", null, null, -1),
|
17293
17291
|
S("b", null, null, -1)
|
17294
|
-
]))) : ($(), j("span",
|
17295
|
-
], 8,
|
17292
|
+
]))) : ($(), j("span", R_, fe(G(n) || f.$fcTr("save")), 1))
|
17293
|
+
], 8, x_),
|
17296
17294
|
S("button", {
|
17297
17295
|
onClick: p[1] || (p[1] = (v) => G(e).dialog = !1),
|
17298
17296
|
className: "mt-1 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
|
17299
17297
|
}, fe(f.$fcTr("cancel")), 1)
|
17300
17298
|
]),
|
17301
17299
|
default: et(() => [
|
17302
|
-
$e(
|
17300
|
+
$e(r_)
|
17303
17301
|
]),
|
17304
17302
|
_: 1
|
17305
17303
|
})),
|
17306
|
-
S("div",
|
17307
|
-
($(), Fi(Iu(
|
17304
|
+
S("div", T_, [
|
17305
|
+
($(), Fi(Iu(KR), Md(kd(a())), null, 16))
|
17308
17306
|
])
|
17309
17307
|
], 64));
|
17310
17308
|
}
|
17311
|
-
},
|
17309
|
+
}, M_ = () => {
|
17312
17310
|
const l = fn();
|
17313
17311
|
return {
|
17314
17312
|
op: {
|
@@ -17332,7 +17330,7 @@ const E_ = ["disabled"], x_ = { key: 0 }, R_ = { key: 1 }, __ = { class: "w-full
|
|
17332
17330
|
columns: 4
|
17333
17331
|
}
|
17334
17332
|
};
|
17335
|
-
},
|
17333
|
+
}, k_ = () => {
|
17336
17334
|
const l = fn();
|
17337
17335
|
return {
|
17338
17336
|
op: {
|
@@ -17354,7 +17352,7 @@ const E_ = ["disabled"], x_ = { key: 0 }, R_ = { key: 1 }, __ = { class: "w-full
|
|
17354
17352
|
columns: 4
|
17355
17353
|
})
|
17356
17354
|
};
|
17357
|
-
},
|
17355
|
+
}, L_ = () => {
|
17358
17356
|
const l = fn();
|
17359
17357
|
return {
|
17360
17358
|
op: {
|
@@ -17375,7 +17373,7 @@ const E_ = ["disabled"], x_ = { key: 0 }, R_ = { key: 1 }, __ = { class: "w-full
|
|
17375
17373
|
columns: 4
|
17376
17374
|
}
|
17377
17375
|
};
|
17378
|
-
},
|
17376
|
+
}, D_ = (l) => {
|
17379
17377
|
const e = fn();
|
17380
17378
|
return {
|
17381
17379
|
op: {
|
@@ -17400,13 +17398,13 @@ const E_ = ["disabled"], x_ = { key: 0 }, R_ = { key: 1 }, __ = { class: "w-full
|
|
17400
17398
|
object: !1
|
17401
17399
|
})
|
17402
17400
|
};
|
17403
|
-
},
|
17404
|
-
TextFilter:
|
17405
|
-
DateFilter:
|
17406
|
-
NullFilter:
|
17407
|
-
SelectFilter:
|
17401
|
+
}, A_ = {
|
17402
|
+
TextFilter: M_,
|
17403
|
+
DateFilter: k_,
|
17404
|
+
NullFilter: L_,
|
17405
|
+
SelectFilter: D_
|
17408
17406
|
};
|
17409
|
-
function
|
17407
|
+
function F_(l) {
|
17410
17408
|
return Py() ? (zy(l), !0) : !1;
|
17411
17409
|
}
|
17412
17410
|
function ol(l) {
|
@@ -17414,13 +17412,13 @@ function ol(l) {
|
|
17414
17412
|
}
|
17415
17413
|
const Pc = typeof window < "u" && typeof document < "u";
|
17416
17414
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
17417
|
-
const
|
17418
|
-
},
|
17419
|
-
function
|
17415
|
+
const O_ = Object.prototype.toString, P_ = (l) => O_.call(l) === "[object Object]", rr = () => {
|
17416
|
+
}, z_ = /* @__PURE__ */ H_();
|
17417
|
+
function H_() {
|
17420
17418
|
var l, e;
|
17421
17419
|
return Pc && ((l = window == null ? void 0 : window.navigator) == null ? void 0 : l.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
17422
17420
|
}
|
17423
|
-
function
|
17421
|
+
function I_(l, e) {
|
17424
17422
|
function t(...i) {
|
17425
17423
|
return new Promise((n, r) => {
|
17426
17424
|
Promise.resolve(l(() => e.apply(this, i), { fn: e, thisArg: this, args: i })).then(n).catch(r);
|
@@ -17429,7 +17427,7 @@ function H_(l, e) {
|
|
17429
17427
|
return t;
|
17430
17428
|
}
|
17431
17429
|
const zc = (l) => l();
|
17432
|
-
function
|
17430
|
+
function B_(l = zc) {
|
17433
17431
|
const e = Pe(!0);
|
17434
17432
|
function t() {
|
17435
17433
|
e.value = !1;
|
@@ -17442,29 +17440,29 @@ function I_(l = zc) {
|
|
17442
17440
|
};
|
17443
17441
|
return { isActive: Fy(e), pause: t, resume: i, eventFilter: n };
|
17444
17442
|
}
|
17445
|
-
function
|
17443
|
+
function N_(l) {
|
17446
17444
|
return l || Oy();
|
17447
17445
|
}
|
17448
|
-
function
|
17446
|
+
function W_(l, e, t = {}) {
|
17449
17447
|
const {
|
17450
17448
|
eventFilter: i = zc,
|
17451
17449
|
...n
|
17452
17450
|
} = t;
|
17453
17451
|
return ln(
|
17454
17452
|
l,
|
17455
|
-
|
17453
|
+
I_(
|
17456
17454
|
i,
|
17457
17455
|
e
|
17458
17456
|
),
|
17459
17457
|
n
|
17460
17458
|
);
|
17461
17459
|
}
|
17462
|
-
function
|
17460
|
+
function V_(l, e, t = {}) {
|
17463
17461
|
const {
|
17464
17462
|
eventFilter: i,
|
17465
17463
|
...n
|
17466
|
-
} = t, { eventFilter: r, pause: a, resume: u, isActive: d } =
|
17467
|
-
return { stop:
|
17464
|
+
} = t, { eventFilter: r, pause: a, resume: u, isActive: d } = B_(i);
|
17465
|
+
return { stop: W_(
|
17468
17466
|
l,
|
17469
17467
|
e,
|
17470
17468
|
{
|
@@ -17473,8 +17471,8 @@ function W_(l, e, t = {}) {
|
|
17473
17471
|
}
|
17474
17472
|
), pause: a, resume: u, isActive: d };
|
17475
17473
|
}
|
17476
|
-
function
|
17477
|
-
|
17474
|
+
function G_(l, e = !0, t) {
|
17475
|
+
N_() ? Zn(l, t) : e ? l() : ar(l);
|
17478
17476
|
}
|
17479
17477
|
function In(l) {
|
17480
17478
|
var e;
|
@@ -17494,7 +17492,7 @@ function $n(...l) {
|
|
17494
17492
|
([p, v]) => {
|
17495
17493
|
if (a(), !p)
|
17496
17494
|
return;
|
17497
|
-
const m =
|
17495
|
+
const m = P_(v) ? { ...v } : v;
|
17498
17496
|
r.push(
|
17499
17497
|
...t.flatMap((C) => i.map((x) => u(p, C, x, m)))
|
17500
17498
|
);
|
@@ -17503,14 +17501,14 @@ function $n(...l) {
|
|
17503
17501
|
), f = () => {
|
17504
17502
|
d(), a();
|
17505
17503
|
};
|
17506
|
-
return
|
17504
|
+
return F_(f), f;
|
17507
17505
|
}
|
17508
17506
|
let _d = !1;
|
17509
|
-
function
|
17507
|
+
function $_(l, e, t = {}) {
|
17510
17508
|
const { window: i = gr, ignore: n = [], capture: r = !0, detectIframe: a = !1 } = t;
|
17511
17509
|
if (!i)
|
17512
17510
|
return rr;
|
17513
|
-
|
17511
|
+
z_ && !_d && (_d = !0, Array.from(i.document.body.children).forEach((m) => m.addEventListener("click", rr)), i.document.documentElement.addEventListener("click", rr));
|
17514
17512
|
let u = !0;
|
17515
17513
|
const d = (m) => n.some((C) => {
|
17516
17514
|
if (typeof C == "string")
|
@@ -17544,17 +17542,17 @@ function G_(l, e, t = {}) {
|
|
17544
17542
|
].filter(Boolean);
|
17545
17543
|
return () => p.forEach((m) => m());
|
17546
17544
|
}
|
17547
|
-
const Qs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, er = "__vueuse_ssr_handlers__",
|
17548
|
-
function
|
17545
|
+
const Qs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, er = "__vueuse_ssr_handlers__", U_ = /* @__PURE__ */ j_();
|
17546
|
+
function j_() {
|
17549
17547
|
return er in Qs || (Qs[er] = Qs[er] || {}), Qs[er];
|
17550
17548
|
}
|
17551
|
-
function
|
17552
|
-
return
|
17549
|
+
function K_(l, e) {
|
17550
|
+
return U_[l] || e;
|
17553
17551
|
}
|
17554
|
-
function
|
17552
|
+
function q_(l) {
|
17555
17553
|
return l == null ? "any" : l instanceof Set ? "set" : l instanceof Map ? "map" : l instanceof Date ? "date" : typeof l == "boolean" ? "boolean" : typeof l == "string" ? "string" : typeof l == "object" ? "object" : Number.isNaN(l) ? "any" : "number";
|
17556
17554
|
}
|
17557
|
-
const
|
17555
|
+
const J_ = {
|
17558
17556
|
boolean: {
|
17559
17557
|
read: (l) => l === "true",
|
17560
17558
|
write: (l) => String(l)
|
@@ -17588,7 +17586,7 @@ const q_ = {
|
|
17588
17586
|
write: (l) => l.toISOString()
|
17589
17587
|
}
|
17590
17588
|
}, Td = "vueuse-storage";
|
17591
|
-
function
|
17589
|
+
function X_(l, e, t, i = {}) {
|
17592
17590
|
var n;
|
17593
17591
|
const {
|
17594
17592
|
flush: r = "pre",
|
@@ -17606,7 +17604,7 @@ function J_(l, e, t, i = {}) {
|
|
17606
17604
|
} = i, T = (p ? Hy : Pe)(typeof e == "function" ? e() : e);
|
17607
17605
|
if (!t)
|
17608
17606
|
try {
|
17609
|
-
t =
|
17607
|
+
t = K_("getDefaultStorage", () => {
|
17610
17608
|
var te;
|
17611
17609
|
return (te = gr) == null ? void 0 : te.localStorage;
|
17612
17610
|
})();
|
@@ -17615,12 +17613,12 @@ function J_(l, e, t, i = {}) {
|
|
17615
17613
|
}
|
17616
17614
|
if (!t)
|
17617
17615
|
return T;
|
17618
|
-
const D = ol(e), L =
|
17616
|
+
const D = ol(e), L = q_(D), U = (n = i.serializer) != null ? n : J_[L], { pause: I, resume: N } = V_(
|
17619
17617
|
T,
|
17620
17618
|
() => ue(T.value),
|
17621
17619
|
{ flush: r, deep: a, eventFilter: m }
|
17622
17620
|
);
|
17623
|
-
v && u &&
|
17621
|
+
v && u && G_(() => {
|
17624
17622
|
$n(v, "storage", K), $n(v, Td, Se), x && K();
|
17625
17623
|
}), x || K();
|
17626
17624
|
function z(te, we) {
|
@@ -17679,15 +17677,15 @@ function J_(l, e, t, i = {}) {
|
|
17679
17677
|
}
|
17680
17678
|
return T;
|
17681
17679
|
}
|
17682
|
-
const
|
17680
|
+
const Y_ = { class: "relative" }, Xa = {
|
17683
17681
|
__name: "MMenu",
|
17684
17682
|
setup(l) {
|
17685
17683
|
const e = Pe(null);
|
17686
|
-
|
17684
|
+
$_(e, (r) => t.value = !1);
|
17687
17685
|
const t = Pe(!1), i = { isOpen: t.value }, n = {
|
17688
17686
|
click: () => t.value = !t.value
|
17689
17687
|
};
|
17690
|
-
return (r, a) => ($(), j("div",
|
17688
|
+
return (r, a) => ($(), j("div", Y_, [
|
17691
17689
|
Xt(r.$slots, "activator", Md(kd({ on: n, props: i })), () => [
|
17692
17690
|
S("button", Xn({ class: "bg-blue-500 text-white px-4 py-2 rounded-md" }, lr(n, !0)), " Open Menu " + fe(t.value), 17)
|
17693
17691
|
]),
|
@@ -17708,13 +17706,13 @@ const X_ = { class: "relative" }, Xa = {
|
|
17708
17706
|
]));
|
17709
17707
|
}
|
17710
17708
|
};
|
17711
|
-
const
|
17709
|
+
const Z_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 relative mb-4 w-full rounded-lg border bg-white p-6 transition-all duration-300" }, Q_ = { class: "flex flex-col ml-1 border-[rgba(0,0,0,.1)] pb-4" }, eT = { class: "flex flex-row justify-between mb-4 items-center" }, tT = { class: "font-heading text-base font-semibold leading-tight text-muted-800 dark:text-white" }, iT = { class: "flex items-center" }, nT = { class: "z-[1]" }, sT = { class: "fc-drop-down-content" }, rT = {
|
17712
17710
|
key: 0,
|
17713
17711
|
class: "p-2 text-center"
|
17714
|
-
},
|
17712
|
+
}, oT = ["onClick"], aT = { class: "text-muted-400 font-sans text-sm" }, lT = { class: "flex w-full justify-between align-start" }, hT = { class: "w-[12%] flex justify-center items-center" }, uT = ["disabled"], dT = { class: "flex border-t dark:border-muted-600 flex-col p-2 mt-2" }, cT = { class: "flex items-center" }, fT = { class: "font-heading text-base font-semibold leading-tight text-muted-800 dark:text-white" }, pT = { class: "group-hover:text-red-500" }, gT = { class: "my-2 flex overflow-x-auto slimscroll" }, mT = { class: "flex" }, bT = ["onClick"], vT = { class: "mt-[0px]" }, wT = ["onClick"], yT = {
|
17715
17713
|
key: 0,
|
17716
17714
|
class: "flex items-center mx-2 text-[0.75rem]"
|
17717
|
-
},
|
17715
|
+
}, CT = { class: "flex w-full gap-x-2 justify-between !items-end" }, ET = { class: "pt-4 md:pt-6" }, xT = { class: "flex gap-x-2" }, RT = ["placeholder"], _T = {
|
17718
17716
|
__name: "MFilter",
|
17719
17717
|
setup(l) {
|
17720
17718
|
const e = it("store");
|
@@ -17728,7 +17726,7 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17728
17726
|
date: "DateFilter",
|
17729
17727
|
select: "SelectFilter",
|
17730
17728
|
map: "NullFilter"
|
17731
|
-
}, ue = W.get(z, N.type), Z = W.get(
|
17729
|
+
}, ue = W.get(z, N.type), Z = W.get(A_, ue);
|
17732
17730
|
return typeof Z == "function" ? Z(N) : !1;
|
17733
17731
|
}
|
17734
17732
|
const p = {
|
@@ -17761,7 +17759,7 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17761
17759
|
});
|
17762
17760
|
function m() {
|
17763
17761
|
const N = window.location.pathname.replace(/^\/|\/$/g, "") + "-filters";
|
17764
|
-
return
|
17762
|
+
return X_(N, {}, localStorage, { mergeDefaults: !0 });
|
17765
17763
|
}
|
17766
17764
|
function C() {
|
17767
17765
|
e.filters.push(W.cloneDeep(n.value)), n.value = {};
|
@@ -17793,28 +17791,28 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17793
17791
|
return Bn(($(), j("div", {
|
17794
17792
|
class: Ue(["accordion-content", { hide: G(e).panel !== "filters" }])
|
17795
17793
|
}, [
|
17796
|
-
S("div",
|
17797
|
-
S("div",
|
17798
|
-
S("div",
|
17799
|
-
S("h3",
|
17800
|
-
S("div",
|
17794
|
+
S("div", Z_, [
|
17795
|
+
S("div", Q_, [
|
17796
|
+
S("div", eT, [
|
17797
|
+
S("h3", tT, fe(N.$fcTr("filter_data")), 1),
|
17798
|
+
S("div", iT, [
|
17801
17799
|
$e(Xa, null, {
|
17802
17800
|
activator: et(({ props: Z, on: K }) => [
|
17803
17801
|
S("button", Xn(lr(K, !0), {
|
17804
17802
|
class: [Z.isOpen ? "before:hidden" : "before:block", "fc-filter-choose is-button rounded is-button-default min-w-[130px]"]
|
17805
17803
|
}), [
|
17806
|
-
S("span",
|
17804
|
+
S("span", nT, fe(N.$fcTr("choose_filter")), 1)
|
17807
17805
|
], 16)
|
17808
17806
|
]),
|
17809
17807
|
default: et(() => [
|
17810
|
-
S("div",
|
17811
|
-
Object.keys(G(u)).length === 0 ? ($(), j("p",
|
17808
|
+
S("div", sT, [
|
17809
|
+
Object.keys(G(u)).length === 0 ? ($(), j("p", rT, fe(N.$fcTr("not_filter_create_yes")), 1)) : Ne("", !0),
|
17812
17810
|
($(!0), j(tt, null, Ai(G(u), (Z, K) => ($(), j("a", {
|
17813
17811
|
class: "group rounded flex w-full items-center py-3 text-sm duration-300 text-muted-500 hover:bg-muted-100 dark:hover:bg-muted-700 justify-between rtl:pl-4 rtl:pr-5",
|
17814
17812
|
key: K,
|
17815
17813
|
onClick: Xs((Se) => G(e).filters = Object.values(Z), ["stop"])
|
17816
17814
|
}, [
|
17817
|
-
S("p",
|
17815
|
+
S("p", aT, fe(K), 1),
|
17818
17816
|
z[6] || (z[6] = S("svg", {
|
17819
17817
|
"data-v-74b3417a": "",
|
17820
17818
|
"aria-hidden": "true",
|
@@ -17830,14 +17828,14 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17830
17828
|
d: "M18 6 6 18M6 6l12 12"
|
17831
17829
|
})
|
17832
17830
|
], -1))
|
17833
|
-
], 8,
|
17831
|
+
], 8, oT))), 128))
|
17834
17832
|
])
|
17835
17833
|
]),
|
17836
17834
|
_: 1
|
17837
17835
|
})
|
17838
17836
|
])
|
17839
17837
|
]),
|
17840
|
-
S("div",
|
17838
|
+
S("div", lT, [
|
17841
17839
|
$e(ue, {
|
17842
17840
|
modelValue: n.value,
|
17843
17841
|
"onUpdate:modelValue": z[0] || (z[0] = (Z) => n.value = Z),
|
@@ -17846,7 +17844,7 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17846
17844
|
class: "w-[100%] justify-between ml-4",
|
17847
17845
|
columns: { label: 12 }
|
17848
17846
|
}, null, 8, ["modelValue", "schema"]),
|
17849
|
-
S("div",
|
17847
|
+
S("div", hT, [
|
17850
17848
|
i.value ? ($(), j("button", {
|
17851
17849
|
key: 1,
|
17852
17850
|
class: "!border-dashed is-button-default is-button w-full rounded-full font-bold py-1 px-2 !border-green-400 !text-green-400 hover:!bg-green-50",
|
@@ -17880,18 +17878,18 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17880
17878
|
})
|
17881
17879
|
], -1)),
|
17882
17880
|
Bu(" " + fe(N.$fcTr("add_filter")), 1)
|
17883
|
-
], 8,
|
17881
|
+
], 8, uT))
|
17884
17882
|
])
|
17885
17883
|
])
|
17886
17884
|
]),
|
17887
|
-
Bn(S("div",
|
17888
|
-
S("div",
|
17889
|
-
S("h3",
|
17885
|
+
Bn(S("div", dT, [
|
17886
|
+
S("div", cT, [
|
17887
|
+
S("h3", fT, fe(N.$fcTr("active_filter")), 1),
|
17890
17888
|
S("button", {
|
17891
17889
|
onClick: L,
|
17892
17890
|
class: "is-button group hover:text-red-500 hover:border-red-500 w-fit text-muted-600 dark:text-muted-400 !text-xs border !px-3 !py-0 !h-[1.5rem] mx-2 !rounded-full"
|
17893
17891
|
}, [
|
17894
|
-
S("span",
|
17892
|
+
S("span", pT, fe(N.$fcTr("clear_all")), 1),
|
17895
17893
|
z[9] || (z[9] = S("svg", {
|
17896
17894
|
stroke: "currentColor",
|
17897
17895
|
width: "1em",
|
@@ -17903,14 +17901,14 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17903
17901
|
], -1))
|
17904
17902
|
])
|
17905
17903
|
]),
|
17906
|
-
S("div",
|
17904
|
+
S("div", gT, [
|
17907
17905
|
($(!0), j(tt, null, Ai(G(e).filters, (Z, K) => ($(), j(tt, { key: K }, [
|
17908
|
-
S("div",
|
17906
|
+
S("div", mT, [
|
17909
17907
|
S("span", {
|
17910
17908
|
class: "flex px-3 font-sans transition-shadow duration-300 py-1 text-[0.75rem] cursor-pointer rounded-full bg-primary-100 text-primary-500 border-primary-100 dark:border-primary-500 dark:text-primary-500 border dark:bg-transparent",
|
17911
17909
|
onClick: (Se) => T(Z, K)
|
17912
17910
|
}, [
|
17913
|
-
S("span",
|
17911
|
+
S("span", vT, fe(G(W.get)(Z, "field.title")), 1),
|
17914
17912
|
S("button", {
|
17915
17913
|
class: "text-white font-bold rounded px-1 hover:bg-primary-500 hover:text-black-500",
|
17916
17914
|
onClick: Xs((Se) => D(Z), ["stop"])
|
@@ -17928,22 +17926,22 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17928
17926
|
d: "M18 6 6 18M6 6l12 12"
|
17929
17927
|
})
|
17930
17928
|
], -1)
|
17931
|
-
]), 8,
|
17932
|
-
], 8,
|
17929
|
+
]), 8, wT)
|
17930
|
+
], 8, bT)
|
17933
17931
|
]),
|
17934
|
-
G(e).filters.length - 1 !== K ? ($(), j("span",
|
17932
|
+
G(e).filters.length - 1 !== K ? ($(), j("span", yT, fe(N.$fcTr("&")), 1)) : Ne("", !0)
|
17935
17933
|
], 64))), 128))
|
17936
17934
|
])
|
17937
17935
|
], 512), [
|
17938
17936
|
[Nu, G(e).filters.length > 0]
|
17939
17937
|
]),
|
17940
|
-
S("div",
|
17938
|
+
S("div", CT, [
|
17941
17939
|
S("button", {
|
17942
17940
|
onClick: z[1] || (z[1] = (Z) => G(e).panel = ""),
|
17943
17941
|
class: "is-button text-muted-500 rounded hover:text-red-500 !underline focus-within:!outline-none"
|
17944
17942
|
}, fe(N.$fcTr("cancel")), 1),
|
17945
|
-
S("div",
|
17946
|
-
S("div",
|
17943
|
+
S("div", ET, [
|
17944
|
+
S("div", xT, [
|
17947
17945
|
S("button", {
|
17948
17946
|
onClick: z[5] || (z[5] = Xs((Z) => Object.keys(G(e).filters).length !== 0 ? U() : "", ["self"])),
|
17949
17947
|
class: Ue([{
|
@@ -17970,7 +17968,7 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
17970
17968
|
placeholder: N.$fcTr("filter_save_placeholder"),
|
17971
17969
|
ref_key: "filterNameInp",
|
17972
17970
|
ref: d
|
17973
|
-
}, null, 10,
|
17971
|
+
}, null, 10, RT), [
|
17974
17972
|
[Ld, a.value]
|
17975
17973
|
]),
|
17976
17974
|
S("span", {
|
@@ -18008,11 +18006,11 @@ const Y_ = { class: "border-muted-200 dark:border-muted-700 dark:bg-muted-800 re
|
|
18008
18006
|
]);
|
18009
18007
|
};
|
18010
18008
|
}
|
18011
|
-
},
|
18012
|
-
const
|
18009
|
+
}, TT = /* @__PURE__ */ zi(_T, [["__scopeId", "data-v-c58a2751"]]);
|
18010
|
+
const ST = {
|
18013
18011
|
id: "tooltip",
|
18014
18012
|
class: "tooltip"
|
18015
|
-
},
|
18013
|
+
}, MT = {
|
18016
18014
|
__name: "MTooltip",
|
18017
18015
|
setup(l) {
|
18018
18016
|
return Zn(() => {
|
@@ -18028,13 +18026,13 @@ const TT = {
|
|
18028
18026
|
e.classList.remove("visible");
|
18029
18027
|
}
|
18030
18028
|
document.addEventListener("mouseover", t), document.addEventListener("mouseout", i);
|
18031
|
-
}), (e, t) => ($(), j("div",
|
18029
|
+
}), (e, t) => ($(), j("div", ST));
|
18032
18030
|
}
|
18033
|
-
},
|
18034
|
-
const
|
18031
|
+
}, kT = /* @__PURE__ */ zi(MT, [["__scopeId", "data-v-d7c03134"]]);
|
18032
|
+
const LT = {
|
18035
18033
|
key: 0,
|
18036
18034
|
class: "w-full border bg-white rounded p-2 flex align-center mt-2"
|
18037
|
-
},
|
18035
|
+
}, DT = ["onClick"], AT = {
|
18038
18036
|
__name: "MHeaderBox",
|
18039
18037
|
setup(l) {
|
18040
18038
|
const e = it("store");
|
@@ -18050,24 +18048,24 @@ const kT = {
|
|
18050
18048
|
function i(n) {
|
18051
18049
|
n.isHeader = !n.isHeader;
|
18052
18050
|
}
|
18053
|
-
return (n, r) => G(e).panel === "headerBox" ? ($(), j("div",
|
18051
|
+
return (n, r) => G(e).panel === "headerBox" ? ($(), j("div", LT, [
|
18054
18052
|
($(!0), j(tt, null, Ai(G(e).flatFields, (a) => ($(), j("div", {
|
18055
18053
|
key: a.field,
|
18056
18054
|
class: Ue(["px-1 mx-1 cursor-pointer divide-y rounded", {
|
18057
18055
|
"bg-primary-600 text-white": a.isHeader
|
18058
18056
|
}]),
|
18059
18057
|
onClick: (u) => i(a)
|
18060
|
-
}, fe(a.title), 11,
|
18058
|
+
}, fe(a.title), 11, DT))), 128))
|
18061
18059
|
])) : Ne("", !0);
|
18062
18060
|
}
|
18063
|
-
},
|
18061
|
+
}, FT = { class: "flex items-center gap-3 relative hover:bg-muted-200 dark:hover:bg-muted-700 rounded-lg px-5 pl-3 rtl:pl-8 rtl:pr-5 py-2 duration-300" }, OT = ["modelValue"], PT = { class: "text-success-500 peer-disabled:opacity-75" }, zT = { class: "font-heading text-muted-800 text-xs font-semibold leading-tight dark:text-white" }, HT = {
|
18064
18062
|
__name: "SelectColumnItem",
|
18065
18063
|
props: {
|
18066
18064
|
checked: { default: !1 },
|
18067
18065
|
columnName: { default: "" }
|
18068
18066
|
},
|
18069
18067
|
setup(l) {
|
18070
|
-
return (e, t) => ($(), j("div",
|
18068
|
+
return (e, t) => ($(), j("div", FT, [
|
18071
18069
|
S("div", {
|
18072
18070
|
class: Ue(["nui-focus block focus-within:outline-current rounded-full", JSON.parse(l.checked) ? "is-checked" : "is-unchecked"])
|
18073
18071
|
}, [
|
@@ -18078,8 +18076,8 @@ const kT = {
|
|
18078
18076
|
"true-value": "true",
|
18079
18077
|
"false-value": "false",
|
18080
18078
|
onClick: t[0] || (t[0] = (i) => e.$emit("toggle"))
|
18081
|
-
}, null, 8,
|
18082
|
-
S("label",
|
18079
|
+
}, null, 8, OT),
|
18080
|
+
S("label", PT, [
|
18083
18081
|
S("div", {
|
18084
18082
|
class: Ue(["rtl:left-[auto] rtl:!right-0 ltr:right-[auto] ltr:left-0", JSON.parse(l.checked) ? "is-opaque" : ""])
|
18085
18083
|
}, null, 2),
|
@@ -18104,29 +18102,29 @@ const kT = {
|
|
18104
18102
|
])
|
18105
18103
|
], 2),
|
18106
18104
|
S("div", null, [
|
18107
|
-
S("h6",
|
18105
|
+
S("h6", zT, fe(l.columnName), 1)
|
18108
18106
|
])
|
18109
18107
|
]));
|
18110
18108
|
}
|
18111
18109
|
};
|
18112
|
-
const
|
18110
|
+
const IT = { class: "fc-header" }, BT = { class: "fc-header-left-sid" }, NT = { class: "z-[1]" }, WT = { class: "bg-muted-200 dark:bg-muted-800 cursor-pointer rounded-xl fm-light-shadow" }, VT = { class: "text-muted-400 font-sans text-xs" }, GT = { class: "bg-white dark:bg-muted-800 rounded-xl pt-1 rtl:text-right ltr:text-left fm-light-shadow" }, $T = { class: "m-3 mt-2 text-muted-600 dark:text-muted-200" }, UT = { class: "p-2" }, jT = {
|
18113
18111
|
key: 0,
|
18114
18112
|
"data-tooltip": "فیلتر",
|
18115
18113
|
class: "fm-header-rigth-sid flex w-full sm:w-auto rtl:flex-row-reverse rtl:justify-end"
|
18116
|
-
},
|
18114
|
+
}, KT = { key: 0 }, qT = { class: "group/nui-input relative rtl:" }, JT = ["placeholder"], XT = { class: "ltr:left-0 text-muted-400 group-focus-within/nui-input:text-primary-500 absolute end-0 rtl:start-0 top-0 flex items-center justify-center transition-colors duration-300 peer-disabled:cursor-not-allowed peer-disabled:opacity-75 h-10 w-10" }, YT = {
|
18117
18115
|
key: 0,
|
18118
18116
|
class: "icon h-[1.15rem] w-[1.15rem]",
|
18119
18117
|
width: "1em",
|
18120
18118
|
height: "1em",
|
18121
18119
|
viewBox: "0 0 24 24"
|
18122
|
-
},
|
18120
|
+
}, ZT = {
|
18123
18121
|
key: 1,
|
18124
18122
|
xmlns: "http://www.w3.org/2000/svg",
|
18125
18123
|
width: "1em",
|
18126
18124
|
height: "1em",
|
18127
18125
|
viewBox: "0 0 512 512",
|
18128
18126
|
class: "icon animate-spin"
|
18129
|
-
},
|
18127
|
+
}, QT = {
|
18130
18128
|
__name: "MButtonBox",
|
18131
18129
|
setup(l) {
|
18132
18130
|
const { can: e } = sl(), { event: t } = je, i = it("store");
|
@@ -18149,8 +18147,8 @@ const HT = { class: "fc-header" }, IT = { class: "fc-header-left-sid" }, BT = {
|
|
18149
18147
|
function m() {
|
18150
18148
|
window.open(Pt.defaults.baseURL + i.generateQuery());
|
18151
18149
|
}
|
18152
|
-
return (C, x) => ($(), j("div",
|
18153
|
-
S("div",
|
18150
|
+
return (C, x) => ($(), j("div", IT, [
|
18151
|
+
S("div", BT, [
|
18154
18152
|
G(e)("create") ? ($(), j("button", {
|
18155
18153
|
key: 0,
|
18156
18154
|
class: "fc-plus-btn",
|
@@ -18178,16 +18176,16 @@ const HT = { class: "fc-header" }, IT = { class: "fc-header-left-sid" }, BT = {
|
|
18178
18176
|
S("button", Xn({
|
18179
18177
|
class: D.isOpen ? "before:block" : "before:hidden"
|
18180
18178
|
}, D, lr(T, !0), { class: "fc-header-icon-btn fc-drop-down-btn min-w-[130px]" }), [
|
18181
|
-
S("span",
|
18179
|
+
S("span", NT, fe(C.$fcTr("export")), 1)
|
18182
18180
|
], 16)
|
18183
18181
|
]),
|
18184
18182
|
default: et(() => [
|
18185
|
-
S("div",
|
18183
|
+
S("div", WT, [
|
18186
18184
|
S("a", {
|
18187
18185
|
class: "group flex w-full items-center py-3 text-sm duration-300 text-muted-500 hover:bg-muted-300 dark:hover:bg-muted-700 rounded-xl justify-end flex-row-reverse",
|
18188
18186
|
onClick: m
|
18189
18187
|
}, [
|
18190
|
-
S("p",
|
18188
|
+
S("p", VT, fe(C.$fcTr("export_as_excel")), 1),
|
18191
18189
|
x[6] || (x[6] = S("svg", {
|
18192
18190
|
class: "fill-muted-400 w-3.5 mx-2",
|
18193
18191
|
viewBox: "0 0 512 512"
|
@@ -18238,13 +18236,13 @@ const HT = { class: "fc-header" }, IT = { class: "fc-header-left-sid" }, BT = {
|
|
18238
18236
|
]), 16)
|
18239
18237
|
]),
|
18240
18238
|
default: et(() => [
|
18241
|
-
S("div",
|
18242
|
-
S("div",
|
18243
|
-
S("ul",
|
18239
|
+
S("div", GT, [
|
18240
|
+
S("div", $T, fe(C.$fcTr("custom_column")), 1),
|
18241
|
+
S("ul", UT, [
|
18244
18242
|
($(!0), j(tt, null, Ai(G(i).flatFieldsWithoutActions, (T) => ($(), j(tt, {
|
18245
18243
|
key: T.field
|
18246
18244
|
}, [
|
18247
|
-
T.title ? ($(), Fi(
|
18245
|
+
T.title ? ($(), Fi(HT, {
|
18248
18246
|
key: 0,
|
18249
18247
|
"column-name": T.title,
|
18250
18248
|
checked: T.isHeader,
|
@@ -18257,14 +18255,14 @@ const HT = { class: "fc-header" }, IT = { class: "fc-header-left-sid" }, BT = {
|
|
18257
18255
|
_: 1
|
18258
18256
|
})
|
18259
18257
|
]),
|
18260
|
-
G(e)("filter") ? ($(), j("div",
|
18258
|
+
G(e)("filter") ? ($(), j("div", jT, [
|
18261
18259
|
S("button", {
|
18262
18260
|
class: Ue(["test fc-header-icon-btn transform transition-all", G(i).panel === "filters" ? "!bg-white dark:!bg-muted-800 !rounded-b-none " : ""]),
|
18263
18261
|
onClick: x[2] || (x[2] = (T) => n("filters"))
|
18264
18262
|
}, [
|
18265
18263
|
$e(mr, { name: "scale" }, {
|
18266
18264
|
default: et(() => [
|
18267
|
-
G(i).panel === "filters" ? ($(), j("div",
|
18265
|
+
G(i).panel === "filters" ? ($(), j("div", KT, x[10] || (x[10] = [
|
18268
18266
|
S("span", null, null, -1)
|
18269
18267
|
]))) : Ne("", !0)
|
18270
18268
|
]),
|
@@ -18278,20 +18276,20 @@ const HT = { class: "fc-header" }, IT = { class: "fc-header-left-sid" }, BT = {
|
|
18278
18276
|
S("path", { d: "M0 73.7C0 50.7 18.7 32 41.7 32H470.3c23 0 41.7 18.7 41.7 41.7c0 9.6-3.3 18.9-9.4 26.3L336 304.5V447.7c0 17.8-14.5 32.3-32.3 32.3c-7.3 0-14.4-2.5-20.1-7l-92.5-73.4c-9.6-7.6-15.1-19.1-15.1-31.3V304.5L9.4 100C3.3 92.6 0 83.3 0 73.7zM55 80L218.6 280.8c3.5 4.3 5.4 9.6 5.4 15.2v68.4l64 50.8V296c0-5.5 1.9-10.9 5.4-15.2L457 80H55z" }, null, -1)
|
18279
18277
|
]), 2))
|
18280
18278
|
], 2),
|
18281
|
-
S("div",
|
18279
|
+
S("div", qT, [
|
18282
18280
|
Bn(S("input", {
|
18283
18281
|
"onUpdate:modelValue": x[3] || (x[3] = (T) => G(i).searchParam = T),
|
18284
18282
|
type: "text",
|
18285
18283
|
class: "nui-focus px-4! border-muted-300 text-muted-600 placeholder:text-muted-300 dark:border-muted-700 dark:bg-muted-900/75 dark:text-muted-200 dark:placeholder:text-muted-500 dark:focus:border-muted-700 peer w-full border bg-white font-sans transition-all duration-300 disabled:cursor-not-allowed disabled:opacity-75 h-10 py-2 text-sm leading-5 pe-4 ps-9 rounded-full",
|
18286
18284
|
placeholder: C.$fcTr("search"),
|
18287
18285
|
onKeyup: x[4] || (x[4] = (...T) => G(v) && G(v)(...T))
|
18288
|
-
}, null, 40,
|
18286
|
+
}, null, 40, JT), [
|
18289
18287
|
[Ld, G(i).searchParam]
|
18290
18288
|
]),
|
18291
|
-
S("div",
|
18292
|
-
f.value ? ($(), j("svg",
|
18289
|
+
S("div", XT, [
|
18290
|
+
f.value ? ($(), j("svg", ZT, x[13] || (x[13] = [
|
18293
18291
|
S("path", { d: "M457 372c11.5 6.6 26.3 2.7 31.8-9.3C503.7 330.2 512 294.1 512 256C512 122.7 410.1 13.2 280 1.1C266.8-.1 256 10.7 256 24v0c0 13.3 10.8 23.9 24 25.4C383.5 61.2 464 149.2 464 256c0 29.3-6.1 57.3-17 82.6c-5.3 12.2-1.5 26.8 10 33.5v0z" }, null, -1)
|
18294
|
-
]))) : ($(), j("svg",
|
18292
|
+
]))) : ($(), j("svg", YT, x[12] || (x[12] = [
|
18295
18293
|
S("g", {
|
18296
18294
|
fill: "none",
|
18297
18295
|
stroke: "currentColor",
|
@@ -18312,14 +18310,14 @@ const HT = { class: "fc-header" }, IT = { class: "fc-header-left-sid" }, BT = {
|
|
18312
18310
|
])) : Ne("", !0)
|
18313
18311
|
]));
|
18314
18312
|
}
|
18315
|
-
},
|
18316
|
-
function
|
18313
|
+
}, eS = /* @__PURE__ */ zi(QT, [["__scopeId", "data-v-0505d306"]]), tS = {};
|
18314
|
+
function iS(l, e) {
|
18317
18315
|
return $(), j("div");
|
18318
18316
|
}
|
18319
|
-
const
|
18317
|
+
const nS = /* @__PURE__ */ zi(tS, [["render", iS]]), sS = {
|
18320
18318
|
key: 0,
|
18321
18319
|
class: "fixed z-10 inset-0 overflow-y-auto"
|
18322
|
-
},
|
18320
|
+
}, rS = { class: "flex items-center overflow-y justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" }, oS = { class: "inline-block max-h-full align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, aS = { class: "bg-card-800 px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, lS = { class: "flex flex-col text-right" }, hS = { class: "mb-4 flex justify-between w-full" }, uS = { class: "mb-5 flex flex-row flex-wrap" }, dS = { class: "flex justify-end" }, cS = ["disabled"], fS = { key: 0 }, pS = { key: 1 }, gS = {
|
18323
18321
|
__name: "MDeleteDialog",
|
18324
18322
|
setup(l) {
|
18325
18323
|
const e = it("store"), t = Pe(!1);
|
@@ -18333,23 +18331,23 @@ const iS = /* @__PURE__ */ zi(eS, [["render", tS]]), nS = {
|
|
18333
18331
|
appear: ""
|
18334
18332
|
}, {
|
18335
18333
|
default: et(() => [
|
18336
|
-
t.value ? ($(), j("div",
|
18337
|
-
S("div",
|
18334
|
+
t.value ? ($(), j("div", sS, [
|
18335
|
+
S("div", rS, [
|
18338
18336
|
r[4] || (r[4] = S("div", { class: "fixed inset-0 transition-opacity" }, [
|
18339
18337
|
S("div", { class: "absolute inset-0 bg-gray-500 opacity-75" })
|
18340
18338
|
], -1)),
|
18341
|
-
S("div",
|
18342
|
-
S("div",
|
18343
|
-
S("div",
|
18344
|
-
S("h1",
|
18339
|
+
S("div", oS, [
|
18340
|
+
S("div", aS, [
|
18341
|
+
S("div", lS, [
|
18342
|
+
S("h1", hS, [
|
18345
18343
|
r[3] || (r[3] = S("span", { class: "text-primerr-700" }, "حذف", -1)),
|
18346
18344
|
S("i", {
|
18347
18345
|
class: "text-primerr-700 fal fa-times cursor-pointer",
|
18348
18346
|
onClick: r[0] || (r[0] = (a) => t.value = !1)
|
18349
18347
|
})
|
18350
18348
|
]),
|
18351
|
-
S("div",
|
18352
|
-
S("div",
|
18349
|
+
S("div", uS, fe(n.$fcTr("alert_to_delete")), 1),
|
18350
|
+
S("div", dS, [
|
18353
18351
|
S("button", {
|
18354
18352
|
onClick: r[1] || (r[1] = (a) => t.value = !1),
|
18355
18353
|
class: "border p-2 px-8 rounded-md text-red-400 border-red-400"
|
@@ -18359,8 +18357,8 @@ const iS = /* @__PURE__ */ zi(eS, [["render", tS]]), nS = {
|
|
18359
18357
|
class: "border p-2 mx-1 px-8 rounded-md text-green-400 border-green-400",
|
18360
18358
|
onClick: r[2] || (r[2] = (a) => G(e).remove(G(i)))
|
18361
18359
|
}, [
|
18362
|
-
G(e).loadings.mainLoading ? ($(), j("span",
|
18363
|
-
], 8,
|
18360
|
+
G(e).loadings.mainLoading ? ($(), j("span", pS, "loading")) : ($(), j("span", fS, fe(n.$fcTr("yes")), 1))
|
18361
|
+
], 8, cS)
|
18364
18362
|
])
|
18365
18363
|
])
|
18366
18364
|
])
|
@@ -18371,11 +18369,11 @@ const iS = /* @__PURE__ */ zi(eS, [["render", tS]]), nS = {
|
|
18371
18369
|
_: 1
|
18372
18370
|
}));
|
18373
18371
|
}
|
18374
|
-
},
|
18372
|
+
}, mS = ({ listen: l, store: e }) => {
|
18375
18373
|
l("reloadData", () => {
|
18376
18374
|
e.reloadData();
|
18377
18375
|
});
|
18378
|
-
},
|
18376
|
+
}, RS = {
|
18379
18377
|
__name: "MCrud",
|
18380
18378
|
props: {
|
18381
18379
|
options: { default: () => ({}) },
|
@@ -18390,7 +18388,7 @@ const iS = /* @__PURE__ */ zi(eS, [["render", tS]]), nS = {
|
|
18390
18388
|
},
|
18391
18389
|
emits: ["mounted"],
|
18392
18390
|
setup(l, { emit: e }) {
|
18393
|
-
const t = l, i = e, n =
|
18391
|
+
const t = l, i = e, n = e1({
|
18394
18392
|
fields: t.fields,
|
18395
18393
|
hiddenActions: t.hiddenActions,
|
18396
18394
|
options: t.options,
|
@@ -18403,31 +18401,33 @@ const iS = /* @__PURE__ */ zi(eS, [["render", tS]]), nS = {
|
|
18403
18401
|
...t.tableOptions
|
18404
18402
|
}), document.body.setAttribute("dir", t.dir), Zn(() => {
|
18405
18403
|
i("mounted");
|
18406
|
-
}),
|
18407
|
-
|
18408
|
-
|
18409
|
-
$e(
|
18410
|
-
$e(
|
18411
|
-
$e(
|
18412
|
-
$e(
|
18413
|
-
$e(
|
18404
|
+
}), mS({ listen: je.listen, store: n }), Iy(() => {
|
18405
|
+
n.$dispose();
|
18406
|
+
}), (r, a) => ($(), j(tt, null, [
|
18407
|
+
$e(eS),
|
18408
|
+
$e(TT),
|
18409
|
+
$e(AT),
|
18410
|
+
$e(S_),
|
18411
|
+
$e(nS),
|
18412
|
+
$e(gS),
|
18413
|
+
$e(kT),
|
18414
18414
|
Xt(r.$slots, "extra")
|
18415
18415
|
], 64));
|
18416
18416
|
}
|
18417
18417
|
};
|
18418
|
-
const
|
18418
|
+
const bS = ({ headers: l, baseURL: e } = { headers: [], baseURL: "" }) => {
|
18419
18419
|
Pt.defaults.baseURL = e;
|
18420
18420
|
for (const t in l)
|
18421
18421
|
W.set(Pt.defaults.headers, t, l[t]);
|
18422
|
-
},
|
18423
|
-
|
18422
|
+
}, _S = (l, { fields: e, axiosConfig: t, dir: i } = { fields: {}, axiosConfig: {}, dir: "rtl" }) => {
|
18423
|
+
bS(t);
|
18424
18424
|
const n = fn();
|
18425
|
-
n.dir = i || "rtl", l.config.globalProperties.$fcTr = (r) => n.translate(r),
|
18425
|
+
n.dir = i || "rtl", l.config.globalProperties.$fcTr = (r) => n.translate(r), Q0(e);
|
18426
18426
|
};
|
18427
18427
|
export {
|
18428
|
-
|
18429
|
-
|
18430
|
-
|
18431
|
-
|
18432
|
-
|
18428
|
+
_R as ActionButton,
|
18429
|
+
RS as MCrud,
|
18430
|
+
$0 as fields,
|
18431
|
+
_S as install,
|
18432
|
+
Q0 as registerFields
|
18433
18433
|
};
|