admins-components 9.0.6 → 9.0.7

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.
Files changed (73) hide show
  1. package/dist/admins-components101.js +3 -3
  2. package/dist/admins-components103.js +19 -29
  3. package/dist/admins-components105.js +2 -2
  4. package/dist/admins-components107.js +1 -2
  5. package/dist/admins-components115.js +15 -23
  6. package/dist/admins-components12.js +1 -1
  7. package/dist/admins-components129.js +6 -20
  8. package/dist/admins-components130.js +6 -14
  9. package/dist/admins-components131.js +1 -5
  10. package/dist/admins-components135.js +26 -27
  11. package/dist/admins-components136.js +1 -1
  12. package/dist/admins-components137.js +93 -100
  13. package/dist/admins-components14.js +1 -1
  14. package/dist/admins-components141.js +8 -9
  15. package/dist/admins-components148.js +7476 -7733
  16. package/dist/admins-components151.js +1 -1
  17. package/dist/admins-components155.js +1 -1
  18. package/dist/admins-components156.js +1 -1
  19. package/dist/admins-components158.js +1 -1
  20. package/dist/admins-components160.js +1 -1
  21. package/dist/admins-components161.js +1 -1
  22. package/dist/admins-components162.js +1 -1
  23. package/dist/admins-components164.js +1 -1
  24. package/dist/admins-components167.js +1 -1
  25. package/dist/admins-components17.js +1 -1
  26. package/dist/admins-components19.js +1 -1
  27. package/dist/admins-components22.js +1 -1
  28. package/dist/admins-components24.js +2 -2
  29. package/dist/admins-components27.js +2 -2
  30. package/dist/admins-components30.js +1 -1
  31. package/dist/admins-components33.js +1 -1
  32. package/dist/admins-components35.js +1 -1
  33. package/dist/admins-components38.js +1 -1
  34. package/dist/admins-components4.js +2 -2
  35. package/dist/admins-components41.js +1 -1
  36. package/dist/admins-components43.js +1 -1
  37. package/dist/admins-components45.js +1 -1
  38. package/dist/admins-components49.js +1 -1
  39. package/dist/admins-components56.js +1 -1
  40. package/dist/admins-components58.js +1 -1
  41. package/dist/admins-components61.js +1 -1
  42. package/dist/admins-components65.js +1 -1
  43. package/dist/admins-components68.js +1 -1
  44. package/dist/admins-components7.js +1 -1
  45. package/dist/admins-components72.js +1 -1
  46. package/dist/admins-components77.js +1 -1
  47. package/dist/admins-components80.js +1 -1
  48. package/dist/admins-components83.js +1 -1
  49. package/dist/admins-components86.js +2 -2
  50. package/dist/admins-components98.js +125 -136
  51. package/dist/index.d.ts +2 -0
  52. package/dist/src/components/Button.vue.d.ts +1 -1
  53. package/dist/src/components/Calendar.vue.d.ts +1 -1
  54. package/dist/src/components/ConfirmModal.vue.d.ts +1 -1
  55. package/dist/src/components/DatePicker.vue.d.ts +2 -2
  56. package/dist/src/components/DateRangePicker.vue.d.ts +2 -2
  57. package/dist/src/components/DropdownMenu.vue.d.ts +2 -2
  58. package/dist/src/components/DropdownSelect.vue.d.ts +1 -1
  59. package/dist/src/components/HeaderComponent.vue.d.ts +2 -2
  60. package/dist/src/components/custom/ImagePicker.vue.d.ts +1 -1
  61. package/dist/src/components/data-table/DataCards.vue.d.ts +2 -2
  62. package/dist/src/components/data-table/DataCell.vue.d.ts +1 -1
  63. package/dist/src/components/data-table/DataFilters.vue.d.ts +4 -4
  64. package/dist/src/components/data-table/DataList.vue.d.ts +4 -4
  65. package/dist/src/components/data-table/DataListGuide.vue.d.ts +1 -1
  66. package/dist/src/components/data-table/DataListOptions.vue.d.ts +2 -2
  67. package/dist/src/components/data-table/DataPaginator.vue.d.ts +1 -1
  68. package/dist/src/components/data-table/DataTable.vue.d.ts +3 -3
  69. package/dist/src/components/data-table/FilterTags.vue.d.ts +1 -1
  70. package/dist/src/components/data-table/FiltersHistory.vue.d.ts +1 -1
  71. package/dist/src/index.d.ts +85 -85
  72. package/dist/src/vueformelements/config/ExternalArticleOfferElementConfig.d.ts +1 -1
  73. package/package.json +2 -3
@@ -56,11 +56,11 @@ var d = class {
56
56
  let u = (t, n) => e.forEach(t, (e, t) => l(e, t, n));
57
57
  if (e.isPlainObject(n) || n instanceof this.constructor) u(n, r);
58
58
  else if (e.isString(n) && (n = n.trim()) && !s(n)) u(t(n), r);
59
- else if (e.isObject(n) && e.isSafeIterable(n)) {
60
- let t = Object.create(null), i, a;
59
+ else if (e.isObject(n) && e.isIterable(n)) {
60
+ let t = {}, i, a;
61
61
  for (let r of n) {
62
62
  if (!e.isArray(r)) throw TypeError("Object iterator must return a key-value pair");
63
- a = r[0], e.hasOwnProp(t, a) ? (i = t[a], t[a] = e.isArray(i) ? [...i, r[1]] : [i, r[1]]) : t[a] = r[1];
63
+ t[a = r[0]] = (i = t[a]) ? e.isArray(i) ? [...i, r[1]] : [i, r[1]] : r[1];
64
64
  }
65
65
  u(t, r);
66
66
  } else n != null && l(r, n, o);
@@ -1,5 +1,6 @@
1
1
  import e from "./admins-components98.js";
2
2
  import t from "./admins-components102.js";
3
+ //#region node_modules/axios/lib/helpers/toFormData.js
3
4
  function n(t) {
4
5
  return e.isPlainObject(t) || e.isArray(t);
5
6
  }
@@ -26,53 +27,42 @@ function s(s, c, l) {
26
27
  }, !1, function(t, n) {
27
28
  return !e.isUndefined(n[t]);
28
29
  });
29
- let u = l.metaTokens, d = l.visitor || x, f = l.dots, p = l.indexes, m = l.Blob || typeof Blob < "u" && Blob, h = l.maxDepth === void 0 ? 100 : l.maxDepth, g = m && e.isSpecCompliantForm(c), _ = [];
30
+ let u = l.metaTokens, d = l.visitor || v, f = l.dots, p = l.indexes, m = l.Blob || typeof Blob < "u" && Blob, h = l.maxDepth === void 0 ? 100 : l.maxDepth, g = m && e.isSpecCompliantForm(c);
30
31
  if (!e.isFunction(d)) throw TypeError("visitor must be a function");
31
- function v(n) {
32
+ function _(n) {
32
33
  if (n === null) return "";
33
34
  if (e.isDate(n)) return n.toISOString();
34
35
  if (e.isBoolean(n)) return n.toString();
35
36
  if (!g && e.isBlob(n)) throw new t("Blob is not supported. Use a Buffer instead.");
36
37
  return e.isArrayBuffer(n) || e.isTypedArray(n) ? g && typeof Blob == "function" ? new Blob([n]) : Buffer.from(n) : n;
37
38
  }
38
- function y(e) {
39
- if (e > h) throw new t("Object is too deeply nested (" + e + " levels). Max depth: " + h, t.ERR_FORM_DATA_DEPTH_EXCEEDED);
40
- }
41
- function b(t, n) {
42
- if (h === Infinity) return JSON.stringify(t);
43
- let r = [];
44
- return JSON.stringify(t, function(t, i) {
45
- if (!e.isObject(i)) return i;
46
- for (; r.length && r[r.length - 1] !== this;) r.pop();
47
- return r.push(i), y(n + r.length - 1), i;
48
- });
49
- }
50
- function x(t, o, s) {
39
+ function v(t, o, s) {
51
40
  let l = t;
52
- if (e.isReactNative(c) && e.isReactNativeBlob(t)) return c.append(i(s, o, f), v(t)), !1;
41
+ if (e.isReactNative(c) && e.isReactNativeBlob(t)) return c.append(i(s, o, f), _(t)), !1;
53
42
  if (t && !s && typeof t == "object") {
54
- if (e.endsWith(o, "{}")) o = u ? o : o.slice(0, -2), t = b(t, 1);
43
+ if (e.endsWith(o, "{}")) o = u ? o : o.slice(0, -2), t = JSON.stringify(t);
55
44
  else if (e.isArray(t) && a(t) || (e.isFileList(t) || e.endsWith(o, "[]")) && (l = e.toArray(t))) return o = r(o), l.forEach(function(t, n) {
56
- !(e.isUndefined(t) || t === null) && c.append(p === !0 ? i([o], n, f) : p === null ? o : o + "[]", v(t));
45
+ !(e.isUndefined(t) || t === null) && c.append(p === !0 ? i([o], n, f) : p === null ? o : o + "[]", _(t));
57
46
  }), !1;
58
47
  }
59
- return n(t) ? !0 : (c.append(i(s, o, f), v(t)), !1);
48
+ return n(t) ? !0 : (c.append(i(s, o, f), _(t)), !1);
60
49
  }
61
- let S = Object.assign(o, {
62
- defaultVisitor: x,
63
- convertValue: v,
50
+ let y = [], b = Object.assign(o, {
51
+ defaultVisitor: v,
52
+ convertValue: _,
64
53
  isVisitable: n
65
54
  });
66
- function C(t, n, r = 0) {
67
- if (!e.isUndefined(t)) {
68
- if (y(r), _.indexOf(t) !== -1) throw Error("Circular reference detected in " + n.join("."));
69
- _.push(t), e.forEach(t, function(t, i) {
70
- (!(e.isUndefined(t) || t === null) && d.call(c, t, e.isString(i) ? i.trim() : i, n, S)) === !0 && C(t, n ? n.concat(i) : [i], r + 1);
71
- }), _.pop();
55
+ function x(n, r, i = 0) {
56
+ if (!e.isUndefined(n)) {
57
+ if (i > h) throw new t("Object is too deeply nested (" + i + " levels). Max depth: " + h, t.ERR_FORM_DATA_DEPTH_EXCEEDED);
58
+ if (y.indexOf(n) !== -1) throw Error("Circular reference detected in " + r.join("."));
59
+ y.push(n), e.forEach(n, function(t, n) {
60
+ (!(e.isUndefined(t) || t === null) && d.call(c, t, e.isString(n) ? n.trim() : n, r, b)) === !0 && x(t, r ? r.concat(n) : [n], i + 1);
61
+ }), y.pop();
72
62
  }
73
63
  }
74
64
  if (!e.isObject(s)) throw TypeError("data must be an object");
75
- return C(s), c;
65
+ return x(s), c;
76
66
  }
77
67
  //#endregion
78
68
  export { s as default };
@@ -6,8 +6,8 @@ function n(e) {
6
6
  }
7
7
  function r(r, i, a) {
8
8
  if (!i) return r;
9
- let o = e.isFunction(a) ? { serialize: a } : a, s = e.getSafeProp(o, "encode") || n, c = e.getSafeProp(o, "serialize"), l;
10
- if (l = c ? c(i, o) : e.isURLSearchParams(i) ? i.toString() : new t(i, o).toString(s), l) {
9
+ let o = a && a.encode || n, s = e.isFunction(a) ? { serialize: a } : a, c = s && s.serialize, l;
10
+ if (l = c ? c(i, s) : e.isURLSearchParams(i) ? i.toString() : new t(i, s).toString(o), l) {
11
11
  let e = r.indexOf("#");
12
12
  e !== -1 && (r = r.slice(0, e)), r += (r.indexOf("?") === -1 ? "?" : "&") + l;
13
13
  }
@@ -4,8 +4,7 @@ var e = {
4
4
  forcedJSONParsing: !0,
5
5
  clarifyTimeoutError: !1,
6
6
  legacyInterceptorReqResOrdering: !0,
7
- advertiseZstdAcceptEncoding: !1,
8
- validateStatusUndefinedResolves: !0
7
+ advertiseZstdAcceptEncoding: !1
9
8
  };
10
9
  //#endregion
11
10
  export { e as default };
@@ -1,35 +1,27 @@
1
1
  import e from "./admins-components98.js";
2
- import t from "./admins-components102.js";
3
2
  //#region node_modules/axios/lib/helpers/formDataToJSON.js
4
- var n = 100;
5
- function r(e) {
6
- if (e > n) throw new t("FormData field is too deeply nested (" + e + " levels). Max depth: " + n, t.ERR_FORM_DATA_DEPTH_EXCEEDED);
3
+ function t(t) {
4
+ return e.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
7
5
  }
8
- function i(e) {
9
- let t = [], n = /\w+|\[(\w*)]/g, i;
10
- for (; (i = n.exec(e)) !== null;) r(t.length), t.push(i[0] === "[]" ? "" : i[1] || i[0]);
11
- return t;
12
- }
13
- function a(e) {
6
+ function n(e) {
14
7
  let t = {}, n = Object.keys(e), r, i = n.length, a;
15
8
  for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
16
9
  return t;
17
10
  }
18
- function o(t) {
19
- function n(t, i, o, s) {
20
- r(s);
21
- let c = t[s++];
22
- if (c === "__proto__") return !0;
23
- let l = Number.isFinite(+c), u = s >= t.length;
24
- return c = !c && e.isArray(o) ? o.length : c, u ? (e.hasOwnProp(o, c) ? o[c] = e.isArray(o[c]) ? o[c].concat(i) : [o[c], i] : o[c] = i, !l) : ((!e.hasOwnProp(o, c) || !e.isObject(o[c])) && (o[c] = []), n(t, i, o[c], s) && e.isArray(o[c]) && (o[c] = a(o[c])), !l);
11
+ function r(r) {
12
+ function i(t, r, a, o) {
13
+ let s = t[o++];
14
+ if (s === "__proto__") return !0;
15
+ let c = Number.isFinite(+s), l = o >= t.length;
16
+ return s = !s && e.isArray(a) ? a.length : s, l ? (e.hasOwnProp(a, s) ? a[s] = e.isArray(a[s]) ? a[s].concat(r) : [a[s], r] : a[s] = r, !c) : ((!e.hasOwnProp(a, s) || !e.isObject(a[s])) && (a[s] = []), i(t, r, a[s], o) && e.isArray(a[s]) && (a[s] = n(a[s])), !c);
25
17
  }
26
- if (e.isFormData(t) && e.isFunction(t.entries)) {
27
- let r = {};
28
- return e.forEachEntry(t, (e, t) => {
29
- n(i(e), t, r, 0);
30
- }), r;
18
+ if (e.isFormData(r) && e.isFunction(r.entries)) {
19
+ let n = {};
20
+ return e.forEachEntry(r, (e, r) => {
21
+ i(t(e), r, n, 0);
22
+ }), n;
31
23
  }
32
24
  return null;
33
25
  }
34
26
  //#endregion
35
- export { o as default };
27
+ export { r as default };
@@ -8,7 +8,7 @@ var S = [
8
8
  "value",
9
9
  "placeholder",
10
10
  "maxlength"
11
- ], C = /*@__PURE__*/ m({
11
+ ], C = /* @__PURE__ */ m({
12
12
  __name: "DatePicker",
13
13
  props: {
14
14
  modelValue: { default: null },
@@ -1,23 +1,9 @@
1
- import e from "./admins-components102.js";
2
- import t from "./admins-components127.js";
3
- import n from "./admins-components128.js";
1
+ import e from "./admins-components127.js";
2
+ import t from "./admins-components128.js";
4
3
  //#region node_modules/axios/lib/core/buildFullPath.js
5
- var r = /^https?:(?!\/\/)/i, i = /[\t\n\r]/g;
6
- function a(e) {
7
- let t = 0;
8
- for (; t < e.length && e.charCodeAt(t) <= 32;) t++;
9
- return e.slice(t);
10
- }
11
- function o(e) {
12
- return a(e).replace(i, "");
13
- }
14
- function s(t, n) {
15
- if (typeof t == "string" && r.test(o(t))) throw new e("Invalid URL: missing \"//\" after protocol", e.ERR_INVALID_URL, n);
16
- }
17
- function c(e, r, i, a) {
18
- s(r, a);
19
- let o = !t(r);
20
- return e && (o || i === !1) ? (s(e, a), n(e, r)) : r;
4
+ function n(n, r, i) {
5
+ let a = !e(r);
6
+ return n && (a || i === !1) ? t(n, r) : r;
21
7
  }
22
8
  //#endregion
23
- export { c as default };
9
+ export { n as default };
@@ -26,19 +26,11 @@ function r(t, r) {
26
26
  if (!e.isUndefined(n)) return a(void 0, n);
27
27
  if (!e.isUndefined(t)) return a(void 0, t);
28
28
  }
29
- function l(n) {
30
- let i = e.hasOwnProp(r, "transitional") ? r.transitional : void 0;
31
- if (!e.isUndefined(i)) if (e.isPlainObject(i)) {
32
- if (e.hasOwnProp(i, n)) return i[n];
33
- } else return;
34
- let a = e.hasOwnProp(t, "transitional") ? t.transitional : void 0;
35
- if (e.isPlainObject(a) && e.hasOwnProp(a, n)) return a[n];
36
- }
37
- function u(n, i, o) {
29
+ function l(n, i, o) {
38
30
  if (e.hasOwnProp(r, o)) return a(n, i);
39
31
  if (e.hasOwnProp(t, o)) return a(void 0, n);
40
32
  }
41
- let d = {
33
+ let u = {
42
34
  url: s,
43
35
  method: s,
44
36
  data: s,
@@ -67,7 +59,7 @@ function r(t, r) {
67
59
  socketPath: c,
68
60
  allowedSocketPaths: c,
69
61
  responseEncoding: c,
70
- validateStatus: u,
62
+ validateStatus: l,
71
63
  headers: (e, t, r) => o(n(e), n(t), r, !0)
72
64
  };
73
65
  return e.forEach(Object.keys({
@@ -75,9 +67,9 @@ function r(t, r) {
75
67
  ...r
76
68
  }), function(n) {
77
69
  if (n === "__proto__" || n === "constructor" || n === "prototype") return;
78
- let a = e.hasOwnProp(d, n) ? d[n] : o, s = a(e.hasOwnProp(t, n) ? t[n] : void 0, e.hasOwnProp(r, n) ? r[n] : void 0, n);
79
- e.isUndefined(s) && a !== u || (i[n] = s);
80
- }), e.hasOwnProp(r, "validateStatus") && e.isUndefined(r.validateStatus) && l("validateStatusUndefinedResolves") === !1 && (e.hasOwnProp(t, "validateStatus") ? i.validateStatus = a(void 0, t.validateStatus) : delete i.validateStatus), i;
70
+ let a = e.hasOwnProp(u, n) ? u[n] : o, s = a(e.hasOwnProp(t, n) ? t[n] : void 0, e.hasOwnProp(r, n) ? r[n] : void 0, n);
71
+ e.isUndefined(s) && a !== l || (i[n] = s);
72
+ }), i;
81
73
  }
82
74
  //#endregion
83
75
  export { r as default };
@@ -20,11 +20,7 @@ function l(e, t, n) {
20
20
  var u = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
21
21
  function d(c) {
22
22
  let d = s({}, c), f = (t) => e.hasOwnProp(d, t) ? d[t] : void 0, p = f("data"), m = f("withXSRFToken"), h = f("xsrfHeaderName"), g = f("xsrfCookieName"), _ = f("headers"), v = f("auth"), y = f("baseURL"), b = f("allowAbsoluteUrls"), x = f("url");
23
- if (d.headers = _ = t.from(_), d.url = n(o(y, x, b, d), f("params"), f("paramsSerializer")), v) {
24
- let t = e.getSafeProp(v, "username") || "", n = e.getSafeProp(v, "password") || "";
25
- _.set("Authorization", "Basic " + btoa(t + ":" + (n ? u(n) : "")));
26
- }
27
- if (e.isFormData(p) && (r.hasStandardBrowserEnv || r.hasStandardBrowserWebWorkerEnv || e.isReactNative(p) ? _.setContentType(void 0) : e.isFunction(p.getHeaders) && l(_, p.getHeaders(), f("formDataHeaderPolicy"))), r.hasStandardBrowserEnv && (e.isFunction(m) && (m = m(d)), m === !0 || m == null && i(d.url))) {
23
+ if (d.headers = _ = t.from(_), d.url = n(o(y, x, b), f("params"), f("paramsSerializer")), v && _.set("Authorization", "Basic " + btoa((v.username || "") + ":" + (v.password ? u(v.password) : ""))), e.isFormData(p) && (r.hasStandardBrowserEnv || r.hasStandardBrowserWebWorkerEnv || e.isReactNative(p) ? _.setContentType(void 0) : e.isFunction(p.getHeaders) && l(_, p.getHeaders(), f("formDataHeaderPolicy"))), r.hasStandardBrowserEnv && (e.isFunction(m) && (m = m(d)), m === !0 || m == null && i(d.url))) {
28
24
  let e = h && g && a.read(g);
29
25
  e && _.set(h, e);
30
26
  }
@@ -1,33 +1,32 @@
1
1
  //#region node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
2
- var e = (e) => e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102, t = (t, n, r) => n + 2 < r && e(t.charCodeAt(n + 1)) && e(t.charCodeAt(n + 2));
3
- function n(n) {
4
- if (!n || typeof n != "string" || !n.startsWith("data:")) return 0;
5
- let r = n.indexOf(",");
6
- if (r < 0) return 0;
7
- let i = n.slice(5, r), a = n.slice(r + 1);
8
- if (/;base64/i.test(i)) {
9
- let t = a.length, n = a.length;
10
- for (let r = 0; r < n; r++) if (a.charCodeAt(r) === 37 && r + 2 < n) {
11
- let n = a.charCodeAt(r + 1), i = a.charCodeAt(r + 2);
12
- e(n) && e(i) && (t -= 2, r += 2);
2
+ function e(e) {
3
+ if (!e || typeof e != "string" || !e.startsWith("data:")) return 0;
4
+ let t = e.indexOf(",");
5
+ if (t < 0) return 0;
6
+ let n = e.slice(5, t), r = e.slice(t + 1);
7
+ if (/;base64/i.test(n)) {
8
+ let e = r.length, t = r.length;
9
+ for (let n = 0; n < t; n++) if (r.charCodeAt(n) === 37 && n + 2 < t) {
10
+ let t = r.charCodeAt(n + 1), i = r.charCodeAt(n + 2);
11
+ (t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102) && (i >= 48 && i <= 57 || i >= 65 && i <= 70 || i >= 97 && i <= 102) && (e -= 2, n += 2);
13
12
  }
14
- let r = 0, i = n - 1, o = (e) => e >= 2 && a.charCodeAt(e - 2) === 37 && a.charCodeAt(e - 1) === 51 && (a.charCodeAt(e) === 68 || a.charCodeAt(e) === 100);
15
- i >= 0 && (a.charCodeAt(i) === 61 ? (r++, i--) : o(i) && (r++, i -= 3)), r === 1 && i >= 0 && (a.charCodeAt(i) === 61 || o(i)) && r++;
16
- let s = Math.floor(t / 4) * 3 - (r || 0);
17
- return s > 0 ? s : 0;
13
+ let n = 0, i = t - 1, a = (e) => e >= 2 && r.charCodeAt(e - 2) === 37 && r.charCodeAt(e - 1) === 51 && (r.charCodeAt(e) === 68 || r.charCodeAt(e) === 100);
14
+ i >= 0 && (r.charCodeAt(i) === 61 ? (n++, i--) : a(i) && (n++, i -= 3)), n === 1 && i >= 0 && (r.charCodeAt(i) === 61 || a(i)) && n++;
15
+ let o = Math.floor(e / 4) * 3 - (n || 0);
16
+ return o > 0 ? o : 0;
18
17
  }
19
- let o = 0;
20
- for (let e = 0, n = a.length; e < n; e++) {
21
- let r = a.charCodeAt(e);
22
- if (r === 37 && t(a, e, n)) o += 1, e += 2;
23
- else if (r < 128) o += 1;
24
- else if (r < 2048) o += 2;
25
- else if (r >= 55296 && r <= 56319 && e + 1 < n) {
26
- let t = a.charCodeAt(e + 1);
27
- t >= 56320 && t <= 57343 ? (o += 4, e++) : o += 3;
28
- } else o += 3;
18
+ if (typeof Buffer < "u" && typeof Buffer.byteLength == "function") return Buffer.byteLength(r, "utf8");
19
+ let i = 0;
20
+ for (let e = 0, t = r.length; e < t; e++) {
21
+ let n = r.charCodeAt(e);
22
+ if (n < 128) i += 1;
23
+ else if (n < 2048) i += 2;
24
+ else if (n >= 55296 && n <= 56319 && e + 1 < t) {
25
+ let t = r.charCodeAt(e + 1);
26
+ t >= 56320 && t <= 57343 ? (i += 4, e++) : i += 3;
27
+ } else i += 3;
29
28
  }
30
- return o;
29
+ return i;
31
30
  }
32
31
  //#endregion
33
- export { n as default };
32
+ export { e as default };
@@ -1,4 +1,4 @@
1
1
  //#region node_modules/axios/lib/env/data.js
2
- var e = "1.18.0";
2
+ var e = "1.17.0";
3
3
  //#endregion
4
4
  export { e as VERSION };
@@ -9,179 +9,172 @@ import l from "./admins-components131.js";
9
9
  import u from "./admins-components133.js";
10
10
  import { trackStream as d } from "./admins-components134.js";
11
11
  import f from "./admins-components135.js";
12
- import { VERSION as ee } from "./admins-components136.js";
12
+ import { VERSION as p } from "./admins-components136.js";
13
13
  //#region node_modules/axios/lib/adapters/fetch.js
14
- var p = 64 * 1024, { isFunction: m } = e, te = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), h = (t) => {
14
+ var m = 64 * 1024, { isFunction: h } = e, g = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), _ = (t) => {
15
15
  if (!e.isString(t)) return t;
16
16
  try {
17
17
  return decodeURIComponent(t);
18
18
  } catch {
19
19
  return t;
20
20
  }
21
- }, g = (e, ...t) => {
21
+ }, v = (e, ...t) => {
22
22
  try {
23
23
  return !!e(...t);
24
24
  } catch {
25
25
  return !1;
26
26
  }
27
- }, ne = (e) => {
27
+ }, y = (e) => {
28
28
  let t = e.indexOf("://"), n = e;
29
29
  return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
30
- }, _ = (_) => {
31
- let v = e.global !== void 0 && e.global !== null ? e.global : globalThis, { ReadableStream: y, TextEncoder: b } = v;
32
- _ = e.merge.call({ skipUndefined: !0 }, {
33
- Request: v.Request,
34
- Response: v.Response
35
- }, _);
36
- let { fetch: x, Request: S, Response: C } = _, w = x ? m(x) : typeof fetch == "function", T = m(S), E = m(C);
37
- if (!w) return !1;
38
- let D = w && m(y), O = w && (typeof b == "function" ? ((e) => (t) => e.encode(t))(new b()) : async (e) => new Uint8Array(await new S(e).arrayBuffer())), k = T && D && g(() => {
39
- let e = !1, t = new S(i.origin, {
40
- body: new y(),
30
+ }, b = (b) => {
31
+ let x = e.global !== void 0 && e.global !== null ? e.global : globalThis, { ReadableStream: S, TextEncoder: C } = x;
32
+ b = e.merge.call({ skipUndefined: !0 }, {
33
+ Request: x.Request,
34
+ Response: x.Response
35
+ }, b);
36
+ let { fetch: w, Request: T, Response: E } = b, D = w ? h(w) : typeof fetch == "function", O = h(T), k = h(E);
37
+ if (!D) return !1;
38
+ let A = D && h(S), j = D && (typeof C == "function" ? ((e) => (t) => e.encode(t))(new C()) : async (e) => new Uint8Array(await new T(e).arrayBuffer())), M = O && A && v(() => {
39
+ let e = !1, t = new T(i.origin, {
40
+ body: new S(),
41
41
  method: "POST",
42
42
  get duplex() {
43
43
  return e = !0, "half";
44
44
  }
45
45
  }), n = t.headers.has("Content-Type");
46
46
  return t.body != null && t.body.cancel(), e && !n;
47
- }), A = E && D && g(() => e.isReadableStream(new C("").body)), j = { stream: A && ((e) => e.body) };
48
- w && [
47
+ }), N = k && A && v(() => e.isReadableStream(new E("").body)), P = { stream: N && ((e) => e.body) };
48
+ D && [
49
49
  "text",
50
50
  "arrayBuffer",
51
51
  "blob",
52
52
  "formData",
53
53
  "stream"
54
54
  ].forEach((e) => {
55
- !j[e] && (j[e] = (t, n) => {
55
+ !P[e] && (P[e] = (t, n) => {
56
56
  let i = t && t[e];
57
57
  if (i) return i.call(t);
58
58
  throw new r(`Response type '${e}' is not supported`, r.ERR_NOT_SUPPORT, n);
59
59
  });
60
60
  });
61
- let M = async (t) => {
61
+ let F = async (t) => {
62
62
  if (t == null) return 0;
63
63
  if (e.isBlob(t)) return t.size;
64
- if (e.isSpecCompliantForm(t)) return (await new S(i.origin, {
64
+ if (e.isSpecCompliantForm(t)) return (await new T(i.origin, {
65
65
  method: "POST",
66
66
  body: t
67
67
  }).arrayBuffer()).byteLength;
68
68
  if (e.isArrayBufferView(t) || e.isArrayBuffer(t)) return t.byteLength;
69
- if (e.isURLSearchParams(t) && (t += ""), e.isString(t)) return (await O(t)).byteLength;
70
- }, N = async (t, n) => e.toFiniteNumber(t.getContentLength()) ?? M(n);
71
- return async (m) => {
72
- let { url: g, method: _, data: v, signal: y, cancelToken: w, timeout: E, onDownloadProgress: O, onUploadProgress: P, responseType: F, headers: I, withCredentials: L = "same-origin", fetchOptions: R, maxContentLength: z, maxBodyLength: B } = l(m), V = e.isNumber(z) && z > -1, H = e.isNumber(B) && B > -1, re = (t) => e.hasOwnProp(m, t) ? m[t] : void 0, U = x || fetch;
69
+ if (e.isURLSearchParams(t) && (t += ""), e.isString(t)) return (await j(t)).byteLength;
70
+ }, I = async (t, n) => e.toFiniteNumber(t.getContentLength()) ?? F(n);
71
+ return async (h) => {
72
+ let { url: v, method: b, data: x, signal: S, cancelToken: D, timeout: k, onDownloadProgress: A, onUploadProgress: j, responseType: F, headers: L, withCredentials: R = "same-origin", fetchOptions: z, maxContentLength: B, maxBodyLength: V } = l(h), H = e.isNumber(B) && B > -1, U = e.isNumber(V) && V > -1, W = (t) => e.hasOwnProp(h, t) ? h[t] : void 0, G = w || fetch;
73
73
  F = F ? (F + "").toLowerCase() : "text";
74
- let W = u([y, w && w.toAbortSignal()], E), G = null, K = W && W.unsubscribe && (() => {
75
- W.unsubscribe();
76
- }), q, J = null, Y = () => new r("Request body larger than maxBodyLength limit", r.ERR_BAD_REQUEST, m, G);
74
+ let K = u([S, D && D.toAbortSignal()], k), q = null, J = K && K.unsubscribe && (() => {
75
+ K.unsubscribe();
76
+ }), Y;
77
77
  try {
78
- let l, u = re("auth");
78
+ let l, u = W("auth");
79
79
  if (u && (l = {
80
- username: e.getSafeProp(u, "username") || "",
81
- password: e.getSafeProp(u, "password") || ""
82
- }), ne(g)) {
83
- let e = new URL(g, i.origin);
80
+ username: u.username || "",
81
+ password: u.password || ""
82
+ }), y(v)) {
83
+ let e = new URL(v, i.origin);
84
84
  !l && (e.username || e.password) && (l = {
85
- username: h(e.username),
86
- password: h(e.password)
87
- }), (e.username || e.password) && (e.username = "", e.password = "", g = e.href);
85
+ username: _(e.username),
86
+ password: _(e.password)
87
+ }), (e.username || e.password) && (e.username = "", e.password = "", v = e.href);
88
88
  }
89
- if (l && (I.delete("authorization"), I.set("Authorization", "Basic " + btoa(te((l.username || "") + ":" + (l.password || ""))))), V && typeof g == "string" && g.startsWith("data:") && f(g) > z) throw new r("maxContentLength size of " + z + " exceeded", r.ERR_BAD_RESPONSE, m, G);
90
- if (H && _ !== "get" && _ !== "head") {
91
- let e = await M(v);
92
- if (typeof e == "number" && isFinite(e) && (q = e, e > B)) throw Y();
89
+ if (l && (L.delete("authorization"), L.set("Authorization", "Basic " + btoa(g((l.username || "") + ":" + (l.password || ""))))), H && typeof v == "string" && v.startsWith("data:") && f(v) > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
90
+ if (U && b !== "get" && b !== "head") {
91
+ let e = await I(L, x);
92
+ if (typeof e == "number" && isFinite(e) && e > V) throw new r("Request body larger than maxBodyLength limit", r.ERR_BAD_REQUEST, h, q);
93
93
  }
94
- let y = H && (e.isReadableStream(v) || e.isStream(v)), x = (e, t, n) => d(e, p, (e) => {
95
- if (H && e > B) throw J = Y();
96
- t && t(e);
97
- }, n);
98
- if (k && _ !== "get" && _ !== "head" && (P || y)) {
99
- if (q ??= await N(I, v), q !== 0 || y) {
100
- let t = new S(g, {
101
- method: "POST",
102
- body: v,
103
- duplex: "half"
104
- }), n;
105
- if (e.isFormData(v) && (n = t.headers.get("content-type")) && I.setContentType(n), t.body) {
106
- let [e, n] = P && s(q, c(o(P))) || [];
107
- v = x(t.body, e, n);
108
- }
94
+ if (j && M && b !== "get" && b !== "head" && (Y = await I(L, x)) !== 0) {
95
+ let t = new T(v, {
96
+ method: "POST",
97
+ body: x,
98
+ duplex: "half"
99
+ }), n;
100
+ if (e.isFormData(x) && (n = t.headers.get("content-type")) && L.setContentType(n), t.body) {
101
+ let [e, n] = s(Y, c(o(j)));
102
+ x = d(t.body, m, e, n);
109
103
  }
110
- } else if (y && !T && D && _ !== "get" && _ !== "head") v = x(v);
111
- else if (y && T && !k && _ !== "get" && _ !== "head") throw new r("Stream request bodies are not supported by the current fetch implementation", r.ERR_NOT_SUPPORT, m, G);
112
- e.isString(L) || (L = L ? "include" : "omit");
113
- let w = T && "credentials" in S.prototype;
114
- if (e.isFormData(v)) {
115
- let e = I.getContentType();
116
- e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && I.delete("content-type");
117
104
  }
118
- I.set("User-Agent", "axios/" + ee, !1);
119
- let E = {
120
- ...R,
121
- signal: W,
122
- method: _.toUpperCase(),
123
- headers: t(I.normalize()),
124
- body: v,
105
+ e.isString(R) || (R = R ? "include" : "omit");
106
+ let S = O && "credentials" in T.prototype;
107
+ if (e.isFormData(x)) {
108
+ let e = L.getContentType();
109
+ e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && L.delete("content-type");
110
+ }
111
+ L.set("User-Agent", "axios/" + p, !1);
112
+ let w = {
113
+ ...z,
114
+ signal: K,
115
+ method: b.toUpperCase(),
116
+ headers: t(L.normalize()),
117
+ body: x,
125
118
  duplex: "half",
126
- credentials: w ? L : void 0
119
+ credentials: S ? R : void 0
127
120
  };
128
- G = T && new S(g, E);
129
- let X = await (T ? U(G, R) : U(g, E)), Z = n.from(X.headers);
130
- if (V) {
131
- let t = e.toFiniteNumber(Z.getContentLength());
132
- if (t != null && t > z) throw new r("maxContentLength size of " + z + " exceeded", r.ERR_BAD_RESPONSE, m, G);
121
+ q = O && new T(v, w);
122
+ let D = await (O ? G(q, z) : G(v, w));
123
+ if (H) {
124
+ let t = e.toFiniteNumber(D.headers.get("content-length"));
125
+ if (t != null && t > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
133
126
  }
134
- let Q = A && (F === "stream" || F === "response");
135
- if (A && X.body && (O || V || Q && K)) {
127
+ let k = N && (F === "stream" || F === "response");
128
+ if (N && D.body && (A || H || k && J)) {
136
129
  let t = {};
137
130
  [
138
131
  "status",
139
132
  "statusText",
140
133
  "headers"
141
134
  ].forEach((e) => {
142
- t[e] = X[e];
135
+ t[e] = D[e];
143
136
  });
144
- let n = e.toFiniteNumber(Z.getContentLength()), [i, a] = O && s(n, c(o(O), !0)) || [], l = 0;
145
- X = new C(d(X.body, p, (e) => {
146
- if (V && (l = e, l > z)) throw new r("maxContentLength size of " + z + " exceeded", r.ERR_BAD_RESPONSE, m, G);
137
+ let n = e.toFiniteNumber(D.headers.get("content-length")), [i, a] = A && s(n, c(o(A), !0)) || [], l = 0;
138
+ D = new E(d(D.body, m, (e) => {
139
+ if (H && (l = e, l > B)) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
147
140
  i && i(e);
148
141
  }, () => {
149
- a && a(), K && K();
142
+ a && a(), J && J();
150
143
  }), t);
151
144
  }
152
145
  F ||= "text";
153
- let $ = await j[e.findKey(j, F) || "text"](X, m);
154
- if (V && !A && !Q) {
146
+ let X = await P[e.findKey(P, F) || "text"](D, h);
147
+ if (H && !N && !k) {
155
148
  let e;
156
- if ($ != null && (typeof $.byteLength == "number" ? e = $.byteLength : typeof $.size == "number" ? e = $.size : typeof $ == "string" && (e = typeof b == "function" ? new b().encode($).byteLength : $.length)), typeof e == "number" && e > z) throw new r("maxContentLength size of " + z + " exceeded", r.ERR_BAD_RESPONSE, m, G);
149
+ if (X != null && (typeof X.byteLength == "number" ? e = X.byteLength : typeof X.size == "number" ? e = X.size : typeof X == "string" && (e = typeof C == "function" ? new C().encode(X).byteLength : X.length)), typeof e == "number" && e > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
157
150
  }
158
- return !Q && K && K(), await new Promise((e, t) => {
151
+ return !k && J && J(), await new Promise((e, t) => {
159
152
  a(e, t, {
160
- data: $,
161
- headers: n.from(X.headers),
162
- status: X.status,
163
- statusText: X.statusText,
164
- config: m,
165
- request: G
153
+ data: X,
154
+ headers: n.from(D.headers),
155
+ status: D.status,
156
+ statusText: D.statusText,
157
+ config: h,
158
+ request: q
166
159
  });
167
160
  });
168
161
  } catch (e) {
169
- if (K && K(), W && W.aborted && W.reason instanceof r) {
170
- let t = W.reason;
171
- throw t.config = m, G && (t.request = G), e !== t && (t.cause = e), t;
162
+ if (J && J(), K && K.aborted && K.reason instanceof r) {
163
+ let t = K.reason;
164
+ throw t.config = h, q && (t.request = q), e !== t && (t.cause = e), t;
172
165
  }
173
- throw J ? (G && !J.request && (J.request = G), J) : e instanceof r ? (G && !e.request && (e.request = G), e) : e && e.name === "TypeError" && /Load failed|fetch/i.test(e.message) ? Object.assign(new r("Network Error", r.ERR_NETWORK, m, G, e && e.response), { cause: e.cause || e }) : r.from(e, e && e.code, m, G, e && e.response);
166
+ throw e && e.name === "TypeError" && /Load failed|fetch/i.test(e.message) ? Object.assign(new r("Network Error", r.ERR_NETWORK, h, q, e && e.response), { cause: e.cause || e }) : r.from(e, e && e.code, h, q, e && e.response);
174
167
  }
175
168
  };
176
- }, v = /* @__PURE__ */ new Map(), y = (e) => {
169
+ }, x = /* @__PURE__ */ new Map(), S = (e) => {
177
170
  let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
178
171
  r,
179
172
  i,
180
173
  n
181
- ], o = a.length, s, c, l = v;
182
- for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : _(t)), l = c;
174
+ ], o = a.length, s, c, l = x;
175
+ for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : b(t)), l = c;
183
176
  return c;
184
177
  };
185
- y();
178
+ S();
186
179
  //#endregion
187
- export { y as getFetch };
180
+ export { S as getFetch };