kouxiangtang 0.0.49 → 0.0.50

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 (50) hide show
  1. package/dist/{AttachmentUploader-DCyshkG0.js → AttachmentUploader-bnTgwgv_.js} +2 -2
  2. package/dist/{AttachmentUploader-DCyshkG0.js.map → AttachmentUploader-bnTgwgv_.js.map} +1 -1
  3. package/dist/{ImageUploader-B1_mID5R.js → ImageUploader-C029MiCz.js} +2 -2
  4. package/dist/{ImageUploader-B1_mID5R.js.map → ImageUploader-C029MiCz.js.map} +1 -1
  5. package/dist/{ImagesUploader-D-XPUBP2.js → ImagesUploader-D9Ri5csG.js} +2 -2
  6. package/dist/{ImagesUploader-D-XPUBP2.js.map → ImagesUploader-D9Ri5csG.js.map} +1 -1
  7. package/dist/{RichTextEditor-B_0MIOKx.js → RichTextEditor-DwyNQ7Sh.js} +2 -2
  8. package/dist/{RichTextEditor-B_0MIOKx.js.map → RichTextEditor-DwyNQ7Sh.js.map} +1 -1
  9. package/dist/config-B53z91c0.js +127 -0
  10. package/dist/config-B53z91c0.js.map +1 -0
  11. package/dist/{config-CRAIqQDi.js → config-BobKUGsG.js} +3 -3
  12. package/dist/{config-CRAIqQDi.js.map → config-BobKUGsG.js.map} +1 -1
  13. package/dist/{config-BRxoZQ52.js → config-C2vkVFNt.js} +3 -3
  14. package/dist/{config-BRxoZQ52.js.map → config-C2vkVFNt.js.map} +1 -1
  15. package/dist/{config-BW9jvuW5.js → config-C3ewZSP1.js} +3 -3
  16. package/dist/{config-BW9jvuW5.js.map → config-C3ewZSP1.js.map} +1 -1
  17. package/dist/{config-Dyr3ggPP.js → config-C7r_o6mY.js} +2 -2
  18. package/dist/{config-Dyr3ggPP.js.map → config-C7r_o6mY.js.map} +1 -1
  19. package/dist/{config-BLvYyM3T.js → config-CNM-QOxS.js} +2 -2
  20. package/dist/{config-BLvYyM3T.js.map → config-CNM-QOxS.js.map} +1 -1
  21. package/dist/{config-BCAUAyF7.js → config-CPdeBfXV.js} +2 -2
  22. package/dist/{config-BCAUAyF7.js.map → config-CPdeBfXV.js.map} +1 -1
  23. package/dist/{config-B7lceYyH.js → config-CaIx2wa4.js} +2 -2
  24. package/dist/{config-B7lceYyH.js.map → config-CaIx2wa4.js.map} +1 -1
  25. package/dist/{config-DW9zXh7I.js → config-CjHWCwrm.js} +2 -2
  26. package/dist/{config-DW9zXh7I.js.map → config-CjHWCwrm.js.map} +1 -1
  27. package/dist/{config-JvrjLObh.js → config-CuCJuKh9.js} +2 -2
  28. package/dist/{config-JvrjLObh.js.map → config-CuCJuKh9.js.map} +1 -1
  29. package/dist/{config-CNtiXWZ8.js → config-D6B5XcOD.js} +2 -2
  30. package/dist/{config-CNtiXWZ8.js.map → config-D6B5XcOD.js.map} +1 -1
  31. package/dist/{config-CAot7p98.js → config-DlgSGaAR.js} +2 -2
  32. package/dist/{config-CAot7p98.js.map → config-DlgSGaAR.js.map} +1 -1
  33. package/dist/{config-D43m9_jf.js → config-Donqer1q.js} +2 -2
  34. package/dist/{config-D43m9_jf.js.map → config-Donqer1q.js.map} +1 -1
  35. package/dist/{config-BbKfNDqe.js → config-DozbFU_7.js} +2 -2
  36. package/dist/{config-BbKfNDqe.js.map → config-DozbFU_7.js.map} +1 -1
  37. package/dist/{config-B_RLj9Hv.js → config-DwlTX0R_.js} +2 -2
  38. package/dist/{config-B_RLj9Hv.js.map → config-DwlTX0R_.js.map} +1 -1
  39. package/dist/{config-D_6sEq9t.js → config-nhizx3am.js} +38 -38
  40. package/dist/config-nhizx3am.js.map +1 -0
  41. package/dist/{index-VhXXlvT7.js → index-Dk2QM4KE.js} +855 -845
  42. package/dist/{index-VhXXlvT7.js.map → index-Dk2QM4KE.js.map} +1 -1
  43. package/dist/kouxiangtang.js +1 -1
  44. package/dist/kouxiangtang.umd.cjs +8 -8
  45. package/dist/kouxiangtang.umd.cjs.map +1 -1
  46. package/dist/style.css +1 -1
  47. package/package.json +1 -1
  48. package/dist/config-C5JzH89W.js +0 -127
  49. package/dist/config-C5JzH89W.js.map +0 -1
  50. package/dist/config-D_6sEq9t.js.map +0 -1
@@ -1,34 +1,34 @@
1
- import { openBlock as c, createBlock as E, unref as f, createSlots as Ce, withCtx as w, renderSlot as J, createElementVNode as C, toDisplayString as F, resolveComponent as He, withDirectives as he, createElementBlock as $, normalizeStyle as Ge, createVNode as O, createTextVNode as B, computed as N, Fragment as L, renderList as M, ref as A, reactive as $e, watch as P, resolveDynamicComponent as K, createCommentVNode as T, shallowRef as Q, defineAsyncComponent as Jn, normalizeClass as Se, defineComponent as H, pushScopeId as rn, popScopeId as an, withModifiers as xt, useSlots as Ae, onMounted as ln, normalizeProps as kt, guardReactiveProps as Ct, getCurrentScope as Qn, onScopeDispose as Gn, getCurrentInstance as Yn, nextTick as Kn, useCssVars as Xn } from "vue";
2
- import { ElCard as un, ElLink as Zn, vLoading as ge, ElRow as Oe, ElCol as we, ElForm as cn, ElFormItem as nt, ElAlert as es, ElButton as te, ElMessageBox as ts, ElMessage as Ne, ElDialog as ns, ElLoading as Pe, ElTooltip as ss, ElText as At, ElImage as dn, ElTabs as pn, ElTabPane as fn, ElDropdown as st, ElDropdownMenu as ot, ElDropdownItem as ue, ElIcon as G, ElSubMenu as os, ElMenuItem as rs, ElScrollbar as as, ElMenu as is, ElConfigProvider as ls, ElContainer as Rt, ElHeader as us, ElAside as cs, ElMain as ds, ElInputNumber as Dt, ElSelect as Tt, ElOption as Ye, ElSelectV2 as ps, ElDatePicker as Ft, ElInput as fs, ElButtonGroup as de, ElEmpty as ms, ElTable as hs, ElTableColumn as Le, ElPagination as gs, ElCollapse as _s, ElCollapseItem as ys } from "element-plus";
3
- import { useRoute as z, useRouter as _e } from "vue-router";
1
+ import { openBlock as c, createBlock as E, unref as f, createSlots as Ce, withCtx as w, renderSlot as W, createElementVNode as C, toDisplayString as F, resolveComponent as He, withDirectives as he, createElementBlock as $, normalizeStyle as Ge, createVNode as O, createTextVNode as B, computed as N, Fragment as L, renderList as H, ref as A, reactive as $e, watch as P, resolveDynamicComponent as K, createCommentVNode as T, shallowRef as J, defineAsyncComponent as Gn, normalizeClass as Se, defineComponent as q, pushScopeId as ln, popScopeId as un, withModifiers as Ct, useSlots as Ae, onMounted as cn, normalizeProps as At, guardReactiveProps as Rt, getCurrentScope as Yn, onScopeDispose as Kn, getCurrentInstance as Xn, nextTick as Zn, useCssVars as es } from "vue";
2
+ import { ElCard as dn, ElLink as ts, vLoading as ge, ElRow as Oe, ElCol as we, ElForm as pn, ElFormItem as nt, ElAlert as ns, ElButton as te, ElMessageBox as ss, ElMessage as Ne, ElDialog as os, ElLoading as Pe, ElTooltip as rs, ElText as Dt, ElImage as fn, ElTabs as mn, ElTabPane as hn, ElDropdown as st, ElDropdownMenu as ot, ElDropdownItem as ue, ElIcon as Q, ElSubMenu as as, ElMenuItem as is, ElScrollbar as ls, ElMenu as us, ElConfigProvider as cs, ElContainer as Tt, ElHeader as ds, ElAside as ps, ElMain as fs, ElInputNumber as Ft, ElSelect as Lt, ElOption as Ye, ElSelectV2 as ms, ElDatePicker as Pt, ElInput as hs, ElButtonGroup as de, ElEmpty as gs, ElTable as _s, ElTableColumn as Le, ElPagination as ys, ElCollapse as vs, ElCollapseItem as bs } from "element-plus";
3
+ import { useRoute as M, useRouter as _e } from "vue-router";
4
4
  import { defineStore as mt, storeToRefs as pe } from "pinia";
5
- function mn(t, e) {
5
+ function gn(t, e) {
6
6
  return function() {
7
7
  return t.apply(e, arguments);
8
8
  };
9
9
  }
10
- const { toString: vs } = Object.prototype, { getPrototypeOf: ht } = Object, qe = /* @__PURE__ */ ((t) => (e) => {
11
- const n = vs.call(e);
10
+ const { toString: ws } = Object.prototype, { getPrototypeOf: ht } = Object, qe = /* @__PURE__ */ ((t) => (e) => {
11
+ const n = ws.call(e);
12
12
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
13
13
  })(/* @__PURE__ */ Object.create(null)), se = (t) => (t = t.toLowerCase(), (e) => qe(e) === t), We = (t) => (e) => typeof e === t, { isArray: ye } = Array, xe = We("undefined");
14
- function bs(t) {
14
+ function Es(t) {
15
15
  return t !== null && !xe(t) && t.constructor !== null && !xe(t.constructor) && X(t.constructor.isBuffer) && t.constructor.isBuffer(t);
16
16
  }
17
- const hn = se("ArrayBuffer");
18
- function ws(t) {
17
+ const _n = se("ArrayBuffer");
18
+ function $s(t) {
19
19
  let e;
20
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && hn(t.buffer), e;
20
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && _n(t.buffer), e;
21
21
  }
22
- const Es = We("string"), X = We("function"), gn = We("number"), Je = (t) => t !== null && typeof t == "object", $s = (t) => t === !0 || t === !1, je = (t) => {
22
+ const Ss = We("string"), X = We("function"), yn = We("number"), Je = (t) => t !== null && typeof t == "object", Os = (t) => t === !0 || t === !1, je = (t) => {
23
23
  if (qe(t) !== "object")
24
24
  return !1;
25
25
  const e = ht(t);
26
26
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
27
- }, Ss = se("Date"), Os = se("File"), xs = se("Blob"), ks = se("FileList"), Cs = (t) => Je(t) && X(t.pipe), As = (t) => {
27
+ }, xs = se("Date"), ks = se("File"), Cs = se("Blob"), As = se("FileList"), Rs = (t) => Je(t) && X(t.pipe), Ds = (t) => {
28
28
  let e;
29
29
  return t && (typeof FormData == "function" && t instanceof FormData || X(t.append) && ((e = qe(t)) === "formdata" || // detect form-data instance
30
30
  e === "object" && X(t.toString) && t.toString() === "[object FormData]"));
31
- }, Rs = se("URLSearchParams"), Ds = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
31
+ }, Ts = se("URLSearchParams"), Fs = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
32
32
  function Re(t, e, { allOwnKeys: n = !1 } = {}) {
33
33
  if (t === null || typeof t > "u")
34
34
  return;
@@ -43,7 +43,7 @@ function Re(t, e, { allOwnKeys: n = !1 } = {}) {
43
43
  i = r[s], e.call(null, t[i], i, t);
44
44
  }
45
45
  }
46
- function _n(t, e) {
46
+ function vn(t, e) {
47
47
  e = e.toLowerCase();
48
48
  const n = Object.keys(t);
49
49
  let s = n.length, o;
@@ -52,23 +52,23 @@ function _n(t, e) {
52
52
  return o;
53
53
  return null;
54
54
  }
55
- const yn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, vn = (t) => !xe(t) && t !== yn;
55
+ const bn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, wn = (t) => !xe(t) && t !== bn;
56
56
  function rt() {
57
- const { caseless: t } = vn(this) && this || {}, e = {}, n = (s, o) => {
58
- const r = t && _n(e, o) || o;
57
+ const { caseless: t } = wn(this) && this || {}, e = {}, n = (s, o) => {
58
+ const r = t && vn(e, o) || o;
59
59
  je(e[r]) && je(s) ? e[r] = rt(e[r], s) : je(s) ? e[r] = rt({}, s) : ye(s) ? e[r] = s.slice() : e[r] = s;
60
60
  };
61
61
  for (let s = 0, o = arguments.length; s < o; s++)
62
62
  arguments[s] && Re(arguments[s], n);
63
63
  return e;
64
64
  }
65
- const Ts = (t, e, n, { allOwnKeys: s } = {}) => (Re(e, (o, r) => {
66
- n && X(o) ? t[r] = mn(o, n) : t[r] = o;
67
- }, { allOwnKeys: s }), t), Fs = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ls = (t, e, n, s) => {
65
+ const Ls = (t, e, n, { allOwnKeys: s } = {}) => (Re(e, (o, r) => {
66
+ n && X(o) ? t[r] = gn(o, n) : t[r] = o;
67
+ }, { allOwnKeys: s }), t), Ps = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), js = (t, e, n, s) => {
68
68
  t.prototype = Object.create(e.prototype, s), t.prototype.constructor = t, Object.defineProperty(t, "super", {
69
69
  value: e.prototype
70
70
  }), n && Object.assign(t.prototype, n);
71
- }, Ps = (t, e, n, s) => {
71
+ }, Bs = (t, e, n, s) => {
72
72
  let o, r, a;
73
73
  const i = {};
74
74
  if (e = e || {}, t == null)
@@ -79,48 +79,48 @@ const Ts = (t, e, n, { allOwnKeys: s } = {}) => (Re(e, (o, r) => {
79
79
  t = n !== !1 && ht(t);
80
80
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
81
81
  return e;
82
- }, js = (t, e, n) => {
82
+ }, Ns = (t, e, n) => {
83
83
  t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
84
84
  const s = t.indexOf(e, n);
85
85
  return s !== -1 && s === n;
86
- }, Bs = (t) => {
86
+ }, Is = (t) => {
87
87
  if (!t)
88
88
  return null;
89
89
  if (ye(t))
90
90
  return t;
91
91
  let e = t.length;
92
- if (!gn(e))
92
+ if (!yn(e))
93
93
  return null;
94
94
  const n = new Array(e);
95
95
  for (; e-- > 0; )
96
96
  n[e] = t[e];
97
97
  return n;
98
- }, Ns = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && ht(Uint8Array)), Is = (t, e) => {
98
+ }, Vs = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && ht(Uint8Array)), Us = (t, e) => {
99
99
  const s = (t && t[Symbol.iterator]).call(t);
100
100
  let o;
101
101
  for (; (o = s.next()) && !o.done; ) {
102
102
  const r = o.value;
103
103
  e.call(t, r[0], r[1]);
104
104
  }
105
- }, Vs = (t, e) => {
105
+ }, zs = (t, e) => {
106
106
  let n;
107
107
  const s = [];
108
108
  for (; (n = t.exec(e)) !== null; )
109
109
  s.push(n);
110
110
  return s;
111
- }, Us = se("HTMLFormElement"), zs = (t) => t.toLowerCase().replace(
111
+ }, Ms = se("HTMLFormElement"), Hs = (t) => t.toLowerCase().replace(
112
112
  /[-_\s]([a-z\d])(\w*)/g,
113
113
  function(n, s, o) {
114
114
  return s.toUpperCase() + o;
115
115
  }
116
- ), Lt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Ms = se("RegExp"), bn = (t, e) => {
116
+ ), jt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), qs = se("RegExp"), En = (t, e) => {
117
117
  const n = Object.getOwnPropertyDescriptors(t), s = {};
118
118
  Re(n, (o, r) => {
119
119
  let a;
120
120
  (a = e(o, r, t)) !== !1 && (s[r] = a || o);
121
121
  }), Object.defineProperties(t, s);
122
- }, Hs = (t) => {
123
- bn(t, (e, n) => {
122
+ }, Ws = (t) => {
123
+ En(t, (e, n) => {
124
124
  if (X(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
125
125
  return !1;
126
126
  const s = t[n];
@@ -134,29 +134,29 @@ const Ts = (t, e, n, { allOwnKeys: s } = {}) => (Re(e, (o, r) => {
134
134
  });
135
135
  }
136
136
  });
137
- }, qs = (t, e) => {
137
+ }, Js = (t, e) => {
138
138
  const n = {}, s = (o) => {
139
139
  o.forEach((r) => {
140
140
  n[r] = !0;
141
141
  });
142
142
  };
143
143
  return ye(t) ? s(t) : s(String(t).split(e)), n;
144
- }, Ws = () => {
145
- }, Js = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Ke = "abcdefghijklmnopqrstuvwxyz", Pt = "0123456789", wn = {
146
- DIGIT: Pt,
144
+ }, Qs = () => {
145
+ }, Gs = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Ke = "abcdefghijklmnopqrstuvwxyz", Bt = "0123456789", $n = {
146
+ DIGIT: Bt,
147
147
  ALPHA: Ke,
148
- ALPHA_DIGIT: Ke + Ke.toUpperCase() + Pt
149
- }, Qs = (t = 16, e = wn.ALPHA_DIGIT) => {
148
+ ALPHA_DIGIT: Ke + Ke.toUpperCase() + Bt
149
+ }, Ys = (t = 16, e = $n.ALPHA_DIGIT) => {
150
150
  let n = "";
151
151
  const { length: s } = e;
152
152
  for (; t--; )
153
153
  n += e[Math.random() * s | 0];
154
154
  return n;
155
155
  };
156
- function Gs(t) {
156
+ function Ks(t) {
157
157
  return !!(t && X(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
158
158
  }
159
- const Ys = (t) => {
159
+ const Xs = (t) => {
160
160
  const e = new Array(10), n = (s, o) => {
161
161
  if (Je(s)) {
162
162
  if (e.indexOf(s) >= 0)
@@ -173,59 +173,59 @@ const Ys = (t) => {
173
173
  return s;
174
174
  };
175
175
  return n(t, 0);
176
- }, Ks = se("AsyncFunction"), Xs = (t) => t && (Je(t) || X(t)) && X(t.then) && X(t.catch), v = {
176
+ }, Zs = se("AsyncFunction"), eo = (t) => t && (Je(t) || X(t)) && X(t.then) && X(t.catch), v = {
177
177
  isArray: ye,
178
- isArrayBuffer: hn,
179
- isBuffer: bs,
180
- isFormData: As,
181
- isArrayBufferView: ws,
182
- isString: Es,
183
- isNumber: gn,
184
- isBoolean: $s,
178
+ isArrayBuffer: _n,
179
+ isBuffer: Es,
180
+ isFormData: Ds,
181
+ isArrayBufferView: $s,
182
+ isString: Ss,
183
+ isNumber: yn,
184
+ isBoolean: Os,
185
185
  isObject: Je,
186
186
  isPlainObject: je,
187
187
  isUndefined: xe,
188
- isDate: Ss,
189
- isFile: Os,
190
- isBlob: xs,
191
- isRegExp: Ms,
188
+ isDate: xs,
189
+ isFile: ks,
190
+ isBlob: Cs,
191
+ isRegExp: qs,
192
192
  isFunction: X,
193
- isStream: Cs,
194
- isURLSearchParams: Rs,
195
- isTypedArray: Ns,
196
- isFileList: ks,
193
+ isStream: Rs,
194
+ isURLSearchParams: Ts,
195
+ isTypedArray: Vs,
196
+ isFileList: As,
197
197
  forEach: Re,
198
198
  merge: rt,
199
- extend: Ts,
200
- trim: Ds,
201
- stripBOM: Fs,
202
- inherits: Ls,
203
- toFlatObject: Ps,
199
+ extend: Ls,
200
+ trim: Fs,
201
+ stripBOM: Ps,
202
+ inherits: js,
203
+ toFlatObject: Bs,
204
204
  kindOf: qe,
205
205
  kindOfTest: se,
206
- endsWith: js,
207
- toArray: Bs,
208
- forEachEntry: Is,
209
- matchAll: Vs,
210
- isHTMLForm: Us,
211
- hasOwnProperty: Lt,
212
- hasOwnProp: Lt,
206
+ endsWith: Ns,
207
+ toArray: Is,
208
+ forEachEntry: Us,
209
+ matchAll: zs,
210
+ isHTMLForm: Ms,
211
+ hasOwnProperty: jt,
212
+ hasOwnProp: jt,
213
213
  // an alias to avoid ESLint no-prototype-builtins detection
214
- reduceDescriptors: bn,
215
- freezeMethods: Hs,
216
- toObjectSet: qs,
217
- toCamelCase: zs,
218
- noop: Ws,
219
- toFiniteNumber: Js,
220
- findKey: _n,
221
- global: yn,
222
- isContextDefined: vn,
223
- ALPHABET: wn,
224
- generateString: Qs,
225
- isSpecCompliantForm: Gs,
226
- toJSONObject: Ys,
227
- isAsyncFn: Ks,
228
- isThenable: Xs
214
+ reduceDescriptors: En,
215
+ freezeMethods: Ws,
216
+ toObjectSet: Js,
217
+ toCamelCase: Hs,
218
+ noop: Qs,
219
+ toFiniteNumber: Gs,
220
+ findKey: vn,
221
+ global: bn,
222
+ isContextDefined: wn,
223
+ ALPHABET: $n,
224
+ generateString: Ys,
225
+ isSpecCompliantForm: Ks,
226
+ toJSONObject: Xs,
227
+ isAsyncFn: Zs,
228
+ isThenable: eo
229
229
  };
230
230
  function R(t, e, n, s, o) {
231
231
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), s && (this.request = s), o && (this.response = o);
@@ -251,7 +251,7 @@ v.inherits(R, Error, {
251
251
  };
252
252
  }
253
253
  });
254
- const En = R.prototype, $n = {};
254
+ const Sn = R.prototype, On = {};
255
255
  [
256
256
  "ERR_BAD_OPTION_VALUE",
257
257
  "ERR_BAD_OPTION",
@@ -267,32 +267,32 @@ const En = R.prototype, $n = {};
267
267
  "ERR_INVALID_URL"
268
268
  // eslint-disable-next-line func-names
269
269
  ].forEach((t) => {
270
- $n[t] = { value: t };
270
+ On[t] = { value: t };
271
271
  });
272
- Object.defineProperties(R, $n);
273
- Object.defineProperty(En, "isAxiosError", { value: !0 });
272
+ Object.defineProperties(R, On);
273
+ Object.defineProperty(Sn, "isAxiosError", { value: !0 });
274
274
  R.from = (t, e, n, s, o, r) => {
275
- const a = Object.create(En);
275
+ const a = Object.create(Sn);
276
276
  return v.toFlatObject(t, a, function(u) {
277
277
  return u !== Error.prototype;
278
278
  }, (i) => i !== "isAxiosError"), R.call(a, t.message, e, n, s, o), a.cause = t, a.name = t.name, r && Object.assign(a, r), a;
279
279
  };
280
- const Zs = null;
280
+ const to = null;
281
281
  function at(t) {
282
282
  return v.isPlainObject(t) || v.isArray(t);
283
283
  }
284
- function Sn(t) {
284
+ function xn(t) {
285
285
  return v.endsWith(t, "[]") ? t.slice(0, -2) : t;
286
286
  }
287
- function jt(t, e, n) {
287
+ function Nt(t, e, n) {
288
288
  return t ? t.concat(e).map(function(o, r) {
289
- return o = Sn(o), !n && r ? "[" + o + "]" : o;
289
+ return o = xn(o), !n && r ? "[" + o + "]" : o;
290
290
  }).join(n ? "." : "") : e;
291
291
  }
292
- function eo(t) {
292
+ function no(t) {
293
293
  return v.isArray(t) && !t.some(at);
294
294
  }
295
- const to = v.toFlatObject(v, {}, null, function(e) {
295
+ const so = v.toFlatObject(v, {}, null, function(e) {
296
296
  return /^is[A-Z]/.test(e);
297
297
  });
298
298
  function Qe(t, e, n) {
@@ -318,22 +318,22 @@ function Qe(t, e, n) {
318
318
  return v.isArrayBuffer(m) || v.isTypedArray(m) ? u && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
319
319
  }
320
320
  function d(m, l, _) {
321
- let g = m;
321
+ let y = m;
322
322
  if (m && !_ && typeof m == "object") {
323
323
  if (v.endsWith(l, "{}"))
324
324
  l = s ? l : l.slice(0, -2), m = JSON.stringify(m);
325
- else if (v.isArray(m) && eo(m) || (v.isFileList(m) || v.endsWith(l, "[]")) && (g = v.toArray(m)))
326
- return l = Sn(l), g.forEach(function(b, k) {
325
+ else if (v.isArray(m) && no(m) || (v.isFileList(m) || v.endsWith(l, "[]")) && (y = v.toArray(m)))
326
+ return l = xn(l), y.forEach(function(b, k) {
327
327
  !(v.isUndefined(b) || b === null) && e.append(
328
328
  // eslint-disable-next-line no-nested-ternary
329
- a === !0 ? jt([l], k, r) : a === null ? l : l + "[]",
329
+ a === !0 ? Nt([l], k, r) : a === null ? l : l + "[]",
330
330
  h(b)
331
331
  );
332
332
  }), !1;
333
333
  }
334
- return at(m) ? !0 : (e.append(jt(_, l, r), h(m)), !1);
334
+ return at(m) ? !0 : (e.append(Nt(_, l, r), h(m)), !1);
335
335
  }
336
- const p = [], S = Object.assign(to, {
336
+ const p = [], S = Object.assign(so, {
337
337
  defaultVisitor: d,
338
338
  convertValue: h,
339
339
  isVisitable: at
@@ -342,14 +342,14 @@ function Qe(t, e, n) {
342
342
  if (!v.isUndefined(m)) {
343
343
  if (p.indexOf(m) !== -1)
344
344
  throw Error("Circular reference detected in " + l.join("."));
345
- p.push(m), v.forEach(m, function(g, y) {
346
- (!(v.isUndefined(g) || g === null) && o.call(
345
+ p.push(m), v.forEach(m, function(y, g) {
346
+ (!(v.isUndefined(y) || y === null) && o.call(
347
347
  e,
348
- g,
349
- v.isString(y) ? y.trim() : y,
348
+ y,
349
+ v.isString(g) ? g.trim() : g,
350
350
  l,
351
351
  S
352
- )) === !0 && x(g, l ? l.concat(y) : [y]);
352
+ )) === !0 && x(y, l ? l.concat(g) : [g]);
353
353
  }), p.pop();
354
354
  }
355
355
  }
@@ -357,7 +357,7 @@ function Qe(t, e, n) {
357
357
  throw new TypeError("data must be an object");
358
358
  return x(t), e;
359
359
  }
360
- function Bt(t) {
360
+ function It(t) {
361
361
  const e = {
362
362
  "!": "%21",
363
363
  "'": "%27",
@@ -374,25 +374,25 @@ function Bt(t) {
374
374
  function gt(t, e) {
375
375
  this._pairs = [], t && Qe(t, this, e);
376
376
  }
377
- const On = gt.prototype;
378
- On.append = function(e, n) {
377
+ const kn = gt.prototype;
378
+ kn.append = function(e, n) {
379
379
  this._pairs.push([e, n]);
380
380
  };
381
- On.toString = function(e) {
381
+ kn.toString = function(e) {
382
382
  const n = e ? function(s) {
383
- return e.call(this, s, Bt);
384
- } : Bt;
383
+ return e.call(this, s, It);
384
+ } : It;
385
385
  return this._pairs.map(function(o) {
386
386
  return n(o[0]) + "=" + n(o[1]);
387
387
  }, "").join("&");
388
388
  };
389
- function no(t) {
389
+ function oo(t) {
390
390
  return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
391
391
  }
392
- function xn(t, e, n) {
392
+ function Cn(t, e, n) {
393
393
  if (!e)
394
394
  return t;
395
- const s = n && n.encode || no, o = n && n.serialize;
395
+ const s = n && n.encode || oo, o = n && n.serialize;
396
396
  let r;
397
397
  if (o ? r = o(e, n) : r = v.isURLSearchParams(e) ? e.toString() : new gt(e, n).toString(s), r) {
398
398
  const a = t.indexOf("#");
@@ -400,7 +400,7 @@ function xn(t, e, n) {
400
400
  }
401
401
  return t;
402
402
  }
403
- class Nt {
403
+ class Vt {
404
404
  constructor() {
405
405
  this.handlers = [];
406
406
  }
@@ -454,39 +454,39 @@ class Nt {
454
454
  });
455
455
  }
456
456
  }
457
- const kn = {
457
+ const An = {
458
458
  silentJSONParsing: !0,
459
459
  forcedJSONParsing: !0,
460
460
  clarifyTimeoutError: !1
461
- }, so = typeof URLSearchParams < "u" ? URLSearchParams : gt, oo = typeof FormData < "u" ? FormData : null, ro = typeof Blob < "u" ? Blob : null, ao = {
461
+ }, ro = typeof URLSearchParams < "u" ? URLSearchParams : gt, ao = typeof FormData < "u" ? FormData : null, io = typeof Blob < "u" ? Blob : null, lo = {
462
462
  isBrowser: !0,
463
463
  classes: {
464
- URLSearchParams: so,
465
- FormData: oo,
466
- Blob: ro
464
+ URLSearchParams: ro,
465
+ FormData: ao,
466
+ Blob: io
467
467
  },
468
468
  protocols: ["http", "https", "file", "blob", "url", "data"]
469
- }, Cn = typeof window < "u" && typeof document < "u", io = ((t) => Cn && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), lo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
470
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
469
+ }, Rn = typeof window < "u" && typeof document < "u", uo = ((t) => Rn && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), co = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
470
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
471
471
  __proto__: null,
472
- hasBrowserEnv: Cn,
473
- hasStandardBrowserEnv: io,
474
- hasStandardBrowserWebWorkerEnv: lo
472
+ hasBrowserEnv: Rn,
473
+ hasStandardBrowserEnv: uo,
474
+ hasStandardBrowserWebWorkerEnv: co
475
475
  }, Symbol.toStringTag, { value: "Module" })), ne = {
476
- ...uo,
477
- ...ao
476
+ ...po,
477
+ ...lo
478
478
  };
479
- function co(t, e) {
479
+ function fo(t, e) {
480
480
  return Qe(t, new ne.classes.URLSearchParams(), Object.assign({
481
481
  visitor: function(n, s, o, r) {
482
482
  return ne.isNode && v.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
483
483
  }
484
484
  }, e));
485
485
  }
486
- function po(t) {
486
+ function mo(t) {
487
487
  return v.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
488
488
  }
489
- function fo(t) {
489
+ function ho(t) {
490
490
  const e = {}, n = Object.keys(t);
491
491
  let s;
492
492
  const o = n.length;
@@ -495,23 +495,23 @@ function fo(t) {
495
495
  r = n[s], e[r] = t[r];
496
496
  return e;
497
497
  }
498
- function An(t) {
498
+ function Dn(t) {
499
499
  function e(n, s, o, r) {
500
500
  let a = n[r++];
501
501
  if (a === "__proto__")
502
502
  return !0;
503
503
  const i = Number.isFinite(+a), u = r >= n.length;
504
- return a = !a && v.isArray(o) ? o.length : a, u ? (v.hasOwnProp(o, a) ? o[a] = [o[a], s] : o[a] = s, !i) : ((!o[a] || !v.isObject(o[a])) && (o[a] = []), e(n, s, o[a], r) && v.isArray(o[a]) && (o[a] = fo(o[a])), !i);
504
+ return a = !a && v.isArray(o) ? o.length : a, u ? (v.hasOwnProp(o, a) ? o[a] = [o[a], s] : o[a] = s, !i) : ((!o[a] || !v.isObject(o[a])) && (o[a] = []), e(n, s, o[a], r) && v.isArray(o[a]) && (o[a] = ho(o[a])), !i);
505
505
  }
506
506
  if (v.isFormData(t) && v.isFunction(t.entries)) {
507
507
  const n = {};
508
508
  return v.forEachEntry(t, (s, o) => {
509
- e(po(s), o, n, 0);
509
+ e(mo(s), o, n, 0);
510
510
  }), n;
511
511
  }
512
512
  return null;
513
513
  }
514
- function mo(t, e, n) {
514
+ function go(t, e, n) {
515
515
  if (v.isString(t))
516
516
  try {
517
517
  return (e || JSON.parse)(t), v.trim(t);
@@ -522,12 +522,12 @@ function mo(t, e, n) {
522
522
  return (n || JSON.stringify)(t);
523
523
  }
524
524
  const De = {
525
- transitional: kn,
525
+ transitional: An,
526
526
  adapter: ["xhr", "http"],
527
527
  transformRequest: [function(e, n) {
528
528
  const s = n.getContentType() || "", o = s.indexOf("application/json") > -1, r = v.isObject(e);
529
529
  if (r && v.isHTMLForm(e) && (e = new FormData(e)), v.isFormData(e))
530
- return o ? JSON.stringify(An(e)) : e;
530
+ return o ? JSON.stringify(Dn(e)) : e;
531
531
  if (v.isArrayBuffer(e) || v.isBuffer(e) || v.isStream(e) || v.isFile(e) || v.isBlob(e))
532
532
  return e;
533
533
  if (v.isArrayBufferView(e))
@@ -537,7 +537,7 @@ const De = {
537
537
  let i;
538
538
  if (r) {
539
539
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
540
- return co(e, this.formSerializer).toString();
540
+ return fo(e, this.formSerializer).toString();
541
541
  if ((i = v.isFileList(e)) || s.indexOf("multipart/form-data") > -1) {
542
542
  const u = this.env && this.env.FormData;
543
543
  return Qe(
@@ -547,7 +547,7 @@ const De = {
547
547
  );
548
548
  }
549
549
  }
550
- return r || o ? (n.setContentType("application/json", !1), mo(e)) : e;
550
+ return r || o ? (n.setContentType("application/json", !1), go(e)) : e;
551
551
  }],
552
552
  transformResponse: [function(e) {
553
553
  const n = this.transitional || De.transitional, s = n && n.forcedJSONParsing, o = this.responseType === "json";
@@ -588,7 +588,7 @@ const De = {
588
588
  v.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
589
589
  De.headers[t] = {};
590
590
  });
591
- const ho = v.toObjectSet([
591
+ const _o = v.toObjectSet([
592
592
  "age",
593
593
  "authorization",
594
594
  "content-length",
@@ -606,28 +606,28 @@ const ho = v.toObjectSet([
606
606
  "referer",
607
607
  "retry-after",
608
608
  "user-agent"
609
- ]), go = (t) => {
609
+ ]), yo = (t) => {
610
610
  const e = {};
611
611
  let n, s, o;
612
612
  return t && t.split(`
613
613
  `).forEach(function(a) {
614
- o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), s = a.substring(o + 1).trim(), !(!n || e[n] && ho[n]) && (n === "set-cookie" ? e[n] ? e[n].push(s) : e[n] = [s] : e[n] = e[n] ? e[n] + ", " + s : s);
614
+ o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), s = a.substring(o + 1).trim(), !(!n || e[n] && _o[n]) && (n === "set-cookie" ? e[n] ? e[n].push(s) : e[n] = [s] : e[n] = e[n] ? e[n] + ", " + s : s);
615
615
  }), e;
616
- }, It = Symbol("internals");
616
+ }, Ut = Symbol("internals");
617
617
  function be(t) {
618
618
  return t && String(t).trim().toLowerCase();
619
619
  }
620
620
  function Be(t) {
621
621
  return t === !1 || t == null ? t : v.isArray(t) ? t.map(Be) : String(t);
622
622
  }
623
- function _o(t) {
623
+ function vo(t) {
624
624
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
625
625
  let s;
626
626
  for (; s = n.exec(t); )
627
627
  e[s[1]] = s[2];
628
628
  return e;
629
629
  }
630
- const yo = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
630
+ const bo = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
631
631
  function Xe(t, e, n, s, o) {
632
632
  if (v.isFunction(s))
633
633
  return s.call(this, e, n);
@@ -638,10 +638,10 @@ function Xe(t, e, n, s, o) {
638
638
  return s.test(e);
639
639
  }
640
640
  }
641
- function vo(t) {
641
+ function wo(t) {
642
642
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, s) => n.toUpperCase() + s);
643
643
  }
644
- function bo(t, e) {
644
+ function Eo(t, e) {
645
645
  const n = v.toCamelCase(" " + e);
646
646
  ["get", "set", "has"].forEach((s) => {
647
647
  Object.defineProperty(t, s + n, {
@@ -666,7 +666,7 @@ class Z {
666
666
  (!p || o[p] === void 0 || h === !0 || h === void 0 && o[p] !== !1) && (o[p || u] = Be(i));
667
667
  }
668
668
  const a = (i, u) => v.forEach(i, (h, d) => r(h, d, u));
669
- return v.isPlainObject(e) || e instanceof this.constructor ? a(e, n) : v.isString(e) && (e = e.trim()) && !yo(e) ? a(go(e), n) : e != null && r(n, e, s), this;
669
+ return v.isPlainObject(e) || e instanceof this.constructor ? a(e, n) : v.isString(e) && (e = e.trim()) && !bo(e) ? a(yo(e), n) : e != null && r(n, e, s), this;
670
670
  }
671
671
  get(e, n) {
672
672
  if (e = be(e), e) {
@@ -676,7 +676,7 @@ class Z {
676
676
  if (!n)
677
677
  return o;
678
678
  if (n === !0)
679
- return _o(o);
679
+ return vo(o);
680
680
  if (v.isFunction(n))
681
681
  return n.call(this, o, s);
682
682
  if (v.isRegExp(n))
@@ -720,7 +720,7 @@ class Z {
720
720
  n[a] = Be(o), delete n[r];
721
721
  return;
722
722
  }
723
- const i = e ? vo(r) : String(r).trim();
723
+ const i = e ? wo(r) : String(r).trim();
724
724
  i !== r && delete n[r], n[i] = Be(o), s[i] = !0;
725
725
  }), this;
726
726
  }
@@ -751,12 +751,12 @@ class Z {
751
751
  return n.forEach((o) => s.set(o)), s;
752
752
  }
753
753
  static accessor(e) {
754
- const s = (this[It] = this[It] = {
754
+ const s = (this[Ut] = this[Ut] = {
755
755
  accessors: {}
756
756
  }).accessors, o = this.prototype;
757
757
  function r(a) {
758
758
  const i = be(a);
759
- s[i] || (bo(o, a), s[i] = !0);
759
+ s[i] || (Eo(o, a), s[i] = !0);
760
760
  }
761
761
  return v.isArray(e) ? e.forEach(r) : r(e), this;
762
762
  }
@@ -779,7 +779,7 @@ function Ze(t, e) {
779
779
  r = i.call(n, r, o.normalize(), e ? e.status : void 0);
780
780
  }), o.normalize(), r;
781
781
  }
782
- function Rn(t) {
782
+ function Tn(t) {
783
783
  return !!(t && t.__CANCEL__);
784
784
  }
785
785
  function Te(t, e, n) {
@@ -788,7 +788,7 @@ function Te(t, e, n) {
788
788
  v.inherits(Te, R, {
789
789
  __CANCEL__: !0
790
790
  });
791
- function wo(t, e, n) {
791
+ function $o(t, e, n) {
792
792
  const s = n.config.validateStatus;
793
793
  !n.status || !s || s(n.status) ? t(n) : e(new R(
794
794
  "Request failed with status code " + n.status,
@@ -798,7 +798,7 @@ function wo(t, e, n) {
798
798
  n
799
799
  ));
800
800
  }
801
- const Eo = ne.hasStandardBrowserEnv ? (
801
+ const So = ne.hasStandardBrowserEnv ? (
802
802
  // Standard browser envs support document.cookie
803
803
  {
804
804
  write(t, e, n, s, o, r) {
@@ -825,16 +825,16 @@ const Eo = ne.hasStandardBrowserEnv ? (
825
825
  }
826
826
  }
827
827
  );
828
- function $o(t) {
828
+ function Oo(t) {
829
829
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
830
830
  }
831
- function So(t, e) {
831
+ function xo(t, e) {
832
832
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
833
833
  }
834
- function Dn(t, e) {
835
- return t && !$o(e) ? So(t, e) : e;
834
+ function Fn(t, e) {
835
+ return t && !Oo(e) ? xo(t, e) : e;
836
836
  }
837
- const Oo = ne.hasStandardBrowserEnv ? (
837
+ const ko = ne.hasStandardBrowserEnv ? (
838
838
  // Standard browser envs have full support of the APIs needed to test
839
839
  // whether the request URL is of the same origin as current location.
840
840
  function() {
@@ -866,11 +866,11 @@ const Oo = ne.hasStandardBrowserEnv ? (
866
866
  };
867
867
  }()
868
868
  );
869
- function xo(t) {
869
+ function Co(t) {
870
870
  const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
871
871
  return e && e[1] || "";
872
872
  }
873
- function ko(t, e) {
873
+ function Ao(t, e) {
874
874
  t = t || 10;
875
875
  const n = new Array(t), s = new Array(t);
876
876
  let o = 0, r = 0, a;
@@ -886,9 +886,9 @@ function ko(t, e) {
886
886
  return x ? Math.round(S * 1e3 / x) : void 0;
887
887
  };
888
888
  }
889
- function Vt(t, e) {
889
+ function zt(t, e) {
890
890
  let n = 0;
891
- const s = ko(50, 250);
891
+ const s = Ao(50, 250);
892
892
  return (o) => {
893
893
  const r = o.loaded, a = o.lengthComputable ? o.total : void 0, i = r - n, u = s(i), h = r <= a;
894
894
  n = r;
@@ -904,7 +904,7 @@ function Vt(t, e) {
904
904
  d[e ? "download" : "upload"] = !0, t(d);
905
905
  };
906
906
  }
907
- const Co = typeof XMLHttpRequest < "u", Ao = Co && function(t) {
907
+ const Ro = typeof XMLHttpRequest < "u", Do = Ro && function(t) {
908
908
  return new Promise(function(n, s) {
909
909
  let o = t.data;
910
910
  const r = Z.from(t.headers).normalize();
@@ -917,7 +917,7 @@ const Co = typeof XMLHttpRequest < "u", Ao = Co && function(t) {
917
917
  if (ne.hasStandardBrowserEnv || ne.hasStandardBrowserWebWorkerEnv)
918
918
  r.setContentType(!1);
919
919
  else if ((d = r.getContentType()) !== !1) {
920
- const [l, ..._] = d ? d.split(";").map((g) => g.trim()).filter(Boolean) : [];
920
+ const [l, ..._] = d ? d.split(";").map((y) => y.trim()).filter(Boolean) : [];
921
921
  r.setContentType([l || "multipart/form-data", ..._].join("; "));
922
922
  }
923
923
  }
@@ -926,14 +926,14 @@ const Co = typeof XMLHttpRequest < "u", Ao = Co && function(t) {
926
926
  const l = t.auth.username || "", _ = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
927
927
  r.set("Authorization", "Basic " + btoa(l + ":" + _));
928
928
  }
929
- const S = Dn(t.baseURL, t.url);
930
- p.open(t.method.toUpperCase(), xn(S, t.params, t.paramsSerializer), !0), p.timeout = t.timeout;
929
+ const S = Fn(t.baseURL, t.url);
930
+ p.open(t.method.toUpperCase(), Cn(S, t.params, t.paramsSerializer), !0), p.timeout = t.timeout;
931
931
  function x() {
932
932
  if (!p)
933
933
  return;
934
934
  const l = Z.from(
935
935
  "getAllResponseHeaders" in p && p.getAllResponseHeaders()
936
- ), g = {
936
+ ), y = {
937
937
  data: !a || a === "text" || a === "json" ? p.responseText : p.response,
938
938
  status: p.status,
939
939
  statusText: p.statusText,
@@ -941,11 +941,11 @@ const Co = typeof XMLHttpRequest < "u", Ao = Co && function(t) {
941
941
  config: t,
942
942
  request: p
943
943
  };
944
- wo(function(b) {
944
+ $o(function(b) {
945
945
  n(b), h();
946
946
  }, function(b) {
947
947
  s(b), h();
948
- }, g), p = null;
948
+ }, y), p = null;
949
949
  }
950
950
  if ("onloadend" in p ? p.onloadend = x : p.onreadystatechange = function() {
951
951
  !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(x);
@@ -955,23 +955,23 @@ const Co = typeof XMLHttpRequest < "u", Ao = Co && function(t) {
955
955
  s(new R("Network Error", R.ERR_NETWORK, t, p)), p = null;
956
956
  }, p.ontimeout = function() {
957
957
  let _ = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
958
- const g = t.transitional || kn;
958
+ const y = t.transitional || An;
959
959
  t.timeoutErrorMessage && (_ = t.timeoutErrorMessage), s(new R(
960
960
  _,
961
- g.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
961
+ y.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
962
962
  t,
963
963
  p
964
964
  )), p = null;
965
- }, ne.hasStandardBrowserEnv && (i && v.isFunction(i) && (i = i(t)), i || i !== !1 && Oo(S))) {
966
- const l = t.xsrfHeaderName && t.xsrfCookieName && Eo.read(t.xsrfCookieName);
965
+ }, ne.hasStandardBrowserEnv && (i && v.isFunction(i) && (i = i(t)), i || i !== !1 && ko(S))) {
966
+ const l = t.xsrfHeaderName && t.xsrfCookieName && So.read(t.xsrfCookieName);
967
967
  l && r.set(t.xsrfHeaderName, l);
968
968
  }
969
- o === void 0 && r.setContentType(null), "setRequestHeader" in p && v.forEach(r.toJSON(), function(_, g) {
970
- p.setRequestHeader(g, _);
971
- }), v.isUndefined(t.withCredentials) || (p.withCredentials = !!t.withCredentials), a && a !== "json" && (p.responseType = t.responseType), typeof t.onDownloadProgress == "function" && p.addEventListener("progress", Vt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && p.upload && p.upload.addEventListener("progress", Vt(t.onUploadProgress)), (t.cancelToken || t.signal) && (u = (l) => {
969
+ o === void 0 && r.setContentType(null), "setRequestHeader" in p && v.forEach(r.toJSON(), function(_, y) {
970
+ p.setRequestHeader(y, _);
971
+ }), v.isUndefined(t.withCredentials) || (p.withCredentials = !!t.withCredentials), a && a !== "json" && (p.responseType = t.responseType), typeof t.onDownloadProgress == "function" && p.addEventListener("progress", zt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && p.upload && p.upload.addEventListener("progress", zt(t.onUploadProgress)), (t.cancelToken || t.signal) && (u = (l) => {
972
972
  p && (s(!l || l.type ? new Te(null, t, p) : l), p.abort(), p = null);
973
973
  }, t.cancelToken && t.cancelToken.subscribe(u), t.signal && (t.signal.aborted ? u() : t.signal.addEventListener("abort", u)));
974
- const m = xo(S);
974
+ const m = Co(S);
975
975
  if (m && ne.protocols.indexOf(m) === -1) {
976
976
  s(new R("Unsupported protocol " + m + ":", R.ERR_BAD_REQUEST, t));
977
977
  return;
@@ -979,8 +979,8 @@ const Co = typeof XMLHttpRequest < "u", Ao = Co && function(t) {
979
979
  p.send(o || null);
980
980
  });
981
981
  }, it = {
982
- http: Zs,
983
- xhr: Ao
982
+ http: to,
983
+ xhr: Do
984
984
  };
985
985
  v.forEach(it, (t, e) => {
986
986
  if (t) {
@@ -991,7 +991,7 @@ v.forEach(it, (t, e) => {
991
991
  Object.defineProperty(t, "adapterName", { value: e });
992
992
  }
993
993
  });
994
- const Ut = (t) => `- ${t}`, Ro = (t) => v.isFunction(t) || t === null || t === !1, Tn = {
994
+ const Mt = (t) => `- ${t}`, To = (t) => v.isFunction(t) || t === null || t === !1, Ln = {
995
995
  getAdapter: (t) => {
996
996
  t = v.isArray(t) ? t : [t];
997
997
  const { length: e } = t;
@@ -1000,7 +1000,7 @@ const Ut = (t) => `- ${t}`, Ro = (t) => v.isFunction(t) || t === null || t === !
1000
1000
  for (let r = 0; r < e; r++) {
1001
1001
  n = t[r];
1002
1002
  let a;
1003
- if (s = n, !Ro(n) && (s = it[(a = String(n)).toLowerCase()], s === void 0))
1003
+ if (s = n, !To(n) && (s = it[(a = String(n)).toLowerCase()], s === void 0))
1004
1004
  throw new R(`Unknown adapter '${a}'`);
1005
1005
  if (s)
1006
1006
  break;
@@ -1011,8 +1011,8 @@ const Ut = (t) => `- ${t}`, Ro = (t) => v.isFunction(t) || t === null || t === !
1011
1011
  ([i, u]) => `adapter ${i} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1012
1012
  );
1013
1013
  let a = e ? r.length > 1 ? `since :
1014
- ` + r.map(Ut).join(`
1015
- `) : " " + Ut(r[0]) : "as no adapter specified";
1014
+ ` + r.map(Mt).join(`
1015
+ `) : " " + Mt(r[0]) : "as no adapter specified";
1016
1016
  throw new R(
1017
1017
  "There is no suitable adapter to dispatch the request " + a,
1018
1018
  "ERR_NOT_SUPPORT"
@@ -1026,25 +1026,25 @@ function et(t) {
1026
1026
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1027
1027
  throw new Te(null, t);
1028
1028
  }
1029
- function zt(t) {
1029
+ function Ht(t) {
1030
1030
  return et(t), t.headers = Z.from(t.headers), t.data = Ze.call(
1031
1031
  t,
1032
1032
  t.transformRequest
1033
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Tn.getAdapter(t.adapter || De.adapter)(t).then(function(s) {
1033
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Ln.getAdapter(t.adapter || De.adapter)(t).then(function(s) {
1034
1034
  return et(t), s.data = Ze.call(
1035
1035
  t,
1036
1036
  t.transformResponse,
1037
1037
  s
1038
1038
  ), s.headers = Z.from(s.headers), s;
1039
1039
  }, function(s) {
1040
- return Rn(s) || (et(t), s && s.response && (s.response.data = Ze.call(
1040
+ return Tn(s) || (et(t), s && s.response && (s.response.data = Ze.call(
1041
1041
  t,
1042
1042
  t.transformResponse,
1043
1043
  s.response
1044
1044
  ), s.response.headers = Z.from(s.response.headers))), Promise.reject(s);
1045
1045
  });
1046
1046
  }
1047
- const Mt = (t) => t instanceof Z ? { ...t } : t;
1047
+ const qt = (t) => t instanceof Z ? { ...t } : t;
1048
1048
  function me(t, e) {
1049
1049
  e = e || {};
1050
1050
  const n = {};
@@ -1104,23 +1104,23 @@ function me(t, e) {
1104
1104
  socketPath: a,
1105
1105
  responseEncoding: a,
1106
1106
  validateStatus: i,
1107
- headers: (h, d) => o(Mt(h), Mt(d), !0)
1107
+ headers: (h, d) => o(qt(h), qt(d), !0)
1108
1108
  };
1109
1109
  return v.forEach(Object.keys(Object.assign({}, t, e)), function(d) {
1110
1110
  const p = u[d] || o, S = p(t[d], e[d], d);
1111
1111
  v.isUndefined(S) && p !== i || (n[d] = S);
1112
1112
  }), n;
1113
1113
  }
1114
- const Fn = "1.6.8", _t = {};
1114
+ const Pn = "1.6.8", _t = {};
1115
1115
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1116
1116
  _t[t] = function(s) {
1117
1117
  return typeof s === t || "a" + (e < 1 ? "n " : " ") + t;
1118
1118
  };
1119
1119
  });
1120
- const Ht = {};
1120
+ const Wt = {};
1121
1121
  _t.transitional = function(e, n, s) {
1122
1122
  function o(r, a) {
1123
- return "[Axios v" + Fn + "] Transitional option '" + r + "'" + a + (s ? ". " + s : "");
1123
+ return "[Axios v" + Pn + "] Transitional option '" + r + "'" + a + (s ? ". " + s : "");
1124
1124
  }
1125
1125
  return (r, a, i) => {
1126
1126
  if (e === !1)
@@ -1128,7 +1128,7 @@ _t.transitional = function(e, n, s) {
1128
1128
  o(a, " has been removed" + (n ? " in " + n : "")),
1129
1129
  R.ERR_DEPRECATED
1130
1130
  );
1131
- return n && !Ht[a] && (Ht[a] = !0, console.warn(
1131
+ return n && !Wt[a] && (Wt[a] = !0, console.warn(
1132
1132
  o(
1133
1133
  a,
1134
1134
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1136,7 +1136,7 @@ _t.transitional = function(e, n, s) {
1136
1136
  )), e ? e(r, a, i) : !0;
1137
1137
  };
1138
1138
  };
1139
- function Do(t, e, n) {
1139
+ function Fo(t, e, n) {
1140
1140
  if (typeof t != "object")
1141
1141
  throw new R("options must be an object", R.ERR_BAD_OPTION_VALUE);
1142
1142
  const s = Object.keys(t);
@@ -1154,14 +1154,14 @@ function Do(t, e, n) {
1154
1154
  }
1155
1155
  }
1156
1156
  const lt = {
1157
- assertOptions: Do,
1157
+ assertOptions: Fo,
1158
1158
  validators: _t
1159
1159
  }, le = lt.validators;
1160
1160
  class ce {
1161
1161
  constructor(e) {
1162
1162
  this.defaults = e, this.interceptors = {
1163
- request: new Nt(),
1164
- response: new Nt()
1163
+ request: new Vt(),
1164
+ response: new Vt()
1165
1165
  };
1166
1166
  }
1167
1167
  /**
@@ -1220,7 +1220,7 @@ class ce {
1220
1220
  });
1221
1221
  let d, p = 0, S;
1222
1222
  if (!u) {
1223
- const m = [zt.bind(this), void 0];
1223
+ const m = [Ht.bind(this), void 0];
1224
1224
  for (m.unshift.apply(m, i), m.push.apply(m, h), S = m.length, d = Promise.resolve(n); p < S; )
1225
1225
  d = d.then(m[p++], m[p++]);
1226
1226
  return d;
@@ -1237,7 +1237,7 @@ class ce {
1237
1237
  }
1238
1238
  }
1239
1239
  try {
1240
- d = zt.call(this, x);
1240
+ d = Ht.call(this, x);
1241
1241
  } catch (m) {
1242
1242
  return Promise.reject(m);
1243
1243
  }
@@ -1247,8 +1247,8 @@ class ce {
1247
1247
  }
1248
1248
  getUri(e) {
1249
1249
  e = me(this.defaults, e);
1250
- const n = Dn(e.baseURL, e.url);
1251
- return xn(n, e.params, e.paramsSerializer);
1250
+ const n = Fn(e.baseURL, e.url);
1251
+ return Cn(n, e.params, e.paramsSerializer);
1252
1252
  }
1253
1253
  }
1254
1254
  v.forEach(["delete", "get", "head", "options"], function(e) {
@@ -1343,12 +1343,12 @@ class yt {
1343
1343
  };
1344
1344
  }
1345
1345
  }
1346
- function To(t) {
1346
+ function Lo(t) {
1347
1347
  return function(n) {
1348
1348
  return t.apply(null, n);
1349
1349
  };
1350
1350
  }
1351
- function Fo(t) {
1351
+ function Po(t) {
1352
1352
  return v.isObject(t) && t.isAxiosError === !0;
1353
1353
  }
1354
1354
  const ut = {
@@ -1419,40 +1419,40 @@ const ut = {
1419
1419
  Object.entries(ut).forEach(([t, e]) => {
1420
1420
  ut[e] = t;
1421
1421
  });
1422
- function Ln(t) {
1423
- const e = new ce(t), n = mn(ce.prototype.request, e);
1422
+ function jn(t) {
1423
+ const e = new ce(t), n = gn(ce.prototype.request, e);
1424
1424
  return v.extend(n, ce.prototype, e, { allOwnKeys: !0 }), v.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1425
- return Ln(me(t, o));
1425
+ return jn(me(t, o));
1426
1426
  }, n;
1427
1427
  }
1428
- const U = Ln(De);
1429
- U.Axios = ce;
1430
- U.CanceledError = Te;
1431
- U.CancelToken = yt;
1432
- U.isCancel = Rn;
1433
- U.VERSION = Fn;
1434
- U.toFormData = Qe;
1435
- U.AxiosError = R;
1436
- U.Cancel = U.CanceledError;
1437
- U.all = function(e) {
1428
+ const z = jn(De);
1429
+ z.Axios = ce;
1430
+ z.CanceledError = Te;
1431
+ z.CancelToken = yt;
1432
+ z.isCancel = Tn;
1433
+ z.VERSION = Pn;
1434
+ z.toFormData = Qe;
1435
+ z.AxiosError = R;
1436
+ z.Cancel = z.CanceledError;
1437
+ z.all = function(e) {
1438
1438
  return Promise.all(e);
1439
1439
  };
1440
- U.spread = To;
1441
- U.isAxiosError = Fo;
1442
- U.mergeConfig = me;
1443
- U.AxiosHeaders = Z;
1444
- U.formToJSON = (t) => An(v.isHTMLForm(t) ? new FormData(t) : t);
1445
- U.getAdapter = Tn.getAdapter;
1446
- U.HttpStatusCode = ut;
1447
- U.default = U;
1440
+ z.spread = Lo;
1441
+ z.isAxiosError = Po;
1442
+ z.mergeConfig = me;
1443
+ z.AxiosHeaders = Z;
1444
+ z.formToJSON = (t) => Dn(v.isHTMLForm(t) ? new FormData(t) : t);
1445
+ z.getAdapter = Ln.getAdapter;
1446
+ z.HttpStatusCode = ut;
1447
+ z.default = z;
1448
1448
  let ve = null;
1449
- function Lo(t) {
1450
- ve = U.create(t);
1449
+ function jo(t) {
1450
+ ve = z.create(t);
1451
1451
  }
1452
- function Po() {
1452
+ function Bo() {
1453
1453
  return ve;
1454
1454
  }
1455
- async function jo(t, e = {}, n = {}) {
1455
+ async function No(t, e = {}, n = {}) {
1456
1456
  return new Promise((s, o) => {
1457
1457
  ve.get(t, {
1458
1458
  headers: n,
@@ -1464,7 +1464,7 @@ async function jo(t, e = {}, n = {}) {
1464
1464
  });
1465
1465
  });
1466
1466
  }
1467
- async function Bo(t, e, n = {}) {
1467
+ async function Io(t, e, n = {}) {
1468
1468
  return new Promise((s, o) => {
1469
1469
  ve.post(t, e, {
1470
1470
  headers: n
@@ -1475,7 +1475,7 @@ async function Bo(t, e, n = {}) {
1475
1475
  });
1476
1476
  });
1477
1477
  }
1478
- async function No(t, e, n = {}) {
1478
+ async function Vo(t, e, n = {}) {
1479
1479
  return new Promise((s, o) => {
1480
1480
  ve.delete(t, {
1481
1481
  data: e,
@@ -1487,7 +1487,7 @@ async function No(t, e, n = {}) {
1487
1487
  });
1488
1488
  });
1489
1489
  }
1490
- async function Io(t, e, n = {}) {
1490
+ async function Uo(t, e, n = {}) {
1491
1491
  return new Promise((s, o) => {
1492
1492
  ve.put(t, e, {
1493
1493
  headers: n
@@ -1499,25 +1499,25 @@ async function Io(t, e, n = {}) {
1499
1499
  });
1500
1500
  }
1501
1501
  const ee = {
1502
- get: jo,
1503
- post: Bo,
1504
- put: Io,
1505
- remove: No,
1506
- setupAxios: Lo,
1507
- getAxiosInstance: Po
1502
+ get: No,
1503
+ post: Io,
1504
+ put: Uo,
1505
+ remove: Vo,
1506
+ setupAxios: jo,
1507
+ getAxiosInstance: Bo
1508
1508
  };
1509
- var Vo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1510
- function Uo(t) {
1509
+ var zo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1510
+ function Mo(t) {
1511
1511
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1512
1512
  }
1513
- function zo(t) {
1513
+ function Ho(t) {
1514
1514
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1515
1515
  }
1516
- var Pn = { exports: {} };
1516
+ var Bn = { exports: {} };
1517
1517
  (function(t, e) {
1518
1518
  (function(n, s) {
1519
- typeof zo == "function" ? t.exports = s() : n.pluralize = s();
1520
- })(Vo, function() {
1519
+ typeof Ho == "function" ? t.exports = s() : n.pluralize = s();
1520
+ })(zo, function() {
1521
1521
  var n = [], s = [], o = {}, r = {}, a = {};
1522
1522
  function i(l) {
1523
1523
  return typeof l == "string" ? new RegExp("^" + l + "$", "i") : l;
@@ -1526,41 +1526,41 @@ var Pn = { exports: {} };
1526
1526
  return l === _ ? _ : l === l.toLowerCase() ? _.toLowerCase() : l === l.toUpperCase() ? _.toUpperCase() : l[0] === l[0].toUpperCase() ? _.charAt(0).toUpperCase() + _.substr(1).toLowerCase() : _.toLowerCase();
1527
1527
  }
1528
1528
  function h(l, _) {
1529
- return l.replace(/\$(\d{1,2})/g, function(g, y) {
1530
- return _[y] || "";
1529
+ return l.replace(/\$(\d{1,2})/g, function(y, g) {
1530
+ return _[g] || "";
1531
1531
  });
1532
1532
  }
1533
1533
  function d(l, _) {
1534
- return l.replace(_[0], function(g, y) {
1534
+ return l.replace(_[0], function(y, g) {
1535
1535
  var b = h(_[1], arguments);
1536
- return u(g === "" ? l[y - 1] : g, b);
1536
+ return u(y === "" ? l[g - 1] : y, b);
1537
1537
  });
1538
1538
  }
1539
- function p(l, _, g) {
1539
+ function p(l, _, y) {
1540
1540
  if (!l.length || o.hasOwnProperty(l))
1541
1541
  return _;
1542
- for (var y = g.length; y--; ) {
1543
- var b = g[y];
1542
+ for (var g = y.length; g--; ) {
1543
+ var b = y[g];
1544
1544
  if (b[0].test(_))
1545
1545
  return d(_, b);
1546
1546
  }
1547
1547
  return _;
1548
1548
  }
1549
- function S(l, _, g) {
1550
- return function(y) {
1551
- var b = y.toLowerCase();
1552
- return _.hasOwnProperty(b) ? u(y, b) : l.hasOwnProperty(b) ? u(y, l[b]) : p(b, y, g);
1549
+ function S(l, _, y) {
1550
+ return function(g) {
1551
+ var b = g.toLowerCase();
1552
+ return _.hasOwnProperty(b) ? u(g, b) : l.hasOwnProperty(b) ? u(g, l[b]) : p(b, g, y);
1553
1553
  };
1554
1554
  }
1555
- function x(l, _, g, y) {
1555
+ function x(l, _, y, g) {
1556
1556
  return function(b) {
1557
1557
  var k = b.toLowerCase();
1558
- return _.hasOwnProperty(k) ? !0 : l.hasOwnProperty(k) ? !1 : p(k, k, g) === k;
1558
+ return _.hasOwnProperty(k) ? !0 : l.hasOwnProperty(k) ? !1 : p(k, k, y) === k;
1559
1559
  };
1560
1560
  }
1561
- function m(l, _, g) {
1562
- var y = _ === 1 ? m.singular(l) : m.plural(l);
1563
- return (g ? _ + " " : "") + y;
1561
+ function m(l, _, y) {
1562
+ var g = _ === 1 ? m.singular(l) : m.plural(l);
1563
+ return (y ? _ + " " : "") + g;
1564
1564
  }
1565
1565
  return m.plural = S(
1566
1566
  a,
@@ -1811,13 +1811,13 @@ var Pn = { exports: {} };
1811
1811
  /sheep$/i
1812
1812
  ].forEach(m.addUncountableRule), m;
1813
1813
  });
1814
- })(Pn);
1815
- var Mo = Pn.exports;
1816
- const jn = /* @__PURE__ */ Uo(Mo), Bn = (t) => t.replace(/([-_][a-z])/gi, (e) => e.toUpperCase().replace("-", "").replace("_", "")), Ie = "GET_LIST", Ve = "GET_ONE", Ue = "CREATE", ze = "UPDATE", fe = "REMOVE", ct = "RESTORE", Nn = "ENABLE", Ho = [Ie, Ve, Ue, ze, fe, Nn];
1817
- class qo {
1818
- constructor(e, n, s = Ho) {
1819
- this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = jn(n), this.operations = s, this.operations.forEach((o) => {
1820
- const r = Bn(o.toLowerCase());
1814
+ })(Bn);
1815
+ var qo = Bn.exports;
1816
+ const Nn = /* @__PURE__ */ Mo(qo), In = (t) => t.replace(/([-_][a-z])/gi, (e) => e.toUpperCase().replace("-", "").replace("_", "")), Ie = "GET_LIST", Ve = "GET_ONE", Ue = "CREATE", ze = "UPDATE", fe = "REMOVE", ct = "RESTORE", Vn = "ENABLE", Wo = [Ie, Ve, Ue, ze, fe, Vn];
1817
+ class Jo {
1818
+ constructor(e, n, s = Wo) {
1819
+ this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = Nn(n), this.operations = s, this.operations.forEach((o) => {
1820
+ const r = In(o.toLowerCase());
1821
1821
  this[r] = this[`_${r}`];
1822
1822
  });
1823
1823
  }
@@ -1871,9 +1871,9 @@ class qo {
1871
1871
  return ee.put(`${this.side}/${this.resources}/${e.id}/switch`, e);
1872
1872
  }
1873
1873
  }
1874
- class Wo {
1874
+ class Qo {
1875
1875
  constructor(e, n, s) {
1876
- this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = jn(n), this.listQuerys = s;
1876
+ this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = Nn(n), this.listQuerys = s;
1877
1877
  }
1878
1878
  getList(e) {
1879
1879
  let n = e;
@@ -1883,28 +1883,28 @@ class Wo {
1883
1883
  return ee.get(`${this.side}/${this.resources}/${e.id}`);
1884
1884
  }
1885
1885
  }
1886
- const Gi = {
1887
- Client: qo,
1888
- ReadOnlyClient: Wo,
1886
+ const Ki = {
1887
+ Client: Jo,
1888
+ ReadOnlyClient: Qo,
1889
1889
  GET_LIST: Ie,
1890
1890
  GET_ONE: Ve,
1891
1891
  CREATE: Ue,
1892
1892
  UPDATE: ze,
1893
1893
  REMOVE: fe,
1894
1894
  RESTORE: ct,
1895
- ENABLE: Nn
1896
- }, Jo = (t, e, n) => {
1895
+ ENABLE: Vn
1896
+ }, Go = (t, e, n) => {
1897
1897
  const s = t[e];
1898
1898
  return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((o, r) => {
1899
1899
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, new Error("Unknown variable dynamic import: " + e + (e.split("/").length !== n ? ". Note that variables only represent file names one level deep." : ""))));
1900
1900
  });
1901
- }, Qo = ["createdAt", "updatedAt", "deletedAt"];
1902
- class Go {
1901
+ }, Yo = ["createdAt", "updatedAt", "deletedAt"];
1902
+ class Ko {
1903
1903
  constructor(e, n) {
1904
1904
  this.domain = n, this.type = e.type || "string", this.code = e.code, this.label = e.label, this.showInList = this._showInList(e), this.showInDetail = this._showInDetail(e), this.rules = e.rules || [], this.editable = this._editable(e), this.visible = this._visible(e), this.width = this.computeWidth(e), this.span = e.span || 6, this.fixed = !1;
1905
1905
  }
1906
1906
  computeWidth(e) {
1907
- return e.width ? e.width : Qo.includes(e.code) ? 200 : e.code === "id" || e.type === "image" ? 100 : null;
1907
+ return e.width ? e.width : Yo.includes(e.code) ? 200 : e.code === "id" || e.type === "image" ? 100 : null;
1908
1908
  }
1909
1909
  defaultBy(e, n) {
1910
1910
  return e ?? n;
@@ -1964,7 +1964,7 @@ class Go {
1964
1964
  return {};
1965
1965
  }
1966
1966
  }
1967
- function Yo(t, e, n) {
1967
+ function Xo(t, e, n) {
1968
1968
  console.warn(`${t}.${e} => ${n}`);
1969
1969
  }
1970
1970
  const tt = {
@@ -2004,19 +2004,19 @@ const tt = {
2004
2004
  cascader: { config: "cascader" },
2005
2005
  component: { config: "component" }
2006
2006
  };
2007
- async function qt(t, e, n) {
2008
- const s = await Jo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-CRAIqQDi.js"), "./field/belongs-to/config.js": () => import("./config-BCAUAyF7.js"), "./field/boolean/config.js": () => import("./config-CNtiXWZ8.js"), "./field/cascader/config.js": () => import("./config-Dyr3ggPP.js"), "./field/component/config.js": () => import("./config-BbKfNDqe.js"), "./field/datetime/config.js": () => import("./config-DW9zXh7I.js"), "./field/image/config.js": () => import("./config-BW9jvuW5.js"), "./field/images/config.js": () => import("./config-B7lceYyH.js"), "./field/json/config.js": () => import("./config-BLvYyM3T.js"), "./field/rich-text/config.js": () => import("./config-BRxoZQ52.js"), "./field/row-id/config.js": () => import("./config-B_RLj9Hv.js"), "./field/select/config.js": () => import("./config-D_6sEq9t.js"), "./field/string/config.js": () => import("./config-CAot7p98.js"), "./field/switch/config.js": () => import("./config-JvrjLObh.js"), "./field/text/config.js": () => import("./config-D43m9_jf.js"), "./field/tree-select/config.js": () => import("./config-C5JzH89W.js") }), `./field/${t}/config.js`, 4);
2007
+ async function Jt(t, e, n) {
2008
+ const s = await Go(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-BobKUGsG.js"), "./field/belongs-to/config.js": () => import("./config-CPdeBfXV.js"), "./field/boolean/config.js": () => import("./config-D6B5XcOD.js"), "./field/cascader/config.js": () => import("./config-C7r_o6mY.js"), "./field/component/config.js": () => import("./config-DozbFU_7.js"), "./field/datetime/config.js": () => import("./config-CjHWCwrm.js"), "./field/image/config.js": () => import("./config-C3ewZSP1.js"), "./field/images/config.js": () => import("./config-CaIx2wa4.js"), "./field/json/config.js": () => import("./config-CNM-QOxS.js"), "./field/rich-text/config.js": () => import("./config-C2vkVFNt.js"), "./field/row-id/config.js": () => import("./config-DwlTX0R_.js"), "./field/select/config.js": () => import("./config-nhizx3am.js"), "./field/string/config.js": () => import("./config-DlgSGaAR.js"), "./field/switch/config.js": () => import("./config-CuCJuKh9.js"), "./field/text/config.js": () => import("./config-Donqer1q.js"), "./field/tree-select/config.js": () => import("./config-B53z91c0.js") }), `./field/${t}/config.js`, 4);
2009
2009
  return new s.default(e, n);
2010
2010
  }
2011
- function Wt(t, e = "unknown") {
2011
+ function Qt(t, e = "unknown") {
2012
2012
  return t.map((s) => {
2013
- if (s instanceof Go)
2013
+ if (s instanceof Ko)
2014
2014
  return s;
2015
2015
  if (s.code === "id" ? s.type = "row-id" : s.component && (s.type = "component"), Object.keys(tt).includes(s.type)) {
2016
2016
  const o = tt[s.type];
2017
- return o.deprecated && Yo(e, s.code, o.deprecated), qt(tt[s.type].config, s, e);
2017
+ return o.deprecated && Xo(e, s.code, o.deprecated), Jt(tt[s.type].config, s, e);
2018
2018
  }
2019
- return qt("string", s, e);
2019
+ return Jt("string", s, e);
2020
2020
  });
2021
2021
  }
2022
2022
  let dt = {
@@ -2027,10 +2027,10 @@ let dt = {
2027
2027
  fileUploadUrl: "",
2028
2028
  idempotentUrl: ""
2029
2029
  }, ke = {};
2030
- function Yi(t) {
2030
+ function Xi(t) {
2031
2031
  dt = { ...dt, ...t }, ke = t.domainConfigs;
2032
2032
  }
2033
- function Ki(t) {
2033
+ function Zi(t) {
2034
2034
  Object.keys(ke).forEach((e) => {
2035
2035
  const n = ke[e];
2036
2036
  Object.keys(n).forEach((s) => {
@@ -2051,14 +2051,14 @@ function bt(t, e) {
2051
2051
  return Promise.all(s.fields).then((o) => (s.fields = o, s));
2052
2052
  });
2053
2053
  }
2054
- class Ko {
2054
+ class Zo {
2055
2055
  constructor(e, n) {
2056
2056
  this.side = e;
2057
2057
  const s = n.config ? n.config : n;
2058
- this.code = s.code, this.fields = Wt(s.fields, s.code), !s.simple && (this.name = vt()[e][s.code].name, this.filters = s.filters || [], this.coverField = s.coverField, this.nameField = s.nameField || "name", this.showCreate = s.showCreate || !0, this.showSubmit = s.showSubmit || !0, this.removeConfirm = s.removeConfirm, this.showCreate = this.setupShowCreate(s.showCreate), this.hasMany = n.hasMany || [], this.hasOne = n.hasOne || [], this.formatName = this.createFormatName(n.formatName), this.rest = this.createRestClient(n.rest), this.rowActions = this.setupRowActions(n), this.pageActions = this.setupPageActions(n), this.actionsWidth = n.actionsWidth || 150, this.formHook = n.form || {}, this.filterHook = n.filterForm || {}, this.restRepeat = this.restRepeat(n.restRepeat), this.btnVisible = n.btnVisible || {}, this.operations = this.setupOperations(), this.formLayout = n.formLayout || []);
2058
+ this.code = s.code, this.fields = Qt(s.fields, s.code), !s.simple && (this.name = vt()[e][s.code].name, this.filters = s.filters || [], this.coverField = s.coverField, this.nameField = s.nameField || "name", this.showCreate = s.showCreate || !0, this.showSubmit = s.showSubmit || !0, this.removeConfirm = s.removeConfirm, this.showCreate = this.setupShowCreate(s.showCreate), this.hasMany = n.hasMany || [], this.hasOne = n.hasOne || [], this.formatName = this.createFormatName(n.formatName), this.rest = this.createRestClient(n.rest), this.rowActions = this.setupRowActions(n), this.pageActions = this.setupPageActions(n), this.actionsWidth = n.actionsWidth || 150, this.formHook = n.form || {}, this.filterHook = n.filterForm || {}, this.restRepeat = this.restRepeat(n.restRepeat), this.btnVisible = n.btnVisible || {}, this.operations = this.setupOperations(), this.formLayout = n.formLayout || []);
2059
2059
  }
2060
2060
  wrapFields(e, n) {
2061
- return Wt(e, n);
2061
+ return Qt(e, n);
2062
2062
  }
2063
2063
  createRestClient(e) {
2064
2064
  return e;
@@ -2115,15 +2115,15 @@ class Ko {
2115
2115
  };
2116
2116
  }
2117
2117
  }
2118
- function Xo(t, e) {
2119
- return new Ko(t, e);
2118
+ function er(t, e) {
2119
+ return new Zo(t, e);
2120
2120
  }
2121
2121
  const j = (t, e) => {
2122
2122
  const n = t.__vccOpts || t;
2123
2123
  for (const [s, o] of e)
2124
2124
  n[s] = o;
2125
2125
  return n;
2126
- }, Zo = { class: "card-header" }, er = { class: "title" }, tr = {
2126
+ }, tr = { class: "card-header" }, nr = { class: "title" }, sr = {
2127
2127
  __name: "Widget",
2128
2128
  props: {
2129
2129
  title: {
@@ -2132,24 +2132,24 @@ const j = (t, e) => {
2132
2132
  },
2133
2133
  setup(t) {
2134
2134
  const e = t;
2135
- return (n, s) => (c(), E(f(un), { shadow: "never" }, Ce({
2135
+ return (n, s) => (c(), E(f(dn), { shadow: "never" }, Ce({
2136
2136
  default: w(() => [
2137
- J(n.$slots, "default", {}, void 0, !0)
2137
+ W(n.$slots, "default", {}, void 0, !0)
2138
2138
  ]),
2139
2139
  _: 2
2140
2140
  }, [
2141
2141
  e.title ? {
2142
2142
  name: "header",
2143
2143
  fn: w(() => [
2144
- C("div", Zo, [
2145
- C("span", er, F(e.title), 1)
2144
+ C("div", tr, [
2145
+ C("span", nr, F(e.title), 1)
2146
2146
  ])
2147
2147
  ]),
2148
2148
  key: "0"
2149
2149
  } : void 0
2150
2150
  ]), 1024));
2151
2151
  }
2152
- }, nr = /* @__PURE__ */ j(tr, [["__scopeId", "data-v-c5513c07"]]), sr = { key: 0 }, or = { key: 1 }, rr = { key: 0 }, ar = { key: 1 }, ir = {
2152
+ }, or = /* @__PURE__ */ j(sr, [["__scopeId", "data-v-c5513c07"]]), rr = { key: 0 }, ar = { key: 1 }, ir = { key: 0 }, lr = { key: 1 }, ur = {
2153
2153
  __name: "Statistic",
2154
2154
  props: {
2155
2155
  title: {
@@ -2182,18 +2182,18 @@ const j = (t, e) => {
2182
2182
  class: "item-box-data mono-data",
2183
2183
  style: Ge(`text-align: ${e.align};`)
2184
2184
  }, [
2185
- e.value != null ? (c(), $("span", sr, F(e.value), 1)) : (c(), $("span", or, "..."))
2185
+ e.value != null ? (c(), $("span", rr, F(e.value), 1)) : (c(), $("span", ar, "..."))
2186
2186
  ], 4),
2187
2187
  C("div", {
2188
2188
  class: "item-box-tip",
2189
2189
  style: Ge(`text-align: ${e.align};`)
2190
2190
  }, [
2191
- e.link ? (c(), $("span", rr, [
2191
+ e.link ? (c(), $("span", ir, [
2192
2192
  O(a, {
2193
2193
  to: e.link
2194
2194
  }, {
2195
2195
  default: w(() => [
2196
- O(f(Zn), { type: "primary" }, {
2196
+ O(f(ts), { type: "primary" }, {
2197
2197
  default: w(() => [
2198
2198
  B(F(e.title), 1)
2199
2199
  ]),
@@ -2202,14 +2202,14 @@ const j = (t, e) => {
2202
2202
  ]),
2203
2203
  _: 1
2204
2204
  }, 8, ["to"])
2205
- ])) : (c(), $("span", ar, F(e.title), 1))
2205
+ ])) : (c(), $("span", lr, F(e.title), 1))
2206
2206
  ], 4)
2207
2207
  ], 4)), [
2208
2208
  [f(ge), e.value == null]
2209
2209
  ]);
2210
2210
  };
2211
2211
  }
2212
- }, lr = /* @__PURE__ */ j(ir, [["__scopeId", "data-v-73228f1a"]]), ur = {
2212
+ }, cr = /* @__PURE__ */ j(ur, [["__scopeId", "data-v-73228f1a"]]), dr = {
2213
2213
  __name: "StatisticCard",
2214
2214
  props: {
2215
2215
  title: {
@@ -2233,9 +2233,9 @@ const j = (t, e) => {
2233
2233
  },
2234
2234
  setup(t) {
2235
2235
  const e = t;
2236
- return (n, s) => (c(), E(nr, null, {
2236
+ return (n, s) => (c(), E(or, null, {
2237
2237
  default: w(() => [
2238
- O(lr, {
2238
+ O(cr, {
2239
2239
  title: e.title,
2240
2240
  value: e.value,
2241
2241
  icon: e.icon,
@@ -2247,13 +2247,13 @@ const j = (t, e) => {
2247
2247
  _: 1
2248
2248
  }));
2249
2249
  }
2250
- }, Xi = /* @__PURE__ */ j(ur, [["__scopeId", "data-v-f338c407"]]), cr = {}, dr = { style: { padding: "20px 0" } };
2251
- function pr(t, e) {
2252
- return c(), $("div", dr, [
2253
- J(t.$slots, "default")
2250
+ }, el = /* @__PURE__ */ j(dr, [["__scopeId", "data-v-f338c407"]]), pr = {}, fr = { style: { padding: "20px 0" } };
2251
+ function mr(t, e) {
2252
+ return c(), $("div", fr, [
2253
+ W(t.$slots, "default")
2254
2254
  ]);
2255
2255
  }
2256
- const Zi = /* @__PURE__ */ j(cr, [["render", pr]]), fr = {
2256
+ const tl = /* @__PURE__ */ j(pr, [["render", mr]]), hr = {
2257
2257
  __name: "DashboardRow",
2258
2258
  setup(t) {
2259
2259
  return (e, n) => (c(), E(f(Oe), {
@@ -2261,28 +2261,28 @@ const Zi = /* @__PURE__ */ j(cr, [["render", pr]]), fr = {
2261
2261
  class: "row"
2262
2262
  }, {
2263
2263
  default: w(() => [
2264
- J(e.$slots, "default", {}, void 0, !0)
2264
+ W(e.$slots, "default", {}, void 0, !0)
2265
2265
  ]),
2266
2266
  _: 3
2267
2267
  }));
2268
2268
  }
2269
- }, el = /* @__PURE__ */ j(fr, [["__scopeId", "data-v-5b091760"]]);
2270
- function Y(t) {
2269
+ }, nl = /* @__PURE__ */ j(hr, [["__scopeId", "data-v-5b091760"]]);
2270
+ function G(t) {
2271
2271
  const e = { ...t.query, ...t.params };
2272
2272
  if (t.params.domain && t.params.id) {
2273
- const n = Bn(`${e.domain}-id`);
2273
+ const n = In(`${e.domain}-id`);
2274
2274
  e[n] = e.id;
2275
2275
  }
2276
2276
  return delete e.domain, delete e.id, delete e.page, delete e.pageSize, e;
2277
2277
  }
2278
- function mr(t) {
2278
+ function gr(t) {
2279
2279
  const e = t.length, n = Math.floor(24 / e);
2280
2280
  return { type: "row", cols: t.map((o) => ({ type: "col", span: n, field: o })) };
2281
2281
  }
2282
2282
  function pt(t) {
2283
- return t.map((e) => mr(e));
2283
+ return t.map((e) => gr(e));
2284
2284
  }
2285
- const hr = {
2285
+ const _r = {
2286
2286
  __name: "FormLayout",
2287
2287
  props: {
2288
2288
  layout: Object,
@@ -2310,13 +2310,13 @@ const hr = {
2310
2310
  return u;
2311
2311
  }
2312
2312
  return (r, a) => (c(), $("div", null, [
2313
- (c(!0), $(L, null, M(n.value, (i) => (c(), E(f(Oe), { gutter: 20 }, {
2313
+ (c(!0), $(L, null, H(n.value, (i) => (c(), E(f(Oe), { gutter: 20 }, {
2314
2314
  default: w(() => [
2315
- (c(!0), $(L, null, M(i.cols, (u) => (c(), E(f(we), {
2315
+ (c(!0), $(L, null, H(i.cols, (u) => (c(), E(f(we), {
2316
2316
  span: u.span
2317
2317
  }, {
2318
2318
  default: w(() => [
2319
- J(r.$slots, "default", {
2319
+ W(r.$slots, "default", {
2320
2320
  field: s(u.field)
2321
2321
  })
2322
2322
  ]),
@@ -2327,7 +2327,7 @@ const hr = {
2327
2327
  }, 1024))), 256))
2328
2328
  ]));
2329
2329
  }
2330
- }, gr = { style: { width: "100%" } }, _r = { class: "footer" }, yr = { key: 1 }, vr = {
2330
+ }, yr = { style: { width: "100%" } }, vr = { class: "footer" }, br = { key: 1 }, wr = {
2331
2331
  __name: "PureForm",
2332
2332
  props: {
2333
2333
  config: {
@@ -2343,20 +2343,20 @@ const hr = {
2343
2343
  },
2344
2344
  emits: ["submit", "remove"],
2345
2345
  setup(t, { emit: e }) {
2346
- const n = z(), s = Y(n), o = e, r = A(!1), a = t, i = pt(a.config.formLayout || []), u = $e({ ...a.data }), h = A(null), d = a.config.fields.filter((y) => y.rules).reduce((y, b) => (y[b.code] = x(b.rules), y), {}), p = N(g), S = N(() => a.config.fields.filter((y) => {
2347
- const b = y.editable(u, s), k = y.visible(u, s);
2348
- return y.disabled = k && !b, b || k;
2346
+ const n = M(), s = G(n), o = e, r = A(!1), a = t, i = pt(a.config.formLayout || []), u = $e({ ...a.data }), h = A(null), d = a.config.fields.filter((g) => g.rules).reduce((g, b) => (g[b.code] = x(b.rules), g), {}), p = N(y), S = N(() => a.config.fields.filter((g) => {
2347
+ const b = g.editable(u, s), k = g.visible(u, s);
2348
+ return g.disabled = k && !b, b || k;
2349
2349
  }));
2350
- function x(y) {
2351
- return typeof y == "object" ? y : typeof y == "function" ? y(u) : [];
2350
+ function x(g) {
2351
+ return typeof g == "object" ? g : typeof g == "function" ? g(u) : [];
2352
2352
  }
2353
2353
  async function m() {
2354
- await h.value.validate((y, b) => {
2355
- var W, q;
2356
- if (!y)
2354
+ await h.value.validate((g, b) => {
2355
+ var Y, I;
2356
+ if (!g)
2357
2357
  return console.log("error submit!", b), !1;
2358
- const k = (W = a.config.fields.find((oe) => ["images", "attachments", "attachment"].includes(oe.type))) == null ? void 0 : W.code, V = { ...u };
2359
- k && (V[k] = (q = V[k]) == null ? void 0 : q.map((oe) => oe.id)), r.value = !0, o("submit", V, () => {
2358
+ const k = (Y = a.config.fields.find((re) => ["images", "attachments", "attachment"].includes(re.type))) == null ? void 0 : Y.code, U = { ...u };
2359
+ k && (U[k] = (I = U[k]) == null ? void 0 : I.map((re) => re.id)), r.value = !0, o("submit", U, () => {
2360
2360
  r.value = !1;
2361
2361
  });
2362
2362
  });
@@ -2369,7 +2369,7 @@ const hr = {
2369
2369
  a.config.removeConfirm(u, l);
2370
2370
  return;
2371
2371
  }
2372
- ts.confirm("确定要删除该条数据吗?", "提示", {
2372
+ ss.confirm("确定要删除该条数据吗?", "提示", {
2373
2373
  confirmButtonText: "确定",
2374
2374
  cancelButtonText: "取消",
2375
2375
  type: "warning",
@@ -2383,34 +2383,34 @@ const hr = {
2383
2383
  });
2384
2384
  });
2385
2385
  }
2386
- function g() {
2387
- const y = a.config.showSubmit;
2388
- return typeof y == "boolean" ? y : typeof y == "function" ? y(s, u) : !0;
2386
+ function y() {
2387
+ const g = a.config.showSubmit;
2388
+ return typeof g == "boolean" ? g : typeof g == "function" ? g(s, u) : !0;
2389
2389
  }
2390
2390
  return P(
2391
2391
  () => ({ ...u }),
2392
- (y, b) => {
2393
- const V = Object.keys(y).filter((q) => b[q] !== y[q]).map((q) => {
2394
- var oe;
2395
- return (oe = h.value) == null || oe.clearValidate(q), {
2396
- field: q,
2397
- newValue: y[q],
2398
- oldValue: b[q]
2392
+ (g, b) => {
2393
+ const U = Object.keys(g).filter((I) => b[I] !== g[I]).map((I) => {
2394
+ var re;
2395
+ return (re = h.value) == null || re.clearValidate(I), {
2396
+ field: I,
2397
+ newValue: g[I],
2398
+ oldValue: b[I]
2399
2399
  };
2400
2400
  });
2401
- S.value.filter((q) => !q.disabled).forEach((q) => {
2402
- q.formChange && q.formChange(u, V);
2401
+ S.value.filter((I) => !I.disabled).forEach((I) => {
2402
+ I.formChange && I.formChange(u, U);
2403
2403
  });
2404
2404
  }
2405
2405
  ), P(
2406
2406
  () => a.data,
2407
- (y) => {
2408
- Object.keys(y).forEach((b) => {
2409
- u[b] = y[b];
2407
+ (g) => {
2408
+ Object.keys(g).forEach((b) => {
2409
+ u[b] = g[b];
2410
2410
  });
2411
2411
  },
2412
2412
  { immediate: !0 }
2413
- ), (y, b) => (c(), E(f(cn), {
2413
+ ), (g, b) => (c(), E(f(pn), {
2414
2414
  id: "form",
2415
2415
  ref_key: "formRef",
2416
2416
  ref: h,
@@ -2420,7 +2420,7 @@ const hr = {
2420
2420
  rules: f(d)
2421
2421
  }, {
2422
2422
  default: w(() => [
2423
- O(hr, {
2423
+ O(_r, {
2424
2424
  layout: f(i),
2425
2425
  fields: S.value
2426
2426
  }, {
@@ -2431,16 +2431,16 @@ const hr = {
2431
2431
  prop: k.code
2432
2432
  }, {
2433
2433
  default: w(() => [
2434
- C("div", gr, [
2434
+ C("div", yr, [
2435
2435
  k != null && k.editor ? (c(), E(K(k.editor), {
2436
2436
  key: 0,
2437
2437
  modelValue: u[k.code],
2438
- "onUpdate:modelValue": (V) => u[k.code] = V,
2438
+ "onUpdate:modelValue": (U) => u[k.code] = U,
2439
2439
  field: k,
2440
2440
  disabled: k.disabled,
2441
2441
  "form-data": u,
2442
2442
  "domain-config": a.config
2443
- }, null, 8, ["modelValue", "onUpdate:modelValue", "field", "disabled", "form-data", "domain-config"])) : (c(), E(f(es), {
2443
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "field", "disabled", "form-data", "domain-config"])) : (c(), E(f(ns), {
2444
2444
  key: 1,
2445
2445
  title: `未找到 ${k.code}(${k.type}) 的编辑器`,
2446
2446
  type: "error",
@@ -2454,7 +2454,7 @@ const hr = {
2454
2454
  ]),
2455
2455
  _: 1
2456
2456
  }, 8, ["layout", "fields"]),
2457
- C("div", _r, [
2457
+ C("div", vr, [
2458
2458
  u.id && !u.deletedAt && a.removable ? (c(), E(f(te), {
2459
2459
  key: 0,
2460
2460
  size: "default",
@@ -2465,7 +2465,7 @@ const hr = {
2465
2465
  B(" 删除 ")
2466
2466
  ]),
2467
2467
  _: 1
2468
- })) : (c(), $("div", yr)),
2468
+ })) : (c(), $("div", br)),
2469
2469
  p.value ? (c(), E(f(te), {
2470
2470
  key: 2,
2471
2471
  size: "default",
@@ -2483,12 +2483,12 @@ const hr = {
2483
2483
  _: 1
2484
2484
  }, 8, ["model", "rules"]));
2485
2485
  }
2486
- }, br = /* @__PURE__ */ j(vr, [["__scopeId", "data-v-9950deab"]]);
2487
- function wr() {
2486
+ }, Er = /* @__PURE__ */ j(wr, [["__scopeId", "data-v-9950deab"]]);
2487
+ function $r() {
2488
2488
  return Me().idempotentUrl ? ee.get(Me().idempotentUrl).then((t) => t.data) : "";
2489
2489
  }
2490
2490
  const Ee = {
2491
- getValue: wr
2491
+ getValue: $r
2492
2492
  }, wt = {
2493
2493
  __name: "FormEditor",
2494
2494
  props: {
@@ -2511,7 +2511,7 @@ const Ee = {
2511
2511
  },
2512
2512
  emits: ["update:modelValue", "submit", "remove"],
2513
2513
  setup(t, { emit: e }) {
2514
- const n = z(), s = Y(n), o = e, r = t, a = A(r.data), i = N(() => ({ ...a.value, idempotentToken: h.value })), u = N(() => r.config.fields.filter((l) => l.visible(i, s)).length >= 6 ? "60%" : "40%"), h = A(""), d = N({
2514
+ const n = M(), s = G(n), o = e, r = t, a = A(r.data), i = N(() => ({ ...a.value, idempotentToken: h.value })), u = N(() => r.config.fields.filter((l) => l.visible(i, s)).length >= 6 ? "60%" : "40%"), h = A(""), d = N({
2515
2515
  get() {
2516
2516
  return r.modelValue;
2517
2517
  },
@@ -2535,7 +2535,7 @@ const Ee = {
2535
2535
  h.value = await Ee.getValue();
2536
2536
  },
2537
2537
  { immediate: !0 }
2538
- ), (m, l) => (c(), E(f(ns), {
2538
+ ), (m, l) => (c(), E(f(os), {
2539
2539
  modelValue: d.value,
2540
2540
  "onUpdate:modelValue": l[0] || (l[0] = (_) => d.value = _),
2541
2541
  width: u.value,
@@ -2547,7 +2547,7 @@ const Ee = {
2547
2547
  "z-index": 1e3
2548
2548
  }, {
2549
2549
  default: w(() => [
2550
- O(br, {
2550
+ O(Er, {
2551
2551
  config: r.config,
2552
2552
  data: i.value,
2553
2553
  removable: r.removable,
@@ -2558,7 +2558,7 @@ const Ee = {
2558
2558
  _: 1
2559
2559
  }, 8, ["modelValue", "width", "title"]));
2560
2560
  }
2561
- }, tl = {
2561
+ }, sl = {
2562
2562
  __name: "RowActionFormEditor",
2563
2563
  props: {
2564
2564
  row: {
@@ -2589,7 +2589,7 @@ const Ee = {
2589
2589
  }
2590
2590
  },
2591
2591
  setup(t) {
2592
- const e = t, n = A(e.row), s = A(!1), o = Q(null), r = Xo("simple", {
2592
+ const e = t, n = A(e.row), s = A(!1), o = J(null), r = er("simple", {
2593
2593
  simple: !0,
2594
2594
  code: e.code,
2595
2595
  fields: e.fields
@@ -2631,7 +2631,7 @@ const Ee = {
2631
2631
  _: 1
2632
2632
  }, 8, ["type"]));
2633
2633
  }
2634
- }, Er = { class: "not-found" }, $r = {
2634
+ }, Sr = { class: "not-found" }, Or = {
2635
2635
  __name: "EmptyTip",
2636
2636
  props: {
2637
2637
  text: {
@@ -2641,9 +2641,9 @@ const Ee = {
2641
2641
  },
2642
2642
  setup(t) {
2643
2643
  const e = t;
2644
- return (n, s) => (c(), $("span", Er, F(e.text), 1));
2644
+ return (n, s) => (c(), $("span", Sr, F(e.text), 1));
2645
2645
  }
2646
- }, nl = /* @__PURE__ */ j($r, [["__scopeId", "data-v-c97e855f"]]), sl = {
2646
+ }, ol = /* @__PURE__ */ j(Or, [["__scopeId", "data-v-c97e855f"]]), rl = {
2647
2647
  __name: "FieldEditor",
2648
2648
  props: {
2649
2649
  modelValue: {
@@ -2657,7 +2657,7 @@ const Ee = {
2657
2657
  },
2658
2658
  emits: ["update:modelValue"],
2659
2659
  setup(t, { emit: e }) {
2660
- const n = Jn(() => import("./ImagesUploader-D-XPUBP2.js")), s = Me().fileUploadUrl, o = e, r = t, a = $e({ value: r.modelValue }), i = r.field.converter;
2660
+ const n = Gn(() => import("./ImagesUploader-D9Ri5csG.js")), s = Me().fileUploadUrl, o = e, r = t, a = $e({ value: r.modelValue }), i = r.field.converter;
2661
2661
  function u(d) {
2662
2662
  const p = a.value.findIndex((S) => S.id === d.id);
2663
2663
  a.value.splice(p, 1), o("update:modelValue", a.value);
@@ -2694,7 +2694,7 @@ const Ee = {
2694
2694
  }
2695
2695
  };
2696
2696
  /*! Element Plus v2.7.2 */
2697
- var Sr = {
2697
+ var xr = {
2698
2698
  name: "zh-cn",
2699
2699
  el: {
2700
2700
  breadcrumb: {
@@ -2834,7 +2834,7 @@ var Sr = {
2834
2834
  }
2835
2835
  }
2836
2836
  };
2837
- const Or = {
2837
+ const kr = {
2838
2838
  __name: "TooltipText",
2839
2839
  props: {
2840
2840
  content: {
@@ -2858,13 +2858,13 @@ const Or = {
2858
2858
  setup(t) {
2859
2859
  const e = t, n = N(() => e.content ? e.content.toString() : "");
2860
2860
  return (s, o) => (c(), $("div", null, [
2861
- n.value.length > e.tipShowLength ? (c(), E(f(ss), {
2861
+ n.value.length > e.tipShowLength ? (c(), E(f(rs), {
2862
2862
  key: 0,
2863
2863
  content: n.value,
2864
2864
  effect: "light"
2865
2865
  }, {
2866
2866
  default: w(() => [
2867
- O(f(At), {
2867
+ O(f(Dt), {
2868
2868
  class: Se(e.className),
2869
2869
  type: e.textType,
2870
2870
  "line-clamp": e.lineClamp
@@ -2876,7 +2876,7 @@ const Or = {
2876
2876
  }, 8, ["class", "type", "line-clamp"])
2877
2877
  ]),
2878
2878
  _: 1
2879
- }, 8, ["content"])) : (c(), E(f(At), {
2879
+ }, 8, ["content"])) : (c(), E(f(Dt), {
2880
2880
  key: 1,
2881
2881
  type: e.textType,
2882
2882
  class: Se(e.className)
@@ -2890,7 +2890,7 @@ const Or = {
2890
2890
  }
2891
2891
  };
2892
2892
  /*! Element Plus Icons Vue v2.3.1 */
2893
- var xr = /* @__PURE__ */ H({
2893
+ var Cr = /* @__PURE__ */ q({
2894
2894
  name: "ArrowDown",
2895
2895
  __name: "arrow-down",
2896
2896
  setup(t) {
@@ -2904,7 +2904,7 @@ var xr = /* @__PURE__ */ H({
2904
2904
  })
2905
2905
  ]));
2906
2906
  }
2907
- }), kr = xr, Cr = /* @__PURE__ */ H({
2907
+ }), Ar = Cr, Rr = /* @__PURE__ */ q({
2908
2908
  name: "CircleCloseFilled",
2909
2909
  __name: "circle-close-filled",
2910
2910
  setup(t) {
@@ -2918,7 +2918,7 @@ var xr = /* @__PURE__ */ H({
2918
2918
  })
2919
2919
  ]));
2920
2920
  }
2921
- }), ol = Cr, Ar = /* @__PURE__ */ H({
2921
+ }), al = Rr, Dr = /* @__PURE__ */ q({
2922
2922
  name: "Close",
2923
2923
  __name: "close",
2924
2924
  setup(t) {
@@ -2932,7 +2932,7 @@ var xr = /* @__PURE__ */ H({
2932
2932
  })
2933
2933
  ]));
2934
2934
  }
2935
- }), Rr = Ar, Dr = /* @__PURE__ */ H({
2935
+ }), Tr = Dr, Fr = /* @__PURE__ */ q({
2936
2936
  name: "DArrowLeft",
2937
2937
  __name: "d-arrow-left",
2938
2938
  setup(t) {
@@ -2946,7 +2946,7 @@ var xr = /* @__PURE__ */ H({
2946
2946
  })
2947
2947
  ]));
2948
2948
  }
2949
- }), Jt = Dr, Tr = /* @__PURE__ */ H({
2949
+ }), Gt = Fr, Lr = /* @__PURE__ */ q({
2950
2950
  name: "DArrowRight",
2951
2951
  __name: "d-arrow-right",
2952
2952
  setup(t) {
@@ -2960,7 +2960,7 @@ var xr = /* @__PURE__ */ H({
2960
2960
  })
2961
2961
  ]));
2962
2962
  }
2963
- }), Fr = Tr, Lr = /* @__PURE__ */ H({
2963
+ }), Pr = Lr, jr = /* @__PURE__ */ q({
2964
2964
  name: "Delete",
2965
2965
  __name: "delete",
2966
2966
  setup(t) {
@@ -2974,7 +2974,7 @@ var xr = /* @__PURE__ */ H({
2974
2974
  })
2975
2975
  ]));
2976
2976
  }
2977
- }), rl = Lr, Pr = /* @__PURE__ */ H({
2977
+ }), il = jr, Br = /* @__PURE__ */ q({
2978
2978
  name: "Document",
2979
2979
  __name: "document",
2980
2980
  setup(t) {
@@ -2988,7 +2988,7 @@ var xr = /* @__PURE__ */ H({
2988
2988
  })
2989
2989
  ]));
2990
2990
  }
2991
- }), al = Pr, jr = /* @__PURE__ */ H({
2991
+ }), ll = Br, Nr = /* @__PURE__ */ q({
2992
2992
  name: "Download",
2993
2993
  __name: "download",
2994
2994
  setup(t) {
@@ -3002,7 +3002,7 @@ var xr = /* @__PURE__ */ H({
3002
3002
  })
3003
3003
  ]));
3004
3004
  }
3005
- }), il = jr, Br = /* @__PURE__ */ H({
3005
+ }), ul = Nr, Ir = /* @__PURE__ */ q({
3006
3006
  name: "Grid",
3007
3007
  __name: "grid",
3008
3008
  setup(t) {
@@ -3016,7 +3016,7 @@ var xr = /* @__PURE__ */ H({
3016
3016
  })
3017
3017
  ]));
3018
3018
  }
3019
- }), Nr = Br, Ir = /* @__PURE__ */ H({
3019
+ }), Vr = Ir, Ur = /* @__PURE__ */ q({
3020
3020
  name: "Loading",
3021
3021
  __name: "loading",
3022
3022
  setup(t) {
@@ -3030,7 +3030,7 @@ var xr = /* @__PURE__ */ H({
3030
3030
  })
3031
3031
  ]));
3032
3032
  }
3033
- }), ll = Ir, Vr = /* @__PURE__ */ H({
3033
+ }), cl = Ur, zr = /* @__PURE__ */ q({
3034
3034
  name: "Minus",
3035
3035
  __name: "minus",
3036
3036
  setup(t) {
@@ -3044,7 +3044,7 @@ var xr = /* @__PURE__ */ H({
3044
3044
  })
3045
3045
  ]));
3046
3046
  }
3047
- }), Ur = Vr, zr = /* @__PURE__ */ H({
3047
+ }), Mr = zr, Hr = /* @__PURE__ */ q({
3048
3048
  name: "Operation",
3049
3049
  __name: "operation",
3050
3050
  setup(t) {
@@ -3058,7 +3058,7 @@ var xr = /* @__PURE__ */ H({
3058
3058
  })
3059
3059
  ]));
3060
3060
  }
3061
- }), Mr = zr, Hr = /* @__PURE__ */ H({
3061
+ }), qr = Hr, Wr = /* @__PURE__ */ q({
3062
3062
  name: "Plus",
3063
3063
  __name: "plus",
3064
3064
  setup(t) {
@@ -3072,7 +3072,7 @@ var xr = /* @__PURE__ */ H({
3072
3072
  })
3073
3073
  ]));
3074
3074
  }
3075
- }), ul = Hr, qr = /* @__PURE__ */ H({
3075
+ }), dl = Wr, Jr = /* @__PURE__ */ q({
3076
3076
  name: "PriceTag",
3077
3077
  __name: "price-tag",
3078
3078
  setup(t) {
@@ -3090,7 +3090,7 @@ var xr = /* @__PURE__ */ H({
3090
3090
  })
3091
3091
  ]));
3092
3092
  }
3093
- }), Qt = qr, Wr = /* @__PURE__ */ H({
3093
+ }), Yt = Jr, Qr = /* @__PURE__ */ q({
3094
3094
  name: "QuestionFilled",
3095
3095
  __name: "question-filled",
3096
3096
  setup(t) {
@@ -3104,7 +3104,7 @@ var xr = /* @__PURE__ */ H({
3104
3104
  })
3105
3105
  ]));
3106
3106
  }
3107
- }), cl = Wr, Jr = /* @__PURE__ */ H({
3107
+ }), pl = Qr, Gr = /* @__PURE__ */ q({
3108
3108
  name: "Setting",
3109
3109
  __name: "setting",
3110
3110
  setup(t) {
@@ -3118,7 +3118,7 @@ var xr = /* @__PURE__ */ H({
3118
3118
  })
3119
3119
  ]));
3120
3120
  }
3121
- }), Qr = Jr, Gr = /* @__PURE__ */ H({
3121
+ }), Yr = Gr, Kr = /* @__PURE__ */ q({
3122
3122
  name: "SuccessFilled",
3123
3123
  __name: "success-filled",
3124
3124
  setup(t) {
@@ -3132,7 +3132,7 @@ var xr = /* @__PURE__ */ H({
3132
3132
  })
3133
3133
  ]));
3134
3134
  }
3135
- }), dl = Gr, Yr = /* @__PURE__ */ H({
3135
+ }), fl = Kr, Xr = /* @__PURE__ */ q({
3136
3136
  name: "View",
3137
3137
  __name: "view",
3138
3138
  setup(t) {
@@ -3146,15 +3146,15 @@ var xr = /* @__PURE__ */ H({
3146
3146
  })
3147
3147
  ]));
3148
3148
  }
3149
- }), pl = Yr;
3150
- const Gt = 10, Et = mt("route-history", {
3149
+ }), ml = Xr;
3150
+ const Kt = 10, Et = mt("route-history", {
3151
3151
  state: () => ({
3152
3152
  root: null,
3153
3153
  history: []
3154
3154
  }),
3155
3155
  actions: {
3156
3156
  push(t, e, n) {
3157
- this.history.find((o) => o.code == e) || (this.history.length >= Gt && (this.history = this.history.slice(2 - Gt), this.history.unshift(this.root)), this.history.push({ title: t, code: e, path: n }));
3157
+ this.history.find((o) => o.code == e) || (this.history.length >= Kt && (this.history = this.history.slice(2 - Kt), this.history.unshift(this.root)), this.history.push({ title: t, code: e, path: n }));
3158
3158
  },
3159
3159
  setupRootPath(t, e) {
3160
3160
  this.root = { title: t, code: e, path: e }, this.history = this.history.filter((n) => n.code != e), this.history.unshift(this.root);
@@ -3173,7 +3173,7 @@ const Gt = 10, Et = mt("route-history", {
3173
3173
  n && (n.title = e);
3174
3174
  }
3175
3175
  }
3176
- }), Kr = { class: "header-box" }, Xr = { class: "header-box-left" }, Zr = { class: "page-title" }, ea = { class: "tabs-container" }, ta = { class: "user-profile" }, na = {
3176
+ }), Zr = { class: "header-box" }, ea = { class: "header-box-left" }, ta = { class: "page-title" }, na = { class: "tabs-container" }, sa = { class: "user-profile" }, oa = {
3177
3177
  __name: "HeaderMenu",
3178
3178
  props: {
3179
3179
  config: {
@@ -3181,19 +3181,19 @@ const Gt = 10, Et = mt("route-history", {
3181
3181
  }
3182
3182
  },
3183
3183
  setup(t) {
3184
- const e = _e(), n = z(), s = Et(), o = A("首页"), r = t, a = n.fullPath.split("/")[1], i = x();
3184
+ const e = _e(), n = M(), s = Et(), o = A("首页"), r = t, a = n.fullPath.split("/")[1], i = x();
3185
3185
  s.setupRootPath("首页", `/${a}/home`);
3186
3186
  function u(m) {
3187
3187
  var b, k;
3188
3188
  const l = m.meta.side, _ = m.params.domain;
3189
- let g = (b = m.meta) == null ? void 0 : b.title, y = (k = m.meta) == null ? void 0 : k.code;
3189
+ let y = (b = m.meta) == null ? void 0 : b.title, g = (k = m.meta) == null ? void 0 : k.code;
3190
3190
  if (l && _)
3191
- g = vt()[l][m.params.domain].name, y = m.params.domain, m.params.id && (g = `${g} - ${m.params.id}`, y = `${m.params.domain}-${m.params.id}`);
3191
+ y = vt()[l][m.params.domain].name, g = m.params.domain, m.params.id && (y = `${y} - ${m.params.id}`, g = `${m.params.domain}-${m.params.id}`);
3192
3192
  else {
3193
- const V = i.find((W) => W.route === m.path);
3194
- V && (g = V.title, y = V.route);
3193
+ const U = i.find((Y) => Y.route === m.path);
3194
+ U && (y = U.title, g = U.route);
3195
3195
  }
3196
- g && y && (s.push(g, y, m.fullPath), o.value = y);
3196
+ y && g && (s.push(y, g, m.fullPath), o.value = g);
3197
3197
  }
3198
3198
  function h(m) {
3199
3199
  const l = s.history.find((_) => _.code == m.props.name);
@@ -3210,30 +3210,30 @@ const Gt = 10, Et = mt("route-history", {
3210
3210
  return m === 0 && l === "self" || m < 2 && l === "left" || m === _ - 1 && l === "right" || _ === 1 && l === "all" ? !1 : !(_ < 2 && l === "other");
3211
3211
  };
3212
3212
  function S(m, l) {
3213
- const _ = [], g = s.history;
3213
+ const _ = [], y = s.history;
3214
3214
  switch (l) {
3215
3215
  case "self":
3216
- _.push(g[m].code);
3216
+ _.push(y[m].code);
3217
3217
  break;
3218
3218
  case "left":
3219
- for (let y = 0; y < m; y++)
3220
- y !== 0 && _.push(g[y].code);
3219
+ for (let g = 0; g < m; g++)
3220
+ g !== 0 && _.push(y[g].code);
3221
3221
  break;
3222
3222
  case "right":
3223
- for (let y = m + 1; y < g.length; y++)
3224
- _.push(g[y].code);
3223
+ for (let g = m + 1; g < y.length; g++)
3224
+ _.push(y[g].code);
3225
3225
  break;
3226
3226
  case "all":
3227
- for (let y = 0; y < g.length; y++)
3228
- y !== 0 && _.push(g[y].code);
3227
+ for (let g = 0; g < y.length; g++)
3228
+ g !== 0 && _.push(y[g].code);
3229
3229
  break;
3230
3230
  case "other":
3231
- for (let y = 1; y < g.length; y++)
3232
- y !== m && _.push(g[y].code);
3231
+ for (let g = 1; g < y.length; g++)
3232
+ g !== m && _.push(y[g].code);
3233
3233
  break;
3234
3234
  }
3235
- for (let y = 0; y < _.length; y++)
3236
- d(_[y]);
3235
+ for (let g = 0; g < _.length; g++)
3236
+ d(_[g]);
3237
3237
  }
3238
3238
  function x() {
3239
3239
  return r.config.sideMenus[a].map((m) => m.children ? m.children : m).flat();
@@ -3244,19 +3244,19 @@ const Gt = 10, Et = mt("route-history", {
3244
3244
  u(n);
3245
3245
  },
3246
3246
  { immediate: !0 }
3247
- ), (m, l) => (c(), $("div", Kr, [
3247
+ ), (m, l) => (c(), $("div", Zr, [
3248
3248
  C("div", null, [
3249
- C("div", Xr, [
3250
- O(f(dn), {
3249
+ C("div", ea, [
3250
+ O(f(fn), {
3251
3251
  class: "header-img",
3252
3252
  src: r.config.logo,
3253
3253
  fit: "scale-down"
3254
3254
  }, null, 8, ["src"]),
3255
- C("div", Zr, F(r.config.name), 1)
3255
+ C("div", ta, F(r.config.name), 1)
3256
3256
  ])
3257
3257
  ]),
3258
- C("div", ea, [
3259
- O(f(pn), {
3258
+ C("div", na, [
3259
+ O(f(mn), {
3260
3260
  modelValue: o.value,
3261
3261
  "onUpdate:modelValue": l[0] || (l[0] = (_) => o.value = _),
3262
3262
  type: "card",
@@ -3265,7 +3265,7 @@ const Gt = 10, Et = mt("route-history", {
3265
3265
  onTabRemove: d
3266
3266
  }, {
3267
3267
  default: w(() => [
3268
- (c(!0), $(L, null, M(f(s).history, (_, g) => (c(), E(f(fn), {
3268
+ (c(!0), $(L, null, H(f(s).history, (_, y) => (c(), E(f(hn), {
3269
3269
  closable: _.title != "首页",
3270
3270
  label: _.title,
3271
3271
  name: _.code
@@ -3275,14 +3275,14 @@ const Gt = 10, Et = mt("route-history", {
3275
3275
  dropdown: w(() => [
3276
3276
  O(f(ot), null, {
3277
3277
  default: w(() => [
3278
- p(g, "self") ? (c(), E(f(ue), {
3278
+ p(y, "self") ? (c(), E(f(ue), {
3279
3279
  key: 0,
3280
- onClick: (y) => S(g, "self")
3280
+ onClick: (g) => S(y, "self")
3281
3281
  }, {
3282
3282
  default: w(() => [
3283
- O(f(G), null, {
3283
+ O(f(Q), null, {
3284
3284
  default: w(() => [
3285
- O(f(Rr))
3285
+ O(f(Tr))
3286
3286
  ]),
3287
3287
  _: 1
3288
3288
  }),
@@ -3290,14 +3290,14 @@ const Gt = 10, Et = mt("route-history", {
3290
3290
  ]),
3291
3291
  _: 2
3292
3292
  }, 1032, ["onClick"])) : T("", !0),
3293
- p(g, "left") ? (c(), E(f(ue), {
3293
+ p(y, "left") ? (c(), E(f(ue), {
3294
3294
  key: 1,
3295
- onClick: (y) => S(g, "left")
3295
+ onClick: (g) => S(y, "left")
3296
3296
  }, {
3297
3297
  default: w(() => [
3298
- O(f(G), null, {
3298
+ O(f(Q), null, {
3299
3299
  default: w(() => [
3300
- O(f(Jt))
3300
+ O(f(Gt))
3301
3301
  ]),
3302
3302
  _: 1
3303
3303
  }),
@@ -3305,14 +3305,14 @@ const Gt = 10, Et = mt("route-history", {
3305
3305
  ]),
3306
3306
  _: 2
3307
3307
  }, 1032, ["onClick"])) : T("", !0),
3308
- p(g, "right") ? (c(), E(f(ue), {
3308
+ p(y, "right") ? (c(), E(f(ue), {
3309
3309
  key: 2,
3310
- onClick: (y) => S(g, "right")
3310
+ onClick: (g) => S(y, "right")
3311
3311
  }, {
3312
3312
  default: w(() => [
3313
- O(f(G), null, {
3313
+ O(f(Q), null, {
3314
3314
  default: w(() => [
3315
- O(f(Fr))
3315
+ O(f(Pr))
3316
3316
  ]),
3317
3317
  _: 1
3318
3318
  }),
@@ -3320,14 +3320,14 @@ const Gt = 10, Et = mt("route-history", {
3320
3320
  ]),
3321
3321
  _: 2
3322
3322
  }, 1032, ["onClick"])) : T("", !0),
3323
- p(g, "all") ? (c(), E(f(ue), {
3323
+ p(y, "all") ? (c(), E(f(ue), {
3324
3324
  key: 3,
3325
- onClick: (y) => S(g, "all")
3325
+ onClick: (g) => S(y, "all")
3326
3326
  }, {
3327
3327
  default: w(() => [
3328
- O(f(G), null, {
3328
+ O(f(Q), null, {
3329
3329
  default: w(() => [
3330
- O(f(Ur))
3330
+ O(f(Mr))
3331
3331
  ]),
3332
3332
  _: 1
3333
3333
  }),
@@ -3335,14 +3335,14 @@ const Gt = 10, Et = mt("route-history", {
3335
3335
  ]),
3336
3336
  _: 2
3337
3337
  }, 1032, ["onClick"])) : T("", !0),
3338
- p(g, "other") ? (c(), E(f(ue), {
3338
+ p(y, "other") ? (c(), E(f(ue), {
3339
3339
  key: 4,
3340
- onClick: (y) => S(g, "other")
3340
+ onClick: (g) => S(y, "other")
3341
3341
  }, {
3342
3342
  default: w(() => [
3343
- O(f(G), null, {
3343
+ O(f(Q), null, {
3344
3344
  default: w(() => [
3345
- O(f(Mr))
3345
+ O(f(qr))
3346
3346
  ]),
3347
3347
  _: 1
3348
3348
  }),
@@ -3355,7 +3355,7 @@ const Gt = 10, Et = mt("route-history", {
3355
3355
  }, 1024)
3356
3356
  ]),
3357
3357
  default: w(() => [
3358
- O(Or, {
3358
+ O(kr, {
3359
3359
  content: _.title,
3360
3360
  "line-clamp": 1,
3361
3361
  "class-name": "tab-pane-label",
@@ -3374,25 +3374,25 @@ const Gt = 10, Et = mt("route-history", {
3374
3374
  class: "back-icon",
3375
3375
  onClick: l[1] || (l[1] = (_) => f(e).back())
3376
3376
  }, [
3377
- O(f(G), null, {
3377
+ O(f(Q), null, {
3378
3378
  default: w(() => [
3379
- O(f(Jt))
3379
+ O(f(Gt))
3380
3380
  ]),
3381
3381
  _: 1
3382
3382
  })
3383
3383
  ])
3384
3384
  ]),
3385
- C("div", ta, [
3386
- J(m.$slots, "user-profile", {}, void 0, !0)
3385
+ C("div", sa, [
3386
+ W(m.$slots, "user-profile", {}, void 0, !0)
3387
3387
  ])
3388
3388
  ]));
3389
3389
  }
3390
- }, sa = /* @__PURE__ */ j(na, [["__scopeId", "data-v-ff10d720"]]), oa = (t) => (rn("data-v-22a49b3f"), t = t(), an(), t), ra = {
3390
+ }, ra = /* @__PURE__ */ j(oa, [["__scopeId", "data-v-ff10d720"]]), aa = (t) => (ln("data-v-22a49b3f"), t = t(), un(), t), ia = {
3391
3391
  key: 2,
3392
3392
  class: "dot-wrapper"
3393
- }, aa = /* @__PURE__ */ oa(() => /* @__PURE__ */ C("span", { class: "dot" }, null, -1)), ia = [
3394
- aa
3395
- ], la = {
3393
+ }, la = /* @__PURE__ */ aa(() => /* @__PURE__ */ C("span", { class: "dot" }, null, -1)), ua = [
3394
+ la
3395
+ ], ca = {
3396
3396
  __name: "SideBarItem",
3397
3397
  props: {
3398
3398
  data: { type: Object },
@@ -3403,46 +3403,46 @@ const Gt = 10, Et = mt("route-history", {
3403
3403
  },
3404
3404
  setup(t) {
3405
3405
  const e = t;
3406
- return (n, s) => t.data.children ? (c(), E(f(os), {
3406
+ return (n, s) => t.data.children ? (c(), E(f(as), {
3407
3407
  key: 0,
3408
3408
  index: t.data.title
3409
3409
  }, {
3410
3410
  title: w(() => [
3411
- t.data.icon ? (c(), E(f(G), { key: 0 }, {
3411
+ t.data.icon ? (c(), E(f(Q), { key: 0 }, {
3412
3412
  default: w(() => [
3413
3413
  (c(), E(K(t.data.icon)))
3414
3414
  ]),
3415
3415
  _: 1
3416
- })) : (c(), E(f(G), { key: 1 }, {
3416
+ })) : (c(), E(f(Q), { key: 1 }, {
3417
3417
  default: w(() => [
3418
- O(f(Qt))
3418
+ O(f(Yt))
3419
3419
  ]),
3420
3420
  _: 1
3421
3421
  })),
3422
3422
  C("span", null, F(t.data.title), 1)
3423
3423
  ]),
3424
3424
  default: w(() => [
3425
- (c(!0), $(L, null, M(t.data.children, (o) => (c(), E(In, {
3425
+ (c(!0), $(L, null, H(t.data.children, (o) => (c(), E(Un, {
3426
3426
  data: o,
3427
3427
  "has-parent": !0
3428
3428
  }, null, 8, ["data"]))), 256))
3429
3429
  ]),
3430
3430
  _: 1
3431
- }, 8, ["index"])) : (c(), E(f(rs), {
3431
+ }, 8, ["index"])) : (c(), E(f(is), {
3432
3432
  key: 1,
3433
3433
  index: t.data.route,
3434
3434
  route: t.data.route,
3435
3435
  class: "menu-item"
3436
3436
  }, {
3437
3437
  default: w(() => [
3438
- t.data.icon ? (c(), E(f(G), { key: 0 }, {
3438
+ t.data.icon ? (c(), E(f(Q), { key: 0 }, {
3439
3439
  default: w(() => [
3440
3440
  (c(), E(K(t.data.icon)))
3441
3441
  ]),
3442
3442
  _: 1
3443
- })) : e.hasParent ? (c(), $("span", ra, ia)) : (c(), E(f(G), { key: 1 }, {
3443
+ })) : e.hasParent ? (c(), $("span", ia, ua)) : (c(), E(f(Q), { key: 1 }, {
3444
3444
  default: w(() => [
3445
- O(f(Qt))
3445
+ O(f(Yt))
3446
3446
  ]),
3447
3447
  _: 1
3448
3448
  })),
@@ -3451,7 +3451,7 @@ const Gt = 10, Et = mt("route-history", {
3451
3451
  _: 1
3452
3452
  }, 8, ["index", "route"]));
3453
3453
  }
3454
- }, In = /* @__PURE__ */ j(la, [["__scopeId", "data-v-22a49b3f"]]), ua = {
3454
+ }, Un = /* @__PURE__ */ j(ca, [["__scopeId", "data-v-22a49b3f"]]), da = {
3455
3455
  __name: "SideBar",
3456
3456
  props: {
3457
3457
  sideMenus: {
@@ -3459,7 +3459,7 @@ const Gt = 10, Et = mt("route-history", {
3459
3459
  }
3460
3460
  },
3461
3461
  setup(t) {
3462
- const e = _e(), n = z(), s = A(n.fullPath), o = t, r = n.fullPath.split("/")[1], a = o.sideMenus[r];
3462
+ const e = _e(), n = M(), s = A(n.fullPath), o = t, r = n.fullPath.split("/")[1], a = o.sideMenus[r];
3463
3463
  return P(
3464
3464
  () => e.currentRoute.value,
3465
3465
  () => {
@@ -3471,15 +3471,15 @@ const Gt = 10, Et = mt("route-history", {
3471
3471
  s.value = n.fullPath;
3472
3472
  },
3473
3473
  { immediate: !0 }
3474
- ), (i, u) => (c(), E(f(as), null, {
3474
+ ), (i, u) => (c(), E(f(ls), null, {
3475
3475
  default: w(() => [
3476
- O(f(is), {
3476
+ O(f(us), {
3477
3477
  class: "menu",
3478
3478
  router: !0,
3479
3479
  "default-active": s.value
3480
3480
  }, {
3481
3481
  default: w(() => [
3482
- (c(!0), $(L, null, M(f(a), (h) => (c(), E(In, { data: h }, null, 8, ["data"]))), 256))
3482
+ (c(!0), $(L, null, H(f(a), (h) => (c(), E(Un, { data: h }, null, 8, ["data"]))), 256))
3483
3483
  ]),
3484
3484
  _: 1
3485
3485
  }, 8, ["default-active"])
@@ -3487,7 +3487,7 @@ const Gt = 10, Et = mt("route-history", {
3487
3487
  _: 1
3488
3488
  }));
3489
3489
  }
3490
- }, ca = /* @__PURE__ */ j(ua, [["__scopeId", "data-v-4b892735"]]), da = {
3490
+ }, pa = /* @__PURE__ */ j(da, [["__scopeId", "data-v-4b892735"]]), fa = {
3491
3491
  __name: "BaseLayout",
3492
3492
  props: {
3493
3493
  config: {
@@ -3496,35 +3496,35 @@ const Gt = 10, Et = mt("route-history", {
3496
3496
  }
3497
3497
  },
3498
3498
  setup(t) {
3499
- const e = z(), n = t, s = { ...Me(), ...n.config }, o = N(() => e.params.domain ? e.params.domain : e.fullPath);
3499
+ const e = M(), n = t, s = { ...Me(), ...n.config }, o = N(() => e.params.domain ? e.params.domain : e.fullPath);
3500
3500
  return (r, a) => {
3501
3501
  const i = He("router-view");
3502
- return c(), E(f(ls), { locale: f(Sr) }, {
3502
+ return c(), E(f(cs), { locale: f(xr) }, {
3503
3503
  default: w(() => [
3504
- O(f(Rt), { style: { height: "100%" } }, {
3504
+ O(f(Tt), { style: { height: "100%" } }, {
3505
3505
  default: w(() => [
3506
- O(f(us), { class: "page-header" }, {
3506
+ O(f(ds), { class: "page-header" }, {
3507
3507
  default: w(() => [
3508
- O(sa, { config: s }, {
3508
+ O(ra, { config: s }, {
3509
3509
  "user-profile": w(() => [
3510
- J(r.$slots, "user-profile", {}, void 0, !0)
3510
+ W(r.$slots, "user-profile", {}, void 0, !0)
3511
3511
  ]),
3512
3512
  _: 3
3513
3513
  })
3514
3514
  ]),
3515
3515
  _: 3
3516
3516
  }),
3517
- O(f(Rt), { class: "page-content-container" }, {
3517
+ O(f(Tt), { class: "page-content-container" }, {
3518
3518
  default: w(() => [
3519
- O(f(cs), { class: "page-content-aside" }, {
3519
+ O(f(ps), { class: "page-content-aside" }, {
3520
3520
  default: w(() => [
3521
- O(ca, {
3521
+ O(pa, {
3522
3522
  "side-menus": s.sideMenus
3523
3523
  }, null, 8, ["side-menus"])
3524
3524
  ]),
3525
3525
  _: 1
3526
3526
  }),
3527
- O(f(ds), { class: "page-content-main" }, {
3527
+ O(f(fs), { class: "page-content-main" }, {
3528
3528
  default: w(() => [
3529
3529
  (c(), E(i, { key: o.value }))
3530
3530
  ]),
@@ -3541,7 +3541,7 @@ const Gt = 10, Et = mt("route-history", {
3541
3541
  }, 8, ["locale"]);
3542
3542
  };
3543
3543
  }
3544
- }, fl = /* @__PURE__ */ j(da, [["__scopeId", "data-v-ea73195f"]]), re = mt("data-table-mode", {
3544
+ }, hl = /* @__PURE__ */ j(fa, [["__scopeId", "data-v-ea73195f"]]), oe = mt("data-table-mode", {
3545
3545
  state: () => ({
3546
3546
  mode: "list",
3547
3547
  created: -1,
@@ -3568,7 +3568,7 @@ const Gt = 10, Et = mt("route-history", {
3568
3568
  }),
3569
3569
  getters: {
3570
3570
  validFilters() {
3571
- return pa(
3571
+ return ma(
3572
3572
  t,
3573
3573
  e,
3574
3574
  this.filters,
@@ -3586,23 +3586,23 @@ const Gt = 10, Et = mt("route-history", {
3586
3586
  }
3587
3587
  }
3588
3588
  });
3589
- function pa(t, e, n, s, o) {
3590
- let a = { ...fa(t, e, s), ...n };
3589
+ function ma(t, e, n, s, o) {
3590
+ let a = { ...ha(t, e, s), ...n };
3591
3591
  return o != null && o.setupCreate && (a = o.setupCreate(a)), ft(t, e, a);
3592
3592
  }
3593
- function fa(t, e, n) {
3593
+ function ha(t, e, n) {
3594
3594
  const s = `filters---${e}---${t}`;
3595
3595
  let o = {};
3596
3596
  return localStorage.getItem(s) && (o = JSON.parse(localStorage.getItem(s))), Object.keys(o).filter((r) => Object.keys(n).includes(r)).reduce((r, a) => (r[a] = o[a], r), {});
3597
3597
  }
3598
3598
  function ft(t, e, n) {
3599
- const s = `filters---${e}---${t}`, o = ma(n);
3599
+ const s = `filters---${e}---${t}`, o = ga(n);
3600
3600
  return localStorage.setItem(s, JSON.stringify(o)), o;
3601
3601
  }
3602
- function ma(t) {
3602
+ function ga(t) {
3603
3603
  return Object.keys(t).filter((e) => t[e] != null && t[e] != null && t[e] != "").reduce((e, n) => (e[n] = t[n], e), {});
3604
3604
  }
3605
- const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-label" }, ya = { class: "sorters-arrow-box" }, va = ["onClick"], ba = ["onClick"], wa = {
3605
+ const _a = { class: "sorters-box" }, ya = ["onClick"], va = { class: "sorters-label" }, ba = { class: "sorters-arrow-box" }, wa = ["onClick"], Ea = ["onClick"], $a = {
3606
3606
  __name: "FiltersSorters",
3607
3607
  props: {
3608
3608
  sorters: {
@@ -3653,26 +3653,26 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3653
3653
  d.filter((p) => p.order)
3654
3654
  );
3655
3655
  }
3656
- return (u, h) => (c(), $("div", ha, [
3657
- (c(!0), $(L, null, M(o.value, (d, p) => (c(), $("div", {
3656
+ return (u, h) => (c(), $("div", _a, [
3657
+ (c(!0), $(L, null, H(o.value, (d, p) => (c(), $("div", {
3658
3658
  class: "sorters-item",
3659
3659
  onClick: (S) => i(p, "")
3660
3660
  }, [
3661
- C("div", _a, F(d.name), 1),
3662
- C("div", ya, [
3661
+ C("div", va, F(d.name), 1),
3662
+ C("div", ba, [
3663
3663
  C("i", {
3664
3664
  class: Se(["sort-caret ascending", d.order === "ASC" ? "ascending-active" : ""]),
3665
- onClick: xt((S) => i(p, "ASC"), ["stop"])
3666
- }, null, 10, va),
3665
+ onClick: Ct((S) => i(p, "ASC"), ["stop"])
3666
+ }, null, 10, wa),
3667
3667
  C("i", {
3668
3668
  class: Se(["sort-caret descending", d.order === "DESC" ? "descending-active" : ""]),
3669
- onClick: xt((S) => i(p, "DESC"), ["stop"])
3670
- }, null, 10, ba)
3669
+ onClick: Ct((S) => i(p, "DESC"), ["stop"])
3670
+ }, null, 10, Ea)
3671
3671
  ])
3672
- ], 8, ga))), 256))
3672
+ ], 8, ya))), 256))
3673
3673
  ]));
3674
3674
  }
3675
- }, Ea = /* @__PURE__ */ j(wa, [["__scopeId", "data-v-fa20b02a"]]), $a = { class: "ranges-box" }, Sa = { class: "range-item" }, Oa = { class: "range-label" }, xa = { class: "range-input-box" }, ka = {
3675
+ }, Sa = /* @__PURE__ */ j($a, [["__scopeId", "data-v-fa20b02a"]]), Oa = { class: "ranges-box" }, xa = { class: "range-item" }, ka = { class: "range-label" }, Ca = { class: "range-input-box" }, Aa = {
3676
3676
  __name: "FiltersRange",
3677
3677
  props: {
3678
3678
  ranges: {
@@ -3712,11 +3712,11 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3712
3712
  d.filter((p) => p.min || p.max)
3713
3713
  );
3714
3714
  }
3715
- return r(), (i, u) => (c(), $("div", $a, [
3716
- (c(!0), $(L, null, M(o, (h) => (c(), $("div", Sa, [
3717
- C("div", Oa, F(h.name), 1),
3718
- C("div", xa, [
3719
- O(f(Dt), {
3715
+ return r(), (i, u) => (c(), $("div", Oa, [
3716
+ (c(!0), $(L, null, H(o, (h) => (c(), $("div", xa, [
3717
+ C("div", ka, F(h.name), 1),
3718
+ C("div", Ca, [
3719
+ O(f(Ft), {
3720
3720
  modelValue: h.min,
3721
3721
  "onUpdate:modelValue": (d) => h.min = d,
3722
3722
  "controls-position": "right",
@@ -3725,7 +3725,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3725
3725
  a(d, h.field, "min");
3726
3726
  }
3727
3727
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]),
3728
- O(f(Dt), {
3728
+ O(f(Ft), {
3729
3729
  modelValue: h.max,
3730
3730
  "onUpdate:modelValue": (d) => h.max = d,
3731
3731
  "controls-position": "right",
@@ -3739,7 +3739,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3739
3739
  ]))), 256))
3740
3740
  ]));
3741
3741
  }
3742
- }, Ca = /* @__PURE__ */ j(ka, [["__scopeId", "data-v-30f46526"]]), Aa = { key: 0 }, Ra = {
3742
+ }, Ra = /* @__PURE__ */ j(Aa, [["__scopeId", "data-v-30f46526"]]), Da = { key: 0 }, Ta = {
3743
3743
  __name: "FiltersEditor",
3744
3744
  props: {
3745
3745
  settings: {
@@ -3747,88 +3747,88 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3747
3747
  }
3748
3748
  },
3749
3749
  setup(t) {
3750
- const e = t, n = z(), s = Y(n), o = A([]), r = $e({}), a = $e({}), i = Fe(
3750
+ const e = t, n = M(), s = G(n), o = A([]), r = $e({}), a = $e({}), i = Fe(
3751
3751
  e.settings.code,
3752
3752
  n.path,
3753
3753
  e.settings.filters,
3754
3754
  e.settings.filterHook
3755
3755
  )();
3756
- i.$subscribe((g, y) => {
3757
- y.filters.isDeleted !== r.isDeleted && (Object.keys(r).forEach((b) => {
3756
+ i.$subscribe((y, g) => {
3757
+ g.filters.isDeleted !== r.isDeleted && (Object.keys(r).forEach((b) => {
3758
3758
  r[b] = void 0;
3759
- }), r.isDeleted = y.filters.isDeleted);
3759
+ }), r.isDeleted = g.filters.isDeleted);
3760
3760
  });
3761
- function u(g) {
3762
- return typeof g == "boolean" ? g : typeof g == "function" ? g(s) : !0;
3761
+ function u(y) {
3762
+ return typeof y == "boolean" ? y : typeof y == "function" ? y(s) : !0;
3763
3763
  }
3764
- async function h(g, y) {
3765
- if (typeof g.options == "function")
3766
- a[g.code] = await g.options(
3764
+ async function h(y, g) {
3765
+ if (typeof y.options == "function")
3766
+ a[y.code] = await y.options(
3767
3767
  r,
3768
3768
  s,
3769
- y
3769
+ g
3770
3770
  );
3771
- else if (Array.isArray(g.options))
3772
- a[g.code] = g.options;
3773
- else if (typeof g.options == "object") {
3774
- const b = g.options.getOneUrl ? g.options.getOneUrl : g.options.url;
3775
- if (Array.isArray(r[g.code]) && r[g.code].length > 0)
3776
- a[g.code] = [], r[g.code].forEach((k) => {
3777
- b.getOne({ id: k }).then((V) => {
3778
- a[g.code].push({
3779
- code: V.data[g.options.data.value] || V.data.id,
3780
- name: V.data[g.options.data.label] || V.data.name
3771
+ else if (Array.isArray(y.options))
3772
+ a[y.code] = y.options;
3773
+ else if (typeof y.options == "object") {
3774
+ const b = y.options.getOneUrl ? y.options.getOneUrl : y.options.url;
3775
+ if (Array.isArray(r[y.code]) && r[y.code].length > 0)
3776
+ a[y.code] = [], r[y.code].forEach((k) => {
3777
+ b.getOne({ id: k }).then((U) => {
3778
+ a[y.code].push({
3779
+ code: U.data[y.options.data.value] || U.data.id,
3780
+ name: U.data[y.options.data.label] || U.data.name
3781
3781
  });
3782
3782
  });
3783
3783
  });
3784
- else if (!Array.isArray(r[g.code]) && r[g.code])
3785
- b.getOne({ id: r[g.code] }).then((k) => {
3786
- a[g.code] = [
3784
+ else if (!Array.isArray(r[y.code]) && r[y.code])
3785
+ b.getOne({ id: r[y.code] }).then((k) => {
3786
+ a[y.code] = [
3787
3787
  {
3788
- code: k.data[g.options.data.value] || k.data.id,
3789
- name: k.data[g.options.data.label] || k.data.name
3788
+ code: k.data[y.options.data.value] || k.data.id,
3789
+ name: k.data[y.options.data.label] || k.data.name
3790
3790
  }
3791
3791
  ];
3792
3792
  });
3793
3793
  else {
3794
- const k = g.options.query.keyWord.toString();
3795
- g.options.url.getList({ ...g.options.query, [k]: y }).then((V) => {
3796
- a[g.code] = V.data.rows.map((W) => ({
3797
- code: W[g.options.data.value] || W.id,
3798
- name: W[g.options.data.label] || W.name
3794
+ const k = y.options.query.keyWord.toString();
3795
+ y.options.url.getList({ ...y.options.query, [k]: g }).then((U) => {
3796
+ a[y.code] = U.data.rows.map((Y) => ({
3797
+ code: Y[y.options.data.value] || Y.id,
3798
+ name: Y[y.options.data.label] || Y.name
3799
3799
  }));
3800
3800
  });
3801
3801
  }
3802
3802
  }
3803
3803
  }
3804
- function d(g) {
3805
- if (g.remote)
3806
- return (y) => {
3807
- h(g, y);
3804
+ function d(y) {
3805
+ if (y.remote)
3806
+ return (g) => {
3807
+ h(y, g);
3808
3808
  };
3809
3809
  }
3810
- function p(g) {
3811
- r.sorters = g, l();
3810
+ function p(y) {
3811
+ r.sorters = y, l();
3812
3812
  }
3813
- function S(g) {
3814
- r.filters = g;
3813
+ function S(y) {
3814
+ r.filters = y;
3815
3815
  }
3816
3816
  function x() {
3817
- Object.keys(r).forEach((g) => {
3818
- r[g] = void 0;
3819
- }), o.value = Object.keys(e.settings.filters).filter((g) => u(e.settings.filters[g].visible)).map((g) => {
3820
- const y = { ...e.settings.filters[g], code: g };
3821
- return r[g] = m(g), (y.type === "select" || y.type === "selectV2" || y.type === "tree") && h(y), y;
3822
- }).filter((g) => g.code !== "isDeleted");
3817
+ Object.keys(r).forEach((y) => {
3818
+ r[y] = void 0;
3819
+ }), o.value = Object.keys(e.settings.filters).filter((y) => u(e.settings.filters[y].visible)).map((y) => {
3820
+ const g = { ...e.settings.filters[y], code: y };
3821
+ return r[y] = m(y), (g.type === "select" || g.type === "selectV2" || g.type === "tree") && h(g), g;
3822
+ }).filter((y) => y.code !== "isDeleted");
3823
3823
  }
3824
- function m(g) {
3825
- const y = e.settings.filters[g], b = i.validFilters[g];
3826
- return y.type === "boolean" && typeof b != "boolean" ? y.value : b;
3824
+ function m(y) {
3825
+ const g = e.settings.filters[y], b = i.validFilters[y];
3826
+ return g.type === "boolean" && typeof b != "boolean" ? g.value : b;
3827
3827
  }
3828
3828
  function l() {
3829
- let g = JSON.parse(JSON.stringify(r));
3830
- const y = e.settings.filterHook;
3831
- y != null && y.preSubmit && (g = y.preSubmit(g, s)), i.change(g);
3829
+ let y = JSON.parse(JSON.stringify(r));
3830
+ const g = e.settings.filterHook;
3831
+ g != null && g.preSubmit && (y = g.preSubmit(y, s)), i.change(y);
3832
3832
  }
3833
3833
  function _() {
3834
3834
  i.$reset({}), x(), l();
@@ -3839,16 +3839,16 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3839
3839
  x(), l();
3840
3840
  },
3841
3841
  { immediate: !0 }
3842
- ), (g, y) => Object.keys(e.settings.filters).length > 0 ? (c(), $("div", Aa, [
3843
- O(f(cn), {
3842
+ ), (y, g) => Object.keys(e.settings.filters).length > 0 ? (c(), $("div", Da, [
3843
+ O(f(pn), {
3844
3844
  model: r,
3845
3845
  inline: "",
3846
3846
  class: "form-editor"
3847
3847
  }, {
3848
3848
  default: w(() => [
3849
- (c(!0), $(L, null, M(o.value, (b) => (c(), E(f(nt), null, {
3849
+ (c(!0), $(L, null, H(o.value, (b) => (c(), E(f(nt), null, {
3850
3850
  default: w(() => [
3851
- b.type === "boolean" ? (c(), E(f(Tt), {
3851
+ b.type === "boolean" ? (c(), E(f(Lt), {
3852
3852
  key: 0,
3853
3853
  modelValue: r[b.code],
3854
3854
  "onUpdate:modelValue": (k) => r[b.code] = k,
@@ -3869,7 +3869,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3869
3869
  }, null, 8, ["label"])
3870
3870
  ]),
3871
3871
  _: 2
3872
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : b.type === "select" ? (c(), E(f(Tt), {
3872
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : b.type === "select" ? (c(), E(f(Lt), {
3873
3873
  key: 1,
3874
3874
  modelValue: r[b.code],
3875
3875
  "onUpdate:modelValue": (k) => r[b.code] = k,
@@ -3889,7 +3889,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3889
3889
  onChange: l
3890
3890
  }, {
3891
3891
  default: w(() => [
3892
- (c(!0), $(L, null, M(a[b.code], (k) => (c(), E(f(Ye), {
3892
+ (c(!0), $(L, null, H(a[b.code], (k) => (c(), E(f(Ye), {
3893
3893
  key: k.code,
3894
3894
  label: k.name,
3895
3895
  value: k.code,
@@ -3897,7 +3897,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3897
3897
  }, null, 8, ["label", "value", "title"]))), 128))
3898
3898
  ]),
3899
3899
  _: 2
3900
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "class", "multiple-limit", "remote-method"])) : b.type === "selectV2" ? (c(), E(f(ps), {
3900
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "class", "multiple-limit", "remote-method"])) : b.type === "selectV2" ? (c(), E(f(ms), {
3901
3901
  key: 2,
3902
3902
  modelValue: r[b.code],
3903
3903
  "onUpdate:modelValue": (k) => r[b.code] = k,
@@ -3909,17 +3909,17 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3909
3909
  clearable: "",
3910
3910
  "value-on-clear": null,
3911
3911
  onChange: l
3912
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "multiple", "placeholder"])) : b.type === "sorters" ? (c(), E(Ea, {
3912
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "multiple", "placeholder"])) : b.type === "sorters" ? (c(), E(Sa, {
3913
3913
  key: 3,
3914
3914
  value: r[b.code],
3915
3915
  sorters: b,
3916
3916
  onUpdateSorters: p
3917
- }, null, 8, ["value", "sorters"])) : b.type === "range" ? (c(), E(Ca, {
3917
+ }, null, 8, ["value", "sorters"])) : b.type === "range" ? (c(), E(Ra, {
3918
3918
  key: 4,
3919
3919
  value: r[b.code],
3920
3920
  ranges: b,
3921
3921
  onUpdateRanges: S
3922
- }, null, 8, ["value", "ranges"])) : b.type === "datetime" ? (c(), E(f(Ft), {
3922
+ }, null, 8, ["value", "ranges"])) : b.type === "datetime" ? (c(), E(f(Pt), {
3923
3923
  key: 5,
3924
3924
  modelValue: r[b.code],
3925
3925
  "onUpdate:modelValue": (k) => r[b.code] = k,
@@ -3927,7 +3927,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3927
3927
  format: "YYYY-MM-DD HH:mm:ss",
3928
3928
  "value-format": "YYYY-MM-DD HH:mm:ss",
3929
3929
  placeholder: b.name
3930
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : b.type === "datetime-range" ? (c(), E(f(Ft), {
3930
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : b.type === "datetime-range" ? (c(), E(f(Pt), {
3931
3931
  key: 6,
3932
3932
  modelValue: r[b.code],
3933
3933
  "onUpdate:modelValue": (k) => r[b.code] = k,
@@ -3937,7 +3937,7 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3937
3937
  "start-placeholder": b.name,
3938
3938
  "end-placeholder": b.name,
3939
3939
  placeholder: b.name
3940
- }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "placeholder"])) : (c(), E(f(fs), {
3940
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "placeholder"])) : (c(), E(f(hs), {
3941
3941
  key: 7,
3942
3942
  modelValue: r[b.code],
3943
3943
  "onUpdate:modelValue": (k) => r[b.code] = k,
@@ -3974,15 +3974,18 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
3974
3974
  }, 8, ["model"])
3975
3975
  ])) : T("", !0);
3976
3976
  }
3977
- }, Da = /* @__PURE__ */ j(Ra, [["__scopeId", "data-v-cadbb5a7"]]), Ta = { class: "data-page-title" }, Fa = { class: "title" }, La = { class: "data-page-toolbar" }, Pa = {
3977
+ }, Fa = /* @__PURE__ */ j(Ta, [["__scopeId", "data-v-cadbb5a7"]]), La = { class: "data-page-title" }, Pa = { class: "title" }, ja = { class: "data-page-toolbar" }, Ba = {
3978
3978
  __name: "DataTableHeader",
3979
3979
  props: {
3980
3980
  settings: {
3981
3981
  type: Object
3982
+ },
3983
+ tableName: {
3984
+ type: String
3982
3985
  }
3983
3986
  },
3984
3987
  setup(t) {
3985
- const e = t, n = e.settings.name, s = z(), o = re(), r = Fe(
3988
+ const e = t, n = e.tableName ? e.tableName : e.settings.name, s = M(), o = oe(), r = Fe(
3986
3989
  e.settings.code,
3987
3990
  s.path,
3988
3991
  e.settings.filters,
@@ -4000,22 +4003,22 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
4000
4003
  const S = `table-view-${s.path}-${e.settings.code}`;
4001
4004
  localStorage.setItem(S, o.mode);
4002
4005
  }
4003
- return ln(h), (p, S) => (c(), $(L, null, [
4004
- C("div", Ta, [
4005
- C("div", Fa, F(i.value ? `已删除的${f(n)}` : f(n)), 1),
4006
- C("div", La, [
4006
+ return cn(h), (p, S) => (c(), $(L, null, [
4007
+ C("div", La, [
4008
+ C("div", Pa, F(i.value ? `已删除的${f(n)}` : f(n)), 1),
4009
+ C("div", ja, [
4007
4010
  f(a).operations ? (c(), E(f(de), {
4008
4011
  key: 0,
4009
4012
  class: "button-groups"
4010
4013
  }, {
4011
4014
  default: w(() => [
4012
- J(p.$slots, "operations", {}, void 0, !0)
4015
+ W(p.$slots, "operations", {}, void 0, !0)
4013
4016
  ]),
4014
4017
  _: 3
4015
4018
  })) : T("", !0),
4016
4019
  O(f(de), { class: "button-groups" }, {
4017
4020
  default: w(() => [
4018
- J(p.$slots, "tools", {}, void 0, !0)
4021
+ W(p.$slots, "tools", {}, void 0, !0)
4019
4022
  ]),
4020
4023
  _: 3
4021
4024
  }),
@@ -4045,15 +4048,15 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
4045
4048
  default: w(() => [
4046
4049
  O(f(te), null, {
4047
4050
  default: w(() => [
4048
- O(f(G), null, {
4051
+ O(f(Q), null, {
4049
4052
  default: w(() => [
4050
- O(f(Nr))
4053
+ O(f(Vr))
4051
4054
  ]),
4052
4055
  _: 1
4053
4056
  }),
4054
- O(f(G), { class: "el-icon--right" }, {
4057
+ O(f(Q), { class: "el-icon--right" }, {
4055
4058
  default: w(() => [
4056
- O(f(kr))
4059
+ O(f(Ar))
4057
4060
  ]),
4058
4061
  _: 1
4059
4062
  })
@@ -4086,9 +4089,9 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
4086
4089
  default: w(() => [
4087
4090
  O(f(te), null, {
4088
4091
  default: w(() => [
4089
- O(f(G), null, {
4092
+ O(f(Q), null, {
4090
4093
  default: w(() => [
4091
- O(f(Qr))
4094
+ O(f(Yr))
4092
4095
  ]),
4093
4096
  _: 1
4094
4097
  })
@@ -4100,15 +4103,15 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
4100
4103
  })) : T("", !0)
4101
4104
  ])
4102
4105
  ]),
4103
- O(Da, {
4106
+ O(Fa, {
4104
4107
  settings: e.settings
4105
4108
  }, null, 8, ["settings"])
4106
4109
  ], 64));
4107
4110
  }
4108
- }, ja = /* @__PURE__ */ j(Pa, [["__scopeId", "data-v-4bec2921"]]), Ba = { class: "kst-field-row-id" }, Na = { key: 0 }, Ia = {
4111
+ }, Na = /* @__PURE__ */ j(Ba, [["__scopeId", "data-v-2b5f90c8"]]), Ia = { class: "kst-field-row-id" }, Va = { key: 0 }, Ua = {
4109
4112
  key: 1,
4110
4113
  class: "mono-data"
4111
- }, Va = { key: 1 }, Ua = {
4114
+ }, za = { key: 1 }, Ma = {
4112
4115
  __name: "FieldDisplay",
4113
4116
  props: {
4114
4117
  field: {
@@ -4122,17 +4125,17 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
4122
4125
  }
4123
4126
  },
4124
4127
  setup(t) {
4125
- const e = Ae(), n = z(), s = t, o = n.meta.side, r = N(() => s.row[s.field.code]), a = N(() => ({
4128
+ const e = Ae(), n = M(), s = t, o = n.meta.side, r = N(() => s.row[s.field.code]), a = N(() => ({
4126
4129
  path: `/${o}/${s.field.domain}/${r.value}`,
4127
- query: { ...Y(n), ...s.field.rowQuery(s.row) }
4130
+ query: { ...G(n), ...s.field.rowQuery(s.row) }
4128
4131
  }));
4129
4132
  function i() {
4130
- return s.field.isRouter(s.row, Y(n));
4133
+ return s.field.isRouter(s.row, G(n));
4131
4134
  }
4132
4135
  return (u, h) => {
4133
4136
  const d = He("RouterLink");
4134
- return c(), $("div", Ba, [
4135
- r.value ? (c(), $("span", Na, [
4137
+ return c(), $("div", Ia, [
4138
+ r.value ? (c(), $("span", Va, [
4136
4139
  i() ? (c(), E(d, {
4137
4140
  key: 0,
4138
4141
  class: "bld-link mono-data",
@@ -4140,31 +4143,31 @@ const ha = { class: "sorters-box" }, ga = ["onClick"], _a = { class: "sorters-la
4140
4143
  }, {
4141
4144
  default: w(() => [
4142
4145
  f(e).name ? (c(), $(L, { key: 0 }, [
4143
- J(u.$slots, "name", {}, void 0, !0),
4146
+ W(u.$slots, "name", {}, void 0, !0),
4144
4147
  B("(#" + F(r.value) + ") ", 1)
4145
4148
  ], 64)) : (c(), $(L, { key: 1 }, [
4146
4149
  B(" #" + F(r.value), 1)
4147
4150
  ], 64))
4148
4151
  ]),
4149
4152
  _: 3
4150
- }, 8, ["to"])) : (c(), $("span", Ia, [
4153
+ }, 8, ["to"])) : (c(), $("span", Ua, [
4151
4154
  f(e).name ? (c(), $(L, { key: 0 }, [
4152
- J(u.$slots, "name", {}, void 0, !0),
4155
+ W(u.$slots, "name", {}, void 0, !0),
4153
4156
  B("(" + F(r.value) + ") ", 1)
4154
4157
  ], 64)) : (c(), $(L, { key: 1 }, [
4155
4158
  B(F(r.value), 1)
4156
4159
  ], 64))
4157
4160
  ]))
4158
- ])) : (c(), $("span", Va, " NO ID "))
4161
+ ])) : (c(), $("span", za, " NO ID "))
4159
4162
  ]);
4160
4163
  };
4161
4164
  }
4162
- }, za = /* @__PURE__ */ j(Ua, [["__scopeId", "data-v-00021e61"]]);
4163
- function Ma(t) {
4165
+ }, Ha = /* @__PURE__ */ j(Ma, [["__scopeId", "data-v-00021e61"]]);
4166
+ function qa(t) {
4164
4167
  Ne(t);
4165
4168
  }
4166
- const Ha = {
4167
- show: Ma
4169
+ const Wa = {
4170
+ show: qa
4168
4171
  }, $t = {
4169
4172
  __name: "DomainEdit",
4170
4173
  props: {
@@ -4186,22 +4189,22 @@ const Ha = {
4186
4189
  },
4187
4190
  setup(t) {
4188
4191
  var m;
4189
- const e = Et(), n = re(), s = z(), o = _e(), r = Y(s), a = t, i = A({}), u = A(!1), h = N(() => {
4192
+ const e = Et(), n = oe(), s = M(), o = _e(), r = G(s), a = t, i = A({}), u = A(!1), h = N(() => {
4190
4193
  var l, _;
4191
4194
  return a.row.deletedAt ? !1 : (l = a.operations) != null && l.updatable ? !0 : !!((_ = a.operations) != null && _.removable);
4192
4195
  }), d = A((m = a.operations) == null ? void 0 : m.removable);
4193
4196
  async function p() {
4194
- const l = a.settings.formHook, _ = a.settings.btnVisible, g = a.settings.rest, { data: y } = await g.getOne({
4197
+ const l = a.settings.formHook, _ = a.settings.btnVisible, y = a.settings.rest, { data: g } = await y.getOne({
4195
4198
  ...a.row,
4196
4199
  ...r
4197
4200
  });
4198
- i.value = y, l.setupUpdate && (i.value = l.setupUpdate(i.value)), _.showRemove && (d.value = _.showRemove(i.value)), u.value = !0;
4201
+ i.value = g, l.setupUpdate && (i.value = l.setupUpdate(i.value)), _.showRemove && (d.value = _.showRemove(i.value)), u.value = !0;
4199
4202
  }
4200
4203
  function S(l, _) {
4201
- const g = a.settings.formHook, y = a.settings.rest;
4204
+ const y = a.settings.formHook, g = a.settings.rest;
4202
4205
  Object.keys(r).forEach((b) => {
4203
4206
  l[b] = r[b];
4204
- }), g != null && g.preUpdateSubmit && (l = g.preUpdateSubmit(l)), y.update(l).then(() => {
4207
+ }), y != null && y.preUpdateSubmit && (l = y.preUpdateSubmit(l)), g.update(l).then(() => {
4205
4208
  u.value = !1, n.fireUpdated();
4206
4209
  }).catch(async () => {
4207
4210
  _();
@@ -4209,8 +4212,8 @@ const Ha = {
4209
4212
  }
4210
4213
  function x(l, _) {
4211
4214
  a.settings.rest.remove(l).then(() => {
4212
- Ha.show({ type: "success", message: "删除成功" }), u.value = !1, a.isDetail && e.history.forEach((y) => {
4213
- s.fullPath.includes(y.path) && (e.remove(y.code), o.back());
4215
+ Wa.show({ type: "success", message: "删除成功" }), u.value = !1, a.isDetail && e.history.forEach((g) => {
4216
+ s.fullPath.includes(g.path) && (e.remove(g.code), o.back());
4214
4217
  }), n.fireRemoved();
4215
4218
  }).catch(() => {
4216
4219
  _();
@@ -4226,7 +4229,7 @@ const Ha = {
4226
4229
  u.value ? (c(), E(wt, {
4227
4230
  key: 0,
4228
4231
  modelValue: u.value,
4229
- "onUpdate:modelValue": _[0] || (_[0] = (g) => u.value = g),
4232
+ "onUpdate:modelValue": _[0] || (_[0] = (y) => u.value = y),
4230
4233
  config: a.settings,
4231
4234
  data: i.value,
4232
4235
  removable: d.value,
@@ -4237,13 +4240,13 @@ const Ha = {
4237
4240
  _: 1
4238
4241
  })) : T("", !0);
4239
4242
  }
4240
- }, qa = (t) => (rn("data-v-8ddab769"), t = t(), an(), t), Wa = { class: "data-grid-wrapper" }, Ja = {
4243
+ }, Ja = (t) => (ln("data-v-8ddab769"), t = t(), un(), t), Qa = { class: "data-grid-wrapper" }, Ga = {
4241
4244
  key: 0,
4242
4245
  class: "cover"
4243
- }, Qa = /* @__PURE__ */ qa(() => /* @__PURE__ */ C("div", { class: "image-slot" }, null, -1)), Ga = { class: "header" }, Ya = { class: "body" }, Ka = { key: 0 }, Xa = { class: "key" }, Za = { class: "value" }, ei = {
4246
+ }, Ya = /* @__PURE__ */ Ja(() => /* @__PURE__ */ C("div", { class: "image-slot" }, null, -1)), Ka = { class: "header" }, Xa = { class: "body" }, Za = { key: 0 }, ei = { class: "key" }, ti = { class: "value" }, ni = {
4244
4247
  key: 1,
4245
4248
  class: "footer tools"
4246
- }, ti = {
4249
+ }, si = {
4247
4250
  __name: "DataGrid",
4248
4251
  props: {
4249
4252
  settings: {
@@ -4259,12 +4262,12 @@ const Ha = {
4259
4262
  }
4260
4263
  },
4261
4264
  setup(t) {
4262
- const e = z(), n = Y(e), s = Ae(), o = t, r = Fe(
4265
+ const e = M(), n = G(e), s = Ae(), o = t, r = Fe(
4263
4266
  o.settings.code,
4264
4267
  e.path,
4265
4268
  o.settings.filters,
4266
4269
  o.settings.filterHook
4267
- )(), { filters: a } = pe(r), i = A(a.value), u = Q([]), h = Q(null), d = N(() => {
4270
+ )(), { filters: a } = pe(r), i = A(a.value), u = J([]), h = J(null), d = N(() => {
4268
4271
  var x, m;
4269
4272
  return !!((x = o.operations) != null && x.updatable || (m = o.operations) != null && m.removable);
4270
4273
  });
@@ -4276,8 +4279,8 @@ const Ha = {
4276
4279
  }
4277
4280
  return P(a, (x) => {
4278
4281
  i.value = x, p();
4279
- }), p(), (x, m) => (c(), $("div", Wa, [
4280
- t.data.length === 0 ? (c(), E(f(ms), {
4282
+ }), p(), (x, m) => (c(), $("div", Qa, [
4283
+ t.data.length === 0 ? (c(), E(f(gs), {
4281
4284
  key: 0,
4282
4285
  description: "暂无数据"
4283
4286
  })) : (c(), E(f(Oe), {
@@ -4285,7 +4288,7 @@ const Ha = {
4285
4288
  gutter: 20
4286
4289
  }, {
4287
4290
  default: w(() => [
4288
- (c(!0), $(L, null, M(t.data, (l) => (c(), E(f(we), {
4291
+ (c(!0), $(L, null, H(t.data, (l) => (c(), E(f(we), {
4289
4292
  style: { "margin-bottom": "20px" },
4290
4293
  xs: 24,
4291
4294
  sm: 12,
@@ -4294,28 +4297,28 @@ const Ha = {
4294
4297
  xl: 4
4295
4298
  }, {
4296
4299
  default: w(() => [
4297
- O(f(un), {
4300
+ O(f(dn), {
4298
4301
  "body-style": { padding: "0px" },
4299
4302
  shadow: "hover"
4300
4303
  }, {
4301
4304
  default: w(() => [
4302
- f(s).cover || o.settings.coverField ? (c(), $("div", Ja, [
4303
- f(s).cover ? J(x.$slots, "cover", {
4305
+ f(s).cover || o.settings.coverField ? (c(), $("div", Ga, [
4306
+ f(s).cover ? W(x.$slots, "cover", {
4304
4307
  key: 0,
4305
4308
  row: l
4306
- }, void 0, !0) : (c(), E(f(dn), {
4309
+ }, void 0, !0) : (c(), E(f(fn), {
4307
4310
  key: 1,
4308
4311
  src: l[o.settings.coverField],
4309
4312
  fit: "contain"
4310
4313
  }, {
4311
4314
  error: w(() => [
4312
- Qa
4315
+ Ya
4313
4316
  ]),
4314
4317
  _: 2
4315
4318
  }, 1032, ["src"]))
4316
4319
  ])) : T("", !0),
4317
- C("div", Ga, [
4318
- O(za, {
4320
+ C("div", Ka, [
4321
+ O(Ha, {
4319
4322
  field: h.value,
4320
4323
  row: l
4321
4324
  }, Ce({ _: 2 }, [
@@ -4328,15 +4331,15 @@ const Ha = {
4328
4331
  } : void 0
4329
4332
  ]), 1032, ["field", "row"])
4330
4333
  ]),
4331
- C("div", Ya, [
4332
- f(s).body ? (c(), $("div", Ka, [
4333
- J(x.$slots, "body", { row: l }, void 0, !0)
4334
- ])) : (c(!0), $(L, { key: 1 }, M(u.value, (_) => (c(), $("div", {
4334
+ C("div", Xa, [
4335
+ f(s).body ? (c(), $("div", Za, [
4336
+ W(x.$slots, "body", { row: l }, void 0, !0)
4337
+ ])) : (c(!0), $(L, { key: 1 }, H(u.value, (_) => (c(), $("div", {
4335
4338
  key: _.code,
4336
4339
  class: "field mono-data"
4337
4340
  }, [
4338
- C("div", Xa, F(_.label) + " ", 1),
4339
- C("div", Za, [
4341
+ C("div", ei, F(_.label) + " ", 1),
4342
+ C("div", ti, [
4340
4343
  (c(), E(K(_.display), {
4341
4344
  field: _,
4342
4345
  row: l,
@@ -4345,13 +4348,13 @@ const Ha = {
4345
4348
  ])
4346
4349
  ]))), 128))
4347
4350
  ]),
4348
- f(s).actions || d.value ? (c(), $("div", ei, [
4351
+ f(s).actions || d.value ? (c(), $("div", ni, [
4349
4352
  f(s).actions ? (c(), E(f(de), {
4350
4353
  key: 0,
4351
4354
  size: "small"
4352
4355
  }, {
4353
4356
  default: w(() => [
4354
- J(x.$slots, "actions", { row: l }, void 0, !0)
4357
+ W(x.$slots, "actions", { row: l }, void 0, !0)
4355
4358
  ]),
4356
4359
  _: 2
4357
4360
  }, 1024)) : T("", !0),
@@ -4380,14 +4383,14 @@ const Ha = {
4380
4383
  }))
4381
4384
  ]));
4382
4385
  }
4383
- }, ni = /* @__PURE__ */ j(ti, [["__scopeId", "data-v-8ddab769"]]);
4384
- function si(t, e) {
4386
+ }, oi = /* @__PURE__ */ j(si, [["__scopeId", "data-v-8ddab769"]]);
4387
+ function ri(t, e) {
4385
4388
  const n = t.fields.map((o) => o.code), s = Object.keys(e);
4386
4389
  n.forEach((o) => {
4387
4390
  s.includes(o) || console.error(`${t.code}.${o} : 与服务端数据不匹配`);
4388
4391
  });
4389
4392
  }
4390
- const oi = {
4393
+ const ai = {
4391
4394
  __name: "DataList",
4392
4395
  props: {
4393
4396
  settings: {
@@ -4413,14 +4416,14 @@ const oi = {
4413
4416
  },
4414
4417
  emits: ["sort-column", "select-change", "enable-item"],
4415
4418
  setup(t, { emit: e }) {
4416
- const n = z(), s = Y(n), o = e, r = Ae(), a = t, i = Fe(
4419
+ const n = M(), s = G(n), o = e, r = Ae(), a = t, i = Fe(
4417
4420
  a.settings.code,
4418
4421
  n.path,
4419
4422
  a.settings.filters,
4420
4423
  a.settings.filterHook
4421
- )(), { filters: u } = pe(i), h = A(u.value), d = Q([]), p = N(() => {
4422
- var _, g;
4423
- return !!((_ = a.operations) != null && _.updatable || (g = a.operations) != null && g.removable);
4424
+ )(), { filters: u } = pe(i), h = A(u.value), d = J([]), p = N(() => {
4425
+ var _, y;
4426
+ return !!((_ = a.operations) != null && _.updatable || (y = a.operations) != null && y.removable);
4424
4427
  });
4425
4428
  function S(_) {
4426
4429
  o("sort-column", _);
@@ -4440,11 +4443,11 @@ const oi = {
4440
4443
  return m(), P(
4441
4444
  () => a.data,
4442
4445
  () => {
4443
- a.data.length > 0 && si(a.settings, a.data[0]);
4446
+ a.data.length > 0 && ri(a.settings, a.data[0]);
4444
4447
  }
4445
4448
  ), P(u, (_) => {
4446
4449
  h.value = _, m();
4447
- }), (_, g) => (c(), E(f(hs), {
4450
+ }), (_, y) => (c(), E(f(_s), {
4448
4451
  ref: "dataTable",
4449
4452
  class: "table mono-data",
4450
4453
  data: a.data,
@@ -4459,19 +4462,19 @@ const oi = {
4459
4462
  type: "selection",
4460
4463
  width: "40"
4461
4464
  }),
4462
- (c(!0), $(L, null, M(d.value, (y) => (c(), E(f(Le), {
4463
- key: y.code,
4464
- label: y.label,
4465
- width: y.width,
4466
- prop: y.code,
4467
- sortable: y.sortable ? "custom" : !1,
4468
- fixed: y.fixed
4465
+ (c(!0), $(L, null, H(d.value, (g) => (c(), E(f(Le), {
4466
+ key: g.code,
4467
+ label: g.label,
4468
+ width: g.width,
4469
+ prop: g.code,
4470
+ sortable: g.sortable ? "custom" : !1,
4471
+ fixed: g.fixed
4469
4472
  }, Ce({ _: 2 }, [
4470
- y.type === "switch" ? {
4473
+ g.type === "switch" ? {
4471
4474
  name: "default",
4472
4475
  fn: w(({ row: b }) => [
4473
- (c(), E(K(y.display), {
4474
- field: y,
4476
+ (c(), E(K(g.display), {
4477
+ field: g,
4475
4478
  row: b,
4476
4479
  mode: "list",
4477
4480
  onEnable: x
@@ -4481,9 +4484,9 @@ const oi = {
4481
4484
  } : {
4482
4485
  name: "default",
4483
4486
  fn: w(({ row: b }) => [
4484
- (c(), E(K(y.display), {
4487
+ (c(), E(K(g.display), {
4485
4488
  key: b.updatedAt,
4486
- field: y,
4489
+ field: g,
4487
4490
  row: b,
4488
4491
  mode: "list"
4489
4492
  }, null, 8, ["field", "row"]))
@@ -4497,10 +4500,10 @@ const oi = {
4497
4500
  fixed: "right",
4498
4501
  width: a.actionsWidth
4499
4502
  }, {
4500
- default: w(({ row: y }) => [
4503
+ default: w(({ row: g }) => [
4501
4504
  O(f(de), { size: "small" }, {
4502
4505
  default: w(() => [
4503
- J(_.$slots, "actions", { row: y }, void 0, !0)
4506
+ W(_.$slots, "actions", { row: g }, void 0, !0)
4504
4507
  ]),
4505
4508
  _: 2
4506
4509
  }, 1024)
@@ -4513,11 +4516,11 @@ const oi = {
4513
4516
  label: "操作",
4514
4517
  width: a.operationsWidth
4515
4518
  }, {
4516
- default: w(({ row: y }) => [
4519
+ default: w(({ row: g }) => [
4517
4520
  O(f(de), { size: "small" }, {
4518
4521
  default: w(() => [
4519
4522
  O($t, {
4520
- row: y,
4523
+ row: g,
4521
4524
  settings: a.settings,
4522
4525
  operations: a.operations
4523
4526
  }, null, 8, ["row", "settings", "operations"])
@@ -4531,7 +4534,7 @@ const oi = {
4531
4534
  _: 3
4532
4535
  }, 8, ["data"]));
4533
4536
  }
4534
- }, Yt = /* @__PURE__ */ j(oi, [["__scopeId", "data-v-43048eeb"]]), ri = {
4537
+ }, Xt = /* @__PURE__ */ j(ai, [["__scopeId", "data-v-43048eeb"]]), ii = {
4535
4538
  __name: "DataTable",
4536
4539
  props: {
4537
4540
  data: {
@@ -4548,24 +4551,24 @@ const oi = {
4548
4551
  }
4549
4552
  },
4550
4553
  setup(t) {
4551
- const e = re();
4554
+ const e = oe();
4552
4555
  e.$reset();
4553
- const { mode: n } = pe(e), s = Ae(), o = t, r = Q(Yt);
4556
+ const { mode: n } = pe(e), s = Ae(), o = t, r = J(Xt);
4554
4557
  function a(i) {
4555
- i == "grid" ? r.value = ni : r.value = Yt;
4558
+ i == "grid" ? r.value = oi : r.value = Xt;
4556
4559
  }
4557
4560
  return P(n, (i) => {
4558
4561
  a(i);
4559
- }), (i, u) => (c(), E(K(r.value), kt(Ct(o)), Ce({ _: 2 }, [
4560
- M(f(s), (h, d) => ({
4562
+ }), (i, u) => (c(), E(K(r.value), At(Rt(o)), Ce({ _: 2 }, [
4563
+ H(f(s), (h, d) => ({
4561
4564
  name: d,
4562
4565
  fn: w((p) => [
4563
- J(i.$slots, d, kt(Ct(p || {})))
4566
+ W(i.$slots, d, At(Rt(p || {})))
4564
4567
  ])
4565
4568
  }))
4566
4569
  ]), 1040));
4567
4570
  }
4568
- }, ai = {
4571
+ }, li = {
4569
4572
  __name: "DomainNew",
4570
4573
  props: {
4571
4574
  settings: {
@@ -4578,7 +4581,7 @@ const oi = {
4578
4581
  }
4579
4582
  },
4580
4583
  setup(t) {
4581
- const e = re(), n = z(), s = Y(n), o = t, r = A({}), a = A(!1), i = N(() => {
4584
+ const e = oe(), n = M(), s = G(n), o = t, r = A({}), a = A(!1), i = N(() => {
4582
4585
  var d;
4583
4586
  return !!((d = o.operations) != null && d.creatable);
4584
4587
  });
@@ -4616,7 +4619,7 @@ const oi = {
4616
4619
  _: 1
4617
4620
  })) : T("", !0);
4618
4621
  }
4619
- }, Vn = {
4622
+ }, zn = {
4620
4623
  __name: "RowActions",
4621
4624
  props: {
4622
4625
  row: {
@@ -4630,7 +4633,7 @@ const oi = {
4630
4633
  }
4631
4634
  },
4632
4635
  setup(t) {
4633
- const e = _e(), n = re(), s = t, o = Q([]);
4636
+ const e = _e(), n = oe(), s = t, o = J([]);
4634
4637
  let r = "";
4635
4638
  async function a(u, h) {
4636
4639
  if (r = Pe.service({ fullscreen: !0 }), u.path) {
@@ -4657,7 +4660,7 @@ const oi = {
4657
4660
  o.value = s.settings.rowActions(s.query);
4658
4661
  },
4659
4662
  { immediate: !0 }
4660
- ), (u, h) => (c(!0), $(L, null, M(o.value, (d) => (c(), $(L, null, [
4663
+ ), (u, h) => (c(!0), $(L, null, H(o.value, (d) => (c(), $(L, null, [
4661
4664
  d.isVisible(s.row) ? (c(), $(L, { key: 0 }, [
4662
4665
  d.component ? (c(), E(K(d.component), {
4663
4666
  key: 0,
@@ -4675,7 +4678,7 @@ const oi = {
4675
4678
  ], 64)) : T("", !0)
4676
4679
  ], 64))), 256));
4677
4680
  }
4678
- }, ii = {
4681
+ }, ui = {
4679
4682
  __name: "PageActions",
4680
4683
  props: {
4681
4684
  settings: {
@@ -4689,7 +4692,7 @@ const oi = {
4689
4692
  }
4690
4693
  },
4691
4694
  setup(t) {
4692
- const e = re(), n = t, s = Q([]), o = N(() => {
4695
+ const e = oe(), n = t, s = J([]), o = N(() => {
4693
4696
  var i, u;
4694
4697
  return ((u = (i = n.tableDataSelect) == null ? void 0 : i.data) == null ? void 0 : u.length) > 0;
4695
4698
  }), r = A(!1);
@@ -4711,7 +4714,7 @@ const oi = {
4711
4714
  s.value = n.settings.pageActions(n.query);
4712
4715
  },
4713
4716
  { immediate: !0 }
4714
- ), (i, u) => (c(!0), $(L, null, M(s.value, (h) => (c(), $(L, null, [
4717
+ ), (i, u) => (c(!0), $(L, null, H(s.value, (h) => (c(), $(L, null, [
4715
4718
  h.component ? (c(), E(K(h.component), {
4716
4719
  key: 0,
4717
4720
  item: h,
@@ -4732,7 +4735,7 @@ const oi = {
4732
4735
  }, 1032, ["type", "loading", "disabled", "onClick"]))
4733
4736
  ], 64))), 256));
4734
4737
  }
4735
- }, li = { class: "pagination-wrapper" }, ui = {
4738
+ }, ci = { class: "pagination-wrapper" }, di = {
4736
4739
  __name: "Pagination",
4737
4740
  props: {
4738
4741
  total: {
@@ -4753,7 +4756,7 @@ const oi = {
4753
4756
  },
4754
4757
  emits: ["page-change"],
4755
4758
  setup(t, { emit: e }) {
4756
- const n = e, s = _e(), o = z(), r = t, a = A(r.page), i = A(r.size), u = A(r.total), h = A(r.pageSizes);
4759
+ const n = e, s = _e(), o = M(), r = t, a = A(r.page), i = A(r.size), u = A(r.total), h = A(r.pageSizes);
4757
4760
  P(
4758
4761
  () => r.total,
4759
4762
  (S) => {
@@ -4785,8 +4788,8 @@ const oi = {
4785
4788
  }
4786
4789
  });
4787
4790
  }
4788
- return (S, x) => (c(), $("div", li, [
4789
- O(f(gs), {
4791
+ return (S, x) => (c(), $("div", ci, [
4792
+ O(f(ys), {
4790
4793
  background: "",
4791
4794
  "page-size": i.value,
4792
4795
  "page-sizes": h.value,
@@ -4798,71 +4801,71 @@ const oi = {
4798
4801
  }, null, 8, ["page-size", "page-sizes", "total", "current-page"])
4799
4802
  ]));
4800
4803
  }
4801
- }, ci = /* @__PURE__ */ j(ui, [["__scopeId", "data-v-3c65f1a1"]]);
4802
- var Kt;
4803
- const Un = typeof window < "u";
4804
- Un && ((Kt = window == null ? void 0 : window.navigator) != null && Kt.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
4805
- function di(t) {
4804
+ }, pi = /* @__PURE__ */ j(di, [["__scopeId", "data-v-3c65f1a1"]]);
4805
+ var Zt;
4806
+ const Mn = typeof window < "u";
4807
+ Mn && ((Zt = window == null ? void 0 : window.navigator) != null && Zt.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
4808
+ function fi(t) {
4806
4809
  return typeof t == "function" ? t() : f(t);
4807
4810
  }
4808
- function pi(t) {
4811
+ function mi(t) {
4809
4812
  return t;
4810
4813
  }
4811
- function fi(t) {
4812
- return Qn() ? (Gn(t), !0) : !1;
4814
+ function hi(t) {
4815
+ return Yn() ? (Kn(t), !0) : !1;
4813
4816
  }
4814
- function mi(t, e = !0) {
4815
- Yn() ? ln(t) : e ? t() : Kn(t);
4817
+ function gi(t, e = !0) {
4818
+ Xn() ? cn(t) : e ? t() : Zn(t);
4816
4819
  }
4817
- function hi(t) {
4820
+ function _i(t) {
4818
4821
  var e;
4819
- const n = di(t);
4822
+ const n = fi(t);
4820
4823
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
4821
4824
  }
4822
- const gi = Un ? window : void 0;
4823
- function _i(t, e = !1) {
4825
+ const yi = Mn ? window : void 0;
4826
+ function vi(t, e = !1) {
4824
4827
  const n = A(), s = () => n.value = !!t();
4825
- return s(), mi(s, e), n;
4828
+ return s(), gi(s, e), n;
4826
4829
  }
4827
- const Xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Zt = "__vueuse_ssr_handlers__";
4828
- Xt[Zt] = Xt[Zt] || {};
4829
- var en = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, bi = (t, e) => {
4830
+ const en = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, tn = "__vueuse_ssr_handlers__";
4831
+ en[tn] = en[tn] || {};
4832
+ var nn = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, Ei = (t, e) => {
4830
4833
  var n = {};
4831
4834
  for (var s in t)
4832
- yi.call(t, s) && e.indexOf(s) < 0 && (n[s] = t[s]);
4833
- if (t != null && en)
4834
- for (var s of en(t))
4835
- e.indexOf(s) < 0 && vi.call(t, s) && (n[s] = t[s]);
4835
+ bi.call(t, s) && e.indexOf(s) < 0 && (n[s] = t[s]);
4836
+ if (t != null && nn)
4837
+ for (var s of nn(t))
4838
+ e.indexOf(s) < 0 && wi.call(t, s) && (n[s] = t[s]);
4836
4839
  return n;
4837
4840
  };
4838
- function tn(t, e, n = {}) {
4839
- const s = n, { window: o = gi } = s, r = bi(s, ["window"]);
4841
+ function sn(t, e, n = {}) {
4842
+ const s = n, { window: o = yi } = s, r = Ei(s, ["window"]);
4840
4843
  let a;
4841
- const i = _i(() => o && "ResizeObserver" in o), u = () => {
4844
+ const i = vi(() => o && "ResizeObserver" in o), u = () => {
4842
4845
  a && (a.disconnect(), a = void 0);
4843
- }, h = P(() => hi(t), (p) => {
4846
+ }, h = P(() => _i(t), (p) => {
4844
4847
  u(), i.value && o && p && (a = new ResizeObserver(e), a.observe(p, r));
4845
4848
  }, { immediate: !0, flush: "post" }), d = () => {
4846
4849
  u(), h();
4847
4850
  };
4848
- return fi(d), {
4851
+ return hi(d), {
4849
4852
  isSupported: i,
4850
4853
  stop: d
4851
4854
  };
4852
4855
  }
4853
- var nn;
4856
+ var on;
4854
4857
  (function(t) {
4855
4858
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
4856
- })(nn || (nn = {}));
4857
- var wi = Object.defineProperty, sn = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, on = (t, e, n) => e in t ? wi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Si = (t, e) => {
4859
+ })(on || (on = {}));
4860
+ var $i = Object.defineProperty, rn = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, an = (t, e, n) => e in t ? $i(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, xi = (t, e) => {
4858
4861
  for (var n in e || (e = {}))
4859
- Ei.call(e, n) && on(t, n, e[n]);
4860
- if (sn)
4861
- for (var n of sn(e))
4862
- $i.call(e, n) && on(t, n, e[n]);
4862
+ Si.call(e, n) && an(t, n, e[n]);
4863
+ if (rn)
4864
+ for (var n of rn(e))
4865
+ Oi.call(e, n) && an(t, n, e[n]);
4863
4866
  return t;
4864
4867
  };
4865
- const Oi = {
4868
+ const ki = {
4866
4869
  easeInSine: [0.12, 0, 0.39, 0],
4867
4870
  easeOutSine: [0.61, 1, 0.88, 1],
4868
4871
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -4888,10 +4891,10 @@ const Oi = {
4888
4891
  easeOutBack: [0.34, 1.56, 0.64, 1],
4889
4892
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
4890
4893
  };
4891
- Si({
4892
- linear: pi
4893
- }, Oi);
4894
- const xi = {
4894
+ xi({
4895
+ linear: mi
4896
+ }, ki);
4897
+ const Ci = {
4895
4898
  __name: "DataTablePage",
4896
4899
  props: {
4897
4900
  settings: {
@@ -4899,132 +4902,137 @@ const xi = {
4899
4902
  },
4900
4903
  query: {
4901
4904
  type: Object
4905
+ },
4906
+ hasMany: {
4907
+ type: Object
4902
4908
  }
4903
4909
  },
4904
4910
  setup(t) {
4905
- Xn((D) => ({
4906
- 71828730: Wn.value
4911
+ var kt;
4912
+ es((D) => ({
4913
+ "5fda20ec": Qn.value
4907
4914
  }));
4908
- const e = z(), n = Y(e), s = t, o = Fe(
4915
+ const e = M(), n = G(e), s = t, o = Fe(
4909
4916
  s.settings.code,
4910
4917
  e.path,
4911
4918
  s.settings.filters,
4912
4919
  s.settings.filterHook
4913
- )(), { filters: r } = pe(o);
4920
+ )(), { filters: r } = pe(o), a = (kt = s == null ? void 0 : s.hasMany) == null ? void 0 : kt.tableName;
4914
4921
  P(r, (D) => {
4915
- g = D, W();
4922
+ g = D, I();
4916
4923
  });
4917
- const a = re(), { created: i, updated: u, removed: h } = pe(a);
4918
- P([i, u, h], ([D, I, ae]) => {
4919
- (D || I || ae) && W();
4924
+ const i = oe(), { created: u, updated: h, removed: d } = pe(i);
4925
+ P([u, h, d], ([D, V, ae]) => {
4926
+ (D || V || ae) && I();
4920
4927
  });
4921
- const d = A(!0), p = A([]), S = A(0), x = A({}), m = A({}), l = A(null), _ = A(null);
4928
+ const p = A(!0), S = A([]), x = A(0), m = A({}), l = A({}), _ = A(null), y = A(null);
4922
4929
  let g = {};
4923
- const y = A(parseInt(e.query.pageSize) || 30), b = A(parseInt(e.query.page) || 1);
4924
- function k(D) {
4925
- let I = null;
4926
- if (D.order === "ascending" ? I = "ASC" : D.order === "descending" && (I = "DESC"), g.sorters) {
4930
+ const b = A(parseInt(e.query.pageSize) || 30), k = A(parseInt(e.query.page) || 1);
4931
+ function U(D) {
4932
+ let V = null;
4933
+ if (D.order === "ascending" ? V = "ASC" : D.order === "descending" && (V = "DESC"), g.sorters) {
4927
4934
  let ae = [];
4928
4935
  g.sorters.some((ie) => ie.field === D.prop) ? g.sorters.forEach((ie) => {
4929
- ie.field === D.prop && (ie.order = I, ie.name || ae.push(ie)), ie.name && ae.push(ie);
4936
+ ie.field === D.prop && (ie.order = V, ie.name || ae.push(ie)), ie.name && ae.push(ie);
4930
4937
  }) : ae = [
4931
4938
  ...g.sorters,
4932
- { field: D.prop, order: I }
4939
+ { field: D.prop, order: V }
4933
4940
  ], g.sorters = ae;
4934
4941
  } else
4935
- g.sorters = [{ field: D.prop, order: I }];
4936
- W();
4942
+ g.sorters = [{ field: D.prop, order: V }];
4943
+ I();
4937
4944
  }
4938
- function V() {
4939
- m.value = s.settings.operations(n);
4945
+ function Y() {
4946
+ l.value = s.settings.operations(n);
4940
4947
  }
4941
- function W() {
4942
- d.value = !0;
4948
+ function I() {
4949
+ p.value = !0;
4943
4950
  const D = {
4944
4951
  ...g,
4945
4952
  ...n,
4946
4953
  ...s.query,
4947
- page: b.value,
4948
- size: y.value
4954
+ page: k.value,
4955
+ size: b.value
4949
4956
  };
4950
- s.settings.rest.getList(D).then((I) => {
4951
- x.value.data = [], p.value = I.data.rows, S.value = I.data.count, d.value = !1;
4957
+ s.settings.rest.getList(D).then((V) => {
4958
+ m.value.data = [], S.value = V.data.rows, x.value = V.data.count, p.value = !1;
4952
4959
  });
4953
4960
  }
4954
- function q(D) {
4955
- b.value = D.page, y.value = D.size, W();
4961
+ function re(D) {
4962
+ k.value = D.page, b.value = D.size, I();
4956
4963
  }
4957
- function oe(D) {
4958
- const I = { id: D.id, enable: !D.enable };
4959
- s.settings.rest.enable(I).then(() => {
4960
- W();
4964
+ function St(D) {
4965
+ const V = { id: D.id, enable: !D.enable };
4966
+ s.settings.rest.enable(V).then(() => {
4967
+ I();
4961
4968
  });
4962
4969
  }
4963
- function Hn(D) {
4970
+ function Wn(D) {
4964
4971
  if (D.enable) {
4965
- const I = D.label === "上架" ? "下架" : "停用";
4966
- ElMessageBox.confirm(`确定要${I}该条数据吗?`, "提示", {
4972
+ const V = D.label === "上架" ? "下架" : "停用";
4973
+ ElMessageBox.confirm(`确定要${V}该条数据吗?`, "提示", {
4967
4974
  confirmButtonText: "确定",
4968
4975
  cancelButtonText: "取消",
4969
4976
  type: "warning"
4970
4977
  }).then(() => {
4971
- oe(D);
4978
+ St(D);
4972
4979
  }).catch(() => {
4973
4980
  });
4974
4981
  } else
4975
- oe(D);
4976
- }
4977
- function qn(D) {
4978
- x.value = D;
4979
- }
4980
- const St = A(0), Ot = A(0);
4981
- tn(l, (D) => {
4982
- var I;
4983
- St.value = ((I = D[0]) == null ? void 0 : I.contentRect.height) || 0;
4984
- }), tn(_, (D) => {
4985
- var I;
4986
- Ot.value = ((I = D[0]) == null ? void 0 : I.contentRect.height) || 0;
4982
+ St(D);
4983
+ }
4984
+ function Jn(D) {
4985
+ m.value = D;
4986
+ }
4987
+ const Ot = A(0), xt = A(0);
4988
+ sn(_, (D) => {
4989
+ var V;
4990
+ Ot.value = ((V = D[0]) == null ? void 0 : V.contentRect.height) || 0;
4991
+ }), sn(y, (D) => {
4992
+ var V;
4993
+ xt.value = ((V = D[0]) == null ? void 0 : V.contentRect.height) || 0;
4987
4994
  });
4988
- const Wn = N(() => `${St.value + Ot.value}px`);
4989
- return V(), (D, I) => (c(), $("div", {
4995
+ const Qn = N(() => `${Ot.value + xt.value}px`);
4996
+ return Y(), (D, V) => (c(), $("div", {
4990
4997
  key: s.settings.code,
4991
4998
  style: { height: "100%" }
4992
4999
  }, [
4993
5000
  C("div", {
4994
5001
  ref_key: "pageHeader",
4995
- ref: l
5002
+ ref: _
4996
5003
  }, [
4997
- O(ja, {
4998
- settings: s.settings
5004
+ O(Na, {
5005
+ settings: s.settings,
5006
+ "table-name": f(a)
4999
5007
  }, {
5000
5008
  operations: w(() => [
5001
- O(ii, {
5009
+ O(ui, {
5002
5010
  settings: s.settings,
5003
- "table-data-select": x.value,
5011
+ "table-data-select": m.value,
5004
5012
  query: f(n)
5005
5013
  }, null, 8, ["settings", "table-data-select", "query"]),
5006
- O(ai, {
5014
+ O(li, {
5007
5015
  settings: s.settings,
5008
- operations: m.value
5016
+ operations: l.value
5009
5017
  }, null, 8, ["settings", "operations"])
5010
5018
  ]),
5011
5019
  _: 1
5012
- }, 8, ["settings"])
5020
+ }, 8, ["settings", "table-name"])
5013
5021
  ], 512),
5014
- he((c(), E(ri, {
5022
+ he((c(), E(ii, {
5015
5023
  class: "data-table-box",
5016
- data: p.value,
5017
- operations: m.value,
5024
+ data: S.value,
5025
+ operations: l.value,
5018
5026
  settings: s.settings,
5019
5027
  "actions-width": s.settings.actionsWidth,
5020
- onSortColumn: k,
5021
- onEnableItem: Hn,
5022
- onSelectChange: qn
5028
+ onSortColumn: U,
5029
+ onEnableItem: Wn,
5030
+ onSelectChange: Jn
5023
5031
  }, Ce({ _: 2 }, [
5024
5032
  s.settings.rowActions(f(n)).length > 0 ? {
5025
5033
  name: "actions",
5026
5034
  fn: w(({ row: ae }) => [
5027
- O(Vn, {
5035
+ O(zn, {
5028
5036
  row: ae,
5029
5037
  settings: s.settings,
5030
5038
  query: f(n)
@@ -5033,41 +5041,41 @@ const xi = {
5033
5041
  key: "0"
5034
5042
  } : void 0
5035
5043
  ]), 1032, ["data", "operations", "settings", "actions-width"])), [
5036
- [f(ge), d.value]
5044
+ [f(ge), p.value]
5037
5045
  ]),
5038
5046
  C("div", {
5039
5047
  ref_key: "pagination",
5040
- ref: _
5048
+ ref: y
5041
5049
  }, [
5042
- O(ci, {
5043
- page: b.value,
5044
- size: y.value,
5045
- total: S.value,
5046
- onPageChange: q
5050
+ O(pi, {
5051
+ page: k.value,
5052
+ size: b.value,
5053
+ total: x.value,
5054
+ onPageChange: re
5047
5055
  }, null, 8, ["page", "size", "total"])
5048
5056
  ], 512)
5049
5057
  ]));
5050
5058
  }
5051
- }, zn = /* @__PURE__ */ j(xi, [["__scopeId", "data-v-9a31cd72"]]), ki = {
5059
+ }, Hn = /* @__PURE__ */ j(Ci, [["__scopeId", "data-v-4c769f38"]]), Ai = {
5052
5060
  key: 1,
5053
5061
  class: "loading-wrapper"
5054
- }, Ci = {
5062
+ }, Ri = {
5055
5063
  __name: "List",
5056
5064
  setup(t) {
5057
- const e = z(), n = e.meta.side, s = e.params.domain, o = Q(null);
5065
+ const e = M(), n = e.meta.side, s = e.params.domain, o = J(null);
5058
5066
  return bt(n, s).then((r) => {
5059
5067
  o.value = r;
5060
- }), (r, a) => o.value ? (c(), E(zn, {
5068
+ }), (r, a) => o.value ? (c(), E(Hn, {
5061
5069
  key: 0,
5062
5070
  settings: o.value
5063
- }, null, 8, ["settings"])) : he((c(), $("div", ki, null, 512)), [
5071
+ }, null, 8, ["settings"])) : he((c(), $("div", Ai, null, 512)), [
5064
5072
  [f(ge), !0]
5065
5073
  ]);
5066
5074
  }
5067
- }, ml = /* @__PURE__ */ j(Ci, [["__scopeId", "data-v-49ae0ff6"]]), Ai = { key: 0 }, Ri = { class: "key" }, Di = { class: "value" }, Ti = {
5075
+ }, gl = /* @__PURE__ */ j(Ri, [["__scopeId", "data-v-49ae0ff6"]]), Di = { key: 0 }, Ti = { class: "key" }, Fi = { class: "value" }, Li = {
5068
5076
  key: 1,
5069
5077
  class: "loading-wrapper"
5070
- }, Fi = {
5078
+ }, Pi = {
5071
5079
  __name: "DomainDescription",
5072
5080
  props: {
5073
5081
  settings: {
@@ -5079,7 +5087,7 @@ const xi = {
5079
5087
  },
5080
5088
  emits: ["done"],
5081
5089
  setup(t, { emit: e }) {
5082
- const n = e, s = t, o = re(), { updated: r } = pe(o), a = Q([]), i = A(null), u = [
5090
+ const n = e, s = t, o = oe(), { updated: r } = pe(o), a = J([]), i = A(null), u = [
5083
5091
  "image",
5084
5092
  "images",
5085
5093
  "attachments",
@@ -5114,7 +5122,7 @@ const xi = {
5114
5122
  },
5115
5123
  { immediate: !0 }
5116
5124
  ), (m, l) => (c(), $("div", null, [
5117
- i.value ? (c(), $("div", Ai, [
5125
+ i.value ? (c(), $("div", Di, [
5118
5126
  O(f(Oe), { gutter: 20 }, {
5119
5127
  default: w(() => [
5120
5128
  h.value ? (c(), E(f(we), {
@@ -5136,14 +5144,14 @@ const xi = {
5136
5144
  default: w(() => [
5137
5145
  O(f(Oe), { gutter: 20 }, {
5138
5146
  default: w(() => [
5139
- (c(!0), $(L, null, M(d.value, (_) => (c(), E(f(we), {
5147
+ (c(!0), $(L, null, H(d.value, (_) => (c(), E(f(we), {
5140
5148
  span: _.span,
5141
5149
  class: "mono-data",
5142
5150
  style: { "margin-bottom": "20px" }
5143
5151
  }, {
5144
5152
  default: w(() => [
5145
- C("div", Ri, F(_.label), 1),
5146
- C("div", Di, [
5153
+ C("div", Ti, F(_.label), 1),
5154
+ C("div", Fi, [
5147
5155
  _.code === "id" ? (c(), $(L, { key: 0 }, [
5148
5156
  B(F(i.value.id), 1)
5149
5157
  ], 64)) : (c(), E(K(_.display), {
@@ -5165,14 +5173,14 @@ const xi = {
5165
5173
  ]),
5166
5174
  _: 1
5167
5175
  }),
5168
- p.value.length > 0 ? (c(), E(f(_s), {
5176
+ p.value.length > 0 ? (c(), E(f(vs), {
5169
5177
  key: 0,
5170
5178
  modelValue: S.value,
5171
5179
  "onUpdate:modelValue": l[0] || (l[0] = (_) => S.value = _),
5172
5180
  class: "extend-fields"
5173
5181
  }, {
5174
5182
  default: w(() => [
5175
- (c(!0), $(L, null, M(p.value, (_) => (c(), E(f(ys), {
5183
+ (c(!0), $(L, null, H(p.value, (_) => (c(), E(f(bs), {
5176
5184
  title: _.label,
5177
5185
  name: _.code,
5178
5186
  class: "mono-data"
@@ -5189,12 +5197,12 @@ const xi = {
5189
5197
  ]),
5190
5198
  _: 1
5191
5199
  }, 8, ["modelValue"])) : T("", !0)
5192
- ])) : he((c(), $("div", Ti, null, 512)), [
5200
+ ])) : he((c(), $("div", Li, null, 512)), [
5193
5201
  [f(ge), !0]
5194
5202
  ])
5195
5203
  ]));
5196
5204
  }
5197
- }, Mn = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-27106b05"]]), Li = { class: "data-page-title" }, Pi = { class: "title" }, ji = {
5205
+ }, qn = /* @__PURE__ */ j(Pi, [["__scopeId", "data-v-27106b05"]]), ji = { class: "data-page-title" }, Bi = { class: "title" }, Ni = {
5198
5206
  __name: "DataDetailHeader",
5199
5207
  props: {
5200
5208
  data: {
@@ -5209,7 +5217,7 @@ const xi = {
5209
5217
  },
5210
5218
  emits: ["get-item"],
5211
5219
  setup(t, { emit: e }) {
5212
- const n = Et(), s = z(), o = Y(s), r = t, a = A("加载中..."), i = A({});
5220
+ const n = Et(), s = M(), o = G(s), r = t, a = A("加载中..."), i = A({});
5213
5221
  function u(d, p) {
5214
5222
  const S = `${d}-${p}`;
5215
5223
  n.updateTitleByCode(S, a.value), document.title = a.value;
@@ -5224,12 +5232,12 @@ const xi = {
5224
5232
  d && (i.value = r.settings.operations(o), h(d));
5225
5233
  },
5226
5234
  { immediate: !0 }
5227
- ), (d, p) => (c(), $("div", Li, [
5228
- C("div", Pi, F(a.value), 1),
5235
+ ), (d, p) => (c(), $("div", ji, [
5236
+ C("div", Bi, F(a.value), 1),
5229
5237
  C("div", null, [
5230
5238
  r.data ? (c(), E(f(de), { key: 0 }, {
5231
5239
  default: w(() => [
5232
- O(Vn, {
5240
+ O(zn, {
5233
5241
  row: r.data,
5234
5242
  settings: r.settings,
5235
5243
  query: f(o)
@@ -5246,7 +5254,7 @@ const xi = {
5246
5254
  ])
5247
5255
  ]));
5248
5256
  }
5249
- }, Bi = /* @__PURE__ */ j(ji, [["__scopeId", "data-v-b3976736"]]), Ni = {
5257
+ }, Ii = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-b3976736"]]), Vi = {
5250
5258
  __name: "DataDetailPage",
5251
5259
  props: {
5252
5260
  settings: {
@@ -5257,7 +5265,7 @@ const xi = {
5257
5265
  }
5258
5266
  },
5259
5267
  setup(t) {
5260
- const e = _e(), n = z(), s = Y(n), o = t, r = Q([]), a = A(""), i = Q(null), u = A(null), h = re();
5268
+ const e = _e(), n = M(), s = G(n), o = t, r = J([]), a = A(""), i = J(null), u = A(null), h = oe();
5261
5269
  pe(h), r.value = o.settings.fields.filter((x) => x.showInDetail !== !1);
5262
5270
  function d(x) {
5263
5271
  u.value = x;
@@ -5307,24 +5315,24 @@ const xi = {
5307
5315
  return c(), $("div", {
5308
5316
  key: `${f(n).params.domain}-${f(n).params.id}`
5309
5317
  }, [
5310
- O(Bi, {
5318
+ O(Ii, {
5311
5319
  data: u.value,
5312
5320
  settings: o.settings,
5313
5321
  query: { ...f(n).params, ...f(s) }
5314
5322
  }, null, 8, ["data", "settings", "query"]),
5315
- O(Mn, {
5323
+ O(qn, {
5316
5324
  query: { ...f(n).params, ...f(s) },
5317
5325
  settings: o.settings,
5318
5326
  onDone: d
5319
5327
  }, null, 8, ["query", "settings"]),
5320
- O(f(pn), {
5328
+ O(f(mn), {
5321
5329
  modelValue: a.value,
5322
5330
  "onUpdate:modelValue": m[0] || (m[0] = (_) => a.value = _),
5323
5331
  class: "association-tabs",
5324
5332
  onTabClick: p
5325
5333
  }, {
5326
5334
  default: w(() => [
5327
- (c(!0), $(L, null, M(o.associations, (_) => (c(), E(f(fn), {
5335
+ (c(!0), $(L, null, H(o.associations, (_) => (c(), E(f(hn), {
5328
5336
  label: _.name,
5329
5337
  name: _.domain
5330
5338
  }, null, 8, ["label", "name"]))), 256))
@@ -5338,13 +5346,13 @@ const xi = {
5338
5346
  ]);
5339
5347
  };
5340
5348
  }
5341
- }, Ii = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4881eb36"]]), Vi = {
5349
+ }, Ui = /* @__PURE__ */ j(Vi, [["__scopeId", "data-v-4881eb36"]]), zi = {
5342
5350
  key: 1,
5343
5351
  class: "loading-wrapper"
5344
- }, Ui = {
5352
+ }, Mi = {
5345
5353
  __name: "Detail",
5346
5354
  setup(t) {
5347
- const e = z(), n = e.meta.side, s = e.params.domain, o = Q(null), r = Q([]);
5355
+ const e = M(), n = e.meta.side, s = e.params.domain, o = J(null), r = J([]);
5348
5356
  bt(n, s).then((i) => {
5349
5357
  const u = i, h = a("has-many", u.hasMany), d = a("has-one", u.hasOne);
5350
5358
  o.value = u, r.value = h.concat(d);
@@ -5354,6 +5362,7 @@ const xi = {
5354
5362
  type: i,
5355
5363
  domain: h.code,
5356
5364
  name: h.name,
5365
+ tableName: h.tableName,
5357
5366
  query: h.query || (() => ({}))
5358
5367
  } : {
5359
5368
  type: i,
@@ -5362,18 +5371,18 @@ const xi = {
5362
5371
  query: () => ({})
5363
5372
  });
5364
5373
  }
5365
- return (i, u) => o.value ? (c(), E(Ii, {
5374
+ return (i, u) => o.value ? (c(), E(Ui, {
5366
5375
  key: 0,
5367
5376
  settings: o.value,
5368
5377
  associations: r.value
5369
- }, null, 8, ["settings", "associations"])) : he((c(), $("div", Vi, null, 512)), [
5378
+ }, null, 8, ["settings", "associations"])) : he((c(), $("div", zi, null, 512)), [
5370
5379
  [f(ge), !0]
5371
5380
  ]);
5372
5381
  }
5373
- }, hl = /* @__PURE__ */ j(Ui, [["__scopeId", "data-v-7c232776"]]), zi = { key: 0 }, Mi = {
5382
+ }, _l = /* @__PURE__ */ j(Mi, [["__scopeId", "data-v-22215155"]]), Hi = { key: 0 }, qi = {
5374
5383
  key: 1,
5375
5384
  class: "loading-wrapper"
5376
- }, Hi = {
5385
+ }, Wi = {
5377
5386
  __name: "DetailTab",
5378
5387
  props: {
5379
5388
  association: {
@@ -5381,7 +5390,7 @@ const xi = {
5381
5390
  }
5382
5391
  },
5383
5392
  setup(t) {
5384
- const e = z(), n = e.meta.side, s = Y(e), o = t, r = Q(null);
5393
+ const e = M(), n = e.meta.side, s = G(e), o = t, r = J(null);
5385
5394
  return P(
5386
5395
  () => e.params.association,
5387
5396
  () => {
@@ -5390,63 +5399,64 @@ const xi = {
5390
5399
  });
5391
5400
  },
5392
5401
  { immediate: !0 }
5393
- ), (a, i) => r.value && o.association.domainData ? (c(), $("div", zi, [
5394
- r.value.type === "has-many" ? (c(), E(zn, {
5402
+ ), (a, i) => r.value && o.association.domainData ? (c(), $("div", Hi, [
5403
+ r.value.type === "has-many" ? (c(), E(Hn, {
5395
5404
  key: `has-many-${r.value.domain}`,
5396
5405
  settings: r.value.settings,
5406
+ "has-many": o.association,
5397
5407
  query: r.value.query(o.association.domainData)
5398
- }, null, 8, ["settings", "query"])) : r.value.type === "has-one" ? (c(), E(Mn, {
5408
+ }, null, 8, ["settings", "has-many", "query"])) : r.value.type === "has-one" ? (c(), E(qn, {
5399
5409
  key: `has-one-${r.value.domain}`,
5400
5410
  style: { "padding-top": "20px" },
5401
5411
  query: f(s),
5402
5412
  settings: r.value.settings
5403
5413
  }, null, 8, ["query", "settings"])) : T("", !0)
5404
- ])) : he((c(), $("div", Mi, null, 512)), [
5414
+ ])) : he((c(), $("div", qi, null, 512)), [
5405
5415
  [f(ge), !0]
5406
5416
  ]);
5407
5417
  }
5408
- }, gl = /* @__PURE__ */ j(Hi, [["__scopeId", "data-v-bb501ead"]]);
5418
+ }, yl = /* @__PURE__ */ j(Wi, [["__scopeId", "data-v-79eac380"]]);
5409
5419
  export {
5410
- tl as A,
5411
- Go as B,
5420
+ sl as A,
5421
+ Ko as B,
5412
5422
  wt as C,
5413
- Zi as D,
5414
- nl as E,
5415
- za as F,
5416
- fl as G,
5417
- hl as H,
5418
- gl as I,
5419
- re as J,
5423
+ tl as D,
5424
+ ol as E,
5425
+ Ha as F,
5426
+ hl as G,
5427
+ _l as H,
5428
+ yl as I,
5429
+ oe as J,
5420
5430
  Et as K,
5421
- ml as L,
5422
- lr as S,
5423
- nr as W,
5431
+ gl as L,
5432
+ cr as S,
5433
+ or as W,
5424
5434
  j as _,
5425
- il as a,
5426
- Bn as b,
5427
- Yo as c,
5428
- al as d,
5429
- dl as e,
5430
- ol as f,
5435
+ ul as a,
5436
+ In as b,
5437
+ Xo as c,
5438
+ ll as d,
5439
+ fl as e,
5440
+ al as f,
5431
5441
  bt as g,
5432
- sl as h,
5442
+ rl as h,
5433
5443
  Me as i,
5434
- Rr as j,
5435
- U as k,
5436
- ll as l,
5437
- rl as m,
5438
- Vo as n,
5439
- Uo as o,
5440
- ul as p,
5441
- cl as q,
5442
- Gi as r,
5443
- Y as s,
5444
+ Tr as j,
5445
+ z as k,
5446
+ cl as l,
5447
+ il as m,
5448
+ zo as n,
5449
+ Mo as o,
5450
+ dl as p,
5451
+ pl as q,
5452
+ Ki as r,
5453
+ G as s,
5444
5454
  ee as t,
5445
- Xo as u,
5446
- pl as v,
5447
- Yi as w,
5448
- Ki as x,
5449
- Xi as y,
5450
- el as z
5455
+ er as u,
5456
+ ml as v,
5457
+ Xi as w,
5458
+ Zi as x,
5459
+ el as y,
5460
+ nl as z
5451
5461
  };
5452
- //# sourceMappingURL=index-VhXXlvT7.js.map
5462
+ //# sourceMappingURL=index-Dk2QM4KE.js.map