diry hai 4 días
pai
achega
80888efbd4
Modificáronse 62 ficheiros con 4118 adicións e 3466 borrados
  1. 7 6
      docs/sapit-ui-base-guide.en.md
  2. 7 6
      docs/sapit-ui-基座说明与业务使用.md
  3. 0 0
      lib/config.json
  4. 0 0
      lib/css/style.css
  5. 7 7
      lib/js/Col.js
  6. 1 1
      lib/js/CustomInput.js
  7. 103 0
      lib/js/SBackTop.js
  8. 1 1
      lib/js/SCascader.js
  9. 1 1
      lib/js/SChooseUser.js
  10. 17 17
      lib/js/SCopperUpload.js
  11. 1 1
      lib/js/SDataRangeTreeSelect.js
  12. 11 11
      lib/js/SDraggerUpload.js
  13. 1 1
      lib/js/SEditorImageAdjust.js
  14. 1 1
      lib/js/SEmpty.js
  15. 4 4
      lib/js/SExtendFieldsForm.js
  16. 4 4
      lib/js/SExtendFieldsFormItem.js
  17. 7 7
      lib/js/SFilePreview.js
  18. 17 17
      lib/js/SFileUpload.js
  19. 1 1
      lib/js/SFormBasicLayout.js
  20. 12 12
      lib/js/SFormLayout.js
  21. 8 8
      lib/js/SIconModal.js
  22. 1 1
      lib/js/SIconSelect.js
  23. 1 1
      lib/js/SIconSelectPopover.js
  24. 32 32
      lib/js/SImportModal.js
  25. 6 6
      lib/js/SListBasicLayout.js
  26. 13 13
      lib/js/SListCardLayout.js
  27. 42 42
      lib/js/SModal.js
  28. 11 11
      lib/js/SNewestDataListLayout.js
  29. 10 10
      lib/js/SOfficeSelect.js
  30. 39 30
      lib/js/SPanelLayout.js
  31. 1 1
      lib/js/SSideMenu.js
  32. 1 1
      lib/js/STopMenu.js
  33. 12 12
      lib/js/SUserSelect.js
  34. 1 1
      lib/js/SettingFilter.js
  35. 2 2
      lib/js/activate.js
  36. 26 28
      lib/js/components-doc.js
  37. 1 1
      lib/js/dayjs.js
  38. 0 60
      lib/js/docs-back-top.js
  39. 0 85
      lib/js/docs.js
  40. 44 44
      lib/js/forgot-password.js
  41. 83 0
      lib/js/guide-doc.js
  42. 33 33
      lib/js/hasIn.js
  43. 1 1
      lib/js/index10.js
  44. 11 11
      lib/js/index12.js
  45. 29 29
      lib/js/index13.js
  46. 3 3
      lib/js/index14.js
  47. 249 174
      lib/js/index16.js
  48. 1118 230
      lib/js/index17.js
  49. 1070 1067
      lib/js/index18.js
  50. 156 1122
      lib/js/index19.js
  51. 30 20
      lib/js/index2.js
  52. 5 5
      lib/js/index3.js
  53. 137 137
      lib/js/index5.js
  54. 9 9
      lib/js/index6.js
  55. 22 22
      lib/js/index7.js
  56. 52 52
      lib/js/index8.js
  57. 23 23
      lib/js/index9.js
  58. 1 1
      lib/js/message.js
  59. 4 4
      lib/js/qr-code.js
  60. 592 0
      lib/js/tools-doc.js
  61. 3 3
      lib/js/useFlexGapSupport.js
  62. 33 33
      lib/js/workplace.js

+ 7 - 6
docs/sapit-ui-base-guide.en.md

@@ -2,7 +2,7 @@
 
 > Applies to: <span style="color:#1677ff;font-weight:700">sapit-ui-framework</span> (the base / sources), <span style="color:#1677ff;font-weight:700">sapit-ui-plus</span> (published artifact), <span style="color:#1677ff;font-weight:700">sapit-base-template</span> (business sample).
 >
-> This document is also the data source of the built-in `/docs` page and the `/components` page.
+> This document is also the data source of the built-in `/docs`, `/components` and `/tools` pages.
 >
 > Prop defaults in the base source are written in Chinese and translated at render time, so the tables below show their English rendering.
 
@@ -64,7 +64,7 @@ A business project only references three things: the entry `sapit-ui-plus`, the
 | Upload           | `SFileUpload`, `SDraggerUpload`, `SCopperUpload`, `CropperModal`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
 | Display / others | `STab`/`STabItem` (tab bar: arrows + drag when the tabs overflow), `SEditor`, `SEmpty`, `SIcon`, `SSvg`, `SAnchor`, `SColorPicker`, `SToggleLanguage`, `SettingFilter`, `SettingColumns`, `SSideMenu`/`STopMenu`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
 
-> **Props / events / methods / slots, live previews and example code for every component live in the built-in component page `/components`** (it also has a "tools / config" tab listing every web-config option and every `$utils` method).
+> **Props / events / methods / slots, live previews and example code for every component live in the built-in component page `/components`** (tools and config live on their own page `/tools`, listing every web-config option and every `$utils` method).
 >
 > A few usage notes:
 >
@@ -127,12 +127,12 @@ Use a layout component for the page body (`SListLayout` / `SFormLayout` / `SSkel
 | `/user/qrCode`, `/user/forgotPassword`, `/user/activate` | QR login / forgot password / account activation pages. The parent `/user` carries `meta.public`, so they are **reachable before login** (see 2.10)         |
 | `/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)                                                                          |
+| `/docs`, `/components`, `/tools`                          | Built-in docs / component / tool-config 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). Where they render and their wording: see 2.11 |
 
 > Redirect rules, query parameters, wording and color overrides for the error pages are documented in [2.11 Error pages](#docs-211Errorpages301403404500).
 
-**Static routes** (`staticRoutes`, independent of backend menus): see 4.4. The base ships `/docs` and `/components`.
+**Static routes** (`staticRoutes`, independent of backend menus): see 4.4. The base ships `/docs`, `/components` and `/tools`.
 
 **Dynamic routes** (`packages/router/generator-routers.js`): after login a tree is generated from the backend `menus`, rooted at `BasicLayout`; leaf nodes use `item.hrefs` to match business `pages` (keys of `import.meta.glob('@/views/**/*.vue')`) and fall back to 404 when nothing matches. Registration happens inside the guard (memory flag, re-registered on refresh).
 
@@ -270,7 +270,7 @@ How it takes effect:
 | Built in                                                                      | How a business project uses it                                                |
 | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
 | Login / SSO / forgot-password / activation API set                            | Use the base login page; details in 2.10, visual override in 4.3              |
-| Built-in pages: workplace, todo, message, 403/404/500, `/docs`, `/components` | Open them directly; workplace / home can be overridden by business pages      |
+| Built-in pages: workplace, todo, message, 403/404/500, `/docs`, `/components`, `/tools` | Open them directly; workplace / home can be overridden by business pages      |
 | Static assets, global styles, theme tokens                                    | Shipped inside `packages/static` and `packages/style` — nothing to copy       |
 | Common dependencies                                                           | Already shipped in `sapit-ui-plus` dependencies, import directly; list in 4.8 |
 
@@ -619,7 +619,7 @@ location = /monitor/config.json {
 </template>
 ```
 
-After the backend delivers `permissions` the base writes `permission`, and `v-action:xxx` controls button-level permission. Documentation is available at `<business base>/docs` and `<business base>/components`.
+After the backend delivers `permissions` the base writes `permission`, and `v-action:xxx` controls button-level permission. Documentation is available at `<business base>/docs`, `<business base>/components` and `<business base>/tools`.
 
 ---
 
@@ -693,3 +693,4 @@ this.$utils.http.post('/api/msg/count', {}, { skipErrorPage: true })
 | ------------------- | ---------------------------------------------------------------- |
 | `<base>/docs`       | This guide                                                       |
 | `<base>/components` | s components (built-in components: left menu + preview + source) |
+| `<base>/tools`      | Tools and config (`$utils` methods + web-config options + bundled dependencies) |

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

@@ -2,7 +2,7 @@
 
 > 适用工程:<span style="color:#1677ff;font-weight:700">sapit-ui-framework</span>(基座/源码)、<span style="color:#1677ff;font-weight:700">sapit-ui-plus</span>(发布产物)、<span style="color:#1677ff;font-weight:700">sapit-base-template</span>(业务示例)
 >
-> 本文档也是基座内置文档页 `/docs` 与组件页 `/components` 的数据源。
+> 本文档也是基座内置文档页 `/docs`、组件页 `/components`、工具与配置页 `/tools` 的数据源。
 
 ---
 
@@ -62,7 +62,7 @@ node_modules/sapit-ui-plus/
 | 上传类    | `SFileUpload`、`SDraggerUpload`、`SCopperUpload`、`CropperModal`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
 | 展示/其它 | `STab`/`STabItem`(标签栏,超出宽度自动出左右箭头)、`SEditor`、`SEmpty`、`SIcon`、`SSvg`、`SAnchor`、`SColorPicker`、`SToggleLanguage`、`SettingFilter`、`SettingColumns`、`SSideMenu`/`STopMenu`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
 
-> **每个组件的 props / 事件 / 方法 / 插槽、可运行预览与示例代码,统一看内置组件页 `/components`**(另有「工具/配置」标签页,列出 web-config 全部配置项与 `$utils` 全部方法)。
+> **每个组件的 props / 事件 / 方法 / 插槽、可运行预览与示例代码,统一看内置组件页 `/components`**(另有「工具/配置」页 `/tools`,列出 web-config 全部配置项与 `$utils` 全部方法)。
 >
 > 几条使用口径:
 >
@@ -127,12 +127,12 @@ node_modules/sapit-ui-plus/
 | `/user/qrCode`、`/user/forgotPassword`、`/user/activate` | 扫码登录 / 找回密码 / 账号激活三张独立页,父级 `/user` 带 `meta.public`,**登录前可达**(见 2.10) |
 | `/workplace/index`                                       | 默认首页(`VITE_APP_DEFAULT_PATH`,可被覆盖)                                                      |
 | `/workbench/index`、`/message/index`                     | 工作台 / 消息                                                                                      |
-| `/docs`、`/components`                                   | 内置文档 / 组件页(`public` 免登录、`hidden` 不进菜单)                                            |
+| `/docs`、`/components`、`/tools`                          | 内置文档 / 组件 / 工具配置页(`public` 免登录、`hidden` 不进菜单)                                            |
 | `/404`、`/403`、`/500`、`/:pathMatch(.*)*`               | 错误页;通配渲染 404(**不用 redirect**,保证刷新动态路由不掉 404),渲染位置与文案见 2.11         |
 
 > 错误页的触发规则、URL 参数、文案口径与改色方法见 [2.11 错误页](#docs-211错误页301403404500)。
 
-**静态路由**(`staticRoutes`,不依赖后端菜单):见 4.4。基座内置 `/docs`、`/components`。
+**静态路由**(`staticRoutes`,不依赖后端菜单):见 4.4。基座内置 `/docs`、`/components`、`/tools`。
 
 **动态路由**:登录后按后端 `menus` 生成路由树,根节点是 `BasicLayout`;叶子节点用菜单的 `hrefs` 匹配业务 `src/views/**` 下的页面路径(或组件名),匹配不到回退 404。
 
@@ -274,7 +274,7 @@ export default {
 | 内置                                                              | 业务怎么用                                                              |
 | ----------------------------------------------------------------- | ----------------------------------------------------------------------- |
 | 登录 / 单点 / 找回密码 / 激活 全套接口                            | 走基座登录页即可,细节见 2.10,换版式见 4.3                             |
-| 内置页面:工作台、待办、消息、403/404/500、`/docs`、`/components` | 直接访问;工作台 / 首页可用业务自己的页面覆盖                           |
+| 内置页面:工作台、待办、消息、403/404/500、`/docs`、`/components`、`/tools` | 直接访问;工作台 / 首页可用业务自己的页面覆盖                           |
 | 静态资源、全局样式、主题令牌                                      | `packages/static`、`packages/style` 已随包发布,业务不需要复制          |
 | 常用依赖                                                          | `sapit-ui-plus` 的 dependencies 已随包装好,业务直接 import,清单见 4.8 |
 
@@ -628,7 +628,7 @@ location = /monitor/config.json {
 </template>
 ```
 
-后端下发 `permissions` 后基座写入 `permission`,用 `v-action:xxx` 控制按钮级权限。文档访问:`<业务base>/docs`、`<业务base>/components`。
+后端下发 `permissions` 后基座写入 `permission`,用 `v-action:xxx` 控制按钮级权限。文档访问:`<业务base>/docs`、`<业务base>/components`、`<业务base>/tools`。
 
 ---
 
@@ -702,3 +702,4 @@ this.$utils.http.post('/api/msg/count', {}, { skipErrorPage: true })
 | ------------------- | ------------------------------------------- |
 | `<base>/docs`       | 说明文档(本文)                            |
 | `<base>/components` | s组件(基座内置组件:左菜单 + 预览 + 源码) |
+| `<base>/tools`      | 工具与配置(`$utils` 全部方法 + web-config 配置项 + 内置依赖) |

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
lib/config.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
lib/css/style.css


+ 7 - 7
lib/js/Col.js

@@ -1,16 +1,16 @@
-import { g as E, m as _, d as g, u as k, bs as T, bt as w, c as F, _ as C, bp as N } from "./index2.js";
+import { g as E, m as _, d as g, u as k, bt as T, bu as w, c as F, _ as C, bq as N } from "./index2.js";
 import { inject as D, computed as $, provide as V, defineComponent as L, ref as R, onMounted as X, onBeforeUnmount as H, createVNode as W } from "vue";
 import { u as K } from "./useFlexGapSupport.js";
 const B = Symbol("rowContextKey"), P = (e) => {
   V(B, e);
-}, J = () => D(B, {
+}, q = () => D(B, {
   gutter: $(() => {
   }),
   wrap: $(() => {
   }),
   supportFlexGap: $(() => {
   })
-}), U = (e) => {
+}), J = (e) => {
   const {
     componentCls: t
   } = e;
@@ -60,7 +60,7 @@ const B = Symbol("rowContextKey"), P = (e) => {
       }
     }
   };
-}, q = (e) => {
+}, U = (e) => {
   const {
     componentCls: t
   } = e;
@@ -109,7 +109,7 @@ const B = Symbol("rowContextKey"), P = (e) => {
   return o;
 }, O = (e, t) => Q(e, t), Y = (e, t, u) => ({
   [`@media (min-width: ${t}px)`]: g({}, O(e, u))
-}), Z = E("Grid", (e) => [U(e)]), z = E("Grid", (e) => {
+}), Z = E("Grid", (e) => [J(e)]), z = E("Grid", (e) => {
   const t = _(e, {
     gridColumns: 24
     // Row is divided into 24 parts in Grid
@@ -120,7 +120,7 @@ const B = Symbol("rowContextKey"), P = (e) => {
     "-xl": t.screenXLMin,
     "-xxl": t.screenXXLMin
   };
-  return [q(t), O(t, ""), O(t, "-xs"), Object.keys(u).map((a) => Y(t, u[a], a)).reduce((a, o) => g(g({}, a), o), {})];
+  return [U(t), O(t, ""), O(t, "-xs"), Object.keys(u).map((a) => Y(t, u[a], a)).reduce((a, o) => g(g({}, a), o), {})];
 }), ee = () => ({
   align: N([String, Object]),
   justify: N([String, Object]),
@@ -275,7 +275,7 @@ const ne = () => ({
       gutter: o,
       supportFlexGap: s,
       wrap: G
-    } = J(), {
+    } = q(), {
       prefixCls: y,
       direction: b
     } = k("col", e), [v, x] = z(y), S = $(() => {

+ 1 - 1
lib/js/CustomInput.js

@@ -15,7 +15,7 @@ var k = (o, f, a) => new Promise((l, T) => {
   E((a = a.apply(o, f)).next());
 });
 import { computed as v, ref as L, watch as V, resolveComponent as C, openBlock as s, createElementBlock as S, createBlock as c, createCommentVNode as m, withCtx as h, Fragment as Y, renderList as F, createTextVNode as O, toDisplayString as P } from "vue";
-import { I as g, a6 as B, a7 as G, dk as y, dl as H } from "./index2.js";
+import { I as g, a7 as B, a8 as G, dk as y, dl as H } from "./index2.js";
 import { _ as $ } from "./index10.js";
 import { D as R } from "./dayjs.js";
 const j = {

+ 103 - 0
lib/js/SBackTop.js

@@ -0,0 +1,103 @@
+import { ref as u, reactive as S, onMounted as _, onBeforeUnmount as k, openBlock as d, createElementBlock as T, Fragment as E, createElementVNode as m, createBlock as H, Teleport as x, createVNode as p, Transition as B, withCtx as O, withDirectives as R, normalizeStyle as z, unref as C, vShow as M } from "vue";
+import { n as N, U as L } from "./index2.js";
+const U = ["title"], Y = /* @__PURE__ */ Object.assign({ name: "SBackTop" }, {
+  __name: "SBackTop",
+  props: {
+    /**
+     * 滚动容器:CSS 选择器或 DOM 元素。
+     * 不传时自动向上找最近的滚动祖先(如 SPanelLayout 的内容区),找不到则监听 window。
+     */
+    target: {
+      type: [String, Object],
+      default: null
+    },
+    /** 滚动超过该距离才出现;可滚动距离本身更短时按比例下调,避免按钮永不出现 */
+    visibilityHeight: {
+      type: Number,
+      default: 200
+    },
+    /** 距滚动容器右边缘的距离(px);容器铺满窗口时即距窗口右边缘 */
+    right: {
+      type: Number,
+      default: 30
+    },
+    /** 距滚动容器下边缘的距离(px) */
+    bottom: {
+      type: Number,
+      default: 40
+    }
+  },
+  setup(f) {
+    const o = f, s = u(null), a = u(!1), l = S({ right: o.right, bottom: o.bottom });
+    let e = null, r = null;
+    const w = (t) => {
+      if (!t || t.nodeType !== 1) return !1;
+      const n = window.getComputedStyle(t);
+      return /(auto|scroll|overlay)/.test(n.overflowY) && t.scrollHeight > t.clientHeight + 1;
+    }, h = () => {
+      if (o.target)
+        return typeof o.target == "string" ? document.querySelector(o.target) || window : o.target;
+      let t = s.value ? s.value.parentElement : null, n = null;
+      for (; t && t !== document.body && t !== document.documentElement; ) {
+        if (w(t)) return t;
+        !n && /(auto|scroll|overlay)/.test(window.getComputedStyle(t).overflowY) && (n = t), t = t.parentElement;
+      }
+      return n || window;
+    }, g = () => !e || e === window ? window.pageYOffset || document.documentElement.scrollTop || 0 : e.scrollTop, b = () => !e || e === window ? document.documentElement.scrollHeight - window.innerHeight : e.scrollHeight - e.clientHeight, i = () => {
+      const t = e;
+      if (!t || t === window) {
+        l.right = o.right, l.bottom = o.bottom;
+        return;
+      }
+      const n = t.getBoundingClientRect();
+      l.right = Math.max(0, window.innerWidth - n.right) + o.right, l.bottom = Math.max(0, window.innerHeight - n.bottom) + o.bottom;
+    }, c = () => {
+      const t = b(), n = Math.min(o.visibilityHeight, Math.max(40, t * 0.15));
+      a.value = g() > n, i();
+    }, v = () => {
+      e = h(), i(), c(), r && r.disconnect(), e && e !== window && typeof ResizeObserver != "undefined" && (r = new ResizeObserver(() => {
+        i(), c();
+      }), r.observe(e));
+    }, y = () => {
+      const t = { top: 0, behavior: "smooth" };
+      if (!e || e === window) {
+        window.scrollTo(t);
+        return;
+      }
+      e.scrollTo(t);
+    };
+    return _(() => {
+      v(), document.addEventListener("scroll", c, !0), window.addEventListener("resize", i);
+    }), k(() => {
+      document.removeEventListener("scroll", c, !0), window.removeEventListener("resize", i), r && r.disconnect(), r = null, e = null;
+    }), (t, n) => (d(), T(E, null, [
+      m("span", {
+        ref_key: "anchorRef",
+        ref: s,
+        class: "s-back-top-anchor",
+        "aria-hidden": "true"
+      }, null, 512),
+      (d(), H(x, { to: "body" }, [
+        p(B, { name: "s-back-top-fade" }, {
+          default: O(() => [
+            R(m("button", {
+              class: "s-back-top",
+              type: "button",
+              title: t.$l("回到顶部"),
+              style: z({ right: l.right + "px", bottom: l.bottom + "px" }),
+              onClick: y
+            }, [
+              p(C(L))
+            ], 12, U), [
+              [M, a.value]
+            ])
+          ]),
+          _: 1
+        })
+      ]))
+    ], 64));
+  }
+}), D = /* @__PURE__ */ N(Y, [["__scopeId", "data-v-6a267305"]]);
+export {
+  D as default
+};

+ 1 - 1
lib/js/SCascader.js

@@ -1,6 +1,6 @@
 import { computed as y, shallowRef as Ee, ref as X, watchEffect as ie, provide as Fe, inject as We, watch as be, createVNode as T, defineComponent as xe, onMounted as je, toRef as pe, toRefs as He, openBlock as Be, createElementBlock as ze, unref as Xe } from "vue";
 import { Cascader as Ue } from "ant-design-vue";
-import { A as Ge, d as k, D as Ye, E as qe, F as Se, G as we, H as Je, K as q, _ as Z, J as Qe, L as Ve, M as Ze, N as Ce, h as oe, o as Ie, O as et, i as Te, Q as tt, P as ye, e as nt, g as lt, S as at, t as ot, T as st, b as it, U as rt, V as ct, W as ut, u as dt, X as vt, Y as pt, Z as ht, c as ft, $ as gt, a0 as mt, a1 as Ct, a2 as St, a3 as ke, a4 as yt, a5 as bt } from "./index2.js";
+import { A as Ge, d as k, D as Ye, E as qe, F as Se, G as we, H as Je, K as q, _ as Z, J as Qe, L as Ve, M as Ze, N as Ce, h as oe, o as Ie, O as et, i as Te, Q as tt, P as ye, e as nt, g as lt, S as at, t as ot, T as st, b as it, V as rt, W as ct, X as ut, u as dt, Y as vt, Z as pt, $ as ht, c as ft, a0 as gt, a1 as mt, a2 as Ct, a3 as St, a4 as ke, a5 as yt, a6 as bt } from "./index2.js";
 import "./index5.js";
 const Oe = "__RC_CASCADER_SPLIT__", $e = "SHOW_PARENT", De = "SHOW_CHILD";
 function ee(e) {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
lib/js/SChooseUser.js


+ 17 - 17
lib/js/SCopperUpload.js

@@ -1,4 +1,4 @@
-var K = (r, _, g) => new Promise((n, T) => {
+var K = (r, N, g) => new Promise((n, T) => {
   var k = (c) => {
     try {
       b(g.next(c));
@@ -12,21 +12,21 @@ var K = (r, _, g) => new Promise((n, T) => {
       T(C);
     }
   }, b = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(k, d);
-  b((g = g.apply(r, _)).next());
+  b((g = g.apply(r, N)).next());
 });
 import { computed as R, ref as x, watch as be, openBlock as i, createElementBlock as w, normalizeClass as I, createElementVNode as y, toDisplayString as B, createCommentVNode as u, createVNode as D, unref as v, normalizeStyle as ke, withCtx as ee, Fragment as le, createBlock as m, resolveDynamicComponent as te, withDirectives as Ce, withModifiers as O, vShow as $e } from "vue";
 import { d as Oe } from "./vuedraggable.js";
 import Se from "./SFilePreview.js";
 import Ue from "./CropperModal.js";
 import { b as Fe, d as Re } from "./upload.js";
-import { n as xe, ak as Ie, al as ae, am as oe, an as ne, ao as ie, ap as E, aq as L, ar as h, as as Be, at as j, au as M, av as se, aw as q, ax as N, ay as Ee, az as Le } from "./index2.js";
+import { n as xe, al as Ie, am as ae, an as oe, ao as ne, ap as ie, aq as E, ar as L, as as h, at as Be, au as j, av as M, aw as se, ax as q, ay as A, az as Ee, aA as Le } from "./index2.js";
 const Me = {
   key: 0,
   class: "head"
 }, Te = { class: "label" }, ze = ["onMouseover", "onMouseleave"], De = ["src", "alt"], je = {
   key: 1,
   class: "file-thumb"
-}, Ne = { class: "file-thumb-ext" }, _e = { class: "tool-wrap" }, Ae = { class: "left" }, Pe = { class: "right move" }, Ve = { class: "file-row-ext" }, Ke = ["title"], qe = { class: "file-row-actions" }, Ge = {
+}, Ae = { class: "file-thumb-ext" }, Ne = { class: "tool-wrap" }, _e = { class: "left" }, Pe = { class: "right move" }, Ve = { class: "file-row-ext" }, Ke = ["title"], qe = { class: "file-row-actions" }, Ge = {
   key: 0,
   class: "file-add-text"
 }, He = ["accept", "disabled"], We = {
@@ -175,13 +175,13 @@ const Me = {
     }
   },
   emits: ["change", "handChange", "dragChange", "download"],
-  setup(r, { emit: _ }) {
-    const g = _, n = r, T = R(() => n.readonly || n.detailMode), k = R(() => n.readonly || n.detailMode), d = R(() => n.listType !== "list"), b = R(() => n.isAdd && !k.value && !n.noDrag), c = R(() => n.isAdd && !k.value && n.showRemove), C = () => n.path || n.businessTableName, re = ["png", "jpg", "jpeg", "gif", "webp", "bmp", "svg", "ico", "avif", "tif", "tiff"], ue = {
+  setup(r, { emit: N }) {
+    const g = N, n = r, T = R(() => n.readonly || n.detailMode), k = R(() => n.readonly || n.detailMode), d = R(() => n.listType !== "list"), b = R(() => n.isAdd && !k.value && !n.noDrag), c = R(() => n.isAdd && !k.value && n.showRemove), C = () => n.path || n.businessTableName, re = ["png", "jpg", "jpeg", "gif", "webp", "bmp", "svg", "ico", "avif", "tif", "tiff"], ue = {
       pdf: Ee,
-      doc: N,
-      docx: N,
-      wps: N,
-      rtf: N,
+      doc: A,
+      docx: A,
+      wps: A,
+      rtf: A,
       xls: q,
       xlsx: q,
       csv: q,
@@ -228,7 +228,7 @@ const Me = {
     }, H = (e = {}) => {
       const t = e.type || e.mimeType || "";
       return t ? String(t).indexOf("image/") === 0 : re.includes(z(e));
-    }, W = (e = {}) => ue[z(e)] || Le, s = x([]), A = x(!1), X = x(0);
+    }, W = (e = {}) => ue[z(e)] || Le, s = x([]), _ = x(!1), X = x(0);
     be(
       () => n.list,
       (e) => {
@@ -323,7 +323,7 @@ const Me = {
         return;
       }
       let l = s.value.findIndex((a) => a === e);
-      l < 0 && (l = s.value.findIndex((a) => S(a) === t)), X.value = l > -1 ? l : 0, A.value = !0;
+      l < 0 && (l = s.value.findIndex((a) => S(a) === t)), X.value = l > -1 ? l : 0, _.value = !0;
     }, Y = (...t) => K(this, [...t], function* (e = {}) {
       const l = S(e);
       if (!l) return;
@@ -373,10 +373,10 @@ const Me = {
                 alt: U(l)
               }, null, 8, De)) : (i(), w("div", je, [
                 (i(), m(te(W(l)), { class: "file-thumb-icon" })),
-                y("span", Ne, B(z(l) || "FILE"), 1)
+                y("span", Ae, B(z(l) || "FILE"), 1)
               ])),
-              Ce(y("div", _e, [
-                y("div", Ae, [
+              Ce(y("div", Ne, [
+                y("div", _e, [
                   r.showPreview ? (i(), m(v(ae), {
                     key: 0,
                     class: "tool-icon-wrap",
@@ -462,8 +462,8 @@ const Me = {
         _: 1
       }, 8, ["modelValue", "class", "style", "disabled"]),
       D(Se, {
-        value: A.value,
-        "onUpdate:value": t[1] || (t[1] = (l) => A.value = l),
+        value: _.value,
+        "onUpdate:value": t[1] || (t[1] = (l) => _.value = l),
         list: s.value,
         active: X.value
       }, null, 8, ["value", "list", "active"]),

+ 1 - 1
lib/js/SDataRangeTreeSelect.js

@@ -26,7 +26,7 @@ var T = (r, u, t) => new Promise((g, S) => {
   f((t = t.apply(r, u)).next());
 });
 import { ref as p, computed as C, onMounted as L, watch as y, openBlock as j, createElementBlock as U, createVNode as H } from "vue";
-import { ad as R, ae as M, af as q, ag as J } from "./index2.js";
+import { ae as R, af as M, ag as q, ah as J } from "./index2.js";
 import { _ as K } from "./index7.js";
 const P = { class: "s-data-range-tree-select" }, Z = {
   __name: "SDataRangeTreeSelect",

+ 11 - 11
lib/js/SDraggerUpload.js

@@ -14,18 +14,18 @@ var J = (u, _, m) => new Promise((i, M) => {
   }, y = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(b, r);
   y((m = m.apply(u, _)).next());
 });
-import { computed as U, ref as A, watch as ve, openBlock as o, createElementBlock as g, normalizeClass as x, createElementVNode as w, toDisplayString as I, createCommentVNode as d, createVNode as j, unref as p, normalizeStyle as me, withCtx as Q, Fragment as Y, createBlock as v, resolveDynamicComponent as ee, withDirectives as ge, withModifiers as C, vShow as we } from "vue";
+import { computed as U, ref as T, watch as ve, openBlock as o, createElementBlock as g, normalizeClass as x, createElementVNode as w, toDisplayString as I, createCommentVNode as d, createVNode as j, unref as p, normalizeStyle as me, withCtx as Q, Fragment as Y, createBlock as v, resolveDynamicComponent as ee, withDirectives as ge, withModifiers as C, vShow as we } from "vue";
 import { d as he } from "./vuedraggable.js";
 import ye from "./SFilePreview.js";
 import { b as be, d as ke } from "./upload.js";
-import { n as Ce, ak as $e, al as le, am as te, an as ae, ao as ne, ap as E, aq as B, ar as h, as as Oe, at as L, au as D, av as oe, aw as V, ax as R, ay as Se, az as Fe } from "./index2.js";
+import { n as Ce, al as $e, am as le, an as te, ao as ae, ap as ne, aq as E, ar as B, as as h, at as Oe, au as L, av as D, aw as oe, ax as V, ay as R, az as Se, aA as Fe } from "./index2.js";
 const Ue = {
   key: 0,
   class: "head"
 }, xe = { class: "label" }, Ie = ["onMouseover", "onMouseleave"], Ee = ["src", "alt"], Be = {
   key: 1,
   class: "file-thumb"
-}, De = { class: "file-thumb-ext" }, Me = { class: "tool-wrap" }, Te = { class: "left" }, Ae = { class: "right move" }, Le = { class: "file-row-ext" }, Re = ["title"], _e = { class: "file-row-actions" }, ze = {
+}, De = { class: "file-thumb-ext" }, Me = { class: "tool-wrap" }, Ae = { class: "left" }, Te = { class: "right move" }, Le = { class: "file-row-ext" }, Re = ["title"], _e = { class: "file-row-actions" }, ze = {
   key: 0,
   class: "file-add-text"
 }, Pe = ["accept", "disabled"], Ne = {
@@ -205,13 +205,13 @@ const Ue = {
       } catch (a) {
         return l;
       }
-    }, O = (e = {}) => e.name || K($(e)) || window.$l("未命名文件"), T = (e = {}) => {
+    }, O = (e = {}) => e.name || K($(e)) || window.$l("未命名文件"), A = (e = {}) => {
       const t = O(e), l = t.lastIndexOf(".");
       return l > -1 ? t.slice(l + 1).toLowerCase() : "";
     }, q = (e = {}) => {
       const t = e.type || e.mimeType || "";
-      return t ? String(t).indexOf("image/") === 0 : ie.includes(T(e));
-    }, G = (e = {}) => se[T(e)] || Fe, s = A([]), z = A(!1), H = A(0);
+      return t ? String(t).indexOf("image/") === 0 : ie.includes(A(e));
+    }, G = (e = {}) => se[A(e)] || Fe, s = T([]), z = T(!1), H = T(0);
     ve(
       () => i.list,
       (e) => {
@@ -228,7 +228,7 @@ const Ue = {
       }), m("dragChange", s.value), P();
     }, re = () => {
       S.value && S.value.click();
-    }, S = A(null), ce = (e) => {
+    }, S = T(null), ce = (e) => {
       const t = e.target.files;
       if (t && t.length && s.value.length + t.length > i.maxFileCount) {
         window.$message.warning(
@@ -322,10 +322,10 @@ const Ue = {
                 alt: O(l)
               }, null, 8, Ee)) : (o(), g("div", Be, [
                 (o(), v(ee(G(l)), { class: "file-thumb-icon" })),
-                w("span", De, I(T(l) || "FILE"), 1)
+                w("span", De, I(A(l) || "FILE"), 1)
               ])),
               ge(w("div", Me, [
-                w("div", Te, [
+                w("div", Ae, [
                   u.showPreview ? (o(), v(p(le), {
                     key: 0,
                     class: "tool-icon-wrap",
@@ -345,7 +345,7 @@ const Ue = {
                     onClick: C((n) => W(a, l), ["stop"])
                   }, null, 8, ["title", "onClick"])) : d("", !0)
                 ]),
-                w("div", Ae, [
+                w("div", Te, [
                   y.value ? (o(), v(p(ne), { key: 0 })) : d("", !0)
                 ])
               ], 512), [
@@ -353,7 +353,7 @@ const Ue = {
               ])
             ], 64)) : (o(), g(Y, { key: 1 }, [
               (o(), v(ee(G(l)), { class: "file-row-icon" })),
-              w("span", Le, I(T(l) || "FILE"), 1),
+              w("span", Le, I(A(l) || "FILE"), 1),
               w("span", {
                 class: "file-row-name",
                 title: O(l)

+ 1 - 1
lib/js/SEditorImageAdjust.js

@@ -1,5 +1,5 @@
 import { ref as c, reactive as _, computed as b, watch as f, resolveComponent as h, openBlock as O, createBlock as S, withCtx as o, createVNode as i, createTextVNode as $, toDisplayString as y } from "vue";
-import { a6 as A } from "./index2.js";
+import { a7 as A } from "./index2.js";
 import { _ as B } from "./index10.js";
 const j = {
   __name: "SEditorImageAdjust",

+ 1 - 1
lib/js/SEmpty.js

@@ -1,6 +1,6 @@
 import { getCurrentInstance as d, ref as l, onMounted as _, openBlock as o, createElementBlock as s, createVNode as m, withCtx as f, renderSlot as y, toDisplayString as E } from "vue";
 import { Empty as a } from "ant-design-vue";
-import { n as g, ah as S } from "./index2.js";
+import { n as g, ai as S } from "./index2.js";
 const v = { class: "s-empty-common" }, I = {
   key: 0,
   class: "description"

+ 4 - 4
lib/js/SExtendFieldsForm.js

@@ -1,16 +1,16 @@
 var W = Object.defineProperty;
 var b = Object.getOwnPropertySymbols;
-var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
+var j = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
 var w = (n, i, d) => i in n ? W(n, i, { enumerable: !0, configurable: !0, writable: !0, value: d }) : n[i] = d, p = (n, i) => {
   for (var d in i || (i = {}))
-    D.call(i, d) && w(n, d, i[d]);
+    j.call(i, d) && w(n, d, i[d]);
   if (b)
     for (var d of b(i))
-      j.call(i, d) && w(n, d, i[d]);
+      D.call(i, d) && w(n, d, i[d]);
   return n;
 };
 import { useAttrs as A, ref as y, computed as s, watch as _, onMounted as B, nextTick as E, resolveComponent as I, openBlock as v, createElementBlock as x, normalizeStyle as P, createBlock as S, resolveDynamicComponent as z, toDisplayString as L, createVNode as V, withCtx as N, Fragment as R, renderList as U, mergeProps as q, unref as G } from "vue";
-import { ai as H } from "./index2.js";
+import { aj as H } from "./index2.js";
 import K from "./SExtendFieldsFormItem.js";
 import { _ as Q } from "./index5.js";
 const oe = {

+ 4 - 4
lib/js/SExtendFieldsFormItem.js

@@ -1,5 +1,5 @@
 import { computed as i, openBlock as r, createBlock as d, withCtx as b, createElementBlock as D, Fragment as L, renderList as O, unref as l, createTextVNode as P, toDisplayString as h, createSlots as z, createElementVNode as G } from "vue";
-import { a6 as J, a7 as K, aj as Q, I as R } from "./index2.js";
+import { a7 as J, a8 as K, ak as Q, I as R } from "./index2.js";
 import { _ as U } from "./index10.js";
 import { D as W } from "./dayjs.js";
 const X = { key: 5 }, ne = {
@@ -48,7 +48,7 @@ const X = { key: 5 }, ne = {
       A(e);
     }, q = (e) => Number((Math.pow(10, Number(e)) * 0.1).toFixed(10));
     return (e, t) => {
-      const E = K, H = J, N = U, T = Q, j = R, B = W;
+      const E = K, H = J, N = U, T = Q, B = R, j = W;
       return o.value === "select" ? (r(), d(H, {
         key: 0,
         value: I.value,
@@ -96,14 +96,14 @@ const X = { key: 5 }, ne = {
         minlength: u(l(p)) ? void 0 : +l(p),
         maxlength: u(l(f)) ? void 0 : +l(f),
         onChange: t[1] || (t[1] = (a) => s("update:value", a.target.value))
-      }, null, 8, ["value", "disabled", "minlength", "maxlength"])) : o.value === "input" ? (r(), d(j, {
+      }, null, 8, ["value", "disabled", "minlength", "maxlength"])) : o.value === "input" ? (r(), d(B, {
         key: 3,
         value: c.value,
         disabled: m.value,
         minlength: u(l(p)) ? void 0 : +l(p),
         maxlength: u(l(f)) ? void 0 : +l(f),
         onChange: t[2] || (t[2] = (a) => s("update:value", a.target.value))
-      }, null, 8, ["value", "disabled", "minlength", "maxlength"])) : o.value === "datePicker" ? (r(), d(B, {
+      }, null, 8, ["value", "disabled", "minlength", "maxlength"])) : o.value === "datePicker" ? (r(), d(j, {
         key: 4,
         value: c.value,
         disabled: m.value,

+ 7 - 7
lib/js/SFilePreview.js

@@ -1,6 +1,6 @@
 import { computed as i, ref as y, watch as U, resolveComponent as b, openBlock as k, createBlock as I, withCtx as S, createElementVNode as a, createVNode as m, unref as f } from "vue";
-import { n as $, $ as B, a0 as F } from "./index2.js";
-const N = { class: "preview-content" }, O = { class: "view-content" }, M = ["src"], P = {
+import { n as B, a0 as F, a1 as N } from "./index2.js";
+const O = { class: "preview-content" }, $ = { class: "view-content" }, M = ["src"], P = {
   __name: "SFilePreview",
   props: {
     /**
@@ -73,14 +73,14 @@ const N = { class: "preview-content" }, O = { class: "view-content" }, M = ["src
         onHandCancel: C
       }, {
         default: S(() => [
-          a("div", N, [
+          a("div", O, [
             a("div", {
               class: "prev",
               onClick: e[0] || (e[0] = (o) => p(-1))
             }, [
-              m(f(B))
+              m(f(F))
             ]),
-            a("div", O, [
+            a("div", $, [
               a("img", {
                 alt: "preview",
                 class: "view",
@@ -91,7 +91,7 @@ const N = { class: "preview-content" }, O = { class: "view-content" }, M = ["src
               class: "next",
               onClick: e[1] || (e[1] = (o) => p(1))
             }, [
-              m(f(F))
+              m(f(N))
             ])
           ])
         ]),
@@ -99,7 +99,7 @@ const N = { class: "preview-content" }, O = { class: "view-content" }, M = ["src
       }, 8, ["value", "title"]);
     };
   }
-}, A = /* @__PURE__ */ $(P, [["__scopeId", "data-v-58b32905"]]);
+}, A = /* @__PURE__ */ B(P, [["__scopeId", "data-v-58b32905"]]);
 export {
   A as default
 };

+ 17 - 17
lib/js/SFileUpload.js

@@ -1,31 +1,31 @@
-var J = (d, _, m) => new Promise((i, D) => {
+var J = (d, _, m) => new Promise((i, A) => {
   var b = (r) => {
     try {
       y(m.next(r));
     } catch (k) {
-      D(k);
+      A(k);
     }
   }, c = (r) => {
     try {
       y(m.throw(r));
     } catch (k) {
-      D(k);
+      A(k);
     }
   }, y = (r) => r.done ? i(r.value) : Promise.resolve(r.value).then(b, c);
   y((m = m.apply(d, _)).next());
 });
-import { computed as U, ref as A, watch as pe, openBlock as o, createElementBlock as g, normalizeClass as x, createElementVNode as w, toDisplayString as I, createCommentVNode as u, createVNode as j, unref as v, normalizeStyle as me, withCtx as Q, Fragment as Y, createBlock as p, resolveDynamicComponent as ee, withDirectives as ge, withModifiers as C, vShow as we } from "vue";
+import { computed as U, ref as T, watch as pe, openBlock as o, createElementBlock as g, normalizeClass as x, createElementVNode as w, toDisplayString as I, createCommentVNode as u, createVNode as j, unref as v, normalizeStyle as me, withCtx as Q, Fragment as Y, createBlock as p, resolveDynamicComponent as ee, withDirectives as ge, withModifiers as C, vShow as we } from "vue";
 import { d as he } from "./vuedraggable.js";
 import ye from "./SFilePreview.js";
 import { b as be, d as ke } from "./upload.js";
-import { n as Ce, ak as $e, al as le, am as te, an as ae, ao as ne, ap as E, aq as B, ar as h, as as Fe, at as L, au as M, av as oe, aw as V, ax as R, ay as Oe, az as Se } from "./index2.js";
+import { n as Ce, al as $e, am as le, an as te, ao as ae, ap as ne, aq as E, ar as B, as as h, at as Fe, au as L, av as M, aw as oe, ax as V, ay as R, az as Oe, aA as Se } from "./index2.js";
 const Ue = {
   key: 0,
   class: "head"
 }, xe = { class: "label" }, Ie = ["onMouseover", "onMouseleave"], Ee = ["src", "alt"], Be = {
   key: 1,
   class: "file-thumb"
-}, Me = { class: "file-thumb-ext" }, De = { class: "tool-wrap" }, Te = { class: "left" }, Ae = { class: "right move" }, Le = { class: "file-row-ext" }, Re = ["title"], _e = { class: "file-row-actions" }, ze = {
+}, Me = { class: "file-thumb-ext" }, Ae = { class: "tool-wrap" }, De = { class: "left" }, Te = { class: "right move" }, Le = { class: "file-row-ext" }, Re = ["title"], _e = { class: "file-row-actions" }, ze = {
   key: 0,
   class: "file-add-text"
 }, Pe = ["accept", "disabled"], Ne = {
@@ -159,7 +159,7 @@ const Ue = {
   },
   emits: ["change", "handChange", "dragChange", "download"],
   setup(d, { emit: _ }) {
-    const m = _, i = d, D = U(() => i.readonly || i.detailMode), b = U(() => i.readonly || i.detailMode), c = U(() => i.listType !== "list"), y = U(() => i.isAdd && !b.value && !i.noDrag), r = U(() => i.isAdd && !b.value && i.showRemove), k = () => i.path || i.businessTableName, ie = ["png", "jpg", "jpeg", "gif", "webp", "bmp", "svg", "ico", "avif", "tif", "tiff"], se = {
+    const m = _, i = d, A = U(() => i.readonly || i.detailMode), b = U(() => i.readonly || i.detailMode), c = U(() => i.listType !== "list"), y = U(() => i.isAdd && !b.value && !i.noDrag), r = U(() => i.isAdd && !b.value && i.showRemove), k = () => i.path || i.businessTableName, ie = ["png", "jpg", "jpeg", "gif", "webp", "bmp", "svg", "ico", "avif", "tif", "tiff"], se = {
       pdf: Oe,
       doc: R,
       docx: R,
@@ -205,13 +205,13 @@ const Ue = {
       } catch (a) {
         return l;
       }
-    }, F = (e = {}) => e.name || K($(e)) || window.$l("未命名文件"), T = (e = {}) => {
+    }, F = (e = {}) => e.name || K($(e)) || window.$l("未命名文件"), D = (e = {}) => {
       const t = F(e), l = t.lastIndexOf(".");
       return l > -1 ? t.slice(l + 1).toLowerCase() : "";
     }, q = (e = {}) => {
       const t = e.type || e.mimeType || "";
-      return t ? String(t).indexOf("image/") === 0 : ie.includes(T(e));
-    }, G = (e = {}) => se[T(e)] || Se, s = A([]), z = A(!1), H = A(0);
+      return t ? String(t).indexOf("image/") === 0 : ie.includes(D(e));
+    }, G = (e = {}) => se[D(e)] || Se, s = T([]), z = T(!1), H = T(0);
     pe(
       () => i.list,
       (e) => {
@@ -228,7 +228,7 @@ const Ue = {
       }), m("dragChange", s.value), P();
     }, ce = () => {
       O.value && O.value.click();
-    }, O = A(null), re = (e) => {
+    }, O = T(null), re = (e) => {
       const t = e.target.files;
       if (t && t.length && s.value.length + t.length > i.maxFileCount) {
         window.$message.warning(
@@ -322,10 +322,10 @@ const Ue = {
                 alt: F(l)
               }, null, 8, Ee)) : (o(), g("div", Be, [
                 (o(), p(ee(G(l)), { class: "file-thumb-icon" })),
-                w("span", Me, I(T(l) || "FILE"), 1)
+                w("span", Me, I(D(l) || "FILE"), 1)
               ])),
-              ge(w("div", De, [
-                w("div", Te, [
+              ge(w("div", Ae, [
+                w("div", De, [
                   d.showPreview ? (o(), p(v(le), {
                     key: 0,
                     class: "tool-icon-wrap",
@@ -345,7 +345,7 @@ const Ue = {
                     onClick: C((n) => W(a, l), ["stop"])
                   }, null, 8, ["title", "onClick"])) : u("", !0)
                 ]),
-                w("div", Ae, [
+                w("div", Te, [
                   y.value ? (o(), p(v(ne), { key: 0 })) : u("", !0)
                 ])
               ], 512), [
@@ -353,7 +353,7 @@ const Ue = {
               ])
             ], 64)) : (o(), g(Y, { key: 1 }, [
               (o(), p(ee(G(l)), { class: "file-row-icon" })),
-              w("div", Le, I(T(l) || "FILE"), 1),
+              w("div", Le, I(D(l) || "FILE"), 1),
               w("div", {
                 class: "file-row-name",
                 title: F(l)
@@ -400,7 +400,7 @@ const Ue = {
               accept: d.accept || "image/*",
               multiple: !0,
               type: "file",
-              disabled: D.value,
+              disabled: A.value,
               ref_key: "fileInput",
               ref: O,
               style: { display: "none" },

+ 1 - 1
lib/js/SFormBasicLayout.js

@@ -1,5 +1,5 @@
 import { ref as s, computed as W, watch as X, onMounted as Y, resolveComponent as _, openBlock as a, createElementBlock as c, createVNode as l, withCtx as o, createElementVNode as r, toDisplayString as y, createBlock as f, createTextVNode as k, createCommentVNode as i, renderSlot as g, Fragment as A, renderList as V, normalizeClass as Z, normalizeStyle as ee } from "vue";
-import { n as te, aA as ae, y as ne, B as oe } from "./index2.js";
+import { n as te, aB as ae, y as ne, B as oe } from "./index2.js";
 import { S as le } from "./index9.js";
 import { _ as se, S as ie } from "./index12.js";
 import { T as ue, _ as ce } from "./index13.js";

+ 12 - 12
lib/js/SFormLayout.js

@@ -1,9 +1,9 @@
 import { useSlots as ue, ref as o, computed as I, watch as j, nextTick as re, onMounted as de, onUnmounted as fe, resolveComponent as p, openBlock as l, createElementBlock as f, createVNode as i, withCtx as c, createElementVNode as u, toDisplayString as h, createBlock as m, createTextVNode as w, createCommentVNode as r, renderSlot as g, Fragment as M, renderList as q, normalizeStyle as S, normalizeClass as me } from "vue";
-import { n as ve, aA as ye, y as pe, B as he } from "./index2.js";
+import { n as ve, aB as ye, y as pe, B as he } from "./index2.js";
 import { S as be } from "./index9.js";
 import { _ as _e, S as ke } from "./index12.js";
 import { T as we, _ as ge } from "./index13.js";
-const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be = { class: "btns" }, Ce = { class: "form-layout-main-content" }, Te = {
+const Se = { class: "title" }, Be = { style: { "margin-right": "10px" } }, $e = { class: "btns" }, Ce = { class: "form-layout-main-content" }, Te = {
   key: 1,
   class: "collapses-content-wrap"
 }, Ae = { class: "collapese-container" }, ze = { class: "modal" }, Re = { class: "form-fixed-footer" }, Ve = /* @__PURE__ */ Object.assign({ name: "SFormLayout" }, {
@@ -80,7 +80,7 @@ const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be =
   },
   emits: ["footer-callback", "tabsChange"],
   setup(t, { expose: H, emit: P }) {
-    const n = t, v = P, U = ue(), T = o(null), R = o(null), G = o(null), J = o(null), Q = o(null), V = o(null), F = o(null), N = o(8), W = o({}), $ = o("100%"), D = o(0), a = o(0), A = I(() => n.tabKey && n.tabKey.value || "value"), b = o("");
+    const n = t, v = P, U = ue(), T = o(null), R = o(null), G = o(null), J = o(null), Q = o(null), V = o(null), F = o(null), N = o(8), W = o({}), B = o("100%"), D = o(0), a = o(0), A = I(() => n.tabKey && n.tabKey.value || "value"), b = o("");
     j(() => n.tabs, () => {
       const e = n.tabs || [];
       if (!e.length) {
@@ -120,9 +120,9 @@ const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be =
     }
     function z() {
       re(() => {
-        var B, _;
-        const e = {}, s = ((B = R.value) == null ? void 0 : B.offsetWidth) || 0, d = ((_ = F.value) == null ? void 0 : _.offsetWidth) || 0;
-        d + 200 > s ? e.right = "0px" : e.left = n.width, W.value = e, n.showAnchor && U.collapses ? $.value = d + 200 > s ? `${s - 200}px` : n.width : $.value = d > s ? `${s}px` : n.width, D.value = V.value.offsetWidth - 10 + "px";
+        var $, _;
+        const e = {}, s = (($ = R.value) == null ? void 0 : $.offsetWidth) || 0, d = ((_ = F.value) == null ? void 0 : _.offsetWidth) || 0;
+        d + 200 > s ? e.right = "0px" : e.left = n.width, W.value = e, n.showAnchor && U.collapses ? B.value = d + 200 > s ? `${s - 200}px` : n.width : B.value = d > s ? `${s}px` : n.width, D.value = V.value.offsetWidth - 10 + "px";
       });
     }
     let y = null;
@@ -138,9 +138,9 @@ const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be =
       handNext: E,
       handPrev: O,
       stepActive: a,
-      formWidth: $
+      formWidth: B
     }), (e, s) => {
-      const d = p("InfoCircleOutlined"), B = pe, _ = be, Z = ke, ee = _e, te = ge, le = we, ne = p("s-anchor"), oe = p("close-outlined"), C = he, ae = p("arrow-left-outlined"), se = p("arrow-right-outlined"), ie = p("save-outlined"), ce = ye;
+      const d = p("InfoCircleOutlined"), $ = pe, _ = be, Z = ke, ee = _e, te = ge, le = we, ne = p("s-anchor"), oe = p("close-outlined"), C = he, ae = p("arrow-left-outlined"), se = p("arrow-right-outlined"), ie = p("save-outlined"), ce = ye;
       return l(), f("div", {
         class: "form-layout",
         ref_key: "layout",
@@ -155,8 +155,8 @@ const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be =
               ref: G
             }, [
               u("div", Se, [
-                u("span", $e, h(t.title), 1),
-                t.subTitle ? (l(), m(B, {
+                u("span", Be, h(t.title), 1),
+                t.subTitle ? (l(), m($, {
                   key: 0,
                   placement: "topLeft",
                   mouseEnterDelay: 0.5,
@@ -171,7 +171,7 @@ const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be =
                   _: 1
                 })) : r("", !0)
               ]),
-              u("div", Be, [
+              u("div", $e, [
                 i(_, { size: N.value }, {
                   default: c(() => [
                     g(e.$slots, "otherBtns", {}, void 0, !0)
@@ -237,7 +237,7 @@ const Se = { class: "title" }, $e = { style: { "margin-right": "10px" } }, Be =
                   ref_key: "formMain",
                   ref: V,
                   style: S({
-                    width: $.value
+                    width: B.value
                   }),
                   id: "form-container"
                 }, [

+ 8 - 8
lib/js/SIconModal.js

@@ -1,6 +1,6 @@
-import { ref as n, computed as v, watch as m, resolveComponent as I, resolveDirective as D, openBlock as o, createBlock as p, withCtx as N, createElementVNode as c, createVNode as T, createElementBlock as i, Fragment as S, renderList as V, withDirectives as E, resolveDynamicComponent as H, normalizeClass as M, toDisplayString as _, createCommentVNode as U } from "vue";
+import { ref as n, computed as v, watch as m, resolveComponent as B, resolveDirective as D, openBlock as o, createBlock as p, withCtx as N, createElementVNode as c, createVNode as T, createElementBlock as i, Fragment as S, renderList as V, withDirectives as E, resolveDynamicComponent as H, normalizeClass as M, toDisplayString as _, createCommentVNode as U } from "vue";
 import { g as x, f as z } from "./icon-groups.js";
-import { n as F, aB as G } from "./index2.js";
+import { n as F, aC as G } from "./index2.js";
 const L = { class: "icon-body" }, j = { class: "icon-list" }, q = ["onClick"], A = { class: "name" }, J = {
   key: 0,
   class: "icon-empty"
@@ -25,9 +25,9 @@ const L = { class: "icon-body" }, j = { class: "icon-list" }, q = ["onClick"], A
         a.value = e;
       }
     );
-    const y = () => {
+    const C = () => {
       a.value = !1, w("update:value", !1);
-    }, C = (e) => {
+    }, y = (e) => {
       r.value = e;
     };
     m(a, (e) => {
@@ -37,7 +37,7 @@ const L = { class: "icon-body" }, j = { class: "icon-list" }, q = ["onClick"], A
       window.$message.success(`<${e}/>`);
     };
     return (e, s) => {
-      const k = G, $ = I("s-modal"), B = D("clipboard");
+      const k = G, $ = B("s-modal"), I = D("clipboard");
       return o(), p($, {
         value: a.value,
         "onUpdate:value": s[1] || (s[1] = (t) => a.value = t),
@@ -45,8 +45,8 @@ const L = { class: "icon-body" }, j = { class: "icon-list" }, q = ["onClick"], A
         title: e.$l("图标选择"),
         width: d.width,
         tabs: b.value,
-        onTabsChange: C,
-        onHandCancel: y
+        onTabsChange: y,
+        onHandCancel: C
       }, {
         default: N(() => [
           c("div", L, [
@@ -68,7 +68,7 @@ const L = { class: "icon-body" }, j = { class: "icon-list" }, q = ["onClick"], A
                 }, null, 8, ["class"])),
                 c("div", A, _(t), 1)
               ], 8, q)), [
-                [B, `<${t}/>`]
+                [I, `<${t}/>`]
               ])), 128)),
               u.value.length ? U("", !0) : (o(), i("div", J, _(e.$l("暂无数据")), 1))
             ])

+ 1 - 1
lib/js/SIconSelect.js

@@ -1,6 +1,6 @@
 import { useAttrs as y, resolveComponent as S, openBlock as o, createBlock as c, mergeProps as _, unref as s, withCtx as d, createElementBlock as v, Fragment as w, renderList as B, createVNode as b, createElementVNode as x, toDisplayString as C } from "vue";
 import { f as k } from "./icon-groups.js";
-import { a6 as L, a7 as N } from "./index2.js";
+import { a7 as L, a8 as N } from "./index2.js";
 const W = { style: { "margin-left": "8px" } }, O = {
   __name: "SIconSelect",
   props: {

+ 1 - 1
lib/js/SIconSelectPopover.js

@@ -1,6 +1,6 @@
 import { ref as f, computed as u, watch as z, resolveComponent as D, openBlock as a, createElementBlock as c, createVNode as r, withCtx as i, normalizeStyle as _, normalizeClass as h, createBlock as y, resolveDynamicComponent as g, createCommentVNode as w, createElementVNode as p, Fragment as E, renderList as L, toDisplayString as k } from "vue";
 import { f as P } from "./icon-groups.js";
-import { n as U, I as W, aB as M } from "./index2.js";
+import { n as U, I as W, aC as M } from "./index2.js";
 import { _ as j } from "./index6.js";
 const q = { class: "s-icon-select-common" }, A = { class: "icon-list" }, G = ["onClick"], H = ["title"], J = {
   key: 0,

+ 32 - 32
lib/js/SImportModal.js

@@ -10,18 +10,18 @@ var Be = (e, t, o) => t in e ? tt(e, t, { enumerable: !0, configurable: !0, writ
   return e;
 };
 import { defineComponent as ce, ref as V, onMounted as xe, onBeforeUnmount as Ve, createVNode as f, shallowRef as ge, watch as Ae, computed as ne, Transition as lt, withDirectives as he, vShow as we, watchEffect as at, triggerRef as it, TransitionGroup as rt, toRef as st, resolveComponent as ct, openBlock as Y, createBlock as oe, withCtx as K, createElementVNode as L, toDisplayString as E, createTextVNode as ee, createCommentVNode as ie, createElementBlock as $e, Fragment as Me, renderList as dt } from "vue";
-import { aI as ut, aG as pt, aX as ft, D as mt, _ as A, cL as vt, i as Le, bm as I, bp as fe, e as ae, bn as J, bo as se, l as Ce, d as R, u as Ee, ba as gt, an as ht, am as wt, al as yt, y as $t, b8 as bt, b9 as It, cM as St, cN as Ct, a1 as Ne, cO as xt, E as _t, B as Ue, bb as Ft, cP as Ge, t as We, cy as Ke, cf as Rt, g as Dt, m as Pt, b7 as Ot, r as Tt, U as Ut, Y as At, L as Lt, h as Fe, b3 as Et, b5 as jt, c as me, bO as Bt, n as Mt, a6 as Nt, I as zt } from "./index2.js";
+import { aJ as ut, aH as pt, aY as ft, D as mt, _ as A, cL as vt, i as Le, bn as I, bq as fe, e as ae, bo as J, bp as se, l as Ce, d as R, u as Ee, bb as gt, ao as ht, an as wt, am as yt, y as $t, b9 as bt, ba as It, cM as St, cN as Ct, a2 as Ne, cO as xt, E as _t, B as Ue, bc as Ft, cP as We, t as Ge, cy as Ke, cf as Rt, g as Dt, m as Pt, b8 as Ot, r as Tt, V as Ut, Z as At, L as Lt, h as Fe, b4 as Et, b6 as jt, c as me, bP as Bt, n as Mt, a7 as Nt, I as zt } from "./index2.js";
 import { P as Ht, _ as Xt, S as kt } from "./index12.js";
 import { b as qt } from "./index5.js";
 import { _ as Vt } from "./index15.js";
-function Gt(e, t, o, n) {
+function Wt(e, t, o, n) {
   for (var a = -1, i = e == null ? 0 : e.length; ++a < i; ) {
     var l = e[a];
     t(n, l, o(l), e);
   }
   return n;
 }
-function Wt(e) {
+function Gt(e) {
   return function(t, o, n) {
     for (var a = -1, i = Object(t), l = n(t), c = l.length; c--; ) {
       var w = l[++a];
@@ -31,7 +31,7 @@ function Wt(e) {
     return t;
   };
 }
-var Kt = Wt();
+var Kt = Gt();
 function Jt(e, t) {
   return e && Kt(e, t, ut);
 }
@@ -54,7 +54,7 @@ function Qt(e, t, o, n) {
 }
 function en(e, t) {
   return function(o, n) {
-    var a = ft(o) ? Gt : Qt, i = t ? t() : {};
+    var a = ft(o) ? Wt : Qt, i = t ? t() : {};
     return a(o, e, qt(n), i);
   };
 }
@@ -781,12 +781,12 @@ const hn = () => ({
         callback: () => v(s),
         prefixCls: _,
         title: O.downloadFile
-      }) : null, G = j !== "picture-card" && f("span", {
+      }) : null, W = j !== "picture-card" && f("span", {
         key: "download-delete",
         class: [`${_}-list-item-actions`, {
           picture: j === "picture"
         }]
-      }, [z, Z]), X = `${_}-list-item-name`, W = s.url ? [f("a", A(A({
+      }, [z, Z]), X = `${_}-list-item-name`, G = s.url ? [f("a", A(A({
         key: "view",
         target: "_blank",
         rel: "noopener noreferrer",
@@ -795,12 +795,12 @@ const hn = () => ({
       }, M), {}, {
         href: s.url,
         onClick: (Q) => m(s, Q)
-      }), [s.name]), G] : [f("span", {
+      }), [s.name]), W] : [f("span", {
         key: "view",
         class: X,
         onClick: (Q) => m(s, Q),
         title: s.name
-      }, [s.name]), G], te = {
+      }, [s.name]), W], te = {
         pointerEvents: "none",
         opacity: 0.5
       }, re = T ? f("a", {
@@ -816,7 +816,7 @@ const hn = () => ({
         class: `${_}-list-item-actions`
       }, [re, c.value === "done" && z, Z]), de = f("div", {
         class: d
-      }, [r, W, q, i.value && f(lt, F.value, {
+      }, [r, G, q, i.value && f(lt, F.value, {
         default: () => [he(f("div", {
           class: `${_}-list-item-progress`
         }, ["percent" in s ? f(Ht, A(A({}, N), {}, {
@@ -1086,7 +1086,7 @@ const hn = () => ({
   } = e, l = `${t}-list-item`, c = `${l}-actions`, w = `${l}-action`, F = Math.round(a * i);
   return {
     [`${t}-wrapper`]: {
-      [`${t}-list`]: R(R({}, Ge()), {
+      [`${t}-list`]: R(R({}, We()), {
         lineHeight: e.lineHeight,
         [l]: {
           position: "relative",
@@ -1099,7 +1099,7 @@ const hn = () => ({
           "&:hover": {
             backgroundColor: e.controlItemBgHover
           },
-          [`${l}-name`]: R(R({}, We), {
+          [`${l}-name`]: R(R({}, Ge), {
             padding: `0 ${e.paddingXS}px`,
             lineHeight: i,
             flex: "auto",
@@ -1235,7 +1235,7 @@ const hn = () => ({
           "&:hover": {
             background: "transparent"
           },
-          [`${l}-thumbnail`]: R(R({}, We), {
+          [`${l}-thumbnail`]: R(R({}, Ge), {
             width: n,
             height: n,
             lineHeight: `${n + e.paddingSM}px`,
@@ -1288,7 +1288,7 @@ const hn = () => ({
     colorTextLightSolid: a
   } = e, i = `${t}-list`, l = `${i}-item`, c = e.uploadPicCardSize;
   return {
-    [`${t}-wrapper${t}-picture-card-wrapper`]: R(R({}, Ge()), {
+    [`${t}-wrapper${t}-picture-card-wrapper`]: R(R({}, We()), {
       display: "inline-block",
       width: "100%",
       [`${t}${t}-select`]: {
@@ -1643,13 +1643,13 @@ const ve = `__LIST_IGNORE_${Date.now()}__`, Se = ce({
         progress: M,
         itemRender: Z,
         iconRender: z,
-        showUploadList: G
+        showUploadList: W
       } = e, {
         showDownloadIcon: X,
-        showPreviewIcon: W,
+        showPreviewIcon: G,
         showRemoveIcon: te
-      } = typeof G == "boolean" ? {} : G;
-      return G ? f($n, {
+      } = typeof W == "boolean" ? {} : W;
+      return W ? f($n, {
         prefixCls: l.value,
         listType: e.listType,
         items: O.value,
@@ -1658,7 +1658,7 @@ const ve = `__LIST_IGNORE_${Date.now()}__`, Se = ce({
         onDownload: r,
         onRemove: U,
         showRemoveIcon: !_.value && te,
-        showPreviewIcon: W,
+        showPreviewIcon: G,
         showDownloadIcon: X,
         removeIcon: v,
         previewIcon: h,
@@ -1699,7 +1699,7 @@ const ve = `__LIST_IGNORE_${Date.now()}__`, Se = ce({
       if ($ === "drag") {
         const X = me(l.value, {
           [`${l.value}-drag`]: !0,
-          [`${l.value}-drag-uploading`]: O.value.some((W) => W.status === "uploading"),
+          [`${l.value}-drag-uploading`]: O.value.some((G) => G.status === "uploading"),
           [`${l.value}-drag-hover`]: s.value === "dragover",
           [`${l.value}-disabled`]: _.value,
           [`${l.value}-rtl`]: c.value === "rtl"
@@ -1726,7 +1726,7 @@ const ve = `__LIST_IGNORE_${Date.now()}__`, Se = ce({
         [`${l.value}-select-${h}`]: !0,
         [`${l.value}-disabled`]: _.value,
         [`${l.value}-rtl`]: c.value === "rtl"
-      }), z = Bt((v = o.default) === null || v === void 0 ? void 0 : v.call(o)), G = (X) => f("div", {
+      }), z = Bt((v = o.default) === null || v === void 0 ? void 0 : v.call(o)), W = (X) => f("div", {
         class: Z,
         style: X
       }, [f(He, A(A({}, d), {}, {
@@ -1734,9 +1734,9 @@ const ve = `__LIST_IGNORE_${Date.now()}__`, Se = ce({
       }), o)]);
       return F(h === "picture-card" ? f("span", A(A({}, n), {}, {
         class: me(`${l.value}-wrapper`, `${l.value}-picture-card-wrapper`, M, n.class, g.value)
-      }), [k(G, !!(z && z.length))]) : f("span", A(A({}, n), {}, {
+      }), [k(W, !!(z && z.length))]) : f("span", A(A({}, n), {}, {
         class: me(`${l.value}-wrapper`, M, n.class, g.value)
-      }), [G(z && z.length ? void 0 : {
+      }), [W(z && z.length ? void 0 : {
         display: "none"
       }), k()]));
     };
@@ -1784,7 +1784,7 @@ const Te = ce({
 }), Tn = { class: "header-steps" }, Un = { class: "import-main" }, An = { class: "upload" }, Ln = { class: "up_right" }, En = { class: "title" }, jn = { class: "tip" }, Bn = { class: "upload" }, Mn = { class: "up_right" }, Nn = { class: "title" }, zn = { class: "tip" }, Hn = { class: "extra-select-wrapper" }, Xn = { class: "import-main" }, kn = { class: "import-main" }, qn = {
   key: 0,
   class: "success"
-}, Vn = { class: "success-title" }, Gn = { class: "success-tip" }, Wn = {
+}, Vn = { class: "success-title" }, Wn = { class: "success-tip" }, Gn = {
   key: 1,
   class: "unsuccess"
 }, Kn = { class: "upload error-show" }, Jn = { class: "up_right" }, Yn = { class: "tip success-tip" }, Zn = { class: "tip error-tip" }, Qn = { class: "conTips" }, eo = /* @__PURE__ */ Object.assign({ name: "SImportModal" }, {
@@ -1842,8 +1842,8 @@ const Te = ce({
       dataIndex: d.id || "",
       key: d.id || ""
     })), U = ({ file: r, onSuccess: d, onError: M }) => {
-      var G;
-      const Z = (G = window.$utils) == null ? void 0 : G.http;
+      var W;
+      const Z = (W = window.$utils) == null ? void 0 : W.http;
       if (!Z) {
         window.$message.error(window.$l("未获取到请求工具,无法上传")), M && M(new Error("http not found"));
         return;
@@ -1856,7 +1856,7 @@ const Te = ce({
         headers: { "Content-Type": "multipart/form-data" }
       }).then((X) => {
         var re, q;
-        const W = b(X) || {}, te = (q = (re = W == null ? void 0 : W.name) != null ? re : W == null ? void 0 : W.fileName) != null ? q : "";
+        const G = b(X) || {}, te = (q = (re = G == null ? void 0 : G.name) != null ? re : G == null ? void 0 : G.fileName) != null ? q : "";
         if (!te) throw new Error(window.$l("上传返回文件名无效"));
         l.value = te, d && d(X);
       }).catch((X) => {
@@ -1943,7 +1943,7 @@ const Te = ce({
       s.value = !1, r && a("reload");
     };
     return t({ show: C, resetState: y }), (r, d) => {
-      const M = kt, Z = Xt, z = Ue, G = On, X = Nt, W = zt, te = Vt, re = ct("s-modal");
+      const M = kt, Z = Xt, z = Ue, W = On, X = Nt, G = zt, te = Vt, re = ct("s-modal");
       return Y(), oe(re, {
         value: s.value,
         "onUpdate:value": d[4] || (d[4] = (q) => s.value = q),
@@ -2024,7 +2024,7 @@ const Te = ce({
               L("div", Ln, [
                 L("p", En, E(r.$l("上传填好的数据表")), 1),
                 L("p", jn, E(r.$l("文件后缀名必须是xls或xlsx,文件大小不超过500KB,最多支持导入1000条数据")), 1),
-                f(G, {
+                f(W, {
                   "file-list": c.value,
                   "onUpdate:fileList": d[1] || (d[1] = (q) => c.value = q),
                   class: "upload-area",
@@ -2090,7 +2090,7 @@ const Te = ce({
                 (Y(!0), $e(Me, null, dt(D.value, (ue) => (Y(), $e(Me, {
                   key: ue.dataIndex
                 }, [
-                  q.dataIndex === ue.dataIndex ? (Y(), oe(W, {
+                  q.dataIndex === ue.dataIndex ? (Y(), oe(G, {
                     key: 0,
                     value: de[q.dataIndex],
                     "onUpdate:value": (ye) => de[q.dataIndex] = ye
@@ -2118,9 +2118,9 @@ const Te = ce({
           he(L("div", kn, [
             _.value.resultType ? ie("", !0) : (Y(), $e("div", qn, [
               L("p", Vn, E(r.$l("批量导入成功")), 1),
-              L("p", Gn, E(r.$l("您已成功导入")) + E(_.value.snum) + E(r.$l("条数据")), 1)
+              L("p", Wn, E(r.$l("您已成功导入")) + E(_.value.snum) + E(r.$l("条数据")), 1)
             ])),
-            _.value.resultType ? (Y(), $e("div", Wn, [
+            _.value.resultType ? (Y(), $e("div", Gn, [
               L("div", Kn, [
                 L("div", Jn, [
                   L("p", Yn, [

+ 6 - 6
lib/js/SListBasicLayout.js

@@ -1,5 +1,5 @@
 import { ref as l, watch as z, onMounted as X, onActivated as Y, nextTick as k, resolveComponent as g, openBlock as o, createElementBlock as s, createVNode as m, withCtx as y, createElementVNode as r, renderSlot as a, createTextVNode as Z, toDisplayString as w, createBlock as L, createCommentVNode as i, withDirectives as ee, vShow as te, Fragment as ne } from "vue";
-import { n as oe, aA as le, y as se, B as ae } from "./index2.js";
+import { n as oe, aB as le, y as se, B as ae } from "./index2.js";
 const ie = { class: "s-list-basic-layout-main" }, re = {
   key: 0,
   class: "s-list-basic-content"
@@ -53,8 +53,8 @@ const ie = { class: "s-list-basic-layout-main" }, re = {
     }
   },
   emits: ["reset", "tableColCallback"],
-  setup(c, { expose: A, emit: D }) {
-    const p = c, C = D, M = l(null), T = l(null), F = l(null), d = l(null), u = l(!1), S = l(300), $ = l(!1), R = l(10), N = l(!1), v = l([]), x = l([]), _ = l([]);
+  setup(c, { expose: D, emit: M }) {
+    const p = c, C = M, T = l(null), A = l(null), F = l(null), d = l(null), u = l(!1), S = l(300), $ = l(!1), R = l(10), N = l(!1), v = l([]), x = l([]), _ = l([]);
     z(
       () => p.columns,
       () => B()
@@ -108,7 +108,7 @@ const ie = { class: "s-list-basic-layout-main" }, re = {
       B();
     }), Y(() => {
       k(h);
-    }), A({
+    }), D({
       reload: E,
       table: d,
       spinning: $,
@@ -120,7 +120,7 @@ const ie = { class: "s-list-basic-layout-main" }, re = {
       return o(), s("div", {
         class: "s-list-basic-layout",
         ref_key: "layoutRef",
-        ref: M
+        ref: T
       }, [
         m(Q, { spinning: $.value }, {
           default: y(() => [
@@ -131,7 +131,7 @@ const ie = { class: "s-list-basic-layout-main" }, re = {
                 r("div", {
                   class: "filter-wrap",
                   ref_key: "filtersRef",
-                  ref: T
+                  ref: A
                 }, [
                   e.$slots.filter ? (o(), s("div", de, [
                     r("div", ce, [

+ 13 - 13
lib/js/SListCardLayout.js

@@ -14,9 +14,9 @@ var ie = ($, I, k) => new Promise((d, p) => {
   }, S = (f) => f.done ? d(f.value) : Promise.resolve(f.value).then(R, H);
   S((k = k.apply($, I)).next());
 });
-import { ref as s, computed as re, watch as De, onMounted as Ne, onActivated as Le, nextTick as Y, resolveComponent as Z, resolveDirective as Be, openBlock as n, createElementBlock as a, createElementVNode as i, toDisplayString as h, createVNode as w, withCtx as v, Fragment as ue, renderList as ce, withDirectives as K, createBlock as C, createTextVNode as B, resolveDynamicComponent as Me, createCommentVNode as r, vShow as x, renderSlot as c, normalizeStyle as de, unref as Pe, h as Te } from "vue";
+import { ref as s, computed as re, watch as De, onMounted as Ne, onActivated as Be, nextTick as Y, resolveComponent as Z, resolveDirective as Le, openBlock as n, createElementBlock as a, createElementVNode as i, toDisplayString as h, createVNode as w, withCtx as v, Fragment as ue, renderList as ce, withDirectives as K, createBlock as C, createTextVNode as L, resolveDynamicComponent as Me, createCommentVNode as r, vShow as x, renderSlot as c, normalizeStyle as de, unref as Pe, h as Te } from "vue";
 import { c as Fe } from "./side-drag.js";
-import { n as Ue, B as Ve, y as Ee, aA as Ke, ah as Ie, c$ as Re } from "./index2.js";
+import { n as Ue, B as Ve, y as Ee, aB as Ke, ai as Ie, c$ as Re } from "./index2.js";
 import { S as He } from "./index9.js";
 const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" }, Ge = { class: "list-layout-main" }, Je = {
   key: 1,
@@ -173,12 +173,12 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
     }
     function F(e = !1) {
       return ie(this, null, function* () {
-        var t, l, y, L, U;
+        var t, l, y, B, U;
         if (typeof d.loadData == "function") {
           e && (m.value = 1), T.value = !0;
           try {
             const u = (yield d.loadData({ pageNo: m.value, pageSize: Number(D.value) })) || {}, V = u.list || u.data || [];
-            N.value = Array.isArray(V) ? V : [], P.value = (L = (y = (l = u.total) != null ? l : (t = u.pagination) == null ? void 0 : t.total) != null ? y : u.totalCount) != null ? L : 0;
+            N.value = Array.isArray(V) ? V : [], P.value = (B = (y = (l = u.total) != null ? l : (t = u.pagination) == null ? void 0 : t.total) != null ? y : u.totalCount) != null ? B : 0;
             const E = u.pageNo || u.pageNum || ((U = u.pagination) == null ? void 0 : U.current);
             E && (m.value = E);
           } catch (u) {
@@ -284,7 +284,7 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
     );
     return Ne(() => {
       we();
-    }), Le(() => {
+    }), Be(() => {
       Y(ae);
     }), I({
       reload: J,
@@ -304,7 +304,7 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
       pageNo: m,
       fetchList: F
     }), (e, t) => {
-      const l = Ve, y = He, L = Z("double-right-outlined"), U = Z("sync-outlined"), u = Ee, V = Ie, E = Ke, Se = Re, Oe = Z("s-import-modal"), ze = Be("action");
+      const l = Ve, y = He, B = Z("double-right-outlined"), U = Z("sync-outlined"), u = Ee, V = Ie, E = Ke, Se = Re, Oe = Z("s-import-modal"), ze = Le("action");
       return n(), a("div", {
         class: "list-layout",
         ref_key: "layout",
@@ -329,7 +329,7 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
                       te(o) ? (n(), C(Me(te(o)), { key: 0 })) : r("", !0)
                     ]),
                     default: v(() => [
-                      B(" " + h(e.$l(o.name)), 1)
+                      L(" " + h(e.$l(o.name)), 1)
                     ]),
                     _: 2
                   }, 1032, ["disabled", "type", "onClick"])), [
@@ -372,11 +372,11 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
                   class: "filter-more-btn",
                   onClick: W
                 }, [
-                  B(h(z.value ? e.$l("收起") : e.$l("更多")) + " ", 1),
-                  z.value ? (n(), C(L, {
+                  L(h(z.value ? e.$l("收起") : e.$l("更多")) + " ", 1),
+                  z.value ? (n(), C(B, {
                     key: 1,
                     style: { "font-size": "12px", transform: "rotate(-90deg)" }
-                  })) : (n(), C(L, {
+                  })) : (n(), C(B, {
                     key: 0,
                     style: { "font-size": "12px", transform: "rotate(90deg)" }
                   }))
@@ -442,7 +442,7 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
                             item: o,
                             index: g
                           }, () => [
-                            B(h(o.title), 1)
+                            L(h(o.title), 1)
                           ], !0)
                         ])) : r("", !0),
                         i("div", lt, [
@@ -462,7 +462,7 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
                               onClick: (Ae) => oe("edit", o, g)
                             }, {
                               default: v(() => [
-                                B(h(e.$l("编辑")), 1)
+                                L(h(e.$l("编辑")), 1)
                               ]),
                               _: 1
                             }, 8, ["onClick"]),
@@ -473,7 +473,7 @@ const je = { class: "tools" }, qe = { class: "title" }, We = { class: "btns" },
                               onClick: (Ae) => oe("delete", o, g)
                             }, {
                               default: v(() => [
-                                B(h(e.$l("删除")), 1)
+                                L(h(e.$l("删除")), 1)
                               ]),
                               _: 1
                             }, 8, ["onClick"])

+ 42 - 42
lib/js/SModal.js

@@ -10,9 +10,9 @@ var ke = (e, t, o) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writ
       Tt.call(t, o) && ke(e, o, t[o]);
   return e;
 }, Oe = (e, t) => St(e, $t(t));
-import { defineComponent as ee, ref as T, computed as Q, createVNode as a, Transition as Je, withDirectives as Ze, vShow as et, nextTick as tt, shallowRef as L, watch as j, onBeforeUnmount as ot, watchEffect as nt, Fragment as Me, render as _e, unref as Ie, isRef as lt, toRefs as Bt, customRef as Pt, getCurrentScope as Ft, onScopeDispose as Ot, useAttrs as At, resolveComponent as we, openBlock as D, createBlock as ne, mergeProps as Mt, withCtx as N, createElementVNode as de, createElementBlock as le, renderList as We, createCommentVNode as Z, renderSlot as Ve, normalizeStyle as Ht, resolveDynamicComponent as zt, createTextVNode as ue, toDisplayString as ae } from "vue";
+import { defineComponent as ee, ref as T, computed as Q, createVNode as a, Transition as Je, withDirectives as Ze, vShow as et, nextTick as tt, shallowRef as L, watch as j, onBeforeUnmount as ot, watchEffect as nt, Fragment as Ae, render as _e, unref as Ie, isRef as lt, toRefs as Bt, customRef as Pt, getCurrentScope as Ft, onScopeDispose as Ot, useAttrs as Mt, resolveComponent as we, openBlock as D, createBlock as ne, mergeProps as At, withCtx as N, createElementVNode as de, createElementBlock as le, renderList as We, createCommentVNode as Z, renderSlot as Ve, normalizeStyle as Ht, resolveDynamicComponent as zt, createTextVNode as ue, toDisplayString as ae } from "vue";
 import It from "./ModalHeader.js";
-import { d3 as Nt, cy as at, P as E, _ as P, ba as it, d as f, cL as Rt, c as ye, o as rt, i as Be, d4 as Et, K as je, d5 as Dt, bQ as Lt, g as kt, m as _t, bC as Wt, r as Vt, cJ as jt, cP as Gt, b3 as Ne, u as Kt, bq as st, a3 as Te, bU as Xt, B as He, d6 as Yt, e as ge, d7 as Ut, a as Qt, be as qt, bd as Jt, bf as Zt, d8 as eo, d9 as to, da as oo, d1 as no, db as lo, dc as ao, b5 as io, n as ro, aA as so } from "./index2.js";
+import { d3 as Nt, cy as at, P as E, _ as P, bb as it, d as f, cL as Rt, c as ye, o as rt, i as Be, d4 as Et, K as je, d5 as Dt, bR as Lt, g as kt, m as _t, bD as Wt, r as Vt, cJ as jt, cP as Gt, b4 as Ne, u as Kt, br as st, a4 as Te, bV as Xt, B as He, d6 as Yt, e as ge, d7 as Ut, a as Qt, bf as qt, be as Jt, bg as Zt, d8 as eo, d9 as to, da as oo, d1 as no, db as lo, dc as ao, b6 as io, n as ro, aB as so } from "./index2.js";
 import { A as Ge } from "./ActionButton.js";
 import { T as co, _ as uo } from "./index13.js";
 import { _ as fo, S as mo } from "./index12.js";
@@ -223,11 +223,11 @@ const ho = {
         ariaId: y,
         closable: B,
         closeIcon: O = (g = n.closeIcon) === null || g === void 0 ? void 0 : g.call(n),
-        onClose: M,
+        onClose: A,
         bodyStyle: z,
         bodyProps: C,
         onMousedown: F,
-        onMouseup: A,
+        onMouseup: M,
         visible: w,
         modalRender: H = n.modalRender,
         destroyOnClose: X,
@@ -247,7 +247,7 @@ const ho = {
       let I;
       B && (I = a("button", {
         type: "button",
-        onClick: M,
+        onClick: A,
         "aria-label": "Close",
         class: `${$}-close`
       }, [O || a("span", {
@@ -271,7 +271,7 @@ const ho = {
           style: [v.value, l.style],
           class: [$, l.class],
           onMousedown: F,
-          onMouseup: A
+          onMouseup: M
         }), [a("div", {
           tabindex: 0,
           ref: i,
@@ -390,11 +390,11 @@ const ho = {
         visible: y,
         maskTransitionName: B,
         maskAnimation: O,
-        zIndex: M,
+        zIndex: A,
         wrapClassName: z,
         rootClassName: C,
         wrapStyle: F,
-        closable: A,
+        closable: M,
         maskProps: w,
         maskStyle: H,
         transitionName: X,
@@ -414,7 +414,7 @@ const ho = {
         visible: h && y,
         motionName: Ke(c, B, O),
         style: f({
-          zIndex: M
+          zIndex: A
         }, H),
         maskProps: w
       }, null), a("div", P({
@@ -426,7 +426,7 @@ const ho = {
         role: "dialog",
         "aria-labelledby": k ? S.value : null,
         style: f(f({
-          zIndex: M
+          zIndex: A
         }, F), {
           display: m.value ? null : "none"
         })
@@ -436,7 +436,7 @@ const ho = {
         onMousedown: r,
         onMouseup: g,
         ref: p,
-        closable: A,
+        closable: M,
         ariaId: S.value,
         prefixCls: c,
         visible: y,
@@ -788,7 +788,7 @@ const Bo = (e) => {
       }
     }
   };
-}, Ao = (e) => {
+}, Mo = (e) => {
   const {
     componentCls: t,
     antCls: o
@@ -831,7 +831,7 @@ const Bo = (e) => {
       }
     }
   };
-}, Mo = kt("Modal", (e) => {
+}, Ao = kt("Modal", (e) => {
   const t = e.padding, o = e.fontSizeHeading5, n = e.lineHeightHeading5, l = _t(e, {
     modalBodyPadding: e.paddingLG,
     modalHeaderBg: e.colorBgElevated,
@@ -856,7 +856,7 @@ const Bo = (e) => {
     modalConfirmIconSize: e.fontSize * e.lineHeight,
     modalCloseBtnSize: e.controlHeightLG * 0.55
   });
-  return [Po(l), Fo(l), Oo(l), Bo(l), e.wireframe && Ao(l), Wt(l, "zoom")];
+  return [Po(l), Fo(l), Oo(l), Bo(l), e.wireframe && Mo(l), Wt(l, "zoom")];
 });
 var Ho = function(e, t) {
   var o = {};
@@ -971,7 +971,7 @@ const Io = () => ({
       rootPrefixCls: m,
       direction: S,
       getPopupContainer: v
-    } = Kt("modal", e), [d, u] = Mo(p);
+    } = Kt("modal", e), [d, u] = Ao(p);
     st(e.visible === void 0, "Modal", "`visible` will be removed in next major version, please use `open` instead.");
     const s = (x) => {
       o("update:visible", !1), o("update:open", !1), o("cancel", x), o("change", !1);
@@ -985,7 +985,7 @@ const Io = () => ({
         cancelText: y = ($ = n.cancelText) === null || $ === void 0 ? void 0 : $.call(n),
         confirmLoading: B
       } = e;
-      return a(Me, null, [a(He, P({
+      return a(Ae, null, [a(He, P({
         onClick: s
       }, e.cancelButtonProps), {
         default: () => [y || i.value.cancelText]
@@ -1004,19 +1004,19 @@ const Io = () => ({
         open: y,
         wrapClassName: B,
         centered: O,
-        getContainer: M,
+        getContainer: A,
         closeIcon: z = (x = n.closeIcon) === null || x === void 0 ? void 0 : x.call(n),
         focusTriggerAfterClose: C = !0
-      } = e, F = Ho(e, ["prefixCls", "visible", "open", "wrapClassName", "centered", "getContainer", "closeIcon", "focusTriggerAfterClose"]), A = ye(B, {
+      } = e, F = Ho(e, ["prefixCls", "visible", "open", "wrapClassName", "centered", "getContainer", "closeIcon", "focusTriggerAfterClose"]), M = ye(B, {
         [`${p.value}-centered`]: !!O,
         [`${p.value}-wrap-rtl`]: S.value === "rtl"
       });
       return d(a(To, P(P(P({}, F), l), {}, {
         rootClassName: u.value,
         class: ye(u.value, l.class),
-        getContainer: M || (v == null ? void 0 : v.value),
+        getContainer: A || (v == null ? void 0 : v.value),
         prefixCls: p.value,
-        wrapClassName: A,
+        wrapClassName: M,
         visible: y != null ? y : h,
         onClose: s,
         focusTriggerAfterClose: C,
@@ -1066,11 +1066,11 @@ const ct = ee({
         width: y = 416,
         mask: B = !0,
         maskClosable: O = !1,
-        type: M,
+        type: A,
         open: z,
         title: C,
         content: F,
-        direction: A,
+        direction: M,
         closeIcon: w,
         modalRender: H,
         focusTriggerAfterClose: X,
@@ -1081,7 +1081,7 @@ const ct = ee({
       } = e;
       let W = l;
       if (!l && l !== null)
-        switch (M) {
+        switch (A) {
           case "info":
             W = a(eo, null, null);
             break;
@@ -1094,8 +1094,8 @@ const ct = ee({
           default:
             W = a(qt, null, null);
         }
-      const me = e.okType || "primary", U = e.prefixCls || "ant-modal", te = `${U}-confirm`, Pe = o.style || {}, re = h != null ? h : M === "confirm", be = e.autoFocusButton === null ? !1 : e.autoFocusButton || "ok", se = `${U}-confirm`, Fe = ye(se, `${se}-${e.type}`, {
-        [`${se}-rtl`]: A === "rtl"
+      const me = e.okType || "primary", U = e.prefixCls || "ant-modal", te = `${U}-confirm`, Pe = o.style || {}, re = h != null ? h : A === "confirm", be = e.autoFocusButton === null ? !1 : e.autoFocusButton || "ok", se = `${U}-confirm`, Fe = ye(se, `${se}-${e.type}`, {
+        [`${se}-rtl`]: M === "rtl"
       }, o.class), ve = n.value, he = re && a(Ge, {
         actionFn: i,
         close: m,
@@ -1319,8 +1319,8 @@ function Do() {
       v.value = !1;
       for (var y = arguments.length, B = new Array(y), O = 0; O < y; O++)
         B[O] = arguments[O];
-      const M = B.some((z) => z && z.triggerCancel);
-      u.value.onCancel && M && u.value.onCancel(() => {
+      const A = B.some((z) => z && z.triggerCancel);
+      u.value.onCancel && A && u.value.onCancel(() => {
       }, ...B.slice(1));
     };
     let g;
@@ -1426,7 +1426,7 @@ function jo(e) {
   const o = R(e);
   return (t = o == null ? void 0 : o.$el) != null ? t : o;
 }
-function Ae(...e) {
+function Me(...e) {
   let t, o, n, l;
   if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, n, l] = e, t = yt) : [t, o, n, l] = e, !t)
     return Wo;
@@ -1473,17 +1473,17 @@ function Go(e, t = {}) {
     var F;
     if (!R($).includes(C.button) || R(t.disabled) || !y(C) || R(m) && C.target !== R(e))
       return;
-    const A = R(g), w = (F = A == null ? void 0 : A.getBoundingClientRect) == null ? void 0 : F.call(A), H = R(e).getBoundingClientRect(), X = {
-      x: C.clientX - (A ? H.left - w.left + A.scrollLeft : H.left),
-      y: C.clientY - (A ? H.top - w.top + A.scrollTop : H.top)
+    const M = R(g), w = (F = M == null ? void 0 : M.getBoundingClientRect) == null ? void 0 : F.call(M), H = R(e).getBoundingClientRect(), X = {
+      x: C.clientX - (M ? H.left - w.left + M.scrollLeft : H.left),
+      y: C.clientY - (M ? H.top - w.top + M.scrollTop : H.top)
     };
     (d == null ? void 0 : d(X, C)) !== !1 && (h.value = X, B(C));
-  }, M = (C) => {
+  }, A = (C) => {
     if (R(t.disabled) || !y(C) || !h.value)
       return;
-    const F = R(g), A = R(e).getBoundingClientRect();
+    const F = R(g), M = R(e).getBoundingClientRect();
     let { x: w, y: H } = c.value;
-    (s === "x" || s === "both") && (w = C.clientX - h.value.x, F && (w = Math.min(Math.max(0, w), F.scrollWidth - A.width))), (s === "y" || s === "both") && (H = C.clientY - h.value.y, F && (H = Math.min(Math.max(0, H), F.scrollHeight - A.height))), c.value = {
+    (s === "x" || s === "both") && (w = C.clientX - h.value.x, F && (w = Math.min(Math.max(0, w), F.scrollWidth - M.width))), (s === "y" || s === "both") && (H = C.clientY - h.value.y, F && (H = Math.min(Math.max(0, H), F.scrollHeight - M.height))), c.value = {
       x: w,
       y: H
     }, S == null || S(c.value, C), B(C);
@@ -1492,7 +1492,7 @@ function Go(e, t = {}) {
   };
   if (gt) {
     const C = { capture: (n = t.capture) != null ? n : !0 };
-    Ae(x, "pointerdown", O, C), Ae(r, "pointermove", M, C), Ae(r, "pointerup", z, C);
+    Me(x, "pointerdown", O, C), Me(r, "pointermove", A, C), Me(r, "pointerup", z, C);
   }
   return Oe(pe({}, Vo(c)), {
     position: c,
@@ -1610,7 +1610,7 @@ const Ko = { class: "modalHeader" }, Xo = {
     "handSave"
   ],
   setup(e, { emit: t }) {
-    const o = e, n = t, l = At(), i = T(null), p = T(), { x: m, y: S, isDragging: v } = Go(i), d = T(0), u = T(0), s = T(!1), r = T(0), g = T(0), x = T(0), $ = T(0), c = T({ left: 0, right: 0, top: 0, bottom: 0 }), h = T(null), y = T(null), B = T(o.width), O = T(), M = T(o.value), z = T(8), C = Q(() => o.tabKey && o.tabKey.value || "value"), F = T("");
+    const o = e, n = t, l = Mt(), i = T(null), p = T(), { x: m, y: S, isDragging: v } = Go(i), d = T(0), u = T(0), s = T(!1), r = T(0), g = T(0), x = T(0), $ = T(0), c = T({ left: 0, right: 0, top: 0, bottom: 0 }), h = T(null), y = T(null), B = T(o.width), O = T(), A = T(o.value), z = T(8), C = Q(() => o.tabKey && o.tabKey.value || "value"), F = T("");
     j(() => o.tabs, () => {
       const b = o.tabs || [];
       if (!b.length) {
@@ -1682,11 +1682,11 @@ const Ko = { class: "modalHeader" }, Xo = {
     }), j(
       () => o.value,
       (b) => {
-        b ? (M.value = !0, U()) : M.value = !1;
+        b ? (A.value = !0, U()) : A.value = !1;
       },
       { deep: !0 }
     ), j(
-      () => M.value,
+      () => A.value,
       (b) => {
         b && U();
       }
@@ -1700,8 +1700,8 @@ const Ko = { class: "modalHeader" }, Xo = {
       I && (I.disconnect(), I = null), k && (cancelAnimationFrame(k), k = null);
     }), (b, V) => {
       const K = uo, q = co, xe = mo, Se = fo, $e = so, J = vo, Ee = we("poweroff-outlined"), ce = He, De = we("save-outlined"), Ct = we("arrow-left-outlined"), bt = we("arrow-right-outlined"), ht = _;
-      return D(), ne(ht, Mt({
-        open: M.value,
+      return D(), ne(ht, At({
+        open: A.value,
         "body-style": G.value,
         width: B.value,
         centered: e.centered,
@@ -1844,7 +1844,7 @@ const Ko = { class: "modalHeader" }, Xo = {
                     onChange: se
                   }, {
                     default: N(() => [
-                      (D(!0), le(Me, null, We(e.tabs, (oe) => (D(), ne(K, {
+                      (D(!0), le(Ae, null, We(e.tabs, (oe) => (D(), ne(K, {
                         tab: oe[e.tabKey.label],
                         key: oe[C.value]
                       }, null, 8, ["tab"]))), 128))
@@ -1859,7 +1859,7 @@ const Ko = { class: "modalHeader" }, Xo = {
                     size: "small"
                   }, {
                     default: N(() => [
-                      (D(!0), le(Me, null, We(e.steps, (oe) => (D(), ne(xe, {
+                      (D(!0), le(Ae, null, We(e.steps, (oe) => (D(), ne(xe, {
                         title: oe,
                         key: oe,
                         disabled: !0

+ 11 - 11
lib/js/SNewestDataListLayout.js

@@ -1,6 +1,6 @@
 import { ref as s, computed as X, watch as Y, nextTick as _, onMounted as Ae, onActivated as Ie, resolveComponent as M, resolveDirective as Pe, openBlock as n, createElementBlock as l, createVNode as w, withCtx as f, createElementVNode as m, toDisplayString as k, Fragment as Z, renderList as ze, withDirectives as R, createBlock as $, createTextVNode as x, resolveDynamicComponent as Ee, createCommentVNode as a, vShow as ee, renderSlot as i, normalizeStyle as Me, unref as te, h as Re } from "vue";
 import { useRoute as xe } from "vue-router";
-import { n as Fe, aA as Ke, B as Le, y as Ne, d0 as Ue } from "./index2.js";
+import { n as Fe, aB as Ke, B as Le, y as Ne, d0 as Ue } from "./index2.js";
 import { c as Ve } from "./side-drag.js";
 import { S as qe } from "./index9.js";
 const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" }, Ge = { class: "list-layout-main" }, Je = {
@@ -140,7 +140,7 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
   setup(r, { expose: oe, emit: ne }) {
     const g = r, y = ne;
     xe();
-    const le = s(null), ae = s(null), se = s(null), ie = s(null), p = s(null), re = s(null), ue = s(8), S = s(!1), F = s(300), b = s(!1), d = s(!1), K = s(20), O = s(256), L = s(!1), c = s([]), B = s([]), C = s([]), v = s([]), de = {
+    const le = s(null), ae = s(null), se = s(null), ie = s(null), p = s(null), re = s(null), ue = s(8), S = s(!1), F = s(300), b = s(!1), d = s(!1), K = s(20), B = s(256), L = s(!1), c = s([]), O = s([]), C = s([]), v = s([]), de = {
       add: "PlusCircleOutlined",
       edit: "FormOutlined",
       delete: "DeleteOutlined",
@@ -309,8 +309,8 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
       setStateBtn: H,
       handAction: P
     }, Se = Ve(
-      () => O.value,
-      (e) => O.value = e,
+      () => B.value,
+      (e) => B.value = e,
       { min: 256 }
     );
     return Ae(() => {
@@ -321,7 +321,7 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
       reload: I,
       spinning: d,
       selectedRowKeys: c,
-      expandedRowKeys: B,
+      expandedRowKeys: O,
       renderColumns: C,
       renderButtons: v,
       setStateBtn: H,
@@ -333,13 +333,13 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
       measureLayout: E,
       advancedSearch: J
     }), (e, t) => {
-      const u = Le, h = qe, Q = M("double-right-outlined"), Ce = M("sync-outlined"), _e = Ne, Oe = Ke, Be = M("s-import-modal"), De = Pe("action");
+      const u = Le, h = qe, Q = M("double-right-outlined"), Ce = M("sync-outlined"), _e = Ne, Be = Ke, Oe = M("s-import-modal"), De = Pe("action");
       return n(), l("div", {
         class: "list-layout",
         ref_key: "layout",
         ref: le
       }, [
-        w(Oe, { spinning: d.value }, {
+        w(Be, { spinning: d.value }, {
           default: f(() => [
             m("div", je, [
               m("div", He, k(e.$l(r.title)), 1),
@@ -380,7 +380,7 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
                 class: "side s-side-tree",
                 ref_key: "side",
                 ref: ae,
-                style: Me([{ width: O.value + "px" }, { "overflow-y": "auto" }])
+                style: Me([{ width: B.value + "px" }, { "overflow-y": "auto" }])
               }, [
                 i(e.$slots, "tree", {}, void 0, !0)
               ], 4)) : a("", !0),
@@ -480,8 +480,8 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
                       rowKey: r.rowKey,
                       columns: C.value,
                       data: r.loadData,
-                      "expanded-row-keys": B.value,
-                      "onUpdate:expandedRowKeys": t[0] || (t[0] = (o) => B.value = o),
+                      "expanded-row-keys": O.value,
+                      "onUpdate:expandedRowKeys": t[0] || (t[0] = (o) => O.value = o),
                       rowSelection: L.value || r.isSelection ? {
                         selectedRowKeys: c.value,
                         onChange: be,
@@ -522,7 +522,7 @@ const je = { class: "tools" }, He = { class: "title" }, We = { class: "btns" },
           ]),
           _: 3
         }, 8, ["spinning"]),
-        N.value ? (n(), $(Be, {
+        N.value ? (n(), $(Oe, {
           key: 0,
           ref_key: "importModalRef",
           ref: re,

+ 10 - 10
lib/js/SOfficeSelect.js

@@ -1,4 +1,4 @@
-var B = ($, D, p) => new Promise((b, m) => {
+var U = ($, D, p) => new Promise((b, m) => {
   var j = (c) => {
     try {
       u(p.next(c));
@@ -14,9 +14,9 @@ var B = ($, D, p) => new Promise((b, m) => {
   }, u = (c) => c.done ? b(c.value) : Promise.resolve(c.value).then(j, w);
   u((p = p.apply($, D)).next());
 });
-import { ref as o, watch as re, resolveComponent as U, openBlock as k, createElementBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as I, withModifiers as ve, Fragment as H, renderList as J, createCommentVNode as he } from "vue";
-import { aB as _e, B as pe, de as me, cG as fe, cH as ge, df as we, dg as Ce, dh as ye, di as ke, dj as Se } from "./index2.js";
-const $e = { class: "s-office-select-common" }, be = { class: "modal-container" }, Oe = { class: "side" }, Ne = { class: "main" }, Ve = { class: "filter" }, je = { class: "list-wrap" }, Ae = { class: "item left-wrap" }, Le = { class: "head" }, Te = { class: "sub-title" }, Be = { class: "right" }, Ue = { href: "javascript:;" }, Ie = ["onClick"], De = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, Fe = { class: "name" }, Ge = { class: "job" }, Me = {
+import { ref as o, watch as re, resolveComponent as B, openBlock as k, createElementBlock as S, createVNode as d, withCtx as h, createElementVNode as t, toDisplayString as i, createTextVNode as I, withModifiers as ve, Fragment as H, renderList as J, createCommentVNode as he } from "vue";
+import { aC as _e, B as pe, de as me, cG as fe, cH as ge, df as we, dg as Ce, dh as ye, di as ke, dj as Se } from "./index2.js";
+const $e = { class: "s-office-select-common" }, be = { class: "modal-container" }, Oe = { class: "side" }, Ne = { class: "main" }, Ve = { class: "filter" }, je = { class: "list-wrap" }, Ae = { class: "item left-wrap" }, Le = { class: "head" }, Te = { class: "sub-title" }, Ue = { class: "right" }, Be = { href: "javascript:;" }, Ie = ["onClick"], De = { class: "icon s-theme-icon-bg" }, Ee = { class: "cont" }, Fe = { class: "name" }, Ge = { class: "job" }, Me = {
   key: 0,
   class: "not-more"
 }, ze = { class: "item right-wrap" }, He = { class: "head" }, Je = { class: "sub-title" }, Re = { class: "icon s-theme-icon-bg" }, qe = { class: "cont" }, xe = { class: "name" }, Ke = { class: "job" }, Pe = ["onClick"], Ze = {
@@ -67,7 +67,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       c.value = !0;
     }, R = () => {
       c.value = !1;
-    }, y = (e = 1, l = 0) => B(this, null, function* () {
+    }, y = (e = 1, l = 0) => U(this, null, function* () {
       if (u.value) {
         u.value = !1;
         return;
@@ -99,7 +99,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       }), y()();
     }, P = () => {
       O.value = !O.value, O.value ? W() : K();
-    }, Q = () => B(this, null, function* () {
+    }, Q = () => U(this, null, function* () {
       if (!N.value) {
         window.$message.warning(window.$l("请选择部门"));
         return;
@@ -121,7 +121,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       p("update:value", b.multiple ? V : V[0] || ""), p("change", r, l, V, e);
     }, Z = (e, l) => {
       _.value = l.node, C.value = 1, A.value = 0, f.value = [], u.value = !0, N.value = e, F(e);
-    }, F = (e) => B(this, null, function* () {
+    }, F = (e) => U(this, null, function* () {
       const l = {
         pageNo: C.value,
         pageSize: 20,
@@ -144,7 +144,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
       u.value || e + n >= l - 20 && (E.value = T.value, T.value++, y(T.value, E.value));
     }, ae = (e) => Ce(e), se = (e) => we(e);
     return (e, l) => {
-      const n = _e, r = pe, V = U("s-tree"), g = U("DownOutlined"), oe = ge, ie = fe, ue = me, ce = U("CloseCircleOutlined"), de = U("s-modal");
+      const n = _e, r = pe, V = B("s-tree"), g = B("DownOutlined"), oe = ge, ie = fe, ue = me, ce = B("CloseCircleOutlined"), de = B("s-modal");
       return k(), S("div", $e, [
         d(n, {
           value: m.value,
@@ -209,7 +209,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                   t("div", Ae, [
                     t("div", Le, [
                       t("div", Te, i(_.value.title || _.value.name), 1),
-                      t("div", Be, [
+                      t("div", Ue, [
                         d(r, {
                           type: "link",
                           onClick: P
@@ -225,7 +225,7 @@ const $e = { class: "s-office-select-common" }, be = { class: "modal-container"
                               default: h(() => [
                                 d(oe, { onClick: Q }, {
                                   default: h(() => [
-                                    t("a", Ue, i(e.$l("节点全选")), 1)
+                                    t("a", Be, i(e.$l("节点全选")), 1)
                                   ]),
                                   _: 1
                                 })

+ 39 - 30
lib/js/SPanelLayout.js

@@ -1,13 +1,13 @@
-import { useSlots as m, ref as S, computed as n, openBlock as s, createElementBlock as l, normalizeStyle as d, normalizeClass as _, createElementVNode as c, renderSlot as a, createTextVNode as g, toDisplayString as v, createCommentVNode as i, createVNode as k, withCtx as $ } from "vue";
-import { n as b } from "./index2.js";
+import { useSlots as S, ref as v, computed as o, openBlock as l, createElementBlock as a, normalizeStyle as i, normalizeClass as g, createElementVNode as r, renderSlot as n, createTextVNode as _, toDisplayString as w, createCommentVNode as u, createVNode as k, withCtx as $ } from "vue";
+import { n as N } from "./index2.js";
 import { S as x } from "./index9.js";
-const z = { class: "s-panel-layout-title" }, N = {
+const b = { class: "s-panel-layout-title" }, z = {
   key: 0,
   class: "s-panel-layout-extra"
-}, w = { class: "s-panel-layout-content" }, B = {
+}, B = { class: "s-panel-layout-content" }, P = {
   key: 1,
   class: "s-panel-layout-footer"
-}, P = /* @__PURE__ */ Object.assign({ name: "SPanelLayout" }, {
+}, V = /* @__PURE__ */ Object.assign({ name: "SPanelLayout" }, {
   __name: "SPanelLayout",
   props: {
     // 面板标题
@@ -28,47 +28,56 @@ const z = { class: "s-panel-layout-title" }, N = {
     headerSticky: {
       type: Boolean,
       default: !1
+    },
+    width: {
+      type: [Number, String],
+      default: "100%"
     }
   },
-  setup(r) {
-    const e = r, o = m(), h = S(8), u = n(() => !!(e.title || o.title || o.extra || o.footer)), p = n(() => e.showTitle && !!(e.title || o.title || o.extra)), f = n(() => !u.value || e.height === null || e.height === void 0 || e.height === "" || e.height === "100%" ? null : {
+  setup(d) {
+    const e = d, s = S(), h = v(8), c = o(() => !!(e.title || s.title || s.extra || s.footer)), p = o(() => e.showTitle && !!(e.title || s.title || s.extra)), f = o(() => !c.value || e.height === null || e.height === void 0 || e.height === "" || e.height === "100%" ? null : {
       height: typeof e.height == "number" ? `${e.height}px` : e.height
-    });
-    return (t, V) => {
-      const y = x;
-      return s(), l("div", {
-        class: _(["s-panel-layout", { "is-panel": u.value }]),
-        style: d(f.value)
+    }), y = o(() => window.$utils.isNumber(e.width) ? e.width + "px" : e.width);
+    return (t, C) => {
+      const m = x;
+      return l(), a("div", {
+        class: g(["s-panel-layout", { "is-panel": c.value }]),
+        style: i(f.value)
       }, [
-        p.value ? (s(), l("div", {
+        p.value ? (l(), a("div", {
           key: 0,
           class: "s-panel-layout-header",
-          style: d({ position: e.headerSticky ? "sticky" : "" })
+          style: i({ position: e.headerSticky ? "sticky" : "" })
         }, [
-          c("div", z, [
-            a(t.$slots, "title", {}, () => [
-              g(v(r.title), 1)
+          r("div", b, [
+            n(t.$slots, "title", {}, () => [
+              _(w(d.title), 1)
             ], !0)
           ]),
-          t.$slots.extra ? (s(), l("div", N, [
-            a(t.$slots, "extra", {}, void 0, !0)
-          ])) : i("", !0)
-        ], 4)) : i("", !0),
-        c("div", w, [
-          a(t.$slots, "default", {}, void 0, !0)
+          t.$slots.extra ? (l(), a("div", z, [
+            n(t.$slots, "extra", {}, void 0, !0)
+          ])) : u("", !0)
+        ], 4)) : u("", !0),
+        r("div", B, [
+          r("div", {
+            class: "s-panel-scroll-view",
+            style: i({ width: y.value })
+          }, [
+            n(t.$slots, "default", {}, void 0, !0)
+          ], 4)
         ]),
-        t.$slots.footer ? (s(), l("div", B, [
-          k(y, { size: h.value }, {
+        t.$slots.footer ? (l(), a("div", P, [
+          k(m, { size: h.value }, {
             default: $(() => [
-              a(t.$slots, "footer", {}, void 0, !0)
+              n(t.$slots, "footer", {}, void 0, !0)
             ]),
             _: 3
           }, 8, ["size"])
-        ])) : i("", !0)
+        ])) : u("", !0)
       ], 6);
     };
   }
-}), E = /* @__PURE__ */ b(P, [["__scopeId", "data-v-ecb1bd03"]]);
+}), j = /* @__PURE__ */ N(V, [["__scopeId", "data-v-d493140f"]]);
 export {
-  E as default
+  j as default
 };

+ 1 - 1
lib/js/SSideMenu.js

@@ -1,6 +1,6 @@
 import { ref as I, computed as d, reactive as A, watch as w, onMounted as D, resolveComponent as u, openBlock as p, createElementBlock as L, createElementVNode as v, createVNode as g, withCtx as N, createBlock as $, h as V } from "vue";
 import { useRouter as F } from "vue-router";
-import { n as j, ad as O, d1 as G, cG as H, d2 as m } from "./index2.js";
+import { n as j, ae as O, d1 as G, cG as H, d2 as m } from "./index2.js";
 const W = { class: "s-menu-slide-common" }, X = { class: "menu-wrap" }, q = {
   __name: "SSideMenu",
   emits: ["collapsed"],

+ 1 - 1
lib/js/STopMenu.js

@@ -1,6 +1,6 @@
 import { ref as bn, computed as Ft, reactive as mn, watch as Vt, onMounted as wn, openBlock as vn, createElementBlock as Tn, createElementVNode as An, createVNode as kt, withCtx as Sn } from "vue";
 import { useRouter as Cn } from "vue-router";
-import { c9 as xn, c8 as F, n as Kn, ad as Wt, d1 as On, cG as jn } from "./index2.js";
+import { c9 as xn, c8 as F, n as Kn, ae as Wt, d1 as On, cG as jn } from "./index2.js";
 var V = { exports: {} };
 V.exports;
 (function(p, h) {

+ 12 - 12
lib/js/SUserSelect.js

@@ -15,8 +15,8 @@ var j = (S, F, w) => new Promise((I, m) => {
   g((w = w.apply(S, F)).next());
 });
 import { ref as u, watch as Ce, onMounted as ke, resolveComponent as J, openBlock as d, createElementBlock as v, createVNode as f, withCtx as $, createElementVNode as s, toDisplayString as i, createTextVNode as b, createCommentVNode as te, Fragment as q, renderList as ae } from "vue";
-import { aB as Se, B as we, dx as se, df as $e, dg as be, dy as Ee } from "./index2.js";
-const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container" }, Ne = { class: "side" }, Ie = { class: "main" }, Te = { class: "filter" }, Ue = { class: "list-wrap" }, Ve = { class: "item left-wrap" }, Be = { class: "head" }, Oe = { class: "sub-title" }, Re = {
+import { aC as Se, B as we, dx as se, df as $e, dg as be, dy as Ee } from "./index2.js";
+const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container" }, Ne = { class: "side" }, Ie = { class: "main" }, Te = { class: "filter" }, Ue = { class: "list-wrap" }, Ve = { class: "item left-wrap" }, Oe = { class: "head" }, Be = { class: "sub-title" }, Re = {
   key: 0,
   class: "right"
 }, je = ["onClick"], qe = { class: "icon s-theme-icon-bg" }, Fe = ["src", "onError"], Me = { class: "cont" }, xe = { class: "name" }, Pe = { class: "job" }, ze = {
@@ -55,7 +55,7 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
     var ee, le;
     const I = w, m = S, M = (((le = (ee = window.$utils) == null ? void 0 : ee.env) == null ? void 0 : le.VITE_APP_API_FILE_URL) || "/") + "", T = (e) => /^https?:\/\//.test(e) ? e : `${M}file/preview?id=${e}`, g = u(""), h = u(""), y = u(""), p = u(!1), E = u(!1), U = u({}), C = u([]), n = u([]), k = u(1), A = u(0), L = u(!1);
     let V = null;
-    const D = u(""), c = u([]), B = u(1), K = u(20), x = u(0);
+    const D = u(""), c = u([]), O = u(1), K = u(20), x = u(0);
     let G = 0, H = "", Q = !1;
     const W = (e) => {
       if (e && e.length) {
@@ -67,16 +67,16 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
     Ce(
       () => m.value,
       (e) => {
-        W(e), Q && O();
+        W(e), Q && B();
       },
       { immediate: !0 }
     );
     const X = () => {
-      E.value = !0, O();
+      E.value = !0, B();
     }, Y = () => {
       X();
     }, ne = () => {
-      E.value = !1, W(m.value), O();
+      E.value = !1, W(m.value), B();
     }, N = (e = 1, l = 0) => j(this, null, function* () {
       if (p.value) {
         p.value = !1;
@@ -84,7 +84,7 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
       }
       e === 1 && (c.value = []);
       let a = [];
-      if (n.value.length < 100 ? (B.value = 1, x.value = 0, a = n.value) : a = n.value.slice(l * (K.value || 20), e * (K.value || 20)), !a.length || c.value.length && a.length >= n.value.length && a.length >= c.value.length)
+      if (n.value.length < 100 ? (O.value = 1, x.value = 0, a = n.value) : a = n.value.slice(l * (K.value || 20), e * (K.value || 20)), !a.length || c.value.length && a.length >= n.value.length && a.length >= c.value.length)
         return;
       p.value = !0;
       const o = yield se(a), _ = c.value.concat(o || []);
@@ -96,7 +96,7 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
     }, Z = () => {
       const l = c.value.filter((o) => n.value.includes(o.id)).map((o) => o.name), a = l.length - 1;
       g.value = l.slice(0, 1).join(",") + (a > 0 ? " +" + a : "");
-    }, O = () => j(this, null, function* () {
+    }, B = () => j(this, null, function* () {
       if (!n.value.length) {
         g.value = "", c.value = [];
         return;
@@ -105,7 +105,7 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
       c.value = e || [], Z();
     });
     ke(() => {
-      Q = !0, O();
+      Q = !0, B();
     });
     const ue = () => {
       C.value.forEach((e) => {
@@ -161,7 +161,7 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
     }, _e = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: a } }) => {
       p.value || e + a >= l - 20 && k.value < A.value && (k.value++, P());
     }, fe = ({ target: { offsetHeight: e, scrollHeight: l, scrollTop: a } }) => {
-      p.value || e + a >= l - 20 && (x.value = B.value, B.value++, N(B.value, x.value));
+      p.value || e + a >= l - 20 && (x.value = O.value, O.value++, N(O.value, x.value));
     }, me = (e) => be(e), ge = (e) => $e(e);
     return F({ open: X }), (e, l) => {
       const a = Se, o = we, _ = J("s-tree"), r = J("CloseCircleOutlined"), R = J("s-modal");
@@ -227,8 +227,8 @@ const Ae = { class: "s-office-select-common" }, Le = { class: "modal-container"
                 ]),
                 s("div", Ue, [
                   s("div", Ve, [
-                    s("div", Be, [
-                      s("div", Oe, i(U.value.title || U.value.name), 1),
+                    s("div", Oe, [
+                      s("div", Be, i(U.value.title || U.value.name), 1),
                       S.multiple ? (d(), v("div", Re, [
                         f(o, {
                           type: "link",

+ 1 - 1
lib/js/SettingFilter.js

@@ -1,6 +1,6 @@
 import { ref as w, resolveComponent as S, openBlock as f, createBlock as $, withCtx as a, createElementVNode as v, createVNode as o, createTextVNode as i, toDisplayString as r, createElementBlock as y, Fragment as g, renderList as q } from "vue";
 import Q from "./CustomInput.js";
-import { n as W, dn as X, dp as Y, a6 as Z, a7 as ee, B as le } from "./index2.js";
+import { n as W, dn as X, dp as Y, a7 as Z, a8 as ee, B as le } from "./index2.js";
 import { _ as ne } from "./index8.js";
 import { _ as te, a as ae } from "./index11.js";
 const oe = { class: "drawer-wrap" }, ue = { class: "content-wrap" }, se = { class: "remove-filter-wrap" }, ie = { class: "drawer-footer" }, re = /* @__PURE__ */ Object.assign({ name: "SFilter" }, {

+ 2 - 2
lib/js/activate.js

@@ -30,11 +30,11 @@ import { useRouter as ze } from "vue-router";
 import { n as Me, I as qe, B as De, dE as Oe, dL as Be } from "./index2.js";
 import { e as Ze, f as je, h as Ge, i as He } from "./account.js";
 import { s as Je } from "./success-qrcode.js";
-import { C as Ke } from "./index19.js";
+import { C as Ke } from "./index18.js";
 import { _ as Qe, S as We } from "./index12.js";
 import { F as Xe, _ as Ye } from "./index5.js";
 import { _ as ea, a as aa } from "./index11.js";
-import { S as ta } from "./index17.js";
+import { S as ta } from "./index16.js";
 const la = { class: "activate-page" }, sa = { class: "header" }, oa = { class: "header-inner" }, na = { class: "logo-box" }, ia = ["src", "alt"], ra = { class: "sub-title" }, ua = { class: "main-wrap" }, ca = { key: 0 }, da = { class: "tip-text" }, va = { class: "bold-text" }, pa = { class: "small-text" }, fa = { id: "verification-code-div" }, _a = ["title"], ma = ["src"], ha = { class: "btn-group" }, ga = {
   key: 1,
   class: "form-wrap"

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 26 - 28
lib/js/components-doc.js


+ 1 - 1
lib/js/dayjs.js

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

+ 0 - 60
lib/js/docs-back-top.js

@@ -1,60 +0,0 @@
-import { ref as p, onMounted as f, onBeforeUnmount as u, openBlock as m, createBlock as h, Transition as v, withCtx as w, withDirectives as _, createElementVNode as g, createVNode as T, unref as b, vShow as E } from "vue";
-import { n as k, c6 as y } from "./index2.js";
-const S = ["title"], x = {
-  __name: "docs-back-top",
-  props: {
-    // 文档页的滚动容器(页面内自滚动,不是 window):
-    // 说明文档用 .s-docs-page,组件文档用 .sd-content,两页当前只会命中其中一个
-    target: {
-      type: String,
-      default: ".s-docs-page, .sd-content"
-    },
-    // 滚动超过该距离才出现
-    offset: {
-      type: Number,
-      default: 360
-    }
-  },
-  setup(l) {
-    const n = l, c = p(!1), r = () => Array.from(document.querySelectorAll(n.target)), a = () => {
-      let o = window.pageYOffset || document.documentElement.scrollTop || 0;
-      return r().forEach((t) => {
-        t.scrollTop > o && (o = t.scrollTop);
-      }), o;
-    }, i = () => {
-      let o = 0;
-      return r().forEach((t) => {
-        const s = t.scrollHeight - t.clientHeight;
-        s > o && (o = s);
-      }), Math.min(n.offset, Math.max(120, o * 0.3));
-    }, e = () => {
-      c.value = a() > i();
-    }, d = () => {
-      r().forEach((o) => {
-        o.scrollTop > 0 && o.scrollTo({ top: 0, behavior: "smooth" });
-      }), window.pageYOffset > 0 && window.scrollTo({ top: 0, behavior: "smooth" });
-    };
-    return f(() => {
-      document.addEventListener("scroll", e, !0), window.addEventListener("scroll", e, { passive: !0 }), e();
-    }), u(() => {
-      document.removeEventListener("scroll", e, !0), window.removeEventListener("scroll", e);
-    }), (o, t) => (m(), h(v, { name: "docs-back-top-fade" }, {
-      default: w(() => [
-        _(g("button", {
-          class: "docs-back-top",
-          type: "button",
-          title: o.$l("回到顶部"),
-          onClick: d
-        }, [
-          T(b(y))
-        ], 8, S), [
-          [E, c.value]
-        ])
-      ]),
-      _: 1
-    }));
-  }
-}, D = /* @__PURE__ */ k(x, [["__scopeId", "data-v-af531a45"]]);
-export {
-  D
-};

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 85
lib/js/docs.js


+ 44 - 44
lib/js/forgot-password.js

@@ -1,5 +1,5 @@
 var $ = (t, e, a) => new Promise((r, s) => {
-  var d = (u) => {
+  var c = (u) => {
     try {
       h(a.next(u));
     } catch (M) {
@@ -11,16 +11,16 @@ var $ = (t, e, a) => new Promise((r, s) => {
     } catch (M) {
       s(M);
     }
-  }, h = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(d, f);
+  }, h = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(c, f);
   h((a = a.apply(t, e)).next());
 });
 import { createVNode as l, defineComponent as C1, computed as x, ref as _, reactive as q, onMounted as E1, onBeforeUnmount as b1, resolveComponent as j, openBlock as w, createElementBlock as K, createElementVNode as B, withCtx as o, createBlock as S, createTextVNode as k, toDisplayString as i, Fragment as D1, normalizeClass as y1, createCommentVNode as O } from "vue";
 import { useRouter as A1 } from "vue-router";
 import { e as t1 } from "./base64Util.js";
 import { b as z1, c as n1, d as $1, u as j1 } from "./account.js";
-import { g as S1, m as x1, u as I1, c as T1, _ as o1, ec as P1, be as H1, bd as O1, bf as V1, P as V, n as L1, B as N1, I as R1, dK as W1 } from "./index2.js";
-import { C as U1 } from "./index19.js";
-import { T as G1, P as q1, a as K1 } from "./index18.js";
+import { g as S1, m as x1, u as I1, c as T1, _ as o1, ec as P1, bf as H1, be as O1, bg as V1, P as V, n as L1, B as N1, I as R1, dK as W1 } from "./index2.js";
+import { C as U1 } from "./index18.js";
+import { T as G1, P as q1, a as K1 } from "./index17.js";
 import { _ as X1, S as Z1 } from "./index12.js";
 import { F as J1, _ as Q1 } from "./index5.js";
 import { _ as Y1, a as l2 } from "./index11.js";
@@ -756,7 +756,7 @@ const e2 = () => l("svg", {
     lineHeightHeading3: a,
     iconCls: r,
     padding: s,
-    paddingXL: d,
+    paddingXL: c,
     paddingXS: f,
     paddingLG: h,
     marginXS: u,
@@ -765,7 +765,7 @@ const e2 = () => l("svg", {
   return {
     // Result
     [e]: {
-      padding: `${h * 2}px ${d}px`,
+      padding: `${h * 2}px ${c}px`,
       // RTL
       "&-rtl": {
         direction: "rtl"
@@ -836,12 +836,12 @@ const e2 = () => l("svg", {
   const {
     paddingLG: e,
     fontSizeHeading3: a
-  } = t, r = t.fontSize, s = `${e}px 0 0 0`, d = t.colorInfo, f = t.colorError, h = t.colorSuccess, u = t.colorWarning, M = x1(t, {
+  } = t, r = t.fontSize, s = `${e}px 0 0 0`, c = t.colorInfo, f = t.colorError, h = t.colorSuccess, u = t.colorWarning, M = x1(t, {
     resultTitleFontSize: a,
     resultSubtitleFontSize: r,
     resultIconFontSize: a * 3,
     resultExtraMargin: s,
-    resultInfoIconColor: d,
+    resultInfoIconColor: c,
     resultErrorIconColor: f,
     resultSuccessIconColor: h,
     resultWarningIconColor: u
@@ -859,7 +859,7 @@ const e2 = () => l("svg", {
   404: e2,
   500: t2,
   403: n2
-}, d2 = Object.keys(I), c2 = () => ({
+}, c2 = Object.keys(I), d2 = () => ({
   prefixCls: String,
   icon: V.any,
   status: {
@@ -874,16 +874,16 @@ const e2 = () => l("svg", {
     status: a,
     icon: r
   } = e;
-  if (d2.includes(`${a}`)) {
+  if (c2.includes(`${a}`)) {
     const f = I[a];
     return l("div", {
       class: `${t}-icon ${t}-image`
     }, [l(f, null, null)]);
   }
-  const s = u2[a], d = r || l(s, null, null);
+  const s = u2[a], c = r || l(s, null, null);
   return l("div", {
     class: `${t}-icon`
-  }, [d]);
+  }, [c]);
 }, h2 = (t, e) => e && l("div", {
   class: `${t}-extra`
 }, [e]), A = C1({
@@ -892,7 +892,7 @@ const e2 = () => l("svg", {
   },
   name: "AResult",
   inheritAttrs: !1,
-  props: c2(),
+  props: d2(),
   slots: Object,
   setup(t, e) {
     let {
@@ -901,13 +901,13 @@ const e2 = () => l("svg", {
     } = e;
     const {
       prefixCls: s,
-      direction: d
+      direction: c
     } = I1("result", t), [f, h] = i2(s), u = x(() => T1(s.value, h.value, `${s.value}-${t.status}`, {
-      [`${s.value}-rtl`]: d.value === "rtl"
+      [`${s.value}-rtl`]: c.value === "rtl"
     }));
     return () => {
-      var M, C, c, v, m, D, E, b;
-      const L = (M = t.title) !== null && M !== void 0 ? M : (C = a.title) === null || C === void 0 ? void 0 : C.call(a), T = (c = t.subTitle) !== null && c !== void 0 ? c : (v = a.subTitle) === null || v === void 0 ? void 0 : v.call(a), N = (m = t.icon) !== null && m !== void 0 ? m : (D = a.icon) === null || D === void 0 ? void 0 : D.call(a), R = (E = t.extra) !== null && E !== void 0 ? E : (b = a.extra) === null || b === void 0 ? void 0 : b.call(a), y = s.value;
+      var M, C, d, v, m, D, E, b;
+      const L = (M = t.title) !== null && M !== void 0 ? M : (C = a.title) === null || C === void 0 ? void 0 : C.call(a), T = (d = t.subTitle) !== null && d !== void 0 ? d : (v = a.subTitle) === null || v === void 0 ? void 0 : v.call(a), N = (m = t.icon) !== null && m !== void 0 ? m : (D = a.icon) === null || D === void 0 ? void 0 : D.call(a), R = (E = t.extra) !== null && E !== void 0 ? E : (b = a.extra) === null || b === void 0 ? void 0 : b.call(a), y = s.value;
       return f(l("div", o1(o1({}, r), {}, {
         class: [u.value, r.class]
       }), [p2(y, {
@@ -935,9 +935,9 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
 }, F2 = { class: "retrieve-options" }, m2 = { class: "option-title" }, v2 = { class: "option-desc" }, g2 = { class: "form-actions" }, _2 = { class: "form-actions" }, w2 = { class: "form-actions" }, B2 = { class: "back-login" }, C2 = /* @__PURE__ */ Object.assign({ name: "LoginForgotPassword" }, {
   __name: "forgot-password",
   setup(t) {
-    const e = (n) => window.$l ? window.$l(n) : n, a = A1(), r = _(0), s = _(0), d = _(!1), f = _(!1), h = _(!1), u = _(0), M = x(() => u.value > 0);
+    const e = (n) => window.$l ? window.$l(n) : n, a = A1(), r = _(0), s = _(0), c = _(!1), f = _(!1), h = _(!1), u = _(0), M = x(() => u.value > 0);
     let C = null;
-    const c = q({ no: "", mobile: "", email: "" }), v = q({ code: "" }), m = q({ password: "", confirmPassword: "" }), D = _(""), E = _(6), b = _(20), L = /^(((13[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(17[3-8]{1})|(18[0-9]{1})|(19[0-9]{1})|(14[5-7]{1}))+\d{8})$/, T = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/, N = x(() => s.value === 0 ? c.mobile : c.email), R = x(() => {
+    const d = q({ no: "", mobile: "", email: "" }), v = q({ code: "" }), m = q({ password: "", confirmPassword: "" }), D = _(""), E = _(6), b = _(20), L = /^(((13[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(17[3-8]{1})|(18[0-9]{1})|(19[0-9]{1})|(14[5-7]{1}))+\d{8})$/, T = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/, N = x(() => s.value === 0 ? d.mobile : d.email), R = x(() => {
       const n = {
         no: [{ required: !0, message: e("请输入账号"), trigger: "blur" }]
       };
@@ -987,16 +987,16 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
     }
     function Z() {
       return {
-        no: c.no,
+        no: d.no,
         type: s.value,
-        mobile: s.value === 0 ? c.mobile : "",
-        email: s.value === 1 ? c.email : ""
+        mobile: s.value === 0 ? d.mobile : "",
+        email: s.value === 1 ? d.email : ""
       };
     }
     function u1() {
       return $(this, null, function* () {
-        if (!d.value) {
-          d.value = !0;
+        if (!c.value) {
+          c.value = !0;
           try {
             yield n1(Z()), window.$message.success(
               s.value === 0 ? e("验证码已发送,请注意查收短信") : e("验证码已发送,请注意查收邮件")
@@ -1004,30 +1004,30 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
           } catch (n) {
             window.$message.error((n == null ? void 0 : n.message) || e("验证码发送失败,请稍后重试"));
           } finally {
-            d.value = !1;
+            c.value = !1;
           }
         }
       });
     }
-    function d1() {
+    function c1() {
       return $(this, null, function* () {
-        if (!(M.value || d.value)) {
-          d.value = !0;
+        if (!(M.value || c.value)) {
+          c.value = !0;
           try {
             yield n1(Z()), window.$message.success(e("验证码已重新发送")), X();
           } catch (n) {
             window.$message.error((n == null ? void 0 : n.message) || e("验证码发送失败,请稍后重试"));
           } finally {
-            d.value = !1;
+            c.value = !1;
           }
         }
       });
     }
-    function c1() {
+    function d1() {
       return $(this, null, function* () {
         f.value = !0;
         try {
-          const n = yield $1(v.code, c.no);
+          const n = yield $1(v.code, d.no);
           D.value = (n == null ? void 0 : n.access_token) || "", r.value = 3;
         } catch (n) {
           window.$message.error((n == null ? void 0 : n.message) || e("验证码错误或已过期,请重新输入"));
@@ -1042,7 +1042,7 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
         try {
           yield j1(
             t1(m.password),
-            t1(c.no),
+            t1(d.no),
             v.code,
             D.value
           ), r.value = 4, window.$message.success(e("密码重置成功"));
@@ -1147,7 +1147,7 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                 r.value === 1 ? (w(), S(G, {
                   key: 1,
                   class: "forgot-form",
-                  model: c,
+                  model: d,
                   rules: R.value,
                   layout: "vertical",
                   onFinish: u1
@@ -1159,8 +1159,8 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                     }, {
                       default: o(() => [
                         l(H, {
-                          value: c.no,
-                          "onUpdate:value": p[1] || (p[1] = (F) => c.no = F),
+                          value: d.no,
+                          "onUpdate:value": p[1] || (p[1] = (F) => d.no = F),
                           size: "large",
                           placeholder: e("请输入账号"),
                           "allow-clear": ""
@@ -1180,8 +1180,8 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                     }, {
                       default: o(() => [
                         l(H, {
-                          value: c.mobile,
-                          "onUpdate:value": p[2] || (p[2] = (F) => c.mobile = F),
+                          value: d.mobile,
+                          "onUpdate:value": p[2] || (p[2] = (F) => d.mobile = F),
                           size: "large",
                           placeholder: e("请输入备案的手机号码"),
                           maxlength: 11,
@@ -1201,8 +1201,8 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                     }, {
                       default: o(() => [
                         l(H, {
-                          value: c.email,
-                          "onUpdate:value": p[3] || (p[3] = (F) => c.email = F),
+                          value: d.email,
+                          "onUpdate:value": p[3] || (p[3] = (F) => d.email = F),
                           size: "large",
                           placeholder: e("请输入备案的邮箱地址"),
                           "allow-clear": ""
@@ -1229,7 +1229,7 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                         type: "primary",
                         size: "large",
                         "html-type": "submit",
-                        loading: d.value
+                        loading: c.value
                       }, {
                         default: o(() => [
                           k(i(s.value === 0 ? e("发送短信验证码") : e("发送邮箱验证码")), 1)
@@ -1246,7 +1246,7 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                   model: v,
                   rules: y,
                   layout: "vertical",
-                  onFinish: c1
+                  onFinish: d1
                 }, {
                   default: o(() => [
                     l(Y, {
@@ -1288,8 +1288,8 @@ const M2 = { class: "forgot-page" }, f2 = { class: "main-wrap" }, k2 = {
                                   size: "large",
                                   block: "",
                                   disabled: M.value,
-                                  loading: d.value,
-                                  onClick: d1
+                                  loading: c.value,
+                                  onClick: c1
                                 }, {
                                   default: o(() => [
                                     k(i(M.value ? `${u.value} ${e("秒后重发")}` : e("重新发送")), 1)

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 83 - 0
lib/js/guide-doc.js


+ 33 - 33
lib/js/hasIn.js

@@ -1,5 +1,5 @@
-import { aX as o, bv as l, aQ as f, bw as h, bx as x, aE as O, by as m, bz as w, aM as T, bA as C, bB as v } from "./index2.js";
-function E(n, r) {
+import { aY as o, bw as l, aR as f, bx as h, by as x, aF as C, bz as m, bA as w, aN as O, bB as T, bC 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);
   return t;
@@ -9,16 +9,16 @@ function b(n) {
   if (typeof n == "string")
     return n;
   if (o(n))
-    return E(n, b) + "";
+    return v(n, b) + "";
   if (l(n))
     return d ? d.call(n) : "";
   var r = n + "";
   return r == "0" && 1 / n == -1 / 0 ? "-0" : r;
 }
-function I(n) {
+function E(n) {
   return n;
 }
-function M(n, r, e) {
+function A(n, r, e) {
   switch (e.length) {
     case 0:
       return n.call(r);
@@ -31,53 +31,53 @@ function M(n, r, e) {
   }
   return n.apply(r, e);
 }
-var A = 800, _ = 16, z = Date.now;
-function N(n) {
+var M = 800, N = 16, R = Date.now;
+function _(n) {
   var r = 0, e = 0;
   return function() {
-    var i = z(), t = _ - (i - e);
+    var i = R(), t = N - (i - e);
     if (e = i, t > 0) {
-      if (++r >= A)
+      if (++r >= M)
         return arguments[0];
     } else
       r = 0;
     return n.apply(void 0, arguments);
   };
 }
-function R(n) {
+function z(n) {
   return function() {
     return n;
   };
 }
-var $ = h ? function(n, r) {
+var F = h ? function(n, r) {
   return h(n, "toString", {
     configurable: !0,
     enumerable: !1,
-    value: R(r),
+    value: z(r),
     writable: !0
   });
-} : I, F = N($), H = Object.prototype, V = H.hasOwnProperty;
+} : E, $ = _(F), H = Object.prototype, V = H.hasOwnProperty;
 function en(n, r, e) {
   var i = n[r];
-  (!(V.call(n, r) && x(i, e)) || e === void 0 && !(r in n)) && O(n, r, e);
+  (!(V.call(n, r) && x(i, e)) || e === void 0 && !(r in n)) && C(n, r, e);
 }
 var g = Math.max;
-function X(n, r, e) {
+function D(n, r, e) {
   return r = g(r === void 0 ? n.length - 1 : r, 0), function() {
     for (var i = arguments, t = -1, a = g(i.length - r, 0), u = Array(a); ++t < a; )
       u[t] = i[r + t];
     t = -1;
     for (var s = Array(r + 1); ++t < r; )
       s[t] = i[t];
-    return s[r] = e(u), M(n, this, s);
+    return s[r] = e(u), A(n, this, s);
   };
 }
-var D = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, K = /^\w*$/;
-function U(n, r) {
+var K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, U = /^\w*$/;
+function X(n, r) {
   if (o(n))
     return !1;
   var e = typeof n;
-  return e == "number" || e == "symbol" || e == "boolean" || n == null || l(n) ? !0 : K.test(n) || !D.test(n) || r != null && n in Object(r);
+  return e == "number" || e == "symbol" || e == "boolean" || n == null || l(n) ? !0 : U.test(n) || !K.test(n) || r != null && n in Object(r);
 }
 var Z = "Expected a function";
 function c(n, r) {
@@ -100,7 +100,7 @@ function B(n) {
   }), e = r.cache;
   return r;
 }
-var G = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, L = /\\(\\)?/g, Q = B(function(n) {
+var G = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, L = /\\(\\)?/g, Y = B(function(n) {
   var r = [];
   return n.charCodeAt(0) === 46 && r.push(""), n.replace(G, function(e, i, t, a) {
     r.push(t ? a.replace(L, "$1") : i || e);
@@ -110,7 +110,7 @@ function J(n) {
   return n == null ? "" : b(n);
 }
 function S(n, r) {
-  return o(n) ? n : U(n, r) ? [n] : Q(J(n));
+  return o(n) ? n : X(n, r) ? [n] : Y(J(n));
 }
 function P(n) {
   if (typeof n == "string" || l(n))
@@ -125,23 +125,23 @@ function tn(n, r) {
   return e && e == i ? n : void 0;
 }
 var y = f ? f.isConcatSpreadable : void 0;
-function W(n) {
+function Q(n) {
   return o(n) || w(n) || !!(y && n && n[y]);
 }
-function Y(n, r, e, i, t) {
+function W(n, r, e, i, t) {
   var a = -1, u = n.length;
-  for (e || (e = W), t || (t = []); ++a < u; ) {
+  for (e || (e = Q), t || (t = []); ++a < u; ) {
     var s = n[a];
-    e(s) ? T(t, s) : t[t.length] = s;
+    e(s) ? O(t, s) : t[t.length] = s;
   }
   return t;
 }
 function k(n) {
   var r = n == null ? 0 : n.length;
-  return r ? Y(n) : [];
+  return r ? W(n) : [];
 }
 function an(n) {
-  return F(X(n, void 0, k), n + "");
+  return $(D(n, void 0, k), n + "");
 }
 function j(n, r) {
   return n != null && r in Object(n);
@@ -154,7 +154,7 @@ function nn(n, r, e) {
       break;
     n = n[u];
   }
-  return a || ++i != t ? a : (t = n == null ? 0 : n.length, !!t && C(t) && v(u, t) && (o(n) || w(n)));
+  return a || ++i != t ? a : (t = n == null ? 0 : n.length, !!t && T(t) && I(u, t) && (o(n) || w(n)));
 }
 function un(n, r) {
   return n != null && nn(n, r, j);
@@ -162,13 +162,13 @@ function un(n, r) {
 export {
   en as a,
   tn as b,
-  U as c,
-  E as d,
+  X as c,
+  v as d,
   S as e,
   an as f,
   un as h,
-  I as i,
-  X as o,
-  F as s,
+  E as i,
+  D as o,
+  $ as s,
   P as t
 };

+ 1 - 1
lib/js/index10.js

@@ -1,4 +1,4 @@
-import { bX as et, c as W, _ as V, bm as A, D as tt, w as Ae, d as v, K as ie, bn as F, bp as Q, bo as we, g as nt, bY as rt, T as at, r as Ve, bZ as We, b_ as je, b$ as lt, c0 as it, c1 as ot, c2 as st, c3 as He, c4 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, c5 as ht, c6 as bt, bS as Oe, c7 as Te, F as St, P as $e } from "./index2.js";
+import { bY as et, c as W, _ as V, bn as A, D as tt, w as Ae, d as v, K as ie, bo as F, bq as Q, bp as we, g as nt, bZ as rt, T as at, r as Ve, b_ as We, b$ as je, c0 as lt, c1 as it, c2 as ot, c3 as st, c4 as He, c5 as ut, V as dt, W as ct, X as ft, u as pt, Y as mt, Z as gt, a6 as Se, o as vt, c6 as ht, U as bt, bT as Oe, c7 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";

+ 11 - 11
lib/js/index12.js

@@ -1,4 +1,4 @@
-import { bo as T, bp as q, e as he, f as J, bn as Z, bm as z, h as M, cx as Q, d as f, _ as P, i as j, y as oe, g as re, m as se, r as le, cy as Se, u as ae, bd as ve, bU as ce, bf as be, cz as de, b as Ce, c as B, o as pe, P as x, cA as ye, bb as Ie, F as xe, t as we, cB as Pe, cC as De, l as Te } from "./index2.js";
+import { bp as T, bq as Q, e as he, f as J, bo as Z, bn as z, h as M, cx as q, d as f, _ as P, i as j, y as oe, g as re, m as se, r as le, cy as Se, u as ae, be as ve, bV as ce, bg as be, cz as de, b as Ce, c as B, o as pe, P as x, cA as ye, bc as Ie, F as xe, t as we, cB as Pe, cC 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 = () => ({
@@ -17,7 +17,7 @@ const Oe = ["normal", "exception", "active", "success"], F = () => ({
   success: he(),
   gapDegree: Number,
   gapPosition: T(),
-  size: q([String, Number, Array]),
+  size: Q([String, Number, Array]),
   steps: Number,
   /** @deprecated Use `success` instead */
   successPercent: Number,
@@ -54,7 +54,7 @@ function _e(e) {
   const {
     strokeColor: n
   } = t;
-  return [n || Q.green, i || null];
+  return [n || q.green, i || null];
 }
 const G = (e, t, i) => {
   var n, o, s, c;
@@ -98,8 +98,8 @@ const Ee = () => f(f({}, F()), {
   }).join(", ");
 }, Me = (e, t) => {
   const {
-    from: i = Q.blue,
-    to: n = Q.blue,
+    from: i = q.blue,
+    to: n = q.blue,
     direction: o = t === "rtl" ? "to left" : "to right"
   } = e, s = Ne(e, ["from", "to", "direction"]);
   if (Object.keys(s).length !== 0) {
@@ -411,9 +411,9 @@ const Fe = O({
   }
 }), Ue = () => f(f({}, F()), {
   steps: Number,
-  strokeColor: q(),
+  strokeColor: Q(),
   trailColor: String
-}), Qe = O({
+}), qe = O({
   compatConfig: {
     MODE: 3
   },
@@ -460,7 +460,7 @@ const Fe = O({
       }, [c.value, (l = i.default) === null || l === void 0 ? void 0 : l.call(i)]);
     };
   }
-}), qe = new Se("antProgressActive", {
+}), Qe = new Se("antProgressActive", {
   "0%": {
     transform: "translateX(-100%) scaleX(0)",
     opacity: 0.1
@@ -548,7 +548,7 @@ const Fe = O({
           backgroundColor: e.colorBgContainer,
           borderRadius: e.progressLineRadius,
           opacity: 0,
-          animationName: qe,
+          animationName: Qe,
           animationDuration: e.progressActiveMotionDuration,
           animationTimingFunction: e.motionEaseOutQuint,
           animationIterationCount: "infinite",
@@ -766,7 +766,7 @@ const nt = O({
         class: I
       } = n, b = it(n, ["class"]), y = d();
       let h;
-      return $ === "line" ? h = a ? p(Qe, P(P({}, e), {}, {
+      return $ === "line" ? h = a ? p(qe, P(P({}, e), {}, {
         strokeColor: S.value,
         prefixCls: o.value,
         steps: a
@@ -1970,7 +1970,7 @@ const R = (e, t) => {
   status: T(),
   size: T(),
   direction: T(),
-  progressDot: q([Boolean, Function]),
+  progressDot: Q([Boolean, Function]),
   type: T(),
   onChange: z(),
   "onUpdate:current": z()

+ 29 - 29
lib/js/index13.js

@@ -1,5 +1,5 @@
-import { aD as Xe, bB as ft, w as ge, c as le, K as J, d as T, P as we, H as D, cD as ht, cE as gt, cF as mt, cG as $t, cH as yt, bm as j, cI as he, R as Fe, _ as te, e as me, F as xt, cl as je, g as _t, m as St, r as tt, t as Ct, cJ as at, bO as Tt, o as wt, i as nt, E as Pt, bK as Rt, h as De, u as Et, bX as It, L as Ve, ak as Bt, bU as Lt, l as At, bo as xe, bn as Dt, bp as kt } from "./index2.js";
-import { shallowRef as H, onBeforeUnmount as Me, defineComponent as ae, ref as q, computed as W, createVNode as g, watchEffect as Ce, onMounted as Te, watch as ie, provide as Mt, inject as Nt, toRefs as Ot } from "vue";
+import { aE as Xe, bC as ft, w as ge, c as le, K as q, d as T, P as we, H as D, cD as ht, cE as gt, cF as mt, cG as $t, cH as yt, bn as j, cI as he, R as Fe, _ as te, e as me, F as xt, cl as je, g as _t, m as St, r as tt, t as Ct, cJ as at, bP as Tt, o as wt, i as nt, E as Pt, bL as Rt, h as De, u as Et, bY as It, L as Ve, al as Bt, bV as Lt, l as At, bp as xe, bo as Dt, bq as kt } from "./index2.js";
+import { shallowRef as H, onBeforeUnmount as Me, defineComponent as ae, ref as J, computed as W, 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 Ht } from "./useRefs.js";
 import { e as ot, t as Wt, a as zt, b as Kt, h as Gt, f as Xt } from "./hasIn.js";
 function Ft(e, t, a, i) {
@@ -105,7 +105,7 @@ const Zt = ae({
       expose: a,
       attrs: i
     } = t;
-    const o = q();
+    const o = J();
     function l(v) {
       var d;
       !((d = e.tab) === null || d === void 0) && d.disabled || e.onClick(v);
@@ -162,7 +162,7 @@ const Zt = ae({
           m.stopPropagation(), l(m);
         },
         onKeydown: (m) => {
-          [J.SPACE, J.ENTER].includes(m.which) && (m.preventDefault(), l(m));
+          [q.SPACE, q.ENTER].includes(m.which) && (m.preventDefault(), l(m));
         },
         onFocus: K
       }, [typeof c == "function" ? c() : c]), s.value && g("button", {
@@ -183,8 +183,8 @@ const Zt = ae({
   left: 0,
   top: 0
 };
-function Jt(e, t) {
-  const a = q(/* @__PURE__ */ new Map());
+function qt(e, t) {
+  const a = J(/* @__PURE__ */ new Map());
   return Ce(() => {
     var i, o;
     const l = /* @__PURE__ */ new Map(), n = e.value, s = t.value.get((i = n[0]) === null || i === void 0 ? void 0 : i.key) || Ye, v = s.left + s.width;
@@ -221,7 +221,7 @@ const lt = ae({
       expose: a,
       attrs: i
     } = t;
-    const o = q();
+    const o = J();
     return a({
       domRef: o
     }), () => {
@@ -244,7 +244,7 @@ const lt = ae({
       }, [n.addIcon ? n.addIcon() : "+"]);
     };
   }
-}), qt = {
+}), Jt = {
   prefixCls: {
     type: String
   },
@@ -289,7 +289,7 @@ const lt = ae({
   },
   name: "OperationNode",
   inheritAttrs: !1,
-  props: qt,
+  props: Jt,
   emits: ["tabClick"],
   slots: Object,
   setup(e, t) {
@@ -314,21 +314,21 @@ const lt = ae({
         which: y
       } = c;
       if (!o.value) {
-        [J.DOWN, J.SPACE, J.ENTER].includes(y) && (l(!0), c.preventDefault());
+        [q.DOWN, q.SPACE, q.ENTER].includes(y) && (l(!0), c.preventDefault());
         return;
       }
       switch (y) {
-        case J.UP:
+        case q.UP:
           v(-1), c.preventDefault();
           break;
-        case J.DOWN:
+        case q.DOWN:
           v(1), c.preventDefault();
           break;
-        case J.ESC:
+        case q.ESC:
           l(!1);
           break;
-        case J.SPACE:
-        case J.ENTER:
+        case q.SPACE:
+        case q.ENTER:
           n.value !== null && e.onTabClick(n.value, c);
           break;
       }
@@ -446,8 +446,8 @@ const lt = ae({
 }), rt = Symbol("tabsContextKey"), st = (e) => {
   Mt(rt, e);
 }, dt = () => Nt(rt, {
-  tabs: q([]),
-  prefixCls: q()
+  tabs: J([]),
+  prefixCls: J()
 });
 ae({
   compatConfig: {
@@ -477,7 +477,7 @@ ae({
 });
 const ea = 0.1, Ue = 0.01, _e = 20, Ze = Math.pow(0.995, _e);
 function ta(e, t) {
-  const [a, i] = D(), [o, l] = D(0), [n, s] = D(0), [v, d] = D(), p = q();
+  const [a, i] = D(), [o, l] = D(0), [n, s] = D(0), [v, d] = D(), p = J();
   function S(r) {
     const {
       screenX: m,
@@ -521,7 +521,7 @@ function ta(e, t) {
       }, _e);
     }
   }
-  const y = q();
+  const y = J();
   function x(r) {
     const {
       deltaX: m,
@@ -531,7 +531,7 @@ function ta(e, t) {
     const I = Math.abs(m), R = Math.abs(u);
     I === R ? $ = y.value === "x" ? m : u : I > R ? ($ = m, y.value = "x") : ($ = u, y.value = "y"), t(-$, -$) && r.preventDefault();
   }
-  const w = q({
+  const w = J({
     onTouchStart: S,
     onTouchMove: h,
     onTouchEnd: c,
@@ -564,15 +564,15 @@ function ta(e, t) {
     document.removeEventListener("touchmove", k), document.removeEventListener("touchend", K);
   });
 }
-function Je(e, t) {
-  const a = q(e);
+function qe(e, t) {
+  const a = J(e);
   function i(o) {
     const l = typeof o == "function" ? o(a.value) : o;
     l !== a.value && t(l, a.value), a.value = l;
   }
   return [a, i];
 }
-const qe = {
+const Je = {
   width: 0,
   height: 0,
   left: 0,
@@ -645,15 +645,15 @@ const qe = {
     const {
       tabs: o,
       prefixCls: l
-    } = dt(), n = H(), s = H(), v = H(), d = H(), [p, S] = Ht(), h = W(() => e.tabPosition === "top" || e.tabPosition === "bottom"), [c, y] = Je(0, (f, b) => {
+    } = dt(), n = H(), s = H(), v = H(), d = H(), [p, S] = Ht(), h = W(() => e.tabPosition === "top" || e.tabPosition === "bottom"), [c, y] = qe(0, (f, b) => {
       h.value && e.onTabScroll && e.onTabScroll({
         direction: f > b ? "left" : "right"
       });
-    }), [x, w] = Je(0, (f, b) => {
+    }), [x, w] = qe(0, (f, b) => {
       !h.value && e.onTabScroll && e.onTabScroll({
         direction: f > b ? "top" : "bottom"
       });
-    }), [C, k] = D(0), [K, M] = D(0), [r, m] = D(null), [u, $] = D(null), [I, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), E = Jt(o, se), Q = W(() => `${l.value}-nav-operations-hidden`), N = H(0), V = H(0);
+    }), [C, k] = D(0), [K, M] = D(0), [r, m] = D(null), [u, $] = D(null), [I, R] = D(0), [G, re] = D(0), [se, ce] = Ut(/* @__PURE__ */ new Map()), E = qt(o, se), Q = W(() => `${l.value}-nav-operations-hidden`), N = H(0), V = H(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) || Je;
         if (ee[b] + ee[f] > _ + O) {
           oe = X - 1;
           break;
@@ -717,7 +717,7 @@ const qe = {
       }
       let A = 0;
       for (let X = Z - 1; X >= 0; X -= 1)
-        if ((U.get(F[X].key) || qe)[b] < _) {
+        if ((U.get(F[X].key) || Je)[b] < _) {
           A = X + 1;
           break;
         }
@@ -2056,7 +2056,7 @@ const fa = ae({
       attrs: a,
       slots: i
     } = t;
-    const o = q(e.forceRender);
+    const o = J(e.forceRender);
     ie([() => e.active, () => e.destroyInactiveTabPane], () => {
       e.active ? o.value = !0 : e.destroyInactiveTabPane && (o.value = !1);
     }, {

+ 3 - 3
lib/js/index14.js

@@ -1,7 +1,7 @@
-import { g as L, m as O, d as P, r as R, cr as j, cs as U, u as z, c as F, _ as b, bq as X, ct as V, cu as q, cv as G, bU as J, P as B, cw as K } from "./index2.js";
+import { g as L, m as O, d as P, r as R, cr as j, cs as V, u as z, c as F, _ as b, br as X, ct as U, cu as q, cv as G, bV as J, P as B, cw as K } from "./index2.js";
 import { defineComponent as w, computed as m, createVNode as d, shallowRef as Q, watchEffect as Y, Fragment as Z } from "vue";
 const v = (e, c, l) => {
-  const r = U(l);
+  const r = V(l);
   return {
     [`${e.componentCls}-${c}`]: {
       color: e[`color${l}`],
@@ -226,7 +226,7 @@ const v = (e, c, l) => {
     });
     const a = (i) => {
       i.stopPropagation(), r("update:visible", !1), r("close", i), !i.defaultPrevented && e.visible === void 0 && (s.value = !1);
-    }, u = m(() => V(e.color) || q(e.color)), H = m(() => F(o.value, C.value, {
+    }, u = m(() => U(e.color) || q(e.color)), H = 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,

+ 249 - 174
lib/js/index16.js

@@ -1,200 +1,275 @@
-import { g as S, m as w, d as s, r as z, b as y, u as C, bO as M, _ as u } from "./index2.js";
-import { defineComponent as B, computed as d, createVNode as f } from "vue";
-const I = (t) => {
+import { g as j, m as M, d as p, r as O, u as A, _ as y, i as N, bo as U, dZ as $, f as B, bn as P, bq as _, o as L } from "./index2.js";
+import { createVNode as m, defineComponent as R, ref as D, onMounted as V, onUpdated as X, onBeforeUnmount as q } from "vue";
+import { S as Y } from "./index18.js";
+const z = (t) => {
   const {
-    componentCls: e,
-    sizePaddingEdgeHorizontal: o,
-    colorSplit: r,
-    lineWidth: i
+    value: n,
+    formatter: e,
+    precision: a,
+    decimalSeparator: s,
+    groupSeparator: u = "",
+    prefixCls: r
+  } = t;
+  let c;
+  if (typeof e == "function")
+    c = e({
+      value: n
+    });
+  else {
+    const i = String(n), f = i.match(/^(-?)(\d*)(\.(\d+))?$/);
+    if (!f)
+      c = i;
+    else {
+      const d = f[1];
+      let o = f[2] || "0", l = f[4] || "";
+      o = o.replace(/\B(?=(\d{3})+(?!\d))/g, u), typeof a == "number" && (l = l.padEnd(a, "0").slice(0, a > 0 ? a : 0)), l && (l = `${s}${l}`), c = [m("span", {
+        key: "int",
+        class: `${r}-content-value-int`
+      }, [d, o]), l && m("span", {
+        key: "decimal",
+        class: `${r}-content-value-decimal`
+      }, [l])];
+    }
+  }
+  return m("span", {
+    class: `${r}-content-value`
+  }, [c]);
+};
+z.displayName = "StatisticNumber";
+const Z = (t) => {
+  const {
+    componentCls: n,
+    marginXXS: e,
+    padding: a,
+    colorTextDescription: s,
+    statisticTitleFontSize: u,
+    colorTextHeading: r,
+    statisticContentFontSize: c,
+    statisticFontFamily: i
   } = t;
   return {
-    [e]: s(s({}, z(t)), {
-      borderBlockStart: `${i}px solid ${r}`,
-      // vertical
-      "&-vertical": {
-        position: "relative",
-        top: "-0.06em",
-        display: "inline-block",
-        height: "0.9em",
-        margin: `0 ${t.dividerVerticalGutterMargin}px`,
-        verticalAlign: "middle",
-        borderTop: 0,
-        borderInlineStart: `${i}px solid ${r}`
-      },
-      "&-horizontal": {
-        display: "flex",
-        clear: "both",
-        width: "100%",
-        minWidth: "100%",
-        margin: `${t.dividerHorizontalGutterMargin}px 0`
+    [`${n}`]: p(p({}, O(t)), {
+      [`${n}-title`]: {
+        marginBottom: e,
+        color: s,
+        fontSize: u
       },
-      [`&-horizontal${e}-with-text`]: {
-        display: "flex",
-        alignItems: "center",
-        margin: `${t.dividerHorizontalWithTextGutterMargin}px 0`,
-        color: t.colorTextHeading,
-        fontWeight: 500,
-        fontSize: t.fontSizeLG,
-        whiteSpace: "nowrap",
-        textAlign: "center",
-        borderBlockStart: `0 ${r}`,
-        "&::before, &::after": {
-          position: "relative",
-          width: "50%",
-          borderBlockStart: `${i}px solid transparent`,
-          // Chrome not accept `inherit` in `border-top`
-          borderBlockStartColor: "inherit",
-          borderBlockEnd: 0,
-          transform: "translateY(50%)",
-          content: "''"
-        }
+      [`${n}-skeleton`]: {
+        paddingTop: a
       },
-      [`&-horizontal${e}-with-text-left`]: {
-        "&::before": {
-          width: "5%"
+      [`${n}-content`]: {
+        color: r,
+        fontSize: c,
+        fontFamily: i,
+        [`${n}-content-value`]: {
+          display: "inline-block",
+          direction: "ltr"
         },
-        "&::after": {
-          width: "95%"
-        }
-      },
-      [`&-horizontal${e}-with-text-right`]: {
-        "&::before": {
-          width: "95%"
-        },
-        "&::after": {
-          width: "5%"
-        }
-      },
-      [`${e}-inner-text`]: {
-        display: "inline-block",
-        padding: "0 1em"
-      },
-      "&-dashed": {
-        background: "none",
-        borderColor: r,
-        borderStyle: "dashed",
-        borderWidth: `${i}px 0 0`
-      },
-      [`&-horizontal${e}-with-text${e}-dashed`]: {
-        "&::before, &::after": {
-          borderStyle: "dashed none none"
-        }
-      },
-      [`&-vertical${e}-dashed`]: {
-        borderInlineStartWidth: i,
-        borderInlineEnd: 0,
-        borderBlockStart: 0,
-        borderBlockEnd: 0
-      },
-      [`&-plain${e}-with-text`]: {
-        color: t.colorText,
-        fontWeight: "normal",
-        fontSize: t.fontSize
-      },
-      [`&-horizontal${e}-with-text-left${e}-no-default-orientation-margin-left`]: {
-        "&::before": {
-          width: 0
-        },
-        "&::after": {
-          width: "100%"
-        },
-        [`${e}-inner-text`]: {
-          paddingInlineStart: o
-        }
-      },
-      [`&-horizontal${e}-with-text-right${e}-no-default-orientation-margin-right`]: {
-        "&::before": {
-          width: "100%"
+        [`${n}-content-prefix, ${n}-content-suffix`]: {
+          display: "inline-block"
         },
-        "&::after": {
-          width: 0
+        [`${n}-content-prefix`]: {
+          marginInlineEnd: e
         },
-        [`${e}-inner-text`]: {
-          paddingInlineEnd: o
+        [`${n}-content-suffix`]: {
+          marginInlineStart: e
         }
       }
     })
   };
-}, _ = S("Divider", (t) => {
-  const e = w(t, {
-    dividerVerticalGutterMargin: t.marginXS,
-    dividerHorizontalWithTextGutterMargin: t.margin,
-    dividerHorizontalGutterMargin: t.marginLG
+}, G = j("Statistic", (t) => {
+  const {
+    fontSizeHeading3: n,
+    fontSize: e,
+    fontFamily: a
+  } = t, s = M(t, {
+    statisticTitleFontSize: e,
+    statisticContentFontSize: n,
+    statisticFontFamily: a
   });
-  return [I(e)];
-}, {
-  sizePaddingEdgeHorizontal: 0
-}), G = () => ({
+  return [Z(s)];
+}), E = () => ({
   prefixCls: String,
-  type: {
-    type: String,
-    default: "horizontal"
-  },
-  dashed: {
-    type: Boolean,
-    default: !1
-  },
-  orientation: {
-    type: String,
-    default: "center"
+  decimalSeparator: String,
+  groupSeparator: String,
+  format: String,
+  value: _([Number, String, Object]),
+  valueStyle: {
+    type: Object,
+    default: void 0
   },
-  plain: {
-    type: Boolean,
-    default: !1
-  },
-  orientationMargin: [String, Number]
-}), H = B({
-  name: "ADivider",
-  inheritAttrs: !1,
+  valueRender: P(),
+  formatter: B(),
+  precision: Number,
+  prefix: $(),
+  suffix: $(),
+  title: $(),
+  loading: U()
+}), v = R({
   compatConfig: {
     MODE: 3
   },
-  props: G(),
-  setup(t, e) {
+  name: "AStatistic",
+  inheritAttrs: !1,
+  props: N(E(), {
+    decimalSeparator: ".",
+    groupSeparator: ",",
+    loading: !1
+  }),
+  slots: Object,
+  setup(t, n) {
     let {
-      slots: o,
-      attrs: r
-    } = e;
+      slots: e,
+      attrs: a
+    } = n;
     const {
-      prefixCls: i,
-      direction: m
-    } = C("divider", t), [v, h] = _(i), g = d(() => t.orientation === "left" && t.orientationMargin != null), c = d(() => t.orientation === "right" && t.orientationMargin != null), $ = d(() => {
+      prefixCls: s,
+      direction: u
+    } = A("statistic", t), [r, c] = G(s);
+    return () => {
+      var i, f, d, o, l, g, S;
       const {
-        type: n,
-        dashed: l,
-        plain: b
-      } = t, a = i.value;
-      return {
-        [a]: !0,
-        [h.value]: !!h.value,
-        [`${a}-${n}`]: !0,
-        [`${a}-dashed`]: !!l,
-        [`${a}-plain`]: !!b,
-        [`${a}-rtl`]: m.value === "rtl",
-        [`${a}-no-default-orientation-margin-left`]: g.value,
-        [`${a}-no-default-orientation-margin-right`]: c.value
-      };
-    }), p = d(() => {
-      const n = typeof t.orientationMargin == "number" ? `${t.orientationMargin}px` : t.orientationMargin;
-      return s(s({}, g.value && {
-        marginLeft: n
-      }), c.value && {
-        marginRight: n
+        value: H = 0,
+        valueStyle: I,
+        valueRender: T
+      } = t, x = s.value, b = (i = t.title) !== null && i !== void 0 ? i : (f = e.title) === null || f === void 0 ? void 0 : f.call(e), h = (d = t.prefix) !== null && d !== void 0 ? d : (o = e.prefix) === null || o === void 0 ? void 0 : o.call(e), F = (l = t.suffix) !== null && l !== void 0 ? l : (g = e.suffix) === null || g === void 0 ? void 0 : g.call(e), k = (S = t.formatter) !== null && S !== void 0 ? S : e.formatter;
+      let C = m(z, y({
+        "data-for-update": Date.now()
+      }, p(p({}, t), {
+        prefixCls: x,
+        value: H,
+        formatter: k
+      })), null);
+      return T && (C = T(C)), r(m("div", y(y({}, a), {}, {
+        class: [x, {
+          [`${x}-rtl`]: u.value === "rtl"
+        }, a.class, c.value]
+      }), [b && m("div", {
+        class: `${x}-title`
+      }, [b]), m(Y, {
+        paragraph: !1,
+        loading: t.loading
+      }, {
+        default: () => [m("div", {
+          style: I,
+          class: `${x}-content`
+        }, [h && m("span", {
+          class: `${x}-content-prefix`
+        }, [h]), C, F && m("span", {
+          class: `${x}-content-suffix`
+        }, [F])])]
+      })]));
+    };
+  }
+}), J = [
+  ["Y", 1e3 * 60 * 60 * 24 * 365],
+  ["M", 1e3 * 60 * 60 * 24 * 30],
+  ["D", 1e3 * 60 * 60 * 24],
+  ["H", 1e3 * 60 * 60],
+  ["m", 1e3 * 60],
+  ["s", 1e3],
+  ["S", 1]
+  // million seconds
+];
+function K(t, n) {
+  let e = t;
+  const a = /\[[^\]]*]/g, s = (n.match(a) || []).map((i) => i.slice(1, -1)), u = n.replace(a, "[]"), r = J.reduce((i, f) => {
+    let [d, o] = f;
+    if (i.includes(d)) {
+      const l = Math.floor(e / o);
+      return e -= l * o, i.replace(new RegExp(`${d}+`, "g"), (g) => {
+        const S = g.length;
+        return l.toString().padStart(S, "0");
       });
-    }), x = d(() => t.orientation.length > 0 ? "-" + t.orientation : t.orientation);
-    return () => {
-      var n;
-      const l = M((n = o.default) === null || n === void 0 ? void 0 : n.call(o));
-      return v(f("div", u(u({}, r), {}, {
-        class: [$.value, l.length ? `${i.value}-with-text ${i.value}-with-text${x.value}` : "", r.class],
-        role: "separator"
-      }), [l.length ? f("span", {
-        class: `${i.value}-inner-text`,
-        style: p.value
-      }, [l]) : null]));
+    }
+    return i;
+  }, u);
+  let c = 0;
+  return r.replace(a, () => {
+    const i = s[c];
+    return c += 1, i;
+  });
+}
+function Q(t, n) {
+  const {
+    format: e = ""
+  } = n, a = new Date(t).getTime(), s = Date.now(), u = Math.max(a - s, 0);
+  return K(u, e);
+}
+const W = 1e3 / 30;
+function w(t) {
+  return new Date(t).getTime();
+}
+const tt = () => p(p({}, E()), {
+  value: _([Number, String, Object]),
+  format: String,
+  onFinish: Function,
+  onChange: Function
+}), et = R({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "AStatisticCountdown",
+  props: N(tt(), {
+    format: "HH:mm:ss"
+  }),
+  // emits: ['finish', 'change'],
+  setup(t, n) {
+    let {
+      emit: e,
+      slots: a
+    } = n;
+    const s = D(), u = D(), r = () => {
+      const {
+        value: o
+      } = t;
+      w(o) >= Date.now() ? c() : i();
+    }, c = () => {
+      if (s.value) return;
+      const o = w(t.value);
+      s.value = setInterval(() => {
+        u.value.$forceUpdate(), o > Date.now() && e("change", o - Date.now()), r();
+      }, W);
+    }, i = () => {
+      const {
+        value: o
+      } = t;
+      s.value && (clearInterval(s.value), s.value = void 0, w(o) < Date.now() && e("finish"));
+    }, f = (o) => {
+      let {
+        value: l,
+        config: g
+      } = o;
+      const {
+        format: S
+      } = t;
+      return Q(l, p(p({}, g), {
+        format: S
+      }));
+    }, d = (o) => o;
+    return V(() => {
+      r();
+    }), X(() => {
+      r();
+    }), q(() => {
+      i();
+    }), () => {
+      const o = t.value;
+      return m(v, y({
+        ref: u
+      }, p(p({}, L(t, ["onFinish", "onChange"])), {
+        value: o,
+        valueRender: d,
+        formatter: f
+      })), a);
     };
   }
-}), T = y(H);
+});
+v.Countdown = et;
+v.install = function(t) {
+  return t.component(v.name, v), t.component(v.Countdown.name, v.Countdown), t;
+};
+const it = v.Countdown;
 export {
-  T as _
+  it as S
 };

+ 1118 - 230
lib/js/index17.js

@@ -1,275 +1,1163 @@
-import { g as j, m as M, d as p, r as O, u as A, _ as y, i as N, bn as U, dZ as $, f as B, bm as P, bp as _, o as L } from "./index2.js";
-import { createVNode as m, defineComponent as R, ref as D, onMounted as V, onUpdated as X, onBeforeUnmount as Y } from "vue";
-import { S as Z } from "./index19.js";
-const z = (t) => {
+import { d as s, _ as B, K as V, dN as ze, dO as Se, bZ as Me, g as Ke, c as Te, ak as We, dP as Ue, dQ as Fe, u as we, w as ae, br as X, L as Ve, dd as se, dR as Xe, o as W, R as qe, y as ce, dS as Ee, dT as Qe, cz as Ze, dU as Ge, dV as Je } from "./index2.js";
+import { defineComponent as ie, shallowRef as Ye, onMounted as fe, createVNode as f, toRefs as et, reactive as Oe, watch as ue, ref as pe, createApp as tt, computed as oe, onBeforeUnmount as nt, nextTick as be, watchEffect as ot, Fragment as he, toRaw as it } from "vue";
+var lt = function(e, n) {
+  var o = {};
+  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
+  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
+    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
+  return o;
+};
+const rt = {
+  border: 0,
+  background: "transparent",
+  padding: 0,
+  lineHeight: "inherit",
+  display: "inline-block"
+}, ve = ie({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "TransButton",
+  inheritAttrs: !1,
+  props: {
+    noStyle: {
+      type: Boolean,
+      default: void 0
+    },
+    onClick: Function,
+    disabled: {
+      type: Boolean,
+      default: void 0
+    },
+    autofocus: {
+      type: Boolean,
+      default: void 0
+    }
+  },
+  setup(e, n) {
+    let {
+      slots: o,
+      emit: t,
+      attrs: i,
+      expose: d
+    } = n;
+    const a = Ye(), l = (v) => {
+      const {
+        keyCode: S
+      } = v;
+      S === V.ENTER && v.preventDefault();
+    }, m = (v) => {
+      const {
+        keyCode: S
+      } = v;
+      S === V.ENTER && t("click", v);
+    }, C = (v) => {
+      t("click", v);
+    }, y = () => {
+      a.value && a.value.focus();
+    }, _ = () => {
+      a.value && a.value.blur();
+    };
+    return fe(() => {
+      e.autofocus && y();
+    }), d({
+      focus: y,
+      blur: _
+    }), () => {
+      var v;
+      const {
+        noStyle: S,
+        disabled: I
+      } = e, N = lt(e, ["noStyle", "disabled"]);
+      let $ = {};
+      return S || ($ = s({}, rt)), I && ($.pointerEvents = "none"), f("div", B(B(B({
+        role: "button",
+        tabindex: 0,
+        ref: a
+      }, N), i), {}, {
+        onClick: C,
+        onKeydown: l,
+        onKeyup: m,
+        style: s(s({}, $), i.style || {})
+      }), [(v = o.default) === null || v === void 0 ? void 0 : v.call(o)]);
+    };
+  }
+}), at = (e, n, o, t) => {
   const {
-    value: n,
-    formatter: e,
-    precision: a,
-    decimalSeparator: s,
-    groupSeparator: u = "",
-    prefixCls: r
+    sizeMarginHeadingVerticalEnd: i,
+    fontWeightStrong: d
   } = t;
-  let c;
-  if (typeof e == "function")
-    c = e({
-      value: n
-    });
-  else {
-    const i = String(n), f = i.match(/^(-?)(\d*)(\.(\d+))?$/);
-    if (!f)
-      c = i;
-    else {
-      const d = f[1];
-      let o = f[2] || "0", l = f[4] || "";
-      o = o.replace(/\B(?=(\d{3})+(?!\d))/g, u), typeof a == "number" && (l = l.padEnd(a, "0").slice(0, a > 0 ? a : 0)), l && (l = `${s}${l}`), c = [m("span", {
-        key: "int",
-        class: `${r}-content-value-int`
-      }, [d, o]), l && m("span", {
-        key: "decimal",
-        class: `${r}-content-value-decimal`
-      }, [l])];
+  return {
+    marginBottom: i,
+    color: o,
+    fontWeight: d,
+    fontSize: e,
+    lineHeight: n
+  };
+}, st = (e) => {
+  const n = [1, 2, 3, 4, 5], o = {};
+  return n.forEach((t) => {
+    o[`
+      h${t}&,
+      div&-h${t},
+      div&-h${t} > textarea,
+      h${t}
+    `] = at(e[`fontSizeHeading${t}`], e[`lineHeightHeading${t}`], e.colorTextHeading, e);
+  }), o;
+}, ct = (e) => {
+  const {
+    componentCls: n
+  } = e;
+  return {
+    "a&, a": s(s({}, Se(e)), {
+      textDecoration: e.linkDecoration,
+      "&:active, &:hover": {
+        textDecoration: e.linkHoverDecoration
+      },
+      [`&[disabled], &${n}-disabled`]: {
+        color: e.colorTextDisabled,
+        cursor: "not-allowed",
+        "&:active, &:hover": {
+          color: e.colorTextDisabled
+        },
+        "&:active": {
+          pointerEvents: "none"
+        }
+      }
+    })
+  };
+}, dt = () => ({
+  code: {
+    margin: "0 0.2em",
+    paddingInline: "0.4em",
+    paddingBlock: "0.2em 0.1em",
+    fontSize: "85%",
+    background: "rgba(150, 150, 150, 0.1)",
+    border: "1px solid rgba(100, 100, 100, 0.2)",
+    borderRadius: 3
+  },
+  kbd: {
+    margin: "0 0.2em",
+    paddingInline: "0.4em",
+    paddingBlock: "0.15em 0.1em",
+    fontSize: "90%",
+    background: "rgba(150, 150, 150, 0.06)",
+    border: "1px solid rgba(100, 100, 100, 0.2)",
+    borderBottomWidth: 2,
+    borderRadius: 3
+  },
+  mark: {
+    padding: 0,
+    // FIXME hardcode in v4
+    backgroundColor: ze[2]
+  },
+  "u, ins": {
+    textDecoration: "underline",
+    textDecorationSkipInk: "auto"
+  },
+  "s, del": {
+    textDecoration: "line-through"
+  },
+  strong: {
+    fontWeight: 600
+  },
+  // list
+  "ul, ol": {
+    marginInline: 0,
+    marginBlock: "0 1em",
+    padding: 0,
+    li: {
+      marginInline: "20px 0",
+      marginBlock: 0,
+      paddingInline: "4px 0",
+      paddingBlock: 0
+    }
+  },
+  ul: {
+    listStyleType: "circle",
+    ul: {
+      listStyleType: "disc"
     }
+  },
+  ol: {
+    listStyleType: "decimal"
+  },
+  // pre & block
+  "pre, blockquote": {
+    margin: "1em 0"
+  },
+  pre: {
+    padding: "0.4em 0.6em",
+    whiteSpace: "pre-wrap",
+    wordWrap: "break-word",
+    background: "rgba(150, 150, 150, 0.1)",
+    border: "1px solid rgba(100, 100, 100, 0.2)",
+    borderRadius: 3,
+    // Compatible for marked
+    code: {
+      display: "inline",
+      margin: 0,
+      padding: 0,
+      fontSize: "inherit",
+      fontFamily: "inherit",
+      background: "transparent",
+      border: 0
+    }
+  },
+  blockquote: {
+    paddingInline: "0.6em 0",
+    paddingBlock: 0,
+    borderInlineStart: "4px solid rgba(100, 100, 100, 0.2)",
+    opacity: 0.85
   }
-  return m("span", {
-    class: `${r}-content-value`
-  }, [c]);
-};
-z.displayName = "StatisticNumber";
-const q = (t) => {
+}), ut = (e) => {
+  const {
+    componentCls: n
+  } = e, t = Me(e).inputPaddingVertical + 1;
+  return {
+    "&-edit-content": {
+      position: "relative",
+      "div&": {
+        insetInlineStart: -e.paddingSM,
+        marginTop: -t,
+        marginBottom: `calc(1em - ${t}px)`
+      },
+      [`${n}-edit-content-confirm`]: {
+        position: "absolute",
+        insetInlineEnd: e.marginXS + 2,
+        insetBlockEnd: e.marginXS,
+        color: e.colorTextDescription,
+        // default style
+        fontWeight: "normal",
+        fontSize: e.fontSize,
+        fontStyle: "normal",
+        pointerEvents: "none"
+      },
+      textarea: {
+        margin: "0!important",
+        // Fix Editable Textarea flash in Firefox
+        MozTransition: "none",
+        height: "1em"
+      }
+    }
+  };
+}, pt = (e) => ({
+  "&-copy-success": {
+    "\n    &,\n    &:hover,\n    &:focus": {
+      color: e.colorSuccess
+    }
+  }
+}), ft = () => ({
+  "\n  a&-ellipsis,\n  span&-ellipsis\n  ": {
+    display: "inline-block",
+    maxWidth: "100%"
+  },
+  "&-single-line": {
+    whiteSpace: "nowrap"
+  },
+  "&-ellipsis-single-line": {
+    overflow: "hidden",
+    textOverflow: "ellipsis",
+    // https://blog.csdn.net/iefreer/article/details/50421025
+    "a&, span&": {
+      verticalAlign: "bottom"
+    }
+  },
+  "&-ellipsis-multiple-line": {
+    display: "-webkit-box",
+    overflow: "hidden",
+    WebkitLineClamp: 3,
+    WebkitBoxOrient: "vertical"
+  }
+}), yt = (e) => {
   const {
     componentCls: n,
-    marginXXS: e,
-    padding: a,
-    colorTextDescription: s,
-    statisticTitleFontSize: u,
-    colorTextHeading: r,
-    statisticContentFontSize: c,
-    statisticFontFamily: i
-  } = t;
+    sizeMarginHeadingVerticalStart: o
+  } = e;
   return {
-    [`${n}`]: p(p({}, O(t)), {
-      [`${n}-title`]: {
-        marginBottom: e,
-        color: s,
-        fontSize: u
+    [n]: s(s(s(s(s(s(s(s(s({
+      color: e.colorText,
+      wordBreak: "break-word",
+      lineHeight: e.lineHeight,
+      [`&${n}-secondary`]: {
+        color: e.colorTextDescription
       },
-      [`${n}-skeleton`]: {
-        paddingTop: a
+      [`&${n}-success`]: {
+        color: e.colorSuccess
       },
-      [`${n}-content`]: {
-        color: r,
-        fontSize: c,
-        fontFamily: i,
-        [`${n}-content-value`]: {
-          display: "inline-block",
-          direction: "ltr"
-        },
-        [`${n}-content-prefix, ${n}-content-suffix`]: {
-          display: "inline-block"
-        },
-        [`${n}-content-prefix`]: {
-          marginInlineEnd: e
+      [`&${n}-warning`]: {
+        color: e.colorWarning
+      },
+      [`&${n}-danger`]: {
+        color: e.colorError,
+        "a&:active, a&:focus": {
+          color: e.colorErrorActive
         },
-        [`${n}-content-suffix`]: {
-          marginInlineStart: e
+        "a&:hover": {
+          color: e.colorErrorHover
+        }
+      },
+      [`&${n}-disabled`]: {
+        color: e.colorTextDisabled,
+        cursor: "not-allowed",
+        userSelect: "none"
+      },
+      "\n        div&,\n        p\n      ": {
+        marginBottom: "1em"
+      }
+    }, st(e)), {
+      [`
+      & + h1${n},
+      & + h2${n},
+      & + h3${n},
+      & + h4${n},
+      & + h5${n}
+      `]: {
+        marginTop: o
+      },
+      "\n      div,\n      ul,\n      li,\n      p,\n      h1,\n      h2,\n      h3,\n      h4,\n      h5": {
+        "\n        + h1,\n        + h2,\n        + h3,\n        + h4,\n        + h5\n        ": {
+          marginTop: o
         }
       }
+    }), dt()), ct(e)), {
+      // Operation
+      [`
+        ${n}-expand,
+        ${n}-edit,
+        ${n}-copy
+      `]: s(s({}, Se(e)), {
+        marginInlineStart: e.marginXXS
+      })
+    }), ut(e)), pt(e)), ft()), {
+      "&-rtl": {
+        direction: "rtl"
+      }
     })
   };
-}, G = j("Statistic", (t) => {
-  const {
-    fontSizeHeading3: n,
-    fontSize: e,
-    fontFamily: a
-  } = t, s = M(t, {
-    statisticTitleFontSize: e,
-    statisticContentFontSize: n,
-    statisticFontFamily: a
-  });
-  return [q(s)];
-}), E = () => ({
+}, ke = Ke("Typography", (e) => [yt(e)], {
+  sizeMarginHeadingVerticalStart: "1.2em",
+  sizeMarginHeadingVerticalEnd: "0.5em"
+}), gt = () => ({
   prefixCls: String,
-  decimalSeparator: String,
-  groupSeparator: String,
-  format: String,
-  value: _([Number, String, Object]),
-  valueStyle: {
-    type: Object,
-    default: void 0
+  value: String,
+  maxlength: Number,
+  autoSize: {
+    type: [Boolean, Object]
   },
-  valueRender: P(),
-  formatter: B(),
-  precision: Number,
-  prefix: $(),
-  suffix: $(),
-  title: $(),
-  loading: U()
-}), v = R({
+  onSave: Function,
+  onCancel: Function,
+  onEnd: Function,
+  onChange: Function,
+  originContent: String,
+  direction: String,
+  component: String
+}), mt = ie({
   compatConfig: {
     MODE: 3
   },
-  name: "AStatistic",
+  name: "Editable",
   inheritAttrs: !1,
-  props: N(E(), {
-    decimalSeparator: ".",
-    groupSeparator: ",",
-    loading: !1
-  }),
-  slots: Object,
-  setup(t, n) {
+  props: gt(),
+  // emits: ['save', 'cancel', 'end', 'change'],
+  setup(e, n) {
     let {
-      slots: e,
-      attrs: a
+      emit: o,
+      slots: t,
+      attrs: i
     } = n;
     const {
-      prefixCls: s,
-      direction: u
-    } = A("statistic", t), [r, c] = G(s);
-    return () => {
-      var i, f, d, o, l, g, S;
+      prefixCls: d
+    } = et(e), a = Oe({
+      current: e.value || "",
+      lastKeyCode: void 0,
+      inComposition: !1,
+      cancelFlag: !1
+    });
+    ue(() => e.value, (g) => {
+      a.current = g;
+    });
+    const l = pe();
+    fe(() => {
+      var g;
+      if (l.value) {
+        const u = (g = l.value) === null || g === void 0 ? void 0 : g.resizableTextArea, h = u == null ? void 0 : u.textArea;
+        h.focus();
+        const {
+          length: b
+        } = h.value;
+        h.setSelectionRange(b, b);
+      }
+    });
+    function m(g) {
+      l.value = g;
+    }
+    function C(g) {
+      let {
+        target: {
+          value: u
+        }
+      } = g;
+      a.current = u.replace(/[\r\n]/g, ""), o("change", a.current);
+    }
+    function y() {
+      a.inComposition = !0;
+    }
+    function _() {
+      a.inComposition = !1;
+    }
+    function v(g) {
       const {
-        value: H = 0,
-        valueStyle: I,
-        valueRender: T
-      } = t, x = s.value, b = (i = t.title) !== null && i !== void 0 ? i : (f = e.title) === null || f === void 0 ? void 0 : f.call(e), h = (d = t.prefix) !== null && d !== void 0 ? d : (o = e.prefix) === null || o === void 0 ? void 0 : o.call(e), F = (l = t.suffix) !== null && l !== void 0 ? l : (g = e.suffix) === null || g === void 0 ? void 0 : g.call(e), k = (S = t.formatter) !== null && S !== void 0 ? S : e.formatter;
-      let C = m(z, y({
-        "data-for-update": Date.now()
-      }, p(p({}, t), {
-        prefixCls: x,
-        value: H,
-        formatter: k
-      })), null);
-      return T && (C = T(C)), r(m("div", y(y({}, a), {}, {
-        class: [x, {
-          [`${x}-rtl`]: u.value === "rtl"
-        }, a.class, c.value]
-      }), [b && m("div", {
-        class: `${x}-title`
-      }, [b]), m(Z, {
-        paragraph: !1,
-        loading: t.loading
-      }, {
-        default: () => [m("div", {
-          style: I,
-          class: `${x}-content`
-        }, [h && m("span", {
-          class: `${x}-content-prefix`
-        }, [h]), C, F && m("span", {
-          class: `${x}-content-suffix`
-        }, [F])])]
-      })]));
+        keyCode: u
+      } = g;
+      u === V.ENTER && g.preventDefault(), !a.inComposition && (a.lastKeyCode = u);
+    }
+    function S(g) {
+      const {
+        keyCode: u,
+        ctrlKey: h,
+        altKey: b,
+        metaKey: O,
+        shiftKey: H
+      } = g;
+      a.lastKeyCode === u && !a.inComposition && !h && !b && !O && !H && (u === V.ENTER ? (N(), o("end")) : u === V.ESC && (a.current = e.originContent, o("cancel")));
+    }
+    function I() {
+      N();
+    }
+    function N() {
+      o("save", a.current.trim());
+    }
+    const [$, R] = ke(d);
+    return () => {
+      const g = Te({
+        [`${d.value}`]: !0,
+        [`${d.value}-edit-content`]: !0,
+        [`${d.value}-rtl`]: e.direction === "rtl",
+        [e.component ? `${d.value}-${e.component}` : ""]: !0
+      }, i.class, R.value);
+      return $(f("div", B(B({}, i), {}, {
+        class: g
+      }), [f(We, {
+        ref: m,
+        maxlength: e.maxlength,
+        value: a.current,
+        onChange: C,
+        onKeydown: v,
+        onKeyup: S,
+        onCompositionstart: y,
+        onCompositionend: _,
+        onBlur: I,
+        rows: 1,
+        autoSize: e.autoSize === void 0 || e.autoSize
+      }, null), t.enterIcon ? t.enterIcon({
+        className: `${e.prefixCls}-edit-content-confirm`
+      }) : f(Ue, {
+        class: `${e.prefixCls}-edit-content-confirm`
+      }, null)]));
     };
   }
-}), J = [
-  ["Y", 1e3 * 60 * 60 * 24 * 365],
-  ["M", 1e3 * 60 * 60 * 24 * 30],
-  ["D", 1e3 * 60 * 60 * 24],
-  ["H", 1e3 * 60 * 60],
-  ["m", 1e3 * 60],
-  ["s", 1e3],
-  ["S", 1]
-  // million seconds
-];
-function K(t, n) {
-  let e = t;
-  const a = /\[[^\]]*]/g, s = (n.match(a) || []).map((i) => i.slice(1, -1)), u = n.replace(a, "[]"), r = J.reduce((i, f) => {
-    let [d, o] = f;
-    if (i.includes(d)) {
-      const l = Math.floor(e / o);
-      return e -= l * o, i.replace(new RegExp(`${d}+`, "g"), (g) => {
-        const S = g.length;
-        return l.toString().padStart(S, "0");
-      });
-    }
-    return i;
-  }, u);
-  let c = 0;
-  return r.replace(a, () => {
-    const i = s[c];
-    return c += 1, i;
-  });
+}), bt = 3, ht = 8;
+let w;
+const de = {
+  padding: 0,
+  margin: 0,
+  display: "inline",
+  lineHeight: "inherit"
+};
+function _e(e, n) {
+  e.setAttribute("aria-hidden", "true");
+  const o = window.getComputedStyle(n), t = Fe(o);
+  e.setAttribute("style", t), e.style.position = "fixed", e.style.left = "0", e.style.height = "auto", e.style.minHeight = "auto", e.style.maxHeight = "auto", e.style.paddingTop = "0", e.style.paddingBottom = "0", e.style.borderTopWidth = "0", e.style.borderBottomWidth = "0", e.style.top = "-999999px", e.style.zIndex = "-1000", e.style.textOverflow = "clip", e.style.whiteSpace = "normal", e.style.webkitLineClamp = "none";
+}
+function vt(e) {
+  const n = document.createElement("div");
+  _e(n, e), n.appendChild(document.createTextNode("text")), document.body.appendChild(n);
+  const o = n.getBoundingClientRect().height;
+  return document.body.removeChild(n), o;
 }
-function Q(t, n) {
+const xt = (e, n, o, t, i) => {
+  w || (w = document.createElement("div"), w.setAttribute("aria-hidden", "true"), document.body.appendChild(w));
   const {
-    format: e = ""
-  } = n, a = new Date(t).getTime(), s = Date.now(), u = Math.max(a - s, 0);
-  return K(u, e);
+    rows: d,
+    suffix: a = ""
+  } = n, l = vt(e), m = Math.round(l * d * 100) / 100;
+  _e(w, e);
+  const C = tt({
+    render() {
+      return f("div", {
+        style: de
+      }, [f("span", {
+        style: de
+      }, [o, a]), f("span", {
+        style: de
+      }, [t])]);
+    }
+  });
+  C.mount(w);
+  function y() {
+    return Math.round(w.getBoundingClientRect().height * 100) / 100 - 0.1 <= m;
+  }
+  if (y())
+    return C.unmount(), {
+      content: o,
+      text: w.innerHTML,
+      ellipsis: !1
+    };
+  const _ = Array.prototype.slice.apply(w.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((u) => {
+    let {
+      nodeType: h,
+      data: b
+    } = u;
+    return h !== ht && b !== "";
+  }), v = Array.prototype.slice.apply(w.childNodes[0].childNodes[1].cloneNode(!0).childNodes);
+  C.unmount();
+  const S = [];
+  w.innerHTML = "";
+  const I = document.createElement("span");
+  w.appendChild(I);
+  const N = document.createTextNode(i + a);
+  I.appendChild(N), v.forEach((u) => {
+    w.appendChild(u);
+  });
+  function $(u) {
+    I.insertBefore(u, N);
+  }
+  function R(u, h) {
+    let b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, O = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : h.length, H = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
+    const A = Math.floor((b + O) / 2), le = h.slice(0, A);
+    if (u.textContent = le, b >= O - 1)
+      for (let L = O; L >= b; L -= 1) {
+        const U = h.slice(0, L);
+        if (u.textContent = U, y() || !U)
+          return L === h.length ? {
+            finished: !1,
+            vNode: h
+          } : {
+            finished: !0,
+            vNode: U
+          };
+      }
+    return y() ? R(u, h, A, O, A) : R(u, h, b, A, H);
+  }
+  function g(u) {
+    if (u.nodeType === bt) {
+      const b = u.textContent || "", O = document.createTextNode(b);
+      return $(O), R(O, b);
+    }
+    return {
+      finished: !1,
+      vNode: null
+    };
+  }
+  return _.some((u) => {
+    const {
+      finished: h,
+      vNode: b
+    } = g(u);
+    return b && S.push(b), h;
+  }), {
+    content: S,
+    text: w.innerHTML,
+    ellipsis: !0
+  };
+};
+var Ct = function(e, n) {
+  var o = {};
+  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
+  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
+    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
+  return o;
+};
+const St = () => ({
+  prefixCls: String,
+  direction: String,
+  // Form Internal use
+  component: String
+}), E = ie({
+  name: "ATypography",
+  inheritAttrs: !1,
+  props: St(),
+  setup(e, n) {
+    let {
+      slots: o,
+      attrs: t
+    } = n;
+    const {
+      prefixCls: i,
+      direction: d
+    } = we("typography", e), [a, l] = ke(i);
+    return () => {
+      var m;
+      const C = s(s({}, e), t), {
+        prefixCls: y,
+        direction: _,
+        component: v = "article"
+      } = C, S = Ct(C, ["prefixCls", "direction", "component"]);
+      return a(f(v, B(B({}, S), {}, {
+        class: Te(i.value, {
+          [`${i.value}-rtl`]: d.value === "rtl"
+        }, t.class, l.value)
+      }), {
+        default: () => [(m = o.default) === null || m === void 0 ? void 0 : m.call(o)]
+      }));
+    };
+  }
+}), Tt = () => {
+  const e = document.getSelection();
+  if (!e.rangeCount)
+    return function() {
+    };
+  let n = document.activeElement;
+  const o = [];
+  for (let t = 0; t < e.rangeCount; t++)
+    o.push(e.getRangeAt(t));
+  switch (n.tagName.toUpperCase()) {
+    case "INPUT":
+    case "TEXTAREA":
+      n.blur();
+      break;
+    default:
+      n = null;
+      break;
+  }
+  return e.removeAllRanges(), function() {
+    e.type === "Caret" && e.removeAllRanges(), e.rangeCount || o.forEach(function(t) {
+      e.addRange(t);
+    }), n && n.focus();
+  };
+}, xe = {
+  "text/plain": "Text",
+  "text/html": "Url",
+  default: "Text"
+}, wt = "Copy to clipboard: #{key}, Enter";
+function Et(e) {
+  const n = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
+  return e.replace(/#{\s*key\s*}/g, n);
 }
-const W = 1e3 / 30;
-function w(t) {
-  return new Date(t).getTime();
+function Ot(e, n) {
+  let o, t, i, d, a, l = !1;
+  n || (n = {});
+  const m = n.debug || !1;
+  try {
+    if (t = Tt(), i = document.createRange(), d = document.getSelection(), a = document.createElement("span"), a.textContent = e, a.style.all = "unset", a.style.position = "fixed", a.style.top = 0, a.style.clip = "rect(0, 0, 0, 0)", a.style.whiteSpace = "pre", a.style.webkitUserSelect = "text", a.style.MozUserSelect = "text", a.style.msUserSelect = "text", a.style.userSelect = "text", a.addEventListener("copy", function(y) {
+      if (y.stopPropagation(), n.format)
+        if (y.preventDefault(), typeof y.clipboardData == "undefined") {
+          m && console.warn("unable to use e.clipboardData"), m && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
+          const _ = xe[n.format] || xe.default;
+          window.clipboardData.setData(_, e);
+        } else
+          y.clipboardData.clearData(), y.clipboardData.setData(n.format, e);
+      n.onCopy && (y.preventDefault(), n.onCopy(y.clipboardData));
+    }), document.body.appendChild(a), i.selectNodeContents(a), d.addRange(i), !document.execCommand("copy"))
+      throw new Error("copy command was unsuccessful");
+    l = !0;
+  } catch (C) {
+    m && console.error("unable to copy using execCommand: ", C), m && console.warn("trying IE specific stuff");
+    try {
+      window.clipboardData.setData(n.format || "text", e), n.onCopy && n.onCopy(window.clipboardData), l = !0;
+    } catch (y) {
+      m && console.error("unable to copy using clipboardData: ", y), m && console.error("falling back to prompt"), o = Et("message" in n ? n.message : wt), window.prompt(o, e);
+    }
+  } finally {
+    d && (typeof d.removeRange == "function" ? d.removeRange(i) : d.removeAllRanges()), a && document.body.removeChild(a), t();
+  }
+  return l;
 }
-const tt = () => p(p({}, E()), {
-  value: _([Number, String, Object]),
-  format: String,
-  onFinish: Function,
-  onChange: Function
-}), et = R({
+var kt = function(e, n) {
+  var o = {};
+  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
+  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
+    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
+  return o;
+};
+const _t = Ee("webkitLineClamp"), Nt = Ee("textOverflow"), Ce = "...", q = () => ({
+  editable: {
+    type: [Boolean, Object],
+    default: void 0
+  },
+  copyable: {
+    type: [Boolean, Object],
+    default: void 0
+  },
+  prefixCls: String,
+  component: String,
+  type: String,
+  disabled: {
+    type: Boolean,
+    default: void 0
+  },
+  ellipsis: {
+    type: [Boolean, Object],
+    default: void 0
+  },
+  code: {
+    type: Boolean,
+    default: void 0
+  },
+  mark: {
+    type: Boolean,
+    default: void 0
+  },
+  underline: {
+    type: Boolean,
+    default: void 0
+  },
+  delete: {
+    type: Boolean,
+    default: void 0
+  },
+  strong: {
+    type: Boolean,
+    default: void 0
+  },
+  keyboard: {
+    type: Boolean,
+    default: void 0
+  },
+  content: String,
+  "onUpdate:content": Function
+}), Q = ie({
   compatConfig: {
     MODE: 3
   },
-  name: "AStatisticCountdown",
-  props: N(tt(), {
-    format: "HH:mm:ss"
-  }),
-  // emits: ['finish', 'change'],
-  setup(t, n) {
+  name: "TypographyBase",
+  inheritAttrs: !1,
+  props: q(),
+  // emits: ['update:content'],
+  setup(e, n) {
     let {
-      emit: e,
-      slots: a
+      slots: o,
+      attrs: t,
+      emit: i
     } = n;
-    const s = D(), u = D(), r = () => {
+    const {
+      prefixCls: d,
+      direction: a
+    } = we("typography", e), l = Oe({
+      copied: !1,
+      ellipsisText: "",
+      ellipsisContent: null,
+      isEllipsis: !1,
+      expanded: !1,
+      clientRendered: !1,
+      //locale
+      expandStr: "",
+      copyStr: "",
+      copiedStr: "",
+      editStr: "",
+      copyId: void 0,
+      rafId: void 0,
+      prevProps: void 0,
+      originContent: ""
+    }), m = pe(), C = pe(), y = oe(() => {
+      const r = e.ellipsis;
+      return r ? s({
+        rows: 1,
+        expandable: !1
+      }, typeof r == "object" ? r : null) : {};
+    });
+    fe(() => {
+      l.clientRendered = !0, A();
+    }), nt(() => {
+      clearTimeout(l.copyId), ae.cancel(l.rafId);
+    }), ue([() => y.value.rows, () => e.content], () => {
+      be(() => {
+        O();
+      });
+    }, {
+      flush: "post",
+      deep: !0
+    }), ot(() => {
+      e.content === void 0 && (X(!e.editable, "Typography", "When `editable` is enabled, please use `content` instead of children"), X(!e.ellipsis, "Typography", "When `ellipsis` is enabled, please use `content` instead of children"));
+    });
+    function _() {
+      var r;
+      return e.ellipsis || e.editable ? e.content : (r = se(m.value)) === null || r === void 0 ? void 0 : r.innerText;
+    }
+    function v(r) {
       const {
-        value: o
-      } = t;
-      w(o) >= Date.now() ? c() : i();
-    }, c = () => {
-      if (s.value) return;
-      const o = w(t.value);
-      s.value = setInterval(() => {
-        u.value.$forceUpdate(), o > Date.now() && e("change", o - Date.now()), r();
-      }, W);
-    }, i = () => {
+        onExpand: c
+      } = y.value;
+      l.expanded = !0, c == null || c(r);
+    }
+    function S(r) {
+      r.preventDefault(), l.originContent = e.content, b(!0);
+    }
+    function I(r) {
+      N(r), b(!1);
+    }
+    function N(r) {
+      const {
+        onChange: c
+      } = g.value;
+      r !== e.content && (i("update:content", r), c == null || c(r));
+    }
+    function $() {
+      var r, c;
+      (c = (r = g.value).onCancel) === null || c === void 0 || c.call(r), b(!1);
+    }
+    function R(r) {
+      r.preventDefault(), r.stopPropagation();
       const {
-        value: o
-      } = t;
-      s.value && (clearInterval(s.value), s.value = void 0, w(o) < Date.now() && e("finish"));
-    }, f = (o) => {
+        copyable: c
+      } = e, p = s({}, typeof c == "object" ? c : null);
+      p.text === void 0 && (p.text = _()), Ot(p.text || ""), l.copied = !0, be(() => {
+        p.onCopy && p.onCopy(r), l.copyId = setTimeout(() => {
+          l.copied = !1;
+        }, 3e3);
+      });
+    }
+    const g = oe(() => {
+      const r = e.editable;
+      return r ? s({}, typeof r == "object" ? r : null) : {
+        editing: !1
+      };
+    }), [u, h] = Ve(!1, {
+      value: oe(() => g.value.editing)
+    });
+    function b(r) {
+      const {
+        onStart: c
+      } = g.value;
+      r && c && c(), h(r);
+    }
+    ue(u, (r) => {
+      var c;
+      r || (c = C.value) === null || c === void 0 || c.focus();
+    }, {
+      flush: "post"
+    });
+    function O(r) {
+      if (r) {
+        const {
+          width: c,
+          height: p
+        } = r;
+        if (!c || !p) return;
+      }
+      ae.cancel(l.rafId), l.rafId = ae(() => {
+        A();
+      });
+    }
+    const H = oe(() => {
+      const {
+        rows: r,
+        expandable: c,
+        suffix: p,
+        onEllipsis: x,
+        tooltip: T
+      } = y.value;
+      return p || T || e.editable || e.copyable || c || x ? !1 : r === 1 ? Nt : _t;
+    }), A = () => {
+      const {
+        ellipsisText: r,
+        isEllipsis: c
+      } = l, {
+        rows: p,
+        suffix: x,
+        onEllipsis: T
+      } = y.value;
+      if (!p || p < 0 || !se(m.value) || l.expanded || e.content === void 0 || H.value) return;
+      const {
+        content: P,
+        text: z,
+        ellipsis: j
+      } = xt(se(m.value), {
+        rows: p,
+        suffix: x
+      }, e.content, ye(!0), Ce);
+      (r !== z || l.isEllipsis !== j) && (l.ellipsisText = z, l.ellipsisContent = P, l.isEllipsis = j, c !== j && T && T(j));
+    };
+    function le(r, c) {
       let {
-        value: l,
-        config: g
-      } = o;
+        mark: p,
+        code: x,
+        underline: T,
+        delete: P,
+        strong: z,
+        keyboard: j
+      } = r, F = c;
+      function D(ee, k) {
+        if (!ee) return;
+        const te = /* @__PURE__ */ function() {
+          return F;
+        }();
+        F = f(k, null, {
+          default: () => [te]
+        });
+      }
+      return D(z, "strong"), D(T, "u"), D(P, "del"), D(x, "code"), D(p, "mark"), D(j, "kbd"), F;
+    }
+    function L(r) {
       const {
-        format: S
-      } = t;
-      return Q(l, p(p({}, g), {
-        format: S
-      }));
-    }, d = (o) => o;
-    return V(() => {
-      r();
-    }), X(() => {
-      r();
-    }), Y(() => {
-      i();
-    }), () => {
-      const o = t.value;
-      return m(v, y({
-        ref: u
-      }, p(p({}, L(t, ["onFinish", "onChange"])), {
-        value: o,
-        valueRender: d,
-        formatter: f
-      })), a);
+        expandable: c,
+        symbol: p
+      } = y.value;
+      if (!c || !r && (l.expanded || !l.isEllipsis)) return null;
+      const x = (o.ellipsisSymbol ? o.ellipsisSymbol() : p) || l.expandStr;
+      return f("a", {
+        key: "expand",
+        class: `${d.value}-expand`,
+        onClick: v,
+        "aria-label": l.expandStr
+      }, [x]);
+    }
+    function U() {
+      if (!e.editable) return;
+      const {
+        tooltip: r,
+        triggerType: c = ["icon"]
+      } = e.editable, p = o.editableIcon ? o.editableIcon() : f(Qe, {
+        role: "button"
+      }, null), x = o.editableTooltip ? o.editableTooltip() : l.editStr, T = typeof x == "string" ? x : "";
+      return c.indexOf("icon") !== -1 ? f(ce, {
+        key: "edit",
+        title: r === !1 ? "" : x
+      }, {
+        default: () => [f(ve, {
+          ref: C,
+          class: `${d.value}-edit`,
+          onClick: S,
+          "aria-label": T
+        }, {
+          default: () => [p]
+        })]
+      }) : null;
+    }
+    function Ne() {
+      if (!e.copyable) return;
+      const {
+        tooltip: r
+      } = e.copyable, c = l.copied ? l.copiedStr : l.copyStr, p = o.copyableTooltip ? o.copyableTooltip({
+        copied: l.copied
+      }) : c, x = typeof p == "string" ? p : "", T = l.copied ? f(Ze, null, null) : f(Ge, null, null), P = o.copyableIcon ? o.copyableIcon({
+        copied: !!l.copied
+      }) : T;
+      return f(ce, {
+        key: "copy",
+        title: r === !1 ? "" : p
+      }, {
+        default: () => [f(ve, {
+          class: [`${d.value}-copy`, {
+            [`${d.value}-copy-success`]: l.copied
+          }],
+          onClick: R,
+          "aria-label": x
+        }, {
+          default: () => [P]
+        })]
+      });
+    }
+    function Ie() {
+      const {
+        class: r,
+        style: c
+      } = t, {
+        maxlength: p,
+        autoSize: x,
+        onEnd: T
+      } = g.value;
+      return f(mt, {
+        class: r,
+        style: c,
+        prefixCls: d.value,
+        value: e.content,
+        originContent: l.originContent,
+        maxlength: p,
+        autoSize: x,
+        onSave: I,
+        onChange: N,
+        onCancel: $,
+        onEnd: T,
+        direction: a.value,
+        component: e.component
+      }, {
+        enterIcon: o.editableEnterIcon
+      });
+    }
+    function ye(r) {
+      return [L(r), U(), Ne()].filter((c) => c);
+    }
+    return () => {
+      var r;
+      const {
+        triggerType: c = ["icon"]
+      } = g.value, p = e.ellipsis || e.editable ? e.content !== void 0 ? e.content : (r = o.default) === null || r === void 0 ? void 0 : r.call(o) : o.default ? o.default() : e.content;
+      return u.value ? Ie() : f(Xe, {
+        componentName: "Text",
+        children: (x) => {
+          const T = s(s({}, e), t), {
+            type: P,
+            disabled: z,
+            content: j,
+            class: F,
+            style: D
+          } = T, ee = kt(T, ["type", "disabled", "content", "class", "style"]), {
+            rows: k,
+            suffix: te,
+            tooltip: re
+          } = y.value, {
+            edit: $e,
+            copy: Pe,
+            copied: De,
+            expand: Be
+          } = x;
+          l.editStr = $e, l.copyStr = Pe, l.copiedStr = De, l.expandStr = Be;
+          const Re = W(ee, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard", "onUpdate:content"]), ne = H.value, Ae = k === 1 && ne, ge = k && k > 1 && ne;
+          let M = p, je;
+          if (k && l.isEllipsis && !l.expanded && !ne) {
+            const {
+              title: me
+            } = ee;
+            let K = me || "";
+            !me && (typeof p == "string" || typeof p == "number") && (K = String(p)), K = K == null ? void 0 : K.slice(String(l.ellipsisContent || "").length), M = f(he, null, [it(l.ellipsisContent), f("span", {
+              title: K,
+              "aria-hidden": "true"
+            }, [Ce]), te]);
+          } else
+            M = f(he, null, [p, te]);
+          M = le(e, M);
+          const He = re && k && l.isEllipsis && !l.expanded && !ne, Le = o.ellipsisTooltip ? o.ellipsisTooltip() : re;
+          return f(qe, {
+            onResize: O,
+            disabled: !k
+          }, {
+            default: () => [f(E, B({
+              ref: m,
+              class: [{
+                [`${d.value}-${P}`]: P,
+                [`${d.value}-disabled`]: z,
+                [`${d.value}-ellipsis`]: k,
+                [`${d.value}-single-line`]: k === 1 && !l.isEllipsis,
+                [`${d.value}-ellipsis-single-line`]: Ae,
+                [`${d.value}-ellipsis-multiple-line`]: ge
+              }, F],
+              style: s(s({}, D), {
+                WebkitLineClamp: ge ? k : void 0
+              }),
+              "aria-label": je,
+              direction: a.value,
+              onClick: c.indexOf("text") !== -1 ? S : () => {
+              }
+            }, Re), {
+              default: () => [He ? f(ce, {
+                title: re === !0 ? p : Le
+              }, {
+                default: () => [f("span", null, [M])]
+              }) : M, ye()]
+            })]
+          });
+        }
+      }, null);
     };
   }
 });
-v.Countdown = et;
-v.install = function(t) {
-  return t.component(v.name, v), t.component(v.Countdown.name, v.Countdown), t;
+var It = function(e, n) {
+  var o = {};
+  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
+  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
+    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
+  return o;
+};
+const $t = () => W(s(s({}, q()), {
+  ellipsis: {
+    type: Boolean,
+    default: void 0
+  }
+}), ["component"]), Z = (e, n) => {
+  let {
+    slots: o,
+    attrs: t
+  } = n;
+  const i = s(s({}, e), t), {
+    ellipsis: d,
+    rel: a
+  } = i, l = It(i, ["ellipsis", "rel"]);
+  X(typeof d != "object", "Typography.Link", "`ellipsis` only supports boolean value.");
+  const m = s(s({}, l), {
+    rel: a === void 0 && l.target === "_blank" ? "noopener noreferrer" : a,
+    ellipsis: !!d,
+    component: "a"
+  });
+  return delete m.navigate, f(Q, m, o);
+};
+Z.displayName = "ATypographyLink";
+Z.inheritAttrs = !1;
+Z.props = $t();
+const Pt = () => W(q(), ["component"]), G = (e, n) => {
+  let {
+    slots: o,
+    attrs: t
+  } = n;
+  const i = s(s(s({}, e), {
+    component: "div"
+  }), t);
+  return f(Q, i, o);
+};
+G.displayName = "ATypographyParagraph";
+G.inheritAttrs = !1;
+G.props = Pt();
+const Dt = () => s(s({}, W(q(), ["component"])), {
+  ellipsis: {
+    type: [Boolean, Object],
+    default: void 0
+  }
+}), J = (e, n) => {
+  let {
+    slots: o,
+    attrs: t
+  } = n;
+  const {
+    ellipsis: i
+  } = e;
+  X(typeof i != "object" || !i || !("expandable" in i) && !("rows" in i), "Typography.Text", "`ellipsis` do not support `expandable` or `rows` props.");
+  const d = s(s(s({}, e), {
+    ellipsis: i && typeof i == "object" ? W(i, ["expandable", "rows"]) : i,
+    component: "span"
+  }), t);
+  return f(Q, d, o);
+};
+J.displayName = "ATypographyText";
+J.inheritAttrs = !1;
+J.props = Dt();
+var Bt = function(e, n) {
+  var o = {};
+  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
+  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
+    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
+  return o;
+};
+const Rt = Je(1, 2, 3, 4, 5), At = () => s(s({}, W(q(), ["component", "strong"])), {
+  level: Number
+}), Y = (e, n) => {
+  let {
+    slots: o,
+    attrs: t
+  } = n;
+  const {
+    level: i = 1
+  } = e, d = Bt(e, ["level"]);
+  let a;
+  Rt.includes(i) ? a = `h${i}` : (X(!1, "Typography", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value."), a = "h1");
+  const l = s(s(s({}, d), {
+    component: a
+  }), t);
+  return f(Q, l, o);
+};
+Y.displayName = "ATypographyTitle";
+Y.inheritAttrs = !1;
+Y.props = At();
+E.Text = J;
+E.Title = Y;
+E.Paragraph = G;
+E.Link = Z;
+E.Base = Q;
+E.install = function(e) {
+  return e.component(E.name, E), e.component(E.Text.displayName, J), e.component(E.Title.displayName, Y), e.component(E.Paragraph.displayName, G), e.component(E.Link.displayName, Z), e;
 };
-const it = v.Countdown;
 export {
-  it as S
+  G as P,
+  Y as T,
+  J as a
 };

+ 1070 - 1067
lib/js/index18.js

@@ -1,1163 +1,1166 @@
-import { d as s, _ as B, K as V, dN as ze, dO as Se, bY as Me, g as Ke, c as Te, aj as We, dP as Ue, dQ as Fe, u as we, w as ae, bq as X, L as Ve, dd as se, dR as Xe, o as W, R as qe, y as ce, dS as Ee, dT as Qe, cz as Ye, dU as Ge, dV as Je } from "./index2.js";
-import { defineComponent as ie, shallowRef as Ze, onMounted as fe, createVNode as f, toRefs as et, reactive as Oe, watch as ue, ref as pe, createApp as tt, computed as oe, onBeforeUnmount as nt, nextTick as be, watchEffect as ot, Fragment as he, toRaw as it } from "vue";
-var lt = function(e, n) {
-  var o = {};
-  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
-  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
-    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
-  return o;
-};
-const rt = {
-  border: 0,
-  background: "transparent",
-  padding: 0,
-  lineHeight: "inherit",
-  display: "inline-block"
-}, ve = ie({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "TransButton",
-  inheritAttrs: !1,
-  props: {
-    noStyle: {
-      type: Boolean,
-      default: void 0
-    },
-    onClick: Function,
-    disabled: {
-      type: Boolean,
-      default: void 0
+import { g as he, m as me, d as o, r as Re, cP as N, t as ve, c as x, cy as ze, u as B, i as ae, _ as w, o as fe, dW as E, bP as Ee, h as Le, dX as De, b3 as Ge, dY as We, P as L, bU as V, dZ as Y } from "./index2.js";
+import { defineComponent as y, createVNode as r, computed as G, isVNode as pe } from "vue";
+import { T as be } from "./index13.js";
+const _e = (e) => {
+  const {
+    antCls: t,
+    componentCls: n,
+    cardHeadHeight: a,
+    cardPaddingBase: i,
+    cardHeadTabsMarginBottom: l
+  } = e;
+  return o(o({
+    display: "flex",
+    justifyContent: "center",
+    flexDirection: "column",
+    minHeight: a,
+    marginBottom: -1,
+    padding: `0 ${i}px`,
+    color: e.colorTextHeading,
+    fontWeight: e.fontWeightStrong,
+    fontSize: e.fontSizeLG,
+    background: "transparent",
+    borderBottom: `${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,
+    borderRadius: `${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`
+  }, N()), {
+    "&-wrapper": {
+      width: "100%",
+      display: "flex",
+      alignItems: "center"
     },
-    autofocus: {
-      type: Boolean,
-      default: void 0
+    "&-title": o(o({
+      display: "inline-block",
+      flex: 1
+    }, ve), {
+      [`
+          > ${n}-typography,
+          > ${n}-typography-edit-content
+        `]: {
+        insetInlineStart: 0,
+        marginTop: 0,
+        marginBottom: 0
+      }
+    }),
+    [`${t}-tabs-top`]: {
+      clear: "both",
+      marginBottom: l,
+      color: e.colorText,
+      fontWeight: "normal",
+      fontSize: e.fontSize,
+      "&-bar": {
+        borderBottom: `${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`
+      }
     }
-  },
-  setup(e, n) {
-    let {
-      slots: o,
-      emit: t,
-      attrs: i,
-      expose: d
-    } = n;
-    const a = Ze(), l = (v) => {
-      const {
-        keyCode: S
-      } = v;
-      S === V.ENTER && v.preventDefault();
-    }, m = (v) => {
-      const {
-        keyCode: S
-      } = v;
-      S === V.ENTER && t("click", v);
-    }, C = (v) => {
-      t("click", v);
-    }, y = () => {
-      a.value && a.value.focus();
-    }, _ = () => {
-      a.value && a.value.blur();
-    };
-    return fe(() => {
-      e.autofocus && y();
-    }), d({
-      focus: y,
-      blur: _
-    }), () => {
-      var v;
-      const {
-        noStyle: S,
-        disabled: I
-      } = e, N = lt(e, ["noStyle", "disabled"]);
-      let $ = {};
-      return S || ($ = s({}, rt)), I && ($.pointerEvents = "none"), f("div", B(B(B({
-        role: "button",
-        tabindex: 0,
-        ref: a
-      }, N), i), {}, {
-        onClick: C,
-        onKeydown: l,
-        onKeyup: m,
-        style: s(s({}, $), i.style || {})
-      }), [(v = o.default) === null || v === void 0 ? void 0 : v.call(o)]);
-    };
-  }
-}), at = (e, n, o, t) => {
+  });
+}, ke = (e) => {
   const {
-    sizeMarginHeadingVerticalEnd: i,
-    fontWeightStrong: d
-  } = t;
+    cardPaddingBase: t,
+    colorBorderSecondary: n,
+    cardShadow: a,
+    lineWidth: i
+  } = e;
   return {
-    marginBottom: i,
-    color: o,
-    fontWeight: d,
-    fontSize: e,
-    lineHeight: n
+    width: "33.33%",
+    padding: t,
+    border: 0,
+    borderRadius: 0,
+    boxShadow: `
+      ${i}px 0 0 0 ${n},
+      0 ${i}px 0 0 ${n},
+      ${i}px ${i}px 0 0 ${n},
+      ${i}px 0 0 0 ${n} inset,
+      0 ${i}px 0 0 ${n} inset;
+    `,
+    transition: `all ${e.motionDurationMid}`,
+    "&-hoverable:hover": {
+      position: "relative",
+      zIndex: 1,
+      boxShadow: a
+    }
   };
-}, st = (e) => {
-  const n = [1, 2, 3, 4, 5], o = {};
-  return n.forEach((t) => {
-    o[`
-      h${t}&,
-      div&-h${t},
-      div&-h${t} > textarea,
-      h${t}
-    `] = at(e[`fontSizeHeading${t}`], e[`lineHeightHeading${t}`], e.colorTextHeading, e);
-  }), o;
-}, ct = (e) => {
+}, Oe = (e) => {
   const {
-    componentCls: n
+    componentCls: t,
+    iconCls: n,
+    cardActionsLiMargin: a,
+    cardActionsIconSize: i,
+    colorBorderSecondary: l
   } = e;
-  return {
-    "a&, a": s(s({}, Se(e)), {
-      textDecoration: e.linkDecoration,
-      "&:active, &:hover": {
-        textDecoration: e.linkHoverDecoration
-      },
-      [`&[disabled], &${n}-disabled`]: {
-        color: e.colorTextDisabled,
-        cursor: "not-allowed",
-        "&:active, &:hover": {
-          color: e.colorTextDisabled
+  return o(o({
+    margin: 0,
+    padding: 0,
+    listStyle: "none",
+    background: e.colorBgContainer,
+    borderTop: `${e.lineWidth}px ${e.lineType} ${l}`,
+    display: "flex",
+    borderRadius: `0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `
+  }, N()), {
+    "& > li": {
+      margin: a,
+      color: e.colorTextDescription,
+      textAlign: "center",
+      "> span": {
+        position: "relative",
+        display: "block",
+        minWidth: e.cardActionsIconSize * 2,
+        fontSize: e.fontSize,
+        lineHeight: e.lineHeight,
+        cursor: "pointer",
+        "&:hover": {
+          color: e.colorPrimary,
+          transition: `color ${e.motionDurationMid}`
+        },
+        [`a:not(${t}-btn), > ${n}`]: {
+          display: "inline-block",
+          width: "100%",
+          color: e.colorTextDescription,
+          lineHeight: `${e.fontSize * e.lineHeight}px`,
+          transition: `color ${e.motionDurationMid}`,
+          "&:hover": {
+            color: e.colorPrimary
+          }
         },
-        "&:active": {
-          pointerEvents: "none"
+        [`> ${n}`]: {
+          fontSize: i,
+          lineHeight: `${i * e.lineHeight}px`
         }
+      },
+      "&:not(:last-child)": {
+        borderInlineEnd: `${e.lineWidth}px ${e.lineType} ${l}`
       }
-    })
-  };
-}, dt = () => ({
-  code: {
-    margin: "0 0.2em",
-    paddingInline: "0.4em",
-    paddingBlock: "0.2em 0.1em",
-    fontSize: "85%",
-    background: "rgba(150, 150, 150, 0.1)",
-    border: "1px solid rgba(100, 100, 100, 0.2)",
-    borderRadius: 3
-  },
-  kbd: {
-    margin: "0 0.2em",
-    paddingInline: "0.4em",
-    paddingBlock: "0.15em 0.1em",
-    fontSize: "90%",
-    background: "rgba(150, 150, 150, 0.06)",
-    border: "1px solid rgba(100, 100, 100, 0.2)",
-    borderBottomWidth: 2,
-    borderRadius: 3
-  },
-  mark: {
-    padding: 0,
-    // FIXME hardcode in v4
-    backgroundColor: ze[2]
-  },
-  "u, ins": {
-    textDecoration: "underline",
-    textDecorationSkipInk: "auto"
-  },
-  "s, del": {
-    textDecoration: "line-through"
-  },
-  strong: {
-    fontWeight: 600
-  },
-  // list
-  "ul, ol": {
-    marginInline: 0,
-    marginBlock: "0 1em",
-    padding: 0,
-    li: {
-      marginInline: "20px 0",
-      marginBlock: 0,
-      paddingInline: "4px 0",
-      paddingBlock: 0
-    }
-  },
-  ul: {
-    listStyleType: "circle",
-    ul: {
-      listStyleType: "disc"
     }
+  });
+}, Ne = (e) => o(o({
+  margin: `-${e.marginXXS}px 0`,
+  display: "flex"
+}, N()), {
+  "&-avatar": {
+    paddingInlineEnd: e.padding
   },
-  ol: {
-    listStyleType: "decimal"
-  },
-  // pre & block
-  "pre, blockquote": {
-    margin: "1em 0"
-  },
-  pre: {
-    padding: "0.4em 0.6em",
-    whiteSpace: "pre-wrap",
-    wordWrap: "break-word",
-    background: "rgba(150, 150, 150, 0.1)",
-    border: "1px solid rgba(100, 100, 100, 0.2)",
-    borderRadius: 3,
-    // Compatible for marked
-    code: {
-      display: "inline",
-      margin: 0,
-      padding: 0,
-      fontSize: "inherit",
-      fontFamily: "inherit",
-      background: "transparent",
-      border: 0
+  "&-detail": {
+    overflow: "hidden",
+    flex: 1,
+    "> div:not(:last-child)": {
+      marginBottom: e.marginXS
     }
   },
-  blockquote: {
-    paddingInline: "0.6em 0",
-    paddingBlock: 0,
-    borderInlineStart: "4px solid rgba(100, 100, 100, 0.2)",
-    opacity: 0.85
+  "&-title": o({
+    color: e.colorTextHeading,
+    fontWeight: e.fontWeightStrong,
+    fontSize: e.fontSizeLG
+  }, ve),
+  "&-description": {
+    color: e.colorTextDescription
   }
-}), ut = (e) => {
+}), je = (e) => {
   const {
-    componentCls: n
-  } = e, t = Me(e).inputPaddingVertical + 1;
+    componentCls: t,
+    cardPaddingBase: n,
+    colorFillAlter: a
+  } = e;
   return {
-    "&-edit-content": {
-      position: "relative",
-      "div&": {
-        insetInlineStart: -e.paddingSM,
-        marginTop: -t,
-        marginBottom: `calc(1em - ${t}px)`
-      },
-      [`${n}-edit-content-confirm`]: {
-        position: "absolute",
-        insetInlineEnd: e.marginXS + 2,
-        insetBlockEnd: e.marginXS,
-        color: e.colorTextDescription,
-        // default style
-        fontWeight: "normal",
-        fontSize: e.fontSize,
-        fontStyle: "normal",
-        pointerEvents: "none"
-      },
-      textarea: {
-        margin: "0!important",
-        // Fix Editable Textarea flash in Firefox
-        MozTransition: "none",
-        height: "1em"
+    [`${t}-head`]: {
+      padding: `0 ${n}px`,
+      background: a,
+      "&-title": {
+        fontSize: e.fontSize
       }
+    },
+    [`${t}-body`]: {
+      padding: `${e.padding}px ${n}px`
     }
   };
-}, pt = (e) => ({
-  "&-copy-success": {
-    "\n    &,\n    &:hover,\n    &:focus": {
-      color: e.colorSuccess
-    }
-  }
-}), ft = () => ({
-  "\n  a&-ellipsis,\n  span&-ellipsis\n  ": {
-    display: "inline-block",
-    maxWidth: "100%"
-  },
-  "&-single-line": {
-    whiteSpace: "nowrap"
-  },
-  "&-ellipsis-single-line": {
+}, qe = (e) => {
+  const {
+    componentCls: t
+  } = e;
+  return {
     overflow: "hidden",
-    textOverflow: "ellipsis",
-    // https://blog.csdn.net/iefreer/article/details/50421025
-    "a&, span&": {
-      verticalAlign: "bottom"
+    [`${t}-body`]: {
+      userSelect: "none"
     }
-  },
-  "&-ellipsis-multiple-line": {
-    display: "-webkit-box",
-    overflow: "hidden",
-    WebkitLineClamp: 3,
-    WebkitBoxOrient: "vertical"
-  }
-}), yt = (e) => {
+  };
+}, Xe = (e) => {
   const {
-    componentCls: n,
-    sizeMarginHeadingVerticalStart: o
+    componentCls: t,
+    cardShadow: n,
+    cardHeadPadding: a,
+    colorBorderSecondary: i,
+    boxShadow: l,
+    cardPaddingBase: d
   } = e;
   return {
-    [n]: s(s(s(s(s(s(s(s(s({
-      color: e.colorText,
-      wordBreak: "break-word",
-      lineHeight: e.lineHeight,
-      [`&${n}-secondary`]: {
-        color: e.colorTextDescription
-      },
-      [`&${n}-success`]: {
-        color: e.colorSuccess
+    [t]: o(o({}, Re(e)), {
+      position: "relative",
+      background: e.colorBgContainer,
+      borderRadius: e.borderRadiusLG,
+      [`&:not(${t}-bordered)`]: {
+        boxShadow: l
       },
-      [`&${n}-warning`]: {
-        color: e.colorWarning
+      [`${t}-head`]: _e(e),
+      [`${t}-extra`]: {
+        // https://stackoverflow.com/a/22429853/3040605
+        marginInlineStart: "auto",
+        color: "",
+        fontWeight: "normal",
+        fontSize: e.fontSize
       },
-      [`&${n}-danger`]: {
-        color: e.colorError,
-        "a&:active, a&:focus": {
-          color: e.colorErrorActive
+      [`${t}-body`]: o({
+        padding: d,
+        borderRadius: ` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`
+      }, N()),
+      [`${t}-grid`]: ke(e),
+      [`${t}-cover`]: {
+        "> *": {
+          display: "block",
+          width: "100%"
         },
-        "a&:hover": {
-          color: e.colorErrorHover
+        img: {
+          borderRadius: `${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`
         }
       },
-      [`&${n}-disabled`]: {
-        color: e.colorTextDisabled,
-        cursor: "not-allowed",
-        userSelect: "none"
-      },
-      "\n        div&,\n        p\n      ": {
-        marginBottom: "1em"
+      [`${t}-actions`]: Oe(e),
+      [`${t}-meta`]: Ne(e)
+    }),
+    [`${t}-bordered`]: {
+      border: `${e.lineWidth}px ${e.lineType} ${i}`,
+      [`${t}-cover`]: {
+        marginTop: -1,
+        marginInlineStart: -1,
+        marginInlineEnd: -1
       }
-    }, st(e)), {
-      [`
-      & + h1${n},
-      & + h2${n},
-      & + h3${n},
-      & + h4${n},
-      & + h5${n}
-      `]: {
-        marginTop: o
+    },
+    [`${t}-hoverable`]: {
+      cursor: "pointer",
+      transition: `box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,
+      "&:hover": {
+        borderColor: "transparent",
+        boxShadow: n
+      }
+    },
+    [`${t}-contain-grid`]: {
+      [`${t}-body`]: {
+        display: "flex",
+        flexWrap: "wrap"
       },
-      "\n      div,\n      ul,\n      li,\n      p,\n      h1,\n      h2,\n      h3,\n      h4,\n      h5": {
-        "\n        + h1,\n        + h2,\n        + h3,\n        + h4,\n        + h5\n        ": {
-          marginTop: o
+      [`&:not(${t}-loading) ${t}-body`]: {
+        marginBlockStart: -e.lineWidth,
+        marginInlineStart: -e.lineWidth,
+        padding: 0
+      }
+    },
+    [`${t}-contain-tabs`]: {
+      [`> ${t}-head`]: {
+        [`${t}-head-title, ${t}-extra`]: {
+          paddingTop: a
         }
       }
-    }), dt()), ct(e)), {
-      // Operation
-      [`
-        ${n}-expand,
-        ${n}-edit,
-        ${n}-copy
-      `]: s(s({}, Se(e)), {
-        marginInlineStart: e.marginXXS
-      })
-    }), ut(e)), pt(e)), ft()), {
-      "&-rtl": {
-        direction: "rtl"
+    },
+    [`${t}-type-inner`]: je(e),
+    [`${t}-loading`]: qe(e),
+    [`${t}-rtl`]: {
+      direction: "rtl"
+    }
+  };
+}, Ke = (e) => {
+  const {
+    componentCls: t,
+    cardPaddingSM: n,
+    cardHeadHeightSM: a
+  } = e;
+  return {
+    [`${t}-small`]: {
+      [`> ${t}-head`]: {
+        minHeight: a,
+        padding: `0 ${n}px`,
+        fontSize: e.fontSize,
+        [`> ${t}-head-wrapper`]: {
+          [`> ${t}-extra`]: {
+            fontSize: e.fontSize
+          }
+        }
+      },
+      [`> ${t}-body`]: {
+        padding: n
+      }
+    },
+    [`${t}-small${t}-contain-tabs`]: {
+      [`> ${t}-head`]: {
+        [`${t}-head-title, ${t}-extra`]: {
+          minHeight: a,
+          paddingTop: 0,
+          display: "flex",
+          alignItems: "center"
+        }
       }
-    })
+    }
   };
-}, ke = Ke("Typography", (e) => [yt(e)], {
-  sizeMarginHeadingVerticalStart: "1.2em",
-  sizeMarginHeadingVerticalEnd: "0.5em"
-}), gt = () => ({
+}, Fe = he("Card", (e) => {
+  const t = me(e, {
+    cardShadow: e.boxShadowCard,
+    cardHeadHeight: e.fontSizeLG * e.lineHeightLG + e.padding * 2,
+    cardHeadHeightSM: e.fontSize * e.lineHeight + e.paddingXS * 2,
+    cardHeadPadding: e.padding,
+    cardPaddingBase: e.paddingLG,
+    cardHeadTabsMarginBottom: -e.padding - e.lineWidth,
+    cardActionsLiMargin: `${e.paddingSM}px 0`,
+    cardActionsIconSize: e.fontSize,
+    cardPaddingSM: 12
+    // Fixed padding.
+  });
+  return [
+    // Style
+    Xe(t),
+    // Size
+    Ke(t)
+  ];
+}), Ue = () => ({
   prefixCls: String,
-  value: String,
-  maxlength: Number,
-  autoSize: {
-    type: [Boolean, Object]
-  },
-  onSave: Function,
-  onCancel: Function,
-  onEnd: Function,
-  onChange: Function,
-  originContent: String,
-  direction: String,
-  component: String
-}), mt = ie({
+  width: {
+    type: [Number, String]
+  }
+}), oe = y({
   compatConfig: {
     MODE: 3
   },
-  name: "Editable",
-  inheritAttrs: !1,
-  props: gt(),
-  // emits: ['save', 'cancel', 'end', 'change'],
-  setup(e, n) {
-    let {
-      emit: o,
-      slots: t,
-      attrs: i
-    } = n;
-    const {
-      prefixCls: d
-    } = et(e), a = Oe({
-      current: e.value || "",
-      lastKeyCode: void 0,
-      inComposition: !1,
-      cancelFlag: !1
-    });
-    ue(() => e.value, (g) => {
-      a.current = g;
-    });
-    const l = pe();
-    fe(() => {
-      var g;
-      if (l.value) {
-        const u = (g = l.value) === null || g === void 0 ? void 0 : g.resizableTextArea, h = u == null ? void 0 : u.textArea;
-        h.focus();
-        const {
-          length: b
-        } = h.value;
-        h.setSelectionRange(b, b);
-      }
-    });
-    function m(g) {
-      l.value = g;
-    }
-    function C(g) {
-      let {
-        target: {
-          value: u
-        }
-      } = g;
-      a.current = u.replace(/[\r\n]/g, ""), o("change", a.current);
-    }
-    function y() {
-      a.inComposition = !0;
-    }
-    function _() {
-      a.inComposition = !1;
-    }
-    function v(g) {
+  name: "SkeletonTitle",
+  props: Ue(),
+  setup(e) {
+    return () => {
       const {
-        keyCode: u
-      } = g;
-      u === V.ENTER && g.preventDefault(), !a.inComposition && (a.lastKeyCode = u);
-    }
-    function S(g) {
+        prefixCls: t,
+        width: n
+      } = e, a = typeof n == "number" ? `${n}px` : n;
+      return r("h3", {
+        class: t,
+        style: {
+          width: a
+        }
+      }, null);
+    };
+  }
+}), Ve = () => ({
+  prefixCls: String,
+  width: {
+    type: [Number, String, Array]
+  },
+  rows: Number
+}), Ye = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "SkeletonParagraph",
+  props: Ve(),
+  setup(e) {
+    const t = (n) => {
       const {
-        keyCode: u,
-        ctrlKey: h,
-        altKey: b,
-        metaKey: O,
-        shiftKey: H
-      } = g;
-      a.lastKeyCode === u && !a.inComposition && !h && !b && !O && !H && (u === V.ENTER ? (N(), o("end")) : u === V.ESC && (a.current = e.originContent, o("cancel")));
-    }
-    function I() {
-      N();
-    }
-    function N() {
-      o("save", a.current.trim());
-    }
-    const [$, R] = ke(d);
+        width: a,
+        rows: i = 2
+      } = e;
+      if (Array.isArray(a))
+        return a[n];
+      if (i - 1 === n)
+        return a;
+    };
     return () => {
-      const g = Te({
-        [`${d.value}`]: !0,
-        [`${d.value}-edit-content`]: !0,
-        [`${d.value}-rtl`]: e.direction === "rtl",
-        [e.component ? `${d.value}-${e.component}` : ""]: !0
-      }, i.class, R.value);
-      return $(f("div", B(B({}, i), {}, {
-        class: g
-      }), [f(We, {
-        ref: m,
-        maxlength: e.maxlength,
-        value: a.current,
-        onChange: C,
-        onKeydown: v,
-        onKeyup: S,
-        onCompositionstart: y,
-        onCompositionend: _,
-        onBlur: I,
-        rows: 1,
-        autoSize: e.autoSize === void 0 || e.autoSize
-      }, null), t.enterIcon ? t.enterIcon({
-        className: `${e.prefixCls}-edit-content-confirm`
-      }) : f(Ue, {
-        class: `${e.prefixCls}-edit-content-confirm`
-      }, null)]));
+      const {
+        prefixCls: n,
+        rows: a
+      } = e, i = [...Array(a)].map((l, d) => {
+        const g = t(d);
+        return r("li", {
+          key: d,
+          style: {
+            width: typeof g == "number" ? `${g}px` : g
+          }
+        }, null);
+      });
+      return r("ul", {
+        class: n
+      }, [i]);
     };
   }
-}), bt = 3, ht = 8;
-let w;
-const de = {
-  padding: 0,
-  margin: 0,
-  display: "inline",
-  lineHeight: "inherit"
-};
-function _e(e, n) {
-  e.setAttribute("aria-hidden", "true");
-  const o = window.getComputedStyle(n), t = Fe(o);
-  e.setAttribute("style", t), e.style.position = "fixed", e.style.left = "0", e.style.height = "auto", e.style.minHeight = "auto", e.style.maxHeight = "auto", e.style.paddingTop = "0", e.style.paddingBottom = "0", e.style.borderTopWidth = "0", e.style.borderBottomWidth = "0", e.style.top = "-999999px", e.style.zIndex = "-1000", e.style.textOverflow = "clip", e.style.whiteSpace = "normal", e.style.webkitLineClamp = "none";
-}
-function vt(e) {
-  const n = document.createElement("div");
-  _e(n, e), n.appendChild(document.createTextNode("text")), document.body.appendChild(n);
-  const o = n.getBoundingClientRect().height;
-  return document.body.removeChild(n), o;
-}
-const xt = (e, n, o, t, i) => {
-  w || (w = document.createElement("div"), w.setAttribute("aria-hidden", "true"), document.body.appendChild(w));
+}), j = () => ({
+  prefixCls: String,
+  size: [String, Number],
+  shape: String,
+  active: {
+    type: Boolean,
+    default: void 0
+  }
+}), W = (e) => {
   const {
-    rows: d,
-    suffix: a = ""
-  } = n, l = vt(e), m = Math.round(l * d * 100) / 100;
-  _e(w, e);
-  const C = tt({
-    render() {
-      return f("div", {
-        style: de
-      }, [f("span", {
-        style: de
-      }, [o, a]), f("span", {
-        style: de
-      }, [t])]);
-    }
-  });
-  C.mount(w);
-  function y() {
-    return Math.round(w.getBoundingClientRect().height * 100) / 100 - 0.1 <= m;
+    prefixCls: t,
+    size: n,
+    shape: a
+  } = e, i = x({
+    [`${t}-lg`]: n === "large",
+    [`${t}-sm`]: n === "small"
+  }), l = x({
+    [`${t}-circle`]: a === "circle",
+    [`${t}-square`]: a === "square",
+    [`${t}-round`]: a === "round"
+  }), d = typeof n == "number" ? {
+    width: `${n}px`,
+    height: `${n}px`,
+    lineHeight: `${n}px`
+  } : {};
+  return r("span", {
+    class: x(t, i, l),
+    style: d
+  }, null);
+};
+W.displayName = "SkeletonElement";
+const Ze = new ze("ant-skeleton-loading", {
+  "0%": {
+    transform: "translateX(-37.5%)"
+  },
+  "100%": {
+    transform: "translateX(37.5%)"
   }
-  if (y())
-    return C.unmount(), {
-      content: o,
-      text: w.innerHTML,
-      ellipsis: !1
-    };
-  const _ = Array.prototype.slice.apply(w.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((u) => {
-    let {
-      nodeType: h,
-      data: b
-    } = u;
-    return h !== ht && b !== "";
-  }), v = Array.prototype.slice.apply(w.childNodes[0].childNodes[1].cloneNode(!0).childNodes);
-  C.unmount();
-  const S = [];
-  w.innerHTML = "";
-  const I = document.createElement("span");
-  w.appendChild(I);
-  const N = document.createTextNode(i + a);
-  I.appendChild(N), v.forEach((u) => {
-    w.appendChild(u);
-  });
-  function $(u) {
-    I.insertBefore(u, N);
+}), q = (e) => ({
+  height: e,
+  lineHeight: `${e}px`
+}), I = (e) => o({
+  width: e
+}, q(e)), Je = (e) => ({
+  position: "relative",
+  // fix https://github.com/ant-design/ant-design/issues/36444
+  // https://monshin.github.io/202109/css/safari-border-radius-overflow-hidden/
+  /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */
+  zIndex: 0,
+  overflow: "hidden",
+  background: "transparent",
+  "&::after": {
+    position: "absolute",
+    top: 0,
+    insetInlineEnd: "-150%",
+    bottom: 0,
+    insetInlineStart: "-150%",
+    background: e.skeletonLoadingBackground,
+    animationName: Ze,
+    animationDuration: e.skeletonLoadingMotionDuration,
+    animationTimingFunction: "ease",
+    animationIterationCount: "infinite",
+    content: '""'
   }
-  function R(u, h) {
-    let b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, O = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : h.length, H = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
-    const A = Math.floor((b + O) / 2), le = h.slice(0, A);
-    if (u.textContent = le, b >= O - 1)
-      for (let L = O; L >= b; L -= 1) {
-        const U = h.slice(0, L);
-        if (u.textContent = U, y() || !U)
-          return L === h.length ? {
-            finished: !1,
-            vNode: h
-          } : {
-            finished: !0,
-            vNode: U
-          };
+}), Z = (e) => o({
+  width: e * 5,
+  minWidth: e * 5
+}, q(e)), Qe = (e) => {
+  const {
+    skeletonAvatarCls: t,
+    color: n,
+    controlHeight: a,
+    controlHeightLG: i,
+    controlHeightSM: l
+  } = e;
+  return {
+    [`${t}`]: o({
+      display: "inline-block",
+      verticalAlign: "top",
+      background: n
+    }, I(a)),
+    [`${t}${t}-circle`]: {
+      borderRadius: "50%"
+    },
+    [`${t}${t}-lg`]: o({}, I(i)),
+    [`${t}${t}-sm`]: o({}, I(l))
+  };
+}, et = (e) => {
+  const {
+    controlHeight: t,
+    borderRadiusSM: n,
+    skeletonInputCls: a,
+    controlHeightLG: i,
+    controlHeightSM: l,
+    color: d
+  } = e;
+  return {
+    [`${a}`]: o({
+      display: "inline-block",
+      verticalAlign: "top",
+      background: d,
+      borderRadius: n
+    }, Z(t)),
+    [`${a}-lg`]: o({}, Z(i)),
+    [`${a}-sm`]: o({}, Z(l))
+  };
+}, $e = (e) => o({
+  width: e
+}, q(e)), tt = (e) => {
+  const {
+    skeletonImageCls: t,
+    imageSizeBase: n,
+    color: a,
+    borderRadiusSM: i
+  } = e;
+  return {
+    [`${t}`]: o(o({
+      display: "flex",
+      alignItems: "center",
+      justifyContent: "center",
+      verticalAlign: "top",
+      background: a,
+      borderRadius: i
+    }, $e(n * 2)), {
+      [`${t}-path`]: {
+        fill: "#bfbfbf"
+      },
+      [`${t}-svg`]: o(o({}, $e(n)), {
+        maxWidth: n * 4,
+        maxHeight: n * 4
+      }),
+      [`${t}-svg${t}-svg-circle`]: {
+        borderRadius: "50%"
       }
-    return y() ? R(u, h, A, O, A) : R(u, h, b, A, H);
-  }
-  function g(u) {
-    if (u.nodeType === bt) {
-      const b = u.textContent || "", O = document.createTextNode(b);
-      return $(O), R(O, b);
+    }),
+    [`${t}${t}-circle`]: {
+      borderRadius: "50%"
     }
-    return {
-      finished: !1,
-      vNode: null
-    };
-  }
-  return _.some((u) => {
-    const {
-      finished: h,
-      vNode: b
-    } = g(u);
-    return b && S.push(b), h;
-  }), {
-    content: S,
-    text: w.innerHTML,
-    ellipsis: !0
   };
-};
-var Ct = function(e, n) {
-  var o = {};
-  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
-  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
-    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
-  return o;
-};
-const St = () => ({
-  prefixCls: String,
-  direction: String,
-  // Form Internal use
-  component: String
-}), E = ie({
-  name: "ATypography",
-  inheritAttrs: !1,
-  props: St(),
-  setup(e, n) {
-    let {
-      slots: o,
-      attrs: t
-    } = n;
-    const {
-      prefixCls: i,
-      direction: d
-    } = we("typography", e), [a, l] = ke(i);
-    return () => {
-      var m;
-      const C = s(s({}, e), t), {
-        prefixCls: y,
-        direction: _,
-        component: v = "article"
-      } = C, S = Ct(C, ["prefixCls", "direction", "component"]);
-      return a(f(v, B(B({}, S), {}, {
-        class: Te(i.value, {
-          [`${i.value}-rtl`]: d.value === "rtl"
-        }, t.class, l.value)
-      }), {
-        default: () => [(m = o.default) === null || m === void 0 ? void 0 : m.call(o)]
-      }));
-    };
-  }
-}), Tt = () => {
-  const e = document.getSelection();
-  if (!e.rangeCount)
-    return function() {
-    };
-  let n = document.activeElement;
-  const o = [];
-  for (let t = 0; t < e.rangeCount; t++)
-    o.push(e.getRangeAt(t));
-  switch (n.tagName.toUpperCase()) {
-    case "INPUT":
-    case "TEXTAREA":
-      n.blur();
-      break;
-    default:
-      n = null;
-      break;
-  }
-  return e.removeAllRanges(), function() {
-    e.type === "Caret" && e.removeAllRanges(), e.rangeCount || o.forEach(function(t) {
-      e.addRange(t);
-    }), n && n.focus();
+}, J = (e, t, n) => {
+  const {
+    skeletonButtonCls: a
+  } = e;
+  return {
+    [`${n}${a}-circle`]: {
+      width: t,
+      minWidth: t,
+      borderRadius: "50%"
+    },
+    [`${n}${a}-round`]: {
+      borderRadius: t
+    }
   };
-}, xe = {
-  "text/plain": "Text",
-  "text/html": "Url",
-  default: "Text"
-}, wt = "Copy to clipboard: #{key}, Enter";
-function Et(e) {
-  const n = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
-  return e.replace(/#{\s*key\s*}/g, n);
-}
-function Ot(e, n) {
-  let o, t, i, d, a, l = !1;
-  n || (n = {});
-  const m = n.debug || !1;
-  try {
-    if (t = Tt(), i = document.createRange(), d = document.getSelection(), a = document.createElement("span"), a.textContent = e, a.style.all = "unset", a.style.position = "fixed", a.style.top = 0, a.style.clip = "rect(0, 0, 0, 0)", a.style.whiteSpace = "pre", a.style.webkitUserSelect = "text", a.style.MozUserSelect = "text", a.style.msUserSelect = "text", a.style.userSelect = "text", a.addEventListener("copy", function(y) {
-      if (y.stopPropagation(), n.format)
-        if (y.preventDefault(), typeof y.clipboardData == "undefined") {
-          m && console.warn("unable to use e.clipboardData"), m && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
-          const _ = xe[n.format] || xe.default;
-          window.clipboardData.setData(_, e);
-        } else
-          y.clipboardData.clearData(), y.clipboardData.setData(n.format, e);
-      n.onCopy && (y.preventDefault(), n.onCopy(y.clipboardData));
-    }), document.body.appendChild(a), i.selectNodeContents(a), d.addRange(i), !document.execCommand("copy"))
-      throw new Error("copy command was unsuccessful");
-    l = !0;
-  } catch (C) {
-    m && console.error("unable to copy using execCommand: ", C), m && console.warn("trying IE specific stuff");
-    try {
-      window.clipboardData.setData(n.format || "text", e), n.onCopy && n.onCopy(window.clipboardData), l = !0;
-    } catch (y) {
-      m && console.error("unable to copy using clipboardData: ", y), m && console.error("falling back to prompt"), o = Et("message" in n ? n.message : wt), window.prompt(o, e);
+}, Q = (e) => o({
+  width: e * 2,
+  minWidth: e * 2
+}, q(e)), nt = (e) => {
+  const {
+    borderRadiusSM: t,
+    skeletonButtonCls: n,
+    controlHeight: a,
+    controlHeightLG: i,
+    controlHeightSM: l,
+    color: d
+  } = e;
+  return o(o(o(o(o({
+    [`${n}`]: o({
+      display: "inline-block",
+      verticalAlign: "top",
+      background: d,
+      borderRadius: t,
+      width: a * 2,
+      minWidth: a * 2
+    }, Q(a))
+  }, J(e, a, n)), {
+    [`${n}-lg`]: o({}, Q(i))
+  }), J(e, i, `${n}-lg`)), {
+    [`${n}-sm`]: o({}, Q(l))
+  }), J(e, l, `${n}-sm`));
+}, at = (e) => {
+  const {
+    componentCls: t,
+    skeletonAvatarCls: n,
+    skeletonTitleCls: a,
+    skeletonParagraphCls: i,
+    skeletonButtonCls: l,
+    skeletonInputCls: d,
+    skeletonImageCls: g,
+    controlHeight: T,
+    controlHeightLG: b,
+    controlHeightSM: m,
+    color: v,
+    padding: p,
+    marginSM: u,
+    borderRadius: s,
+    skeletonTitleHeight: h,
+    skeletonBlockRadius: f,
+    skeletonParagraphLineHeight: S,
+    controlHeightXS: H,
+    skeletonParagraphMarginTop: P
+  } = e;
+  return {
+    [`${t}`]: {
+      display: "table",
+      width: "100%",
+      [`${t}-header`]: {
+        display: "table-cell",
+        paddingInlineEnd: p,
+        verticalAlign: "top",
+        // Avatar
+        [`${n}`]: o({
+          display: "inline-block",
+          verticalAlign: "top",
+          background: v
+        }, I(T)),
+        [`${n}-circle`]: {
+          borderRadius: "50%"
+        },
+        [`${n}-lg`]: o({}, I(b)),
+        [`${n}-sm`]: o({}, I(m))
+      },
+      [`${t}-content`]: {
+        display: "table-cell",
+        width: "100%",
+        verticalAlign: "top",
+        // Title
+        [`${a}`]: {
+          width: "100%",
+          height: h,
+          background: v,
+          borderRadius: f,
+          [`+ ${i}`]: {
+            marginBlockStart: m
+          }
+        },
+        // paragraph
+        [`${i}`]: {
+          padding: 0,
+          "> li": {
+            width: "100%",
+            height: S,
+            listStyle: "none",
+            background: v,
+            borderRadius: f,
+            "+ li": {
+              marginBlockStart: H
+            }
+          }
+        },
+        [`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]: {
+          width: "61%"
+        }
+      },
+      [`&-round ${t}-content`]: {
+        [`${a}, ${i} > li`]: {
+          borderRadius: s
+        }
+      }
+    },
+    [`${t}-with-avatar ${t}-content`]: {
+      // Title
+      [`${a}`]: {
+        marginBlockStart: u,
+        [`+ ${i}`]: {
+          marginBlockStart: P
+        }
+      }
+    },
+    // Skeleton element
+    [`${t}${t}-element`]: o(o(o(o({
+      display: "inline-block",
+      width: "auto"
+    }, nt(e)), Qe(e)), et(e)), tt(e)),
+    // Skeleton Block Button, Input
+    [`${t}${t}-block`]: {
+      width: "100%",
+      [`${l}`]: {
+        width: "100%"
+      },
+      [`${d}`]: {
+        width: "100%"
+      }
+    },
+    // With active animation
+    [`${t}${t}-active`]: {
+      [`
+        ${a},
+        ${i} > li,
+        ${n},
+        ${l},
+        ${d},
+        ${g}
+      `]: o({}, Je(e))
     }
-  } finally {
-    d && (typeof d.removeRange == "function" ? d.removeRange(i) : d.removeAllRanges()), a && document.body.removeChild(a), t();
-  }
-  return l;
-}
-var kt = function(e, n) {
-  var o = {};
-  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
-  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
-    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
-  return o;
-};
-const _t = Ee("webkitLineClamp"), Nt = Ee("textOverflow"), Ce = "...", q = () => ({
-  editable: {
-    type: [Boolean, Object],
+  };
+}, _ = he("Skeleton", (e) => {
+  const {
+    componentCls: t
+  } = e, n = me(e, {
+    skeletonAvatarCls: `${t}-avatar`,
+    skeletonTitleCls: `${t}-title`,
+    skeletonParagraphCls: `${t}-paragraph`,
+    skeletonButtonCls: `${t}-button`,
+    skeletonInputCls: `${t}-input`,
+    skeletonImageCls: `${t}-image`,
+    imageSizeBase: e.controlHeight * 1.5,
+    skeletonTitleHeight: e.controlHeight / 2,
+    skeletonBlockRadius: e.borderRadiusSM,
+    skeletonParagraphLineHeight: e.controlHeight / 2,
+    skeletonParagraphMarginTop: e.marginLG + e.marginXXS,
+    borderRadius: 100,
+    skeletonLoadingBackground: `linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,
+    skeletonLoadingMotionDuration: "1.4s"
+  });
+  return [at(n)];
+}, (e) => {
+  const {
+    colorFillContent: t,
+    colorFill: n
+  } = e;
+  return {
+    color: t,
+    colorGradientEnd: n
+  };
+}), ot = () => ({
+  active: {
+    type: Boolean,
     default: void 0
   },
-  copyable: {
-    type: [Boolean, Object],
+  loading: {
+    type: Boolean,
     default: void 0
   },
   prefixCls: String,
-  component: String,
-  type: String,
-  disabled: {
-    type: Boolean,
+  avatar: {
+    type: [Boolean, Object],
     default: void 0
   },
-  ellipsis: {
+  title: {
     type: [Boolean, Object],
     default: void 0
   },
-  code: {
-    type: Boolean,
+  paragraph: {
+    type: [Boolean, Object],
     default: void 0
   },
-  mark: {
+  round: {
     type: Boolean,
     default: void 0
+  }
+});
+function ee(e) {
+  return e && typeof e == "object" ? e : {};
+}
+function it(e, t) {
+  return e && !t ? {
+    size: "large",
+    shape: "square"
+  } : {
+    size: "large",
+    shape: "circle"
+  };
+}
+function rt(e, t) {
+  return !e && t ? {
+    width: "38%"
+  } : e && t ? {
+    width: "50%"
+  } : {};
+}
+function lt(e, t) {
+  const n = {};
+  return (!e || !t) && (n.width = "61%"), !e && t ? n.rows = 3 : n.rows = 2, n;
+}
+const $ = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "ASkeleton",
+  props: ae(ot(), {
+    avatar: !1,
+    title: !0,
+    paragraph: !0
+  }),
+  setup(e, t) {
+    let {
+      slots: n
+    } = t;
+    const {
+      prefixCls: a,
+      direction: i
+    } = B("skeleton", e), [l, d] = _(a);
+    return () => {
+      var g;
+      const {
+        loading: T,
+        avatar: b,
+        title: m,
+        paragraph: v,
+        active: p,
+        round: u
+      } = e, s = a.value;
+      if (T || e.loading === void 0) {
+        const h = !!b || b === "", f = !!m || m === "", S = !!v || v === "";
+        let H;
+        if (h) {
+          const A = o(o({
+            prefixCls: `${s}-avatar`
+          }, it(f, S)), ee(b));
+          H = r("div", {
+            class: `${s}-header`
+          }, [r(W, A, null)]);
+        }
+        let P;
+        if (f || S) {
+          let A;
+          if (f) {
+            const C = o(o({
+              prefixCls: `${s}-title`
+            }, rt(h, S)), ee(m));
+            A = r(oe, C, null);
+          }
+          let M;
+          if (S) {
+            const C = o(o({
+              prefixCls: `${s}-paragraph`
+            }, lt(h, f)), ee(v));
+            M = r(Ye, C, null);
+          }
+          P = r("div", {
+            class: `${s}-content`
+          }, [A, M]);
+        }
+        const k = x(s, {
+          [`${s}-with-avatar`]: h,
+          [`${s}-active`]: p,
+          [`${s}-rtl`]: i.value === "rtl",
+          [`${s}-round`]: u,
+          [d.value]: !0
+        });
+        return l(r("div", {
+          class: k
+        }, [H, P]));
+      }
+      return (g = n.default) === null || g === void 0 ? void 0 : g.call(n);
+    };
+  }
+}), st = () => o(o({}, j()), {
+  size: String,
+  block: Boolean
+}), Se = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "ASkeletonButton",
+  props: ae(st(), {
+    size: "default"
+  }),
+  setup(e) {
+    const {
+      prefixCls: t
+    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, {
+      [`${t.value}-active`]: e.active,
+      [`${t.value}-block`]: e.block
+    }, a.value));
+    return () => n(r("div", {
+      class: i.value
+    }, [r(W, w(w({}, e), {}, {
+      prefixCls: `${t.value}-button`
+    }), null)]));
+  }
+}), ye = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "ASkeletonInput",
+  props: o(o({}, fe(j(), ["shape"])), {
+    size: String,
+    block: Boolean
+  }),
+  setup(e) {
+    const {
+      prefixCls: t
+    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, {
+      [`${t.value}-active`]: e.active,
+      [`${t.value}-block`]: e.block
+    }, a.value));
+    return () => n(r("div", {
+      class: i.value
+    }, [r(W, w(w({}, e), {}, {
+      prefixCls: `${t.value}-input`
+    }), null)]));
+  }
+}), dt = "M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z", Ce = y({
+  compatConfig: {
+    MODE: 3
   },
-  underline: {
+  name: "ASkeletonImage",
+  props: fe(j(), ["size", "shape", "active"]),
+  setup(e) {
+    const {
+      prefixCls: t
+    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, a.value));
+    return () => n(r("div", {
+      class: i.value
+    }, [r("div", {
+      class: `${t.value}-image`
+    }, [r("svg", {
+      viewBox: "0 0 1098 1024",
+      xmlns: "http://www.w3.org/2000/svg",
+      class: `${t.value}-image-svg`
+    }, [r("path", {
+      d: dt,
+      class: `${t.value}-image-path`
+    }, null)])])]));
+  }
+}), ct = () => o(o({}, j()), {
+  shape: String
+}), xe = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "ASkeletonAvatar",
+  props: ae(ct(), {
+    size: "default",
+    shape: "circle"
+  }),
+  setup(e) {
+    const {
+      prefixCls: t
+    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, {
+      [`${t.value}-active`]: e.active
+    }, a.value));
+    return () => n(r("div", {
+      class: i.value
+    }, [r(W, w(w({}, e), {}, {
+      prefixCls: `${t.value}-avatar`
+    }), null)]));
+  }
+});
+$.Button = Se;
+$.Avatar = xe;
+$.Input = ye;
+$.Image = Ce;
+$.Title = oe;
+$.install = function(e) {
+  return e.component($.name, $), e.component($.Button.name, Se), e.component($.Avatar.name, xe), e.component($.Input.name, ye), e.component($.Image.name, Ce), e.component($.Title.name, oe), e;
+};
+const {
+  TabPane: ut
+} = be, gt = () => ({
+  prefixCls: String,
+  title: L.any,
+  extra: L.any,
+  bordered: {
     type: Boolean,
+    default: !0
+  },
+  bodyStyle: {
+    type: Object,
     default: void 0
   },
-  delete: {
-    type: Boolean,
+  headStyle: {
+    type: Object,
     default: void 0
   },
-  strong: {
+  loading: {
     type: Boolean,
-    default: void 0
+    default: !1
   },
-  keyboard: {
+  hoverable: {
     type: Boolean,
-    default: void 0
+    default: !1
+  },
+  type: {
+    type: String
+  },
+  size: {
+    type: String
   },
-  content: String,
-  "onUpdate:content": Function
-}), Q = ie({
+  actions: L.any,
+  tabList: {
+    type: Array
+  },
+  tabBarExtraContent: L.any,
+  activeTabKey: String,
+  defaultActiveTabKey: String,
+  cover: L.any,
+  onTabChange: {
+    type: Function
+  }
+}), D = y({
   compatConfig: {
     MODE: 3
   },
-  name: "TypographyBase",
+  name: "ACard",
   inheritAttrs: !1,
-  props: q(),
-  // emits: ['update:content'],
-  setup(e, n) {
+  props: gt(),
+  slots: Object,
+  setup(e, t) {
     let {
-      slots: o,
-      attrs: t,
-      emit: i
-    } = n;
+      slots: n,
+      attrs: a
+    } = t;
     const {
-      prefixCls: d,
-      direction: a
-    } = we("typography", e), l = Oe({
-      copied: !1,
-      ellipsisText: "",
-      ellipsisContent: null,
-      isEllipsis: !1,
-      expanded: !1,
-      clientRendered: !1,
-      //locale
-      expandStr: "",
-      copyStr: "",
-      copiedStr: "",
-      editStr: "",
-      copyId: void 0,
-      rafId: void 0,
-      prevProps: void 0,
-      originContent: ""
-    }), m = pe(), C = pe(), y = oe(() => {
-      const r = e.ellipsis;
-      return r ? s({
-        rows: 1,
-        expandable: !1
-      }, typeof r == "object" ? r : null) : {};
-    });
-    fe(() => {
-      l.clientRendered = !0, A();
-    }), nt(() => {
-      clearTimeout(l.copyId), ae.cancel(l.rafId);
-    }), ue([() => y.value.rows, () => e.content], () => {
-      be(() => {
-        O();
-      });
-    }, {
-      flush: "post",
-      deep: !0
-    }), ot(() => {
-      e.content === void 0 && (X(!e.editable, "Typography", "When `editable` is enabled, please use `content` instead of children"), X(!e.ellipsis, "Typography", "When `ellipsis` is enabled, please use `content` instead of children"));
-    });
-    function _() {
-      var r;
-      return e.ellipsis || e.editable ? e.content : (r = se(m.value)) === null || r === void 0 ? void 0 : r.innerText;
-    }
-    function v(r) {
-      const {
-        onExpand: c
-      } = y.value;
-      l.expanded = !0, c == null || c(r);
-    }
-    function S(r) {
-      r.preventDefault(), l.originContent = e.content, b(!0);
-    }
-    function I(r) {
-      N(r), b(!1);
-    }
-    function N(r) {
-      const {
-        onChange: c
-      } = g.value;
-      r !== e.content && (i("update:content", r), c == null || c(r));
-    }
-    function $() {
-      var r, c;
-      (c = (r = g.value).onCancel) === null || c === void 0 || c.call(r), b(!1);
-    }
-    function R(r) {
-      r.preventDefault(), r.stopPropagation();
-      const {
-        copyable: c
-      } = e, p = s({}, typeof c == "object" ? c : null);
-      p.text === void 0 && (p.text = _()), Ot(p.text || ""), l.copied = !0, be(() => {
-        p.onCopy && p.onCopy(r), l.copyId = setTimeout(() => {
-          l.copied = !1;
-        }, 3e3);
-      });
-    }
-    const g = oe(() => {
-      const r = e.editable;
-      return r ? s({}, typeof r == "object" ? r : null) : {
-        editing: !1
-      };
-    }), [u, h] = Ve(!1, {
-      value: oe(() => g.value.editing)
-    });
-    function b(r) {
-      const {
-        onStart: c
-      } = g.value;
-      r && c && c(), h(r);
-    }
-    ue(u, (r) => {
-      var c;
-      r || (c = C.value) === null || c === void 0 || c.focus();
-    }, {
-      flush: "post"
-    });
-    function O(r) {
-      if (r) {
-        const {
-          width: c,
-          height: p
-        } = r;
-        if (!c || !p) return;
-      }
-      ae.cancel(l.rafId), l.rafId = ae(() => {
-        A();
-      });
-    }
-    const H = oe(() => {
-      const {
-        rows: r,
-        expandable: c,
-        suffix: p,
-        onEllipsis: x,
-        tooltip: T
-      } = y.value;
-      return p || T || e.editable || e.copyable || c || x ? !1 : r === 1 ? Nt : _t;
-    }), A = () => {
-      const {
-        ellipsisText: r,
-        isEllipsis: c
-      } = l, {
-        rows: p,
-        suffix: x,
-        onEllipsis: T
-      } = y.value;
-      if (!p || p < 0 || !se(m.value) || l.expanded || e.content === void 0 || H.value) return;
-      const {
-        content: P,
-        text: z,
-        ellipsis: j
-      } = xt(se(m.value), {
-        rows: p,
-        suffix: x
-      }, e.content, ye(!0), Ce);
-      (r !== z || l.isEllipsis !== j) && (l.ellipsisText = z, l.ellipsisContent = P, l.isEllipsis = j, c !== j && T && T(j));
+      prefixCls: i,
+      direction: l,
+      size: d
+    } = B("card", e), [g, T] = Fe(i), b = (p) => p.map((s, h) => pe(s) && !We(s) || !pe(s) ? r("li", {
+      style: {
+        width: `${100 / p.length}%`
+      },
+      key: `action-${h}`
+    }, [r("span", null, [s])]) : null), m = (p) => {
+      var u;
+      (u = e.onTabChange) === null || u === void 0 || u.call(e, p);
+    }, v = function() {
+      let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], u;
+      return p.forEach((s) => {
+        s && Ge(s.type) && s.type.__ANT_CARD_GRID && (u = !0);
+      }), u;
     };
-    function le(r, c) {
-      let {
-        mark: p,
-        code: x,
-        underline: T,
-        delete: P,
-        strong: z,
-        keyboard: j
-      } = r, F = c;
-      function D(ee, k) {
-        if (!ee) return;
-        const te = /* @__PURE__ */ function() {
-          return F;
-        }();
-        F = f(k, null, {
-          default: () => [te]
-        });
-      }
-      return D(z, "strong"), D(T, "u"), D(P, "del"), D(x, "code"), D(p, "mark"), D(j, "kbd"), F;
-    }
-    function L(r) {
-      const {
-        expandable: c,
-        symbol: p
-      } = y.value;
-      if (!c || !r && (l.expanded || !l.isEllipsis)) return null;
-      const x = (o.ellipsisSymbol ? o.ellipsisSymbol() : p) || l.expandStr;
-      return f("a", {
-        key: "expand",
-        class: `${d.value}-expand`,
-        onClick: v,
-        "aria-label": l.expandStr
-      }, [x]);
-    }
-    function U() {
-      if (!e.editable) return;
+    return () => {
+      var p, u, s, h, f, S;
       const {
-        tooltip: r,
-        triggerType: c = ["icon"]
-      } = e.editable, p = o.editableIcon ? o.editableIcon() : f(Qe, {
-        role: "button"
-      }, null), x = o.editableTooltip ? o.editableTooltip() : l.editStr, T = typeof x == "string" ? x : "";
-      return c.indexOf("icon") !== -1 ? f(ce, {
-        key: "edit",
-        title: r === !1 ? "" : x
+        headStyle: H = {},
+        bodyStyle: P = {},
+        loading: k,
+        bordered: A = !0,
+        type: M,
+        tabList: C,
+        hoverable: we,
+        activeTabKey: ie,
+        defaultActiveTabKey: Be,
+        tabBarExtraContent: re = E((p = n.tabBarExtraContent) === null || p === void 0 ? void 0 : p.call(n)),
+        title: X = E((u = n.title) === null || u === void 0 ? void 0 : u.call(n)),
+        extra: K = E((s = n.extra) === null || s === void 0 ? void 0 : s.call(n)),
+        actions: F = E((h = n.actions) === null || h === void 0 ? void 0 : h.call(n)),
+        cover: le = E((f = n.cover) === null || f === void 0 ? void 0 : f.call(n))
+      } = e, R = Ee((S = n.default) === null || S === void 0 ? void 0 : S.call(n)), c = i.value, Te = {
+        [`${c}`]: !0,
+        [T.value]: !0,
+        [`${c}-loading`]: k,
+        [`${c}-bordered`]: A,
+        [`${c}-hoverable`]: !!we,
+        [`${c}-contain-grid`]: v(R),
+        [`${c}-contain-tabs`]: C && C.length,
+        [`${c}-${d.value}`]: d.value,
+        [`${c}-type-${M}`]: !!M,
+        [`${c}-rtl`]: l.value === "rtl"
+      }, He = r($, {
+        loading: !0,
+        active: !0,
+        paragraph: {
+          rows: 4
+        },
+        title: !1
       }, {
-        default: () => [f(ve, {
-          ref: C,
-          class: `${d.value}-edit`,
-          onClick: S,
-          "aria-label": T
-        }, {
-          default: () => [p]
-        })]
+        default: () => [R]
+      }), se = ie !== void 0, Pe = {
+        size: "large",
+        [se ? "activeKey" : "defaultActiveKey"]: se ? ie : Be,
+        onChange: m,
+        class: `${c}-head-tabs`
+      };
+      let de;
+      const ce = C && C.length ? r(be, Pe, {
+        default: () => [C.map((z) => {
+          const {
+            tab: ue,
+            slots: O
+          } = z, ge = O == null ? void 0 : O.tab;
+          Le(!O, "Card", "tabList slots is deprecated, Please use `customTab` instead.");
+          let U = ue !== void 0 ? ue : n[ge] ? n[ge](z) : null;
+          return U = De(n, "customTab", z, () => [U]), r(ut, {
+            tab: U,
+            key: z.key,
+            disabled: z.disabled
+          }, null);
+        })],
+        rightExtra: re ? () => re : null
       }) : null;
-    }
-    function Ne() {
-      if (!e.copyable) return;
-      const {
-        tooltip: r
-      } = e.copyable, c = l.copied ? l.copiedStr : l.copyStr, p = o.copyableTooltip ? o.copyableTooltip({
-        copied: l.copied
-      }) : c, x = typeof p == "string" ? p : "", T = l.copied ? f(Ye, null, null) : f(Ge, null, null), P = o.copyableIcon ? o.copyableIcon({
-        copied: !!l.copied
-      }) : T;
-      return f(ce, {
-        key: "copy",
-        title: r === !1 ? "" : p
-      }, {
-        default: () => [f(ve, {
-          class: [`${d.value}-copy`, {
-            [`${d.value}-copy-success`]: l.copied
-          }],
-          onClick: R,
-          "aria-label": x
-        }, {
-          default: () => [P]
-        })]
-      });
-    }
-    function Ie() {
-      const {
-        class: r,
-        style: c
-      } = t, {
-        maxlength: p,
-        autoSize: x,
-        onEnd: T
-      } = g.value;
-      return f(mt, {
-        class: r,
-        style: c,
-        prefixCls: d.value,
-        value: e.content,
-        originContent: l.originContent,
-        maxlength: p,
-        autoSize: x,
-        onSave: I,
-        onChange: N,
-        onCancel: $,
-        onEnd: T,
-        direction: a.value,
-        component: e.component
-      }, {
-        enterIcon: o.editableEnterIcon
-      });
-    }
-    function ye(r) {
-      return [L(r), U(), Ne()].filter((c) => c);
-    }
+      (X || K || ce) && (de = r("div", {
+        class: `${c}-head`,
+        style: H
+      }, [r("div", {
+        class: `${c}-head-wrapper`
+      }, [X && r("div", {
+        class: `${c}-head-title`
+      }, [X]), K && r("div", {
+        class: `${c}-extra`
+      }, [K])]), ce]));
+      const Ae = le ? r("div", {
+        class: `${c}-cover`
+      }, [le]) : null, Ie = r("div", {
+        class: `${c}-body`,
+        style: P
+      }, [k ? He : R]), Me = F && F.length ? r("ul", {
+        class: `${c}-actions`
+      }, [b(F)]) : null;
+      return g(r("div", w(w({
+        ref: "cardContainerRef"
+      }, a), {}, {
+        class: [Te, a.class]
+      }), [de, Ae, R && R.length ? Ie : null, Me]));
+    };
+  }
+}), pt = () => ({
+  prefixCls: String,
+  title: Y(),
+  description: Y(),
+  avatar: Y()
+}), te = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "ACardMeta",
+  props: pt(),
+  slots: Object,
+  setup(e, t) {
+    let {
+      slots: n
+    } = t;
+    const {
+      prefixCls: a
+    } = B("card", e);
     return () => {
-      var r;
-      const {
-        triggerType: c = ["icon"]
-      } = g.value, p = e.ellipsis || e.editable ? e.content !== void 0 ? e.content : (r = o.default) === null || r === void 0 ? void 0 : r.call(o) : o.default ? o.default() : e.content;
-      return u.value ? Ie() : f(Xe, {
-        componentName: "Text",
-        children: (x) => {
-          const T = s(s({}, e), t), {
-            type: P,
-            disabled: z,
-            content: j,
-            class: F,
-            style: D
-          } = T, ee = kt(T, ["type", "disabled", "content", "class", "style"]), {
-            rows: k,
-            suffix: te,
-            tooltip: re
-          } = y.value, {
-            edit: $e,
-            copy: Pe,
-            copied: De,
-            expand: Be
-          } = x;
-          l.editStr = $e, l.copyStr = Pe, l.copiedStr = De, l.expandStr = Be;
-          const Re = W(ee, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard", "onUpdate:content"]), ne = H.value, Ae = k === 1 && ne, ge = k && k > 1 && ne;
-          let M = p, je;
-          if (k && l.isEllipsis && !l.expanded && !ne) {
-            const {
-              title: me
-            } = ee;
-            let K = me || "";
-            !me && (typeof p == "string" || typeof p == "number") && (K = String(p)), K = K == null ? void 0 : K.slice(String(l.ellipsisContent || "").length), M = f(he, null, [it(l.ellipsisContent), f("span", {
-              title: K,
-              "aria-hidden": "true"
-            }, [Ce]), te]);
-          } else
-            M = f(he, null, [p, te]);
-          M = le(e, M);
-          const He = re && k && l.isEllipsis && !l.expanded && !ne, Le = o.ellipsisTooltip ? o.ellipsisTooltip() : re;
-          return f(qe, {
-            onResize: O,
-            disabled: !k
-          }, {
-            default: () => [f(E, B({
-              ref: m,
-              class: [{
-                [`${d.value}-${P}`]: P,
-                [`${d.value}-disabled`]: z,
-                [`${d.value}-ellipsis`]: k,
-                [`${d.value}-single-line`]: k === 1 && !l.isEllipsis,
-                [`${d.value}-ellipsis-single-line`]: Ae,
-                [`${d.value}-ellipsis-multiple-line`]: ge
-              }, F],
-              style: s(s({}, D), {
-                WebkitLineClamp: ge ? k : void 0
-              }),
-              "aria-label": je,
-              direction: a.value,
-              onClick: c.indexOf("text") !== -1 ? S : () => {
-              }
-            }, Re), {
-              default: () => [He ? f(ce, {
-                title: re === !0 ? p : Le
-              }, {
-                default: () => [f("span", null, [M])]
-              }) : M, ye()]
-            })]
-          });
-        }
-      }, null);
+      const i = {
+        [`${a.value}-meta`]: !0
+      }, l = V(n, e, "avatar"), d = V(n, e, "title"), g = V(n, e, "description"), T = l ? r("div", {
+        class: `${a.value}-meta-avatar`
+      }, [l]) : null, b = d ? r("div", {
+        class: `${a.value}-meta-title`
+      }, [d]) : null, m = g ? r("div", {
+        class: `${a.value}-meta-description`
+      }, [g]) : null, v = b || m ? r("div", {
+        class: `${a.value}-meta-detail`
+      }, [b, m]) : null;
+      return r("div", {
+        class: i
+      }, [T, v]);
     };
   }
-});
-var It = function(e, n) {
-  var o = {};
-  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
-  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
-    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
-  return o;
-};
-const $t = () => W(s(s({}, q()), {
-  ellipsis: {
+}), $t = () => ({
+  prefixCls: String,
+  hoverable: {
     type: Boolean,
-    default: void 0
+    default: !0
   }
-}), ["component"]), Y = (e, n) => {
-  let {
-    slots: o,
-    attrs: t
-  } = n;
-  const i = s(s({}, e), t), {
-    ellipsis: d,
-    rel: a
-  } = i, l = It(i, ["ellipsis", "rel"]);
-  X(typeof d != "object", "Typography.Link", "`ellipsis` only supports boolean value.");
-  const m = s(s({}, l), {
-    rel: a === void 0 && l.target === "_blank" ? "noopener noreferrer" : a,
-    ellipsis: !!d,
-    component: "a"
-  });
-  return delete m.navigate, f(Q, m, o);
-};
-Y.displayName = "ATypographyLink";
-Y.inheritAttrs = !1;
-Y.props = $t();
-const Pt = () => W(q(), ["component"]), G = (e, n) => {
-  let {
-    slots: o,
-    attrs: t
-  } = n;
-  const i = s(s(s({}, e), {
-    component: "div"
-  }), t);
-  return f(Q, i, o);
-};
-G.displayName = "ATypographyParagraph";
-G.inheritAttrs = !1;
-G.props = Pt();
-const Dt = () => s(s({}, W(q(), ["component"])), {
-  ellipsis: {
-    type: [Boolean, Object],
-    default: void 0
+}), ne = y({
+  compatConfig: {
+    MODE: 3
+  },
+  name: "ACardGrid",
+  __ANT_CARD_GRID: !0,
+  props: $t(),
+  setup(e, t) {
+    let {
+      slots: n
+    } = t;
+    const {
+      prefixCls: a
+    } = B("card", e), i = G(() => ({
+      [`${a.value}-grid`]: !0,
+      [`${a.value}-grid-hoverable`]: e.hoverable
+    }));
+    return () => {
+      var l;
+      return r("div", {
+        class: i.value
+      }, [(l = n.default) === null || l === void 0 ? void 0 : l.call(n)]);
+    };
   }
-}), J = (e, n) => {
-  let {
-    slots: o,
-    attrs: t
-  } = n;
-  const {
-    ellipsis: i
-  } = e;
-  X(typeof i != "object" || !i || !("expandable" in i) && !("rows" in i), "Typography.Text", "`ellipsis` do not support `expandable` or `rows` props.");
-  const d = s(s(s({}, e), {
-    ellipsis: i && typeof i == "object" ? W(i, ["expandable", "rows"]) : i,
-    component: "span"
-  }), t);
-  return f(Q, d, o);
-};
-J.displayName = "ATypographyText";
-J.inheritAttrs = !1;
-J.props = Dt();
-var Bt = function(e, n) {
-  var o = {};
-  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
-  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
-    n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
-  return o;
-};
-const Rt = Je(1, 2, 3, 4, 5), At = () => s(s({}, W(q(), ["component", "strong"])), {
-  level: Number
-}), Z = (e, n) => {
-  let {
-    slots: o,
-    attrs: t
-  } = n;
-  const {
-    level: i = 1
-  } = e, d = Bt(e, ["level"]);
-  let a;
-  Rt.includes(i) ? a = `h${i}` : (X(!1, "Typography", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value."), a = "h1");
-  const l = s(s(s({}, d), {
-    component: a
-  }), t);
-  return f(Q, l, o);
-};
-Z.displayName = "ATypographyTitle";
-Z.inheritAttrs = !1;
-Z.props = At();
-E.Text = J;
-E.Title = Z;
-E.Paragraph = G;
-E.Link = Y;
-E.Base = Q;
-E.install = function(e) {
-  return e.component(E.name, E), e.component(E.Text.displayName, J), e.component(E.Title.displayName, Z), e.component(E.Paragraph.displayName, G), e.component(E.Link.displayName, Y), e;
+});
+D.Meta = te;
+D.Grid = ne;
+D.install = function(e) {
+  return e.component(D.name, D), e.component(te.name, te), e.component(ne.name, ne), e;
 };
 export {
-  G as P,
-  Z as T,
-  J as a
+  D as C,
+  $ as S,
+  ne as _
 };

+ 156 - 1122
lib/js/index19.js

@@ -1,1166 +1,200 @@
-import { g as he, m as me, d as o, r as Re, cP as N, t as ve, c as x, cy as ze, u as B, i as ae, _ as w, o as fe, dW as E, bO as Ee, h as Le, dX as De, b2 as Ge, dY as We, P as L, bT as U, dZ as Y } from "./index2.js";
-import { defineComponent as y, createVNode as r, computed as G, isVNode as pe } from "vue";
-import { T as be } from "./index13.js";
-const _e = (e) => {
+import { g as S, m as w, d as s, r as z, b as y, u as C, bP as M, _ as u } from "./index2.js";
+import { defineComponent as B, computed as d, createVNode as f } from "vue";
+const I = (t) => {
   const {
-    antCls: t,
-    componentCls: n,
-    cardHeadHeight: a,
-    cardPaddingBase: i,
-    cardHeadTabsMarginBottom: l
-  } = e;
-  return o(o({
-    display: "flex",
-    justifyContent: "center",
-    flexDirection: "column",
-    minHeight: a,
-    marginBottom: -1,
-    padding: `0 ${i}px`,
-    color: e.colorTextHeading,
-    fontWeight: e.fontWeightStrong,
-    fontSize: e.fontSizeLG,
-    background: "transparent",
-    borderBottom: `${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,
-    borderRadius: `${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`
-  }, N()), {
-    "&-wrapper": {
-      width: "100%",
-      display: "flex",
-      alignItems: "center"
-    },
-    "&-title": o(o({
-      display: "inline-block",
-      flex: 1
-    }, ve), {
-      [`
-          > ${n}-typography,
-          > ${n}-typography-edit-content
-        `]: {
-        insetInlineStart: 0,
-        marginTop: 0,
-        marginBottom: 0
-      }
-    }),
-    [`${t}-tabs-top`]: {
-      clear: "both",
-      marginBottom: l,
-      color: e.colorText,
-      fontWeight: "normal",
-      fontSize: e.fontSize,
-      "&-bar": {
-        borderBottom: `${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`
-      }
-    }
-  });
-}, ke = (e) => {
-  const {
-    cardPaddingBase: t,
-    colorBorderSecondary: n,
-    cardShadow: a,
+    componentCls: e,
+    sizePaddingEdgeHorizontal: o,
+    colorSplit: r,
     lineWidth: i
-  } = e;
+  } = t;
   return {
-    width: "33.33%",
-    padding: t,
-    border: 0,
-    borderRadius: 0,
-    boxShadow: `
-      ${i}px 0 0 0 ${n},
-      0 ${i}px 0 0 ${n},
-      ${i}px ${i}px 0 0 ${n},
-      ${i}px 0 0 0 ${n} inset,
-      0 ${i}px 0 0 ${n} inset;
-    `,
-    transition: `all ${e.motionDurationMid}`,
-    "&-hoverable:hover": {
-      position: "relative",
-      zIndex: 1,
-      boxShadow: a
-    }
-  };
-}, Oe = (e) => {
-  const {
-    componentCls: t,
-    iconCls: n,
-    cardActionsLiMargin: a,
-    cardActionsIconSize: i,
-    colorBorderSecondary: l
-  } = e;
-  return o(o({
-    margin: 0,
-    padding: 0,
-    listStyle: "none",
-    background: e.colorBgContainer,
-    borderTop: `${e.lineWidth}px ${e.lineType} ${l}`,
-    display: "flex",
-    borderRadius: `0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `
-  }, N()), {
-    "& > li": {
-      margin: a,
-      color: e.colorTextDescription,
-      textAlign: "center",
-      "> span": {
+    [e]: s(s({}, z(t)), {
+      borderBlockStart: `${i}px solid ${r}`,
+      // vertical
+      "&-vertical": {
         position: "relative",
-        display: "block",
-        minWidth: e.cardActionsIconSize * 2,
-        fontSize: e.fontSize,
-        lineHeight: e.lineHeight,
-        cursor: "pointer",
-        "&:hover": {
-          color: e.colorPrimary,
-          transition: `color ${e.motionDurationMid}`
-        },
-        [`a:not(${t}-btn), > ${n}`]: {
-          display: "inline-block",
-          width: "100%",
-          color: e.colorTextDescription,
-          lineHeight: `${e.fontSize * e.lineHeight}px`,
-          transition: `color ${e.motionDurationMid}`,
-          "&:hover": {
-            color: e.colorPrimary
-          }
-        },
-        [`> ${n}`]: {
-          fontSize: i,
-          lineHeight: `${i * e.lineHeight}px`
-        }
+        top: "-0.06em",
+        display: "inline-block",
+        height: "0.9em",
+        margin: `0 ${t.dividerVerticalGutterMargin}px`,
+        verticalAlign: "middle",
+        borderTop: 0,
+        borderInlineStart: `${i}px solid ${r}`
       },
-      "&:not(:last-child)": {
-        borderInlineEnd: `${e.lineWidth}px ${e.lineType} ${l}`
-      }
-    }
-  });
-}, Ne = (e) => o(o({
-  margin: `-${e.marginXXS}px 0`,
-  display: "flex"
-}, N()), {
-  "&-avatar": {
-    paddingInlineEnd: e.padding
-  },
-  "&-detail": {
-    overflow: "hidden",
-    flex: 1,
-    "> div:not(:last-child)": {
-      marginBottom: e.marginXS
-    }
-  },
-  "&-title": o({
-    color: e.colorTextHeading,
-    fontWeight: e.fontWeightStrong,
-    fontSize: e.fontSizeLG
-  }, ve),
-  "&-description": {
-    color: e.colorTextDescription
-  }
-}), je = (e) => {
-  const {
-    componentCls: t,
-    cardPaddingBase: n,
-    colorFillAlter: a
-  } = e;
-  return {
-    [`${t}-head`]: {
-      padding: `0 ${n}px`,
-      background: a,
-      "&-title": {
-        fontSize: e.fontSize
-      }
-    },
-    [`${t}-body`]: {
-      padding: `${e.padding}px ${n}px`
-    }
-  };
-}, qe = (e) => {
-  const {
-    componentCls: t
-  } = e;
-  return {
-    overflow: "hidden",
-    [`${t}-body`]: {
-      userSelect: "none"
-    }
-  };
-}, Xe = (e) => {
-  const {
-    componentCls: t,
-    cardShadow: n,
-    cardHeadPadding: a,
-    colorBorderSecondary: i,
-    boxShadow: l,
-    cardPaddingBase: d
-  } = e;
-  return {
-    [t]: o(o({}, Re(e)), {
-      position: "relative",
-      background: e.colorBgContainer,
-      borderRadius: e.borderRadiusLG,
-      [`&:not(${t}-bordered)`]: {
-        boxShadow: l
+      "&-horizontal": {
+        display: "flex",
+        clear: "both",
+        width: "100%",
+        minWidth: "100%",
+        margin: `${t.dividerHorizontalGutterMargin}px 0`
       },
-      [`${t}-head`]: _e(e),
-      [`${t}-extra`]: {
-        // https://stackoverflow.com/a/22429853/3040605
-        marginInlineStart: "auto",
-        color: "",
-        fontWeight: "normal",
-        fontSize: e.fontSize
+      [`&-horizontal${e}-with-text`]: {
+        display: "flex",
+        alignItems: "center",
+        margin: `${t.dividerHorizontalWithTextGutterMargin}px 0`,
+        color: t.colorTextHeading,
+        fontWeight: 500,
+        fontSize: t.fontSizeLG,
+        whiteSpace: "nowrap",
+        textAlign: "center",
+        borderBlockStart: `0 ${r}`,
+        "&::before, &::after": {
+          position: "relative",
+          width: "50%",
+          borderBlockStart: `${i}px solid transparent`,
+          // Chrome not accept `inherit` in `border-top`
+          borderBlockStartColor: "inherit",
+          borderBlockEnd: 0,
+          transform: "translateY(50%)",
+          content: "''"
+        }
       },
-      [`${t}-body`]: o({
-        padding: d,
-        borderRadius: ` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`
-      }, N()),
-      [`${t}-grid`]: ke(e),
-      [`${t}-cover`]: {
-        "> *": {
-          display: "block",
-          width: "100%"
+      [`&-horizontal${e}-with-text-left`]: {
+        "&::before": {
+          width: "5%"
         },
-        img: {
-          borderRadius: `${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`
+        "&::after": {
+          width: "95%"
         }
       },
-      [`${t}-actions`]: Oe(e),
-      [`${t}-meta`]: Ne(e)
-    }),
-    [`${t}-bordered`]: {
-      border: `${e.lineWidth}px ${e.lineType} ${i}`,
-      [`${t}-cover`]: {
-        marginTop: -1,
-        marginInlineStart: -1,
-        marginInlineEnd: -1
-      }
-    },
-    [`${t}-hoverable`]: {
-      cursor: "pointer",
-      transition: `box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,
-      "&:hover": {
-        borderColor: "transparent",
-        boxShadow: n
-      }
-    },
-    [`${t}-contain-grid`]: {
-      [`${t}-body`]: {
-        display: "flex",
-        flexWrap: "wrap"
-      },
-      [`&:not(${t}-loading) ${t}-body`]: {
-        marginBlockStart: -e.lineWidth,
-        marginInlineStart: -e.lineWidth,
-        padding: 0
-      }
-    },
-    [`${t}-contain-tabs`]: {
-      [`> ${t}-head`]: {
-        [`${t}-head-title, ${t}-extra`]: {
-          paddingTop: a
-        }
-      }
-    },
-    [`${t}-type-inner`]: je(e),
-    [`${t}-loading`]: qe(e),
-    [`${t}-rtl`]: {
-      direction: "rtl"
-    }
-  };
-}, Ke = (e) => {
-  const {
-    componentCls: t,
-    cardPaddingSM: n,
-    cardHeadHeightSM: a
-  } = e;
-  return {
-    [`${t}-small`]: {
-      [`> ${t}-head`]: {
-        minHeight: a,
-        padding: `0 ${n}px`,
-        fontSize: e.fontSize,
-        [`> ${t}-head-wrapper`]: {
-          [`> ${t}-extra`]: {
-            fontSize: e.fontSize
-          }
+      [`&-horizontal${e}-with-text-right`]: {
+        "&::before": {
+          width: "95%"
+        },
+        "&::after": {
+          width: "5%"
         }
       },
-      [`> ${t}-body`]: {
-        padding: n
-      }
-    },
-    [`${t}-small${t}-contain-tabs`]: {
-      [`> ${t}-head`]: {
-        [`${t}-head-title, ${t}-extra`]: {
-          minHeight: a,
-          paddingTop: 0,
-          display: "flex",
-          alignItems: "center"
-        }
-      }
-    }
-  };
-}, Fe = he("Card", (e) => {
-  const t = me(e, {
-    cardShadow: e.boxShadowCard,
-    cardHeadHeight: e.fontSizeLG * e.lineHeightLG + e.padding * 2,
-    cardHeadHeightSM: e.fontSize * e.lineHeight + e.paddingXS * 2,
-    cardHeadPadding: e.padding,
-    cardPaddingBase: e.paddingLG,
-    cardHeadTabsMarginBottom: -e.padding - e.lineWidth,
-    cardActionsLiMargin: `${e.paddingSM}px 0`,
-    cardActionsIconSize: e.fontSize,
-    cardPaddingSM: 12
-    // Fixed padding.
-  });
-  return [
-    // Style
-    Xe(t),
-    // Size
-    Ke(t)
-  ];
-}), Ve = () => ({
-  prefixCls: String,
-  width: {
-    type: [Number, String]
-  }
-}), oe = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "SkeletonTitle",
-  props: Ve(),
-  setup(e) {
-    return () => {
-      const {
-        prefixCls: t,
-        width: n
-      } = e, a = typeof n == "number" ? `${n}px` : n;
-      return r("h3", {
-        class: t,
-        style: {
-          width: a
+      [`${e}-inner-text`]: {
+        display: "inline-block",
+        padding: "0 1em"
+      },
+      "&-dashed": {
+        background: "none",
+        borderColor: r,
+        borderStyle: "dashed",
+        borderWidth: `${i}px 0 0`
+      },
+      [`&-horizontal${e}-with-text${e}-dashed`]: {
+        "&::before, &::after": {
+          borderStyle: "dashed none none"
         }
-      }, null);
-    };
-  }
-}), Ue = () => ({
-  prefixCls: String,
-  width: {
-    type: [Number, String, Array]
-  },
-  rows: Number
-}), Ye = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "SkeletonParagraph",
-  props: Ue(),
-  setup(e) {
-    const t = (n) => {
-      const {
-        width: a,
-        rows: i = 2
-      } = e;
-      if (Array.isArray(a))
-        return a[n];
-      if (i - 1 === n)
-        return a;
-    };
-    return () => {
-      const {
-        prefixCls: n,
-        rows: a
-      } = e, i = [...Array(a)].map((l, d) => {
-        const g = t(d);
-        return r("li", {
-          key: d,
-          style: {
-            width: typeof g == "number" ? `${g}px` : g
-          }
-        }, null);
-      });
-      return r("ul", {
-        class: n
-      }, [i]);
-    };
-  }
-}), j = () => ({
-  prefixCls: String,
-  size: [String, Number],
-  shape: String,
-  active: {
-    type: Boolean,
-    default: void 0
-  }
-}), W = (e) => {
-  const {
-    prefixCls: t,
-    size: n,
-    shape: a
-  } = e, i = x({
-    [`${t}-lg`]: n === "large",
-    [`${t}-sm`]: n === "small"
-  }), l = x({
-    [`${t}-circle`]: a === "circle",
-    [`${t}-square`]: a === "square",
-    [`${t}-round`]: a === "round"
-  }), d = typeof n == "number" ? {
-    width: `${n}px`,
-    height: `${n}px`,
-    lineHeight: `${n}px`
-  } : {};
-  return r("span", {
-    class: x(t, i, l),
-    style: d
-  }, null);
-};
-W.displayName = "SkeletonElement";
-const Ze = new ze("ant-skeleton-loading", {
-  "0%": {
-    transform: "translateX(-37.5%)"
-  },
-  "100%": {
-    transform: "translateX(37.5%)"
-  }
-}), q = (e) => ({
-  height: e,
-  lineHeight: `${e}px`
-}), M = (e) => o({
-  width: e
-}, q(e)), Je = (e) => ({
-  position: "relative",
-  // fix https://github.com/ant-design/ant-design/issues/36444
-  // https://monshin.github.io/202109/css/safari-border-radius-overflow-hidden/
-  /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */
-  zIndex: 0,
-  overflow: "hidden",
-  background: "transparent",
-  "&::after": {
-    position: "absolute",
-    top: 0,
-    insetInlineEnd: "-150%",
-    bottom: 0,
-    insetInlineStart: "-150%",
-    background: e.skeletonLoadingBackground,
-    animationName: Ze,
-    animationDuration: e.skeletonLoadingMotionDuration,
-    animationTimingFunction: "ease",
-    animationIterationCount: "infinite",
-    content: '""'
-  }
-}), Z = (e) => o({
-  width: e * 5,
-  minWidth: e * 5
-}, q(e)), Qe = (e) => {
-  const {
-    skeletonAvatarCls: t,
-    color: n,
-    controlHeight: a,
-    controlHeightLG: i,
-    controlHeightSM: l
-  } = e;
-  return {
-    [`${t}`]: o({
-      display: "inline-block",
-      verticalAlign: "top",
-      background: n
-    }, M(a)),
-    [`${t}${t}-circle`]: {
-      borderRadius: "50%"
-    },
-    [`${t}${t}-lg`]: o({}, M(i)),
-    [`${t}${t}-sm`]: o({}, M(l))
-  };
-}, et = (e) => {
-  const {
-    controlHeight: t,
-    borderRadiusSM: n,
-    skeletonInputCls: a,
-    controlHeightLG: i,
-    controlHeightSM: l,
-    color: d
-  } = e;
-  return {
-    [`${a}`]: o({
-      display: "inline-block",
-      verticalAlign: "top",
-      background: d,
-      borderRadius: n
-    }, Z(t)),
-    [`${a}-lg`]: o({}, Z(i)),
-    [`${a}-sm`]: o({}, Z(l))
-  };
-}, $e = (e) => o({
-  width: e
-}, q(e)), tt = (e) => {
-  const {
-    skeletonImageCls: t,
-    imageSizeBase: n,
-    color: a,
-    borderRadiusSM: i
-  } = e;
-  return {
-    [`${t}`]: o(o({
-      display: "flex",
-      alignItems: "center",
-      justifyContent: "center",
-      verticalAlign: "top",
-      background: a,
-      borderRadius: i
-    }, $e(n * 2)), {
-      [`${t}-path`]: {
-        fill: "#bfbfbf"
       },
-      [`${t}-svg`]: o(o({}, $e(n)), {
-        maxWidth: n * 4,
-        maxHeight: n * 4
-      }),
-      [`${t}-svg${t}-svg-circle`]: {
-        borderRadius: "50%"
-      }
-    }),
-    [`${t}${t}-circle`]: {
-      borderRadius: "50%"
-    }
-  };
-}, J = (e, t, n) => {
-  const {
-    skeletonButtonCls: a
-  } = e;
-  return {
-    [`${n}${a}-circle`]: {
-      width: t,
-      minWidth: t,
-      borderRadius: "50%"
-    },
-    [`${n}${a}-round`]: {
-      borderRadius: t
-    }
-  };
-}, Q = (e) => o({
-  width: e * 2,
-  minWidth: e * 2
-}, q(e)), nt = (e) => {
-  const {
-    borderRadiusSM: t,
-    skeletonButtonCls: n,
-    controlHeight: a,
-    controlHeightLG: i,
-    controlHeightSM: l,
-    color: d
-  } = e;
-  return o(o(o(o(o({
-    [`${n}`]: o({
-      display: "inline-block",
-      verticalAlign: "top",
-      background: d,
-      borderRadius: t,
-      width: a * 2,
-      minWidth: a * 2
-    }, Q(a))
-  }, J(e, a, n)), {
-    [`${n}-lg`]: o({}, Q(i))
-  }), J(e, i, `${n}-lg`)), {
-    [`${n}-sm`]: o({}, Q(l))
-  }), J(e, l, `${n}-sm`));
-}, at = (e) => {
-  const {
-    componentCls: t,
-    skeletonAvatarCls: n,
-    skeletonTitleCls: a,
-    skeletonParagraphCls: i,
-    skeletonButtonCls: l,
-    skeletonInputCls: d,
-    skeletonImageCls: g,
-    controlHeight: T,
-    controlHeightLG: b,
-    controlHeightSM: m,
-    color: v,
-    padding: p,
-    marginSM: u,
-    borderRadius: s,
-    skeletonTitleHeight: h,
-    skeletonBlockRadius: f,
-    skeletonParagraphLineHeight: S,
-    controlHeightXS: H,
-    skeletonParagraphMarginTop: A
-  } = e;
-  return {
-    [`${t}`]: {
-      display: "table",
-      width: "100%",
-      [`${t}-header`]: {
-        display: "table-cell",
-        paddingInlineEnd: p,
-        verticalAlign: "top",
-        // Avatar
-        [`${n}`]: o({
-          display: "inline-block",
-          verticalAlign: "top",
-          background: v
-        }, M(T)),
-        [`${n}-circle`]: {
-          borderRadius: "50%"
-        },
-        [`${n}-lg`]: o({}, M(b)),
-        [`${n}-sm`]: o({}, M(m))
+      [`&-vertical${e}-dashed`]: {
+        borderInlineStartWidth: i,
+        borderInlineEnd: 0,
+        borderBlockStart: 0,
+        borderBlockEnd: 0
       },
-      [`${t}-content`]: {
-        display: "table-cell",
-        width: "100%",
-        verticalAlign: "top",
-        // Title
-        [`${a}`]: {
-          width: "100%",
-          height: h,
-          background: v,
-          borderRadius: f,
-          [`+ ${i}`]: {
-            marginBlockStart: m
-          }
+      [`&-plain${e}-with-text`]: {
+        color: t.colorText,
+        fontWeight: "normal",
+        fontSize: t.fontSize
+      },
+      [`&-horizontal${e}-with-text-left${e}-no-default-orientation-margin-left`]: {
+        "&::before": {
+          width: 0
         },
-        // paragraph
-        [`${i}`]: {
-          padding: 0,
-          "> li": {
-            width: "100%",
-            height: S,
-            listStyle: "none",
-            background: v,
-            borderRadius: f,
-            "+ li": {
-              marginBlockStart: H
-            }
-          }
+        "&::after": {
+          width: "100%"
         },
-        [`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]: {
-          width: "61%"
+        [`${e}-inner-text`]: {
+          paddingInlineStart: o
         }
       },
-      [`&-round ${t}-content`]: {
-        [`${a}, ${i} > li`]: {
-          borderRadius: s
-        }
-      }
-    },
-    [`${t}-with-avatar ${t}-content`]: {
-      // Title
-      [`${a}`]: {
-        marginBlockStart: u,
-        [`+ ${i}`]: {
-          marginBlockStart: A
+      [`&-horizontal${e}-with-text-right${e}-no-default-orientation-margin-right`]: {
+        "&::before": {
+          width: "100%"
+        },
+        "&::after": {
+          width: 0
+        },
+        [`${e}-inner-text`]: {
+          paddingInlineEnd: o
         }
       }
-    },
-    // Skeleton element
-    [`${t}${t}-element`]: o(o(o(o({
-      display: "inline-block",
-      width: "auto"
-    }, nt(e)), Qe(e)), et(e)), tt(e)),
-    // Skeleton Block Button, Input
-    [`${t}${t}-block`]: {
-      width: "100%",
-      [`${l}`]: {
-        width: "100%"
-      },
-      [`${d}`]: {
-        width: "100%"
-      }
-    },
-    // With active animation
-    [`${t}${t}-active`]: {
-      [`
-        ${a},
-        ${i} > li,
-        ${n},
-        ${l},
-        ${d},
-        ${g}
-      `]: o({}, Je(e))
-    }
+    })
   };
-}, _ = he("Skeleton", (e) => {
-  const {
-    componentCls: t
-  } = e, n = me(e, {
-    skeletonAvatarCls: `${t}-avatar`,
-    skeletonTitleCls: `${t}-title`,
-    skeletonParagraphCls: `${t}-paragraph`,
-    skeletonButtonCls: `${t}-button`,
-    skeletonInputCls: `${t}-input`,
-    skeletonImageCls: `${t}-image`,
-    imageSizeBase: e.controlHeight * 1.5,
-    skeletonTitleHeight: e.controlHeight / 2,
-    skeletonBlockRadius: e.borderRadiusSM,
-    skeletonParagraphLineHeight: e.controlHeight / 2,
-    skeletonParagraphMarginTop: e.marginLG + e.marginXXS,
-    borderRadius: 100,
-    skeletonLoadingBackground: `linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,
-    skeletonLoadingMotionDuration: "1.4s"
+}, _ = S("Divider", (t) => {
+  const e = w(t, {
+    dividerVerticalGutterMargin: t.marginXS,
+    dividerHorizontalWithTextGutterMargin: t.margin,
+    dividerHorizontalGutterMargin: t.marginLG
   });
-  return [at(n)];
-}, (e) => {
-  const {
-    colorFillContent: t,
-    colorFill: n
-  } = e;
-  return {
-    color: t,
-    colorGradientEnd: n
-  };
-}), ot = () => ({
-  active: {
-    type: Boolean,
-    default: void 0
-  },
-  loading: {
-    type: Boolean,
-    default: void 0
-  },
-  prefixCls: String,
-  avatar: {
-    type: [Boolean, Object],
-    default: void 0
-  },
-  title: {
-    type: [Boolean, Object],
-    default: void 0
-  },
-  paragraph: {
-    type: [Boolean, Object],
-    default: void 0
-  },
-  round: {
-    type: Boolean,
-    default: void 0
-  }
-});
-function ee(e) {
-  return e && typeof e == "object" ? e : {};
-}
-function it(e, t) {
-  return e && !t ? {
-    size: "large",
-    shape: "square"
-  } : {
-    size: "large",
-    shape: "circle"
-  };
-}
-function rt(e, t) {
-  return !e && t ? {
-    width: "38%"
-  } : e && t ? {
-    width: "50%"
-  } : {};
-}
-function lt(e, t) {
-  const n = {};
-  return (!e || !t) && (n.width = "61%"), !e && t ? n.rows = 3 : n.rows = 2, n;
-}
-const $ = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ASkeleton",
-  props: ae(ot(), {
-    avatar: !1,
-    title: !0,
-    paragraph: !0
-  }),
-  setup(e, t) {
-    let {
-      slots: n
-    } = t;
-    const {
-      prefixCls: a,
-      direction: i
-    } = B("skeleton", e), [l, d] = _(a);
-    return () => {
-      var g;
-      const {
-        loading: T,
-        avatar: b,
-        title: m,
-        paragraph: v,
-        active: p,
-        round: u
-      } = e, s = a.value;
-      if (T || e.loading === void 0) {
-        const h = !!b || b === "", f = !!m || m === "", S = !!v || v === "";
-        let H;
-        if (h) {
-          const I = o(o({
-            prefixCls: `${s}-avatar`
-          }, it(f, S)), ee(b));
-          H = r("div", {
-            class: `${s}-header`
-          }, [r(W, I, null)]);
-        }
-        let A;
-        if (f || S) {
-          let I;
-          if (f) {
-            const C = o(o({
-              prefixCls: `${s}-title`
-            }, rt(h, S)), ee(m));
-            I = r(oe, C, null);
-          }
-          let P;
-          if (S) {
-            const C = o(o({
-              prefixCls: `${s}-paragraph`
-            }, lt(h, f)), ee(v));
-            P = r(Ye, C, null);
-          }
-          A = r("div", {
-            class: `${s}-content`
-          }, [I, P]);
-        }
-        const k = x(s, {
-          [`${s}-with-avatar`]: h,
-          [`${s}-active`]: p,
-          [`${s}-rtl`]: i.value === "rtl",
-          [`${s}-round`]: u,
-          [d.value]: !0
-        });
-        return l(r("div", {
-          class: k
-        }, [H, A]));
-      }
-      return (g = n.default) === null || g === void 0 ? void 0 : g.call(n);
-    };
-  }
-}), st = () => o(o({}, j()), {
-  size: String,
-  block: Boolean
-}), Se = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ASkeletonButton",
-  props: ae(st(), {
-    size: "default"
-  }),
-  setup(e) {
-    const {
-      prefixCls: t
-    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, {
-      [`${t.value}-active`]: e.active,
-      [`${t.value}-block`]: e.block
-    }, a.value));
-    return () => n(r("div", {
-      class: i.value
-    }, [r(W, w(w({}, e), {}, {
-      prefixCls: `${t.value}-button`
-    }), null)]));
-  }
-}), ye = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ASkeletonInput",
-  props: o(o({}, fe(j(), ["shape"])), {
-    size: String,
-    block: Boolean
-  }),
-  setup(e) {
-    const {
-      prefixCls: t
-    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, {
-      [`${t.value}-active`]: e.active,
-      [`${t.value}-block`]: e.block
-    }, a.value));
-    return () => n(r("div", {
-      class: i.value
-    }, [r(W, w(w({}, e), {}, {
-      prefixCls: `${t.value}-input`
-    }), null)]));
-  }
-}), dt = "M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z", Ce = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ASkeletonImage",
-  props: fe(j(), ["size", "shape", "active"]),
-  setup(e) {
-    const {
-      prefixCls: t
-    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, a.value));
-    return () => n(r("div", {
-      class: i.value
-    }, [r("div", {
-      class: `${t.value}-image`
-    }, [r("svg", {
-      viewBox: "0 0 1098 1024",
-      xmlns: "http://www.w3.org/2000/svg",
-      class: `${t.value}-image-svg`
-    }, [r("path", {
-      d: dt,
-      class: `${t.value}-image-path`
-    }, null)])])]));
-  }
-}), ct = () => o(o({}, j()), {
-  shape: String
-}), xe = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ASkeletonAvatar",
-  props: ae(ct(), {
-    size: "default",
-    shape: "circle"
-  }),
-  setup(e) {
-    const {
-      prefixCls: t
-    } = B("skeleton", e), [n, a] = _(t), i = G(() => x(t.value, `${t.value}-element`, {
-      [`${t.value}-active`]: e.active
-    }, a.value));
-    return () => n(r("div", {
-      class: i.value
-    }, [r(W, w(w({}, e), {}, {
-      prefixCls: `${t.value}-avatar`
-    }), null)]));
-  }
-});
-$.Button = Se;
-$.Avatar = xe;
-$.Input = ye;
-$.Image = Ce;
-$.Title = oe;
-$.install = function(e) {
-  return e.component($.name, $), e.component($.Button.name, Se), e.component($.Avatar.name, xe), e.component($.Input.name, ye), e.component($.Image.name, Ce), e.component($.Title.name, oe), e;
-};
-const {
-  TabPane: ut
-} = be, gt = () => ({
+  return [I(e)];
+}, {
+  sizePaddingEdgeHorizontal: 0
+}), G = () => ({
   prefixCls: String,
-  title: L.any,
-  extra: L.any,
-  bordered: {
-    type: Boolean,
-    default: !0
-  },
-  bodyStyle: {
-    type: Object,
-    default: void 0
-  },
-  headStyle: {
-    type: Object,
-    default: void 0
+  type: {
+    type: String,
+    default: "horizontal"
   },
-  loading: {
+  dashed: {
     type: Boolean,
     default: !1
   },
-  hoverable: {
+  orientation: {
+    type: String,
+    default: "center"
+  },
+  plain: {
     type: Boolean,
     default: !1
   },
-  type: {
-    type: String
-  },
-  size: {
-    type: String
-  },
-  actions: L.any,
-  tabList: {
-    type: Array
-  },
-  tabBarExtraContent: L.any,
-  activeTabKey: String,
-  defaultActiveTabKey: String,
-  cover: L.any,
-  onTabChange: {
-    type: Function
-  }
-}), D = y({
+  orientationMargin: [String, Number]
+}), H = B({
+  name: "ADivider",
+  inheritAttrs: !1,
   compatConfig: {
     MODE: 3
   },
-  name: "ACard",
-  inheritAttrs: !1,
-  props: gt(),
-  slots: Object,
-  setup(e, t) {
+  props: G(),
+  setup(t, e) {
     let {
-      slots: n,
-      attrs: a
-    } = t;
+      slots: o,
+      attrs: r
+    } = e;
     const {
       prefixCls: i,
-      direction: l,
-      size: d
-    } = B("card", e), [g, T] = Fe(i), b = (p) => p.map((s, h) => pe(s) && !We(s) || !pe(s) ? r("li", {
-      style: {
-        width: `${100 / p.length}%`
-      },
-      key: `action-${h}`
-    }, [r("span", null, [s])]) : null), m = (p) => {
-      var u;
-      (u = e.onTabChange) === null || u === void 0 || u.call(e, p);
-    }, v = function() {
-      let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], u;
-      return p.forEach((s) => {
-        s && Ge(s.type) && s.type.__ANT_CARD_GRID && (u = !0);
-      }), u;
-    };
-    return () => {
-      var p, u, s, h, f, S;
+      direction: m
+    } = C("divider", t), [v, h] = _(i), g = d(() => t.orientation === "left" && t.orientationMargin != null), c = d(() => t.orientation === "right" && t.orientationMargin != null), $ = d(() => {
       const {
-        headStyle: H = {},
-        bodyStyle: A = {},
-        loading: k,
-        bordered: I = !0,
-        type: P,
-        tabList: C,
-        hoverable: we,
-        activeTabKey: ie,
-        defaultActiveTabKey: Be,
-        tabBarExtraContent: re = E((p = n.tabBarExtraContent) === null || p === void 0 ? void 0 : p.call(n)),
-        title: X = E((u = n.title) === null || u === void 0 ? void 0 : u.call(n)),
-        extra: K = E((s = n.extra) === null || s === void 0 ? void 0 : s.call(n)),
-        actions: F = E((h = n.actions) === null || h === void 0 ? void 0 : h.call(n)),
-        cover: le = E((f = n.cover) === null || f === void 0 ? void 0 : f.call(n))
-      } = e, R = Ee((S = n.default) === null || S === void 0 ? void 0 : S.call(n)), c = i.value, Te = {
-        [`${c}`]: !0,
-        [T.value]: !0,
-        [`${c}-loading`]: k,
-        [`${c}-bordered`]: I,
-        [`${c}-hoverable`]: !!we,
-        [`${c}-contain-grid`]: v(R),
-        [`${c}-contain-tabs`]: C && C.length,
-        [`${c}-${d.value}`]: d.value,
-        [`${c}-type-${P}`]: !!P,
-        [`${c}-rtl`]: l.value === "rtl"
-      }, He = r($, {
-        loading: !0,
-        active: !0,
-        paragraph: {
-          rows: 4
-        },
-        title: !1
-      }, {
-        default: () => [R]
-      }), se = ie !== void 0, Ae = {
-        size: "large",
-        [se ? "activeKey" : "defaultActiveKey"]: se ? ie : Be,
-        onChange: m,
-        class: `${c}-head-tabs`
+        type: n,
+        dashed: l,
+        plain: b
+      } = t, a = i.value;
+      return {
+        [a]: !0,
+        [h.value]: !!h.value,
+        [`${a}-${n}`]: !0,
+        [`${a}-dashed`]: !!l,
+        [`${a}-plain`]: !!b,
+        [`${a}-rtl`]: m.value === "rtl",
+        [`${a}-no-default-orientation-margin-left`]: g.value,
+        [`${a}-no-default-orientation-margin-right`]: c.value
       };
-      let de;
-      const ce = C && C.length ? r(be, Ae, {
-        default: () => [C.map((z) => {
-          const {
-            tab: ue,
-            slots: O
-          } = z, ge = O == null ? void 0 : O.tab;
-          Le(!O, "Card", "tabList slots is deprecated, Please use `customTab` instead.");
-          let V = ue !== void 0 ? ue : n[ge] ? n[ge](z) : null;
-          return V = De(n, "customTab", z, () => [V]), r(ut, {
-            tab: V,
-            key: z.key,
-            disabled: z.disabled
-          }, null);
-        })],
-        rightExtra: re ? () => re : null
-      }) : null;
-      (X || K || ce) && (de = r("div", {
-        class: `${c}-head`,
-        style: H
-      }, [r("div", {
-        class: `${c}-head-wrapper`
-      }, [X && r("div", {
-        class: `${c}-head-title`
-      }, [X]), K && r("div", {
-        class: `${c}-extra`
-      }, [K])]), ce]));
-      const Ie = le ? r("div", {
-        class: `${c}-cover`
-      }, [le]) : null, Me = r("div", {
-        class: `${c}-body`,
-        style: A
-      }, [k ? He : R]), Pe = F && F.length ? r("ul", {
-        class: `${c}-actions`
-      }, [b(F)]) : null;
-      return g(r("div", w(w({
-        ref: "cardContainerRef"
-      }, a), {}, {
-        class: [Te, a.class]
-      }), [de, Ie, R && R.length ? Me : null, Pe]));
-    };
-  }
-}), pt = () => ({
-  prefixCls: String,
-  title: Y(),
-  description: Y(),
-  avatar: Y()
-}), te = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ACardMeta",
-  props: pt(),
-  slots: Object,
-  setup(e, t) {
-    let {
-      slots: n
-    } = t;
-    const {
-      prefixCls: a
-    } = B("card", e);
-    return () => {
-      const i = {
-        [`${a.value}-meta`]: !0
-      }, l = U(n, e, "avatar"), d = U(n, e, "title"), g = U(n, e, "description"), T = l ? r("div", {
-        class: `${a.value}-meta-avatar`
-      }, [l]) : null, b = d ? r("div", {
-        class: `${a.value}-meta-title`
-      }, [d]) : null, m = g ? r("div", {
-        class: `${a.value}-meta-description`
-      }, [g]) : null, v = b || m ? r("div", {
-        class: `${a.value}-meta-detail`
-      }, [b, m]) : null;
-      return r("div", {
-        class: i
-      }, [T, v]);
-    };
-  }
-}), $t = () => ({
-  prefixCls: String,
-  hoverable: {
-    type: Boolean,
-    default: !0
-  }
-}), ne = y({
-  compatConfig: {
-    MODE: 3
-  },
-  name: "ACardGrid",
-  __ANT_CARD_GRID: !0,
-  props: $t(),
-  setup(e, t) {
-    let {
-      slots: n
-    } = t;
-    const {
-      prefixCls: a
-    } = B("card", e), i = G(() => ({
-      [`${a.value}-grid`]: !0,
-      [`${a.value}-grid-hoverable`]: e.hoverable
-    }));
+    }), p = d(() => {
+      const n = typeof t.orientationMargin == "number" ? `${t.orientationMargin}px` : t.orientationMargin;
+      return s(s({}, g.value && {
+        marginLeft: n
+      }), c.value && {
+        marginRight: n
+      });
+    }), x = d(() => t.orientation.length > 0 ? "-" + t.orientation : t.orientation);
     return () => {
-      var l;
-      return r("div", {
-        class: i.value
-      }, [(l = n.default) === null || l === void 0 ? void 0 : l.call(n)]);
+      var n;
+      const l = M((n = o.default) === null || n === void 0 ? void 0 : n.call(o));
+      return v(f("div", u(u({}, r), {}, {
+        class: [$.value, l.length ? `${i.value}-with-text ${i.value}-with-text${x.value}` : "", r.class],
+        role: "separator"
+      }), [l.length ? f("span", {
+        class: `${i.value}-inner-text`,
+        style: p.value
+      }, [l]) : null]));
     };
   }
-});
-D.Meta = te;
-D.Grid = ne;
-D.install = function(e) {
-  return e.component(D.name, D), e.component(te.name, te), e.component(ne.name, ne), e;
-};
+}), T = y(H);
 export {
-  D as C,
-  $ as S,
-  ne as _
+  T as _
 };

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 30 - 20
lib/js/index2.js


+ 5 - 5
lib/js/index3.js

@@ -15,19 +15,19 @@ var dA = (M, n, A) => new Promise((D, w) => {
   c((A = A.apply(M, n)).next());
 });
 import { e as Og } from "./base64Util.js";
-import { c8 as I, dA as gw, c9 as Bw, n as PA, dB as ZB, dC as bB, dD as lB, dE as GB, ad as dB, dF as ww, dG as aB, dH as Dw, I as uB, dm as yB, B as XB, a6 as sw, a7 as ew, dI as mA, dJ as Kg, dK as Cw, y as tw, dL as jB, aA as Mw } from "./index2.js";
+import { c8 as I, dA as gw, c9 as Bw, n as PA, dB as ZB, dC as bB, dD as lB, dE as GB, ae as dB, dF as ww, dG as aB, dH as Dw, I as uB, dm as yB, B as XB, a7 as sw, a8 as ew, dI as mA, dJ as Kg, dK as Cw, y as tw, dL as jB, aB as Mw } from "./index2.js";
 import { openBlock as m, createElementBlock as T, normalizeStyle as vA, createElementVNode as V, withDirectives as xg, vShow as Zg, createVNode as o, Transition as vw, withCtx as F, normalizeClass as oA, toDisplayString as E, createCommentVNode as AA, Fragment as FA, renderList as bg, createTextVNode as $, createBlock as DA, resolveDynamicComponent as JA, resolveComponent as YA, withModifiers as jA, ref as MA, computed as rw, reactive as fw, onMounted as nw, unref as Eg, normalizeProps as zw, guardReactiveProps as Pw } from "vue";
 import { F as VB, _ as oB } from "./index5.js";
 import { T as cw, _ as Yw } from "./index13.js";
-import { S as FB } from "./index17.js";
+import { S as FB } from "./index16.js";
 import { _ as Qw } from "./index10.js";
 import { useRoute as Ww, useRouter as Hw } from "vue-router";
 import { g as Lw } from "./account.js";
-import { T as Ow, P as xw, a as Zw } from "./index18.js";
+import { T as Ow, P as xw, a as Zw } from "./index17.js";
 import { S as bw } from "./index9.js";
-import { C as lw } from "./index19.js";
+import { C as lw } from "./index18.js";
 import { _ as Gw, a as dw } from "./index11.js";
-import { _ as aw } from "./index16.js";
+import { _ as aw } from "./index19.js";
 var NB = { exports: {} };
 function uw(M) {
   throw new Error('Could not dynamically require "' + M + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');

+ 137 - 137
lib/js/index5.js

@@ -1,5 +1,5 @@
-import { aC as bn, aD as Pe, aE as wn, aF as Tt, aG as Ye, aH as xn, aI as qe, aJ as $n, aK as It, aL as Fn, aM as An, aN as _t, aO as On, aP as lt, aQ as st, aR as Je, aS as Ze, aT as jt, aU as Ce, aV as Cn, aW as Mt, aX as Lt, aY as Sn, aZ as Rt, a_ as En, a$ as Pn, b0 as ut, b1 as qn, b2 as Tn, d as P, D as Ne, E as In, b3 as _n, c as pe, y as jn, b4 as Mn, b5 as Ln, _ as W, g as Rn, m as Nn, b6 as Nt, b7 as Vn, r as Vt, b8 as Dn, b9 as Bn, ba as Gn, bb as Dt, u as Bt, bc as Wn, V as zn, a1 as Un, bd as Hn, be as Kn, bf as Xn, P as de, bg as Qe, bh as Yn, bi as Gt, bj as Jn, bk as Zn, bl as Qn, i as kn, bm as ue, bn as me, bo as ft, bp as ct, f as er, e as $e, bq as je, U as tr, br 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 { aD as bn, aE as Pe, aF as wn, aG as Tt, aH as Ye, aI as xn, aJ as qe, aK as $n, aL as It, aM as Fn, aN as An, aO as _t, aP as On, aQ as lt, aR as st, aS as Je, aT as Ze, aU as jt, aV as Se, aW as Sn, aX as Mt, aY as Lt, aZ as Cn, a_ as Rt, a$ as En, b0 as Pn, b1 as ut, b2 as qn, b3 as Tn, d as P, D as Ne, E as In, b4 as _n, c as pe, y as jn, b5 as Mn, b6 as Ln, _ as W, g as Rn, m as Nn, b7 as Nt, b8 as Vn, r as Vt, b9 as Dn, ba as Bn, bb as Gn, bc as Dt, u as Bt, bd as Wn, W as zn, a2 as Hn, be as Un, bf as Kn, bg as Xn, P as de, bh as Qe, bi as Yn, bj as Gt, bk as Jn, bl as Zn, bm as Qn, i as kn, bn as ue, bo as me, bp as ft, bq as ct, f as er, e as $e, br as je, V as tr, bs as Ve } from "./index2.js";
+import { cloneVNode as nr, inject as Wt, computed as F, provide as zt, createVNode as _, Fragment as Ce, 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 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 "./index4.js";
@@ -72,11 +72,11 @@ function Or(e) {
 function tt(e) {
   return Ye(e) ? xn(e, !0) : Or(e);
 }
-function Cr(e, t, n) {
+function Sr(e, t, n) {
   var r = e == null ? void 0 : et(e, t);
   return r === void 0 ? n : r;
 }
-function Sr(e, t, n) {
+function Cr(e, t, n) {
   var r = -1, i = e.length;
   t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
   for (var o = Array(i); ++r < i; )
@@ -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]", Ur = "[object Map]", Hr = "[object Number]", Kr = "[object RegExp]", Xr = "[object Set]", Yr = "[object String]", Jr = "[object Symbol]", Zr = "[object ArrayBuffer]", Qr = "[object DataView]", kr = "[object Float32Array]", ei = "[object Float64Array]", ti = "[object Int8Array]", ni = "[object Int16Array]", ri = "[object Int32Array]", ii = "[object Uint8Array]", ai = "[object Uint8ClampedArray]", oi = "[object Uint16Array]", li = "[object Uint32Array]";
+var Wr = "[object Boolean]", zr = "[object Date]", 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]";
 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 Ur:
-      return new r();
     case Hr:
+      return new r();
+    case Ur:
     case Yr:
       return new r(e);
     case Kr:
@@ -177,12 +177,12 @@ var fi = "[object Map]";
 function ci(e) {
   return Je(e) && Ze(e) == fi;
 }
-var bt = Ce && Ce.isMap, di = bt ? jt(bt) : ci, mi = "[object Set]";
+var bt = Se && Se.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 ? 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;
+var wt = Se && Se.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]", Si = "[object RegExp]", Ci = "[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[Si] = j[Ci] = 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;
@@ -196,7 +196,7 @@ function ve(e, t, n, r, i, o) {
       return br(e, a);
   } else {
     var g = Ze(e), h = g == rn || g == Fi;
-    if (Cn(e))
+    if (Sn(e))
       return Tr(e, l);
     if (g == an || g == nn || h && !i) {
       if (a = s || h ? {} : ui(e), !l)
@@ -216,7 +216,7 @@ function ve(e, t, n, r, i, o) {
   }) : di(e) && e.forEach(function(y, m) {
     a.set(m, ve(y, t, n, m, e, o));
   });
-  var $ = v ? s ? tn : Sn : s ? tt : qe, d = f ? void 0 : $(e);
+  var $ = v ? s ? tn : Cn : s ? tt : qe, d = f ? void 0 : $(e);
   return wr(d || e, function(y, m) {
     d && (m = y, y = e[m]), Kt(a, m, ve(y, t, n, m, e, o));
   }), a;
@@ -225,8 +225,8 @@ var Gi = 1, Wi = 4;
 function Ae(e) {
   return ve(e, Gi | Wi);
 }
-var zi = 1, Ui = 2;
-function Hi(e, t, n, r) {
+var zi = 1, Hi = 2;
+function Ui(e, t, n, r) {
   var i = n.length, o = i;
   if (e == null)
     return !o;
@@ -243,7 +243,7 @@ function Hi(e, t, n, r) {
         return !1;
     } else {
       var f = new Mt(), g;
-      if (!(g === void 0 ? Rt(v, s, zi | Ui, r, f) : g))
+      if (!(g === void 0 ? Rt(v, s, zi | Hi, r, f) : g))
         return !1;
     }
   }
@@ -267,13 +267,13 @@ 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 || Hi(n, e, t);
+    return n === e || Ui(n, e, t);
   };
 }
 var Yi = 1, Ji = 2;
 function Zi(e, t) {
   return Yt(e) && on(t) ? ln(Ee(e), t) : function(n) {
-    var r = Cr(n, e);
+    var r = Sr(n, e);
     return r === void 0 && r === t ? cr(n, e) : Rt(t, r, Yi | Ji);
   };
 }
@@ -351,7 +351,7 @@ var fa = xr(function(e) {
   return t.length && t[0] === e[0] ? sa(t) : [];
 });
 function ca(e, t) {
-  return t.length < 2 ? e : et(e, Sr(t, 0, -1));
+  return t.length < 2 ? e : et(e, Cr(t, 0, -1));
 }
 var da = Object.prototype, ma = da.hasOwnProperty;
 function ga(e, t) {
@@ -523,7 +523,7 @@ function xt(e, t, n) {
   }
   o([]);
 }
-function Ca(e) {
+function Sa(e) {
   var t = [];
   return Object.keys(e).forEach(function(n) {
     t.push.apply(t, e[n] || []);
@@ -537,12 +537,12 @@ var $t = /* @__PURE__ */ function(e) {
   }
   return t;
 }(/* @__PURE__ */ We(Error));
-function Sa(e, t, n, r, i) {
+function Ca(e, t, n, r, i) {
   if (t.first) {
     var o = new Promise(function(h, w) {
       var $ = function(m) {
         return r(m), m.length ? w(new $t(m, ze(m))) : h(i);
-      }, d = Ca(e);
+      }, d = Sa(e);
       xt(d, n, $);
     });
     return o.catch(function(h) {
@@ -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);
-}, Ua = "enum", Ha = function(t, n, r, i, o) {
+}, Ha = "enum", Ua = 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[Ua](t, n, i, a, o);
+    E.required(t, n, i, a, o), n !== void 0 && E[Ha](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: Ha,
+  enum: Ua,
   pattern: Ka,
   date: Xa,
   url: Me,
@@ -839,7 +839,7 @@ var fn = function(t, n, r, i, o, a) {
   required: Ya,
   any: Ja
 };
-function Ue() {
+function He() {
   return {
     default: "Validation error on field %s",
     required: "%s is required",
@@ -892,9 +892,9 @@ function Ue() {
     }
   };
 }
-var He = Ue(), we = /* @__PURE__ */ function() {
+var Ue = He(), we = /* @__PURE__ */ function() {
   function e(n) {
-    this.rules = null, this._messages = He, this.define(n);
+    this.rules = null, this._messages = Ue, this.define(n);
   }
   var t = e.prototype;
   return t.define = function(r) {
@@ -908,7 +908,7 @@ var He = Ue(), we = /* @__PURE__ */ function() {
       i.rules[o] = Array.isArray(a) ? a : [a];
     });
   }, t.messages = function(r) {
-    return r && (this._messages = At(Ue(), r)), this._messages;
+    return r && (this._messages = At(He(), 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 He = Ue(), we = /* @__PURE__ */ function() {
     }
     if (s.messages) {
       var g = this.messages();
-      g === He && (g = Ue()), At(g, s.messages), s.messages = g;
+      g === Ue && (g = He()), At(g, s.messages), s.messages = g;
     } else
       s.messages = this.messages();
     var h = {}, w = s.keys || Object.keys(this.rules);
@@ -950,18 +950,18 @@ var He = Ue(), we = /* @__PURE__ */ function() {
       });
     });
     var $ = {};
-    return Sa(h, s, function(d, y) {
+    return Ca(h, s, function(d, y) {
       var m = d.rule, q = (m.type === "object" || m.type === "array") && (typeof m.fields == "object" || typeof m.defaultField == "object");
       q = q && (m.required || !m.required && d.value), m.field = d.field;
-      function u(S, A) {
+      function u(C, A) {
         return le({}, A, {
-          fullField: m.fullField + "." + S,
-          fullFields: m.fullFields ? [].concat(m.fullFields, [S]) : [S]
+          fullField: m.fullField + "." + C,
+          fullFields: m.fullFields ? [].concat(m.fullFields, [C]) : [C]
         });
       }
-      function c(S) {
-        S === void 0 && (S = []);
-        var A = Array.isArray(S) ? S : [S];
+      function c(C) {
+        C === void 0 && (C = []);
+        var A = Array.isArray(C) ? C : [C];
         !s.suppressWarning && A.length && e.warning("async-validator:", A), A.length && m.message !== void 0 && (A = [].concat(m.message));
         var O = A.map(Ft(m, l));
         if (s.first && O.length)
@@ -993,17 +993,17 @@ var He = Ue(), we = /* @__PURE__ */ function() {
       else if (m.validator) {
         try {
           b = m.validator(m, d.value, c, d.source, s);
-        } catch (S) {
-          console.error == null || console.error(S), s.suppressValidatorError || setTimeout(function() {
-            throw S;
-          }, 0), c(S.message);
+        } catch (C) {
+          console.error == null || console.error(C), s.suppressValidatorError || setTimeout(function() {
+            throw C;
+          }, 0), c(C.message);
         }
         b === !0 ? c() : b === !1 ? c(typeof m.message == "function" ? m.message(m.fullField || m.field) : m.message || (m.fullField || m.field) + " fails") : b instanceof Array ? c(b) : b instanceof Error && c(b.message);
       }
       b && b.then && b.then(function() {
         return c();
-      }, function(S) {
-        return c(S);
+      }, function(C) {
+        return c(C);
       });
     }, function(d) {
       f(d);
@@ -1025,7 +1025,7 @@ we.register = function(t, n) {
   he[t] = n;
 };
 we.warning = un;
-we.messages = He;
+we.messages = Ue;
 we.validators = he;
 function ne(e) {
   return e == null ? [] : Array.isArray(e) ? e : [e];
@@ -1063,13 +1063,13 @@ function ka(e, t, n) {
 function eo(e, t) {
   return e && e.some((n) => no(n, t));
 }
-function Ct(e) {
+function St(e) {
   return typeof e == "object" && e !== null && Object.getPrototypeOf(e) === Object.prototype;
 }
 function mn(e, t) {
   const n = Array.isArray(e) ? [...e] : P({}, e);
   return t && Object.keys(t).forEach((r) => {
-    const i = n[r], o = t[r], a = Ct(i) && Ct(o);
+    const i = n[r], o = t[r], a = St(i) && St(o);
     n[r] = a ? mn(i, o || {}) : o;
   }), n;
 }
@@ -1078,7 +1078,7 @@ function to(e) {
     n[r - 1] = arguments[r];
   return n.reduce((i, o) => mn(i, o), e);
 }
-function St(e, t) {
+function Ct(e, t) {
   let n = {};
   return t.forEach((r) => {
     const i = Qa(e, r);
@@ -1331,10 +1331,10 @@ const vn = Symbol("formContextKey"), hn = (e) => {
     vertical: u,
     labelAlign: c,
     labelCol: b,
-    labelWrap: S,
+    labelWrap: C,
     colon: A
   } = rt(), O = h || (b == null ? void 0 : b.value) || {}, V = w || (c == null ? void 0 : c.value), M = `${f}-item-label`, L = pe(M, V === "left" && `${M}-left`, O.class, {
-    [`${M}-wrap`]: !!S.value
+    [`${M}-wrap`]: !!C.value
   });
   let T = q;
   const N = $ === !0 || (A == null ? void 0 : A.value) !== !1 && $ !== !1;
@@ -1346,11 +1346,11 @@ const vn = Symbol("formContextKey"), hn = (e) => {
     }, {
       default: () => [_(Mn, null, null)]
     })]);
-    T = _(Se, null, [T, n.tooltip ? (l = n.tooltip) === null || l === void 0 ? void 0 : l.call(n, {
+    T = _(Ce, 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 = _(Se, null, [T, _("span", {
+  y === "optional" && !d && (T = _(Ce, 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({
@@ -1876,7 +1876,7 @@ const uo = (e) => {
       }), {
         default: () => {
           var u;
-          return _(Se, null, [_("div", {
+          return _(Ce, null, [_("div", {
             class: `${y}-control-input`
           }, [_("div", {
             class: `${y}-control-input-content`
@@ -1916,8 +1916,8 @@ Qe("success", "warning", "error", "validating", "");
 const xo = {
   success: Xn,
   warning: Kn,
-  error: Hn,
-  validating: Un
+  error: Un,
+  validating: Hn
 };
 function Le(e, t, n) {
   let r = e;
@@ -2039,8 +2039,8 @@ 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, (U) => U.required) ? z : z.concat(D);
-    }), S = F(() => {
+      return oa(z, (H) => H.required) ? z : z.concat(D);
+    }), C = F(() => {
       const p = b.value;
       let I = !1;
       return p && p.length && p.every((D) => D.required ? (I = !0, !1) : !0), I || e.required;
@@ -2060,20 +2060,20 @@ const Ao = "form_item", Oo = Te({
         triggerName: D
       } = p || {};
       let G = b.value;
-      if (D && (G = G.filter((U) => {
+      if (D && (G = G.filter((H) => {
         const {
           trigger: re
-        } = U;
+        } = H;
         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((U) => U).then(function() {
-        let U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
+      return A.value = "validating", h.value = [], z.catch((H) => H).then(function() {
+        let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
         if (A.value === "validating") {
-          const re = U.filter((ie) => ie && ie.errors.length);
+          const re = H.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, Ht(() => {
+      Array.isArray(D) ? G.o[G.k] = [].concat((p = u.value) !== null && p !== void 0 ? p : []) : G.o[G.k] = u.value, Ut(() => {
         w.value = !1;
       });
     }, Z = F(() => e.htmlFor === void 0 ? y.value : e.htmlFor), Q = () => {
@@ -2137,27 +2137,27 @@ const Ao = "form_item", Oo = Te({
     }), lr(() => {
       f.removeField(o);
     });
-    const x = wo(h), C = F(() => e.validateStatus !== void 0 ? e.validateStatus : x.value.length ? "error" : A.value), R = F(() => ({
+    const x = wo(h), S = F(() => e.validateStatus !== void 0 ? e.validateStatus : x.value.length ? "error" : A.value), R = F(() => ({
       [`${a.value}-item`]: !0,
       [s.value]: !0,
       // Status
-      [`${a.value}-item-has-feedback`]: C.value && e.hasFeedback,
-      [`${a.value}-item-has-success`]: C.value === "success",
-      [`${a.value}-item-has-warning`]: C.value === "warning",
-      [`${a.value}-item-has-error`]: C.value === "error",
-      [`${a.value}-item-is-validating`]: C.value === "validating",
+      [`${a.value}-item-has-feedback`]: S.value && e.hasFeedback,
+      [`${a.value}-item-has-success`]: S.value === "success",
+      [`${a.value}-item-has-warning`]: S.value === "warning",
+      [`${a.value}-item-has-error`]: S.value === "error",
+      [`${a.value}-item-is-validating`]: S.value === "validating",
       [`${a.value}-item-hidden`]: e.hidden
-    })), H = Ut({});
-    zn.useProvide(H), De(() => {
+    })), U = Ht({});
+    zn.useProvide(U), De(() => {
       let p;
       if (e.hasFeedback) {
-        const I = C.value && xo[C.value];
+        const I = S.value && xo[S.value];
         p = I ? _("span", {
-          class: pe(`${a.value}-item-feedback-icon`, `${a.value}-item-feedback-icon-${C.value}`)
+          class: pe(`${a.value}-item-feedback-icon`, `${a.value}-item-feedback-icon-${S.value}`)
         }, [_(I, null, null)]) : null;
       }
-      P(H, {
-        status: C.value,
+      P(U, {
+        status: S.value,
         hasFeedback: e.hasFeedback,
         feedbackIcon: p,
         isFormItemInput: !0
@@ -2192,10 +2192,10 @@ const Ao = "form_item", Oo = Te({
         key: "row"
       }), {
         default: () => {
-          var z, U;
-          return _(Se, null, [_(it, W(W({}, e), {}, {
+          var z, H;
+          return _(Ce, null, [_(it, W(W({}, e), {}, {
             htmlFor: Z.value,
-            required: S.value,
+            required: C.value,
             requiredMark: f.requiredMark.value,
             prefixCls: a.value,
             onClick: Q,
@@ -2207,10 +2207,10 @@ const Ao = "form_item", Oo = Te({
             errors: D != null ? ne(D) : x.value,
             marginBottom: X.value,
             prefixCls: a.value,
-            status: C.value,
+            status: S.value,
             ref: $,
             help: D,
-            extra: (z = e.extra) !== null && z !== void 0 ? z : (U = n.extra) === null || U === void 0 ? void 0 : U.call(n),
+            extra: (z = e.extra) !== null && z !== void 0 ? z : (H = n.extra) === null || H === void 0 ? void 0 : H.call(n),
             onErrorVisibleChanged: k
           }), {
             default: n.default
@@ -2265,10 +2265,10 @@ function Re(e, t, n) {
     isValid: r && i[o] in r
   };
 }
-function Co(e) {
+function So(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 = Ut({}), o = ee([]), a = (u) => {
-    P(ae(e), P(P({}, Ae(r)), u)), Ht(() => {
+  const r = Ae(ae(e)), i = Ht({}), o = ee([]), a = (u) => {
+    P(ae(e), P(P({}, Ae(r)), u)), Ut(() => {
       Object.keys(i).forEach((c) => {
         i[c] = {
           autoLink: !1,
@@ -2279,20 +2279,20 @@ function Co(e) {
   }, l = function() {
     let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], c = arguments.length > 1 ? arguments[1] : void 0;
     return c.length ? u.filter((b) => {
-      const S = qt(b.trigger || "change");
-      return fa(S, c).length;
+      const C = qt(b.trigger || "change");
+      return fa(C, c).length;
     }) : u;
   };
   let s = null;
   const v = function(u) {
     let c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = arguments.length > 2 ? arguments[2] : void 0;
-    const S = [], A = {};
+    const C = [], A = {};
     for (let M = 0; M < u.length; M++) {
       const L = u[M], T = Re(ae(e), L, b);
       if (!T.isValid) continue;
       A[L] = T.v;
       const N = l(ae(t)[L], qt(c && c.trigger));
-      N.length && S.push(f(L, T.v, N, c || {}).then(() => ({
+      N.length && C.push(f(L, T.v, N, c || {}).then(() => ({
         name: L,
         errors: [],
         warnings: []
@@ -2301,11 +2301,11 @@ function Co(e) {
         return Z.forEach((x) => {
           let {
             rule: {
-              warningOnly: C
+              warningOnly: S
             },
             errors: R
           } = x;
-          C ? K.push(...R) : Q.push(...R);
+          S ? K.push(...R) : Q.push(...R);
         }), Q.length ? Promise.reject({
           name: L,
           errors: Q,
@@ -2317,7 +2317,7 @@ function Co(e) {
         };
       }));
     }
-    const O = yn(S);
+    const O = yn(C);
     s = O;
     const V = O.then(() => s === O ? Promise.resolve(A) : Promise.reject([])).catch((M) => {
       const L = M.filter((T) => T && T.errors.length);
@@ -2329,10 +2329,10 @@ function Co(e) {
     });
     return V.catch((M) => M), V;
   }, f = function(u, c, b) {
-    let S = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
+    let C = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
     const A = gn([u], c, b, P({
       validateMessages: Ie
-    }, S), !!S.validateFirst);
+    }, C), !!C.validateFirst);
     return i[u] ? (i[u].validateStatus = "validating", A.catch((O) => O).then(function() {
       let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
       var V;
@@ -2342,9 +2342,9 @@ function Co(e) {
       }
     }), A) : A.catch((O) => O);
   }, g = (u, c) => {
-    let b = [], S = !0;
-    u ? Array.isArray(u) ? b = u : b = [u] : (S = !1, b = o.value);
-    const A = v(b, c || {}, S);
+    let b = [], C = !0;
+    u ? Array.isArray(u) ? b = u : b = [u] : (C = !1, b = o.value);
+    const A = v(b, c || {}, C);
     return A.catch((O) => O), A;
   }, h = (u) => {
     let c = [];
@@ -2357,9 +2357,9 @@ function Co(e) {
   }, w = (u) => {
     const c = {
       autoLink: !1
-    }, b = [], S = Array.isArray(u) ? u : [u];
-    for (let A = 0; A < S.length; A++) {
-      const O = S[A];
+    }, b = [], C = Array.isArray(u) ? u : [u];
+    for (let A = 0; A < C.length; A++) {
+      const O = C[A];
       (O == null ? void 0 : O.validateStatus) === "error" && (c.validateStatus = "error", O.help && b.push(O.help)), c.required = c.required || (O == null ? void 0 : O.required);
     }
     return c.help = b, c;
@@ -2368,8 +2368,8 @@ function Co(e) {
   const y = (u) => {
     const c = [];
     o.value.forEach((b) => {
-      const S = Re(u, b, !1), A = Re($, b, !1);
-      (d && (n == null ? void 0 : n.immediate) && S.isValid || !Gt(S.v, A.v)) && c.push(b);
+      const C = Re(u, b, !1), A = Re($, b, !1);
+      (d && (n == null ? void 0 : n.immediate) && C.isValid || !Gt(C.v, A.v)) && c.push(b);
     }), g(c, {
       trigger: "change"
     }), d = !1, $ = Ae(Be(u));
@@ -2408,7 +2408,7 @@ function Co(e) {
     clearValidate: h
   };
 }
-const So = () => ({
+const Co = () => ({
   layout: de.oneOf(Qe("horizontal", "inline", "vertical")),
   labelCol: $e(),
   wrapperCol: $e(),
@@ -2445,13 +2445,13 @@ const oe = Te({
   },
   name: "AForm",
   inheritAttrs: !1,
-  props: kn(So(), {
+  props: kn(Co(), {
     layout: "horizontal",
     hideRequiredMark: !1,
     colon: !0
   }),
   Item: Oo,
-  useForm: Co,
+  useForm: So,
   // emits: ['finishFailed', 'submit', 'finish', 'validate'],
   setup(e, t) {
     let {
@@ -2472,8 +2472,8 @@ const oe = Te({
     });
     Jn(v), Zn(f);
     const w = F(() => {
-      var x, C;
-      return (x = e.colon) !== null && x !== void 0 ? x : (C = s.value) === null || C === void 0 ? void 0 : C.colon;
+      var x, S;
+      return (x = e.colon) !== null && x !== void 0 ? x : (S = s.value) === null || S === void 0 ? void 0 : S.colon;
     }), {
       validateMessages: $
     } = Qn(), d = F(() => P(P(P({}, Ie), $.value), e.validateMessages)), [y, m] = at(a), q = F(() => pe(a.value, {
@@ -2481,76 +2481,76 @@ const oe = Te({
       [`${a.value}-hide-required-mark`]: h.value === !1,
       [`${a.value}-rtl`]: l.value === "rtl",
       [`${a.value}-${v.value}`]: v.value
-    }, m.value)), u = ke(), c = {}, b = (x, C) => {
-      c[x] = C;
-    }, S = (x) => {
+    }, m.value)), u = ke(), c = {}, b = (x, S) => {
+      c[x] = S;
+    }, C = (x) => {
       delete c[x];
     }, A = (x) => {
-      const C = !!x, R = C ? ne(x).map(Ke) : [];
-      return C ? Object.values(c).filter((H) => R.findIndex((X) => Eo(X, H.fieldName.value)) > -1) : Object.values(c);
+      const S = !!x, R = S ? ne(x).map(Ke) : [];
+      return S ? Object.values(c).filter((U) => R.findIndex((X) => Eo(X, U.fieldName.value)) > -1) : Object.values(c);
     }, O = (x) => {
       if (!e.model) {
         je(!1, "Form", "model is required for resetFields to work.");
         return;
       }
-      A(x).forEach((C) => {
-        C.resetField();
+      A(x).forEach((S) => {
+        S.resetField();
       });
     }, V = (x) => {
-      A(x).forEach((C) => {
-        C.clearValidate();
+      A(x).forEach((S) => {
+        S.clearValidate();
       });
     }, M = (x) => {
       const {
-        scrollToFirstError: C
+        scrollToFirstError: S
       } = e;
-      if (n("finishFailed", x), C && x.errorFields.length) {
+      if (n("finishFailed", x), S && x.errorFields.length) {
         let R = {};
-        typeof C == "object" && (R = C), T(x.errorFields[0].name, R);
+        typeof S == "object" && (R = S), T(x.errorFields[0].name, R);
       }
     }, L = function() {
       return Q(...arguments);
     }, T = function(x) {
-      let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
+      let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
       const R = A(x ? [x] : void 0);
       if (R.length) {
-        const H = R[0].fieldId.value, X = H ? document.getElementById(H) : null;
+        const U = R[0].fieldId.value, X = U ? document.getElementById(U) : null;
         X && gr(X, P({
           scrollMode: "if-needed",
           block: "nearest"
-        }, C));
+        }, S));
       }
     }, N = function() {
       let x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
       if (x === !0) {
-        const C = [];
+        const S = [];
         return Object.values(c).forEach((R) => {
           let {
-            namePath: H
+            namePath: U
           } = R;
-          C.push(H.value);
-        }), St(e.model, C);
+          S.push(U.value);
+        }), Ct(e.model, S);
       } else
-        return St(e.model, x);
-    }, Z = (x, C) => {
+        return Ct(e.model, x);
+    }, Z = (x, S) => {
       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 = [];
+      const R = !!x, U = R ? ne(x).map(Ke) : [], X = [];
       Object.values(c).forEach((k) => {
         var p;
-        if (R || H.push(k.namePath.value), !(!((p = k.rules) === null || p === void 0) && p.value.length))
+        if (R || U.push(k.namePath.value), !(!((p = k.rules) === null || p === void 0) && p.value.length))
           return;
         const I = k.namePath.value;
-        if (!R || eo(H, I)) {
+        if (!R || eo(U, I)) {
           const D = k.validateRules(P({
             validateMessages: d.value
-          }, C));
+          }, S));
           X.push(D.then(() => ({
             name: I,
             errors: [],
             warnings: []
           })).catch((G) => {
-            const z = [], U = [];
+            const z = [], H = [];
             return G.forEach((re) => {
               let {
                 rule: {
@@ -2558,25 +2558,25 @@ const oe = Te({
                 },
                 errors: ot
               } = re;
-              ie ? U.push(...ot) : z.push(...ot);
+              ie ? H.push(...ot) : z.push(...ot);
             }), z.length ? Promise.reject({
               name: I,
               errors: z,
-              warnings: U
+              warnings: H
             }) : {
               name: I,
               errors: z,
-              warnings: U
+              warnings: H
             };
           }));
         }
       });
       const te = yn(X);
       u.value = te;
-      const xe = te.then(() => u.value === te ? Promise.resolve(N(H)) : Promise.reject([])).catch((k) => {
+      const xe = te.then(() => u.value === te ? Promise.resolve(N(U)) : Promise.reject([])).catch((k) => {
         const p = k.filter((I) => I && I.errors.length);
         return Promise.reject({
-          values: N(H),
+          values: N(U),
           errorFields: p,
           outOfDate: u.value !== te
         });
@@ -2611,9 +2611,9 @@ const oe = Te({
       validateTrigger: F(() => e.validateTrigger),
       rules: F(() => e.rules),
       addField: b,
-      removeField: S,
-      onValidate: (x, C, R) => {
-        n("validate", x, C, R);
+      removeField: C,
+      onValidate: (x, S, R) => {
+        n("validate", x, S, R);
       },
       validateMessages: d
     }), se(() => e.rules, () => {

+ 9 - 9
lib/js/index6.js

@@ -1,4 +1,4 @@
-import { g as P, m as S, bC as _, d, r as w, bD as B, bE as k, b as T, bq as D, u as N, c as z, y as A, _ as h, a3 as I, o as W, i as E, bF as H, bb as C, bG as j, f as $ } from "./index2.js";
+import { g as P, m as S, bD as _, d, r as w, bE as B, bF as k, b as T, br as D, u as N, c as z, y as A, _ as h, a4 as I, o as W, i as E, bG as H, bc as C, bH as j, f as $ } from "./index2.js";
 import { defineComponent as M, ref as R, computed as F, createVNode as b, Fragment as G } from "vue";
 const L = (e) => {
   const {
@@ -94,7 +94,7 @@ const L = (e) => {
       };
     })
   };
-}, q = (e) => {
+}, V = (e) => {
   const {
     componentCls: o,
     lineWidth: r,
@@ -121,7 +121,7 @@ const L = (e) => {
       }
     }
   };
-}, V = P("Popover", (e) => {
+}, X = P("Popover", (e) => {
   const {
     colorBgElevated: o,
     colorText: r,
@@ -132,7 +132,7 @@ const L = (e) => {
     popoverPadding: 12
     // Fixed Value
   });
-  return [L(a), O(a), t && q(a), _(a, "zoom-big")];
+  return [L(a), O(a), t && V(a), _(a, "zoom-big")];
 }, (e) => {
   let {
     zIndexPopupBase: o
@@ -141,16 +141,16 @@ const L = (e) => {
     zIndexPopup: o + 30,
     width: 177
   };
-}), X = () => d(d({}, j()), {
+}), Z = () => d(d({}, j()), {
   content: $(),
   title: $()
-}), Z = M({
+}), q = M({
   compatConfig: {
     MODE: 3
   },
   name: "APopover",
   inheritAttrs: !1,
-  props: E(X(), d(d({}, H()), {
+  props: E(Z(), d(d({}, H()), {
     trigger: "hover",
     placement: "top",
     mouseEnterDelay: 0.1,
@@ -172,7 +172,7 @@ const L = (e) => {
     const {
       prefixCls: l,
       configProvider: c
-    } = N("popover", e), [u, g] = V(l), p = F(() => c.getPrefixCls()), v = () => {
+    } = N("popover", e), [u, g] = X(l), p = F(() => c.getPrefixCls()), v = () => {
       var n, i;
       const {
         title: m = C((n = t.title) === null || n === void 0 ? void 0 : n.call(t)),
@@ -198,7 +198,7 @@ const L = (e) => {
       }));
     };
   }
-}), U = T(Z);
+}), U = T(q);
 export {
   U as _
 };

+ 22 - 22
lib/js/index7.js

@@ -1,4 +1,4 @@
-import { G as ot, bH as rt, bI as st, K as ue, bJ as ct, _ as z, d as p, bb as it, D as H, bK as ut, A as dt, N as $e, J as vt, L as Xe, M as ft, bL as ht, bM as Ye, o as Ce, O as pt, i as qe, Q as mt, P as de, g as gt, m as et, bN 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, bO as Lt, bP as Pt, bm as Fe, bo as He, e as Dt, bp as Kt, bn as _t } from "./index2.js";
+import { G as ot, bI as rt, bJ as st, K as ue, bK as ct, _ as z, d as p, bc as it, D as H, bL as ut, A as dt, N as $e, J as vt, L as Xe, M as ft, bM as ht, bN as Ye, o as Ce, O as pt, i as Ze, Q as mt, P as de, g as gt, m as et, bO as yt, S as bt, h as Oe, V as St, W as Ct, X as wt, u as xt, Y as It, Z as Vt, a5 as kt, $ as Nt, c as Ge, a3 as Tt, a6 as Et, bP as Lt, bQ as Pt, bn as Fe, bp as He, e as Dt, bq as Kt, bo as _t } from "./index2.js";
 import { inject as At, provide as Ot, defineComponent as We, ref as ye, computed as y, watch as be, nextTick as Ft, shallowRef as R, toRaw as le, createVNode as X, watchEffect as Se, toRef as oe, toRefs as Ht } from "vue";
 function tt(e) {
   return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
@@ -385,7 +385,7 @@ function Qt(e, c, a) {
     deep: !0
   }), t;
 }
-const Zt = (e) => {
+const qt = (e) => {
   const c = R({
     valueLabels: /* @__PURE__ */ new Map()
   }), a = R();
@@ -407,7 +407,7 @@ const Zt = (e) => {
     });
     return c.value.valueLabels = n, r;
   })];
-}, qt = (e, c) => {
+}, Zt = (e, c) => {
   const a = R(/* @__PURE__ */ new Map()), t = R({});
   return Se(() => {
     const l = c.value, n = dt(e.value, {
@@ -643,7 +643,7 @@ const al = We({
   },
   name: "TreeSelect",
   inheritAttrs: !1,
-  props: qe(at(), {
+  props: Ze(at(), {
     treeNodeFilterProp: "value",
     autoClearSearchValue: !0,
     showCheckedStrategy: Ue,
@@ -670,7 +670,7 @@ const al = We({
     }, I = Qt(oe(e, "treeData"), oe(e, "children"), oe(e, "treeDataSimpleMode")), {
       keyEntities: w,
       valueEntities: k
-    } = qt(I, u), O = (i) => {
+    } = Zt(I, u), O = (i) => {
       const f = [], h = [];
       return i.forEach((x) => {
         k.value.has(x) ? h.push(x) : f.push(x);
@@ -742,7 +742,7 @@ const al = We({
           label: (S = E.label) !== null && S !== void 0 ? S : E.value
         });
       });
-    }), [ce] = Zt(se), ae = (i, f, h) => {
+    }), [ce] = qt(se), ae = (i, f, h) => {
       const x = v(i);
       if (L(x), e.autoClearSearchValue && V(""), e.onChange) {
         let D = i;
@@ -762,15 +762,15 @@ const al = We({
           const W = U.value.filter((te) => !D.includes(te.value));
           N = [...N, ...W];
         }
-        const $ = v(N), q = {
+        const $ = v(N), Z = {
           // [Legacy] Always return as array contains label & value
           preValue: T.value,
           triggerValue: E
         };
         let ee = !0;
-        (e.treeCheckStrictly || h === "selection" && !S) && (ee = !1), Gt(q, E, i, I.value, ee, u.value), s.value ? q.checked = S : q.selected = S;
+        (e.treeCheckStrictly || h === "selection" && !S) && (ee = !1), Gt(Z, E, i, I.value, ee, u.value), s.value ? Z.checked = S : Z.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);
+        e.onChange(o.value ? B : B[0], d.value ? null : $.map((W) => W.label), Z);
       }
     }, J = (i, f) => {
       let {
@@ -778,7 +778,7 @@ const al = We({
         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 N = le(w.value), $ = le(k.value), Z = N[i], ee = Z == null ? void 0 : Z.node, B = (D = ee == null ? void 0 : ee[u.value.value]) !== null && D !== void 0 ? D : i;
       if (!o.value)
         ae([B], {
           selected: !0,
@@ -879,19 +879,19 @@ const al = We({
       dropdownMatchSelectWidth: De,
       treeExpandAction: Ke
     }));
-    const Z = ye();
+    const q = ye();
     return t({
       focus() {
         var i;
-        (i = Z.value) === null || i === void 0 || i.focus();
+        (i = q.value) === null || i === void 0 || i.focus();
       },
       blur() {
         var i;
-        (i = Z.value) === null || i === void 0 || i.blur();
+        (i = q.value) === null || i === void 0 || i.blur();
       },
       scrollTo(i) {
         var f;
-        (f = Z.value) === null || f === void 0 || f.scrollTo(i);
+        (f = q.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: Z
+        ref: q
       }, a), f), {}, {
         id: n,
         prefixCls: e.prefixCls,
@@ -1045,7 +1045,7 @@ const Me = We({
   },
   name: "ATreeSelect",
   inheritAttrs: !1,
-  props: qe(sl(), {
+  props: Ze(sl(), {
     choiceTransitionName: "",
     listHeight: 256,
     treeIcon: !1,
@@ -1119,7 +1119,7 @@ const Me = We({
         placeholder: De = (M = t.placeholder) === null || M === void 0 ? void 0 : M.call(t)
       } = e, {
         isFormItemInput: Ke,
-        hasFeedback: Z,
+        hasFeedback: q,
         feedbackIcon: i
       } = s, {
         suffixIcon: f,
@@ -1128,7 +1128,7 @@ const Me = We({
       } = Tt(p(p({}, e), {
         multiple: ce.value,
         showArrow: ae.value,
-        hasFeedback: Z,
+        hasFeedback: q,
         feedbackIcon: i,
         prefixCls: o.value
       }), t);
@@ -1140,7 +1140,7 @@ const Me = We({
         [`${o.value}-rtl`]: g.value === "rtl",
         [`${o.value}-borderless`]: !xe,
         [`${o.value}-in-form-item`]: Ke
-      }, Et(o.value, d.value, Z), A.value, a.class, G.value), N = {};
+      }, 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), {}, {
         disabled: b.value,
         virtual: V.value,
@@ -1177,7 +1177,7 @@ const Me = We({
         }),
         maxTagPlaceholder: e.maxTagPlaceholder || t.maxTagPlaceholder,
         placement: K.value,
-        showArrow: Z || Te,
+        showArrow: q || Te,
         placeholder: De
       }), p(p({}, t), {
         treeCheckable: () => X("span", {
@@ -1186,12 +1186,12 @@ const Me = We({
       }))));
     };
   }
-}), Ze = ve, ul = p(Me, {
+}), qe = ve, ul = p(Me, {
   TreeNode: ve,
   SHOW_ALL: Ut,
   SHOW_PARENT: nt,
   SHOW_CHILD: Ue,
-  install: (e) => (e.component(Me.name, Me), e.component(Ze.displayName, Ze), e)
+  install: (e) => (e.component(Me.name, Me), e.component(qe.displayName, qe), e)
 });
 export {
   ul as _

+ 52 - 52
lib/js/index8.js

@@ -1,4 +1,4 @@
-import { d as B, P as c, e as j, bm as Se, l as ke, c as G, _ as P, o as fe, K as xe, bQ as $e, i as pe, g as Oe, m as Pe, b as De, u as _e, h as ne, bR as oe, ba as ae, a3 as re, bS as Ne, bT as K, bU as Ie } from "./index2.js";
+import { d as B, P as c, e as j, bn as Se, l as ke, c as G, _ as P, o as fe, K as xe, bR as $e, i as pe, g as Oe, m as Pe, b as De, u as _e, h as ne, bS as oe, bb as ae, a4 as re, bT as Ne, bU as K, bV 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 Te, computed as I, inject as Me, provide as je } from "vue";
 const ye = () => ({
   prefixCls: String,
@@ -64,16 +64,16 @@ const ye = () => ({
   scrollLocker: c.any,
   inline: Boolean
 });
-function Ae(e) {
+function Ve(e) {
   return Array.isArray(e) ? e : [e];
 }
-const Ve = {
+const Ae = {
   transition: "transitionend",
   WebkitTransition: "webkitTransitionEnd",
   MozTransition: "transitionend",
   OTransition: "oTransitionEnd otransitionend"
 };
-Object.keys(Ve).filter((e) => {
+Object.keys(Ae).filter((e) => {
   if (typeof document == "undefined")
     return !1;
   const o = document.getElementsByTagName("html")[0];
@@ -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(), D = O(), g = O(), w = O();
     let m = [];
     `${Number((Date.now() + Math.random()).toString().replace(".", Math.round(Math.random() * 9).toString())).toString(16)}`, me(() => {
       L(() => {
@@ -143,7 +143,7 @@ const de = q({
       (d = (a = S.value) === null || a === void 0 ? void 0 : a.focus) === null || d === void 0 || d.call(a);
     }, y = (a) => {
       l("close", a);
-    }, g = (a) => {
+    }, b = (a) => {
       a.keyCode === xe.ESC && (a.stopPropagation(), y(a));
     }, C = () => {
       const {
@@ -161,7 +161,7 @@ const de = q({
       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);
-      }) : d && Ae(d).forEach((p) => {
+      }) : d && Ve(d).forEach((p) => {
         document.querySelectorAll(p).forEach((x) => {
           m.push(x);
         });
@@ -181,10 +181,10 @@ const de = q({
         open: v,
         prefixCls: p,
         placement: x,
-        level: A,
-        levelMove: V,
-        ease: Q,
-        duration: J,
+        level: V,
+        levelMove: A,
+        ease: J,
+        duration: Q,
         getContainer: Z,
         onChange: ee,
         afterVisibleChange: te,
@@ -201,20 +201,20 @@ const de = q({
         rootStyle: X,
         maskMotion: he,
         motion: Y,
-        inline: ge
-      } = e, be = ze(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"]), z = v && N.value, we = G(p, {
+        inline: be
+      } = e, ge = ze(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"]), z = v && N.value, we = G(p, {
         [`${p}-${x}`]: !0,
         [`${p}-open`]: z,
-        [`${p}-inline`]: ge,
+        [`${p}-inline`]: be,
         "no-mask": !F,
         [U]: !0
       }), Ce = typeof Y == "function" ? Y(x) : Y;
-      return u("div", P(P({}, fe(be, ["autofocus"])), {}, {
+      return u("div", P(P({}, fe(ge, ["autofocus"])), {}, {
         tabindex: -1,
         class: we,
         style: X,
         ref: S,
-        onKeydown: z && H ? g : void 0
+        onKeydown: z && H ? b : void 0
       }), [u(le, he, {
         default: () => [F && ie(u("div", {
           class: `${p}-mask`,
@@ -236,7 +236,7 @@ const de = q({
           ref: w
         }, [(a = t.default) === null || a === void 0 ? void 0 : a.call(t)]), t.handler ? u("div", {
           onClick: T,
-          ref: b
+          ref: g
         }, [(d = t.handler) === null || d === void 0 ? void 0 : d.call(t)]) : null]), [[se, z]])]
       })]);
     };
@@ -277,22 +277,22 @@ const Le = q({
       emit: l,
       slots: t
     } = o;
-    const i = Te(null), S = (b) => {
-      l("handleClick", b);
-    }, D = (b) => {
-      l("close", b);
+    const i = Te(null), S = (g) => {
+      l("handleClick", g);
+    }, D = (g) => {
+      l("close", g);
     };
     return () => {
       const {
-        getContainer: b,
+        getContainer: g,
         wrapperClassName: w,
         rootClassName: m,
         rootStyle: h,
         forceRender: y
-      } = e, g = ce(e, ["getContainer", "wrapperClassName", "rootClassName", "rootStyle", "forceRender"]);
+      } = e, b = ce(e, ["getContainer", "wrapperClassName", "rootClassName", "rootStyle", "forceRender"]);
       let C = null;
-      if (!b)
-        return u(de, P(P({}, g), {}, {
+      if (!g)
+        return u(de, P(P({}, b), {}, {
           rootClassName: m,
           rootStyle: h,
           open: e.open,
@@ -305,7 +305,7 @@ const Le = q({
         autoLock: !0,
         visible: e.open,
         forceRender: _,
-        getContainer: b,
+        getContainer: g,
         wrapperClassName: w
       }, {
         default: (T) => {
@@ -315,7 +315,7 @@ const Le = q({
           } = T, d = ce(T, ["visible", "afterClose"]);
           return u(de, P(P(P({
             ref: i
-          }, g), d), {}, {
+          }, b), d), {}, {
             rootClassName: m,
             rootStyle: h,
             open: N !== void 0 ? N : e.open,
@@ -444,12 +444,12 @@ const Le = q({
     colorBgElevated: i,
     motionDurationSlow: S,
     motionDurationMid: D,
-    padding: b,
+    padding: g,
     paddingLG: w,
     fontSizeLG: m,
     lineHeightLG: h,
     lineWidth: y,
-    lineType: g,
+    lineType: b,
     colorSplit: C,
     marginSM: _,
     colorIcon: T,
@@ -549,10 +549,10 @@ const Le = q({
         display: "flex",
         flex: 0,
         alignItems: "center",
-        padding: `${b}px ${w}px`,
+        padding: `${g}px ${w}px`,
         fontSize: m,
         lineHeight: h,
-        borderBottom: `${y}px ${g} ${C}`,
+        borderBottom: `${y}px ${b} ${C}`,
         "&-title": {
           display: "flex",
           flex: 1,
@@ -606,7 +606,7 @@ const Le = q({
       [`${o}-footer`]: {
         flexShrink: 0,
         padding: `${f}px ${k}px`,
-        borderTop: `${y}px ${g} ${C}`
+        borderTop: `${y}px ${b} ${C}`
       },
       // ====================== RTL =======================
       "&-rtl": {
@@ -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), D = O(!1), g = O(null), w = O(!1), m = O(!1), h = I(() => {
       var n;
       return (n = e.open) !== null && n !== void 0 ? n : e.visible;
     });
@@ -751,10 +751,10 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       immediate: !0
     });
     const y = Me("parentDrawerOpts", null), {
-      prefixCls: g,
+      prefixCls: b,
       getPopupContainer: C,
       direction: _
-    } = _e("drawer", e), [T, N] = He(g), a = I(() => (
+    } = _e("drawer", e), [T, N] = He(b), a = I(() => (
       // 有可能为 false,所以不能直接判断
       e.getContainer === void 0 && (C != null && C.value) ? () => C.value(document.body) : e.getContainer
     ));
@@ -781,7 +781,7 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
     });
     const k = () => {
       var n, r;
-      (r = (n = b.value) === null || n === void 0 ? void 0 : n.domFocus) === null || r === void 0 || r.call(n);
+      (r = (n = g.value) === null || n === void 0 ? void 0 : n.domFocus) === null || r === void 0 || r.call(n);
     }, v = (n) => {
       l("update:visible", !1), l("update:open", !1), l("close", n);
     }, p = (n) => {
@@ -794,13 +794,13 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       } = e;
       let s;
       return typeof n == "boolean" ? s = n ? ue.distance : 0 : s = n.distance, s = parseFloat(String(s || 0)), r === "left" || r === "right" ? `translateX(${r === "left" ? s : -s}px)` : r === "top" || r === "bottom" ? `translateY(${r === "top" ? s : -s}px)` : null;
-    }), A = I(() => {
+    }), V = I(() => {
       var n;
       return (n = e.width) !== null && n !== void 0 ? n : e.size === "large" ? 736 : 378;
-    }), V = I(() => {
+    }), A = I(() => {
       var n;
       return (n = e.height) !== null && n !== void 0 ? n : e.size === "large" ? 736 : 378;
-    }), Q = I(() => {
+    }), J = I(() => {
       const {
         mask: n,
         placement: r
@@ -808,12 +808,12 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       if (!m.value && !n)
         return {};
       const s = {};
-      return r === "left" || r === "right" ? s.width = oe(A.value) ? `${A.value}px` : A.value : s.height = oe(V.value) ? `${V.value}px` : V.value, s;
-    }), J = I(() => {
+      return r === "left" || r === "right" ? s.width = oe(V.value) ? `${V.value}px` : V.value : s.height = oe(A.value) ? `${A.value}px` : A.value, s;
+    }), Q = I(() => {
       const {
         zIndex: n,
         contentWrapperStyle: r
-      } = e, s = Q.value;
+      } = e, s = J.value;
       return [{
         zIndex: n,
         transform: S.value ? x.value : void 0
@@ -873,8 +873,8 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
       }, [r]);
     }, W = I(() => G({
       "no-mask": !e.mask,
-      [`${g.value}-rtl`]: _.value === "rtl"
-    }, e.rootClassName, N.value)), R = I(() => ae(re(g.value, "mask-motion"))), H = (n) => ae(re(g.value, `panel-motion-${n}`));
+      [`${b.value}-rtl`]: _.value === "rtl"
+    }, e.rootClassName, N.value)), R = I(() => ae(re(b.value, "mask-motion"))), H = (n) => ae(re(b.value, `panel-motion-${n}`));
     return () => {
       const {
         width: n,
@@ -887,30 +887,30 @@ const Xe = ["top", "right", "bottom", "left"], ue = {
         onClose: v,
         afterVisibleChange: p,
         handler: !1,
-        prefixCls: g.value,
+        prefixCls: b.value,
         open: m.value,
         showMask: $,
         placement: s,
-        ref: b
+        ref: g
       });
       return T(u(Ne, null, {
         default: () => [u(Le, P(P({}, X), {}, {
           maskMotion: R.value,
           motion: H,
-          width: A.value,
-          height: V.value,
+          width: V.value,
+          height: A.value,
           getContainer: a.value,
           rootClassName: W.value,
           rootStyle: e.rootStyle,
-          contentWrapperStyle: J.value
+          contentWrapperStyle: Q.value
         }), {
           handler: e.handle ? () => e.handle : t.handle,
-          default: () => te(g.value)
+          default: () => te(b.value)
         })]
       }));
     };
   }
-}), Qe = De(Ke);
+}), Je = De(Ke);
 export {
-  Qe as _
+  Je as _
 };

+ 23 - 23
lib/js/index9.js

@@ -1,29 +1,29 @@
-import { u as W, bV as k, c as L, d as m, bb as M, _ as G, bn as q, P as I, bg as j, bW as b } from "./index2.js";
-import { defineComponent as H, computed as o, ref as B, watch as J, createVNode as p, Fragment as K } from "vue";
-import { u as Q } from "./useFlexGapSupport.js";
-const U = {
+import { u as W, bW as k, c as L, d as m, bc as M, _ as G, bo as X, P as I, bh as j, bX as b } from "./index2.js";
+import { defineComponent as q, computed as o, ref as B, watch as H, createVNode as p, Fragment as J } from "vue";
+import { u as K } from "./useFlexGapSupport.js";
+const Q = {
   small: 8,
   middle: 16,
   large: 24
-}, X = () => ({
+}, U = () => ({
   prefixCls: String,
   size: {
     type: [String, Number, Array]
   },
   direction: I.oneOf(j("horizontal", "vertical")).def("horizontal"),
   align: I.oneOf(j("start", "end", "center", "baseline")),
-  wrap: q()
+  wrap: X()
 });
 function Y(e) {
-  return typeof e == "string" ? U[e] : e || 0;
+  return typeof e == "string" ? Q[e] : e || 0;
 }
-const d = H({
+const d = q({
   compatConfig: {
     MODE: 3
   },
   name: "ASpace",
   inheritAttrs: !1,
-  props: X(),
+  props: U(),
   slots: Object,
   setup(e, F) {
     let {
@@ -33,22 +33,22 @@ const d = H({
     const {
       prefixCls: l,
       space: g,
-      direction: x
-    } = W("space", e), [P, V] = k(l), z = Q(), n = o(() => {
+      direction: h
+    } = W("space", e), [P, D] = k(l), x = K(), n = o(() => {
       var t, a, i;
       return (i = (t = e.size) !== null && t !== void 0 ? t : (a = g == null ? void 0 : g.value) === null || a === void 0 ? void 0 : a.size) !== null && i !== void 0 ? i : "small";
     }), y = B(), s = B();
-    J(n, () => {
+    H(n, () => {
       [y.value, s.value] = (Array.isArray(n.value) ? n.value : [n.value, n.value]).map((t) => Y(t));
     }, {
       immediate: !0
     });
-    const h = o(() => e.align === void 0 && e.direction === "horizontal" ? "center" : e.align), D = o(() => L(l.value, V.value, `${l.value}-${e.direction}`, {
-      [`${l.value}-rtl`]: x.value === "rtl",
-      [`${l.value}-align-${h.value}`]: h.value
-    })), E = o(() => x.value === "rtl" ? "marginLeft" : "marginRight"), R = o(() => {
+    const z = o(() => e.align === void 0 && e.direction === "horizontal" ? "center" : e.align), E = o(() => L(l.value, D.value, `${l.value}-${e.direction}`, {
+      [`${l.value}-rtl`]: h.value === "rtl",
+      [`${l.value}-align-${z.value}`]: z.value
+    })), R = o(() => h.value === "rtl" ? "marginLeft" : "marginRight"), T = o(() => {
       const t = {};
-      return z.value && (t.columnGap = `${y.value}px`, t.rowGap = `${s.value}px`), m(m({}, t), e.wrap && {
+      return x.value && (t.columnGap = `${y.value}px`, t.rowGap = `${s.value}px`), m(m({}, t), e.wrap && {
         flexWrap: "wrap",
         marginBottom: `${-s.value}px`
       });
@@ -57,25 +57,25 @@ const d = H({
       var t, a;
       const {
         wrap: i,
-        direction: T = "horizontal"
+        direction: V = "horizontal"
       } = e, C = (t = r.default) === null || t === void 0 ? void 0 : t.call(r), _ = M(C), w = _.length;
       if (w === 0)
         return null;
       const c = (a = r.split) === null || a === void 0 ? void 0 : a.call(r), A = `${l.value}-item`, N = y.value, S = w - 1;
       return p("div", G(G({}, f), {}, {
-        class: [D.value, f.class],
-        style: [R.value, f.style]
+        class: [E.value, f.class],
+        style: [T.value, f.style]
       }), [_.map((O, u) => {
         let $ = C.indexOf(O);
         $ === -1 && ($ = `$$space-${u}`);
         let v = {};
-        return z.value || (T === "vertical" ? u < S && (v = {
+        return x.value || (V === "vertical" ? u < S && (v = {
           marginBottom: `${N / (c ? 2 : 1)}px`
         }) : v = m(m({}, u < S && {
-          [E.value]: `${N / (c ? 2 : 1)}px`
+          [R.value]: `${N / (c ? 2 : 1)}px`
         }), i && {
           paddingBottom: `${s.value}px`
-        })), P(p(K, {
+        })), P(p(J, {
           key: $
         }, [p("div", {
           class: A,

+ 1 - 1
lib/js/message.js

@@ -15,7 +15,7 @@ var k = (T, m, d) => new Promise((b, _) => {
   p((d = d.apply(T, m)).next());
 });
 import { ref as D, reactive as N, onMounted as S, onUnmounted as A, resolveComponent as K, openBlock as M, createBlock as I, withCtx as n, createVNode as o, createElementVNode as y, toDisplayString as u, createCommentVNode as O } from "vue";
-import { e2 as L, I as q, ed as x, ee as z, ef as F, eg as G, eh as H, e6 as J, e7 as Q, ai as $ } from "./index2.js";
+import { e2 as L, I as q, ed as x, ee as z, ef as F, eg as G, eh as H, e6 as J, e7 as Q, aj as $ } from "./index2.js";
 import { T as W, _ as X } from "./index13.js";
 import { R as Z } from "./dayjs.js";
 const ee = ["onClick"], te = !1, ce = /* @__PURE__ */ Object.assign({ name: "MessageCenter" }, {

+ 4 - 4
lib/js/qr-code.js

@@ -17,11 +17,11 @@ var Q = (r, o, l) => new Promise((h, d) => {
 import { defineComponent as j, computed as Z, shallowRef as K, watchEffect as ie, watch as Ae, createVNode as v, Fragment as re, ref as L, onMounted as be, onBeforeUnmount as Ie, resolveComponent as ee, openBlock as B, createElementBlock as U, createElementVNode as S, withCtx as y, createTextVNode as P, toDisplayString as R, unref as te, createCommentVNode as ne, createBlock as Se } from "vue";
 import { useRouter as Ne } from "vue-router";
 import { a as Pe } from "./account.js";
-import { g as Le, m as Te, d as T, r as xe, bo as G, e as ze, _ as D, b as $e, bq as Be, b3 as Oe, u as Ue, cB as De, aA as le, B as ae, e9 as ke, ea as Fe, eb as He, n as Ve, dL as qe, ad as Ke } from "./index2.js";
+import { g as Le, m as Te, d as T, r as xe, bp as G, e as ze, _ as D, b as $e, br as Be, b4 as Oe, u as Ue, cB as De, aB as le, B as ae, e9 as ke, ea as Fe, eb as He, n as Ve, dL as qe, ae as Ke } from "./index2.js";
 import { s as oe } from "./success-qrcode.js";
-import { C as Ge } from "./index19.js";
-import { T as Ye, a as We, P as Xe } from "./index18.js";
-import { _ as je } from "./index16.js";
+import { C as Ge } from "./index18.js";
+import { T as Ye, a as We, P as Xe } from "./index17.js";
+import { _ as je } from "./index19.js";
 import { S as Ze } from "./index9.js";
 const Je = (r) => {
   const {

+ 592 - 0
lib/js/tools-doc.js

@@ -0,0 +1,592 @@
+import { openBlock as a, createElementBlock as o, createElementVNode as e, createTextVNode as t, toDisplayString as n, Fragment as w, renderList as m } from "vue";
+import { n as u } from "./index2.js";
+const _ = {
+  name: "ToolsDoc",
+  data() {
+    return {
+      // 基座内置依赖(package.json dependencies),业务可直接 import 使用
+      depRows: [
+        { name: "dayjs", ver: "^1.11.12", desc: window.$l("日期格式化(推荐)") },
+        { name: "axios", ver: "^1.7.3", desc: window.$l("请求(已封装为 $utils.http)") },
+        { name: "qs", ver: "^6.13.0", desc: window.$l("参数序列化 stringify") },
+        { name: "lodash.get", ver: "^4.4.2", desc: window.$l("安全取值") },
+        { name: "lodash.clonedeep", ver: "^4.5.0", desc: window.$l("深拷贝") },
+        { name: "crypto-js", ver: "^4.2.0", desc: window.$l("加解密") },
+        { name: "js-base64", ver: "^3.7.2", desc: window.$l("Base64 编解码") },
+        { name: "jsencrypt", ver: "^3.3.2", desc: window.$l("RSA 加密") },
+        { name: "moment", ver: "^2.30.1", desc: window.$l("日期(老代码兼容)") },
+        { name: "html2canvas", ver: "^1.4.1", desc: window.$l("页面截图($getPdf 动态加载)") },
+        { name: "jspdf", ver: "^4.2.1", desc: window.$l("导出 PDF($getPdf 动态加载)") },
+        { name: "nprogress", ver: "^0.2.0", desc: window.$l("顶部加载进度条") },
+        { name: "@vueuse/core", ver: "^11.0.3", desc: window.$l("组合式工具函数") },
+        { name: "vue-cropper", ver: "^1.1.4", desc: window.$l("图片裁剪(SCopperUpload)") },
+        { name: "vuedraggable", ver: "^4.1.0", desc: window.$l("拖拽排序") },
+        { name: "v-clipboard", ver: "^3.0.0-next.1", desc: window.$l("复制到剪贴板") },
+        { name: "vue-ls", ver: "^4.2.0", desc: window.$l("localStorage(已包成 $utils.ls)") },
+        { name: "jodit", ver: "3.24.7", desc: window.$l("富文本编辑器(SEditor)") },
+        { name: "less / less-loader", ver: "^4.2.0 / ^12.2.0", desc: window.$l("样式编译") },
+        {
+          name: "@ant-design/icons-vue",
+          ver: window.$l("随 ant-design-vue"),
+          desc: window.$l("图标,全部已全局注册")
+        },
+        { name: "vue", ver: "^3.4.29", desc: window.$l("★ 单例依赖:基座不打包,业务必须安装") },
+        {
+          name: "vue-router",
+          ver: "^4.3.3",
+          desc: window.$l("★ 单例依赖:基座不打包,业务必须安装")
+        },
+        { name: "pinia", ver: "^2.1.7", desc: window.$l("★ 单例依赖:基座不打包,业务必须安装") },
+        {
+          name: "vue-i18n",
+          ver: "^9.14.0",
+          desc: window.$l("★ 单例依赖:基座不打包,业务必须安装")
+        },
+        {
+          name: "ant-design-vue",
+          ver: "4.x",
+          desc: window.$l("★ 单例依赖:基座不打包,业务必须安装")
+        }
+      ],
+      // web-config 配置项清单(packages/config/web-config.js 的 defaultEnv,可被 .env / config.json 覆盖)
+      configRows: [
+        {
+          name: "VITE_APP_PROJECT_NAME",
+          def: "window.$l('前端项目架构')",
+          desc: window.$l("项目名称")
+        },
+        { name: "VITE_APP_VERSION", def: "'v1.0'", desc: window.$l("版本号") },
+        { name: "VITE_APP_JSS_LICENSE", def: "''", desc: "JSS license" },
+        { name: "VITE_APP_TITLE", def: "window.$l('平台')", desc: window.$l("浏览器页签名称") },
+        {
+          name: "VITE_APP_BASE_URL",
+          def: "'/'",
+          desc: window.$l("站点基础路径,子路径部署如 /monitor/")
+        },
+        { name: "VITE_APP_FOOTER_VISIBLE", def: "false", desc: window.$l("是否显示页脚版权") },
+        {
+          name: "VITE_APP_MESSAGE_VISIBLE",
+          def: "true",
+          desc: window.$l("是否显示右上角消息铃铛(设 false 隐藏)")
+        },
+        { name: "VITE_APP_LANG_ENABLE", def: "false", desc: window.$l("是否启用国际化") },
+        { name: "VITE_APP_LANG", def: "'zh'", desc: window.$l("默认语言:zh / en") },
+        { name: "VITE_APP_API_PATH", def: "'/apig'", desc: window.$l("API 地址前缀") },
+        { name: "VITE_APP_SYS_SERVER_NAME", def: "'monitor'", desc: window.$l("业务网关") },
+        { name: "VITE_APP_MESSAGE_SERVER_NAME", def: "'message'", desc: window.$l("消息网关") },
+        {
+          name: "VITE_APP_PORTAL_SERVER_NAME",
+          def: "'portal'",
+          desc: window.$l("平台网关(用户/权限/字典等)")
+        },
+        { name: "VITE_APP_FLOW_SERVER_NAME", def: "'flow'", desc: window.$l("工作流网关") },
+        {
+          name: "VITE_APP_CLIENT_ID",
+          def: "'mm0001'",
+          desc: window.$l("认证中心 clientId(须与业务注册的一致)")
+        },
+        {
+          name: "VITE_APP_PREVIEW_ONLINE",
+          def: "'/filePreview/onlinePreview?url='",
+          desc: window.$l("文件在线预览地址前缀")
+        },
+        {
+          name: "VITE_APP_WEB_SITE",
+          def: "'https://sapit.com.cn/#/home'",
+          desc: window.$l("版权链接地址")
+        },
+        {
+          name: "VITE_APP_LOGIN_CASE_NAME",
+          def: "window.$l('辽ICP备14008719号-2')",
+          desc: window.$l("登录页备案号")
+        },
+        {
+          name: "VITE_APP_BASE_CASE_NAME",
+          def: "window.$l('辽ICP备14008719号-2')",
+          desc: window.$l("默认 ICP 备案信息,可传 html 片段")
+        },
+        {
+          name: "VITE_APP_SOCKET_URL",
+          def: "'ws://127.0.0.1:8080/websocket'",
+          desc: window.$l("WebSocket 服务地址(顶部栏消息数量实时推送)")
+        },
+        {
+          name: "VITE_APP_SOCKET_PATH",
+          def: "'/apig/ws/websocket'",
+          desc: window.$l("socket.io 握手路径,需与后端一致")
+        },
+        {
+          name: "VITE_CONFIG_MODE",
+          def: "MODE === 'development'",
+          desc: window.$l("开发模式:控制台打印 $utils 等调试信息")
+        },
+        {
+          name: "VITE_APP_API_BASE_URL",
+          def: window.$l("取 env"),
+          desc: window.$l("默认接口请求地址")
+        },
+        { name: "VITE_APP_API_FILE_URL", def: "'/'", desc: window.$l("文件服务地址") },
+        {
+          name: "VITE_APP_MENU_THEME",
+          def: "'light'",
+          desc: window.$l(
+            "菜单配色模式(业务可选):light 跟随主题色的浅色系 / dark antd 黑色(#001529)。开启 VITE_APP_THEME_FOLLOW_SYSTEM 后,系统切深色时自动临时按 dark 走"
+          )
+        },
+        {
+          name: "VITE_APP_MENU_BG",
+          def: "'theme'",
+          desc: window.$l(
+            "菜单底色(仅 light 生效):theme 跟随主题色(默认,一级底/子底/悬停/选中都由主题色相推导)/ #RRGGBB 自定义;dark 模式固定 #001529,此配置无效。属基座锁定项,业务传了会被回填"
+          )
+        },
+        {
+          name: "VITE_APP_THEME_FOLLOW_SYSTEM",
+          def: "true",
+          desc: window.$l(
+            "跟随系统深浅色(prefers-color-scheme):开启后系统切深色,菜单自动换暗色、中性色令牌换暗色版,运行时即时生效不用刷新;关掉则固定按 VITE_APP_MENU_THEME 走"
+          )
+        },
+        {
+          name: "VITE_APP_MENU_BG_LIGHTNESS",
+          def: "93",
+          desc: window.$l("菜单底亮度 0-100:越大越白,越小越深(默认 93 浅色)")
+        },
+        {
+          name: "VITE_APP_MENU_BG_SATURATION",
+          def: "66",
+          desc: window.$l("菜单配色饱和度上限 0-100:越小越接近灰白")
+        },
+        {
+          name: "VITE_APP_MENU_BG_ACTIVE_MIX",
+          def: "16",
+          desc: window.$l("选中项底色里主题色的占比 0-100:越大选中块越蓝")
+        },
+        {
+          name: "VITE_APP_MENU_SUB_BG",
+          def: "''",
+          desc: window.$l("子菜单展开区底色,留空按主题色推导(默认留空)")
+        },
+        {
+          name: "VITE_APP_MENU_HOVER_BG",
+          def: "''",
+          desc: window.$l("菜单悬停项底色,留空按主题色推导(默认留空)")
+        },
+        {
+          name: "VITE_APP_MENU_ACTIVE_BG",
+          def: "''",
+          desc: window.$l("菜单选中块底色,留空按主题色推导(默认留空)")
+        },
+        {
+          name: "VITE_APP_MENU_TEXT",
+          def: "''",
+          desc: window.$l("菜单普通文字色,留空按底色推导")
+        },
+        {
+          name: "VITE_APP_MENU_TEXT_HOVER",
+          def: "''",
+          desc: window.$l("菜单悬停文字色,留空按底色推导")
+        },
+        {
+          name: "VITE_APP_MENU_TEXT_ACTIVE",
+          def: "''",
+          desc: window.$l("菜单选中文字色,留空按底色推导")
+        },
+        {
+          name: "VITE_APP_MENU_GROUP_TITLE",
+          def: "''",
+          desc: window.$l("菜单分组标题文字色,留空按底色推导")
+        },
+        {
+          name: "VITE_APP_MENU_BAR",
+          def: "'left'",
+          desc: window.$l("菜单布局:left(左侧)/ top(顶部)")
+        },
+        {
+          name: "VITE_APP_LOGIN_PATH_THEME",
+          def: "'3'",
+          desc: window.$l(
+            "登录页布局:1 左图右表单 / 2 左表单+背景 / 3 居中 / 4 深蓝品牌区+白卡片(完整版,含记住我、图形验证码、账号锁定倒计时、激活入口、扫码/找回密码跳转)。四个主题各自为独立页面级组件 packages/pages/login/login-themes/LoginTheme1~4.vue,登录页只按编号用 component :is 渲染"
+          )
+        },
+        {
+          name: "VITE_APP_THEME_VALUE",
+          def: "'blue'",
+          desc: window.$l("主题色:blue / green / orange")
+        },
+        {
+          name: "VITE_APP_THEME",
+          def: window.$l("基座维护"),
+          desc: window.$l("主题定义集合,只由基座维护,业务配置会被忽略")
+        },
+        { name: "VITE_APP_LOGIN_PATH", def: "'/login'", desc: window.$l("登录页地址") },
+        {
+          name: "VITE_APP_DEFAULT_PATH",
+          def: "'/workplace/index'",
+          desc: window.$l("登录后默认首页地址")
+        }
+      ],
+      // $utils 方法全表(packages/utils/utils.js),按用途分组
+      utilGroups: [
+        {
+          title: window.$l("全局 / 环境"),
+          items: [
+            {
+              name: "$utils.env",
+              desc: window.$l(
+                "合并后的环境配置(web-config → .env → config.json),即 VITE_APP_* 全集"
+              )
+            },
+            {
+              name: "$utils.http(config)",
+              desc: window.$l(
+                "axios 请求封装,自动携带网关前缀与 user-token 鉴权;返回 Promise,兼容 { code, data } 包裹格式"
+              )
+            },
+            {
+              name: "$utils.ls",
+              desc: window.$l("本地存储对象,方法见「本地存储」分组;key 自动带应用后缀")
+            },
+            { name: "messageFormat(str, values)", desc: window.$l("格式化 {key} 占位符字符串") },
+            {
+              name: "signOutClearKeys(storage)",
+              desc: window.$l("退出登录时要清除的本地缓存 key 集合操作")
+            },
+            { name: "appStoreKeySuffix()", desc: window.$l("获取应用本地存储 key 的后缀") }
+          ]
+        },
+        {
+          title: window.$l("本地存储($utils.ls)"),
+          items: [
+            { name: "ls.set(key, value)", desc: window.$l("写入本地存储") },
+            { name: "ls.get(key)", desc: window.$l("读取本地存储") },
+            { name: "ls.remove(key)", desc: window.$l("移除指定 key") },
+            { name: "ls.getParse(key)", desc: window.$l("读取并 JSON.parse") },
+            { name: "ls.clear(keys)", desc: window.$l("按 clearStorageMap 登出清理") }
+          ]
+        },
+        {
+          title: window.$l("类型判断"),
+          items: [
+            { name: "isType(type)", desc: window.$l("生成指定类型的判断函数") },
+            {
+              name: "isArray(obj) / isString(obj) / isBoolean(obj) / isFunction(obj) / isDate(obj) / isNumber(obj)",
+              desc: window.$l("基础类型判断")
+            },
+            {
+              name: "isInt(obj) / isNumeric(obj)",
+              desc: window.$l("整数 / 数字(含数字字符串)判断")
+            },
+            {
+              name: "isNull(obj) / isUndefined(obj) / isNullOrUndefined(obj)",
+              desc: window.$l("空值判断")
+            },
+            { name: "isPlainObject(obj) / isObject(obj)", desc: window.$l("对象判断") },
+            {
+              name: "isEmpty(obj)",
+              desc: window.$l("空值判断(undefined/null/空串/空数组/空对象)")
+            }
+          ]
+        },
+        {
+          title: window.$l("DOM 操作"),
+          items: [
+            { name: "query(el, dom) / queryAll(el, dom)", desc: window.$l("querySelector 封装") },
+            {
+              name: "isDom(el) / transformToDom(html)",
+              desc: window.$l("DOM 判断 / html 字符串转 DOM")
+            },
+            {
+              name: "on(el, event, handler) / off(el, event, handler) / once(el, event, handler)",
+              desc: window.$l("事件绑定 / 解绑 / 单次绑定")
+            },
+            {
+              name: "hasClass(el, cls) / addClass(el, cls) / removeClass(el, cls)",
+              desc: window.$l("class 操作(支持空格分隔多个)")
+            },
+            {
+              name: "getStyle(el, styleName) / setStyle(el, styleName, value)",
+              desc: window.$l("样式读取 / 设置(对象或键值)")
+            },
+            {
+              name: "getMaxZIndex(currDom)",
+              desc: window.$l("获取页面最大 zIndex(可排除当前元素)")
+            },
+            { name: "isHidden(el)", desc: window.$l("元素是否隐藏") }
+          ]
+        },
+        {
+          title: window.$l("字符串 / 文本"),
+          items: [
+            { name: "uuid(len = 27)", desc: window.$l("生成随机 uuid") },
+            { name: "trim(string)", desc: window.$l("去除首尾空白") },
+            { name: "capitalize(letter)", desc: window.$l("首字母大写") },
+            { name: "capitalizeTypeName(type)", desc: window.$l("类型名首字母大写") },
+            {
+              name: "camelCase(name)",
+              desc: window.$l("转驼峰(如 recycle_status → recycleStatus)")
+            },
+            { name: "amountToChinese(amount)", desc: window.$l("数字金额转中文大写") },
+            {
+              name: "escapeHtml(target) / unescapeHtml(target)",
+              desc: window.$l("HTML 转义 / 反转义")
+            }
+          ]
+        },
+        {
+          title: window.$l("数字 / 计算"),
+          items: [
+            {
+              name: "parseInt(number, defaultValue)",
+              desc: window.$l("安全转整数(非法返回默认值)")
+            },
+            {
+              name: "parseDecimal(number, places, min, max, defaultValue)",
+              desc: window.$l("安全转小数,可限制范围与位数")
+            },
+            {
+              name: "parsePercent(number, places, defaultValue)",
+              desc: window.$l("转百分比字符串(number * 100 + %)")
+            },
+            { name: "toThousands(number, places, defaultValue)", desc: window.$l("千分位格式化") },
+            {
+              name: "math.max(values, option) / math.min(values, option)",
+              desc: window.$l("取最大 / 最小值")
+            },
+            {
+              name: "math.sum(values, option) / math.average(values, option)",
+              desc: window.$l("求和 / 平均值")
+            }
+          ]
+        },
+        {
+          title: window.$l("数组 / 对象"),
+          items: [
+            { name: "unique(arr)", desc: window.$l("数组去重") },
+            { name: "merge(...args)", desc: window.$l("数组合并(可去重)") },
+            { name: "transpose(arr, index1, index2)", desc: window.$l("交换数组/对象两个位置") },
+            {
+              name: "namespace(namespace, root) / isExistNamespace(namespace, root)",
+              desc: window.$l("创建 / 检测对象命名空间(a.b.c)")
+            },
+            { name: "forEach(data, callback)", desc: window.$l("数组/对象通用遍历") },
+            {
+              name: "hasOwn(obj, prop) / hasOwns(obj, props)",
+              desc: window.$l("判断是否有(多个)非继承属性")
+            },
+            {
+              name: "assign(target, obj, bCover, bDepth)",
+              desc: window.$l("属性并入,默认不覆盖,支持深度合并")
+            },
+            { name: "getSingleton(fn)", desc: window.$l("单例工厂(仅执行一次)") },
+            {
+              name: "getter(target, path, valid)",
+              desc: window.$l("按属性路径取值(utils.get(object, path, defaultValue))")
+            },
+            { name: "matchPairElement(html, tagName)", desc: window.$l("匹配 html 中成对标签") }
+          ]
+        },
+        {
+          title: window.$l("日期 / 时间"),
+          items: [
+            {
+              name: "parseDate(strDate, defaultValue)",
+              desc: window.$l("字符串转 Date(非法返回默认值)")
+            },
+            {
+              name: "formatDate(date, fmt)",
+              desc: window.$l("日期格式化,默认 yyyy-MM-dd hh:mm:ss")
+            },
+            {
+              name: "getDateInterval(start, end, unit, defaultValue)",
+              desc: window.$l("两个时间差(d/h/m/s/ms)")
+            },
+            {
+              name: "getDateByDaysApart(date, number, defaultValue)",
+              desc: window.$l("相隔几天后的日期")
+            },
+            {
+              name: "getDateByMonthApart(date, number, defaultValue)",
+              desc: window.$l("相隔几月后的日期")
+            },
+            {
+              name: "getDateByMonthApartExtend(date, number, isStart, defaultValue)",
+              desc: window.$l("几月后的月初/月末滚动日期")
+            },
+            {
+              name: "getDateByYearApart(date, number, defaultValue)",
+              desc: window.$l("相隔几年后的日期")
+            },
+            {
+              name: "getDateByYearApartExtend(date, number, isStart, defaultValue)",
+              desc: window.$l("几年后的年初/年末滚动日期")
+            },
+            {
+              name: "setWorkDays(days) / isWorkDay(date)",
+              desc: window.$l("设置工作日(默认周一~周五)/ 判断是否工作日")
+            }
+          ]
+        },
+        {
+          title: window.$l("URL / 路由跳转"),
+          items: [
+            { name: "getQueryString(name, url, isDeCode)", desc: window.$l("读取 URL 查询参数") },
+            {
+              name: "setQueryString(params, url, transcoding)",
+              desc: window.$l("向 URL 追加查询参数(覆盖同名)")
+            },
+            {
+              name: "appendQuery(params, url)",
+              desc: window.$l("给当前 URL 追加参数(新的覆盖原有的)")
+            },
+            {
+              name: "parseQuery(url, separator, decode)",
+              desc: window.$l("解析 URL 查询参数为对象")
+            },
+            {
+              name: "replacePathParams(url, params)",
+              desc: window.$l("替换请求 api 上的 path 占位符")
+            },
+            {
+              name: "addRandomQuery(url, random, refresh)",
+              desc: window.$l("给 URL 追加随机参数(防缓存)")
+            },
+            { name: "getDomain(hostname)", desc: window.$l("获取域名信息") },
+            {
+              name: "isSiteUrl(url) / isOnlineAppUrl(url, client)",
+              desc: window.$l("是否站内地址 / 在线应用地址")
+            },
+            {
+              name: "parseAppUrl(url)",
+              desc: window.$l(
+                "站内地址拼接 base(支持 /monitor/ 子路径部署),完整 http(s) 原样返回"
+              )
+            },
+            {
+              name: "innerRedirect(url) / innerReplace(url) / innerOpen(url)",
+              desc: window.$l("站内跳转(支持子路径):重定向 / 替换(不留历史)/ 新窗口打开")
+            },
+            { name: "joinPath(...paths)", desc: window.$l("拼接路径(自动处理斜杠)") },
+            { name: "validPhone(phone)", desc: window.$l("手机号校验") },
+            { name: "getImg(path)", desc: window.$l("解析资源路径为完整地址") }
+          ]
+        },
+        {
+          title: window.$l("函数 / 其它"),
+          items: [
+            { name: "debounce(fn, delay, immediate)", desc: window.$l("函数防抖(可立即执行)") },
+            { name: "throttle(fn, interval)", desc: window.$l("函数节流") },
+            { name: "delay(fn, callback, maxTime)", desc: window.$l("延迟执行") },
+            { name: "animate(opts)", desc: window.$l("动画(delay/duration/step/delta/callback)") }
+          ]
+        }
+      ]
+    };
+  },
+  methods: {
+    // 默认值列里会出现 $l('…') 这类中文,英文模式下按字典翻译
+    lcode(d) {
+      return typeof d != "string" || !/[\u4e00-\u9fa5]/.test(d) ? d : d.replace(/[\u4e00-\u9fa5][\u4e00-\u9fa5:,。、;;()()【】《》…\-_/]*/g, (s) => {
+        const c = window.$l(s);
+        return c === s ? s : c;
+      });
+    }
+  }
+}, E = { class: "tools-doc" }, P = { class: "title" }, p = { class: "lead" }, f = { class: "block" }, T = { class: "block-title" }, A = { class: "desc" }, h = { class: "info-table" }, I = { style: { width: "220px" } }, g = { style: { width: "140px" } }, v = { class: "block" }, V = { class: "block-title" }, b = { class: "info-table" }, y = { style: { width: "260px" } }, S = { style: { width: "200px" } }, N = { class: "block" }, M = { class: "block-title" }, R = { class: "group-title" }, k = { class: "info-table" }, L = { style: { width: "320px" } };
+function O(d, s, c, U, i, $) {
+  return a(), o("div", E, [
+    e("h1", P, [
+      t(n(d.$l("工具 / 配置")) + " ", 1),
+      s[0] || (s[0] = e("span", { class: "en" }, "$utils & web-config", -1))
+    ]),
+    e("p", p, n(d.$l("基座初始化($registerGlobalConfig)后可用:模板 / this.$xxx / window.$xxx。")) + " " + n(d.$l(
+      "配置优先级:基座默认 < 业务 web-config.js < .env(写入 config.json)< 部署目录 config.json(运行时覆盖,改完刷新即生效)。"
+    )) + " " + n(d.$l('配置项里写的 "true"/"false" 会被归一成布尔值。')), 1),
+    e("div", f, [
+      e("div", T, n(d.$l("内置依赖(业务开箱即用,无需再安装)")), 1),
+      e("p", A, [
+        t(n(d.$l("随")), 1),
+        s[1] || (s[1] = e("code", null, "sapit-ui-plus", -1)),
+        t(" " + n(d.$l("一起装进业务 node_modules,可直接")) + " ", 1),
+        s[2] || (s[2] = e("code", null, "import", -1)),
+        s[3] || (s[3] = t("。 ", -1)),
+        e("b", null, n(d.$l("vue / vue-router / pinia / vue-i18n / ant-design-vue 为单例依赖")), 1),
+        t(n(d.$l(",基座不打包,业务必须自己安装且版本以基座为准。")), 1)
+      ]),
+      e("table", h, [
+        e("thead", null, [
+          e("tr", null, [
+            e("th", I, n(d.$l("依赖")), 1),
+            e("th", g, n(d.$l("版本")), 1),
+            e("th", null, n(d.$l("用途")), 1)
+          ])
+        ]),
+        e("tbody", null, [
+          (a(!0), o(w, null, m(i.depRows, (l) => (a(), o("tr", {
+            key: l.name
+          }, [
+            e("td", null, [
+              e("code", null, n(l.name), 1)
+            ]),
+            e("td", null, n(l.ver), 1),
+            e("td", null, n(l.desc), 1)
+          ]))), 128))
+        ])
+      ])
+    ]),
+    e("div", v, [
+      e("div", V, n(d.$l("web-config 配置项(VITE_APP_*)")), 1),
+      e("table", b, [
+        e("thead", null, [
+          e("tr", null, [
+            e("th", y, n(d.$l("配置项")), 1),
+            e("th", S, n(d.$l("默认值")), 1),
+            e("th", null, n(d.$l("说明")), 1)
+          ])
+        ]),
+        e("tbody", null, [
+          (a(!0), o(w, null, m(i.configRows, (l) => (a(), o("tr", {
+            key: l.name
+          }, [
+            e("td", null, [
+              e("code", null, n(l.name), 1)
+            ]),
+            e("td", null, n($.lcode(l.def)), 1),
+            e("td", null, n(l.desc), 1)
+          ]))), 128))
+        ])
+      ])
+    ]),
+    e("div", N, [
+      e("div", M, n(d.$l("$utils 方法全表")) + "(" + n(i.utilGroups.length) + " " + n(d.$l("类")) + ") ", 1),
+      (a(!0), o(w, null, m(i.utilGroups, (l) => (a(), o("div", {
+        key: l.title,
+        class: "util-group"
+      }, [
+        e("h3", R, n(l.title), 1),
+        e("table", k, [
+          e("thead", null, [
+            e("tr", null, [
+              e("th", L, n(d.$l("方法")), 1),
+              e("th", null, n(d.$l("说明")), 1)
+            ])
+          ]),
+          e("tbody", null, [
+            (a(!0), o(w, null, m(l.items, (r) => (a(), o("tr", {
+              key: r.name
+            }, [
+              e("td", null, [
+                e("code", null, n(r.name), 1)
+              ]),
+              e("td", null, n(r.desc), 1)
+            ]))), 128))
+          ])
+        ])
+      ]))), 128))
+    ])
+  ]);
+}
+const B = /* @__PURE__ */ u(_, [["render", O], ["__scopeId", "data-v-aa1b0030"]]);
+export {
+  B as default
+};

+ 3 - 3
lib/js/useFlexGapSupport.js

@@ -1,11 +1,11 @@
 import { shallowRef as o, onMounted as t } from "vue";
-import { bu as p } from "./index2.js";
-const u = () => {
+import { bv as p } from "./index2.js";
+const a = () => {
   const e = o(!1);
   return t(() => {
     e.value = p();
   }), e;
 };
 export {
-  u
+  a as u
 };

+ 33 - 33
lib/js/workplace.js

@@ -14,15 +14,15 @@ var Q = (e, t, a) => new Promise((l, i) => {
   }, o = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(S, h);
   o((a = a.apply(e, t)).next());
 });
-import { defineComponent as de, createVNode as d, inject as je, ref as R, provide as He, toRef as fe, computed as _, watch as Te, resolveComponent as ye, openBlock as $, createBlock as j, withCtx as P, createElementBlock as V, Fragment as se, renderList as re, normalizeStyle as Fe, unref as Z, resolveDynamicComponent as we, createTextVNode as te, toDisplayString as O, onMounted as Ve, onUnmounted as We, createElementVNode as D, createCommentVNode as oe, normalizeClass as Ie } from "vue";
+import { defineComponent as de, createVNode as d, inject as je, ref as O, provide as He, toRef as fe, computed as _, watch as Te, resolveComponent as ye, openBlock as $, createBlock as j, withCtx as P, createElementBlock as V, Fragment as se, renderList as re, normalizeStyle as Fe, unref as Z, resolveDynamicComponent as we, createTextVNode as te, toDisplayString as R, onMounted as Ve, onUnmounted as We, createElementVNode as D, createCommentVNode as oe, normalizeClass as Ie } from "vue";
 import { useRouter as Ue } from "vue-router";
-import { u as ue, P as ne, bO as Pe, _ as U, c as he, F as Ge, d_ as Je, dY as Ye, g as ke, m as Xe, d as B, r as Qe, cC as qe, d$ as Ze, bt as xe, c$ as Ke, aA as ze, i as Oe, e as ce, dZ as ie, bn as Ae, bm as et, bp as pe, l as tt, b as nt, bq as at, L as lt, b3 as ot, b5 as it, o as st, a3 as rt, e0 as ct, bF as dt, be as ut, d6 as $e, B as Re, bG as mt, f as q, bo as gt, K as vt, ad as pt, d2 as J, e1 as ft, n as yt, e2 as ht, C as Ct, e3 as bt, e4 as St, e5 as It, e6 as xt, e7 as At, e8 as $t } from "./index2.js";
+import { u as ue, P as ne, bP as Pe, _ as U, c as he, F as Ge, d_ as Je, dY as Ye, g as ke, m as Xe, d as B, r as Qe, cC as qe, d$ as Ze, bu as xe, c$ as Ke, aB as ze, i as Re, e as ce, dZ as ie, bo as Ae, bn as et, bq as pe, l as tt, b as nt, br as at, L as lt, b4 as ot, b6 as it, o as st, a4 as rt, e0 as ct, bG as dt, bf as ut, d6 as $e, B as Oe, bH as mt, f as q, bp as gt, K as vt, ae as pt, d2 as J, e1 as ft, n as yt, e2 as ht, C as Ct, e3 as bt, e4 as St, e5 as It, e6 as xt, e7 as At, e8 as $t } from "./index2.js";
 import { T as Et, _ as Tt } from "./index13.js";
-import { C as Be, _ as wt } from "./index19.js";
+import { C as Be, _ as wt } from "./index18.js";
 import { _ as Pt } from "./index6.js";
 import { A as kt } from "./ActionButton.js";
-import { C as zt, A as Ot } from "./Col.js";
-import { T as Rt } from "./index14.js";
+import { C as zt, A as Rt } from "./Col.js";
+import { T as Ot } from "./index14.js";
 const Bt = () => ({
   avatar: ne.any,
   description: ne.any,
@@ -95,8 +95,8 @@ const Nt = () => ({
       itemLayout: i,
       grid: S
     } = je(Me, {
-      grid: R(),
-      itemLayout: R()
+      grid: O(),
+      itemLayout: O()
     }), {
       prefixCls: h
     } = ue("list", e), o = () => {
@@ -464,7 +464,7 @@ const Nt = () => ({
   name: "AList",
   inheritAttrs: !1,
   Item: De,
-  props: Oe(Ft(), {
+  props: Re(Ft(), {
     dataSource: [],
     bordered: !1,
     split: !0,
@@ -489,7 +489,7 @@ const Nt = () => ({
       prefixCls: o,
       direction: p,
       renderEmpty: m
-    } = ue("list", e), [y, I] = Ht(o), v = _(() => e.pagination && typeof e.pagination == "object" ? e.pagination : {}), T = R((i = v.value.defaultCurrent) !== null && i !== void 0 ? i : 1), w = R((S = v.value.defaultPageSize) !== null && S !== void 0 ? S : 10);
+    } = ue("list", e), [y, I] = Ht(o), v = _(() => e.pagination && typeof e.pagination == "object" ? e.pagination : {}), T = O((i = v.value.defaultCurrent) !== null && i !== void 0 ? i : 1), w = O((S = v.value.defaultPageSize) !== null && S !== void 0 ? S : 10);
     Te(v, () => {
       "current" in v.value && (T.value = v.value.current), "pageSize" in v.value && (w.value = v.value.pageSize);
     });
@@ -574,7 +574,7 @@ const Nt = () => ({
           key: x[ve],
           style: f.value
         }, [ge]));
-        me = e.grid ? d(Ot, {
+        me = e.grid ? d(Rt, {
           gutter: e.grid.gutter
         }, {
           default: () => [_e]
@@ -698,7 +698,7 @@ const Gt = () => B(B({}, mt()), {
   },
   name: "APopconfirm",
   inheritAttrs: !1,
-  props: Oe(Gt(), B(B({}, dt()), {
+  props: Re(Gt(), B(B({}, dt()), {
     trigger: "click",
     placement: "top",
     mouseEnterDelay: 0.1,
@@ -717,7 +717,7 @@ const Gt = () => B(B({}, mt()), {
       expose: i,
       attrs: S
     } = t;
-    const h = R();
+    const h = O();
     at(e.visible === void 0, "Popconfirm", "`visible` will be removed in next major version, please use `open` instead."), i({
       getPopupDomNode: () => {
         var r, n;
@@ -783,7 +783,7 @@ const Gt = () => B(B({}, mt()), {
         class: `${x.value}-description`
       }, [C]), d("div", {
         class: `${x.value}-buttons`
-      }, [K ? Y ? Y(X) : d(Re, X, {
+      }, [K ? Y ? Y(X) : d(Oe, X, {
         default: () => [b || u.value.cancelText]
       }) : null, ee ? ee(ae) : d(kt, {
         buttonProps: B(B({
@@ -847,7 +847,7 @@ const Gt = () => B(B({}, mt()), {
     }, o = _({
       get: () => a.value,
       set: (g) => l("update:value", g)
-    }), p = R("mm0001"), m = R([]), y = R([]), I = _(() => i.menus), v = _(() => i.clients), T = () => {
+    }), p = O("mm0001"), m = O([]), y = O([]), I = _(() => i.menus), v = _(() => i.clients), T = () => {
       v.value && v.value.length && (m.value = v.value.map((g) => ({ id: g.id, clientId: g.clientId, clientName: g.clientName })));
     }, w = () => {
       o.value = !1;
@@ -886,7 +886,7 @@ const Gt = () => B(B({}, mt()), {
         y.value = [], x(I.value);
       }
     ), T(), (g, u) => {
-      const z = Tt, r = Et, n = wt, s = Be, E = Re, A = ye("s-modal");
+      const z = Tt, r = Et, n = wt, s = Be, E = Oe, A = ye("s-modal");
       return $(), j(A, {
         value: o.value,
         "onUpdate:value": u[1] || (u[1] = (f) => o.value = f),
@@ -900,7 +900,7 @@ const Gt = () => B(B({}, mt()), {
             onClick: w
           }, {
             default: P(() => [
-              te(O(g.$l("关闭")), 1)
+              te(R(g.$l("关闭")), 1)
             ]),
             _: 1
           })
@@ -932,7 +932,7 @@ const Gt = () => B(B({}, mt()), {
               }, {
                 default: P(() => [
                   f.icon ? ($(), j(we(h(f.icon)), { key: 1 })) : ($(), j(Z(J), { key: 0 })),
-                  te(" " + O(f.name), 1)
+                  te(" " + R(f.name), 1)
                 ]),
                 _: 2
               }, 1032, ["style", "hoverable", "onClick"]))), 128))
@@ -962,7 +962,7 @@ const Gt = () => B(B({}, mt()), {
       if (!s) return J;
       const E = a.test(s) ? s : s + "Outlined", A = ye(E);
       return typeof A == "string" ? J : A;
-    }, i = R(1), S = { padding: 0 }, h = R(0), o = R(0), p = R(!1), m = R(!1), y = R([]), I = R(!1), v = R(!1), T = R([]), w = () => Q(this, null, function* () {
+    }, i = O(1), S = { padding: 0 }, h = O(0), o = O(0), p = O(!1), m = O(!1), y = O([]), I = O(!1), v = O(!1), T = O([]), w = () => Q(this, null, function* () {
       try {
         p.value = !0;
         const n = yield bt();
@@ -1038,28 +1038,28 @@ const Gt = () => B(B({}, mt()), {
     }), We(() => {
       r && r(), r = null;
     }), (n, s) => {
-      const E = Yt, A = Be, f = ze, N = Rt, c = De, C = G;
+      const E = Yt, A = Be, f = ze, N = Ot, c = De, C = G;
       return $(), V("div", Qt, [
         d(f, { spinning: p.value }, {
           default: P(() => [
             d(A, { class: "project-list" }, {
               title: P(() => [
-                te(O(n.$l("快捷导航")), 1)
+                te(R(n.$l("快捷导航")), 1)
               ]),
               extra: P(() => [
                 !v.value && y.value.length > 0 ? ($(), V("a", {
                   key: 0,
                   onClick: s[0] || (s[0] = (b) => v.value = !0)
-                }, O(n.$l("修改")), 1)) : oe("", !0),
+                }, R(n.$l("修改")), 1)) : oe("", !0),
                 v.value ? ($(), V("a", {
                   key: 1,
                   onClick: s[1] || (s[1] = (b) => v.value = !1)
-                }, O(n.$l("返回")), 1)) : oe("", !0),
+                }, R(n.$l("返回")), 1)) : oe("", !0),
                 !v.value && y.value.length < 10 ? ($(), V("a", {
                   key: 2,
                   style: { "margin-left": "24px" },
                   onClick: s[2] || (s[2] = (b) => I.value = !0)
-                }, O(n.$l("添加")), 1)) : oe("", !0)
+                }, R(n.$l("添加")), 1)) : oe("", !0)
               ]),
               default: P(() => [
                 y.value.length > 0 ? ($(), V("div", qt, [
@@ -1074,7 +1074,7 @@ const Gt = () => B(B({}, mt()), {
                         onClick: (M) => k(b)
                       }, [
                         b.menu.icon ? ($(), j(we(l(b.menu.icon)), { key: 1 })) : ($(), j(Z(J), { key: 0 })),
-                        D("a", null, O(b.menu.name), 1)
+                        D("a", null, R(b.menu.name), 1)
                       ], 8, Zt),
                       d(E, {
                         title: n.$l("确认要移除此快捷导航吗?"),
@@ -1098,7 +1098,7 @@ const Gt = () => B(B({}, mt()), {
                   }, 1024))), 128))
                 ])) : ($(), V("div", Kt, [
                   D("img", { src: Z(Ee) }, null, 8, en),
-                  D("h4", null, O(n.$l("您没有设置快捷导航")), 1)
+                  D("h4", null, R(n.$l("您没有设置快捷导航")), 1)
                 ]))
               ]),
               _: 1
@@ -1117,17 +1117,17 @@ const Gt = () => B(B({}, mt()), {
                   D("div", {
                     class: Ie(["item", { "s-theme-color": i.value === 1 }]),
                     onClick: s[3] || (s[3] = (b) => L(1))
-                  }, O(n.$l("待处理")) + "(" + O(h.value) + ") ", 3),
+                  }, R(n.$l("待处理")) + "(" + R(h.value) + ") ", 3),
                   D("div", {
                     class: Ie(["item", { "s-theme-color": i.value === 2 }]),
                     onClick: s[4] || (s[4] = (b) => L(2))
-                  }, O(n.$l("待阅读")) + "(" + O(o.value) + ") ", 3)
+                  }, R(n.$l("待阅读")) + "(" + R(o.value) + ") ", 3)
                 ])
               ]),
               extra: P(() => [
                 D("a", {
                   onClick: s[5] || (s[5] = (b) => Z(t).push({ path: "/message/index" }))
-                }, O(n.$l("更多")), 1)
+                }, R(n.$l("更多")), 1)
               ]),
               default: P(() => [
                 T.value.length > 0 ? ($(), j(C, {
@@ -1147,7 +1147,7 @@ const Gt = () => B(B({}, mt()), {
                                 color: "var(--s-color)"
                               }, {
                                 default: P(() => [
-                                  te(O(n.$l("待处理")), 1)
+                                  te(R(n.$l("待处理")), 1)
                                 ]),
                                 _: 1
                               })) : ($(), j(N, {
@@ -1155,16 +1155,16 @@ const Gt = () => B(B({}, mt()), {
                                 color: "var(--s-color)"
                               }, {
                                 default: P(() => [
-                                  te(O(n.$l("待阅读")), 1)
+                                  te(R(n.$l("待阅读")), 1)
                                 ]),
                                 _: 1
                               })),
                               D("a", {
                                 onClick: (M) => z(b),
                                 class: "pull-right"
-                              }, O(b.contentTitle), 9, ln)
+                              }, R(b.contentTitle), 9, ln)
                             ]),
-                            D("span", on, O(b.createDate), 1)
+                            D("span", on, R(b.createDate), 1)
                           ])
                         ])
                       ]),
@@ -1174,7 +1174,7 @@ const Gt = () => B(B({}, mt()), {
                   _: 1
                 })) : ($(), V("div", sn, [
                   D("img", { src: Z(Ee) }, null, 8, rn),
-                  D("h4", null, O(n.$l("没有消息")), 1)
+                  D("h4", null, R(n.$l("没有消息")), 1)
                 ]))
               ]),
               _: 1

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio