Ver Fonte

'deploy'

diry há 1 mês atrás
pai
commit
68ccfbf0c0

+ 1 - 1
lib/config.json

@@ -1 +1 @@
-{"_hash":1789897163195,"VITE_APP_PROJECT_NAME":"前端项目架构","VITE_APP_VERSION":"v1.0","VITE_APP_JSS_LICENSE":"","VITE_APP_TITLE":"平台","VITE_APP_BASE_URL":"/","VITE_APP_FOOTER_VISIBLE":false,"VITE_APP_LANG_ENABLE":false,"VITE_APP_LANG":"zh","VITE_APP_API_PATH":"/apig","VITE_APP_SYS_SERVER_NAME":"monitor","VITE_APP_MESSAGE_SERVER_NAME":"message","VITE_APP_PORTAL_SERVER_NAME":"portal","VITE_APP_FLOW_SERVER_NAME":"flow","VITE_APP_CLIENT_ID":"mm0001","VITE_APP_PREVIEW_ONLINE":"/filePreview/onlinePreview?url=","VITE_APP_WEB_SITE":"https://sapit.com.cn/#/home","VITE_APP_LOGIN_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_BASE_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_SOCKET_URL":"/","VITE_CONFIG_MODE":false,"VITE_APP_API_BASE_URL":"http://192.168.200.6:7022","VITE_APP_API_FILE_URL":"/","VITE_APP_MENU_THEME":"dark","VITE_APP_MENU_BAR":"left","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_THEME_VALUE":"blue","VITE_APP_THEME":{"blue":{"name":"blue","color":"#1677FF","lightColor":"\t#6495ED","darkColor":"#00008B","borderColor":"#B0C4DE","bgColor":"#f0f2f5"},"green":{"name":"green","color":"#00b96b","lightColor":"#90EE90","darkColor":"#3CB371","borderColor":"#98FB98","bgColor":"#F0FFF0"},"orange":{"name":"orange","color":"#FFA500","lightColor":"\t#FFE4B5","darkColor":"#FF8C00","borderColor":"#FFDEAD","bgColor":"#FFEFD5"}},"VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_USER_NODE_ENV":"production"}
+{"_hash":1789952547690,"VITE_APP_PROJECT_NAME":"前端项目架构","VITE_APP_VERSION":"v1.0","VITE_APP_JSS_LICENSE":"","VITE_APP_TITLE":"平台","VITE_APP_BASE_URL":"/","VITE_APP_FOOTER_VISIBLE":false,"VITE_APP_LANG_ENABLE":false,"VITE_APP_LANG":"zh","VITE_APP_API_PATH":"/apig","VITE_APP_SYS_SERVER_NAME":"monitor","VITE_APP_MESSAGE_SERVER_NAME":"message","VITE_APP_PORTAL_SERVER_NAME":"portal","VITE_APP_FLOW_SERVER_NAME":"flow","VITE_APP_CLIENT_ID":"mm0001","VITE_APP_PREVIEW_ONLINE":"/filePreview/onlinePreview?url=","VITE_APP_WEB_SITE":"https://sapit.com.cn/#/home","VITE_APP_LOGIN_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_BASE_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_SOCKET_URL":"/","VITE_CONFIG_MODE":false,"VITE_APP_API_BASE_URL":"http://192.168.200.6:7022","VITE_APP_API_FILE_URL":"/","VITE_APP_MENU_THEME":"dark","VITE_APP_MENU_BAR":"left","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_THEME_VALUE":"blue","VITE_APP_THEME":{"blue":{"name":"blue","color":"#1677FF","lightColor":"\t#6495ED","darkColor":"#00008B","borderColor":"#B0C4DE","bgColor":"#f0f2f5"},"green":{"name":"green","color":"#00b96b","lightColor":"#90EE90","darkColor":"#3CB371","borderColor":"#98FB98","bgColor":"#F0FFF0"},"orange":{"name":"orange","color":"#FFA500","lightColor":"\t#FFE4B5","darkColor":"#FF8C00","borderColor":"#FFDEAD","bgColor":"#FFEFD5"}},"VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_USER_NODE_ENV":"production"}

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
lib/css/style.css


+ 1 - 1
lib/js/Col.js

@@ -1,4 +1,4 @@
-import { be as T, g as E, m as D, d as g, N as I, u as k, bf as V, bg as j, c as F, _ as C } from "./index2.js";
+import { b9 as T, g as E, m as D, d as g, N as I, u as k, ba as V, bb as j, c as F, _ as C } from "./index2.js";
 import { shallowRef as X, onMounted as L, inject as H, computed as m, provide as K, defineComponent as W, ref as R, onBeforeUnmount as P, createVNode as B } from "vue";
 const J = () => {
   const e = X(!1);

+ 139 - 138
lib/js/CustomInput.js

@@ -14,7 +14,8 @@ var ca = (e, t, n) => new Promise((a, o) => {
   }, i = (u) => u.done ? a(u.value) : Promise.resolve(u.value).then(r, l);
   i((n = n.apply(e, t)).next());
 });
-import { am as ft, al as vt, c4 as ge, bA as Bo, d as M, _ as x, c as oe, K as le, w as Xe, bU as Fo, p as Wo, l as Ye, av as Lo, c5 as zo, bz as jo, q as da, g as Pa, m as zt, v as Uo, a4 as jt, aA as fa, aB as va, r as bn, aD as Ko, aC as qo, aF as Go, aE as Qo, t as Xo, c6 as Zo, D as Jo, c7 as er, c8 as tr, u as qt, P as ga, c0 as nr, aQ as ar, c9 as or, ca as rr, cb as lr, ac as ir, M as X, Q as mt, O as qe, e as wn, N as dt, h as at, j as bt, x as Da, a6 as Ma, cc as Ta, cd as Na, ce as Ia, af as Ra, o as sr, cf as ur, k as cr, cg as Ct, ch as dr } from "./index2.js";
+import { b as Bo } from "./common.js";
+import { am as ft, al as vt, c0 as ge, bv as Fo, d as M, _ as x, c as oe, K as le, w as Xe, bP as Lo, p as Wo, l as Ye, aq as zo, c1 as jo, bu as Uo, q as da, g as Pa, m as zt, v as Ko, a4 as jt, av as fa, aw as va, r as bn, ay as qo, ax as Go, aA as Qo, az as Xo, t as Zo, c2 as Jo, D as er, c3 as tr, c4 as nr, u as qt, P as ga, bX as ar, aL as or, c5 as rr, c6 as lr, c7 as ir, ac as sr, M as X, Q as mt, O as qe, e as wn, N as dt, h as at, j as bt, x as Da, a6 as Ma, c8 as Ta, c9 as Na, ca as Ia, af as Ra, o as ur, cb as cr, k as dr, cc as Ct } from "./index2.js";
 import { useAttrs as fr, provide as Ea, inject as Ya, createVNode as h, createTextVNode as In, defineComponent as He, shallowRef as Ve, ref as O, watch as pe, onBeforeUnmount as Rn, nextTick as Va, computed as Y, onBeforeUpdate as vr, watchEffect as It, toRef as se, onMounted as Oa, getCurrentScope as gr, onScopeDispose as pr, unref as hr, getCurrentInstance as mr, Fragment as yt, resolveComponent as pa, createElementBlock as ha, createCommentVNode as st, openBlock as Ke, createBlock as ut, mergeProps as Cr, withCtx as ma, renderList as br, toDisplayString as wr } from "vue";
 import "./index15.js";
 import { I as yr } from "./Search.js";
@@ -40,7 +41,7 @@ var Fa = { exports: {} };
 })(Fa);
 var Tr = Fa.exports;
 const Nr = /* @__PURE__ */ vt(Tr);
-var Wa = { exports: {} };
+var La = { exports: {} };
 (function(e, t) {
   (function(n, a) {
     e.exports = a();
@@ -115,10 +116,10 @@ var Wa = { exports: {} };
       };
     };
   });
-})(Wa);
-var Ir = Wa.exports;
+})(La);
+var Ir = La.exports;
 const Rr = /* @__PURE__ */ vt(Ir);
-var La = { exports: {} };
+var Wa = { exports: {} };
 (function(e, t) {
   (function(n, a) {
     e.exports = a();
@@ -140,8 +141,8 @@ var La = { exports: {} };
       };
     };
   });
-})(La);
-var Er = La.exports;
+})(Wa);
+var Er = Wa.exports;
 const Yr = /* @__PURE__ */ vt(Er);
 var za = { exports: {} };
 (function(e, t) {
@@ -336,9 +337,9 @@ var Ka = { exports: {} };
           R && (U = A[2]), u = this.$locale(), !z && U && (u = p.Ls[U]), this.$d = function(P, T, F, w) {
             try {
               if (["x", "X"].indexOf(T) > -1) return new Date((T === "X" ? 1e3 : 1) * P);
-              var D = C(T)(P), L = D.year, q = D.month, ne = D.day, ie = D.hours, ce = D.minutes, de = D.seconds, W = D.milliseconds, re = D.zone, ee = D.week, J = /* @__PURE__ */ new Date(), ve = ne || (L || q ? 1 : J.getDate()), ae = L || J.getFullYear(), he = 0;
-              L && !q || (he = q > 0 ? q - 1 : J.getMonth());
-              var B, Q = ie || 0, we = ce || 0, $e = de || 0, Me = W || 0;
+              var D = C(T)(P), W = D.year, q = D.month, ne = D.day, ie = D.hours, ce = D.minutes, de = D.seconds, L = D.milliseconds, re = D.zone, ee = D.week, J = /* @__PURE__ */ new Date(), ve = ne || (W || q ? 1 : J.getDate()), ae = W || J.getFullYear(), he = 0;
+              W && !q || (he = q > 0 ? q - 1 : J.getMonth());
+              var B, Q = ie || 0, we = ce || 0, $e = de || 0, Me = L || 0;
               return re ? new Date(Date.UTC(ae, he, ve, Q, we, $e, Me + 60 * re.offset * 1e3)) : F ? new Date(Date.UTC(ae, he, ve, Q, we, $e, Me)) : (B = new Date(ae, he, ve, Q, we, $e, Me), ee && (B = w(B).week(ee).toDate()), B);
             } catch (Fe) {
               return /* @__PURE__ */ new Date("");
@@ -359,8 +360,8 @@ var Ka = { exports: {} };
   });
 })(Ka);
 var Fr = Ka.exports;
-const Wr = /* @__PURE__ */ vt(Fr);
-ge.extend(Wr);
+const Lr = /* @__PURE__ */ vt(Fr);
+ge.extend(Lr);
 ge.extend(Br);
 ge.extend(Nr);
 ge.extend(Rr);
@@ -374,7 +375,7 @@ ge.extend((e, t) => {
     return a.bind(this)(l);
   };
 });
-const Lr = {
+const Wr = {
   // ar_EG:
   // az_AZ:
   // bg_BG:
@@ -440,8 +441,8 @@ const Lr = {
   zh_CN: "zh-cn",
   zh_HK: "zh-hk",
   zh_TW: "zh-tw"
-}, ct = (e) => Lr[e] || e.split("_")[0], Ca = () => {
-  Bo(!1, "Not match any format. Please help to fire a issue about this.");
+}, ct = (e) => Wr[e] || e.split("_")[0], Ca = () => {
+  Fo(!1, "Not match any format. Please help to fire a issue about this.");
 }, zr = /\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;
 function ba(e, t, n) {
   const a = [...new Set(e.split(n))];
@@ -619,7 +620,7 @@ function Ga(e, t, n, a, o) {
   let r = e.setHour(t, n);
   return r = e.setMinute(r, a), r = e.setSecond(r, o), r;
 }
-function Wt(e, t, n) {
+function Lt(e, t, n) {
   if (!n)
     return t;
   let a = t;
@@ -739,7 +740,7 @@ const Ht = /* @__PURE__ */ new Map();
 function qr(e, t) {
   let n;
   function a() {
-    Fo(e) ? t() : n = Xe(() => {
+    Lo(e) ? t() : n = Xe(() => {
       a();
     });
   }
@@ -915,7 +916,7 @@ function On(e) {
 }
 On.displayName = "DecadePanel";
 On.inheritAttrs = !1;
-const Lt = 7;
+const Wt = 7;
 function pt(e, t) {
   if (!e && !t)
     return !0;
@@ -1458,10 +1459,10 @@ function Zt(e) {
     key: "empty",
     "aria-label": "empty cell"
   }, null));
-  for (let k = 0; k < Lt; k += 1)
+  for (let k = 0; k < Wt; k += 1)
     f.push(h("th", {
       key: k
-    }, [m[(k + b) % Lt]]));
+    }, [m[(k + b) % Wt]]));
   const p = Xt({
     cellPrefixCls: g,
     today: C,
@@ -1478,7 +1479,7 @@ function Zt(e) {
   }) : void 0;
   return h(gt, x(x({}, t), {}, {
     rowNum: l,
-    colNum: Lt,
+    colNum: Wt,
     baseDate: v,
     getCellNode: y,
     getCellText: a.getDate,
@@ -1582,7 +1583,7 @@ function Et(e) {
         v(i.addYear(u || s, m), "key");
       },
       onUpDown: (m) => {
-        v(i.addDate(u || s, m * Lt), "key");
+        v(i.addDate(u || s, m * Wt), "key");
       },
       onPageUpDown: (m) => {
         v(i.addMonth(u || s, m), "key");
@@ -1678,7 +1679,7 @@ function Bn(e) {
     operationRef: v,
     active: c.value === "date",
     onSelect: (y) => {
-      m(Wt(o, y, !r && typeof u == "object" ? u.defaultValue : null), "date");
+      m(Lt(o, y, !r && typeof u == "object" ? u.defaultValue : null), "date");
     }
   }), null), h(Qt, x(x(x(x({}, t), {}, {
     format: void 0
@@ -1717,7 +1718,7 @@ function Fn(e) {
 }
 Fn.displayName = "WeekPanel";
 Fn.inheritAttrs = !1;
-function Wn(e) {
+function Ln(e) {
   const t = ue(e), {
     prefixCls: n,
     generateConfig: a,
@@ -1748,10 +1749,10 @@ function Wn(e) {
     })])]
   });
 }
-Wn.displayName = "MonthHeader";
-Wn.inheritAttrs = !1;
+Ln.displayName = "MonthHeader";
+Ln.inheritAttrs = !1;
 const lo = 3, dl = 4;
-function Ln(e) {
+function Wn(e) {
   const t = ue(e), {
     prefixCls: n,
     locale: a,
@@ -1794,8 +1795,8 @@ function Ln(e) {
     })
   }), null);
 }
-Ln.displayName = "MonthBody";
-Ln.inheritAttrs = !1;
+Wn.displayName = "MonthBody";
+Wn.inheritAttrs = !1;
 function zn(e) {
   const t = ue(e), {
     prefixCls: n,
@@ -1829,7 +1830,7 @@ function zn(e) {
   };
   return h("div", {
     class: d
-  }, [h(Wn, x(x({}, t), {}, {
+  }, [h(Ln, x(x({}, t), {}, {
     prefixCls: n,
     onPrevYear: () => {
       c(-1);
@@ -1840,7 +1841,7 @@ function zn(e) {
     onYearClick: () => {
       u("year", i);
     }
-  }), null), h(Ln, x(x({}, t), {}, {
+  }), null), h(Wn, x(x({}, t), {}, {
     prefixCls: n,
     onSelect: (v) => {
       s(v, "mouse"), u("date", v);
@@ -2227,7 +2228,7 @@ function gl() {
             showTime: F,
             defaultValue: w
           } = e, D = T.getNow();
-          return P ? !m.value && e.showTime ? typeof F == "object" ? Wt(T, Array.isArray(P) ? P[0] : P, F.defaultValue || D) : w ? Wt(T, Array.isArray(P) ? P[0] : P, w) : Wt(T, Array.isArray(P) ? P[0] : P, D) : P : D;
+          return P ? !m.value && e.showTime ? typeof F == "object" ? Lt(T, Array.isArray(P) ? P[0] : P, F.defaultValue || D) : w ? Lt(T, Array.isArray(P) ? P[0] : P, w) : Lt(T, Array.isArray(P) ? P[0] : P, D) : P : D;
         }
       }), S = (P) => {
         k(P), e.onPickerValueChange && e.onPickerValueChange(P);
@@ -2253,11 +2254,11 @@ function gl() {
         const {
           picker: w,
           generateConfig: D,
-          onSelect: L,
+          onSelect: W,
           onChange: q,
           disabledDate: ne
         } = e;
-        (H.value === w || F) && (p(P), L && L(P), s && s(P, T), q && !wt(D, P, m.value) && !(ne != null && ne(P)) && q(P));
+        (H.value === w || F) && (p(P), W && W(P), s && s(P, T), q && !wt(D, P, m.value) && !(ne != null && ne(P)) && q(P));
       }, U = (P) => f.value && f.value.onKeydown ? ([le.LEFT, le.RIGHT, le.UP, le.DOWN, le.PAGE_UP, le.PAGE_DOWN, le.ENTER].includes(P.which) && P.preventDefault(), f.value.onKeydown(P)) : (Ye(!1, "Panel not correct handle keyDown event. Please help to fire issue about this."), !1), K = (P) => {
         f.value && f.value.onBlur && f.value.onBlur(P);
       }, G = () => {
@@ -2266,14 +2267,14 @@ function gl() {
           hourStep: T,
           minuteStep: F,
           secondStep: w
-        } = e, D = P.getNow(), L = Ur(P.getHour(D), P.getMinute(D), P.getSecond(D), o.value ? T : 1, r.value ? F : 1, l.value ? w : 1), q = Ga(
+        } = e, D = P.getNow(), W = Ur(P.getHour(D), P.getMinute(D), P.getSecond(D), o.value ? T : 1, r.value ? F : 1, l.value ? w : 1), q = Ga(
           P,
           D,
-          L[0],
+          W[0],
           // hour
-          L[1],
+          W[1],
           // minute
-          L[2]
+          W[2]
         );
         V(q, "submit");
       }, Z = Y(() => {
@@ -2304,13 +2305,13 @@ function gl() {
           generateConfig: F,
           disabledDate: w,
           picker: D = "date",
-          tabindex: L = 0,
+          tabindex: W = 0,
           showNow: q,
           showTime: ne,
           showToday: ie,
           renderExtraFooter: ce,
           onMousedown: de,
-          onOk: W,
+          onOk: L,
           components: re
         } = e;
         u && g.value !== "right" && (u.value = {
@@ -2394,7 +2395,7 @@ function gl() {
           showNow: q,
           onNow: a.value && G,
           onOk: () => {
-            m.value && (V(m.value, "submit", !0), W && W(m.value));
+            m.value && (V(m.value, "submit", !0), L && L(m.value));
           }
         }));
         let he;
@@ -2409,7 +2410,7 @@ function gl() {
           }, [T.today]);
         }
         return h("div", {
-          tabindex: L,
+          tabindex: W,
           class: oe(Z.value, n.class),
           style: n.style,
           onKeydown: U,
@@ -2472,7 +2473,7 @@ function co(e, t) {
     popupPlacement: c,
     direction: v
   } = ue(e), g = `${a}-dropdown`;
-  return h(Lo, {
+  return h(zo, {
     showAction: [],
     hideAction: [],
     popupPlacement: c !== void 0 ? c : v === "rtl" ? "bottomRight" : "bottomLeft",
@@ -2647,7 +2648,7 @@ function Ut(e, t) {
       s.push(v), d === 0 && (u = v);
     }
     return [s, u];
-  }, [e, n], (u, s) => s[0] !== u[0] || !zo(s[1], u[1])), l = Y(() => r.value[0]), i = Y(() => r.value[1]);
+  }, [e, n], (u, s) => s[0] !== u[0] || !jo(s[1], u[1])), l = Y(() => r.value[0]), i = Y(() => r.value[1]);
   return [l, i];
 }
 function Tn(e, t) {
@@ -2687,7 +2688,7 @@ function Tn(e, t) {
   }), [u, s, d];
 }
 function vo(e, t) {
-  return Y(() => e != null && e.value ? e.value : t != null && t.value ? (jo(!1, "`ranges` is deprecated. Please use `presets` instead."), Object.keys(t.value).map((a) => {
+  return Y(() => e != null && e.value ? e.value : t != null && t.value ? (Uo(!1, "`ranges` is deprecated. Please use `presets` instead."), Object.keys(t.value).map((a) => {
     const o = t.value[a], r = typeof o == "function" ? o() : o;
     return {
       label: a,
@@ -2748,11 +2749,11 @@ function ml() {
       }), _ = (w) => {
         const {
           onChange: D,
-          generateConfig: L,
+          generateConfig: W,
           locale: q
         } = e;
-        f(w), b(w), D && !wt(L, g.value, w) && D(w, w ? be(w, {
-          generateConfig: L,
+        f(w), b(w), D && !wt(W, g.value, w) && D(w, w ? be(w, {
+          generateConfig: W,
           locale: q,
           format: s.value[0]
         }) : "");
@@ -2779,8 +2780,8 @@ function ml() {
           z(!1), f(g.value), A();
         },
         onKeydown: (w, D) => {
-          var L;
-          (L = e.onKeydown) === null || L === void 0 || L.call(e, w, D);
+          var W;
+          (W = e.onKeydown) === null || W === void 0 || W.call(e, w, D);
         },
         onFocus: (w) => {
           var D;
@@ -2824,13 +2825,13 @@ function ml() {
         const {
           prefixCls: w = "rc-picker",
           id: D,
-          tabindex: L,
+          tabindex: W,
           dropdownClassName: q,
           dropdownAlign: ne,
           popupStyle: ie,
           transitionName: ce,
           generateConfig: de,
-          locale: W,
+          locale: L,
           inputReadOnly: re,
           allowClear: ee,
           autofocus: J,
@@ -2844,8 +2845,8 @@ function ml() {
           panelRender: Me,
           onMousedown: Fe,
           onMouseenter: Se,
-          onMouseleave: We,
-          onContextmenu: Le,
+          onMouseleave: Le,
+          onContextmenu: We,
           onClick: Te,
           onSelect: me,
           direction: Re,
@@ -2870,7 +2871,7 @@ function ml() {
         }, null), h(uo, x(x({}, lt), {}, {
           generateConfig: de,
           value: C.value,
-          locale: W,
+          locale: L,
           tabindex: -1,
           onSelect: (fe) => {
             me == null || me(fe), f(fe);
@@ -2910,7 +2911,7 @@ function ml() {
         }, null)]));
         const Ze = M(M(M(M({
           id: D,
-          tabindex: L,
+          tabindex: W,
           disabled: Q,
           readonly: re || typeof s.value[0] == "function" || !G.value,
           value: Z.value || I.value,
@@ -2939,8 +2940,8 @@ function ml() {
           onMousedown: Fe,
           onMouseup: V,
           onMouseenter: Se,
-          onMouseleave: We,
-          onContextmenu: Le,
+          onMouseleave: Le,
+          onContextmenu: We,
           onClick: Te
         }, [h("div", {
           class: oe(`${w}-input`, {
@@ -3233,7 +3234,7 @@ function Nl() {
           var E;
           (E = e.onOpenChange) === null || E === void 0 || E.call(e, $), !$ && k.value && k.value.onClose && k.value.onClose();
         }
-      }), w = Y(() => T.value && p.value === 0), D = Y(() => T.value && p.value === 1), L = O(0), q = O(0), ne = O(0), {
+      }), w = Y(() => T.value && p.value === 0), D = Y(() => T.value && p.value === 1), W = O(0), q = O(0), ne = O(0), {
         width: ie
       } = Mt(s);
       pe([T, ie], () => {
@@ -3244,12 +3245,12 @@ function Nl() {
       } = Mt(d), {
         width: de
       } = Mt(f), {
-        width: W
+        width: L
       } = Mt(c), {
         width: re
       } = Mt(g);
-      pe([p, T, ce, de, W, re, () => e.direction], () => {
-        q.value = 0, p.value ? c.value && g.value && (q.value = W.value + re.value, ce.value && de.value && q.value > ce.value - de.value - (e.direction === "rtl" || f.value.offsetLeft > q.value ? 0 : f.value.offsetLeft) && (L.value = q.value)) : p.value === 0 && (L.value = 0);
+      pe([p, T, ce, de, L, re, () => e.direction], () => {
+        q.value = 0, p.value ? c.value && g.value && (q.value = L.value + re.value, ce.value && de.value && q.value > ce.value - de.value - (e.direction === "rtl" || f.value.offsetLeft > q.value ? 0 : f.value.offsetLeft) && (W.value = q.value)) : p.value === 0 && (W.value = 0);
       }, {
         immediate: !0
       });
@@ -3317,7 +3318,7 @@ function Nl() {
           generateConfig: e.generateConfig
         });
         N && !(E === 0 ? Z : P)(N) && (V(Ie(R.value, N, E)), z(N, E));
-      }, [Se, We, Le] = Mn({
+      }, [Se, Le, We] = Mn({
         valueTexts: Q,
         onTextChange: ($) => Fe($, 0)
       }), [Te, me, Re] = Mn({
@@ -3356,7 +3357,7 @@ function Nl() {
       }), [$o, {
         focused: Zn,
         typing: Jn
-      }] = Dn(M(M({}, Xn(0, Le)), {
+      }] = Dn(M(M({}, Xn(0, We)), {
         blurToCancel: o,
         open: w,
         value: Se,
@@ -3397,7 +3398,7 @@ function Nl() {
         }) : "";
       });
       pe([T, Q, $e], () => {
-        T.value || (V(I.value), !Q.value.length || Q.value[0] === "" ? We("") : we.value !== Se.value && Le(), !$e.value.length || $e.value[0] === "" ? me("") : Me.value !== Te.value && Re());
+        T.value || (V(I.value), !Q.value.length || Q.value[0] === "" ? Le("") : we.value !== Se.value && We(), !$e.value.length || $e.value[0] === "" ? me("") : Me.value !== Te.value && Re());
       }), pe([Po, Do], () => {
         V(I.value);
       }), process.env.NODE_ENV !== "production" && It(() => {
@@ -3574,7 +3575,7 @@ function Nl() {
           return Vt && (sn = Vt(sn)), h("div", {
             class: `${$}-panel-container`,
             style: {
-              marginLeft: `${L.value}px`
+              marginLeft: `${W.value}px`
             },
             ref: d,
             onMousedown: (nt) => {
@@ -3645,7 +3646,7 @@ function Nl() {
           readonly: on || typeof m.value[0] == "function" || !Jn.value,
           value: Ee.value || Se.value,
           onInput: (xe) => {
-            We(xe.target.value);
+            Le(xe.target.value);
           },
           autofocus: it,
           placeholder: j(et, 0) || "",
@@ -3937,13 +3938,13 @@ const Il = Nl(), vn = (e, t, n, a) => {
     borderRadiusSM: F,
     colorTextLightSolid: w,
     borderRadius: D,
-    controlItemBgHover: L,
+    controlItemBgHover: W,
     pickerTimePanelColumnHeight: q,
     pickerTimePanelColumnWidth: ne,
     pickerTimePanelCellHeight: ie,
     controlItemBgActive: ce,
     marginXXS: de
-  } = e, W = r * 7 + l * 2 + 4, re = (W - i * 2) / 3 - a - l;
+  } = e, L = r * 7 + l * 2 + 4, re = (L - i * 2) / 3 - a - l;
   return {
     [t]: {
       "&-panel": {
@@ -3975,7 +3976,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
       "&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel,\n        &-week-panel,\n        &-date-panel,\n        &-time-panel": {
         display: "flex",
         flexDirection: "column",
-        width: W
+        width: L
       },
       // ======================= Header =======================
       "&-header": {
@@ -4240,7 +4241,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
             }
           },
           "&:hover td": {
-            background: L
+            background: W
           },
           "&-selected td,\n            &-selected:hover td": {
             background: g,
@@ -4342,7 +4343,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
                 cursor: "pointer",
                 transition: `background ${y}`,
                 "&:hover": {
-                  background: L
+                  background: W
                 }
               },
               "&-selected": {
@@ -4447,7 +4448,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
     borderRadiusOuter: F,
     colorBgElevated: w,
     borderRadiusLG: D,
-    boxShadowSecondary: L,
+    boxShadowSecondary: W,
     borderRadiusSM: q,
     colorSplit: ne,
     controlItemBgHover: ie,
@@ -4645,21 +4646,21 @@ const Il = Nl(), vn = (e, t, n, a) => {
           &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
           &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
           &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]: {
-            animationName: Qo
+            animationName: Xo
           },
           [`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
           &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
           &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
           &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]: {
-            animationName: Go
+            animationName: Qo
           },
           [`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
           &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]: {
-            animationName: qo
+            animationName: Go
           },
           [`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
           &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]: {
-            animationName: Ko
+            animationName: qo
           },
           // Time picker with additional style
           [`${t}-panel > ${t}-time-panel`]: {
@@ -4699,13 +4700,13 @@ const Il = Nl(), vn = (e, t, n, a) => {
             display: "none",
             marginInlineStart: l * 1.5,
             transition: `left ${z} ease-out`
-          }, Zo(P, T, F, w, a)),
+          }, Jo(P, T, F, w, a)),
           [`${t}-panel-container`]: {
             overflow: "hidden",
             verticalAlign: "top",
             background: w,
             borderRadius: D,
-            boxShadow: L,
+            boxShadow: W,
             transition: `margin ${z}`,
             // ======================== Layout ========================
             [`${t}-panel-layout`]: {
@@ -4727,7 +4728,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
                 margin: 0,
                 padding: k,
                 borderInlineEnd: `${u}px ${s} ${ne}`,
-                li: M(M({}, Xo), {
+                li: M(M({}, Zo), {
                   borderRadius: q,
                   paddingInline: k,
                   paddingBlock: (p - Math.round(r * A)) / 2,
@@ -4831,7 +4832,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
     // =====================================================
     // ==             Space Compact                       ==
     // =====================================================
-    Uo(e, {
+    Ko(e, {
       focusElCls: `${e.componentCls}-focused`
     })
   ];
@@ -4844,12 +4845,12 @@ const Il = Nl(), vn = (e, t, n, a) => {
     attrs: n,
     slots: a
   } = t;
-  return h(Jo, x(x({
+  return h(er, x(x({
     size: "small",
     type: "primary"
   }, e), n), a);
 }, Ft = (e, t, n) => {
-  const a = tr(n);
+  const a = nr(n);
   return {
     [`${e.componentCls}-${t}`]: {
       color: e[`color${n}`],
@@ -4860,7 +4861,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
       }
     }
   };
-}, Al = (e) => er(e, (t, n) => {
+}, Al = (e) => tr(e, (t, n) => {
   let {
     textColor: a,
     lightBorderColor: o,
@@ -5043,7 +5044,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
   onClose: {
     type: Function
   },
-  onClick: nr(),
+  onClick: ar(),
   "onUpdate:visible": Function,
   icon: ga.any,
   bordered: {
@@ -5069,12 +5070,12 @@ const Il = Nl(), vn = (e, t, n, a) => {
       prefixCls: r,
       direction: l
     } = qt("tag", e), [i, u] = Co(r), s = Ve(!0);
-    process.env.NODE_ENV !== "production" && ar(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), It(() => {
+    process.env.NODE_ENV !== "production" && or(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), It(() => {
       e.visible !== void 0 && (s.value = e.visible);
     });
     const d = (b) => {
       b.stopPropagation(), a("update:visible", !1), a("close", b), !b.defaultPrevented && e.visible === void 0 && (s.value = !1);
-    }, c = Y(() => or(e.color) || rr(e.color)), v = Y(() => oe(r.value, u.value, {
+    }, c = Y(() => rr(e.color) || lr(e.color)), v = Y(() => oe(r.value, u.value, {
       [`${r.value}-${e.color}`]: c.value,
       [`${r.value}-has-color`]: e.color && !c.value,
       [`${r.value}-hidden`]: !s.value,
@@ -5093,7 +5094,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
       } = e, S = () => k ? y ? h("span", {
         class: `${r.value}-close-icon`,
         onClick: d
-      }, [y]) : h(ir, {
+      }, [y]) : h(sr, {
         class: `${r.value}-close-icon`,
         onClick: d
       }, null) : null, I = {
@@ -5103,7 +5104,7 @@ const Il = Nl(), vn = (e, t, n, a) => {
         class: [v.value, o.class],
         style: [I, o.style]
       }), [_, S()]);
-      return i(z ? h(lr, null, {
+      return i(z ? h(ir, null, {
         default: () => [R]
       }) : R);
     };
@@ -5113,7 +5114,7 @@ Nt.CheckableTag = Nn;
 Nt.install = function(e) {
   return e.component(Nt.name, Nt), e.component(Nn.name, Nn), e;
 };
-function Wl(e, t) {
+function Ll(e, t) {
   let {
     slots: n,
     attrs: a
@@ -5122,7 +5123,7 @@ function Wl(e, t) {
     color: "blue"
   }, e), a), n);
 }
-function Ll(e, t, n) {
+function Wl(e, t, n) {
   return n !== void 0 ? n : t === "year" && e.lang.yearPlaceholder ? e.lang.yearPlaceholder : t === "quarter" && e.lang.quarterPlaceholder ? e.lang.quarterPlaceholder : t === "month" && e.lang.monthPlaceholder ? e.lang.monthPlaceholder : t === "week" && e.lang.weekPlaceholder ? e.lang.weekPlaceholder : t === "time" && e.timePickerLocale.placeholder ? e.timePickerLocale.placeholder : e.lang.placeholder;
 }
 function zl(e, t, n) {
@@ -5317,41 +5318,41 @@ function ql(e, t) {
         } = Da(S, I), U = Y(() => R.value || A.value), [K, G] = mo(S), Z = O();
         C({
           focus: () => {
-            var W;
-            (W = Z.value) === null || W === void 0 || W.focus();
+            var L;
+            (L = Z.value) === null || L === void 0 || L.focus();
           },
           blur: () => {
-            var W;
-            (W = Z.value) === null || W === void 0 || W.blur();
+            var L;
+            (L = Z.value) === null || L === void 0 || L.blur();
           }
         });
-        const P = (W) => p.valueFormat ? e.toString(W, p.valueFormat) : W, T = (W, re) => {
-          const ee = P(W);
+        const P = (L) => p.valueFormat ? e.toString(L, p.valueFormat) : L, T = (L, re) => {
+          const ee = P(L);
           m("update:value", ee), m("change", ee, re), y.onFieldChange();
-        }, F = (W) => {
-          m("update:open", W), m("openChange", W);
-        }, w = (W) => {
-          m("focus", W);
-        }, D = (W) => {
-          m("blur", W), y.onFieldBlur();
-        }, L = (W, re) => {
-          const ee = P(W);
+        }, F = (L) => {
+          m("update:open", L), m("openChange", L);
+        }, w = (L) => {
+          m("focus", L);
+        }, D = (L) => {
+          m("blur", L), y.onFieldBlur();
+        }, W = (L, re) => {
+          const ee = P(L);
           m("panelChange", ee, re);
-        }, q = (W) => {
-          const re = P(W);
+        }, q = (L) => {
+          const re = P(L);
           m("ok", re);
         }, [ne] = Ma("DatePicker", Ta), ie = Y(() => p.value ? p.valueFormat ? e.toDate(p.value, p.valueFormat) : p.value : p.value === "" ? void 0 : p.value), ce = Y(() => p.defaultValue ? p.valueFormat ? e.toDate(p.defaultValue, p.valueFormat) : p.defaultValue : p.defaultValue === "" ? void 0 : p.defaultValue), de = Y(() => p.defaultPickerValue ? p.valueFormat ? e.toDate(p.defaultPickerValue, p.valueFormat) : p.defaultPickerValue : p.defaultPickerValue === "" ? void 0 : p.defaultPickerValue);
         return () => {
-          var W, re, ee, J, ve, ae;
+          var L, re, ee, J, ve, ae;
           const he = M(M({}, ne.value), p.locale), B = M(M({}, p), f), {
             bordered: Q = !0,
             placeholder: we,
-            suffixIcon: $e = (W = b.suffixIcon) === null || W === void 0 ? void 0 : W.call(b),
+            suffixIcon: $e = (L = b.suffixIcon) === null || L === void 0 ? void 0 : L.call(b),
             showToday: Me = !0,
             transitionName: Fe,
             allowClear: Se = !0,
-            dateRender: We = b.dateRender,
-            renderExtraFooter: Le = b.renderExtraFooter,
+            dateRender: Le = b.dateRender,
+            renderExtraFooter: We = b.renderExtraFooter,
             monthCellRender: Te = b.monthCellRender || p.monthCellContentRender || b.monthCellContentRender,
             clearIcon: me = (re = b.clearIcon) === null || re === void 0 ? void 0 : re.call(b),
             id: Re = y.id.value
@@ -5372,10 +5373,10 @@ function ql(e, t) {
           const De = S.value, Ze = h(yt, null, [$e || (s === "time" ? h(Na, null, null) : h(Ia, null, null)), k.hasFeedback && k.feedbackIcon]);
           return K(h(Cl, x(x(x({
             monthCellRender: Te,
-            dateRender: We,
-            renderExtraFooter: Le,
+            dateRender: Le,
+            renderExtraFooter: We,
             ref: Z,
-            placeholder: Ll(he, Ee, we),
+            placeholder: Wl(he, Ee, we),
             suffixIcon: Ze,
             dropdownAlign: bo(I.value, p.placement),
             clearIcon: me || h(Ra, null, null),
@@ -5416,7 +5417,7 @@ function ql(e, t) {
             onOpenChange: F,
             onFocus: w,
             onBlur: D,
-            onPanelChange: L,
+            onPanelChange: W,
             onOk: q
           }), null));
         };
@@ -5480,8 +5481,8 @@ function Ql(e, t) {
         }
       });
       const A = (w) => s.valueFormat ? e.toString(w, s.valueFormat) : w, _ = (w, D) => {
-        const L = A(w);
-        u("update:value", L), u("change", L, D), d.onFieldChange();
+        const W = A(w);
+        u("update:value", W), u("change", W, D), d.onFieldChange();
       }, z = (w) => {
         u("update:open", w), u("openChange", w);
       }, R = (w) => {
@@ -5489,18 +5490,18 @@ function Ql(e, t) {
       }, V = (w) => {
         u("blur", w), d.onFieldBlur();
       }, U = (w, D) => {
-        const L = A(w);
-        u("panelChange", L, D);
+        const W = A(w);
+        u("panelChange", W, D);
       }, K = (w) => {
         const D = A(w);
         u("ok", D);
-      }, G = (w, D, L) => {
+      }, G = (w, D, W) => {
         const q = A(w);
-        u("calendarChange", q, D, L);
+        u("calendarChange", q, D, W);
       }, [Z] = Ma("DatePicker", Ta), P = Y(() => s.value && s.valueFormat ? e.toDate(s.value, s.valueFormat) : s.value), T = Y(() => s.defaultValue && s.valueFormat ? e.toDate(s.defaultValue, s.valueFormat) : s.defaultValue), F = Y(() => s.defaultPickerValue && s.valueFormat ? e.toDate(s.defaultPickerValue, s.valueFormat) : s.defaultPickerValue);
       return () => {
-        var w, D, L, q, ne, ie, ce;
-        const de = M(M({}, Z.value), s.locale), W = M(M({}, s), i), {
+        var w, D, W, q, ne, ie, ce;
+        const de = M(M({}, Z.value), s.locale), L = M(M({}, s), i), {
           prefixCls: re,
           bordered: ee = !0,
           placeholder: J,
@@ -5511,21 +5512,21 @@ function Ql(e, t) {
           dateRender: Q = l.dateRender,
           renderExtraFooter: we = l.renderExtraFooter,
           separator: $e = (D = l.separator) === null || D === void 0 ? void 0 : D.call(l),
-          clearIcon: Me = (L = l.clearIcon) === null || L === void 0 ? void 0 : L.call(l),
+          clearIcon: Me = (W = l.clearIcon) === null || W === void 0 ? void 0 : W.call(l),
           id: Fe = d.id.value
-        } = W, Se = Gl(W, ["prefixCls", "bordered", "placeholder", "suffixIcon", "picker", "transitionName", "allowClear", "dateRender", "renderExtraFooter", "separator", "clearIcon", "id"]);
+        } = L, Se = Gl(L, ["prefixCls", "bordered", "placeholder", "suffixIcon", "picker", "transitionName", "allowClear", "dateRender", "renderExtraFooter", "separator", "clearIcon", "id"]);
         delete Se["onUpdate:value"], delete Se["onUpdate:open"];
         const {
-          format: We,
-          showTime: Le
-        } = W;
+          format: Le,
+          showTime: We
+        } = L;
         let Te = {};
-        Te = M(M(M({}, Te), Le ? Kt(M({
-          format: We,
+        Te = M(M(M({}, Te), We ? Kt(M({
+          format: Le,
           picker: ae
-        }, Le)) : {}), ae === "time" ? Kt(M(M({
-          format: We
-        }, sr(Se, ["disabledTime"])), {
+        }, We)) : {}), ae === "time" ? Kt(M(M({
+          format: Le
+        }, ur(Se, ["disabledTime"])), {
           picker: ae
         })) : {});
         const me = v.value, Re = h(yt, null, [ve || (ae === "time" ? h(Na, null, null) : h(Ia, null, null)), c.hasFeedback && c.feedbackIcon]);
@@ -5535,7 +5536,7 @@ function Ql(e, t) {
           separator: $e || h("span", {
             "aria-label": "to",
             class: `${me}-separator`
-          }, [h(ur, null, null)]),
+          }, [h(cr, null, null)]),
           ref: H,
           dropdownAlign: bo(g.value, s.placement),
           placeholder: zl(de, ae, J),
@@ -5587,7 +5588,7 @@ function Ql(e, t) {
 }
 const yo = {
   button: Hl,
-  rangeItem: Wl
+  rangeItem: Ll
 };
 function Xl(e) {
   return e ? Array.isArray(e) ? e : [e] : [];
@@ -5717,7 +5718,7 @@ const {
   },
   methods: {
     recursionChildren(e, t) {
-      return dr(e, t);
+      return Bo(e, t);
     },
     disabledDate(e = Ct()) {
       var o, r, l, i;
@@ -5820,7 +5821,7 @@ function oi(e, t, n, a, o, r) {
     }, null, 8, ["modelValue", "recursionChildren"])) : st("", !0)
   ])) : st("", !0);
 }
-const Ci = /* @__PURE__ */ cr(ni, [["render", oi]]);
+const bi = /* @__PURE__ */ dr(ni, [["render", oi]]);
 export {
-  Ci as default
+  bi as default
 };

+ 57 - 57
lib/js/FormItem.js

@@ -1,8 +1,8 @@
-import { aV as me, aW as tt, aX as Bt, H as nt, G as ge, aY as Gt, aZ as rt, a_ as Wt, a$ as Ht, b0 as Ut, b1 as Le, b2 as Ve, aH as it, b3 as Ie, b4 as at, b5 as ue, b6 as zt, b7 as ot, b8 as Kt, I as lt, b9 as st, ba as Xt, d as C, l as we, n as Yt, a6 as Zt, c as ce, W as Jt, bb as Qt, a7 as kt, _ as N, g as en, m as tn, a5 as nn, bc as ft, r as ut, X as rn, Y as an, S as on, a1 as ct, P as ae, u as ln, A as sn, af as fn, bd as un, ag as cn, aP as dt } from "./index2.js";
-import { cloneVNode as dn, inject as mt, computed as F, provide as gt, createVNode as O, Fragment as de, defineComponent as Pe, ref as mn, watch as Fe, Transition as gn, withDirectives as pn, TransitionGroup as vn, vShow as hn, shallowRef as U, watchEffect as Ae, onBeforeUnmount as yn, reactive as bn, onMounted as xn, toRaw as $n, nextTick as wn } from "vue";
-import { d as Fn, e as pt, b as vt, f as ht, t as yt, h as An, i as On } from "./hasIn.js";
+import { aQ as me, aR as tt, aS as Bt, H as nt, G as ge, aT as Gt, aU as rt, aV as Wt, aW as Ht, aX as Ut, aY as Le, aZ as Ve, aC as it, a_ as Ie, a$ as at, b0 as ue, b1 as zt, b2 as ot, b3 as Kt, I as lt, b4 as st, b5 as Xt, d as C, l as we, n as Yt, a6 as Zt, c as ce, W as Jt, b6 as Qt, a7 as kt, _ as N, g as en, m as tn, a5 as nn, b7 as ft, r as ut, X as rn, Y as an, S as on, a1 as ct, P as ae, u as ln, A as sn, af as fn, b8 as un, ag as cn, aK as dt } from "./index2.js";
+import { cloneVNode as dn, inject as mt, computed as F, provide as gt, createVNode as S, Fragment as de, defineComponent as Pe, ref as mn, watch as Fe, Transition as gn, withDirectives as pn, TransitionGroup as vn, vShow as hn, shallowRef as U, watchEffect as Ae, onBeforeUnmount as yn, reactive as bn, onMounted as xn, toRaw as $n, nextTick as wn } from "vue";
+import { d as Fn, e as pt, b as vt, f as ht, t as yt, h as An, i as Sn } from "./hasIn.js";
 import { g as bt } from "./_getPrototype.js";
-import { C as xt, A as Sn } from "./Col.js";
+import { C as xt, A as On } from "./Col.js";
 import { t as Cn } from "./toNumber.js";
 import { b as En, F as qn } from "./FormItemContext.js";
 var Tn = 1 / 0, In = 17976931348623157e292;
@@ -165,17 +165,17 @@ function Fr(e, t, n) {
 function Ar(e) {
   return typeof e.constructor == "function" && !tt(e) ? jn(bt(e)) : {};
 }
-var Or = "[object Map]";
-function Sr(e) {
-  return it(e) && Ie(e) == Or;
+var Sr = "[object Map]";
+function Or(e) {
+  return it(e) && Ie(e) == Sr;
 }
-var ze = ue && ue.isMap, Cr = ze ? at(ze) : Sr, Er = "[object Set]";
+var ze = ue && ue.isMap, Cr = ze ? at(ze) : Or, Er = "[object Set]";
 function qr(e) {
   return it(e) && Ie(e) == Er;
 }
-var Ke = ue && ue.isSet, Tr = Ke ? at(Ke) : qr, Ir = 1, Pr = 2, _r = 4, Ft = "[object Arguments]", jr = "[object Array]", Mr = "[object Boolean]", Rr = "[object Date]", Nr = "[object Error]", At = "[object Function]", Lr = "[object GeneratorFunction]", Vr = "[object Map]", Dr = "[object Number]", Ot = "[object Object]", Br = "[object RegExp]", Gr = "[object Set]", Wr = "[object String]", Hr = "[object Symbol]", Ur = "[object WeakMap]", zr = "[object ArrayBuffer]", Kr = "[object DataView]", Xr = "[object Float32Array]", Yr = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Qr = "[object Int32Array]", kr = "[object Uint8Array]", ei = "[object Uint8ClampedArray]", ti = "[object Uint16Array]", ni = "[object Uint32Array]", S = {};
-S[Ft] = S[jr] = S[zr] = S[Kr] = S[Mr] = S[Rr] = S[Xr] = S[Yr] = S[Zr] = S[Jr] = S[Qr] = S[Vr] = S[Dr] = S[Ot] = S[Br] = S[Gr] = S[Wr] = S[Hr] = S[kr] = S[ei] = S[ti] = S[ni] = !0;
-S[Nr] = S[At] = S[Ur] = !1;
+var Ke = ue && ue.isSet, Tr = Ke ? at(Ke) : qr, Ir = 1, Pr = 2, _r = 4, Ft = "[object Arguments]", jr = "[object Array]", Mr = "[object Boolean]", Rr = "[object Date]", Nr = "[object Error]", At = "[object Function]", Lr = "[object GeneratorFunction]", Vr = "[object Map]", Dr = "[object Number]", St = "[object Object]", Br = "[object RegExp]", Gr = "[object Set]", Wr = "[object String]", Hr = "[object Symbol]", Ur = "[object WeakMap]", zr = "[object ArrayBuffer]", Kr = "[object DataView]", Xr = "[object Float32Array]", Yr = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Qr = "[object Int32Array]", kr = "[object Uint8Array]", ei = "[object Uint8ClampedArray]", ti = "[object Uint16Array]", ni = "[object Uint32Array]", O = {};
+O[Ft] = O[jr] = O[zr] = O[Kr] = O[Mr] = O[Rr] = O[Xr] = O[Yr] = O[Zr] = O[Jr] = O[Qr] = O[Vr] = O[Dr] = O[St] = O[Br] = O[Gr] = O[Wr] = O[Hr] = O[kr] = O[ei] = O[ti] = O[ni] = !0;
+O[Nr] = O[At] = O[Ur] = !1;
 function le(e, t, n, r, i, o) {
   var a, l = t & Ir, s = t & Pr, m = t & _r;
   if (n && (a = i ? n(e, r, i, o) : n(e)), a !== void 0)
@@ -190,11 +190,11 @@ function le(e, t, n, r, i, o) {
     var d = Ie(e), g = d == At || d == Lr;
     if (zt(e))
       return Un(e, l);
-    if (d == Ot || d == Ft || g && !i) {
+    if (d == St || d == Ft || g && !i) {
       if (a = s || g ? {} : Ar(e), !l)
         return s ? Xn(e, Wn(a, e)) : zn(e, Gn(a, e));
     } else {
-      if (!S[d])
+      if (!O[d])
         return i ? e : {};
       a = Fr(e, d, l);
     }
@@ -241,13 +241,13 @@ function si(e, t, n, r) {
   }
   return !0;
 }
-function St(e) {
+function Ot(e) {
   return e === e && !me(e);
 }
 function fi(e) {
   for (var t = ge(e), n = t.length; n--; ) {
     var r = t[n], i = e[r];
-    t[n] = [r, i, St(i)];
+    t[n] = [r, i, Ot(i)];
   }
   return t;
 }
@@ -264,7 +264,7 @@ function ui(e) {
 }
 var ci = 1, di = 2;
 function mi(e, t) {
-  return ht(e) && St(t) ? Ct(yt(e), t) : function(n) {
+  return ht(e) && Ot(t) ? Ct(yt(e), t) : function(n) {
     var r = Bn(n, e);
     return r === void 0 && r === t ? An(n, e) : st(t, r, ci | di);
   };
@@ -283,7 +283,7 @@ function vi(e) {
   return ht(e) ? gi(yt(e)) : pi(e);
 }
 function Et(e) {
-  return typeof e == "function" ? e : e == null ? On : typeof e == "object" ? lt(e) ? mi(e[0], e[1]) : ui(e) : vi(e);
+  return typeof e == "function" ? e : e == null ? Sn : typeof e == "object" ? lt(e) ? mi(e[0], e[1]) : ui(e) : vi(e);
 }
 function hi(e) {
   return function(t, n, r) {
@@ -320,10 +320,10 @@ function X() {
 function $i(e, t) {
   e.prototype = Object.create(t.prototype), e.prototype.constructor = e, re(e, t);
 }
-function Oe(e) {
-  return Oe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
+function Se(e) {
+  return Se = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
     return n.__proto__ || Object.getPrototypeOf(n);
-  }, Oe(e);
+  }, Se(e);
 }
 function re(e, t) {
   return re = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
@@ -351,9 +351,9 @@ function se(e, t, n) {
 function Fi(e) {
   return Function.toString.call(e).indexOf("[native code]") !== -1;
 }
-function Se(e) {
+function Oe(e) {
   var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
-  return Se = function(r) {
+  return Oe = function(r) {
     if (r === null || !Fi(r)) return r;
     if (typeof r != "function")
       throw new TypeError("Super expression must either be null or a function");
@@ -362,7 +362,7 @@ function Se(e) {
       t.set(r, i);
     }
     function i() {
-      return se(r, arguments, Oe(this).constructor);
+      return se(r, arguments, Se(this).constructor);
     }
     return i.prototype = Object.create(r.prototype, {
       constructor: {
@@ -372,7 +372,7 @@ function Se(e) {
         configurable: !0
       }
     }), re(i, r);
-  }, Se(e);
+  }, Oe(e);
 }
 var Ai = /%[sdj%]/g, qt = function() {
 };
@@ -421,13 +421,13 @@ function V(e) {
   }
   return e;
 }
-function Oi(e) {
+function Si(e) {
   return e === "string" || e === "url" || e === "hex" || e === "email" || e === "date" || e === "pattern";
 }
 function P(e, t) {
-  return !!(e == null || t === "array" && Array.isArray(e) && !e.length || Oi(t) && typeof e == "string" && !e);
+  return !!(e == null || t === "array" && Array.isArray(e) && !e.length || Si(t) && typeof e == "string" && !e);
 }
-function Si(e, t, n) {
+function Oi(e, t, n) {
   var r = [], i = 0, o = e.length;
   function a(l) {
     r.push.apply(r, l || []), i++, i === o && n(r);
@@ -461,7 +461,7 @@ var Ye = /* @__PURE__ */ function(e) {
     return i = e.call(this, "Async Validation Error") || this, i.errors = n, i.fields = r, i;
   }
   return t;
-}(/* @__PURE__ */ Se(Error));
+}(/* @__PURE__ */ Oe(Error));
 function Ei(e, t, n, r, i) {
   if (t.first) {
     var o = new Promise(function(g, y) {
@@ -481,7 +481,7 @@ function Ei(e, t, n, r, i) {
     };
     l.length || (r(f), g(i)), l.forEach(function(u) {
       var v = e[u];
-      a.indexOf(u) !== -1 ? Xe(v, n, x) : Si(v, n, x);
+      a.indexOf(u) !== -1 ? Xe(v, n, x) : Oi(v, n, x);
     });
   });
   return d.catch(function(g) {
@@ -1264,18 +1264,18 @@ const Mt = Symbol("formContextKey"), fa = (e) => {
   let q = w;
   const j = x === !0 || (I == null ? void 0 : I.value) !== !1 && x !== !1;
   if (j && !h.value && typeof w == "string" && w.trim() !== "" && (q = w.replace(/[:|:]\s*$/, "")), e.tooltip || n.tooltip) {
-    const K = O("span", {
+    const K = S("span", {
       class: `${f}-item-tooltip`
-    }, [O(Jt, {
+    }, [S(Jt, {
       title: e.tooltip
     }, {
-      default: () => [O(Qt, null, null)]
+      default: () => [S(Qt, null, null)]
     })]);
-    q = O(de, null, [q, n.tooltip ? (l = n.tooltip) === null || l === void 0 ? void 0 : l.call(n, {
+    q = S(de, null, [q, n.tooltip ? (l = n.tooltip) === null || l === void 0 ? void 0 : l.call(n, {
       class: `${f}-item-tooltip`
     }) : K]);
   }
-  v === "optional" && !u && (q = O(de, null, [q, O("span", {
+  v === "optional" && !u && (q = S(de, null, [q, S("span", {
     class: `${f}-item-optional`
   }, [((s = c.value) === null || s === void 0 ? void 0 : s.optional) || ((m = kt.Form) === null || m === void 0 ? void 0 : m.optional)])]));
   const he = ce({
@@ -1283,10 +1283,10 @@ const Mt = Symbol("formContextKey"), fa = (e) => {
     [`${f}-item-required-mark-optional`]: v === "optional",
     [`${f}-item-no-colon`]: !j
   });
-  return O(xt, N(N({}, R), {}, {
+  return S(xt, N(N({}, R), {}, {
     class: z
   }), {
-    default: () => [O("label", {
+    default: () => [S("label", {
       for: d,
       class: he,
       title: typeof w == "string" ? w : "",
@@ -1751,14 +1751,14 @@ const da = (e) => {
     }), () => {
       var m, f;
       const d = rn(`${r.value}-show-help-item`), g = an(`${r.value}-show-help-item`, d);
-      return g.role = "alert", g.class = [s.value, o.value, n.class, `${r.value}-show-help`], O(gn, N(N({}, on(`${r.value}-show-help`)), {}, {
+      return g.role = "alert", g.class = [s.value, o.value, n.class, `${r.value}-show-help`], S(gn, N(N({}, on(`${r.value}-show-help`)), {}, {
         onAfterEnter: () => e.onErrorVisibleChanged(!0),
         onAfterLeave: () => e.onErrorVisibleChanged(!1)
       }), {
-        default: () => [pn(O(vn, N(N({}, g), {}, {
+        default: () => [pn(S(vn, N(N({}, g), {}, {
           tag: "div"
         }), {
-          default: () => [(f = e.errors) === null || f === void 0 ? void 0 : f.map((y, x) => O("div", {
+          default: () => [(f = e.errors) === null || f === void 0 ? void 0 : f.map((y, x) => S("div", {
             key: x,
             class: l.value ? `${o.value}-${l.value}` : ""
           }, [y]))]
@@ -1796,31 +1796,31 @@ const da = (e) => {
         // status,
         extra: u = (s = n.extra) === null || s === void 0 ? void 0 : s.call(n)
       } = e, v = `${m}-item`, c = f || (i == null ? void 0 : i.value) || {}, w = ce(`${v}-control`, c.class);
-      return O(xt, N(N({}, c), {}, {
+      return S(xt, N(N({}, c), {}, {
         class: w
       }), {
         default: () => {
           var h;
-          return O(de, null, [O("div", {
+          return S(de, null, [S("div", {
             class: `${v}-control-input`
-          }, [O("div", {
+          }, [S("div", {
             class: `${v}-control-input-content`
-          }, [(h = n.default) === null || h === void 0 ? void 0 : h.call(n)])]), d !== null || x.length ? O("div", {
+          }, [(h = n.default) === null || h === void 0 ? void 0 : h.call(n)])]), d !== null || x.length ? S("div", {
             style: {
               display: "flex",
               flexWrap: "nowrap"
             }
-          }, [O(xa, {
+          }, [S(xa, {
             errors: x,
             help: y,
             class: `${v}-explain-connected`,
             onErrorVisibleChanged: g
-          }, null), !!d && O("div", {
+          }, null), !!d && S("div", {
             style: {
               width: 0,
               height: `${d}px`
             }
-          }, null)]) : null, u ? O("div", {
+          }, null)]) : null, u ? S("div", {
             class: `${v}-extra`
           }, [u]) : null]);
         }
@@ -1921,8 +1921,8 @@ const Aa = () => ({
   noStyle: Boolean,
   tooltip: String
 });
-let Oa = 0;
-const Sa = "form_item", Ra = Pe({
+let Sa = 0;
+const Oa = "form_item", Ra = Pe({
   compatConfig: {
     MODE: 3
   },
@@ -1938,7 +1938,7 @@ const Sa = "form_item", Ra = Pe({
       expose: i
     } = t;
     we(e.prop === void 0, "`prop` is deprecated. Please use `name` instead.");
-    const o = `form-item-${++Oa}`, {
+    const o = `form-item-${++Sa}`, {
       prefixCls: a
     } = ln("form", e), [l, s] = Nt(a), m = U(), f = Me(), d = F(() => e.name || e.prop), g = U([]), y = U(!1), x = U(), u = F(() => {
       const p = d.value;
@@ -1946,7 +1946,7 @@ const Sa = "form_item", Ra = Pe({
     }), v = F(() => {
       if (u.value.length) {
         const p = f.name.value, E = u.value.join("_");
-        return p ? `${p}_${E}` : `${Sa}_${E}`;
+        return p ? `${p}_${E}` : `${Oa}_${E}`;
       } else
         return;
     }), c = () => {
@@ -2077,9 +2077,9 @@ const Sa = "form_item", Ra = Pe({
       let p;
       if (e.hasFeedback) {
         const E = G.value && Fa[G.value];
-        p = E ? O("span", {
+        p = E ? S("span", {
           class: ce(`${a.value}-item-feedback-icon`, `${a.value}-item-feedback-icon-${G.value}`)
-        }, [O(E, null, null)]) : null;
+        }, [S(E, null, null)]) : null;
       }
       C(Ne, {
         status: G.value,
@@ -2109,16 +2109,16 @@ const Sa = "form_item", Ra = Pe({
       var p, E;
       if (e.noStyle) return (p = n.default) === null || p === void 0 ? void 0 : p.call(n);
       const _ = (E = e.help) !== null && E !== void 0 ? E : n.help ? ct(n.help()) : null, M = !!(_ != null && Array.isArray(_) && _.length || ye.value.length);
-      return be.value = M, l(O("div", {
+      return be.value = M, l(S("div", {
         class: [Lt.value, M ? `${a.value}-item-with-help` : "", r.class],
         ref: m
-      }, [O(Sn, N(N({}, r), {}, {
+      }, [S(On, N(N({}, r), {}, {
         class: `${a.value}-item-row`,
         key: "row"
       }), {
         default: () => {
           var W, B;
-          return O(de, null, [O(Re, N(N({}, e), {}, {
+          return S(de, null, [S(Re, N(N({}, e), {}, {
             htmlFor: J.value,
             required: T.value,
             requiredMark: f.requiredMark.value,
@@ -2128,7 +2128,7 @@ const Sa = "form_item", Ra = Pe({
           }), {
             label: n.label,
             tooltip: n.tooltip
-          }), O($a, N(N({}, e), {}, {
+          }), S($a, N(N({}, e), {}, {
             errors: _ != null ? fe(_) : ye.value,
             marginBottom: Q.value,
             prefixCls: a.value,
@@ -2141,7 +2141,7 @@ const Sa = "form_item", Ra = Pe({
             default: n.default
           })]);
         }
-      }), !!Q.value && O("div", {
+      }), !!Q.value && S("div", {
         class: `${a.value}-margin-offset`,
         style: {
           marginBottom: `-${Q.value}px`

+ 9 - 9
lib/js/FormItemContext.js

@@ -1,6 +1,6 @@
 import { defineComponent as c, inject as d, getCurrentInstance as F, onBeforeUnmount as I, provide as r, computed as v, ref as C, watch as x } from "vue";
-import { aR as y, j as g } from "./index2.js";
-const l = Symbol("ContextProps"), m = Symbol("InternalContextProps"), N = function(a) {
+import { aM as y, j as g } from "./index2.js";
+const l = Symbol("ContextProps"), m = Symbol("InternalContextProps"), M = function(a) {
   let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : v(() => !0);
   const e = C(/* @__PURE__ */ new Map()), o = (n, s) => {
     e.value.set(n, s), e.value = new Map(e.value);
@@ -33,12 +33,12 @@ const l = Symbol("ContextProps"), m = Symbol("InternalContextProps"), N = functi
   },
   removeFormItemField: () => {
   }
-}, S = () => {
+}, N = () => {
   const a = d(m, u), t = Symbol("FormItemFieldKey"), e = F();
   return a.addFormItemField(t, e.type), I(() => {
     a.removeFormItemField(t);
   }), r(m, u), r(l, i), d(l, i);
-}, _ = c({
+}, S = c({
   compatConfig: {
     MODE: 3
   },
@@ -52,7 +52,7 @@ const l = Symbol("ContextProps"), m = Symbol("InternalContextProps"), N = functi
       return (o = e.default) === null || o === void 0 ? void 0 : o.call(e);
     };
   }
-}), w = y({}), j = c({
+}), w = y({}), _ = c({
   name: "NoFormStatus",
   setup(a, t) {
     let {
@@ -66,8 +66,8 @@ const l = Symbol("ContextProps"), m = Symbol("InternalContextProps"), N = functi
 });
 export {
   w as F,
-  j as N,
-  _ as a,
-  N as b,
-  S as u
+  _ as N,
+  S as a,
+  M as b,
+  N as u
 };

+ 64 - 63
lib/js/SOfficeSelect.js

@@ -1,4 +1,4 @@
-var j = ($, D, g) => new Promise((I, p) => {
+var T = ($, D, g) => new Promise((I, p) => {
   var N = (u) => {
     try {
       c(g.next(u));
@@ -14,14 +14,15 @@ var j = ($, D, g) => new Promise((I, p) => {
   }, c = (u) => u.done ? I(u.value) : Promise.resolve(u.value).then(N, C);
   c((g = g.apply($, D)).next());
 });
-import { ref as o, watch as re, resolveComponent as A, createElementBlock as k, openBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as U, withModifiers as ve, createCommentVNode as he, Fragment as G, renderList as J } from "vue";
-import { D as _e, ao as pe, ak as me, ap as fe, aq as ge, ar as Ce, as as we, at as ye, au as ke } from "./index2.js";
-import { _ as Se } from "./Search.js";
+import { ref as o, watch as re, resolveComponent as A, createElementBlock as k, openBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as U, withModifiers as ve, createCommentVNode as he, Fragment as J, renderList as R } from "vue";
+import { l as _e, a as pe, j as me, g as fe, p as ge } from "./common.js";
+import { _ as Ce } from "./Search.js";
 import "./index15.js";
-const $e = { class: "s-office-select-common" }, be = { class: "modal-container" }, Oe = { class: "side" }, Ne = { class: "main" }, Ve = { class: "filter" }, Le = { class: "list-wrap" }, Te = { class: "item left-wrap" }, je = { class: "head" }, Ae = { class: "sub-title" }, Ue = { class: "right" }, De = { href: "javascript:;" }, Ie = ["onClick"], Be = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, Fe = { class: "name" }, Me = { class: "job" }, qe = {
+import { D as we, ao as ye, ak as ke, ap as Se } from "./index2.js";
+const $e = { class: "s-office-select-common" }, be = { class: "modal-container" }, Oe = { class: "side" }, Ne = { class: "main" }, Ve = { class: "filter" }, je = { class: "list-wrap" }, Le = { class: "item left-wrap" }, Te = { class: "head" }, Ae = { class: "sub-title" }, Ue = { class: "right" }, De = { href: "javascript:;" }, Ie = ["onClick"], Be = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, Fe = { class: "name" }, Me = { class: "job" }, ze = {
   key: 0,
   class: "not-more"
-}, ze = { class: "item right-wrap" }, Ge = { class: "head" }, Je = { class: "sub-title" }, Re = { class: "icon s-theme-icon-bg" }, xe = { class: "cont" }, He = { class: "name" }, Ke = { class: "job" }, Pe = ["onClick"], ll = {
+}, Ge = { class: "item right-wrap" }, Je = { class: "head" }, Re = { class: "sub-title" }, qe = { class: "icon s-theme-icon-bg" }, xe = { class: "cont" }, He = { class: "name" }, Ke = { class: "job" }, Pe = ["onClick"], tl = {
   __name: "SOfficeSelect",
   props: {
     ids: {
@@ -47,8 +48,8 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
   emits: ["change"],
   setup($, { emit: D }) {
     const g = D, I = $, p = o(""), N = o(""), C = o(""), c = o(!1), u = o(!1), _ = o({}), m = o([]), s = o([]), w = o(1), V = o(0), b = o(!1);
-    let L = null;
-    const O = o(""), v = o([]), T = o(1), M = o(20), B = o(0);
+    let j = null;
+    const O = o(""), v = o([]), L = o(1), M = o(20), B = o(0);
     re(
       () => I.ids,
       (e) => {
@@ -56,23 +57,23 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       },
       { immediate: !0 }
     );
-    const q = () => {
+    const z = () => {
       u.value = !0;
-    }, R = () => {
+    }, q = () => {
       u.value = !1;
-    }, y = (e = 1, l = 0) => j(this, null, function* () {
+    }, y = (e = 1, l = 0) => T(this, null, function* () {
       if (c.value) {
         c.value = !1;
         return;
       }
       e === 1 && (v.value = []);
-      let a = [];
-      if (s.value.length < 100 ? (T.value = 1, B.value = 0, a = s.value) : a = s.value.slice(l * (M.value || 20), e * (M.value || 20)), !a.length || v.value.length && a.length >= s.value.length && a.length >= v.value.length)
+      let n = [];
+      if (s.value.length < 100 ? (L.value = 1, B.value = 0, n = s.value) : n = s.value.slice(l * (M.value || 20), e * (M.value || 20)), !n.length || v.value.length && n.length >= s.value.length && n.length >= v.value.length)
         return;
       c.value = !0;
-      const r = yield ke(a);
-      v.value = v.value.concat(r), H(), L = setTimeout(() => {
-        c.value = !1, clearTimeout(L);
+      const r = yield ge(n);
+      v.value = v.value.concat(r), H(), j = setTimeout(() => {
+        c.value = !1, clearTimeout(j);
       }, 200);
     }), x = () => {
       if (!O.value) {
@@ -81,8 +82,8 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       }
       w.value = 1, m.value = [], E(O.value);
     }, H = () => {
-      const l = v.value.filter((r) => s.value.includes(r.id)).map((r) => r.name), a = l.length - 1;
-      p.value = l.slice(0, 1).join(",") + (a > 0 ? " +" + a : "");
+      const l = v.value.filter((r) => s.value.includes(r.id)).map((r) => r.name), n = l.length - 1;
+      p.value = l.slice(0, 1).join(",") + (n > 0 ? " +" + n : "");
     }, K = () => {
       m.value.forEach((e) => {
         if (s.value.includes(e.id)) {
@@ -92,7 +93,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       }), y()();
     }, P = () => {
       b.value = !b.value, b.value ? W() : K();
-    }, Q = () => j(this, null, function* () {
+    }, Q = () => T(this, null, function* () {
       if (!O.value) {
         window.$message.warning("请选择部门");
         return;
@@ -100,8 +101,8 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       const e = {
         searchValue: C.value,
         unitid: O.value.join(",")
-      }, l = yield we(e), a = s.value.concat(l);
-      s.value = Array.from(new Set(a)), y();
+      }, l = yield me(e), n = s.value.concat(l);
+      s.value = Array.from(new Set(n)), y();
     }), W = () => {
       m.value.forEach((e) => {
         s.value.includes(e.id) || s.value.push(e.id);
@@ -110,11 +111,11 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       b.value = !1, p.value = "", s.value = [], v.value = [];
     }, Y = () => {
       u.value = !1;
-      const e = v.value.filter((f) => s.value.includes(f.id)), l = e.map((f) => f.name), a = l.length - 1, r = l.slice(0, 1).join(",") + (a > 0 ? " +" + a : ""), F = e.map((f) => f.id);
+      const e = v.value.filter((f) => s.value.includes(f.id)), l = e.map((f) => f.name), n = l.length - 1, r = l.slice(0, 1).join(",") + (n > 0 ? " +" + n : ""), F = e.map((f) => f.id);
       g("change", r, l, F, e);
     }, Z = (e, l) => {
       _.value = l.node, w.value = 1, V.value = 0, m.value = [], c.value = !0, O.value = e, E(e);
-    }, E = (e) => j(this, null, function* () {
+    }, E = (e) => T(this, null, function* () {
       const l = {
         pageNo: w.value,
         pageSize: 20,
@@ -123,33 +124,33 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
         containsChild: !0
       };
       c.value = !0;
-      const a = yield ye(l);
-      m.value = m.value.concat(a.list), V.value = a.pages, L = setTimeout(() => {
-        c.value = !1, clearTimeout(L);
+      const n = yield fe(l);
+      m.value = m.value.concat(n.list), V.value = n.pages, j = setTimeout(() => {
+        c.value = !1, clearTimeout(j);
       }, 200);
     }), ee = (e) => {
       s.value.includes(e.id) || s.value.push(e.id), y();
     }, le = (e, l) => {
       v.value.splice(l, 1), s.value.splice(s.value.indexOf(e.id), 1), y();
-    }, te = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: a } }) => {
-      c.value || e + a >= l - 20 && w.value <= V.value && (w.value++, E([_.value.id]));
-    }, ae = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: a } }) => {
-      c.value || e + a >= l - 20 && (B.value = T.value, T.value++, y(T.value, B.value));
-    }, ne = (e) => Ce(e), se = (e) => ge(e);
+    }, te = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: n } }) => {
+      c.value || e + n >= l - 20 && w.value <= V.value && (w.value++, E([_.value.id]));
+    }, ne = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: n } }) => {
+      c.value || e + n >= l - 20 && (B.value = L.value, L.value++, y(L.value, B.value));
+    }, ae = (e) => pe(e), se = (e) => _e(e);
     return (e, l) => {
-      const a = Se, r = _e, F = A("s-tree"), f = A("DownOutlined"), oe = fe, ie = me, ce = pe, ue = A("CloseCircleOutlined"), de = A("s-modal");
+      const n = Ce, r = we, F = A("s-tree"), f = A("DownOutlined"), oe = Se, ie = ke, ce = ye, ue = A("CloseCircleOutlined"), de = A("s-modal");
       return S(), k("div", $e, [
-        d(a, {
+        d(n, {
           value: p.value,
-          "onUpdate:value": l[0] || (l[0] = (n) => p.value = n),
+          "onUpdate:value": l[0] || (l[0] = (a) => p.value = a),
           readonly: "",
           placeholder: $.placeholder,
-          onClick: q,
-          onSearch: q
+          onClick: z,
+          onSearch: z
         }, null, 8, ["value", "placeholder"]),
         d(de, {
           value: u.value,
-          "onUpdate:value": l[4] || (l[4] = (n) => u.value = n),
+          "onUpdate:value": l[4] || (l[4] = (a) => u.value = a),
           title: $.title,
           width: "1000px",
           showFullScreen: !1
@@ -157,7 +158,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
           footer: h(() => [
             d(r, {
               key: "back",
-              onClick: R
+              onClick: q
             }, {
               default: h(() => [
                 U(i(e.$l("取消")), 1)
@@ -180,27 +181,27 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
             t("div", be, [
               t("div", Oe, [
                 d(F, {
-                  levelOneChildren: ne,
+                  levelOneChildren: ae,
                   levelTwoChildren: se,
                   "onSelect:modelValue": Z,
                   select: N.value,
-                  "onUpdate:select": l[1] || (l[1] = (n) => N.value = n),
+                  "onUpdate:select": l[1] || (l[1] = (a) => N.value = a),
                   height: 470
                 }, null, 8, ["select"])
               ]),
               t("div", Ne, [
                 t("div", Ve, [
-                  d(a, {
+                  d(n, {
                     value: C.value,
-                    "onUpdate:value": l[2] || (l[2] = (n) => C.value = n),
+                    "onUpdate:value": l[2] || (l[2] = (a) => C.value = a),
                     placeholder: e.$l("请输入"),
                     style: { width: "330px" },
                     onSearch: x
                   }, null, 8, ["value", "placeholder"])
                 ]),
-                t("div", Le, [
-                  t("div", Te, [
-                    t("div", je, [
+                t("div", je, [
+                  t("div", Le, [
+                    t("div", Te, [
                       t("div", Ae, i(_.value.title || _.value.name), 1),
                       t("div", Ue, [
                         d(r, {
@@ -243,23 +244,23 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                       class: "user-list",
                       onScroll: te
                     }, [
-                      (S(!0), k(G, null, J(m.value, (n) => (S(), k("div", {
+                      (S(!0), k(J, null, R(m.value, (a) => (S(), k("div", {
                         class: "item",
-                        key: n.id,
-                        onClick: (z) => ee(n)
+                        key: a.id,
+                        onClick: (G) => ee(a)
                       }, [
-                        t("div", Be, i(n.name && n.name.slice(0, 1)), 1),
+                        t("div", Be, i(a.name && a.name.slice(0, 1)), 1),
                         t("div", Ee, [
-                          t("div", Fe, i(n.name) + " (" + i(n.nameOrCount) + ")", 1),
-                          t("div", Me, i(n.deptName), 1)
+                          t("div", Fe, i(a.name) + " (" + i(a.nameOrCount) + ")", 1),
+                          t("div", Me, i(a.deptName), 1)
                         ])
                       ], 8, Ie))), 128)),
-                      w.value >= V.value ? (S(), k("div", qe, i(e.$l("没有更多了")), 1)) : he("", !0)
+                      w.value >= V.value ? (S(), k("div", ze, i(e.$l("没有更多了")), 1)) : he("", !0)
                     ], 32)
                   ]),
-                  t("div", ze, [
-                    t("div", Ge, [
-                      t("div", Je, i(e.$l("本次已选")), 1),
+                  t("div", Ge, [
+                    t("div", Je, [
+                      t("div", Re, i(e.$l("本次已选")), 1),
                       d(r, {
                         type: "link",
                         onClick: X
@@ -272,20 +273,20 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                     ]),
                     t("div", {
                       class: "user-list select-list",
-                      onScroll: ae
+                      onScroll: ne
                     }, [
-                      (S(!0), k(G, null, J(v.value, (n, z) => (S(), k("div", {
+                      (S(!0), k(J, null, R(v.value, (a, G) => (S(), k("div", {
                         class: "item",
-                        key: n.id
+                        key: a.id
                       }, [
-                        t("div", Re, i(n.name && n.name.slice(0, 1)), 1),
+                        t("div", qe, i(a.name && a.name.slice(0, 1)), 1),
                         t("div", xe, [
-                          t("div", He, i(n.name) + " (" + i(n.nameOrCount) + ")", 1),
-                          t("div", Ke, i(n.deptName), 1)
+                          t("div", He, i(a.name) + " (" + i(a.nameOrCount) + ")", 1),
+                          t("div", Ke, i(a.deptName), 1)
                         ]),
                         t("div", {
                           class: "icon no-bg",
-                          onClick: (Qe) => le(n, z)
+                          onClick: (Qe) => le(a, G)
                         }, [
                           d(ue)
                         ], 8, Pe)
@@ -303,5 +304,5 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
   }
 };
 export {
-  ll as default
+  tl as default
 };

+ 57 - 57
lib/js/STreeSelect.js

@@ -9,8 +9,8 @@ var qe = (e, n, a) => n in e ? ht(e, n, { enumerable: !0, configurable: !0, writ
       mt.call(n, a) && qe(e, a, n[a]);
   return e;
 };
-import { inject as gt, provide as yt, defineComponent as Xe, ref as B, computed as C, watch as Se, nextTick as St, shallowRef as R, toRaw as ae, createVNode as z, watchEffect as we, toRef as re, toRefs as bt, onMounted as Ct, createElementBlock as de, openBlock as fe, unref as Ze, isRef as wt, withCtx as xt, Fragment as et, renderList as kt, toDisplayString as He } from "vue";
-import { K as ve, _ as Y, d as y, a1 as Tt, l as H, aS as It, i as ut, o as xe, P as he, g as Vt, m as it, j as Me, u as Nt, x as Et, y as Lt, C as Dt, c as tt, a8 as Pt, M as $e, Q as Be, e as At, N as Kt, O as Ot, k as _t } from "./index2.js";
+import { inject as gt, provide as yt, defineComponent as Xe, ref as B, computed as C, watch as be, nextTick as bt, shallowRef as R, toRaw as ae, createVNode as z, watchEffect as we, toRef as re, toRefs as St, onMounted as Ct, createElementBlock as de, openBlock as fe, unref as Ze, isRef as wt, withCtx as xt, Fragment as et, renderList as kt, toDisplayString as He } from "vue";
+import { K as ve, _ as Y, d as y, a1 as Tt, l as H, aN as It, i as ut, o as xe, P as he, g as Vt, m as it, j as Me, u as Nt, x as Et, y as Lt, C as Dt, c as tt, a8 as Pt, M as $e, Q as Be, e as At, N as Kt, O as Ot, k as _t } from "./index2.js";
 import { u as Ft } from "./useMemo.js";
 import { T as Ht, g as Mt, r as $t } from "./index20.js";
 import { u as Bt, h as Rt, a as jt, j as Wt, t as lt, B as Ut, b as zt, c as Xt, g as Yt } from "./index4.js";
@@ -90,8 +90,8 @@ const rl = {
         halfChecked: T
       } : null;
     });
-    Se(() => l.open, () => {
-      St(() => {
+    be(() => l.open, () => {
+      bt(() => {
         var v;
         l.open && !l.multiple && o.checkedKeys.length && ((v = u.value) === null || v === void 0 || v.scrollTo({
           key: o.checkedKeys[0]
@@ -102,7 +102,7 @@ const rl = {
       flush: "post"
     });
     const d = C(() => String(l.searchValue).toLowerCase()), g = (v) => d.value ? String(v[o.treeNodeFilterProp]).toLowerCase().includes(d.value) : !1, N = R(o.treeDefaultExpandedKeys), x = R(null);
-    Se(() => l.searchValue, () => {
+    be(() => l.searchValue, () => {
       l.searchValue && (x.value = al(ae(s.treeData), ae(s.fieldNames)));
     }, {
       immediate: !0
@@ -112,7 +112,7 @@ const rl = {
       N.value = v, x.value = v, (T = o.onTreeExpand) === null || T === void 0 || T.call(o, v);
     }, f = (v) => {
       v.preventDefault();
-    }, S = (v, T) => {
+    }, b = (v, T) => {
       let {
         node: K
       } = T;
@@ -151,7 +151,7 @@ const rl = {
                 selectable: F,
                 value: P
               } = h.value.node || {};
-              F !== !1 && S(null, {
+              F !== !1 && b(null, {
                 node: {
                   key: k.value
                 },
@@ -189,7 +189,7 @@ const rl = {
         treeLine: ge,
         loadData: ye,
         treeLoadedKeys: ce,
-        treeMotion: b,
+        treeMotion: S,
         onTreeLoad: O,
         checkedKeys: M
       } = o;
@@ -221,7 +221,7 @@ const rl = {
         switcherIcon: me,
         showLine: ge,
         loadData: F ? null : ye,
-        motion: b,
+        motion: S,
         activeKey: k.value,
         checkable: ue,
         checkStrictly: !0,
@@ -230,8 +230,8 @@ const rl = {
         defaultExpandAll: ie
       }, J), {}, {
         onActiveChange: D,
-        onSelect: S,
-        onCheck: S,
+        onSelect: b,
+        onCheck: b,
         onExpand: w,
         onLoad: O,
         filterTreeNode: g,
@@ -299,10 +299,10 @@ function dl(e) {
         disabled: x || x === "" || void 0,
         disableCheckbox: I || I === "" || void 0
       }, f = y(y({}, r), w), {
-        title: S = (l = u.title) === null || l === void 0 ? void 0 : l.call(u, f),
+        title: b = (l = u.title) === null || l === void 0 ? void 0 : l.call(u, f),
         switcherIcon: k = (o = u.switcherIcon) === null || o === void 0 ? void 0 : o.call(u, f)
       } = r, h = il(r, ["title", "switcherIcon"]), D = (s = u.default) === null || s === void 0 ? void 0 : s.call(u), v = y(y(y({}, h), {
-        title: S,
+        title: b,
         switcherIcon: k,
         key: c,
         isLeaf: d
@@ -328,10 +328,10 @@ function fl(e, n, a, t, l, o) {
     function r(d) {
       let g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "0", N = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
       return d.map((x, I) => {
-        const w = `${g}-${I}`, f = x[o.value], S = a.includes(f), k = r(x[o.children] || [], w, S), h = z(pe, x, {
+        const w = `${g}-${I}`, f = x[o.value], b = a.includes(f), k = r(x[o.children] || [], w, b), h = z(pe, x, {
           default: () => [k.map((D) => D.node)]
         });
-        if (n === f && (s = h), S) {
+        if (n === f && (s = h), b) {
           const D = {
             pos: w,
             node: h,
@@ -392,7 +392,7 @@ function vl(e, n) {
 }
 function hl(e, n, a) {
   const t = R();
-  return Se([a, e, n], () => {
+  return be([a, e, n], () => {
     const l = a.value;
     e.value ? t.value = a.value ? vl(ae(e.value), y({
       id: "id",
@@ -408,7 +408,7 @@ const pl = (e) => {
   const n = R({
     valueLabels: /* @__PURE__ */ new Map()
   }), a = R();
-  return Se(e, () => {
+  return be(e, () => {
     a.value = ae(e.value);
   }, {
     immediate: !0
@@ -494,7 +494,7 @@ const pl = (e) => {
       let N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
       const x = [];
       for (let I = 0, w = g.length; I < w; I++) {
-        const f = g[I], S = f[s], k = N || r(u, ze(f)), h = d(S || [], k);
+        const f = g[I], b = f[s], k = N || r(u, ze(f)), h = d(b || [], k);
         (k || h.length) && x.push(y(y({}, f), {
           [s]: h
         }));
@@ -504,7 +504,7 @@ const pl = (e) => {
     return d(e.value);
   });
 };
-function Sl(e) {
+function bl(e) {
   const {
     searchPlaceholder: n,
     treeCheckStrictly: a,
@@ -653,7 +653,7 @@ function vt() {
     customSlots: Object
   });
 }
-function bl(e) {
+function Sl(e) {
   return !e || typeof e != "object";
 }
 const Cl = Xe({
@@ -678,7 +678,7 @@ const Cl = Xe({
     } = n;
     const o = jt(re(e, "id")), s = C(() => e.treeCheckable && !e.treeCheckStrictly), u = C(() => e.treeCheckable || e.treeCheckStrictly), c = C(() => e.treeCheckStrictly || e.labelInValue), r = C(() => u.value || e.multiple);
     process.env.NODE_ENV !== "production" && we(() => {
-      Sl(e);
+      bl(e);
     });
     const d = C(() => ll(e.fieldNames)), [g, N] = at("", {
       value: C(() => e.searchValue !== void 0 ? e.searchValue : e.inputValue),
@@ -689,7 +689,7 @@ const Cl = Xe({
     }, I = hl(re(e, "treeData"), re(e, "children"), re(e, "treeDataSimpleMode")), {
       keyEntities: w,
       valueEntities: f
-    } = ml(I, d), S = (i) => {
+    } = ml(I, d), b = (i) => {
       const p = [], m = [];
       return i.forEach((E) => {
         f.value.has(E) ? m.push(E) : p.push(E);
@@ -714,7 +714,7 @@ const Cl = Xe({
             return E;
         }
       }
-    }, D = (i) => ct(i).map((m) => bl(m) ? {
+    }, D = (i) => ct(i).map((m) => Sl(m) ? {
       value: m
     } : m), v = (i) => D(i).map((m) => {
       let {
@@ -809,7 +809,7 @@ const Cl = Xe({
           const {
             missingRawValues: le,
             existRawValues: Ce
-          } = S(U), Ge = Ce.map((Fe) => $.get(Fe).key);
+          } = b(U), Ge = Ce.map((Fe) => $.get(Fe).key);
           let _e;
           m ? {
             checkedKeys: _e
@@ -848,7 +848,7 @@ const Cl = Xe({
       treeNodeFilterProp: ye,
       // Data
       loadData: ce,
-      treeLoadedKeys: b,
+      treeLoadedKeys: S,
       onTreeLoad: O,
       // Expanded
       treeDefaultExpandAll: M,
@@ -861,18 +861,18 @@ const Cl = Xe({
       listItemHeight: Ne,
       // Tree
       treeLine: Ee,
-      treeIcon: be,
+      treeIcon: Se,
       showTreeIcon: Le,
       switcherIcon: De,
       treeMotion: Pe,
       customSlots: Ae,
       dropdownMatchSelectWidth: Ke,
       treeExpandAction: Oe
-    } = bt(e);
+    } = St(e);
     Wt(lt({
       checkable: u,
       loadData: ce,
-      treeLoadedKeys: b,
+      treeLoadedKeys: S,
       onTreeLoad: O,
       checkedKeys: Q,
       halfCheckedKeys: se,
@@ -880,7 +880,7 @@ const Cl = Xe({
       treeExpandedKeys: J,
       treeDefaultExpandedKeys: ke,
       onTreeExpand: Te,
-      treeIcon: be,
+      treeIcon: Se,
       treeMotion: Pe,
       showTreeIcon: Le,
       switcherIcon: De,
@@ -1089,48 +1089,48 @@ const Re = Xe({
       size: I,
       getPopupContainer: w,
       getPrefixCls: f,
-      disabled: S
+      disabled: b
     } = Nt("select", e), {
       compactSize: k,
       compactItemClassnames: h
     } = Et(r, g), D = C(() => k.value || I.value), v = Lt(), T = C(() => {
-      var b;
-      return (b = S.value) !== null && b !== void 0 ? b : v.value;
+      var S;
+      return (S = b.value) !== null && S !== void 0 ? S : v.value;
     }), K = C(() => f()), F = C(() => e.placement !== void 0 ? e.placement : g.value === "rtl" ? "bottomRight" : "bottomLeft"), P = C(() => ot(K.value, Dt(F.value), e.transitionName)), X = C(() => ot(K.value, "", e.choiceTransitionName)), G = C(() => f("select-tree", e.prefixCls)), j = C(() => f("tree-select", e.prefixCls)), [ne, Q] = Xt(r), [se] = xl(j, G), ue = C(() => tt(e.popupClassName || e.dropdownClassName, `${j.value}-dropdown`, {
       [`${j.value}-dropdown-rtl`]: g.value === "rtl"
     }, Q.value)), ie = C(() => !!(e.treeCheckable || e.multiple)), oe = C(() => e.showArrow !== void 0 ? e.showArrow : e.loading || !ie.value), q = B();
     l({
       focus() {
-        var b, O;
-        (O = (b = q.value).focus) === null || O === void 0 || O.call(b);
+        var S, O;
+        (O = (S = q.value).focus) === null || O === void 0 || O.call(S);
       },
       blur() {
-        var b, O;
-        (O = (b = q.value).blur) === null || O === void 0 || O.call(b);
+        var S, O;
+        (O = (S = q.value).blur) === null || O === void 0 || O.call(S);
       }
     });
     const me = function() {
-      for (var b = arguments.length, O = new Array(b), M = 0; M < b; M++)
+      for (var S = arguments.length, O = new Array(S), M = 0; M < S; M++)
         O[M] = arguments[M];
       o("update:value", O[0]), o("change", ...O), s.onFieldChange();
-    }, ge = (b) => {
-      o("update:treeExpandedKeys", b), o("treeExpand", b);
-    }, ye = (b) => {
-      o("update:searchValue", b), o("search", b);
-    }, ce = (b) => {
-      o("blur", b), s.onFieldBlur();
+    }, ge = (S) => {
+      o("update:treeExpandedKeys", S), o("treeExpand", S);
+    }, ye = (S) => {
+      o("update:searchValue", S), o("search", S);
+    }, ce = (S) => {
+      o("blur", S), s.onFieldBlur();
     };
     return () => {
-      var b, O, M;
+      var S, O, M;
       const {
-        notFoundContent: J = (b = t.notFoundContent) === null || b === void 0 ? void 0 : b.call(t),
+        notFoundContent: J = (S = t.notFoundContent) === null || S === void 0 ? void 0 : S.call(t),
         prefixCls: ke,
         bordered: Te,
         listHeight: Ie,
         listItemHeight: Ve,
         multiple: Ne,
         treeIcon: Ee,
-        treeLine: be,
+        treeLine: Se,
         showArrow: Le,
         switcherIcon: De = (O = t.switcherIcon) === null || O === void 0 ? void 0 : O.call(t),
         fieldNames: Pe = e.replaceFields,
@@ -1171,12 +1171,12 @@ const Re = Xe({
         class: V,
         listHeight: Ie,
         listItemHeight: Ve,
-        treeLine: !!be,
+        treeLine: !!Se,
         inputIcon: p,
         multiple: Ne,
         removeIcon: m,
         clearIcon: E,
-        switcherIcon: ($) => $t(G.value, De, $, t.leafIcon, be),
+        switcherIcon: ($) => $t(G.value, De, $, t.leafIcon, Se),
         showTreeIcon: Ee,
         notFoundContent: _,
         getPopupContainer: w == null ? void 0 : w.value,
@@ -1288,7 +1288,7 @@ const Re = Xe({
   emits: ["change"],
   setup(e, { emit: n }) {
     const a = n, t = e, l = B(""), o = B([]), s = B([]), u = t.multiple ? B([]) : B(null), c = B([]), r = B("");
-    Se(
+    be(
       () => t.value,
       (f) => {
         f && (u.value = f);
@@ -1305,7 +1305,7 @@ const Re = Xe({
       });
     }, x = (f) => {
       if (t.appendRootNodeAll) {
-        const S = {
+        const b = {
           id: "all",
           key: "all",
           value: "all",
@@ -1318,18 +1318,18 @@ const Re = Xe({
           children: null,
           isLeaf: !0
         };
-        w(f, c.value, "children"), c.value && c.value.length && (c.value = c.value.map((k) => k.id)), f.unshift(S);
+        w(f, c.value, "children"), c.value && c.value.length && (c.value = c.value.map((k) => k.id)), f.unshift(b);
       }
       return f;
-    }, I = (f, S) => S.name.toLowerCase().indexOf(f.toLowerCase()) >= 0, w = (f, S = [], k = "children") => {
+    }, I = (f, b) => b.name.toLowerCase().indexOf(f.toLowerCase()) >= 0, w = (f, b = [], k = "children") => {
       f && f.length > 0 && f.forEach((h) => {
         const D = Je({}, h);
-        S.push(D), h[k] instanceof Array && h[k].length > 0 && w(h[k], S, k);
+        b.push(D), h[k] instanceof Array && h[k].length > 0 && w(h[k], b, k);
       });
     };
     return Ct(() => {
       N();
-    }), (f, S) => {
+    }), (f, b) => {
       const k = st;
       return fe(), de("div", Tl, [
         z(k, {
@@ -1343,14 +1343,14 @@ const Re = Xe({
           maxTagCount: e.maxTagCount,
           placeholder: e.placeholder,
           value: Ze(u),
-          "onUpdate:value": S[0] || (S[0] = (h) => wt(u) ? u.value = h : null),
+          "onUpdate:value": b[0] || (b[0] = (h) => wt(u) ? u.value = h : null),
           showCheckedStrategy: Ze(st).SHOW_ALL,
           searchValue: r.value,
-          "onUpdate:searchValue": S[1] || (S[1] = (h) => r.value = h),
+          "onUpdate:searchValue": b[1] || (b[1] = (h) => r.value = h),
           "tree-node-filter-prop": e.filterField,
           "tree-default-expand-all": e.expandAll,
           treeExpandedKeys: s.value,
-          "onUpdate:treeExpandedKeys": S[2] || (S[2] = (h) => s.value = h),
+          "onUpdate:treeExpandedKeys": b[2] || (b[2] = (h) => s.value = h),
           filterTreeNode: I,
           onTreeExpand: g,
           onSelect: d

+ 23 - 22
lib/js/SUserSelect.js

@@ -14,13 +14,14 @@ var U = ($, D, g) => new Promise((I, m) => {
   }, c = (u) => u.done ? I(u.value) : Promise.resolve(u.value).then(O, C);
   c((g = g.apply($, D)).next());
 });
-import { ref as o, watch as re, resolveComponent as j, createElementBlock as y, openBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as A, withModifiers as ve, createCommentVNode as he, Fragment as q, renderList as R } from "vue";
-import { D as _e, ao as me, ak as pe, ap as fe, aq as ge, ar as Ce, ck as we, cl as ke, cm as ye } from "./index2.js";
+import { ref as o, watch as re, resolveComponent as j, createElementBlock as k, openBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as A, withModifiers as ve, createCommentVNode as he, Fragment as R, renderList as q } from "vue";
+import { l as _e, a as me, c as pe, d as fe, e as ge } from "./common.js";
+import { D as Ce, ao as we, ak as ye, ap as ke } from "./index2.js";
 import { _ as Se } from "./Search.js";
 const $e = { class: "s-office-select-common" }, be = { class: "modal-container" }, Ne = { class: "side" }, Oe = { class: "main" }, Ve = { class: "filter" }, Le = { class: "list-wrap" }, Te = { class: "item left-wrap" }, Ue = { class: "head" }, je = { class: "sub-title" }, Ae = { class: "right" }, De = { href: "javascript:;" }, Ie = ["onClick"], Be = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, ze = { class: "name" }, Fe = { class: "job" }, Je = {
   key: 0,
   class: "not-more"
-}, Me = { class: "item right-wrap" }, qe = { class: "head" }, Re = { class: "sub-title" }, xe = { class: "icon s-theme-icon-bg" }, Ge = { class: "cont" }, He = { class: "name" }, Ke = { class: "job" }, Pe = ["onClick"], el = {
+}, Me = { class: "item right-wrap" }, Re = { class: "head" }, qe = { class: "sub-title" }, xe = { class: "icon s-theme-icon-bg" }, Ge = { class: "cont" }, He = { class: "name" }, Ke = { class: "job" }, Pe = ["onClick"], ll = {
   __name: "SUserSelect",
   props: {
     ids: {
@@ -59,7 +60,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       u.value = !0;
     }, x = () => {
       u.value = !1;
-    }, k = (e = 1, l = 0) => U(this, null, function* () {
+    }, y = (e = 1, l = 0) => U(this, null, function* () {
       if (c.value) {
         c.value = !1;
         return;
@@ -69,7 +70,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       if (n.value.length < 100 ? (T.value = 1, B.value = 0, a = n.value) : a = n.value.slice(l * (F.value || 20), e * (F.value || 20)), !a.length || v.value.length && a.length >= n.value.length && a.length >= v.value.length)
         return;
       c.value = !0;
-      const r = yield ye(a);
+      const r = yield ge(a);
       v.value = v.value.concat(r), H(), L = setTimeout(() => {
         c.value = !1, clearTimeout(L);
       }, 200);
@@ -88,7 +89,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
           const l = n.value.indexOf(e.id);
           n.value.splice(l, 1);
         }
-      }), k()();
+      }), y()();
     }, P = () => {
       b.value = !b.value, b.value ? W() : K();
     }, Q = () => U(this, null, function* () {
@@ -99,12 +100,12 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       const e = {
         searchValue: C.value,
         unitid: N.value.join(",")
-      }, l = yield we(e), a = n.value.concat(l);
-      n.value = Array.from(new Set(a)), k();
+      }, l = yield pe(e), a = n.value.concat(l);
+      n.value = Array.from(new Set(a)), y();
     }), W = () => {
       p.value.forEach((e) => {
         n.value.includes(e.id) || n.value.push(e.id);
-      }), k();
+      }), y();
     }, X = () => {
       b.value = !1, m.value = "", n.value = [], v.value = [];
     }, Y = () => {
@@ -122,22 +123,22 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
         containsChild: !0
       };
       c.value = !0;
-      const a = yield ke(l);
+      const a = yield fe(l);
       p.value = p.value.concat(a.list), V.value = a.pages, L = setTimeout(() => {
         c.value = !1, clearTimeout(L);
       }, 200);
     }), ee = (e) => {
-      n.value.includes(e.id) || n.value.push(e.id), k();
+      n.value.includes(e.id) || n.value.push(e.id), y();
     }, le = (e, l) => {
-      v.value.splice(l, 1), n.value.splice(n.value.indexOf(e.id), 1), k();
+      v.value.splice(l, 1), n.value.splice(n.value.indexOf(e.id), 1), y();
     }, te = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: a } }) => {
       c.value || e + a >= l - 20 && w.value <= V.value && (w.value++, E([_.value.id]));
     }, ae = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: a } }) => {
-      c.value || e + a >= l - 20 && (B.value = T.value, T.value++, k(T.value, B.value));
-    }, se = (e) => Ce(e), ne = (e) => ge(e);
+      c.value || e + a >= l - 20 && (B.value = T.value, T.value++, y(T.value, B.value));
+    }, se = (e) => me(e), ne = (e) => _e(e);
     return (e, l) => {
-      const a = Se, r = _e, z = j("s-tree"), f = j("DownOutlined"), oe = fe, ie = pe, ce = me, ue = j("CloseCircleOutlined"), de = j("s-modal");
-      return S(), y("div", $e, [
+      const a = Se, r = Ce, z = j("s-tree"), f = j("DownOutlined"), oe = ke, ie = ye, ce = we, ue = j("CloseCircleOutlined"), de = j("s-modal");
+      return S(), k("div", $e, [
         d(a, {
           value: m.value,
           "onUpdate:value": l[0] || (l[0] = (s) => m.value = s),
@@ -242,7 +243,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                       class: "user-list",
                       onScroll: te
                     }, [
-                      (S(!0), y(q, null, R(p.value, (s) => (S(), y("div", {
+                      (S(!0), k(R, null, q(p.value, (s) => (S(), k("div", {
                         class: "item",
                         key: s.id,
                         onClick: (M) => ee(s)
@@ -253,12 +254,12 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                           t("div", Fe, i(s.mainJobName), 1)
                         ])
                       ], 8, Ie))), 128)),
-                      w.value >= V.value ? (S(), y("div", Je, i(e.$l("没有更多了")), 1)) : he("", !0)
+                      w.value >= V.value ? (S(), k("div", Je, i(e.$l("没有更多了")), 1)) : he("", !0)
                     ], 32)
                   ]),
                   t("div", Me, [
-                    t("div", qe, [
-                      t("div", Re, i(e.$l("本次已选")), 1),
+                    t("div", Re, [
+                      t("div", qe, i(e.$l("本次已选")), 1),
                       d(r, {
                         type: "link",
                         onClick: X
@@ -273,7 +274,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                       class: "user-list select-list",
                       onScroll: ae
                     }, [
-                      (S(!0), y(q, null, R(v.value, (s, M) => (S(), y("div", {
+                      (S(!0), k(R, null, q(v.value, (s, M) => (S(), k("div", {
                         class: "item",
                         key: s.id
                       }, [
@@ -302,5 +303,5 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
   }
 };
 export {
-  el as default
+  ll as default
 };

+ 15 - 15
lib/js/Search.js

@@ -1,5 +1,5 @@
-import { a1 as _e, d as O, Q as Se, P as W, p as Q, c as z, _ as M, o as L, c0 as re, u as pe, x as Ne, y as Be, af as Oe, br as ue, ay as $e, D as Ie } from "./index2.js";
-import { defineComponent as X, ref as te, createVNode as g, shallowRef as K, watch as se, computed as J, onMounted as ve, Fragment as me, nextTick as ie, onBeforeUpdate as Pe, onBeforeUnmount as Fe } from "vue";
+import { a1 as _e, d as O, Q as Se, P as W, p as Q, c as z, _ as M, o as L, bX as re, u as pe, x as Ne, y as Be, af as Oe, bm as ue, at as $e, D as Ie } from "./index2.js";
+import { defineComponent as J, ref as te, createVNode as g, shallowRef as K, watch as se, computed as q, onMounted as ve, Fragment as me, nextTick as ie, onBeforeUpdate as Pe, onBeforeUnmount as Fe } from "vue";
 import { u as Ae, F as je, N as de } from "./FormItemContext.js";
 import { g as Ee, a as ee } from "./statusUtils.js";
 import { B as ze } from "./BaseInput.js";
@@ -9,7 +9,7 @@ const H = (e) => e != null && (Array.isArray(e) ? _e(e).length : !0);
 function ne(e) {
   return H(e.prefix) || H(e.suffix) || H(e.allowClear);
 }
-function q(e) {
+function X(e) {
   return H(e.addonBefore) || H(e.addonAfter);
 }
 function fe(e) {
@@ -150,7 +150,7 @@ const Me = () => ({
     default: void 0
   },
   status: String
-}), Ve = X({
+}), Ve = J({
   name: "BaseInput",
   inheritAttrs: !1,
   props: ge(),
@@ -225,7 +225,7 @@ const Me = () => ({
           [`${u}-focused`]: S,
           [`${u}-readonly`]: T,
           [`${u}-input-with-clear-btn`]: A && $ && b
-        }, !q({
+        }, !X({
           addonAfter: x,
           addonBefore: B
         }) && a.class, r), I = (A || $) && g("span", {
@@ -234,7 +234,7 @@ const Me = () => ({
         i = g("span", {
           class: y,
           style: a.style,
-          hidden: !q({
+          hidden: !X({
             addonAfter: x,
             addonBefore: B
           }) && F,
@@ -248,7 +248,7 @@ const Me = () => ({
           hidden: null
         }), I]);
       }
-      if (q({
+      if (X({
         addonAfter: x,
         addonBefore: B
       })) {
@@ -279,7 +279,7 @@ var De = function(e, v) {
     v.indexOf(a[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[o]) && (t[a[o]] = e[a[o]]);
   return t;
 };
-const We = X({
+const We = J({
   name: "VCInput",
   inheritAttrs: !1,
   props: ye(),
@@ -311,7 +311,7 @@ const We = X({
     o({
       focus: b,
       blur: P,
-      input: J(() => {
+      input: q(() => {
         var n;
         return (n = c.value.input) === null || n === void 0 ? void 0 : n.input;
       }),
@@ -391,7 +391,7 @@ const We = X({
         onKeydown: A,
         class: z(h, {
           [`${h}-disabled`]: I
-        }, w, !q({
+        }, w, !X({
           addonAfter: y,
           addonBefore: u
         }) && !ne({
@@ -471,7 +471,7 @@ var Ue = function(e, v) {
     v.indexOf(a[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[o]) && (t[a[o]] = e[a[o]]);
   return t;
 };
-const Ke = X({
+const Ke = J({
   compatConfig: {
     MODE: 3
   },
@@ -485,7 +485,7 @@ const Ke = X({
       expose: o,
       emit: f
     } = v;
-    const d = te(), m = Ae(), c = je.useInject(), S = J(() => Ee(c.status, e.status)), {
+    const d = te(), m = Ae(), c = je.useInject(), S = q(() => Ee(c.status, e.status)), {
       direction: b,
       prefixCls: P,
       size: $,
@@ -493,7 +493,7 @@ const Ke = X({
     } = pe("input", e), {
       compactSize: F,
       compactItemClassnames: N
-    } = Ne(P, b), p = J(() => F.value || $.value), [A, x] = Re(P), B = Be();
+    } = Ne(P, b), p = q(() => F.value || $.value), [A, x] = Re(P), B = Be();
     o({
       focus: (l) => {
         var s;
@@ -606,7 +606,7 @@ var Le = function(e, v) {
     v.indexOf(a[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[o]) && (t[a[o]] = e[a[o]]);
   return t;
 };
-const et = X({
+const et = J({
   compatConfig: {
     MODE: 3
   },
@@ -657,7 +657,7 @@ const et = X({
       getPrefixCls: A,
       direction: x,
       size: B
-    } = pe("input-search", e), V = J(() => A("input", e.inputPrefixCls));
+    } = pe("input-search", e), V = q(() => A("input", e.inputPrefixCls));
     return () => {
       var r, C, n, i;
       const {

+ 134 - 134
lib/js/SettingColumns.js

@@ -1,9 +1,9 @@
-import { cj as Yn, al as zn, am as Jn, k as Qn, D as Zn } from "./index2.js";
+import { ce as Yn, al as zn, am as Jn, k as Qn, D as Zn } from "./index2.js";
 import kn, { resolveComponent as en, createBlock as qn, openBlock as _n, withCtx as ae, createElementVNode as xt, toDisplayString as ye, createVNode as Jt, createTextVNode as Fe } from "vue";
 import { C as tr } from "./index17.js";
 import { _ as er } from "./index7.js";
 import { _ as nr } from "./index21.js";
-var jn = { exports: {} };
+var wn = { exports: {} };
 /**!
  * Sortable 1.14.0
  * @author	RubaXa   <trash@rubaxa.org>
@@ -47,15 +47,15 @@ function rr(i, e, r) {
     writable: !0
   }) : i[e] = r, i;
 }
-function wt() {
-  return wt = Object.assign || function(i) {
+function jt() {
+  return jt = Object.assign || function(i) {
     for (var e = 1; e < arguments.length; e++) {
       var r = arguments[e];
       for (var s in r)
         Object.prototype.hasOwnProperty.call(r, s) && (i[s] = r[s]);
     }
     return i;
-  }, wt.apply(this, arguments);
+  }, jt.apply(this, arguments);
 }
 function or(i, e) {
   if (i == null) return {};
@@ -105,7 +105,7 @@ function Wt(i) {
   if (typeof window != "undefined" && window.navigator)
     return !!/* @__PURE__ */ navigator.userAgent.match(i);
 }
-var Xt = Wt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ne = Wt(/Edge/i), On = Wt(/firefox/i), Pe = Wt(/safari/i) && !Wt(/chrome/i) && !Wt(/android/i), wn = Wt(/iP(ad|od|hone)/i), dr = Wt(/chrome/i) && Wt(/android/i), Fn = {
+var Xt = Wt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ne = Wt(/Edge/i), On = Wt(/firefox/i), Pe = Wt(/safari/i) && !Wt(/chrome/i) && !Wt(/android/i), jn = Wt(/iP(ad|od|hone)/i), dr = Wt(/chrome/i) && Wt(/android/i), Fn = {
   capture: !1,
   passive: !1
 };
@@ -410,7 +410,7 @@ var ie = [], on = {
       var a = o.pluginName;
       if (!(!e.options[a] && !o.initializeByDefault)) {
         var l = new o(e, r, e.options);
-        l.sortable = e, l.options = e.options, e[a] = l, wt(s, l.defaults);
+        l.sortable = e, l.options = e.options, e[a] = l, jt(s, l.defaults);
       }
     });
     for (var f in e.options)
@@ -422,7 +422,7 @@ var ie = [], on = {
   getEventProperties: function(e, r) {
     var s = {};
     return ie.forEach(function(n) {
-      typeof n.eventProperties == "function" && wt(s, n.eventProperties.call(r[n.pluginName], e));
+      typeof n.eventProperties == "function" && jt(s, n.eventProperties.call(r[n.pluginName], e));
     }), s;
   },
   modifyOption: function(e, r, s) {
@@ -494,7 +494,7 @@ function Pt(i) {
     newDraggableIndex: Qt
   }, i));
 }
-var A, ut, z, ot, ne, We, ct, Zt, ue, Mt, De, Qt, Le, Et, fe = !1, Je = !1, Qe = [], te, Lt, an, sn, Dn, An, Oe, se, Ae, Re = !1, Ue = !1, Xe, Ot, ln = [], hn = !1, Ze = [], qe = typeof document != "undefined", Ge = wn, Rn = Ne || Xt ? "cssFloat" : "float", Er = qe && !dr && !wn && "draggable" in document.createElement("div"), $n = function() {
+var A, ut, z, ot, ne, We, ct, Zt, ue, Mt, De, Qt, Le, Et, fe = !1, Je = !1, Qe = [], te, Lt, an, sn, Dn, An, Oe, se, Ae, Re = !1, Ue = !1, Xe, Ot, ln = [], hn = !1, Ze = [], qe = typeof document != "undefined", Ge = jn, Rn = Ne || Xt ? "cssFloat" : "float", Er = qe && !dr && !jn && "draggable" in document.createElement("div"), $n = function() {
   if (qe) {
     if (Xt)
       return !1;
@@ -571,7 +571,7 @@ var ee = function(e) {
 function K(i, e) {
   if (!(i && i.nodeType && i.nodeType === 1))
     throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));
-  this.el = i, this.options = e = wt({}, e), i[Tt] = this;
+  this.el = i, this.options = e = jt({}, e), i[Tt] = this;
   var r = {
     group: null,
     sort: !0,
@@ -623,7 +623,7 @@ function K(i, e) {
   Kn(e);
   for (var n in this)
     n.charAt(0) === "_" && typeof this[n] == "function" && (this[n] = this[n].bind(this));
-  this.nativeDraggable = e.forceFallback ? !1 : Er, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? Z(i, "pointerdown", this._onTapStart) : (Z(i, "mousedown", this._onTapStart), Z(i, "touchstart", this._onTapStart)), this.nativeDraggable && (Z(i, "dragover", this), Z(i, "dragenter", this)), Qe.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), wt(this, mr());
+  this.nativeDraggable = e.forceFallback ? !1 : Er, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? Z(i, "pointerdown", this._onTapStart) : (Z(i, "mousedown", this._onTapStart), Z(i, "touchstart", this._onTapStart)), this.nativeDraggable && (Z(i, "dragover", this), Z(i, "dragenter", this)), Qe.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), jt(this, mr());
 }
 K.prototype = /** @lends Sortable.prototype */
 {
@@ -874,7 +874,7 @@ K.prototype = /** @lends Sortable.prototype */
           return S(), r.insertBefore(A, P), ut = r, I(), b(!0);
       } else if (s.parentNode === r) {
         f = at(s);
-        var O = 0, F, U = A.parentNode !== r, T = !xr(A.animated && A.toRect || n, s.animated && s.toRect || f, v), N = v ? "top" : "left", j = In(s, "top", "top") || In(A, "top", "top"), V = j ? j.scrollTop : void 0;
+        var O = 0, F, U = A.parentNode !== r, T = !xr(A.animated && A.toRect || n, s.animated && s.toRect || f, v), N = v ? "top" : "left", w = In(s, "top", "top") || In(A, "top", "top"), V = w ? w.scrollTop : void 0;
         se !== s && (F = f[N], Re = !1, Ue = !T && o.invertSwap || U), O = Ar(e, s, f, v, T ? 1 : o.swapThreshold, o.invertedSwapThreshold == null ? o.swapThreshold : o.invertedSwapThreshold, Ue, se === s);
         var D;
         if (O !== 0) {
@@ -890,7 +890,7 @@ K.prototype = /** @lends Sortable.prototype */
         M = O === 1;
         var $ = $e(ot, r, A, n, s, f, e, M);
         if ($ !== !1)
-          return ($ === 1 || $ === -1) && (M = $ === 1), hn = !0, setTimeout(Pr, 30), S(), M && !X ? r.appendChild(A) : s.parentNode.insertBefore(A, M ? X : s), j && Gn(j, 0, V - j.scrollTop), ut = A.parentNode, F !== void 0 && !Ue && (Xe = Math.abs(F - at(s)[N])), I(), b(!0);
+          return ($ === 1 || $ === -1) && (M = $ === 1), hn = !0, setTimeout(Pr, 30), S(), M && !X ? r.appendChild(A) : s.parentNode.insertBefore(A, M ? X : s), w && Gn(w, 0, V - w.scrollTop), ut = A.parentNode, F !== void 0 && !Ue && (Xe = Math.abs(F - at(s)[N])), I(), b(!0);
       }
       if (r.contains(A))
         return b(!1);
@@ -1154,7 +1154,7 @@ K.create = function(i, e) {
 };
 K.version = cr;
 var pt = [], Te, gn, mn = !1, un, cn, ke, Ie;
-function jr() {
+function wr() {
   function i() {
     this.defaults = {
       scroll: !0,
@@ -1201,7 +1201,7 @@ function jr() {
         dn(r, this.options, kt(o, !1), !1);
       }
     }
-  }, wt(i, {
+  }, jt(i, {
     pluginName: "scroll",
     initializeByDefault: !0
   });
@@ -1220,9 +1220,9 @@ var dn = Un(function(i, e, r, s) {
     gn !== r && (gn = r, Ye(), Te = e.scroll, c = e.scrollFn, Te === !0 && (Te = kt(r, !0)));
     var u = 0, d = Te;
     do {
-      var v = d, h = at(v), p = h.top, g = h.bottom, S = h.left, b = h.right, I = h.width, x = h.height, P = void 0, O = void 0, F = v.scrollWidth, U = v.scrollHeight, T = L(v), N = v.scrollLeft, j = v.scrollTop;
+      var v = d, h = at(v), p = h.top, g = h.bottom, S = h.left, b = h.right, I = h.width, x = h.height, P = void 0, O = void 0, F = v.scrollWidth, U = v.scrollHeight, T = L(v), N = v.scrollLeft, w = v.scrollTop;
       v === a ? (P = I < F && (T.overflowX === "auto" || T.overflowX === "scroll" || T.overflowX === "visible"), O = x < U && (T.overflowY === "auto" || T.overflowY === "scroll" || T.overflowY === "visible")) : (P = I < F && (T.overflowX === "auto" || T.overflowX === "scroll"), O = x < U && (T.overflowY === "auto" || T.overflowY === "scroll"));
-      var V = P && (Math.abs(b - n) <= t && N + I < F) - (Math.abs(S - n) <= t && !!N), D = O && (Math.abs(g - f) <= t && j + x < U) - (Math.abs(p - f) <= t && !!j);
+      var V = P && (Math.abs(b - n) <= t && N + I < F) - (Math.abs(S - n) <= t && !!N), D = O && (Math.abs(g - f) <= t && w + x < U) - (Math.abs(p - f) <= t && !!w);
       if (!pt[u])
         for (var R = 0; R <= u; R++)
           pt[R] || (pt[R] = {});
@@ -1264,7 +1264,7 @@ bn.prototype = {
   },
   drop: Xn
 };
-wt(bn, {
+jt(bn, {
   pluginName: "revertOnSpill"
 });
 function En() {
@@ -1276,11 +1276,11 @@ En.prototype = {
   },
   drop: Xn
 };
-wt(En, {
+jt(En, {
   pluginName: "removeOnSpill"
 });
-var jt;
-function wr() {
+var wt;
+function jr() {
   function i() {
     this.defaults = {
       swapClass: "sortable-swap-highlight"
@@ -1289,31 +1289,31 @@ function wr() {
   return i.prototype = {
     dragStart: function(r) {
       var s = r.dragEl;
-      jt = s;
+      wt = s;
     },
     dragOverValid: function(r) {
       var s = r.completed, n = r.target, f = r.onMove, t = r.activeSortable, o = r.changed, a = r.cancel;
       if (t.options.swap) {
         var l = this.sortable.el, c = this.options;
         if (n && n !== l) {
-          var u = jt;
-          f(n) !== !1 ? (st(n, c.swapClass, !0), jt = n) : jt = null, u && u !== jt && st(u, c.swapClass, !1);
+          var u = wt;
+          f(n) !== !1 ? (st(n, c.swapClass, !0), wt = n) : wt = null, u && u !== wt && st(u, c.swapClass, !1);
         }
         o(), s(!0), a();
       }
     },
     drop: function(r) {
       var s = r.activeSortable, n = r.putSortable, f = r.dragEl, t = n || this.sortable, o = this.options;
-      jt && st(jt, o.swapClass, !1), jt && (o.swap || n && n.options.swap) && f !== jt && (t.captureAnimationState(), t !== s && s.captureAnimationState(), Fr(f, jt), t.animateAll(), t !== s && s.animateAll());
+      wt && st(wt, o.swapClass, !1), wt && (o.swap || n && n.options.swap) && f !== wt && (t.captureAnimationState(), t !== s && s.captureAnimationState(), Fr(f, wt), t.animateAll(), t !== s && s.animateAll());
     },
     nulling: function() {
-      jt = null;
+      wt = null;
     }
-  }, wt(i, {
+  }, jt(i, {
     pluginName: "swap",
     eventProperties: function() {
       return {
-        swapItem: jt
+        swapItem: wt
       };
     }
   });
@@ -1440,7 +1440,7 @@ function Lr() {
       if (Y.forEach(function(o) {
         o.thisAnimationDuration = null;
       }), f.options.animation && !n && f.multiDrag.isMultiDrag) {
-        Ee = wt({}, s);
+        Ee = jt({}, s);
         var t = re(et, !0);
         Ee.top -= t.f, Ee.left -= t.e;
       }
@@ -1539,7 +1539,7 @@ function Lr() {
     _checkKeyUp: function(r) {
       r.key === this.options.multiDragKey && (this.multiDragKeyDown = !1);
     }
-  }, wt(i, {
+  }, jt(i, {
     // Static methods & properties
     pluginName: "multiDrag",
     utils: {
@@ -1603,13 +1603,13 @@ function Ke() {
     i !== et && i.parentNode && i.parentNode.removeChild(i);
   });
 }
-K.mount(new jr());
+K.mount(new wr());
 K.mount(En, bn);
 const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
   __proto__: null,
   MultiDrag: Lr,
   Sortable: K,
-  Swap: wr,
+  Swap: jr,
   default: K
 }, Symbol.toStringTag, { value: "Module" })), $r = /* @__PURE__ */ Yn(Gr);
 (function(i, e) {
@@ -2134,9 +2134,9 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
           function(n, f, t) {
             var o = t("0366"), a = t("7b0b"), l = t("9bdd"), c = t("e95a"), u = t("50c4"), d = t("8418"), v = t("35a1");
             n.exports = function(p) {
-              var g = a(p), S = typeof this == "function" ? this : Array, b = arguments.length, I = b > 1 ? arguments[1] : void 0, x = I !== void 0, P = v(g), O = 0, F, U, T, N, j, V;
+              var g = a(p), S = typeof this == "function" ? this : Array, b = arguments.length, I = b > 1 ? arguments[1] : void 0, x = I !== void 0, P = v(g), O = 0, F, U, T, N, w, V;
               if (x && (I = o(I, b > 2 ? arguments[2] : void 0, 2)), P != null && !(S == Array && c(P)))
-                for (N = P.call(g), j = N.next, U = new S(); !(T = j.call(N)).done; O++)
+                for (N = P.call(g), w = N.next, U = new S(); !(T = w.call(N)).done; O++)
                   V = x ? l(N, I, [T.value, O], !0) : T.value, d(U, O, V);
               else
                 for (F = u(g.length), U = new S(F); F > O; O++)
@@ -2185,7 +2185,7 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               return P === void 0 ? P : String(P);
             };
             o("replace", 2, function(P, O, F, U) {
-              var T = U.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE, N = U.REPLACE_KEEPS_$0, j = T ? "$" : "$0";
+              var T = U.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE, N = U.REPLACE_KEEPS_$0, w = T ? "$" : "$0";
               return [
                 // `String.prototype.replace` method
                 // https://tc39.github.io/ecma262/#sec-string.prototype.replace
@@ -2196,7 +2196,7 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
                 // `RegExp.prototype[@@replace]` method
                 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
                 function(D, R) {
-                  if (!T && N || typeof R == "string" && R.indexOf(j) === -1) {
+                  if (!T && N || typeof R == "string" && R.indexOf(w) === -1) {
                     var X = F(O, D, this, R);
                     if (X.done) return X.value;
                   }
@@ -2362,10 +2362,10 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               return S(T) ? g(T) : p(T, {});
             }, I = function(T) {
               return function(N) {
-                var j;
-                if (!l(N) || (j = g(N)).type !== T)
+                var w;
+                if (!l(N) || (w = g(N)).type !== T)
                   throw TypeError("Incompatible receiver, " + T + " required");
-                return j;
+                return w;
               };
             };
             if (o) {
@@ -2499,8 +2499,8 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               var N = T.parentWindow.Object;
               return T = null, N;
             }, O = function() {
-              var T = d("iframe"), N = "java" + S + ":", j;
-              return T.style.display = "none", u.appendChild(T), T.src = String(N), j = T.contentWindow.document, j.open(), j.write(x("document.F=Object")), j.close(), j.F;
+              var T = d("iframe"), N = "java" + S + ":", w;
+              return T.style.display = "none", u.appendChild(T), T.src = String(N), w = T.contentWindow.document, w.open(), w.write(x("document.F=Object")), w.close(), w.F;
             }, F, U = function() {
               try {
                 F = document.domain && new ActiveXObject("htmlfile");
@@ -2510,9 +2510,9 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               for (var T = l.length; T--; ) delete U[g][l[T]];
               return U();
             };
-            c[b] = !0, n.exports = Object.create || function(N, j) {
+            c[b] = !0, n.exports = Object.create || function(N, w) {
               var V;
-              return N !== null ? (I[g] = o(N), V = new I(), I[g] = null, V[b] = N) : V = U(), j === void 0 ? V : a(V, j);
+              return N !== null ? (I[g] = o(N), V = new I(), I[g] = null, V[b] = N) : V = U(), w === void 0 ? V : a(V, w);
             };
           }
         ),
@@ -2523,27 +2523,27 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
             var o = t("23e7"), a = t("9ed3"), l = t("e163"), c = t("d2bb"), u = t("d44e"), d = t("9112"), v = t("6eeb"), h = t("b622"), p = t("c430"), g = t("3f8c"), S = t("ae93"), b = S.IteratorPrototype, I = S.BUGGY_SAFARI_ITERATORS, x = h("iterator"), P = "keys", O = "values", F = "entries", U = function() {
               return this;
             };
-            n.exports = function(T, N, j, V, D, R, X) {
-              a(j, N, V);
+            n.exports = function(T, N, w, V, D, R, X) {
+              a(w, N, V);
               var M = function(rt) {
                 if (rt === D && lt) return lt;
                 if (!I && rt in nt) return nt[rt];
                 switch (rt) {
                   case P:
                     return function() {
-                      return new j(this, rt);
+                      return new w(this, rt);
                     };
                   case O:
                     return function() {
-                      return new j(this, rt);
+                      return new w(this, rt);
                     };
                   case F:
                     return function() {
-                      return new j(this, rt);
+                      return new w(this, rt);
                     };
                 }
                 return function() {
-                  return new j(this);
+                  return new w(this);
                 };
               }, $ = N + " Iterator", _ = !1, nt = T.prototype, yt = nt[x] || nt["@@iterator"] || D && nt[D], lt = !I && yt || M(D), ft = N == "Array" && nt.entries || yt, gt, mt, ht;
               if (ft && (gt = l(ft.call(new T())), b !== Object.prototype && gt.next && (!p && l(gt) !== b && (c ? c(gt, b) : typeof gt[x] != "function" && d(gt, x, U)), u(gt, $, !0, !0), p && (g[$] = U))), D == O && yt && yt.name !== O && (_ = !0, lt = function() {
@@ -2697,9 +2697,9 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               return l.call(g, "a"), l.call(S, "a"), g.lastIndex !== 0 || S.lastIndex !== 0;
             }(), v = a.UNSUPPORTED_Y || a.BROKEN_CARET, h = /()??/.exec("")[1] !== void 0, p = d || h || v;
             p && (u = function(S) {
-              var b = this, I, x, P, O, F = v && b.sticky, U = o.call(b), T = b.source, N = 0, j = S;
-              return F && (U = U.replace("y", ""), U.indexOf("g") === -1 && (U += "g"), j = String(S).slice(b.lastIndex), b.lastIndex > 0 && (!b.multiline || b.multiline && S[b.lastIndex - 1] !== `
-`) && (T = "(?: " + T + ")", j = " " + j, N++), x = new RegExp("^(?:" + T + ")", U)), h && (x = new RegExp("^" + T + "$(?!\\s)", U)), d && (I = b.lastIndex), P = l.call(F ? x : b, j), F ? P ? (P.input = P.input.slice(N), P[0] = P[0].slice(N), P.index = b.lastIndex, b.lastIndex += P[0].length) : b.lastIndex = 0 : d && P && (b.lastIndex = b.global ? P.index + P[0].length : I), h && P && P.length > 1 && c.call(P[0], x, function() {
+              var b = this, I, x, P, O, F = v && b.sticky, U = o.call(b), T = b.source, N = 0, w = S;
+              return F && (U = U.replace("y", ""), U.indexOf("g") === -1 && (U += "g"), w = String(S).slice(b.lastIndex), b.lastIndex > 0 && (!b.multiline || b.multiline && S[b.lastIndex - 1] !== `
+`) && (T = "(?: " + T + ")", w = " " + w, N++), x = new RegExp("^(?:" + T + ")", U)), h && (x = new RegExp("^" + T + "$(?!\\s)", U)), d && (I = b.lastIndex), P = l.call(F ? x : b, w), F ? P ? (P.input = P.input.slice(N), P[0] = P[0].slice(N), P.index = b.lastIndex, b.lastIndex += P[0].length) : b.lastIndex = 0 : d && P && (b.lastIndex = b.global ? P.index + P[0].length : I), h && P && P.length > 1 && c.call(P[0], x, function() {
                 for (O = 1; O < arguments.length - 2; O++)
                   arguments[O] === void 0 && (P[O] = void 0);
               }), P;
@@ -2733,9 +2733,9 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
             }, U = !P || !O;
             o({ target: "Array", proto: !0, forced: U }, {
               concat: function(N) {
-                var j = u(this), V = h(j, 0), D = 0, R, X, M, $, _;
+                var w = u(this), V = h(w, 0), D = 0, R, X, M, $, _;
                 for (R = -1, M = arguments.length; R < M; R++)
-                  if (_ = R === -1 ? j : arguments[R], F(_)) {
+                  if (_ = R === -1 ? w : arguments[R], F(_)) {
                     if ($ = d(_.length), D + $ > I) throw TypeError(x);
                     for (X = 0; X < $; X++, D++) X in _ && v(V, D, _[X]);
                   } else {
@@ -2843,20 +2843,20 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
             var o = t("23e7"), a = t("23cb"), l = t("a691"), c = t("50c4"), u = t("7b0b"), d = t("65f0"), v = t("8418"), h = t("1dde"), p = t("ae40"), g = h("splice"), S = p("splice", { ACCESSORS: !0, 0: 0, 1: 2 }), b = Math.max, I = Math.min, x = 9007199254740991, P = "Maximum allowed length exceeded";
             o({ target: "Array", proto: !0, forced: !g || !S }, {
               splice: function(F, U) {
-                var T = u(this), N = c(T.length), j = a(F, N), V = arguments.length, D, R, X, M, $, _;
-                if (V === 0 ? D = R = 0 : V === 1 ? (D = 0, R = N - j) : (D = V - 2, R = I(b(l(U), 0), N - j)), N + D - R > x)
+                var T = u(this), N = c(T.length), w = a(F, N), V = arguments.length, D, R, X, M, $, _;
+                if (V === 0 ? D = R = 0 : V === 1 ? (D = 0, R = N - w) : (D = V - 2, R = I(b(l(U), 0), N - w)), N + D - R > x)
                   throw TypeError(P);
                 for (X = d(T, R), M = 0; M < R; M++)
-                  $ = j + M, $ in T && v(X, M, T[$]);
+                  $ = w + M, $ in T && v(X, M, T[$]);
                 if (X.length = R, D < R) {
-                  for (M = j; M < N - R; M++)
+                  for (M = w; M < N - R; M++)
                     $ = M + R, _ = M + D, $ in T ? T[_] = T[$] : delete T[_];
                   for (M = N; M > N - R + D; M--) delete T[M - 1];
                 } else if (D > R)
-                  for (M = N - R; M > j; M--)
+                  for (M = N - R; M > w; M--)
                     $ = M + R - 1, _ = M + D - 1, $ in T ? T[_] = T[$] : delete T[_];
                 for (M = 0; M < D; M++)
-                  T[M + j] = arguments[M + 2];
+                  T[M + w] = arguments[M + 2];
                 return T.length = N - R + D, X;
               }
             });
@@ -2866,7 +2866,7 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
         a4d3: (
           /***/
           function(n, f, t) {
-            var o = t("23e7"), a = t("da84"), l = t("d066"), c = t("c430"), u = t("83ab"), d = t("4930"), v = t("fdbf"), h = t("d039"), p = t("5135"), g = t("e8b5"), S = t("861d"), b = t("825a"), I = t("7b0b"), x = t("fc6a"), P = t("c04e"), O = t("5c6c"), F = t("7c73"), U = t("df75"), T = t("241c"), N = t("057f"), j = t("7418"), V = t("06cf"), D = t("9bf2"), R = t("d1e7"), X = t("9112"), M = t("6eeb"), $ = t("5692"), _ = t("f772"), nt = t("d012"), yt = t("90e3"), lt = t("b622"), ft = t("e538"), gt = t("746f"), mt = t("d44e"), ht = t("69f3"), rt = t("b727").forEach, it = _("hidden"), Rt = "Symbol", It = "prototype", Vt = lt("toPrimitive"), qt = ht.set, Yt = ht.getterFor(Rt), St = Object[It], bt = a.Symbol, _t = l("JSON", "stringify"), $t = V.f, Bt = D.f, je = N.f, _e = R.f, Ft = $("symbols"), zt = $("op-symbols"), oe = $("string-to-symbol-registry"), de = $("symbol-to-string-registry"), ve = $("wks"), he = a.QObject, pe = !he || !he[It] || !he[It].findChild, ge = u && h(function() {
+            var o = t("23e7"), a = t("da84"), l = t("d066"), c = t("c430"), u = t("83ab"), d = t("4930"), v = t("fdbf"), h = t("d039"), p = t("5135"), g = t("e8b5"), S = t("861d"), b = t("825a"), I = t("7b0b"), x = t("fc6a"), P = t("c04e"), O = t("5c6c"), F = t("7c73"), U = t("df75"), T = t("241c"), N = t("057f"), w = t("7418"), V = t("06cf"), D = t("9bf2"), R = t("d1e7"), X = t("9112"), M = t("6eeb"), $ = t("5692"), _ = t("f772"), nt = t("d012"), yt = t("90e3"), lt = t("b622"), ft = t("e538"), gt = t("746f"), mt = t("d44e"), ht = t("69f3"), rt = t("b727").forEach, it = _("hidden"), Rt = "Symbol", It = "prototype", Vt = lt("toPrimitive"), qt = ht.set, Yt = ht.getterFor(Rt), St = Object[It], bt = a.Symbol, _t = l("JSON", "stringify"), $t = V.f, Bt = D.f, we = N.f, _e = R.f, Ft = $("symbols"), zt = $("op-symbols"), oe = $("string-to-symbol-registry"), de = $("symbol-to-string-registry"), ve = $("wks"), he = a.QObject, pe = !he || !he[It] || !he[It].findChild, ge = u && h(function() {
               return F(Bt({}, "a", {
                 get: function() {
                   return Bt(this, "a", { value: 7 }).a;
@@ -2894,11 +2894,11 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               b(G);
               var k = x(B), q = U(k).concat(tt(k));
               return rt(q, function(Ct) {
-                (!u || w.call(k, Ct)) && m(G, Ct, k[Ct]);
+                (!u || j.call(k, Ct)) && m(G, Ct, k[Ct]);
               }), G;
             }, C = function(G, B) {
               return B === void 0 ? F(G) : E(F(G), B);
-            }, w = function(G) {
+            }, j = function(G) {
               var B = P(G, !0), k = _e.call(this, B);
               return this === St && p(Ft, B) && !p(zt, B) ? !1 : k || !p(this, B) || !p(Ft, B) || p(this, it) && this[it][B] ? k : !0;
             }, H = function(G, B) {
@@ -2908,12 +2908,12 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
                 return Ct && p(Ft, q) && !(p(k, it) && k[it][q]) && (Ct.enumerable = !0), Ct;
               }
             }, J = function(G) {
-              var B = je(x(G)), k = [];
+              var B = we(x(G)), k = [];
               return rt(B, function(q) {
                 !p(Ft, q) && !p(nt, q) && k.push(q);
               }), k;
             }, tt = function(G) {
-              var B = G === St, k = je(B ? zt : x(G)), q = [];
+              var B = G === St, k = we(B ? zt : x(G)), q = [];
               return rt(k, function(Ct) {
                 p(Ft, Ct) && (!B || p(St, Ct)) && q.push(Ft[Ct]);
               }), q;
@@ -2928,14 +2928,14 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               return Yt(this).tag;
             }), M(bt, "withoutSetter", function(W) {
               return me(yt(W), W);
-            }), R.f = w, D.f = m, V.f = H, T.f = N.f = J, j.f = tt, ft.f = function(W) {
+            }), R.f = j, D.f = m, V.f = H, T.f = N.f = J, w.f = tt, ft.f = function(W) {
               return me(lt(W), W);
             }, u && (Bt(bt[It], "description", {
               configurable: !0,
               get: function() {
                 return Yt(this).description;
               }
-            }), c || M(St, "propertyIsEnumerable", w, { unsafe: !0 }))), o({ global: !0, wrap: !0, forced: !d, sham: !d }, {
+            }), c || M(St, "propertyIsEnumerable", j, { unsafe: !0 }))), o({ global: !0, wrap: !0, forced: !d, sham: !d }, {
               Symbol: bt
             }), rt(U(ve), function(W) {
               gt(W);
@@ -2981,10 +2981,10 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
               getOwnPropertySymbols: tt
             }), o({ target: "Object", stat: !0, forced: h(function() {
-              j.f(1);
+              w.f(1);
             }) }, {
               getOwnPropertySymbols: function(G) {
-                return j.f(I(G));
+                return w.f(I(G));
               }
             }), _t) {
               var vt = !d || h(function() {
@@ -2996,8 +2996,8 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
                 stringify: function(G, B, k) {
                   for (var q = [G], Ct = 1, tn; arguments.length > Ct; ) q.push(arguments[Ct++]);
                   if (tn = B, !(!S(B) && G === void 0 || y(G)))
-                    return g(B) || (B = function(Vn, we) {
-                      if (typeof tn == "function" && (we = tn.call(this, Vn, we)), !y(we)) return we;
+                    return g(B) || (B = function(Vn, je) {
+                      if (typeof tn == "function" && (je = tn.call(this, Vn, je)), !y(je)) return je;
                     }), q[1] = B, _t.apply(null, q);
                 }
               });
@@ -3172,7 +3172,7 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
             var o = t("0366"), a = t("44ad"), l = t("7b0b"), c = t("50c4"), u = t("65f0"), d = [].push, v = function(h) {
               var p = h == 1, g = h == 2, S = h == 3, b = h == 4, I = h == 6, x = h == 5 || I;
               return function(P, O, F, U) {
-                for (var T = l(P), N = a(T), j = o(O, F, 3), V = c(N.length), D = 0, R = U || u, X = p ? R(P, V) : g ? R(P, 0) : void 0, M, $; V > D; D++) if ((x || D in N) && (M = N[D], $ = j(M, D, T), h)) {
+                for (var T = l(P), N = a(T), w = o(O, F, 3), V = c(N.length), D = 0, R = U || u, X = p ? R(P, V) : g ? R(P, 0) : void 0, M, $; V > D; D++) if ((x || D in N) && (M = N[D], $ = w(M, D, T), h)) {
                   if (p) X[D] = $;
                   else if ($) switch (h) {
                     case 3:
@@ -3503,8 +3503,8 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
                 }, {
                   REPLACE_KEEPS_$0: h,
                   REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: g
-                }), j = N[0], V = N[1];
-                o(String.prototype, b, j), o(
+                }), w = N[0], V = N[1];
+                o(String.prototype, b, w), o(
                   RegExp.prototype,
                   O,
                   I == 2 ? function(D, R) {
@@ -3789,8 +3789,8 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
               var E = Object.keys(y);
               if (Object.getOwnPropertySymbols) {
                 var C = Object.getOwnPropertySymbols(y);
-                m && (C = C.filter(function(w) {
-                  return Object.getOwnPropertyDescriptor(y, w).enumerable;
+                m && (C = C.filter(function(j) {
+                  return Object.getOwnPropertyDescriptor(y, j).enumerable;
                 })), E.push.apply(E, C);
               }
               return E;
@@ -3812,17 +3812,17 @@ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
             t("e01a"), t("d28b"), t("e260"), t("d3b7"), t("3ca3"), t("ddb0");
             function h(y, m) {
               if (!(typeof Symbol == "undefined" || !(Symbol.iterator in Object(y)))) {
-                var E = [], C = !0, w = !1, H = void 0;
+                var E = [], C = !0, j = !1, H = void 0;
                 try {
                   for (var J = y[Symbol.iterator](), tt; !(C = (tt = J.next()).done) && (E.push(tt.value), !(m && E.length === m)); C = !0)
                     ;
                 } catch (vt) {
-                  w = !0, H = vt;
+                  j = !0, H = vt;
                 } finally {
                   try {
                     !C && J.return != null && J.return();
                   } finally {
-                    if (w) throw H;
+                    if (j) throw H;
                   }
                 }
                 return E;
@@ -3871,13 +3871,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
               var C = E === 0 ? y.children[0] : y.children[E - 1].nextSibling;
               y.insertBefore(m, C);
             }
-            var j = t("dbf1");
+            var w = t("dbf1");
             t("13d5"), t("4fad"), t("ac1f"), t("5319");
             function V(y) {
               var m = /* @__PURE__ */ Object.create(null);
               return function(C) {
-                var w = m[C];
-                return w || (m[C] = y(C));
+                var j = m[C];
+                return j || (m[C] = y(C));
               };
             }
             var D = /-(\w)/g, R = V(function(y) {
@@ -3911,16 +3911,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
             }
             function ht(y) {
               return y.reduce(function(m, E) {
-                var C = b(E, 2), w = C[0], H = C[1];
-                return m[w] = H, m;
+                var C = b(E, 2), j = C[0], H = C[1];
+                return m[j] = H, m;
               }, {});
             }
             function rt(y) {
-              var m = y.$attrs, E = y.componentData, C = E === void 0 ? {} : E, w = ht(Object.entries(m).filter(function(H) {
+              var m = y.$attrs, E = y.componentData, C = E === void 0 ? {} : E, j = ht(Object.entries(m).filter(function(H) {
                 var J = b(H, 2), tt = J[0];
                 return J[1], mt(tt);
               }));
-              return d(d({}, w), C);
+              return d(d({}, j), C);
             }
             function it(y) {
               var m = y.$attrs, E = y.callBackBuilder, C = ht(Rt(m));
@@ -3930,9 +3930,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   C["on".concat(W)] = vt(W);
                 });
               });
-              var w = "[data-draggable]".concat(C.draggable || "");
+              var j = "[data-draggable]".concat(C.draggable || "");
               return d(d({}, C), {}, {
-                draggable: w
+                draggable: j
               });
             }
             function Rt(y) {
@@ -3940,8 +3940,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                 var E = b(m, 2), C = E[0];
                 return E[1], !mt(C);
               }).map(function(m) {
-                var E = b(m, 2), C = E[0], w = E[1];
-                return [R(C), w];
+                var E = b(m, 2), C = E[0], j = E[1];
+                return [R(C), j];
               }).filter(function(m) {
                 var E = b(m, 2), C = E[0];
                 return E[1], !yt(C);
@@ -3970,25 +3970,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
               return m.__draggable_context;
             }, _t = /* @__PURE__ */ function() {
               function y(m) {
-                var E = m.nodes, C = E.header, w = E.default, H = E.footer, J = m.root, tt = m.realList;
-                It(this, y), this.defaultNodes = w, this.children = [].concat(O(C), O(w), O(H)), this.externalComponent = J.externalComponent, this.rootTransition = J.transition, this.tag = J.tag, this.realList = tt;
+                var E = m.nodes, C = E.header, j = E.default, H = E.footer, J = m.root, tt = m.realList;
+                It(this, y), this.defaultNodes = j, this.children = [].concat(O(C), O(j), O(H)), this.externalComponent = J.externalComponent, this.rootTransition = J.transition, this.tag = J.tag, this.realList = tt;
               }
               return qt(y, [{
                 key: "render",
                 value: function(E, C) {
-                  var w = this.tag, H = this.children, J = this._isRootComponent, tt = J ? {
+                  var j = this.tag, H = this.children, J = this._isRootComponent, tt = J ? {
                     default: function() {
                       return H;
                     }
                   } : H;
-                  return E(w, C, tt);
+                  return E(j, C, tt);
                 }
               }, {
                 key: "updated",
                 value: function() {
                   var E = this.defaultNodes, C = this.realList;
-                  E.forEach(function(w, H) {
-                    St(Yt(w), {
+                  E.forEach(function(j, H) {
+                    St(Yt(j), {
                       element: C[H],
                       index: H
                     });
@@ -4002,7 +4002,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
               }, {
                 key: "getVmIndexFromDomIndex",
                 value: function(E, C) {
-                  var w = this.defaultNodes, H = w.length, J = C.children, tt = J.item(E);
+                  var j = this.defaultNodes, H = j.length, J = C.children, tt = J.item(E);
                   if (tt === null)
                     return H;
                   var vt = bt(tt);
@@ -4010,7 +4010,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                     return vt.index;
                   if (H === 0)
                     return 0;
-                  var W = Yt(w[0]), G = O(J).findIndex(function(B) {
+                  var W = Yt(j[0]), G = O(J).findIndex(function(B) {
                     return B === W;
                   });
                   return E < G ? 0 : H;
@@ -4026,13 +4026,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
               var E = y[m];
               return E ? E() : [];
             }
-            function je(y) {
-              var m = y.$slots, E = y.realList, C = y.getKey, w = E || [], H = ["header", "footer"].map(function(B) {
+            function we(y) {
+              var m = y.$slots, E = y.realList, C = y.getKey, j = E || [], H = ["header", "footer"].map(function(B) {
                 return Bt(m, B);
               }), J = b(H, 2), tt = J[0], vt = J[1], W = m.item;
               if (!W)
                 throw new Error("draggable element must have an item slot");
-              var G = w.flatMap(function(B, k) {
+              var G = j.flatMap(function(B, k) {
                 return W({
                   element: B,
                   index: k
@@ -4042,7 +4042,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   }), q;
                 });
               });
-              if (G.length !== w.length)
+              if (G.length !== j.length)
                 throw new Error("Item slot must have only one child");
               return {
                 header: tt,
@@ -4059,10 +4059,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
               };
             }
             function Ft(y) {
-              var m = y.$slots, E = y.tag, C = y.realList, w = y.getKey, H = je({
+              var m = y.$slots, E = y.tag, C = y.realList, j = y.getKey, H = we({
                 $slots: m,
                 realList: C,
-                getKey: w
+                getKey: j
               }), J = _e(E);
               return new _t({
                 nodes: H,
@@ -4085,8 +4085,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
             }
             function de(y) {
               var m = this, E = oe.call(this, y);
-              return function(C, w) {
-                E.call(m, C, w), zt.call(m, y, C);
+              return function(C, j) {
+                E.call(m, C, j), zt.call(m, y, C);
               };
             }
             var ve = null, he = {
@@ -4138,7 +4138,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
               render: function() {
                 try {
                   this.error = !1;
-                  var m = this.$slots, E = this.$attrs, C = this.tag, w = this.componentData, H = this.realList, J = this.getKey, tt = Ft({
+                  var m = this.$slots, E = this.$attrs, C = this.tag, j = this.componentData, H = this.realList, J = this.getKey, tt = Ft({
                     $slots: m,
                     tag: C,
                     realList: H,
@@ -4147,7 +4147,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   this.componentStructure = tt;
                   var vt = rt({
                     $attrs: E,
-                    componentData: w
+                    componentData: j
                   });
                   return tt.render($t.h, vt);
                 } catch (W) {
@@ -4159,13 +4159,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                 }
               },
               created: function() {
-                this.list !== null && this.modelValue !== null && j.a.error("modelValue and list props are mutually exclusive! Please set one or another.");
+                this.list !== null && this.modelValue !== null && w.a.error("modelValue and list props are mutually exclusive! Please set one or another.");
               },
               mounted: function() {
                 var m = this;
                 if (!this.error) {
-                  var E = this.$attrs, C = this.$el, w = this.componentStructure;
-                  w.updated();
+                  var E = this.$attrs, C = this.$el, j = this.componentStructure;
+                  j.updated();
                   var H = it({
                     $attrs: E,
                     callBackBuilder: {
@@ -4206,7 +4206,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   handler: function(m) {
                     var E = this._sortable;
                     E && Rt(m).forEach(function(C) {
-                      var w = b(C, 2), H = w[0], J = w[1];
+                      var j = b(C, 2), H = j[0], J = j[1];
                       E.option(H, J);
                     });
                   },
@@ -4235,8 +4235,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   m(E), this.$emit("update:modelValue", E);
                 },
                 spliceList: function() {
-                  var m = arguments, E = function(w) {
-                    return w.splice.apply(w, O(m));
+                  var m = arguments, E = function(j) {
+                    return j.splice.apply(j, O(m));
                   };
                   this.alterList(E);
                 },
@@ -4247,17 +4247,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   this.alterList(C);
                 },
                 getRelatedContextFromMoveEvent: function(m) {
-                  var E = m.to, C = m.related, w = this.getUnderlyingPotencialDraggableComponent(E);
-                  if (!w)
+                  var E = m.to, C = m.related, j = this.getUnderlyingPotencialDraggableComponent(E);
+                  if (!j)
                     return {
-                      component: w
+                      component: j
                     };
-                  var H = w.realList, J = {
+                  var H = j.realList, J = {
                     list: H,
-                    component: w
+                    component: j
                   };
                   if (E !== C && H) {
-                    var tt = w.getUnderlyingVm(C) || {};
+                    var tt = j.getUnderlyingVm(C) || {};
                     return d(d({}, tt), J);
                   }
                   return J;
@@ -4274,12 +4274,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                     T(m.item);
                     var C = this.getVmIndexFromDomIndex(m.newIndex);
                     this.spliceList(C, 0, E);
-                    var w = {
+                    var j = {
                       element: E,
                       newIndex: C
                     };
                     this.emitChanges({
-                      added: w
+                      added: j
                     });
                   }
                 },
@@ -4288,10 +4288,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                     T(m.clone);
                     return;
                   }
-                  var E = this.context, C = E.index, w = E.element;
+                  var E = this.context, C = E.index, j = E.element;
                   this.spliceList(C, 1);
                   var H = {
-                    element: w,
+                    element: j,
                     oldIndex: C
                   };
                   this.emitChanges({
@@ -4302,13 +4302,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                   T(m.item), N(m.from, m.item, m.oldIndex);
                   var E = this.context.index, C = this.getVmIndexFromDomIndex(m.newIndex);
                   this.updatePosition(E, C);
-                  var w = {
+                  var j = {
                     element: this.context.element,
                     oldIndex: E,
                     newIndex: C
                   };
                   this.emitChanges({
-                    moved: w
+                    moved: j
                   });
                 },
                 computeFutureIndex: function(m, E) {
@@ -4316,12 +4316,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
                     return 0;
                   var C = O(E.to.children).filter(function(tt) {
                     return tt.style.display !== "none";
-                  }), w = C.indexOf(E.related), H = m.component.getVmIndexFromDomIndex(w), J = C.indexOf(ve) !== -1;
+                  }), j = C.indexOf(E.related), H = m.component.getVmIndexFromDomIndex(j), J = C.indexOf(ve) !== -1;
                   return J || !E.willInsertAfter ? H : H + 1;
                 },
                 onDragMove: function(m, E) {
-                  var C = this.move, w = this.realList;
-                  if (!C || !w)
+                  var C = this.move, j = this.realList;
+                  if (!C || !j)
                     return !0;
                   var H = this.getRelatedContextFromMoveEvent(m), J = this.computeFutureIndex(H, m), tt = d(d({}, this.context), {}, {
                     futureIndex: J
@@ -4346,10 +4346,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
             var o = t("23e7"), a = t("861d"), l = t("e8b5"), c = t("23cb"), u = t("50c4"), d = t("fc6a"), v = t("8418"), h = t("b622"), p = t("1dde"), g = t("ae40"), S = p("slice"), b = g("slice", { ACCESSORS: !0, 0: 0, 1: 2 }), I = h("species"), x = [].slice, P = Math.max;
             o({ target: "Array", proto: !0, forced: !S || !b }, {
               slice: function(F, U) {
-                var T = d(this), N = u(T.length), j = c(F, N), V = c(U === void 0 ? N : U, N), D, R, X;
+                var T = d(this), N = u(T.length), w = c(F, N), V = c(U === void 0 ? N : U, N), D, R, X;
                 if (l(T) && (D = T.constructor, typeof D == "function" && (D === Array || l(D.prototype)) ? D = void 0 : a(D) && (D = D[I], D === null && (D = void 0)), D === Array || D === void 0))
-                  return x.call(T, j, V);
-                for (R = new (D === void 0 ? Array : D)(P(V - j, 0)), X = 0; j < V; j++, X++) j in T && v(R, X, T[j]);
+                  return x.call(T, w, V);
+                for (R = new (D === void 0 ? Array : D)(P(V - w, 0)), X = 0; w < V; w++, X++) w in T && v(R, X, T[w]);
                 return R.length = X, R;
               }
             });
@@ -4416,8 +4416,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
       }).default
     );
   });
-})(jn);
-var Br = jn.exports;
+})(wn);
+var Br = wn.exports;
 const Kr = /* @__PURE__ */ zn(Br), Hr = {
   name: "SettingColumns",
   components: { draggable: Kr },

+ 1 - 1
lib/js/Table.js

@@ -1,4 +1,4 @@
-import { d as g, P as ie, c as te, bD as pl, bE as ml, _ as G, p as Ut, n as Pt, bF as lt, bG as vl, bH as Gt, bI as hl, g as $n, m as wn, r as Dt, bx as gl, aU as Jt, M as se, O as Ne, Q as Ke, N as De, h as qe, u as Kt, ab as In, a6 as Pn, bJ as xl, z as qt, L as Yt, bK as Qt, bL as Zt, b as bl, bM as yl, bN as Cl, bO as Sl, bP as $l, bQ as wl, l as ze, bR as Ft, a8 as Tn, a1 as Il, j as Re, a as We, w as rt, s as Pl, R as Rn, bS as en, ax as Tl, q as Ve, bw as tn, bT as Rl, J as El, bU as Ol, ak as ft, ao as En, az as Bl, aS as Nl, bV as zl, bW as kl, K as On, W as _l, e as Ye, ay as Dl, bz as Kl, D as nn, bX as Fl, E as ln, t as Al, a4 as ot, a2 as Ml, i as Bn, a7 as Hl, o as jl } from "./index2.js";
+import { d as g, P as ie, c as te, by as pl, bz as ml, _ as G, p as Ut, n as Pt, bA as lt, bB as vl, bC as Gt, bD as hl, g as $n, m as wn, r as Dt, bs as gl, aP as Jt, M as se, O as Ne, Q as Ke, N as De, h as qe, u as Kt, ab as In, a6 as Pn, bE as xl, z as qt, L as Yt, bF as Qt, bG as Zt, b as bl, bH as yl, bI as Cl, bJ as Sl, bK as $l, bL as wl, l as ze, bM as Ft, a8 as Tn, a1 as Il, j as Re, a as We, w as rt, s as Pl, R as Rn, bN as en, as as Tl, q as Ve, br as tn, bO as Rl, J as El, bP as Ol, ak as ft, ao as En, au as Bl, aN as Nl, bQ as zl, bR as kl, K as On, W as _l, e as Ye, at as Dl, bu as Kl, D as nn, bS as Fl, E as ln, t as Al, a4 as ot, a2 as Ml, i as Bn, a7 as Hl, o as jl } from "./index2.js";
 import { defineComponent as ue, createVNode as u, ref as pe, computed as C, createTextVNode as At, toRef as xe, inject as Me, provide as He, shallowRef as ce, onMounted as et, watch as Fe, isVNode as ut, Text as Ll, onUnmounted as Wl, watchEffect as Ee, getCurrentInstance as Vl, Fragment as Xe, onBeforeUnmount as tt, reactive as Qe, onActivated as Xl, nextTick as at, toRefs as $t, onUpdated as Ul } from "vue";
 import { B as Nn, g as on } from "./BaseInput.js";
 import { S as Gl } from "./index11.js";

+ 9 - 9
lib/js/_flatRest.js

@@ -1,6 +1,6 @@
-import { b2 as u, I as h, bm as m, a$ as d } from "./index2.js";
-import { i as b, g as f } from "./hasIn.js";
-function p(n, e, t) {
+import { aZ as u, I as h, bh as d, aW as m } from "./index2.js";
+import { i as p, g as f } from "./hasIn.js";
+function v(n, e, t) {
   switch (t.length) {
     case 0:
       return n.call(e);
@@ -13,13 +13,13 @@ function p(n, e, t) {
   }
   return n.apply(e, t);
 }
-var v = 800, g = 16, y = Date.now;
+var b = 800, g = 16, y = Date.now;
 function S(n) {
   var e = 0, t = 0;
   return function() {
     var a = y(), r = g - (a - t);
     if (t = a, r > 0) {
-      if (++e >= v)
+      if (++e >= b)
         return arguments[0];
     } else
       e = 0;
@@ -38,7 +38,7 @@ var x = f ? function(n, e) {
     value: w(e),
     writable: !0
   });
-} : b, T = S(x), c = Math.max;
+} : p, T = S(x), c = Math.max;
 function O(n, e, t) {
   return e = c(e === void 0 ? n.length - 1 : e, 0), function() {
     for (var a = arguments, r = -1, l = c(a.length - e, 0), o = Array(l); ++r < l; )
@@ -46,18 +46,18 @@ function O(n, e, t) {
     r = -1;
     for (var i = Array(e + 1); ++r < e; )
       i[r] = a[r];
-    return i[e] = t(o), p(n, this, i);
+    return i[e] = t(o), v(n, this, i);
   };
 }
 var s = u ? u.isConcatSpreadable : void 0;
 function C(n) {
-  return h(n) || m(n) || !!(s && n && n[s]);
+  return h(n) || d(n) || !!(s && n && n[s]);
 }
 function N(n, e, t, a, r) {
   var l = -1, o = n.length;
   for (t || (t = C), r || (r = []); ++l < o; ) {
     var i = n[l];
-    t(i) ? d(r, i) : r[r.length] = i;
+    t(i) ? m(r, i) : r[r.length] = i;
   }
   return r;
 }

+ 3 - 3
lib/js/_getPrototype.js

@@ -1,5 +1,5 @@
-import { bo as t } from "./index2.js";
-var e = t(Object.getPrototypeOf, Object);
+import { bj as t } from "./index2.js";
+var o = t(Object.getPrototypeOf, Object);
 export {
-  e as g
+  o as g
 };

+ 73 - 0
lib/js/common.js

@@ -0,0 +1,73 @@
+import { b$ as e } from "./index2.js";
+function o(t = "", n = "") {
+  const i = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${i}/office/recursionChildren?parentId=${t}&excludeIds=${n}`
+  });
+}
+function u(t = "") {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${n}/office/levelTwoChildren?parentId=${t}`
+  });
+}
+function r(t = "") {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${n}/office/levelOneChildren?parentId=${t}`
+  });
+}
+function d(t) {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    method: "get",
+    url: `${n}/v1/units/jobs?${e.stringify(t)}`
+  });
+}
+function P(t) {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${n}/user/users/authorizedIds`,
+    data: t
+  });
+}
+function _(t) {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${n}/v1/units/jobIds`,
+    data: t
+  });
+}
+function l(t) {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${n}/position/getByIds`,
+    data: t
+  });
+}
+function w(t) {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    method: "get",
+    url: `${n}/user/users/authorized`,
+    data: t
+  });
+}
+function A(t) {
+  const n = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `${n}/user/getByIds`,
+    data: t
+  });
+}
+export {
+  r as a,
+  o as b,
+  P as c,
+  w as d,
+  A as e,
+  d as g,
+  _ as j,
+  u as l,
+  l as p
+};

+ 1 - 1
lib/js/debounce.js

@@ -1,4 +1,4 @@
-import { aY as S, aV as y } from "./index2.js";
+import { aT as S, aQ as y } from "./index2.js";
 import { t as b } from "./toNumber.js";
 var h = function() {
   return S.Date.now();

+ 9 - 9
lib/js/hasIn.js

@@ -1,11 +1,11 @@
-import { I as u, b2 as l, bh as P, bi as b, bj as g, bk as w, bl as I, bm as E } from "./index2.js";
+import { I as u, aZ as c, bc as P, bd as w, be as g, bf as I, bg as b, bh as E } from "./index2.js";
 import { i as f } from "./isSymbol.js";
 function O(n, r) {
   for (var t = -1, e = n == null ? 0 : n.length, i = Array(e); ++t < e; )
     i[t] = r(n[t], t, n);
   return i;
 }
-var c = l ? l.prototype : void 0, h = c ? c.toString : void 0;
+var l = c ? c.prototype : void 0, h = l ? l.toString : void 0;
 function d(n) {
   if (typeof n == "string")
     return n;
@@ -37,7 +37,7 @@ function _(n, r, t) {
 var C = Object.prototype, S = C.hasOwnProperty;
 function G(n, r, t) {
   var e = n[r];
-  (!(S.call(n, r) && b(e, t)) || t === void 0 && !(r in n)) && _(n, r, t);
+  (!(S.call(n, r) && w(e, t)) || t === void 0 && !(r in n)) && _(n, r, t);
 }
 var x = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, A = /^\w*$/;
 function T(n, r) {
@@ -73,11 +73,11 @@ var N = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(
     r.push(i ? a.replace(R, "$1") : e || t);
   }), r;
 });
-function K(n) {
+function Z(n) {
   return n == null ? "" : d(n);
 }
 function m(n, r) {
-  return u(n) ? n : T(n, r) ? [n] : V(K(n));
+  return u(n) ? n : T(n, r) ? [n] : V(Z(n));
 }
 function y(n) {
   if (typeof n == "string" || f(n))
@@ -91,10 +91,10 @@ function H(n, r) {
     n = n[y(r[t++])];
   return t && t == e ? n : void 0;
 }
-function X(n, r) {
+function K(n, r) {
   return n != null && r in Object(n);
 }
-function Z(n, r, t) {
+function X(n, r, t) {
   r = m(r, n);
   for (var e = -1, i = r.length, a = !1; ++e < i; ) {
     var s = y(r[e]);
@@ -102,10 +102,10 @@ function Z(n, r, t) {
       break;
     n = n[s];
   }
-  return a || ++e != i ? a : (i = n == null ? 0 : n.length, !!i && w(i) && I(s, i) && (u(n) || E(n)));
+  return a || ++e != i ? a : (i = n == null ? 0 : n.length, !!i && I(i) && b(s, i) && (u(n) || E(n)));
 }
 function L(n, r) {
-  return n != null && Z(n, r, X);
+  return n != null && X(n, r, K);
 }
 export {
   O as a,

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
lib/js/index.js


+ 1 - 1
lib/js/index11.js

@@ -1,4 +1,4 @@
-import { g as E, m as L, d as x, r as X, a3 as M, i as _, u as P, _ as I, a1 as G, P as T, bs as A } from "./index2.js";
+import { g as E, m as L, d as x, r as X, a3 as M, i as _, u as P, _ as I, a1 as G, P as T, bn as A } from "./index2.js";
 import { defineComponent as B, shallowRef as H, watch as j, onBeforeUnmount as R, createVNode as r, isVNode as N, cloneVNode as O } from "vue";
 function V(n, e, c) {
   var t = c || {}, i = t.noTrailing, m = i === void 0 ? !1 : i, b = t.noLeading, $ = b === void 0 ? !1 : b, y = t.debounceMode, a = y === void 0 ? void 0 : y, o, g = !1, f = 0;

+ 44 - 44
lib/js/index12.js

@@ -1,5 +1,5 @@
-import { aV as Xe, bl as ft, w as me, c as le, K as q, d as T, M as j, P as we, q as D, bt as ht, bu as mt, bv as gt, ak as $t, ap as yt, bw as he, R as Fe, _ as te, e as ge, p as xt, aA as je, g as _t, m as St, r as tt, t as Ct, bx as at, i as nt, a8 as Tt, o as wt, n as Pt, aS as Rt, j as De, u as It, by as Et, ac as Bt, h as Lt, Q as xe, O as At, N as Dt } from "./index2.js";
-import { shallowRef as W, onBeforeUnmount as Me, defineComponent as ae, ref as Q, computed as H, createVNode as m, watchEffect as Ce, onMounted as Te, watch as ie, provide as kt, inject as Mt, toRefs as Nt } from "vue";
+import { aQ as Xe, bg as ft, w as me, c as le, K as Q, d as T, M as j, P as we, q as D, bo as ht, bp as mt, bq as gt, ak as $t, ap as yt, br as he, R as Fe, _ as te, e as ge, p as xt, av as je, g as _t, m as St, r as tt, t as Ct, bs as at, i as nt, a8 as Tt, o as wt, n as Pt, aN as Rt, j as De, u as It, bt as Et, ac as Bt, h as Lt, Q as xe, O as At, N as Dt } from "./index2.js";
+import { shallowRef as W, onBeforeUnmount as Me, defineComponent as ae, ref as Z, computed as H, createVNode as m, watchEffect as Ce, onMounted as Te, watch as ie, provide as kt, inject as Mt, toRefs as Nt } from "vue";
 import { u as Ot } from "./useRefs.js";
 import { c as ot, t as Wt, e as Ht, b as zt, h as Kt } from "./hasIn.js";
 import { f as Gt } from "./_flatRest.js";
@@ -61,7 +61,7 @@ function Ut(e) {
   }
   return [a, o];
 }
-const Zt = ae({
+const qt = ae({
   compatConfig: {
     MODE: 3
   },
@@ -108,7 +108,7 @@ const Zt = ae({
       expose: a,
       attrs: i
     } = t;
-    const o = Q();
+    const o = Z();
     function l(v) {
       var d;
       !((d = e.tab) === null || d === void 0) && d.disabled || e.onClick(v);
@@ -165,7 +165,7 @@ const Zt = ae({
           g.stopPropagation(), l(g);
         },
         onKeydown: (g) => {
-          [q.SPACE, q.ENTER].includes(g.which) && (g.preventDefault(), l(g));
+          [Q.SPACE, Q.ENTER].includes(g.which) && (g.preventDefault(), l(g));
         },
         onFocus: K
       }, [typeof c == "function" ? c() : c]), s.value && m("button", {
@@ -186,8 +186,8 @@ const Zt = ae({
   left: 0,
   top: 0
 };
-function qt(e, t) {
-  const a = Q(/* @__PURE__ */ new Map());
+function Qt(e, t) {
+  const a = Z(/* @__PURE__ */ new Map());
   return Ce(() => {
     var i, o;
     const l = /* @__PURE__ */ new Map(), n = e.value, s = t.value.get((i = n[0]) === null || i === void 0 ? void 0 : i.key) || Ye, v = s.left + s.width;
@@ -224,7 +224,7 @@ const lt = ae({
       expose: a,
       attrs: i
     } = t;
-    const o = Q();
+    const o = Z();
     return a({
       domRef: o
     }), () => {
@@ -247,7 +247,7 @@ const lt = ae({
       }, [n.addIcon ? n.addIcon() : "+"]);
     };
   }
-}), Qt = {
+}), Zt = {
   prefixCls: {
     type: String
   },
@@ -292,7 +292,7 @@ const lt = ae({
   },
   name: "OperationNode",
   inheritAttrs: !1,
-  props: Qt,
+  props: Zt,
   emits: ["tabClick"],
   slots: Object,
   setup(e, t) {
@@ -317,21 +317,21 @@ const lt = ae({
         which: y
       } = c;
       if (!o.value) {
-        [q.DOWN, q.SPACE, q.ENTER].includes(y) && (l(!0), c.preventDefault());
+        [Q.DOWN, Q.SPACE, Q.ENTER].includes(y) && (l(!0), c.preventDefault());
         return;
       }
       switch (y) {
-        case q.UP:
+        case Q.UP:
           v(-1), c.preventDefault();
           break;
-        case q.DOWN:
+        case Q.DOWN:
           v(1), c.preventDefault();
           break;
-        case q.ESC:
+        case Q.ESC:
           l(!1);
           break;
-        case q.SPACE:
-        case q.ENTER:
+        case Q.SPACE:
+        case Q.ENTER:
           n.value !== null && e.onTabClick(n.value, c);
           break;
       }
@@ -449,8 +449,8 @@ const lt = ae({
 }), rt = Symbol("tabsContextKey"), st = (e) => {
   kt(rt, e);
 }, dt = () => Mt(rt, {
-  tabs: Q([]),
-  prefixCls: Q()
+  tabs: Z([]),
+  prefixCls: Z()
 });
 ae({
   compatConfig: {
@@ -478,9 +478,9 @@ ae({
     };
   }
 });
-const ea = 0.1, Ue = 0.01, _e = 20, Ze = Math.pow(0.995, _e);
+const ea = 0.1, Ue = 0.01, _e = 20, qe = Math.pow(0.995, _e);
 function ta(e, t) {
-  const [a, i] = D(), [o, l] = D(0), [n, s] = D(0), [v, d] = D(), p = Q();
+  const [a, i] = D(), [o, l] = D(0), [n, s] = D(0), [v, d] = D(), p = Z();
   function S(r) {
     const {
       screenX: g,
@@ -520,11 +520,11 @@ function ta(e, t) {
           clearInterval(p.value);
           return;
         }
-        R *= Ze, G *= Ze, t(R * _e, G * _e);
+        R *= qe, G *= qe, t(R * _e, G * _e);
       }, _e);
     }
   }
-  const y = Q();
+  const y = Z();
   function x(r) {
     const {
       deltaX: g,
@@ -534,7 +534,7 @@ function ta(e, t) {
     const E = Math.abs(g), R = Math.abs(u);
     E === R ? $ = y.value === "x" ? g : u : E > R ? ($ = g, y.value = "x") : ($ = u, y.value = "y"), t(-$, -$) && r.preventDefault();
   }
-  const w = Q({
+  const w = Z({
     onTouchStart: S,
     onTouchMove: h,
     onTouchEnd: c,
@@ -567,15 +567,15 @@ function ta(e, t) {
     document.removeEventListener("touchmove", k), document.removeEventListener("touchend", K);
   });
 }
-function qe(e, t) {
-  const a = Q(e);
+function Qe(e, t) {
+  const a = Z(e);
   function i(o) {
     const l = typeof o == "function" ? o(a.value) : o;
     l !== a.value && t(l, a.value), a.value = l;
   }
   return [a, i];
 }
-const Qe = {
+const Ze = {
   width: 0,
   height: 0,
   left: 0,
@@ -648,15 +648,15 @@ const Qe = {
     const {
       tabs: o,
       prefixCls: l
-    } = dt(), n = W(), s = W(), v = W(), d = W(), [p, S] = Ot(), h = H(() => e.tabPosition === "top" || e.tabPosition === "bottom"), [c, y] = qe(0, (f, b) => {
+    } = dt(), n = W(), s = W(), v = W(), d = W(), [p, S] = Ot(), h = H(() => e.tabPosition === "top" || e.tabPosition === "bottom"), [c, y] = Qe(0, (f, b) => {
       h.value && e.onTabScroll && e.onTabScroll({
         direction: f > b ? "left" : "right"
       });
-    }), [x, w] = qe(0, (f, b) => {
+    }), [x, w] = Qe(0, (f, b) => {
       !h.value && e.onTabScroll && e.onTabScroll({
         direction: f > b ? "top" : "bottom"
       });
-    }), [C, k] = D(0), [K, M] = D(0), [r, g] = D(null), [u, $] = D(null), [E, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), I = qt(o, se), J = H(() => `${l.value}-nav-operations-hidden`), N = W(0), V = W(0);
+    }), [C, k] = D(0), [K, M] = D(0), [r, g] = D(null), [u, $] = D(null), [E, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), I = Qt(o, se), J = H(() => `${l.value}-nav-operations-hidden`), N = W(0), V = W(0);
     Ce(() => {
       h.value ? e.rtl ? (N.value = 0, V.value = Math.max(0, C.value - r.value)) : (N.value = Math.min(0, r.value - C.value), V.value = 0) : (N.value = Math.min(0, u.value - K.value), V.value = 0);
     });
@@ -709,18 +709,18 @@ const Qe = {
       const F = o.value;
       if (!F.length)
         return [Pe.value, Re.value] = [0, 0];
-      const Z = F.length;
-      let oe = Z;
-      for (let X = 0; X < Z; X += 1) {
-        const ee = U.get(F[X].key) || Qe;
+      const q = F.length;
+      let oe = q;
+      for (let X = 0; X < q; X += 1) {
+        const ee = U.get(F[X].key) || Ze;
         if (ee[b] + ee[f] > _ + O) {
           oe = X - 1;
           break;
         }
       }
       let A = 0;
-      for (let X = Z - 1; X >= 0; X -= 1)
-        if ((U.get(F[X].key) || Qe)[b] < _) {
+      for (let X = q - 1; X >= 0; X -= 1)
+        if ((U.get(F[X].key) || Ze)[b] < _) {
           A = X + 1;
           break;
         }
@@ -736,11 +736,11 @@ const Qe = {
           } = P;
           const B = S.value.get(L), U = (B == null ? void 0 : B.$el) || B;
           if (U) {
-            const [O, F, Z, oe] = na(U, _);
+            const [O, F, q, oe] = na(U, _);
             b.set(L, {
               width: O,
               height: F,
-              left: Z,
+              left: q,
               top: oe
             });
           }
@@ -754,9 +754,9 @@ const Qe = {
     });
     const Ie = () => {
       var f, b, _, P, L;
-      const B = ((f = n.value) === null || f === void 0 ? void 0 : f.offsetWidth) || 0, U = ((b = n.value) === null || b === void 0 ? void 0 : b.offsetHeight) || 0, O = ((_ = d.value) === null || _ === void 0 ? void 0 : _.$el) || {}, F = O.offsetWidth || 0, Z = O.offsetHeight || 0;
-      g(B), $(U), R(F), re(Z);
-      const oe = (((P = s.value) === null || P === void 0 ? void 0 : P.offsetWidth) || 0) - F, A = (((L = s.value) === null || L === void 0 ? void 0 : L.offsetHeight) || 0) - Z;
+      const B = ((f = n.value) === null || f === void 0 ? void 0 : f.offsetWidth) || 0, U = ((b = n.value) === null || b === void 0 ? void 0 : b.offsetHeight) || 0, O = ((_ = d.value) === null || _ === void 0 ? void 0 : _.$el) || {}, F = O.offsetWidth || 0, q = O.offsetHeight || 0;
+      g(B), $(U), R(F), re(q);
+      const oe = (((P = s.value) === null || P === void 0 ? void 0 : P.offsetWidth) || 0) - F, A = (((L = s.value) === null || L === void 0 ? void 0 : L.offsetHeight) || 0) - q;
       k(oe), M(A), Ne();
     }, Oe = H(() => [...o.value.slice(0, Pe.value), ...o.value.slice(Re.value + 1)]), [ut, vt] = D(), ne = H(() => I.value.get(e.activeKey)), We = W(), He = () => {
       me.cancel(We.value);
@@ -803,7 +803,7 @@ const Qe = {
         tabBarGutter: O,
         onTabClick: F
       } = e, {
-        class: Z,
+        class: q,
         style: oe
       } = a, A = l.value, X = !!Oe.value.length, ee = `${A}-nav-wrap`;
       let Be, Le, ze, Ke;
@@ -814,7 +814,7 @@ const Qe = {
         const {
           key: fe
         } = Ae;
-        return m(Zt, {
+        return m(qt, {
           id: f,
           prefixCls: A,
           key: fe,
@@ -835,7 +835,7 @@ const Qe = {
       });
       return m("div", {
         role: "tablist",
-        class: le(`${A}-nav`, Z),
+        class: le(`${A}-nav`, q),
         style: oe,
         onKeydown: () => {
           be();
@@ -2059,7 +2059,7 @@ const fa = ae({
       attrs: a,
       slots: i
     } = t;
-    const o = Q(e.forceRender);
+    const o = Z(e.forceRender);
     ie([() => e.active, () => e.destroyInactiveTabPane], () => {
       e.active ? o.value = !0 : e.destroyInactiveTabPane && (o.value = !1);
     }, {

+ 1 - 1
lib/js/index13.js

@@ -1,4 +1,4 @@
-import { c as pe, o as be, _ as W, n as he, K, J as Be, a8 as ze, d as E, bz as Q, bA as _e, i as Me, q as Ne, P as ue, j as Ge, u as Ke, x as We, y as Ue, B as Xe, C as qe, bB as Je, M as Qe, Q as fe, O as Ye, N as Pe } from "./index2.js";
+import { c as pe, o as be, _ as W, n as he, K, J as Be, a8 as ze, d as E, bu as Q, bv as _e, i as Me, q as Ne, P as ue, j as Ge, u as Ke, x as We, y as Ue, B as Xe, C as qe, bw as Je, M as Qe, Q as fe, O as Ye, N as Pe } from "./index2.js";
 import { provide as Ze, inject as et, defineComponent as Oe, computed as S, reactive as tt, watch as ye, toRaw as ke, nextTick as Ae, createVNode as $, Fragment as nt, shallowRef as se, watchEffect as me, toRef as Z, ref as Te } from "vue";
 import { u as lt, T as ot, i as Le, d as Se, a as at, f as it, e as st, t as ut, B as rt, b as ct, c as dt, g as ft } from "./index4.js";
 import { c as vt } from "./createRef.js";

+ 3 - 3
lib/js/index14.js

@@ -12,8 +12,8 @@ var c = (e, a, t) => a in e ? u(e, a, { enumerable: !0, configurable: !0, writab
 }, n = (e, a) => d(e, f(a));
 import { h as g } from "vue";
 import { t as p, T as y } from "./Table.js";
-import { bC as m } from "./index2.js";
-const C = {
+import { bx as m } from "./index2.js";
+const O = {
   data() {
     return {
       needTotalList: [],
@@ -265,5 +265,5 @@ const C = {
   }
 };
 export {
-  C as S
+  O as S
 };

+ 58 - 58
lib/js/index15.js

@@ -1,5 +1,5 @@
 import { t as fe, f as Ie, a as ze, r as X, i as Ae, I as b, _ as Re } from "./Search.js";
-import { u as ae, _ as F, c as j, a1 as $e, f as O, P as Te, aP as Pe, p as te, af as Ee, w as Y, aQ as _e, o as le, d as C, R as Fe, y as Ve, n as Be, V as Oe, b$ as Me } from "./index2.js";
+import { u as ae, _ as F, c as j, a1 as Te, f as O, P as $e, aK as Pe, p as te, af as Ee, w as Y, aL as _e, o as le, d as C, R as Fe, y as Ve, n as Be, V as Oe, bW as Me } from "./index2.js";
 import { defineComponent as H, computed as B, createVNode as w, ref as M, onBeforeUnmount as re, watchEffect as oe, watch as ne, getCurrentInstance as ve, shallowRef as V, nextTick as ue } from "vue";
 import { F as Z, u as je } from "./FormItemContext.js";
 import { u as me } from "./index16.js";
@@ -52,11 +52,11 @@ const De = H({
       }), [(a = l.default) === null || a === void 0 ? void 0 : a.call(l)]));
     };
   }
-}), de = (e) => e != null && (Array.isArray(e) ? $e(e).length : !0);
+}), de = (e) => e != null && (Array.isArray(e) ? Te(e).length : !0);
 function He(e) {
   return de(e.addonBefore) || de(e.addonAfter);
 }
-const Ge = ["text", "input"], Le = H({
+const Le = ["text", "input"], Ge = H({
   compatConfig: {
     MODE: 3
   },
@@ -64,7 +64,7 @@ const Ge = ["text", "input"], Le = H({
   inheritAttrs: !1,
   props: {
     prefixCls: String,
-    inputType: Te.oneOf(Pe("text", "input")),
+    inputType: $e.oneOf(Pe("text", "input")),
     value: O(),
     defaultValue: O(),
     allowClear: {
@@ -121,7 +121,7 @@ const Ge = ["text", "input"], Le = H({
       } = e, x = !s && !g && d, S = `${o}-clear-icon`;
       return w(Ee, {
         onClick: u,
-        onMousedown: (T) => T.preventDefault(),
+        onMousedown: ($) => $.preventDefault(),
         class: j({
           [`${S}-hidden`]: !x,
           [`${S}-has-suffix`]: !!a
@@ -136,9 +136,9 @@ const Ge = ["text", "input"], Le = H({
         bordered: a,
         hidden: x,
         status: S,
-        addonAfter: T = l.addonAfter,
+        addonAfter: $ = l.addonAfter,
         addonBefore: f = l.addonBefore,
-        hashId: $
+        hashId: T
       } = e, {
         status: y,
         hasFeedback: I
@@ -153,10 +153,10 @@ const Ge = ["text", "input"], Le = H({
         [`${o}-affix-wrapper-borderless`]: !a,
         // className will go to addon wrapper
         [`${n.class}`]: !He({
-          addonAfter: T,
+          addonAfter: $,
           addonBefore: f
         }) && n.class
-      }, $);
+      }, T);
       return w("span", {
         class: z,
         style: n.style,
@@ -174,7 +174,7 @@ const Ge = ["text", "input"], Le = H({
         inputType: s,
         element: g = (o = l.element) === null || o === void 0 ? void 0 : o.call(l)
       } = e;
-      return s === Ge[0] ? v(d, g) : null;
+      return s === Le[0] ? v(d, g) : null;
     };
   }
 }), Ne = `
@@ -188,22 +188,22 @@ const Ge = ["text", "input"], Le = H({
   top:0 !important;
   right:0 !important;
   pointer-events: none !important;
-`, Ye = ["letter-spacing", "line-height", "padding-top", "padding-bottom", "font-family", "font-weight", "font-size", "font-variant", "text-rendering", "text-transform", "width", "text-indent", "padding-left", "padding-right", "border-width", "box-sizing", "word-break", "white-space"], Q = {};
+`, Ye = ["letter-spacing", "line-height", "padding-top", "padding-bottom", "font-family", "font-weight", "font-size", "font-variant", "text-rendering", "text-transform", "width", "text-indent", "padding-left", "padding-right", "border-width", "box-sizing", "word-break", "white-space"], q = {};
 let R;
 function Ze(e) {
   let m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
   const l = e.getAttribute("id") || e.getAttribute("data-reactid") || e.getAttribute("name");
-  if (m && Q[l])
-    return Q[l];
+  if (m && q[l])
+    return q[l];
   const n = window.getComputedStyle(e), i = n.getPropertyValue("box-sizing") || n.getPropertyValue("-moz-box-sizing") || n.getPropertyValue("-webkit-box-sizing"), h = parseFloat(n.getPropertyValue("padding-bottom")) + parseFloat(n.getPropertyValue("padding-top")), v = parseFloat(n.getPropertyValue("border-bottom-width")) + parseFloat(n.getPropertyValue("border-top-width")), d = {
     sizingStyle: Ye.map((s) => `${s}:${n.getPropertyValue(s)}`).join(";"),
     paddingSize: h,
     borderSize: v,
     boxSizing: i
   };
-  return m && l && (Q[l] = d), d;
+  return m && l && (q[l] = d), d;
 }
-function Ue(e) {
+function Ke(e) {
   let m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
   R || (R = document.createElement("textarea"), R.setAttribute("tab-index", "-1"), R.setAttribute("aria-hidden", "true"), document.body.appendChild(R)), e.getAttribute("wrap") ? R.setAttribute("wrap", e.getAttribute("wrap")) : R.removeAttribute("wrap");
   const {
@@ -226,7 +226,7 @@ function Ue(e) {
   };
   return d && (a.minHeight = `${d}px`), s && (a.maxHeight = `${s}px`), a;
 }
-const q = 0, J = 1, ee = 2, Ke = H({
+const J = 0, Q = 1, ee = 2, Ue = H({
   compatConfig: {
     MODE: 3
   },
@@ -257,31 +257,31 @@ const q = 0, J = 1, ee = 2, Ke = H({
       c ? (u.value = c.minRows, a.value = c.maxRows) : (u.value = void 0, a.value = void 0);
     });
     const x = B(() => !!(e.autoSize || e.autosize)), S = () => {
-      s.value = q;
+      s.value = J;
     };
     ne([() => e.value, u, a, x], () => {
       x.value && S();
     }, {
       immediate: !0
     });
-    const T = M();
+    const $ = M();
     ne([s, o], () => {
       if (o.value)
-        if (s.value === q)
-          s.value = J;
-        else if (s.value === J) {
-          const c = Ue(o.value.input, !1, u.value, a.value);
-          s.value = ee, T.value = c;
+        if (s.value === J)
+          s.value = Q;
+        else if (s.value === Q) {
+          const c = Ke(o.value.input, !1, u.value, a.value);
+          s.value = ee, $.value = c;
         } else
           g();
     }, {
       immediate: !0,
       flush: "post"
     });
-    const f = ve(), $ = M(), y = () => {
-      Y.cancel($.value);
+    const f = ve(), T = M(), y = () => {
+      Y.cancel(T.value);
     }, I = (c) => {
-      s.value === ee && (n("resize", c), x.value && (y(), $.value = Y(() => {
+      s.value === ee && (n("resize", c), x.value && (y(), T.value = Y(() => {
         S();
       })));
     };
@@ -301,13 +301,13 @@ const q = 0, J = 1, ee = 2, Ke = H({
       const {
         prefixCls: c,
         disabled: k
-      } = e, D = le(e, ["prefixCls", "onPressEnter", "autoSize", "autosize", "defaultValue", "allowClear", "type", "maxlength", "valueModifiers"]), U = j(c, l.class, {
+      } = e, D = le(e, ["prefixCls", "onPressEnter", "autoSize", "autosize", "defaultValue", "allowClear", "type", "maxlength", "valueModifiers"]), K = j(c, l.class, {
         [`${c}-disabled`]: k
-      }), G = x.value ? T.value : null, L = [l.style, d.value, G], _ = C(C(C({}, D), l), {
-        style: L,
-        class: U
+      }), L = x.value ? $.value : null, G = [l.style, d.value, L], _ = C(C(C({}, D), l), {
+        style: G,
+        class: K
       });
-      return (s.value === q || s.value === J) && L.push({
+      return (s.value === J || s.value === Q) && G.push({
         overflowX: "hidden",
         overflowY: "hidden"
       }), _.autofocus || delete _.autofocus, _.rows === 0 && delete _.rows, w(Fe, {
@@ -348,7 +348,7 @@ const We = H({
       prefixCls: a,
       size: x,
       direction: S
-    } = ae("input", e), [T, f] = me(a), $ = Ve(), y = B(() => e.showCount === "" || e.showCount || !1), I = B(() => Number(e.maxlength) > 0), z = V(!1), P = V(), c = V(0), k = (t) => {
+    } = ae("input", e), [$, f] = me(a), T = Ve(), y = B(() => e.showCount === "" || e.showCount || !1), I = B(() => Number(e.maxlength) > 0), z = V(!1), P = V(), c = V(0), k = (t) => {
       z.value = !0, P.value = u.value, c.value = t.currentTarget.selectionStart, i("compositionstart", t);
     }, D = (t) => {
       var r;
@@ -358,16 +358,16 @@ const We = H({
         const E = c.value >= e.maxlength + 1 || c.value === ((r = P.value) === null || r === void 0 ? void 0 : r.length);
         p = ce(E, P.value, p, e.maxlength);
       }
-      p !== u.value && (_(p), X(t.currentTarget, t, K, p)), i("compositionend", t);
-    }, U = ve();
+      p !== u.value && (_(p), X(t.currentTarget, t, U, p)), i("compositionend", t);
+    }, K = ve();
     ne(() => e.value, () => {
       var t;
-      "value" in U.vnode.props, s.value = (t = e.value) !== null && t !== void 0 ? t : "";
+      "value" in K.vnode.props, s.value = (t = e.value) !== null && t !== void 0 ? t : "";
     });
-    const G = (t) => {
+    const L = (t) => {
       var r;
       ze((r = g.value) === null || r === void 0 ? void 0 : r.textArea, t);
-    }, L = () => {
+    }, G = () => {
       var t, r;
       (r = (t = g.value) === null || t === void 0 ? void 0 : t.textArea) === null || r === void 0 || r.blur();
     }, _ = (t, r) => {
@@ -384,11 +384,11 @@ const We = H({
         onBlur: r
       } = e;
       r == null || r(t), v.onFieldBlur();
-    }, K = (t) => {
+    }, U = (t) => {
       i("update:value", t.target.value), i("change", t), i("input", t), v.onFieldChange();
     }, ye = (t) => {
-      X(g.value.textArea, t, K), _("", () => {
-        G();
+      X(g.value.textArea, t, U), _("", () => {
+        L();
       });
     }, se = (t) => {
       let r = t.target.value;
@@ -397,7 +397,7 @@ const We = H({
           const p = t.target, E = p.selectionStart >= e.maxlength + 1 || p.selectionStart === r.length || !p.selectionStart;
           r = ce(E, u.value, r, e.maxlength);
         }
-        X(t.currentTarget, t, K, r), _(r);
+        X(t.currentTarget, t, U, r), _(r);
       }
     }, Se = () => {
       var t, r;
@@ -412,7 +412,7 @@ const We = H({
           [`${a.value}-sm`]: x.value === "small",
           [`${a.value}-lg`]: x.value === "large"
         }, ge(a.value, d.value), f.value],
-        disabled: $.value,
+        disabled: T.value,
         showCount: null,
         prefixCls: a.value,
         onInput: se,
@@ -422,7 +422,7 @@ const We = H({
         onCompositionstart: k,
         onCompositionend: D
       });
-      return !((t = e.valueModifiers) === null || t === void 0) && t.lazy && delete A.onInput, w(Ke, F(F({}, A), {}, {
+      return !((t = e.valueModifiers) === null || t === void 0) && t.lazy && delete A.onInput, w(Ue, F(F({}, A), {}, {
         id: (r = A == null ? void 0 : A.id) !== null && r !== void 0 ? r : v.id.value,
         ref: g,
         maxlength: e.maxlength,
@@ -430,8 +430,8 @@ const We = H({
       }), null);
     };
     return n({
-      focus: G,
-      blur: L,
+      focus: L,
+      blur: G,
       resizableTextArea: g
     }), oe(() => {
       let t = Ie(s.value);
@@ -453,9 +453,9 @@ const We = H({
         bordered: p,
         style: y.value ? void 0 : A,
         hashId: f.value,
-        disabled: (t = e.disabled) !== null && t !== void 0 ? t : $.value
+        disabled: (t = e.disabled) !== null && t !== void 0 ? t : T.value
       });
-      let W = w(Le, F(F({}, we), {}, {
+      let W = w(Ge, F(F({}, we), {}, {
         value: u.value,
         status: e.status
       }), {
@@ -481,7 +481,7 @@ const We = H({
           class: `${a.value}-textarea-suffix`
         }, [o.feedbackIcon])]);
       }
-      return T(W);
+      return $(W);
     };
   }
 });
@@ -492,10 +492,10 @@ var Xe = function(e, m) {
     m.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (l[n[i]] = e[n[i]]);
   return l;
 };
-const Qe = {
+const qe = {
   click: "onClick",
   hover: "onMouseover"
-}, qe = (e) => e ? w(Oe, null, null) : w(Me, null, null), Je = H({
+}, Je = (e) => e ? w(Oe, null, null) : w(Me, null, null), Qe = H({
   compatConfig: {
     MODE: 3
   },
@@ -548,9 +548,9 @@ const Qe = {
     });
     const u = (f) => {
       const {
-        action: $,
-        iconRender: y = l.iconRender || qe
-      } = e, I = Qe[$] || "", z = y(v.value), P = {
+        action: T,
+        iconRender: y = l.iconRender || Je
+      } = e, I = qe[T] || "", z = y(v.value), P = {
         [I]: o,
         class: `${f}-icon`,
         key: "passwordIcon",
@@ -565,11 +565,11 @@ const Qe = {
     }, {
       prefixCls: a,
       getPrefixCls: x
-    } = ae("input-password", e), S = B(() => x("input", e.inputPrefixCls)), T = () => {
+    } = ae("input-password", e), S = B(() => x("input", e.inputPrefixCls)), $ = () => {
       const {
         size: f,
-        visibilityToggle: $
-      } = e, y = Xe(e, ["size", "visibilityToggle"]), I = $ && u(a.value), z = j(a.value, n.class, {
+        visibilityToggle: T
+      } = e, y = Xe(e, ["size", "visibilityToggle"]), I = T && u(a.value), z = j(a.value, n.class, {
         [`${a.value}-${f}`]: !!f
       }), P = C(C(C({}, le(y, ["suffix", "iconRender", "action"])), n), {
         type: v.value ? "text" : "password",
@@ -581,13 +581,13 @@ const Qe = {
         ref: d
       }, P), l);
     };
-    return () => T();
+    return () => $();
   }
 });
 b.Group = De;
 b.Search = Re;
 b.TextArea = We;
-b.Password = Je;
+b.Password = Qe;
 b.install = function(e) {
   return e.component(b.name, b), e.component(b.Group.name, b.Group), e.component(b.Search.name, b.Search), e.component(b.TextArea.name, b.TextArea), e.component(b.Password.name, b.Password), e;
 };

+ 15 - 15
lib/js/index17.js

@@ -1,8 +1,8 @@
-import { d as h, O as m, M as S, Q as ne, P as te, h as E, u as H, y as le, aQ as oe, a8 as ue, c as R, _ as P } from "./index2.js";
-import { defineComponent as X, inject as re, computed as y, watchEffect as se, onBeforeUnmount as ce, onMounted as ie, ref as I, createVNode as O, watch as K, provide as de } from "vue";
+import { d as h, O as m, M as S, Q as ne, P as te, h as E, u as L, y as le, aL as oe, a8 as ue, c as R, _ as P } from "./index2.js";
+import { defineComponent as Q, inject as re, computed as y, watchEffect as se, onBeforeUnmount as ce, onMounted as ie, ref as I, createVNode as O, watch as K, provide as de } from "vue";
 import { V as ve } from "./Checkbox.js";
-import { u as q, F as fe } from "./FormItemContext.js";
-import { u as z } from "./index6.js";
+import { u as X, F as fe } from "./FormItemContext.js";
+import { u as q } from "./index6.js";
 const me = () => ({
   name: String,
   prefixCls: String,
@@ -32,15 +32,15 @@ const me = () => ({
   skipGroup: m(!1)
 }), pe = () => h(h({}, be()), {
   indeterminate: m(!1)
-}), J = Symbol("CheckboxGroupContext");
-var Q = function(e, b) {
+}), z = Symbol("CheckboxGroupContext");
+var H = function(e, b) {
   var u = {};
   for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && b.indexOf(t) < 0 && (u[t] = e[t]);
   if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var s = 0, t = Object.getOwnPropertySymbols(e); s < t.length; s++)
     b.indexOf(t[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[s]) && (u[t[s]] = e[t[s]]);
   return u;
 };
-const w = X({
+const w = Q({
   compatConfig: {
     MODE: 3
   },
@@ -56,11 +56,11 @@ const w = X({
       slots: s,
       expose: _
     } = b;
-    const C = q(), M = fe.useInject(), {
+    const C = X(), M = fe.useInject(), {
       prefixCls: c,
       direction: p,
       disabled: j
-    } = H("checkbox", e), $ = le(), [i, f] = z(c), l = re(J, void 0), g = Symbol("checkboxUniId"), G = y(() => (l == null ? void 0 : l.disabled.value) || j.value);
+    } = L("checkbox", e), $ = le(), [i, f] = q(c), l = re(z, void 0), g = Symbol("checkboxUniId"), G = y(() => (l == null ? void 0 : l.disabled.value) || j.value);
     se(() => {
       !e.skipGroup && l && l.registerValue(g, e.value);
     }), ce(() => {
@@ -87,13 +87,13 @@ const w = X({
         indeterminate: o,
         skipGroup: d,
         id: F = C.id.value
-      } = e, T = Q(e, ["indeterminate", "skipGroup", "id"]), {
+      } = e, T = H(e, ["indeterminate", "skipGroup", "id"]), {
         onMouseenter: D,
         onMouseleave: k,
         onInput: ge,
         class: W,
         style: Y
-      } = t, Z = Q(t, ["onMouseenter", "onMouseleave", "onInput", "class", "style"]), v = h(h(h(h({}, T), {
+      } = t, Z = H(t, ["onMouseenter", "onMouseleave", "onInput", "class", "style"]), v = h(h(h(h({}, T), {
         id: F,
         prefixCls: c.value
       }), Z), {
@@ -129,7 +129,7 @@ const w = X({
       }), null), r.length ? O("span", null, [r]) : null]));
     };
   }
-}), U = X({
+}), U = Q({
   compatConfig: {
     MODE: 3
   },
@@ -144,10 +144,10 @@ const w = X({
       emit: s,
       expose: _
     } = b;
-    const C = q(), {
+    const C = X(), {
       prefixCls: M,
       direction: c
-    } = H("checkbox", e), p = y(() => `${M.value}-group`), [j, $] = z(p), i = I((e.value === void 0 ? e.defaultValue : e.value) || []);
+    } = L("checkbox", e), p = y(() => `${M.value}-group`), [j, $] = q(p), i = I((e.value === void 0 ? e.defaultValue : e.value) || []);
     K(() => e.value, () => {
       i.value = e.value || [];
     });
@@ -164,7 +164,7 @@ const w = X({
       for (const a of g.value.values())
         n.set(a, !0);
       x.value = n;
-    }), de(J, {
+    }), de(z, {
       cancelValue: G,
       registerValue: A,
       toggleOption: (n) => {

+ 10 - 10
lib/js/index18.js

@@ -1,11 +1,11 @@
-import { g as oo, m as eo, d as I, r as j, a3 as to, aU as U, M as E, O as z, P as V, y as A, u as H, o as ro, c as K, _ as D, Q as _, h as no } from "./index2.js";
-import { provide as L, inject as N, defineComponent as M, computed as O, ref as F, createVNode as T, watch as io, nextTick as ao } from "vue";
+import { g as oo, m as eo, d as I, r as j, a3 as to, aP as V, M as E, O as z, P as K, y as A, u as H, o as ro, c as L, _ as D, Q as _, h as no } from "./index2.js";
+import { provide as U, inject as N, defineComponent as M, computed as O, ref as F, createVNode as T, watch as io, nextTick as ao } from "vue";
 import { V as lo } from "./Checkbox.js";
 import { u as X, F as so } from "./FormItemContext.js";
 const Q = Symbol("radioGroupContextKey"), co = (o) => {
-  L(Q, o);
+  U(Q, o);
 }, uo = () => N(Q, void 0), q = Symbol("radioOptionTypeContextKey"), po = (o) => {
-  L(q, o);
+  U(q, o);
 }, bo = () => N(q, void 0), go = new to("antRadioEffect", {
   "0%": {
     transform: "scale(1)",
@@ -108,7 +108,7 @@ const Q = Symbol("radioGroupContextKey"), co = (o) => {
         &:hover ${a}`]: {
         borderColor: t
       },
-      [`${r}-input:focus-visible + ${a}`]: I({}, U(o)),
+      [`${r}-input:focus-visible + ${a}`]: I({}, V(o)),
       [`${r}:hover::after, ${r}-wrapper:hover &::after`]: {
         visibility: "visible"
       },
@@ -319,7 +319,7 @@ const Q = Symbol("radioGroupContextKey"), co = (o) => {
         position: "relative",
         color: p
       },
-      "&:has(:focus-visible)": I({}, U(o)),
+      "&:has(:focus-visible)": I({}, V(o)),
       [`${t}-inner, input[type='checkbox'], input[type='radio']`]: {
         width: 0,
         height: 0,
@@ -436,7 +436,7 @@ const Y = () => ({
   checked: z(),
   disabled: z(),
   isGroup: z(),
-  value: V.any,
+  value: K.any,
   name: String,
   id: String,
   autofocus: z(),
@@ -494,7 +494,7 @@ const Y = () => ({
         disabled: (l = h.value) !== null && l !== void 0 ? l : m.value
       });
       S ? ($.name = S.name.value, $.onChange = R, $.checked = o.value === S.value.value, $.disabled = g.value || S.disabled.value) : $.onChange = v;
-      const Z = K({
+      const Z = L({
         [`${i.value}-wrapper`]: !0,
         [`${i.value}-wrapper-checked`]: $.checked,
         [`${i.value}-wrapper-disabled`]: $.disabled,
@@ -511,7 +511,7 @@ const Y = () => ({
   }
 }), mo = () => ({
   prefixCls: String,
-  value: V.any,
+  value: K.any,
   size: _(),
   options: no(),
   disabled: z(),
@@ -561,7 +561,7 @@ const Y = () => ({
         options: h,
         buttonStyle: i,
         id: m = d.id.value
-      } = o, u = `${s.value}-group`, p = K(u, `${u}-${i}`, {
+      } = o, u = `${s.value}-group`, p = L(u, `${u}-${i}`, {
         [`${u}-${C.value}`]: C.value,
         [`${u}-rtl`]: w.value === "rtl"
       }, e.class, B.value);

+ 42 - 42
lib/js/index19.js

@@ -1,9 +1,9 @@
-import { i as Q, l as de, u as X, j as ce, d as p, o as se, a1 as Y, _ as P, c as ee, M as $, P as z, O as m, e as ie, h as D, N as Z, bY as re, bZ as ue, b_ as fe } from "./index2.js";
-import { createVNode as T, defineComponent as te, ref as N, computed as h, watchEffect as ve, watch as V, onUpdated as ye, nextTick as Ke } from "vue";
+import { i as Y, l as de, u as Z, j as ce, d as p, o as se, a1 as q, _ as P, c as ee, M as $, P as J, O as m, e as ie, h as D, N as z, bT as re, bU as ue, bV as fe } from "./index2.js";
+import { createVNode as N, defineComponent as te, ref as T, computed as h, watchEffect as ve, watch as M, onUpdated as ye, nextTick as Ke } from "vue";
 import { u as he, T as pe, r as xe, t as ke, V as me } from "./index20.js";
 import { d as be } from "./debounce.js";
-import { e as G, f as Ee, c as Ne, g as Te } from "./useMaxLevel.js";
-const J = 4;
+import { e as Q, f as Ee, c as Te, g as Ne } from "./useMaxLevel.js";
+const X = 4;
 function _e(e) {
   const {
     dropPosition: r,
@@ -12,7 +12,7 @@ function _e(e) {
     indent: l,
     direction: u = "ltr"
   } = e, d = u === "ltr" ? "left" : "right", c = u === "ltr" ? "right" : "left", v = {
-    [d]: `${-s * l + J}px`,
+    [d]: `${-s * l + X}px`,
     [c]: 0
   };
   switch (r) {
@@ -23,10 +23,10 @@ function _e(e) {
       v.bottom = "-3px";
       break;
     default:
-      v.bottom = "-3px", v[d] = `${l + J}px`;
+      v.bottom = "-3px", v[d] = `${l + X}px`;
       break;
   }
-  return T("div", {
+  return N("div", {
     style: v,
     class: `${a}-drop-indicator`
   }, null);
@@ -34,7 +34,7 @@ function _e(e) {
 const ne = () => {
   const e = ke();
   return p(p({}, e), {
-    showLine: Z([Boolean, Object]),
+    showLine: z([Boolean, Object]),
     /** 是否支持多选 */
     multiple: m(),
     /** 是否自动展开父节点 */
@@ -54,7 +54,7 @@ const ne = () => {
     /** (受控)展开指定的树节点 */
     expandedKeys: D(),
     /** (受控)选中复选框的树节点 */
-    checkedKeys: Z([Array, Object]),
+    checkedKeys: z([Array, Object]),
     /** 默认选中复选框的树节点 */
     defaultCheckedKeys: D(),
     /** (受控)设置选中的树节点 */
@@ -66,7 +66,7 @@ const ne = () => {
     draggable: m(),
     showIcon: m(),
     icon: $(),
-    switcherIcon: z.any,
+    switcherIcon: J.any,
     prefixCls: String,
     /**
      * @default{title,key,children}
@@ -75,7 +75,7 @@ const ne = () => {
      */
     replaceFields: ie(),
     blockNode: m(),
-    openAnimation: z.any,
+    openAnimation: J.any,
     onDoubleclick: e.onDblclick,
     "onUpdate:selectedKeys": $(),
     "onUpdate:checkedKeys": $(),
@@ -87,7 +87,7 @@ const ne = () => {
   },
   name: "ATree",
   inheritAttrs: !1,
-  props: Q(ne(), {
+  props: Y(ne(), {
     checkable: !1,
     selectable: !0,
     showIcon: !1,
@@ -106,7 +106,7 @@ const ne = () => {
       prefixCls: d,
       direction: c,
       virtual: v
-    } = X("tree", e), [y, E] = he(d), i = N();
+    } = Z("tree", e), [y, E] = he(d), i = T();
     a({
       treeRef: i,
       onNodeExpand: function() {
@@ -158,10 +158,10 @@ const ne = () => {
         switcherIcon: F = u.switcherIcon,
         icon: U = u.icon,
         blockNode: L,
-        checkable: B,
+        checkable: V,
         selectable: O,
         fieldNames: w = e.replaceFields,
-        motion: M = e.openAnimation,
+        motion: B = e.openAnimation,
         itemHeight: t = 28,
         onDoubleclick: o,
         onDblclick: K
@@ -171,10 +171,10 @@ const ne = () => {
         fieldNames: w,
         icon: U,
         itemHeight: t
-      }), x = u.default ? Y(u.default()) : void 0;
-      return y(T(pe, P(P({}, C), {}, {
+      }), x = u.default ? q(u.default()) : void 0;
+      return y(N(pe, P(P({}, C), {}, {
         virtual: v.value,
-        motion: M,
+        motion: B,
         ref: i,
         prefixCls: d.value,
         class: ee({
@@ -184,7 +184,7 @@ const ne = () => {
           [`${d.value}-rtl`]: c.value === "rtl"
         }, s.class, E.value),
         direction: c.value,
-        checkable: B,
+        checkable: V,
         selectable: O,
         switcherIcon: (g) => xe(d.value, F, g, u.leafIcon, f),
         onCheck: j,
@@ -193,7 +193,7 @@ const ne = () => {
         onDblclick: K || o,
         children: x
       }), p(p({}, u), {
-        checkable: () => T("span", {
+        checkable: () => N("span", {
           class: `${d.value}-checkbox-inner`
         }, null)
       })));
@@ -204,10 +204,10 @@ var b;
 (function(e) {
   e[e.None = 0] = "None", e[e.Start = 1] = "Start", e[e.End = 2] = "End";
 })(b || (b = {}));
-function q(e, r, s) {
+function G(e, r, s) {
   function a(l) {
     const u = l[r.key], d = l[r.children];
-    s(u, l) !== !1 && q(d || [], r, s);
+    s(u, l) !== !1 && G(d || [], r, s);
   }
   e.forEach(a);
 }
@@ -232,7 +232,7 @@ function ge(e) {
   function v(y) {
     return y === a || y === l;
   }
-  return q(r, u, (y) => {
+  return G(r, u, (y) => {
     if (c === b.End)
       return !1;
     if (v(y)) {
@@ -246,7 +246,7 @@ function ge(e) {
 }
 function H(e, r, s) {
   const a = [...r], l = [];
-  return q(e, s, (u, d) => {
+  return G(e, s, (u, d) => {
     const c = a.indexOf(u);
     return c !== -1 && (l.push(d), a.splice(c, 1)), !!a.length;
   }), l;
@@ -259,14 +259,14 @@ var De = function(e, r) {
   return s;
 };
 const Se = () => p(p({}, ne()), {
-  expandAction: Z([Boolean, String])
+  expandAction: z([Boolean, String])
 });
 function we(e) {
   const {
     isLeaf: r,
     expanded: s
   } = e;
-  return r ? T(re, null, null) : s ? T(ue, null, null) : T(fe, null, null);
+  return r ? N(re, null, null) : s ? N(ue, null, null) : N(fe, null, null);
 }
 const R = te({
   compatConfig: {
@@ -274,7 +274,7 @@ const R = te({
   },
   name: "ADirectoryTree",
   inheritAttrs: !1,
-  props: Q(Se(), {
+  props: Y(Se(), {
     showIcon: !0,
     expandAction: "click"
   }),
@@ -298,16 +298,16 @@ const R = te({
       expose: u
     } = r;
     var d;
-    const c = N(e.treeData || G(Y((d = a.default) === null || d === void 0 ? void 0 : d.call(a))));
-    V(() => e.treeData, () => {
+    const c = T(e.treeData || Q(q((d = a.default) === null || d === void 0 ? void 0 : d.call(a))));
+    M(() => e.treeData, () => {
       c.value = e.treeData;
     }), ye(() => {
       Ke(() => {
         var t;
-        e.treeData === void 0 && a.default && (c.value = G(Y((t = a.default) === null || t === void 0 ? void 0 : t.call(a))));
+        e.treeData === void 0 && a.default && (c.value = Q(q((t = a.default) === null || t === void 0 ? void 0 : t.call(a))));
       });
     });
-    const v = N(), y = N(), E = h(() => Ee(e.fieldNames)), i = N();
+    const v = T(), y = T(), E = h(() => Ee(e.fieldNames)), i = T();
     u({
       scrollTo: (t) => {
         var o;
@@ -341,17 +341,17 @@ const R = te({
     const j = () => {
       const {
         keyEntities: t
-      } = Ne(c.value, {
+      } = Te(c.value, {
         fieldNames: E.value
       });
       let o;
-      return e.defaultExpandAll ? o = Object.keys(t) : e.defaultExpandParent ? o = Te(e.expandedKeys || e.defaultExpandedKeys || [], t) : o = e.expandedKeys || e.defaultExpandedKeys, o;
-    }, S = N(e.selectedKeys || e.defaultSelectedKeys || []), _ = N(j());
-    V(() => e.selectedKeys, () => {
+      return e.defaultExpandAll ? o = Object.keys(t) : e.defaultExpandParent ? o = Ne(e.expandedKeys || e.defaultExpandedKeys || [], t) : o = e.expandedKeys || e.defaultExpandedKeys, o;
+    }, S = T(e.selectedKeys || e.defaultSelectedKeys || []), _ = T(j());
+    M(() => e.selectedKeys, () => {
       e.selectedKeys !== void 0 && (S.value = e.selectedKeys);
     }, {
       immediate: !0
-    }), V(() => e.expandedKeys, () => {
+    }), M(() => e.expandedKeys, () => {
       e.expandedKeys !== void 0 && (_.value = e.expandedKeys);
     }, {
       immediate: !0
@@ -375,7 +375,7 @@ const R = te({
         expandAction: K
       } = e;
       (K === "dblclick" || K === "doubleclick") && f(t, o), l("doubleclick", t, o), l("dblclick", t, o);
-    }, B = (t, o) => {
+    }, V = (t, o) => {
       const {
         multiple: K
       } = e, {
@@ -396,16 +396,16 @@ const R = te({
       l("update:checkedKeys", t), l("check", t, o);
     }, {
       prefixCls: w,
-      direction: M
-    } = X("tree", e);
+      direction: B
+    } = Z("tree", e);
     return () => {
       const t = ee(`${w.value}-directory`, {
-        [`${w.value}-directory-rtl`]: M.value === "rtl"
+        [`${w.value}-directory-rtl`]: B.value === "rtl"
       }, s.class), {
         icon: o = a.icon,
         blockNode: K = !0
       } = e, C = De(e, ["icon", "blockNode"]);
-      return T(A, P(P(P({}, s), {}, {
+      return N(A, P(P(P({}, s), {}, {
         icon: o || we,
         ref: i,
         blockNode: K
@@ -414,7 +414,7 @@ const R = te({
         class: t,
         expandedKeys: _.value,
         selectedKeys: S.value,
-        onSelect: B,
+        onSelect: V,
         onClick: U,
         onDblclick: L,
         onExpand: F,

Diff do ficheiro suprimidas por serem muito extensas
+ 146 - 146
lib/js/index2.js


+ 71 - 71
lib/js/index20.js

@@ -1,6 +1,6 @@
-import { P as me, l as Me, bN as de, d as k, J as pt, _ as ee, c as he, X as Vt, o as zt, i as Wt, K as Ce, A as Gt, bY as Xt, c1 as Ut, c2 as Yt, c3 as qt, n as Jt, g as Qt, a5 as Zt, m as en, r as tn, a3 as nn, aU as nt } from "./index2.js";
+import { P as me, l as Me, bI as de, d as k, J as pt, _ as ee, c as he, X as Vt, o as zt, i as Wt, K as Ce, A as Gt, bT as Xt, bY as Yt, bZ as Ut, b_ as qt, n as Jt, g as Zt, a5 as Qt, m as en, r as tn, a3 as nn, aP as nt } from "./index2.js";
 import { defineComponent as Ne, provide as bt, computed as b, inject as mt, shallowRef as O, createVNode as K, getCurrentInstance as on, reactive as Kt, onMounted as xt, onUpdated as an, watch as Ke, nextTick as kt, onBeforeUnmount as ln, Transition as rn, withDirectives as sn, vShow as dn, ref as Je, Fragment as cn, toRaw as ot, watchEffect as $e, onUnmounted as un, cloneVNode as vn } from "vue";
-import { h as Fe, i as _e, j as St, e as fn, f as yn, c as gn, g as at, k as hn, l as lt, u as pn, p as Qe, a as Ze, b as ve, m as bn, n as it, d as ge, o as mn } from "./useMaxLevel.js";
+import { h as Fe, i as _e, j as St, e as fn, f as yn, c as gn, g as at, k as hn, l as lt, u as pn, p as Ze, a as Qe, b as ve, m as bn, n as it, d as ge, o as mn } from "./useMaxLevel.js";
 import { L as Kn } from "./List.js";
 import { g as xn } from "./index6.js";
 const Ct = Symbol("TreeContextKey"), kn = Ne({
@@ -402,7 +402,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
       halfCheckedKeysSet: j
     } = Et(), {
       dragOverNodeKey: I,
-      dropPosition: Q,
+      dropPosition: Z,
       keyEntities: f
     } = d.value, P = b(() => Fe(e.eventKey, {
       expandedKeysSet: E.value,
@@ -412,7 +412,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
       checkedKeysSet: L.value,
       halfCheckedKeysSet: j.value,
       dragOverNodeKey: I,
-      dropPosition: Q,
+      dropPosition: Z,
       keyEntities: f
     })), T = de(() => P.value.expanded), H = de(() => P.value.selected), A = de(() => P.value.checked), G = de(() => P.value.loaded), M = de(() => P.value.loading), te = de(() => P.value.halfChecked), ne = de(() => P.value.dragOver), _ = de(() => P.value.dragOverGapTop), X = de(() => P.value.dragOverGapBottom), oe = de(() => P.value.pos), V = O(), ae = b(() => {
       const {
@@ -487,15 +487,15 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
       return k(k({}, _e(k({}, e, P.value))), {
         parent: S
       });
-    }), U = Kt({
+    }), Y = Kt({
       eventData: B,
       eventKey: b(() => e.eventKey),
       selectHandle: V,
       pos: oe,
       key: ce.vnode.key
     });
-    c(U);
-    const Z = (t) => {
+    c(Y);
+    const Q = (t) => {
       const {
         onNodeDoubleClick: i
       } = d.value;
@@ -541,7 +541,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
       const {
         onNodeDragStart: i
       } = d.value;
-      t.stopPropagation(), g.value = !0, i(t, U);
+      t.stopPropagation(), g.value = !0, i(t, Y);
       try {
         t.dataTransfer.setData("text/plain", "");
       } catch (S) {
@@ -550,27 +550,27 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
       const {
         onNodeDragEnter: i
       } = d.value;
-      t.preventDefault(), t.stopPropagation(), i(t, U);
+      t.preventDefault(), t.stopPropagation(), i(t, Y);
     }, Ve = (t) => {
       const {
         onNodeDragOver: i
       } = d.value;
-      t.preventDefault(), t.stopPropagation(), i(t, U);
+      t.preventDefault(), t.stopPropagation(), i(t, Y);
     }, Oe = (t) => {
       const {
         onNodeDragLeave: i
       } = d.value;
-      t.stopPropagation(), i(t, U);
+      t.stopPropagation(), i(t, Y);
     }, ze = (t) => {
       const {
         onNodeDragEnd: i
       } = d.value;
-      t.stopPropagation(), g.value = !1, i(t, U);
+      t.stopPropagation(), g.value = !1, i(t, Y);
     }, We = (t) => {
       const {
         onNodeDrop: i
       } = d.value;
-      t.preventDefault(), t.stopPropagation(), g.value = !1, i(t, U);
+      t.preventDefault(), t.stopPropagation(), g.value = !1, i(t, Y);
     }, Pe = (t) => {
       const {
         onNodeExpand: i
@@ -624,7 +624,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
         onClick: Pe,
         class: S
       }, [i]) : null;
-    }, Ue = () => {
+    }, Ye = () => {
       var t, i;
       const {
         disableCheckbox: S
@@ -663,7 +663,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
         prefixCls: W,
         direction: v
       }) : null;
-    }, Ye = () => {
+    }, Ue = () => {
       var t, i, S, R, z, W;
       const {
         // title = slots.title ||
@@ -682,10 +682,10 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
       } = d.value, x = le.value, w = `${v}-node-content-wrapper`;
       let p;
       if (h) {
-        const Y = n || ((z = d.value.slots) === null || z === void 0 ? void 0 : z[(W = o == null ? void 0 : o.slots) === null || W === void 0 ? void 0 : W.icon]) || y;
-        p = Y ? K("span", {
+        const U = n || ((z = d.value.slots) === null || z === void 0 ? void 0 : z[(W = o == null ? void 0 : o.slots) === null || W === void 0 ? void 0 : W.icon]) || y;
+        p = U ? K("span", {
           class: he(`${v}-iconEle`, `${v}-icon__customize`)
-        }, [typeof Y == "function" ? Y(F.value) : Y]) : Ae();
+        }, [typeof U == "function" ? U(F.value) : U]) : Ae();
       } else u && M.value && (p = Ae());
       let m;
       typeof r == "function" ? m = r(F.value) : m = r, m = m === void 0 ? $n : m;
@@ -700,7 +700,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
         onMouseleave: Be,
         onContextmenu: Re,
         onClick: Se,
-        onDblclick: Z
+        onDblclick: Q
       }, [p, C, be()]);
     };
     return () => {
@@ -721,7 +721,7 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
         dropContainerKey: w,
         dropTargetKey: p,
         draggingNodeKey: m
-      } = d.value, C = le.value, Y = pt(h, {
+      } = d.value, C = le.value, U = pt(h, {
         aria: !0,
         data: !0
       }), {
@@ -759,12 +759,12 @@ const rt = "open", st = "close", $n = "---", dt = Ne({
         onDrop: q ? We : void 0,
         onDragend: q ? ze : void 0,
         onMousemove: r
-      }, qe), Y), [K(Cn, {
+      }, qe), U), [K(Cn, {
         prefixCls: y,
         level: re,
         isStart: R,
         isEnd: z
-      }, null), Ie(), Xe(), Ue(), Ye()]);
+      }, null), Ie(), Xe(), Ye(), Ue()]);
     };
   }
 });
@@ -797,8 +797,8 @@ const Nn = Ne({
       slots: s
     } = a;
     const c = O(!0), g = tt(), d = O(!1), E = b(() => e.motion ? e.motion : Vt()), $ = (D, N) => {
-      var L, j, I, Q;
-      N === "appear" ? (j = (L = E.value) === null || L === void 0 ? void 0 : L.onAfterEnter) === null || j === void 0 || j.call(L, D) : N === "leave" && ((Q = (I = E.value) === null || I === void 0 ? void 0 : I.onAfterLeave) === null || Q === void 0 || Q.call(I, D)), d.value || e.onMotionEnd(), d.value = !0;
+      var L, j, I, Z;
+      N === "appear" ? (j = (L = E.value) === null || L === void 0 ? void 0 : L.onAfterEnter) === null || j === void 0 || j.call(L, D) : N === "leave" && ((Z = (I = E.value) === null || I === void 0 ? void 0 : I.onAfterLeave) === null || Z === void 0 || Z.call(I, D)), d.value || e.onMotionEnd(), d.value = !0;
     };
     return Ke(() => e.motionNodes, () => {
       e.motionNodes && e.motionType === "hide" && c.value && kt(() => {
@@ -818,7 +818,7 @@ const Nn = Ne({
         motionType: L,
         active: j,
         eventKey: I
-      } = e, Q = ct(e, ["motion", "motionNodes", "motionType", "active", "eventKey"]);
+      } = e, Z = ct(e, ["motion", "motionNodes", "motionType", "active", "eventKey"]);
       return N ? K(rn, ee(ee({}, E.value), {}, {
         appear: L === "show",
         onAfterAppear: (f) => $(f, "appear"),
@@ -846,7 +846,7 @@ const Nn = Ne({
       }) : K(dt, ee(ee({
         class: l.class,
         style: l.style
-      }, Q), {}, {
+      }, Z), {}, {
         active: j,
         eventKey: I
       }), s);
@@ -995,7 +995,7 @@ const In = Ne({
     }), Ke(() => j.value.dragging, (f) => {
       f || L();
     });
-    const I = b(() => e.motion === void 0 ? $.value : E.value), Q = () => {
+    const I = b(() => e.motion === void 0 ? $.value : E.value), Z = () => {
       e.onActiveChange(null);
     };
     return () => {
@@ -1057,31 +1057,31 @@ const In = Ne({
         ref: c,
         onVisibleChange: (F, ce) => {
           const B = new Set(F);
-          ce.filter((Z) => !B.has(Z)).some((Z) => ht(Z) === xe) && L();
+          ce.filter((Q) => !B.has(Q)).some((Q) => ht(Q) === xe) && L();
         }
       }), {
         default: (F) => {
           const {
             pos: ce
           } = F, B = vt(F.data, []), {
-            title: U,
-            key: Z,
+            title: Y,
+            key: Q,
             isStart: ue,
             isEnd: pe
-          } = F, Se = St(Z, ce);
+          } = F, Se = St(Q, ce);
           return delete B.key, delete B.children, K(Nn, ee(ee({}, B), {}, {
             eventKey: Se,
-            title: U,
-            active: !!X && Z === X.key,
+            title: Y,
+            active: !!X && Q === X.key,
             data: F.data,
             isStart: ue,
             isEnd: pe,
             motion: G,
-            motionNodes: Z === xe ? D.value : null,
+            motionNodes: Q === xe ? D.value : null,
             motionType: N.value,
             onMotionStart: le,
             onMotionEnd: L,
-            onMousemove: Q
+            onMousemove: Z
           }), null);
         }
       })]);
@@ -1150,7 +1150,7 @@ const An = 10, Xn = Ne({
     } = a;
     const g = O(!1);
     let d = {};
-    const E = O(), $ = O([]), D = O([]), N = O([]), L = O([]), j = O([]), I = O([]), Q = {}, f = Kt({
+    const E = O(), $ = O([]), D = O([]), N = O([]), L = O([]), j = O([]), I = O([]), Z = {}, f = Kt({
       draggingNodeKey: null,
       dragChildrenKeys: [],
       // dropTargetKey is the key of abstract-drop-node
@@ -1227,7 +1227,7 @@ const An = 10, Xn = Ne({
     $e(() => {
       if (e.checkable) {
         let n;
-        if (e.checkedKeys !== void 0 ? n = Qe(e.checkedKeys) || {} : !ie && e.defaultCheckedKeys ? n = Qe(e.defaultCheckedKeys) || {} : P.value && (n = Qe(e.checkedKeys) || {
+        if (e.checkedKeys !== void 0 ? n = Ze(e.checkedKeys) || {} : !ie && e.defaultCheckedKeys ? n = Ze(e.defaultCheckedKeys) || {} : P.value && (n = Ze(e.checkedKeys) || {
           checkedKeys: D.value,
           halfCheckedKeys: N.value
         }), n) {
@@ -1238,13 +1238,13 @@ const An = 10, Xn = Ne({
           e.checkStrictly || ({
             checkedKeys: o,
             halfCheckedKeys: r
-          } = Ze(o, !0, T.value, ce.value, B.value)), D.value = o, N.value = r;
+          } = Qe(o, !0, T.value, ce.value, B.value)), D.value = o, N.value = r;
         }
       }
     }), $e(() => {
       e.loadedKeys && (L.value = e.loadedKeys);
     });
-    const U = () => {
+    const Y = () => {
       k(f, {
         dragOverNodeKey: null,
         dropPosition: null,
@@ -1254,7 +1254,7 @@ const An = 10, Xn = Ne({
         dropTargetPos: null,
         dropAllowed: !1
       });
-    }, Z = (n) => {
+    }, Q = (n) => {
       te.value.scrollTo(n);
     };
     Ke(() => e.activeKey, () => {
@@ -1263,7 +1263,7 @@ const An = 10, Xn = Ne({
       immediate: !0
     }), Ke(A, (n) => {
       kt(() => {
-        n !== null && Z({
+        n !== null && Q({
           key: n
         });
       });
@@ -1320,7 +1320,7 @@ const An = 10, Xn = Ne({
         eventKey: x
       } = o;
       if (X !== x && (X = x), !_) {
-        U();
+        Y();
         return;
       }
       const {
@@ -1328,7 +1328,7 @@ const An = 10, Xn = Ne({
         dropLevelOffset: p,
         dropTargetKey: m,
         dropContainerKey: C,
-        dropTargetPos: Y,
+        dropTargetPos: U,
         dropAllowed: re,
         dragOverNodeKey: se
       } = it(n, _, o, E.value, ne, h, F.value, T.value, V.value, y);
@@ -1337,7 +1337,7 @@ const An = 10, Xn = Ne({
         f.dragChildrenKeys.indexOf(m) !== -1 || // don't allow drop when drop is not allowed caculated by calcDropPosition
         !re
       ) {
-        U();
+        Y();
         return;
       }
       if (d || (d = {}), Object.keys(d).forEach((q) => {
@@ -1352,7 +1352,7 @@ const An = 10, Xn = Ne({
           nativeEvent: n
         });
       }, 800)), _.eventKey === m && p === 0) {
-        U();
+        Y();
         return;
       }
       k(f, {
@@ -1361,7 +1361,7 @@ const An = 10, Xn = Ne({
         dropLevelOffset: p,
         dropTargetKey: m,
         dropContainerKey: C,
-        dropTargetPos: Y,
+        dropTargetPos: U,
         dropAllowed: re
       }), r && r({
         event: n,
@@ -1385,7 +1385,7 @@ const An = 10, Xn = Ne({
         dropTargetPos: m,
         dragOverNodeKey: C
       } = it(n, _, o, E.value, ne, v, F.value, T.value, V.value, h);
-      f.dragChildrenKeys.indexOf(x) !== -1 || !p || (_.eventKey === x && u === 0 ? f.dropPosition === null && f.dropLevelOffset === null && f.dropTargetKey === null && f.dropContainerKey === null && f.dropTargetPos === null && f.dropAllowed === !1 && f.dragOverNodeKey === null || U() : y === f.dropPosition && u === f.dropLevelOffset && x === f.dropTargetKey && w === f.dropContainerKey && m === f.dropTargetPos && p === f.dropAllowed && C === f.dragOverNodeKey || k(f, {
+      f.dragChildrenKeys.indexOf(x) !== -1 || !p || (_.eventKey === x && u === 0 ? f.dropPosition === null && f.dropLevelOffset === null && f.dropTargetKey === null && f.dropContainerKey === null && f.dropTargetPos === null && f.dropAllowed === !1 && f.dragOverNodeKey === null || Y() : y === f.dropPosition && u === f.dropLevelOffset && x === f.dropTargetKey && w === f.dropContainerKey && m === f.dropTargetPos && p === f.dropAllowed && C === f.dragOverNodeKey || k(f, {
         dropPosition: y,
         dropLevelOffset: u,
         dropTargetKey: x,
@@ -1398,7 +1398,7 @@ const An = 10, Xn = Ne({
         node: o.eventData
       }));
     }, He = (n, o) => {
-      X === o.eventKey && !n.currentTarget.contains(n.relatedTarget) && (U(), X = null);
+      X === o.eventKey && !n.currentTarget.contains(n.relatedTarget) && (Y(), X = null);
       const {
         onDragleave: r
       } = e;
@@ -1426,13 +1426,13 @@ const An = 10, Xn = Ne({
         data: T.value[u].node
       }), C = h.indexOf(u) !== -1;
       Me(!C, "Can not drop to dragNode's children node. Maybe this is a bug of ant-design-vue. Please report an issue.");
-      const Y = mn(x), re = {
+      const U = mn(x), re = {
         event: n,
         node: _e(m),
         dragNode: _ ? _.eventData : null,
         dragNodesKeys: [_.eventKey].concat(h),
         dropToGap: y !== 0,
-        dropPosition: y + Number(Y[Y.length - 1])
+        dropPosition: y + Number(U[U.length - 1])
       };
       r || p == null || p(re), _ = null;
     }, Oe = (n, o) => {
@@ -1497,23 +1497,23 @@ const An = 10, Xn = Ne({
         let {
           checkedKeys: p,
           halfCheckedKeys: m
-        } = Ze([...D.value, y], !0, w, ce.value, B.value);
+        } = Qe([...D.value, y], !0, w, ce.value, B.value);
         if (!r) {
           const C = new Set(p);
           C.delete(y), {
             checkedKeys: p,
             halfCheckedKeys: m
-          } = Ze(Array.from(C), {
+          } = Qe(Array.from(C), {
             halfCheckedKeys: m
           }, w, ce.value, B.value);
         }
         u = p, x.checkedNodes = [], x.checkedNodesPositions = [], x.halfCheckedKeys = m, p.forEach((C) => {
-          const Y = w[C];
-          if (!Y) return;
+          const U = w[C];
+          if (!U) return;
           const {
             node: re,
             pos: se
-          } = Y;
+          } = U;
           x.checkedNodes.push(re), x.checkedNodesPositions.push({
             node: re,
             pos: se
@@ -1537,7 +1537,7 @@ const An = 10, Xn = Ne({
           }), e.loadedKeys === void 0 && (L.value = w), j.value = p, v();
         }).catch((w) => {
           const p = ve(j.value, o);
-          if (j.value = p, Q[o] = (Q[o] || 0) + 1, Q[o] >= An) {
+          if (j.value = p, Z[o] = (Z[o] || 0) + 1, Z[o] >= An) {
             Me(!1, "Retry for `loadData` many times but still failed. No more retry.");
             const m = ge(L.value, o);
             e.loadedKeys === void 0 && (L.value = m), v();
@@ -1571,7 +1571,7 @@ const An = 10, Xn = Ne({
         event: n,
         node: o
       }));
-    }, Ue = (n) => {
+    }, Ye = (n) => {
       const {
         onFocus: o
       } = e;
@@ -1604,7 +1604,7 @@ const An = 10, Xn = Ne({
           ue(C), Promise.reject(m);
         });
       }
-    }, Ye = () => {
+    }, Ue = () => {
       G.value = !0;
     }, t = () => {
       setTimeout(() => {
@@ -1614,7 +1614,7 @@ const An = 10, Xn = Ne({
       const {
         onActiveChange: o
       } = e;
-      A.value !== n && (e.activeKey !== void 0 && (A.value = n), n !== null && Z({
+      A.value !== n && (e.activeKey !== void 0 && (A.value = n), n !== null && Q({
         key: n
       }), o && o(n));
     }, S = b(() => A.value === null ? null : F.value.find((n) => {
@@ -1680,7 +1680,7 @@ const An = 10, Xn = Ne({
     };
     return c({
       onNodeExpand: be,
-      scrollTo: Z,
+      scrollTo: Q,
       onKeydown: W,
       selectedKeys: b(() => $.value),
       checkedKeys: b(() => D.value),
@@ -1724,7 +1724,7 @@ const An = 10, Xn = Ne({
         tabindex: p = 0,
         selectable: m,
         showIcon: C,
-        icon: Y = s.icon,
+        icon: U = s.icon,
         switcherIcon: re,
         draggable: se,
         checkable: q,
@@ -1757,7 +1757,7 @@ const An = 10, Xn = Ne({
           prefixCls: u,
           selectable: m,
           showIcon: C,
-          icon: Y,
+          icon: U,
           switcherIcon: re,
           draggable: De,
           draggingNodeKey: n,
@@ -1818,11 +1818,11 @@ const An = 10, Xn = Ne({
           focused: H.value,
           tabindex: p,
           activeItem: S.value,
-          onFocus: Ue,
+          onFocus: Ye,
           onBlur: Ae,
           onKeydown: W,
           onActiveChange: i,
-          onListChangeStart: Ye,
+          onListChangeStart: Ue,
           onListChangeEnd: t,
           onContextmenu: At,
           onScroll: Mt
@@ -1831,7 +1831,7 @@ const An = 10, Xn = Ne({
     };
   }
 });
-function Un(e, a, l, s, c) {
+function Yn(e, a, l, s, c) {
   const {
     isLeaf: g,
     expanded: d,
@@ -1850,9 +1850,9 @@ function Un(e, a, l, s, c) {
     class: `${e}-switcher-leaf-line`
   }, null) : N = K(Xt, {
     class: `${e}-switcher-line-icon`
-  }, null), N) : null : (N = K(Ut, {
+  }, null), N) : null : (N = K(Yt, {
     class: L
-  }, null), c && (N = d ? K(Yt, {
+  }, null), c && (N = d ? K(Ut, {
     class: `${e}-switcher-line-icon`
   }, null) : K(qt, {
     class: `${e}-switcher-line-icon`
@@ -2239,19 +2239,19 @@ const Mn = new nn("ant-tree-node-fx-do-not-use", {
     // Directory
     Rn(d)
   ];
-}, Yn = Qt("Tree", (e, a) => {
+}, Un = Zt("Tree", (e, a) => {
   let {
     prefixCls: l
   } = a;
   return [{
     [e.componentCls]: xn(`${l}-checkbox`, e)
-  }, jn(l, e), Zt(e)];
+  }, jn(l, e), Qt(e)];
 });
 export {
   Xn as T,
   dt as V,
   jn as g,
-  Un as r,
+  Yn as r,
   En as t,
-  Yn as u
+  Un as u
 };

+ 22 - 22
lib/js/index21.js

@@ -1,7 +1,7 @@
-import { M as A, c as j, _ as O, l as et, w as Ae, d as v, O as F, N as Z, Q as xe, K as le, g as tt, v as nt, r as Oe, aG as rt, u as at, x as it, y as lt, o as ot, az as st, ci as ut, br as Ve, p as dt, P as Se } from "./index2.js";
+import { M as A, c as j, _ as O, l as et, w as Ae, d as v, O as F, N as Z, Q as xe, K as le, g as tt, v as nt, r as Oe, aB as rt, u as at, x as it, y as lt, o as ot, au as st, cd as ut, bm as Ve, p as dt, P as Se } from "./index2.js";
 import { defineComponent as Ee, ref as je, onBeforeUnmount as We, createVNode as b, shallowRef as M, computed as W, watch as ee } from "vue";
 import { i as ct } from "./isMobile.js";
-import { u as ft, F as pt, N as Te } from "./FormItemContext.js";
+import { u as ft, F as pt, N as Be } from "./FormItemContext.js";
 import { g as mt, a as $e } from "./statusUtils.js";
 import { i as gt, g as He, d as Ge, e as vt, f as ht, h as bt, b as St, c as qe } from "./index16.js";
 function we() {
@@ -341,7 +341,7 @@ var It = function(e, t) {
     t.indexOf(a[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[o]) && (n[a[o]] = e[a[o]]);
   return n;
 };
-const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) => {
+const Te = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) => {
   const t = D(e);
   return t.isInvalidate() ? null : t;
 }, Ue = () => ({
@@ -437,7 +437,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
       let m = r, y = oe(m) || m.isEmpty();
       if (!m.isEmpty() && !l && (m = X(m) || m, y = !0), !e.readonly && !e.disabled && y) {
         const R = m.toString(), q = S(R, l);
-        return q >= 0 && (m = D(Ie(R, ".", q))), m.equals(s.value) || (x(m), (u = e.onChange) === null || u === void 0 || u.call(e, m.isEmpty() ? null : Be(e.stringMode, m)), e.value === void 0 && C(m, l)), m;
+        return q >= 0 && (m = D(Ie(R, ".", q))), m.equals(s.value) || (x(m), (u = e.onChange) === null || u === void 0 || u.call(e, m.isEmpty() ? null : Te(e.stringMode, m)), e.value === void 0 && C(m, l)), m;
       }
       return s.value;
     }, se = wt(), Y = (r) => {
@@ -464,11 +464,11 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
       let m = D(e.step);
       r || (m = m.negate());
       const y = (s.value || D(0)).add(m.toString()), R = Q(y, !1);
-      (l = e.onStep) === null || l === void 0 || l.call(e, Be(e.stringMode, R), {
+      (l = e.onStep) === null || l === void 0 || l.call(e, Te(e.stringMode, R), {
         offset: e.step,
         type: r ? "up" : "down"
       }), (u = d.value) === null || u === void 0 || u.focus();
-    }, T = (r) => {
+    }, B = (r) => {
       const l = D(I($.value));
       let u = l;
       l.isNaN() ? u = s.value : u = Q(l, r), e.value !== void 0 ? C(s.value, !1) : u.isNaN() || C(u, !1);
@@ -479,11 +479,11 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
       const {
         which: u
       } = r;
-      f.value = !0, u === le.ENTER && (p.value || (f.value = !1), T(!1), (l = e.onPressEnter) === null || l === void 0 || l.call(e, r)), e.keyboard !== !1 && !p.value && [le.UP, le.DOWN].includes(u) && (G(le.UP === u), r.preventDefault());
+      f.value = !0, u === le.ENTER && (p.value || (f.value = !1), B(!1), (l = e.onPressEnter) === null || l === void 0 || l.call(e, r)), e.keyboard !== !1 && !p.value && [le.UP, le.DOWN].includes(u) && (G(le.UP === u), r.preventDefault());
     }, ce = () => {
       f.value = !1;
     }, re = (r) => {
-      T(!1), c.value = !1, f.value = !1, o("blur", r);
+      B(!1), c.value = !1, f.value = !1, o("blur", r);
     };
     return ee(() => e.precision, () => {
       s.value.isInvalidate() || C(s.value, !1);
@@ -523,7 +523,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         readonly: ie,
         keyboard: g,
         controls: fe = !0,
-        autofocus: B,
+        autofocus: T,
         stringMode: pe,
         parser: me,
         formatter: L,
@@ -562,7 +562,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
       }), b("div", {
         class: `${Re}-wrap`
       }, [b("input", O(O(O({
-        autofocus: B,
+        autofocus: T,
         autocomplete: "off",
         role: "spinbutton",
         "aria-valuemin": u,
@@ -980,7 +980,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
     return () => {
       var h, J, H, G;
       const {
-        hasFeedback: T,
+        hasFeedback: B,
         isFormItemInput: ue,
         feedbackIcon: de
       } = f, ce = (h = e.id) !== null && h !== void 0 ? h : c.id.value, re = v(v(v({}, o), e), {
@@ -1003,7 +1003,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
         [`${g}-borderless`]: !l,
         [`${g}-in-form-item`]: ue
       }, $e(g, p.value), r, E.value, N.value);
-      let B = b(Et, O(O({}, ot(ie, ["size", "defaultValue"])), {}, {
+      let T = b(Et, O(O({}, ot(ie, ["size", "defaultValue"])), {}, {
         ref: K,
         lazy: !!ae.lazy,
         value: V.value,
@@ -1026,8 +1026,8 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
         }, null)
       });
       const pe = Ne(y) || Ne(R), me = Ne(q);
-      if (me || T) {
-        const L = j(`${g}-affix-wrapper`, $e(`${g}-affix-wrapper`, p.value, T), {
+      if (me || B) {
+        const L = j(`${g}-affix-wrapper`, $e(`${g}-affix-wrapper`, p.value, B), {
           [`${g}-affix-wrapper-focused`]: k.value,
           [`${g}-affix-wrapper-disabled`]: C.value,
           [`${g}-affix-wrapper-sm`]: w.value === "small",
@@ -1038,13 +1038,13 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
           // className will go to addon wrapper
           [`${r}`]: !pe && r
         }, N.value);
-        B = b("div", {
+        T = b("div", {
           class: L,
           style: m,
           onClick: X
         }, [me && b("span", {
           class: `${g}-prefix`
-        }, [q]), B, T && b("span", {
+        }, [q]), T, B && b("span", {
           class: `${g}-suffix`
         }, [de])]);
       }
@@ -1059,23 +1059,23 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
           [`${g}-group-wrapper-sm`]: w.value === "small",
           [`${g}-group-wrapper-lg`]: w.value === "large",
           [`${g}-group-wrapper-rtl`]: S.value === "rtl"
-        }, $e(`${s}-group-wrapper`, p.value, T), r, N.value);
-        B = b("div", {
+        }, $e(`${s}-group-wrapper`, p.value, B), r, N.value);
+        T = b("div", {
           class: Pe,
           style: m
         }, [b("div", {
           class: Me
         }, [ve && b(Ve, null, {
-          default: () => [b(Te, null, {
+          default: () => [b(Be, null, {
             default: () => [ve]
           })]
-        }), B, he && b(Ve, null, {
-          default: () => [b(Te, null, {
+        }), T, he && b(Ve, null, {
+          default: () => [b(Be, null, {
             default: () => [he]
           })]
         })])]);
       }
-      return _(dt(B, {
+      return _(dt(T, {
         style: m
       }));
     };

+ 23 - 23
lib/js/index4.js

@@ -1,4 +1,4 @@
-import { d, l as Nn, P as s, av as Vn, _ as Q, c as fe, p as qe, J as Ze, aw as Ln, K as C, i as An, n as Hn, ax as Wn, af as Kn, A as _n, ad as jn, ac as Un, ay as Xn, az as Gn, aA as je, aB as Ue, r as Fe, aC as Yn, aD as Qn, aE as Jn, aF as qn, t as Pe, m as Z, aG as ke, g as Zn, v as kn } from "./index2.js";
+import { d, l as Nn, P as s, aq as Vn, _ as Q, c as fe, p as Je, J as Ze, ar as Ln, K as C, i as An, n as Hn, as as Wn, af as Kn, A as _n, ad as jn, ac as Un, at as Xn, au as Gn, av as je, aw as Ue, r as Fe, ax as Yn, ay as Qn, az as qn, aA as Jn, t as Pe, m as Z, aB as ke, g as Zn, v as kn } from "./index2.js";
 import { defineComponent as ce, computed as N, ref as ue, createVNode as f, cloneVNode as eo, isVNode as no, inject as De, provide as Ee, shallowRef as W, watchEffect as en, onMounted as re, watch as ae, createTextVNode as Te, Fragment as he, onBeforeUnmount as Oe, isRef as oo, reactive as Xe, toRefs as to } from "vue";
 import { B as io } from "./BaseInput.js";
 import { c as nn } from "./createRef.js";
@@ -24,7 +24,7 @@ function ao(e, n) {
     options: i || "options"
   };
 }
-function qo(e) {
+function Jo(e) {
   let {
     fieldNames: n,
     childrenAsData: o
@@ -368,7 +368,7 @@ const po = {
         onCompositionend: oe,
         style: te
       } = V;
-      return E = qe(E, d(d(d(d(d({
+      return E = Je(E, d(d(d(d(d({
         type: "search"
       }, V), {
         id: l,
@@ -413,10 +413,10 @@ const po = {
           clearTimeout(n), L && L(arguments.length <= 0 ? void 0 : arguments[0]), y && y(arguments.length <= 0 ? void 0 : arguments[0]), o == null || o.focus(arguments.length <= 0 ? void 0 : arguments[0]);
         },
         onBlur: function() {
-          for (var M = arguments.length, J = new Array(M), ie = 0; ie < M; ie++)
-            J[ie] = arguments[ie];
+          for (var M = arguments.length, q = new Array(M), ie = 0; ie < M; ie++)
+            q[ie] = arguments[ie];
           n = setTimeout(() => {
-            X && X(J[0]), O && O(J[0]), o == null || o.blur(J[0]);
+            X && X(q[0]), O && O(q[0]), o == null || o.blur(q[0]);
           }, 100);
         }
       }), E.type === "textarea" ? {} : {
@@ -1207,7 +1207,7 @@ const nt = ce({
     const V = N(() => E.value ? !1 : w.value), R = (r) => {
       const u = r !== void 0 ? r : !w.value;
       w.value !== u && !e.disabled && (U(u), e.onDropdownVisibleChange && e.onDropdownVisibleChange(u), !u && de.value && (de.value = !1, b(!1, () => {
-        J.value = !1, h.value = !1;
+        q.value = !1, h.value = !1;
       })));
     }, Y = N(() => (e.tokenSeparators || []).some((r) => [`
 `, `\r
@@ -1268,11 +1268,11 @@ const nt = ce({
         type: "remove",
         values: [r]
       });
-    }, J = W(!1), ie = function() {
-      b(!0), e.disabled || (e.onFocus && !J.value && e.onFocus(...arguments), e.showAction && e.showAction.includes("focus") && R(!0)), J.value = !0;
+    }, q = W(!1), ie = function() {
+      b(!0), e.disabled || (e.onFocus && !q.value && e.onFocus(...arguments), e.showAction && e.showAction.includes("focus") && R(!0)), q.value = !0;
     }, de = ue(!1), un = function() {
       if (de.value || (h.value = !0, b(!1, () => {
-        J.value = !1, h.value = !1, R(!1);
+        q.value = !1, h.value = !1, R(!1);
       }), e.disabled))
         return;
       const r = y.value;
@@ -1290,11 +1290,11 @@ const nt = ce({
       focus: ie,
       blur: un
     });
-    const q = [];
+    const J = [];
     re(() => {
-      q.forEach((r) => clearTimeout(r)), q.splice(0, q.length);
+      J.forEach((r) => clearTimeout(r)), J.splice(0, J.length);
     }), Oe(() => {
-      q.forEach((r) => clearTimeout(r)), q.splice(0, q.length);
+      J.forEach((r) => clearTimeout(r)), J.splice(0, J.length);
     });
     const dn = function(r) {
       var u, z;
@@ -1304,10 +1304,10 @@ const nt = ce({
       if (_ && _.contains(A)) {
         const k = setTimeout(() => {
           var G;
-          const ee = q.indexOf(k);
-          ee !== -1 && q.splice(ee, 1), c(), !m.value && !_.contains(document.activeElement) && ((G = $.value) === null || G === void 0 || G.focus());
+          const ee = J.indexOf(k);
+          ee !== -1 && J.splice(ee, 1), c(), !m.value && !_.contains(document.activeElement) && ((G = $.value) === null || G === void 0 || G.focus());
         });
-        q.push(k);
+        J.push(k);
       }
       for (var H = arguments.length, j = new Array(H > 1 ? H - 1 : 0), K = 1; K < H; K++)
         j[K - 1] = arguments[K];
@@ -1461,7 +1461,7 @@ const nt = ce({
         onPopupFocusin: sn,
         onPopupFocusout: cn
       }, {
-        default: () => pe ? Hn(pe) && qe(pe, {
+        default: () => pe ? Hn(pe) && Je(pe, {
           ref: a
         }, !1, !0) : f(vo, Q(Q({}, e), {}, {
           domRef: a,
@@ -1563,7 +1563,7 @@ function tt(e) {
     removeIcon: b
   };
 }
-const Je = (e) => {
+const qe = (e) => {
   const {
     controlPaddingHorizontal: n
   } = e;
@@ -1605,13 +1605,13 @@ const Je = (e) => {
             &${n}-slide-up-enter${n}-slide-up-enter-active${o}-dropdown-placement-bottomLeft,
             &${n}-slide-up-appear${n}-slide-up-appear-active${o}-dropdown-placement-bottomLeft
           `]: {
-          animationName: qn
+          animationName: Jn
         },
         [`
             &${n}-slide-up-enter${n}-slide-up-enter-active${o}-dropdown-placement-topLeft,
             &${n}-slide-up-appear${n}-slide-up-appear-active${o}-dropdown-placement-topLeft
           `]: {
-          animationName: Jn
+          animationName: qn
         },
         [`&${n}-slide-up-leave${n}-slide-up-leave-active${o}-dropdown-placement-bottomLeft`]: {
           animationName: Qn
@@ -1626,10 +1626,10 @@ const Je = (e) => {
           color: e.colorTextDisabled
         },
         // ========================= Options =========================
-        [`${t}-empty`]: d(d({}, Je(e)), {
+        [`${t}-empty`]: d(d({}, qe(e)), {
           color: e.colorTextDisabled
         }),
-        [`${t}`]: d(d({}, Je(e)), {
+        [`${t}`]: d(d({}, qe(e)), {
           cursor: "pointer",
           transition: `background ${e.motionDurationSlow} ease`,
           borderRadius: e.borderRadiusSM,
@@ -2287,7 +2287,7 @@ export {
   $o as b,
   it as c,
   Zo as d,
-  qo as e,
+  Jo as e,
   ao as f,
   tt as g,
   Me as h,

+ 80 - 80
lib/js/index5.js

@@ -1,8 +1,8 @@
-import { aH as ke, H as Ae, aI as Ce, aJ as ie, aK as Ee, d as y, aL as he, i as Le, u as qe, aM as Ie, aN as Se, aO as je, c as Ve, _ as le, M as $, O as G, Q as se, N as oe, f as _e, e as J, P as ue, aP as Ne, aQ as Z } from "./index2.js";
-import { ref as ve, unref as _, reactive as Te, shallowRef as Re, watch as U, toRaw as de, nextTick as xe, defineComponent as De, computed as b, createVNode as $e } from "vue";
-import { c as Be, g as ze, a as Ge, d as ee, v as We, e as Fe, _ as Ke, u as He, f as Qe, h as ce, t as Y, i as fe, j as Je } from "./FormItem.js";
+import { aC as Me, H as Ae, aD as Ce, aE as ie, aF as Ee, d as y, aG as he, i as Le, u as qe, aH as Ie, aI as Se, aJ as je, c as Ve, _ as le, M as $, O as z, Q as se, N as oe, f as _e, e as Q, P as ue, aK as Te, aL as Z } from "./index2.js";
+import { ref as ve, unref as _, reactive as Ne, shallowRef as Re, watch as U, toRaw as de, nextTick as xe, defineComponent as De, computed as P, createVNode as $e } from "vue";
+import { c as Be, g as Ge, a as ze, d as ee, v as We, e as Fe, _ as Ke, u as He, f as Je, h as ce, t as Y, i as fe, j as Qe } from "./FormItem.js";
 import { s as Ue } from "./index3.js";
-import { i as Ye, a as Pe, b as Xe, c as be, t as Ze } from "./hasIn.js";
+import { i as Ye, a as be, b as Xe, c as Pe, t as Ze } from "./hasIn.js";
 import { s as et, o as tt, f as rt } from "./_flatRest.js";
 import { d as nt } from "./debounce.js";
 import { i as at } from "./isPlainObject.js";
@@ -18,7 +18,7 @@ function st(e, t, n) {
   return o;
 }
 function ot(e) {
-  return ke(e) && Ae(e);
+  return Me(e) && Ae(e);
 }
 function ut(e) {
   var t = e == null ? 0 : e.length;
@@ -27,21 +27,21 @@ function ut(e) {
 var dt = Math.min;
 function ct(e, t, n) {
   for (var s = Ee, a = e[0].length, o = e.length, m = o, p = Array(o), F = 1 / 0, O = []; m--; ) {
-    var M = e[m];
-    F = dt(M.length, F), p[m] = a >= 120 && M.length >= 120 ? new Ce(m && M) : void 0;
+    var k = e[m];
+    F = dt(k.length, F), p[m] = a >= 120 && k.length >= 120 ? new Ce(m && k) : void 0;
   }
-  M = e[0];
+  k = e[0];
   var A = -1, C = p[0];
   e:
     for (; ++A < a && O.length < F; ) {
-      var E = M[A], k = E;
-      if (E = E !== 0 ? E : 0, !(C ? ie(C, k) : s(O, k))) {
+      var E = k[A], M = E;
+      if (E = E !== 0 ? E : 0, !(C ? ie(C, M) : s(O, M))) {
         for (m = o; --m; ) {
           var q = p[m];
-          if (!(q ? ie(q, k) : s(e[m], k)))
+          if (!(q ? ie(q, M) : s(e[m], M)))
             continue e;
         }
-        C && C.push(k), O.push(E);
+        C && C.push(M), O.push(E);
       }
     }
   return O;
@@ -50,26 +50,26 @@ function ft(e) {
   return ot(e) ? e : [];
 }
 var mt = lt(function(e) {
-  var t = Pe(e, ft);
+  var t = be(e, ft);
   return t.length && t[0] === e[0] ? ct(t) : [];
 });
 function gt(e, t) {
   return t.length < 2 ? e : Xe(e, st(t, 0, -1));
 }
 function ht(e, t) {
-  return t = be(t, e), e = gt(e, t), e == null || delete e[Ze(ut(t))];
+  return t = Pe(t, e), e = gt(e, t), e == null || delete e[Ze(ut(t))];
 }
 function vt(e) {
   return at(e) ? void 0 : e;
 }
-var Ft = 1, Pt = 2, bt = 4, pt = rt(function(e, t) {
+var Ft = 1, bt = 2, Pt = 4, pt = rt(function(e, t) {
   var n = {};
   if (e == null)
     return n;
   var s = !1;
-  t = Pe(t, function(o) {
-    return o = be(o, e), s || (s = o.length > 1), o;
-  }), Be(e, ze(e), n), s && (n = Ge(n, Ft | Pt | bt, vt));
+  t = be(t, function(o) {
+    return o = Pe(o, e), s || (s = o.length > 1), o;
+  }), Be(e, Ge(e), n), s && (n = ze(n, Ft | bt | Pt, vt));
   for (var a = t.length; a--; )
     ht(n, t[a]);
   return n;
@@ -116,7 +116,7 @@ function te(e, t, n) {
 }
 function yt(e) {
   let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ve({}), n = arguments.length > 2 ? arguments[2] : void 0;
-  const s = ee(_(e)), a = Te({}), o = Re([]), m = (l) => {
+  const s = ee(_(e)), a = Ne({}), o = Re([]), m = (l) => {
     y(_(e), y(y({}, ee(s)), l)), xe(() => {
       Object.keys(a).forEach((i) => {
         a[i] = {
@@ -136,12 +136,12 @@ function yt(e) {
   const O = function(l) {
     let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, c = arguments.length > 2 ? arguments[2] : void 0;
     const h = [], g = {};
-    for (let P = 0; P < l.length; P++) {
-      const v = l[P], L = te(_(e), v, c);
+    for (let b = 0; b < l.length; b++) {
+      const v = l[b], L = te(_(e), v, c);
       if (!L.isValid) continue;
       g[v] = L.v;
       const R = p(_(t)[v], ge(i && i.trigger));
-      R.length && h.push(M(v, L.v, R, i || {}).then(() => ({
+      R.length && h.push(k(v, L.v, R, i || {}).then(() => ({
         name: v,
         errors: [],
         warnings: []
@@ -168,16 +168,16 @@ function yt(e) {
     }
     const d = pe(h);
     F = d;
-    const I = d.then(() => F === d ? Promise.resolve(g) : Promise.reject([])).catch((P) => {
-      const v = P.filter((L) => L && L.errors.length);
+    const I = d.then(() => F === d ? Promise.resolve(g) : Promise.reject([])).catch((b) => {
+      const v = b.filter((L) => L && L.errors.length);
       return v.length ? Promise.reject({
         values: g,
         errorFields: v,
         outOfDate: F !== d
       }) : Promise.resolve(g);
     });
-    return I.catch((P) => P), I;
-  }, M = function(l, i, c) {
+    return I.catch((b) => b), I;
+  }, k = function(l, i, c) {
     let h = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
     const g = We([l], i, c, y({
       validateMessages: Fe
@@ -186,8 +186,8 @@ function yt(e) {
       let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
       var I;
       if (a[l].validateStatus === "validating") {
-        const P = d.filter((v) => v && v.errors.length);
-        a[l].validateStatus = P.length ? "error" : "success", a[l].help = P.length ? P.map((v) => v.errors) : null, (I = n == null ? void 0 : n.onValidate) === null || I === void 0 || I.call(n, l, !P.length, P.length ? de(a[l].help[0]) : null);
+        const b = d.filter((v) => v && v.errors.length);
+        a[l].validateStatus = b.length ? "error" : "success", a[l].help = b.length ? b.map((v) => v.errors) : null, (I = n == null ? void 0 : n.onValidate) === null || I === void 0 || I.call(n, l, !b.length, b.length ? de(a[l].help[0]) : null);
       }
     }), g) : g.catch((d) => d);
   }, A = (l, i) => {
@@ -213,16 +213,16 @@ function yt(e) {
     }
     return i.help = c, i;
   };
-  let k = s, q = !0;
+  let M = s, q = !0;
   const W = (l) => {
     const i = [];
     o.value.forEach((c) => {
-      const h = te(l, c, !1), g = te(k, c, !1);
+      const h = te(l, c, !1), g = te(M, c, !1);
       (q && (n == null ? void 0 : n.immediate) && h.isValid || !he(h.v, g.v)) && i.push(c);
     }), A(i, {
       trigger: "change"
-    }), q = !1, k = ee(de(l));
-  }, T = n == null ? void 0 : n.debounce;
+    }), q = !1, M = ee(de(l));
+  }, N = n == null ? void 0 : n.debounce;
   let K = !0;
   return U(t, () => {
     o.value = t ? Object.keys(_(t)) : [], !K && n && n.validateOnRuleChange && A(), K = !1;
@@ -242,7 +242,7 @@ function yt(e) {
     y(a, l);
   }, {
     immediate: !0
-  }), U(e, T && T.wait ? nt(W, T.wait, pt(T, ["wait"])) : W, {
+  }), U(e, N && N.wait ? nt(W, N.wait, pt(N, ["wait"])) : W, {
     immediate: n && !!n.immediate,
     deep: !0
   }), {
@@ -252,33 +252,33 @@ function yt(e) {
     validateInfos: a,
     resetFields: m,
     validate: A,
-    validateField: M,
+    validateField: k,
     mergeValidateInfo: E,
     clearValidate: C
   };
 }
 const wt = () => ({
-  layout: ue.oneOf(Ne("horizontal", "inline", "vertical")),
-  labelCol: J(),
-  wrapperCol: J(),
-  colon: G(),
+  layout: ue.oneOf(Te("horizontal", "inline", "vertical")),
+  labelCol: Q(),
+  wrapperCol: Q(),
+  colon: z(),
   labelAlign: se(),
-  labelWrap: G(),
+  labelWrap: z(),
   prefixCls: String,
   requiredMark: oe([String, Boolean]),
   /** @deprecated Will warning in future branch. Pls use `requiredMark` instead. */
-  hideRequiredMark: G(),
+  hideRequiredMark: z(),
   model: ue.object,
-  rules: J(),
-  validateMessages: J(),
-  validateOnRuleChange: G(),
+  rules: Q(),
+  validateMessages: Q(),
+  validateOnRuleChange: z(),
   // 提交失败自动滚动到第一个错误字段
   scrollToFirstError: _e(),
   onSubmit: $(),
   name: String,
   validateTrigger: oe([String, Array]),
   size: se(),
-  disabled: G(),
+  disabled: z(),
   onValuesChange: $(),
   onFieldsChange: $(),
   onFinish: $(),
@@ -288,7 +288,7 @@ const wt = () => ({
 function Ot(e, t) {
   return he(Y(e), Y(t));
 }
-const N = De({
+const T = De({
   compatConfig: {
     MODE: 3
   },
@@ -314,23 +314,23 @@ const N = De({
       direction: p,
       form: F,
       size: O,
-      disabled: M
-    } = qe("form", e), A = b(() => e.requiredMark === "" || e.requiredMark), C = b(() => {
+      disabled: k
+    } = qe("form", e), A = P(() => e.requiredMark === "" || e.requiredMark), C = P(() => {
       var r;
       return A.value !== void 0 ? A.value : F && ((r = F.value) === null || r === void 0 ? void 0 : r.requiredMark) !== void 0 ? F.value.requiredMark : !e.hideRequiredMark;
     });
-    Ie(O), Se(M);
-    const E = b(() => {
+    Ie(O), Se(k);
+    const E = P(() => {
       var r, u;
       return (r = e.colon) !== null && r !== void 0 ? r : (u = F.value) === null || u === void 0 ? void 0 : u.colon;
     }), {
-      validateMessages: k
-    } = je(), q = b(() => y(y(y({}, Fe), k.value), e.validateMessages)), [W, T] = He(m), K = b(() => Ve(m.value, {
+      validateMessages: M
+    } = je(), q = P(() => y(y(y({}, Fe), M.value), e.validateMessages)), [W, N] = He(m), K = P(() => Ve(m.value, {
       [`${m.value}-${e.layout}`]: !0,
       [`${m.value}-hide-required-mark`]: C.value === !1,
       [`${m.value}-rtl`]: p.value === "rtl",
       [`${m.value}-${O.value}`]: O.value
-    }, T.value)), l = ve(), i = {}, c = (r, u) => {
+    }, N.value)), l = ve(), i = {}, c = (r, u) => {
       i[r] = u;
     }, h = (r) => {
       delete i[r];
@@ -349,7 +349,7 @@ const N = De({
       g(r).forEach((u) => {
         u.clearValidate();
       });
-    }, P = (r) => {
+    }, b = (r) => {
       const {
         scrollToFirstError: u
       } = e;
@@ -386,11 +386,11 @@ const N = De({
         return Z(!1, "Form", "model is required for validateFields to work."), Promise.reject("Form `model` is required for validateFields to work.");
       const f = !!r, w = f ? Y(r).map(fe) : [], j = [];
       Object.values(i).forEach((S) => {
-        var z;
-        if (f || w.push(S.namePath.value), !(!((z = S.rules) === null || z === void 0) && z.value.length))
+        var G;
+        if (f || w.push(S.namePath.value), !(!((G = S.rules) === null || G === void 0) && G.value.length))
           return;
         const V = S.namePath.value;
-        if (!f || Je(w, V)) {
+        if (!f || Qe(w, V)) {
           const ye = S.validateRules(y({
             validateMessages: q.value
           }, u));
@@ -399,22 +399,22 @@ const N = De({
             errors: [],
             warnings: []
           })).catch((we) => {
-            const Q = [], X = [];
+            const J = [], X = [];
             return we.forEach((Oe) => {
               let {
                 rule: {
-                  warningOnly: Me
+                  warningOnly: ke
                 },
                 errors: ae
               } = Oe;
-              Me ? X.push(...ae) : Q.push(...ae);
-            }), Q.length ? Promise.reject({
+              ke ? X.push(...ae) : J.push(...ae);
+            }), J.length ? Promise.reject({
               name: V,
-              errors: Q,
+              errors: J,
               warnings: X
             }) : {
               name: V,
-              errors: Q,
+              errors: J,
               warnings: X
             };
           }));
@@ -423,10 +423,10 @@ const N = De({
       const H = pe(j);
       l.value = H;
       const ne = H.then(() => l.value === H ? Promise.resolve(R(w)) : Promise.reject([])).catch((S) => {
-        const z = S.filter((V) => V && V.errors.length);
+        const G = S.filter((V) => V && V.errors.length);
         return Promise.reject({
           values: R(w),
-          errorFields: z,
+          errorFields: G,
           outOfDate: l.value !== H
         });
       });
@@ -437,7 +437,7 @@ const N = De({
       r.preventDefault(), r.stopPropagation(), n("submit", r), e.model && x().then((f) => {
         n("finish", f);
       }).catch((f) => {
-        P(f);
+        b(f);
       });
     };
     return a({
@@ -447,18 +447,18 @@ const N = De({
       getFieldsValue: R,
       validate: v,
       scrollToField: L
-    }), Qe({
-      model: b(() => e.model),
-      name: b(() => e.name),
-      labelAlign: b(() => e.labelAlign),
-      labelCol: b(() => e.labelCol),
-      labelWrap: b(() => e.labelWrap),
-      wrapperCol: b(() => e.wrapperCol),
-      vertical: b(() => e.layout === "vertical"),
+    }), Je({
+      model: P(() => e.model),
+      name: P(() => e.name),
+      labelAlign: P(() => e.labelAlign),
+      labelCol: P(() => e.labelCol),
+      labelWrap: P(() => e.labelWrap),
+      wrapperCol: P(() => e.wrapperCol),
+      vertical: P(() => e.layout === "vertical"),
       colon: E,
       requiredMark: C,
-      validateTrigger: b(() => e.validateTrigger),
-      rules: b(() => e.rules),
+      validateTrigger: P(() => e.validateTrigger),
+      rules: P(() => e.rules),
       addField: c,
       removeField: h,
       onValidate: (r, u, f) => {
@@ -476,11 +476,11 @@ const N = De({
     };
   }
 });
-N.useInjectFormItemContext = it;
-N.ItemRest = re;
-N.install = function(e) {
-  return e.component(N.name, N), e.component(N.Item.name, N.Item), e.component(re.name, re), e;
+T.useInjectFormItemContext = it;
+T.ItemRest = re;
+T.install = function(e) {
+  return e.component(T.name, T), e.component(T.Item.name, T.Item), e.component(re.name, re), e;
 };
 export {
-  N as F
+  T as F
 };

+ 1 - 1
lib/js/index6.js

@@ -1,4 +1,4 @@
-import { g as n, m as t, d as e, a3 as l, r as a, aU as d } from "./index2.js";
+import { g as n, m as t, d as e, a3 as l, r as a, aP as d } from "./index2.js";
 const s = new l("antCheckboxEffect", {
   "0%": {
     transform: "scale(1)",

+ 1 - 1
lib/js/index7.js

@@ -1,4 +1,4 @@
-import { d as B, e as j, M as Se, h as ke, P as c, c as G, _ as P, o as fe, K as xe, i as pe, bp as $e, g as Oe, m as Pe, b as De, u as _e, j as ne, bq as oe, S as ae, B as re, br as Ne, bs as K, ac as Ie } from "./index2.js";
+import { d as B, e as j, M as Se, h as ke, P as c, c as G, _ as P, o as fe, K as xe, i as pe, bk as $e, g as Oe, m as Pe, b as De, u as _e, j as ne, bl as oe, S as ae, B as re, bm as Ne, bn as K, ac as Ie } from "./index2.js";
 import { defineComponent as q, shallowRef as O, onMounted as me, nextTick as L, watch as E, onUnmounted as ve, createVNode as u, Transition as le, withDirectives as ie, vShow as se, ref as Me, computed as I, inject as Te, provide as je } from "vue";
 const ye = () => ({
   prefixCls: String,

+ 2 - 2
lib/js/isPlainObject.js

@@ -1,8 +1,8 @@
-import { aH as n, bn as c } from "./index2.js";
+import { aC as c, bi as n } from "./index2.js";
 import { g as a } from "./_getPrototype.js";
 var i = "[object Object]", s = Function.prototype, p = Object.prototype, e = s.toString, b = p.hasOwnProperty, f = e.call(Object);
 function l(r) {
-  if (!n(r) || c(r) != i)
+  if (!c(r) || n(r) != i)
     return !1;
   var o = a(r);
   if (o === null)

+ 3 - 3
lib/js/isSymbol.js

@@ -1,8 +1,8 @@
-import { aH as b, bn as s } from "./index2.js";
+import { aC as b, bi as s } from "./index2.js";
 var t = "[object Symbol]";
-function e(o) {
+function a(o) {
   return typeof o == "symbol" || b(o) && s(o) == t;
 }
 export {
-  e as i
+  a as i
 };

Diff do ficheiro suprimidas por serem muito extensas
+ 357 - 6096
lib/js/login.js


+ 1 - 1
lib/js/toNumber.js

@@ -1,4 +1,4 @@
-import { aV as e } from "./index2.js";
+import { aQ as e } from "./index2.js";
 import { i as s } from "./isSymbol.js";
 var f = /\s/;
 function o(r) {

Diff do ficheiro suprimidas por serem muito extensas
+ 18 - 17
lib/js/todo.js


+ 14 - 14
lib/js/useMaxLevel.js

@@ -1,4 +1,4 @@
-import { l as x, d as w, a1 as M, aS as F, o as G, aT as $ } from "./index2.js";
+import { l as x, d as w, a1 as M, aN as F, o as G, aO as $ } from "./index2.js";
 import { ref as z, shallowRef as B, watchEffect as R } from "vue";
 function ee(e, t) {
   if (!e) return [];
@@ -53,38 +53,38 @@ function re(e, t, o, n, r, s, f, c, u, l) {
   } = e.target.getBoundingClientRect(), g = ((l === "rtl" ? -1 : 1) * (((r == null ? void 0 : r.x) || 0) - i) - 12) / n;
   let y = c[o.eventKey];
   if (d < p + h / 2) {
-    const N = f.findIndex((D) => D.key === y.key), E = N <= 0 ? 0 : N - 1, L = f[E].key;
+    const S = f.findIndex((D) => D.key === y.key), E = S <= 0 ? 0 : S - 1, L = f[E].key;
     y = c[L];
   }
   const k = y.key, b = y, m = y.key;
   let K = 0, C = 0;
   if (!u.has(k))
-    for (let N = 0; N < g && V(y); N += 1)
+    for (let S = 0; S < g && V(y); S += 1)
       y = y.parent, C += 1;
-  const S = t.eventData, O = y.node;
+  const N = t.eventData, O = y.node;
   let P = !0;
   return W(y) && y.level === 0 && d < p + h / 2 && s({
-    dragNode: S,
+    dragNode: N,
     dropNode: O,
     dropPosition: -1
   }) && y.key === o.eventKey ? K = -1 : (b.children || []).length && u.has(m) ? s({
-    dragNode: S,
+    dragNode: N,
     dropNode: O,
     dropPosition: 0
   }) ? K = 0 : P = !1 : C === 0 ? g > -1.5 ? s({
-    dragNode: S,
+    dragNode: N,
     dropNode: O,
     dropPosition: 1
   }) ? K = 1 : P = !1 : s({
-    dragNode: S,
+    dragNode: N,
     dropNode: O,
     dropPosition: 0
   }) ? K = 0 : s({
-    dragNode: S,
+    dragNode: N,
     dropNode: O,
     dropPosition: 1
   }) ? K = 1 : P = !1 : s({
-    dragNode: S,
+    dragNode: N,
     dropNode: O,
     dropPosition: 1
   }) ? K = 1 : P = !1, {
@@ -171,8 +171,8 @@ function ae(e) {
       if (!U(r))
         return x(!r, "Tree/TreeNode can only accept TreeNode as children."), null;
       const l = r.children || {}, a = r.key, i = {};
-      for (const [N, E] of Object.entries(r.props))
-        i[F(N)] = E;
+      for (const [S, E] of Object.entries(r.props))
+        i[F(S)] = E;
       const {
         isLeaf: d,
         checkable: p,
@@ -189,13 +189,13 @@ function ae(e) {
         title: b = (s = l.title) === null || s === void 0 ? void 0 : s.call(l, k),
         icon: m = (f = l.icon) === null || f === void 0 ? void 0 : f.call(l, k),
         switcherIcon: K = (c = l.switcherIcon) === null || c === void 0 ? void 0 : c.call(l, k)
-      } = i, C = X(i, ["title", "icon", "switcherIcon"]), S = (u = l.default) === null || u === void 0 ? void 0 : u.call(l), O = w(w(w({}, C), {
+      } = i, C = X(i, ["title", "icon", "switcherIcon"]), N = (u = l.default) === null || u === void 0 ? void 0 : u.call(l), O = w(w(w({}, C), {
         title: b,
         icon: m,
         switcherIcon: K,
         key: a,
         isLeaf: d
-      }), y), P = t(S);
+      }), y), P = t(N);
       return P.length && (O.children = P), O;
     });
   }

+ 4 - 3
lib/js/workbench.js

@@ -1,4 +1,5 @@
-import { cz as k, k as x, cA as B, D as E, aq as V, ar as O } from "./index2.js";
+import { b$ as k, k as x, cq as B, D as E } from "./index2.js";
+import { l as V, a as O } from "./common.js";
 import { resolveComponent as b, resolveDirective as L, createBlock as m, openBlock as d, createSlots as C, withCtx as a, withDirectives as S, createElementBlock as c, createTextVNode as o, createVNode as s, createElementVNode as q, toDisplayString as f, Fragment as P, renderList as g, h as M } from "vue";
 import "./index15.js";
 import { I as R } from "./Search.js";
@@ -9445,7 +9446,7 @@ function Q(e, l, y, X, u, t) {
     } : void 0
   ]), 1032, ["buttons", "onReset", "onBtnCallback", "onTableColCallback", "columns", "loadData"]);
 }
-const al = /* @__PURE__ */ x(G, [["render", Q]]);
+const sl = /* @__PURE__ */ x(G, [["render", Q]]);
 export {
-  al as default
+  sl as default
 };

+ 1 - 0
package.json

@@ -26,6 +26,7 @@
     "axios": "^1.7.3",
     "crypto-js": "^4.2.0",
     "dayjs": "^1.11.12",
+    "js-base64": "^3.7.2",
     "html2canvas": "^1.4.1",
     "jodit": "3.24.7",
     "jsencrypt": "^3.3.2",

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff