kouxiangtang 0.1.12 → 0.1.13

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 (55) hide show
  1. package/dist/{AttachmentUploader-DF0rRjwL.js → AttachmentUploader-8IaI6ynz.js} +2 -2
  2. package/dist/{AttachmentUploader-DF0rRjwL.js.map → AttachmentUploader-8IaI6ynz.js.map} +1 -1
  3. package/dist/{ImageUploader-B65n9d0u.js → ImageUploader-DTvZQ3FY.js} +2 -2
  4. package/dist/{ImageUploader-B65n9d0u.js.map → ImageUploader-DTvZQ3FY.js.map} +1 -1
  5. package/dist/{ImagesUploader-pIcqghBT.js → ImagesUploader-C_lRUsOq.js} +2 -2
  6. package/dist/{ImagesUploader-pIcqghBT.js.map → ImagesUploader-C_lRUsOq.js.map} +1 -1
  7. package/dist/{RichTextEditor-B1HNaP04.js → RichTextEditor-DWecmNsQ.js} +2 -2
  8. package/dist/{RichTextEditor-B1HNaP04.js.map → RichTextEditor-DWecmNsQ.js.map} +1 -1
  9. package/dist/{config-Bof6vDrm.js → config-BHkdHfrB.js} +2 -2
  10. package/dist/{config-Bof6vDrm.js.map → config-BHkdHfrB.js.map} +1 -1
  11. package/dist/{config-B0dGohF4.js → config-BU2sr1IC.js} +2 -2
  12. package/dist/{config-B0dGohF4.js.map → config-BU2sr1IC.js.map} +1 -1
  13. package/dist/{config-B9AR7_XZ.js → config-BVPYOETn.js} +3 -3
  14. package/dist/{config-B9AR7_XZ.js.map → config-BVPYOETn.js.map} +1 -1
  15. package/dist/{config-BfiQ2EtN.js → config-BsUoj1r1.js} +2 -2
  16. package/dist/{config-BfiQ2EtN.js.map → config-BsUoj1r1.js.map} +1 -1
  17. package/dist/{config-CDOMfBws.js → config-CLkMDLs5.js} +2 -2
  18. package/dist/{config-CDOMfBws.js.map → config-CLkMDLs5.js.map} +1 -1
  19. package/dist/{config-B05DZTLj.js → config-CiRKf9gO.js} +2 -2
  20. package/dist/{config-B05DZTLj.js.map → config-CiRKf9gO.js.map} +1 -1
  21. package/dist/{config-BWwjYeos.js → config-Cn0z8LnF.js} +2 -2
  22. package/dist/{config-BWwjYeos.js.map → config-Cn0z8LnF.js.map} +1 -1
  23. package/dist/{config-B5tR4mMS.js → config-Cn5jQKRY.js} +2 -2
  24. package/dist/{config-B5tR4mMS.js.map → config-Cn5jQKRY.js.map} +1 -1
  25. package/dist/{config-DNj3E5fs.js → config-CvKmCDBm.js} +2 -2
  26. package/dist/{config-DNj3E5fs.js.map → config-CvKmCDBm.js.map} +1 -1
  27. package/dist/{config-FAAysqT0.js → config-CwI1EbsY.js} +3 -3
  28. package/dist/{config-FAAysqT0.js.map → config-CwI1EbsY.js.map} +1 -1
  29. package/dist/{config-BQezQR8O.js → config-D19luHMm.js} +2 -2
  30. package/dist/{config-BQezQR8O.js.map → config-D19luHMm.js.map} +1 -1
  31. package/dist/{config-B-qtbK6C.js → config-D7tKOIT2.js} +2 -2
  32. package/dist/{config-B-qtbK6C.js.map → config-D7tKOIT2.js.map} +1 -1
  33. package/dist/{config-C60_BG4J.js → config-DEhHnk2B.js} +2 -2
  34. package/dist/{config-C60_BG4J.js.map → config-DEhHnk2B.js.map} +1 -1
  35. package/dist/{config-DaOh44Dn.js → config-DH736Dzq.js} +2 -2
  36. package/dist/{config-DaOh44Dn.js.map → config-DH736Dzq.js.map} +1 -1
  37. package/dist/{config-CisEzPUE.js → config-DL2jlaxo.js} +3 -3
  38. package/dist/{config-CisEzPUE.js.map → config-DL2jlaxo.js.map} +1 -1
  39. package/dist/{config-BzbjlylP.js → config-HXvD5W1L.js} +2 -2
  40. package/dist/{config-BzbjlylP.js.map → config-HXvD5W1L.js.map} +1 -1
  41. package/dist/{config-B5djJj4e.js → config-JRtmWsWg.js} +2 -2
  42. package/dist/{config-B5djJj4e.js.map → config-JRtmWsWg.js.map} +1 -1
  43. package/dist/{config-N9cJjS0E.js → config-QhV-mcAJ.js} +2 -2
  44. package/dist/{config-N9cJjS0E.js.map → config-QhV-mcAJ.js.map} +1 -1
  45. package/dist/{config-BwZlqfGW.js → config-hx_TBfIr.js} +2 -2
  46. package/dist/{config-BwZlqfGW.js.map → config-hx_TBfIr.js.map} +1 -1
  47. package/dist/{config-BU6_QFc-.js → config-mjFfM12K.js} +2 -2
  48. package/dist/{config-BU6_QFc-.js.map → config-mjFfM12K.js.map} +1 -1
  49. package/dist/{index-C2om7eEz.js → index-BGG4xNjJ.js} +565 -552
  50. package/dist/{index-C2om7eEz.js.map → index-BGG4xNjJ.js.map} +1 -1
  51. package/dist/kouxiangtang.js +1 -1
  52. package/dist/kouxiangtang.umd.cjs +9 -9
  53. package/dist/kouxiangtang.umd.cjs.map +1 -1
  54. package/dist/style.css +1 -1
  55. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { openBlock as u, createBlock as $, unref as f, createSlots as Se, withCtx as b, renderSlot as Y, createElementVNode as C, toDisplayString as B, resolveComponent as Qe, withDirectives as _e, createElementBlock as x, normalizeStyle as Ve, createVNode as O, createTextVNode as M, defineComponent as N, computed as I, Fragment as P, renderList as H, ref as A, reactive as Ce, watch as j, resolveDynamicComponent as G, createCommentVNode as T, shallowRef as te, defineAsyncComponent as ts, normalizeClass as we, withModifiers as Lt, useSlots as Re, onMounted as pn, watchEffect as vt, pushScopeId as fn, popScopeId as mn, normalizeProps as Bt, guardReactiveProps as jt, getCurrentScope as ns, onScopeDispose as ss, getCurrentInstance as os, nextTick as as, useCssVars as rs, Transition as is } from "vue";
2
- import { ElCard as bt, ElLink as ls, vLoading as ye, ElRow as me, ElCol as pe, ElForm as hn, ElFormItem as rt, ElAlert as us, ElButton as ne, ElMessageBox as cs, ElMessage as De, ElDialog as ds, ElLoading as Me, ElInputNumber as Vt, ElSelect as Mt, ElOption as Xe, ElSelectV2 as ps, ElTreeSelect as fs, ElDatePicker as Ze, ElInput as ms, ElButtonGroup as he, ElDropdown as it, ElDropdownMenu as lt, ElDropdownItem as de, ElIcon as K, ElEmpty as hs, ElImage as gn, ElTable as gs, ElTableColumn as je, ElTooltip as _n, ElPagination as _s, ElText as ut, ElTabs as yn, ElTabPane as vn, ElSubMenu as ys, ElMenuItem as vs, ElScrollbar as bs, ElMenu as ws, ElConfigProvider as Es, ElContainer as It, ElHeader as $s, ElAside as Ss, ElMain as xs, ElCollapse as bn, ElCollapseItem as wn } from "element-plus";
3
- import { useRoute as z, useRouter as ve } from "vue-router";
1
+ import { openBlock as u, createBlock as $, unref as f, createSlots as Se, withCtx as b, renderSlot as Y, createElementVNode as C, toDisplayString as P, resolveComponent as Qe, withDirectives as ye, createElementBlock as x, normalizeStyle as Ve, createVNode as O, createTextVNode as M, defineComponent as N, computed as I, Fragment as L, renderList as H, ref as A, reactive as Ce, watch as j, resolveDynamicComponent as G, createCommentVNode as T, shallowRef as te, defineAsyncComponent as ts, normalizeClass as me, withModifiers as Lt, useSlots as Re, onMounted as pn, watchEffect as vt, pushScopeId as fn, popScopeId as mn, normalizeProps as Bt, guardReactiveProps as jt, getCurrentScope as ns, onScopeDispose as ss, getCurrentInstance as os, nextTick as as, useCssVars as rs, Transition as is } from "vue";
2
+ import { ElCard as bt, ElLink as ls, vLoading as ve, ElRow as he, ElCol as pe, ElForm as hn, ElFormItem as rt, ElAlert as us, ElButton as ne, ElMessageBox as cs, ElMessage as De, ElDialog as ds, ElLoading as Me, ElInputNumber as Vt, ElSelect as Mt, ElOption as Xe, ElSelectV2 as ps, ElTreeSelect as fs, ElDatePicker as Ze, ElInput as ms, ElButtonGroup as _e, ElDropdown as it, ElDropdownMenu as lt, ElDropdownItem as de, ElIcon as K, ElEmpty as hs, ElImage as _n, ElTable as _s, ElTableColumn as je, ElTooltip as gn, ElPagination as gs, ElText as ut, ElTabs as yn, ElTabPane as vn, ElSubMenu as ys, ElMenuItem as vs, ElScrollbar as bs, ElMenu as ws, ElConfigProvider as Es, ElContainer as It, ElHeader as $s, ElAside as Ss, ElMain as xs, ElCollapse as bn, ElCollapseItem as wn } from "element-plus";
3
+ import { useRoute as z, useRouter as be } from "vue-router";
4
4
  import { defineStore as wt, storeToRefs as ge } from "pinia";
5
5
  function En(t, e) {
6
6
  return function() {
@@ -302,27 +302,27 @@ function Ke(t, e, n) {
302
302
  metaTokens: !0,
303
303
  dots: !1,
304
304
  indexes: !1
305
- }, !1, function(h, _) {
306
- return !w.isUndefined(_[h]);
305
+ }, !1, function(h, g) {
306
+ return !w.isUndefined(g[h]);
307
307
  });
308
308
  const s = n.metaTokens, o = n.visitor || c, r = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && w.isSpecCompliantForm(e);
309
309
  if (!w.isFunction(o))
310
310
  throw new TypeError("visitor must be a function");
311
- function m(g) {
312
- if (g === null)
311
+ function m(_) {
312
+ if (_ === null)
313
313
  return "";
314
- if (w.isDate(g))
315
- return g.toISOString();
316
- if (!d && w.isBlob(g))
314
+ if (w.isDate(_))
315
+ return _.toISOString();
316
+ if (!d && w.isBlob(_))
317
317
  throw new R("Blob is not supported. Use a Buffer instead.");
318
- return w.isArrayBuffer(g) || w.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
318
+ return w.isArrayBuffer(_) || w.isTypedArray(_) ? d && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
319
319
  }
320
- function c(g, h, _) {
321
- let E = g;
322
- if (g && !_ && typeof g == "object") {
320
+ function c(_, h, g) {
321
+ let E = _;
322
+ if (_ && !g && typeof _ == "object") {
323
323
  if (w.endsWith(h, "{}"))
324
- h = s ? h : h.slice(0, -2), g = JSON.stringify(g);
325
- else if (w.isArray(g) && io(g) || (w.isFileList(g) || w.endsWith(h, "[]")) && (E = w.toArray(g)))
324
+ h = s ? h : h.slice(0, -2), _ = JSON.stringify(_);
325
+ else if (w.isArray(_) && io(_) || (w.isFileList(_) || w.endsWith(h, "[]")) && (E = w.toArray(_)))
326
326
  return h = Rn(h), E.forEach(function(S, y) {
327
327
  !(w.isUndefined(S) || S === null) && e.append(
328
328
  // eslint-disable-next-line no-nested-ternary
@@ -331,18 +331,18 @@ function Ke(t, e, n) {
331
331
  );
332
332
  }), !1;
333
333
  }
334
- return dt(g) ? !0 : (e.append(Ut(_, h, r), m(g)), !1);
334
+ return dt(_) ? !0 : (e.append(Ut(g, h, r), m(_)), !1);
335
335
  }
336
336
  const l = [], v = Object.assign(lo, {
337
337
  defaultVisitor: c,
338
338
  convertValue: m,
339
339
  isVisitable: dt
340
340
  });
341
- function k(g, h) {
342
- if (!w.isUndefined(g)) {
343
- if (l.indexOf(g) !== -1)
341
+ function k(_, h) {
342
+ if (!w.isUndefined(_)) {
343
+ if (l.indexOf(_) !== -1)
344
344
  throw Error("Circular reference detected in " + h.join("."));
345
- l.push(g), w.forEach(g, function(E, p) {
345
+ l.push(_), w.forEach(_, function(E, p) {
346
346
  (!(w.isUndefined(E) || E === null) && o.call(
347
347
  e,
348
348
  E,
@@ -466,14 +466,14 @@ const Ln = {
466
466
  Blob: fo
467
467
  },
468
468
  protocols: ["http", "https", "file", "blob", "url", "data"]
469
- }, Bn = typeof window < "u" && typeof document < "u", ho = ((t) => Bn && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), go = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
470
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
469
+ }, Bn = typeof window < "u" && typeof document < "u", ho = ((t) => Bn && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), _o = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
470
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
471
471
  __proto__: null,
472
472
  hasBrowserEnv: Bn,
473
473
  hasStandardBrowserEnv: ho,
474
- hasStandardBrowserWebWorkerEnv: go
474
+ hasStandardBrowserWebWorkerEnv: _o
475
475
  }, Symbol.toStringTag, { value: "Module" })), ae = {
476
- ..._o,
476
+ ...go,
477
477
  ...mo
478
478
  };
479
479
  function yo(t, e) {
@@ -917,14 +917,14 @@ const Lo = typeof XMLHttpRequest < "u", Bo = Lo && function(t) {
917
917
  if (ae.hasStandardBrowserEnv || ae.hasStandardBrowserWebWorkerEnv)
918
918
  r.setContentType(!1);
919
919
  else if ((c = r.getContentType()) !== !1) {
920
- const [h, ..._] = c ? c.split(";").map((E) => E.trim()).filter(Boolean) : [];
921
- r.setContentType([h || "multipart/form-data", ..._].join("; "));
920
+ const [h, ...g] = c ? c.split(";").map((E) => E.trim()).filter(Boolean) : [];
921
+ r.setContentType([h || "multipart/form-data", ...g].join("; "));
922
922
  }
923
923
  }
924
924
  let l = new XMLHttpRequest();
925
925
  if (t.auth) {
926
- const h = t.auth.username || "", _ = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
927
- r.set("Authorization", "Basic " + btoa(h + ":" + _));
926
+ const h = t.auth.username || "", g = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
927
+ r.set("Authorization", "Basic " + btoa(h + ":" + g));
928
928
  }
929
929
  const v = Mn(t.baseURL, t.url);
930
930
  l.open(t.method.toUpperCase(), Pn(v, t.params, t.paramsSerializer), !0), l.timeout = t.timeout;
@@ -954,10 +954,10 @@ const Lo = typeof XMLHttpRequest < "u", Bo = Lo && function(t) {
954
954
  }, l.onerror = function() {
955
955
  s(new R("Network Error", R.ERR_NETWORK, t, l)), l = null;
956
956
  }, l.ontimeout = function() {
957
- let _ = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
957
+ let g = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
958
958
  const E = t.transitional || Ln;
959
- t.timeoutErrorMessage && (_ = t.timeoutErrorMessage), s(new R(
960
- _,
959
+ t.timeoutErrorMessage && (g = t.timeoutErrorMessage), s(new R(
960
+ g,
961
961
  E.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
962
962
  t,
963
963
  l
@@ -966,14 +966,14 @@ const Lo = typeof XMLHttpRequest < "u", Bo = Lo && function(t) {
966
966
  const h = t.xsrfHeaderName && t.xsrfCookieName && Co.read(t.xsrfCookieName);
967
967
  h && r.set(t.xsrfHeaderName, h);
968
968
  }
969
- o === void 0 && r.setContentType(null), "setRequestHeader" in l && w.forEach(r.toJSON(), function(_, E) {
970
- l.setRequestHeader(E, _);
969
+ o === void 0 && r.setContentType(null), "setRequestHeader" in l && w.forEach(r.toJSON(), function(g, E) {
970
+ l.setRequestHeader(E, g);
971
971
  }), w.isUndefined(t.withCredentials) || (l.withCredentials = !!t.withCredentials), a && a !== "json" && (l.responseType = t.responseType), typeof t.onDownloadProgress == "function" && l.addEventListener("progress", Qt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Qt(t.onUploadProgress)), (t.cancelToken || t.signal) && (d = (h) => {
972
972
  l && (s(!h || h.type ? new Le(null, t, l) : h), l.abort(), l = null);
973
973
  }, t.cancelToken && t.cancelToken.subscribe(d), t.signal && (t.signal.aborted ? d() : t.signal.addEventListener("abort", d)));
974
- const g = To(v);
975
- if (g && ae.protocols.indexOf(g) === -1) {
976
- s(new R("Unsupported protocol " + g + ":", R.ERR_BAD_REQUEST, t));
974
+ const _ = To(v);
975
+ if (_ && ae.protocols.indexOf(_) === -1) {
976
+ s(new R("Unsupported protocol " + _ + ":", R.ERR_BAD_REQUEST, t));
977
977
  return;
978
978
  }
979
979
  l.send(o || null);
@@ -1205,8 +1205,8 @@ class fe {
1205
1205
  );
1206
1206
  r && w.forEach(
1207
1207
  ["delete", "get", "head", "post", "put", "patch", "common"],
1208
- (g) => {
1209
- delete r[g];
1208
+ (_) => {
1209
+ delete r[_];
1210
1210
  }
1211
1211
  ), n.headers = ee.concat(a, r);
1212
1212
  const i = [];
@@ -1220,26 +1220,26 @@ class fe {
1220
1220
  });
1221
1221
  let c, l = 0, v;
1222
1222
  if (!d) {
1223
- const g = [Gt.bind(this), void 0];
1224
- for (g.unshift.apply(g, i), g.push.apply(g, m), v = g.length, c = Promise.resolve(n); l < v; )
1225
- c = c.then(g[l++], g[l++]);
1223
+ const _ = [Gt.bind(this), void 0];
1224
+ for (_.unshift.apply(_, i), _.push.apply(_, m), v = _.length, c = Promise.resolve(n); l < v; )
1225
+ c = c.then(_[l++], _[l++]);
1226
1226
  return c;
1227
1227
  }
1228
1228
  v = i.length;
1229
1229
  let k = n;
1230
1230
  for (l = 0; l < v; ) {
1231
- const g = i[l++], h = i[l++];
1231
+ const _ = i[l++], h = i[l++];
1232
1232
  try {
1233
- k = g(k);
1234
- } catch (_) {
1235
- h.call(this, _);
1233
+ k = _(k);
1234
+ } catch (g) {
1235
+ h.call(this, g);
1236
1236
  break;
1237
1237
  }
1238
1238
  }
1239
1239
  try {
1240
1240
  c = Gt.call(this, k);
1241
- } catch (g) {
1242
- return Promise.reject(g);
1241
+ } catch (_) {
1242
+ return Promise.reject(_);
1243
1243
  }
1244
1244
  for (l = 0, v = m.length; l < v; )
1245
1245
  c = c.then(m[l++], m[l++]);
@@ -1522,74 +1522,74 @@ var Un = { exports: {} };
1522
1522
  function i(h) {
1523
1523
  return typeof h == "string" ? new RegExp("^" + h + "$", "i") : h;
1524
1524
  }
1525
- function d(h, _) {
1526
- return h === _ ? _ : h === h.toLowerCase() ? _.toLowerCase() : h === h.toUpperCase() ? _.toUpperCase() : h[0] === h[0].toUpperCase() ? _.charAt(0).toUpperCase() + _.substr(1).toLowerCase() : _.toLowerCase();
1525
+ function d(h, g) {
1526
+ return h === g ? g : h === h.toLowerCase() ? g.toLowerCase() : h === h.toUpperCase() ? g.toUpperCase() : h[0] === h[0].toUpperCase() ? g.charAt(0).toUpperCase() + g.substr(1).toLowerCase() : g.toLowerCase();
1527
1527
  }
1528
- function m(h, _) {
1528
+ function m(h, g) {
1529
1529
  return h.replace(/\$(\d{1,2})/g, function(E, p) {
1530
- return _[p] || "";
1530
+ return g[p] || "";
1531
1531
  });
1532
1532
  }
1533
- function c(h, _) {
1534
- return h.replace(_[0], function(E, p) {
1535
- var S = m(_[1], arguments);
1533
+ function c(h, g) {
1534
+ return h.replace(g[0], function(E, p) {
1535
+ var S = m(g[1], arguments);
1536
1536
  return d(E === "" ? h[p - 1] : E, S);
1537
1537
  });
1538
1538
  }
1539
- function l(h, _, E) {
1539
+ function l(h, g, E) {
1540
1540
  if (!h.length || o.hasOwnProperty(h))
1541
- return _;
1541
+ return g;
1542
1542
  for (var p = E.length; p--; ) {
1543
1543
  var S = E[p];
1544
- if (S[0].test(_))
1545
- return c(_, S);
1544
+ if (S[0].test(g))
1545
+ return c(g, S);
1546
1546
  }
1547
- return _;
1547
+ return g;
1548
1548
  }
1549
- function v(h, _, E) {
1549
+ function v(h, g, E) {
1550
1550
  return function(p) {
1551
1551
  var S = p.toLowerCase();
1552
- return _.hasOwnProperty(S) ? d(p, S) : h.hasOwnProperty(S) ? d(p, h[S]) : l(S, p, E);
1552
+ return g.hasOwnProperty(S) ? d(p, S) : h.hasOwnProperty(S) ? d(p, h[S]) : l(S, p, E);
1553
1553
  };
1554
1554
  }
1555
- function k(h, _, E, p) {
1555
+ function k(h, g, E, p) {
1556
1556
  return function(S) {
1557
1557
  var y = S.toLowerCase();
1558
- return _.hasOwnProperty(y) ? !0 : h.hasOwnProperty(y) ? !1 : l(y, y, E) === y;
1558
+ return g.hasOwnProperty(y) ? !0 : h.hasOwnProperty(y) ? !1 : l(y, y, E) === y;
1559
1559
  };
1560
1560
  }
1561
- function g(h, _, E) {
1562
- var p = _ === 1 ? g.singular(h) : g.plural(h);
1563
- return (E ? _ + " " : "") + p;
1561
+ function _(h, g, E) {
1562
+ var p = g === 1 ? _.singular(h) : _.plural(h);
1563
+ return (E ? g + " " : "") + p;
1564
1564
  }
1565
- return g.plural = v(
1565
+ return _.plural = v(
1566
1566
  a,
1567
1567
  r,
1568
1568
  n
1569
- ), g.isPlural = k(
1569
+ ), _.isPlural = k(
1570
1570
  a,
1571
1571
  r,
1572
1572
  n
1573
- ), g.singular = v(
1573
+ ), _.singular = v(
1574
1574
  r,
1575
1575
  a,
1576
1576
  s
1577
- ), g.isSingular = k(
1577
+ ), _.isSingular = k(
1578
1578
  r,
1579
1579
  a,
1580
1580
  s
1581
- ), g.addPluralRule = function(h, _) {
1582
- n.push([i(h), _]);
1583
- }, g.addSingularRule = function(h, _) {
1584
- s.push([i(h), _]);
1585
- }, g.addUncountableRule = function(h) {
1581
+ ), _.addPluralRule = function(h, g) {
1582
+ n.push([i(h), g]);
1583
+ }, _.addSingularRule = function(h, g) {
1584
+ s.push([i(h), g]);
1585
+ }, _.addUncountableRule = function(h) {
1586
1586
  if (typeof h == "string") {
1587
1587
  o[h.toLowerCase()] = !0;
1588
1588
  return;
1589
1589
  }
1590
- g.addPluralRule(h, "$0"), g.addSingularRule(h, "$0");
1591
- }, g.addIrregularRule = function(h, _) {
1592
- _ = _.toLowerCase(), h = h.toLowerCase(), a[h] = _, r[_] = h;
1590
+ _.addPluralRule(h, "$0"), _.addSingularRule(h, "$0");
1591
+ }, _.addIrregularRule = function(h, g) {
1592
+ g = g.toLowerCase(), h = h.toLowerCase(), a[h] = g, r[g] = h;
1593
1593
  }, [
1594
1594
  // Pronouns.
1595
1595
  ["I", "we"],
@@ -1644,7 +1644,7 @@ var Un = { exports: {} };
1644
1644
  ["pickaxe", "pickaxes"],
1645
1645
  ["passerby", "passersby"]
1646
1646
  ].forEach(function(h) {
1647
- return g.addIrregularRule(h[0], h[1]);
1647
+ return _.addIrregularRule(h[0], h[1]);
1648
1648
  }), [
1649
1649
  [/s?$/i, "s"],
1650
1650
  [/[^\u0000-\u007F]$/i, "$0"],
@@ -1672,7 +1672,7 @@ var Un = { exports: {} };
1672
1672
  [/m[ae]n$/i, "men"],
1673
1673
  ["thou", "you"]
1674
1674
  ].forEach(function(h) {
1675
- return g.addPluralRule(h[0], h[1]);
1675
+ return _.addPluralRule(h[0], h[1]);
1676
1676
  }), [
1677
1677
  [/s$/i, ""],
1678
1678
  [/(ss)$/i, "$1"],
@@ -1698,7 +1698,7 @@ var Un = { exports: {} };
1698
1698
  [/(eau)x?$/i, "$1"],
1699
1699
  [/men$/i, "man"]
1700
1700
  ].forEach(function(h) {
1701
- return g.addSingularRule(h[0], h[1]);
1701
+ return _.addSingularRule(h[0], h[1]);
1702
1702
  }), [
1703
1703
  // Singular words with no plurals.
1704
1704
  "adulthood",
@@ -1809,11 +1809,11 @@ var Un = { exports: {} };
1809
1809
  /pox$/i,
1810
1810
  // "chickpox", "smallpox"
1811
1811
  /sheep$/i
1812
- ].forEach(g.addUncountableRule), g;
1812
+ ].forEach(_.addUncountableRule), _;
1813
1813
  });
1814
1814
  })(Un);
1815
1815
  var Yo = Un.exports;
1816
- const Hn = /* @__PURE__ */ Jo(Yo), qn = (t) => t.replace(/([-_][a-z])/gi, (e) => e.toUpperCase().replace("-", "").replace("_", "")), ze = "GET_LIST", Ue = "GET_ONE", He = "CREATE", qe = "UPDATE", be = "REMOVE", ht = "RESTORE", Wn = "ENABLE", Ko = [ze, Ue, He, qe, be, Wn];
1816
+ const Hn = /* @__PURE__ */ Jo(Yo), qn = (t) => t.replace(/([-_][a-z])/gi, (e) => e.toUpperCase().replace("-", "").replace("_", "")), ze = "GET_LIST", Ue = "GET_ONE", He = "CREATE", qe = "UPDATE", we = "REMOVE", ht = "RESTORE", Wn = "ENABLE", Ko = [ze, Ue, He, qe, we, Wn];
1817
1817
  class Xo {
1818
1818
  constructor(e, n, s = Ko) {
1819
1819
  this.side = e == "platform" ? "admin" : e, this.domain = n, this.resources = Hn(n), this.operations = s, this.operations.forEach((o) => {
@@ -1850,8 +1850,8 @@ class Xo {
1850
1850
  return oe.put(`${this.side}/${this.resources}/${e.id}`, e);
1851
1851
  }
1852
1852
  _remove(e) {
1853
- if (!this.operations.includes(be)) {
1854
- console.log(`${this.side}/${this.domain} 不支持 ${be} 操作`);
1853
+ if (!this.operations.includes(we)) {
1854
+ console.log(`${this.side}/${this.domain} 不支持 ${we} 操作`);
1855
1855
  return;
1856
1856
  }
1857
1857
  return oe.remove(`${this.side}/${this.resources}/${e.id}`, e);
@@ -1864,8 +1864,8 @@ class Xo {
1864
1864
  return oe.put(`${this.side}/${this.resources}/${e.id}/restore`, e);
1865
1865
  }
1866
1866
  _enable(e) {
1867
- if (!this.operations.includes(be)) {
1868
- console.log(`${this.side}/${this.domain} 不支持 ${be} 操作`);
1867
+ if (!this.operations.includes(we)) {
1868
+ console.log(`${this.side}/${this.domain} 不支持 ${we} 操作`);
1869
1869
  return;
1870
1870
  }
1871
1871
  return oe.put(`${this.side}/${this.resources}/${e.id}/switch`, e);
@@ -1883,14 +1883,14 @@ class Zo {
1883
1883
  return oe.get(`${this.side}/${this.resources}/${e.id}`);
1884
1884
  }
1885
1885
  }
1886
- const kl = {
1886
+ const Fl = {
1887
1887
  Client: Xo,
1888
1888
  ReadOnlyClient: Zo,
1889
1889
  GET_LIST: ze,
1890
1890
  GET_ONE: Ue,
1891
1891
  CREATE: He,
1892
1892
  UPDATE: qe,
1893
- REMOVE: be,
1893
+ REMOVE: we,
1894
1894
  RESTORE: ht,
1895
1895
  ENABLE: Wn
1896
1896
  }, ea = (t, e, n) => {
@@ -2009,7 +2009,7 @@ const ot = {
2009
2009
  "input-number": { config: "input-number" }
2010
2010
  };
2011
2011
  async function Xt(t, e, n) {
2012
- const s = await ea(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-B9AR7_XZ.js"), "./field/belongs-to/config.js": () => import("./config-BzbjlylP.js"), "./field/boolean/config.js": () => import("./config-B05DZTLj.js"), "./field/cascader/config.js": () => import("./config-BwZlqfGW.js"), "./field/component/config.js": () => import("./config-B0dGohF4.js"), "./field/date/config.js": () => import("./config-B5djJj4e.js"), "./field/datetime/config.js": () => import("./config-DaOh44Dn.js"), "./field/image/config.js": () => import("./config-FAAysqT0.js"), "./field/images/config.js": () => import("./config-BU6_QFc-.js"), "./field/input-number/config.js": () => import("./config-DNj3E5fs.js"), "./field/json/config.js": () => import("./config-B5tR4mMS.js"), "./field/radio-group/config.js": () => import("./config-Bof6vDrm.js"), "./field/rich-text/config.js": () => import("./config-CisEzPUE.js"), "./field/row-id/config.js": () => import("./config-BQezQR8O.js"), "./field/select/config.js": () => import("./config-BfiQ2EtN.js"), "./field/string/config.js": () => import("./config-C60_BG4J.js"), "./field/switch/config.js": () => import("./config-B-qtbK6C.js"), "./field/text/config.js": () => import("./config-CDOMfBws.js"), "./field/time/config.js": () => import("./config-BWwjYeos.js"), "./field/tree-select/config.js": () => import("./config-N9cJjS0E.js") }), `./field/${t}/config.js`, 4);
2012
+ const s = await ea(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-BVPYOETn.js"), "./field/belongs-to/config.js": () => import("./config-HXvD5W1L.js"), "./field/boolean/config.js": () => import("./config-CiRKf9gO.js"), "./field/cascader/config.js": () => import("./config-hx_TBfIr.js"), "./field/component/config.js": () => import("./config-BU2sr1IC.js"), "./field/date/config.js": () => import("./config-JRtmWsWg.js"), "./field/datetime/config.js": () => import("./config-DH736Dzq.js"), "./field/image/config.js": () => import("./config-CwI1EbsY.js"), "./field/images/config.js": () => import("./config-mjFfM12K.js"), "./field/input-number/config.js": () => import("./config-CvKmCDBm.js"), "./field/json/config.js": () => import("./config-Cn5jQKRY.js"), "./field/radio-group/config.js": () => import("./config-BHkdHfrB.js"), "./field/rich-text/config.js": () => import("./config-DL2jlaxo.js"), "./field/row-id/config.js": () => import("./config-D19luHMm.js"), "./field/select/config.js": () => import("./config-BsUoj1r1.js"), "./field/string/config.js": () => import("./config-DEhHnk2B.js"), "./field/switch/config.js": () => import("./config-D7tKOIT2.js"), "./field/text/config.js": () => import("./config-CLkMDLs5.js"), "./field/time/config.js": () => import("./config-Cn0z8LnF.js"), "./field/tree-select/config.js": () => import("./config-QhV-mcAJ.js") }), `./field/${t}/config.js`, 4);
2013
2013
  return new s.default(e, n);
2014
2014
  }
2015
2015
  function at(t, e = "unknown") {
@@ -2031,7 +2031,7 @@ function at(t, e = "unknown") {
2031
2031
  return Xt("string", s, s.domain || e);
2032
2032
  });
2033
2033
  }
2034
- let gt = {
2034
+ let _t = {
2035
2035
  name: "管理后台",
2036
2036
  logo: "",
2037
2037
  sideMenus: {},
@@ -2039,10 +2039,10 @@ let gt = {
2039
2039
  fileUploadUrl: "",
2040
2040
  idempotentUrl: ""
2041
2041
  }, $e = {};
2042
- function Ol(t) {
2043
- gt = { ...gt, ...t }, $e = t.domainConfigs;
2042
+ function Cl(t) {
2043
+ _t = { ..._t, ...t }, $e = t.domainConfigs;
2044
2044
  }
2045
- function Fl(t) {
2045
+ function Dl(t) {
2046
2046
  Object.keys($e).forEach((e) => {
2047
2047
  const n = $e[e];
2048
2048
  Object.keys(n).forEach((s) => {
@@ -2052,7 +2052,7 @@ function Fl(t) {
2052
2052
  });
2053
2053
  }
2054
2054
  function We() {
2055
- return gt;
2055
+ return _t;
2056
2056
  }
2057
2057
  function kt() {
2058
2058
  return $e;
@@ -2208,7 +2208,7 @@ const V = (t, e) => {
2208
2208
  name: "header",
2209
2209
  fn: b(() => [
2210
2210
  C("div", ra, [
2211
- C("span", ia, B(e.title), 1)
2211
+ C("span", ia, P(e.title), 1)
2212
2212
  ])
2213
2213
  ]),
2214
2214
  key: "0"
@@ -2240,7 +2240,7 @@ const V = (t, e) => {
2240
2240
  let n = "#f7faff", s = "10px";
2241
2241
  return e.background && (n = e.background, n == "none" && (s = "0px")), (o, r) => {
2242
2242
  const a = Qe("RouterLink");
2243
- return _e((u(), x("div", {
2243
+ return ye((u(), x("div", {
2244
2244
  class: "container",
2245
2245
  style: Ve(`background: ${f(n)}; padding: ${f(s)}`)
2246
2246
  }, [
@@ -2248,7 +2248,7 @@ const V = (t, e) => {
2248
2248
  class: "item-box-data mono-data",
2249
2249
  style: Ve(`text-align: ${e.align};`)
2250
2250
  }, [
2251
- e.value != null ? (u(), x("span", ca, B(e.value), 1)) : (u(), x("span", da, "..."))
2251
+ e.value != null ? (u(), x("span", ca, P(e.value), 1)) : (u(), x("span", da, "..."))
2252
2252
  ], 4),
2253
2253
  C("div", {
2254
2254
  class: "item-box-tip",
@@ -2261,21 +2261,21 @@ const V = (t, e) => {
2261
2261
  default: b(() => [
2262
2262
  O(f(ls), { type: "primary" }, {
2263
2263
  default: b(() => [
2264
- M(B(e.title), 1)
2264
+ M(P(e.title), 1)
2265
2265
  ]),
2266
2266
  _: 1
2267
2267
  })
2268
2268
  ]),
2269
2269
  _: 1
2270
2270
  }, 8, ["to"])
2271
- ])) : (u(), x("span", fa, B(e.title), 1))
2271
+ ])) : (u(), x("span", fa, P(e.title), 1))
2272
2272
  ], 4)
2273
2273
  ], 4)), [
2274
- [f(ye), e.value == null]
2274
+ [f(ve), e.value == null]
2275
2275
  ]);
2276
2276
  };
2277
2277
  }
2278
- }, ha = /* @__PURE__ */ V(ma, [["__scopeId", "data-v-73228f1a"]]), ga = {
2278
+ }, ha = /* @__PURE__ */ V(ma, [["__scopeId", "data-v-73228f1a"]]), _a = {
2279
2279
  __name: "StatisticCard",
2280
2280
  props: {
2281
2281
  title: {
@@ -2313,16 +2313,16 @@ const V = (t, e) => {
2313
2313
  _: 1
2314
2314
  }));
2315
2315
  }
2316
- }, Cl = /* @__PURE__ */ V(ga, [["__scopeId", "data-v-f338c407"]]), _a = {}, ya = { style: { padding: "20px 0" } };
2316
+ }, Al = /* @__PURE__ */ V(_a, [["__scopeId", "data-v-f338c407"]]), ga = {}, ya = { style: { padding: "20px 0" } };
2317
2317
  function va(t, e) {
2318
2318
  return u(), x("div", ya, [
2319
2319
  Y(t.$slots, "default")
2320
2320
  ]);
2321
2321
  }
2322
- const Dl = /* @__PURE__ */ V(_a, [["render", va]]), ba = {
2322
+ const Rl = /* @__PURE__ */ V(ga, [["render", va]]), ba = {
2323
2323
  __name: "DashboardRow",
2324
2324
  setup(t) {
2325
- return (e, n) => (u(), $(f(me), {
2325
+ return (e, n) => (u(), $(f(he), {
2326
2326
  style: { "margin-bottom": "20px" },
2327
2327
  class: "row"
2328
2328
  }, {
@@ -2332,7 +2332,7 @@ const Dl = /* @__PURE__ */ V(_a, [["render", va]]), ba = {
2332
2332
  _: 3
2333
2333
  }));
2334
2334
  }
2335
- }, Al = /* @__PURE__ */ V(ba, [["__scopeId", "data-v-5b091760"]]);
2335
+ }, Tl = /* @__PURE__ */ V(ba, [["__scopeId", "data-v-5b091760"]]);
2336
2336
  /*! Element Plus Icons Vue v2.3.1 */
2337
2337
  var wa = /* @__PURE__ */ N({
2338
2338
  name: "ArrowDown",
@@ -2362,7 +2362,7 @@ var wa = /* @__PURE__ */ N({
2362
2362
  })
2363
2363
  ]));
2364
2364
  }
2365
- }), Rl = $a, Sa = /* @__PURE__ */ N({
2365
+ }), Pl = $a, Sa = /* @__PURE__ */ N({
2366
2366
  name: "CirclePlus",
2367
2367
  __name: "circle-plus",
2368
2368
  setup(t) {
@@ -2454,7 +2454,7 @@ var wa = /* @__PURE__ */ N({
2454
2454
  })
2455
2455
  ]));
2456
2456
  }
2457
- }), Tl = Ta, Pa = /* @__PURE__ */ N({
2457
+ }), Ll = Ta, Pa = /* @__PURE__ */ N({
2458
2458
  name: "Download",
2459
2459
  __name: "download",
2460
2460
  setup(t) {
@@ -2468,7 +2468,7 @@ var wa = /* @__PURE__ */ N({
2468
2468
  })
2469
2469
  ]));
2470
2470
  }
2471
- }), Pl = Pa, La = /* @__PURE__ */ N({
2471
+ }), Bl = Pa, La = /* @__PURE__ */ N({
2472
2472
  name: "EditPen",
2473
2473
  __name: "edit-pen",
2474
2474
  setup(t) {
@@ -2524,7 +2524,7 @@ var wa = /* @__PURE__ */ N({
2524
2524
  })
2525
2525
  ]));
2526
2526
  }
2527
- }), Ll = Na, za = /* @__PURE__ */ N({
2527
+ }), jl = Na, za = /* @__PURE__ */ N({
2528
2528
  name: "Minus",
2529
2529
  __name: "minus",
2530
2530
  setup(t) {
@@ -2566,7 +2566,7 @@ var wa = /* @__PURE__ */ N({
2566
2566
  })
2567
2567
  ]));
2568
2568
  }
2569
- }), Bl = Wa, Qa = /* @__PURE__ */ N({
2569
+ }), Vl = Wa, Qa = /* @__PURE__ */ N({
2570
2570
  name: "PriceTag",
2571
2571
  __name: "price-tag",
2572
2572
  setup(t) {
@@ -2598,7 +2598,7 @@ var wa = /* @__PURE__ */ N({
2598
2598
  })
2599
2599
  ]));
2600
2600
  }
2601
- }), jl = Ja, Ga = /* @__PURE__ */ N({
2601
+ }), Ml = Ja, Ga = /* @__PURE__ */ N({
2602
2602
  name: "Refresh",
2603
2603
  __name: "refresh",
2604
2604
  setup(t) {
@@ -2654,7 +2654,7 @@ var wa = /* @__PURE__ */ N({
2654
2654
  })
2655
2655
  ]));
2656
2656
  }
2657
- }), Vl = tr, nr = /* @__PURE__ */ N({
2657
+ }), Il = tr, nr = /* @__PURE__ */ N({
2658
2658
  name: "View",
2659
2659
  __name: "view",
2660
2660
  setup(t) {
@@ -2668,7 +2668,7 @@ var wa = /* @__PURE__ */ N({
2668
2668
  })
2669
2669
  ]));
2670
2670
  }
2671
- }), Ml = nr;
2671
+ }), Nl = nr;
2672
2672
  function J(t) {
2673
2673
  const e = { ...t.query, ...t.params };
2674
2674
  if (t.params.domain && t.params.id) {
@@ -2681,7 +2681,7 @@ function sr(t) {
2681
2681
  const e = t.length, n = Math.floor(24 / e);
2682
2682
  return { type: "row", cols: t.map((o) => ({ type: "col", span: n, field: o })) };
2683
2683
  }
2684
- function _t(t) {
2684
+ function gt(t) {
2685
2685
  return t.map((e) => sr(e));
2686
2686
  }
2687
2687
  const or = {
@@ -2704,11 +2704,11 @@ const or = {
2704
2704
  }
2705
2705
  ).length) <= 6) {
2706
2706
  const d = o(e.fields, 1);
2707
- return _t(d);
2707
+ return gt(d);
2708
2708
  }
2709
2709
  console.log(e.fields);
2710
2710
  const i = o(e.fields, 2);
2711
- return _t(i);
2711
+ return gt(i);
2712
2712
  }
2713
2713
  return e.layout;
2714
2714
  });
@@ -2727,9 +2727,9 @@ const or = {
2727
2727
  return d;
2728
2728
  }
2729
2729
  return (r, a) => (u(), x("div", null, [
2730
- (u(!0), x(P, null, H(n.value, (i) => (u(), $(f(me), { gutter: 20 }, {
2730
+ (u(!0), x(L, null, H(n.value, (i) => (u(), $(f(he), { gutter: 20 }, {
2731
2731
  default: b(() => [
2732
- (u(!0), x(P, null, H(i.cols, (d) => {
2732
+ (u(!0), x(L, null, H(i.cols, (d) => {
2733
2733
  var m, c, l;
2734
2734
  return u(), $(f(pe), {
2735
2735
  span: (m = s(d.field)) != null && m.wholeRow ? 24 : ((c = i.cols) == null ? void 0 : c.length) == 1 && !((l = d.field) != null && l.includes("classify")) && e.fields.length > 6 ? 12 : d.span
@@ -2737,7 +2737,7 @@ const or = {
2737
2737
  default: b(() => {
2738
2738
  var v, k;
2739
2739
  return [
2740
- (v = d.field) != null && v.includes("classify") && ((k = s(d.field)) != null && k.label) ? (u(), x("div", or, B(s(d.field).label), 1)) : Y(r.$slots, "default", {
2740
+ (v = d.field) != null && v.includes("classify") && ((k = s(d.field)) != null && k.label) ? (u(), x("div", or, P(s(d.field).label), 1)) : Y(r.$slots, "default", {
2741
2741
  key: 1,
2742
2742
  field: s(d.field)
2743
2743
  }, void 0, !0)
@@ -2767,14 +2767,14 @@ const or = {
2767
2767
  },
2768
2768
  emits: ["submit", "remove"],
2769
2769
  setup(t, { emit: e }) {
2770
- const n = z(), s = J(n), o = e, r = A(!1), a = t, i = _t(a.config.formLayout || []), d = a.config.formStyleConfig || {
2770
+ const n = z(), s = J(n), o = e, r = A(!1), a = t, i = gt(a.config.formLayout || []), d = a.config.formStyleConfig || {
2771
2771
  labelPosition: "top",
2772
2772
  labelWidth: 100
2773
- }, m = Ce({ ...a.data }), c = A(null), l = a.config.fields.filter((y) => y.rules).reduce((y, F) => (y[F.code] = g(F.rules), y), {}), v = I(S), k = I(() => a.config.fields.filter((y) => {
2773
+ }, m = Ce({ ...a.data }), c = A(null), l = a.config.fields.filter((y) => y.rules).reduce((y, F) => (y[F.code] = _(F.rules), y), {}), v = I(S), k = I(() => a.config.fields.filter((y) => {
2774
2774
  const F = y.editable(m, s), D = y.visible(m, s);
2775
2775
  return y.disabled = D && !F, F || D;
2776
2776
  }));
2777
- function g(y) {
2777
+ function _(y) {
2778
2778
  return typeof y == "object" ? y : typeof y == "function" ? y(m) : [];
2779
2779
  }
2780
2780
  function h(y) {
@@ -2782,7 +2782,7 @@ const or = {
2782
2782
  r.value = !1;
2783
2783
  });
2784
2784
  }
2785
- async function _() {
2785
+ async function g() {
2786
2786
  await c.value.validate(async (y, F) => {
2787
2787
  var X, U;
2788
2788
  if (!y)
@@ -2909,7 +2909,7 @@ const or = {
2909
2909
  icon: f(Va),
2910
2910
  type: "primary",
2911
2911
  loading: r.value,
2912
- onClick: _
2912
+ onClick: g
2913
2913
  }, {
2914
2914
  default: b(() => [
2915
2915
  M(" 提交 ")
@@ -2927,7 +2927,7 @@ function pr() {
2927
2927
  }
2928
2928
  const Fe = {
2929
2929
  getValue: pr
2930
- }, Ft = {
2930
+ }, fr = { style: { "font-weight": "700", "font-size": "22px", color: "#333" } }, Ft = {
2931
2931
  __name: "FormEditor",
2932
2932
  props: {
2933
2933
  modelValue: {
@@ -2950,24 +2950,24 @@ const Fe = {
2950
2950
  emits: ["update:modelValue", "submit", "remove"],
2951
2951
  setup(t, { emit: e }) {
2952
2952
  const n = z(), s = J(n), o = e, r = t, a = A(r.data), i = I(() => ({ ...a.value, idempotentToken: m.value })), d = I(() => r.config.fields.filter((h) => {
2953
- var _;
2954
- if (!((_ = h.code) != null && _.includes("classify")))
2953
+ var g;
2954
+ if (!((g = h.code) != null && g.includes("classify")))
2955
2955
  return h.visible(i, s);
2956
2956
  }).length >= 6 ? "60%" : "40%"), m = A(""), c = I({
2957
2957
  get() {
2958
2958
  return r.modelValue;
2959
2959
  },
2960
- set(g) {
2961
- o("update:modelValue", g);
2960
+ set(_) {
2961
+ o("update:modelValue", _);
2962
2962
  }
2963
2963
  }), l = I(() => r.title ? r.title : r.data.id ? `编辑${r.config.name}` : `新增${r.config.name}`);
2964
- function v(g, h, _) {
2965
- a.value = h, o("submit", g, async () => {
2966
- m.value = await Fe.getValue(), _();
2964
+ function v(_, h, g) {
2965
+ a.value = h, o("submit", _, async () => {
2966
+ m.value = await Fe.getValue(), g();
2967
2967
  });
2968
2968
  }
2969
- function k(g, h) {
2970
- o("remove", g, async () => {
2969
+ function k(_, h) {
2970
+ o("remove", _, async () => {
2971
2971
  m.value = await Fe.getValue(), h();
2972
2972
  });
2973
2973
  }
@@ -2977,18 +2977,21 @@ const Fe = {
2977
2977
  m.value = await Fe.getValue();
2978
2978
  },
2979
2979
  { immediate: !0 }
2980
- ), (g, h) => (u(), $(f(ds), {
2980
+ ), (_, h) => (u(), $(f(ds), {
2981
2981
  modelValue: c.value,
2982
- "onUpdate:modelValue": h[0] || (h[0] = (_) => c.value = _),
2982
+ "onUpdate:modelValue": h[0] || (h[0] = (g) => c.value = g),
2983
2983
  width: d.value,
2984
2984
  top: "20px",
2985
- title: l.value,
2985
+ title: null,
2986
2986
  "close-on-click-modal": !1,
2987
2987
  "append-to-body": !0,
2988
2988
  "destroy-on-close": "",
2989
2989
  "z-index": 2e3,
2990
2990
  style: { "border-radius": "12px" }
2991
2991
  }, {
2992
+ title: b(() => [
2993
+ C("div", fr, P(l.value), 1)
2994
+ ]),
2992
2995
  default: b(() => [
2993
2996
  O(dr, {
2994
2997
  config: r.config,
@@ -2999,9 +3002,9 @@ const Fe = {
2999
3002
  }, null, 8, ["config", "data", "removable"])
3000
3003
  ]),
3001
3004
  _: 1
3002
- }, 8, ["modelValue", "width", "title"]));
3005
+ }, 8, ["modelValue", "width"]));
3003
3006
  }
3004
- }, Il = {
3007
+ }, zl = {
3005
3008
  __name: "RowActionFormEditor",
3006
3009
  props: {
3007
3010
  row: {
@@ -3081,7 +3084,7 @@ const Fe = {
3081
3084
  onClick: m
3082
3085
  }, {
3083
3086
  default: b(() => [
3084
- M(B(e.text) + " ", 1),
3087
+ M(P(e.text) + " ", 1),
3085
3088
  s.value ? (u(), $(Ft, {
3086
3089
  key: 0,
3087
3090
  modelValue: s.value,
@@ -3095,7 +3098,7 @@ const Fe = {
3095
3098
  _: 1
3096
3099
  }, 8, ["type"]));
3097
3100
  }
3098
- }, fr = { class: "not-found" }, mr = {
3101
+ }, mr = { class: "not-found" }, hr = {
3099
3102
  __name: "EmptyTip",
3100
3103
  props: {
3101
3104
  text: {
@@ -3105,9 +3108,9 @@ const Fe = {
3105
3108
  },
3106
3109
  setup(t) {
3107
3110
  const e = t;
3108
- return (n, s) => (u(), x("span", fr, B(e.text), 1));
3111
+ return (n, s) => (u(), x("span", mr, P(e.text), 1));
3109
3112
  }
3110
- }, Nl = /* @__PURE__ */ V(mr, [["__scopeId", "data-v-c97e855f"]]), zl = {
3113
+ }, Ul = /* @__PURE__ */ V(hr, [["__scopeId", "data-v-c97e855f"]]), Hl = {
3111
3114
  __name: "FieldEditor",
3112
3115
  props: {
3113
3116
  modelValue: {
@@ -3121,7 +3124,7 @@ const Fe = {
3121
3124
  },
3122
3125
  emits: ["update:modelValue"],
3123
3126
  setup(t, { emit: e }) {
3124
- const n = ts(() => import("./ImagesUploader-pIcqghBT.js")), s = We().fileUploadUrl, o = e, r = t, a = Ce({ value: r.modelValue }), i = r.field.converter;
3127
+ const n = ts(() => import("./ImagesUploader-C_lRUsOq.js")), s = We().fileUploadUrl, o = e, r = t, a = Ce({ value: r.modelValue }), i = r.field.converter;
3125
3128
  function d(c) {
3126
3129
  let l = -1;
3127
3130
  c.id && (l = a.value.findIndex((v) => v.id === c.id)), c.url && (l = a.value.findIndex((v) => v.url === c.url)), l >= 0 && (a.value.splice(l, 1), o("update:modelValue", a.value));
@@ -3183,7 +3186,7 @@ const Fe = {
3183
3186
  }),
3184
3187
  getters: {
3185
3188
  validFilters() {
3186
- return hr(
3189
+ return _r(
3187
3190
  t,
3188
3191
  e,
3189
3192
  this.filters,
@@ -3201,7 +3204,7 @@ const Fe = {
3201
3204
  }
3202
3205
  }
3203
3206
  });
3204
- function hr(t, e, n, s, o) {
3207
+ function _r(t, e, n, s, o) {
3205
3208
  let a = { ...gr(t, e, s), ...n };
3206
3209
  return o != null && o.setupCreate && (a = o.setupCreate(a)), yt(t, e, a);
3207
3210
  }
@@ -3211,13 +3214,13 @@ function gr(t, e, n) {
3211
3214
  return localStorage.getItem(s) && (o = JSON.parse(localStorage.getItem(s))), Object.keys(o).filter((r) => Object.keys(n).includes(r)).reduce((r, a) => (r[a] = o[a], r), {});
3212
3215
  }
3213
3216
  function yt(t, e, n) {
3214
- const s = `filters---${e}---${t}`, o = _r(n);
3217
+ const s = `filters---${e}---${t}`, o = yr(n);
3215
3218
  return localStorage.setItem(s, JSON.stringify(o)), o;
3216
3219
  }
3217
- function _r(t) {
3220
+ function yr(t) {
3218
3221
  return Object.keys(t).filter((e) => t[e] != null && t[e] != null && t[e] != "").reduce((e, n) => (e[n] = t[n], e), {});
3219
3222
  }
3220
- const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-label" }, wr = { class: "sorters-arrow-box" }, Er = ["onClick"], $r = ["onClick"], Sr = {
3223
+ const vr = { class: "sorters-box" }, br = ["onClick"], wr = { class: "sorters-label" }, Er = { class: "sorters-arrow-box" }, $r = ["onClick"], Sr = ["onClick"], xr = {
3221
3224
  __name: "FiltersSorters",
3222
3225
  props: {
3223
3226
  sorters: {
@@ -3268,26 +3271,26 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3268
3271
  c.filter((l) => l.order)
3269
3272
  );
3270
3273
  }
3271
- return (d, m) => (u(), x("div", yr, [
3272
- (u(!0), x(P, null, H(o.value, (c, l) => (u(), x("div", {
3274
+ return (d, m) => (u(), x("div", vr, [
3275
+ (u(!0), x(L, null, H(o.value, (c, l) => (u(), x("div", {
3273
3276
  class: "sorters-item",
3274
3277
  onClick: (v) => i(l, "")
3275
3278
  }, [
3276
- C("div", br, B(c.name), 1),
3277
- C("div", wr, [
3279
+ C("div", wr, P(c.name), 1),
3280
+ C("div", Er, [
3278
3281
  C("i", {
3279
- class: we(["sort-caret ascending", c.order === "ASC" ? "ascending-active" : ""]),
3282
+ class: me(["sort-caret ascending", c.order === "ASC" ? "ascending-active" : ""]),
3280
3283
  onClick: Lt((v) => i(l, "ASC"), ["stop"])
3281
- }, null, 10, Er),
3284
+ }, null, 10, $r),
3282
3285
  C("i", {
3283
- class: we(["sort-caret descending", c.order === "DESC" ? "descending-active" : ""]),
3286
+ class: me(["sort-caret descending", c.order === "DESC" ? "descending-active" : ""]),
3284
3287
  onClick: Lt((v) => i(l, "DESC"), ["stop"])
3285
- }, null, 10, $r)
3288
+ }, null, 10, Sr)
3286
3289
  ])
3287
- ], 8, vr))), 256))
3290
+ ], 8, br))), 256))
3288
3291
  ]));
3289
3292
  }
3290
- }, xr = /* @__PURE__ */ V(Sr, [["__scopeId", "data-v-fa20b02a"]]), kr = { class: "ranges-box" }, Or = { class: "range-item" }, Fr = { class: "range-label" }, Cr = { class: "range-input-box" }, Dr = {
3293
+ }, kr = /* @__PURE__ */ V(xr, [["__scopeId", "data-v-fa20b02a"]]), Or = { class: "ranges-box" }, Fr = { class: "range-item" }, Cr = { class: "range-label" }, Dr = { class: "range-input-box" }, Ar = {
3291
3294
  __name: "FiltersRange",
3292
3295
  props: {
3293
3296
  ranges: {
@@ -3327,10 +3330,10 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3327
3330
  c.filter((l) => l.min || l.max)
3328
3331
  );
3329
3332
  }
3330
- return r(), (i, d) => (u(), x("div", kr, [
3331
- (u(!0), x(P, null, H(o, (m) => (u(), x("div", Or, [
3332
- C("div", Fr, B(m.name), 1),
3333
- C("div", Cr, [
3333
+ return r(), (i, d) => (u(), x("div", Or, [
3334
+ (u(!0), x(L, null, H(o, (m) => (u(), x("div", Fr, [
3335
+ C("div", Cr, P(m.name), 1),
3336
+ C("div", Dr, [
3334
3337
  O(f(Vt), {
3335
3338
  modelValue: m.min,
3336
3339
  "onUpdate:modelValue": (c) => m.min = c,
@@ -3354,7 +3357,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3354
3357
  ]))), 256))
3355
3358
  ]));
3356
3359
  }
3357
- }, Ar = /* @__PURE__ */ V(Dr, [["__scopeId", "data-v-30f46526"]]), Rr = { key: 0 }, Tr = {
3360
+ }, Rr = /* @__PURE__ */ V(Ar, [["__scopeId", "data-v-30f46526"]]), Tr = { key: 0 }, Pr = {
3358
3361
  __name: "FiltersEditor",
3359
3362
  props: {
3360
3363
  settings: {
@@ -3427,7 +3430,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3427
3430
  const F = i[p.code].map((D) => D.code);
3428
3431
  a[p.code] && (p.multiple ? a[p.code] = a[p.code].filter((D) => (console.log(F.includes(D)), F.includes(D))) : a[p.code] = (y = i[p.code].find(
3429
3432
  (D) => D.code == a[p.code]
3430
- )) == null ? void 0 : y.code, _());
3433
+ )) == null ? void 0 : y.code, g());
3431
3434
  }
3432
3435
  }
3433
3436
  function l(p) {
@@ -3437,12 +3440,12 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3437
3440
  };
3438
3441
  }
3439
3442
  function v(p) {
3440
- a.sorters = p, _();
3443
+ a.sorters = p, g();
3441
3444
  }
3442
3445
  function k(p) {
3443
3446
  a.filters = p;
3444
3447
  }
3445
- function g() {
3448
+ function _() {
3446
3449
  Object.keys(a).forEach((p) => {
3447
3450
  a[p] = void 0;
3448
3451
  }), r.value = Object.keys(e.settings.filters).filter((p) => m(e.settings.filters[p].visible)).map((p) => {
@@ -3458,18 +3461,18 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3458
3461
  const S = e.settings.filters[p], y = d.validFilters[p];
3459
3462
  return S.type === "boolean" && typeof y != "boolean" ? S.value : y;
3460
3463
  }
3461
- function _() {
3464
+ function g() {
3462
3465
  let p = JSON.parse(JSON.stringify(a));
3463
3466
  const S = e.settings.filterHook;
3464
3467
  S != null && S.preSubmit && (p = S.preSubmit(p, o)), p !== !1 && d.change(p);
3465
3468
  }
3466
3469
  function E() {
3467
- d.$reset({}), g(), _();
3470
+ d.$reset({}), _(), g();
3468
3471
  }
3469
3472
  return j(
3470
3473
  () => e.settings,
3471
3474
  () => {
3472
- g(), _();
3475
+ _(), g();
3473
3476
  },
3474
3477
  { immediate: !0 }
3475
3478
  ), j(
@@ -3484,14 +3487,14 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3484
3487
  D.formChange && D.formChange(a, F);
3485
3488
  });
3486
3489
  }
3487
- ), (p, S) => Object.keys(e.settings.filters).length > 0 ? (u(), x("div", Rr, [
3490
+ ), (p, S) => Object.keys(e.settings.filters).length > 0 ? (u(), x("div", Tr, [
3488
3491
  O(f(hn), {
3489
3492
  model: a,
3490
3493
  inline: "",
3491
3494
  class: "form-editor"
3492
3495
  }, {
3493
3496
  default: b(() => [
3494
- (u(!0), x(P, null, H(r.value, (y) => (u(), $(f(rt), null, {
3497
+ (u(!0), x(L, null, H(r.value, (y) => (u(), $(f(rt), null, {
3495
3498
  default: b(() => [
3496
3499
  y.type === "boolean" ? (u(), $(f(Mt), {
3497
3500
  key: 0,
@@ -3501,7 +3504,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3501
3504
  clearable: "",
3502
3505
  placeholder: `是否${y.name}`,
3503
3506
  "value-on-clear": null,
3504
- onChange: _
3507
+ onChange: g
3505
3508
  }, {
3506
3509
  default: b(() => [
3507
3510
  O(f(Xe), {
@@ -3527,14 +3530,14 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3527
3530
  placeholder: y.name,
3528
3531
  multiple: y.multiple,
3529
3532
  "collapse-tags": "",
3530
- class: we(y.multiple ? "tags-selects-input" : ""),
3533
+ class: me(y.multiple ? "tags-selects-input" : ""),
3531
3534
  "multiple-limit": y.multipleLimit ? y.multipleLimit : 0,
3532
3535
  "remote-method": l(y),
3533
3536
  "value-on-clear": null,
3534
- onChange: _
3537
+ onChange: g
3535
3538
  }, {
3536
3539
  default: b(() => [
3537
- (u(!0), x(P, null, H(i[y.code], (F) => (u(), $(f(Xe), {
3540
+ (u(!0), x(L, null, H(i[y.code], (F) => (u(), $(f(Xe), {
3538
3541
  key: F.code,
3539
3542
  label: F.name,
3540
3543
  value: F.code,
@@ -3553,13 +3556,13 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3553
3556
  placeholder: y.name,
3554
3557
  clearable: "",
3555
3558
  "value-on-clear": null,
3556
- onChange: _
3557
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "multiple", "placeholder"])) : y.type === "sorters" ? (u(), $(xr, {
3559
+ onChange: g
3560
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "multiple", "placeholder"])) : y.type === "sorters" ? (u(), $(kr, {
3558
3561
  key: 3,
3559
3562
  value: a[y.code],
3560
3563
  sorters: y,
3561
3564
  onUpdateSorters: v
3562
- }, null, 8, ["value", "sorters"])) : y.type === "range" ? (u(), $(Ar, {
3565
+ }, null, 8, ["value", "sorters"])) : y.type === "range" ? (u(), $(Rr, {
3563
3566
  key: 4,
3564
3567
  value: a[y.code],
3565
3568
  ranges: y,
@@ -3585,8 +3588,8 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3585
3588
  "collapse-tags": "",
3586
3589
  "multiple-limit": y.multipleLimit ? y.multipleLimit : 0,
3587
3590
  "remote-method": l(y),
3588
- onCheck: _,
3589
- onChange: _
3591
+ onCheck: g,
3592
+ onChange: g
3590
3593
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "data", "multiple", "check-strictly", "multiple-limit", "remote-method"])) : y.type === "date" ? (u(), $(f(Ze), {
3591
3594
  key: 6,
3592
3595
  modelValue: a[y.code],
@@ -3630,7 +3633,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3630
3633
  O(f(ne), {
3631
3634
  icon: f(Xa),
3632
3635
  type: "primary",
3633
- onClick: _
3636
+ onClick: g
3634
3637
  }, {
3635
3638
  default: b(() => [
3636
3639
  M(" 查询 ")
@@ -3654,7 +3657,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3654
3657
  }, 8, ["model"])
3655
3658
  ])) : T("", !0);
3656
3659
  }
3657
- }, Pr = /* @__PURE__ */ V(Tr, [["__scopeId", "data-v-8ce141d0"]]), Lr = { class: "data-page-title" }, Br = { class: "title" }, jr = { class: "data-page-toolbar" }, Vr = {
3660
+ }, Lr = /* @__PURE__ */ V(Pr, [["__scopeId", "data-v-8ce141d0"]]), Br = { class: "data-page-title" }, jr = { class: "title" }, Vr = { class: "data-page-toolbar" }, Mr = {
3658
3661
  __name: "DataTableHeader",
3659
3662
  props: {
3660
3663
  settings: {
@@ -3683,11 +3686,11 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3683
3686
  const k = `table-view-${s.path}-${e.settings.code}`;
3684
3687
  localStorage.setItem(k, o.mode);
3685
3688
  }
3686
- return pn(c), (v, k) => (u(), x(P, null, [
3687
- C("div", Lr, [
3688
- C("div", Br, B(i.value ? `已删除的${f(n)}` : f(n)), 1),
3689
- C("div", jr, [
3690
- f(a).operations ? (u(), $(f(he), {
3689
+ return pn(c), (v, k) => (u(), x(L, null, [
3690
+ C("div", Br, [
3691
+ C("div", jr, P(i.value ? `已删除的${f(n)}` : f(n)), 1),
3692
+ C("div", Vr, [
3693
+ f(a).operations ? (u(), $(f(_e), {
3691
3694
  key: 0,
3692
3695
  class: "button-groups"
3693
3696
  }, {
@@ -3696,7 +3699,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3696
3699
  ]),
3697
3700
  _: 3
3698
3701
  })) : T("", !0),
3699
- O(f(he), { class: "button-groups" }, {
3702
+ O(f(_e), { class: "button-groups" }, {
3700
3703
  default: b(() => [
3701
3704
  Y(v.$slots, "tools", {}, void 0, !0)
3702
3705
  ]),
@@ -3758,7 +3761,7 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3758
3761
  onClick: m
3759
3762
  }, {
3760
3763
  default: b(() => [
3761
- C("div", null, B(i.value ? "未删除" : "已删除"), 1)
3764
+ C("div", null, P(i.value ? "未删除" : "已删除"), 1)
3762
3765
  ]),
3763
3766
  _: 1
3764
3767
  })
@@ -3783,15 +3786,15 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3783
3786
  })) : T("", !0)
3784
3787
  ])
3785
3788
  ]),
3786
- O(Pr, {
3789
+ O(Lr, {
3787
3790
  settings: e.settings
3788
3791
  }, null, 8, ["settings"])
3789
3792
  ], 64));
3790
3793
  }
3791
- }, Mr = /* @__PURE__ */ V(Vr, [["__scopeId", "data-v-898f42af"]]), Ir = { class: "kst-field-row-id" }, Nr = { key: 0 }, zr = {
3794
+ }, Ir = /* @__PURE__ */ V(Mr, [["__scopeId", "data-v-43420b94"]]), Nr = { class: "kst-field-row-id" }, zr = { key: 0 }, Ur = {
3792
3795
  key: 1,
3793
3796
  class: "mono-data"
3794
- }, Ur = { key: 1 }, Hr = {
3797
+ }, Hr = { key: 1 }, qr = {
3795
3798
  __name: "FieldDisplay",
3796
3799
  props: {
3797
3800
  field: {
@@ -3814,40 +3817,40 @@ const yr = { class: "sorters-box" }, vr = ["onClick"], br = { class: "sorters-la
3814
3817
  }
3815
3818
  return (d, m) => {
3816
3819
  const c = Qe("RouterLink");
3817
- return u(), x("div", Ir, [
3818
- r.value ? (u(), x("span", Nr, [
3820
+ return u(), x("div", Nr, [
3821
+ r.value ? (u(), x("span", zr, [
3819
3822
  i() ? (u(), $(c, {
3820
3823
  key: 0,
3821
3824
  class: "bld-link mono-data",
3822
3825
  to: a.value
3823
3826
  }, {
3824
3827
  default: b(() => [
3825
- f(e).name ? (u(), x(P, { key: 0 }, [
3828
+ f(e).name ? (u(), x(L, { key: 0 }, [
3826
3829
  Y(d.$slots, "name", {}, void 0, !0),
3827
- M("(#" + B(r.value) + ") ", 1)
3828
- ], 64)) : (u(), x(P, { key: 1 }, [
3829
- M(" #" + B(r.value), 1)
3830
+ M("(#" + P(r.value) + ") ", 1)
3831
+ ], 64)) : (u(), x(L, { key: 1 }, [
3832
+ M(" #" + P(r.value), 1)
3830
3833
  ], 64))
3831
3834
  ]),
3832
3835
  _: 3
3833
- }, 8, ["to"])) : (u(), x("span", zr, [
3834
- f(e).name ? (u(), x(P, { key: 0 }, [
3836
+ }, 8, ["to"])) : (u(), x("span", Ur, [
3837
+ f(e).name ? (u(), x(L, { key: 0 }, [
3835
3838
  Y(d.$slots, "name", {}, void 0, !0),
3836
- M("(" + B(r.value) + ") ", 1)
3837
- ], 64)) : (u(), x(P, { key: 1 }, [
3838
- M(B(r.value), 1)
3839
+ M("(" + P(r.value) + ") ", 1)
3840
+ ], 64)) : (u(), x(L, { key: 1 }, [
3841
+ M(P(r.value), 1)
3839
3842
  ], 64))
3840
3843
  ]))
3841
- ])) : (u(), x("span", Ur, " NO ID "))
3844
+ ])) : (u(), x("span", Hr, " NO ID "))
3842
3845
  ]);
3843
3846
  };
3844
3847
  }
3845
- }, qr = /* @__PURE__ */ V(Hr, [["__scopeId", "data-v-00021e61"]]);
3846
- function Wr(t) {
3848
+ }, Wr = /* @__PURE__ */ V(qr, [["__scopeId", "data-v-00021e61"]]);
3849
+ function Qr(t) {
3847
3850
  De(t);
3848
3851
  }
3849
- const Qr = {
3850
- show: Wr
3852
+ const Jr = {
3853
+ show: Qr
3851
3854
  }, tn = 10, Ct = wt("route-history", {
3852
3855
  state: () => ({
3853
3856
  root: null,
@@ -3894,38 +3897,38 @@ const Qr = {
3894
3897
  }
3895
3898
  },
3896
3899
  setup(t) {
3897
- var g;
3898
- const e = Ct(), n = le(), s = z(), o = ve(), r = J(s), a = t, i = A({}), d = A(!1), m = I(() => {
3899
- var h, _;
3900
- return a.row.deletedAt ? !1 : (h = a.operations) != null && h.updatable ? !0 : !!((_ = a.operations) != null && _.removable);
3901
- }), c = A((g = a.operations) == null ? void 0 : g.removable);
3900
+ var _;
3901
+ const e = Ct(), n = le(), s = z(), o = be(), r = J(s), a = t, i = A({}), d = A(!1), m = I(() => {
3902
+ var h, g;
3903
+ return a.row.deletedAt ? !1 : (h = a.operations) != null && h.updatable ? !0 : !!((g = a.operations) != null && g.removable);
3904
+ }), c = A((_ = a.operations) == null ? void 0 : _.removable);
3902
3905
  async function l() {
3903
- const h = a.settings.formHook, _ = a.settings.btnVisible, E = a.settings.rest, { data: p } = await E.getOne({
3906
+ const h = a.settings.formHook, g = a.settings.btnVisible, E = a.settings.rest, { data: p } = await E.getOne({
3904
3907
  ...a.row,
3905
3908
  ...r
3906
3909
  });
3907
- i.value = p, h.setupUpdate && (i.value = h.setupUpdate(i.value, r)), _.showRemove && (c.value = _.showRemove(i.value)), d.value = !0;
3910
+ i.value = p, h.setupUpdate && (i.value = h.setupUpdate(i.value, r)), g.showRemove && (c.value = g.showRemove(i.value)), d.value = !0;
3908
3911
  }
3909
- function v(h, _) {
3912
+ function v(h, g) {
3910
3913
  const E = a.settings.formHook, p = a.settings.rest;
3911
3914
  Object.keys(r).forEach((S) => {
3912
3915
  h[S] = r[S];
3913
3916
  }), E != null && E.preUpdateSubmit && (h = E.preUpdateSubmit(h)), p.update(h).then(() => {
3914
3917
  d.value = !1, n.fireUpdated();
3915
3918
  }).catch(async () => {
3916
- _();
3919
+ g();
3917
3920
  });
3918
3921
  }
3919
- function k(h, _) {
3922
+ function k(h, g) {
3920
3923
  a.settings.rest.remove(h).then(() => {
3921
- Qr.show({ type: "success", message: "删除成功" }), d.value = !1, a.isDetail && e.history.forEach((p) => {
3924
+ Jr.show({ type: "success", message: "删除成功" }), d.value = !1, a.isDetail && e.history.forEach((p) => {
3922
3925
  s.fullPath.includes(p.path) && (e.remove(p.code), o.back());
3923
3926
  }), n.fireRemoved();
3924
3927
  }).catch(() => {
3925
- _();
3928
+ g();
3926
3929
  });
3927
3930
  }
3928
- return (h, _) => m.value ? (u(), $(f(ne), {
3931
+ return (h, g) => m.value ? (u(), $(f(ne), {
3929
3932
  key: 0,
3930
3933
  icon: f(Ba),
3931
3934
  type: "primary",
@@ -3936,7 +3939,7 @@ const Qr = {
3936
3939
  d.value ? (u(), $(Ft, {
3937
3940
  key: 0,
3938
3941
  modelValue: d.value,
3939
- "onUpdate:modelValue": _[0] || (_[0] = (E) => d.value = E),
3942
+ "onUpdate:modelValue": g[0] || (g[0] = (E) => d.value = E),
3940
3943
  config: a.settings,
3941
3944
  data: i.value,
3942
3945
  removable: c.value,
@@ -3947,13 +3950,13 @@ const Qr = {
3947
3950
  _: 1
3948
3951
  }, 8, ["icon"])) : T("", !0);
3949
3952
  }
3950
- }, Jr = (t) => (fn("data-v-0941be48"), t = t(), mn(), t), Gr = { class: "data-grid-wrapper" }, Yr = {
3953
+ }, Gr = (t) => (fn("data-v-0941be48"), t = t(), mn(), t), Yr = { class: "data-grid-wrapper" }, Kr = {
3951
3954
  key: 0,
3952
3955
  class: "cover"
3953
- }, Kr = /* @__PURE__ */ Jr(() => /* @__PURE__ */ C("div", { class: "image-slot" }, null, -1)), Xr = { class: "header" }, Zr = { key: 0 }, ei = { class: "key" }, ti = { class: "value" }, ni = {
3956
+ }, Xr = /* @__PURE__ */ Gr(() => /* @__PURE__ */ C("div", { class: "image-slot" }, null, -1)), Zr = { class: "header" }, ei = { key: 0 }, ti = { class: "key" }, ni = { class: "value" }, si = {
3954
3957
  key: 1,
3955
3958
  class: "footer tools"
3956
- }, si = {
3959
+ }, oi = {
3957
3960
  __name: "DataGrid",
3958
3961
  props: {
3959
3962
  settings: {
@@ -3986,25 +3989,25 @@ const Qr = {
3986
3989
  const v = I(() => {
3987
3990
  var E, p;
3988
3991
  return !!((E = o.operations) != null && E.updatable && c || (p = o.operations) != null && p.removable && c);
3989
- }), k = I(() => o.settings.displayMode.gridWidth), g = I(() => o.settings.displayMode.heightAuto);
3992
+ }), k = I(() => o.settings.displayMode.gridWidth), _ = I(() => o.settings.displayMode.heightAuto);
3990
3993
  function h() {
3991
3994
  m.value = o.settings.fields.find((E) => E.code === "id"), d.value = o.settings.fields.filter((E) => E.code === o.settings.coverField || E.code === o.settings.nameField || E.code === "id" ? !1 : E.showInList(n, i.value));
3992
3995
  }
3993
- function _(E) {
3996
+ function g(E) {
3994
3997
  return o.settings.nameField ? E[o.settings.nameField] : E.name ? E.name : `${E.id}`;
3995
3998
  }
3996
3999
  return j(a, (E) => {
3997
4000
  i.value = E, h();
3998
- }), h(), (E, p) => (u(), x("div", Gr, [
4001
+ }), h(), (E, p) => (u(), x("div", Yr, [
3999
4002
  t.data.length === 0 ? (u(), $(f(hs), {
4000
4003
  key: 0,
4001
4004
  description: "暂无数据"
4002
- })) : (u(), $(f(me), {
4005
+ })) : (u(), $(f(he), {
4003
4006
  key: 1,
4004
4007
  gutter: 20
4005
4008
  }, {
4006
4009
  default: b(() => [
4007
- (u(!0), x(P, null, H(t.data, (S) => (u(), $(f(pe), {
4010
+ (u(!0), x(L, null, H(t.data, (S) => (u(), $(f(pe), {
4008
4011
  style: { "margin-bottom": "20px" },
4009
4012
  span: k.value ? k.value : 24,
4010
4013
  xs: k.value ? {} : 24,
@@ -4019,46 +4022,46 @@ const Qr = {
4019
4022
  shadow: "hover"
4020
4023
  }, {
4021
4024
  default: b(() => [
4022
- f(s).cover || o.settings.coverField ? (u(), x("div", Yr, [
4025
+ f(s).cover || o.settings.coverField ? (u(), x("div", Kr, [
4023
4026
  f(s).cover ? Y(E.$slots, "cover", {
4024
4027
  key: 0,
4025
4028
  row: S
4026
- }, void 0, !0) : (u(), $(f(gn), {
4029
+ }, void 0, !0) : (u(), $(f(_n), {
4027
4030
  key: 1,
4028
4031
  src: S[o.settings.coverField],
4029
4032
  fit: "contain"
4030
4033
  }, {
4031
4034
  error: b(() => [
4032
- Kr
4035
+ Xr
4033
4036
  ]),
4034
4037
  _: 2
4035
4038
  }, 1032, ["src"]))
4036
4039
  ])) : T("", !0),
4037
- C("div", Xr, [
4038
- O(qr, {
4040
+ C("div", Zr, [
4041
+ O(Wr, {
4039
4042
  field: m.value,
4040
4043
  row: S
4041
4044
  }, Se({ _: 2 }, [
4042
4045
  S[o.settings.nameField] ? {
4043
4046
  name: "name",
4044
4047
  fn: b(() => [
4045
- M(B(_(S)), 1)
4048
+ M(P(g(S)), 1)
4046
4049
  ]),
4047
4050
  key: "0"
4048
4051
  } : void 0
4049
4052
  ]), 1032, ["field", "row"])
4050
4053
  ]),
4051
4054
  C("div", {
4052
- class: we(g.value ? "body heightAuto" : "body")
4055
+ class: me(_.value ? "body heightAuto" : "body")
4053
4056
  }, [
4054
- f(s).body ? (u(), x("div", Zr, [
4057
+ f(s).body ? (u(), x("div", ei, [
4055
4058
  Y(E.$slots, "body", { row: S }, void 0, !0)
4056
- ])) : (u(!0), x(P, { key: 1 }, H(d.value, (y) => (u(), x("div", {
4059
+ ])) : (u(!0), x(L, { key: 1 }, H(d.value, (y) => (u(), x("div", {
4057
4060
  key: y.code,
4058
4061
  class: "field mono-data"
4059
4062
  }, [
4060
- C("div", ei, B(y.label) + " ", 1),
4061
- C("div", ti, [
4063
+ C("div", ti, P(y.label) + " ", 1),
4064
+ C("div", ni, [
4062
4065
  (u(), $(G(y.display), {
4063
4066
  field: y,
4064
4067
  row: S,
@@ -4067,8 +4070,8 @@ const Qr = {
4067
4070
  ])
4068
4071
  ]))), 128))
4069
4072
  ], 2),
4070
- f(s).actions || v.value ? (u(), x("div", ni, [
4071
- f(s).actions ? (u(), $(f(he), {
4073
+ f(s).actions || v.value ? (u(), x("div", si, [
4074
+ f(s).actions ? (u(), $(f(_e), {
4072
4075
  key: 0,
4073
4076
  size: "small"
4074
4077
  }, {
@@ -4077,7 +4080,7 @@ const Qr = {
4077
4080
  ]),
4078
4081
  _: 2
4079
4082
  }, 1024)) : T("", !0),
4080
- v.value ? (u(), $(f(he), {
4083
+ v.value ? (u(), $(f(_e), {
4081
4084
  key: 1,
4082
4085
  size: "small"
4083
4086
  }, {
@@ -4102,14 +4105,14 @@ const Qr = {
4102
4105
  }))
4103
4106
  ]));
4104
4107
  }
4105
- }, oi = /* @__PURE__ */ V(si, [["__scopeId", "data-v-0941be48"]]);
4106
- function ai(t, e) {
4108
+ }, ai = /* @__PURE__ */ V(oi, [["__scopeId", "data-v-0941be48"]]);
4109
+ function ri(t, e) {
4107
4110
  const n = t.fields.map((o) => o.code), s = Object.keys(e);
4108
4111
  n.forEach((o) => {
4109
4112
  s.includes(o) || console.error(`${t.code}.${o} : 与服务端数据不匹配`);
4110
4113
  });
4111
4114
  }
4112
- const ri = {
4115
+ const ii = {
4113
4116
  __name: "DataList",
4114
4117
  props: {
4115
4118
  settings: {
@@ -4152,14 +4155,14 @@ const ri = {
4152
4155
  v.value = S;
4153
4156
  });
4154
4157
  });
4155
- const g = I(() => {
4158
+ const _ = I(() => {
4156
4159
  var S, y;
4157
4160
  return !!((S = a.operations) != null && S.updatable && v.value || (y = a.operations) != null && y.removable && v.value);
4158
4161
  });
4159
4162
  function h(S) {
4160
4163
  o("sort-column", S);
4161
4164
  }
4162
- function _(S) {
4165
+ function g(S) {
4163
4166
  o("enable-item", S);
4164
4167
  }
4165
4168
  function E() {
@@ -4182,11 +4185,11 @@ const ri = {
4182
4185
  return E(), j(
4183
4186
  () => a.data,
4184
4187
  () => {
4185
- a.data.length > 0 && (ai(a.settings, a.data[0]), E());
4188
+ a.data.length > 0 && (ri(a.settings, a.data[0]), E());
4186
4189
  }
4187
4190
  ), j(m, (S) => {
4188
4191
  c.value = S, E();
4189
- }), (S, y) => (u(), $(f(gs), {
4192
+ }), (S, y) => (u(), $(f(_s), {
4190
4193
  ref: "dataTable",
4191
4194
  class: "table mono-data",
4192
4195
  data: a.data,
@@ -4202,7 +4205,7 @@ const ri = {
4202
4205
  type: "selection",
4203
4206
  width: "40"
4204
4207
  }),
4205
- (u(!0), x(P, null, H(l.value, (F) => (u(), $(f(je), {
4208
+ (u(!0), x(L, null, H(l.value, (F) => (u(), $(f(je), {
4206
4209
  key: F.code,
4207
4210
  label: F.label,
4208
4211
  width: F.width,
@@ -4217,7 +4220,7 @@ const ri = {
4217
4220
  field: F,
4218
4221
  row: D,
4219
4222
  mode: "list",
4220
- onEnable: _
4223
+ onEnable: g
4221
4224
  }, null, 40, ["field", "row"]))
4222
4225
  ]),
4223
4226
  key: "0"
@@ -4241,7 +4244,7 @@ const ri = {
4241
4244
  width: a.actionsWidth
4242
4245
  }, {
4243
4246
  default: b(({ row: F }) => [
4244
- O(f(he), { size: "small" }, {
4247
+ O(f(_e), { size: "small" }, {
4245
4248
  default: b(() => [
4246
4249
  Y(S.$slots, "actions", { row: F }, void 0, !0)
4247
4250
  ]),
@@ -4250,14 +4253,14 @@ const ri = {
4250
4253
  ]),
4251
4254
  _: 3
4252
4255
  }, 8, ["width"])) : T("", !0),
4253
- g.value ? (u(), $(f(je), {
4256
+ _.value ? (u(), $(f(je), {
4254
4257
  key: 1,
4255
4258
  fixed: "right",
4256
4259
  label: "操作",
4257
4260
  width: a.operationsWidth
4258
4261
  }, {
4259
4262
  default: b(({ row: F }) => [
4260
- O(f(he), { size: "small" }, {
4263
+ O(f(_e), { size: "small" }, {
4261
4264
  default: b(() => [
4262
4265
  O(Dt, {
4263
4266
  row: F,
@@ -4274,7 +4277,7 @@ const ri = {
4274
4277
  _: 3
4275
4278
  }, 8, ["data"]));
4276
4279
  }
4277
- }, nn = /* @__PURE__ */ V(ri, [["__scopeId", "data-v-5ebf5c7f"]]), ii = {
4280
+ }, nn = /* @__PURE__ */ V(ii, [["__scopeId", "data-v-ee2a6431"]]), li = {
4278
4281
  __name: "DataTable",
4279
4282
  props: {
4280
4283
  data: {
@@ -4295,7 +4298,7 @@ const ri = {
4295
4298
  e.$reset();
4296
4299
  const { mode: n } = ge(e), s = Re(), o = t, r = te(nn);
4297
4300
  function a(i) {
4298
- i == "grid" ? r.value = oi : r.value = nn;
4301
+ i == "grid" ? r.value = ai : r.value = nn;
4299
4302
  }
4300
4303
  return j(n, (i) => {
4301
4304
  a(i);
@@ -4308,7 +4311,7 @@ const ri = {
4308
4311
  }))
4309
4312
  ]), 1040));
4310
4313
  }
4311
- }, li = {
4314
+ }, ui = {
4312
4315
  __name: "DomainNew",
4313
4316
  props: {
4314
4317
  settings: {
@@ -4332,14 +4335,14 @@ const ri = {
4332
4335
  });
4333
4336
  });
4334
4337
  async function m() {
4335
- const l = o.settings.formHook, v = o.settings.fields.reduce((k, g) => (k[g.code] = g.default, k), {});
4338
+ const l = o.settings.formHook, v = o.settings.fields.reduce((k, _) => (k[_.code] = _.default, k), {});
4336
4339
  r.value = v, l.setupCreate && (r.value = l.setupCreate(r.value, s)), a.value = !0;
4337
4340
  }
4338
4341
  function c(l, v) {
4339
- const k = o.settings.formHook, g = o.settings.rest;
4342
+ const k = o.settings.formHook, _ = o.settings.rest;
4340
4343
  Object.keys(s).forEach((h) => {
4341
4344
  l[h] = s[h];
4342
- }), k != null && k.preCreateSubmit && (l = k.preCreateSubmit(l)), g.create(l).then(() => {
4345
+ }), k != null && k.preCreateSubmit && (l = k.preCreateSubmit(l)), _.create(l).then(() => {
4343
4346
  a.value = !1, e.fireCreated();
4344
4347
  }).catch(async () => {
4345
4348
  v();
@@ -4383,7 +4386,7 @@ const ri = {
4383
4386
  }
4384
4387
  },
4385
4388
  setup(t) {
4386
- const e = ve(), n = le(), s = t, o = te([]);
4389
+ const e = be(), n = le(), s = t, o = te([]);
4387
4390
  let r = "";
4388
4391
  async function a(d, m) {
4389
4392
  if (r = Me.service({ fullscreen: !0 }), d.path) {
@@ -4410,8 +4413,8 @@ const ri = {
4410
4413
  o.value = s.settings.rowActions(s.query);
4411
4414
  },
4412
4415
  { immediate: !0 }
4413
- ), (d, m) => (u(!0), x(P, null, H(o.value, (c) => (u(), x(P, null, [
4414
- c.isVisible(s.row, s.query, s.mode) ? (u(), x(P, { key: 0 }, [
4416
+ ), (d, m) => (u(!0), x(L, null, H(o.value, (c) => (u(), x(L, null, [
4417
+ c.isVisible(s.row, s.query, s.mode) ? (u(), x(L, { key: 0 }, [
4415
4418
  c.component ? (u(), $(G(c.component), {
4416
4419
  key: 0,
4417
4420
  row: t.row
@@ -4421,14 +4424,14 @@ const ri = {
4421
4424
  onClick: (l) => a(c, s.row)
4422
4425
  }, {
4423
4426
  default: b(() => [
4424
- M(B(c.name), 1)
4427
+ M(P(c.name), 1)
4425
4428
  ]),
4426
4429
  _: 2
4427
4430
  }, 1032, ["type", "onClick"]))
4428
4431
  ], 64)) : T("", !0)
4429
4432
  ], 64))), 256));
4430
4433
  }
4431
- }, ui = {
4434
+ }, ci = {
4432
4435
  __name: "PageActions",
4433
4436
  props: {
4434
4437
  settings: {
@@ -4479,8 +4482,8 @@ const ri = {
4479
4482
  r.value = n.settings.pageActions(n.query);
4480
4483
  },
4481
4484
  { immediate: !0 }
4482
- ), (c, l) => (u(!0), x(P, null, H(r.value, (v) => (u(), x(P, null, [
4483
- m(v.isVisible) ? (u(), x(P, { key: 0 }, [
4485
+ ), (c, l) => (u(!0), x(L, null, H(r.value, (v) => (u(), x(L, null, [
4486
+ m(v.isVisible) ? (u(), x(L, { key: 0 }, [
4484
4487
  v.component ? (u(), $(G(v.component), {
4485
4488
  key: 0,
4486
4489
  item: v,
@@ -4488,7 +4491,7 @@ const ri = {
4488
4491
  query: f(s),
4489
4492
  "table-data-select": t.tableDataSelect,
4490
4493
  "filter-form": t.filterForm
4491
- }, null, 8, ["item", "settings", "query", "table-data-select", "filter-form"])) : v.tooltip && v.tooltip.content ? (u(), $(f(_n), {
4494
+ }, null, 8, ["item", "settings", "query", "table-data-select", "filter-form"])) : v.tooltip && v.tooltip.content ? (u(), $(f(gn), {
4492
4495
  key: 1,
4493
4496
  effect: v.tooltip.effect || "dark",
4494
4497
  content: v.tooltip.content || "default tip",
@@ -4502,7 +4505,7 @@ const ri = {
4502
4505
  onClick: (k) => d(v)
4503
4506
  }, {
4504
4507
  default: b(() => [
4505
- M(B(v.name), 1)
4508
+ M(P(v.name), 1)
4506
4509
  ]),
4507
4510
  _: 2
4508
4511
  }, 1032, ["type", "loading", "disabled", "onClick"])
@@ -4516,14 +4519,14 @@ const ri = {
4516
4519
  onClick: (k) => d(v)
4517
4520
  }, {
4518
4521
  default: b(() => [
4519
- M(B(v.name), 1)
4522
+ M(P(v.name), 1)
4520
4523
  ]),
4521
4524
  _: 2
4522
4525
  }, 1032, ["type", "loading", "disabled", "onClick"]))
4523
4526
  ], 64)) : T("", !0)
4524
4527
  ], 64))), 256));
4525
4528
  }
4526
- }, ci = { class: "pagination-wrapper" }, di = {
4529
+ }, di = { class: "pagination-wrapper" }, pi = {
4527
4530
  __name: "Pagination",
4528
4531
  props: {
4529
4532
  total: {
@@ -4544,7 +4547,7 @@ const ri = {
4544
4547
  },
4545
4548
  emits: ["page-change"],
4546
4549
  setup(t, { emit: e }) {
4547
- const n = e, s = ve(), o = z(), r = t, a = A(r.page), i = A(r.size), d = A(r.total), m = A(r.pageSizes);
4550
+ const n = e, s = be(), o = z(), r = t, a = A(r.page), i = A(r.size), d = A(r.total), m = A(r.pageSizes);
4548
4551
  j(
4549
4552
  () => r.total,
4550
4553
  (v) => {
@@ -4576,8 +4579,8 @@ const ri = {
4576
4579
  }
4577
4580
  });
4578
4581
  }
4579
- return (v, k) => (u(), x("div", ci, [
4580
- O(f(_s), {
4582
+ return (v, k) => (u(), x("div", di, [
4583
+ O(f(gs), {
4581
4584
  background: "",
4582
4585
  "page-size": i.value,
4583
4586
  "page-sizes": m.value,
@@ -4589,54 +4592,54 @@ const ri = {
4589
4592
  }, null, 8, ["page-size", "page-sizes", "total", "current-page"])
4590
4593
  ]));
4591
4594
  }
4592
- }, pi = /* @__PURE__ */ V(di, [["__scopeId", "data-v-3c65f1a1"]]);
4595
+ }, fi = /* @__PURE__ */ V(pi, [["__scopeId", "data-v-1df5c171"]]);
4593
4596
  var sn;
4594
4597
  const Jn = typeof window < "u";
4595
4598
  Jn && ((sn = window == null ? void 0 : window.navigator) != null && sn.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
4596
- function fi(t) {
4599
+ function mi(t) {
4597
4600
  return typeof t == "function" ? t() : f(t);
4598
4601
  }
4599
- function mi(t) {
4602
+ function hi(t) {
4600
4603
  return t;
4601
4604
  }
4602
- function hi(t) {
4605
+ function _i(t) {
4603
4606
  return ns() ? (ss(t), !0) : !1;
4604
4607
  }
4605
4608
  function gi(t, e = !0) {
4606
4609
  os() ? pn(t) : e ? t() : as(t);
4607
4610
  }
4608
- function _i(t) {
4611
+ function yi(t) {
4609
4612
  var e;
4610
- const n = fi(t);
4613
+ const n = mi(t);
4611
4614
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
4612
4615
  }
4613
- const yi = Jn ? window : void 0;
4614
- function vi(t, e = !1) {
4616
+ const vi = Jn ? window : void 0;
4617
+ function bi(t, e = !1) {
4615
4618
  const n = A(), s = () => n.value = !!t();
4616
4619
  return s(), gi(s, e), n;
4617
4620
  }
4618
4621
  const on = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, an = "__vueuse_ssr_handlers__";
4619
4622
  on[an] = on[an] || {};
4620
- var rn = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, Ei = (t, e) => {
4623
+ var rn = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, $i = (t, e) => {
4621
4624
  var n = {};
4622
4625
  for (var s in t)
4623
- bi.call(t, s) && e.indexOf(s) < 0 && (n[s] = t[s]);
4626
+ wi.call(t, s) && e.indexOf(s) < 0 && (n[s] = t[s]);
4624
4627
  if (t != null && rn)
4625
4628
  for (var s of rn(t))
4626
- e.indexOf(s) < 0 && wi.call(t, s) && (n[s] = t[s]);
4629
+ e.indexOf(s) < 0 && Ei.call(t, s) && (n[s] = t[s]);
4627
4630
  return n;
4628
4631
  };
4629
4632
  function ln(t, e, n = {}) {
4630
- const s = n, { window: o = yi } = s, r = Ei(s, ["window"]);
4633
+ const s = n, { window: o = vi } = s, r = $i(s, ["window"]);
4631
4634
  let a;
4632
- const i = vi(() => o && "ResizeObserver" in o), d = () => {
4635
+ const i = bi(() => o && "ResizeObserver" in o), d = () => {
4633
4636
  a && (a.disconnect(), a = void 0);
4634
- }, m = j(() => _i(t), (l) => {
4637
+ }, m = j(() => yi(t), (l) => {
4635
4638
  d(), i.value && o && l && (a = new ResizeObserver(e), a.observe(l, r));
4636
4639
  }, { immediate: !0, flush: "post" }), c = () => {
4637
4640
  d(), m();
4638
4641
  };
4639
- return hi(c), {
4642
+ return _i(c), {
4640
4643
  isSupported: i,
4641
4644
  stop: c
4642
4645
  };
@@ -4645,15 +4648,15 @@ var un;
4645
4648
  (function(t) {
4646
4649
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
4647
4650
  })(un || (un = {}));
4648
- var $i = Object.defineProperty, cn = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, dn = (t, e, n) => e in t ? $i(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, ki = (t, e) => {
4651
+ var Si = Object.defineProperty, cn = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, dn = (t, e, n) => e in t ? Si(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Oi = (t, e) => {
4649
4652
  for (var n in e || (e = {}))
4650
- Si.call(e, n) && dn(t, n, e[n]);
4653
+ xi.call(e, n) && dn(t, n, e[n]);
4651
4654
  if (cn)
4652
4655
  for (var n of cn(e))
4653
- xi.call(e, n) && dn(t, n, e[n]);
4656
+ ki.call(e, n) && dn(t, n, e[n]);
4654
4657
  return t;
4655
4658
  };
4656
- const Oi = {
4659
+ const Fi = {
4657
4660
  easeInSine: [0.12, 0, 0.39, 0],
4658
4661
  easeOutSine: [0.61, 1, 0.88, 1],
4659
4662
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -4679,10 +4682,10 @@ const Oi = {
4679
4682
  easeOutBack: [0.34, 1.56, 0.64, 1],
4680
4683
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
4681
4684
  };
4682
- ki({
4683
- linear: mi
4684
- }, Oi);
4685
- const Fi = {
4685
+ Oi({
4686
+ linear: hi
4687
+ }, Fi);
4688
+ const Ci = {
4686
4689
  __name: "DataTablePage",
4687
4690
  props: {
4688
4691
  settings: {
@@ -4697,8 +4700,8 @@ const Fi = {
4697
4700
  },
4698
4701
  setup(t) {
4699
4702
  var Tt, Pt;
4700
- rs((L) => ({
4701
- "5d517c06": es.value
4703
+ rs((B) => ({
4704
+ a9002c92: es.value
4702
4705
  }));
4703
4706
  const e = z(), n = J(e), s = t, o = Be(
4704
4707
  s.settings.code,
@@ -4706,99 +4709,101 @@ const Fi = {
4706
4709
  s.settings.filters,
4707
4710
  s.settings.filterHook
4708
4711
  )(), { filters: r } = ge(o), a = (Tt = s == null ? void 0 : s.hasMany) == null ? void 0 : Tt.tableName;
4709
- j(r, (L) => {
4710
- p.value = L, X();
4712
+ j(r, (B) => {
4713
+ p.value = B, X();
4711
4714
  });
4712
4715
  const i = le(), { created: d, updated: m, removed: c } = ge(i);
4713
- j([d, m, c], ([L, q, se]) => {
4714
- (L || q || se) && X();
4716
+ j([d, m, c], ([B, q, se]) => {
4717
+ (B || q || se) && X();
4715
4718
  });
4716
- const l = A(!0), v = A([]), k = A(0), g = A({}), h = A({}), _ = A(null), E = A(null), p = A({}), S = A(parseInt(e.query.pageSize) || 30), y = A(parseInt(e.query.page) || 1), F = (Pt = s.hasMany) == null ? void 0 : Pt.tableContentHeight;
4717
- function D(L) {
4719
+ const l = A(!0), v = A([]), k = A(0), _ = A({}), h = A({}), g = A(null), E = A(null), p = A({}), S = A(parseInt(e.query.pageSize) || 30), y = A(parseInt(e.query.page) || 1), F = (Pt = s.hasMany) == null ? void 0 : Pt.tableContentHeight;
4720
+ function D(B) {
4718
4721
  let q = null;
4719
- if (L.order === "ascending" ? q = "ASC" : L.order === "descending" && (q = "DESC"), p.value.sorters) {
4722
+ if (B.order === "ascending" ? q = "ASC" : B.order === "descending" && (q = "DESC"), p.value.sorters) {
4720
4723
  let se = [];
4721
- p.value.sorters.some((ue) => ue.field === L.prop) ? p.value.sorters.forEach((ue) => {
4722
- ue.field === L.prop && (ue.order = q, ue.name || se.push(ue)), ue.name && se.push(ue);
4724
+ p.value.sorters.some((ue) => ue.field === B.prop) ? p.value.sorters.forEach((ue) => {
4725
+ ue.field === B.prop && (ue.order = q, ue.name || se.push(ue)), ue.name && se.push(ue);
4723
4726
  }) : se = [
4724
4727
  ...p.value.sorters,
4725
- { field: L.prop, order: q }
4728
+ { field: B.prop, order: q }
4726
4729
  ], p.value.sorters = se;
4727
4730
  } else
4728
- p.value.sorters = [{ field: L.prop, order: q }];
4731
+ p.value.sorters = [{ field: B.prop, order: q }];
4729
4732
  X();
4730
4733
  }
4731
4734
  function Q() {
4732
4735
  h.value = s.settings.operations(n);
4733
4736
  }
4734
- function X(L) {
4737
+ function X(B) {
4735
4738
  l.value = !0;
4736
4739
  const q = {
4737
4740
  ...p.value,
4738
4741
  ...n,
4739
4742
  ...s.query,
4740
- page: L == "again" ? y.value - 1 : y.value,
4743
+ page: B == "again" ? y.value - 1 : y.value,
4741
4744
  size: S.value
4742
4745
  };
4743
4746
  s.settings.rest.getList(q).then((se) => {
4744
- g.value.data = [], v.value = se.data.rows, k.value = se.data.count, l.value = !1, k.value && v.value.length == 0 && X("again");
4747
+ _.value.data = [], v.value = se.data.rows, k.value = se.data.count, l.value = !1, k.value && v.value.length == 0 && X("again");
4745
4748
  });
4746
4749
  }
4747
- function U(L) {
4748
- y.value = L.page, S.value = L.size, X();
4750
+ function U(B) {
4751
+ y.value = B.page, S.value = B.size, X();
4749
4752
  }
4750
- function ie(L) {
4751
- const q = { id: L.id, enable: !L.enable };
4753
+ function ie(B) {
4754
+ const q = { id: B.id, enable: !B.enable };
4752
4755
  s.settings.rest.enable(q).then(() => {
4753
4756
  X();
4754
4757
  });
4755
4758
  }
4756
- function Xn(L) {
4757
- if (L.enable) {
4758
- const q = L.label === "上架" ? "下架" : "停用";
4759
+ function Xn(B) {
4760
+ if (B.enable) {
4761
+ const q = B.label === "上架" ? "下架" : "停用";
4759
4762
  ElMessageBox.confirm(`确定要${q}该条数据吗?`, "提示", {
4760
4763
  confirmButtonText: "确定",
4761
4764
  cancelButtonText: "取消",
4762
4765
  type: "warning"
4763
4766
  }).then(() => {
4764
- ie(L);
4767
+ ie(B);
4765
4768
  }).catch(() => {
4766
4769
  });
4767
4770
  } else
4768
- ie(L);
4771
+ ie(B);
4769
4772
  }
4770
- function Zn(L) {
4771
- g.value = L;
4773
+ function Zn(B) {
4774
+ _.value = B;
4772
4775
  }
4773
4776
  const At = A(0), Rt = A(0);
4774
- ln(_, (L) => {
4777
+ ln(g, (B) => {
4775
4778
  var q;
4776
- At.value = ((q = L[0]) == null ? void 0 : q.contentRect.height) || 0;
4777
- }), ln(E, (L) => {
4779
+ At.value = ((q = B[0]) == null ? void 0 : q.contentRect.height) || 0;
4780
+ }), ln(E, (B) => {
4778
4781
  var q;
4779
- Rt.value = ((q = L[0]) == null ? void 0 : q.contentRect.height) || 0;
4782
+ Rt.value = ((q = B[0]) == null ? void 0 : q.contentRect.height) || 0;
4780
4783
  });
4781
- const es = I(() => F && k.value > 0 ? `${F}px` : `calc(100% - ${At.value + Rt.value}px)`);
4782
- return Q(), (L, q) => (u(), x("div", {
4784
+ const es = I(() => F && k.value > 0 ? `${F - 14}px` : `calc(100% - ${At.value + Rt.value + 14}px)`);
4785
+ return Q(), (B, q) => (u(), x("div", {
4783
4786
  key: s.settings.code,
4784
- style: { height: "100%" }
4787
+ style: { height: "100%" },
4788
+ class: "aa"
4785
4789
  }, [
4786
4790
  C("div", {
4787
4791
  ref_key: "pageHeader",
4788
- ref: _
4792
+ ref: g,
4793
+ class: "header-wrap"
4789
4794
  }, [
4790
- O(Mr, {
4795
+ O(Ir, {
4791
4796
  settings: s.settings,
4792
4797
  "table-name": f(a)
4793
4798
  }, {
4794
4799
  operations: b(() => [
4795
- O(ui, {
4800
+ O(ci, {
4796
4801
  settings: s.settings,
4797
- "table-data-select": g.value,
4802
+ "table-data-select": _.value,
4798
4803
  query: f(n),
4799
4804
  "filter-form": p.value
4800
4805
  }, null, 8, ["settings", "table-data-select", "query", "filter-form"]),
4801
- O(li, {
4806
+ O(ui, {
4802
4807
  settings: s.settings,
4803
4808
  operations: h.value
4804
4809
  }, null, 8, ["settings", "operations"])
@@ -4806,7 +4811,7 @@ const Fi = {
4806
4811
  _: 1
4807
4812
  }, 8, ["settings", "table-name"])
4808
4813
  ], 512),
4809
- _e((u(), $(ii, {
4814
+ ye((u(), $(li, {
4810
4815
  class: "data-table-box",
4811
4816
  data: v.value,
4812
4817
  operations: h.value,
@@ -4829,14 +4834,14 @@ const Fi = {
4829
4834
  key: "0"
4830
4835
  } : void 0
4831
4836
  ]), 1032, ["data", "operations", "settings", "actions-width"])), [
4832
- [f(ye), l.value]
4837
+ [f(ve), l.value]
4833
4838
  ]),
4834
4839
  s.settings.showPagination ? (u(), x("div", {
4835
4840
  key: 0,
4836
4841
  ref_key: "pagination",
4837
4842
  ref: E
4838
4843
  }, [
4839
- O(pi, {
4844
+ O(fi, {
4840
4845
  page: y.value,
4841
4846
  size: S.value,
4842
4847
  total: k.value,
@@ -4845,9 +4850,9 @@ const Fi = {
4845
4850
  ], 512)) : T("", !0)
4846
4851
  ]));
4847
4852
  }
4848
- }, Gn = /* @__PURE__ */ V(Fi, [["__scopeId", "data-v-93a7e56c"]]);
4853
+ }, Gn = /* @__PURE__ */ V(Ci, [["__scopeId", "data-v-1a269129"]]);
4849
4854
  /*! Element Plus v2.11.2 */
4850
- var Ci = {
4855
+ var Di = {
4851
4856
  name: "zh-cn",
4852
4857
  el: {
4853
4858
  breadcrumb: {
@@ -5026,7 +5031,7 @@ var Ci = {
5026
5031
  }
5027
5032
  }
5028
5033
  };
5029
- const Di = {
5034
+ const Ai = {
5030
5035
  __name: "TooltipText",
5031
5036
  props: {
5032
5037
  content: {
@@ -5050,19 +5055,19 @@ const Di = {
5050
5055
  setup(t) {
5051
5056
  const e = t, n = I(() => e.content ? e.content.toString() : "");
5052
5057
  return (s, o) => (u(), x("div", null, [
5053
- n.value.length > e.tipShowLength ? (u(), $(f(_n), {
5058
+ n.value.length > e.tipShowLength ? (u(), $(f(gn), {
5054
5059
  key: 0,
5055
5060
  content: n.value,
5056
5061
  effect: "light"
5057
5062
  }, {
5058
5063
  default: b(() => [
5059
5064
  O(f(ut), {
5060
- class: we(e.className),
5065
+ class: me(e.className),
5061
5066
  type: e.textType,
5062
5067
  "line-clamp": e.lineClamp
5063
5068
  }, {
5064
5069
  default: b(() => [
5065
- M(B(n.value), 1)
5070
+ M(P(n.value), 1)
5066
5071
  ]),
5067
5072
  _: 1
5068
5073
  }, 8, ["class", "type", "line-clamp"])
@@ -5071,16 +5076,16 @@ const Di = {
5071
5076
  }, 8, ["content"])) : (u(), $(f(ut), {
5072
5077
  key: 1,
5073
5078
  type: e.textType,
5074
- class: we(e.className)
5079
+ class: me(e.className)
5075
5080
  }, {
5076
5081
  default: b(() => [
5077
- M(B(n.value), 1)
5082
+ M(P(n.value), 1)
5078
5083
  ]),
5079
5084
  _: 1
5080
5085
  }, 8, ["type", "class"]))
5081
5086
  ]));
5082
5087
  }
5083
- }, Ai = { class: "header-box" }, Ri = { class: "header-box-left" }, Ti = { class: "page-title" }, Pi = { class: "tabs-container" }, Li = { class: "user-profile" }, Bi = {
5088
+ }, Ri = { class: "header-box" }, Ti = { class: "header-box-left" }, Pi = { class: "page-title" }, Li = { class: "tabs-container" }, Bi = { class: "user-profile" }, ji = {
5084
5089
  __name: "HeaderMenu",
5085
5090
  props: {
5086
5091
  config: {
@@ -5088,64 +5093,64 @@ const Di = {
5088
5093
  }
5089
5094
  },
5090
5095
  setup(t) {
5091
- const e = ve(), n = z(), s = Ct(), o = A("首页"), r = t, a = n.fullPath.split("/")[1], i = k();
5096
+ const e = be(), n = z(), s = Ct(), o = A("首页"), r = t, a = n.fullPath.split("/")[1], i = k();
5092
5097
  s.setupRootPath("首页", `/${a}/home`);
5093
- function d(g) {
5098
+ function d(_) {
5094
5099
  var S, y;
5095
- const h = g.meta.side, _ = g.params.domain;
5096
- let E = (S = g.meta) == null ? void 0 : S.title, p = (y = g.meta) == null ? void 0 : y.code;
5097
- if (h && _) {
5098
- E = kt()[h][g.params.domain].name, p = g.params.domain;
5099
- const F = g.params.id;
5100
- F && F != "detail" && (E = `${E} - ${g.params.id}`, p = `${g.params.domain}-${g.params.id}`);
5100
+ const h = _.meta.side, g = _.params.domain;
5101
+ let E = (S = _.meta) == null ? void 0 : S.title, p = (y = _.meta) == null ? void 0 : y.code;
5102
+ if (h && g) {
5103
+ E = kt()[h][_.params.domain].name, p = _.params.domain;
5104
+ const F = _.params.id;
5105
+ F && F != "detail" && (E = `${E} - ${_.params.id}`, p = `${_.params.domain}-${_.params.id}`);
5101
5106
  } else {
5102
- const F = i.find((D) => D.route === g.path);
5107
+ const F = i.find((D) => D.route === _.path);
5103
5108
  F && (E = F.title, p = F.route);
5104
5109
  }
5105
- E && p && (s.push(E, p, g.fullPath), o.value = p);
5110
+ E && p && (s.push(E, p, _.fullPath), o.value = p);
5106
5111
  }
5107
- function m(g) {
5108
- const h = s.history.find((_) => _.code == g.props.name);
5112
+ function m(_) {
5113
+ const h = s.history.find((g) => g.code == _.props.name);
5109
5114
  e.push(h.path);
5110
5115
  }
5111
- function c(g) {
5112
- if (s.remove(g), g == o.value) {
5116
+ function c(_) {
5117
+ if (s.remove(_), _ == o.value) {
5113
5118
  const h = s.getLast();
5114
5119
  o.value = h.title, e.push(h.path);
5115
5120
  }
5116
5121
  }
5117
- const l = (g, h) => {
5118
- const _ = s.history.length;
5119
- return g === 0 && h === "self" || g < 2 && h === "left" || g === _ - 1 && h === "right" || _ === 1 && h === "all" ? !1 : !(_ < 2 && h === "other");
5122
+ const l = (_, h) => {
5123
+ const g = s.history.length;
5124
+ return _ === 0 && h === "self" || _ < 2 && h === "left" || _ === g - 1 && h === "right" || g === 1 && h === "all" ? !1 : !(g < 2 && h === "other");
5120
5125
  };
5121
- function v(g, h) {
5122
- const _ = [], E = s.history;
5126
+ function v(_, h) {
5127
+ const g = [], E = s.history;
5123
5128
  switch (h) {
5124
5129
  case "self":
5125
- _.push(E[g].code);
5130
+ g.push(E[_].code);
5126
5131
  break;
5127
5132
  case "left":
5128
- for (let p = 0; p < g; p++)
5129
- p !== 0 && _.push(E[p].code);
5133
+ for (let p = 0; p < _; p++)
5134
+ p !== 0 && g.push(E[p].code);
5130
5135
  break;
5131
5136
  case "right":
5132
- for (let p = g + 1; p < E.length; p++)
5133
- _.push(E[p].code);
5137
+ for (let p = _ + 1; p < E.length; p++)
5138
+ g.push(E[p].code);
5134
5139
  break;
5135
5140
  case "all":
5136
5141
  for (let p = 0; p < E.length; p++)
5137
- p !== 0 && _.push(E[p].code);
5142
+ p !== 0 && g.push(E[p].code);
5138
5143
  break;
5139
5144
  case "other":
5140
5145
  for (let p = 1; p < E.length; p++)
5141
- p !== g && _.push(E[p].code);
5146
+ p !== _ && g.push(E[p].code);
5142
5147
  break;
5143
5148
  }
5144
- for (let p = 0; p < _.length; p++)
5145
- c(_[p]);
5149
+ for (let p = 0; p < g.length; p++)
5150
+ c(g[p]);
5146
5151
  }
5147
5152
  function k() {
5148
- return r.config.sideMenus[a].map((g) => g.children ? g.children : g).flat();
5153
+ return r.config.sideMenus[a].map((_) => _.children ? _.children : _).flat();
5149
5154
  }
5150
5155
  return j(
5151
5156
  () => e.currentRoute.value,
@@ -5153,31 +5158,31 @@ const Di = {
5153
5158
  d(n);
5154
5159
  },
5155
5160
  { immediate: !0 }
5156
- ), (g, h) => (u(), x("div", Ai, [
5161
+ ), (_, h) => (u(), x("div", Ri, [
5157
5162
  C("div", null, [
5158
- C("div", Ri, [
5159
- O(f(gn), {
5163
+ C("div", Ti, [
5164
+ O(f(_n), {
5160
5165
  class: "header-img",
5161
5166
  src: r.config.logo,
5162
5167
  fit: "scale-down"
5163
5168
  }, null, 8, ["src"]),
5164
- C("div", Ti, B(r.config.name), 1)
5169
+ C("div", Pi, P(r.config.name), 1)
5165
5170
  ])
5166
5171
  ]),
5167
- C("div", Pi, [
5172
+ C("div", Li, [
5168
5173
  O(f(yn), {
5169
5174
  modelValue: o.value,
5170
- "onUpdate:modelValue": h[0] || (h[0] = (_) => o.value = _),
5175
+ "onUpdate:modelValue": h[0] || (h[0] = (g) => o.value = g),
5171
5176
  type: "card",
5172
5177
  class: "tabs",
5173
5178
  onTabClick: m,
5174
5179
  onTabRemove: c
5175
5180
  }, {
5176
5181
  default: b(() => [
5177
- (u(!0), x(P, null, H(f(s).history, (_, E) => (u(), $(f(vn), {
5178
- closable: _.title != "首页",
5179
- label: _.title,
5180
- name: _.code
5182
+ (u(!0), x(L, null, H(f(s).history, (g, E) => (u(), $(f(vn), {
5183
+ closable: g.title != "首页",
5184
+ label: g.title,
5185
+ name: g.code
5181
5186
  }, {
5182
5187
  label: b(() => [
5183
5188
  O(f(it), { trigger: "contextmenu" }, {
@@ -5264,8 +5269,8 @@ const Di = {
5264
5269
  }, 1024)
5265
5270
  ]),
5266
5271
  default: b(() => [
5267
- O(Di, {
5268
- content: _.title,
5272
+ O(Ai, {
5273
+ content: g.title,
5269
5274
  "line-clamp": 1,
5270
5275
  "class-name": "tab-pane-label",
5271
5276
  "tip-show-length": "6"
@@ -5281,7 +5286,7 @@ const Di = {
5281
5286
  }, 8, ["modelValue"]),
5282
5287
  C("span", {
5283
5288
  class: "back-icon",
5284
- onClick: h[1] || (h[1] = (_) => f(e).back())
5289
+ onClick: h[1] || (h[1] = (g) => f(e).back())
5285
5290
  }, [
5286
5291
  O(f(K), null, {
5287
5292
  default: b(() => [
@@ -5291,17 +5296,17 @@ const Di = {
5291
5296
  })
5292
5297
  ])
5293
5298
  ]),
5294
- C("div", Li, [
5295
- Y(g.$slots, "user-profile", {}, void 0, !0)
5299
+ C("div", Bi, [
5300
+ Y(_.$slots, "user-profile", {}, void 0, !0)
5296
5301
  ])
5297
5302
  ]));
5298
5303
  }
5299
- }, ji = /* @__PURE__ */ V(Bi, [["__scopeId", "data-v-598fe7a8"]]), Vi = (t) => (fn("data-v-9a00f172"), t = t(), mn(), t), Mi = {
5304
+ }, Vi = /* @__PURE__ */ V(ji, [["__scopeId", "data-v-598fe7a8"]]), Mi = (t) => (fn("data-v-9a00f172"), t = t(), mn(), t), Ii = {
5300
5305
  key: 2,
5301
5306
  class: "dot-wrapper"
5302
- }, Ii = /* @__PURE__ */ Vi(() => /* @__PURE__ */ C("span", { class: "dot" }, null, -1)), Ni = [
5303
- Ii
5304
- ], zi = {
5307
+ }, Ni = /* @__PURE__ */ Mi(() => /* @__PURE__ */ C("span", { class: "dot" }, null, -1)), zi = [
5308
+ Ni
5309
+ ], Ui = {
5305
5310
  __name: "SideBarItem",
5306
5311
  props: {
5307
5312
  data: { type: Object },
@@ -5328,10 +5333,10 @@ const Di = {
5328
5333
  ]),
5329
5334
  _: 1
5330
5335
  })),
5331
- C("span", null, B(t.data.title), 1)
5336
+ C("span", null, P(t.data.title), 1)
5332
5337
  ]),
5333
5338
  default: b(() => [
5334
- (u(!0), x(P, null, H(t.data.children, (o) => (u(), $(Yn, {
5339
+ (u(!0), x(L, null, H(t.data.children, (o) => (u(), $(Yn, {
5335
5340
  data: o,
5336
5341
  "has-parent": !0
5337
5342
  }, null, 8, ["data"]))), 256))
@@ -5349,18 +5354,18 @@ const Di = {
5349
5354
  (u(), $(G(t.data.icon)))
5350
5355
  ]),
5351
5356
  _: 1
5352
- })) : e.hasParent ? (u(), x("span", Mi, Ni)) : (u(), $(f(K), { key: 1 }, {
5357
+ })) : e.hasParent ? (u(), x("span", Ii, zi)) : (u(), $(f(K), { key: 1 }, {
5353
5358
  default: b(() => [
5354
5359
  O(f(en))
5355
5360
  ]),
5356
5361
  _: 1
5357
5362
  })),
5358
- C("span", null, B(t.data.title), 1)
5363
+ C("span", null, P(t.data.title), 1)
5359
5364
  ]),
5360
5365
  _: 1
5361
5366
  }, 8, ["index", "route"]));
5362
5367
  }
5363
- }, Yn = /* @__PURE__ */ V(zi, [["__scopeId", "data-v-9a00f172"]]), Ui = {
5368
+ }, Yn = /* @__PURE__ */ V(Ui, [["__scopeId", "data-v-9a00f172"]]), Hi = {
5364
5369
  __name: "SideBar",
5365
5370
  props: {
5366
5371
  sideMenus: {
@@ -5368,7 +5373,7 @@ const Di = {
5368
5373
  }
5369
5374
  },
5370
5375
  setup(t) {
5371
- const e = ve(), n = z(), s = A(n.fullPath), o = t, r = n.fullPath.split("/")[1], a = o.sideMenus[r];
5376
+ const e = be(), n = z(), s = A(n.fullPath), o = t, r = n.fullPath.split("/")[1], a = o.sideMenus[r];
5372
5377
  return j(
5373
5378
  () => e.currentRoute.value,
5374
5379
  () => {
@@ -5388,7 +5393,7 @@ const Di = {
5388
5393
  "default-active": s.value
5389
5394
  }, {
5390
5395
  default: b(() => [
5391
- (u(!0), x(P, null, H(f(a), (m) => (u(), $(Yn, { data: m }, null, 8, ["data"]))), 256))
5396
+ (u(!0), x(L, null, H(f(a), (m) => (u(), $(Yn, { data: m }, null, 8, ["data"]))), 256))
5392
5397
  ]),
5393
5398
  _: 1
5394
5399
  }, 8, ["default-active"])
@@ -5396,7 +5401,7 @@ const Di = {
5396
5401
  _: 1
5397
5402
  }));
5398
5403
  }
5399
- }, Hi = /* @__PURE__ */ V(Ui, [["__scopeId", "data-v-bbb38e99"]]), qi = {
5404
+ }, qi = /* @__PURE__ */ V(Hi, [["__scopeId", "data-v-bbb38e99"]]), Wi = {
5400
5405
  __name: "BaseLayout",
5401
5406
  props: {
5402
5407
  config: {
@@ -5408,13 +5413,13 @@ const Di = {
5408
5413
  const e = z(), n = t, s = { ...We(), ...n.config }, o = I(() => e.params.domain ? e.params.domain : e.fullPath);
5409
5414
  return (r, a) => {
5410
5415
  const i = Qe("router-view");
5411
- return u(), $(f(Es), { locale: f(Ci) }, {
5416
+ return u(), $(f(Es), { locale: f(Di) }, {
5412
5417
  default: b(() => [
5413
5418
  O(f(It), { style: { height: "100%" } }, {
5414
5419
  default: b(() => [
5415
5420
  O(f($s), { class: "page-header" }, {
5416
5421
  default: b(() => [
5417
- O(ji, { config: s }, {
5422
+ O(Vi, { config: s }, {
5418
5423
  "user-profile": b(() => [
5419
5424
  Y(r.$slots, "user-profile", {}, void 0, !0)
5420
5425
  ]),
@@ -5424,35 +5429,40 @@ const Di = {
5424
5429
  _: 3
5425
5430
  }),
5426
5431
  O(f(It), { class: "page-content-container" }, {
5427
- default: b(() => [
5428
- O(f(Ss), { class: "page-content-aside" }, {
5429
- default: b(() => [
5430
- O(Hi, {
5431
- "side-menus": s.sideMenus
5432
- }, null, 8, ["side-menus"])
5433
- ]),
5434
- _: 1
5435
- }),
5436
- O(f(xs), { class: "page-content-main" }, {
5437
- default: b(() => [
5438
- f(e).params.domain ? (u(), $(i, { key: 0 }, {
5439
- default: b(({ Component: d, route: m }) => [
5440
- O(is, {
5441
- name: "KxtFade",
5442
- mode: "out-in"
5443
- }, {
5444
- default: b(() => [
5445
- (u(), $(G(d), { key: o.value }))
5446
- ]),
5447
- _: 2
5448
- }, 1024)
5449
- ]),
5450
- _: 1
5451
- })) : (u(), $(i, { key: o.value }))
5452
- ]),
5453
- _: 1
5454
- })
5455
- ]),
5432
+ default: b(() => {
5433
+ var d;
5434
+ return [
5435
+ O(f(Ss), { class: "page-content-aside" }, {
5436
+ default: b(() => [
5437
+ O(qi, {
5438
+ "side-menus": s.sideMenus
5439
+ }, null, 8, ["side-menus"])
5440
+ ]),
5441
+ _: 1
5442
+ }),
5443
+ O(f(xs), {
5444
+ class: me(["page-content-main", (d = f(e).fullPath) != null && d.includes("/list") ? "list-main" : ""])
5445
+ }, {
5446
+ default: b(() => [
5447
+ f(e).params.domain ? (u(), $(i, { key: 0 }, {
5448
+ default: b(({ Component: m, route: c }) => [
5449
+ O(is, {
5450
+ name: "KxtFade",
5451
+ mode: "out-in"
5452
+ }, {
5453
+ default: b(() => [
5454
+ (u(), $(G(m), { key: o.value }))
5455
+ ]),
5456
+ _: 2
5457
+ }, 1024)
5458
+ ]),
5459
+ _: 1
5460
+ })) : (u(), $(i, { key: o.value }))
5461
+ ]),
5462
+ _: 1
5463
+ }, 8, ["class"])
5464
+ ];
5465
+ }),
5456
5466
  _: 1
5457
5467
  })
5458
5468
  ]),
@@ -5463,10 +5473,10 @@ const Di = {
5463
5473
  }, 8, ["locale"]);
5464
5474
  };
5465
5475
  }
5466
- }, Ul = /* @__PURE__ */ V(qi, [["__scopeId", "data-v-51b35c76"]]), Wi = {
5476
+ }, ql = /* @__PURE__ */ V(Wi, [["__scopeId", "data-v-8a72885c"]]), Qi = {
5467
5477
  key: 1,
5468
5478
  class: "loading-wrapper"
5469
- }, Qi = {
5479
+ }, Ji = {
5470
5480
  __name: "List",
5471
5481
  props: {
5472
5482
  domain: {
@@ -5480,14 +5490,14 @@ const Di = {
5480
5490
  }), (a, i) => r.value ? (u(), $(Gn, {
5481
5491
  key: 0,
5482
5492
  settings: r.value
5483
- }, null, 8, ["settings"])) : _e((u(), x("div", Wi, null, 512)), [
5484
- [f(ye), !0]
5493
+ }, null, 8, ["settings"])) : ye((u(), x("div", Qi, null, 512)), [
5494
+ [f(ve), !0]
5485
5495
  ]);
5486
5496
  }
5487
- }, Ji = /* @__PURE__ */ V(Qi, [["__scopeId", "data-v-2d9c8e98"]]), Gi = { key: 0 }, Yi = { class: "key" }, Ki = { class: "value" }, Xi = {
5497
+ }, Gi = /* @__PURE__ */ V(Ji, [["__scopeId", "data-v-2d9c8e98"]]), Yi = { key: 0 }, Ki = { class: "key" }, Xi = { class: "value" }, Zi = { style: { color: "#111", "font-size": "14px", "font-weight": "500" } }, el = {
5488
5498
  key: 1,
5489
5499
  class: "loading-wrapper"
5490
- }, Zi = {
5500
+ }, tl = {
5491
5501
  __name: "DomainDescription",
5492
5502
  props: {
5493
5503
  settings: {
@@ -5512,23 +5522,23 @@ const Di = {
5512
5522
  "tree-select"
5513
5523
  // "radio-group",
5514
5524
  // "input-number",
5515
- ], c = I(() => s.settings.fields.filter((_) => _.showInDetail(d.value, {
5525
+ ], c = I(() => s.settings.fields.filter((g) => g.showInDetail(d.value, {
5516
5526
  ...r,
5517
5527
  ...s.query
5518
- }))), l = I(() => c.value.find((_) => _.code === s.settings.coverField)), v = I(() => c.value.filter((_) => !m.includes(_.type) && !_.extendDetail)), k = I(() => {
5528
+ }))), l = I(() => c.value.find((g) => g.code === s.settings.coverField)), v = I(() => c.value.filter((g) => !m.includes(g.type) && !g.extendDetail)), k = I(() => {
5519
5529
  var E;
5520
- const _ = (E = l.value) == null ? void 0 : E.code;
5521
- return c.value.filter((p) => m.includes(p.type) || p.extendDetail).filter((p) => p.code !== _);
5522
- }), g = I({
5530
+ const g = (E = l.value) == null ? void 0 : E.code;
5531
+ return c.value.filter((p) => m.includes(p.type) || p.extendDetail).filter((p) => p.code !== g);
5532
+ }), _ = I({
5523
5533
  get() {
5524
- return k.value.map((_) => _.code);
5534
+ return k.value.map((g) => g.code);
5525
5535
  },
5526
- set(_) {
5536
+ set(g) {
5527
5537
  }
5528
5538
  });
5529
5539
  function h() {
5530
- s.settings.rest.getOne(s.query).then((_) => {
5531
- _.data.isDeleted = !!_.data.deletedAt, d.value = _.data, n("done", _.data);
5540
+ s.settings.rest.getOne(s.query).then((g) => {
5541
+ g.data.isDeleted = !!g.data.deletedAt, d.value = g.data, n("done", g.data);
5532
5542
  });
5533
5543
  }
5534
5544
  return j(
@@ -5537,9 +5547,9 @@ const Di = {
5537
5547
  h();
5538
5548
  },
5539
5549
  { immediate: !0 }
5540
- ), (_, E) => (u(), x("div", null, [
5541
- d.value ? (u(), x("div", Gi, [
5542
- O(f(me), { gutter: 20 }, {
5550
+ ), (g, E) => (u(), x("div", null, [
5551
+ d.value ? (u(), x("div", Yi, [
5552
+ O(f(he), { gutter: 20 }, {
5543
5553
  default: b(() => [
5544
5554
  l.value ? (u(), $(f(pe), {
5545
5555
  key: 0,
@@ -5558,18 +5568,18 @@ const Di = {
5558
5568
  span: l.value ? 18 : 24
5559
5569
  }, {
5560
5570
  default: b(() => [
5561
- O(f(me), { gutter: 20 }, {
5571
+ O(f(he), { gutter: 20 }, {
5562
5572
  default: b(() => [
5563
- (u(!0), x(P, null, H(v.value, (p) => (u(), $(f(pe), {
5573
+ (u(!0), x(L, null, H(v.value, (p) => (u(), $(f(pe), {
5564
5574
  span: p.span,
5565
5575
  class: "mono-data",
5566
5576
  style: { "margin-bottom": "20px" }
5567
5577
  }, {
5568
5578
  default: b(() => [
5569
- C("div", Yi, B(p.label), 1),
5570
- C("div", Ki, [
5571
- p.code === "id" ? (u(), x(P, { key: 0 }, [
5572
- M(B(d.value.id), 1)
5579
+ C("div", Ki, P(p.label), 1),
5580
+ C("div", Xi, [
5581
+ p.code === "id" ? (u(), x(L, { key: 0 }, [
5582
+ M(P(d.value.id), 1)
5573
5583
  ], 64)) : (u(), $(G(p.display), {
5574
5584
  key: 1,
5575
5585
  field: p,
@@ -5591,16 +5601,19 @@ const Di = {
5591
5601
  }),
5592
5602
  k.value.length > 0 ? (u(), $(f(bn), {
5593
5603
  key: 0,
5594
- modelValue: g.value,
5595
- "onUpdate:modelValue": E[0] || (E[0] = (p) => g.value = p),
5604
+ modelValue: _.value,
5605
+ "onUpdate:modelValue": E[0] || (E[0] = (p) => _.value = p),
5596
5606
  class: "extend-fields"
5597
5607
  }, {
5598
5608
  default: b(() => [
5599
- (u(!0), x(P, null, H(k.value, (p) => (u(), $(f(wn), {
5600
- title: p.label,
5609
+ (u(!0), x(L, null, H(k.value, (p) => (u(), $(f(wn), {
5610
+ title: null,
5601
5611
  name: p.code,
5602
5612
  class: "mono-data"
5603
5613
  }, {
5614
+ title: b(() => [
5615
+ C("span", Zi, P(p.label), 1)
5616
+ ]),
5604
5617
  default: b(() => [
5605
5618
  (u(), $(G(p.display), {
5606
5619
  field: p,
@@ -5609,19 +5622,19 @@ const Di = {
5609
5622
  }, null, 8, ["field", "row"]))
5610
5623
  ]),
5611
5624
  _: 2
5612
- }, 1032, ["title", "name"]))), 256))
5625
+ }, 1032, ["name"]))), 256))
5613
5626
  ]),
5614
5627
  _: 1
5615
5628
  }, 8, ["modelValue"])) : T("", !0)
5616
- ])) : _e((u(), x("div", Xi, null, 512)), [
5617
- [f(ye), !0]
5629
+ ])) : ye((u(), x("div", el, null, 512)), [
5630
+ [f(ve), !0]
5618
5631
  ])
5619
5632
  ]));
5620
5633
  }
5621
- }, Kn = /* @__PURE__ */ V(Zi, [["__scopeId", "data-v-86b40533"]]), el = { key: 0 }, tl = { class: "group-item-head" }, nl = { class: "key" }, sl = { class: "value" }, ol = {
5634
+ }, Kn = /* @__PURE__ */ V(tl, [["__scopeId", "data-v-b0b39e69"]]), nl = { key: 0 }, sl = { class: "group-item-head" }, ol = { class: "key" }, al = { class: "value" }, rl = {
5622
5635
  key: 1,
5623
5636
  class: "loading-wrapper"
5624
- }, al = {
5637
+ }, il = {
5625
5638
  __name: "DomainDescriptionGroup",
5626
5639
  props: {
5627
5640
  settings: {
@@ -5649,10 +5662,10 @@ const Di = {
5649
5662
  ], m = I(() => {
5650
5663
  var l, v;
5651
5664
  return ((v = (l = s.settings) == null ? void 0 : l.detailGroupFields) == null ? void 0 : v.map((k) => {
5652
- var h, _, E, p;
5653
- const g = ((_ = (h = k == null ? void 0 : k.childrenFields) == null ? void 0 : h.filter(
5665
+ var h, g, E, p;
5666
+ const _ = ((g = (h = k == null ? void 0 : k.childrenFields) == null ? void 0 : h.filter(
5654
5667
  (S) => d.includes(S.type) || S.extendDetail
5655
- )) == null ? void 0 : _.filter((S) => S.code !== (k == null ? void 0 : k.coverField))) || [];
5668
+ )) == null ? void 0 : g.filter((S) => S.code !== (k == null ? void 0 : k.coverField))) || [];
5656
5669
  return {
5657
5670
  ...k,
5658
5671
  coverField: (E = k == null ? void 0 : k.childrenFields) == null ? void 0 : E.find(
@@ -5661,8 +5674,8 @@ const Di = {
5661
5674
  detailFields: (p = k == null ? void 0 : k.childrenFields) == null ? void 0 : p.filter(
5662
5675
  (S) => !d.includes(S.type) && !S.extendDetail
5663
5676
  ),
5664
- extendFields: g,
5665
- activeFields: (g == null ? void 0 : g.map((S) => S.code)) || []
5677
+ extendFields: _,
5678
+ activeFields: (_ == null ? void 0 : _.map((S) => S.code)) || []
5666
5679
  };
5667
5680
  })) || [];
5668
5681
  });
@@ -5678,14 +5691,14 @@ const Di = {
5678
5691
  },
5679
5692
  { immediate: !0 }
5680
5693
  ), (l, v) => (u(), x("div", null, [
5681
- i.value ? (u(), x("div", el, [
5682
- (u(!0), x(P, null, H(m.value, (k) => (u(), $(f(bt), {
5694
+ i.value ? (u(), x("div", nl, [
5695
+ (u(!0), x(L, null, H(m.value, (k) => (u(), $(f(bt), {
5683
5696
  class: "group-item",
5684
5697
  shadow: "hover",
5685
5698
  style: Ve(`background: ${k.background || "#fff"}`)
5686
5699
  }, Se({
5687
5700
  default: b(() => [
5688
- O(f(me), { gutter: 20 }, {
5701
+ O(f(he), { gutter: 20 }, {
5689
5702
  default: b(() => [
5690
5703
  k.coverField ? (u(), $(f(pe), {
5691
5704
  key: 0,
@@ -5704,21 +5717,21 @@ const Di = {
5704
5717
  span: k.coverField ? 18 : 24
5705
5718
  }, {
5706
5719
  default: b(() => [
5707
- O(f(me), { gutter: 20 }, {
5720
+ O(f(he), { gutter: 20 }, {
5708
5721
  default: b(() => [
5709
- (u(!0), x(P, null, H(k.detailFields, (g) => (u(), $(f(pe), {
5710
- span: g.span,
5722
+ (u(!0), x(L, null, H(k.detailFields, (_) => (u(), $(f(pe), {
5723
+ span: _.span,
5711
5724
  class: "mono-data",
5712
5725
  style: { "margin-bottom": "20px" }
5713
5726
  }, {
5714
5727
  default: b(() => [
5715
- C("div", nl, B(g.label), 1),
5716
- C("div", sl, [
5717
- g.code === "id" ? (u(), x(P, { key: 0 }, [
5718
- M(B(i.value.id), 1)
5719
- ], 64)) : (u(), $(G(g.display), {
5728
+ C("div", ol, P(_.label), 1),
5729
+ C("div", al, [
5730
+ _.code === "id" ? (u(), x(L, { key: 0 }, [
5731
+ M(P(i.value.id), 1)
5732
+ ], 64)) : (u(), $(G(_.display), {
5720
5733
  key: 1,
5721
- field: g,
5734
+ field: _,
5722
5735
  row: i.value,
5723
5736
  mode: "description"
5724
5737
  }, null, 8, ["field", "row"]))
@@ -5738,18 +5751,18 @@ const Di = {
5738
5751
  k && k.extendFields.length > 0 ? (u(), $(f(bn), {
5739
5752
  key: 0,
5740
5753
  modelValue: k.activeFields,
5741
- "onUpdate:modelValue": (g) => k.activeFields = g,
5754
+ "onUpdate:modelValue": (_) => k.activeFields = _,
5742
5755
  class: "extend-fields"
5743
5756
  }, {
5744
5757
  default: b(() => [
5745
- (u(!0), x(P, null, H(k.extendFields, (g) => (u(), $(f(wn), {
5746
- title: g.label,
5747
- name: g.code,
5758
+ (u(!0), x(L, null, H(k.extendFields, (_) => (u(), $(f(wn), {
5759
+ title: _.label,
5760
+ name: _.code,
5748
5761
  class: "mono-data"
5749
5762
  }, {
5750
5763
  default: b(() => [
5751
- (u(), $(G(g.display), {
5752
- field: g,
5764
+ (u(), $(G(_.display), {
5765
+ field: _,
5753
5766
  row: i.value,
5754
5767
  mode: "extend"
5755
5768
  }, null, 8, ["field", "row"]))
@@ -5765,14 +5778,14 @@ const Di = {
5765
5778
  k.title ? {
5766
5779
  name: "header",
5767
5780
  fn: b(() => [
5768
- C("div", tl, [
5781
+ C("div", sl, [
5769
5782
  O(f(ut), {
5770
5783
  class: "group-title",
5771
5784
  tag: "b",
5772
5785
  size: "large"
5773
5786
  }, {
5774
5787
  default: b(() => [
5775
- M(B(k.title), 1)
5788
+ M(P(k.title), 1)
5776
5789
  ]),
5777
5790
  _: 2
5778
5791
  }, 1024)
@@ -5781,12 +5794,12 @@ const Di = {
5781
5794
  key: "0"
5782
5795
  } : void 0
5783
5796
  ]), 1032, ["style"]))), 256))
5784
- ])) : _e((u(), x("div", ol, null, 512)), [
5785
- [f(ye), !0]
5797
+ ])) : ye((u(), x("div", rl, null, 512)), [
5798
+ [f(ve), !0]
5786
5799
  ])
5787
5800
  ]));
5788
5801
  }
5789
- }, rl = /* @__PURE__ */ V(al, [["__scopeId", "data-v-50c9cb06"]]), il = { class: "data-page-title" }, ll = { class: "title" }, ul = {
5802
+ }, ll = /* @__PURE__ */ V(il, [["__scopeId", "data-v-50c9cb06"]]), ul = { class: "data-page-title" }, cl = { class: "title" }, dl = {
5790
5803
  __name: "DataDetailHeader",
5791
5804
  props: {
5792
5805
  data: {
@@ -5818,10 +5831,10 @@ const Di = {
5818
5831
  d && (a.value = o.settings.operations(s), i(d));
5819
5832
  },
5820
5833
  { immediate: !0 }
5821
- ), (d, m) => (u(), x("div", il, [
5822
- C("div", ll, B(r.value), 1),
5834
+ ), (d, m) => (u(), x("div", ul, [
5835
+ C("div", cl, P(r.value), 1),
5823
5836
  C("div", null, [
5824
- o.data ? (u(), $(f(he), { key: 0 }, {
5837
+ o.data ? (u(), $(f(_e), { key: 0 }, {
5825
5838
  default: b(() => [
5826
5839
  O(Qn, {
5827
5840
  row: o.data,
@@ -5842,7 +5855,7 @@ const Di = {
5842
5855
  ])
5843
5856
  ]));
5844
5857
  }
5845
- }, cl = /* @__PURE__ */ V(ul, [["__scopeId", "data-v-0d04eb53"]]), dl = {
5858
+ }, pl = /* @__PURE__ */ V(dl, [["__scopeId", "data-v-f9999537"]]), fl = {
5846
5859
  __name: "DetailPageTabs",
5847
5860
  props: {
5848
5861
  associations: {
@@ -5853,7 +5866,7 @@ const Di = {
5853
5866
  }
5854
5867
  },
5855
5868
  setup(t) {
5856
- const e = ve(), n = z(), s = J(n), o = t, r = A(""), a = te(null);
5869
+ const e = be(), n = z(), s = J(n), o = t, r = A(""), a = te(null);
5857
5870
  function i(m) {
5858
5871
  r.value = m.props.name, e.push({
5859
5872
  name: `${n.meta.side}-association`,
@@ -5896,7 +5909,7 @@ const Di = {
5896
5909
  { immediate: !0 }
5897
5910
  ), (m, c) => {
5898
5911
  const l = Qe("router-view");
5899
- return u(), x(P, null, [
5912
+ return u(), x(L, null, [
5900
5913
  O(f(yn), {
5901
5914
  modelValue: r.value,
5902
5915
  "onUpdate:modelValue": c[0] || (c[0] = (v) => r.value = v),
@@ -5904,7 +5917,7 @@ const Di = {
5904
5917
  onTabClick: i
5905
5918
  }, {
5906
5919
  default: b(() => [
5907
- (u(!0), x(P, null, H(o.associations, (v) => (u(), $(f(vn), {
5920
+ (u(!0), x(L, null, H(o.associations, (v) => (u(), $(f(vn), {
5908
5921
  label: v.name,
5909
5922
  name: v.domain
5910
5923
  }, null, 8, ["label", "name"]))), 256))
@@ -5918,7 +5931,7 @@ const Di = {
5918
5931
  ], 64);
5919
5932
  };
5920
5933
  }
5921
- }, pl = /* @__PURE__ */ V(dl, [["__scopeId", "data-v-0dc49aad"]]), fl = {
5934
+ }, ml = /* @__PURE__ */ V(fl, [["__scopeId", "data-v-0dc49aad"]]), hl = {
5922
5935
  __name: "DetailPageList",
5923
5936
  props: {
5924
5937
  associations: {
@@ -5929,18 +5942,18 @@ const Di = {
5929
5942
  }
5930
5943
  },
5931
5944
  setup(t) {
5932
- return (e, n) => (u(!0), x(P, null, H(t.associations, (s) => (u(), x("div", null, [
5933
- s.type == "has-many" ? (u(), $(Ji, {
5945
+ return (e, n) => (u(!0), x(L, null, H(t.associations, (s) => (u(), x("div", null, [
5946
+ s.type == "has-many" ? (u(), $(Gi, {
5934
5947
  key: 0,
5935
5948
  domain: s.domain
5936
5949
  }, null, 8, ["domain"])) : T("", !0),
5937
- s.type == "has-one" ? (u(), $(yl, {
5950
+ s.type == "has-one" ? (u(), $(bl, {
5938
5951
  key: 1,
5939
5952
  domain: s.domain
5940
5953
  }, null, 8, ["domain"])) : T("", !0)
5941
5954
  ]))), 256));
5942
5955
  }
5943
- }, ml = {
5956
+ }, _l = {
5944
5957
  __name: "DataDetailPage",
5945
5958
  props: {
5946
5959
  settings: {
@@ -5951,7 +5964,7 @@ const Di = {
5951
5964
  }
5952
5965
  },
5953
5966
  setup(t) {
5954
- ve();
5967
+ be();
5955
5968
  const e = z(), n = J(e), s = t, o = A(null);
5956
5969
  function r(a) {
5957
5970
  o.value = a;
@@ -5961,12 +5974,12 @@ const Di = {
5961
5974
  return u(), x("div", {
5962
5975
  key: `${f(e).params.domain}-${f(e).params.id}`
5963
5976
  }, [
5964
- O(cl, {
5977
+ O(pl, {
5965
5978
  data: o.value,
5966
5979
  settings: s.settings,
5967
5980
  query: { ...f(e).params, ...f(n) }
5968
5981
  }, null, 8, ["data", "settings", "query"]),
5969
- (m = (d = s.settings) == null ? void 0 : d.detailGroupFields) != null && m.length ? (u(), $(rl, {
5982
+ (m = (d = s.settings) == null ? void 0 : d.detailGroupFields) != null && m.length ? (u(), $(ll, {
5970
5983
  key: 0,
5971
5984
  query: { ...f(e).params, ...f(n) },
5972
5985
  settings: s.settings,
@@ -5977,11 +5990,11 @@ const Di = {
5977
5990
  settings: s.settings,
5978
5991
  onDone: r
5979
5992
  }, null, 8, ["query", "settings"])),
5980
- s.settings.detailSubType === "tabs" ? (u(), $(pl, {
5993
+ s.settings.detailSubType === "tabs" ? (u(), $(ml, {
5981
5994
  key: 2,
5982
5995
  associations: t.associations,
5983
5996
  "domain-data": o.value
5984
- }, null, 8, ["associations", "domain-data"])) : (u(), $(fl, {
5997
+ }, null, 8, ["associations", "domain-data"])) : (u(), $(hl, {
5985
5998
  key: 3,
5986
5999
  associations: t.associations,
5987
6000
  "domain-data": o.value
@@ -5989,10 +6002,10 @@ const Di = {
5989
6002
  ]);
5990
6003
  };
5991
6004
  }
5992
- }, hl = /* @__PURE__ */ V(ml, [["__scopeId", "data-v-8b30eefd"]]), gl = {
6005
+ }, gl = /* @__PURE__ */ V(_l, [["__scopeId", "data-v-8b30eefd"]]), yl = {
5993
6006
  key: 1,
5994
6007
  class: "loading-wrapper"
5995
- }, _l = {
6008
+ }, vl = {
5996
6009
  __name: "Detail",
5997
6010
  props: {
5998
6011
  domain: {
@@ -6020,18 +6033,18 @@ const Di = {
6020
6033
  query: () => ({})
6021
6034
  });
6022
6035
  }
6023
- return (m, c) => a.value ? (u(), $(hl, {
6036
+ return (m, c) => a.value ? (u(), $(gl, {
6024
6037
  key: 0,
6025
6038
  settings: a.value,
6026
6039
  associations: i.value
6027
- }, null, 8, ["settings", "associations"])) : _e((u(), x("div", gl, null, 512)), [
6028
- [f(ye), !0]
6040
+ }, null, 8, ["settings", "associations"])) : ye((u(), x("div", yl, null, 512)), [
6041
+ [f(ve), !0]
6029
6042
  ]);
6030
6043
  }
6031
- }, yl = /* @__PURE__ */ V(_l, [["__scopeId", "data-v-ecd5a448"]]), vl = { key: 0 }, bl = {
6044
+ }, bl = /* @__PURE__ */ V(vl, [["__scopeId", "data-v-ecd5a448"]]), wl = { key: 0 }, El = {
6032
6045
  key: 1,
6033
6046
  class: "loading-wrapper"
6034
- }, wl = {
6047
+ }, $l = {
6035
6048
  __name: "DetailTab",
6036
6049
  props: {
6037
6050
  association: {
@@ -6048,7 +6061,7 @@ const Di = {
6048
6061
  });
6049
6062
  },
6050
6063
  { immediate: !0 }
6051
- ), (a, i) => r.value && o.association.domainData ? (u(), x("div", vl, [
6064
+ ), (a, i) => r.value && o.association.domainData ? (u(), x("div", wl, [
6052
6065
  r.value.type === "has-many" ? (u(), $(Gn, {
6053
6066
  key: `has-many-${r.value.domain}`,
6054
6067
  settings: r.value.settings,
@@ -6060,53 +6073,53 @@ const Di = {
6060
6073
  query: f(s),
6061
6074
  settings: r.value.settings
6062
6075
  }, null, 8, ["query", "settings"])) : T("", !0)
6063
- ])) : _e((u(), x("div", bl, null, 512)), [
6064
- [f(ye), !0]
6076
+ ])) : ye((u(), x("div", El, null, 512)), [
6077
+ [f(ve), !0]
6065
6078
  ]);
6066
6079
  }
6067
- }, Hl = /* @__PURE__ */ V(wl, [["__scopeId", "data-v-79eac380"]]);
6080
+ }, Wl = /* @__PURE__ */ V($l, [["__scopeId", "data-v-79eac380"]]);
6068
6081
  export {
6069
- Il as A,
6082
+ zl as A,
6070
6083
  na as B,
6071
6084
  Ft as C,
6072
- Dl as D,
6073
- Nl as E,
6074
- qr as F,
6085
+ Rl as D,
6086
+ Ul as E,
6087
+ Wr as F,
6075
6088
  Gn as G,
6076
- Ul as H,
6077
- yl as I,
6078
- Hl as J,
6089
+ ql as H,
6090
+ bl as I,
6091
+ Wl as J,
6079
6092
  le as K,
6080
- Ji as L,
6093
+ Gi as L,
6081
6094
  Ct as M,
6082
6095
  ha as S,
6083
6096
  ua as W,
6084
6097
  V as _,
6085
- Pl as a,
6098
+ Bl as a,
6086
6099
  qn as b,
6087
6100
  sa as c,
6088
- Tl as d,
6089
- Vl as e,
6090
- Rl as f,
6101
+ Ll as d,
6102
+ Il as e,
6103
+ Pl as f,
6091
6104
  Ot as g,
6092
6105
  oe as h,
6093
- zl as i,
6106
+ Hl as i,
6094
6107
  We as j,
6095
6108
  Oa as k,
6096
- Ll as l,
6109
+ jl as l,
6097
6110
  W as m,
6098
6111
  Ra as n,
6099
6112
  Qo as o,
6100
- Bl as p,
6101
- jl as q,
6113
+ Vl as p,
6114
+ Ml as q,
6102
6115
  Jo as r,
6103
6116
  J as s,
6104
- kl as t,
6117
+ Fl as t,
6105
6118
  aa as u,
6106
- Ml as v,
6107
- Ol as w,
6108
- Fl as x,
6109
- Cl as y,
6110
- Al as z
6119
+ Nl as v,
6120
+ Cl as w,
6121
+ Dl as x,
6122
+ Al as y,
6123
+ Tl as z
6111
6124
  };
6112
- //# sourceMappingURL=index-C2om7eEz.js.map
6125
+ //# sourceMappingURL=index-BGG4xNjJ.js.map