@yuku123/z-ctc-component 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@ var oh = Object.defineProperty;
2
2
  var sh = (e, t, n) => t in e ? oh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ce = (e, t, n) => sh(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as o, jsxs as W, Fragment as Ae } from "react/jsx-runtime";
5
- import { Tag as Ie, Space as Pe, Button as he, Form as Q, Card as Ge, Tree as xa, Empty as Ht, Tooltip as it, Descriptions as Oe, Table as Xt, Input as ve, Modal as At, Dropdown as Os, Popconfirm as kt, message as de, Select as yt, theme as $n, ConfigProvider as De, Result as lh, Popover as Sa, Typography as ia, Badge as nn, Row as Zt, Col as at, Tabs as wa, Grid as ch, Spin as Lr, Cascader as dh, Checkbox as Bd, ColorPicker as pl, DatePicker as Hn, InputNumber as gn, Image as uh, Progress as fh, Radio as hh, Rate as yl, Segmented as mh, Slider as gh, Switch as ph, TimePicker as Vo, TreeSelect as yh, Avatar as bl, Drawer as Ca, Steps as bh, Divider as xh, Menu as Yd, List as no, Statistic as zn } from "antd";
5
+ import { Tag as Ie, Space as Pe, Button as he, Form as Q, Card as Ge, Tree as xa, Empty as Ht, Tooltip as it, Descriptions as Oe, Table as Xt, Input as ve, Modal as At, Dropdown as Os, Popconfirm as kt, message as de, Select as yt, theme as $n, ConfigProvider as De, Result as lh, Popover as Sa, Typography as ia, Badge as nn, Row as Zt, Col as at, Tabs as wa, Grid as ch, Spin as zr, Cascader as dh, Checkbox as Bd, ColorPicker as pl, DatePicker as Hn, InputNumber as gn, Image as uh, Progress as fh, Radio as hh, Rate as yl, Segmented as mh, Slider as gh, Switch as ph, TimePicker as Vo, TreeSelect as yh, Avatar as bl, Drawer as Ca, Steps as bh, Divider as xh, Menu as Yd, List as no, Statistic as zn } from "antd";
6
6
  import { Button as vR, Card as TR, Form as FR, Input as $R, Space as RR, Table as ER } from "antd";
7
- import { ComponentDoc as Sh, ListTable as Ar, SearchInput as Si, EmptyState as xl, TableToolbar as wh } from "@yuku123/z-frontend-common/ui";
8
- import { PlusOutlined as Ot, ReloadOutlined as Rt, DeleteOutlined as dr, InfoCircleOutlined as Ms, CloseCircleFilled as Ch, DownOutlined as wi, LoadingOutlined as Or, RightOutlined as Ud, SearchOutlined as ur, EyeOutlined as vh, EyeInvisibleOutlined as Th, CopyOutlined as Ci, ArrowUpOutlined as Hd, ArrowDownOutlined as Kd, FilterOutlined as Fh, SettingOutlined as $h, VerticalAlignTopOutlined as Rh, VerticalAlignMiddleOutlined as Eh, VerticalAlignBottomOutlined as Ih, ColumnHeightOutlined as Ah, FullscreenExitOutlined as Oh, FullscreenOutlined as Mh, UndoOutlined as va, DownloadOutlined as Wd, UserOutlined as kh, FileTextOutlined as Dh, EditOutlined as Nh, StopOutlined as Ph, TeamOutlined as qd, LinkOutlined as Gd, LoginOutlined as jo, SafetyCertificateOutlined as _h, AppstoreOutlined as Lh } from "@ant-design/icons";
7
+ import { ComponentDoc as Sh, ListTable as Or, SearchInput as Si, EmptyState as xl, TableToolbar as wh } from "@yuku123/z-frontend-common/ui";
8
+ import { PlusOutlined as Ot, ReloadOutlined as Rt, DeleteOutlined as dr, InfoCircleOutlined as Ms, CloseCircleFilled as Ch, DownOutlined as wi, LoadingOutlined as Mr, RightOutlined as Ud, SearchOutlined as ur, EyeOutlined as vh, EyeInvisibleOutlined as Th, CopyOutlined as Ci, ArrowUpOutlined as Hd, ArrowDownOutlined as Kd, FilterOutlined as Fh, SettingOutlined as $h, VerticalAlignTopOutlined as Rh, VerticalAlignMiddleOutlined as Eh, VerticalAlignBottomOutlined as Ih, ColumnHeightOutlined as Ah, FullscreenExitOutlined as Oh, FullscreenOutlined as Mh, UndoOutlined as va, DownloadOutlined as Wd, UserOutlined as kh, FileTextOutlined as Dh, EditOutlined as Nh, StopOutlined as Ph, TeamOutlined as qd, LinkOutlined as Gd, LoginOutlined as jo, SafetyCertificateOutlined as _h, AppstoreOutlined as Lh } from "@ant-design/icons";
9
9
  import * as Te from "react";
10
10
  import re, { useEffect as $e, useState as J, useCallback as Fe, useMemo as ie, isValidElement as zh, version as Vh, useInsertionEffect as jh, useContext as xe, useRef as be, createElement as _t, createContext as ks, useLayoutEffect as Bh, useDebugValue as Yh, useImperativeHandle as ft, createRef as Uh, forwardRef as Hh, Fragment as Kh, memo as Zd } from "react";
11
11
  import { createRequest as Rn } from "@yuku123/z-frontend-common";
@@ -17,7 +17,7 @@ function rR() {
17
17
  }
18
18
  function aR({ dataSource: e, loading: t, onEdit: n, onDelete: r, onRefresh: a }) {
19
19
  return /* @__PURE__ */ o(
20
- Ar,
20
+ Or,
21
21
  {
22
22
  rows: e,
23
23
  columns: [
@@ -670,7 +670,7 @@ function Ds(e) {
670
670
  function on() {
671
671
  return Rn({ baseURL: Qd, timeout: 15e3 });
672
672
  }
673
- const Tr = {
673
+ const Fr = {
674
674
  /** POST /api/ctc/ac/tenants — 创建租户, 返回新 ID */
675
675
  create: (e) => on().post("/ctc/ac/tenants", e),
676
676
  /** GET /api/ctc/ac/tenants?tenantCode=xxx — 按 code 查询 (请求参数) */
@@ -715,7 +715,7 @@ function oR({ apiBaseURL: e, defaultTenant: t, defaultDomain: n }) {
715
715
  return $e(() => {
716
716
  (async () => {
717
717
  try {
718
- const m = await Tr.listAll(), b = Array.isArray(m) ? m : [], g = b.map((C) => ({
718
+ const m = await Fr.listAll(), b = Array.isArray(m) ? m : [], g = b.map((C) => ({
719
719
  value: C.tenantCode,
720
720
  label: `${C.tenantName || C.tenantCode} (${C.tenantCode})`
721
721
  }));
@@ -1055,7 +1055,7 @@ function sR({ apiBaseURL: e, platformView: t = !1 }) {
1055
1055
  const [n, r] = J([]), [a, i] = J(!1), [s, l] = J({}), [c, f] = J({}), [h, d] = J([]), [u, m] = J([]), [b, g] = J([]), [w, C] = J(null), [p, x] = J([]), [S, y] = J(!1), [v] = Q.useForm(), [T, F] = J(!1), [R, I] = J(null), [A] = Q.useForm(), [B, j] = J(!1), [k, E] = J(null), [$] = Q.useForm(), L = Fe(async () => {
1056
1056
  i(!0);
1057
1057
  try {
1058
- const se = t ? await Tr.listAllForPlatform() : await Tr.listAll();
1058
+ const se = t ? await Fr.listAllForPlatform() : await Fr.listAll();
1059
1059
  r(Array.isArray(se) ? se : []);
1060
1060
  } catch (se) {
1061
1061
  de.error((t ? "获取全平台租户失败(系统租户面板仅平台管理员可访问):" : "获取租户列表失败:") + ((se == null ? void 0 : se.message) || "未知错误")), r([]);
@@ -1127,7 +1127,7 @@ function sR({ apiBaseURL: e, platformView: t = !1 }) {
1127
1127
  }, G = async () => {
1128
1128
  try {
1129
1129
  const se = await v.validateFields();
1130
- await Tr.create({ ...se, status: 1 }), de.success("创建成功"), y(!1), v.resetFields(), await L();
1130
+ await Fr.create({ ...se, status: 1 }), de.success("创建成功"), y(!1), v.resetFields(), await L();
1131
1131
  } catch (se) {
1132
1132
  if (se != null && se.errorFields) return;
1133
1133
  de.error("创建失败:" + ((se == null ? void 0 : se.message) || "未知错误"));
@@ -1135,7 +1135,7 @@ function sR({ apiBaseURL: e, platformView: t = !1 }) {
1135
1135
  }, z = async (se, ge) => {
1136
1136
  const we = ge === 1 ? 0 : 1;
1137
1137
  try {
1138
- await Tr.updateStatus(se, we), de.success(we === 1 ? "已启用" : "已停用"), await L();
1138
+ await Fr.updateStatus(se, we), de.success(we === 1 ? "已启用" : "已停用"), await L();
1139
1139
  } catch (ae) {
1140
1140
  de.error("操作失败:" + ((ae == null ? void 0 : ae.message) || "未知错误"));
1141
1141
  }
@@ -1515,7 +1515,7 @@ function lR({ apiBaseURL: e }) {
1515
1515
  const [t, n] = J([]), [r, a] = J(""), [i, s] = J(!1), [l, c] = J([]), [f, h] = J(!1), [d, u] = J(!1), [m, b] = J(null), [g] = Q.useForm(), w = Fe(async () => {
1516
1516
  s(!0);
1517
1517
  try {
1518
- const F = await Tr.listAll(), R = Array.isArray(F) ? F : [];
1518
+ const F = await Fr.listAll(), R = Array.isArray(F) ? F : [];
1519
1519
  n(R), a((I) => {
1520
1520
  var A;
1521
1521
  return R.some((B) => B.tenantCode === I) ? I : ((A = R[0]) == null ? void 0 : A.tenantCode) || "";
@@ -2146,10 +2146,10 @@ function Ml(e, t, n = !1) {
2146
2146
  }
2147
2147
  return a(e, t);
2148
2148
  }
2149
- var Wr = { exports: {} }, kl;
2149
+ var qr = { exports: {} }, kl;
2150
2150
  function Tm() {
2151
- if (kl) return Wr.exports;
2152
- kl = 1, Wr.exports = r, Wr.exports.isMobile = r, Wr.exports.default = r;
2151
+ if (kl) return qr.exports;
2152
+ kl = 1, qr.exports = r, qr.exports.isMobile = r, qr.exports.default = r;
2153
2153
  const e = /(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i, t = /CrOS/, n = /android|ipad|playbook|silk/i;
2154
2154
  function r(a) {
2155
2155
  a || (a = {});
@@ -2158,7 +2158,7 @@ function Tm() {
2158
2158
  let s = e.test(i) && !t.test(i) || !!a.tablet && n.test(i);
2159
2159
  return !s && a.tablet && a.featureDetect && navigator && navigator.maxTouchPoints > 1 && i.indexOf("Macintosh") !== -1 && i.indexOf("Safari") !== -1 && (s = !0), s;
2160
2160
  }
2161
- return Wr.exports;
2161
+ return qr.exports;
2162
2162
  }
2163
2163
  Tm();
2164
2164
  function Qe(e, t) {
@@ -2233,7 +2233,7 @@ function Rm(e, t = {}) {
2233
2233
  s([]);
2234
2234
  }), a;
2235
2235
  }
2236
- function Fr(...e) {
2236
+ function $r(...e) {
2237
2237
  return Rm(e);
2238
2238
  }
2239
2239
  function fu(e) {
@@ -2620,9 +2620,9 @@ function zl(e, t) {
2620
2620
  return !Cn(n, t);
2621
2621
  });
2622
2622
  }
2623
- var Vi = 1, Mr = 1, wu = 0, Qt = 0, xt = 0, zr = "";
2623
+ var Vi = 1, kr = 1, wu = 0, Qt = 0, xt = 0, Vr = "";
2624
2624
  function ji(e, t, n, r, a, i, s, l) {
2625
- return { value: e, root: t, parent: n, type: r, props: a, children: i, line: Vi, column: Mr, length: s, return: "", siblings: l };
2625
+ return { value: e, root: t, parent: n, type: r, props: a, children: i, line: Vi, column: kr, length: s, return: "", siblings: l };
2626
2626
  }
2627
2627
  function Pn(e, t) {
2628
2628
  return Wo(ji("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
@@ -2636,19 +2636,19 @@ function ig() {
2636
2636
  return xt;
2637
2637
  }
2638
2638
  function og() {
2639
- return xt = Qt > 0 ? St(zr, --Qt) : 0, Mr--, xt === 10 && (Mr = 1, Vi--), xt;
2639
+ return xt = Qt > 0 ? St(Vr, --Qt) : 0, kr--, xt === 10 && (kr = 1, Vi--), xt;
2640
2640
  }
2641
2641
  function ln() {
2642
- return xt = Qt < wu ? St(zr, Qt++) : 0, Mr++, xt === 10 && (Mr = 1, Vi++), xt;
2642
+ return xt = Qt < wu ? St(Vr, Qt++) : 0, kr++, xt === 10 && (kr = 1, Vi++), xt;
2643
2643
  }
2644
2644
  function Vn() {
2645
- return St(zr, Qt);
2645
+ return St(Vr, Qt);
2646
2646
  }
2647
2647
  function si() {
2648
2648
  return Qt;
2649
2649
  }
2650
2650
  function Bi(e, t) {
2651
- return ir(zr, e, t);
2651
+ return ir(Vr, e, t);
2652
2652
  }
2653
2653
  function ha(e) {
2654
2654
  switch (e) {
@@ -2689,10 +2689,10 @@ function ha(e) {
2689
2689
  return 0;
2690
2690
  }
2691
2691
  function sg(e) {
2692
- return Vi = Mr = 1, wu = an(zr = e), Qt = 0, [];
2692
+ return Vi = kr = 1, wu = an(Vr = e), Qt = 0, [];
2693
2693
  }
2694
2694
  function lg(e) {
2695
- return zr = "", e;
2695
+ return Vr = "", e;
2696
2696
  }
2697
2697
  function uo(e) {
2698
2698
  return xu(Bi(Qt - 1, qo(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
@@ -3785,7 +3785,7 @@ const Pg = () => es, [ts, ns] = Fa && window.addEventListener ? [
3785
3785
  }, jg = {
3786
3786
  initFocus: Lg,
3787
3787
  initReconnect: zg
3788
- }, Ql = !re.useId, er = !Fa || Dg, Bg = (e) => Ng() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Cr = er ? $e : Bh, po = typeof navigator < "u" && navigator.connection, ec = !er && po && ([
3788
+ }, Ql = !re.useId, er = !Fa || Dg, Bg = (e) => Ng() ? window.requestAnimationFrame(e) : setTimeout(e, 1), vr = er ? $e : Bh, po = typeof navigator < "u" && navigator.connection, ec = !er && po && ([
3789
3789
  "slow-2g",
3790
3790
  "2g"
3791
3791
  ].includes(po.effectiveType) || po.saveData), Va = /* @__PURE__ */ new WeakMap(), Yg = (e) => Ti.prototype.toString.call(e), yo = (e, t) => e === `[object ${t}]`;
@@ -4035,7 +4035,7 @@ const tc = (e, t) => {
4035
4035
  ]), s = a && a.provider, l = be(tt);
4036
4036
  s && !l.current && (l.current = Pu(s(i.cache || Ys), a));
4037
4037
  const c = l.current;
4038
- return c && (i.cache = c[0], i.mutate = c[1], i.unload = c[4]), Cr(() => {
4038
+ return c && (i.cache = c[0], i.mutate = c[1], i.unload = c[4]), vr(() => {
4039
4039
  if (c)
4040
4040
  return c[2] && c[2](), c[3];
4041
4041
  }, []), _t(as.Provider, hn(e, {
@@ -4249,16 +4249,16 @@ const op = () => vn, sp = (e, t, n) => {
4249
4249
  // eslint-disable-next-line react-hooks/exhaustive-deps
4250
4250
  []
4251
4251
  );
4252
- if (Cr(() => {
4252
+ if (vr(() => {
4253
4253
  const X = ee.current;
4254
4254
  X && (ee.current = null, xo(K, X.cacheData, X.key), Ne(A().data) && B({
4255
4255
  data: X.data,
4256
4256
  error: tt,
4257
4257
  _k: X._k
4258
4258
  }), C[X.key] && delete C[X.key]);
4259
- }), Cr(() => {
4259
+ }), vr(() => {
4260
4260
  T.current = t, F.current = n, Ne(M) || (N.current = M);
4261
- }), Cr(() => {
4261
+ }), vr(() => {
4262
4262
  if (t || !G || Ne(z) || nc(K, L, p) || !Ne(A().data))
4263
4263
  return;
4264
4264
  xo(K, L, p);
@@ -4272,7 +4272,7 @@ const op = () => vn, sp = (e, t, n) => {
4272
4272
  _k: x
4273
4273
  })
4274
4274
  });
4275
- }), Cr(() => {
4275
+ }), vr(() => {
4276
4276
  if (!p) return;
4277
4277
  const X = we.bind(tt, bo);
4278
4278
  let pe = 0;
@@ -4299,7 +4299,7 @@ const op = () => vn, sp = (e, t, n) => {
4299
4299
  };
4300
4300
  }, [
4301
4301
  p
4302
- ]), Cr(() => {
4302
+ ]), vr(() => {
4303
4303
  let X;
4304
4304
  function pe() {
4305
4305
  const Le = sn(f) ? f(A().data) : f;
@@ -8394,7 +8394,7 @@ const Hu = {
8394
8394
  },
8395
8395
  children: /* @__PURE__ */ W("div", {
8396
8396
  className: le(`${h}-form-item-with-help`, m, d.hashId),
8397
- children: [b ? /* @__PURE__ */ o(Or, {}) : null, g ? w() : r]
8397
+ children: [b ? /* @__PURE__ */ o(Mr, {}) : null, g ? w() : r]
8398
8398
  })
8399
8399
  })),
8400
8400
  ...a,
@@ -8513,7 +8513,7 @@ function ib(e) {
8513
8513
  return [ab(n)];
8514
8514
  });
8515
8515
  }
8516
- const kr = /* @__PURE__ */ re.memo((e) => {
8516
+ const Dr = /* @__PURE__ */ re.memo((e) => {
8517
8517
  const {
8518
8518
  label: t,
8519
8519
  tooltip: n,
@@ -8817,7 +8817,7 @@ function qs(e, t) {
8817
8817
  const n = be();
8818
8818
  return bb(e, n.current, t) || (n.current = e), n.current;
8819
8819
  }
8820
- function $r(e, t, n) {
8820
+ function Rr(e, t, n) {
8821
8821
  $e(e, qs(t || [], n));
8822
8822
  }
8823
8823
  function Ku(e, t, n, r) {
@@ -9052,7 +9052,7 @@ function Eb() {
9052
9052
  var Ib = Eb();
9053
9053
  const Ab = /* @__PURE__ */ yn(Ib);
9054
9054
  Me.extend(Ab);
9055
- const pc = (e) => !!(e != null && e._isAMomentObject), Vr = (e, t) => en(e) || Me.isDayjs(e) || pc(e) ? pc(e) ? Me(e) : e : Array.isArray(e) ? e.map((n) => Vr(n, t)) : typeof e == "number" ? Me(e) : Me(e, t), Ob = [
9055
+ const pc = (e) => !!(e != null && e._isAMomentObject), jr = (e, t) => en(e) || Me.isDayjs(e) || pc(e) ? pc(e) ? Me(e) : e : Array.isArray(e) ? e.map((n) => jr(n, t)) : typeof e == "number" ? Me(e) : Me(e, t), Ob = [
9056
9056
  // https://ant.design/components/form-cn/#Form.Item
9057
9057
  "colon",
9058
9058
  "dependencies",
@@ -9607,23 +9607,23 @@ const Vb = /* @__PURE__ */ yn(zb), jb = Vb.configure, Bn = jb({
9607
9607
  maximumDepth: 4
9608
9608
  // maximumBreadth: 4,
9609
9609
  });
9610
- var Gu = typeof global == "object" && global && global.Object === Object && global, Bb = typeof self == "object" && self && self.Object === Object && self, Sn = Gu || Bb || Function("return this")(), Wn = Sn.Symbol, Zu = Object.prototype, Yb = Zu.hasOwnProperty, Ub = Zu.toString, qr = Wn ? Wn.toStringTag : void 0;
9610
+ var Gu = typeof global == "object" && global && global.Object === Object && global, Bb = typeof self == "object" && self && self.Object === Object && self, Sn = Gu || Bb || Function("return this")(), Wn = Sn.Symbol, Zu = Object.prototype, Yb = Zu.hasOwnProperty, Ub = Zu.toString, Gr = Wn ? Wn.toStringTag : void 0;
9611
9611
  function Hb(e) {
9612
- var t = Yb.call(e, qr), n = e[qr];
9612
+ var t = Yb.call(e, Gr), n = e[Gr];
9613
9613
  try {
9614
- e[qr] = void 0;
9614
+ e[Gr] = void 0;
9615
9615
  var r = !0;
9616
9616
  } catch {
9617
9617
  }
9618
9618
  var a = Ub.call(e);
9619
- return r && (t ? e[qr] = n : delete e[qr]), a;
9619
+ return r && (t ? e[Gr] = n : delete e[Gr]), a;
9620
9620
  }
9621
9621
  var Kb = Object.prototype, Wb = Kb.toString;
9622
9622
  function qb(e) {
9623
9623
  return Wb.call(e);
9624
9624
  }
9625
9625
  var Gb = "[object Null]", Zb = "[object Undefined]", bc = Wn ? Wn.toStringTag : void 0;
9626
- function jr(e) {
9626
+ function Br(e) {
9627
9627
  return e == null ? e === void 0 ? Zb : Gb : bc && bc in Object(e) ? Hb(e) : qb(e);
9628
9628
  }
9629
9629
  function Fn(e) {
@@ -9637,7 +9637,7 @@ var Jb = "[object AsyncFunction]", Xb = "[object Function]", Qb = "[object Gener
9637
9637
  function Zs(e) {
9638
9638
  if (!Jt(e))
9639
9639
  return !1;
9640
- var t = jr(e);
9640
+ var t = Br(e);
9641
9641
  return t == Xb || t == Qb || t == Jb || t == ex;
9642
9642
  }
9643
9643
  var To = Sn["__core-js_shared__"], xc = (function() {
@@ -9825,7 +9825,7 @@ function Nx(e, t) {
9825
9825
  }
9826
9826
  var Px = "[object Arguments]";
9827
9827
  function Cc(e) {
9828
- return Fn(e) && jr(e) == Px;
9828
+ return Fn(e) && Br(e) == Px;
9829
9829
  }
9830
9830
  var tf = Object.prototype, _x = tf.hasOwnProperty, Lx = tf.propertyIsEnumerable, Ei = Cc(/* @__PURE__ */ (function() {
9831
9831
  return arguments;
@@ -9835,26 +9835,26 @@ var tf = Object.prototype, _x = tf.hasOwnProperty, Lx = tf.propertyIsEnumerable,
9835
9835
  function zx() {
9836
9836
  return !1;
9837
9837
  }
9838
- var nf = typeof exports == "object" && exports && !exports.nodeType && exports, vc = nf && typeof module == "object" && module && !module.nodeType && module, Vx = vc && vc.exports === nf, Tc = Vx ? Sn.Buffer : void 0, jx = Tc ? Tc.isBuffer : void 0, Dr = jx || zx, Bx = "[object Arguments]", Yx = "[object Array]", Ux = "[object Boolean]", Hx = "[object Date]", Kx = "[object Error]", Wx = "[object Function]", qx = "[object Map]", Gx = "[object Number]", Zx = "[object Object]", Jx = "[object RegExp]", Xx = "[object Set]", Qx = "[object String]", eS = "[object WeakMap]", tS = "[object ArrayBuffer]", nS = "[object DataView]", rS = "[object Float32Array]", aS = "[object Float64Array]", iS = "[object Int8Array]", oS = "[object Int16Array]", sS = "[object Int32Array]", lS = "[object Uint8Array]", cS = "[object Uint8ClampedArray]", dS = "[object Uint16Array]", uS = "[object Uint32Array]", dt = {};
9838
+ var nf = typeof exports == "object" && exports && !exports.nodeType && exports, vc = nf && typeof module == "object" && module && !module.nodeType && module, Vx = vc && vc.exports === nf, Tc = Vx ? Sn.Buffer : void 0, jx = Tc ? Tc.isBuffer : void 0, Nr = jx || zx, Bx = "[object Arguments]", Yx = "[object Array]", Ux = "[object Boolean]", Hx = "[object Date]", Kx = "[object Error]", Wx = "[object Function]", qx = "[object Map]", Gx = "[object Number]", Zx = "[object Object]", Jx = "[object RegExp]", Xx = "[object Set]", Qx = "[object String]", eS = "[object WeakMap]", tS = "[object ArrayBuffer]", nS = "[object DataView]", rS = "[object Float32Array]", aS = "[object Float64Array]", iS = "[object Int8Array]", oS = "[object Int16Array]", sS = "[object Int32Array]", lS = "[object Uint8Array]", cS = "[object Uint8ClampedArray]", dS = "[object Uint16Array]", uS = "[object Uint32Array]", dt = {};
9839
9839
  dt[rS] = dt[aS] = dt[iS] = dt[oS] = dt[sS] = dt[lS] = dt[cS] = dt[dS] = dt[uS] = !0;
9840
9840
  dt[Bx] = dt[Yx] = dt[tS] = dt[Ux] = dt[nS] = dt[Hx] = dt[Kx] = dt[Wx] = dt[qx] = dt[Gx] = dt[Zx] = dt[Jx] = dt[Xx] = dt[Qx] = dt[eS] = !1;
9841
9841
  function fS(e) {
9842
- return Fn(e) && ef(e.length) && !!dt[jr(e)];
9842
+ return Fn(e) && ef(e.length) && !!dt[Br(e)];
9843
9843
  }
9844
9844
  function Xs(e) {
9845
9845
  return function(t) {
9846
9846
  return e(t);
9847
9847
  };
9848
9848
  }
9849
- var rf = typeof exports == "object" && exports && !exports.nodeType && exports, da = rf && typeof module == "object" && module && !module.nodeType && module, hS = da && da.exports === rf, Fo = hS && Gu.process, Nr = (function() {
9849
+ var rf = typeof exports == "object" && exports && !exports.nodeType && exports, da = rf && typeof module == "object" && module && !module.nodeType && module, hS = da && da.exports === rf, Fo = hS && Gu.process, Pr = (function() {
9850
9850
  try {
9851
9851
  var e = da && da.require && da.require("util").types;
9852
9852
  return e || Fo && Fo.binding && Fo.binding("util");
9853
9853
  } catch {
9854
9854
  }
9855
- })(), Fc = Nr && Nr.isTypedArray, Ui = Fc ? Xs(Fc) : fS, mS = Object.prototype, gS = mS.hasOwnProperty;
9855
+ })(), Fc = Pr && Pr.isTypedArray, Ui = Fc ? Xs(Fc) : fS, mS = Object.prototype, gS = mS.hasOwnProperty;
9856
9856
  function af(e, t) {
9857
- var n = qn(e), r = !n && Ei(e), a = !n && !r && Dr(e), i = !n && !r && !a && Ui(e), s = n || r || a || i, l = s ? Nx(e.length, String) : [], c = l.length;
9857
+ var n = qn(e), r = !n && Ei(e), a = !n && !r && Nr(e), i = !n && !r && !a && Ui(e), s = n || r || a || i, l = s ? Nx(e.length, String) : [], c = l.length;
9858
9858
  for (var f in e)
9859
9859
  (t || gS.call(e, f)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
9860
9860
  (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -10027,7 +10027,7 @@ function qS(e, t) {
10027
10027
  }
10028
10028
  var cf = of(Object.getPrototypeOf, Object), GS = "[object Object]", ZS = Function.prototype, JS = Object.prototype, df = ZS.toString, XS = JS.hasOwnProperty, QS = df.call(Object);
10029
10029
  function ew(e) {
10030
- if (!Fn(e) || jr(e) != GS)
10030
+ if (!Fn(e) || Br(e) != GS)
10031
10031
  return !1;
10032
10032
  var t = cf(e);
10033
10033
  if (t === null)
@@ -10097,9 +10097,9 @@ function hw(e, t, n) {
10097
10097
  function ds(e) {
10098
10098
  return hw(e, xS, fw);
10099
10099
  }
10100
- var us = mr(Sn, "DataView"), fs = mr(Sn, "Promise"), hs = mr(Sn, "Set"), Ac = "[object Map]", mw = "[object Object]", Oc = "[object Promise]", Mc = "[object Set]", kc = "[object WeakMap]", Dc = "[object DataView]", gw = hr(us), pw = hr(ba), yw = hr(fs), bw = hr(hs), xw = hr(cs), Gt = jr;
10100
+ var us = mr(Sn, "DataView"), fs = mr(Sn, "Promise"), hs = mr(Sn, "Set"), Ac = "[object Map]", mw = "[object Object]", Oc = "[object Promise]", Mc = "[object Set]", kc = "[object WeakMap]", Dc = "[object DataView]", gw = hr(us), pw = hr(ba), yw = hr(fs), bw = hr(hs), xw = hr(cs), Gt = Br;
10101
10101
  (us && Gt(new us(new ArrayBuffer(1))) != Dc || ba && Gt(new ba()) != Ac || fs && Gt(fs.resolve()) != Oc || hs && Gt(new hs()) != Mc || cs && Gt(new cs()) != kc) && (Gt = function(e) {
10102
- var t = jr(e), n = t == mw ? e.constructor : void 0, r = n ? hr(n) : "";
10102
+ var t = Br(e), n = t == mw ? e.constructor : void 0, r = n ? hr(n) : "";
10103
10103
  if (r)
10104
10104
  switch (r) {
10105
10105
  case gw:
@@ -10183,11 +10183,11 @@ var Ww = "[object Map]";
10183
10183
  function qw(e) {
10184
10184
  return Fn(e) && Gt(e) == Ww;
10185
10185
  }
10186
- var _c = Nr && Nr.isMap, Gw = _c ? Xs(_c) : qw, Zw = "[object Set]";
10186
+ var _c = Pr && Pr.isMap, Gw = _c ? Xs(_c) : qw, Zw = "[object Set]";
10187
10187
  function Jw(e) {
10188
10188
  return Fn(e) && Gt(e) == Zw;
10189
10189
  }
10190
- var Lc = Nr && Nr.isSet, Xw = Lc ? Xs(Lc) : Jw, Qw = 1, gf = "[object Arguments]", eC = "[object Array]", tC = "[object Boolean]", nC = "[object Date]", rC = "[object Error]", pf = "[object Function]", aC = "[object GeneratorFunction]", iC = "[object Map]", oC = "[object Number]", yf = "[object Object]", sC = "[object RegExp]", lC = "[object Set]", cC = "[object String]", dC = "[object Symbol]", uC = "[object WeakMap]", fC = "[object ArrayBuffer]", hC = "[object DataView]", mC = "[object Float32Array]", gC = "[object Float64Array]", pC = "[object Int8Array]", yC = "[object Int16Array]", bC = "[object Int32Array]", xC = "[object Uint8Array]", SC = "[object Uint8ClampedArray]", wC = "[object Uint16Array]", CC = "[object Uint32Array]", rt = {};
10190
+ var Lc = Pr && Pr.isSet, Xw = Lc ? Xs(Lc) : Jw, Qw = 1, gf = "[object Arguments]", eC = "[object Array]", tC = "[object Boolean]", nC = "[object Date]", rC = "[object Error]", pf = "[object Function]", aC = "[object GeneratorFunction]", iC = "[object Map]", oC = "[object Number]", yf = "[object Object]", sC = "[object RegExp]", lC = "[object Set]", cC = "[object String]", dC = "[object Symbol]", uC = "[object WeakMap]", fC = "[object ArrayBuffer]", hC = "[object DataView]", mC = "[object Float32Array]", gC = "[object Float64Array]", pC = "[object Int8Array]", yC = "[object Int16Array]", bC = "[object Int32Array]", xC = "[object Uint8Array]", SC = "[object Uint8ClampedArray]", wC = "[object Uint16Array]", CC = "[object Uint32Array]", rt = {};
10191
10191
  rt[gf] = rt[eC] = rt[fC] = rt[hC] = rt[tC] = rt[nC] = rt[mC] = rt[gC] = rt[pC] = rt[yC] = rt[bC] = rt[iC] = rt[oC] = rt[yf] = rt[sC] = rt[lC] = rt[cC] = rt[dC] = rt[xC] = rt[SC] = rt[wC] = rt[CC] = !0;
10192
10192
  rt[rC] = rt[pf] = rt[uC] = !1;
10193
10193
  function fi(e, t, n, r, a, i) {
@@ -10201,7 +10201,7 @@ function fi(e, t, n, r, a, i) {
10201
10201
  s = Cw(e);
10202
10202
  else {
10203
10203
  var f = Gt(e), h = f == pf || f == aC;
10204
- if (Dr(e))
10204
+ if (Nr(e))
10205
10205
  return ff(e, l);
10206
10206
  if (f == yf || f == gf || h && !a)
10207
10207
  s = h ? {} : mf(e);
@@ -10371,8 +10371,8 @@ function t0(e, t, n, r, a, i) {
10371
10371
  var s = qn(e), l = qn(t), c = s ? jc : Gt(e), f = l ? jc : Gt(t);
10372
10372
  c = c == Vc ? Ka : c, f = f == Vc ? Ka : f;
10373
10373
  var h = c == Ka, d = f == Ka, u = c == f;
10374
- if (u && Dr(e)) {
10375
- if (!Dr(t))
10374
+ if (u && Nr(e)) {
10375
+ if (!Nr(t))
10376
10376
  return !1;
10377
10377
  s = !0, h = !1;
10378
10378
  }
@@ -10422,7 +10422,7 @@ function o0(e, t, n, r, a, i, s) {
10422
10422
  }
10423
10423
  var h = i ? i(l, c, n + "", e, t, s) : void 0, d = h === void 0;
10424
10424
  if (d) {
10425
- var u = qn(c), m = !u && Dr(c), b = !u && !m && Ui(c);
10425
+ var u = qn(c), m = !u && Nr(c), b = !u && !m && Ui(c);
10426
10426
  h = c, u || m || b ? qn(l) ? h = l : a0(l) ? h = gx(l) : m ? (d = !1, h = ff(c, !0)) : b ? (d = !1, h = hf(c, !0)) : h = [] : ew(c) || Ei(c) ? (h = l, Ei(l) ? h = i0(l) : (!Jt(l) || Zs(l)) && (h = mf(c))) : d = !1;
10427
10427
  }
10428
10428
  d && (s.set(c, h), a(h, c, r, i, s), s.delete(c)), ms(e, n, h);
@@ -10441,7 +10441,7 @@ var s0 = "[object Map]", l0 = "[object Set]", c0 = Object.prototype, d0 = c0.has
10441
10441
  function u0(e) {
10442
10442
  if (e == null)
10443
10443
  return !0;
10444
- if (Ea(e) && (qn(e) || typeof e == "string" || typeof e.splice == "function" || Dr(e) || Ui(e) || Ei(e)))
10444
+ if (Ea(e) && (qn(e) || typeof e == "string" || typeof e.splice == "function" || Nr(e) || Ui(e) || Ei(e)))
10445
10445
  return !e.length;
10446
10446
  var t = Gt(e);
10447
10447
  if (t == s0 || t == l0)
@@ -10752,7 +10752,7 @@ function v0({
10752
10752
  } catch {
10753
10753
  }
10754
10754
  },
10755
- children: [h ? /* @__PURE__ */ o(Or, {
10755
+ children: [h ? /* @__PURE__ */ o(Mr, {
10756
10756
  style: {
10757
10757
  marginInlineEnd: 8
10758
10758
  }
@@ -10786,7 +10786,7 @@ const T0 = ({
10786
10786
  onConfirm: f,
10787
10787
  getPopupContainer: (h) => h.parentElement || document.body,
10788
10788
  children: /* @__PURE__ */ W("a", {
10789
- children: [l ? /* @__PURE__ */ o(Or, {
10789
+ children: [l ? /* @__PURE__ */ o(Mr, {
10790
10790
  style: {
10791
10791
  marginInlineEnd: 8
10792
10792
  }
@@ -11742,7 +11742,7 @@ const {
11742
11742
  children: [/* @__PURE__ */ W("div", {
11743
11743
  className: Ye,
11744
11744
  style: Y.title,
11745
- children: [Ce, /* @__PURE__ */ o(kr, {
11745
+ children: [Ce, /* @__PURE__ */ o(Dr, {
11746
11746
  label: s,
11747
11747
  tooltip: m,
11748
11748
  subTitle: l
@@ -12384,7 +12384,7 @@ const Ef = (e) => {
12384
12384
  });
12385
12385
  }
12386
12386
  }), t;
12387
- }, Br = (e) => {
12387
+ }, Yr = (e) => {
12388
12388
  var w, C;
12389
12389
  const {
12390
12390
  cacheForSwr: t,
@@ -12417,7 +12417,7 @@ const Ef = (e) => {
12417
12417
  };
12418
12418
  return x && v(p, "children"), S && v(p, "label"), y && v(p, "value"), p;
12419
12419
  }, [n]), [f, h] = gt(() => e.valueEnum ? l(e.valueEnum) : [], c);
12420
- $r(() => {
12420
+ Rr(() => {
12421
12421
  var p, x;
12422
12422
  !e.valueEnum || (p = e.fieldProps) != null && p.options || (x = e.fieldProps) != null && x.treeData || h(l(e.valueEnum));
12423
12423
  }, [e.valueEnum]);
@@ -12482,7 +12482,7 @@ const Ef = (e) => {
12482
12482
  $e(() => {
12483
12483
  x.current = l == null ? void 0 : l.searchValue;
12484
12484
  }, [l == null ? void 0 : l.searchValue]);
12485
- const [y, v, T, F] = Br(e), {
12485
+ const [y, v, T, F] = Yr(e), {
12486
12486
  componentSize: R
12487
12487
  } = ((B = (A = De) == null ? void 0 : A.useConfig) == null ? void 0 : B.call(A)) || {
12488
12488
  componentSize: "middle"
@@ -12545,7 +12545,7 @@ const Ef = (e) => {
12545
12545
  ref: C,
12546
12546
  allowClear: !0,
12547
12547
  defaultSearchValue: e.defaultKeyWords,
12548
- notFoundContent: y ? /* @__PURE__ */ o(Lr, {
12548
+ notFoundContent: y ? /* @__PURE__ */ o(zr, {
12549
12549
  size: "small"
12550
12550
  }) : l == null ? void 0 : l.notFoundContent,
12551
12551
  fetchData: (E) => {
@@ -12582,7 +12582,7 @@ const Ef = (e) => {
12582
12582
  var x;
12583
12583
  const {
12584
12584
  getPrefixCls: f
12585
- } = xe(De.ConfigContext), h = f("pro-field-cascader"), [d, u, m] = Br(l), b = Ve(), g = be(), [w, C] = J(!1);
12585
+ } = xe(De.ConfigContext), h = f("pro-field-cascader"), [d, u, m] = Yr(l), b = Ve(), g = be(), [w, C] = J(!1);
12586
12586
  ft(c, () => ({
12587
12587
  ...g.current || {},
12588
12588
  fetchData: (S) => m(S)
@@ -12621,7 +12621,7 @@ const Ef = (e) => {
12621
12621
  let y = /* @__PURE__ */ o(dh, {
12622
12622
  ref: g,
12623
12623
  open: w,
12624
- suffixIcon: d ? /* @__PURE__ */ o(Or, {}) : void 0,
12624
+ suffixIcon: d ? /* @__PURE__ */ o(Mr, {}) : void 0,
12625
12625
  placeholder: e || b.getMessage("tableForm.selectPlaceholder", "请选择"),
12626
12626
  allowClear: (S == null ? void 0 : S.allowClear) !== !1,
12627
12627
  ...S,
@@ -12671,7 +12671,7 @@ const Ef = (e) => {
12671
12671
  var w, C, p, x, S;
12672
12672
  const {
12673
12673
  getPrefixCls: s
12674
- } = xe(De.ConfigContext), l = s("pro-field-checkbox"), c = (C = (w = Q.Item) == null ? void 0 : w.useStatus) == null ? void 0 : C.call(w), [f, h, d] = Br(a), {
12674
+ } = xe(De.ConfigContext), l = s("pro-field-checkbox"), c = (C = (w = Q.Item) == null ? void 0 : w.useStatus) == null ? void 0 : C.call(w), [f, h, d] = Yr(a), {
12675
12675
  wrapSSR: u,
12676
12676
  hashId: m
12677
12677
  } = nt("Checkbox", (y) => ({
@@ -12709,7 +12709,7 @@ const Ef = (e) => {
12709
12709
  ...g.current || {},
12710
12710
  fetchData: (y) => d(y)
12711
12711
  }), [d]), f)
12712
- return /* @__PURE__ */ o(Lr, {
12712
+ return /* @__PURE__ */ o(zr, {
12713
12713
  size: "small"
12714
12714
  });
12715
12715
  if (n === "read") {
@@ -12894,7 +12894,7 @@ const hv = (e, t) => e ? typeof t == "function" ? t(Me(e)) : Me(e).format((Array
12894
12894
  disabled: C,
12895
12895
  value: p,
12896
12896
  placeholder: x = m.getMessage("tableForm.selectPlaceholder", "请选择")
12897
- } = c, S = Vr(p);
12897
+ } = c, S = jr(p);
12898
12898
  return a ? w = /* @__PURE__ */ o(xn, {
12899
12899
  label: r,
12900
12900
  onClick: () => {
@@ -13178,7 +13178,7 @@ const Cv = ({
13178
13178
  });
13179
13179
  }
13180
13180
  if (t === "edit" || t === "update") {
13181
- const f = c.getMessage("tableForm.selectPlaceholder", "请选择"), h = Vr(s.value), d = /* @__PURE__ */ o(Hn, {
13181
+ const f = c.getMessage("tableForm.selectPlaceholder", "请选择"), h = jr(s.value), d = /* @__PURE__ */ o(Hn, {
13182
13182
  ref: l,
13183
13183
  placeholder: f,
13184
13184
  showTime: !0,
@@ -13526,7 +13526,7 @@ const Cv = ({
13526
13526
  }, u) : u;
13527
13527
  }
13528
13528
  return null;
13529
- }, Rr = /* @__PURE__ */ re.forwardRef(kv);
13529
+ }, Er = /* @__PURE__ */ re.forwardRef(kv);
13530
13530
  function Dv(e) {
13531
13531
  return e === 0 ? null : e > 0 ? "+" : "-";
13532
13532
  }
@@ -13641,7 +13641,7 @@ const zv = ({
13641
13641
  var g, w, C;
13642
13642
  const {
13643
13643
  getPrefixCls: s
13644
- } = xe(De.ConfigContext), l = s("pro-field-radio"), [c, f, h] = Br(a), d = be(), u = (w = (g = Q.Item) == null ? void 0 : g.useStatus) == null ? void 0 : w.call(g);
13644
+ } = xe(De.ConfigContext), l = s("pro-field-radio"), [c, f, h] = Yr(a), d = be(), u = (w = (g = Q.Item) == null ? void 0 : g.useStatus) == null ? void 0 : w.call(g);
13645
13645
  ft(i, () => ({
13646
13646
  ...d.current || {},
13647
13647
  fetchData: (p) => h(p)
@@ -13668,7 +13668,7 @@ const zv = ({
13668
13668
  }
13669
13669
  }));
13670
13670
  if (c)
13671
- return /* @__PURE__ */ o(Lr, {
13671
+ return /* @__PURE__ */ o(zr, {
13672
13672
  size: "small"
13673
13673
  });
13674
13674
  if (n === "read") {
@@ -13743,7 +13743,7 @@ const zv = ({
13743
13743
  })) : y;
13744
13744
  }
13745
13745
  if (t === "edit" || t === "update") {
13746
- const y = Vr(d.value);
13746
+ const y = jr(d.value);
13747
13747
  let v;
13748
13748
  const T = (F) => {
13749
13749
  var R;
@@ -13873,12 +13873,12 @@ const Uv = ({
13873
13873
  fieldProps: i,
13874
13874
  emptyText: s = "-",
13875
13875
  ...l
13876
- } = e, c = be(), [f, h, d] = Br(e);
13876
+ } = e, c = be(), [f, h, d] = Yr(e);
13877
13877
  if (ft(t, () => ({
13878
13878
  ...c.current || {},
13879
13879
  fetchData: (u) => d(u)
13880
13880
  }), [d]), f)
13881
- return /* @__PURE__ */ o(Lr, {
13881
+ return /* @__PURE__ */ o(zr, {
13882
13882
  size: "small"
13883
13883
  });
13884
13884
  if (n === "read") {
@@ -14118,7 +14118,7 @@ const Uv = ({
14118
14118
  const {
14119
14119
  disabled: C,
14120
14120
  value: p
14121
- } = l, x = Vr(p, b);
14121
+ } = l, x = jr(p, b);
14122
14122
  return n ? w = /* @__PURE__ */ o(xn, {
14123
14123
  onClick: () => {
14124
14124
  var S;
@@ -14187,7 +14187,7 @@ const Uv = ({
14187
14187
  })) : y;
14188
14188
  }
14189
14189
  if (r === "edit" || r === "update") {
14190
- const y = Vr(c.value, b);
14190
+ const y = jr(c.value, b);
14191
14191
  let v;
14192
14192
  if (t) {
14193
14193
  const {
@@ -14259,7 +14259,7 @@ const Uv = ({
14259
14259
  autoClearSearchValue: x,
14260
14260
  searchValue: S,
14261
14261
  ...y
14262
- } = Qe(s.fieldProps, ["treeData"]), v = typeof w == "object" ? w : {}, T = (v == null ? void 0 : v.onSearch) !== void 0 ? v.onSearch : p, F = (v == null ? void 0 : v.autoClearSearchValue) !== void 0 ? v.autoClearSearchValue : x, R = (v == null ? void 0 : v.searchValue) !== void 0 ? v.searchValue : S, I = i ?? (y == null ? void 0 : y.variant), A = Ve(), [B, j, k] = Br({
14262
+ } = Qe(s.fieldProps, ["treeData"]), v = typeof w == "object" ? w : {}, T = (v == null ? void 0 : v.onSearch) !== void 0 ? v.onSearch : p, F = (v == null ? void 0 : v.autoClearSearchValue) !== void 0 ? v.autoClearSearchValue : x, R = (v == null ? void 0 : v.searchValue) !== void 0 ? v.searchValue : S, I = i ?? (y == null ? void 0 : y.variant), A = Ve(), [B, j, k] = Yr({
14263
14263
  ...s,
14264
14264
  defaultKeyWords: R
14265
14265
  }), [E, $] = gt(void 0, R), L = Fe((Y) => {
@@ -14305,7 +14305,7 @@ const Uv = ({
14305
14305
  }
14306
14306
  if (t === "edit") {
14307
14307
  const Y = Array.isArray(y == null ? void 0 : y.value) ? (G = y == null ? void 0 : y.value) == null ? void 0 : G.length : 0;
14308
- let Z = /* @__PURE__ */ o(Lr, {
14308
+ let Z = /* @__PURE__ */ o(zr, {
14309
14309
  spinning: B,
14310
14310
  children: /* @__PURE__ */ o(yh, {
14311
14311
  open: d,
@@ -15107,11 +15107,11 @@ const Of = {
15107
15107
  })
15108
15108
  },
15109
15109
  password: {
15110
- render: (e, t) => /* @__PURE__ */ o(Rr, {
15110
+ render: (e, t) => /* @__PURE__ */ o(Er, {
15111
15111
  ...t,
15112
15112
  text: e
15113
15113
  }),
15114
- formItemRender: (e, t) => /* @__PURE__ */ o(Rr, {
15114
+ formItemRender: (e, t) => /* @__PURE__ */ o(Er, {
15115
15115
  ...t,
15116
15116
  text: e
15117
15117
  })
@@ -15224,7 +15224,7 @@ const Of = {
15224
15224
  children: f
15225
15225
  }) : f;
15226
15226
  }
15227
- }), Yr = (e) => {
15227
+ }), Ur = (e) => {
15228
15228
  const t = ie(() => typeof e == "object" ? e : {
15229
15229
  grid: e
15230
15230
  }, [e]), {
@@ -15701,7 +15701,7 @@ const gT = (() => {
15701
15701
  Be.required(e, t, r, s, a, i), wt(t, i) || Be.type(e, t, r, s, a);
15702
15702
  }
15703
15703
  n(s);
15704
- }, Gr = {
15704
+ }, Zr = {
15705
15705
  string: MT,
15706
15706
  method: $T,
15707
15707
  number: RT,
@@ -15842,7 +15842,7 @@ const gT = (() => {
15842
15842
  }, a);
15843
15843
  }
15844
15844
  getType(t) {
15845
- if (t.type === void 0 && t.pattern instanceof RegExp && (t.type = "pattern"), typeof t.validator != "function" && t.type && !Gr.hasOwnProperty(t.type))
15845
+ if (t.type === void 0 && t.pattern instanceof RegExp && (t.type = "pattern"), typeof t.validator != "function" && t.type && !Zr.hasOwnProperty(t.type))
15846
15846
  throw new Error(Kt("Unknown rule type %s", t.type));
15847
15847
  return t.type || "string";
15848
15848
  }
@@ -15850,15 +15850,15 @@ const gT = (() => {
15850
15850
  if (typeof t.validator == "function")
15851
15851
  return t.validator;
15852
15852
  const n = Object.keys(t), r = n.indexOf("message");
15853
- return r !== -1 && n.splice(r, 1), n.length === 1 && n[0] === "required" ? Gr.required : Gr[this.getType(t)] || void 0;
15853
+ return r !== -1 && n.splice(r, 1), n.length === 1 && n[0] === "required" ? Zr.required : Zr[this.getType(t)] || void 0;
15854
15854
  }
15855
15855
  };
15856
15856
  // ========================= Static =========================
15857
15857
  ce(_n, "register", function(n, r) {
15858
15858
  if (typeof r != "function")
15859
15859
  throw new Error("Cannot register a validator by type, validator is not a function");
15860
- Gr[n] = r;
15861
- }), ce(_n, "warning", Mf), ce(_n, "messages", Io), ce(_n, "validators", Gr);
15860
+ Zr[n] = r;
15861
+ }), ce(_n, "warning", Mf), ce(_n, "messages", Io), ce(_n, "validators", Zr);
15862
15862
  let Cs = _n;
15863
15863
  const Nt = "'${name}' is not a valid ${type}", Df = {
15864
15864
  default: "Validation error on field '${name}'",
@@ -15936,7 +15936,7 @@ async function vs(e, t, n, r, a) {
15936
15936
  i && i.type === "array" && i.defaultField && (s = i.defaultField, delete i.defaultField);
15937
15937
  const l = new vd({
15938
15938
  [e]: [i]
15939
- }), c = Fr(Df, r.validateMessages);
15939
+ }), c = $r(Df, r.validateMessages);
15940
15940
  l.messages(c);
15941
15941
  let f = [];
15942
15942
  try {
@@ -16041,7 +16041,7 @@ function Fd(e, t) {
16041
16041
  n = et(n, r, a);
16042
16042
  }), n;
16043
16043
  }
16044
- function Er(e, t, n = !1) {
16044
+ function Ir(e, t, n = !1) {
16045
16045
  return e && e.some((r) => Ni(t, r, n));
16046
16046
  }
16047
16047
  function Ni(e, t, n = !1) {
@@ -16125,7 +16125,7 @@ function Ts() {
16125
16125
  return e;
16126
16126
  }, Ts.apply(this, arguments);
16127
16127
  }
16128
- const Jn = [], Zr = [];
16128
+ const Jn = [], Jr = [];
16129
16129
  function Oo(e, t, n, r, a, i) {
16130
16130
  return typeof e == "function" ? e(t, n, "source" in i ? {
16131
16131
  source: i.source
@@ -16154,7 +16154,7 @@ class Pf extends Te.PureComponent {
16154
16154
  ce(this, "validatePromise");
16155
16155
  ce(this, "prevValidating");
16156
16156
  ce(this, "errors", Jn);
16157
- ce(this, "warnings", Zr);
16157
+ ce(this, "warnings", Jr);
16158
16158
  ce(this, "cancelRegister", () => {
16159
16159
  const {
16160
16160
  preserve: n,
@@ -16211,11 +16211,11 @@ class Pf extends Te.PureComponent {
16211
16211
  onReset: l
16212
16212
  } = this.props, {
16213
16213
  store: c
16214
- } = a, f = this.getNamePath(), h = this.getValue(n), d = this.getValue(c), u = r && Er(r, f);
16215
- switch (a.type === "valueUpdate" && a.source === "external" && !Ml(h, d) && (this.touched = !0, this.dirty = !0, this.validatePromise = null, this.errors = Jn, this.warnings = Zr, this.triggerMetaEvent()), a.type) {
16214
+ } = a, f = this.getNamePath(), h = this.getValue(n), d = this.getValue(c), u = r && Ir(r, f);
16215
+ switch (a.type === "valueUpdate" && a.source === "external" && !Ml(h, d) && (this.touched = !0, this.dirty = !0, this.validatePromise = null, this.errors = Jn, this.warnings = Jr, this.triggerMetaEvent()), a.type) {
16216
16216
  case "reset":
16217
16217
  if (!r || u) {
16218
- this.touched = !1, this.dirty = !1, this.validatePromise = void 0, this.errors = Jn, this.warnings = Zr, this.triggerMetaEvent(), l == null || l(), this.refresh();
16218
+ this.touched = !1, this.dirty = !1, this.validatePromise = void 0, this.errors = Jn, this.warnings = Jr, this.triggerMetaEvent(), l == null || l(), this.refresh();
16219
16219
  return;
16220
16220
  }
16221
16221
  break;
@@ -16237,9 +16237,9 @@ class Pf extends Te.PureComponent {
16237
16237
  data: m
16238
16238
  } = a;
16239
16239
  if (u) {
16240
- "touched" in m && (this.touched = m.touched), "validating" in m && !("originRCField" in m) && (this.validatePromise = m.validating ? Promise.resolve([]) : null), "errors" in m && (this.errors = m.errors || Jn), "warnings" in m && (this.warnings = m.warnings || Zr), this.dirty = !0, this.triggerMetaEvent(), this.reRender();
16240
+ "touched" in m && (this.touched = m.touched), "validating" in m && !("originRCField" in m) && (this.validatePromise = m.validating ? Promise.resolve([]) : null), "errors" in m && (this.errors = m.errors || Jn), "warnings" in m && (this.warnings = m.warnings || Jr), this.dirty = !0, this.triggerMetaEvent(), this.reRender();
16241
16241
  return;
16242
- } else if ("value" in m && Er(r, f, !0)) {
16242
+ } else if ("value" in m && Ir(r, f, !0)) {
16243
16243
  this.reRender();
16244
16244
  return;
16245
16245
  }
@@ -16250,7 +16250,7 @@ class Pf extends Te.PureComponent {
16250
16250
  break;
16251
16251
  }
16252
16252
  case "dependenciesUpdate": {
16253
- if (s.map(mt).some((b) => Er(a.relatedFields, b))) {
16253
+ if (s.map(mt).some((b) => Ir(a.relatedFields, b))) {
16254
16254
  this.reRender();
16255
16255
  return;
16256
16256
  }
@@ -16306,7 +16306,7 @@ class Pf extends Te.PureComponent {
16306
16306
  }
16307
16307
  }), m;
16308
16308
  });
16309
- return s || (this.validatePromise = c, this.dirty = !0, this.errors = Jn, this.warnings = Zr, this.triggerMetaEvent(), this.reRender()), c;
16309
+ return s || (this.validatePromise = c, this.dirty = !0, this.errors = Jn, this.warnings = Jr, this.triggerMetaEvent(), this.reRender()), c;
16310
16310
  });
16311
16311
  ce(this, "isFieldValidating", () => !!this.validatePromise);
16312
16312
  ce(this, "isFieldTouched", () => this.touched);
@@ -16658,7 +16658,7 @@ class YT {
16658
16658
  ce(this, "setInitialValues", (t, n) => {
16659
16659
  var r;
16660
16660
  if (this.initialValues = t || {}, n) {
16661
- let a = Fr(t, this.store);
16661
+ let a = $r(t, this.store);
16662
16662
  (r = this.prevWithoutPreserves) == null || r.map(({
16663
16663
  key: i
16664
16664
  }) => {
@@ -16678,7 +16678,7 @@ class YT {
16678
16678
  });
16679
16679
  ce(this, "getInitialValue", (t) => {
16680
16680
  const n = He(this.initialValues, t);
16681
- return t.length ? Fr(n) : n;
16681
+ return t.length ? $r(n) : n;
16682
16682
  });
16683
16683
  ce(this, "setCallbacks", (t) => {
16684
16684
  this.callbacks = t;
@@ -16824,7 +16824,7 @@ class YT {
16824
16824
  const r = t.map(mt);
16825
16825
  return n.some((a) => {
16826
16826
  const i = a.getNamePath();
16827
- return Er(r, i) && a.isFieldValidating();
16827
+ return Ir(r, i) && a.isFieldValidating();
16828
16828
  });
16829
16829
  });
16830
16830
  ce(this, "isFieldValidating", (t) => (this.warningUnhooked(), this.isFieldsValidating([t])));
@@ -16877,7 +16877,7 @@ class YT {
16877
16877
  this.warningUnhooked();
16878
16878
  const n = this.store;
16879
16879
  if (!t) {
16880
- this.updateStore(Fr(this.initialValues)), this.resetWithFieldInitialValue(), this.notifyObservers(n, null, {
16880
+ this.updateStore($r(this.initialValues)), this.resetWithFieldInitialValue(), this.notifyObservers(n, null, {
16881
16881
  type: "reset"
16882
16882
  }), this.notifyWatch();
16883
16883
  return;
@@ -17029,7 +17029,7 @@ class YT {
17029
17029
  this.warningUnhooked();
17030
17030
  const n = this.store;
17031
17031
  if (t) {
17032
- const r = Fr(this.store, t);
17032
+ const r = $r(this.store, t);
17033
17033
  this.updateStore(r);
17034
17034
  }
17035
17035
  this.notifyObservers(n, null, {
@@ -17087,7 +17087,7 @@ class YT {
17087
17087
  }
17088
17088
  const i = a.filter(({
17089
17089
  name: s
17090
- }) => Er(t, s));
17090
+ }) => Ir(t, s));
17091
17091
  i.length && r(i, a);
17092
17092
  }
17093
17093
  });
@@ -17104,7 +17104,7 @@ class YT {
17104
17104
  const C = w.getNamePath();
17105
17105
  if (i || // If is field, pass directly
17106
17106
  ((!w.isList() || // If is list, do not add if already exist sub field in the namePathList
17107
- !s.some((p) => Ni(p, C, !0))) && l.push(C), s.push(C)), !(!w.props.rules || !w.props.rules.length) && !(u && !w.isFieldDirty()) && (h.add(C.join(f)), !i || Er(s, C, d))) {
17107
+ !s.some((p) => Ni(p, C, !0))) && l.push(C), s.push(C)), !(!w.props.rules || !w.props.rules.length) && !(u && !w.isFieldDirty()) && (h.add(C.join(f)), !i || Ir(s, C, d))) {
17108
17108
  const p = w.validateRules({
17109
17109
  validateMessages: {
17110
17110
  ...Df,
@@ -17374,7 +17374,7 @@ Ia.Field = _f;
17374
17374
  Ia.List = jT;
17375
17375
  Ia.useForm = Lf;
17376
17376
  Ia.useWatch = KT;
17377
- const Ur = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createContext({
17377
+ const Hr = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createContext({
17378
17378
  mode: "edit"
17379
17379
  }), qT = (e) => Array.isArray(e) ? e : typeof e == "function" ? [e] : Kn(e), GT = (e) => {
17380
17380
  var oe, ue, fe;
@@ -17412,7 +17412,7 @@ const Ur = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createC
17412
17412
  componentSize: j
17413
17413
  } = ((ue = (oe = De).useConfig) == null ? void 0 : ue.call(oe)) || {
17414
17414
  componentSize: "middle"
17415
- }, k = xe(Pr), E = be(!1), {
17415
+ }, k = xe(_r), E = be(!1), {
17416
17416
  mode: $
17417
17417
  } = xe(Aa), [L, _] = J(!1), [V, G] = J(!1);
17418
17418
  $e(() => () => {
@@ -17446,7 +17446,7 @@ const Ur = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createC
17446
17446
  } = r;
17447
17447
  return /* @__PURE__ */ o(it, {
17448
17448
  title: Se,
17449
- children: V ? /* @__PURE__ */ o(Or, {}) : /* @__PURE__ */ o(me, {
17449
+ children: V ? /* @__PURE__ */ o(Mr, {}) : /* @__PURE__ */ o(me, {
17450
17450
  className: le(`${h}-action-icon action-copy`, B),
17451
17451
  onClick: async () => {
17452
17452
  G(!0);
@@ -17463,7 +17463,7 @@ const Ur = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createC
17463
17463
  } = n;
17464
17464
  return /* @__PURE__ */ o(it, {
17465
17465
  title: Se,
17466
- children: L ? /* @__PURE__ */ o(Or, {}) : /* @__PURE__ */ o(me, {
17466
+ children: L ? /* @__PURE__ */ o(Mr, {}) : /* @__PURE__ */ o(me, {
17467
17467
  className: le(`${h}-action-icon action-remove`, B),
17468
17468
  onClick: async () => {
17469
17469
  _(!0), await u.remove(p.name), E.current || _(!1);
@@ -17521,7 +17521,7 @@ const Ur = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createC
17521
17521
  meta: C
17522
17522
  }, {
17523
17523
  grid: K
17524
- } = Yr(), ee = (l == null ? void 0 : l(Z, H)) || Z, te = (c == null ? void 0 : c({
17524
+ } = Ur(), ee = (l == null ? void 0 : l(Z, H)) || Z, te = (c == null ? void 0 : c({
17525
17525
  listDom: /* @__PURE__ */ o("div", {
17526
17526
  className: le(`${h}-container`, v, B),
17527
17527
  style: {
@@ -17549,7 +17549,7 @@ const Ur = /* @__PURE__ */ re.createContext({}), Aa = /* @__PURE__ */ re.createC
17549
17549
  children: ee
17550
17550
  }), N]
17551
17551
  });
17552
- return /* @__PURE__ */ o(Pr.Provider, {
17552
+ return /* @__PURE__ */ o(_r.Provider, {
17553
17553
  value: {
17554
17554
  ...p,
17555
17555
  listName: [k.listName, y, p.name].filter((me) => me !== void 0).flat(1)
@@ -17726,11 +17726,11 @@ function XT(e) {
17726
17726
  }
17727
17727
  const {
17728
17728
  noteOnce: Rd
17729
- } = ot, Pr = /* @__PURE__ */ re.createContext({});
17729
+ } = ot, _r = /* @__PURE__ */ re.createContext({});
17730
17730
  function QT(e) {
17731
- const t = be(), n = xe(De.ConfigContext), r = xe(Pr), a = n.getPrefixCls("pro-form-list"), i = Ve(), {
17731
+ const t = be(), n = xe(De.ConfigContext), r = xe(_r), a = n.getPrefixCls("pro-form-list"), i = Ve(), {
17732
17732
  setFieldValueType: s
17733
- } = re.useContext(Ur), {
17733
+ } = re.useContext(Hr), {
17734
17734
  transform: l,
17735
17735
  actionRender: c,
17736
17736
  creatorButtonProps: f,
@@ -17781,7 +17781,7 @@ function QT(e) {
17781
17781
  } = e, {
17782
17782
  ColWrapper: O,
17783
17783
  RowWrapper: M
17784
- } = Yr({
17784
+ } = Ur({
17785
17785
  colProps: k,
17786
17786
  rowProps: $
17787
17787
  }), P = xe($a), D = ie(() => r.name === void 0 ? [U.name].flat(1) : [r.name, U.name].flat(1), [r.name, U.name]);
@@ -17874,7 +17874,7 @@ const qi = ({
17874
17874
  ignoreFormListField: r,
17875
17875
  ...a
17876
17876
  }) => {
17877
- const i = xe($a), s = xe(Pr), l = ie(() => e.map((c) => {
17877
+ const i = xe($a), s = xe(_r), l = ie(() => e.map((c) => {
17878
17878
  var h;
17879
17879
  const f = [c];
17880
17880
  return !r && s.name !== void 0 && ((h = s.listName) != null && h.length) && f.unshift(s.listName), f.flat(1);
@@ -18053,10 +18053,10 @@ const e1 = /* @__PURE__ */ re.createContext({}), t1 = (e) => {
18053
18053
  children: c,
18054
18054
  fieldProps: f,
18055
18055
  ...h
18056
- } = e, d = xe(Pr), u = ie(() => e.name === void 0 ? e.name : d.name !== void 0 ? [d.name, e.name].flat(1) : Array.isArray(e.name) ? e.name : [e.name], [d.name, e.name]), {
18056
+ } = e, d = xe(_r), u = ie(() => e.name === void 0 ? e.name : d.name !== void 0 ? [d.name, e.name].flat(1) : Array.isArray(e.name) ? e.name : [e.name], [d.name, e.name]), {
18057
18057
  setFieldValueType: m,
18058
18058
  formItemProps: b
18059
- } = re.useContext(Ur);
18059
+ } = re.useContext(Hr);
18060
18060
  $e(() => {
18061
18061
  !m || !e.name || m(u, {
18062
18062
  valueType: r || "text",
@@ -18103,7 +18103,7 @@ const e1 = /* @__PURE__ */ re.createContext({}), t1 = (e) => {
18103
18103
  // 适用于长文本录入,如长链接、描述、备注等,通常搭配自适应多行输入框或定高文本域使用。
18104
18104
  xl: 552
18105
18105
  }, n1 = ["switch", "radioButton", "radio", "rate"];
18106
- function Ir(e, t) {
18106
+ function Ar(e, t) {
18107
18107
  e.displayName = "ProFormComponent";
18108
18108
  const n = (a) => {
18109
18109
  const {
@@ -18139,7 +18139,7 @@ function Ir(e, t) {
18139
18139
  } = {
18140
18140
  ...h,
18141
18141
  ...a
18142
- }, k = i || j.valueType, E = ie(() => f || n1.includes(k), [f, k]), [, $] = J(), [L, _] = J(), V = re.useContext(Ur), G = It(() => ({
18142
+ }, k = i || j.valueType, E = ie(() => f || n1.includes(k), [f, k]), [, $] = J(), [L, _] = J(), V = re.useContext(Hr), G = It(() => ({
18143
18143
  formItemProps: F == null ? void 0 : F(),
18144
18144
  fieldProps: R == null ? void 0 : R()
18145
18145
  }), [R, F, j.dependenciesValues, L]), z = It(() => {
@@ -18246,7 +18246,7 @@ function Ir(e, t) {
18246
18246
  );
18247
18247
  }, [u, B == null ? void 0 : B.light, m, c, a.proFormFieldKey, q, p, x, z, k, S, w, K, v, s, l, j.lightProps]), {
18248
18248
  ColWrapper: te
18249
- } = Yr(j);
18249
+ } = Ur(j);
18250
18250
  return /* @__PURE__ */ o(te, {
18251
18251
  children: ee
18252
18252
  });
@@ -18443,7 +18443,7 @@ function l1(e) {
18443
18443
  componentSize: "middle"
18444
18444
  }, I = be(h || F), {
18445
18445
  RowWrapper: A
18446
- } = Yr({
18446
+ } = Ur({
18447
18447
  grid: S,
18448
18448
  rowProps: y
18449
18449
  }), B = Ee(() => F), j = ie(() => ({
@@ -18618,7 +18618,7 @@ function l1(e) {
18618
18618
  });
18619
18619
  }
18620
18620
  let Od = 0;
18621
- function Hr(e) {
18621
+ function Kr(e) {
18622
18622
  const {
18623
18623
  extraUrlParams: t = Vf,
18624
18624
  syncToUrl: n,
@@ -18763,14 +18763,14 @@ function Hr(e) {
18763
18763
  paddingBottom: 50,
18764
18764
  textAlign: "center"
18765
18765
  },
18766
- children: /* @__PURE__ */ o(Lr, {})
18766
+ children: /* @__PURE__ */ o(zr, {})
18767
18767
  }) : M(/* @__PURE__ */ o(Aa.Provider, {
18768
18768
  value: {
18769
18769
  mode: e.readonly ? "read" : "edit"
18770
18770
  },
18771
18771
  children: /* @__PURE__ */ o(sr, {
18772
18772
  needDeps: !0,
18773
- children: /* @__PURE__ */ o(Ur.Provider, {
18773
+ children: /* @__PURE__ */ o(Hr.Provider, {
18774
18774
  value: {
18775
18775
  formRef: E,
18776
18776
  fieldProps: f,
@@ -18791,7 +18791,7 @@ function Hr(e) {
18791
18791
  }));
18792
18792
  }
18793
18793
  },
18794
- children: /* @__PURE__ */ o(Pr.Provider, {
18794
+ children: /* @__PURE__ */ o(_r.Provider, {
18795
18795
  value: {},
18796
18796
  children: /* @__PURE__ */ o(Q, {
18797
18797
  onKeyDown: (fe) => {
@@ -19009,7 +19009,7 @@ const u1 = (e) => {
19009
19009
  mode: (c == null ? void 0 : c.mode) || S.mode || "edit",
19010
19010
  params: y
19011
19011
  });
19012
- }, Gn = Ir == null ? void 0 : Ir(f1), h1 = ({
19012
+ }, Gn = Ar == null ? void 0 : Ar(f1), h1 = ({
19013
19013
  fieldProps: e,
19014
19014
  min: t,
19015
19015
  proFieldProps: n,
@@ -19104,7 +19104,7 @@ const y1 = (e) => {
19104
19104
  return p;
19105
19105
  }), g = g1[l], {
19106
19106
  RowWrapper: w
19107
- } = Yr(d), C = Fe(({
19107
+ } = Ur(d), C = Fe(({
19108
19108
  children: p
19109
19109
  }) => {
19110
19110
  const x = {
@@ -19133,7 +19133,7 @@ const y1 = (e) => {
19133
19133
  onChange: void 0,
19134
19134
  ...r,
19135
19135
  children: e
19136
- }))), x1 = Ir == null ? void 0 : Ir(b1), S1 = (e) => ({
19136
+ }))), x1 = Ar == null ? void 0 : Ar(b1), S1 = (e) => ({
19137
19137
  [e.componentCls]: {
19138
19138
  boxSizing: "border-box",
19139
19139
  "&-title": {
@@ -19189,7 +19189,7 @@ function w1(e) {
19189
19189
  const jf = /* @__PURE__ */ re.forwardRef((e, t) => {
19190
19190
  const {
19191
19191
  groupProps: n
19192
- } = re.useContext(Ur), {
19192
+ } = re.useContext(Hr), {
19193
19193
  children: r,
19194
19194
  collapsible: a,
19195
19195
  defaultCollapsed: i,
@@ -19223,7 +19223,7 @@ const jf = /* @__PURE__ */ re.forwardRef((e, t) => {
19223
19223
  } = xe(De.ConfigContext), {
19224
19224
  ColWrapper: T,
19225
19225
  RowWrapper: F
19226
- } = Yr(e), R = v("pro-form-group"), {
19226
+ } = Ur(e), R = v("pro-form-group"), {
19227
19227
  wrapSSR: I,
19228
19228
  hashId: A
19229
19229
  } = w1(R), B = a && /* @__PURE__ */ o(Ud, {
@@ -19231,7 +19231,7 @@ const jf = /* @__PURE__ */ re.forwardRef((e, t) => {
19231
19231
  marginInlineEnd: 8
19232
19232
  },
19233
19233
  rotate: p ? void 0 : 90
19234
- }), j = /* @__PURE__ */ o(kr, {
19234
+ }), j = /* @__PURE__ */ o(Dr, {
19235
19235
  label: B ? /* @__PURE__ */ W("div", {
19236
19236
  children: [B, c]
19237
19237
  }) : c,
@@ -19399,7 +19399,7 @@ function F1({
19399
19399
  }
19400
19400
  }) : null, [A, t, F, y, S]), L = ie(() => {
19401
19401
  var O, M, P, D;
19402
- return h.submitter === !1 ? !1 : Fr({
19402
+ return h.submitter === !1 ? !1 : $r({
19403
19403
  searchConfig: {
19404
19404
  submitText: ((M = (O = u.locale) == null ? void 0 : O.Modal) == null ? void 0 : M.okText) ?? "确认",
19405
19405
  resetText: ((D = (P = u.locale) == null ? void 0 : P.Modal) == null ? void 0 : D.cancelText) ?? "取消"
@@ -19486,7 +19486,7 @@ function F1({
19486
19486
  (M = d == null ? void 0 : d.onResize) == null || M.call(d), O.stopPropagation(), O.preventDefault(), document.addEventListener("mousemove", G), document.addEventListener("mouseup", z), y(!0);
19487
19487
  }
19488
19488
  }) : null, /* @__PURE__ */ o(Ae, {
19489
- children: /* @__PURE__ */ o(Hr, {
19489
+ children: /* @__PURE__ */ o(Kr, {
19490
19490
  formComponentType: "DrawerForm",
19491
19491
  layout: "vertical",
19492
19492
  ...h,
@@ -19710,7 +19710,7 @@ function I1(e) {
19710
19710
  } = xe(De.ConfigContext), g = b("pro-form"), [w, C] = J(() => ({
19711
19711
  ...a
19712
19712
  })), p = be();
19713
- return ft(c, () => p.current, [p.current]), /* @__PURE__ */ o(Hr, {
19713
+ return ft(c, () => p.current, [p.current]), /* @__PURE__ */ o(Kr, {
19714
19714
  size: t,
19715
19715
  initialValues: a,
19716
19716
  form: s,
@@ -19862,7 +19862,7 @@ function O1({
19862
19862
  justifyContent: "flex-end"
19863
19863
  }
19864
19864
  }) : null,
19865
- children: /* @__PURE__ */ o(Hr, {
19865
+ children: /* @__PURE__ */ o(Kr, {
19866
19866
  formComponentType: "ModalForm",
19867
19867
  layout: "vertical",
19868
19868
  ...f,
@@ -20315,7 +20315,7 @@ function q1(e) {
20315
20315
  ref: L,
20316
20316
  className: le(`${T}-container`, R),
20317
20317
  style: e.containerStyle,
20318
- children: /* @__PURE__ */ o(Hr, {
20318
+ children: /* @__PURE__ */ o(Kr, {
20319
20319
  isKeyPressSubmit: !0,
20320
20320
  preserve: C,
20321
20321
  ...y,
@@ -20381,7 +20381,7 @@ function Z1(e) {
20381
20381
  return n == null || n.regForm(d, a), () => {
20382
20382
  n == null || n.unRegForm(d);
20383
20383
  };
20384
- }, []), n && (n != null && n.formArrayRef) && (n.formArrayRef.current[s || 0] = t), /* @__PURE__ */ o(Hr, {
20384
+ }, []), n && (n != null && n.formArrayRef) && (n.formArrayRef.current[s || 0] = t), /* @__PURE__ */ o(Kr, {
20385
20385
  formRef: t,
20386
20386
  onFinish: async (d) => {
20387
20387
  if (h.name && (n == null || n.onFormFinish(h.name, d)), i) {
@@ -20875,7 +20875,7 @@ function Wf(e) {
20875
20875
  formRef: s,
20876
20876
  ...l
20877
20877
  } = e, c = uF[n] || Lt, [f] = Q.useForm(), h = Q.useFormInstance(), [, d] = J([]), [u, m] = J(() => []), b = vb(e.form || h || f), g = be(), w = Ws(e), C = Ee((v) => v.filter((T) => !(T.hideInForm && r === "form")).sort((T, F) => F.order || T.order ? (F.order || 0) - (T.order || 0) : (F.index || 0) - (T.index || 0)).map((T, F) => {
20878
- const R = Pt(T.title, T, "form", /* @__PURE__ */ o(kr, {
20878
+ const R = Pt(T.title, T, "form", /* @__PURE__ */ o(Dr, {
20879
20879
  label: T.title,
20880
20880
  tooltip: T.tooltip
20881
20881
  })), I = Ft({
@@ -21014,11 +21014,11 @@ const Pi = "text", fF = ({
21014
21014
  return e != null && e.statusRender && n.name ? /* @__PURE__ */ o(sr, {
21015
21015
  valueTypeMap: {
21016
21016
  password: {
21017
- render: (i, s) => /* @__PURE__ */ o(Rr, {
21017
+ render: (i, s) => /* @__PURE__ */ o(Er, {
21018
21018
  ...s,
21019
21019
  text: i
21020
21020
  }),
21021
- formItemRender: (i, s) => /* @__PURE__ */ o(Rr, {
21021
+ formItemRender: (i, s) => /* @__PURE__ */ o(Er, {
21022
21022
  ...s,
21023
21023
  text: i
21024
21024
  })
@@ -21056,11 +21056,11 @@ const Pi = "text", fF = ({
21056
21056
  }) : /* @__PURE__ */ o(sr, {
21057
21057
  valueTypeMap: {
21058
21058
  password: {
21059
- render: (i, s) => /* @__PURE__ */ o(Rr, {
21059
+ render: (i, s) => /* @__PURE__ */ o(Er, {
21060
21060
  ...s,
21061
21061
  text: i
21062
21062
  }),
21063
- formItemRender: (i, s) => /* @__PURE__ */ o(Rr, {
21063
+ formItemRender: (i, s) => /* @__PURE__ */ o(Er, {
21064
21064
  ...s,
21065
21065
  text: i
21066
21066
  })
@@ -21080,7 +21080,7 @@ const Pi = "text", fF = ({
21080
21080
  _i.Password = mF;
21081
21081
  _i.displayName = "ProFormComponent";
21082
21082
  function Lt(e) {
21083
- return /* @__PURE__ */ o(Hr, {
21083
+ return /* @__PURE__ */ o(Kr, {
21084
21084
  layout: "vertical",
21085
21085
  contentRender: (t, n) => /* @__PURE__ */ W(Ae, {
21086
21086
  children: [t, n]
@@ -21249,7 +21249,7 @@ function CF(e, t) {
21249
21249
  const qf = (e, t) => t === void 0 ? !1 : typeof t == "boolean" ? t : t[e], vF = (e) => {
21250
21250
  var t;
21251
21251
  return e && typeof e == "object" && ((t = e == null ? void 0 : e.props) == null ? void 0 : t.colSpan);
21252
- }, _r = (e, t) => e ? Array.isArray(e) ? e.join("-") : e.toString() : `${t}`, Oa = (e) => Array.isArray(e) ? e.join(",") : e == null ? void 0 : e.toString(), As = (e) => {
21252
+ }, Lr = (e, t) => e ? Array.isArray(e) ? e.join("-") : e.toString() : `${t}`, Oa = (e) => Array.isArray(e) ? e.join(",") : e == null ? void 0 : e.toString(), As = (e) => {
21253
21253
  const t = [];
21254
21254
  for (let n = 0; n < e.length; n++) {
21255
21255
  const r = e[n];
@@ -21314,7 +21314,7 @@ function IF(e = {}) {
21314
21314
  fixed: j,
21315
21315
  disable: k
21316
21316
  }, E) => {
21317
- const $ = _r(A ?? B, E);
21317
+ const $ = Lr(A ?? B, E);
21318
21318
  $ && (F[$] = {
21319
21319
  show: !0,
21320
21320
  fixed: j,
@@ -22043,7 +22043,7 @@ const Do = ({
22043
22043
  ...j
22044
22044
  }) => {
22045
22045
  var L, _;
22046
- const k = _r(I, [R == null ? void 0 : R.columnKey, j.index].filter(Boolean).join("-")), E = (f == null ? void 0 : f[k || "null"]) || {
22046
+ const k = Lr(I, [R == null ? void 0 : R.columnKey, j.index].filter(Boolean).join("-")), E = (f == null ? void 0 : f[k || "null"]) || {
22047
22047
  show: !0
22048
22048
  };
22049
22049
  E.show !== !1 && !B && y.push(k);
@@ -22233,7 +22233,7 @@ function WF(e) {
22233
22233
  disable: I
22234
22234
  }) => {
22235
22235
  var B, j;
22236
- const A = _r(v, F);
22236
+ const A = Lr(v, F);
22237
22237
  A && (x[A] = {
22238
22238
  // 子节点 disable 时,不修改节点显示状态
22239
22239
  show: I ? (B = i == null ? void 0 : i[A]) == null ? void 0 : B.show : p,
@@ -22596,7 +22596,7 @@ const XF = ({
22596
22596
  className: le(`${w}-left`, p),
22597
22597
  children: /* @__PURE__ */ o("div", {
22598
22598
  className: le(`${w}-title`, p),
22599
- children: /* @__PURE__ */ o(kr, {
22599
+ children: /* @__PURE__ */ o(Dr, {
22600
22600
  tooltip: r,
22601
22601
  label: t,
22602
22602
  subTitle: n
@@ -22610,7 +22610,7 @@ const XF = ({
22610
22610
  }),
22611
22611
  children: [R && !m && /* @__PURE__ */ o("div", {
22612
22612
  className: le(`${w}-title`, p),
22613
- children: /* @__PURE__ */ o(kr, {
22613
+ children: /* @__PURE__ */ o(Dr, {
22614
22614
  tooltip: r,
22615
22615
  label: t,
22616
22616
  subTitle: n
@@ -23104,7 +23104,7 @@ const f$ = (e, t, n) => {
23104
23104
  (!I || I === _) && (!A || A === V) || n.pageInfo && m && (m == null ? void 0 : m.length) > V || _ !== void 0 && m && m.length <= V && ($(), E.run(!1));
23105
23105
  }, [y == null ? void 0 : y.current]), $e(() => {
23106
23106
  A && ($(), E.run(!1));
23107
- }, [y == null ? void 0 : y.pageSize]), $r(() => ($(), E.run(!1), s || (d.current = !1), () => {
23107
+ }, [y == null ? void 0 : y.pageSize]), Rr(() => ($(), E.run(!1), s || (d.current = !1), () => {
23108
23108
  $();
23109
23109
  }), [...h, s]), {
23110
23110
  /**
@@ -23195,7 +23195,7 @@ const f$ = (e, t, n) => {
23195
23195
  const l = t.key || `${a}`, c = n.key || `${s}`;
23196
23196
  return (f = e == null ? void 0 : e[l]) != null && f.order || (h = e == null ? void 0 : e[c]) != null && h.order ? (((d = e == null ? void 0 : e[l]) == null ? void 0 : d.order) || 0) - (((u = e == null ? void 0 : e[c]) == null ? void 0 : u.order) || 0) : (t.index || 0) - (n.index || 0);
23197
23197
  }, m$ = ["", null, void 0], Dd = (...e) => e.filter((t) => t !== void 0).map((t) => typeof t == "number" ? t.toString() : t).flat(1), g$ = (e) => {
23198
- const t = xe(Ur), {
23198
+ const t = xe(Hr), {
23199
23199
  columnProps: n,
23200
23200
  prefixName: r,
23201
23201
  text: a,
@@ -23334,7 +23334,7 @@ const p$ = (e) => {
23334
23334
  const {
23335
23335
  title: t
23336
23336
  } = e, n = typeof (e == null ? void 0 : e.ellipsis) == "boolean" ? e == null ? void 0 : e.ellipsis : (r = e == null ? void 0 : e.ellipsis) == null ? void 0 : r.showTitle;
23337
- return t && typeof t == "function" ? t(e, "table", null) : /* @__PURE__ */ o(kr, {
23337
+ return t && typeof t == "function" ? t(e, "table", null) : /* @__PURE__ */ o(Dr, {
23338
23338
  label: t,
23339
23339
  tooltip: e.tooltip,
23340
23340
  ellipsis: n
@@ -23497,7 +23497,7 @@ function Jf(e) {
23497
23497
  valueEnum: h,
23498
23498
  valueType: d = "text",
23499
23499
  children: u
23500
- } = s, m = _r(c || (f == null ? void 0 : f.toString()), [r == null ? void 0 : r.key, l].filter(Boolean).join("-"));
23500
+ } = s, m = Lr(c || (f == null ? void 0 : f.toString()), [r == null ? void 0 : r.key, l].filter(Boolean).join("-"));
23501
23501
  if (!h && !d && !u)
23502
23502
  return {
23503
23503
  index: l,
@@ -23711,7 +23711,7 @@ const O$ = {}, M$ = (e) => {
23711
23711
  defaultProSort: ye
23712
23712
  };
23713
23713
  }, [oe]), [Se, se] = J(fe), [ge, we] = J(me);
23714
- $r(() => {
23714
+ Rr(() => {
23715
23715
  se(fe), we(me);
23716
23716
  }, [fe, me]);
23717
23717
  const ae = Ve(), ne = typeof f == "object" ? f : {
@@ -23774,12 +23774,12 @@ const O$ = {}, M$ = (e) => {
23774
23774
  request: n,
23775
23775
  type: B
23776
23776
  });
23777
- $r(() => {
23777
+ Rr(() => {
23778
23778
  ze && (ze.current !== Ce.pageInfo.current || ze.pageSize !== Ce.pageInfo.pageSize) && Ce.setPageInfo({
23779
23779
  current: ze.current,
23780
23780
  pageSize: ze.pageSize
23781
23781
  });
23782
- }, [ze]), $r(() => {
23782
+ }, [ze]), Rr(() => {
23783
23783
  var ye;
23784
23784
  e.request && !u0(a) && Ce.dataSource && !Ro(Ce.dataSource, i) && ((ye = Ce == null ? void 0 : Ce.pageInfo) == null ? void 0 : ye.current) !== 1 && Ce.setPageInfo({
23785
23785
  current: 1
@@ -23820,11 +23820,11 @@ const O$ = {}, M$ = (e) => {
23820
23820
  st();
23821
23821
  },
23822
23822
  resetAll: () => {
23823
- var Ue, zt, Mn, wn, Kr;
23823
+ var Ue, zt, Mn, wn, Wr;
23824
23824
  st(), X.setKeyWords(void 0), Ce.setPageInfo({
23825
23825
  current: 1
23826
23826
  }), se(fe), we(me), (Ue = P == null ? void 0 : P.current) == null || Ue.resetFields();
23827
- const ye = ((Mn = (zt = P == null ? void 0 : P.current) == null ? void 0 : zt.getFieldsFormatValue) == null ? void 0 : Mn.call(zt, !0)) ?? ((Kr = (wn = P == null ? void 0 : P.current) == null ? void 0 : wn.getFieldsValue) == null ? void 0 : Kr.call(wn, !0)) ?? {}, Re = F ? F(ye) : ye;
23827
+ const ye = ((Mn = (zt = P == null ? void 0 : P.current) == null ? void 0 : zt.getFieldsFormatValue) == null ? void 0 : Mn.call(zt, !0)) ?? ((Wr = (wn = P == null ? void 0 : P.current) == null ? void 0 : wn.getFieldsValue) == null ? void 0 : Wr.call(wn, !0)) ?? {}, Re = F ? F(ye) : ye;
23828
23828
  te(Re ?? {});
23829
23829
  },
23830
23830
  editableUtils: ht,
@@ -23853,10 +23853,10 @@ const O$ = {}, M$ = (e) => {
23853
23853
  }, [oe, X == null ? void 0 : X.sortKeyColumns, X == null ? void 0 : X.columnsMap, j, B, ht.editableKeys && ht.editableKeys.join(","), Se, ge]);
23854
23854
  Ku(() => {
23855
23855
  if (je && je.length > 0) {
23856
- const ye = je.map((Re) => _r(Re.key, Re.index));
23856
+ const ye = je.map((Re) => Lr(Re.key, Re.index));
23857
23857
  X.setSortKeyColumns(ye);
23858
23858
  }
23859
- }, [je], ["render", "formItemRender"], 100), $r(() => {
23859
+ }, [je], ["render", "formItemRender"], 100), Rr(() => {
23860
23860
  const {
23861
23861
  pageInfo: ye
23862
23862
  } = Ce, {
@@ -23949,7 +23949,7 @@ const O$ = {}, M$ = (e) => {
23949
23949
  }, [Ce.dataSource, ht == null ? void 0 : ht.newLineRecord, Ye, ze, (fl = e.expandable) == null ? void 0 : fl.childrenColumnName]), Xi = ie(() => {
23950
23950
  const ye = (Re) => Re.map((Ue) => {
23951
23951
  var wn;
23952
- const zt = _r(Ue.key, Ue.index), Mn = (wn = X.columnsMap) == null ? void 0 : wn[zt];
23952
+ const zt = Lr(Ue.key, Ue.index), Mn = (wn = X.columnsMap) == null ? void 0 : wn[zt];
23953
23953
  return Mn && Mn.show === !1 ? !1 : Ue.children ? {
23954
23954
  ...Ue,
23955
23955
  children: ye(Ue.children)
@@ -23971,8 +23971,8 @@ const O$ = {}, M$ = (e) => {
23971
23971
  dataSource: Qf,
23972
23972
  pagination: ze,
23973
23973
  onChange: (ye, Re, Ue, zt) => {
23974
- var Kr;
23975
- (Kr = z.onChange) == null || Kr.call(z, ye, Re, Ue, zt);
23974
+ var Wr;
23975
+ (Wr = z.onChange) == null || Wr.call(z, ye, Re, Ue, zt);
23976
23976
  const Mn = TF(Re, eh);
23977
23977
  nh(Ft(Mn));
23978
23978
  const wn = FF(Ue);
@@ -24077,7 +24077,7 @@ let k$ = "/api";
24077
24077
  function dn() {
24078
24078
  return Rn({ baseURL: k$, timeout: 15e3 });
24079
24079
  }
24080
- const vr = {
24080
+ const Tr = {
24081
24081
  /** POST /api/ctc/ac/accounts — 创建账号, 返回新 ID */
24082
24082
  create: (e) => dn().post("/ctc/ac/accounts", e),
24083
24083
  /** GET /api/ctc/ac/accounts?id=xxx — 按主键查询 (请求参数) */
@@ -24121,7 +24121,7 @@ const vr = {
24121
24121
  2: { text: "邮箱", color: "purple" },
24122
24122
  3: { text: "手机", color: "cyan" }
24123
24123
  };
24124
- function Jr({ value: e }) {
24124
+ function Cr({ value: e }) {
24125
24125
  const t = e == null || e === "" ? "-" : String(e);
24126
24126
  return t === "-" ? /* @__PURE__ */ o("span", { children: "-" }) : /* @__PURE__ */ o(it, { title: t, placement: "topLeft", children: /* @__PURE__ */ o("span", { style: {
24127
24127
  display: "block",
@@ -24161,7 +24161,7 @@ function dR({ apiBaseURL: e }) {
24161
24161
  n.resetFields(), a({}), (N = t.current) == null || N.reload();
24162
24162
  }, [n]), L = async (N) => {
24163
24163
  try {
24164
- let K = await vr.listByTenant({
24164
+ let K = await Tr.listByTenant({
24165
24165
  tenant: r.tenant,
24166
24166
  pageNum: N.current,
24167
24167
  pageSize: N.pageSize
@@ -24178,7 +24178,7 @@ function dR({ apiBaseURL: e }) {
24178
24178
  var N;
24179
24179
  try {
24180
24180
  const H = await g.validateFields();
24181
- await vr.create(H), de.success("创建成功"), h(!1), g.resetFields(), (N = t.current) == null || N.reload();
24181
+ await Tr.create(H), de.success("创建成功"), h(!1), g.resetFields(), (N = t.current) == null || N.reload();
24182
24182
  } catch (H) {
24183
24183
  if (H != null && H.errorFields) return;
24184
24184
  de.error("创建失败:" + ((H == null ? void 0 : H.message) || "未知错误"));
@@ -24187,14 +24187,14 @@ function dR({ apiBaseURL: e }) {
24187
24187
  var ee;
24188
24188
  const K = H === 1 ? 0 : 1;
24189
24189
  try {
24190
- await vr.updateStatus(N, K), de.success(K === 1 ? "已启用" : "已停用"), (ee = t.current) == null || ee.reload();
24190
+ await Tr.updateStatus(N, K), de.success(K === 1 ? "已启用" : "已停用"), (ee = t.current) == null || ee.reload();
24191
24191
  } catch (te) {
24192
24192
  de.error("操作失败:" + ((te == null ? void 0 : te.message) || "未知错误"));
24193
24193
  }
24194
24194
  }, G = async () => {
24195
24195
  var N;
24196
24196
  try {
24197
- await Promise.all(l.map((H) => vr.updateStatus(H.id, 0))), de.success(`已停用 ${l.length} 个账号`), s([]), c([]), (N = t.current) == null || N.reload();
24197
+ await Promise.all(l.map((H) => Tr.updateStatus(H.id, 0))), de.success(`已停用 ${l.length} 个账号`), s([]), c([]), (N = t.current) == null || N.reload();
24198
24198
  } catch (H) {
24199
24199
  de.error("批量操作失败:" + ((H == null ? void 0 : H.message) || "未知错误"));
24200
24200
  }
@@ -24216,7 +24216,7 @@ function dR({ apiBaseURL: e }) {
24216
24216
  if (m != null && m.id)
24217
24217
  try {
24218
24218
  const N = await w.validateFields();
24219
- await vr.resetPassword(m.id, { newPassword: N.newPassword }), de.success(`已重置账号 ${m.username} 的密码`), u(!1), w.resetFields();
24219
+ await Tr.resetPassword(m.id, { newPassword: N.newPassword }), de.success(`已重置账号 ${m.username} 的密码`), u(!1), w.resetFields();
24220
24220
  } catch (N) {
24221
24221
  if (N != null && N.errorFields) return;
24222
24222
  de.error("重置失败:" + ((N == null ? void 0 : N.message) || "未知错误"));
@@ -24257,7 +24257,7 @@ function dR({ apiBaseURL: e }) {
24257
24257
  fixed: "left",
24258
24258
  ellipsis: { showTitle: !1 },
24259
24259
  search: !1,
24260
- render: (N, H) => /* @__PURE__ */ o(Jr, { value: H.username })
24260
+ render: (N, H) => /* @__PURE__ */ o(Cr, { value: H.username })
24261
24261
  },
24262
24262
  {
24263
24263
  title: "昵称",
@@ -24265,7 +24265,7 @@ function dR({ apiBaseURL: e }) {
24265
24265
  width: 120,
24266
24266
  ellipsis: { showTitle: !1 },
24267
24267
  search: !1,
24268
- render: (N, H) => /* @__PURE__ */ o(Jr, { value: H.nickname })
24268
+ render: (N, H) => /* @__PURE__ */ o(Cr, { value: H.nickname })
24269
24269
  },
24270
24270
  {
24271
24271
  title: "类型",
@@ -24283,7 +24283,7 @@ function dR({ apiBaseURL: e }) {
24283
24283
  width: 150,
24284
24284
  ellipsis: { showTitle: !1 },
24285
24285
  search: !1,
24286
- render: (N, H) => /* @__PURE__ */ o(Jr, { value: H.email })
24286
+ render: (N, H) => /* @__PURE__ */ o(Cr, { value: H.email })
24287
24287
  },
24288
24288
  {
24289
24289
  title: "手机",
@@ -24291,7 +24291,7 @@ function dR({ apiBaseURL: e }) {
24291
24291
  width: 126,
24292
24292
  ellipsis: { showTitle: !1 },
24293
24293
  search: !1,
24294
- render: (N, H) => /* @__PURE__ */ o(Jr, { value: H.phone })
24294
+ render: (N, H) => /* @__PURE__ */ o(Cr, { value: H.phone })
24295
24295
  },
24296
24296
  {
24297
24297
  title: "租户",
@@ -24299,7 +24299,7 @@ function dR({ apiBaseURL: e }) {
24299
24299
  width: 92,
24300
24300
  ellipsis: { showTitle: !1 },
24301
24301
  search: !1,
24302
- render: (N, H) => /* @__PURE__ */ o(Jr, { value: H.tenantCode })
24302
+ render: (N, H) => /* @__PURE__ */ o(Cr, { value: H.tenantCode })
24303
24303
  },
24304
24304
  {
24305
24305
  title: "状态",
@@ -24311,7 +24311,17 @@ function dR({ apiBaseURL: e }) {
24311
24311
  return /* @__PURE__ */ o(Ie, { color: K.color, children: K.text });
24312
24312
  }
24313
24313
  },
24314
- { title: "创建时间", dataIndex: "createdAt", width: 160, valueType: "dateTime", search: !1 },
24314
+ {
24315
+ // 显式格式化 + 单行省略:valueType dateTime 的默认渲染在部分行会把
24316
+ // 时间文本拆成两行(实测 testadmin / admin 两行高 61px vs 其余 41px),
24317
+ // 行高不齐整表就散了。这里自己格式化,单元格只有一段文本。
24318
+ title: "创建时间",
24319
+ dataIndex: "createdAt",
24320
+ width: 160,
24321
+ search: !1,
24322
+ ellipsis: { showTitle: !1 },
24323
+ render: (N, H) => /* @__PURE__ */ o(Cr, { value: H.createdAt ? Me(H.createdAt).format("YYYY-MM-DD HH:mm:ss") : null })
24324
+ },
24315
24325
  {
24316
24326
  title: "操作",
24317
24327
  valueType: "option",
@@ -24507,7 +24517,7 @@ function dR({ apiBaseURL: e }) {
24507
24517
  ]
24508
24518
  }
24509
24519
  ) : /* @__PURE__ */ o(
24510
- Ar,
24520
+ Or,
24511
24521
  {
24512
24522
  cardTitle: `登录日志(${T.length})`,
24513
24523
  cardExtra: /* @__PURE__ */ o(
@@ -25846,7 +25856,7 @@ function hR({ apiBaseURL: e }) {
25846
25856
  }
25847
25857
  )
25848
25858
  ] }) : /* @__PURE__ */ o(
25849
- Ar,
25859
+ Or,
25850
25860
  {
25851
25861
  rows: v,
25852
25862
  rowKey: "id",
@@ -26040,7 +26050,7 @@ function mR({ apiBaseURL: e }) {
26040
26050
  }
26041
26051
  const ri = {
26042
26052
  /** 用户列表 — 来自 z-ctc-ac */
26043
- listAccounts: (e) => vr.listByTenant(e),
26053
+ listAccounts: (e) => Tr.listByTenant(e),
26044
26054
  /** 查询某用户的角色 */
26045
26055
  listUserRoles: (e) => Tt.listUserRoles(e),
26046
26056
  /** 查询某用户的权限(资源编码列表) */
@@ -26174,7 +26184,7 @@ function gR({ apiBaseURL: e }) {
26174
26184
  }
26175
26185
  ),
26176
26186
  /* @__PURE__ */ o(
26177
- Ar,
26187
+ Or,
26178
26188
  {
26179
26189
  cardTitle: `用户权限 (${d.length})`,
26180
26190
  rows: d,
@@ -26599,7 +26609,7 @@ function yR() {
26599
26609
  return /* @__PURE__ */ W("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
26600
26610
  /* @__PURE__ */ W("div", { style: { display: "grid", gridTemplateColumns: "380px 1fr", gap: 16 }, children: [
26601
26611
  /* @__PURE__ */ o(
26602
- Ar,
26612
+ Or,
26603
26613
  {
26604
26614
  cardTitle: `字典类型 (${e.length})`,
26605
26615
  cardExtra: /* @__PURE__ */ W(Pe, { children: [
@@ -26665,7 +26675,7 @@ function yR() {
26665
26675
  }
26666
26676
  ),
26667
26677
  a ? /* @__PURE__ */ o(
26668
- Ar,
26678
+ Or,
26669
26679
  {
26670
26680
  cardTitle: `字典项 — ${a.dictName} (${s.length})`,
26671
26681
  cardExtra: /* @__PURE__ */ W(Pe, { children: [
@@ -27076,6 +27086,6 @@ export {
27076
27086
  gR as UserPermissionPage,
27077
27087
  aR as UserTable,
27078
27088
  fn as ctcAcDomainApi,
27079
- Tr as ctcAcTenantApi,
27089
+ Fr as ctcAcTenantApi,
27080
27090
  SR as default
27081
27091
  };