@nuwatop/code-canvas-core 0.4.2 → 0.4.4

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
@@ -1,6 +1,6 @@
1
1
  import { jsx as b, jsxs as ot, Fragment as se } from "react/jsx-runtime";
2
2
  import { createRoot as dr } from "react-dom/client";
3
- import { theme as Ft, ConfigProvider as Mt, Button as Xt, Input as Me, InputNumber as $n, Space as Yt, Select as Mn, Switch as mr, DatePicker as Rn, TimePicker as hr, Radio as Ve, Checkbox as ce, Rate as yr, Slider as gr, Cascader as pr, TreeSelect as vr, message as Ce, Upload as br, Image as Qt, AutoComplete as Sr, Form as Ee, Transfer as wr, Segmented as Dr, Modal as jn, Tooltip as xr, Table as Ar, Flex as Bn, Typography as sn, Tabs as Cr, Tree as Tr, Timeline as Nr, Steps as kr, Statistic as Ge, Carousel as Or, Avatar as _r, Tag as Kn, Pagination as Ln, Breadcrumb as Er, Menu as $r, Calendar as Mr, Badge as zn, Masonry as Rr, Alert as Vn, Drawer as jr, Result as Br, Card as Je, Divider as hn, Dropdown as Kr, Row as Lr, Col as zr, QRCode as Vr, Splitter as qe, Spin as qn, Watermark as qr } from "antd";
3
+ import { theme as Ft, ConfigProvider as Mt, Button as Xt, Input as Me, InputNumber as $n, Space as Pt, Select as Mn, Switch as mr, DatePicker as Rn, TimePicker as hr, Radio as Ve, Checkbox as ce, Rate as yr, Slider as gr, Cascader as pr, TreeSelect as vr, message as Ce, Upload as br, Image as Qt, AutoComplete as Sr, Form as Ee, Transfer as wr, Segmented as Dr, Modal as jn, Tooltip as xr, Table as Ar, Flex as Bn, Typography as sn, Tabs as Cr, Tree as Tr, Timeline as Nr, Steps as kr, Statistic as Ge, Carousel as Or, Avatar as _r, Tag as Kn, Pagination as Ln, Breadcrumb as Er, Menu as $r, Calendar as Mr, Badge as zn, Masonry as Rr, Alert as Vn, Drawer as jr, Result as Br, Card as Je, Divider as hn, Dropdown as Kr, Row as Lr, Col as zr, QRCode as Vr, Splitter as qe, Spin as qn, Watermark as qr } from "antd";
4
4
  import { StyleProvider as Wr, createCache as Hr } from "@ant-design/cssinjs";
5
5
  import Ur from "antd/locale/zh_CN";
6
6
  import { create as Pr } from "zustand";
@@ -10,7 +10,7 @@ import qt, { useMemo as g, useCallback as B, useEffect as bt, createContext as J
10
10
  import * as Gt from "@ant-design/icons";
11
11
  import { CloseCircleOutlined as Xr, PlusOutlined as Hn, UploadOutlined as Zr, MenuOutlined as Ir, MinusOutlined as ti, LeftOutlined as Un, RightOutlined as Pn, UpOutlined as ei, DownOutlined as Yn, ApiOutlined as ni, InboxOutlined as ri } from "@ant-design/icons";
12
12
  import ii from "clsx";
13
- import Pt from "dayjs";
13
+ import Ut from "dayjs";
14
14
  import { pdfjs as he, Document as ai, Page as oi } from "react-pdf";
15
15
  import "react-pdf/dist/Page/TextLayer.css";
16
16
  import "react-pdf/dist/Page/AnnotationLayer.css";
@@ -22,9 +22,9 @@ const yi = () => {
22
22
  }, gi = (e) => {
23
23
  let t = Qe.get(e);
24
24
  return t || (t = Hr(), Qe.set(e, t)), t;
25
- }, Zo = (e) => {
25
+ }, Xo = (e) => {
26
26
  e && Qe.delete(e);
27
- }, Io = async ({
27
+ }, Zo = async ({
28
28
  el: e,
29
29
  component: t,
30
30
  props: n = {},
@@ -86,7 +86,7 @@ const yi = () => {
86
86
  window.__CURRENT_STYLE_CONTAINER__ = h, c.render(u(S));
87
87
  }
88
88
  };
89
- }, tc = () => {
89
+ }, Io = () => {
90
90
  console.info("[code-canvas-core] Cleanup called - components will be garbage collected"), Fe = !1;
91
91
  };
92
92
  function be(e) {
@@ -266,7 +266,7 @@ const O = Pr()(
266
266
  }))
267
267
  )
268
268
  );
269
- function ec(e) {
269
+ function tc(e) {
270
270
  const { dataSet: t, dataSetField: n } = e, i = O((r) => r.setDataSet);
271
271
  return {
272
272
  get value() {
@@ -278,7 +278,7 @@ function ec(e) {
278
278
  }
279
279
  };
280
280
  }
281
- function nc(e) {
281
+ function ec(e) {
282
282
  const t = O((n) => n.setDataSetBatch);
283
283
  return {
284
284
  get value() {
@@ -289,10 +289,10 @@ function nc(e) {
289
289
  }
290
290
  };
291
291
  }
292
- function rc() {
292
+ function nc() {
293
293
  return O((e) => e.addCommand);
294
294
  }
295
- function ic() {
295
+ function rc() {
296
296
  return O((e) => e.popCommand);
297
297
  }
298
298
  function vi(e, t) {
@@ -307,7 +307,7 @@ function vi(e, t) {
307
307
  return Array.isArray(a) ? a : a != null && typeof a == "object" && Array.isArray(a.value) ? a.value : [];
308
308
  }, [n, e, t, i]);
309
309
  }
310
- function ac() {
310
+ function ic() {
311
311
  const e = O((a) => a.setDataSetBatch), t = O((a) => a.setDataSet), n = O((a) => a.updateDataSet), i = O((a) => a.getDataSet), r = O.getState;
312
312
  return {
313
313
  get items() {
@@ -328,7 +328,7 @@ function ac() {
328
328
  getItem: (a) => r().dataSets[a] || {}
329
329
  };
330
330
  }
331
- function oc(e) {
331
+ function ac(e) {
332
332
  const t = O((a) => a.addCommand), n = O((a) => a.popCommand), i = O((a) => a.getCommands), r = O((a) => a.clearCommands);
333
333
  return {
334
334
  commands: i(e),
@@ -363,7 +363,7 @@ function bi(e, t, n = {}) {
363
363
  }
364
364
  );
365
365
  }
366
- function cc(e) {
366
+ function oc(e) {
367
367
  return function(t, n) {
368
368
  const i = e();
369
369
  return bi(t, n, i);
@@ -396,7 +396,7 @@ function gt(e, t, n = {}) {
396
396
  function Si(e, t = {}) {
397
397
  return te(e, null, t);
398
398
  }
399
- function sc(e, t = {}) {
399
+ function cc(e, t = {}) {
400
400
  return te(e, null, t);
401
401
  }
402
402
  function X(e, t) {
@@ -1001,8 +1001,8 @@ var nn = en(), Se = /* @__PURE__ */ function() {
1001
1001
  }), C = ee({}, C, s.rule.fields);
1002
1002
  var w = {};
1003
1003
  Object.keys(C).forEach(function(_) {
1004
- var M = C[_], j = Array.isArray(M) ? M : [M];
1005
- w[_] = j.map(D.bind(null, _));
1004
+ var M = C[_], K = Array.isArray(M) ? M : [M];
1005
+ w[_] = K.map(D.bind(null, _));
1006
1006
  });
1007
1007
  var E = new e(w);
1008
1008
  E.messages(l.messages), s.rule.options && (s.rule.options.messages = l.messages, s.rule.options.error = l.error), E.validate(s.value, s.rule.options || l, function(_) {
@@ -1208,10 +1208,10 @@ function ie(e, t) {
1208
1208
  return e.find((n) => ta(n.value, t));
1209
1209
  }
1210
1210
  let Vt = {};
1211
- function lc(e) {
1211
+ function sc(e) {
1212
1212
  Vt = { ...Vt, ...e };
1213
1213
  }
1214
- function Ut() {
1214
+ function Yt() {
1215
1215
  return Vt;
1216
1216
  }
1217
1217
  async function ne(e) {
@@ -1241,12 +1241,12 @@ async function ln(e) {
1241
1241
  function rn() {
1242
1242
  return Vt.getAccessToken ? Vt.getAccessToken() : null;
1243
1243
  }
1244
- const uc = {
1244
+ const lc = {
1245
1245
  post: (e, t, n) => ne({ url: e, data: t, method: "POST", ...n }),
1246
1246
  get: (e, t, n) => ne({ url: e, params: t, method: "GET", ...n })
1247
1247
  };
1248
1248
  function ea() {
1249
- const e = Ut(), t = B(
1249
+ const e = Yt(), t = B(
1250
1250
  async (l, m) => {
1251
1251
  const v = typeof l == "string" ? { url: l, ...m } : l;
1252
1252
  return ne(v);
@@ -1632,7 +1632,7 @@ const Be = {
1632
1632
  colorLink: "colorLink",
1633
1633
  colorLinkHover: "colorLinkHover",
1634
1634
  colorLinkActive: "colorLinkActive"
1635
- }, fc = Object.keys(Be), dc = [
1635
+ }, uc = Object.keys(Be), fc = [
1636
1636
  { label: "主色", value: "colorPrimary" },
1637
1637
  { label: "成功", value: "colorSuccess" },
1638
1638
  { label: "警告", value: "colorWarning" },
@@ -1655,7 +1655,7 @@ function Ke(e) {
1655
1655
  return e;
1656
1656
  }
1657
1657
  }
1658
- function mc(e, t) {
1658
+ function dc(e, t) {
1659
1659
  if (e) {
1660
1660
  if (In(e)) {
1661
1661
  const n = Be[e];
@@ -1664,7 +1664,7 @@ function mc(e, t) {
1664
1664
  return e;
1665
1665
  }
1666
1666
  }
1667
- const hc = ({
1667
+ const mc = ({
1668
1668
  id: e,
1669
1669
  text: t,
1670
1670
  iconName: n,
@@ -1772,45 +1772,45 @@ const tr = (e) => {
1772
1772
  addonAfter: T,
1773
1773
  addonBefore: S,
1774
1774
  ...A
1775
- } = e, N = Re(r, a, n), k = N.dataSet, C = N.dataSetField, w = N.sessionId, E = $t(""), _ = $t(null), M = O((H) => H.addCommand), j = O((H) => H.getDataSet), P = O((H) => H.setDataSet), Y = O((H) => H.getProps), $ = O((H) => H.setProps), q = O((H) => H.setValidateResult), L = g(
1775
+ } = e, N = Re(r, a, n), k = N.dataSet, C = N.dataSetField, w = N.sessionId, E = $t(""), _ = $t(null), M = O((U) => U.addCommand), K = O((U) => U.getDataSet), H = O((U) => U.setDataSet), P = O((U) => U.getProps), $ = O((U) => U.setProps), q = O((U) => U.setValidateResult), z = g(
1776
1776
  () => tt(w, k),
1777
1777
  [w, k]
1778
1778
  ), W = O(
1779
- (H) => {
1779
+ (U) => {
1780
1780
  var et;
1781
- return w && t ? ((et = H.propsStore[`${w}_props`]) == null ? void 0 : et[t]) ?? null : null;
1781
+ return w && t ? ((et = U.propsStore[`${w}_props`]) == null ? void 0 : et[t]) ?? null : null;
1782
1782
  }
1783
1783
  ), R = g(
1784
1784
  () => ye(w, k),
1785
1785
  [w, k]
1786
- ), z = O(
1787
- (H) => {
1786
+ ), V = O(
1787
+ (U) => {
1788
1788
  var et;
1789
- return R && C ? ((et = H.validateStore[R]) == null ? void 0 : et[C]) ?? "" : "";
1789
+ return R && C ? ((et = U.validateStore[R]) == null ? void 0 : et[C]) ?? "" : "";
1790
1790
  }
1791
- ), K = O(
1792
- (H) => L && C ? H.getDataSet(L, C) : void 0
1793
- ), V = g(
1791
+ ), G = O(
1792
+ (U) => z && C ? U.getDataSet(z, C) : void 0
1793
+ ), j = g(
1794
1794
  () => k ? tt(w, `${k}_validateAction`) : void 0,
1795
1795
  [w, k]
1796
- ), U = O(
1797
- (H) => {
1796
+ ), L = O(
1797
+ (U) => {
1798
1798
  var et;
1799
- return V ? (et = H.dataSets[V]) == null ? void 0 : et.validate : void 0;
1799
+ return j ? (et = U.dataSets[j]) == null ? void 0 : et.validate : void 0;
1800
1800
  }
1801
- ), rt = g(() => K !== void 0 ? K : (W == null ? void 0 : W.value) !== void 0 ? W.value : m, [K, W == null ? void 0 : W.value, m]), it = g(
1801
+ ), rt = g(() => G !== void 0 ? G : (W == null ? void 0 : W.value) !== void 0 ? W.value : m, [G, W == null ? void 0 : W.value, m]), it = g(
1802
1802
  () => ka(A, W ?? null, { develop: i }),
1803
1803
  [A, W, i]
1804
1804
  ), nt = B(
1805
- (H) => {
1806
- const et = H ?? "";
1805
+ (U) => {
1806
+ const et = U ?? "";
1807
1807
  if (w && k && C && q(
1808
1808
  w,
1809
1809
  k,
1810
1810
  C,
1811
1811
  et
1812
1812
  ), w && t) {
1813
- const Q = Y(w, t) || {};
1813
+ const Q = P(w, t) || {};
1814
1814
  $(w, t, {
1815
1815
  ...Q,
1816
1816
  validateStatus: et ? "error" : void 0,
@@ -1824,15 +1824,15 @@ const tr = (e) => {
1824
1824
  C,
1825
1825
  t,
1826
1826
  q,
1827
- Y,
1827
+ P,
1828
1828
  $
1829
1829
  ]
1830
1830
  ), yt = B(
1831
- (H) => {
1831
+ (U) => {
1832
1832
  const et = Qn(p || []);
1833
1833
  Fn(
1834
1834
  et,
1835
- H,
1835
+ U,
1836
1836
  () => nt(""),
1837
1837
  (Q) => {
1838
1838
  var lt;
@@ -1842,13 +1842,13 @@ const tr = (e) => {
1842
1842
  },
1843
1843
  [p, nt]
1844
1844
  ), Ct = B(
1845
- (H) => {
1846
- const et = H.target.value;
1845
+ (U) => {
1846
+ const et = U.target.value;
1847
1847
  if (E.current = et, l) {
1848
- l(et, H);
1848
+ l(et, U);
1849
1849
  return;
1850
1850
  }
1851
- if (L && C && P(L, C, et), c && w) {
1851
+ if (z && C && H(z, C, et), c && w) {
1852
1852
  const { actionName: Q, arg: lt } = gt(c, et, {
1853
1853
  id: t,
1854
1854
  dataSet: k,
@@ -1863,9 +1863,9 @@ const tr = (e) => {
1863
1863
  },
1864
1864
  [
1865
1865
  l,
1866
- L,
1866
+ z,
1867
1867
  C,
1868
- P,
1868
+ H,
1869
1869
  c,
1870
1870
  w,
1871
1871
  t,
@@ -1878,19 +1878,19 @@ const tr = (e) => {
1878
1878
  ]
1879
1879
  ), mt = B(() => {
1880
1880
  if (!f) return;
1881
- const H = L && C ? String(j(L, C) ?? "") : E.current;
1882
- yt(H);
1881
+ const U = z && C ? String(K(z, C) ?? "") : E.current;
1882
+ yt(U);
1883
1883
  }, [
1884
1884
  f,
1885
- L,
1885
+ z,
1886
1886
  C,
1887
- j,
1887
+ K,
1888
1888
  yt
1889
1889
  ]), I = B(
1890
- (H) => {
1890
+ (U) => {
1891
1891
  const Q = it.onPressEnter;
1892
1892
  if (Q) {
1893
- Q(H);
1893
+ Q(U);
1894
1894
  return;
1895
1895
  }
1896
1896
  if (u && w) {
@@ -1943,15 +1943,15 @@ const tr = (e) => {
1943
1943
  },
1944
1944
  []
1945
1945
  ), bt(() => {
1946
- if (U == null || !L || !C)
1946
+ if (L == null || !z || !C)
1947
1947
  return;
1948
- const H = String(j(L, C) ?? "");
1949
- yt(H);
1950
- }, [U, L, C, j, yt]);
1948
+ const U = String(K(z, C) ?? "");
1949
+ yt(U);
1950
+ }, [L, z, C, K, yt]);
1951
1951
  const at = g(() => Na(h), [h]), _t = g(
1952
1952
  () => at ? { components: { Input: at } } : void 0,
1953
1953
  [at]
1954
- ), Ot = i ? void 0 : w && k && C ? z : (W == null ? void 0 : W.help) ?? "", G = /* @__PURE__ */ ot(se, { children: [
1954
+ ), Ot = i ? void 0 : w && k && C ? V : (W == null ? void 0 : W.help) ?? "", Y = /* @__PURE__ */ ot(se, { children: [
1955
1955
  /* @__PURE__ */ b(
1956
1956
  Me,
1957
1957
  {
@@ -1967,10 +1967,10 @@ const tr = (e) => {
1967
1967
  ),
1968
1968
  Ot && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: Ot })
1969
1969
  ] });
1970
- return _t ? /* @__PURE__ */ b(Mt, { theme: _t, children: G }) : G;
1970
+ return _t ? /* @__PURE__ */ b(Mt, { theme: _t, children: Y }) : Y;
1971
1971
  };
1972
1972
  tr.displayName = "AndInput";
1973
- const yc = qt.memo(tr), xn = 200, gc = ({
1973
+ const hc = qt.memo(tr), xn = 200, yc = ({
1974
1974
  id: e,
1975
1975
  sessionId: t,
1976
1976
  develop: n,
@@ -1989,16 +1989,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
1989
1989
  value: s,
1990
1990
  ...y
1991
1991
  }) => {
1992
- const u = O((V) => V.addCommand), x = O((V) => V.setDataSet), D = $t(null), T = g(
1992
+ const u = O((j) => j.addCommand), x = O((j) => j.setDataSet), D = $t(null), T = g(
1993
1993
  () => tt(t, i),
1994
1994
  [t, i]
1995
1995
  ), S = O(
1996
- (V) => {
1997
- var U;
1998
- return t && e ? ((U = V.propsStore[`${t}_props`]) == null ? void 0 : U[e]) ?? null : null;
1996
+ (j) => {
1997
+ var L;
1998
+ return t && e ? ((L = j.propsStore[`${t}_props`]) == null ? void 0 : L[e]) ?? null : null;
1999
1999
  }
2000
2000
  ), A = O(
2001
- (V) => T && r ? V.getDataSet(T, r) : void 0
2001
+ (j) => T && r ? j.getDataSet(T, r) : void 0
2002
2002
  ), { validate: N, help: k } = jt({
2003
2003
  rules: a,
2004
2004
  dataSet: i,
@@ -2007,36 +2007,36 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2007
2007
  id: e,
2008
2008
  develop: n
2009
2009
  }), C = g(() => A !== void 0 ? A : (S == null ? void 0 : S.value) !== void 0 ? S.value : s, [A, S == null ? void 0 : S.value, s]), w = B(
2010
- (V, U, rt) => {
2011
- V && t && u(t, X(V, { type: U, value: rt }));
2010
+ (j, L, rt) => {
2011
+ j && t && u(t, X(j, { type: L, value: rt }));
2012
2012
  },
2013
2013
  [t, u]
2014
2014
  ), E = B(
2015
- (V) => {
2015
+ (j) => {
2016
2016
  if (d) {
2017
- d(V);
2017
+ d(j);
2018
2018
  return;
2019
2019
  }
2020
- T && r && x(T, r, V), c && (D.current && clearTimeout(D.current), D.current = setTimeout(() => {
2021
- D.current = null, N(V);
2022
- }, xn)), w(l, "change", V);
2020
+ T && r && x(T, r, j), c && (D.current && clearTimeout(D.current), D.current = setTimeout(() => {
2021
+ D.current = null, N(j);
2022
+ }, xn)), w(l, "change", j);
2023
2023
  },
2024
2024
  [d, T, r, x, c, N, l, w]
2025
2025
  ), _ = B(() => {
2026
2026
  o && N(C);
2027
2027
  }, [o, N, C]), M = B(
2028
- (V) => {
2028
+ (j) => {
2029
2029
  if (y.onPressEnter) {
2030
- y.onPressEnter(V);
2030
+ y.onPressEnter(j);
2031
2031
  return;
2032
2032
  }
2033
2033
  if (m && t) {
2034
- const { actionName: U, arg: rt } = gt(m, C, {
2034
+ const { actionName: L, arg: rt } = gt(m, C, {
2035
2035
  id: e,
2036
2036
  dataSet: i,
2037
2037
  dataSetField: r
2038
2038
  });
2039
- u(t, X(U, rt));
2039
+ u(t, X(L, rt));
2040
2040
  }
2041
2041
  },
2042
2042
  [
@@ -2049,7 +2049,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2049
2049
  r,
2050
2050
  u
2051
2051
  ]
2052
- ), j = B(() => {
2052
+ ), K = B(() => {
2053
2053
  if (d) {
2054
2054
  d(null);
2055
2055
  return;
@@ -2057,12 +2057,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2057
2057
  if (T && r && x(T, r, null), c && (D.current && clearTimeout(D.current), D.current = setTimeout(() => {
2058
2058
  D.current = null, N(null);
2059
2059
  }, xn)), w(l, "change", null), v && t) {
2060
- const { actionName: V, arg: U } = gt(v, null, {
2060
+ const { actionName: j, arg: L } = gt(v, null, {
2061
2061
  id: e,
2062
2062
  dataSet: i,
2063
2063
  dataSetField: r
2064
2064
  });
2065
- u(t, X(V, U));
2065
+ u(t, X(j, L));
2066
2066
  }
2067
2067
  }, [
2068
2068
  d,
@@ -2079,9 +2079,9 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2079
2079
  i,
2080
2080
  r,
2081
2081
  u
2082
- ]), P = B(
2083
- (V, U) => {
2084
- w(p, "step", { value: V, type: U.type });
2082
+ ]), H = B(
2083
+ (j, L) => {
2084
+ w(p, "step", { value: j, type: L.type });
2085
2085
  },
2086
2086
  [p, w]
2087
2087
  );
@@ -2093,12 +2093,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2093
2093
  ), bt(() => {
2094
2094
  f !== void 0 && C === void 0 && T && r && x(T, r, f);
2095
2095
  }, [f, C, T, r, x]);
2096
- const Y = g(
2096
+ const P = g(
2097
2097
  () => Jt(y, S ?? void 0),
2098
2098
  [y, S]
2099
- ), { addonBefore: $, addonAfter: q, style: L, suffix: W, ...R } = Y, z = g(() => {
2099
+ ), { addonBefore: $, addonAfter: q, style: z, suffix: W, ...R } = P, V = g(() => {
2100
2100
  if (!(h && C !== null && C !== void 0)) return W;
2101
- const U = /* @__PURE__ */ b(
2101
+ const L = /* @__PURE__ */ b(
2102
2102
  "span",
2103
2103
  {
2104
2104
  role: "button",
@@ -2106,16 +2106,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2106
2106
  style: { cursor: "pointer", marginInlineStart: 4 },
2107
2107
  onMouseDown: (rt) => rt.preventDefault(),
2108
2108
  onClick: (rt) => {
2109
- rt.stopPropagation(), j();
2109
+ rt.stopPropagation(), K();
2110
2110
  },
2111
2111
  children: /* @__PURE__ */ b(Xr, {})
2112
2112
  }
2113
2113
  );
2114
- return W == null || W === !1 ? U : /* @__PURE__ */ ot(se, { children: [
2114
+ return W == null || W === !1 ? L : /* @__PURE__ */ ot(se, { children: [
2115
2115
  W,
2116
- U
2116
+ L
2117
2117
  ] });
2118
- }, [h, C, W, j]), K = /* @__PURE__ */ b(
2118
+ }, [h, C, W, K]), G = /* @__PURE__ */ b(
2119
2119
  $n,
2120
2120
  {
2121
2121
  ...R,
@@ -2128,14 +2128,14 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2128
2128
  onChange: E,
2129
2129
  onBlur: _,
2130
2130
  onPressEnter: M,
2131
- onStep: P,
2132
- suffix: z,
2131
+ onStep: H,
2132
+ suffix: V,
2133
2133
  status: k ? "error" : void 0,
2134
- style: { width: "100%", ...L }
2134
+ style: { width: "100%", ...z }
2135
2135
  }
2136
2136
  );
2137
2137
  return /* @__PURE__ */ ot("div", { style: { width: "100%" }, children: [
2138
- $ || q ? /* @__PURE__ */ ot(Yt.Compact, { style: { width: "100%" }, children: [
2138
+ $ || q ? /* @__PURE__ */ ot(Pt.Compact, { style: { width: "100%" }, children: [
2139
2139
  $ && /* @__PURE__ */ b(
2140
2140
  "div",
2141
2141
  {
@@ -2153,7 +2153,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2153
2153
  children: $
2154
2154
  }
2155
2155
  ),
2156
- K,
2156
+ G,
2157
2157
  q && /* @__PURE__ */ b(
2158
2158
  "div",
2159
2159
  {
@@ -2171,10 +2171,10 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2171
2171
  children: q
2172
2172
  }
2173
2173
  )
2174
- ] }) : K,
2174
+ ] }) : G,
2175
2175
  k && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: k })
2176
2176
  ] });
2177
- }, { TextArea: Oa } = Me, _a = 200, pc = ({
2177
+ }, { TextArea: Oa } = Me, _a = 200, gc = ({
2178
2178
  id: e,
2179
2179
  sessionId: t,
2180
2180
  develop: n,
@@ -2191,16 +2191,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2191
2191
  defaultValue: d,
2192
2192
  ...f
2193
2193
  }) => {
2194
- const s = Re(i, r, t), y = s.dataSet, u = s.dataSetField, x = s.sessionId, D = O((Y) => Y.addCommand), T = O((Y) => Y.setDataSet), S = $t(null), A = g(
2194
+ const s = Re(i, r, t), y = s.dataSet, u = s.dataSetField, x = s.sessionId, D = O((P) => P.addCommand), T = O((P) => P.setDataSet), S = $t(null), A = g(
2195
2195
  () => tt(x, y),
2196
2196
  [x, y]
2197
2197
  ), N = O(
2198
- (Y) => {
2198
+ (P) => {
2199
2199
  var $;
2200
- return x && e ? (($ = Y.propsStore[`${x}_props`]) == null ? void 0 : $[e]) ?? null : null;
2200
+ return x && e ? (($ = P.propsStore[`${x}_props`]) == null ? void 0 : $[e]) ?? null : null;
2201
2201
  }
2202
2202
  ), k = O(
2203
- (Y) => A && u ? Y.getDataSet(A, u) : void 0
2203
+ (P) => A && u ? P.getDataSet(A, u) : void 0
2204
2204
  ), { validate: C, help: w } = jt({
2205
2205
  rules: a,
2206
2206
  dataSet: y,
@@ -2209,19 +2209,19 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2209
2209
  id: e,
2210
2210
  develop: n
2211
2211
  }), E = g(() => k !== void 0 ? k : (N == null ? void 0 : N.value) !== void 0 ? N.value : p ?? d, [k, N == null ? void 0 : N.value, p, d]), _ = B(
2212
- (Y) => {
2213
- const $ = Y.target.value;
2212
+ (P) => {
2213
+ const $ = P.target.value;
2214
2214
  if (h) {
2215
- h($, Y);
2215
+ h($, P);
2216
2216
  return;
2217
2217
  }
2218
2218
  if (A && u && T(A, u, $), l && x) {
2219
- const { actionName: q, arg: L } = gt(l, $, {
2219
+ const { actionName: q, arg: z } = gt(l, $, {
2220
2220
  id: e,
2221
2221
  dataSet: y,
2222
2222
  dataSetField: u
2223
2223
  });
2224
- D(x, X(q, L));
2224
+ D(x, X(q, z));
2225
2225
  }
2226
2226
  c && (S.current && clearTimeout(S.current), S.current = setTimeout(() => {
2227
2227
  S.current = null, C($);
@@ -2241,13 +2241,13 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2241
2241
  ]
2242
2242
  ), M = B(() => {
2243
2243
  o && C(E);
2244
- }, [o, C, E]), j = B(
2245
- (Y) => {
2244
+ }, [o, C, E]), K = B(
2245
+ (P) => {
2246
2246
  if (f.onPressEnter) {
2247
- f.onPressEnter(Y);
2247
+ f.onPressEnter(P);
2248
2248
  return;
2249
2249
  }
2250
- if (m && x && !Y.shiftKey) {
2250
+ if (m && x && !P.shiftKey) {
2251
2251
  const { actionName: $, arg: q } = gt(m, E, {
2252
2252
  id: e,
2253
2253
  dataSet: y,
@@ -2266,18 +2266,18 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2266
2266
  u,
2267
2267
  D
2268
2268
  ]
2269
- ), P = B(() => {
2269
+ ), H = B(() => {
2270
2270
  if (f.onClear) {
2271
2271
  f.onClear();
2272
2272
  return;
2273
2273
  }
2274
2274
  if (v && x) {
2275
- const { actionName: Y, arg: $ } = gt(v, "", {
2275
+ const { actionName: P, arg: $ } = gt(v, "", {
2276
2276
  id: e,
2277
2277
  dataSet: y,
2278
2278
  dataSetField: u
2279
2279
  });
2280
- D(x, X(Y, $));
2280
+ D(x, X(P, $));
2281
2281
  }
2282
2282
  }, [
2283
2283
  f.onClear,
@@ -2302,14 +2302,14 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2302
2302
  value: E,
2303
2303
  onChange: _,
2304
2304
  onBlur: M,
2305
- onPressEnter: j,
2306
- onClear: P,
2305
+ onPressEnter: K,
2306
+ onClear: H,
2307
2307
  status: w ? "error" : void 0
2308
2308
  }
2309
2309
  ),
2310
2310
  w && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: w })
2311
2311
  ] });
2312
- }, { Password: Ea } = Me, $a = 200, vc = ({
2312
+ }, { Password: Ea } = Me, $a = 200, pc = ({
2313
2313
  id: e,
2314
2314
  sessionId: t,
2315
2315
  develop: n,
@@ -2351,12 +2351,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2351
2351
  return;
2352
2352
  }
2353
2353
  if (x && r && y(x, r, M), l && t) {
2354
- const { actionName: j, arg: P } = gt(l, M, {
2354
+ const { actionName: K, arg: H } = gt(l, M, {
2355
2355
  id: e,
2356
2356
  dataSet: i,
2357
2357
  dataSetField: r
2358
2358
  });
2359
- s(t, X(j, P));
2359
+ s(t, X(K, H));
2360
2360
  }
2361
2361
  c && (u.current && clearTimeout(u.current), u.current = setTimeout(() => {
2362
2362
  u.current = null, S(M);
@@ -2383,12 +2383,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2383
2383
  return;
2384
2384
  }
2385
2385
  if (m && t) {
2386
- const { actionName: M, arg: j } = gt(m, N, {
2386
+ const { actionName: M, arg: K } = gt(m, N, {
2387
2387
  id: e,
2388
2388
  dataSet: i,
2389
2389
  dataSetField: r
2390
2390
  });
2391
- s(t, X(M, j));
2391
+ s(t, X(M, K));
2392
2392
  }
2393
2393
  },
2394
2394
  [
@@ -2436,7 +2436,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2436
2436
  ),
2437
2437
  A && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: A })
2438
2438
  ] });
2439
- }, { Search: Ma } = Me, bc = ({
2439
+ }, { Search: Ma } = Me, vc = ({
2440
2440
  id: e,
2441
2441
  sessionId: t,
2442
2442
  develop: n,
@@ -2473,7 +2473,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2473
2473
  o && t && p(t, X(o, T));
2474
2474
  }, [l, o, t, p]);
2475
2475
  return /* @__PURE__ */ b(Ma, { ...h, disabled: n ? !1 : h.disabled, value: u, onChange: x, onSearch: D });
2476
- }, Ra = 200, Sc = ({
2476
+ }, Ra = 200, bc = ({
2477
2477
  id: e,
2478
2478
  sessionId: t,
2479
2479
  develop: n,
@@ -2503,17 +2503,17 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2503
2503
  const C = O((I) => I.addCommand), w = O((I) => I.setDataSet), E = $t(null), _ = ve(re), M = g(
2504
2504
  () => tt(t, i),
2505
2505
  [t, i]
2506
- ), j = y ?? (_ == null ? void 0 : _.index), P = O(
2506
+ ), K = y ?? (_ == null ? void 0 : _.index), H = O(
2507
2507
  (I) => {
2508
2508
  var st;
2509
2509
  return t && e ? ((st = I.propsStore[`${t}_props`]) == null ? void 0 : st[e]) ?? null : null;
2510
2510
  }
2511
- ), Y = O(
2511
+ ), P = O(
2512
2512
  (I) => M && r ? I.getDataSet(M, r) : void 0
2513
2513
  ), $ = g(
2514
- () => (P == null ? void 0 : P.optionsCfg) != null ? P.optionsCfg : c,
2515
- [P == null ? void 0 : P.optionsCfg, c]
2516
- ), { options: q, loading: L } = we(
2514
+ () => (H == null ? void 0 : H.optionsCfg) != null ? H.optionsCfg : c,
2515
+ [H == null ? void 0 : H.optionsCfg, c]
2516
+ ), { options: q, loading: z } = we(
2517
2517
  A || (a ? o : void 0)
2518
2518
  ), { options: W, loading: R } = un(
2519
2519
  $ == null ? void 0 : $.url,
@@ -2524,39 +2524,39 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2524
2524
  params: $ == null ? void 0 : $.params,
2525
2525
  field: $ == null ? void 0 : $.field
2526
2526
  }
2527
- ), z = L || R, { validate: K, help: V } = jt({
2527
+ ), V = z || R, { validate: G, help: j } = jt({
2528
2528
  rules: l,
2529
2529
  dataSet: i,
2530
2530
  dataSetField: r,
2531
2531
  sessionId: t,
2532
2532
  id: e,
2533
2533
  develop: n
2534
- }), U = g(() => Y != null && Y !== "" ? Y : (P == null ? void 0 : P.value) !== void 0 ? P.value : s ?? f, [Y, P == null ? void 0 : P.value, s, f]), rt = g(
2535
- () => Jt(k, P ?? void 0),
2536
- [k, P]
2537
- ), it = g(() => P != null && P.options && Array.isArray(P.options) ? P.options : $ != null && $.url && W.length > 0 ? W : (A || a && o) && q.length > 0 ? q : d || [], [P == null ? void 0 : P.options, $ == null ? void 0 : $.url, W, A, a, o, q, d]), nt = g(() => {
2538
- if (it.length === 0) return U;
2539
- if (Array.isArray(U))
2540
- return U.map((st) => {
2534
+ }), L = g(() => P != null && P !== "" ? P : (H == null ? void 0 : H.value) !== void 0 ? H.value : s ?? f, [P, H == null ? void 0 : H.value, s, f]), rt = g(
2535
+ () => Jt(k, H ?? void 0),
2536
+ [k, H]
2537
+ ), it = g(() => H != null && H.options && Array.isArray(H.options) ? H.options : $ != null && $.url && W.length > 0 ? W : (A || a && o) && q.length > 0 ? q : d || [], [H == null ? void 0 : H.options, $ == null ? void 0 : $.url, W, A, a, o, q, d]), nt = g(() => {
2538
+ if (it.length === 0) return L;
2539
+ if (Array.isArray(L))
2540
+ return L.map((st) => {
2541
2541
  var at;
2542
2542
  return ((at = ie(it, st)) == null ? void 0 : at.value) ?? st;
2543
2543
  });
2544
- const I = ie(it, U);
2545
- return (I == null ? void 0 : I.value) ?? U;
2546
- }, [U, it]), yt = B(
2544
+ const I = ie(it, L);
2545
+ return (I == null ? void 0 : I.value) ?? L;
2546
+ }, [L, it]), yt = B(
2547
2547
  (I, st) => {
2548
2548
  if (p) {
2549
2549
  p(I, st);
2550
2550
  return;
2551
2551
  }
2552
2552
  if (M && r && w(M, r, I), v && (E.current && clearTimeout(E.current), E.current = setTimeout(() => {
2553
- E.current = null, K(I);
2553
+ E.current = null, G(I);
2554
2554
  }, Ra)), h && t) {
2555
2555
  const { actionName: at, arg: _t } = gt(h, I, {
2556
2556
  id: e,
2557
2557
  dataSet: i,
2558
2558
  dataSetField: r,
2559
- index: j
2559
+ index: K
2560
2560
  });
2561
2561
  C(t, X(at, _t));
2562
2562
  }
@@ -2567,16 +2567,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2567
2567
  r,
2568
2568
  w,
2569
2569
  v,
2570
- K,
2570
+ G,
2571
2571
  h,
2572
2572
  t,
2573
2573
  e,
2574
- j,
2574
+ K,
2575
2575
  C
2576
2576
  ]
2577
2577
  ), Ct = B(() => {
2578
- m && K(nt);
2579
- }, [m, K, nt]);
2578
+ m && G(nt);
2579
+ }, [m, G, nt]);
2580
2580
  bt(
2581
2581
  () => () => {
2582
2582
  E.current && clearTimeout(E.current);
@@ -2596,14 +2596,14 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2596
2596
  onChange: yt,
2597
2597
  onBlur: Ct,
2598
2598
  filterOption: mt,
2599
- loading: z,
2600
- status: V ? "error" : void 0,
2599
+ loading: V,
2600
+ status: j ? "error" : void 0,
2601
2601
  style: { width: "100%", ...rt.style }
2602
2602
  }
2603
2603
  ),
2604
- V && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: V })
2604
+ j && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: j })
2605
2605
  ] });
2606
- }, wc = ({
2606
+ }, Sc = ({
2607
2607
  id: e,
2608
2608
  sessionId: t,
2609
2609
  develop: n,
@@ -2677,7 +2677,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2677
2677
  ),
2678
2678
  D && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: D })
2679
2679
  ] });
2680
- }, Dc = ({
2680
+ }, wc = ({
2681
2681
  id: e,
2682
2682
  sessionId: t,
2683
2683
  develop: n,
@@ -2712,9 +2712,9 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2712
2712
  develop: n
2713
2713
  }), S = B((w) => {
2714
2714
  if (!w) return null;
2715
- if (Pt.isDayjs(w)) return w;
2715
+ if (Ut.isDayjs(w)) return w;
2716
2716
  if (typeof w == "string") {
2717
- const E = Pt(w, o);
2717
+ const E = Ut(w, o);
2718
2718
  return E.isValid() ? E : null;
2719
2719
  }
2720
2720
  return null;
@@ -2729,19 +2729,19 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2729
2729
  }
2730
2730
  const _ = Array.isArray(E) ? E[0] : E;
2731
2731
  if (y && r && s(y, r, _), m && D(_), a && t) {
2732
- const { actionName: M, arg: j } = gt(a, _, {
2732
+ const { actionName: M, arg: K } = gt(a, _, {
2733
2733
  id: e,
2734
2734
  dataSet: i,
2735
2735
  dataSetField: r
2736
2736
  });
2737
- f(t, X(M, j));
2737
+ f(t, X(M, K));
2738
2738
  }
2739
2739
  },
2740
2740
  [v, y, r, s, m, D, a, t, e, f]
2741
2741
  );
2742
2742
  bt(() => {
2743
2743
  if (p && A === null && y && r) {
2744
- const w = Pt(p).format(o);
2744
+ const w = Ut(p).format(o);
2745
2745
  s(y, r, w);
2746
2746
  }
2747
2747
  }, [p, A, y, r, s, o]);
@@ -2768,7 +2768,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2768
2768
  ),
2769
2769
  T && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: T })
2770
2770
  ] });
2771
- }, xc = ({
2771
+ }, Dc = ({
2772
2772
  id: e,
2773
2773
  sessionId: t,
2774
2774
  develop: n,
@@ -2798,9 +2798,9 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2798
2798
  develop: n
2799
2799
  }), S = B((w) => {
2800
2800
  if (!w) return null;
2801
- if (Pt.isDayjs(w)) return w;
2801
+ if (Ut.isDayjs(w)) return w;
2802
2802
  if (typeof w == "string") {
2803
- const E = Pt(w, o);
2803
+ const E = Ut(w, o);
2804
2804
  return E.isValid() ? E : null;
2805
2805
  }
2806
2806
  return null;
@@ -2811,8 +2811,8 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2811
2811
  }
2812
2812
  const _ = E || "";
2813
2813
  if (u && r && y(u, r, _), h && D(_), a && t) {
2814
- const { actionName: M, arg: j } = gt(a, _, { id: e, dataSet: i, dataSetField: r });
2815
- f(t, X(M, j));
2814
+ const { actionName: M, arg: K } = gt(a, _, { id: e, dataSet: i, dataSetField: r });
2815
+ f(t, X(M, K));
2816
2816
  }
2817
2817
  }, [c, u, r, y, h, D, a, t, e, f]), k = B(() => {
2818
2818
  p && D(A ? A.format(o) : "");
@@ -2833,7 +2833,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2833
2833
  ),
2834
2834
  T && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: "12px", marginTop: "4px" }, children: T })
2835
2835
  ] });
2836
- }, { RangePicker: ja } = Rn, Ac = ({
2836
+ }, { RangePicker: ja } = Rn, xc = ({
2837
2837
  id: e,
2838
2838
  sessionId: t,
2839
2839
  develop: n,
@@ -2868,8 +2868,8 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2868
2868
  develop: n
2869
2869
  }), S = B((w) => {
2870
2870
  if (!w || !Array.isArray(w) || w.length !== 2) return null;
2871
- const [E, _] = w, M = Pt.isDayjs(E) ? E : Pt(E, o), j = Pt.isDayjs(_) ? _ : Pt(_, o);
2872
- return M.isValid() && j.isValid() ? [M, j] : null;
2871
+ const [E, _] = w, M = Ut.isDayjs(E) ? E : Ut(E, o), K = Ut.isDayjs(_) ? _ : Ut(_, o);
2872
+ return M.isValid() && K.isValid() ? [M, K] : null;
2873
2873
  }, [o]), A = g(() => {
2874
2874
  const w = x ?? (u == null ? void 0 : u.value) ?? h ?? p;
2875
2875
  return S(w);
@@ -2910,7 +2910,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2910
2910
  ),
2911
2911
  T && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: T })
2912
2912
  ] });
2913
- }, Cc = ({
2913
+ }, Ac = ({
2914
2914
  id: e,
2915
2915
  sessionId: t,
2916
2916
  develop: n,
@@ -2932,16 +2932,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2932
2932
  remoteUrl: x,
2933
2933
  ...D
2934
2934
  }) => {
2935
- const T = O((L) => L.addCommand), S = O((L) => L.setDataSet), A = g(
2935
+ const T = O((z) => z.addCommand), S = O((z) => z.setDataSet), A = g(
2936
2936
  () => tt(t, i),
2937
2937
  [t, i]
2938
2938
  ), N = O(
2939
- (L) => {
2939
+ (z) => {
2940
2940
  var W;
2941
- return t && e ? ((W = L.propsStore[`${t}_props`]) == null ? void 0 : W[e]) ?? null : null;
2941
+ return t && e ? ((W = z.propsStore[`${t}_props`]) == null ? void 0 : W[e]) ?? null : null;
2942
2942
  }
2943
2943
  ), k = O(
2944
- (L) => A && r ? L.getDataSet(A, r) : void 0
2944
+ (z) => A && r ? z.getDataSet(A, r) : void 0
2945
2945
  ), { validate: C, help: w } = jt({
2946
2946
  rules: v,
2947
2947
  dataSet: i,
@@ -2956,27 +2956,27 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2956
2956
  labelKey: (o == null ? void 0 : o.labelKey) || "label",
2957
2957
  immediate: !!(o != null && o.url)
2958
2958
  }
2959
- ), j = g(() => N != null && N.options ? N.options : o != null && o.url && M.length > 0 ? M : y && _.length > 0 ? _ : a, [N == null ? void 0 : N.options, o == null ? void 0 : o.url, M, y, _, a]), P = g(() => {
2960
- if (j.length === 0) return E;
2961
- const L = ie(j, E);
2962
- return (L == null ? void 0 : L.value) ?? E;
2963
- }, [E, j]), Y = g(
2959
+ ), K = g(() => N != null && N.options ? N.options : o != null && o.url && M.length > 0 ? M : y && _.length > 0 ? _ : a, [N == null ? void 0 : N.options, o == null ? void 0 : o.url, M, y, _, a]), H = g(() => {
2960
+ if (K.length === 0) return E;
2961
+ const z = ie(K, E);
2962
+ return (z == null ? void 0 : z.value) ?? E;
2963
+ }, [E, K]), P = g(
2964
2964
  () => Jt(D, N ?? void 0),
2965
2965
  [D, N]
2966
2966
  ), $ = B(
2967
- (L) => {
2968
- const W = L.target.value;
2967
+ (z) => {
2968
+ const W = z.target.value;
2969
2969
  if (d) {
2970
2970
  d(W);
2971
2971
  return;
2972
2972
  }
2973
2973
  if (A && r && S(A, r, W), p && C(W), c && t) {
2974
- const { actionName: R, arg: z } = gt(c, W, {
2974
+ const { actionName: R, arg: V } = gt(c, W, {
2975
2975
  id: e,
2976
2976
  dataSet: i,
2977
2977
  dataSetField: r
2978
2978
  });
2979
- T(t, X(R, z));
2979
+ T(t, X(R, V));
2980
2980
  }
2981
2981
  },
2982
2982
  [
@@ -2992,31 +2992,31 @@ const yc = qt.memo(tr), xn = 200, gc = ({
2992
2992
  T
2993
2993
  ]
2994
2994
  ), q = B(() => {
2995
- h && C(P);
2996
- }, [h, C, P]);
2995
+ h && C(H);
2996
+ }, [h, C, H]);
2997
2997
  return /* @__PURE__ */ ot("div", { onBlur: q, children: [
2998
2998
  /* @__PURE__ */ b(
2999
2999
  Ve.Group,
3000
3000
  {
3001
- ...Y,
3002
- disabled: n ? !1 : Y.disabled,
3003
- value: P,
3001
+ ...P,
3002
+ disabled: n ? !1 : P.disabled,
3003
+ value: H,
3004
3004
  onChange: $,
3005
3005
  buttonStyle: (N == null ? void 0 : N.buttonStyle) ?? l,
3006
3006
  optionType: (N == null ? void 0 : N.optionType) ?? m,
3007
- children: m === "button" ? j.map((L) => /* @__PURE__ */ b(Ve.Button, { value: L.value, disabled: L.disabled, children: L.label }, L.value)) : /* @__PURE__ */ b(
3008
- Yt,
3007
+ children: m === "button" ? K.map((z) => /* @__PURE__ */ b(Ve.Button, { value: z.value, disabled: z.disabled, children: z.label }, z.value)) : /* @__PURE__ */ b(
3008
+ Pt,
3009
3009
  {
3010
3010
  orientation: (N == null ? void 0 : N.direction) ?? u ?? "horizontal",
3011
3011
  wrap: !0,
3012
- children: j.map((L) => /* @__PURE__ */ b(Ve, { value: L.value, disabled: L.disabled, children: L.label }, L.value))
3012
+ children: K.map((z) => /* @__PURE__ */ b(Ve, { value: z.value, disabled: z.disabled, children: z.label }, z.value))
3013
3013
  }
3014
3014
  )
3015
3015
  }
3016
3016
  ),
3017
3017
  w && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: w })
3018
3018
  ] });
3019
- }, Tc = ({
3019
+ }, Cc = ({
3020
3020
  id: e,
3021
3021
  sessionId: t,
3022
3022
  develop: n,
@@ -3041,16 +3041,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3041
3041
  remoteUrl: T,
3042
3042
  ...S
3043
3043
  }) => {
3044
- const A = O((z) => z.addCommand), N = O((z) => z.setDataSet), k = g(
3044
+ const A = O((V) => V.addCommand), N = O((V) => V.setDataSet), k = g(
3045
3045
  () => tt(t, i),
3046
3046
  [t, i]
3047
3047
  ), C = O(
3048
- (z) => {
3049
- var K;
3050
- return t && e ? ((K = z.propsStore[`${t}_props`]) == null ? void 0 : K[e]) ?? null : null;
3048
+ (V) => {
3049
+ var G;
3050
+ return t && e ? ((G = V.propsStore[`${t}_props`]) == null ? void 0 : G[e]) ?? null : null;
3051
3051
  }
3052
3052
  ), w = O(
3053
- (z) => k && r ? z.getDataSet(k, r) : void 0
3053
+ (V) => k && r ? V.getDataSet(k, r) : void 0
3054
3054
  ), { validate: E, help: _ } = jt({
3055
3055
  rules: m,
3056
3056
  dataSet: i,
@@ -3058,55 +3058,55 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3058
3058
  sessionId: t,
3059
3059
  id: e,
3060
3060
  develop: n
3061
- }), { options: M } = we(x), { options: j } = un(
3061
+ }), { options: M } = we(x), { options: K } = un(
3062
3062
  o == null ? void 0 : o.url,
3063
3063
  {
3064
3064
  valueKey: (o == null ? void 0 : o.codeKey) || "value",
3065
3065
  labelKey: (o == null ? void 0 : o.labelKey) || "label",
3066
3066
  immediate: !!(o != null && o.url)
3067
3067
  }
3068
- ), P = g(() => {
3068
+ ), H = g(() => {
3069
3069
  if (!c)
3070
3070
  return w !== void 0 ? !!w : (C == null ? void 0 : C.checked) !== void 0 ? C.checked : f ?? y;
3071
- }, [c, w, C == null ? void 0 : C.checked, f, y]), Y = g(() => C != null && C.options ? C.options : o != null && o.url && j.length > 0 ? j : x && M.length > 0 ? M : a, [C == null ? void 0 : C.options, o == null ? void 0 : o.url, j, x, M, a]), $ = g(() => {
3071
+ }, [c, w, C == null ? void 0 : C.checked, f, y]), P = g(() => C != null && C.options ? C.options : o != null && o.url && K.length > 0 ? K : x && M.length > 0 ? M : a, [C == null ? void 0 : C.options, o == null ? void 0 : o.url, K, x, M, a]), $ = g(() => {
3072
3072
  if (!c) return [];
3073
- let z = [];
3074
- return Array.isArray(w) ? z = w : Array.isArray(C == null ? void 0 : C.values) ? z = C.values : z = s || [], Y.length === 0 ? z : z.map((K) => {
3075
- var V;
3076
- return ((V = ie(Y, K)) == null ? void 0 : V.value) ?? K;
3073
+ let V = [];
3074
+ return Array.isArray(w) ? V = w : Array.isArray(C == null ? void 0 : C.values) ? V = C.values : V = s || [], P.length === 0 ? V : V.map((G) => {
3075
+ var j;
3076
+ return ((j = ie(P, G)) == null ? void 0 : j.value) ?? G;
3077
3077
  });
3078
- }, [c, w, C == null ? void 0 : C.values, s, Y]), q = g(
3078
+ }, [c, w, C == null ? void 0 : C.values, s, P]), q = g(
3079
3079
  () => Jt(S, C ?? void 0, { skipKeys: ["value", "help", "validateStatus", "checked", "values", "options"] }),
3080
3080
  [S, C]
3081
- ), L = B((z) => {
3082
- const K = z.target.checked;
3081
+ ), z = B((V) => {
3082
+ const G = V.target.checked;
3083
3083
  if (p) {
3084
- p(K);
3084
+ p(G);
3085
3085
  return;
3086
3086
  }
3087
- if (k && r && N(k, r, K), h && E(K), l && t) {
3088
- const { actionName: V, arg: U } = gt(l, K, { id: e, dataSet: i, dataSetField: r });
3089
- A(t, X(V, U));
3087
+ if (k && r && N(k, r, G), h && E(G), l && t) {
3088
+ const { actionName: j, arg: L } = gt(l, G, { id: e, dataSet: i, dataSetField: r });
3089
+ A(t, X(j, L));
3090
3090
  }
3091
- }, [p, k, r, N, h, E, l, t, e, A]), W = B((z) => {
3091
+ }, [p, k, r, N, h, E, l, t, e, A]), W = B((V) => {
3092
3092
  if (d) {
3093
- d(z);
3093
+ d(V);
3094
3094
  return;
3095
3095
  }
3096
- if (k && r && N(k, r, z), h && E(z), l && t) {
3097
- const { actionName: K, arg: V } = gt(l, z, { id: e, dataSet: i, dataSetField: r });
3098
- A(t, X(K, V));
3096
+ if (k && r && N(k, r, V), h && E(V), l && t) {
3097
+ const { actionName: G, arg: j } = gt(l, V, { id: e, dataSet: i, dataSetField: r });
3098
+ A(t, X(G, j));
3099
3099
  }
3100
3100
  }, [d, k, r, N, h, E, l, t, e, A]), R = B(() => {
3101
- v && E(c ? $ : P);
3102
- }, [v, E, c, $, P]);
3103
- return c && Y.length > 0 ? /* @__PURE__ */ ot("div", { onBlur: R, children: [
3101
+ v && E(c ? $ : H);
3102
+ }, [v, E, c, $, H]);
3103
+ return c && P.length > 0 ? /* @__PURE__ */ ot("div", { onBlur: R, children: [
3104
3104
  /* @__PURE__ */ b(ce.Group, { ...q, value: $, onChange: W, disabled: n ? !1 : q.disabled, children: /* @__PURE__ */ b(
3105
- Yt,
3105
+ Pt,
3106
3106
  {
3107
3107
  direction: q.direction ?? D,
3108
3108
  wrap: !0,
3109
- children: Y.map((z) => /* @__PURE__ */ b(ce, { value: z.value, disabled: z.disabled, children: z.label }, z.value))
3109
+ children: P.map((V) => /* @__PURE__ */ b(ce, { value: V.value, disabled: V.disabled, children: V.label }, V.value))
3110
3110
  }
3111
3111
  ) }),
3112
3112
  _ && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: _ })
@@ -3116,14 +3116,14 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3116
3116
  {
3117
3117
  ...q,
3118
3118
  disabled: n ? !1 : q.disabled,
3119
- checked: P,
3120
- onChange: L,
3119
+ checked: H,
3120
+ onChange: z,
3121
3121
  children: u
3122
3122
  }
3123
3123
  ),
3124
3124
  _ && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: _ })
3125
3125
  ] });
3126
- }, Nc = ({
3126
+ }, Tc = ({
3127
3127
  id: e,
3128
3128
  sessionId: t,
3129
3129
  develop: n,
@@ -3189,7 +3189,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3189
3189
  ),
3190
3190
  D && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: D })
3191
3191
  ] });
3192
- }, kc = ({
3192
+ }, Nc = ({
3193
3193
  id: e,
3194
3194
  sessionId: t,
3195
3195
  develop: n,
@@ -3241,7 +3241,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3241
3241
  return null;
3242
3242
  };
3243
3243
  return n(t, e) || [];
3244
- }, Cn = (e) => Array.isArray(e) && e.length > 0 && !Array.isArray(e[0]), Tn = (e) => Array.isArray(e) && e.length > 0 && Array.isArray(e[0]), Oc = ({
3244
+ }, Cn = (e) => Array.isArray(e) && e.length > 0 && !Array.isArray(e[0]), Tn = (e) => Array.isArray(e) && e.length > 0 && Array.isArray(e[0]), kc = ({
3245
3245
  id: e,
3246
3246
  sessionId: t,
3247
3247
  develop: n,
@@ -3273,20 +3273,20 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3273
3273
  develop: n
3274
3274
  }), _ = g(() => (a == null ? void 0 : a.url) && D.length > 0, [a == null ? void 0 : a.url, D.length]), M = g(() => {
3275
3275
  let $ = k ?? d ?? p ?? [];
3276
- return typeof $ == "string" ? _ ? An($).map((L) => Ka(L, D)).filter((L) => Array.isArray(L) && L.length > 0) : [$] : Cn($) && _ ? $.map((L) => An(L)).filter((L) => Array.isArray(L) && L.length > 0) : Tn($) && _ ? $.filter((q) => Array.isArray(q) && q.length > 0) : $;
3277
- }, [k, d, p, _, D]), j = g(() => a != null && a.url && D.length > 0 ? D : h || [], [a == null ? void 0 : a.url, D, h]);
3276
+ return typeof $ == "string" ? _ ? An($).map((z) => Ka(z, D)).filter((z) => Array.isArray(z) && z.length > 0) : [$] : Cn($) && _ ? $.map((z) => An(z)).filter((z) => Array.isArray(z) && z.length > 0) : Tn($) && _ ? $.filter((q) => Array.isArray(q) && q.length > 0) : $;
3277
+ }, [k, d, p, _, D]), K = g(() => a != null && a.url && D.length > 0 ? D : h || [], [a == null ? void 0 : a.url, D, h]);
3278
3278
  bt(() => {
3279
3279
  (async () => {
3280
3280
  if (a != null && a.url) {
3281
3281
  A(!0);
3282
3282
  try {
3283
- const q = await ne({ url: a.url, method: "GET" }), L = Array.isArray(q) ? q : q != null && q.data ? Array.isArray(q.data) ? q.data : q.data.list || q.data.records || [] : [], W = a.codeKey || "value", R = a.labelKey || "label", z = a.childrenKey || "children", K = a.maxLevel || 5, V = er(L, {
3283
+ const q = await ne({ url: a.url, method: "GET" }), z = Array.isArray(q) ? q : q != null && q.data ? Array.isArray(q.data) ? q.data : q.data.list || q.data.records || [] : [], W = a.codeKey || "value", R = a.labelKey || "label", V = a.childrenKey || "children", G = a.maxLevel || 5, j = er(z, {
3284
3284
  codeKey: W,
3285
3285
  labelKey: R,
3286
- childrenKey: z,
3287
- maxLevel: K
3286
+ childrenKey: V,
3287
+ maxLevel: G
3288
3288
  });
3289
- T(V);
3289
+ T(j);
3290
3290
  } catch (q) {
3291
3291
  console.error("Failed to load remote options:", q), T([]);
3292
3292
  } finally {
@@ -3295,14 +3295,14 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3295
3295
  }
3296
3296
  })();
3297
3297
  }, [a == null ? void 0 : a.url, a == null ? void 0 : a.codeKey, a == null ? void 0 : a.labelKey, a == null ? void 0 : a.childrenKey, a == null ? void 0 : a.maxLevel]);
3298
- const P = B(
3298
+ const H = B(
3299
3299
  ($, q) => {
3300
3300
  if (v) {
3301
3301
  v($, q);
3302
3302
  return;
3303
3303
  }
3304
- let L = $;
3305
- if (Cn($) && _ ? L = String($[$.length - 1] || "") : Tn($) && _ && (L = $.map((W) => W.join(","))), N && r && u(N, r, L), l && (x.current && clearTimeout(x.current), x.current = setTimeout(() => {
3304
+ let z = $;
3305
+ if (Cn($) && _ ? z = String($[$.length - 1] || "") : Tn($) && _ && (z = $.map((W) => W.join(","))), N && r && u(N, r, z), l && (x.current && clearTimeout(x.current), x.current = setTimeout(() => {
3306
3306
  x.current = null, C($);
3307
3307
  }, Ba)), m && t) {
3308
3308
  const { actionName: W, arg: R } = gt(m, $, {
@@ -3326,7 +3326,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3326
3326
  y,
3327
3327
  _
3328
3328
  ]
3329
- ), Y = B(() => {
3329
+ ), P = B(() => {
3330
3330
  c && C(M);
3331
3331
  }, [c, C, M]);
3332
3332
  return bt(
@@ -3342,9 +3342,9 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3342
3342
  disabled: n ? !1 : s.disabled,
3343
3343
  open: n ? !1 : void 0,
3344
3344
  value: M,
3345
- options: j,
3346
- onChange: P,
3347
- onBlur: Y,
3345
+ options: K,
3346
+ onChange: H,
3347
+ onBlur: P,
3348
3348
  loading: S,
3349
3349
  status: E,
3350
3350
  style: { width: "100%", ...s.style }
@@ -3352,7 +3352,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3352
3352
  ),
3353
3353
  w && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: w })
3354
3354
  ] });
3355
- }, _c = ({
3355
+ }, Oc = ({
3356
3356
  id: e,
3357
3357
  sessionId: t,
3358
3358
  develop: n,
@@ -3378,8 +3378,8 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3378
3378
  [t, i]
3379
3379
  ), A = O(
3380
3380
  (q) => {
3381
- var L;
3382
- return t && e ? ((L = q.propsStore[`${t}_props`]) == null ? void 0 : L[e]) ?? null : null;
3381
+ var z;
3382
+ return t && e ? ((z = q.propsStore[`${t}_props`]) == null ? void 0 : z[e]) ?? null : null;
3383
3383
  }
3384
3384
  ), N = O(
3385
3385
  (q) => S && r ? q.getDataSet(S, r) : void 0
@@ -3397,37 +3397,37 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3397
3397
  () => Jt(x, A ?? void 0),
3398
3398
  [x, A]
3399
3399
  ), _ = B(
3400
- (q, L, W) => {
3400
+ (q, z, W) => {
3401
3401
  if (o) {
3402
- o(q, L, W);
3402
+ o(q, z, W);
3403
3403
  return;
3404
3404
  }
3405
3405
  if (S && r && T(S, r, q), y && k(q), a && t) {
3406
- const { actionName: R, arg: z } = gt(a, q, {
3406
+ const { actionName: R, arg: V } = gt(a, q, {
3407
3407
  id: e,
3408
3408
  dataSet: i,
3409
3409
  dataSetField: r
3410
3410
  });
3411
- D(t, X(R, z));
3411
+ D(t, X(R, V));
3412
3412
  }
3413
3413
  },
3414
3414
  [o, S, r, T, y, k, a, t, e, D]
3415
3415
  ), M = B(() => {
3416
3416
  u && k(w);
3417
- }, [u, k, w]), j = g(() => {
3417
+ }, [u, k, w]), K = g(() => {
3418
3418
  if (!f) return;
3419
3419
  const q = {};
3420
- return Object.entries(f).forEach(([L, W]) => {
3421
- W !== "" && W !== void 0 && W !== null && (q[L] = W);
3420
+ return Object.entries(f).forEach(([z, W]) => {
3421
+ W !== "" && W !== void 0 && W !== null && (q[z] = W);
3422
3422
  }), Object.keys(q).length > 0 ? q : void 0;
3423
- }, [f]), P = g(() => {
3424
- if (j)
3423
+ }, [f]), H = g(() => {
3424
+ if (K)
3425
3425
  return {
3426
3426
  components: {
3427
- TreeSelect: j
3427
+ TreeSelect: K
3428
3428
  }
3429
3429
  };
3430
- }, [j]), Y = C ? "error" : void 0, $ = /* @__PURE__ */ ot("div", { onBlur: M, children: [
3430
+ }, [K]), P = C ? "error" : void 0, $ = /* @__PURE__ */ ot("div", { onBlur: M, children: [
3431
3431
  /* @__PURE__ */ b(
3432
3432
  vr,
3433
3433
  {
@@ -3440,13 +3440,13 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3440
3440
  style: { width: "100%", ...E.style },
3441
3441
  styles: p,
3442
3442
  classNames: d,
3443
- status: Y
3443
+ status: P
3444
3444
  }
3445
3445
  ),
3446
3446
  C && /* @__PURE__ */ b("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: C })
3447
3447
  ] });
3448
- return P ? /* @__PURE__ */ b(Mt, { theme: P, children: $ }) : $;
3449
- }, Ec = ({
3448
+ return H ? /* @__PURE__ */ b(Mt, { theme: H, children: $ }) : $;
3449
+ }, _c = ({
3450
3450
  id: e,
3451
3451
  sessionId: t,
3452
3452
  develop: n,
@@ -3465,16 +3465,16 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3465
3465
  action: s,
3466
3466
  ...y
3467
3467
  }) => {
3468
- const u = Re(i, r, t), x = u.dataSet, D = u.dataSetField, T = u.sessionId, S = O((G) => G.addCommand), A = O((G) => G.setDataSet), N = g(
3468
+ const u = Re(i, r, t), x = u.dataSet, D = u.dataSetField, T = u.sessionId, S = O((Y) => Y.addCommand), A = O((Y) => Y.setDataSet), N = g(
3469
3469
  () => tt(T, x),
3470
3470
  [T, x]
3471
3471
  ), k = O(
3472
- (G) => {
3473
- var H;
3474
- return T && e ? ((H = G.propsStore[`${T}_props`]) == null ? void 0 : H[e]) ?? null : null;
3472
+ (Y) => {
3473
+ var U;
3474
+ return T && e ? ((U = Y.propsStore[`${T}_props`]) == null ? void 0 : U[e]) ?? null : null;
3475
3475
  }
3476
3476
  ), C = O(
3477
- (G) => N && D ? G.getDataSet(N, D) : void 0
3477
+ (Y) => N && D ? Y.getDataSet(N, D) : void 0
3478
3478
  ), { validate: w, help: E } = jt({
3479
3479
  rules: c,
3480
3480
  dataSet: x,
@@ -3482,12 +3482,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3482
3482
  sessionId: T,
3483
3483
  id: e,
3484
3484
  develop: n
3485
- }), _ = B((G) => G.map((H) => {
3485
+ }), _ = B((Y) => Y.map((U) => {
3486
3486
  var et;
3487
- return ((et = H == null ? void 0 : H.response) == null ? void 0 : et.src) ?? (H == null ? void 0 : H.src) ?? (H == null ? void 0 : H.url) ?? (H == null ? void 0 : H.thumbUrl) ?? "";
3488
- }).filter((H) => H && typeof H == "string"), []), M = B((G) => {
3489
- const H = Ut().viewRes, et = (Q) => (H ? H(Q) : Q) || Q;
3490
- return G.map((Q, lt) => {
3487
+ return ((et = U == null ? void 0 : U.response) == null ? void 0 : et.src) ?? (U == null ? void 0 : U.src) ?? (U == null ? void 0 : U.url) ?? (U == null ? void 0 : U.thumbUrl) ?? "";
3488
+ }).filter((U) => U && typeof U == "string"), []), M = B((Y) => {
3489
+ const U = Yt().viewRes, et = (Q) => (U ? U(Q) : Q) || Q;
3490
+ return Y.map((Q, lt) => {
3491
3491
  const ft = et(Q);
3492
3492
  return {
3493
3493
  uid: `src-${lt}-${Q}`,
@@ -3498,9 +3498,9 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3498
3498
  response: { src: Q }
3499
3499
  };
3500
3500
  });
3501
- }, []), j = B((G) => {
3502
- const H = Ut().viewRes, et = (Q) => (Q && H ? H(Q) : Q) || Q;
3503
- return G.map((Q) => {
3501
+ }, []), K = B((Y) => {
3502
+ const U = Yt().viewRes, et = (Q) => (Q && U ? U(Q) : Q) || Q;
3503
+ return Y.map((Q) => {
3504
3504
  var F;
3505
3505
  const lt = ((F = Q == null ? void 0 : Q.response) == null ? void 0 : F.src) ?? (Q == null ? void 0 : Q.src) ?? (Q == null ? void 0 : Q.url) ?? (Q == null ? void 0 : Q.thumbUrl) ?? "", ft = typeof lt == "string" ? et(lt) : lt, xt = {};
3506
3506
  for (const ht of Object.keys(Q)) {
@@ -3509,45 +3509,45 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3509
3509
  }
3510
3510
  return ft && typeof ft == "string" && (xt.url = ft, xt.thumbUrl = ft), xt;
3511
3511
  });
3512
- }, []), [P, Y] = dt(null), $ = g(() => {
3513
- const G = C ?? (k == null ? void 0 : k.fileList) ?? h;
3514
- if (G != null) {
3515
- if (typeof G == "string" && G) return M([G]);
3516
- if (Array.isArray(G))
3517
- return G.length > 0 && typeof G[0] == "string" ? M(G) : j(G);
3518
- }
3519
- }, [C, k == null ? void 0 : k.fileList, h, M, j]), q = P ?? $, L = g(
3512
+ }, []), [H, P] = dt(null), $ = g(() => {
3513
+ const Y = C ?? (k == null ? void 0 : k.fileList) ?? h;
3514
+ if (Y != null) {
3515
+ if (typeof Y == "string" && Y) return M([Y]);
3516
+ if (Array.isArray(Y))
3517
+ return Y.length > 0 && typeof Y[0] == "string" ? M(Y) : K(Y);
3518
+ }
3519
+ }, [C, k == null ? void 0 : k.fileList, h, M, K]), q = H ?? $, z = g(
3520
3520
  () => Jt(y, k ?? void 0, { skipKeys: ["value", "help", "validateStatus", "fileList"] }),
3521
3521
  [y, k]
3522
- ), W = B((G) => G.size / 1024 / 1024 < f ? !0 : (Ce.error(`文件大小不能超过 ${f}MB`), !1), [f]), R = B(async (G) => {
3523
- const { file: H, onSuccess: et, onError: Q, onProgress: lt } = G;
3524
- if (Ut().upload)
3522
+ ), W = B((Y) => Y.size / 1024 / 1024 < f ? !0 : (Ce.error(`文件大小不能超过 ${f}MB`), !1), [f]), R = B(async (Y) => {
3523
+ const { file: U, onSuccess: et, onError: Q, onProgress: lt } = Y;
3524
+ if (Yt().upload)
3525
3525
  try {
3526
3526
  lt == null || lt({ percent: 30 });
3527
- const xt = await Xn(H, {
3527
+ const xt = await Xn(U, {
3528
3528
  url: d,
3529
3529
  headers: {
3530
3530
  Authorization: rn() ? `Bearer ${rn()}` : ""
3531
3531
  }
3532
3532
  });
3533
- lt == null || lt({ percent: 100 }), et == null || et(xt, H);
3533
+ lt == null || lt({ percent: 100 }), et == null || et(xt, U);
3534
3534
  } catch (xt) {
3535
3535
  Q == null || Q(xt), Ce.error("上传失败");
3536
3536
  }
3537
3537
  else
3538
3538
  Q == null || Q(new Error("Upload handler not configured")), Ce.warning("上传功能未配置");
3539
- }, [d]), z = B(
3540
- (G) => {
3539
+ }, [d]), V = B(
3540
+ (Y) => {
3541
3541
  if (v) {
3542
- v(G);
3542
+ v(Y);
3543
3543
  return;
3544
3544
  }
3545
- const H = Array.isArray(G.fileList) ? j(G.fileList) : G.fileList, et = Array.isArray(H) ? _(H) : [], Q = Array.isArray(H) && H.some((ft) => (ft == null ? void 0 : ft.status) === "uploading");
3546
- N && D && (et.length > 0 || !Array.isArray(H) || H.length === 0) ? (A(N, D, et), Y(null)) : Q ? Y(H) : H.length === 0 && Y(null), m && w(H), a && T && S(
3545
+ const U = Array.isArray(Y.fileList) ? K(Y.fileList) : Y.fileList, et = Array.isArray(U) ? _(U) : [], Q = Array.isArray(U) && U.some((ft) => (ft == null ? void 0 : ft.status) === "uploading");
3546
+ N && D && (et.length > 0 || !Array.isArray(U) || U.length === 0) ? (A(N, D, et), P(null)) : Q ? P(U) : U.length === 0 && P(null), m && w(U), a && T && S(
3547
3547
  T,
3548
3548
  X(a, {
3549
- file: G.file,
3550
- fileList: H,
3549
+ file: Y.file,
3550
+ fileList: U,
3551
3551
  src: et
3552
3552
  })
3553
3553
  );
@@ -3562,46 +3562,46 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3562
3562
  a,
3563
3563
  T,
3564
3564
  S,
3565
- j,
3565
+ K,
3566
3566
  _
3567
3567
  ]
3568
- ), K = B(() => {
3568
+ ), G = B(() => {
3569
3569
  l && w(q);
3570
- }, [l, w, q]), V = B((G) => {
3570
+ }, [l, w, q]), j = B((Y) => {
3571
3571
  var ft;
3572
- const H = G.url || G.thumbUrl;
3573
- if (!H) return "";
3574
- const et = ((ft = G.response) == null ? void 0 : ft.src) ?? (typeof H == "string" ? H : ""), Q = Ut().viewRes, lt = et && Q ? Q(et) : H;
3572
+ const U = Y.url || Y.thumbUrl;
3573
+ if (!U) return "";
3574
+ const et = ((ft = Y.response) == null ? void 0 : ft.src) ?? (typeof U == "string" ? U : ""), Q = Yt().viewRes, lt = et && Q ? Q(et) : U;
3575
3575
  return String(lt).replace(/([?&])download=1(&|$)/, (xt, F, ht) => ht ? F : "");
3576
- }, []), U = B((G) => {
3576
+ }, []), L = B((Y) => {
3577
3577
  var Q, lt;
3578
- const H = ((Q = G.response) == null ? void 0 : Q.src) ?? G.name ?? "", et = ((lt = String(H).split(".").pop()) == null ? void 0 : lt.toLowerCase()) || "";
3579
- return ["webp", "svg", "png", "gif", "jpg", "jpeg", "jfif", "bmp", "ico", "heic", "heif"].includes(et) || /^data:image\//.test(V(G));
3580
- }, [V]), [rt, it] = dt({
3578
+ const U = ((Q = Y.response) == null ? void 0 : Q.src) ?? Y.name ?? "", et = ((lt = String(U).split(".").pop()) == null ? void 0 : lt.toLowerCase()) || "";
3579
+ return ["webp", "svg", "png", "gif", "jpg", "jpeg", "jfif", "bmp", "ico", "heic", "heif"].includes(et) || /^data:image\//.test(j(Y));
3580
+ }, [j]), [rt, it] = dt({
3581
3581
  url: "",
3582
3582
  name: "",
3583
3583
  urls: [],
3584
3584
  current: 0,
3585
3585
  open: !1
3586
- }), nt = B((G) => {
3587
- const H = V(G);
3588
- if (H)
3589
- if (U(G) && (q != null && q.length)) {
3590
- const et = q.filter((ft) => U(ft)), Q = et.map((ft) => V(ft)).filter(Boolean), lt = et.findIndex((ft) => (ft.uid || ft.url) === (G.uid || G.url));
3591
- it({ url: H, name: G.name, urls: Q, current: lt >= 0 ? lt : 0, open: !0 });
3592
- } else U(G) || window.open(H, "_blank");
3593
- }, [V, U, q]), Ct = !!Ut().upload && !s, mt = L, I = mt.buttonText ?? o, st = mt.listType ?? y.listType, at = mt.maxCount, _t = (q == null ? void 0 : q.length) ?? 0, Ot = typeof at == "number" && _t >= at, Bt = B(
3594
- (G) => Ot ? (Ce.warning(`最多只能上传 ${at} 个文件`), !1) : W(G),
3586
+ }), nt = B((Y) => {
3587
+ const U = j(Y);
3588
+ if (U)
3589
+ if (L(Y) && (q != null && q.length)) {
3590
+ const et = q.filter((ft) => L(ft)), Q = et.map((ft) => j(ft)).filter(Boolean), lt = et.findIndex((ft) => (ft.uid || ft.url) === (Y.uid || Y.url));
3591
+ it({ url: U, name: Y.name, urls: Q, current: lt >= 0 ? lt : 0, open: !0 });
3592
+ } else L(Y) || window.open(U, "_blank");
3593
+ }, [j, L, q]), Ct = !!Yt().upload && !s, mt = z, I = mt.buttonText ?? o, st = mt.listType ?? y.listType, at = mt.maxCount, _t = (q == null ? void 0 : q.length) ?? 0, Ot = typeof at == "number" && _t >= at, Bt = B(
3594
+ (Y) => Ot ? (Ce.warning(`最多只能上传 ${at} 个文件`), !1) : W(Y),
3595
3595
  [Ot, at, W]
3596
3596
  );
3597
- return /* @__PURE__ */ ot("div", { onBlur: K, children: [
3597
+ return /* @__PURE__ */ ot("div", { onBlur: G, children: [
3598
3598
  /* @__PURE__ */ b(
3599
3599
  br,
3600
3600
  {
3601
- ...L,
3602
- disabled: n ? !1 : L.disabled,
3601
+ ...z,
3602
+ disabled: n ? !1 : z.disabled,
3603
3603
  fileList: q,
3604
- onChange: z,
3604
+ onChange: V,
3605
3605
  onPreview: nt,
3606
3606
  beforeUpload: Bt,
3607
3607
  customRequest: Ct ? R : void 0,
@@ -3619,19 +3619,19 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3619
3619
  {
3620
3620
  preview: {
3621
3621
  current: rt.current,
3622
- onOpenChange: (G) => !G && it((H) => ({ ...H, open: !1 }))
3622
+ onOpenChange: (Y) => !Y && it((U) => ({ ...U, open: !1 }))
3623
3623
  },
3624
- children: rt.urls.map((G, H) => /* @__PURE__ */ b(
3624
+ children: rt.urls.map((Y, U) => /* @__PURE__ */ b(
3625
3625
  Qt,
3626
3626
  {
3627
- src: G,
3627
+ src: Y,
3628
3628
  style: { width: 1, height: 1 },
3629
3629
  preview: {
3630
- open: rt.open && rt.current === H,
3630
+ open: rt.open && rt.current === U,
3631
3631
  onOpenChange: (et) => !et && it((Q) => ({ ...Q, open: !1 }))
3632
3632
  }
3633
3633
  },
3634
- H
3634
+ U
3635
3635
  ))
3636
3636
  }
3637
3637
  ) : /* @__PURE__ */ b(
@@ -3642,12 +3642,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3642
3642
  style: { width: 1, height: 1 },
3643
3643
  preview: {
3644
3644
  open: rt.open,
3645
- onOpenChange: (G) => !G && it((H) => ({ ...H, open: !1 }))
3645
+ onOpenChange: (Y) => !Y && it((U) => ({ ...U, open: !1 }))
3646
3646
  }
3647
3647
  }
3648
3648
  ) })
3649
3649
  ] });
3650
- }, $c = ({
3650
+ }, Ec = ({
3651
3651
  id: e,
3652
3652
  sessionId: t,
3653
3653
  develop: n,
@@ -3666,18 +3666,18 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3666
3666
  searchAction: f,
3667
3667
  ...s
3668
3668
  }) => {
3669
- const y = O((j) => j.addCommand), u = O((j) => j.getDataSet), x = O((j) => j.setDataSet), D = g(
3669
+ const y = O((K) => K.addCommand), u = O((K) => K.getDataSet), x = O((K) => K.setDataSet), D = g(
3670
3670
  () => tt(t, i),
3671
3671
  [t, i]
3672
3672
  ), [T, S] = dt(h || []), [, A] = dt(!1), N = qt.useRef(void 0), { get: k } = ea(), C = g(() => {
3673
3673
  if (D && r) return u(D, r);
3674
- }, [D, r, u]), w = g(() => C ?? m ?? v, [C, m, v]), E = B((j) => {
3674
+ }, [D, r, u]), w = g(() => C ?? m ?? v, [C, m, v]), E = B((K) => {
3675
3675
  if (!(d != null && d.queryApi)) {
3676
3676
  h && S(
3677
3677
  h.filter(
3678
- (P) => {
3679
- var Y, $;
3680
- return ((Y = P.value) == null ? void 0 : Y.toString().toLowerCase().includes(j.toLowerCase())) || (($ = P.label) == null ? void 0 : $.toString().toLowerCase().includes(j.toLowerCase()));
3678
+ (H) => {
3679
+ var P, $;
3680
+ return ((P = H.value) == null ? void 0 : P.toString().toLowerCase().includes(K.toLowerCase())) || (($ = H.label) == null ? void 0 : $.toString().toLowerCase().includes(K.toLowerCase()));
3681
3681
  }
3682
3682
  )
3683
3683
  );
@@ -3687,21 +3687,21 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3687
3687
  if (d != null && d.queryApi) {
3688
3688
  A(!0);
3689
3689
  try {
3690
- const { queryApi: P, keyWordParamName: Y = "keyword", valueKey: $ = "value", labelKey: q = "label", fixedParams: L = [] } = d, W = {};
3691
- Y && (W[Y] = j), Array.isArray(L) && L.forEach((V) => {
3692
- V.key && (W[V.key] = V.value);
3690
+ const { queryApi: H, keyWordParamName: P = "keyword", valueKey: $ = "value", labelKey: q = "label", fixedParams: z = [] } = d, W = {};
3691
+ P && (W[P] = K), Array.isArray(z) && z.forEach((j) => {
3692
+ j.key && (W[j.key] = j.value);
3693
3693
  });
3694
- const R = await k(P, W);
3695
- let z = [];
3696
- Array.isArray(R) ? z = R : R && Array.isArray(R.data) ? z = R.data : R && R.data && Array.isArray(R.data.records) ? z = R.data.records : R && R.result && Array.isArray(R.result) && (z = R.result);
3697
- const K = z.map((V) => ({
3698
- value: V[$],
3699
- label: V[q] || V[$],
3700
- ...V
3694
+ const R = await k(H, W);
3695
+ let V = [];
3696
+ Array.isArray(R) ? V = R : R && Array.isArray(R.data) ? V = R.data : R && R.data && Array.isArray(R.data.records) ? V = R.data.records : R && R.result && Array.isArray(R.result) && (V = R.result);
3697
+ const G = V.map((j) => ({
3698
+ value: j[$],
3699
+ label: j[q] || j[$],
3700
+ ...j
3701
3701
  }));
3702
- S(K);
3703
- } catch (P) {
3704
- console.error("Failed to fetch remote options:", P), S([]);
3702
+ S(G);
3703
+ } catch (H) {
3704
+ console.error("Failed to fetch remote options:", H), S([]);
3705
3705
  } finally {
3706
3706
  A(!1);
3707
3707
  }
@@ -3711,21 +3711,21 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3711
3711
  qt.useEffect(() => {
3712
3712
  !(d != null && d.queryApi) && h && S(h);
3713
3713
  }, [h, d == null ? void 0 : d.queryApi]);
3714
- const _ = B((j) => {
3714
+ const _ = B((K) => {
3715
3715
  if (c) {
3716
- c(j);
3716
+ c(K);
3717
3717
  return;
3718
3718
  }
3719
- if (D && r && x(D, r, j), a && t) {
3720
- const { actionName: P, arg: Y } = gt(a, j, { id: e, dataSet: i, dataSetField: r });
3721
- y(t, X(P, Y));
3719
+ if (D && r && x(D, r, K), a && t) {
3720
+ const { actionName: H, arg: P } = gt(a, K, { id: e, dataSet: i, dataSetField: r });
3721
+ y(t, X(H, P));
3722
3722
  }
3723
- }, [c, D, r, x, a, t, e, y]), M = B((j, P) => {
3723
+ }, [c, D, r, x, a, t, e, y]), M = B((K, H) => {
3724
3724
  if (l) {
3725
- l(j, P);
3725
+ l(K, H);
3726
3726
  return;
3727
3727
  }
3728
- o && t && y(t, X(o, { value: j, option: P }));
3728
+ o && t && y(t, X(o, { value: K, option: H }));
3729
3729
  }, [l, o, t, y]);
3730
3730
  return /* @__PURE__ */ b(
3731
3731
  Sr,
@@ -3741,7 +3741,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3741
3741
  style: { width: "100%", ...s.style }
3742
3742
  }
3743
3743
  );
3744
- }, Mc = ({
3744
+ }, $c = ({
3745
3745
  id: e,
3746
3746
  sessionId: t,
3747
3747
  develop: n,
@@ -3776,12 +3776,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3776
3776
  };
3777
3777
  return /* @__PURE__ */ ot(Ee, { ...f, form: s, onFinish: D, children: [
3778
3778
  d,
3779
- (c || l) && /* @__PURE__ */ b(Ee.Item, { children: /* @__PURE__ */ ot(Yt, { children: [
3779
+ (c || l) && /* @__PURE__ */ b(Ee.Item, { children: /* @__PURE__ */ ot(Pt, { children: [
3780
3780
  c && /* @__PURE__ */ b(Xt, { type: "primary", htmlType: "submit", children: m }),
3781
3781
  l && /* @__PURE__ */ b(Xt, { onClick: T, children: v })
3782
3782
  ] }) })
3783
3783
  ] });
3784
- }, Rc = ({
3784
+ }, Mc = ({
3785
3785
  id: e,
3786
3786
  sessionId: t,
3787
3787
  develop: n,
@@ -3796,7 +3796,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3796
3796
  return t;
3797
3797
  }
3798
3798
  return e;
3799
- }, jc = ({
3799
+ }, Rc = ({
3800
3800
  id: e,
3801
3801
  sessionId: t,
3802
3802
  develop: n,
@@ -3826,26 +3826,26 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3826
3826
  token: w,
3827
3827
  ...E
3828
3828
  }) => {
3829
- const _ = O((I) => I.addCommand), M = O((I) => I.getDataSet), j = O((I) => I.setDataSet), P = g(
3829
+ const _ = O((I) => I.addCommand), M = O((I) => I.getDataSet), K = O((I) => I.setDataSet), H = g(
3830
3830
  () => tt(t, i),
3831
3831
  [t, i]
3832
- ), Y = g(() => Wt(C, {}), [C]), $ = g(() => Wt(w, {}), [w]), q = g(() => Wt(f, ["源列表", "目标列表"]), [f]), L = g(() => Wt(s, [">", "<"]), [s]), W = g(() => Wt(y, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [y]), R = g(() => Wt(p, !1), [p]), z = g(() => {
3833
- if (P && r) {
3834
- const I = M(P, r);
3832
+ ), P = g(() => Wt(C, {}), [C]), $ = g(() => Wt(w, {}), [w]), q = g(() => Wt(f, ["源列表", "目标列表"]), [f]), z = g(() => Wt(s, [">", "<"]), [s]), W = g(() => Wt(y, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [y]), R = g(() => Wt(p, !1), [p]), V = g(() => {
3833
+ if (H && r) {
3834
+ const I = M(H, r);
3835
3835
  if (Array.isArray(I)) return I;
3836
3836
  }
3837
- }, [P, r, M]), K = g(() => {
3838
- if (P && r) {
3839
- const I = M(P, `${r}.dataSource`);
3837
+ }, [H, r, M]), G = g(() => {
3838
+ if (H && r) {
3839
+ const I = M(H, `${r}.dataSource`);
3840
3840
  if (Array.isArray(I)) return I;
3841
3841
  }
3842
- }, [P, r, M]), V = g(() => n ? K ?? Wt(a, []) : P ? K ?? [] : Wt(a, []), [n, P, K, a]), U = g(() => n ? z ?? Wt(o, []) : P ? z ?? [] : Wt(o, []), [n, P, z, o]), rt = g(() => Wt(c, []), [c]), it = B((I, st, at) => {
3842
+ }, [H, r, M]), j = g(() => n ? G ?? Wt(a, []) : H ? G ?? [] : Wt(a, []), [n, H, G, a]), L = g(() => n ? V ?? Wt(o, []) : H ? V ?? [] : Wt(o, []), [n, H, V, o]), rt = g(() => Wt(c, []), [c]), it = B((I, st, at) => {
3843
3843
  if (S) {
3844
3844
  S(I, st, at);
3845
3845
  return;
3846
3846
  }
3847
- P && r && j(P, r, I), u && t && _(t, X(u, { targetKeys: I, direction: st, moveKeys: at }));
3848
- }, [S, P, r, j, u, t, _]), nt = B((I, st) => {
3847
+ H && r && K(H, r, I), u && t && _(t, X(u, { targetKeys: I, direction: st, moveKeys: at }));
3848
+ }, [S, H, r, K, u, t, _]), nt = B((I, st) => {
3849
3849
  if (A) {
3850
3850
  A(I, st);
3851
3851
  return;
@@ -3866,8 +3866,8 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3866
3866
  }, [k, T, t, _]), mt = /* @__PURE__ */ b(
3867
3867
  wr,
3868
3868
  {
3869
- dataSource: V,
3870
- targetKeys: U,
3869
+ dataSource: j,
3870
+ targetKeys: L,
3871
3871
  selectedKeys: rt,
3872
3872
  disabled: l,
3873
3873
  showSearch: m,
@@ -3876,13 +3876,13 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3876
3876
  pagination: R,
3877
3877
  status: d || void 0,
3878
3878
  titles: q,
3879
- actions: L,
3879
+ actions: z,
3880
3880
  locale: W,
3881
3881
  onChange: it,
3882
3882
  onSelectChange: nt,
3883
3883
  onSearch: yt,
3884
3884
  onScroll: Ct,
3885
- styles: Y,
3885
+ styles: P,
3886
3886
  render: (I) => I.title,
3887
3887
  ...E
3888
3888
  }
@@ -3908,7 +3908,7 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3908
3908
  value: n.value,
3909
3909
  icon: n.icon ? La(n.icon) : void 0,
3910
3910
  disabled: n.disabled
3911
- })), Bc = ({
3911
+ })), jc = ({
3912
3912
  id: e,
3913
3913
  sessionId: t,
3914
3914
  develop: n,
@@ -3939,12 +3939,12 @@ const yc = qt.memo(tr), xn = 200, gc = ({
3939
3939
  if (typeof M == "string") return M;
3940
3940
  }
3941
3941
  }, [S, r, D]) ?? o, E = B((M) => {
3942
- const j = String(M);
3942
+ const K = String(M);
3943
3943
  if (f) {
3944
- f(j);
3944
+ f(K);
3945
3945
  return;
3946
3946
  }
3947
- S && r && T(S, r, j), d && t && x(t, X(d, { value: j }));
3947
+ S && r && T(S, r, K), d && t && x(t, X(d, { value: K }));
3948
3948
  }, [f, S, r, T, d, t, x]), _ = /* @__PURE__ */ b(
3949
3949
  Dr,
3950
3950
  {
@@ -4081,7 +4081,7 @@ const Wa = ({ dictCode: e, value: t }) => {
4081
4081
  }, Ya = (e, t) => {
4082
4082
  let n = "";
4083
4083
  try {
4084
- const i = Pt(e);
4084
+ const i = Ut(e);
4085
4085
  i.isValid() && (t.dateFormat === "date" ? n = i.format("YYYY-MM-DD") : t.dateFormat === "time" ? n = i.format("HH:mm:ss") : (t.dateFormat, n = i.format("YYYY-MM-DD HH:mm:ss")));
4086
4086
  } catch {
4087
4087
  n = "";
@@ -4179,75 +4179,75 @@ const Ue = 420, On = 440, Xa = ({
4179
4179
  },
4180
4180
  [v]
4181
4181
  ), N = B(
4182
- (R, z, K, V) => kn(R, z, K ?? y, V ?? x),
4182
+ (R, V, G, j) => kn(R, V, G ?? y, j ?? x),
4183
4183
  [y, x]
4184
4184
  ), k = B(() => {
4185
4185
  d(r);
4186
- const R = a.map((z) => ({ ...z }));
4186
+ const R = a.map((V) => ({ ...V }));
4187
4187
  s(R), u(c), D(m), A(kn(r, R, c, m));
4188
4188
  }, [r, a, c, m, A]), C = B(
4189
4189
  (R) => {
4190
- s((z) => {
4191
- const K = z.map((V) => V.key === R ? { ...V, visible: !V.visible } : V);
4192
- return A(N(p, K)), K;
4190
+ s((V) => {
4191
+ const G = V.map((j) => j.key === R ? { ...j, visible: !j.visible } : j);
4192
+ return A(N(p, G)), G;
4193
4193
  });
4194
4194
  },
4195
4195
  [p, N, A]
4196
4196
  ), w = B(
4197
- (R, z) => {
4198
- s((K) => {
4199
- const V = K.map((U) => U.key === R ? { ...U, fixed: z } : U);
4200
- return A(N(p, V)), V;
4197
+ (R, V) => {
4198
+ s((G) => {
4199
+ const j = G.map((L) => L.key === R ? { ...L, fixed: V } : L);
4200
+ return A(N(p, j)), j;
4201
4201
  });
4202
4202
  },
4203
4203
  [p, N, A]
4204
4204
  ), E = B(
4205
- (R, z) => {
4206
- s((K) => {
4207
- const V = K.map((U) => U.key === R ? { ...U, width: z } : U);
4208
- return A(N(p, V)), V;
4205
+ (R, V) => {
4206
+ s((G) => {
4207
+ const j = G.map((L) => L.key === R ? { ...L, width: V } : L);
4208
+ return A(N(p, j)), j;
4209
4209
  });
4210
4210
  },
4211
4211
  [p, N, A]
4212
4212
  ), _ = B(
4213
- (R, z) => {
4214
- s((K) => {
4215
- const V = K.find((nt) => nt.key === R);
4216
- if (!V) return K;
4217
- const U = typeof V.width == "number" ? V.width : 80, rt = Math.max(He, U + z), it = K.map((nt) => nt.key === R ? { ...nt, width: rt } : nt);
4213
+ (R, V) => {
4214
+ s((G) => {
4215
+ const j = G.find((nt) => nt.key === R);
4216
+ if (!j) return G;
4217
+ const L = typeof j.width == "number" ? j.width : 80, rt = Math.max(He, L + V), it = G.map((nt) => nt.key === R ? { ...nt, width: rt } : nt);
4218
4218
  return A(N(p, it)), it;
4219
4219
  });
4220
4220
  },
4221
4221
  [p, N, A]
4222
4222
  ), M = B(
4223
- (R, z) => {
4224
- if (z < 0 || z >= f.length) return;
4225
- const K = [...f], [V] = K.splice(R, 1);
4226
- K.splice(z, 0, V), s(K), A(N(p, K));
4223
+ (R, V) => {
4224
+ if (V < 0 || V >= f.length) return;
4225
+ const G = [...f], [j] = G.splice(R, 1);
4226
+ G.splice(V, 0, j), s(G), A(N(p, G));
4227
4227
  },
4228
4228
  [f, p, N, A]
4229
- ), j = B(
4229
+ ), K = B(
4230
4230
  (R) => {
4231
4231
  d(R), A(N(R, f));
4232
4232
  },
4233
4233
  [f, N, A]
4234
- ), P = B(
4234
+ ), H = B(
4235
4235
  (R) => {
4236
4236
  u(R), A(N(p, f, R, x));
4237
4237
  },
4238
4238
  [p, f, x, N, A]
4239
- ), Y = B(
4239
+ ), P = B(
4240
4240
  (R) => {
4241
4241
  D(R), A(N(p, f, y, R));
4242
4242
  },
4243
4243
  [p, f, y, N, A]
4244
- ), $ = (R) => (z) => {
4245
- S(R), z.dataTransfer.effectAllowed = "move", z.dataTransfer.setData("text/plain", String(R));
4246
- }, q = (R) => (z) => {
4247
- z.preventDefault(), z.dataTransfer.dropEffect = "move", !(T === null || T === R) && (M(T, R), S(R));
4248
- }, L = () => S(null), W = t != null ? (() => {
4249
- let R = t.y, z = t.x;
4250
- return typeof window < "u" && (z + Ue > window.innerWidth && (z = window.innerWidth - Ue - 16), z < 16 && (z = 16), R + On > window.innerHeight && (R = Math.max(16, window.innerHeight - On - 16)), R < 16 && (R = 16)), { margin: 0, top: R, left: z };
4244
+ ), $ = (R) => (V) => {
4245
+ S(R), V.dataTransfer.effectAllowed = "move", V.dataTransfer.setData("text/plain", String(R));
4246
+ }, q = (R) => (V) => {
4247
+ V.preventDefault(), V.dataTransfer.dropEffect = "move", !(T === null || T === R) && (M(T, R), S(R));
4248
+ }, z = () => S(null), W = t != null ? (() => {
4249
+ let R = t.y, V = t.x;
4250
+ return typeof window < "u" && (V + Ue > window.innerWidth && (V = window.innerWidth - Ue - 16), V < 16 && (V = 16), R + On > window.innerHeight && (R = Math.max(16, window.innerHeight - On - 16)), R < 16 && (R = 16)), { margin: 0, top: R, left: V };
4251
4251
  })() : void 0;
4252
4252
  return /* @__PURE__ */ b(
4253
4253
  jn,
@@ -4268,19 +4268,19 @@ const Ue = 420, On = 440, Xa = ({
4268
4268
  ce,
4269
4269
  {
4270
4270
  checked: p,
4271
- onChange: (R) => j(R.target.checked),
4271
+ onChange: (R) => K(R.target.checked),
4272
4272
  children: "序号列"
4273
4273
  }
4274
4274
  ),
4275
- /* @__PURE__ */ b(ce, { checked: y, onChange: (R) => P(R.target.checked), children: "自动滚动" }),
4276
- /* @__PURE__ */ ot(Yt, { align: "center", children: [
4275
+ /* @__PURE__ */ b(ce, { checked: y, onChange: (R) => H(R.target.checked), children: "自动滚动" }),
4276
+ /* @__PURE__ */ ot(Pt, { align: "center", children: [
4277
4277
  /* @__PURE__ */ b("span", { className: "and-table-column-setting-label", children: "表格" }),
4278
4278
  /* @__PURE__ */ b(
4279
4279
  Mn,
4280
4280
  {
4281
4281
  size: "small",
4282
4282
  value: x,
4283
- onChange: Y,
4283
+ onChange: P,
4284
4284
  options: [...Qa],
4285
4285
  style: { width: 80 }
4286
4286
  }
@@ -4294,16 +4294,16 @@ const Ue = 420, On = 440, Xa = ({
4294
4294
  /* @__PURE__ */ b("th", { className: "and-table-column-setting-th-width", children: "宽度(px)" }),
4295
4295
  /* @__PURE__ */ b("th", { className: "and-table-column-setting-th-fix", children: "固定" })
4296
4296
  ] }) }),
4297
- /* @__PURE__ */ b("tbody", { children: f.map((R, z) => {
4298
- const K = typeof R.width == "number" ? R.width : null, V = R.width === "auto" || R.width === void 0 && K === null;
4297
+ /* @__PURE__ */ b("tbody", { children: f.map((R, V) => {
4298
+ const G = typeof R.width == "number" ? R.width : null, j = R.width === "auto" || R.width === void 0 && G === null;
4299
4299
  return /* @__PURE__ */ ot(
4300
4300
  "tr",
4301
4301
  {
4302
- className: `and-table-column-setting-row ${T === z ? "and-table-column-setting-row-dragging" : ""}`,
4302
+ className: `and-table-column-setting-row ${T === V ? "and-table-column-setting-row-dragging" : ""}`,
4303
4303
  draggable: !0,
4304
- onDragStart: $(z),
4305
- onDragOver: q(z),
4306
- onDragEnd: L,
4304
+ onDragStart: $(V),
4305
+ onDragOver: q(V),
4306
+ onDragEnd: z,
4307
4307
  children: [
4308
4308
  /* @__PURE__ */ b("td", { className: "and-table-column-setting-td-drag", children: /* @__PURE__ */ b("span", { className: "and-table-column-setting-drag", title: "拖动排序", children: /* @__PURE__ */ b(Ir, {}) }) }),
4309
4309
  /* @__PURE__ */ ot("td", { className: "and-table-column-setting-td-name", children: [
@@ -4326,12 +4326,12 @@ const Ue = 420, On = 440, Xa = ({
4326
4326
  size: "small",
4327
4327
  min: He,
4328
4328
  step: fe,
4329
- value: V ? void 0 : K ?? 80,
4329
+ value: j ? void 0 : G ?? 80,
4330
4330
  placeholder: "auto",
4331
4331
  controls: !1,
4332
4332
  style: { width: 44 },
4333
- onChange: (U) => {
4334
- U == null || typeof U == "string" && U === "" ? E(R.key, "auto") : E(R.key, Math.max(He, Number(U)));
4333
+ onChange: (L) => {
4334
+ L == null || typeof L == "string" && L === "" ? E(R.key, "auto") : E(R.key, Math.max(He, Number(L)));
4335
4335
  }
4336
4336
  }
4337
4337
  ),
@@ -4345,7 +4345,7 @@ const Ue = 420, On = 440, Xa = ({
4345
4345
  }
4346
4346
  )
4347
4347
  ] }) }),
4348
- /* @__PURE__ */ b("td", { className: "and-table-column-setting-td-fix", children: /* @__PURE__ */ ot(Yt, { className: "and-table-column-setting-fix", children: [
4348
+ /* @__PURE__ */ b("td", { className: "and-table-column-setting-td-fix", children: /* @__PURE__ */ ot(Pt, { className: "and-table-column-setting-fix", children: [
4349
4349
  /* @__PURE__ */ b(
4350
4350
  "span",
4351
4351
  {
@@ -4376,7 +4376,7 @@ const Ue = 420, On = 440, Xa = ({
4376
4376
  ] })
4377
4377
  }
4378
4378
  );
4379
- }, Kc = ({
4379
+ }, Bc = ({
4380
4380
  id: e,
4381
4381
  sessionId: t,
4382
4382
  develop: n,
@@ -4408,11 +4408,11 @@ const Ue = 420, On = 440, Xa = ({
4408
4408
  renderFooter: E,
4409
4409
  children: _,
4410
4410
  token: M,
4411
- columnSettingOpenKey: j,
4412
- columnSettingsKey: P,
4413
- ...Y
4411
+ columnSettingOpenKey: K,
4412
+ columnSettingsKey: H,
4413
+ ...P
4414
4414
  }) => {
4415
- const $ = O((J) => J.addCommand), q = O((J) => J.getDataSet), L = O((J) => J.setDataSet), [W, R] = dt([]), z = $t(null), [K, V] = dt(void 0), U = B((J, ct) => {
4415
+ const $ = O((J) => J.addCommand), q = O((J) => J.getDataSet), z = O((J) => J.setDataSet), [W, R] = dt([]), V = $t(null), [G, j] = dt(void 0), L = B((J, ct) => {
4416
4416
  if (J == null) return ct;
4417
4417
  if (typeof J == "string")
4418
4418
  try {
@@ -4437,11 +4437,11 @@ const Ue = 420, On = 440, Xa = ({
4437
4437
  }
4438
4438
  ), Ct = 420;
4439
4439
  Wn(() => {
4440
- if (!yt || !z.current) return;
4441
- const J = z.current.querySelector(".ant-table-thead") || z.current.querySelector(".ant-table-header");
4440
+ if (!yt || !V.current) return;
4441
+ const J = V.current.querySelector(".ant-table-thead") || V.current.querySelector(".ant-table-header");
4442
4442
  if (!J) return;
4443
4443
  const ct = J.getBoundingClientRect();
4444
- V({
4444
+ j({
4445
4445
  x: ct.right - Ct,
4446
4446
  y: ct.bottom + 8
4447
4447
  });
@@ -4450,16 +4450,16 @@ const Ue = 420, On = 440, Xa = ({
4450
4450
  var At;
4451
4451
  const ct = nt.columnSettings ? (At = J.dataSets[nt.columnSettings]) == null ? void 0 : At.value : void 0;
4452
4452
  return typeof ct == "object" && ct !== null ? ct : void 0;
4453
- }), I = vi(nt.dataSet, r), st = g(() => nt.dataSet ? I : (c == null ? void 0 : c.data) || [], [nt.dataSet, I, c == null ? void 0 : c.data]), at = g(() => U(M, {}), [M, U]), _t = at && Object.keys(at).length > 0, Ot = g(
4453
+ }), I = vi(nt.dataSet, r), st = g(() => nt.dataSet ? I : (c == null ? void 0 : c.data) || [], [nt.dataSet, I, c == null ? void 0 : c.data]), at = g(() => L(M, {}), [M, L]), _t = at && Object.keys(at).length > 0, Ot = g(
4454
4454
  () => _t ? { components: { Table: at } } : void 0,
4455
4455
  [_t, at]
4456
4456
  ), Bt = O(
4457
4457
  (J) => nt.pagination ? J.dataSets[nt.pagination] : void 0
4458
- ), G = g(() => nt.pagination ? q(nt.pagination, "") || {} : {}, [nt.pagination, q, Bt]), H = g(() => !(s === !1 || typeof s == "object" && (s == null ? void 0 : s.visible) === !1), [s]), et = g(() => {
4459
- if (!H) return !1;
4460
- const J = typeof s == "object" ? s : {}, ct = Y || {}, At = J.showSizeChanger ?? ct["pagination-showSizeChanger"] ?? !0, vt = J.showQuickJumper ?? ct["pagination-showQuickJumper"] ?? !1, wt = J.simple ?? ct["pagination-simple"] ?? !1, Kt = J.defaultPageSize ?? ct["pagination-defaultPageSize"] ?? 10, Ht = J.pageSizeOptions ?? ct["pagination-pageSizeOptions"] ?? "10,20,50,100", ze = typeof Ht == "string" ? Ht.split(",").map((It) => parseInt(String(It).trim(), 10) || 10).filter((It) => !isNaN(It)) : Array.isArray(Ht) ? Ht : [10, 20, 50, 100];
4458
+ ), Y = g(() => nt.pagination ? q(nt.pagination, "") || {} : {}, [nt.pagination, q, Bt]), U = g(() => !(s === !1 || typeof s == "object" && (s == null ? void 0 : s.visible) === !1), [s]), et = g(() => {
4459
+ if (!U) return !1;
4460
+ const J = typeof s == "object" ? s : {}, ct = P || {}, At = J.showSizeChanger ?? ct["pagination-showSizeChanger"] ?? !0, vt = J.showQuickJumper ?? ct["pagination-showQuickJumper"] ?? !1, wt = J.simple ?? ct["pagination-simple"] ?? !1, Kt = J.defaultPageSize ?? ct["pagination-defaultPageSize"] ?? 10, Ht = J.pageSizeOptions ?? ct["pagination-pageSizeOptions"] ?? "10,20,50,100", ze = typeof Ht == "string" ? Ht.split(",").map((It) => parseInt(String(It).trim(), 10) || 10).filter((It) => !isNaN(It)) : Array.isArray(Ht) ? Ht : [10, 20, 50, 100];
4461
4461
  return {
4462
- ...G,
4462
+ ...Y,
4463
4463
  showSizeChanger: At,
4464
4464
  showQuickJumper: vt,
4465
4465
  simple: wt,
@@ -4467,11 +4467,11 @@ const Ue = 420, On = 440, Xa = ({
4467
4467
  pageSizeOptions: ze,
4468
4468
  showTotal: (It, ae) => (J.showTotal || "共 ${total} 条").replace("${total}", String(It)).replace("${range[0]}", String(ae[0])).replace("${range[1]}", String(ae[1])).replace("${range}", `${ae[0]}-${ae[1]}`),
4469
4469
  onChange: (It, ae) => {
4470
- nt.pagination && L(nt.pagination, "", { ...G, current: It, pageSize: ae }), f && t && $(t, X(f, null));
4470
+ nt.pagination && z(nt.pagination, "", { ...Y, current: It, pageSize: ae }), f && t && $(t, X(f, null));
4471
4471
  },
4472
4472
  hideOnSinglePage: !1
4473
4473
  };
4474
- }, [H, s, Y, G, nt.pagination, L, f, t, $]), Q = B((J, ct) => {
4474
+ }, [U, s, P, Y, nt.pagination, z, f, t, $]), Q = B((J, ct) => {
4475
4475
  t && $(t, X(J.action, { ...ct }));
4476
4476
  }, [t, $]), lt = g(() => rt.map((J) => {
4477
4477
  let ct = !1;
@@ -4498,7 +4498,7 @@ const Ue = 420, On = 440, Xa = ({
4498
4498
  width: 60,
4499
4499
  align: "center",
4500
4500
  render: (vt, wt, Kt) => {
4501
- const Ht = G.current || 1, ze = G.pageSize || 10;
4501
+ const Ht = Y.current || 1, ze = Y.pageSize || 10;
4502
4502
  return (Ht - 1) * ze + Kt + 1;
4503
4503
  }
4504
4504
  });
@@ -4516,7 +4516,7 @@ const Ue = 420, On = 440, Xa = ({
4516
4516
  }), l !== !1 && it.length > 0 && J.push({
4517
4517
  title: "操作",
4518
4518
  key: "action",
4519
- render: (vt, wt) => /* @__PURE__ */ b(Yt, { children: it.map((Kt, Ht) => /* @__PURE__ */ b(xr, { title: Kt.tooltip, children: /* @__PURE__ */ b("a", { onClick: () => Q(Kt, wt), style: { marginRight: 5 }, children: Kt.title }) }, Ht)) })
4519
+ render: (vt, wt) => /* @__PURE__ */ b(Pt, { children: it.map((Kt, Ht) => /* @__PURE__ */ b(xr, { title: Kt.tooltip, children: /* @__PURE__ */ b("a", { onClick: () => Q(Kt, wt), style: { marginRight: 5 }, children: Kt.title }) }, Ht)) })
4520
4520
  }), J;
4521
4521
  }, [
4522
4522
  rt,
@@ -4524,36 +4524,36 @@ const Ue = 420, On = 440, Xa = ({
4524
4524
  ht,
4525
4525
  St,
4526
4526
  l,
4527
- G,
4527
+ Y,
4528
4528
  Q
4529
4529
  ]), Rt = B(() => {
4530
- nt.columnSettingOpen && L(nt.columnSettingOpen, "", !1);
4531
- }, [nt.columnSettingOpen, L]), zt = B(
4530
+ nt.columnSettingOpen && z(nt.columnSettingOpen, "", !1);
4531
+ }, [nt.columnSettingOpen, z]), zt = B(
4532
4532
  (J) => {
4533
- nt.columnSettings && L(nt.columnSettings, "value", J);
4533
+ nt.columnSettings && z(nt.columnSettings, "value", J);
4534
4534
  },
4535
- [nt.columnSettings, L]
4535
+ [nt.columnSettings, z]
4536
4536
  ), rr = g(() => {
4537
4537
  if (!v && m)
4538
4538
  return {
4539
4539
  selectedRowKeys: W,
4540
4540
  onChange: (J, ct, At) => {
4541
- R(J), nt.selected && L(nt.selected, "", J), h != null && h.trim() && t && $(t, X(h.trim(), {
4541
+ R(J), nt.selected && z(nt.selected, "", J), h != null && h.trim() && t && $(t, X(h.trim(), {
4542
4542
  selectedRowKeys: J,
4543
4543
  selectedRows: ct,
4544
4544
  info: At
4545
4545
  }));
4546
4546
  }
4547
4547
  };
4548
- }, [m, v, W, nt.selected, L, h, t, $]), fn = B((J) => {
4548
+ }, [m, v, W, nt.selected, z, h, t, $]), fn = B((J) => {
4549
4549
  if (!v) return;
4550
4550
  const At = [J[p]];
4551
- R(At), nt.selected && L(nt.selected, "", At), h != null && h.trim() && t && $(t, X(h.trim(), { record: J, selectedRowKeys: At }));
4552
- }, [v, h, t, p, nt.selected, L, $]), ir = B((J) => v && W.includes(J[p]) ? "ant-table-row-selected" : "", [v, p, W]), ar = B((J) => v ? { onClick: () => fn(J), style: { cursor: "pointer" } } : {}, [v, fn]), { style: or, className: cr, ...ue } = Y, kt = g(() => {
4551
+ R(At), nt.selected && z(nt.selected, "", At), h != null && h.trim() && t && $(t, X(h.trim(), { record: J, selectedRowKeys: At }));
4552
+ }, [v, h, t, p, nt.selected, z, $]), ir = B((J) => v && W.includes(J[p]) ? "ant-table-row-selected" : "", [v, p, W]), ar = B((J) => v ? { onClick: () => fn(J), style: { cursor: "pointer" } } : {}, [v, fn]), { style: or, className: cr, ...ue } = P, kt = g(() => {
4553
4553
  if (T) return T;
4554
4554
  let J = ue["scroll-x"], ct = ue["scroll-y"];
4555
4555
  if (String(J) === "true" ? J = !0 : String(J) === "false" ? J = void 0 : J === "max-content" && (J = "max-content"), (ct === "" || ct === null || ct === void 0) && (ct = void 0), J !== void 0 || ct !== void 0) return { x: J, y: ct };
4556
- }, [T, ue["scroll-x"], ue["scroll-y"]]), Le = Va(z, kt == null ? void 0 : kt.y, H), sr = g(() => {
4556
+ }, [T, ue["scroll-x"], ue["scroll-y"]]), Le = Va(V, kt == null ? void 0 : kt.y, U), sr = g(() => {
4557
4557
  if (!kt && !pt) return;
4558
4558
  const J = pt ? De ? !0 : "max-content" : kt == null ? void 0 : kt.x, ct = (kt == null ? void 0 : kt.y) === "100%" ? Le : kt == null ? void 0 : kt.y;
4559
4559
  return J !== void 0 || ct !== void 0 ? { x: J, y: ct } : kt ? kt.y === "100%" ? { x: kt.x, y: Le } : kt : void 0;
@@ -4603,7 +4603,7 @@ const Ue = 420, On = 440, Xa = ({
4603
4603
  return /* @__PURE__ */ ot(
4604
4604
  Bn,
4605
4605
  {
4606
- ref: z,
4606
+ ref: V,
4607
4607
  vertical: !0,
4608
4608
  style: { width: "100%", height: "100%", ...or },
4609
4609
  className: cr,
@@ -4633,7 +4633,7 @@ const Ue = 420, On = 440, Xa = ({
4633
4633
  Xa,
4634
4634
  {
4635
4635
  open: yt,
4636
- position: K,
4636
+ position: G,
4637
4637
  rowIndexVisible: ht,
4638
4638
  columnItems: St,
4639
4639
  defaultRowIndexVisible: ft,
@@ -4649,7 +4649,7 @@ const Ue = 420, On = 440, Xa = ({
4649
4649
  ]
4650
4650
  }
4651
4651
  );
4652
- }, { Text: Za } = sn, Lc = ({
4652
+ }, { Text: Za } = sn, Kc = ({
4653
4653
  id: e,
4654
4654
  sessionId: t,
4655
4655
  develop: n,
@@ -4708,12 +4708,12 @@ const Ue = 420, On = 440, Xa = ({
4708
4708
  return _;
4709
4709
  const W = (x == null ? void 0 : x.formatType) || v;
4710
4710
  return W && _ !== void 0 && _ !== null ? Aa(_, W, C) : _;
4711
- }, [n, _, v, C, x == null ? void 0 : x.formatType]), j = g(() => {
4711
+ }, [n, _, v, C, x == null ? void 0 : x.formatType]), K = g(() => {
4712
4712
  const W = { ...y };
4713
4713
  return x && typeof x == "object" && Object.keys(x).forEach((R) => {
4714
4714
  !["content", "formatType", "formatValue", "clickAction"].includes(R) && x[R] !== void 0 && x[R] !== null && (W[R] = x[R]);
4715
4715
  }), W;
4716
- }, [y, x]), P = (x == null ? void 0 : x.color) ?? l, Y = Ke(P), $ = g(() => {
4716
+ }, [y, x]), H = (x == null ? void 0 : x.color) ?? l, P = Ke(H), $ = g(() => {
4717
4717
  if (!f) return;
4718
4718
  let W = f;
4719
4719
  if (typeof f == "string")
@@ -4724,19 +4724,19 @@ const Ue = 420, On = 440, Xa = ({
4724
4724
  }
4725
4725
  if (!W || typeof W != "object") return;
4726
4726
  const R = {};
4727
- return Object.entries(W).forEach(([z, K]) => {
4728
- K !== "" && K !== void 0 && K !== null && (R[z] = K);
4727
+ return Object.entries(W).forEach(([V, G]) => {
4728
+ G !== "" && G !== void 0 && G !== null && (R[V] = G);
4729
4729
  }), Object.keys(R).length > 0 ? R : void 0;
4730
4730
  }, [f]), q = g(() => {
4731
4731
  const W = { width: "100%" }, R = (x == null ? void 0 : x.fontSize) ?? c;
4732
4732
  if (R) {
4733
- const z = R && !String(R).match(/\d+(px|em|rem|%|vh|vw|pt|pc|in|cm|mm|ex|ch)$/) ? `${R}px` : R;
4734
- W.fontSize = z;
4733
+ const V = R && !String(R).match(/\d+(px|em|rem|%|vh|vw|pt|pc|in|cm|mm|ex|ch)$/) ? `${R}px` : R;
4734
+ W.fontSize = V;
4735
4735
  }
4736
- return Y && (W.color = Y), W;
4737
- }, [c, Y, x == null ? void 0 : x.fontSize]), L = /* @__PURE__ */ b(Za, { ...j, style: { ...q, ...d, ...j.style }, children: M != null && M !== "" ? String(M) : r });
4738
- return $ ? /* @__PURE__ */ b(Mt, { theme: { token: $ }, children: L }) : L;
4739
- }, { Title: Ia } = sn, zc = ({
4736
+ return P && (W.color = P), W;
4737
+ }, [c, P, x == null ? void 0 : x.fontSize]), z = /* @__PURE__ */ b(Za, { ...K, style: { ...q, ...d, ...K.style }, children: M != null && M !== "" ? String(M) : r });
4738
+ return $ ? /* @__PURE__ */ b(Mt, { theme: { token: $ }, children: z }) : z;
4739
+ }, { Title: Ia } = sn, Lc = ({
4740
4740
  id: e,
4741
4741
  sessionId: t,
4742
4742
  develop: n,
@@ -4765,7 +4765,7 @@ const Ue = 420, On = 440, Xa = ({
4765
4765
  }), S;
4766
4766
  }, [v, f]);
4767
4767
  return /* @__PURE__ */ b(Ia, { level: c, ...T, style: { ...D, ...m, ...T.style }, children: y || r });
4768
- }, { Paragraph: to } = sn, Vc = ({
4768
+ }, { Paragraph: to } = sn, zc = ({
4769
4769
  id: e,
4770
4770
  sessionId: t,
4771
4771
  develop: n,
@@ -4802,7 +4802,7 @@ const Ue = 420, On = 440, Xa = ({
4802
4802
  return [];
4803
4803
  }
4804
4804
  return e;
4805
- }, qc = ({
4805
+ }, Vc = ({
4806
4806
  id: e,
4807
4807
  sessionId: t,
4808
4808
  develop: n,
@@ -4857,7 +4857,7 @@ const Ue = 420, On = 440, Xa = ({
4857
4857
  children: p
4858
4858
  }
4859
4859
  );
4860
- }, Wc = ({
4860
+ }, qc = ({
4861
4861
  id: e,
4862
4862
  sessionId: t,
4863
4863
  develop: n,
@@ -4888,13 +4888,13 @@ const Ue = 420, On = 440, Xa = ({
4888
4888
  treeData: E,
4889
4889
  styles: _,
4890
4890
  classNames: M,
4891
- token: j,
4892
- ...P
4891
+ token: K,
4892
+ ...H
4893
4893
  }) => {
4894
- const Y = O((F) => F.addCommand), $ = O((F) => F.setDataSet), q = g(
4894
+ const P = O((F) => F.addCommand), $ = O((F) => F.setDataSet), q = g(
4895
4895
  () => tt(t, i),
4896
4896
  [t, i]
4897
- ), L = g(
4897
+ ), z = g(
4898
4898
  () => i ? tt(t, `${i}_selected`) : void 0,
4899
4899
  [t, i]
4900
4900
  ), W = g(
@@ -4903,7 +4903,7 @@ const Ue = 420, On = 440, Xa = ({
4903
4903
  ), R = g(
4904
4904
  () => i ? tt(t, `${i}_expanded`) : void 0,
4905
4905
  [t, i]
4906
- ), z = O((F) => {
4906
+ ), V = O((F) => {
4907
4907
  if (!q) return;
4908
4908
  if (r)
4909
4909
  return F.getDataSet(q, r);
@@ -4912,127 +4912,127 @@ const Ue = 420, On = 440, Xa = ({
4912
4912
  if (Array.isArray(ht)) return ht;
4913
4913
  const St = ht.value;
4914
4914
  return Array.isArray(St) ? St : void 0;
4915
- }), K = O(
4916
- (F) => L ? F.getDataSet(L, "") : void 0
4917
- ), V = O(
4915
+ }), G = O(
4916
+ (F) => z ? F.getDataSet(z, "") : void 0
4917
+ ), j = O(
4918
4918
  (F) => W ? F.getDataSet(W, "") : void 0
4919
- ), U = O(
4919
+ ), L = O(
4920
4920
  (F) => R ? F.getDataSet(R, "") : void 0
4921
- ), rt = g(() => n ? z ?? E ?? [] : q ? z ?? [] : E ?? [], [n, q, z, E]), it = K, nt = V, yt = U, Ct = B(
4921
+ ), rt = g(() => n ? V ?? E ?? [] : q ? V ?? [] : E ?? [], [n, q, V, E]), it = G, nt = j, yt = L, Ct = B(
4922
4922
  (F, ht) => {
4923
4923
  if (y) {
4924
4924
  y(F, ht);
4925
4925
  return;
4926
4926
  }
4927
- L && $(L, "", F), a && t && Y(t, X(a, { selectedKeys: F }));
4927
+ z && $(z, "", F), a && t && P(t, X(a, { selectedKeys: F }));
4928
4928
  },
4929
- [y, L, t, $, a, Y]
4929
+ [y, z, t, $, a, P]
4930
4930
  ), mt = B(
4931
4931
  (F, ht) => {
4932
4932
  if (u) {
4933
4933
  u(F, ht);
4934
4934
  return;
4935
4935
  }
4936
- W && $(W, "", F), o && t && Y(t, X(o, { checkedKeys: F }));
4936
+ W && $(W, "", F), o && t && P(t, X(o, { checkedKeys: F }));
4937
4937
  },
4938
- [u, W, t, $, o, Y]
4938
+ [u, W, t, $, o, P]
4939
4939
  ), I = B(
4940
4940
  (F, ht) => {
4941
4941
  if (x) {
4942
4942
  x(F, ht);
4943
4943
  return;
4944
4944
  }
4945
- R && $(R, "", F), c && t && Y(t, X(c, { expandedKeys: F, expanded: ht.expanded }));
4945
+ R && $(R, "", F), c && t && P(t, X(c, { expandedKeys: F, expanded: ht.expanded }));
4946
4946
  },
4947
- [x, R, t, $, c, Y]
4947
+ [x, R, t, $, c, P]
4948
4948
  ), st = B(
4949
4949
  (F) => {
4950
4950
  if (D) {
4951
4951
  D(F);
4952
4952
  return;
4953
4953
  }
4954
- l && t && Y(t, X(l, F));
4954
+ l && t && P(t, X(l, F));
4955
4955
  },
4956
- [D, l, t, Y]
4956
+ [D, l, t, P]
4957
4957
  ), at = B(
4958
4958
  (F) => {
4959
4959
  if (T) {
4960
4960
  T(F);
4961
4961
  return;
4962
4962
  }
4963
- m && t && Y(t, X(m, F));
4963
+ m && t && P(t, X(m, F));
4964
4964
  },
4965
- [T, m, t, Y]
4965
+ [T, m, t, P]
4966
4966
  ), _t = B(
4967
4967
  (F) => {
4968
4968
  if (S) {
4969
4969
  S(F);
4970
4970
  return;
4971
4971
  }
4972
- v && t && Y(t, X(v, F));
4972
+ v && t && P(t, X(v, F));
4973
4973
  },
4974
- [S, v, t, Y]
4974
+ [S, v, t, P]
4975
4975
  ), Ot = B(
4976
4976
  (F) => {
4977
4977
  if (A) {
4978
4978
  A(F);
4979
4979
  return;
4980
4980
  }
4981
- h && t && Y(t, X(h, F));
4981
+ h && t && P(t, X(h, F));
4982
4982
  },
4983
- [A, h, t, Y]
4983
+ [A, h, t, P]
4984
4984
  ), Bt = B(
4985
4985
  (F) => {
4986
4986
  if (N) {
4987
4987
  N(F);
4988
4988
  return;
4989
4989
  }
4990
- p && t && Y(t, X(p, F));
4990
+ p && t && P(t, X(p, F));
4991
4991
  },
4992
- [N, p, t, Y]
4993
- ), G = B(
4992
+ [N, p, t, P]
4993
+ ), Y = B(
4994
4994
  (F) => {
4995
4995
  if (k) {
4996
4996
  k(F);
4997
4997
  return;
4998
4998
  }
4999
- d && t && Y(t, X(d, F));
4999
+ d && t && P(t, X(d, F));
5000
5000
  },
5001
- [k, d, t, Y]
5002
- ), H = B(
5001
+ [k, d, t, P]
5002
+ ), U = B(
5003
5003
  (F) => {
5004
5004
  if (C) {
5005
5005
  C(F);
5006
5006
  return;
5007
5007
  }
5008
- f && t && Y(t, X(f, F));
5008
+ f && t && P(t, X(f, F));
5009
5009
  },
5010
- [C, f, t, Y]
5010
+ [C, f, t, P]
5011
5011
  ), et = B(
5012
5012
  (F, ht) => {
5013
5013
  if (w) {
5014
5014
  w(F, ht);
5015
5015
  return;
5016
5016
  }
5017
- s && t && Y(t, X(s, { loadedKeys: F, ...ht }));
5017
+ s && t && P(t, X(s, { loadedKeys: F, ...ht }));
5018
5018
  },
5019
- [w, s, t, Y]
5019
+ [w, s, t, P]
5020
5020
  ), Q = g(() => {
5021
- if (!j) return;
5021
+ if (!K) return;
5022
5022
  const F = {};
5023
- return Object.entries(j).forEach(([ht, St]) => {
5023
+ return Object.entries(K).forEach(([ht, St]) => {
5024
5024
  St !== "" && St !== void 0 && St !== null && (F[ht] = St);
5025
5025
  }), Object.keys(F).length > 0 ? F : void 0;
5026
- }, [j]), lt = g(() => {
5026
+ }, [K]), lt = g(() => {
5027
5027
  const F = {};
5028
5028
  return n && (F.motion = !1), Q && (F.components = { Tree: Q }), Object.keys(F).length > 0 ? F : void 0;
5029
5029
  }, [n, Q]), xt = /* @__PURE__ */ b(
5030
5030
  Tr,
5031
5031
  {
5032
- ...P,
5032
+ ...H,
5033
5033
  ...n ? { motion: !1 } : {},
5034
5034
  treeData: rt,
5035
- ...L != null ? { selectedKeys: it ?? [] } : {},
5035
+ ...z != null ? { selectedKeys: it ?? [] } : {},
5036
5036
  ...W != null ? { checkedKeys: nt ?? [] } : {},
5037
5037
  ...R != null ? { expandedKeys: yt ?? [] } : {},
5038
5038
  onSelect: Ct,
@@ -5043,15 +5043,15 @@ const Ue = 420, On = 440, Xa = ({
5043
5043
  onDragLeave: _t,
5044
5044
  onDragOver: Ot,
5045
5045
  onDragStart: Bt,
5046
- onDrop: G,
5047
- onRightClick: H,
5046
+ onDrop: Y,
5047
+ onRightClick: U,
5048
5048
  onLoad: et,
5049
5049
  styles: _,
5050
5050
  classNames: M
5051
5051
  }
5052
5052
  );
5053
5053
  return lt ? /* @__PURE__ */ b(Mt, { theme: lt, children: xt }) : xt;
5054
- }, Hc = ({
5054
+ }, Wc = ({
5055
5055
  id: e,
5056
5056
  sessionId: t,
5057
5057
  develop: n,
@@ -5106,7 +5106,7 @@ const Ue = 420, On = 440, Xa = ({
5106
5106
  return t;
5107
5107
  }
5108
5108
  return e;
5109
- }, Uc = ({
5109
+ }, Hc = ({
5110
5110
  id: e,
5111
5111
  sessionId: t,
5112
5112
  develop: n,
@@ -5124,17 +5124,17 @@ const Ue = 420, On = 440, Xa = ({
5124
5124
  token: f,
5125
5125
  ...s
5126
5126
  }) => {
5127
- const y = O((j) => j.addCommand), u = O((j) => j.getDataSet), x = O((j) => j.setDataSet), D = g(
5127
+ const y = O((K) => K.addCommand), u = O((K) => K.getDataSet), x = O((K) => K.setDataSet), D = g(
5128
5128
  () => tt(t, i),
5129
5129
  [t, i]
5130
5130
  ), T = g(() => {
5131
5131
  if (D && r) return u(D, r);
5132
- }, [D, r, u]), S = g(() => T ?? c ?? 0, [T, c]), A = g(() => v ?? m, [v, m]), N = g(() => p ?? h, [p, h]), k = g(() => Pe(l, []), [l]), C = g(() => Pe(d, {}), [d]), w = g(() => Pe(f, {}), [f]), E = B((j) => {
5132
+ }, [D, r, u]), S = g(() => T ?? c ?? 0, [T, c]), A = g(() => v ?? m, [v, m]), N = g(() => p ?? h, [p, h]), k = g(() => Pe(l, []), [l]), C = g(() => Pe(d, {}), [d]), w = g(() => Pe(f, {}), [f]), E = B((K) => {
5133
5133
  if (o) {
5134
- o(j);
5134
+ o(K);
5135
5135
  return;
5136
5136
  }
5137
- D && r && x(D, r, j), a && t && y(t, X(a, j));
5137
+ D && r && x(D, r, K), a && t && y(t, X(a, K));
5138
5138
  }, [o, D, r, x, a, t, y]), _ = Object.keys(w).length > 0, M = /* @__PURE__ */ b(
5139
5139
  kr,
5140
5140
  {
@@ -5148,12 +5148,12 @@ const Ue = 420, On = 440, Xa = ({
5148
5148
  }
5149
5149
  );
5150
5150
  return _ ? /* @__PURE__ */ b(Mt, { theme: { components: { Steps: w } }, children: M }) : M;
5151
- }, Pc = ({
5151
+ }, Uc = ({
5152
5152
  id: e,
5153
5153
  sessionId: t,
5154
5154
  develop: n,
5155
5155
  ...i
5156
- }) => /* @__PURE__ */ b(Ge, { ...i }), Yc = ({
5156
+ }) => /* @__PURE__ */ b(Ge, { ...i }), Pc = ({
5157
5157
  id: e,
5158
5158
  sessionId: t,
5159
5159
  develop: n,
@@ -5178,7 +5178,7 @@ const Ue = 420, On = 440, Xa = ({
5178
5178
  return [];
5179
5179
  }
5180
5180
  return e;
5181
- }, Gc = ({
5181
+ }, Yc = ({
5182
5182
  id: e,
5183
5183
  sessionId: t,
5184
5184
  develop: n,
@@ -5229,10 +5229,10 @@ const Ue = 420, On = 440, Xa = ({
5229
5229
  };
5230
5230
  function io(e) {
5231
5231
  if (!e || typeof e != "string" || /^(data:|blob:|https?:\/\/)/i.test(e)) return e;
5232
- const t = Ut().viewRes;
5232
+ const t = Yt().viewRes;
5233
5233
  return t ? t(e) : e;
5234
5234
  }
5235
- const ao = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+PHJlY3Qgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIGZpbGw9IiNmMGYwZjAiLz48cGF0aCBkPSJNNzAgNzBhMTIgMTIgMCAxIDEgMCAyNCAxMiAxMiAwIDAgMSAwLTI0em02MCAxMEw4NSAxMzBsLTI1LTIwLTIwIDE1djE1aDEyMHYtNDB6IiBmaWxsPSIjYmZiZmJmIi8+PC9zdmc+", Jc = ({
5235
+ const ao = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+PHJlY3Qgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIGZpbGw9IiNmMGYwZjAiLz48cGF0aCBkPSJNNzAgNzBhMTIgMTIgMCAxIDEgMCAyNCAxMiAxMiAwIDAgMSAwLTI0em02MCAxMEw4NSAxMzBsLTI1LTIwLTIwIDE1djE1aDEyMHYtNDB6IiBmaWxsPSIjYmZiZmJmIi8+PC9zdmc+", Gc = ({
5236
5236
  id: e,
5237
5237
  sessionId: t,
5238
5238
  develop: n,
@@ -5273,10 +5273,10 @@ const ao = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
5273
5273
  }, { PreviewGroup: oo } = Qt;
5274
5274
  function co(e) {
5275
5275
  if (!e || typeof e != "string" || /^(data:|blob:|https?:\/\/)/i.test(e)) return e;
5276
- const t = Ut().viewRes;
5276
+ const t = Yt().viewRes;
5277
5277
  return t ? t(e) : e;
5278
5278
  }
5279
- const Qc = ({
5279
+ const Jc = ({
5280
5280
  id: e,
5281
5281
  sessionId: t,
5282
5282
  develop: n,
@@ -5310,7 +5310,7 @@ const Qc = ({
5310
5310
  }), y;
5311
5311
  }, [c, h]);
5312
5312
  return /* @__PURE__ */ b(oo, { ...s, items: f, children: i });
5313
- }, Fc = ({
5313
+ }, Qc = ({
5314
5314
  id: e,
5315
5315
  sessionId: t,
5316
5316
  develop: n,
@@ -5386,7 +5386,7 @@ const Qc = ({
5386
5386
  false: "default",
5387
5387
  yes: "success",
5388
5388
  no: "default"
5389
- }, Xc = ({
5389
+ }, Fc = ({
5390
5390
  id: e,
5391
5391
  sessionId: t,
5392
5392
  develop: n,
@@ -5435,7 +5435,7 @@ const Qc = ({
5435
5435
  }), _;
5436
5436
  }, [d, D]), C = (D == null ? void 0 : D.color) ?? v, E = Ke(C) || N;
5437
5437
  return /* @__PURE__ */ b(Kn, { ...k, color: E, children: A || i });
5438
- }, Zc = ({
5438
+ }, Xc = ({
5439
5439
  id: e,
5440
5440
  sessionId: t,
5441
5441
  develop: n,
@@ -5485,7 +5485,7 @@ const Qc = ({
5485
5485
  }, [p.showTotal])
5486
5486
  }
5487
5487
  );
5488
- }, Ic = ({
5488
+ }, Zc = ({
5489
5489
  id: e,
5490
5490
  sessionId: t,
5491
5491
  develop: n,
@@ -5512,7 +5512,7 @@ const Qc = ({
5512
5512
  var k, C, w, E, _, M;
5513
5513
  if (u) return;
5514
5514
  const A = s ? ((k = a.current) == null ? void 0 : k.clientWidth) ?? 200 : ((C = a.current) == null ? void 0 : C.clientHeight) ?? 200, N = s ? (((w = o.current) == null ? void 0 : w.scrollWidth) ?? 0) - (((E = a.current) == null ? void 0 : E.clientWidth) ?? 0) : (((_ = o.current) == null ? void 0 : _.scrollHeight) ?? 0) - (((M = a.current) == null ? void 0 : M.clientHeight) ?? 0);
5515
- l((j) => Math.min(N, j + A));
5515
+ l((K) => Math.min(N, K + A));
5516
5516
  }, [s, u]), T = n || (s ? /* @__PURE__ */ b(Un, {}) : /* @__PURE__ */ b(ei, {})), S = i || (s ? /* @__PURE__ */ b(Pn, {}) : /* @__PURE__ */ b(Yn, {}));
5517
5517
  return /* @__PURE__ */ ot(
5518
5518
  "div",
@@ -5604,7 +5604,7 @@ const Qc = ({
5604
5604
  },
5605
5605
  children: t
5606
5606
  }
5607
- ), ts = ({
5607
+ ), Ic = ({
5608
5608
  id: e,
5609
5609
  sessionId: t,
5610
5610
  develop: n,
@@ -5635,18 +5635,18 @@ const Qc = ({
5635
5635
  overflowStrategy: E = "default",
5636
5636
  paginationArrowStyle: _,
5637
5637
  paginationArrowIconPrev: M,
5638
- paginationArrowIconNext: j,
5639
- expandTrigger: P,
5638
+ paginationArrowIconNext: K,
5639
+ expandTrigger: H,
5640
5640
  // 仅设计器/业务用,不传给 DOM,避免 React 警告
5641
- ...Y
5641
+ ...P
5642
5642
  }) => {
5643
- const $ = O((Z) => Z.addCommand), q = O((Z) => Z.setDataSet), L = g(
5643
+ const $ = O((Z) => Z.addCommand), q = O((Z) => Z.setDataSet), z = g(
5644
5644
  () => tt(t, i),
5645
5645
  [t, i]
5646
5646
  ), W = O(
5647
5647
  (Z) => {
5648
- if (L)
5649
- return r ? Z.getDataSet(L, r) : Z.dataSets[L];
5648
+ if (z)
5649
+ return r ? Z.getDataSet(z, r) : Z.dataSets[z];
5650
5650
  }
5651
5651
  // 使用 shallow 比较确保只有通过内容变更才触发更新
5652
5652
  // 如果找不到依赖包,可以自定义一个简单的浅比较函数或暂时使用 strict equality (默认)
@@ -5654,20 +5654,20 @@ const Qc = ({
5654
5654
  // 更安全的做法是分别订阅需要的字段,或者确保 getDataSet 返回的是稳定的 state 引用。
5655
5655
  // 这里我们先假定 state.dataSets[...] 返回的是稳定的 immer state 引用。
5656
5656
  // 为了防止 undefined 情况下的 {} 导致的新引用,我们在 selector 内部只返回 undefined,在外部处理默认值。
5657
- ), R = g(() => ({}), []), z = W ?? R, K = g(
5658
- () => (z == null ? void 0 : z.items) ?? (Array.isArray(z) ? z : void 0) ?? (Array.isArray(z == null ? void 0 : z.value) ? z.value : void 0),
5659
- [z]
5660
- ), V = g(() => n ? K ?? d ?? [] : L ? K ?? [] : d ?? [], [n, L, K, d]), U = g(
5661
- () => z.selectedKeys ?? f,
5662
- [z.selectedKeys, f]
5657
+ ), R = g(() => ({}), []), V = W ?? R, G = g(
5658
+ () => (V == null ? void 0 : V.items) ?? (Array.isArray(V) ? V : void 0) ?? (Array.isArray(V == null ? void 0 : V.value) ? V.value : void 0),
5659
+ [V]
5660
+ ), j = g(() => n ? G ?? d ?? [] : z ? G ?? [] : d ?? [], [n, z, G, d]), L = g(
5661
+ () => V.selectedKeys ?? f,
5662
+ [V.selectedKeys, f]
5663
5663
  ), rt = g(
5664
- () => z.openKeys ?? (A && N ? void 0 : s),
5665
- [z.openKeys, A, N, s]
5664
+ () => V.openKeys ?? (A && N ? void 0 : s),
5665
+ [V.openKeys, A, N, s]
5666
5666
  ), it = g(
5667
5667
  () => tt(t, A),
5668
5668
  [t, A]
5669
5669
  ), nt = O((Z) => {
5670
- if (!z.openKeys && it && N)
5670
+ if (!V.openKeys && it && N)
5671
5671
  return Z.getDataSet(it, N);
5672
5672
  }), yt = g(() => {
5673
5673
  const Z = (pt) => Array.isArray(pt) ? pt.map((Et) => {
@@ -5678,10 +5678,10 @@ const Qc = ({
5678
5678
  }
5679
5679
  return Rt.children && Rt.children.length > 0 && (Rt.children = Z(Rt.children)), Rt;
5680
5680
  }) : [];
5681
- return Z(V || []);
5682
- }, [V]), Ct = g(
5683
- () => U,
5684
- [U]
5681
+ return Z(j || []);
5682
+ }, [j]), Ct = g(
5683
+ () => L,
5684
+ [L]
5685
5685
  ), mt = g(
5686
5686
  () => rt ?? nt,
5687
5687
  [rt, nt]
@@ -5703,12 +5703,12 @@ const Qc = ({
5703
5703
  v(Z);
5704
5704
  return;
5705
5705
  }
5706
- if (L)
5706
+ if (z)
5707
5707
  if (r) {
5708
- const pt = O.getState().getDataSet(L, r) || {};
5709
- q(L, r, { ...pt, selectedKeys: Z.selectedKeys });
5708
+ const pt = O.getState().getDataSet(z, r) || {};
5709
+ q(z, r, { ...pt, selectedKeys: Z.selectedKeys });
5710
5710
  } else
5711
- q(L, "selectedKeys", Z.selectedKeys);
5711
+ q(z, "selectedKeys", Z.selectedKeys);
5712
5712
  o && t && $(
5713
5713
  t,
5714
5714
  X(o, { selectedKeys: Z.selectedKeys })
@@ -5716,7 +5716,7 @@ const Qc = ({
5716
5716
  },
5717
5717
  [
5718
5718
  v,
5719
- L,
5719
+ z,
5720
5720
  r,
5721
5721
  q,
5722
5722
  o,
@@ -5729,12 +5729,12 @@ const Qc = ({
5729
5729
  h(Z);
5730
5730
  return;
5731
5731
  }
5732
- if (L)
5732
+ if (z)
5733
5733
  if (r) {
5734
- const pt = O.getState().getDataSet(L, r) || {};
5735
- q(L, r, { ...pt, openKeys: Z });
5734
+ const pt = O.getState().getDataSet(z, r) || {};
5735
+ q(z, r, { ...pt, openKeys: Z });
5736
5736
  } else
5737
- q(L, "openKeys", Z);
5737
+ q(z, "openKeys", Z);
5738
5738
  else it && N && q(it, N, Z);
5739
5739
  c && t && $(
5740
5740
  t,
@@ -5743,7 +5743,7 @@ const Qc = ({
5743
5743
  },
5744
5744
  [
5745
5745
  h,
5746
- L,
5746
+ z,
5747
5747
  r,
5748
5748
  it,
5749
5749
  N,
@@ -5773,21 +5773,21 @@ const Qc = ({
5773
5773
  return Object.entries(D).forEach(([pt, Et]) => {
5774
5774
  Et !== "" && Et !== void 0 && Et !== null && (Z[pt] = Et);
5775
5775
  }), Object.keys(Z).length > 0 ? Z : void 0;
5776
- }, [D]), G = n ? {
5776
+ }, [D]), Y = n ? {
5777
5777
  motion: { motionName: "" }
5778
- } : {}, H = g(() => {
5778
+ } : {}, U = g(() => {
5779
5779
  if (typeof M == "string" && M) {
5780
5780
  const Z = Gt[M];
5781
5781
  if (Z) return /* @__PURE__ */ b(Z, {});
5782
5782
  }
5783
5783
  return M;
5784
5784
  }, [M]), et = g(() => {
5785
- if (typeof j == "string" && j) {
5786
- const Z = Gt[j];
5785
+ if (typeof K == "string" && K) {
5786
+ const Z = Gt[K];
5787
5787
  if (Z) return /* @__PURE__ */ b(Z, {});
5788
5788
  }
5789
- return j;
5790
- }, [j]), Q = g(() => E === "pagination" || E === "scroll" ? null : S, [E, S]), lt = Qr(), ft = e || lt.replace(/:/g, "-"), xt = g(() => {
5789
+ return K;
5790
+ }, [K]), Q = g(() => E === "pagination" || E === "scroll" ? null : S, [E, S]), lt = Qr(), ft = e || lt.replace(/:/g, "-"), xt = g(() => {
5791
5791
  var Rt;
5792
5792
  if (!u || typeof u == "function") return "";
5793
5793
  const Z = (Rt = u.subMenu) == null ? void 0 : Rt.root;
@@ -5814,9 +5814,9 @@ const Qc = ({
5814
5814
  }, [u, ft]), F = /* @__PURE__ */ b(
5815
5815
  $r,
5816
5816
  {
5817
- ...Y,
5817
+ ...P,
5818
5818
  ...Ot,
5819
- ...G,
5819
+ ...Y,
5820
5820
  mode: k,
5821
5821
  items: yt,
5822
5822
  selectedKeys: Ct,
@@ -5837,7 +5837,7 @@ const Qc = ({
5837
5837
  {
5838
5838
  mode: k || "horizontal",
5839
5839
  arrowStyle: _,
5840
- arrowIconPrev: H,
5840
+ arrowIconPrev: U,
5841
5841
  arrowIconNext: et,
5842
5842
  children: F
5843
5843
  }
@@ -5852,12 +5852,12 @@ const Qc = ({
5852
5852
  ] }) : Z;
5853
5853
  return St ? /* @__PURE__ */ b(Mt, { theme: St, children: pt }) : pt;
5854
5854
  })();
5855
- }, es = ({
5855
+ }, ts = ({
5856
5856
  id: e,
5857
5857
  sessionId: t,
5858
5858
  develop: n,
5859
5859
  ...i
5860
- }) => /* @__PURE__ */ b(Mr, { ...i }), ns = ({
5860
+ }) => /* @__PURE__ */ b(Mr, { ...i }), es = ({
5861
5861
  id: e,
5862
5862
  sessionId: t,
5863
5863
  develop: n,
@@ -5915,7 +5915,7 @@ const Qc = ({
5915
5915
  )
5916
5916
  }
5917
5917
  );
5918
- }, rs = ({
5918
+ }, ns = ({
5919
5919
  id: e,
5920
5920
  sessionId: t,
5921
5921
  develop: n,
@@ -5999,7 +5999,7 @@ const Qc = ({
5999
5999
  }
6000
6000
  return Array.isArray(e), e;
6001
6001
  }
6002
- }, is = ({
6002
+ }, rs = ({
6003
6003
  id: e,
6004
6004
  sessionId: t,
6005
6005
  develop: n,
@@ -6062,16 +6062,16 @@ const Qc = ({
6062
6062
  }
6063
6063
  );
6064
6064
  };
6065
- }, [h, n]), j = g(() => {
6065
+ }, [h, n]), K = g(() => {
6066
6066
  if (M)
6067
6067
  return !f || !s ? M : ($, q) => {
6068
- const L = typeof q == "number" ? q : typeof ($ == null ? void 0 : $.index) == "number" ? $.index : Number(($ == null ? void 0 : $.index) ?? 0);
6068
+ const z = typeof q == "number" ? q : typeof ($ == null ? void 0 : $.index) == "number" ? $.index : Number(($ == null ? void 0 : $.index) ?? 0);
6069
6069
  return /* @__PURE__ */ b(
6070
6070
  re.Provider,
6071
6071
  {
6072
6072
  value: {
6073
6073
  dataSet: f,
6074
- index: L,
6074
+ index: z,
6075
6075
  sessionId: y,
6076
6076
  dataSetFieldRoot: s
6077
6077
  },
@@ -6080,22 +6080,22 @@ const Qc = ({
6080
6080
  );
6081
6081
  };
6082
6082
  }, [M, f, s, y]), {
6083
- layoutChangeAction: P,
6084
- ...Y
6083
+ layoutChangeAction: H,
6084
+ ...P
6085
6085
  } = p;
6086
6086
  return /* @__PURE__ */ b(
6087
6087
  Rr,
6088
6088
  {
6089
- ...Y,
6089
+ ...P,
6090
6090
  items: _,
6091
6091
  columns: C,
6092
6092
  gutter: w,
6093
6093
  fresh: l,
6094
- itemRender: j,
6094
+ itemRender: K,
6095
6095
  onLayoutChange: E
6096
6096
  }
6097
6097
  );
6098
- }, as = ({
6098
+ }, is = ({
6099
6099
  id: e,
6100
6100
  sessionId: t,
6101
6101
  develop: n,
@@ -6131,7 +6131,7 @@ const Qc = ({
6131
6131
  onClose: T
6132
6132
  }
6133
6133
  );
6134
- }, os = ({
6134
+ }, as = ({
6135
6135
  id: e,
6136
6136
  sessionId: t,
6137
6137
  develop: n,
@@ -6174,7 +6174,7 @@ const Qc = ({
6174
6174
  children: v
6175
6175
  }
6176
6176
  );
6177
- }, cs = ({
6177
+ }, os = ({
6178
6178
  id: e,
6179
6179
  sessionId: t,
6180
6180
  develop: n,
@@ -6208,7 +6208,7 @@ const Qc = ({
6208
6208
  children: l
6209
6209
  }
6210
6210
  );
6211
- }, ss = ({
6211
+ }, cs = ({
6212
6212
  id: e,
6213
6213
  sessionId: t,
6214
6214
  develop: n,
@@ -6231,7 +6231,7 @@ const Qc = ({
6231
6231
  key: n.key,
6232
6232
  tab: n.tab,
6233
6233
  disabled: n.disabled
6234
- })), ls = ({
6234
+ })), ss = ({
6235
6235
  id: e,
6236
6236
  sessionId: t,
6237
6237
  develop: n,
@@ -6263,66 +6263,66 @@ const Qc = ({
6263
6263
  children: S,
6264
6264
  ...A
6265
6265
  }) => {
6266
- const N = O((U) => U.addCommand), k = O((U) => U.getDataSet), C = O((U) => U.setDataSet), w = g(
6266
+ const N = O((L) => L.addCommand), k = O((L) => L.getDataSet), C = O((L) => L.setDataSet), w = g(
6267
6267
  () => tt(t, i),
6268
6268
  [t, i]
6269
6269
  ), E = T === "default" ? "medium" : T, _ = g(() => {
6270
- const U = on(s, {});
6270
+ const L = on(s, {});
6271
6271
  return Object.fromEntries(
6272
- Object.entries(U).map(([rt, it]) => [
6272
+ Object.entries(L).map(([rt, it]) => [
6273
6273
  rt,
6274
6274
  go(it)
6275
6275
  ])
6276
6276
  );
6277
6277
  }, [s]), M = g(() => {
6278
- const U = po(v);
6279
- return U.length > 0 ? U : void 0;
6280
- }, [v]), P = g(() => {
6278
+ const L = po(v);
6279
+ return L.length > 0 ? L : void 0;
6280
+ }, [v]), H = g(() => {
6281
6281
  if (w && r) {
6282
- const U = k(w, `${r}.activeTabKey`);
6283
- if (typeof U == "string") return U;
6282
+ const L = k(w, `${r}.activeTabKey`);
6283
+ if (typeof L == "string") return L;
6284
6284
  }
6285
- }, [w, r, k]) ?? h, Y = B((U) => {
6285
+ }, [w, r, k]) ?? h, P = B((L) => {
6286
6286
  if (f) {
6287
- f(U);
6287
+ f(L);
6288
6288
  return;
6289
6289
  }
6290
- w && r && C(w, `${r}.activeTabKey`, U), d && t && N(t, X(d, { key: U }));
6291
- }, [f, w, r, C, d, t, N]), { titleSlot: $, extraSlot: q, coverSlot: L, actionsSlot: W, otherChildren: R, actionsFromChildren: z } = g(() => {
6292
- let U = null, rt = null, it = null, nt = [];
6290
+ w && r && C(w, `${r}.activeTabKey`, L), d && t && N(t, X(d, { key: L }));
6291
+ }, [f, w, r, C, d, t, N]), { titleSlot: $, extraSlot: q, coverSlot: z, actionsSlot: W, otherChildren: R, actionsFromChildren: V } = g(() => {
6292
+ let L = null, rt = null, it = null, nt = [];
6293
6293
  const yt = [];
6294
6294
  let Ct = !1;
6295
- return a && (U = a), o && (rt = o), c && (it = c), m && (nt = m), qt.Children.forEach(S, (mt) => {
6295
+ return a && (L = a), o && (rt = o), c && (it = c), m && (nt = m), qt.Children.forEach(S, (mt) => {
6296
6296
  if (!qt.isValidElement(mt)) {
6297
6297
  yt.push(mt);
6298
6298
  return;
6299
6299
  }
6300
6300
  const I = mt.props, st = I["data-slot-type"];
6301
- st === "title" && !a ? U = mt : st === "extra" && !o ? rt = mt : st === "cover" && !c ? it = mt : st === "actions" && !m ? (nt = [mt], Ct = !0) : st === "body" && I.children ? yt.push(I.children) : yt.push(mt);
6302
- }), { titleSlot: U, extraSlot: rt, coverSlot: it, actionsSlot: nt, otherChildren: yt, actionsFromChildren: Ct };
6303
- }, [S, a, o, c, m]), K = g(() => {
6304
- const U = on(y, {});
6305
- return z ? { actionsLiMargin: "0px", ...U } : U;
6306
- }, [y, z]), V = /* @__PURE__ */ b(
6301
+ st === "title" && !a ? L = mt : st === "extra" && !o ? rt = mt : st === "cover" && !c ? it = mt : st === "actions" && !m ? (nt = [mt], Ct = !0) : st === "body" && I.children ? yt.push(I.children) : yt.push(mt);
6302
+ }), { titleSlot: L, extraSlot: rt, coverSlot: it, actionsSlot: nt, otherChildren: yt, actionsFromChildren: Ct };
6303
+ }, [S, a, o, c, m]), G = g(() => {
6304
+ const L = on(y, {});
6305
+ return V ? { actionsLiMargin: "0px", ...L } : L;
6306
+ }, [y, V]), j = /* @__PURE__ */ b(
6307
6307
  Je,
6308
6308
  {
6309
6309
  ...A,
6310
6310
  size: E,
6311
6311
  title: $,
6312
6312
  extra: q,
6313
- cover: L,
6313
+ cover: z,
6314
6314
  tabBarExtraContent: l,
6315
6315
  actions: W.length > 0 ? W : void 0,
6316
6316
  tabList: M,
6317
- activeTabKey: P,
6317
+ activeTabKey: H,
6318
6318
  defaultActiveTabKey: p,
6319
- onTabChange: M ? Y : void 0,
6319
+ onTabChange: M ? P : void 0,
6320
6320
  styles: _,
6321
6321
  children: R
6322
6322
  }
6323
6323
  );
6324
- return K && Object.keys(K).length > 0 ? /* @__PURE__ */ b(Mt, { theme: { components: { Card: K } }, children: V }) : V;
6325
- }, us = ({
6324
+ return G && Object.keys(G).length > 0 ? /* @__PURE__ */ b(Mt, { theme: { components: { Card: G } }, children: j }) : j;
6325
+ }, ls = ({
6326
6326
  id: e,
6327
6327
  sessionId: t,
6328
6328
  develop: n,
@@ -6359,7 +6359,7 @@ const Qc = ({
6359
6359
  disabled: t.disabled,
6360
6360
  danger: t.danger,
6361
6361
  children: t.children ? nr(t.children) : void 0
6362
- }), fs = ({
6362
+ }), us = ({
6363
6363
  id: e,
6364
6364
  sessionId: t,
6365
6365
  develop: n,
@@ -6481,7 +6481,7 @@ const Qc = ({
6481
6481
  children: [
6482
6482
  p,
6483
6483
  n && !p && !d && /* @__PURE__ */ b("div", { style: { padding: "4px 8px", border: "1px dashed #d9d9d9", color: "#ccc", fontSize: 12 }, children: "请配置触发器" }),
6484
- !p && !n && a && /* @__PURE__ */ b(Xt, { children: /* @__PURE__ */ ot(Yt, { children: [
6484
+ !p && !n && a && /* @__PURE__ */ b(Xt, { children: /* @__PURE__ */ ot(Pt, { children: [
6485
6485
  a,
6486
6486
  /* @__PURE__ */ b(Yn, {})
6487
6487
  ] }) })
@@ -6489,25 +6489,25 @@ const Qc = ({
6489
6489
  }
6490
6490
  ), [p, n, a, d]);
6491
6491
  return /* @__PURE__ */ b(Kr, { ...s, menu: k, onOpenChange: N, children: C });
6492
- }, ds = ({
6492
+ }, fs = ({
6493
6493
  id: e,
6494
6494
  sessionId: t,
6495
6495
  develop: n,
6496
6496
  children: i,
6497
6497
  ...r
6498
- }) => /* @__PURE__ */ b(Lr, { ...r, children: i }), ms = ({
6498
+ }) => /* @__PURE__ */ b(Lr, { ...r, children: i }), ds = ({
6499
6499
  id: e,
6500
6500
  sessionId: t,
6501
6501
  develop: n,
6502
6502
  children: i,
6503
6503
  ...r
6504
- }) => /* @__PURE__ */ b(zr, { ...r, children: i }), hs = ({
6504
+ }) => /* @__PURE__ */ b(zr, { ...r, children: i }), ms = ({
6505
6505
  id: e,
6506
6506
  sessionId: t,
6507
6507
  develop: n,
6508
6508
  children: i,
6509
6509
  ...r
6510
- }) => /* @__PURE__ */ b(Bn, { ...r, children: i }), ys = ({
6510
+ }) => /* @__PURE__ */ b(Bn, { ...r, children: i }), hs = ({
6511
6511
  id: e,
6512
6512
  sessionId: t,
6513
6513
  develop: n,
@@ -6544,7 +6544,7 @@ const Qc = ({
6544
6544
  return t;
6545
6545
  }
6546
6546
  return e;
6547
- }, gs = ({
6547
+ }, ys = ({
6548
6548
  id: e,
6549
6549
  sessionId: t,
6550
6550
  develop: n,
@@ -6599,18 +6599,18 @@ const Qc = ({
6599
6599
  },
6600
6600
  [h, m, t, u]
6601
6601
  ), k = () => f && qt.Children.count(f) > 0 ? qt.Children.map(f, (_, M) => {
6602
- const j = x[M] || {};
6602
+ const K = x[M] || {};
6603
6603
  return /* @__PURE__ */ b(
6604
6604
  qe.Panel,
6605
6605
  {
6606
- defaultSize: j.defaultSize,
6607
- min: j.min,
6608
- max: j.max,
6609
- collapsible: j.collapsible,
6610
- resizable: j.resizable !== !1,
6606
+ defaultSize: K.defaultSize,
6607
+ min: K.min,
6608
+ max: K.max,
6609
+ collapsible: K.collapsible,
6610
+ resizable: K.resizable !== !1,
6611
6611
  children: _
6612
6612
  },
6613
- j.key || M
6613
+ K.key || M
6614
6614
  );
6615
6615
  }) : x.map((_, M) => /* @__PURE__ */ b(
6616
6616
  qe.Panel,
@@ -6656,7 +6656,7 @@ const Qc = ({
6656
6656
  r
6657
6657
  ) });
6658
6658
  return D && Object.keys(D).length > 0 ? /* @__PURE__ */ b(Mt, { theme: { components: { Splitter: D } }, children: E }) : E;
6659
- }, ps = ({
6659
+ }, gs = ({
6660
6660
  children: e,
6661
6661
  className: t,
6662
6662
  style: n,
@@ -6677,7 +6677,7 @@ const Qc = ({
6677
6677
  ...v,
6678
6678
  children: e
6679
6679
  }
6680
- ), vs = ({
6680
+ ), ps = ({
6681
6681
  id: e,
6682
6682
  sessionId: t,
6683
6683
  develop: n,
@@ -6698,30 +6698,30 @@ const Qc = ({
6698
6698
  "page-size": u = "small",
6699
6699
  "page-showLessItems": x = !1
6700
6700
  }) => {
6701
- const D = u === "default" ? "middle" : u, T = O((j) => j.getDataSet), S = g(
6701
+ const D = u === "default" ? "middle" : u, T = O((K) => K.getDataSet), S = g(
6702
6702
  () => tt(t, i),
6703
6703
  [t, i]
6704
6704
  ), [A, N] = dt(1), [k, C] = dt(p), w = g(() => {
6705
6705
  if (S && r) {
6706
- const j = T(S, r);
6707
- return Array.isArray(j) ? j : [];
6706
+ const K = T(S, r);
6707
+ return Array.isArray(K) ? K : [];
6708
6708
  }
6709
6709
  return [];
6710
6710
  }, [S, r, T]), E = g(() => n ? w.length > 0 ? w : c || [] : S ? w : c || [], [n, S, w, c]), _ = g(() => {
6711
- let j = E;
6711
+ let K = E;
6712
6712
  if (!h) {
6713
- const P = (A - 1) * k, Y = P + k;
6714
- j = j.slice(P, Y);
6713
+ const H = (A - 1) * k, P = H + k;
6714
+ K = K.slice(H, P);
6715
6715
  }
6716
- return l ? j.slice(0, l) : j;
6716
+ return l ? K.slice(0, l) : K;
6717
6717
  }, [E, h, A, k, l]);
6718
6718
  if (!E || E.length === 0)
6719
6719
  return o ? /* @__PURE__ */ b(se, { children: o() }) : /* @__PURE__ */ b("div", { style: { textAlign: "center", padding: "20px", color: "#999" }, children: "暂无数据" });
6720
- const M = (j, P) => {
6721
- N(j), P && C(P);
6720
+ const M = (K, H) => {
6721
+ N(K), H && C(H);
6722
6722
  };
6723
6723
  return /* @__PURE__ */ ot("div", { style: { display: "flex", flexDirection: "column", ...m }, children: [
6724
- /* @__PURE__ */ b("div", { style: { flex: 1 }, children: _.map((j, P) => /* @__PURE__ */ b(qt.Fragment, { children: a ? a(j, P) : /* @__PURE__ */ b("div", { style: { padding: "8px", borderBottom: "1px solid #f0f0f0" }, children: JSON.stringify(j) }) }, j.id || P)) }),
6724
+ /* @__PURE__ */ b("div", { style: { flex: 1 }, children: _.map((K, H) => /* @__PURE__ */ b(qt.Fragment, { children: a ? a(K, H) : /* @__PURE__ */ b("div", { style: { padding: "8px", borderBottom: "1px solid #f0f0f0" }, children: JSON.stringify(K) }) }, K.id || H)) }),
6725
6725
  !h && E.length > 0 && /* @__PURE__ */ b("div", { style: { display: "flex", justifyContent: "flex-end", marginTop: 16 }, children: /* @__PURE__ */ b(
6726
6726
  Ln,
6727
6727
  {
@@ -6738,7 +6738,7 @@ const Qc = ({
6738
6738
  }
6739
6739
  ) })
6740
6740
  ] });
6741
- }, vo = "@keyframes and-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}", bo = ".and-icon-svg-root svg,.and-icon-svg-root svg path{fill:currentColor}.and-icon-svg-root svg{color:inherit}", bs = ({
6741
+ }, vo = "@keyframes and-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}", bo = ".and-icon-svg-root svg,.and-icon-svg-root svg path{fill:currentColor}.and-icon-svg-root svg{color:inherit}", vs = ({
6742
6742
  id: e,
6743
6743
  sessionId: t,
6744
6744
  develop: n,
@@ -6803,7 +6803,7 @@ const Qc = ({
6803
6803
  onClick: p
6804
6804
  }
6805
6805
  ) : (console.warn(`Icon "${i}" not found in @ant-design/icons`), null);
6806
- }, Ss = ({
6806
+ }, bs = ({
6807
6807
  id: e,
6808
6808
  sessionId: t,
6809
6809
  develop: n,
@@ -6836,7 +6836,7 @@ const Qc = ({
6836
6836
  Je.Meta,
6837
6837
  {
6838
6838
  title: s.name,
6839
- description: /* @__PURE__ */ ot(Yt, { direction: "vertical", size: 4, children: [
6839
+ description: /* @__PURE__ */ ot(Pt, { direction: "vertical", size: 4, children: [
6840
6840
  s.price !== void 0 && /* @__PURE__ */ ot("div", { children: [
6841
6841
  /* @__PURE__ */ ot("span", { style: { color: "#f5222d", fontSize: 18, fontWeight: "bold" }, children: [
6842
6842
  "¥",
@@ -6847,7 +6847,7 @@ const Qc = ({
6847
6847
  s.originalPrice
6848
6848
  ] })
6849
6849
  ] }),
6850
- s.tags && s.tags.length > 0 && /* @__PURE__ */ b(Yt, { size: 4, wrap: !0, children: s.tags.map((y, u) => /* @__PURE__ */ b(Kn, { color: "blue", children: y }, u)) })
6850
+ s.tags && s.tags.length > 0 && /* @__PURE__ */ b(Pt, { size: 4, wrap: !0, children: s.tags.map((y, u) => /* @__PURE__ */ b(Kn, { color: "blue", children: y }, u)) })
6851
6851
  ] })
6852
6852
  }
6853
6853
  )
@@ -6881,7 +6881,7 @@ const Qc = ({
6881
6881
  i && /* @__PURE__ */ b("div", { style: { fontSize: 12, opacity: 0.7 }, children: i })
6882
6882
  ]
6883
6883
  }
6884
- ), ws = ({
6884
+ ), Ss = ({
6885
6885
  componentName: e,
6886
6886
  componentProps: t = {},
6887
6887
  storePropsKey: n,
@@ -6920,10 +6920,10 @@ const Qc = ({
6920
6920
  if (!n || !f) return { componentName: "", props: {} };
6921
6921
  const w = n.split(".")[1], E = w ? f[w] || {} : f;
6922
6922
  if (typeof E == "object" && E !== null) {
6923
- const { componentName: _, props: M, ...j } = E;
6923
+ const { componentName: _, props: M, ...K } = E;
6924
6924
  return {
6925
6925
  componentName: _ || "",
6926
- props: M || j || {}
6926
+ props: M || K || {}
6927
6927
  };
6928
6928
  }
6929
6929
  return { componentName: "", props: {} };
@@ -6967,7 +6967,7 @@ const Qc = ({
6967
6967
  }
6968
6968
  );
6969
6969
  }
6970
- const T = Ut(), S = l || T.componentResolver;
6970
+ const T = Yt(), S = l || T.componentResolver;
6971
6971
  if (!S)
6972
6972
  return /* @__PURE__ */ b(
6973
6973
  En,
@@ -6994,7 +6994,7 @@ const Qc = ({
6994
6994
  style: o
6995
6995
  }
6996
6996
  );
6997
- }, Ds = ({
6997
+ }, ws = ({
6998
6998
  content: e = "Watermark",
6999
6999
  width: t,
7000
7000
  height: n,
@@ -7060,18 +7060,13 @@ const Qc = ({
7060
7060
  ) : s;
7061
7061
  };
7062
7062
  let cn = !1;
7063
- function xs(e) {
7063
+ function Ds(e) {
7064
7064
  typeof window > "u" || (he.GlobalWorkerOptions.workerSrc = e, cn = !0);
7065
7065
  }
7066
7066
  function So(e) {
7067
7067
  typeof window > "u" || cn && he.GlobalWorkerOptions.workerSrc || (he.GlobalWorkerOptions.workerSrc = e ?? `https://unpkg.com/pdfjs-dist@${he.version}/build/pdf.worker.min.mjs`, cn = !0);
7068
7068
  }
7069
- function wo(e) {
7070
- if (!e || typeof e != "string" || /^(data:|blob:|https?:\/\/)/i.test(e)) return e;
7071
- const t = Ut().viewRes;
7072
- return t ? t(e) : e;
7073
- }
7074
- const As = ({
7069
+ const xs = ({
7075
7070
  id: e,
7076
7071
  sessionId: t,
7077
7072
  develop: n,
@@ -7088,119 +7083,125 @@ const As = ({
7088
7083
  bt(() => {
7089
7084
  So();
7090
7085
  }, []);
7091
- const p = O((K) => K.setDataSet), d = g(
7086
+ const p = O((j) => j.setDataSet), d = g(
7092
7087
  () => tt(t, i),
7093
7088
  [t, i]
7094
- ), f = O((K) => {
7089
+ ), f = O((j) => {
7095
7090
  if (!d || !r) return;
7096
- const V = K.getDataSet(d, r);
7097
- if (V != null && V !== "") return String(V);
7091
+ const L = j.getDataSet(d, r);
7092
+ if (L != null && L !== "") return String(L);
7098
7093
  }), s = O(
7099
- (K) => {
7100
- var V;
7101
- return t && e ? ((V = K.propsStore[`${t}_props`]) == null ? void 0 : V[e]) ?? null : null;
7094
+ (j) => {
7095
+ var L;
7096
+ return t && e ? ((L = j.propsStore[`${t}_props`]) == null ? void 0 : L[e]) ?? null : null;
7102
7097
  }
7103
7098
  ), y = g(() => {
7104
- let K;
7105
- if (f !== void 0) K = f;
7099
+ let j;
7100
+ if (f !== void 0) j = f;
7106
7101
  else if (s && typeof s == "object") {
7107
- const V = s.filePath;
7108
- V != null && V !== "" && (K = String(V));
7102
+ const L = s.filePath;
7103
+ L != null && L !== "" && (j = String(L));
7109
7104
  }
7110
- return K === void 0 && (K = a), wo(K);
7105
+ return j === void 0 && (j = a), j;
7111
7106
  }, [f, s, a]), [u, x] = dt(0), [D, T] = dt(
7112
7107
  () => Math.max(1, o || 1)
7113
- ), [S, A] = dt(null), [N, k] = dt(!!y), C = $t(null), w = $t(null), [E, _] = dt(600), M = $t(0), j = (c || "").trim(), P = O((K) => {
7114
- if (!(!d || !j))
7115
- return K.getDataSet(d, `${j}.targetPage`);
7108
+ ), [S, A] = dt(null), [N, k] = dt(!!y), C = $t(null), w = $t(null), [E, _] = dt(600), M = $t(0), K = g(
7109
+ () => ({
7110
+ cMapUrl: `https://unpkg.com/pdfjs-dist@${he.version}/cmaps/`,
7111
+ cMapPacked: !0
7112
+ }),
7113
+ []
7114
+ ), H = (c || "").trim(), P = O((j) => {
7115
+ if (!(!d || !H))
7116
+ return j.getDataSet(d, `${H}.targetPage`);
7116
7117
  });
7117
7118
  bt(() => {
7118
- const K = w.current;
7119
- if (!K) return;
7120
- const V = new ResizeObserver(() => {
7121
- const rt = K.clientWidth;
7122
- rt > 0 && _(rt);
7119
+ const j = w.current;
7120
+ if (!j) return;
7121
+ const L = new ResizeObserver(() => {
7122
+ const it = j.clientWidth;
7123
+ it > 0 && _(it);
7123
7124
  });
7124
- V.observe(K);
7125
- const U = K.clientWidth;
7126
- return U > 0 && _(U), () => V.disconnect();
7125
+ L.observe(j);
7126
+ const rt = j.clientWidth;
7127
+ return rt > 0 && _(rt), () => L.disconnect();
7127
7128
  }, [y]);
7128
- const Y = B(
7129
- (K, V) => {
7130
- !d || !j || (p(d, `${j}.currentPage`, K), V > 0 && p(d, `${j}.totalPages`, V));
7129
+ const $ = B(
7130
+ (j, L) => {
7131
+ !d || !H || (p(d, `${H}.currentPage`, j), L > 0 && p(d, `${H}.totalPages`, L));
7131
7132
  },
7132
- [d, j, p]
7133
+ [d, H, p]
7133
7134
  );
7134
7135
  bt(() => {
7135
- u > 0 && Y(D, u);
7136
- }, [D, u, Y]), bt(() => {
7137
- const K = P;
7138
- if (typeof K != "number" || !Number.isFinite(K)) return;
7139
- const V = Math.max(1, Math.floor(K));
7140
- u > 0 ? T(Math.min(V, u)) : T(V), d && j && p(d, `${j}.targetPage`, void 0);
7141
- }, [P, u, d, j, p]), bt(() => {
7142
- T((K) => Math.max(1, o || K));
7136
+ u > 0 && $(D, u);
7137
+ }, [D, u, $]), bt(() => {
7138
+ const j = P;
7139
+ if (typeof j != "number" || !Number.isFinite(j)) return;
7140
+ const L = Math.max(1, Math.floor(j));
7141
+ u > 0 ? T(Math.min(L, u)) : T(L), d && H && p(d, `${H}.targetPage`, void 0);
7142
+ }, [P, u, d, H, p]), bt(() => {
7143
+ T((j) => Math.max(1, o || j));
7143
7144
  }, [o, y]);
7144
- const $ = B(
7145
- ({ numPages: K }) => {
7146
- x(K), A(null), k(!1), T((V) => Math.min(Math.max(1, V), K || 1));
7145
+ const q = B(
7146
+ ({ numPages: j }) => {
7147
+ x(j), A(null), k(!1), T((L) => Math.min(Math.max(1, L), j || 1));
7147
7148
  },
7148
7149
  []
7149
- ), q = B((K) => {
7150
- A(K), k(!1);
7150
+ ), z = B((j) => {
7151
+ A(j), k(!1);
7151
7152
  }, []);
7152
7153
  bt(() => {
7153
7154
  k(!!y), A(null);
7154
7155
  }, [y]);
7155
- const L = B(() => {
7156
+ const W = B(() => {
7156
7157
  if (!y) return;
7157
- const K = window.open(y, "_blank", "noopener,noreferrer");
7158
- K && (K.onload = () => {
7158
+ const j = window.open(y, "_blank", "noopener,noreferrer");
7159
+ j && (j.onload = () => {
7159
7160
  try {
7160
- K.print();
7161
+ j.print();
7161
7162
  } catch {
7162
7163
  }
7163
7164
  });
7164
- }, [y]), W = B(() => {
7165
- if (!y) return;
7166
- const K = document.createElement("a");
7167
- K.href = y, K.download = "", K.rel = "noopener noreferrer", K.target = "_blank", document.body.appendChild(K), K.click(), K.remove();
7168
7165
  }, [y]), R = B(() => {
7169
- var V;
7170
- const K = C.current;
7171
- K && ((V = K.requestFullscreen) == null || V.call(K));
7172
- }, []), z = B(() => {
7166
+ if (!y) return;
7167
+ const j = document.createElement("a");
7168
+ j.href = y, j.download = "", j.rel = "noopener noreferrer", j.target = "_blank", document.body.appendChild(j), j.click(), j.remove();
7169
+ }, [y]), V = B(() => {
7170
+ var L;
7171
+ const j = C.current;
7172
+ j && ((L = j.requestFullscreen) == null || L.call(j));
7173
+ }, []), G = B(() => {
7173
7174
  document.fullscreenElement && document.exitFullscreen();
7174
7175
  }, []);
7175
7176
  return bt(() => {
7176
7177
  if (!s || typeof s != "object") return;
7177
- const K = s._pdfCmdNonce, V = s.pdfCommand, U = s.pdfCommandArg;
7178
- if (!(K == null || K === M.current || !V))
7179
- switch (M.current = K, V) {
7178
+ const j = s._pdfCmdNonce, L = s.pdfCommand, rt = s.pdfCommandArg;
7179
+ if (!(j == null || j === M.current || !L))
7180
+ switch (M.current = j, L) {
7180
7181
  case "print":
7181
- L();
7182
+ W();
7182
7183
  break;
7183
7184
  case "download":
7184
- W();
7185
+ R();
7185
7186
  break;
7186
7187
  case "enterFullscreen":
7187
- R();
7188
+ V();
7188
7189
  break;
7189
7190
  case "exitFullscreen":
7190
- z();
7191
+ G();
7191
7192
  break;
7192
7193
  case "goToPage":
7193
- typeof U == "number" && u > 0 ? T(
7194
- Math.max(1, Math.min(Math.floor(U), u))
7195
- ) : typeof U == "number" && T(Math.max(1, Math.floor(U)));
7194
+ typeof rt == "number" && u > 0 ? T(
7195
+ Math.max(1, Math.min(Math.floor(rt), u))
7196
+ ) : typeof rt == "number" && T(Math.max(1, Math.floor(rt)));
7196
7197
  break;
7197
7198
  }
7198
7199
  }, [
7199
7200
  s,
7200
- L,
7201
7201
  W,
7202
7202
  R,
7203
- z,
7203
+ V,
7204
+ G,
7204
7205
  u
7205
7206
  ]), /* @__PURE__ */ b(
7206
7207
  "div",
@@ -7228,20 +7229,17 @@ const As = ({
7228
7229
  ai,
7229
7230
  {
7230
7231
  file: y,
7231
- onLoadSuccess: $,
7232
- onLoadError: q,
7232
+ onLoadSuccess: q,
7233
+ onLoadError: z,
7233
7234
  loading: null,
7234
- options: {
7235
- cMapUrl: `https://unpkg.com/pdfjs-dist@${he.version}/cmaps/`,
7236
- cMapPacked: !0
7237
- },
7235
+ options: K,
7238
7236
  children: /* @__PURE__ */ b(
7239
7237
  oi,
7240
7238
  {
7241
7239
  pageNumber: D,
7242
7240
  width: E,
7243
- renderTextLayer: !0,
7244
- renderAnnotationLayer: !0
7241
+ renderTextLayer: !1,
7242
+ renderAnnotationLayer: !1
7245
7243
  }
7246
7244
  )
7247
7245
  },
@@ -7253,7 +7251,7 @@ const As = ({
7253
7251
  }
7254
7252
  );
7255
7253
  };
7256
- function Cs(e, t, n, i) {
7254
+ function As(e, t, n, i) {
7257
7255
  const { getProps: r, setProps: a } = O.getState(), o = r(e, t), c = o && typeof o == "object" && !Array.isArray(o) ? o : {};
7258
7256
  a(e, t, {
7259
7257
  ...c,
@@ -7274,7 +7272,7 @@ function Dt(e) {
7274
7272
  return e;
7275
7273
  }
7276
7274
  }
7277
- function Do(e, t) {
7275
+ function wo(e, t) {
7278
7276
  return e == null || e === "" ? t : e === !0 || e === "true" ? !0 : e === !1 || e === "false" ? !1 : t;
7279
7277
  }
7280
7278
  function Zt(e, t) {
@@ -7319,26 +7317,26 @@ function Zt(e, t) {
7319
7317
  annotations: E,
7320
7318
  axis: _,
7321
7319
  scrollbar: M,
7322
- slider: j,
7323
- theme: P,
7324
- state: Y,
7320
+ slider: K,
7321
+ theme: H,
7322
+ state: P,
7325
7323
  // 事件配置
7326
7324
  events: $,
7327
7325
  // 其余配置直接透传
7328
7326
  ...q
7329
- } = o, L = $t(null), W = O((G) => G.getDataSet), R = O((G) => G.addCommand), z = g(() => {
7327
+ } = o, z = $t(null), W = O((Y) => Y.getDataSet), R = O((Y) => Y.addCommand), V = g(() => {
7330
7328
  if (p && d) {
7331
- const H = W(p, d);
7332
- if (H !== void 0) return H;
7329
+ const U = W(p, d);
7330
+ if (U !== void 0) return U;
7333
7331
  }
7334
- const G = Dt(f);
7335
- return G !== void 0 ? G : m ? r : [];
7336
- }, [f, p, d, W, m]), K = (G) => {
7337
- var H;
7338
- if (L.current = G, !m && l) {
7332
+ const Y = Dt(f);
7333
+ return Y !== void 0 ? Y : m ? r : [];
7334
+ }, [f, p, d, W, m]), G = (Y) => {
7335
+ var U;
7336
+ if (z.current = Y, !m && l) {
7339
7337
  const et = Dt($);
7340
7338
  et && typeof et == "object" && Object.entries(et).forEach(([Q, lt]) => {
7341
- typeof lt == "string" && G.on(Q, (ft) => {
7339
+ typeof lt == "string" && Y.on(Q, (ft) => {
7342
7340
  R(l, {
7343
7341
  actionName: lt,
7344
7342
  arg: ft,
@@ -7347,57 +7345,57 @@ function Zt(e, t) {
7347
7345
  });
7348
7346
  });
7349
7347
  }
7350
- (H = q.onReady) == null || H.call(q, G);
7351
- }, V = Dt(s) || {}, U = {
7352
- data: z,
7348
+ (U = q.onReady) == null || U.call(q, Y);
7349
+ }, j = Dt(s) || {}, L = {
7350
+ data: V,
7353
7351
  // 优先使用 common 中的配置,没配置则使用默认值
7354
- height: V.height ?? i,
7355
- autoFit: Do(V.autoFit, !0),
7352
+ height: j.height ?? i,
7353
+ autoFit: wo(j.autoFit, !0),
7356
7354
  // 合并其他通用配置 (margin, padding, insert, etc.)
7357
- ...V,
7355
+ ...j,
7358
7356
  // 设计器模式禁用动画
7359
7357
  animate: m ? !1 : Dt(k),
7360
- onReady: K,
7358
+ onReady: G,
7361
7359
  ...q
7362
7360
  }, rt = Dt(T);
7363
- rt !== void 0 && (U.title = rt);
7361
+ rt !== void 0 && (L.title = rt);
7364
7362
  const it = Dt(S);
7365
- it !== void 0 && (U.legend = it);
7363
+ it !== void 0 && (L.legend = it);
7366
7364
  const nt = Dt(A);
7367
- nt !== void 0 && (U.label = nt);
7365
+ nt !== void 0 && (L.label = nt);
7368
7366
  const yt = Dt(N);
7369
- yt !== void 0 && (U.tooltip = yt);
7367
+ yt !== void 0 && (L.tooltip = yt);
7370
7368
  const Ct = Dt(C);
7371
- Ct !== void 0 && (U.scale = Ct);
7369
+ Ct !== void 0 && (L.scale = Ct);
7372
7370
  const mt = Dt(w);
7373
- mt !== void 0 && (U.interaction = mt);
7371
+ mt !== void 0 && (L.interaction = mt);
7374
7372
  const I = Dt(E);
7375
- I !== void 0 && (U.annotations = I);
7373
+ I !== void 0 && (L.annotations = I);
7376
7374
  const st = Dt(_);
7377
- st !== void 0 && (U.axis = st);
7375
+ st !== void 0 && (L.axis = st);
7378
7376
  const at = Dt(M);
7379
- at !== void 0 && (U.scrollbar = at);
7380
- const _t = Dt(j);
7381
- _t !== void 0 && (U.slider = _t);
7382
- const Ot = Dt(P);
7383
- Ot !== void 0 && (U.theme = Ot);
7384
- const Bt = Dt(Y);
7385
- return Bt !== void 0 && (U.state = Bt), /* @__PURE__ */ b(e, { ...U });
7377
+ at !== void 0 && (L.scrollbar = at);
7378
+ const _t = Dt(K);
7379
+ _t !== void 0 && (L.slider = _t);
7380
+ const Ot = Dt(H);
7381
+ Ot !== void 0 && (L.theme = Ot);
7382
+ const Bt = Dt(P);
7383
+ return Bt !== void 0 && (L.state = Bt), /* @__PURE__ */ b(e, { ...L });
7386
7384
  };
7387
7385
  return a.displayName = `withBaseChart(${n})`, a;
7388
7386
  }
7389
- const xo = [
7387
+ const Do = [
7390
7388
  { year: "2020", value: 3 },
7391
7389
  { year: "2021", value: 4 },
7392
7390
  { year: "2022", value: 3.5 },
7393
7391
  { year: "2023", value: 5 },
7394
7392
  { year: "2024", value: 4.9 },
7395
7393
  { year: "2025", value: 6 }
7396
- ], Ao = Zt(ci, {
7394
+ ], xo = Zt(ci, {
7397
7395
  chartType: "AndVLine",
7398
7396
  defaultHeight: 300,
7399
- defaultData: xo
7400
- }), Ts = (e) => {
7397
+ defaultData: Do
7398
+ }), Cs = (e) => {
7401
7399
  const {
7402
7400
  xField: t = "year",
7403
7401
  yField: n = "value",
@@ -7408,7 +7406,7 @@ const xo = [
7408
7406
  ...c
7409
7407
  } = e;
7410
7408
  return /* @__PURE__ */ b(
7411
- Ao,
7409
+ xo,
7412
7410
  {
7413
7411
  ...c,
7414
7412
  xField: t,
@@ -7419,18 +7417,18 @@ const xo = [
7419
7417
  lineStyle: o
7420
7418
  }
7421
7419
  );
7422
- }, Co = [
7420
+ }, Ao = [
7423
7421
  { category: "一月", value: 38 },
7424
7422
  { category: "二月", value: 52 },
7425
7423
  { category: "三月", value: 61 },
7426
7424
  { category: "四月", value: 45 },
7427
7425
  { category: "五月", value: 48 },
7428
7426
  { category: "六月", value: 58 }
7429
- ], To = Zt(si, {
7427
+ ], Co = Zt(si, {
7430
7428
  chartType: "AndVColumn",
7431
7429
  defaultHeight: 300,
7432
- defaultData: Co
7433
- }), Ns = (e) => {
7430
+ defaultData: Ao
7431
+ }), Ts = (e) => {
7434
7432
  const {
7435
7433
  xField: t = "category",
7436
7434
  yField: n = "value",
@@ -7444,19 +7442,19 @@ const xo = [
7444
7442
  xField: t,
7445
7443
  yField: n
7446
7444
  };
7447
- return i && (l.seriesField = i), r && (l.isGroup = r), a && (l.isStack = a), o && (l.columnWidth = o), /* @__PURE__ */ b(To, { ...l });
7448
- }, No = [
7445
+ return i && (l.seriesField = i), r && (l.isGroup = r), a && (l.isStack = a), o && (l.columnWidth = o), /* @__PURE__ */ b(Co, { ...l });
7446
+ }, To = [
7449
7447
  { type: "分类一", value: 27 },
7450
7448
  { type: "分类二", value: 25 },
7451
7449
  { type: "分类三", value: 18 },
7452
7450
  { type: "分类四", value: 15 },
7453
7451
  { type: "分类五", value: 10 },
7454
7452
  { type: "其他", value: 5 }
7455
- ], ko = Zt(li, {
7453
+ ], No = Zt(li, {
7456
7454
  chartType: "AndVPie",
7457
7455
  defaultHeight: 300,
7458
- defaultData: No
7459
- }), ks = (e) => {
7456
+ defaultData: To
7457
+ }), Ns = (e) => {
7460
7458
  const {
7461
7459
  angleField: t = "value",
7462
7460
  colorField: n = "type",
@@ -7469,8 +7467,8 @@ const xo = [
7469
7467
  colorField: n,
7470
7468
  radius: i
7471
7469
  };
7472
- return r !== void 0 && r > 0 && (o.innerRadius = r), /* @__PURE__ */ b(ko, { ...o });
7473
- }, Oo = Zt(ui, {
7470
+ return r !== void 0 && r > 0 && (o.innerRadius = r), /* @__PURE__ */ b(No, { ...o });
7471
+ }, ko = Zt(ui, {
7474
7472
  chartType: "AndVArea",
7475
7473
  defaultHeight: 300,
7476
7474
  defaultData: [
@@ -7484,7 +7482,7 @@ const xo = [
7484
7482
  { year: "1998", value: 9 },
7485
7483
  { year: "1999", value: 13 }
7486
7484
  ]
7487
- }), Os = (e) => {
7485
+ }), ks = (e) => {
7488
7486
  const {
7489
7487
  // 字段
7490
7488
  xField: t,
@@ -7509,8 +7507,8 @@ const xo = [
7509
7507
  const s = Dt(c);
7510
7508
  s !== void 0 && (f.line = s);
7511
7509
  const y = Dt(l);
7512
- return y !== void 0 && (f.point = y), /* @__PURE__ */ b(Oo, { ...f });
7513
- }, _o = Zt(fi, {
7510
+ return y !== void 0 && (f.point = y), /* @__PURE__ */ b(ko, { ...f });
7511
+ }, Oo = Zt(fi, {
7514
7512
  chartType: "AndVDualAxes",
7515
7513
  defaultHeight: 300,
7516
7514
  defaultData: [
@@ -7524,7 +7522,7 @@ const xo = [
7524
7522
  { year: "1998", value: 9, count: 1 },
7525
7523
  { year: "1999", value: 13, count: 20 }
7526
7524
  ]
7527
- }), _s = (e) => {
7525
+ }), Os = (e) => {
7528
7526
  const {
7529
7527
  // 字段
7530
7528
  xField: t,
@@ -7541,33 +7539,33 @@ const xo = [
7541
7539
  const l = Dt(n);
7542
7540
  l ? c.yField = l : n && (c.yField = n), i && (c.seriesField = i), r && (c.colorField = r);
7543
7541
  const m = Dt(a);
7544
- return m !== void 0 && (c.children = m), /* @__PURE__ */ b(_o, { ...c });
7545
- }, Eo = Zt(di, {
7542
+ return m !== void 0 && (c.children = m), /* @__PURE__ */ b(Oo, { ...c });
7543
+ }, _o = Zt(di, {
7546
7544
  chartType: "AndVGauge",
7547
7545
  defaultHeight: 300,
7548
7546
  defaultData: { percent: 0.7 }
7549
7547
  // Gauge 默认数据
7550
- }), Es = (e) => {
7548
+ }), _s = (e) => {
7551
7549
  const {
7552
7550
  ...t
7553
7551
  } = e, n = {
7554
7552
  ...t
7555
7553
  };
7556
- return console.log("[AndVGauge] chartProps:", JSON.stringify(n, null, 2)), /* @__PURE__ */ b(Eo, { ...n });
7557
- }, $o = Zt(mi, {
7554
+ return console.log("[AndVGauge] chartProps:", JSON.stringify(n, null, 2)), /* @__PURE__ */ b(_o, { ...n });
7555
+ }, Eo = Zt(mi, {
7558
7556
  chartType: "AndVLiquid",
7559
7557
  defaultHeight: 300,
7560
7558
  defaultData: 0.25
7561
7559
  // Liquid 默认 percent (注意:Liquid 数据直接作为 percent 传递)
7562
- }), $s = (e) => {
7560
+ }), Es = (e) => {
7563
7561
  const {
7564
7562
  percent: t,
7565
7563
  ...n
7566
7564
  } = e, i = {
7567
7565
  ...n
7568
7566
  };
7569
- return t !== void 0 && (i.percent = t), console.log("[AndVLiquid] chartProps:", JSON.stringify(i, null, 2)), /* @__PURE__ */ b($o, { ...i });
7570
- }, Mo = Zt(hi, {
7567
+ return t !== void 0 && (i.percent = t), console.log("[AndVLiquid] chartProps:", JSON.stringify(i, null, 2)), /* @__PURE__ */ b(Eo, { ...i });
7568
+ }, $o = Zt(hi, {
7571
7569
  chartType: "AndVBar",
7572
7570
  defaultHeight: 300,
7573
7571
  defaultData: [
@@ -7577,7 +7575,7 @@ const xo = [
7577
7575
  { year: "1957 年", value: 145 },
7578
7576
  { year: "1958 年", value: 48 }
7579
7577
  ]
7580
- }), Ms = (e) => {
7578
+ }), $s = (e) => {
7581
7579
  const {
7582
7580
  // 特有字段
7583
7581
  xField: t,
@@ -7599,96 +7597,96 @@ const xo = [
7599
7597
  const p = Dt(l);
7600
7598
  p !== void 0 && (h.conversionTag = p);
7601
7599
  const d = Dt(m);
7602
- return d !== void 0 && (h.markBackground = d), console.log("[AndVBar] chartProps:", JSON.stringify(h, null, 2)), /* @__PURE__ */ b(Mo, { ...h });
7600
+ return d !== void 0 && (h.markBackground = d), console.log("[AndVBar] chartProps:", JSON.stringify(h, null, 2)), /* @__PURE__ */ b($o, { ...h });
7603
7601
  };
7604
7602
  export {
7605
- fc as AVAILABLE_TOKENS,
7606
- as as AndAlert,
7607
- $c as AndAutoComplete,
7608
- Fc as AndAvatar,
7609
- ns as AndBadge,
7610
- rs as AndBadgeRibbon,
7611
- Ic as AndBreadCrumb,
7612
- hc as AndButton,
7613
- es as AndCalendar,
7614
- ls as AndCard,
7615
- Gc as AndCarousel,
7616
- Oc as AndCascade,
7617
- Tc as AndCheckbox,
7618
- ms as AndColumn,
7619
- hs as AndContainer,
7620
- Dc as AndDatePicker,
7621
- us as AndDivider,
7622
- cs as AndDrawer,
7623
- fs as AndDropdown,
7624
- fs as AndDropdownMenu,
7625
- ws as AndDynamicContainer,
7626
- Rc as AndFormItem,
7627
- bs as AndIcon,
7628
- Jc as AndImage,
7629
- Qc as AndImageGroup,
7630
- yc as AndInput,
7631
- pc as AndInputArea,
7632
- gc as AndInputNumber,
7633
- vc as AndInputPassword,
7634
- bc as AndInputSearch,
7635
- vs as AndIterator,
7636
- is as AndMasonry,
7637
- ts as AndMenu,
7638
- os as AndModal,
7639
- Zc as AndPagination,
7640
- Vc as AndParagraph,
7641
- As as AndPdfViewer,
7642
- Ss as AndProductCategory,
7643
- ys as AndQRCode,
7644
- Cc as AndRadio,
7645
- Ac as AndRangePicker,
7646
- Nc as AndRate,
7647
- ss as AndResult,
7648
- ds as AndRow,
7649
- Bc as AndSegmented,
7650
- Sc as AndSelect,
7651
- Mc as AndSimpleForm,
7652
- kc as AndSlider,
7653
- gs as AndSplitter,
7654
- ps as AndSplitterPanel,
7655
- Pc as AndStatistics,
7656
- Yc as AndStatisticsCountdown,
7657
- Uc as AndSteps,
7658
- wc as AndSwitch,
7659
- Kc as AndTable,
7660
- qc as AndTabs,
7661
- Xc as AndTag,
7662
- Lc as AndText,
7663
- xc as AndTimePicker,
7664
- Hc as AndTimeline,
7665
- zc as AndTitle,
7666
- jc as AndTransfer,
7667
- Wc as AndTree,
7668
- _c as AndTreeSelect,
7669
- Ec as AndUpload,
7670
- Os as AndVArea,
7671
- Ms as AndVBar,
7672
- Ns as AndVColumn,
7673
- _s as AndVDualAxes,
7674
- Es as AndVGauge,
7675
- Ts as AndVLine,
7676
- $s as AndVLiquid,
7677
- ks as AndVPie,
7678
- Ds as AndWatermark,
7679
- dc as COMMON_TOKENS,
7603
+ uc as AVAILABLE_TOKENS,
7604
+ is as AndAlert,
7605
+ Ec as AndAutoComplete,
7606
+ Qc as AndAvatar,
7607
+ es as AndBadge,
7608
+ ns as AndBadgeRibbon,
7609
+ Zc as AndBreadCrumb,
7610
+ mc as AndButton,
7611
+ ts as AndCalendar,
7612
+ ss as AndCard,
7613
+ Yc as AndCarousel,
7614
+ kc as AndCascade,
7615
+ Cc as AndCheckbox,
7616
+ ds as AndColumn,
7617
+ ms as AndContainer,
7618
+ wc as AndDatePicker,
7619
+ ls as AndDivider,
7620
+ os as AndDrawer,
7621
+ us as AndDropdown,
7622
+ us as AndDropdownMenu,
7623
+ Ss as AndDynamicContainer,
7624
+ Mc as AndFormItem,
7625
+ vs as AndIcon,
7626
+ Gc as AndImage,
7627
+ Jc as AndImageGroup,
7628
+ hc as AndInput,
7629
+ gc as AndInputArea,
7630
+ yc as AndInputNumber,
7631
+ pc as AndInputPassword,
7632
+ vc as AndInputSearch,
7633
+ ps as AndIterator,
7634
+ rs as AndMasonry,
7635
+ Ic as AndMenu,
7636
+ as as AndModal,
7637
+ Xc as AndPagination,
7638
+ zc as AndParagraph,
7639
+ xs as AndPdfViewer,
7640
+ bs as AndProductCategory,
7641
+ hs as AndQRCode,
7642
+ Ac as AndRadio,
7643
+ xc as AndRangePicker,
7644
+ Tc as AndRate,
7645
+ cs as AndResult,
7646
+ fs as AndRow,
7647
+ jc as AndSegmented,
7648
+ bc as AndSelect,
7649
+ $c as AndSimpleForm,
7650
+ Nc as AndSlider,
7651
+ ys as AndSplitter,
7652
+ gs as AndSplitterPanel,
7653
+ Uc as AndStatistics,
7654
+ Pc as AndStatisticsCountdown,
7655
+ Hc as AndSteps,
7656
+ Sc as AndSwitch,
7657
+ Bc as AndTable,
7658
+ Vc as AndTabs,
7659
+ Fc as AndTag,
7660
+ Kc as AndText,
7661
+ Dc as AndTimePicker,
7662
+ Wc as AndTimeline,
7663
+ Lc as AndTitle,
7664
+ Rc as AndTransfer,
7665
+ qc as AndTree,
7666
+ Oc as AndTreeSelect,
7667
+ _c as AndUpload,
7668
+ ks as AndVArea,
7669
+ $s as AndVBar,
7670
+ Ts as AndVColumn,
7671
+ Os as AndVDualAxes,
7672
+ _s as AndVGauge,
7673
+ Cs as AndVLine,
7674
+ Es as AndVLiquid,
7675
+ Ns as AndVPie,
7676
+ ws as AndWatermark,
7677
+ fc as COMMON_TOKENS,
7680
7678
  re as DataSetInheritContext,
7681
- tc as cleanupAllMounts,
7682
- Zo as clearCssCache,
7679
+ Io as cleanupAllMounts,
7680
+ Xo as clearCssCache,
7683
7681
  X as createCommand,
7684
- cc as createWatchCommands,
7682
+ oc as createWatchCommands,
7685
7683
  ta as dictValueEquals,
7686
- Cs as dispatchPdfViewerCommand,
7684
+ As as dispatchPdfViewerCommand,
7687
7685
  So as ensurePdfjsWorker,
7688
7686
  ie as findDictOptionByValue,
7689
7687
  Aa as formatByType,
7690
7688
  rn as getAccessToken,
7691
- Ut as getCoreConfig,
7689
+ Yt as getCoreConfig,
7692
7690
  tt as getDataSetStoreKey,
7693
7691
  ln as getDictOptions,
7694
7692
  Xe as getNestedValue,
@@ -7696,34 +7694,34 @@ export {
7696
7694
  yi as initReactMount,
7697
7695
  In as isTokenName,
7698
7696
  Jt as mergeStoreProps,
7699
- Io as mountReactComponent,
7697
+ Zo as mountReactComponent,
7700
7698
  te as parseAction,
7701
7699
  be as parseArrayNotation,
7702
7700
  gt as parseChangeAction,
7703
7701
  Si as parseClickAction,
7704
7702
  Ne as parseNestedPath,
7705
- sc as parseQueryAction,
7703
+ cc as parseQueryAction,
7706
7704
  Qn as processValidationRules,
7707
- uc as req,
7705
+ lc as req,
7708
7706
  ne as request,
7709
- mc as resolveTokenColorWithToken,
7710
- lc as setCoreConfig,
7707
+ dc as resolveTokenColorWithToken,
7708
+ sc as setCoreConfig,
7711
7709
  pi as setNestedValue,
7712
- xs as setPdfjsWorkerSrc,
7710
+ Ds as setPdfjsWorkerSrc,
7713
7711
  Xn as upload,
7714
- rc as useAddCommand,
7712
+ nc as useAddCommand,
7715
7713
  O as useAndStore,
7716
7714
  ea as useApiService,
7717
- oc as useCommandsStore,
7715
+ ac as useCommandsStore,
7718
7716
  we as useDictOptions,
7719
7717
  jt as useFieldValidation,
7720
- ac as useItemStore,
7721
- ic as usePopCommand,
7718
+ ic as useItemStore,
7719
+ rc as usePopCommand,
7722
7720
  un as useRemoteOptions,
7723
7721
  Ke as useResolveTokenColor,
7724
7722
  Re as useResolvedDataSet,
7725
- ec as useStore,
7726
- nc as useStoreByName,
7723
+ tc as useStore,
7724
+ ec as useStoreByName,
7727
7725
  vi as useStoreData,
7728
7726
  Fn as validateWithSchema,
7729
7727
  bi as watchCommands,