kouxiangtang 0.0.91 → 0.0.93

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 (59) hide show
  1. package/dist/{AttachmentUploader-DnxI0ruR.js → AttachmentUploader-CBlEzDQf.js} +2 -2
  2. package/dist/{AttachmentUploader-DnxI0ruR.js.map → AttachmentUploader-CBlEzDQf.js.map} +1 -1
  3. package/dist/{ImageUploader-BQ3pWLyK.js → ImageUploader-CZUxfQGK.js} +2 -2
  4. package/dist/{ImageUploader-BQ3pWLyK.js.map → ImageUploader-CZUxfQGK.js.map} +1 -1
  5. package/dist/{ImagesUploader-D-iijoq6.js → ImagesUploader-Db3B3h7B.js} +2 -2
  6. package/dist/{ImagesUploader-D-iijoq6.js.map → ImagesUploader-Db3B3h7B.js.map} +1 -1
  7. package/dist/{RichTextEditor-YhrM-RQY.js → RichTextEditor-1u4-SGaC.js} +2 -2
  8. package/dist/{RichTextEditor-YhrM-RQY.js.map → RichTextEditor-1u4-SGaC.js.map} +1 -1
  9. package/dist/{config-Bh_LVR1d.js → config-3KuQK9CU.js} +2 -2
  10. package/dist/{config-Bh_LVR1d.js.map → config-3KuQK9CU.js.map} +1 -1
  11. package/dist/{config-DIlCBt2r.js → config-BpyzrZjc.js} +2 -2
  12. package/dist/{config-DIlCBt2r.js.map → config-BpyzrZjc.js.map} +1 -1
  13. package/dist/{config-1_JH5Mmk.js → config-BrCuySpf.js} +2 -2
  14. package/dist/{config-1_JH5Mmk.js.map → config-BrCuySpf.js.map} +1 -1
  15. package/dist/{config-Cl6_VzH4.js → config-Bza_YkUb.js} +3 -3
  16. package/dist/{config-Cl6_VzH4.js.map → config-Bza_YkUb.js.map} +1 -1
  17. package/dist/{config-BmaKOlTr.js → config-C68fmpLS.js} +2 -2
  18. package/dist/config-C68fmpLS.js.map +1 -0
  19. package/dist/{config-Z5bGCGlr.js → config-CB1STIlV.js} +2 -2
  20. package/dist/{config-Z5bGCGlr.js.map → config-CB1STIlV.js.map} +1 -1
  21. package/dist/{config-Tw4RgqMR.js → config-Cl9T-xsj.js} +2 -2
  22. package/dist/{config-Tw4RgqMR.js.map → config-Cl9T-xsj.js.map} +1 -1
  23. package/dist/{config-sc001cyz.js → config-Cq1FrxyJ.js} +2 -2
  24. package/dist/config-Cq1FrxyJ.js.map +1 -0
  25. package/dist/{config-BFrd5Jf9.js → config-DAN264Rn.js} +2 -2
  26. package/dist/config-DAN264Rn.js.map +1 -0
  27. package/dist/{config-DUDR_V1o.js → config-DV852Lf8.js} +2 -2
  28. package/dist/{config-DUDR_V1o.js.map → config-DV852Lf8.js.map} +1 -1
  29. package/dist/{config-Bu8ZkZE-.js → config-DVaWOOLW.js} +2 -2
  30. package/dist/{config-Bu8ZkZE-.js.map → config-DVaWOOLW.js.map} +1 -1
  31. package/dist/{config-V-AfDsqw.js → config-DdK0lVMb.js} +2 -2
  32. package/dist/{config-V-AfDsqw.js.map → config-DdK0lVMb.js.map} +1 -1
  33. package/dist/{config-Cny5CWi6.js → config-Dn-NnPYX.js} +2 -2
  34. package/dist/{config-Cny5CWi6.js.map → config-Dn-NnPYX.js.map} +1 -1
  35. package/dist/{config-BH-YE1gn.js → config-E0WARA0i.js} +2 -2
  36. package/dist/{config-BH-YE1gn.js.map → config-E0WARA0i.js.map} +1 -1
  37. package/dist/{config-NQHlv6Dn.js → config-GszZxjH5.js} +2 -2
  38. package/dist/{config-NQHlv6Dn.js.map → config-GszZxjH5.js.map} +1 -1
  39. package/dist/{config-D-ZXfEv6.js → config-MH5vf7No.js} +2 -2
  40. package/dist/{config-D-ZXfEv6.js.map → config-MH5vf7No.js.map} +1 -1
  41. package/dist/{config-BjKNDETC.js → config-_EKBaaqD.js} +2 -2
  42. package/dist/{config-BjKNDETC.js.map → config-_EKBaaqD.js.map} +1 -1
  43. package/dist/{config-ChRU310r.js → config-g7trfjiZ.js} +3 -3
  44. package/dist/{config-ChRU310r.js.map → config-g7trfjiZ.js.map} +1 -1
  45. package/dist/{config-BJ7PReXc.js → config-q9n9rEpw.js} +3 -3
  46. package/dist/{config-BJ7PReXc.js.map → config-q9n9rEpw.js.map} +1 -1
  47. package/dist/{config-yEdSD33A.js → config-zVzA-Wj1.js} +2 -2
  48. package/dist/{config-yEdSD33A.js.map → config-zVzA-Wj1.js.map} +1 -1
  49. package/dist/{index-CtwL3y66.js → index-CMyXHvLO.js} +280 -280
  50. package/dist/index-CMyXHvLO.js.map +1 -0
  51. package/dist/kouxiangtang.js +1 -1
  52. package/dist/kouxiangtang.umd.cjs +1 -1
  53. package/dist/kouxiangtang.umd.cjs.map +1 -1
  54. package/dist/style.css +1 -1
  55. package/package.json +1 -1
  56. package/dist/config-BFrd5Jf9.js.map +0 -1
  57. package/dist/config-BmaKOlTr.js.map +0 -1
  58. package/dist/config-sc001cyz.js.map +0 -1
  59. package/dist/index-CtwL3y66.js.map +0 -1
@@ -333,24 +333,24 @@ function Ye(t, e, n) {
333
333
  }
334
334
  return lt(y) ? !0 : (e.append(Mt(g, f, r), h(y)), !1);
335
335
  }
336
- const c = [], b = Object.assign(io, {
336
+ const u = [], b = Object.assign(io, {
337
337
  defaultVisitor: l,
338
338
  convertValue: h,
339
339
  isVisitable: lt
340
340
  });
341
341
  function k(y, f) {
342
342
  if (!v.isUndefined(y)) {
343
- if (c.indexOf(y) !== -1)
343
+ if (u.indexOf(y) !== -1)
344
344
  throw Error("Circular reference detected in " + f.join("."));
345
- c.push(y), v.forEach(y, function($, u) {
345
+ u.push(y), v.forEach(y, function($, c) {
346
346
  (!(v.isUndefined($) || $ === null) && o.call(
347
347
  e,
348
348
  $,
349
- v.isString(u) ? u.trim() : u,
349
+ v.isString(c) ? c.trim() : c,
350
350
  f,
351
351
  b
352
- )) === !0 && k($, f ? f.concat(u) : [u]);
353
- }), c.pop();
352
+ )) === !0 && k($, f ? f.concat(c) : [c]);
353
+ }), u.pop();
354
354
  }
355
355
  }
356
356
  if (!v.isObject(t))
@@ -662,8 +662,8 @@ class ee {
662
662
  const l = Ee(d);
663
663
  if (!l)
664
664
  throw new Error("header name must be a non-empty string");
665
- const c = v.findKey(o, l);
666
- (!c || o[c] === void 0 || h === !0 || h === void 0 && o[c] !== !1) && (o[c || d] = Ne(i));
665
+ const u = v.findKey(o, l);
666
+ (!u || o[u] === void 0 || h === !0 || h === void 0 && o[u] !== !1) && (o[u || d] = Ne(i));
667
667
  }
668
668
  const a = (i, d) => v.forEach(i, (h, l) => r(h, l, d));
669
669
  return v.isPlainObject(e) || e instanceof this.constructor ? a(e, n) : v.isString(e) && (e = e.trim()) && !So(e) ? a(Eo(e), n) : e != null && r(n, e, s), this;
@@ -877,9 +877,9 @@ function Fo(t, e) {
877
877
  return e = e !== void 0 ? e : 1e3, function(d) {
878
878
  const h = Date.now(), l = s[r];
879
879
  a || (a = h), n[o] = d, s[o] = h;
880
- let c = r, b = 0;
881
- for (; c !== o; )
882
- b += n[c++], c = c % t;
880
+ let u = r, b = 0;
881
+ for (; u !== o; )
882
+ b += n[u++], u = u % t;
883
883
  if (o = (o + 1) % t, o === r && (r = (r + 1) % t), h - a < e)
884
884
  return;
885
885
  const k = l && h - l;
@@ -921,62 +921,62 @@ const Lo = typeof XMLHttpRequest < "u", Po = Lo && function(t) {
921
921
  r.setContentType([f || "multipart/form-data", ...g].join("; "));
922
922
  }
923
923
  }
924
- let c = new XMLHttpRequest();
924
+ let u = new XMLHttpRequest();
925
925
  if (t.auth) {
926
926
  const f = t.auth.username || "", g = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
927
927
  r.set("Authorization", "Basic " + btoa(f + ":" + g));
928
928
  }
929
929
  const b = Bn(t.baseURL, t.url);
930
- c.open(t.method.toUpperCase(), Tn(b, t.params, t.paramsSerializer), !0), c.timeout = t.timeout;
930
+ u.open(t.method.toUpperCase(), Tn(b, t.params, t.paramsSerializer), !0), u.timeout = t.timeout;
931
931
  function k() {
932
- if (!c)
932
+ if (!u)
933
933
  return;
934
934
  const f = ee.from(
935
- "getAllResponseHeaders" in c && c.getAllResponseHeaders()
935
+ "getAllResponseHeaders" in u && u.getAllResponseHeaders()
936
936
  ), $ = {
937
- data: !a || a === "text" || a === "json" ? c.responseText : c.response,
938
- status: c.status,
939
- statusText: c.statusText,
937
+ data: !a || a === "text" || a === "json" ? u.responseText : u.response,
938
+ status: u.status,
939
+ statusText: u.statusText,
940
940
  headers: f,
941
941
  config: t,
942
- request: c
942
+ request: u
943
943
  };
944
944
  ko(function(w) {
945
945
  n(w), h();
946
946
  }, function(w) {
947
947
  s(w), h();
948
- }, $), c = null;
949
- }
950
- if ("onloadend" in c ? c.onloadend = k : c.onreadystatechange = function() {
951
- !c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(k);
952
- }, c.onabort = function() {
953
- c && (s(new T("Request aborted", T.ECONNABORTED, t, c)), c = null);
954
- }, c.onerror = function() {
955
- s(new T("Network Error", T.ERR_NETWORK, t, c)), c = null;
956
- }, c.ontimeout = function() {
948
+ }, $), u = null;
949
+ }
950
+ if ("onloadend" in u ? u.onloadend = k : u.onreadystatechange = function() {
951
+ !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(k);
952
+ }, u.onabort = function() {
953
+ u && (s(new T("Request aborted", T.ECONNABORTED, t, u)), u = null);
954
+ }, u.onerror = function() {
955
+ s(new T("Network Error", T.ERR_NETWORK, t, u)), u = null;
956
+ }, u.ontimeout = function() {
957
957
  let g = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
958
958
  const $ = t.transitional || Fn;
959
959
  t.timeoutErrorMessage && (g = t.timeoutErrorMessage), s(new T(
960
960
  g,
961
961
  $.clarifyTimeoutError ? T.ETIMEDOUT : T.ECONNABORTED,
962
962
  t,
963
- c
964
- )), c = null;
963
+ u
964
+ )), u = null;
965
965
  }, ae.hasStandardBrowserEnv && (i && v.isFunction(i) && (i = i(t)), i || i !== !1 && Ro(b))) {
966
966
  const f = t.xsrfHeaderName && t.xsrfCookieName && Ao.read(t.xsrfCookieName);
967
967
  f && r.set(t.xsrfHeaderName, f);
968
968
  }
969
- o === void 0 && r.setContentType(null), "setRequestHeader" in c && v.forEach(r.toJSON(), function(g, $) {
970
- c.setRequestHeader($, g);
971
- }), v.isUndefined(t.withCredentials) || (c.withCredentials = !!t.withCredentials), a && a !== "json" && (c.responseType = t.responseType), typeof t.onDownloadProgress == "function" && c.addEventListener("progress", qt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", qt(t.onUploadProgress)), (t.cancelToken || t.signal) && (d = (f) => {
972
- c && (s(!f || f.type ? new Le(null, t, c) : f), c.abort(), c = null);
969
+ o === void 0 && r.setContentType(null), "setRequestHeader" in u && v.forEach(r.toJSON(), function(g, $) {
970
+ u.setRequestHeader($, g);
971
+ }), v.isUndefined(t.withCredentials) || (u.withCredentials = !!t.withCredentials), a && a !== "json" && (u.responseType = t.responseType), typeof t.onDownloadProgress == "function" && u.addEventListener("progress", qt(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", qt(t.onUploadProgress)), (t.cancelToken || t.signal) && (d = (f) => {
972
+ u && (s(!f || f.type ? new Le(null, t, u) : f), u.abort(), u = null);
973
973
  }, t.cancelToken && t.cancelToken.subscribe(d), t.signal && (t.signal.aborted ? d() : t.signal.addEventListener("abort", d)));
974
974
  const y = To(b);
975
975
  if (y && ae.protocols.indexOf(y) === -1) {
976
976
  s(new T("Unsupported protocol " + y + ":", T.ERR_BAD_REQUEST, t));
977
977
  return;
978
978
  }
979
- c.send(o || null);
979
+ u.send(o || null);
980
980
  });
981
981
  }, ut = {
982
982
  http: ao,
@@ -1048,15 +1048,15 @@ const Jt = (t) => t instanceof ee ? { ...t } : t;
1048
1048
  function ye(t, e) {
1049
1049
  e = e || {};
1050
1050
  const n = {};
1051
- function s(h, l, c) {
1052
- return v.isPlainObject(h) && v.isPlainObject(l) ? v.merge.call({ caseless: c }, h, l) : v.isPlainObject(l) ? v.merge({}, l) : v.isArray(l) ? l.slice() : l;
1051
+ function s(h, l, u) {
1052
+ return v.isPlainObject(h) && v.isPlainObject(l) ? v.merge.call({ caseless: u }, h, l) : v.isPlainObject(l) ? v.merge({}, l) : v.isArray(l) ? l.slice() : l;
1053
1053
  }
1054
- function o(h, l, c) {
1054
+ function o(h, l, u) {
1055
1055
  if (v.isUndefined(l)) {
1056
1056
  if (!v.isUndefined(h))
1057
- return s(void 0, h, c);
1057
+ return s(void 0, h, u);
1058
1058
  } else
1059
- return s(h, l, c);
1059
+ return s(h, l, u);
1060
1060
  }
1061
1061
  function r(h, l) {
1062
1062
  if (!v.isUndefined(l))
@@ -1069,10 +1069,10 @@ function ye(t, e) {
1069
1069
  } else
1070
1070
  return s(void 0, l);
1071
1071
  }
1072
- function i(h, l, c) {
1073
- if (c in e)
1072
+ function i(h, l, u) {
1073
+ if (u in e)
1074
1074
  return s(h, l);
1075
- if (c in t)
1075
+ if (u in t)
1076
1076
  return s(void 0, h);
1077
1077
  }
1078
1078
  const d = {
@@ -1107,8 +1107,8 @@ function ye(t, e) {
1107
1107
  headers: (h, l) => o(Jt(h), Jt(l), !0)
1108
1108
  };
1109
1109
  return v.forEach(Object.keys(Object.assign({}, t, e)), function(l) {
1110
- const c = d[l] || o, b = c(t[l], e[l], l);
1111
- v.isUndefined(b) && c !== i || (n[l] = b);
1110
+ const u = d[l] || o, b = u(t[l], e[l], l);
1111
+ v.isUndefined(b) && u !== i || (n[l] = b);
1112
1112
  }), n;
1113
1113
  }
1114
1114
  const Nn = "1.6.8", bt = {};
@@ -1218,17 +1218,17 @@ class de {
1218
1218
  this.interceptors.response.forEach(function(f) {
1219
1219
  h.push(f.fulfilled, f.rejected);
1220
1220
  });
1221
- let l, c = 0, b;
1221
+ let l, u = 0, b;
1222
1222
  if (!d) {
1223
1223
  const y = [Qt.bind(this), void 0];
1224
- for (y.unshift.apply(y, i), y.push.apply(y, h), b = y.length, l = Promise.resolve(n); c < b; )
1225
- l = l.then(y[c++], y[c++]);
1224
+ for (y.unshift.apply(y, i), y.push.apply(y, h), b = y.length, l = Promise.resolve(n); u < b; )
1225
+ l = l.then(y[u++], y[u++]);
1226
1226
  return l;
1227
1227
  }
1228
1228
  b = i.length;
1229
1229
  let k = n;
1230
- for (c = 0; c < b; ) {
1231
- const y = i[c++], f = i[c++];
1230
+ for (u = 0; u < b; ) {
1231
+ const y = i[u++], f = i[u++];
1232
1232
  try {
1233
1233
  k = y(k);
1234
1234
  } catch (g) {
@@ -1241,8 +1241,8 @@ class de {
1241
1241
  } catch (y) {
1242
1242
  return Promise.reject(y);
1243
1243
  }
1244
- for (c = 0, b = h.length; c < b; )
1245
- l = l.then(h[c++], h[c++]);
1244
+ for (u = 0, b = h.length; u < b; )
1245
+ l = l.then(h[u++], h[u++]);
1246
1246
  return l;
1247
1247
  }
1248
1248
  getUri(e) {
@@ -1526,41 +1526,41 @@ var Mn = { exports: {} };
1526
1526
  return f === g ? g : f === f.toLowerCase() ? g.toLowerCase() : f === f.toUpperCase() ? g.toUpperCase() : f[0] === f[0].toUpperCase() ? g.charAt(0).toUpperCase() + g.substr(1).toLowerCase() : g.toLowerCase();
1527
1527
  }
1528
1528
  function h(f, g) {
1529
- return f.replace(/\$(\d{1,2})/g, function($, u) {
1530
- return g[u] || "";
1529
+ return f.replace(/\$(\d{1,2})/g, function($, c) {
1530
+ return g[c] || "";
1531
1531
  });
1532
1532
  }
1533
1533
  function l(f, g) {
1534
- return f.replace(g[0], function($, u) {
1534
+ return f.replace(g[0], function($, c) {
1535
1535
  var w = h(g[1], arguments);
1536
- return d($ === "" ? f[u - 1] : $, w);
1536
+ return d($ === "" ? f[c - 1] : $, w);
1537
1537
  });
1538
1538
  }
1539
- function c(f, g, $) {
1539
+ function u(f, g, $) {
1540
1540
  if (!f.length || o.hasOwnProperty(f))
1541
1541
  return g;
1542
- for (var u = $.length; u--; ) {
1543
- var w = $[u];
1542
+ for (var c = $.length; c--; ) {
1543
+ var w = $[c];
1544
1544
  if (w[0].test(g))
1545
1545
  return l(g, w);
1546
1546
  }
1547
1547
  return g;
1548
1548
  }
1549
1549
  function b(f, g, $) {
1550
- return function(u) {
1551
- var w = u.toLowerCase();
1552
- return g.hasOwnProperty(w) ? d(u, w) : f.hasOwnProperty(w) ? d(u, f[w]) : c(w, u, $);
1550
+ return function(c) {
1551
+ var w = c.toLowerCase();
1552
+ return g.hasOwnProperty(w) ? d(c, w) : f.hasOwnProperty(w) ? d(c, f[w]) : u(w, c, $);
1553
1553
  };
1554
1554
  }
1555
- function k(f, g, $, u) {
1555
+ function k(f, g, $, c) {
1556
1556
  return function(w) {
1557
1557
  var _ = w.toLowerCase();
1558
- return g.hasOwnProperty(_) ? !0 : f.hasOwnProperty(_) ? !1 : c(_, _, $) === _;
1558
+ return g.hasOwnProperty(_) ? !0 : f.hasOwnProperty(_) ? !1 : u(_, _, $) === _;
1559
1559
  };
1560
1560
  }
1561
1561
  function y(f, g, $) {
1562
- var u = g === 1 ? y.singular(f) : y.plural(f);
1563
- return ($ ? g + " " : "") + u;
1562
+ var c = g === 1 ? y.singular(f) : y.plural(f);
1563
+ return ($ ? g + " " : "") + c;
1564
1564
  }
1565
1565
  return y.plural = b(
1566
1566
  a,
@@ -2009,7 +2009,7 @@ const st = {
2009
2009
  "input-number": { config: "input-number" }
2010
2010
  };
2011
2011
  async function Gt(t, e, n) {
2012
- const s = await Zo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-Cl6_VzH4.js"), "./field/belongs-to/config.js": () => import("./config-yEdSD33A.js"), "./field/boolean/config.js": () => import("./config-1_JH5Mmk.js"), "./field/cascader/config.js": () => import("./config-NQHlv6Dn.js"), "./field/component/config.js": () => import("./config-sc001cyz.js"), "./field/date/config.js": () => import("./config-DUDR_V1o.js"), "./field/datetime/config.js": () => import("./config-Bu8ZkZE-.js"), "./field/image/config.js": () => import("./config-ChRU310r.js"), "./field/images/config.js": () => import("./config-Cny5CWi6.js"), "./field/input-number/config.js": () => import("./config-BmaKOlTr.js"), "./field/json/config.js": () => import("./config-Tw4RgqMR.js"), "./field/radio-group/config.js": () => import("./config-V-AfDsqw.js"), "./field/rich-text/config.js": () => import("./config-BJ7PReXc.js"), "./field/row-id/config.js": () => import("./config-BFrd5Jf9.js"), "./field/select/config.js": () => import("./config-D-ZXfEv6.js"), "./field/string/config.js": () => import("./config-BH-YE1gn.js"), "./field/switch/config.js": () => import("./config-Bh_LVR1d.js"), "./field/text/config.js": () => import("./config-DIlCBt2r.js"), "./field/time/config.js": () => import("./config-Z5bGCGlr.js"), "./field/tree-select/config.js": () => import("./config-BjKNDETC.js") }), `./field/${t}/config.js`, 4);
2012
+ const s = await Zo(/* @__PURE__ */ Object.assign({ "./field/attachment/config.js": () => import("./config-Bza_YkUb.js"), "./field/belongs-to/config.js": () => import("./config-zVzA-Wj1.js"), "./field/boolean/config.js": () => import("./config-BrCuySpf.js"), "./field/cascader/config.js": () => import("./config-GszZxjH5.js"), "./field/component/config.js": () => import("./config-Cq1FrxyJ.js"), "./field/date/config.js": () => import("./config-DV852Lf8.js"), "./field/datetime/config.js": () => import("./config-DVaWOOLW.js"), "./field/image/config.js": () => import("./config-g7trfjiZ.js"), "./field/images/config.js": () => import("./config-Dn-NnPYX.js"), "./field/input-number/config.js": () => import("./config-C68fmpLS.js"), "./field/json/config.js": () => import("./config-Cl9T-xsj.js"), "./field/radio-group/config.js": () => import("./config-DdK0lVMb.js"), "./field/rich-text/config.js": () => import("./config-q9n9rEpw.js"), "./field/row-id/config.js": () => import("./config-DAN264Rn.js"), "./field/select/config.js": () => import("./config-MH5vf7No.js"), "./field/string/config.js": () => import("./config-E0WARA0i.js"), "./field/switch/config.js": () => import("./config-3KuQK9CU.js"), "./field/text/config.js": () => import("./config-BpyzrZjc.js"), "./field/time/config.js": () => import("./config-CB1STIlV.js"), "./field/tree-select/config.js": () => import("./config-_EKBaaqD.js") }), `./field/${t}/config.js`, 4);
2013
2013
  return new s.default(e, n);
2014
2014
  }
2015
2015
  function Kt(t, e = "unknown") {
@@ -2369,9 +2369,9 @@ const wa = {
2369
2369
  (p(!0), x(P, null, q(n.value, (i) => (p(), S(m(Oe), { gutter: 20 }, {
2370
2370
  default: E(() => [
2371
2371
  (p(!0), x(P, null, q(i.cols, (d) => {
2372
- var h, l, c;
2372
+ var h, l, u;
2373
2373
  return p(), S(m($e), {
2374
- span: (h = s(d.field)) != null && h.wholeRow ? 24 : ((l = i.cols) == null ? void 0 : l.length) == 1 && !((c = d.field) != null && c.includes("classify")) && e.fields.length > 6 ? 12 : d.span
2374
+ span: (h = s(d.field)) != null && h.wholeRow ? 24 : ((l = i.cols) == null ? void 0 : l.length) == 1 && !((u = d.field) != null && u.includes("classify")) && e.fields.length > 6 ? 12 : d.span
2375
2375
  }, {
2376
2376
  default: E(() => {
2377
2377
  var b, k;
@@ -2406,7 +2406,7 @@ const wa = {
2406
2406
  },
2407
2407
  emits: ["submit", "remove"],
2408
2408
  setup(t, { emit: e }) {
2409
- const n = U(), s = Q(n), o = e, r = D(!1), a = t, i = mt(a.config.formLayout || []), d = xe({ ...a.data }), h = D(null), l = a.config.fields.filter((w) => w.rules).reduce((w, _) => (w[_.code] = k(_.rules), w), {}), c = I(u), b = I(() => a.config.fields.filter((w) => {
2409
+ const n = U(), s = Q(n), o = e, r = D(!1), a = t, i = mt(a.config.formLayout || []), d = xe({ ...a.data }), h = D(null), l = a.config.fields.filter((w) => w.rules).reduce((w, _) => (w[_.code] = k(_.rules), w), {}), u = I(c), b = I(() => a.config.fields.filter((w) => {
2410
2410
  const _ = w.editable(d, s), A = w.visible(d, s);
2411
2411
  return w.disabled = A && !_, _ || A;
2412
2412
  }));
@@ -2453,7 +2453,7 @@ const wa = {
2453
2453
  });
2454
2454
  });
2455
2455
  }
2456
- function u() {
2456
+ function c() {
2457
2457
  const w = a.config.showSubmit;
2458
2458
  return typeof w == "boolean" ? w : typeof w == "function" ? w(s, d) : !0;
2459
2459
  }
@@ -2537,7 +2537,7 @@ const wa = {
2537
2537
  ]),
2538
2538
  _: 1
2539
2539
  })) : (p(), x("div", Oa)),
2540
- c.value ? (p(), S(m(ne), {
2540
+ u.value ? (p(), S(m(ne), {
2541
2541
  key: 2,
2542
2542
  size: "default",
2543
2543
  type: "primary",
@@ -2593,7 +2593,7 @@ const Se = {
2593
2593
  set(y) {
2594
2594
  o("update:modelValue", y);
2595
2595
  }
2596
- }), c = I(() => r.title ? r.title : r.data.id ? `编辑${r.config.name}` : `添加${r.config.name}`);
2596
+ }), u = I(() => r.title ? r.title : r.data.id ? `编辑${r.config.name}` : `添加${r.config.name}`);
2597
2597
  function b(y, f, g) {
2598
2598
  a.value = f, o("submit", y, async () => {
2599
2599
  h.value = await Se.getValue(), g();
@@ -2615,7 +2615,7 @@ const Se = {
2615
2615
  "onUpdate:modelValue": f[0] || (f[0] = (g) => l.value = g),
2616
2616
  width: d.value,
2617
2617
  top: "20px",
2618
- title: c.value,
2618
+ title: u.value,
2619
2619
  "close-on-click-modal": !1,
2620
2620
  "append-to-body": !0,
2621
2621
  "destroy-on-close": "",
@@ -2675,16 +2675,16 @@ const Se = {
2675
2675
  async function d() {
2676
2676
  const l = e.rest;
2677
2677
  if (l != null && l.getOne) {
2678
- const { data: c } = await l.getOne({
2678
+ const { data: u } = await l.getOne({
2679
2679
  ...e.row,
2680
2680
  ...a
2681
2681
  });
2682
- n.value = c;
2682
+ n.value = u;
2683
2683
  }
2684
2684
  s.value = !0;
2685
2685
  }
2686
- function h(l, c) {
2687
- e.onSubmit(l).then(() => {
2686
+ function h(l, u) {
2687
+ e.onSubmit(l, u).then(() => {
2688
2688
  s.value = !1, ke({
2689
2689
  showClose: !0,
2690
2690
  grouping: !0,
@@ -2692,10 +2692,10 @@ const Se = {
2692
2692
  type: "success"
2693
2693
  }), console.log("success");
2694
2694
  }).catch(() => {
2695
- console.log("请求失败"), c();
2695
+ console.log("请求失败"), u();
2696
2696
  });
2697
2697
  }
2698
- return (l, c) => (p(), S(m(ne), {
2698
+ return (l, u) => (p(), S(m(ne), {
2699
2699
  type: e.type,
2700
2700
  onClick: d
2701
2701
  }, {
@@ -2704,7 +2704,7 @@ const Se = {
2704
2704
  s.value ? (p(), S(St, {
2705
2705
  key: 0,
2706
2706
  modelValue: s.value,
2707
- "onUpdate:modelValue": c[0] || (c[0] = (b) => s.value = b),
2707
+ "onUpdate:modelValue": u[0] || (u[0] = (b) => s.value = b),
2708
2708
  title: e.text,
2709
2709
  config: o.value,
2710
2710
  data: n.value,
@@ -2740,18 +2740,18 @@ const Se = {
2740
2740
  },
2741
2741
  emits: ["update:modelValue"],
2742
2742
  setup(t, { emit: e }) {
2743
- const n = Zn(() => import("./ImagesUploader-D-iijoq6.js")), s = He().fileUploadUrl, o = e, r = t, a = xe({ value: r.modelValue }), i = r.field.converter;
2743
+ const n = Zn(() => import("./ImagesUploader-Db3B3h7B.js")), s = He().fileUploadUrl, o = e, r = t, a = xe({ value: r.modelValue }), i = r.field.converter;
2744
2744
  function d(l) {
2745
- let c = -1;
2746
- l.id && (c = a.value.findIndex((b) => b.id === l.id)), l.url && (c = a.value.findIndex((b) => b.url === l.url)), c >= 0 && (a.value.splice(c, 1), o("update:modelValue", a.value));
2745
+ let u = -1;
2746
+ l.id && (u = a.value.findIndex((b) => b.id === l.id)), l.url && (u = a.value.findIndex((b) => b.url === l.url)), u >= 0 && (a.value.splice(u, 1), o("update:modelValue", a.value));
2747
2747
  }
2748
2748
  function h(l) {
2749
- console.log(l), Be.service({ text: "上传中,请稍后", background: "rgba(0,0,0,0.3)" }), oe.post(s, l).then((c) => {
2749
+ console.log(l), Be.service({ text: "上传中,请稍后", background: "rgba(0,0,0,0.3)" }), oe.post(s, l).then((u) => {
2750
2750
  Be.service().close(), ke({
2751
2751
  message: "上传成功",
2752
2752
  type: "success"
2753
2753
  });
2754
- const b = i(c.data);
2754
+ const b = i(u.data);
2755
2755
  a.value = a.value ? [...a.value, b] : [b], o("update:modelValue", a.value);
2756
2756
  }).catch(() => {
2757
2757
  Be.service().close(), ke({
@@ -2766,7 +2766,7 @@ const Se = {
2766
2766
  a.value = r.modelValue;
2767
2767
  },
2768
2768
  { immediate: !0 }
2769
- ), (l, c) => (p(), x("div", null, [
2769
+ ), (l, u) => (p(), x("div", null, [
2770
2770
  O(m(n), {
2771
2771
  images: a.value,
2772
2772
  props: r.field.props,
@@ -2872,8 +2872,8 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2872
2872
  for (let d = 0; d < o.value.length; d++) {
2873
2873
  const h = o.value[d];
2874
2874
  for (let l = 0; l < s.value.length; l++) {
2875
- const c = s.value[l];
2876
- h.field === c.field && (h.order = c.order);
2875
+ const u = s.value[l];
2876
+ h.field === u.field && (h.order = u.order);
2877
2877
  }
2878
2878
  }
2879
2879
  else
@@ -2884,23 +2884,23 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2884
2884
  const l = o.value;
2885
2885
  h ? l[d].order = h : l[d].order ? l[d].order === "ASC" ? l[d].order = "DESC" : l[d].order === "DESC" && (l[d].order = "") : l[d].order = "ASC", n(
2886
2886
  "updateSorters",
2887
- l.filter((c) => c.order)
2887
+ l.filter((u) => u.order)
2888
2888
  );
2889
2889
  }
2890
2890
  return (d, h) => (p(), x("div", Pa, [
2891
- (p(!0), x(P, null, q(o.value, (l, c) => (p(), x("div", {
2891
+ (p(!0), x(P, null, q(o.value, (l, u) => (p(), x("div", {
2892
2892
  class: "sorters-item",
2893
- onClick: (b) => i(c, "")
2893
+ onClick: (b) => i(u, "")
2894
2894
  }, [
2895
2895
  C("div", Ba, j(l.name), 1),
2896
2896
  C("div", Va, [
2897
2897
  C("i", {
2898
2898
  class: he(["sort-caret ascending", l.order === "ASC" ? "ascending-active" : ""]),
2899
- onClick: Tt((b) => i(c, "ASC"), ["stop"])
2899
+ onClick: Tt((b) => i(u, "ASC"), ["stop"])
2900
2900
  }, null, 10, Na),
2901
2901
  C("i", {
2902
2902
  class: he(["sort-caret descending", l.order === "DESC" ? "descending-active" : ""]),
2903
- onClick: Tt((b) => i(c, "DESC"), ["stop"])
2903
+ onClick: Tt((b) => i(u, "DESC"), ["stop"])
2904
2904
  }, null, 10, Ia)
2905
2905
  ])
2906
2906
  ], 8, ja))), 256))
@@ -2939,11 +2939,11 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2939
2939
  }
2940
2940
  function a(i, d, h) {
2941
2941
  const l = [...o];
2942
- l.forEach((c) => {
2943
- c.field === d && (c[h] = i);
2942
+ l.forEach((u) => {
2943
+ u.field === d && (u[h] = i);
2944
2944
  }), n(
2945
2945
  "updateRanges",
2946
- l.filter((c) => c.min || c.max)
2946
+ l.filter((u) => u.min || u.max)
2947
2947
  );
2948
2948
  }
2949
2949
  return r(), (i, d) => (p(), x("div", za, [
@@ -2991,96 +2991,96 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
2991
2991
  e.settings.filters,
2992
2992
  e.settings.filterHook
2993
2993
  )();
2994
- d.$subscribe((u, w) => {
2994
+ d.$subscribe((c, w) => {
2995
2995
  w.filters.isDeleted !== a.isDeleted && (Object.keys(a).forEach((_) => {
2996
2996
  a[_] = void 0;
2997
2997
  }), a.isDeleted = w.filters.isDeleted);
2998
2998
  });
2999
- function h(u) {
3000
- return typeof u == "boolean" ? u : typeof u == "function" ? u(o) : !0;
2999
+ function h(c) {
3000
+ return typeof c == "boolean" ? c : typeof c == "function" ? c(o) : !0;
3001
3001
  }
3002
- async function l(u, w) {
3002
+ async function l(c, w) {
3003
3003
  var _;
3004
- if (typeof u.options == "function")
3005
- i[u.code] = await u.options(
3004
+ if (typeof c.options == "function")
3005
+ i[c.code] = await c.options(
3006
3006
  a,
3007
3007
  o,
3008
3008
  w
3009
3009
  );
3010
- else if (Array.isArray(u.options))
3011
- i[u.code] = u.options;
3012
- else if (typeof u.options == "object") {
3013
- const A = u.options.getOneUrl ? u.options.getOneUrl : u.options.url;
3014
- if (!w && Array.isArray(a[u.code]) && a[u.code].length > 0)
3015
- i[u.code] = [], a[u.code].forEach((R) => {
3010
+ else if (Array.isArray(c.options))
3011
+ i[c.code] = c.options;
3012
+ else if (typeof c.options == "object") {
3013
+ const A = c.options.getOneUrl ? c.options.getOneUrl : c.options.url;
3014
+ if (!w && Array.isArray(a[c.code]) && a[c.code].length > 0)
3015
+ i[c.code] = [], a[c.code].forEach((R) => {
3016
3016
  A.getOne({ id: R }).then((K) => {
3017
- i[u.code].push({
3018
- code: K.data[u.options.data.value] || K.data.id,
3019
- name: K.data[u.options.data.label] || K.data.name
3017
+ i[c.code].push({
3018
+ code: K.data[c.options.data.value] || K.data.id,
3019
+ name: K.data[c.options.data.label] || K.data.name
3020
3020
  });
3021
3021
  });
3022
3022
  });
3023
- else if (!w && !Array.isArray(a[u.code]) && a[u.code])
3024
- A.getOne({ id: a[u.code] }).then((R) => {
3025
- i[u.code] = [
3023
+ else if (!w && !Array.isArray(a[c.code]) && a[c.code])
3024
+ A.getOne({ id: a[c.code] }).then((R) => {
3025
+ i[c.code] = [
3026
3026
  {
3027
- code: R.data[u.options.data.value] || R.data.id,
3028
- name: R.data[u.options.data.label] || R.data.name
3027
+ code: R.data[c.options.data.value] || R.data.id,
3028
+ name: R.data[c.options.data.label] || R.data.name
3029
3029
  }
3030
3030
  ];
3031
3031
  });
3032
3032
  else {
3033
- const R = u.options.query.keyWord.toString(), K = u.options.method ? u.options.method : "getList";
3034
- u.options.url[K]({
3035
- ...u.options.query,
3033
+ const R = c.options.query.keyWord.toString(), K = c.options.method ? c.options.method : "getList";
3034
+ c.options.url[K]({
3035
+ ...c.options.query,
3036
3036
  [R]: w
3037
3037
  }).then((M) => {
3038
- i[u.code] = M.data.rows.map((Y) => ({
3039
- code: Y[u.options.data.value] || Y.id,
3040
- name: Y[u.options.data.label] || Y.name
3038
+ i[c.code] = M.data.rows.map((Y) => ({
3039
+ code: Y[c.options.data.value] || Y.id,
3040
+ name: Y[c.options.data.label] || Y.name
3041
3041
  }));
3042
3042
  });
3043
3043
  }
3044
3044
  }
3045
- if (i[u.code] && u.type != "tree-select") {
3046
- const A = i[u.code].map((R) => R.code);
3047
- a[u.code] && (u.multiple ? a[u.code] = a[u.code].filter((R) => (console.log(A.includes(R)), A.includes(R))) : a[u.code] = (_ = i[u.code].find(
3048
- (R) => R.code == a[u.code]
3045
+ if (i[c.code] && c.type != "tree-select") {
3046
+ const A = i[c.code].map((R) => R.code);
3047
+ a[c.code] && (c.multiple ? a[c.code] = a[c.code].filter((R) => (console.log(A.includes(R)), A.includes(R))) : a[c.code] = (_ = i[c.code].find(
3048
+ (R) => R.code == a[c.code]
3049
3049
  )) == null ? void 0 : _.code, g());
3050
3050
  }
3051
3051
  }
3052
- function c(u) {
3053
- if (u.remote)
3052
+ function u(c) {
3053
+ if (c.remote)
3054
3054
  return (w) => {
3055
- l(u, w);
3055
+ l(c, w);
3056
3056
  };
3057
3057
  }
3058
- function b(u) {
3059
- a.sorters = u, g();
3058
+ function b(c) {
3059
+ a.sorters = c, g();
3060
3060
  }
3061
- function k(u) {
3062
- a.filters = u;
3061
+ function k(c) {
3062
+ a.filters = c;
3063
3063
  }
3064
3064
  function y() {
3065
- Object.keys(a).forEach((u) => {
3066
- a[u] = void 0;
3067
- }), r.value = Object.keys(e.settings.filters).filter((u) => h(e.settings.filters[u].visible)).map((u) => {
3068
- const w = { ...e.settings.filters[u], code: u };
3069
- return a[u] = f(u), (w.type === "select" || w.type === "selectV2" || w.type === "tree" || w.type === "tree-select") && l(w), {
3065
+ Object.keys(a).forEach((c) => {
3066
+ a[c] = void 0;
3067
+ }), r.value = Object.keys(e.settings.filters).filter((c) => h(e.settings.filters[c].visible)).map((c) => {
3068
+ const w = { ...e.settings.filters[c], code: c };
3069
+ return a[c] = f(c), (w.type === "select" || w.type === "selectV2" || w.type === "tree" || w.type === "tree-select") && l(w), {
3070
3070
  ...w,
3071
3071
  dateType: w.dateType || "datetimerange",
3072
3072
  format: w.format || "YYYY-MM-DD HH:mm:ss"
3073
3073
  };
3074
- }).filter((u) => u.code !== "isDeleted");
3074
+ }).filter((c) => c.code !== "isDeleted");
3075
3075
  }
3076
- function f(u) {
3077
- const w = e.settings.filters[u], _ = d.validFilters[u];
3076
+ function f(c) {
3077
+ const w = e.settings.filters[c], _ = d.validFilters[c];
3078
3078
  return w.type === "boolean" && typeof _ != "boolean" ? w.value : _;
3079
3079
  }
3080
3080
  function g() {
3081
- let u = JSON.parse(JSON.stringify(a));
3081
+ let c = JSON.parse(JSON.stringify(a));
3082
3082
  const w = e.settings.filterHook;
3083
- w != null && w.preSubmit && (u = w.preSubmit(u, o)), u !== !1 && d.change(u);
3083
+ w != null && w.preSubmit && (c = w.preSubmit(c, o)), c !== !1 && d.change(c);
3084
3084
  }
3085
3085
  function $() {
3086
3086
  d.$reset({}), y(), g();
@@ -3093,17 +3093,17 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3093
3093
  { immediate: !0 }
3094
3094
  ), B(
3095
3095
  () => ({ ...a }),
3096
- (u, w) => {
3097
- const A = Object.keys(u).filter((R) => w[R] !== u[R]).map((R) => ({
3096
+ (c, w) => {
3097
+ const A = Object.keys(c).filter((R) => w[R] !== c[R]).map((R) => ({
3098
3098
  field: R,
3099
- newValue: u[R],
3099
+ newValue: c[R],
3100
3100
  oldValue: w[R]
3101
3101
  }));
3102
3102
  r.value.forEach((R) => {
3103
3103
  R.formChange && R.formChange(a, A);
3104
3104
  });
3105
3105
  }
3106
- ), (u, w) => Object.keys(e.settings.filters).length > 0 ? (p(), x("div", Ya, [
3106
+ ), (c, w) => Object.keys(e.settings.filters).length > 0 ? (p(), x("div", Ya, [
3107
3107
  O(m(hn), {
3108
3108
  model: a,
3109
3109
  inline: "",
@@ -3148,7 +3148,7 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3148
3148
  "collapse-tags": "",
3149
3149
  class: he(_.multiple ? "tags-selects-input" : ""),
3150
3150
  "multiple-limit": _.multipleLimit ? _.multipleLimit : 0,
3151
- "remote-method": c(_),
3151
+ "remote-method": u(_),
3152
3152
  "value-on-clear": null,
3153
3153
  onChange: g
3154
3154
  }, {
@@ -3203,7 +3203,7 @@ const Pa = { class: "sorters-box" }, ja = ["onClick"], Ba = { class: "sorters-la
3203
3203
  filterable: "",
3204
3204
  "collapse-tags": "",
3205
3205
  "multiple-limit": _.multipleLimit ? _.multipleLimit : 0,
3206
- "remote-method": c(_),
3206
+ "remote-method": u(_),
3207
3207
  onCheck: g,
3208
3208
  onChange: g
3209
3209
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "data", "multiple", "check-strictly", "multiple-limit", "remote-method"])) : _.type === "date" ? (p(), S(m(Xe), {
@@ -3552,7 +3552,7 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3552
3552
  const b = `table-view-${s.path}-${e.settings.code}`, k = localStorage.getItem(b) ? localStorage.getItem(b) : d.value;
3553
3553
  o.change(k);
3554
3554
  }
3555
- function c(b) {
3555
+ function u(b) {
3556
3556
  o.change(b);
3557
3557
  const k = `table-view-${s.path}-${e.settings.code}`;
3558
3558
  localStorage.setItem(k, o.mode);
@@ -3578,7 +3578,7 @@ const $r = { class: "data-page-title" }, Sr = { class: "title" }, xr = { class:
3578
3578
  }),
3579
3579
  O(m(at), {
3580
3580
  trigger: "click",
3581
- onCommand: c
3581
+ onCommand: u
3582
3582
  }, {
3583
3583
  dropdown: E(() => [
3584
3584
  O(m(rt), null, {
@@ -3773,18 +3773,18 @@ const Pr = {
3773
3773
  var f, g;
3774
3774
  return a.row.deletedAt ? !1 : (f = a.operations) != null && f.updatable ? !0 : !!((g = a.operations) != null && g.removable);
3775
3775
  }), l = D((y = a.operations) == null ? void 0 : y.removable);
3776
- async function c() {
3777
- const f = a.settings.formHook, g = a.settings.btnVisible, $ = a.settings.rest, { data: u } = await $.getOne({
3776
+ async function u() {
3777
+ const f = a.settings.formHook, g = a.settings.btnVisible, $ = a.settings.rest, { data: c } = await $.getOne({
3778
3778
  ...a.row,
3779
3779
  ...r
3780
3780
  });
3781
- i.value = u, f.setupUpdate && (i.value = f.setupUpdate(i.value, r)), g.showRemove && (l.value = g.showRemove(i.value)), d.value = !0;
3781
+ i.value = c, f.setupUpdate && (i.value = f.setupUpdate(i.value, r)), g.showRemove && (l.value = g.showRemove(i.value)), d.value = !0;
3782
3782
  }
3783
3783
  function b(f, g) {
3784
- const $ = a.settings.formHook, u = a.settings.rest;
3784
+ const $ = a.settings.formHook, c = a.settings.rest;
3785
3785
  Object.keys(r).forEach((w) => {
3786
3786
  f[w] = r[w];
3787
- }), $ != null && $.preUpdateSubmit && (f = $.preUpdateSubmit(f)), u.update(f).then(() => {
3787
+ }), $ != null && $.preUpdateSubmit && (f = $.preUpdateSubmit(f)), c.update(f).then(() => {
3788
3788
  d.value = !1, n.fireUpdated();
3789
3789
  }).catch(async () => {
3790
3790
  g();
@@ -3792,8 +3792,8 @@ const Pr = {
3792
3792
  }
3793
3793
  function k(f, g) {
3794
3794
  a.settings.rest.remove(f).then(() => {
3795
- Pr.show({ type: "success", message: "删除成功" }), d.value = !1, a.isDetail && e.history.forEach((u) => {
3796
- s.fullPath.includes(u.path) && (e.remove(u.code), o.back());
3795
+ Pr.show({ type: "success", message: "删除成功" }), d.value = !1, a.isDetail && e.history.forEach((c) => {
3796
+ s.fullPath.includes(c.path) && (e.remove(c.code), o.back());
3797
3797
  }), n.fireRemoved();
3798
3798
  }).catch(() => {
3799
3799
  g();
@@ -3802,7 +3802,7 @@ const Pr = {
3802
3802
  return (f, g) => h.value ? (p(), S(m(ne), {
3803
3803
  key: 0,
3804
3804
  type: "primary",
3805
- onClick: c
3805
+ onClick: u
3806
3806
  }, {
3807
3807
  default: E(() => [
3808
3808
  N(" 编辑 "),
@@ -3848,17 +3848,17 @@ const Pr = {
3848
3848
  o.settings.filters,
3849
3849
  o.settings.filterHook
3850
3850
  )(), { filters: a } = ge(r), i = D(a.value), d = te([]), h = te(null), l = D(!1);
3851
- async function c() {
3851
+ async function u() {
3852
3852
  return await o.settings.showEdit(n, "grid");
3853
3853
  }
3854
3854
  gt(() => {
3855
- c().then(($) => {
3855
+ u().then(($) => {
3856
3856
  l.value = $;
3857
3857
  });
3858
3858
  });
3859
3859
  const b = I(() => {
3860
- var $, u;
3861
- return !!(($ = o.operations) != null && $.updatable && l || (u = o.operations) != null && u.removable && l);
3860
+ var $, c;
3861
+ return !!(($ = o.operations) != null && $.updatable && l || (c = o.operations) != null && c.removable && l);
3862
3862
  }), k = I(() => o.settings.displayMode.gridWidth), y = I(() => o.settings.displayMode.heightAuto);
3863
3863
  function f() {
3864
3864
  h.value = o.settings.fields.find(($) => $.code === "id"), d.value = o.settings.fields.filter(($) => $.code === o.settings.coverField || $.code === o.settings.nameField || $.code === "id" ? !1 : $.showInList(n, i.value));
@@ -3868,7 +3868,7 @@ const Pr = {
3868
3868
  }
3869
3869
  return B(a, ($) => {
3870
3870
  i.value = $, f();
3871
- }), f(), ($, u) => (p(), x("div", Br, [
3871
+ }), f(), ($, c) => (p(), x("div", Br, [
3872
3872
  t.data.length === 0 ? (p(), S(m(ps), {
3873
3873
  key: 0,
3874
3874
  description: "暂无数据"
@@ -4013,32 +4013,32 @@ const Jr = {
4013
4013
  n.path,
4014
4014
  a.settings.filters,
4015
4015
  a.settings.filterHook
4016
- )(), { filters: d } = ge(i), h = D(d.value), l = te([]), c = D(!1);
4016
+ )(), { filters: d } = ge(i), h = D(d.value), l = te([]), u = D(!1);
4017
4017
  async function b() {
4018
4018
  return await a.settings.showEdit(s, "list");
4019
4019
  }
4020
4020
  gt(() => {
4021
- b().then((u) => {
4022
- c.value = u;
4021
+ b().then((c) => {
4022
+ u.value = c;
4023
4023
  });
4024
4024
  });
4025
4025
  const k = I(() => {
4026
- var u, w;
4027
- return !!((u = a.operations) != null && u.updatable && c.value || (w = a.operations) != null && w.removable && c.value);
4026
+ var c, w;
4027
+ return !!((c = a.operations) != null && c.updatable && u.value || (w = a.operations) != null && w.removable && u.value);
4028
4028
  });
4029
- function y(u) {
4030
- o("sort-column", u);
4029
+ function y(c) {
4030
+ o("sort-column", c);
4031
4031
  }
4032
- function f(u) {
4033
- o("enable-item", u);
4032
+ function f(c) {
4033
+ o("enable-item", c);
4034
4034
  }
4035
4035
  function g() {
4036
- l.value = a.settings.fields.filter((u) => u.showInList(s, h.value));
4036
+ l.value = a.settings.fields.filter((c) => c.showInList(s, h.value));
4037
4037
  }
4038
- function $(u) {
4038
+ function $(c) {
4039
4039
  o("select-change", {
4040
4040
  routeQuery: s,
4041
- data: u
4041
+ data: c
4042
4042
  });
4043
4043
  }
4044
4044
  return g(), B(
@@ -4046,9 +4046,9 @@ const Jr = {
4046
4046
  () => {
4047
4047
  a.data.length > 0 && Qr(a.settings, a.data[0]);
4048
4048
  }
4049
- ), B(d, (u) => {
4050
- h.value = u, g();
4051
- }), (u, w) => (p(), S(m(fs), {
4049
+ ), B(d, (c) => {
4050
+ h.value = c, g();
4051
+ }), (c, w) => (p(), S(m(fs), {
4052
4052
  ref: "dataTable",
4053
4053
  class: "table mono-data",
4054
4054
  data: a.data,
@@ -4104,7 +4104,7 @@ const Jr = {
4104
4104
  default: E(({ row: _ }) => [
4105
4105
  O(m(pe), { size: "small" }, {
4106
4106
  default: E(() => [
4107
- J(u.$slots, "actions", { row: _ }, void 0, !0)
4107
+ J(c.$slots, "actions", { row: _ }, void 0, !0)
4108
4108
  ]),
4109
4109
  _: 2
4110
4110
  }, 1024)
@@ -4163,8 +4163,8 @@ const Jr = {
4163
4163
  }), (i, d) => (p(), S(X(r.value), Ft(Lt(o)), De({ _: 2 }, [
4164
4164
  q(m(s), (h, l) => ({
4165
4165
  name: l,
4166
- fn: E((c) => [
4167
- J(i.$slots, l, Ft(Lt(c || {})))
4166
+ fn: E((u) => [
4167
+ J(i.$slots, l, Ft(Lt(u || {})))
4168
4168
  ])
4169
4169
  }))
4170
4170
  ]), 1040));
@@ -4184,29 +4184,29 @@ const Jr = {
4184
4184
  setup(t) {
4185
4185
  const e = ce(), n = U(), s = Q(n), o = t, r = D({}), a = D(!1), i = D(!1);
4186
4186
  async function d() {
4187
- var c;
4188
- return await ((c = o.operations) == null ? void 0 : c.creatable);
4187
+ var u;
4188
+ return await ((u = o.operations) == null ? void 0 : u.creatable);
4189
4189
  }
4190
4190
  gt(() => {
4191
- d().then((c) => {
4192
- i.value = c;
4191
+ d().then((u) => {
4192
+ i.value = u;
4193
4193
  });
4194
4194
  });
4195
4195
  async function h() {
4196
- const c = o.settings.formHook, b = o.settings.fields.reduce((k, y) => (k[y.code] = y.default, k), {});
4197
- r.value = b, c.setupCreate && (r.value = c.setupCreate(r.value, s)), a.value = !0;
4196
+ const u = o.settings.formHook, b = o.settings.fields.reduce((k, y) => (k[y.code] = y.default, k), {});
4197
+ r.value = b, u.setupCreate && (r.value = u.setupCreate(r.value, s)), a.value = !0;
4198
4198
  }
4199
- function l(c, b) {
4199
+ function l(u, b) {
4200
4200
  const k = o.settings.formHook, y = o.settings.rest;
4201
4201
  Object.keys(s).forEach((f) => {
4202
- c[f] = s[f];
4203
- }), k != null && k.preCreateSubmit && (c = k.preCreateSubmit(c)), y.create(c).then(() => {
4202
+ u[f] = s[f];
4203
+ }), k != null && k.preCreateSubmit && (u = k.preCreateSubmit(u)), y.create(u).then(() => {
4204
4204
  a.value = !1, e.fireCreated();
4205
4205
  }).catch(async () => {
4206
4206
  b();
4207
4207
  });
4208
4208
  }
4209
- return (c, b) => i.value ? (p(), S(m(ne), {
4209
+ return (u, b) => i.value ? (p(), S(m(ne), {
4210
4210
  key: 0,
4211
4211
  type: "success",
4212
4212
  onClick: h
@@ -4278,7 +4278,7 @@ const Jr = {
4278
4278
  }, null, 8, ["row"])) : (p(), S(m(ne), {
4279
4279
  key: 1,
4280
4280
  type: l.type ? l.type : "primary",
4281
- onClick: (c) => a(l, s.row)
4281
+ onClick: (u) => a(l, s.row)
4282
4282
  }, {
4283
4283
  default: E(() => [
4284
4284
  N(j(l.name), 1)
@@ -4306,8 +4306,8 @@ const Jr = {
4306
4306
  },
4307
4307
  setup(t) {
4308
4308
  const e = ce(), n = t, s = n.query, o = D({}), r = te([]), a = I(() => {
4309
- var l, c;
4310
- return ((c = (l = n.tableDataSelect) == null ? void 0 : l.data) == null ? void 0 : c.length) > 0;
4309
+ var l, u;
4310
+ return ((u = (l = n.tableDataSelect) == null ? void 0 : l.data) == null ? void 0 : u.length) > 0;
4311
4311
  });
4312
4312
  D(!1), B(
4313
4313
  () => n.filterForm,
@@ -4318,13 +4318,13 @@ const Jr = {
4318
4318
  const i = D(!1);
4319
4319
  async function d(l) {
4320
4320
  i.value = !0;
4321
- const c = await Se.getValue();
4321
+ const u = await Se.getValue();
4322
4322
  try {
4323
4323
  await l.action({
4324
4324
  ...n.tableDataSelect,
4325
4325
  filterForms: o.value,
4326
4326
  query: s,
4327
- idempotentToken: c
4327
+ idempotentToken: u
4328
4328
  }), i.value = !1, e.fireUpdated();
4329
4329
  } catch {
4330
4330
  i.value = !1, e.fireUpdated();
@@ -4339,7 +4339,7 @@ const Jr = {
4339
4339
  r.value = n.settings.pageActions(n.query);
4340
4340
  },
4341
4341
  { immediate: !0 }
4342
- ), (l, c) => (p(!0), x(P, null, q(r.value, (b) => (p(), x(P, null, [
4342
+ ), (l, u) => (p(!0), x(P, null, q(r.value, (b) => (p(), x(P, null, [
4343
4343
  h(b.isVisible) ? (p(), x(P, { key: 0 }, [
4344
4344
  b.component ? (p(), S(X(b.component), {
4345
4345
  key: 0,
@@ -4426,7 +4426,7 @@ const Jr = {
4426
4426
  }
4427
4427
  });
4428
4428
  }
4429
- function c(b) {
4429
+ function u(b) {
4430
4430
  i.value = b, s.push({
4431
4431
  path: o.path,
4432
4432
  query: {
@@ -4445,7 +4445,7 @@ const Jr = {
4445
4445
  "current-page": t.page,
4446
4446
  layout: "total,sizes, prev, pager, next",
4447
4447
  onCurrentChange: l,
4448
- onSizeChange: c
4448
+ onSizeChange: u
4449
4449
  }, null, 8, ["page-size", "page-sizes", "total", "current-page"])
4450
4450
  ]));
4451
4451
  }
@@ -4491,8 +4491,8 @@ function rn(t, e, n = {}) {
4491
4491
  let a;
4492
4492
  const i = ii(() => o && "ResizeObserver" in o), d = () => {
4493
4493
  a && (a.disconnect(), a = void 0);
4494
- }, h = B(() => ai(t), (c) => {
4495
- d(), i.value && o && c && (a = new ResizeObserver(e), a.observe(c, r));
4494
+ }, h = B(() => ai(t), (u) => {
4495
+ d(), i.value && o && u && (a = new ResizeObserver(e), a.observe(u, r));
4496
4496
  }, { immediate: !0, flush: "post" }), l = () => {
4497
4497
  d(), h();
4498
4498
  };
@@ -4567,41 +4567,41 @@ const gi = {
4567
4567
  s.settings.filterHook
4568
4568
  )(), { filters: r } = ge(o), a = (Dt = s == null ? void 0 : s.hasMany) == null ? void 0 : Dt.tableName;
4569
4569
  B(r, (L) => {
4570
- u.value = L, M();
4570
+ c.value = L, M();
4571
4571
  });
4572
4572
  const i = ce(), { created: d, updated: h, removed: l } = ge(i);
4573
4573
  B([d, h, l], ([L, z, se]) => {
4574
4574
  (L || z || se) && M();
4575
4575
  });
4576
- const c = D(!0), b = D([]), k = D(0), y = D({}), f = D({}), g = D(null), $ = D(null), u = D({}), w = D(parseInt(e.query.pageSize) || 30), _ = D(parseInt(e.query.page) || 1), A = (Rt = s.hasMany) == null ? void 0 : Rt.tableContentHeight;
4576
+ const u = D(!0), b = D([]), k = D(0), y = D({}), f = D({}), g = D(null), $ = D(null), c = D({}), w = D(parseInt(e.query.pageSize) || 30), _ = D(parseInt(e.query.page) || 1), A = (Rt = s.hasMany) == null ? void 0 : Rt.tableContentHeight;
4577
4577
  function R(L) {
4578
4578
  let z = null;
4579
- if (L.order === "ascending" ? z = "ASC" : L.order === "descending" && (z = "DESC"), u.value.sorters) {
4579
+ if (L.order === "ascending" ? z = "ASC" : L.order === "descending" && (z = "DESC"), c.value.sorters) {
4580
4580
  let se = [];
4581
- u.value.sorters.some((ie) => ie.field === L.prop) ? u.value.sorters.forEach((ie) => {
4581
+ c.value.sorters.some((ie) => ie.field === L.prop) ? c.value.sorters.forEach((ie) => {
4582
4582
  ie.field === L.prop && (ie.order = z, ie.name || se.push(ie)), ie.name && se.push(ie);
4583
4583
  }) : se = [
4584
- ...u.value.sorters,
4584
+ ...c.value.sorters,
4585
4585
  { field: L.prop, order: z }
4586
- ], u.value.sorters = se;
4586
+ ], c.value.sorters = se;
4587
4587
  } else
4588
- u.value.sorters = [{ field: L.prop, order: z }];
4588
+ c.value.sorters = [{ field: L.prop, order: z }];
4589
4589
  M();
4590
4590
  }
4591
4591
  function K() {
4592
4592
  f.value = s.settings.operations(n);
4593
4593
  }
4594
4594
  function M(L) {
4595
- c.value = !0;
4595
+ u.value = !0;
4596
4596
  const z = {
4597
- ...u.value,
4597
+ ...c.value,
4598
4598
  ...n,
4599
4599
  ...s.query,
4600
4600
  page: L == "again" ? _.value - 1 : _.value,
4601
4601
  size: w.value
4602
4602
  };
4603
4603
  s.settings.rest.getList(z).then((se) => {
4604
- y.value.data = [], b.value = se.data.rows, k.value = se.data.count, c.value = !1, k.value && b.value.length == 0 && M("again");
4604
+ y.value.data = [], b.value = se.data.rows, k.value = se.data.count, u.value = !1, k.value && b.value.length == 0 && M("again");
4605
4605
  });
4606
4606
  }
4607
4607
  function Y(L) {
@@ -4656,7 +4656,7 @@ const gi = {
4656
4656
  settings: s.settings,
4657
4657
  "table-data-select": y.value,
4658
4658
  query: m(n),
4659
- "filter-form": u.value
4659
+ "filter-form": c.value
4660
4660
  }, null, 8, ["settings", "table-data-select", "query", "filter-form"]),
4661
4661
  O(Gr, {
4662
4662
  settings: s.settings,
@@ -4689,7 +4689,7 @@ const gi = {
4689
4689
  key: "0"
4690
4690
  } : void 0
4691
4691
  ]), 1032, ["data", "operations", "settings", "actions-width"])), [
4692
- [m(ve), c.value]
4692
+ [m(ve), u.value]
4693
4693
  ]),
4694
4694
  s.settings.showPagination ? (p(), x("div", {
4695
4695
  key: 0,
@@ -4914,16 +4914,16 @@ const _i = {
4914
4914
  function d(y) {
4915
4915
  var w, _;
4916
4916
  const f = y.meta.side, g = y.params.domain;
4917
- let $ = (w = y.meta) == null ? void 0 : w.title, u = (_ = y.meta) == null ? void 0 : _.code;
4917
+ let $ = (w = y.meta) == null ? void 0 : w.title, c = (_ = y.meta) == null ? void 0 : _.code;
4918
4918
  if (f && g) {
4919
- $ = Et()[f][y.params.domain].name, u = y.params.domain;
4919
+ $ = Et()[f][y.params.domain].name, c = y.params.domain;
4920
4920
  const A = y.params.id;
4921
- A && A != "detail" && ($ = `${$} - ${y.params.id}`, u = `${y.params.domain}-${y.params.id}`);
4921
+ A && A != "detail" && ($ = `${$} - ${y.params.id}`, c = `${y.params.domain}-${y.params.id}`);
4922
4922
  } else {
4923
4923
  const A = i.find((R) => R.route === y.path);
4924
- A && ($ = A.title, u = A.route);
4924
+ A && ($ = A.title, c = A.route);
4925
4925
  }
4926
- $ && u && (s.push($, u, y.fullPath), o.value = u);
4926
+ $ && c && (s.push($, c, y.fullPath), o.value = c);
4927
4927
  }
4928
4928
  function h(y) {
4929
4929
  const f = s.history.find((g) => g.code == y.props.name);
@@ -4935,7 +4935,7 @@ const _i = {
4935
4935
  o.value = f.title, e.push(f.path);
4936
4936
  }
4937
4937
  }
4938
- const c = (y, f) => {
4938
+ const u = (y, f) => {
4939
4939
  const g = s.history.length;
4940
4940
  return y === 0 && f === "self" || y < 2 && f === "left" || y === g - 1 && f === "right" || g === 1 && f === "all" ? !1 : !(g < 2 && f === "other");
4941
4941
  };
@@ -4946,24 +4946,24 @@ const _i = {
4946
4946
  g.push($[y].code);
4947
4947
  break;
4948
4948
  case "left":
4949
- for (let u = 0; u < y; u++)
4950
- u !== 0 && g.push($[u].code);
4949
+ for (let c = 0; c < y; c++)
4950
+ c !== 0 && g.push($[c].code);
4951
4951
  break;
4952
4952
  case "right":
4953
- for (let u = y + 1; u < $.length; u++)
4954
- g.push($[u].code);
4953
+ for (let c = y + 1; c < $.length; c++)
4954
+ g.push($[c].code);
4955
4955
  break;
4956
4956
  case "all":
4957
- for (let u = 0; u < $.length; u++)
4958
- u !== 0 && g.push($[u].code);
4957
+ for (let c = 0; c < $.length; c++)
4958
+ c !== 0 && g.push($[c].code);
4959
4959
  break;
4960
4960
  case "other":
4961
- for (let u = 1; u < $.length; u++)
4962
- u !== y && g.push($[u].code);
4961
+ for (let c = 1; c < $.length; c++)
4962
+ c !== y && g.push($[c].code);
4963
4963
  break;
4964
4964
  }
4965
- for (let u = 0; u < g.length; u++)
4966
- l(g[u]);
4965
+ for (let c = 0; c < g.length; c++)
4966
+ l(g[c]);
4967
4967
  }
4968
4968
  function k() {
4969
4969
  return r.config.sideMenus[a].map((y) => y.children ? y.children : y).flat();
@@ -5005,9 +5005,9 @@ const _i = {
5005
5005
  dropdown: E(() => [
5006
5006
  O(m(rt), null, {
5007
5007
  default: E(() => [
5008
- c($, "self") ? (p(), S(m(ue), {
5008
+ u($, "self") ? (p(), S(m(ue), {
5009
5009
  key: 0,
5010
- onClick: (u) => b($, "self")
5010
+ onClick: (c) => b($, "self")
5011
5011
  }, {
5012
5012
  default: E(() => [
5013
5013
  O(m(G), null, {
@@ -5020,9 +5020,9 @@ const _i = {
5020
5020
  ]),
5021
5021
  _: 2
5022
5022
  }, 1032, ["onClick"])) : F("", !0),
5023
- c($, "left") ? (p(), S(m(ue), {
5023
+ u($, "left") ? (p(), S(m(ue), {
5024
5024
  key: 1,
5025
- onClick: (u) => b($, "left")
5025
+ onClick: (c) => b($, "left")
5026
5026
  }, {
5027
5027
  default: E(() => [
5028
5028
  O(m(G), null, {
@@ -5035,9 +5035,9 @@ const _i = {
5035
5035
  ]),
5036
5036
  _: 2
5037
5037
  }, 1032, ["onClick"])) : F("", !0),
5038
- c($, "right") ? (p(), S(m(ue), {
5038
+ u($, "right") ? (p(), S(m(ue), {
5039
5039
  key: 2,
5040
- onClick: (u) => b($, "right")
5040
+ onClick: (c) => b($, "right")
5041
5041
  }, {
5042
5042
  default: E(() => [
5043
5043
  O(m(G), null, {
@@ -5050,9 +5050,9 @@ const _i = {
5050
5050
  ]),
5051
5051
  _: 2
5052
5052
  }, 1032, ["onClick"])) : F("", !0),
5053
- c($, "all") ? (p(), S(m(ue), {
5053
+ u($, "all") ? (p(), S(m(ue), {
5054
5054
  key: 3,
5055
- onClick: (u) => b($, "all")
5055
+ onClick: (c) => b($, "all")
5056
5056
  }, {
5057
5057
  default: E(() => [
5058
5058
  O(m(G), null, {
@@ -5065,9 +5065,9 @@ const _i = {
5065
5065
  ]),
5066
5066
  _: 2
5067
5067
  }, 1032, ["onClick"])) : F("", !0),
5068
- c($, "other") ? (p(), S(m(ue), {
5068
+ u($, "other") ? (p(), S(m(ue), {
5069
5069
  key: 4,
5070
- onClick: (u) => b($, "other")
5070
+ onClick: (c) => b($, "other")
5071
5071
  }, {
5072
5072
  default: E(() => [
5073
5073
  O(m(G), null, {
@@ -5317,16 +5317,16 @@ const _i = {
5317
5317
  "textarea",
5318
5318
  "text",
5319
5319
  "json",
5320
- "tree-select",
5321
- "radio-group",
5322
- "input-number"
5320
+ "tree-select"
5321
+ // "radio-group",
5322
+ // "input-number",
5323
5323
  ], l = I(() => s.settings.fields.filter((g) => g.showInDetail(d.value, {
5324
5324
  ...r,
5325
5325
  ...s.query
5326
- }))), c = I(() => l.value.find((g) => g.code === s.settings.coverField)), b = I(() => l.value.filter((g) => !h.includes(g.type) && !g.extendDetail)), k = I(() => {
5326
+ }))), u = I(() => l.value.find((g) => g.code === s.settings.coverField)), b = I(() => l.value.filter((g) => !h.includes(g.type) && !g.extendDetail)), k = I(() => {
5327
5327
  var $;
5328
- const g = ($ = c.value) == null ? void 0 : $.code;
5329
- return l.value.filter((u) => h.includes(u.type) || u.extendDetail).filter((u) => u.code !== g);
5328
+ const g = ($ = u.value) == null ? void 0 : $.code;
5329
+ return l.value.filter((c) => h.includes(c.type) || c.extendDetail).filter((c) => c.code !== g);
5330
5330
  }), y = I({
5331
5331
  get() {
5332
5332
  return k.value.map((g) => g.code);
@@ -5349,38 +5349,38 @@ const _i = {
5349
5349
  d.value ? (p(), x("div", Bi, [
5350
5350
  O(m(Oe), { gutter: 20 }, {
5351
5351
  default: E(() => [
5352
- c.value ? (p(), S(m($e), {
5352
+ u.value ? (p(), S(m($e), {
5353
5353
  key: 0,
5354
5354
  span: 6,
5355
5355
  style: { "margin-bottom": "20px" }
5356
5356
  }, {
5357
5357
  default: E(() => [
5358
- (p(), S(X(c.value.display), {
5359
- field: c.value,
5358
+ (p(), S(X(u.value.display), {
5359
+ field: u.value,
5360
5360
  row: d.value
5361
5361
  }, null, 8, ["field", "row"]))
5362
5362
  ]),
5363
5363
  _: 1
5364
5364
  })) : F("", !0),
5365
5365
  O(m($e), {
5366
- span: c.value ? 18 : 24
5366
+ span: u.value ? 18 : 24
5367
5367
  }, {
5368
5368
  default: E(() => [
5369
5369
  O(m(Oe), { gutter: 20 }, {
5370
5370
  default: E(() => [
5371
- (p(!0), x(P, null, q(b.value, (u) => (p(), S(m($e), {
5372
- span: u.span,
5371
+ (p(!0), x(P, null, q(b.value, (c) => (p(), S(m($e), {
5372
+ span: c.span,
5373
5373
  class: "mono-data",
5374
5374
  style: { "margin-bottom": "20px" }
5375
5375
  }, {
5376
5376
  default: E(() => [
5377
- C("div", Vi, j(u.label), 1),
5377
+ C("div", Vi, j(c.label), 1),
5378
5378
  C("div", Ni, [
5379
- u.code === "id" ? (p(), x(P, { key: 0 }, [
5379
+ c.code === "id" ? (p(), x(P, { key: 0 }, [
5380
5380
  N(j(d.value.id), 1)
5381
- ], 64)) : (p(), S(X(u.display), {
5381
+ ], 64)) : (p(), S(X(c.display), {
5382
5382
  key: 1,
5383
- field: u,
5383
+ field: c,
5384
5384
  row: d.value,
5385
5385
  mode: "description"
5386
5386
  }, null, 8, ["field", "row"]))
@@ -5400,18 +5400,18 @@ const _i = {
5400
5400
  k.value.length > 0 ? (p(), S(m($s), {
5401
5401
  key: 0,
5402
5402
  modelValue: y.value,
5403
- "onUpdate:modelValue": $[0] || ($[0] = (u) => y.value = u),
5403
+ "onUpdate:modelValue": $[0] || ($[0] = (c) => y.value = c),
5404
5404
  class: "extend-fields"
5405
5405
  }, {
5406
5406
  default: E(() => [
5407
- (p(!0), x(P, null, q(k.value, (u) => (p(), S(m(Ss), {
5408
- title: u.label,
5409
- name: u.code,
5407
+ (p(!0), x(P, null, q(k.value, (c) => (p(), S(m(Ss), {
5408
+ title: c.label,
5409
+ name: c.code,
5410
5410
  class: "mono-data"
5411
5411
  }, {
5412
5412
  default: E(() => [
5413
- (p(), S(X(u.display), {
5414
- field: u,
5413
+ (p(), S(X(c.display), {
5414
+ field: c,
5415
5415
  row: d.value,
5416
5416
  mode: "extend"
5417
5417
  }, null, 8, ["field", "row"]))
@@ -5426,7 +5426,7 @@ const _i = {
5426
5426
  ])
5427
5427
  ]));
5428
5428
  }
5429
- }, Yn = /* @__PURE__ */ V(Mi, [["__scopeId", "data-v-8430352a"]]), Ui = { class: "data-page-title" }, zi = { class: "title" }, Hi = {
5429
+ }, Yn = /* @__PURE__ */ V(Mi, [["__scopeId", "data-v-ce863b1a"]]), Ui = { class: "data-page-title" }, zi = { class: "title" }, Hi = {
5430
5430
  __name: "DataDetailHeader",
5431
5431
  props: {
5432
5432
  data: {
@@ -5448,8 +5448,8 @@ const _i = {
5448
5448
  if (h.displayMode.normalMode == "detail")
5449
5449
  r.value = `${h.name}`;
5450
5450
  else {
5451
- const c = `${h.formatName(d)}`;
5452
- r.value = c ? `${h.name}:${c}` : `${h.name}`;
5451
+ const u = `${h.formatName(d)}`;
5452
+ r.value = u ? `${h.name}:${u}` : `${h.name}`;
5453
5453
  }
5454
5454
  }
5455
5455
  return B(
@@ -5505,7 +5505,7 @@ const _i = {
5505
5505
  if (o.associations.length > 0)
5506
5506
  if (n.params.association) {
5507
5507
  r.value = n.params.association;
5508
- const l = o.associations.find((c) => c.domain === n.params.association);
5508
+ const l = o.associations.find((u) => u.domain === n.params.association);
5509
5509
  a.value = {
5510
5510
  ...l,
5511
5511
  domainData: o.domainData
@@ -5535,7 +5535,7 @@ const _i = {
5535
5535
  },
5536
5536
  { immediate: !0 }
5537
5537
  ), (h, l) => {
5538
- const c = qe("router-view");
5538
+ const u = qe("router-view");
5539
5539
  return p(), x(P, null, [
5540
5540
  O(m(_n), {
5541
5541
  modelValue: r.value,
@@ -5551,7 +5551,7 @@ const _i = {
5551
5551
  ]),
5552
5552
  _: 1
5553
5553
  }, 8, ["modelValue"]),
5554
- a.value ? (p(), S(c, {
5554
+ a.value ? (p(), S(u, {
5555
5555
  key: a.value,
5556
5556
  association: a.value
5557
5557
  }, null, 8, ["association"])) : F("", !0)
@@ -5633,21 +5633,21 @@ const _i = {
5633
5633
  setup(t) {
5634
5634
  const e = t, n = U(), s = Q(n), o = n.meta.side, r = e.domain || n.params.domain, a = te(null), i = te([]);
5635
5635
  $t(o, r).then((h) => {
5636
- const l = h, c = d("has-many", l.hasMany(s)), b = d("has-one", l.hasOne(s));
5637
- a.value = l, i.value = b.concat(c);
5636
+ const l = h, u = d("has-many", l.hasMany(s)), b = d("has-one", l.hasOne(s));
5637
+ a.value = l, i.value = b.concat(u);
5638
5638
  });
5639
5639
  function d(h, l) {
5640
- return (l || []).map((c) => typeof c == "object" ? {
5640
+ return (l || []).map((u) => typeof u == "object" ? {
5641
5641
  type: h,
5642
- domain: c.code,
5643
- name: c.name,
5644
- tableName: c.tableName,
5645
- tableContentHeight: c.tableContentHeight,
5646
- query: c.query || (() => ({}))
5642
+ domain: u.code,
5643
+ name: u.name,
5644
+ tableName: u.tableName,
5645
+ tableContentHeight: u.tableContentHeight,
5646
+ query: u.query || (() => ({}))
5647
5647
  } : {
5648
5648
  type: h,
5649
- domain: c,
5650
- name: Et()[o][c].name,
5649
+ domain: u,
5650
+ name: Et()[o][u].name,
5651
5651
  query: () => ({})
5652
5652
  });
5653
5653
  }
@@ -5740,4 +5740,4 @@ export {
5740
5740
  cl as y,
5741
5741
  pl as z
5742
5742
  };
5743
- //# sourceMappingURL=index-CtwL3y66.js.map
5743
+ //# sourceMappingURL=index-CMyXHvLO.js.map