diry 2 semanas atrás
pai
commit
efb2768e1b

+ 29 - 1
docs/sapit-ui-base-guide.en.md

@@ -132,7 +132,7 @@ The height chain of `BasicLayout` (**business layout components must match it**,
 | `/workplace/index`                         | Default home (`VITE_APP_DEFAULT_PATH`, overridable)                                  |
 | `/workbench/index`, `/message/index`       | Workbench / messages                                                                 |
 | `/docs`, `/components`                     | Built-in docs / component pages (`public` = no login, `hidden` = not in the menu)    |
-| `/404`, `/403`, `/500`, `/:pathMatch(.*)*` | Error pages; the catch-all renders 404 (**no redirect**, so refreshing dynamic routes never lands on a 404) |
+| `/404`, `/403`, `/500`, `/:pathMatch(.*)*` | Error pages; the catch-all renders 404 (**no redirect**, so refreshing dynamic routes never lands on a 404). All four sit under `BasicLayout` and swap **only the content-area `router-view`**, keeping the sidebar and header untouched |
 
 **Static routes** (`staticRoutes`, independent of backend menus): see 5.4. The base ships `/docs` and `/components`.
 
@@ -217,6 +217,25 @@ How it takes effect:
 1. **antd**: `a-config-provider` tokens (`colorPrimary`/`colorLink`).
 2. **CSS variables**: on startup the selected theme is written to `:root` as `--s-color`, `--s-light-color`, `--s-dark-color`, `--s-border-color`, `--s-bg-color`; the utility classes `.s-theme-bg`, `.s-theme-color`, `.s-theme-border`, `.s-theme-border-top`, `.s-theme-icon-bg` are built in.
 3. **body class**: `theme-<VITE_APP_THEME_VALUE>` (e.g. `theme-blue`).
+4. **Menu palette**: on startup the whole menu palette (top-level background / submenu background / hover / selected / text) is derived from the primary color and **emitted as solid `#rrggbb` only — no alpha**. It is written to `:root` as `--s-menu-bg`, `--s-menu-sub-bg`, `--s-menu-text`, `--s-menu-text-hover`, `--s-menu-text-active`, `--s-menu-hover-bg`, `--s-menu-active-bg`, `--s-menu-active-text`, plus `window.$menuTheme` (carrying the antd `Menu` tokens and an `isLightBg` flag).
+
+The menu is **light by default**: the primary hue is kept, saturation capped at 30% and lightness set to 93% — the `blue` theme yields `#e8ecf3`. All four backgrounds come from one source, so tuning a single parameter changes the entire menu instead of leaving submenu/selected items dark.
+
+| Config | Default | Description |
+|---|---|---|
+| `VITE_APP_MENU_THEME` | `dark` | Menu appearance; text color still follows the actual background luminance |
+| `VITE_APP_MENU_BG` | `theme` | `theme` follows the primary color / `dark` = `#001529` / `#RRGGBB` custom |
+| `VITE_APP_MENU_BG_LIGHTNESS` | `93` | Background lightness 0-100: higher is lighter |
+| `VITE_APP_MENU_BG_SATURATION` | `30` | Max saturation 0-100: lower is closer to grey |
+| `VITE_APP_MENU_BG_ACTIVE_MIX` | `16` | Share of the primary color in the selected item background, 0-100 |
+
+```js
+// business web-config.js / deployed config.json
+VITE_APP_MENU_BG_LIGHTNESS: 88, // raise for a lighter menu, 100 is near white
+VITE_APP_MENU_BG_SATURATION: 20, // lower for a greyer menu
+```
+
+> Below 50% lightness the palette flips to "dark background + light text" automatically, with a WCAG contrast ratio solved to stay >= 4.6 — no manual text tuning needed. The side menu, the top menu (`VITE_APP_MENU_BAR: 'top'`), the logo variant and the header text color all share this single decision.
 
 ```css
 .my-box {
@@ -772,6 +791,10 @@ Common switches (the business may override them; checks use `!== false`, so an u
 | `VITE_APP_LANG_ENABLE`     | `false`                         | Whether internationalization is enabled                                        |
 | `VITE_APP_MENU_BAR`        | `left`                          | Menu layout: `left` / `top`                                                    |
 | `VITE_APP_MENU_THEME`      | `dark`                          | Menu theme: `dark` / `light`                                                   |
+| `VITE_APP_MENU_BG`         | `theme`                         | Menu background: `theme` follows the primary color / `dark` = `#001529` / `#RRGGBB` custom |
+| `VITE_APP_MENU_BG_LIGHTNESS` | `93`                          | Background lightness 0-100: higher is lighter |
+| `VITE_APP_MENU_BG_SATURATION` | `30`                         | Max saturation of the menu palette 0-100 |
+| `VITE_APP_MENU_BG_ACTIVE_MIX` | `16`                         | Share of the primary color in the selected background 0-100 |
 
 How the top-right message badge counts: on entering the system it calls `message/center/counts` for `totalCount`, and afterwards every `wsEvent` pushed over the socket triggers a refetch. The socket connection is a singleton (`packages/utils/message-socket.js`) that emits `sendUserId` with the user id once connected, and the backend pushes per user. The business registers nothing extra — just point `VITE_APP_SOCKET_URL` / `VITE_APP_SOCKET_PATH` at the message service.
 
@@ -990,6 +1013,11 @@ The `dependencies` of `sapit-ui-plus` are installed into the business `node_modu
 16. **An `a-select` placeholder only shows when the value is `undefined`/`null`**; an empty string `''` counts as an existing value. Initialize every dropdown-like field (search parameters, form fields) to `undefined` and **never `''`** (multi-select binding to `[]` is fine).
 17. **Time range parameters are always millisecond timestamps** (`dayjs(x).valueOf()`), not unix seconds. Basis: the reference `DateRange` onChange emits `date.map(o => dayjs(o).valueOf())` and `useFormValues.fieldMapToTime` passes values through by default (`format=''`).
 18. **Do not add `catch` to API requests** (errors are reported by the global interceptor). Three kinds of catch must stay: ① the form validation chain `.catch(() => {})`; ② `try { await validate() } catch { return }`; ③ tolerant `JSON.parse`.
+19. **API failures navigate to the built-in error pages**: HTTP 403 (301 included) → `/403`, 404 → `/404`, swapped **inside the content-area `router-view`** (sidebar and header stay, the shell is never replaced) with no notification stacked on top. The URL carries `?api=<endpoint>&status=<original status>`, so the page switches to the API wording (403 "no permission for this API", 301 "API endpoint moved", 404 "API not found") and shows the endpoint; without `?api=` it stays on the page wording (no page permission / page not found). **5xx does not navigate** — it keeps the normal notification (`/500` stays available by direct URL). Background polling and other auxiliary requests can pass `{ skipErrorPage: true }` to keep the current page:
+
+    ```js
+    this.$utils.http.post('/api/msg/count', {}, { skipErrorPage: true })
+    ```
 
 ---
 

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

@@ -130,7 +130,7 @@ sapit-ui-framework/
 | `/workplace/index`                         | 默认首页(`VITE_APP_DEFAULT_PATH`,可被覆盖)                       |
 | `/workbench/index`、`/message/index`       | 工作台 / 消息                                                       |
 | `/docs`、`/components`                     | 内置文档 / 组件页(`public` 免登录、`hidden` 不进菜单)             |
-| `/404`、`/403`、`/500`、`/:pathMatch(.*)*` | 错误页;通配渲染 404(**不用 redirect**,保证刷新动态路由不掉 404) |
+| `/404`、`/403`、`/500`、`/:pathMatch(.*)*` | 错误页;通配渲染 404(**不用 redirect**,保证刷新动态路由不掉 404)。四者都挂在 `BasicLayout` 下,**只在内容区 `router-view` 内切换**,侧边菜单与顶栏保持不变 |
 
 **静态路由**(`staticRoutes`,不依赖后端菜单):见 5.4。基座内置 `/docs`、`/components`。
 
@@ -219,6 +219,25 @@ const { $l } = useI18n('user')  // 显式
 1. **antd**:`a-config-provider` token(`colorPrimary`/`colorLink`)。
 2. **CSS 变量**:启动时把选中主题写入 `:root`:`--s-color`、`--s-light-color`、`--s-dark-color`、`--s-border-color`、`--s-bg-color`;并内置工具类 `.s-theme-bg`、`.s-theme-color`、`.s-theme-border`、`.s-theme-border-top`、`.s-theme-icon-bg`。
 3. **body 类**:`theme-<VITE_APP_THEME_VALUE>`(如 `theme-blue`)。
+4. **菜单配色**:启动时按当前主题色推导整套菜单色(一级底 / 子菜单底 / hover / 选中 / 文字),**全部输出实色 `#rrggbb`,不含透明度**,写入 `:root` 的 `--s-menu-bg`、`--s-menu-sub-bg`、`--s-menu-text`、`--s-menu-text-hover`、`--s-menu-text-active`、`--s-menu-hover-bg`、`--s-menu-active-bg`、`--s-menu-active-text`,同时写入 `window.$menuTheme`(含 antd `Menu` token,`isLightBg` 标记实际明暗)。
+
+菜单默认是**浅色系**:取主题色的色相、饱和度压到 30% 以内、亮度取 93%,blue 主题一级底为 `#e8ecf3`。四处底色由同一个来源算出,改一个参数整套一起变,不会出现「主底浅了、子菜单和选中还是黑」。
+
+| 配置 | 默认 | 说明 |
+|---|---|---|
+| `VITE_APP_MENU_THEME` | `dark` | 菜单外观模式;`dark` 下也按实际底色明暗自动切文字色 |
+| `VITE_APP_MENU_BG` | `theme` | `theme` 跟随主题色 / `dark` 用 antd `#001529` / `#RRGGBB` 自定义 |
+| `VITE_APP_MENU_BG_LIGHTNESS` | `93` | 菜单底亮度 0-100:越大越白,越小越深 |
+| `VITE_APP_MENU_BG_SATURATION` | `30` | 饱和度上限 0-100:越小越接近灰白 |
+| `VITE_APP_MENU_BG_ACTIVE_MIX` | `16` | 选中块里主题色的占比 0-100:越大越蓝 |
+
+```js
+// 业务 web-config.js / 部署目录 config.json
+VITE_APP_MENU_BG_LIGHTNESS: 88, // 想要更浅就往上调,100 接近纯白
+VITE_APP_MENU_BG_SATURATION: 20, // 想要更灰就往下调
+```
+
+> 底色亮度降到 50 以下会自动切换成「深色底 + 浅色文字」体系,文字与底色的对比度按 WCAG 反解保证 ≥ 4.6,不用手工调文字色。侧边菜单、顶部菜单(`VITE_APP_MENU_BAR: 'top'`)、logo 明暗、顶栏文字色共用这一套判断。
 
 ```css
 .my-box {
@@ -776,6 +795,10 @@ npm run lint
 | `VITE_APP_LANG_ENABLE`     | `false`                         | 是否启用国际化                                                                |
 | `VITE_APP_MENU_BAR`        | `left`                          | 菜单布局:`left` / `top`                                                      |
 | `VITE_APP_MENU_THEME`      | `dark`                          | 菜单主题:`dark` / `light`                                                    |
+| `VITE_APP_MENU_BG`         | `theme`                         | 菜单底色:`theme` 跟随主题色 / `dark` 用 `#001529` / `#RRGGBB` 自定义         |
+| `VITE_APP_MENU_BG_LIGHTNESS` | `93`                          | 菜单底亮度 0-100:越大越白                                                    |
+| `VITE_APP_MENU_BG_SATURATION` | `30`                         | 菜单配色饱和度上限 0-100                                                      |
+| `VITE_APP_MENU_BG_ACTIVE_MIX` | `16`                         | 选中块里主题色的占比 0-100                                                    |
 
 右上角消息铃铛的数量逻辑:进入系统先调 `message/center/counts` 取 `totalCount`,之后由 socket 推送的 `wsEvent` 触发重新拉取。socket 连接为单例(`packages/utils/message-socket.js`),连上后 `emit('sendUserId', userId)`,后端按用户推送。业务侧无需额外注册,只要 `VITE_APP_SOCKET_URL` / `VITE_APP_SOCKET_PATH` 配到消息服务即可。
 
@@ -994,6 +1017,11 @@ location = /monitor/config.json {
 16. **`a-select` 的 placeholder 只在值为 `undefined`/`null` 时显示**,空字符串 `''` 会被视为已有值。所有下拉类字段(搜索参数、表单字段)初始值一律 `undefined`,**禁用 `''`**(多选绑定 `[]` 正常)。
 17. **时间范围参数统一传毫秒时间戳**(`dayjs(x).valueOf()`),不是 unix 秒。依据:源码 `DateRange` 的 onChange 输出 `date.map(o => dayjs(o).valueOf())`,`useFormValues.fieldMapToTime` 默认 `format=''` 原样透传。
 18. **接口请求不写 `catch`**(错误由全局拦截器统一提示)。但三类 catch 必须保留:① 表单校验链 `.catch(() => {})`;② `try { await validate() } catch { return }`;③ `JSON.parse` 解析容错。
+19. **接口报错会跳内置错误页**:HTTP 403(含 301)→ `/403`、404 → `/404`,**在内容区 `router-view` 内切换**(保留侧边菜单与顶栏,不整页顶掉外壳),且不再叠加通知。跳转 URL 带 `?api=<接口地址>&status=<原始状态码>`,错误页据此切换成接口口径文案(403「接口无权限」、301「接口地址已变更」、404「接口不存在」)并显示接口地址;不带 `?api=` 时仍是页面口径(页面无权限 / 页面不存在)。**5xx 不跳错误页**,仍走原来的通知提示(`/500` 页面保留,可直接访问)。后台轮询等非主流程请求若要保住当前页面,可传 `{ skipErrorPage: true }` 跳过跳转:
+
+    ```js
+    this.$utils.http.post('/api/msg/count', {}, { skipErrorPage: true })
+    ```
 
 ---
 

+ 1 - 1
lib/config.json

@@ -1 +1 @@
-{"_hash":1793333239725,"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":false,"VITE_APP_LANG_ENABLE":true,"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_MENU_THEME":"dark","VITE_APP_MENU_BAR":"left","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_THEME_VALUE":"blue","VITE_APP_THEME":{"blue":{"name":"blue","color":"#1677FF","lightColor":"\t#6495ED","darkColor":"#00008B","borderColor":"#B0C4DE","bgColor":"#f0f2f5"},"green":{"name":"green","color":"#00b96b","lightColor":"#90EE90","darkColor":"#3CB371","borderColor":"#98FB98","bgColor":"#F0FFF0"},"orange":{"name":"orange","color":"#FFA500","lightColor":"\t#FFE4B5","darkColor":"#FF8C00","borderColor":"#FFDEAD","bgColor":"#FFEFD5"}},"VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_USER_NODE_ENV":"production"}
+{"_hash":1793357421874,"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":false,"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_MENU_THEME":"dark","VITE_APP_MENU_BG":"theme","VITE_APP_MENU_BG_LIGHTNESS":93,"VITE_APP_MENU_BG_SATURATION":30,"VITE_APP_MENU_BG_ACTIVE_MIX":16,"VITE_APP_MENU_BAR":"left","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_THEME_VALUE":"blue","VITE_APP_THEME":{"blue":{"name":"blue","color":"#1677FF","lightColor":"\t#6495ED","darkColor":"#00008B","borderColor":"#B0C4DE","bgColor":"#f0f2f5"},"green":{"name":"green","color":"#00b96b","lightColor":"#90EE90","darkColor":"#3CB371","borderColor":"#98FB98","bgColor":"#F0FFF0"},"orange":{"name":"orange","color":"#FFA500","lightColor":"\t#FFE4B5","darkColor":"#FF8C00","borderColor":"#FFDEAD","bgColor":"#FFEFD5"}},"VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_USER_NODE_ENV":"production"}

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
lib/css/style.css


+ 45 - 15
lib/js/403.js

@@ -1,18 +1,48 @@
-import { openBlock as t, createElementBlock as e } from "vue";
-import { n as o } from "./index2.js";
-const n = {
-  name: "AUth403",
-  data() {
-    return {};
-  },
-  methods: {},
-  mounted() {
+import { computed as o, openBlock as g, createElementBlock as h, createElementVNode as s, toDisplayString as n } from "vue";
+import { useRoute as w, useRouter as b } from "vue-router";
+import { n as y } from "./index2.js";
+const k = { class: "s-403" }, A = { class: "s-403__main" }, $ = { class: "s-403__title" }, E = { class: "s-403__desc" }, P = { class: "s-403__path" }, T = { class: "s-403__path-label" }, q = { class: "s-403__path-value" }, I = { class: "s-403__actions" }, B = /* @__PURE__ */ Object.assign({ name: "AUth403" }, {
+  __name: "403",
+  setup(R) {
+    window.useI18n && window.useI18n("pages-components");
+    const a = w(), r = b(), l = (e) => String(Array.isArray(e) ? e[0] : e || ""), i = o(() => l(a.query.api)), _ = o(() => !!i.value), c = o(() => _.value && l(a.query.status) === "301"), d = o(() => c.value ? "接口地址已变更" : _.value ? "接口无权限" : "页面权限不足"), p = o(() => c.value ? "该接口地址已被永久重定向(301),通常是后端地址变更或网关配置有误,请联系管理员核实。" : _.value ? "当前账号没有该接口的访问权限,请联系管理员分配。" : "您没有访问当前页面的权限。"), v = o(() => _.value ? "接口地址" : a.query.from ? "出错地址" : "当前地址"), m = o(() => _.value ? i.value : l(a.query.from) || a.fullPath), u = () => {
+      var e, t;
+      r.replace(((t = (e = window.$utils) == null ? void 0 : e.env) == null ? void 0 : t.VITE_APP_DEFAULT_PATH) || "/workplace/index");
+    }, f = () => {
+      window.history.length > 1 ? r.back() : u();
+    };
+    return (e, t) => (g(), h("div", k, [
+      t[1] || (t[1] = s("div", { class: "s-403__deco" }, [
+        s("div", { class: "s-403__glow s-403__glow--a" }),
+        s("div", { class: "s-403__glow s-403__glow--b" }),
+        s("div", { class: "s-403__grid" })
+      ], -1)),
+      s("main", A, [
+        t[0] || (t[0] = s("div", { class: "s-403__visual" }, [
+          s("span", { class: "s-403__ring" }),
+          s("span", { class: "s-403__ring s-403__ring--inner" }),
+          s("span", { class: "s-403__code" }, "403")
+        ], -1)),
+        s("h1", $, n(e.$l(d.value)), 1),
+        s("p", E, n(e.$l(p.value)), 1),
+        s("div", P, [
+          s("span", T, n(e.$l(v.value)), 1),
+          s("code", q, n(m.value), 1)
+        ]),
+        s("div", I, [
+          s("button", {
+            class: "s-403__btn s-403__btn--primary",
+            onClick: u
+          }, n(e.$l("返回首页")), 1),
+          s("button", {
+            class: "s-403__btn",
+            onClick: f
+          }, n(e.$l("返回上一页")), 1)
+        ])
+      ])
+    ]));
   }
-}, r = { class: "auth-403" };
-function s(c, a, _, d, m, p) {
-  return t(), e("div", r, "403");
-}
-const u = /* @__PURE__ */ o(n, [["render", s]]);
+}), H = /* @__PURE__ */ y(B, [["__scopeId", "data-v-5df33fde"]]);
 export {
-  u as default
+  H as default
 };

+ 48 - 15
lib/js/500.js

@@ -1,18 +1,51 @@
-import { openBlock as t, createElementBlock as e } from "vue";
-import { n as o } from "./index2.js";
-const n = {
-  name: "AUth500",
-  data() {
-    return {};
-  },
-  methods: {},
-  mounted() {
+import { computed as l, openBlock as d, createElementBlock as p, createElementVNode as s, toDisplayString as _ } from "vue";
+import { useRoute as u, useRouter as m } from "vue-router";
+import { n as g } from "./index2.js";
+const h = { class: "s-500" }, v = { class: "s-500__main" }, w = { class: "s-500__title" }, f = { class: "s-500__desc" }, b = { class: "s-500__path" }, k = { class: "s-500__path-label" }, y = { class: "s-500__path-value" }, A = { class: "s-500__actions" }, $ = /* @__PURE__ */ Object.assign({ name: "AUth500" }, {
+  __name: "500",
+  setup(P) {
+    window.useI18n && window.useI18n("pages-components");
+    const n = u(), e = m(), c = l(() => {
+      const o = n.query.from;
+      return String(Array.isArray(o) ? o[0] : o || n.fullPath);
+    }), i = l(() => n.query.from ? "出错地址" : "当前地址"), a = () => {
+      var o, t;
+      e.replace(((t = (o = window.$utils) == null ? void 0 : o.env) == null ? void 0 : t.VITE_APP_DEFAULT_PATH) || "/workplace/index");
+    }, r = () => {
+      window.history.length > 1 ? e.back() : a();
+    };
+    return (o, t) => (d(), p("div", h, [
+      t[1] || (t[1] = s("div", { class: "s-500__deco" }, [
+        s("div", { class: "s-500__glow s-500__glow--a" }),
+        s("div", { class: "s-500__glow s-500__glow--b" }),
+        s("div", { class: "s-500__grid" })
+      ], -1)),
+      s("main", v, [
+        t[0] || (t[0] = s("div", { class: "s-500__visual" }, [
+          s("span", { class: "s-500__ring" }),
+          s("span", { class: "s-500__ring s-500__ring--inner" }),
+          s("span", { class: "s-500__code" }, "500")
+        ], -1)),
+        s("h1", w, _(o.$l("接口出错了")), 1),
+        s("p", f, _(o.$l("您当前访问的接口出错了,请稍后再试。")), 1),
+        s("div", b, [
+          s("span", k, _(o.$l(i.value)), 1),
+          s("code", y, _(c.value), 1)
+        ]),
+        s("div", A, [
+          s("button", {
+            class: "s-500__btn s-500__btn--primary",
+            onClick: a
+          }, _(o.$l("返回首页")), 1),
+          s("button", {
+            class: "s-500__btn",
+            onClick: r
+          }, _(o.$l("返回上一页")), 1)
+        ])
+      ])
+    ]));
   }
-}, r = { class: "auth-500" };
-function s(c, a, _, d, m, p) {
-  return t(), e("div", r, "500");
-}
-const u = /* @__PURE__ */ o(n, [["render", s]]);
+}), T = /* @__PURE__ */ g($, [["__scopeId", "data-v-d6a3c34d"]]);
 export {
-  u as default
+  T as default
 };

+ 9 - 9
lib/js/ActionButton.js

@@ -1,11 +1,11 @@
-import { c_ as b, B as p, _ as i, cS as y, e as O } from "./index2.js";
-import { shallowRef as s, onBeforeUnmount as m, defineComponent as P, onMounted as R, createVNode as x } from "vue";
-const A = () => {
+import { c_ as b, B as p, _ as i, cT as y, e as O } from "./index2.js";
+import { shallowRef as s, onBeforeUnmount as m, defineComponent as P, onMounted as R, createVNode as T } from "vue";
+const x = () => {
   const n = s(!1);
   return m(() => {
     n.value = !0;
   }), n;
-}, D = {
+}, A = {
   type: {
     type: String
   },
@@ -20,19 +20,19 @@ const A = () => {
 function d(n) {
   return !!(n && n.then);
 }
-const S = P({
+const N = P({
   compatConfig: {
     MODE: 3
   },
   name: "ActionButton",
-  props: D,
+  props: A,
   setup(n, g) {
     let {
       slots: B
     } = g;
     const l = s(!1), c = s(), u = s(!1);
     let f;
-    const v = A();
+    const v = x();
     R(() => {
       n.autofocus && (f = setTimeout(() => {
         var e, t;
@@ -79,7 +79,7 @@ const S = P({
         prefixCls: t,
         buttonProps: o
       } = n;
-      return x(p, i(i(i({}, y(e)), {}, {
+      return T(p, i(i(i({}, y(e)), {}, {
         onClick: C,
         loading: u.value,
         prefixCls: t
@@ -90,5 +90,5 @@ const S = P({
   }
 });
 export {
-  S as A
+  N as A
 };

+ 15 - 15
lib/js/Col.js

@@ -1,13 +1,13 @@
-import { bI as T, g as E, m as D, d as g, u as k, bJ as K, bK as j, c as F, _ as C, aw as N } from "./index2.js";
-import { shallowRef as V, onMounted as L, inject as X, computed as m, provide as H, defineComponent as W, ref as R, onBeforeUnmount as J, createVNode as B } from "vue";
-const P = () => {
-  const e = V(!1);
+import { bC as D, g as E, m as T, d as g, u as k, bD as V, bE 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 e = X(!1);
   return L(() => {
-    e.value = T();
+    e.value = D();
   }), e;
 }, _ = Symbol("rowContextKey"), U = (e) => {
-  H(_, e);
-}, q = () => X(_, {
+  K(_, e);
+}, q = () => H(_, {
   gutter: m(() => {
   }),
   wrap: m(() => {
@@ -114,7 +114,7 @@ const P = () => {
 }, 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 = D(e, {
+  const t = T(e, {
     gridColumns: 24
     // Row is divided into 24 parts in Grid
   }), u = {
@@ -151,7 +151,7 @@ const P = () => {
       direction: s
     } = k("row", e), [G, y] = ee(o);
     let b;
-    const v = K(), x = R({
+    const v = V(), x = R({
       xs: !0,
       sm: !0,
       md: !0,
@@ -178,14 +178,14 @@ const P = () => {
           return i;
       }
       return "";
-    }), f = h("align"), p = h("justify"), d = P();
+    }), f = h("align"), p = h("justify"), d = J();
     L(() => {
       b = v.value.subscribe((n) => {
         S.value = n;
         const r = e.gutter || 0;
         (!Array.isArray(r) && typeof r == "object" || Array.isArray(r) && (typeof r[0] == "object" || typeof r[1] == "object")) && (x.value = n);
       });
-    }), J(() => {
+    }), P(() => {
       v.value.unsubscribe(b);
     });
     const $ = m(() => {
@@ -194,10 +194,10 @@ const P = () => {
       } = e;
       return (Array.isArray(r) ? r : [r, void 0]).forEach((i, M) => {
         if (typeof i == "object")
-          for (let I = 0; I < j.length; I++) {
-            const A = j[I];
-            if (x.value[A] && i[A] !== void 0) {
-              n[M] = i[A];
+          for (let A = 0; A < j.length; A++) {
+            const I = j[A];
+            if (x.value[I] && i[I] !== void 0) {
+              n[M] = i[I];
               break;
             }
           }

+ 14 - 14
lib/js/SCollapsesItem.js

@@ -1,6 +1,6 @@
-import { ref as i, onMounted as v, resolveComponent as c, openBlock as t, createElementBlock as r, createElementVNode as l, createBlock as d, toDisplayString as f, createCommentVNode as y, withDirectives as g, normalizeStyle as C, renderSlot as S, vShow as k } from "vue";
-import { n as w } from "./index2.js";
-const h = { class: "s-collapses-item" }, x = ["id"], I = { class: "epxand" }, b = /* @__PURE__ */ Object.assign({ name: "CollapsesItem" }, {
+import { ref as a, onMounted as v, resolveComponent as c, openBlock as t, createElementBlock as r, createElementVNode as l, createBlock as d, toDisplayString as f, createCommentVNode as g, withDirectives as y, normalizeStyle as C, renderSlot as S, vShow as h } from "vue";
+import { n as k } from "./index2.js";
+const w = { class: "s-collapses-item" }, x = ["id"], I = { class: "epxand" }, $ = /* @__PURE__ */ Object.assign({ name: "CollapsesItem" }, {
   __name: "SCollapsesItem",
   props: {
     title: {
@@ -13,27 +13,27 @@ const h = { class: "s-collapses-item" }, x = ["id"], I = { class: "epxand" }, b
     }
   },
   setup(o) {
-    const n = o, e = i(!0), s = i(1);
+    const n = o, e = a(!0), s = a(1);
     function u() {
       return window.$utils.uuid();
     }
     return v(() => {
       s.value = n.column > 4 ? 4 : n.column;
-    }), (p, a) => {
-      const m = c("caret-down-outlined"), _ = c("caret-up-outlined");
-      return t(), r("div", h, [
+    }), (m, i) => {
+      const p = c("caret-down-outlined"), _ = c("caret-right-outlined");
+      return t(), r("div", w, [
         o.title ? (t(), r("div", {
           key: 0,
           class: "s-collapses-item-title s-theme-border",
-          onClick: a[0] || (a[0] = ($) => e.value = !e.value),
+          onClick: i[0] || (i[0] = (b) => e.value = !e.value),
           id: u()
         }, [
           l("div", I, [
-            e.value ? (t(), d(m, { key: 0 })) : (t(), d(_, { key: 1 }))
+            e.value ? (t(), d(p, { key: 0 })) : (t(), d(_, { key: 1 }))
           ]),
           l("div", null, f(o.title), 1)
-        ], 8, x)) : y("", !0),
-        g(l("div", {
+        ], 8, x)) : g("", !0),
+        y(l("div", {
           class: "s-collapses-item-content",
           style: C({
             display: "grid",
@@ -41,14 +41,14 @@ const h = { class: "s-collapses-item" }, x = ["id"], I = { class: "epxand" }, b
             gap: "20px"
           })
         }, [
-          S(p.$slots, "default", {}, void 0, !0)
+          S(m.$slots, "default", {}, void 0, !0)
         ], 4), [
-          [k, e.value]
+          [h, e.value]
         ])
       ]);
     };
   }
-}), E = /* @__PURE__ */ w(b, [["__scopeId", "data-v-b820dcf9"]]);
+}), E = /* @__PURE__ */ k($, [["__scopeId", "data-v-117ec844"]]);
 export {
   E as default
 };

+ 25 - 25
lib/js/SFormLayout.js

@@ -1,11 +1,11 @@
-import { useSlots as ne, ref as o, computed as ae, watch as se, nextTick as P, onMounted as ie, onUnmounted as ue, resolveComponent as S, openBlock as l, createElementBlock as c, normalizeStyle as h, createVNode as d, withCtx as m, createElementVNode as a, toDisplayString as g, renderSlot as _, createCommentVNode as u, Fragment as U, renderList as G, createBlock as w, normalizeClass as ce, createTextVNode as x } from "vue";
+import { useSlots as ne, ref as o, computed as ae, watch as se, nextTick as P, onMounted as ie, onUnmounted as ue, resolveComponent as S, openBlock as l, createElementBlock as c, normalizeStyle as h, createVNode as d, withCtx as m, createElementVNode as a, toDisplayString as g, renderSlot as _, createCommentVNode as u, Fragment as U, renderList as G, createBlock as k, normalizeClass as ce, createTextVNode as x } from "vue";
 import { n as re, ao as de, B as fe } from "./index2.js";
 import { _ as he, S as me } from "./index10.js";
 import { T as ye, _ as ve } from "./index11.js";
-const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we = {
+const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, ke = {
   key: 0,
   class: "row sub-title-wrap"
-}, ke = { class: "sub-title" }, Se = { class: "form-layout-main-content" }, _e = {
+}, we = { class: "sub-title" }, Se = { class: "form-layout-main-content" }, _e = {
   key: 1,
   class: "collapses-content-wrap"
 }, Be = { class: "collapese-container" }, $e = { class: "modal" }, Ce = /* @__PURE__ */ Object.assign({ name: "SFormLayout" }, {
@@ -82,16 +82,16 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
   },
   emits: ["footer-callback", "tabsChange"],
   setup(e, { expose: J, emit: Q }) {
-    const s = e, y = Q, X = ne(), B = o(null), R = o(null), F = o(null), N = o(null), V = o(null), Y = o(null), W = o(null), E = o({}), $ = o("100%"), z = o("881px"), D = o(0), K = o(0), n = o(0), Z = ae(() => s.showAnchor && s.width);
+    const s = e, y = Q, X = ne(), B = o(null), R = o(null), F = o(null), N = o(null), V = o(null), Y = o(null), W = o(null), E = o({}), $ = o("100%"), K = o("881px"), z = o(0), D = o(0), n = o(0), Z = ae(() => s.showAnchor && s.width);
     se(Z, () => I(), { immediate: !0, deep: !0 });
     function L() {
       P(() => {
         var C, H, T, f, A;
-        K.value = (((C = B.value) == null ? void 0 : C.offsetWidth) || 0) + "px";
+        D.value = (((C = B.value) == null ? void 0 : C.offsetWidth) || 0) + "px";
         const t = document.documentElement.clientHeight, i = ((H = document.querySelector(".ant-layout-header.header")) == null ? void 0 : H.offsetHeight) || 0;
-        z.value = t - i + "px";
+        K.value = t - i + "px";
         const r = ((T = F.value) == null ? void 0 : T.offsetHeight) || 0, b = ((f = N.value) == null ? void 0 : f.offsetHeight) || 0, p = ((A = V.value) == null ? void 0 : A.offsetHeight) || 0;
-        D.value = t - i - r - b - p - 60;
+        z.value = t - i - r - b - p - 60;
       });
     }
     function M() {
@@ -143,7 +143,7 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
         class: "form-layout",
         ref_key: "layout",
         ref: B,
-        style: h({ height: z.value })
+        style: h({ height: K.value })
       }, [
         d(oe, { spinning: e.loading }, {
           default: m(() => [
@@ -161,8 +161,8 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
                   _(t.$slots, "otherBtns", {}, void 0, !0)
                 ])
               ]),
-              e.subTitle ? (l(), c("div", we, [
-                a("div", ke, g(e.subTitle), 1)
+              e.subTitle ? (l(), c("div", ke, [
+                a("div", we, g(e.subTitle), 1)
               ])) : u("", !0)
             ], 512)) : u("", !0),
             e.steps && e.steps.length ? (l(), c("div", {
@@ -177,9 +177,9 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
                 size: "small"
               }, {
                 default: m(() => [
-                  (l(!0), c(U, null, G(e.steps, (k) => (l(), w(r, {
-                    title: k,
-                    key: k,
+                  (l(!0), c(U, null, G(e.steps, (w) => (l(), k(r, {
+                    title: w,
+                    key: w,
                     disabled: !0
                   }, null, 8, ["title"]))), 128))
                 ]),
@@ -193,24 +193,24 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
               ref: V
             }, [
               d(C, {
-                "default-active-key": "1",
+                "default-active-key": e.tabs[0][e.tabKey.label],
                 onChange: ee
               }, {
                 default: m(() => [
-                  (l(!0), c(U, null, G(e.tabs, (k) => (l(), w(p, {
-                    tab: k[e.tabKey.label],
-                    key: k[e.tabKey.value]
+                  (l(!0), c(U, null, G(e.tabs, (w) => (l(), k(p, {
+                    tab: w[e.tabKey.label],
+                    key: w[e.tabKey.value]
                   }, null, 8, ["tab"]))), 128))
                 ]),
                 _: 1
-              })
+              }, 8, ["default-active-key"])
             ], 512)) : u("", !0),
             a("div", Se, [
               a("div", {
                 class: "form-layout-main-scroll",
                 ref_key: "mainScroll",
                 ref: R,
-                style: h({ height: D.value + "px" })
+                style: h({ height: z.value + "px" })
               }, [
                 a("div", {
                   class: ce(["form-layout-main", { whiteBg: !!t.$slots.form }]),
@@ -248,9 +248,9 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
             ]),
             a("div", {
               class: "form-fixed-footer",
-              style: h({ width: K.value })
+              style: h({ width: D.value })
             }, [
-              e.goBack ? (l(), w(f, {
+              e.goBack ? (l(), k(f, {
                 key: 0,
                 onClick: M,
                 class: "btn"
@@ -261,7 +261,7 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
                 ]),
                 _: 1
               })) : u("", !0),
-              e.steps.length ? (l(), w(f, {
+              e.steps.length ? (l(), k(f, {
                 key: 1,
                 class: "btn",
                 disabled: n.value === e.stepDefaultActive,
@@ -273,7 +273,7 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
                 ]),
                 _: 1
               }, 8, ["disabled"])) : u("", !0),
-              e.steps.length ? (l(), w(f, {
+              e.steps.length ? (l(), k(f, {
                 key: 2,
                 class: "btn",
                 type: "primary",
@@ -286,7 +286,7 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
                 ]),
                 _: 1
               }, 8, ["disabled"])) : u("", !0),
-              e.isShowSave ? (l(), w(f, {
+              e.isShowSave ? (l(), k(f, {
                 key: 3,
                 style: { "margin-right": "8px" },
                 type: "primary",
@@ -312,7 +312,7 @@ const be = { class: "row" }, pe = { class: "title" }, ge = { class: "btns" }, we
       ], 4);
     };
   }
-}), Re = /* @__PURE__ */ re(Ce, [["__scopeId", "data-v-bda9199b"]]);
+}), Re = /* @__PURE__ */ re(Ce, [["__scopeId", "data-v-5519a258"]]);
 export {
   Re as default
 };

+ 11 - 11
lib/js/SListLayout.js

@@ -1,5 +1,5 @@
 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 Re } from "vue";
-import { n as Te, B as ze, y as He, aW as Le } from "./index2.js";
+import { n as Te, B as ze, y as He, aO as Le } from "./index2.js";
 const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" }, Ee = {
   key: 0,
   style: { "margin-left": "8px" }
@@ -12,10 +12,10 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
 }, Ue = { class: "filter" }, Ve = {
   key: 1,
   class: "reset-wrap"
-}, We = {
+}, qe = {
   key: 1,
   class: "filter-more-content"
-}, qe = { class: "table-content" }, je = { class: "table-container" }, Xe = ["onClick"], Ge = { class: "other" }, Je = /* @__PURE__ */ Object.assign({ name: "SListLayout" }, {
+}, We = { class: "table-content" }, je = { class: "table-container" }, Xe = ["onClick"], Ge = { class: "other" }, Je = /* @__PURE__ */ Object.assign({ name: "SListLayout" }, {
   __name: "SListLayout",
   props: {
     // 页面标题
@@ -95,7 +95,7 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
   },
   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([]), W = a([]), R = a([]), w = a([]), re = {
+    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([]), R = a([]), w = a([]), re = {
       add: "PlusCircleOutlined",
       edit: "FormOutlined",
       delete: "DeleteOutlined",
@@ -111,7 +111,7 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
       TopOfType: "VerticalAlignTopOutlined",
       TOP: "VerticalAlignTopOutlined",
       synchronize: "SyncOutlined"
-    }, q = te(() => w.value.map((e) => e.key).includes("import")), T = te(() => w.value.find((e) => e.key === "import") || {});
+    }, W = te(() => w.value.map((e) => e.key).includes("import")), T = te(() => w.value.find((e) => e.key === "import") || {});
     oe(
       () => S.buttons,
       (e) => {
@@ -208,7 +208,7 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
       P(e);
     }
     function me() {
-      if (!q.value) {
+      if (!W.value) {
         v("btnCallback", "import");
         return;
       }
@@ -420,13 +420,13 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
                   })
                 ])) : i("", !0)
               ])) : i("", !0),
-              e.$slots.filterMore ? K((n(), l("div", We, [
+              e.$slots.filterMore ? K((n(), l("div", qe, [
                 u(e.$slots, "filterMore", {}, void 0, !0)
               ], 512)), [
                 [ae, $.value]
               ]) : i("", !0)
             ], 512)) : i("", !0),
-            d("div", qe, [
+            d("div", We, [
               e.$slots.tabs ? (n(), l("div", {
                 key: 0,
                 class: "tabs-wrap",
@@ -445,8 +445,8 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
                   rowKey: y.rowKey,
                   columns: R.value,
                   data: y.loadData,
-                  "expanded-row-keys": W.value,
-                  "onUpdate:expandedRowKeys": t[0] || (t[0] = (o) => W.value = o),
+                  "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,
                   showPagination: y.showPagination
                 }, {
@@ -474,7 +474,7 @@ const Pe = { class: "tools" }, Me = { class: "title" }, Ke = { class: "btns" },
         d("div", Ge, [
           u(e.$slots, "other", {}, void 0, !0)
         ]),
-        q.value ? (n(), b(Ce, {
+        W.value ? (n(), b(Ce, {
           key: 0,
           ref: "importModalRef",
           "upload-url": T.value.importUploadUrl,

Diferenças do arquivo suprimidas por serem muito extensas
+ 313 - 311
lib/js/SModal.js


+ 23 - 23
lib/js/SNewestDataListLayout.js

@@ -1,7 +1,7 @@
-import { ref as s, computed as ne, watch as le, nextTick as C, onMounted as Ae, onActivated as Ie, resolveComponent as I, resolveDirective as Pe, 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 { ref as s, computed as ne, watch as le, nextTick as C, onMounted as Ae, onActivated as Ie, resolveComponent as I, resolveDirective as Pe, openBlock as n, createElementBlock as l, createVNode as O, 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, aW as Ne } from "./index2.js";
-const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" }, qe = {
+import { n as Me, ao as Le, B as Fe, y as Ke, aO as Ne } from "./index2.js";
+const Ue = { class: "tools" }, Ve = { class: "title" }, qe = { class: "btns" }, We = {
   key: 0,
   style: { "margin-left": "8px" }
 }, je = {
@@ -127,9 +127,9 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
   },
   emits: ["reset", "btnCallback", "tableColCallback", "advancedSearch"],
   setup(r, { expose: ie, emit: ue }) {
-    const B = r, v = ue;
+    const _ = r, v = ue;
     He();
-    const P = s(null), re = s(null), U = s(null), V = s(null), O = s(null), de = s(null), D = s(!1), c = s(0), W = s(0), S = s(!1), f = s(!1), q = s(20), T = s(256), j = s(!1), m = s([]), x = s([]), A = s([]), w = s([]), ce = {
+    const P = s(null), re = s(null), U = s(null), V = s(null), B = s(null), de = s(null), D = s(!1), c = s(0), q = s(0), S = s(!1), f = s(!1), W = s(20), T = s(256), j = s(!1), m = s([]), x = s([]), A = s([]), w = s([]), ce = {
       add: "PlusCircleOutlined",
       edit: "FormOutlined",
       delete: "DeleteOutlined",
@@ -147,13 +147,13 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
       synchronize: "SyncOutlined"
     }, X = ne(() => w.value.map((e) => e.key).includes("import")), E = ne(() => w.value.find((e) => e.key === "import") || {});
     le(
-      () => B.buttons,
+      () => _.buttons,
       (e) => {
         e && e.length && fe(e);
       },
       { immediate: !0, deep: !0 }
     ), le(
-      () => B.columns,
+      () => _.columns,
       () => Q()
     );
     function G(e, t = "") {
@@ -167,7 +167,7 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
     }
     function me() {
       C(() => {
-        F(), q.value = B.pSize, A.value = B.columns.map((e) => ((e.template || e.isClick || e.dataIndex === "action" && !e.customRender) && !e.scopedSlots && (e.scopedSlots = { customRender: e.dataIndex }), e));
+        F(), W.value = _.pSize, A.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);
@@ -185,7 +185,7 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
       v("reset");
     }
     function H() {
-      O.value && O.value.refresh(!0);
+      B.value && B.value.refresh(!0);
     }
     function Y(e) {
       v("btnCallback", e.key, m.value);
@@ -287,7 +287,7 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
       C(() => {
         var i, k;
         const t = ((i = U.value) == null ? void 0 : i.offsetHeight) || 0, d = ((k = V.value) == null ? void 0 : k.offsetHeight) || 0;
-        W.value = c.value - t - 134 - d;
+        q.value = c.value - t - 134 - d;
       });
     }
     function oe() {
@@ -342,22 +342,22 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
       btnCallback: Y,
       filterReset: z,
       toggleFilter: R,
-      table: O,
+      table: B,
       importVisible: D,
       measureLayout: F,
       advancedSearch: oe
     }), (e, t) => {
-      const d = Fe, i = I("down-outlined"), k = I("up-outlined"), h = I("sync-outlined"), _e = Ke, Be = Le, Oe = I("s-import-modal"), De = Pe("action");
+      const d = Fe, i = I("down-outlined"), k = I("up-outlined"), h = I("sync-outlined"), Oe = Ke, _e = Le, Be = I("s-import-modal"), De = Pe("action");
       return n(), l("div", {
         class: "list-layout",
         ref_key: "layout",
         ref: P
       }, [
-        _(Be, { spinning: f.value }, {
+        O(_e, { spinning: f.value }, {
           default: y(() => [
             p("div", Ue, [
               p("div", Ve, $(e.$l(r.title)), 1),
-              p("div", We, [
+              p("div", qe, [
                 (n(!0), l(ae, null, xe(w.value, (o) => (n(), l("span", {
                   class: "item-btn",
                   key: o.key
@@ -380,7 +380,7 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
                     [se, o.show !== !1]
                   ])
                 ]))), 128)),
-                e.$slots.otherBtns ? (n(), l("span", qe, [
+                e.$slots.otherBtns ? (n(), l("span", We, [
                   u(e.$slots, "otherBtns", { selections: m.value }, void 0, !0)
                 ])) : a("", !0)
               ])
@@ -446,7 +446,7 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
                         ]),
                         _: 1
                       })) : a("", !0),
-                      _(_e, {
+                      O(Oe, {
                         placement: "top",
                         overlayStyle: { maxWidth: "500px" }
                       }, {
@@ -454,12 +454,12 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
                           p("span", null, $(e.$l("条件重置")), 1)
                         ]),
                         default: y(() => [
-                          _(d, {
+                          O(d, {
                             style: { "padding-bottom": "2px" },
                             onClick: z
                           }, {
                             icon: y(() => [
-                              _(h)
+                              O(h)
                             ]),
                             _: 1
                           })
@@ -493,12 +493,12 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
                     u(e.$slots, "tabs", {}, void 0, !0)
                   ], 512)) : a("", !0),
                   p("div", tt, [
-                    _(Re(Ne), {
+                    O(Re(Ne), {
                       ref_key: "table",
-                      ref: O,
+                      ref: B,
                       size: "middle",
-                      scroll: { y: W.value, x: "100%" },
-                      pageSize: q.value,
+                      scroll: { y: q.value, x: "100%" },
+                      pageSize: W.value,
                       rowKey: r.rowKey,
                       columns: A.value,
                       data: r.loadData,
@@ -552,7 +552,7 @@ const Ue = { class: "tools" }, Ve = { class: "title" }, We = { class: "btns" },
           ]),
           _: 3
         }, 8, ["spinning"]),
-        X.value ? (n(), g(Oe, {
+        X.value ? (n(), g(Be, {
           key: 0,
           ref_key: "importModalRef",
           ref: de,

+ 78 - 68
lib/js/SSideMenu.js

@@ -1,97 +1,107 @@
-import { ref as h, reactive as C, watch as _, computed as P, onMounted as x, resolveComponent as w, openBlock as y, createElementBlock as L, createElementVNode as v, createVNode as T, normalizeStyle as U, createBlock as k } from "vue";
-import { useRouter as A } from "vue-router";
-import { n as B, ad as $, cL as D } from "./index2.js";
-const V = { class: "s-menu-slide-common" }, I = { class: "menu-wrap" }, N = {
+import { ref as R, computed as u, reactive as T, watch as h, onMounted as L, resolveComponent as _, openBlock as p, createElementBlock as U, createElementVNode as v, createVNode as w, withCtx as A, normalizeStyle as B, createBlock as k } from "vue";
+import { useRouter as D } from "vue-router";
+import { n as V, ad as g, cP as I, cL as N } from "./index2.js";
+const j = { class: "s-menu-slide-common" }, z = { class: "menu-wrap" }, H = {
   __name: "SSideMenu",
   emits: ["collapsed"],
-  setup(j, { emit: g }) {
-    const p = A(), M = g, m = h([]), i = h(""), e = C({
+  setup(W, { emit: $ }) {
+    const d = D(), M = $, m = g(), r = R(""), b = u(() => {
+      const e = window.$menuTheme;
+      return r.value !== "dark" || !e || !e.token ? {} : { components: { Menu: e.token } };
+    }), n = T({
       collapsed: !1,
       selectedKeys: [],
       openKeys: [],
       preOpenKeys: []
     });
-    _(
-      () => e.openKeys,
-      (t, s) => {
-        e.preOpenKeys = s;
+    h(
+      () => n.openKeys,
+      (e, t) => {
+        n.preOpenKeys = t;
       }
     );
-    const O = (t, s) => s ? s.startsWith("/") ? s : t ? `${t.replace(/\/+$/, "")}/${s}` : `/${s}` : t || "", K = (t, s, d = 0, a = "") => t.map((n) => {
-      var c;
-      const o = window.$l(((c = n.meta) == null ? void 0 : c.title) || n.name || ""), u = d === 0 && !n.children, r = O(a, n.path), l = {
-        key: r,
+    const O = (e, t) => t ? t.startsWith("/") ? t : e ? `${e.replace(/\/+$/, "")}/${t}` : `/${t}` : e || "", y = (e, t, l = 0, o = "") => e.map((s) => {
+      var K;
+      const c = window.$l(((K = s.meta) == null ? void 0 : K.title) || s.name || ""), a = l === 0 && !s.children, i = O(o, s.path), f = {
+        key: i,
         // icon: item.icon ? () => h(item.icon) : null,
         icon: null,
-        label: s && u ? o.slice(0, 1) : o,
-        title: o,
-        path: r
+        label: t && a ? c.slice(0, 1) : c,
+        title: c,
+        path: i
       };
-      return n.children && (l.children = K(n.children, s, d + 1, r)), l;
-    }), b = P(() => K(m.value, e.collapsed)), S = () => {
-      e.collapsed = !e.collapsed, e.openKeys = e.collapsed ? [] : e.preOpenKeys, M("collapsed", e.collapsed);
-    }, E = (t) => {
-      p.push(t.key), e.selectedKeys = [t.key], window.$utils.ls.set("selectedKeys", e.selectedKeys);
-    }, R = (t) => {
-      e.openKeys = t, $().setMenuOpenKeys(e.openKeys);
-    };
-    return x(() => {
-      var u, r;
-      i.value = window.$utils.env.VITE_APP_MENU_THEME || "dark";
-      const t = $(), s = ((u = t.dynamics[0]) == null ? void 0 : u.children) || [], d = (window.$staticRoutes || []).filter(
-        (l) => {
-          var c, f;
-          return l && l.path && ((c = l.meta) == null ? void 0 : c.title) && !((f = l.meta) != null && f.hidden);
+      return s.children && (f.children = y(s.children, t, l + 1, i)), f;
+    }), C = u(() => {
+      var l;
+      const e = ((l = m.dynamics[0]) == null ? void 0 : l.children) || [], t = (window.$staticRoutes || []).filter(
+        (o) => {
+          var s, c;
+          return o && o.path && ((s = o.meta) == null ? void 0 : s.title) && !((c = o.meta) != null && c.hidden);
         }
       );
-      m.value = [...s, ...d].filter((l) => {
-        var c;
-        return !((c = l.meta) != null && c.hidden);
+      return [...e, ...t].filter((o) => {
+        var s;
+        return !((s = o.meta) != null && s.hidden);
       });
-      const a = (window.$utils.env.VITE_APP_BASE_URL || "/").replace(/\/+$/, "");
-      let n = ((r = p.currentRoute.value) == null ? void 0 : r.path) || "";
-      n || (n = location.pathname, a && n.indexOf(a) === 0 && (n = n.slice(a.length) || "/")), window.$utils.ls.set("selectedKeys", [n]), e.selectedKeys = window.$utils.ls.get("selectedKeys") || [];
-      const o = t.openKeys || [];
-      e.openKeys = o;
-    }), _(
+    }), S = u(() => y(C.value, n.collapsed)), E = () => {
+      n.collapsed = !n.collapsed, n.openKeys = n.collapsed ? [] : n.preOpenKeys, M("collapsed", n.collapsed);
+    }, P = (e) => {
+      d.push(e.key), n.selectedKeys = [e.key], window.$utils.ls.set("selectedKeys", n.selectedKeys);
+    }, x = (e) => {
+      n.openKeys = e, g().setMenuOpenKeys(n.openKeys);
+    };
+    return L(() => {
+      var o;
+      r.value = window.$utils.env.VITE_APP_MENU_THEME || "dark";
+      const e = (window.$utils.env.VITE_APP_BASE_URL || "/").replace(/\/+$/, "");
+      let t = ((o = d.currentRoute.value) == null ? void 0 : o.path) || "";
+      t || (t = location.pathname, e && t.indexOf(e) === 0 && (t = t.slice(e.length) || "/")), window.$utils.ls.set("selectedKeys", [t]), n.selectedKeys = window.$utils.ls.get("selectedKeys") || [];
+      const l = m.openKeys || [];
+      n.openKeys = l;
+    }), h(
       () => {
-        var t;
-        return (t = p.currentRoute.value) == null ? void 0 : t.path;
+        var e;
+        return (e = d.currentRoute.value) == null ? void 0 : e.path;
       },
-      (t) => {
-        t && (e.selectedKeys = [t], window.$utils.ls.set("selectedKeys", e.selectedKeys));
+      (e) => {
+        e && (n.selectedKeys = [e], window.$utils.ls.set("selectedKeys", n.selectedKeys));
       }
-    ), (t, s) => {
-      const d = D, a = w("DoubleRightOutlined"), n = w("DoubleLeftOutlined");
-      return y(), L("div", V, [
-        v("div", I, [
-          T(d, {
-            openKeys: e.openKeys,
-            "onUpdate:openKeys": s[0] || (s[0] = (o) => e.openKeys = o),
-            selectedKeys: e.selectedKeys,
-            "onUpdate:selectedKeys": s[1] || (s[1] = (o) => e.selectedKeys = o),
-            mode: "inline",
-            items: b.value,
-            theme: i.value,
-            onSelect: E,
-            onOpenChange: R
-          }, null, 8, ["openKeys", "selectedKeys", "items", "theme"])
+    ), (e, t) => {
+      const l = N, o = I, s = _("DoubleRightOutlined"), c = _("DoubleLeftOutlined");
+      return p(), U("div", j, [
+        v("div", z, [
+          w(o, { theme: b.value }, {
+            default: A(() => [
+              w(l, {
+                openKeys: n.openKeys,
+                "onUpdate:openKeys": t[0] || (t[0] = (a) => n.openKeys = a),
+                selectedKeys: n.selectedKeys,
+                "onUpdate:selectedKeys": t[1] || (t[1] = (a) => n.selectedKeys = a),
+                mode: "inline",
+                items: S.value,
+                theme: r.value,
+                onSelect: P,
+                onOpenChange: x
+              }, null, 8, ["openKeys", "selectedKeys", "items", "theme"])
+            ]),
+            _: 1
+          }, 8, ["theme"])
         ]),
         v("div", {
           class: "right-border-btn",
-          style: U({
-            backgroundColor: i.value === "dark" ? "#001529" : "#fff",
-            color: i.value === "dark" ? "#fff" : "#000000A6",
-            border: `1px solid ${i.value === "dark" ? "#001529" : "#ececec"}`
+          style: B({
+            backgroundColor: r.value === "dark" ? "var(--s-menu-bg, #e8ecf3)" : "#fff",
+            color: r.value === "dark" ? "var(--s-menu-text, #344051)" : "#000000A6",
+            border: `1px solid ${r.value === "dark" ? "var(--s-menu-bg, #e8ecf3)" : "#ececec"}`
           }),
-          onClick: S
+          onClick: E
         }, [
-          e.collapsed ? (y(), k(a, { key: 0 })) : (y(), k(n, { key: 1 }))
+          n.collapsed ? (p(), k(s, { key: 0 })) : (p(), k(c, { key: 1 }))
         ], 4)
       ]);
     };
   }
-}, q = /* @__PURE__ */ B(N, [["__scopeId", "data-v-eb6de445"]]);
+}, J = /* @__PURE__ */ V(H, [["__scopeId", "data-v-778de210"]]);
 export {
-  q as default
+  J as default
 };

+ 1 - 1
lib/js/SSkeletonLayout.js

@@ -154,7 +154,7 @@ const F = { class: "title" }, I = { class: "btns" }, j = {
       ], 4);
     };
   }
-}), J = /* @__PURE__ */ W(q, [["__scopeId", "data-v-257b2962"]]);
+}), J = /* @__PURE__ */ W(q, [["__scopeId", "data-v-b7a47f05"]]);
 export {
   J as default
 };

+ 25 - 25
lib/js/SSuperListLayout.js

@@ -1,6 +1,6 @@
-import { ref as l, computed as X, watch as Y, onMounted as Ce, onActivated as Se, resolveComponent as $, resolveDirective as be, openBlock as a, createElementBlock as s, createElementVNode as u, toDisplayString as g, Fragment as Z, renderList as _e, withDirectives as Oe, createBlock as D, withCtx as C, createTextVNode as P, resolveDynamicComponent as xe, createCommentVNode as d, vShow as Re, renderSlot as c, createVNode as y, normalizeStyle as H, unref as Ie, nextTick as L, h as Be } from "vue";
+import { ref as l, computed as X, watch as Y, onMounted as Ce, onActivated as Se, resolveComponent as $, resolveDirective as be, openBlock as a, createElementBlock as s, createElementVNode as u, toDisplayString as g, Fragment as Z, renderList as Oe, withDirectives as _e, createBlock as D, withCtx as C, createTextVNode as P, resolveDynamicComponent as xe, createCommentVNode as d, vShow as Re, renderSlot as c, createVNode as y, normalizeStyle as H, unref as Ie, nextTick as L, h as Be } from "vue";
 import { useRoute as Te } from "vue-router";
-import { n as Ae, B as De, aW as Pe } from "./index2.js";
+import { n as Ae, B as De, aO as Pe } from "./index2.js";
 const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list" }, Ke = {
   key: 0,
   style: { "margin-left": "8px" }
@@ -112,7 +112,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
   },
   emits: ["reset", "btnCallback", "tableColCallback"],
   setup(v, { expose: ee, emit: te }) {
-    const O = v, k = te;
+    const _ = v, k = te;
     Te();
     const z = l(null), K = l(null), U = l(null), S = l(null), V = l(null), M = l(null), ne = l(null), b = l(!1), h = l(0), N = l(0), f = l(!1), E = l(20), F = l(!1), r = l([]), x = l([]), m = l([]), w = l([]), oe = {
       add: "PlusCircleOutlined",
@@ -132,13 +132,13 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
       synchronize: "SyncOutlined"
     }, q = X(() => w.value.map((e) => e.key).includes("import")), R = X(() => w.value.find((e) => e.key === "import") || {});
     Y(
-      () => O.buttons,
+      () => _.buttons,
       (e) => {
         e && e.length && le(e);
       },
       { immediate: !0, deep: !0 }
     ), Y(
-      () => O.columns,
+      () => _.columns,
       (e) => {
         ie(e || []);
       },
@@ -147,7 +147,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
     function j(e, t = "") {
       return !!(e && typeof e == "function");
     }
-    function W(e) {
+    function G(e) {
       return typeof e.icon == "string" ? e.icon : typeof e.icon == "boolean" && e.icon && oe[e.key] || "";
     }
     function le(e) {
@@ -155,7 +155,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
     }
     function ae(e) {
       L(() => {
-        A(), E.value = O.pSize, m.value = e.map((o) => ((o.template || o.isClick || o.dataIndex === "action" && !o.customRender) && !o.scopedSlots && (o.scopedSlots = { customRender: o.dataIndex }), (o.dataIndex === "action" || o.title === "操作") && (o.fixed = "right"), o));
+        A(), E.value = _.pSize, m.value = e.map((o) => ((o.template || o.isClick || o.dataIndex === "action" && !o.customRender) && !o.scopedSlots && (o.scopedSlots = { customRender: o.dataIndex }), (o.dataIndex === "action" || o.title === "操作") && (o.fixed = "right"), o));
       });
       const t = setTimeout(() => {
         const o = document.querySelector(".ant-table-cell.ant-table-cell-scrollbar"), i = document.querySelector(".ant-table-thead tr");
@@ -168,7 +168,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
     function I() {
       S.value && S.value.refresh(!0);
     }
-    function G(e) {
+    function J(e) {
       k("btnCallback", e.key, r.value);
       const t = we[e.key];
       typeof t == "function" ? t(e) : B(e);
@@ -204,12 +204,12 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
         });
       }
     }
-    function J(e, t) {
-      typeof e == "string" ? Q(e, t) : e.forEach((o) => {
-        Q(o, t);
+    function Q(e, t) {
+      typeof e == "string" ? W(e, t) : e.forEach((o) => {
+        W(o, t);
       });
     }
-    function Q(e, t) {
+    function W(e, t) {
       const o = w.value.find((i) => i.key === e);
       if (!o) {
         console.error(`按钮(${e})未定义, 请确认该变更状态按钮是否设置正确`);
@@ -264,8 +264,8 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
     }
     function ve() {
       L(() => {
-        var i, _;
-        const t = ((i = K.value) == null ? void 0 : i.offsetHeight) || 0, o = ((_ = U.value) == null ? void 0 : _.offsetHeight) || 0;
+        var i, O;
+        const t = ((i = K.value) == null ? void 0 : i.offsetHeight) || 0, o = ((O = U.value) == null ? void 0 : O.offsetHeight) || 0;
         N.value = h.value - t - 103 - o;
       });
     }
@@ -275,7 +275,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
       import: re,
       export: de,
       reload: I,
-      setStateBtn: J,
+      setStateBtn: Q,
       handAction: B
     };
     return Ce(() => {
@@ -286,13 +286,13 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
       expandedRowKeys: x,
       renderColumns: m,
       renderButtons: w,
-      setStateBtn: J,
-      btnCallback: G,
+      setStateBtn: Q,
+      btnCallback: J,
       table: S,
       importVisible: b,
       measureLayout: A
     }), (e, t) => {
-      const o = De, i = $("SearchOutlined"), _ = $("SettingOutlined"), ke = $("setting-filter"), he = $("setting-columns"), $e = $("s-import-modal"), ge = be("action");
+      const o = De, i = $("SearchOutlined"), O = $("SettingOutlined"), ke = $("setting-filter"), he = $("setting-columns"), $e = $("s-import-modal"), ge = be("action");
       return a(), s("div", {
         class: "list-layout",
         ref_key: "layout",
@@ -301,18 +301,18 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
         u("div", He, [
           u("div", Le, g(v.title), 1),
           u("div", ze, [
-            (a(!0), s(Z, null, _e(w.value, (n) => (a(), s("span", {
+            (a(!0), s(Z, null, Oe(w.value, (n) => (a(), s("span", {
               class: "item-btn",
               key: n.key
             }, [
-              Oe((a(), D(o, {
+              _e((a(), D(o, {
                 class: "btn",
                 disabled: !!n.disabled,
                 type: n.type || n.key === "add" ? "primary" : "default",
-                onClick: (p) => G(n)
+                onClick: (p) => J(n)
               }, {
                 icon: C(() => [
-                  W(n) ? (a(), D(xe(W(n)), { key: 0 })) : d("", !0)
+                  G(n) ? (a(), D(xe(G(n)), { key: 0 })) : d("", !0)
                 ]),
                 default: C(() => [
                   P(" " + g(e.$l(n.name)), 1)
@@ -348,7 +348,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
                 })
               }, {
                 default: C(() => [
-                  y(_),
+                  y(O),
                   P(" " + g(e.$l("高级表格")), 1)
                 ]),
                 _: 1
@@ -460,7 +460,7 @@ const He = { class: "tools" }, Le = { class: "title" }, ze = { class: "btn-list"
       ], 512);
     };
   }
-}), Qe = /* @__PURE__ */ Ae(je, [["__scopeId", "data-v-48633fc5"]]);
+}), We = /* @__PURE__ */ Ae(je, [["__scopeId", "data-v-48633fc5"]]);
 export {
-  Qe as default
+  We as default
 };

+ 253 - 244
lib/js/STopMenu.js

@@ -1,39 +1,39 @@
-import { ref as Ft, reactive as gn, watch as Vt, onMounted as bn, openBlock as mn, createElementBlock as wn, createElementVNode as vn, createVNode as Tn } from "vue";
-import { useRouter as An } from "vue-router";
-import { cl as Sn, ck as V, n as Cn, ad as kt, cL as Kn } from "./index2.js";
+import { ref as bn, computed as Ft, reactive as mn, watch as kt, onMounted as wn, openBlock as vn, createElementBlock as Tn, createElementVNode as An, createVNode as Vt, withCtx as Sn } from "vue";
+import { useRouter as Cn } from "vue-router";
+import { cg as xn, cf as F, n as Kn, ad as Wt, cP as On, cL as jn } from "./index2.js";
 var k = { exports: {} };
 k.exports;
 (function(p, h) {
-  var K = 200, m = "__lodash_hash_undefined__", a = 9007199254740991, _ = "[object Arguments]", W = "[object Array]", $ = "[object Boolean]", s = "[object Date]", u = "[object Error]", i = "[object Function]", d = "[object GeneratorFunction]", w = "[object Map]", R = "[object Number]", T = "[object Object]", M = "[object Promise]", at = "[object RegExp]", B = "[object Set]", st = "[object String]", it = "[object Symbol]", q = "[object WeakMap]", ct = "[object ArrayBuffer]", G = "[object DataView]", ut = "[object Float32Array]", ft = "[object Float64Array]", lt = "[object Int8Array]", pt = "[object Int16Array]", ht = "[object Int32Array]", dt = "[object Uint8Array]", _t = "[object Uint8ClampedArray]", yt = "[object Uint16Array]", gt = "[object Uint32Array]", Wt = /[\\^$.*+?()[\]{}|]/g, qt = /\w*$/, zt = /^\[object .+?Constructor\]$/, Jt = /^(?:0|[1-9]\d*)$/, o = {};
-  o[_] = o[W] = o[ct] = o[G] = o[$] = o[s] = o[ut] = o[ft] = o[lt] = o[pt] = o[ht] = o[w] = o[R] = o[T] = o[at] = o[B] = o[st] = o[it] = o[dt] = o[_t] = o[yt] = o[gt] = !0, o[u] = o[i] = o[q] = !1;
-  var Xt = typeof V == "object" && V && V.Object === Object && V, 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 Qt(t, e) {
+  var C = 200, g = "__lodash_hash_undefined__", _ = 9007199254740991, s = "[object Arguments]", I = "[object Array]", P = "[object Boolean]", $ = "[object Date]", V = "[object Error]", o = "[object Function]", c = "[object GeneratorFunction]", i = "[object Map]", d = "[object Number]", y = "[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\]$/, Xt = /^(?: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[y] = a[at] = a[R] = a[st] = a[it] = a[dt] = a[_t] = a[gt] = a[yt] = !0, a[V] = a[o] = a[W] = !1;
+  var Yt = typeof F == "object" && F && F.Object === Object && F, Zt = typeof self == "object" && self && self.Object === Object && self, b = Yt || Zt || Function("return this")(), bt = h && !h.nodeType && h, mt = bt && !0 && p && !p.nodeType && p, Qt = mt && mt.exports === bt;
+  function te(t, e) {
     return t.set(e[0], e[1]), t;
   }
-  function te(t, e) {
+  function ee(t, e) {
     return t.add(e), t;
   }
-  function ee(t, e) {
+  function ne(t, e) {
     for (var n = -1, r = t ? t.length : 0; ++n < r && e(t[n], n, t) !== !1; )
       ;
     return t;
   }
-  function ne(t, e) {
-    for (var n = -1, r = e.length, c = t.length; ++n < r; )
-      t[c + n] = e[n];
+  function re(t, e) {
+    for (var n = -1, r = e.length, u = t.length; ++n < r; )
+      t[u + n] = e[n];
     return t;
   }
   function wt(t, e, n, r) {
-    for (var c = -1, f = t ? t.length : 0; ++c < f; )
-      n = e(n, t[c], c, t);
+    for (var u = -1, f = t ? t.length : 0; ++u < f; )
+      n = e(n, t[u], u, t);
     return n;
   }
-  function re(t, e) {
+  function oe(t, e) {
     for (var n = -1, r = Array(t); ++n < t; )
       r[n] = e(n);
     return r;
   }
-  function oe(t, e) {
+  function ae(t, e) {
     return t == null ? void 0 : t[e];
   }
   function vt(t) {
@@ -47,11 +47,11 @@ k.exports;
   }
   function Tt(t) {
     var e = -1, n = Array(t.size);
-    return t.forEach(function(r, c) {
-      n[++e] = [c, r];
+    return t.forEach(function(r, u) {
+      n[++e] = [u, r];
     }), n;
   }
-  function z(t, e) {
+  function q(t, e) {
     return function(n) {
       return t(e(n));
     };
@@ -62,236 +62,236 @@ k.exports;
       n[++e] = r;
     }), n;
   }
-  var ae = Array.prototype, se = Function.prototype, U = Object.prototype, J = y["__core-js_shared__"], St = function() {
-    var t = /[^.]+$/.exec(J && J.keys && J.keys.IE_PROTO || "");
+  var se = Array.prototype, ie = Function.prototype, G = Object.prototype, z = b["__core-js_shared__"], St = function() {
+    var t = /[^.]+$/.exec(z && z.keys && z.keys.IE_PROTO || "");
     return t ? "Symbol(src)_1." + t : "";
-  }(), Ct = se.toString, v = U.hasOwnProperty, L = U.toString, ie = RegExp(
-    "^" + Ct.call(v).replace(Wt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
-  ), Kt = Zt ? y.Buffer : void 0, Ot = y.Symbol, xt = y.Uint8Array, ce = z(Object.getPrototypeOf, Object), ue = Object.create, fe = U.propertyIsEnumerable, le = ae.splice, jt = Object.getOwnPropertySymbols, pe = Kt ? Kt.isBuffer : void 0, he = z(Object.keys, Object), X = j(y, "DataView"), I = j(y, "Map"), Y = j(y, "Promise"), Z = j(y, "Set"), Q = j(y, "WeakMap"), P = j(Object, "create"), de = C(X), _e = C(I), ye = C(Y), ge = C(Z), be = C(Q), Et = Ot ? Ot.prototype : void 0, Mt = Et ? Et.valueOf : void 0;
-  function A(t) {
+  }(), Ct = ie.toString, v = G.hasOwnProperty, U = G.toString, ce = RegExp(
+    "^" + Ct.call(v).replace(qt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
+  ), xt = Qt ? b.Buffer : void 0, Kt = b.Symbol, Ot = b.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(b, "DataView"), E = O(b, "Map"), X = O(b, "Promise"), Y = O(b, "Set"), Z = O(b, "WeakMap"), M = O(Object, "create"), _e = S(J), ge = S(E), ye = S(X), be = S(Y), me = S(Z), 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; ) {
       var r = t[e];
       this.set(r[0], r[1]);
     }
   }
-  function me() {
-    this.__data__ = P ? P(null) : {};
+  function we() {
+    this.__data__ = M ? M(null) : {};
   }
-  function we(t) {
+  function ve(t) {
     return this.has(t) && delete this.__data__[t];
   }
-  function ve(t) {
+  function Te(t) {
     var e = this.__data__;
-    if (P) {
+    if (M) {
       var n = e[t];
-      return n === m ? void 0 : n;
+      return n === g ? void 0 : n;
     }
     return v.call(e, t) ? e[t] : void 0;
   }
-  function Te(t) {
+  function Ae(t) {
     var e = this.__data__;
-    return P ? e[t] !== void 0 : v.call(e, t);
+    return M ? e[t] !== void 0 : v.call(e, t);
   }
-  function Ae(t, e) {
+  function Se(t, e) {
     var n = this.__data__;
-    return n[t] = P && e === void 0 ? m : e, this;
+    return n[t] = M && e === void 0 ? g : e, this;
   }
-  A.prototype.clear = me, A.prototype.delete = we, A.prototype.get = ve, A.prototype.has = Te, A.prototype.set = Ae;
-  function g(t) {
+  T.prototype.clear = we, T.prototype.delete = ve, T.prototype.get = Te, T.prototype.has = Ae, T.prototype.set = Se;
+  function m(t) {
     var e = -1, n = t ? t.length : 0;
     for (this.clear(); ++e < n; ) {
       var r = t[e];
       this.set(r[0], r[1]);
     }
   }
-  function Se() {
+  function Ce() {
     this.__data__ = [];
   }
-  function Ce(t) {
-    var e = this.__data__, n = H(e, t);
+  function xe(t) {
+    var e = this.__data__, n = L(e, t);
     if (n < 0)
       return !1;
     var r = e.length - 1;
-    return n == r ? e.pop() : le.call(e, n, 1), !0;
+    return n == r ? e.pop() : pe.call(e, n, 1), !0;
   }
   function Ke(t) {
-    var e = this.__data__, n = H(e, t);
+    var e = this.__data__, n = L(e, t);
     return n < 0 ? void 0 : e[n][1];
   }
   function Oe(t) {
-    return H(this.__data__, t) > -1;
+    return L(this.__data__, t) > -1;
   }
-  function xe(t, e) {
-    var n = this.__data__, r = H(n, t);
+  function je(t, e) {
+    var n = this.__data__, r = L(n, t);
     return r < 0 ? n.push([t, e]) : n[r][1] = e, this;
   }
-  g.prototype.clear = Se, g.prototype.delete = Ce, g.prototype.get = Ke, g.prototype.has = Oe, g.prototype.set = xe;
-  function O(t) {
+  m.prototype.clear = Ce, m.prototype.delete = xe, m.prototype.get = Ke, m.prototype.has = Oe, m.prototype.set = je;
+  function x(t) {
     var e = -1, n = t ? t.length : 0;
     for (this.clear(); ++e < n; ) {
       var r = t[e];
       this.set(r[0], r[1]);
     }
   }
-  function je() {
+  function Ee() {
     this.__data__ = {
-      hash: new A(),
-      map: new (I || g)(),
-      string: new A()
+      hash: new T(),
+      map: new (E || m)(),
+      string: new T()
     };
   }
-  function Ee(t) {
-    return N(this, t).delete(t);
-  }
   function Me(t) {
-    return N(this, t).get(t);
+    return H(this, t).delete(t);
   }
   function Ie(t) {
-    return N(this, t).has(t);
+    return H(this, t).get(t);
   }
-  function Pe(t, e) {
-    return N(this, t).set(t, e), this;
+  function Pe(t) {
+    return H(this, t).has(t);
   }
-  O.prototype.clear = je, O.prototype.delete = Ee, O.prototype.get = Me, O.prototype.has = Ie, O.prototype.set = Pe;
-  function x(t) {
-    this.__data__ = new g(t);
+  function $e(t, e) {
+    return H(this, t).set(t, e), this;
   }
-  function $e() {
-    this.__data__ = new g();
+  x.prototype.clear = Ee, x.prototype.delete = Me, x.prototype.get = Ie, x.prototype.has = Pe, x.prototype.set = $e;
+  function K(t) {
+    this.__data__ = new m(t);
   }
-  function Re(t) {
-    return this.__data__.delete(t);
+  function Re() {
+    this.__data__ = new m();
   }
   function Be(t) {
-    return this.__data__.get(t);
+    return this.__data__.delete(t);
   }
   function Ge(t) {
+    return this.__data__.get(t);
+  }
+  function Ue(t) {
     return this.__data__.has(t);
   }
-  function Ue(t, e) {
+  function Le(t, e) {
     var n = this.__data__;
-    if (n instanceof g) {
+    if (n instanceof m) {
       var r = n.__data__;
-      if (!I || r.length < K - 1)
+      if (!E || r.length < C - 1)
         return r.push([t, e]), this;
-      n = this.__data__ = new O(r);
+      n = this.__data__ = new x(r);
     }
     return n.set(t, e), this;
   }
-  x.prototype.clear = $e, x.prototype.delete = Re, x.prototype.get = Be, x.prototype.has = Ge, x.prototype.set = Ue;
-  function Le(t, e) {
-    var n = nt(t) || fn(t) ? re(t.length, String) : [], r = n.length, c = !!r;
+  K.prototype.clear = Re, K.prototype.delete = Be, K.prototype.get = Ge, K.prototype.has = Ue, K.prototype.set = Le;
+  function He(t, e) {
+    var n = et(t) || ln(t) ? oe(t.length, String) : [], r = n.length, u = !!r;
     for (var f in t)
-      v.call(t, f) && !(c && (f == "length" || an(f, r))) && n.push(f);
+      v.call(t, f) && !(u && (f == "length" || sn(f, r))) && n.push(f);
     return n;
   }
   function It(t, e, n) {
     var r = t[e];
     (!(v.call(t, e) && Bt(r, n)) || n === void 0 && !(e in t)) && (t[e] = n);
   }
-  function H(t, e) {
+  function L(t, e) {
     for (var n = t.length; n--; )
       if (Bt(t[n][0], e))
         return n;
     return -1;
   }
-  function He(t, e) {
-    return t && Pt(e, rt(e), t);
+  function Ne(t, e) {
+    return t && Pt(e, nt(e), t);
   }
-  function tt(t, e, n, r, c, f, b) {
+  function Q(t, e, n, r, u, f, w) {
     var l;
-    if (r && (l = f ? r(t, c, f, b) : r(t)), l !== void 0)
+    if (r && (l = f ? r(t, u, f, w) : r(t)), l !== void 0)
       return l;
-    if (!D(t))
+    if (!N(t))
       return t;
-    var Lt = nt(t);
+    var Lt = et(t);
     if (Lt) {
-      if (l = nn(t), !e)
-        return Qe(t, l);
+      if (l = rn(t), !e)
+        return tn(t, l);
     } else {
-      var E = S(t), Ht = E == i || E == d;
-      if (pn(t))
-        return We(t, e);
-      if (E == T || E == _ || Ht && !f) {
+      var j = A(t), Ht = j == o || j == c;
+      if (hn(t))
+        return qe(t, e);
+      if (j == y || j == s || Ht && !f) {
         if (vt(t))
           return f ? t : {};
-        if (l = rn(Ht ? {} : t), !e)
-          return tn(t, He(l, t));
+        if (l = on(Ht ? {} : t), !e)
+          return en(t, Ne(l, t));
       } else {
-        if (!o[E])
+        if (!a[j])
           return f ? t : {};
-        l = on(t, E, tt, e);
+        l = an(t, j, Q, e);
       }
     }
-    b || (b = new x());
-    var Nt = b.get(t);
+    w || (w = new K());
+    var Nt = w.get(t);
     if (Nt)
       return Nt;
-    if (b.set(t, l), !Lt)
-      var Dt = n ? en(t) : rt(t);
-    return ee(Dt || t, function(ot, F) {
-      Dt && (F = ot, ot = t[F]), It(l, F, tt(ot, e, n, r, F, t, b));
+    if (w.set(t, l), !Lt)
+      var Dt = n ? nn(t) : nt(t);
+    return ne(Dt || t, function(rt, D) {
+      Dt && (D = rt, rt = t[D]), It(l, D, Q(rt, e, n, r, D, t, w));
     }), l;
   }
-  function Ne(t) {
-    return D(t) ? ue(t) : {};
+  function De(t) {
+    return N(t) ? fe(t) : {};
   }
-  function De(t, e, n) {
+  function Fe(t, e, n) {
     var r = e(t);
-    return nt(t) ? r : ne(r, n(t));
+    return et(t) ? r : re(r, n(t));
   }
-  function Fe(t) {
-    return L.call(t);
+  function ke(t) {
+    return U.call(t);
   }
   function Ve(t) {
-    if (!D(t) || cn(t))
+    if (!N(t) || un(t))
       return !1;
-    var e = Ut(t) || vt(t) ? ie : zt;
-    return e.test(C(t));
+    var e = Ut(t) || vt(t) ? ce : Jt;
+    return e.test(S(t));
   }
-  function ke(t) {
+  function We(t) {
     if (!Rt(t))
-      return he(t);
+      return de(t);
     var e = [];
     for (var n in Object(t))
       v.call(t, n) && n != "constructor" && e.push(n);
     return e;
   }
-  function We(t, e) {
+  function qe(t, e) {
     if (e)
       return t.slice();
     var n = new t.constructor(t.length);
     return t.copy(n), n;
   }
-  function et(t) {
+  function tt(t) {
     var e = new t.constructor(t.byteLength);
-    return new xt(e).set(new xt(t)), e;
+    return new Ot(e).set(new Ot(t)), e;
   }
-  function qe(t, e) {
-    var n = e ? et(t.buffer) : t.buffer;
+  function ze(t, e) {
+    var n = e ? tt(t.buffer) : t.buffer;
     return new t.constructor(n, t.byteOffset, t.byteLength);
   }
-  function ze(t, e, n) {
+  function Je(t, e, n) {
     var r = e ? n(Tt(t), !0) : Tt(t);
-    return wt(r, Qt, new t.constructor());
+    return wt(r, te, new t.constructor());
   }
-  function Je(t) {
-    var e = new t.constructor(t.source, qt.exec(t));
+  function Xe(t) {
+    var e = new t.constructor(t.source, zt.exec(t));
     return e.lastIndex = t.lastIndex, e;
   }
-  function Xe(t, e, n) {
+  function Ye(t, e, n) {
     var r = e ? n(At(t), !0) : At(t);
-    return wt(r, te, new t.constructor());
+    return wt(r, ee, new t.constructor());
   }
-  function Ye(t) {
+  function Ze(t) {
     return Mt ? Object(Mt.call(t)) : {};
   }
-  function Ze(t, e) {
-    var n = e ? et(t.buffer) : t.buffer;
+  function Qe(t, e) {
+    var n = e ? tt(t.buffer) : t.buffer;
     return new t.constructor(n, t.byteOffset, t.length);
   }
-  function Qe(t, e) {
+  function tn(t, e) {
     var n = -1, r = t.length;
     for (e || (e = Array(r)); ++n < r; )
       e[n] = t[n];
@@ -299,61 +299,61 @@ k.exports;
   }
   function Pt(t, e, n, r) {
     n || (n = {});
-    for (var c = -1, f = e.length; ++c < f; ) {
-      var b = e[c], l = void 0;
-      It(n, b, l === void 0 ? t[b] : l);
+    for (var u = -1, f = e.length; ++u < f; ) {
+      var w = e[u], l = void 0;
+      It(n, w, l === void 0 ? t[w] : l);
     }
     return n;
   }
-  function tn(t, e) {
+  function en(t, e) {
     return Pt(t, $t(t), e);
   }
-  function en(t) {
-    return De(t, rt, $t);
+  function nn(t) {
+    return Fe(t, nt, $t);
   }
-  function N(t, e) {
+  function H(t, e) {
     var n = t.__data__;
-    return sn(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
+    return cn(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
   }
-  function j(t, e) {
-    var n = oe(t, e);
+  function O(t, e) {
+    var n = ae(t, e);
     return Ve(n) ? n : void 0;
   }
-  var $t = jt ? z(jt, Object) : _n, S = Fe;
-  (X && S(new X(new ArrayBuffer(1))) != G || I && S(new I()) != w || Y && S(Y.resolve()) != M || Z && S(new Z()) != B || Q && S(new Q()) != q) && (S = function(t) {
-    var e = L.call(t), n = e == T ? t.constructor : void 0, r = n ? C(n) : void 0;
+  var $t = jt ? q(jt, Object) : gn, A = ke;
+  (J && A(new J(new ArrayBuffer(1))) != B || E && A(new E()) != i || X && A(X.resolve()) != ot || Y && A(new Y()) != R || Z && A(new Z()) != W) && (A = function(t) {
+    var e = U.call(t), n = e == y ? t.constructor : void 0, r = n ? S(n) : void 0;
     if (r)
       switch (r) {
-        case de:
-          return G;
         case _e:
-          return w;
-        case ye:
-          return M;
-        case ge:
           return B;
+        case ge:
+          return i;
+        case ye:
+          return ot;
         case be:
-          return q;
+          return R;
+        case me:
+          return W;
       }
     return e;
   });
-  function nn(t) {
+  function rn(t) {
     var e = t.length, n = t.constructor(e);
     return e && typeof t[0] == "string" && v.call(t, "index") && (n.index = t.index, n.input = t.input), n;
   }
-  function rn(t) {
-    return typeof t.constructor == "function" && !Rt(t) ? Ne(ce(t)) : {};
+  function on(t) {
+    return typeof t.constructor == "function" && !Rt(t) ? De(ue(t)) : {};
   }
-  function on(t, e, n, r) {
-    var c = t.constructor;
+  function an(t, e, n, r) {
+    var u = t.constructor;
     switch (e) {
       case ct:
-        return et(t);
+        return tt(t);
+      case P:
       case $:
-      case s:
-        return new c(+t);
-      case G:
-        return qe(t, r);
+        return new u(+t);
+      case B:
+        return ze(t, r);
       case ut:
       case ft:
       case lt:
@@ -361,37 +361,37 @@ k.exports;
       case ht:
       case dt:
       case _t:
-      case yt:
       case gt:
-        return Ze(t, r);
-      case w:
-        return ze(t, r, n);
-      case R:
+      case yt:
+        return Qe(t, r);
+      case i:
+        return Je(t, r, n);
+      case d:
       case st:
-        return new c(t);
+        return new u(t);
       case at:
-        return Je(t);
-      case B:
-        return Xe(t, r, n);
+        return Xe(t);
+      case R:
+        return Ye(t, r, n);
       case it:
-        return Ye(t);
+        return Ze(t);
     }
   }
-  function an(t, e) {
-    return e = e == null ? a : e, !!e && (typeof t == "number" || Jt.test(t)) && t > -1 && t % 1 == 0 && t < e;
+  function sn(t, e) {
+    return e = e == null ? _ : e, !!e && (typeof t == "number" || Xt.test(t)) && t > -1 && t % 1 == 0 && t < e;
   }
-  function sn(t) {
+  function cn(t) {
     var e = typeof t;
     return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
   }
-  function cn(t) {
+  function un(t) {
     return !!St && St in t;
   }
   function Rt(t) {
-    var e = t && t.constructor, n = typeof e == "function" && e.prototype || U;
+    var e = t && t.constructor, n = typeof e == "function" && e.prototype || G;
     return t === n;
   }
-  function C(t) {
+  function S(t) {
     if (t != null) {
       try {
         return Ct.call(t);
@@ -404,81 +404,84 @@ k.exports;
     }
     return "";
   }
-  function un(t) {
-    return tt(t, !0, !0);
+  function fn(t) {
+    return Q(t, !0, !0);
   }
   function Bt(t, e) {
     return t === e || t !== t && e !== e;
   }
-  function fn(t) {
-    return ln(t) && v.call(t, "callee") && (!fe.call(t, "callee") || L.call(t) == _);
+  function ln(t) {
+    return pn(t) && v.call(t, "callee") && (!le.call(t, "callee") || U.call(t) == s);
   }
-  var nt = Array.isArray;
+  var et = Array.isArray;
   function Gt(t) {
-    return t != null && hn(t.length) && !Ut(t);
+    return t != null && dn(t.length) && !Ut(t);
   }
-  function ln(t) {
-    return dn(t) && Gt(t);
+  function pn(t) {
+    return _n(t) && Gt(t);
   }
-  var pn = pe || yn;
+  var hn = he || yn;
   function Ut(t) {
-    var e = D(t) ? L.call(t) : "";
-    return e == i || e == d;
+    var e = N(t) ? U.call(t) : "";
+    return e == o || e == c;
   }
-  function hn(t) {
-    return typeof t == "number" && t > -1 && t % 1 == 0 && t <= a;
+  function dn(t) {
+    return typeof t == "number" && t > -1 && t % 1 == 0 && t <= _;
   }
-  function D(t) {
+  function N(t) {
     var e = typeof t;
     return !!t && (e == "object" || e == "function");
   }
-  function dn(t) {
+  function _n(t) {
     return !!t && typeof t == "object";
   }
-  function rt(t) {
-    return Gt(t) ? Le(t) : ke(t);
+  function nt(t) {
+    return Gt(t) ? He(t) : We(t);
   }
-  function _n() {
+  function gn() {
     return [];
   }
   function yn() {
     return !1;
   }
-  p.exports = un;
+  p.exports = fn;
 })(k, k.exports);
-var On = k.exports;
-const xn = /* @__PURE__ */ Sn(On);
-function jn(p) {
+var En = k.exports;
+const Mn = /* @__PURE__ */ xn(En);
+function In(p) {
   if (!p) return null;
-  p = xn(p);
+  p = Mn(p);
   let h = Array.isArray(p) ? p.concat() : [p];
   for (; h.length; ) {
-    const K = h.length;
-    for (let m = 0; m < K; m++) {
-      const a = h.shift();
-      !a.children || !a.children.length || (a.children.forEach((_) => {
-        _.path[0] !== "/" && !_.path.startsWith("http") && (_.path = a.path.replace(/(\w*)[/]*$/, `$1/${_.path}`));
-      }), h = h.concat(a.children));
+    const C = h.length;
+    for (let g = 0; g < C; g++) {
+      const _ = h.shift();
+      !_.children || !_.children.length || (_.children.forEach((s) => {
+        s.path[0] !== "/" && !s.path.startsWith("http") && (s.path = _.path.replace(/(\w*)[/]*$/, `$1/${s.path}`));
+      }), h = h.concat(_.children));
     }
   }
   return p;
 }
-const En = { class: "s-menu-top-common" }, Mn = { class: "menu-wrap" }, In = {
+const Pn = { class: "s-menu-top-common" }, $n = { class: "menu-wrap" }, Rn = {
   __name: "STopMenu",
   setup(p) {
-    const h = An(), K = Ft([]), m = Ft(""), a = gn({
+    const h = Cn(), C = Wt(), g = bn(""), _ = Ft(() => {
+      const o = window.$menuTheme;
+      return g.value !== "dark" || !o || !o.token ? {} : { components: { Menu: o.token } };
+    }), s = mn({
       collapsed: !1,
       selectedKeys: [],
       openKeys: [],
       preOpenKeys: []
     });
-    Vt(
-      () => a.openKeys,
-      (s, u) => {
-        a.preOpenKeys = u;
+    kt(
+      () => s.openKeys,
+      (o, c) => {
+        s.preOpenKeys = c;
       }
     );
-    const _ = (s) => s.map((i) => {
+    const I = (o) => o.map((i) => {
       const d = {
         key: i.path,
         // icon: item.icon ? () => h(item.icon) : null,
@@ -487,52 +490,58 @@ const En = { class: "s-menu-top-common" }, Mn = { class: "menu-wrap" }, In = {
         title: window.$l(i.name || i),
         path: i.path
       };
-      return i.children && (d.children = _(i.children)), d;
-    }), W = (s) => {
-      h.push(s.key), a.selectedKeys = [s.key], window.$utils.ls.set("selectedKeys", a.selectedKeys);
-    }, $ = (s) => {
-      const u = s.filter((w) => !a.preOpenKeys.includes(w)), i = u[u.length - 1];
-      a.openKeys = [i], kt().setMenuOpenKeys(a.openKeys);
-    };
-    return bn(() => {
-      m.value = window.$utils.env.VITE_APP_MENU_THEME || "dark";
-      const s = kt(), u = s.dynamics, i = jn(u.find((T) => T.path === "/")), d = i && i.children || [];
-      K.value = _([...d].filter((T) => {
-        var M;
-        return !((M = T.meta) != null && M.hidden);
+      return i.children && (d.children = I(i.children)), d;
+    }), P = Ft(() => {
+      const o = In(C.dynamics.find((i) => i.path === "/")), c = o && o.children || [];
+      return I([...c].filter((i) => {
+        var d;
+        return !((d = i.meta) != null && d.hidden);
       }));
-      const w = location.pathname;
-      window.$utils.ls.set("selectedKeys", [w]), a.selectedKeys = window.$utils.ls.get("selectedKeys") || [];
-      const R = s.openKeys || [];
-      a.openKeys = R;
-    }), Vt(
+    }), $ = (o) => {
+      h.push(o.key), s.selectedKeys = [o.key], window.$utils.ls.set("selectedKeys", s.selectedKeys);
+    }, V = (o) => {
+      const c = o.filter((y) => !s.preOpenKeys.includes(y)), i = c[c.length - 1];
+      s.openKeys = [i], Wt().setMenuOpenKeys(s.openKeys);
+    };
+    return wn(() => {
+      g.value = window.$utils.env.VITE_APP_MENU_THEME || "dark";
+      const o = location.pathname;
+      window.$utils.ls.set("selectedKeys", [o]), s.selectedKeys = window.$utils.ls.get("selectedKeys") || [];
+      const c = C.openKeys || [];
+      s.openKeys = c;
+    }), kt(
       () => {
-        var s;
-        return (s = h.currentRoute.value) == null ? void 0 : s.path;
+        var o;
+        return (o = h.currentRoute.value) == null ? void 0 : o.path;
       },
-      (s) => {
-        s && (a.selectedKeys = [s], window.$utils.ls.set("selectedKeys", a.selectedKeys));
+      (o) => {
+        o && (s.selectedKeys = [o], window.$utils.ls.set("selectedKeys", s.selectedKeys));
       }
-    ), (s, u) => {
-      const i = Kn;
-      return mn(), wn("div", En, [
-        vn("div", Mn, [
-          Tn(i, {
-            openKeys: a.openKeys,
-            "onUpdate:openKeys": u[0] || (u[0] = (d) => a.openKeys = d),
-            selectedKeys: a.selectedKeys,
-            "onUpdate:selectedKeys": u[1] || (u[1] = (d) => a.selectedKeys = d),
-            mode: "horizontal",
-            theme: m.value,
-            items: K.value,
-            onSelect: W,
-            onOpenChange: $
-          }, null, 8, ["openKeys", "selectedKeys", "theme", "items"])
+    ), (o, c) => {
+      const i = jn, d = On;
+      return vn(), Tn("div", Pn, [
+        An("div", $n, [
+          Vt(d, { theme: _.value }, {
+            default: Sn(() => [
+              Vt(i, {
+                openKeys: s.openKeys,
+                "onUpdate:openKeys": c[0] || (c[0] = (y) => s.openKeys = y),
+                selectedKeys: s.selectedKeys,
+                "onUpdate:selectedKeys": c[1] || (c[1] = (y) => s.selectedKeys = y),
+                mode: "horizontal",
+                theme: g.value,
+                items: P.value,
+                onSelect: $,
+                onOpenChange: V
+              }, null, 8, ["openKeys", "selectedKeys", "theme", "items"])
+            ]),
+            _: 1
+          }, 8, ["theme"])
         ])
       ]);
     };
   }
-}, Bn = /* @__PURE__ */ Cn(In, [["__scopeId", "data-v-48e1b3d0"]]);
+}, Ln = /* @__PURE__ */ Kn(Rn, [["__scopeId", "data-v-bc74c88c"]]);
 export {
-  Bn as default
+  Ln as default
 };

Diferenças do arquivo suprimidas por serem muito extensas
+ 12 - 12
lib/js/components-doc.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 170 - 170
lib/js/dayjs.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 6 - 6
lib/js/docs.js


+ 33 - 33
lib/js/hasIn.js

@@ -1,4 +1,4 @@
-import { at as o, bL as l, bi as f, bM as h, bN as O, b8 as T, bO as y, bP as b, be as x, bQ as C, bR as I } from "./index2.js";
+import { at as o, bF as l, ba as f, bG as h, bH as O, b0 as T, bI as y, bJ as b, b6 as x, bK as C, bL as I } from "./index2.js";
 function v(n, r) {
   for (var e = -1, i = n == null ? 0 : n.length, t = Array(i); ++e < i; )
     t[e] = r(n[e], e, n);
@@ -31,11 +31,11 @@ function M(n, r, e) {
   }
   return n.apply(r, e);
 }
-var A = 800, N = 16, R = Date.now;
-function _(n) {
+var A = 800, _ = 16, N = Date.now;
+function R(n) {
   var r = 0, e = 0;
   return function() {
-    var i = R(), t = N - (i - e);
+    var i = N(), t = _ - (i - e);
     if (e = i, t > 0) {
       if (++r >= A)
         return arguments[0];
@@ -49,20 +49,20 @@ function z(n) {
     return n;
   };
 }
-var $ = h ? function(n, r) {
+var F = h ? function(n, r) {
   return h(n, "toString", {
     configurable: !0,
     enumerable: !1,
     value: z(r),
     writable: !0
   });
-} : E, F = _($), H = Object.prototype, V = H.hasOwnProperty;
+} : E, H = R(F), $ = Object.prototype, K = $.hasOwnProperty;
 function en(n, r, e) {
   var i = n[r];
-  (!(V.call(n, r) && O(i, e)) || e === void 0 && !(r in n)) && T(n, r, e);
+  (!(K.call(n, r) && O(i, e)) || e === void 0 && !(r in n)) && T(n, r, e);
 }
 var g = Math.max;
-function D(n, r, e) {
+function V(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 D(n, r, e) {
     return s[r] = e(u), M(n, this, s);
   };
 }
-var K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, L = /^\w*$/;
-function U(n, r) {
+var D = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, G = /^\w*$/;
+function L(n, r) {
   if (o(n))
     return !1;
   var e = typeof n;
-  return e == "number" || e == "symbol" || e == "boolean" || n == null || l(n) ? !0 : L.test(n) || !K.test(n) || r != null && n in Object(r);
+  return e == "number" || e == "symbol" || e == "boolean" || n == null || l(n) ? !0 : G.test(n) || !D.test(n) || r != null && n in Object(r);
 }
-var X = "Expected a function";
+var U = "Expected a function";
 function c(n, r) {
   if (typeof n != "function" || r != null && typeof r != "function")
-    throw new TypeError(X);
+    throw new TypeError(U);
   var e = function() {
     var i = arguments, t = r ? r.apply(this, i) : i[0], a = e.cache;
     if (a.has(t))
@@ -93,35 +93,35 @@ function c(n, r) {
   return e.cache = new (c.Cache || y)(), e;
 }
 c.Cache = y;
-var Z = 500;
-function q(n) {
+var X = 500;
+function Z(n) {
   var r = c(n, function(i) {
-    return e.size === Z && e.clear(), i;
+    return e.size === X && e.clear(), i;
   }), e = r.cache;
   return r;
 }
-var G = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Q = /\\(\\)?/g, B = q(function(n) {
+var q = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, J = /\\(\\)?/g, B = Z(function(n) {
   var r = [];
-  return n.charCodeAt(0) === 46 && r.push(""), n.replace(G, function(e, i, t, a) {
-    r.push(t ? a.replace(Q, "$1") : i || e);
+  return n.charCodeAt(0) === 46 && r.push(""), n.replace(q, function(e, i, t, a) {
+    r.push(t ? a.replace(J, "$1") : i || e);
   }), r;
 });
-function J(n) {
+function Q(n) {
   return n == null ? "" : w(n);
 }
-function P(n, r) {
-  return o(n) ? n : U(n, r) ? [n] : B(J(n));
+function S(n, r) {
+  return o(n) ? n : L(n, r) ? [n] : B(Q(n));
 }
-function S(n) {
+function P(n) {
   if (typeof n == "string" || l(n))
     return n;
   var r = n + "";
   return r == "0" && 1 / n == -1 / 0 ? "-0" : r;
 }
 function tn(n, r) {
-  r = P(r, n);
+  r = S(r, n);
   for (var e = 0, i = r.length; n != null && e < i; )
-    n = n[S(r[e++])];
+    n = n[P(r[e++])];
   return e && e == i ? n : void 0;
 }
 var m = f ? f.isConcatSpreadable : void 0;
@@ -141,15 +141,15 @@ function k(n) {
   return r ? Y(n) : [];
 }
 function an(n) {
-  return F(D(n, void 0, k), n + "");
+  return H(V(n, void 0, k), n + "");
 }
 function j(n, r) {
   return n != null && r in Object(n);
 }
 function nn(n, r, e) {
-  r = P(r, n);
+  r = S(r, n);
   for (var i = -1, t = r.length, a = !1; ++i < t; ) {
-    var u = S(r[i]);
+    var u = P(r[i]);
     if (!(a = n != null && e(n, u)))
       break;
     n = n[u];
@@ -162,13 +162,13 @@ function un(n, r) {
 export {
   en as a,
   tn as b,
-  U as c,
+  L as c,
   v as d,
-  P as e,
+  S as e,
   an as f,
   un as h,
   E as i,
-  D as o,
-  F as s,
-  S as t
+  V as o,
+  H 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, aO 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, aP as ve, aQ as ce, aR as be, aS as de, b as Ce, c as B, o as pe, P as x, aT as ye, aG as Ie, F as xe, t as we, aU as Pe, aV 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, cD 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, br as ve, c1 as ce, bt as be, cE as de, b as Ce, c as B, o as pe, P as x, cF as ye, aG as Ie, F as xe, t as we, cG as Pe, cH 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})`
   };
-}, Re = O({
+}, Ae = 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)]);
     };
   }
-}), Ae = {
+}), Re = {
   percent: 0,
   prefixCls: "vc-progress",
   strokeColor: "#2db7f5",
@@ -270,7 +270,7 @@ const Fe = O({
     MODE: 3
   },
   name: "VCCircle",
-  props: j(Le, Ae),
+  props: j(Le, Re),
   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(Re, P(P({}, e), {}, {
+      }) : p(Ae, 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 R = p("div", P(P({}, pe(o, ["__legacy"])), {}, {
+      const A = 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(R) : R;
+      return e.itemRender ? e.itemRender(A) : A;
     };
   }
 });
@@ -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, R = 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, A = 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: R
+        class: A
       }, 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 A = (e, t) => {
+const R = (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 A = (e, t) => {
       color: e.colorTextDescription,
       fontSize: e.fontSize
     }
-  }, A(H.wait, e)), A(H.process, e)), {
+  }, R(H.wait, e)), R(H.process, e)), {
     [`${n}-process > ${n}-container > ${n}-title`]: {
       fontWeight: e.fontWeightStrong
     }
-  }), A(H.finish, e)), A(H.error, e)), {
+  }), R(H.finish, e)), R(H.error, e)), {
     [`${n}${t}-next-error > ${t}-item-title::after`]: {
       background: e.colorError
     },

+ 30 - 30
lib/js/index11.js

@@ -1,5 +1,5 @@
-import { b7 as Xe, bR as ft, w as ge, c as le, K as J, d as T, P as we, H as D, cI as ht, cJ as gt, cK as mt, cL as $t, cM as yt, av as j, cN as he, R as Fe, _ as te, e as me, F as xt, cw as je, g as _t, m as St, r as tt, t as Ct, cO as at, aN as Tt, o as wt, i as nt, E as Pt, b_ as Rt, h as De, u as It, c7 as Et, L as Ve, ak as Bt, aQ 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 { a$ as Xe, bL as ft, w as ge, c as le, K as J, d as T, P as we, H as D, cI as ht, cJ as gt, cK as mt, cL as $t, cM as yt, av as j, cN as he, R as Fe, _ as te, e as me, F as xt, cr as je, g as _t, m as St, r as tt, t as Ct, cO as at, aN as Tt, o as wt, i as nt, E as Pt, bU as Rt, h as De, u as It, c2 as Et, L as Ve, ak as Bt, c1 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 { 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 = q();
     function l(v) {
       var d;
       !((d = e.tab) === null || d === void 0) && d.disabled || e.onClick(v);
@@ -184,7 +184,7 @@ const Zt = ae({
   top: 0
 };
 function Jt(e, t) {
-  const a = Q(/* @__PURE__ */ new Map());
+  const a = q(/* @__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 = q();
     return a({
       domRef: o
     }), () => {
@@ -244,7 +244,7 @@ const lt = ae({
       }, [n.addIcon ? n.addIcon() : "+"]);
     };
   }
-}), Qt = {
+}), qt = {
   prefixCls: {
     type: String
   },
@@ -283,13 +283,13 @@ const lt = ae({
   },
   popupClassName: String,
   getPopupContainer: j()
-}, qt = ae({
+}, Qt = ae({
   compatConfig: {
     MODE: 3
   },
   name: "OperationNode",
   inheritAttrs: !1,
-  props: Qt,
+  props: qt,
   emits: ["tabClick"],
   slots: Object,
   setup(e, t) {
@@ -386,10 +386,10 @@ const lt = ae({
         overlay: () => g($t, {
           onClick: (I) => {
             let {
-              key: q,
+              key: Q,
               domEvent: N
             } = I;
-            $(q, N), l(!1);
+            $(Q, N), l(!1);
           },
           id: p.value,
           tabindex: -1,
@@ -399,7 +399,7 @@ const lt = ae({
           "aria-label": G !== void 0 ? G : "expanded dropdown"
         }, {
           default: () => [w.map((I) => {
-            var q, N;
+            var Q, N;
             const V = r && I.closable !== !1 && !I.disabled;
             return g(yt, {
               key: I.key,
@@ -416,7 +416,7 @@ const lt = ae({
                 onClick: (Y) => {
                   Y.stopPropagation(), h(Y, I.key);
                 }
-              }, [((q = I.closeIcon) === null || q === void 0 ? void 0 : q.call(I)) || ((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: q([]),
+  prefixCls: q()
 });
 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 = q();
   function S(r) {
     const {
       screenX: m,
@@ -521,7 +521,7 @@ function ta(e, t) {
       }, _e);
     }
   }
-  const y = Q();
+  const y = q();
   function x(r) {
     const {
       deltaX: m,
@@ -531,7 +531,7 @@ function ta(e, t) {
     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 = q({
     onTouchStart: S,
     onTouchMove: h,
     onTouchEnd: c,
@@ -565,14 +565,14 @@ function ta(e, t) {
   });
 }
 function Je(e, t) {
-  const a = Q(e);
+  const a = q(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 qe = {
   width: 0,
   height: 0,
   left: 0,
@@ -628,7 +628,7 @@ const Qe = {
     y: d
   } = e.getBoundingClientRect();
   return Math.abs(n - a) < 1 ? [n, s, v - t.x, d - t.y] : [a, i, l, o];
-}, qe = ae({
+}, Qe = ae({
   compatConfig: {
     MODE: 3
   },
@@ -653,7 +653,7 @@ const Qe = {
       !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), [E, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), I = 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 = Jt(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);
     });
@@ -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) || qe;
         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) || qe)[b] < _) {
           A = X + 1;
           break;
         }
@@ -877,12 +877,12 @@ const Qe = {
             style: ut.value
           }, null)])]
         })])]
-      }), g(qt, te(te({}, e), {}, {
+      }), g(Qt, te(te({}, e), {}, {
         removeAriaLabel: B == null ? void 0 : B.removeAriaLabel,
         ref: v,
         prefixCls: A,
         tabs: Oe.value,
-        class: !X && q.value
+        class: !X && Q.value
       }), it(i, ["moreIcon"])), g(Ee, {
         position: "right",
         prefixCls: A,
@@ -1920,7 +1920,7 @@ const fa = ae({
         renderTabBar: se = i.renderTabBar,
         onTabScroll: ce,
         hideAdd: I,
-        centered: q
+        centered: Q
       } = e, N = {
         id: K.value,
         activeKey: x.value,
@@ -1956,8 +1956,8 @@ const fa = ae({
         popupClassName: le(e.popupClassName, p.value)
       });
       se ? Y = se(T(T({}, ue), {
-        DefaultTabBar: qe
-      })) : Y = g(qe, ue, it(i, ["moreIcon", "leftExtra", "rightExtra", "tabBarExtraContent"]));
+        DefaultTabBar: Qe
+      })) : Y = g(Qe, ue, it(i, ["moreIcon", "leftExtra", "rightExtra", "tabBarExtraContent"]));
       const z = o.value;
       return d(g("div", te(te({}, a), {}, {
         id: u,
@@ -1966,7 +1966,7 @@ const fa = ae({
           [`${z}-${n.value}`]: n.value,
           [`${z}-card`]: ["card", "editable-card"].includes($),
           [`${z}-editable-card`]: $ === "editable-card",
-          [`${z}-centered`]: q,
+          [`${z}-centered`]: Q,
           [`${z}-mobile`]: c.value,
           [`${z}-editable`]: $ === "editable-card",
           [`${z}-rtl`]: S.value
@@ -2056,7 +2056,7 @@ const fa = ae({
       attrs: a,
       slots: i
     } = t;
-    const o = Q(e.forceRender);
+    const o = q(e.forceRender);
     ie([() => e.active, () => e.destroyInactiveTabPane], () => {
       e.active ? o.value = !0 : e.destroyInactiveTabPane && (o.value = !1);
     }, {

+ 21 - 21
lib/js/index12.js

@@ -1,6 +1,6 @@
-import { aX as A, aY as g, aZ as w, a_ as R, _ as v, d as _, a$ as m, b0 as j, b1 as M, b2 as U, b3 as G, b4 as D, b5 as F } from "./index2.js";
-import { defineComponent as a, createVNode as p } from "vue";
-const P = a({
+import { aP as A, aQ as R, aR as g, aS as w, _ as v, d as p, aT as m, aU as j, aV as U, aW as M, aX as G, aY as P, aZ as V } from "./index2.js";
+import { defineComponent as t, createVNode as _ } from "vue";
+const D = t({
   compatConfig: {
     MODE: 3
   },
@@ -11,10 +11,10 @@ const P = a({
     } = l;
     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)]);
     };
   }
-}), V = a({
+}), F = t({
   name: "ATableSummaryCell",
   props: ["index", "colSpan", "rowSpan", "align"],
   setup(n, l) {
@@ -22,31 +22,31 @@ const P = a({
       attrs: o,
       slots: e
     } = l;
-    const b = A(), T = g();
+    const T = A(), x = R();
     return () => {
       const {
-        index: t,
+        index: a,
         colSpan: s = 1,
-        rowSpan: x,
+        rowSpan: b,
         align: f
       } = n, {
         prefixCls: E,
         direction: I
-      } = b, {
+      } = T, {
         scrollColumnIndex: N,
         stickyOffsets: O,
         flattenColumns: y
-      } = T, S = t + s - 1 + 1 === N ? s + 1 : s, L = w(t, t + S - 1, y, O, I);
-      return p(R, v({
+      } = x, S = a + s - 1 + 1 === N ? s + 1 : s, L = g(a, a + S - 1, y, O, I);
+      return _(w, v({
         class: o.class,
-        index: t,
+        index: a,
         component: "td",
         prefixCls: E,
         record: null,
         dataIndex: null,
         align: f,
         colSpan: S,
-        rowSpan: x,
+        rowSpan: b,
         customRender: () => {
           var r;
           return (r = e.default) === null || r === void 0 ? void 0 : r.call(e);
@@ -54,28 +54,28 @@ const P = a({
       }, L), null);
     };
   }
-}), u = a({
+}), u = t({
   name: "ATableColumn",
   slots: Object,
   render() {
     return null;
   }
-}), c = a({
+}), c = t({
   name: "ATableColumnGroup",
   slots: Object,
   __ANT_TABLE_COLUMN_GROUP: !0,
   render() {
     return null;
   }
-}), C = P, i = V, d = _(F, {
+}), C = D, i = F, d = p(V, {
   Cell: i,
   Row: C,
   name: "ATableSummary"
-}), Y = _(m, {
-  SELECTION_ALL: D,
+}), Q = p(m, {
+  SELECTION_ALL: P,
   SELECTION_INVERT: G,
-  SELECTION_NONE: U,
-  SELECTION_COLUMN: M,
+  SELECTION_NONE: M,
+  SELECTION_COLUMN: U,
   EXPAND_COLUMN: j,
   Column: u,
   ColumnGroup: c,
@@ -83,5 +83,5 @@ const P = a({
   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)
 });
 export {
-  Y as _
+  Q as _
 };

+ 18 - 18
lib/js/index13.js

@@ -1,5 +1,5 @@
-import { g as L, m as O, d as P, r as R, cC as j, cD as X, u as z, c as F, _ as b, bG as G, cE as U, cF as V, cG as Q, aQ as q, P as B, cH as J } from "./index2.js";
-import { defineComponent as D, computed as m, createVNode as d, shallowRef as K, watchEffect as Y, Fragment as Z } from "vue";
+import { g as L, m as O, d as B, r as R, cx as j, cy as X, u as z, c as F, _ as b, bA as U, cz as V, cA as q, cB as G, c1 as J, P, cC 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]: P(P({}, R(e)), {
+    [n]: B(B({}, R(e)), {
       display: "inline-block",
       height: "auto",
       marginInlineEnd: e.marginXS,
@@ -186,7 +186,7 @@ const h = (e, c, l) => {
     type: Boolean,
     default: !1
   },
-  closeIcon: B.any,
+  closeIcon: P.any,
   /** @deprecated `visible` will be removed in next major version. */
   visible: {
     type: Boolean,
@@ -195,9 +195,9 @@ const h = (e, c, l) => {
   onClose: {
     type: Function
   },
-  onClick: J(),
+  onClick: K(),
   "onUpdate:visible": Function,
-  icon: B.any,
+  icon: P.any,
   bordered: {
     type: Boolean,
     default: !0
@@ -220,19 +220,19 @@ const h = (e, c, l) => {
     const {
       prefixCls: o,
       direction: t
-    } = z("tag", e), [g, C] = H(o), s = K(!0);
-    process.env.NODE_ENV !== "production" && G(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), Y(() => {
+    } = z("tag", e), [g, C] = H(o), s = Q(!0);
+    process.env.NODE_ENV !== "production" && U(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), Y(() => {
       e.visible !== void 0 && (s.value = e.visible);
     });
     const a = (i) => {
       i.stopPropagation(), r("update:visible", !1), r("close", i), !i.defaultPrevented && e.visible === void 0 && (s.value = !1);
-    }, u = m(() => U(e.color) || V(e.color)), w = m(() => F(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
-    })), E = (i) => {
+    })), A = (i) => {
       r("click", i);
     };
     return () => {
@@ -245,19 +245,19 @@ const h = (e, c, l) => {
       } = e, _ = () => N ? y ? d("span", {
         class: `${o.value}-close-icon`,
         onClick: a
-      }, [y]) : d(q, {
+      }, [y]) : d(J, {
         class: `${o.value}-close-icon`,
         onClick: a
-      }, null) : null, A = {
+      }, null) : null, E = {
         backgroundColor: $ && !u.value ? $ : void 0
-      }, T = M || null, I = (p = l.default) === null || p === void 0 ? void 0 : p.call(l), k = T ? d(Z, null, [T, d("span", null, [I])]) : I, W = e.onClick !== void 0, x = d("span", b(b({}, n), {}, {
-        onClick: E,
+      }, T = M || null, x = (p = l.default) === null || p === void 0 ? void 0 : p.call(l), k = T ? d(Z, null, [T, d("span", null, [x])]) : x, W = e.onClick !== void 0, I = d("span", b(b({}, n), {}, {
+        onClick: A,
         class: [w.value, n.class],
-        style: [A, n.style]
+        style: [E, n.style]
       }), [k, _()]);
-      return g(W ? d(Q, null, {
-        default: () => [x]
-      }) : x);
+      return g(W ? d(G, null, {
+        default: () => [I]
+      }) : I);
     };
   }
 });

Diferenças do arquivo suprimidas por serem muito extensas
+ 350 - 558
lib/js/index2.js


+ 95 - 95
lib/js/index4.js

@@ -1,5 +1,5 @@
-import { b6 as bn, b7 as Pe, b8 as wn, b9 as Tt, as as Ye, ba as xn, ar as qe, bb as $n, bc as It, bd as Fn, be as An, bf as jt, bg as On, bh as lt, bi as st, bj as Je, bk as Ze, bl as _t, bm as Ce, bn as Cn, bo as Mt, at as Lt, bp as Sn, bq as Rt, br as En, bs as Pn, bt as ut, bu as qn, bv as Tn, d as P, D as Ne, E as In, aL as jn, c as pe, y as _n, bw as Mn, aM as Ln, _ as W, g as Rn, m as Nn, bx as Nt, aK as Vn, r as Vt, aB as Dn, aC as Bn, az as Gn, aG as Dt, u as Bt, by as Wn, V as zn, a1 as Hn, aP as Un, bz as Kn, aR as Xn, P as de, bA as Qe, bB as Yn, bC as Gt, bD as Jn, bE as Zn, bF as Qn, i as kn, av as ue, ax as me, ay as ft, aw as ct, f as er, e as $e, bG as _e, U as tr, bH 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 Ht, onMounted as sr, toRaw as Be, nextTick as Ut, unref as ae } from "vue";
+import { a_ as bn, a$ as Pe, b0 as wn, b1 as Tt, as as Ye, b2 as xn, ar as qe, b3 as $n, b4 as It, b5 as Fn, b6 as An, b7 as _t, b8 as On, b9 as lt, ba as st, bb as Je, bc as Ze, bd as jt, be as Ce, bf as Cn, bg as Mt, at as Lt, bh as Sn, bi as Rt, bj as En, bk as Pn, bl as ut, bm as qn, bn as Tn, d as P, D as Ne, E as In, aL as _n, c as pe, y as jn, bo as Mn, aM as Ln, _ as W, g as Rn, m as Nn, bp as Nt, aK as Vn, r as Vt, aB as Dn, aC as Bn, az as Gn, aG as Dt, u as Bt, bq as Wn, V as zn, a1 as Un, br as Hn, bs as Kn, bt as Xn, P as de, bu as Qe, bv as Yn, bw as Gt, bx as Jn, by as Zn, bz as Qn, i as kn, av as ue, ax as me, ay as ft, aw as ct, f as er, e as $e, bA as je, U as tr, bB 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 Jt, e as Zt, f as dr } from "./hasIn.js";
 import { C as Qt, A as mr } from "./Col.js";
 import { s as gr } from "./index3.js";
@@ -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,7 +136,7 @@ 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]", Hr = "[object Map]", Ur = "[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]", 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]";
 function si(e, t, n) {
   var r = e.constructor;
   switch (t) {
@@ -157,9 +157,9 @@ function si(e, t, n) {
     case oi:
     case li:
       return Gr(e, n);
-    case Hr:
-      return new r();
     case Ur:
+      return new r();
+    case Hr:
     case Yr:
       return new r(e);
     case Kr:
@@ -171,19 +171,19 @@ function si(e, t, n) {
   }
 }
 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;
 }
-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;
 }
-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)
@@ -200,9 +200,9 @@ function ve(e, t, n, r, i, o) {
       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);
     }
@@ -225,8 +225,8 @@ var Gi = 1, Wi = 4;
 function Ae(e) {
   return ve(e, Gi | Wi);
 }
-var zi = 1, Hi = 2;
-function Ui(e, t, n, r) {
+var zi = 1, Ui = 2;
+function Hi(e, t, n, r) {
   var i = n.length, o = i;
   if (e == null)
     return !o;
@@ -243,7 +243,7 @@ function Ui(e, t, n, r) {
         return !1;
     } else {
       var f = new Mt(), g;
-      if (!(g === void 0 ? Rt(v, s, zi | Hi, r, f) : g))
+      if (!(g === void 0 ? Rt(v, s, zi | Ui, r, f) : g))
         return !1;
     }
   }
@@ -267,7 +267,7 @@ function ln(e, t) {
 function Xi(e) {
   var t = Ki(e);
   return t.length == 1 && t[0][2] ? ln(t[0][0], t[0][1]) : function(n) {
-    return n === e || Ui(n, e, t);
+    return n === e || Hi(n, e, t);
   };
 }
 var Yi = 1, Ji = 2;
@@ -679,12 +679,12 @@ var fn = function(t, n, r, i, o, a) {
   }
   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 = 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) {
+}, fe = "enum", ja = 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(", ")));
 }, Ma = function(t, n, r, i, o) {
   if (t.pattern) {
@@ -699,8 +699,8 @@ var fn = function(t, n, r, i, o, a) {
   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);
@@ -774,12 +774,12 @@ var fn = function(t, n, r, i, o, a) {
     E.required(t, n, i, a, o), n !== void 0 && E.type(t, n, i, a, o);
   }
   r(a);
-}, Ha = "enum", Ua = function(t, n, r, i, o) {
+}, Ua = "enum", Ha = function(t, n, r, i, o) {
   var a = [], l = t.required || !t.required && i.hasOwnProperty(t.field);
   if (l) {
     if (B(n) && !t.required)
       return r();
-    E.required(t, n, i, a, o), n !== void 0 && E[Ha](t, n, i, a, o);
+    E.required(t, n, i, a, o), n !== void 0 && E[Ua](t, n, i, a, o);
   }
   r(a);
 }, Ka = function(t, n, r, i, o) {
@@ -830,7 +830,7 @@ var fn = function(t, n, r, i, o, a) {
   float: Ga,
   array: Wa,
   object: za,
-  enum: Ua,
+  enum: Ha,
   pattern: Ka,
   date: Xa,
   url: Me,
@@ -839,7 +839,7 @@ var fn = function(t, n, r, i, o, a) {
   required: Ya,
   any: Ja
 };
-function He() {
+function Ue() {
   return {
     default: "Validation error on field %s",
     required: "%s is required",
@@ -892,9 +892,9 @@ function He() {
     }
   };
 }
-var Ue = He(), we = /* @__PURE__ */ function() {
+var He = Ue(), we = /* @__PURE__ */ function() {
   function e(n) {
-    this.rules = null, this._messages = Ue, this.define(n);
+    this.rules = null, this._messages = He, this.define(n);
   }
   var t = e.prototype;
   return t.define = function(r) {
@@ -908,7 +908,7 @@ var Ue = He(), we = /* @__PURE__ */ function() {
       i.rules[o] = Array.isArray(a) ? a : [a];
     });
   }, t.messages = function(r) {
-    return r && (this._messages = At(He(), r)), this._messages;
+    return r && (this._messages = At(Ue(), r)), this._messages;
   }, t.validate = function(r, i, o) {
     var a = this;
     i === void 0 && (i = {}), o === void 0 && (o = function() {
@@ -931,7 +931,7 @@ var Ue = He(), we = /* @__PURE__ */ function() {
     }
     if (s.messages) {
       var g = this.messages();
-      g === Ue && (g = He()), At(g, s.messages), s.messages = g;
+      g === He && (g = Ue()), At(g, s.messages), s.messages = g;
     } else
       s.messages = this.messages();
     var h = {}, w = s.keys || Object.keys(this.rules);
@@ -1025,7 +1025,7 @@ we.register = function(t, n) {
   he[t] = n;
 };
 we.warning = un;
-we.messages = Ue;
+we.messages = He;
 we.validators = he;
 function ne(e) {
   return e == null ? [] : Array.isArray(e) ? e : [e];
@@ -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]);
         }
@@ -1916,8 +1916,8 @@ Qe("success", "warning", "error", "validating", "");
 const xo = {
   success: Xn,
   warning: Kn,
-  error: Un,
-  validating: Hn
+  error: Hn,
+  validating: Un
 };
 function Le(e, t, n) {
   let r = e;
@@ -2039,7 +2039,7 @@ const Ao = "form_item", Oo = Te({
       } : [], G = Le(p, d.value);
       p = p ? G.o[G.k] || G.v : [];
       const z = [].concat(I || p || []);
-      return oa(z, (H) => H.required) ? z : z.concat(D);
+      return oa(z, (U) => U.required) ? z : z.concat(D);
     }), S = F(() => {
       const p = b.value;
       let I = !1;
@@ -2060,20 +2060,20 @@ const Ao = "form_item", Oo = Te({
         triggerName: D
       } = p || {};
       let G = b.value;
-      if (D && (G = G.filter((H) => {
+      if (D && (G = G.filter((U) => {
         const {
           trigger: re
-        } = H;
+        } = U;
         return !re && !c.value.length ? !0 : ne(re || c.value).includes(D);
       })), !G.length)
         return Promise.resolve();
       const z = gn(d.value, q.value, G, P({
         validateMessages: f.validateMessages.value
       }, p), I, O.value);
-      return A.value = "validating", h.value = [], z.catch((H) => H).then(function() {
-        let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
+      return A.value = "validating", h.value = [], z.catch((U) => U).then(function() {
+        let U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
         if (A.value === "validating") {
-          const re = H.filter((ie) => ie && ie.errors.length);
+          const re = U.filter((ie) => ie && ie.errors.length);
           A.value = re.length ? "error" : "success", h.value = re.map((ie) => ie.errors), f.onValidate(g.value, !h.value.length, h.value.length ? Be(h.value[0]) : null);
         }
       }), z;
@@ -2095,7 +2095,7 @@ const Ao = "form_item", Oo = Te({
       var p;
       A.value = e.validateStatus, w.value = !0, h.value = [];
       const I = f.model.value || {}, D = q.value, G = Le(I, d.value, !0);
-      Array.isArray(D) ? G.o[G.k] = [].concat((p = u.value) !== null && p !== void 0 ? p : []) : G.o[G.k] = u.value, Ut(() => {
+      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 = () => {
@@ -2147,16 +2147,16 @@ const Ao = "form_item", Oo = Te({
       [`${a.value}-item-has-error`]: C.value === "error",
       [`${a.value}-item-is-validating`]: C.value === "validating",
       [`${a.value}-item-hidden`]: e.hidden
-    })), U = Ht({});
-    zn.useProvide(U), De(() => {
+    })), H = Ut({});
+    zn.useProvide(H), De(() => {
       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(U, {
+      P(H, {
         status: C.value,
         hasFeedback: e.hasFeedback,
         feedbackIcon: p,
@@ -2184,16 +2184,16 @@ 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, H;
-          return j(Se, null, [j(it, W(W({}, e), {}, {
+          var z, U;
+          return _(Se, null, [_(it, W(W({}, e), {}, {
             htmlFor: Z.value,
             required: S.value,
             requiredMark: f.requiredMark.value,
@@ -2203,20 +2203,20 @@ 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,
             status: C.value,
             ref: $,
             help: D,
-            extra: (z = e.extra) !== null && z !== void 0 ? z : (H = n.extra) === null || H === void 0 ? void 0 : H.call(n),
+            extra: (z = e.extra) !== null && z !== void 0 ? z : (U = n.extra) === null || U === void 0 ? void 0 : U.call(n),
             onErrorVisibleChanged: k
           }), {
             default: n.default
           })]);
         }
-      }), !!X.value && j("div", {
+      }), !!X.value && _("div", {
         class: `${a.value}-margin-offset`,
         style: {
           marginBottom: `-${X.value}px`
@@ -2267,8 +2267,8 @@ function Re(e, t, n) {
 }
 function Co(e) {
   let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ke({}), n = arguments.length > 2 ? arguments[2] : void 0;
-  const r = Ae(ae(e)), i = Ht({}), o = ee([]), a = (u) => {
-    P(ae(e), P(P({}, Ae(r)), u)), Ut(() => {
+  const r = Ae(ae(e)), i = Ut({}), o = ee([]), a = (u) => {
+    P(ae(e), P(P({}, Ae(r)), u)), Ht(() => {
       Object.keys(i).forEach((c) => {
         i[c] = {
           autoLink: !1,
@@ -2487,10 +2487,10 @@ const oe = Te({
       delete c[x];
     }, A = (x) => {
       const C = !!x, R = C ? ne(x).map(Ke) : [];
-      return C ? Object.values(c).filter((U) => R.findIndex((X) => Eo(X, U.fieldName.value)) > -1) : Object.values(c);
+      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) => {
@@ -2514,7 +2514,7 @@ const oe = Te({
       let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
       const R = A(x ? [x] : void 0);
       if (R.length) {
-        const U = R[0].fieldId.value, X = U ? document.getElementById(U) : null;
+        const H = R[0].fieldId.value, X = H ? document.getElementById(H) : null;
         X && gr(X, P({
           scrollMode: "if-needed",
           block: "nearest"
@@ -2526,22 +2526,22 @@ const oe = Te({
         const C = [];
         return Object.values(c).forEach((R) => {
           let {
-            namePath: U
+            namePath: H
           } = R;
-          C.push(U.value);
+          C.push(H.value);
         }), 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.");
-      const R = !!x, U = R ? ne(x).map(Ke) : [], X = [];
+      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;
-        if (R || U.push(k.namePath.value), !(!((p = k.rules) === null || p === void 0) && p.value.length))
+        if (R || H.push(k.namePath.value), !(!((p = k.rules) === null || p === void 0) && p.value.length))
           return;
         const I = k.namePath.value;
-        if (!R || eo(U, I)) {
+        if (!R || eo(H, I)) {
           const D = k.validateRules(P({
             validateMessages: d.value
           }, C));
@@ -2550,7 +2550,7 @@ const oe = Te({
             errors: [],
             warnings: []
           })).catch((G) => {
-            const z = [], H = [];
+            const z = [], U = [];
             return G.forEach((re) => {
               let {
                 rule: {
@@ -2558,25 +2558,25 @@ const oe = Te({
                 },
                 errors: ot
               } = re;
-              ie ? H.push(...ot) : z.push(...ot);
+              ie ? U.push(...ot) : z.push(...ot);
             }), z.length ? Promise.reject({
               name: I,
               errors: z,
-              warnings: H
+              warnings: U
             }) : {
               name: I,
               errors: z,
-              warnings: H
+              warnings: U
             };
           }));
         }
       });
       const te = yn(X);
       u.value = te;
-      const xe = te.then(() => u.value === te ? Promise.resolve(N(U)) : Promise.reject([])).catch((k) => {
+      const xe = te.then(() => u.value === te ? Promise.resolve(N(H)) : Promise.reject([])).catch((k) => {
         const p = k.filter((I) => I && I.errors.length);
         return Promise.reject({
-          values: N(U),
+          values: N(H),
           errorFields: p,
           outOfDate: u.value !== te
         });
@@ -2620,7 +2620,7 @@ const oe = Te({
       e.validateOnRuleChange && Z();
     }), () => {
       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)]));

+ 17 - 17
lib/js/index5.js

@@ -1,6 +1,6 @@
-import { g as P, m as S, bS as _, d, r as w, bT as B, bU as T, b as k, bG as N, u as z, c as A, y as D, _ as h, a3 as W, o as I, i as E, bV as H, aG as C, bW 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) => {
+import { g as P, m as S, bM as _, d, r as w, bN as B, bO as k, b as T, bA as N, u as A, c as z, y as D, _ as h, a3 as I, o as W, i as E, bP as H, aG as C, bQ as M, f as $ } from "./index2.js";
+import { defineComponent as j, ref as R, computed as O, createVNode as b, Fragment as G } from "vue";
+const L = (e) => {
   const {
     componentCls: o,
     popoverBg: r,
@@ -74,12 +74,12 @@ const O = (e) => {
       }
     }
   ];
-}, V = (e) => {
+}, F = (e) => {
   const {
     componentCls: o
   } = e;
   return {
-    [o]: T.map((r) => {
+    [o]: k.map((r) => {
       const t = e[`${r}-6`];
       return {
         [`&${o}-${r}`]: {
@@ -94,7 +94,7 @@ const O = (e) => {
       };
     })
   };
-}, F = (e) => {
+}, Q = (e) => {
   const {
     componentCls: o,
     lineWidth: r,
@@ -121,7 +121,7 @@ const O = (e) => {
       }
     }
   };
-}, U = P("Popover", (e) => {
+}, V = P("Popover", (e) => {
   const {
     colorBgElevated: o,
     colorText: r,
@@ -132,7 +132,7 @@ const O = (e) => {
     popoverPadding: 12
     // Fixed Value
   });
-  return [O(a), V(a), t && F(a), _(a, "zoom-big")];
+  return [L(a), F(a), t && Q(a), _(a, "zoom-big")];
 }, (e) => {
   let {
     zIndexPopupBase: o
@@ -141,10 +141,10 @@ const O = (e) => {
     zIndexPopup: o + 30,
     width: 177
   };
-}), X = () => d(d({}, j()), {
+}), X = () => d(d({}, M()), {
   content: $(),
   title: $()
-}), Z = M({
+}), Z = j({
   compatConfig: {
     MODE: 3
   },
@@ -172,25 +172,25 @@ const O = (e) => {
     const {
       prefixCls: l,
       configProvider: c
-    } = z("popover", e), [u, g] = U(l), p = G(() => c.getPrefixCls()), v = () => {
+    } = A("popover", e), [u, g] = V(l), p = O(() => 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(L, null, [x && b("div", {
+      return !x && !y ? null : b(G, 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({}, I(e, ["title", "content"])), a), {}, {
+      const n = z(e.overlayClassName, g.value);
+      return u(b(D, h(h(h({}, W(e, ["title", "content"])), a), {}, {
         prefixCls: l.value,
         ref: s,
         overlayClassName: n,
-        transitionName: W(p.value, "zoom-big", e.transitionName),
+        transitionName: I(p.value, "zoom-big", e.transitionName),
         "data-popover-inject": !0
       }), {
         title: v,
@@ -198,7 +198,7 @@ const O = (e) => {
       }));
     };
   }
-}), Q = k(Z);
+}), U = T(Z);
 export {
-  Q as _
+  U as _
 };

+ 95 - 95
lib/js/index6.js

@@ -1,5 +1,5 @@
-import { G as ot, bX as rt, bY as st, K as ue, bZ as ct, _ as z, d as p, aG as it, D as H, b_ as ut, A as dt, N as $e, J as vt, L as Xe, M as ft, b$ as ht, c0 as Ye, o as Ce, O as pt, i as qe, Q as mt, P as de, g as gt, m as et, c1 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 Ge, a2 as Tt, a5 as Et, aN as Lt, c2 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, bR as rt, bS as st, K as ue, bT as ct, _ as z, d as p, aG as it, D as H, bU as ut, A as dt, N as Re, J as vt, L as Xe, M as ft, bV as ht, bW as Ye, o as Ce, O as pt, i as qe, Q as mt, P as de, g as gt, m as et, bX 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, bY 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 $, toRaw as le, createVNode as X, watchEffect as Se, toRef as oe, toRefs as Ht } from "vue";
 function tt(e) {
   return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
 }
@@ -16,10 +16,10 @@ function Mt(e) {
     children: t || "children"
   };
 }
-function Re(e) {
+function $e(e) {
   return e.disabled || e.disableCheckbox || e.checkable === !1;
 }
-function $t(e, c) {
+function Rt(e, c) {
   const a = [];
   function t(l) {
     l.forEach((n) => {
@@ -34,7 +34,7 @@ function je(e) {
   return e == null;
 }
 const lt = Symbol("TreeSelectContextPropsKey");
-function Rt(e) {
+function $t(e) {
   return Ot(lt, e);
 }
 function jt() {
@@ -82,9 +82,9 @@ const Bt = {
       immediate: !0,
       flush: "post"
     });
-    const u = y(() => String(l.searchValue).toLowerCase()), g = (v) => u.value ? String(v[n.treeNodeFilterProp]).toLowerCase().includes(u.value) : !1, V = R(n.treeDefaultExpandedKeys), C = R(null);
+    const u = y(() => String(l.searchValue).toLowerCase()), g = (v) => u.value ? String(v[n.treeNodeFilterProp]).toLowerCase().includes(u.value) : !1, V = $(n.treeDefaultExpandedKeys), C = $(null);
     be(() => l.searchValue, () => {
-      l.searchValue && (C.value = $t(le(r.treeData), le(r.fieldNames)));
+      l.searchValue && (C.value = Rt(le(r.treeData), le(r.fieldNames)));
     }, {
       immediate: !0
     });
@@ -97,21 +97,21 @@ const Bt = {
       let {
         node: L
       } = b;
-      var _, T;
+      var _, N;
       const {
         checkable: U,
         checkedKeys: Y
       } = n;
-      U && Re(L) || ((_ = r.onSelect) === null || _ === void 0 || _.call(r, L.key, {
+      U && $e(L) || ((_ = r.onSelect) === null || _ === void 0 || _.call(r, L.key, {
         selected: !Y.includes(L.key)
-      }), l.multiple || (T = l.toggleOpen) === null || T === void 0 || T.call(l, !1));
+      }), 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;
     };
     return t({
       scrollTo: function() {
-        for (var v, b, L = arguments.length, _ = new Array(L), T = 0; T < L; T++)
-          _[T] = arguments[T];
+        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, ..._);
       },
       onKeydown: (v) => {
@@ -130,13 +130,13 @@ const Bt = {
             if (A.value) {
               const {
                 selectable: _,
-                value: T
+                value: N
               } = A.value.node || {};
               _ !== !1 && O(null, {
                 node: {
                   key: K.value
                 },
-                selected: !n.checkedKeys.includes(T)
+                selected: !n.checkedKeys.includes(N)
               });
             }
             break;
@@ -153,7 +153,7 @@ const Bt = {
         prefixCls: b,
         multiple: L,
         searchValue: _,
-        open: T,
+        open: N,
         notFoundContent: U = (v = a.notFoundContent) === null || v === void 0 ? void 0 : v.call(a)
       } = l, {
         listHeight: Y,
@@ -165,7 +165,7 @@ const Bt = {
         checkable: se,
         treeDefaultExpandAll: ce,
         treeIcon: ae,
-        showTreeIcon: Z,
+        showTreeIcon: J,
         switcherIcon: fe,
         treeLine: he,
         loadData: pe,
@@ -180,12 +180,12 @@ const Bt = {
           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), X("div", {
         onMousedown: k
-      }, [A.value && T && X("span", {
+      }, [A.value && N && X("span", {
         style: Bt,
         "aria-live": "assertive"
       }, [A.value.node.value]), X(ct, z(z({
@@ -198,7 +198,7 @@ const Bt = {
         virtual: ne !== !1 && G !== !1,
         multiple: L,
         icon: ae,
-        showIcon: Z,
+        showIcon: J,
         switcherIcon: fe,
         showLine: he,
         loadData: _ ? null : pe,
@@ -209,7 +209,7 @@ const Bt = {
         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];
@@ -236,11 +236,11 @@ function Ze(e, c, a, t) {
       let {
         node: d
       } = s;
-      return Re(d) || l.has(d[t.value]);
+      return $e(d) || l.has(d[t.value]);
     }));
   }) : c === nt ? e.filter((n) => {
     const r = a[n], s = r ? r.parent : null;
-    return !(s && !Re(s.node) && l.has(s.key));
+    return !(s && !$e(s.node) && l.has(s.key));
   }) : e;
 }
 const ve = () => null;
@@ -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,11 +371,11 @@ 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) {
-  const t = R();
+function Qt(e, c, a) {
+  const t = $();
   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
@@ -385,10 +385,10 @@ function Jt(e, c, a) {
     deep: !0
   }), t;
 }
-const Qt = (e) => {
-  const c = R({
+const Zt = (e) => {
+  const c = $({
     valueLabels: /* @__PURE__ */ new Map()
-  }), a = R();
+  }), a = $();
   return be(e, () => {
     a.value = le(e.value);
   }, {
@@ -408,7 +408,7 @@ const Qt = (e) => {
     return c.value.valueLabels = n, r;
   })];
 }, qt = (e, c) => {
-  const a = R(/* @__PURE__ */ new Map()), t = R({});
+  const a = $(/* @__PURE__ */ new Map()), t = $({});
   return Se(() => {
     const l = c.value, n = dt(e.value, {
       fieldNames: l,
@@ -430,7 +430,7 @@ const Qt = (e) => {
     keyEntities: t
   };
 }, el = (e, c, a, t, l, n) => {
-  const r = R([]), s = R([]);
+  const r = $([]), s = $([]);
   return Se(() => {
     let d = e.value.map((g) => {
       let {
@@ -447,7 +447,7 @@ const Qt = (e) => {
     a.value && ({
       checkedKeys: d,
       halfCheckedKeys: o
-    } = $e(d, !0, t.value, l.value, n.value)), r.value = Array.from(/* @__PURE__ */ new Set([...u, ...d])), s.value = o;
+    } = Re(d, !0, t.value, l.value, n.value)), r.value = Array.from(/* @__PURE__ */ new Set([...u, ...d])), s.value = o;
   }), [r, s];
 }, tl = (e, c, a) => {
   let {
@@ -667,7 +667,7 @@ const al = We({
     }), 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) => {
@@ -706,8 +706,8 @@ const al = We({
         halfChecked: E
       } = h;
       let S;
-      const N = k.value.get(D);
-      return N && (x = x != null ? x : A(N.node), S = N.node.disabled), {
+      const T = k.value.get(D);
+      return T && (x = x != null ? x : A(T.node), S = T.node.disabled), {
         label: x,
         value: D,
         halfChecked: E,
@@ -715,22 +715,22 @@ const al = We({
       };
     }), [b, L] = Xe(e.defaultValue, {
       value: oe(e, "value")
-    }), _ = y(() => F(b.value)), T = R([]), U = R([]);
+    }), _ = y(() => F(b.value)), N = $([]), U = $([]);
     Se(() => {
       const i = [], f = [];
       _.value.forEach((h) => {
         h.halfChecked ? f.push(h) : i.push(h);
-      }), T.value = i, U.value = f;
+      }), N.value = i, U.value = f;
     });
-    const Y = y(() => T.value.map((i) => i.value)), {
+    const Y = y(() => N.value.map((i) => i.value)), {
       maxLevel: j,
       levelEntities: ne
-    } = ft(w), [G, re] = el(T, U, r, w, j, ne), se = y(() => {
-      const h = Ze(G.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;
+    } = ft(w), [G, re] = el(N, U, r, w, j, ne), se = y(() => {
+      const h = Je(G.value, e.showCheckedStrategy, w.value, u.value).map((E) => {
+        var S, T, R;
+        return (R = (T = (S = w.value[E]) === null || S === void 0 ? void 0 : S.node) === null || T === void 0 ? void 0 : T[u.value.value]) !== null && R !== void 0 ? R : E;
       }).map((E) => {
-        const S = T.value.find((N) => N.value === E);
+        const S = N.value.find((T) => T.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,28 +757,28 @@ const al = We({
           triggerValue: void 0,
           selected: void 0
         };
-        let N = D;
+        let T = D;
         if (e.treeCheckStrictly) {
           const W = U.value.filter((te) => !D.includes(te.value));
-          N = [...N, ...W];
+          T = [...T, ...W];
         }
-        const $ = v(N), q = {
+        const R = v(T), q = {
           // [Legacy] Always return as array contains label & value
-          preValue: T.value,
+          preValue: N.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;
-        const B = d.value ? $ : $.map((W) => W.value);
-        e.onChange(o.value ? B : B[0], d.value ? null : $.map((W) => W.label), q);
+        const B = d.value ? R : R.map((W) => W.value);
+        e.onChange(o.value ? B : B[0], d.value ? null : R.map((W) => W.label), q);
       }
-    }, Z = (i, f) => {
+    }, J = (i, f) => {
       let {
         selected: h,
         source: x
       } = f;
       var D, E, S;
-      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;
+      const T = le(w.value), R = 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;
       if (!o.value)
         ae([B], {
           selected: !0,
@@ -790,15 +790,15 @@ const al = We({
           const {
             missingRawValues: te,
             existRawValues: ge
-          } = O(W), ze = ge.map((Ae) => $.get(Ae).key);
+          } = O(W), ze = ge.map((Ae) => R.get(Ae).key);
           let Ke;
           h ? {
             checkedKeys: Ke
-          } = $e(ze, !0, N, j.value, ne.value) : {
+          } = Re(ze, !0, T, j.value, ne.value) : {
             checkedKeys: Ke
-          } = $e(ze, {
+          } = Re(ze, {
             halfCheckedKeys: re.value
-          }, N, j.value, ne.value), W = [...te, ...Ke.map((Ae) => N[Ae].node[u.value.value])];
+          }, T, j.value, ne.value), W = [...te, ...Ke.map((Ae) => T[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,9 +841,9 @@ const al = We({
       listHeight: Ve,
       listItemHeight: ke,
       // Tree
-      treeLine: Ne,
+      treeLine: Te,
       treeIcon: me,
-      showTreeIcon: Te,
+      showTreeIcon: Ne,
       switcherIcon: Ee,
       treeMotion: Le,
       customSlots: Pe,
@@ -858,40 +858,40 @@ const al = We({
       checkedKeys: G,
       halfCheckedKeys: re,
       treeDefaultExpandAll: M,
-      treeExpandedKeys: J,
+      treeExpandedKeys: Q,
       treeDefaultExpandedKeys: we,
       onTreeExpand: xe,
       treeIcon: me,
       treeMotion: Le,
-      showTreeIcon: Te,
+      showTreeIcon: Ne,
       switcherIcon: Ee,
-      treeLine: Ne,
+      treeLine: Te,
       treeNodeFilterProp: pe,
       keyEntities: w,
       customSlots: Pe
-    })), Rt(Ye({
+    })), $t(Ye({
       virtual: Ie,
       listHeight: Ve,
       listItemHeight: ke,
       treeData: K,
       fieldNames: u,
-      onSelect: Z,
+      onSelect: J,
       dropdownMatchSelectWidth: De,
       treeExpandAction: _e
     }));
-    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;
@@ -947,7 +947,7 @@ const al = We({
         "treeMotion"
       ]);
       return X(pt, z(z(z({
-        ref: Q
+        ref: Z
       }, a), f), {}, {
         id: n,
         prefixCls: e.prefixCls,
@@ -1021,7 +1021,7 @@ 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,
@@ -1077,17 +1077,17 @@ const Me = We({
     } = It(o, g), F = y(() => K.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"), T = 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] = Nt(o), [re] = rl(j, Y), se = y(() => Ge(e.popupClassName || e.dropdownClassName, `${j.value}-dropdown`, {
+    }), L = y(() => k()), _ = y(() => e.placement !== void 0 ? e.placement : g.value === "rtl" ? "bottomRight" : "bottomLeft"), N = y(() => Qe(L.value, kt(_.value), e.transitionName)), U = y(() => Qe(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`, {
       [`${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();
+    }, G.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: Ne,
+        treeIcon: Te,
         treeLine: me,
-        showArrow: Te,
+        showArrow: Ne,
         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,
+        hasFeedback: Z,
         feedbackIcon: i
       } = s, {
         suffixIcon: f,
         removeIcon: h,
         clearIcon: x
-      } = Tt(p(p({}, e), {
+      } = Nt(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");
+      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 = Ge(!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), N = {};
-      return e.treeData === void 0 && t.default && (N.children = Lt(t.default())), ne(re(X(al, z(z(z(z({}, a), E), {}, {
+      }, Et(o.value, d.value, Z), 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), {}, {
         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: Ne,
+        switcherIcon: (R) => Pt(Y.value, Ee, R, t.leafIcon, me),
+        showTreeIcon: Te,
         notFoundContent: D,
         getPopupContainer: w == null ? void 0 : w.value,
         treeMotion: null,
@@ -1168,8 +1168,8 @@ const Me = We({
         onBlur: ie,
         onSearch: pe,
         onTreeExpand: he
-      }, N), {}, {
-        transitionName: T.value,
+      }, T), {}, {
+        transitionName: N.value,
         customSlots: p(p({}, t), {
           treeCheckable: () => X("span", {
             class: `${o.value}-tree-checkbox-inner`
@@ -1177,7 +1177,7 @@ const Me = We({
         }),
         maxTagPlaceholder: e.maxTagPlaceholder || t.maxTagPlaceholder,
         placement: _.value,
-        showArrow: Q || Te,
+        showArrow: Z || Ne,
         placeholder: De
       }), p(p({}, t), {
         treeCheckable: () => X("span", {
@@ -1186,12 +1186,12 @@ const Me = We({
       }))));
     };
   }
-}), 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 _

+ 52 - 52
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 xe, c3 as $e, i as pe, g as Oe, m as Pe, b as De, u as _e, h as ne, c4 as oe, az as ae, a3 as re, c5 as Ne, c6 as K, aQ 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 $e, bZ 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, b$ as Ne, c0 as K, c1 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(), D = O(), b = O(), w = O();
+    const i = O(), S = O(), _ = 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();
-        _(e), d && (p && (p.parentNode, document.body), L(() => {
+        D(e), d && (p && (p.parentNode, document.body), L(() => {
           v && h();
         }), k && ((a = e.scrollLocker) === null || a === void 0 || a.lock()));
       });
     }), E(() => e.level, () => {
-      _(e);
+      D(e);
     }, {
       flush: "post"
     }), E(() => e.open, () => {
@@ -144,14 +144,14 @@ const de = q({
     }, y = (a) => {
       l("close", a);
     }, g = (a) => {
-      a.keyCode === xe.ESC && (a.stopPropagation(), y(a));
+      a.keyCode === $e.ESC && (a.stopPropagation(), y(a));
     }, C = () => {
       const {
         open: a,
         afterVisibleChange: d
       } = e;
       d && d(!!a);
-    }, _ = (a) => {
+    }, D = (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((x) => {
-        x.nodeName !== "SCRIPT" && x.nodeName !== "STYLE" && x.nodeName !== "LINK" && x !== k && m.push(x);
+      m = [], d === "all" ? (v ? Array.prototype.slice.call(v.children) : []).forEach(($) => {
+        $.nodeName !== "SCRIPT" && $.nodeName !== "STYLE" && $.nodeName !== "LINK" && $ !== k && m.push($);
       }) : d && Ae(d).forEach((p) => {
-        document.querySelectorAll(p).forEach((x) => {
-          m.push(x);
+        document.querySelectorAll(p).forEach(($) => {
+          m.push($);
         });
       });
     }, M = (a) => {
@@ -180,12 +180,12 @@ const de = q({
         height: k,
         open: v,
         prefixCls: p,
-        placement: x,
+        placement: $,
         level: A,
         levelMove: V,
-        ease: Q,
+        ease: Z,
         duration: J,
-        getContainer: Z,
+        getContainer: Q,
         onChange: ee,
         afterVisibleChange: te,
         showMask: z,
@@ -195,7 +195,7 @@ const de = q({
         getOpenCount: n,
         scrollLocker: r,
         contentWrapperStyle: s,
-        style: $,
+        style: x,
         class: T,
         rootClassName: U,
         rootStyle: X,
@@ -203,12 +203,12 @@ 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}-${x}`]: !0,
+        [`${p}-${$}`]: !0,
         [`${p}-open`]: F,
         [`${p}-inline`]: ge,
         "no-mask": !z,
         [U]: !0
-      }), Ce = typeof Y == "function" ? Y(x) : Y;
+      }), Ce = typeof Y == "function" ? Y($) : Y;
       return u("div", P(P({}, fe(be, ["autofocus"])), {}, {
         tabindex: -1,
         class: we,
@@ -220,7 +220,7 @@ const de = q({
           class: `${p}-mask`,
           onClick: W ? y : void 0,
           style: H,
-          ref: D
+          ref: _
         }, 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: $,
+          style: x,
           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);
-    }, D = (b) => {
+    }, _ = (b) => {
       l("close", b);
     };
     return () => {
@@ -296,15 +296,15 @@ const Le = q({
           rootClassName: m,
           rootStyle: h,
           open: e.open,
-          onClose: D,
+          onClose: _,
           onHandleClick: S,
           inline: !0
         }), t);
-      const _ = !!t.handler || y;
-      return (_ || e.open || i.value) && (C = u($e, {
+      const D = !!t.handler || y;
+      return (D || e.open || i.value) && (C = u(xe, {
         autoLock: !0,
         visible: e.open,
-        forceRender: _,
+        forceRender: D,
         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: D,
+            onClose: _,
             onHandleClick: S
           }), t);
         }
@@ -443,7 +443,7 @@ const Le = q({
     colorBgMask: t,
     colorBgElevated: i,
     motionDurationSlow: S,
-    motionDurationMid: D,
+    motionDurationMid: _,
     padding: b,
     paddingLG: w,
     fontSizeLG: m,
@@ -451,7 +451,7 @@ const Le = q({
     lineWidth: y,
     lineType: g,
     colorSplit: C,
-    marginSM: _,
+    marginSM: D,
     colorIcon: M,
     colorIconHover: N,
     colorText: a,
@@ -566,7 +566,7 @@ const Le = q({
       },
       [`${o}-close`]: {
         display: "inline-block",
-        marginInlineEnd: _,
+        marginInlineEnd: D,
         color: M,
         fontWeight: d,
         fontSize: m,
@@ -579,7 +579,7 @@ const Le = q({
         border: 0,
         outline: 0,
         cursor: "pointer",
-        transition: `color ${D}`,
+        transition: `color ${_}`,
         textRendering: "auto",
         "&:focus, &:hover": {
           color: N,
@@ -737,7 +737,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       slots: t,
       attrs: i
     } = o;
-    const S = O(!1), D = O(!1), b = O(null), w = O(!1), m = O(!1), h = I(() => {
+    const S = O(!1), _ = 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: _
-    } = _e("drawer", e), [M, N] = Re(g), a = I(() => (
+      direction: D
+    } = De("drawer", e), [M, N] = Re(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 || (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(() => {
+      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(() => {
       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;
-    }), Q = I(() => {
+    }), Z = I(() => {
       const {
         mask: n,
         placement: r
@@ -813,51 +813,51 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       const {
         zIndex: n,
         contentWrapperStyle: r
-      } = e, s = Q.value;
+      } = e, s = Z.value;
       return [{
         zIndex: n,
-        transform: S.value ? x.value : void 0
+        transform: S.value ? $.value : void 0
       }, B({}, r), s];
-    }), Z = (n) => {
+    }), Q = (n) => {
       const {
         closable: r,
         headerStyle: s
-      } = e, $ = K(t, e, "extra"), T = K(t, e, "title");
+      } = e, x = 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 && !$
+          [`${n}-header-close-only`]: r && !T && !x
         }),
         style: s
       }, [u("div", {
         class: `${n}-header-title`
       }, [ee(n), T && u("div", {
         class: `${n}-title`
-      }, [T])]), $ && u("div", {
+      }, [T])]), x && u("div", {
         class: `${n}-extra`
-      }, [$])]);
+      }, [x])]);
     }, ee = (n) => {
       var r;
       const {
         closable: s
-      } = e, $ = t.closeIcon ? (r = t.closeIcon) === null || r === void 0 ? void 0 : r.call(t) : e.closeIcon;
+      } = e, x = 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`
-      }, [$ === void 0 ? u(Ie, null, null) : $]);
+      }, [x === void 0 ? u(Ie, null, null) : x]);
     }, te = (n) => {
       var r;
-      if (D.value && !e.forceRender && !w.value)
+      if (_.value && !e.forceRender && !w.value)
         return null;
       const {
         bodyStyle: s,
-        drawerStyle: $
+        drawerStyle: x
       } = e;
       return u("div", {
         class: `${n}-wrapper-body`,
-        style: $
-      }, [Z(n), u("div", {
+        style: x
+      }, [Q(n), u("div", {
         key: "body",
         class: `${n}-body`,
         style: s
@@ -873,14 +873,14 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       }, [r]);
     }, W = I(() => G({
       "no-mask": !e.mask,
-      [`${g.value}-rtl`]: _.value === "rtl"
+      [`${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}`));
     return () => {
       const {
         width: n,
         height: r,
         placement: s,
-        mask: $,
+        mask: x,
         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,7 +889,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
         handler: !1,
         prefixCls: g.value,
         open: m.value,
-        showMask: $,
+        showMask: x,
         placement: s,
         ref: b
       });
@@ -910,7 +910,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       }));
     };
   }
-}), Qe = De(Ke);
+}), Ze = _e(Ke);
 export {
-  Qe as _
+  Ze as _
 };

+ 15 - 15
lib/js/index8.js

@@ -1,5 +1,5 @@
-import { c7 as et, c as j, _ 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, c8 as at, T as rt, r as Ve, c9 as je, ca as We, cb as lt, cc as it, cd as ot, ce as st, cf as He, cg 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, ch as ht, ci as bt, c5 as Oe, cj 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 W, watch as ee } from "vue";
+import { c2 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, c3 as at, T as rt, r as Ve, c4 as We, c5 as je, c6 as lt, c7 as it, c8 as ot, c9 as st, ca as He, cb 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, cc as ht, cd as bt, b$ as Oe, ce 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";
 function xe() {
   return typeof BigInt == "function";
 }
@@ -234,9 +234,9 @@ const $t = 200, Nt = 600, yt = Ee({
         prefixCls: c,
         upDisabled: f,
         downDisabled: p
-      } = e, s = `${c}-handler`, w = j(s, `${s}-up`, {
+      } = e, s = `${c}-handler`, w = W(s, `${s}-up`, {
         [`${s}-up-disabled`]: f
-      }), S = j(s, `${s}-down`, {
+      }), S = W(s, `${s}-down`, {
         [`${s}-down-disabled`]: p
       }), I = {
         unselectable: "on",
@@ -428,7 +428,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         i
       );
     }
-    const D = W(() => Fe(e.max)), N = W(() => Fe(e.min)), x = W(() => !D.value || !s.value || s.value.isInvalidate() ? !1 : D.value.lessEquals(s.value)), O = W(() => !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 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) => {
       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) {
@@ -537,7 +537,7 @@ const Be = (e, t) => e || t.isEmpty() ? t.toString() : t.toNumber(), Fe = (e) =>
         downHandler: Qe
       } = r, Re = `${i}-input`, be = {};
       return ke ? be.onChange = H : be.onInput = H, b("div", {
-        class: j(i, Ke, {
+        class: W(i, Ke, {
           [`${i}-focused`]: c.value,
           [`${i}-disabled`]: re,
           [`${i}-readonly`]: le,
@@ -612,7 +612,7 @@ const Ct = (e) => {
   } = e;
   return [
     {
-      [t]: v(v(v(v({}, Ve(e)), je(e)), We(e, t)), {
+      [t]: v(v(v(v({}, Ve(e)), We(e)), je(e, t)), {
         display: "inline-block",
         width: x,
         margin: 0,
@@ -822,7 +822,7 @@ const Ct = (e) => {
     borderRadiusSM: d
   } = e;
   return {
-    [`${t}-affix-wrapper`]: v(v(v({}, je(e)), We(e, `${t}-affix-wrapper`)), {
+    [`${t}-affix-wrapper`]: v(v(v({}, We(e)), je(e, `${t}-affix-wrapper`)), {
       // or number handler will cover form status
       position: "relative",
       display: "inline-flex",
@@ -940,7 +940,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
       slots: l
     } = t;
     var d;
-    const c = dt(), f = ct.useInject(), p = W(() => ft(f.status, e.status)), {
+    const c = dt(), f = ct.useInject(), p = j(() => ft(f.status, e.status)), {
       prefixCls: s,
       size: w,
       direction: S,
@@ -948,10 +948,10 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
     } = pt("input-number", e), {
       compactSize: $,
       compactItemClassnames: E
-    } = mt(s, S), P = gt(), C = W(() => {
+    } = mt(s, S), P = gt(), C = j(() => {
       var h;
       return (h = I.value) !== null && h !== void 0 ? h : P.value;
-    }), [D, N] = _t(s), x = W(() => $.value || w.value), O = M((d = e.value) !== null && d !== void 0 ? d : e.defaultValue), k = M(!1);
+    }), [D, N] = _t(s), x = j(() => $.value || w.value), O = M((d = e.value) !== null && d !== void 0 ? d : e.defaultValue), k = M(!1);
     ee(() => e.value, () => {
       O.value = e.value;
     });
@@ -991,7 +991,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
         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),
         valueModifiers: re = {}
-      } = ae, le = Mt(ae, ["class", "bordered", "readonly", "style", "addonBefore", "addonAfter", "prefix", "valueModifiers"]), g = s.value, fe = j({
+      } = ae, le = Mt(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",
@@ -1023,7 +1023,7 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
       });
       const pe = Ne(y) || Ne(R), me = Ne(q);
       if (me || T) {
-        const L = j(`${g}-affix-wrapper`, Se(`${g}-affix-wrapper`, p.value, T), {
+        const L = 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",
@@ -1049,9 +1049,9 @@ const ze = Ue(), Pt = () => v(v({}, ze), {
           class: ge
         }, [y]) : null, he = R ? b("div", {
           class: ge
-        }, [R]) : null, Me = j(`${g}-wrapper`, L, {
+        }, [R]) : null, Me = W(`${g}-wrapper`, L, {
           [`${L}-rtl`]: S.value === "rtl"
-        }, N.value), Pe = j(`${g}-group-wrapper`, {
+        }, N.value), Pe = 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"

+ 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, dc as pA, f as bw, av as lw, aw as FB, o as Gw, ck as k, dd as dw, cl as aw, n as XA, de as oB, df as NB, dg as uw, dh as yw, ad as Xw, di as jw, dj as Vw, dk as Fw, I as ow, d7 as Nw, B as mw, a6 as Jw, a7 as kw, ao as Kw, dl as Ew, dm 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, dc as pA, f as bw, av as lw, aw as FB, o as Gw, cf as k, dd as dw, cg as aw, n as XA, de as oB, df as NB, dg as uw, dh as yw, ad as Xw, di as jw, dj as Vw, dk as Fw, I as ow, d7 as Nw, B as mw, a6 as Jw, a7 as kw, ao as Kw, dl as Ew, dm 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";

+ 96 - 96
lib/js/workplace.js

@@ -16,14 +16,14 @@ var se = (e, t, n) => new Promise((a, l) => {
 });
 import { defineComponent as q, computed as _, createVNode as o, isVNode as je, inject as rt, ref as j, provide as st, toRef as Me, watch as Ue, resolveComponent as Re, openBlock as P, createBlock as k, withCtx as B, createElementBlock as U, Fragment as be, renderList as Se, normalizeStyle as ct, unref as de, resolveDynamicComponent as qe, createTextVNode as pe, toDisplayString as H, onMounted as dt, createElementVNode as G, createCommentVNode as ye, normalizeClass as We } from "vue";
 import { useRouter as ut } from "vue-router";
-import { g as Le, m as Je, d as b, r as Xe, aH as xe, t as Ye, u as J, c as oe, _ as W, i as Ce, o as Oe, dn as me, aN as He, h as gt, dp as vt, bv as mt, dq as Qe, P as X, c6 as Pe, dc as le, F as pt, dr as ft, aV as ht, ds as yt, bK as Ge, dt as bt, ao as Ze, e as $e, ax as Ve, av as St, aw as Be, l as $t, b as xt, bG as Ct, L as It, aL as At, aM as Et, a3 as Tt, du as wt, bV as zt, bz as Pt, cS as ke, B as Ke, bW as Bt, f as ce, ay as Mt, K as Rt, ad as Dt, dv as ue, dw as Lt, n as Ot, C as Ht, dx as _t, dy as Nt, dz as jt, dA as Wt, dB as Gt, dC as Vt } from "./index2.js";
+import { g as Le, m as Je, d as b, r as Xe, aH as xe, t as Qe, u as J, c as oe, _ as W, i as Ce, o as Oe, dn as ve, aN as He, h as gt, dp as mt, bn as vt, dq as Ye, P as X, c0 as Pe, dc as le, F as pt, dr as ft, cH as ht, ds as yt, bE as Ge, dt as bt, ao as Ze, e as $e, ax as Ve, av as St, aw as Be, l as $t, b as xt, bA as Ct, L as It, aL as At, aM as Et, a3 as Tt, du as wt, bP as zt, bs as Pt, cT as ke, B as Ke, bQ as Bt, f as ce, ay as Mt, K as Rt, ad as Dt, dv as ue, dw as Lt, n as Ot, C as Ht, dx as _t, dy as Nt, dz as jt, dA as Wt, dB as Gt, dC as Vt } from "./index2.js";
 import { T as _e, _ as kt } from "./index11.js";
 import { u as Ie, E as Ne, s as Ae, S as V, a as et } from "./Skeleton.js";
 import { _ as Ft } from "./index5.js";
 import { A as Ut } from "./ActionButton.js";
 import { C as qt, A as Jt } from "./Col.js";
 import { T as Xt } from "./index13.js";
-const Yt = (e) => {
+const Qt = (e) => {
   const {
     antCls: t,
     componentCls: n,
@@ -53,7 +53,7 @@ const Yt = (e) => {
     "&-title": b(b({
       display: "inline-block",
       flex: 1
-    }, Ye), {
+    }, Qe), {
       [`
           > ${n}-typography,
           > ${n}-typography-edit-content
@@ -74,7 +74,7 @@ const Yt = (e) => {
       }
     }
   });
-}, Qt = (e) => {
+}, Yt = (e) => {
   const {
     cardPaddingBase: t,
     colorBorderSecondary: n,
@@ -170,7 +170,7 @@ const Yt = (e) => {
     color: e.colorTextHeading,
     fontWeight: e.fontWeightStrong,
     fontSize: e.fontSizeLG
-  }, Ye),
+  }, Qe),
   "&-description": {
     color: e.colorTextDescription
   }
@@ -219,7 +219,7 @@ const Yt = (e) => {
       [`&:not(${t}-bordered)`]: {
         boxShadow: u
       },
-      [`${t}-head`]: Yt(e),
+      [`${t}-head`]: Qt(e),
       [`${t}-extra`]: {
         // https://stackoverflow.com/a/22429853/3040605
         marginInlineStart: "auto",
@@ -231,7 +231,7 @@ const Yt = (e) => {
         padding: f,
         borderRadius: ` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`
       }, xe()),
-      [`${t}-grid`]: Qt(e),
+      [`${t}-grid`]: Yt(e),
       [`${t}-cover`]: {
         "> *": {
           display: "block",
@@ -497,7 +497,7 @@ const {
       prefixCls: l,
       direction: u,
       size: f
-    } = J("card", e), [s, S] = ln(l), d = (g) => g.map(($, E) => je($) && !Qe($) || !je($) ? o("li", {
+    } = J("card", e), [s, S] = ln(l), d = (g) => g.map(($, E) => je($) && !Ye($) || !je($) ? o("li", {
       style: {
         width: `${100 / g.length}%`
       },
@@ -508,14 +508,14 @@ const {
     }, h = function() {
       let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], x;
       return g.forEach(($) => {
-        $ && mt($.type) && $.type.__ANT_CARD_GRID && (x = !0);
+        $ && vt($.type) && $.type.__ANT_CARD_GRID && (x = !0);
       }), x;
     };
     return () => {
       var g, x, $, E, z, O;
       const {
         headStyle: A = {},
-        bodyStyle: v = {},
+        bodyStyle: m = {},
         loading: w,
         bordered: i = !0,
         type: r,
@@ -523,11 +523,11 @@ const {
         hoverable: T,
         activeTabKey: D,
         defaultActiveTabKey: y,
-        tabBarExtraContent: M = me((g = n.tabBarExtraContent) === null || g === void 0 ? void 0 : g.call(n)),
-        title: R = me((x = n.title) === null || x === void 0 ? void 0 : x.call(n)),
-        extra: m = me(($ = n.extra) === null || $ === void 0 ? void 0 : $.call(n)),
-        actions: p = me((E = n.actions) === null || E === void 0 ? void 0 : E.call(n)),
-        cover: L = me((z = n.cover) === null || z === void 0 ? void 0 : z.call(n))
+        tabBarExtraContent: M = ve((g = n.tabBarExtraContent) === null || g === void 0 ? void 0 : g.call(n)),
+        title: R = ve((x = n.title) === null || x === void 0 ? void 0 : x.call(n)),
+        extra: v = ve(($ = n.extra) === null || $ === void 0 ? void 0 : $.call(n)),
+        actions: p = ve((E = n.actions) === null || E === void 0 ? void 0 : E.call(n)),
+        cover: L = ve((z = n.cover) === null || z === void 0 ? void 0 : z.call(n))
       } = e, N = He((O = n.default) === null || O === void 0 ? void 0 : O.call(n)), C = l.value, F = {
         [`${C}`]: !0,
         [S.value]: !0,
@@ -548,13 +548,13 @@ const {
         title: !1
       }, {
         default: () => [N]
-      }), Y = D !== void 0, ne = {
+      }), Q = D !== void 0, ne = {
         size: "large",
-        [Y ? "activeKey" : "defaultActiveKey"]: Y ? D : y,
+        [Q ? "activeKey" : "defaultActiveKey"]: Q ? D : y,
         onChange: I,
         class: `${C}-head-tabs`
       };
-      let Q;
+      let Y;
       const ae = c && c.length ? o(_e, ne, {
         default: () => [c.map((K) => {
           const {
@@ -562,30 +562,30 @@ const {
             slots: Z
           } = K, ge = Z == null ? void 0 : Z.tab;
           gt(!Z, "Card", "tabList slots is deprecated, Please use `customTab` instead.");
-          let ve = re !== void 0 ? re : n[ge] ? n[ge](K) : null;
-          return ve = vt(n, "customTab", K, () => [ve]), o(cn, {
-            tab: ve,
+          let me = re !== void 0 ? re : n[ge] ? n[ge](K) : null;
+          return me = mt(n, "customTab", K, () => [me]), o(cn, {
+            tab: me,
             key: K.key,
             disabled: K.disabled
           }, null);
         })],
         rightExtra: M ? () => M : null
       }) : null;
-      (R || m || ae) && (Q = o("div", {
+      (R || v || ae) && (Y = o("div", {
         class: `${C}-head`,
         style: A
       }, [o("div", {
         class: `${C}-head-wrapper`
       }, [R && o("div", {
         class: `${C}-head-title`
-      }, [R]), m && o("div", {
+      }, [R]), v && o("div", {
         class: `${C}-extra`
-      }, [m])]), ae]));
+      }, [v])]), ae]));
       const he = L ? o("div", {
         class: `${C}-cover`
       }, [L]) : null, Ee = o("div", {
         class: `${C}-body`,
-        style: v
+        style: m
       }, [w ? te : N]), Te = p && p.length ? o("ul", {
         class: `${C}-actions`
       }, [d(p)]) : null;
@@ -593,7 +593,7 @@ const {
         ref: "cardContainerRef"
       }, a), {}, {
         class: [F, a.class]
-      }), [Q, he, N && N.length ? Ee : null, Te]));
+      }), [Y, he, N && N.length ? Ee : null, Te]));
     };
   }
 }), un = () => ({
@@ -668,17 +668,17 @@ ie.Grid = fe;
 ie.install = function(e) {
   return e.component(ie.name, ie), e.component(De.name, De), e.component(fe.name, fe), e;
 };
-const vn = () => ({
+const mn = () => ({
   avatar: X.any,
   description: X.any,
   prefixCls: String,
   title: X.any
-}), mn = q({
+}), vn = q({
   compatConfig: {
     MODE: 3
   },
   name: "AListItemMeta",
-  props: vn(),
+  props: mn(),
   displayName: "AListItemMeta",
   __ANT_LIST_ITEM_META: !0,
   slots: Object,
@@ -728,7 +728,7 @@ const fn = () => ({
   },
   name: "AListItem",
   inheritAttrs: !1,
-  Meta: mn,
+  Meta: vn,
   props: fn(),
   slots: Object,
   setup(e, t) {
@@ -749,7 +749,7 @@ const fn = () => ({
       const I = ((d = n.default) === null || d === void 0 ? void 0 : d.call(n)) || [];
       let h;
       return I.forEach((g) => {
-        ft(g) && !Qe(g) && (h = !0);
+        ft(g) && !Ye(g) && (h = !0);
       }), h && I.length > 1;
     }, S = () => {
       var d, I;
@@ -761,14 +761,14 @@ const fn = () => ({
       const {
         class: $
       } = a, E = pn(a, ["class"]), z = f.value, O = (d = e.extra) !== null && d !== void 0 ? d : (I = n.extra) === null || I === void 0 ? void 0 : I.call(n), A = (h = n.default) === null || h === void 0 ? void 0 : h.call(n);
-      let v = (g = e.actions) !== null && g !== void 0 ? g : He((x = n.actions) === null || x === void 0 ? void 0 : x.call(n));
-      v = v && !Array.isArray(v) ? [v] : v;
-      const w = v && v.length > 0 && o("ul", {
+      let m = (g = e.actions) !== null && g !== void 0 ? g : He((x = n.actions) === null || x === void 0 ? void 0 : x.call(n));
+      m = m && !Array.isArray(m) ? [m] : m;
+      const w = m && m.length > 0 && o("ul", {
         class: `${z}-item-action`,
         key: "actions"
-      }, [v.map((c, T) => o("li", {
+      }, [m.map((c, T) => o("li", {
         key: `${z}-item-action-${T}`
-      }, [c, T !== v.length - 1 && o("em", {
+      }, [c, T !== m.length - 1 && o("em", {
         class: `${z}-item-action-split`
       }, null)]))]), i = u.value ? "div" : "li", r = o(i, W(W({}, E), {}, {
         class: oe(`${z}-item`, {
@@ -1138,21 +1138,21 @@ const fn = () => ({
     Ue(g, () => {
       "current" in g.value && (x.value = g.value.current), "pageSize" in g.value && ($.value = g.value.pageSize);
     });
-    const E = [], z = (m) => (p, L) => {
-      x.value = p, $.value = L, g.value[m] && g.value[m](p, L);
-    }, O = z("onChange"), A = z("onShowSizeChange"), v = _(() => typeof e.loading == "boolean" ? {
+    const E = [], z = (v) => (p, L) => {
+      x.value = p, $.value = L, g.value[v] && g.value[v](p, L);
+    }, O = z("onChange"), A = z("onShowSizeChange"), m = _(() => typeof e.loading == "boolean" ? {
       spinning: e.loading
-    } : e.loading), w = _(() => v.value && v.value.spinning), i = _(() => {
-      let m = "";
+    } : e.loading), w = _(() => m.value && m.value.spinning), i = _(() => {
+      let v = "";
       switch (e.size) {
         case "large":
-          m = "lg";
+          v = "lg";
           break;
         case "small":
-          m = "sm";
+          v = "sm";
           break;
       }
-      return m;
+      return v;
     }), r = _(() => ({
       [`${s.value}`]: !0,
       [`${s.value}-vertical`]: e.itemLayout === "vertical",
@@ -1163,44 +1163,44 @@ const fn = () => ({
       [`${s.value}-grid`]: !!e.grid,
       [`${s.value}-rtl`]: S.value === "rtl"
     })), c = _(() => {
-      const m = b(b(b({}, f), {
+      const v = b(b(b({}, f), {
         total: e.dataSource.length,
         current: x.value,
         pageSize: $.value
-      }), e.pagination || {}), p = Math.ceil(m.total / m.pageSize);
-      return m.current > p && (m.current = p), m;
+      }), e.pagination || {}), p = Math.ceil(v.total / v.pageSize);
+      return v.current > p && (v.current = p), v;
     }), T = _(() => {
-      let m = [...e.dataSource];
-      return e.pagination && e.dataSource.length > (c.value.current - 1) * c.value.pageSize && (m = [...e.dataSource].splice((c.value.current - 1) * c.value.pageSize, c.value.pageSize)), m;
+      let v = [...e.dataSource];
+      return e.pagination && e.dataSource.length > (c.value.current - 1) * c.value.pageSize && (v = [...e.dataSource].splice((c.value.current - 1) * c.value.pageSize, c.value.pageSize)), v;
     }), D = ht(), y = yt(() => {
-      for (let m = 0; m < Ge.length; m += 1) {
-        const p = Ge[m];
+      for (let v = 0; v < Ge.length; v += 1) {
+        const p = Ge[v];
         if (D.value[p])
           return p;
       }
     }), M = _(() => {
       if (!e.grid)
         return;
-      const m = y.value && e.grid[y.value] ? e.grid[y.value] : e.grid.column;
-      if (m)
+      const v = y.value && e.grid[y.value] ? e.grid[y.value] : e.grid.column;
+      if (v)
         return {
-          width: `${100 / m}%`,
-          maxWidth: `${100 / m}%`
+          width: `${100 / v}%`,
+          maxWidth: `${100 / v}%`
         };
-    }), R = (m, p) => {
+    }), R = (v, p) => {
       var L;
       const N = (L = e.renderItem) !== null && L !== void 0 ? L : n.renderItem;
       if (!N) return null;
       let C;
       const F = typeof e.rowKey;
-      return F === "function" ? C = e.rowKey(m) : F === "string" || F === "number" ? C = m[e.rowKey] : C = m.key, C || (C = `list-item-${p}`), E[p] = C, N({
-        item: m,
+      return F === "function" ? C = e.rowKey(v) : F === "string" || F === "number" ? C = v[e.rowKey] : C = v.key, C || (C = `list-item-${p}`), E[p] = C, N({
+        item: v,
         index: p
       });
     };
     return () => {
-      var m, p, L, N, C, F, te, Y;
-      const ne = (m = e.loadMore) !== null && m !== void 0 ? m : (p = n.loadMore) === null || p === void 0 ? void 0 : p.call(n), Q = (L = e.footer) !== null && L !== void 0 ? L : (N = n.footer) === null || N === void 0 ? void 0 : N.call(n), ae = (C = e.header) !== null && C !== void 0 ? C : (F = n.header) === null || F === void 0 ? void 0 : F.call(n), he = He((te = n.default) === null || te === void 0 ? void 0 : te.call(n)), Ee = !!(ne || e.pagination || Q), Te = oe(b(b({}, r.value), {
+      var v, p, L, N, C, F, te, Q;
+      const ne = (v = e.loadMore) !== null && v !== void 0 ? v : (p = n.loadMore) === null || p === void 0 ? void 0 : p.call(n), Y = (L = e.footer) !== null && L !== void 0 ? L : (N = n.footer) === null || N === void 0 ? void 0 : N.call(n), ae = (C = e.header) !== null && C !== void 0 ? C : (F = n.header) === null || F === void 0 ? void 0 : F.call(n), he = He((te = n.default) === null || te === void 0 ? void 0 : te.call(n)), Ee = !!(ne || e.pagination || Y), Te = oe(b(b({}, r.value), {
         [`${s.value}-something-after-last-item`]: Ee
       }), a.class, h.value), K = e.pagination ? o("div", {
         class: `${s.value}-pagination`
@@ -1215,30 +1215,30 @@ const fn = () => ({
       }, null);
       if (T.value.length > 0) {
         E.length = 0;
-        const ge = T.value.map((we, ze) => R(we, ze)), ve = ge.map((we, ze) => o("div", {
+        const ge = T.value.map((we, ze) => R(we, ze)), me = ge.map((we, ze) => o("div", {
           key: E[ze],
           style: M.value
         }, [we]));
         re = e.grid ? o(Jt, {
           gutter: e.grid.gutter
         }, {
-          default: () => [ve]
+          default: () => [me]
         }) : o("ul", {
           class: `${s.value}-items`
         }, [ge]);
       } else !he.length && !w.value && (re = o("div", {
         class: `${s.value}-empty-text`
-      }, [((Y = e.locale) === null || Y === void 0 ? void 0 : Y.emptyText) || d("List")]));
+      }, [((Q = e.locale) === null || Q === void 0 ? void 0 : Q.emptyText) || d("List")]));
       const Z = c.value.position || "bottom";
       return I(o("div", W(W({}, a), {}, {
         class: Te
       }), [(Z === "top" || Z === "both") && K, ae && o("div", {
         class: `${s.value}-header`
-      }, [ae]), o(Ze, v.value, {
+      }, [ae]), o(Ze, m.value, {
         default: () => [re, he]
-      }), Q && o("div", {
+      }), Y && o("div", {
         class: `${s.value}-footer`
-      }, [Q]), ne || (Z === "bottom" || Z === "both") && K]));
+      }, [Y]), ne || (Z === "bottom" || Z === "both") && K]));
     };
   }
 });
@@ -1391,12 +1391,12 @@ const An = () => b(b({}, Bt()), {
     }, {
       prefixCls: E,
       getPrefixCls: z
-    } = J("popconfirm", e), O = _(() => z()), A = _(() => z("btn")), [v] = Cn(E), [w] = At("Popconfirm", Et.Popconfirm), i = () => {
+    } = J("popconfirm", e), O = _(() => z()), A = _(() => z("btn")), [m] = Cn(E), [w] = At("Popconfirm", Et.Popconfirm), i = () => {
       var r, c, T, D, y;
       const {
         okButtonProps: M,
         cancelButtonProps: R,
-        title: m = (r = n.title) === null || r === void 0 ? void 0 : r.call(n),
+        title: v = (r = n.title) === null || r === void 0 ? void 0 : r.call(n),
         description: p = (c = n.description) === null || c === void 0 ? void 0 : c.call(n),
         cancelText: L = (T = n.cancel) === null || T === void 0 ? void 0 : T.call(n),
         okText: N = (D = n.okText) === null || D === void 0 ? void 0 : D.call(n),
@@ -1404,9 +1404,9 @@ const An = () => b(b({}, Bt()), {
         icon: F = ((y = n.icon) === null || y === void 0 ? void 0 : y.call(n)) || o(Pt, null, null),
         showCancel: te = !0
       } = e, {
-        cancelButton: Y,
+        cancelButton: Q,
         okButton: ne
-      } = n, Q = b({
+      } = n, Y = b({
         onClick: g,
         size: "small"
       }, R), ae = b(b(b({
@@ -1424,11 +1424,11 @@ const An = () => b(b({}, Bt()), {
         class: [`${E.value}-message-title`, {
           [`${E.value}-message-title-only`]: !!p
         }]
-      }, [m])]), p && o("div", {
+      }, [v])]), p && o("div", {
         class: `${E.value}-description`
       }, [p]), o("div", {
         class: `${E.value}-buttons`
-      }, [te ? Y ? Y(Q) : o(Ke, Q, {
+      }, [te ? Q ? Q(Y) : o(Ke, Y, {
         default: () => [L || w.value.cancelText]
       }) : null, ne ? ne(ae) : o(Ut, {
         buttonProps: b(b({
@@ -1450,7 +1450,7 @@ const An = () => b(b({}, Bt()), {
         overlayClassName: T,
         trigger: D = "click"
       } = e, y = In(e, ["placement", "overlayClassName", "trigger"]), M = Oe(y, ["title", "content", "cancelText", "okText", "onUpdate:open", "onConfirm", "onCancel", "prefixCls"]), R = oe(E.value, T);
-      return v(o(Ft, W(W(W({}, M), u), {}, {
+      return m(o(Ft, W(W(W({}, M), u), {}, {
         trigger: D,
         placement: c,
         onOpenChange: $,
@@ -1461,8 +1461,8 @@ const An = () => b(b({}, Bt()), {
         "data-popover-inject": !0
       }), {
         default: () => [wt(((r = n.default) === null || r === void 0 ? void 0 : r.call(n)) || [], {
-          onKeydown: (m) => {
-            x(m);
+          onKeydown: (v) => {
+            x(v);
           }
         }, !1)],
         content: i
@@ -1485,7 +1485,7 @@ const An = () => b(b({}, Bt()), {
   setup(e, { emit: t }) {
     const n = e, a = t, l = Dt(), u = (A) => {
       if (!A) return ue;
-      const v = A.split("-").map((i) => i.charAt(0).toUpperCase() + i.slice(1)).join("") + "Outlined", w = Re(v);
+      const m = A.split("-").map((i) => i.charAt(0).toUpperCase() + i.slice(1)).join("") + "Outlined", w = Re(m);
       return typeof w == "string" ? ue : w;
     }, f = _({
       get: () => n.value,
@@ -1495,27 +1495,27 @@ const An = () => b(b({}, Bt()), {
     }, x = () => {
       f.value = !1;
     }, $ = (A) => {
-      A.forEach((v) => {
-        v.children && v.children.length > 0 ? $(v.children) : v.href && v.isShow && d.value.push({
-          id: v.id,
-          name: v.name,
-          icon: v.icon,
-          href: v.href,
-          hoverable: z(v, n.selectedList)
+      A.forEach((m) => {
+        m.children && m.children.length > 0 ? $(m.children) : m.href && m.isShow && d.value.push({
+          id: m.id,
+          name: m.name,
+          icon: m.icon,
+          href: m.href,
+          hoverable: z(m, n.selectedList)
         });
       });
     }, E = (A) => {
       a("done", A);
-    }, z = (A = {}, v = []) => !v || v.length < 1 ? !0 : !v.some((w) => w.menu.id === A.id), O = (A) => se(this, null, function* () {
+    }, z = (A = {}, m = []) => !m || m.length < 1 ? !0 : !m.some((w) => w.menu.id === A.id), O = (A) => se(this, null, function* () {
       var i;
       d.value = [];
-      const v = window.$utils.ls.get("USER-TOKEN"), w = yield Lt({
+      const m = window.$utils.ls.get("USER-TOKEN"), w = yield Lt({
         baseURL: window.$utils.env.VITE_APP_API_BASE_URL,
         url: `/${window.$utils.env.VITE_APP_PORTAL_SERVER_NAME}/v1/users/menus`,
         timeout: 60 * 1e3,
         headers: {
           "Content-Type": "application/json;charset=UTF-8",
-          "user-token": v,
+          "user-token": m,
           "client-id": A
         },
         method: "get",
@@ -1528,11 +1528,11 @@ const An = () => b(b({}, Bt()), {
       () => {
         d.value = [], $(I.value);
       }
-    ), g(), (A, v) => {
+    ), g(), (A, m) => {
       const w = kt, i = _e, r = fe, c = ie, T = Ke, D = Re("s-modal");
       return P(), k(D, {
         value: f.value,
-        "onUpdate:value": v[1] || (v[1] = (y) => f.value = y),
+        "onUpdate:value": m[1] || (m[1] = (y) => f.value = y),
         title: A.$l("添加快捷导航菜单"),
         width: "80%",
         maskClosable: !1
@@ -1551,7 +1551,7 @@ const An = () => b(b({}, Bt()), {
         default: B(() => [
           o(i, {
             activeKey: s.value,
-            "onUpdate:activeKey": v[0] || (v[0] = (y) => s.value = y),
+            "onUpdate:activeKey": m[0] || (m[0] = (y) => s.value = y),
             onChange: O
           }, {
             default: B(() => [
@@ -1638,7 +1638,7 @@ const An = () => b(b({}, Bt()), {
       I.value = !1, s.value = !0, yield Vt(i).then(() => {
         s.value = !1;
       }), x();
-    }), v = (i) => se(this, null, function* () {
+    }), m = (i) => se(this, null, function* () {
       s.value = !0, yield jt({ id: i.id }).then(() => {
         s.value = !1;
       }), x();
@@ -1672,7 +1672,7 @@ const An = () => b(b({}, Bt()), {
     return dt(() => {
       x(), O();
     }), (i, r) => {
-      const c = Tn, T = ie, D = fe, y = Ze, M = Xt, R = ot, m = ee;
+      const c = Tn, T = ie, D = fe, y = Ze, M = Xt, R = ot, v = ee;
       return P(), U("div", zn, [
         o(y, { spinning: s.value }, {
           default: B(() => [
@@ -1716,7 +1716,7 @@ const An = () => b(b({}, Bt()), {
                           ], 8, Bn),
                           o(c, {
                             title: i.$l("确认要移除此快捷导航吗?"),
-                            onConfirm: (N) => v(p),
+                            onConfirm: (N) => m(p),
                             okText: i.$l("删除"),
                             cancelText: i.$l("取消")
                           }, {
@@ -1756,11 +1756,11 @@ const An = () => b(b({}, Bt()), {
               title: B(() => [
                 G("div", Dn, [
                   G("div", {
-                    class: We(["item blue", { active: a.value === 1 }]),
+                    class: We(["item", { "s-theme-color": a.value === 1 }]),
                     onClick: r[3] || (r[3] = (p) => z(1))
                   }, H(i.$l("待处理")) + "(" + H(u.value) + ") ", 3),
                   G("div", {
-                    class: We(["item yellow", { active: a.value === 2 }]),
+                    class: We(["item", { "s-theme-color": a.value === 2 }]),
                     onClick: r[4] || (r[4] = (p) => z(2))
                   }, H(i.$l("待阅读")) + "(" + H(f.value) + ") ", 3)
                 ])
@@ -1771,7 +1771,7 @@ const An = () => b(b({}, Bt()), {
                 }, H(i.$l("更多")), 1)
               ]),
               default: B(() => [
-                g.value.length > 0 ? (P(), k(m, {
+                g.value.length > 0 ? (P(), k(v, {
                   key: 0,
                   style: { "overflow-y": "scroll" },
                   size: "large",
@@ -1832,7 +1832,7 @@ const An = () => b(b({}, Bt()), {
       ]);
     };
   }
-}, Zn = /* @__PURE__ */ Ot(Wn, [["__scopeId", "data-v-c0e2d8aa"]]);
+}, Zn = /* @__PURE__ */ Ot(Wn, [["__scopeId", "data-v-d2094ddd"]]);
 export {
   Zn as default
 };

BIN
static/img/components/page-head-bg.png


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff