kouxiangtang 0.0.75 → 0.0.76

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 (54) hide show
  1. package/dist/{AttachmentUploader-yE0CafjV.js → AttachmentUploader-CUXQfDLM.js} +2 -2
  2. package/dist/{AttachmentUploader-yE0CafjV.js.map → AttachmentUploader-CUXQfDLM.js.map} +1 -1
  3. package/dist/{ImageUploader-CArPoF1a.js → ImageUploader-DKSGJOYE.js} +2 -2
  4. package/dist/{ImageUploader-CArPoF1a.js.map → ImageUploader-DKSGJOYE.js.map} +1 -1
  5. package/dist/{ImagesUploader-1kZE13ma.js → ImagesUploader-BHQbg94w.js} +2 -2
  6. package/dist/{ImagesUploader-1kZE13ma.js.map → ImagesUploader-BHQbg94w.js.map} +1 -1
  7. package/dist/{RichTextEditor-BYSgcm0n.js → RichTextEditor-xLwdwwwK.js} +2 -2
  8. package/dist/{RichTextEditor-BYSgcm0n.js.map → RichTextEditor-xLwdwwwK.js.map} +1 -1
  9. package/dist/{config-DfKaXv_b.js → config-1q6Up84b.js} +2 -2
  10. package/dist/{config-DfKaXv_b.js.map → config-1q6Up84b.js.map} +1 -1
  11. package/dist/{config-BiyjIyRo.js → config-6hJFmYbl.js} +2 -2
  12. package/dist/{config-BiyjIyRo.js.map → config-6hJFmYbl.js.map} +1 -1
  13. package/dist/{config-B3nQ3Z0h.js → config-BCqBtq8J.js} +3 -3
  14. package/dist/{config-B3nQ3Z0h.js.map → config-BCqBtq8J.js.map} +1 -1
  15. package/dist/{config-BbC6f8wy.js → config-BGZaGgC1.js} +3 -3
  16. package/dist/{config-BbC6f8wy.js.map → config-BGZaGgC1.js.map} +1 -1
  17. package/dist/{config-DLdUVU90.js → config-BMZTAp9-.js} +2 -2
  18. package/dist/{config-DLdUVU90.js.map → config-BMZTAp9-.js.map} +1 -1
  19. package/dist/{config-B7xb7MnK.js → config-BXPcamHo.js} +2 -2
  20. package/dist/{config-B7xb7MnK.js.map → config-BXPcamHo.js.map} +1 -1
  21. package/dist/{config-D8p6n79M.js → config-BpioUn1S.js} +2 -2
  22. package/dist/{config-D8p6n79M.js.map → config-BpioUn1S.js.map} +1 -1
  23. package/dist/{config-CmscKuCp.js → config-CD-6WyoX.js} +2 -2
  24. package/dist/{config-CmscKuCp.js.map → config-CD-6WyoX.js.map} +1 -1
  25. package/dist/{config-CH0IcUzi.js → config-CEfmA-KW.js} +2 -2
  26. package/dist/{config-CH0IcUzi.js.map → config-CEfmA-KW.js.map} +1 -1
  27. package/dist/{config-DCtk5JbJ.js → config-CWJFFv-8.js} +2 -2
  28. package/dist/{config-DCtk5JbJ.js.map → config-CWJFFv-8.js.map} +1 -1
  29. package/dist/{config-BoOwGAbL.js → config-Cb3VsDk0.js} +2 -2
  30. package/dist/{config-BoOwGAbL.js.map → config-Cb3VsDk0.js.map} +1 -1
  31. package/dist/{config-SwWMU6oa.js → config-CsGwfVkk.js} +2 -2
  32. package/dist/{config-SwWMU6oa.js.map → config-CsGwfVkk.js.map} +1 -1
  33. package/dist/{config-DvZaHKer.js → config-D-9jiY2C.js} +2 -2
  34. package/dist/{config-DvZaHKer.js.map → config-D-9jiY2C.js.map} +1 -1
  35. package/dist/{config-DYfrlvvj.js → config-D2DgQhOX.js} +2 -2
  36. package/dist/{config-DYfrlvvj.js.map → config-D2DgQhOX.js.map} +1 -1
  37. package/dist/{config-ChDoBN9N.js → config-D2sfKwWm.js} +2 -2
  38. package/dist/{config-ChDoBN9N.js.map → config-D2sfKwWm.js.map} +1 -1
  39. package/dist/{config-Dg6g24hX.js → config-D69Ti8fx.js} +2 -2
  40. package/dist/{config-Dg6g24hX.js.map → config-D69Ti8fx.js.map} +1 -1
  41. package/dist/{config-Do6YjNVx.js → config-DFL2aj4y.js} +2 -2
  42. package/dist/{config-Do6YjNVx.js.map → config-DFL2aj4y.js.map} +1 -1
  43. package/dist/{config-BtSIrF85.js → config-Dok-OQeK.js} +3 -3
  44. package/dist/{config-BtSIrF85.js.map → config-Dok-OQeK.js.map} +1 -1
  45. package/dist/{config-DDLjAjmt.js → config-DpEYJWdG.js} +2 -2
  46. package/dist/{config-DDLjAjmt.js.map → config-DpEYJWdG.js.map} +1 -1
  47. package/dist/{index-B0NugZvo.js → index-CHQzeeWp.js} +451 -449
  48. package/dist/index-CHQzeeWp.js.map +1 -0
  49. package/dist/kouxiangtang.js +1 -1
  50. package/dist/kouxiangtang.umd.cjs +3 -3
  51. package/dist/kouxiangtang.umd.cjs.map +1 -1
  52. package/dist/style.css +1 -1
  53. package/package.json +1 -1
  54. package/dist/index-B0NugZvo.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { openBlock as u, createBlock as $, unref as m, createSlots as De, withCtx as w, renderSlot as J, createElementVNode as A, toDisplayString as j, resolveComponent as qe, withDirectives as _e, createElementBlock as S, normalizeStyle as Ke, createVNode as x, createTextVNode as N, computed as I, Fragment as L, renderList as H, ref as D, reactive as Oe, watch as P, resolveDynamicComponent as K, createCommentVNode as F, shallowRef as Z, defineAsyncComponent as Zn, normalizeClass as he, withModifiers as Rt, defineComponent as q, useSlots as Re, onMounted as dn, watchEffect as ht, pushScopeId as pn, popScopeId as fn, normalizeProps as Tt, guardReactiveProps as Ft, getCurrentScope as es, onScopeDispose as ts, getCurrentInstance as ns, nextTick as ss, useCssVars as os } from "vue";
2
- import { ElCard as mn, ElLink as as, vLoading as ve, ElRow as xe, ElCol as $e, ElForm as hn, ElFormItem as st, ElAlert as rs, ElButton as ee, ElMessageBox as is, ElMessage as ke, ElDialog as ls, ElLoading as Be, ElInputNumber as Lt, ElSelect as Pt, ElOption as Ye, ElSelectV2 as us, ElDatePicker as jt, ElInput as cs, ElButtonGroup as pe, ElDropdown as ot, ElDropdownMenu as at, ElDropdownItem as ue, ElIcon as G, ElEmpty as ds, ElImage as gn, ElTable as ps, ElTableColumn as je, ElTooltip as yn, ElPagination as fs, ElText as Bt, ElTabs as _n, ElTabPane as vn, ElSubMenu as ms, ElMenuItem as hs, ElScrollbar as gs, ElMenu as ys, ElConfigProvider as _s, ElContainer as Nt, ElHeader as vs, ElAside as bs, ElMain as ws, ElCollapse as Es, ElCollapseItem as $s } from "element-plus";
1
+ import { openBlock as u, createBlock as $, unref as m, createSlots as De, withCtx as w, renderSlot as J, createElementVNode as C, toDisplayString as B, resolveComponent as qe, withDirectives as _e, createElementBlock as S, normalizeStyle as Ke, createVNode as O, createTextVNode as I, computed as V, Fragment as L, renderList as q, ref as D, reactive as Oe, watch as P, resolveDynamicComponent as K, createCommentVNode as F, shallowRef as Z, defineAsyncComponent as Zn, normalizeClass as he, withModifiers as Rt, defineComponent as W, useSlots as Re, onMounted as dn, watchEffect as ht, pushScopeId as pn, popScopeId as fn, normalizeProps as Tt, guardReactiveProps as Ft, getCurrentScope as es, onScopeDispose as ts, getCurrentInstance as ns, nextTick as ss, useCssVars as os } from "vue";
2
+ import { ElCard as mn, ElLink as as, vLoading as ve, ElRow as xe, ElCol as $e, ElForm as hn, ElFormItem as st, ElAlert as rs, ElButton as ee, ElMessageBox as is, ElMessage as ke, ElDialog as ls, ElLoading as Be, ElInputNumber as Lt, ElSelect as Pt, ElOption as Ye, ElSelectV2 as us, ElDatePicker as jt, ElInput as cs, ElButtonGroup as pe, ElDropdown as ot, ElDropdownMenu as at, ElDropdownItem as le, ElIcon as G, ElEmpty as ds, ElImage as gn, ElTable as ps, ElTableColumn as je, ElTooltip as yn, ElPagination as fs, ElText as Bt, ElTabs as _n, ElTabPane as vn, ElSubMenu as ms, ElMenuItem as hs, ElScrollbar as gs, ElMenu as ys, ElConfigProvider as _s, ElContainer as Nt, ElHeader as vs, ElAside as bs, ElMain as ws, ElCollapse as Es, ElCollapseItem as $s } from "element-plus";
3
3
  import { useRoute as M, useRouter as fe } from "vue-router";
4
4
  import { defineStore as gt, storeToRefs as ge } from "pinia";
5
5
  function bn(t, e) {
@@ -10,11 +10,11 @@ function bn(t, e) {
10
10
  const { toString: Ss } = Object.prototype, { getPrototypeOf: yt } = Object, We = /* @__PURE__ */ ((t) => (e) => {
11
11
  const n = Ss.call(e);
12
12
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
13
- })(/* @__PURE__ */ Object.create(null)), ae = (t) => (t = t.toLowerCase(), (e) => We(e) === t), Qe = (t) => (e) => typeof e === t, { isArray: be } = Array, Ae = Qe("undefined");
13
+ })(/* @__PURE__ */ Object.create(null)), oe = (t) => (t = t.toLowerCase(), (e) => We(e) === t), Qe = (t) => (e) => typeof e === t, { isArray: be } = Array, Ae = Qe("undefined");
14
14
  function Os(t) {
15
15
  return t !== null && !Ae(t) && t.constructor !== null && !Ae(t.constructor) && Y(t.constructor.isBuffer) && t.constructor.isBuffer(t);
16
16
  }
17
- const wn = ae("ArrayBuffer");
17
+ const wn = oe("ArrayBuffer");
18
18
  function xs(t) {
19
19
  let e;
20
20
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && wn(t.buffer), e;
@@ -24,11 +24,11 @@ const ks = Qe("string"), Y = Qe("function"), En = Qe("number"), Je = (t) => t !=
24
24
  return !1;
25
25
  const e = yt(t);
26
26
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
27
- }, Cs = ae("Date"), Ds = ae("File"), Rs = ae("Blob"), Ts = ae("FileList"), Fs = (t) => Je(t) && Y(t.pipe), Ls = (t) => {
27
+ }, Cs = oe("Date"), Ds = oe("File"), Rs = oe("Blob"), Ts = oe("FileList"), Fs = (t) => Je(t) && Y(t.pipe), Ls = (t) => {
28
28
  let e;
29
29
  return t && (typeof FormData == "function" && t instanceof FormData || Y(t.append) && ((e = We(t)) === "formdata" || // detect form-data instance
30
30
  e === "object" && Y(t.toString) && t.toString() === "[object FormData]"));
31
- }, Ps = ae("URLSearchParams"), js = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
31
+ }, Ps = oe("URLSearchParams"), js = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
32
32
  function Te(t, e, { allOwnKeys: n = !1 } = {}) {
33
33
  if (t === null || typeof t > "u")
34
34
  return;
@@ -108,12 +108,12 @@ const Bs = (t, e, n, { allOwnKeys: s } = {}) => (Te(e, (o, a) => {
108
108
  for (; (n = t.exec(e)) !== null; )
109
109
  s.push(n);
110
110
  return s;
111
- }, Ws = ae("HTMLFormElement"), Qs = (t) => t.toLowerCase().replace(
111
+ }, Ws = oe("HTMLFormElement"), Qs = (t) => t.toLowerCase().replace(
112
112
  /[-_\s]([a-z\d])(\w*)/g,
113
113
  function(n, s, o) {
114
114
  return s.toUpperCase() + o;
115
115
  }
116
- ), It = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Js = ae("RegExp"), xn = (t, e) => {
116
+ ), It = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Js = oe("RegExp"), xn = (t, e) => {
117
117
  const n = Object.getOwnPropertyDescriptors(t), s = {};
118
118
  Te(n, (o, a) => {
119
119
  let r;
@@ -173,7 +173,7 @@ const to = (t) => {
173
173
  return s;
174
174
  };
175
175
  return n(t, 0);
176
- }, no = ae("AsyncFunction"), so = (t) => t && (Je(t) || Y(t)) && Y(t.then) && Y(t.catch), b = {
176
+ }, no = oe("AsyncFunction"), so = (t) => t && (Je(t) || Y(t)) && Y(t.then) && Y(t.catch), b = {
177
177
  isArray: be,
178
178
  isArrayBuffer: wn,
179
179
  isBuffer: Os,
@@ -202,7 +202,7 @@ const to = (t) => {
202
202
  inherits: Is,
203
203
  toFlatObject: Vs,
204
204
  kindOf: We,
205
- kindOfTest: ae,
205
+ kindOfTest: oe,
206
206
  endsWith: Ms,
207
207
  toArray: Us,
208
208
  forEachEntry: Hs,
@@ -323,10 +323,10 @@ function Ge(t, e, n) {
323
323
  if (b.endsWith(f, "{}"))
324
324
  f = s ? f : f.slice(0, -2), _ = JSON.stringify(_);
325
325
  else if (b.isArray(_) && ao(_) || (b.isFileList(_) || b.endsWith(f, "[]")) && (p = b.toArray(_)))
326
- return f = Dn(f), p.forEach(function(y, O) {
326
+ return f = Dn(f), p.forEach(function(y, x) {
327
327
  !(b.isUndefined(y) || y === null) && e.append(
328
328
  // eslint-disable-next-line no-nested-ternary
329
- r === !0 ? Mt([f], O, a) : r === null ? f : f + "[]",
329
+ r === !0 ? Mt([f], x, a) : r === null ? f : f + "[]",
330
330
  g(y)
331
331
  );
332
332
  }), !1;
@@ -472,14 +472,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ho
472
472
  hasBrowserEnv: Ln,
473
473
  hasStandardBrowserEnv: fo,
474
474
  hasStandardBrowserWebWorkerEnv: mo
475
- }, Symbol.toStringTag, { value: "Module" })), oe = {
475
+ }, Symbol.toStringTag, { value: "Module" })), se = {
476
476
  ...ho,
477
477
  ...po
478
478
  };
479
479
  function go(t, e) {
480
- return Ge(t, new oe.classes.URLSearchParams(), Object.assign({
480
+ return Ge(t, new se.classes.URLSearchParams(), Object.assign({
481
481
  visitor: function(n, s, o, a) {
482
- return oe.isNode && b.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
482
+ return se.isNode && b.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
483
483
  }
484
484
  }, e));
485
485
  }
@@ -572,8 +572,8 @@ const Fe = {
572
572
  maxContentLength: -1,
573
573
  maxBodyLength: -1,
574
574
  env: {
575
- FormData: oe.classes.FormData,
576
- Blob: oe.classes.Blob
575
+ FormData: se.classes.FormData,
576
+ Blob: se.classes.Blob
577
577
  },
578
578
  validateStatus: function(e) {
579
579
  return e >= 200 && e < 300;
@@ -798,7 +798,7 @@ function xo(t, e, n) {
798
798
  n
799
799
  ));
800
800
  }
801
- const ko = oe.hasStandardBrowserEnv ? (
801
+ const ko = se.hasStandardBrowserEnv ? (
802
802
  // Standard browser envs support document.cookie
803
803
  {
804
804
  write(t, e, n, s, o, a) {
@@ -834,7 +834,7 @@ function Co(t, e) {
834
834
  function Bn(t, e) {
835
835
  return t && !Ao(e) ? Co(t, e) : e;
836
836
  }
837
- const Do = oe.hasStandardBrowserEnv ? (
837
+ const Do = se.hasStandardBrowserEnv ? (
838
838
  // Standard browser envs have full support of the APIs needed to test
839
839
  // whether the request URL is of the same origin as current location.
840
840
  function() {
@@ -914,7 +914,7 @@ const Fo = typeof XMLHttpRequest < "u", Lo = Fo && function(t) {
914
914
  }
915
915
  let c;
916
916
  if (b.isFormData(o)) {
917
- if (oe.hasStandardBrowserEnv || oe.hasStandardBrowserWebWorkerEnv)
917
+ if (se.hasStandardBrowserEnv || se.hasStandardBrowserWebWorkerEnv)
918
918
  a.setContentType(!1);
919
919
  else if ((c = a.getContentType()) !== !1) {
920
920
  const [f, ...v] = c ? c.split(";").map((p) => p.trim()).filter(Boolean) : [];
@@ -962,7 +962,7 @@ const Fo = typeof XMLHttpRequest < "u", Lo = Fo && function(t) {
962
962
  t,
963
963
  i
964
964
  )), i = null;
965
- }, oe.hasStandardBrowserEnv && (l && b.isFunction(l) && (l = l(t)), l || l !== !1 && Do(E))) {
965
+ }, se.hasStandardBrowserEnv && (l && b.isFunction(l) && (l = l(t)), l || l !== !1 && Do(E))) {
966
966
  const f = t.xsrfHeaderName && t.xsrfCookieName && ko.read(t.xsrfCookieName);
967
967
  f && a.set(t.xsrfHeaderName, f);
968
968
  }
@@ -972,7 +972,7 @@ const Fo = typeof XMLHttpRequest < "u", Lo = Fo && function(t) {
972
972
  i && (s(!f || f.type ? new Le(null, t, i) : f), i.abort(), i = null);
973
973
  }, t.cancelToken && t.cancelToken.subscribe(d), t.signal && (t.signal.aborted ? d() : t.signal.addEventListener("abort", d)));
974
974
  const _ = Ro(E);
975
- if (_ && oe.protocols.indexOf(_) === -1) {
975
+ if (_ && se.protocols.indexOf(_) === -1) {
976
976
  s(new R("Unsupported protocol " + _ + ":", R.ERR_BAD_REQUEST, t));
977
977
  return;
978
978
  }
@@ -1156,7 +1156,7 @@ function jo(t, e, n) {
1156
1156
  const ut = {
1157
1157
  assertOptions: jo,
1158
1158
  validators: vt
1159
- }, le = ut.validators;
1159
+ }, ie = ut.validators;
1160
1160
  class de {
1161
1161
  constructor(e) {
1162
1162
  this.defaults = e, this.interceptors = {
@@ -1190,14 +1190,14 @@ class de {
1190
1190
  typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = ye(this.defaults, n);
1191
1191
  const { transitional: s, paramsSerializer: o, headers: a } = n;
1192
1192
  s !== void 0 && ut.assertOptions(s, {
1193
- silentJSONParsing: le.transitional(le.boolean),
1194
- forcedJSONParsing: le.transitional(le.boolean),
1195
- clarifyTimeoutError: le.transitional(le.boolean)
1193
+ silentJSONParsing: ie.transitional(ie.boolean),
1194
+ forcedJSONParsing: ie.transitional(ie.boolean),
1195
+ clarifyTimeoutError: ie.transitional(ie.boolean)
1196
1196
  }, !1), o != null && (b.isFunction(o) ? n.paramsSerializer = {
1197
1197
  serialize: o
1198
1198
  } : ut.assertOptions(o, {
1199
- encode: le.function,
1200
- serialize: le.function
1199
+ encode: ie.function,
1200
+ serialize: ie.function
1201
1201
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1202
1202
  let r = a && b.merge(
1203
1203
  a.common,
@@ -1425,29 +1425,29 @@ function Vn(t) {
1425
1425
  return Vn(ye(t, o));
1426
1426
  }, n;
1427
1427
  }
1428
- const z = Vn(Fe);
1429
- z.Axios = de;
1430
- z.CanceledError = Le;
1431
- z.CancelToken = bt;
1432
- z.isCancel = jn;
1433
- z.VERSION = In;
1434
- z.toFormData = Ge;
1435
- z.AxiosError = R;
1436
- z.Cancel = z.CanceledError;
1437
- z.all = function(e) {
1428
+ const H = Vn(Fe);
1429
+ H.Axios = de;
1430
+ H.CanceledError = Le;
1431
+ H.CancelToken = bt;
1432
+ H.isCancel = jn;
1433
+ H.VERSION = In;
1434
+ H.toFormData = Ge;
1435
+ H.AxiosError = R;
1436
+ H.Cancel = H.CanceledError;
1437
+ H.all = function(e) {
1438
1438
  return Promise.all(e);
1439
1439
  };
1440
- z.spread = Bo;
1441
- z.isAxiosError = No;
1442
- z.mergeConfig = ye;
1443
- z.AxiosHeaders = X;
1444
- z.formToJSON = (t) => Pn(b.isHTMLForm(t) ? new FormData(t) : t);
1445
- z.getAdapter = Nn.getAdapter;
1446
- z.HttpStatusCode = ct;
1447
- z.default = z;
1440
+ H.spread = Bo;
1441
+ H.isAxiosError = No;
1442
+ H.mergeConfig = ye;
1443
+ H.AxiosHeaders = X;
1444
+ H.formToJSON = (t) => Pn(b.isHTMLForm(t) ? new FormData(t) : t);
1445
+ H.getAdapter = Nn.getAdapter;
1446
+ H.HttpStatusCode = ct;
1447
+ H.default = H;
1448
1448
  let we = null;
1449
1449
  function Io(t) {
1450
- we = z.create(t);
1450
+ we = H.create(t);
1451
1451
  }
1452
1452
  function Vo() {
1453
1453
  return we;
@@ -1554,8 +1554,8 @@ var Mn = { exports: {} };
1554
1554
  }
1555
1555
  function k(f, v, p, h) {
1556
1556
  return function(y) {
1557
- var O = y.toLowerCase();
1558
- return v.hasOwnProperty(O) ? !0 : f.hasOwnProperty(O) ? !1 : i(O, O, p) === O;
1557
+ var x = y.toLowerCase();
1558
+ return v.hasOwnProperty(x) ? !0 : f.hasOwnProperty(x) ? !1 : i(x, x, p) === x;
1559
1559
  };
1560
1560
  }
1561
1561
  function _(f, v, p) {
@@ -2008,7 +2008,7 @@ const nt = {
2008
2008
  component: { config: "component" }
2009
2009
  };
2010
2010
  async function Kt(t, e, n) {
2011
- const s = await Xo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-B3nQ3Z0h.js"), "./field/belongs-to/config.js": () => import("./config-CH0IcUzi.js"), "./field/boolean/config.js": () => import("./config-DDLjAjmt.js"), "./field/cascader/config.js": () => import("./config-Dg6g24hX.js"), "./field/component/config.js": () => import("./config-DYfrlvvj.js"), "./field/date/config.js": () => import("./config-BiyjIyRo.js"), "./field/datetime/config.js": () => import("./config-SwWMU6oa.js"), "./field/image/config.js": () => import("./config-BtSIrF85.js"), "./field/images/config.js": () => import("./config-DLdUVU90.js"), "./field/json/config.js": () => import("./config-DfKaXv_b.js"), "./field/radio-group/config.js": () => import("./config-B7xb7MnK.js"), "./field/rich-text/config.js": () => import("./config-BbC6f8wy.js"), "./field/row-id/config.js": () => import("./config-Do6YjNVx.js"), "./field/select/config.js": () => import("./config-D8p6n79M.js"), "./field/string/config.js": () => import("./config-CmscKuCp.js"), "./field/switch/config.js": () => import("./config-ChDoBN9N.js"), "./field/text/config.js": () => import("./config-DCtk5JbJ.js"), "./field/time/config.js": () => import("./config-BoOwGAbL.js"), "./field/tree-select/config.js": () => import("./config-DvZaHKer.js") }), `./field/${t}/config.js`, 4);
2011
+ const s = await Xo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-BCqBtq8J.js"), "./field/belongs-to/config.js": () => import("./config-CEfmA-KW.js"), "./field/boolean/config.js": () => import("./config-DpEYJWdG.js"), "./field/cascader/config.js": () => import("./config-D69Ti8fx.js"), "./field/component/config.js": () => import("./config-D2DgQhOX.js"), "./field/date/config.js": () => import("./config-6hJFmYbl.js"), "./field/datetime/config.js": () => import("./config-CsGwfVkk.js"), "./field/image/config.js": () => import("./config-Dok-OQeK.js"), "./field/images/config.js": () => import("./config-BMZTAp9-.js"), "./field/json/config.js": () => import("./config-1q6Up84b.js"), "./field/radio-group/config.js": () => import("./config-BXPcamHo.js"), "./field/rich-text/config.js": () => import("./config-BGZaGgC1.js"), "./field/row-id/config.js": () => import("./config-DFL2aj4y.js"), "./field/select/config.js": () => import("./config-BpioUn1S.js"), "./field/string/config.js": () => import("./config-CD-6WyoX.js"), "./field/switch/config.js": () => import("./config-D2sfKwWm.js"), "./field/text/config.js": () => import("./config-CWJFFv-8.js"), "./field/time/config.js": () => import("./config-Cb3VsDk0.js"), "./field/tree-select/config.js": () => import("./config-D-9jiY2C.js") }), `./field/${t}/config.js`, 4);
2012
2012
  return new s.default(e, n);
2013
2013
  }
2014
2014
  function Yt(t, e = "unknown") {
@@ -2158,7 +2158,7 @@ class na {
2158
2158
  function sa(t, e) {
2159
2159
  return new na(t, e);
2160
2160
  }
2161
- const B = (t, e) => {
2161
+ const N = (t, e) => {
2162
2162
  const n = t.__vccOpts || t;
2163
2163
  for (const [s, o] of e)
2164
2164
  n[s] = o;
@@ -2181,15 +2181,15 @@ const B = (t, e) => {
2181
2181
  e.title ? {
2182
2182
  name: "header",
2183
2183
  fn: w(() => [
2184
- A("div", oa, [
2185
- A("span", aa, j(e.title), 1)
2184
+ C("div", oa, [
2185
+ C("span", aa, B(e.title), 1)
2186
2186
  ])
2187
2187
  ]),
2188
2188
  key: "0"
2189
2189
  } : void 0
2190
2190
  ]), 1024));
2191
2191
  }
2192
- }, ia = /* @__PURE__ */ B(ra, [["__scopeId", "data-v-c5513c07"]]), la = { key: 0 }, ua = { key: 1 }, ca = { key: 0 }, da = { key: 1 }, pa = {
2192
+ }, ia = /* @__PURE__ */ N(ra, [["__scopeId", "data-v-c5513c07"]]), la = { key: 0 }, ua = { key: 1 }, ca = { key: 0 }, da = { key: 1 }, pa = {
2193
2193
  __name: "Statistic",
2194
2194
  props: {
2195
2195
  title: {
@@ -2218,38 +2218,38 @@ const B = (t, e) => {
2218
2218
  class: "container",
2219
2219
  style: Ke(`background: ${m(n)}; padding: ${m(s)}`)
2220
2220
  }, [
2221
- A("div", {
2221
+ C("div", {
2222
2222
  class: "item-box-data mono-data",
2223
2223
  style: Ke(`text-align: ${e.align};`)
2224
2224
  }, [
2225
- e.value != null ? (u(), S("span", la, j(e.value), 1)) : (u(), S("span", ua, "..."))
2225
+ e.value != null ? (u(), S("span", la, B(e.value), 1)) : (u(), S("span", ua, "..."))
2226
2226
  ], 4),
2227
- A("div", {
2227
+ C("div", {
2228
2228
  class: "item-box-tip",
2229
2229
  style: Ke(`text-align: ${e.align};`)
2230
2230
  }, [
2231
2231
  e.link ? (u(), S("span", ca, [
2232
- x(r, {
2232
+ O(r, {
2233
2233
  to: e.link
2234
2234
  }, {
2235
2235
  default: w(() => [
2236
- x(m(as), { type: "primary" }, {
2236
+ O(m(as), { type: "primary" }, {
2237
2237
  default: w(() => [
2238
- N(j(e.title), 1)
2238
+ I(B(e.title), 1)
2239
2239
  ]),
2240
2240
  _: 1
2241
2241
  })
2242
2242
  ]),
2243
2243
  _: 1
2244
2244
  }, 8, ["to"])
2245
- ])) : (u(), S("span", da, j(e.title), 1))
2245
+ ])) : (u(), S("span", da, B(e.title), 1))
2246
2246
  ], 4)
2247
2247
  ], 4)), [
2248
2248
  [m(ve), e.value == null]
2249
2249
  ]);
2250
2250
  };
2251
2251
  }
2252
- }, fa = /* @__PURE__ */ B(pa, [["__scopeId", "data-v-73228f1a"]]), ma = {
2252
+ }, fa = /* @__PURE__ */ N(pa, [["__scopeId", "data-v-73228f1a"]]), ma = {
2253
2253
  __name: "StatisticCard",
2254
2254
  props: {
2255
2255
  title: {
@@ -2275,7 +2275,7 @@ const B = (t, e) => {
2275
2275
  const e = t;
2276
2276
  return (n, s) => (u(), $(ia, null, {
2277
2277
  default: w(() => [
2278
- x(fa, {
2278
+ O(fa, {
2279
2279
  title: e.title,
2280
2280
  value: e.value,
2281
2281
  icon: e.icon,
@@ -2287,13 +2287,13 @@ const B = (t, e) => {
2287
2287
  _: 1
2288
2288
  }));
2289
2289
  }
2290
- }, il = /* @__PURE__ */ B(ma, [["__scopeId", "data-v-f338c407"]]), ha = {}, ga = { style: { padding: "20px 0" } };
2290
+ }, il = /* @__PURE__ */ N(ma, [["__scopeId", "data-v-f338c407"]]), ha = {}, ga = { style: { padding: "20px 0" } };
2291
2291
  function ya(t, e) {
2292
2292
  return u(), S("div", ga, [
2293
2293
  J(t.$slots, "default")
2294
2294
  ]);
2295
2295
  }
2296
- const ll = /* @__PURE__ */ B(ha, [["render", ya]]), _a = {
2296
+ const ll = /* @__PURE__ */ N(ha, [["render", ya]]), _a = {
2297
2297
  __name: "DashboardRow",
2298
2298
  setup(t) {
2299
2299
  return (e, n) => (u(), $(m(xe), {
@@ -2306,8 +2306,8 @@ const ll = /* @__PURE__ */ B(ha, [["render", ya]]), _a = {
2306
2306
  _: 3
2307
2307
  }));
2308
2308
  }
2309
- }, ul = /* @__PURE__ */ B(_a, [["__scopeId", "data-v-5b091760"]]);
2310
- function W(t) {
2309
+ }, ul = /* @__PURE__ */ N(_a, [["__scopeId", "data-v-5b091760"]]);
2310
+ function Q(t) {
2311
2311
  const e = { ...t.query, ...t.params };
2312
2312
  if (t.params.domain && t.params.id) {
2313
2313
  const n = zn(`${e.domain}-id`);
@@ -2329,7 +2329,7 @@ const ba = {
2329
2329
  fields: Array
2330
2330
  },
2331
2331
  setup(t) {
2332
- const e = t, n = I(() => {
2332
+ const e = t, n = V(() => {
2333
2333
  if (e.layout.length == 0) {
2334
2334
  if (e.fields.length <= 6) {
2335
2335
  const r = o(e.fields, 1);
@@ -2351,9 +2351,9 @@ const ba = {
2351
2351
  return d;
2352
2352
  }
2353
2353
  return (a, r) => (u(), S("div", null, [
2354
- (u(!0), S(L, null, H(n.value, (l) => (u(), $(m(xe), { gutter: 20 }, {
2354
+ (u(!0), S(L, null, q(n.value, (l) => (u(), $(m(xe), { gutter: 20 }, {
2355
2355
  default: w(() => [
2356
- (u(!0), S(L, null, H(l.cols, (d) => (u(), $(m($e), {
2356
+ (u(!0), S(L, null, q(l.cols, (d) => (u(), $(m($e), {
2357
2357
  span: s(d.field).wholeRow ? 24 : d.span
2358
2358
  }, {
2359
2359
  default: w(() => [
@@ -2384,9 +2384,9 @@ const ba = {
2384
2384
  },
2385
2385
  emits: ["submit", "remove"],
2386
2386
  setup(t, { emit: e }) {
2387
- const n = M(), s = W(n), o = e, a = D(!1), r = t, l = ft(r.config.formLayout || []), d = Oe({ ...r.data }), g = D(null), c = r.config.fields.filter((y) => y.rules).reduce((y, O) => (y[O.code] = k(O.rules), y), {}), i = I(h), E = I(() => r.config.fields.filter((y) => {
2388
- const O = y.editable(d, s), C = y.visible(d, s);
2389
- return y.disabled = C && !O, O || C;
2387
+ const n = M(), s = Q(n), o = e, a = D(!1), r = t, l = ft(r.config.formLayout || []), d = Oe({ ...r.data }), g = D(null), c = r.config.fields.filter((y) => y.rules).reduce((y, x) => (y[x.code] = k(x.rules), y), {}), i = V(h), E = V(() => r.config.fields.filter((y) => {
2388
+ const x = y.editable(d, s), A = y.visible(d, s);
2389
+ return y.disabled = A && !x, x || A;
2390
2390
  }));
2391
2391
  function k(y) {
2392
2392
  return typeof y == "object" ? y : typeof y == "function" ? y(d) : [];
@@ -2397,16 +2397,16 @@ const ba = {
2397
2397
  });
2398
2398
  }
2399
2399
  async function f() {
2400
- await g.value.validate(async (y, O) => {
2401
- var se, V;
2400
+ await g.value.validate(async (y, x) => {
2401
+ var ce, j;
2402
2402
  if (!y)
2403
- return console.log("error submit!", O), !1;
2404
- const C = (se = r.config.fields.find((re) => ["images", "attachments", "attachment"].includes(re.type))) == null ? void 0 : se.code, Q = { ...d };
2405
- if (C && (Q[C] = (V = Q[C]) == null ? void 0 : V.map((re) => re.id)), r.config.submitConfirm) {
2406
- await r.config.submitConfirm(Q) && _(Q);
2403
+ return console.log("error submit!", x), !1;
2404
+ const A = (ce = r.config.fields.find((ae) => ["images", "attachments", "attachment"].includes(ae.type))) == null ? void 0 : ce.code, U = { ...d };
2405
+ if (A && (U[A] = (j = U[A]) == null ? void 0 : j.map((ae) => ae.id)), r.config.submitConfirm) {
2406
+ await r.config.submitConfirm(U) && _(U);
2407
2407
  return;
2408
2408
  }
2409
- _(Q);
2409
+ _(U);
2410
2410
  });
2411
2411
  }
2412
2412
  function v() {
@@ -2437,28 +2437,28 @@ const ba = {
2437
2437
  }
2438
2438
  return P(
2439
2439
  () => ({ ...d }),
2440
- (y, O) => {
2441
- const Q = Object.keys(y).filter((V) => O[V] !== y[V]).map((V) => {
2442
- var re;
2443
- return (re = g.value) == null || re.clearValidate(V), {
2444
- field: V,
2445
- newValue: y[V],
2446
- oldValue: O[V]
2440
+ (y, x) => {
2441
+ const U = Object.keys(y).filter((j) => x[j] !== y[j]).map((j) => {
2442
+ var ae;
2443
+ return (ae = g.value) == null || ae.clearValidate(j), {
2444
+ field: j,
2445
+ newValue: y[j],
2446
+ oldValue: x[j]
2447
2447
  };
2448
2448
  });
2449
- E.value.filter((V) => !V.disabled).forEach((V) => {
2450
- V.formChange && V.formChange(d, Q);
2449
+ E.value.filter((j) => !j.disabled).forEach((j) => {
2450
+ j.formChange && j.formChange(d, U);
2451
2451
  });
2452
2452
  }
2453
2453
  ), P(
2454
2454
  () => r.data,
2455
2455
  (y) => {
2456
- Object.keys(y).forEach((O) => {
2457
- d[O] = y[O];
2456
+ Object.keys(y).forEach((x) => {
2457
+ d[x] = y[x];
2458
2458
  });
2459
2459
  },
2460
2460
  { immediate: !0 }
2461
- ), (y, O) => (u(), $(m(hn), {
2461
+ ), (y, x) => (u(), $(m(hn), {
2462
2462
  id: "form",
2463
2463
  ref_key: "formRef",
2464
2464
  ref: g,
@@ -2468,30 +2468,30 @@ const ba = {
2468
2468
  rules: m(c)
2469
2469
  }, {
2470
2470
  default: w(() => [
2471
- x(ba, {
2471
+ O(ba, {
2472
2472
  layout: m(l),
2473
2473
  fields: E.value
2474
2474
  }, {
2475
- default: w(({ field: C }) => [
2475
+ default: w(({ field: A }) => [
2476
2476
  (u(), $(m(st), {
2477
- key: C.code,
2478
- label: C.label,
2479
- prop: C.code
2477
+ key: A.code,
2478
+ label: A.label,
2479
+ prop: A.code
2480
2480
  }, {
2481
2481
  default: w(() => [
2482
- A("div", wa, [
2483
- C != null && C.editor ? (u(), $(K(C.editor), {
2482
+ C("div", wa, [
2483
+ A != null && A.editor ? (u(), $(K(A.editor), {
2484
2484
  key: 0,
2485
- modelValue: d[C.code],
2486
- "onUpdate:modelValue": (Q) => d[C.code] = Q,
2487
- field: C,
2488
- disabled: C.disabled,
2485
+ modelValue: d[A.code],
2486
+ "onUpdate:modelValue": (U) => d[A.code] = U,
2487
+ field: A,
2488
+ disabled: A.disabled,
2489
2489
  "form-data": d,
2490
2490
  "domain-config": r.config,
2491
2491
  row: d
2492
2492
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field", "disabled", "form-data", "domain-config", "row"])) : (u(), $(m(rs), {
2493
2493
  key: 1,
2494
- title: `未找到 ${C.code}(${C.type}) 的编辑器`,
2494
+ title: `未找到 ${A.code}(${A.type}) 的编辑器`,
2495
2495
  type: "error",
2496
2496
  effect: "dark",
2497
2497
  closable: !1
@@ -2503,7 +2503,7 @@ const ba = {
2503
2503
  ]),
2504
2504
  _: 1
2505
2505
  }, 8, ["layout", "fields"]),
2506
- A("div", Ea, [
2506
+ C("div", Ea, [
2507
2507
  d.id && !d.deletedAt && r.removable ? (u(), $(m(ee), {
2508
2508
  key: 0,
2509
2509
  size: "default",
@@ -2511,7 +2511,7 @@ const ba = {
2511
2511
  onClick: p
2512
2512
  }, {
2513
2513
  default: w(() => [
2514
- N(" 删除 ")
2514
+ I(" 删除 ")
2515
2515
  ]),
2516
2516
  _: 1
2517
2517
  })) : (u(), S("div", $a)),
@@ -2523,7 +2523,7 @@ const ba = {
2523
2523
  onClick: f
2524
2524
  }, {
2525
2525
  default: w(() => [
2526
- N(" 提交 ")
2526
+ I(" 提交 ")
2527
2527
  ]),
2528
2528
  _: 1
2529
2529
  }, 8, ["loading"])) : F("", !0)
@@ -2532,7 +2532,7 @@ const ba = {
2532
2532
  _: 1
2533
2533
  }, 8, ["model", "rules"]));
2534
2534
  }
2535
- }, Oa = /* @__PURE__ */ B(Sa, [["__scopeId", "data-v-e33a452e"]]);
2535
+ }, Oa = /* @__PURE__ */ N(Sa, [["__scopeId", "data-v-e33a452e"]]);
2536
2536
  function xa() {
2537
2537
  return He().idempotentUrl ? ne.get(He().idempotentUrl).then((t) => t.data) : "";
2538
2538
  }
@@ -2560,14 +2560,14 @@ const Se = {
2560
2560
  },
2561
2561
  emits: ["update:modelValue", "submit", "remove"],
2562
2562
  setup(t, { emit: e }) {
2563
- const n = M(), s = W(n), o = e, a = t, r = D(a.data), l = I(() => ({ ...r.value, idempotentToken: g.value })), d = I(() => a.config.fields.filter((f) => f.visible(l, s)).length >= 6 ? "60%" : "40%"), g = D(""), c = I({
2563
+ const n = M(), s = Q(n), o = e, a = t, r = D(a.data), l = V(() => ({ ...r.value, idempotentToken: g.value })), d = V(() => a.config.fields.filter((f) => f.visible(l, s)).length >= 6 ? "60%" : "40%"), g = D(""), c = V({
2564
2564
  get() {
2565
2565
  return a.modelValue;
2566
2566
  },
2567
2567
  set(_) {
2568
2568
  o("update:modelValue", _);
2569
2569
  }
2570
- }), i = I(() => a.title ? a.title : a.data.id ? `编辑${a.config.name}` : `添加${a.config.name}`);
2570
+ }), i = V(() => a.title ? a.title : a.data.id ? `编辑${a.config.name}` : `添加${a.config.name}`);
2571
2571
  function E(_, f, v) {
2572
2572
  r.value = f, o("submit", _, async () => {
2573
2573
  g.value = await Se.getValue(), v();
@@ -2596,7 +2596,7 @@ const Se = {
2596
2596
  "z-index": 2e3
2597
2597
  }, {
2598
2598
  default: w(() => [
2599
- x(Oa, {
2599
+ O(Oa, {
2600
2600
  config: a.config,
2601
2601
  data: l.value,
2602
2602
  removable: a.removable,
@@ -2638,7 +2638,7 @@ const Se = {
2638
2638
  }
2639
2639
  },
2640
2640
  setup(t) {
2641
- const e = t, n = D(e.row), s = D(!1), o = Z(null), a = M(), r = W(a), l = sa("simple", {
2641
+ const e = t, n = D(e.row), s = D(!1), o = Z(null), a = M(), r = Q(a), l = sa("simple", {
2642
2642
  simple: !0,
2643
2643
  code: e.code,
2644
2644
  fields: e.fields
@@ -2674,7 +2674,7 @@ const Se = {
2674
2674
  onClick: d
2675
2675
  }, {
2676
2676
  default: w(() => [
2677
- N(j(e.text) + " ", 1),
2677
+ I(B(e.text) + " ", 1),
2678
2678
  s.value ? (u(), $($t, {
2679
2679
  key: 0,
2680
2680
  modelValue: s.value,
@@ -2698,9 +2698,9 @@ const Se = {
2698
2698
  },
2699
2699
  setup(t) {
2700
2700
  const e = t;
2701
- return (n, s) => (u(), S("span", ka, j(e.text), 1));
2701
+ return (n, s) => (u(), S("span", ka, B(e.text), 1));
2702
2702
  }
2703
- }, dl = /* @__PURE__ */ B(Aa, [["__scopeId", "data-v-c97e855f"]]), pl = {
2703
+ }, dl = /* @__PURE__ */ N(Aa, [["__scopeId", "data-v-c97e855f"]]), pl = {
2704
2704
  __name: "FieldEditor",
2705
2705
  props: {
2706
2706
  modelValue: {
@@ -2714,7 +2714,7 @@ const Se = {
2714
2714
  },
2715
2715
  emits: ["update:modelValue"],
2716
2716
  setup(t, { emit: e }) {
2717
- const n = Zn(() => import("./ImagesUploader-1kZE13ma.js")), s = He().fileUploadUrl, o = e, a = t, r = Oe({ value: a.modelValue }), l = a.field.converter;
2717
+ const n = Zn(() => import("./ImagesUploader-BHQbg94w.js")), s = He().fileUploadUrl, o = e, a = t, r = Oe({ value: a.modelValue }), l = a.field.converter;
2718
2718
  function d(c) {
2719
2719
  const i = r.value.findIndex((E) => E.id === c.id);
2720
2720
  i >= 0 && (r.value.splice(i, 1), o("update:modelValue", r.value));
@@ -2741,7 +2741,7 @@ const Se = {
2741
2741
  },
2742
2742
  { immediate: !0 }
2743
2743
  ), (c, i) => (u(), S("div", null, [
2744
- x(m(n), {
2744
+ O(m(n), {
2745
2745
  images: r.value,
2746
2746
  props: a.field.props,
2747
2747
  onOnUpload: g,
@@ -2749,7 +2749,7 @@ const Se = {
2749
2749
  }, null, 8, ["images", "props"])
2750
2750
  ]));
2751
2751
  }
2752
- }, ce = gt("data-table-mode", {
2752
+ }, ue = gt("data-table-mode", {
2753
2753
  state: () => ({
2754
2754
  mode: "list",
2755
2755
  created: -1,
@@ -2862,17 +2862,17 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2862
2862
  );
2863
2863
  }
2864
2864
  return (d, g) => (u(), S("div", Ta, [
2865
- (u(!0), S(L, null, H(o.value, (c, i) => (u(), S("div", {
2865
+ (u(!0), S(L, null, q(o.value, (c, i) => (u(), S("div", {
2866
2866
  class: "sorters-item",
2867
2867
  onClick: (E) => l(i, "")
2868
2868
  }, [
2869
- A("div", La, j(c.name), 1),
2870
- A("div", Pa, [
2871
- A("i", {
2869
+ C("div", La, B(c.name), 1),
2870
+ C("div", Pa, [
2871
+ C("i", {
2872
2872
  class: he(["sort-caret ascending", c.order === "ASC" ? "ascending-active" : ""]),
2873
2873
  onClick: Rt((E) => l(i, "ASC"), ["stop"])
2874
2874
  }, null, 10, ja),
2875
- A("i", {
2875
+ C("i", {
2876
2876
  class: he(["sort-caret descending", c.order === "DESC" ? "descending-active" : ""]),
2877
2877
  onClick: Rt((E) => l(i, "DESC"), ["stop"])
2878
2878
  }, null, 10, Ba)
@@ -2880,7 +2880,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2880
2880
  ], 8, Fa))), 256))
2881
2881
  ]));
2882
2882
  }
2883
- }, Ia = /* @__PURE__ */ B(Na, [["__scopeId", "data-v-fa20b02a"]]), Va = { class: "ranges-box" }, Ma = { class: "range-item" }, Ua = { class: "range-label" }, za = { class: "range-input-box" }, Ha = {
2883
+ }, Ia = /* @__PURE__ */ N(Na, [["__scopeId", "data-v-fa20b02a"]]), Va = { class: "ranges-box" }, Ma = { class: "range-item" }, Ua = { class: "range-label" }, za = { class: "range-input-box" }, Ha = {
2884
2884
  __name: "FiltersRange",
2885
2885
  props: {
2886
2886
  ranges: {
@@ -2921,10 +2921,10 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2921
2921
  );
2922
2922
  }
2923
2923
  return a(), (l, d) => (u(), S("div", Va, [
2924
- (u(!0), S(L, null, H(o, (g) => (u(), S("div", Ma, [
2925
- A("div", Ua, j(g.name), 1),
2926
- A("div", za, [
2927
- x(m(Lt), {
2924
+ (u(!0), S(L, null, q(o, (g) => (u(), S("div", Ma, [
2925
+ C("div", Ua, B(g.name), 1),
2926
+ C("div", za, [
2927
+ O(m(Lt), {
2928
2928
  modelValue: g.min,
2929
2929
  "onUpdate:modelValue": (c) => g.min = c,
2930
2930
  "controls-position": "right",
@@ -2933,7 +2933,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2933
2933
  r(c, g.field, "min");
2934
2934
  }
2935
2935
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]),
2936
- x(m(Lt), {
2936
+ O(m(Lt), {
2937
2937
  modelValue: g.max,
2938
2938
  "onUpdate:modelValue": (c) => g.max = c,
2939
2939
  "controls-position": "right",
@@ -2947,7 +2947,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2947
2947
  ]))), 256))
2948
2948
  ]));
2949
2949
  }
2950
- }, qa = /* @__PURE__ */ B(Ha, [["__scopeId", "data-v-30f46526"]]), Wa = { key: 0 }, Qa = {
2950
+ }, qa = /* @__PURE__ */ N(Ha, [["__scopeId", "data-v-30f46526"]]), Wa = { key: 0 }, Qa = {
2951
2951
  __name: "FiltersEditor",
2952
2952
  props: {
2953
2953
  settings: {
@@ -2955,7 +2955,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2955
2955
  }
2956
2956
  },
2957
2957
  setup(t) {
2958
- const e = t, n = M(), s = W(n), o = D([]), a = Oe({}), r = Oe({}), l = Pe(
2958
+ const e = t, n = M(), s = Q(n), o = D([]), a = Oe({}), r = Oe({}), l = Pe(
2959
2959
  e.settings.code,
2960
2960
  n.path,
2961
2961
  e.settings.filters,
@@ -2979,38 +2979,40 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
2979
2979
  else if (Array.isArray(p.options))
2980
2980
  r[p.code] = p.options;
2981
2981
  else if (typeof p.options == "object") {
2982
- const y = p.options.getOneUrl ? p.options.getOneUrl : p.options.url;
2982
+ const x = p.options.getOneUrl ? p.options.getOneUrl : p.options.url;
2983
2983
  if (!h && Array.isArray(a[p.code]) && a[p.code].length > 0)
2984
- r[p.code] = [], a[p.code].forEach((O) => {
2985
- y.getOne({ id: O }).then((C) => {
2984
+ r[p.code] = [], a[p.code].forEach((A) => {
2985
+ x.getOne({ id: A }).then((U) => {
2986
2986
  r[p.code].push({
2987
- code: C.data[p.options.data.value] || C.data.id,
2988
- name: C.data[p.options.data.label] || C.data.name
2987
+ code: U.data[p.options.data.value] || U.data.id,
2988
+ name: U.data[p.options.data.label] || U.data.name
2989
2989
  });
2990
2990
  });
2991
2991
  });
2992
2992
  else if (!h && !Array.isArray(a[p.code]) && a[p.code])
2993
- y.getOne({ id: a[p.code] }).then((O) => {
2993
+ x.getOne({ id: a[p.code] }).then((A) => {
2994
2994
  r[p.code] = [
2995
2995
  {
2996
- code: O.data[p.options.data.value] || O.data.id,
2997
- name: O.data[p.options.data.label] || O.data.name
2996
+ code: A.data[p.options.data.value] || A.data.id,
2997
+ name: A.data[p.options.data.label] || A.data.name
2998
2998
  }
2999
2999
  ];
3000
3000
  });
3001
3001
  else {
3002
- const O = p.options.query.keyWord.toString(), C = p.options.method ? p.options.method : "getList";
3003
- p.options.url[C]({
3002
+ const A = p.options.query.keyWord.toString(), U = p.options.method ? p.options.method : "getList";
3003
+ p.options.url[U]({
3004
3004
  ...p.options.query,
3005
- [O]: h
3006
- }).then((Q) => {
3007
- r[p.code] = Q.data.rows.map((se) => ({
3008
- code: se[p.options.data.value] || se.id,
3009
- name: se[p.options.data.label] || se.name
3005
+ [A]: h
3006
+ }).then((ce) => {
3007
+ r[p.code] = ce.data.rows.map((j) => ({
3008
+ code: j[p.options.data.value] || j.id,
3009
+ name: j[p.options.data.label] || j.name
3010
3010
  }));
3011
3011
  });
3012
3012
  }
3013
3013
  }
3014
+ let y = r[p.code].map((x) => x.code);
3015
+ a[p.code] = a[p.code].filter((x) => y.includes(x));
3014
3016
  }
3015
3017
  function c(p) {
3016
3018
  if (p.remote)
@@ -3057,28 +3059,28 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3057
3059
  ), P(
3058
3060
  () => ({ ...a }),
3059
3061
  (p, h) => {
3060
- const O = Object.keys(p).filter((C) => h[C] !== p[C]).map((C) => ({
3061
- field: C,
3062
- newValue: p[C],
3063
- oldValue: h[C]
3062
+ const x = Object.keys(p).filter((A) => h[A] !== p[A]).map((A) => ({
3063
+ field: A,
3064
+ newValue: p[A],
3065
+ oldValue: h[A]
3064
3066
  }));
3065
- o.value.forEach((C) => {
3066
- C.formChange && C.formChange(a, O);
3067
+ o.value.forEach((A) => {
3068
+ A.formChange && A.formChange(a, x);
3067
3069
  });
3068
3070
  }
3069
3071
  ), (p, h) => Object.keys(e.settings.filters).length > 0 ? (u(), S("div", Wa, [
3070
- x(m(hn), {
3072
+ O(m(hn), {
3071
3073
  model: a,
3072
3074
  inline: "",
3073
3075
  class: "form-editor"
3074
3076
  }, {
3075
3077
  default: w(() => [
3076
- (u(!0), S(L, null, H(o.value, (y) => (u(), $(m(st), null, {
3078
+ (u(!0), S(L, null, q(o.value, (y) => (u(), $(m(st), null, {
3077
3079
  default: w(() => [
3078
3080
  y.type === "boolean" ? (u(), $(m(Pt), {
3079
3081
  key: 0,
3080
3082
  modelValue: a[y.code],
3081
- "onUpdate:modelValue": (O) => a[y.code] = O,
3083
+ "onUpdate:modelValue": (x) => a[y.code] = x,
3082
3084
  filterable: "",
3083
3085
  clearable: "",
3084
3086
  placeholder: `是否${y.name}`,
@@ -3086,11 +3088,11 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3086
3088
  onChange: f
3087
3089
  }, {
3088
3090
  default: w(() => [
3089
- x(m(Ye), {
3091
+ O(m(Ye), {
3090
3092
  value: !0,
3091
3093
  label: `已${y.name}`
3092
3094
  }, null, 8, ["label"]),
3093
- x(m(Ye), {
3095
+ O(m(Ye), {
3094
3096
  value: !1,
3095
3097
  label: `未${y.name}`
3096
3098
  }, null, 8, ["label"])
@@ -3099,7 +3101,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3099
3101
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : y.type === "select" ? (u(), $(m(Pt), {
3100
3102
  key: 1,
3101
3103
  modelValue: a[y.code],
3102
- "onUpdate:modelValue": (O) => a[y.code] = O,
3104
+ "onUpdate:modelValue": (x) => a[y.code] = x,
3103
3105
  filterable: "",
3104
3106
  clearable: "",
3105
3107
  remote: "",
@@ -3116,18 +3118,18 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3116
3118
  onChange: f
3117
3119
  }, {
3118
3120
  default: w(() => [
3119
- (u(!0), S(L, null, H(r[y.code], (O) => (u(), $(m(Ye), {
3120
- key: O.code,
3121
- label: O.name,
3122
- value: O.code,
3123
- title: O.name
3121
+ (u(!0), S(L, null, q(r[y.code], (x) => (u(), $(m(Ye), {
3122
+ key: x.code,
3123
+ label: x.name,
3124
+ value: x.code,
3125
+ title: x.name
3124
3126
  }, null, 8, ["label", "value", "title"]))), 128))
3125
3127
  ]),
3126
3128
  _: 2
3127
3129
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "class", "multiple-limit", "remote-method"])) : y.type === "selectV2" ? (u(), $(m(us), {
3128
3130
  key: 2,
3129
3131
  modelValue: a[y.code],
3130
- "onUpdate:modelValue": (O) => a[y.code] = O,
3132
+ "onUpdate:modelValue": (x) => a[y.code] = x,
3131
3133
  filterable: "",
3132
3134
  options: r[y.code] ? r[y.code] : [],
3133
3135
  props: { label: "name", value: "code" },
@@ -3149,7 +3151,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3149
3151
  }, null, 8, ["value", "ranges"])) : y.type === "datetime" ? (u(), $(m(jt), {
3150
3152
  key: 5,
3151
3153
  modelValue: a[y.code],
3152
- "onUpdate:modelValue": (O) => a[y.code] = O,
3154
+ "onUpdate:modelValue": (x) => a[y.code] = x,
3153
3155
  type: "datetime",
3154
3156
  format: "YYYY-MM-DD HH:mm:ss",
3155
3157
  "value-format": "YYYY-MM-DD HH:mm:ss",
@@ -3157,7 +3159,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3157
3159
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : y.type === "datetime-range" ? (u(), $(m(jt), {
3158
3160
  key: 6,
3159
3161
  modelValue: a[y.code],
3160
- "onUpdate:modelValue": (O) => a[y.code] = O,
3162
+ "onUpdate:modelValue": (x) => a[y.code] = x,
3161
3163
  type: y.dateType,
3162
3164
  format: y.format,
3163
3165
  "value-format": y.format,
@@ -3167,7 +3169,7 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3167
3169
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "format", "value-format", "start-placeholder", "end-placeholder", "placeholder"])) : (u(), $(m(cs), {
3168
3170
  key: 7,
3169
3171
  modelValue: a[y.code],
3170
- "onUpdate:modelValue": (O) => a[y.code] = O,
3172
+ "onUpdate:modelValue": (x) => a[y.code] = x,
3171
3173
  modelModifiers: { trim: !0 },
3172
3174
  placeholder: y.name,
3173
3175
  type: y.type,
@@ -3178,18 +3180,18 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3178
3180
  }, 1024))), 256)),
3179
3181
  o.value.length > 0 ? (u(), $(m(st), { key: 0 }, {
3180
3182
  default: w(() => [
3181
- x(m(ee), {
3183
+ O(m(ee), {
3182
3184
  type: "primary",
3183
3185
  onClick: f
3184
3186
  }, {
3185
3187
  default: w(() => [
3186
- N(" 查询 ")
3188
+ I(" 查询 ")
3187
3189
  ]),
3188
3190
  _: 1
3189
3191
  }),
3190
- x(m(ee), { onClick: v }, {
3192
+ O(m(ee), { onClick: v }, {
3191
3193
  default: w(() => [
3192
- N(" 重置 ")
3194
+ I(" 重置 ")
3193
3195
  ]),
3194
3196
  _: 1
3195
3197
  })
@@ -3201,9 +3203,9 @@ const Ta = { class: "sorters-box" }, Fa = ["onClick"], La = { class: "sorters-la
3201
3203
  }, 8, ["model"])
3202
3204
  ])) : F("", !0);
3203
3205
  }
3204
- }, Ja = /* @__PURE__ */ B(Qa, [["__scopeId", "data-v-951320d1"]]);
3206
+ }, Ja = /* @__PURE__ */ N(Qa, [["__scopeId", "data-v-d4bdd549"]]);
3205
3207
  /*! Element Plus Icons Vue v2.3.1 */
3206
- var Ga = /* @__PURE__ */ q({
3208
+ var Ga = /* @__PURE__ */ W({
3207
3209
  name: "ArrowDown",
3208
3210
  __name: "arrow-down",
3209
3211
  setup(t) {
@@ -3211,13 +3213,13 @@ var Ga = /* @__PURE__ */ q({
3211
3213
  xmlns: "http://www.w3.org/2000/svg",
3212
3214
  viewBox: "0 0 1024 1024"
3213
3215
  }, [
3214
- A("path", {
3216
+ C("path", {
3215
3217
  fill: "currentColor",
3216
3218
  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"
3217
3219
  })
3218
3220
  ]));
3219
3221
  }
3220
- }), Ka = Ga, Ya = /* @__PURE__ */ q({
3222
+ }), Ka = Ga, Ya = /* @__PURE__ */ W({
3221
3223
  name: "CircleCloseFilled",
3222
3224
  __name: "circle-close-filled",
3223
3225
  setup(t) {
@@ -3225,13 +3227,13 @@ var Ga = /* @__PURE__ */ q({
3225
3227
  xmlns: "http://www.w3.org/2000/svg",
3226
3228
  viewBox: "0 0 1024 1024"
3227
3229
  }, [
3228
- A("path", {
3230
+ C("path", {
3229
3231
  fill: "currentColor",
3230
3232
  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"
3231
3233
  })
3232
3234
  ]));
3233
3235
  }
3234
- }), fl = Ya, Xa = /* @__PURE__ */ q({
3236
+ }), fl = Ya, Xa = /* @__PURE__ */ W({
3235
3237
  name: "Close",
3236
3238
  __name: "close",
3237
3239
  setup(t) {
@@ -3239,13 +3241,13 @@ var Ga = /* @__PURE__ */ q({
3239
3241
  xmlns: "http://www.w3.org/2000/svg",
3240
3242
  viewBox: "0 0 1024 1024"
3241
3243
  }, [
3242
- A("path", {
3244
+ C("path", {
3243
3245
  fill: "currentColor",
3244
3246
  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"
3245
3247
  })
3246
3248
  ]));
3247
3249
  }
3248
- }), Za = Xa, er = /* @__PURE__ */ q({
3250
+ }), Za = Xa, er = /* @__PURE__ */ W({
3249
3251
  name: "DArrowLeft",
3250
3252
  __name: "d-arrow-left",
3251
3253
  setup(t) {
@@ -3253,13 +3255,13 @@ var Ga = /* @__PURE__ */ q({
3253
3255
  xmlns: "http://www.w3.org/2000/svg",
3254
3256
  viewBox: "0 0 1024 1024"
3255
3257
  }, [
3256
- A("path", {
3258
+ C("path", {
3257
3259
  fill: "currentColor",
3258
3260
  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"
3259
3261
  })
3260
3262
  ]));
3261
3263
  }
3262
- }), Xt = er, tr = /* @__PURE__ */ q({
3264
+ }), Xt = er, tr = /* @__PURE__ */ W({
3263
3265
  name: "DArrowRight",
3264
3266
  __name: "d-arrow-right",
3265
3267
  setup(t) {
@@ -3267,13 +3269,13 @@ var Ga = /* @__PURE__ */ q({
3267
3269
  xmlns: "http://www.w3.org/2000/svg",
3268
3270
  viewBox: "0 0 1024 1024"
3269
3271
  }, [
3270
- A("path", {
3272
+ C("path", {
3271
3273
  fill: "currentColor",
3272
3274
  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"
3273
3275
  })
3274
3276
  ]));
3275
3277
  }
3276
- }), nr = tr, sr = /* @__PURE__ */ q({
3278
+ }), nr = tr, sr = /* @__PURE__ */ W({
3277
3279
  name: "Delete",
3278
3280
  __name: "delete",
3279
3281
  setup(t) {
@@ -3281,13 +3283,13 @@ var Ga = /* @__PURE__ */ q({
3281
3283
  xmlns: "http://www.w3.org/2000/svg",
3282
3284
  viewBox: "0 0 1024 1024"
3283
3285
  }, [
3284
- A("path", {
3286
+ C("path", {
3285
3287
  fill: "currentColor",
3286
3288
  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"
3287
3289
  })
3288
3290
  ]));
3289
3291
  }
3290
- }), ml = sr, or = /* @__PURE__ */ q({
3292
+ }), ml = sr, or = /* @__PURE__ */ W({
3291
3293
  name: "Document",
3292
3294
  __name: "document",
3293
3295
  setup(t) {
@@ -3295,13 +3297,13 @@ var Ga = /* @__PURE__ */ q({
3295
3297
  xmlns: "http://www.w3.org/2000/svg",
3296
3298
  viewBox: "0 0 1024 1024"
3297
3299
  }, [
3298
- A("path", {
3300
+ C("path", {
3299
3301
  fill: "currentColor",
3300
3302
  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"
3301
3303
  })
3302
3304
  ]));
3303
3305
  }
3304
- }), hl = or, ar = /* @__PURE__ */ q({
3306
+ }), hl = or, ar = /* @__PURE__ */ W({
3305
3307
  name: "Download",
3306
3308
  __name: "download",
3307
3309
  setup(t) {
@@ -3309,13 +3311,13 @@ var Ga = /* @__PURE__ */ q({
3309
3311
  xmlns: "http://www.w3.org/2000/svg",
3310
3312
  viewBox: "0 0 1024 1024"
3311
3313
  }, [
3312
- A("path", {
3314
+ C("path", {
3313
3315
  fill: "currentColor",
3314
3316
  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"
3315
3317
  })
3316
3318
  ]));
3317
3319
  }
3318
- }), gl = ar, rr = /* @__PURE__ */ q({
3320
+ }), gl = ar, rr = /* @__PURE__ */ W({
3319
3321
  name: "Grid",
3320
3322
  __name: "grid",
3321
3323
  setup(t) {
@@ -3323,13 +3325,13 @@ var Ga = /* @__PURE__ */ q({
3323
3325
  xmlns: "http://www.w3.org/2000/svg",
3324
3326
  viewBox: "0 0 1024 1024"
3325
3327
  }, [
3326
- A("path", {
3328
+ C("path", {
3327
3329
  fill: "currentColor",
3328
3330
  d: "M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"
3329
3331
  })
3330
3332
  ]));
3331
3333
  }
3332
- }), ir = rr, lr = /* @__PURE__ */ q({
3334
+ }), ir = rr, lr = /* @__PURE__ */ W({
3333
3335
  name: "Loading",
3334
3336
  __name: "loading",
3335
3337
  setup(t) {
@@ -3337,13 +3339,13 @@ var Ga = /* @__PURE__ */ q({
3337
3339
  xmlns: "http://www.w3.org/2000/svg",
3338
3340
  viewBox: "0 0 1024 1024"
3339
3341
  }, [
3340
- A("path", {
3342
+ C("path", {
3341
3343
  fill: "currentColor",
3342
3344
  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"
3343
3345
  })
3344
3346
  ]));
3345
3347
  }
3346
- }), yl = lr, ur = /* @__PURE__ */ q({
3348
+ }), yl = lr, ur = /* @__PURE__ */ W({
3347
3349
  name: "Minus",
3348
3350
  __name: "minus",
3349
3351
  setup(t) {
@@ -3351,13 +3353,13 @@ var Ga = /* @__PURE__ */ q({
3351
3353
  xmlns: "http://www.w3.org/2000/svg",
3352
3354
  viewBox: "0 0 1024 1024"
3353
3355
  }, [
3354
- A("path", {
3356
+ C("path", {
3355
3357
  fill: "currentColor",
3356
3358
  d: "M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"
3357
3359
  })
3358
3360
  ]));
3359
3361
  }
3360
- }), cr = ur, dr = /* @__PURE__ */ q({
3362
+ }), cr = ur, dr = /* @__PURE__ */ W({
3361
3363
  name: "Operation",
3362
3364
  __name: "operation",
3363
3365
  setup(t) {
@@ -3365,13 +3367,13 @@ var Ga = /* @__PURE__ */ q({
3365
3367
  xmlns: "http://www.w3.org/2000/svg",
3366
3368
  viewBox: "0 0 1024 1024"
3367
3369
  }, [
3368
- A("path", {
3370
+ C("path", {
3369
3371
  fill: "currentColor",
3370
3372
  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"
3371
3373
  })
3372
3374
  ]));
3373
3375
  }
3374
- }), pr = dr, fr = /* @__PURE__ */ q({
3376
+ }), pr = dr, fr = /* @__PURE__ */ W({
3375
3377
  name: "Plus",
3376
3378
  __name: "plus",
3377
3379
  setup(t) {
@@ -3379,13 +3381,13 @@ var Ga = /* @__PURE__ */ q({
3379
3381
  xmlns: "http://www.w3.org/2000/svg",
3380
3382
  viewBox: "0 0 1024 1024"
3381
3383
  }, [
3382
- A("path", {
3384
+ C("path", {
3383
3385
  fill: "currentColor",
3384
3386
  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"
3385
3387
  })
3386
3388
  ]));
3387
3389
  }
3388
- }), _l = fr, mr = /* @__PURE__ */ q({
3390
+ }), _l = fr, mr = /* @__PURE__ */ W({
3389
3391
  name: "PriceTag",
3390
3392
  __name: "price-tag",
3391
3393
  setup(t) {
@@ -3393,17 +3395,17 @@ var Ga = /* @__PURE__ */ q({
3393
3395
  xmlns: "http://www.w3.org/2000/svg",
3394
3396
  viewBox: "0 0 1024 1024"
3395
3397
  }, [
3396
- A("path", {
3398
+ C("path", {
3397
3399
  fill: "currentColor",
3398
3400
  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"
3399
3401
  }),
3400
- A("path", {
3402
+ C("path", {
3401
3403
  fill: "currentColor",
3402
3404
  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"
3403
3405
  })
3404
3406
  ]));
3405
3407
  }
3406
- }), Zt = mr, hr = /* @__PURE__ */ q({
3408
+ }), Zt = mr, hr = /* @__PURE__ */ W({
3407
3409
  name: "QuestionFilled",
3408
3410
  __name: "question-filled",
3409
3411
  setup(t) {
@@ -3411,13 +3413,13 @@ var Ga = /* @__PURE__ */ q({
3411
3413
  xmlns: "http://www.w3.org/2000/svg",
3412
3414
  viewBox: "0 0 1024 1024"
3413
3415
  }, [
3414
- A("path", {
3416
+ C("path", {
3415
3417
  fill: "currentColor",
3416
3418
  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"
3417
3419
  })
3418
3420
  ]));
3419
3421
  }
3420
- }), vl = hr, gr = /* @__PURE__ */ q({
3422
+ }), vl = hr, gr = /* @__PURE__ */ W({
3421
3423
  name: "Setting",
3422
3424
  __name: "setting",
3423
3425
  setup(t) {
@@ -3425,13 +3427,13 @@ var Ga = /* @__PURE__ */ q({
3425
3427
  xmlns: "http://www.w3.org/2000/svg",
3426
3428
  viewBox: "0 0 1024 1024"
3427
3429
  }, [
3428
- A("path", {
3430
+ C("path", {
3429
3431
  fill: "currentColor",
3430
3432
  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"
3431
3433
  })
3432
3434
  ]));
3433
3435
  }
3434
- }), yr = gr, _r = /* @__PURE__ */ q({
3436
+ }), yr = gr, _r = /* @__PURE__ */ W({
3435
3437
  name: "SuccessFilled",
3436
3438
  __name: "success-filled",
3437
3439
  setup(t) {
@@ -3439,13 +3441,13 @@ var Ga = /* @__PURE__ */ q({
3439
3441
  xmlns: "http://www.w3.org/2000/svg",
3440
3442
  viewBox: "0 0 1024 1024"
3441
3443
  }, [
3442
- A("path", {
3444
+ C("path", {
3443
3445
  fill: "currentColor",
3444
3446
  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"
3445
3447
  })
3446
3448
  ]));
3447
3449
  }
3448
- }), bl = _r, vr = /* @__PURE__ */ q({
3450
+ }), bl = _r, vr = /* @__PURE__ */ W({
3449
3451
  name: "View",
3450
3452
  __name: "view",
3451
3453
  setup(t) {
@@ -3453,7 +3455,7 @@ var Ga = /* @__PURE__ */ q({
3453
3455
  xmlns: "http://www.w3.org/2000/svg",
3454
3456
  viewBox: "0 0 1024 1024"
3455
3457
  }, [
3456
- A("path", {
3458
+ C("path", {
3457
3459
  fill: "currentColor",
3458
3460
  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"
3459
3461
  })
@@ -3471,12 +3473,12 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3471
3473
  }
3472
3474
  },
3473
3475
  setup(t) {
3474
- const e = t, n = e.tableName ? e.tableName : e.settings.name, s = M(), o = ce(), a = Pe(
3476
+ const e = t, n = e.tableName ? e.tableName : e.settings.name, s = M(), o = ue(), a = Pe(
3475
3477
  e.settings.code,
3476
3478
  s.path,
3477
3479
  e.settings.filters,
3478
3480
  e.settings.filterHook
3479
- )(), r = Re(), l = I(() => a.validFilters.isDeleted || !1), d = I(() => e.settings.displayMode.normalMode);
3481
+ )(), r = Re(), l = V(() => a.validFilters.isDeleted || !1), d = V(() => e.settings.displayMode.normalMode);
3480
3482
  function g() {
3481
3483
  a.$reset({ isDeleted: !l.value });
3482
3484
  }
@@ -3490,9 +3492,9 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3490
3492
  localStorage.setItem(k, o.mode);
3491
3493
  }
3492
3494
  return dn(c), (E, k) => (u(), S(L, null, [
3493
- A("div", br, [
3494
- A("div", wr, j(l.value ? `已删除的${m(n)}` : m(n)), 1),
3495
- A("div", Er, [
3495
+ C("div", br, [
3496
+ C("div", wr, B(l.value ? `已删除的${m(n)}` : m(n)), 1),
3497
+ C("div", Er, [
3496
3498
  m(r).operations ? (u(), $(m(pe), {
3497
3499
  key: 0,
3498
3500
  class: "button-groups"
@@ -3502,28 +3504,28 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3502
3504
  ]),
3503
3505
  _: 3
3504
3506
  })) : F("", !0),
3505
- x(m(pe), { class: "button-groups" }, {
3507
+ O(m(pe), { class: "button-groups" }, {
3506
3508
  default: w(() => [
3507
3509
  J(E.$slots, "tools", {}, void 0, !0)
3508
3510
  ]),
3509
3511
  _: 3
3510
3512
  }),
3511
- x(m(ot), {
3513
+ O(m(ot), {
3512
3514
  trigger: "click",
3513
3515
  onCommand: i
3514
3516
  }, {
3515
3517
  dropdown: w(() => [
3516
- x(m(at), null, {
3518
+ O(m(at), null, {
3517
3519
  default: w(() => [
3518
- x(m(ue), { command: "list" }, {
3520
+ O(m(le), { command: "list" }, {
3519
3521
  default: w(() => [
3520
- N(" 列表 ")
3522
+ I(" 列表 ")
3521
3523
  ]),
3522
3524
  _: 1
3523
3525
  }),
3524
- x(m(ue), { command: "grid" }, {
3526
+ O(m(le), { command: "grid" }, {
3525
3527
  default: w(() => [
3526
- N(" 网格 ")
3528
+ I(" 网格 ")
3527
3529
  ]),
3528
3530
  _: 1
3529
3531
  })
@@ -3532,17 +3534,17 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3532
3534
  })
3533
3535
  ]),
3534
3536
  default: w(() => [
3535
- x(m(ee), null, {
3537
+ O(m(ee), null, {
3536
3538
  default: w(() => [
3537
- x(m(G), null, {
3539
+ O(m(G), null, {
3538
3540
  default: w(() => [
3539
- x(m(ir))
3541
+ O(m(ir))
3540
3542
  ]),
3541
3543
  _: 1
3542
3544
  }),
3543
- x(m(G), { class: "el-icon--right" }, {
3545
+ O(m(G), { class: "el-icon--right" }, {
3544
3546
  default: w(() => [
3545
- x(m(Ka))
3547
+ O(m(Ka))
3546
3548
  ]),
3547
3549
  _: 1
3548
3550
  })
@@ -3557,14 +3559,14 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3557
3559
  trigger: "click"
3558
3560
  }, {
3559
3561
  dropdown: w(() => [
3560
- x(m(at), null, {
3562
+ O(m(at), null, {
3561
3563
  default: w(() => [
3562
- x(m(ue), {
3564
+ O(m(le), {
3563
3565
  command: "deleted",
3564
3566
  onClick: g
3565
3567
  }, {
3566
3568
  default: w(() => [
3567
- A("div", null, j(l.value ? "未删除" : "已删除"), 1)
3569
+ C("div", null, B(l.value ? "未删除" : "已删除"), 1)
3568
3570
  ]),
3569
3571
  _: 1
3570
3572
  })
@@ -3573,11 +3575,11 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3573
3575
  })
3574
3576
  ]),
3575
3577
  default: w(() => [
3576
- x(m(ee), null, {
3578
+ O(m(ee), null, {
3577
3579
  default: w(() => [
3578
- x(m(G), null, {
3580
+ O(m(G), null, {
3579
3581
  default: w(() => [
3580
- x(m(yr))
3582
+ O(m(yr))
3581
3583
  ]),
3582
3584
  _: 1
3583
3585
  })
@@ -3589,12 +3591,12 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3589
3591
  })) : F("", !0)
3590
3592
  ])
3591
3593
  ]),
3592
- x(Ja, {
3594
+ O(Ja, {
3593
3595
  settings: e.settings
3594
3596
  }, null, 8, ["settings"])
3595
3597
  ], 64));
3596
3598
  }
3597
- }, Sr = /* @__PURE__ */ B($r, [["__scopeId", "data-v-898f42af"]]), Or = { class: "kst-field-row-id" }, xr = { key: 0 }, kr = {
3599
+ }, Sr = /* @__PURE__ */ N($r, [["__scopeId", "data-v-898f42af"]]), Or = { class: "kst-field-row-id" }, xr = { key: 0 }, kr = {
3598
3600
  key: 1,
3599
3601
  class: "mono-data"
3600
3602
  }, Ar = { key: 1 }, Cr = {
@@ -3611,12 +3613,12 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3611
3613
  }
3612
3614
  },
3613
3615
  setup(t) {
3614
- const e = Re(), n = M(), s = t, o = n.meta.side, a = I(() => s.row[s.field.code]), r = I(() => ({
3616
+ const e = Re(), n = M(), s = t, o = n.meta.side, a = V(() => s.row[s.field.code]), r = V(() => ({
3615
3617
  path: `/${o}/${s.field.domain}/${a.value}`,
3616
- query: { ...W(n), ...s.field.rowQuery(s.row) }
3618
+ query: { ...Q(n), ...s.field.rowQuery(s.row) }
3617
3619
  }));
3618
3620
  function l() {
3619
- return s.field.isRouter(s.row, W(n));
3621
+ return s.field.isRouter(s.row, Q(n));
3620
3622
  }
3621
3623
  return (d, g) => {
3622
3624
  const c = qe("RouterLink");
@@ -3630,25 +3632,25 @@ const br = { class: "data-page-title" }, wr = { class: "title" }, Er = { class:
3630
3632
  default: w(() => [
3631
3633
  m(e).name ? (u(), S(L, { key: 0 }, [
3632
3634
  J(d.$slots, "name", {}, void 0, !0),
3633
- N("(#" + j(a.value) + ") ", 1)
3635
+ I("(#" + B(a.value) + ") ", 1)
3634
3636
  ], 64)) : (u(), S(L, { key: 1 }, [
3635
- N(" #" + j(a.value), 1)
3637
+ I(" #" + B(a.value), 1)
3636
3638
  ], 64))
3637
3639
  ]),
3638
3640
  _: 3
3639
3641
  }, 8, ["to"])) : (u(), S("span", kr, [
3640
3642
  m(e).name ? (u(), S(L, { key: 0 }, [
3641
3643
  J(d.$slots, "name", {}, void 0, !0),
3642
- N("(" + j(a.value) + ") ", 1)
3644
+ I("(" + B(a.value) + ") ", 1)
3643
3645
  ], 64)) : (u(), S(L, { key: 1 }, [
3644
- N(j(a.value), 1)
3646
+ I(B(a.value), 1)
3645
3647
  ], 64))
3646
3648
  ]))
3647
3649
  ])) : (u(), S("span", Ar, " NO ID "))
3648
3650
  ]);
3649
3651
  };
3650
3652
  }
3651
- }, Dr = /* @__PURE__ */ B(Cr, [["__scopeId", "data-v-00021e61"]]);
3653
+ }, Dr = /* @__PURE__ */ N(Cr, [["__scopeId", "data-v-00021e61"]]);
3652
3654
  function Rr(t) {
3653
3655
  ke(t);
3654
3656
  }
@@ -3701,7 +3703,7 @@ const Tr = {
3701
3703
  },
3702
3704
  setup(t) {
3703
3705
  var _;
3704
- const e = St(), n = ce(), s = M(), o = fe(), a = W(s), r = t, l = D({}), d = D(!1), g = I(() => {
3706
+ const e = St(), n = ue(), s = M(), o = fe(), a = Q(s), r = t, l = D({}), d = D(!1), g = V(() => {
3705
3707
  var f, v;
3706
3708
  return r.row.deletedAt ? !1 : (f = r.operations) != null && f.updatable ? !0 : !!((v = r.operations) != null && v.removable);
3707
3709
  }), c = D((_ = r.operations) == null ? void 0 : _.removable);
@@ -3737,7 +3739,7 @@ const Tr = {
3737
3739
  onClick: i
3738
3740
  }, {
3739
3741
  default: w(() => [
3740
- N(" 编辑 "),
3742
+ I(" 编辑 "),
3741
3743
  d.value ? (u(), $($t, {
3742
3744
  key: 0,
3743
3745
  modelValue: d.value,
@@ -3755,7 +3757,7 @@ const Tr = {
3755
3757
  }, Fr = (t) => (pn("data-v-0941be48"), t = t(), fn(), t), Lr = { class: "data-grid-wrapper" }, Pr = {
3756
3758
  key: 0,
3757
3759
  class: "cover"
3758
- }, jr = /* @__PURE__ */ Fr(() => /* @__PURE__ */ A("div", { class: "image-slot" }, null, -1)), Br = { class: "header" }, Nr = { key: 0 }, Ir = { class: "key" }, Vr = { class: "value" }, Mr = {
3760
+ }, jr = /* @__PURE__ */ Fr(() => /* @__PURE__ */ C("div", { class: "image-slot" }, null, -1)), Br = { class: "header" }, Nr = { key: 0 }, Ir = { class: "key" }, Vr = { class: "value" }, Mr = {
3759
3761
  key: 1,
3760
3762
  class: "footer tools"
3761
3763
  }, Ur = {
@@ -3774,7 +3776,7 @@ const Tr = {
3774
3776
  }
3775
3777
  },
3776
3778
  setup(t) {
3777
- const e = M(), n = W(e), s = Re(), o = t, a = Pe(
3779
+ const e = M(), n = Q(e), s = Re(), o = t, a = Pe(
3778
3780
  o.settings.code,
3779
3781
  e.path,
3780
3782
  o.settings.filters,
@@ -3788,10 +3790,10 @@ const Tr = {
3788
3790
  c.value = p;
3789
3791
  });
3790
3792
  });
3791
- const E = I(() => {
3793
+ const E = V(() => {
3792
3794
  var p, h;
3793
3795
  return !!((p = o.operations) != null && p.updatable && c || (h = o.operations) != null && h.removable && c);
3794
- }), k = I(() => o.settings.displayMode.gridWidth), _ = I(() => o.settings.displayMode.heightAuto);
3796
+ }), k = V(() => o.settings.displayMode.gridWidth), _ = V(() => o.settings.displayMode.heightAuto);
3795
3797
  function f() {
3796
3798
  g.value = o.settings.fields.find((p) => p.code === "id"), d.value = o.settings.fields.filter((p) => p.code === o.settings.coverField || p.code === o.settings.nameField || p.code === "id" ? !1 : p.showInList(n, l.value));
3797
3799
  }
@@ -3809,7 +3811,7 @@ const Tr = {
3809
3811
  gutter: 20
3810
3812
  }, {
3811
3813
  default: w(() => [
3812
- (u(!0), S(L, null, H(t.data, (y) => (u(), $(m($e), {
3814
+ (u(!0), S(L, null, q(t.data, (y) => (u(), $(m($e), {
3813
3815
  style: { "margin-bottom": "20px" },
3814
3816
  span: k.value ? k.value : 24,
3815
3817
  xs: k.value ? {} : 24,
@@ -3819,7 +3821,7 @@ const Tr = {
3819
3821
  xl: k.value ? {} : 4
3820
3822
  }, {
3821
3823
  default: w(() => [
3822
- x(m(mn), {
3824
+ O(m(mn), {
3823
3825
  "body-style": { padding: "0px" },
3824
3826
  shadow: "hover"
3825
3827
  }, {
@@ -3839,33 +3841,33 @@ const Tr = {
3839
3841
  _: 2
3840
3842
  }, 1032, ["src"]))
3841
3843
  ])) : F("", !0),
3842
- A("div", Br, [
3843
- x(Dr, {
3844
+ C("div", Br, [
3845
+ O(Dr, {
3844
3846
  field: g.value,
3845
3847
  row: y
3846
3848
  }, De({ _: 2 }, [
3847
3849
  y[o.settings.nameField] ? {
3848
3850
  name: "name",
3849
3851
  fn: w(() => [
3850
- N(j(v(y)), 1)
3852
+ I(B(v(y)), 1)
3851
3853
  ]),
3852
3854
  key: "0"
3853
3855
  } : void 0
3854
3856
  ]), 1032, ["field", "row"])
3855
3857
  ]),
3856
- A("div", {
3858
+ C("div", {
3857
3859
  class: he(_.value ? "body heightAuto" : "body")
3858
3860
  }, [
3859
3861
  m(s).body ? (u(), S("div", Nr, [
3860
3862
  J(p.$slots, "body", { row: y }, void 0, !0)
3861
- ])) : (u(!0), S(L, { key: 1 }, H(d.value, (O) => (u(), S("div", {
3862
- key: O.code,
3863
+ ])) : (u(!0), S(L, { key: 1 }, q(d.value, (x) => (u(), S("div", {
3864
+ key: x.code,
3863
3865
  class: "field mono-data"
3864
3866
  }, [
3865
- A("div", Ir, j(O.label) + " ", 1),
3866
- A("div", Vr, [
3867
- (u(), $(K(O.display), {
3868
- field: O,
3867
+ C("div", Ir, B(x.label) + " ", 1),
3868
+ C("div", Vr, [
3869
+ (u(), $(K(x.display), {
3870
+ field: x,
3869
3871
  row: y,
3870
3872
  mode: "grid"
3871
3873
  }, null, 8, ["field", "row"]))
@@ -3887,7 +3889,7 @@ const Tr = {
3887
3889
  size: "small"
3888
3890
  }, {
3889
3891
  default: w(() => [
3890
- x(Ot, {
3892
+ O(Ot, {
3891
3893
  row: y,
3892
3894
  settings: o.settings,
3893
3895
  operations: o.operations
@@ -3907,7 +3909,7 @@ const Tr = {
3907
3909
  }))
3908
3910
  ]));
3909
3911
  }
3910
- }, zr = /* @__PURE__ */ B(Ur, [["__scopeId", "data-v-0941be48"]]);
3912
+ }, zr = /* @__PURE__ */ N(Ur, [["__scopeId", "data-v-0941be48"]]);
3911
3913
  function Hr(t, e) {
3912
3914
  const n = t.fields.map((o) => o.code), s = Object.keys(e);
3913
3915
  n.forEach((o) => {
@@ -3940,7 +3942,7 @@ const qr = {
3940
3942
  },
3941
3943
  emits: ["sort-column", "select-change", "enable-item"],
3942
3944
  setup(t, { emit: e }) {
3943
- const n = M(), s = W(n), o = e, a = Re(), r = t, l = Pe(
3945
+ const n = M(), s = Q(n), o = e, a = Re(), r = t, l = Pe(
3944
3946
  r.settings.code,
3945
3947
  n.path,
3946
3948
  r.settings.filters,
@@ -3954,7 +3956,7 @@ const qr = {
3954
3956
  i.value = h;
3955
3957
  });
3956
3958
  });
3957
- const k = I(() => {
3959
+ const k = V(() => {
3958
3960
  var h, y;
3959
3961
  return !!((h = r.operations) != null && h.updatable && i.value || (y = r.operations) != null && y.removable && i.value);
3960
3962
  });
@@ -3991,24 +3993,24 @@ const qr = {
3991
3993
  onSortChange: _
3992
3994
  }, {
3993
3995
  default: w(() => [
3994
- x(m(je), {
3996
+ O(m(je), {
3995
3997
  type: "selection",
3996
3998
  width: "40"
3997
3999
  }),
3998
- (u(!0), S(L, null, H(c.value, (O) => (u(), $(m(je), {
3999
- key: O.code,
4000
- label: O.label,
4001
- width: O.width,
4002
- prop: O.code,
4003
- sortable: O.sortable ? "custom" : !1,
4004
- fixed: O.fixed
4000
+ (u(!0), S(L, null, q(c.value, (x) => (u(), $(m(je), {
4001
+ key: x.code,
4002
+ label: x.label,
4003
+ width: x.width,
4004
+ prop: x.code,
4005
+ sortable: x.sortable ? "custom" : !1,
4006
+ fixed: x.fixed
4005
4007
  }, De({ _: 2 }, [
4006
- O.type === "switch" ? {
4008
+ x.type === "switch" ? {
4007
4009
  name: "default",
4008
- fn: w(({ row: C }) => [
4009
- (u(), $(K(O.display), {
4010
- field: O,
4011
- row: C,
4010
+ fn: w(({ row: A }) => [
4011
+ (u(), $(K(x.display), {
4012
+ field: x,
4013
+ row: A,
4012
4014
  mode: "list",
4013
4015
  onEnable: f
4014
4016
  }, null, 40, ["field", "row"]))
@@ -4016,11 +4018,11 @@ const qr = {
4016
4018
  key: "0"
4017
4019
  } : {
4018
4020
  name: "default",
4019
- fn: w(({ row: C }) => [
4020
- (u(), $(K(O.display), {
4021
- key: C.updatedAt,
4022
- field: O,
4023
- row: C,
4021
+ fn: w(({ row: A }) => [
4022
+ (u(), $(K(x.display), {
4023
+ key: A.updatedAt,
4024
+ field: x,
4025
+ row: A,
4024
4026
  mode: "list"
4025
4027
  }, null, 8, ["field", "row"]))
4026
4028
  ]),
@@ -4033,10 +4035,10 @@ const qr = {
4033
4035
  fixed: "right",
4034
4036
  width: r.actionsWidth
4035
4037
  }, {
4036
- default: w(({ row: O }) => [
4037
- x(m(pe), { size: "small" }, {
4038
+ default: w(({ row: x }) => [
4039
+ O(m(pe), { size: "small" }, {
4038
4040
  default: w(() => [
4039
- J(h.$slots, "actions", { row: O }, void 0, !0)
4041
+ J(h.$slots, "actions", { row: x }, void 0, !0)
4040
4042
  ]),
4041
4043
  _: 2
4042
4044
  }, 1024)
@@ -4049,11 +4051,11 @@ const qr = {
4049
4051
  label: "操作",
4050
4052
  width: r.operationsWidth
4051
4053
  }, {
4052
- default: w(({ row: O }) => [
4053
- x(m(pe), { size: "small" }, {
4054
+ default: w(({ row: x }) => [
4055
+ O(m(pe), { size: "small" }, {
4054
4056
  default: w(() => [
4055
- x(Ot, {
4056
- row: O,
4057
+ O(Ot, {
4058
+ row: x,
4057
4059
  settings: r.settings,
4058
4060
  operations: r.operations
4059
4061
  }, null, 8, ["row", "settings", "operations"])
@@ -4067,7 +4069,7 @@ const qr = {
4067
4069
  _: 3
4068
4070
  }, 8, ["data"]));
4069
4071
  }
4070
- }, tn = /* @__PURE__ */ B(qr, [["__scopeId", "data-v-31b40ae5"]]), Wr = {
4072
+ }, tn = /* @__PURE__ */ N(qr, [["__scopeId", "data-v-31b40ae5"]]), Wr = {
4071
4073
  __name: "DataTable",
4072
4074
  props: {
4073
4075
  data: {
@@ -4084,7 +4086,7 @@ const qr = {
4084
4086
  }
4085
4087
  },
4086
4088
  setup(t) {
4087
- const e = ce();
4089
+ const e = ue();
4088
4090
  e.$reset();
4089
4091
  const { mode: n } = ge(e), s = Re(), o = t, a = Z(tn);
4090
4092
  function r(l) {
@@ -4093,7 +4095,7 @@ const qr = {
4093
4095
  return P(n, (l) => {
4094
4096
  r(l);
4095
4097
  }), (l, d) => (u(), $(K(a.value), Tt(Ft(o)), De({ _: 2 }, [
4096
- H(m(s), (g, c) => ({
4098
+ q(m(s), (g, c) => ({
4097
4099
  name: c,
4098
4100
  fn: w((i) => [
4099
4101
  J(l.$slots, c, Tt(Ft(i || {})))
@@ -4114,7 +4116,7 @@ const qr = {
4114
4116
  }
4115
4117
  },
4116
4118
  setup(t) {
4117
- const e = ce(), n = M(), s = W(n), o = t, a = D({}), r = D(!1), l = D(!1);
4119
+ const e = ue(), n = M(), s = Q(n), o = t, a = D({}), r = D(!1), l = D(!1);
4118
4120
  async function d() {
4119
4121
  var i;
4120
4122
  return await ((i = o.operations) == null ? void 0 : i.creatable);
@@ -4144,7 +4146,7 @@ const qr = {
4144
4146
  onClick: g
4145
4147
  }, {
4146
4148
  default: w(() => [
4147
- N(" 添加 "),
4149
+ I(" 添加 "),
4148
4150
  r.value ? (u(), $($t, {
4149
4151
  key: 0,
4150
4152
  modelValue: r.value,
@@ -4175,7 +4177,7 @@ const qr = {
4175
4177
  }
4176
4178
  },
4177
4179
  setup(t) {
4178
- const e = fe(), n = ce(), s = t, o = Z([]);
4180
+ const e = fe(), n = ue(), s = t, o = Z([]);
4179
4181
  let a = "";
4180
4182
  async function r(d, g) {
4181
4183
  if (a = Be.service({ fullscreen: !0 }), d.path) {
@@ -4202,7 +4204,7 @@ const qr = {
4202
4204
  o.value = s.settings.rowActions(s.query);
4203
4205
  },
4204
4206
  { immediate: !0 }
4205
- ), (d, g) => (u(!0), S(L, null, H(o.value, (c) => (u(), S(L, null, [
4207
+ ), (d, g) => (u(!0), S(L, null, q(o.value, (c) => (u(), S(L, null, [
4206
4208
  c.isVisible(s.row, s.query, s.mode) ? (u(), S(L, { key: 0 }, [
4207
4209
  c.component ? (u(), $(K(c.component), {
4208
4210
  key: 0,
@@ -4213,7 +4215,7 @@ const qr = {
4213
4215
  onClick: (i) => r(c, s.row)
4214
4216
  }, {
4215
4217
  default: w(() => [
4216
- N(j(c.name), 1)
4218
+ I(B(c.name), 1)
4217
4219
  ]),
4218
4220
  _: 2
4219
4221
  }, 1032, ["type", "onClick"]))
@@ -4237,7 +4239,7 @@ const qr = {
4237
4239
  }
4238
4240
  },
4239
4241
  setup(t) {
4240
- const e = ce(), n = t, s = n.query, o = D({}), a = Z([]), r = I(() => {
4242
+ const e = ue(), n = t, s = n.query, o = D({}), a = Z([]), r = V(() => {
4241
4243
  var c, i;
4242
4244
  return ((i = (c = n.tableDataSelect) == null ? void 0 : c.data) == null ? void 0 : i.length) > 0;
4243
4245
  });
@@ -4271,7 +4273,7 @@ const qr = {
4271
4273
  a.value = n.settings.pageActions(n.query);
4272
4274
  },
4273
4275
  { immediate: !0 }
4274
- ), (c, i) => (u(!0), S(L, null, H(a.value, (E) => (u(), S(L, null, [
4276
+ ), (c, i) => (u(!0), S(L, null, q(a.value, (E) => (u(), S(L, null, [
4275
4277
  g(E.isVisible) ? (u(), S(L, { key: 0 }, [
4276
4278
  E.component ? (u(), $(K(E.component), {
4277
4279
  key: 0,
@@ -4287,14 +4289,14 @@ const qr = {
4287
4289
  placement: E.tooltip.placement || "top-start"
4288
4290
  }, {
4289
4291
  default: w(() => [
4290
- x(m(ee), {
4292
+ O(m(ee), {
4291
4293
  type: E.type,
4292
4294
  loading: l.value,
4293
4295
  disabled: !E.enable && !r.value,
4294
4296
  onClick: (k) => d(E)
4295
4297
  }, {
4296
4298
  default: w(() => [
4297
- N(j(E.name), 1)
4299
+ I(B(E.name), 1)
4298
4300
  ]),
4299
4301
  _: 2
4300
4302
  }, 1032, ["type", "loading", "disabled", "onClick"])
@@ -4308,7 +4310,7 @@ const qr = {
4308
4310
  onClick: (k) => d(E)
4309
4311
  }, {
4310
4312
  default: w(() => [
4311
- N(j(E.name), 1)
4313
+ I(B(E.name), 1)
4312
4314
  ]),
4313
4315
  _: 2
4314
4316
  }, 1032, ["type", "loading", "disabled", "onClick"]))
@@ -4369,7 +4371,7 @@ const qr = {
4369
4371
  });
4370
4372
  }
4371
4373
  return (E, k) => (u(), S("div", Gr, [
4372
- x(m(fs), {
4374
+ O(m(fs), {
4373
4375
  background: "",
4374
4376
  "page-size": l.value,
4375
4377
  "page-sizes": g.value,
@@ -4381,7 +4383,7 @@ const qr = {
4381
4383
  }, null, 8, ["page-size", "page-sizes", "total", "current-page"])
4382
4384
  ]));
4383
4385
  }
4384
- }, Yr = /* @__PURE__ */ B(Kr, [["__scopeId", "data-v-3c65f1a1"]]);
4386
+ }, Yr = /* @__PURE__ */ N(Kr, [["__scopeId", "data-v-3c65f1a1"]]);
4385
4387
  var nn;
4386
4388
  const Wn = typeof window < "u";
4387
4389
  Wn && ((nn = window == null ? void 0 : window.navigator) != null && nn.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
@@ -4492,63 +4494,63 @@ const fi = {
4492
4494
  os((T) => ({
4493
4495
  "0ecfde47": Xn.value
4494
4496
  }));
4495
- const e = M(), n = W(e), s = t, o = Pe(
4497
+ const e = M(), n = Q(e), s = t, o = Pe(
4496
4498
  s.settings.code,
4497
4499
  e.path,
4498
4500
  s.settings.filters,
4499
4501
  s.settings.filterHook
4500
4502
  )(), { filters: a } = ge(o), r = (Ct = s == null ? void 0 : s.hasMany) == null ? void 0 : Ct.tableName;
4501
4503
  P(a, (T) => {
4502
- h.value = T, V();
4504
+ h.value = T, j();
4503
4505
  });
4504
- const l = ce(), { created: d, updated: g, removed: c } = ge(l);
4505
- P([d, g, c], ([T, U, te]) => {
4506
- (T || U || te) && V();
4506
+ const l = ue(), { created: d, updated: g, removed: c } = ge(l);
4507
+ P([d, g, c], ([T, z, te]) => {
4508
+ (T || z || te) && j();
4507
4509
  });
4508
- const i = D(!0), E = D([]), k = D(0), _ = D({}), f = D({}), v = D(null), p = D(null), h = D({}), y = D(parseInt(e.query.pageSize) || 30), O = D(parseInt(e.query.page) || 1), C = (Dt = s.hasMany) == null ? void 0 : Dt.tableContentHeight;
4509
- function Q(T) {
4510
- let U = null;
4511
- if (T.order === "ascending" ? U = "ASC" : T.order === "descending" && (U = "DESC"), h.value.sorters) {
4510
+ const i = D(!0), E = D([]), k = D(0), _ = D({}), f = D({}), v = D(null), p = D(null), h = D({}), y = D(parseInt(e.query.pageSize) || 30), x = D(parseInt(e.query.page) || 1), A = (Dt = s.hasMany) == null ? void 0 : Dt.tableContentHeight;
4511
+ function U(T) {
4512
+ let z = null;
4513
+ if (T.order === "ascending" ? z = "ASC" : T.order === "descending" && (z = "DESC"), h.value.sorters) {
4512
4514
  let te = [];
4513
- h.value.sorters.some((ie) => ie.field === T.prop) ? h.value.sorters.forEach((ie) => {
4514
- ie.field === T.prop && (ie.order = U, ie.name || te.push(ie)), ie.name && te.push(ie);
4515
+ h.value.sorters.some((re) => re.field === T.prop) ? h.value.sorters.forEach((re) => {
4516
+ re.field === T.prop && (re.order = z, re.name || te.push(re)), re.name && te.push(re);
4515
4517
  }) : te = [
4516
4518
  ...h.value.sorters,
4517
- { field: T.prop, order: U }
4519
+ { field: T.prop, order: z }
4518
4520
  ], h.value.sorters = te;
4519
4521
  } else
4520
- h.value.sorters = [{ field: T.prop, order: U }];
4521
- V();
4522
+ h.value.sorters = [{ field: T.prop, order: z }];
4523
+ j();
4522
4524
  }
4523
- function se() {
4525
+ function ce() {
4524
4526
  f.value = s.settings.operations(n);
4525
4527
  }
4526
- function V(T) {
4528
+ function j(T) {
4527
4529
  i.value = !0;
4528
- const U = {
4530
+ const z = {
4529
4531
  ...h.value,
4530
4532
  ...n,
4531
4533
  ...s.query,
4532
- page: T == "again" ? O.value - 1 : O.value,
4534
+ page: T == "again" ? x.value - 1 : x.value,
4533
4535
  size: y.value
4534
4536
  };
4535
- s.settings.rest.getList(U).then((te) => {
4536
- _.value.data = [], E.value = te.data.rows, k.value = te.data.count, i.value = !1, k.value && E.value.length == 0 && V("again");
4537
+ s.settings.rest.getList(z).then((te) => {
4538
+ _.value.data = [], E.value = te.data.rows, k.value = te.data.count, i.value = !1, k.value && E.value.length == 0 && j("again");
4537
4539
  });
4538
4540
  }
4539
- function re(T) {
4540
- O.value = T.page, y.value = T.size, V();
4541
+ function ae(T) {
4542
+ x.value = T.page, y.value = T.size, j();
4541
4543
  }
4542
4544
  function xt(T) {
4543
- const U = { id: T.id, enable: !T.enable };
4544
- s.settings.rest.enable(U).then(() => {
4545
- V();
4545
+ const z = { id: T.id, enable: !T.enable };
4546
+ s.settings.rest.enable(z).then(() => {
4547
+ j();
4546
4548
  });
4547
4549
  }
4548
4550
  function Kn(T) {
4549
4551
  if (T.enable) {
4550
- const U = T.label === "上架" ? "下架" : "停用";
4551
- ElMessageBox.confirm(`确定要${U}该条数据吗?`, "提示", {
4552
+ const z = T.label === "上架" ? "下架" : "停用";
4553
+ ElMessageBox.confirm(`确定要${z}该条数据吗?`, "提示", {
4552
4554
  confirmButtonText: "确定",
4553
4555
  cancelButtonText: "取消",
4554
4556
  type: "warning"
@@ -4564,33 +4566,33 @@ const fi = {
4564
4566
  }
4565
4567
  const kt = D(0), At = D(0);
4566
4568
  rn(v, (T) => {
4567
- var U;
4568
- kt.value = ((U = T[0]) == null ? void 0 : U.contentRect.height) || 0;
4569
+ var z;
4570
+ kt.value = ((z = T[0]) == null ? void 0 : z.contentRect.height) || 0;
4569
4571
  }), rn(p, (T) => {
4570
- var U;
4571
- At.value = ((U = T[0]) == null ? void 0 : U.contentRect.height) || 0;
4572
+ var z;
4573
+ At.value = ((z = T[0]) == null ? void 0 : z.contentRect.height) || 0;
4572
4574
  });
4573
- const Xn = I(() => C && k.value > 0 ? `${C}px` : `calc(100% - ${kt.value + At.value}px)`);
4574
- return se(), (T, U) => (u(), S("div", {
4575
+ const Xn = V(() => A && k.value > 0 ? `${A}px` : `calc(100% - ${kt.value + At.value}px)`);
4576
+ return ce(), (T, z) => (u(), S("div", {
4575
4577
  key: s.settings.code,
4576
4578
  style: { height: "100%" }
4577
4579
  }, [
4578
- A("div", {
4580
+ C("div", {
4579
4581
  ref_key: "pageHeader",
4580
4582
  ref: v
4581
4583
  }, [
4582
- x(Sr, {
4584
+ O(Sr, {
4583
4585
  settings: s.settings,
4584
4586
  "table-name": m(r)
4585
4587
  }, {
4586
4588
  operations: w(() => [
4587
- x(Jr, {
4589
+ O(Jr, {
4588
4590
  settings: s.settings,
4589
4591
  "table-data-select": _.value,
4590
4592
  query: m(n),
4591
4593
  "filter-form": h.value
4592
4594
  }, null, 8, ["settings", "table-data-select", "query", "filter-form"]),
4593
- x(Qr, {
4595
+ O(Qr, {
4594
4596
  settings: s.settings,
4595
4597
  operations: f.value
4596
4598
  }, null, 8, ["settings", "operations"])
@@ -4604,14 +4606,14 @@ const fi = {
4604
4606
  operations: f.value,
4605
4607
  settings: s.settings,
4606
4608
  "actions-width": s.settings.actionsWidth,
4607
- onSortColumn: Q,
4609
+ onSortColumn: U,
4608
4610
  onEnableItem: Kn,
4609
4611
  onSelectChange: Yn
4610
4612
  }, De({ _: 2 }, [
4611
4613
  s.settings.rowActions(m(n)).length > 0 ? {
4612
4614
  name: "actions",
4613
4615
  fn: w(({ row: te }) => [
4614
- x(qn, {
4616
+ O(qn, {
4615
4617
  mode: "list",
4616
4618
  row: te,
4617
4619
  settings: s.settings,
@@ -4623,20 +4625,20 @@ const fi = {
4623
4625
  ]), 1032, ["data", "operations", "settings", "actions-width"])), [
4624
4626
  [m(ve), i.value]
4625
4627
  ]),
4626
- A("div", {
4628
+ C("div", {
4627
4629
  ref_key: "pagination",
4628
4630
  ref: p
4629
4631
  }, [
4630
- x(Yr, {
4631
- page: O.value,
4632
+ O(Yr, {
4633
+ page: x.value,
4632
4634
  size: y.value,
4633
4635
  total: k.value,
4634
- onPageChange: re
4636
+ onPageChange: ae
4635
4637
  }, null, 8, ["page", "size", "total"])
4636
4638
  ], 512)
4637
4639
  ]));
4638
4640
  }
4639
- }, Qn = /* @__PURE__ */ B(fi, [["__scopeId", "data-v-4a31051d"]]);
4641
+ }, Qn = /* @__PURE__ */ N(fi, [["__scopeId", "data-v-4a31051d"]]);
4640
4642
  /*! Element Plus v2.7.2 */
4641
4643
  var mi = {
4642
4644
  name: "zh-cn",
@@ -4800,7 +4802,7 @@ const hi = {
4800
4802
  }
4801
4803
  },
4802
4804
  setup(t) {
4803
- const e = t, n = I(() => e.content ? e.content.toString() : "");
4805
+ const e = t, n = V(() => e.content ? e.content.toString() : "");
4804
4806
  return (s, o) => (u(), S("div", null, [
4805
4807
  n.value.length > e.tipShowLength ? (u(), $(m(yn), {
4806
4808
  key: 0,
@@ -4808,13 +4810,13 @@ const hi = {
4808
4810
  effect: "light"
4809
4811
  }, {
4810
4812
  default: w(() => [
4811
- x(m(Bt), {
4813
+ O(m(Bt), {
4812
4814
  class: he(e.className),
4813
4815
  type: e.textType,
4814
4816
  "line-clamp": e.lineClamp
4815
4817
  }, {
4816
4818
  default: w(() => [
4817
- N(j(n.value), 1)
4819
+ I(B(n.value), 1)
4818
4820
  ]),
4819
4821
  _: 1
4820
4822
  }, 8, ["class", "type", "line-clamp"])
@@ -4826,7 +4828,7 @@ const hi = {
4826
4828
  class: he(e.className)
4827
4829
  }, {
4828
4830
  default: w(() => [
4829
- N(j(n.value), 1)
4831
+ I(B(n.value), 1)
4830
4832
  ]),
4831
4833
  _: 1
4832
4834
  }, 8, ["type", "class"]))
@@ -4843,16 +4845,16 @@ const hi = {
4843
4845
  const e = fe(), n = M(), s = St(), o = D("首页"), a = t, r = n.fullPath.split("/")[1], l = k();
4844
4846
  s.setupRootPath("首页", `/${r}/home`);
4845
4847
  function d(_) {
4846
- var y, O;
4848
+ var y, x;
4847
4849
  const f = _.meta.side, v = _.params.domain;
4848
- let p = (y = _.meta) == null ? void 0 : y.title, h = (O = _.meta) == null ? void 0 : O.code;
4850
+ let p = (y = _.meta) == null ? void 0 : y.title, h = (x = _.meta) == null ? void 0 : x.code;
4849
4851
  if (f && v) {
4850
4852
  p = wt()[f][_.params.domain].name, h = _.params.domain;
4851
- const C = _.params.id;
4852
- C && C != "detail" && (p = `${p} - ${_.params.id}`, h = `${_.params.domain}-${_.params.id}`);
4853
+ const A = _.params.id;
4854
+ A && A != "detail" && (p = `${p} - ${_.params.id}`, h = `${_.params.domain}-${_.params.id}`);
4853
4855
  } else {
4854
- const C = l.find((Q) => Q.route === _.path);
4855
- C && (p = C.title, h = C.route);
4856
+ const A = l.find((U) => U.route === _.path);
4857
+ A && (p = A.title, h = A.route);
4856
4858
  }
4857
4859
  p && h && (s.push(p, h, _.fullPath), o.value = h);
4858
4860
  }
@@ -4906,18 +4908,18 @@ const hi = {
4906
4908
  },
4907
4909
  { immediate: !0 }
4908
4910
  ), (_, f) => (u(), S("div", gi, [
4909
- A("div", null, [
4910
- A("div", yi, [
4911
- x(m(gn), {
4911
+ C("div", null, [
4912
+ C("div", yi, [
4913
+ O(m(gn), {
4912
4914
  class: "header-img",
4913
4915
  src: a.config.logo,
4914
4916
  fit: "scale-down"
4915
4917
  }, null, 8, ["src"]),
4916
- A("div", _i, j(a.config.name), 1)
4918
+ C("div", _i, B(a.config.name), 1)
4917
4919
  ])
4918
4920
  ]),
4919
- A("div", vi, [
4920
- x(m(_n), {
4921
+ C("div", vi, [
4922
+ O(m(_n), {
4921
4923
  modelValue: o.value,
4922
4924
  "onUpdate:modelValue": f[0] || (f[0] = (v) => o.value = v),
4923
4925
  type: "card",
@@ -4926,88 +4928,88 @@ const hi = {
4926
4928
  onTabRemove: c
4927
4929
  }, {
4928
4930
  default: w(() => [
4929
- (u(!0), S(L, null, H(m(s).history, (v, p) => (u(), $(m(vn), {
4931
+ (u(!0), S(L, null, q(m(s).history, (v, p) => (u(), $(m(vn), {
4930
4932
  closable: v.title != "首页",
4931
4933
  label: v.title,
4932
4934
  name: v.code
4933
4935
  }, {
4934
4936
  label: w(() => [
4935
- x(m(ot), { trigger: "contextmenu" }, {
4937
+ O(m(ot), { trigger: "contextmenu" }, {
4936
4938
  dropdown: w(() => [
4937
- x(m(at), null, {
4939
+ O(m(at), null, {
4938
4940
  default: w(() => [
4939
- i(p, "self") ? (u(), $(m(ue), {
4941
+ i(p, "self") ? (u(), $(m(le), {
4940
4942
  key: 0,
4941
4943
  onClick: (h) => E(p, "self")
4942
4944
  }, {
4943
4945
  default: w(() => [
4944
- x(m(G), null, {
4946
+ O(m(G), null, {
4945
4947
  default: w(() => [
4946
- x(m(Za))
4948
+ O(m(Za))
4947
4949
  ]),
4948
4950
  _: 1
4949
4951
  }),
4950
- N(" 关闭当前标签页 ")
4952
+ I(" 关闭当前标签页 ")
4951
4953
  ]),
4952
4954
  _: 2
4953
4955
  }, 1032, ["onClick"])) : F("", !0),
4954
- i(p, "left") ? (u(), $(m(ue), {
4956
+ i(p, "left") ? (u(), $(m(le), {
4955
4957
  key: 1,
4956
4958
  onClick: (h) => E(p, "left")
4957
4959
  }, {
4958
4960
  default: w(() => [
4959
- x(m(G), null, {
4961
+ O(m(G), null, {
4960
4962
  default: w(() => [
4961
- x(m(Xt))
4963
+ O(m(Xt))
4962
4964
  ]),
4963
4965
  _: 1
4964
4966
  }),
4965
- N(" 关闭左侧标签页 ")
4967
+ I(" 关闭左侧标签页 ")
4966
4968
  ]),
4967
4969
  _: 2
4968
4970
  }, 1032, ["onClick"])) : F("", !0),
4969
- i(p, "right") ? (u(), $(m(ue), {
4971
+ i(p, "right") ? (u(), $(m(le), {
4970
4972
  key: 2,
4971
4973
  onClick: (h) => E(p, "right")
4972
4974
  }, {
4973
4975
  default: w(() => [
4974
- x(m(G), null, {
4976
+ O(m(G), null, {
4975
4977
  default: w(() => [
4976
- x(m(nr))
4978
+ O(m(nr))
4977
4979
  ]),
4978
4980
  _: 1
4979
4981
  }),
4980
- N(" 关闭右侧标签页 ")
4982
+ I(" 关闭右侧标签页 ")
4981
4983
  ]),
4982
4984
  _: 2
4983
4985
  }, 1032, ["onClick"])) : F("", !0),
4984
- i(p, "all") ? (u(), $(m(ue), {
4986
+ i(p, "all") ? (u(), $(m(le), {
4985
4987
  key: 3,
4986
4988
  onClick: (h) => E(p, "all")
4987
4989
  }, {
4988
4990
  default: w(() => [
4989
- x(m(G), null, {
4991
+ O(m(G), null, {
4990
4992
  default: w(() => [
4991
- x(m(cr))
4993
+ O(m(cr))
4992
4994
  ]),
4993
4995
  _: 1
4994
4996
  }),
4995
- N(" 关闭全部标签页 ")
4997
+ I(" 关闭全部标签页 ")
4996
4998
  ]),
4997
4999
  _: 2
4998
5000
  }, 1032, ["onClick"])) : F("", !0),
4999
- i(p, "other") ? (u(), $(m(ue), {
5001
+ i(p, "other") ? (u(), $(m(le), {
5000
5002
  key: 4,
5001
5003
  onClick: (h) => E(p, "other")
5002
5004
  }, {
5003
5005
  default: w(() => [
5004
- x(m(G), null, {
5006
+ O(m(G), null, {
5005
5007
  default: w(() => [
5006
- x(m(pr))
5008
+ O(m(pr))
5007
5009
  ]),
5008
5010
  _: 1
5009
5011
  }),
5010
- N(" 关闭其他标签页 ")
5012
+ I(" 关闭其他标签页 ")
5011
5013
  ]),
5012
5014
  _: 2
5013
5015
  }, 1032, ["onClick"])) : F("", !0)
@@ -5016,7 +5018,7 @@ const hi = {
5016
5018
  }, 1024)
5017
5019
  ]),
5018
5020
  default: w(() => [
5019
- x(hi, {
5021
+ O(hi, {
5020
5022
  content: v.title,
5021
5023
  "line-clamp": 1,
5022
5024
  "class-name": "tab-pane-label",
@@ -5031,27 +5033,27 @@ const hi = {
5031
5033
  ]),
5032
5034
  _: 1
5033
5035
  }, 8, ["modelValue"]),
5034
- A("span", {
5036
+ C("span", {
5035
5037
  class: "back-icon",
5036
5038
  onClick: f[1] || (f[1] = (v) => m(e).back())
5037
5039
  }, [
5038
- x(m(G), null, {
5040
+ O(m(G), null, {
5039
5041
  default: w(() => [
5040
- x(m(Xt))
5042
+ O(m(Xt))
5041
5043
  ]),
5042
5044
  _: 1
5043
5045
  })
5044
5046
  ])
5045
5047
  ]),
5046
- A("div", bi, [
5048
+ C("div", bi, [
5047
5049
  J(_.$slots, "user-profile", {}, void 0, !0)
5048
5050
  ])
5049
5051
  ]));
5050
5052
  }
5051
- }, Ei = /* @__PURE__ */ B(wi, [["__scopeId", "data-v-4c5cfc79"]]), $i = (t) => (pn("data-v-22a49b3f"), t = t(), fn(), t), Si = {
5053
+ }, Ei = /* @__PURE__ */ N(wi, [["__scopeId", "data-v-4c5cfc79"]]), $i = (t) => (pn("data-v-22a49b3f"), t = t(), fn(), t), Si = {
5052
5054
  key: 2,
5053
5055
  class: "dot-wrapper"
5054
- }, Oi = /* @__PURE__ */ $i(() => /* @__PURE__ */ A("span", { class: "dot" }, null, -1)), xi = [
5056
+ }, Oi = /* @__PURE__ */ $i(() => /* @__PURE__ */ C("span", { class: "dot" }, null, -1)), xi = [
5055
5057
  Oi
5056
5058
  ], ki = {
5057
5059
  __name: "SideBarItem",
@@ -5076,14 +5078,14 @@ const hi = {
5076
5078
  _: 1
5077
5079
  })) : (u(), $(m(G), { key: 1 }, {
5078
5080
  default: w(() => [
5079
- x(m(Zt))
5081
+ O(m(Zt))
5080
5082
  ]),
5081
5083
  _: 1
5082
5084
  })),
5083
- A("span", null, j(t.data.title), 1)
5085
+ C("span", null, B(t.data.title), 1)
5084
5086
  ]),
5085
5087
  default: w(() => [
5086
- (u(!0), S(L, null, H(t.data.children, (o) => (u(), $(Jn, {
5088
+ (u(!0), S(L, null, q(t.data.children, (o) => (u(), $(Jn, {
5087
5089
  data: o,
5088
5090
  "has-parent": !0
5089
5091
  }, null, 8, ["data"]))), 256))
@@ -5103,16 +5105,16 @@ const hi = {
5103
5105
  _: 1
5104
5106
  })) : e.hasParent ? (u(), S("span", Si, xi)) : (u(), $(m(G), { key: 1 }, {
5105
5107
  default: w(() => [
5106
- x(m(Zt))
5108
+ O(m(Zt))
5107
5109
  ]),
5108
5110
  _: 1
5109
5111
  })),
5110
- A("span", null, j(t.data.title), 1)
5112
+ C("span", null, B(t.data.title), 1)
5111
5113
  ]),
5112
5114
  _: 1
5113
5115
  }, 8, ["index", "route"]));
5114
5116
  }
5115
- }, Jn = /* @__PURE__ */ B(ki, [["__scopeId", "data-v-22a49b3f"]]), Ai = {
5117
+ }, Jn = /* @__PURE__ */ N(ki, [["__scopeId", "data-v-22a49b3f"]]), Ai = {
5116
5118
  __name: "SideBar",
5117
5119
  props: {
5118
5120
  sideMenus: {
@@ -5134,13 +5136,13 @@ const hi = {
5134
5136
  { immediate: !0 }
5135
5137
  ), (l, d) => (u(), $(m(gs), null, {
5136
5138
  default: w(() => [
5137
- x(m(ys), {
5139
+ O(m(ys), {
5138
5140
  class: "menu",
5139
5141
  router: !0,
5140
5142
  "default-active": s.value
5141
5143
  }, {
5142
5144
  default: w(() => [
5143
- (u(!0), S(L, null, H(m(r), (g) => (u(), $(Jn, { data: g }, null, 8, ["data"]))), 256))
5145
+ (u(!0), S(L, null, q(m(r), (g) => (u(), $(Jn, { data: g }, null, 8, ["data"]))), 256))
5144
5146
  ]),
5145
5147
  _: 1
5146
5148
  }, 8, ["default-active"])
@@ -5148,7 +5150,7 @@ const hi = {
5148
5150
  _: 1
5149
5151
  }));
5150
5152
  }
5151
- }, Ci = /* @__PURE__ */ B(Ai, [["__scopeId", "data-v-e039032d"]]), Di = {
5153
+ }, Ci = /* @__PURE__ */ N(Ai, [["__scopeId", "data-v-e039032d"]]), Di = {
5152
5154
  __name: "BaseLayout",
5153
5155
  props: {
5154
5156
  config: {
@@ -5157,16 +5159,16 @@ const hi = {
5157
5159
  }
5158
5160
  },
5159
5161
  setup(t) {
5160
- const e = M(), n = t, s = { ...He(), ...n.config }, o = I(() => e.params.domain ? e.params.domain : e.fullPath);
5162
+ const e = M(), n = t, s = { ...He(), ...n.config }, o = V(() => e.params.domain ? e.params.domain : e.fullPath);
5161
5163
  return (a, r) => {
5162
5164
  const l = qe("router-view");
5163
5165
  return u(), $(m(_s), { locale: m(mi) }, {
5164
5166
  default: w(() => [
5165
- x(m(Nt), { style: { height: "100%" } }, {
5167
+ O(m(Nt), { style: { height: "100%" } }, {
5166
5168
  default: w(() => [
5167
- x(m(vs), { class: "page-header" }, {
5169
+ O(m(vs), { class: "page-header" }, {
5168
5170
  default: w(() => [
5169
- x(Ei, { config: s }, {
5171
+ O(Ei, { config: s }, {
5170
5172
  "user-profile": w(() => [
5171
5173
  J(a.$slots, "user-profile", {}, void 0, !0)
5172
5174
  ]),
@@ -5175,17 +5177,17 @@ const hi = {
5175
5177
  ]),
5176
5178
  _: 3
5177
5179
  }),
5178
- x(m(Nt), { class: "page-content-container" }, {
5180
+ O(m(Nt), { class: "page-content-container" }, {
5179
5181
  default: w(() => [
5180
- x(m(bs), { class: "page-content-aside" }, {
5182
+ O(m(bs), { class: "page-content-aside" }, {
5181
5183
  default: w(() => [
5182
- x(Ci, {
5184
+ O(Ci, {
5183
5185
  "side-menus": s.sideMenus
5184
5186
  }, null, 8, ["side-menus"])
5185
5187
  ]),
5186
5188
  _: 1
5187
5189
  }),
5188
- x(m(ws), { class: "page-content-main" }, {
5190
+ O(m(ws), { class: "page-content-main" }, {
5189
5191
  default: w(() => [
5190
5192
  (u(), $(l, { key: o.value }))
5191
5193
  ]),
@@ -5202,7 +5204,7 @@ const hi = {
5202
5204
  }, 8, ["locale"]);
5203
5205
  };
5204
5206
  }
5205
- }, El = /* @__PURE__ */ B(Di, [["__scopeId", "data-v-ea73195f"]]), Ri = {
5207
+ }, El = /* @__PURE__ */ N(Di, [["__scopeId", "data-v-ea73195f"]]), Ri = {
5206
5208
  key: 1,
5207
5209
  class: "loading-wrapper"
5208
5210
  }, Ti = {
@@ -5223,7 +5225,7 @@ const hi = {
5223
5225
  [m(ve), !0]
5224
5226
  ]);
5225
5227
  }
5226
- }, Fi = /* @__PURE__ */ B(Ti, [["__scopeId", "data-v-2d9c8e98"]]), Li = { key: 0 }, Pi = { class: "key" }, ji = { class: "value" }, Bi = {
5228
+ }, Fi = /* @__PURE__ */ N(Ti, [["__scopeId", "data-v-2d9c8e98"]]), Li = { key: 0 }, Pi = { class: "key" }, ji = { class: "value" }, Bi = {
5227
5229
  key: 1,
5228
5230
  class: "loading-wrapper"
5229
5231
  }, Ni = {
@@ -5238,7 +5240,7 @@ const hi = {
5238
5240
  },
5239
5241
  emits: ["done"],
5240
5242
  setup(t, { emit: e }) {
5241
- const n = e, s = t, o = M(), a = W(o), r = ce(), { updated: l } = ge(r), d = D(null), g = [
5243
+ const n = e, s = t, o = M(), a = Q(o), r = ue(), { updated: l } = ge(r), d = D(null), g = [
5242
5244
  "image",
5243
5245
  "images",
5244
5246
  "attachments",
@@ -5250,14 +5252,14 @@ const hi = {
5250
5252
  "json",
5251
5253
  "tree-select",
5252
5254
  "radio-group"
5253
- ], c = I(() => s.settings.fields.filter((v) => v.showInDetail(d.value, {
5255
+ ], c = V(() => s.settings.fields.filter((v) => v.showInDetail(d.value, {
5254
5256
  ...a,
5255
5257
  ...s.query
5256
- }))), i = I(() => c.value.find((v) => v.code === s.settings.coverField)), E = I(() => c.value.filter((v) => !g.includes(v.type) && !v.extendDetail)), k = I(() => {
5258
+ }))), i = V(() => c.value.find((v) => v.code === s.settings.coverField)), E = V(() => c.value.filter((v) => !g.includes(v.type) && !v.extendDetail)), k = V(() => {
5257
5259
  var p;
5258
5260
  const v = (p = i.value) == null ? void 0 : p.code;
5259
5261
  return c.value.filter((h) => g.includes(h.type) || h.extendDetail).filter((h) => h.code !== v);
5260
- }), _ = I({
5262
+ }), _ = V({
5261
5263
  get() {
5262
5264
  return k.value.map((v) => v.code);
5263
5265
  },
@@ -5277,7 +5279,7 @@ const hi = {
5277
5279
  { immediate: !0 }
5278
5280
  ), (v, p) => (u(), S("div", null, [
5279
5281
  d.value ? (u(), S("div", Li, [
5280
- x(m(xe), { gutter: 20 }, {
5282
+ O(m(xe), { gutter: 20 }, {
5281
5283
  default: w(() => [
5282
5284
  i.value ? (u(), $(m($e), {
5283
5285
  key: 0,
@@ -5292,22 +5294,22 @@ const hi = {
5292
5294
  ]),
5293
5295
  _: 1
5294
5296
  })) : F("", !0),
5295
- x(m($e), {
5297
+ O(m($e), {
5296
5298
  span: i.value ? 18 : 24
5297
5299
  }, {
5298
5300
  default: w(() => [
5299
- x(m(xe), { gutter: 20 }, {
5301
+ O(m(xe), { gutter: 20 }, {
5300
5302
  default: w(() => [
5301
- (u(!0), S(L, null, H(E.value, (h) => (u(), $(m($e), {
5303
+ (u(!0), S(L, null, q(E.value, (h) => (u(), $(m($e), {
5302
5304
  span: h.span,
5303
5305
  class: "mono-data",
5304
5306
  style: { "margin-bottom": "20px" }
5305
5307
  }, {
5306
5308
  default: w(() => [
5307
- A("div", Pi, j(h.label), 1),
5308
- A("div", ji, [
5309
+ C("div", Pi, B(h.label), 1),
5310
+ C("div", ji, [
5309
5311
  h.code === "id" ? (u(), S(L, { key: 0 }, [
5310
- N(j(d.value.id), 1)
5312
+ I(B(d.value.id), 1)
5311
5313
  ], 64)) : (u(), $(K(h.display), {
5312
5314
  key: 1,
5313
5315
  field: h,
@@ -5334,7 +5336,7 @@ const hi = {
5334
5336
  class: "extend-fields"
5335
5337
  }, {
5336
5338
  default: w(() => [
5337
- (u(!0), S(L, null, H(k.value, (h) => (u(), $(m($s), {
5339
+ (u(!0), S(L, null, q(k.value, (h) => (u(), $(m($s), {
5338
5340
  title: h.label,
5339
5341
  name: h.code,
5340
5342
  class: "mono-data"
@@ -5356,7 +5358,7 @@ const hi = {
5356
5358
  ])
5357
5359
  ]));
5358
5360
  }
5359
- }, Gn = /* @__PURE__ */ B(Ni, [["__scopeId", "data-v-dbcf33d5"]]), Ii = { class: "data-page-title" }, Vi = { class: "title" }, Mi = {
5361
+ }, Gn = /* @__PURE__ */ N(Ni, [["__scopeId", "data-v-dbcf33d5"]]), Ii = { class: "data-page-title" }, Vi = { class: "title" }, Mi = {
5360
5362
  __name: "DataDetailHeader",
5361
5363
  props: {
5362
5364
  data: {
@@ -5372,7 +5374,7 @@ const hi = {
5372
5374
  emits: ["get-item"],
5373
5375
  setup(t, { emit: e }) {
5374
5376
  St();
5375
- const n = M(), s = W(n), o = t, a = D("加载中..."), r = D({});
5377
+ const n = M(), s = Q(n), o = t, a = D("加载中..."), r = D({});
5376
5378
  function l(d) {
5377
5379
  const g = o.settings;
5378
5380
  if (g.displayMode.normalMode == "detail")
@@ -5389,11 +5391,11 @@ const hi = {
5389
5391
  },
5390
5392
  { immediate: !0 }
5391
5393
  ), (d, g) => (u(), S("div", Ii, [
5392
- A("div", Vi, j(a.value), 1),
5393
- A("div", null, [
5394
+ C("div", Vi, B(a.value), 1),
5395
+ C("div", null, [
5394
5396
  o.data ? (u(), $(m(pe), { key: 0 }, {
5395
5397
  default: w(() => [
5396
- x(qn, {
5398
+ O(qn, {
5397
5399
  row: o.data,
5398
5400
  settings: o.settings,
5399
5401
  query: m(s),
@@ -5412,7 +5414,7 @@ const hi = {
5412
5414
  ])
5413
5415
  ]));
5414
5416
  }
5415
- }, Ui = /* @__PURE__ */ B(Mi, [["__scopeId", "data-v-0d04eb53"]]), zi = {
5417
+ }, Ui = /* @__PURE__ */ N(Mi, [["__scopeId", "data-v-0d04eb53"]]), zi = {
5416
5418
  __name: "DetailPageTabs",
5417
5419
  props: {
5418
5420
  associations: {
@@ -5423,7 +5425,7 @@ const hi = {
5423
5425
  }
5424
5426
  },
5425
5427
  setup(t) {
5426
- const e = fe(), n = M(), s = W(n), o = t, a = D(""), r = Z(null);
5428
+ const e = fe(), n = M(), s = Q(n), o = t, a = D(""), r = Z(null);
5427
5429
  function l(g) {
5428
5430
  a.value = g.props.name, e.push({
5429
5431
  name: `${n.meta.side}-association`,
@@ -5467,14 +5469,14 @@ const hi = {
5467
5469
  ), (g, c) => {
5468
5470
  const i = qe("router-view");
5469
5471
  return u(), S(L, null, [
5470
- x(m(_n), {
5472
+ O(m(_n), {
5471
5473
  modelValue: a.value,
5472
5474
  "onUpdate:modelValue": c[0] || (c[0] = (E) => a.value = E),
5473
5475
  class: "association-tabs",
5474
5476
  onTabClick: l
5475
5477
  }, {
5476
5478
  default: w(() => [
5477
- (u(!0), S(L, null, H(o.associations, (E) => (u(), $(m(vn), {
5479
+ (u(!0), S(L, null, q(o.associations, (E) => (u(), $(m(vn), {
5478
5480
  label: E.name,
5479
5481
  name: E.domain
5480
5482
  }, null, 8, ["label", "name"]))), 256))
@@ -5488,7 +5490,7 @@ const hi = {
5488
5490
  ], 64);
5489
5491
  };
5490
5492
  }
5491
- }, Hi = /* @__PURE__ */ B(zi, [["__scopeId", "data-v-0dc49aad"]]), qi = {
5493
+ }, Hi = /* @__PURE__ */ N(zi, [["__scopeId", "data-v-0dc49aad"]]), qi = {
5492
5494
  __name: "DetailPageList",
5493
5495
  props: {
5494
5496
  associations: {
@@ -5499,7 +5501,7 @@ const hi = {
5499
5501
  }
5500
5502
  },
5501
5503
  setup(t) {
5502
- return (e, n) => (u(!0), S(L, null, H(t.associations, (s) => (u(), S("div", null, [
5504
+ return (e, n) => (u(!0), S(L, null, q(t.associations, (s) => (u(), S("div", null, [
5503
5505
  s.type == "has-many" ? (u(), $(Fi, {
5504
5506
  key: 0,
5505
5507
  domain: s.domain
@@ -5522,19 +5524,19 @@ const hi = {
5522
5524
  },
5523
5525
  setup(t) {
5524
5526
  fe();
5525
- const e = M(), n = W(e), s = t, o = D(null);
5527
+ const e = M(), n = Q(e), s = t, o = D(null);
5526
5528
  function a(r) {
5527
5529
  o.value = r;
5528
5530
  }
5529
5531
  return (r, l) => (u(), S("div", {
5530
5532
  key: `${m(e).params.domain}-${m(e).params.id}`
5531
5533
  }, [
5532
- x(Ui, {
5534
+ O(Ui, {
5533
5535
  data: o.value,
5534
5536
  settings: s.settings,
5535
5537
  query: { ...m(e).params, ...m(n) }
5536
5538
  }, null, 8, ["data", "settings", "query"]),
5537
- x(Gn, {
5539
+ O(Gn, {
5538
5540
  query: { ...m(e).params, ...m(n) },
5539
5541
  settings: s.settings,
5540
5542
  onDone: a
@@ -5550,7 +5552,7 @@ const hi = {
5550
5552
  }, null, 8, ["associations", "domain-data"]))
5551
5553
  ]));
5552
5554
  }
5553
- }, Qi = /* @__PURE__ */ B(Wi, [["__scopeId", "data-v-6e5c2d0f"]]), Ji = {
5555
+ }, Qi = /* @__PURE__ */ N(Wi, [["__scopeId", "data-v-6e5c2d0f"]]), Ji = {
5554
5556
  key: 1,
5555
5557
  class: "loading-wrapper"
5556
5558
  }, Gi = {
@@ -5561,7 +5563,7 @@ const hi = {
5561
5563
  }
5562
5564
  },
5563
5565
  setup(t) {
5564
- const e = t, n = M(), s = W(n), o = n.meta.side, a = e.domain || n.params.domain, r = Z(null), l = Z([]);
5566
+ const e = t, n = M(), s = Q(n), o = n.meta.side, a = e.domain || n.params.domain, r = Z(null), l = Z([]);
5565
5567
  Et(o, a).then((g) => {
5566
5568
  const c = g, i = d("has-many", c.hasMany(s)), E = d("has-one", c.hasOne(s));
5567
5569
  r.value = c, l.value = E.concat(i);
@@ -5589,7 +5591,7 @@ const hi = {
5589
5591
  [m(ve), !0]
5590
5592
  ]);
5591
5593
  }
5592
- }, Ki = /* @__PURE__ */ B(Gi, [["__scopeId", "data-v-ecd5a448"]]), Yi = { key: 0 }, Xi = {
5594
+ }, Ki = /* @__PURE__ */ N(Gi, [["__scopeId", "data-v-ecd5a448"]]), Yi = { key: 0 }, Xi = {
5593
5595
  key: 1,
5594
5596
  class: "loading-wrapper"
5595
5597
  }, Zi = {
@@ -5600,7 +5602,7 @@ const hi = {
5600
5602
  }
5601
5603
  },
5602
5604
  setup(t) {
5603
- const e = M(), n = e.meta.side, s = W(e), o = t, a = Z(null);
5605
+ const e = M(), n = e.meta.side, s = Q(e), o = t, a = Z(null);
5604
5606
  return P(
5605
5607
  () => e.params.association,
5606
5608
  () => {
@@ -5625,7 +5627,7 @@ const hi = {
5625
5627
  [m(ve), !0]
5626
5628
  ]);
5627
5629
  }
5628
- }, $l = /* @__PURE__ */ B(Zi, [["__scopeId", "data-v-79eac380"]]);
5630
+ }, $l = /* @__PURE__ */ N(Zi, [["__scopeId", "data-v-79eac380"]]);
5629
5631
  export {
5630
5632
  cl as A,
5631
5633
  ea as B,
@@ -5637,12 +5639,12 @@ export {
5637
5639
  El as H,
5638
5640
  Ki as I,
5639
5641
  $l as J,
5640
- ce as K,
5642
+ ue as K,
5641
5643
  Fi as L,
5642
5644
  St as M,
5643
5645
  fa as S,
5644
5646
  ia as W,
5645
- B as _,
5647
+ N as _,
5646
5648
  gl as a,
5647
5649
  zn as b,
5648
5650
  ta as c,
@@ -5653,7 +5655,7 @@ export {
5653
5655
  pl as h,
5654
5656
  He as i,
5655
5657
  Za as j,
5656
- z as k,
5658
+ H as k,
5657
5659
  yl as l,
5658
5660
  ml as m,
5659
5661
  qo as n,
@@ -5661,7 +5663,7 @@ export {
5661
5663
  _l as p,
5662
5664
  vl as q,
5663
5665
  ol as r,
5664
- W as s,
5666
+ Q as s,
5665
5667
  ne as t,
5666
5668
  sa as u,
5667
5669
  wl as v,
@@ -5670,4 +5672,4 @@ export {
5670
5672
  il as y,
5671
5673
  ul as z
5672
5674
  };
5673
- //# sourceMappingURL=index-B0NugZvo.js.map
5675
+ //# sourceMappingURL=index-CHQzeeWp.js.map