@morghulis/core 1.0.53 → 1.0.55

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.
@@ -1,8 +1,8 @@
1
- import { hasInjectionContext as qr, inject as Et, getCurrentInstance as Hr, effectScope as Ia, ref as x, markRaw as it, reactive as Kt, isRef as ie, isReactive as wo, toRef as Yn, toRaw as Yt, nextTick as Ve, computed as O, getCurrentScope as Kr, onScopeDispose as Yr, watch as J, toRefs as tl, unref as h, onUnmounted as Pa, defineComponent as I, onMounted as $t, onBeforeUnmount as Fa, createElementBlock as z, openBlock as b, normalizeStyle as je, useSlots as Tn, normalizeClass as Vt, createBlock as k, createCommentVNode as K, renderSlot as Z, resolveComponent as w, withCtx as f, createVNode as m, createElementVNode as te, createTextVNode as S, resolveDirective as Tt, withKeys as Le, createSlots as ko, withDirectives as Ye, toDisplayString as M, Fragment as H, defineAsyncComponent as Wt, shallowRef as Wr, renderList as se, resolveDynamicComponent as An, mergeProps as ke, vShow as Gr } from "vue";
1
+ import { hasInjectionContext as qr, inject as xt, getCurrentInstance as Hr, effectScope as Ia, ref as x, markRaw as it, reactive as Kt, isRef as ie, isReactive as wo, toRef as Yn, toRaw as Yt, nextTick as Ve, computed as O, getCurrentScope as Kr, onScopeDispose as Yr, watch as J, toRefs as tl, unref as h, onUnmounted as Fa, defineComponent as I, onMounted as Vt, onBeforeUnmount as Pa, createElementBlock as M, openBlock as b, normalizeStyle as je, useSlots as Tn, normalizeClass as Tt, createBlock as k, createCommentVNode as K, renderSlot as Z, resolveComponent as w, withCtx as f, createVNode as m, createElementVNode as te, createTextVNode as S, resolveDirective as At, withKeys as Le, createSlots as ko, withDirectives as Ye, toDisplayString as z, Fragment as H, defineAsyncComponent as Wt, shallowRef as Wr, renderList as se, resolveDynamicComponent as An, mergeProps as ke, vShow as Gr } from "vue";
2
2
  import { library as Jr } from "@fortawesome/fontawesome-svg-core";
3
- import { faUser as Xr, faPaperPlane as Zr, faRefresh as Qr, faExchangeAlt as ei, faCalculator as ti, faDatabase as ni, faClose as oi, faPlus as li, faSave as ai, faMinusSquare as si, faSearch as ri, faBan as ii, faEdit as ui, faTrash as ci, faPaste as di, faPlusSquare as pi, faLeaf as fi, faFolder as mi, faTable as _i, faUpload as gi, faClone as hi, faDownload as vi, faFolderOpen as yi, faExpand as bi, faCode as wi, faCheckCircle as ki, faInfoCircle as Ei, faClipboard as xi, faFileExcel as Ci, faXmark as Oi, faXmarkCircle as Si, faXmarkSquare as $i, faWarning as Vi, faFileText as Ti, faBookOpen as Ai, faFileImport as Di, faCloudUploadAlt as Ri, faCloudUpload as Ii, faCheckSquare as Pi, faSort as Fi, faLayerGroup as Ni, faFile as Ui, faA as Bi, faCheck as Li, faSortDesc as zi, faSearchMinus as Mi, faSortAsc as ji, faCaretSquareUp as qi, faTableCells as Hi, faTableList as Ki, faRobot as Yi, faLock as Wi, faQuoteLeftAlt as Gi, faScroll as Ji, faSlidersH as Xi, faCalendarDay as Zi, faListUl as Qi, faCalendarWeek as eu, faCalendarAlt as tu, faLink as nu, faUnlink as ou, faBox as lu, faBoxes as au, faFolderTree as su, faBolt as ru, faCheckToSlot as iu, faCircleDot as uu, faCircle as cu, faCopy as du, faCogs as pu, faListAlt as fu, faUnlock as mu, faPen as _u, faSpinner as gu, faRightToBracket as hu, faRightFromBracket as vu, faEnvelope as yu, faKey as bu, faCodeBranch as wu, faAddressCard as ku, faHome as Eu, faCircleUser as xu, faUsers as Cu, faList as Ou, faUserLock as Su, faRotateLeft as $u, faBars as Vu, faEye as Tu, faAt as Au, faUserTag as Du, faLockOpen as Ru, faCalendar as Iu, faStar as Pu, faCog as Fu, faSquare as Nu, faBoxOpen as Uu, faUserGroup as Bu, faHourglass as Lu, faUserGraduate as zu, faAsterisk as Mu, faUserPlus as ju } from "@fortawesome/free-solid-svg-icons";
3
+ import { faUser as Xr, faPaperPlane as Zr, faRefresh as Qr, faExchangeAlt as ei, faCalculator as ti, faDatabase as ni, faClose as oi, faPlus as li, faSave as ai, faMinusSquare as si, faSearch as ri, faBan as ii, faEdit as ui, faTrash as ci, faPaste as di, faPlusSquare as pi, faLeaf as fi, faFolder as mi, faTable as _i, faUpload as gi, faClone as hi, faDownload as vi, faFolderOpen as yi, faExpand as bi, faCode as wi, faCheckCircle as ki, faInfoCircle as Ei, faClipboard as xi, faFileExcel as Ci, faXmark as Oi, faXmarkCircle as Si, faXmarkSquare as $i, faWarning as Vi, faFileText as Ti, faBookOpen as Ai, faFileImport as Di, faCloudUploadAlt as Ri, faCloudUpload as Ii, faCheckSquare as Fi, faSort as Pi, faLayerGroup as Ni, faFile as Ui, faA as Bi, faCheck as Li, faSortDesc as zi, faSearchMinus as Mi, faSortAsc as ji, faCaretSquareUp as qi, faTableCells as Hi, faTableList as Ki, faRobot as Yi, faLock as Wi, faQuoteLeftAlt as Gi, faScroll as Ji, faSlidersH as Xi, faCalendarDay as Zi, faListUl as Qi, faCalendarWeek as eu, faCalendarAlt as tu, faLink as nu, faUnlink as ou, faBox as lu, faBoxes as au, faFolderTree as su, faBolt as ru, faCheckToSlot as iu, faCircleDot as uu, faCircle as cu, faCopy as du, faCogs as pu, faListAlt as fu, faUnlock as mu, faPen as _u, faSpinner as gu, faRightToBracket as hu, faRightFromBracket as vu, faEnvelope as yu, faKey as bu, faCodeBranch as wu, faAddressCard as ku, faHome as Eu, faCircleUser as xu, faUsers as Cu, faList as Ou, faUserLock as Su, faRotateLeft as $u, faBars as Vu, faEye as Tu, faAt as Au, faUserTag as Du, faLockOpen as Ru, faCalendar as Iu, faStar as Fu, faCog as Pu, faSquare as Nu, faBoxOpen as Uu, faUserGroup as Bu, faHourglass as Lu, faUserGraduate as zu, faAsterisk as Mu, faUserPlus as ju } from "@fortawesome/free-solid-svg-icons";
4
4
  import { pick as ve, isEqual as Ie, isEmpty as qe, isBoolean as Dn, isNumber as no, isArray as oo, cloneDeep as Qe, keyBy as Eo, merge as xo, range as Na, intersection as pn, union as lo, difference as qu, omit as Rn, get as Hu, mapValues as Ku } from "lodash";
5
- import { useWebSocket as Yu, useClipboard as At, useElementSize as bt, useWindowSize as Wu, useInterval as Ua } from "@vueuse/core";
5
+ import { useWebSocket as Yu, useClipboard as _t, useElementSize as wt, useWindowSize as Wu, useInterval as Ua } from "@vueuse/core";
6
6
  import et from "moment";
7
7
  import { FontAwesomeIcon as Gu } from "@fortawesome/vue-fontawesome";
8
8
  import { ElMessageBox as Je, ElMessage as rn, ElTreeSelect as Ju, ElLoading as Xu, ElCascader as Zu } from "element-plus";
@@ -48,8 +48,8 @@ function nc(e = []) {
48
48
  Di,
49
49
  Ri,
50
50
  Ii,
51
- Pi,
52
51
  Fi,
52
+ Pi,
53
53
  Ni,
54
54
  Ui,
55
55
  Bi,
@@ -102,8 +102,8 @@ function nc(e = []) {
102
102
  Du,
103
103
  Ru,
104
104
  Iu,
105
- Pu,
106
105
  Fu,
106
+ Pu,
107
107
  Nu,
108
108
  Uu,
109
109
  Bu,
@@ -282,7 +282,7 @@ var ol = (0, pc.default)({ circles: !0 });
282
282
  const hc = {
283
283
  trailing: !0
284
284
  };
285
- function xt(e, t = 25, n = {}) {
285
+ function Ct(e, t = 25, n = {}) {
286
286
  if (n = { ...hc, ...n }, !Number.isFinite(t))
287
287
  throw new TypeError("Expected `wait` to be a finite number");
288
288
  let o, l, s = [], a, r;
@@ -1792,27 +1792,27 @@ var xc = Object.create, qa = Object.defineProperty, Cc = Object.getOwnPropertyDe
1792
1792
  "¤": "tien te"
1793
1793
  }
1794
1794
  }, i = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), u = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(y, E) {
1795
- var T = "-", D = "", C = "", V = !0, F = {}, $, P, U, A, R, B, q, Q, de, ne, G, ae, oe, Ne, pe = "";
1795
+ var T = "-", D = "", C = "", V = !0, P = {}, $, F, U, A, R, B, q, Q, de, ne, G, ae, oe, Ne, pe = "";
1796
1796
  if (typeof y != "string")
1797
1797
  return "";
1798
1798
  if (typeof E == "string" && (T = E), q = r.en, Q = a.en, typeof E == "object") {
1799
- $ = E.maintainCase || !1, F = E.custom && typeof E.custom == "object" ? E.custom : F, U = +E.truncate > 1 && E.truncate || !1, A = E.uric || !1, R = E.uricNoSlash || !1, B = E.mark || !1, V = !(E.symbols === !1 || E.lang === !1), T = E.separator || T, A && (pe += i), R && (pe += u), B && (pe += c), q = E.lang && r[E.lang] && V ? r[E.lang] : V ? r.en : {}, Q = E.lang && a[E.lang] ? a[E.lang] : E.lang === !1 || E.lang === !0 ? {} : a.en, E.titleCase && typeof E.titleCase.length == "number" && Array.prototype.toString.call(E.titleCase) ? (E.titleCase.forEach(function(_e) {
1800
- F[_e + ""] = _e + "";
1801
- }), P = !0) : P = !!E.titleCase, E.custom && typeof E.custom.length == "number" && Array.prototype.toString.call(E.custom) && E.custom.forEach(function(_e) {
1802
- F[_e + ""] = _e + "";
1803
- }), Object.keys(F).forEach(function(_e) {
1799
+ $ = E.maintainCase || !1, P = E.custom && typeof E.custom == "object" ? E.custom : P, U = +E.truncate > 1 && E.truncate || !1, A = E.uric || !1, R = E.uricNoSlash || !1, B = E.mark || !1, V = !(E.symbols === !1 || E.lang === !1), T = E.separator || T, A && (pe += i), R && (pe += u), B && (pe += c), q = E.lang && r[E.lang] && V ? r[E.lang] : V ? r.en : {}, Q = E.lang && a[E.lang] ? a[E.lang] : E.lang === !1 || E.lang === !0 ? {} : a.en, E.titleCase && typeof E.titleCase.length == "number" && Array.prototype.toString.call(E.titleCase) ? (E.titleCase.forEach(function(_e) {
1800
+ P[_e + ""] = _e + "";
1801
+ }), F = !0) : F = !!E.titleCase, E.custom && typeof E.custom.length == "number" && Array.prototype.toString.call(E.custom) && E.custom.forEach(function(_e) {
1802
+ P[_e + ""] = _e + "";
1803
+ }), Object.keys(P).forEach(function(_e) {
1804
1804
  var He;
1805
- _e.length > 1 ? He = new RegExp("\\b" + g(_e) + "\\b", "gi") : He = new RegExp(g(_e), "gi"), y = y.replace(He, F[_e]);
1805
+ _e.length > 1 ? He = new RegExp("\\b" + g(_e) + "\\b", "gi") : He = new RegExp(g(_e), "gi"), y = y.replace(He, P[_e]);
1806
1806
  });
1807
- for (G in F)
1807
+ for (G in P)
1808
1808
  pe += G;
1809
1809
  }
1810
1810
  for (pe += T, pe = g(pe), y = y.replace(/(^\s+|\s+$)/g, ""), oe = !1, Ne = !1, ne = 0, ae = y.length; ne < ae; ne++)
1811
- G = y[ne], p(G, F) ? oe = !1 : Q[G] ? (G = oe && Q[G].match(/[A-Za-z0-9]/) ? " " + Q[G] : Q[G], oe = !1) : G in o ? (ne + 1 < ae && l.indexOf(y[ne + 1]) >= 0 ? (C += G, G = "") : Ne === !0 ? (G = s[C] + o[G], C = "") : G = oe && o[G].match(/[A-Za-z0-9]/) ? " " + o[G] : o[G], oe = !1, Ne = !1) : G in s ? (C += G, G = "", ne === ae - 1 && (G = s[C]), Ne = !0) : /* process symbol chars */ q[G] && !(A && i.indexOf(G) !== -1) && !(R && u.indexOf(G) !== -1) ? (G = oe || D.substr(-1).match(/[A-Za-z0-9]/) ? T + q[G] : q[G], G += y[ne + 1] !== void 0 && y[ne + 1].match(/[A-Za-z0-9]/) ? T : "", oe = !0) : (Ne === !0 ? (G = s[C] + G, C = "", Ne = !1) : oe && (/[A-Za-z0-9]/.test(G) || D.substr(-1).match(/A-Za-z0-9]/)) && (G = " " + G), oe = !1), D += G.replace(new RegExp("[^\\w\\s" + pe + "_-]", "g"), T);
1812
- return P && (D = D.replace(/(\w)(\S*)/g, function(_e, He, st) {
1813
- var vt = He.toUpperCase() + (st !== null ? st : "");
1814
- return Object.keys(F).indexOf(vt.toLowerCase()) < 0 ? vt : vt.toLowerCase();
1815
- })), D = D.replace(/\s+/g, T).replace(new RegExp("\\" + T + "+", "g"), T).replace(new RegExp("(^\\" + T + "+|\\" + T + "+$)", "g"), ""), U && D.length > U && (de = D.charAt(U) === T, D = D.slice(0, U), de || (D = D.slice(0, D.lastIndexOf(T)))), !$ && !P && (D = D.toLowerCase()), D;
1811
+ G = y[ne], p(G, P) ? oe = !1 : Q[G] ? (G = oe && Q[G].match(/[A-Za-z0-9]/) ? " " + Q[G] : Q[G], oe = !1) : G in o ? (ne + 1 < ae && l.indexOf(y[ne + 1]) >= 0 ? (C += G, G = "") : Ne === !0 ? (G = s[C] + o[G], C = "") : G = oe && o[G].match(/[A-Za-z0-9]/) ? " " + o[G] : o[G], oe = !1, Ne = !1) : G in s ? (C += G, G = "", ne === ae - 1 && (G = s[C]), Ne = !0) : /* process symbol chars */ q[G] && !(A && i.indexOf(G) !== -1) && !(R && u.indexOf(G) !== -1) ? (G = oe || D.substr(-1).match(/[A-Za-z0-9]/) ? T + q[G] : q[G], G += y[ne + 1] !== void 0 && y[ne + 1].match(/[A-Za-z0-9]/) ? T : "", oe = !0) : (Ne === !0 ? (G = s[C] + G, C = "", Ne = !1) : oe && (/[A-Za-z0-9]/.test(G) || D.substr(-1).match(/A-Za-z0-9]/)) && (G = " " + G), oe = !1), D += G.replace(new RegExp("[^\\w\\s" + pe + "_-]", "g"), T);
1812
+ return F && (D = D.replace(/(\w)(\S*)/g, function(_e, He, st) {
1813
+ var yt = He.toUpperCase() + (st !== null ? st : "");
1814
+ return Object.keys(P).indexOf(yt.toLowerCase()) < 0 ? yt : yt.toLowerCase();
1815
+ })), D = D.replace(/\s+/g, T).replace(new RegExp("\\" + T + "+", "g"), T).replace(new RegExp("(^\\" + T + "+|\\" + T + "+$)", "g"), ""), U && D.length > U && (de = D.charAt(U) === T, D = D.slice(0, U), de || (D = D.slice(0, D.lastIndexOf(T)))), !$ && !F && (D = D.toLowerCase()), D;
1816
1816
  }, _ = function(y) {
1817
1817
  return function(T) {
1818
1818
  return d(T, y);
@@ -1892,7 +1892,7 @@ function In(e) {
1892
1892
  const s = Ic(e?.type || {});
1893
1893
  return s || "Anonymous Component";
1894
1894
  }
1895
- function Pc(e) {
1895
+ function Fc(e) {
1896
1896
  var t, n, o;
1897
1897
  const l = (o = (n = (t = e?.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? o : 0, s = e === e?.root ? "root" : e.uid;
1898
1898
  return `${l}:${s}`;
@@ -1900,7 +1900,7 @@ function Pc(e) {
1900
1900
  function so(e, t) {
1901
1901
  return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
1902
1902
  }
1903
- function Fc() {
1903
+ function Pc() {
1904
1904
  const e = {
1905
1905
  top: 0,
1906
1906
  bottom: 0,
@@ -1920,7 +1920,7 @@ function Nc(e) {
1920
1920
  return un || (un = document.createRange()), un.selectNode(e), un.getBoundingClientRect();
1921
1921
  }
1922
1922
  function Uc(e) {
1923
- const t = Fc();
1923
+ const t = Pc();
1924
1924
  if (!e.children)
1925
1925
  return t;
1926
1926
  for (let n = 0, o = e.children.length; n < o; n++) {
@@ -2063,7 +2063,7 @@ function io(e) {
2063
2063
  }
2064
2064
  function Yc(e, t) {
2065
2065
  if (e.preventDefault(), e.stopPropagation(), ro) {
2066
- const n = Pc(ro);
2066
+ const n = Fc(ro);
2067
2067
  t(n);
2068
2068
  }
2069
2069
  }
@@ -2269,7 +2269,7 @@ var Do = new Proxy(Y.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2269
2269
  get(e, t, n) {
2270
2270
  return Reflect.get(e, t, n);
2271
2271
  }
2272
- }), es = xt(() => {
2272
+ }), es = Ct(() => {
2273
2273
  Rt.hooks.callHook("sendInspectorToClient", ts());
2274
2274
  });
2275
2275
  function rd(e, t) {
@@ -2307,7 +2307,7 @@ function id() {
2307
2307
  e.hook("addInspector", ({ inspector: o, plugin: l }) => {
2308
2308
  rd(o, l.descriptor);
2309
2309
  });
2310
- const t = xt(async ({ inspectorId: o, plugin: l }) => {
2310
+ const t = Ct(async ({ inspectorId: o, plugin: l }) => {
2311
2311
  var s;
2312
2312
  if (!o || !((s = l?.descriptor) != null && s.app) || fe.highPerfModeEnabled)
2313
2313
  return;
@@ -2337,7 +2337,7 @@ function id() {
2337
2337
  );
2338
2338
  }, 120);
2339
2339
  e.hook("sendInspectorTree", t);
2340
- const n = xt(async ({ inspectorId: o, plugin: l }) => {
2340
+ const n = Ct(async ({ inspectorId: o, plugin: l }) => {
2341
2341
  var s;
2342
2342
  if (!o || !((s = l?.descriptor) != null && s.app) || fe.highPerfModeEnabled)
2343
2343
  return;
@@ -2425,13 +2425,13 @@ function ud() {
2425
2425
  }
2426
2426
  var kl, El;
2427
2427
  (El = (kl = Y)[ut]) != null || (kl[ut] = ud());
2428
- var cd = xt((e) => {
2428
+ var cd = Ct((e) => {
2429
2429
  Rt.hooks.callHook("devtoolsStateUpdated", { state: e });
2430
2430
  });
2431
- xt((e, t) => {
2431
+ Ct((e, t) => {
2432
2432
  Rt.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
2433
2433
  });
2434
- var Pn = new Proxy(Y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2434
+ var Fn = new Proxy(Y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2435
2435
  get(e, t, n) {
2436
2436
  return t === "value" ? Y.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : Y.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2437
2437
  }
@@ -2443,7 +2443,7 @@ var Pn = new Proxy(Y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2443
2443
  function ns() {
2444
2444
  cd({
2445
2445
  ...Y[ut],
2446
- appRecords: Pn.value,
2446
+ appRecords: Fn.value,
2447
2447
  activeAppRecordId: Ee.id,
2448
2448
  tabs: Y.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2449
2449
  commands: Y.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
@@ -2457,7 +2457,7 @@ function pd(e) {
2457
2457
  }
2458
2458
  var fe = new Proxy(Y[ut], {
2459
2459
  get(e, t) {
2460
- return t === "appRecords" ? Pn : t === "activeAppRecordId" ? Ee.id : t === "tabs" ? Y.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? Y.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : Y[ut][t];
2460
+ return t === "appRecords" ? Fn : t === "activeAppRecordId" ? Ee.id : t === "tabs" ? Y.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? Y.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : Y[ut][t];
2461
2461
  },
2462
2462
  deleteProperty(e, t) {
2463
2463
  return delete e[t], !0;
@@ -2756,16 +2756,16 @@ function ss(e, t) {
2756
2756
  }
2757
2757
  L();
2758
2758
  L();
2759
- var Gt = "__VUE_DEVTOOLS_ROUTER__", Ct = "__VUE_DEVTOOLS_ROUTER_INFO__", Tl, Al;
2760
- (Al = (Tl = Y)[Ct]) != null || (Tl[Ct] = {
2759
+ var Gt = "__VUE_DEVTOOLS_ROUTER__", Ot = "__VUE_DEVTOOLS_ROUTER_INFO__", Tl, Al;
2760
+ (Al = (Tl = Y)[Ot]) != null || (Tl[Ot] = {
2761
2761
  currentRoute: null,
2762
2762
  routes: []
2763
2763
  });
2764
2764
  var Dl, Rl;
2765
2765
  (Rl = (Dl = Y)[Gt]) != null || (Dl[Gt] = {});
2766
- new Proxy(Y[Ct], {
2766
+ new Proxy(Y[Ot], {
2767
2767
  get(e, t) {
2768
- return Y[Ct][t];
2768
+ return Y[Ot][t];
2769
2769
  }
2770
2770
  });
2771
2771
  new Proxy(Y[Gt], {
@@ -2778,10 +2778,10 @@ function Od(e) {
2778
2778
  const t = /* @__PURE__ */ new Map();
2779
2779
  return (e?.getRoutes() || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
2780
2780
  }
2781
- function Po(e) {
2781
+ function Fo(e) {
2782
2782
  return e.map((t) => {
2783
2783
  let { path: n, name: o, children: l, meta: s } = t;
2784
- return l?.length && (l = Po(l)), {
2784
+ return l?.length && (l = Fo(l)), {
2785
2785
  path: n,
2786
2786
  name: o,
2787
2787
  children: l,
@@ -2800,7 +2800,7 @@ function Sd(e) {
2800
2800
  name: s,
2801
2801
  params: r,
2802
2802
  query: i,
2803
- matched: Po(a)
2803
+ matched: Fo(a)
2804
2804
  };
2805
2805
  }
2806
2806
  return e;
@@ -2808,16 +2808,16 @@ function Sd(e) {
2808
2808
  function $d(e, t) {
2809
2809
  function n() {
2810
2810
  var o;
2811
- const l = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, s = Sd(l?.currentRoute.value), a = Po(Od(l)), r = console.warn;
2811
+ const l = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, s = Sd(l?.currentRoute.value), a = Fo(Od(l)), r = console.warn;
2812
2812
  console.warn = () => {
2813
- }, Y[Ct] = {
2813
+ }, Y[Ot] = {
2814
2814
  currentRoute: s ? ol(s) : {},
2815
2815
  routes: ol(a)
2816
2816
  }, Y[Gt] = l, console.warn = r;
2817
2817
  }
2818
- n(), ls.on.componentUpdated(xt(() => {
2818
+ n(), ls.on.componentUpdated(Ct(() => {
2819
2819
  var o;
2820
- ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !fe.highPerfModeEnabled && Rt.hooks.callHook("routerInfoUpdated", { state: Y[Ct] }));
2820
+ ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !fe.highPerfModeEnabled && Rt.hooks.callHook("routerInfoUpdated", { state: Y[Ot] }));
2821
2821
  }, 200));
2822
2822
  }
2823
2823
  function Vd(e) {
@@ -2907,7 +2907,7 @@ function Vd(e) {
2907
2907
  getVueInspector: Qc,
2908
2908
  // toggle app
2909
2909
  toggleApp(t, n) {
2910
- const o = Pn.value.find((l) => l.id === t);
2910
+ const o = Fn.value.find((l) => l.id === t);
2911
2911
  o && (pd(t), dd(o), $d(o, Ee), es(), ss(o.app, n));
2912
2912
  },
2913
2913
  // inspect dom
@@ -2930,22 +2930,22 @@ function Vd(e) {
2930
2930
  };
2931
2931
  }
2932
2932
  L();
2933
- var Il, Pl;
2934
- (Pl = (Il = Y).__VUE_DEVTOOLS_ENV__) != null || (Il.__VUE_DEVTOOLS_ENV__ = {
2933
+ var Il, Fl;
2934
+ (Fl = (Il = Y).__VUE_DEVTOOLS_ENV__) != null || (Il.__VUE_DEVTOOLS_ENV__ = {
2935
2935
  vitePluginDetected: !1
2936
2936
  });
2937
- var Fl = id(), Nl, Ul;
2937
+ var Pl = id(), Nl, Ul;
2938
2938
  (Ul = (Nl = Y).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (Nl.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
2939
- hooks: Fl,
2939
+ hooks: Pl,
2940
2940
  get state() {
2941
2941
  return {
2942
2942
  ...fe,
2943
2943
  activeAppRecordId: Ee.id,
2944
2944
  activeAppRecord: Ee.value,
2945
- appRecords: Pn.value
2945
+ appRecords: Fn.value
2946
2946
  };
2947
2947
  },
2948
- api: Vd(Fl)
2948
+ api: Vd(Pl)
2949
2949
  });
2950
2950
  var Rt = Y.__VUE_DEVTOOLS_KIT_CONTEXT__;
2951
2951
  L();
@@ -3033,7 +3033,7 @@ function Id(e) {
3033
3033
  e.hasOwnProperty(n) && t.push(e[n]);
3034
3034
  return t;
3035
3035
  }
3036
- function Pd(e, t) {
3036
+ function Fd(e, t) {
3037
3037
  const n = Id(e);
3038
3038
  if ("find" in n)
3039
3039
  return n.find(t);
@@ -3044,7 +3044,7 @@ function Pd(e, t) {
3044
3044
  return s;
3045
3045
  }
3046
3046
  }
3047
- function Ot(e, t) {
3047
+ function St(e, t) {
3048
3048
  Object.entries(e).forEach(([n, o]) => t(o, n));
3049
3049
  }
3050
3050
  function mn(e, t) {
@@ -3057,7 +3057,7 @@ function jl(e, t) {
3057
3057
  return o;
3058
3058
  }
3059
3059
  }
3060
- var Fd = class {
3060
+ var Pd = class {
3061
3061
  constructor() {
3062
3062
  this.transfomers = {};
3063
3063
  }
@@ -3065,7 +3065,7 @@ var Fd = class {
3065
3065
  this.transfomers[e.name] = e;
3066
3066
  }
3067
3067
  findApplicable(e) {
3068
- return Pd(this.transfomers, (t) => t.isApplicable(e));
3068
+ return Fd(this.transfomers, (t) => t.isApplicable(e));
3069
3069
  }
3070
3070
  findByName(e) {
3071
3071
  return this.transfomers[e];
@@ -3138,7 +3138,7 @@ var ds = [
3138
3138
  Ue((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
3139
3139
  Ue(Gd, "URL", (e) => e.toString(), (e) => new URL(e))
3140
3140
  ];
3141
- function Fn(e, t, n, o) {
3141
+ function Pn(e, t, n, o) {
3142
3142
  return {
3143
3143
  isApplicable: e,
3144
3144
  annotation: t,
@@ -3146,7 +3146,7 @@ function Fn(e, t, n, o) {
3146
3146
  untransform: o
3147
3147
  };
3148
3148
  }
3149
- var ps = Fn((e, t) => us(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3149
+ var ps = Pn((e, t) => us(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3150
3150
  const o = n.symbolRegistry.getValue(t[1]);
3151
3151
  if (!o)
3152
3152
  throw new Error("Trying to deserialize unknown symbol");
@@ -3161,7 +3161,7 @@ var ps = Fn((e, t) => us(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
3161
3161
  Float32Array,
3162
3162
  Float64Array,
3163
3163
  Uint8ClampedArray
3164
- ].reduce((e, t) => (e[t.name] = t, e), {}), fs = Fn(Wd, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3164
+ ].reduce((e, t) => (e[t.name] = t, e), {}), fs = Pn(Wd, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3165
3165
  const n = Jd[t[1]];
3166
3166
  if (!n)
3167
3167
  throw new Error("Trying to deserialize unknown typed array");
@@ -3170,7 +3170,7 @@ var ps = Fn((e, t) => us(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
3170
3170
  function ms(e, t) {
3171
3171
  return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
3172
3172
  }
3173
- var _s = Fn(ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3173
+ var _s = Pn(ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3174
3174
  const n = t.classRegistry.getAllowedProps(e.constructor);
3175
3175
  if (!n)
3176
3176
  return { ...e };
@@ -3183,7 +3183,7 @@ var _s = Fn(ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
3183
3183
  if (!o)
3184
3184
  throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
3185
3185
  return Object.assign(Object.create(o.prototype), e);
3186
- }), gs = Fn((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
3186
+ }), gs = Pn((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
3187
3187
  const o = n.customTransformerRegistry.findByName(t[1]);
3188
3188
  if (!o)
3189
3189
  throw new Error("Trying to deserialize unknown custom value");
@@ -3227,7 +3227,7 @@ var Zd = (e, t, n) => {
3227
3227
  }
3228
3228
  };
3229
3229
  L();
3230
- var wt = (e, t) => {
3230
+ var kt = (e, t) => {
3231
3231
  if (t > e.size)
3232
3232
  throw new Error("index out of bounds");
3233
3233
  const n = e.keys();
@@ -3248,9 +3248,9 @@ var Qd = (e, t) => {
3248
3248
  for (let n = 0; n < t.length; n++) {
3249
3249
  const o = t[n];
3250
3250
  if (Zt(e))
3251
- e = wt(e, +o);
3251
+ e = kt(e, +o);
3252
3252
  else if (Xt(e)) {
3253
- const l = +o, s = +t[++n] == 0 ? "key" : "value", a = wt(e, l);
3253
+ const l = +o, s = +t[++n] == 0 ? "key" : "value", a = kt(e, l);
3254
3254
  switch (s) {
3255
3255
  case "key":
3256
3256
  e = a;
@@ -3276,11 +3276,11 @@ var Qd = (e, t) => {
3276
3276
  o = o[a];
3277
3277
  else if (Zt(o)) {
3278
3278
  const r = +a;
3279
- o = wt(o, r);
3279
+ o = kt(o, r);
3280
3280
  } else if (Xt(o)) {
3281
3281
  if (s === t.length - 2)
3282
3282
  break;
3283
- const i = +a, u = +t[++s] == 0 ? "key" : "value", c = wt(o, i);
3283
+ const i = +a, u = +t[++s] == 0 ? "key" : "value", c = kt(o, i);
3284
3284
  switch (u) {
3285
3285
  case "key":
3286
3286
  o = c;
@@ -3293,11 +3293,11 @@ var Qd = (e, t) => {
3293
3293
  }
3294
3294
  const l = t[t.length - 1];
3295
3295
  if (tt(o) ? o[+l] = n(o[+l]) : Jt(o) && (o[l] = n(o[l])), Zt(o)) {
3296
- const s = wt(o, +l), a = n(s);
3296
+ const s = kt(o, +l), a = n(s);
3297
3297
  s !== a && (o.delete(s), o.add(a));
3298
3298
  }
3299
3299
  if (Xt(o)) {
3300
- const s = +t[t.length - 2], a = wt(o, s);
3300
+ const s = +t[t.length - 2], a = kt(o, s);
3301
3301
  switch (+l == 0 ? "key" : "value") {
3302
3302
  case "key": {
3303
3303
  const i = n(a);
@@ -3316,11 +3316,11 @@ function fo(e, t, n = []) {
3316
3316
  if (!e)
3317
3317
  return;
3318
3318
  if (!tt(e)) {
3319
- Ot(e, (s, a) => fo(s, t, [...n, ...Ht(a)]));
3319
+ St(e, (s, a) => fo(s, t, [...n, ...Ht(a)]));
3320
3320
  return;
3321
3321
  }
3322
3322
  const [o, l] = e;
3323
- l && Ot(l, (s, a) => {
3323
+ l && St(l, (s, a) => {
3324
3324
  fo(s, t, [...n, ...Ht(a)]);
3325
3325
  }), t(o, n);
3326
3326
  }
@@ -3340,9 +3340,9 @@ function tp(e, t) {
3340
3340
  const [o, l] = t;
3341
3341
  o.forEach((s) => {
3342
3342
  e = po(e, Ht(s), () => e);
3343
- }), l && Ot(l, n);
3343
+ }), l && St(l, n);
3344
3344
  } else
3345
- Ot(t, n);
3345
+ St(t, n);
3346
3346
  return e;
3347
3347
  }
3348
3348
  var np = (e, t) => Jt(e) || tt(e) || Xt(e) || Zt(e) || ms(e, t);
@@ -3386,11 +3386,11 @@ var ys = (e, t, n, o, l = [], s = [], a = /* @__PURE__ */ new Map()) => {
3386
3386
  transformedValue: null
3387
3387
  };
3388
3388
  const u = Hl(e, n), c = (r = u?.value) != null ? r : e, d = tt(c) ? [] : {}, _ = {};
3389
- Ot(c, (p, v) => {
3389
+ St(c, (p, v) => {
3390
3390
  if (v === "__proto__" || v === "constructor" || v === "prototype")
3391
3391
  throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);
3392
3392
  const y = ys(p, t, n, o, [...l, v], [...s, e], a);
3393
- d[v] = y.transformedValue, tt(y.annotations) ? _[v] = y.annotations : Jt(y.annotations) && Ot(y.annotations, (E, T) => {
3393
+ d[v] = y.transformedValue, tt(y.annotations) ? _[v] = y.annotations : Jt(y.annotations) && St(y.annotations, (E, T) => {
3394
3394
  _[cs(v) + "." + T] = E;
3395
3395
  });
3396
3396
  });
@@ -3447,7 +3447,7 @@ var re = class {
3447
3447
  this.classRegistry = new Rd(), this.symbolRegistry = new rs((t) => {
3448
3448
  var n;
3449
3449
  return (n = t.description) != null ? n : "";
3450
- }), this.customTransformerRegistry = new Fd(), this.allowedErrorProps = [], this.dedupe = e;
3450
+ }), this.customTransformerRegistry = new Pd(), this.allowedErrorProps = [], this.dedupe = e;
3451
3451
  }
3452
3452
  serialize(e) {
3453
3453
  const t = /* @__PURE__ */ new Map(), n = ys(e, t, this, this.dedupe), o = {
@@ -3562,7 +3562,7 @@ const Xe = typeof window < "u", aa = typeof window == "object" && window.window
3562
3562
  function rp(e, { autoBom: t = !1 } = {}) {
3563
3563
  return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
3564
3564
  }
3565
- function Fo(e, t, n) {
3565
+ function Po(e, t, n) {
3566
3566
  const o = new XMLHttpRequest();
3567
3567
  o.open("GET", e), o.responseType = "blob", o.onload = function() {
3568
3568
  xs(o.response, t, n);
@@ -3615,7 +3615,7 @@ const gn = typeof navigator == "object" ? navigator : { userAgent: "" }, Es = /M
3615
3615
  };
3616
3616
  function ip(e, t = "download", n) {
3617
3617
  const o = document.createElement("a");
3618
- o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? ks(o.href) ? Fo(e, t, n) : (o.target = "_blank", _n(o)) : _n(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
3618
+ o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? ks(o.href) ? Po(e, t, n) : (o.target = "_blank", _n(o)) : _n(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
3619
3619
  URL.revokeObjectURL(o.href);
3620
3620
  }, 4e4), setTimeout(function() {
3621
3621
  _n(o);
@@ -3624,7 +3624,7 @@ function ip(e, t = "download", n) {
3624
3624
  function up(e, t = "download", n) {
3625
3625
  if (typeof e == "string")
3626
3626
  if (ks(e))
3627
- Fo(e, t, n);
3627
+ Po(e, t, n);
3628
3628
  else {
3629
3629
  const o = document.createElement("a");
3630
3630
  o.href = e, o.target = "_blank", setTimeout(function() {
@@ -3636,7 +3636,7 @@ function up(e, t = "download", n) {
3636
3636
  }
3637
3637
  function cp(e, t, n, o) {
3638
3638
  if (o = o || open("", "_blank"), o && (o.document.title = o.document.body.innerText = "downloading..."), typeof e == "string")
3639
- return Fo(e, t, n);
3639
+ return Po(e, t, n);
3640
3640
  const l = e.type === "application/octet-stream", s = /constructor/i.test(String(aa.HTMLElement)) || "safari" in aa, a = /CriOS\/[\d]+/.test(navigator.userAgent);
3641
3641
  if ((a || l && s || Es) && typeof FileReader < "u") {
3642
3642
  const r = new FileReader();
@@ -3807,7 +3807,7 @@ function yp(e) {
3807
3807
  return "unknown";
3808
3808
  }
3809
3809
  }
3810
- let kt = !0;
3810
+ let Et = !0;
3811
3811
  const vn = [], rt = "pinia:mutations", ye = "pinia", { assign: bp } = Object, xn = (e) => "🍍 " + e;
3812
3812
  function wp(e, t) {
3813
3813
  as({
@@ -3925,7 +3925,7 @@ function wp(e, t) {
3925
3925
  if (!l)
3926
3926
  return ge(`store "${o.nodeId}" not found`, "error");
3927
3927
  const { path: s } = o;
3928
- No(l) ? s.unshift("state") : (s.length !== 1 || !l._customProperties.has(s[0]) || s[0] in l.$state) && s.unshift("$state"), kt = !1, o.set(l, s, o.state.value), kt = !0;
3928
+ No(l) ? s.unshift("state") : (s.length !== 1 || !l._customProperties.has(s[0]) || s[0] in l.$state) && s.unshift("$state"), Et = !1, o.set(l, s, o.state.value), Et = !0;
3929
3929
  }
3930
3930
  }), n.on.editComponentState((o) => {
3931
3931
  if (o.type.startsWith("🍍")) {
@@ -3937,7 +3937,7 @@ function wp(e, t) {
3937
3937
  return ge(`Invalid path for store "${l}":
3938
3938
  ${a}
3939
3939
  Only state can be modified.`);
3940
- a[0] = "$state", kt = !1, o.set(s, a, o.state.value), kt = !0;
3940
+ a[0] = "$state", Et = !1, o.set(s, a, o.state.value), Et = !0;
3941
3941
  }
3942
3942
  });
3943
3943
  });
@@ -4016,7 +4016,7 @@ function kp(e, t) {
4016
4016
  });
4017
4017
  }, !0), t._customProperties.forEach((a) => {
4018
4018
  J(() => h(t[a]), (r, i) => {
4019
- n.notifyComponentUpdate(), n.sendInspectorState(ye), kt && n.addTimelineEvent({
4019
+ n.notifyComponentUpdate(), n.sendInspectorState(ye), Et && n.addTimelineEvent({
4020
4020
  layerId: rt,
4021
4021
  event: {
4022
4022
  time: o(),
@@ -4031,7 +4031,7 @@ function kp(e, t) {
4031
4031
  });
4032
4032
  }, { deep: !0 });
4033
4033
  }), t.$subscribe(({ events: a, type: r }, i) => {
4034
- if (n.notifyComponentUpdate(), n.sendInspectorState(ye), !kt)
4034
+ if (n.notifyComponentUpdate(), n.sendInspectorState(ye), !Et)
4035
4035
  return;
4036
4036
  const u = {
4037
4037
  time: o(),
@@ -4146,7 +4146,7 @@ function ra(e, t, n, o = As) {
4146
4146
  };
4147
4147
  return !n && Kr() && Yr(l), l;
4148
4148
  }
4149
- function yt(e, ...t) {
4149
+ function bt(e, ...t) {
4150
4150
  e.slice().forEach((n) => {
4151
4151
  n(...t);
4152
4152
  });
@@ -4219,7 +4219,7 @@ function go(e, t, n = {}, o, l, s) {
4219
4219
  const B = y = Symbol();
4220
4220
  Ve().then(() => {
4221
4221
  y === B && (u = !0);
4222
- }), c = !0, yt(d, R, o.state.value[e]);
4222
+ }), c = !0, bt(d, R, o.state.value[e]);
4223
4223
  }
4224
4224
  const T = s ? function() {
4225
4225
  const { state: R } = n, B = R ? R() : {};
@@ -4247,7 +4247,7 @@ function go(e, t, n = {}, o, l, s) {
4247
4247
  function G(oe) {
4248
4248
  de.push(oe);
4249
4249
  }
4250
- yt(_, {
4250
+ bt(_, {
4251
4251
  args: q,
4252
4252
  name: B[Xn],
4253
4253
  store: $,
@@ -4258,9 +4258,9 @@ function go(e, t, n = {}, o, l, s) {
4258
4258
  try {
4259
4259
  ae = A.apply(this && this.$id === e ? this : $, q);
4260
4260
  } catch (oe) {
4261
- throw yt(de, oe), oe;
4261
+ throw bt(de, oe), oe;
4262
4262
  }
4263
- return ae instanceof Promise ? ae.then((oe) => (yt(Q, oe), oe)).catch((oe) => (yt(de, oe), Promise.reject(oe))) : (yt(Q, ae), ae);
4263
+ return ae instanceof Promise ? ae.then((oe) => (bt(Q, oe), oe)).catch((oe) => (bt(de, oe), Promise.reject(oe))) : (bt(Q, ae), ae);
4264
4264
  };
4265
4265
  return B[ia] = !0, B[Xn] = R, B;
4266
4266
  }, V = /* @__PURE__ */ it({
@@ -4268,7 +4268,7 @@ function go(e, t, n = {}, o, l, s) {
4268
4268
  getters: {},
4269
4269
  state: [],
4270
4270
  hotState: v
4271
- }), F = {
4271
+ }), P = {
4272
4272
  _p: o,
4273
4273
  // _s: scope,
4274
4274
  $id: e,
@@ -4292,10 +4292,10 @@ function go(e, t, n = {}, o, l, s) {
4292
4292
  _customProperties: it(/* @__PURE__ */ new Set())
4293
4293
  // devtools custom properties
4294
4294
  },
4295
- F
4295
+ P
4296
4296
  // must be added later
4297
4297
  // setupStore
4298
- ) : F);
4298
+ ) : P);
4299
4299
  o._s.set(e, $);
4300
4300
  const U = (o._a && o._a.runWithContext || Cp)(() => o._e.run(() => (a = Ia()).run(() => t({ action: C }))));
4301
4301
  for (const A in U) {
@@ -4391,7 +4391,7 @@ function Ds(e, t, n) {
4391
4391
  const i = qr();
4392
4392
  if (a = // in test mode, ignore the argument provided as we can always retrieve a
4393
4393
  // pinia instance with getActivePinia()
4394
- (process.env.NODE_ENV === "test" && qt && qt._testing ? null : a) || (i ? Et(ws, null) : null), a && Qt(a), process.env.NODE_ENV !== "production" && !qt)
4394
+ (process.env.NODE_ENV === "test" && qt && qt._testing ? null : a) || (i ? xt(ws, null) : null), a && Qt(a), process.env.NODE_ENV !== "production" && !qt)
4395
4395
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4396
4396
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4397
4397
  This will fail in production.`);
@@ -4519,7 +4519,7 @@ function Rs(e, t) {
4519
4519
  function Is(e, t) {
4520
4520
  return t.map((n) => n.split(".")).map((n) => [n, Ip(e, n)]).filter((n) => n[1] !== void 0).reduce((n, o) => Uo(n, o[1], o[0]), {});
4521
4521
  }
4522
- function Ps(e, t) {
4522
+ function Fs(e, t) {
4523
4523
  return t.map((n) => n.split(".")).reduce((n, o) => Rs(n, o), e);
4524
4524
  }
4525
4525
  function da(e, {
@@ -4536,7 +4536,7 @@ function da(e, {
4536
4536
  c && r?.(u);
4537
4537
  const d = t.getItem(o);
4538
4538
  if (d) {
4539
- const _ = n.deserialize(d), g = s ? Is(_, s) : _, p = a ? Ps(g, a) : g;
4539
+ const _ = n.deserialize(d), g = s ? Is(_, s) : _, p = a ? Fs(g, a) : g;
4540
4540
  e.$patch(p);
4541
4541
  }
4542
4542
  c && i?.(u);
@@ -4553,13 +4553,13 @@ function pa(e, {
4553
4553
  omit: a
4554
4554
  }) {
4555
4555
  try {
4556
- const r = s ? Is(e, s) : e, i = a ? Ps(r, a) : r, u = n.serialize(i);
4556
+ const r = s ? Is(e, s) : e, i = a ? Fs(r, a) : r, u = n.serialize(i);
4557
4557
  t.setItem(o, u);
4558
4558
  } catch (r) {
4559
4559
  l && console.error("[pinia-plugin-persistedstate]", r);
4560
4560
  }
4561
4561
  }
4562
- function Pp(e, t, n) {
4562
+ function Fp(e, t, n) {
4563
4563
  const { pinia: o, store: l, options: { persist: s = n } } = e;
4564
4564
  if (!s)
4565
4565
  return;
@@ -4584,9 +4584,9 @@ function Pp(e, t, n) {
4584
4584
  );
4585
4585
  });
4586
4586
  }
4587
- function Fp(e = {}) {
4587
+ function Pp(e = {}) {
4588
4588
  return function(t) {
4589
- Pp(
4589
+ Fp(
4590
4590
  t,
4591
4591
  (n) => ({
4592
4592
  key: (e.key ? e.key : (o) => o)(n.key ?? t.store.$id),
@@ -4605,8 +4605,8 @@ function Fp(e = {}) {
4605
4605
  );
4606
4606
  };
4607
4607
  }
4608
- var Np = Fp();
4609
- let _t = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, n) => (n &= 63, n < 36 ? t += n.toString(36) : n < 62 ? t += (n - 26).toString(36).toUpperCase() : n > 62 ? t += "-" : t += "_", t), "");
4608
+ var Np = Pp();
4609
+ let gt = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, n) => (n &= 63, n < 36 ? t += n.toString(36) : n < 62 ? t += (n - 26).toString(36).toUpperCase() : n > 62 ? t += "-" : t += "_", t), "");
4610
4610
  function Up() {
4611
4611
  const e = Kt([]);
4612
4612
  function t(a) {
@@ -4675,7 +4675,7 @@ function Bp() {
4675
4675
  }
4676
4676
  function Lp(e) {
4677
4677
  let t = localStorage.getItem("CLIENT");
4678
- t || (t = _t().replace(/-/g, "_"), localStorage.setItem("CLIENT", t));
4678
+ t || (t = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", t));
4679
4679
  const n = `${e}${t}/`;
4680
4680
  let o = x("DISCONNECTED");
4681
4681
  const { data: l, open: s } = Yu(n, {
@@ -4710,7 +4710,7 @@ function zp(e) {
4710
4710
  }
4711
4711
  }, { deep: !0 }), { hub: { mount: o, unmount: l, container: t }, connection: { status: a, open: r } };
4712
4712
  }
4713
- function Fs(e, t) {
4713
+ function Ps(e, t) {
4714
4714
  return function() {
4715
4715
  return e.apply(t, arguments);
4716
4716
  };
@@ -4718,11 +4718,11 @@ function Fs(e, t) {
4718
4718
  const { toString: Mp } = Object.prototype, { getPrototypeOf: Bo } = Object, { iterator: Nn, toStringTag: Ns } = Symbol, Un = /* @__PURE__ */ ((e) => (t) => {
4719
4719
  const n = Mp.call(t);
4720
4720
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
4721
- })(/* @__PURE__ */ Object.create(null)), Fe = (e) => (e = e.toLowerCase(), (t) => Un(t) === e), Bn = (e) => (t) => typeof t === e, { isArray: It } = Array, St = Bn("undefined");
4721
+ })(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => Un(t) === e), Bn = (e) => (t) => typeof t === e, { isArray: It } = Array, $t = Bn("undefined");
4722
4722
  function nn(e) {
4723
- return e !== null && !St(e) && e.constructor !== null && !St(e.constructor) && xe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
4723
+ return e !== null && !$t(e) && e.constructor !== null && !$t(e.constructor) && xe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
4724
4724
  }
4725
- const Us = Fe("ArrayBuffer");
4725
+ const Us = Pe("ArrayBuffer");
4726
4726
  function jp(e) {
4727
4727
  let t;
4728
4728
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Us(e.buffer), t;
@@ -4740,11 +4740,11 @@ const qp = Bn("string"), xe = Bn("function"), Bs = Bn("number"), on = (e) => e !
4740
4740
  } catch {
4741
4741
  return !1;
4742
4742
  }
4743
- }, Yp = Fe("Date"), Wp = Fe("File"), Gp = Fe("Blob"), Jp = Fe("FileList"), Xp = (e) => on(e) && xe(e.pipe), Zp = (e) => {
4743
+ }, Yp = Pe("Date"), Wp = Pe("File"), Gp = Pe("Blob"), Jp = Pe("FileList"), Xp = (e) => on(e) && xe(e.pipe), Zp = (e) => {
4744
4744
  let t;
4745
4745
  return e && (typeof FormData == "function" && e instanceof FormData || xe(e.append) && ((t = Un(e)) === "formdata" || // detect form-data instance
4746
4746
  t === "object" && xe(e.toString) && e.toString() === "[object FormData]"));
4747
- }, Qp = Fe("URLSearchParams"), [ef, tf, nf, of] = ["ReadableStream", "Request", "Response", "Headers"].map(Fe), lf = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
4747
+ }, Qp = Pe("URLSearchParams"), [ef, tf, nf, of] = ["ReadableStream", "Request", "Response", "Headers"].map(Pe), lf = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
4748
4748
  function ln(e, t, { allOwnKeys: n = !1 } = {}) {
4749
4749
  if (e === null || typeof e > "u")
4750
4750
  return;
@@ -4772,18 +4772,18 @@ function Ls(e, t) {
4772
4772
  return l;
4773
4773
  return null;
4774
4774
  }
4775
- const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, zs = (e) => !St(e) && e !== ct;
4775
+ const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, zs = (e) => !$t(e) && e !== ct;
4776
4776
  function ho() {
4777
4777
  const { caseless: e, skipUndefined: t } = zs(this) && this || {}, n = {}, o = (l, s) => {
4778
4778
  const a = e && Ls(n, s) || s;
4779
- yn(n[a]) && yn(l) ? n[a] = ho(n[a], l) : yn(l) ? n[a] = ho({}, l) : It(l) ? n[a] = l.slice() : (!t || !St(l)) && (n[a] = l);
4779
+ yn(n[a]) && yn(l) ? n[a] = ho(n[a], l) : yn(l) ? n[a] = ho({}, l) : It(l) ? n[a] = l.slice() : (!t || !$t(l)) && (n[a] = l);
4780
4780
  };
4781
4781
  for (let l = 0, s = arguments.length; l < s; l++)
4782
4782
  arguments[l] && ln(arguments[l], o);
4783
4783
  return n;
4784
4784
  }
4785
4785
  const af = (e, t, n, { allOwnKeys: o } = {}) => (ln(t, (l, s) => {
4786
- n && xe(l) ? e[s] = Fs(l, n) : e[s] = l;
4786
+ n && xe(l) ? e[s] = Ps(l, n) : e[s] = l;
4787
4787
  }, { allOwnKeys: o }), e), sf = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), rf = (e, t, n, o) => {
4788
4788
  e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
4789
4789
  value: t.prototype
@@ -4824,12 +4824,12 @@ const af = (e, t, n, { allOwnKeys: o } = {}) => (ln(t, (l, s) => {
4824
4824
  for (; (n = e.exec(t)) !== null; )
4825
4825
  o.push(n);
4826
4826
  return o;
4827
- }, _f = Fe("HTMLFormElement"), gf = (e) => e.toLowerCase().replace(
4827
+ }, _f = Pe("HTMLFormElement"), gf = (e) => e.toLowerCase().replace(
4828
4828
  /[-_\s]([a-z\d])(\w*)/g,
4829
4829
  function(n, o, l) {
4830
4830
  return o.toUpperCase() + l;
4831
4831
  }
4832
- ), fa = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), hf = Fe("RegExp"), Ms = (e, t) => {
4832
+ ), fa = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), hf = Pe("RegExp"), Ms = (e, t) => {
4833
4833
  const n = Object.getOwnPropertyDescriptors(e), o = {};
4834
4834
  ln(n, (l, s) => {
4835
4835
  let a;
@@ -4874,14 +4874,14 @@ const Ef = (e) => {
4874
4874
  const s = It(o) ? [] : {};
4875
4875
  return ln(o, (a, r) => {
4876
4876
  const i = n(a, l + 1);
4877
- !St(i) && (s[r] = i);
4877
+ !$t(i) && (s[r] = i);
4878
4878
  }), t[l] = void 0, s;
4879
4879
  }
4880
4880
  }
4881
4881
  return o;
4882
4882
  };
4883
4883
  return n(e, 0);
4884
- }, xf = Fe("AsyncFunction"), Cf = (e) => e && (on(e) || xe(e)) && xe(e.then) && xe(e.catch), js = ((e, t) => e ? setImmediate : t ? ((n, o) => (ct.addEventListener("message", ({ source: l, data: s }) => {
4884
+ }, xf = Pe("AsyncFunction"), Cf = (e) => e && (on(e) || xe(e)) && xe(e.then) && xe(e.catch), js = ((e, t) => e ? setImmediate : t ? ((n, o) => (ct.addEventListener("message", ({ source: l, data: s }) => {
4885
4885
  l === ct && s === n && o.length && o.shift()();
4886
4886
  }, !1), (l) => {
4887
4887
  o.push(l), ct.postMessage(n, "*");
@@ -4904,7 +4904,7 @@ const Ef = (e) => {
4904
4904
  isRequest: tf,
4905
4905
  isResponse: nf,
4906
4906
  isHeaders: of,
4907
- isUndefined: St,
4907
+ isUndefined: $t,
4908
4908
  isDate: Yp,
4909
4909
  isFile: Wp,
4910
4910
  isBlob: Gp,
@@ -4922,7 +4922,7 @@ const Ef = (e) => {
4922
4922
  inherits: rf,
4923
4923
  toFlatObject: uf,
4924
4924
  kindOf: Un,
4925
- kindOfTest: Fe,
4925
+ kindOfTest: Pe,
4926
4926
  endsWith: cf,
4927
4927
  toArray: df,
4928
4928
  forEachEntry: ff,
@@ -5186,7 +5186,7 @@ const Gs = {
5186
5186
  silentJSONParsing: !0,
5187
5187
  forcedJSONParsing: !0,
5188
5188
  clarifyTimeoutError: !1
5189
- }, Df = typeof URLSearchParams < "u" ? URLSearchParams : Lo, Rf = typeof FormData < "u" ? FormData : null, If = typeof Blob < "u" ? Blob : null, Pf = {
5189
+ }, Df = typeof URLSearchParams < "u" ? URLSearchParams : Lo, Rf = typeof FormData < "u" ? FormData : null, If = typeof Blob < "u" ? Blob : null, Ff = {
5190
5190
  isBrowser: !0,
5191
5191
  classes: {
5192
5192
  URLSearchParams: Df,
@@ -5194,17 +5194,17 @@ const Gs = {
5194
5194
  Blob: If
5195
5195
  },
5196
5196
  protocols: ["http", "https", "file", "blob", "url", "data"]
5197
- }, zo = typeof window < "u" && typeof document < "u", yo = typeof navigator == "object" && navigator || void 0, Ff = zo && (!yo || ["ReactNative", "NativeScript", "NS"].indexOf(yo.product) < 0), Nf = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
5197
+ }, zo = typeof window < "u" && typeof document < "u", yo = typeof navigator == "object" && navigator || void 0, Pf = zo && (!yo || ["ReactNative", "NativeScript", "NS"].indexOf(yo.product) < 0), Nf = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
5198
5198
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Uf = zo && window.location.href || "http://localhost", Bf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5199
5199
  __proto__: null,
5200
5200
  hasBrowserEnv: zo,
5201
- hasStandardBrowserEnv: Ff,
5201
+ hasStandardBrowserEnv: Pf,
5202
5202
  hasStandardBrowserWebWorkerEnv: Nf,
5203
5203
  navigator: yo,
5204
5204
  origin: Uf
5205
5205
  }, Symbol.toStringTag, { value: "Module" })), be = {
5206
5206
  ...Bf,
5207
- ...Pf
5207
+ ...Ff
5208
5208
  };
5209
5209
  function Lf(e, t) {
5210
5210
  return Ln(e, new be.classes.URLSearchParams(), {
@@ -5531,10 +5531,10 @@ function Qn(e, t) {
5531
5531
  function Xs(e) {
5532
5532
  return !!(e && e.__CANCEL__);
5533
5533
  }
5534
- function Pt(e, t, n) {
5534
+ function Ft(e, t, n) {
5535
5535
  ee.call(this, e ?? "canceled", ee.ERR_CANCELED, t, n), this.name = "CanceledError";
5536
5536
  }
5537
- N.inherits(Pt, ee, {
5537
+ N.inherits(Ft, ee, {
5538
5538
  __CANCEL__: !0
5539
5539
  });
5540
5540
  function Zs(e, t, n) {
@@ -5768,8 +5768,8 @@ const er = (e) => {
5768
5768
  }, y.onabort = function() {
5769
5769
  y && (o(new ee("Request aborted", ee.ECONNABORTED, e, y)), y = null);
5770
5770
  }, y.onerror = function(C) {
5771
- const V = C && C.message ? C.message : "Network Error", F = new ee(V, ee.ERR_NETWORK, e, y);
5772
- F.event = C || null, o(F), y = null;
5771
+ const V = C && C.message ? C.message : "Network Error", P = new ee(V, ee.ERR_NETWORK, e, y);
5772
+ P.event = C || null, o(P), y = null;
5773
5773
  }, y.ontimeout = function() {
5774
5774
  let C = l.timeout ? "timeout of " + l.timeout + "ms exceeded" : "timeout exceeded";
5775
5775
  const V = l.transitional || Gs;
@@ -5782,7 +5782,7 @@ const er = (e) => {
5782
5782
  }, s === void 0 && a.setContentType(null), "setRequestHeader" in y && N.forEach(a.toJSON(), function(C, V) {
5783
5783
  y.setRequestHeader(V, C);
5784
5784
  }), N.isUndefined(l.withCredentials) || (y.withCredentials = !!l.withCredentials), r && r !== "json" && (y.responseType = l.responseType), u && ([_, p] = Cn(u, !0), y.addEventListener("progress", _)), i && y.upload && ([d, g] = Cn(i), y.upload.addEventListener("progress", d), y.upload.addEventListener("loadend", g)), (l.cancelToken || l.signal) && (c = (D) => {
5785
- y && (o(!D || D.type ? new Pt(null, e, y) : D), y.abort(), y = null);
5785
+ y && (o(!D || D.type ? new Ft(null, e, y) : D), y.abort(), y = null);
5786
5786
  }, l.cancelToken && l.cancelToken.subscribe(c), l.signal && (l.signal.aborted ? c() : l.signal.addEventListener("abort", c)));
5787
5787
  const T = Jf(l.url);
5788
5788
  if (T && be.protocols.indexOf(T) === -1) {
@@ -5799,7 +5799,7 @@ const er = (e) => {
5799
5799
  if (!l) {
5800
5800
  l = !0, r();
5801
5801
  const c = u instanceof Error ? u : this.reason;
5802
- o.abort(c instanceof ee ? c : new Pt(c instanceof Error ? c.message : c));
5802
+ o.abort(c instanceof ee ? c : new Ft(c instanceof Error ? c.message : c));
5803
5803
  }
5804
5804
  };
5805
5805
  let a = t && setTimeout(() => {
@@ -5938,9 +5938,9 @@ const er = (e) => {
5938
5938
  cancelToken: D,
5939
5939
  timeout: C,
5940
5940
  onDownloadProgress: V,
5941
- onUploadProgress: F,
5941
+ onUploadProgress: P,
5942
5942
  responseType: $,
5943
- headers: P,
5943
+ headers: F,
5944
5944
  withCredentials: U = "same-origin",
5945
5945
  fetchOptions: A
5946
5946
  } = er(p), R = t || fetch;
@@ -5951,16 +5951,16 @@ const er = (e) => {
5951
5951
  });
5952
5952
  let de;
5953
5953
  try {
5954
- if (F && u && y !== "get" && y !== "head" && (de = await g(P, E)) !== 0) {
5954
+ if (P && u && y !== "get" && y !== "head" && (de = await g(F, E)) !== 0) {
5955
5955
  let pe = new n(v, {
5956
5956
  method: "POST",
5957
5957
  body: E,
5958
5958
  duplex: "half"
5959
5959
  }), _e;
5960
- if (N.isFormData(E) && (_e = pe.headers.get("content-type")) && P.setContentType(_e), pe.body) {
5960
+ if (N.isFormData(E) && (_e = pe.headers.get("content-type")) && F.setContentType(_e), pe.body) {
5961
5961
  const [He, st] = va(
5962
5962
  de,
5963
- Cn(ya(F))
5963
+ Cn(ya(P))
5964
5964
  );
5965
5965
  E = wa(pe.body, ka, He, st);
5966
5966
  }
@@ -5970,7 +5970,7 @@ const er = (e) => {
5970
5970
  ...A,
5971
5971
  signal: B,
5972
5972
  method: y.toUpperCase(),
5973
- headers: P.normalize().toJSON(),
5973
+ headers: F.normalize().toJSON(),
5974
5974
  body: E,
5975
5975
  duplex: "half",
5976
5976
  credentials: ne ? U : void 0
@@ -5980,8 +5980,8 @@ const er = (e) => {
5980
5980
  const oe = c && ($ === "stream" || $ === "response");
5981
5981
  if (c && (V || oe && Q)) {
5982
5982
  const pe = {};
5983
- ["status", "statusText", "headers"].forEach((vt) => {
5984
- pe[vt] = ae[vt];
5983
+ ["status", "statusText", "headers"].forEach((yt) => {
5984
+ pe[yt] = ae[yt];
5985
5985
  });
5986
5986
  const _e = N.toFiniteNumber(ae.headers.get("content-length")), [He, st] = V && va(
5987
5987
  _e,
@@ -6087,7 +6087,7 @@ const nr = {
6087
6087
  };
6088
6088
  function eo(e) {
6089
6089
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
6090
- throw new Pt(null, e);
6090
+ throw new Ft(null, e);
6091
6091
  }
6092
6092
  function Sa(e) {
6093
6093
  return eo(e), e.headers = Ce.from(e.headers), e.data = Qn.call(
@@ -6304,7 +6304,7 @@ let _m = class lr {
6304
6304
  o.unsubscribe(s);
6305
6305
  }, a;
6306
6306
  }, t(function(s, a, r) {
6307
- o.reason || (o.reason = new Pt(s, a, r), n(o.reason));
6307
+ o.reason || (o.reason = new Ft(s, a, r), n(o.reason));
6308
6308
  });
6309
6309
  }
6310
6310
  /**
@@ -6436,14 +6436,14 @@ Object.entries(bo).forEach(([e, t]) => {
6436
6436
  bo[t] = e;
6437
6437
  });
6438
6438
  function ar(e) {
6439
- const t = new dt(e), n = Fs(dt.prototype.request, t);
6439
+ const t = new dt(e), n = Ps(dt.prototype.request, t);
6440
6440
  return N.extend(n, dt.prototype, t, { allOwnKeys: !0 }), N.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(l) {
6441
6441
  return ar(mt(e, l));
6442
6442
  }, n;
6443
6443
  }
6444
6444
  const ue = ar(an);
6445
6445
  ue.Axios = dt;
6446
- ue.CanceledError = Pt;
6446
+ ue.CanceledError = Ft;
6447
6447
  ue.CancelToken = _m;
6448
6448
  ue.isCancel = Xs;
6449
6449
  ue.VERSION = or;
@@ -6595,30 +6595,30 @@ function bm() {
6595
6595
  })(), i = /* @__PURE__ */ (function() {
6596
6596
  var p = ["Webkit", "O", "Moz", "ms"], v = {};
6597
6597
  function y(C) {
6598
- return C.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(V, F) {
6599
- return F.toUpperCase();
6598
+ return C.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(V, P) {
6599
+ return P.toUpperCase();
6600
6600
  });
6601
6601
  }
6602
6602
  function E(C) {
6603
6603
  var V = document.body.style;
6604
6604
  if (C in V) return C;
6605
- for (var F = p.length, $ = C.charAt(0).toUpperCase() + C.slice(1), P; F--; )
6606
- if (P = p[F] + $, P in V) return P;
6605
+ for (var P = p.length, $ = C.charAt(0).toUpperCase() + C.slice(1), F; P--; )
6606
+ if (F = p[P] + $, F in V) return F;
6607
6607
  return C;
6608
6608
  }
6609
6609
  function T(C) {
6610
6610
  return C = y(C), v[C] || (v[C] = E(C));
6611
6611
  }
6612
- function D(C, V, F) {
6613
- V = T(V), C.style[V] = F;
6612
+ function D(C, V, P) {
6613
+ V = T(V), C.style[V] = P;
6614
6614
  }
6615
6615
  return function(C, V) {
6616
- var F = arguments, $, P;
6617
- if (F.length == 2)
6616
+ var P = arguments, $, F;
6617
+ if (P.length == 2)
6618
6618
  for ($ in V)
6619
- P = V[$], P !== void 0 && V.hasOwnProperty($) && D(C, $, P);
6619
+ F = V[$], F !== void 0 && V.hasOwnProperty($) && D(C, $, F);
6620
6620
  else
6621
- D(C, F[1], F[2]);
6621
+ D(C, P[1], P[2]);
6622
6622
  };
6623
6623
  })();
6624
6624
  function u(p, v) {
@@ -6651,7 +6651,7 @@ const to = /* @__PURE__ */ vm(wm), Ta = {
6651
6651
  408: "请求超时"
6652
6652
  };
6653
6653
  function Mn() {
6654
- const e = Et("baseURL"), t = Et(
6654
+ const e = xt("baseURL"), t = xt(
6655
6655
  "message",
6656
6656
  ((a, r) => console.log(r, a))
6657
6657
  ), n = x(!1);
@@ -6681,18 +6681,18 @@ function Mn() {
6681
6681
  return { getAxiosInstance: o, loading: n };
6682
6682
  }
6683
6683
  function sr() {
6684
- const { open: e, status: t } = Et("connection");
6684
+ const { open: e, status: t } = xt("connection");
6685
6685
  return { open: e, status: t };
6686
6686
  }
6687
6687
  function rr() {
6688
- const { container: e } = Et("channel-hub");
6688
+ const { container: e } = xt("channel-hub");
6689
6689
  return { container: e };
6690
6690
  }
6691
6691
  function ir(e) {
6692
- const t = ie(e) ? e : x(e), { mount: n, unmount: o } = Et("channel-hub"), l = x();
6692
+ const t = ie(e) ? e : x(e), { mount: n, unmount: o } = xt("channel-hub"), l = x();
6693
6693
  J(t, (u, c) => {
6694
6694
  c && o(c), l.value = n(u);
6695
- }, { deep: !0, immediate: !0 }), Pa(() => o(t.value));
6695
+ }, { deep: !0, immediate: !0 }), Fa(() => o(t.value));
6696
6696
  const { getAxiosInstance: s } = Mn(), a = O(() => l.value?.status.loading), r = O(() => l.value?.status.payload);
6697
6697
  function i(u) {
6698
6698
  const c = s(t.value.auth), d = t.value.token || "default";
@@ -6715,7 +6715,7 @@ class Te {
6715
6715
  this.includes = t || {}, this.excludes = n || {};
6716
6716
  }
6717
6717
  }
6718
- class Ft {
6718
+ class Pt {
6719
6719
  type;
6720
6720
  orders;
6721
6721
  page;
@@ -6752,7 +6752,7 @@ class ur {
6752
6752
  this.db = t.db || "orm", this.entity = t.entity || null, this.value = t.value || "id", this.label = t.label || "name", this.display = t.display || "id", this.multiple = t.multiple || !1, this.strict = t.strict || !1, this.remote = t.remote || !1, this.includes = t.includes || {}, this.excludes = t.excludes || {}, this.root = t.root || 0, this.isTree = t.isTree || !1;
6753
6753
  }
6754
6754
  }
6755
- class Pe {
6755
+ class Fe {
6756
6756
  $maxlength;
6757
6757
  maxlength;
6758
6758
  type;
@@ -6893,7 +6893,7 @@ class me {
6893
6893
  hide_on_form_branch;
6894
6894
  hide_on_form_leaf;
6895
6895
  constructor(t = {}) {
6896
- this.$db = t.$db, this.$entity = t.$entity, this.$code = t.$code, this.id = t.id, this.prop = t.prop || _t(), this.label = t.label, this.name = t.name || t.label || this.prop, this.domain = t.domain || "CharField", this.tool = t.tool || "text", this.refer = new ur(t.refer), this.format = new Pe(t.format), this.disabled = t.disable || !1, this.not_null = t.not_null || !1, this.allow_edit = t.allow_edit || !1, this.allow_order = t.allow_order || !1, this.allow_search = t.allow_search || !1, this.allow_download = t.allow_download || !1, this.allow_upload = t.allow_upload || !1, this.allow_update = t.allow_update || !1, this.unit = t.unit || "", this.column_width = t.column_width || 0, this.align = t.align || "left", this.fixed = t.fixed || "", this.header_color = t.header_color || "", this.cell_color = t.cell_color || "", this.edit_on_table = t.edit_on_table || !1, this.hide_on_table = t.hide_on_table || !1, this.span = t.span || 0, this.hide_on_form = t.hide_on_form || !1, this.hide_on_form_edit = t.hide_on_form_edit || !1, this.hide_on_form_insert = t.hide_on_form_insert || !1, this.hide_on_form_branch = t.hide_on_form_branch || !1, this.hide_on_form_leaf = t.hide_on_form_leaf || !1;
6896
+ this.$db = t.$db, this.$entity = t.$entity, this.$code = t.$code, this.id = t.id, this.prop = t.prop || gt(), this.label = t.label, this.name = t.name || t.label || this.prop, this.domain = t.domain || "CharField", this.tool = t.tool || "text", this.refer = new ur(t.refer), this.format = new Fe(t.format), this.disabled = t.disable || !1, this.not_null = t.not_null || !1, this.allow_edit = t.allow_edit || !1, this.allow_order = t.allow_order || !1, this.allow_search = t.allow_search || !1, this.allow_download = t.allow_download || !1, this.allow_upload = t.allow_upload || !1, this.allow_update = t.allow_update || !1, this.unit = t.unit || "", this.column_width = t.column_width || 0, this.align = t.align || "left", this.fixed = t.fixed || "", this.header_color = t.header_color || "", this.cell_color = t.cell_color || "", this.edit_on_table = t.edit_on_table || !1, this.hide_on_table = t.hide_on_table || !1, this.span = t.span || 0, this.hide_on_form = t.hide_on_form || !1, this.hide_on_form_edit = t.hide_on_form_edit || !1, this.hide_on_form_insert = t.hide_on_form_insert || !1, this.hide_on_form_branch = t.hide_on_form_branch || !1, this.hide_on_form_leaf = t.hide_on_form_leaf || !1;
6897
6897
  }
6898
6898
  static DOMAINS = {
6899
6899
  multiple: [
@@ -7034,15 +7034,15 @@ class cr {
7034
7034
  return r ? l = et(t, r).format(n.value) : (s = !1, a = `时期格式应为:${o.join(",")}`), { value: t, content: l, valid: s, message: a };
7035
7035
  }
7036
7036
  parseDateTime(t) {
7037
- const { format: { frequency: n } } = this.field, o = ["YYYY-MM-DD HH:mm:ss", "YYYY/M/D HH:mm:ss", "YYYY-MM-DD HH:mm", "YYYY/M/D HH:mm"], l = Pe.DATE_TYPES[n || "datetime"];
7037
+ const { format: { frequency: n } } = this.field, o = ["YYYY-MM-DD HH:mm:ss", "YYYY/M/D HH:mm:ss", "YYYY-MM-DD HH:mm", "YYYY/M/D HH:mm"], l = Fe.DATE_TYPES[n || "datetime"];
7038
7038
  return this.parseDateAndTime(t, l, o);
7039
7039
  }
7040
7040
  parseDate(t) {
7041
- const { format: { frequency: n } } = this.field, o = ["YYYY-MM-DD", "YYYY/M/D"], l = Pe.DATE_TYPES[n || "date"];
7041
+ const { format: { frequency: n } } = this.field, o = ["YYYY-MM-DD", "YYYY/M/D"], l = Fe.DATE_TYPES[n || "date"];
7042
7042
  return this.parseDateAndTime(t, l, o);
7043
7043
  }
7044
7044
  parseTime(t) {
7045
- const n = ["HH:mm:ss", "HH:mm"], o = Pe.DATE_TYPES.time;
7045
+ const n = ["HH:mm:ss", "HH:mm"], o = Fe.DATE_TYPES.time;
7046
7046
  return this.parseDateAndTime(t, o, n);
7047
7047
  }
7048
7048
  parseRange(t, n) {
@@ -7132,7 +7132,7 @@ function Ae(e) {
7132
7132
  const E = d[y] || {}, T = E.domain;
7133
7133
  if (me.DOMAINS.multiple.includes(T)) {
7134
7134
  const D = `${y}_set`, C = v[D], { label: V } = E.refer;
7135
- return C.map((F) => F[V]).join(";");
7135
+ return C.map((P) => P[V]).join(";");
7136
7136
  } else if (me.DOMAINS.referred.includes(T)) {
7137
7137
  const D = y.replace("_id", ""), C = v[D], { label: V } = E.refer;
7138
7138
  return C ? C[V] : null;
@@ -7179,7 +7179,7 @@ function Ae(e) {
7179
7179
  } = y || Aa[_];
7180
7180
  E = qe(g) ? E : "set";
7181
7181
  const C = {
7182
- id: _t(),
7182
+ id: gt(),
7183
7183
  prop: c,
7184
7184
  label: d,
7185
7185
  domain: _,
@@ -7242,7 +7242,7 @@ function he(e, t) {
7242
7242
  find: (...c) => a("find", c),
7243
7243
  values: (c, ...d) => a("values", { conditions: d, props: c }),
7244
7244
  search: (c, d) => new Promise((_, g) => {
7245
- const p = { ...new Ft(c, d), code: o.value };
7245
+ const p = { ...new Pt(c, d), code: o.value };
7246
7246
  a("search", p).then((v) => {
7247
7247
  const y = new nt(v), E = n.value.convertor;
7248
7248
  y.results.forEach((T) => {
@@ -7266,7 +7266,7 @@ function xm(e, t) {
7266
7266
  }
7267
7267
  }
7268
7268
  function Cm(e) {
7269
- const t = _t(), n = O(() => e.value.db || "orm"), o = O(() => ({
7269
+ const t = gt(), n = O(() => e.value.db || "orm"), o = O(() => ({
7270
7270
  // channel-key
7271
7271
  handler: `${n.value}/${e.value.entity}`,
7272
7272
  url: "valar/batch",
@@ -7557,39 +7557,39 @@ function Ho(e, t, n) {
7557
7557
  }).catch(($) => s.value = $);
7558
7558
  }
7559
7559
  function C($) {
7560
- s.value = null, new Promise((P, U) => {
7560
+ s.value = null, new Promise((F, U) => {
7561
7561
  v.search(t.value, p.value).then((A) => {
7562
7562
  const R = e.value.beforeLoad;
7563
- R ? R(A, o.value).then((B) => B ? P(A) : C($)) : P(A);
7563
+ R ? R(A, o.value).then((B) => B ? F(A) : C($)) : F(A);
7564
7564
  });
7565
- }).then((P) => {
7566
- l.value = P, y && n($ || []);
7567
- }).catch((P) => s.value = P.message);
7565
+ }).then((F) => {
7566
+ l.value = F, y && n($ || []);
7567
+ }).catch((F) => s.value = F.message);
7568
7568
  }
7569
7569
  J(() => ({
7570
7570
  db: a.value.db,
7571
7571
  entity: a.value.entity,
7572
7572
  code: a.value.code
7573
- }), ($, P) => {
7574
- const U = ve($, ["db", "entity"]), A = ve(P, ["db", "entity"]);
7575
- P?.entity != null && !Ie(U, A) && (u.value.includes = {}, u.value.excludes = {}), D();
7573
+ }), ($, F) => {
7574
+ const U = ve($, ["db", "entity"]), A = ve(F, ["db", "entity"]);
7575
+ F?.entity != null && !Ie(U, A) && (u.value.includes = {}, u.value.excludes = {}), D();
7576
7576
  }, { deep: !0, immediate: !0 }), J(() => ({
7577
7577
  conditions: p.value,
7578
7578
  orders: t.value.orders,
7579
7579
  page: t.value.page,
7580
7580
  size: t.value.size,
7581
7581
  root: t.value.root
7582
- }), ($, P) => {
7583
- Ie($, P) || (!Ie($.conditions, P.conditions) && $.page != 1 ? t.value.page = 1 : C());
7582
+ }), ($, F) => {
7583
+ Ie($, F) || (!Ie($.conditions, F.conditions) && $.page != 1 ? t.value.page = 1 : C());
7584
7584
  }, { deep: !0 });
7585
7585
  function V($) {
7586
- const P = $?.length ? [new Te({ id__in: $ })] : p.value;
7587
- v.delete_many(P);
7586
+ const F = $?.length ? [new Te({ id__in: $ })] : p.value;
7587
+ v.delete_many(F);
7588
7588
  }
7589
- function F($) {
7589
+ function P($) {
7590
7590
  l.value.total + $.length > 200 && t.value.type === "table" && (t.value.size = 10);
7591
- const P = $.map((U) => ({ ...U, ...d.value }));
7592
- v.save_many(P);
7591
+ const F = $.map((U) => ({ ...U, ...d.value }));
7592
+ v.save_many(F);
7593
7593
  }
7594
7594
  return {
7595
7595
  model: l,
@@ -7606,11 +7606,11 @@ function Ho(e, t, n) {
7606
7606
  init: D,
7607
7607
  reload: C,
7608
7608
  delete_many: V,
7609
- save_many: F,
7609
+ save_many: P,
7610
7610
  switching: i
7611
7611
  };
7612
7612
  }
7613
- function gt(e) {
7613
+ function ht(e) {
7614
7614
  const t = e?.cell || " ", n = e?.line || `\r
7615
7615
  `;
7616
7616
  function o(r) {
@@ -7788,7 +7788,7 @@ const br = (e = "/api/") => ({
7788
7788
  isLogin: (e) => !!e.token,
7789
7789
  client: () => {
7790
7790
  let e = localStorage.getItem("CLIENT");
7791
- return e || (e = _t().replace(/-/g, "_"), localStorage.setItem("CLIENT", e)), e;
7791
+ return e || (e = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", e)), e;
7792
7792
  },
7793
7793
  account: (e) => Ge(e.token)?.user_id,
7794
7794
  admin: (e) => Ge(e.response)?.is_admin,
@@ -7838,13 +7838,13 @@ const br = (e = "/api/") => ({
7838
7838
  setup(e) {
7839
7839
  const t = e, n = x();
7840
7840
  let o = null;
7841
- return $t(async () => {
7841
+ return Vt(async () => {
7842
7842
  n.value && (o = (await import("echarts")).init(n.value), o.setOption(t.options));
7843
7843
  }), J(() => t.options, (l) => {
7844
7844
  o && l && Ve().then(() => o && o.setOption(l, !0, !0));
7845
- }, { deep: !0 }), Fa(() => {
7845
+ }, { deep: !0 }), Pa(() => {
7846
7846
  o?.dispose();
7847
- }), (l, s) => (b(), z("div", {
7847
+ }), (l, s) => (b(), M("div", {
7848
7848
  ref_key: "chartRef",
7849
7849
  ref: n,
7850
7850
  style: je({ width: e.width, height: e.height })
@@ -9855,8 +9855,8 @@ const br = (e = "/api/") => ({
9855
9855
  const s = t.truncate ? "truncate" : "", a = t.disabled ? `${t.type}-plain` : t.type;
9856
9856
  return [s, a];
9857
9857
  });
9858
- return (s, a) => (b(), z("span", {
9859
- class: Vt(l.value)
9858
+ return (s, a) => (b(), M("span", {
9859
+ class: Tt(l.value)
9860
9860
  }, [
9861
9861
  e.icon && h(wr).includes(e.icon) ? (b(), k(h(Gu), {
9862
9862
  key: 0,
@@ -9956,7 +9956,7 @@ const br = (e = "/api/") => ({
9956
9956
  setup(e) {
9957
9957
  return (t, n) => {
9958
9958
  const o = w("el-button"), l = w("el-space");
9959
- return b(), z("div", Am, [
9959
+ return b(), M("div", Am, [
9960
9960
  te("div", null, [
9961
9961
  Z(t.$slots, "tool")
9962
9962
  ]),
@@ -10027,13 +10027,13 @@ const br = (e = "/api/") => ({
10027
10027
  function d(V) {
10028
10028
  c.value.data = V;
10029
10029
  }
10030
- function _(V, F) {
10030
+ function _(V, P) {
10031
10031
  c.value = {
10032
- title: F?.title || l.title || "对话框",
10033
- info: F?.info || l.info,
10032
+ title: P?.title || l.title || "对话框",
10033
+ info: P?.info || l.info,
10034
10034
  data: Qe(V || {}),
10035
10035
  raw: V,
10036
- width: F?.width || l.width
10036
+ width: P?.width || l.width
10037
10037
  }, i.visible = !0;
10038
10038
  }
10039
10039
  function g() {
@@ -10058,8 +10058,8 @@ const br = (e = "/api/") => ({
10058
10058
  i.fullscreen = !i.fullscreen;
10059
10059
  }
10060
10060
  const C = { open: _, close: g, confirm: p, cancel: E, getData: T, expand: D, unload: v };
10061
- return t({ open: _, close: g, confirm: p, cancel: E, getData: T, expand: D, load: y }), (V, F) => {
10062
- const $ = w("el-text"), P = w("el-space"), U = w("el-dialog"), A = Tt("loading");
10061
+ return t({ open: _, close: g, confirm: p, cancel: E, getData: T, expand: D, load: y }), (V, P) => {
10062
+ const $ = w("el-text"), F = w("el-space"), U = w("el-dialog"), A = At("loading");
10063
10063
  return b(), k(U, {
10064
10064
  ref_key: "dialog",
10065
10065
  ref: u,
@@ -10069,7 +10069,7 @@ const br = (e = "/api/") => ({
10069
10069
  "body-class": "m-dialog-body",
10070
10070
  "footer-class": "m-dialog-footer",
10071
10071
  modelValue: i.visible,
10072
- "onUpdate:modelValue": F[0] || (F[0] = (R) => i.visible = R),
10072
+ "onUpdate:modelValue": P[0] || (P[0] = (R) => i.visible = R),
10073
10073
  width: c.value.width,
10074
10074
  top: e.top,
10075
10075
  fullscreen: i.fullscreen,
@@ -10081,9 +10081,9 @@ const br = (e = "/api/") => ({
10081
10081
  "close-on-press-escape": !1,
10082
10082
  "show-close": !1,
10083
10083
  draggable: !0,
10084
- onOpened: F[1] || (F[1] = (R) => s.value = !0),
10085
- onClose: F[2] || (F[2] = (R) => h(o)("closed")),
10086
- onKeydown: F[3] || (F[3] = Le((R) => E(), ["esc"]))
10084
+ onOpened: P[1] || (P[1] = (R) => s.value = !0),
10085
+ onClose: P[2] || (P[2] = (R) => h(o)("closed")),
10086
+ onKeydown: P[3] || (P[3] = Le((R) => E(), ["esc"]))
10087
10087
  }, ko({
10088
10088
  header: f(() => [
10089
10089
  Ye((b(), k(Tm, {
@@ -10109,11 +10109,11 @@ const br = (e = "/api/") => ({
10109
10109
  controller: C,
10110
10110
  update: d
10111
10111
  }, () => [
10112
- m(P, { size: "large" }, {
10112
+ m(F, { size: "large" }, {
10113
10113
  default: f(() => [
10114
10114
  m($, { tag: "b" }, {
10115
10115
  default: f(() => [
10116
- S(M(c.value.title), 1)
10116
+ S(z(c.value.title), 1)
10117
10117
  ]),
10118
10118
  _: 1
10119
10119
  }),
@@ -10122,7 +10122,7 @@ const br = (e = "/api/") => ({
10122
10122
  type: "info"
10123
10123
  }, {
10124
10124
  default: f(() => [
10125
- S(M(c.value.info), 1)
10125
+ S(z(c.value.info), 1)
10126
10126
  ]),
10127
10127
  _: 1
10128
10128
  })
@@ -10141,7 +10141,7 @@ const br = (e = "/api/") => ({
10141
10141
  i.visible ? {
10142
10142
  name: "default",
10143
10143
  fn: f(() => [
10144
- s.value ? Ye((b(), z("div", {
10144
+ s.value ? Ye((b(), M("div", {
10145
10145
  key: 0,
10146
10146
  class: "m-dialog-body-wrapper",
10147
10147
  "element-loading-text": e.loadingText,
@@ -10184,7 +10184,7 @@ const br = (e = "/api/") => ({
10184
10184
  key: 0,
10185
10185
  class: "justified",
10186
10186
  style: { "padding-bottom": "5px", "border-bottom": "0.01em solid #cccccc" }
10187
- }, Pm = { style: { "padding-top": "5px" } }, ht = /* @__PURE__ */ I({
10187
+ }, Fm = { style: { "padding-top": "5px" } }, vt = /* @__PURE__ */ I({
10188
10188
  __name: "MPopover",
10189
10189
  props: {
10190
10190
  title: {},
@@ -10214,8 +10214,8 @@ const br = (e = "/api/") => ({
10214
10214
  };
10215
10215
  return t({ open: r, close: i }), (c, d) => {
10216
10216
  const _ = w("el-text"), g = w("el-space"), p = w("el-popover");
10217
- return b(), z(H, null, [
10218
- n.value ? (b(), z("div", {
10217
+ return b(), M(H, null, [
10218
+ n.value ? (b(), M("div", {
10219
10219
  key: 0,
10220
10220
  class: "m-popover-modal",
10221
10221
  onClick: i,
@@ -10239,7 +10239,7 @@ const br = (e = "/api/") => ({
10239
10239
  onHide: d[1] || (d[1] = (v) => c.$emit("hide"))
10240
10240
  }, {
10241
10241
  default: f(() => [
10242
- e.hideHeader ? K("", !0) : (b(), z("div", Im, [
10242
+ e.hideHeader ? K("", !0) : (b(), M("div", Im, [
10243
10243
  te("div", null, [
10244
10244
  m(_, {
10245
10245
  size: "small",
@@ -10247,7 +10247,7 @@ const br = (e = "/api/") => ({
10247
10247
  tag: "b"
10248
10248
  }, {
10249
10249
  default: f(() => [
10250
- S(M(a.value.title), 1)
10250
+ S(z(a.value.title), 1)
10251
10251
  ]),
10252
10252
  _: 1
10253
10253
  })
@@ -10267,7 +10267,7 @@ const br = (e = "/api/") => ({
10267
10267
  _: 3
10268
10268
  })
10269
10269
  ])),
10270
- te("div", Pm, [
10270
+ te("div", Fm, [
10271
10271
  Z(c.$slots, "default", {
10272
10272
  data: a.value.data,
10273
10273
  control: u
@@ -10284,7 +10284,7 @@ const br = (e = "/api/") => ({
10284
10284
  success: (e) => rn({ message: e, type: "success", grouping: !0 }),
10285
10285
  warning: (e) => rn({ message: e, type: "warning", grouping: !0, appendTo: "body" }),
10286
10286
  error: (e) => rn({ message: e, type: "error", grouping: !0 })
10287
- }, kr = (e, t) => X[t](e), Fm = {
10287
+ }, kr = (e, t) => X[t](e), Pm = {
10288
10288
  info: (e, t = {}) => Je.alert(e, { ...t, type: "info" }),
10289
10289
  success: (e, t) => Je.alert(e, t, { type: "success" }),
10290
10290
  warning: (e, t) => Je.alert(e, t, { type: "warning" }),
@@ -10313,14 +10313,14 @@ const br = (e = "/api/") => ({
10313
10313
  }, _ = (p, v, y) => {
10314
10314
  y(!0);
10315
10315
  };
10316
- Fa(() => {
10316
+ Pa(() => {
10317
10317
  const p = r.value;
10318
10318
  p?.destroy();
10319
10319
  });
10320
10320
  const g = (p) => {
10321
10321
  r.value = p;
10322
10322
  };
10323
- return (p, v) => (b(), z(H, null, [
10323
+ return (p, v) => (b(), M(H, null, [
10324
10324
  e.disabled ? K("", !0) : (b(), k(h(o), {
10325
10325
  key: 0,
10326
10326
  editor: r.value,
@@ -10356,9 +10356,9 @@ const br = (e = "/api/") => ({
10356
10356
  o.disabled || (s.value = i);
10357
10357
  }
10358
10358
  const r = O(() => o.disabled ? ["jsoneditor", "jsoneditor-disabled"] : ["jsoneditor"]);
10359
- return (i, u) => (b(), z("div", {
10359
+ return (i, u) => (b(), M("div", {
10360
10360
  style: { padding: "3px" },
10361
- class: Vt(r.value)
10361
+ class: Tt(r.value)
10362
10362
  }, [
10363
10363
  m(h(n), {
10364
10364
  modelValue: s.value,
@@ -10387,7 +10387,7 @@ const br = (e = "/api/") => ({
10387
10387
  }
10388
10388
  return (r, i) => {
10389
10389
  const u = w("el-text"), c = w("el-pagination"), d = w("el-space"), _ = w("el-affix"), g = w("el-watermark");
10390
- return b(), z(H, null, [
10390
+ return b(), M(H, null, [
10391
10391
  m(_, { offset: 0 }, {
10392
10392
  default: f(() => [
10393
10393
  te("div", Nm, [
@@ -10523,7 +10523,7 @@ const br = (e = "/api/") => ({
10523
10523
  fontWeight: t.disabled ? "normal" : "bolder",
10524
10524
  marginLeft: t.icon ? "8px" : "0"
10525
10525
  }));
10526
- return (o, l) => (b(), z("div", Lm, [
10526
+ return (o, l) => (b(), M("div", Lm, [
10527
10527
  te("div", null, [
10528
10528
  e.icon ? (b(), k(h(j), {
10529
10529
  key: 0,
@@ -10536,13 +10536,13 @@ const br = (e = "/api/") => ({
10536
10536
  style: je(n.value)
10537
10537
  }, [
10538
10538
  Z(o.$slots, "left", {}, () => [
10539
- S(M(e.left), 1)
10539
+ S(z(e.left), 1)
10540
10540
  ])
10541
10541
  ], 4)
10542
10542
  ]),
10543
10543
  te("b", zm, [
10544
10544
  Z(o.$slots, "right", {}, () => [
10545
- S(M(e.right), 1)
10545
+ S(z(e.right), 1)
10546
10546
  ])
10547
10547
  ])
10548
10548
  ]));
@@ -10575,8 +10575,8 @@ function Mm(e) {
10575
10575
  a.value[_] = t.value.item[_];
10576
10576
  }
10577
10577
  function d(_, g, p) {
10578
- const { prop: v, domain: y, not_null: E } = _, T = Sn(g[v]), D = Sn(p[v]), C = Dn(T) ? !1 : T == null, V = (t.value.keys?.length || 0) > 1, F = me.DOMAINS.multiple.includes(y) || V ? !1 : C && E, $ = !Ie(D, T);
10579
- return { prop: v, invalid: F, value: T, changed: $ };
10578
+ const { prop: v, domain: y, not_null: E } = _, T = Sn(g[v]), D = Sn(p[v]), C = Dn(T) ? !1 : T == null, V = (t.value.keys?.length || 0) > 1, P = me.DOMAINS.multiple.includes(y) || V ? !1 : C && E, $ = !Ie(D, T);
10579
+ return { prop: v, invalid: P, value: T, changed: $ };
10580
10580
  }
10581
10581
  return { fields: n, bean: a, $disabled: o, mapping: r, row: l, data: u, reset: c, invalid: i };
10582
10582
  }
@@ -10634,7 +10634,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10634
10634
  const n = e, o = t, l = O({
10635
10635
  get: () => n.modelValue,
10636
10636
  set: (r) => o("update:modelValue", r || null)
10637
- }), { copy: s } = At();
10637
+ }), { copy: s } = _t();
10638
10638
  function a() {
10639
10639
  s(l.value), X.info("颜色代码已复制");
10640
10640
  }
@@ -10667,7 +10667,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10667
10667
  te("b", {
10668
10668
  style: je([{ "font-size": "12px", cursor: "pointer", "font-weight": "bolder" }, { color: l.value || "#dddddd" }]),
10669
10669
  onClick: a
10670
- }, M(l.value || "无颜色"), 5)
10670
+ }, z(l.value || "无颜色"), 5)
10671
10671
  ])
10672
10672
  ]),
10673
10673
  _: 1
@@ -10709,7 +10709,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10709
10709
  }, ko({
10710
10710
  default: f(({ item: _ }) => [
10711
10711
  te("div", Wm, [
10712
- te("span", null, M(_.value), 1),
10712
+ te("span", null, z(_.value), 1),
10713
10713
  m(j, {
10714
10714
  icon: _.value
10715
10715
  }, null, 8, ["icon"])
@@ -10758,7 +10758,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10758
10758
  "onUpdate:modelValue": r[0] || (r[0] = (c) => l.value = c)
10759
10759
  }, {
10760
10760
  default: f(() => [
10761
- (b(!0), z(H, null, se(s.value, (c, d) => (b(), k(i, {
10761
+ (b(!0), M(H, null, se(s.value, (c, d) => (b(), k(i, {
10762
10762
  label: c,
10763
10763
  value: d
10764
10764
  }, {
@@ -10799,7 +10799,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10799
10799
  "onUpdate:modelValue": r[0] || (r[0] = (c) => l.value = c)
10800
10800
  }, {
10801
10801
  default: f(() => [
10802
- (b(!0), z(H, null, se(s.value, (c, d) => (b(), k(i, {
10802
+ (b(!0), M(H, null, se(s.value, (c, d) => (b(), k(i, {
10803
10803
  label: c,
10804
10804
  value: d
10805
10805
  }, {
@@ -10839,7 +10839,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10839
10839
  }), s = ["years", "months", "dates"], a = O(() => {
10840
10840
  const { frequency: i } = n.field.format || {};
10841
10841
  return s.includes(i || "--") ? i : "dates";
10842
- }), r = O(() => Pe.DATE_TYPES[a.value].value || "YYYY-MM-DD");
10842
+ }), r = O(() => Fe.DATE_TYPES[a.value].value || "YYYY-MM-DD");
10843
10843
  return (i, u) => {
10844
10844
  const c = w("el-date-picker");
10845
10845
  return b(), k(c, {
@@ -10879,7 +10879,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10879
10879
  default:
10880
10880
  return "date";
10881
10881
  }
10882
- }), a = O(() => Pe.DATE_TYPES[s.value].value || "YYYY-MM-DD");
10882
+ }), a = O(() => Fe.DATE_TYPES[s.value].value || "YYYY-MM-DD");
10883
10883
  return (r, i) => {
10884
10884
  const u = w("el-date-picker");
10885
10885
  return b(), k(u, {
@@ -10917,7 +10917,7 @@ const ce = ["update:modelValue", "confirm", "reload"], Hm = /* @__PURE__ */ I({
10917
10917
  }), s = ["monthrange", "daterange", "datetimerange"], a = O(() => {
10918
10918
  const { frequency: i } = n.field.format || {};
10919
10919
  return s.includes(i || "--") ? i : "daterange";
10920
- }), r = O(() => Pe.DATE_TYPES[a.value].value || "YYYY-MM-DD");
10920
+ }), r = O(() => Fe.DATE_TYPES[a.value].value || "YYYY-MM-DD");
10921
10921
  return (i, u) => {
10922
10922
  const c = w("el-date-picker"), d = w("el-space");
10923
10923
  return b(), k(d, null, {
@@ -11029,7 +11029,7 @@ function sn(e, t, n, o) {
11029
11029
  db: e.$db,
11030
11030
  convertor: o
11031
11031
  }, { manager: i, loading: u } = he(r), c = x(new nt());
11032
- return $t(() => {
11032
+ return Vt(() => {
11033
11033
  l.entity ? i.search({
11034
11034
  type: n,
11035
11035
  root: l.root,
@@ -11172,7 +11172,7 @@ const o_ = /* @__PURE__ */ I({
11172
11172
  set: (i) => o("update:modelValue", i || null)
11173
11173
  }), { param: s, model: a, loading: r } = sn(n.field, n.row, "table");
11174
11174
  return (i, u) => {
11175
- const c = w("el-option"), d = w("el-select"), _ = Tt("loading");
11175
+ const c = w("el-option"), d = w("el-select"), _ = At("loading");
11176
11176
  return Ye((b(), k(d, {
11177
11177
  modelValue: l.value,
11178
11178
  "onUpdate:modelValue": u[0] || (u[0] = (g) => l.value = g),
@@ -11188,7 +11188,7 @@ const o_ = /* @__PURE__ */ I({
11188
11188
  "check-strictly": h(s).strict
11189
11189
  }, {
11190
11190
  default: f(() => [
11191
- (b(!0), z(H, null, se(h(a).results, (g) => (b(), k(c, {
11191
+ (b(!0), M(H, null, se(h(a).results, (g) => (b(), k(c, {
11192
11192
  label: g[h(s).props.label],
11193
11193
  value: g[h(s).props.value]
11194
11194
  }, {
@@ -11228,7 +11228,7 @@ const o_ = /* @__PURE__ */ I({
11228
11228
  return o.disabled && (u.disabled = "saved"), u;
11229
11229
  });
11230
11230
  return (u, c) => {
11231
- const d = w("el-transfer"), _ = w("el-card"), g = Tt("loading");
11231
+ const d = w("el-transfer"), _ = w("el-card"), g = At("loading");
11232
11232
  return b(), k(_, { class: "center" }, {
11233
11233
  default: f(() => [
11234
11234
  Ye(m(d, {
@@ -11266,7 +11266,7 @@ const o_ = /* @__PURE__ */ I({
11266
11266
  }
11267
11267
  return (r, i) => {
11268
11268
  const u = w("el-button"), c = w("el-badge");
11269
- return b(), z(H, null, [
11269
+ return b(), M(H, null, [
11270
11270
  m(c, {
11271
11271
  value: (s.value || []).length,
11272
11272
  style: { width: "100%" },
@@ -11334,7 +11334,7 @@ const o_ = /* @__PURE__ */ I({
11334
11334
  emitPath: !1
11335
11335
  }));
11336
11336
  return (d, _) => {
11337
- const g = Tt("loading");
11337
+ const g = At("loading");
11338
11338
  return Ye((b(), k(h(Ju), {
11339
11339
  disabled: e.disabled || h(a).disabled,
11340
11340
  clearable: h(a).clearable,
@@ -11397,7 +11397,7 @@ const o_ = /* @__PURE__ */ I({
11397
11397
  default: f(() => [
11398
11398
  m(r, { tag: "b" }, {
11399
11399
  default: f(() => [
11400
- S(M(l.value ? "是" : "否"), 1)
11400
+ S(z(l.value ? "是" : "否"), 1)
11401
11401
  ]),
11402
11402
  _: 1
11403
11403
  })
@@ -11450,7 +11450,7 @@ const o_ = /* @__PURE__ */ I({
11450
11450
  size: "small"
11451
11451
  }, {
11452
11452
  default: f(() => [
11453
- S(M(o.value || "${no-value}"), 1)
11453
+ S(z(o.value || "${no-value}"), 1)
11454
11454
  ]),
11455
11455
  _: 1
11456
11456
  });
@@ -11526,7 +11526,7 @@ const f_ = { class: "justified full" }, m_ = {
11526
11526
  const t = e, n = O(() => t.path === t.item.path), o = O(() => t.item.isLeaf ? t.item.path ? t.item.icon || "leaf" : "ban" : t.node.expanded ? "folder-open" : "folder"), l = O(() => t.item.isLeaf ? n.value ? "#000000" : "#c5c8d5" : "#b4bff6");
11527
11527
  return (s, a) => {
11528
11528
  const r = w("el-text");
11529
- return b(), z("div", f_, [
11529
+ return b(), M("div", f_, [
11530
11530
  te("div", null, [
11531
11531
  m(h(j), {
11532
11532
  style: je({ color: l.value, marginRight: "7px" }),
@@ -11538,12 +11538,12 @@ const f_ = { class: "justified full" }, m_ = {
11538
11538
  tag: n.value ? "b" : "span"
11539
11539
  }, {
11540
11540
  default: f(() => [
11541
- S(M(e.item.name), 1)
11541
+ S(z(e.item.name), 1)
11542
11542
  ]),
11543
11543
  _: 1
11544
11544
  }, 8, ["tag"])
11545
11545
  ]),
11546
- e.item.isLeaf ? (b(), z("div", m_, [
11546
+ e.item.isLeaf ? (b(), M("div", m_, [
11547
11547
  e.item.is_admin ? (b(), k(h(j), {
11548
11548
  key: 0,
11549
11549
  icon: "key",
@@ -11590,7 +11590,7 @@ const f_ = { class: "justified full" }, m_ = {
11590
11590
  }
11591
11591
  return (d, _) => {
11592
11592
  const g = w("el-button"), p = w("el-text"), v = w("el-tree"), y = w("el-drawer");
11593
- return b(), z(H, null, [
11593
+ return b(), M(H, null, [
11594
11594
  m(g, {
11595
11595
  link: "",
11596
11596
  color: "black",
@@ -11795,7 +11795,7 @@ const h_ = /* @__PURE__ */ I({
11795
11795
  }
11796
11796
  } }), (a, r) => {
11797
11797
  const i = w("el-input"), u = w("el-form-item"), c = w("el-form");
11798
- return b(), z(H, null, [
11798
+ return b(), M(H, null, [
11799
11799
  m(c, { "label-position": "top" }, {
11800
11800
  default: f(() => [
11801
11801
  h(n).account.label ? (b(), k(u, {
@@ -11875,7 +11875,7 @@ const h_ = /* @__PURE__ */ I({
11875
11875
  const r = w("el-input"), i = w("el-form-item"), u = w("el-form");
11876
11876
  return b(), k(u, { "label-position": "top" }, {
11877
11877
  default: f(() => [
11878
- h(n).account.label ? (b(), z(H, { key: 0 }, [
11878
+ h(n).account.label ? (b(), M(H, { key: 0 }, [
11879
11879
  m(i, {
11880
11880
  label: h(n).account.label
11881
11881
  }, {
@@ -11985,7 +11985,7 @@ const h_ = /* @__PURE__ */ I({
11985
11985
  const u = o.value?.getData();
11986
11986
  u ? (l.signIn(u), i()) : i(!1);
11987
11987
  }
11988
- return $t(() => l.userInfo()), t({ open: () => n.value?.open() }), (r, i) => (b(), k(h(le), {
11988
+ return Vt(() => l.userInfo()), t({ open: () => n.value?.open() }), (r, i) => (b(), k(h(le), {
11989
11989
  ref_key: "dialog",
11990
11990
  ref: n,
11991
11991
  title: "用户登录",
@@ -12035,7 +12035,7 @@ const h_ = /* @__PURE__ */ I({
12035
12035
  span: 2
12036
12036
  }, {
12037
12037
  default: f(() => [
12038
- S(M(s.value.username), 1)
12038
+ S(z(s.value.username), 1)
12039
12039
  ]),
12040
12040
  _: 1
12041
12041
  }, 8, ["label"])) : K("", !0),
@@ -12047,7 +12047,7 @@ const h_ = /* @__PURE__ */ I({
12047
12047
  default: f(() => [
12048
12048
  m(u, { type: "primary" }, {
12049
12049
  default: f(() => [
12050
- S(M(s.value.email), 1)
12050
+ S(z(s.value.email), 1)
12051
12051
  ]),
12052
12052
  _: 1
12053
12053
  })
@@ -12077,7 +12077,7 @@ const h_ = /* @__PURE__ */ I({
12077
12077
  _: 1
12078
12078
  })) : s.value.roles?.length ? (b(), k(d, { key: 1 }, {
12079
12079
  default: f(() => [
12080
- (b(!0), z(H, null, se(s.value.roles, (p) => (b(), k(c, {
12080
+ (b(!0), M(H, null, se(s.value.roles, (p) => (b(), k(c, {
12081
12081
  hit: "",
12082
12082
  type: "primary",
12083
12083
  size: "large",
@@ -12086,7 +12086,7 @@ const h_ = /* @__PURE__ */ I({
12086
12086
  default: f(() => [
12087
12087
  m(h(j), { icon: "user-lock" }, {
12088
12088
  default: f(() => [
12089
- S(M(p.name), 1)
12089
+ S(z(p.name), 1)
12090
12090
  ]),
12091
12091
  _: 2
12092
12092
  }, 1024)
@@ -12245,7 +12245,7 @@ const h_ = /* @__PURE__ */ I({
12245
12245
  width: "360px"
12246
12246
  }, {
12247
12247
  default: f(({ row: d }) => [
12248
- (b(!0), z(H, null, se(d.resolvers, (_, g) => (b(), z("div", x_, [
12248
+ (b(!0), M(H, null, se(d.resolvers, (_, g) => (b(), M("div", x_, [
12249
12249
  m(a, null, {
12250
12250
  content: f(() => [
12251
12251
  m(s, {
@@ -12253,7 +12253,7 @@ const h_ = /* @__PURE__ */ I({
12253
12253
  type: "info"
12254
12254
  }, {
12255
12255
  default: f(() => [
12256
- S(M(g), 1)
12256
+ S(z(g), 1)
12257
12257
  ]),
12258
12258
  _: 2
12259
12259
  }, 1024)
@@ -12266,13 +12266,13 @@ const h_ = /* @__PURE__ */ I({
12266
12266
  m(r, { direction: "vertical" }),
12267
12267
  m(u, { size: "small" }, {
12268
12268
  default: f(() => [
12269
- (b(!0), z(H, null, se(Object.keys(_), (p) => (b(), k(i, {
12269
+ (b(!0), M(H, null, se(Object.keys(_), (p) => (b(), k(i, {
12270
12270
  hit: "",
12271
12271
  effect: _[p] ? "dark" : "plain",
12272
12272
  size: "small"
12273
12273
  }, {
12274
12274
  default: f(() => [
12275
- S(M(p), 1)
12275
+ S(z(p), 1)
12276
12276
  ]),
12277
12277
  _: 2
12278
12278
  }, 1032, ["effect"]))), 256))
@@ -12297,7 +12297,7 @@ const h_ = /* @__PURE__ */ I({
12297
12297
  key: 1,
12298
12298
  icon: "circle-dot"
12299
12299
  })),
12300
- S(" " + M(d.status.payload || {}), 1)
12300
+ S(" " + z(d.status.payload || {}), 1)
12301
12301
  ]),
12302
12302
  _: 1
12303
12303
  })
@@ -12316,7 +12316,7 @@ const h_ = /* @__PURE__ */ I({
12316
12316
  width: "1200"
12317
12317
  }, {
12318
12318
  header: f(() => [
12319
- S(" 数据通道:" + M(h(o).client), 1)
12319
+ S(" 数据通道:" + z(h(o).client), 1)
12320
12320
  ]),
12321
12321
  default: f(() => [
12322
12322
  m(C_)
@@ -12434,10 +12434,10 @@ const h_ = /* @__PURE__ */ I({
12434
12434
  icon: { default: "layer-group" }
12435
12435
  },
12436
12436
  setup(e) {
12437
- const t = x(), { width: n } = bt(t);
12437
+ const t = x(), { width: n } = wt(t);
12438
12438
  return (o, l) => {
12439
12439
  const s = w("el-tooltip");
12440
- return b(), z("div", {
12440
+ return b(), M("div", {
12441
12441
  ref_key: "outer",
12442
12442
  ref: t
12443
12443
  }, [
@@ -12475,7 +12475,7 @@ const h_ = /* @__PURE__ */ I({
12475
12475
  height: {}
12476
12476
  },
12477
12477
  setup(e) {
12478
- const t = e, n = x(), o = x(), l = x(), s = x(), a = x(), { width: r } = bt(n), { width: i } = bt(o), { width: u } = bt(l), { width: c } = bt(s), { width: d } = bt(a), _ = O(() => {
12478
+ const t = e, n = x(), o = x(), l = x(), s = x(), a = x(), { width: r } = wt(n), { width: i } = wt(o), { width: u } = wt(l), { width: c } = wt(s), { width: d } = wt(a), _ = O(() => {
12479
12479
  let v = Math.ceil(9600 / r.value);
12480
12480
  return v >= 12 && (v = 1), {
12481
12481
  left: 24 - v,
@@ -12491,7 +12491,7 @@ const h_ = /* @__PURE__ */ I({
12491
12491
  }), p?.setText(g?.value)) : p?.close();
12492
12492
  }, { immediate: !0, deep: !0 }), J(() => t.ticker, () => p?.setText(g.value)), (v, y) => {
12493
12493
  const E = w("el-col"), T = w("el-space"), D = w("el-row");
12494
- return b(), z("div", {
12494
+ return b(), M("div", {
12495
12495
  ref_key: "wrap",
12496
12496
  ref: n,
12497
12497
  onContextmenu: y[0] || (y[0] = (C) => {
@@ -12608,7 +12608,7 @@ function V_(e, t) {
12608
12608
  function r(i, u) {
12609
12609
  s(), u && (a.value = i, Ve().then(() => l()));
12610
12610
  }
12611
- return Pa(s), {
12611
+ return Fa(s), {
12612
12612
  createSortable: r
12613
12613
  };
12614
12614
  }
@@ -12695,7 +12695,7 @@ const Or = /* @__PURE__ */ I({
12695
12695
  "download"
12696
12696
  ],
12697
12697
  setup(e) {
12698
- return (t, n) => (b(), z(H, null, [
12698
+ return (t, n) => (b(), M(H, null, [
12699
12699
  e.view.allow_insert && !e.simple ? (b(), k(h(W), {
12700
12700
  key: 0,
12701
12701
  title: "新增数据",
@@ -12715,7 +12715,7 @@ const Or = /* @__PURE__ */ I({
12715
12715
  icon: "trash",
12716
12716
  onClick: n[2] || (n[2] = (o) => t.$emit("remove"))
12717
12717
  })) : K("", !0),
12718
- e.view.allow_upload && !e.simple ? (b(), z(H, { key: 3 }, [
12718
+ e.view.allow_upload && !e.simple ? (b(), M(H, { key: 3 }, [
12719
12719
  e.selection?.length ? (b(), k(h(W), {
12720
12720
  key: 1,
12721
12721
  title: "克隆数据",
@@ -12768,14 +12768,14 @@ const Or = /* @__PURE__ */ I({
12768
12768
  V == null ? (X.warning("请注意非空值"), C(!1)) : V.length ? (l.rest.save_many(V), C()) : (X.warning("数据无变化,是否关闭?"), C(!1));
12769
12769
  }
12770
12770
  function u(D, C) {
12771
- const { keys: V, insert: F } = D;
12772
- F && l.rest.delete_one(V[0]), C();
12771
+ const { keys: V, insert: P } = D;
12772
+ P && l.rest.delete_one(V[0]), C();
12773
12773
  }
12774
12774
  function c(D) {
12775
- const C = D.map((P) => P.id), V = [];
12776
- Object.keys(l.view.$fields).forEach((P) => {
12777
- const U = D.map((B) => B[P]), A = [.../* @__PURE__ */ new Set([...U])], R = A.length === 1 ? A[0] : null;
12778
- R != null && V.push([P, R]);
12775
+ const C = D.map((F) => F.id), V = [];
12776
+ Object.keys(l.view.$fields).forEach((F) => {
12777
+ const U = D.map((B) => B[F]), A = [.../* @__PURE__ */ new Set([...U])], R = A.length === 1 ? A[0] : null;
12778
+ R != null && V.push([F, R]);
12779
12779
  });
12780
12780
  const $ = Object.fromEntries(V);
12781
12781
  return { keys: C, item: $ };
@@ -12784,19 +12784,19 @@ const Or = /* @__PURE__ */ I({
12784
12784
  return new Promise((C) => {
12785
12785
  if (D) {
12786
12786
  const V = xo({ saved: !1 }, l.core);
12787
- l.rest.insert_one(V).then((F) => C([F])).finally(l.collector.clear);
12787
+ l.rest.insert_one(V).then((P) => C([P])).finally(l.collector.clear);
12788
12788
  } else
12789
12789
  l.rest.find(r.value).then((V) => C(V));
12790
12790
  });
12791
12791
  }
12792
12792
  function _(D, C) {
12793
12793
  d(D).then((V) => {
12794
- const { keys: F, item: $ } = c(V);
12794
+ const { keys: P, item: $ } = c(V);
12795
12795
  if (C) {
12796
- const P = Object.keys(l.core);
12797
- Object.assign($, ve(C, P));
12796
+ const F = Object.keys(l.core);
12797
+ Object.assign($, ve(C, F));
12798
12798
  }
12799
- s.value?.open({ insert: D, keys: F, item: $ });
12799
+ s.value?.open({ insert: D, keys: P, item: $ });
12800
12800
  });
12801
12801
  }
12802
12802
  function g() {
@@ -12806,15 +12806,15 @@ const Or = /* @__PURE__ */ I({
12806
12806
  const D = l.selection.map((C) => Rn(C, ["id", "sort"]));
12807
12807
  l.rest.save_many(D), X.info(`已复制 ${D.length} 条数据`);
12808
12808
  }
12809
- const { toAoa: v } = Ae(l.view), { copy: y } = At();
12809
+ const { toAoa: v } = Ae(l.view), { copy: y } = _t();
12810
12810
  function E() {
12811
12811
  const [D, C] = v(l.selection), V = [];
12812
- D.map(($, P) => {
12813
- const U = C[P];
12812
+ D.map(($, F) => {
12813
+ const U = C[F];
12814
12814
  U != null && V.push([$, U]);
12815
12815
  });
12816
- const F = JSON.stringify(Object.fromEntries(V));
12817
- y(F).then(() => X.success("所选数据已存入剪切板"));
12816
+ const P = JSON.stringify(Object.fromEntries(V));
12817
+ y(P).then(() => X.success("所选数据已存入剪切板"));
12818
12818
  }
12819
12819
  return t({ controller: {
12820
12820
  insert: (D) => _(!0, D),
@@ -12823,19 +12823,19 @@ const Or = /* @__PURE__ */ I({
12823
12823
  clone: () => l.selection.length ? p() : X.warning("请选择数据"),
12824
12824
  paste: () => l.selection.length ? E() : X.warning("请选择数据")
12825
12825
  } }), (D, C) => {
12826
- const V = w("el-text"), F = w("el-tag"), $ = w("el-space");
12827
- return b(), z(H, null, [
12826
+ const V = w("el-text"), P = w("el-tag"), $ = w("el-space");
12827
+ return b(), M(H, null, [
12828
12828
  e.error ? K("", !0) : (b(), k(Or, {
12829
12829
  key: 0,
12830
12830
  admin: e.admin,
12831
12831
  view: e.view,
12832
12832
  selection: e.selection,
12833
- onInsert: C[0] || (C[0] = (P) => _(!0)),
12834
- onEdit: C[1] || (C[1] = (P) => _(!1)),
12833
+ onInsert: C[0] || (C[0] = (F) => _(!0)),
12834
+ onEdit: C[1] || (C[1] = (F) => _(!1)),
12835
12835
  onRemove: g,
12836
12836
  onClone: p,
12837
12837
  onDownload: e.rest.download,
12838
- onUpload: C[2] || (C[2] = (P) => o("upload"))
12838
+ onUpload: C[2] || (C[2] = (F) => o("upload"))
12839
12839
  }, null, 8, ["admin", "view", "selection", "onDownload"])),
12840
12840
  m(h(le), {
12841
12841
  ref_key: "dialog",
@@ -12843,8 +12843,8 @@ const Or = /* @__PURE__ */ I({
12843
12843
  confirm: i,
12844
12844
  cancel: u
12845
12845
  }, {
12846
- header: f(({ data: { insert: P, keys: U } }) => [
12847
- P ? (b(), k(V, {
12846
+ header: f(({ data: { insert: F, keys: U } }) => [
12847
+ F ? (b(), k(V, {
12848
12848
  key: 0,
12849
12849
  type: "success",
12850
12850
  tag: "b"
@@ -12864,14 +12864,14 @@ const Or = /* @__PURE__ */ I({
12864
12864
  ])]),
12865
12865
  _: 1
12866
12866
  }),
12867
- m(F, {
12867
+ m(P, {
12868
12868
  type: "primary",
12869
12869
  hit: "",
12870
12870
  size: "small",
12871
12871
  effect: "plain"
12872
12872
  }, {
12873
12873
  default: f(() => [
12874
- S(M(U.length), 1)
12874
+ S(z(U.length), 1)
12875
12875
  ]),
12876
12876
  _: 2
12877
12877
  }, 1024),
@@ -12888,12 +12888,12 @@ const Or = /* @__PURE__ */ I({
12888
12888
  _: 2
12889
12889
  }, 1024))
12890
12890
  ]),
12891
- default: f(({ data: { keys: P, item: U, insert: A } }) => [
12891
+ default: f(({ data: { keys: F, item: U, insert: A } }) => [
12892
12892
  m(h(Hn), {
12893
12893
  ref_key: "form",
12894
12894
  ref: a,
12895
12895
  item: U,
12896
- keys: P,
12896
+ keys: F,
12897
12897
  view: e.view,
12898
12898
  insert: A,
12899
12899
  core: e.core,
@@ -12942,7 +12942,7 @@ const Or = /* @__PURE__ */ I({
12942
12942
  function d() {
12943
12943
  s.value?.close();
12944
12944
  }
12945
- return t({ open: c, close: d }), (_, g) => (b(), k(h(ht), {
12945
+ return t({ open: c, close: d }), (_, g) => (b(), k(h(vt), {
12946
12946
  ref_key: "popover",
12947
12947
  ref: s,
12948
12948
  width: "280px"
@@ -12970,7 +12970,7 @@ const Or = /* @__PURE__ */ I({
12970
12970
  _: 1
12971
12971
  }, 512));
12972
12972
  }
12973
- }), P_ = /* @__PURE__ */ I({
12973
+ }), F_ = /* @__PURE__ */ I({
12974
12974
  __name: "IndexPopover",
12975
12975
  props: {
12976
12976
  results: {},
@@ -13002,7 +13002,7 @@ const Or = /* @__PURE__ */ I({
13002
13002
  function l() {
13003
13003
  n.value?.close();
13004
13004
  }
13005
- return t({ close: l, open: o }), (s, a) => (b(), k(h(ht), {
13005
+ return t({ close: l, open: o }), (s, a) => (b(), k(h(vt), {
13006
13006
  ref_key: "popover",
13007
13007
  ref: n,
13008
13008
  width: "110px",
@@ -13027,7 +13027,7 @@ const Or = /* @__PURE__ */ I({
13027
13027
  _: 1
13028
13028
  }, 512));
13029
13029
  }
13030
- }), F_ = /* @__PURE__ */ I({
13030
+ }), P_ = /* @__PURE__ */ I({
13031
13031
  __name: "CellDialog",
13032
13032
  props: {
13033
13033
  results: {},
@@ -13081,7 +13081,7 @@ const Or = /* @__PURE__ */ I({
13081
13081
  header: f(({ data: { field: d, row: _, bean: g, prop: p } }) => [
13082
13082
  m(c, null, {
13083
13083
  default: f(() => [
13084
- S(M(d.name), 1)
13084
+ S(z(d.name), 1)
13085
13085
  ]),
13086
13086
  _: 2
13087
13087
  }, 1024)
@@ -13152,7 +13152,7 @@ const Or = /* @__PURE__ */ I({
13152
13152
  const { finder: g, field: { prop: p } } = l;
13153
13153
  return Object.assign({}, g.includes, g.excludes)[p] || a;
13154
13154
  });
13155
- $t(() => {
13155
+ Vt(() => {
13156
13156
  const { finder: g, field: { prop: p } } = l, v = Object.assign({}, g.includes, g.excludes);
13157
13157
  Object.assign(i.value, v[p] || {});
13158
13158
  });
@@ -13161,8 +13161,8 @@ const Or = /* @__PURE__ */ I({
13161
13161
  }
13162
13162
  const _ = () => o("confirm");
13163
13163
  return t({ getData: d }), (g, p) => {
13164
- const v = w("el-segmented"), y = w("el-text"), E = w("el-option"), T = w("el-select"), D = w("el-space"), C = w("el-checkbox"), V = w("el-input-tag"), F = w("el-input"), $ = w("el-col"), P = w("el-row"), U = w("el-divider");
13165
- return b(), z(H, null, [
13164
+ const v = w("el-segmented"), y = w("el-text"), E = w("el-option"), T = w("el-select"), D = w("el-space"), C = w("el-checkbox"), V = w("el-input-tag"), P = w("el-input"), $ = w("el-col"), F = w("el-row"), U = w("el-divider");
13165
+ return b(), M(H, null, [
13166
13166
  te("div", N_, [
13167
13167
  m(v, {
13168
13168
  style: { border: "1px solid #cccccc" },
@@ -13181,7 +13181,7 @@ const Or = /* @__PURE__ */ I({
13181
13181
  label: f(({ label: A }) => [
13182
13182
  m(y, null, {
13183
13183
  default: f(() => [
13184
- S(M(A), 1)
13184
+ S(z(A), 1)
13185
13185
  ]),
13186
13186
  _: 2
13187
13187
  }, 1024),
@@ -13193,7 +13193,7 @@ const Or = /* @__PURE__ */ I({
13193
13193
  })
13194
13194
  ]),
13195
13195
  default: f(() => [
13196
- (b(!0), z(H, null, se(h(s), (A, R) => (b(), k(E, {
13196
+ (b(!0), M(H, null, se(h(s), (A, R) => (b(), k(E, {
13197
13197
  value: R,
13198
13198
  label: A
13199
13199
  }, null, 8, ["value", "label"]))), 256))
@@ -13214,7 +13214,7 @@ const Or = /* @__PURE__ */ I({
13214
13214
  onKeyup: Le(_, ["enter"])
13215
13215
  }, {
13216
13216
  default: f(() => [
13217
- S("  " + M(i.value.value ? "仅空值" : "仅非空值"), 1)
13217
+ S("  " + z(i.value.value ? "仅空值" : "仅非空值"), 1)
13218
13218
  ]),
13219
13219
  _: 1
13220
13220
  }, 8, ["modelValue"])) : i.value.lookup === "in" ? (b(), k(V, {
@@ -13224,7 +13224,7 @@ const Or = /* @__PURE__ */ I({
13224
13224
  "onUpdate:modelValue": p[3] || (p[3] = (A) => i.value.value = A),
13225
13225
  clearable: "",
13226
13226
  draggable: ""
13227
- }, null, 8, ["modelValue"])) : i.value.lookup === "range" ? (b(), k(P, {
13227
+ }, null, 8, ["modelValue"])) : i.value.lookup === "range" ? (b(), k(F, {
13228
13228
  key: 2,
13229
13229
  gutter: 10,
13230
13230
  align: "middle"
@@ -13232,7 +13232,7 @@ const Or = /* @__PURE__ */ I({
13232
13232
  default: f(() => [
13233
13233
  m($, { span: 11 }, {
13234
13234
  default: f(() => [
13235
- m(F, {
13235
+ m(P, {
13236
13236
  modelValue: i.value.value.from,
13237
13237
  "onUpdate:modelValue": p[4] || (p[4] = (A) => i.value.value.from = A),
13238
13238
  onKeyup: Le(_, ["enter"])
@@ -13251,7 +13251,7 @@ const Or = /* @__PURE__ */ I({
13251
13251
  }),
13252
13252
  m($, { span: 11 }, {
13253
13253
  default: f(() => [
13254
- m(F, {
13254
+ m(P, {
13255
13255
  modelValue: i.value.value.to,
13256
13256
  "onUpdate:modelValue": p[5] || (p[5] = (A) => i.value.value.to = A),
13257
13257
  onKeyup: Le(_, ["enter"])
@@ -13261,7 +13261,7 @@ const Or = /* @__PURE__ */ I({
13261
13261
  })
13262
13262
  ]),
13263
13263
  _: 1
13264
- })) : (b(), k(F, {
13264
+ })) : (b(), k(P, {
13265
13265
  key: 3,
13266
13266
  size: "large",
13267
13267
  modelValue: i.value.value,
@@ -13334,7 +13334,7 @@ const Or = /* @__PURE__ */ I({
13334
13334
  function r(i, u) {
13335
13335
  n.view.allow_search && u.allow_search && o.value?.open(i, { title: `检索:${u.name}`, data: u });
13336
13336
  }
13337
- return t({ open: r }), (i, u) => (b(), k(h(ht), {
13337
+ return t({ open: r }), (i, u) => (b(), k(h(vt), {
13338
13338
  ref_key: "popover",
13339
13339
  ref: o,
13340
13340
  width: "280px"
@@ -13405,7 +13405,7 @@ const Or = /* @__PURE__ */ I({
13405
13405
  size: "small"
13406
13406
  }, {
13407
13407
  default: f(() => [
13408
- S(M(a.value), 1)
13408
+ S(z(a.value), 1)
13409
13409
  ]),
13410
13410
  _: 1
13411
13411
  }, 8, ["modelValue", "disabled"]),
@@ -13417,7 +13417,7 @@ const Or = /* @__PURE__ */ I({
13417
13417
  size: "small"
13418
13418
  }, {
13419
13419
  default: f(() => [
13420
- S(M(a.sort), 1)
13420
+ S(z(a.sort), 1)
13421
13421
  ]),
13422
13422
  _: 1
13423
13423
  }, 8, ["modelValue", "disabled"]),
@@ -13465,7 +13465,7 @@ const Or = /* @__PURE__ */ I({
13465
13465
  setup(e) {
13466
13466
  return (t, n) => {
13467
13467
  const o = w("el-button");
13468
- return e.notEmpty ? (b(), z(H, { key: 0 }, [
13468
+ return e.notEmpty ? (b(), M(H, { key: 0 }, [
13469
13469
  m(h(W), {
13470
13470
  type: "warning",
13471
13471
  onClick: n[0] || (n[0] = (l) => t.$emit("clear")),
@@ -13517,36 +13517,65 @@ const Or = /* @__PURE__ */ I({
13517
13517
  },
13518
13518
  setup(e) {
13519
13519
  const t = e, n = x(Object.keys(t.frame)[0]), o = O(() => {
13520
- const s = t.view.$fields;
13521
- return Object.keys(t.frame).map((a) => {
13522
- const r = s[a], { prop: i, label: u } = r || {};
13523
- return { label: u, value: i };
13520
+ const r = t.view.$fields;
13521
+ return Object.keys(t.frame).map((i) => {
13522
+ const u = r[i], { prop: c, label: d } = u || {};
13523
+ return { label: d, value: c };
13524
13524
  });
13525
- }), l = O(() => t.frame[n.value] || []);
13526
- return (s, a) => {
13527
- const r = w("el-segmented"), i = w("el-table-column"), u = w("el-table"), c = w("el-card");
13528
- return b(), k(c, null, {
13525
+ }), l = O(() => t.frame[n.value] || []), { copy: s } = _t();
13526
+ function a(r) {
13527
+ s(r).then((i) => X.success(`已复制"${r}"`));
13528
+ }
13529
+ return (r, i) => {
13530
+ const u = w("el-segmented"), c = w("el-button"), d = w("el-table-column"), _ = w("el-table"), g = w("el-card");
13531
+ return b(), k(g, null, {
13529
13532
  header: f(() => [
13530
- m(r, {
13533
+ m(u, {
13531
13534
  modelValue: n.value,
13532
- "onUpdate:modelValue": a[0] || (a[0] = (d) => n.value = d),
13535
+ "onUpdate:modelValue": i[0] || (i[0] = (p) => n.value = p),
13533
13536
  options: o.value
13534
13537
  }, null, 8, ["modelValue", "options"])
13535
13538
  ]),
13536
13539
  default: f(() => [
13537
- m(u, {
13540
+ m(_, {
13538
13541
  data: l.value,
13539
13542
  "header-cell-class-name": "m-table-header-cell",
13540
13543
  border: ""
13541
13544
  }, {
13542
13545
  default: f(() => [
13543
- m(i, {
13546
+ m(d, {
13544
13547
  prop: "value",
13545
- label: "ID"
13548
+ label: ""
13549
+ }, {
13550
+ default: f(({ row: { value: p } }) => [
13551
+ m(c, {
13552
+ link: "",
13553
+ onClick: (v) => a(p)
13554
+ }, {
13555
+ default: f(() => [
13556
+ S(z(p), 1)
13557
+ ]),
13558
+ _: 2
13559
+ }, 1032, ["onClick"])
13560
+ ]),
13561
+ _: 1
13546
13562
  }),
13547
- m(i, {
13563
+ m(d, {
13548
13564
  prop: "label",
13549
13565
  label: "值"
13566
+ }, {
13567
+ default: f(({ row: { label: p } }) => [
13568
+ m(c, {
13569
+ link: "",
13570
+ onClick: (v) => a(p)
13571
+ }, {
13572
+ default: f(() => [
13573
+ S(z(p), 1)
13574
+ ]),
13575
+ _: 2
13576
+ }, 1032, ["onClick"])
13577
+ ]),
13578
+ _: 1
13550
13579
  })
13551
13580
  ]),
13552
13581
  _: 1
@@ -13572,7 +13601,7 @@ const Or = /* @__PURE__ */ I({
13572
13601
  tag: e.row.payload ? "del" : "b"
13573
13602
  }, {
13574
13603
  default: f(() => [
13575
- S(M(n.value.content), 1)
13604
+ S(z(n.value.content), 1)
13576
13605
  ]),
13577
13606
  _: 1
13578
13607
  }, 8, ["type", "tag"]);
@@ -13609,7 +13638,7 @@ const Or = /* @__PURE__ */ I({
13609
13638
  size: "small"
13610
13639
  }, {
13611
13640
  default: f(() => [
13612
- S(M(e.row.message), 1)
13641
+ S(z(e.row.message), 1)
13613
13642
  ]),
13614
13643
  _: 1
13615
13644
  })) : K("", !0),
@@ -13654,7 +13683,7 @@ const Or = /* @__PURE__ */ I({
13654
13683
  function l(g) {
13655
13684
  return c.value ? !0 : u.value ? !!g.payload : !i.value === g.valid && !g.payload;
13656
13685
  }
13657
- const s = O(() => o.rows.filter(l)), a = x(new Ft()), { results: r } = Ko(s, a), i = x(!0), u = x(!1), c = x(!0), d = O(() => {
13686
+ const s = O(() => o.rows.filter(l)), a = x(new Pt()), { results: r } = Ko(s, a), i = x(!0), u = x(!1), c = x(!0), d = O(() => {
13658
13687
  const g = o.rows.length, p = o.rows.filter((T) => !T.payload), v = g - p.length, y = p.filter((T) => T.valid).length, E = p.length - y;
13659
13688
  return { total: g, removed: v, valid: y, invalid: E };
13660
13689
  });
@@ -13662,7 +13691,7 @@ const Or = /* @__PURE__ */ I({
13662
13691
  u.value = !1, i.value = !1;
13663
13692
  }
13664
13693
  return (g, p) => {
13665
- const v = w("el-checkbox"), y = w("el-space"), E = w("el-radio"), T = w("el-radio-group"), D = w("el-col"), C = w("el-text"), V = w("el-table-column"), F = w("el-tooltip"), $ = w("el-table"), P = w("el-pagination"), U = w("el-row");
13694
+ const v = w("el-checkbox"), y = w("el-space"), E = w("el-radio"), T = w("el-radio-group"), D = w("el-col"), C = w("el-text"), V = w("el-table-column"), P = w("el-tooltip"), $ = w("el-table"), F = w("el-pagination"), U = w("el-row");
13666
13695
  return b(), k(U, null, {
13667
13696
  default: f(() => [
13668
13697
  e.rows.length ? (b(), k(D, {
@@ -13679,7 +13708,7 @@ const Or = /* @__PURE__ */ I({
13679
13708
  onChange: _
13680
13709
  }, {
13681
13710
  default: f(() => [
13682
- S(" 所有数据(" + M(d.value?.total || 0) + ") ", 1)
13711
+ S(" 所有数据(" + z(d.value?.total || 0) + ") ", 1)
13683
13712
  ]),
13684
13713
  _: 1
13685
13714
  }, 8, ["modelValue"]),
@@ -13691,7 +13720,7 @@ const Or = /* @__PURE__ */ I({
13691
13720
  size: "small"
13692
13721
  }, {
13693
13722
  default: f(() => [
13694
- S("已删数据(" + M(d.value?.removed || 0) + ") ", 1)
13723
+ S("已删数据(" + z(d.value?.removed || 0) + ") ", 1)
13695
13724
  ]),
13696
13725
  _: 1
13697
13726
  }, 8, ["disabled", "modelValue"])
@@ -13710,7 +13739,7 @@ const Or = /* @__PURE__ */ I({
13710
13739
  size: "small"
13711
13740
  }, {
13712
13741
  default: f(() => [
13713
- S("验证通过(" + M(d.value?.valid || 0) + ")", 1)
13742
+ S("验证通过(" + z(d.value?.valid || 0) + ")", 1)
13714
13743
  ]),
13715
13744
  _: 1
13716
13745
  }),
@@ -13719,7 +13748,7 @@ const Or = /* @__PURE__ */ I({
13719
13748
  size: "small"
13720
13749
  }, {
13721
13750
  default: f(() => [
13722
- S("验证不通过(" + M(d.value?.invalid || 0) + ")", 1)
13751
+ S("验证不通过(" + z(d.value?.invalid || 0) + ")", 1)
13723
13752
  ]),
13724
13753
  _: 1
13725
13754
  })
@@ -13773,14 +13802,14 @@ const Or = /* @__PURE__ */ I({
13773
13802
  type: "info"
13774
13803
  }, {
13775
13804
  default: f(() => [
13776
- S(M(A.$index + 1), 1)
13805
+ S(z(A.$index + 1), 1)
13777
13806
  ]),
13778
13807
  _: 2
13779
13808
  }, 1024)
13780
13809
  ]),
13781
13810
  _: 1
13782
13811
  }),
13783
- (b(!0), z(H, null, se(e.fields, (A) => (b(), k(V, {
13812
+ (b(!0), M(H, null, se(e.fields, (A) => (b(), k(V, {
13784
13813
  prop: A.prop,
13785
13814
  label: A.label,
13786
13815
  align: A.align,
@@ -13789,9 +13818,9 @@ const Or = /* @__PURE__ */ I({
13789
13818
  resizable: !1
13790
13819
  }, {
13791
13820
  header: f(() => [
13792
- m(F, null, {
13821
+ m(P, null, {
13793
13822
  content: f(() => [
13794
- S(M(A.prop), 1)
13823
+ S(z(A.prop), 1)
13795
13824
  ]),
13796
13825
  default: f(() => [
13797
13826
  m(C, {
@@ -13799,7 +13828,7 @@ const Or = /* @__PURE__ */ I({
13799
13828
  size: "small"
13800
13829
  }, {
13801
13830
  default: f(() => [
13802
- S(M(A.label), 1)
13831
+ S(z(A.label), 1)
13803
13832
  ]),
13804
13833
  _: 2
13805
13834
  }, 1024)
@@ -13879,7 +13908,7 @@ const Or = /* @__PURE__ */ I({
13879
13908
  default: f(() => [
13880
13909
  m(y, null, {
13881
13910
  default: f(() => [
13882
- m(P, {
13911
+ m(F, {
13883
13912
  size: "small",
13884
13913
  total: e.rows.length,
13885
13914
  "current-page": a.value.page,
@@ -13911,24 +13940,25 @@ function W_(e) {
13911
13940
  }), { post: o, loading: l } = at(), s = x({});
13912
13941
  J(t, () => {
13913
13942
  const y = Object.values(t.value.view.$fields).filter((E) => {
13914
- const { allow_upload: T, domain: D, refer: C } = E;
13915
- return T ? me.DOMAINS.referred.includes(D) : !1;
13943
+ const { allow_upload: T, domain: D, refer: { entity: C }, tool: V } = E;
13944
+ if (!T) return !1;
13945
+ if (me.DOMAINS.referred.includes(D) || D === "CharField" && V === "select" && C) return !0;
13916
13946
  }).map((E) => [E.prop, E.refer]);
13917
13947
  o("valar/upload_frame", Object.fromEntries(y)).then((E) => s.value = E);
13918
13948
  }, { deep: !0, immediate: !0 });
13919
13949
  const { fromMode: a } = Ae(t.value.view), r = O(() => {
13920
13950
  const { $modes: y, $fields: E } = t.value.view, T = [];
13921
13951
  return (n.value.hasId || n.value.isUpdate) && T.push(a(y.id)), n.value.hasSort && T.push(a(y.sort)), Object.values(E).filter((D) => {
13922
- const { prop: C, allow_update: V, allow_upload: F } = D, $ = !["id", "sort"].includes(C), P = n.value.isUpdate ? V : F;
13923
- return $ && P;
13952
+ const { prop: C, allow_update: V, allow_upload: P } = D, $ = !["id", "sort"].includes(C), F = n.value.isUpdate ? V : P;
13953
+ return $ && F;
13924
13954
  }).forEach((D) => {
13925
- let { domain: C, prop: V, label: F, not_null: $, format: P } = D;
13955
+ let { domain: C, prop: V, label: P, not_null: $, format: F } = D;
13926
13956
  if (me.DOMAINS.referred) {
13927
13957
  const U = me.DOMAINS.multiple.includes(C), A = n.value.useKey ? "value" : "label", R = (s.value[V] || []).map((q) => [q[A], q[A]]), B = Object.fromEntries(R);
13928
- T.push(a({ prop: V, label: F, domain: C, not_null: $, multiple: U, set: B }));
13958
+ T.push(a({ prop: V, label: P, domain: C, not_null: $, multiple: U, set: B }));
13929
13959
  } else {
13930
- const { set: U, multiple: A } = P;
13931
- T.push(a({ prop: V, label: F, domain: C, not_null: $, multiple: A, set: U }));
13960
+ const { set: U, multiple: A } = F;
13961
+ T.push(a({ prop: V, label: P, domain: C, not_null: $, multiple: A, set: U }));
13932
13962
  }
13933
13963
  }), T;
13934
13964
  }), i = O(() => {
@@ -13944,8 +13974,8 @@ function W_(e) {
13944
13974
  const T = Object.entries(E).map(([D, C]) => {
13945
13975
  const { format: { multiple: V } } = y[D];
13946
13976
  if (V) {
13947
- const F = C.value ? C.value.split(";") : [];
13948
- return [D, F];
13977
+ const P = C.value ? C.value.split(";") : [];
13978
+ return [D, P];
13949
13979
  } else
13950
13980
  return [D, C.value];
13951
13981
  });
@@ -13976,7 +14006,7 @@ const G_ = /* @__PURE__ */ I({
13976
14006
  fields: {}
13977
14007
  },
13978
14008
  setup(e) {
13979
- const t = e, { write: n } = Ut(), { toText: o } = gt(), { copy: l } = At(), s = O(() => t.fields.map((i) => i.label));
14009
+ const t = e, { write: n } = Ut(), { toText: o } = ht(), { copy: l } = _t(), s = O(() => t.fields.map((i) => i.label));
13980
14010
  function a() {
13981
14011
  const i = o([s.value]);
13982
14012
  l(i).then(() => X.info("表头已复制,请即使将其粘贴到Excel文件中。"));
@@ -14077,7 +14107,7 @@ const G_ = /* @__PURE__ */ I({
14077
14107
  __name: "PasterImporter",
14078
14108
  emits: ["confirm", "pending"],
14079
14109
  setup(e, { emit: t }) {
14080
- const n = t, { fromText: o } = gt(), { pending: l, openPaster: s, getClipboardData: a } = yr(), r = () => s().then((i) => n("confirm", o(i)));
14110
+ const n = t, { fromText: o } = ht(), { pending: l, openPaster: s, getClipboardData: a } = yr(), r = () => s().then((i) => n("confirm", o(i)));
14081
14111
  return J(l, () => n("pending", l.value)), (i, u) => {
14082
14112
  const c = w("el-button"), d = w("el-divider"), _ = w("el-space");
14083
14113
  return b(), k(_, null, {
@@ -14108,7 +14138,7 @@ const G_ = /* @__PURE__ */ I({
14108
14138
  __name: "FileImporter",
14109
14139
  emits: ["confirm", "pending"],
14110
14140
  setup(e, { emit: t }) {
14111
- const n = t, { readFile: o, write: l, toPlain: s } = Ut(), { fromText: a } = gt();
14141
+ const n = t, { readFile: o, write: l, toPlain: s } = Ut(), { fromText: a } = ht();
14112
14142
  function r(i) {
14113
14143
  i.raw && o(i.raw).then((u) => {
14114
14144
  Object.values(u)[0], console.warn("没完成从excel读出aoa"), n("confirm", []);
@@ -14175,7 +14205,7 @@ const G_ = /* @__PURE__ */ I({
14175
14205
  n("complete", u);
14176
14206
  }
14177
14207
  return (i, u) => {
14178
- const c = w("el-segmented"), d = w("el-col"), _ = w("el-row"), g = Tt("loading");
14208
+ const c = w("el-segmented"), d = w("el-col"), _ = w("el-row"), g = At("loading");
14179
14209
  return Ye((b(), k(_, {
14180
14210
  align: "middle",
14181
14211
  "element-loading-text": "请在Excel文件中复制数据,并使用 Ctrl+V 组合键粘贴到此处",
@@ -14227,7 +14257,19 @@ const G_ = /* @__PURE__ */ I({
14227
14257
  },
14228
14258
  emits: ["confirm"],
14229
14259
  setup(e, { emit: t }) {
14230
- const n = t, o = e, l = x(), s = x(), a = x(), r = x(), { loading: i, setArray: u, notEmpty: c, param: d, fields: _, rows: g, results: p, frame: v, array: y, save: E, $view: T } = W_(o);
14260
+ const n = t, o = e, l = x(), s = x(), a = x(), r = x(), {
14261
+ loading: i,
14262
+ setArray: u,
14263
+ notEmpty: c,
14264
+ param: d,
14265
+ fields: _,
14266
+ rows: g,
14267
+ results: p,
14268
+ frame: v,
14269
+ array: y,
14270
+ save: E,
14271
+ $view: T
14272
+ } = W_(o);
14231
14273
  function D(A) {
14232
14274
  s.value?.close(), u(A);
14233
14275
  }
@@ -14237,14 +14279,14 @@ const G_ = /* @__PURE__ */ I({
14237
14279
  function V(A) {
14238
14280
  a.value?.open(A);
14239
14281
  }
14240
- function F(A, R) {
14282
+ function P(A, R) {
14241
14283
  const B = A.$index, q = r.value?.getData();
14242
14284
  q ? (q.length && E(q[0], B), R()) : (X.warning("注意验证信息"), R(!1));
14243
14285
  }
14244
14286
  function $(A) {
14245
14287
  A.payload = !0;
14246
14288
  }
14247
- function P(A) {
14289
+ function F(A) {
14248
14290
  A.payload = void 0;
14249
14291
  }
14250
14292
  function U() {
@@ -14271,8 +14313,8 @@ const G_ = /* @__PURE__ */ I({
14271
14313
  }) : X.warning("无有效数据");
14272
14314
  }
14273
14315
  return (A, R) => {
14274
- const B = w("el-space"), q = w("el-col"), Q = w("el-row"), de = Tt("loading");
14275
- return b(), z(H, null, [
14316
+ const B = w("el-space"), q = w("el-col"), Q = w("el-row"), de = At("loading");
14317
+ return b(), M(H, null, [
14276
14318
  Ye((b(), k(Q, { align: "middle" }, {
14277
14319
  default: f(() => [
14278
14320
  m(q, { class: "justified" }, {
@@ -14309,7 +14351,7 @@ const G_ = /* @__PURE__ */ I({
14309
14351
  rows: h(g),
14310
14352
  onEdit: V,
14311
14353
  onRemove: $,
14312
- onRestore: P
14354
+ onRestore: F
14313
14355
  }, null, 8, ["fields", "rows"])
14314
14356
  ]),
14315
14357
  _: 1
@@ -14340,7 +14382,7 @@ const G_ = /* @__PURE__ */ I({
14340
14382
  ref: a,
14341
14383
  title: "数据编辑",
14342
14384
  width: "500",
14343
- confirm: F
14385
+ confirm: P
14344
14386
  }, {
14345
14387
  default: f(({ data: ne }) => [
14346
14388
  m(h(Hn), {
@@ -14427,7 +14469,7 @@ const G_ = /* @__PURE__ */ I({
14427
14469
  });
14428
14470
  return (s, a) => {
14429
14471
  const r = w("el-pagination"), i = w("el-input-number");
14430
- return e.size !== 0 && e.total ? (b(), z(H, { key: 0 }, [
14472
+ return e.size !== 0 && e.total ? (b(), M(H, { key: 0 }, [
14431
14473
  e.width > 220 ? (b(), k(r, {
14432
14474
  key: 0,
14433
14475
  size: "small",
@@ -14506,8 +14548,8 @@ const G_ = /* @__PURE__ */ I({
14506
14548
  }
14507
14549
  return (r, i) => {
14508
14550
  const u = w("el-tag"), c = w("el-option"), d = w("el-select"), _ = w("el-table-column"), g = w("el-button"), p = w("el-table");
14509
- return b(), z(H, null, [
14510
- e.width > 220 ? (b(), z("b", tg, [
14551
+ return b(), M(H, null, [
14552
+ e.width > 220 ? (b(), M("b", tg, [
14511
14553
  i[1] || (i[1] = S(" 选中 ", -1)),
14512
14554
  m(u, {
14513
14555
  effect: "plain",
@@ -14516,7 +14558,7 @@ const G_ = /* @__PURE__ */ I({
14516
14558
  onClick: a
14517
14559
  }, {
14518
14560
  default: f(() => [
14519
- S(M(e.collection.length), 1)
14561
+ S(z(e.collection.length), 1)
14520
14562
  ]),
14521
14563
  _: 1
14522
14564
  }),
@@ -14527,7 +14569,7 @@ const G_ = /* @__PURE__ */ I({
14527
14569
  hit: ""
14528
14570
  }, {
14529
14571
  default: f(() => [
14530
- S(M(e.total), 1)
14572
+ S(z(e.total), 1)
14531
14573
  ]),
14532
14574
  _: 1
14533
14575
  }),
@@ -14538,7 +14580,7 @@ const G_ = /* @__PURE__ */ I({
14538
14580
  title: `共 ${e.total} 条`
14539
14581
  }, {
14540
14582
  default: f(() => [
14541
- S(" 选中 " + M(e.collection.length) + " 条 ", 1)
14583
+ S(" 选中 " + z(e.collection.length) + " 条 ", 1)
14542
14584
  ]),
14543
14585
  _: 1
14544
14586
  }, 8, ["title"])),
@@ -14562,7 +14604,7 @@ const G_ = /* @__PURE__ */ I({
14562
14604
  "onUpdate:modelValue": i[0] || (i[0] = (y) => o.value = y)
14563
14605
  }, {
14564
14606
  default: f(() => [
14565
- (b(!0), z(H, null, se(l.value, (y, E) => (b(), k(c, {
14607
+ (b(!0), M(H, null, se(l.value, (y, E) => (b(), k(c, {
14566
14608
  label: y,
14567
14609
  value: E
14568
14610
  }, null, 8, ["label", "value"]))), 256))
@@ -14645,17 +14687,17 @@ const G_ = /* @__PURE__ */ I({
14645
14687
  type: "info"
14646
14688
  }, {
14647
14689
  default: f(() => [
14648
- S("共 " + M(e.total) + " 条", 1)
14690
+ S("共 " + z(e.total) + " 条", 1)
14649
14691
  ]),
14650
14692
  _: 1
14651
14693
  })
14652
14694
  ])
14653
14695
  ]),
14654
14696
  label: f(({ label: g, value: p }) => [
14655
- p ? (b(), z("div", lg, [
14697
+ p ? (b(), M("div", lg, [
14656
14698
  m(u, { size: "small" }, {
14657
14699
  default: f(() => [
14658
- S(M(p) + " ", 1)
14700
+ S(z(p) + " ", 1)
14659
14701
  ]),
14660
14702
  _: 2
14661
14703
  }, 1024),
@@ -14668,22 +14710,22 @@ const G_ = /* @__PURE__ */ I({
14668
14710
  ])]),
14669
14711
  _: 1
14670
14712
  })
14671
- ])) : (b(), z("div", ag, [
14713
+ ])) : (b(), M("div", ag, [
14672
14714
  m(u, { size: "small" }, {
14673
14715
  default: f(() => [
14674
- S(M(g), 1)
14716
+ S(z(g), 1)
14675
14717
  ]),
14676
14718
  _: 2
14677
14719
  }, 1024)
14678
14720
  ]))
14679
14721
  ]),
14680
14722
  default: f(() => [
14681
- (b(!0), z(H, null, se(s.value, (g) => (b(), k(c, {
14723
+ (b(!0), M(H, null, se(s.value, (g) => (b(), k(c, {
14682
14724
  value: g.value,
14683
14725
  label: g.label
14684
14726
  }, {
14685
14727
  default: f(() => [
14686
- te("div", sg, M(g.label), 1)
14728
+ te("div", sg, z(g.label), 1)
14687
14729
  ]),
14688
14730
  _: 2
14689
14731
  }, 1032, ["value", "label"]))), 256))
@@ -14733,7 +14775,7 @@ const G_ = /* @__PURE__ */ I({
14733
14775
  const i = w("el-button"), u = w("el-space");
14734
14776
  return b(), k(u, { size: "small" }, {
14735
14777
  default: f(() => [
14736
- (b(!0), z(H, null, se(l.value, (c) => (b(), k(i, {
14778
+ (b(!0), M(H, null, se(l.value, (c) => (b(), k(i, {
14737
14779
  link: "",
14738
14780
  size: c.size,
14739
14781
  type: c.type,
@@ -14745,7 +14787,7 @@ const G_ = /* @__PURE__ */ I({
14745
14787
  icon: c.icon
14746
14788
  }, {
14747
14789
  default: f(() => [
14748
- c.label ? (b(), z("span", {
14790
+ c.label ? (b(), M("span", {
14749
14791
  key: 0,
14750
14792
  innerHTML: c.label
14751
14793
  }, null, 8, ug)) : K("", !0)
@@ -14797,7 +14839,7 @@ const G_ = /* @__PURE__ */ I({
14797
14839
  }
14798
14840
  return (o, l) => {
14799
14841
  const s = w("el-table-column");
14800
- return b(!0), z(H, null, se(e.columns, (a) => (b(), k(s, {
14842
+ return b(!0), M(H, null, se(e.columns, (a) => (b(), k(s, {
14801
14843
  "show-overflow-tooltip": !1,
14802
14844
  align: a.align || "center",
14803
14845
  fixed: a.fixed || "right",
@@ -14896,7 +14938,7 @@ const G_ = /* @__PURE__ */ I({
14896
14938
  };
14897
14939
  return (g, p) => {
14898
14940
  const v = w("el-text");
14899
- return b(), z("div", pg, [
14941
+ return b(), M("div", pg, [
14900
14942
  m(v, {
14901
14943
  truncated: "",
14902
14944
  onClick: p[0] || (p[0] = (y) => d(y)),
@@ -14910,8 +14952,8 @@ const G_ = /* @__PURE__ */ I({
14910
14952
  onClick: _
14911
14953
  }, null, 8, ["icon", "type"])) : K("", !0),
14912
14954
  te("span", {
14913
- class: Vt(e.field.domain === "Custom" ? "warning" : "")
14914
- }, " " + M(e.field.name), 3)
14955
+ class: Tt(e.field.domain === "Custom" ? "warning" : "")
14956
+ }, " " + z(e.field.name), 3)
14915
14957
  ]),
14916
14958
  _: 1
14917
14959
  }),
@@ -14958,7 +15000,7 @@ const G_ = /* @__PURE__ */ I({
14958
15000
  }), l = O(() => qe(s.value) ? "info" : "primary"), s = O(() => t.row[t.field.prop]);
14959
15001
  return (a, r) => {
14960
15002
  const i = w("el-text"), u = w("el-tooltip");
14961
- return b(), z(H, null, [
15003
+ return b(), M(H, null, [
14962
15004
  e.field.tool === "object" ? (b(), k(h(W), {
14963
15005
  key: 0,
14964
15006
  type: l.value,
@@ -14986,24 +15028,24 @@ const G_ = /* @__PURE__ */ I({
14986
15028
  onContextmenu: r[7] || (r[7] = (c) => a.$emit("cell"))
14987
15029
  }, {
14988
15030
  default: f(() => [
14989
- S(M(o.value.content), 1)
15031
+ S(z(o.value.content), 1)
14990
15032
  ]),
14991
15033
  _: 1
14992
15034
  }, 8, ["type"])) : e.field.tool === "icon" ? (b(), k(h(j), {
14993
15035
  key: 4,
14994
15036
  icon: s.value
14995
- }, null, 8, ["icon"])) : e.field.domain === "BooleanField" ? (b(), z(H, { key: 5 }, [
15037
+ }, null, 8, ["icon"])) : e.field.domain === "BooleanField" ? (b(), M(H, { key: 5 }, [
14996
15038
  s.value != null ? (b(), k(h(j), {
14997
15039
  key: 0,
14998
15040
  type: s.value ? "success" : "danger",
14999
15041
  icon: s.value ? "check" : "xmark"
15000
15042
  }, null, 8, ["type", "icon"])) : K("", !0)
15001
- ], 64)) : (b(), z(H, { key: 6 }, [
15043
+ ], 64)) : (b(), M(H, { key: 6 }, [
15002
15044
  te("span", {
15003
- class: Vt(e.field.domain === "Custom" ? "custom-cell" : "field-cell"),
15045
+ class: Tt(e.field.domain === "Custom" ? "custom-cell" : "field-cell"),
15004
15046
  style: je({ color: e.field.cell_color })
15005
- }, M(o.value.content), 7),
15006
- n.value ? (b(), z("span", mg, M(n.value), 1)) : K("", !0)
15047
+ }, z(o.value.content), 7),
15048
+ n.value ? (b(), M("span", mg, z(n.value), 1)) : K("", !0)
15007
15049
  ], 64)),
15008
15050
  o.value.message ? (b(), k(u, {
15009
15051
  key: 7,
@@ -15063,7 +15105,7 @@ const G_ = /* @__PURE__ */ I({
15063
15105
  }
15064
15106
  return (s, a) => {
15065
15107
  const r = w("el-text"), i = w("el-table-column");
15066
- return b(!0), z(H, null, se(e.view.$fields, (u, c) => (b(), z(H, { key: c }, [
15108
+ return b(!0), M(H, null, se(e.view.$fields, (u, c) => (b(), M(H, { key: c }, [
15067
15109
  u.hide_on_table ? K("", !0) : (b(), k(i, {
15068
15110
  key: 0,
15069
15111
  prop: c,
@@ -15075,7 +15117,7 @@ const G_ = /* @__PURE__ */ I({
15075
15117
  }, {
15076
15118
  header: f(() => [
15077
15119
  m(r, {
15078
- class: Vt(e.admin ? "context-menu" : ""),
15120
+ class: Tt(e.admin ? "context-menu" : ""),
15079
15121
  onContextmenu: (d) => l(u)
15080
15122
  }, {
15081
15123
  default: f(() => [
@@ -15122,7 +15164,7 @@ const G_ = /* @__PURE__ */ I({
15122
15164
  placement: "right"
15123
15165
  }, {
15124
15166
  content: f(() => [
15125
- S(M(o.value), 1)
15167
+ S(z(o.value), 1)
15126
15168
  ]),
15127
15169
  default: f(() => [
15128
15170
  m(i, {
@@ -15130,7 +15172,7 @@ const G_ = /* @__PURE__ */ I({
15130
15172
  type: s.value
15131
15173
  }, {
15132
15174
  default: f(() => [
15133
- S(M(e.index + 1), 1)
15175
+ S(z(e.index + 1), 1)
15134
15176
  ]),
15135
15177
  _: 1
15136
15178
  }, 8, ["type"])
@@ -15234,8 +15276,8 @@ const G_ = /* @__PURE__ */ I({
15234
15276
  collector: p
15235
15277
  } = T_(l, s), { createSortable: v } = V_(l, s);
15236
15278
  J(() => [l.results, l.view], () => {
15237
- const P = l.view.allow_edit_on_sort && Ie(l.search.orders, { sort: -1 }) && !!l.results.length;
15238
- v(l.results, P);
15279
+ const F = l.view.allow_edit_on_sort && Ie(l.search.orders, { sort: -1 }) && !!l.results.length;
15280
+ v(l.results, F);
15239
15281
  }, { deep: !0, immediate: !0 });
15240
15282
  const {
15241
15283
  tooltipOptions: y,
@@ -15243,43 +15285,43 @@ const G_ = /* @__PURE__ */ I({
15243
15285
  tableCellClassName: T,
15244
15286
  tableRowClassName: D
15245
15287
  } = D_(l, s), C = O(() => a.value?.controller), V = O(() => {
15246
- const { parse: P } = Ae(l.view);
15247
- return P(l.results);
15288
+ const { parse: F } = Ae(l.view);
15289
+ return F(l.results);
15248
15290
  });
15249
- function F(P, U, A, R) {
15291
+ function P(F, U, A, R) {
15250
15292
  R.preventDefault(), R.stopPropagation();
15251
- const { property: B } = U, q = P.id;
15293
+ const { property: B } = U, q = F.id;
15252
15294
  B && !l.single ? p.toggle(q) : (p.clear(), p.set([q]));
15253
15295
  }
15254
- function $(P, U, A, R) {
15296
+ function $(F, U, A, R) {
15255
15297
  R.preventDefault(), R.stopPropagation();
15256
- const { type: B, property: q } = U, Q = P.id;
15298
+ const { type: B, property: q } = U, Q = F.id;
15257
15299
  if (p.clear(), p.set([Q]), B === "index")
15258
15300
  i.value?.open(R);
15259
15301
  else if (q) {
15260
15302
  if (Object.keys(l.core).includes(q)) return;
15261
15303
  const de = l.view.$fields[q];
15262
15304
  if (de.domain === "Custom") return;
15263
- r.value?.open(R, P, de);
15305
+ r.value?.open(R, F, de);
15264
15306
  }
15265
15307
  }
15266
15308
  return t({
15267
15309
  controller: () => C.value,
15268
15310
  getSelection: () => g.value,
15269
15311
  get: () => _.value,
15270
- set: (P) => Ve().then(() => p.set(P))
15271
- }), (P, U) => {
15312
+ set: (F) => Ve().then(() => p.set(F))
15313
+ }), (F, U) => {
15272
15314
  const A = w("el-text"), R = w("el-result"), B = w("el-table");
15273
- return b(), z(H, null, [
15315
+ return b(), M(H, null, [
15274
15316
  m(Go, {
15275
15317
  loading: e.loading,
15276
15318
  ticker: e.ticker
15277
15319
  }, {
15278
15320
  header: f(({ width: q }) => [
15279
- Z(P.$slots, "header", { width: q }, () => [
15321
+ Z(F.$slots, "header", { width: q }, () => [
15280
15322
  m(A, { tag: "b" }, {
15281
15323
  default: f(() => [
15282
- S(M(e.title || e.view.$meta_name), 1)
15324
+ S(z(e.title || e.view.$meta_name), 1)
15283
15325
  ]),
15284
15326
  _: 1
15285
15327
  })
@@ -15289,7 +15331,7 @@ const G_ = /* @__PURE__ */ I({
15289
15331
  m(h(R_), ke({
15290
15332
  ref_key: "control",
15291
15333
  ref: a
15292
- }, P.$props, {
15334
+ }, F.$props, {
15293
15335
  selection: h(g),
15294
15336
  collector: h(p),
15295
15337
  onUpload: U[0] || (U[0] = (Q) => d.value?.open())
@@ -15312,7 +15354,7 @@ const G_ = /* @__PURE__ */ I({
15312
15354
  }, null, 8, ["size", "page", "total", "width"])
15313
15355
  ]),
15314
15356
  "footer-tool": f(({ width: q }) => [
15315
- m(h(ng), ke(P.$props, {
15357
+ m(h(ng), ke(F.$props, {
15316
15358
  collection: h(_),
15317
15359
  collector: h(p),
15318
15360
  width: q
@@ -15329,7 +15371,7 @@ const G_ = /* @__PURE__ */ I({
15329
15371
  size: "small"
15330
15372
  }, {
15331
15373
  default: f(() => [
15332
- S(M(e.error), 1)
15374
+ S(z(e.error), 1)
15333
15375
  ]),
15334
15376
  _: 1
15335
15377
  })
@@ -15339,7 +15381,7 @@ const G_ = /* @__PURE__ */ I({
15339
15381
  key: 1,
15340
15382
  ref_key: "table",
15341
15383
  ref: s,
15342
- class: Vt(["m-table"]),
15384
+ class: Tt(["m-table"]),
15343
15385
  data: e.results,
15344
15386
  border: "",
15345
15387
  fit: "",
@@ -15352,20 +15394,20 @@ const G_ = /* @__PURE__ */ I({
15352
15394
  "max-height": e.view.table_height,
15353
15395
  "tooltip-options": h(y),
15354
15396
  size: e.size || "small",
15355
- onCellClick: F,
15397
+ onCellClick: P,
15356
15398
  onCellContextmenu: $,
15357
15399
  "row-class-name": h(D),
15358
15400
  "cell-class-name": h(T),
15359
15401
  "tooltip-formatter": h(E)
15360
15402
  }, {
15361
15403
  default: f(() => [
15362
- m(vg, ke(P.$props, {
15404
+ m(vg, ke(F.$props, {
15363
15405
  frame: V.value,
15364
15406
  collector: h(p),
15365
15407
  collection: h(_),
15366
15408
  onMeta: U[4] || (U[4] = (q) => o("meta", q))
15367
15409
  }), null, 16, ["frame", "collector", "collection"]),
15368
- m(gg, ke(P.$props, {
15410
+ m(gg, ke(F.$props, {
15369
15411
  collector: h(p),
15370
15412
  frame: V.value,
15371
15413
  collection: h(_),
@@ -15391,31 +15433,31 @@ const G_ = /* @__PURE__ */ I({
15391
15433
  ]),
15392
15434
  _: 3
15393
15435
  }, 8, ["loading", "ticker"]),
15394
- m(h(P_), ke({
15436
+ m(h(F_), ke({
15395
15437
  ref_key: "index",
15396
15438
  ref: i
15397
- }, P.$props, {
15439
+ }, F.$props, {
15398
15440
  selection: h(g),
15399
15441
  controller: C.value
15400
15442
  }), null, 16, ["selection", "controller"]),
15401
15443
  m(h(L_), ke({
15402
15444
  ref_key: "lookup",
15403
15445
  ref: c
15404
- }, P.$props), null, 16),
15446
+ }, F.$props), null, 16),
15405
15447
  m(h(I_), ke({
15406
15448
  ref_key: "cell",
15407
15449
  ref: r
15408
- }, P.$props, {
15450
+ }, F.$props, {
15409
15451
  onSpecial: u.value?.open
15410
15452
  }), null, 16, ["onSpecial"]),
15411
- m(h(F_), ke({
15453
+ m(h(P_), ke({
15412
15454
  ref_key: "special",
15413
15455
  ref: u
15414
- }, P.$props, { collector: h(p) }), null, 16, ["collector"]),
15456
+ }, F.$props, { collector: h(p) }), null, 16, ["collector"]),
15415
15457
  m(h(Q_), ke({
15416
15458
  ref_key: "upload",
15417
15459
  ref: d
15418
- }, P.$props, {
15460
+ }, F.$props, {
15419
15461
  onConfirm: U[8] || (U[8] = (q) => e.rest.save_many(q))
15420
15462
  }), null, 16)
15421
15463
  ], 64);
@@ -15618,9 +15660,9 @@ function kg(e, t) {
15618
15660
  return V;
15619
15661
  }
15620
15662
  function s(C) {
15621
- const F = e.value.mapping[C].children;
15622
- if (F.length) {
15623
- const $ = F.map((P) => s(P.id)).reduce((P, U) => [...P, ...U], []);
15663
+ const P = e.value.mapping[C].children;
15664
+ if (P.length) {
15665
+ const $ = P.map((F) => s(F.id)).reduce((F, U) => [...F, ...U], []);
15624
15666
  return [C, ...$];
15625
15667
  }
15626
15668
  return [];
@@ -15629,7 +15671,7 @@ function kg(e, t) {
15629
15671
  n.value = n.value.filter((V) => !C.includes(V));
15630
15672
  }
15631
15673
  function r(C) {
15632
- const V = C.filter((F) => !n.value.includes(F) && o.value.includes(F));
15674
+ const V = C.filter((P) => !n.value.includes(P) && o.value.includes(P));
15633
15675
  n.value.push(...V);
15634
15676
  }
15635
15677
  function i(C) {
@@ -15650,7 +15692,7 @@ function kg(e, t) {
15650
15692
  }
15651
15693
  function _(C) {
15652
15694
  if (e.value.expandAll) return;
15653
- const V = C.map((F) => l(F)).reduce((F, $) => [...F, ...$], []);
15695
+ const V = C.map((P) => l(P)).reduce((P, $) => [...P, ...$], []);
15654
15696
  C = [...new Set(V)], r(C);
15655
15697
  }
15656
15698
  const g = {
@@ -15661,9 +15703,9 @@ function kg(e, t) {
15661
15703
  function p(C) {
15662
15704
  return !!C.data.id;
15663
15705
  }
15664
- function v(C, V, F) {
15665
- const $ = C.data, P = V.data, U = P.isLeaf, A = !!P.children?.length, R = $.id, B = P.id;
15666
- return !U && B !== R && (V.expanded = !0), F === "inner" ? !U && !A : B != 0;
15706
+ function v(C, V, P) {
15707
+ const $ = C.data, F = V.data, U = F.isLeaf, A = !!F.children?.length, R = $.id, B = F.id;
15708
+ return !U && B !== R && (V.expanded = !0), P === "inner" ? !U && !A : B != 0;
15667
15709
  }
15668
15710
  function y(C) {
15669
15711
  const V = C.id;
@@ -15673,9 +15715,9 @@ function kg(e, t) {
15673
15715
  const V = C.id;
15674
15716
  c(V);
15675
15717
  }
15676
- function T(C, V, F, $) {
15677
- const P = C.data, U = V.data, A = P.id, R = U.id;
15678
- if (F === "inner") {
15718
+ function T(C, V, P, $) {
15719
+ const F = C.data, U = V.data, A = F.id, R = U.id;
15720
+ if (P === "inner") {
15679
15721
  const B = {
15680
15722
  id: A,
15681
15723
  pid: R
@@ -15744,7 +15786,7 @@ const Eg = /* @__PURE__ */ I({
15744
15786
  icon: p.icon
15745
15787
  }, {
15746
15788
  default: f(() => [
15747
- S(M(p.label), 1)
15789
+ S(z(p.label), 1)
15748
15790
  ]),
15749
15791
  _: 2
15750
15792
  }, 1032, ["icon"])
@@ -15844,7 +15886,7 @@ const Eg = /* @__PURE__ */ I({
15844
15886
  effect: "plain"
15845
15887
  }, {
15846
15888
  default: f(() => [
15847
- S(M(_.id ? _[e.field.prop] : "根节点"), 1)
15889
+ S(z(_.id ? _[e.field.prop] : "根节点"), 1)
15848
15890
  ]),
15849
15891
  _: 2
15850
15892
  }, 1024)
@@ -15970,7 +16012,7 @@ const Eg = /* @__PURE__ */ I({
15970
16012
  const g = !_.isLeaf, p = _.id;
15971
16013
  l.rest.switch_nodes([p], g), u();
15972
16014
  }
15973
- return t({ open: i, close: u }), (_, g) => (b(), k(h(ht), {
16015
+ return t({ open: i, close: u }), (_, g) => (b(), k(h(vt), {
15974
16016
  ref_key: "popover",
15975
16017
  ref: s,
15976
16018
  width: "280px"
@@ -16013,7 +16055,7 @@ const Eg = /* @__PURE__ */ I({
16013
16055
  },
16014
16056
  setup(e) {
16015
16057
  const t = e, n = O(() => t.data[t.field.prop]), o = O(() => t.data.isLeaf ? "leaf" : t.node.expanded && t.data.children.length ? "folder-open" : "folder"), l = O(() => t.data.isLeaf ? "success" : t.data.children.length ? "warning" : "info");
16016
- return (s, a) => (b(), z(H, null, [
16058
+ return (s, a) => (b(), M(H, null, [
16017
16059
  e.data.disabled ? (b(), k(h(j), {
16018
16060
  key: 0,
16019
16061
  icon: "ban",
@@ -16025,7 +16067,7 @@ const Eg = /* @__PURE__ */ I({
16025
16067
  type: l.value,
16026
16068
  style: { width: "14px", "margin-right": "10px" }
16027
16069
  }, null, 8, ["icon", "type"])),
16028
- te("span", null, M(n.value), 1)
16070
+ te("span", null, z(n.value), 1)
16029
16071
  ], 64));
16030
16072
  }
16031
16073
  }), $g = /* @__PURE__ */ I({
@@ -16058,8 +16100,8 @@ const Eg = /* @__PURE__ */ I({
16058
16100
  const s = t.data.id;
16059
16101
  t.collector.set(s);
16060
16102
  }
16061
- return (s, a) => (b(), z(H, null, [
16062
- (b(!0), z(H, null, se(o.value, (r) => (b(), k(h(Vr), {
16103
+ return (s, a) => (b(), M(H, null, [
16104
+ (b(!0), M(H, null, se(o.value, (r) => (b(), k(h(Vr), {
16063
16105
  view: e.view,
16064
16106
  "is-leaf": e.data.isLeaf,
16065
16107
  column: r,
@@ -16103,10 +16145,10 @@ const Eg = /* @__PURE__ */ I({
16103
16145
  emits: ["meta", "table"],
16104
16146
  setup(e, { expose: t, emit: n }) {
16105
16147
  const o = n, l = e, s = x(), a = x(), r = x(), { fromMode: i } = Ae(), u = O(() => l), c = O(() => l.labelKey || "name"), d = O(() => {
16106
- const { $fields: F, $modes: $ } = l.view, P = c.value, U = F[P], A = l.view.$modes[P];
16148
+ const { $fields: P, $modes: $ } = l.view, F = c.value, U = P[F], A = l.view.$modes[F];
16107
16149
  return U || (A ? i(A) : new me());
16108
16150
  }), _ = x("");
16109
- J(_, (F) => s.value.filter(F));
16151
+ J(_, (P) => s.value.filter(P));
16110
16152
  const {
16111
16153
  collection: g,
16112
16154
  selection: p,
@@ -16116,27 +16158,27 @@ const Eg = /* @__PURE__ */ I({
16116
16158
  expansion: E,
16117
16159
  ui: T
16118
16160
  } = kg(u, s);
16119
- function D(F, $, P) {
16120
- return ($[c.value] || "").includes(F);
16161
+ function D(P, $, F) {
16162
+ return ($[c.value] || "").includes(P);
16121
16163
  }
16122
- function C(F, $, P, U) {
16123
- const A = F.id;
16124
- F.children.length ? y.toggle(A) : l.single ? v.set(A) : v.toggle(A);
16164
+ function C(P, $, F, U) {
16165
+ const A = P.id;
16166
+ P.children.length ? y.toggle(A) : l.single ? v.set(A) : v.toggle(A);
16125
16167
  }
16126
- function V(F, $) {
16127
- F.preventDefault(), F.stopPropagation();
16128
- const P = $.id;
16129
- v.set(P), r.value?.open(F, $);
16168
+ function V(P, $) {
16169
+ P.preventDefault(), P.stopPropagation();
16170
+ const F = $.id;
16171
+ v.set(F), r.value?.open(P, $);
16130
16172
  }
16131
16173
  return t({
16132
16174
  selection: p,
16133
16175
  get: () => g.value,
16134
- set: (F) => Ve().then(() => {
16135
- v.set(...F), y.set(F);
16176
+ set: (P) => Ve().then(() => {
16177
+ v.set(...P), y.set(P);
16136
16178
  })
16137
- }), (F, $) => {
16138
- const P = w("el-divider"), U = w("el-text"), A = w("el-space"), R = w("el-tree");
16139
- return b(), z(H, null, [
16179
+ }), (P, $) => {
16180
+ const F = w("el-divider"), U = w("el-text"), A = w("el-space"), R = w("el-tree");
16181
+ return b(), M(H, null, [
16140
16182
  m(Go, {
16141
16183
  loading: e.loading,
16142
16184
  ticker: e.ticker,
@@ -16150,18 +16192,18 @@ const Eg = /* @__PURE__ */ I({
16150
16192
  disclosure: h(y),
16151
16193
  onMeta: $[0] || ($[0] = (q) => o("meta", q))
16152
16194
  }, null, 8, ["collection", "expansion", "collector", "disclosure"]),
16153
- m(P, { direction: "vertical" }),
16154
- Z(F.$slots, "header", { width: B }, () => [
16195
+ m(F, { direction: "vertical" }),
16196
+ Z(P.$slots, "header", { width: B }, () => [
16155
16197
  m(U, { tag: "b" }, {
16156
16198
  default: f(() => [
16157
- S(M(e.view.$meta_name), 1)
16199
+ S(z(e.view.$meta_name), 1)
16158
16200
  ]),
16159
16201
  _: 1
16160
16202
  })
16161
16203
  ])
16162
16204
  ]),
16163
16205
  "header-tool": f(({ width: B }) => [
16164
- m(yg, ke(F.$props, {
16206
+ m(yg, ke(P.$props, {
16165
16207
  modelValue: _.value,
16166
16208
  "onUpdate:modelValue": $[1] || ($[1] = (q) => _.value = q),
16167
16209
  collector: h(v),
@@ -16207,16 +16249,16 @@ const Eg = /* @__PURE__ */ I({
16207
16249
  data: B,
16208
16250
  field: d.value
16209
16251
  }, null, 8, ["node", "data", "field"]),
16210
- Z(F.$slots, "prefix", {
16252
+ Z(P.$slots, "prefix", {
16211
16253
  isLeaf: B.isLeaf,
16212
16254
  node: q,
16213
16255
  data: B
16214
16256
  }, () => [
16215
- B.isLeaf ? Z(F.$slots, "prefix-leaf", {
16257
+ B.isLeaf ? Z(P.$slots, "prefix-leaf", {
16216
16258
  key: 0,
16217
16259
  node: q,
16218
16260
  data: B
16219
- }) : Z(F.$slots, "prefix-branch", {
16261
+ }) : Z(P.$slots, "prefix-branch", {
16220
16262
  key: 1,
16221
16263
  node: q,
16222
16264
  data: B
@@ -16227,22 +16269,22 @@ const Eg = /* @__PURE__ */ I({
16227
16269
  }, 1024),
16228
16270
  m(A, null, {
16229
16271
  default: f(() => [
16230
- Z(F.$slots, "suffix", {
16272
+ Z(P.$slots, "suffix", {
16231
16273
  isLeaf: B.isLeaf,
16232
16274
  node: q,
16233
16275
  data: B
16234
16276
  }, () => [
16235
- B.isLeaf ? Z(F.$slots, "suffix-leaf", {
16277
+ B.isLeaf ? Z(P.$slots, "suffix-leaf", {
16236
16278
  key: 0,
16237
16279
  node: q,
16238
16280
  data: B
16239
- }) : Z(F.$slots, "suffix-branch", {
16281
+ }) : Z(P.$slots, "suffix-branch", {
16240
16282
  key: 1,
16241
16283
  node: q,
16242
16284
  data: B
16243
16285
  })
16244
16286
  ]),
16245
- m($g, ke(F.$props, {
16287
+ m($g, ke(P.$props, {
16246
16288
  data: B,
16247
16289
  collector: h(v)
16248
16290
  }), null, 16, ["data", "collector"])
@@ -16259,11 +16301,11 @@ const Eg = /* @__PURE__ */ I({
16259
16301
  m(h(xg), ke({
16260
16302
  ref_key: "batch",
16261
16303
  ref: a
16262
- }, F.$props, { field: d.value }), null, 16, ["field"]),
16304
+ }, P.$props, { field: d.value }), null, 16, ["field"]),
16263
16305
  m(h(Og), ke({
16264
16306
  ref_key: "node",
16265
16307
  ref: r
16266
- }, F.$props, {
16308
+ }, P.$props, {
16267
16309
  field: d.value,
16268
16310
  onTable: $[3] || ($[3] = (B) => o("table", B)),
16269
16311
  onBatch: a.value?.open
@@ -16319,7 +16361,7 @@ const Eg = /* @__PURE__ */ I({
16319
16361
  const { userStore: t, handler: n } = Oe(), o = ot(), l = x(), s = x(), a = x(), r = x();
16320
16362
  return (i, u) => {
16321
16363
  const c = w("el-tag"), d = w("el-dropdown-item"), _ = w("el-dropdown-menu"), g = w("el-dropdown");
16322
- return b(), z(H, null, [
16364
+ return b(), M(H, null, [
16323
16365
  m(g, {
16324
16366
  placement: "bottom-start",
16325
16367
  trigger: "click"
@@ -16376,7 +16418,7 @@ const Eg = /* @__PURE__ */ I({
16376
16418
  ]),
16377
16419
  _: 1
16378
16420
  }),
16379
- h(t).admin ? (b(), z(H, { key: 1 }, [
16421
+ h(t).admin ? (b(), M(H, { key: 1 }, [
16380
16422
  m(d, {
16381
16423
  divided: "",
16382
16424
  onClick: u[3] || (u[3] = (p) => h(o).push("/morghulis_system"))
@@ -16425,7 +16467,7 @@ const Eg = /* @__PURE__ */ I({
16425
16467
  default: f(() => [
16426
16468
  m(h(j), { icon: "user" }, {
16427
16469
  default: f(() => [
16428
- te("b", null, M(h(t).name || h(t).username), 1)
16470
+ te("b", null, z(h(t).name || h(t).username), 1)
16429
16471
  ]),
16430
16472
  _: 1
16431
16473
  })
@@ -16465,7 +16507,7 @@ const Eg = /* @__PURE__ */ I({
16465
16507
  } = Oe(), s = O(() => o.signInOnly ? "登录" : " 登录 / 注册");
16466
16508
  return (a, r) => {
16467
16509
  const i = w("el-divider"), u = w("el-space");
16468
- return b(), z(H, null, [
16510
+ return b(), M(H, null, [
16469
16511
  h(n).isLogin ? (b(), k(u, { key: 0 }, {
16470
16512
  default: f(() => [
16471
16513
  m(Ag),
@@ -16488,7 +16530,7 @@ const Eg = /* @__PURE__ */ I({
16488
16530
  onClick: r[0] || (r[0] = (c) => t.value?.open())
16489
16531
  }, {
16490
16532
  default: f(() => [
16491
- te("b", null, M(s.value), 1)
16533
+ te("b", null, z(s.value), 1)
16492
16534
  ]),
16493
16535
  _: 1
16494
16536
  })),
@@ -16530,12 +16572,12 @@ const Eg = /* @__PURE__ */ I({
16530
16572
  ])]),
16531
16573
  _: 1
16532
16574
  }),
16533
- (b(!0), z(H, null, se(s.value, (c) => (b(), k(h(j), {
16575
+ (b(!0), M(H, null, se(s.value, (c) => (b(), k(h(j), {
16534
16576
  icon: a(c),
16535
16577
  style: { color: "#999999" }
16536
16578
  }, {
16537
16579
  default: f(() => [
16538
- S(M(c.name), 1)
16580
+ S(z(c.name), 1)
16539
16581
  ]),
16540
16582
  _: 2
16541
16583
  }, 1032, ["icon"]))), 256))
@@ -16547,10 +16589,10 @@ const Eg = /* @__PURE__ */ I({
16547
16589
  }), Ig = {
16548
16590
  class: "justified",
16549
16591
  style: { height: "100%" }
16550
- }, Pg = {
16592
+ }, Fg = {
16551
16593
  class: "justified",
16552
16594
  style: { height: "100%" }
16553
- }, Fg = /* @__PURE__ */ I({
16595
+ }, Pg = /* @__PURE__ */ I({
16554
16596
  __name: "MAdmin",
16555
16597
  setup(e) {
16556
16598
  const { frame: t } = Dr(), n = O(() => `${t.value.body}px`), { options: o, mapping: l } = p_(), s = We();
@@ -16573,7 +16615,7 @@ const Eg = /* @__PURE__ */ I({
16573
16615
  tag: "b"
16574
16616
  }, {
16575
16617
  default: f(() => [
16576
- S(M(h(s).title), 1)
16618
+ S(z(h(s).title), 1)
16577
16619
  ]),
16578
16620
  _: 1
16579
16621
  })
@@ -16596,7 +16638,7 @@ const Eg = /* @__PURE__ */ I({
16596
16638
  height: `${h(t).neck}px`
16597
16639
  }, {
16598
16640
  default: f(() => [
16599
- te("div", Pg, [
16641
+ te("div", Fg, [
16600
16642
  m(Rg, { mapping: h(l) }, null, 8, ["mapping"]),
16601
16643
  m(c, null, {
16602
16644
  default: f(() => [
@@ -16665,7 +16707,7 @@ const Eg = /* @__PURE__ */ I({
16665
16707
  });
16666
16708
  };
16667
16709
  }
16668
- }), Ng = /* @__PURE__ */ lt(Fg, [["__scopeId", "data-v-ed04fe26"]]), Ug = /* @__PURE__ */ I({
16710
+ }), Ng = /* @__PURE__ */ lt(Pg, [["__scopeId", "data-v-ed04fe26"]]), Ug = /* @__PURE__ */ I({
16669
16711
  __name: "MApp",
16670
16712
  props: {
16671
16713
  type: {},
@@ -16757,8 +16799,8 @@ const Rr = /* @__PURE__ */ I({
16757
16799
  window.open(`${v}/${l.value}`, "_blank");
16758
16800
  }
16759
16801
  function E(C) {
16760
- const { name: V, size: F } = C, $ = V.indexOf(".") !== -1 ? `.${V.split(".").pop()}` : "", P = [];
16761
- return (u.value === "*" ? !0 : r.value.accept.includes($)) || P.push(`文件类型不符合:${u.value}`), F / 1e6 <= r.value.maximum || P.push(`文件大小不超过${r.value.maximum}Mb`), P.length > 0 ? (X.error(P.join(";")), !1) : !0;
16802
+ const { name: V, size: P } = C, $ = V.indexOf(".") !== -1 ? `.${V.split(".").pop()}` : "", F = [];
16803
+ return (u.value === "*" ? !0 : r.value.accept.includes($)) || F.push(`文件类型不符合:${u.value}`), P / 1e6 <= r.value.maximum || F.push(`文件大小不超过${r.value.maximum}Mb`), F.length > 0 ? (X.error(F.join(";")), !1) : !0;
16762
16804
  }
16763
16805
  function T(C) {
16764
16806
  C.payload ? (l.value = C.payload, o("reload"), X.success("上传成功!")) : D(), s.value?.clearFiles();
@@ -16767,9 +16809,9 @@ const Rr = /* @__PURE__ */ I({
16767
16809
  X.error("上传失败");
16768
16810
  }
16769
16811
  return (C, V) => {
16770
- const F = w("el-upload"), $ = w("el-text"), P = w("el-tooltip"), U = w("el-divider"), A = w("el-space"), R = w("el-input");
16771
- return b(), z(H, null, [
16772
- Ye(m(F, {
16812
+ const P = w("el-upload"), $ = w("el-text"), F = w("el-tooltip"), U = w("el-divider"), A = w("el-space"), R = w("el-input");
16813
+ return b(), M(H, null, [
16814
+ Ye(m(P, {
16773
16815
  ref_key: "upload",
16774
16816
  ref: s,
16775
16817
  action: a.value,
@@ -16789,9 +16831,9 @@ const Rr = /* @__PURE__ */ I({
16789
16831
  size: "small"
16790
16832
  }, {
16791
16833
  default: f(() => [
16792
- m(P, null, {
16834
+ m(F, null, {
16793
16835
  content: f(() => [
16794
- S(M(d.value), 1)
16836
+ S(z(d.value), 1)
16795
16837
  ]),
16796
16838
  default: f(() => [
16797
16839
  m($, {
@@ -16800,7 +16842,7 @@ const Rr = /* @__PURE__ */ I({
16800
16842
  style: { width: "100px" }
16801
16843
  }, {
16802
16844
  default: f(() => [
16803
- S(M(d.value), 1)
16845
+ S(z(d.value), 1)
16804
16846
  ]),
16805
16847
  _: 1
16806
16848
  })
@@ -16911,7 +16953,7 @@ const Rr = /* @__PURE__ */ I({
16911
16953
  }
16912
16954
  return (r, i) => {
16913
16955
  const u = w("el-button");
16914
- return b(), z(H, null, [
16956
+ return b(), M(H, null, [
16915
16957
  m(u, {
16916
16958
  type: "info",
16917
16959
  plain: "",
@@ -16928,7 +16970,7 @@ const Rr = /* @__PURE__ */ I({
16928
16970
  ])]),
16929
16971
  _: 1
16930
16972
  }),
16931
- S(" || " + M(s.value), 1)
16973
+ S(" || " + z(s.value), 1)
16932
16974
  ]),
16933
16975
  _: 1
16934
16976
  }),
@@ -16969,7 +17011,7 @@ const Rr = /* @__PURE__ */ I({
16969
17011
  }
16970
17012
  return (i, u) => {
16971
17013
  const c = w("el-button");
16972
- return b(), z(H, null, [
17014
+ return b(), M(H, null, [
16973
17015
  m(c, {
16974
17016
  type: "info",
16975
17017
  plain: "",
@@ -17118,7 +17160,7 @@ const Vn = /* @__PURE__ */ I({
17118
17160
  hit: ""
17119
17161
  }, {
17120
17162
  default: f(() => [
17121
- S(M(e.field.prop), 1)
17163
+ S(z(e.field.prop), 1)
17122
17164
  ]),
17123
17165
  _: 1
17124
17166
  }),
@@ -17129,7 +17171,7 @@ const Vn = /* @__PURE__ */ I({
17129
17171
  hit: ""
17130
17172
  }, {
17131
17173
  default: f(() => [
17132
- S(M(e.field.tool), 1)
17174
+ S(z(e.field.tool), 1)
17133
17175
  ]),
17134
17176
  _: 1
17135
17177
  }),
@@ -17140,7 +17182,7 @@ const Vn = /* @__PURE__ */ I({
17140
17182
  hit: ""
17141
17183
  }, {
17142
17184
  default: f(() => [
17143
- S(M(e.field.domain), 1)
17185
+ S(z(e.field.domain), 1)
17144
17186
  ]),
17145
17187
  _: 1
17146
17188
  })
@@ -17151,7 +17193,7 @@ const Vn = /* @__PURE__ */ I({
17151
17193
  default: f(() => [
17152
17194
  m(o, { tag: "b" }, {
17153
17195
  default: f(() => [
17154
- S(M(e.field.name), 1)
17196
+ S(z(e.field.name), 1)
17155
17197
  ]),
17156
17198
  _: 1
17157
17199
  })
@@ -17183,7 +17225,7 @@ const Vn = /* @__PURE__ */ I({
17183
17225
  size: "small"
17184
17226
  }, {
17185
17227
  default: f(() => [
17186
- S(M(e.view.$db), 1)
17228
+ S(z(e.view.$db), 1)
17187
17229
  ]),
17188
17230
  _: 1
17189
17231
  }),
@@ -17192,7 +17234,7 @@ const Vn = /* @__PURE__ */ I({
17192
17234
  size: "small"
17193
17235
  }, {
17194
17236
  default: f(() => [
17195
- S(M(e.view.$entity), 1)
17237
+ S(z(e.view.$entity), 1)
17196
17238
  ]),
17197
17239
  _: 1
17198
17240
  }),
@@ -17201,7 +17243,7 @@ const Vn = /* @__PURE__ */ I({
17201
17243
  size: "small"
17202
17244
  }, {
17203
17245
  default: f(() => [
17204
- S(M(e.view.$code), 1)
17246
+ S(z(e.view.$code), 1)
17205
17247
  ]),
17206
17248
  _: 1
17207
17249
  })
@@ -17230,7 +17272,7 @@ const Vn = /* @__PURE__ */ I({
17230
17272
  tag: "b"
17231
17273
  }, {
17232
17274
  default: f(() => [
17233
- S(M(e.view.$meta_name), 1)
17275
+ S(z(e.view.$meta_name), 1)
17234
17276
  ]),
17235
17277
  _: 1
17236
17278
  }))
@@ -17325,7 +17367,7 @@ const Vn = /* @__PURE__ */ I({
17325
17367
  default: f(() => [
17326
17368
  m(D, { gutter: 10 }, {
17327
17369
  default: f(() => [
17328
- (b(!0), z(H, null, se(h(a).filter((V) => V.domain !== "FileField"), (V) => (b(), k(T, {
17370
+ (b(!0), M(H, null, se(h(a).filter((V) => V.domain !== "FileField"), (V) => (b(), k(T, {
17329
17371
  span: V.span || 12
17330
17372
  }, {
17331
17373
  default: f(() => [
@@ -17353,7 +17395,7 @@ const Vn = /* @__PURE__ */ I({
17353
17395
  ]),
17354
17396
  _: 2
17355
17397
  }, 1032, ["span"]))), 256)),
17356
- h(u) ? (b(!0), z(H, { key: 0 }, se(h(a).filter((V) => V.domain === "FileField"), (V) => (b(), k(T, null, {
17398
+ h(u) ? (b(!0), M(H, { key: 0 }, se(h(a).filter((V) => V.domain === "FileField"), (V) => (b(), k(T, null, {
17357
17399
  default: f(() => [
17358
17400
  m(E, {
17359
17401
  prop: V.prop,
@@ -17437,15 +17479,15 @@ const qg = {
17437
17479
  }
17438
17480
  return t({ getData: d }), (_, g) => {
17439
17481
  const p = w("el-segmented");
17440
- return b(), z(H, null, [
17441
- e.codes.length ? (b(), z("div", qg, [
17482
+ return b(), M(H, null, [
17483
+ e.codes.length ? (b(), M("div", qg, [
17442
17484
  m(p, {
17443
17485
  options: e.codes,
17444
17486
  modelValue: h(l),
17445
17487
  "onUpdate:modelValue": g[0] || (g[0] = (v) => ie(l) ? l.value = v : null)
17446
17488
  }, null, 8, ["options", "modelValue"])
17447
17489
  ])) : K("", !0),
17448
- h(s) ? (b(), z("div", Hg, [
17490
+ h(s) ? (b(), M("div", Hg, [
17449
17491
  m(Hn, {
17450
17492
  ref: "form",
17451
17493
  view: h(s),
@@ -17466,7 +17508,7 @@ const qg = {
17466
17508
  }
17467
17509
  });
17468
17510
  function Kg(e, t) {
17469
- const n = x(new Ft(e.value)), {
17511
+ const n = x(new Pt(e.value)), {
17470
17512
  model: o,
17471
17513
  manager: l,
17472
17514
  ticker: s,
@@ -17487,7 +17529,7 @@ function Kg(e, t) {
17487
17529
  options: D,
17488
17530
  mapping: C,
17489
17531
  total: V
17490
- } = pr(o), { toAoa: F } = Ae(g), { toText: $ } = gt(), { copy: P } = At(), { write: U } = Ut();
17532
+ } = pr(o), { toAoa: P } = Ae(g), { toText: $ } = ht(), { copy: F } = _t(), { write: U } = Ut();
17491
17533
  return {
17492
17534
  view: g,
17493
17535
  search: n,
@@ -17517,8 +17559,8 @@ function Kg(e, t) {
17517
17559
  },
17518
17560
  download: () => {
17519
17561
  l.find(..._.value).then((R) => {
17520
- const B = F(R), q = { confirmButtonText: "复制到剪切板", cancelButtonText: "下载为文件" }, Q = e.value.title || g.value.$meta_name;
17521
- De.info("请选择数据下载方式:", q).then(() => P($(B))).then(() => X.success("数据已存至剪切板")).catch(() => U(Q || _t(), { data: B, name: Q }));
17562
+ const B = P(R), q = { confirmButtonText: "复制到剪切板", cancelButtonText: "下载为文件" }, Q = e.value.title || g.value.$meta_name;
17563
+ De.info("请选择数据下载方式:", q).then(() => F($(B))).then(() => X.success("数据已存至剪切板")).catch(() => U(Q || gt(), { data: B, name: Q }));
17522
17564
  });
17523
17565
  }
17524
17566
  },
@@ -17671,7 +17713,7 @@ const Yg = /* @__PURE__ */ I({
17671
17713
  return ["date"];
17672
17714
  }
17673
17715
  }), a = O(
17674
- () => Object.entries(Pe.DATE_TYPES).filter(([r, i]) => s.value.includes(r)).map(
17716
+ () => Object.entries(Fe.DATE_TYPES).filter(([r, i]) => s.value.includes(r)).map(
17675
17717
  ([r, i]) => ({
17676
17718
  label: i.label,
17677
17719
  value: r
@@ -17692,7 +17734,7 @@ const Yg = /* @__PURE__ */ I({
17692
17734
  "onUpdate:modelValue": i[0] || (i[0] = (g) => l.value.frequency = g)
17693
17735
  }, {
17694
17736
  default: f(() => [
17695
- (b(!0), z(H, null, se(a.value, ({ label: g, value: p }) => (b(), k(u, {
17737
+ (b(!0), M(H, null, se(a.value, ({ label: g, value: p }) => (b(), k(u, {
17696
17738
  label: g,
17697
17739
  value: p
17698
17740
  }, {
@@ -17727,7 +17769,7 @@ const Yg = /* @__PURE__ */ I({
17727
17769
  const n = e, o = t, l = O({
17728
17770
  get: () => n.modelValue,
17729
17771
  set: (r) => o("update:modelValue", r)
17730
- }), s = O(() => Object.values(n.view.$modes).filter((r) => r.domain === "CharField")), a = O(() => n.field.tool === "image" ? [".jpg", ".gif", ".png", ".jpeg"] : Pe.FILE_TYPES);
17772
+ }), s = O(() => Object.values(n.view.$modes).filter((r) => r.domain === "CharField")), a = O(() => n.field.tool === "image" ? [".jpg", ".gif", ".png", ".jpeg"] : Fe.FILE_TYPES);
17731
17773
  return (r, i) => {
17732
17774
  const u = w("el-input-number"), c = w("el-form-item"), d = w("el-col"), _ = w("el-checkbox"), g = w("el-option"), p = w("el-select"), v = w("el-row"), y = w("el-form");
17733
17775
  return b(), k(y, { "label-position": "top" }, {
@@ -17786,7 +17828,7 @@ const Yg = /* @__PURE__ */ I({
17786
17828
  ]),
17787
17829
  _: 1
17788
17830
  }),
17789
- e.field.tool !== "rich" ? (b(), z(H, { key: 0 }, [
17831
+ e.field.tool !== "rich" ? (b(), M(H, { key: 0 }, [
17790
17832
  m(d, { span: 12 }, {
17791
17833
  default: f(() => [
17792
17834
  m(c, { label: "最大容量" }, {
@@ -17824,7 +17866,7 @@ const Yg = /* @__PURE__ */ I({
17824
17866
  border: ""
17825
17867
  }, {
17826
17868
  default: f(() => [
17827
- S(M(l.value.locked ? "是" : "否"), 1)
17869
+ S(z(l.value.locked ? "是" : "否"), 1)
17828
17870
  ]),
17829
17871
  _: 1
17830
17872
  }, 8, ["modelValue"])
@@ -17848,7 +17890,7 @@ const Yg = /* @__PURE__ */ I({
17848
17890
  clearable: ""
17849
17891
  }, {
17850
17892
  default: f(() => [
17851
- (b(!0), z(H, null, se(a.value, (E) => (b(), k(g, {
17893
+ (b(!0), M(H, null, se(a.value, (E) => (b(), k(g, {
17852
17894
  value: E,
17853
17895
  label: E
17854
17896
  }, null, 8, ["value", "label"]))), 256))
@@ -17872,7 +17914,7 @@ const Yg = /* @__PURE__ */ I({
17872
17914
  filterable: ""
17873
17915
  }, {
17874
17916
  default: f(() => [
17875
- (b(!0), z(H, null, se(s.value, (E) => (b(), k(g, {
17917
+ (b(!0), M(H, null, se(s.value, (E) => (b(), k(g, {
17876
17918
  label: E.label,
17877
17919
  value: E.prop
17878
17920
  }, {
@@ -17974,7 +18016,7 @@ const Yg = /* @__PURE__ */ I({
17974
18016
  "onUpdate:modelValue": r[2] || (r[2] = (y) => l.value.step_strictly = y)
17975
18017
  }, {
17976
18018
  default: f(() => [
17977
- S(M(l.value.step_strictly ? "严格步长" : "自由步长"), 1)
18019
+ S(z(l.value.step_strictly ? "严格步长" : "自由步长"), 1)
17978
18020
  ]),
17979
18021
  _: 1
17980
18022
  }, 8, ["disabled", "modelValue"])
@@ -18150,7 +18192,7 @@ const Yg = /* @__PURE__ */ I({
18150
18192
  view: {}
18151
18193
  },
18152
18194
  setup(e, { expose: t }) {
18153
- const n = e, o = x(new Pe(n.field.format));
18195
+ const n = e, o = x(new Fe(n.field.format));
18154
18196
  t({ getData: () => ({
18155
18197
  id: n.field.id,
18156
18198
  format: o.value
@@ -18183,7 +18225,7 @@ const Yg = /* @__PURE__ */ I({
18183
18225
  view: e.view
18184
18226
  }, null, 8, ["modelValue", "field", "view"])) : K("", !0);
18185
18227
  }
18186
- }), Qg = { class: "justified" }, eh = { style: { "font-size": "10px", "margin-left": "10px" } }, Pr = /* @__PURE__ */ I({
18228
+ }), Qg = { class: "justified" }, eh = { style: { "font-size": "10px", "margin-left": "10px" } }, Fr = /* @__PURE__ */ I({
18187
18229
  __name: "MetaSelect",
18188
18230
  props: {
18189
18231
  modelValue: {},
@@ -18195,7 +18237,7 @@ const Yg = /* @__PURE__ */ I({
18195
18237
  emits: ["update:modelValue", "clear"],
18196
18238
  setup(e, { emit: t }) {
18197
18239
  const n = x([]), o = x(), { post: l } = at();
18198
- x({}), $t(() => l("valar/metas").then((u) => {
18240
+ x({}), Vt(() => l("valar/metas").then((u) => {
18199
18241
  n.value = u;
18200
18242
  }));
18201
18243
  const s = e, a = t, r = O({
@@ -18230,11 +18272,11 @@ const Yg = /* @__PURE__ */ I({
18230
18272
  te("div", Qg, [
18231
18273
  m(j, { icon: p }, {
18232
18274
  default: f(() => [
18233
- S(M(_), 1)
18275
+ S(z(_), 1)
18234
18276
  ]),
18235
18277
  _: 2
18236
18278
  }, 1032, ["icon"]),
18237
- te("span", eh, M(g), 1)
18279
+ te("span", eh, z(g), 1)
18238
18280
  ])
18239
18281
  ]),
18240
18282
  _: 1
@@ -18335,7 +18377,7 @@ const Yg = /* @__PURE__ */ I({
18335
18377
  "label-position": "top"
18336
18378
  }, {
18337
18379
  default: f(() => [
18338
- m(h(Pr), {
18380
+ m(h(Fr), {
18339
18381
  modelValue: o.value,
18340
18382
  "onUpdate:modelValue": p[0] || (p[0] = (V) => o.value = V)
18341
18383
  }, null, 8, ["modelValue"])
@@ -18360,7 +18402,7 @@ const Yg = /* @__PURE__ */ I({
18360
18402
  "onUpdate:modelValue": p[1] || (p[1] = (V) => o.value.multiple = V)
18361
18403
  }, {
18362
18404
  default: f(() => [
18363
- S(M(o.value.multiple ? "是" : "否"), 1)
18405
+ S(z(o.value.multiple ? "是" : "否"), 1)
18364
18406
  ]),
18365
18407
  _: 1
18366
18408
  }, 8, ["modelValue"])
@@ -18370,7 +18412,7 @@ const Yg = /* @__PURE__ */ I({
18370
18412
  ]),
18371
18413
  _: 1
18372
18414
  }),
18373
- (b(), z(H, null, se(c, (V, F) => m(y, { span: 8 }, {
18415
+ (b(), M(H, null, se(c, (V, P) => m(y, { span: 8 }, {
18374
18416
  default: f(() => [
18375
18417
  m(v, {
18376
18418
  label: V,
@@ -18378,15 +18420,15 @@ const Yg = /* @__PURE__ */ I({
18378
18420
  }, {
18379
18421
  default: f(() => [
18380
18422
  m(D, {
18381
- disabled: F === "value" && d.value.value || d.value.all,
18423
+ disabled: P === "value" && d.value.value || d.value.all,
18382
18424
  filterable: "",
18383
18425
  clearable: "",
18384
18426
  "value-on-clear": "",
18385
- modelValue: o.value[F],
18386
- "onUpdate:modelValue": ($) => o.value[F] = $
18427
+ modelValue: o.value[P],
18428
+ "onUpdate:modelValue": ($) => o.value[P] = $
18387
18429
  }, {
18388
18430
  default: f(() => [
18389
- (b(!0), z(H, null, se(_.value, ($) => (b(), k(T, {
18431
+ (b(!0), M(H, null, se(_.value, ($) => (b(), k(T, {
18390
18432
  label: $.label,
18391
18433
  value: $.value
18392
18434
  }, {
@@ -18443,7 +18485,7 @@ const Yg = /* @__PURE__ */ I({
18443
18485
  ]),
18444
18486
  _: 1
18445
18487
  }),
18446
- d.value.tree ? K("", !0) : (b(), z(H, { key: 0 }, [
18488
+ d.value.tree ? K("", !0) : (b(), M(H, { key: 0 }, [
18447
18489
  m(y, { span: 12 }, {
18448
18490
  default: f(() => [
18449
18491
  m(v, {
@@ -18476,7 +18518,7 @@ const Yg = /* @__PURE__ */ I({
18476
18518
  "onUpdate:modelValue": p[5] || (p[5] = (V) => o.value.strict = V)
18477
18519
  }, {
18478
18520
  default: f(() => [
18479
- S(M(o.value.strict ? "是" : "否"), 1)
18521
+ S(z(o.value.strict ? "是" : "否"), 1)
18480
18522
  ]),
18481
18523
  _: 1
18482
18524
  }, 8, ["modelValue"])
@@ -18492,7 +18534,7 @@ const Yg = /* @__PURE__ */ I({
18492
18534
  });
18493
18535
  };
18494
18536
  }
18495
- }), Fr = /* @__PURE__ */ I({
18537
+ }), Pr = /* @__PURE__ */ I({
18496
18538
  __name: "FieldForm",
18497
18539
  props: {
18498
18540
  field: {},
@@ -18521,7 +18563,7 @@ const Yg = /* @__PURE__ */ I({
18521
18563
  function u() {
18522
18564
  return o.value?.getData();
18523
18565
  }
18524
- return t({ getData: u }), (c, d) => (b(), z(H, null, [
18566
+ return t({ getData: u }), (c, d) => (b(), M(H, null, [
18525
18567
  e.field ? (b(), k(h(Jo), {
18526
18568
  key: 0,
18527
18569
  ref_key: "form",
@@ -18593,7 +18635,7 @@ const Yg = /* @__PURE__ */ I({
18593
18635
  m(jn, { field: d }, null, 8, ["field"])
18594
18636
  ]),
18595
18637
  default: f(({ data: d }) => [
18596
- m(Fr, {
18638
+ m(Pr, {
18597
18639
  ref_key: "form",
18598
18640
  ref: s,
18599
18641
  field: d,
@@ -18658,15 +18700,15 @@ const Yg = /* @__PURE__ */ I({
18658
18700
  expandTrigger: "hover",
18659
18701
  lazyLoad(c, d) {
18660
18702
  const { level: _, data: g } = c, { $db: p, $entity: v } = n.view, y = _ ? g : { db: p, entity: v }, E = _ ? c.pathNodes.map((V) => {
18661
- const { db: F, entity: $ } = V.data;
18662
- return `${F}.${$}`;
18703
+ const { db: P, entity: $ } = V.data;
18704
+ return `${P}.${$}`;
18663
18705
  }) : [], T = _ ? c.pathValues : [];
18664
18706
  E.push(`${p}.${v}`);
18665
18707
  const { db: D, entity: C } = y;
18666
18708
  o("valar/get_fields", { db: D, entity: C, route: E }).then((V) => {
18667
- V.forEach((F) => {
18668
- const $ = [...T, F.value].join("__");
18669
- F.disabled = s.value.includes($);
18709
+ V.forEach((P) => {
18710
+ const $ = [...T, P.value].join("__");
18711
+ P.disabled = s.value.includes($);
18670
18712
  }), d(V);
18671
18713
  });
18672
18714
  }
@@ -18674,7 +18716,7 @@ const Yg = /* @__PURE__ */ I({
18674
18716
  function i(c) {
18675
18717
  return c.pathNodes.map((d) => d.data.value).join("__");
18676
18718
  }
18677
- $t(() => {
18719
+ Vt(() => {
18678
18720
  o("valar/load_customs", n).then((c) => {
18679
18721
  s.value = c;
18680
18722
  });
@@ -18709,14 +18751,14 @@ const Yg = /* @__PURE__ */ I({
18709
18751
  style: { width: "100%" }
18710
18752
  }, {
18711
18753
  tag: f(({ data: p }) => [
18712
- (b(!0), z(H, null, se(p, (v) => (b(), k(_, {
18754
+ (b(!0), M(H, null, se(p, (v) => (b(), k(_, {
18713
18755
  type: "success",
18714
18756
  effect: "plain",
18715
18757
  size: "small",
18716
18758
  hit: ""
18717
18759
  }, {
18718
18760
  default: f(() => [
18719
- S(M(i(v.node)), 1)
18761
+ S(z(i(v.node)), 1)
18720
18762
  ]),
18721
18763
  _: 2
18722
18764
  }, 1024))), 256))
@@ -18889,7 +18931,7 @@ const Yg = /* @__PURE__ */ I({
18889
18931
  effect: "light"
18890
18932
  }, {
18891
18933
  content: f(() => [
18892
- S(M(e.row.prop), 1)
18934
+ S(z(e.row.prop), 1)
18893
18935
  ]),
18894
18936
  default: f(() => [
18895
18937
  te("div", rh, [
@@ -18900,7 +18942,7 @@ const Yg = /* @__PURE__ */ I({
18900
18942
  truncated: ""
18901
18943
  }, {
18902
18944
  default: f(() => [
18903
- S(M(e.row.prop), 1)
18945
+ S(z(e.row.prop), 1)
18904
18946
  ]),
18905
18947
  _: 1
18906
18948
  }, 8, ["type"])
@@ -18929,7 +18971,7 @@ const Yg = /* @__PURE__ */ I({
18929
18971
  function l() {
18930
18972
  t.select("format");
18931
18973
  }
18932
- return (s, a) => (b(), z(H, null, [
18974
+ return (s, a) => (b(), M(H, null, [
18933
18975
  m(h(W), {
18934
18976
  disabled: n.value.refer.disabled,
18935
18977
  icon: n.value.refer.icon,
@@ -18991,7 +19033,7 @@ const Yg = /* @__PURE__ */ I({
18991
19033
  }
18992
19034
  return (d, _) => {
18993
19035
  const g = w("el-button");
18994
- return b(), z(H, null, [
19036
+ return b(), M(H, null, [
18995
19037
  m(h(Mr), {
18996
19038
  ref_key: "table",
18997
19039
  ref: n,
@@ -19075,7 +19117,7 @@ const Yg = /* @__PURE__ */ I({
19075
19117
  tag: "b"
19076
19118
  }, {
19077
19119
  default: f(() => [
19078
- S(M(dh) + ":")
19120
+ S(z(dh) + ":")
19079
19121
  ]),
19080
19122
  _: 1
19081
19123
  }),
@@ -19088,7 +19130,7 @@ const Yg = /* @__PURE__ */ I({
19088
19130
  effect: "light"
19089
19131
  }, {
19090
19132
  default: f(() => [
19091
- S(M(e.view.$code), 1)
19133
+ S(z(e.view.$code), 1)
19092
19134
  ]),
19093
19135
  _: 1
19094
19136
  })
@@ -19130,7 +19172,7 @@ const Yg = /* @__PURE__ */ I({
19130
19172
  tag: "b"
19131
19173
  }, {
19132
19174
  default: f(() => [
19133
- S(M(ph) + ":")
19175
+ S(z(ph) + ":")
19134
19176
  ]),
19135
19177
  _: 1
19136
19178
  }),
@@ -19143,7 +19185,7 @@ const Yg = /* @__PURE__ */ I({
19143
19185
  effect: "light"
19144
19186
  }, {
19145
19187
  default: f(() => [
19146
- S(M(e.view.$code), 1)
19188
+ S(z(e.view.$code), 1)
19147
19189
  ]),
19148
19190
  _: 1
19149
19191
  })
@@ -19253,7 +19295,7 @@ const Yg = /* @__PURE__ */ I({
19253
19295
  ];
19254
19296
  return (v, y) => {
19255
19297
  const E = w("el-divider");
19256
- return b(), z(H, null, [
19298
+ return b(), M(H, null, [
19257
19299
  m(h(Lt), {
19258
19300
  ref_key: "table",
19259
19301
  ref: l,
@@ -19264,7 +19306,7 @@ const Yg = /* @__PURE__ */ I({
19264
19306
  buttons: p
19265
19307
  }, {
19266
19308
  header: f(() => [
19267
- m(h(Pr), {
19309
+ m(h(Fr), {
19268
19310
  modelValue: r.value,
19269
19311
  "onUpdate:modelValue": y[0] || (y[0] = (T) => r.value = T),
19270
19312
  clearable: !1
@@ -19327,7 +19369,7 @@ const Yg = /* @__PURE__ */ I({
19327
19369
  tag: "b"
19328
19370
  }, {
19329
19371
  default: f(() => [
19330
- S(M(mh) + ":")
19372
+ S(z(mh) + ":")
19331
19373
  ]),
19332
19374
  _: 1
19333
19375
  }),
@@ -19340,7 +19382,7 @@ const Yg = /* @__PURE__ */ I({
19340
19382
  effect: "light"
19341
19383
  }, {
19342
19384
  default: f(() => [
19343
- S(M(e.view.$code), 1)
19385
+ S(z(e.view.$code), 1)
19344
19386
  ]),
19345
19387
  _: 1
19346
19388
  })
@@ -19375,8 +19417,8 @@ const Yg = /* @__PURE__ */ I({
19375
19417
  }
19376
19418
  return t({ open: d, close: u }), (_, g) => {
19377
19419
  const p = w("el-divider"), v = w("el-space");
19378
- return b(), z(H, null, [
19379
- m(h(ht), {
19420
+ return b(), M(H, null, [
19421
+ m(h(vt), {
19380
19422
  ref_key: "popover",
19381
19423
  ref: s,
19382
19424
  width: "155px",
@@ -19484,15 +19526,15 @@ const Yg = /* @__PURE__ */ I({
19484
19526
  options: T,
19485
19527
  rest: D,
19486
19528
  switching: C
19487
- } = Kg(a, (F) => {
19488
- o.value?.set(F);
19529
+ } = Kg(a, (P) => {
19530
+ o.value?.set(P);
19489
19531
  });
19490
19532
  return t({
19491
19533
  rest: D,
19492
19534
  view: () => u.value,
19493
19535
  controller: i,
19494
19536
  getSelection: () => o.value?.getSelection() || []
19495
- }), (F, $) => (b(), z(H, null, [
19537
+ }), (P, $) => (b(), M(H, null, [
19496
19538
  m(h(Tr), {
19497
19539
  ref_key: "table",
19498
19540
  ref: o,
@@ -19517,8 +19559,8 @@ const Yg = /* @__PURE__ */ I({
19517
19559
  onMeta: l.value?.open,
19518
19560
  onField: s.value?.open
19519
19561
  }, {
19520
- header: f(({ width: P }) => [
19521
- Z(F.$slots, "header", { width: P })
19562
+ header: f(({ width: F }) => [
19563
+ Z(P.$slots, "header", { width: F })
19522
19564
  ]),
19523
19565
  _: 3
19524
19566
  }, 8, ["view", "rest", "results", "mapping", "total", "search", "finder", "core", "loading", "ticker", "error", "admin", "title", "single", "height", "buttons", "columns", "onMeta", "onField"]),
@@ -19526,14 +19568,14 @@ const Yg = /* @__PURE__ */ I({
19526
19568
  ref_key: "meta",
19527
19569
  ref: l,
19528
19570
  view: h(u),
19529
- onReload: $[0] || ($[0] = (P) => h(D).init()),
19571
+ onReload: $[0] || ($[0] = (F) => h(D).init()),
19530
19572
  switching: h(C)
19531
19573
  }, null, 8, ["view", "switching"]),
19532
19574
  m(nh, {
19533
19575
  ref_key: "field",
19534
19576
  ref: s,
19535
19577
  view: h(u),
19536
- onReload: $[1] || ($[1] = (P) => h(D).init())
19578
+ onReload: $[1] || ($[1] = (F) => h(D).init())
19537
19579
  }, null, 8, ["view"])
19538
19580
  ], 64));
19539
19581
  }
@@ -19545,7 +19587,7 @@ function gh(e) {
19545
19587
  total: l,
19546
19588
  manager: s,
19547
19589
  orders: a
19548
- } = fr(t), r = x(new Ft({
19590
+ } = fr(t), r = x(new Pt({
19549
19591
  page: e.value.page,
19550
19592
  size: e.value.size,
19551
19593
  orders: a.value
@@ -19602,7 +19644,7 @@ function vh(e, t) {
19602
19644
  d.value,
19603
19645
  l.value
19604
19646
  ], v, { deep: !0 });
19605
- const { results: y, total: E } = Ko(p, i), { toAoa: T } = Ae(u), { toText: D } = gt(), { copy: C } = At(), { write: V } = Ut();
19647
+ const { results: y, total: E } = Ko(p, i), { toAoa: T } = Ae(u), { toText: D } = ht(), { copy: C } = _t(), { write: V } = Ut();
19606
19648
  return {
19607
19649
  results: y,
19608
19650
  mapping: s,
@@ -19620,35 +19662,35 @@ function vh(e, t) {
19620
19662
  $ = $ || { sort: -1 }, i.value.orders = $, r.value = $;
19621
19663
  },
19622
19664
  delete_one: ($) => a.delete_many([$]),
19623
- save_one: ($) => new Promise((P) => {
19665
+ save_one: ($) => new Promise((F) => {
19624
19666
  const U = { ...$, ..._.value };
19625
- a.save_many([{ ...$, ..._.value }]), P(U);
19667
+ a.save_many([{ ...$, ..._.value }]), F(U);
19626
19668
  }),
19627
- insert_one: ($) => new Promise((P) => {
19669
+ insert_one: ($) => new Promise((F) => {
19628
19670
  const U = a.insert_one({ ...$, ..._.value });
19629
- P(U);
19671
+ F(U);
19630
19672
  }),
19631
- find: ($) => new Promise((P) => {
19673
+ find: ($) => new Promise((F) => {
19632
19674
  const U = $.map((A) => a.find_one(A));
19633
- P(U);
19675
+ F(U);
19634
19676
  }),
19635
19677
  delete_many: ($) => {
19636
19678
  a.delete_many($), t([]);
19637
19679
  },
19638
- values: ($, P) => new Promise((U) => {
19639
- const A = P.map((R) => ve(a.find_one(R), $));
19680
+ values: ($, F) => new Promise((U) => {
19681
+ const A = F.map((R) => ve(a.find_one(R), $));
19640
19682
  U(A);
19641
19683
  }),
19642
19684
  save_many: ($) => {
19643
- const P = a.save_many($);
19644
- t(P);
19685
+ const F = a.save_many($);
19686
+ t(F);
19645
19687
  },
19646
- lookup: ($, P) => {
19647
- delete d.value.includes[$], delete d.value.excludes[$], P && (d.value[P.type][$] = P);
19688
+ lookup: ($, F) => {
19689
+ delete d.value.includes[$], delete d.value.excludes[$], F && (d.value[F.type][$] = F);
19648
19690
  },
19649
19691
  download: () => {
19650
- const $ = T(y.value), P = { confirmButtonText: "复制到剪切板", cancelButtonText: "下载为文件" }, U = n.value.title;
19651
- De.info("请选择数据下载方式:", P).then(() => C(D($))).then(() => X.success("数据已存至剪切板")).catch(() => V(U || _t(), { data: $, name: U }));
19692
+ const $ = T(y.value), F = { confirmButtonText: "复制到剪切板", cancelButtonText: "下载为文件" }, U = n.value.title;
19693
+ De.info("请选择数据下载方式:", F).then(() => C(D($))).then(() => X.success("数据已存至剪切板")).catch(() => V(U || gt(), { data: $, name: U }));
19652
19694
  }
19653
19695
  },
19654
19696
  orders: r
@@ -19784,7 +19826,9 @@ const zt = /* @__PURE__ */ I({
19784
19826
  }
19785
19827
  });
19786
19828
  function yh(e, t) {
19787
- const n = x(new Ft({ ...e.value, type: "tree" })), {
19829
+ const n = x(new Pt({ ...e.value, type: "tree" }));
19830
+ J(() => e.value.root, ($) => n.value.root = $ || 0);
19831
+ const {
19788
19832
  model: o,
19789
19833
  manager: l,
19790
19834
  ticker: s,
@@ -19818,9 +19862,9 @@ function yh(e, t) {
19818
19862
  reload: v,
19819
19863
  save_many: y,
19820
19864
  delete_many: E,
19821
- switch_nodes: ($, P) => {
19865
+ switch_nodes: ($, F) => {
19822
19866
  console.log($);
19823
- const U = $.map((A) => ({ id: A, isLeaf: P }));
19867
+ const U = $.map((A) => ({ id: A, isLeaf: F }));
19824
19868
  y(U);
19825
19869
  }
19826
19870
  },
@@ -19854,7 +19898,7 @@ const bh = /* @__PURE__ */ I({
19854
19898
  tag: "b"
19855
19899
  }, {
19856
19900
  default: f(() => [
19857
- S(M(e.row[e.payload]), 1)
19901
+ S(z(e.row[e.payload]), 1)
19858
19902
  ]),
19859
19903
  _: 1
19860
19904
  })
@@ -19873,7 +19917,7 @@ const bh = /* @__PURE__ */ I({
19873
19917
  tag: "b"
19874
19918
  }, {
19875
19919
  default: f(() => [
19876
- S(M(e.row[e.payload]), 1)
19920
+ S(z(e.row[e.payload]), 1)
19877
19921
  ]),
19878
19922
  _: 1
19879
19923
  })
@@ -19958,11 +20002,11 @@ const bh = /* @__PURE__ */ I({
19958
20002
  "onUpdate:modelValue": d[0] || (d[0] = (T) => n.value = T),
19959
20003
  options: o
19960
20004
  }, null, 8, ["modelValue"]),
19961
- n.value ? (b(), z(H, { key: 0 }, [
20005
+ n.value ? (b(), M(H, { key: 0 }, [
19962
20006
  m(g, { direction: "vertical" }),
19963
20007
  m(y, { spacer: "/" }, {
19964
20008
  default: f(() => [
19965
- (b(!0), z(H, null, se(s.value, (T) => (b(), z(H, null, [
20009
+ (b(!0), M(H, null, se(s.value, (T) => (b(), M(H, null, [
19966
20010
  T.value ? (b(), k(v, {
19967
20011
  key: 0,
19968
20012
  disabled: T.disabled,
@@ -19974,7 +20018,7 @@ const bh = /* @__PURE__ */ I({
19974
20018
  default: f(() => [
19975
20019
  m(p, { tag: "b" }, {
19976
20020
  default: f(() => [
19977
- S(M(T.label), 1)
20021
+ S(z(T.label), 1)
19978
20022
  ]),
19979
20023
  _: 2
19980
20024
  }, 1024)
@@ -20039,27 +20083,27 @@ const bh = /* @__PURE__ */ I({
20039
20083
  error: D,
20040
20084
  rest: C,
20041
20085
  switching: V
20042
- } = yh(s, (P) => {
20043
- a.value?.set(P);
20086
+ } = yh(s, (F) => {
20087
+ a.value?.set(F);
20044
20088
  });
20045
- function F(P, U) {
20046
- P.stopPropagation(), P.preventDefault(), a.value?.set([U]);
20089
+ function P(F, U) {
20090
+ F.stopPropagation(), F.preventDefault(), a.value?.set([U]);
20047
20091
  }
20048
- return J(() => a.value?.selection, (P) => {
20092
+ return J(() => a.value?.selection, (F) => {
20049
20093
  if (l.single) {
20050
- const U = P?.length === 1 ? P[0] : null;
20094
+ const U = F?.length === 1 ? F[0] : null;
20051
20095
  o("change", U);
20052
20096
  } else
20053
- o("change", P);
20097
+ o("change", F);
20054
20098
  }, { deep: !0 }), t({
20055
20099
  manager: d,
20056
20100
  rest: C,
20057
20101
  getSelection: () => a.value?.selection,
20058
20102
  getOptions: () => v.value,
20059
20103
  getMapping: () => y.value
20060
- }), (P, U) => {
20104
+ }), (F, U) => {
20061
20105
  const A = w("m-dialog");
20062
- return b(), z(H, null, [
20106
+ return b(), M(H, null, [
20063
20107
  m(h(Tg), {
20064
20108
  ref_key: "tree",
20065
20109
  ref: a,
@@ -20085,49 +20129,49 @@ const bh = /* @__PURE__ */ I({
20085
20129
  onTable: r.value?.open
20086
20130
  }, {
20087
20131
  header: f(({ width: R }) => [
20088
- Z(P.$slots, "header", { width: R })
20132
+ Z(F.$slots, "header", { width: R })
20089
20133
  ]),
20090
20134
  prefix: f(({ data: R, node: B, isLeaf: q }) => [
20091
- Z(P.$slots, "prefix", {
20135
+ Z(F.$slots, "prefix", {
20092
20136
  isLeaf: R.isLeaf,
20093
20137
  node: B,
20094
20138
  data: R,
20095
- select: F
20139
+ select: P
20096
20140
  })
20097
20141
  ]),
20098
20142
  "prefix-leaf": f(({ data: R, node: B }) => [
20099
- Z(P.$slots, "prefix-leaf", {
20143
+ Z(F.$slots, "prefix-leaf", {
20100
20144
  node: B,
20101
20145
  data: R,
20102
- select: F
20146
+ select: P
20103
20147
  })
20104
20148
  ]),
20105
20149
  "prefix-branch": f(({ data: R, node: B }) => [
20106
- Z(P.$slots, "prefix-branch", {
20150
+ Z(F.$slots, "prefix-branch", {
20107
20151
  node: B,
20108
20152
  data: R,
20109
- select: F
20153
+ select: P
20110
20154
  })
20111
20155
  ]),
20112
20156
  suffix: f(({ data: R, node: B, isLeaf: q }) => [
20113
- Z(P.$slots, "suffix", {
20157
+ Z(F.$slots, "suffix", {
20114
20158
  node: B,
20115
20159
  data: R,
20116
- select: F
20160
+ select: P
20117
20161
  })
20118
20162
  ]),
20119
20163
  "suffix-leaf": f(({ data: R, node: B }) => [
20120
- Z(P.$slots, "suffix-leaf", {
20164
+ Z(F.$slots, "suffix-leaf", {
20121
20165
  node: B,
20122
20166
  data: R,
20123
- select: F
20167
+ select: P
20124
20168
  })
20125
20169
  ]),
20126
20170
  "suffix-branch": f(({ data: R, node: B }) => [
20127
- Z(P.$slots, "suffix-branch", {
20171
+ Z(F.$slots, "suffix-branch", {
20128
20172
  node: B,
20129
20173
  data: R,
20130
- select: F
20174
+ select: P
20131
20175
  })
20132
20176
  ]),
20133
20177
  _: 3
@@ -20168,7 +20212,7 @@ const bh = /* @__PURE__ */ I({
20168
20212
  url: {}
20169
20213
  },
20170
20214
  setup(e) {
20171
- const t = e, { fromText: n, toPlain: o } = gt({ cell: ",", line: `
20215
+ const t = e, { fromText: n, toPlain: o } = ht({ cell: ",", line: `
20172
20216
  ` }), l = x(""), s = x(!0), a = O(() => {
20173
20217
  const i = n(l.value);
20174
20218
  return o(i, s.value);
@@ -20307,7 +20351,7 @@ const bh = /* @__PURE__ */ I({
20307
20351
  }
20308
20352
  return (c, d) => {
20309
20353
  const _ = w("el-text"), g = w("el-pagination"), p = w("el-space"), v = w("el-affix"), y = w("el-watermark");
20310
- return b(), z(H, null, [
20354
+ return b(), M(H, null, [
20311
20355
  m(v, { offset: 0 }, {
20312
20356
  default: f(() => [
20313
20357
  te("div", Ch, [
@@ -20416,7 +20460,7 @@ const bh = /* @__PURE__ */ I({
20416
20460
  });
20417
20461
  return (i, u) => {
20418
20462
  const c = w("el-text"), d = w("el-result");
20419
- return s.value ? (b(), z(H, { key: 0 }, [
20463
+ return s.value ? (b(), M(H, { key: 0 }, [
20420
20464
  n.includes(o.value) ? (b(), k(An(r.value), {
20421
20465
  key: 1,
20422
20466
  url: s.value
@@ -20430,7 +20474,7 @@ const bh = /* @__PURE__ */ I({
20430
20474
  tag: "b"
20431
20475
  }, {
20432
20476
  default: f(() => [
20433
- S(" 该文件不支持预览: " + M(o.value), 1)
20477
+ S(" 该文件不支持预览: " + z(o.value), 1)
20434
20478
  ]),
20435
20479
  _: 1
20436
20480
  })
@@ -20514,7 +20558,7 @@ const Ah = /* @__PURE__ */ lt(Vh, [["render", Th]]), Dh = /* @__PURE__ */ I({
20514
20558
  }
20515
20559
  }
20516
20560
  ];
20517
- return (s, a) => (b(), z(H, null, [
20561
+ return (s, a) => (b(), M(H, null, [
20518
20562
  m(h(Lt), {
20519
20563
  auth: "",
20520
20564
  code: "auth",
@@ -20586,7 +20630,7 @@ const Rh = /* @__PURE__ */ I({
20586
20630
  placement: "right"
20587
20631
  }, {
20588
20632
  content: f(() => [
20589
- S(M(p.duty), 1)
20633
+ S(z(p.duty), 1)
20590
20634
  ]),
20591
20635
  default: f(() => [
20592
20636
  m(h(j), { icon: "info-circle" })
@@ -20653,7 +20697,7 @@ const Rh = /* @__PURE__ */ I({
20653
20697
  ])]),
20654
20698
  _: 1
20655
20699
  })) : K("", !0),
20656
- S(" " + M(v.username), 1)
20700
+ S(" " + z(v.username), 1)
20657
20701
  ]),
20658
20702
  default: f(() => [
20659
20703
  v.is_admin ? (b(), k(h(j), {
@@ -20679,7 +20723,7 @@ const Rh = /* @__PURE__ */ I({
20679
20723
  }, 512);
20680
20724
  };
20681
20725
  }
20682
- }), Ph = /* @__PURE__ */ I({
20726
+ }), Fh = /* @__PURE__ */ I({
20683
20727
  __name: "RoleMenuDialog",
20684
20728
  emits: ["confirm"],
20685
20729
  setup(e, { expose: t, emit: n }) {
@@ -20700,12 +20744,12 @@ const Rh = /* @__PURE__ */ I({
20700
20744
  confirm: a
20701
20745
  }, {
20702
20746
  default: f(({ data: u }) => [
20703
- S(M(u), 1)
20747
+ S(z(u), 1)
20704
20748
  ]),
20705
20749
  _: 1
20706
20750
  }, 512));
20707
20751
  }
20708
- }), Fh = /* @__PURE__ */ I({
20752
+ }), Ph = /* @__PURE__ */ I({
20709
20753
  __name: "MenuRoleDialog",
20710
20754
  emits: ["confirm"],
20711
20755
  setup(e, { expose: t, emit: n }) {
@@ -20773,7 +20817,7 @@ const Rh = /* @__PURE__ */ I({
20773
20817
  placement: "right"
20774
20818
  }, {
20775
20819
  content: f(() => [
20776
- S(M(y.duty), 1)
20820
+ S(z(y.duty), 1)
20777
20821
  ]),
20778
20822
  default: f(() => [
20779
20823
  m(h(j), { icon: "info-circle" })
@@ -20847,7 +20891,7 @@ const Rh = /* @__PURE__ */ I({
20847
20891
  };
20848
20892
  return t({ open: a }), (u, c) => {
20849
20893
  const d = w("el-option"), _ = w("el-select");
20850
- return b(), k(h(ht), {
20894
+ return b(), k(h(vt), {
20851
20895
  ref_key: "popover",
20852
20896
  ref: s,
20853
20897
  width: "250px"
@@ -20884,7 +20928,7 @@ const Rh = /* @__PURE__ */ I({
20884
20928
  onClear: (p) => g.path = null
20885
20929
  }, {
20886
20930
  default: f(() => [
20887
- (b(!0), z(H, null, se(e.vacant, (p) => (b(), k(d, {
20931
+ (b(!0), M(H, null, se(e.vacant, (p) => (b(), k(d, {
20888
20932
  value: p.path,
20889
20933
  label: p.path
20890
20934
  }, null, 8, ["value", "label"]))), 256))
@@ -20962,7 +21006,7 @@ const Rh = /* @__PURE__ */ I({
20962
21006
  m(h(j), { icon: "user-lock" })
20963
21007
  ]),
20964
21008
  default: f(() => [
20965
- (b(!0), z(H, null, se(i.value, (C) => (b(), k(T, {
21009
+ (b(!0), M(H, null, se(i.value, (C) => (b(), k(T, {
20966
21010
  value: C.id,
20967
21011
  label: C.name
20968
21012
  }, {
@@ -20993,7 +21037,7 @@ const Rh = /* @__PURE__ */ I({
20993
21037
  }), Lh = /* @__PURE__ */ I({
20994
21038
  __name: "MAccount",
20995
21039
  setup(e) {
20996
- const t = x(), n = x(), o = x(), { copy: l } = At(), { userStore: s, handler: a } = Oe(), { post: r } = at(), i = [
21040
+ const t = x(), n = x(), o = x(), { copy: l } = _t(), { userStore: s, handler: a } = Oe(), { post: r } = at(), i = [
20997
21041
  {
20998
21042
  label: "角色设定",
20999
21043
  disabled: (d) => d.username === "admin",
@@ -21020,7 +21064,7 @@ const Rh = /* @__PURE__ */ I({
21020
21064
  function c(d) {
21021
21065
  De.info(`是否重置账户 “${d.username}” 的密码`).then(() => a.retrieve({ id: d.id })).finally(() => o.value?.rest.reload());
21022
21066
  }
21023
- return (d, _) => (b(), z(H, null, [
21067
+ return (d, _) => (b(), M(H, null, [
21024
21068
  m(h(Lt), {
21025
21069
  auth: "",
21026
21070
  ref_key: "table",
@@ -21057,7 +21101,7 @@ const Rh = /* @__PURE__ */ I({
21057
21101
  handler: (s) => o.value?.open(s)
21058
21102
  }
21059
21103
  ];
21060
- return (s, a) => (b(), z(H, null, [
21104
+ return (s, a) => (b(), M(H, null, [
21061
21105
  m(h(Lt), {
21062
21106
  ref_key: "table",
21063
21107
  ref: t,
@@ -21071,7 +21115,7 @@ const Rh = /* @__PURE__ */ I({
21071
21115
  ref: n,
21072
21116
  onConfirm: a[0] || (a[0] = (r) => t.value?.rest.save_many([r]))
21073
21117
  }, null, 512),
21074
- m(h(Ph), {
21118
+ m(h(Fh), {
21075
21119
  ref_key: "menu",
21076
21120
  ref: o,
21077
21121
  onConfirm: a[1] || (a[1] = (r) => t.value?.rest.save_many([r]))
@@ -21103,7 +21147,7 @@ const Rh = /* @__PURE__ */ I({
21103
21147
  tag: "i"
21104
21148
  }, {
21105
21149
  default: f(() => [
21106
- S(M(e.data.path), 1)
21150
+ S(z(e.data.path), 1)
21107
21151
  ]),
21108
21152
  _: 1
21109
21153
  })
@@ -21123,7 +21167,7 @@ const Rh = /* @__PURE__ */ I({
21123
21167
  tag: "s"
21124
21168
  }, {
21125
21169
  default: f(() => [
21126
- S(M(e.data.path), 1)
21170
+ S(z(e.data.path), 1)
21127
21171
  ]),
21128
21172
  _: 1
21129
21173
  })
@@ -21171,7 +21215,7 @@ const Rh = /* @__PURE__ */ I({
21171
21215
  _: 1
21172
21216
  }, 8, ["type"])) : (b(), k(a, { key: 1 }, {
21173
21217
  default: f(() => [
21174
- e.data.roles_set.length ? (b(!0), z(H, { key: 0 }, se(e.data.roles_set, (r) => (b(), k(s, {
21218
+ e.data.roles_set.length ? (b(!0), M(H, { key: 0 }, se(e.data.roles_set, (r) => (b(), k(s, {
21175
21219
  type: n.value || "primary",
21176
21220
  effect: "plain",
21177
21221
  hit: "",
@@ -21180,13 +21224,13 @@ const Rh = /* @__PURE__ */ I({
21180
21224
  default: f(() => [
21181
21225
  m(h(j), { icon: "user-lock" }, {
21182
21226
  default: f(() => [
21183
- S(M(r.name), 1)
21227
+ S(z(r.name), 1)
21184
21228
  ]),
21185
21229
  _: 2
21186
21230
  }, 1024)
21187
21231
  ]),
21188
21232
  _: 2
21189
- }, 1032, ["type"]))), 256)) : (b(), z(H, { key: 1 }, [
21233
+ }, 1032, ["type"]))), 256)) : (b(), M(H, { key: 1 }, [
21190
21234
  e.data.is_auth ? (b(), k(s, {
21191
21235
  key: 0,
21192
21236
  size: "small",
@@ -21265,7 +21309,7 @@ const Rh = /* @__PURE__ */ I({
21265
21309
  }
21266
21310
  }
21267
21311
  ];
21268
- return (p, v) => (b(), z(H, null, [
21312
+ return (p, v) => (b(), M(H, null, [
21269
21313
  m(h(el), {
21270
21314
  ref_key: "tree",
21271
21315
  ref: o,
@@ -21321,7 +21365,7 @@ const Rh = /* @__PURE__ */ I({
21321
21365
  onConfirm: o.value?.rest.save_many,
21322
21366
  pid: u.value
21323
21367
  }, null, 8, ["vacant", "onConfirm", "pid"]),
21324
- m(h(Fh), {
21368
+ m(h(Ph), {
21325
21369
  ref_key: "role",
21326
21370
  ref: s,
21327
21371
  onConfirm: o.value?.rest.save_many
@@ -21481,7 +21525,7 @@ const Rh = /* @__PURE__ */ I({
21481
21525
  default: f(() => [
21482
21526
  m(i, { type: "info" }, {
21483
21527
  default: f(() => [
21484
- S(M(10 - h(n)) + "秒后 ", 1)
21528
+ S(z(10 - h(n)) + "秒后 ", 1)
21485
21529
  ]),
21486
21530
  _: 1
21487
21531
  }),
@@ -21552,7 +21596,7 @@ const Rh = /* @__PURE__ */ I({
21552
21596
  default: f(() => [
21553
21597
  m(i, { type: "info" }, {
21554
21598
  default: f(() => [
21555
- S(M(10 - h(n)) + "秒后 ", 1)
21599
+ S(z(10 - h(n)) + "秒后 ", 1)
21556
21600
  ]),
21557
21601
  _: 1
21558
21602
  }),
@@ -21607,7 +21651,7 @@ function Jh(e) {
21607
21651
  const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21608
21652
  __proto__: null,
21609
21653
  $$message: kr,
21610
- $alert: Fm,
21654
+ $alert: Pm,
21611
21655
  $confirm: De,
21612
21656
  $message: X,
21613
21657
  CodesForm: Jo,
@@ -21617,7 +21661,7 @@ const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21617
21661
  CustomForm: Nr,
21618
21662
  DTable: Lt,
21619
21663
  DTree: el,
21620
- FieldForm: Fr,
21664
+ FieldForm: Pr,
21621
21665
  FormatForm: Xo,
21622
21666
  Lookup: jo,
21623
21667
  MApp: Ug,
@@ -21628,25 +21672,25 @@ const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21628
21672
  MObjectEditor: en,
21629
21673
  MOption: we,
21630
21674
  MPdfViewer: Bm,
21631
- MPopover: ht,
21675
+ MPopover: vt,
21632
21676
  MRichEditor: Yo,
21633
21677
  MShrink: Cr,
21634
21678
  MUpload: Sr,
21635
21679
  MWrap: Go,
21636
21680
  MetaField: me,
21637
- MetaFormat: Pe,
21681
+ MetaFormat: Fe,
21638
21682
  MetaPopover: Qo,
21639
21683
  MetaRefer: ur,
21640
21684
  MetaView: Me,
21641
21685
  Model: nt,
21642
21686
  PTable: zt,
21643
21687
  ReferForm: Zo,
21644
- Search: Ft,
21688
+ Search: Pt,
21645
21689
  ViewForm: Ur,
21646
21690
  createMorghulisLib: br,
21647
21691
  jwt: Ge,
21648
21692
  useAdminSize: Dr,
21649
- useAoa: gt,
21693
+ useAoa: ht,
21650
21694
  useChannel: ir,
21651
21695
  useChannelContainer: rr,
21652
21696
  useCondition: _r,
@@ -21677,7 +21721,7 @@ const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21677
21721
  });
21678
21722
  export {
21679
21723
  kr as $$message,
21680
- Fm as $alert,
21724
+ Pm as $alert,
21681
21725
  De as $confirm,
21682
21726
  X as $message,
21683
21727
  Jo as CodesForm,
@@ -21687,7 +21731,7 @@ export {
21687
21731
  Nr as CustomForm,
21688
21732
  Lt as DTable,
21689
21733
  el as DTree,
21690
- Fr as FieldForm,
21734
+ Pr as FieldForm,
21691
21735
  Xo as FormatForm,
21692
21736
  jo as Lookup,
21693
21737
  Ug as MApp,
@@ -21698,26 +21742,26 @@ export {
21698
21742
  en as MObjectEditor,
21699
21743
  we as MOption,
21700
21744
  Bm as MPdfViewer,
21701
- ht as MPopover,
21745
+ vt as MPopover,
21702
21746
  Yo as MRichEditor,
21703
21747
  Cr as MShrink,
21704
21748
  Sr as MUpload,
21705
21749
  Go as MWrap,
21706
21750
  me as MetaField,
21707
- Pe as MetaFormat,
21751
+ Fe as MetaFormat,
21708
21752
  Qo as MetaPopover,
21709
21753
  ur as MetaRefer,
21710
21754
  Me as MetaView,
21711
21755
  nt as Model,
21712
21756
  zt as PTable,
21713
21757
  Zo as ReferForm,
21714
- Ft as Search,
21758
+ Pt as Search,
21715
21759
  Ur as ViewForm,
21716
21760
  Ov as createMorghulis,
21717
21761
  br as createMorghulisLib,
21718
21762
  Ge as jwt,
21719
21763
  Dr as useAdminSize,
21720
- gt as useAoa,
21764
+ ht as useAoa,
21721
21765
  ir as useChannel,
21722
21766
  rr as useChannelContainer,
21723
21767
  _r as useCondition,