formue-crud 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formue-crud.js +118 -113
- package/dist/formue-crud.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/formue-crud.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
var ry = Object.defineProperty;
|
2
2
|
var oy = (l, e, t) => e in l ? ry(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
|
3
3
|
var P = (l, e, t) => (oy(l, typeof e != "symbol" ? e + "" : e, t), t);
|
4
|
-
import { reactive as ay, markRaw as ly, openBlock as $, createElementBlock as X, Fragment as nt, createElementVNode as T, unref as U, ref as Oe, withDirectives as Js, vModelCheckbox as hy, createApp as Fa, watch as ss, inject as Et, renderList as Li, normalizeClass as Ge, toDisplayString as he, createCommentVNode as xt, pushScopeId as Fr, popScopeId as zr, computed as br, onMounted as za, createVNode as
|
5
|
-
import { emitter as
|
4
|
+
import { reactive as ay, markRaw as ly, openBlock as $, createElementBlock as X, Fragment as nt, createElementVNode as T, unref as U, ref as Oe, withDirectives as Js, vModelCheckbox as hy, createApp as Fa, watch as ss, inject as Et, renderList as Li, normalizeClass as Ge, toDisplayString as he, createCommentVNode as xt, pushScopeId as Fr, popScopeId as zr, computed as br, onMounted as za, createVNode as Je, createBlock as rs, Transition as Pr, withCtx as Ct, renderSlot as on, resolveComponent as dd, mergeProps as an, nextTick as ln, resolveDynamicComponent as Tu, normalizeProps as cd, guardReactiveProps as fd, getCurrentScope as uy, onScopeDispose as dy, readonly as cy, shallowRef as fy, toHandlers as vr, withModifiers as or, createTextVNode as Mu, vShow as Su, vModelText as pd, provide as Lu } from "vue";
|
5
|
+
import { emitter as $e } from "formue";
|
6
6
|
import { defineStore as gd } from "pinia";
|
7
7
|
import Pt from "axios";
|
8
8
|
var qi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
@@ -48,7 +48,7 @@ var wr = { exports: {} };
|
|
48
48
|
wr.exports;
|
49
49
|
(function(l, e) {
|
50
50
|
(function() {
|
51
|
-
var t, i = "4.17.21", s = 200, r = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", u = "Invalid `variable` option passed into `_.template`", d = "__lodash_hash_undefined__", f = 500, p = "__lodash_placeholder__", v = 1, w = 2, C = 4, _ = 1, S = 2, z = 1, A = 2, j = 4, B = 8, H = 16, G = 32, de = 64, J = 128, I = 256, ue = 512, xe = 30, Ht = "...", ne = 800,
|
51
|
+
var t, i = "4.17.21", s = 200, r = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", u = "Invalid `variable` option passed into `_.template`", d = "__lodash_hash_undefined__", f = 500, p = "__lodash_placeholder__", v = 1, w = 2, C = 4, _ = 1, S = 2, z = 1, A = 2, j = 4, B = 8, H = 16, G = 32, de = 64, J = 128, I = 256, ue = 512, xe = 30, Ht = "...", ne = 800, Ue = 16, je = 1, _t = 2, di = 3, pt = 1 / 0, Tt = 9007199254740991, fn = 17976931348623157e292, Yt = 0 / 0, Mt = 4294967295, mc = Mt - 1, bc = Mt >>> 1, vc = [
|
52
52
|
["ary", J],
|
53
53
|
["bind", z],
|
54
54
|
["bindKey", A],
|
@@ -681,7 +681,7 @@ wr.exports;
|
|
681
681
|
}
|
682
682
|
function vp() {
|
683
683
|
var n = new oe(this.__wrapped__);
|
684
|
-
return n.__actions__ =
|
684
|
+
return n.__actions__ = Ke(this.__actions__), n.__dir__ = this.__dir__, n.__filtered__ = this.__filtered__, n.__iteratees__ = Ke(this.__iteratees__), n.__takeCount__ = this.__takeCount__, n.__views__ = Ke(this.__views__), n;
|
685
685
|
}
|
686
686
|
function wp() {
|
687
687
|
if (this.__filtered__) {
|
@@ -704,7 +704,7 @@ wr.exports;
|
|
704
704
|
if (it == _t)
|
705
705
|
Y = We;
|
706
706
|
else if (!We) {
|
707
|
-
if (it ==
|
707
|
+
if (it == je)
|
708
708
|
continue e;
|
709
709
|
break e;
|
710
710
|
}
|
@@ -858,10 +858,10 @@ wr.exports;
|
|
858
858
|
return o ? n[Mo(0, o - 1)] : t;
|
859
859
|
}
|
860
860
|
function Gp(n, o) {
|
861
|
-
return Jn(
|
861
|
+
return Jn(Ke(n), mi(o, 0, n.length));
|
862
862
|
}
|
863
863
|
function $p(n) {
|
864
|
-
return Jn(
|
864
|
+
return Jn(Ke(n));
|
865
865
|
}
|
866
866
|
function bo(n, o, h) {
|
867
867
|
(h !== t && !wt(n[o], h) || h === t && !(o in n)) && Wt(n, o, h);
|
@@ -885,7 +885,7 @@ wr.exports;
|
|
885
885
|
return n && Lt(o, ke(o), n);
|
886
886
|
}
|
887
887
|
function jp(n, o) {
|
888
|
-
return n && Lt(o,
|
888
|
+
return n && Lt(o, Ye(o), n);
|
889
889
|
}
|
890
890
|
function Wt(n, o, h) {
|
891
891
|
o == "__proto__" && An ? An(n, o, {
|
@@ -912,7 +912,7 @@ wr.exports;
|
|
912
912
|
var D = Q(n);
|
913
913
|
if (D) {
|
914
914
|
if (y = zg(n), !E)
|
915
|
-
return
|
915
|
+
return Ke(n, y);
|
916
916
|
} else {
|
917
917
|
var F = Pe(n), O = F == mn || F == Ya;
|
918
918
|
if (ni(n))
|
@@ -935,7 +935,7 @@ wr.exports;
|
|
935
935
|
}) : hu(n) && n.forEach(function(Y, re) {
|
936
936
|
y.set(re, ht(Y, o, h, re, n, b));
|
937
937
|
});
|
938
|
-
var q = k ? R ? Io : Ho : R ?
|
938
|
+
var q = k ? R ? Io : Ho : R ? Ye : ke, te = D ? t : q(n);
|
939
939
|
return ot(te || n, function(Y, re) {
|
940
940
|
te && (re = Y, Y = n[re]), Ts(y, re, ht(Y, o, h, re, n, b));
|
941
941
|
}), y;
|
@@ -1161,7 +1161,7 @@ wr.exports;
|
|
1161
1161
|
return Ee(n) && sr(n.length) && !!be[Be(n)];
|
1162
1162
|
}
|
1163
1163
|
function ih(n) {
|
1164
|
-
return typeof n == "function" ? n : n == null ?
|
1164
|
+
return typeof n == "function" ? n : n == null ? Xe : typeof n == "object" ? Q(n) ? rh(n[0], n[1]) : nh(n) : Ru(n);
|
1165
1165
|
}
|
1166
1166
|
function Ro(n) {
|
1167
1167
|
if (!As(n))
|
@@ -1183,7 +1183,7 @@ wr.exports;
|
|
1183
1183
|
return n < o;
|
1184
1184
|
}
|
1185
1185
|
function sh(n, o) {
|
1186
|
-
var h = -1, c =
|
1186
|
+
var h = -1, c = qe(n) ? M(n.length) : [];
|
1187
1187
|
return ei(n, function(g, b, y) {
|
1188
1188
|
c[++h] = o(g, b, y);
|
1189
1189
|
}), c;
|
@@ -1208,7 +1208,7 @@ wr.exports;
|
|
1208
1208
|
var E = c ? c($o(n, y), b, y + "", n, o, g) : t;
|
1209
1209
|
E === t && (E = b), bo(n, y, E);
|
1210
1210
|
}
|
1211
|
-
},
|
1211
|
+
}, Ye);
|
1212
1212
|
}
|
1213
1213
|
function lg(n, o, h, c, g, b, y) {
|
1214
1214
|
var E = $o(n, h), R = $o(o, h), k = y.get(R);
|
@@ -1219,7 +1219,7 @@ wr.exports;
|
|
1219
1219
|
var D = b ? b(E, R, h + "", n, o, y) : t, F = D === t;
|
1220
1220
|
if (F) {
|
1221
1221
|
var O = Q(R), W = !O && ni(R), q = !O && !W && $i(R);
|
1222
|
-
D = R, O || W || q ? Q(E) ? D = E : Re(E) ? D =
|
1222
|
+
D = R, O || W || q ? Q(E) ? D = E : Re(E) ? D = Ke(E) : W ? (F = !1, D = bh(R, !0)) : q ? (F = !1, D = vh(R, !0)) : D = [] : zs(R) || yi(R) ? (D = E, yi(E) ? D = pu(E) : (!Ce(E) || Ut(E)) && (D = Oh(R))) : F = !1;
|
1223
1223
|
}
|
1224
1224
|
F && (y.set(R, D), g(D, R, c, b, y), y.delete(R)), bo(n, h, D);
|
1225
1225
|
}
|
@@ -1233,7 +1233,7 @@ wr.exports;
|
|
1233
1233
|
return Q(b) ? function(y) {
|
1234
1234
|
return bi(y, b.length === 1 ? b[0] : b);
|
1235
1235
|
} : b;
|
1236
|
-
}) : o = [
|
1236
|
+
}) : o = [Xe];
|
1237
1237
|
var c = -1;
|
1238
1238
|
o = we(o, Qe(K()));
|
1239
1239
|
var g = sh(n, function(b, y, E) {
|
@@ -1265,7 +1265,7 @@ wr.exports;
|
|
1265
1265
|
}
|
1266
1266
|
function To(n, o, h, c) {
|
1267
1267
|
var g = c ? zf : Fi, b = -1, y = o.length, E = n;
|
1268
|
-
for (n === o && (o =
|
1268
|
+
for (n === o && (o = Ke(o)), h && (E = we(n, Qe(h))); ++b < y; )
|
1269
1269
|
for (var R = 0, k = o[b], D = h ? h(k) : k; (R = g(E, D, R, c)) > -1; )
|
1270
1270
|
E !== n && Dn.call(E, R, 1), Dn.call(n, R, 1);
|
1271
1271
|
return n;
|
@@ -1298,7 +1298,7 @@ wr.exports;
|
|
1298
1298
|
return h;
|
1299
1299
|
}
|
1300
1300
|
function se(n, o) {
|
1301
|
-
return Uo(Bh(n, o,
|
1301
|
+
return Uo(Bh(n, o, Xe), n + "");
|
1302
1302
|
}
|
1303
1303
|
function cg(n) {
|
1304
1304
|
return jl(Ui(n));
|
@@ -1325,14 +1325,14 @@ wr.exports;
|
|
1325
1325
|
}
|
1326
1326
|
var uh = Pn ? function(n, o) {
|
1327
1327
|
return Pn.set(n, o), n;
|
1328
|
-
} :
|
1328
|
+
} : Xe, pg = An ? function(n, o) {
|
1329
1329
|
return An(n, "toString", {
|
1330
1330
|
configurable: !0,
|
1331
1331
|
enumerable: !1,
|
1332
1332
|
value: ta(o),
|
1333
1333
|
writable: !0
|
1334
1334
|
});
|
1335
|
-
} :
|
1335
|
+
} : Xe;
|
1336
1336
|
function gg(n) {
|
1337
1337
|
return Jn(Ui(n));
|
1338
1338
|
}
|
@@ -1358,7 +1358,7 @@ wr.exports;
|
|
1358
1358
|
}
|
1359
1359
|
return g;
|
1360
1360
|
}
|
1361
|
-
return Lo(n, o,
|
1361
|
+
return Lo(n, o, Xe, h);
|
1362
1362
|
}
|
1363
1363
|
function Lo(n, o, h, c) {
|
1364
1364
|
var g = 0, b = n == null ? 0 : n.length;
|
@@ -1459,7 +1459,7 @@ wr.exports;
|
|
1459
1459
|
return Re(n) ? n : [];
|
1460
1460
|
}
|
1461
1461
|
function Fo(n) {
|
1462
|
-
return typeof n == "function" ? n :
|
1462
|
+
return typeof n == "function" ? n : Xe;
|
1463
1463
|
}
|
1464
1464
|
function ii(n, o) {
|
1465
1465
|
return Q(n) ? n : Vo(n, o) ? [n] : $h(fe(n));
|
@@ -1537,7 +1537,7 @@ wr.exports;
|
|
1537
1537
|
(O || g < b) && (F[W + h[y]] = n[g++]);
|
1538
1538
|
return F;
|
1539
1539
|
}
|
1540
|
-
function
|
1540
|
+
function Ke(n, o) {
|
1541
1541
|
var h = -1, c = n.length;
|
1542
1542
|
for (o || (o = M(c)); ++h < c; )
|
1543
1543
|
o[h] = n[h];
|
@@ -1578,7 +1578,7 @@ wr.exports;
|
|
1578
1578
|
return function(h, c) {
|
1579
1579
|
if (h == null)
|
1580
1580
|
return h;
|
1581
|
-
if (!
|
1581
|
+
if (!qe(h))
|
1582
1582
|
return n(h, c);
|
1583
1583
|
for (var g = h.length, b = o ? g : -1, y = ge(h); (o ? b-- : ++b < g) && c(y[b], b, y) !== !1; )
|
1584
1584
|
;
|
@@ -1667,7 +1667,7 @@ wr.exports;
|
|
1667
1667
|
function _h(n) {
|
1668
1668
|
return function(o, h, c) {
|
1669
1669
|
var g = ge(o);
|
1670
|
-
if (!
|
1670
|
+
if (!qe(o)) {
|
1671
1671
|
var b = K(h, 3);
|
1672
1672
|
o = ke(o), h = function(E) {
|
1673
1673
|
return b(g[E], E, g);
|
@@ -1965,7 +1965,7 @@ wr.exports;
|
|
1965
1965
|
return Ql(n, ke, Wo);
|
1966
1966
|
}
|
1967
1967
|
function Io(n) {
|
1968
|
-
return Ql(n,
|
1968
|
+
return Ql(n, Ye, zh);
|
1969
1969
|
}
|
1970
1970
|
var Bo = Pn ? function(n) {
|
1971
1971
|
return Pn.get(n);
|
@@ -2131,7 +2131,7 @@ wr.exports;
|
|
2131
2131
|
if (!Ce(h))
|
2132
2132
|
return !1;
|
2133
2133
|
var c = typeof o;
|
2134
|
-
return (c == "number" ?
|
2134
|
+
return (c == "number" ? qe(h) && $t(o, h.length) : c == "string" && o in h) ? wt(h[o], n) : !1;
|
2135
2135
|
}
|
2136
2136
|
function Vo(n, o) {
|
2137
2137
|
if (Q(n))
|
@@ -2210,7 +2210,7 @@ wr.exports;
|
|
2210
2210
|
return o.length < 2 ? n : bi(n, ut(o, 0, -1));
|
2211
2211
|
}
|
2212
2212
|
function Ug(n, o) {
|
2213
|
-
for (var h = n.length, c = ze(o.length, h), g =
|
2213
|
+
for (var h = n.length, c = ze(o.length, h), g = Ke(n); c--; ) {
|
2214
2214
|
var b = o[c];
|
2215
2215
|
n[c] = $t(b, h) ? g[b] : t;
|
2216
2216
|
}
|
@@ -2230,7 +2230,7 @@ wr.exports;
|
|
2230
2230
|
function Gh(n) {
|
2231
2231
|
var o = 0, h = 0;
|
2232
2232
|
return function() {
|
2233
|
-
var c = up(), g =
|
2233
|
+
var c = up(), g = Ue - (c - h);
|
2234
2234
|
if (h = c, g > 0) {
|
2235
2235
|
if (++o >= ne)
|
2236
2236
|
return arguments[0];
|
@@ -2282,7 +2282,7 @@ wr.exports;
|
|
2282
2282
|
if (n instanceof oe)
|
2283
2283
|
return n.clone();
|
2284
2284
|
var o = new lt(n.__wrapped__, n.__chain__);
|
2285
|
-
return o.__actions__ =
|
2285
|
+
return o.__actions__ = Ke(n.__actions__), o.__index__ = n.__index__, o.__values__ = n.__values__, o;
|
2286
2286
|
}
|
2287
2287
|
function Kg(n, o, h) {
|
2288
2288
|
(h ? Ne(n, o, h) : o === t) ? o = 1 : o = Se(ee(o), 0);
|
@@ -2306,7 +2306,7 @@ wr.exports;
|
|
2306
2306
|
return [];
|
2307
2307
|
for (var o = M(n - 1), h = arguments[0], c = n; c--; )
|
2308
2308
|
o[c - 1] = arguments[c];
|
2309
|
-
return Jt(Q(h) ?
|
2309
|
+
return Jt(Q(h) ? Ke(h) : [h], Fe(o, 1));
|
2310
2310
|
}
|
2311
2311
|
var Xg = se(function(n, o) {
|
2312
2312
|
return Re(n) ? Ms(n, Fe(o, 1, Re, !0)) : [];
|
@@ -2647,12 +2647,12 @@ wr.exports;
|
|
2647
2647
|
pe.call(n, h) ? n[h].push(o) : Wt(n, h, [o]);
|
2648
2648
|
});
|
2649
2649
|
function cb(n, o, h, c) {
|
2650
|
-
n =
|
2650
|
+
n = qe(n) ? n : Ui(n), h = h && !c ? ee(h) : 0;
|
2651
2651
|
var g = n.length;
|
2652
2652
|
return h < 0 && (h = Se(g + h, 0)), nr(n) ? h <= g && n.indexOf(o, h) > -1 : !!g && Fi(n, o, h) > -1;
|
2653
2653
|
}
|
2654
2654
|
var fb = se(function(n, o, h) {
|
2655
|
-
var c = -1, g = typeof o == "function", b =
|
2655
|
+
var c = -1, g = typeof o == "function", b = qe(n) ? M(n.length) : [];
|
2656
2656
|
return ei(n, function(y) {
|
2657
2657
|
b[++c] = g ? Ze(o, y, h) : Ss(y, o, h);
|
2658
2658
|
}), b;
|
@@ -2699,7 +2699,7 @@ wr.exports;
|
|
2699
2699
|
function xb(n) {
|
2700
2700
|
if (n == null)
|
2701
2701
|
return 0;
|
2702
|
-
if (
|
2702
|
+
if (qe(n))
|
2703
2703
|
return nr(n) ? Pi(n) : n.length;
|
2704
2704
|
var o = Pe(n);
|
2705
2705
|
return o == gt || o == mt ? n.size : Ro(n).length;
|
@@ -2926,11 +2926,11 @@ wr.exports;
|
|
2926
2926
|
}()) ? eh : function(n) {
|
2927
2927
|
return Ee(n) && pe.call(n, "callee") && !Nl.call(n, "callee");
|
2928
2928
|
}, Q = M.isArray, jb = Cl ? Qe(Cl) : eg;
|
2929
|
-
function
|
2929
|
+
function qe(n) {
|
2930
2930
|
return n != null && sr(n.length) && !Ut(n);
|
2931
2931
|
}
|
2932
2932
|
function Re(n) {
|
2933
|
-
return Ee(n) &&
|
2933
|
+
return Ee(n) && qe(n);
|
2934
2934
|
}
|
2935
2935
|
function Kb(n) {
|
2936
2936
|
return n === !0 || n === !1 || Ee(n) && Be(n) == fs;
|
@@ -2942,7 +2942,7 @@ wr.exports;
|
|
2942
2942
|
function Xb(n) {
|
2943
2943
|
if (n == null)
|
2944
2944
|
return !0;
|
2945
|
-
if (
|
2945
|
+
if (qe(n) && (Q(n) || typeof n == "string" || typeof n.splice == "function" || ni(n) || $i(n) || yi(n)))
|
2946
2946
|
return !n.length;
|
2947
2947
|
var o = Pe(n);
|
2948
2948
|
if (o == gt || o == mt)
|
@@ -3050,8 +3050,8 @@ wr.exports;
|
|
3050
3050
|
function cu(n) {
|
3051
3051
|
if (!n)
|
3052
3052
|
return [];
|
3053
|
-
if (
|
3054
|
-
return nr(n) ? bt(n) :
|
3053
|
+
if (qe(n))
|
3054
|
+
return nr(n) ? bt(n) : Ke(n);
|
3055
3055
|
if (Cs && n[Cs])
|
3056
3056
|
return Gf(n[Cs]());
|
3057
3057
|
var o = Pe(n), h = o == gt ? co : o == mt ? xn : Ui;
|
@@ -3089,7 +3089,7 @@ wr.exports;
|
|
3089
3089
|
return h || Kc.test(n) ? Tf(n.slice(2), h ? 2 : 8) : $c.test(n) ? Yt : +n;
|
3090
3090
|
}
|
3091
3091
|
function pu(n) {
|
3092
|
-
return Lt(n,
|
3092
|
+
return Lt(n, Ye(n));
|
3093
3093
|
}
|
3094
3094
|
function cv(n) {
|
3095
3095
|
return n ? mi(ee(n), -Tt, Tt) : n === 0 ? n : 0;
|
@@ -3098,16 +3098,16 @@ wr.exports;
|
|
3098
3098
|
return n == null ? "" : et(n);
|
3099
3099
|
}
|
3100
3100
|
var fv = Wi(function(n, o) {
|
3101
|
-
if (As(o) ||
|
3101
|
+
if (As(o) || qe(o)) {
|
3102
3102
|
Lt(o, ke(o), n);
|
3103
3103
|
return;
|
3104
3104
|
}
|
3105
3105
|
for (var h in o)
|
3106
3106
|
pe.call(o, h) && Ts(n, h, o[h]);
|
3107
3107
|
}), gu = Wi(function(n, o) {
|
3108
|
-
Lt(o,
|
3108
|
+
Lt(o, Ye(o), n);
|
3109
3109
|
}), rr = Wi(function(n, o, h, c) {
|
3110
|
-
Lt(o,
|
3110
|
+
Lt(o, Ye(o), n, c);
|
3111
3111
|
}), pv = Wi(function(n, o, h, c) {
|
3112
3112
|
Lt(o, ke(o), n, c);
|
3113
3113
|
}), gv = Gt(vo);
|
@@ -3119,7 +3119,7 @@ wr.exports;
|
|
3119
3119
|
n = ge(n);
|
3120
3120
|
var h = -1, c = o.length, g = c > 2 ? o[2] : t;
|
3121
3121
|
for (g && Ne(o[0], o[1], g) && (c = 1); ++h < c; )
|
3122
|
-
for (var b = o[h], y =
|
3122
|
+
for (var b = o[h], y = Ye(b), E = -1, R = y.length; ++E < R; ) {
|
3123
3123
|
var k = y[E], D = n[k];
|
3124
3124
|
(D === t || wt(D, Hi[k]) && !pe.call(n, k)) && (n[k] = b[k]);
|
3125
3125
|
}
|
@@ -3134,10 +3134,10 @@ wr.exports;
|
|
3134
3134
|
return Sl(n, K(o, 3), yo);
|
3135
3135
|
}
|
3136
3136
|
function Cv(n, o) {
|
3137
|
-
return n == null ? n : wo(n, K(o, 3),
|
3137
|
+
return n == null ? n : wo(n, K(o, 3), Ye);
|
3138
3138
|
}
|
3139
3139
|
function Ev(n, o) {
|
3140
|
-
return n == null ? n : Zl(n, K(o, 3),
|
3140
|
+
return n == null ? n : Zl(n, K(o, 3), Ye);
|
3141
3141
|
}
|
3142
3142
|
function xv(n, o) {
|
3143
3143
|
return n && St(n, K(o, 3));
|
@@ -3149,7 +3149,7 @@ wr.exports;
|
|
3149
3149
|
return n == null ? [] : Nn(n, ke(n));
|
3150
3150
|
}
|
3151
3151
|
function Tv(n) {
|
3152
|
-
return n == null ? [] : Nn(n,
|
3152
|
+
return n == null ? [] : Nn(n, Ye(n));
|
3153
3153
|
}
|
3154
3154
|
function Zo(n, o, h) {
|
3155
3155
|
var c = n == null ? t : bi(n, o);
|
@@ -3163,14 +3163,14 @@ wr.exports;
|
|
3163
3163
|
}
|
3164
3164
|
var Sv = Mh(function(n, o, h) {
|
3165
3165
|
o != null && typeof o.toString != "function" && (o = Mn.call(o)), n[o] = h;
|
3166
|
-
}, ta(
|
3166
|
+
}, ta(Xe)), Lv = Mh(function(n, o, h) {
|
3167
3167
|
o != null && typeof o.toString != "function" && (o = Mn.call(o)), pe.call(n, o) ? n[o].push(h) : n[o] = [h];
|
3168
3168
|
}, K), kv = se(Ss);
|
3169
3169
|
function ke(n) {
|
3170
|
-
return
|
3170
|
+
return qe(n) ? Ul(n) : Ro(n);
|
3171
3171
|
}
|
3172
|
-
function
|
3173
|
-
return
|
3172
|
+
function Ye(n) {
|
3173
|
+
return qe(n) ? Ul(n, !0) : ag(n);
|
3174
3174
|
}
|
3175
3175
|
function Dv(n, o) {
|
3176
3176
|
var h = {};
|
@@ -3231,7 +3231,7 @@ wr.exports;
|
|
3231
3231
|
function Bv(n, o, h, c) {
|
3232
3232
|
return c = typeof c == "function" ? c : t, n == null ? n : ks(n, o, h, c);
|
3233
3233
|
}
|
3234
|
-
var vu = kh(ke), wu = kh(
|
3234
|
+
var vu = kh(ke), wu = kh(Ye);
|
3235
3235
|
function Nv(n, o, h) {
|
3236
3236
|
var c = Q(n), g = c || ni(n) || $i(n);
|
3237
3237
|
if (o = K(o, 4), h == null) {
|
@@ -3255,7 +3255,7 @@ wr.exports;
|
|
3255
3255
|
return n == null ? [] : uo(n, ke(n));
|
3256
3256
|
}
|
3257
3257
|
function $v(n) {
|
3258
|
-
return n == null ? [] : uo(n,
|
3258
|
+
return n == null ? [] : uo(n, Ye(n));
|
3259
3259
|
}
|
3260
3260
|
function Uv(n, o, h) {
|
3261
3261
|
return h === t && (h = o, o = t), h !== t && (h = ct(h), h = h === h ? h : 0), o !== t && (o = ct(o), o = o === o ? o : 0), mi(ct(n), o, h);
|
@@ -3490,7 +3490,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
3490
3490
|
return n == null || n !== n ? o : n;
|
3491
3491
|
}
|
3492
3492
|
var Rw = Th(), _w = Th(!0);
|
3493
|
-
function
|
3493
|
+
function Xe(n) {
|
3494
3494
|
return n;
|
3495
3495
|
}
|
3496
3496
|
function ia(n) {
|
@@ -3520,7 +3520,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
3520
3520
|
n[E] = R, y && (n.prototype[E] = function() {
|
3521
3521
|
var k = this.__chain__;
|
3522
3522
|
if (b || k) {
|
3523
|
-
var D = n(this.__wrapped__), F = D.__actions__ =
|
3523
|
+
var D = n(this.__wrapped__), F = D.__actions__ = Ke(this.__actions__);
|
3524
3524
|
return F.push({ func: R, args: arguments, thisArg: n }), D.__chain__ = k, D;
|
3525
3525
|
}
|
3526
3526
|
return R.apply(n, Jt([this.value()], arguments));
|
@@ -3572,7 +3572,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
3572
3572
|
return g;
|
3573
3573
|
}
|
3574
3574
|
function Vw(n) {
|
3575
|
-
return Q(n) ? we(n, kt) : tt(n) ? [n] :
|
3575
|
+
return Q(n) ? we(n, kt) : tt(n) ? [n] : Ke($h(fe(n)));
|
3576
3576
|
}
|
3577
3577
|
function Gw(n) {
|
3578
3578
|
var o = ++ep;
|
@@ -3584,19 +3584,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
3584
3584
|
return n / o;
|
3585
3585
|
}, 1), Kw = Oo("floor");
|
3586
3586
|
function qw(n) {
|
3587
|
-
return n && n.length ? Bn(n,
|
3587
|
+
return n && n.length ? Bn(n, Xe, Co) : t;
|
3588
3588
|
}
|
3589
3589
|
function Yw(n, o) {
|
3590
3590
|
return n && n.length ? Bn(n, K(o, 2), Co) : t;
|
3591
3591
|
}
|
3592
3592
|
function Xw(n) {
|
3593
|
-
return kl(n,
|
3593
|
+
return kl(n, Xe);
|
3594
3594
|
}
|
3595
3595
|
function Jw(n, o) {
|
3596
3596
|
return kl(n, K(o, 2));
|
3597
3597
|
}
|
3598
3598
|
function Zw(n) {
|
3599
|
-
return n && n.length ? Bn(n,
|
3599
|
+
return n && n.length ? Bn(n, Xe, _o) : t;
|
3600
3600
|
}
|
3601
3601
|
function Qw(n, o) {
|
3602
3602
|
return n && n.length ? Bn(n, K(o, 2), _o) : t;
|
@@ -3607,12 +3607,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
3607
3607
|
return n - o;
|
3608
3608
|
}, 0);
|
3609
3609
|
function sy(n) {
|
3610
|
-
return n && n.length ? lo(n,
|
3610
|
+
return n && n.length ? lo(n, Xe) : 0;
|
3611
3611
|
}
|
3612
3612
|
function ny(n, o) {
|
3613
3613
|
return n && n.length ? lo(n, K(o, 2)) : 0;
|
3614
3614
|
}
|
3615
|
-
return m.after = Tb, m.ary = tu, m.assign = fv, m.assignIn = gu, m.assignInWith = rr, m.assignWith = pv, m.at = gv, m.before = iu, m.bind = qo, m.bindAll = yw, m.bindKey = su, m.castArray = Ib, m.chain = Zh, m.chunk = Kg, m.compact = qg, m.concat = Yg, m.cond = Cw, m.conforms = Ew, m.constant = ta, m.countBy = sb, m.create = mv, m.curry = nu, m.curryRight = ru, m.debounce = ou, m.defaults = bv, m.defaultsDeep = vv, m.defer = Mb, m.delay = Sb, m.difference = Xg, m.differenceBy = Jg, m.differenceWith = Zg, m.drop = Qg, m.dropRight = em, m.dropRightWhile = tm, m.dropWhile = im, m.fill = sm, m.filter = rb, m.flatMap = lb, m.flatMapDeep = hb, m.flatMapDepth = ub, m.flatten = qh, m.flattenDeep = nm, m.flattenDepth = rm, m.flip = Lb, m.flow = Rw, m.flowRight = _w, m.fromPairs = om, m.functions = _v, m.functionsIn = Tv, m.groupBy = db, m.initial = lm, m.intersection = hm, m.intersectionBy = um, m.intersectionWith = dm, m.invert = Sv, m.invertBy = Lv, m.invokeMap = fb, m.iteratee = ia, m.keyBy = pb, m.keys = ke, m.keysIn =
|
3615
|
+
return m.after = Tb, m.ary = tu, m.assign = fv, m.assignIn = gu, m.assignInWith = rr, m.assignWith = pv, m.at = gv, m.before = iu, m.bind = qo, m.bindAll = yw, m.bindKey = su, m.castArray = Ib, m.chain = Zh, m.chunk = Kg, m.compact = qg, m.concat = Yg, m.cond = Cw, m.conforms = Ew, m.constant = ta, m.countBy = sb, m.create = mv, m.curry = nu, m.curryRight = ru, m.debounce = ou, m.defaults = bv, m.defaultsDeep = vv, m.defer = Mb, m.delay = Sb, m.difference = Xg, m.differenceBy = Jg, m.differenceWith = Zg, m.drop = Qg, m.dropRight = em, m.dropRightWhile = tm, m.dropWhile = im, m.fill = sm, m.filter = rb, m.flatMap = lb, m.flatMapDeep = hb, m.flatMapDepth = ub, m.flatten = qh, m.flattenDeep = nm, m.flattenDepth = rm, m.flip = Lb, m.flow = Rw, m.flowRight = _w, m.fromPairs = om, m.functions = _v, m.functionsIn = Tv, m.groupBy = db, m.initial = lm, m.intersection = hm, m.intersectionBy = um, m.intersectionWith = dm, m.invert = Sv, m.invertBy = Lv, m.invokeMap = fb, m.iteratee = ia, m.keyBy = pb, m.keys = ke, m.keysIn = Ye, m.map = Qn, m.mapKeys = Dv, m.mapValues = Av, m.matches = Tw, m.matchesProperty = Mw, m.memoize = tr, m.merge = Fv, m.mergeWith = mu, m.method = Sw, m.methodOf = Lw, m.mixin = sa, m.negate = ir, m.nthArg = Dw, m.omit = zv, m.omitBy = Pv, m.once = kb, m.orderBy = gb, m.over = Aw, m.overArgs = Db, m.overEvery = Fw, m.overSome = zw, m.partial = Yo, m.partialRight = au, m.partition = mb, m.pick = Ov, m.pickBy = bu, m.property = Ru, m.propertyOf = Pw, m.pull = gm, m.pullAll = Xh, m.pullAllBy = mm, m.pullAllWith = bm, m.pullAt = vm, m.range = Ow, m.rangeRight = Hw, m.rearg = Ab, m.reject = wb, m.remove = wm, m.rest = Fb, m.reverse = jo, m.sampleSize = Cb, m.set = Iv, m.setWith = Bv, m.shuffle = Eb, m.slice = ym, m.sortBy = _b, m.sortedUniq = Mm, m.sortedUniqBy = Sm, m.split = lw, m.spread = zb, m.tail = Lm, m.take = km, m.takeRight = Dm, m.takeRightWhile = Am, m.takeWhile = Fm, m.tap = qm, m.throttle = Pb, m.thru = Zn, m.toArray = cu, m.toPairs = vu, m.toPairsIn = wu, m.toPath = Vw, m.toPlainObject = pu, m.transform = Nv, m.unary = Ob, m.union = zm, m.unionBy = Pm, m.unionWith = Om, m.uniq = Hm, m.uniqBy = Im, m.uniqWith = Bm, m.unset = Wv, m.unzip = Ko, m.unzipWith = Jh, m.update = Vv, m.updateWith = Gv, m.values = Ui, m.valuesIn = $v, m.without = Nm, m.words = Eu, m.wrap = Hb, m.xor = Wm, m.xorBy = Vm, m.xorWith = Gm, m.zip = $m, m.zipObject = Um, m.zipObjectDeep = jm, m.zipWith = Km, m.entries = vu, m.entriesIn = wu, m.extend = gu, m.extendWith = rr, sa(m, m), m.add = $w, m.attempt = xu, m.camelCase = qv, m.capitalize = yu, m.ceil = Uw, m.clamp = Uv, m.clone = Bb, m.cloneDeep = Wb, m.cloneDeepWith = Vb, m.cloneWith = Nb, m.conformsTo = Gb, m.deburr = Cu, m.defaultTo = xw, m.divide = jw, m.endsWith = Yv, m.eq = wt, m.escape = Xv, m.escapeRegExp = Jv, m.every = nb, m.find = ob, m.findIndex = jh, m.findKey = wv, m.findLast = ab, m.findLastIndex = Kh, m.findLastKey = yv, m.floor = Kw, m.forEach = Qh, m.forEachRight = eu, m.forIn = Cv, m.forInRight = Ev, m.forOwn = xv, m.forOwnRight = Rv, m.get = Zo, m.gt = $b, m.gte = Ub, m.has = Mv, m.hasIn = Qo, m.head = Yh, m.identity = Xe, m.includes = cb, m.indexOf = am, m.inRange = jv, m.invoke = kv, m.isArguments = yi, m.isArray = Q, m.isArrayBuffer = jb, m.isArrayLike = qe, m.isArrayLikeObject = Re, m.isBoolean = Kb, m.isBuffer = ni, m.isDate = qb, m.isElement = Yb, m.isEmpty = Xb, m.isEqual = Jb, m.isEqualWith = Zb, m.isError = Xo, m.isFinite = Qb, m.isFunction = Ut, m.isInteger = lu, m.isLength = sr, m.isMap = hu, m.isMatch = ev, m.isMatchWith = tv, m.isNaN = iv, m.isNative = sv, m.isNil = rv, m.isNull = nv, m.isNumber = uu, m.isObject = Ce, m.isObjectLike = Ee, m.isPlainObject = zs, m.isRegExp = Jo, m.isSafeInteger = ov, m.isSet = du, m.isString = nr, m.isSymbol = tt, m.isTypedArray = $i, m.isUndefined = av, m.isWeakMap = lv, m.isWeakSet = hv, m.join = cm, m.kebabCase = Zv, m.last = dt, m.lastIndexOf = fm, m.lowerCase = Qv, m.lowerFirst = ew, m.lt = uv, m.lte = dv, m.max = qw, m.maxBy = Yw, m.mean = Xw, m.meanBy = Jw, m.min = Zw, m.minBy = Qw, m.stubArray = ra, m.stubFalse = oa, m.stubObject = Iw, m.stubString = Bw, m.stubTrue = Nw, m.multiply = ey, m.nth = pm, m.noConflict = kw, m.noop = na, m.now = er, m.pad = tw, m.padEnd = iw, m.padStart = sw, m.parseInt = nw, m.random = Kv, m.reduce = bb, m.reduceRight = vb, m.repeat = rw, m.replace = ow, m.result = Hv, m.round = ty, m.runInContext = x, m.sample = yb, m.size = xb, m.snakeCase = aw, m.some = Rb, m.sortedIndex = Cm, m.sortedIndexBy = Em, m.sortedIndexOf = xm, m.sortedLastIndex = Rm, m.sortedLastIndexBy = _m, m.sortedLastIndexOf = Tm, m.startCase = hw, m.startsWith = uw, m.subtract = iy, m.sum = sy, m.sumBy = ny, m.template = dw, m.times = Ww, m.toFinite = jt, m.toInteger = ee, m.toLength = fu, m.toLower = cw, m.toNumber = ct, m.toSafeInteger = cv, m.toString = fe, m.toUpper = fw, m.trim = pw, m.trimEnd = gw, m.trimStart = mw, m.truncate = bw, m.unescape = vw, m.uniqueId = Gw, m.upperCase = ww, m.upperFirst = ea, m.each = Qh, m.eachRight = eu, m.first = Yh, sa(m, function() {
|
3616
3616
|
var n = {};
|
3617
3617
|
return St(m, function(o, h) {
|
3618
3618
|
pe.call(m.prototype, h) || (n[h] = o);
|
@@ -3631,7 +3631,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
3631
3631
|
return this.reverse()[n](h).reverse();
|
3632
3632
|
};
|
3633
3633
|
}), ot(["filter", "map", "takeWhile"], function(n, o) {
|
3634
|
-
var h = o + 1, c = h ==
|
3634
|
+
var h = o + 1, c = h == je || h == di;
|
3635
3635
|
oe.prototype[n] = function(g) {
|
3636
3636
|
var b = this.clone();
|
3637
3637
|
return b.__iteratees__.push({
|
@@ -3650,7 +3650,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
3650
3650
|
return this.__filtered__ ? new oe(this) : this[h](1);
|
3651
3651
|
};
|
3652
3652
|
}), oe.prototype.compact = function() {
|
3653
|
-
return this.filter(
|
3653
|
+
return this.filter(Xe);
|
3654
3654
|
}, oe.prototype.find = function(n) {
|
3655
3655
|
return this.filter(n).head();
|
3656
3656
|
}, oe.prototype.findLast = function(n) {
|
@@ -4168,14 +4168,14 @@ var xa = pC, Yu = xa.custom, Xu = Td(Yu) ? Yu : null, RC = function l(e, t, i, s
|
|
4168
4168
|
s = [];
|
4169
4169
|
else if (Md(s, e) >= 0)
|
4170
4170
|
return "[Circular]";
|
4171
|
-
function w(
|
4172
|
-
if (
|
4171
|
+
function w(Ue, je, _t) {
|
4172
|
+
if (je && (s = xC.call(s), s.push(je)), _t) {
|
4173
4173
|
var di = {
|
4174
4174
|
depth: r.depth
|
4175
4175
|
};
|
4176
|
-
return oi(r, "quoteStyle") && (di.quoteStyle = r.quoteStyle), l(
|
4176
|
+
return oi(r, "quoteStyle") && (di.quoteStyle = r.quoteStyle), l(Ue, di, i + 1, s);
|
4177
4177
|
}
|
4178
|
-
return l(
|
4178
|
+
return l(Ue, r, i + 1, s);
|
4179
4179
|
}
|
4180
4180
|
if (typeof e == "function" && !Ju(e)) {
|
4181
4181
|
var C = FC(e), _ = ar(e, w);
|
@@ -4208,14 +4208,14 @@ var xa = pC, Yu = xa.custom, Xu = Td(Yu) ? Yu : null, RC = function l(e, t, i, s
|
|
4208
4208
|
}
|
4209
4209
|
if (zC(e)) {
|
4210
4210
|
var G = [];
|
4211
|
-
return Wu && Wu.call(e, function(
|
4212
|
-
G.push(w(
|
4211
|
+
return Wu && Wu.call(e, function(Ue, je) {
|
4212
|
+
G.push(w(je, e, !0) + " => " + w(Ue, e));
|
4213
4213
|
}), Zu("Map", Er.call(e), G, v);
|
4214
4214
|
}
|
4215
4215
|
if (HC(e)) {
|
4216
4216
|
var de = [];
|
4217
|
-
return Vu && Vu.call(e, function(
|
4218
|
-
de.push(w(
|
4217
|
+
return Vu && Vu.call(e, function(Ue) {
|
4218
|
+
de.push(w(Ue, e));
|
4219
4219
|
}), Zu("Set", xr.call(e), de, v);
|
4220
4220
|
}
|
4221
4221
|
if (PC(e))
|
@@ -4716,13 +4716,13 @@ var Ld = hs, us = dC, GC = RC, $C = hn, lr = Ld("%WeakMap%", !0), hr = Ld("%Map%
|
|
4716
4716
|
var Ht = Object.keys(B);
|
4717
4717
|
xe = v ? Ht.sort(v) : Ht;
|
4718
4718
|
}
|
4719
|
-
var ne = d ? t.replace(/\./g, "%2E") : t,
|
4719
|
+
var ne = d ? t.replace(/\./g, "%2E") : t, Ue = s && zt(B) && B.length === 1 ? ne + "[]" : ne;
|
4720
4720
|
if (r && zt(B) && B.length === 0)
|
4721
|
-
return
|
4722
|
-
for (var
|
4723
|
-
var _t = xe[
|
4721
|
+
return Ue + "[]";
|
4722
|
+
for (var je = 0; je < xe.length; ++je) {
|
4723
|
+
var _t = xe[je], di = typeof _t == "object" && typeof _t.value < "u" ? _t.value : B[_t];
|
4724
4724
|
if (!(u && di === null)) {
|
4725
|
-
var pt = w && d ? _t.replace(/\./g, "%2E") : _t, Tt = zt(B) ? typeof i == "function" ? i(
|
4725
|
+
var pt = w && d ? _t.replace(/\./g, "%2E") : _t, Tt = zt(B) ? typeof i == "function" ? i(Ue, pt) : Ue : Ue + (w ? "." + pt : "[" + pt + "]");
|
4726
4726
|
j.set(e, G);
|
4727
4727
|
var fn = Ad();
|
4728
4728
|
fn.set(ma, j), zd(ue, l(
|
@@ -4958,7 +4958,7 @@ function P0(l) {
|
|
4958
4958
|
}
|
4959
4959
|
return t(l), e;
|
4960
4960
|
}
|
4961
|
-
const { event: qt } =
|
4961
|
+
const { event: qt } = $e, O0 = (l = "myStore") => gd(l, {
|
4962
4962
|
state: () => ({
|
4963
4963
|
mainKey: "",
|
4964
4964
|
form: {},
|
@@ -5135,6 +5135,7 @@ const { event: qt } = Je, O0 = (l = "myStore") => gd(l, {
|
|
5135
5135
|
});
|
5136
5136
|
},
|
5137
5137
|
editItem(e) {
|
5138
|
+
console.log(e);
|
5138
5139
|
let t = this.routes[this.mainKey].split("?")[0], i = ed(e, this.flatFields);
|
5139
5140
|
return this.loadings.mainLoading = !0, Pt.patch(t + "/" + e.id, i).then(async () => {
|
5140
5141
|
this.reloadData(), qt("alert", { text: "با موفقیت ویرایش شد", color: "green" }), qt("handleDialogForm", !1);
|
@@ -5336,7 +5337,7 @@ const X0 = (l) => {
|
|
5336
5337
|
};
|
5337
5338
|
function eE({ fields: l, hiddenActions: e, options: t, route: i, structure: s }) {
|
5338
5339
|
const r = H0("Store-" + parseInt(Math.random() * 1e7));
|
5339
|
-
r.fields = Z0(l, r),
|
5340
|
+
r.fields = Z0(l, r), $e.event("beforeFormueInit");
|
5340
5341
|
const a = r.getModelKey(i);
|
5341
5342
|
return r.routes[a] = typeof i == "string" ? i : i == null ? void 0 : i.route, r.loadItems(), r.options = t, r.hiddenActions = e, r.structure = s, Y0(r.flatFields), r;
|
5342
5343
|
}
|
@@ -15714,9 +15715,9 @@ function fx(l, e) {
|
|
15714
15715
|
function Ht(ne) {
|
15715
15716
|
return w(ne.width) - z * (ne.column.definition.widthShrink || 0);
|
15716
15717
|
}
|
15717
|
-
return _.forEach(function(ne,
|
15718
|
-
var
|
15719
|
-
ne.column.minWidth >=
|
15718
|
+
return _.forEach(function(ne, Ue) {
|
15719
|
+
var je = A ? Ht(ne) : xe(ne);
|
15720
|
+
ne.column.minWidth >= je ? j.push(ne) : ne.column.maxWidth && ne.column.maxWidth < je ? (ne.width = ne.column.maxWidth, S -= ne.column.maxWidth, de -= A ? ne.column.definition.widthShrink || 1 : ne.column.definition.widthGrow || 1, de && (z = Math.floor(S / de))) : (ue.push(ne), I += A ? ne.column.definition.widthShrink || 1 : ne.column.definition.widthGrow || 1);
|
15720
15721
|
}), j.length ? (j.forEach(function(ne) {
|
15721
15722
|
B += A ? ne.width - ne.column.minWidth : ne.column.minWidth, ne.width = ne.column.minWidth;
|
15722
15723
|
}), H = S - B, G = I ? Math.floor(H / I) : H, J = C(ue, H, G, A)) : (J = I ? S - Math.floor(S / I) * I : S, ue.forEach(function(ne) {
|
@@ -16391,11 +16392,11 @@ const yx = /* @__PURE__ */ T("svg", {
|
|
16391
16392
|
const e = l;
|
16392
16393
|
return (t, i) => ($(), X(nt, null, [
|
16393
16394
|
T("button", {
|
16394
|
-
onClick: i[0] || (i[0] = (s) => U(
|
16395
|
+
onClick: i[0] || (i[0] = (s) => U($e).event("deleteBtn", e.data)),
|
16395
16396
|
class: "mx-2 inline-flex items-center justify-center w-5 h-5 rounded-full text-gray-500 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"
|
16396
16397
|
}, Cx),
|
16397
16398
|
T("button", {
|
16398
|
-
onClick: i[1] || (i[1] = (s) => U(
|
16399
|
+
onClick: i[1] || (i[1] = (s) => U($e).event("editBtn", e.data)),
|
16399
16400
|
class: "mx-2 inline-flex items-center justify-center w-5 h-5 rounded-full text-gray-500 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"
|
16400
16401
|
}, xx)
|
16401
16402
|
], 64));
|
@@ -16409,13 +16410,13 @@ const yx = /* @__PURE__ */ T("svg", {
|
|
16409
16410
|
},
|
16410
16411
|
setup(l) {
|
16411
16412
|
const e = l, t = Oe(!1);
|
16412
|
-
|
16413
|
-
e.all || (t.value = s,
|
16413
|
+
$e.listen("toggle.select.all", (s) => {
|
16414
|
+
e.all || (t.value = s, $e.event("toggle.select", e.data.id));
|
16414
16415
|
});
|
16415
16416
|
function i(s) {
|
16416
16417
|
if (e.all)
|
16417
|
-
return
|
16418
|
-
|
16418
|
+
return $e.event("toggle.select.all", t.value);
|
16419
|
+
$e.event("toggle.select", e.data.id);
|
16419
16420
|
}
|
16420
16421
|
return (s, r) => Js(($(), X("input", {
|
16421
16422
|
"onUpdate:modelValue": r[0] || (r[0] = (a) => t.value = a),
|
@@ -16683,7 +16684,7 @@ const ds = (l, e) => {
|
|
16683
16684
|
s.value ? ($(), X("div", qx, [
|
16684
16685
|
T("h2", Yx, he(r.$fcTr("not_load_or_existing_data")), 1)
|
16685
16686
|
])) : xt("", !0),
|
16686
|
-
|
16687
|
+
Je($x)
|
16687
16688
|
], 64));
|
16688
16689
|
}
|
16689
16690
|
}, cc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuNC4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIzIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMzI0LjUgNDExLjFjNi4yIDYuMiAxNi40IDYuMiAyMi42IDBzNi4yLTE2LjQgMC0yMi42TDIxNC42IDI1NiAzNDcuMSAxMjMuNWM2LjItNi4yIDYuMi0xNi40IDAtMjIuNnMtMTYuNC02LjItMjIuNiAwTDE5MiAyMzMuNCA1OS41IDEwMC45Yy02LjItNi4yLTE2LjQtNi4yLTIyLjYgMHMtNi4yIDE2LjQgMCAyMi42TDE2OS40IDI1NiAzNi45IDM4OC41Yy02LjIgNi4yLTYuMiAxNi40IDAgMjIuNnMxNi40IDYuMiAyMi42IDBMMTkyIDI3OC42IDMyNC41IDQxMS4xeiIvPjwvc3ZnPg==";
|
@@ -16707,7 +16708,7 @@ const Jx = (l) => (Fr("data-v-67e68951"), l = l(), zr(), l), Zx = {
|
|
16707
16708
|
__name: "MDialogForm",
|
16708
16709
|
setup(l) {
|
16709
16710
|
const e = Et("store");
|
16710
|
-
return
|
16711
|
+
return $e.listen("formue.dialog", (t) => {
|
16711
16712
|
e.dialog = t;
|
16712
16713
|
}), (t, i) => ($(), rs(Pr, {
|
16713
16714
|
name: "fade",
|
@@ -16793,7 +16794,7 @@ const bR = (l, e) => {
|
|
16793
16794
|
}, yR = { class: "flex flex-col text-right" }, CR = { class: "mb-5" }, ER = { class: "flex justify-end" }, xR = ["disabled"], RR = { key: 0 }, _R = { key: 1 }, TR = {
|
16794
16795
|
__name: "FormCore",
|
16795
16796
|
setup(l) {
|
16796
|
-
const { event: e, listen: t } =
|
16797
|
+
const { event: e, listen: t } = $e, i = Et("store"), s = Oe(null);
|
16797
16798
|
let r = {};
|
16798
16799
|
const a = (d) => {
|
16799
16800
|
let f = {};
|
@@ -16831,7 +16832,7 @@ const bR = (l, e) => {
|
|
16831
16832
|
const p = dd("Vueform");
|
16832
16833
|
return $(), X("div", yR, [
|
16833
16834
|
T("div", CR, [
|
16834
|
-
|
16835
|
+
Je(p, an({
|
16835
16836
|
modelValue: U(i).form,
|
16836
16837
|
"onUpdate:modelValue": f[0] || (f[0] = (v) => U(i).form = v),
|
16837
16838
|
schema: U(i).formFields,
|
@@ -16861,7 +16862,7 @@ const bR = (l, e) => {
|
|
16861
16862
|
}, MR = { class: "w-full" }, SR = {
|
16862
16863
|
__name: "MList",
|
16863
16864
|
setup(l) {
|
16864
|
-
const e = Et("store"), { listen: t } =
|
16865
|
+
const e = Et("store"), { listen: t } = $e, i = br(() => {
|
16865
16866
|
const a = {
|
16866
16867
|
tab: gR,
|
16867
16868
|
dialog: ld
|
@@ -16887,7 +16888,7 @@ const bR = (l, e) => {
|
|
16887
16888
|
})(), (a, u) => ($(), X(nt, null, [
|
16888
16889
|
($(), rs(Tu(i.value), null, {
|
16889
16890
|
default: Ct(() => [
|
16890
|
-
|
16891
|
+
Je(TR)
|
16891
16892
|
]),
|
16892
16893
|
_: 1
|
16893
16894
|
})),
|
@@ -17414,7 +17415,7 @@ const cs = (l) => (Fr("data-v-f977abb4"), l = l(), zr(), l), JR = { class: "bord
|
|
17414
17415
|
T("div", QR, [
|
17415
17416
|
T("h3", e_, he(H.$fcTr("filter_data")), 1),
|
17416
17417
|
T("div", t_, [
|
17417
|
-
|
17418
|
+
Je(Aa, null, {
|
17418
17419
|
activator: Ct(({ props: J, on: I }) => [
|
17419
17420
|
T("button", an(vr(I, !0), {
|
17420
17421
|
class: [J.isOpen ? "before:hidden" : "before:block", "fc-filter-choose is-button rounded is-button-default min-w-[130px]"]
|
@@ -17440,7 +17441,7 @@ const cs = (l) => (Fr("data-v-f977abb4"), l = l(), zr(), l), JR = { class: "bord
|
|
17440
17441
|
])
|
17441
17442
|
]),
|
17442
17443
|
T("div", l_, [
|
17443
|
-
|
17444
|
+
Je(de, {
|
17444
17445
|
modelValue: s.value,
|
17445
17446
|
"onUpdate:modelValue": G[0] || (G[0] = (J) => s.value = J),
|
17446
17447
|
schema: v.value,
|
@@ -17706,7 +17707,7 @@ const Rt = (l) => (Fr("data-v-7381a3e9"), l = l(), zr(), l), G_ = { class: "fc-h
|
|
17706
17707
|
], ST = {
|
17707
17708
|
__name: "MButtonBox",
|
17708
17709
|
setup(l) {
|
17709
|
-
const { event: e } =
|
17710
|
+
const { event: e } = $e, t = Et("store");
|
17710
17711
|
function i(v) {
|
17711
17712
|
v === t.panel ? t.panel = "" : t.panel = v;
|
17712
17713
|
}
|
@@ -17729,7 +17730,7 @@ const Rt = (l) => (Fr("data-v-7381a3e9"), l = l(), zr(), l), G_ = { class: "fc-h
|
|
17729
17730
|
class: "fc-plus-btn",
|
17730
17731
|
onClick: w[0] || (w[0] = (C) => U(e)("createBtn"))
|
17731
17732
|
}, j_),
|
17732
|
-
|
17733
|
+
Je(Aa, null, {
|
17733
17734
|
activator: Ct(({ on: C, props: _ }) => [
|
17734
17735
|
T("button", an({
|
17735
17736
|
class: _.isOpen ? "before:block" : "before:hidden"
|
@@ -17768,7 +17769,7 @@ const Rt = (l) => (Fr("data-v-7381a3e9"), l = l(), zr(), l), G_ = { class: "fc-h
|
|
17768
17769
|
class: Ge(["fc-header-icon-btn", { "fm-active-btn": a.value }]),
|
17769
17770
|
onClick: u
|
17770
17771
|
}, aT, 2),
|
17771
|
-
|
17772
|
+
Je(Aa, { "close-on-content-click": !0 }, {
|
17772
17773
|
activator: Ct(({ props: C, on: _ }) => [
|
17773
17774
|
T("button", an(vr(_, !0), {
|
17774
17775
|
class: ["fc-header-icon-btn", [
|
@@ -17798,7 +17799,7 @@ const Rt = (l) => (Fr("data-v-7381a3e9"), l = l(), zr(), l), G_ = { class: "fc-h
|
|
17798
17799
|
class: Ge(["test fc-header-icon-btn transform transition-all", U(t).panel === "filters" ? "!bg-white dark:!bg-muted-800 !rounded-b-none " : ""]),
|
17799
17800
|
onClick: w[2] || (w[2] = (C) => i("filters"))
|
17800
17801
|
}, [
|
17801
|
-
|
17802
|
+
Je(Pr, { name: "scale" }, {
|
17802
17803
|
default: Ct(() => [
|
17803
17804
|
U(t).panel === "filters" ? ($(), X("div", pT, mT)) : xt("", !0)
|
17804
17805
|
]),
|
@@ -17841,9 +17842,9 @@ const AT = /* @__PURE__ */ ds(kT, [["render", DT]]), FT = {
|
|
17841
17842
|
setup(l) {
|
17842
17843
|
const e = Et("store"), t = Oe(!1);
|
17843
17844
|
let i = "";
|
17844
|
-
return
|
17845
|
+
return $e.listen("deleteBtn", (s) => {
|
17845
17846
|
t.value = !0, i = s.id;
|
17846
|
-
}),
|
17847
|
+
}), $e.listen("handleDeleteDialog", (s) => {
|
17847
17848
|
t.value = s;
|
17848
17849
|
}), (s, r) => ($(), rs(Pr, {
|
17849
17850
|
name: "fade",
|
@@ -17886,7 +17887,11 @@ const AT = /* @__PURE__ */ ds(kT, [["render", DT]]), FT = {
|
|
17886
17887
|
_: 1
|
17887
17888
|
}));
|
17888
17889
|
}
|
17889
|
-
},
|
17890
|
+
}, KT = ({ listen: l, store: e }) => {
|
17891
|
+
l("reloadData", () => {
|
17892
|
+
e.reloadData();
|
17893
|
+
});
|
17894
|
+
}, tM = {
|
17890
17895
|
__name: "MCrud",
|
17891
17896
|
props: {
|
17892
17897
|
options: { default: () => ({}) },
|
@@ -17913,29 +17918,29 @@ const AT = /* @__PURE__ */ ds(kT, [["render", DT]]), FT = {
|
|
17913
17918
|
...t.tableOptions
|
17914
17919
|
}), document.body.setAttribute("dir", t.dir), za(() => {
|
17915
17920
|
e("mounted");
|
17916
|
-
}), (s, r) => ($(), X(nt, null, [
|
17917
|
-
|
17918
|
-
|
17919
|
-
|
17920
|
-
|
17921
|
-
|
17922
|
-
|
17921
|
+
}), KT({ listen: $e.listen, store: i }), (s, r) => ($(), X(nt, null, [
|
17922
|
+
Je(LT),
|
17923
|
+
Je(F_),
|
17924
|
+
Je(O_),
|
17925
|
+
Je(SR),
|
17926
|
+
Je(AT),
|
17927
|
+
Je(jT),
|
17923
17928
|
on(s.$slots, "extra")
|
17924
17929
|
], 64));
|
17925
17930
|
}
|
17926
17931
|
};
|
17927
|
-
const
|
17932
|
+
const qT = ({ headers: l, baseURL: e } = { headers: [], baseURL: "" }) => {
|
17928
17933
|
Pt.defaults.baseURL = e;
|
17929
17934
|
for (const t in l)
|
17930
17935
|
V.set(Pt.defaults.headers, t, l[t]);
|
17931
|
-
},
|
17932
|
-
|
17936
|
+
}, iM = (l, { fields: e, axiosConfig: t, dir: i } = { fields: {}, axiosConfig: {}, dir: "rtl" }) => {
|
17937
|
+
qT(t);
|
17933
17938
|
const s = dn();
|
17934
17939
|
s.dir = i || "rtl", l.config.globalProperties.$fcTr = (r) => s.translate(r), Q0(e);
|
17935
17940
|
};
|
17936
17941
|
export {
|
17937
|
-
|
17942
|
+
tM as MCrud,
|
17938
17943
|
$0 as fields,
|
17939
|
-
|
17944
|
+
iM as install,
|
17940
17945
|
Q0 as registerFields
|
17941
17946
|
};
|