diry 2 週間 前
親
コミット
edbb514124

+ 2 - 0
docs/sapit-ui-base-guide.en.md

@@ -157,6 +157,7 @@ The height chain of `BasicLayout` (**business layout components must match it**,
 | `messageFormat(str, values)`        | `{0}` / `{name}` placeholder substitution (confirm dialogs etc.)                |
 | `filterSelectOption(iv, opt)`       | antd4-ready `:filterOption` (reads `option.label` / `option.value`)             |
 | `randomDrawerPlacement()`           | Randomly returns `left` / `right` / `top` / `bottom` (kept from the source project) |
+| `getTableHeight({ selector, offset })` | List table height = window height − search area − offset (defaults `.table-page-search-wrapper` / `320`; no-arg call keeps legacy behaviour). **Only for legacy fixed-height lists** — `SListLayout` uses flex sizing |
 | `iconOf(type)`                      | Converts legacy antd v1 `<a-icon type="info-circle">` names: kebab / snake / Pascal in → icon component. Usage: `<component :is="$utils.iconOf('info-circle')" />` |
 | `hasAction(name)`                   | Functional button-level permission check, same source as `v-action`; for `v-if` OR / AND logic and `disabled` computation |
 | Others                              | Type checks, dates, arrays, url, dom, debounce/throttle, money, phone validation, etc. |
@@ -1227,6 +1228,7 @@ The `dependencies` of `sapit-ui-plus` are installed into the business `node_modu
 | `$utils.messageFormat(str, values)`                       | `{0}` / `{name}` placeholder substitution        |
 | `$utils.filterSelectOption(iv, opt)`                      | antd4-ready select filter                        |
 | `$utils.randomDrawerPlacement()`                          | Random drawer direction                          |
+| `$utils.getTableHeight()`                                 | Legacy list table height (window − search − offset) |
 | `var(--s-color)` / `.s-theme-color`                       | Theme color (CSS variable / utility class)       |
 
 ---

+ 1 - 0
docs/sapit-ui-基座说明与业务使用.md

@@ -155,6 +155,7 @@ sapit-ui-framework/
 | `messageFormat(str, values)`       | `{0}` / `{name}` 占位符替换,用于确认弹窗等文案                    |
 | `filterSelectOption(iv, opt)`      | antd4 版 `:filterOption`(读 `option.label` / `option.value`)     |
 | `randomDrawerPlacement()`          | 随机返回 `left` / `right` / `top` / `bottom`(源项目交互保留)     |
+| `getTableHeight({ selector, offset })` | 列表页表格高度 = 窗口高 − 搜索区高 − 偏移(默认 `.table-page-search-wrapper` / `320`,不传参即老项目原行为)。**老项目固定高度撑表才用**,基座 `SListLayout` 走 flex 自适应 |
 | `iconOf(type)`                     | antd v1 `<a-icon type="info-circle">` 遗留写法的换算:kebab / snake / Pascal 入参 → 图标组件。用法 `<component :is="$utils.iconOf('info-circle')" />` |
 | `hasAction(name)`                  | 按钮级权限**函数式**判断,与 `v-action` 同源;用于 `v-if` 里的「或 / 且」、算 `disabled` |
 | 其它                               | 类型判断、日期、数组、url、dom、防抖节流、金额、手机号校验等       |

+ 1 - 1
lib/config.json

@@ -1 +1 @@
-{"_hash":1793605427096,"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_LOGIN_PHONE":false,"VITE_APP_LOGIN_QRCODE":false,"VITE_APP_MESSAGE_VISIBLE":true,"VITE_APP_IS_BASE":true,"VITE_APP_LANG_ENABLE":false,"VITE_APP_LANG":"zh","VITE_APP_API_PATH":"/apig","VITE_APP_SYS_SERVER_NAME":"portal","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_APP_SOCKET_PATH":"/apig/ws/websocket","VITE_CONFIG_MODE":false,"VITE_APP_API_BASE_URL":"http://192.168.200.7:6801","VITE_APP_API_FILE_URL":"/","VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_MENU_THEME":"light","VITE_APP_MENU_BG":"#ebf7fe","VITE_APP_MENU_SUB_BG":"#ebf7fe","VITE_APP_MENU_HOVER_BG":"#d5e8f5","VITE_APP_MENU_ACTIVE_BG":"#d5e8f5","VITE_APP_MENU_TEXT":"","VITE_APP_MENU_TEXT_HOVER":"","VITE_APP_MENU_TEXT_ACTIVE":"","VITE_APP_MENU_GROUP_TITLE":"","VITE_APP_MENU_BG_LIGHTNESS":93,"VITE_APP_MENU_BG_SATURATION":66,"VITE_APP_MENU_BG_ACTIVE_MIX":16,"VITE_APP_MENU_BAR":"left","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_USER_NODE_ENV":"production"}
+{"_hash":1793612274348,"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_LOGIN_PHONE":false,"VITE_APP_LOGIN_QRCODE":false,"VITE_APP_MESSAGE_VISIBLE":true,"VITE_APP_IS_BASE":true,"VITE_APP_LANG_ENABLE":false,"VITE_APP_LANG":"zh","VITE_APP_API_PATH":"/apig","VITE_APP_SYS_SERVER_NAME":"portal","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_APP_SOCKET_PATH":"/apig/ws/websocket","VITE_CONFIG_MODE":false,"VITE_APP_API_BASE_URL":"http://192.168.200.7:6801","VITE_APP_API_FILE_URL":"/","VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_MENU_THEME":"light","VITE_APP_MENU_BG":"#ebf7fe","VITE_APP_MENU_SUB_BG":"#ebf7fe","VITE_APP_MENU_HOVER_BG":"#d5e8f5","VITE_APP_MENU_ACTIVE_BG":"#d5e8f5","VITE_APP_MENU_TEXT":"","VITE_APP_MENU_TEXT_HOVER":"","VITE_APP_MENU_TEXT_ACTIVE":"","VITE_APP_MENU_GROUP_TITLE":"","VITE_APP_MENU_BG_LIGHTNESS":93,"VITE_APP_MENU_BG_SATURATION":66,"VITE_APP_MENU_BG_ACTIVE_MIX":16,"VITE_APP_MENU_BAR":"left","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_USER_NODE_ENV":"production"}

ファイルの差分が大きいため隠しています
+ 0 - 0
lib/css/style.css


+ 13 - 13
lib/js/Col.js

@@ -1,13 +1,13 @@
-import { bD as D, g as E, m as T, d as g, u as F, bE as V, bF as j, c as k, _ as C, aw as N } from "./index2.js";
+import { bq as T, g as E, m as D, d as g, u as k, br as V, bs as j, c as F, _ as C, aw as N } 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 q = () => {
   const e = X(!1);
   return L(() => {
-    e.value = D();
+    e.value = T();
   }), e;
-}, _ = Symbol("rowContextKey"), U = (e) => {
+}, _ = Symbol("rowContextKey"), J = (e) => {
   K(_, e);
-}, q = () => H(_, {
+}, U = () => H(_, {
   gutter: m(() => {
   }),
   wrap: m(() => {
@@ -114,7 +114,7 @@ const J = () => {
 }, O = (e, t) => Z(e, t), z = (e, t, u) => ({
   [`@media (min-width: ${t}px)`]: g({}, O(e, u))
 }), ee = E("Grid", (e) => [Q(e)]), te = E("Grid", (e) => {
-  const t = T(e, {
+  const t = D(e, {
     gridColumns: 24
     // Row is divided into 24 parts in Grid
   }), u = {
@@ -149,7 +149,7 @@ const J = () => {
     const {
       prefixCls: o,
       direction: s
-    } = F("row", e), [G, y] = ee(o);
+    } = k("row", e), [G, y] = ee(o);
     let b;
     const v = V(), x = R({
       xs: !0,
@@ -178,7 +178,7 @@ const J = () => {
           return i;
       }
       return "";
-    }), f = h("align"), p = h("justify"), d = J();
+    }), f = h("align"), p = h("justify"), d = q();
     L(() => {
       b = v.value.subscribe((n) => {
         S.value = n;
@@ -205,12 +205,12 @@ const J = () => {
           n[M] = i;
       }), n;
     });
-    U({
+    J({
       gutter: $,
       supportFlexGap: d,
       wrap: m(() => e.wrap)
     });
-    const w = m(() => k(o.value, {
+    const w = m(() => F(o.value, {
       [`${o.value}-no-wrap`]: e.wrap === !1,
       [`${o.value}-${p.value}`]: p.value,
       [`${o.value}-${f.value}`]: f.value,
@@ -279,10 +279,10 @@ const se = () => ({
       gutter: o,
       supportFlexGap: s,
       wrap: G
-    } = q(), {
+    } = U(), {
       prefixCls: y,
       direction: b
-    } = F("col", e), [v, x] = te(y), S = m(() => {
+    } = k("col", e), [v, x] = te(y), S = m(() => {
       const {
         span: f,
         order: p,
@@ -302,7 +302,7 @@ const se = () => ({
           [`${c}-${r}-pull-${l.pull}`]: l.pull || l.pull === 0,
           [`${c}-rtl`]: b.value === "rtl"
         });
-      }), k(c, {
+      }), F(c, {
         [`${c}-${f}`]: f !== void 0,
         [`${c}-order-${p}`]: p,
         [`${c}-offset-${d}`]: d,

+ 34 - 0
lib/js/SFooterToolBar.js

@@ -0,0 +1,34 @@
+import { openBlock as a, createElementBlock as s, normalizeClass as l, createElementVNode as o, renderSlot as r, createTextVNode as n, toDisplayString as d } from "vue";
+import { n as i } from "./index2.js";
+const c = { class: "s-footer-tool-bar-left" }, f = { class: "s-footer-tool-bar-right" }, u = /* @__PURE__ */ Object.assign({ name: "SFooterToolBar" }, {
+  __name: "SFooterToolBar",
+  props: {
+    // 左区内容(无 #extra 插槽时生效)
+    extra: {
+      type: [String, Object],
+      default: ""
+    },
+    // 是否贴底固定
+    fixed: {
+      type: Boolean,
+      default: !0
+    }
+  },
+  setup(e) {
+    return (t, m) => (a(), s("div", {
+      class: l(["s-footer-tool-bar", { "is-fixed": e.fixed }])
+    }, [
+      o("div", c, [
+        r(t.$slots, "extra", {}, () => [
+          n(d(e.extra), 1)
+        ], !0)
+      ]),
+      o("div", f, [
+        r(t.$slots, "default", {}, void 0, !0)
+      ])
+    ], 2));
+  }
+}), x = /* @__PURE__ */ i(u, [["__scopeId", "data-v-2e427f78"]]);
+export {
+  x as default
+};

+ 63 - 39
lib/js/SForm.js

@@ -1,7 +1,7 @@
-import { useAttrs as h, ref as u, computed as s, watchEffect as y, openBlock as b, createElementBlock as F, createVNode as g, mergeProps as S, withCtx as V, renderSlot as _ } from "vue";
-import { n as w } from "./index2.js";
-import { F as v } from "./index4.js";
-const C = { class: "s-form" }, x = {
+import { useAttrs as g, ref as d, computed as f, watchEffect as v, openBlock as S, createElementBlock as w, createVNode as V, mergeProps as _, withCtx as C, renderSlot as x } from "vue";
+import { n as O } from "./index2.js";
+import { F as B } from "./index4.js";
+const A = { class: "s-form" }, j = {
   __name: "SForm",
   props: {
     model: {
@@ -35,8 +35,8 @@ const C = { class: "s-form" }, x = {
       }
     }
   },
-  setup(a, { expose: c }) {
-    const n = h(), o = a, t = u(), d = u(o.column >= 5 ? 4 : o.column), i = /* @__PURE__ */ new Set([
+  setup(u, { expose: m }) {
+    const i = g(), o = u, n = d(), p = d(o.column >= 5 ? 4 : o.column), h = /* @__PURE__ */ new Set([
       "disabled",
       "allowClear",
       "clearable",
@@ -55,60 +55,84 @@ const C = { class: "s-form" }, x = {
       "treeCheckable",
       "showOnlyOrganization",
       "isDataScopeFilter"
-    ]), f = (e) => typeof e == "boolean" ? e : e === "" || e === null || e === void 0 ? e === "" ? !0 : e : typeof e == "string" ? !(e === "false" || e === "0") : !!e, m = s(() => {
+    ]), y = (e) => typeof e == "boolean" ? e : e === "" || e === null || e === void 0 ? e === "" ? !0 : e : typeof e == "string" ? !(e === "false" || e === "0") : !!e, F = f(() => {
       const e = {};
-      return Object.keys(n || {}).forEach((l) => {
-        const r = n[l];
-        e[l] = i.has(l) ? f(r) : r;
+      return Object.keys(i || {}).forEach((t) => {
+        const l = i[t];
+        e[t] = h.has(t) ? y(l) : l;
       }), e;
-    }), p = s(() => {
-      const e = o.layout, l = (o == null ? void 0 : o.labelWidth) + "";
+    }), b = f(() => {
+      const e = o.layout, t = (o == null ? void 0 : o.labelWidth) + "";
       return e === "horizontal" ? {
         style: {
-          width: l.includes("px") ? l : l + "px"
+          width: t.includes("px") ? t : t + "px"
         }
       } : {};
     });
-    return y(() => {
+    return v(() => {
       o.column > 4 && console.warn(`当前设置表单列column【${o.column}】最多显示为4列,已默认为最多4列`);
-    }), c({ validate: () => new Promise((e, l) => {
-      t.value.validate().then((r) => {
-        e(r);
-      }).catch((r) => {
-        l(r);
+    }), m({ validate: (e, t) => {
+      const l = typeof e == "function" ? e : typeof t == "function" ? t : null, r = typeof e == "function" ? void 0 : e;
+      return new Promise((s, a) => {
+        (r && r.length ? n.value.validateFields(r) : n.value.validate()).then((c) => {
+          l && l(!0), s(c);
+        }).catch((c) => {
+          if (l) {
+            l(!1, c), s(void 0);
+            return;
+          }
+          a(c);
+        });
+      });
+    }, validateField: (e, t) => {
+      const l = typeof t == "function" ? t : null;
+      return new Promise((r, s) => {
+        if (!n.value) {
+          r(void 0);
+          return;
+        }
+        n.value.validateFields(e).then((a) => {
+          l && l(!0), r(a);
+        }).catch((a) => {
+          if (l) {
+            l(!1, a), r(void 0);
+            return;
+          }
+          s(a);
+        });
       });
-    }), clearValidate: (e) => {
-      t.value && t.value.clearValidate(e);
+    }, clearValidate: (e) => {
+      n.value && n.value.clearValidate(e);
     }, resetFields: (e) => {
-      t.value && t.value.resetFields(e);
-    }, getFieldsValue: (e) => t.value ? t.value.getFieldsValue(e) : {}, setFieldsValue: (e) => {
-      t.value && t.value.setFieldsValue(e);
-    } }), (e, l) => {
-      const r = v;
-      return b(), F("div", C, [
-        g(r, S({
-          labelCol: p.value.labelCol,
-          model: a.model,
-          rules: a.rules,
-          layout: a.layout
-        }, m.value, {
+      n.value && n.value.resetFields(e);
+    }, getFieldsValue: (e) => n.value ? n.value.getFieldsValue(e) : {}, setFieldsValue: (e) => {
+      n.value && n.value.setFieldsValue(e);
+    } }), (e, t) => {
+      const l = B;
+      return S(), w("div", A, [
+        V(l, _({
+          labelCol: b.value.labelCol,
+          model: u.model,
+          rules: u.rules,
+          layout: u.layout
+        }, F.value, {
           ref_key: "form",
-          ref: t,
+          ref: n,
           style: {
             display: "grid",
-            gridTemplateColumns: `repeat(${d.value}, 1fr)`,
+            gridTemplateColumns: `repeat(${p.value}, 1fr)`,
             gap: "20px"
           }
         }), {
-          default: V(() => [
-            _(e.$slots, "default", {}, void 0, !0)
+          default: C(() => [
+            x(e.$slots, "default", {}, void 0, !0)
           ]),
           _: 3
         }, 16, ["labelCol", "model", "rules", "layout", "style"])
       ]);
     };
   }
-}, $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-4775fdd2"]]);
+}, M = /* @__PURE__ */ O(j, [["__scopeId", "data-v-633f4395"]]);
 export {
-  $ as default
+  M as default
 };

+ 280 - 0
lib/js/SFormBasicLayout.js

@@ -0,0 +1,280 @@
+import { ref as l, computed as U, watch as X, onMounted as Y, resolveComponent as w, openBlock as a, createElementBlock as c, createVNode as d, withCtx as v, createElementVNode as s, toDisplayString as m, renderSlot as g, createCommentVNode as i, Fragment as O, renderList as W, createBlock as b, normalizeStyle as A, normalizeClass as Z, createTextVNode as T, nextTick as ee } from "vue";
+import { n as te, ao as ae, B as oe } from "./index2.js";
+import { _ as le, S as ne } from "./index10.js";
+import { T as se, _ as ie } from "./index11.js";
+const ue = { class: "row" }, ce = { class: "title" }, re = { class: "btns" }, fe = {
+  key: 0,
+  class: "row sub-title-wrap"
+}, de = { class: "sub-title" }, ve = ["id"], ye = {
+  key: 1,
+  class: "collapses-content-wrap"
+}, me = { class: "modal" }, be = /* @__PURE__ */ Object.assign({ name: "SFormBasicLayout" }, {
+  __name: "SFormBasicLayout",
+  props: {
+    loading: {
+      type: Boolean,
+      default: !1
+    },
+    // 表单主体容器的 id(锚点/表单定位用)
+    commonId: {
+      type: String,
+      default: "form-container"
+    },
+    // 页面标题
+    title: {
+      type: String,
+      required: !0
+    },
+    subTitle: {
+      type: String,
+      default: ""
+    },
+    showBtnIcon: {
+      type: Boolean,
+      default: !0
+    },
+    steps: {
+      type: Array,
+      default: () => []
+    },
+    stepDefaultActive: {
+      type: Number,
+      default: 0
+    },
+    // 上一步校验:返回 Promise<boolean>,resolve(false) 时停在当前步
+    stepValid: {
+      type: Function,
+      default: void 0
+    },
+    tabs: {
+      type: Array,
+      default: () => []
+    },
+    tabKey: {
+      type: Object,
+      default: () => ({
+        label: "label",
+        value: "value"
+      })
+    },
+    formStyle: {
+      type: Object,
+      default: () => ({})
+    },
+    goBack: {
+      type: Boolean,
+      default: !0
+    },
+    isShowSave: {
+      type: Boolean,
+      default: !0
+    },
+    saveBtnText: {
+      type: String,
+      default: "保存"
+    }
+  },
+  emits: ["footer-callback", "tabsChange"],
+  setup(t, { expose: z, emit: E }) {
+    const n = t, y = E, R = l(null), q = l(null), V = l(null), K = l(null), N = l(null), x = l(null), F = l("0px"), D = l("100%"), o = l(0), C = U(() => n.tabKey && n.tabKey.value || "value"), p = l("");
+    X(() => n.tabs, () => {
+      const e = n.tabs || [];
+      if (!e.length) {
+        p.value = "";
+        return;
+      }
+      const r = C.value;
+      e.some((u) => u && u[r] === p.value) || (p.value = e[0][r]);
+    }, { immediate: !0, deep: !0 });
+    function P() {
+      ee(() => {
+        var k, _, f, S, B;
+        const e = ((k = V.value) == null ? void 0 : k.offsetHeight) || 0, r = ((_ = K.value) == null ? void 0 : _.offsetHeight) || 0, u = ((f = x.value) == null ? void 0 : f.offsetHeight) || 0, $ = n.subTitle ? 34 : 0;
+        F.value = (((S = R.value) == null ? void 0 : S.offsetHeight) || 0) - u - e - r - $ - 20 + "px";
+        const H = 0;
+        D.value = (((B = N.value) == null ? void 0 : B.offsetWidth) || 0) - H + "px";
+      });
+    }
+    function I() {
+      y("footer-callback", "cancel");
+    }
+    function L() {
+      o.value--, y("footer-callback", "prev", o.value);
+    }
+    function j() {
+      if (typeof n.stepValid != "function") {
+        o.value++, y("footer-callback", "next", o.value);
+        return;
+      }
+      n.stepValid(o.value).then((e) => {
+        e && (o.value++, y("footer-callback", "next", o.value));
+      });
+    }
+    function M() {
+      y("footer-callback", "save");
+    }
+    function G(e) {
+      p.value = e;
+      const r = n.tabs.find((u) => u[C.value] === e);
+      y("tabsChange", r);
+    }
+    return Y(() => {
+      P(), o.value = n.stepDefaultActive;
+    }), z({
+      save: M,
+      rollback: I,
+      handNext: j,
+      handPrev: L,
+      stepActive: o
+    }), (e, r) => {
+      const u = ne, $ = le, H = ie, k = se, _ = w("close-outlined"), f = oe, S = w("arrow-left-outlined"), B = w("arrow-right-outlined"), J = w("save-outlined"), Q = ae;
+      return a(), c("div", {
+        class: "s-form-basic-layout",
+        ref_key: "layoutRef",
+        ref: R
+      }, [
+        d(Q, { spinning: t.loading }, {
+          default: v(() => [
+            s("div", {
+              class: "tools",
+              ref_key: "toolsRef",
+              ref: q
+            }, [
+              s("div", ue, [
+                s("div", ce, [
+                  s("span", null, m(t.title), 1)
+                ]),
+                s("div", re, [
+                  g(e.$slots, "otherBtns", {}, void 0, !0)
+                ])
+              ]),
+              t.subTitle ? (a(), c("div", fe, [
+                s("div", de, m(t.subTitle), 1)
+              ])) : i("", !0)
+            ], 512),
+            t.steps && t.steps.length ? (a(), c("div", {
+              key: 0,
+              class: "step-wrap",
+              ref_key: "stepRef",
+              ref: V
+            }, [
+              d($, {
+                current: o.value,
+                type: "navigation"
+              }, {
+                default: v(() => [
+                  (a(!0), c(O, null, W(t.steps, (h) => (a(), b(u, {
+                    title: h,
+                    key: h,
+                    disabled: ""
+                  }, null, 8, ["title"]))), 128))
+                ]),
+                _: 1
+              }, 8, ["current"])
+            ], 512)) : i("", !0),
+            t.tabs && t.tabs.length ? (a(), c("div", {
+              key: 1,
+              class: "tabs-wrap",
+              ref_key: "tabsRef",
+              ref: K
+            }, [
+              d(k, {
+                "active-key": p.value,
+                onChange: G
+              }, {
+                default: v(() => [
+                  (a(!0), c(O, null, W(t.tabs, (h) => (a(), b(H, {
+                    tab: h[t.tabKey.label],
+                    key: h[C.value]
+                  }, null, 8, ["tab"]))), 128))
+                ]),
+                _: 1
+              }, 8, ["active-key"])
+            ], 512)) : i("", !0),
+            s("div", {
+              class: Z(["form-layout-main", { whiteBg: !!e.$slots.form }]),
+              id: t.commonId,
+              ref_key: "formMain",
+              ref: N,
+              style: A({ height: F.value })
+            }, [
+              e.$slots.form ? (a(), c("div", {
+                key: 0,
+                class: "form-container-wrap",
+                style: A(t.formStyle)
+              }, [
+                g(e.$slots, "form", {}, void 0, !0)
+              ], 4)) : i("", !0),
+              e.$slots.collapses ? (a(), c("div", ye, [
+                g(e.$slots, "collapses", {}, void 0, !0)
+              ])) : i("", !0)
+            ], 14, ve),
+            s("div", me, [
+              g(e.$slots, "other", {}, void 0, !0)
+            ]),
+            s("div", {
+              class: "s-form-basic-fixed-footer",
+              ref_key: "footer",
+              ref: x,
+              style: A({ width: D.value })
+            }, [
+              t.goBack ? (a(), b(f, {
+                key: 0,
+                class: "btn",
+                onClick: I
+              }, {
+                default: v(() => [
+                  d(_),
+                  T(m(e.$l("取消")), 1)
+                ]),
+                _: 1
+              })) : i("", !0),
+              t.steps.length ? (a(), b(f, {
+                key: 1,
+                class: "btn",
+                disabled: o.value === t.stepDefaultActive,
+                onClick: L
+              }, {
+                default: v(() => [
+                  d(S),
+                  T(m(e.$l("上一步")), 1)
+                ]),
+                _: 1
+              }, 8, ["disabled"])) : i("", !0),
+              t.steps.length ? (a(), b(f, {
+                key: 2,
+                class: "btn",
+                type: "primary",
+                disabled: o.value === t.steps.length - 1,
+                onClick: j
+              }, {
+                default: v(() => [
+                  d(B),
+                  T(m(e.$l("下一步")), 1)
+                ]),
+                _: 1
+              }, 8, ["disabled"])) : i("", !0),
+              t.isShowSave ? (a(), b(f, {
+                key: 3,
+                style: { "margin-right": "8px" },
+                type: "primary",
+                onClick: M
+              }, {
+                default: v(() => [
+                  d(J),
+                  T(" " + m(e.$l(t.saveBtnText)), 1)
+                ]),
+                _: 1
+              })) : i("", !0),
+              g(e.$slots, "footer", {}, void 0, !0)
+            ], 4)
+          ]),
+          _: 3
+        }, 8, ["spinning"])
+      ], 512);
+    };
+  }
+}), Se = /* @__PURE__ */ te(be, [["__scopeId", "data-v-3ea83b5c"]]);
+export {
+  Se as default
+};

+ 23 - 22
lib/js/SFormItem.js

@@ -1,17 +1,17 @@
 var _ = Object.defineProperty;
 var s = Object.getOwnPropertySymbols;
-var S = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
-var c = (n, t, o) => t in n ? _(n, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[t] = o, a = (n, t) => {
+var S = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
+var c = (r, t, o) => t in r ? _(r, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[t] = o, a = (r, t) => {
   for (var o in t || (t = {}))
-    S.call(t, o) && c(n, o, t[o]);
+    S.call(t, o) && c(r, o, t[o]);
   if (s)
     for (var o of s(t))
-      g.call(t, o) && c(n, o, t[o]);
-  return n;
+      y.call(t, o) && c(r, o, t[o]);
+  return r;
 };
-import { useAttrs as y, computed as u, openBlock as i, createElementBlock as d, createVNode as w, mergeProps as C, withCtx as B, renderSlot as m, createCommentVNode as O } from "vue";
-import { _ as k } from "./index4.js";
-const A = { class: "s-form-item" }, x = {
+import { useAttrs as g, computed as u, openBlock as i, createElementBlock as d, createVNode as w, mergeProps as C, withCtx as A, renderSlot as m, createCommentVNode as B } from "vue";
+import { _ as O } from "./index4.js";
+const k = { class: "s-form-item" }, x = {
   key: 0,
   class: "label"
 }, D = {
@@ -25,13 +25,14 @@ const A = { class: "s-form-item" }, x = {
       type: [Number, String],
       default: "100%"
     },
+    // 支持嵌套字段:name 传字符串,或传数组路径(如 ['dsConfigRdb', 'dbCode']),与 a-form-item 一致
     name: {
-      type: String,
+      type: [String, Array],
       default: ""
     }
   },
-  setup(n) {
-    const t = y(), o = n, f = /* @__PURE__ */ new Set([
+  setup(r) {
+    const t = g(), o = r, f = /* @__PURE__ */ new Set([
       "disabled",
       "allowClear",
       "clearable",
@@ -52,9 +53,9 @@ const A = { class: "s-form-item" }, x = {
       "isDataScopeFilter"
     ]), p = (e) => typeof e == "boolean" ? e : e === "" || e === null || e === void 0 ? e === "" ? !0 : e : typeof e == "string" ? !(e === "false" || e === "0") : !!e, b = u(() => {
       const e = {};
-      return Object.keys(t || {}).forEach((l) => {
-        const r = t[l];
-        e[l] = f.has(l) ? p(r) : r;
+      return Object.keys(t || {}).forEach((n) => {
+        const l = t[n];
+        e[n] = f.has(n) ? p(l) : l;
       }), e;
     }), h = u(() => {
       const e = o.labelWidth + "";
@@ -66,17 +67,17 @@ const A = { class: "s-form-item" }, x = {
         }
       };
     });
-    return (e, l) => {
-      const r = k;
-      return i(), d("div", A, [
-        w(r, C({
-          label: n.label,
-          name: n.name
+    return (e, n) => {
+      const l = O;
+      return i(), d("div", k, [
+        w(l, C({
+          label: r.label,
+          name: r.name
         }, a(a({}, h.value), b.value), { class: "s-form-item" }), {
-          default: B(() => [
+          default: A(() => [
             e.$slots.label ? (i(), d("div", x, [
               m(e.$slots, "label")
-            ])) : O("", !0),
+            ])) : B("", !0),
             m(e.$slots, "default")
           ]),
           _: 3

+ 257 - 0
lib/js/SListBasicLayout.js

@@ -0,0 +1,257 @@
+import { ref as o, watch as M, onMounted as ee, onActivated as te, nextTick as N, resolveComponent as g, openBlock as l, createElementBlock as s, createVNode as f, withCtx as y, createElementVNode as u, normalizeStyle as $, renderSlot as a, createTextVNode as ne, toDisplayString as R, createBlock as P, createCommentVNode as i, withDirectives as oe, vShow as le, Fragment as se } from "vue";
+import { n as ae, ao as ie, y as ue, B as re } from "./index2.js";
+const ce = {
+  key: 0,
+  class: "filter-content"
+}, de = { class: "filter" }, fe = {
+  key: 1,
+  class: "reset-wrap"
+}, ye = {
+  key: 1,
+  class: "filter-more-content"
+}, me = {
+  key: 2,
+  class: "desc-wrap"
+}, pe = { class: "table-content" }, ve = { class: "table-container" }, he = ["onClick"], _e = { class: "other" }, ge = /* @__PURE__ */ Object.assign({ name: "SListBasicLayout" }, {
+  __name: "SListBasicLayout",
+  props: {
+    // 列表 checkbox 列
+    isSelection: {
+      type: Boolean,
+      default: !1
+    },
+    showPagination: {
+      type: Boolean,
+      default: !0
+    },
+    columns: {
+      type: Array,
+      default: () => []
+    },
+    rowKey: {
+      type: [Function, String],
+      default: "id"
+    },
+    loadData: {
+      type: Function,
+      required: !0
+    },
+    pSize: {
+      type: [String, Number],
+      default: 10
+    },
+    // 初始勾选的表格行 key
+    selectedRowKeysArr: {
+      type: Array,
+      default: () => []
+    }
+  },
+  emits: ["reset", "tableColCallback"],
+  setup(c, { expose: T, emit: V }) {
+    const m = c, x = V, k = o(null), B = o(null), H = o(null), p = o(null), d = o(!1), r = o(0), I = o(0), K = o(!1), z = o(10), E = o(!1), v = o([]), L = o([]), b = o([]);
+    M(
+      () => m.columns,
+      () => D()
+    ), M(
+      () => m.selectedRowKeysArr,
+      (e) => {
+        v.value = e || [];
+      },
+      { immediate: !0 }
+    );
+    function j() {
+      var e;
+      r.value = (((e = k.value) == null ? void 0 : e.offsetHeight) || 0) - 48, z.value = m.pSize, b.value = m.columns.map((t) => ((t.template || t.isClick || t.dataIndex === "action" && !t.customRender) && !t.scopedSlots && (t.scopedSlots = { customRender: t.dataIndex }), t)), C();
+    }
+    function D() {
+      j();
+    }
+    function A() {
+      d.value = !d.value, C();
+    }
+    function F() {
+      x("reset");
+    }
+    function q() {
+      p.value && p.value.refresh(!0);
+    }
+    function O(e, t) {
+      x("tableColCallback", e, t);
+    }
+    function U(e) {
+      v.value = e;
+    }
+    function w(e) {
+      return b.value.find((t) => t.dataIndex === e);
+    }
+    function W(e) {
+      const t = w(e);
+      return !!(t && t.template);
+    }
+    function G(e) {
+      const t = w(e);
+      return !!(t && t.isClick);
+    }
+    function J(e) {
+      return e == null ? "" : typeof e == "object" ? e.name === void 0 ? "" : e.name : e;
+    }
+    function C() {
+      N(() => {
+        var h, _;
+        const t = ((h = B.value) == null ? void 0 : h.offsetHeight) || 0, S = ((_ = H.value) == null ? void 0 : _.offsetHeight) || 0;
+        I.value = r.value - t - 134 - S - 24;
+      });
+    }
+    return ee(() => {
+      D();
+    }), te(() => {
+      N(() => {
+        var e;
+        r.value = (((e = k.value) == null ? void 0 : e.offsetHeight) || 0) - 48, C();
+      });
+    }), T({
+      reload: q,
+      table: p,
+      spinning: K,
+      selectedRowKeys: v,
+      filterReset: F,
+      toggleFilter: A
+    }), (e, t) => {
+      const S = g("down-outlined"), h = g("up-outlined"), _ = g("sync-outlined"), Q = re, X = ue, Y = g("s-table"), Z = ie;
+      return l(), s("div", {
+        class: "s-list-basic-layout",
+        ref_key: "layoutRef",
+        ref: k
+      }, [
+        f(Z, { spinning: K.value }, {
+          default: y(() => [
+            u("div", {
+              class: "s-list-basic-layout-main",
+              style: $({ height: r.value + "px" })
+            }, [
+              e.$slots.empty ? (l(), s("div", {
+                key: 1,
+                class: "s-list-basic-content",
+                style: $({ height: r.value + "px" })
+              }, [
+                a(e.$slots, "empty", {}, void 0, !0)
+              ], 4)) : (l(), s("div", {
+                key: 0,
+                class: "s-list-basic-content",
+                style: $({ height: r.value + "px" })
+              }, [
+                u("div", {
+                  class: "filter-wrap",
+                  ref_key: "filtersRef",
+                  ref: B
+                }, [
+                  e.$slots.filter ? (l(), s("div", ce, [
+                    u("div", de, [
+                      a(e.$slots, "filter", {}, void 0, !0)
+                    ]),
+                    e.$slots.filterMore ? (l(), s("a", {
+                      key: 0,
+                      class: "filter-more-btn",
+                      onClick: A
+                    }, [
+                      ne(R(d.value ? e.$l("收起筛选") : e.$l("更多筛选")) + " ", 1),
+                      d.value ? (l(), P(h, {
+                        key: 1,
+                        style: { "font-size": "12px" }
+                      })) : (l(), P(S, {
+                        key: 0,
+                        style: { "font-size": "12px" }
+                      }))
+                    ])) : i("", !0),
+                    e.$slots.filter ? (l(), s("div", fe, [
+                      f(X, {
+                        placement: "top",
+                        overlayStyle: { maxWidth: "500px" },
+                        mouseEnterDelay: 1.5,
+                        mouseLeaveDelay: 0.5
+                      }, {
+                        title: y(() => [
+                          u("span", null, R(e.$l("条件重置")), 1)
+                        ]),
+                        default: y(() => [
+                          f(Q, {
+                            style: { "padding-bottom": "2px" },
+                            onClick: F
+                          }, {
+                            icon: y(() => [
+                              f(_)
+                            ]),
+                            _: 1
+                          })
+                        ]),
+                        _: 1
+                      })
+                    ])) : i("", !0)
+                  ])) : i("", !0),
+                  e.$slots.filterMore ? oe((l(), s("div", ye, [
+                    a(e.$slots, "filterMore", {}, void 0, !0)
+                  ], 512)), [
+                    [le, d.value]
+                  ]) : i("", !0),
+                  e.$slots.desc ? (l(), s("div", me, [
+                    a(e.$slots, "desc", {}, void 0, !0)
+                  ])) : i("", !0)
+                ], 512),
+                u("div", pe, [
+                  e.$slots.tabs ? (l(), s("div", {
+                    key: 0,
+                    class: "tabs-wrap",
+                    ref_key: "tabsRef",
+                    ref: H
+                  }, [
+                    a(e.$slots, "tabs", {}, void 0, !0)
+                  ], 512)) : i("", !0),
+                  u("div", ve, [
+                    f(Y, {
+                      ref_key: "table",
+                      ref: p,
+                      size: "middle",
+                      scroll: { y: I.value, x: "100%" },
+                      pageSize: z.value,
+                      rowKey: c.rowKey,
+                      columns: b.value,
+                      data: c.loadData,
+                      "expanded-row-keys": L.value,
+                      "onUpdate:expandedRowKeys": t[0] || (t[0] = (n) => L.value = n),
+                      rowSelection: E.value || c.isSelection ? { selectedRowKeys: v.value, onChange: U } : null,
+                      showPagination: c.showPagination
+                    }, {
+                      bodyCell: y((n) => [
+                        n.column ? (l(), s(se, { key: 0 }, [
+                          W(n.column.dataIndex) ? a(e.$slots, n.column.dataIndex, {
+                            text: n.text,
+                            record: n.record,
+                            index: n.index,
+                            item: w(n.column.dataIndex)
+                          }, void 0, !0, 0) : G(n.column.dataIndex) ? (l(), s("a", {
+                            key: 1,
+                            onClick: (ke) => O(n.column.dataIndex, n.record)
+                          }, R(J(n.text)), 9, he)) : n.column.dataIndex === "action" ? a(e.$slots, "action", {
+                            record: n.record
+                          }, void 0, !0, 2) : i("", !0)
+                        ], 64)) : i("", !0)
+                      ]),
+                      _: 3
+                    }, 8, ["scroll", "pageSize", "rowKey", "columns", "data", "expanded-row-keys", "rowSelection", "showPagination"])
+                  ])
+                ])
+              ], 4))
+            ], 4),
+            u("div", _e, [
+              a(e.$slots, "other", {}, void 0, !0)
+            ])
+          ]),
+          _: 3
+        }, 8, ["spinning"])
+      ], 512);
+    };
+  }
+}), Ce = /* @__PURE__ */ ae(ge, [["__scopeId", "data-v-71ea2ab7"]]);
+export {
+  Ce as default
+};

+ 1 - 1
lib/js/SListCardLayout.js

@@ -15,7 +15,7 @@ var ce = ($, G, S) => new Promise((f, v) => {
   O((S = S.apply($, G)).next());
 });
 import { ref as s, computed as de, watch as De, onMounted as He, onActivated as Le, nextTick as X, resolveComponent as j, resolveDirective as Be, openBlock as n, createElementBlock as a, createElementVNode as d, toDisplayString as _, Fragment as pe, renderList as fe, withDirectives as q, createBlock as D, withCtx as w, createTextVNode as F, resolveDynamicComponent as Me, createCommentVNode as u, vShow as te, renderSlot as p, normalizeStyle as b, createVNode as C, h as Pe } from "vue";
-import { n as Fe, B as Te, y as Ee, ao as Ue, ah as Ve, aO as Ke } from "./index2.js";
+import { n as Fe, B as Te, y as Ee, ao as Ue, ah as Ve, cO as Ke } from "./index2.js";
 const Ie = { class: "tools" }, Re = { class: "title" }, We = { class: "btns" }, Xe = {
   key: 0,
   style: { "margin-left": "8px" }

+ 107 - 96
lib/js/SListLayout.js

@@ -1,6 +1,6 @@
-import { ref as a, computed as te, watch as oe, onMounted as Oe, onActivated as xe, nextTick as D, resolveComponent as I, resolveDirective as De, openBlock as n, createElementBlock as l, createElementVNode as d, toDisplayString as g, Fragment as ne, renderList as Ie, withDirectives as K, createBlock as b, withCtx as k, createTextVNode as le, resolveDynamicComponent as Be, createCommentVNode as i, vShow as ae, renderSlot as u, normalizeStyle as C, createVNode as B, unref as Ae, h as Pe } from "vue";
-import { n as Re, B as Te, y as ze, aP as He } from "./index2.js";
-const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" }, Ee = {
+import { ref as a, computed as oe, watch as M, onMounted as Oe, onActivated as xe, nextTick as A, resolveComponent as D, resolveDirective as Ae, openBlock as n, createElementBlock as l, createElementVNode as c, toDisplayString as b, Fragment as ne, renderList as De, withDirectives as E, createBlock as C, withCtx as k, createTextVNode as le, resolveDynamicComponent as Ie, createCommentVNode as i, vShow as ae, renderSlot as u, normalizeStyle as S, createVNode as I, unref as Re, h as Be } from "vue";
+import { n as Pe, B as Te, y as ze, cP as He } from "./index2.js";
+const Le = { class: "tools" }, Ke = { class: "title" }, Me = { class: "btns" }, Ee = {
   key: 0,
   style: { "margin-left": "8px" }
 }, Fe = {
@@ -91,11 +91,16 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
     pSize: {
       type: [String, Number],
       default: 20
+    },
+    // 初始勾选的表格行 key(选择表格弹窗等场景由外部带入)
+    selectedRowKeysArr: {
+      type: Array,
+      default: () => []
     }
   },
   emits: ["reset", "btnCallback", "tableColCallback"],
   setup(y, { expose: se, emit: ie }) {
-    const S = y, v = ie, A = a(null), E = a(null), F = a(null), _ = a(null), O = a(!1), $ = a(!1), c = a(0), N = a(0), m = a(!1), U = a(20), x = a(232), V = a(!1), f = a([]), q = a([]), P = a([]), w = a([]), re = {
+    const $ = y, v = ie, R = a(null), F = a(null), N = a(null), _ = a(null), O = a(!1), g = a(!1), f = a(0), U = a(0), m = a(!1), V = a(20), x = a(232), q = a(!1), d = a([]), W = a([]), B = a([]), w = a([]), re = {
       add: "PlusCircleOutlined",
       edit: "FormOutlined",
       delete: "DeleteOutlined",
@@ -111,39 +116,45 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
       TopOfType: "VerticalAlignTopOutlined",
       TOP: "VerticalAlignTopOutlined",
       synchronize: "SyncOutlined"
-    }, W = te(() => w.value.map((e) => e.key).includes("import")), R = te(() => w.value.find((e) => e.key === "import") || {});
-    oe(
-      () => S.buttons,
+    }, j = oe(() => w.value.map((e) => e.key).includes("import")), P = oe(() => w.value.find((e) => e.key === "import") || {});
+    M(
+      () => $.buttons,
       (e) => {
         e && e.length && ue(e);
       },
       { immediate: !0, deep: !0 }
-    ), oe(
-      () => S.columns,
-      () => G()
+    ), M(
+      () => $.columns,
+      () => J()
+    ), M(
+      () => $.selectedRowKeysArr,
+      (e) => {
+        d.value = e || [];
+      },
+      { immediate: !0 }
     );
-    function j(e, t = "") {
+    function X(e, t = "") {
       return !!(e && typeof e == "function");
     }
-    function X(e) {
+    function G(e) {
       return typeof e.icon == "string" ? e.icon : typeof e.icon == "boolean" && e.icon && re[e.key] || "";
     }
     function ue(e) {
-      w.value = e.map((t) => (t.key === "remove" && (V.value = !0), t));
+      w.value = e.map((t) => (t.key === "remove" && (q.value = !0), t));
     }
     function de() {
-      D(() => {
-        Z(), U.value = S.pSize, P.value = S.columns.map((e) => ((e.template || e.isClick || e.dataIndex === "action" && !e.customRender) && !e.scopedSlots && (e.scopedSlots = { customRender: e.dataIndex }), e));
+      A(() => {
+        ee(), V.value = $.pSize, B.value = $.columns.map((e) => ((e.template || e.isClick || e.dataIndex === "action" && !e.customRender) && !e.scopedSlots && (e.scopedSlots = { customRender: e.dataIndex }), e));
       }), setTimeout(() => {
         const e = document.querySelector(".ant-table-cell.ant-table-cell-scrollbar"), t = document.querySelector(".ant-table-thead tr");
         e && t && t.removeChild(e);
       }, 100);
     }
-    function G() {
+    function J() {
       de();
     }
     function T() {
-      $.value = !$.value, Z();
+      g.value = !g.value, ee();
     }
     function z() {
       v("reset");
@@ -151,27 +162,27 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
     function H() {
       _.value && _.value.refresh(!0);
     }
-    function J(e) {
-      v("btnCallback", e.key, f.value);
+    function Q(e) {
+      v("btnCallback", e.key, d.value);
       const t = $e[e.key];
       typeof t == "function" ? t(e) : L(e);
     }
     function L(e) {
-      if (e.selection !== !1 && !f.value.length) {
+      if (e.selection !== !1 && !d.value.length) {
         window.$message.warn(`${window.$l("请选择要")}${window.$l(e.name)}${window.$l("的数据")}`);
         return;
       }
-      if (j(e.api, e.name, e.key)) {
+      if (X(e.api, e.name, e.key)) {
         if (e.confirm) {
           window.$confirm({
             title: `${e.name}`,
-            content: () => Pe(
+            content: () => Be(
               "div",
               { style: "color:red" },
               `${window.$l("确认要")}{${window.$l(e.name)}}${window.$l("数据吗?")}`
             ),
             onOk: () => {
-              m.value = !0, e.api(f.value).then(() => {
+              m.value = !0, e.api(d.value).then(() => {
                 window.$message.success(`${window.$l(e.name)}${window.$l("成功")}`), v("reset");
               }).finally(() => {
                 m.value = !1;
@@ -180,19 +191,19 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
           });
           return;
         }
-        m.value = !0, e.api(f.value).then(() => {
+        m.value = !0, e.api(d.value).then(() => {
           window.$message.success(`${window.$l(e.name)}${window.$l("成功")}`), v("reset");
         }).finally(() => {
           m.value = !1;
         });
       }
     }
-    function Q(e, t) {
-      typeof e == "string" ? Y(e, t) : e.forEach((r) => {
-        Y(r, t);
+    function Y(e, t) {
+      typeof e == "string" ? Z(e, t) : e.forEach((r) => {
+        Z(r, t);
       });
     }
-    function Y(e, t) {
+    function Z(e, t) {
       const r = w.value.find((s) => s.key === e);
       if (!r) {
         console.error(`按钮(${e})未定义, 请确认该变更状态按钮是否设置正确`);
@@ -208,48 +219,48 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
       L(e);
     }
     function me() {
-      if (!W.value) {
+      if (!j.value) {
         v("btnCallback", "import");
         return;
       }
       O.value = !0;
     }
     function pe(e) {
-      j(e.api, e.name, e.key) && (m.value = !0, e.api().then(() => {
+      X(e.api, e.name, e.key) && (m.value = !0, e.api().then(() => {
         m.value = !1;
       }));
     }
     function ye(e, t) {
       v("tableColCallback", e, t);
     }
-    function M(e) {
-      return P.value.find((t) => t.dataIndex === e);
+    function K(e) {
+      return B.value.find((t) => t.dataIndex === e);
     }
     function ve(e) {
-      const t = M(e);
+      const t = K(e);
       return !!(t && t.template);
     }
     function we(e) {
-      const t = M(e);
+      const t = K(e);
       return !!(t && t.isClick);
     }
     function he(e) {
       return e == null ? "" : typeof e == "object" ? e.name === void 0 ? "" : e.name : e;
     }
     function ke(e) {
-      f.value = e;
+      d.value = e;
     }
-    function Z() {
-      D(() => {
+    function ee() {
+      A(() => {
         var e, t;
-        c.value = (((t = (e = A.value) == null ? void 0 : e.parentNode) == null ? void 0 : t.offsetHeight) || 0) - 76, ee();
+        f.value = (((t = (e = R.value) == null ? void 0 : e.parentNode) == null ? void 0 : t.offsetHeight) || 0) - 76, te();
       });
     }
-    function ee() {
-      D(() => {
+    function te() {
+      A(() => {
         var s, h;
-        const t = ((s = E.value) == null ? void 0 : s.offsetHeight) || 0, r = ((h = F.value) == null ? void 0 : h.offsetHeight) || 0;
-        N.value = c.value - t - 103 - r;
+        const t = ((s = F.value) == null ? void 0 : s.offsetHeight) || 0, r = ((h = N.value) == null ? void 0 : h.offsetHeight) || 0;
+        U.value = f.value - t - 103 - r;
       });
     }
     const $e = {
@@ -260,7 +271,7 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
       reload: H,
       filterReset: z,
       toggleFilter: T,
-      setStateBtn: Q,
+      setStateBtn: Y,
       handAction: L
     }, ge = {
       mounted(e) {
@@ -284,48 +295,48 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
       }
     };
     return Oe(() => {
-      G();
+      J();
     }), xe(() => {
-      D(() => {
+      A(() => {
         var e, t;
-        c.value = ((t = (e = A.value) == null ? void 0 : e.parentNode) == null ? void 0 : t.offsetHeight) - 76, ee();
+        f.value = ((t = (e = R.value) == null ? void 0 : e.parentNode) == null ? void 0 : t.offsetHeight) - 76, te();
       });
     }), se({
       reload: H,
       spinning: m,
-      selectedRowKeys: f,
+      selectedRowKeys: d,
       renderButtons: w,
-      setStateBtn: Q,
-      btnCallback: J,
+      setStateBtn: Y,
+      btnCallback: Q,
       filterReset: z,
       toggleFilter: T,
       table: _,
       importVisible: O
     }), (e, t) => {
-      const r = Te, s = I("down-outlined"), h = I("up-outlined"), p = I("sync-outlined"), be = ze, Ce = I("s-import-modal"), Se = De("action");
+      const r = Te, s = D("down-outlined"), h = D("up-outlined"), p = D("sync-outlined"), be = ze, Ce = D("s-import-modal"), Se = Ae("action");
       return n(), l("div", {
         class: "list-layout",
         ref_key: "layoutRef",
-        ref: A
+        ref: R
       }, [
-        d("div", Le, [
-          d("div", Me, g(y.title), 1),
-          d("div", Ke, [
-            (n(!0), l(ne, null, Ie(w.value, (o) => (n(), l("span", {
+        c("div", Le, [
+          c("div", Ke, b(y.title), 1),
+          c("div", Me, [
+            (n(!0), l(ne, null, De(w.value, (o) => (n(), l("span", {
               class: "item-btn",
               key: o.key
             }, [
-              K((n(), b(r, {
+              E((n(), C(r, {
                 class: "btn",
                 disabled: !!o.disabled,
                 type: o.type || o.key === "add" ? "primary" : "default",
-                onClick: (_e) => J(o)
+                onClick: (_e) => Q(o)
               }, {
                 icon: k(() => [
-                  X(o) ? (n(), b(Be(X(o)), { key: 0 })) : i("", !0)
+                  G(o) ? (n(), C(Ie(G(o)), { key: 0 })) : i("", !0)
                 ]),
                 default: k(() => [
-                  le(" " + g(e.$l(o.name)), 1)
+                  le(" " + b(e.$l(o.name)), 1)
                 ]),
                 _: 2
               }, 1032, ["disabled", "type", "onClick"])), [
@@ -334,39 +345,39 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
               ])
             ]))), 128)),
             e.$slots.otherBtns ? (n(), l("span", Ee, [
-              u(e.$slots, "otherBtns", { selections: f.value }, void 0, !0)
+              u(e.$slots, "otherBtns", { selections: d.value }, void 0, !0)
             ])) : i("", !0)
           ])
         ]),
-        d("div", {
+        c("div", {
           class: "list-layout-main",
-          style: C({ height: c.value + "px" })
+          style: S({ height: f.value + "px" })
         }, [
           e.$slots.tree ? (n(), l("div", {
             key: 0,
             class: "side s-side-tree",
             ref: "side",
-            style: C([{ height: c.value + "px", width: x.value + "px" }, { "overflow-y": "auto" }])
+            style: S([{ height: f.value + "px", width: x.value + "px" }, { "overflow-y": "auto" }])
           }, [
             u(e.$slots, "tree", {}, void 0, !0)
           ], 4)) : i("", !0),
-          e.$slots.tree ? K((n(), l("div", {
+          e.$slots.tree ? E((n(), l("div", {
             key: 1,
             class: "side-bar s-theme-bg",
-            style: C({ height: c.value + "px" })
+            style: S({ height: f.value + "px" })
           }, null, 4)), [
             [ge]
           ]) : i("", !0),
           e.$slots.empty ? (n(), l("div", {
             key: 3,
             class: "layout-list-content",
-            style: C({ height: c.value + "px" })
+            style: S({ height: f.value + "px" })
           }, [
             u(e.$slots, "empty", {}, void 0, !0)
           ], 4)) : (n(), l("div", {
             key: 2,
             class: "layout-list-content",
-            style: C({ height: c.value + "px" })
+            style: S({ height: f.value + "px" })
           }, [
             e.$slots.desc ? (n(), l("div", Fe, [
               u(e.$slots, "desc", {}, void 0, !0)
@@ -375,10 +386,10 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
               key: 1,
               class: "list-filter-wrap",
               ref_key: "filters",
-              ref: E
+              ref: F
             }, [
               e.$slots.filter ? (n(), l("div", Ne, [
-                d("div", Ue, [
+                c("div", Ue, [
                   u(e.$slots, "filter", {}, void 0, !0)
                 ]),
                 e.$slots.filterMore ? (n(), l("a", {
@@ -386,32 +397,32 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
                   class: "filter-more-btn",
                   onClick: T
                 }, [
-                  le(g($.value ? e.$l("收起") : e.$l("更多")) + " ", 1),
-                  $.value ? (n(), b(h, {
+                  le(b(g.value ? e.$l("收起") : e.$l("更多")) + " ", 1),
+                  g.value ? (n(), C(h, {
                     key: 1,
                     style: { "font-size": "12px" }
-                  })) : (n(), b(s, {
+                  })) : (n(), C(s, {
                     key: 0,
                     style: { "font-size": "12px" }
                   }))
                 ])) : i("", !0),
                 e.$slots.filter ? (n(), l("div", Ve, [
-                  B(be, {
+                  I(be, {
                     placement: "top",
                     overlayStyle: { maxWidth: "500px" },
                     mouseEnterDelay: 1.5,
                     mouseLeaveDelay: 0.5
                   }, {
                     title: k(() => [
-                      d("span", null, g(e.$l("条件重置")), 1)
+                      c("span", null, b(e.$l("条件重置")), 1)
                     ]),
                     default: k(() => [
-                      B(r, {
+                      I(r, {
                         style: { "padding-bottom": "2px" },
                         onClick: z
                       }, {
                         icon: k(() => [
-                          B(p)
+                          I(p)
                         ]),
                         _: 1
                       })
@@ -420,34 +431,34 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
                   })
                 ])) : i("", !0)
               ])) : i("", !0),
-              e.$slots.filterMore ? K((n(), l("div", qe, [
+              e.$slots.filterMore ? E((n(), l("div", qe, [
                 u(e.$slots, "filterMore", {}, void 0, !0)
               ], 512)), [
-                [ae, $.value]
+                [ae, g.value]
               ]) : i("", !0)
             ], 512)) : i("", !0),
-            d("div", We, [
+            c("div", We, [
               e.$slots.tabs ? (n(), l("div", {
                 key: 0,
                 class: "tabs-wrap",
                 ref_key: "tabs",
-                ref: F
+                ref: N
               }, [
                 u(e.$slots, "tabs", {}, void 0, !0)
               ], 512)) : i("", !0),
-              d("div", je, [
-                B(Ae(He), {
+              c("div", je, [
+                I(Re(He), {
                   ref_key: "table",
                   ref: _,
                   size: "middle",
-                  scroll: { y: N.value, x: "100%" },
-                  pageSize: U.value,
+                  scroll: { y: U.value, x: "100%" },
+                  pageSize: V.value,
                   rowKey: y.rowKey,
-                  columns: P.value,
+                  columns: B.value,
                   data: y.loadData,
-                  "expanded-row-keys": q.value,
-                  "onUpdate:expandedRowKeys": t[0] || (t[0] = (o) => q.value = o),
-                  rowSelection: V.value || y.isSelection ? { selectedRowKeys: f.value, onChange: ke } : null,
+                  "expanded-row-keys": W.value,
+                  "onUpdate:expandedRowKeys": t[0] || (t[0] = (o) => W.value = o),
+                  rowSelection: q.value || y.isSelection ? { selectedRowKeys: d.value, onChange: ke } : null,
                   showPagination: y.showPagination
                 }, {
                   bodyCell: k((o) => [
@@ -456,11 +467,11 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
                         text: o.text,
                         record: o.record,
                         index: o.index,
-                        item: M(o.column.dataIndex)
+                        item: K(o.column.dataIndex)
                       }, void 0, !0, 0) : we(o.column.dataIndex) ? (n(), l("a", {
                         key: 1,
                         onClick: (_e) => ye(o.column.dataIndex, o.record)
-                      }, g(he(o.text)), 9, Xe)) : o.column.dataIndex === "action" ? u(e.$slots, "action", {
+                      }, b(he(o.text)), 9, Xe)) : o.column.dataIndex === "action" ? u(e.$slots, "action", {
                         record: o.record
                       }, void 0, !0, 2) : i("", !0)
                     ], 64)) : i("", !0)
@@ -471,23 +482,23 @@ const Le = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
             ])
           ], 4))
         ], 4),
-        d("div", Ge, [
+        c("div", Ge, [
           u(e.$slots, "other", {}, void 0, !0)
         ]),
-        W.value ? (n(), b(Ce, {
+        j.value ? (n(), C(Ce, {
           key: 0,
           ref: "importModalRef",
-          "upload-url": R.value.importUploadUrl,
+          "upload-url": P.value.importUploadUrl,
           value: O.value,
           "onUpdate:value": t[1] || (t[1] = (o) => O.value = o),
-          columns: R.value.importColumns,
-          apis: R.value.importApis,
+          columns: P.value.importColumns,
+          apis: P.value.importApis,
           onReload: H
         }, null, 8, ["upload-url", "value", "columns", "apis"])) : i("", !0)
       ], 512);
     };
   }
-}), Ze = /* @__PURE__ */ Re(Je, [["__scopeId", "data-v-9418abe0"]]);
+}), Ze = /* @__PURE__ */ Pe(Je, [["__scopeId", "data-v-8952ea7e"]]);
 export {
   Ze as default
 };

+ 38 - 38
lib/js/SModal.js

@@ -12,7 +12,7 @@ var De = (e, t, o) => t in e ? bt(e, t, { enumerable: !0, configurable: !0, writ
 }, Fe = (e, t) => ht(e, xt(t));
 import { defineComponent as J, ref as B, computed as Q, createVNode as a, Transition as Qe, withDirectives as Ze, vShow as qe, nextTick as Je, shallowRef as D, watch as j, onBeforeUnmount as et, watchEffect as tt, Fragment as Me, render as Le, unref as Ie, isRef as ot, toRefs as wt, customRef as Tt, getCurrentScope as Bt, onScopeDispose as Pt, useAttrs as Ft, resolveComponent as we, openBlock as E, createBlock as ne, mergeProps as Ot, withCtx as k, createElementVNode as pe, createElementBlock as le, renderList as ke, createCommentVNode as q, renderSlot as _e, normalizeStyle as Mt, resolveDynamicComponent as At, createTextVNode as ue, toDisplayString as ae } from "vue";
 import Ht from "./ModalHeader.js";
-import { cR as It, aI as nt, P as N, _ as P, az as lt, d as f, au as Nt, c as ye, o as at, i as Be, cS as zt, K as We, cT as Rt, b_ as Et, g as Dt, m as Lt, bN as kt, r as _t, cP as Wt, aH as Vt, aL as Ne, u as jt, bB as it, a3 as Te, c2 as Gt, B as Ae, cU as Xt, e as ge, cV as Kt, a as Yt, bt as Ut, bs as Qt, bu as Zt, cW as qt, cX as Jt, cY as eo, cQ as to, cZ as oo, c_ as no, aM as lo, n as ao, ao as io } from "./index2.js";
+import { cR as It, aI as nt, P as N, _ as P, az as lt, d as f, au as Nt, c as ye, o as at, i as Be, cS as Rt, K as We, cT as zt, bN as Et, g as Dt, m as Lt, bA as kt, r as _t, cC as Wt, aH as Vt, aL as Ne, u as jt, bo as it, a3 as Te, bR as Gt, B as Ae, cU as Xt, e as ge, cV as Kt, a as Yt, bg as Ut, bf as Qt, bh as Zt, cW as qt, cX as Jt, cY as eo, cQ as to, cZ as oo, c_ as no, aM as lo, n as ao, ao as io } from "./index2.js";
 import { A as Ve } from "./ActionButton.js";
 import { T as ro, _ as so } from "./index11.js";
 import { _ as co, S as uo } from "./index10.js";
@@ -48,7 +48,7 @@ const fo = new nt("antFadeIn", {
     }
   }];
 };
-function ze() {
+function Re() {
   return {
     keyboard: {
       type: Boolean,
@@ -165,7 +165,7 @@ const yo = {
   },
   name: "DialogContent",
   inheritAttrs: !1,
-  props: f(f({}, ze()), {
+  props: f(f({}, Re()), {
     motionName: String,
     ariaId: String,
     onVisibleChanged: Function,
@@ -223,7 +223,7 @@ const yo = {
         closable: T,
         closeIcon: F = (y = n.closeIcon) === null || y === void 0 ? void 0 : y.call(n),
         onClose: O,
-        bodyStyle: z,
+        bodyStyle: R,
         bodyProps: g,
         onMousedown: A,
         onMouseup: S,
@@ -236,8 +236,8 @@ const yo = {
       c && (L = a("div", {
         class: `${w}-footer`
       }, [c]));
-      let R;
-      h && (R = a("div", {
+      let z;
+      h && (z = a("div", {
         class: `${w}-header`
       }, [a("div", {
         class: `${w}-title`,
@@ -254,9 +254,9 @@ const yo = {
       }, null)]));
       const W = a("div", {
         class: `${w}-content`
-      }, [Y, R, a("div", P({
+      }, [Y, z, a("div", P({
         class: `${w}-body`,
-        style: z
+        style: R
       }, g), [(x = n.default) === null || x === void 0 ? void 0 : x.call(n)]), L]), U = lt(X);
       return a(Qe, P(P({}, U), {}, {
         onBeforeEnter: u,
@@ -317,7 +317,7 @@ const yo = {
   },
   name: "VcDialog",
   inheritAttrs: !1,
-  props: Be(f(f({}, ze()), {
+  props: Be(f(f({}, Re()), {
     getOpenCount: Function,
     scrollLocker: Object
   }), {
@@ -339,7 +339,7 @@ const yo = {
     const l = D(), i = D(), p = D(), m = D(e.visible), $ = D(`vcDialogTitle${po()}`), v = (c) => {
       var h, C;
       if (c)
-        zt(i.value, document.activeElement) || (l.value = document.activeElement, (h = p.value) === null || h === void 0 || h.focus());
+        Rt(i.value, document.activeElement) || (l.value = document.activeElement, (h = p.value) === null || h === void 0 || h.focus());
       else {
         const T = m.value;
         if (m.value = !1, e.mask && l.value && e.focusTriggerAfterClose) {
@@ -390,7 +390,7 @@ const yo = {
         maskTransitionName: T,
         maskAnimation: F,
         zIndex: O,
-        wrapClassName: z,
+        wrapClassName: R,
         rootClassName: g,
         wrapStyle: A,
         closable: S,
@@ -399,7 +399,7 @@ const yo = {
         transitionName: G,
         animation: X,
         wrapProps: L,
-        title: R = n.title
+        title: z = n.title
       } = e, {
         style: Y,
         class: W
@@ -419,11 +419,11 @@ const yo = {
       }, null), a("div", P({
         tabIndex: -1,
         onKeydown: w,
-        class: ye(`${c}-wrap`, z),
+        class: ye(`${c}-wrap`, R),
         ref: i,
         onClick: x,
         role: "dialog",
-        "aria-labelledby": R ? $.value : null,
+        "aria-labelledby": z ? $.value : null,
         style: f(f({
           zIndex: O
         }, A), {
@@ -445,7 +445,7 @@ const yo = {
       }), n)])]);
     };
   }
-}), xo = ze(), So = J({
+}), xo = Re(), So = J({
   compatConfig: {
     MODE: 3
   },
@@ -460,7 +460,7 @@ const yo = {
       slots: n
     } = t;
     const l = B(e.visible);
-    return Rt({}, {
+    return zt({}, {
       inTriggerContext: !1
     }), j(() => e.visible, () => {
       e.visible && (l.value = !0);
@@ -1004,7 +1004,7 @@ const Ao = () => ({
         wrapClassName: T,
         centered: F,
         getContainer: O,
-        closeIcon: z = (x = n.closeIcon) === null || x === void 0 ? void 0 : x.call(n),
+        closeIcon: R = (x = n.closeIcon) === null || x === void 0 ? void 0 : x.call(n),
         focusTriggerAfterClose: g = !0
       } = e, A = Oo(e, ["prefixCls", "visible", "open", "wrapClassName", "centered", "getContainer", "closeIcon", "focusTriggerAfterClose"]), S = ye(T, {
         [`${p.value}-centered`]: !!F,
@@ -1026,7 +1026,7 @@ const Ao = () => ({
         footer: n.footer || y,
         closeIcon: () => a("span", {
           class: `${p.value}-close-x`
-        }, [z || a(Gt, {
+        }, [R || a(Gt, {
           class: `${p.value}-close-icon`
         }, null)])
       })));
@@ -1066,7 +1066,7 @@ const rt = J({
         mask: T = !0,
         maskClosable: F = !1,
         type: O,
-        open: z,
+        open: R,
         title: g,
         content: A,
         direction: S,
@@ -1075,7 +1075,7 @@ const rt = J({
         focusTriggerAfterClose: G,
         rootPrefixCls: X,
         bodyStyle: L,
-        wrapClassName: R,
+        wrapClassName: z,
         footer: Y
       } = e;
       let W = l;
@@ -1109,11 +1109,11 @@ const rt = J({
         class: Pe,
         wrapClassName: ye({
           [`${re}-centered`]: !!r
-        }, R),
+        }, z),
         onCancel: (V) => m == null ? void 0 : m({
           triggerCancel: !0
         }, V),
-        open: z,
+        open: R,
         title: "",
         footer: "",
         transitionName: Te(X, "zoom", e.transitionName),
@@ -1298,7 +1298,7 @@ const No = J({
     }), () => n.value.map((i) => i());
   }
 });
-function zo() {
+function Ro() {
   const e = D(null), t = D([]);
   j(t, () => {
     t.value.length && ([...t.value].forEach((p) => {
@@ -1318,7 +1318,7 @@ function zo() {
       v.value = !1;
       for (var C = arguments.length, T = new Array(C), F = 0; F < C; F++)
         T[F] = arguments[F];
-      const O = T.some((z) => z && z.triggerCancel);
+      const O = T.some((R) => R && R.triggerCancel);
       d.value.onCancel && O && d.value.onCancel(() => {
       }, ...T.slice(1));
     };
@@ -1360,7 +1360,7 @@ function zo() {
 function mt(e) {
   return Ce(st(e));
 }
-_.useModal = zo;
+_.useModal = Ro;
 _.info = function(t) {
   return Ce(ct(t));
 };
@@ -1384,7 +1384,7 @@ _.destroyAll = function() {
 _.install = function(e) {
   return e.component(_.name, _), e;
 };
-function Ro(e) {
+function zo(e) {
   return Bt() ? (Pt(e), !0) : !1;
 }
 function I(e) {
@@ -1446,7 +1446,7 @@ function Oe(...e) {
   ), v = () => {
     $(), p();
   };
-  return Ro(v), v;
+  return zo(v), v;
 }
 function Wo(e, t = {}) {
   var o, n;
@@ -1486,12 +1486,12 @@ function Wo(e, t = {}) {
       x: H,
       y: M
     }, $ == null || $(c.value, g), T(g);
-  }, z = (g) => {
+  }, R = (g) => {
     I(t.disabled) || !C(g) || h.value && (h.value = void 0, v == null || v(c.value, g), T(g));
   };
   if (vt) {
     const g = { capture: (n = t.capture) != null ? n : !0 };
-    Oe(x, "pointerdown", F, g), Oe(r, "pointermove", O, g), Oe(r, "pointerup", z, g);
+    Oe(x, "pointerdown", F, g), Oe(r, "pointermove", O, g), Oe(r, "pointerup", R, g);
   }
   return Fe(ve({}, ko(c)), {
     position: c,
@@ -1609,20 +1609,20 @@ const Vo = { class: "modalHeader" }, jo = {
     "handSave"
   ],
   setup(e, { emit: t }) {
-    const o = e, n = t, l = Ft(), i = B(null), p = B(), { x: m, y: $, isDragging: v } = Wo(i), u = B(0), d = B(0), s = B(!1), r = B(0), y = B(0), x = B(0), w = B(0), c = B({ left: 0, right: 0, top: 0, bottom: 0 }), h = B(null), C = B(null), T = B(o.width), F = B(), O = B(o.value), z = Q(() => o.tabKey && o.tabKey.value || "value"), g = B("");
+    const o = e, n = t, l = Ft(), i = B(null), p = B(), { x: m, y: $, isDragging: v } = Wo(i), u = B(0), d = B(0), s = B(!1), r = B(0), y = B(0), x = B(0), w = B(0), c = B({ left: 0, right: 0, top: 0, bottom: 0 }), h = B(null), C = B(null), T = B(o.width), F = B(), O = B(o.value), R = Q(() => o.tabKey && o.tabKey.value || "value"), g = B("");
     j(() => o.tabs, () => {
       const b = o.tabs || [];
       if (!b.length) {
         g.value = "";
         return;
       }
-      const V = z.value;
+      const V = R.value;
       b.some((K) => K && K[V] === g.value) || (g.value = b[0][V]);
     }, { immediate: !0, deep: !0 });
     const S = B(0), H = Q(() => S.value === o.steps.length - 1), M = Q(() => ({
       transform: `translate(${r.value}px, ${y.value}px)`
     })), G = B(ve({}, o.bodyStyle));
-    let X = -1, L = null, R = null;
+    let X = -1, L = null, z = null;
     const Y = (b) => {
       p.value = b, i.value = F.value ? null : b;
     }, W = () => {
@@ -1677,7 +1677,7 @@ const Vo = { class: "modalHeader" }, jo = {
     }), j(v, () => {
       v.value || (s.value = !1);
     }), j(h, (b) => {
-      R && (R.disconnect(), R = null), b && typeof ResizeObserver != "undefined" && (R = new ResizeObserver(() => U()), R.observe(b)), U();
+      z && (z.disconnect(), z = null), b && typeof ResizeObserver != "undefined" && (z = new ResizeObserver(() => U()), z.observe(b)), U();
     }), j(
       () => o.value,
       (b) => {
@@ -1696,9 +1696,9 @@ const Vo = { class: "modalHeader" }, jo = {
       },
       { immediate: !0 }
     ), et(() => {
-      R && (R.disconnect(), R = null), L && (cancelAnimationFrame(L), L = null);
+      z && (z.disconnect(), z = null), L && (cancelAnimationFrame(L), L = null);
     }), (b, V) => {
-      const K = so, Z = ro, xe = uo, Se = co, $e = io, te = we("poweroff-outlined"), ce = Ae, Re = we("save-outlined"), gt = we("arrow-left-outlined"), yt = we("arrow-right-outlined"), Ct = _;
+      const K = so, Z = ro, xe = uo, Se = co, $e = io, te = we("poweroff-outlined"), ce = Ae, ze = we("save-outlined"), gt = we("arrow-left-outlined"), yt = we("arrow-right-outlined"), Ct = _;
       return E(), ne(Ct, Ot({
         open: O.value,
         "body-style": G.value,
@@ -1753,7 +1753,7 @@ const Vo = { class: "modalHeader" }, jo = {
               onClick: se
             }, {
               default: k(() => [
-                a(Re),
+                a(ze),
                 ue(" " + ae(b.$l(e.saveBtnText)), 1)
               ]),
               _: 1
@@ -1801,7 +1801,7 @@ const Vo = { class: "modalHeader" }, jo = {
               onClick: se
             }, {
               default: k(() => [
-                a(Re),
+                a(ze),
                 ue(" " + ae(b.$l(e.saveBtnText)), 1)
               ]),
               _: 1
@@ -1830,7 +1830,7 @@ const Vo = { class: "modalHeader" }, jo = {
                     default: k(() => [
                       (E(!0), le(Me, null, ke(e.tabs, (oe) => (E(), ne(K, {
                         tab: oe[e.tabKey.label],
-                        key: oe[z.value]
+                        key: oe[R.value]
                       }, null, 8, ["tab"]))), 128))
                     ]),
                     _: 1

+ 1 - 1
lib/js/SNewestDataListLayout.js

@@ -1,6 +1,6 @@
 import { ref as s, computed as ne, watch as le, nextTick as C, onMounted as Te, onActivated as Ae, resolveComponent as A, resolveDirective as Ie, openBlock as n, createElementBlock as l, createVNode as _, withCtx as y, createElementVNode as p, toDisplayString as $, Fragment as ae, renderList as xe, withDirectives as K, createBlock as g, createTextVNode as N, resolveDynamicComponent as Ee, createCommentVNode as a, vShow as se, renderSlot as u, normalizeStyle as b, unref as Re, h as ze } from "vue";
 import { useRoute as He } from "vue-router";
-import { n as Me, ao as Le, B as Fe, y as Ke, aP as Ne } from "./index2.js";
+import { n as Me, ao as Le, B as Fe, y as Ke, cP as Ne } from "./index2.js";
 const Ue = { class: "tools" }, Ve = { class: "title" }, qe = { class: "btns" }, We = {
   key: 0,
   style: { "margin-left": "8px" }

+ 27 - 27
lib/js/SOfficeSelect.js

@@ -1,5 +1,5 @@
 var U = ($, D, p) => new Promise((b, m) => {
-  var A = (c) => {
+  var V = (c) => {
     try {
       u(p.next(c));
     } catch (_) {
@@ -11,15 +11,15 @@ var U = ($, D, p) => new Promise((b, m) => {
     } catch (_) {
       m(_);
     }
-  }, u = (c) => c.done ? b(c.value) : Promise.resolve(c.value).then(A, w);
+  }, u = (c) => c.done ? b(c.value) : Promise.resolve(c.value).then(V, w);
   u((p = p.apply($, D)).next());
 });
 import { ref as o, watch as re, resolveComponent as B, openBlock as k, createElementBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as I, withModifiers as ve, Fragment as G, renderList as J, createCommentVNode as he } from "vue";
-import { aq as _e, B as pe, d0 as me, cM as fe, cN as ge, d1 as we, d2 as Ce, d3 as ye, d4 as ke, d5 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" }, Ae = { class: "list-wrap" }, Le = { class: "item left-wrap" }, Te = { class: "head" }, je = { class: "sub-title" }, Ue = { class: "right" }, Be = { href: "javascript:;" }, Ie = ["onClick"], De = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, Me = { class: "name" }, Fe = { class: "job" }, qe = {
+import { aq as _e, B as pe, d0 as me, cz as fe, cA as ge, d1 as we, d2 as Ce, d3 as ye, d4 as ke, d5 as Se } from "./index2.js";
+const $e = { class: "s-office-select-common" }, be = { class: "modal-container" }, Oe = { class: "side" }, Ne = { class: "main" }, Ae = { class: "filter" }, Ve = { class: "list-wrap" }, Le = { class: "item left-wrap" }, Te = { class: "head" }, je = { class: "sub-title" }, Ue = { class: "right" }, Be = { href: "javascript:;" }, Ie = ["onClick"], De = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, ze = { class: "name" }, Fe = { class: "job" }, Me = {
   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"], Ze = {
+}, qe = { 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"], Ze = {
   __name: "SOfficeSelect",
   props: {
     value: {
@@ -49,7 +49,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
   },
   emits: ["change", "update:value"],
   setup($, { emit: D }) {
-    const p = D, b = $, m = o(""), A = o(""), w = o(""), u = o(!1), c = o(!1), _ = o({}), f = o([]), s = o([]), C = o(1), L = o(0), O = o(!1);
+    const p = D, b = $, m = o(""), V = o(""), w = o(""), u = o(!1), c = o(!1), _ = o({}), f = o([]), s = o([]), C = o(1), L = o(0), O = o(!1);
     let T = null;
     const N = o(""), v = o([]), j = o(1), F = o(20), E = o(0);
     re(
@@ -63,7 +63,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       },
       { immediate: !0 }
     );
-    const q = () => {
+    const M = () => {
       c.value = !0;
     }, R = () => {
       c.value = !1;
@@ -86,7 +86,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
         window.$message.warning(window.$l("请选择部门"));
         return;
       }
-      C.value = 1, f.value = [], M(N.value);
+      C.value = 1, f.value = [], z(N.value);
     }, H = () => {
       const l = v.value.filter((r) => s.value.includes(r.id)).map((r) => r.name), n = l.length - 1;
       m.value = l.slice(0, 1).join(",") + (n > 0 ? " +" + n : "");
@@ -117,11 +117,11 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       O.value = !1, m.value = "", s.value = [], v.value = [];
     }, Y = () => {
       c.value = !1;
-      const e = v.value.filter((g) => s.value.includes(g.id)), l = e.map((g) => g.name), n = l.length - 1, r = l.slice(0, 1).join(",") + (n > 0 ? " +" + n : ""), V = e.map((g) => g.id);
-      p("update:value", b.multiple ? V : V[0] || ""), p("change", r, l, V, e);
+      const e = v.value.filter((g) => s.value.includes(g.id)), l = e.map((g) => g.name), n = l.length - 1, r = l.slice(0, 1).join(",") + (n > 0 ? " +" + n : ""), A = e.map((g) => g.id);
+      p("update:value", b.multiple ? A : A[0] || ""), p("change", r, l, A, e);
     }, Z = (e, l) => {
-      _.value = l.node, C.value = 1, L.value = 0, f.value = [], u.value = !0, N.value = e, M(e);
-    }, M = (e) => U(this, null, function* () {
+      _.value = l.node, C.value = 1, L.value = 0, f.value = [], u.value = !0, N.value = e, z(e);
+    }, z = (e) => U(this, null, function* () {
       const l = {
         pageNo: C.value,
         pageSize: 20,
@@ -139,20 +139,20 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
     }, 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: n } }) => {
-      u.value || e + n >= l - 20 && C.value <= L.value && (C.value++, M([_.value.id]));
+      u.value || e + n >= l - 20 && C.value <= L.value && (C.value++, z([_.value.id]));
     }, ne = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: n } }) => {
       u.value || e + n >= l - 20 && (E.value = j.value, j.value++, y(j.value, E.value));
     }, ae = (e) => Ce(e), se = (e) => we(e);
     return (e, l) => {
-      const n = _e, r = pe, V = B("s-tree"), g = B("DownOutlined"), oe = ge, ie = fe, ue = me, ce = B("CloseCircleOutlined"), de = B("s-modal");
+      const n = _e, r = pe, A = B("s-tree"), g = B("DownOutlined"), oe = ge, ie = fe, ue = me, ce = B("CloseCircleOutlined"), de = B("s-modal");
       return k(), S("div", $e, [
         d(n, {
           value: m.value,
           "onUpdate:value": l[0] || (l[0] = (a) => m.value = a),
           readonly: !0,
           placeholder: $.placeholder,
-          onClick: q,
-          onSearch: q
+          onClick: M,
+          onSearch: M
         }, null, 8, ["value", "placeholder"]),
         d(de, {
           value: c.value,
@@ -186,17 +186,17 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
           default: h(() => [
             t("div", be, [
               t("div", Oe, [
-                d(V, {
+                d(A, {
                   levelOneChildren: ae,
                   levelTwoChildren: se,
                   "onSelect:modelValue": Z,
-                  select: A.value,
-                  "onUpdate:select": l[1] || (l[1] = (a) => A.value = a),
+                  select: V.value,
+                  "onUpdate:select": l[1] || (l[1] = (a) => V.value = a),
                   height: 470
                 }, null, 8, ["select"])
               ]),
               t("div", Ne, [
-                t("div", Ve, [
+                t("div", Ae, [
                   d(n, {
                     value: w.value,
                     "onUpdate:value": l[2] || (l[2] = (a) => w.value = a),
@@ -205,7 +205,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                     onSearch: x
                   }, null, 8, ["value", "placeholder"])
                 ]),
-                t("div", Ae, [
+                t("div", Ve, [
                   t("div", Le, [
                     t("div", Te, [
                       t("div", je, i(_.value.title || _.value.name), 1),
@@ -253,18 +253,18 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                       (k(!0), S(G, null, J(f.value, (a) => (k(), S("div", {
                         class: "item",
                         key: a.id,
-                        onClick: (z) => ee(a)
+                        onClick: (q) => ee(a)
                       }, [
                         t("div", De, i(a.name && a.name.slice(0, 1)), 1),
                         t("div", Ee, [
-                          t("div", Me, i(a.name) + " (" + i(a.nameOrCount) + ")", 1),
+                          t("div", ze, i(a.name) + " (" + i(a.nameOrCount) + ")", 1),
                           t("div", Fe, i(a.deptName), 1)
                         ])
                       ], 8, Ie))), 128)),
-                      C.value >= L.value ? (k(), S("div", qe, i(e.$l("没有更多了")), 1)) : he("", !0)
+                      C.value >= L.value ? (k(), S("div", Me, i(e.$l("没有更多了")), 1)) : he("", !0)
                     ], 32)
                   ]),
-                  t("div", ze, [
+                  t("div", qe, [
                     t("div", Ge, [
                       t("div", Je, i(e.$l("本次已选")), 1),
                       d(r, {
@@ -281,7 +281,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                       class: "user-list select-list",
                       onScroll: ne
                     }, [
-                      (k(!0), S(G, null, J(v.value, (a, z) => (k(), S("div", {
+                      (k(!0), S(G, null, J(v.value, (a, q) => (k(), S("div", {
                         class: "item",
                         key: a.id
                       }, [
@@ -292,7 +292,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                         ]),
                         t("div", {
                           class: "icon no-bg",
-                          onClick: (Qe) => le(a, z)
+                          onClick: (Qe) => le(a, q)
                         }, [
                           d(ce)
                         ], 8, Pe)

+ 4 - 4
lib/js/SSideMenu.js

@@ -1,10 +1,10 @@
 import { ref as R, computed as i, reactive as T, watch as K, onMounted as U, resolveComponent as _, openBlock as u, createElementBlock as B, createElementVNode as w, createVNode as v, withCtx as D, createBlock as g } from "vue";
 import { useRouter as L } from "vue-router";
-import { n as V, ad as $, cQ as A, cM as I } from "./index2.js";
-const N = { class: "s-menu-slide-common" }, j = { class: "menu-wrap" }, H = {
+import { n as V, ad as $, cQ as A, cz as I } from "./index2.js";
+const N = { class: "s-menu-slide-common" }, j = { class: "menu-wrap" }, z = {
   __name: "SSideMenu",
   emits: ["collapsed"],
-  setup(Q, { emit: k }) {
+  setup(H, { emit: k }) {
     const a = L(), b = k, p = $(), m = R(""), M = i(() => {
       const e = window.$menuTheme;
       return !e || !e.token ? {} : { components: { Menu: e.token } };
@@ -101,7 +101,7 @@ const N = { class: "s-menu-slide-common" }, j = { class: "menu-wrap" }, H = {
       ]);
     };
   }
-}, F = /* @__PURE__ */ V(H, [["__scopeId", "data-v-2ec64017"]]);
+}, F = /* @__PURE__ */ V(z, [["__scopeId", "data-v-2ec64017"]]);
 export {
   F as default
 };

+ 1 - 1
lib/js/SSuperListLayout.js

@@ -10,7 +10,7 @@ var ae = (u, r, d) => r in u ? Ke(u, r, { enumerable: !0, configurable: !0, writ
   return u;
 };
 import { ref as a, computed as K, watch as ie, onMounted as Ve, onActivated as qe, resolveComponent as h, resolveDirective as Ne, openBlock as l, createElementBlock as s, createElementVNode as f, toDisplayString as C, Fragment as se, renderList as je, withDirectives as ue, createBlock as R, withCtx as k, createTextVNode as T, resolveDynamicComponent as We, createCommentVNode as c, vShow as re, renderSlot as p, createVNode as m, normalizeStyle as E, unref as Ge, nextTick as U, h as Je } from "vue";
-import { n as Qe, B as Xe, y as Ye, aP as Ze } from "./index2.js";
+import { n as Qe, B as Xe, y as Ye, cP as Ze } from "./index2.js";
 const et = { class: "tools" }, tt = { class: "title" }, nt = { class: "btn-list" }, ot = {
   key: 0,
   style: { "margin-left": "8px" }

ファイルの差分が大きいため隠しています
+ 0 - 1
lib/js/SToggleLanguage.js


+ 13 - 13
lib/js/STopMenu.js

@@ -1,10 +1,10 @@
 import { ref as bn, computed as Ft, reactive as mn, watch as Vt, onMounted as wn, openBlock as vn, createElementBlock as Tn, createElementVNode as An, createVNode as kt, withCtx as Sn } from "vue";
 import { useRouter as Cn } from "vue-router";
-import { ch as xn, cg as F, n as Kn, ad as Wt, cQ as On, cM as jn } from "./index2.js";
+import { c4 as xn, c3 as F, n as Kn, ad as Wt, cQ as On, cz as jn } from "./index2.js";
 var V = { exports: {} };
 V.exports;
 (function(p, h) {
-  var C = 200, w = "__lodash_hash_undefined__", _ = 9007199254740991, s = "[object Arguments]", I = "[object Array]", P = "[object Boolean]", $ = "[object Date]", k = "[object Error]", o = "[object Function]", c = "[object GeneratorFunction]", i = "[object Map]", d = "[object Number]", g = "[object Object]", ot = "[object Promise]", at = "[object RegExp]", R = "[object Set]", st = "[object String]", it = "[object Symbol]", W = "[object WeakMap]", ct = "[object ArrayBuffer]", B = "[object DataView]", ut = "[object Float32Array]", ft = "[object Float64Array]", lt = "[object Int8Array]", pt = "[object Int16Array]", ht = "[object Int32Array]", dt = "[object Uint8Array]", _t = "[object Uint8ClampedArray]", gt = "[object Uint16Array]", yt = "[object Uint32Array]", qt = /[\\^$.*+?()[\]{}|]/g, zt = /\w*$/, Jt = /^\[object .+?Constructor\]$/, Qt = /^(?:0|[1-9]\d*)$/, a = {};
+  var C = 200, w = "__lodash_hash_undefined__", _ = 9007199254740991, s = "[object Arguments]", I = "[object Array]", P = "[object Boolean]", $ = "[object Date]", k = "[object Error]", o = "[object Function]", c = "[object GeneratorFunction]", i = "[object Map]", d = "[object Number]", g = "[object Object]", ot = "[object Promise]", at = "[object RegExp]", R = "[object Set]", st = "[object String]", it = "[object Symbol]", W = "[object WeakMap]", ct = "[object ArrayBuffer]", B = "[object DataView]", ut = "[object Float32Array]", ft = "[object Float64Array]", lt = "[object Int8Array]", pt = "[object Int16Array]", ht = "[object Int32Array]", dt = "[object Uint8Array]", _t = "[object Uint8ClampedArray]", gt = "[object Uint16Array]", yt = "[object Uint32Array]", zt = /[\\^$.*+?()[\]{}|]/g, qt = /\w*$/, Jt = /^\[object .+?Constructor\]$/, Qt = /^(?:0|[1-9]\d*)$/, a = {};
   a[s] = a[I] = a[ct] = a[B] = a[P] = a[$] = a[ut] = a[ft] = a[lt] = a[pt] = a[ht] = a[i] = a[d] = a[g] = a[at] = a[R] = a[st] = a[it] = a[dt] = a[_t] = a[gt] = a[yt] = !0, a[k] = a[o] = a[W] = !1;
   var Xt = typeof F == "object" && F && F.Object === Object && F, Yt = typeof self == "object" && self && self.Object === Object && self, y = Xt || Yt || Function("return this")(), bt = h && !h.nodeType && h, mt = bt && !0 && p && !p.nodeType && p, Zt = mt && mt.exports === bt;
   function te(t, e) {
@@ -51,7 +51,7 @@ V.exports;
       n[++e] = [u, r];
     }), n;
   }
-  function q(t, e) {
+  function z(t, e) {
     return function(n) {
       return t(e(n));
     };
@@ -62,12 +62,12 @@ V.exports;
       n[++e] = r;
     }), n;
   }
-  var se = Array.prototype, ie = Function.prototype, G = Object.prototype, z = y["__core-js_shared__"], St = function() {
-    var t = /[^.]+$/.exec(z && z.keys && z.keys.IE_PROTO || "");
+  var se = Array.prototype, ie = Function.prototype, G = Object.prototype, q = y["__core-js_shared__"], St = function() {
+    var t = /[^.]+$/.exec(q && q.keys && q.keys.IE_PROTO || "");
     return t ? "Symbol(src)_1." + t : "";
   }(), Ct = ie.toString, v = G.hasOwnProperty, U = G.toString, ce = RegExp(
-    "^" + Ct.call(v).replace(qt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
-  ), xt = Zt ? y.Buffer : void 0, Kt = y.Symbol, Ot = y.Uint8Array, ue = q(Object.getPrototypeOf, Object), fe = Object.create, le = G.propertyIsEnumerable, pe = se.splice, jt = Object.getOwnPropertySymbols, he = xt ? xt.isBuffer : void 0, de = q(Object.keys, Object), J = O(y, "DataView"), E = O(y, "Map"), Q = O(y, "Promise"), X = O(y, "Set"), Y = O(y, "WeakMap"), M = O(Object, "create"), _e = S(J), ge = S(E), ye = S(Q), be = S(X), me = S(Y), Et = Kt ? Kt.prototype : void 0, Mt = Et ? Et.valueOf : void 0;
+    "^" + Ct.call(v).replace(zt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
+  ), xt = Zt ? y.Buffer : void 0, Kt = y.Symbol, Ot = y.Uint8Array, ue = z(Object.getPrototypeOf, Object), fe = Object.create, le = G.propertyIsEnumerable, pe = se.splice, jt = Object.getOwnPropertySymbols, he = xt ? xt.isBuffer : void 0, de = z(Object.keys, Object), J = O(y, "DataView"), E = O(y, "Map"), Q = O(y, "Promise"), X = O(y, "Set"), Y = O(y, "WeakMap"), M = O(Object, "create"), _e = S(J), ge = S(E), ye = S(Q), be = S(X), me = S(Y), Et = Kt ? Kt.prototype : void 0, Mt = Et ? Et.valueOf : void 0;
   function T(t) {
     var e = -1, n = t ? t.length : 0;
     for (this.clear(); ++e < n; ) {
@@ -212,7 +212,7 @@ V.exports;
     } else {
       var j = A(t), Lt = j == o || j == c;
       if (hn(t))
-        return qe(t, e);
+        return ze(t, e);
       if (j == g || j == s || Lt && !f) {
         if (vt(t))
           return f ? t : {};
@@ -258,7 +258,7 @@ V.exports;
       v.call(t, n) && n != "constructor" && e.push(n);
     return e;
   }
-  function qe(t, e) {
+  function ze(t, e) {
     if (e)
       return t.slice();
     var n = new t.constructor(t.length);
@@ -268,7 +268,7 @@ V.exports;
     var e = new t.constructor(t.byteLength);
     return new Ot(e).set(new Ot(t)), e;
   }
-  function ze(t, e) {
+  function qe(t, e) {
     var n = e ? tt(t.buffer) : t.buffer;
     return new t.constructor(n, t.byteOffset, t.byteLength);
   }
@@ -277,7 +277,7 @@ V.exports;
     return wt(r, te, new t.constructor());
   }
   function Qe(t) {
-    var e = new t.constructor(t.source, zt.exec(t));
+    var e = new t.constructor(t.source, qt.exec(t));
     return e.lastIndex = t.lastIndex, e;
   }
   function Xe(t, e, n) {
@@ -319,7 +319,7 @@ V.exports;
     var n = ae(t, e);
     return ke(n) ? n : void 0;
   }
-  var $t = jt ? q(jt, Object) : gn, A = Ve;
+  var $t = jt ? z(jt, Object) : gn, A = Ve;
   (J && A(new J(new ArrayBuffer(1))) != B || E && A(new E()) != i || Q && A(Q.resolve()) != ot || X && A(new X()) != R || Y && A(new Y()) != W) && (A = function(t) {
     var e = U.call(t), n = e == g ? t.constructor : void 0, r = n ? S(n) : void 0;
     if (r)
@@ -353,7 +353,7 @@ V.exports;
       case $:
         return new u(+t);
       case B:
-        return ze(t, r);
+        return qe(t, r);
       case ut:
       case ft:
       case lt:

ファイルの差分が大きいため隠しています
+ 3 - 3
lib/js/components-doc.js


+ 1 - 1
lib/js/dayjs.js

@@ -1,4 +1,4 @@
-import { cg as ut, ch as ct, ai as pe, ci as Po, d as M, _ as x, c as re, K as le, w as Qe, cj as Do, F as Mo, D as Ee, L as Ae, ck as Ro, bT as No, cl as Io, cm as To, H as ea, g as Yo, m as dn, c4 as Eo, T as Vo, aJ as Ot, r as ta, cn as Oo, co as Ho, cp as Ao, cq as Bo, t as Wo, cr as _o, c5 as Fo, ca as fn, cb as Lo, cs as na, ct as aa, B as jo, av as X, ay as pt, ax as Ue, e as vn, aw as st, l as nt, U as fa, V as va, h as gt, u as pa, X as ga, aL as ha, cu as ma, cv as ba, cw as wa, a5 as Ca, W as $a, bs as ka, o as zo, cx as Uo } from "./index2.js";
+import { c3 as ut, c4 as ct, ai as pe, c5 as Po, d as M, _ as x, c as re, K as le, w as Qe, c6 as Do, F as Mo, D as Ee, L as Ae, c7 as Ro, bG as No, c8 as Io, c9 as To, H as ea, g as Yo, m as dn, bT as Eo, T as Vo, aJ as Ot, r as ta, ca as Oo, cb as Ho, cc as Ao, cd as Bo, t as Wo, ce as _o, bU as Fo, bZ as fn, b_ as Lo, cf as na, cg as aa, B as jo, av as X, ay as pt, ax as Ue, e as vn, aw as st, l as nt, U as fa, V as va, h as gt, u as pa, X as ga, aL as ha, ch as ma, ci as ba, cj as wa, a5 as Ca, W as $a, bf as ka, o as zo, ck as Uo } from "./index2.js";
 import { useAttrs as Ko, provide as ya, inject as xa, createVNode as g, createTextVNode as Sa, defineComponent as Ge, shallowRef as He, ref as O, watch as ge, onBeforeUnmount as kn, nextTick as Pa, computed as E, onBeforeUpdate as qo, watchEffect as Wt, toRef as se, onMounted as Da, getCurrentScope as Qo, onScopeDispose as Go, unref as Xo, getCurrentInstance as Zo, Fragment as Ht } from "vue";
 import { T as Jo } from "./index13.js";
 var Ma = { exports: {} };

ファイルの差分が大きいため隠しています
+ 0 - 0
lib/js/docs.js


+ 41 - 41
lib/js/hasIn.js

@@ -1,15 +1,15 @@
-import { at as o, bG as l, bb as f, bH as h, bI as O, b1 as T, bJ as y, bK as b, b7 as x, bL as C, bM as I } from "./index2.js";
-function v(n, r) {
+import { at as o, bt as l, a_ as f, bu as h, bv as x, aQ as O, bw as m, bx as w, aW as T, by as C, bz as v } from "./index2.js";
+function I(n, r) {
   for (var e = -1, i = n == null ? 0 : n.length, t = Array(i); ++e < i; )
     t[e] = r(n[e], e, n);
   return t;
 }
 var p = f ? f.prototype : void 0, d = p ? p.toString : void 0;
-function w(n) {
+function b(n) {
   if (typeof n == "string")
     return n;
   if (o(n))
-    return v(n, w) + "";
+    return I(n, b) + "";
   if (l(n))
     return d ? d.call(n) : "";
   var r = n + "";
@@ -31,38 +31,38 @@ function M(n, r, e) {
   }
   return n.apply(r, e);
 }
-var A = 800, _ = 16, N = Date.now;
-function R(n) {
+var _ = 800, A = 16, z = Date.now;
+function N(n) {
   var r = 0, e = 0;
   return function() {
-    var i = N(), t = _ - (i - e);
+    var i = z(), t = A - (i - e);
     if (e = i, t > 0) {
-      if (++r >= A)
+      if (++r >= _)
         return arguments[0];
     } else
       r = 0;
     return n.apply(void 0, arguments);
   };
 }
-function z(n) {
+function R(n) {
   return function() {
     return n;
   };
 }
-var H = h ? function(n, r) {
+var $ = h ? function(n, r) {
   return h(n, "toString", {
     configurable: !0,
     enumerable: !1,
-    value: z(r),
+    value: R(r),
     writable: !0
   });
-} : E, $ = R(H), F = Object.prototype, K = F.hasOwnProperty;
+} : E, F = N($), H = Object.prototype, V = H.hasOwnProperty;
 function en(n, r, e) {
   var i = n[r];
-  (!(K.call(n, r) && O(i, e)) || e === void 0 && !(r in n)) && T(n, r, e);
+  (!(V.call(n, r) && x(i, e)) || e === void 0 && !(r in n)) && O(n, r, e);
 }
 var g = Math.max;
-function V(n, r, e) {
+function D(n, r, e) {
   return r = g(r === void 0 ? n.length - 1 : r, 0), function() {
     for (var i = arguments, t = -1, a = g(i.length - r, 0), u = Array(a); ++t < a; )
       u[t] = i[r + t];
@@ -72,17 +72,17 @@ function V(n, r, e) {
     return s[r] = e(u), M(n, this, s);
   };
 }
-var D = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, G = /^\w*$/;
-function L(n, r) {
+var K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, U = /^\w*$/;
+function X(n, r) {
   if (o(n))
     return !1;
   var e = typeof n;
-  return e == "number" || e == "symbol" || e == "boolean" || n == null || l(n) ? !0 : G.test(n) || !D.test(n) || r != null && n in Object(r);
+  return e == "number" || e == "symbol" || e == "boolean" || n == null || l(n) ? !0 : U.test(n) || !K.test(n) || r != null && n in Object(r);
 }
-var U = "Expected a function";
+var Z = "Expected a function";
 function c(n, r) {
   if (typeof n != "function" || r != null && typeof r != "function")
-    throw new TypeError(U);
+    throw new TypeError(Z);
   var e = function() {
     var i = arguments, t = r ? r.apply(this, i) : i[0], a = e.cache;
     if (a.has(t))
@@ -90,27 +90,27 @@ function c(n, r) {
     var u = n.apply(this, i);
     return e.cache = a.set(t, u) || a, u;
   };
-  return e.cache = new (c.Cache || y)(), e;
+  return e.cache = new (c.Cache || m)(), e;
 }
-c.Cache = y;
-var X = 500;
-function Z(n) {
+c.Cache = m;
+var q = 500;
+function G(n) {
   var r = c(n, function(i) {
-    return e.size === X && e.clear(), i;
+    return e.size === q && e.clear(), i;
   }), e = r.cache;
   return r;
 }
-var q = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, J = /\\(\\)?/g, B = Z(function(n) {
+var L = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Q = /\\(\\)?/g, W = G(function(n) {
   var r = [];
-  return n.charCodeAt(0) === 46 && r.push(""), n.replace(q, function(e, i, t, a) {
-    r.push(t ? a.replace(J, "$1") : i || e);
+  return n.charCodeAt(0) === 46 && r.push(""), n.replace(L, function(e, i, t, a) {
+    r.push(t ? a.replace(Q, "$1") : i || e);
   }), r;
 });
-function Q(n) {
-  return n == null ? "" : w(n);
+function B(n) {
+  return n == null ? "" : b(n);
 }
 function S(n, r) {
-  return o(n) ? n : L(n, r) ? [n] : B(Q(n));
+  return o(n) ? n : X(n, r) ? [n] : W(B(n));
 }
 function P(n) {
   if (typeof n == "string" || l(n))
@@ -124,15 +124,15 @@ function tn(n, r) {
     n = n[P(r[e++])];
   return e && e == i ? n : void 0;
 }
-var m = f ? f.isConcatSpreadable : void 0;
-function W(n) {
-  return o(n) || b(n) || !!(m && n && n[m]);
+var y = f ? f.isConcatSpreadable : void 0;
+function J(n) {
+  return o(n) || w(n) || !!(y && n && n[y]);
 }
 function Y(n, r, e, i, t) {
   var a = -1, u = n.length;
-  for (e || (e = W), t || (t = []); ++a < u; ) {
+  for (e || (e = J), t || (t = []); ++a < u; ) {
     var s = n[a];
-    e(s) ? x(t, s) : t[t.length] = s;
+    e(s) ? T(t, s) : t[t.length] = s;
   }
   return t;
 }
@@ -141,7 +141,7 @@ function k(n) {
   return r ? Y(n) : [];
 }
 function an(n) {
-  return $(V(n, void 0, k), n + "");
+  return F(D(n, void 0, k), n + "");
 }
 function j(n, r) {
   return n != null && r in Object(n);
@@ -154,7 +154,7 @@ function nn(n, r, e) {
       break;
     n = n[u];
   }
-  return a || ++i != t ? a : (t = n == null ? 0 : n.length, !!t && C(t) && I(u, t) && (o(n) || b(n)));
+  return a || ++i != t ? a : (t = n == null ? 0 : n.length, !!t && C(t) && v(u, t) && (o(n) || w(n)));
 }
 function un(n, r) {
   return n != null && nn(n, r, j);
@@ -162,13 +162,13 @@ function un(n, r) {
 export {
   en as a,
   tn as b,
-  L as c,
-  v as d,
+  X as c,
+  I as d,
   S as e,
   an as f,
   un as h,
   E as i,
-  V as o,
-  $ as s,
+  D as o,
+  F as s,
   P as t
 };

+ 12 - 12
lib/js/index10.js

@@ -1,4 +1,4 @@
-import { ay as T, aw as q, e as he, f as J, ax as Z, av as z, h as M, cE as Q, d as f, _ as P, i as j, y as oe, g as re, m as se, r as le, aI as Se, u as ae, bs as ve, c2 as ce, bu as be, cF as de, b as Ce, c as B, o as pe, P as x, cG as ye, aG as Ie, F as xe, t as we, cH as Pe, cI as De, l as Te } from "./index2.js";
+import { ay as T, aw as q, e as he, f as J, ax as Z, av as z, h as M, cr as Q, d as f, _ as P, i as j, y as oe, g as re, m as se, r as le, aI as Se, u as ae, bf as ve, bR as ce, bh as be, cs as de, b as Ce, c as B, o as pe, P as x, ct as ye, aG as Ie, F as xe, t as we, cu as Pe, cv as De, l as Te } from "./index2.js";
 import { defineComponent as O, computed as v, createVNode as p, Fragment as ue, ref as ge, onUpdated as We } from "vue";
 import { u as ze } from "./useRefs.js";
 const Oe = ["normal", "exception", "active", "success"], F = () => ({
@@ -111,7 +111,7 @@ const Ee = () => f(f({}, F()), {
   return {
     backgroundImage: `linear-gradient(${o}, ${i}, ${n})`
   };
-}, Ae = O({
+}, Re = O({
   compatConfig: {
     MODE: 3
   },
@@ -180,7 +180,7 @@ const Ee = () => f(f({}, F()), {
       }, null) : null])]), (d = i.default) === null || d === void 0 ? void 0 : d.call(i)]);
     };
   }
-}), Re = {
+}), Ae = {
   percent: 0,
   prefixCls: "vc-progress",
   strokeColor: "#2db7f5",
@@ -270,7 +270,7 @@ const Fe = O({
     MODE: 3
   },
   name: "VCCircle",
-  props: j(Le, Re),
+  props: j(Le, Ae),
   setup(e) {
     k += 1;
     const t = ge(k), i = v(() => te(e.percent)), n = v(() => te(e.strokeColor)), [o, s] = ze();
@@ -772,7 +772,7 @@ const nt = O({
         steps: a
       }), {
         default: () => [y]
-      }) : p(Ae, P(P({}, e), {}, {
+      }) : p(Re, P(P({}, e), {}, {
         strokeColor: r.value,
         prefixCls: o.value,
         direction: s.value
@@ -922,7 +922,7 @@ const me = () => ({
         onClick: D || rt
       };
       W && !I && (E.role = "button", E.tabindex = 0, E.onClick = s);
-      const A = p("div", P(P({}, pe(o, ["__legacy"])), {}, {
+      const R = p("div", P(P({}, pe(o, ["__legacy"])), {}, {
         class: [K, o.class],
         style: [o.style, N]
       }), [p("div", P(P({}, E), {}, {
@@ -945,7 +945,7 @@ const me = () => ({
       }, [h])]), y && p("div", {
         class: `${g}-item-description`
       }, [y])])])]);
-      return e.itemRender ? e.itemRender(A) : A;
+      return e.itemRender ? e.itemRender(R) : R;
     };
   }
 });
@@ -1039,7 +1039,7 @@ const lt = O({
         items: y,
         isInline: h,
         itemRender: w
-      } = e, D = st(e, ["prefixCls", "direction", "type", "labelPlacement", "iconPrefix", "status", "size", "current", "progressDot", "initial", "icons", "items", "isInline", "itemRender"]), W = m === "navigation", _ = h || C, K = h ? "horizontal" : u, N = h ? void 0 : $, E = _ ? "vertical" : g, A = B(r, `${r}-${u}`, {
+      } = e, D = st(e, ["prefixCls", "direction", "type", "labelPlacement", "iconPrefix", "status", "size", "current", "progressDot", "initial", "icons", "items", "isInline", "itemRender"]), W = m === "navigation", _ = h || C, K = h ? "horizontal" : u, N = h ? void 0 : $, E = _ ? "vertical" : g, R = B(r, `${r}-${u}`, {
         [`${r}-${N}`]: N,
         [`${r}-label-${E}`]: K === "horizontal",
         [`${r}-dot`]: !!_,
@@ -1047,7 +1047,7 @@ const lt = O({
         [`${r}-inline`]: h
       });
       return p("div", P({
-        class: A
+        class: R
       }, D), [y.filter((V) => V).map((V, $e) => s(V, $e)), Ie((l = i.default) === null || l === void 0 ? void 0 : l.call(i)).map(c)]);
     };
   }
@@ -1683,7 +1683,7 @@ var H;
 (function(e) {
   e.wait = "wait", e.process = "process", e.finish = "finish", e.error = "error";
 })(H || (H = {}));
-const R = (e, t) => {
+const A = (e, t) => {
   const i = `${t.componentCls}-item`, n = `${e}IconColor`, o = `${e}TitleColor`, s = `${e}DescriptionColor`, c = `${e}TailColor`, l = `${e}IconBgColor`, r = `${e}IconBorderColor`, u = `${e}DotColor`;
   return {
     [`${i}-${e} ${i}-icon`]: {
@@ -1805,11 +1805,11 @@ const R = (e, t) => {
       color: e.colorTextDescription,
       fontSize: e.fontSize
     }
-  }, R(H.wait, e)), R(H.process, e)), {
+  }, A(H.wait, e)), A(H.process, e)), {
     [`${n}-process > ${n}-container > ${n}-title`]: {
       fontWeight: e.fontWeightStrong
     }
-  }), R(H.finish, e)), R(H.error, e)), {
+  }), A(H.finish, e)), A(H.error, e)), {
     [`${n}${t}-next-error > ${t}-item-title::after`]: {
       background: e.colorError
     },

+ 71 - 71
lib/js/index11.js

@@ -1,5 +1,5 @@
-import { b0 as Xe, bM as ft, w as ge, c as le, K as J, d as T, P as we, H as D, cJ as ht, cK as gt, cL as mt, cM as $t, cN as yt, av as j, cO as he, R as Fe, _ as te, e as me, F as xt, cs as je, g as _t, m as St, r as tt, t as Ct, cP as at, aN as Tt, o as wt, i as nt, E as Pt, bV as Rt, h as De, u as Et, c3 as It, L as Ve, ak as Bt, c2 as Lt, l as At, ay as xe, ax as Dt, aw as kt } from "./index2.js";
-import { shallowRef as W, onBeforeUnmount as Me, defineComponent as ae, ref as q, computed as H, createVNode as g, watchEffect as Ce, onMounted as Te, watch as ie, provide as Mt, inject as Nt, toRefs as Ot } from "vue";
+import { aP as Xe, bz as ft, w as ge, c as le, K as q, d as T, P as we, H as D, cw as ht, cx as gt, cy as mt, cz as $t, cA as yt, av as j, cB as he, R as Fe, _ as te, e as me, F as xt, cf as je, g as _t, m as St, r as tt, t as Ct, cC as at, aN as Tt, o as wt, i as nt, E as Pt, bI as Rt, h as De, u as It, bS as Et, L as Ve, ak as Bt, bR as Lt, l as At, ay as xe, ax as Dt, aw as kt } from "./index2.js";
+import { shallowRef as W, onBeforeUnmount as Me, defineComponent as ae, ref as J, computed as H, createVNode as g, watchEffect as Ce, onMounted as Te, watch as ie, provide as Mt, inject as Nt, toRefs as Ot } from "vue";
 import { u as Wt } from "./useRefs.js";
 import { e as ot, t as Ht, a as zt, b as Kt, h as Gt, f as Xt } from "./hasIn.js";
 function Ft(e, t, a, i) {
@@ -105,7 +105,7 @@ const Zt = ae({
       expose: a,
       attrs: i
     } = t;
-    const o = q();
+    const o = J();
     function l(v) {
       var d;
       !((d = e.tab) === null || d === void 0) && d.disabled || e.onClick(v);
@@ -162,7 +162,7 @@ const Zt = ae({
           m.stopPropagation(), l(m);
         },
         onKeydown: (m) => {
-          [J.SPACE, J.ENTER].includes(m.which) && (m.preventDefault(), l(m));
+          [q.SPACE, q.ENTER].includes(m.which) && (m.preventDefault(), l(m));
         },
         onFocus: K
       }, [typeof c == "function" ? c() : c]), s.value && g("button", {
@@ -183,8 +183,8 @@ const Zt = ae({
   left: 0,
   top: 0
 };
-function Jt(e, t) {
-  const a = q(/* @__PURE__ */ new Map());
+function qt(e, t) {
+  const a = J(/* @__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;
@@ -221,7 +221,7 @@ const lt = ae({
       expose: a,
       attrs: i
     } = t;
-    const o = q();
+    const o = J();
     return a({
       domRef: o
     }), () => {
@@ -244,7 +244,7 @@ const lt = ae({
       }, [n.addIcon ? n.addIcon() : "+"]);
     };
   }
-}), qt = {
+}), Jt = {
   prefixCls: {
     type: String
   },
@@ -289,7 +289,7 @@ const lt = ae({
   },
   name: "OperationNode",
   inheritAttrs: !1,
-  props: qt,
+  props: Jt,
   emits: ["tabClick"],
   slots: Object,
   setup(e, t) {
@@ -314,21 +314,21 @@ const lt = ae({
         which: y
       } = c;
       if (!o.value) {
-        [J.DOWN, J.SPACE, J.ENTER].includes(y) && (l(!0), c.preventDefault());
+        [q.DOWN, q.SPACE, q.ENTER].includes(y) && (l(!0), c.preventDefault());
         return;
       }
       switch (y) {
-        case J.UP:
+        case q.UP:
           v(-1), c.preventDefault();
           break;
-        case J.DOWN:
+        case q.DOWN:
           v(1), c.preventDefault();
           break;
-        case J.ESC:
+        case q.ESC:
           l(!1);
           break;
-        case J.SPACE:
-        case J.ENTER:
+        case q.SPACE:
+        case q.ENTER:
           n.value !== null && e.onTabClick(n.value, c);
           break;
       }
@@ -362,7 +362,7 @@ const lt = ae({
         tabBarGutter: m,
         rtl: u,
         onTabClick: $,
-        popupClassName: I
+        popupClassName: E
       } = e;
       if (!w.length) return null;
       const R = `${y}-dropdown`, G = C == null ? void 0 : C.dropdownAriaLabel, re = {
@@ -371,7 +371,7 @@ const lt = ae({
       w.length || (re.visibility = "hidden", re.order = 1);
       const se = le({
         [`${R}-rtl`]: u,
-        [`${I}`]: !0
+        [`${E}`]: !0
       }), ce = k ? null : g(mt, {
         prefixCls: R,
         trigger: ["hover"],
@@ -384,11 +384,11 @@ const lt = ae({
         getPopupContainer: e.getPopupContainer
       }, {
         overlay: () => g($t, {
-          onClick: (E) => {
+          onClick: (I) => {
             let {
               key: Q,
               domEvent: N
-            } = E;
+            } = I;
             $(Q, N), l(!1);
           },
           id: p.value,
@@ -398,25 +398,25 @@ const lt = ae({
           selectedKeys: [n.value],
           "aria-label": G !== void 0 ? G : "expanded dropdown"
         }, {
-          default: () => [w.map((E) => {
+          default: () => [w.map((I) => {
             var Q, N;
-            const V = r && E.closable !== !1 && !E.disabled;
+            const V = r && I.closable !== !1 && !I.disabled;
             return g(yt, {
-              key: E.key,
-              id: `${p.value}-${E.key}`,
+              key: I.key,
+              id: `${p.value}-${I.key}`,
               role: "option",
-              "aria-controls": x && `${x}-panel-${E.key}`,
-              disabled: E.disabled
+              "aria-controls": x && `${x}-panel-${I.key}`,
+              disabled: I.disabled
             }, {
-              default: () => [g("span", null, [typeof E.tab == "function" ? E.tab() : E.tab]), V && g("button", {
+              default: () => [g("span", null, [typeof I.tab == "function" ? I.tab() : I.tab]), V && g("button", {
                 type: "button",
                 "aria-label": e.removeAriaLabel || "remove",
                 tabindex: 0,
                 class: `${R}-menu-item-remove`,
                 onClick: (Y) => {
-                  Y.stopPropagation(), h(Y, E.key);
+                  Y.stopPropagation(), h(Y, I.key);
                 }
-              }, [((Q = E.closeIcon) === null || Q === void 0 ? void 0 : Q.call(E)) || ((N = r.removeIcon) === null || N === void 0 ? void 0 : N.call(r)) || "×"])]
+              }, [((Q = I.closeIcon) === null || Q === void 0 ? void 0 : Q.call(I)) || ((N = r.removeIcon) === null || N === void 0 ? void 0 : N.call(r)) || "×"])]
             });
           })]
         }),
@@ -446,8 +446,8 @@ const lt = ae({
 }), rt = Symbol("tabsContextKey"), st = (e) => {
   Mt(rt, e);
 }, dt = () => Nt(rt, {
-  tabs: q([]),
-  prefixCls: q()
+  tabs: J([]),
+  prefixCls: J()
 });
 ae({
   compatConfig: {
@@ -477,7 +477,7 @@ ae({
 });
 const ea = 0.1, Ue = 0.01, _e = 20, Ze = 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 = J();
   function S(r) {
     const {
       screenX: m,
@@ -494,23 +494,23 @@ function ta(e, t) {
     const {
       screenX: m,
       screenY: u
-    } = r.touches[0], $ = m - a.value.x, I = u - a.value.y;
-    t($, I), i({
+    } = r.touches[0], $ = m - a.value.x, E = u - a.value.y;
+    t($, E), i({
       x: m,
       y: u
     });
     const R = Date.now();
     s(R - o.value), l(R), d({
       x: $,
-      y: I
+      y: E
     });
   }
   function c() {
     if (!a.value) return;
     const r = v.value;
     if (i(null), d(null), r) {
-      const m = r.x / n.value, u = r.y / n.value, $ = Math.abs(m), I = Math.abs(u);
-      if (Math.max($, I) < ea) return;
+      const m = r.x / n.value, u = r.y / n.value, $ = Math.abs(m), E = Math.abs(u);
+      if (Math.max($, E) < ea) return;
       let R = m, G = u;
       p.value = setInterval(() => {
         if (Math.abs(R) < Ue && Math.abs(G) < Ue) {
@@ -521,17 +521,17 @@ function ta(e, t) {
       }, _e);
     }
   }
-  const y = q();
+  const y = J();
   function x(r) {
     const {
       deltaX: m,
       deltaY: u
     } = r;
     let $ = 0;
-    const I = Math.abs(m), R = Math.abs(u);
-    I === R ? $ = y.value === "x" ? m : u : I > R ? ($ = m, y.value = "x") : ($ = u, y.value = "y"), t(-$, -$) && r.preventDefault();
+    const E = Math.abs(m), R = Math.abs(u);
+    E === R ? $ = y.value === "x" ? m : u : E > R ? ($ = m, y.value = "x") : ($ = u, y.value = "y"), t(-$, -$) && r.preventDefault();
   }
-  const w = q({
+  const w = J({
     onTouchStart: S,
     onTouchMove: h,
     onTouchEnd: c,
@@ -564,15 +564,15 @@ function ta(e, t) {
     document.removeEventListener("touchmove", k), document.removeEventListener("touchend", K);
   });
 }
-function Je(e, t) {
-  const a = q(e);
+function qe(e, t) {
+  const a = J(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 Je = {
   width: 0,
   height: 0,
   left: 0,
@@ -645,15 +645,15 @@ const qe = {
     const {
       tabs: o,
       prefixCls: l
-    } = dt(), n = W(), s = W(), v = W(), d = W(), [p, S] = Wt(), h = H(() => e.tabPosition === "top" || e.tabPosition === "bottom"), [c, y] = Je(0, (f, b) => {
+    } = dt(), n = W(), s = W(), v = W(), d = W(), [p, S] = Wt(), 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] = Je(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, m] = D(null), [u, $] = D(null), [I, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), E = Jt(o, se), Q = H(() => `${l.value}-nav-operations-hidden`), N = W(0), V = W(0);
+    }), [C, k] = D(0), [K, M] = D(0), [r, m] = D(null), [u, $] = D(null), [E, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), I = qt(o, se), Q = 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);
     });
@@ -682,7 +682,7 @@ const qe = {
     });
     const de = function() {
       let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activeKey;
-      const b = E.value.get(f) || {
+      const b = I.value.get(f) || {
         width: 0,
         height: 0,
         left: 0,
@@ -699,8 +699,8 @@ const qe = {
     }, Pe = W(0), Re = W(0);
     Ce(() => {
       let f, b, _, P, L, B;
-      const U = E.value;
-      ["top", "bottom"].includes(e.tabPosition) ? (f = "width", P = r.value, L = C.value, B = I.value, b = e.rtl ? "right" : "left", _ = Math.abs(c.value)) : (f = "height", P = u.value, L = C.value, B = G.value, b = "top", _ = -x.value);
+      const U = I.value;
+      ["top", "bottom"].includes(e.tabPosition) ? (f = "width", P = r.value, L = C.value, B = E.value, b = e.rtl ? "right" : "left", _ = Math.abs(c.value)) : (f = "height", P = u.value, L = C.value, B = G.value, b = "top", _ = -x.value);
       let O = P;
       L + B > P && L < P && (O = P - B);
       const F = o.value;
@@ -709,7 +709,7 @@ const qe = {
       const Z = F.length;
       let oe = Z;
       for (let X = 0; X < Z; X += 1) {
-        const ee = U.get(F[X].key) || qe;
+        const ee = U.get(F[X].key) || Je;
         if (ee[b] + ee[f] > _ + O) {
           oe = X - 1;
           break;
@@ -717,7 +717,7 @@ const qe = {
       }
       let A = 0;
       for (let X = Z - 1; X >= 0; X -= 1)
-        if ((U.get(F[X].key) || qe)[b] < _) {
+        if ((U.get(F[X].key) || Je)[b] < _) {
           A = X + 1;
           break;
         }
@@ -749,13 +749,13 @@ const qe = {
     }, {
       flush: "post"
     });
-    const Ee = () => {
+    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;
       m(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;
       k(oe), M(A), Ne();
-    }, Oe = H(() => [...o.value.slice(0, Pe.value), ...o.value.slice(Re.value + 1)]), [ut, vt] = D(), ne = H(() => E.value.get(e.activeKey)), We = W(), He = () => {
+    }, 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 = () => {
       ge.cancel(We.value);
     };
     ie([ne, h, () => e.rtl], () => {
@@ -763,16 +763,16 @@ const qe = {
       ne.value && (h.value ? (e.rtl ? f.right = he(ne.value.right) : f.left = he(ne.value.left), f.width = he(ne.value.width)) : (f.top = he(ne.value.top), f.height = he(ne.value.height))), He(), We.value = ge(() => {
         vt(f);
       });
-    }), ie([() => e.activeKey, ne, E, h], () => {
+    }), ie([() => e.activeKey, ne, I, h], () => {
       de();
     }, {
       flush: "post"
     }), ie([() => e.rtl, () => e.tabBarGutter, () => e.activeKey, () => o.value], () => {
-      Ee();
+      Ie();
     }, {
       flush: "post"
     });
-    const Ie = (f) => {
+    const Ee = (f) => {
       let {
         position: b,
         prefixCls: _,
@@ -837,12 +837,12 @@ const qe = {
         onKeydown: () => {
           be();
         }
-      }, [g(Ie, {
+      }, [g(Ee, {
         position: "left",
         prefixCls: A,
         extra: i.leftExtra
       }, null), g(Fe, {
-        onResize: Ee
+        onResize: Ie
       }, {
         default: () => [g("div", {
           class: le(ee, {
@@ -853,7 +853,7 @@ const qe = {
           }),
           ref: n
         }, [g(Fe, {
-          onResize: Ee
+          onResize: Ie
         }, {
           default: () => [g("div", {
             ref: s,
@@ -883,11 +883,11 @@ const qe = {
         prefixCls: A,
         tabs: Oe.value,
         class: !X && Q.value
-      }), it(i, ["moreIcon"])), g(Ie, {
+      }), it(i, ["moreIcon"])), g(Ee, {
         position: "right",
         prefixCls: A,
         extra: i.rightExtra
-      }, null), g(Ie, {
+      }, null), g(Ee, {
         position: "right",
         prefixCls: A,
         extra: i.tabBarExtraContent
@@ -1863,7 +1863,7 @@ const fa = ae({
       size: n,
       rootPrefixCls: s,
       getPopupContainer: v
-    } = Et("tabs", e), [d, p] = ba(o), S = H(() => l.value === "rtl"), h = H(() => {
+    } = It("tabs", e), [d, p] = ba(o), S = H(() => l.value === "rtl"), h = H(() => {
       const {
         animated: u,
         tabPosition: $
@@ -1880,7 +1880,7 @@ const fa = ae({
       }, typeof u == "object" ? u : {});
     }), [c, y] = D(!1);
     Te(() => {
-      y(It());
+      y(Et());
     });
     const [x, w] = Ve(() => {
       var u;
@@ -1891,7 +1891,7 @@ const fa = ae({
     }), [C, k] = D(() => e.tabs.findIndex((u) => u.key === x.value));
     Ce(() => {
       var u;
-      let $ = e.tabs.findIndex((I) => I.key === x.value);
+      let $ = e.tabs.findIndex((E) => E.key === x.value);
       $ === -1 && ($ = Math.max(0, Math.min(C.value, e.tabs.length - 1)), w((u = e.tabs[$]) === null || u === void 0 ? void 0 : u.key)), k($);
     });
     const [K, M] = Ve(null, {
@@ -1901,8 +1901,8 @@ const fa = ae({
       e.id || (M(`rc-tabs-${process.env.NODE_ENV === "test" ? "test" : et}`), et += 1);
     });
     const m = (u, $) => {
-      var I, R;
-      (I = e.onTabClick) === null || I === void 0 || I.call(e, u, $);
+      var E, R;
+      (E = e.onTabClick) === null || E === void 0 || E.call(e, u, $);
       const G = u !== x.value;
       w(u), G && ((R = e.onChange) === null || R === void 0 || R.call(e, u));
     };
@@ -1913,13 +1913,13 @@ const fa = ae({
       const {
         id: u,
         type: $,
-        tabBarGutter: I,
+        tabBarGutter: E,
         tabBarStyle: R,
         locale: G,
         destroyInactiveTabPane: re,
         renderTabBar: se = i.renderTabBar,
         onTabScroll: ce,
-        hideAdd: E,
+        hideAdd: I,
         centered: Q
       } = e, N = {
         id: K.value,
@@ -1941,14 +1941,14 @@ const fa = ae({
         },
         removeIcon: () => g(Lt, null, null),
         addIcon: i.addIcon ? i.addIcon : () => g(Bt, null, null),
-        showAdd: E !== !0
+        showAdd: I !== !0
       });
       let Y;
       const ue = T(T({}, N), {
         moreTransitionName: `${s.value}-slide-up`,
         editable: V,
         locale: G,
-        tabBarGutter: I,
+        tabBarGutter: E,
         onTabClick: m,
         onTabScroll: ce,
         style: R,
@@ -2056,7 +2056,7 @@ const fa = ae({
       attrs: a,
       slots: i
     } = t;
-    const o = q(e.forceRender);
+    const o = J(e.forceRender);
     ie([() => e.active, () => e.destroyInactiveTabPane], () => {
       e.active ? o.value = !0 : e.destroyInactiveTabPane && (o.value = !1);
     }, {

+ 26 - 26
lib/js/index12.js

@@ -1,31 +1,31 @@
-import { aQ as A, aR as R, aS as g, aT as w, _ as v, d as _, aU as m, aV as j, aW as U, aX as M, aY as G, aZ as V, a_ as D } from "./index2.js";
-import { defineComponent as t, createVNode as p } from "vue";
-const F = t({
+import { cD as A, cE as g, cF as w, cG as R, _ as v, d as p, cH as m, cI as j, cJ as M, cK as G, cL as U, cM as D, cN as F } from "./index2.js";
+import { defineComponent as l, createVNode as _ } from "vue";
+const P = l({
   compatConfig: {
     MODE: 3
   },
   name: "ATableSummaryRow",
-  setup(n, l) {
+  setup(n, a) {
     let {
       slots: o
-    } = l;
+    } = a;
     return () => {
       var e;
-      return p("tr", null, [(e = o.default) === null || e === void 0 ? void 0 : e.call(o)]);
+      return _("tr", null, [(e = o.default) === null || e === void 0 ? void 0 : e.call(o)]);
     };
   }
-}), P = t({
+}), V = l({
   name: "ATableSummaryCell",
   props: ["index", "colSpan", "rowSpan", "align"],
-  setup(n, l) {
+  setup(n, a) {
     let {
       attrs: o,
       slots: e
-    } = l;
-    const T = A(), x = R();
+    } = a;
+    const T = A(), x = g();
     return () => {
       const {
-        index: a,
+        index: t,
         colSpan: s = 1,
         rowSpan: b,
         align: f
@@ -36,10 +36,10 @@ const F = t({
         scrollColumnIndex: N,
         stickyOffsets: O,
         flattenColumns: y
-      } = x, S = a + s - 1 + 1 === N ? s + 1 : s, L = g(a, a + S - 1, y, O, I);
-      return p(w, v({
+      } = x, S = t + s - 1 + 1 === N ? s + 1 : s, L = w(t, t + S - 1, y, O, I);
+      return _(R, v({
         class: o.class,
-        index: a,
+        index: t,
         component: "td",
         prefixCls: E,
         record: null,
@@ -54,34 +54,34 @@ const F = t({
       }, L), null);
     };
   }
-}), u = t({
+}), c = l({
   name: "ATableColumn",
   slots: Object,
   render() {
     return null;
   }
-}), c = t({
+}), u = l({
   name: "ATableColumnGroup",
   slots: Object,
   __ANT_TABLE_COLUMN_GROUP: !0,
   render() {
     return null;
   }
-}), C = F, i = P, d = _(D, {
+}), C = P, i = V, d = p(F, {
   Cell: i,
   Row: C,
   name: "ATableSummary"
-}), Q = _(m, {
-  SELECTION_ALL: V,
-  SELECTION_INVERT: G,
-  SELECTION_NONE: M,
-  SELECTION_COLUMN: U,
+}), J = p(m, {
+  SELECTION_ALL: D,
+  SELECTION_INVERT: U,
+  SELECTION_NONE: G,
+  SELECTION_COLUMN: M,
   EXPAND_COLUMN: j,
-  Column: u,
-  ColumnGroup: c,
+  Column: c,
+  ColumnGroup: u,
   Summary: d,
-  install: (n) => (n.component(d.name, d), n.component(i.name, i), n.component(C.name, C), n.component(m.name, m), n.component(u.name, u), n.component(c.name, c), n)
+  install: (n) => (n.component(d.name, d), n.component(i.name, i), n.component(C.name, C), n.component(m.name, m), n.component(c.name, c), n.component(u.name, u), n)
 });
 export {
-  Q as _
+  J as _
 };

+ 23 - 23
lib/js/index13.js

@@ -1,5 +1,5 @@
-import { g as L, m as O, d as x, r as R, cy as j, cz as X, u as z, c as D, _ as b, bB as U, cA as V, cB as q, cC as G, c2 as J, P, cD as K } from "./index2.js";
-import { defineComponent as F, computed as m, createVNode as d, shallowRef as Q, watchEffect as Y, Fragment as Z } from "vue";
+import { g as W, m as L, d as P, r as O, cl as j, cm as X, u as z, c as F, _ as b, bo as U, cn as V, co as q, cp as G, bR as J, P as B, cq as K } from "./index2.js";
+import { defineComponent as D, computed as m, createVNode as d, shallowRef as Q, watchEffect as Y, Fragment as Z } from "vue";
 const h = (e, c, l) => {
   const r = X(l);
   return {
@@ -44,7 +44,7 @@ const h = (e, c, l) => {
   } = e, o = r - l, t = c - l;
   return {
     // Result
-    [n]: x(x({}, R(e)), {
+    [n]: P(P({}, O(e)), {
       display: "inline-block",
       height: "auto",
       marginInlineEnd: e.marginXS,
@@ -115,13 +115,13 @@ const h = (e, c, l) => {
       background: e.tagBorderlessBg
     }
   };
-}, H = L("Tag", (e) => {
+}, H = W("Tag", (e) => {
   const {
     fontSize: c,
     lineHeight: l,
     lineWidth: r,
     fontSizeIcon: n
-  } = e, o = Math.round(c * l), t = e.fontSizeSM, g = o - r * 2, C = e.colorFillAlter, s = e.colorText, a = O(e, {
+  } = e, o = Math.round(c * l), t = e.fontSizeSM, g = o - r * 2, C = e.colorFillAlter, s = e.colorText, a = L(e, {
     tagFontSize: t,
     tagLineHeight: g,
     tagDefaultBg: C,
@@ -144,7 +144,7 @@ const h = (e, c, l) => {
     type: Function
   },
   "onUpdate:checked": Function
-}), S = F({
+}), S = D({
   compatConfig: {
     MODE: 3
   },
@@ -165,7 +165,7 @@ const h = (e, c, l) => {
         checked: u
       } = e;
       r("update:checked", !u), r("change", !u), r("click", a);
-    }, s = m(() => D(o.value, g.value, {
+    }, s = m(() => F(o.value, g.value, {
       [`${o.value}-checkable`]: !0,
       [`${o.value}-checkable-checked`]: e.checked
     }));
@@ -186,7 +186,7 @@ const h = (e, c, l) => {
     type: Boolean,
     default: !1
   },
-  closeIcon: P.any,
+  closeIcon: B.any,
   /** @deprecated `visible` will be removed in next major version. */
   visible: {
     type: Boolean,
@@ -197,12 +197,12 @@ const h = (e, c, l) => {
   },
   onClick: K(),
   "onUpdate:visible": Function,
-  icon: P.any,
+  icon: B.any,
   bordered: {
     type: Boolean,
     default: !0
   }
-}), v = F({
+}), v = D({
   compatConfig: {
     MODE: 3
   },
@@ -226,23 +226,23 @@ const h = (e, c, l) => {
     });
     const a = (i) => {
       i.stopPropagation(), r("update:visible", !1), r("close", i), !i.defaultPrevented && e.visible === void 0 && (s.value = !1);
-    }, u = m(() => V(e.color) || q(e.color)), w = m(() => D(o.value, C.value, {
+    }, u = m(() => V(e.color) || q(e.color)), w = m(() => F(o.value, C.value, {
       [`${o.value}-${e.color}`]: u.value,
       [`${o.value}-has-color`]: e.color && !u.value,
       [`${o.value}-hidden`]: !s.value,
       [`${o.value}-rtl`]: t.value === "rtl",
       [`${o.value}-borderless`]: !e.bordered
-    })), A = (i) => {
+    })), M = (i) => {
       r("click", i);
     };
     return () => {
-      var i, f, p;
+      var i, p, f;
       const {
-        icon: M = (i = l.icon) === null || i === void 0 ? void 0 : i.call(l),
+        icon: N = (i = l.icon) === null || i === void 0 ? void 0 : i.call(l),
         color: $,
-        closeIcon: y = (f = l.closeIcon) === null || f === void 0 ? void 0 : f.call(l),
-        closable: N = !1
-      } = e, _ = () => N ? y ? d("span", {
+        closeIcon: y = (p = l.closeIcon) === null || p === void 0 ? void 0 : p.call(l),
+        closable: _ = !1
+      } = e, A = () => _ ? y ? d("span", {
         class: `${o.value}-close-icon`,
         onClick: a
       }, [y]) : d(J, {
@@ -250,14 +250,14 @@ const h = (e, c, l) => {
         onClick: a
       }, null) : null, E = {
         backgroundColor: $ && !u.value ? $ : void 0
-      }, T = M || null, B = (p = l.default) === null || p === void 0 ? void 0 : p.call(l), k = T ? d(Z, null, [T, d("span", null, [B])]) : B, W = e.onClick !== void 0, I = d("span", b(b({}, n), {}, {
-        onClick: A,
+      }, T = N || null, I = (f = l.default) === null || f === void 0 ? void 0 : f.call(l), k = T ? d(Z, null, [T, d("span", null, [I])]) : I, R = e.onClick !== void 0, x = d("span", b(b({}, n), {}, {
+        onClick: M,
         class: [w.value, n.class],
         style: [E, n.style]
-      }), [k, _()]);
-      return g(W ? d(G, null, {
-        default: () => [I]
-      }) : I);
+      }), [k, A()]);
+      return g(R ? d(G, null, {
+        default: () => [x]
+      }) : x);
     };
   }
 });

ファイルの差分が大きいため隠しています
+ 205 - 347
lib/js/index2.js


+ 93 - 93
lib/js/index4.js

@@ -1,6 +1,6 @@
-import { a$ as bn, b0 as Pe, b1 as wn, b2 as Tt, as as Ye, b3 as xn, ar as qe, b4 as $n, b5 as It, b6 as Fn, b7 as An, b8 as jt, b9 as On, ba as lt, bb as st, bc as Je, bd as Ze, be as _t, bf as Ce, bg as Cn, bh as Mt, at as Lt, bi as Sn, bj as Rt, bk as En, bl as Pn, bm as ut, bn as qn, bo as Tn, d as P, D as Ne, E as In, aL as jn, c as pe, y as _n, bp as Mn, aM as Ln, _ as W, g as Rn, m as Nn, bq as Nt, aK as Vn, r as Vt, aB as Dn, aC as Bn, az as Gn, aG as Dt, u as Bt, br as Wn, V as zn, a1 as Un, bs as Hn, bt as Kn, bu as Xn, P as de, bv as Qe, bw as Yn, bx as Gt, by as Jn, bz as Zn, bA as Qn, i as kn, av as ue, ax as me, ay as ft, aw as ct, f as er, e as $e, bB as _e, U as tr, bC as Ve } from "./index2.js";
-import { cloneVNode as nr, inject as Wt, computed as F, provide as zt, createVNode as j, Fragment as Se, defineComponent as Te, ref as ke, watch as se, Transition as rr, withDirectives as ir, TransitionGroup as ar, vShow as or, shallowRef as ee, watchEffect as De, onBeforeUnmount as lr, reactive as Ut, onMounted as sr, toRaw as Be, nextTick as Ht, unref as ae } from "vue";
-import { a as Kt, s as ur, o as fr, i as Xt, b as et, c as Yt, t as Ee, h as cr, d as Jt, e as Zt, f as dr } from "./hasIn.js";
+import { aO as bn, aP as Pe, aQ as wn, aR as Tt, as as Ye, aS as xn, ar as qe, aT as $n, aU as It, aV as Fn, aW as An, aX as _t, aY as On, aZ as lt, a_ as st, a$ as Ze, b0 as Je, b1 as jt, b2 as Ce, b3 as Cn, b4 as Mt, at as Lt, b5 as Sn, b6 as Rt, b7 as En, b8 as Pn, b9 as ut, ba as qn, bb as Tn, d as P, D as Ne, E as In, aL as _n, c as pe, y as jn, bc as Mn, aM as Ln, _ as W, g as Rn, m as Nn, bd as Nt, aK as Vn, r as Vt, aB as Dn, aC as Bn, az as Gn, aG as Dt, u as Bt, be as Wn, V as zn, a1 as Un, bf as Hn, bg as Kn, bh as Xn, P as de, bi as Qe, bj as Yn, bk as Gt, bl as Zn, bm as Jn, bn as Qn, i as kn, av as ue, ax as me, ay as ft, aw as ct, f as er, e as $e, bo as je, U as tr, bp as Ve } from "./index2.js";
+import { cloneVNode as nr, inject as Wt, computed as F, provide as zt, createVNode as _, Fragment as Se, defineComponent as Te, ref as ke, watch as se, Transition as rr, withDirectives as ir, TransitionGroup as ar, vShow as or, shallowRef as ee, watchEffect as De, onBeforeUnmount as lr, reactive as Ut, onMounted as sr, toRaw as Be, nextTick as Ht, unref as ae } from "vue";
+import { a as Kt, s as ur, o as fr, i as Xt, b as et, c as Yt, t as Ee, h as cr, d as Zt, e as Jt, f as dr } from "./hasIn.js";
 import { C as Qt, A as mr } from "./Col.js";
 import { s as gr } from "./index3.js";
 var dt = 1 / 0, vr = 17976931348623157e292;
@@ -99,12 +99,12 @@ function Tr(e, t) {
 function Ir(e, t) {
   return be(e, It(e), t);
 }
-var jr = Object.getOwnPropertySymbols, en = jr ? function(e) {
+var _r = Object.getOwnPropertySymbols, en = _r ? function(e) {
   for (var t = []; e; )
-    An(t, It(e)), e = jt(e);
+    An(t, It(e)), e = _t(e);
   return t;
 } : Fn;
-function _r(e, t) {
+function jr(e, t) {
   return be(e, en(e), t);
 }
 function tn(e) {
@@ -136,11 +136,11 @@ function Gr(e, t) {
   var n = t ? nt(e.buffer) : e.buffer;
   return new e.constructor(n, e.byteOffset, e.length);
 }
-var Wr = "[object Boolean]", zr = "[object Date]", Ur = "[object Map]", Hr = "[object Number]", Kr = "[object RegExp]", Xr = "[object Set]", Yr = "[object String]", Jr = "[object Symbol]", Zr = "[object ArrayBuffer]", Qr = "[object DataView]", kr = "[object Float32Array]", ei = "[object Float64Array]", ti = "[object Int8Array]", ni = "[object Int16Array]", ri = "[object Int32Array]", ii = "[object Uint8Array]", ai = "[object Uint8ClampedArray]", oi = "[object Uint16Array]", li = "[object Uint32Array]";
+var Wr = "[object Boolean]", zr = "[object Date]", Ur = "[object Map]", Hr = "[object Number]", Kr = "[object RegExp]", Xr = "[object Set]", Yr = "[object String]", Zr = "[object Symbol]", Jr = "[object ArrayBuffer]", Qr = "[object DataView]", kr = "[object Float32Array]", ei = "[object Float64Array]", ti = "[object Int8Array]", ni = "[object Int16Array]", ri = "[object Int32Array]", ii = "[object Uint8Array]", ai = "[object Uint8ClampedArray]", oi = "[object Uint16Array]", li = "[object Uint32Array]";
 function si(e, t, n) {
   var r = e.constructor;
   switch (t) {
-    case Zr:
+    case Jr:
       return nt(e);
     case Wr:
     case zr:
@@ -166,24 +166,24 @@ function si(e, t, n) {
       return Dr(e);
     case Xr:
       return new r();
-    case Jr:
+    case Zr:
       return Br(e);
   }
 }
 function ui(e) {
-  return typeof e.constructor == "function" && !Tt(e) ? yr(jt(e)) : {};
+  return typeof e.constructor == "function" && !Tt(e) ? yr(_t(e)) : {};
 }
 var fi = "[object Map]";
 function ci(e) {
-  return Je(e) && Ze(e) == fi;
+  return Ze(e) && Je(e) == fi;
 }
-var bt = Ce && Ce.isMap, di = bt ? _t(bt) : ci, mi = "[object Set]";
+var bt = Ce && Ce.isMap, di = bt ? jt(bt) : ci, mi = "[object Set]";
 function gi(e) {
-  return Je(e) && Ze(e) == mi;
+  return Ze(e) && Je(e) == mi;
 }
-var wt = Ce && Ce.isSet, vi = wt ? _t(wt) : gi, hi = 1, pi = 2, yi = 4, nn = "[object Arguments]", bi = "[object Array]", wi = "[object Boolean]", xi = "[object Date]", $i = "[object Error]", rn = "[object Function]", Fi = "[object GeneratorFunction]", Ai = "[object Map]", Oi = "[object Number]", an = "[object Object]", Ci = "[object RegExp]", Si = "[object Set]", Ei = "[object String]", Pi = "[object Symbol]", qi = "[object WeakMap]", Ti = "[object ArrayBuffer]", Ii = "[object DataView]", ji = "[object Float32Array]", _i = "[object Float64Array]", Mi = "[object Int8Array]", Li = "[object Int16Array]", Ri = "[object Int32Array]", Ni = "[object Uint8Array]", Vi = "[object Uint8ClampedArray]", Di = "[object Uint16Array]", Bi = "[object Uint32Array]", _ = {};
-_[nn] = _[bi] = _[Ti] = _[Ii] = _[wi] = _[xi] = _[ji] = _[_i] = _[Mi] = _[Li] = _[Ri] = _[Ai] = _[Oi] = _[an] = _[Ci] = _[Si] = _[Ei] = _[Pi] = _[Ni] = _[Vi] = _[Di] = _[Bi] = !0;
-_[$i] = _[rn] = _[qi] = !1;
+var wt = Ce && Ce.isSet, vi = wt ? jt(wt) : gi, hi = 1, pi = 2, yi = 4, nn = "[object Arguments]", bi = "[object Array]", wi = "[object Boolean]", xi = "[object Date]", $i = "[object Error]", rn = "[object Function]", Fi = "[object GeneratorFunction]", Ai = "[object Map]", Oi = "[object Number]", an = "[object Object]", Ci = "[object RegExp]", Si = "[object Set]", Ei = "[object String]", Pi = "[object Symbol]", qi = "[object WeakMap]", Ti = "[object ArrayBuffer]", Ii = "[object DataView]", _i = "[object Float32Array]", ji = "[object Float64Array]", Mi = "[object Int8Array]", Li = "[object Int16Array]", Ri = "[object Int32Array]", Ni = "[object Uint8Array]", Vi = "[object Uint8ClampedArray]", Di = "[object Uint16Array]", Bi = "[object Uint32Array]", j = {};
+j[nn] = j[bi] = j[Ti] = j[Ii] = j[wi] = j[xi] = j[_i] = j[ji] = j[Mi] = j[Li] = j[Ri] = j[Ai] = j[Oi] = j[an] = j[Ci] = j[Si] = j[Ei] = j[Pi] = j[Ni] = j[Vi] = j[Di] = j[Bi] = !0;
+j[$i] = j[rn] = j[qi] = !1;
 function ve(e, t, n, r, i, o) {
   var a, l = t & hi, s = t & pi, v = t & yi;
   if (n && (a = i ? n(e, r, i, o) : n(e)), a !== void 0)
@@ -195,14 +195,14 @@ function ve(e, t, n, r, i, o) {
     if (a = Rr(e), !l)
       return br(e, a);
   } else {
-    var g = Ze(e), h = g == rn || g == Fi;
+    var g = Je(e), h = g == rn || g == Fi;
     if (Cn(e))
       return Tr(e, l);
     if (g == an || g == nn || h && !i) {
       if (a = s || h ? {} : ui(e), !l)
-        return s ? _r(e, Pr(a, e)) : Ir(e, Er(a, e));
+        return s ? jr(e, Pr(a, e)) : Ir(e, Er(a, e));
     } else {
-      if (!_[g])
+      if (!j[g])
         return i ? e : {};
       a = si(e, g, l);
     }
@@ -270,11 +270,11 @@ function Xi(e) {
     return n === e || Hi(n, e, t);
   };
 }
-var Yi = 1, Ji = 2;
-function Zi(e, t) {
+var Yi = 1, Zi = 2;
+function Ji(e, t) {
   return Yt(e) && on(t) ? ln(Ee(e), t) : function(n) {
     var r = Cr(n, e);
-    return r === void 0 && r === t ? cr(n, e) : Rt(t, r, Yi | Ji);
+    return r === void 0 && r === t ? cr(n, e) : Rt(t, r, Yi | Zi);
   };
 }
 function Qi(e) {
@@ -291,10 +291,10 @@ function ea(e) {
   return Yt(e) ? Qi(Ee(e)) : ki(e);
 }
 function sn(e) {
-  return typeof e == "function" ? e : e == null ? Xt : typeof e == "object" ? Lt(e) ? Zi(e[0], e[1]) : Xi(e) : ea(e);
+  return typeof e == "function" ? e : e == null ? Xt : typeof e == "object" ? Lt(e) ? Ji(e[0], e[1]) : Xi(e) : ea(e);
 }
 function ta(e) {
-  return Je(e) && Ye(e);
+  return Ze(e) && Ye(e);
 }
 function na(e) {
   var t = e == null ? 0 : e.length;
@@ -347,7 +347,7 @@ function ua(e) {
   return ta(e) ? e : [];
 }
 var fa = xr(function(e) {
-  var t = Jt(e, ua);
+  var t = Zt(e, ua);
   return t.length && t[0] === e[0] ? sa(t) : [];
 });
 function ca(e, t) {
@@ -355,7 +355,7 @@ function ca(e, t) {
 }
 var da = Object.prototype, ma = da.hasOwnProperty;
 function ga(e, t) {
-  t = Zt(t, e);
+  t = Jt(t, e);
   var n = -1, r = t.length;
   if (!r)
     return !0;
@@ -375,8 +375,8 @@ var ha = 1, pa = 2, ya = 4, ba = dr(function(e, t) {
   if (e == null)
     return n;
   var r = !1;
-  t = Jt(t, function(o) {
-    return o = Zt(o, e), r || (r = o.length > 1), o;
+  t = Zt(t, function(o) {
+    return o = Jt(o, e), r || (r = o.length > 1), o;
   }), be(e, tn(e), n), r && (n = ve(n, ha | pa | ya, va));
   for (var i = t.length; i--; )
     ga(n, t[i]);
@@ -464,7 +464,7 @@ function ze(e) {
     t[r] = t[r] || [], t[r].push(n);
   }), t;
 }
-function J(e) {
+function Z(e) {
   for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
     n[r - 1] = arguments[r];
   var i = 0, o = n.length;
@@ -595,9 +595,9 @@ function At(e, t) {
   return e;
 }
 var fn = function(t, n, r, i, o, a) {
-  t.required && (!r.hasOwnProperty(t.field) || B(n, a || t.type)) && i.push(J(o.messages.required, t.fullField));
+  t.required && (!r.hasOwnProperty(t.field) || B(n, a || t.type)) && i.push(Z(o.messages.required, t.fullField));
 }, qa = function(t, n, r, i, o) {
-  (/^\s+$/.test(n) || n === "") && i.push(J(o.messages.whitespace, t.fullField));
+  (/^\s+$/.test(n) || n === "") && i.push(Z(o.messages.whitespace, t.fullField));
 }, Fe, Ta = function() {
   if (Fe)
     return Fe;
@@ -678,29 +678,29 @@ var fn = function(t, n, r, i, o, a) {
     return;
   }
   var a = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], l = t.type;
-  a.indexOf(l) > -1 ? ge[l](n) || i.push(J(o.messages.types[l], t.fullField, t.type)) : l && typeof n !== t.type && i.push(J(o.messages.types[l], t.fullField, t.type));
-}, ja = function(t, n, r, i, o) {
+  a.indexOf(l) > -1 ? ge[l](n) || i.push(Z(o.messages.types[l], t.fullField, t.type)) : l && typeof n !== t.type && i.push(Z(o.messages.types[l], t.fullField, t.type));
+}, _a = function(t, n, r, i, o) {
   var a = typeof t.len == "number", l = typeof t.min == "number", s = typeof t.max == "number", v = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, f = n, g = null, h = typeof n == "number", w = typeof n == "string", $ = Array.isArray(n);
   if (h ? g = "number" : w ? g = "string" : $ && (g = "array"), !g)
     return !1;
-  $ && (f = n.length), w && (f = n.replace(v, "_").length), a ? f !== t.len && i.push(J(o.messages[g].len, t.fullField, t.len)) : l && !s && f < t.min ? i.push(J(o.messages[g].min, t.fullField, t.min)) : s && !l && f > t.max ? i.push(J(o.messages[g].max, t.fullField, t.max)) : l && s && (f < t.min || f > t.max) && i.push(J(o.messages[g].range, t.fullField, t.min, t.max));
-}, fe = "enum", _a = function(t, n, r, i, o) {
-  t[fe] = Array.isArray(t[fe]) ? t[fe] : [], t[fe].indexOf(n) === -1 && i.push(J(o.messages[fe], t.fullField, t[fe].join(", ")));
+  $ && (f = n.length), w && (f = n.replace(v, "_").length), a ? f !== t.len && i.push(Z(o.messages[g].len, t.fullField, t.len)) : l && !s && f < t.min ? i.push(Z(o.messages[g].min, t.fullField, t.min)) : s && !l && f > t.max ? i.push(Z(o.messages[g].max, t.fullField, t.max)) : l && s && (f < t.min || f > t.max) && i.push(Z(o.messages[g].range, t.fullField, t.min, t.max));
+}, fe = "enum", ja = function(t, n, r, i, o) {
+  t[fe] = Array.isArray(t[fe]) ? t[fe] : [], t[fe].indexOf(n) === -1 && i.push(Z(o.messages[fe], t.fullField, t[fe].join(", ")));
 }, Ma = function(t, n, r, i, o) {
   if (t.pattern) {
     if (t.pattern instanceof RegExp)
-      t.pattern.lastIndex = 0, t.pattern.test(n) || i.push(J(o.messages.pattern.mismatch, t.fullField, n, t.pattern));
+      t.pattern.lastIndex = 0, t.pattern.test(n) || i.push(Z(o.messages.pattern.mismatch, t.fullField, n, t.pattern));
     else if (typeof t.pattern == "string") {
       var a = new RegExp(t.pattern);
-      a.test(n) || i.push(J(o.messages.pattern.mismatch, t.fullField, n, t.pattern));
+      a.test(n) || i.push(Z(o.messages.pattern.mismatch, t.fullField, n, t.pattern));
     }
   }
 }, E = {
   required: fn,
   whitespace: qa,
   type: Ia,
-  range: ja,
-  enum: _a,
+  range: _a,
+  enum: ja,
   pattern: Ma
 }, La = function(t, n, r, i, o) {
   var a = [], l = t.required || !t.required && i.hasOwnProperty(t.field);
@@ -812,7 +812,7 @@ var fn = function(t, n, r, i, o, a) {
     E.required(t, n, i, l, o, a), B(n, a) || E.type(t, n, i, l, o);
   }
   r(l);
-}, Ja = function(t, n, r, i, o) {
+}, Za = function(t, n, r, i, o) {
   var a = [], l = t.required || !t.required && i.hasOwnProperty(t.field);
   if (l) {
     if (B(n) && !t.required)
@@ -837,7 +837,7 @@ var fn = function(t, n, r, i, o, a) {
   hex: Me,
   email: Me,
   required: Ya,
-  any: Ja
+  any: Za
 };
 function Ue() {
   return {
@@ -970,15 +970,15 @@ var He = Ue(), we = /* @__PURE__ */ function() {
           y(O);
         else {
           if (m.required && !d.value)
-            return m.message !== void 0 ? O = [].concat(m.message).map(Ft(m, l)) : s.error && (O = [s.error(m, J(s.messages.required, m.field))]), y(O);
+            return m.message !== void 0 ? O = [].concat(m.message).map(Ft(m, l)) : s.error && (O = [s.error(m, Z(s.messages.required, m.field))]), y(O);
           var V = {};
           m.defaultField && Object.keys(d.value).map(function(T) {
             V[T] = m.defaultField;
           }), V = le({}, V, d.rule.fields);
           var M = {};
           Object.keys(V).forEach(function(T) {
-            var N = V[T], Z = Array.isArray(N) ? N : [N];
-            M[T] = Z.map(u.bind(null, T));
+            var N = V[T], J = Array.isArray(N) ? N : [N];
+            M[T] = J.map(u.bind(null, T));
           });
           var L = new e(M);
           L.messages(s.messages), d.rule.options && (d.rule.options.messages = s.messages, d.rule.options.error = s.error), L.validate(d.value, d.rule.options || s, function(T) {
@@ -1010,7 +1010,7 @@ var He = Ue(), we = /* @__PURE__ */ function() {
     }, l);
   }, t.getType = function(r) {
     if (r.type === void 0 && r.pattern instanceof RegExp && (r.type = "pattern"), typeof r.validator != "function" && r.type && !he.hasOwnProperty(r.type))
-      throw new Error(J("Unknown rule type %s", r.type));
+      throw new Error(Z("Unknown rule type %s", r.type));
     return r.type || "string";
   }, t.getValidationMethod = function(r) {
     if (typeof r.validator == "function")
@@ -1046,7 +1046,7 @@ function dn(e, t, n, r) {
   let a;
   return !e && typeof i == "number" ? a = [] : Array.isArray(e) ? a = [...e] : a = P({}, e), r && n === void 0 && o.length === 1 ? delete a[i][o[0]] : a[i] = dn(a[i], o, n, r), a;
 }
-function Za(e, t, n) {
+function Ja(e, t, n) {
   let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
   return t.length && r && n === void 0 && !cn(e, t.slice(0, -1)) ? e : dn(e, t, n, r);
 }
@@ -1058,7 +1058,7 @@ function Qa(e, t) {
 }
 function ka(e, t, n) {
   let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
-  return Za(e, t, n, r);
+  return Ja(e, t, n, r);
 }
 function eo(e, t) {
   return e && e.some((n) => no(n, t));
@@ -1135,7 +1135,7 @@ const Y = "'${name}' is not a valid ${type}", Ie = {
     mismatch: "'${name}' does not match pattern ${pattern}"
   }
 };
-var je = function(e, t, n, r) {
+var _e = function(e, t, n, r) {
   function i(o) {
     return o instanceof n ? o : new n(function(a) {
       a(o);
@@ -1170,7 +1170,7 @@ function io(e, t) {
   });
 }
 function Xe(e, t, n, r, i) {
-  return je(this, void 0, void 0, function* () {
+  return _e(this, void 0, void 0, function* () {
     const o = P({}, n);
     delete o.ruleIndex, delete o.trigger;
     let a = null;
@@ -1238,7 +1238,7 @@ function gn(e, t, n, r, i, o) {
   });
   let s;
   if (i === !0)
-    s = new Promise((v, f) => je(this, void 0, void 0, function* () {
+    s = new Promise((v, f) => _e(this, void 0, void 0, function* () {
       for (let g = 0; g < l.length; g += 1) {
         const h = l[g], w = yield Xe(a, t, h, r, o);
         if (w.length) {
@@ -1261,12 +1261,12 @@ function gn(e, t, n, r, i, o) {
   return s.catch((v) => v), s;
 }
 function ao(e) {
-  return je(this, void 0, void 0, function* () {
+  return _e(this, void 0, void 0, function* () {
     return Promise.all(e).then((t) => [].concat(...t));
   });
 }
 function oo(e) {
-  return je(this, void 0, void 0, function* () {
+  return _e(this, void 0, void 0, function* () {
     let t = 0;
     return new Promise((n) => {
       e.forEach((r) => {
@@ -1325,7 +1325,7 @@ const vn = Symbol("formContextKey"), hn = (e) => {
     colon: $,
     required: d,
     requiredMark: y
-  } = P(P({}, e), i), [m] = jn("Form"), q = (o = e.label) !== null && o !== void 0 ? o : (a = n.label) === null || a === void 0 ? void 0 : a.call(n);
+  } = P(P({}, e), i), [m] = _n("Form"), q = (o = e.label) !== null && o !== void 0 ? o : (a = n.label) === null || a === void 0 ? void 0 : a.call(n);
   if (!q) return null;
   const {
     vertical: u,
@@ -1339,18 +1339,18 @@ const vn = Symbol("formContextKey"), hn = (e) => {
   let T = q;
   const N = $ === !0 || (A == null ? void 0 : A.value) !== !1 && $ !== !1;
   if (N && !u.value && typeof q == "string" && q.trim() !== "" && (T = q.replace(/[:|:]\s*$/, "")), e.tooltip || n.tooltip) {
-    const K = j("span", {
+    const K = _("span", {
       class: `${f}-item-tooltip`
-    }, [j(_n, {
+    }, [_(jn, {
       title: e.tooltip
     }, {
-      default: () => [j(Mn, null, null)]
+      default: () => [_(Mn, null, null)]
     })]);
-    T = j(Se, null, [T, n.tooltip ? (l = n.tooltip) === null || l === void 0 ? void 0 : l.call(n, {
+    T = _(Se, null, [T, n.tooltip ? (l = n.tooltip) === null || l === void 0 ? void 0 : l.call(n, {
       class: `${f}-item-tooltip`
     }) : K]);
   }
-  y === "optional" && !d && (T = j(Se, null, [T, j("span", {
+  y === "optional" && !d && (T = _(Se, null, [T, _("span", {
     class: `${f}-item-optional`
   }, [((s = m.value) === null || s === void 0 ? void 0 : s.optional) || ((v = Ln.Form) === null || v === void 0 ? void 0 : v.optional)])]));
   const Q = pe({
@@ -1358,10 +1358,10 @@ const vn = Symbol("formContextKey"), hn = (e) => {
     [`${f}-item-required-mark-optional`]: y === "optional",
     [`${f}-item-no-colon`]: !N
   });
-  return j(Qt, W(W({}, O), {}, {
+  return _(Qt, W(W({}, O), {}, {
     class: L
   }), {
-    default: () => [j("label", {
+    default: () => [_("label", {
       for: g,
       class: Q,
       title: typeof q == "string" ? q : "",
@@ -1826,14 +1826,14 @@ const uo = (e) => {
     }), () => {
       var v, f;
       const g = Dn(`${r.value}-show-help-item`), h = Bn(`${r.value}-show-help-item`, g);
-      return h.role = "alert", h.class = [s.value, o.value, n.class, `${r.value}-show-help`], j(rr, W(W({}, Gn(`${r.value}-show-help`)), {}, {
+      return h.role = "alert", h.class = [s.value, o.value, n.class, `${r.value}-show-help`], _(rr, W(W({}, Gn(`${r.value}-show-help`)), {}, {
         onAfterEnter: () => e.onErrorVisibleChanged(!0),
         onAfterLeave: () => e.onErrorVisibleChanged(!1)
       }), {
-        default: () => [ir(j(ar, W(W({}, h), {}, {
+        default: () => [ir(_(ar, W(W({}, h), {}, {
           tag: "div"
         }), {
-          default: () => [(f = e.errors) === null || f === void 0 ? void 0 : f.map((w, $) => j("div", {
+          default: () => [(f = e.errors) === null || f === void 0 ? void 0 : f.map((w, $) => _("div", {
             key: $,
             class: l.value ? `${o.value}-${l.value}` : ""
           }, [w]))]
@@ -1871,31 +1871,31 @@ const uo = (e) => {
         // status,
         extra: d = (s = n.extra) === null || s === void 0 ? void 0 : s.call(n)
       } = e, y = `${v}-item`, m = f || (i == null ? void 0 : i.value) || {}, q = pe(`${y}-control`, m.class);
-      return j(Qt, W(W({}, m), {}, {
+      return _(Qt, W(W({}, m), {}, {
         class: q
       }), {
         default: () => {
           var u;
-          return j(Se, null, [j("div", {
+          return _(Se, null, [_("div", {
             class: `${y}-control-input`
-          }, [j("div", {
+          }, [_("div", {
             class: `${y}-control-input-content`
-          }, [(u = n.default) === null || u === void 0 ? void 0 : u.call(n)])]), g !== null || $.length ? j("div", {
+          }, [(u = n.default) === null || u === void 0 ? void 0 : u.call(n)])]), g !== null || $.length ? _("div", {
             style: {
               display: "flex",
               flexWrap: "nowrap"
             }
-          }, [j(yo, {
+          }, [_(yo, {
             errors: $,
             help: w,
             class: `${y}-explain-connected`,
             onErrorVisibleChanged: h
-          }, null), !!g && j("div", {
+          }, null), !!g && _("div", {
             style: {
               width: 0,
               height: `${g}px`
             }
-          }, null)]) : null, d ? j("div", {
+          }, null)]) : null, d ? _("div", {
             class: `${y}-extra`
           }, [d]) : null]);
         }
@@ -2098,8 +2098,8 @@ const Ao = "form_item", Oo = Te({
       Array.isArray(D) ? G.o[G.k] = [].concat((p = u.value) !== null && p !== void 0 ? p : []) : G.o[G.k] = u.value, Ht(() => {
         w.value = !1;
       });
-    }, Z = F(() => e.htmlFor === void 0 ? y.value : e.htmlFor), Q = () => {
-      const p = Z.value;
+    }, J = F(() => e.htmlFor === void 0 ? y.value : e.htmlFor), Q = () => {
+      const p = J.value;
       if (!p || !$.value)
         return;
       const I = $.value.$el.querySelector(`[id="${p}"]`);
@@ -2152,9 +2152,9 @@ const Ao = "form_item", Oo = Te({
       let p;
       if (e.hasFeedback) {
         const I = C.value && xo[C.value];
-        p = I ? j("span", {
+        p = I ? _("span", {
           class: pe(`${a.value}-item-feedback-icon`, `${a.value}-item-feedback-icon-${C.value}`)
-        }, [j(I, null, null)]) : null;
+        }, [_(I, null, null)]) : null;
       }
       P(H, {
         status: C.value,
@@ -2184,17 +2184,17 @@ const Ao = "form_item", Oo = Te({
       var p, I;
       if (e.noStyle) return (p = n.default) === null || p === void 0 ? void 0 : p.call(n);
       const D = (I = e.help) !== null && I !== void 0 ? I : n.help ? Dt(n.help()) : null, G = !!(D != null && Array.isArray(D) && D.length || x.value.length);
-      return te.value = G, l(j("div", {
+      return te.value = G, l(_("div", {
         class: [R.value, G ? `${a.value}-item-with-help` : "", r.class],
         ref: v
-      }, [j(mr, W(W({}, r), {}, {
+      }, [_(mr, W(W({}, r), {}, {
         class: `${a.value}-item-row`,
         key: "row"
       }), {
         default: () => {
           var z, U;
-          return j(Se, null, [j(it, W(W({}, e), {}, {
-            htmlFor: Z.value,
+          return _(Se, null, [_(it, W(W({}, e), {}, {
+            htmlFor: J.value,
             required: S.value,
             requiredMark: f.requiredMark.value,
             prefixCls: a.value,
@@ -2203,7 +2203,7 @@ const Ao = "form_item", Oo = Te({
           }), {
             label: n.label,
             tooltip: n.tooltip
-          }), j(bo, W(W({}, e), {}, {
+          }), _(bo, W(W({}, e), {}, {
             errors: D != null ? ne(D) : x.value,
             marginBottom: X.value,
             prefixCls: a.value,
@@ -2216,7 +2216,7 @@ const Ao = "form_item", Oo = Te({
             default: n.default
           })]);
         }
-      }), !!X.value && j("div", {
+      }), !!X.value && _("div", {
         class: `${a.value}-margin-offset`,
         style: {
           marginBottom: `-${X.value}px`
@@ -2296,9 +2296,9 @@ function Co(e) {
         name: L,
         errors: [],
         warnings: []
-      })).catch((Z) => {
+      })).catch((J) => {
         const Q = [], K = [];
-        return Z.forEach((x) => {
+        return J.forEach((x) => {
           let {
             rule: {
               warningOnly: C
@@ -2470,7 +2470,7 @@ const oe = Te({
       var x;
       return g.value !== void 0 ? g.value : s && ((x = s.value) === null || x === void 0 ? void 0 : x.requiredMark) !== void 0 ? s.value.requiredMark : !e.hideRequiredMark;
     });
-    Jn(v), Zn(f);
+    Zn(v), Jn(f);
     const w = F(() => {
       var x, C;
       return (x = e.colon) !== null && x !== void 0 ? x : (C = s.value) === null || C === void 0 ? void 0 : C.colon;
@@ -2490,7 +2490,7 @@ const oe = Te({
       return C ? Object.values(c).filter((H) => R.findIndex((X) => Eo(X, H.fieldName.value)) > -1) : Object.values(c);
     }, O = (x) => {
       if (!e.model) {
-        _e(!1, "Form", "model is required for resetFields to work.");
+        je(!1, "Form", "model is required for resetFields to work.");
         return;
       }
       A(x).forEach((C) => {
@@ -2532,9 +2532,9 @@ const oe = Te({
         }), St(e.model, C);
       } else
         return St(e.model, x);
-    }, Z = (x, C) => {
-      if (_e(!(x instanceof Function), "Form", "validateFields/validateField/validate not support callback, please use promise instead"), !e.model)
-        return _e(!1, "Form", "model is required for validateFields to work."), Promise.reject("Form `model` is required for validateFields to work.");
+    }, J = (x, C) => {
+      if (je(!(x instanceof Function), "Form", "validateFields/validateField/validate not support callback, please use promise instead"), !e.model)
+        return je(!1, "Form", "model is required for validateFields to work."), Promise.reject("Form `model` is required for validateFields to work.");
       const R = !!x, H = R ? ne(x).map(Ke) : [], X = [];
       Object.values(c).forEach((k) => {
         var p;
@@ -2583,9 +2583,9 @@ const oe = Te({
       });
       return xe.catch((k) => k), xe;
     }, Q = function() {
-      return Z(...arguments);
+      return J(...arguments);
     }, K = (x) => {
-      x.preventDefault(), x.stopPropagation(), n("submit", x), e.model && Z().then((R) => {
+      x.preventDefault(), x.stopPropagation(), n("submit", x), e.model && J().then((R) => {
         n("finish", R);
       }).catch((R) => {
         M(R);
@@ -2594,7 +2594,7 @@ const oe = Te({
     return i({
       resetFields: O,
       clearValidate: V,
-      validateFields: Z,
+      validateFields: J,
       getFieldsValue: N,
       validate: L,
       scrollToField: T
@@ -2617,10 +2617,10 @@ const oe = Te({
       },
       validateMessages: d
     }), se(() => e.rules, () => {
-      e.validateOnRuleChange && Z();
+      e.validateOnRuleChange && J();
     }), () => {
       var x;
-      return y(j("form", W(W({}, o), {}, {
+      return y(_("form", W(W({}, o), {}, {
         onSubmit: K,
         class: [q.value, o.class]
       }), [(x = r.default) === null || x === void 0 ? void 0 : x.call(r)]));

+ 16 - 16
lib/js/index5.js

@@ -1,6 +1,6 @@
-import { g as P, m as S, bN as _, d, r as w, bO as B, bP as k, b as T, bB as N, u as z, c as A, y as D, _ as h, a3 as I, o as W, i as E, bQ as H, aG as C, bR as R, f as $ } from "./index2.js";
-import { defineComponent as j, ref as M, computed as O, createVNode as b, Fragment as G } from "vue";
-const L = (e) => {
+import { g as P, m as S, bA as _, d, r as w, bB as B, bC as k, b as T, bo as A, u as D, c as N, y as z, _ as h, a3 as I, o as W, i as E, bD as H, aG as C, bE as j, f as $ } from "./index2.js";
+import { defineComponent as M, ref as R, computed as G, createVNode as b, Fragment as L } from "vue";
+const O = (e) => {
   const {
     componentCls: o,
     popoverBg: r,
@@ -94,7 +94,7 @@ const L = (e) => {
       };
     })
   };
-}, Q = (e) => {
+}, V = (e) => {
   const {
     componentCls: o,
     lineWidth: r,
@@ -121,7 +121,7 @@ const L = (e) => {
       }
     }
   };
-}, V = P("Popover", (e) => {
+}, X = P("Popover", (e) => {
   const {
     colorBgElevated: o,
     colorText: r,
@@ -132,7 +132,7 @@ const L = (e) => {
     popoverPadding: 12
     // Fixed Value
   });
-  return [L(a), F(a), t && Q(a), _(a, "zoom-big")];
+  return [O(a), F(a), t && V(a), _(a, "zoom-big")];
 }, (e) => {
   let {
     zIndexPopupBase: o
@@ -141,16 +141,16 @@ const L = (e) => {
     zIndexPopup: o + 30,
     width: 177
   };
-}), X = () => d(d({}, R()), {
+}), Z = () => d(d({}, j()), {
   content: $(),
   title: $()
-}), Z = j({
+}), q = M({
   compatConfig: {
     MODE: 3
   },
   name: "APopover",
   inheritAttrs: !1,
-  props: E(X(), d(d({}, H()), {
+  props: E(Z(), d(d({}, H()), {
     trigger: "hover",
     placement: "top",
     mouseEnterDelay: 0.1,
@@ -162,8 +162,8 @@ const L = (e) => {
       slots: t,
       attrs: a
     } = o;
-    const s = M();
-    N(e.visible === void 0, "popover", "`visible` will be removed in next major version, please use `open` instead."), r({
+    const s = R();
+    A(e.visible === void 0, "popover", "`visible` will be removed in next major version, please use `open` instead."), r({
       getPopupDomNode: () => {
         var n, i;
         return (i = (n = s.value) === null || n === void 0 ? void 0 : n.getPopupDomNode) === null || i === void 0 ? void 0 : i.call(n);
@@ -172,21 +172,21 @@ const L = (e) => {
     const {
       prefixCls: l,
       configProvider: c
-    } = z("popover", e), [u, g] = V(l), p = O(() => c.getPrefixCls()), v = () => {
+    } = D("popover", e), [u, g] = X(l), p = G(() => c.getPrefixCls()), v = () => {
       var n, i;
       const {
         title: m = C((n = t.title) === null || n === void 0 ? void 0 : n.call(t)),
         content: f = C((i = t.content) === null || i === void 0 ? void 0 : i.call(t))
       } = e, x = !!(Array.isArray(m) ? m.length : m), y = !!(Array.isArray(f) ? f.length : m);
-      return !x && !y ? null : b(G, null, [x && b("div", {
+      return !x && !y ? null : b(L, null, [x && b("div", {
         class: `${l.value}-title`
       }, [m]), b("div", {
         class: `${l.value}-inner-content`
       }, [f])]);
     };
     return () => {
-      const n = A(e.overlayClassName, g.value);
-      return u(b(D, h(h(h({}, W(e, ["title", "content"])), a), {}, {
+      const n = N(e.overlayClassName, g.value);
+      return u(b(z, h(h(h({}, W(e, ["title", "content"])), a), {}, {
         prefixCls: l.value,
         ref: s,
         overlayClassName: n,
@@ -198,7 +198,7 @@ const L = (e) => {
       }));
     };
   }
-}), U = T(Z);
+}), U = T(q);
 export {
   U as _
 };

+ 134 - 134
lib/js/index6.js

@@ -1,5 +1,5 @@
-import { G as ot, bS as rt, bT as st, K as ue, bU as ct, _ as z, d as p, aG as it, D as H, bV as ut, A as dt, N as $e, J as vt, L as Xe, M as ft, bW as ht, bX as Ye, o as Ce, O as pt, i as qe, Q as mt, P as de, g as gt, m as et, bY as yt, S as bt, h as Oe, U as St, V as Ct, W as wt, u as xt, X as It, Y as Vt, a4 as kt, Z as Tt, c as Ge, a2 as Nt, a5 as Et, aN as Lt, bZ as Pt, av as Fe, ay as He, e as Dt, aw as _t, ax as Kt } from "./index2.js";
-import { inject as At, provide as Ot, defineComponent as We, ref as ye, computed as y, watch as be, nextTick as Ft, shallowRef as R, toRaw as le, createVNode as X, watchEffect as Se, toRef as oe, toRefs as Ht } from "vue";
+import { G as ot, bF as rt, bG as st, K as ue, bH as ct, _ as z, d as p, aG as it, D as H, bI as ut, A as dt, N as $e, J as vt, L as Ge, M as ft, bJ as ht, bK as Xe, o as Ce, O as pt, i as qe, Q as mt, P as de, g as gt, m as et, bL as yt, S as bt, h as Oe, U as St, V as Ct, W as wt, u as xt, X as It, Y as Vt, a4 as kt, Z as Nt, c as Ye, a2 as Tt, a5 as Et, aN as Lt, bM as Pt, av as Fe, ay as He, e as Dt, aw as Kt, ax as _t } from "./index2.js";
+import { inject as At, provide as Ot, defineComponent as We, ref as ye, computed as y, watch as be, nextTick as Ft, shallowRef as R, toRaw as le, createVNode as G, watchEffect as Se, toRef as oe, toRefs as Ht } from "vue";
 function tt(e) {
   return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
 }
@@ -97,22 +97,22 @@ const Bt = {
       let {
         node: L
       } = b;
-      var _, N;
+      var K, T;
       const {
         checkable: U,
-        checkedKeys: Y
+        checkedKeys: X
       } = n;
-      U && Re(L) || ((_ = r.onSelect) === null || _ === void 0 || _.call(r, L.key, {
-        selected: !Y.includes(L.key)
-      }), l.multiple || (N = l.toggleOpen) === null || N === void 0 || N.call(l, !1));
-    }, K = ye(null), A = y(() => n.keyEntities[K.value]), F = (v) => {
-      K.value = v;
+      U && Re(L) || ((K = r.onSelect) === null || K === void 0 || K.call(r, L.key, {
+        selected: !X.includes(L.key)
+      }), l.multiple || (T = l.toggleOpen) === null || T === void 0 || T.call(l, !1));
+    }, _ = ye(null), A = y(() => n.keyEntities[_.value]), F = (v) => {
+      _.value = v;
     };
     return t({
       scrollTo: function() {
-        for (var v, b, L = arguments.length, _ = new Array(L), N = 0; N < L; N++)
-          _[N] = arguments[N];
-        return (b = (v = s.value) === null || v === void 0 ? void 0 : v.scrollTo) === null || b === void 0 ? void 0 : b.call(v, ..._);
+        for (var v, b, L = arguments.length, K = new Array(L), T = 0; T < L; T++)
+          K[T] = arguments[T];
+        return (b = (v = s.value) === null || v === void 0 ? void 0 : v.scrollTo) === null || b === void 0 ? void 0 : b.call(v, ...K);
       },
       onKeydown: (v) => {
         var b;
@@ -129,14 +129,14 @@ const Bt = {
           case ue.ENTER: {
             if (A.value) {
               const {
-                selectable: _,
-                value: N
+                selectable: K,
+                value: T
               } = A.value.node || {};
-              _ !== !1 && O(null, {
+              K !== !1 && O(null, {
                 node: {
-                  key: K.value
+                  key: _.value
                 },
-                selected: !n.checkedKeys.includes(N)
+                selected: !n.checkedKeys.includes(T)
               });
             }
             break;
@@ -152,20 +152,20 @@ const Bt = {
       const {
         prefixCls: b,
         multiple: L,
-        searchValue: _,
-        open: N,
+        searchValue: K,
+        open: T,
         notFoundContent: U = (v = a.notFoundContent) === null || v === void 0 ? void 0 : v.call(a)
       } = l, {
-        listHeight: Y,
+        listHeight: X,
         listItemHeight: j,
         virtual: ne,
-        dropdownMatchSelectWidth: G,
+        dropdownMatchSelectWidth: Y,
         treeExpandAction: re
       } = r, {
         checkable: se,
         treeDefaultExpandAll: ce,
         treeIcon: ae,
-        showTreeIcon: Z,
+        showTreeIcon: J,
         switcherIcon: fe,
         treeLine: he,
         loadData: pe,
@@ -175,41 +175,41 @@ const Bt = {
         checkedKeys: M
       } = n;
       if (d.value.length === 0)
-        return X("div", {
+        return G("div", {
           role: "listbox",
           class: `${b}-empty`,
           onMousedown: k
         }, [U]);
-      const J = {
+      const Q = {
         fieldNames: r.fieldNames
       };
-      return ie && (J.loadedKeys = ie), I.value && (J.expandedKeys = I.value), X("div", {
+      return ie && (Q.loadedKeys = ie), I.value && (Q.expandedKeys = I.value), G("div", {
         onMousedown: k
-      }, [A.value && N && X("span", {
+      }, [A.value && T && G("span", {
         style: Bt,
         "aria-live": "assertive"
-      }, [A.value.node.value]), X(ct, z(z({
+      }, [A.value.node.value]), G(ct, z(z({
         ref: s,
         focusable: !1,
         prefixCls: `${b}-tree`,
         treeData: d.value,
-        height: Y,
+        height: X,
         itemHeight: j,
-        virtual: ne !== !1 && G !== !1,
+        virtual: ne !== !1 && Y !== !1,
         multiple: L,
         icon: ae,
-        showIcon: Z,
+        showIcon: J,
         switcherIcon: fe,
         showLine: he,
-        loadData: _ ? null : pe,
+        loadData: K ? null : pe,
         motion: m,
-        activeKey: K.value,
+        activeKey: _.value,
         checkable: se,
         checkStrictly: !0,
         checkedKeys: o.value,
         selectedKeys: se ? [] : M,
         defaultExpandAll: ce
-      }, J), {}, {
+      }, Q), {}, {
         onActiveChange: F,
         onSelect: O,
         onCheck: O,
@@ -223,7 +223,7 @@ const Bt = {
     };
   }
 }), Ut = "SHOW_ALL", nt = "SHOW_PARENT", Ue = "SHOW_CHILD";
-function Ze(e, c, a, t) {
+function Je(e, c, a, t) {
   const l = new Set(e);
   return c === Ue ? e.filter((n) => {
     const r = a[n];
@@ -254,19 +254,19 @@ var zt = function(e, c) {
     c.indexOf(t[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[l]) && (a[t[l]] = e[t[l]]);
   return a;
 };
-function Xt(e) {
+function Gt(e) {
   return e && e.type && e.type.isTreeSelectNode;
 }
-function Yt(e) {
+function Xt(e) {
   function c() {
     let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
     return it(a).map((t) => {
       var l, n, r;
-      if (!Xt(t))
+      if (!Gt(t))
         return H(!t, "TreeSelect/TreeSelectNode can only accept TreeSelectNode as children."), null;
       const s = t.children || {}, d = t.key, o = {};
-      for (const [L, _] of Object.entries(t.props))
-        o[ut(L)] = _;
+      for (const [L, K] of Object.entries(t.props))
+        o[ut(L)] = K;
       const {
         isLeaf: u,
         checkable: g,
@@ -281,10 +281,10 @@ function Yt(e) {
         disableCheckbox: I || I === "" || void 0
       }, k = p(p({}, o), w), {
         title: O = (l = s.title) === null || l === void 0 ? void 0 : l.call(s, k),
-        switcherIcon: K = (n = s.switcherIcon) === null || n === void 0 ? void 0 : n.call(s, k)
+        switcherIcon: _ = (n = s.switcherIcon) === null || n === void 0 ? void 0 : n.call(s, k)
       } = o, A = zt(o, ["title", "switcherIcon"]), F = (r = s.default) === null || r === void 0 ? void 0 : r.call(s), v = p(p(p({}, A), {
         title: O,
-        switcherIcon: K,
+        switcherIcon: _,
         key: d,
         isLeaf: u
       }), w), b = c(F);
@@ -303,20 +303,20 @@ function Be(e) {
     }
   }), c;
 }
-function Gt(e, c, a, t, l, n) {
+function Yt(e, c, a, t, l, n) {
   let r = null, s = null;
   function d() {
     function o(u) {
       let g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "0", V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
       return u.map((C, I) => {
-        const w = `${g}-${I}`, k = C[n.value], O = a.includes(k), K = o(C[n.children] || [], w, O), A = X(ve, C, {
-          default: () => [K.map((F) => F.node)]
+        const w = `${g}-${I}`, k = C[n.value], O = a.includes(k), _ = o(C[n.children] || [], w, O), A = G(ve, C, {
+          default: () => [_.map((F) => F.node)]
         });
         if (c === k && (r = A), O) {
           const F = {
             pos: w,
             node: A,
-            children: K
+            children: _
           };
           return V || s.push(F), F;
         }
@@ -356,7 +356,7 @@ function Gt(e, c, a, t, l, n) {
     }
   });
 }
-function Zt(e, c) {
+function Jt(e, c) {
   let {
     id: a,
     pId: t,
@@ -371,21 +371,21 @@ function Zt(e, c) {
     u && (u.children = u.children || [], u.children.push(d)), (o === l || !u && l === null) && r.push(d);
   }), r;
 }
-function Jt(e, c, a) {
+function Qt(e, c, a) {
   const t = R();
   return be([a, e, c], () => {
     const l = a.value;
-    e.value ? t.value = a.value ? Zt(le(e.value), p({
+    e.value ? t.value = a.value ? Jt(le(e.value), p({
       id: "id",
       pId: "pId",
       rootPId: null
-    }, l !== !0 ? l : {})) : le(e.value).slice() : t.value = Yt(le(c.value));
+    }, l !== !0 ? l : {})) : le(e.value).slice() : t.value = Xt(le(c.value));
   }, {
     immediate: !0,
     deep: !0
   }), t;
 }
-const Qt = (e) => {
+const Zt = (e) => {
   const c = R({
     valueLabels: /* @__PURE__ */ new Map()
   }), a = R();
@@ -475,8 +475,8 @@ const Qt = (e) => {
       let V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
       const C = [];
       for (let I = 0, w = g.length; I < w; I++) {
-        const k = g[I], O = k[r], K = V || o(s, Be(k)), A = u(O || [], K);
-        (K || A.length) && C.push(p(p({}, k), {
+        const k = g[I], O = k[r], _ = V || o(s, Be(k)), A = u(O || [], _);
+        (_ || A.length) && C.push(p(p({}, k), {
           [r]: A
         }));
       }
@@ -661,13 +661,13 @@ const al = We({
     process.env.NODE_ENV !== "production" && Se(() => {
       ll(e);
     });
-    const u = y(() => Mt(e.fieldNames)), [g, V] = Xe("", {
+    const u = y(() => Mt(e.fieldNames)), [g, V] = Ge("", {
       value: y(() => e.searchValue !== void 0 ? e.searchValue : e.inputValue),
       postState: (i) => i || ""
     }), C = (i) => {
       var f;
       V(i), (f = e.onSearch) === null || f === void 0 || f.call(e, i);
-    }, I = Jt(oe(e, "treeData"), oe(e, "children"), oe(e, "treeDataSimpleMode")), {
+    }, I = Qt(oe(e, "treeData"), oe(e, "children"), oe(e, "treeDataSimpleMode")), {
       keyEntities: w,
       valueEntities: k
     } = qt(I, u), O = (i) => {
@@ -678,7 +678,7 @@ const al = We({
         missingRawValues: f,
         existRawValues: h
       };
-    }, K = tl(I, g, {
+    }, _ = tl(I, g, {
       fieldNames: u,
       treeNodeFilterProp: oe(e, "treeNodeFilterProp"),
       filterTreeNode: oe(e, "filterTreeNode")
@@ -706,31 +706,31 @@ const al = We({
         halfChecked: E
       } = h;
       let S;
-      const T = k.value.get(D);
-      return T && (x = x != null ? x : A(T.node), S = T.node.disabled), {
+      const N = k.value.get(D);
+      return N && (x = x != null ? x : A(N.node), S = N.node.disabled), {
         label: x,
         value: D,
         halfChecked: E,
         disabled: S
       };
-    }), [b, L] = Xe(e.defaultValue, {
+    }), [b, L] = Ge(e.defaultValue, {
       value: oe(e, "value")
-    }), _ = y(() => F(b.value)), N = R([]), U = R([]);
+    }), K = y(() => F(b.value)), T = R([]), U = R([]);
     Se(() => {
       const i = [], f = [];
-      _.value.forEach((h) => {
+      K.value.forEach((h) => {
         h.halfChecked ? f.push(h) : i.push(h);
-      }), N.value = i, U.value = f;
+      }), T.value = i, U.value = f;
     });
-    const Y = y(() => N.value.map((i) => i.value)), {
+    const X = y(() => T.value.map((i) => i.value)), {
       maxLevel: j,
       levelEntities: ne
-    } = ft(w), [G, re] = el(N, U, r, w, j, ne), se = y(() => {
-      const h = Ze(G.value, e.showCheckedStrategy, w.value, u.value).map((E) => {
-        var S, T, $;
-        return ($ = (T = (S = w.value[E]) === null || S === void 0 ? void 0 : S.node) === null || T === void 0 ? void 0 : T[u.value.value]) !== null && $ !== void 0 ? $ : E;
+    } = ft(w), [Y, re] = el(T, U, r, w, j, ne), se = y(() => {
+      const h = Je(Y.value, e.showCheckedStrategy, w.value, u.value).map((E) => {
+        var S, N, $;
+        return ($ = (N = (S = w.value[E]) === null || S === void 0 ? void 0 : S.node) === null || N === void 0 ? void 0 : N[u.value.value]) !== null && $ !== void 0 ? $ : E;
       }).map((E) => {
-        const S = N.value.find((T) => T.value === E);
+        const S = T.value.find((N) => N.value === E);
         return {
           value: E,
           label: S == null ? void 0 : S.label
@@ -742,11 +742,11 @@ const al = We({
           label: (S = E.label) !== null && S !== void 0 ? S : E.value
         });
       });
-    }), [ce] = Qt(se), ae = (i, f, h) => {
+    }), [ce] = Zt(se), ae = (i, f, h) => {
       const x = v(i);
       if (L(x), e.autoClearSearchValue && V(""), e.onChange) {
         let D = i;
-        r.value && (D = Ze(i, e.showCheckedStrategy, w.value, u.value).map((te) => {
+        r.value && (D = Je(i, e.showCheckedStrategy, w.value, u.value).map((te) => {
           const ge = k.value.get(te);
           return ge ? ge.node[u.value.value] : te;
         }));
@@ -757,48 +757,48 @@ const al = We({
           triggerValue: void 0,
           selected: void 0
         };
-        let T = D;
+        let N = D;
         if (e.treeCheckStrictly) {
           const W = U.value.filter((te) => !D.includes(te.value));
-          T = [...T, ...W];
+          N = [...N, ...W];
         }
-        const $ = v(T), q = {
+        const $ = v(N), q = {
           // [Legacy] Always return as array contains label & value
-          preValue: N.value,
+          preValue: T.value,
           triggerValue: E
         };
         let ee = !0;
-        (e.treeCheckStrictly || h === "selection" && !S) && (ee = !1), Gt(q, E, i, I.value, ee, u.value), s.value ? q.checked = S : q.selected = S;
+        (e.treeCheckStrictly || h === "selection" && !S) && (ee = !1), Yt(q, E, i, I.value, ee, u.value), s.value ? q.checked = S : q.selected = S;
         const B = d.value ? $ : $.map((W) => W.value);
         e.onChange(o.value ? B : B[0], d.value ? null : $.map((W) => W.label), q);
       }
-    }, Z = (i, f) => {
+    }, J = (i, f) => {
       let {
         selected: h,
         source: x
       } = f;
       var D, E, S;
-      const T = le(w.value), $ = le(k.value), q = T[i], ee = q == null ? void 0 : q.node, B = (D = ee == null ? void 0 : ee[u.value.value]) !== null && D !== void 0 ? D : i;
+      const N = le(w.value), $ = le(k.value), q = N[i], ee = q == null ? void 0 : q.node, B = (D = ee == null ? void 0 : ee[u.value.value]) !== null && D !== void 0 ? D : i;
       if (!o.value)
         ae([B], {
           selected: !0,
           triggerValue: B
         }, "option");
       else {
-        let W = h ? [...Y.value, B] : G.value.filter((te) => te !== B);
+        let W = h ? [...X.value, B] : Y.value.filter((te) => te !== B);
         if (r.value) {
           const {
             missingRawValues: te,
             existRawValues: ge
           } = O(W), ze = ge.map((Ae) => $.get(Ae).key);
-          let Ke;
+          let _e;
           h ? {
-            checkedKeys: Ke
-          } = $e(ze, !0, T, j.value, ne.value) : {
-            checkedKeys: Ke
+            checkedKeys: _e
+          } = $e(ze, !0, N, j.value, ne.value) : {
+            checkedKeys: _e
           } = $e(ze, {
             halfCheckedKeys: re.value
-          }, T, j.value, ne.value), W = [...te, ...Ke.map((Ae) => T[Ae].node[u.value.value])];
+          }, N, j.value, ne.value), W = [...te, ..._e.map((Ae) => N[Ae].node[u.value.value])];
         }
         ae(W, {
           selected: h,
@@ -821,7 +821,7 @@ const al = We({
         ae(h, {}, "selection");
         return;
       }
-      f.values.length && Z(f.values[0].value, {
+      f.values.length && J(f.values[0].value, {
         selected: !1,
         source: "selection"
       });
@@ -833,7 +833,7 @@ const al = We({
       onTreeLoad: P,
       // Expanded
       treeDefaultExpandAll: M,
-      treeExpandedKeys: J,
+      treeExpandedKeys: Q,
       treeDefaultExpandedKeys: we,
       onTreeExpand: xe,
       // Options
@@ -841,57 +841,57 @@ const al = We({
       listHeight: Ve,
       listItemHeight: ke,
       // Tree
-      treeLine: Te,
+      treeLine: Ne,
       treeIcon: me,
-      showTreeIcon: Ne,
+      showTreeIcon: Te,
       switcherIcon: Ee,
       treeMotion: Le,
       customSlots: Pe,
       dropdownMatchSelectWidth: De,
-      treeExpandAction: _e
+      treeExpandAction: Ke
     } = Ht(e);
-    ht(Ye({
+    ht(Xe({
       checkable: s,
       loadData: ie,
       treeLoadedKeys: m,
       onTreeLoad: P,
-      checkedKeys: G,
+      checkedKeys: Y,
       halfCheckedKeys: re,
       treeDefaultExpandAll: M,
-      treeExpandedKeys: J,
+      treeExpandedKeys: Q,
       treeDefaultExpandedKeys: we,
       onTreeExpand: xe,
       treeIcon: me,
       treeMotion: Le,
-      showTreeIcon: Ne,
+      showTreeIcon: Te,
       switcherIcon: Ee,
-      treeLine: Te,
+      treeLine: Ne,
       treeNodeFilterProp: pe,
       keyEntities: w,
       customSlots: Pe
-    })), Rt(Ye({
+    })), Rt(Xe({
       virtual: Ie,
       listHeight: Ve,
       listItemHeight: ke,
-      treeData: K,
+      treeData: _,
       fieldNames: u,
-      onSelect: Z,
+      onSelect: J,
       dropdownMatchSelectWidth: De,
-      treeExpandAction: _e
+      treeExpandAction: Ke
     }));
-    const Q = ye();
+    const Z = ye();
     return t({
       focus() {
         var i;
-        (i = Q.value) === null || i === void 0 || i.focus();
+        (i = Z.value) === null || i === void 0 || i.focus();
       },
       blur() {
         var i;
-        (i = Q.value) === null || i === void 0 || i.blur();
+        (i = Z.value) === null || i === void 0 || i.blur();
       },
       scrollTo(i) {
         var f;
-        (f = Q.value) === null || f === void 0 || f.scrollTo(i);
+        (f = Z.value) === null || f === void 0 || f.scrollTo(i);
       }
     }), () => {
       var i;
@@ -946,8 +946,8 @@ const al = We({
         "switcherIcon",
         "treeMotion"
       ]);
-      return X(pt, z(z(z({
-        ref: Q
+      return G(pt, z(z(z({
+        ref: Z
       }, a), f), {}, {
         id: n,
         prefixCls: e.prefixCls,
@@ -1021,13 +1021,13 @@ function rl(e, c) {
     return [ol(t)];
   })(e);
 }
-const Je = (e, c, a) => a !== void 0 ? a : `${e}-${c}`;
+const Qe = (e, c, a) => a !== void 0 ? a : `${e}-${c}`;
 function sl() {
   return p(p({}, Ce(at(), ["showTreeIcon", "treeMotion", "inputIcon", "getInputElement", "treeLine", "customSlots"])), {
     suffixIcon: de.any,
     size: He(),
-    bordered: Kt(),
-    treeLine: _t([Boolean, Object]),
+    bordered: _t(),
+    treeLine: Kt([Boolean, Object]),
     replaceFields: Dt(),
     placement: He(),
     status: He(),
@@ -1072,22 +1072,22 @@ const Me = We({
       getPrefixCls: k,
       disabled: O
     } = xt("select", e), {
-      compactSize: K,
+      compactSize: _,
       compactItemClassnames: A
-    } = It(o, g), F = y(() => K.value || I.value), v = Vt(), b = y(() => {
+    } = It(o, g), F = y(() => _.value || I.value), v = Vt(), b = y(() => {
       var m;
       return (m = O.value) !== null && m !== void 0 ? m : v.value;
-    }), L = y(() => k()), _ = y(() => e.placement !== void 0 ? e.placement : g.value === "rtl" ? "bottomRight" : "bottomLeft"), N = y(() => Je(L.value, kt(_.value), e.transitionName)), U = y(() => Je(L.value, "", e.choiceTransitionName)), Y = y(() => k("select-tree", e.prefixCls)), j = y(() => k("tree-select", e.prefixCls)), [ne, G] = Tt(o), [re] = rl(j, Y), se = y(() => Ge(e.popupClassName || e.dropdownClassName, `${j.value}-dropdown`, {
+    }), L = y(() => k()), K = y(() => e.placement !== void 0 ? e.placement : g.value === "rtl" ? "bottomRight" : "bottomLeft"), T = y(() => Qe(L.value, kt(K.value), e.transitionName)), U = y(() => Qe(L.value, "", e.choiceTransitionName)), X = y(() => k("select-tree", e.prefixCls)), j = y(() => k("tree-select", e.prefixCls)), [ne, Y] = Nt(o), [re] = rl(j, X), se = y(() => Ye(e.popupClassName || e.dropdownClassName, `${j.value}-dropdown`, {
       [`${j.value}-dropdown-rtl`]: g.value === "rtl"
-    }, G.value)), ce = y(() => !!(e.treeCheckable || e.multiple)), ae = y(() => e.showArrow !== void 0 ? e.showArrow : e.loading || !ce.value), Z = ye();
+    }, Y.value)), ce = y(() => !!(e.treeCheckable || e.multiple)), ae = y(() => e.showArrow !== void 0 ? e.showArrow : e.loading || !ce.value), J = ye();
     l({
       focus() {
         var m, P;
-        (P = (m = Z.value).focus) === null || P === void 0 || P.call(m);
+        (P = (m = J.value).focus) === null || P === void 0 || P.call(m);
       },
       blur() {
         var m, P;
-        (P = (m = Z.value).blur) === null || P === void 0 || P.call(m);
+        (P = (m = J.value).blur) === null || P === void 0 || P.call(m);
       }
     });
     const fe = function() {
@@ -1104,50 +1104,50 @@ const Me = We({
     return () => {
       var m, P, M;
       const {
-        notFoundContent: J = (m = t.notFoundContent) === null || m === void 0 ? void 0 : m.call(t),
+        notFoundContent: Q = (m = t.notFoundContent) === null || m === void 0 ? void 0 : m.call(t),
         prefixCls: we,
         bordered: xe,
         listHeight: Ie,
         listItemHeight: Ve,
         multiple: ke,
-        treeIcon: Te,
+        treeIcon: Ne,
         treeLine: me,
-        showArrow: Ne,
+        showArrow: Te,
         switcherIcon: Ee = (P = t.switcherIcon) === null || P === void 0 ? void 0 : P.call(t),
         fieldNames: Le = e.replaceFields,
         id: Pe = r.id.value,
         placeholder: De = (M = t.placeholder) === null || M === void 0 ? void 0 : M.call(t)
       } = e, {
-        isFormItemInput: _e,
-        hasFeedback: Q,
+        isFormItemInput: Ke,
+        hasFeedback: Z,
         feedbackIcon: i
       } = s, {
         suffixIcon: f,
         removeIcon: h,
         clearIcon: x
-      } = Nt(p(p({}, e), {
+      } = Tt(p(p({}, e), {
         multiple: ce.value,
         showArrow: ae.value,
-        hasFeedback: Q,
+        hasFeedback: Z,
         feedbackIcon: i,
         prefixCls: o.value
       }), t);
       let D;
-      J !== void 0 ? D = J : D = u("Select");
-      const E = Ce(e, ["suffixIcon", "itemIcon", "removeIcon", "clearIcon", "switcherIcon", "bordered", "status", "onUpdate:value", "onUpdate:treeExpandedKeys", "onUpdate:searchValue"]), S = Ge(!we && j.value, {
+      Q !== void 0 ? D = Q : D = u("Select");
+      const E = Ce(e, ["suffixIcon", "itemIcon", "removeIcon", "clearIcon", "switcherIcon", "bordered", "status", "onUpdate:value", "onUpdate:treeExpandedKeys", "onUpdate:searchValue"]), S = Ye(!we && j.value, {
         [`${o.value}-lg`]: F.value === "large",
         [`${o.value}-sm`]: F.value === "small",
         [`${o.value}-rtl`]: g.value === "rtl",
         [`${o.value}-borderless`]: !xe,
-        [`${o.value}-in-form-item`]: _e
-      }, Et(o.value, d.value, Q), A.value, a.class, G.value), T = {};
-      return e.treeData === void 0 && t.default && (T.children = Lt(t.default())), ne(re(X(al, z(z(z(z({}, a), E), {}, {
+        [`${o.value}-in-form-item`]: Ke
+      }, Et(o.value, d.value, Z), A.value, a.class, Y.value), N = {};
+      return e.treeData === void 0 && t.default && (N.children = Lt(t.default())), ne(re(G(al, z(z(z(z({}, a), E), {}, {
         disabled: b.value,
         virtual: V.value,
         dropdownMatchSelectWidth: C.value,
         id: Pe,
         fieldNames: Le,
-        ref: Z,
+        ref: J,
         prefixCls: o.value,
         class: S,
         listHeight: Ie,
@@ -1157,8 +1157,8 @@ const Me = We({
         multiple: ke,
         removeIcon: h,
         clearIcon: x,
-        switcherIcon: ($) => Pt(Y.value, Ee, $, t.leafIcon, me),
-        showTreeIcon: Te,
+        switcherIcon: ($) => Pt(X.value, Ee, $, t.leafIcon, me),
+        showTreeIcon: Ne,
         notFoundContent: D,
         getPopupContainer: w == null ? void 0 : w.value,
         treeMotion: null,
@@ -1168,30 +1168,30 @@ const Me = We({
         onBlur: ie,
         onSearch: pe,
         onTreeExpand: he
-      }, T), {}, {
-        transitionName: N.value,
+      }, N), {}, {
+        transitionName: T.value,
         customSlots: p(p({}, t), {
-          treeCheckable: () => X("span", {
+          treeCheckable: () => G("span", {
             class: `${o.value}-tree-checkbox-inner`
           }, null)
         }),
         maxTagPlaceholder: e.maxTagPlaceholder || t.maxTagPlaceholder,
-        placement: _.value,
-        showArrow: Q || Ne,
+        placement: K.value,
+        showArrow: Z || Te,
         placeholder: De
       }), p(p({}, t), {
-        treeCheckable: () => X("span", {
+        treeCheckable: () => G("span", {
           class: `${o.value}-tree-checkbox-inner`
         }, null)
       }))));
     };
   }
-}), Qe = ve, ul = p(Me, {
+}), Ze = ve, ul = p(Me, {
   TreeNode: ve,
   SHOW_ALL: Ut,
   SHOW_PARENT: nt,
   SHOW_CHILD: Ue,
-  install: (e) => (e.component(Me.name, Me), e.component(Qe.displayName, Qe), e)
+  install: (e) => (e.component(Me.name, Me), e.component(Ze.displayName, Ze), e)
 });
 export {
   ul as _

+ 62 - 62
lib/js/index7.js

@@ -1,4 +1,4 @@
-import { d as B, P as c, e as j, av as Se, l as ke, c as G, _ as P, o as fe, K as $e, b_ as xe, i as pe, g as Oe, m as Pe, b as _e, u as De, h as ne, b$ as oe, az as ae, a3 as re, c0 as Ne, c1 as K, c2 as Ie } from "./index2.js";
+import { d as B, P as c, e as j, av as Se, l as ke, c as G, _ as P, o as fe, K as xe, bN as $e, i as pe, g as Oe, m as Pe, b as De, u as _e, h as ne, bO as oe, az as ae, a3 as re, bP as Ne, bQ as K, bR 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,
@@ -99,7 +99,7 @@ const de = q({
       emit: l,
       slots: t
     } = o;
-    const i = O(), S = O(), _ = O(), b = O(), w = O();
+    const i = O(), S = O(), D = O(), b = O(), w = O();
     let m = [];
     `${Number((Date.now() + Math.random()).toString().replace(".", Math.round(Math.random() * 9).toString())).toString(16)}`, me(() => {
       L(() => {
@@ -110,12 +110,12 @@ const de = q({
           showMask: k,
           autofocus: v
         } = e, p = f == null ? void 0 : f();
-        D(e), d && (p && (p.parentNode, document.body), L(() => {
+        _(e), d && (p && (p.parentNode, document.body), L(() => {
           v && h();
         }), k && ((a = e.scrollLocker) === null || a === void 0 || a.lock()));
       });
     }), E(() => e.level, () => {
-      D(e);
+      _(e);
     }, {
       flush: "post"
     }), E(() => e.open, () => {
@@ -144,14 +144,14 @@ const de = q({
     }, y = (a) => {
       l("close", a);
     }, g = (a) => {
-      a.keyCode === $e.ESC && (a.stopPropagation(), y(a));
+      a.keyCode === xe.ESC && (a.stopPropagation(), y(a));
     }, C = () => {
       const {
         open: a,
         afterVisibleChange: d
       } = e;
       d && d(!!a);
-    }, D = (a) => {
+    }, _ = (a) => {
       let {
         level: d,
         getContainer: f
@@ -159,11 +159,11 @@ const de = q({
       if (ze)
         return;
       const k = f == null ? void 0 : f(), v = k ? k.parentNode : null;
-      m = [], d === "all" ? (v ? Array.prototype.slice.call(v.children) : []).forEach(($) => {
-        $.nodeName !== "SCRIPT" && $.nodeName !== "STYLE" && $.nodeName !== "LINK" && $ !== k && m.push($);
+      m = [], d === "all" ? (v ? Array.prototype.slice.call(v.children) : []).forEach((x) => {
+        x.nodeName !== "SCRIPT" && x.nodeName !== "STYLE" && x.nodeName !== "LINK" && x !== k && m.push(x);
       }) : d && Ae(d).forEach((p) => {
-        document.querySelectorAll(p).forEach(($) => {
-          m.push($);
+        document.querySelectorAll(p).forEach((x) => {
+          m.push(x);
         });
       });
     }, M = (a) => {
@@ -180,22 +180,22 @@ const de = q({
         height: k,
         open: v,
         prefixCls: p,
-        placement: $,
+        placement: x,
         level: A,
         levelMove: V,
-        ease: J,
-        duration: Q,
+        ease: Q,
+        duration: J,
         getContainer: Z,
         onChange: ee,
         afterVisibleChange: te,
         showMask: z,
         maskClosable: W,
-        maskStyle: H,
-        keyboard: R,
+        maskStyle: R,
+        keyboard: H,
         getOpenCount: n,
         scrollLocker: r,
         contentWrapperStyle: s,
-        style: x,
+        style: $,
         class: T,
         rootClassName: U,
         rootStyle: X,
@@ -203,24 +203,24 @@ const de = q({
         motion: Y,
         inline: ge
       } = e, be = Fe(e, ["width", "height", "open", "prefixCls", "placement", "level", "levelMove", "ease", "duration", "getContainer", "onChange", "afterVisibleChange", "showMask", "maskClosable", "maskStyle", "keyboard", "getOpenCount", "scrollLocker", "contentWrapperStyle", "style", "class", "rootClassName", "rootStyle", "maskMotion", "motion", "inline"]), F = v && N.value, we = G(p, {
-        [`${p}-${$}`]: !0,
+        [`${p}-${x}`]: !0,
         [`${p}-open`]: F,
         [`${p}-inline`]: ge,
         "no-mask": !z,
         [U]: !0
-      }), Ce = typeof Y == "function" ? Y($) : Y;
+      }), Ce = typeof Y == "function" ? Y(x) : Y;
       return u("div", P(P({}, fe(be, ["autofocus"])), {}, {
         tabindex: -1,
         class: we,
         style: X,
         ref: S,
-        onKeydown: F && R ? g : void 0
+        onKeydown: F && H ? g : void 0
       }), [u(le, he, {
         default: () => [z && ie(u("div", {
           class: `${p}-mask`,
           onClick: W ? y : void 0,
-          style: H,
-          ref: _
+          style: R,
+          ref: D
         }, null), [[se, F]])]
       }), u(le, P(P({}, Ce), {}, {
         onAfterEnter: C,
@@ -232,7 +232,7 @@ const de = q({
           ref: i
         }, [u("div", {
           class: [`${p}-content`, T],
-          style: x,
+          style: $,
           ref: w
         }, [(a = t.default) === null || a === void 0 ? void 0 : a.call(t)]), t.handler ? u("div", {
           onClick: M,
@@ -279,7 +279,7 @@ const Le = q({
     } = o;
     const i = Me(null), S = (b) => {
       l("handleClick", b);
-    }, _ = (b) => {
+    }, D = (b) => {
       l("close", b);
     };
     return () => {
@@ -296,15 +296,15 @@ const Le = q({
           rootClassName: m,
           rootStyle: h,
           open: e.open,
-          onClose: _,
+          onClose: D,
           onHandleClick: S,
           inline: !0
         }), t);
-      const D = !!t.handler || y;
-      return (D || e.open || i.value) && (C = u(xe, {
+      const _ = !!t.handler || y;
+      return (_ || e.open || i.value) && (C = u($e, {
         autoLock: !0,
         visible: e.open,
-        forceRender: D,
+        forceRender: _,
         getContainer: b,
         wrapperClassName: w
       }, {
@@ -320,7 +320,7 @@ const Le = q({
             rootStyle: h,
             open: N !== void 0 ? N : e.open,
             afterVisibleChange: a !== void 0 ? a : e.afterVisibleChange,
-            onClose: _,
+            onClose: D,
             onHandleClick: S
           }), t);
         }
@@ -436,14 +436,14 @@ const Le = q({
       }
     }
   };
-}, He = (e) => {
+}, Re = (e) => {
   const {
     componentCls: o,
     zIndexPopup: l,
     colorBgMask: t,
     colorBgElevated: i,
     motionDurationSlow: S,
-    motionDurationMid: _,
+    motionDurationMid: D,
     padding: b,
     paddingLG: w,
     fontSizeLG: m,
@@ -451,7 +451,7 @@ const Le = q({
     lineWidth: y,
     lineType: g,
     colorSplit: C,
-    marginSM: D,
+    marginSM: _,
     colorIcon: M,
     colorIconHover: N,
     colorText: a,
@@ -566,7 +566,7 @@ const Le = q({
       },
       [`${o}-close`]: {
         display: "inline-block",
-        marginInlineEnd: D,
+        marginInlineEnd: _,
         color: M,
         fontWeight: d,
         fontSize: m,
@@ -579,7 +579,7 @@ const Le = q({
         border: 0,
         outline: 0,
         cursor: "pointer",
-        transition: `color ${_}`,
+        transition: `color ${D}`,
         textRendering: "auto",
         "&:focus, &:hover": {
           color: N,
@@ -614,12 +614,12 @@ const Le = q({
       }
     }
   };
-}, Re = Oe("Drawer", (e) => {
+}, He = Oe("Drawer", (e) => {
   const o = Pe(e, {
     drawerFooterPaddingVertical: e.paddingXS,
     drawerFooterPaddingHorizontal: e.padding
   });
-  return [He(o), We(o)];
+  return [Re(o), We(o)];
 }, (e) => ({
   zIndexPopup: e.zIndexPopupBase
 }));
@@ -737,7 +737,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       slots: t,
       attrs: i
     } = o;
-    const S = O(!1), _ = O(!1), b = O(null), w = O(!1), m = O(!1), h = I(() => {
+    const S = O(!1), D = O(!1), b = O(null), w = O(!1), m = O(!1), h = I(() => {
       var n;
       return (n = e.open) !== null && n !== void 0 ? n : e.visible;
     });
@@ -753,8 +753,8 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
     const y = Te("parentDrawerOpts", null), {
       prefixCls: g,
       getPopupContainer: C,
-      direction: D
-    } = De("drawer", e), [M, N] = Re(g), a = I(() => (
+      direction: _
+    } = _e("drawer", e), [M, N] = He(g), a = I(() => (
       // 有可能为 false,所以不能直接判断
       e.getContainer === void 0 && (C != null && C.value) ? () => C.value(document.body) : e.getContainer
     ));
@@ -786,8 +786,8 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       l("update:visible", !1), l("update:open", !1), l("close", n);
     }, p = (n) => {
       var r;
-      n || (_.value === !1 && (_.value = !0), e.destroyOnClose && (w.value = !1)), (r = e.afterVisibleChange) === null || r === void 0 || r.call(e, n), l("afterVisibleChange", n), l("afterOpenChange", n);
-    }, $ = I(() => {
+      n || (D.value === !1 && (D.value = !0), e.destroyOnClose && (w.value = !1)), (r = e.afterVisibleChange) === null || r === void 0 || r.call(e, n), l("afterVisibleChange", n), l("afterOpenChange", n);
+    }, x = I(() => {
       const {
         push: n,
         placement: r
@@ -800,7 +800,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
     }), V = I(() => {
       var n;
       return (n = e.height) !== null && n !== void 0 ? n : e.size === "large" ? 736 : 378;
-    }), J = I(() => {
+    }), Q = I(() => {
       const {
         mask: n,
         placement: r
@@ -809,54 +809,54 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
         return {};
       const s = {};
       return r === "left" || r === "right" ? s.width = oe(A.value) ? `${A.value}px` : A.value : s.height = oe(V.value) ? `${V.value}px` : V.value, s;
-    }), Q = I(() => {
+    }), J = I(() => {
       const {
         zIndex: n,
         contentWrapperStyle: r
-      } = e, s = J.value;
+      } = e, s = Q.value;
       return [{
         zIndex: n,
-        transform: S.value ? $.value : void 0
+        transform: S.value ? x.value : void 0
       }, B({}, r), s];
     }), Z = (n) => {
       const {
         closable: r,
         headerStyle: s
-      } = e, x = K(t, e, "extra"), T = K(t, e, "title");
+      } = e, $ = K(t, e, "extra"), T = K(t, e, "title");
       return !T && !r ? null : u("div", {
         class: G(`${n}-header`, {
-          [`${n}-header-close-only`]: r && !T && !x
+          [`${n}-header-close-only`]: r && !T && !$
         }),
         style: s
       }, [u("div", {
         class: `${n}-header-title`
       }, [ee(n), T && u("div", {
         class: `${n}-title`
-      }, [T])]), x && u("div", {
+      }, [T])]), $ && u("div", {
         class: `${n}-extra`
-      }, [x])]);
+      }, [$])]);
     }, ee = (n) => {
       var r;
       const {
         closable: s
-      } = e, x = t.closeIcon ? (r = t.closeIcon) === null || r === void 0 ? void 0 : r.call(t) : e.closeIcon;
+      } = e, $ = t.closeIcon ? (r = t.closeIcon) === null || r === void 0 ? void 0 : r.call(t) : e.closeIcon;
       return s && u("button", {
         key: "closer",
         onClick: v,
         "aria-label": "Close",
         class: `${n}-close`
-      }, [x === void 0 ? u(Ie, null, null) : x]);
+      }, [$ === void 0 ? u(Ie, null, null) : $]);
     }, te = (n) => {
       var r;
-      if (_.value && !e.forceRender && !w.value)
+      if (D.value && !e.forceRender && !w.value)
         return null;
       const {
         bodyStyle: s,
-        drawerStyle: x
+        drawerStyle: $
       } = e;
       return u("div", {
         class: `${n}-wrapper-body`,
-        style: x
+        style: $
       }, [Z(n), u("div", {
         key: "body",
         class: `${n}-body`,
@@ -873,14 +873,14 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       }, [r]);
     }, W = I(() => G({
       "no-mask": !e.mask,
-      [`${g.value}-rtl`]: D.value === "rtl"
-    }, e.rootClassName, N.value)), H = I(() => ae(re(g.value, "mask-motion"))), R = (n) => ae(re(g.value, `panel-motion-${n}`));
+      [`${g.value}-rtl`]: _.value === "rtl"
+    }, e.rootClassName, N.value)), R = I(() => ae(re(g.value, "mask-motion"))), H = (n) => ae(re(g.value, `panel-motion-${n}`));
     return () => {
       const {
         width: n,
         height: r,
         placement: s,
-        mask: x,
+        mask: $,
         forceRender: T
       } = e, U = Ue(e, ["width", "height", "placement", "mask", "forceRender"]), X = B(B(B({}, i), fe(U, ["size", "closeIcon", "closable", "destroyOnClose", "drawerStyle", "headerStyle", "bodyStyle", "title", "push", "onAfterVisibleChange", "onClose", "onUpdate:visible", "onUpdate:open", "visible"])), {
         forceRender: T,
@@ -889,20 +889,20 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
         handler: !1,
         prefixCls: g.value,
         open: m.value,
-        showMask: x,
+        showMask: $,
         placement: s,
         ref: b
       });
       return M(u(Ne, null, {
         default: () => [u(Le, P(P({}, X), {}, {
-          maskMotion: H.value,
-          motion: R,
+          maskMotion: R.value,
+          motion: H,
           width: A.value,
           height: V.value,
           getContainer: a.value,
           rootClassName: W.value,
           rootStyle: e.rootStyle,
-          contentWrapperStyle: Q.value
+          contentWrapperStyle: J.value
         }), {
           handler: e.handle ? () => e.handle : t.handle,
           default: () => te(g.value)
@@ -910,7 +910,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       }));
     };
   }
-}), Je = _e(Ke);
+}), Qe = De(Ke);
 export {
-  Je as _
+  Qe as _
 };

+ 96 - 96
lib/js/index8.js

@@ -1,5 +1,5 @@
-import { c3 as et, c as W, _ as V, av as A, D as tt, w as Ae, d as v, K as ie, ax as F, aw as Z, ay as we, g as nt, c4 as at, T as rt, r as Ve, c5 as We, c6 as je, c7 as lt, c8 as it, c9 as ot, ca as st, cb as He, cc as ut, U as dt, V as ct, W as ft, u as pt, X as mt, Y as gt, a5 as Se, o as vt, cd as ht, ce as bt, c0 as Oe, cf as Te, F as St, P as $e } from "./index2.js";
-import { defineComponent as Ee, ref as Ge, onBeforeUnmount as qe, createVNode as b, shallowRef as M, computed as j, watch as ee } from "vue";
+import { bS as et, c as W, _ as V, av as A, D as tt, w as Ae, d as v, K as ie, ax as F, aw as Q, ay as we, g as nt, bT as at, T as rt, r as Ve, bU as We, bV as je, bW as lt, bX as it, bY as ot, bZ as st, b_ as He, b$ as ut, U as dt, V as ct, W as ft, u as pt, X as mt, Y as gt, a5 as Se, o as vt, c0 as ht, c1 as bt, bP as Oe, c2 as Te, F as St, P as $e } from "./index2.js";
+import { defineComponent as Ee, ref as Ge, onBeforeUnmount as Ue, createVNode as b, shallowRef as P, computed as j, watch as ee } from "vue";
 function xe() {
   return typeof BigInt == "function";
 }
@@ -29,9 +29,9 @@ function ne(e) {
     const r = t.match(/\.(\d+)/);
     return r != null && r[1] && (n += r[1].length), n;
   }
-  return t.includes(".") && _e(t) ? t.length - t.indexOf(".") - 1 : 0;
+  return t.includes(".") && De(t) ? t.length - t.indexOf(".") - 1 : 0;
 }
-function De(e) {
+function _e(e) {
   let t = String(e);
   if (Ce(e)) {
     if (e > Number.MAX_SAFE_INTEGER)
@@ -42,7 +42,7 @@ function De(e) {
   }
   return te(t).fullStr;
 }
-function _e(e) {
+function De(e) {
   return typeof e == "number" ? !Number.isNaN(e) : e ? (
     // Normal type: 11.28
     /^\s*-?\d+(\.\d+)?\s*$/.test(e) || // Pre-number: 1.
@@ -50,12 +50,12 @@ function _e(e) {
     /^\s*-?\.\d+\s*$/.test(e)
   ) : !1;
 }
-function Le(e) {
+function qe(e) {
   return !e && e !== 0 && !Number.isNaN(e) || !String(e).trim();
 }
 class z {
   constructor(t) {
-    if (this.origin = "", Le(t)) {
+    if (this.origin = "", qe(t)) {
       this.empty = !0;
       return;
     }
@@ -97,12 +97,12 @@ class z {
     return this.number;
   }
   toString() {
-    return (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0) ? this.isInvalidate() ? "" : De(this.number) : this.origin;
+    return (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0) ? this.isInvalidate() ? "" : _e(this.number) : this.origin;
   }
 }
-class U {
+class L {
   constructor(t) {
-    if (this.origin = "", Le(t)) {
+    if (this.origin = "", qe(t)) {
       this.empty = !0;
       return;
     }
@@ -111,7 +111,7 @@ class U {
       return;
     }
     let n = t;
-    if (Ce(n) && (n = Number(n)), n = typeof n == "string" ? n : De(n), _e(n)) {
+    if (Ce(n) && (n = Number(n)), n = typeof n == "string" ? n : _e(n), De(n)) {
       const r = te(n);
       this.negative = r.negative;
       const o = r.trimStr.split(".");
@@ -139,20 +139,20 @@ class U {
     return BigInt(n);
   }
   negate() {
-    const t = new U(this.toString());
+    const t = new L(this.toString());
     return t.negative = !t.negative, t;
   }
   add(t) {
     if (this.isInvalidate())
-      return new U(t);
-    const n = new U(t);
+      return new L(t);
+    const n = new L(t);
     if (n.isInvalidate())
       return this;
     const r = Math.max(this.getDecimalStr().length, n.getDecimalStr().length), o = this.alignDecimal(r), l = n.alignDecimal(r), d = (o + l).toString(), {
       negativeStr: c,
       trimStr: f
     } = te(d), p = `${c}${f.padStart(r + 1, "0")}`;
-    return new U(`${p.slice(0, -r)}.${p.slice(-r)}`);
+    return new L(`${p.slice(0, -r)}.${p.slice(-r)}`);
   }
   isEmpty() {
     return this.empty;
@@ -176,8 +176,8 @@ class U {
     return (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0) ? this.isInvalidate() ? "" : te(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr : this.origin;
   }
 }
-function _(e) {
-  return xe() ? new U(e) : new z(e);
+function D(e) {
+  return xe() ? new L(e) : new z(e);
 }
 function Ie(e, t, n) {
   let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
@@ -191,7 +191,7 @@ function Ie(e, t, n) {
   if (n >= 0) {
     const p = Number(d[n]);
     if (p >= 5 && !r) {
-      const s = _(e).add(`${o}0.${"0".repeat(n)}${10 - p}`);
+      const s = D(e).add(`${o}0.${"0".repeat(n)}${10 - p}`);
       return Ie(s.toString(), t, n, r);
     }
     return n === 0 ? f : `${f}${t}${d.padEnd(n, "0").slice(0, n)}`;
@@ -225,7 +225,7 @@ const $t = 200, Nt = 600, yt = Ee({
     }, d = () => {
       clearTimeout(o.value);
     };
-    return qe(() => {
+    return Ue(() => {
       d();
     }), () => {
       if (et())
@@ -250,8 +250,8 @@ const $t = 200, Nt = 600, yt = Ee({
       return b("div", {
         class: `${s}-wrap`
       }, [b("span", V(V({}, I), {}, {
-        onMousedown: (P) => {
-          l(P, !0);
+        onMousedown: (M) => {
+          l(M, !0);
         },
         "aria-label": "Increase Value",
         "aria-disabled": f,
@@ -260,8 +260,8 @@ const $t = 200, Nt = 600, yt = Ee({
         unselectable: "on",
         class: `${c}-handler-up-inner`
       }, null)]), b("span", V(V({}, I), {}, {
-        onMousedown: (P) => {
-          l(P, !1);
+        onMousedown: (M) => {
+          l(M, !1);
         },
         "aria-label": "Decrease Value",
         "aria-disabled": p,
@@ -319,10 +319,10 @@ function wt(e, t) {
   return [r, o];
 }
 const xt = () => {
-  const e = M(0), t = () => {
+  const e = P(0), t = () => {
     Ae.cancel(e.value);
   };
-  return qe(() => {
+  return Ue(() => {
     t();
   }), (n) => {
     t(), e.value = Ae(() => {
@@ -338,17 +338,17 @@ var It = function(e, t) {
   return n;
 };
 const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) => {
-  const t = _(e);
+  const t = D(e);
   return t.isInvalidate() ? null : t;
-}, Ue = () => ({
+}, Le = () => ({
   /** value will show as string */
   stringMode: F(),
-  defaultValue: Z([String, Number]),
-  value: Z([String, Number]),
+  defaultValue: Q([String, Number]),
+  value: Q([String, Number]),
   prefixCls: we(),
-  min: Z([String, Number]),
-  max: Z([String, Number]),
-  step: Z([String, Number], 1),
+  min: Q([String, Number]),
+  max: Q([String, Number]),
+  step: Q([String, Number], 1),
   tabindex: Number,
   controls: F(!0),
   readonly: F(),
@@ -375,7 +375,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
   },
   name: "InnerInputNumber",
   inheritAttrs: !1,
-  props: v(v({}, Ue()), {
+  props: v(v({}, Le()), {
     lazy: Boolean
   }),
   slots: Object,
@@ -386,7 +386,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
       emit: o,
       expose: l
     } = t;
-    const d = M(), c = M(!1), f = M(!1), p = M(!1), s = M(_(e.value));
+    const d = P(), c = P(!1), f = P(!1), p = P(!1), s = P(D(e.value));
     function w(a) {
       e.value === void 0 && (s.value = a);
     }
@@ -399,26 +399,26 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         return e.parser(i);
       let u = i;
       return e.decimalSeparator && (u = u.replace(e.decimalSeparator, ".")), u.replace(/[^\w.-]+/g, "");
-    }, $ = M(""), E = (a, i) => {
+    }, $ = P(""), E = (a, i) => {
       if (e.formatter)
         return e.formatter(a, {
           userTyping: i,
           input: String($.value)
         });
-      let u = typeof a == "number" ? De(a) : a;
+      let u = typeof a == "number" ? _e(a) : a;
       if (!i) {
         const m = S(u, i);
-        if (_e(u) && (e.decimalSeparator || m >= 0)) {
+        if (De(u) && (e.decimalSeparator || m >= 0)) {
           const y = e.decimalSeparator || ".";
           u = Ie(u, y, m);
         }
       }
       return u;
-    }, P = (() => {
+    }, M = (() => {
       const a = e.value;
       return s.value.isInvalidate() && ["string", "number"].includes(typeof a) ? Number.isNaN(a) ? "" : a : E(s.value.toString(), !1);
     })();
-    $.value = P;
+    $.value = M;
     function C(a, i) {
       $.value = E(
         // Invalidate number is sometime passed by external control, we should let it go
@@ -428,44 +428,44 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         i
       );
     }
-    const D = j(() => Fe(e.max)), N = j(() => Fe(e.min)), x = j(() => !D.value || !s.value || s.value.isInvalidate() ? !1 : D.value.lessEquals(s.value)), O = j(() => !N.value || !s.value || s.value.isInvalidate() ? !1 : s.value.lessEquals(N.value)), [k, K] = wt(d, c), X = (a) => D.value && !a.lessEquals(D.value) ? D.value : N.value && !N.value.lessEquals(a) ? N.value : null, oe = (a) => !X(a), Y = (a, i) => {
+    const _ = j(() => Fe(e.max)), N = j(() => Fe(e.min)), x = j(() => !_.value || !s.value || s.value.isInvalidate() ? !1 : _.value.lessEquals(s.value)), O = j(() => !N.value || !s.value || s.value.isInvalidate() ? !1 : s.value.lessEquals(N.value)), [k, K] = wt(d, c), X = (a) => _.value && !a.lessEquals(_.value) ? _.value : N.value && !N.value.lessEquals(a) ? N.value : null, oe = (a) => !X(a), Y = (a, i) => {
       var u;
       let m = a, y = oe(m) || m.isEmpty();
       if (!m.isEmpty() && !i && (m = X(m) || m, y = !0), !e.readonly && !e.disabled && y) {
-        const R = m.toString(), q = S(R, i);
-        return q >= 0 && (m = _(Ie(R, ".", q))), m.equals(s.value) || (w(m), (u = e.onChange) === null || u === void 0 || u.call(e, m.isEmpty() ? null : Be(e.stringMode, m)), e.value === void 0 && C(m, i)), m;
+        const R = m.toString(), U = S(R, i);
+        return U >= 0 && (m = D(Ie(R, ".", U))), m.equals(s.value) || (w(m), (u = e.onChange) === null || u === void 0 || u.call(e, m.isEmpty() ? null : Be(e.stringMode, m)), e.value === void 0 && C(m, i)), m;
       }
       return s.value;
-    }, se = xt(), J = (a) => {
+    }, se = xt(), Z = (a) => {
       var i;
       if (k(), $.value = a, !p.value) {
-        const u = I(a), m = _(u);
+        const u = I(a), m = D(u);
         m.isNaN() || Y(m, !0);
       }
       (i = e.onInput) === null || i === void 0 || i.call(e, a), se(() => {
         let u = a;
-        e.parser || (u = a.replace(/。/g, ".")), u !== a && J(u);
+        e.parser || (u = a.replace(/。/g, ".")), u !== a && Z(u);
       });
     }, h = () => {
       p.value = !0;
-    }, Q = () => {
-      p.value = !1, J(d.value.value);
+    }, J = () => {
+      p.value = !1, Z(d.value.value);
     }, H = (a) => {
-      J(a.target.value);
+      Z(a.target.value);
     }, G = (a) => {
       var i, u;
       if (a && x.value || !a && O.value)
         return;
       f.value = !1;
-      let m = _(e.step);
+      let m = D(e.step);
       a || (m = m.negate());
-      const y = (s.value || _(0)).add(m.toString()), R = Y(y, !1);
+      const y = (s.value || D(0)).add(m.toString()), R = Y(y, !1);
       (i = e.onStep) === null || i === void 0 || i.call(e, Be(e.stringMode, R), {
         offset: e.step,
         type: a ? "up" : "down"
       }), (u = d.value) === null || u === void 0 || u.focus();
     }, T = (a) => {
-      const i = _(I($.value));
+      const i = D(I($.value));
       let u = i;
       i.isNaN() ? u = s.value : u = Y(i, a), e.value !== void 0 ? C(s.value, !1) : u.isNaN() || C(u, !1);
     }, ue = () => {
@@ -486,9 +486,9 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
     }, {
       flush: "post"
     }), ee(() => e.value, () => {
-      const a = _(e.value);
+      const a = D(e.value);
       s.value = a;
-      const i = _(I($.value));
+      const i = D(I($.value));
       (!a.equals(i) || !f.value || e.formatter) && C(a, f.value);
     }, {
       flush: "post"
@@ -514,7 +514,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         max: m,
         step: y = 1,
         defaultValue: R,
-        value: q,
+        value: U,
         disabled: re,
         readonly: le,
         keyboard: g,
@@ -522,19 +522,19 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         autofocus: B,
         stringMode: pe,
         parser: me,
-        formatter: L,
+        formatter: q,
         precision: ge,
         decimalSeparator: ve,
         onChange: he,
-        onInput: Me,
-        onPressEnter: Pe,
+        onInput: Pe,
+        onPressEnter: Me,
         onStep: Rt,
         lazy: ke,
         class: Ke,
         style: Xe
       } = a, Ye = It(a, ["prefixCls", "min", "max", "step", "defaultValue", "value", "disabled", "readonly", "keyboard", "controls", "autofocus", "stringMode", "parser", "formatter", "precision", "decimalSeparator", "onChange", "onInput", "onPressEnter", "onStep", "lazy", "class", "style"]), {
-        upHandler: Je,
-        downHandler: Qe
+        upHandler: Ze,
+        downHandler: Je
       } = r, Re = `${i}-input`, be = {};
       return ke ? be.onChange = H : be.onInput = H, b("div", {
         class: W(i, Ke, {
@@ -553,8 +553,8 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         downDisabled: O.value,
         onStep: G
       }, {
-        upNode: Je,
-        downNode: Qe
+        upNode: Ze,
+        downNode: Je
       }), b("div", {
         class: `${Re}-wrap`
       }, [b("input", V(V(V({
@@ -571,13 +571,13 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         value: $.value,
         disabled: re,
         readonly: le,
-        onFocus: (Ze) => {
-          c.value = !0, o("focus", Ze);
+        onFocus: (Qe) => {
+          c.value = !0, o("focus", Qe);
         }
       }, be), {}, {
         onBlur: ae,
         onCompositionstart: h,
-        onCompositionend: Q,
+        onCompositionend: J,
         onBeforeinput: ue
       }), null)])]);
     };
@@ -603,9 +603,9 @@ const Ct = (e) => {
     colorPrimary: I,
     controlHeight: $,
     inputPaddingHorizontal: E,
-    colorBgContainer: P,
+    colorBgContainer: M,
     colorTextDisabled: C,
-    borderRadiusSM: D,
+    borderRadiusSM: _,
     borderRadiusLG: N,
     controlWidth: x,
     handleVisible: O
@@ -635,7 +635,7 @@ const Ct = (e) => {
         },
         "&-sm": {
           padding: 0,
-          borderRadius: D,
+          borderRadius: _,
           [`input${t}-input`]: {
             height: f - 2 * n,
             padding: `0 ${s}px`
@@ -671,7 +671,7 @@ const Ct = (e) => {
             },
             "&-sm": {
               [`${t}-group-addon`]: {
-                borderRadius: D
+                borderRadius: _
               }
             }
           }
@@ -714,7 +714,7 @@ const Ct = (e) => {
           insetInlineEnd: 0,
           width: e.handleWidth,
           height: "100%",
-          background: P,
+          background: M,
           borderStartStartRadius: 0,
           borderStartEndRadius: l,
           borderEndEndRadius: l,
@@ -812,7 +812,7 @@ const Ct = (e) => {
       }
     }
   ];
-}, Dt = (e) => {
+}, _t = (e) => {
   const {
     componentCls: t,
     inputPaddingHorizontal: n,
@@ -887,11 +887,11 @@ const Ct = (e) => {
       }
     })
   };
-}, _t = nt("InputNumber", (e) => {
+}, Dt = nt("InputNumber", (e) => {
   const t = at(e);
   return [
     Ct(t),
-    Dt(t),
+    _t(t),
     // =====================================================
     // ==             Space Compact                       ==
     // =====================================================
@@ -903,14 +903,14 @@ const Ct = (e) => {
   handleFontSize: e.fontSize / 2,
   handleVisible: "auto"
 }));
-var Mt = function(e, t) {
+var Pt = function(e, t) {
   var n = {};
   for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
   if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
     t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
   return n;
 };
-const ze = Ue(), Pt = () => v(v({}, ze), {
+const ze = Le(), Mt = () => v(v({}, ze), {
   size: we(),
   bordered: F(!0),
   placeholder: String,
@@ -929,7 +929,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
   },
   name: "AInputNumber",
   inheritAttrs: !1,
-  props: Pt(),
+  props: Mt(),
   // emits: ['focus', 'blur', 'change', 'input', 'update:value'],
   slots: Object,
   setup(e, t) {
@@ -948,14 +948,14 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
     } = pt("input-number", e), {
       compactSize: $,
       compactItemClassnames: E
-    } = mt(s, S), P = gt(), C = j(() => {
+    } = mt(s, S), M = gt(), C = j(() => {
       var h;
-      return (h = I.value) !== null && h !== void 0 ? h : P.value;
-    }), [D, N] = _t(s), x = j(() => $.value || w.value), O = M((d = e.value) !== null && d !== void 0 ? d : e.defaultValue), k = M(!1);
+      return (h = I.value) !== null && h !== void 0 ? h : M.value;
+    }), [_, N] = Dt(s), x = j(() => $.value || w.value), O = P((d = e.value) !== null && d !== void 0 ? d : e.defaultValue), k = P(!1);
     ee(() => e.value, () => {
       O.value = e.value;
     });
-    const K = M(null), X = () => {
+    const K = P(null), X = () => {
       var h;
       (h = K.value) === null || h === void 0 || h.focus();
     };
@@ -970,11 +970,11 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
       e.value === void 0 && (O.value = h), n("update:value", h), n("change", h), c.onFieldChange();
     }, se = (h) => {
       k.value = !1, n("blur", h), c.onFieldBlur();
-    }, J = (h) => {
+    }, Z = (h) => {
       k.value = !0, n("focus", h);
     };
     return () => {
-      var h, Q, H, G;
+      var h, J, H, G;
       const {
         hasFeedback: T,
         isFormItemInput: ue,
@@ -987,11 +987,11 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
         bordered: i,
         readonly: u,
         style: m,
-        addonBefore: y = (Q = l.addonBefore) === null || Q === void 0 ? void 0 : Q.call(l),
+        addonBefore: y = (J = l.addonBefore) === null || J === void 0 ? void 0 : J.call(l),
         addonAfter: R = (H = l.addonAfter) === null || H === void 0 ? void 0 : H.call(l),
-        prefix: q = (G = l.prefix) === null || G === void 0 ? void 0 : G.call(l),
+        prefix: U = (G = l.prefix) === null || G === void 0 ? void 0 : G.call(l),
         valueModifiers: re = {}
-      } = ae, le = Mt(ae, ["class", "bordered", "readonly", "style", "addonBefore", "addonAfter", "prefix", "valueModifiers"]), g = s.value, fe = W({
+      } = ae, le = Pt(ae, ["class", "bordered", "readonly", "style", "addonBefore", "addonAfter", "prefix", "valueModifiers"]), g = s.value, fe = W({
         [`${g}-lg`]: x.value === "large",
         [`${g}-sm`]: x.value === "small",
         [`${g}-rtl`]: S.value === "rtl",
@@ -1008,7 +1008,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
         readonly: u,
         onChange: Y,
         onBlur: se,
-        onFocus: J
+        onFocus: Z
       }), {
         upHandler: l.upIcon ? () => b("span", {
           class: `${g}-handler-up-inner`
@@ -1021,9 +1021,9 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
           class: `${g}-handler-down-inner`
         }, null)
       });
-      const pe = Ne(y) || Ne(R), me = Ne(q);
+      const pe = Ne(y) || Ne(R), me = Ne(U);
       if (me || T) {
-        const L = W(`${g}-affix-wrapper`, Se(`${g}-affix-wrapper`, p.value, T), {
+        const q = W(`${g}-affix-wrapper`, Se(`${g}-affix-wrapper`, p.value, T), {
           [`${g}-affix-wrapper-focused`]: k.value,
           [`${g}-affix-wrapper-disabled`]: C.value,
           [`${g}-affix-wrapper-sm`]: x.value === "small",
@@ -1035,32 +1035,32 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
           [`${a}`]: !pe && a
         }, N.value);
         B = b("div", {
-          class: L,
+          class: q,
           style: m,
           onClick: X
         }, [me && b("span", {
           class: `${g}-prefix`
-        }, [q]), B, T && b("span", {
+        }, [U]), B, T && b("span", {
           class: `${g}-suffix`
         }, [de])]);
       }
       if (pe) {
-        const L = `${g}-group`, ge = `${L}-addon`, ve = y ? b("div", {
+        const q = `${g}-group`, ge = `${q}-addon`, ve = y ? b("div", {
           class: ge
         }, [y]) : null, he = R ? b("div", {
           class: ge
-        }, [R]) : null, Me = W(`${g}-wrapper`, L, {
-          [`${L}-rtl`]: S.value === "rtl"
-        }, N.value), Pe = W(`${g}-group-wrapper`, {
+        }, [R]) : null, Pe = W(`${g}-wrapper`, q, {
+          [`${q}-rtl`]: S.value === "rtl"
+        }, N.value), Me = W(`${g}-group-wrapper`, {
           [`${g}-group-wrapper-sm`]: x.value === "small",
           [`${g}-group-wrapper-lg`]: x.value === "large",
           [`${g}-group-wrapper-rtl`]: S.value === "rtl"
         }, Se(`${s}-group-wrapper`, p.value, T), a, N.value);
         B = b("div", {
-          class: Pe,
+          class: Me,
           style: m
         }, [b("div", {
-          class: Me
+          class: Pe
         }, [ve && b(Oe, null, {
           default: () => [b(Te, null, {
             default: () => [ve]
@@ -1071,7 +1071,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
           })]
         })])]);
       }
-      return D(St(B, {
+      return _(St(B, {
         style: m
       }));
     };

+ 1 - 1
lib/js/login.js

@@ -14,7 +14,7 @@ var oA = (A, e, w) => new Promise((B, g) => {
   }, P = (Y) => Y.done ? B(Y.value) : Promise.resolve(Y.value).then(r, x);
   P((w = w.apply(A, e)).next());
 });
-import { g as Hw, m as Lw, d as MA, r as Ow, u as xw, _ as mA, i as VB, ax as Zw, dd as pA, f as bw, av as lw, aw as FB, o as Gw, cg as k, de as dw, ch as aw, n as XA, df as oB, dg as NB, dh as uw, di as yw, ad as Xw, dj as jw, dk as Vw, dl as Fw, I as ow, d8 as Nw, B as mw, a6 as Jw, a7 as kw, ao as Kw, dm as Ew, dn as Iw } from "./index2.js";
+import { g as Hw, m as Lw, d as MA, r as Ow, u as xw, _ as mA, i as VB, ax as Zw, dd as pA, f as bw, av as lw, aw as FB, o as Gw, c3 as k, de as dw, c4 as aw, n as XA, df as oB, dg as NB, dh as uw, di as yw, ad as Xw, dj as jw, dk as Vw, dl as Fw, I as ow, d8 as Nw, B as mw, a6 as Jw, a7 as kw, ao as Kw, dm as Ew, dn as Iw } from "./index2.js";
 import { createVNode as m, defineComponent as mB, ref as ig, onMounted as pw, onUpdated as Tw, onBeforeUnmount as Sw, openBlock as N, createElementBlock as I, normalizeStyle as sA, createElementVNode as F, withDirectives as ug, vShow as yg, Transition as Uw, withCtx as S, normalizeClass as yA, toDisplayString as R, createCommentVNode as _, Fragment as JB, renderList as kB, createTextVNode as WA, createBlock as CA, resolveDynamicComponent as KB, resolveComponent as Gg, withModifiers as dA } from "vue";
 import { F as iw, _ as qw } from "./index4.js";
 import { T as hw, _ as Rw } from "./index11.js";

ファイルの差分が大きいため隠しています
+ 56 - 56
lib/js/workplace.js


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません