kouxiangtang 0.0.97 → 0.0.99

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 (60) hide show
  1. package/dist/{AttachmentUploader-NoWeqOkk.js → AttachmentUploader-D-2nXKBs.js} +2 -2
  2. package/dist/{AttachmentUploader-NoWeqOkk.js.map → AttachmentUploader-D-2nXKBs.js.map} +1 -1
  3. package/dist/{ImageUploader-zsC2h0aX.js → ImageUploader-Cw9mleCd.js} +2 -2
  4. package/dist/{ImageUploader-zsC2h0aX.js.map → ImageUploader-Cw9mleCd.js.map} +1 -1
  5. package/dist/{ImagesUploader-DF6isqFQ.js → ImagesUploader-CONMawm1.js} +2 -2
  6. package/dist/{ImagesUploader-DF6isqFQ.js.map → ImagesUploader-CONMawm1.js.map} +1 -1
  7. package/dist/{RichTextEditor-Y889dJnt.js → RichTextEditor-BwJcZj_9.js} +2 -2
  8. package/dist/{RichTextEditor-Y889dJnt.js.map → RichTextEditor-BwJcZj_9.js.map} +1 -1
  9. package/dist/{config-Bxl4Qa31.js → config-2Uro7VDl.js} +2 -2
  10. package/dist/config-2Uro7VDl.js.map +1 -0
  11. package/dist/{config-CTRMcboP.js → config-B2LFJAkE.js} +2 -2
  12. package/dist/{config-CTRMcboP.js.map → config-B2LFJAkE.js.map} +1 -1
  13. package/dist/{config-Dh3-JPZF.js → config-B9OGIgVQ.js} +3 -3
  14. package/dist/{config-Dh3-JPZF.js.map → config-B9OGIgVQ.js.map} +1 -1
  15. package/dist/{config-BUiTIZGn.js → config-BAlXRx87.js} +2 -2
  16. package/dist/{config-BUiTIZGn.js.map → config-BAlXRx87.js.map} +1 -1
  17. package/dist/{config-3vRpjcT7.js → config-BmiZfWDZ.js} +3 -3
  18. package/dist/{config-3vRpjcT7.js.map → config-BmiZfWDZ.js.map} +1 -1
  19. package/dist/{config-CgFRcnBi.js → config-C2JvWLJO.js} +2 -2
  20. package/dist/{config-CgFRcnBi.js.map → config-C2JvWLJO.js.map} +1 -1
  21. package/dist/{config-CYcj7J-o.js → config-C8V12N_y.js} +2 -2
  22. package/dist/{config-CYcj7J-o.js.map → config-C8V12N_y.js.map} +1 -1
  23. package/dist/{config-CFvanfuV.js → config-CCqWIgDD.js} +2 -2
  24. package/dist/{config-CFvanfuV.js.map → config-CCqWIgDD.js.map} +1 -1
  25. package/dist/{config-YJV5HV4J.js → config-CG6nxzhh.js} +2 -2
  26. package/dist/{config-YJV5HV4J.js.map → config-CG6nxzhh.js.map} +1 -1
  27. package/dist/{config-BUx3sloi.js → config-CKRv82bK.js} +2 -2
  28. package/dist/{config-BUx3sloi.js.map → config-CKRv82bK.js.map} +1 -1
  29. package/dist/{config-DWsmGOe4.js → config-CZ2b4BD_.js} +2 -2
  30. package/dist/{config-DWsmGOe4.js.map → config-CZ2b4BD_.js.map} +1 -1
  31. package/dist/{config-BI92Snqx.js → config-CZcbvgFB.js} +2 -2
  32. package/dist/{config-BI92Snqx.js.map → config-CZcbvgFB.js.map} +1 -1
  33. package/dist/config-D0pzXZn7.js +70 -0
  34. package/dist/{config-CI8B5t-F.js.map → config-D0pzXZn7.js.map} +1 -1
  35. package/dist/{config-3DY41Mp4.js → config-DYCPr-ak.js} +2 -2
  36. package/dist/config-DYCPr-ak.js.map +1 -0
  37. package/dist/{config-DblgYyzf.js → config-Do2YE-LG.js} +2 -2
  38. package/dist/config-Do2YE-LG.js.map +1 -0
  39. package/dist/{config-CjZUjDY2.js → config-DsvJ960-.js} +2 -2
  40. package/dist/{config-CjZUjDY2.js.map → config-DsvJ960-.js.map} +1 -1
  41. package/dist/{config-v-QQU1RL.js → config-Kon9HelW.js} +2 -2
  42. package/dist/{config-v-QQU1RL.js.map → config-Kon9HelW.js.map} +1 -1
  43. package/dist/{config-DpRuceEZ.js → config-PzfxtESd.js} +2 -2
  44. package/dist/{config-DpRuceEZ.js.map → config-PzfxtESd.js.map} +1 -1
  45. package/dist/{config-enmhhwQ8.js → config-ZXrBopa4.js} +3 -3
  46. package/dist/{config-enmhhwQ8.js.map → config-ZXrBopa4.js.map} +1 -1
  47. package/dist/{config-CrctYtyZ.js → config-bFU43ScC.js} +2 -2
  48. package/dist/{config-CrctYtyZ.js.map → config-bFU43ScC.js.map} +1 -1
  49. package/dist/{index-BCvBK2Fr.js → index-C3XecLh8.js} +673 -660
  50. package/dist/index-C3XecLh8.js.map +1 -0
  51. package/dist/kouxiangtang.js +1 -1
  52. package/dist/kouxiangtang.umd.cjs +7 -7
  53. package/dist/kouxiangtang.umd.cjs.map +1 -1
  54. package/dist/style.css +1 -1
  55. package/package.json +1 -1
  56. package/dist/config-3DY41Mp4.js.map +0 -1
  57. package/dist/config-Bxl4Qa31.js.map +0 -1
  58. package/dist/config-CI8B5t-F.js +0 -69
  59. package/dist/config-DblgYyzf.js.map +0 -1
  60. package/dist/index-BCvBK2Fr.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { openBlock as d, createBlock as $, unref as f, createSlots as Se, withCtx as v, renderSlot as G, createElementVNode as C, toDisplayString as j, resolveComponent as Qe, withDirectives as ye, createElementBlock as x, normalizeStyle as Ve, createVNode as O, createTextVNode as I, computed as N, Fragment as P, renderList as z, ref as F, reactive as Ce, watch as B, resolveDynamicComponent as Y, createCommentVNode as T, shallowRef as te, defineAsyncComponent as ts, normalizeClass as we, withModifiers as Lt, defineComponent as J, useSlots as Re, onMounted as pn, watchEffect as vt, pushScopeId as fn, popScopeId as mn, normalizeProps as jt, guardReactiveProps as Bt, getCurrentScope as ns, onScopeDispose as ss, getCurrentInstance as os, nextTick as as, useCssVars as rs } from "vue";
1
+ import { openBlock as d, createBlock as $, unref as f, createSlots as Se, withCtx as b, renderSlot as G, createElementVNode as A, toDisplayString as j, resolveComponent as Qe, withDirectives as ye, createElementBlock as x, normalizeStyle as Ve, createVNode as O, createTextVNode as I, computed as N, Fragment as P, renderList as z, ref as F, reactive as Ae, watch as B, resolveDynamicComponent as Y, createCommentVNode as T, shallowRef as te, defineAsyncComponent as ts, normalizeClass as we, withModifiers as Lt, defineComponent as J, useSlots as Re, onMounted as pn, watchEffect as vt, pushScopeId as fn, popScopeId as mn, normalizeProps as jt, guardReactiveProps as Bt, getCurrentScope as ns, onScopeDispose as ss, getCurrentInstance as os, nextTick as as, useCssVars as rs } from "vue";
2
2
  import { ElCard as bt, ElLink as is, vLoading as _e, ElRow as me, ElCol as pe, ElForm as hn, ElFormItem as rt, ElAlert as ls, ElButton as ne, ElMessageBox as us, ElMessage as De, ElDialog as cs, ElLoading as Ie, ElInputNumber as Vt, ElSelect as It, ElOption as Xe, ElSelectV2 as ds, ElTreeSelect as ps, ElDatePicker as Ze, ElInput as fs, ElButtonGroup as he, ElDropdown as it, ElDropdownMenu as lt, ElDropdownItem as de, ElIcon as K, ElEmpty as ms, ElImage as gn, ElTable as hs, ElTableColumn as Be, ElTooltip as yn, ElPagination as gs, ElText as ut, ElTabs as _n, ElTabPane as vn, ElSubMenu as ys, ElMenuItem as _s, ElScrollbar as vs, ElMenu as bs, ElConfigProvider as ws, ElContainer as Nt, ElHeader as Es, ElAside as $s, ElMain as Ss, ElCollapse as bn, ElCollapseItem as wn } from "element-plus";
3
3
  import { useRoute as M, useRouter as ve } from "vue-router";
4
4
  import { defineStore as wt, storeToRefs as ge } from "pinia";
@@ -19,7 +19,7 @@ function Os(t) {
19
19
  let e;
20
20
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && $n(t.buffer), e;
21
21
  }
22
- const As = Ge("string"), Z = Ge("function"), Sn = Ge("number"), Ye = (t) => t !== null && typeof t == "object", Cs = (t) => t === !0 || t === !1, Ne = (t) => {
22
+ const Cs = Ge("string"), Z = Ge("function"), Sn = Ge("number"), Ye = (t) => t !== null && typeof t == "object", As = (t) => t === !0 || t === !1, Ne = (t) => {
23
23
  if (Je(t) !== "object")
24
24
  return !1;
25
25
  const e = Et(t);
@@ -113,14 +113,14 @@ const Vs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, r) => {
113
113
  function(n, s, o) {
114
114
  return s.toUpperCase() + o;
115
115
  }
116
- ), Mt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Gs = re("RegExp"), An = (t, e) => {
116
+ ), Mt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Gs = re("RegExp"), Cn = (t, e) => {
117
117
  const n = Object.getOwnPropertyDescriptors(t), s = {};
118
118
  Te(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
122
  }, Ys = (t) => {
123
- An(t, (e, n) => {
123
+ Cn(t, (e, n) => {
124
124
  if (Z(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
125
125
  return !1;
126
126
  const s = t[n];
@@ -142,11 +142,11 @@ const Vs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, r) => {
142
142
  };
143
143
  return xe(t) ? s(t) : s(String(t).split(e)), n;
144
144
  }, Xs = () => {
145
- }, Zs = (t, e) => (t = +t, Number.isFinite(t) ? t : e), et = "abcdefghijklmnopqrstuvwxyz", Ut = "0123456789", Cn = {
145
+ }, Zs = (t, e) => (t = +t, Number.isFinite(t) ? t : e), et = "abcdefghijklmnopqrstuvwxyz", Ut = "0123456789", An = {
146
146
  DIGIT: Ut,
147
147
  ALPHA: et,
148
148
  ALPHA_DIGIT: et + et.toUpperCase() + Ut
149
- }, eo = (t = 16, e = Cn.ALPHA_DIGIT) => {
149
+ }, eo = (t = 16, e = An.ALPHA_DIGIT) => {
150
150
  let n = "";
151
151
  const { length: s } = e;
152
152
  for (; t--; )
@@ -173,15 +173,15 @@ const no = (t) => {
173
173
  return s;
174
174
  };
175
175
  return n(t, 0);
176
- }, so = re("AsyncFunction"), oo = (t) => t && (Ye(t) || Z(t)) && Z(t.then) && Z(t.catch), b = {
176
+ }, so = re("AsyncFunction"), oo = (t) => t && (Ye(t) || Z(t)) && Z(t.then) && Z(t.catch), w = {
177
177
  isArray: xe,
178
178
  isArrayBuffer: $n,
179
179
  isBuffer: ks,
180
180
  isFormData: Ls,
181
181
  isArrayBufferView: Os,
182
- isString: As,
182
+ isString: Cs,
183
183
  isNumber: Sn,
184
- isBoolean: Cs,
184
+ isBoolean: As,
185
185
  isObject: Ye,
186
186
  isPlainObject: Ne,
187
187
  isUndefined: Fe,
@@ -211,7 +211,7 @@ const no = (t) => {
211
211
  hasOwnProperty: Mt,
212
212
  hasOwnProp: Mt,
213
213
  // an alias to avoid ESLint no-prototype-builtins detection
214
- reduceDescriptors: An,
214
+ reduceDescriptors: Cn,
215
215
  freezeMethods: Ys,
216
216
  toObjectSet: Ks,
217
217
  toCamelCase: Js,
@@ -220,7 +220,7 @@ const no = (t) => {
220
220
  findKey: xn,
221
221
  global: kn,
222
222
  isContextDefined: On,
223
- ALPHABET: Cn,
223
+ ALPHABET: An,
224
224
  generateString: eo,
225
225
  isSpecCompliantForm: to,
226
226
  toJSONObject: no,
@@ -230,7 +230,7 @@ const no = (t) => {
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);
232
232
  }
233
- b.inherits(R, Error, {
233
+ w.inherits(R, Error, {
234
234
  toJSON: function() {
235
235
  return {
236
236
  // Standard
@@ -245,7 +245,7 @@ b.inherits(R, Error, {
245
245
  columnNumber: this.columnNumber,
246
246
  stack: this.stack,
247
247
  // Axios
248
- config: b.toJSONObject(this.config),
248
+ config: w.toJSONObject(this.config),
249
249
  code: this.code,
250
250
  status: this.response && this.response.status ? this.response.status : null
251
251
  };
@@ -273,16 +273,16 @@ Object.defineProperties(R, Fn);
273
273
  Object.defineProperty(Dn, "isAxiosError", { value: !0 });
274
274
  R.from = (t, e, n, s, o, r) => {
275
275
  const a = Object.create(Dn);
276
- return b.toFlatObject(t, a, function(p) {
276
+ return w.toFlatObject(t, a, function(p) {
277
277
  return p !== 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
280
  const ao = null;
281
281
  function dt(t) {
282
- return b.isPlainObject(t) || b.isArray(t);
282
+ return w.isPlainObject(t) || w.isArray(t);
283
283
  }
284
284
  function Rn(t) {
285
- return b.endsWith(t, "[]") ? t.slice(0, -2) : t;
285
+ return w.endsWith(t, "[]") ? t.slice(0, -2) : t;
286
286
  }
287
287
  function zt(t, e, n) {
288
288
  return t ? t.concat(e).map(function(o, r) {
@@ -290,41 +290,41 @@ function zt(t, e, n) {
290
290
  }).join(n ? "." : "") : e;
291
291
  }
292
292
  function ro(t) {
293
- return b.isArray(t) && !t.some(dt);
293
+ return w.isArray(t) && !t.some(dt);
294
294
  }
295
- const io = b.toFlatObject(b, {}, null, function(e) {
295
+ const io = w.toFlatObject(w, {}, null, function(e) {
296
296
  return /^is[A-Z]/.test(e);
297
297
  });
298
298
  function Ke(t, e, n) {
299
- if (!b.isObject(t))
299
+ if (!w.isObject(t))
300
300
  throw new TypeError("target must be an object");
301
- e = e || new FormData(), n = b.toFlatObject(n, {
301
+ e = e || new FormData(), n = w.toFlatObject(n, {
302
302
  metaTokens: !0,
303
303
  dots: !1,
304
304
  indexes: !1
305
305
  }, !1, function(m, _) {
306
- return !b.isUndefined(_[m]);
306
+ return !w.isUndefined(_[m]);
307
307
  });
308
- const s = n.metaTokens, o = n.visitor || l, r = n.dots, a = n.indexes, p = (n.Blob || typeof Blob < "u" && Blob) && b.isSpecCompliantForm(e);
309
- if (!b.isFunction(o))
308
+ const s = n.metaTokens, o = n.visitor || u, r = n.dots, a = n.indexes, p = (n.Blob || typeof Blob < "u" && Blob) && w.isSpecCompliantForm(e);
309
+ if (!w.isFunction(o))
310
310
  throw new TypeError("visitor must be a function");
311
311
  function h(g) {
312
312
  if (g === null)
313
313
  return "";
314
- if (b.isDate(g))
314
+ if (w.isDate(g))
315
315
  return g.toISOString();
316
- if (!p && b.isBlob(g))
316
+ if (!p && w.isBlob(g))
317
317
  throw new R("Blob is not supported. Use a Buffer instead.");
318
- return b.isArrayBuffer(g) || b.isTypedArray(g) ? p && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
318
+ return w.isArrayBuffer(g) || w.isTypedArray(g) ? p && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
319
319
  }
320
- function l(g, m, _) {
320
+ function u(g, m, _) {
321
321
  let E = g;
322
322
  if (g && !_ && typeof g == "object") {
323
- if (b.endsWith(m, "{}"))
323
+ if (w.endsWith(m, "{}"))
324
324
  m = s ? m : m.slice(0, -2), g = JSON.stringify(g);
325
- else if (b.isArray(g) && ro(g) || (b.isFileList(g) || b.endsWith(m, "[]")) && (E = b.toArray(g)))
325
+ else if (w.isArray(g) && ro(g) || (w.isFileList(g) || w.endsWith(m, "[]")) && (E = w.toArray(g)))
326
326
  return m = Rn(m), E.forEach(function(k, y) {
327
- !(b.isUndefined(k) || k === null) && e.append(
327
+ !(w.isUndefined(k) || k === null) && e.append(
328
328
  // eslint-disable-next-line no-nested-ternary
329
329
  a === !0 ? zt([m], y, r) : a === null ? m : m + "[]",
330
330
  h(k)
@@ -333,27 +333,27 @@ function Ke(t, e, n) {
333
333
  }
334
334
  return dt(g) ? !0 : (e.append(zt(_, m, r), h(g)), !1);
335
335
  }
336
- const u = [], w = Object.assign(io, {
337
- defaultVisitor: l,
336
+ const l = [], v = Object.assign(io, {
337
+ defaultVisitor: u,
338
338
  convertValue: h,
339
339
  isVisitable: dt
340
340
  });
341
341
  function S(g, m) {
342
- if (!b.isUndefined(g)) {
343
- if (u.indexOf(g) !== -1)
342
+ if (!w.isUndefined(g)) {
343
+ if (l.indexOf(g) !== -1)
344
344
  throw Error("Circular reference detected in " + m.join("."));
345
- u.push(g), b.forEach(g, function(E, c) {
346
- (!(b.isUndefined(E) || E === null) && o.call(
345
+ l.push(g), w.forEach(g, function(E, c) {
346
+ (!(w.isUndefined(E) || E === null) && o.call(
347
347
  e,
348
348
  E,
349
- b.isString(c) ? c.trim() : c,
349
+ w.isString(c) ? c.trim() : c,
350
350
  m,
351
- w
351
+ v
352
352
  )) === !0 && S(E, m ? m.concat(c) : [c]);
353
- }), u.pop();
353
+ }), l.pop();
354
354
  }
355
355
  }
356
- if (!b.isObject(t))
356
+ if (!w.isObject(t))
357
357
  throw new TypeError("data must be an object");
358
358
  return S(t), e;
359
359
  }
@@ -394,7 +394,7 @@ function Pn(t, e, n) {
394
394
  return t;
395
395
  const s = n && n.encode || lo, o = n && n.serialize;
396
396
  let r;
397
- if (o ? r = o(e, n) : r = b.isURLSearchParams(e) ? e.toString() : new $t(e, n).toString(s), r) {
397
+ if (o ? r = o(e, n) : r = w.isURLSearchParams(e) ? e.toString() : new $t(e, n).toString(s), r) {
398
398
  const a = t.indexOf("#");
399
399
  a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + r;
400
400
  }
@@ -449,7 +449,7 @@ class qt {
449
449
  * @returns {void}
450
450
  */
451
451
  forEach(e) {
452
- b.forEach(this.handlers, function(s) {
452
+ w.forEach(this.handlers, function(s) {
453
453
  s !== null && e(s);
454
454
  });
455
455
  }
@@ -479,12 +479,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", go
479
479
  function yo(t, e) {
480
480
  return Ke(t, new ae.classes.URLSearchParams(), Object.assign({
481
481
  visitor: function(n, s, o, r) {
482
- return ae.isNode && b.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
482
+ return ae.isNode && w.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
483
483
  }
484
484
  }, e));
485
485
  }
486
486
  function _o(t) {
487
- return b.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
487
+ return w.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
488
488
  }
489
489
  function vo(t) {
490
490
  const e = {}, n = Object.keys(t);
@@ -501,20 +501,20 @@ function Bn(t) {
501
501
  if (a === "__proto__")
502
502
  return !0;
503
503
  const i = Number.isFinite(+a), p = r >= n.length;
504
- return a = !a && b.isArray(o) ? o.length : a, p ? (b.hasOwnProp(o, a) ? o[a] = [o[a], s] : o[a] = s, !i) : ((!o[a] || !b.isObject(o[a])) && (o[a] = []), e(n, s, o[a], r) && b.isArray(o[a]) && (o[a] = vo(o[a])), !i);
504
+ return a = !a && w.isArray(o) ? o.length : a, p ? (w.hasOwnProp(o, a) ? o[a] = [o[a], s] : o[a] = s, !i) : ((!o[a] || !w.isObject(o[a])) && (o[a] = []), e(n, s, o[a], r) && w.isArray(o[a]) && (o[a] = vo(o[a])), !i);
505
505
  }
506
- if (b.isFormData(t) && b.isFunction(t.entries)) {
506
+ if (w.isFormData(t) && w.isFunction(t.entries)) {
507
507
  const n = {};
508
- return b.forEachEntry(t, (s, o) => {
508
+ return w.forEachEntry(t, (s, o) => {
509
509
  e(_o(s), o, n, 0);
510
510
  }), n;
511
511
  }
512
512
  return null;
513
513
  }
514
514
  function bo(t, e, n) {
515
- if (b.isString(t))
515
+ if (w.isString(t))
516
516
  try {
517
- return (e || JSON.parse)(t), b.trim(t);
517
+ return (e || JSON.parse)(t), w.trim(t);
518
518
  } catch (s) {
519
519
  if (s.name !== "SyntaxError")
520
520
  throw s;
@@ -525,20 +525,20 @@ const Pe = {
525
525
  transitional: Ln,
526
526
  adapter: ["xhr", "http"],
527
527
  transformRequest: [function(e, n) {
528
- const s = n.getContentType() || "", o = s.indexOf("application/json") > -1, r = b.isObject(e);
529
- if (r && b.isHTMLForm(e) && (e = new FormData(e)), b.isFormData(e))
528
+ const s = n.getContentType() || "", o = s.indexOf("application/json") > -1, r = w.isObject(e);
529
+ if (r && w.isHTMLForm(e) && (e = new FormData(e)), w.isFormData(e))
530
530
  return o ? JSON.stringify(Bn(e)) : e;
531
- if (b.isArrayBuffer(e) || b.isBuffer(e) || b.isStream(e) || b.isFile(e) || b.isBlob(e))
531
+ if (w.isArrayBuffer(e) || w.isBuffer(e) || w.isStream(e) || w.isFile(e) || w.isBlob(e))
532
532
  return e;
533
- if (b.isArrayBufferView(e))
533
+ if (w.isArrayBufferView(e))
534
534
  return e.buffer;
535
- if (b.isURLSearchParams(e))
535
+ if (w.isURLSearchParams(e))
536
536
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
537
537
  let i;
538
538
  if (r) {
539
539
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
540
540
  return yo(e, this.formSerializer).toString();
541
- if ((i = b.isFileList(e)) || s.indexOf("multipart/form-data") > -1) {
541
+ if ((i = w.isFileList(e)) || s.indexOf("multipart/form-data") > -1) {
542
542
  const p = this.env && this.env.FormData;
543
543
  return Ke(
544
544
  i ? { "files[]": e } : e,
@@ -551,7 +551,7 @@ const Pe = {
551
551
  }],
552
552
  transformResponse: [function(e) {
553
553
  const n = this.transitional || Pe.transitional, s = n && n.forcedJSONParsing, o = this.responseType === "json";
554
- if (e && b.isString(e) && (s && !this.responseType || o)) {
554
+ if (e && w.isString(e) && (s && !this.responseType || o)) {
555
555
  const a = !(n && n.silentJSONParsing) && o;
556
556
  try {
557
557
  return JSON.parse(e);
@@ -585,10 +585,10 @@ const Pe = {
585
585
  }
586
586
  }
587
587
  };
588
- b.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
588
+ w.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
589
589
  Pe.headers[t] = {};
590
590
  });
591
- const wo = b.toObjectSet([
591
+ const wo = w.toObjectSet([
592
592
  "age",
593
593
  "authorization",
594
594
  "content-length",
@@ -618,7 +618,7 @@ function Oe(t) {
618
618
  return t && String(t).trim().toLowerCase();
619
619
  }
620
620
  function Me(t) {
621
- return t === !1 || t == null ? t : b.isArray(t) ? t.map(Me) : String(t);
621
+ return t === !1 || t == null ? t : w.isArray(t) ? t.map(Me) : String(t);
622
622
  }
623
623
  function $o(t) {
624
624
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -629,12 +629,12 @@ function $o(t) {
629
629
  }
630
630
  const So = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
631
631
  function tt(t, e, n, s, o) {
632
- if (b.isFunction(s))
632
+ if (w.isFunction(s))
633
633
  return s.call(this, e, n);
634
- if (o && (e = n), !!b.isString(e)) {
635
- if (b.isString(s))
634
+ if (o && (e = n), !!w.isString(e)) {
635
+ if (w.isString(s))
636
636
  return e.indexOf(s) !== -1;
637
- if (b.isRegExp(s))
637
+ if (w.isRegExp(s))
638
638
  return s.test(e);
639
639
  }
640
640
  }
@@ -642,7 +642,7 @@ function xo(t) {
642
642
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, s) => n.toUpperCase() + s);
643
643
  }
644
644
  function ko(t, e) {
645
- const n = b.toCamelCase(" " + e);
645
+ const n = w.toCamelCase(" " + e);
646
646
  ["get", "set", "has"].forEach((s) => {
647
647
  Object.defineProperty(t, s + n, {
648
648
  value: function(o, r, a) {
@@ -659,27 +659,27 @@ class ee {
659
659
  set(e, n, s) {
660
660
  const o = this;
661
661
  function r(i, p, h) {
662
- const l = Oe(p);
663
- if (!l)
662
+ const u = Oe(p);
663
+ if (!u)
664
664
  throw new Error("header name must be a non-empty string");
665
- const u = b.findKey(o, l);
666
- (!u || o[u] === void 0 || h === !0 || h === void 0 && o[u] !== !1) && (o[u || p] = Me(i));
665
+ const l = w.findKey(o, u);
666
+ (!l || o[l] === void 0 || h === !0 || h === void 0 && o[l] !== !1) && (o[l || p] = Me(i));
667
667
  }
668
- const a = (i, p) => b.forEach(i, (h, l) => r(h, l, p));
669
- return b.isPlainObject(e) || e instanceof this.constructor ? a(e, n) : b.isString(e) && (e = e.trim()) && !So(e) ? a(Eo(e), n) : e != null && r(n, e, s), this;
668
+ const a = (i, p) => w.forEach(i, (h, u) => r(h, u, p));
669
+ return w.isPlainObject(e) || e instanceof this.constructor ? a(e, n) : w.isString(e) && (e = e.trim()) && !So(e) ? a(Eo(e), n) : e != null && r(n, e, s), this;
670
670
  }
671
671
  get(e, n) {
672
672
  if (e = Oe(e), e) {
673
- const s = b.findKey(this, e);
673
+ const s = w.findKey(this, e);
674
674
  if (s) {
675
675
  const o = this[s];
676
676
  if (!n)
677
677
  return o;
678
678
  if (n === !0)
679
679
  return $o(o);
680
- if (b.isFunction(n))
680
+ if (w.isFunction(n))
681
681
  return n.call(this, o, s);
682
- if (b.isRegExp(n))
682
+ if (w.isRegExp(n))
683
683
  return n.exec(o);
684
684
  throw new TypeError("parser must be boolean|regexp|function");
685
685
  }
@@ -687,7 +687,7 @@ class ee {
687
687
  }
688
688
  has(e, n) {
689
689
  if (e = Oe(e), e) {
690
- const s = b.findKey(this, e);
690
+ const s = w.findKey(this, e);
691
691
  return !!(s && this[s] !== void 0 && (!n || tt(this, this[s], s, n)));
692
692
  }
693
693
  return !1;
@@ -697,11 +697,11 @@ class ee {
697
697
  let o = !1;
698
698
  function r(a) {
699
699
  if (a = Oe(a), a) {
700
- const i = b.findKey(s, a);
700
+ const i = w.findKey(s, a);
701
701
  i && (!n || tt(s, s[i], i, n)) && (delete s[i], o = !0);
702
702
  }
703
703
  }
704
- return b.isArray(e) ? e.forEach(r) : r(e), o;
704
+ return w.isArray(e) ? e.forEach(r) : r(e), o;
705
705
  }
706
706
  clear(e) {
707
707
  const n = Object.keys(this);
@@ -714,8 +714,8 @@ class ee {
714
714
  }
715
715
  normalize(e) {
716
716
  const n = this, s = {};
717
- return b.forEach(this, (o, r) => {
718
- const a = b.findKey(s, r);
717
+ return w.forEach(this, (o, r) => {
718
+ const a = w.findKey(s, r);
719
719
  if (a) {
720
720
  n[a] = Me(o), delete n[r];
721
721
  return;
@@ -729,8 +729,8 @@ class ee {
729
729
  }
730
730
  toJSON(e) {
731
731
  const n = /* @__PURE__ */ Object.create(null);
732
- return b.forEach(this, (s, o) => {
733
- s != null && s !== !1 && (n[o] = e && b.isArray(s) ? s.join(", ") : s);
732
+ return w.forEach(this, (s, o) => {
733
+ s != null && s !== !1 && (n[o] = e && w.isArray(s) ? s.join(", ") : s);
734
734
  }), n;
735
735
  }
736
736
  [Symbol.iterator]() {
@@ -758,11 +758,11 @@ class ee {
758
758
  const i = Oe(a);
759
759
  s[i] || (ko(o, a), s[i] = !0);
760
760
  }
761
- return b.isArray(e) ? e.forEach(r) : r(e), this;
761
+ return w.isArray(e) ? e.forEach(r) : r(e), this;
762
762
  }
763
763
  }
764
764
  ee.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
765
- b.reduceDescriptors(ee.prototype, ({ value: t }, e) => {
765
+ w.reduceDescriptors(ee.prototype, ({ value: t }, e) => {
766
766
  let n = e[0].toUpperCase() + e.slice(1);
767
767
  return {
768
768
  get: () => t,
@@ -771,11 +771,11 @@ b.reduceDescriptors(ee.prototype, ({ value: t }, e) => {
771
771
  }
772
772
  };
773
773
  });
774
- b.freezeMethods(ee);
774
+ w.freezeMethods(ee);
775
775
  function nt(t, e) {
776
776
  const n = this || Pe, s = e || n, o = ee.from(s.headers);
777
777
  let r = s.data;
778
- return b.forEach(t, function(i) {
778
+ return w.forEach(t, function(i) {
779
779
  r = i.call(n, r, o.normalize(), e ? e.status : void 0);
780
780
  }), o.normalize(), r;
781
781
  }
@@ -785,7 +785,7 @@ function Vn(t) {
785
785
  function Le(t, e, n) {
786
786
  R.call(this, t ?? "canceled", R.ERR_CANCELED, e, n), this.name = "CanceledError";
787
787
  }
788
- b.inherits(Le, R, {
788
+ w.inherits(Le, R, {
789
789
  __CANCEL__: !0
790
790
  });
791
791
  function Oo(t, e, n) {
@@ -798,12 +798,12 @@ function Oo(t, e, n) {
798
798
  n
799
799
  ));
800
800
  }
801
- const Ao = ae.hasStandardBrowserEnv ? (
801
+ const Co = ae.hasStandardBrowserEnv ? (
802
802
  // Standard browser envs support document.cookie
803
803
  {
804
804
  write(t, e, n, s, o, r) {
805
805
  const a = [t + "=" + encodeURIComponent(e)];
806
- b.isNumber(n) && a.push("expires=" + new Date(n).toGMTString()), b.isString(s) && a.push("path=" + s), b.isString(o) && a.push("domain=" + o), r === !0 && a.push("secure"), document.cookie = a.join("; ");
806
+ w.isNumber(n) && a.push("expires=" + new Date(n).toGMTString()), w.isString(s) && a.push("path=" + s), w.isString(o) && a.push("domain=" + o), r === !0 && a.push("secure"), document.cookie = a.join("; ");
807
807
  },
808
808
  read(t) {
809
809
  const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
@@ -825,14 +825,14 @@ const Ao = ae.hasStandardBrowserEnv ? (
825
825
  }
826
826
  }
827
827
  );
828
- function Co(t) {
828
+ function Ao(t) {
829
829
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
830
830
  }
831
831
  function Do(t, e) {
832
832
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
833
833
  }
834
834
  function In(t, e) {
835
- return t && !Co(e) ? Do(t, e) : e;
835
+ return t && !Ao(e) ? Do(t, e) : e;
836
836
  }
837
837
  const Fo = ae.hasStandardBrowserEnv ? (
838
838
  // Standard browser envs have full support of the APIs needed to test
@@ -854,7 +854,7 @@ const Fo = ae.hasStandardBrowserEnv ? (
854
854
  };
855
855
  }
856
856
  return s = o(window.location.href), function(a) {
857
- const i = b.isString(a) ? o(a) : a;
857
+ const i = w.isString(a) ? o(a) : a;
858
858
  return i.protocol === s.protocol && i.host === s.host;
859
859
  };
860
860
  }()
@@ -875,15 +875,15 @@ function To(t, e) {
875
875
  const n = new Array(t), s = new Array(t);
876
876
  let o = 0, r = 0, a;
877
877
  return e = e !== void 0 ? e : 1e3, function(p) {
878
- const h = Date.now(), l = s[r];
878
+ const h = Date.now(), u = s[r];
879
879
  a || (a = h), n[o] = p, s[o] = h;
880
- let u = r, w = 0;
881
- for (; u !== o; )
882
- w += n[u++], u = u % t;
880
+ let l = r, v = 0;
881
+ for (; l !== o; )
882
+ v += n[l++], l = l % t;
883
883
  if (o = (o + 1) % t, o === r && (r = (r + 1) % t), h - a < e)
884
884
  return;
885
- const S = l && h - l;
886
- return S ? Math.round(w * 1e3 / S) : void 0;
885
+ const S = u && h - u;
886
+ return S ? Math.round(v * 1e3 / S) : void 0;
887
887
  };
888
888
  }
889
889
  function Qt(t, e) {
@@ -892,7 +892,7 @@ function Qt(t, e) {
892
892
  return (o) => {
893
893
  const r = o.loaded, a = o.lengthComputable ? o.total : void 0, i = r - n, p = s(i), h = r <= a;
894
894
  n = r;
895
- const l = {
895
+ const u = {
896
896
  loaded: r,
897
897
  total: a,
898
898
  progress: a ? r / a : void 0,
@@ -901,7 +901,7 @@ function Qt(t, e) {
901
901
  estimated: p && a && h ? (a - r) / p : void 0,
902
902
  event: o
903
903
  };
904
- l[e ? "download" : "upload"] = !0, t(l);
904
+ u[e ? "download" : "upload"] = !0, t(u);
905
905
  };
906
906
  }
907
907
  const Po = typeof XMLHttpRequest < "u", Lo = Po && function(t) {
@@ -912,77 +912,77 @@ const Po = typeof XMLHttpRequest < "u", Lo = Po && function(t) {
912
912
  function h() {
913
913
  t.cancelToken && t.cancelToken.unsubscribe(p), t.signal && t.signal.removeEventListener("abort", p);
914
914
  }
915
- let l;
916
- if (b.isFormData(o)) {
915
+ let u;
916
+ if (w.isFormData(o)) {
917
917
  if (ae.hasStandardBrowserEnv || ae.hasStandardBrowserWebWorkerEnv)
918
918
  r.setContentType(!1);
919
- else if ((l = r.getContentType()) !== !1) {
920
- const [m, ..._] = l ? l.split(";").map((E) => E.trim()).filter(Boolean) : [];
919
+ else if ((u = r.getContentType()) !== !1) {
920
+ const [m, ..._] = u ? u.split(";").map((E) => E.trim()).filter(Boolean) : [];
921
921
  r.setContentType([m || "multipart/form-data", ..._].join("; "));
922
922
  }
923
923
  }
924
- let u = new XMLHttpRequest();
924
+ let l = new XMLHttpRequest();
925
925
  if (t.auth) {
926
926
  const m = t.auth.username || "", _ = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
927
927
  r.set("Authorization", "Basic " + btoa(m + ":" + _));
928
928
  }
929
- const w = In(t.baseURL, t.url);
930
- u.open(t.method.toUpperCase(), Pn(w, t.params, t.paramsSerializer), !0), u.timeout = t.timeout;
929
+ const v = In(t.baseURL, t.url);
930
+ l.open(t.method.toUpperCase(), Pn(v, t.params, t.paramsSerializer), !0), l.timeout = t.timeout;
931
931
  function S() {
932
- if (!u)
932
+ if (!l)
933
933
  return;
934
934
  const m = ee.from(
935
- "getAllResponseHeaders" in u && u.getAllResponseHeaders()
935
+ "getAllResponseHeaders" in l && l.getAllResponseHeaders()
936
936
  ), E = {
937
- data: !a || a === "text" || a === "json" ? u.responseText : u.response,
938
- status: u.status,
939
- statusText: u.statusText,
937
+ data: !a || a === "text" || a === "json" ? l.responseText : l.response,
938
+ status: l.status,
939
+ statusText: l.statusText,
940
940
  headers: m,
941
941
  config: t,
942
- request: u
942
+ request: l
943
943
  };
944
944
  Oo(function(k) {
945
945
  n(k), h();
946
946
  }, function(k) {
947
947
  s(k), h();
948
- }, E), u = null;
949
- }
950
- if ("onloadend" in u ? u.onloadend = S : u.onreadystatechange = function() {
951
- !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(S);
952
- }, u.onabort = function() {
953
- u && (s(new R("Request aborted", R.ECONNABORTED, t, u)), u = null);
954
- }, u.onerror = function() {
955
- s(new R("Network Error", R.ERR_NETWORK, t, u)), u = null;
956
- }, u.ontimeout = function() {
948
+ }, E), l = null;
949
+ }
950
+ if ("onloadend" in l ? l.onloadend = S : l.onreadystatechange = function() {
951
+ !l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(S);
952
+ }, l.onabort = function() {
953
+ l && (s(new R("Request aborted", R.ECONNABORTED, t, l)), l = null);
954
+ }, l.onerror = function() {
955
+ s(new R("Network Error", R.ERR_NETWORK, t, l)), l = null;
956
+ }, l.ontimeout = function() {
957
957
  let _ = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
958
958
  const E = t.transitional || Ln;
959
959
  t.timeoutErrorMessage && (_ = t.timeoutErrorMessage), s(new R(
960
960
  _,
961
961
  E.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
962
962
  t,
963
- u
964
- )), u = null;
965
- }, ae.hasStandardBrowserEnv && (i && b.isFunction(i) && (i = i(t)), i || i !== !1 && Fo(w))) {
966
- const m = t.xsrfHeaderName && t.xsrfCookieName && Ao.read(t.xsrfCookieName);
963
+ l
964
+ )), l = null;
965
+ }, ae.hasStandardBrowserEnv && (i && w.isFunction(i) && (i = i(t)), i || i !== !1 && Fo(v))) {
966
+ const m = t.xsrfHeaderName && t.xsrfCookieName && Co.read(t.xsrfCookieName);
967
967
  m && r.set(t.xsrfHeaderName, m);
968
968
  }
969
- o === void 0 && r.setContentType(null), "setRequestHeader" in u && b.forEach(r.toJSON(), function(_, E) {
970
- u.setRequestHeader(E, _);
971
- }), b.isUndefined(t.withCredentials) || (u.withCredentials = !!t.withCredentials), a && a !== "json" && (u.responseType = t.responseType), typeof t.onDownloadProgress == "function" && u.addEventListener("progress", Qt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Qt(t.onUploadProgress)), (t.cancelToken || t.signal) && (p = (m) => {
972
- u && (s(!m || m.type ? new Le(null, t, u) : m), u.abort(), u = null);
969
+ o === void 0 && r.setContentType(null), "setRequestHeader" in l && w.forEach(r.toJSON(), function(_, E) {
970
+ l.setRequestHeader(E, _);
971
+ }), w.isUndefined(t.withCredentials) || (l.withCredentials = !!t.withCredentials), a && a !== "json" && (l.responseType = t.responseType), typeof t.onDownloadProgress == "function" && l.addEventListener("progress", Qt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Qt(t.onUploadProgress)), (t.cancelToken || t.signal) && (p = (m) => {
972
+ l && (s(!m || m.type ? new Le(null, t, l) : m), l.abort(), l = null);
973
973
  }, t.cancelToken && t.cancelToken.subscribe(p), t.signal && (t.signal.aborted ? p() : t.signal.addEventListener("abort", p)));
974
- const g = Ro(w);
974
+ const g = Ro(v);
975
975
  if (g && ae.protocols.indexOf(g) === -1) {
976
976
  s(new R("Unsupported protocol " + g + ":", R.ERR_BAD_REQUEST, t));
977
977
  return;
978
978
  }
979
- u.send(o || null);
979
+ l.send(o || null);
980
980
  });
981
981
  }, pt = {
982
982
  http: ao,
983
983
  xhr: Lo
984
984
  };
985
- b.forEach(pt, (t, e) => {
985
+ w.forEach(pt, (t, e) => {
986
986
  if (t) {
987
987
  try {
988
988
  Object.defineProperty(t, "name", { value: e });
@@ -991,9 +991,9 @@ b.forEach(pt, (t, e) => {
991
991
  Object.defineProperty(t, "adapterName", { value: e });
992
992
  }
993
993
  });
994
- const Jt = (t) => `- ${t}`, jo = (t) => b.isFunction(t) || t === null || t === !1, Nn = {
994
+ const Jt = (t) => `- ${t}`, jo = (t) => w.isFunction(t) || t === null || t === !1, Nn = {
995
995
  getAdapter: (t) => {
996
- t = b.isArray(t) ? t : [t];
996
+ t = w.isArray(t) ? t : [t];
997
997
  const { length: e } = t;
998
998
  let n, s;
999
999
  const o = {};
@@ -1048,31 +1048,31 @@ const Yt = (t) => t instanceof ee ? { ...t } : t;
1048
1048
  function Ee(t, e) {
1049
1049
  e = e || {};
1050
1050
  const n = {};
1051
- function s(h, l, u) {
1052
- return b.isPlainObject(h) && b.isPlainObject(l) ? b.merge.call({ caseless: u }, h, l) : b.isPlainObject(l) ? b.merge({}, l) : b.isArray(l) ? l.slice() : l;
1051
+ function s(h, u, l) {
1052
+ return w.isPlainObject(h) && w.isPlainObject(u) ? w.merge.call({ caseless: l }, h, u) : w.isPlainObject(u) ? w.merge({}, u) : w.isArray(u) ? u.slice() : u;
1053
1053
  }
1054
- function o(h, l, u) {
1055
- if (b.isUndefined(l)) {
1056
- if (!b.isUndefined(h))
1057
- return s(void 0, h, u);
1054
+ function o(h, u, l) {
1055
+ if (w.isUndefined(u)) {
1056
+ if (!w.isUndefined(h))
1057
+ return s(void 0, h, l);
1058
1058
  } else
1059
- return s(h, l, u);
1059
+ return s(h, u, l);
1060
1060
  }
1061
- function r(h, l) {
1062
- if (!b.isUndefined(l))
1063
- return s(void 0, l);
1061
+ function r(h, u) {
1062
+ if (!w.isUndefined(u))
1063
+ return s(void 0, u);
1064
1064
  }
1065
- function a(h, l) {
1066
- if (b.isUndefined(l)) {
1067
- if (!b.isUndefined(h))
1065
+ function a(h, u) {
1066
+ if (w.isUndefined(u)) {
1067
+ if (!w.isUndefined(h))
1068
1068
  return s(void 0, h);
1069
1069
  } else
1070
- return s(void 0, l);
1070
+ return s(void 0, u);
1071
1071
  }
1072
- function i(h, l, u) {
1073
- if (u in e)
1074
- return s(h, l);
1075
- if (u in t)
1072
+ function i(h, u, l) {
1073
+ if (l in e)
1074
+ return s(h, u);
1075
+ if (l in t)
1076
1076
  return s(void 0, h);
1077
1077
  }
1078
1078
  const p = {
@@ -1104,11 +1104,11 @@ function Ee(t, e) {
1104
1104
  socketPath: a,
1105
1105
  responseEncoding: a,
1106
1106
  validateStatus: i,
1107
- headers: (h, l) => o(Yt(h), Yt(l), !0)
1107
+ headers: (h, u) => o(Yt(h), Yt(u), !0)
1108
1108
  };
1109
- return b.forEach(Object.keys(Object.assign({}, t, e)), function(l) {
1110
- const u = p[l] || o, w = u(t[l], e[l], l);
1111
- b.isUndefined(w) && u !== i || (n[l] = w);
1109
+ return w.forEach(Object.keys(Object.assign({}, t, e)), function(u) {
1110
+ const l = p[u] || o, v = l(t[u], e[u], u);
1111
+ w.isUndefined(v) && l !== i || (n[u] = v);
1112
1112
  }), n;
1113
1113
  }
1114
1114
  const Mn = "1.6.8", St = {};
@@ -1193,17 +1193,17 @@ class fe {
1193
1193
  silentJSONParsing: ce.transitional(ce.boolean),
1194
1194
  forcedJSONParsing: ce.transitional(ce.boolean),
1195
1195
  clarifyTimeoutError: ce.transitional(ce.boolean)
1196
- }, !1), o != null && (b.isFunction(o) ? n.paramsSerializer = {
1196
+ }, !1), o != null && (w.isFunction(o) ? n.paramsSerializer = {
1197
1197
  serialize: o
1198
1198
  } : ft.assertOptions(o, {
1199
1199
  encode: ce.function,
1200
1200
  serialize: ce.function
1201
1201
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1202
- let a = r && b.merge(
1202
+ let a = r && w.merge(
1203
1203
  r.common,
1204
1204
  r[n.method]
1205
1205
  );
1206
- r && b.forEach(
1206
+ r && w.forEach(
1207
1207
  ["delete", "get", "head", "post", "put", "patch", "common"],
1208
1208
  (g) => {
1209
1209
  delete r[g];
@@ -1218,17 +1218,17 @@ class fe {
1218
1218
  this.interceptors.response.forEach(function(m) {
1219
1219
  h.push(m.fulfilled, m.rejected);
1220
1220
  });
1221
- let l, u = 0, w;
1221
+ let u, l = 0, v;
1222
1222
  if (!p) {
1223
1223
  const g = [Gt.bind(this), void 0];
1224
- for (g.unshift.apply(g, i), g.push.apply(g, h), w = g.length, l = Promise.resolve(n); u < w; )
1225
- l = l.then(g[u++], g[u++]);
1226
- return l;
1224
+ for (g.unshift.apply(g, i), g.push.apply(g, h), v = g.length, u = Promise.resolve(n); l < v; )
1225
+ u = u.then(g[l++], g[l++]);
1226
+ return u;
1227
1227
  }
1228
- w = i.length;
1228
+ v = i.length;
1229
1229
  let S = n;
1230
- for (u = 0; u < w; ) {
1231
- const g = i[u++], m = i[u++];
1230
+ for (l = 0; l < v; ) {
1231
+ const g = i[l++], m = i[l++];
1232
1232
  try {
1233
1233
  S = g(S);
1234
1234
  } catch (_) {
@@ -1237,13 +1237,13 @@ class fe {
1237
1237
  }
1238
1238
  }
1239
1239
  try {
1240
- l = Gt.call(this, S);
1240
+ u = Gt.call(this, S);
1241
1241
  } catch (g) {
1242
1242
  return Promise.reject(g);
1243
1243
  }
1244
- for (u = 0, w = h.length; u < w; )
1245
- l = l.then(h[u++], h[u++]);
1246
- return l;
1244
+ for (l = 0, v = h.length; l < v; )
1245
+ u = u.then(h[l++], h[l++]);
1246
+ return u;
1247
1247
  }
1248
1248
  getUri(e) {
1249
1249
  e = Ee(this.defaults, e);
@@ -1251,7 +1251,7 @@ class fe {
1251
1251
  return Pn(n, e.params, e.paramsSerializer);
1252
1252
  }
1253
1253
  }
1254
- b.forEach(["delete", "get", "head", "options"], function(e) {
1254
+ w.forEach(["delete", "get", "head", "options"], function(e) {
1255
1255
  fe.prototype[e] = function(n, s) {
1256
1256
  return this.request(Ee(s || {}, {
1257
1257
  method: e,
@@ -1260,7 +1260,7 @@ b.forEach(["delete", "get", "head", "options"], function(e) {
1260
1260
  }));
1261
1261
  };
1262
1262
  });
1263
- b.forEach(["post", "put", "patch"], function(e) {
1263
+ w.forEach(["post", "put", "patch"], function(e) {
1264
1264
  function n(s) {
1265
1265
  return function(r, a, i) {
1266
1266
  return this.request(Ee(i || {}, {
@@ -1349,7 +1349,7 @@ function Vo(t) {
1349
1349
  };
1350
1350
  }
1351
1351
  function Io(t) {
1352
- return b.isObject(t) && t.isAxiosError === !0;
1352
+ return w.isObject(t) && t.isAxiosError === !0;
1353
1353
  }
1354
1354
  const mt = {
1355
1355
  Continue: 100,
@@ -1421,7 +1421,7 @@ Object.entries(mt).forEach(([t, e]) => {
1421
1421
  });
1422
1422
  function Un(t) {
1423
1423
  const e = new fe(t), n = En(fe.prototype.request, e);
1424
- return b.extend(n, fe.prototype, e, { allOwnKeys: !0 }), b.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1424
+ return w.extend(n, fe.prototype, e, { allOwnKeys: !0 }), w.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1425
1425
  return Un(Ee(t, o));
1426
1426
  }, n;
1427
1427
  }
@@ -1441,7 +1441,7 @@ q.spread = Vo;
1441
1441
  q.isAxiosError = Io;
1442
1442
  q.mergeConfig = Ee;
1443
1443
  q.AxiosHeaders = ee;
1444
- q.formToJSON = (t) => Bn(b.isHTMLForm(t) ? new FormData(t) : t);
1444
+ q.formToJSON = (t) => Bn(w.isHTMLForm(t) ? new FormData(t) : t);
1445
1445
  q.getAdapter = Nn.getAdapter;
1446
1446
  q.HttpStatusCode = mt;
1447
1447
  q.default = q;
@@ -1530,39 +1530,39 @@ var zn = { exports: {} };
1530
1530
  return _[c] || "";
1531
1531
  });
1532
1532
  }
1533
- function l(m, _) {
1533
+ function u(m, _) {
1534
1534
  return m.replace(_[0], function(E, c) {
1535
1535
  var k = h(_[1], arguments);
1536
1536
  return p(E === "" ? m[c - 1] : E, k);
1537
1537
  });
1538
1538
  }
1539
- function u(m, _, E) {
1539
+ function l(m, _, E) {
1540
1540
  if (!m.length || o.hasOwnProperty(m))
1541
1541
  return _;
1542
1542
  for (var c = E.length; c--; ) {
1543
1543
  var k = E[c];
1544
1544
  if (k[0].test(_))
1545
- return l(_, k);
1545
+ return u(_, k);
1546
1546
  }
1547
1547
  return _;
1548
1548
  }
1549
- function w(m, _, E) {
1549
+ function v(m, _, E) {
1550
1550
  return function(c) {
1551
1551
  var k = c.toLowerCase();
1552
- return _.hasOwnProperty(k) ? p(c, k) : m.hasOwnProperty(k) ? p(c, m[k]) : u(k, c, E);
1552
+ return _.hasOwnProperty(k) ? p(c, k) : m.hasOwnProperty(k) ? p(c, m[k]) : l(k, c, E);
1553
1553
  };
1554
1554
  }
1555
1555
  function S(m, _, E, c) {
1556
1556
  return function(k) {
1557
1557
  var y = k.toLowerCase();
1558
- return _.hasOwnProperty(y) ? !0 : m.hasOwnProperty(y) ? !1 : u(y, y, E) === y;
1558
+ return _.hasOwnProperty(y) ? !0 : m.hasOwnProperty(y) ? !1 : l(y, y, E) === y;
1559
1559
  };
1560
1560
  }
1561
1561
  function g(m, _, E) {
1562
1562
  var c = _ === 1 ? g.singular(m) : g.plural(m);
1563
1563
  return (E ? _ + " " : "") + c;
1564
1564
  }
1565
- return g.plural = w(
1565
+ return g.plural = v(
1566
1566
  a,
1567
1567
  r,
1568
1568
  n
@@ -1570,7 +1570,7 @@ var zn = { exports: {} };
1570
1570
  a,
1571
1571
  r,
1572
1572
  n
1573
- ), g.singular = w(
1573
+ ), g.singular = v(
1574
1574
  r,
1575
1575
  a,
1576
1576
  s
@@ -2009,7 +2009,7 @@ const ot = {
2009
2009
  "input-number": { config: "input-number" }
2010
2010
  };
2011
2011
  async function Xt(t, e, n) {
2012
- const s = await Zo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-Dh3-JPZF.js"), "./field/belongs-to/config.js": () => import("./config-CYcj7J-o.js"), "./field/boolean/config.js": () => import("./config-v-QQU1RL.js"), "./field/cascader/config.js": () => import("./config-CrctYtyZ.js"), "./field/component/config.js": () => import("./config-Bxl4Qa31.js"), "./field/date/config.js": () => import("./config-CgFRcnBi.js"), "./field/datetime/config.js": () => import("./config-CjZUjDY2.js"), "./field/image/config.js": () => import("./config-3vRpjcT7.js"), "./field/images/config.js": () => import("./config-CFvanfuV.js"), "./field/input-number/config.js": () => import("./config-3DY41Mp4.js"), "./field/json/config.js": () => import("./config-YJV5HV4J.js"), "./field/radio-group/config.js": () => import("./config-BUiTIZGn.js"), "./field/rich-text/config.js": () => import("./config-enmhhwQ8.js"), "./field/row-id/config.js": () => import("./config-DblgYyzf.js"), "./field/select/config.js": () => import("./config-DWsmGOe4.js"), "./field/string/config.js": () => import("./config-DpRuceEZ.js"), "./field/switch/config.js": () => import("./config-CI8B5t-F.js"), "./field/text/config.js": () => import("./config-BI92Snqx.js"), "./field/time/config.js": () => import("./config-BUx3sloi.js"), "./field/tree-select/config.js": () => import("./config-CTRMcboP.js") }), `./field/${t}/config.js`, 4);
2012
+ const s = await Zo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-B9OGIgVQ.js"), "./field/belongs-to/config.js": () => import("./config-C8V12N_y.js"), "./field/boolean/config.js": () => import("./config-Kon9HelW.js"), "./field/cascader/config.js": () => import("./config-bFU43ScC.js"), "./field/component/config.js": () => import("./config-2Uro7VDl.js"), "./field/date/config.js": () => import("./config-C2JvWLJO.js"), "./field/datetime/config.js": () => import("./config-DsvJ960-.js"), "./field/image/config.js": () => import("./config-BmiZfWDZ.js"), "./field/images/config.js": () => import("./config-CCqWIgDD.js"), "./field/input-number/config.js": () => import("./config-DYCPr-ak.js"), "./field/json/config.js": () => import("./config-CG6nxzhh.js"), "./field/radio-group/config.js": () => import("./config-BAlXRx87.js"), "./field/rich-text/config.js": () => import("./config-ZXrBopa4.js"), "./field/row-id/config.js": () => import("./config-Do2YE-LG.js"), "./field/select/config.js": () => import("./config-CZ2b4BD_.js"), "./field/string/config.js": () => import("./config-PzfxtESd.js"), "./field/switch/config.js": () => import("./config-D0pzXZn7.js"), "./field/text/config.js": () => import("./config-CZcbvgFB.js"), "./field/time/config.js": () => import("./config-CKRv82bK.js"), "./field/tree-select/config.js": () => import("./config-B2LFJAkE.js") }), `./field/${t}/config.js`, 4);
2013
2013
  return new s.default(e, n);
2014
2014
  }
2015
2015
  function at(t, e = "unknown") {
@@ -2066,7 +2066,7 @@ function Ot(t, e) {
2066
2066
  const i = o.detailGroupFields.map((p) => {
2067
2067
  var h;
2068
2068
  return ((h = p.childrenFields) == null ? void 0 : h.length) > 0 ? Promise.all(p.childrenFields).then(
2069
- (l) => (p.childrenFields = l, p)
2069
+ (u) => (p.childrenFields = u, p)
2070
2070
  ) : Promise.resolve(p);
2071
2071
  });
2072
2072
  return Promise.all(i).then(() => o);
@@ -2199,16 +2199,16 @@ const V = (t, e) => {
2199
2199
  setup(t) {
2200
2200
  const e = t;
2201
2201
  return (n, s) => (d(), $(f(bt), { shadow: "never" }, Se({
2202
- default: v(() => [
2202
+ default: b(() => [
2203
2203
  G(n.$slots, "default", {}, void 0, !0)
2204
2204
  ]),
2205
2205
  _: 2
2206
2206
  }, [
2207
2207
  e.title ? {
2208
2208
  name: "header",
2209
- fn: v(() => [
2210
- C("div", aa, [
2211
- C("span", ra, j(e.title), 1)
2209
+ fn: b(() => [
2210
+ A("div", aa, [
2211
+ A("span", ra, j(e.title), 1)
2212
2212
  ])
2213
2213
  ]),
2214
2214
  key: "0"
@@ -2244,13 +2244,13 @@ const V = (t, e) => {
2244
2244
  class: "container",
2245
2245
  style: Ve(`background: ${f(n)}; padding: ${f(s)}`)
2246
2246
  }, [
2247
- C("div", {
2247
+ A("div", {
2248
2248
  class: "item-box-data mono-data",
2249
2249
  style: Ve(`text-align: ${e.align};`)
2250
2250
  }, [
2251
2251
  e.value != null ? (d(), x("span", ua, j(e.value), 1)) : (d(), x("span", ca, "..."))
2252
2252
  ], 4),
2253
- C("div", {
2253
+ A("div", {
2254
2254
  class: "item-box-tip",
2255
2255
  style: Ve(`text-align: ${e.align};`)
2256
2256
  }, [
@@ -2258,9 +2258,9 @@ const V = (t, e) => {
2258
2258
  O(a, {
2259
2259
  to: e.link
2260
2260
  }, {
2261
- default: v(() => [
2261
+ default: b(() => [
2262
2262
  O(f(is), { type: "primary" }, {
2263
- default: v(() => [
2263
+ default: b(() => [
2264
2264
  I(j(e.title), 1)
2265
2265
  ]),
2266
2266
  _: 1
@@ -2300,7 +2300,7 @@ const V = (t, e) => {
2300
2300
  setup(t) {
2301
2301
  const e = t;
2302
2302
  return (n, s) => (d(), $(la, null, {
2303
- default: v(() => [
2303
+ default: b(() => [
2304
2304
  O(ma, {
2305
2305
  title: e.title,
2306
2306
  value: e.value,
@@ -2326,7 +2326,7 @@ const _l = /* @__PURE__ */ V(ga, [["render", _a]]), va = {
2326
2326
  style: { "margin-bottom": "20px" },
2327
2327
  class: "row"
2328
2328
  }, {
2329
- default: v(() => [
2329
+ default: b(() => [
2330
2330
  G(e.$slots, "default", {}, void 0, !0)
2331
2331
  ]),
2332
2332
  _: 3
@@ -2381,27 +2381,27 @@ const wa = {
2381
2381
  }
2382
2382
  function o(r, a = 2) {
2383
2383
  var h;
2384
- const i = r.map((l) => l.code), p = [];
2384
+ const i = r.map((u) => u.code), p = [];
2385
2385
  if (a == 2)
2386
- for (let l = 0; l < i.length; l += a)
2387
- i[l].includes("classify") ? (p.push([i[l]]), i.splice(i[l].includes("classify") ? l : l + 1, 1), l -= a) : (h = i[l + 1]) != null && h.includes("classify") ? (p.push([i[l]]), p.push([i[l + 1]])) : p.push(i.slice(l, l + a));
2386
+ for (let u = 0; u < i.length; u += a)
2387
+ i[u].includes("classify") ? (p.push([i[u]]), i.splice(i[u].includes("classify") ? u : u + 1, 1), u -= a) : (h = i[u + 1]) != null && h.includes("classify") ? (p.push([i[u]]), p.push([i[u + 1]])) : p.push(i.slice(u, u + a));
2388
2388
  else
2389
- for (let l = 0; l < i.length; l += a)
2390
- p.push(i.slice(l, l + a));
2389
+ for (let u = 0; u < i.length; u += a)
2390
+ p.push(i.slice(u, u + a));
2391
2391
  return p;
2392
2392
  }
2393
2393
  return (r, a) => (d(), x("div", null, [
2394
2394
  (d(!0), x(P, null, z(n.value, (i) => (d(), $(f(me), { gutter: 20 }, {
2395
- default: v(() => [
2395
+ default: b(() => [
2396
2396
  (d(!0), x(P, null, z(i.cols, (p) => {
2397
- var h, l, u;
2397
+ var h, u, l;
2398
2398
  return d(), $(f(pe), {
2399
- span: (h = s(p.field)) != null && h.wholeRow ? 24 : ((l = i.cols) == null ? void 0 : l.length) == 1 && !((u = p.field) != null && u.includes("classify")) && e.fields.length > 6 ? 12 : p.span
2399
+ span: (h = s(p.field)) != null && h.wholeRow ? 24 : ((u = i.cols) == null ? void 0 : u.length) == 1 && !((l = p.field) != null && l.includes("classify")) && e.fields.length > 6 ? 12 : p.span
2400
2400
  }, {
2401
- default: v(() => {
2402
- var w, S;
2401
+ default: b(() => {
2402
+ var v, S;
2403
2403
  return [
2404
- (w = p.field) != null && w.includes("classify") ? (d(), x("div", wa, j((S = s(p.field)) == null ? void 0 : S.label), 1)) : G(r.$slots, "default", {
2404
+ (v = p.field) != null && v.includes("classify") && ((S = s(p.field)) != null && S.label) ? (d(), x("div", wa, j(s(p.field).label), 1)) : G(r.$slots, "default", {
2405
2405
  key: 1,
2406
2406
  field: s(p.field)
2407
2407
  }, void 0, !0)
@@ -2415,7 +2415,7 @@ const wa = {
2415
2415
  }, 1024))), 256))
2416
2416
  ]));
2417
2417
  }
2418
- }, $a = /* @__PURE__ */ V(Ea, [["__scopeId", "data-v-9ae3a146"]]), Sa = { style: { width: "100%" } }, xa = { class: "footer" }, ka = { key: 1 }, Oa = {
2418
+ }, $a = /* @__PURE__ */ V(Ea, [["__scopeId", "data-v-285a71e5"]]), Sa = { style: { width: "100%" } }, xa = { class: "footer" }, ka = { key: 1 }, Oa = {
2419
2419
  __name: "PureForm",
2420
2420
  props: {
2421
2421
  config: {
@@ -2431,9 +2431,9 @@ const wa = {
2431
2431
  },
2432
2432
  emits: ["submit", "remove"],
2433
2433
  setup(t, { emit: e }) {
2434
- const n = M(), s = Q(n), o = e, r = F(!1), a = t, i = yt(a.config.formLayout || []), p = a.config.formStyleConfig, h = Ce({ ...a.data }), l = F(null), u = a.config.fields.filter((y) => y.rules).reduce((y, A) => (y[A.code] = g(A.rules), y), {}), w = N(k), S = N(() => a.config.fields.filter((y) => {
2435
- const A = y.editable(h, s), D = y.visible(h, s);
2436
- return y.disabled = D && !A, A || D;
2434
+ const n = M(), s = Q(n), o = e, r = F(!1), a = t, i = yt(a.config.formLayout || []), p = a.config.formStyleConfig, h = Ae({ ...a.data }), u = F(null), l = a.config.fields.filter((y) => y.rules).reduce((y, C) => (y[C.code] = g(C.rules), y), {}), v = N(k), S = N(() => a.config.fields.filter((y) => {
2435
+ const C = y.editable(h, s), D = y.visible(h, s);
2436
+ return y.disabled = D && !C, C || D;
2437
2437
  }));
2438
2438
  function g(y) {
2439
2439
  return typeof y == "object" ? y : typeof y == "function" ? y(h) : [];
@@ -2444,10 +2444,10 @@ const wa = {
2444
2444
  });
2445
2445
  }
2446
2446
  async function _() {
2447
- await l.value.validate(async (y, A) => {
2447
+ await u.value.validate(async (y, C) => {
2448
2448
  var X, U;
2449
2449
  if (!y)
2450
- return console.log("error submit!", A), !1;
2450
+ return console.log("error submit!", C), !1;
2451
2451
  const D = (X = a.config.fields.find((ie) => ["images", "attachments", "attachment"].includes(ie.type))) == null ? void 0 : X.code, W = { ...h };
2452
2452
  if (D && (W[D] = (U = W[D]) == null ? void 0 : U.map((ie) => ie.id)), a.config.submitConfirm) {
2453
2453
  await a.config.submitConfirm(W) && m(W);
@@ -2484,13 +2484,13 @@ const wa = {
2484
2484
  }
2485
2485
  return B(
2486
2486
  () => ({ ...h }),
2487
- (y, A) => {
2488
- const W = Object.keys(y).filter((U) => A[U] !== y[U]).map((U) => {
2487
+ (y, C) => {
2488
+ const W = Object.keys(y).filter((U) => C[U] !== y[U]).map((U) => {
2489
2489
  var ie;
2490
- return (ie = l.value) == null || ie.clearValidate(U), {
2490
+ return (ie = u.value) == null || ie.clearValidate(U), {
2491
2491
  field: U,
2492
2492
  newValue: y[U],
2493
- oldValue: A[U]
2493
+ oldValue: C[U]
2494
2494
  };
2495
2495
  });
2496
2496
  S.value.filter((U) => !U.disabled).forEach((U) => {
@@ -2500,33 +2500,33 @@ const wa = {
2500
2500
  ), B(
2501
2501
  () => a.data,
2502
2502
  (y) => {
2503
- Object.keys(y).forEach((A) => {
2504
- h[A] = y[A];
2503
+ Object.keys(y).forEach((C) => {
2504
+ h[C] = y[C];
2505
2505
  });
2506
2506
  },
2507
2507
  { immediate: !0 }
2508
- ), (y, A) => (d(), $(f(hn), {
2508
+ ), (y, C) => (d(), $(f(hn), {
2509
2509
  id: "form",
2510
2510
  ref_key: "formRef",
2511
- ref: l,
2511
+ ref: u,
2512
2512
  model: h,
2513
2513
  "label-width": f(p).labelWidth,
2514
2514
  "label-position": f(p).labelPosition,
2515
- rules: f(u)
2515
+ rules: f(l)
2516
2516
  }, {
2517
- default: v(() => [
2517
+ default: b(() => [
2518
2518
  O($a, {
2519
2519
  layout: f(i),
2520
2520
  fields: S.value
2521
2521
  }, {
2522
- default: v(({ field: D }) => [
2522
+ default: b(({ field: D }) => [
2523
2523
  (d(), $(f(rt), {
2524
2524
  key: D.code,
2525
2525
  label: D.label,
2526
2526
  prop: D.code
2527
2527
  }, {
2528
- default: v(() => [
2529
- C("div", Sa, [
2528
+ default: b(() => [
2529
+ A("div", Sa, [
2530
2530
  D != null && D.editor ? (d(), $(Y(D.editor), {
2531
2531
  key: 0,
2532
2532
  modelValue: h[D.code],
@@ -2550,26 +2550,26 @@ const wa = {
2550
2550
  ]),
2551
2551
  _: 1
2552
2552
  }, 8, ["layout", "fields"]),
2553
- C("div", xa, [
2553
+ A("div", xa, [
2554
2554
  h.id && !h.deletedAt && a.removable ? (d(), $(f(ne), {
2555
2555
  key: 0,
2556
2556
  size: "default",
2557
2557
  type: "danger",
2558
2558
  onClick: c
2559
2559
  }, {
2560
- default: v(() => [
2560
+ default: b(() => [
2561
2561
  I(" 删除 ")
2562
2562
  ]),
2563
2563
  _: 1
2564
2564
  })) : (d(), x("div", ka)),
2565
- w.value ? (d(), $(f(ne), {
2565
+ v.value ? (d(), $(f(ne), {
2566
2566
  key: 2,
2567
2567
  size: "default",
2568
2568
  type: "primary",
2569
2569
  loading: r.value,
2570
2570
  onClick: _
2571
2571
  }, {
2572
- default: v(() => [
2572
+ default: b(() => [
2573
2573
  I(" 提交 ")
2574
2574
  ]),
2575
2575
  _: 1
@@ -2579,13 +2579,13 @@ const wa = {
2579
2579
  _: 1
2580
2580
  }, 8, ["model", "label-width", "label-position", "rules"]));
2581
2581
  }
2582
- }, Aa = /* @__PURE__ */ V(Oa, [["__scopeId", "data-v-78bd75f6"]]);
2583
- function Ca() {
2582
+ }, Ca = /* @__PURE__ */ V(Oa, [["__scopeId", "data-v-78bd75f6"]]);
2583
+ function Aa() {
2584
2584
  return We().idempotentUrl ? oe.get(We().idempotentUrl).then((t) => t.data) : "";
2585
2585
  }
2586
- const Ae = {
2587
- getValue: Ca
2588
- }, At = {
2586
+ const Ce = {
2587
+ getValue: Aa
2588
+ }, Ct = {
2589
2589
  __name: "FormEditor",
2590
2590
  props: {
2591
2591
  modelValue: {
@@ -2611,47 +2611,47 @@ const Ae = {
2611
2611
  var _;
2612
2612
  if (!((_ = m.code) != null && _.includes("classify")))
2613
2613
  return m.visible(i, s);
2614
- }).length >= 6 ? "60%" : "40%"), h = F(""), l = N({
2614
+ }).length >= 6 ? "60%" : "40%"), h = F(""), u = N({
2615
2615
  get() {
2616
2616
  return r.modelValue;
2617
2617
  },
2618
2618
  set(g) {
2619
2619
  o("update:modelValue", g);
2620
2620
  }
2621
- }), u = N(() => r.title ? r.title : r.data.id ? `编辑${r.config.name}` : `添加${r.config.name}`);
2622
- function w(g, m, _) {
2621
+ }), l = N(() => r.title ? r.title : r.data.id ? `编辑${r.config.name}` : `添加${r.config.name}`);
2622
+ function v(g, m, _) {
2623
2623
  a.value = m, o("submit", g, async () => {
2624
- h.value = await Ae.getValue(), _();
2624
+ h.value = await Ce.getValue(), _();
2625
2625
  });
2626
2626
  }
2627
2627
  function S(g, m) {
2628
2628
  o("remove", g, async () => {
2629
- h.value = await Ae.getValue(), m();
2629
+ h.value = await Ce.getValue(), m();
2630
2630
  });
2631
2631
  }
2632
2632
  return B(
2633
- () => l,
2633
+ () => u,
2634
2634
  async () => {
2635
- h.value = await Ae.getValue();
2635
+ h.value = await Ce.getValue();
2636
2636
  },
2637
2637
  { immediate: !0 }
2638
2638
  ), (g, m) => (d(), $(f(cs), {
2639
- modelValue: l.value,
2640
- "onUpdate:modelValue": m[0] || (m[0] = (_) => l.value = _),
2639
+ modelValue: u.value,
2640
+ "onUpdate:modelValue": m[0] || (m[0] = (_) => u.value = _),
2641
2641
  width: p.value,
2642
2642
  top: "20px",
2643
- title: u.value,
2643
+ title: l.value,
2644
2644
  "close-on-click-modal": !1,
2645
2645
  "append-to-body": !0,
2646
2646
  "destroy-on-close": "",
2647
2647
  "z-index": 2e3
2648
2648
  }, {
2649
- default: v(() => [
2650
- O(Aa, {
2649
+ default: b(() => [
2650
+ O(Ca, {
2651
2651
  config: r.config,
2652
2652
  data: i.value,
2653
2653
  removable: r.removable,
2654
- onSubmit: w,
2654
+ onSubmit: v,
2655
2655
  onRemove: S
2656
2656
  }, null, 8, ["config", "data", "removable"])
2657
2657
  ]),
@@ -2686,30 +2686,43 @@ const Ae = {
2686
2686
  },
2687
2687
  rest: {
2688
2688
  type: Object
2689
+ },
2690
+ formStyleConfig: {
2691
+ type: Object
2689
2692
  }
2690
2693
  },
2691
2694
  setup(t) {
2692
- const e = t, n = F(e.row), s = F(!1), o = te(null), r = M(), a = Q(r), i = oa("simple", {
2695
+ const e = t, n = F(e.row), s = F(!1), o = te(null), r = M(), a = Q(r), i = N(() => {
2696
+ const l = e.formStyleConfig || {};
2697
+ return {
2698
+ ...{
2699
+ labelPosition: "top",
2700
+ labelWidth: 100
2701
+ },
2702
+ ...l
2703
+ };
2704
+ }), p = oa("simple", {
2693
2705
  simple: !0,
2694
2706
  code: e.code,
2695
- fields: e.fields
2707
+ fields: e.fields,
2708
+ formStyleConfig: i.value
2696
2709
  });
2697
- Promise.all(i.fields).then((l) => {
2698
- i.fields = l, i.restRepeat = e.restRepeat, i.rest = e.rest, o.value = i;
2710
+ Promise.all(p.fields).then((l) => {
2711
+ p.fields = l, p.restRepeat = e.restRepeat, p.rest = e.rest, p.formStyleConfig = i.value, o.value = p;
2699
2712
  });
2700
- async function p() {
2713
+ async function h() {
2701
2714
  const l = e.rest;
2702
2715
  if (l != null && l.getOne) {
2703
- const { data: u } = await l.getOne({
2716
+ const { data: v } = await l.getOne({
2704
2717
  ...e.row,
2705
2718
  ...a
2706
2719
  });
2707
- n.value = u;
2720
+ n.value = v;
2708
2721
  }
2709
2722
  s.value = !0;
2710
2723
  }
2711
- function h(l, u) {
2712
- e.onSubmit(l, u).then(() => {
2724
+ function u(l, v) {
2725
+ e.onSubmit(l, v).then(() => {
2713
2726
  s.value = !1, De({
2714
2727
  showClose: !0,
2715
2728
  grouping: !0,
@@ -2717,23 +2730,23 @@ const Ae = {
2717
2730
  type: "success"
2718
2731
  }), console.log("success");
2719
2732
  }).catch(() => {
2720
- console.log("请求失败"), u();
2733
+ console.log("请求失败"), v();
2721
2734
  });
2722
2735
  }
2723
- return (l, u) => (d(), $(f(ne), {
2736
+ return (l, v) => (d(), $(f(ne), {
2724
2737
  type: e.type,
2725
- onClick: p
2738
+ onClick: h
2726
2739
  }, {
2727
- default: v(() => [
2740
+ default: b(() => [
2728
2741
  I(j(e.text) + " ", 1),
2729
- s.value ? (d(), $(At, {
2742
+ s.value ? (d(), $(Ct, {
2730
2743
  key: 0,
2731
2744
  modelValue: s.value,
2732
- "onUpdate:modelValue": u[0] || (u[0] = (w) => s.value = w),
2745
+ "onUpdate:modelValue": v[0] || (v[0] = (S) => s.value = S),
2733
2746
  title: e.text,
2734
2747
  config: o.value,
2735
2748
  data: n.value,
2736
- onSubmit: h
2749
+ onSubmit: u
2737
2750
  }, null, 8, ["modelValue", "title", "config", "data"])) : T("", !0)
2738
2751
  ]),
2739
2752
  _: 1
@@ -2765,19 +2778,19 @@ const Ae = {
2765
2778
  },
2766
2779
  emits: ["update:modelValue"],
2767
2780
  setup(t, { emit: e }) {
2768
- const n = ts(() => import("./ImagesUploader-DF6isqFQ.js")), s = We().fileUploadUrl, o = e, r = t, a = Ce({ value: r.modelValue }), i = r.field.converter;
2769
- function p(l) {
2770
- let u = -1;
2771
- l.id && (u = a.value.findIndex((w) => w.id === l.id)), l.url && (u = a.value.findIndex((w) => w.url === l.url)), u >= 0 && (a.value.splice(u, 1), o("update:modelValue", a.value));
2781
+ const n = ts(() => import("./ImagesUploader-CONMawm1.js")), s = We().fileUploadUrl, o = e, r = t, a = Ae({ value: r.modelValue }), i = r.field.converter;
2782
+ function p(u) {
2783
+ let l = -1;
2784
+ u.id && (l = a.value.findIndex((v) => v.id === u.id)), u.url && (l = a.value.findIndex((v) => v.url === u.url)), l >= 0 && (a.value.splice(l, 1), o("update:modelValue", a.value));
2772
2785
  }
2773
- function h(l) {
2774
- console.log(l), Ie.service({ text: "上传中,请稍后", background: "rgba(0,0,0,0.3)" }), oe.post(s, l).then((u) => {
2786
+ function h(u) {
2787
+ console.log(u), Ie.service({ text: "上传中,请稍后", background: "rgba(0,0,0,0.3)" }), oe.post(s, u).then((l) => {
2775
2788
  Ie.service().close(), De({
2776
2789
  message: "上传成功",
2777
2790
  type: "success"
2778
2791
  });
2779
- const w = i(u.data);
2780
- a.value = a.value ? [...a.value, w] : [w], o("update:modelValue", a.value);
2792
+ const v = i(l.data);
2793
+ a.value = a.value ? [...a.value, v] : [v], o("update:modelValue", a.value);
2781
2794
  }).catch(() => {
2782
2795
  Ie.service().close(), De({
2783
2796
  message: "上传失败",
@@ -2791,7 +2804,7 @@ const Ae = {
2791
2804
  a.value = r.modelValue;
2792
2805
  },
2793
2806
  { immediate: !0 }
2794
- ), (l, u) => (d(), x("div", null, [
2807
+ ), (u, l) => (d(), x("div", null, [
2795
2808
  O(f(n), {
2796
2809
  images: a.value,
2797
2810
  props: r.field.props,
@@ -2896,9 +2909,9 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2896
2909
  if (s.value.length > 0)
2897
2910
  for (let p = 0; p < o.value.length; p++) {
2898
2911
  const h = o.value[p];
2899
- for (let l = 0; l < s.value.length; l++) {
2900
- const u = s.value[l];
2901
- h.field === u.field && (h.order = u.order);
2912
+ for (let u = 0; u < s.value.length; u++) {
2913
+ const l = s.value[u];
2914
+ h.field === l.field && (h.order = l.order);
2902
2915
  }
2903
2916
  }
2904
2917
  else
@@ -2906,26 +2919,26 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2906
2919
  o.value[p].order = "";
2907
2920
  }
2908
2921
  function i(p, h) {
2909
- const l = o.value;
2910
- h ? l[p].order = h : l[p].order ? l[p].order === "ASC" ? l[p].order = "DESC" : l[p].order === "DESC" && (l[p].order = "") : l[p].order = "ASC", n(
2922
+ const u = o.value;
2923
+ h ? u[p].order = h : u[p].order ? u[p].order === "ASC" ? u[p].order = "DESC" : u[p].order === "DESC" && (u[p].order = "") : u[p].order = "ASC", n(
2911
2924
  "updateSorters",
2912
- l.filter((u) => u.order)
2925
+ u.filter((l) => l.order)
2913
2926
  );
2914
2927
  }
2915
2928
  return (p, h) => (d(), x("div", La, [
2916
- (d(!0), x(P, null, z(o.value, (l, u) => (d(), x("div", {
2929
+ (d(!0), x(P, null, z(o.value, (u, l) => (d(), x("div", {
2917
2930
  class: "sorters-item",
2918
- onClick: (w) => i(u, "")
2931
+ onClick: (v) => i(l, "")
2919
2932
  }, [
2920
- C("div", Ba, j(l.name), 1),
2921
- C("div", Va, [
2922
- C("i", {
2923
- class: we(["sort-caret ascending", l.order === "ASC" ? "ascending-active" : ""]),
2924
- onClick: Lt((w) => i(u, "ASC"), ["stop"])
2933
+ A("div", Ba, j(u.name), 1),
2934
+ A("div", Va, [
2935
+ A("i", {
2936
+ class: we(["sort-caret ascending", u.order === "ASC" ? "ascending-active" : ""]),
2937
+ onClick: Lt((v) => i(l, "ASC"), ["stop"])
2925
2938
  }, null, 10, Ia),
2926
- C("i", {
2927
- class: we(["sort-caret descending", l.order === "DESC" ? "descending-active" : ""]),
2928
- onClick: Lt((w) => i(u, "DESC"), ["stop"])
2939
+ A("i", {
2940
+ class: we(["sort-caret descending", u.order === "DESC" ? "descending-active" : ""]),
2941
+ onClick: Lt((v) => i(l, "DESC"), ["stop"])
2929
2942
  }, null, 10, Na)
2930
2943
  ])
2931
2944
  ], 8, ja))), 256))
@@ -2946,7 +2959,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2946
2959
  },
2947
2960
  emits: ["updateRanges"],
2948
2961
  setup(t, { emit: e }) {
2949
- const n = e, s = t, o = Ce(s.ranges.rangesList);
2962
+ const n = e, s = t, o = Ae(s.ranges.rangesList);
2950
2963
  B(
2951
2964
  () => s.value,
2952
2965
  () => {
@@ -2963,35 +2976,35 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2963
2976
  });
2964
2977
  }
2965
2978
  function a(i, p, h) {
2966
- const l = [...o];
2967
- l.forEach((u) => {
2968
- u.field === p && (u[h] = i);
2979
+ const u = [...o];
2980
+ u.forEach((l) => {
2981
+ l.field === p && (l[h] = i);
2969
2982
  }), n(
2970
2983
  "updateRanges",
2971
- l.filter((u) => u.min || u.max)
2984
+ u.filter((l) => l.min || l.max)
2972
2985
  );
2973
2986
  }
2974
2987
  return r(), (i, p) => (d(), x("div", za, [
2975
2988
  (d(!0), x(P, null, z(o, (h) => (d(), x("div", Ha, [
2976
- C("div", qa, j(h.name), 1),
2977
- C("div", Wa, [
2989
+ A("div", qa, j(h.name), 1),
2990
+ A("div", Wa, [
2978
2991
  O(f(Vt), {
2979
2992
  modelValue: h.min,
2980
- "onUpdate:modelValue": (l) => h.min = l,
2993
+ "onUpdate:modelValue": (u) => h.min = u,
2981
2994
  "controls-position": "right",
2982
2995
  class: "input-box",
2983
- onChange: (l) => {
2984
- a(l, h.field, "min");
2996
+ onChange: (u) => {
2997
+ a(u, h.field, "min");
2985
2998
  }
2986
2999
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]),
2987
3000
  O(f(Vt), {
2988
3001
  modelValue: h.max,
2989
- "onUpdate:modelValue": (l) => h.max = l,
3002
+ "onUpdate:modelValue": (u) => h.max = u,
2990
3003
  "controls-position": "right",
2991
3004
  class: "input-box",
2992
3005
  type: "number",
2993
- onChange: (l) => {
2994
- a(l, h.field, "max");
3006
+ onChange: (u) => {
3007
+ a(u, h.field, "max");
2995
3008
  }
2996
3009
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
2997
3010
  ])
@@ -3010,7 +3023,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3010
3023
  label: "name",
3011
3024
  children: "children",
3012
3025
  value: "id"
3013
- }, s = M(), o = Q(s), r = F([]), a = Ce({}), i = Ce({}), p = je(
3026
+ }, s = M(), o = Q(s), r = F([]), a = Ae({}), i = Ae({}), p = je(
3014
3027
  e.settings.code,
3015
3028
  s.path,
3016
3029
  e.settings.filters,
@@ -3024,7 +3037,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3024
3037
  function h(c) {
3025
3038
  return typeof c == "boolean" ? c : typeof c == "function" ? c(o) : !0;
3026
3039
  }
3027
- async function l(c, k) {
3040
+ async function u(c, k) {
3028
3041
  var y;
3029
3042
  if (typeof c.options == "function")
3030
3043
  i[c.code] = await c.options(
@@ -3035,10 +3048,10 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3035
3048
  else if (Array.isArray(c.options))
3036
3049
  i[c.code] = c.options;
3037
3050
  else if (typeof c.options == "object") {
3038
- const A = c.options.getOneUrl ? c.options.getOneUrl : c.options.url;
3051
+ const C = c.options.getOneUrl ? c.options.getOneUrl : c.options.url;
3039
3052
  if (!k && Array.isArray(a[c.code]) && a[c.code].length > 0)
3040
3053
  i[c.code] = [], a[c.code].forEach((D) => {
3041
- A.getOne({ id: D }).then((W) => {
3054
+ C.getOne({ id: D }).then((W) => {
3042
3055
  i[c.code].push({
3043
3056
  code: W.data[c.options.data.value] || W.data.id,
3044
3057
  name: W.data[c.options.data.label] || W.data.name
@@ -3046,7 +3059,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3046
3059
  });
3047
3060
  });
3048
3061
  else if (!k && !Array.isArray(a[c.code]) && a[c.code])
3049
- A.getOne({ id: a[c.code] }).then((D) => {
3062
+ C.getOne({ id: a[c.code] }).then((D) => {
3050
3063
  i[c.code] = [
3051
3064
  {
3052
3065
  code: D.data[c.options.data.value] || D.data.id,
@@ -3068,19 +3081,19 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3068
3081
  }
3069
3082
  }
3070
3083
  if (i[c.code] && c.type != "tree-select") {
3071
- const A = i[c.code].map((D) => D.code);
3072
- a[c.code] && (c.multiple ? a[c.code] = a[c.code].filter((D) => (console.log(A.includes(D)), A.includes(D))) : a[c.code] = (y = i[c.code].find(
3084
+ const C = i[c.code].map((D) => D.code);
3085
+ a[c.code] && (c.multiple ? a[c.code] = a[c.code].filter((D) => (console.log(C.includes(D)), C.includes(D))) : a[c.code] = (y = i[c.code].find(
3073
3086
  (D) => D.code == a[c.code]
3074
3087
  )) == null ? void 0 : y.code, _());
3075
3088
  }
3076
3089
  }
3077
- function u(c) {
3090
+ function l(c) {
3078
3091
  if (c.remote)
3079
3092
  return (k) => {
3080
- l(c, k);
3093
+ u(c, k);
3081
3094
  };
3082
3095
  }
3083
- function w(c) {
3096
+ function v(c) {
3084
3097
  a.sorters = c, _();
3085
3098
  }
3086
3099
  function S(c) {
@@ -3091,7 +3104,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3091
3104
  a[c] = void 0;
3092
3105
  }), r.value = Object.keys(e.settings.filters).filter((c) => h(e.settings.filters[c].visible)).map((c) => {
3093
3106
  const k = { ...e.settings.filters[c], code: c };
3094
- return a[c] = m(c), (k.type === "select" || k.type === "selectV2" || k.type === "tree" || k.type === "tree-select") && l(k), {
3107
+ return a[c] = m(c), (k.type === "select" || k.type === "selectV2" || k.type === "tree" || k.type === "tree-select") && u(k), {
3095
3108
  ...k,
3096
3109
  dateType: k.dateType || "datetimerange",
3097
3110
  format: k.format || "YYYY-MM-DD HH:mm:ss"
@@ -3119,13 +3132,13 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3119
3132
  ), B(
3120
3133
  () => ({ ...a }),
3121
3134
  (c, k) => {
3122
- const A = Object.keys(c).filter((D) => k[D] !== c[D]).map((D) => ({
3135
+ const C = Object.keys(c).filter((D) => k[D] !== c[D]).map((D) => ({
3123
3136
  field: D,
3124
3137
  newValue: c[D],
3125
3138
  oldValue: k[D]
3126
3139
  }));
3127
3140
  r.value.forEach((D) => {
3128
- D.formChange && D.formChange(a, A);
3141
+ D.formChange && D.formChange(a, C);
3129
3142
  });
3130
3143
  }
3131
3144
  ), (c, k) => Object.keys(e.settings.filters).length > 0 ? (d(), x("div", Ga, [
@@ -3134,20 +3147,20 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3134
3147
  inline: "",
3135
3148
  class: "form-editor"
3136
3149
  }, {
3137
- default: v(() => [
3150
+ default: b(() => [
3138
3151
  (d(!0), x(P, null, z(r.value, (y) => (d(), $(f(rt), null, {
3139
- default: v(() => [
3152
+ default: b(() => [
3140
3153
  y.type === "boolean" ? (d(), $(f(It), {
3141
3154
  key: 0,
3142
3155
  modelValue: a[y.code],
3143
- "onUpdate:modelValue": (A) => a[y.code] = A,
3156
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3144
3157
  filterable: "",
3145
3158
  clearable: "",
3146
3159
  placeholder: `是否${y.name}`,
3147
3160
  "value-on-clear": null,
3148
3161
  onChange: _
3149
3162
  }, {
3150
- default: v(() => [
3163
+ default: b(() => [
3151
3164
  O(f(Xe), {
3152
3165
  value: !0,
3153
3166
  label: `已${y.name}`
@@ -3161,7 +3174,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3161
3174
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : y.type === "select" ? (d(), $(f(It), {
3162
3175
  key: 1,
3163
3176
  modelValue: a[y.code],
3164
- "onUpdate:modelValue": (A) => a[y.code] = A,
3177
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3165
3178
  filterable: "",
3166
3179
  clearable: "",
3167
3180
  remote: "",
@@ -3173,23 +3186,23 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3173
3186
  "collapse-tags": "",
3174
3187
  class: we(y.multiple ? "tags-selects-input" : ""),
3175
3188
  "multiple-limit": y.multipleLimit ? y.multipleLimit : 0,
3176
- "remote-method": u(y),
3189
+ "remote-method": l(y),
3177
3190
  "value-on-clear": null,
3178
3191
  onChange: _
3179
3192
  }, {
3180
- default: v(() => [
3181
- (d(!0), x(P, null, z(i[y.code], (A) => (d(), $(f(Xe), {
3182
- key: A.code,
3183
- label: A.name,
3184
- value: A.code,
3185
- title: A.name
3193
+ default: b(() => [
3194
+ (d(!0), x(P, null, z(i[y.code], (C) => (d(), $(f(Xe), {
3195
+ key: C.code,
3196
+ label: C.name,
3197
+ value: C.code,
3198
+ title: C.name
3186
3199
  }, null, 8, ["label", "value", "title"]))), 128))
3187
3200
  ]),
3188
3201
  _: 2
3189
3202
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "class", "multiple-limit", "remote-method"])) : y.type === "selectV2" ? (d(), $(f(ds), {
3190
3203
  key: 2,
3191
3204
  modelValue: a[y.code],
3192
- "onUpdate:modelValue": (A) => a[y.code] = A,
3205
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3193
3206
  filterable: "",
3194
3207
  options: i[y.code] ? i[y.code] : [],
3195
3208
  props: { label: "name", value: "code" },
@@ -3202,7 +3215,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3202
3215
  key: 3,
3203
3216
  value: a[y.code],
3204
3217
  sorters: y,
3205
- onUpdateSorters: w
3218
+ onUpdateSorters: v
3206
3219
  }, null, 8, ["value", "sorters"])) : y.type === "range" ? (d(), $(Ja, {
3207
3220
  key: 4,
3208
3221
  value: a[y.code],
@@ -3211,7 +3224,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3211
3224
  }, null, 8, ["value", "ranges"])) : y.type === "tree-select" ? (d(), $(f(ps), {
3212
3225
  key: 5,
3213
3226
  modelValue: a[y.code],
3214
- "onUpdate:modelValue": (A) => a[y.code] = A,
3227
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3215
3228
  placeholder: y.name,
3216
3229
  data: i[y.code],
3217
3230
  props: n,
@@ -3228,13 +3241,13 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3228
3241
  filterable: "",
3229
3242
  "collapse-tags": "",
3230
3243
  "multiple-limit": y.multipleLimit ? y.multipleLimit : 0,
3231
- "remote-method": u(y),
3244
+ "remote-method": l(y),
3232
3245
  onCheck: _,
3233
3246
  onChange: _
3234
3247
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "data", "multiple", "check-strictly", "multiple-limit", "remote-method"])) : y.type === "date" ? (d(), $(f(Ze), {
3235
3248
  key: 6,
3236
3249
  modelValue: a[y.code],
3237
- "onUpdate:modelValue": (A) => a[y.code] = A,
3250
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3238
3251
  type: "date",
3239
3252
  format: "YYYY-MM-DD",
3240
3253
  "value-format": "YYYY-MM-DD",
@@ -3242,7 +3255,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3242
3255
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : y.type === "datetime" ? (d(), $(f(Ze), {
3243
3256
  key: 7,
3244
3257
  modelValue: a[y.code],
3245
- "onUpdate:modelValue": (A) => a[y.code] = A,
3258
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3246
3259
  type: "datetime",
3247
3260
  format: "YYYY-MM-DD HH:mm:ss",
3248
3261
  "value-format": "YYYY-MM-DD HH:mm:ss",
@@ -3250,7 +3263,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3250
3263
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : y.type === "datetime-range" ? (d(), $(f(Ze), {
3251
3264
  key: 8,
3252
3265
  modelValue: a[y.code],
3253
- "onUpdate:modelValue": (A) => a[y.code] = A,
3266
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3254
3267
  type: y.dateType,
3255
3268
  format: y.format,
3256
3269
  "value-format": y.format,
@@ -3260,7 +3273,7 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3260
3273
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "format", "value-format", "start-placeholder", "end-placeholder", "placeholder"])) : (d(), $(f(fs), {
3261
3274
  key: 9,
3262
3275
  modelValue: a[y.code],
3263
- "onUpdate:modelValue": (A) => a[y.code] = A,
3276
+ "onUpdate:modelValue": (C) => a[y.code] = C,
3264
3277
  modelModifiers: { trim: !0 },
3265
3278
  placeholder: y.name,
3266
3279
  type: y.type,
@@ -3270,18 +3283,18 @@ const La = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3270
3283
  _: 2
3271
3284
  }, 1024))), 256)),
3272
3285
  r.value.length > 0 ? (d(), $(f(rt), { key: 0 }, {
3273
- default: v(() => [
3286
+ default: b(() => [
3274
3287
  O(f(ne), {
3275
3288
  type: "primary",
3276
3289
  onClick: _
3277
3290
  }, {
3278
- default: v(() => [
3291
+ default: b(() => [
3279
3292
  I(" 查询 ")
3280
3293
  ]),
3281
3294
  _: 1
3282
3295
  }),
3283
3296
  O(f(ne), { onClick: E }, {
3284
- default: v(() => [
3297
+ default: b(() => [
3285
3298
  I(" 重置 ")
3286
3299
  ]),
3287
3300
  _: 1
@@ -3304,7 +3317,7 @@ var Xa = /* @__PURE__ */ J({
3304
3317
  xmlns: "http://www.w3.org/2000/svg",
3305
3318
  viewBox: "0 0 1024 1024"
3306
3319
  }, [
3307
- C("path", {
3320
+ A("path", {
3308
3321
  fill: "currentColor",
3309
3322
  d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
3310
3323
  })
@@ -3318,7 +3331,7 @@ var Xa = /* @__PURE__ */ J({
3318
3331
  xmlns: "http://www.w3.org/2000/svg",
3319
3332
  viewBox: "0 0 1024 1024"
3320
3333
  }, [
3321
- C("path", {
3334
+ A("path", {
3322
3335
  fill: "currentColor",
3323
3336
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
3324
3337
  })
@@ -3332,7 +3345,7 @@ var Xa = /* @__PURE__ */ J({
3332
3345
  xmlns: "http://www.w3.org/2000/svg",
3333
3346
  viewBox: "0 0 1024 1024"
3334
3347
  }, [
3335
- C("path", {
3348
+ A("path", {
3336
3349
  fill: "currentColor",
3337
3350
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
3338
3351
  })
@@ -3346,7 +3359,7 @@ var Xa = /* @__PURE__ */ J({
3346
3359
  xmlns: "http://www.w3.org/2000/svg",
3347
3360
  viewBox: "0 0 1024 1024"
3348
3361
  }, [
3349
- C("path", {
3362
+ A("path", {
3350
3363
  fill: "currentColor",
3351
3364
  d: "M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"
3352
3365
  })
@@ -3360,7 +3373,7 @@ var Xa = /* @__PURE__ */ J({
3360
3373
  xmlns: "http://www.w3.org/2000/svg",
3361
3374
  viewBox: "0 0 1024 1024"
3362
3375
  }, [
3363
- C("path", {
3376
+ A("path", {
3364
3377
  fill: "currentColor",
3365
3378
  d: "M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"
3366
3379
  })
@@ -3374,7 +3387,7 @@ var Xa = /* @__PURE__ */ J({
3374
3387
  xmlns: "http://www.w3.org/2000/svg",
3375
3388
  viewBox: "0 0 1024 1024"
3376
3389
  }, [
3377
- C("path", {
3390
+ A("path", {
3378
3391
  fill: "currentColor",
3379
3392
  d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
3380
3393
  })
@@ -3388,7 +3401,7 @@ var Xa = /* @__PURE__ */ J({
3388
3401
  xmlns: "http://www.w3.org/2000/svg",
3389
3402
  viewBox: "0 0 1024 1024"
3390
3403
  }, [
3391
- C("path", {
3404
+ A("path", {
3392
3405
  fill: "currentColor",
3393
3406
  d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"
3394
3407
  })
@@ -3402,7 +3415,7 @@ var Xa = /* @__PURE__ */ J({
3402
3415
  xmlns: "http://www.w3.org/2000/svg",
3403
3416
  viewBox: "0 0 1024 1024"
3404
3417
  }, [
3405
- C("path", {
3418
+ A("path", {
3406
3419
  fill: "currentColor",
3407
3420
  d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"
3408
3421
  })
@@ -3416,7 +3429,7 @@ var Xa = /* @__PURE__ */ J({
3416
3429
  xmlns: "http://www.w3.org/2000/svg",
3417
3430
  viewBox: "0 0 1024 1024"
3418
3431
  }, [
3419
- C("path", {
3432
+ A("path", {
3420
3433
  fill: "currentColor",
3421
3434
  d: "M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"
3422
3435
  })
@@ -3430,7 +3443,7 @@ var Xa = /* @__PURE__ */ J({
3430
3443
  xmlns: "http://www.w3.org/2000/svg",
3431
3444
  viewBox: "0 0 1024 1024"
3432
3445
  }, [
3433
- C("path", {
3446
+ A("path", {
3434
3447
  fill: "currentColor",
3435
3448
  d: "M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"
3436
3449
  })
@@ -3444,7 +3457,7 @@ var Xa = /* @__PURE__ */ J({
3444
3457
  xmlns: "http://www.w3.org/2000/svg",
3445
3458
  viewBox: "0 0 1024 1024"
3446
3459
  }, [
3447
- C("path", {
3460
+ A("path", {
3448
3461
  fill: "currentColor",
3449
3462
  d: "M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"
3450
3463
  })
@@ -3458,7 +3471,7 @@ var Xa = /* @__PURE__ */ J({
3458
3471
  xmlns: "http://www.w3.org/2000/svg",
3459
3472
  viewBox: "0 0 1024 1024"
3460
3473
  }, [
3461
- C("path", {
3474
+ A("path", {
3462
3475
  fill: "currentColor",
3463
3476
  d: "M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"
3464
3477
  })
@@ -3472,13 +3485,13 @@ var Xa = /* @__PURE__ */ J({
3472
3485
  xmlns: "http://www.w3.org/2000/svg",
3473
3486
  viewBox: "0 0 1024 1024"
3474
3487
  }, [
3475
- C("path", {
3488
+ A("path", {
3476
3489
  fill: "currentColor",
3477
3490
  d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
3478
3491
  })
3479
3492
  ]));
3480
3493
  }
3481
- }), Al = gr, yr = /* @__PURE__ */ J({
3494
+ }), Cl = gr, yr = /* @__PURE__ */ J({
3482
3495
  name: "PriceTag",
3483
3496
  __name: "price-tag",
3484
3497
  setup(t) {
@@ -3486,11 +3499,11 @@ var Xa = /* @__PURE__ */ J({
3486
3499
  xmlns: "http://www.w3.org/2000/svg",
3487
3500
  viewBox: "0 0 1024 1024"
3488
3501
  }, [
3489
- C("path", {
3502
+ A("path", {
3490
3503
  fill: "currentColor",
3491
3504
  d: "M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"
3492
3505
  }),
3493
- C("path", {
3506
+ A("path", {
3494
3507
  fill: "currentColor",
3495
3508
  d: "M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"
3496
3509
  })
@@ -3504,13 +3517,13 @@ var Xa = /* @__PURE__ */ J({
3504
3517
  xmlns: "http://www.w3.org/2000/svg",
3505
3518
  viewBox: "0 0 1024 1024"
3506
3519
  }, [
3507
- C("path", {
3520
+ A("path", {
3508
3521
  fill: "currentColor",
3509
3522
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"
3510
3523
  })
3511
3524
  ]));
3512
3525
  }
3513
- }), Cl = _r, vr = /* @__PURE__ */ J({
3526
+ }), Al = _r, vr = /* @__PURE__ */ J({
3514
3527
  name: "Setting",
3515
3528
  __name: "setting",
3516
3529
  setup(t) {
@@ -3518,7 +3531,7 @@ var Xa = /* @__PURE__ */ J({
3518
3531
  xmlns: "http://www.w3.org/2000/svg",
3519
3532
  viewBox: "0 0 1024 1024"
3520
3533
  }, [
3521
- C("path", {
3534
+ A("path", {
3522
3535
  fill: "currentColor",
3523
3536
  d: "M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"
3524
3537
  })
@@ -3532,7 +3545,7 @@ var Xa = /* @__PURE__ */ J({
3532
3545
  xmlns: "http://www.w3.org/2000/svg",
3533
3546
  viewBox: "0 0 1024 1024"
3534
3547
  }, [
3535
- C("path", {
3548
+ A("path", {
3536
3549
  fill: "currentColor",
3537
3550
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
3538
3551
  })
@@ -3546,7 +3559,7 @@ var Xa = /* @__PURE__ */ J({
3546
3559
  xmlns: "http://www.w3.org/2000/svg",
3547
3560
  viewBox: "0 0 1024 1024"
3548
3561
  }, [
3549
- C("path", {
3562
+ A("path", {
3550
3563
  fill: "currentColor",
3551
3564
  d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
3552
3565
  })
@@ -3573,49 +3586,49 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3573
3586
  function h() {
3574
3587
  r.$reset({ isDeleted: !i.value });
3575
3588
  }
3576
- function l() {
3577
- const w = `table-view-${s.path}-${e.settings.code}`, S = localStorage.getItem(w) ? localStorage.getItem(w) : p.value;
3589
+ function u() {
3590
+ const v = `table-view-${s.path}-${e.settings.code}`, S = localStorage.getItem(v) ? localStorage.getItem(v) : p.value;
3578
3591
  o.change(S);
3579
3592
  }
3580
- function u(w) {
3581
- o.change(w);
3593
+ function l(v) {
3594
+ o.change(v);
3582
3595
  const S = `table-view-${s.path}-${e.settings.code}`;
3583
3596
  localStorage.setItem(S, o.mode);
3584
3597
  }
3585
- return pn(l), (w, S) => (d(), x(P, null, [
3586
- C("div", $r, [
3587
- C("div", Sr, j(i.value ? `已删除的${f(n)}` : f(n)), 1),
3588
- C("div", xr, [
3598
+ return pn(u), (v, S) => (d(), x(P, null, [
3599
+ A("div", $r, [
3600
+ A("div", Sr, j(i.value ? `已删除的${f(n)}` : f(n)), 1),
3601
+ A("div", xr, [
3589
3602
  f(a).operations ? (d(), $(f(he), {
3590
3603
  key: 0,
3591
3604
  class: "button-groups"
3592
3605
  }, {
3593
- default: v(() => [
3594
- G(w.$slots, "operations", {}, void 0, !0)
3606
+ default: b(() => [
3607
+ G(v.$slots, "operations", {}, void 0, !0)
3595
3608
  ]),
3596
3609
  _: 3
3597
3610
  })) : T("", !0),
3598
3611
  O(f(he), { class: "button-groups" }, {
3599
- default: v(() => [
3600
- G(w.$slots, "tools", {}, void 0, !0)
3612
+ default: b(() => [
3613
+ G(v.$slots, "tools", {}, void 0, !0)
3601
3614
  ]),
3602
3615
  _: 3
3603
3616
  }),
3604
3617
  O(f(it), {
3605
3618
  trigger: "click",
3606
- onCommand: u
3619
+ onCommand: l
3607
3620
  }, {
3608
- dropdown: v(() => [
3621
+ dropdown: b(() => [
3609
3622
  O(f(lt), null, {
3610
- default: v(() => [
3623
+ default: b(() => [
3611
3624
  O(f(de), { command: "list" }, {
3612
- default: v(() => [
3625
+ default: b(() => [
3613
3626
  I(" 列表 ")
3614
3627
  ]),
3615
3628
  _: 1
3616
3629
  }),
3617
3630
  O(f(de), { command: "grid" }, {
3618
- default: v(() => [
3631
+ default: b(() => [
3619
3632
  I(" 网格 ")
3620
3633
  ]),
3621
3634
  _: 1
@@ -3624,17 +3637,17 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3624
3637
  _: 1
3625
3638
  })
3626
3639
  ]),
3627
- default: v(() => [
3640
+ default: b(() => [
3628
3641
  O(f(ne), null, {
3629
- default: v(() => [
3642
+ default: b(() => [
3630
3643
  O(f(K), null, {
3631
- default: v(() => [
3644
+ default: b(() => [
3632
3645
  O(f(cr))
3633
3646
  ]),
3634
3647
  _: 1
3635
3648
  }),
3636
3649
  O(f(K), { class: "el-icon--right" }, {
3637
- default: v(() => [
3650
+ default: b(() => [
3638
3651
  O(f(Za))
3639
3652
  ]),
3640
3653
  _: 1
@@ -3649,15 +3662,15 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3649
3662
  key: 1,
3650
3663
  trigger: "click"
3651
3664
  }, {
3652
- dropdown: v(() => [
3665
+ dropdown: b(() => [
3653
3666
  O(f(lt), null, {
3654
- default: v(() => [
3667
+ default: b(() => [
3655
3668
  O(f(de), {
3656
3669
  command: "deleted",
3657
3670
  onClick: h
3658
3671
  }, {
3659
- default: v(() => [
3660
- C("div", null, j(i.value ? "未删除" : "已删除"), 1)
3672
+ default: b(() => [
3673
+ A("div", null, j(i.value ? "未删除" : "已删除"), 1)
3661
3674
  ]),
3662
3675
  _: 1
3663
3676
  })
@@ -3665,11 +3678,11 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3665
3678
  _: 1
3666
3679
  })
3667
3680
  ]),
3668
- default: v(() => [
3681
+ default: b(() => [
3669
3682
  O(f(ne), null, {
3670
- default: v(() => [
3683
+ default: b(() => [
3671
3684
  O(f(K), null, {
3672
- default: v(() => [
3685
+ default: b(() => [
3673
3686
  O(f(br))
3674
3687
  ]),
3675
3688
  _: 1
@@ -3687,7 +3700,7 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3687
3700
  }, null, 8, ["settings"])
3688
3701
  ], 64));
3689
3702
  }
3690
- }, Or = /* @__PURE__ */ V(kr, [["__scopeId", "data-v-fbc6f7d9"]]), Ar = { class: "kst-field-row-id" }, Cr = { key: 0 }, Dr = {
3703
+ }, Or = /* @__PURE__ */ V(kr, [["__scopeId", "data-v-fbc6f7d9"]]), Cr = { class: "kst-field-row-id" }, Ar = { key: 0 }, Dr = {
3691
3704
  key: 1,
3692
3705
  class: "mono-data"
3693
3706
  }, Fr = { key: 1 }, Rr = {
@@ -3712,15 +3725,15 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3712
3725
  return s.field.isRouter(s.row, Q(n));
3713
3726
  }
3714
3727
  return (p, h) => {
3715
- const l = Qe("RouterLink");
3716
- return d(), x("div", Ar, [
3717
- r.value ? (d(), x("span", Cr, [
3718
- i() ? (d(), $(l, {
3728
+ const u = Qe("RouterLink");
3729
+ return d(), x("div", Cr, [
3730
+ r.value ? (d(), x("span", Ar, [
3731
+ i() ? (d(), $(u, {
3719
3732
  key: 0,
3720
3733
  class: "bld-link mono-data",
3721
3734
  to: a.value
3722
3735
  }, {
3723
- default: v(() => [
3736
+ default: b(() => [
3724
3737
  f(e).name ? (d(), x(P, { key: 0 }, [
3725
3738
  G(p.$slots, "name", {}, void 0, !0),
3726
3739
  I("(#" + j(r.value) + ") ", 1)
@@ -3747,7 +3760,7 @@ function Pr(t) {
3747
3760
  }
3748
3761
  const Lr = {
3749
3762
  show: Pr
3750
- }, tn = 10, Ct = wt("route-history", {
3763
+ }, tn = 10, At = wt("route-history", {
3751
3764
  state: () => ({
3752
3765
  root: null,
3753
3766
  history: []
@@ -3794,18 +3807,18 @@ const Lr = {
3794
3807
  },
3795
3808
  setup(t) {
3796
3809
  var g;
3797
- const e = Ct(), n = le(), s = M(), o = ve(), r = Q(s), a = t, i = F({}), p = F(!1), h = N(() => {
3810
+ const e = At(), n = le(), s = M(), o = ve(), r = Q(s), a = t, i = F({}), p = F(!1), h = N(() => {
3798
3811
  var m, _;
3799
3812
  return a.row.deletedAt ? !1 : (m = a.operations) != null && m.updatable ? !0 : !!((_ = a.operations) != null && _.removable);
3800
- }), l = F((g = a.operations) == null ? void 0 : g.removable);
3801
- async function u() {
3813
+ }), u = F((g = a.operations) == null ? void 0 : g.removable);
3814
+ async function l() {
3802
3815
  const m = a.settings.formHook, _ = a.settings.btnVisible, E = a.settings.rest, { data: c } = await E.getOne({
3803
3816
  ...a.row,
3804
3817
  ...r
3805
3818
  });
3806
- i.value = c, m.setupUpdate && (i.value = m.setupUpdate(i.value, r)), _.showRemove && (l.value = _.showRemove(i.value)), p.value = !0;
3819
+ i.value = c, m.setupUpdate && (i.value = m.setupUpdate(i.value, r)), _.showRemove && (u.value = _.showRemove(i.value)), p.value = !0;
3807
3820
  }
3808
- function w(m, _) {
3821
+ function v(m, _) {
3809
3822
  const E = a.settings.formHook, c = a.settings.rest;
3810
3823
  Object.keys(r).forEach((k) => {
3811
3824
  m[k] = r[k];
@@ -3827,18 +3840,18 @@ const Lr = {
3827
3840
  return (m, _) => h.value ? (d(), $(f(ne), {
3828
3841
  key: 0,
3829
3842
  type: "primary",
3830
- onClick: u
3843
+ onClick: l
3831
3844
  }, {
3832
- default: v(() => [
3845
+ default: b(() => [
3833
3846
  I(" 编辑 "),
3834
- p.value ? (d(), $(At, {
3847
+ p.value ? (d(), $(Ct, {
3835
3848
  key: 0,
3836
3849
  modelValue: p.value,
3837
3850
  "onUpdate:modelValue": _[0] || (_[0] = (E) => p.value = E),
3838
3851
  config: a.settings,
3839
3852
  data: i.value,
3840
- removable: l.value,
3841
- onSubmit: w,
3853
+ removable: u.value,
3854
+ onSubmit: v,
3842
3855
  onRemove: S
3843
3856
  }, null, 8, ["modelValue", "config", "data", "removable"])) : T("", !0)
3844
3857
  ]),
@@ -3848,7 +3861,7 @@ const Lr = {
3848
3861
  }, jr = (t) => (fn("data-v-af19c26f"), t = t(), mn(), t), Br = { class: "data-grid-wrapper" }, Vr = {
3849
3862
  key: 0,
3850
3863
  class: "cover"
3851
- }, Ir = /* @__PURE__ */ jr(() => /* @__PURE__ */ C("div", { class: "image-slot" }, null, -1)), Nr = { class: "header" }, Mr = { key: 0 }, Ur = { class: "key" }, zr = { class: "value" }, Hr = {
3864
+ }, Ir = /* @__PURE__ */ jr(() => /* @__PURE__ */ A("div", { class: "image-slot" }, null, -1)), Nr = { class: "header" }, Mr = { key: 0 }, Ur = { class: "key" }, zr = { class: "value" }, Hr = {
3852
3865
  key: 1,
3853
3866
  class: "footer tools"
3854
3867
  }, qr = {
@@ -3872,18 +3885,18 @@ const Lr = {
3872
3885
  e.path,
3873
3886
  o.settings.filters,
3874
3887
  o.settings.filterHook
3875
- )(), { filters: a } = ge(r), i = F(a.value), p = te([]), h = te(null), l = F(!1);
3876
- async function u() {
3888
+ )(), { filters: a } = ge(r), i = F(a.value), p = te([]), h = te(null), u = F(!1);
3889
+ async function l() {
3877
3890
  return await o.settings.showEdit(n, "grid");
3878
3891
  }
3879
3892
  vt(() => {
3880
- u().then((E) => {
3881
- l.value = E;
3893
+ l().then((E) => {
3894
+ u.value = E;
3882
3895
  });
3883
3896
  });
3884
- const w = N(() => {
3897
+ const v = N(() => {
3885
3898
  var E, c;
3886
- return !!((E = o.operations) != null && E.updatable && l || (c = o.operations) != null && c.removable && l);
3899
+ return !!((E = o.operations) != null && E.updatable && u || (c = o.operations) != null && c.removable && u);
3887
3900
  }), S = N(() => o.settings.displayMode.gridWidth), g = N(() => o.settings.displayMode.heightAuto);
3888
3901
  function m() {
3889
3902
  h.value = o.settings.fields.find((E) => E.code === "id"), p.value = o.settings.fields.filter((E) => E.code === o.settings.coverField || E.code === o.settings.nameField || E.code === "id" ? !1 : E.showInList(n, i.value));
@@ -3901,7 +3914,7 @@ const Lr = {
3901
3914
  key: 1,
3902
3915
  gutter: 20
3903
3916
  }, {
3904
- default: v(() => [
3917
+ default: b(() => [
3905
3918
  (d(!0), x(P, null, z(t.data, (k) => (d(), $(f(pe), {
3906
3919
  style: { "margin-bottom": "20px" },
3907
3920
  span: S.value ? S.value : 24,
@@ -3911,12 +3924,12 @@ const Lr = {
3911
3924
  lg: S.value ? {} : 6,
3912
3925
  xl: S.value ? {} : 4
3913
3926
  }, {
3914
- default: v(() => [
3927
+ default: b(() => [
3915
3928
  O(f(bt), {
3916
3929
  "body-style": { padding: "0px" },
3917
3930
  shadow: "hover"
3918
3931
  }, {
3919
- default: v(() => [
3932
+ default: b(() => [
3920
3933
  f(s).cover || o.settings.coverField ? (d(), x("div", Vr, [
3921
3934
  f(s).cover ? G(E.$slots, "cover", {
3922
3935
  key: 0,
@@ -3926,27 +3939,27 @@ const Lr = {
3926
3939
  src: k[o.settings.coverField],
3927
3940
  fit: "contain"
3928
3941
  }, {
3929
- error: v(() => [
3942
+ error: b(() => [
3930
3943
  Ir
3931
3944
  ]),
3932
3945
  _: 2
3933
3946
  }, 1032, ["src"]))
3934
3947
  ])) : T("", !0),
3935
- C("div", Nr, [
3948
+ A("div", Nr, [
3936
3949
  O(Tr, {
3937
3950
  field: h.value,
3938
3951
  row: k
3939
3952
  }, Se({ _: 2 }, [
3940
3953
  k[o.settings.nameField] ? {
3941
3954
  name: "name",
3942
- fn: v(() => [
3955
+ fn: b(() => [
3943
3956
  I(j(_(k)), 1)
3944
3957
  ]),
3945
3958
  key: "0"
3946
3959
  } : void 0
3947
3960
  ]), 1032, ["field", "row"])
3948
3961
  ]),
3949
- C("div", {
3962
+ A("div", {
3950
3963
  class: we(g.value ? "body heightAuto" : "body")
3951
3964
  }, [
3952
3965
  f(s).body ? (d(), x("div", Mr, [
@@ -3955,8 +3968,8 @@ const Lr = {
3955
3968
  key: y.code,
3956
3969
  class: "field mono-data"
3957
3970
  }, [
3958
- C("div", Ur, j(y.label) + " ", 1),
3959
- C("div", zr, [
3971
+ A("div", Ur, j(y.label) + " ", 1),
3972
+ A("div", zr, [
3960
3973
  (d(), $(Y(y.display), {
3961
3974
  field: y,
3962
3975
  row: k,
@@ -3965,21 +3978,21 @@ const Lr = {
3965
3978
  ])
3966
3979
  ]))), 128))
3967
3980
  ], 2),
3968
- f(s).actions || w.value ? (d(), x("div", Hr, [
3981
+ f(s).actions || v.value ? (d(), x("div", Hr, [
3969
3982
  f(s).actions ? (d(), $(f(he), {
3970
3983
  key: 0,
3971
3984
  size: "small"
3972
3985
  }, {
3973
- default: v(() => [
3986
+ default: b(() => [
3974
3987
  G(E.$slots, "actions", { row: k }, void 0, !0)
3975
3988
  ]),
3976
3989
  _: 2
3977
3990
  }, 1024)) : T("", !0),
3978
- w.value ? (d(), $(f(he), {
3991
+ v.value ? (d(), $(f(he), {
3979
3992
  key: 1,
3980
3993
  size: "small"
3981
3994
  }, {
3982
- default: v(() => [
3995
+ default: b(() => [
3983
3996
  O(Dt, {
3984
3997
  row: k,
3985
3998
  settings: o.settings,
@@ -4038,18 +4051,18 @@ const Jr = {
4038
4051
  n.path,
4039
4052
  a.settings.filters,
4040
4053
  a.settings.filterHook
4041
- )(), { filters: p } = ge(i), h = F(p.value), l = te([]), u = F(!1);
4042
- async function w() {
4054
+ )(), { filters: p } = ge(i), h = F(p.value), u = te([]), l = F(!1);
4055
+ async function v() {
4043
4056
  return await a.settings.showEdit(s, "list");
4044
4057
  }
4045
4058
  vt(() => {
4046
- w().then((c) => {
4047
- u.value = c;
4059
+ v().then((c) => {
4060
+ l.value = c;
4048
4061
  });
4049
4062
  });
4050
4063
  const S = N(() => {
4051
4064
  var c, k;
4052
- return !!((c = a.operations) != null && c.updatable && u.value || (k = a.operations) != null && k.removable && u.value);
4065
+ return !!((c = a.operations) != null && c.updatable && l.value || (k = a.operations) != null && k.removable && l.value);
4053
4066
  });
4054
4067
  function g(c) {
4055
4068
  o("sort-column", c);
@@ -4061,12 +4074,12 @@ const Jr = {
4061
4074
  var k, y;
4062
4075
  const c = [...a.settings.fields];
4063
4076
  if ((k = a.settings) != null && k.extendTableColumnfields) {
4064
- const A = a.settings.extendTableColumnfields(
4077
+ const C = a.settings.extendTableColumnfields(
4065
4078
  (y = a.data) == null ? void 0 : y[0]
4066
4079
  );
4067
- c.push(...A);
4080
+ c.push(...C);
4068
4081
  }
4069
- l.value = c.filter((A) => A.showInList(s, h.value));
4082
+ u.value = c.filter((C) => C.showInList(s, h.value));
4070
4083
  }
4071
4084
  function E(c) {
4072
4085
  o("select-change", {
@@ -4091,12 +4104,12 @@ const Jr = {
4091
4104
  onSelectionChange: E,
4092
4105
  onSortChange: g
4093
4106
  }, {
4094
- default: v(() => [
4107
+ default: b(() => [
4095
4108
  O(f(Be), {
4096
4109
  type: "selection",
4097
4110
  width: "40"
4098
4111
  }),
4099
- (d(!0), x(P, null, z(l.value, (y) => (d(), $(f(Be), {
4112
+ (d(!0), x(P, null, z(u.value, (y) => (d(), $(f(Be), {
4100
4113
  key: y.code,
4101
4114
  label: y.label,
4102
4115
  width: y.width,
@@ -4106,10 +4119,10 @@ const Jr = {
4106
4119
  }, Se({ _: 2 }, [
4107
4120
  y.type === "switch" ? {
4108
4121
  name: "default",
4109
- fn: v(({ row: A }) => [
4122
+ fn: b(({ row: C }) => [
4110
4123
  (d(), $(Y(y.display), {
4111
4124
  field: y,
4112
- row: A,
4125
+ row: C,
4113
4126
  mode: "list",
4114
4127
  onEnable: m
4115
4128
  }, null, 40, ["field", "row"]))
@@ -4117,11 +4130,11 @@ const Jr = {
4117
4130
  key: "0"
4118
4131
  } : {
4119
4132
  name: "default",
4120
- fn: v(({ row: A }) => [
4133
+ fn: b(({ row: C }) => [
4121
4134
  (d(), $(Y(y.display), {
4122
- key: A.updatedAt,
4135
+ key: C.updatedAt,
4123
4136
  field: y,
4124
- row: A,
4137
+ row: C,
4125
4138
  mode: "list"
4126
4139
  }, null, 8, ["field", "row"]))
4127
4140
  ]),
@@ -4134,9 +4147,9 @@ const Jr = {
4134
4147
  fixed: "right",
4135
4148
  width: a.actionsWidth
4136
4149
  }, {
4137
- default: v(({ row: y }) => [
4150
+ default: b(({ row: y }) => [
4138
4151
  O(f(he), { size: "small" }, {
4139
- default: v(() => [
4152
+ default: b(() => [
4140
4153
  G(c.$slots, "actions", { row: y }, void 0, !0)
4141
4154
  ]),
4142
4155
  _: 2
@@ -4150,9 +4163,9 @@ const Jr = {
4150
4163
  label: "操作",
4151
4164
  width: a.operationsWidth
4152
4165
  }, {
4153
- default: v(({ row: y }) => [
4166
+ default: b(({ row: y }) => [
4154
4167
  O(f(he), { size: "small" }, {
4155
- default: v(() => [
4168
+ default: b(() => [
4156
4169
  O(Dt, {
4157
4170
  row: y,
4158
4171
  settings: a.settings,
@@ -4194,10 +4207,10 @@ const Jr = {
4194
4207
  return B(n, (i) => {
4195
4208
  a(i);
4196
4209
  }), (i, p) => (d(), $(Y(r.value), jt(Bt(o)), Se({ _: 2 }, [
4197
- z(f(s), (h, l) => ({
4198
- name: l,
4199
- fn: v((u) => [
4200
- G(i.$slots, l, jt(Bt(u || {})))
4210
+ z(f(s), (h, u) => ({
4211
+ name: u,
4212
+ fn: b((l) => [
4213
+ G(i.$slots, u, jt(Bt(l || {})))
4201
4214
  ])
4202
4215
  }))
4203
4216
  ]), 1040));
@@ -4217,43 +4230,43 @@ const Jr = {
4217
4230
  setup(t) {
4218
4231
  const e = le(), n = M(), s = Q(n), o = t, r = F({}), a = F(!1), i = F(!1);
4219
4232
  async function p() {
4220
- var u;
4221
- return await ((u = o.operations) == null ? void 0 : u.creatable);
4233
+ var l;
4234
+ return await ((l = o.operations) == null ? void 0 : l.creatable);
4222
4235
  }
4223
4236
  vt(() => {
4224
- p().then((u) => {
4225
- i.value = u;
4237
+ p().then((l) => {
4238
+ i.value = l;
4226
4239
  });
4227
4240
  });
4228
4241
  async function h() {
4229
- const u = o.settings.formHook, w = o.settings.fields.reduce((S, g) => (S[g.code] = g.default, S), {});
4230
- r.value = w, u.setupCreate && (r.value = u.setupCreate(r.value, s)), a.value = !0;
4242
+ const l = o.settings.formHook, v = o.settings.fields.reduce((S, g) => (S[g.code] = g.default, S), {});
4243
+ r.value = v, l.setupCreate && (r.value = l.setupCreate(r.value, s)), a.value = !0;
4231
4244
  }
4232
- function l(u, w) {
4245
+ function u(l, v) {
4233
4246
  const S = o.settings.formHook, g = o.settings.rest;
4234
4247
  Object.keys(s).forEach((m) => {
4235
- u[m] = s[m];
4236
- }), S != null && S.preCreateSubmit && (u = S.preCreateSubmit(u)), g.create(u).then(() => {
4248
+ l[m] = s[m];
4249
+ }), S != null && S.preCreateSubmit && (l = S.preCreateSubmit(l)), g.create(l).then(() => {
4237
4250
  a.value = !1, e.fireCreated();
4238
4251
  }).catch(async () => {
4239
- w();
4252
+ v();
4240
4253
  });
4241
4254
  }
4242
- return (u, w) => i.value ? (d(), $(f(ne), {
4255
+ return (l, v) => i.value ? (d(), $(f(ne), {
4243
4256
  key: 0,
4244
4257
  type: "success",
4245
4258
  onClick: h
4246
4259
  }, {
4247
- default: v(() => [
4260
+ default: b(() => [
4248
4261
  I(" 添加 "),
4249
- a.value ? (d(), $(At, {
4262
+ a.value ? (d(), $(Ct, {
4250
4263
  key: 0,
4251
4264
  modelValue: a.value,
4252
- "onUpdate:modelValue": w[0] || (w[0] = (S) => a.value = S),
4265
+ "onUpdate:modelValue": v[0] || (v[0] = (S) => a.value = S),
4253
4266
  config: o.settings,
4254
4267
  data: r.value,
4255
4268
  removable: !1,
4256
- onSubmit: l
4269
+ onSubmit: u
4257
4270
  }, null, 8, ["modelValue", "config", "data"])) : T("", !0)
4258
4271
  ]),
4259
4272
  _: 1
@@ -4283,12 +4296,12 @@ const Jr = {
4283
4296
  r.close(), i(p, h);
4284
4297
  return;
4285
4298
  }
4286
- const l = await Ae.getValue();
4299
+ const u = await Ce.getValue();
4287
4300
  try {
4288
4301
  await p.action({
4289
4302
  ...h,
4290
4303
  ...s.query,
4291
- idempotentToken: l
4304
+ idempotentToken: u
4292
4305
  }), r.close(), n.fireUpdated();
4293
4306
  } catch {
4294
4307
  r.close(), n.fireUpdated();
@@ -4303,18 +4316,18 @@ const Jr = {
4303
4316
  o.value = s.settings.rowActions(s.query);
4304
4317
  },
4305
4318
  { immediate: !0 }
4306
- ), (p, h) => (d(!0), x(P, null, z(o.value, (l) => (d(), x(P, null, [
4307
- l.isVisible(s.row, s.query, s.mode) ? (d(), x(P, { key: 0 }, [
4308
- l.component ? (d(), $(Y(l.component), {
4319
+ ), (p, h) => (d(!0), x(P, null, z(o.value, (u) => (d(), x(P, null, [
4320
+ u.isVisible(s.row, s.query, s.mode) ? (d(), x(P, { key: 0 }, [
4321
+ u.component ? (d(), $(Y(u.component), {
4309
4322
  key: 0,
4310
4323
  row: t.row
4311
4324
  }, null, 8, ["row"])) : (d(), $(f(ne), {
4312
4325
  key: 1,
4313
- type: l.type ? l.type : "primary",
4314
- onClick: (u) => a(l, s.row)
4326
+ type: u.type ? u.type : "primary",
4327
+ onClick: (l) => a(u, s.row)
4315
4328
  }, {
4316
- default: v(() => [
4317
- I(j(l.name), 1)
4329
+ default: b(() => [
4330
+ I(j(u.name), 1)
4318
4331
  ]),
4319
4332
  _: 2
4320
4333
  }, 1032, ["type", "onClick"]))
@@ -4339,32 +4352,32 @@ const Jr = {
4339
4352
  },
4340
4353
  setup(t) {
4341
4354
  const e = le(), n = t, s = n.query, o = F({}), r = te([]), a = N(() => {
4342
- var l, u;
4343
- return ((u = (l = n.tableDataSelect) == null ? void 0 : l.data) == null ? void 0 : u.length) > 0;
4355
+ var u, l;
4356
+ return ((l = (u = n.tableDataSelect) == null ? void 0 : u.data) == null ? void 0 : l.length) > 0;
4344
4357
  });
4345
4358
  F(!1), B(
4346
4359
  () => n.filterForm,
4347
- (l) => {
4348
- o.value = l;
4360
+ (u) => {
4361
+ o.value = u;
4349
4362
  }
4350
4363
  );
4351
4364
  const i = F(!1);
4352
- async function p(l) {
4365
+ async function p(u) {
4353
4366
  i.value = !0;
4354
- const u = await Ae.getValue();
4367
+ const l = await Ce.getValue();
4355
4368
  try {
4356
- await l.action({
4369
+ await u.action({
4357
4370
  ...n.tableDataSelect,
4358
4371
  filterForms: o.value,
4359
4372
  query: s,
4360
- idempotentToken: u
4373
+ idempotentToken: l
4361
4374
  }), i.value = !1, e.fireUpdated();
4362
4375
  } catch {
4363
4376
  i.value = !1, e.fireUpdated();
4364
4377
  }
4365
4378
  }
4366
- function h(l) {
4367
- return typeof h == "boolean" ? l : typeof l == "function" ? l(o.value, s) : !0;
4379
+ function h(u) {
4380
+ return typeof h == "boolean" ? u : typeof u == "function" ? u(o.value, s) : !0;
4368
4381
  }
4369
4382
  return B(
4370
4383
  () => n.row,
@@ -4372,30 +4385,30 @@ const Jr = {
4372
4385
  r.value = n.settings.pageActions(n.query);
4373
4386
  },
4374
4387
  { immediate: !0 }
4375
- ), (l, u) => (d(!0), x(P, null, z(r.value, (w) => (d(), x(P, null, [
4376
- h(w.isVisible) ? (d(), x(P, { key: 0 }, [
4377
- w.component ? (d(), $(Y(w.component), {
4388
+ ), (u, l) => (d(!0), x(P, null, z(r.value, (v) => (d(), x(P, null, [
4389
+ h(v.isVisible) ? (d(), x(P, { key: 0 }, [
4390
+ v.component ? (d(), $(Y(v.component), {
4378
4391
  key: 0,
4379
- item: w,
4392
+ item: v,
4380
4393
  settings: t.settings,
4381
4394
  query: f(s),
4382
4395
  "table-data-select": t.tableDataSelect,
4383
4396
  "filter-form": t.filterForm
4384
- }, null, 8, ["item", "settings", "query", "table-data-select", "filter-form"])) : w.tooltip && w.tooltip.content ? (d(), $(f(yn), {
4397
+ }, null, 8, ["item", "settings", "query", "table-data-select", "filter-form"])) : v.tooltip && v.tooltip.content ? (d(), $(f(yn), {
4385
4398
  key: 1,
4386
- effect: w.tooltip.effect || "dark",
4387
- content: w.tooltip.content || "default tip",
4388
- placement: w.tooltip.placement || "top-start"
4399
+ effect: v.tooltip.effect || "dark",
4400
+ content: v.tooltip.content || "default tip",
4401
+ placement: v.tooltip.placement || "top-start"
4389
4402
  }, {
4390
- default: v(() => [
4403
+ default: b(() => [
4391
4404
  O(f(ne), {
4392
- type: w.type,
4405
+ type: v.type,
4393
4406
  loading: i.value,
4394
- disabled: !w.enable && !a.value,
4395
- onClick: (S) => p(w)
4407
+ disabled: !v.enable && !a.value,
4408
+ onClick: (S) => p(v)
4396
4409
  }, {
4397
- default: v(() => [
4398
- I(j(w.name), 1)
4410
+ default: b(() => [
4411
+ I(j(v.name), 1)
4399
4412
  ]),
4400
4413
  _: 2
4401
4414
  }, 1032, ["type", "loading", "disabled", "onClick"])
@@ -4403,13 +4416,13 @@ const Jr = {
4403
4416
  _: 2
4404
4417
  }, 1032, ["effect", "content", "placement"])) : (d(), $(f(ne), {
4405
4418
  key: 2,
4406
- type: w.type,
4419
+ type: v.type,
4407
4420
  loading: i.value,
4408
- disabled: !w.enable && !a.value,
4409
- onClick: (S) => p(w)
4421
+ disabled: !v.enable && !a.value,
4422
+ onClick: (S) => p(v)
4410
4423
  }, {
4411
- default: v(() => [
4412
- I(j(w.name), 1)
4424
+ default: b(() => [
4425
+ I(j(v.name), 1)
4413
4426
  ]),
4414
4427
  _: 2
4415
4428
  }, 1032, ["type", "loading", "disabled", "onClick"]))
@@ -4440,8 +4453,8 @@ const Jr = {
4440
4453
  const n = e, s = ve(), o = M(), r = t, a = F(r.page), i = F(r.size), p = F(r.total), h = F(r.pageSizes);
4441
4454
  B(
4442
4455
  () => r.total,
4443
- (w) => {
4444
- p.value = w;
4456
+ (v) => {
4457
+ p.value = v;
4445
4458
  }
4446
4459
  ), B(
4447
4460
  () => [o.query.page, o.query.pageSize],
@@ -4449,8 +4462,8 @@ const Jr = {
4449
4462
  !o.query.page || !o.query.pageSize ? (a.value = 1, i.value = 30) : (a.value = parseInt(o.query.page), i.value = parseInt(o.query.pageSize)), n("page-change", { page: a.value, size: i.value });
4450
4463
  }
4451
4464
  );
4452
- function l(w) {
4453
- a.value = w, s.push({
4465
+ function u(v) {
4466
+ a.value = v, s.push({
4454
4467
  path: o.path,
4455
4468
  query: {
4456
4469
  ...o.query,
@@ -4459,8 +4472,8 @@ const Jr = {
4459
4472
  }
4460
4473
  });
4461
4474
  }
4462
- function u(w) {
4463
- i.value = w, s.push({
4475
+ function l(v) {
4476
+ i.value = v, s.push({
4464
4477
  path: o.path,
4465
4478
  query: {
4466
4479
  ...o.query,
@@ -4469,7 +4482,7 @@ const Jr = {
4469
4482
  }
4470
4483
  });
4471
4484
  }
4472
- return (w, S) => (d(), x("div", Xr, [
4485
+ return (v, S) => (d(), x("div", Xr, [
4473
4486
  O(f(gs), {
4474
4487
  background: "",
4475
4488
  "page-size": i.value,
@@ -4477,8 +4490,8 @@ const Jr = {
4477
4490
  total: p.value,
4478
4491
  "current-page": t.page,
4479
4492
  layout: "total,sizes, prev, pager, next",
4480
- onCurrentChange: l,
4481
- onSizeChange: u
4493
+ onCurrentChange: u,
4494
+ onSizeChange: l
4482
4495
  }, null, 8, ["page-size", "page-sizes", "total", "current-page"])
4483
4496
  ]));
4484
4497
  }
@@ -4524,14 +4537,14 @@ function ln(t, e, n = {}) {
4524
4537
  let a;
4525
4538
  const i = ii(() => o && "ResizeObserver" in o), p = () => {
4526
4539
  a && (a.disconnect(), a = void 0);
4527
- }, h = B(() => ai(t), (u) => {
4528
- p(), i.value && o && u && (a = new ResizeObserver(e), a.observe(u, r));
4529
- }, { immediate: !0, flush: "post" }), l = () => {
4540
+ }, h = B(() => ai(t), (l) => {
4541
+ p(), i.value && o && l && (a = new ResizeObserver(e), a.observe(l, r));
4542
+ }, { immediate: !0, flush: "post" }), u = () => {
4530
4543
  p(), h();
4531
4544
  };
4532
- return si(l), {
4545
+ return si(u), {
4533
4546
  isSupported: i,
4534
- stop: l
4547
+ stop: u
4535
4548
  };
4536
4549
  }
4537
4550
  var un;
@@ -4602,11 +4615,11 @@ const gi = {
4602
4615
  B(r, (L) => {
4603
4616
  c.value = L, X();
4604
4617
  });
4605
- const i = le(), { created: p, updated: h, removed: l } = ge(i);
4606
- B([p, h, l], ([L, H, se]) => {
4618
+ const i = le(), { created: p, updated: h, removed: u } = ge(i);
4619
+ B([p, h, u], ([L, H, se]) => {
4607
4620
  (L || H || se) && X();
4608
4621
  });
4609
- const u = F(!0), w = F([]), S = F(0), g = F({}), m = F({}), _ = F(null), E = F(null), c = F({}), k = F(parseInt(e.query.pageSize) || 30), y = F(parseInt(e.query.page) || 1), A = (Pt = s.hasMany) == null ? void 0 : Pt.tableContentHeight;
4622
+ const l = F(!0), v = F([]), S = F(0), g = F({}), m = F({}), _ = F(null), E = F(null), c = F({}), k = F(parseInt(e.query.pageSize) || 30), y = F(parseInt(e.query.page) || 1), C = (Pt = s.hasMany) == null ? void 0 : Pt.tableContentHeight;
4610
4623
  function D(L) {
4611
4624
  let H = null;
4612
4625
  if (L.order === "ascending" ? H = "ASC" : L.order === "descending" && (H = "DESC"), c.value.sorters) {
@@ -4625,7 +4638,7 @@ const gi = {
4625
4638
  m.value = s.settings.operations(n);
4626
4639
  }
4627
4640
  function X(L) {
4628
- u.value = !0;
4641
+ l.value = !0;
4629
4642
  const H = {
4630
4643
  ...c.value,
4631
4644
  ...n,
@@ -4634,7 +4647,7 @@ const gi = {
4634
4647
  size: k.value
4635
4648
  };
4636
4649
  s.settings.rest.getList(H).then((se) => {
4637
- g.value.data = [], w.value = se.data.rows, S.value = se.data.count, u.value = !1, S.value && w.value.length == 0 && X("again");
4650
+ g.value.data = [], v.value = se.data.rows, S.value = se.data.count, l.value = !1, S.value && v.value.length == 0 && X("again");
4638
4651
  });
4639
4652
  }
4640
4653
  function U(L) {
@@ -4671,12 +4684,12 @@ const gi = {
4671
4684
  var H;
4672
4685
  Rt.value = ((H = L[0]) == null ? void 0 : H.contentRect.height) || 0;
4673
4686
  });
4674
- const es = N(() => A && S.value > 0 ? `${A}px` : `calc(100% - ${Ft.value + Rt.value}px)`);
4687
+ const es = N(() => C && S.value > 0 ? `${C}px` : `calc(100% - ${Ft.value + Rt.value}px)`);
4675
4688
  return W(), (L, H) => (d(), x("div", {
4676
4689
  key: s.settings.code,
4677
4690
  style: { height: "100%" }
4678
4691
  }, [
4679
- C("div", {
4692
+ A("div", {
4680
4693
  ref_key: "pageHeader",
4681
4694
  ref: _
4682
4695
  }, [
@@ -4684,7 +4697,7 @@ const gi = {
4684
4697
  settings: s.settings,
4685
4698
  "table-name": f(a)
4686
4699
  }, {
4687
- operations: v(() => [
4700
+ operations: b(() => [
4688
4701
  O(Kr, {
4689
4702
  settings: s.settings,
4690
4703
  "table-data-select": g.value,
@@ -4701,7 +4714,7 @@ const gi = {
4701
4714
  ], 512),
4702
4715
  ye((d(), $(Gr, {
4703
4716
  class: "data-table-box",
4704
- data: w.value,
4717
+ data: v.value,
4705
4718
  operations: m.value,
4706
4719
  settings: s.settings,
4707
4720
  "actions-width": s.settings.actionsWidth,
@@ -4711,7 +4724,7 @@ const gi = {
4711
4724
  }, Se({ _: 2 }, [
4712
4725
  s.settings.rowActions(f(n)).length > 0 ? {
4713
4726
  name: "actions",
4714
- fn: v(({ row: se }) => [
4727
+ fn: b(({ row: se }) => [
4715
4728
  O(Qn, {
4716
4729
  mode: "list",
4717
4730
  row: se,
@@ -4722,7 +4735,7 @@ const gi = {
4722
4735
  key: "0"
4723
4736
  } : void 0
4724
4737
  ]), 1032, ["data", "operations", "settings", "actions-width"])), [
4725
- [f(_e), u.value]
4738
+ [f(_e), l.value]
4726
4739
  ]),
4727
4740
  s.settings.showPagination ? (d(), x("div", {
4728
4741
  key: 0,
@@ -4909,13 +4922,13 @@ const _i = {
4909
4922
  content: n.value,
4910
4923
  effect: "light"
4911
4924
  }, {
4912
- default: v(() => [
4925
+ default: b(() => [
4913
4926
  O(f(ut), {
4914
4927
  class: we(e.className),
4915
4928
  type: e.textType,
4916
4929
  "line-clamp": e.lineClamp
4917
4930
  }, {
4918
- default: v(() => [
4931
+ default: b(() => [
4919
4932
  I(j(n.value), 1)
4920
4933
  ]),
4921
4934
  _: 1
@@ -4927,7 +4940,7 @@ const _i = {
4927
4940
  type: e.textType,
4928
4941
  class: we(e.className)
4929
4942
  }, {
4930
- default: v(() => [
4943
+ default: b(() => [
4931
4944
  I(j(n.value), 1)
4932
4945
  ]),
4933
4946
  _: 1
@@ -4942,7 +4955,7 @@ const _i = {
4942
4955
  }
4943
4956
  },
4944
4957
  setup(t) {
4945
- const e = ve(), n = M(), s = Ct(), o = F("首页"), r = t, a = n.fullPath.split("/")[1], i = S();
4958
+ const e = ve(), n = M(), s = At(), o = F("首页"), r = t, a = n.fullPath.split("/")[1], i = S();
4946
4959
  s.setupRootPath("首页", `/${a}/home`);
4947
4960
  function p(g) {
4948
4961
  var k, y;
@@ -4950,11 +4963,11 @@ const _i = {
4950
4963
  let E = (k = g.meta) == null ? void 0 : k.title, c = (y = g.meta) == null ? void 0 : y.code;
4951
4964
  if (m && _) {
4952
4965
  E = kt()[m][g.params.domain].name, c = g.params.domain;
4953
- const A = g.params.id;
4954
- A && A != "detail" && (E = `${E} - ${g.params.id}`, c = `${g.params.domain}-${g.params.id}`);
4966
+ const C = g.params.id;
4967
+ C && C != "detail" && (E = `${E} - ${g.params.id}`, c = `${g.params.domain}-${g.params.id}`);
4955
4968
  } else {
4956
- const A = i.find((D) => D.route === g.path);
4957
- A && (E = A.title, c = A.route);
4969
+ const C = i.find((D) => D.route === g.path);
4970
+ C && (E = C.title, c = C.route);
4958
4971
  }
4959
4972
  E && c && (s.push(E, c, g.fullPath), o.value = c);
4960
4973
  }
@@ -4962,17 +4975,17 @@ const _i = {
4962
4975
  const m = s.history.find((_) => _.code == g.props.name);
4963
4976
  e.push(m.path);
4964
4977
  }
4965
- function l(g) {
4978
+ function u(g) {
4966
4979
  if (s.remove(g), g == o.value) {
4967
4980
  const m = s.getLast();
4968
4981
  o.value = m.title, e.push(m.path);
4969
4982
  }
4970
4983
  }
4971
- const u = (g, m) => {
4984
+ const l = (g, m) => {
4972
4985
  const _ = s.history.length;
4973
4986
  return g === 0 && m === "self" || g < 2 && m === "left" || g === _ - 1 && m === "right" || _ === 1 && m === "all" ? !1 : !(_ < 2 && m === "other");
4974
4987
  };
4975
- function w(g, m) {
4988
+ function v(g, m) {
4976
4989
  const _ = [], E = s.history;
4977
4990
  switch (m) {
4978
4991
  case "self":
@@ -4996,7 +5009,7 @@ const _i = {
4996
5009
  break;
4997
5010
  }
4998
5011
  for (let c = 0; c < _.length; c++)
4999
- l(_[c]);
5012
+ u(_[c]);
5000
5013
  }
5001
5014
  function S() {
5002
5015
  return r.config.sideMenus[a].map((g) => g.children ? g.children : g).flat();
@@ -5008,43 +5021,43 @@ const _i = {
5008
5021
  },
5009
5022
  { immediate: !0 }
5010
5023
  ), (g, m) => (d(), x("div", vi, [
5011
- C("div", null, [
5012
- C("div", bi, [
5024
+ A("div", null, [
5025
+ A("div", bi, [
5013
5026
  O(f(gn), {
5014
5027
  class: "header-img",
5015
5028
  src: r.config.logo,
5016
5029
  fit: "scale-down"
5017
5030
  }, null, 8, ["src"]),
5018
- C("div", wi, j(r.config.name), 1)
5031
+ A("div", wi, j(r.config.name), 1)
5019
5032
  ])
5020
5033
  ]),
5021
- C("div", Ei, [
5034
+ A("div", Ei, [
5022
5035
  O(f(_n), {
5023
5036
  modelValue: o.value,
5024
5037
  "onUpdate:modelValue": m[0] || (m[0] = (_) => o.value = _),
5025
5038
  type: "card",
5026
5039
  class: "tabs",
5027
5040
  onTabClick: h,
5028
- onTabRemove: l
5041
+ onTabRemove: u
5029
5042
  }, {
5030
- default: v(() => [
5043
+ default: b(() => [
5031
5044
  (d(!0), x(P, null, z(f(s).history, (_, E) => (d(), $(f(vn), {
5032
5045
  closable: _.title != "首页",
5033
5046
  label: _.title,
5034
5047
  name: _.code
5035
5048
  }, {
5036
- label: v(() => [
5049
+ label: b(() => [
5037
5050
  O(f(it), { trigger: "contextmenu" }, {
5038
- dropdown: v(() => [
5051
+ dropdown: b(() => [
5039
5052
  O(f(lt), null, {
5040
- default: v(() => [
5041
- u(E, "self") ? (d(), $(f(de), {
5053
+ default: b(() => [
5054
+ l(E, "self") ? (d(), $(f(de), {
5042
5055
  key: 0,
5043
- onClick: (c) => w(E, "self")
5056
+ onClick: (c) => v(E, "self")
5044
5057
  }, {
5045
- default: v(() => [
5058
+ default: b(() => [
5046
5059
  O(f(K), null, {
5047
- default: v(() => [
5060
+ default: b(() => [
5048
5061
  O(f(nr))
5049
5062
  ]),
5050
5063
  _: 1
@@ -5053,13 +5066,13 @@ const _i = {
5053
5066
  ]),
5054
5067
  _: 2
5055
5068
  }, 1032, ["onClick"])) : T("", !0),
5056
- u(E, "left") ? (d(), $(f(de), {
5069
+ l(E, "left") ? (d(), $(f(de), {
5057
5070
  key: 1,
5058
- onClick: (c) => w(E, "left")
5071
+ onClick: (c) => v(E, "left")
5059
5072
  }, {
5060
- default: v(() => [
5073
+ default: b(() => [
5061
5074
  O(f(K), null, {
5062
- default: v(() => [
5075
+ default: b(() => [
5063
5076
  O(f(Zt))
5064
5077
  ]),
5065
5078
  _: 1
@@ -5068,13 +5081,13 @@ const _i = {
5068
5081
  ]),
5069
5082
  _: 2
5070
5083
  }, 1032, ["onClick"])) : T("", !0),
5071
- u(E, "right") ? (d(), $(f(de), {
5084
+ l(E, "right") ? (d(), $(f(de), {
5072
5085
  key: 2,
5073
- onClick: (c) => w(E, "right")
5086
+ onClick: (c) => v(E, "right")
5074
5087
  }, {
5075
- default: v(() => [
5088
+ default: b(() => [
5076
5089
  O(f(K), null, {
5077
- default: v(() => [
5090
+ default: b(() => [
5078
5091
  O(f(ar))
5079
5092
  ]),
5080
5093
  _: 1
@@ -5083,13 +5096,13 @@ const _i = {
5083
5096
  ]),
5084
5097
  _: 2
5085
5098
  }, 1032, ["onClick"])) : T("", !0),
5086
- u(E, "all") ? (d(), $(f(de), {
5099
+ l(E, "all") ? (d(), $(f(de), {
5087
5100
  key: 3,
5088
- onClick: (c) => w(E, "all")
5101
+ onClick: (c) => v(E, "all")
5089
5102
  }, {
5090
- default: v(() => [
5103
+ default: b(() => [
5091
5104
  O(f(K), null, {
5092
- default: v(() => [
5105
+ default: b(() => [
5093
5106
  O(f(fr))
5094
5107
  ]),
5095
5108
  _: 1
@@ -5098,13 +5111,13 @@ const _i = {
5098
5111
  ]),
5099
5112
  _: 2
5100
5113
  }, 1032, ["onClick"])) : T("", !0),
5101
- u(E, "other") ? (d(), $(f(de), {
5114
+ l(E, "other") ? (d(), $(f(de), {
5102
5115
  key: 4,
5103
- onClick: (c) => w(E, "other")
5116
+ onClick: (c) => v(E, "other")
5104
5117
  }, {
5105
- default: v(() => [
5118
+ default: b(() => [
5106
5119
  O(f(K), null, {
5107
- default: v(() => [
5120
+ default: b(() => [
5108
5121
  O(f(hr))
5109
5122
  ]),
5110
5123
  _: 1
@@ -5117,7 +5130,7 @@ const _i = {
5117
5130
  _: 2
5118
5131
  }, 1024)
5119
5132
  ]),
5120
- default: v(() => [
5133
+ default: b(() => [
5121
5134
  O(_i, {
5122
5135
  content: _.title,
5123
5136
  "line-clamp": 1,
@@ -5133,19 +5146,19 @@ const _i = {
5133
5146
  ]),
5134
5147
  _: 1
5135
5148
  }, 8, ["modelValue"]),
5136
- C("span", {
5149
+ A("span", {
5137
5150
  class: "back-icon",
5138
5151
  onClick: m[1] || (m[1] = (_) => f(e).back())
5139
5152
  }, [
5140
5153
  O(f(K), null, {
5141
- default: v(() => [
5154
+ default: b(() => [
5142
5155
  O(f(Zt))
5143
5156
  ]),
5144
5157
  _: 1
5145
5158
  })
5146
5159
  ])
5147
5160
  ]),
5148
- C("div", $i, [
5161
+ A("div", $i, [
5149
5162
  G(g.$slots, "user-profile", {}, void 0, !0)
5150
5163
  ])
5151
5164
  ]));
@@ -5153,8 +5166,8 @@ const _i = {
5153
5166
  }, xi = /* @__PURE__ */ V(Si, [["__scopeId", "data-v-6ea136f7"]]), ki = (t) => (fn("data-v-7bee87da"), t = t(), mn(), t), Oi = {
5154
5167
  key: 2,
5155
5168
  class: "dot-wrapper"
5156
- }, Ai = /* @__PURE__ */ ki(() => /* @__PURE__ */ C("span", { class: "dot" }, null, -1)), Ci = [
5157
- Ai
5169
+ }, Ci = /* @__PURE__ */ ki(() => /* @__PURE__ */ A("span", { class: "dot" }, null, -1)), Ai = [
5170
+ Ci
5158
5171
  ], Di = {
5159
5172
  __name: "SideBarItem",
5160
5173
  props: {
@@ -5170,21 +5183,21 @@ const _i = {
5170
5183
  key: 0,
5171
5184
  index: t.data.title
5172
5185
  }, {
5173
- title: v(() => [
5186
+ title: b(() => [
5174
5187
  t.data.icon ? (d(), $(f(K), { key: 0 }, {
5175
- default: v(() => [
5188
+ default: b(() => [
5176
5189
  (d(), $(Y(t.data.icon)))
5177
5190
  ]),
5178
5191
  _: 1
5179
5192
  })) : (d(), $(f(K), { key: 1 }, {
5180
- default: v(() => [
5193
+ default: b(() => [
5181
5194
  O(f(en))
5182
5195
  ]),
5183
5196
  _: 1
5184
5197
  })),
5185
- C("span", null, j(t.data.title), 1)
5198
+ A("span", null, j(t.data.title), 1)
5186
5199
  ]),
5187
- default: v(() => [
5200
+ default: b(() => [
5188
5201
  (d(!0), x(P, null, z(t.data.children, (o) => (d(), $(Yn, {
5189
5202
  data: o,
5190
5203
  "has-parent": !0
@@ -5197,19 +5210,19 @@ const _i = {
5197
5210
  route: t.data.route,
5198
5211
  class: "menu-item"
5199
5212
  }, {
5200
- default: v(() => [
5213
+ default: b(() => [
5201
5214
  t.data.icon ? (d(), $(f(K), { key: 0 }, {
5202
- default: v(() => [
5215
+ default: b(() => [
5203
5216
  (d(), $(Y(t.data.icon)))
5204
5217
  ]),
5205
5218
  _: 1
5206
- })) : e.hasParent ? (d(), x("span", Oi, Ci)) : (d(), $(f(K), { key: 1 }, {
5207
- default: v(() => [
5219
+ })) : e.hasParent ? (d(), x("span", Oi, Ai)) : (d(), $(f(K), { key: 1 }, {
5220
+ default: b(() => [
5208
5221
  O(f(en))
5209
5222
  ]),
5210
5223
  _: 1
5211
5224
  })),
5212
- C("span", null, j(t.data.title), 1)
5225
+ A("span", null, j(t.data.title), 1)
5213
5226
  ]),
5214
5227
  _: 1
5215
5228
  }, 8, ["index", "route"]));
@@ -5235,13 +5248,13 @@ const _i = {
5235
5248
  },
5236
5249
  { immediate: !0 }
5237
5250
  ), (i, p) => (d(), $(f(vs), null, {
5238
- default: v(() => [
5251
+ default: b(() => [
5239
5252
  O(f(bs), {
5240
5253
  class: "menu",
5241
5254
  router: !0,
5242
5255
  "default-active": s.value
5243
5256
  }, {
5244
- default: v(() => [
5257
+ default: b(() => [
5245
5258
  (d(!0), x(P, null, z(f(a), (h) => (d(), $(Yn, { data: h }, null, 8, ["data"]))), 256))
5246
5259
  ]),
5247
5260
  _: 1
@@ -5263,13 +5276,13 @@ const _i = {
5263
5276
  return (r, a) => {
5264
5277
  const i = Qe("router-view");
5265
5278
  return d(), $(f(ws), { locale: f(yi) }, {
5266
- default: v(() => [
5279
+ default: b(() => [
5267
5280
  O(f(Nt), { style: { height: "100%" } }, {
5268
- default: v(() => [
5281
+ default: b(() => [
5269
5282
  O(f(Es), { class: "page-header" }, {
5270
- default: v(() => [
5283
+ default: b(() => [
5271
5284
  O(xi, { config: s }, {
5272
- "user-profile": v(() => [
5285
+ "user-profile": b(() => [
5273
5286
  G(r.$slots, "user-profile", {}, void 0, !0)
5274
5287
  ]),
5275
5288
  _: 3
@@ -5278,9 +5291,9 @@ const _i = {
5278
5291
  _: 3
5279
5292
  }),
5280
5293
  O(f(Nt), { class: "page-content-container" }, {
5281
- default: v(() => [
5294
+ default: b(() => [
5282
5295
  O(f($s), { class: "page-content-aside" }, {
5283
- default: v(() => [
5296
+ default: b(() => [
5284
5297
  O(Ri, {
5285
5298
  "side-menus": s.sideMenus
5286
5299
  }, null, 8, ["side-menus"])
@@ -5288,7 +5301,7 @@ const _i = {
5288
5301
  _: 1
5289
5302
  }),
5290
5303
  O(f(Ss), { class: "page-content-main" }, {
5291
- default: v(() => [
5304
+ default: b(() => [
5292
5305
  (d(), $(i, { key: o.value }))
5293
5306
  ]),
5294
5307
  _: 1
@@ -5353,13 +5366,13 @@ const _i = {
5353
5366
  "tree-select"
5354
5367
  // "radio-group",
5355
5368
  // "input-number",
5356
- ], l = N(() => s.settings.fields.filter((_) => _.showInDetail(p.value, {
5369
+ ], u = N(() => s.settings.fields.filter((_) => _.showInDetail(p.value, {
5357
5370
  ...r,
5358
5371
  ...s.query
5359
- }))), u = N(() => l.value.find((_) => _.code === s.settings.coverField)), w = N(() => l.value.filter((_) => !h.includes(_.type) && !_.extendDetail)), S = N(() => {
5372
+ }))), l = N(() => u.value.find((_) => _.code === s.settings.coverField)), v = N(() => u.value.filter((_) => !h.includes(_.type) && !_.extendDetail)), S = N(() => {
5360
5373
  var E;
5361
- const _ = (E = u.value) == null ? void 0 : E.code;
5362
- return l.value.filter((c) => h.includes(c.type) || c.extendDetail).filter((c) => c.code !== _);
5374
+ const _ = (E = l.value) == null ? void 0 : E.code;
5375
+ return u.value.filter((c) => h.includes(c.type) || c.extendDetail).filter((c) => c.code !== _);
5363
5376
  }), g = N({
5364
5377
  get() {
5365
5378
  return S.value.map((_) => _.code);
@@ -5381,34 +5394,34 @@ const _i = {
5381
5394
  ), (_, E) => (d(), x("div", null, [
5382
5395
  p.value ? (d(), x("div", Bi, [
5383
5396
  O(f(me), { gutter: 20 }, {
5384
- default: v(() => [
5385
- u.value ? (d(), $(f(pe), {
5397
+ default: b(() => [
5398
+ l.value ? (d(), $(f(pe), {
5386
5399
  key: 0,
5387
5400
  span: 6,
5388
5401
  style: { "margin-bottom": "20px" }
5389
5402
  }, {
5390
- default: v(() => [
5391
- (d(), $(Y(u.value.display), {
5392
- field: u.value,
5403
+ default: b(() => [
5404
+ (d(), $(Y(l.value.display), {
5405
+ field: l.value,
5393
5406
  row: p.value
5394
5407
  }, null, 8, ["field", "row"]))
5395
5408
  ]),
5396
5409
  _: 1
5397
5410
  })) : T("", !0),
5398
5411
  O(f(pe), {
5399
- span: u.value ? 18 : 24
5412
+ span: l.value ? 18 : 24
5400
5413
  }, {
5401
- default: v(() => [
5414
+ default: b(() => [
5402
5415
  O(f(me), { gutter: 20 }, {
5403
- default: v(() => [
5404
- (d(!0), x(P, null, z(w.value, (c) => (d(), $(f(pe), {
5416
+ default: b(() => [
5417
+ (d(!0), x(P, null, z(v.value, (c) => (d(), $(f(pe), {
5405
5418
  span: c.span,
5406
5419
  class: "mono-data",
5407
5420
  style: { "margin-bottom": "20px" }
5408
5421
  }, {
5409
- default: v(() => [
5410
- C("div", Vi, j(c.label), 1),
5411
- C("div", Ii, [
5422
+ default: b(() => [
5423
+ A("div", Vi, j(c.label), 1),
5424
+ A("div", Ii, [
5412
5425
  c.code === "id" ? (d(), x(P, { key: 0 }, [
5413
5426
  I(j(p.value.id), 1)
5414
5427
  ], 64)) : (d(), $(Y(c.display), {
@@ -5436,13 +5449,13 @@ const _i = {
5436
5449
  "onUpdate:modelValue": E[0] || (E[0] = (c) => g.value = c),
5437
5450
  class: "extend-fields"
5438
5451
  }, {
5439
- default: v(() => [
5452
+ default: b(() => [
5440
5453
  (d(!0), x(P, null, z(S.value, (c) => (d(), $(f(wn), {
5441
5454
  title: c.label,
5442
5455
  name: c.code,
5443
5456
  class: "mono-data"
5444
5457
  }, {
5445
- default: v(() => [
5458
+ default: b(() => [
5446
5459
  (d(), $(Y(c.display), {
5447
5460
  field: c,
5448
5461
  row: p.value,
@@ -5488,8 +5501,8 @@ const _i = {
5488
5501
  "json",
5489
5502
  "tree-select"
5490
5503
  ], h = N(() => {
5491
- var u, w;
5492
- return ((w = (u = s.settings) == null ? void 0 : u.detailGroupFields) == null ? void 0 : w.map((S) => {
5504
+ var l, v;
5505
+ return ((v = (l = s.settings) == null ? void 0 : l.detailGroupFields) == null ? void 0 : v.map((S) => {
5493
5506
  var m, _, E, c;
5494
5507
  const g = ((_ = (m = S == null ? void 0 : S.childrenFields) == null ? void 0 : m.filter(
5495
5508
  (k) => p.includes(k.type) || k.extendDetail
@@ -5507,33 +5520,33 @@ const _i = {
5507
5520
  };
5508
5521
  })) || [];
5509
5522
  });
5510
- function l() {
5511
- s.settings.rest.getOne(s.query).then((u) => {
5512
- u.data.isDeleted = !!u.data.deletedAt, i.value = u.data, n("done", u.data);
5523
+ function u() {
5524
+ s.settings.rest.getOne(s.query).then((l) => {
5525
+ l.data.isDeleted = !!l.data.deletedAt, i.value = l.data, n("done", l.data);
5513
5526
  });
5514
5527
  }
5515
5528
  return B(
5516
5529
  a,
5517
5530
  () => {
5518
- l();
5531
+ u();
5519
5532
  },
5520
5533
  { immediate: !0 }
5521
- ), (u, w) => (d(), x("div", null, [
5534
+ ), (l, v) => (d(), x("div", null, [
5522
5535
  i.value ? (d(), x("div", Ui, [
5523
5536
  (d(!0), x(P, null, z(h.value, (S) => (d(), $(f(bt), {
5524
5537
  class: "group-item",
5525
5538
  shadow: "hover",
5526
5539
  style: Ve(`background: ${S.background || "#fff"}`)
5527
5540
  }, Se({
5528
- default: v(() => [
5541
+ default: b(() => [
5529
5542
  O(f(me), { gutter: 20 }, {
5530
- default: v(() => [
5543
+ default: b(() => [
5531
5544
  S.coverField ? (d(), $(f(pe), {
5532
5545
  key: 0,
5533
5546
  span: 6,
5534
5547
  style: { "margin-bottom": "20px" }
5535
5548
  }, {
5536
- default: v(() => [
5549
+ default: b(() => [
5537
5550
  (d(), $(Y(S.coverField.display), {
5538
5551
  field: S.coverField,
5539
5552
  row: i.value
@@ -5544,17 +5557,17 @@ const _i = {
5544
5557
  O(f(pe), {
5545
5558
  span: S.coverField ? 18 : 24
5546
5559
  }, {
5547
- default: v(() => [
5560
+ default: b(() => [
5548
5561
  O(f(me), { gutter: 20 }, {
5549
- default: v(() => [
5562
+ default: b(() => [
5550
5563
  (d(!0), x(P, null, z(S.detailFields, (g) => (d(), $(f(pe), {
5551
5564
  span: g.span,
5552
5565
  class: "mono-data",
5553
5566
  style: { "margin-bottom": "20px" }
5554
5567
  }, {
5555
- default: v(() => [
5556
- C("div", Hi, j(g.label), 1),
5557
- C("div", qi, [
5568
+ default: b(() => [
5569
+ A("div", Hi, j(g.label), 1),
5570
+ A("div", qi, [
5558
5571
  g.code === "id" ? (d(), x(P, { key: 0 }, [
5559
5572
  I(j(i.value.id), 1)
5560
5573
  ], 64)) : (d(), $(Y(g.display), {
@@ -5582,13 +5595,13 @@ const _i = {
5582
5595
  "onUpdate:modelValue": (g) => S.activeFields = g,
5583
5596
  class: "extend-fields"
5584
5597
  }, {
5585
- default: v(() => [
5598
+ default: b(() => [
5586
5599
  (d(!0), x(P, null, z(S.extendFields, (g) => (d(), $(f(wn), {
5587
5600
  title: g.label,
5588
5601
  name: g.code,
5589
5602
  class: "mono-data"
5590
5603
  }, {
5591
- default: v(() => [
5604
+ default: b(() => [
5592
5605
  (d(), $(Y(g.display), {
5593
5606
  field: g,
5594
5607
  row: i.value,
@@ -5605,14 +5618,14 @@ const _i = {
5605
5618
  }, [
5606
5619
  S.title ? {
5607
5620
  name: "header",
5608
- fn: v(() => [
5609
- C("div", zi, [
5621
+ fn: b(() => [
5622
+ A("div", zi, [
5610
5623
  O(f(ut), {
5611
5624
  class: "group-title",
5612
5625
  tag: "b",
5613
5626
  size: "large"
5614
5627
  }, {
5615
- default: v(() => [
5628
+ default: b(() => [
5616
5629
  I(j(S.title), 1)
5617
5630
  ]),
5618
5631
  _: 2
@@ -5642,15 +5655,15 @@ const _i = {
5642
5655
  },
5643
5656
  emits: ["get-item"],
5644
5657
  setup(t, { emit: e }) {
5645
- Ct();
5658
+ At();
5646
5659
  const n = M(), s = Q(n), o = t, r = F("加载中..."), a = F({});
5647
5660
  function i(p) {
5648
5661
  const h = o.settings;
5649
5662
  if (h.displayMode.normalMode == "detail")
5650
5663
  r.value = `${h.name}`;
5651
5664
  else {
5652
- const u = `${h.formatName(p)}`;
5653
- r.value = u ? `${h.name}:${u}` : `${h.name}`;
5665
+ const l = `${h.formatName(p)}`;
5666
+ r.value = l ? `${h.name}:${l}` : `${h.name}`;
5654
5667
  }
5655
5668
  }
5656
5669
  return B(
@@ -5660,10 +5673,10 @@ const _i = {
5660
5673
  },
5661
5674
  { immediate: !0 }
5662
5675
  ), (p, h) => (d(), x("div", Gi, [
5663
- C("div", Yi, j(r.value), 1),
5664
- C("div", null, [
5676
+ A("div", Yi, j(r.value), 1),
5677
+ A("div", null, [
5665
5678
  o.data ? (d(), $(f(he), { key: 0 }, {
5666
- default: v(() => [
5679
+ default: b(() => [
5667
5680
  O(Qn, {
5668
5681
  row: o.data,
5669
5682
  settings: o.settings,
@@ -5706,9 +5719,9 @@ const _i = {
5706
5719
  if (o.associations.length > 0)
5707
5720
  if (n.params.association) {
5708
5721
  r.value = n.params.association;
5709
- const l = o.associations.find((u) => u.domain === n.params.association);
5722
+ const u = o.associations.find((l) => l.domain === n.params.association);
5710
5723
  a.value = {
5711
- ...l,
5724
+ ...u,
5712
5725
  domainData: o.domainData
5713
5726
  };
5714
5727
  } else
@@ -5735,24 +5748,24 @@ const _i = {
5735
5748
  p();
5736
5749
  },
5737
5750
  { immediate: !0 }
5738
- ), (h, l) => {
5739
- const u = Qe("router-view");
5751
+ ), (h, u) => {
5752
+ const l = Qe("router-view");
5740
5753
  return d(), x(P, null, [
5741
5754
  O(f(_n), {
5742
5755
  modelValue: r.value,
5743
- "onUpdate:modelValue": l[0] || (l[0] = (w) => r.value = w),
5756
+ "onUpdate:modelValue": u[0] || (u[0] = (v) => r.value = v),
5744
5757
  class: "association-tabs",
5745
5758
  onTabClick: i
5746
5759
  }, {
5747
- default: v(() => [
5748
- (d(!0), x(P, null, z(o.associations, (w) => (d(), $(f(vn), {
5749
- label: w.name,
5750
- name: w.domain
5760
+ default: b(() => [
5761
+ (d(!0), x(P, null, z(o.associations, (v) => (d(), $(f(vn), {
5762
+ label: v.name,
5763
+ name: v.domain
5751
5764
  }, null, 8, ["label", "name"]))), 256))
5752
5765
  ]),
5753
5766
  _: 1
5754
5767
  }, 8, ["modelValue"]),
5755
- a.value ? (d(), $(u, {
5768
+ a.value ? (d(), $(l, {
5756
5769
  key: a.value,
5757
5770
  association: a.value
5758
5771
  }, null, 8, ["association"])) : T("", !0)
@@ -5843,25 +5856,25 @@ const _i = {
5843
5856
  setup(t) {
5844
5857
  const e = t, n = M(), s = Q(n), o = n.meta.side, r = e.domain || n.params.domain, a = te(null), i = te([]);
5845
5858
  Ot(o, r).then((h) => {
5846
- const l = h, u = p("has-many", l.hasMany(s)), w = p("has-one", l.hasOne(s));
5847
- a.value = l, i.value = w.concat(u);
5859
+ const u = h, l = p("has-many", u.hasMany(s)), v = p("has-one", u.hasOne(s));
5860
+ a.value = u, i.value = v.concat(l);
5848
5861
  });
5849
- function p(h, l) {
5850
- return (l || []).map((u) => typeof u == "object" ? {
5862
+ function p(h, u) {
5863
+ return (u || []).map((l) => typeof l == "object" ? {
5851
5864
  type: h,
5852
- domain: u.code,
5853
- name: u.name,
5854
- tableName: u.tableName,
5855
- tableContentHeight: u.tableContentHeight,
5856
- query: u.query || (() => ({}))
5865
+ domain: l.code,
5866
+ name: l.name,
5867
+ tableName: l.tableName,
5868
+ tableContentHeight: l.tableContentHeight,
5869
+ query: l.query || (() => ({}))
5857
5870
  } : {
5858
5871
  type: h,
5859
- domain: u,
5860
- name: kt()[o][u].name,
5872
+ domain: l,
5873
+ name: kt()[o][l].name,
5861
5874
  query: () => ({})
5862
5875
  });
5863
5876
  }
5864
- return (h, l) => a.value ? (d(), $(sl, {
5877
+ return (h, u) => a.value ? (d(), $(sl, {
5865
5878
  key: 0,
5866
5879
  settings: a.value,
5867
5880
  associations: i.value
@@ -5909,7 +5922,7 @@ const _i = {
5909
5922
  export {
5910
5923
  bl as A,
5911
5924
  ta as B,
5912
- At as C,
5925
+ Ct as C,
5913
5926
  _l as D,
5914
5927
  wl as E,
5915
5928
  Tr as F,
@@ -5919,7 +5932,7 @@ export {
5919
5932
  Tl as J,
5920
5933
  le as K,
5921
5934
  ji as L,
5922
- Ct as M,
5935
+ At as M,
5923
5936
  ma as S,
5924
5937
  la as W,
5925
5938
  V as _,
@@ -5938,8 +5951,8 @@ export {
5938
5951
  q as m,
5939
5952
  Sl as n,
5940
5953
  Wo as o,
5941
- Al as p,
5942
- Cl as q,
5954
+ Cl as p,
5955
+ Al as q,
5943
5956
  Qo as r,
5944
5957
  Q as s,
5945
5958
  ml as t,
@@ -5950,4 +5963,4 @@ export {
5950
5963
  yl as y,
5951
5964
  vl as z
5952
5965
  };
5953
- //# sourceMappingURL=index-BCvBK2Fr.js.map
5966
+ //# sourceMappingURL=index-C3XecLh8.js.map