@nuwatop/code-canvas-core 0.5.100 → 0.5.101

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.esm.js CHANGED
@@ -6,7 +6,7 @@ import xi from "antd/locale/zh_CN";
6
6
  import { create as Di } from "zustand";
7
7
  import { subscribeWithSelector as Ci } from "zustand/middleware";
8
8
  import { immer as Ni } from "zustand/middleware/immer";
9
- import Xe, { useMemo as m, useCallback as K, useEffect as je, createContext as Ti, useContext as et, useState as De, useRef as Pe, useLayoutEffect as vr, useId as ki, Suspense as Mi } from "react";
9
+ import Xe, { useMemo as m, useCallback as K, useEffect as je, createContext as Ti, useContext as et, useState as De, useRef as qe, useLayoutEffect as vr, useId as ki, Suspense as Mi } from "react";
10
10
  import * as lt from "@ant-design/icons";
11
11
  import { CloseCircleOutlined as _i, PlusOutlined as br, UploadOutlined as Sr, MenuOutlined as Ei, MinusOutlined as $i, LeftOutlined as wr, RightOutlined as Ar, UpOutlined as Oi, DownOutlined as xr, ApiOutlined as Ri, InboxOutlined as ji, FilePdfOutlined as Fi } from "@ant-design/icons";
12
12
  import Li from "clsx";
@@ -14,7 +14,7 @@ import Ge from "dayjs";
14
14
  import { pdfjs as Dr, Document as Vi, Page as Bi } from "react-pdf";
15
15
  import "react-pdf/dist/Page/TextLayer.css";
16
16
  import "react-pdf/dist/Page/AnnotationLayer.css";
17
- import { Line as zi, Column as Ki, Pie as Pi, Area as qi, DualAxes as Wi, Gauge as Ii, Liquid as Yi, Bar as Hi } from "@ant-design/plots";
17
+ import { Line as zi, Column as Ki, Pie as qi, Area as Pi, DualAxes as Wi, Gauge as Ii, Liquid as Yi, Bar as Hi } from "@ant-design/plots";
18
18
  const Ut = /* @__PURE__ */ new WeakMap(), gn = /* @__PURE__ */ new WeakMap();
19
19
  let pn = !1;
20
20
  const Ui = () => {
@@ -916,7 +916,7 @@ function wn() {
916
916
  }
917
917
  };
918
918
  }
919
- var An = wn(), Pt = /* @__PURE__ */ function() {
919
+ var An = wn(), qt = /* @__PURE__ */ function() {
920
920
  function t(n) {
921
921
  this.rules = null, this._messages = An, this.define(n);
922
922
  }
@@ -1001,11 +1001,11 @@ var An = wn(), Pt = /* @__PURE__ */ function() {
1001
1001
  }), j = xt({}, j, u.rule.fields);
1002
1002
  var M = {};
1003
1003
  Object.keys(j).forEach(function(E) {
1004
- var O = j[E], k = Array.isArray(O) ? O : [O];
1005
- M[E] = k.map(g.bind(null, E));
1004
+ var O = j[E], T = Array.isArray(O) ? O : [O];
1005
+ M[E] = T.map(g.bind(null, E));
1006
1006
  });
1007
- var T = new t(M);
1008
- T.messages(c.messages), u.rule.options && (u.rule.options.messages = c.messages, u.rule.options.error = c.error), T.validate(u.value, u.rule.options || c, function(E) {
1007
+ var k = new t(M);
1008
+ k.messages(c.messages), u.rule.options && (u.rule.options.messages = c.messages, u.rule.options.error = c.error), k.validate(u.value, u.rule.options || c, function(E) {
1009
1009
  var O = [];
1010
1010
  N && N.length && O.push.apply(O, N), E && E.length && O.push.apply(O, E), d(O.length ? O : null);
1011
1011
  });
@@ -1043,14 +1043,14 @@ var An = wn(), Pt = /* @__PURE__ */ function() {
1043
1043
  return o !== -1 && i.splice(o, 1), i.length === 1 && i[0] === "required" ? Bt.required : Bt[this.getType(r)] || void 0;
1044
1044
  }, t;
1045
1045
  }();
1046
- Pt.register = function(e, n) {
1046
+ qt.register = function(e, n) {
1047
1047
  if (typeof n != "function")
1048
1048
  throw new Error("Cannot register a validator by type, validator is not a function");
1049
1049
  Bt[e] = n;
1050
1050
  };
1051
- Pt.warning = Nr;
1052
- Pt.messages = An;
1053
- Pt.validators = Bt;
1051
+ qt.warning = Nr;
1052
+ qt.messages = An;
1053
+ qt.validators = Bt;
1054
1054
  function Eo(t) {
1055
1055
  if (!t || typeof t != "string") return null;
1056
1056
  try {
@@ -1077,7 +1077,7 @@ function Mr(t, e, n, r) {
1077
1077
  return;
1078
1078
  }
1079
1079
  const i = { [Kn]: t };
1080
- new Pt(i).validate({ [Kn]: e }, { first: !0 }).then(() => {
1080
+ new qt(i).validate({ [Kn]: e }, { first: !0 }).then(() => {
1081
1081
  n();
1082
1082
  }).catch(({ errors: a }) => {
1083
1083
  r(a || []);
@@ -1180,10 +1180,10 @@ function ct(t) {
1180
1180
  function Oo(t, e) {
1181
1181
  return t === "config.cells" && e.startsWith("config.content.") ? `config.${e.slice(15)}` : e;
1182
1182
  }
1183
- function Pn(t) {
1183
+ function qn(t) {
1184
1184
  return ct(t) && t.trim().startsWith("[");
1185
1185
  }
1186
- function qn(t) {
1186
+ function Pn(t) {
1187
1187
  return ct(t) && /^items\[\d+\]/.test(t.trim());
1188
1188
  }
1189
1189
  function Ro(t, e, n, r) {
@@ -1212,7 +1212,7 @@ function Ro(t, e, n, r) {
1212
1212
  dataSetField: ct(c) ? `${c}${f}` : f,
1213
1213
  sessionId: i
1214
1214
  };
1215
- if (typeof a == "number" && typeof o == "number" && ct(c) && !Pn(c) && !qn(c))
1215
+ if (typeof a == "number" && typeof o == "number" && ct(c) && !qn(c) && !Pn(c))
1216
1216
  return {
1217
1217
  dataSet: s,
1218
1218
  dataSetField: `[${a}].${c}[${o}].${f}`,
@@ -1235,7 +1235,7 @@ function Ro(t, e, n, r) {
1235
1235
  sessionId: i
1236
1236
  };
1237
1237
  }
1238
- return typeof a == "number" && typeof o == "number" && ct(c) && !Pn(c) && !qn(c) ? {
1238
+ return typeof a == "number" && typeof o == "number" && ct(c) && !qn(c) && !Pn(c) ? {
1239
1239
  dataSet: s,
1240
1240
  dataSetField: `[${a}].${c}[${o}]`,
1241
1241
  sessionId: i
@@ -1337,7 +1337,7 @@ function Fo() {
1337
1337
  baseURL: t.baseURL
1338
1338
  };
1339
1339
  }
1340
- function qt(t) {
1340
+ function Pt(t) {
1341
1341
  const [e, n] = De([]), [r, i] = De(!1), [o, a] = De(null);
1342
1342
  return je(() => {
1343
1343
  if (!t) {
@@ -1474,7 +1474,7 @@ const Ot = (t) => {
1474
1474
  } catch {
1475
1475
  return "";
1476
1476
  }
1477
- }, Po = (t, e = "YYYY-MM-DD HH:mm:ss") => Er(t, e), qo = (t) => {
1477
+ }, qo = (t, e = "YYYY-MM-DD HH:mm:ss") => Er(t, e), Po = (t) => {
1478
1478
  try {
1479
1479
  const e = rn(t);
1480
1480
  if (!e) return "";
@@ -1621,13 +1621,13 @@ function oa(t, e, n = {}) {
1621
1621
  case "compact":
1622
1622
  return zo(t, n.notation);
1623
1623
  case "timestamp":
1624
- return Po(t, n.pattern);
1624
+ return qo(t, n.pattern);
1625
1625
  case "date":
1626
1626
  return Ko(t, n);
1627
1627
  case "dateCustom":
1628
1628
  return Er(t, n.pattern);
1629
1629
  case "relativeTime":
1630
- return qo(t);
1630
+ return Po(t);
1631
1631
  case "duration":
1632
1632
  return Wo(t);
1633
1633
  case "age":
@@ -1768,8 +1768,8 @@ const kc = ({
1768
1768
  dataSet: y,
1769
1769
  dataSetField: v,
1770
1770
  ...g
1771
- }), P = oe(_, B);
1772
- b(o, P);
1771
+ }), q = oe(_, B);
1772
+ b(o, q);
1773
1773
  }
1774
1774
  },
1775
1775
  [
@@ -1788,20 +1788,20 @@ const kc = ({
1788
1788
  const V = S == null ? void 0 : S.token, _ = { ...h, ...V };
1789
1789
  if (!_ || Object.keys(_).length === 0) return;
1790
1790
  const B = {};
1791
- return Object.entries(_).forEach(([P, Y]) => {
1792
- Y !== "" && Y !== void 0 && Y !== null && (B[P] = Y);
1791
+ return Object.entries(_).forEach(([q, Y]) => {
1792
+ Y !== "" && Y !== void 0 && Y !== null && (B[q] = Y);
1793
1793
  }), Object.keys(B).length > 0 ? B : void 0;
1794
1794
  }, [h, S == null ? void 0 : S.token]), j = m(
1795
1795
  () => N ? { components: { Button: N } } : void 0,
1796
1796
  [N]
1797
1797
  ), {
1798
1798
  iconPosition: M,
1799
- iconPlacement: T,
1799
+ iconPlacement: k,
1800
1800
  clickAction: E,
1801
1801
  tooltip: O,
1802
- token: k,
1802
+ token: T,
1803
1803
  ...z
1804
- } = g, F = T || M, L = !!(z != null && z.block), $ = /* @__PURE__ */ p(
1804
+ } = g, F = k || M, L = !!(z != null && z.block), $ = /* @__PURE__ */ p(
1805
1805
  ft,
1806
1806
  {
1807
1807
  ...z,
@@ -1878,7 +1878,7 @@ const Or = (t) => {
1878
1878
  clearAction: S,
1879
1879
  bordered: g,
1880
1880
  ...C
1881
- } = t, D = ut(i, o, n), A = D.dataSet, x = D.dataSetField, N = D.sessionId, j = et(Ze), M = a ?? (j == null ? void 0 : j.index), T = j == null ? void 0 : j.parentIndex, E = Pe(""), O = Pe(null), k = R((ne) => ne.addCommand), z = R((ne) => ne.getDataSet), F = R((ne) => ne.setDataSet), L = R((ne) => ne.getProps), $ = R((ne) => ne.setProps), W = R((ne) => ne.setValidateResult), V = m(
1881
+ } = t, D = ut(i, o, n), A = D.dataSet, x = D.dataSetField, N = D.sessionId, j = et(Ze), M = a ?? (j == null ? void 0 : j.index), k = j == null ? void 0 : j.parentIndex, E = qe(""), O = qe(null), T = R((ne) => ne.addCommand), z = R((ne) => ne.getDataSet), F = R((ne) => ne.setDataSet), L = R((ne) => ne.getProps), $ = R((ne) => ne.setProps), W = R((ne) => ne.setValidateResult), V = m(
1882
1882
  () => ye(N, A),
1883
1883
  [N, A]
1884
1884
  ), _ = m(
@@ -1889,13 +1889,13 @@ const Or = (t) => {
1889
1889
  var ae;
1890
1890
  return _ ? ((ae = ne.propsStore[`${N}_props`]) == null ? void 0 : ae[_]) ?? null : null;
1891
1891
  }
1892
- ), P = m(
1892
+ ), q = m(
1893
1893
  () => Vt(N, A),
1894
1894
  [N, A]
1895
1895
  ), Y = R(
1896
1896
  (ne) => {
1897
1897
  var ae;
1898
- return P && x ? ((ae = ne.validateStore[P]) == null ? void 0 : ae[x]) ?? "" : "";
1898
+ return q && x ? ((ae = ne.validateStore[q]) == null ? void 0 : ae[x]) ?? "" : "";
1899
1899
  }
1900
1900
  ), H = R(
1901
1901
  (ne) => V && x ? ne.getDataSet(V, x) : void 0
@@ -1914,7 +1914,7 @@ const Or = (t) => {
1914
1914
  prefixIconNode: fe,
1915
1915
  suffixIconNode: de,
1916
1916
  prefixAddonText: ee,
1917
- suffixAddonText: q,
1917
+ suffixAddonText: P,
1918
1918
  inputMergedProps: te
1919
1919
  } = m(() => {
1920
1920
  const ne = se, ae = ne.prefix, I = ne.suffix, le = ne.addonBefore, Se = ne.addonAfter, {
@@ -1990,10 +1990,10 @@ const Or = (t) => {
1990
1990
  dataSet: A,
1991
1991
  dataSetField: x,
1992
1992
  index: M,
1993
- parentIndex: T,
1993
+ parentIndex: k,
1994
1994
  ...te
1995
1995
  });
1996
- k(N, oe(I, le));
1996
+ T(N, oe(I, le));
1997
1997
  }
1998
1998
  w && (O.current && clearTimeout(O.current), O.current = setTimeout(() => {
1999
1999
  O.current = null, ge(ae);
@@ -2010,9 +2010,9 @@ const Or = (t) => {
2010
2010
  A,
2011
2011
  x,
2012
2012
  M,
2013
- T,
2014
- te,
2015
2013
  k,
2014
+ te,
2015
+ T,
2016
2016
  w,
2017
2017
  ge
2018
2018
  ]
@@ -2039,10 +2039,10 @@ const Or = (t) => {
2039
2039
  dataSet: A,
2040
2040
  dataSetField: x,
2041
2041
  index: M,
2042
- parentIndex: T,
2042
+ parentIndex: k,
2043
2043
  ...te
2044
2044
  });
2045
- k(N, oe(le, Se));
2045
+ T(N, oe(le, Se));
2046
2046
  }
2047
2047
  },
2048
2048
  [
@@ -2054,8 +2054,8 @@ const Or = (t) => {
2054
2054
  A,
2055
2055
  x,
2056
2056
  M,
2057
- T,
2058
- k
2057
+ k,
2058
+ T
2059
2059
  ]
2060
2060
  ), Ee = K(() => {
2061
2061
  const ae = te.onClear;
@@ -2069,10 +2069,10 @@ const Or = (t) => {
2069
2069
  dataSet: A,
2070
2070
  dataSetField: x,
2071
2071
  index: M,
2072
- parentIndex: T,
2072
+ parentIndex: k,
2073
2073
  ...te
2074
2074
  });
2075
- k(N, oe(I, le));
2075
+ T(N, oe(I, le));
2076
2076
  }
2077
2077
  }, [
2078
2078
  te,
@@ -2082,8 +2082,8 @@ const Or = (t) => {
2082
2082
  A,
2083
2083
  x,
2084
2084
  M,
2085
- T,
2086
- k
2085
+ k,
2086
+ T
2087
2087
  ]);
2088
2088
  je(
2089
2089
  () => () => {
@@ -2117,7 +2117,7 @@ const Or = (t) => {
2117
2117
  styles: y
2118
2118
  }
2119
2119
  ),
2120
- q ? /* @__PURE__ */ p(Fe.Addon, { style: mt, children: q }) : null
2120
+ P ? /* @__PURE__ */ p(Fe.Addon, { style: mt, children: P }) : null
2121
2121
  ] }),
2122
2122
  we && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: we })
2123
2123
  ] });
@@ -2143,7 +2143,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2143
2143
  value: u,
2144
2144
  ...d
2145
2145
  }) => {
2146
- const l = ut(r, i, e), S = l.dataSet, g = l.dataSetField, C = l.sessionId, D = R((te) => te.addCommand), A = R((te) => te.setDataSet), x = Pe(null), N = m(
2146
+ const l = ut(r, i, e), S = l.dataSet, g = l.dataSetField, C = l.sessionId, D = R((te) => te.addCommand), A = R((te) => te.setDataSet), x = qe(null), N = m(
2147
2147
  () => ye(C, S),
2148
2148
  [C, S]
2149
2149
  ), j = R(
@@ -2153,14 +2153,14 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2153
2153
  }
2154
2154
  ), M = R(
2155
2155
  (te) => N && g ? te.getDataSet(N, g) : void 0
2156
- ), { validate: T, help: E } = tt({
2156
+ ), { validate: k, help: E } = tt({
2157
2157
  rules: o,
2158
2158
  dataSet: S,
2159
2159
  dataSetField: g,
2160
2160
  sessionId: C,
2161
2161
  id: t,
2162
2162
  develop: n
2163
- }), O = m(() => M !== void 0 ? M : (j == null ? void 0 : j.value) !== void 0 ? j.value : u, [M, j == null ? void 0 : j.value, u]), k = K(
2163
+ }), O = m(() => M !== void 0 ? M : (j == null ? void 0 : j.value) !== void 0 ? j.value : u, [M, j == null ? void 0 : j.value, u]), T = K(
2164
2164
  (te, he, ge) => {
2165
2165
  te && e && D(e, oe(te, { type: he, value: ge }));
2166
2166
  },
@@ -2172,8 +2172,8 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2172
2172
  return;
2173
2173
  }
2174
2174
  N && g && A(N, g, te), s && (x.current && clearTimeout(x.current), x.current = setTimeout(() => {
2175
- x.current = null, T(te);
2176
- }, Wn)), k(c, "change", te);
2175
+ x.current = null, k(te);
2176
+ }, Wn)), T(c, "change", te);
2177
2177
  },
2178
2178
  [
2179
2179
  w,
@@ -2181,13 +2181,13 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2181
2181
  g,
2182
2182
  A,
2183
2183
  s,
2184
- T,
2184
+ k,
2185
2185
  c,
2186
- k
2186
+ T
2187
2187
  ]
2188
2188
  ), F = K(() => {
2189
- a && T(O);
2190
- }, [a, T, O]), L = K(
2189
+ a && k(O);
2190
+ }, [a, k, O]), L = K(
2191
2191
  (te) => {
2192
2192
  if (d.onPressEnter) {
2193
2193
  d.onPressEnter(te);
@@ -2218,8 +2218,8 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2218
2218
  return;
2219
2219
  }
2220
2220
  if (N && g && A(N, g, null), s && (x.current && clearTimeout(x.current), x.current = setTimeout(() => {
2221
- x.current = null, T(null);
2222
- }, Wn)), k(c, "change", null), y && C) {
2221
+ x.current = null, k(null);
2222
+ }, Wn)), T(c, "change", null), y && C) {
2223
2223
  const { actionName: te, arg: he } = Le(y, null, {
2224
2224
  id: t,
2225
2225
  dataSet: S,
@@ -2233,8 +2233,8 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2233
2233
  g,
2234
2234
  A,
2235
2235
  s,
2236
- T,
2237
2236
  k,
2237
+ T,
2238
2238
  c,
2239
2239
  y,
2240
2240
  C,
@@ -2244,9 +2244,9 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2244
2244
  D
2245
2245
  ]), W = K(
2246
2246
  (te, he) => {
2247
- k(h, "step", { value: te, type: he.type });
2247
+ T(h, "step", { value: te, type: he.type });
2248
2248
  },
2249
- [h, k]
2249
+ [h, T]
2250
2250
  );
2251
2251
  je(
2252
2252
  () => () => {
@@ -2262,23 +2262,23 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2262
2262
  ), {
2263
2263
  prefix: _,
2264
2264
  suffix: B,
2265
- addonBefore: P,
2265
+ addonBefore: q,
2266
2266
  addonAfter: Y,
2267
2267
  style: H,
2268
2268
  ...ie
2269
2269
  } = V, ue = m(
2270
2270
  () => yt({
2271
2271
  iconName: _ != null ? String(_) : void 0,
2272
- label: P != null ? String(P) : void 0
2272
+ label: q != null ? String(q) : void 0
2273
2273
  }),
2274
- [_, P]
2274
+ [_, q]
2275
2275
  ), Z = m(
2276
2276
  () => yt({
2277
2277
  iconName: B != null ? String(B) : void 0,
2278
2278
  label: Y != null ? String(Y) : void 0
2279
2279
  }),
2280
2280
  [B, Y]
2281
- ), se = ue.iconNode, fe = Z.iconNode, de = ue.iconConfigured ? void 0 : ue.labelText, ee = Z.iconConfigured ? void 0 : Z.labelText, q = m(() => {
2281
+ ), se = ue.iconNode, fe = Z.iconNode, de = ue.iconConfigured ? void 0 : ue.labelText, ee = Z.iconConfigured ? void 0 : Z.labelText, P = m(() => {
2282
2282
  if (!(v && O !== null && O !== void 0)) return fe;
2283
2283
  const he = /* @__PURE__ */ p(
2284
2284
  "span",
@@ -2316,7 +2316,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2316
2316
  onBlur: F,
2317
2317
  onPressEnter: L,
2318
2318
  onStep: W,
2319
- suffix: q,
2319
+ suffix: P,
2320
2320
  status: E ? "error" : void 0,
2321
2321
  style: { width: "100%", ...H }
2322
2322
  }
@@ -2343,20 +2343,20 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2343
2343
  index: b,
2344
2344
  ...u
2345
2345
  }) => {
2346
- const d = ut(r, i, e), l = d.dataSet, S = d.dataSetField, g = d.sessionId, C = R((Z) => Z.addCommand), D = R((Z) => Z.setDataSet), A = Pe(null), x = et(Ze), N = b ?? (x == null ? void 0 : x.index), j = x == null ? void 0 : x.parentIndex, M = m(
2346
+ const d = ut(r, i, e), l = d.dataSet, S = d.dataSetField, g = d.sessionId, C = R((Z) => Z.addCommand), D = R((Z) => Z.setDataSet), A = qe(null), x = et(Ze), N = b ?? (x == null ? void 0 : x.index), j = x == null ? void 0 : x.parentIndex, M = m(
2347
2347
  () => ye(g, l),
2348
2348
  [g, l]
2349
- ), T = m(
2349
+ ), k = m(
2350
2350
  () => g ? pt(t, x, b) : null,
2351
2351
  [g, t, x == null ? void 0 : x.parentIndex, x == null ? void 0 : x.index, b]
2352
2352
  ), E = R(
2353
2353
  (Z) => {
2354
2354
  var se;
2355
- return T ? ((se = Z.propsStore[`${g}_props`]) == null ? void 0 : se[T]) ?? null : null;
2355
+ return k ? ((se = Z.propsStore[`${g}_props`]) == null ? void 0 : se[k]) ?? null : null;
2356
2356
  }
2357
2357
  ), O = R(
2358
2358
  (Z) => M && S ? Z.getDataSet(M, S) : void 0
2359
- ), { validate: k, help: z } = tt({
2359
+ ), { validate: T, help: z } = tt({
2360
2360
  rules: o,
2361
2361
  dataSet: l,
2362
2362
  dataSetField: S,
@@ -2372,7 +2372,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2372
2372
  suffix: fe,
2373
2373
  addonBefore: de,
2374
2374
  addonAfter: ee,
2375
- ...q
2375
+ ...P
2376
2376
  } = Z, te = yt({
2377
2377
  iconName: se == null ? void 0 : String(se),
2378
2378
  label: de == null ? void 0 : String(de)
@@ -2383,7 +2383,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2383
2383
  return {
2384
2384
  leftAddonNode: te.iconNode ?? te.labelText,
2385
2385
  rightAddonNode: he.iconNode ?? he.labelText,
2386
- inputRest: q
2386
+ inputRest: P
2387
2387
  };
2388
2388
  }, [L]), _ = m(() => $ != null && $ !== !1 || W != null && W !== !1, [$, W]), B = K(
2389
2389
  (Z) => {
@@ -2403,7 +2403,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2403
2403
  C(g, oe(fe, de));
2404
2404
  }
2405
2405
  s && (A.current && clearTimeout(A.current), A.current = setTimeout(() => {
2406
- A.current = null, k(se);
2406
+ A.current = null, T(se);
2407
2407
  }, ma));
2408
2408
  },
2409
2409
  [
@@ -2418,11 +2418,11 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2418
2418
  j,
2419
2419
  C,
2420
2420
  s,
2421
- k
2421
+ T
2422
2422
  ]
2423
- ), P = K(() => {
2424
- a && k(F);
2425
- }, [a, k, F]), Y = K(
2423
+ ), q = K(() => {
2424
+ a && T(F);
2425
+ }, [a, T, F]), Y = K(
2426
2426
  (Z) => {
2427
2427
  const se = V.onPressEnter;
2428
2428
  if (se) {
@@ -2490,7 +2490,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2490
2490
  disabled: n ? !1 : V.disabled,
2491
2491
  value: F,
2492
2492
  onChange: B,
2493
- onBlur: P,
2493
+ onBlur: q,
2494
2494
  onPressEnter: Y,
2495
2495
  onClear: H,
2496
2496
  status: z ? "error" : void 0,
@@ -2524,7 +2524,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2524
2524
  defaultValue: w,
2525
2525
  ...b
2526
2526
  }) => {
2527
- const u = R(($) => $.addCommand), d = R(($) => $.setDataSet), l = Pe(null), S = m(
2527
+ const u = R(($) => $.addCommand), d = R(($) => $.setDataSet), l = qe(null), S = m(
2528
2528
  () => ye(e, r),
2529
2529
  [e, r]
2530
2530
  ), g = R(
@@ -2544,13 +2544,13 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2544
2544
  }), x = m(() => C !== void 0 ? C : (g == null ? void 0 : g.value) !== void 0 ? g.value : h ?? w, [C, g == null ? void 0 : g.value, h, w]), N = m(
2545
2545
  () => nt(b, g ?? void 0),
2546
2546
  [b, g]
2547
- ), { prefixIconNode: j, suffixIconNode: M, prefixAddonText: T, suffixAddonText: E, inputRest: O } = m(() => {
2547
+ ), { prefixIconNode: j, suffixIconNode: M, prefixAddonText: k, suffixAddonText: E, inputRest: O } = m(() => {
2548
2548
  const $ = N, {
2549
2549
  prefix: W,
2550
2550
  suffix: V,
2551
2551
  addonBefore: _,
2552
2552
  addonAfter: B,
2553
- ...P
2553
+ ...q
2554
2554
  } = $, Y = yt({
2555
2555
  iconName: W == null ? void 0 : String(W),
2556
2556
  label: _ == null ? void 0 : String(_)
@@ -2563,9 +2563,9 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2563
2563
  suffixIconNode: H.iconNode,
2564
2564
  prefixAddonText: Y.iconConfigured ? void 0 : Y.labelText,
2565
2565
  suffixAddonText: H.iconConfigured ? void 0 : H.labelText,
2566
- inputRest: P
2566
+ inputRest: q
2567
2567
  };
2568
- }, [N]), k = K(
2568
+ }, [N]), T = K(
2569
2569
  ($) => {
2570
2570
  const W = $.target.value;
2571
2571
  if (v) {
@@ -2646,7 +2646,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2646
2646
  []
2647
2647
  ), /* @__PURE__ */ be("div", { style: { width: "100%" }, children: [
2648
2648
  /* @__PURE__ */ be(Fe.Compact, { style: { width: "100%" }, children: [
2649
- T ? /* @__PURE__ */ p(Fe.Addon, { style: mt, children: T }) : null,
2649
+ k ? /* @__PURE__ */ p(Fe.Addon, { style: mt, children: k }) : null,
2650
2650
  /* @__PURE__ */ p(
2651
2651
  ya,
2652
2652
  {
@@ -2655,7 +2655,7 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2655
2655
  suffix: M,
2656
2656
  disabled: n ? !1 : O.disabled,
2657
2657
  value: x,
2658
- onChange: k,
2658
+ onChange: T,
2659
2659
  onBlur: z,
2660
2660
  onPressEnter: F,
2661
2661
  onClear: L,
@@ -2680,10 +2680,10 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2680
2680
  defaultValue: y,
2681
2681
  ...v
2682
2682
  }) => {
2683
- const h = R((T) => T.addCommand), w = R((T) => T.getDataSet), b = R((T) => T.setDataSet), u = R(
2684
- (T) => {
2683
+ const h = R((k) => k.addCommand), w = R((k) => k.getDataSet), b = R((k) => k.setDataSet), u = R(
2684
+ (k) => {
2685
2685
  var E;
2686
- return e && t ? ((E = T.propsStore[`${e}_props`]) == null ? void 0 : E[t]) ?? null : null;
2686
+ return e && t ? ((E = k.propsStore[`${e}_props`]) == null ? void 0 : E[t]) ?? null : null;
2687
2687
  }
2688
2688
  ), d = m(
2689
2689
  () => ye(e, r),
@@ -2694,15 +2694,15 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2694
2694
  () => nt(v, u ?? void 0),
2695
2695
  [v, u]
2696
2696
  ), { prefixIconNode: C, suffixIconNode: D, prefixAddonText: A, suffixAddonText: x, inputProps: N } = m(() => {
2697
- const T = g, {
2697
+ const k = g, {
2698
2698
  prefix: E,
2699
2699
  suffix: O,
2700
- addonBefore: k,
2700
+ addonBefore: T,
2701
2701
  addonAfter: z,
2702
2702
  ...F
2703
- } = T, L = yt({
2703
+ } = k, L = yt({
2704
2704
  iconName: E == null ? void 0 : String(E),
2705
- label: k == null ? void 0 : String(k)
2705
+ label: T == null ? void 0 : String(T)
2706
2706
  }), $ = yt({
2707
2707
  iconName: O == null ? void 0 : String(O),
2708
2708
  label: z == null ? void 0 : String(z)
@@ -2715,29 +2715,29 @@ const da = Xe.memo(Or), Wn = 200, fa = ({
2715
2715
  inputProps: F
2716
2716
  };
2717
2717
  }, [g]), j = K(
2718
- (T) => {
2719
- const E = T.target.value;
2718
+ (k) => {
2719
+ const E = k.target.value;
2720
2720
  if (s) {
2721
2721
  s(E);
2722
2722
  return;
2723
2723
  }
2724
2724
  if (d && i && b(d, i, E), o && e) {
2725
- const { actionName: O, arg: k } = Le(o, E, {
2725
+ const { actionName: O, arg: T } = Le(o, E, {
2726
2726
  id: t,
2727
2727
  dataSet: r,
2728
2728
  dataSetField: i
2729
2729
  });
2730
- h(e, oe(O, k));
2730
+ h(e, oe(O, T));
2731
2731
  }
2732
2732
  },
2733
2733
  [s, d, i, b, o, e, t, h]
2734
2734
  ), M = K(
2735
- (T) => {
2735
+ (k) => {
2736
2736
  if (c) {
2737
- c(T);
2737
+ c(k);
2738
2738
  return;
2739
2739
  }
2740
- a && e && h(e, oe(a, T));
2740
+ a && e && h(e, oe(a, k));
2741
2741
  },
2742
2742
  [c, a, e, h]
2743
2743
  );
@@ -2834,9 +2834,9 @@ const Sa = ({
2834
2834
  ...j
2835
2835
  }) => {
2836
2836
  var we, Qe;
2837
- const M = ut(r, i, e), T = M.dataSet, E = M.dataSetField, O = M.sessionId, k = R((Q) => Q.addCommand), z = R((Q) => Q.setDataSet), F = Pe(null), L = et(Ze), $ = m(
2838
- () => ye(O, T),
2839
- [O, T]
2837
+ const M = ut(r, i, e), k = M.dataSet, E = M.dataSetField, O = M.sessionId, T = R((Q) => Q.addCommand), z = R((Q) => Q.setDataSet), F = qe(null), L = et(Ze), $ = m(
2838
+ () => ye(O, k),
2839
+ [O, k]
2840
2840
  ), W = l ?? (L == null ? void 0 : L.index), V = L == null ? void 0 : L.parentIndex, _ = m(
2841
2841
  () => O ? pt(t, L, l) : null,
2842
2842
  [O, t, L == null ? void 0 : L.parentIndex, L == null ? void 0 : L.index, l]
@@ -2845,12 +2845,12 @@ const Sa = ({
2845
2845
  var ne;
2846
2846
  return _ ? ((ne = Q.propsStore[`${O}_props`]) == null ? void 0 : ne[_]) ?? null : null;
2847
2847
  }
2848
- ), P = R(
2848
+ ), q = R(
2849
2849
  (Q) => $ && E ? Q.getDataSet($, E) : void 0
2850
2850
  ), Y = m(
2851
2851
  () => (B == null ? void 0 : B.optionsCfg) != null ? B.optionsCfg : s,
2852
2852
  [B == null ? void 0 : B.optionsCfg, s]
2853
- ), { options: H, loading: ie } = qt(
2853
+ ), { options: H, loading: ie } = Pt(
2854
2854
  x || (o ? a : void 0)
2855
2855
  ), { options: ue, loading: Z } = kn(
2856
2856
  Y == null ? void 0 : Y.url,
@@ -2863,12 +2863,12 @@ const Sa = ({
2863
2863
  }
2864
2864
  ), se = ie || Z, { validate: fe, help: de } = tt({
2865
2865
  rules: c,
2866
- dataSet: T,
2866
+ dataSet: k,
2867
2867
  dataSetField: E,
2868
2868
  sessionId: O,
2869
2869
  id: t,
2870
2870
  develop: n
2871
- }), ee = m(() => P != null && P !== "" ? P : (B == null ? void 0 : B.value) !== void 0 ? B.value : d ?? u, [P, B == null ? void 0 : B.value, d, u]), q = m(
2871
+ }), ee = m(() => q != null && q !== "" ? q : (B == null ? void 0 : B.value) !== void 0 ? B.value : d ?? u, [q, B == null ? void 0 : B.value, d, u]), P = m(
2872
2872
  () => nt(j, B ?? void 0),
2873
2873
  [j, B]
2874
2874
  ), te = m(() => B != null && B.options && Array.isArray(B.options) ? B.options : Y != null && Y.url && ue.length > 0 ? ue : (x || o && a) && H.length > 0 ? H : b || [], [B == null ? void 0 : B.options, Y == null ? void 0 : Y.url, ue, x, o, a, H, b]), he = m(() => {
@@ -2880,7 +2880,7 @@ const Sa = ({
2880
2880
  });
2881
2881
  const Q = dt(te, ee);
2882
2882
  return (Q == null ? void 0 : Q.value) ?? ee;
2883
- }, [ee, te]), ge = E ? `${E}${va}` : "", X = Pe(null), me = K(
2883
+ }, [ee, te]), ge = E ? `${E}${va}` : "", X = qe(null), me = K(
2884
2884
  (Q, ne) => {
2885
2885
  if (h) {
2886
2886
  h(Q, ne);
@@ -2892,8 +2892,8 @@ const Sa = ({
2892
2892
  Q,
2893
2893
  ne,
2894
2894
  te,
2895
- q.labelInValue,
2896
- q.mode
2895
+ P.labelInValue,
2896
+ P.mode
2897
2897
  );
2898
2898
  z($, ge, ae);
2899
2899
  }
@@ -2902,12 +2902,12 @@ const Sa = ({
2902
2902
  }, pa)), v && O) {
2903
2903
  const { actionName: ae, arg: I } = Le(v, Q, {
2904
2904
  id: t,
2905
- dataSet: T,
2905
+ dataSet: k,
2906
2906
  dataSetField: E,
2907
2907
  index: W,
2908
2908
  parentIndex: V
2909
2909
  });
2910
- k(O, oe(ae, I));
2910
+ T(O, oe(ae, I));
2911
2911
  }
2912
2912
  },
2913
2913
  [
@@ -2920,14 +2920,14 @@ const Sa = ({
2920
2920
  v,
2921
2921
  O,
2922
2922
  t,
2923
- T,
2923
+ k,
2924
2924
  E,
2925
2925
  W,
2926
2926
  V,
2927
- k,
2927
+ T,
2928
2928
  te,
2929
- q.labelInValue,
2930
- q.mode,
2929
+ P.labelInValue,
2930
+ P.mode,
2931
2931
  ge
2932
2932
  ]
2933
2933
  );
@@ -2937,8 +2937,8 @@ const Sa = ({
2937
2937
  ee,
2938
2938
  void 0,
2939
2939
  te,
2940
- q.labelInValue,
2941
- q.mode
2940
+ P.labelInValue,
2941
+ P.mode
2942
2942
  ), ne = R.getState().getDataSet($, ge);
2943
2943
  ba(ne, Q) || z($, ge, Q);
2944
2944
  }, [
@@ -2948,8 +2948,8 @@ const Sa = ({
2948
2948
  ge,
2949
2949
  ee,
2950
2950
  te,
2951
- q.labelInValue,
2952
- q.mode,
2951
+ P.labelInValue,
2952
+ P.mode,
2953
2953
  z
2954
2954
  ]);
2955
2955
  const Te = K(() => {
@@ -2957,27 +2957,27 @@ const Sa = ({
2957
2957
  }, [f, fe, he]), Ee = (B == null ? void 0 : B.autoSelectFirst) ?? w, Me = m(() => {
2958
2958
  if (Array.isArray(ee)) return ee.length === 0;
2959
2959
  if (ee == null || ee === "") return !0;
2960
- if (q.labelInValue && ee && typeof ee == "object" && !Array.isArray(ee) && "value" in ee) {
2960
+ if (P.labelInValue && ee && typeof ee == "object" && !Array.isArray(ee) && "value" in ee) {
2961
2961
  const Q = ee.value;
2962
2962
  return Q == null || Q === "";
2963
2963
  }
2964
2964
  return !1;
2965
- }, [ee, q.labelInValue]);
2965
+ }, [ee, P.labelInValue]);
2966
2966
  je(() => {
2967
2967
  var He, re;
2968
2968
  if (!Ee || te.length === 0 || !Me) {
2969
2969
  X.current = null;
2970
2970
  return;
2971
2971
  }
2972
- const Q = ((He = q.fieldNames) == null ? void 0 : He.value) || "value", ne = ((re = q.fieldNames) == null ? void 0 : re.label) || "label", ae = te[0];
2972
+ const Q = ((He = P.fieldNames) == null ? void 0 : He.value) || "value", ne = ((re = P.fieldNames) == null ? void 0 : re.label) || "label", ae = te[0];
2973
2973
  if (!ae) return;
2974
2974
  const I = ae[Q] ?? ae.value;
2975
2975
  if (I == null || I === "") return;
2976
2976
  const le = `${$ ?? ""}:${E ?? ""}:${String(I)}`;
2977
2977
  if (X.current === le) return;
2978
2978
  X.current = le;
2979
- const Se = q.mode === "multiple" || q.mode === "tags" || Array.isArray(ee), Oe = ae[ne] ?? ae.label;
2980
- if (q.labelInValue) {
2979
+ const Se = P.mode === "multiple" || P.mode === "tags" || Array.isArray(ee), Oe = ae[ne] ?? ae.label;
2980
+ if (P.labelInValue) {
2981
2981
  me(Se ? [{ value: I, label: Oe }] : { value: I, label: Oe }, Se ? [ae] : ae);
2982
2982
  return;
2983
2983
  }
@@ -2989,10 +2989,10 @@ const Sa = ({
2989
2989
  te,
2990
2990
  me,
2991
2991
  Me,
2992
- (we = q.fieldNames) == null ? void 0 : we.label,
2993
- (Qe = q.fieldNames) == null ? void 0 : Qe.value,
2994
- q.labelInValue,
2995
- q.mode,
2992
+ (we = P.fieldNames) == null ? void 0 : we.label,
2993
+ (Qe = P.fieldNames) == null ? void 0 : Qe.value,
2994
+ P.labelInValue,
2995
+ P.mode,
2996
2996
  ee
2997
2997
  ]), je(
2998
2998
  () => () => {
@@ -3005,8 +3005,8 @@ const Sa = ({
3005
3005
  /* @__PURE__ */ p(
3006
3006
  cr,
3007
3007
  {
3008
- ...q,
3009
- disabled: n ? !1 : q.disabled,
3008
+ ...P,
3009
+ disabled: n ? !1 : P.disabled,
3010
3010
  open: n ? !1 : void 0,
3011
3011
  value: he,
3012
3012
  options: te,
@@ -3015,7 +3015,7 @@ const Sa = ({
3015
3015
  filterOption: Ve,
3016
3016
  loading: se,
3017
3017
  status: de ? "error" : void 0,
3018
- style: { width: "100%", ...q.style }
3018
+ style: { width: "100%", ...P.style }
3019
3019
  }
3020
3020
  ),
3021
3021
  de && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: de })
@@ -3159,9 +3159,9 @@ var Rr = { exports: {} };
3159
3159
  function u(d) {
3160
3160
  var l, S;
3161
3161
  l = d, S = c && c.formats;
3162
- for (var g = (d = l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(M, T, E) {
3162
+ for (var g = (d = l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(M, k, E) {
3163
3163
  var O = E && E.toUpperCase();
3164
- return T || S[E] || n[E] || S[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, z, F) {
3164
+ return k || S[E] || n[E] || S[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(T, z, F) {
3165
3165
  return z || F.slice(1);
3166
3166
  });
3167
3167
  })).match(r), C = g.length, D = 0; D < C; D += 1) {
@@ -3169,12 +3169,12 @@ var Rr = { exports: {} };
3169
3169
  g[D] = j ? { regex: N, parser: j } : A.replace(/^\[|\]$/g, "");
3170
3170
  }
3171
3171
  return function(M) {
3172
- for (var T = {}, E = 0, O = 0; E < C; E += 1) {
3173
- var k = g[E];
3174
- if (typeof k == "string") O += k.length;
3172
+ for (var k = {}, E = 0, O = 0; E < C; E += 1) {
3173
+ var T = g[E];
3174
+ if (typeof T == "string") O += T.length;
3175
3175
  else {
3176
- var z = k.regex, F = k.parser, L = M.slice(O), $ = z.exec(L)[0];
3177
- F.call(T, $), M = M.replace($, "");
3176
+ var z = T.regex, F = T.parser, L = M.slice(O), $ = z.exec(L)[0];
3177
+ F.call(k, $), M = M.replace($, "");
3178
3178
  }
3179
3179
  }
3180
3180
  return function(W) {
@@ -3183,7 +3183,7 @@ var Rr = { exports: {} };
3183
3183
  var _ = W.hours;
3184
3184
  V ? _ < 12 && (W.hours += 12) : _ === 12 && (W.hours = 0), delete W.afternoon;
3185
3185
  }
3186
- }(T), T;
3186
+ }(k), k;
3187
3187
  };
3188
3188
  }
3189
3189
  return function(d, l, S) {
@@ -3194,26 +3194,26 @@ var Rr = { exports: {} };
3194
3194
  this.$u = x;
3195
3195
  var j = N[1];
3196
3196
  if (typeof j == "string") {
3197
- var M = N[2] === !0, T = N[3] === !0, E = M || T, O = N[2];
3198
- T && (O = N[2]), c = this.$locale(), !M && O && (c = S.Ls[O]), this.$d = function(L, $, W, V) {
3197
+ var M = N[2] === !0, k = N[3] === !0, E = M || k, O = N[2];
3198
+ k && (O = N[2]), c = this.$locale(), !M && O && (c = S.Ls[O]), this.$d = function(L, $, W, V) {
3199
3199
  try {
3200
3200
  if (["x", "X"].indexOf($) > -1) return new Date(($ === "X" ? 1e3 : 1) * L);
3201
- var _ = u($)(L), B = _.year, P = _.month, Y = _.day, H = _.hours, ie = _.minutes, ue = _.seconds, Z = _.milliseconds, se = _.zone, fe = _.week, de = /* @__PURE__ */ new Date(), ee = Y || (B || P ? 1 : de.getDate()), q = B || de.getFullYear(), te = 0;
3202
- B && !P || (te = P > 0 ? P - 1 : de.getMonth());
3201
+ var _ = u($)(L), B = _.year, q = _.month, Y = _.day, H = _.hours, ie = _.minutes, ue = _.seconds, Z = _.milliseconds, se = _.zone, fe = _.week, de = /* @__PURE__ */ new Date(), ee = Y || (B || q ? 1 : de.getDate()), P = B || de.getFullYear(), te = 0;
3202
+ B && !q || (te = q > 0 ? q - 1 : de.getMonth());
3203
3203
  var he, ge = H || 0, X = ie || 0, me = ue || 0, Te = Z || 0;
3204
- return se ? new Date(Date.UTC(q, te, ee, ge, X, me, Te + 60 * se.offset * 1e3)) : W ? new Date(Date.UTC(q, te, ee, ge, X, me, Te)) : (he = new Date(q, te, ee, ge, X, me, Te), fe && (he = V(he).week(fe).toDate()), he);
3204
+ return se ? new Date(Date.UTC(P, te, ee, ge, X, me, Te + 60 * se.offset * 1e3)) : W ? new Date(Date.UTC(P, te, ee, ge, X, me, Te)) : (he = new Date(P, te, ee, ge, X, me, Te), fe && (he = V(he).week(fe).toDate()), he);
3205
3205
  } catch {
3206
3206
  return /* @__PURE__ */ new Date("");
3207
3207
  }
3208
3208
  }(A, j, x, S), this.init(), O && O !== !0 && (this.$L = this.locale(O).$L), E && A != this.format(j) && (this.$d = /* @__PURE__ */ new Date("")), c = {};
3209
- } else if (j instanceof Array) for (var k = j.length, z = 1; z <= k; z += 1) {
3209
+ } else if (j instanceof Array) for (var T = j.length, z = 1; z <= T; z += 1) {
3210
3210
  N[1] = j[z - 1];
3211
3211
  var F = S.apply(this, N);
3212
3212
  if (F.isValid()) {
3213
3213
  this.$d = F.$d, this.$L = F.$L, this.init();
3214
3214
  break;
3215
3215
  }
3216
- z === k && (this.$d = /* @__PURE__ */ new Date(""));
3216
+ z === T && (this.$d = /* @__PURE__ */ new Date(""));
3217
3217
  }
3218
3218
  else C.call(this, D);
3219
3219
  };
@@ -3251,7 +3251,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
3251
3251
  var _;
3252
3252
  return j ? ((_ = V.propsStore[`${S}_props`]) == null ? void 0 : _[j]) ?? null : null;
3253
3253
  }
3254
- ), T = R(
3254
+ ), k = R(
3255
3255
  (V) => N && l ? V.getDataSet(N, l) : void 0
3256
3256
  ), { validate: E, help: O } = tt({
3257
3257
  rules: s,
@@ -3260,19 +3260,19 @@ const Hn = "YYYY-MM-DD", Oc = ({
3260
3260
  sessionId: S,
3261
3261
  id: t,
3262
3262
  develop: n
3263
- }), k = m(
3263
+ }), T = m(
3264
3264
  () => nt(b, M ?? void 0),
3265
3265
  [b, M]
3266
- ), z = typeof k.format == "string" ? k.format : void 0, F = K(
3266
+ ), z = typeof T.format == "string" ? T.format : void 0, F = K(
3267
3267
  (V) => {
3268
3268
  if (V == null || V === "") return null;
3269
3269
  if (Ge.isDayjs(V)) return V.isValid() ? V : null;
3270
3270
  if (typeof V != "string") return null;
3271
3271
  const _ = [a, Hn, z].filter(
3272
- (P) => !!P
3272
+ (q) => !!q
3273
3273
  );
3274
- for (const P of _) {
3275
- const Y = Ge(V, P, !0);
3274
+ for (const q of _) {
3275
+ const Y = Ge(V, q, !0);
3276
3276
  if (Y.isValid()) return Y;
3277
3277
  }
3278
3278
  const B = Ge(V);
@@ -3280,9 +3280,9 @@ const Hn = "YYYY-MM-DD", Oc = ({
3280
3280
  },
3281
3281
  [a, z]
3282
3282
  ), L = m(() => {
3283
- const V = T ?? (M == null ? void 0 : M.value) ?? v ?? h;
3283
+ const V = k ?? (M == null ? void 0 : M.value) ?? v ?? h;
3284
3284
  return F(V);
3285
- }, [T, M == null ? void 0 : M.value, v, h, F]), $ = K(
3285
+ }, [k, M == null ? void 0 : M.value, v, h, F]), $ = K(
3286
3286
  (V, _) => {
3287
3287
  if (y) {
3288
3288
  y(V, _);
@@ -3290,14 +3290,14 @@ const Hn = "YYYY-MM-DD", Oc = ({
3290
3290
  }
3291
3291
  const B = V != null && V.isValid() ? V.format(a) : "";
3292
3292
  if (N && l && x(N, l, B), f && E(B || null), o && S) {
3293
- const { actionName: P, arg: Y } = Le(o, B, {
3293
+ const { actionName: q, arg: Y } = Le(o, B, {
3294
3294
  id: t,
3295
3295
  dataSet: d,
3296
3296
  dataSetField: l,
3297
3297
  index: C,
3298
3298
  parentIndex: D
3299
3299
  });
3300
- A(S, oe(P, Y));
3300
+ A(S, oe(q, Y));
3301
3301
  }
3302
3302
  },
3303
3303
  [
@@ -3341,12 +3341,12 @@ const Hn = "YYYY-MM-DD", Oc = ({
3341
3341
  /* @__PURE__ */ p(
3342
3342
  en,
3343
3343
  {
3344
- ...k,
3345
- disabled: n ? !1 : k.disabled,
3344
+ ...T,
3345
+ disabled: n ? !1 : T.disabled,
3346
3346
  open: n ? !1 : void 0,
3347
3347
  value: L,
3348
3348
  onChange: $,
3349
- style: { width: "100%", ...k.style }
3349
+ style: { width: "100%", ...T.style }
3350
3350
  }
3351
3351
  ),
3352
3352
  O && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: O })
@@ -3383,19 +3383,19 @@ const Hn = "YYYY-MM-DD", Oc = ({
3383
3383
  if (!M) return null;
3384
3384
  if (Ge.isDayjs(M)) return M;
3385
3385
  if (typeof M == "string") {
3386
- const T = Ge(M, a);
3387
- return T.isValid() ? T : null;
3386
+ const k = Ge(M, a);
3387
+ return k.isValid() ? k : null;
3388
3388
  }
3389
3389
  return null;
3390
- }, [a]), A = m(() => D(S ?? c ?? f), [S, c, f, D]), x = K((M, T) => {
3390
+ }, [a]), A = m(() => D(S ?? c ?? f), [S, c, f, D]), x = K((M, k) => {
3391
3391
  if (s) {
3392
- s(M, T);
3392
+ s(M, k);
3393
3393
  return;
3394
3394
  }
3395
- const E = T || "";
3395
+ const E = k || "";
3396
3396
  if (l && i && d(l, i, E), v && g(E), o && e) {
3397
- const { actionName: O, arg: k } = Le(o, E, { id: t, dataSet: r, dataSetField: i });
3398
- b(e, oe(O, k));
3397
+ const { actionName: O, arg: T } = Le(o, E, { id: t, dataSet: r, dataSetField: i });
3398
+ b(e, oe(O, T));
3399
3399
  }
3400
3400
  }, [s, l, i, d, v, g, o, e, t, b]), N = K(() => {
3401
3401
  h && g(A ? A.format(a) : "");
@@ -3437,8 +3437,8 @@ const Hn = "YYYY-MM-DD", Oc = ({
3437
3437
  [e, r]
3438
3438
  ), l = R(
3439
3439
  (M) => {
3440
- var T;
3441
- return e && t ? ((T = M.propsStore[`${e}_props`]) == null ? void 0 : T[t]) ?? null : null;
3440
+ var k;
3441
+ return e && t ? ((k = M.propsStore[`${e}_props`]) == null ? void 0 : k[t]) ?? null : null;
3442
3442
  }
3443
3443
  ), S = R(
3444
3444
  (M) => d && i ? M.getDataSet(d, i) : void 0
@@ -3451,8 +3451,8 @@ const Hn = "YYYY-MM-DD", Oc = ({
3451
3451
  develop: n
3452
3452
  }), D = K((M) => {
3453
3453
  if (!M || !Array.isArray(M) || M.length !== 2) return null;
3454
- const [T, E] = M, O = Ge.isDayjs(T) ? T : Ge(T, a), k = Ge.isDayjs(E) ? E : Ge(E, a);
3455
- return O.isValid() && k.isValid() ? [O, k] : null;
3454
+ const [k, E] = M, O = Ge.isDayjs(k) ? k : Ge(k, a), T = Ge.isDayjs(E) ? E : Ge(E, a);
3455
+ return O.isValid() && T.isValid() ? [O, T] : null;
3456
3456
  }, [a]), A = m(() => {
3457
3457
  const M = S ?? (l == null ? void 0 : l.value) ?? v ?? h;
3458
3458
  return D(M);
@@ -3460,13 +3460,13 @@ const Hn = "YYYY-MM-DD", Oc = ({
3460
3460
  () => nt(w, l ?? void 0),
3461
3461
  [w, l]
3462
3462
  ), N = K(
3463
- (M, T) => {
3463
+ (M, k) => {
3464
3464
  if (y) {
3465
- y(M, T);
3465
+ y(M, k);
3466
3466
  return;
3467
3467
  }
3468
- if (d && i && u(d, i, T), f && g(T), o && e) {
3469
- const { actionName: E, arg: O } = Le(o, T, {
3468
+ if (d && i && u(d, i, k), f && g(k), o && e) {
3469
+ const { actionName: E, arg: O } = Le(o, k, {
3470
3470
  id: t,
3471
3471
  dataSet: r,
3472
3472
  dataSetField: i
@@ -3476,8 +3476,8 @@ const Hn = "YYYY-MM-DD", Oc = ({
3476
3476
  },
3477
3477
  [y, d, i, u, f, g, o, e, t, b]
3478
3478
  ), j = K(() => {
3479
- var M, T;
3480
- c && g(A ? [(M = A[0]) == null ? void 0 : M.format(a), (T = A[1]) == null ? void 0 : T.format(a)] : null);
3479
+ var M, k;
3480
+ c && g(A ? [(M = A[0]) == null ? void 0 : M.format(a), (k = A[1]) == null ? void 0 : k.format(a)] : null);
3481
3481
  }, [c, g, A, a]);
3482
3482
  return /* @__PURE__ */ be("div", { onBlur: j, children: [
3483
3483
  /* @__PURE__ */ p(
@@ -3516,19 +3516,19 @@ const Hn = "YYYY-MM-DD", Oc = ({
3516
3516
  remoteUrl: g,
3517
3517
  ...C
3518
3518
  }) => {
3519
- const D = ut(r, i, e), A = D.dataSet, x = D.dataSetField, N = D.sessionId, j = R((Z) => Z.addCommand), M = R((Z) => Z.setDataSet), T = et(Ze), E = l ?? (T == null ? void 0 : T.index), O = T == null ? void 0 : T.parentIndex, k = m(
3519
+ const D = ut(r, i, e), A = D.dataSet, x = D.dataSetField, N = D.sessionId, j = R((Z) => Z.addCommand), M = R((Z) => Z.setDataSet), k = et(Ze), E = l ?? (k == null ? void 0 : k.index), O = k == null ? void 0 : k.parentIndex, T = m(
3520
3520
  () => ye(N, A),
3521
3521
  [N, A]
3522
3522
  ), z = m(
3523
- () => N ? pt(t, T, l) : null,
3524
- [N, t, T == null ? void 0 : T.parentIndex, T == null ? void 0 : T.index, l]
3523
+ () => N ? pt(t, k, l) : null,
3524
+ [N, t, k == null ? void 0 : k.parentIndex, k == null ? void 0 : k.index, l]
3525
3525
  ), F = R(
3526
3526
  (Z) => {
3527
3527
  var se;
3528
3528
  return z ? ((se = Z.propsStore[`${N}_props`]) == null ? void 0 : se[z]) ?? null : null;
3529
3529
  }
3530
3530
  ), L = R(
3531
- (Z) => k && x ? Z.getDataSet(k, x) : void 0
3531
+ (Z) => T && x ? Z.getDataSet(T, x) : void 0
3532
3532
  ), { validate: $, help: W } = tt({
3533
3533
  rules: y,
3534
3534
  dataSet: A,
@@ -3536,18 +3536,18 @@ const Hn = "YYYY-MM-DD", Oc = ({
3536
3536
  sessionId: N,
3537
3537
  id: t,
3538
3538
  develop: n
3539
- }), V = m(() => L !== void 0 ? L : (F == null ? void 0 : F.value) !== void 0 ? F.value : b ?? u, [L, F == null ? void 0 : F.value, b, u]), { options: _ } = qt(d), { options: B } = kn(
3539
+ }), V = m(() => L !== void 0 ? L : (F == null ? void 0 : F.value) !== void 0 ? F.value : b ?? u, [L, F == null ? void 0 : F.value, b, u]), { options: _ } = Pt(d), { options: B } = kn(
3540
3540
  a == null ? void 0 : a.url,
3541
3541
  {
3542
3542
  valueKey: (a == null ? void 0 : a.codeKey) || "value",
3543
3543
  labelKey: (a == null ? void 0 : a.labelKey) || "label",
3544
3544
  immediate: !!(a != null && a.url)
3545
3545
  }
3546
- ), P = m(() => F != null && F.options ? F.options : a != null && a.url && B.length > 0 ? B : d && _.length > 0 ? _ : o, [F == null ? void 0 : F.options, a == null ? void 0 : a.url, B, d, _, o]), Y = m(() => {
3547
- if (P.length === 0) return V;
3548
- const Z = dt(P, V);
3546
+ ), q = m(() => F != null && F.options ? F.options : a != null && a.url && B.length > 0 ? B : d && _.length > 0 ? _ : o, [F == null ? void 0 : F.options, a == null ? void 0 : a.url, B, d, _, o]), Y = m(() => {
3547
+ if (q.length === 0) return V;
3548
+ const Z = dt(q, V);
3549
3549
  return (Z == null ? void 0 : Z.value) ?? V;
3550
- }, [V, P]), H = m(
3550
+ }, [V, q]), H = m(
3551
3551
  () => nt(C, F ?? void 0),
3552
3552
  [C, F]
3553
3553
  ), ie = K(
@@ -3557,7 +3557,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
3557
3557
  w(se);
3558
3558
  return;
3559
3559
  }
3560
- if (k && x && M(k, x, se), h && $(se), s && N) {
3560
+ if (T && x && M(T, x, se), h && $(se), s && N) {
3561
3561
  const { actionName: fe, arg: de } = Le(s, se, {
3562
3562
  id: t,
3563
3563
  dataSet: A,
@@ -3570,7 +3570,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
3570
3570
  },
3571
3571
  [
3572
3572
  w,
3573
- k,
3573
+ T,
3574
3574
  x,
3575
3575
  M,
3576
3576
  h,
@@ -3597,12 +3597,12 @@ const Hn = "YYYY-MM-DD", Oc = ({
3597
3597
  onChange: ie,
3598
3598
  buttonStyle: (F == null ? void 0 : F.buttonStyle) ?? c,
3599
3599
  optionType: (F == null ? void 0 : F.optionType) ?? f,
3600
- children: f === "button" ? P.map((Z) => /* @__PURE__ */ p(sn.Button, { value: Z.value, disabled: Z.disabled, children: Z.label }, Z.value)) : /* @__PURE__ */ p(
3600
+ children: f === "button" ? q.map((Z) => /* @__PURE__ */ p(sn.Button, { value: Z.value, disabled: Z.disabled, children: Z.label }, Z.value)) : /* @__PURE__ */ p(
3601
3601
  Fe,
3602
3602
  {
3603
3603
  orientation: (F == null ? void 0 : F.direction) ?? S ?? "horizontal",
3604
3604
  wrap: !0,
3605
- children: P.map((Z) => /* @__PURE__ */ p(sn, { value: Z.value, disabled: Z.disabled, children: Z.label }, Z.value))
3605
+ children: q.map((Z) => /* @__PURE__ */ p(sn, { value: Z.value, disabled: Z.disabled, children: Z.label }, Z.value))
3606
3606
  }
3607
3607
  )
3608
3608
  }
@@ -3635,19 +3635,19 @@ const Hn = "YYYY-MM-DD", Oc = ({
3635
3635
  remoteUrl: D,
3636
3636
  ...A
3637
3637
  }) => {
3638
- const x = ut(r, i, e), N = x.dataSet, j = x.dataSetField, M = x.sessionId, T = R((q) => q.addCommand), E = R((q) => q.setDataSet), O = et(Ze), k = g ?? (O == null ? void 0 : O.index), z = O == null ? void 0 : O.parentIndex, F = m(
3638
+ const x = ut(r, i, e), N = x.dataSet, j = x.dataSetField, M = x.sessionId, k = R((P) => P.addCommand), E = R((P) => P.setDataSet), O = et(Ze), T = g ?? (O == null ? void 0 : O.index), z = O == null ? void 0 : O.parentIndex, F = m(
3639
3639
  () => ye(M, N),
3640
3640
  [M, N]
3641
3641
  ), L = m(
3642
3642
  () => M ? pt(t, O, g) : null,
3643
3643
  [M, t, O == null ? void 0 : O.parentIndex, O == null ? void 0 : O.index, g]
3644
3644
  ), $ = R(
3645
- (q) => {
3645
+ (P) => {
3646
3646
  var te;
3647
- return L ? ((te = q.propsStore[`${M}_props`]) == null ? void 0 : te[L]) ?? null : null;
3647
+ return L ? ((te = P.propsStore[`${M}_props`]) == null ? void 0 : te[L]) ?? null : null;
3648
3648
  }
3649
3649
  ), W = R(
3650
- (q) => F && j ? q.getDataSet(F, j) : void 0
3650
+ (P) => F && j ? P.getDataSet(F, j) : void 0
3651
3651
  ), { validate: V, help: _ } = tt({
3652
3652
  rules: f,
3653
3653
  dataSet: N,
@@ -3655,7 +3655,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
3655
3655
  sessionId: M,
3656
3656
  id: t,
3657
3657
  develop: n
3658
- }), { options: B } = qt(S), { options: P } = kn(
3658
+ }), { options: B } = Pt(S), { options: q } = kn(
3659
3659
  a == null ? void 0 : a.url,
3660
3660
  {
3661
3661
  valueKey: (a == null ? void 0 : a.codeKey) || "value",
@@ -3665,18 +3665,18 @@ const Hn = "YYYY-MM-DD", Oc = ({
3665
3665
  ), Y = m(() => {
3666
3666
  if (!s)
3667
3667
  return W !== void 0 ? !!W : ($ == null ? void 0 : $.checked) !== void 0 ? $.checked : b ?? d;
3668
- }, [s, W, $ == null ? void 0 : $.checked, b, d]), H = m(() => $ != null && $.options ? $.options : a != null && a.url && P.length > 0 ? P : S && B.length > 0 ? B : o, [$ == null ? void 0 : $.options, a == null ? void 0 : a.url, P, S, B, o]), ie = m(() => {
3668
+ }, [s, W, $ == null ? void 0 : $.checked, b, d]), H = m(() => $ != null && $.options ? $.options : a != null && a.url && q.length > 0 ? q : S && B.length > 0 ? B : o, [$ == null ? void 0 : $.options, a == null ? void 0 : a.url, q, S, B, o]), ie = m(() => {
3669
3669
  if (!s) return [];
3670
- let q = [];
3671
- return Array.isArray(W) ? q = W : Array.isArray($ == null ? void 0 : $.values) ? q = $.values : q = u || [], H.length === 0 ? q : q.map((te) => {
3670
+ let P = [];
3671
+ return Array.isArray(W) ? P = W : Array.isArray($ == null ? void 0 : $.values) ? P = $.values : P = u || [], H.length === 0 ? P : P.map((te) => {
3672
3672
  var he;
3673
3673
  return ((he = dt(H, te)) == null ? void 0 : he.value) ?? te;
3674
3674
  });
3675
3675
  }, [s, W, $ == null ? void 0 : $.values, u, H]), ue = m(
3676
3676
  () => nt(A, $ ?? void 0, { skipKeys: ["value", "help", "validateStatus", "checked", "values", "options"] }),
3677
3677
  [A, $]
3678
- ), se = (ue.direction ?? C) === "vertical" ? "vertical" : "horizontal", fe = K((q) => {
3679
- const te = q.target.checked;
3678
+ ), se = (ue.direction ?? C) === "vertical" ? "vertical" : "horizontal", fe = K((P) => {
3679
+ const te = P.target.checked;
3680
3680
  if (h) {
3681
3681
  h(te);
3682
3682
  return;
@@ -3686,8 +3686,8 @@ const Hn = "YYYY-MM-DD", Oc = ({
3686
3686
  id: t,
3687
3687
  dataSet: N,
3688
3688
  dataSetField: j
3689
- }), X = typeof ge == "object" && ge !== null ? { ...ge, index: k, parentIndex: z } : ge;
3690
- T(M, oe(he, X));
3689
+ }), X = typeof ge == "object" && ge !== null ? { ...ge, index: T, parentIndex: z } : ge;
3690
+ k(M, oe(he, X));
3691
3691
  }
3692
3692
  }, [
3693
3693
  h,
@@ -3699,22 +3699,22 @@ const Hn = "YYYY-MM-DD", Oc = ({
3699
3699
  c,
3700
3700
  M,
3701
3701
  t,
3702
- T,
3703
3702
  k,
3703
+ T,
3704
3704
  z,
3705
3705
  N
3706
- ]), de = K((q) => {
3706
+ ]), de = K((P) => {
3707
3707
  if (w) {
3708
- w(q);
3708
+ w(P);
3709
3709
  return;
3710
3710
  }
3711
- if (F && j && E(F, j, q), v && V(q), c && M) {
3712
- const { actionName: te, arg: he } = Le(c, q, {
3711
+ if (F && j && E(F, j, P), v && V(P), c && M) {
3712
+ const { actionName: te, arg: he } = Le(c, P, {
3713
3713
  id: t,
3714
3714
  dataSet: N,
3715
3715
  dataSetField: j
3716
- }), ge = typeof he == "object" && he !== null ? { ...he, index: k, parentIndex: z } : he;
3717
- T(M, oe(te, ge));
3716
+ }), ge = typeof he == "object" && he !== null ? { ...he, index: T, parentIndex: z } : he;
3717
+ k(M, oe(te, ge));
3718
3718
  }
3719
3719
  }, [
3720
3720
  w,
@@ -3726,15 +3726,15 @@ const Hn = "YYYY-MM-DD", Oc = ({
3726
3726
  c,
3727
3727
  M,
3728
3728
  t,
3729
- T,
3730
3729
  k,
3730
+ T,
3731
3731
  z,
3732
3732
  N
3733
3733
  ]), ee = K(() => {
3734
3734
  y && V(s ? ie : Y);
3735
3735
  }, [y, V, s, ie, Y]);
3736
3736
  if (s && H.length > 0) {
3737
- const { indeterminate: q, direction: te, ...he } = ue;
3737
+ const { indeterminate: P, direction: te, ...he } = ue;
3738
3738
  return /* @__PURE__ */ be("div", { onBlur: ee, children: [
3739
3739
  /* @__PURE__ */ p(_t.Group, { ...he, value: ie, onChange: de, disabled: n ? !1 : ue.disabled, children: /* @__PURE__ */ p(
3740
3740
  Fe,
@@ -3896,12 +3896,12 @@ const Hn = "YYYY-MM-DD", Oc = ({
3896
3896
  remoteUrl: b,
3897
3897
  ...u
3898
3898
  }) => {
3899
- const d = R((L) => L.addCommand), l = R((L) => L.setDataSet), S = Pe(null), [g, C] = De([]), [D, A] = De(!1), x = m(
3899
+ const d = R((L) => L.addCommand), l = R((L) => L.setDataSet), S = qe(null), [g, C] = De([]), [D, A] = De(!1), x = m(
3900
3900
  () => ye(e, r),
3901
3901
  [e, r]
3902
3902
  ), N = R(
3903
3903
  (L) => x && i ? L.getDataSet(x, i) : void 0
3904
- ), { validate: j, help: M, validateStatus: T } = tt({
3904
+ ), { validate: j, help: M, validateStatus: k } = tt({
3905
3905
  rules: a,
3906
3906
  dataSet: r,
3907
3907
  dataSetField: i,
@@ -3911,17 +3911,17 @@ const Hn = "YYYY-MM-DD", Oc = ({
3911
3911
  }), E = m(() => (o == null ? void 0 : o.url) && g.length > 0, [o == null ? void 0 : o.url, g.length]), O = m(() => {
3912
3912
  let L = N ?? w ?? h ?? [];
3913
3913
  return typeof L == "string" ? E ? Un(L).map((W) => Ta(W, g)).filter((W) => Array.isArray(W) && W.length > 0) : [L] : Gn(L) && E ? L.map((W) => Un(W)).filter((W) => Array.isArray(W) && W.length > 0) : Jn(L) && E ? L.filter(($) => Array.isArray($) && $.length > 0) : L;
3914
- }, [N, w, h, E, g]), k = m(() => o != null && o.url && g.length > 0 ? g : v || [], [o == null ? void 0 : o.url, g, v]);
3914
+ }, [N, w, h, E, g]), T = m(() => o != null && o.url && g.length > 0 ? g : v || [], [o == null ? void 0 : o.url, g, v]);
3915
3915
  je(() => {
3916
3916
  (async () => {
3917
3917
  if (o != null && o.url) {
3918
3918
  A(!0);
3919
3919
  try {
3920
- const $ = await Dt({ url: o.url, method: "GET" }), W = Array.isArray($) ? $ : $ != null && $.data ? Array.isArray($.data) ? $.data : $.data.list || $.data.records || [] : [], V = o.codeKey || "value", _ = o.labelKey || "label", B = o.childrenKey || "children", P = o.maxLevel || 5, Y = jr(W, {
3920
+ const $ = await Dt({ url: o.url, method: "GET" }), W = Array.isArray($) ? $ : $ != null && $.data ? Array.isArray($.data) ? $.data : $.data.list || $.data.records || [] : [], V = o.codeKey || "value", _ = o.labelKey || "label", B = o.childrenKey || "children", q = o.maxLevel || 5, Y = jr(W, {
3921
3921
  codeKey: V,
3922
3922
  labelKey: _,
3923
3923
  childrenKey: B,
3924
- maxLevel: P
3924
+ maxLevel: q
3925
3925
  });
3926
3926
  C(Y);
3927
3927
  } catch ($) {
@@ -3979,11 +3979,11 @@ const Hn = "YYYY-MM-DD", Oc = ({
3979
3979
  disabled: n ? !1 : u.disabled,
3980
3980
  open: n ? !1 : void 0,
3981
3981
  value: O,
3982
- options: k,
3982
+ options: T,
3983
3983
  onChange: z,
3984
3984
  onBlur: F,
3985
3985
  loading: D,
3986
- status: T,
3986
+ status: k,
3987
3987
  style: { width: "100%", ...u.style }
3988
3988
  }
3989
3989
  ),
@@ -4030,7 +4030,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4030
4030
  }), M = m(
4031
4031
  () => x ?? (A == null ? void 0 : A.value) ?? s ?? c,
4032
4032
  [x, A == null ? void 0 : A.value, s, c]
4033
- ), T = m(
4033
+ ), k = m(
4034
4034
  () => nt(S, A ?? void 0),
4035
4035
  [S, A]
4036
4036
  ), E = K(
@@ -4051,30 +4051,30 @@ const Hn = "YYYY-MM-DD", Oc = ({
4051
4051
  [a, D, i, C, d, N, o, e, t, g]
4052
4052
  ), O = K(() => {
4053
4053
  l && N(M);
4054
- }, [l, N, M]), k = m(() => {
4054
+ }, [l, N, M]), T = m(() => {
4055
4055
  if (!b) return;
4056
4056
  const $ = {};
4057
4057
  return Object.entries(b).forEach(([W, V]) => {
4058
4058
  V !== "" && V !== void 0 && V !== null && ($[W] = V);
4059
4059
  }), Object.keys($).length > 0 ? $ : void 0;
4060
4060
  }, [b]), z = m(() => {
4061
- if (k)
4061
+ if (T)
4062
4062
  return {
4063
4063
  components: {
4064
- TreeSelect: k
4064
+ TreeSelect: T
4065
4065
  }
4066
4066
  };
4067
- }, [k]), F = j ? "error" : void 0, L = /* @__PURE__ */ be("div", { onBlur: O, children: [
4067
+ }, [T]), F = j ? "error" : void 0, L = /* @__PURE__ */ be("div", { onBlur: O, children: [
4068
4068
  /* @__PURE__ */ p(
4069
4069
  Zr,
4070
4070
  {
4071
- ...T,
4072
- disabled: n ? !1 : T.disabled,
4071
+ ...k,
4072
+ disabled: n ? !1 : k.disabled,
4073
4073
  open: n ? !1 : void 0,
4074
4074
  treeData: f,
4075
4075
  value: M,
4076
4076
  onChange: E,
4077
- style: { width: "100%", ...T.style },
4077
+ style: { width: "100%", ...k.style },
4078
4078
  styles: h,
4079
4079
  classNames: w,
4080
4080
  status: F
@@ -4083,7 +4083,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4083
4083
  j && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: j })
4084
4084
  ] });
4085
4085
  return z ? /* @__PURE__ */ p(Je, { theme: z, children: L }) : L;
4086
- }, Pc = ({
4086
+ }, qc = ({
4087
4087
  id: t,
4088
4088
  sessionId: e,
4089
4089
  develop: n,
@@ -4105,16 +4105,16 @@ const Hn = "YYYY-MM-DD", Oc = ({
4105
4105
  index: S,
4106
4106
  ...g
4107
4107
  }) => {
4108
- const C = ut(r, i, e), D = C.dataSet, A = C.dataSetField, x = C.sessionId, N = et(Ze), j = S ?? (N == null ? void 0 : N.index), M = N == null ? void 0 : N.parentIndex, T = R((G) => G.addCommand), E = R((G) => G.setDataSet), O = m(
4108
+ const C = ut(r, i, e), D = C.dataSet, A = C.dataSetField, x = C.sessionId, N = et(Ze), j = S ?? (N == null ? void 0 : N.index), M = N == null ? void 0 : N.parentIndex, k = R((G) => G.addCommand), E = R((G) => G.setDataSet), O = m(
4109
4109
  () => ye(x, D),
4110
4110
  [x, D]
4111
- ), k = m(
4111
+ ), T = m(
4112
4112
  () => x ? pt(t, N, S) : null,
4113
4113
  [x, t, N == null ? void 0 : N.parentIndex, N == null ? void 0 : N.index, S]
4114
4114
  ), z = R(
4115
4115
  (G) => {
4116
4116
  var J;
4117
- return k ? ((J = G.propsStore[`${x}_props`]) == null ? void 0 : J[k]) ?? null : null;
4117
+ return T ? ((J = G.propsStore[`${x}_props`]) == null ? void 0 : J[T]) ?? null : null;
4118
4118
  }
4119
4119
  ), F = R(
4120
4120
  (G) => O && A ? G.getDataSet(O, A) : void 0
@@ -4145,14 +4145,14 @@ const Hn = "YYYY-MM-DD", Oc = ({
4145
4145
  const J = ot().viewRes, ve = (ce) => (ce && J ? J(ce) : ce) || ce;
4146
4146
  return G.map((ce) => {
4147
4147
  var ht;
4148
- const Re = ((ht = ce == null ? void 0 : ce.response) == null ? void 0 : ht.src) ?? (ce == null ? void 0 : ce.src) ?? (ce == null ? void 0 : ce.url) ?? (ce == null ? void 0 : ce.thumbUrl) ?? "", _e = typeof Re == "string" ? ve(Re) : Re, qe = {};
4148
+ const Re = ((ht = ce == null ? void 0 : ce.response) == null ? void 0 : ht.src) ?? (ce == null ? void 0 : ce.src) ?? (ce == null ? void 0 : ce.url) ?? (ce == null ? void 0 : ce.thumbUrl) ?? "", _e = typeof Re == "string" ? ve(Re) : Re, Pe = {};
4149
4149
  for (const rt of Object.keys(ce)) {
4150
4150
  const gt = ce[rt];
4151
- gt instanceof File ? qe[rt] = gt : gt && typeof gt == "object" && !Array.isArray(gt) ? qe[rt] = { ...gt } : qe[rt] = gt;
4151
+ gt instanceof File ? Pe[rt] = gt : gt && typeof gt == "object" && !Array.isArray(gt) ? Pe[rt] = { ...gt } : Pe[rt] = gt;
4152
4152
  }
4153
- return _e && typeof _e == "string" && (qe.url = _e, qe.thumbUrl = _e), qe;
4153
+ return _e && typeof _e == "string" && (Pe.url = _e, Pe.thumbUrl = _e), Pe;
4154
4154
  });
4155
- }, []), [B, P] = De(null), Y = m(() => {
4155
+ }, []), [B, q] = De(null), Y = m(() => {
4156
4156
  const G = F ?? (z == null ? void 0 : z.fileList) ?? v;
4157
4157
  if (G != null) {
4158
4158
  if (typeof G == "string" && G) return V([G]);
@@ -4169,7 +4169,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4169
4169
  if (!G || typeof G == "function" || Array.isArray(G)) return;
4170
4170
  const J = G.trigger;
4171
4171
  return J && typeof J == "object" && !Array.isArray(J) ? J : void 0;
4172
- }, [de]), q = m(() => {
4172
+ }, [de]), P = m(() => {
4173
4173
  const G = de;
4174
4174
  if (!G || Array.isArray(G)) return;
4175
4175
  if (typeof G == "function") return G;
@@ -4183,7 +4183,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4183
4183
  if (ot().upload)
4184
4184
  try {
4185
4185
  Re == null || Re({ percent: 30 });
4186
- const qe = await Nn(J, {
4186
+ const Pe = await Nn(J, {
4187
4187
  url: w,
4188
4188
  headers: {
4189
4189
  Authorization: tn() ? `Bearer ${tn()}` : ""
@@ -4191,9 +4191,9 @@ const Hn = "YYYY-MM-DD", Oc = ({
4191
4191
  form: u == null ? void 0 : u.form,
4192
4192
  query: u == null ? void 0 : u.query
4193
4193
  });
4194
- Re == null || Re({ percent: 100 }), ve == null || ve(qe, J);
4195
- } catch (qe) {
4196
- ce == null || ce(qe), wt.error("上传失败");
4194
+ Re == null || Re({ percent: 100 }), ve == null || ve(Pe, J);
4195
+ } catch (Pe) {
4196
+ ce == null || ce(Pe), wt.error("上传失败");
4197
4197
  }
4198
4198
  else
4199
4199
  ce == null || ce(new Error("Upload handler not configured")), wt.warning("上传功能未配置");
@@ -4207,19 +4207,19 @@ const Hn = "YYYY-MM-DD", Oc = ({
4207
4207
  const ve = Array.isArray(J) && J.some((_e) => (_e == null ? void 0 : _e.status) === "uploading");
4208
4208
  se && typeof Z == "number" && Array.isArray(J) && J.length > Z && !ve && (J = _([...J.slice(0, Z - 1), J[J.length - 1]]));
4209
4209
  const ce = Array.isArray(J) ? W(J) : [];
4210
- if (O && A && (ce.length > 0 || !Array.isArray(J) || J.length === 0) ? (E(O, A, ce), P(null)) : ve ? P(J) : J.length === 0 && P(null), f && L(J), o && x) {
4210
+ if (O && A && (ce.length > 0 || !Array.isArray(J) || J.length === 0) ? (E(O, A, ce), q(null)) : ve ? q(J) : J.length === 0 && q(null), f && L(J), o && x) {
4211
4211
  const _e = {
4212
4212
  file: G.file,
4213
4213
  fileList: J,
4214
4214
  src: ce
4215
- }, { actionName: qe, arg: ht } = Le(o, _e, {
4215
+ }, { actionName: Pe, arg: ht } = Le(o, _e, {
4216
4216
  id: t,
4217
4217
  dataSet: D,
4218
4218
  dataSetField: A,
4219
4219
  index: j,
4220
4220
  parentIndex: M
4221
4221
  });
4222
- T(x, oe(qe, ht));
4222
+ k(x, oe(Pe, ht));
4223
4223
  }
4224
4224
  },
4225
4225
  [
@@ -4235,7 +4235,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4235
4235
  D,
4236
4236
  j,
4237
4237
  M,
4238
- T,
4238
+ k,
4239
4239
  _,
4240
4240
  W,
4241
4241
  se,
@@ -4248,7 +4248,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4248
4248
  const J = G.url || G.thumbUrl;
4249
4249
  if (!J) return "";
4250
4250
  const ve = ((_e = G.response) == null ? void 0 : _e.src) ?? (typeof J == "string" ? J : ""), ce = ot().viewRes, Re = ve && ce ? ce(ve) : J;
4251
- return String(Re).replace(/([?&])download=1(&|$)/, (qe, ht, rt) => rt ? ht : "");
4251
+ return String(Re).replace(/([?&])download=1(&|$)/, (Pe, ht, rt) => rt ? ht : "");
4252
4252
  }, []), Ee = K((G) => {
4253
4253
  var ce, Re;
4254
4254
  const J = ((ce = G.response) == null ? void 0 : ce.src) ?? G.name ?? "", ve = ((Re = String(J).split(".").pop()) == null ? void 0 : Re.toLowerCase()) || "";
@@ -4276,7 +4276,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4276
4276
  ur,
4277
4277
  {
4278
4278
  ...te,
4279
- styles: q,
4279
+ styles: P,
4280
4280
  disabled: n ? !1 : ie.disabled,
4281
4281
  fileList: le,
4282
4282
  onChange: X,
@@ -4334,7 +4334,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4334
4334
  }
4335
4335
  ) })
4336
4336
  ] });
4337
- }, qc = ({
4337
+ }, Pc = ({
4338
4338
  id: t,
4339
4339
  sessionId: e,
4340
4340
  develop: n,
@@ -4353,18 +4353,18 @@ const Hn = "YYYY-MM-DD", Oc = ({
4353
4353
  searchAction: b,
4354
4354
  ...u
4355
4355
  }) => {
4356
- const d = R((k) => k.addCommand), l = R((k) => k.getDataSet), S = R((k) => k.setDataSet), g = m(
4356
+ const d = R((T) => T.addCommand), l = R((T) => T.getDataSet), S = R((T) => T.setDataSet), g = m(
4357
4357
  () => ye(e, r),
4358
4358
  [e, r]
4359
4359
  ), [C, D] = De(v || []), [, A] = De(!1), x = Xe.useRef(void 0), { get: N } = Fo(), j = m(() => {
4360
4360
  if (g && i) return l(g, i);
4361
- }, [g, i, l]), M = m(() => j ?? f ?? y, [j, f, y]), T = K((k) => {
4361
+ }, [g, i, l]), M = m(() => j ?? f ?? y, [j, f, y]), k = K((T) => {
4362
4362
  if (!(w != null && w.queryApi)) {
4363
4363
  v && D(
4364
4364
  v.filter(
4365
4365
  (z) => {
4366
4366
  var F, L;
4367
- return ((F = z.value) == null ? void 0 : F.toString().toLowerCase().includes(k.toLowerCase())) || ((L = z.label) == null ? void 0 : L.toString().toLowerCase().includes(k.toLowerCase()));
4367
+ return ((F = z.value) == null ? void 0 : F.toString().toLowerCase().includes(T.toLowerCase())) || ((L = z.label) == null ? void 0 : L.toString().toLowerCase().includes(T.toLowerCase()));
4368
4368
  }
4369
4369
  )
4370
4370
  );
@@ -4375,18 +4375,18 @@ const Hn = "YYYY-MM-DD", Oc = ({
4375
4375
  A(!0);
4376
4376
  try {
4377
4377
  const { queryApi: z, keyWordParamName: F = "keyword", valueKey: L = "value", labelKey: $ = "label", fixedParams: W = [] } = w, V = {};
4378
- F && (V[F] = k), Array.isArray(W) && W.forEach((Y) => {
4378
+ F && (V[F] = T), Array.isArray(W) && W.forEach((Y) => {
4379
4379
  Y.key && (V[Y.key] = Y.value);
4380
4380
  });
4381
4381
  const _ = await N(z, V);
4382
4382
  let B = [];
4383
4383
  Array.isArray(_) ? B = _ : _ && Array.isArray(_.data) ? B = _.data : _ && _.data && Array.isArray(_.data.records) ? B = _.data.records : _ && _.result && Array.isArray(_.result) && (B = _.result);
4384
- const P = B.map((Y) => ({
4384
+ const q = B.map((Y) => ({
4385
4385
  value: Y[L],
4386
4386
  label: Y[$] || Y[L],
4387
4387
  ...Y
4388
4388
  }));
4389
- D(P);
4389
+ D(q);
4390
4390
  } catch (z) {
4391
4391
  console.error("Failed to fetch remote options:", z), D([]);
4392
4392
  } finally {
@@ -4398,21 +4398,21 @@ const Hn = "YYYY-MM-DD", Oc = ({
4398
4398
  Xe.useEffect(() => {
4399
4399
  !(w != null && w.queryApi) && v && D(v);
4400
4400
  }, [v, w == null ? void 0 : w.queryApi]);
4401
- const E = K((k) => {
4401
+ const E = K((T) => {
4402
4402
  if (s) {
4403
- s(k);
4403
+ s(T);
4404
4404
  return;
4405
4405
  }
4406
- if (g && i && S(g, i, k), o && e) {
4407
- const { actionName: z, arg: F } = Le(o, k, { id: t, dataSet: r, dataSetField: i });
4406
+ if (g && i && S(g, i, T), o && e) {
4407
+ const { actionName: z, arg: F } = Le(o, T, { id: t, dataSet: r, dataSetField: i });
4408
4408
  d(e, oe(z, F));
4409
4409
  }
4410
- }, [s, g, i, S, o, e, t, d]), O = K((k, z) => {
4410
+ }, [s, g, i, S, o, e, t, d]), O = K((T, z) => {
4411
4411
  if (c) {
4412
- c(k, z);
4412
+ c(T, z);
4413
4413
  return;
4414
4414
  }
4415
- a && e && d(e, oe(a, { value: k, option: z }));
4415
+ a && e && d(e, oe(a, { value: T, option: z }));
4416
4416
  }, [c, a, e, d]);
4417
4417
  return /* @__PURE__ */ p(
4418
4418
  Xr,
@@ -4424,7 +4424,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4424
4424
  value: M,
4425
4425
  onChange: E,
4426
4426
  onSelect: O,
4427
- onSearch: T,
4427
+ onSearch: k,
4428
4428
  style: { width: "100%", ...u.style }
4429
4429
  }
4430
4430
  );
@@ -4511,9 +4511,9 @@ const Hn = "YYYY-MM-DD", Oc = ({
4511
4511
  onScroll: N,
4512
4512
  styles: j,
4513
4513
  token: M,
4514
- ...T
4514
+ ...k
4515
4515
  }) => {
4516
- const E = R((ee) => ee.addCommand), O = R((ee) => ee.getDataSet), k = R((ee) => ee.setDataSet), z = m(
4516
+ const E = R((ee) => ee.addCommand), O = R((ee) => ee.getDataSet), T = R((ee) => ee.setDataSet), z = m(
4517
4517
  () => ye(e, r),
4518
4518
  [e, r]
4519
4519
  ), F = m(() => st(j, {}), [j]), L = m(() => st(M, {}), [M]), $ = m(() => st(b, ["源列表", "目标列表"]), [b]), W = m(() => st(u, [">", "<"]), [u]), V = m(() => st(d, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [d]), _ = m(() => st(h, !1), [h]), B = m(() => {
@@ -4521,32 +4521,32 @@ const Hn = "YYYY-MM-DD", Oc = ({
4521
4521
  const ee = O(z, i);
4522
4522
  if (Array.isArray(ee)) return ee;
4523
4523
  }
4524
- }, [z, i, O]), P = m(() => {
4524
+ }, [z, i, O]), q = m(() => {
4525
4525
  if (z && i) {
4526
4526
  const ee = O(z, `${i}.dataSource`);
4527
4527
  if (Array.isArray(ee)) return ee;
4528
4528
  }
4529
- }, [z, i, O]), Y = m(() => n ? P ?? st(o, []) : z ? P ?? [] : st(o, []), [n, z, P, o]), H = m(() => n ? B ?? st(a, []) : z ? B ?? [] : st(a, []), [n, z, B, a]), ie = m(() => st(s, []), [s]), ue = K((ee, q, te) => {
4529
+ }, [z, i, O]), Y = m(() => n ? q ?? st(o, []) : z ? q ?? [] : st(o, []), [n, z, q, o]), H = m(() => n ? B ?? st(a, []) : z ? B ?? [] : st(a, []), [n, z, B, a]), ie = m(() => st(s, []), [s]), ue = K((ee, P, te) => {
4530
4530
  if (D) {
4531
- D(ee, q, te);
4531
+ D(ee, P, te);
4532
4532
  return;
4533
4533
  }
4534
- z && i && k(z, i, ee), l && e && E(e, oe(l, { targetKeys: ee, direction: q, moveKeys: te }));
4535
- }, [D, z, i, k, l, e, E]), Z = K((ee, q) => {
4534
+ z && i && T(z, i, ee), l && e && E(e, oe(l, { targetKeys: ee, direction: P, moveKeys: te }));
4535
+ }, [D, z, i, T, l, e, E]), Z = K((ee, P) => {
4536
4536
  if (A) {
4537
- A(ee, q);
4537
+ A(ee, P);
4538
4538
  return;
4539
4539
  }
4540
- S && e && E(e, oe(S, { sourceSelectedKeys: ee, targetSelectedKeys: q }));
4541
- }, [A, S, e, E]), se = K((ee, q) => {
4540
+ S && e && E(e, oe(S, { sourceSelectedKeys: ee, targetSelectedKeys: P }));
4541
+ }, [A, S, e, E]), se = K((ee, P) => {
4542
4542
  if (x) {
4543
- x(ee, q);
4543
+ x(ee, P);
4544
4544
  return;
4545
4545
  }
4546
- g && e && E(e, oe(g, { direction: ee, value: q }));
4547
- }, [x, g, e, E]), fe = K((ee, q) => {
4546
+ g && e && E(e, oe(g, { direction: ee, value: P }));
4547
+ }, [x, g, e, E]), fe = K((ee, P) => {
4548
4548
  if (N) {
4549
- N(ee, q);
4549
+ N(ee, P);
4550
4550
  return;
4551
4551
  }
4552
4552
  C && e && E(e, oe(C, { direction: ee }));
@@ -4571,7 +4571,7 @@ const Hn = "YYYY-MM-DD", Oc = ({
4571
4571
  onScroll: fe,
4572
4572
  styles: F,
4573
4573
  render: (ee) => ee.title,
4574
- ...T
4574
+ ...k
4575
4575
  }
4576
4576
  );
4577
4577
  return L && Object.keys(L).length > 0 ? /* @__PURE__ */ p(Je, { theme: { components: { Transfer: L } }, children: de }) : de;
@@ -4625,13 +4625,13 @@ const Hn = "YYYY-MM-DD", Oc = ({
4625
4625
  const O = g(D, i);
4626
4626
  if (typeof O == "string") return O;
4627
4627
  }
4628
- }, [D, i, g]) ?? a, T = K((O) => {
4629
- const k = String(O);
4628
+ }, [D, i, g]) ?? a, k = K((O) => {
4629
+ const T = String(O);
4630
4630
  if (b) {
4631
- b(k);
4631
+ b(T);
4632
4632
  return;
4633
4633
  }
4634
- D && i && C(D, i, k), w && e && S(e, oe(w, { value: k }));
4634
+ D && i && C(D, i, T), w && e && S(e, oe(w, { value: T }));
4635
4635
  }, [b, D, i, C, w, e, S]), E = /* @__PURE__ */ p(
4636
4636
  ti,
4637
4637
  {
@@ -4644,13 +4644,13 @@ const Hn = "YYYY-MM-DD", Oc = ({
4644
4644
  size: y,
4645
4645
  vertical: v,
4646
4646
  shape: h,
4647
- onChange: T,
4647
+ onChange: k,
4648
4648
  styles: A
4649
4649
  }
4650
4650
  );
4651
4651
  return x && Object.keys(x).length > 0 ? /* @__PURE__ */ p(Je, { theme: { components: { Segmented: x } }, children: E }) : E;
4652
4652
  }, _a = (t, e, n) => {
4653
- const [r, i] = De(void 0), o = e === "100%", a = Pe(0);
4653
+ const [r, i] = De(void 0), o = e === "100%", a = qe(0);
4654
4654
  return vr(() => {
4655
4655
  if (!o || !t.current) {
4656
4656
  i(void 0);
@@ -4828,7 +4828,7 @@ const Va = ({ dictCode: t, value: e }) => {
4828
4828
  };
4829
4829
  let c = new Intl.NumberFormat("zh-CN", s).format(n);
4830
4830
  return r && (c = r + c), /* @__PURE__ */ p("span", { children: c });
4831
- }, Pa = (t, e) => {
4831
+ }, qa = (t, e) => {
4832
4832
  let n = "";
4833
4833
  try {
4834
4834
  const r = Ge(t);
@@ -4837,7 +4837,7 @@ const Va = ({ dictCode: t, value: e }) => {
4837
4837
  n = "";
4838
4838
  }
4839
4839
  return /* @__PURE__ */ p("span", { children: n });
4840
- }, qa = (t, e) => {
4840
+ }, Pa = (t, e) => {
4841
4841
  if (t == null || t === "")
4842
4842
  return /* @__PURE__ */ p("span", {});
4843
4843
  const n = e.arraySeparator || ",";
@@ -5076,11 +5076,11 @@ const es = (t, e, n, r) => {
5076
5076
  return r ? Rt(c, Ra(o, n)) : c;
5077
5077
  }
5078
5078
  case "date": {
5079
- const c = Pa(o, n);
5079
+ const c = qa(o, n);
5080
5080
  return r ? Rt(c, Oa(o, n)) : c;
5081
5081
  }
5082
5082
  case "array": {
5083
- const c = qa(o, n);
5083
+ const c = Pa(o, n);
5084
5084
  return r ? Rt(c, ja(o, n)) : c;
5085
5085
  }
5086
5086
  case "dict": {
@@ -5180,7 +5180,7 @@ const dn = 420, er = 440, is = ({
5180
5180
  },
5181
5181
  [y]
5182
5182
  ), x = K(
5183
- (_, B, P, Y) => Xn(_, B, P ?? d, Y ?? S),
5183
+ (_, B, q, Y) => Xn(_, B, q ?? d, Y ?? S),
5184
5184
  [d, S]
5185
5185
  ), N = K(() => {
5186
5186
  w(i);
@@ -5189,33 +5189,33 @@ const dn = 420, er = 440, is = ({
5189
5189
  }, [i, o, s, f, A]), j = K(
5190
5190
  (_) => {
5191
5191
  u((B) => {
5192
- const P = B.map((Y) => Y.key === _ ? { ...Y, visible: !Y.visible } : Y);
5193
- return A(x(h, P)), P;
5192
+ const q = B.map((Y) => Y.key === _ ? { ...Y, visible: !Y.visible } : Y);
5193
+ return A(x(h, q)), q;
5194
5194
  });
5195
5195
  },
5196
5196
  [h, x, A]
5197
5197
  ), M = K(
5198
5198
  (_, B) => {
5199
- u((P) => {
5200
- const Y = P.map((H) => H.key === _ ? { ...H, fixed: B } : H);
5199
+ u((q) => {
5200
+ const Y = q.map((H) => H.key === _ ? { ...H, fixed: B } : H);
5201
5201
  return A(x(h, Y)), Y;
5202
5202
  });
5203
5203
  },
5204
5204
  [h, x, A]
5205
- ), T = K(
5205
+ ), k = K(
5206
5206
  (_, B) => {
5207
- u((P) => {
5208
- const Y = P.map((H) => H.key === _ ? { ...H, width: B } : H);
5207
+ u((q) => {
5208
+ const Y = q.map((H) => H.key === _ ? { ...H, width: B } : H);
5209
5209
  return A(x(h, Y)), Y;
5210
5210
  });
5211
5211
  },
5212
5212
  [h, x, A]
5213
5213
  ), E = K(
5214
5214
  (_, B) => {
5215
- u((P) => {
5216
- const Y = P.find((Z) => Z.key === _);
5217
- if (!Y) return P;
5218
- const H = typeof Y.width == "number" ? Y.width : 80, ie = Math.max(un, H + B), ue = P.map((Z) => Z.key === _ ? { ...Z, width: ie } : Z);
5215
+ u((q) => {
5216
+ const Y = q.find((Z) => Z.key === _);
5217
+ if (!Y) return q;
5218
+ const H = typeof Y.width == "number" ? Y.width : 80, ie = Math.max(un, H + B), ue = q.map((Z) => Z.key === _ ? { ...Z, width: ie } : Z);
5219
5219
  return A(x(h, ue)), ue;
5220
5220
  });
5221
5221
  },
@@ -5223,11 +5223,11 @@ const dn = 420, er = 440, is = ({
5223
5223
  ), O = K(
5224
5224
  (_, B) => {
5225
5225
  if (B < 0 || B >= b.length) return;
5226
- const P = [...b], [Y] = P.splice(_, 1);
5227
- P.splice(B, 0, Y), u(P), A(x(h, P));
5226
+ const q = [...b], [Y] = q.splice(_, 1);
5227
+ q.splice(B, 0, Y), u(q), A(x(h, q));
5228
5228
  },
5229
5229
  [b, h, x, A]
5230
- ), k = K(
5230
+ ), T = K(
5231
5231
  (_) => {
5232
5232
  w(_), A(x(_, b));
5233
5233
  },
@@ -5269,7 +5269,7 @@ const dn = 420, er = 440, is = ({
5269
5269
  _t,
5270
5270
  {
5271
5271
  checked: h,
5272
- onChange: (_) => k(_.target.checked),
5272
+ onChange: (_) => T(_.target.checked),
5273
5273
  children: "序号列"
5274
5274
  }
5275
5275
  ),
@@ -5296,7 +5296,7 @@ const dn = 420, er = 440, is = ({
5296
5296
  /* @__PURE__ */ p("th", { className: "and-table-column-setting-th-fix", children: "固定" })
5297
5297
  ] }) }),
5298
5298
  /* @__PURE__ */ p("tbody", { children: b.map((_, B) => {
5299
- const P = typeof _.width == "number" ? _.width : null, Y = _.width === "auto" || _.width === void 0 && P === null;
5299
+ const q = typeof _.width == "number" ? _.width : null, Y = _.width === "auto" || _.width === void 0 && q === null;
5300
5300
  return /* @__PURE__ */ be(
5301
5301
  "tr",
5302
5302
  {
@@ -5327,12 +5327,12 @@ const dn = 420, er = 440, is = ({
5327
5327
  size: "small",
5328
5328
  min: un,
5329
5329
  step: jt,
5330
- value: Y ? void 0 : P ?? 80,
5330
+ value: Y ? void 0 : q ?? 80,
5331
5331
  placeholder: "auto",
5332
5332
  controls: !1,
5333
5333
  style: { width: 44 },
5334
5334
  onChange: (H) => {
5335
- H == null || typeof H == "string" && H === "" ? T(_.key, "auto") : T(_.key, Math.max(un, Number(H)));
5335
+ H == null || typeof H == "string" && H === "" ? k(_.key, "auto") : k(_.key, Math.max(un, Number(H)));
5336
5336
  }
5337
5337
  }
5338
5338
  ),
@@ -5445,17 +5445,17 @@ const dn = 420, er = 440, is = ({
5445
5445
  scroll: N,
5446
5446
  autoFillHeight: j,
5447
5447
  showTitle: M,
5448
- showSummary: T,
5448
+ showSummary: k,
5449
5449
  showFooter: E,
5450
5450
  renderTitle: O,
5451
- renderSummary: k,
5451
+ renderSummary: T,
5452
5452
  renderFooter: z,
5453
5453
  children: F,
5454
5454
  token: L,
5455
5455
  columnSettingOpenKey: $,
5456
5456
  columnSettingsKey: W,
5457
5457
  ...V
5458
- } = i, _ = R((U) => U.addCommand), B = R((U) => U.getDataSet), P = R((U) => U.setDataSet), [Y, H] = De([]), ie = Pe(null), [ue, Z] = De(void 0), se = K((U, pe, $e) => {
5458
+ } = i, _ = R((U) => U.addCommand), B = R((U) => U.getDataSet), q = R((U) => U.setDataSet), [Y, H] = De([]), ie = qe(null), [ue, Z] = De(void 0), se = K((U, pe, $e) => {
5459
5459
  if (!pe) return U;
5460
5460
  const xe = pe.split(".").filter(Boolean);
5461
5461
  if (xe.length === 0) return U;
@@ -5475,7 +5475,7 @@ const dn = 420, er = 440, is = ({
5475
5475
  return pe;
5476
5476
  }
5477
5477
  return U;
5478
- }, []), de = m(() => Array.isArray(c) ? c : [], [c]), ee = m(() => Array.isArray(f) ? f : [], [f]), q = m(
5478
+ }, []), de = m(() => Array.isArray(c) ? c : [], [c]), ee = m(() => Array.isArray(f) ? f : [], [f]), P = m(
5479
5479
  () => ({
5480
5480
  dataSet: ye(n, a),
5481
5481
  pagination: a ? ye(n, `${a}_pagination`) : void 0,
@@ -5491,7 +5491,7 @@ const dn = 420, er = 440, is = ({
5491
5491
  }, [N, ge["scroll-x"], ge["scroll-y"]]), me = R(
5492
5492
  (U) => {
5493
5493
  var pe;
5494
- return q.columnSettingOpen ? ((pe = U.dataSets[q.columnSettingOpen]) == null ? void 0 : pe.value) === !0 : !1;
5494
+ return P.columnSettingOpen ? ((pe = U.dataSets[P.columnSettingOpen]) == null ? void 0 : pe.value) === !0 : !1;
5495
5495
  }
5496
5496
  ), Te = 420;
5497
5497
  vr(() => {
@@ -5506,14 +5506,14 @@ const dn = 420, er = 440, is = ({
5506
5506
  }, [me]);
5507
5507
  const Ee = R((U) => {
5508
5508
  var $e;
5509
- const pe = q.columnSettings ? ($e = U.dataSets[q.columnSettings]) == null ? void 0 : $e.value : void 0;
5509
+ const pe = P.columnSettings ? ($e = U.dataSets[P.columnSettings]) == null ? void 0 : $e.value : void 0;
5510
5510
  return typeof pe == "object" && pe !== null ? pe : void 0;
5511
- }), Me = Qi(q.dataSet, s), Ve = m(() => o ? (y == null ? void 0 : y.data) || [] : q.dataSet ? Me : (y == null ? void 0 : y.data) || [], [o, q.dataSet, Me, y == null ? void 0 : y.data]), we = m(() => fe(L, {}), [L, fe]), Qe = we && Object.keys(we).length > 0, Q = m(
5511
+ }), Me = Qi(P.dataSet, s), Ve = m(() => o ? (y == null ? void 0 : y.data) || [] : P.dataSet ? Me : (y == null ? void 0 : y.data) || [], [o, P.dataSet, Me, y == null ? void 0 : y.data]), we = m(() => fe(L, {}), [L, fe]), Qe = we && Object.keys(we).length > 0, Q = m(
5512
5512
  () => Qe ? { components: { Table: we } } : void 0,
5513
5513
  [Qe, we]
5514
5514
  ), ne = R(
5515
- (U) => q.pagination ? U.dataSets[q.pagination] : void 0
5516
- ), ae = m(() => q.pagination ? B(q.pagination, "") || {} : {}, [q.pagination, B, ne]), I = m(() => !(g === !1 || typeof g == "object" && (g == null ? void 0 : g.visible) === !1), [g]), le = _a(ie, X == null ? void 0 : X.y, I), Se = m(() => {
5515
+ (U) => P.pagination ? U.dataSets[P.pagination] : void 0
5516
+ ), ae = m(() => P.pagination ? B(P.pagination, "") || {} : {}, [P.pagination, B, ne]), I = m(() => !(g === !1 || typeof g == "object" && (g == null ? void 0 : g.visible) === !1), [g]), le = _a(ie, X == null ? void 0 : X.y, I), Se = m(() => {
5517
5517
  if (!I) return !1;
5518
5518
  const U = typeof g == "object" ? g : {}, pe = V || {}, $e = U.showSizeChanger ?? pe["pagination-showSizeChanger"] ?? !0, xe = U.showQuickJumper ?? pe["pagination-showQuickJumper"] ?? !1, Ae = U.simple ?? pe["pagination-simple"] ?? !1, Ne = U.defaultPageSize ?? pe["pagination-defaultPageSize"] ?? 10, ke = U.pageSizeOptions ?? pe["pagination-pageSizeOptions"] ?? "10,20,50,100", Ue = typeof ke == "string" ? ke.split(",").map((We) => parseInt(String(We).trim(), 10) || 10).filter((We) => !isNaN(We)) : Array.isArray(ke) ? ke : [10, 20, 50, 100];
5519
5519
  return {
@@ -5525,11 +5525,11 @@ const dn = 420, er = 440, is = ({
5525
5525
  pageSizeOptions: Ue,
5526
5526
  showTotal: (We, Ke) => (U.showTotal || "共 ${total} 条").replace("${total}", String(We)).replace("${range[0]}", String(Ke[0])).replace("${range[1]}", String(Ke[1])).replace("${range}", `${Ke[0]}-${Ke[1]}`),
5527
5527
  onChange: (We, Ke) => {
5528
- q.pagination && P(q.pagination, "", { ...ae, current: We, pageSize: Ke }), S && n && _(n, oe(S, null));
5528
+ P.pagination && q(P.pagination, "", { ...ae, current: We, pageSize: Ke }), S && n && _(n, oe(S, null));
5529
5529
  },
5530
5530
  hideOnSinglePage: !1
5531
5531
  };
5532
- }, [I, g, V, ae, q.pagination, P, S, n, _]), Oe = K((U, pe) => {
5532
+ }, [I, g, V, ae, P.pagination, q, S, n, _]), Oe = K((U, pe) => {
5533
5533
  n && _(n, oe(U.action, { ...pe }));
5534
5534
  }, [n, _]), Be = m(() => {
5535
5535
  let U = h;
@@ -5565,11 +5565,11 @@ const dn = 420, er = 440, is = ({
5565
5565
  [n, _]
5566
5566
  ), re = K(
5567
5567
  (U, pe, $e) => {
5568
- if (!q.dataSet) return;
5568
+ if (!P.dataSet) return;
5569
5569
  const xe = s && String(s).trim() !== "" ? s : "", Ae = U == null ? void 0 : U[d], Ne = Ve.map((ke) => (Ae != null ? (ke == null ? void 0 : ke[d]) === Ae : ke === U) ? se(ke ?? {}, pe, $e) : ke);
5570
- P(q.dataSet, xe, Ne, !1);
5570
+ q(P.dataSet, xe, Ne, !1);
5571
5571
  },
5572
- [q.dataSet, s, d, Ve, P, se]
5572
+ [P.dataSet, s, d, Ve, q, se]
5573
5573
  ), G = m(() => de.map((U) => {
5574
5574
  let pe = !1;
5575
5575
  U.fixed === !0 || U.fixed === "left" ? pe = "left" : U.fixed === "right" && (pe = "right");
@@ -5581,16 +5581,16 @@ const dn = 420, er = 440, is = ({
5581
5581
  fixed: pe,
5582
5582
  width: typeof $e == "number" ? $e : "auto"
5583
5583
  };
5584
- }).filter((U) => U.key), [de]), J = l === !0, ve = !1, ce = A === "small" || A === "large" ? A : "middle", { rowIndexVisible: Re, items: _e, scrollX: qe, size: ht } = m(() => rs(
5584
+ }).filter((U) => U.key), [de]), J = l === !0, ve = !1, ce = A === "small" || A === "large" ? A : "middle", { rowIndexVisible: Re, items: _e, scrollX: Pe, size: ht } = m(() => rs(
5585
5585
  Ee,
5586
5586
  G,
5587
5587
  J,
5588
5588
  ce
5589
5589
  ), [Ee, G, J, ce]), rt = !!(a && n), gt = m(() => {
5590
- if (qe !== void 0) return qe;
5590
+ if (Pe !== void 0) return Pe;
5591
5591
  const U = X == null ? void 0 : X.x;
5592
5592
  return U === !0 || typeof U == "number" && Number.isFinite(U) && U > 0 ? !0 : U === "max-content" ? !1 : ve;
5593
- }, [qe, X == null ? void 0 : X.x, ve]), Mn = m(() => rt ? qe !== void 0 ? qe ? !0 : "max-content" : (X == null ? void 0 : X.x) !== void 0 ? X.x : "max-content" : X == null ? void 0 : X.x, [rt, qe, X == null ? void 0 : X.x, ve]), It = m(() => {
5593
+ }, [Pe, X == null ? void 0 : X.x, ve]), Mn = m(() => rt ? Pe !== void 0 ? Pe ? !0 : "max-content" : (X == null ? void 0 : X.x) !== void 0 ? X.x : "max-content" : X == null ? void 0 : X.x, [rt, Pe, X == null ? void 0 : X.x, ve]), It = m(() => {
5594
5594
  const U = [];
5595
5595
  Re && U.push({
5596
5596
  title: "序号",
@@ -5657,29 +5657,29 @@ const dn = 420, er = 440, is = ({
5657
5657
  He,
5658
5658
  re
5659
5659
  ]), Vr = K(() => {
5660
- q.columnSettingOpen && P(q.columnSettingOpen, "", !1);
5661
- }, [q.columnSettingOpen, P]), Br = K(
5660
+ P.columnSettingOpen && q(P.columnSettingOpen, "", !1);
5661
+ }, [P.columnSettingOpen, q]), Br = K(
5662
5662
  (U) => {
5663
- q.columnSettings && P(q.columnSettings, "value", U);
5663
+ P.columnSettings && q(P.columnSettings, "value", U);
5664
5664
  },
5665
- [q.columnSettings, P]
5665
+ [P.columnSettings, q]
5666
5666
  ), zr = m(() => {
5667
5667
  if (!b && w)
5668
5668
  return {
5669
5669
  selectedRowKeys: Y,
5670
5670
  onChange: (U, pe, $e) => {
5671
- H(U), q.selected && P(q.selected, "", U), u != null && u.trim() && n && _(n, oe(u.trim(), {
5671
+ H(U), P.selected && q(P.selected, "", U), u != null && u.trim() && n && _(n, oe(u.trim(), {
5672
5672
  selectedRowKeys: U,
5673
5673
  selectedRows: pe,
5674
5674
  info: $e
5675
5675
  }));
5676
5676
  }
5677
5677
  };
5678
- }, [w, b, Y, q.selected, P, u, n, _]), _n = K((U) => {
5678
+ }, [w, b, Y, P.selected, q, u, n, _]), _n = K((U) => {
5679
5679
  if (!b) return;
5680
5680
  const $e = [U[d]];
5681
- H($e), q.selected && P(q.selected, "", $e), u != null && u.trim() && n && _(n, oe(u.trim(), { record: U, selectedRowKeys: $e }));
5682
- }, [b, u, n, d, q.selected, P, _]), Kr = K((U) => b && Y.includes(U[d]) ? "ant-table-row-selected" : "", [b, d, Y]), Pr = K((U) => b ? { onClick: () => _n(U), style: { cursor: "pointer" } } : {}, [b, _n]), qr = m(() => {
5681
+ H($e), P.selected && q(P.selected, "", $e), u != null && u.trim() && n && _(n, oe(u.trim(), { record: U, selectedRowKeys: $e }));
5682
+ }, [b, u, n, d, P.selected, q, _]), Kr = K((U) => b && Y.includes(U[d]) ? "ant-table-row-selected" : "", [b, d, Y]), qr = K((U) => b ? { onClick: () => _n(U), style: { cursor: "pointer" } } : {}, [b, _n]), Pr = m(() => {
5683
5683
  if (!X && !rt) return;
5684
5684
  const U = Mn, pe = (X == null ? void 0 : X.y) === "100%" ? le : X == null ? void 0 : X.y;
5685
5685
  return U !== void 0 || pe !== void 0 ? { x: U, y: pe } : X ? X.y === "100%" ? { x: X.x, y: le } : X : void 0;
@@ -5700,12 +5700,12 @@ const dn = 420, er = 440, is = ({
5700
5700
  if (M && o) return () => /* @__PURE__ */ p("div", { "data-table-slot-container": "title", style: { minHeight: 20 } });
5701
5701
  }
5702
5702
  }, [M, Yt, O, o]), Yr = m(() => {
5703
- if (k) return k;
5704
- if (T && Ht)
5703
+ if (T) return T;
5704
+ if (k && Ht)
5705
5705
  return () => /* @__PURE__ */ p("tr", { children: /* @__PURE__ */ p("td", { colSpan: It.length, style: { padding: 0 }, children: Ht }) });
5706
- if (T && o)
5706
+ if (k && o)
5707
5707
  return () => /* @__PURE__ */ p("tr", { children: /* @__PURE__ */ p("td", { colSpan: It.length, style: { padding: 0 }, children: /* @__PURE__ */ p("div", { "data-table-slot-container": "summary", style: { minHeight: 20 } }) }) });
5708
- }, [T, Ht, k, It.length, o]), $n = /* @__PURE__ */ p(
5708
+ }, [k, Ht, T, It.length, o]), $n = /* @__PURE__ */ p(
5709
5709
  ni,
5710
5710
  {
5711
5711
  ...ge,
@@ -5719,11 +5719,11 @@ const dn = 420, er = 440, is = ({
5719
5719
  bordered: D,
5720
5720
  size: rt ? ht : A,
5721
5721
  sticky: x,
5722
- scroll: qr,
5722
+ scroll: Pr,
5723
5723
  title: Ir,
5724
5724
  summary: Yr,
5725
5725
  footer: void 0,
5726
- onRow: Pr
5726
+ onRow: qr
5727
5727
  }
5728
5728
  );
5729
5729
  return /* @__PURE__ */ be(
@@ -5801,17 +5801,17 @@ const dn = 420, er = 440, is = ({
5801
5801
  j ? o : void 0,
5802
5802
  j ? a : void 0,
5803
5803
  e
5804
- ), T = e ?? M.sessionId, E = R((X) => X.getDataSet), O = m(
5805
- () => T ? pt(t, C, l) : null,
5806
- [T, t, C == null ? void 0 : C.parentIndex, C == null ? void 0 : C.index, l]
5807
- ), k = R(
5804
+ ), k = e ?? M.sessionId, E = R((X) => X.getDataSet), O = m(
5805
+ () => k ? pt(t, C, l) : null,
5806
+ [k, t, C == null ? void 0 : C.parentIndex, C == null ? void 0 : C.index, l]
5807
+ ), T = R(
5808
5808
  (X) => {
5809
5809
  var me;
5810
- return O ? ((me = X.propsStore[`${T}_props`]) == null ? void 0 : me[O]) ?? null : null;
5810
+ return O ? ((me = X.propsStore[`${k}_props`]) == null ? void 0 : me[O]) ?? null : null;
5811
5811
  }
5812
5812
  ), z = m(
5813
- () => (k == null ? void 0 : k.fallbackDisplay) ?? h,
5814
- [k == null ? void 0 : k.fallbackDisplay, h]
5813
+ () => (T == null ? void 0 : T.fallbackDisplay) ?? h,
5814
+ [T == null ? void 0 : T.fallbackDisplay, h]
5815
5815
  ), F = m(
5816
5816
  () => f === "selectedCount" && a && !o ? a : j ? M.dataSet : void 0,
5817
5817
  [f, a, o, M.dataSet, j]
@@ -5819,13 +5819,13 @@ const dn = 420, er = 440, is = ({
5819
5819
  () => f === "selectedCount" ? "selectedCount" : j ? M.dataSetField : void 0,
5820
5820
  [f, M.dataSetField, j]
5821
5821
  ), $ = m(
5822
- () => ye(T, F),
5823
- [T, F]
5822
+ () => ye(k, F),
5823
+ [k, F]
5824
5824
  ), W = R((X) => {
5825
5825
  if (!$) return;
5826
5826
  const me = $t($).baseName;
5827
5827
  return X.dataSets[me];
5828
- }), { options: V } = qt(f), _ = m(() => {
5828
+ }), { options: V } = Pt(f), _ = m(() => {
5829
5829
  if ($ && L)
5830
5830
  return E($, L);
5831
5831
  }, [$, L, E, W]), B = m(() => {
@@ -5837,14 +5837,14 @@ const dn = 420, er = 440, is = ({
5837
5837
  return {};
5838
5838
  }
5839
5839
  return v;
5840
- }, [v]), P = (X) => X == null || X === "" || typeof X == "string" && X.trim() === "", Y = m(
5840
+ }, [v]), q = (X) => X == null || X === "" || typeof X == "string" && X.trim() === "", Y = m(
5841
5841
  () => j && !!($ && L && String(L).trim() !== ""),
5842
5842
  [j, $, L]
5843
- ), H = m(() => n ? r : Y ? z && P(_) ? r : _ : (k == null ? void 0 : k.content) !== void 0 ? k.content : r, [
5843
+ ), H = m(() => n ? r : Y ? z && q(_) ? (T == null ? void 0 : T.content) !== void 0 && (T == null ? void 0 : T.content) !== null ? T.content : r : _ : (T == null ? void 0 : T.content) !== void 0 ? T.content : r, [
5844
5844
  n,
5845
5845
  Y,
5846
5846
  _,
5847
- k == null ? void 0 : k.content,
5847
+ T == null ? void 0 : T.content,
5848
5848
  r,
5849
5849
  z
5850
5850
  ]), ie = m(() => {
@@ -5856,11 +5856,11 @@ const dn = 420, er = 440, is = ({
5856
5856
  }, [f, V, H]), ue = m(() => {
5857
5857
  if (n)
5858
5858
  return ie;
5859
- const X = (k == null ? void 0 : k.formatType) || y;
5859
+ const X = (T == null ? void 0 : T.formatType) || y;
5860
5860
  return X && ie !== void 0 && ie !== null ? oa(ie, X, B) : ie;
5861
- }, [n, ie, y, B, k == null ? void 0 : k.formatType]), Z = m(() => {
5861
+ }, [n, ie, y, B, T == null ? void 0 : T.formatType]), Z = m(() => {
5862
5862
  const X = { ...S };
5863
- return k && typeof k == "object" && Object.keys(k).forEach((me) => {
5863
+ return T && typeof T == "object" && Object.keys(T).forEach((me) => {
5864
5864
  ![
5865
5865
  "content",
5866
5866
  "formatType",
@@ -5868,21 +5868,21 @@ const dn = 420, er = 440, is = ({
5868
5868
  "clickAction",
5869
5869
  "stopClickPropagation",
5870
5870
  "fallbackDisplay"
5871
- ].includes(me) && k[me] !== void 0 && k[me] !== null && (X[me] = k[me]);
5871
+ ].includes(me) && T[me] !== void 0 && T[me] !== null && (X[me] = T[me]);
5872
5872
  }), X;
5873
- }, [S, k]), se = m(
5874
- () => (k == null ? void 0 : k.clickAction) ?? u,
5875
- [k == null ? void 0 : k.clickAction, u]
5876
- ), fe = (k == null ? void 0 : k.develop) ?? n, de = m(() => {
5873
+ }, [S, T]), se = m(
5874
+ () => (T == null ? void 0 : T.clickAction) ?? u,
5875
+ [T == null ? void 0 : T.clickAction, u]
5876
+ ), fe = (T == null ? void 0 : T.develop) ?? n, de = m(() => {
5877
5877
  if (fe) return !1;
5878
- const X = (k == null ? void 0 : k.stopClickPropagation) ?? d;
5878
+ const X = (T == null ? void 0 : T.stopClickPropagation) ?? d;
5879
5879
  return X !== void 0 ? X : !!se;
5880
5880
  }, [
5881
5881
  fe,
5882
- k == null ? void 0 : k.stopClickPropagation,
5882
+ T == null ? void 0 : T.stopClickPropagation,
5883
5883
  d,
5884
5884
  se
5885
- ]), ee = (k == null ? void 0 : k.color) ?? c, q = an(ee), te = m(() => {
5885
+ ]), ee = (T == null ? void 0 : T.color) ?? c, P = an(ee), te = m(() => {
5886
5886
  if (!b) return;
5887
5887
  let X = b;
5888
5888
  if (typeof b == "string")
@@ -5897,19 +5897,19 @@ const dn = 420, er = 440, is = ({
5897
5897
  Ee !== "" && Ee !== void 0 && Ee !== null && (me[Te] = Ee);
5898
5898
  }), Object.keys(me).length > 0 ? me : void 0;
5899
5899
  }, [b]), he = m(() => {
5900
- const X = { width: "100%" }, me = (k == null ? void 0 : k.fontSize) ?? s;
5900
+ const X = { width: "100%" }, me = (T == null ? void 0 : T.fontSize) ?? s;
5901
5901
  if (me) {
5902
5902
  const Te = me && !String(me).match(/\d+(px|em|rem|%|vh|vw|pt|pc|in|cm|mm|ex|ch)$/) ? `${me}px` : me;
5903
5903
  X.fontSize = Te;
5904
5904
  }
5905
- return q && (X.color = q), X;
5906
- }, [s, q, k == null ? void 0 : k.fontSize]), ge = /* @__PURE__ */ p(
5905
+ return P && (X.color = P), X;
5906
+ }, [s, P, T == null ? void 0 : T.fontSize]), ge = /* @__PURE__ */ p(
5907
5907
  us,
5908
5908
  {
5909
5909
  ...Z,
5910
5910
  style: { ...he, ...w, ...Z.style },
5911
5911
  onClick: (X) => {
5912
- if (typeof Z.onClick == "function" && Z.onClick(X), se && T) {
5912
+ if (typeof Z.onClick == "function" && Z.onClick(X), se && k) {
5913
5913
  const { actionName: me, arg: Te } = Cr(se, {
5914
5914
  id: t,
5915
5915
  index: D,
@@ -5918,7 +5918,7 @@ const dn = 420, er = 440, is = ({
5918
5918
  dataSetField: L,
5919
5919
  ...Z
5920
5920
  }), Ee = oe(me, Te);
5921
- g(T, Ee);
5921
+ g(k, Ee);
5922
5922
  }
5923
5923
  de && X.stopPropagation();
5924
5924
  },
@@ -6075,10 +6075,10 @@ const dn = 420, er = 440, is = ({
6075
6075
  onDrop: N,
6076
6076
  onRightClick: j,
6077
6077
  onLoad: M,
6078
- treeData: T,
6078
+ treeData: k,
6079
6079
  styles: E,
6080
6080
  classNames: O,
6081
- token: k,
6081
+ token: T,
6082
6082
  ...z
6083
6083
  }) => {
6084
6084
  const F = R((Q) => Q.addCommand), L = R((Q) => Q.setDataSet), $ = m(
@@ -6102,13 +6102,13 @@ const dn = 420, er = 440, is = ({
6102
6102
  if (Array.isArray(ne)) return ne;
6103
6103
  const ae = ne.value;
6104
6104
  return Array.isArray(ae) ? ae : void 0;
6105
- }), P = R(
6105
+ }), q = R(
6106
6106
  (Q) => W ? Q.getDataSet(W, "") : void 0
6107
6107
  ), Y = R(
6108
6108
  (Q) => V ? Q.getDataSet(V, "") : void 0
6109
6109
  ), H = R(
6110
6110
  (Q) => _ ? Q.getDataSet(_, "") : void 0
6111
- ), ie = m(() => n ? B ?? T ?? [] : $ ? B ?? [] : T ?? [], [n, $, B, T]), ue = P, Z = Y, se = H, fe = K(
6111
+ ), ie = m(() => n ? B ?? k ?? [] : $ ? B ?? [] : k ?? [], [n, $, B, k]), ue = q, Z = Y, se = H, fe = K(
6112
6112
  (Q, ne) => {
6113
6113
  if (d) {
6114
6114
  d(Q, ne);
@@ -6135,7 +6135,7 @@ const dn = 420, er = 440, is = ({
6135
6135
  _ && L(_, "", Q), s && e && F(e, oe(s, { expandedKeys: Q, expanded: ne.expanded }));
6136
6136
  },
6137
6137
  [S, _, e, L, s, F]
6138
- ), q = K(
6138
+ ), P = K(
6139
6139
  (Q) => {
6140
6140
  if (g) {
6141
6141
  g(Q);
@@ -6208,12 +6208,12 @@ const dn = 420, er = 440, is = ({
6208
6208
  },
6209
6209
  [M, u, e, F]
6210
6210
  ), Me = m(() => {
6211
- if (!k) return;
6211
+ if (!T) return;
6212
6212
  const Q = {};
6213
- return Object.entries(k).forEach(([ne, ae]) => {
6213
+ return Object.entries(T).forEach(([ne, ae]) => {
6214
6214
  ae !== "" && ae !== void 0 && ae !== null && (Q[ne] = ae);
6215
6215
  }), Object.keys(Q).length > 0 ? Q : void 0;
6216
- }, [k]), Ve = m(() => {
6216
+ }, [T]), Ve = m(() => {
6217
6217
  const Q = {};
6218
6218
  return n && (Q.motion = !1), Me && (Q.components = { Tree: Me }), Object.keys(Q).length > 0 ? Q : void 0;
6219
6219
  }, [n, Me]), Qe = /* @__PURE__ */ p(
@@ -6228,7 +6228,7 @@ const dn = 420, er = 440, is = ({
6228
6228
  onSelect: fe,
6229
6229
  onCheck: de,
6230
6230
  onExpand: ee,
6231
- onDragEnd: q,
6231
+ onDragEnd: P,
6232
6232
  onDragEnter: te,
6233
6233
  onDragLeave: he,
6234
6234
  onDragOver: ge,
@@ -6314,17 +6314,17 @@ const dn = 420, er = 440, is = ({
6314
6314
  token: b,
6315
6315
  ...u
6316
6316
  }) => {
6317
- const d = R((k) => k.addCommand), l = R((k) => k.getDataSet), S = R((k) => k.setDataSet), g = m(
6317
+ const d = R((T) => T.addCommand), l = R((T) => T.getDataSet), S = R((T) => T.setDataSet), g = m(
6318
6318
  () => ye(e, r),
6319
6319
  [e, r]
6320
6320
  ), C = m(() => {
6321
6321
  if (g && i) return l(g, i);
6322
- }, [g, i, l]), D = m(() => C ?? s ?? 0, [C, s]), A = m(() => y ?? f, [y, f]), x = m(() => h ?? v, [h, v]), N = m(() => fn(c, []), [c]), j = m(() => fn(w, {}), [w]), M = m(() => fn(b, {}), [b]), T = K((k) => {
6322
+ }, [g, i, l]), D = m(() => C ?? s ?? 0, [C, s]), A = m(() => y ?? f, [y, f]), x = m(() => h ?? v, [h, v]), N = m(() => fn(c, []), [c]), j = m(() => fn(w, {}), [w]), M = m(() => fn(b, {}), [b]), k = K((T) => {
6323
6323
  if (a) {
6324
- a(k);
6324
+ a(T);
6325
6325
  return;
6326
6326
  }
6327
- g && i && S(g, i, k), o && e && d(e, oe(o, k));
6327
+ g && i && S(g, i, T), o && e && d(e, oe(o, T));
6328
6328
  }, [a, g, i, S, o, e, d]), E = Object.keys(M).length > 0, O = /* @__PURE__ */ p(
6329
6329
  ai,
6330
6330
  {
@@ -6334,7 +6334,7 @@ const dn = 420, er = 440, is = ({
6334
6334
  styles: j,
6335
6335
  orientation: A,
6336
6336
  titlePlacement: x,
6337
- onChange: T
6337
+ onChange: k
6338
6338
  }
6339
6339
  );
6340
6340
  return E ? /* @__PURE__ */ p(Je, { theme: { components: { Steps: M } }, children: O }) : O;
@@ -6561,8 +6561,8 @@ const al = ({
6561
6561
  "textFontSizeSM",
6562
6562
  "groupOverlapping"
6563
6563
  ].includes(j)) {
6564
- const T = typeof M == "string" ? parseInt(M, 10) : M;
6565
- isNaN(T) || (N[j] = T);
6564
+ const k = typeof M == "string" ? parseInt(M, 10) : M;
6565
+ isNaN(k) || (N[j] = k);
6566
6566
  } else
6567
6567
  N[j] = M;
6568
6568
  }), Object.keys(N).length > 0 ? N : void 0;
@@ -6608,7 +6608,7 @@ const al = ({
6608
6608
  const b = ut(o, a, e), u = b.dataSet, d = b.dataSetField, l = b.sessionId, S = m(
6609
6609
  () => ye(l, u),
6610
6610
  [l, u]
6611
- ), { options: g } = qt(s), C = m(() => {
6611
+ ), { options: g } = Pt(s), C = m(() => {
6612
6612
  if (f) {
6613
6613
  if (typeof f == "string")
6614
6614
  try {
@@ -6640,11 +6640,11 @@ const al = ({
6640
6640
  return D && typeof D == "object" && Object.keys(D).forEach((F) => {
6641
6641
  !["content", "color"].includes(F) && D[F] !== void 0 && D[F] !== null && (z[F] = D[F]);
6642
6642
  }), z;
6643
- }, [w, D]), T = m(() => {
6643
+ }, [w, D]), k = m(() => {
6644
6644
  const { bordered: z, ...F } = M;
6645
6645
  return F;
6646
- }, [M]), E = (D == null ? void 0 : D.color) ?? y, k = an(E) || j;
6647
- return /* @__PURE__ */ p(mr, { ...T, color: k, children: N || r });
6646
+ }, [M]), E = (D == null ? void 0 : D.color) ?? y, T = an(E) || j;
6647
+ return /* @__PURE__ */ p(mr, { ...k, color: T, children: N || r });
6648
6648
  };
6649
6649
  function nr(t, e) {
6650
6650
  const n = Number(t ?? e ?? 10);
@@ -6671,19 +6671,19 @@ const ll = ({
6671
6671
  [e, r]
6672
6672
  ), l = i ?? (d ? "" : void 0), S = m(() => ({}), []), g = R((M) => {
6673
6673
  if (!d) return S;
6674
- const T = M.getDataSet(d, l ?? "");
6675
- return T != null && typeof T == "object" ? T : S;
6674
+ const k = M.getDataSet(d, l ?? "");
6675
+ return k != null && typeof k == "object" ? k : S;
6676
6676
  }), C = nr(y, h), D = g.current ?? f ?? 1, A = g.pageSize ?? C, x = g.total ?? v ?? 0;
6677
6677
  je(() => {
6678
6678
  if (!d || l === void 0) return;
6679
- const M = l ?? "", { getDataSet: T, setDataSet: E } = R.getState(), O = T(d, M), k = nr(y, h);
6679
+ const M = l ?? "", { getDataSet: k, setDataSet: E } = R.getState(), O = k(d, M), T = nr(y, h);
6680
6680
  if (O == null || typeof O != "object" || Array.isArray(O)) {
6681
6681
  E(
6682
6682
  d,
6683
6683
  M,
6684
6684
  {
6685
6685
  current: f ?? 1,
6686
- pageSize: k,
6686
+ pageSize: T,
6687
6687
  total: v ?? 0
6688
6688
  },
6689
6689
  !1
@@ -6696,7 +6696,7 @@ const ll = ({
6696
6696
  M,
6697
6697
  {
6698
6698
  ...O,
6699
- pageSize: k,
6699
+ pageSize: T,
6700
6700
  current: O.current ?? f ?? 1,
6701
6701
  total: O.total ?? v ?? 0
6702
6702
  },
@@ -6710,18 +6710,18 @@ const ll = ({
6710
6710
  h,
6711
6711
  v
6712
6712
  ]);
6713
- const N = K((M, T) => {
6713
+ const N = K((M, k) => {
6714
6714
  if (s) {
6715
- s(M, T);
6715
+ s(M, k);
6716
6716
  return;
6717
6717
  }
6718
- d && u(d, l ?? "", { current: M, pageSize: T, total: x }), o && e && b(e, oe(o, { page: M, pageSize: T }));
6719
- }, [s, d, l, u, x, o, e, b]), j = K((M, T) => {
6718
+ d && u(d, l ?? "", { current: M, pageSize: k, total: x }), o && e && b(e, oe(o, { page: M, pageSize: k }));
6719
+ }, [s, d, l, u, x, o, e, b]), j = K((M, k) => {
6720
6720
  if (c) {
6721
- c(M, T);
6721
+ c(M, k);
6722
6722
  return;
6723
6723
  }
6724
- d && u(d, l ?? "", { current: M, pageSize: T, total: x }), a && e && b(e, oe(a, { current: M, pageSize: T }));
6724
+ d && u(d, l ?? "", { current: M, pageSize: k, total: x }), a && e && b(e, oe(a, { current: M, pageSize: k }));
6725
6725
  }, [c, d, l, u, x, a, e, b]);
6726
6726
  return /* @__PURE__ */ p(
6727
6727
  yr,
@@ -6734,7 +6734,7 @@ const ll = ({
6734
6734
  onShowSizeChange: j,
6735
6735
  showTotal: m(() => {
6736
6736
  const M = w.showTotal;
6737
- return typeof M == "string" ? (T, E) => M.replace("${total}", String(T)).replace("${range[0]}", String(E[0])).replace("${range[1]}", String(E[1])).replace("${range}", `${E[0]}-${E[1]}`) : M;
6737
+ return typeof M == "string" ? (k, E) => M.replace("${total}", String(k)).replace("${range[0]}", String(E[0])).replace("${range[1]}", String(E[1])).replace("${range}", `${E[0]}-${E[1]}`) : M;
6738
6738
  }, [w.showTotal])
6739
6739
  }
6740
6740
  );
@@ -6746,13 +6746,13 @@ const ll = ({
6746
6746
  children: i,
6747
6747
  ...o
6748
6748
  }) => /* @__PURE__ */ p(li, { ...o, items: r, children: i }), Jt = (t) => Object.entries(t).map(([e, n]) => `${e.replace(/([A-Z])/g, "-$1").toLowerCase()}: ${n}`).join("; "), As = ({ mode: t, arrowStyle: e, arrowIconPrev: n, arrowIconNext: r, children: i }) => {
6749
- const o = Pe(null), a = Pe(null), [s, c] = De(0), [f, y] = De(!1), [v, h] = De(0), [w, b] = De(0), u = t === "horizontal";
6749
+ const o = qe(null), a = qe(null), [s, c] = De(0), [f, y] = De(!1), [v, h] = De(0), [w, b] = De(0), u = t === "horizontal";
6750
6750
  je(() => {
6751
6751
  const A = () => {
6752
6752
  if (!o.current || !a.current) return;
6753
6753
  const N = o.current, j = a.current;
6754
- let M = 0, T = 0, E = !1;
6755
- u ? (M = N.clientWidth, T = j.scrollWidth, E = T > M) : (M = N.clientHeight, T = j.scrollHeight, E = T > M), b(M), h(T), y(E), E || c(0);
6754
+ let M = 0, k = 0, E = !1;
6755
+ u ? (M = N.clientWidth, k = j.scrollWidth, E = k > M) : (M = N.clientHeight, k = j.scrollHeight, E = k > M), b(M), h(k), y(E), E || c(0);
6756
6756
  }, x = new ResizeObserver(A);
6757
6757
  return o.current && x.observe(o.current), a.current && x.observe(a.current), A(), () => x.disconnect();
6758
6758
  }, [u]);
@@ -6762,10 +6762,10 @@ const ll = ({
6762
6762
  const A = u ? ((x = o.current) == null ? void 0 : x.clientWidth) ?? 200 : ((N = o.current) == null ? void 0 : N.clientHeight) ?? 200;
6763
6763
  c((j) => Math.max(0, j - A));
6764
6764
  }, [u, d]), g = K(() => {
6765
- var N, j, M, T, E, O;
6765
+ var N, j, M, k, E, O;
6766
6766
  if (l) return;
6767
- const A = u ? ((N = o.current) == null ? void 0 : N.clientWidth) ?? 200 : ((j = o.current) == null ? void 0 : j.clientHeight) ?? 200, x = u ? (((M = a.current) == null ? void 0 : M.scrollWidth) ?? 0) - (((T = o.current) == null ? void 0 : T.clientWidth) ?? 0) : (((E = a.current) == null ? void 0 : E.scrollHeight) ?? 0) - (((O = o.current) == null ? void 0 : O.clientHeight) ?? 0);
6768
- c((k) => Math.min(x, k + A));
6767
+ const A = u ? ((N = o.current) == null ? void 0 : N.clientWidth) ?? 200 : ((j = o.current) == null ? void 0 : j.clientHeight) ?? 200, x = u ? (((M = a.current) == null ? void 0 : M.scrollWidth) ?? 0) - (((k = o.current) == null ? void 0 : k.clientWidth) ?? 0) : (((E = a.current) == null ? void 0 : E.scrollHeight) ?? 0) - (((O = o.current) == null ? void 0 : O.clientHeight) ?? 0);
6768
+ c((T) => Math.min(x, T + A));
6769
6769
  }, [u, l]), C = n || (u ? /* @__PURE__ */ p(wr, {}) : /* @__PURE__ */ p(Oi, {})), D = r || (u ? /* @__PURE__ */ p(Ar, {}) : /* @__PURE__ */ p(xr, {}));
6770
6770
  return /* @__PURE__ */ be(
6771
6771
  "div",
@@ -6885,10 +6885,10 @@ const ll = ({
6885
6885
  openKeysDataSetField: N,
6886
6886
  mode: j,
6887
6887
  inlineCollapsed: M,
6888
- remoteUrl: T,
6888
+ remoteUrl: k,
6889
6889
  overflowStrategy: E = "default",
6890
6890
  paginationArrowStyle: O,
6891
- paginationArrowIconPrev: k,
6891
+ paginationArrowIconPrev: T,
6892
6892
  paginationArrowIconNext: z,
6893
6893
  expandTrigger: F,
6894
6894
  // 仅设计器/业务用,不传给 DOM,避免 React 警告
@@ -6902,13 +6902,13 @@ const ll = ({
6902
6902
  var G;
6903
6903
  return W && e ? ((G = re.propsStore[`${e}_props`]) == null ? void 0 : G[W]) ?? null : null;
6904
6904
  }
6905
- ), _ = R((re) => re.addCommand), B = R((re) => re.setDataSet), P = m(
6905
+ ), _ = R((re) => re.addCommand), B = R((re) => re.setDataSet), q = m(
6906
6906
  () => ye(e, r),
6907
6907
  [e, r]
6908
6908
  ), Y = R(
6909
6909
  (re) => {
6910
- if (P)
6911
- return i ? re.getDataSet(P, i) : re.dataSets[P];
6910
+ if (q)
6911
+ return i ? re.getDataSet(q, i) : re.dataSets[q];
6912
6912
  }
6913
6913
  // 使用 shallow 比较确保只有通过内容变更才触发更新
6914
6914
  // 如果找不到依赖包,可以自定义一个简单的浅比较函数或暂时使用 strict equality (默认)
@@ -6919,7 +6919,7 @@ const ll = ({
6919
6919
  ), H = m(() => ({}), []), ie = Y ?? H, ue = m(
6920
6920
  () => (ie == null ? void 0 : ie.items) ?? (Array.isArray(ie) ? ie : void 0) ?? (Array.isArray(ie == null ? void 0 : ie.value) ? ie.value : void 0),
6921
6921
  [ie]
6922
- ), Z = m(() => n ? ue ?? b ?? [] : P ? ue ?? [] : b ?? [], [n, P, ue, b]), se = m(
6922
+ ), Z = m(() => n ? ue ?? b ?? [] : q ? ue ?? [] : b ?? [], [n, q, ue, b]), se = m(
6923
6923
  () => (V == null ? void 0 : V.selectedKeys) ?? ie.selectedKeys ?? u,
6924
6924
  [V == null ? void 0 : V.selectedKeys, ie.selectedKeys, u]
6925
6925
  ), fe = m(
@@ -6937,7 +6937,7 @@ const ll = ({
6937
6937
  ), ee = R((re) => {
6938
6938
  if (!ie.openKeys && de && N)
6939
6939
  return re.getDataSet(de, N);
6940
- }), q = m(() => {
6940
+ }), P = m(() => {
6941
6941
  const re = (G) => Array.isArray(G) ? G.map((J) => {
6942
6942
  const ve = { ...J };
6943
6943
  if (ve.icon && typeof ve.icon == "string") {
@@ -6971,12 +6971,12 @@ const ll = ({
6971
6971
  v(re);
6972
6972
  return;
6973
6973
  }
6974
- if (P)
6974
+ if (q)
6975
6975
  if (i) {
6976
- const G = R.getState().getDataSet(P, i) || {};
6977
- B(P, i, { ...G, selectedKeys: re.selectedKeys });
6976
+ const G = R.getState().getDataSet(q, i) || {};
6977
+ B(q, i, { ...G, selectedKeys: re.selectedKeys });
6978
6978
  } else
6979
- B(P, "selectedKeys", re.selectedKeys);
6979
+ B(q, "selectedKeys", re.selectedKeys);
6980
6980
  s && e && _(
6981
6981
  e,
6982
6982
  oe(s, { selectedKeys: re.selectedKeys })
@@ -6984,7 +6984,7 @@ const ll = ({
6984
6984
  },
6985
6985
  [
6986
6986
  v,
6987
- P,
6987
+ q,
6988
6988
  i,
6989
6989
  B,
6990
6990
  s,
@@ -6997,12 +6997,12 @@ const ll = ({
6997
6997
  h(re);
6998
6998
  return;
6999
6999
  }
7000
- if (P)
7000
+ if (q)
7001
7001
  if (i) {
7002
- const G = R.getState().getDataSet(P, i) || {};
7003
- B(P, i, { ...G, openKeys: re });
7002
+ const G = R.getState().getDataSet(q, i) || {};
7003
+ B(q, i, { ...G, openKeys: re });
7004
7004
  } else
7005
- B(P, "openKeys", re);
7005
+ B(q, "openKeys", re);
7006
7006
  else de && N && B(de, N, re);
7007
7007
  c && e && _(
7008
7008
  e,
@@ -7011,7 +7011,7 @@ const ll = ({
7011
7011
  },
7012
7012
  [
7013
7013
  h,
7014
- P,
7014
+ q,
7015
7015
  i,
7016
7016
  de,
7017
7017
  N,
@@ -7057,12 +7057,12 @@ const ll = ({
7057
7057
  }, [g]), we = n ? {
7058
7058
  motion: { motionName: "" }
7059
7059
  } : {}, Qe = m(() => {
7060
- if (typeof k == "string" && k) {
7061
- const re = lt[k];
7060
+ if (typeof T == "string" && T) {
7061
+ const re = lt[T];
7062
7062
  if (re) return /* @__PURE__ */ p(re, {});
7063
7063
  }
7064
- return k;
7065
- }, [k]), Q = m(() => {
7064
+ return T;
7065
+ }, [T]), Q = m(() => {
7066
7066
  if (typeof z == "string" && z) {
7067
7067
  const re = lt[z];
7068
7068
  if (re) return /* @__PURE__ */ p(re, {});
@@ -7099,7 +7099,7 @@ const ll = ({
7099
7099
  ...Ee,
7100
7100
  ...we,
7101
7101
  mode: j,
7102
- items: q,
7102
+ items: P,
7103
7103
  selectedKeys: te,
7104
7104
  openKeys: he,
7105
7105
  defaultOpenKeys: l,
@@ -7303,7 +7303,7 @@ const ll = ({
7303
7303
  var $;
7304
7304
  return D ? (($ = L.propsStore[`${d}_props`]) == null ? void 0 : $[D]) ?? null : null;
7305
7305
  }
7306
- ), x = m(() => C && Array.isArray(C) ? C : Ds(o), [C, o]), N = (A == null ? void 0 : A.columns) !== void 0 && (A == null ? void 0 : A.columns) !== null ? A.columns : a, j = m(() => Cs(N), [N]), M = m(() => Ns(s), [s]), T = m(() => {
7306
+ ), x = m(() => C && Array.isArray(C) ? C : Ds(o), [C, o]), N = (A == null ? void 0 : A.columns) !== void 0 && (A == null ? void 0 : A.columns) !== null ? A.columns : a, j = m(() => Cs(N), [N]), M = m(() => Ns(s), [s]), k = m(() => {
7307
7307
  if (y) return y;
7308
7308
  if (f && d)
7309
7309
  return (L) => {
@@ -7343,7 +7343,7 @@ const ll = ({
7343
7343
  }
7344
7344
  );
7345
7345
  };
7346
- }, [v, n]), k = m(() => {
7346
+ }, [v, n]), T = m(() => {
7347
7347
  if (O)
7348
7348
  return !b || !u ? O : (L, $) => {
7349
7349
  const W = typeof $ == "number" ? $ : typeof (L == null ? void 0 : L.index) == "number" ? L.index : Number((L == null ? void 0 : L.index) ?? 0);
@@ -7374,8 +7374,8 @@ const ll = ({
7374
7374
  columns: j,
7375
7375
  gutter: M,
7376
7376
  fresh: c,
7377
- itemRender: k,
7378
- onLayoutChange: T
7377
+ itemRender: T,
7378
+ onLayoutChange: k
7379
7379
  }
7380
7380
  );
7381
7381
  }, gl = ({
@@ -7564,7 +7564,7 @@ const ll = ({
7564
7564
  const x = R((H) => H.addCommand), N = R((H) => H.getDataSet), j = R((H) => H.setDataSet), M = m(
7565
7565
  () => ye(e, r),
7566
7566
  [e, r]
7567
- ), T = C === "default" ? "medium" : C, E = m(() => {
7567
+ ), k = C === "default" ? "medium" : C, E = m(() => {
7568
7568
  const H = Dn(u, {});
7569
7569
  return Object.fromEntries(
7570
7570
  Object.entries(H).map(([ie, ue]) => [
@@ -7595,17 +7595,17 @@ const ll = ({
7595
7595
  se.push(de);
7596
7596
  return;
7597
7597
  }
7598
- const ee = de.props, q = ee["data-slot-type"];
7599
- q === "title" && !o ? H = de : q === "extra" && !a ? ie = de : q === "cover" && !s ? ue = de : q === "actions" && !f ? (Z = [de], fe = !0) : q === "body" && ee.children ? se.push(ee.children) : se.push(de);
7598
+ const ee = de.props, P = ee["data-slot-type"];
7599
+ P === "title" && !o ? H = de : P === "extra" && !a ? ie = de : P === "cover" && !s ? ue = de : P === "actions" && !f ? (Z = [de], fe = !0) : P === "body" && ee.children ? se.push(ee.children) : se.push(de);
7600
7600
  }), { titleSlot: H, extraSlot: ie, coverSlot: ue, actionsSlot: Z, otherChildren: se, actionsFromChildren: fe };
7601
- }, [D, o, a, s, f]), P = m(() => {
7601
+ }, [D, o, a, s, f]), q = m(() => {
7602
7602
  const H = Dn(d, {});
7603
7603
  return B ? { actionsLiMargin: "0px", ...H } : H;
7604
7604
  }, [d, B]), Y = /* @__PURE__ */ p(
7605
7605
  hn,
7606
7606
  {
7607
7607
  ...A,
7608
- size: T,
7608
+ size: k,
7609
7609
  title: L,
7610
7610
  extra: $,
7611
7611
  cover: W,
@@ -7619,7 +7619,7 @@ const ll = ({
7619
7619
  children: _
7620
7620
  }
7621
7621
  );
7622
- return P && Object.keys(P).length > 0 ? /* @__PURE__ */ p(Je, { theme: { components: { Card: P } }, children: Y }) : Y;
7622
+ return q && Object.keys(q).length > 0 ? /* @__PURE__ */ p(Je, { theme: { components: { Card: q } }, children: Y }) : Y;
7623
7623
  }, wl = ({
7624
7624
  id: t,
7625
7625
  sessionId: e,
@@ -7675,26 +7675,26 @@ const ll = ({
7675
7675
  index: b,
7676
7676
  ...u
7677
7677
  }) => {
7678
- const d = R((T) => T.addCommand), l = et(Ze), S = b ?? (l == null ? void 0 : l.index), g = l == null ? void 0 : l.parentIndex, C = m(
7678
+ const d = R((k) => k.addCommand), l = et(Ze), S = b ?? (l == null ? void 0 : l.index), g = l == null ? void 0 : l.parentIndex, C = m(
7679
7679
  () => ye(e, r),
7680
7680
  [e, r]
7681
- ), D = R((T) => {
7681
+ ), D = R((k) => {
7682
7682
  if (C)
7683
- return i ? T.getDataSet(C, i) : T.dataSets[C];
7683
+ return i ? k.getDataSet(C, i) : k.dataSets[C];
7684
7684
  }), A = m(() => {
7685
7685
  if (D == null) return;
7686
7686
  if (Array.isArray(D)) return D;
7687
- const T = D;
7688
- if (Array.isArray(T == null ? void 0 : T.items)) return T.items;
7689
- if (Array.isArray(T == null ? void 0 : T.value)) return T.value;
7687
+ const k = D;
7688
+ if (Array.isArray(k == null ? void 0 : k.items)) return k.items;
7689
+ if (Array.isArray(k == null ? void 0 : k.value)) return k.value;
7690
7690
  }, [D]), x = m(() => n ? A ?? rr(a) ?? [] : C ? A ?? [] : rr(a) ?? [], [n, C, A, a]), N = K(
7691
- (T, E) => {
7691
+ (k, E) => {
7692
7692
  if (v) {
7693
- v(T, E);
7693
+ v(k, E);
7694
7694
  return;
7695
7695
  }
7696
7696
  if (y && e) {
7697
- const { actionName: O, arg: k } = At(y, T, {
7697
+ const { actionName: O, arg: T } = At(y, k, {
7698
7698
  id: t,
7699
7699
  dataSet: r,
7700
7700
  dataSetField: i,
@@ -7702,7 +7702,7 @@ const ll = ({
7702
7702
  parentIndex: g,
7703
7703
  source: E.source
7704
7704
  });
7705
- d(e, oe(O, k));
7705
+ d(e, oe(O, T));
7706
7706
  }
7707
7707
  },
7708
7708
  [
@@ -7719,46 +7719,46 @@ const ll = ({
7719
7719
  ), j = m(
7720
7720
  () => ({
7721
7721
  items: Fr(x),
7722
- onClick: (T) => {
7722
+ onClick: (k) => {
7723
7723
  if (s && e) {
7724
- const { actionName: E, arg: O } = At(s, T.key, {
7724
+ const { actionName: E, arg: O } = At(s, k.key, {
7725
7725
  id: t,
7726
7726
  dataSet: r,
7727
7727
  dataSetField: i,
7728
7728
  index: S,
7729
7729
  parentIndex: g,
7730
- key: T.key,
7731
- keyPath: T.keyPath
7730
+ key: k.key,
7731
+ keyPath: k.keyPath
7732
7732
  });
7733
7733
  d(e, oe(E, O));
7734
7734
  }
7735
7735
  },
7736
- onSelect: (T) => {
7736
+ onSelect: (k) => {
7737
7737
  if (c && e) {
7738
- const { actionName: E, arg: O } = At(c, T.key, {
7738
+ const { actionName: E, arg: O } = At(c, k.key, {
7739
7739
  id: t,
7740
7740
  dataSet: r,
7741
7741
  dataSetField: i,
7742
7742
  index: S,
7743
7743
  parentIndex: g,
7744
- key: T.key,
7745
- keyPath: T.keyPath,
7746
- selectedKeys: T.selectedKeys
7744
+ key: k.key,
7745
+ keyPath: k.keyPath,
7746
+ selectedKeys: k.selectedKeys
7747
7747
  });
7748
7748
  d(e, oe(E, O));
7749
7749
  }
7750
7750
  },
7751
- onDeselect: (T) => {
7751
+ onDeselect: (k) => {
7752
7752
  if (f && e) {
7753
- const { actionName: E, arg: O } = At(f, T.key, {
7753
+ const { actionName: E, arg: O } = At(f, k.key, {
7754
7754
  id: t,
7755
7755
  dataSet: r,
7756
7756
  dataSetField: i,
7757
7757
  index: S,
7758
7758
  parentIndex: g,
7759
- key: T.key,
7760
- keyPath: T.keyPath,
7761
- selectedKeys: T.selectedKeys
7759
+ key: k.key,
7760
+ keyPath: k.keyPath,
7761
+ selectedKeys: k.selectedKeys
7762
7762
  });
7763
7763
  d(e, oe(E, O));
7764
7764
  }
@@ -7903,18 +7903,18 @@ const ll = ({
7903
7903
  },
7904
7904
  [v, f, e, l]
7905
7905
  ), N = () => b && Xe.Children.count(b) > 0 ? Xe.Children.map(b, (E, O) => {
7906
- const k = S[O] || {};
7906
+ const T = S[O] || {};
7907
7907
  return /* @__PURE__ */ p(
7908
7908
  cn.Panel,
7909
7909
  {
7910
- defaultSize: k.defaultSize,
7911
- min: k.min,
7912
- max: k.max,
7913
- collapsible: k.collapsible,
7914
- resizable: k.resizable !== !1,
7910
+ defaultSize: T.defaultSize,
7911
+ min: T.min,
7912
+ max: T.max,
7913
+ collapsible: T.collapsible,
7914
+ resizable: T.resizable !== !1,
7915
7915
  children: E
7916
7916
  },
7917
- k.key || O
7917
+ T.key || O
7918
7918
  );
7919
7919
  }) : S.map((E, O) => /* @__PURE__ */ p(
7920
7920
  cn.Panel,
@@ -7943,7 +7943,7 @@ const ll = ({
7943
7943
  )
7944
7944
  },
7945
7945
  E.key || O
7946
- )), { layout: j, ...M } = d, T = /* @__PURE__ */ p("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p(
7946
+ )), { layout: j, ...M } = d, k = /* @__PURE__ */ p("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p(
7947
7947
  cn,
7948
7948
  {
7949
7949
  ...M,
@@ -7959,7 +7959,7 @@ const ll = ({
7959
7959
  },
7960
7960
  i
7961
7961
  ) });
7962
- return g && Object.keys(g).length > 0 ? /* @__PURE__ */ p(Je, { theme: { components: { Splitter: g } }, children: T }) : T;
7962
+ return g && Object.keys(g).length > 0 ? /* @__PURE__ */ p(Je, { theme: { components: { Splitter: g } }, children: k }) : k;
7963
7963
  }, kl = ({
7964
7964
  children: t,
7965
7965
  className: e,
@@ -8010,13 +8010,13 @@ const ll = ({
8010
8010
  }, [g]), A = R((F) => F.getDataSet), x = m(
8011
8011
  () => ye(e, r),
8012
8012
  [e, r]
8013
- ), [N, j] = De(1), [M, T] = De(h), E = m(() => {
8013
+ ), [N, j] = De(1), [M, k] = De(h), E = m(() => {
8014
8014
  if (x && i) {
8015
8015
  const F = A(x, i);
8016
8016
  return Array.isArray(F) ? F : [];
8017
8017
  }
8018
8018
  return [];
8019
- }, [x, i, A]), O = m(() => n ? E.length > 0 ? E : s || [] : x ? E : s || [], [n, x, E, s]), k = m(() => {
8019
+ }, [x, i, A]), O = m(() => n ? E.length > 0 ? E : s || [] : x ? E : s || [], [n, x, E, s]), T = m(() => {
8020
8020
  let F = O;
8021
8021
  if (!v) {
8022
8022
  const L = (N - 1) * M, $ = L + M;
@@ -8027,10 +8027,10 @@ const ll = ({
8027
8027
  if (!O || O.length === 0)
8028
8028
  return a ? /* @__PURE__ */ p(Et, { children: a() }) : /* @__PURE__ */ p("div", { style: { textAlign: "center", padding: "20px", color: "#999" }, children: "暂无数据" });
8029
8029
  const z = (F, L) => {
8030
- j(F), L && T(L);
8030
+ j(F), L && k(L);
8031
8031
  };
8032
8032
  return /* @__PURE__ */ be("div", { style: { display: "flex", flexDirection: "column", ...f }, children: [
8033
- /* @__PURE__ */ p("div", { style: { flex: 1 }, children: k.map((F, L) => /* @__PURE__ */ p(Xe.Fragment, { children: o ? o(F, L) : /* @__PURE__ */ p("div", { style: { padding: "8px", borderBottom: "1px solid #f0f0f0" }, children: JSON.stringify(F) }) }, F.id || L)) }),
8033
+ /* @__PURE__ */ p("div", { style: { flex: 1 }, children: T.map((F, L) => /* @__PURE__ */ p(Xe.Fragment, { children: o ? o(F, L) : /* @__PURE__ */ p("div", { style: { padding: "8px", borderBottom: "1px solid #f0f0f0" }, children: JSON.stringify(F) }) }, F.id || L)) }),
8034
8034
  !v && O.length > 0 && /* @__PURE__ */ p("div", { style: { display: "flex", justifyContent: "flex-end", marginTop: 16 }, children: /* @__PURE__ */ p(
8035
8035
  yr,
8036
8036
  {
@@ -8205,10 +8205,10 @@ const ll = ({
8205
8205
  placeholderFlexDirection: y = "column",
8206
8206
  index: v
8207
8207
  }) => {
8208
- var M, T, E, O;
8208
+ var M, k, E, O;
8209
8209
  const h = et(Ze), { storeBaseKey: w, arrayIndex: b } = m(() => {
8210
8210
  if (!n) return { storeBaseKey: void 0, arrayIndex: null };
8211
- const k = n.split(".")[0], { baseName: z, index: F } = $t(k);
8211
+ const T = n.split(".")[0], { baseName: z, index: F } = $t(T);
8212
8212
  let L = F;
8213
8213
  if (L === null && v !== void 0 && v !== null) {
8214
8214
  const $ = Number(v);
@@ -8227,9 +8227,9 @@ const ll = ({
8227
8227
  storeBaseKey: ye(r, z),
8228
8228
  arrayIndex: L
8229
8229
  };
8230
- }, [n, r, v, h]), u = R((k) => {
8230
+ }, [n, r, v, h]), u = R((T) => {
8231
8231
  if (!w) return null;
8232
- const z = k.dataSets[w];
8232
+ const z = T.dataSets[w];
8233
8233
  if (b !== null) {
8234
8234
  const F = z == null ? void 0 : z.value;
8235
8235
  if (!Array.isArray(F))
@@ -8256,10 +8256,10 @@ const ll = ({
8256
8256
  };
8257
8257
  }
8258
8258
  return { componentName: "", props: {} };
8259
- }, [n, r, u]), l = ((M = d.props) == null ? void 0 : M.inheritDataSet) !== void 0 ? String((T = d.props) == null ? void 0 : T.inheritDataSet) : void 0, S = ((E = d.props) == null ? void 0 : E.inheritDataSetFieldRoot) !== void 0 ? String((O = d.props) == null ? void 0 : O.inheritDataSetFieldRoot) : void 0, g = d.componentName || t, C = m(() => ({
8259
+ }, [n, r, u]), l = ((M = d.props) == null ? void 0 : M.inheritDataSet) !== void 0 ? String((k = d.props) == null ? void 0 : k.inheritDataSet) : void 0, S = ((E = d.props) == null ? void 0 : E.inheritDataSetFieldRoot) !== void 0 ? String((O = d.props) == null ? void 0 : O.inheritDataSetFieldRoot) : void 0, g = d.componentName || t, C = m(() => ({
8260
8260
  // inheritDataSet 只用于给后代提供 DataSetInheritContext,不应透传给具体组件。
8261
8261
  ...d.props ? (() => {
8262
- const { inheritDataSet: k, inheritDataSetFieldRoot: z, ...F } = d.props;
8262
+ const { inheritDataSet: T, inheritDataSetFieldRoot: z, ...F } = d.props;
8263
8263
  return F;
8264
8264
  })() : {},
8265
8265
  ...v !== void 0 ? { index: v } : {},
@@ -8268,7 +8268,7 @@ const ll = ({
8268
8268
  }), [d.props, e, r, v]), D = m(() => {
8269
8269
  var W, V;
8270
8270
  if (!l) return null;
8271
- const k = !!S && S.trim().startsWith("["), z = (W = d.props) == null ? void 0 : W.index, F = k ? void 0 : typeof z == "number" && Number.isFinite(z) ? z : b !== null ? b : void 0, L = (V = d.props) == null ? void 0 : V.parentIndex;
8271
+ const T = !!S && S.trim().startsWith("["), z = (W = d.props) == null ? void 0 : W.index, F = T ? void 0 : typeof z == "number" && Number.isFinite(z) ? z : b !== null ? b : void 0, L = (V = d.props) == null ? void 0 : V.parentIndex;
8272
8272
  let $;
8273
8273
  if (typeof L == "number" && Number.isFinite(L))
8274
8274
  $ = L;
@@ -8286,7 +8286,7 @@ const ll = ({
8286
8286
  };
8287
8287
  }, [l, b, d.props, h, S, r]), A = f || "请配置组件";
8288
8288
  if (o) {
8289
- const k = y === "row";
8289
+ const T = y === "row";
8290
8290
  return /* @__PURE__ */ be(
8291
8291
  "div",
8292
8292
  {
@@ -8299,7 +8299,7 @@ const ll = ({
8299
8299
  flexDirection: y,
8300
8300
  alignItems: "center",
8301
8301
  justifyContent: "center",
8302
- gap: k ? 8 : 0,
8302
+ gap: T ? 8 : 0,
8303
8303
  border: "2px dashed #d9d9d9",
8304
8304
  borderRadius: 4,
8305
8305
  color: "#8c8c8c",
@@ -8307,10 +8307,10 @@ const ll = ({
8307
8307
  boxSizing: "border-box"
8308
8308
  },
8309
8309
  children: [
8310
- /* @__PURE__ */ p(Ri, { style: { fontSize: 20, flexShrink: 0, color: "#bfbfbf", ...k ? {} : { marginBottom: 4 } } }),
8310
+ /* @__PURE__ */ p(Ri, { style: { fontSize: 20, flexShrink: 0, color: "#bfbfbf", ...T ? {} : { marginBottom: 4 } } }),
8311
8311
  /* @__PURE__ */ p("div", { style: { fontWeight: 500, fontSize: 12 }, children: i || "动态容器" }),
8312
8312
  /* @__PURE__ */ p("div", { style: { fontSize: 11, opacity: 0.7 }, children: g ? `${g}` : "未配置" }),
8313
- n && /* @__PURE__ */ p("div", { style: { fontSize: 10, opacity: 0.5, marginTop: k ? 0 : 2 }, children: n })
8313
+ n && /* @__PURE__ */ p("div", { style: { fontSize: 10, opacity: 0.5, marginTop: T ? 0 : 2 }, children: n })
8314
8314
  ]
8315
8315
  }
8316
8316
  );
@@ -8490,9 +8490,9 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8490
8490
  return f;
8491
8491
  }, [l, f]), [C, D] = De(0), [A, x] = De(
8492
8492
  () => Math.max(1, a || 1)
8493
- ), N = Pe(A);
8493
+ ), N = qe(A);
8494
8494
  N.current = A;
8495
- const [j, M] = De(null), [T, E] = De(!!S), [O, k] = De("all"), [z, F] = De("width"), [L, $] = De(1), W = Pe(null), V = Pe(null), _ = Pe({}), B = Pe(!1), P = Pe(null), [Y, H] = De(600), [ie, ue] = De(800), Z = Pe(0), se = m(() => {
8495
+ const [j, M] = De(null), [k, E] = De(!!S), [O, T] = De("all"), [z, F] = De("width"), [L, $] = De(1), W = qe(null), V = qe(null), _ = qe({}), B = qe(!1), q = qe(null), [Y, H] = De(600), [ie, ue] = De(800), Z = qe(0), se = m(() => {
8496
8496
  var Se;
8497
8497
  const I = (Se = ot().pdfCMapUrl) == null ? void 0 : Se.trim();
8498
8498
  return I ? { cMapUrl: I.endsWith("/") ? I : `${I}/`, cMapPacked: !0 } : {};
@@ -8511,15 +8511,15 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8511
8511
  const Se = I.clientWidth, Oe = I.clientHeight;
8512
8512
  return Se > 0 && H(Se), Oe > 0 && ue(Oe), () => le.disconnect();
8513
8513
  }, [S]);
8514
- const ee = m(() => Math.max(240, Y - 16), [Y]), q = m(
8514
+ const ee = m(() => Math.max(240, Y - 16), [Y]), P = m(
8515
8515
  () => Math.max(320, ie - 16),
8516
8516
  [ie]
8517
8517
  ), te = m(
8518
8518
  () => Math.max(120, ee * L),
8519
8519
  [ee, L]
8520
8520
  ), he = m(
8521
- () => Math.max(180, q * L),
8522
- [q, L]
8521
+ () => Math.max(180, P * L),
8522
+ [P, L]
8523
8523
  ), ge = m(() => O === "all" ? Array.from({ length: C }, (I, le) => le + 1) : [A], [O, C, A]), X = K(
8524
8524
  (I, le) => {
8525
8525
  !u || !fe || (b(u, `${fe}.currentPage`, I), le > 0 && b(u, `${fe}.totalPages`, le));
@@ -8538,7 +8538,7 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8538
8538
  }
8539
8539
  },
8540
8540
  [C, O]
8541
- ), Te = Pe(me);
8541
+ ), Te = qe(me);
8542
8542
  Te.current = me, je(() => {
8543
8543
  const I = de;
8544
8544
  typeof I != "number" || !Number.isFinite(I) || (me(I, "auto"), u && fe && b(u, `${fe}.targetPage`, void 0));
@@ -8550,17 +8550,17 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8550
8550
  ({ numPages: I }) => {
8551
8551
  M(null), E(!1);
8552
8552
  const le = N.current, Se = Math.min(Math.max(1, le), I || 1);
8553
- D(I), x(Se), B.current = !0, P.current = Se;
8553
+ D(I), x(Se), B.current = !0, q.current = Se;
8554
8554
  },
8555
8555
  []
8556
8556
  ), Me = K((I) => {
8557
- M(I), E(!1), B.current = !1, P.current = null;
8557
+ M(I), E(!1), B.current = !1, q.current = null;
8558
8558
  }, []);
8559
8559
  je(() => {
8560
- E(!!S), M(null), $(1), D(0), B.current = !!S, P.current = null, _.current = {};
8560
+ E(!!S), M(null), $(1), D(0), B.current = !!S, q.current = null, _.current = {};
8561
8561
  }, [S]), je(() => {
8562
- const I = P.current;
8563
- if (I == null || T || C <= 0 || O !== "all") return;
8562
+ const I = q.current;
8563
+ if (I == null || k || C <= 0 || O !== "all") return;
8564
8564
  let le = !1, Se = 0;
8565
8565
  const Oe = 120, Be = () => {
8566
8566
  if (le) return;
@@ -8578,14 +8578,14 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8578
8578
  requestAnimationFrame(() => {
8579
8579
  if (le) return;
8580
8580
  const G = _.current[He];
8581
- G && G.scrollIntoView({ block: "start", behavior: "auto" }), P.current = null, requestAnimationFrame(() => {
8581
+ G && G.scrollIntoView({ block: "start", behavior: "auto" }), q.current = null, requestAnimationFrame(() => {
8582
8582
  le || (B.current = !1);
8583
8583
  });
8584
8584
  });
8585
8585
  return;
8586
8586
  }
8587
8587
  if (Se >= Oe) {
8588
- P.current = null, B.current = !1;
8588
+ q.current = null, B.current = !1;
8589
8589
  return;
8590
8590
  }
8591
8591
  requestAnimationFrame(Be);
@@ -8593,7 +8593,7 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8593
8593
  return requestAnimationFrame(Be), () => {
8594
8594
  le = !0;
8595
8595
  };
8596
- }, [T, C, O]);
8596
+ }, [k, C, O]);
8597
8597
  const Ve = K((I) => {
8598
8598
  $((le) => {
8599
8599
  const Se = Number((le + I).toFixed(2));
@@ -8619,7 +8619,7 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8619
8619
  }, []), ne = K(() => {
8620
8620
  document.fullscreenElement && document.exitFullscreen();
8621
8621
  }, []), ae = K(() => {
8622
- if (T || O !== "all" || C <= 0 || B.current) return;
8622
+ if (k || O !== "all" || C <= 0 || B.current) return;
8623
8623
  const I = V.current;
8624
8624
  if (!I) return;
8625
8625
  const le = I.scrollTop + I.clientHeight * 0.35;
@@ -8631,7 +8631,7 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8631
8631
  re < Oe && (Oe = re, Se = Be);
8632
8632
  }
8633
8633
  Se !== A && x(Se);
8634
- }, [T, O, C, A]);
8634
+ }, [k, O, C, A]);
8635
8635
  return je(() => {
8636
8636
  if (!l || typeof l != "object") return;
8637
8637
  const I = l._pdfCmdNonce, le = l.pdfCommand, Se = l.pdfCommandArg;
@@ -8665,10 +8665,10 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8665
8665
  Ve(-ar);
8666
8666
  break;
8667
8667
  case "previewSingle":
8668
- k("single");
8668
+ T("single");
8669
8669
  break;
8670
8670
  case "previewAll":
8671
- k("all");
8671
+ T("all");
8672
8672
  break;
8673
8673
  }
8674
8674
  if (e && t) {
@@ -8723,7 +8723,7 @@ const Os = 0.5, Rs = 3, ar = 0.1, jl = ({
8723
8723
  showIcon: !0
8724
8724
  }
8725
8725
  ) : S ? /* @__PURE__ */ be(Et, { children: [
8726
- T ? /* @__PURE__ */ p(
8726
+ k ? /* @__PURE__ */ p(
8727
8727
  "div",
8728
8728
  {
8729
8729
  style: {
@@ -8884,24 +8884,24 @@ function St(t, e) {
8884
8884
  animate: N,
8885
8885
  scale: j,
8886
8886
  interaction: M,
8887
- annotations: T,
8887
+ annotations: k,
8888
8888
  axis: E,
8889
8889
  scrollbar: O,
8890
- slider: k,
8890
+ slider: T,
8891
8891
  theme: z,
8892
8892
  state: F,
8893
8893
  // 事件配置
8894
8894
  events: L,
8895
8895
  // 其余配置直接透传
8896
8896
  ...$
8897
- } = a, W = Pe(null), V = R((me) => me.getDataSet), _ = R((me) => me.addCommand), B = m(() => {
8897
+ } = a, W = qe(null), V = R((me) => me.getDataSet), _ = R((me) => me.addCommand), B = m(() => {
8898
8898
  if (h && w) {
8899
8899
  const Te = V(h, w);
8900
8900
  if (Te !== void 0) return Te;
8901
8901
  }
8902
8902
  const me = ze(b);
8903
8903
  return me !== void 0 ? me : f ? i : [];
8904
- }, [b, h, w, V, f]), P = (me) => {
8904
+ }, [b, h, w, V, f]), q = (me) => {
8905
8905
  var Te;
8906
8906
  if (W.current = me, !f && c) {
8907
8907
  const Ee = ze(L);
@@ -8925,7 +8925,7 @@ function St(t, e) {
8925
8925
  ...Y,
8926
8926
  // 设计器模式禁用动画
8927
8927
  animate: f ? !1 : ze(N),
8928
- onReady: P,
8928
+ onReady: q,
8929
8929
  ...$
8930
8930
  }, ie = ze(C);
8931
8931
  ie !== void 0 && (H.title = ie);
@@ -8939,13 +8939,13 @@ function St(t, e) {
8939
8939
  fe !== void 0 && (H.scale = fe);
8940
8940
  const de = ze(M);
8941
8941
  de !== void 0 && (H.interaction = de);
8942
- const ee = ze(T);
8942
+ const ee = ze(k);
8943
8943
  ee !== void 0 && (H.annotations = ee);
8944
- const q = ze(E);
8945
- q !== void 0 && (H.axis = q);
8944
+ const P = ze(E);
8945
+ P !== void 0 && (H.axis = P);
8946
8946
  const te = ze(O);
8947
8947
  te !== void 0 && (H.scrollbar = te);
8948
- const he = ze(k);
8948
+ const he = ze(T);
8949
8949
  he !== void 0 && (H.slider = he);
8950
8950
  const ge = ze(z);
8951
8951
  ge !== void 0 && (H.theme = ge);
@@ -9020,7 +9020,7 @@ const Fs = [
9020
9020
  { type: "分类四", value: 15 },
9021
9021
  { type: "分类五", value: 10 },
9022
9022
  { type: "其他", value: 5 }
9023
- ], Ks = St(Pi, {
9023
+ ], Ks = St(qi, {
9024
9024
  chartType: "AndVPie",
9025
9025
  defaultHeight: 300,
9026
9026
  defaultData: zs
@@ -9038,7 +9038,7 @@ const Fs = [
9038
9038
  radius: r
9039
9039
  };
9040
9040
  return i !== void 0 && i > 0 && (a.innerRadius = i), /* @__PURE__ */ p(Ks, { ...a });
9041
- }, Ps = St(qi, {
9041
+ }, qs = St(Pi, {
9042
9042
  chartType: "AndVArea",
9043
9043
  defaultHeight: 300,
9044
9044
  defaultData: [
@@ -9077,8 +9077,8 @@ const Fs = [
9077
9077
  const u = ze(s);
9078
9078
  u !== void 0 && (b.line = u);
9079
9079
  const d = ze(c);
9080
- return d !== void 0 && (b.point = d), /* @__PURE__ */ p(Ps, { ...b });
9081
- }, qs = St(Wi, {
9080
+ return d !== void 0 && (b.point = d), /* @__PURE__ */ p(qs, { ...b });
9081
+ }, Ps = St(Wi, {
9082
9082
  chartType: "AndVDualAxes",
9083
9083
  defaultHeight: 300,
9084
9084
  defaultData: [
@@ -9109,13 +9109,13 @@ const Fs = [
9109
9109
  const c = ze(n);
9110
9110
  c ? s.yField = c : n && (s.yField = n), r && (s.seriesField = r), i && (s.colorField = i);
9111
9111
  const f = ze(o);
9112
- return f !== void 0 && (s.children = f), /* @__PURE__ */ p(qs, { ...s });
9112
+ return f !== void 0 && (s.children = f), /* @__PURE__ */ p(Ps, { ...s });
9113
9113
  }, Ws = St(Ii, {
9114
9114
  chartType: "AndVGauge",
9115
9115
  defaultHeight: 300,
9116
9116
  defaultData: { percent: 0.7 }
9117
9117
  // Gauge 默认数据
9118
- }), Pl = (t) => {
9118
+ }), ql = (t) => {
9119
9119
  const {
9120
9120
  ...e
9121
9121
  } = t, n = {
@@ -9127,7 +9127,7 @@ const Fs = [
9127
9127
  defaultHeight: 300,
9128
9128
  defaultData: 0.25
9129
9129
  // Liquid 默认 percent (注意:Liquid 数据直接作为 percent 传递)
9130
- }), ql = (t) => {
9130
+ }), Pl = (t) => {
9131
9131
  const {
9132
9132
  percent: e,
9133
9133
  ...n
@@ -9172,7 +9172,7 @@ const Fs = [
9172
9172
  export {
9173
9173
  Cc as AVAILABLE_TOKENS,
9174
9174
  gl as AndAlert,
9175
- qc as AndAutoComplete,
9175
+ Pc as AndAutoComplete,
9176
9176
  sl as AndAvatar,
9177
9177
  ml as AndBadge,
9178
9178
  yl as AndBadgeRibbon,
@@ -9234,14 +9234,14 @@ export {
9234
9234
  Yc as AndTransfer,
9235
9235
  Xc as AndTree,
9236
9236
  Kc as AndTreeSelect,
9237
- Pc as AndUpload,
9237
+ qc as AndUpload,
9238
9238
  zl as AndVArea,
9239
9239
  Wl as AndVBar,
9240
9240
  Vl as AndVColumn,
9241
9241
  Kl as AndVDualAxes,
9242
- Pl as AndVGauge,
9242
+ ql as AndVGauge,
9243
9243
  Ll as AndVLine,
9244
- ql as AndVLiquid,
9244
+ Pl as AndVLiquid,
9245
9245
  Bl as AndVPie,
9246
9246
  Ol as AndWatermark,
9247
9247
  Nc as COMMON_TOKENS,
@@ -9288,7 +9288,7 @@ export {
9288
9288
  R as useAndStore,
9289
9289
  Fo as useApiService,
9290
9290
  vc as useCommandsStore,
9291
- qt as useDictOptions,
9291
+ Pt as useDictOptions,
9292
9292
  tt as useFieldValidation,
9293
9293
  pc as useItemStore,
9294
9294
  gc as usePopCommand,