formue-crud 0.0.45 → 0.0.47

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,14 +48,14 @@ var gr = { exports: {} };
48
48
  gr.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__", w = 1, v = 2, C = 4, _ = 1, k = 2, z = 1, A = 2, $ = 4, B = 8, H = 16, V = 32, de = 64, J = 128, I = 256, he = 512, xe = 30, Pt = "...", ne = 800, Ge = 16, $e = 1, Et = 2, di = 3, pt = 1 / 0, xt = 9007199254740991, un = 17976931348623157e292, Jt = 0 / 0, Rt = 4294967295, fc = Rt - 1, pc = Rt >>> 1, gc = [
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__", w = 1, v = 2, C = 4, _ = 1, k = 2, z = 1, A = 2, $ = 4, B = 8, H = 16, G = 32, de = 64, J = 128, I = 256, he = 512, xe = 30, Pt = "...", ne = 800, Ge = 16, $e = 1, Et = 2, di = 3, pt = 1 / 0, xt = 9007199254740991, un = 17976931348623157e292, Jt = 0 / 0, Rt = 4294967295, fc = Rt - 1, pc = Rt >>> 1, gc = [
52
52
  ["ary", J],
53
53
  ["bind", z],
54
54
  ["bindKey", A],
55
55
  ["curry", B],
56
56
  ["curryRight", H],
57
57
  ["flip", he],
58
- ["partial", V],
58
+ ["partial", G],
59
59
  ["partialRight", de],
60
60
  ["rearg", I]
61
61
  ], Li = "[object Arguments]", dn = "[object Array]", mc = "[object AsyncFunction]", ds = "[object Boolean]", cs = "[object Date]", bc = "[object DOMException]", cn = "[object Error]", fn = "[object Function]", Ja = "[object GeneratorFunction]", gt = "[object Map]", fs = "[object Number]", vc = "[object Null]", Ot = "[object Object]", Xa = "[object Promise]", wc = "[object Proxy]", ps = "[object RegExp]", mt = "[object Set]", gs = "[object String]", pn = "[object Symbol]", yc = "[object Undefined]", ms = "[object WeakMap]", Cc = "[object WeakSet]", bs = "[object ArrayBuffer]", Di = "[object DataView]", Pr = "[object Float32Array]", Or = "[object Float64Array]", Hr = "[object Int8Array]", Ir = "[object Int16Array]", Br = "[object Int32Array]", Nr = "[object Uint8Array]", Wr = "[object Uint8ClampedArray]", Vr = "[object Uint16Array]", Gr = "[object Uint32Array]", Ec = /\b__p \+= '';/g, xc = /\b(__p \+=) '' \+/g, Rc = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Ya = /&(?:amp|lt|gt|quot|#39);/g, Za = /[&<>"']/g, _c = RegExp(Ya.source), Tc = RegExp(Za.source), Sc = /<%-([\s\S]+?)%>/g, Mc = /<%([\s\S]+?)%>/g, Qa = /<%=([\s\S]+?)%>/g, kc = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Lc = /^\w*$/, Dc = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, $r = /[\\^$.*+?()[\]{}|]/g, Ac = RegExp($r.source), Ur = /^\s+/, Fc = /\s/, zc = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Pc = /\{\n\/\* \[wrapped with (.+)\] \*/, Oc = /,? & /, Hc = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ic = /[()=,{}\[\]\/\s]/, Bc = /\\(\\)?/g, Nc = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, el = /\w*$/, Wc = /^[-+]0x[0-9a-f]+$/i, Vc = /^0b[01]+$/i, Gc = /^\[object .+?Constructor\]$/, $c = /^0o[0-7]+$/i, Uc = /^(?:0|[1-9]\d*)$/, jc = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, gn = /($^)/, Kc = /['\n\r\u2028\u2029\\]/g, mn = "\\ud800-\\udfff", qc = "\\u0300-\\u036f", Jc = "\\ufe20-\\ufe2f", Xc = "\\u20d0-\\u20ff", tl = qc + Jc + Xc, il = "\\u2700-\\u27bf", sl = "a-z\\xdf-\\xf6\\xf8-\\xff", Yc = "\\xac\\xb1\\xd7\\xf7", Zc = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Qc = "\\u2000-\\u206f", ef = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", nl = "A-Z\\xc0-\\xd6\\xd8-\\xde", rl = "\\ufe0e\\ufe0f", ol = Yc + Zc + Qc + ef, jr = "['’]", tf = "[" + mn + "]", al = "[" + ol + "]", bn = "[" + tl + "]", ll = "\\d+", sf = "[" + il + "]", hl = "[" + sl + "]", ul = "[^" + mn + ol + ll + il + sl + nl + "]", Kr = "\\ud83c[\\udffb-\\udfff]", nf = "(?:" + bn + "|" + Kr + ")", dl = "[^" + mn + "]", qr = "(?:\\ud83c[\\udde6-\\uddff]){2}", Jr = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ai = "[" + nl + "]", cl = "\\u200d", fl = "(?:" + hl + "|" + ul + ")", rf = "(?:" + Ai + "|" + ul + ")", pl = "(?:" + jr + "(?:d|ll|m|re|s|t|ve))?", gl = "(?:" + jr + "(?:D|LL|M|RE|S|T|VE))?", ml = nf + "?", bl = "[" + rl + "]?", of = "(?:" + cl + "(?:" + [dl, qr, Jr].join("|") + ")" + bl + ml + ")*", af = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", lf = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", vl = bl + ml + of, hf = "(?:" + [sf, qr, Jr].join("|") + ")" + vl, uf = "(?:" + [dl + bn + "?", bn, qr, Jr, tf].join("|") + ")", df = RegExp(jr, "g"), cf = RegExp(bn, "g"), Xr = RegExp(Kr + "(?=" + Kr + ")|" + uf + vl, "g"), ff = RegExp([
@@ -1690,7 +1690,7 @@ gr.exports;
1690
1690
  for (c = y ? c : h; ++c < h; ) {
1691
1691
  b = o[c];
1692
1692
  var E = jn(b), R = E == "wrapper" ? Po(b) : t;
1693
- R && Bo(R[0]) && R[1] == (J | B | V | I) && !R[4].length && R[9] == 1 ? y = y[jn(R[0])].apply(y, R[3]) : y = b.length == 1 && Bo(b) ? y[E]() : y.thru(b);
1693
+ R && Bo(R[0]) && R[1] == (J | B | G | I) && !R[4].length && R[9] == 1 ? y = y[jn(R[0])].apply(y, R[3]) : y = b.length == 1 && Bo(b) ? y[E]() : y.thru(b);
1694
1694
  }
1695
1695
  return function() {
1696
1696
  var L = arguments, D = L[0];
@@ -1788,7 +1788,7 @@ gr.exports;
1788
1788
  }
1789
1789
  function kh(n, o, h, c, g, b, y, E, R, L) {
1790
1790
  var D = o & B, F = D ? y : t, O = D ? t : y, W = D ? b : t, j = D ? t : b;
1791
- o |= D ? V : de, o &= ~(D ? de : V), o & $ || (o &= ~(z | A));
1791
+ o |= D ? G : de, o &= ~(D ? de : G), o & $ || (o &= ~(z | A));
1792
1792
  var te = [
1793
1793
  n,
1794
1794
  o,
@@ -1827,7 +1827,7 @@ gr.exports;
1827
1827
  if (!R && typeof n != "function")
1828
1828
  throw new ot(a);
1829
1829
  var L = c ? c.length : 0;
1830
- if (L || (o &= ~(V | de), c = g = t), y = y === t ? y : Me(ee(y), 0), E = E === t ? E : ee(E), L -= g ? g.length : 0, o & de) {
1830
+ if (L || (o &= ~(G | de), c = g = t), y = y === t ? y : Me(ee(y), 0), E = E === t ? E : ee(E), L -= g ? g.length : 0, o & de) {
1831
1831
  var D = c, F = g;
1832
1832
  c = g = t;
1833
1833
  }
@@ -1846,7 +1846,7 @@ gr.exports;
1846
1846
  if (O && Bg(W, O), n = W[0], o = W[1], h = W[2], c = W[3], g = W[4], E = W[9] = W[9] === t ? R ? 0 : n.length : Me(W[9] - L, 0), !E && o & (B | H) && (o &= ~(B | H)), !o || o == z)
1847
1847
  var j = Cg(n, o, h);
1848
1848
  else
1849
- o == B || o == H ? j = Eg(n, o, E) : (o == V || o == (z | V)) && !g.length ? j = xg(n, o, h, c) : j = Vn.apply(t, W);
1849
+ o == B || o == H ? j = Eg(n, o, E) : (o == G || o == (z | G)) && !g.length ? j = xg(n, o, h, c) : j = Vn.apply(t, W);
1850
1850
  var te = O ? uh : Wh;
1851
1851
  return Vh(te(j, W), n, o);
1852
1852
  }
@@ -2739,14 +2739,14 @@ gr.exports;
2739
2739
  var c = z;
2740
2740
  if (h.length) {
2741
2741
  var g = Zt(h, Gi($o));
2742
- c |= V;
2742
+ c |= G;
2743
2743
  }
2744
2744
  return Nt(n, c, o, h, g);
2745
2745
  }), su = se(function(n, o, h) {
2746
2746
  var c = z | A;
2747
2747
  if (h.length) {
2748
2748
  var g = Zt(h, Gi(su));
2749
- c |= V;
2749
+ c |= G;
2750
2750
  }
2751
2751
  return Nt(o, c, n, h, g);
2752
2752
  });
@@ -2859,7 +2859,7 @@ gr.exports;
2859
2859
  });
2860
2860
  }), Uo = se(function(n, o) {
2861
2861
  var h = Zt(o, Gi(Uo));
2862
- return Nt(n, V, t, o, h);
2862
+ return Nt(n, G, t, o, h);
2863
2863
  }), au = se(function(n, o) {
2864
2864
  var h = Zt(o, Gi(au));
2865
2865
  return Nt(n, de, t, o, h);
@@ -3711,8 +3711,8 @@ function print() { __p += __j.call(arguments, '') }
3711
3711
  ci ? ((ci.exports = Oi)._ = Oi, Yr._ = Oi) : Ae._ = Oi;
3712
3712
  }).call(qi);
3713
3713
  })(gr, gr.exports);
3714
- var G = gr.exports;
3715
- const va = (l) => G.upperFirst(G.camelCase(l));
3714
+ var V = gr.exports;
3715
+ const va = (l) => V.upperFirst(V.camelCase(l));
3716
3716
  var py = Error, gy = EvalError, my = RangeError, by = ReferenceError, pd = SyntaxError, rn = TypeError, vy = URIError, wy = function() {
3717
3717
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
3718
3718
  return !1;
@@ -4207,10 +4207,10 @@ var Ea = cC, qu = Ea.custom, Ju = Rd(qu) ? qu : null, EC = function l(e, t, i, s
4207
4207
  return e.inspect();
4208
4208
  }
4209
4209
  if (AC(e)) {
4210
- var V = [];
4210
+ var G = [];
4211
4211
  return Nu && Nu.call(e, function(Ge, $e) {
4212
- V.push(v($e, e, !0) + " => " + v(Ge, e));
4213
- }), Yu("Map", vr.call(e), V, w);
4212
+ G.push(v($e, e, !0) + " => " + v(Ge, e));
4213
+ }), Yu("Map", vr.call(e), G, w);
4214
4214
  }
4215
4215
  if (PC(e)) {
4216
4216
  var de = [];
@@ -4681,14 +4681,14 @@ var Sd = ls, hs = hC, WC = EC, VC = rn, rr = Sd("%WeakMap%", !0), or = Sd("%Map%
4681
4681
  }, g0 = function(e) {
4682
4682
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
4683
4683
  }, ca = {}, m0 = function l(e, t, i, s, r, a, u, d, f, p, w, v, C, _, k, z, A, $) {
4684
- for (var B = e, H = $, V = 0, de = !1; (H = H.get(ca)) !== void 0 && !de; ) {
4684
+ for (var B = e, H = $, G = 0, de = !1; (H = H.get(ca)) !== void 0 && !de; ) {
4685
4685
  var J = H.get(e);
4686
- if (V += 1, typeof J < "u") {
4687
- if (J === V)
4686
+ if (G += 1, typeof J < "u") {
4687
+ if (J === G)
4688
4688
  throw new RangeError("Cyclic object value");
4689
4689
  de = !0;
4690
4690
  }
4691
- typeof H.get(ca) > "u" && (V = 0);
4691
+ typeof H.get(ca) > "u" && (G = 0);
4692
4692
  }
4693
4693
  if (typeof p == "function" ? B = p(t, B) : B instanceof Date ? B = C(B) : i === "comma" && Dt(B) && (B = ur.maybeMap(B, function(Jt) {
4694
4694
  return Jt instanceof Date ? C(Jt) : Jt;
@@ -4723,7 +4723,7 @@ var Sd = ls, hs = hC, WC = EC, VC = rn, rr = Sd("%WeakMap%", !0), or = Sd("%Map%
4723
4723
  var Et = xe[$e], di = typeof Et == "object" && typeof Et.value < "u" ? Et.value : B[Et];
4724
4724
  if (!(u && di === null)) {
4725
4725
  var pt = v && d ? Et.replace(/\./g, "%2E") : Et, xt = Dt(B) ? typeof i == "function" ? i(Ge, pt) : Ge : Ge + (v ? "." + pt : "[" + pt + "]");
4726
- $.set(e, V);
4726
+ $.set(e, G);
4727
4727
  var un = Ld();
4728
4728
  un.set(ca, $), Ad(he, l(
4729
4729
  di,
@@ -4954,7 +4954,7 @@ function F0(l) {
4954
4954
  let e = [];
4955
4955
  function t(i) {
4956
4956
  for (let s in i)
4957
- typeof i[s] == "object" && i[s] !== null && (!["schema", "columns"].includes(s) && !G.has(i[s], "schema") && G.get(i[s], "type") != "group" ? (G.has(i[s], "placeholder") || (i[s].placeholder = G.get(i[s], "title")), i[s].field = s, e.push(i[s])) : t(i[s]));
4957
+ typeof i[s] == "object" && i[s] !== null && (!["schema", "columns"].includes(s) && !V.has(i[s], "schema") && V.get(i[s], "type") != "group" ? (V.has(i[s], "placeholder") || (i[s].placeholder = V.get(i[s], "title")), i[s].field = s, e.push(i[s])) : t(i[s]));
4958
4958
  }
4959
4959
  return t(l), e;
4960
4960
  }
@@ -4980,19 +4980,19 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
4980
4980
  }),
4981
4981
  getters: {
4982
4982
  getItems(e) {
4983
- return (t) => G.get(e.items, t, []);
4983
+ return (t) => V.get(e.items, t, []);
4984
4984
  },
4985
4985
  getPaginations(e) {
4986
- return (t) => G.get(e.paginations, t, []);
4986
+ return (t) => V.get(e.paginations, t, []);
4987
4987
  },
4988
4988
  mainItems(e) {
4989
- return G.get(e.items, e.mainKey, []);
4989
+ return V.get(e.items, e.mainKey, []);
4990
4990
  },
4991
4991
  mainPagination(e) {
4992
4992
  return this.getPaginations(e.mainKey);
4993
4993
  },
4994
4994
  mainRoute(e) {
4995
- return G.get(e.routes, e.mainKey, "");
4995
+ return V.get(e.routes, e.mainKey, "");
4996
4996
  },
4997
4997
  flatFields(e) {
4998
4998
  let t = F0(e.fields);
@@ -5051,7 +5051,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5051
5051
  total: 0,
5052
5052
  currentPage: 0,
5053
5053
  lastPage: 0
5054
- }), this.paginations[t].total = G.get(e, "total"), this.paginations[t].currentPage = G.get(e, "current_page"), this.paginations[t].lastPage = G.get(e, "last_page");
5054
+ }), this.paginations[t].total = V.get(e, "total"), this.paginations[t].currentPage = V.get(e, "current_page"), this.paginations[t].lastPage = V.get(e, "last_page");
5055
5055
  },
5056
5056
  paginate(e) {
5057
5057
  this.isFiltering ? this.getWithFilter(e) : this.loadItems(this.mainKey, e);
@@ -5061,11 +5061,11 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5061
5061
  },
5062
5062
  loadItemsPlus(e = this.mainKey, t = 1, i = "", s = () => {
5063
5063
  }, r = !0) {
5064
- let a = G.get(this.routes, e, "").indexOf("?") > -1 ? "&page=" : "?page=";
5064
+ let a = V.get(this.routes, e, "").indexOf("?") > -1 ? "&page=" : "?page=";
5065
5065
  this.loadings[e] = !0;
5066
- const u = G.get(this.routes, e, "") + a + t + "&" + i;
5066
+ const u = V.get(this.routes, e, "") + a + t + "&" + i;
5067
5067
  At.get(u).then((d) => {
5068
- if (d = G.get(d, "data", {}), Array.isArray(this.items[e]) || (this.items[e] = []), r)
5068
+ if (d = V.get(d, "data", {}), Array.isArray(this.items[e]) || (this.items[e] = []), r)
5069
5069
  for (const f of d.data)
5070
5070
  this.items[e].push(f);
5071
5071
  else
@@ -5085,11 +5085,11 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5085
5085
  return A0.stringify({ filters: e, sort: this.sorts }, { encodeValuesOnly: !0 });
5086
5086
  },
5087
5087
  async loadItems(e = this.mainKey, t = 1) {
5088
- let i = G.get(this.routes, e, "").indexOf("?") > -1 ? "&page=" : "?page=";
5088
+ let i = V.get(this.routes, e, "").indexOf("?") > -1 ? "&page=" : "?page=";
5089
5089
  i += t, this.searchParam && (i += "&search=" + this.searchParam), this.loadings[e] = !0, this.loadings.mainLoading = e === this.mainKey;
5090
- const s = G.get(this.routes, e, "") + i + "&" + this.convertToFilterForm();
5090
+ const s = V.get(this.routes, e, "") + i + "&" + this.convertToFilterForm();
5091
5091
  return At.get(s).then((r) => {
5092
- r = G.get(r, "data", {}), this.items[e] = G.get(r, "data"), this.setPagination(r, e);
5092
+ r = V.get(r, "data", {}), this.items[e] = V.get(r, "data"), this.setPagination(r, e);
5093
5093
  }).finally(() => {
5094
5094
  this.loadings[e] = !1, this.loadings.mainLoading = !1;
5095
5095
  });
@@ -5114,7 +5114,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5114
5114
  itemPerPage: t,
5115
5115
  filters: this.filters
5116
5116
  }).then((s) => {
5117
- s = G.get(s, "data", {}), this.items[this.mainKey] = s.data, this.setPagination(s, this.mainKey);
5117
+ s = V.get(s, "data", {}), this.items[this.mainKey] = s.data, this.setPagination(s, this.mainKey);
5118
5118
  }).finally(() => {
5119
5119
  this.loadings.filter = !1;
5120
5120
  });
@@ -5126,7 +5126,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5126
5126
  this.reloadData(), jt("alert", { text: "با موفقیت ثبت شد", color: "green" }), jt("handleDialogForm", !1);
5127
5127
  }).catch((s) => {
5128
5128
  jt("alert", {
5129
- text: G.get(s, "response.message"),
5129
+ text: V.get(s, "response.message"),
5130
5130
  color: "red"
5131
5131
  });
5132
5132
  }).finally(() => {
@@ -5139,7 +5139,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5139
5139
  this.reloadData(), jt("alert", { text: "با موفقیت ویرایش شد", color: "green" }), jt("handleDialogForm", !1);
5140
5140
  }).catch((s) => {
5141
5141
  jt("alert", {
5142
- text: G.get(s, "response.message"),
5142
+ text: V.get(s, "response.message"),
5143
5143
  color: "red"
5144
5144
  });
5145
5145
  }).finally(() => {
@@ -5157,7 +5157,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5157
5157
  }), jt("handleDeleteDialog", !1), this.removeData(e), this.reloadData();
5158
5158
  }).catch((r) => {
5159
5159
  jt("alert", {
5160
- text: G.get(r, "response.data.message"),
5160
+ text: V.get(r, "response.data.message"),
5161
5161
  color: "red"
5162
5162
  });
5163
5163
  }).finally(() => {
@@ -5179,7 +5179,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5179
5179
  object: !0,
5180
5180
  filterResults: !1,
5181
5181
  native: !1,
5182
- formatter: (e) => G.get(e.getValue(), G.get(l, "labelProp")),
5182
+ formatter: (e) => V.get(e.getValue(), V.get(l, "labelProp")),
5183
5183
  ...l
5184
5184
  }), I0 = (l = {}) => ({
5185
5185
  search: !0,
@@ -5187,7 +5187,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5187
5187
  type: "select",
5188
5188
  object: !0,
5189
5189
  native: !1,
5190
- formatter: (e) => G.get(e.getValue(), G.get(l, "labelProp"), e.getValue()),
5190
+ formatter: (e) => V.get(e.getValue(), V.get(l, "labelProp"), e.getValue()),
5191
5191
  ...l
5192
5192
  }), B0 = (l = {}) => ({
5193
5193
  search: !0,
@@ -5197,7 +5197,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5197
5197
  object: !0,
5198
5198
  filterResults: !1,
5199
5199
  native: !1,
5200
- formatter: (e) => G.get(e.getValue(), G.get(l, "labelProp")),
5200
+ formatter: (e) => V.get(e.getValue(), V.get(l, "labelProp")),
5201
5201
  ...l
5202
5202
  }), zd = (l = {}) => ({
5203
5203
  search: !0,
@@ -5208,7 +5208,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5208
5208
  filterResults: !1,
5209
5209
  hideSelected: !0,
5210
5210
  native: !1,
5211
- formatter: (e) => G.get(e.getValue(), G.get(l, "labelProp")),
5211
+ formatter: (e) => V.get(e.getValue(), V.get(l, "labelProp")),
5212
5212
  ...l
5213
5213
  }), Pd = (l = {}) => ({
5214
5214
  type: "date",
@@ -5244,7 +5244,7 @@ const { event: jt } = st, z0 = (l = "myStore") => fd(l, {
5244
5244
  };
5245
5245
  let Od = {};
5246
5246
  function G0({ form: l, fieldName: e, field: t }) {
5247
- return Array.isArray(G.get(l, e)) && G.has(t, "valueProp");
5247
+ return Array.isArray(V.get(l, e)) && V.has(t, "valueProp");
5248
5248
  }
5249
5249
  function Qu(l, e) {
5250
5250
  let t = {}, i = !1;
@@ -5254,16 +5254,16 @@ function Qu(l, e) {
5254
5254
  continue;
5255
5255
  i = !0;
5256
5256
  let a = $0(r), u = s;
5257
- const d = G.get(r, "valueProp", !1);
5257
+ const d = V.get(r, "valueProp", !1);
5258
5258
  if (d && (u += "." + d), G0({
5259
5259
  form: l,
5260
5260
  fieldName: s,
5261
5261
  field: r
5262
5262
  })) {
5263
- t[a] = G.get(l, s).map((f) => G.get(f, d)), console.log(t);
5263
+ t[a] = V.get(l, s).map((f) => V.get(f, d)), console.log(t);
5264
5264
  continue;
5265
5265
  }
5266
- t[a] = G.get(l, u);
5266
+ t[a] = V.get(l, u);
5267
5267
  }
5268
5268
  return i ? t : l;
5269
5269
  }
@@ -5300,7 +5300,7 @@ function K0(l) {
5300
5300
  "init" in e && e.init();
5301
5301
  }
5302
5302
  const q0 = (l) => {
5303
- const e = G.get(Od, l);
5303
+ const e = V.get(Od, l);
5304
5304
  return e ? ry(e) : "";
5305
5305
  }, J0 = (l) => ({ url: e, key: t, foreignKey: i, dataKey: s } = {
5306
5306
  url: !1,
@@ -5316,11 +5316,11 @@ const q0 = (l) => {
5316
5316
  };
5317
5317
  typeof route == "string" && (t = d(u)), (u.match(/\{(.*?)\}/g) || []).forEach((v) => {
5318
5318
  const C = v.replace(/[{}]/g, "");
5319
- u = u.replace(v, G.get(l.form, C, ""));
5319
+ u = u.replace(v, V.get(l.form, C, ""));
5320
5320
  });
5321
5321
  const p = u.includes("?") ? "&" : "?", w = await At.get(u + p + "search=" + (a || ""));
5322
- return G.get(w, "data.data", []);
5323
- }, X0 = (l, e) => l({ getRegisterField: q0, axios: At, get: J0(e), getSafe: G.get, useFields: V0 }), Y0 = (l) => {
5322
+ return V.get(w, "data.data", []);
5323
+ }, X0 = (l, e) => l({ getRegisterField: q0, axios: At, get: J0(e), getSafe: V.get, useFields: V0 }), Y0 = (l) => {
5324
5324
  Od = l;
5325
5325
  };
5326
5326
  function Z0({ fields: l, hiddenActions: e, options: t, route: i, structure: s }) {
@@ -5420,12 +5420,12 @@ const Q0 = {
5420
5420
  }),
5421
5421
  getters: {
5422
5422
  currentLang(l) {
5423
- return G.get(l.langs, l.lang, "fa");
5423
+ return V.get(l.langs, l.lang, "fa");
5424
5424
  }
5425
5425
  },
5426
5426
  actions: {
5427
5427
  translate(l) {
5428
- return G.get(this.currentLang, l, l);
5428
+ return V.get(this.currentLang, l, l);
5429
5429
  }
5430
5430
  }
5431
5431
  });
@@ -7490,8 +7490,8 @@ function vE(l, e, t) {
7490
7490
  var C = [], _ = [], k = {}, z = { s: { c: 0, r: 0 }, e: { c: l[0] ? l[0].columns.reduce((A, $) => A + ($ && $.width ? $.width : 1), 0) : 0, r: l.length } };
7491
7491
  return l.forEach((A, $) => {
7492
7492
  var B = [];
7493
- A.columns.forEach(function(H, V) {
7494
- H ? (B.push(!(H.value instanceof Date) && typeof H.value == "object" ? JSON.stringify(H.value) : H.value), (H.width > 1 || H.height > -1) && (H.height > 1 || H.width > 1) && _.push({ s: { r: $, c: V }, e: { r: $ + H.height - 1, c: V + H.width - 1 } })) : B.push("");
7493
+ A.columns.forEach(function(H, G) {
7494
+ H ? (B.push(!(H.value instanceof Date) && typeof H.value == "object" ? JSON.stringify(H.value) : H.value), (H.width > 1 || H.height > -1) && (H.height > 1 || H.width > 1) && _.push({ s: { r: $, c: G }, e: { r: $ + H.height - 1, c: G + H.width - 1 } })) : B.push("");
7495
7495
  }), C.push(B);
7496
7496
  }), XLSX.utils.sheet_add_aoa(k, C), k["!ref"] = XLSX.utils.encode_range(z), _.length && (k["!merges"] = _), k;
7497
7497
  }
@@ -14823,16 +14823,16 @@ class ex extends zr {
14823
14823
  //////////////////////////////////////
14824
14824
  //full virtual render
14825
14825
  _virtualRenderFill(e, t, i) {
14826
- var s = this.tableElement, r = this.elementVertical, a = 0, u = 0, d = 0, f = 0, p = 0, w = 0, v = this.rows(), C = v.length, _ = 0, k, z, A = [], $ = 0, B = 0, H = this.table.rowManager.fixedHeight, V = this.elementVertical.clientHeight, de = this.table.options.rowHeight, J = !0;
14826
+ var s = this.tableElement, r = this.elementVertical, a = 0, u = 0, d = 0, f = 0, p = 0, w = 0, v = this.rows(), C = v.length, _ = 0, k, z, A = [], $ = 0, B = 0, H = this.table.rowManager.fixedHeight, G = this.elementVertical.clientHeight, de = this.table.options.rowHeight, J = !0;
14827
14827
  if (e = e || 0, i = i || 0, !e)
14828
14828
  this.clear();
14829
14829
  else {
14830
14830
  for (; s.firstChild; )
14831
14831
  s.removeChild(s.firstChild);
14832
- f = (C - e + 1) * this.vDomRowHeight, f < V && (e -= Math.ceil((V - f) / this.vDomRowHeight), e < 0 && (e = 0)), a = Math.min(Math.max(Math.floor(this.vDomWindowBuffer / this.vDomRowHeight), this.vDomWindowMinMarginRows), e), e -= a;
14832
+ f = (C - e + 1) * this.vDomRowHeight, f < G && (e -= Math.ceil((G - f) / this.vDomRowHeight), e < 0 && (e = 0)), a = Math.min(Math.max(Math.floor(this.vDomWindowBuffer / this.vDomRowHeight), this.vDomWindowMinMarginRows), e), e -= a;
14833
14833
  }
14834
14834
  if (C && ve.elVisible(this.elementVertical)) {
14835
- for (this.vDomTop = e, this.vDomBottom = e - 1, H || this.table.options.maxHeight ? (de && (B = V / de + this.vDomWindowBuffer / de), B = Math.max(this.vDomWindowMinTotalRows, Math.ceil(B))) : B = C; (B == C || u <= V + this.vDomWindowBuffer || $ < this.vDomWindowMinTotalRows) && this.vDomBottom < C - 1; ) {
14835
+ for (this.vDomTop = e, this.vDomBottom = e - 1, H || this.table.options.maxHeight ? (de && (B = G / de + this.vDomWindowBuffer / de), B = Math.max(this.vDomWindowMinTotalRows, Math.ceil(B))) : B = C; (B == C || u <= G + this.vDomWindowBuffer || $ < this.vDomWindowMinTotalRows) && this.vDomBottom < C - 1; ) {
14836
14836
  for (A = [], z = document.createDocumentFragment(), w = 0; w < B && this.vDomBottom < C - 1; )
14837
14837
  _ = this.vDomBottom + 1, k = v[_], this.styleRow(k, _), k.initialize(!1, !0), !k.heightInitialized && !this.table.options.rowHeight && k.clearCellHeight(), z.appendChild(k.getElement()), A.push(k), this.vDomBottom++, w++;
14838
14838
  if (!A.length)
@@ -14843,9 +14843,9 @@ class ex extends zr {
14843
14843
  I.heightInitialized || I.setCellHeight();
14844
14844
  }), A.forEach((I) => {
14845
14845
  d = I.getHeight(), $ < a ? p += d : u += d, d > this.vDomWindowBuffer && (this.vDomWindowBuffer = d * 2), $++;
14846
- }), J = this.table.rowManager.adjustTableSize(), V = this.elementVertical.clientHeight, J && (H || this.table.options.maxHeight) && (de = u / $, B = Math.max(this.vDomWindowMinTotalRows, Math.ceil(V / de + this.vDomWindowBuffer / de)));
14846
+ }), J = this.table.rowManager.adjustTableSize(), G = this.elementVertical.clientHeight, J && (H || this.table.options.maxHeight) && (de = u / $, B = Math.max(this.vDomWindowMinTotalRows, Math.ceil(G / de + this.vDomWindowBuffer / de)));
14847
14847
  }
14848
- e ? (this.vDomTopPad = t ? this.vDomRowHeight * this.vDomTop + i : this.scrollTop - p, this.vDomBottomPad = this.vDomBottom == C - 1 ? 0 : Math.max(this.vDomScrollHeight - this.vDomTopPad - u - p, 0)) : (this.vDomTopPad = 0, this.vDomRowHeight = Math.floor((u + p) / $), this.vDomBottomPad = this.vDomRowHeight * (C - this.vDomBottom - 1), this.vDomScrollHeight = p + u + this.vDomBottomPad - V), s.style.paddingTop = this.vDomTopPad + "px", s.style.paddingBottom = this.vDomBottomPad + "px", t && (this.scrollTop = this.vDomTopPad + p + i - (this.elementVertical.scrollWidth > this.elementVertical.clientWidth ? this.elementVertical.offsetHeight - V : 0)), this.scrollTop = Math.min(this.scrollTop, this.elementVertical.scrollHeight - V), this.elementVertical.scrollWidth > this.elementVertical.clientWidth && t && (this.scrollTop += this.elementVertical.offsetHeight - V), this.vDomScrollPosTop = this.scrollTop, this.vDomScrollPosBottom = this.scrollTop, r.scrollTop = this.scrollTop, this.dispatch("render-virtual-fill");
14848
+ e ? (this.vDomTopPad = t ? this.vDomRowHeight * this.vDomTop + i : this.scrollTop - p, this.vDomBottomPad = this.vDomBottom == C - 1 ? 0 : Math.max(this.vDomScrollHeight - this.vDomTopPad - u - p, 0)) : (this.vDomTopPad = 0, this.vDomRowHeight = Math.floor((u + p) / $), this.vDomBottomPad = this.vDomRowHeight * (C - this.vDomBottom - 1), this.vDomScrollHeight = p + u + this.vDomBottomPad - G), s.style.paddingTop = this.vDomTopPad + "px", s.style.paddingBottom = this.vDomBottomPad + "px", t && (this.scrollTop = this.vDomTopPad + p + i - (this.elementVertical.scrollWidth > this.elementVertical.clientWidth ? this.elementVertical.offsetHeight - G : 0)), this.scrollTop = Math.min(this.scrollTop, this.elementVertical.scrollHeight - G), this.elementVertical.scrollWidth > this.elementVertical.clientWidth && t && (this.scrollTop += this.elementVertical.offsetHeight - G), this.vDomScrollPosTop = this.scrollTop, this.vDomScrollPosBottom = this.scrollTop, r.scrollTop = this.scrollTop, this.dispatch("render-virtual-fill");
14849
14849
  }
14850
14850
  }
14851
14851
  _addTopRow(e, t) {
@@ -15696,7 +15696,7 @@ function dx(l, e) {
15696
15696
  return typeof _ == "string" ? _.indexOf("%") > -1 ? k = t / 100 * parseInt(_) : k = parseInt(_) : k = _, k;
15697
15697
  }
15698
15698
  function C(_, k, z, A) {
15699
- var $ = [], B = 0, H = 0, V = 0, de = r, J = 0, I = 0, he = [];
15699
+ var $ = [], B = 0, H = 0, G = 0, de = r, J = 0, I = 0, he = [];
15700
15700
  function xe(ne) {
15701
15701
  return z * (ne.column.definition.widthGrow || 1);
15702
15702
  }
@@ -15708,7 +15708,7 @@ function dx(l, e) {
15708
15708
  ne.column.minWidth >= $e ? $.push(ne) : ne.column.maxWidth && ne.column.maxWidth < $e ? (ne.width = ne.column.maxWidth, k -= ne.column.maxWidth, de -= A ? ne.column.definition.widthShrink || 1 : ne.column.definition.widthGrow || 1, de && (z = Math.floor(k / de))) : (he.push(ne), I += A ? ne.column.definition.widthShrink || 1 : ne.column.definition.widthGrow || 1);
15709
15709
  }), $.length ? ($.forEach(function(ne) {
15710
15710
  B += A ? ne.width - ne.column.minWidth : ne.column.minWidth, ne.width = ne.column.minWidth;
15711
- }), H = k - B, V = I ? Math.floor(H / I) : H, J = C(he, H, V, A)) : (J = I ? k - Math.floor(k / I) * I : k, he.forEach(function(ne) {
15711
+ }), H = k - B, G = I ? Math.floor(H / I) : H, J = C(he, H, G, A)) : (J = I ? k - Math.floor(k / I) * I : k, he.forEach(function(ne) {
15712
15712
  ne.width = A ? Pt(ne) : xe(ne);
15713
15713
  })), J;
15714
15714
  }
@@ -16466,10 +16466,10 @@ function lc(l) {
16466
16466
  // formatter: updateRowNumber
16467
16467
  // }
16468
16468
  };
16469
- return l.map((i) => i.field in t ? { ...i, ...t[i.field] } : i).map((i) => {
16470
- for (const s of e)
16471
- s in i && delete i[s];
16472
- return { ...i, headerSort: !1 };
16469
+ return V.cloneDeep(l).map((s) => s.field in t ? { ...s, ...t[s.field] } : s).map((s) => {
16470
+ for (const r of e)
16471
+ r in s && delete s[r];
16472
+ return { ...s, headerSort: !1 };
16473
16473
  });
16474
16474
  }
16475
16475
  function Rx(l, e) {
@@ -16986,7 +16986,7 @@ function bR(l, e, t, i = {}) {
16986
16986
  C(he);
16987
16987
  }
16988
16988
  }
16989
- function V(I) {
16989
+ function G(I) {
16990
16990
  const he = I ? I.newValue : t.getItem(l);
16991
16991
  if (he == null)
16992
16992
  return d && k !== null && t.setItem(l, A.write(k)), k;
@@ -17008,7 +17008,7 @@ function bR(l, e, t, i = {}) {
17008
17008
  if (!(I && I.key !== l)) {
17009
17009
  $();
17010
17010
  try {
17011
- (I == null ? void 0 : I.newValue) !== A.write(_.value) && (_.value = V(I));
17011
+ (I == null ? void 0 : I.newValue) !== A.write(_.value) && (_.value = G(I));
17012
17012
  } catch (he) {
17013
17013
  C(he);
17014
17014
  } finally {
@@ -17132,11 +17132,11 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17132
17132
  function f(H) {
17133
17133
  if (!H)
17134
17134
  return !1;
17135
- const V = {
17135
+ const G = {
17136
17136
  text: "TextFilter",
17137
17137
  date: "DateFilter",
17138
17138
  select: "SelectFilter"
17139
- }, de = G.get(V, H.type), J = G.get(tR, de);
17139
+ }, de = V.get(G, H.type), J = V.get(tR, de);
17140
17140
  return typeof J == "function" ? J(H) : !1;
17141
17141
  }
17142
17142
  const p = {
@@ -17151,7 +17151,7 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17151
17151
  search: !0,
17152
17152
  trackBy: ["title"],
17153
17153
  columns: 2,
17154
- onChange(H, V, de) {
17154
+ onChange(H, G, de) {
17155
17155
  const J = f(H) || [];
17156
17156
  for (const I in s.value)
17157
17157
  I !== "field" && delete s.value[I];
@@ -17169,18 +17169,18 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17169
17169
  return bR(H, {}, localStorage, { mergeDefaults: !0 });
17170
17170
  }
17171
17171
  function C() {
17172
- e.filters.push(G.cloneDeep(s.value)), s.value = {};
17172
+ e.filters.push(V.cloneDeep(s.value)), s.value = {};
17173
17173
  }
17174
17174
  function _() {
17175
17175
  t !== -1 && e.filters.splice(t, 1, s.value), i.value = !1, s.value = {};
17176
17176
  }
17177
- function k(H, V) {
17178
- i.value = !0, t = V, s.value = H, ma(() => {
17177
+ function k(H, G) {
17178
+ i.value = !0, t = G, s.value = H, ma(() => {
17179
17179
  s.value.op = H.op, s.value.value = H.value;
17180
17180
  });
17181
17181
  }
17182
17182
  function z(H) {
17183
- e.filters = e.filters.filter((V) => V !== H);
17183
+ e.filters = e.filters.filter((G) => G !== H);
17184
17184
  }
17185
17185
  function A() {
17186
17186
  e.filters = [], e.loadItems();
@@ -17193,7 +17193,7 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17193
17193
  function B() {
17194
17194
  e.loadItems();
17195
17195
  }
17196
- return (H, V) => {
17196
+ return (H, G) => {
17197
17197
  const de = dd("Vueform");
17198
17198
  return Js((q(), Y("div", {
17199
17199
  class: Xe(["accordion-content", { hide: X(e).panel !== "filters" }])
@@ -17231,7 +17231,7 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17231
17231
  T("div", DR, [
17232
17232
  Je(de, {
17233
17233
  modelValue: s.value,
17234
- "onUpdate:modelValue": V[0] || (V[0] = (J) => s.value = J),
17234
+ "onUpdate:modelValue": G[0] || (G[0] = (J) => s.value = J),
17235
17235
  schema: w.value,
17236
17236
  sync: !0,
17237
17237
  class: "w-[100%] justify-between ml-4",
@@ -17275,7 +17275,7 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17275
17275
  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",
17276
17276
  onClick: (he) => k(J, I)
17277
17277
  }, [
17278
- T("span", $R, ue(X(G.get)(J, "field.title")), 1),
17278
+ T("span", $R, ue(X(V.get)(J, "field.title")), 1),
17279
17279
  T("button", {
17280
17280
  class: "text-white font-bold rounded px-1 hover:bg-primary-500 hover:text-black-500",
17281
17281
  onClick: sr((he) => z(J), ["stop"])
@@ -17290,20 +17290,20 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17290
17290
  ]),
17291
17291
  T("div", JR, [
17292
17292
  T("button", {
17293
- onClick: V[1] || (V[1] = (J) => X(e).panel = ""),
17293
+ onClick: G[1] || (G[1] = (J) => X(e).panel = ""),
17294
17294
  class: "is-button text-muted-500 rounded hover:text-red-500 !underline focus-within:!outline-none"
17295
17295
  }, ue(H.$fcTr("cancel")), 1),
17296
17296
  T("div", XR, [
17297
17297
  T("div", YR, [
17298
17298
  T("button", {
17299
- onClick: V[5] || (V[5] = sr((J) => Object.keys(X(e).filters).length !== 0 ? $() : "", ["self"])),
17299
+ onClick: G[5] || (G[5] = sr((J) => Object.keys(X(e).filters).length !== 0 ? $() : "", ["self"])),
17300
17300
  class: Xe([{
17301
17301
  "!bg-muted-100 dark:!bg-muted-700 ltr:pr-1": r.value,
17302
17302
  " focus:outline-none !cursor-not-allowed": Object.keys(X(e).filters).length === 0
17303
17303
  }, "transitionX-inp is-button rounded is-button-default"])
17304
17304
  }, [
17305
17305
  T("span", {
17306
- onClick: V[2] || (V[2] = sr((J) => Object.keys(X(e).filters).length !== 0 ? $() : "", ["self"])),
17306
+ onClick: G[2] || (G[2] = sr((J) => Object.keys(X(e).filters).length !== 0 ? $() : "", ["self"])),
17307
17307
  class: Xe({
17308
17308
  " bg-green-500 px-2 py-1 rounded text-muted-50": r.value,
17309
17309
  " focus:outline-none !cursor-not-allowed": Object.keys(X(e).filters).length === 0
@@ -17316,7 +17316,7 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17316
17316
  ])
17317
17317
  }, [
17318
17318
  Js(T("input", {
17319
- "onUpdate:modelValue": V[3] || (V[3] = (J) => a.value = J),
17319
+ "onUpdate:modelValue": G[3] || (G[3] = (J) => a.value = J),
17320
17320
  class: Xe(["fc-focus py-1 rounded px-2 dark:bg-muted-800", r.value ? " border border-1" : "flex "]),
17321
17321
  placeholder: H.$fcTr("filter_save_placeholder"),
17322
17322
  ref_key: "filterNameInp",
@@ -17326,7 +17326,7 @@ const us = (l) => (kr("data-v-f977abb4"), l = l(), Lr(), l), yR = { class: "bord
17326
17326
  ]),
17327
17327
  T("span", {
17328
17328
  class: "px-2",
17329
- onClick: V[4] || (V[4] = (J) => r.value = !1)
17329
+ onClick: G[4] || (G[4] = (J) => r.value = !1)
17330
17330
  }, e_)
17331
17331
  ], 2)
17332
17332
  ], 2),
@@ -17511,7 +17511,7 @@ const Ct = (l) => (kr("data-v-7381a3e9"), l = l(), Lr(), l), c_ = { class: "fc-h
17511
17511
  function f() {
17512
17512
  d.value = !0, t.loadItems().finally(() => d.value = !1);
17513
17513
  }
17514
- const p = G.debounce(f, 600);
17514
+ const p = V.debounce(f, 600);
17515
17515
  return (w, v) => (q(), Y("div", c_, [
17516
17516
  T("div", f_, [
17517
17517
  T("button", {
@@ -17618,12 +17618,12 @@ const Ct = (l) => (kr("data-v-7381a3e9"), l = l(), Lr(), l), c_ = { class: "fc-h
17618
17618
  }
17619
17619
  }, Z_ = /* @__PURE__ */ hn(Y_, [["__scopeId", "data-v-7381a3e9"]]);
17620
17620
  function Q_(l, e) {
17621
- return Array.isArray(l) ? G.every(l, (t) => G.isType(t, e)) : !1;
17621
+ return Array.isArray(l) ? V.every(l, (t) => V.isType(t, e)) : !1;
17622
17622
  }
17623
17623
  const eT = (l, e) => {
17624
- const t = G.get(l, "field"), i = G.get(l, "valueProp");
17625
- return Q_(e, "object") ? e.map((s) => G.get(s, i)) : G.get(e, t);
17626
- }, cc = (l, e) => G.get(e, l.field), tT = {
17624
+ const t = V.get(l, "field"), i = V.get(l, "valueProp");
17625
+ return Q_(e, "object") ? e.map((s) => V.get(s, i)) : V.get(e, t);
17626
+ }, cc = (l, e) => V.get(e, l.field), tT = {
17627
17627
  select: eT,
17628
17628
  text: cc
17629
17629
  }, iT = (l, e) => {
@@ -17830,7 +17830,7 @@ const xT = /* @__PURE__ */ hn(CT, [["render", ET]]), RT = {
17830
17830
  const IT = ({ headers: l, baseURL: e } = { headers: [], baseURL: "" }) => {
17831
17831
  At.defaults.baseURL = e;
17832
17832
  for (const t in l)
17833
- G.set(At.defaults.headers, t, l[t]);
17833
+ V.set(At.defaults.headers, t, l[t]);
17834
17834
  }, jT = (l, { fields: e, axiosConfig: t, dir: i } = { fields: {}, axiosConfig: {}, dir: "rtl" }) => {
17835
17835
  IT(t);
17836
17836
  const s = an();