@nuwatop/code-canvas-core 0.5.69 → 0.5.70

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 p, jsxs as ye, Fragment as St } from "react/jsx-runtime";
2
2
  import { createRoot as Or } from "react-dom/client";
3
- import { theme as ct, ConfigProvider as Ke, Button as st, Tooltip as Hn, Space as _e, Input as qt, InputNumber as Un, Select as In, Switch as $r, DatePicker as Yn, TimePicker as Mr, Radio as It, Checkbox as bt, Rate as Rr, Slider as jr, Cascader as Br, TreeSelect as Kr, message as Bt, Upload as Lr, Image as at, AutoComplete as zr, Form as Ft, Transfer as Fr, Segmented as Vr, Modal as Jn, Table as qr, Flex as Gn, Typography as mn, Tabs as Pr, Tree as Wr, Timeline as Hr, Steps as Ur, Statistic as en, Carousel as Ir, Avatar as Yr, Tag as Qn, Pagination as Zn, Breadcrumb as Jr, Menu as Gr, Calendar as Qr, Badge as Xn, Masonry as Zr, Alert as er, Drawer as Xr, Result as ei, Card as tn, Divider as xn, Dropdown as ti, Row as ni, Col as ri, QRCode as ii, Splitter as Yt, Spin as tr, Watermark as oi, Empty as ai } from "antd";
3
+ import { theme as ct, ConfigProvider as Ke, Button as st, Tooltip as Hn, Space as _e, Input as qt, InputNumber as Un, Select as Yn, Switch as $r, DatePicker as In, TimePicker as Mr, Radio as Yt, Checkbox as bt, Rate as Rr, Slider as jr, Cascader as Br, TreeSelect as Kr, message as Bt, Upload as Lr, Image as at, AutoComplete as zr, Form as Ft, Transfer as Fr, Segmented as Vr, Modal as Jn, Table as qr, Flex as Gn, Typography as mn, Tabs as Pr, Tree as Wr, Timeline as Hr, Steps as Ur, Statistic as en, Carousel as Yr, Avatar as Ir, Tag as Qn, Pagination as Zn, Breadcrumb as Jr, Menu as Gr, Calendar as Qr, Badge as Xn, Masonry as Zr, Alert as er, Drawer as Xr, Result as ei, Card as tn, Divider as xn, Dropdown as ti, Row as ni, Col as ri, QRCode as ii, Splitter as It, Spin as tr, Watermark as oi, Empty as ai } from "antd";
4
4
  import { StyleProvider as ci, createCache as si } from "@ant-design/cssinjs";
5
5
  import li from "antd/locale/zh_CN";
6
6
  import { create as ui } from "zustand";
@@ -119,7 +119,7 @@ function vt(t) {
119
119
  } else i && e.push({ type: "property", key: i });
120
120
  return e;
121
121
  }
122
- function kt(t, e) {
122
+ function _t(t, e) {
123
123
  if (e.length === 0) return t;
124
124
  let n = t;
125
125
  for (const i of e) {
@@ -150,7 +150,7 @@ function le(t, e) {
150
150
  if (e)
151
151
  return t ? `${t}_${e}` : e;
152
152
  }
153
- function Nt(t, e) {
153
+ function Tt(t, e) {
154
154
  if (e)
155
155
  return t ? `${t}_${e}_validate` : `${e}_validate`;
156
156
  }
@@ -166,7 +166,7 @@ function An(t, e, n, i) {
166
166
  const d = t.dataSets[r];
167
167
  let v = d.value;
168
168
  Array.isArray(v) || (v = []);
169
- const h = v[o], m = n.length === 0 ? h : kt(h ?? {}, n), b = i(m), y = n.length === 0 ? b : Ki(h ?? {}, n, b), l = [...v];
169
+ const h = v[o], m = n.length === 0 ? h : _t(h ?? {}, n), b = i(m), y = n.length === 0 ? b : Ki(h ?? {}, n, b), l = [...v];
170
170
  l[o] = y, t.dataSets[r] = { ...d, value: l };
171
171
  return;
172
172
  }
@@ -206,10 +206,10 @@ const _ = ui()(
206
206
  if (!Array.isArray(s) || s[a] === void 0)
207
207
  return;
208
208
  const d = s[a];
209
- return i ? kt(d, vt(i)) : d;
209
+ return i ? _t(d, vt(i)) : d;
210
210
  }
211
211
  if (c)
212
- return i ? kt(c, vt(i)) : c;
212
+ return i ? _t(c, vt(i)) : c;
213
213
  },
214
214
  setDataSetBatch: (n, i) => t((r) => {
215
215
  r.dataSets[n] = {
@@ -249,16 +249,16 @@ const _ = ui()(
249
249
  },
250
250
  // ============ 校验结果(key 使用 getValidateStoreKey,考虑 sessionId) ============
251
251
  setValidateResult: (n, i, r, o) => t((a) => {
252
- const c = Nt(n, i);
252
+ const c = Tt(n, i);
253
253
  c && (a.validateStore[c] || (a.validateStore[c] = {}), a.validateStore[c][r] = o);
254
254
  }),
255
255
  getValidateResult: (n, i, r) => {
256
256
  var a;
257
- const o = Nt(n, i);
257
+ const o = Tt(n, i);
258
258
  return o ? ((a = e().validateStore[o]) == null ? void 0 : a[r]) ?? "" : "";
259
259
  },
260
260
  getValidateResults: (n, i) => {
261
- const r = Nt(n, i);
261
+ const r = Tt(n, i);
262
262
  return r ? e().validateStore[r] ?? {} : {};
263
263
  },
264
264
  // ============ 全局操作 ============
@@ -417,17 +417,17 @@ function ft() {
417
417
  }, ft.apply(this, arguments);
418
418
  }
419
419
  function Fi(t, e) {
420
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, _t(t, e);
420
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Et(t, e);
421
421
  }
422
422
  function on(t) {
423
423
  return on = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
424
424
  return n.__proto__ || Object.getPrototypeOf(n);
425
425
  }, on(t);
426
426
  }
427
- function _t(t, e) {
428
- return _t = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, r) {
427
+ function Et(t, e) {
428
+ return Et = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, r) {
429
429
  return i.__proto__ = r, i;
430
- }, _t(t, e);
430
+ }, Et(t, e);
431
431
  }
432
432
  function Vi() {
433
433
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
@@ -444,7 +444,7 @@ function Vt(t, e, n) {
444
444
  var c = [null];
445
445
  c.push.apply(c, o);
446
446
  var s = Function.bind.apply(r, c), d = new s();
447
- return a && _t(d, a.prototype), d;
447
+ return a && Et(d, a.prototype), d;
448
448
  }, Vt.apply(null, arguments);
449
449
  }
450
450
  function qi(t) {
@@ -470,7 +470,7 @@ function an(t) {
470
470
  writable: !0,
471
471
  configurable: !0
472
472
  }
473
- }), _t(r, i);
473
+ }), Et(r, i);
474
474
  }, an(t);
475
475
  }
476
476
  var Pi = /%[sdj%]/g, lr = function() {
@@ -561,7 +561,7 @@ var Cn = /* @__PURE__ */ function(t) {
561
561
  }
562
562
  return e;
563
563
  }(/* @__PURE__ */ an(Error));
564
- function Ii(t, e, n, i, r) {
564
+ function Yi(t, e, n, i, r) {
565
565
  if (e.first) {
566
566
  var o = new Promise(function(m, b) {
567
567
  var y = function(u) {
@@ -587,7 +587,7 @@ function Ii(t, e, n, i, r) {
587
587
  return m;
588
588
  }), h;
589
589
  }
590
- function Yi(t) {
590
+ function Ii(t) {
591
591
  return !!(t && t.message !== void 0);
592
592
  }
593
593
  function Ji(t, e) {
@@ -601,7 +601,7 @@ function Ji(t, e) {
601
601
  function Nn(t, e) {
602
602
  return function(n) {
603
603
  var i;
604
- return t.fullFields ? i = Ji(e, t.fullFields) : i = e[n.field || t.fullField], Yi(n) ? (n.field = n.field || t.fullField, n.fieldValue = i, n) : {
604
+ return t.fullFields ? i = Ji(e, t.fullFields) : i = e[n.field || t.fullField], Ii(n) ? (n.field = n.field || t.fullField, n.fieldValue = i, n) : {
605
605
  message: typeof n == "function" ? n() : n,
606
606
  fieldValue: i,
607
607
  field: n.field || t.fullField
@@ -656,12 +656,12 @@ var ur = function(e, n, i, r, o, a) {
656
656
  // 'i',
657
657
  // ),
658
658
  hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
659
- }, Ct = {
659
+ }, Nt = {
660
660
  integer: function(e) {
661
- return Ct.number(e) && parseInt(e, 10) === e;
661
+ return Nt.number(e) && parseInt(e, 10) === e;
662
662
  },
663
663
  float: function(e) {
664
- return Ct.number(e) && !Ct.integer(e);
664
+ return Nt.number(e) && !Nt.integer(e);
665
665
  },
666
666
  array: function(e) {
667
667
  return Array.isArray(e);
@@ -682,7 +682,7 @@ var ur = function(e, n, i, r, o, a) {
682
682
  return isNaN(e) ? !1 : typeof e == "number";
683
683
  },
684
684
  object: function(e) {
685
- return typeof e == "object" && !Ct.array(e);
685
+ return typeof e == "object" && !Nt.array(e);
686
686
  },
687
687
  method: function(e) {
688
688
  return typeof e == "function";
@@ -702,7 +702,7 @@ var ur = function(e, n, i, r, o, a) {
702
702
  return;
703
703
  }
704
704
  var a = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], c = e.type;
705
- a.indexOf(c) > -1 ? Ct[c](n) || r.push(qe(o.messages.types[c], e.fullField, e.type)) : c && typeof n !== e.type && r.push(qe(o.messages.types[c], e.fullField, e.type));
705
+ a.indexOf(c) > -1 ? Nt[c](n) || r.push(qe(o.messages.types[c], e.fullField, e.type)) : c && typeof n !== e.type && r.push(qe(o.messages.types[c], e.fullField, e.type));
706
706
  }, Xi = function(e, n, i, r, o) {
707
707
  var a = typeof e.len == "number", c = typeof e.min == "number", s = typeof e.max == "number", d = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, v = n, h = null, m = typeof n == "number", b = typeof n == "string", y = Array.isArray(n);
708
708
  if (m ? h = "number" : b ? h = "string" : y && (h = "array"), !h)
@@ -844,7 +844,7 @@ var ur = function(e, n, i, r, o, a) {
844
844
  we.required(e, n, r, a, o);
845
845
  }
846
846
  i(a);
847
- }, Tt = {
847
+ }, kt = {
848
848
  string: no,
849
849
  method: ro,
850
850
  number: io,
@@ -916,7 +916,7 @@ function sn() {
916
916
  }
917
917
  };
918
918
  }
919
- var ln = sn(), Et = /* @__PURE__ */ function() {
919
+ var ln = sn(), Ot = /* @__PURE__ */ function() {
920
920
  function t(n) {
921
921
  this.rules = null, this._messages = ln, this.define(n);
922
922
  }
@@ -974,7 +974,7 @@ var ln = sn(), Et = /* @__PURE__ */ function() {
974
974
  });
975
975
  });
976
976
  var y = {};
977
- return Ii(m, s, function(l, g) {
977
+ return Yi(m, s, function(l, g) {
978
978
  var u = l.rule, A = (u.type === "object" || u.type === "array") && (typeof u.fields == "object" || typeof u.defaultField == "object");
979
979
  A = A && (u.required || !u.required && l.value), u.field = l.field;
980
980
  function x(S, D) {
@@ -1033,24 +1033,24 @@ var ln = sn(), Et = /* @__PURE__ */ function() {
1033
1033
  v(l);
1034
1034
  }, c);
1035
1035
  }, e.getType = function(i) {
1036
- if (i.type === void 0 && i.pattern instanceof RegExp && (i.type = "pattern"), typeof i.validator != "function" && i.type && !Tt.hasOwnProperty(i.type))
1036
+ if (i.type === void 0 && i.pattern instanceof RegExp && (i.type = "pattern"), typeof i.validator != "function" && i.type && !kt.hasOwnProperty(i.type))
1037
1037
  throw new Error(qe("Unknown rule type %s", i.type));
1038
1038
  return i.type || "string";
1039
1039
  }, e.getValidationMethod = function(i) {
1040
1040
  if (typeof i.validator == "function")
1041
1041
  return i.validator;
1042
1042
  var r = Object.keys(i), o = r.indexOf("message");
1043
- return o !== -1 && r.splice(o, 1), r.length === 1 && r[0] === "required" ? Tt.required : Tt[this.getType(i)] || void 0;
1043
+ return o !== -1 && r.splice(o, 1), r.length === 1 && r[0] === "required" ? kt.required : kt[this.getType(i)] || void 0;
1044
1044
  }, t;
1045
1045
  }();
1046
- Et.register = function(e, n) {
1046
+ Ot.register = function(e, n) {
1047
1047
  if (typeof n != "function")
1048
1048
  throw new Error("Cannot register a validator by type, validator is not a function");
1049
- Tt[e] = n;
1049
+ kt[e] = n;
1050
1050
  };
1051
- Et.warning = lr;
1052
- Et.messages = ln;
1053
- Et.validators = Tt;
1051
+ Ot.warning = lr;
1052
+ Ot.messages = ln;
1053
+ Ot.validators = kt;
1054
1054
  function vo(t) {
1055
1055
  if (!t || typeof t != "string") return null;
1056
1056
  try {
@@ -1077,7 +1077,7 @@ function fr(t, e, n, i) {
1077
1077
  return;
1078
1078
  }
1079
1079
  const r = { [_n]: t };
1080
- new Et(r).validate({ [_n]: e }, { first: !0 }).then(() => {
1080
+ new Ot(r).validate({ [_n]: e }, { first: !0 }).then(() => {
1081
1081
  n();
1082
1082
  }).catch(({ errors: a }) => {
1083
1083
  i(a || []);
@@ -1085,7 +1085,7 @@ function fr(t, e, n, i) {
1085
1085
  }
1086
1086
  function ze(t) {
1087
1087
  const { rules: e, dataSet: n, dataSetField: i, sessionId: r, id: o, develop: a } = t, c = _((w) => w.setValidateResult), s = _((w) => w.getProps), d = _((w) => w.setProps), v = f(
1088
- () => Nt(r, n),
1088
+ () => Tt(r, n),
1089
1089
  [r, n]
1090
1090
  ), h = _(
1091
1091
  (w) => {
@@ -1161,7 +1161,7 @@ function Fe(t, e, n) {
1161
1161
  a != null && (r[o] = a);
1162
1162
  }), r;
1163
1163
  }
1164
- function Ot(t, e, n) {
1164
+ function wt(t, e, n) {
1165
1165
  if (t == null || t === "") return null;
1166
1166
  const i = mr(e), r = i.length > 0 ? i[i.length - 1] : void 0, o = r && typeof r.parentIndex == "number" ? r.parentIndex : void 0, a = r && typeof r.index == "number" ? r.index : void 0;
1167
1167
  if (o !== void 0 && Number.isFinite(o) && a !== void 0 && Number.isFinite(a))
@@ -1174,21 +1174,21 @@ function Ot(t, e, n) {
1174
1174
  const c = o !== void 0 && Number.isFinite(o) ? o : a !== void 0 && Number.isFinite(a) ? a : typeof n == "number" ? n : void 0;
1175
1175
  return c !== void 0 && Number.isFinite(c) ? `${String(t)}_${c}` : String(t);
1176
1176
  }
1177
- function Ye(t) {
1177
+ function Ie(t) {
1178
1178
  return typeof t == "string" && t.trim() !== "";
1179
1179
  }
1180
1180
  function So(t, e) {
1181
1181
  return t === "config.cells" && e.startsWith("config.content.") ? `config.${e.slice(15)}` : e;
1182
1182
  }
1183
1183
  function En(t) {
1184
- return Ye(t) && t.trim().startsWith("[");
1184
+ return Ie(t) && t.trim().startsWith("[");
1185
1185
  }
1186
1186
  function On(t) {
1187
- return Ye(t) && /^items\[\d+\]/.test(t.trim());
1187
+ return Ie(t) && /^items\[\d+\]/.test(t.trim());
1188
1188
  }
1189
1189
  function xo(t, e, n, i) {
1190
1190
  const r = n ?? (i == null ? void 0 : i.sessionId);
1191
- if (Ye(t))
1191
+ if (Ie(t))
1192
1192
  return {
1193
1193
  dataSet: t,
1194
1194
  dataSetField: e,
@@ -1201,7 +1201,7 @@ function xo(t, e, n, i) {
1201
1201
  sessionId: r
1202
1202
  };
1203
1203
  const o = typeof i.index == "number" ? i.index : void 0, a = typeof i.parentIndex == "number" ? i.parentIndex : void 0, c = i.dataSet, s = i.dataSetFieldRoot;
1204
- if (Ye(e)) {
1204
+ if (Ie(e)) {
1205
1205
  const d = So(
1206
1206
  s,
1207
1207
  e.trim()
@@ -1209,17 +1209,17 @@ function xo(t, e, n, i) {
1209
1209
  if (d.startsWith("["))
1210
1210
  return {
1211
1211
  dataSet: c,
1212
- dataSetField: Ye(s) ? `${s}${d}` : d,
1212
+ dataSetField: Ie(s) ? `${s}${d}` : d,
1213
1213
  sessionId: r
1214
1214
  };
1215
- if (typeof a == "number" && typeof o == "number" && Ye(s) && !En(s) && !On(s))
1215
+ if (typeof a == "number" && typeof o == "number" && Ie(s) && !En(s) && !On(s))
1216
1216
  return {
1217
1217
  dataSet: c,
1218
1218
  dataSetField: `[${a}].${s}[${o}].${d}`,
1219
1219
  sessionId: r
1220
1220
  };
1221
1221
  if (typeof o == "number")
1222
- return Ye(s) ? {
1222
+ return Ie(s) ? {
1223
1223
  dataSet: c,
1224
1224
  dataSetField: `${s}[${o}].${d}`,
1225
1225
  sessionId: r
@@ -1228,18 +1228,18 @@ function xo(t, e, n, i) {
1228
1228
  dataSetField: `[${o}].${d}`,
1229
1229
  sessionId: r
1230
1230
  };
1231
- const v = Ye(s) ? `${s}.${d}` : d;
1231
+ const v = Ie(s) ? `${s}.${d}` : d;
1232
1232
  return {
1233
1233
  dataSet: c,
1234
1234
  dataSetField: v,
1235
1235
  sessionId: r
1236
1236
  };
1237
1237
  }
1238
- return typeof a == "number" && typeof o == "number" && Ye(s) && !En(s) && !On(s) ? {
1238
+ return typeof a == "number" && typeof o == "number" && Ie(s) && !En(s) && !On(s) ? {
1239
1239
  dataSet: c,
1240
1240
  dataSetField: `[${a}].${s}[${o}]`,
1241
1241
  sessionId: r
1242
- } : typeof o == "number" && Ye(s) ? {
1242
+ } : typeof o == "number" && Ie(s) ? {
1243
1243
  dataSet: c,
1244
1244
  dataSetField: `${s}[${o}]`,
1245
1245
  sessionId: r
@@ -1249,7 +1249,7 @@ function xo(t, e, n, i) {
1249
1249
  sessionId: r
1250
1250
  } : {
1251
1251
  dataSet: c,
1252
- dataSetField: Ye(s) ? s : e,
1252
+ dataSetField: Ie(s) ? s : e,
1253
1253
  sessionId: r
1254
1254
  };
1255
1255
  }
@@ -1394,7 +1394,7 @@ function hn(t, e) {
1394
1394
  v && t && l();
1395
1395
  }, [v, t, l]), { options: n, loading: r, error: a, reload: l };
1396
1396
  }
1397
- const wt = (t) => {
1397
+ const At = (t) => {
1398
1398
  if (t == null || t === "") return 0;
1399
1399
  const e = Number(t);
1400
1400
  return isNaN(e) || !isFinite(e) ? 0 : e;
@@ -1412,7 +1412,7 @@ const wt = (t) => {
1412
1412
  return isNaN(e.getTime()) ? null : e;
1413
1413
  }, Do = (t, e = "CNY", n = {}) => {
1414
1414
  try {
1415
- const i = wt(t), r = /^[A-Z]{3}$/.test(e) ? e : "CNY";
1415
+ const i = At(t), r = /^[A-Z]{3}$/.test(e) ? e : "CNY";
1416
1416
  return new Intl.NumberFormat("zh-CN", {
1417
1417
  style: "currency",
1418
1418
  currency: r,
@@ -1423,7 +1423,7 @@ const wt = (t) => {
1423
1423
  }
1424
1424
  }, Co = (t, e = {}) => {
1425
1425
  try {
1426
- const n = wt(t);
1426
+ const n = At(t);
1427
1427
  return new Intl.NumberFormat("zh-CN", {
1428
1428
  minimumFractionDigits: 0,
1429
1429
  maximumFractionDigits: 2,
@@ -1434,7 +1434,7 @@ const wt = (t) => {
1434
1434
  }
1435
1435
  }, No = (t, e = 2) => {
1436
1436
  try {
1437
- const n = wt(t), i = Math.max(0, Math.min(20, Math.floor(e)));
1437
+ const n = At(t), i = Math.max(0, Math.min(20, Math.floor(e)));
1438
1438
  return new Intl.NumberFormat("zh-CN", {
1439
1439
  style: "percent",
1440
1440
  minimumFractionDigits: i,
@@ -1445,7 +1445,7 @@ const wt = (t) => {
1445
1445
  }
1446
1446
  }, To = (t, e = "compact") => {
1447
1447
  try {
1448
- const n = wt(t);
1448
+ const n = At(t);
1449
1449
  return new Intl.NumberFormat("zh-CN", {
1450
1450
  notation: e,
1451
1451
  compactDisplay: "short"
@@ -1485,7 +1485,7 @@ const wt = (t) => {
1485
1485
  }
1486
1486
  }, Oo = (t) => {
1487
1487
  try {
1488
- const e = Math.floor(wt(t));
1488
+ const e = Math.floor(At(t));
1489
1489
  if (e < 0 || e > 31536e3) return "";
1490
1490
  const n = Math.floor(e / 3600), i = Math.floor(e % 3600 / 60), r = e % 60, o = [];
1491
1491
  return n > 0 && o.push(`${n}小时`), i > 0 && o.push(`${i}分钟`), (r > 0 || o.length === 0) && o.push(`${r}秒`), o.join("");
@@ -1506,7 +1506,7 @@ const wt = (t) => {
1506
1506
  }
1507
1507
  }, Mo = (t, e = 2, n = !0) => {
1508
1508
  try {
1509
- const i = wt(t);
1509
+ const i = At(t);
1510
1510
  if (i < 0 || i > Number.MAX_SAFE_INTEGER) return "";
1511
1511
  if (i === 0) return "0 B";
1512
1512
  const r = Math.max(0, Math.min(10, Math.floor(e))), o = n ? 1024 : 1e3, a = n ? ["B", "KiB", "MiB", "GiB", "TiB", "PiB"] : ["B", "KB", "MB", "GB", "TB", "PB"], c = Math.min(
@@ -1810,13 +1810,13 @@ const Hc = ({
1810
1810
  onClick: w,
1811
1811
  children: S || s
1812
1812
  }
1813
- ), P = D ? /* @__PURE__ */ p(Hn, { title: D, children: /* @__PURE__ */ p("span", { style: { display: K ? "block" : "inline-block", width: K ? "100%" : void 0 }, children: R }) }) : R;
1814
- return k ? /* @__PURE__ */ p(Ke, { theme: k, children: P }) : P;
1813
+ ), q = D ? /* @__PURE__ */ p(Hn, { title: D, children: /* @__PURE__ */ p("span", { style: { display: K ? "block" : "inline-block", width: K ? "100%" : void 0 }, children: R }) }) : R;
1814
+ return k ? /* @__PURE__ */ p(Ke, { theme: k, children: q }) : q;
1815
1815
  }, rt = {
1816
1816
  whiteSpace: "nowrap",
1817
1817
  flex: "none"
1818
1818
  };
1819
- function Io(t) {
1819
+ function Yo(t) {
1820
1820
  const e = typeof t == "string" ? t.trim() : "";
1821
1821
  if (!e) return;
1822
1822
  const n = Ge[e];
@@ -1830,7 +1830,7 @@ function it({
1830
1830
  const n = typeof t == "string" ? t.trim() : "", i = e == null ? "" : typeof e == "string" ? e.trim() : String(e).trim();
1831
1831
  return n ? {
1832
1832
  iconConfigured: !0,
1833
- iconNode: Io(n) ?? n,
1833
+ iconNode: Yo(n) ?? n,
1834
1834
  labelText: i || void 0
1835
1835
  } : {
1836
1836
  iconConfigured: !1,
@@ -1838,7 +1838,7 @@ function it({
1838
1838
  labelText: i || void 0
1839
1839
  };
1840
1840
  }
1841
- const Yo = ["value", "validateStatus", "help"], Jo = 200;
1841
+ const Io = ["value", "validateStatus", "help"], Jo = 200;
1842
1842
  function Go(t) {
1843
1843
  if (!t) return;
1844
1844
  const e = {};
@@ -1849,7 +1849,7 @@ function Go(t) {
1849
1849
  function Qo(t, e, n) {
1850
1850
  const i = { ...t };
1851
1851
  if (e && typeof e == "object" && Object.keys(e).forEach((r) => {
1852
- !Yo.includes(r) && e[r] !== void 0 && e[r] !== null && (i[r] = e[r]);
1852
+ !Io.includes(r) && e[r] !== void 0 && e[r] !== null && (i[r] = e[r]);
1853
1853
  }), n.develop) {
1854
1854
  const r = i.disabled;
1855
1855
  i.disabled = !1, i.readOnly = !0, r && (i.className = `${i.className || ""} ant-input-disabled`.trim());
@@ -1878,11 +1878,11 @@ const pr = (t) => {
1878
1878
  clearAction: A,
1879
1879
  bordered: x,
1880
1880
  ...C
1881
- } = t, w = ot(r, o, n), S = w.dataSet, D = w.dataSetField, E = w.sessionId, k = Qe(Pe), N = a ?? (k == null ? void 0 : k.index), T = k == null ? void 0 : k.parentIndex, M = Re(""), j = Re(null), O = _((Z) => Z.addCommand), V = _((Z) => Z.getDataSet), B = _((Z) => Z.setDataSet), K = _((Z) => Z.getProps), R = _((Z) => Z.setProps), P = _((Z) => Z.setValidateResult), L = f(
1881
+ } = t, w = ot(r, o, n), S = w.dataSet, D = w.dataSetField, E = w.sessionId, k = Qe(Pe), N = a ?? (k == null ? void 0 : k.index), T = k == null ? void 0 : k.parentIndex, M = Re(""), j = Re(null), O = _((Z) => Z.addCommand), V = _((Z) => Z.getDataSet), B = _((Z) => Z.setDataSet), K = _((Z) => Z.getProps), R = _((Z) => Z.setProps), q = _((Z) => Z.setValidateResult), L = f(
1882
1882
  () => le(E, S),
1883
1883
  [E, S]
1884
1884
  ), $ = f(
1885
- () => E ? Ot(e, k, a) : null,
1885
+ () => E ? wt(e, k, a) : null,
1886
1886
  [E, e, k == null ? void 0 : k.parentIndex, k == null ? void 0 : k.index, a]
1887
1887
  ), F = _(
1888
1888
  (Z) => {
@@ -1890,14 +1890,14 @@ const pr = (t) => {
1890
1890
  return $ ? ((ce = Z.propsStore[`${E}_props`]) == null ? void 0 : ce[$]) ?? null : null;
1891
1891
  }
1892
1892
  ), U = f(
1893
- () => Nt(E, S),
1893
+ () => Tt(E, S),
1894
1894
  [E, S]
1895
1895
  ), G = _(
1896
1896
  (Z) => {
1897
1897
  var ce;
1898
1898
  return U && D ? ((ce = Z.validateStore[U]) == null ? void 0 : ce[D]) ?? "" : "";
1899
1899
  }
1900
- ), Y = _(
1900
+ ), I = _(
1901
1901
  (Z) => L && D ? Z.getDataSet(L, D) : void 0
1902
1902
  ), de = f(
1903
1903
  () => S ? le(E, `${S}_validateAction`) : void 0,
@@ -1907,7 +1907,7 @@ const pr = (t) => {
1907
1907
  var ce;
1908
1908
  return de ? (ce = Z.dataSets[de]) == null ? void 0 : ce.validate : void 0;
1909
1909
  }
1910
- ), J = f(() => Y !== void 0 ? Y : (F == null ? void 0 : F.value) !== void 0 ? F.value : d, [Y, F == null ? void 0 : F.value, d]), se = f(
1910
+ ), J = f(() => I !== void 0 ? I : (F == null ? void 0 : F.value) !== void 0 ? F.value : d, [I, F == null ? void 0 : F.value, d]), se = f(
1911
1911
  () => Qo(C, F ?? null, { develop: i }),
1912
1912
  [C, F, i]
1913
1913
  ), {
@@ -1917,7 +1917,7 @@ const pr = (t) => {
1917
1917
  suffixAddonText: re,
1918
1918
  inputMergedProps: te
1919
1919
  } = f(() => {
1920
- const Z = se, ce = Z.prefix, I = Z.suffix, W = Z.addonBefore, ue = Z.addonAfter, {
1920
+ const Z = se, ce = Z.prefix, Y = Z.suffix, P = Z.addonBefore, ue = Z.addonAfter, {
1921
1921
  prefix: be,
1922
1922
  suffix: De,
1923
1923
  addonBefore: Te,
@@ -1925,9 +1925,9 @@ const pr = (t) => {
1925
1925
  ...We
1926
1926
  } = Z, Ue = it({
1927
1927
  iconName: ce == null ? void 0 : String(ce),
1928
- label: W == null ? void 0 : String(W)
1928
+ label: P == null ? void 0 : String(P)
1929
1929
  }), Xe = it({
1930
- iconName: I == null ? void 0 : String(I),
1930
+ iconName: Y == null ? void 0 : String(Y),
1931
1931
  label: ue == null ? void 0 : String(ue)
1932
1932
  });
1933
1933
  return {
@@ -1937,18 +1937,18 @@ const pr = (t) => {
1937
1937
  suffixAddonText: Xe.iconConfigured ? void 0 : Xe.labelText,
1938
1938
  inputMergedProps: We
1939
1939
  };
1940
- }, [se]), q = z(
1940
+ }, [se]), W = z(
1941
1941
  (Z) => {
1942
1942
  const ce = Z ?? "";
1943
- if (E && S && D && P(
1943
+ if (E && S && D && q(
1944
1944
  E,
1945
1945
  S,
1946
1946
  D,
1947
1947
  ce
1948
1948
  ), E && $) {
1949
- const I = K(E, $) || {};
1949
+ const Y = K(E, $) || {};
1950
1950
  R(E, $, {
1951
- ...I,
1951
+ ...Y,
1952
1952
  validateStatus: ce ? "error" : void 0,
1953
1953
  help: ce
1954
1954
  });
@@ -1959,7 +1959,7 @@ const pr = (t) => {
1959
1959
  S,
1960
1960
  D,
1961
1961
  $,
1962
- P,
1962
+ q,
1963
1963
  K,
1964
1964
  R
1965
1965
  ]
@@ -1969,14 +1969,14 @@ const pr = (t) => {
1969
1969
  fr(
1970
1970
  ce,
1971
1971
  Z,
1972
- () => q(""),
1973
- (I) => {
1974
- var W;
1975
- return q(((W = I[0]) == null ? void 0 : W.message) ?? "");
1972
+ () => W(""),
1973
+ (Y) => {
1974
+ var P;
1975
+ return W(((P = Y[0]) == null ? void 0 : P.message) ?? "");
1976
1976
  }
1977
1977
  );
1978
1978
  },
1979
- [m, q]
1979
+ [m, W]
1980
1980
  ), Ce = z(
1981
1981
  (Z) => {
1982
1982
  const ce = Z.target.value;
@@ -1985,7 +1985,7 @@ const pr = (t) => {
1985
1985
  return;
1986
1986
  }
1987
1987
  if (L && D && B(L, D, ce), c && E) {
1988
- const { actionName: I, arg: W } = ke(c, ce, {
1988
+ const { actionName: Y, arg: P } = ke(c, ce, {
1989
1989
  id: e,
1990
1990
  dataSet: S,
1991
1991
  dataSetField: D,
@@ -1993,7 +1993,7 @@ const pr = (t) => {
1993
1993
  parentIndex: T,
1994
1994
  ...te
1995
1995
  });
1996
- O(E, oe(I, W));
1996
+ O(E, oe(Y, P));
1997
1997
  }
1998
1998
  b && (j.current && clearTimeout(j.current), j.current = setTimeout(() => {
1999
1999
  j.current = null, ae(ce);
@@ -2028,13 +2028,13 @@ const pr = (t) => {
2028
2028
  ae
2029
2029
  ]), pe = z(
2030
2030
  (Z) => {
2031
- const I = te.onPressEnter;
2032
- if (I) {
2033
- I(Z);
2031
+ const Y = te.onPressEnter;
2032
+ if (Y) {
2033
+ Y(Z);
2034
2034
  return;
2035
2035
  }
2036
2036
  if (u && E) {
2037
- const { actionName: W, arg: ue } = ke(u, J, {
2037
+ const { actionName: P, arg: ue } = ke(u, J, {
2038
2038
  id: e,
2039
2039
  dataSet: S,
2040
2040
  dataSetField: D,
@@ -2042,7 +2042,7 @@ const pr = (t) => {
2042
2042
  parentIndex: T,
2043
2043
  ...te
2044
2044
  });
2045
- O(E, oe(W, ue));
2045
+ O(E, oe(P, ue));
2046
2046
  }
2047
2047
  },
2048
2048
  [
@@ -2064,7 +2064,7 @@ const pr = (t) => {
2064
2064
  return;
2065
2065
  }
2066
2066
  if (A && E) {
2067
- const { actionName: I, arg: W } = ke(A, "", {
2067
+ const { actionName: Y, arg: P } = ke(A, "", {
2068
2068
  id: e,
2069
2069
  dataSet: S,
2070
2070
  dataSetField: D,
@@ -2072,7 +2072,7 @@ const pr = (t) => {
2072
2072
  parentIndex: T,
2073
2073
  ...te
2074
2074
  });
2075
- O(E, oe(I, W));
2075
+ O(E, oe(Y, P));
2076
2076
  }
2077
2077
  }, [
2078
2078
  te,
@@ -2124,7 +2124,7 @@ const pr = (t) => {
2124
2124
  return ee ? /* @__PURE__ */ p(Ke, { theme: ee, children: H }) : H;
2125
2125
  };
2126
2126
  pr.displayName = "AndInput";
2127
- const Uc = Le.memo(pr), $n = 200, Ic = ({
2127
+ const Uc = Le.memo(pr), $n = 200, Yc = ({
2128
2128
  id: t,
2129
2129
  sessionId: e,
2130
2130
  develop: n,
@@ -2148,8 +2148,8 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2148
2148
  [C, A]
2149
2149
  ), k = _(
2150
2150
  (te) => {
2151
- var q;
2152
- return C && t ? ((q = te.propsStore[`${C}_props`]) == null ? void 0 : q[t]) ?? null : null;
2151
+ var W;
2152
+ return C && t ? ((W = te.propsStore[`${C}_props`]) == null ? void 0 : W[t]) ?? null : null;
2153
2153
  }
2154
2154
  ), N = _(
2155
2155
  (te) => E && x ? te.getDataSet(E, x) : void 0
@@ -2161,8 +2161,8 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2161
2161
  id: t,
2162
2162
  develop: n
2163
2163
  }), j = f(() => N !== void 0 ? N : (k == null ? void 0 : k.value) !== void 0 ? k.value : l, [N, k == null ? void 0 : k.value, l]), O = z(
2164
- (te, q, ae) => {
2165
- te && e && w(e, oe(te, { type: q, value: ae }));
2164
+ (te, W, ae) => {
2165
+ te && e && w(e, oe(te, { type: W, value: ae }));
2166
2166
  },
2167
2167
  [e, w]
2168
2168
  ), V = z(
@@ -2194,12 +2194,12 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2194
2194
  return;
2195
2195
  }
2196
2196
  if (d && C) {
2197
- const { actionName: q, arg: ae } = ke(d, j, {
2197
+ const { actionName: W, arg: ae } = ke(d, j, {
2198
2198
  id: t,
2199
2199
  dataSet: A,
2200
2200
  dataSetField: x
2201
2201
  });
2202
- w(C, oe(q, ae));
2202
+ w(C, oe(W, ae));
2203
2203
  }
2204
2204
  },
2205
2205
  [
@@ -2220,12 +2220,12 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2220
2220
  if (E && x && S(E, x, null), c && (D.current && clearTimeout(D.current), D.current = setTimeout(() => {
2221
2221
  D.current = null, T(null);
2222
2222
  }, $n)), O(s, "change", null), v && C) {
2223
- const { actionName: te, arg: q } = ke(v, null, {
2223
+ const { actionName: te, arg: W } = ke(v, null, {
2224
2224
  id: t,
2225
2225
  dataSet: A,
2226
2226
  dataSetField: x
2227
2227
  });
2228
- w(C, oe(te, q));
2228
+ w(C, oe(te, W));
2229
2229
  }
2230
2230
  }, [
2231
2231
  b,
@@ -2242,9 +2242,9 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2242
2242
  A,
2243
2243
  x,
2244
2244
  w
2245
- ]), P = z(
2246
- (te, q) => {
2247
- O(m, "step", { value: te, type: q.type });
2245
+ ]), q = z(
2246
+ (te, W) => {
2247
+ O(m, "step", { value: te, type: W.type });
2248
2248
  },
2249
2249
  [m, O]
2250
2250
  );
@@ -2264,7 +2264,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2264
2264
  suffix: F,
2265
2265
  addonBefore: U,
2266
2266
  addonAfter: G,
2267
- style: Y,
2267
+ style: I,
2268
2268
  ...de
2269
2269
  } = L, fe = f(
2270
2270
  () => it({
@@ -2280,7 +2280,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2280
2280
  [F, G]
2281
2281
  ), se = fe.iconNode, me = J.iconNode, X = fe.iconConfigured ? void 0 : fe.labelText, ie = J.iconConfigured ? void 0 : J.labelText, re = f(() => {
2282
2282
  if (!(h && j !== null && j !== void 0)) return me;
2283
- const q = /* @__PURE__ */ p(
2283
+ const W = /* @__PURE__ */ p(
2284
2284
  "span",
2285
2285
  {
2286
2286
  role: "button",
@@ -2293,9 +2293,9 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2293
2293
  children: /* @__PURE__ */ p(gi, {})
2294
2294
  }
2295
2295
  );
2296
- return me == null || me === !1 ? q : /* @__PURE__ */ ye(St, { children: [
2296
+ return me == null || me === !1 ? W : /* @__PURE__ */ ye(St, { children: [
2297
2297
  me,
2298
- q
2298
+ W
2299
2299
  ] });
2300
2300
  }, [h, j, me, R]);
2301
2301
  return /* @__PURE__ */ ye("div", { style: { width: "100%" }, children: [
@@ -2315,17 +2315,17 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2315
2315
  onChange: V,
2316
2316
  onBlur: B,
2317
2317
  onPressEnter: K,
2318
- onStep: P,
2318
+ onStep: q,
2319
2319
  suffix: re,
2320
2320
  status: M ? "error" : void 0,
2321
- style: { width: "100%", ...Y }
2321
+ style: { width: "100%", ...I }
2322
2322
  }
2323
2323
  ),
2324
2324
  ie ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: ie }) : null
2325
2325
  ] }),
2326
2326
  M && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: M })
2327
2327
  ] });
2328
- }, { TextArea: Mn } = qt, Zo = 200, Yc = ({
2328
+ }, { TextArea: Mn } = qt, Zo = 200, Ic = ({
2329
2329
  id: t,
2330
2330
  sessionId: e,
2331
2331
  develop: n,
@@ -2347,7 +2347,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2347
2347
  () => le(x, u),
2348
2348
  [x, u]
2349
2349
  ), T = f(
2350
- () => x ? Ot(t, D, y) : null,
2350
+ () => x ? wt(t, D, y) : null,
2351
2351
  [x, t, D == null ? void 0 : D.parentIndex, D == null ? void 0 : D.index, y]
2352
2352
  ), M = _(
2353
2353
  (J) => {
@@ -2366,7 +2366,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2366
2366
  }), B = f(() => j !== void 0 ? j : (M == null ? void 0 : M.value) !== void 0 ? M.value : m ?? b, [j, M == null ? void 0 : M.value, m, b]), K = f(
2367
2367
  () => Fe(l, M ?? void 0),
2368
2368
  [l, M]
2369
- ), { leftAddonNode: R, rightAddonNode: P, inputRest: L } = f(() => {
2369
+ ), { leftAddonNode: R, rightAddonNode: q, inputRest: L } = f(() => {
2370
2370
  const J = K, {
2371
2371
  prefix: se,
2372
2372
  suffix: me,
@@ -2376,16 +2376,16 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2376
2376
  } = J, te = it({
2377
2377
  iconName: se == null ? void 0 : String(se),
2378
2378
  label: X == null ? void 0 : String(X)
2379
- }), q = it({
2379
+ }), W = it({
2380
2380
  iconName: me == null ? void 0 : String(me),
2381
2381
  label: ie == null ? void 0 : String(ie)
2382
2382
  });
2383
2383
  return {
2384
2384
  leftAddonNode: te.iconNode ?? te.labelText,
2385
- rightAddonNode: q.iconNode ?? q.labelText,
2385
+ rightAddonNode: W.iconNode ?? W.labelText,
2386
2386
  inputRest: re
2387
2387
  };
2388
- }, [K]), $ = f(() => R != null && R !== !1 || P != null && P !== !1, [R, P]), F = z(
2388
+ }, [K]), $ = f(() => R != null && R !== !1 || q != null && q !== !1, [R, q]), F = z(
2389
2389
  (J) => {
2390
2390
  const se = J.target.value;
2391
2391
  if (h) {
@@ -2452,7 +2452,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2452
2452
  k,
2453
2453
  C
2454
2454
  ]
2455
- ), Y = z(() => {
2455
+ ), I = z(() => {
2456
2456
  const J = L.onClear;
2457
2457
  if (J) {
2458
2458
  J();
@@ -2492,7 +2492,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2492
2492
  onChange: F,
2493
2493
  onBlur: U,
2494
2494
  onPressEnter: G,
2495
- onClear: Y,
2495
+ onClear: I,
2496
2496
  status: V ? "error" : void 0,
2497
2497
  style: {
2498
2498
  ...L.style || {},
@@ -2501,7 +2501,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2501
2501
  }, fe = $ ? /* @__PURE__ */ ye(_e.Compact, { style: { width: "100%", display: "flex" }, children: [
2502
2502
  R != null && R !== !1 ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: R }) : null,
2503
2503
  /* @__PURE__ */ p(Mn, { ...de }),
2504
- P != null && P !== !1 ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: P }) : null
2504
+ q != null && q !== !1 ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: q }) : null
2505
2505
  ] }) : /* @__PURE__ */ p(Mn, { ...de });
2506
2506
  return /* @__PURE__ */ ye("div", { style: { width: "100%" }, children: [
2507
2507
  fe,
@@ -2529,8 +2529,8 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2529
2529
  [e, i]
2530
2530
  ), x = _(
2531
2531
  (R) => {
2532
- var P;
2533
- return e && t ? ((P = R.propsStore[`${e}_props`]) == null ? void 0 : P[t]) ?? null : null;
2532
+ var q;
2533
+ return e && t ? ((q = R.propsStore[`${e}_props`]) == null ? void 0 : q[t]) ?? null : null;
2534
2534
  }
2535
2535
  ), C = _(
2536
2536
  (R) => A && r ? R.getDataSet(A, r) : void 0
@@ -2546,34 +2546,34 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2546
2546
  [y, x]
2547
2547
  ), { prefixIconNode: k, suffixIconNode: N, prefixAddonText: T, suffixAddonText: M, inputRest: j } = f(() => {
2548
2548
  const R = E, {
2549
- prefix: P,
2549
+ prefix: q,
2550
2550
  suffix: L,
2551
2551
  addonBefore: $,
2552
2552
  addonAfter: F,
2553
2553
  ...U
2554
2554
  } = R, G = it({
2555
- iconName: P == null ? void 0 : String(P),
2555
+ iconName: q == null ? void 0 : String(q),
2556
2556
  label: $ == null ? void 0 : String($)
2557
- }), Y = it({
2557
+ }), I = it({
2558
2558
  iconName: L == null ? void 0 : String(L),
2559
2559
  label: F == null ? void 0 : String(F)
2560
2560
  });
2561
2561
  return {
2562
2562
  prefixIconNode: G.iconNode,
2563
- suffixIconNode: Y.iconNode,
2563
+ suffixIconNode: I.iconNode,
2564
2564
  prefixAddonText: G.iconConfigured ? void 0 : G.labelText,
2565
- suffixAddonText: Y.iconConfigured ? void 0 : Y.labelText,
2565
+ suffixAddonText: I.iconConfigured ? void 0 : I.labelText,
2566
2566
  inputRest: U
2567
2567
  };
2568
2568
  }, [E]), O = z(
2569
2569
  (R) => {
2570
- const P = R.target.value;
2570
+ const q = R.target.value;
2571
2571
  if (h) {
2572
- h(P, R);
2572
+ h(q, R);
2573
2573
  return;
2574
2574
  }
2575
- if (A && r && g(A, r, P), s && e) {
2576
- const { actionName: L, arg: $ } = ke(s, P, {
2575
+ if (A && r && g(A, r, q), s && e) {
2576
+ const { actionName: L, arg: $ } = ke(s, q, {
2577
2577
  id: t,
2578
2578
  dataSet: i,
2579
2579
  dataSetField: r
@@ -2581,7 +2581,7 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2581
2581
  l(e, oe(L, $));
2582
2582
  }
2583
2583
  c && (u.current && clearTimeout(u.current), u.current = setTimeout(() => {
2584
- u.current = null, w(P);
2584
+ u.current = null, w(q);
2585
2585
  }, ea));
2586
2586
  },
2587
2587
  [
@@ -2600,9 +2600,9 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2600
2600
  a && w(D);
2601
2601
  }, [a, w, D]), B = z(
2602
2602
  (R) => {
2603
- const P = j.onPressEnter;
2604
- if (P) {
2605
- P(R);
2603
+ const q = j.onPressEnter;
2604
+ if (q) {
2605
+ q(R);
2606
2606
  return;
2607
2607
  }
2608
2608
  if (d && e) {
@@ -2631,12 +2631,12 @@ const Uc = Le.memo(pr), $n = 200, Ic = ({
2631
2631
  return;
2632
2632
  }
2633
2633
  if (v && e) {
2634
- const { actionName: P, arg: L } = ke(v, "", {
2634
+ const { actionName: q, arg: L } = ke(v, "", {
2635
2635
  id: t,
2636
2636
  dataSet: i,
2637
2637
  dataSetField: r
2638
2638
  });
2639
- l(e, oe(P, L));
2639
+ l(e, oe(q, L));
2640
2640
  }
2641
2641
  }, [j, v, e, t, i, r, l]);
2642
2642
  return Ne(
@@ -2835,8 +2835,8 @@ const Qc = ({
2835
2835
  const k = ot(i, r, e), N = k.dataSet, T = k.dataSetField, M = k.sessionId, j = _((pe) => pe.addCommand), O = _((pe) => pe.setDataSet), V = Re(null), B = Qe(Pe), K = f(
2836
2836
  () => le(M, N),
2837
2837
  [M, N]
2838
- ), R = g ?? (B == null ? void 0 : B.index), P = B == null ? void 0 : B.parentIndex, L = f(
2839
- () => M ? Ot(t, B, g) : null,
2838
+ ), R = g ?? (B == null ? void 0 : B.index), q = B == null ? void 0 : B.parentIndex, L = f(
2839
+ () => M ? wt(t, B, g) : null,
2840
2840
  [M, t, B == null ? void 0 : B.parentIndex, B == null ? void 0 : B.index, g]
2841
2841
  ), $ = _(
2842
2842
  (pe) => {
@@ -2848,7 +2848,7 @@ const Qc = ({
2848
2848
  ), U = f(
2849
2849
  () => ($ == null ? void 0 : $.optionsCfg) != null ? $.optionsCfg : c,
2850
2850
  [$ == null ? void 0 : $.optionsCfg, c]
2851
- ), { options: G, loading: Y } = $t(
2851
+ ), { options: G, loading: I } = $t(
2852
2852
  S || (o ? a : void 0)
2853
2853
  ), { options: de, loading: fe } = hn(
2854
2854
  U == null ? void 0 : U.url,
@@ -2859,7 +2859,7 @@ const Qc = ({
2859
2859
  params: U == null ? void 0 : U.params,
2860
2860
  field: U == null ? void 0 : U.field
2861
2861
  }
2862
- ), J = Y || fe, { validate: se, help: me } = ze({
2862
+ ), J = I || fe, { validate: se, help: me } = ze({
2863
2863
  rules: s,
2864
2864
  dataSet: N,
2865
2865
  dataSetField: T,
@@ -2878,7 +2878,7 @@ const Qc = ({
2878
2878
  });
2879
2879
  const pe = nt(re, X);
2880
2880
  return (pe == null ? void 0 : pe.value) ?? X;
2881
- }, [X, re]), q = T ? `${T}${ra}` : "", ae = z(
2881
+ }, [X, re]), W = T ? `${T}${ra}` : "", ae = z(
2882
2882
  (pe, Ae) => {
2883
2883
  if (m) {
2884
2884
  m(pe, Ae);
@@ -2893,7 +2893,7 @@ const Qc = ({
2893
2893
  ie.labelInValue,
2894
2894
  ie.mode
2895
2895
  );
2896
- O(K, q, ge);
2896
+ O(K, W, ge);
2897
2897
  }
2898
2898
  if (v && (V.current && clearTimeout(V.current), V.current = setTimeout(() => {
2899
2899
  V.current = null, se(pe);
@@ -2903,7 +2903,7 @@ const Qc = ({
2903
2903
  dataSet: N,
2904
2904
  dataSetField: T,
2905
2905
  index: R,
2906
- parentIndex: P
2906
+ parentIndex: q
2907
2907
  });
2908
2908
  j(M, oe(ge, ee));
2909
2909
  }
@@ -2921,29 +2921,29 @@ const Qc = ({
2921
2921
  N,
2922
2922
  T,
2923
2923
  R,
2924
- P,
2924
+ q,
2925
2925
  j,
2926
2926
  re,
2927
2927
  ie.labelInValue,
2928
2928
  ie.mode,
2929
- q
2929
+ W
2930
2930
  ]
2931
2931
  );
2932
2932
  Ne(() => {
2933
- if (m || !K || !T || !q) return;
2933
+ if (m || !K || !T || !W) return;
2934
2934
  const pe = Rn(
2935
2935
  X,
2936
2936
  void 0,
2937
2937
  re,
2938
2938
  ie.labelInValue,
2939
2939
  ie.mode
2940
- ), Ae = _.getState().getDataSet(K, q);
2941
- ia(Ae, pe) || O(K, q, pe);
2940
+ ), Ae = _.getState().getDataSet(K, W);
2941
+ ia(Ae, pe) || O(K, W, pe);
2942
2942
  }, [
2943
2943
  m,
2944
2944
  K,
2945
2945
  T,
2946
- q,
2946
+ W,
2947
2947
  X,
2948
2948
  re,
2949
2949
  ie.labelInValue,
@@ -2962,7 +2962,7 @@ const Qc = ({
2962
2962
  const ve = z((pe, Ae) => ((Ae == null ? void 0 : Ae.label) ?? "").toLowerCase().includes(pe.toLowerCase()), []);
2963
2963
  return /* @__PURE__ */ ye("div", { style: { width: "100%" }, children: [
2964
2964
  /* @__PURE__ */ p(
2965
- In,
2965
+ Yn,
2966
2966
  {
2967
2967
  ...ie,
2968
2968
  disabled: n ? !1 : ie.disabled,
@@ -3132,7 +3132,7 @@ const Qc = ({
3132
3132
  );
3133
3133
  return /* @__PURE__ */ ye("div", { onBlur: E, style: { display: "flex" }, children: [
3134
3134
  /* @__PURE__ */ p(
3135
- Yn,
3135
+ In,
3136
3136
  {
3137
3137
  ...k,
3138
3138
  disabled: n ? !1 : k.disabled,
@@ -3209,7 +3209,7 @@ const Qc = ({
3209
3209
  ),
3210
3210
  C && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: "12px", marginTop: "4px" }, children: C })
3211
3211
  ] });
3212
- }, { RangePicker: oa } = Yn, ts = ({
3212
+ }, { RangePicker: oa } = In, ts = ({
3213
3213
  id: t,
3214
3214
  sessionId: e,
3215
3215
  develop: n,
@@ -3313,7 +3313,7 @@ const Qc = ({
3313
3313
  () => le(E, S),
3314
3314
  [E, S]
3315
3315
  ), V = f(
3316
- () => E ? Ot(t, T, u) : null,
3316
+ () => E ? wt(t, T, u) : null,
3317
3317
  [E, t, T == null ? void 0 : T.parentIndex, T == null ? void 0 : T.index, u]
3318
3318
  ), B = _(
3319
3319
  (J) => {
@@ -3322,7 +3322,7 @@ const Qc = ({
3322
3322
  }
3323
3323
  ), K = _(
3324
3324
  (J) => O && D ? J.getDataSet(O, D) : void 0
3325
- ), { validate: R, help: P } = ze({
3325
+ ), { validate: R, help: q } = ze({
3326
3326
  rules: v,
3327
3327
  dataSet: S,
3328
3328
  dataSetField: D,
@@ -3340,7 +3340,7 @@ const Qc = ({
3340
3340
  if (U.length === 0) return L;
3341
3341
  const J = nt(U, L);
3342
3342
  return (J == null ? void 0 : J.value) ?? L;
3343
- }, [L, U]), Y = f(
3343
+ }, [L, U]), I = f(
3344
3344
  () => Fe(C, B ?? void 0),
3345
3345
  [C, B]
3346
3346
  ), de = z(
@@ -3382,25 +3382,25 @@ const Qc = ({
3382
3382
  }, [h, R, G]);
3383
3383
  return /* @__PURE__ */ ye("div", { onBlur: fe, children: [
3384
3384
  /* @__PURE__ */ p(
3385
- It.Group,
3385
+ Yt.Group,
3386
3386
  {
3387
- ...Y,
3388
- disabled: n ? !1 : Y.disabled,
3387
+ ...I,
3388
+ disabled: n ? !1 : I.disabled,
3389
3389
  value: G,
3390
3390
  onChange: de,
3391
3391
  buttonStyle: (B == null ? void 0 : B.buttonStyle) ?? s,
3392
3392
  optionType: (B == null ? void 0 : B.optionType) ?? d,
3393
- children: d === "button" ? U.map((J) => /* @__PURE__ */ p(It.Button, { value: J.value, disabled: J.disabled, children: J.label }, J.value)) : /* @__PURE__ */ p(
3393
+ children: d === "button" ? U.map((J) => /* @__PURE__ */ p(Yt.Button, { value: J.value, disabled: J.disabled, children: J.label }, J.value)) : /* @__PURE__ */ p(
3394
3394
  _e,
3395
3395
  {
3396
3396
  orientation: (B == null ? void 0 : B.direction) ?? A ?? "horizontal",
3397
3397
  wrap: !0,
3398
- children: U.map((J) => /* @__PURE__ */ p(It, { value: J.value, disabled: J.disabled, children: J.label }, J.value))
3398
+ children: U.map((J) => /* @__PURE__ */ p(Yt, { value: J.value, disabled: J.disabled, children: J.label }, J.value))
3399
3399
  }
3400
3400
  )
3401
3401
  }
3402
3402
  ),
3403
- P && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: P })
3403
+ q && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: q })
3404
3404
  ] });
3405
3405
  }, rs = ({
3406
3406
  id: t,
@@ -3432,14 +3432,14 @@ const Qc = ({
3432
3432
  () => le(N, E),
3433
3433
  [N, E]
3434
3434
  ), K = f(
3435
- () => N ? Ot(t, j, x) : null,
3435
+ () => N ? wt(t, j, x) : null,
3436
3436
  [N, t, j == null ? void 0 : j.parentIndex, j == null ? void 0 : j.index, x]
3437
3437
  ), R = _(
3438
3438
  (re) => {
3439
3439
  var te;
3440
3440
  return K ? ((te = re.propsStore[`${N}_props`]) == null ? void 0 : te[K]) ?? null : null;
3441
3441
  }
3442
- ), P = _(
3442
+ ), q = _(
3443
3443
  (re) => B && k ? re.getDataSet(B, k) : void 0
3444
3444
  ), { validate: L, help: $ } = ze({
3445
3445
  rules: d,
@@ -3457,15 +3457,15 @@ const Qc = ({
3457
3457
  }
3458
3458
  ), G = f(() => {
3459
3459
  if (!c)
3460
- return P !== void 0 ? !!P : (R == null ? void 0 : R.checked) !== void 0 ? R.checked : y ?? g;
3461
- }, [c, P, R == null ? void 0 : R.checked, y, g]), Y = f(() => R != null && R.options ? R.options : a != null && a.url && U.length > 0 ? U : A && F.length > 0 ? F : o, [R == null ? void 0 : R.options, a == null ? void 0 : a.url, U, A, F, o]), de = f(() => {
3460
+ return q !== void 0 ? !!q : (R == null ? void 0 : R.checked) !== void 0 ? R.checked : y ?? g;
3461
+ }, [c, q, R == null ? void 0 : R.checked, y, g]), I = f(() => R != null && R.options ? R.options : a != null && a.url && U.length > 0 ? U : A && F.length > 0 ? F : o, [R == null ? void 0 : R.options, a == null ? void 0 : a.url, U, A, F, o]), de = f(() => {
3462
3462
  if (!c) return [];
3463
3463
  let re = [];
3464
- return Array.isArray(P) ? re = P : Array.isArray(R == null ? void 0 : R.values) ? re = R.values : re = l || [], Y.length === 0 ? re : re.map((te) => {
3465
- var q;
3466
- return ((q = nt(Y, te)) == null ? void 0 : q.value) ?? te;
3464
+ return Array.isArray(q) ? re = q : Array.isArray(R == null ? void 0 : R.values) ? re = R.values : re = l || [], I.length === 0 ? re : re.map((te) => {
3465
+ var W;
3466
+ return ((W = nt(I, te)) == null ? void 0 : W.value) ?? te;
3467
3467
  });
3468
- }, [c, P, R == null ? void 0 : R.values, l, Y]), fe = f(
3468
+ }, [c, q, R == null ? void 0 : R.values, l, I]), fe = f(
3469
3469
  () => Fe(S, R ?? void 0, { skipKeys: ["value", "help", "validateStatus", "checked", "values", "options"] }),
3470
3470
  [S, R]
3471
3471
  ), se = (fe.direction ?? C) === "vertical" ? "vertical" : "horizontal", me = z((re) => {
@@ -3475,12 +3475,12 @@ const Qc = ({
3475
3475
  return;
3476
3476
  }
3477
3477
  if (B && k && M(B, k, te), h && L(te), s && N) {
3478
- const { actionName: q, arg: ae } = ke(s, te, {
3478
+ const { actionName: W, arg: ae } = ke(s, te, {
3479
3479
  id: t,
3480
3480
  dataSet: E,
3481
3481
  dataSetField: k
3482
3482
  }), Ce = typeof ae == "object" && ae !== null ? { ...ae, index: O, parentIndex: V } : ae;
3483
- T(N, oe(q, Ce));
3483
+ T(N, oe(W, Ce));
3484
3484
  }
3485
3485
  }, [
3486
3486
  m,
@@ -3502,11 +3502,11 @@ const Qc = ({
3502
3502
  return;
3503
3503
  }
3504
3504
  if (B && k && M(B, k, re), h && L(re), s && N) {
3505
- const { actionName: te, arg: q } = ke(s, re, {
3505
+ const { actionName: te, arg: W } = ke(s, re, {
3506
3506
  id: t,
3507
3507
  dataSet: E,
3508
3508
  dataSetField: k
3509
- }), ae = typeof q == "object" && q !== null ? { ...q, index: O, parentIndex: V } : q;
3509
+ }), ae = typeof W == "object" && W !== null ? { ...W, index: O, parentIndex: V } : W;
3510
3510
  T(N, oe(te, ae));
3511
3511
  }
3512
3512
  }, [
@@ -3526,15 +3526,15 @@ const Qc = ({
3526
3526
  ]), ie = z(() => {
3527
3527
  v && L(c ? de : G);
3528
3528
  }, [v, L, c, de, G]);
3529
- if (c && Y.length > 0) {
3530
- const { indeterminate: re, direction: te, ...q } = fe;
3529
+ if (c && I.length > 0) {
3530
+ const { indeterminate: re, direction: te, ...W } = fe;
3531
3531
  return /* @__PURE__ */ ye("div", { onBlur: ie, children: [
3532
- /* @__PURE__ */ p(bt.Group, { ...q, value: de, onChange: X, disabled: n ? !1 : fe.disabled, children: /* @__PURE__ */ p(
3532
+ /* @__PURE__ */ p(bt.Group, { ...W, value: de, onChange: X, disabled: n ? !1 : fe.disabled, children: /* @__PURE__ */ p(
3533
3533
  _e,
3534
3534
  {
3535
3535
  orientation: se,
3536
3536
  wrap: !0,
3537
- children: Y.map((ae) => /* @__PURE__ */ p(bt, { value: ae.value, disabled: ae.disabled, children: ae.label }, ae.value))
3537
+ children: I.map((ae) => /* @__PURE__ */ p(bt, { value: ae.value, disabled: ae.disabled, children: ae.label }, ae.value))
3538
3538
  }
3539
3539
  ) }),
3540
3540
  $ && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: $ })
@@ -3703,14 +3703,14 @@ const Qc = ({
3703
3703
  develop: n
3704
3704
  }), M = f(() => (o == null ? void 0 : o.url) && x.length > 0, [o == null ? void 0 : o.url, x.length]), j = f(() => {
3705
3705
  let K = E ?? b ?? m ?? [];
3706
- return typeof K == "string" ? M ? jn(K).map((P) => ca(P, x)).filter((P) => Array.isArray(P) && P.length > 0) : [K] : Bn(K) && M ? K.map((P) => jn(P)).filter((P) => Array.isArray(P) && P.length > 0) : Kn(K) && M ? K.filter((R) => Array.isArray(R) && R.length > 0) : K;
3706
+ return typeof K == "string" ? M ? jn(K).map((q) => ca(q, x)).filter((q) => Array.isArray(q) && q.length > 0) : [K] : Bn(K) && M ? K.map((q) => jn(q)).filter((q) => Array.isArray(q) && q.length > 0) : Kn(K) && M ? K.filter((R) => Array.isArray(R) && R.length > 0) : K;
3707
3707
  }, [E, b, m, M, x]), O = f(() => o != null && o.url && x.length > 0 ? x : h || [], [o == null ? void 0 : o.url, x, h]);
3708
3708
  Ne(() => {
3709
3709
  (async () => {
3710
3710
  if (o != null && o.url) {
3711
3711
  S(!0);
3712
3712
  try {
3713
- const R = await mt({ url: o.url, method: "GET" }), P = Array.isArray(R) ? R : R != null && R.data ? Array.isArray(R.data) ? R.data : R.data.list || R.data.records || [] : [], L = o.codeKey || "value", $ = o.labelKey || "label", F = o.childrenKey || "children", U = o.maxLevel || 5, G = vr(P, {
3713
+ const R = await mt({ url: o.url, method: "GET" }), q = Array.isArray(R) ? R : R != null && R.data ? Array.isArray(R.data) ? R.data : R.data.list || R.data.records || [] : [], L = o.codeKey || "value", $ = o.labelKey || "label", F = o.childrenKey || "children", U = o.maxLevel || 5, G = vr(q, {
3714
3714
  codeKey: L,
3715
3715
  labelKey: $,
3716
3716
  childrenKey: F,
@@ -3731,8 +3731,8 @@ const Qc = ({
3731
3731
  v(K, R);
3732
3732
  return;
3733
3733
  }
3734
- let P = K;
3735
- if (Bn(K) && M ? P = String(K[K.length - 1] || "") : Kn(K) && M && (P = K.map((L) => L.join(","))), D && r && u(D, r, P), s && (A.current && clearTimeout(A.current), A.current = setTimeout(() => {
3734
+ let q = K;
3735
+ if (Bn(K) && M ? q = String(K[K.length - 1] || "") : Kn(K) && M && (q = K.map((L) => L.join(","))), D && r && u(D, r, q), s && (A.current && clearTimeout(A.current), A.current = setTimeout(() => {
3736
3736
  A.current = null, k(K);
3737
3737
  }, aa)), d && e) {
3738
3738
  const { actionName: L, arg: $ } = ke(d, K, {
@@ -3808,8 +3808,8 @@ const Qc = ({
3808
3808
  [e, i]
3809
3809
  ), S = _(
3810
3810
  (R) => {
3811
- var P;
3812
- return e && t ? ((P = R.propsStore[`${e}_props`]) == null ? void 0 : P[t]) ?? null : null;
3811
+ var q;
3812
+ return e && t ? ((q = R.propsStore[`${e}_props`]) == null ? void 0 : q[t]) ?? null : null;
3813
3813
  }
3814
3814
  ), D = _(
3815
3815
  (R) => w && r ? R.getDataSet(w, r) : void 0
@@ -3827,9 +3827,9 @@ const Qc = ({
3827
3827
  () => Fe(A, S ?? void 0),
3828
3828
  [A, S]
3829
3829
  ), M = z(
3830
- (R, P, L) => {
3830
+ (R, q, L) => {
3831
3831
  if (a) {
3832
- a(R, P, L);
3832
+ a(R, q, L);
3833
3833
  return;
3834
3834
  }
3835
3835
  if (w && r && C(w, r, R), g && E(R), o && e) {
@@ -3847,8 +3847,8 @@ const Qc = ({
3847
3847
  }, [u, E, N]), O = f(() => {
3848
3848
  if (!y) return;
3849
3849
  const R = {};
3850
- return Object.entries(y).forEach(([P, L]) => {
3851
- L !== "" && L !== void 0 && L !== null && (R[P] = L);
3850
+ return Object.entries(y).forEach(([q, L]) => {
3851
+ L !== "" && L !== void 0 && L !== null && (R[q] = L);
3852
3852
  }), Object.keys(R).length > 0 ? R : void 0;
3853
3853
  }, [y]), V = f(() => {
3854
3854
  if (O)
@@ -3933,22 +3933,22 @@ const Qc = ({
3933
3933
  }, []), B = z((ee) => {
3934
3934
  const ne = Je().viewRes, Se = (H) => (H && ne ? ne(H) : H) || H;
3935
3935
  return ee.map((H) => {
3936
- var W;
3937
- const Z = ((W = H == null ? void 0 : H.response) == null ? void 0 : W.src) ?? (H == null ? void 0 : H.src) ?? (H == null ? void 0 : H.url) ?? (H == null ? void 0 : H.thumbUrl) ?? "", ce = typeof Z == "string" ? Se(Z) : Z, I = {};
3936
+ var P;
3937
+ const Z = ((P = H == null ? void 0 : H.response) == null ? void 0 : P.src) ?? (H == null ? void 0 : H.src) ?? (H == null ? void 0 : H.url) ?? (H == null ? void 0 : H.thumbUrl) ?? "", ce = typeof Z == "string" ? Se(Z) : Z, Y = {};
3938
3938
  for (const ue of Object.keys(H)) {
3939
3939
  const be = H[ue];
3940
- be instanceof File ? I[ue] = be : be && typeof be == "object" && !Array.isArray(be) ? I[ue] = { ...be } : I[ue] = be;
3940
+ be instanceof File ? Y[ue] = be : be && typeof be == "object" && !Array.isArray(be) ? Y[ue] = { ...be } : Y[ue] = be;
3941
3941
  }
3942
- return ce && typeof ce == "string" && (I.url = ce, I.thumbUrl = ce), I;
3942
+ return ce && typeof ce == "string" && (Y.url = ce, Y.thumbUrl = ce), Y;
3943
3943
  });
3944
- }, []), [K, R] = xe(null), P = f(() => {
3944
+ }, []), [K, R] = xe(null), q = f(() => {
3945
3945
  const ee = T ?? (N == null ? void 0 : N.fileList) ?? h;
3946
3946
  if (ee != null) {
3947
3947
  if (typeof ee == "string" && ee) return V([ee]);
3948
3948
  if (Array.isArray(ee))
3949
3949
  return ee.length > 0 && typeof ee[0] == "string" ? V(ee) : B(ee);
3950
3950
  }
3951
- }, [T, N == null ? void 0 : N.fileList, h, V, B]), L = K ?? P, $ = f(
3951
+ }, [T, N == null ? void 0 : N.fileList, h, V, B]), L = K ?? q, $ = f(
3952
3952
  () => Fe(A, N ?? void 0, {
3953
3953
  skipKeys: ["value", "help", "validateStatus", "fileList", "listDisplayText"]
3954
3954
  }),
@@ -3958,7 +3958,7 @@ const Qc = ({
3958
3958
  if (Je().upload)
3959
3959
  try {
3960
3960
  Z == null || Z({ percent: 30 });
3961
- const I = await yr(ne, {
3961
+ const Y = await yr(ne, {
3962
3962
  url: b,
3963
3963
  headers: {
3964
3964
  Authorization: un() ? `Bearer ${un()}` : ""
@@ -3966,9 +3966,9 @@ const Qc = ({
3966
3966
  form: l == null ? void 0 : l.form,
3967
3967
  query: l == null ? void 0 : l.query
3968
3968
  });
3969
- Z == null || Z({ percent: 100 }), Se == null || Se(I, ne);
3970
- } catch (I) {
3971
- H == null || H(I), Bt.error("上传失败");
3969
+ Z == null || Z({ percent: 100 }), Se == null || Se(Y, ne);
3970
+ } catch (Y) {
3971
+ H == null || H(Y), Bt.error("上传失败");
3972
3972
  }
3973
3973
  else
3974
3974
  H == null || H(new Error("Upload handler not configured")), Bt.warning("上传功能未配置");
@@ -4001,14 +4001,14 @@ const Qc = ({
4001
4001
  B,
4002
4002
  O
4003
4003
  ]
4004
- ), Y = z(() => {
4004
+ ), I = z(() => {
4005
4005
  s && M(L);
4006
4006
  }, [s, M, L]), de = z((ee) => {
4007
4007
  var ce;
4008
4008
  const ne = ee.url || ee.thumbUrl;
4009
4009
  if (!ne) return "";
4010
4010
  const Se = ((ce = ee.response) == null ? void 0 : ce.src) ?? (typeof ne == "string" ? ne : ""), H = Je().viewRes, Z = Se && H ? H(Se) : ne;
4011
- return String(Z).replace(/([?&])download=1(&|$)/, (I, W, ue) => ue ? W : "");
4011
+ return String(Z).replace(/([?&])download=1(&|$)/, (Y, P, ue) => ue ? P : "");
4012
4012
  }, []), fe = z((ee) => {
4013
4013
  var H, Z;
4014
4014
  const ne = ((H = ee.response) == null ? void 0 : H.src) ?? ee.name ?? "", Se = ((Z = String(ne).split(".").pop()) == null ? void 0 : Z.toLowerCase()) || "";
@@ -4026,14 +4026,14 @@ const Qc = ({
4026
4026
  const Se = L.filter((ce) => fe(ce)), H = Se.map((ce) => de(ce)).filter(Boolean), Z = Se.findIndex((ce) => (ce.uid || ce.url) === (ee.uid || ee.url));
4027
4027
  se({ url: ne, name: ee.name, urls: H, current: Z >= 0 ? Z : 0, open: !0 });
4028
4028
  } else fe(ee) || window.open(ne, "_blank");
4029
- }, [de, fe, L]), ie = !!Je().upload && !u, re = $, te = re.buttonText ?? a, q = re.listType ?? A.listType, ae = String((N == null ? void 0 : N.listDisplayText) ?? g ?? "").trim(), Ce = f(() => {
4029
+ }, [de, fe, L]), ie = !!Je().upload && !u, re = $, te = re.buttonText ?? a, W = re.listType ?? A.listType, ae = String((N == null ? void 0 : N.listDisplayText) ?? g ?? "").trim(), Ce = f(() => {
4030
4030
  const ee = re.showUploadList;
4031
- return q !== "text" || ee === !1 || !ae || !(L != null && L.length) ? L : L.map((ne) => ({ ...ne, name: ae }));
4032
- }, [L, q, re.showUploadList, ae]), ve = re.maxCount, pe = (L == null ? void 0 : L.length) ?? 0, Ae = typeof ve == "number" && pe >= ve, ge = z(
4031
+ return W !== "text" || ee === !1 || !ae || !(L != null && L.length) ? L : L.map((ne) => ({ ...ne, name: ae }));
4032
+ }, [L, W, re.showUploadList, ae]), ve = re.maxCount, pe = (L == null ? void 0 : L.length) ?? 0, Ae = typeof ve == "number" && pe >= ve, ge = z(
4033
4033
  (ee) => Ae ? (Bt.warning(`最多只能上传 ${ve} 个文件`), !1) : F(ee),
4034
4034
  [Ae, ve, F]
4035
4035
  );
4036
- return /* @__PURE__ */ ye("div", { onBlur: Y, children: [
4036
+ return /* @__PURE__ */ ye("div", { onBlur: I, children: [
4037
4037
  /* @__PURE__ */ p(
4038
4038
  Lr,
4039
4039
  {
@@ -4046,7 +4046,7 @@ const Qc = ({
4046
4046
  customRequest: ie ? U : void 0,
4047
4047
  action: ie ? void 0 : u || b,
4048
4048
  openFileDialogOnClick: !n,
4049
- children: !Ae && (m || (q === "picture-card" || q === "picture-circle" ? /* @__PURE__ */ ye("button", { style: { border: 0, background: "none" }, type: "button", children: [
4049
+ children: !Ae && (m || (W === "picture-card" || W === "picture-circle" ? /* @__PURE__ */ ye("button", { style: { border: 0, background: "none" }, type: "button", children: [
4050
4050
  /* @__PURE__ */ p(rr, {}),
4051
4051
  /* @__PURE__ */ p("div", { style: { marginTop: 8 }, children: te })
4052
4052
  ] }) : /* @__PURE__ */ p(st, { icon: /* @__PURE__ */ p(pi, {}), children: te })))
@@ -4126,8 +4126,8 @@ const Qc = ({
4126
4126
  if (b != null && b.queryApi) {
4127
4127
  S(!0);
4128
4128
  try {
4129
- const { queryApi: V, keyWordParamName: B = "keyword", valueKey: K = "value", labelKey: R = "label", fixedParams: P = [] } = b, L = {};
4130
- B && (L[B] = O), Array.isArray(P) && P.forEach((G) => {
4129
+ const { queryApi: V, keyWordParamName: B = "keyword", valueKey: K = "value", labelKey: R = "label", fixedParams: q = [] } = b, L = {};
4130
+ B && (L[B] = O), Array.isArray(q) && q.forEach((G) => {
4131
4131
  G.key && (L[G.key] = G.value);
4132
4132
  });
4133
4133
  const $ = await E(V, L);
@@ -4226,7 +4226,7 @@ const Qc = ({
4226
4226
  develop: n,
4227
4227
  children: i,
4228
4228
  ...r
4229
- }) => /* @__PURE__ */ p(Ft.Item, { ...r, children: i }), Ie = (t, e) => {
4229
+ }) => /* @__PURE__ */ p(Ft.Item, { ...r, children: i }), Ye = (t, e) => {
4230
4230
  if (t == null) return e;
4231
4231
  if (typeof t == "string")
4232
4232
  try {
@@ -4268,7 +4268,7 @@ const Qc = ({
4268
4268
  const M = _((ie) => ie.addCommand), j = _((ie) => ie.getDataSet), O = _((ie) => ie.setDataSet), V = f(
4269
4269
  () => le(e, i),
4270
4270
  [e, i]
4271
- ), B = f(() => Ie(k, {}), [k]), K = f(() => Ie(N, {}), [N]), R = f(() => Ie(y, ["源列表", "目标列表"]), [y]), P = f(() => Ie(l, [">", "<"]), [l]), L = f(() => Ie(g, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [g]), $ = f(() => Ie(m, !1), [m]), F = f(() => {
4271
+ ), B = f(() => Ye(k, {}), [k]), K = f(() => Ye(N, {}), [N]), R = f(() => Ye(y, ["源列表", "目标列表"]), [y]), q = f(() => Ye(l, [">", "<"]), [l]), L = f(() => Ye(g, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [g]), $ = f(() => Ye(m, !1), [m]), F = f(() => {
4272
4272
  if (V && r) {
4273
4273
  const ie = j(V, r);
4274
4274
  if (Array.isArray(ie)) return ie;
@@ -4278,7 +4278,7 @@ const Qc = ({
4278
4278
  const ie = j(V, `${r}.dataSource`);
4279
4279
  if (Array.isArray(ie)) return ie;
4280
4280
  }
4281
- }, [V, r, j]), G = f(() => n ? U ?? Ie(o, []) : V ? U ?? [] : Ie(o, []), [n, V, U, o]), Y = f(() => n ? F ?? Ie(a, []) : V ? F ?? [] : Ie(a, []), [n, V, F, a]), de = f(() => Ie(c, []), [c]), fe = z((ie, re, te) => {
4281
+ }, [V, r, j]), G = f(() => n ? U ?? Ye(o, []) : V ? U ?? [] : Ye(o, []), [n, V, U, o]), I = f(() => n ? F ?? Ye(a, []) : V ? F ?? [] : Ye(a, []), [n, V, F, a]), de = f(() => Ye(c, []), [c]), fe = z((ie, re, te) => {
4282
4282
  if (w) {
4283
4283
  w(ie, re, te);
4284
4284
  return;
@@ -4306,7 +4306,7 @@ const Qc = ({
4306
4306
  Fr,
4307
4307
  {
4308
4308
  dataSource: G,
4309
- targetKeys: Y,
4309
+ targetKeys: I,
4310
4310
  selectedKeys: de,
4311
4311
  disabled: s,
4312
4312
  showSearch: d,
@@ -4315,7 +4315,7 @@ const Qc = ({
4315
4315
  pagination: $,
4316
4316
  status: b || void 0,
4317
4317
  titles: R,
4318
- actions: P,
4318
+ actions: q,
4319
4319
  locale: L,
4320
4320
  onChange: fe,
4321
4321
  onSelectChange: J,
@@ -4610,7 +4610,7 @@ const Sa = (t, e, n, i) => {
4610
4610
  return i;
4611
4611
  }
4612
4612
  }), n;
4613
- }, Gt = 15, At = 10, wa = [
4613
+ }, Gt = 15, Dt = 10, wa = [
4614
4614
  { value: "small", label: "紧凑" },
4615
4615
  { value: "middle", label: "默认" },
4616
4616
  { value: "large", label: "宽松" }
@@ -4696,7 +4696,7 @@ const Qt = 420, Fn = 440, Da = ({
4696
4696
  ), N = z(
4697
4697
  ($, F) => {
4698
4698
  l((U) => {
4699
- const G = U.map((Y) => Y.key === $ ? { ...Y, fixed: F } : Y);
4699
+ const G = U.map((I) => I.key === $ ? { ...I, fixed: F } : I);
4700
4700
  return S(D(m, G)), G;
4701
4701
  });
4702
4702
  },
@@ -4704,7 +4704,7 @@ const Qt = 420, Fn = 440, Da = ({
4704
4704
  ), T = z(
4705
4705
  ($, F) => {
4706
4706
  l((U) => {
4707
- const G = U.map((Y) => Y.key === $ ? { ...Y, width: F } : Y);
4707
+ const G = U.map((I) => I.key === $ ? { ...I, width: F } : I);
4708
4708
  return S(D(m, G)), G;
4709
4709
  });
4710
4710
  },
@@ -4714,7 +4714,7 @@ const Qt = 420, Fn = 440, Da = ({
4714
4714
  l((U) => {
4715
4715
  const G = U.find((J) => J.key === $);
4716
4716
  if (!G) return U;
4717
- const Y = typeof G.width == "number" ? G.width : 80, de = Math.max(Gt, Y + F), fe = U.map((J) => J.key === $ ? { ...J, width: de } : J);
4717
+ const I = typeof G.width == "number" ? G.width : 80, de = Math.max(Gt, I + F), fe = U.map((J) => J.key === $ ? { ...J, width: de } : J);
4718
4718
  return S(D(m, fe)), fe;
4719
4719
  });
4720
4720
  },
@@ -4745,7 +4745,7 @@ const Qt = 420, Fn = 440, Da = ({
4745
4745
  w($), F.dataTransfer.effectAllowed = "move", F.dataTransfer.setData("text/plain", String($));
4746
4746
  }, R = ($) => (F) => {
4747
4747
  F.preventDefault(), F.dataTransfer.dropEffect = "move", !(C === null || C === $) && (j(C, $), w($));
4748
- }, P = () => w(null), L = e != null ? (() => {
4748
+ }, q = () => w(null), L = e != null ? (() => {
4749
4749
  let $ = e.y, F = e.x;
4750
4750
  return typeof window < "u" && (F + Qt > window.innerWidth && (F = window.innerWidth - Qt - 16), F < 16 && (F = 16), $ + Fn > window.innerHeight && ($ = Math.max(16, window.innerHeight - Fn - 16)), $ < 16 && ($ = 16)), { margin: 0, top: $, left: F };
4751
4751
  })() : void 0;
@@ -4776,7 +4776,7 @@ const Qt = 420, Fn = 440, Da = ({
4776
4776
  /* @__PURE__ */ ye(_e, { align: "center", children: [
4777
4777
  /* @__PURE__ */ p("span", { className: "and-table-column-setting-label", children: "表格" }),
4778
4778
  /* @__PURE__ */ p(
4779
- In,
4779
+ Yn,
4780
4780
  {
4781
4781
  size: "small",
4782
4782
  value: A,
@@ -4803,7 +4803,7 @@ const Qt = 420, Fn = 440, Da = ({
4803
4803
  draggable: !0,
4804
4804
  onDragStart: K(F),
4805
4805
  onDragOver: R(F),
4806
- onDragEnd: P,
4806
+ onDragEnd: q,
4807
4807
  children: [
4808
4808
  /* @__PURE__ */ p("td", { className: "and-table-column-setting-td-drag", children: /* @__PURE__ */ p("span", { className: "and-table-column-setting-drag", title: "拖动排序", children: /* @__PURE__ */ p(vi, {}) }) }),
4809
4809
  /* @__PURE__ */ ye("td", { className: "and-table-column-setting-td-name", children: [
@@ -4815,8 +4815,8 @@ const Qt = 420, Fn = 440, Da = ({
4815
4815
  "span",
4816
4816
  {
4817
4817
  className: "and-table-column-setting-fix-btn",
4818
- onClick: () => M($.key, -At),
4819
- title: `减 ${At}px`,
4818
+ onClick: () => M($.key, -Dt),
4819
+ title: `减 ${Dt}px`,
4820
4820
  children: /* @__PURE__ */ p(bi, {})
4821
4821
  }
4822
4822
  ),
@@ -4825,13 +4825,13 @@ const Qt = 420, Fn = 440, Da = ({
4825
4825
  {
4826
4826
  size: "small",
4827
4827
  min: Gt,
4828
- step: At,
4828
+ step: Dt,
4829
4829
  value: G ? void 0 : U ?? 80,
4830
4830
  placeholder: "auto",
4831
4831
  controls: !1,
4832
4832
  style: { width: 44 },
4833
- onChange: (Y) => {
4834
- Y == null || typeof Y == "string" && Y === "" ? T($.key, "auto") : T($.key, Math.max(Gt, Number(Y)));
4833
+ onChange: (I) => {
4834
+ I == null || typeof I == "string" && I === "" ? T($.key, "auto") : T($.key, Math.max(Gt, Number(I)));
4835
4835
  }
4836
4836
  }
4837
4837
  ),
@@ -4839,8 +4839,8 @@ const Qt = 420, Fn = 440, Da = ({
4839
4839
  "span",
4840
4840
  {
4841
4841
  className: "and-table-column-setting-fix-btn",
4842
- onClick: () => M($.key, At),
4843
- title: `加 ${At}px`,
4842
+ onClick: () => M($.key, Dt),
4843
+ title: `加 ${Dt}px`,
4844
4844
  children: /* @__PURE__ */ p(rr, {})
4845
4845
  }
4846
4846
  )
@@ -4931,8 +4931,8 @@ const Qt = 420, Fn = 440, Da = ({
4931
4931
  token: B,
4932
4932
  columnSettingOpenKey: K,
4933
4933
  columnSettingsKey: R,
4934
- ...P
4935
- } = r, L = _((Q) => Q.addCommand), $ = _((Q) => Q.getDataSet), F = _((Q) => Q.setDataSet), [U, G] = xe([]), Y = Re(null), [de, fe] = xe(void 0), J = z((Q, he) => {
4934
+ ...q
4935
+ } = r, L = _((Q) => Q.addCommand), $ = _((Q) => Q.getDataSet), F = _((Q) => Q.setDataSet), [U, G] = xe([]), I = Re(null), [de, fe] = xe(void 0), J = z((Q, he) => {
4936
4936
  if (Q == null) return he;
4937
4937
  if (typeof Q == "string")
4938
4938
  try {
@@ -4950,7 +4950,7 @@ const Qt = 420, Fn = 440, Da = ({
4950
4950
  columnSettings: a && n ? le(n, `${a}_columnSettings`) : void 0
4951
4951
  }),
4952
4952
  [n, a]
4953
- ), { style: ie, className: re, ...te } = P, q = f(() => {
4953
+ ), { style: ie, className: re, ...te } = q, W = f(() => {
4954
4954
  if (D) return D;
4955
4955
  let Q = te["scroll-x"], he = te["scroll-y"];
4956
4956
  if (String(Q) === "true" ? Q = !0 : String(Q) === "false" || Q === "__unset__" ? Q = void 0 : Q === "max-content" && (Q = "max-content"), (he === "" || he === null || he === void 0) && (he = void 0), Q !== void 0 || he !== void 0) return { x: Q, y: he };
@@ -4961,8 +4961,8 @@ const Qt = 420, Fn = 440, Da = ({
4961
4961
  }
4962
4962
  ), Ce = 420;
4963
4963
  nr(() => {
4964
- if (!ae || !Y.current) return;
4965
- const Q = Y.current.querySelector(".ant-table-thead") || Y.current.querySelector(".ant-table-header");
4964
+ if (!ae || !I.current) return;
4965
+ const Q = I.current.querySelector(".ant-table-thead") || I.current.querySelector(".ant-table-header");
4966
4966
  if (!Q) return;
4967
4967
  const he = Q.getBoundingClientRect();
4968
4968
  fe({
@@ -4979,9 +4979,9 @@ const Qt = 420, Fn = 440, Da = ({
4979
4979
  [ee, ge]
4980
4980
  ), Se = _(
4981
4981
  (Q) => X.pagination ? Q.dataSets[X.pagination] : void 0
4982
- ), H = f(() => X.pagination ? $(X.pagination, "") || {} : {}, [X.pagination, $, Se]), Z = f(() => !(A === !1 || typeof A == "object" && (A == null ? void 0 : A.visible) === !1), [A]), ce = ua(Y, q == null ? void 0 : q.y, Z), I = f(() => {
4982
+ ), H = f(() => X.pagination ? $(X.pagination, "") || {} : {}, [X.pagination, $, Se]), Z = f(() => !(A === !1 || typeof A == "object" && (A == null ? void 0 : A.visible) === !1), [A]), ce = ua(I, W == null ? void 0 : W.y, Z), Y = f(() => {
4983
4983
  if (!Z) return !1;
4984
- const Q = typeof A == "object" ? A : {}, he = P || {}, Me = Q.showSizeChanger ?? he["pagination-showSizeChanger"] ?? !0, Ee = Q.showQuickJumper ?? he["pagination-showQuickJumper"] ?? !1, Oe = Q.simple ?? he["pagination-simple"] ?? !1, Ve = Q.defaultPageSize ?? he["pagination-defaultPageSize"] ?? 10, et = Q.pageSizeOptions ?? he["pagination-pageSizeOptions"] ?? "10,20,50,100", Ut = typeof et == "string" ? et.split(",").map((ut) => parseInt(String(ut).trim(), 10) || 10).filter((ut) => !isNaN(ut)) : Array.isArray(et) ? et : [10, 20, 50, 100];
4984
+ const Q = typeof A == "object" ? A : {}, he = q || {}, Me = Q.showSizeChanger ?? he["pagination-showSizeChanger"] ?? !0, Ee = Q.showQuickJumper ?? he["pagination-showQuickJumper"] ?? !1, Oe = Q.simple ?? he["pagination-simple"] ?? !1, Ve = Q.defaultPageSize ?? he["pagination-defaultPageSize"] ?? 10, et = Q.pageSizeOptions ?? he["pagination-pageSizeOptions"] ?? "10,20,50,100", Ut = typeof et == "string" ? et.split(",").map((ut) => parseInt(String(ut).trim(), 10) || 10).filter((ut) => !isNaN(ut)) : Array.isArray(et) ? et : [10, 20, 50, 100];
4985
4985
  return {
4986
4986
  ...H,
4987
4987
  showSizeChanger: Me,
@@ -4995,7 +4995,7 @@ const Qt = 420, Fn = 440, Da = ({
4995
4995
  },
4996
4996
  hideOnSinglePage: !1
4997
4997
  };
4998
- }, [Z, A, P, H, X.pagination, F, u, n, L]), W = z((Q, he) => {
4998
+ }, [Z, A, q, H, X.pagination, F, u, n, L]), P = z((Q, he) => {
4999
4999
  n && L(n, oe(Q.action, { ...he }));
5000
5000
  }, [n, L]), ue = z(
5001
5001
  (Q, he) => {
@@ -5020,9 +5020,9 @@ const Qt = 420, Fn = 440, Da = ({
5020
5020
  Ze
5021
5021
  ), [ve, be, De, Ze]), yt = !!(a && n), xr = f(() => {
5022
5022
  if (Xe !== void 0) return Xe;
5023
- const Q = q == null ? void 0 : q.x;
5023
+ const Q = W == null ? void 0 : W.x;
5024
5024
  return Q === !0 || typeof Q == "number" && Number.isFinite(Q) && Q > 0 ? !0 : Q === "max-content" ? !1 : Te;
5025
- }, [Xe, q == null ? void 0 : q.x, Te]), pn = f(() => yt ? Xe !== void 0 ? Xe ? !0 : "max-content" : (q == null ? void 0 : q.x) !== void 0 ? q.x : "max-content" : q == null ? void 0 : q.x, [yt, Xe, q == null ? void 0 : q.x, Te]), Mt = f(() => {
5025
+ }, [Xe, W == null ? void 0 : W.x, Te]), pn = f(() => yt ? Xe !== void 0 ? Xe ? !0 : "max-content" : (W == null ? void 0 : W.x) !== void 0 ? W.x : "max-content" : W == null ? void 0 : W.x, [yt, Xe, W == null ? void 0 : W.x, Te]), Mt = f(() => {
5026
5026
  const Q = [];
5027
5027
  We && Q.push({
5028
5028
  title: "序号",
@@ -5053,7 +5053,7 @@ const Qt = 420, Fn = 440, Da = ({
5053
5053
  }), h !== !1 && me.length > 0 && Q.push({
5054
5054
  title: "操作",
5055
5055
  key: "action",
5056
- render: (Ee, Oe) => /* @__PURE__ */ p(_e, { children: me.map((Ve, et) => /* @__PURE__ */ p(Hn, { title: Ve.tooltip, children: /* @__PURE__ */ p("a", { onClick: () => W(Ve, Oe), style: { marginRight: 5 }, children: Ve.title }) }, et)) })
5056
+ render: (Ee, Oe) => /* @__PURE__ */ p(_e, { children: me.map((Ve, et) => /* @__PURE__ */ p(Hn, { title: Ve.tooltip, children: /* @__PURE__ */ p("a", { onClick: () => P(Ve, Oe), style: { marginRight: 5 }, children: Ve.title }) }, et)) })
5057
5057
  }), Q;
5058
5058
  }, [
5059
5059
  se,
@@ -5062,7 +5062,7 @@ const Qt = 420, Fn = 440, Da = ({
5062
5062
  Ue,
5063
5063
  h,
5064
5064
  H,
5065
- W,
5065
+ P,
5066
5066
  ue
5067
5067
  ]), wr = z(() => {
5068
5068
  X.columnSettingOpen && F(X.columnSettingOpen, "", !1);
@@ -5088,10 +5088,10 @@ const Qt = 420, Fn = 440, Da = ({
5088
5088
  const Me = [Q[l]];
5089
5089
  G(Me), X.selected && F(X.selected, "", Me), y != null && y.trim() && n && L(n, oe(y.trim(), { record: Q, selectedRowKeys: Me }));
5090
5090
  }, [b, y, n, l, X.selected, F, L]), Cr = z((Q) => b && U.includes(Q[l]) ? "ant-table-row-selected" : "", [b, l, U]), Nr = z((Q) => b ? { onClick: () => vn(Q), style: { cursor: "pointer" } } : {}, [b, vn]), Tr = f(() => {
5091
- if (!q && !yt) return;
5092
- const Q = pn, he = (q == null ? void 0 : q.y) === "100%" ? ce : q == null ? void 0 : q.y;
5093
- return Q !== void 0 || he !== void 0 ? { x: Q, y: he } : q ? q.y === "100%" ? { x: q.x, y: ce } : q : void 0;
5094
- }, [q, ce, yt, pn]), { titleSlot: Rt, summarySlot: jt, footerSlot: bn, otherChildren: kr } = f(() => {
5091
+ if (!W && !yt) return;
5092
+ const Q = pn, he = (W == null ? void 0 : W.y) === "100%" ? ce : W == null ? void 0 : W.y;
5093
+ return Q !== void 0 || he !== void 0 ? { x: Q, y: he } : W ? W.y === "100%" ? { x: W.x, y: ce } : W : void 0;
5094
+ }, [W, ce, yt, pn]), { titleSlot: Rt, summarySlot: jt, footerSlot: bn, otherChildren: kr } = f(() => {
5095
5095
  let Q = null, he = null, Me = null;
5096
5096
  const Ee = [];
5097
5097
  return Le.Children.forEach(V, (Oe) => {
@@ -5122,7 +5122,7 @@ const Qt = 420, Fn = 440, Da = ({
5122
5122
  rowKey: l,
5123
5123
  rowSelection: Dr,
5124
5124
  rowClassName: Cr,
5125
- pagination: I,
5125
+ pagination: Y,
5126
5126
  locale: { emptyText: x },
5127
5127
  bordered: C,
5128
5128
  size: yt ? gn : w,
@@ -5137,7 +5137,7 @@ const Qt = 420, Fn = 440, Da = ({
5137
5137
  return /* @__PURE__ */ ye(
5138
5138
  Gn,
5139
5139
  {
5140
- ref: Y,
5140
+ ref: I,
5141
5141
  vertical: !0,
5142
5142
  style: { width: "100%", height: "100%", ...ie },
5143
5143
  className: re,
@@ -5205,18 +5205,17 @@ const Qt = 420, Fn = 440, Da = ({
5205
5205
  index: u,
5206
5206
  ...A
5207
5207
  }) => {
5208
- const x = _((q) => q.addCommand), C = Qe(Pe), w = u ?? (C == null ? void 0 : C.index), S = C == null ? void 0 : C.parentIndex, D = typeof o == "string" && o.trim() !== "", E = typeof a == "string" && a.trim() !== "", k = D || E || d === "selectedCount", N = ot(
5208
+ const x = _((W) => W.addCommand), C = Qe(Pe), w = u ?? (C == null ? void 0 : C.index), S = C == null ? void 0 : C.parentIndex, D = typeof o == "string" && o.trim() !== "", E = typeof a == "string" && a.trim() !== "", k = D || E || d === "selectedCount", N = ot(
5209
5209
  k ? o : void 0,
5210
5210
  k ? a : void 0,
5211
5211
  e
5212
- ), T = e ?? N.sessionId, M = _((q) => q.getDataSet), j = f(() => {
5213
- if (!T || t == null || t === "") return null;
5214
- const q = typeof (C == null ? void 0 : C.parentIndex) == "number" ? C.parentIndex : typeof (C == null ? void 0 : C.index) == "number" ? C.index : typeof u == "number" ? u : void 0;
5215
- return q !== void 0 && Number.isFinite(q) ? `${String(t)}_${q}` : String(t);
5216
- }, [T, t, C == null ? void 0 : C.parentIndex, C == null ? void 0 : C.index, u]), O = _(
5217
- (q) => {
5212
+ ), T = e ?? N.sessionId, M = _((W) => W.getDataSet), j = f(
5213
+ () => T ? wt(t, C, u) : null,
5214
+ [T, t, C == null ? void 0 : C.parentIndex, C == null ? void 0 : C.index, u]
5215
+ ), O = _(
5216
+ (W) => {
5218
5217
  var ae;
5219
- return j ? ((ae = q.propsStore[`${T}_props`]) == null ? void 0 : ae[j]) ?? null : null;
5218
+ return j ? ((ae = W.propsStore[`${T}_props`]) == null ? void 0 : ae[j]) ?? null : null;
5220
5219
  }
5221
5220
  ), V = f(
5222
5221
  () => d === "selectedCount" && a && !o ? a : k ? N.dataSet : void 0,
@@ -5227,11 +5226,11 @@ const Qt = 420, Fn = 440, Da = ({
5227
5226
  ), K = f(
5228
5227
  () => le(T, V),
5229
5228
  [T, V]
5230
- ), R = _((q) => {
5229
+ ), R = _((W) => {
5231
5230
  if (!K) return;
5232
5231
  const ae = xt(K).baseName;
5233
- return q.dataSets[ae];
5234
- }), { options: P } = $t(d), L = f(() => {
5232
+ return W.dataSets[ae];
5233
+ }), { options: q } = $t(d), L = f(() => {
5235
5234
  if (K && B)
5236
5235
  return M(K, B);
5237
5236
  }, [K, B, M, R]), $ = f(() => {
@@ -5243,29 +5242,29 @@ const Qt = 420, Fn = 440, Da = ({
5243
5242
  return {};
5244
5243
  }
5245
5244
  return h;
5246
- }, [h]), F = (q) => q == null || q === "" || typeof q == "string" && q.trim() === "", U = f(() => n ? i : L != null && L !== "" ? F(L) && m ? i : L : (O == null ? void 0 : O.content) !== void 0 ? O.content : i, [n, L, O == null ? void 0 : O.content, i, m]), G = f(() => {
5247
- if (d && P.length > 0 && U !== void 0 && U !== null) {
5248
- const q = nt(P, U);
5249
- return (q == null ? void 0 : q.label) ?? U;
5245
+ }, [h]), F = (W) => W == null || W === "" || typeof W == "string" && W.trim() === "", U = f(() => n ? i : L != null && L !== "" ? F(L) && m ? i : L : (O == null ? void 0 : O.content) !== void 0 ? O.content : i, [n, L, O == null ? void 0 : O.content, i, m]), G = f(() => {
5246
+ if (d && q.length > 0 && U !== void 0 && U !== null) {
5247
+ const W = nt(q, U);
5248
+ return (W == null ? void 0 : W.label) ?? U;
5250
5249
  }
5251
5250
  return U;
5252
- }, [d, P, U]), Y = f(() => {
5251
+ }, [d, q, U]), I = f(() => {
5253
5252
  if (n)
5254
5253
  return G;
5255
- const q = (O == null ? void 0 : O.formatType) || v;
5256
- return q && G !== void 0 && G !== null ? Uo(G, q, $) : G;
5254
+ const W = (O == null ? void 0 : O.formatType) || v;
5255
+ return W && G !== void 0 && G !== null ? Uo(G, W, $) : G;
5257
5256
  }, [n, G, v, $, O == null ? void 0 : O.formatType]), de = f(() => {
5258
- const q = { ...A };
5257
+ const W = { ...A };
5259
5258
  return O && typeof O == "object" && Object.keys(O).forEach((ae) => {
5260
- !["content", "formatType", "formatValue", "clickAction", "stopClickPropagation"].includes(ae) && O[ae] !== void 0 && O[ae] !== null && (q[ae] = O[ae]);
5261
- }), q;
5259
+ !["content", "formatType", "formatValue", "clickAction", "stopClickPropagation"].includes(ae) && O[ae] !== void 0 && O[ae] !== null && (W[ae] = O[ae]);
5260
+ }), W;
5262
5261
  }, [A, O]), fe = f(
5263
5262
  () => (O == null ? void 0 : O.clickAction) ?? l,
5264
5263
  [O == null ? void 0 : O.clickAction, l]
5265
5264
  ), J = (O == null ? void 0 : O.develop) ?? n, se = f(() => {
5266
5265
  if (J) return !1;
5267
- const q = (O == null ? void 0 : O.stopClickPropagation) ?? g;
5268
- return q !== void 0 ? q : !!fe;
5266
+ const W = (O == null ? void 0 : O.stopClickPropagation) ?? g;
5267
+ return W !== void 0 ? W : !!fe;
5269
5268
  }, [
5270
5269
  J,
5271
5270
  O == null ? void 0 : O.stopClickPropagation,
@@ -5273,32 +5272,32 @@ const Qt = 420, Fn = 440, Da = ({
5273
5272
  fe
5274
5273
  ]), me = (O == null ? void 0 : O.color) ?? s, X = Ht(me), ie = f(() => {
5275
5274
  if (!y) return;
5276
- let q = y;
5275
+ let W = y;
5277
5276
  if (typeof y == "string")
5278
5277
  try {
5279
- q = JSON.parse(y);
5278
+ W = JSON.parse(y);
5280
5279
  } catch {
5281
5280
  return;
5282
5281
  }
5283
- if (!q || typeof q != "object") return;
5282
+ if (!W || typeof W != "object") return;
5284
5283
  const ae = {};
5285
- return Object.entries(q).forEach(([Ce, ve]) => {
5284
+ return Object.entries(W).forEach(([Ce, ve]) => {
5286
5285
  ve !== "" && ve !== void 0 && ve !== null && (ae[Ce] = ve);
5287
5286
  }), Object.keys(ae).length > 0 ? ae : void 0;
5288
5287
  }, [y]), re = f(() => {
5289
- const q = { width: "100%" }, ae = (O == null ? void 0 : O.fontSize) ?? c;
5288
+ const W = { width: "100%" }, ae = (O == null ? void 0 : O.fontSize) ?? c;
5290
5289
  if (ae) {
5291
5290
  const Ce = ae && !String(ae).match(/\d+(px|em|rem|%|vh|vw|pt|pc|in|cm|mm|ex|ch)$/) ? `${ae}px` : ae;
5292
- q.fontSize = Ce;
5291
+ W.fontSize = Ce;
5293
5292
  }
5294
- return X && (q.color = X), q;
5293
+ return X && (W.color = X), W;
5295
5294
  }, [c, X, O == null ? void 0 : O.fontSize]), te = /* @__PURE__ */ p(
5296
5295
  Na,
5297
5296
  {
5298
5297
  ...de,
5299
5298
  style: { ...re, ...b, ...de.style },
5300
- onClick: (q) => {
5301
- if (typeof de.onClick == "function" && de.onClick(q), fe && T) {
5299
+ onClick: (W) => {
5300
+ if (typeof de.onClick == "function" && de.onClick(W), fe && T) {
5302
5301
  const { actionName: ae, arg: Ce } = sr(fe, {
5303
5302
  id: t,
5304
5303
  index: w,
@@ -5309,9 +5308,9 @@ const Qt = 420, Fn = 440, Da = ({
5309
5308
  }), ve = oe(ae, Ce);
5310
5309
  x(T, ve);
5311
5310
  }
5312
- se && q.stopPropagation();
5311
+ se && W.stopPropagation();
5313
5312
  },
5314
- children: Y != null && Y !== "" ? String(Y) : r
5313
+ children: I != null && I !== "" ? String(I) : r
5315
5314
  }
5316
5315
  );
5317
5316
  return ie ? /* @__PURE__ */ p(Ke, { theme: { token: ie }, children: te }) : te;
@@ -5473,7 +5472,7 @@ const Qt = 420, Fn = 440, Da = ({
5473
5472
  const B = _((H) => H.addCommand), K = _((H) => H.setDataSet), R = f(
5474
5473
  () => le(e, i),
5475
5474
  [e, i]
5476
- ), P = f(
5475
+ ), q = f(
5477
5476
  () => i ? le(e, `${i}_selected`) : void 0,
5478
5477
  [e, i]
5479
5478
  ), L = f(
@@ -5492,20 +5491,20 @@ const Qt = 420, Fn = 440, Da = ({
5492
5491
  const ce = Z.value;
5493
5492
  return Array.isArray(ce) ? ce : void 0;
5494
5493
  }), U = _(
5495
- (H) => P ? H.getDataSet(P, "") : void 0
5494
+ (H) => q ? H.getDataSet(q, "") : void 0
5496
5495
  ), G = _(
5497
5496
  (H) => L ? H.getDataSet(L, "") : void 0
5498
- ), Y = _(
5497
+ ), I = _(
5499
5498
  (H) => $ ? H.getDataSet($, "") : void 0
5500
- ), de = f(() => n ? F ?? T ?? [] : R ? F ?? [] : T ?? [], [n, R, F, T]), fe = U, J = G, se = Y, me = z(
5499
+ ), de = f(() => n ? F ?? T ?? [] : R ? F ?? [] : T ?? [], [n, R, F, T]), fe = U, J = G, se = I, me = z(
5501
5500
  (H, Z) => {
5502
5501
  if (g) {
5503
5502
  g(H, Z);
5504
5503
  return;
5505
5504
  }
5506
- P && K(P, "", H), o && e && B(e, oe(o, { selectedKeys: H }));
5505
+ q && K(q, "", H), o && e && B(e, oe(o, { selectedKeys: H }));
5507
5506
  },
5508
- [g, P, e, K, o, B]
5507
+ [g, q, e, K, o, B]
5509
5508
  ), X = z(
5510
5509
  (H, Z) => {
5511
5510
  if (u) {
@@ -5542,7 +5541,7 @@ const Qt = 420, Fn = 440, Da = ({
5542
5541
  d && e && B(e, oe(d, H));
5543
5542
  },
5544
5543
  [C, d, e, B]
5545
- ), q = z(
5544
+ ), W = z(
5546
5545
  (H) => {
5547
5546
  if (w) {
5548
5547
  w(H);
@@ -5611,7 +5610,7 @@ const Qt = 420, Fn = 440, Da = ({
5611
5610
  ...V,
5612
5611
  ...n ? { motion: !1 } : {},
5613
5612
  treeData: de,
5614
- ...P != null ? { selectedKeys: fe ?? [] } : {},
5613
+ ...q != null ? { selectedKeys: fe ?? [] } : {},
5615
5614
  ...L != null ? { checkedKeys: J ?? [] } : {},
5616
5615
  ...$ != null ? { expandedKeys: se ?? [] } : {},
5617
5616
  onSelect: me,
@@ -5619,7 +5618,7 @@ const Qt = 420, Fn = 440, Da = ({
5619
5618
  onExpand: ie,
5620
5619
  onDragEnd: re,
5621
5620
  onDragEnter: te,
5622
- onDragLeave: q,
5621
+ onDragLeave: W,
5623
5622
  onDragOver: ae,
5624
5623
  onDragStart: Ce,
5625
5624
  onDrop: ve,
@@ -5797,7 +5796,7 @@ const Qt = 420, Fn = 440, Da = ({
5797
5796
  }, children: n ? C.title : null }) }, C.key);
5798
5797
  }) : null), [h, u, v, n]);
5799
5798
  return /* @__PURE__ */ p(
5800
- Ir,
5799
+ Yr,
5801
5800
  {
5802
5801
  ...m,
5803
5802
  dotPlacement: g,
@@ -5819,10 +5818,10 @@ function Ra(t, e, n) {
5819
5818
  const a = o == null ? void 0 : o.value;
5820
5819
  if (!Array.isArray(a) || a[r] === void 0) return;
5821
5820
  const c = a[r];
5822
- return n ? kt(c, vt(n)) : c;
5821
+ return n ? _t(c, vt(n)) : c;
5823
5822
  }
5824
5823
  if (o)
5825
- return n ? kt(o, vt(n)) : o;
5824
+ return n ? _t(o, vt(n)) : o;
5826
5825
  }
5827
5826
  const Cs = ({
5828
5827
  id: t,
@@ -5959,7 +5958,7 @@ const Ns = ({
5959
5958
  if (x)
5960
5959
  return { components: { Avatar: x } };
5961
5960
  }, [x]), w = /* @__PURE__ */ p(
5962
- Yr,
5961
+ Ir,
5963
5962
  {
5964
5963
  ...A,
5965
5964
  src: g,
@@ -6277,13 +6276,13 @@ const Ns = ({
6277
6276
  // 仅设计器/业务用,不传给 DOM,避免 React 警告
6278
6277
  ...B
6279
6278
  }) => {
6280
- const K = _((W) => W.addCommand), R = _((W) => W.setDataSet), P = f(
6279
+ const K = _((P) => P.addCommand), R = _((P) => P.setDataSet), q = f(
6281
6280
  () => le(e, i),
6282
6281
  [e, i]
6283
6282
  ), L = _(
6284
- (W) => {
6285
- if (P)
6286
- return r ? W.getDataSet(P, r) : W.dataSets[P];
6283
+ (P) => {
6284
+ if (q)
6285
+ return r ? P.getDataSet(q, r) : P.dataSets[q];
6287
6286
  }
6288
6287
  // 使用 shallow 比较确保只有通过内容变更才触发更新
6289
6288
  // 如果找不到依赖包,可以自定义一个简单的浅比较函数或暂时使用 strict equality (默认)
@@ -6294,7 +6293,7 @@ const Ns = ({
6294
6293
  ), $ = f(() => ({}), []), F = L ?? $, U = f(
6295
6294
  () => (F == null ? void 0 : F.items) ?? (Array.isArray(F) ? F : void 0) ?? (Array.isArray(F == null ? void 0 : F.value) ? F.value : void 0),
6296
6295
  [F]
6297
- ), G = f(() => n ? U ?? b ?? [] : P ? U ?? [] : b ?? [], [n, P, U, b]), Y = f(
6296
+ ), G = f(() => n ? U ?? b ?? [] : q ? U ?? [] : b ?? [], [n, q, U, b]), I = f(
6298
6297
  () => F.selectedKeys ?? y,
6299
6298
  [F.selectedKeys, y]
6300
6299
  ), de = f(
@@ -6303,57 +6302,57 @@ const Ns = ({
6303
6302
  ), fe = f(
6304
6303
  () => le(e, S),
6305
6304
  [e, S]
6306
- ), J = _((W) => {
6305
+ ), J = _((P) => {
6307
6306
  if (!F.openKeys && fe && D)
6308
- return W.getDataSet(fe, D);
6307
+ return P.getDataSet(fe, D);
6309
6308
  }), se = f(() => {
6310
- const W = (ue) => Array.isArray(ue) ? ue.map((be) => {
6309
+ const P = (ue) => Array.isArray(ue) ? ue.map((be) => {
6311
6310
  const De = { ...be };
6312
6311
  if (De.icon && typeof De.icon == "string") {
6313
6312
  const Te = Ge[De.icon];
6314
6313
  Te && (De.icon = /* @__PURE__ */ p(Te, {}));
6315
6314
  }
6316
- return De.children && De.children.length > 0 && (De.children = W(De.children)), De;
6315
+ return De.children && De.children.length > 0 && (De.children = P(De.children)), De;
6317
6316
  }) : [];
6318
- return W(G || []);
6317
+ return P(G || []);
6319
6318
  }, [G]), me = f(
6320
- () => Y,
6321
- [Y]
6319
+ () => I,
6320
+ [I]
6322
6321
  ), X = f(
6323
6322
  () => de ?? J,
6324
6323
  [de, J]
6325
6324
  ), ie = z(
6326
- (W) => {
6325
+ (P) => {
6327
6326
  if (d) {
6328
- d(W);
6327
+ d(P);
6329
6328
  return;
6330
6329
  }
6331
6330
  o && e && K(
6332
6331
  e,
6333
- oe(o, { key: W.key, keyPath: W.keyPath })
6332
+ oe(o, { key: P.key, keyPath: P.keyPath })
6334
6333
  );
6335
6334
  },
6336
6335
  [d, o, e, K]
6337
6336
  ), re = z(
6338
- (W) => {
6337
+ (P) => {
6339
6338
  if (v) {
6340
- v(W);
6339
+ v(P);
6341
6340
  return;
6342
6341
  }
6343
- if (P)
6342
+ if (q)
6344
6343
  if (r) {
6345
- const ue = _.getState().getDataSet(P, r) || {};
6346
- R(P, r, { ...ue, selectedKeys: W.selectedKeys });
6344
+ const ue = _.getState().getDataSet(q, r) || {};
6345
+ R(q, r, { ...ue, selectedKeys: P.selectedKeys });
6347
6346
  } else
6348
- R(P, "selectedKeys", W.selectedKeys);
6347
+ R(q, "selectedKeys", P.selectedKeys);
6349
6348
  a && e && K(
6350
6349
  e,
6351
- oe(a, { selectedKeys: W.selectedKeys })
6350
+ oe(a, { selectedKeys: P.selectedKeys })
6352
6351
  );
6353
6352
  },
6354
6353
  [
6355
6354
  v,
6356
- P,
6355
+ q,
6357
6356
  r,
6358
6357
  R,
6359
6358
  a,
@@ -6361,26 +6360,26 @@ const Ns = ({
6361
6360
  K
6362
6361
  ]
6363
6362
  ), te = z(
6364
- (W) => {
6363
+ (P) => {
6365
6364
  if (h) {
6366
- h(W);
6365
+ h(P);
6367
6366
  return;
6368
6367
  }
6369
- if (P)
6368
+ if (q)
6370
6369
  if (r) {
6371
- const ue = _.getState().getDataSet(P, r) || {};
6372
- R(P, r, { ...ue, openKeys: W });
6370
+ const ue = _.getState().getDataSet(q, r) || {};
6371
+ R(q, r, { ...ue, openKeys: P });
6373
6372
  } else
6374
- R(P, "openKeys", W);
6375
- else fe && D && R(fe, D, W);
6373
+ R(q, "openKeys", P);
6374
+ else fe && D && R(fe, D, P);
6376
6375
  c && e && K(
6377
6376
  e,
6378
- oe(c, { openKeys: W })
6377
+ oe(c, { openKeys: P })
6379
6378
  );
6380
6379
  },
6381
6380
  [
6382
6381
  h,
6383
- P,
6382
+ q,
6384
6383
  r,
6385
6384
  fe,
6386
6385
  D,
@@ -6389,61 +6388,61 @@ const Ns = ({
6389
6388
  e,
6390
6389
  K
6391
6390
  ]
6392
- ), q = z(
6393
- (W) => {
6391
+ ), W = z(
6392
+ (P) => {
6394
6393
  if (m) {
6395
- m(W);
6394
+ m(P);
6396
6395
  return;
6397
6396
  }
6398
6397
  s && e && K(
6399
6398
  e,
6400
6399
  oe(s, {
6401
- selectedKeys: W.selectedKeys,
6402
- key: W.key
6400
+ selectedKeys: P.selectedKeys,
6401
+ key: P.key
6403
6402
  })
6404
6403
  );
6405
6404
  },
6406
6405
  [m, s, e, K]
6407
6406
  ), ae = E === "inline" && k !== void 0 ? { inlineCollapsed: k } : {}, Ce = f(() => {
6408
6407
  if (!x) return;
6409
- const W = {};
6408
+ const P = {};
6410
6409
  return Object.entries(x).forEach(([ue, be]) => {
6411
- be !== "" && be !== void 0 && be !== null && (W[ue] = be);
6412
- }), Object.keys(W).length > 0 ? W : void 0;
6410
+ be !== "" && be !== void 0 && be !== null && (P[ue] = be);
6411
+ }), Object.keys(P).length > 0 ? P : void 0;
6413
6412
  }, [x]), ve = n ? {
6414
6413
  motion: { motionName: "" }
6415
6414
  } : {}, pe = f(() => {
6416
6415
  if (typeof j == "string" && j) {
6417
- const W = Ge[j];
6418
- if (W) return /* @__PURE__ */ p(W, {});
6416
+ const P = Ge[j];
6417
+ if (P) return /* @__PURE__ */ p(P, {});
6419
6418
  }
6420
6419
  return j;
6421
6420
  }, [j]), Ae = f(() => {
6422
6421
  if (typeof O == "string" && O) {
6423
- const W = Ge[O];
6424
- if (W) return /* @__PURE__ */ p(W, {});
6422
+ const P = Ge[O];
6423
+ if (P) return /* @__PURE__ */ p(P, {});
6425
6424
  }
6426
6425
  return O;
6427
6426
  }, [O]), ge = f(() => T === "pagination" || T === "scroll" ? null : w, [T, w]), ee = yi(), ne = t || ee.replace(/:/g, "-"), Se = f(() => {
6428
6427
  var De;
6429
6428
  if (!u || typeof u == "function") return "";
6430
- const W = (De = u.subMenu) == null ? void 0 : De.root;
6431
- if (!W) return "";
6429
+ const P = (De = u.subMenu) == null ? void 0 : De.root;
6430
+ if (!P) return "";
6432
6431
  const ue = [], be = `[data-and-menu-id="${ne}"]`;
6433
- if (W.item && Object.keys(W.item).length > 0) {
6434
- const Te = zt(W.item);
6432
+ if (P.item && Object.keys(P.item).length > 0) {
6433
+ const Te = zt(P.item);
6435
6434
  ue.push(`${be} .ant-menu-submenu > .ant-menu-submenu-title { ${Te} }`);
6436
6435
  }
6437
- if (W.itemIcon && Object.keys(W.itemIcon).length > 0) {
6438
- const Te = zt(W.itemIcon);
6436
+ if (P.itemIcon && Object.keys(P.itemIcon).length > 0) {
6437
+ const Te = zt(P.itemIcon);
6439
6438
  ue.push(`${be} .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon { ${Te} }`);
6440
6439
  }
6441
- if (W.itemContent && Object.keys(W.itemContent).length > 0) {
6442
- const Te = zt(W.itemContent);
6440
+ if (P.itemContent && Object.keys(P.itemContent).length > 0) {
6441
+ const Te = zt(P.itemContent);
6443
6442
  ue.push(`${be} .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-title-content { ${Te} }`);
6444
6443
  }
6445
- if (W.selected && Object.keys(W.selected).length > 0) {
6446
- const Te = zt(W.selected);
6444
+ if (P.selected && Object.keys(P.selected).length > 0) {
6445
+ const Te = zt(P.selected);
6447
6446
  ue.push(`${be} .ant-menu-submenu-selected > .ant-menu-submenu-title { ${Te} }`);
6448
6447
  }
6449
6448
  return ue.join(`
@@ -6462,7 +6461,7 @@ const Ns = ({
6462
6461
  onClick: ie,
6463
6462
  onSelect: re,
6464
6463
  onOpenChange: te,
6465
- onDeselect: q,
6464
+ onDeselect: W,
6466
6465
  styles: u,
6467
6466
  classNames: A,
6468
6467
  expandIcon: C,
@@ -6479,14 +6478,14 @@ const Ns = ({
6479
6478
  children: H
6480
6479
  }
6481
6480
  ) : T === "scroll" ? /* @__PURE__ */ p(za, { mode: E || "horizontal", children: H }) : H, ce = f(() => {
6482
- const W = {};
6483
- return n && (W.motion = !1), Ce && (W.components = { Menu: Ce }), Object.keys(W).length > 0 ? W : void 0;
6481
+ const P = {};
6482
+ return n && (P.motion = !1), Ce && (P.components = { Menu: Ce }), Object.keys(P).length > 0 ? P : void 0;
6484
6483
  }, [n, Ce]);
6485
6484
  return (() => {
6486
- const W = Z(), ue = Se ? /* @__PURE__ */ ye("div", { "data-and-menu-id": ne, style: { display: "contents" }, children: [
6485
+ const P = Z(), ue = Se ? /* @__PURE__ */ ye("div", { "data-and-menu-id": ne, style: { display: "contents" }, children: [
6487
6486
  /* @__PURE__ */ p("style", { children: Se }),
6488
- W
6489
- ] }) : W;
6487
+ P
6488
+ ] }) : P;
6490
6489
  return ce ? /* @__PURE__ */ p(Ke, { theme: ce, children: ue }) : ue;
6491
6490
  })();
6492
6491
  }, $s = ({
@@ -6702,13 +6701,13 @@ const Ns = ({
6702
6701
  }, [h, n]), O = f(() => {
6703
6702
  if (j)
6704
6703
  return !y || !l ? j : (K, R) => {
6705
- const P = typeof R == "number" ? R : typeof (K == null ? void 0 : K.index) == "number" ? K.index : Number((K == null ? void 0 : K.index) ?? 0);
6704
+ const q = typeof R == "number" ? R : typeof (K == null ? void 0 : K.index) == "number" ? K.index : Number((K == null ? void 0 : K.index) ?? 0);
6706
6705
  return /* @__PURE__ */ p(
6707
6706
  Pe.Provider,
6708
6707
  {
6709
6708
  value: {
6710
6709
  dataSet: y,
6711
- index: P,
6710
+ index: q,
6712
6711
  parentIndex: u == null ? void 0 : u.index,
6713
6712
  parentContext: u ?? void 0,
6714
6713
  sessionId: g,
@@ -6917,46 +6916,46 @@ const Ns = ({
6917
6916
  children: w,
6918
6917
  ...S
6919
6918
  }) => {
6920
- const D = _((Y) => Y.addCommand), E = _((Y) => Y.getDataSet), k = _((Y) => Y.setDataSet), N = f(
6919
+ const D = _((I) => I.addCommand), E = _((I) => I.getDataSet), k = _((I) => I.setDataSet), N = f(
6921
6920
  () => le(e, i),
6922
6921
  [e, i]
6923
6922
  ), T = C === "default" ? "medium" : C, M = f(() => {
6924
- const Y = fn(l, {});
6923
+ const I = fn(l, {});
6925
6924
  return Object.fromEntries(
6926
- Object.entries(Y).map(([de, fe]) => [
6925
+ Object.entries(I).map(([de, fe]) => [
6927
6926
  de,
6928
6927
  Wa(fe)
6929
6928
  ])
6930
6929
  );
6931
6930
  }, [l]), j = f(() => {
6932
- const Y = Ha(v);
6933
- return Y.length > 0 ? Y : void 0;
6931
+ const I = Ha(v);
6932
+ return I.length > 0 ? I : void 0;
6934
6933
  }, [v]), V = f(() => {
6935
6934
  if (N && r) {
6936
- const Y = E(N, `${r}.activeTabKey`);
6937
- if (typeof Y == "string") return Y;
6935
+ const I = E(N, `${r}.activeTabKey`);
6936
+ if (typeof I == "string") return I;
6938
6937
  }
6939
- }, [N, r, E]) ?? h, B = z((Y) => {
6938
+ }, [N, r, E]) ?? h, B = z((I) => {
6940
6939
  if (y) {
6941
- y(Y);
6940
+ y(I);
6942
6941
  return;
6943
6942
  }
6944
- N && r && k(N, `${r}.activeTabKey`, Y), b && e && D(e, oe(b, { key: Y }));
6945
- }, [y, N, r, k, b, e, D]), { titleSlot: K, extraSlot: R, coverSlot: P, actionsSlot: L, otherChildren: $, actionsFromChildren: F } = f(() => {
6946
- let Y = null, de = null, fe = null, J = [];
6943
+ N && r && k(N, `${r}.activeTabKey`, I), b && e && D(e, oe(b, { key: I }));
6944
+ }, [y, N, r, k, b, e, D]), { titleSlot: K, extraSlot: R, coverSlot: q, actionsSlot: L, otherChildren: $, actionsFromChildren: F } = f(() => {
6945
+ let I = null, de = null, fe = null, J = [];
6947
6946
  const se = [];
6948
6947
  let me = !1;
6949
- return o && (Y = o), a && (de = a), c && (fe = c), d && (J = d), Le.Children.forEach(w, (X) => {
6948
+ return o && (I = o), a && (de = a), c && (fe = c), d && (J = d), Le.Children.forEach(w, (X) => {
6950
6949
  if (!Le.isValidElement(X)) {
6951
6950
  se.push(X);
6952
6951
  return;
6953
6952
  }
6954
6953
  const ie = X.props, re = ie["data-slot-type"];
6955
- re === "title" && !o ? Y = X : re === "extra" && !a ? de = X : re === "cover" && !c ? fe = X : re === "actions" && !d ? (J = [X], me = !0) : re === "body" && ie.children ? se.push(ie.children) : se.push(X);
6956
- }), { titleSlot: Y, extraSlot: de, coverSlot: fe, actionsSlot: J, otherChildren: se, actionsFromChildren: me };
6954
+ re === "title" && !o ? I = X : re === "extra" && !a ? de = X : re === "cover" && !c ? fe = X : re === "actions" && !d ? (J = [X], me = !0) : re === "body" && ie.children ? se.push(ie.children) : se.push(X);
6955
+ }), { titleSlot: I, extraSlot: de, coverSlot: fe, actionsSlot: J, otherChildren: se, actionsFromChildren: me };
6957
6956
  }, [w, o, a, c, d]), U = f(() => {
6958
- const Y = fn(g, {});
6959
- return F ? { actionsLiMargin: "0px", ...Y } : Y;
6957
+ const I = fn(g, {});
6958
+ return F ? { actionsLiMargin: "0px", ...I } : I;
6960
6959
  }, [g, F]), G = /* @__PURE__ */ p(
6961
6960
  tn,
6962
6961
  {
@@ -6964,7 +6963,7 @@ const Ns = ({
6964
6963
  size: T,
6965
6964
  title: K,
6966
6965
  extra: R,
6967
- cover: P,
6966
+ cover: q,
6968
6967
  tabBarExtraContent: s,
6969
6968
  actions: L.length > 0 ? L : void 0,
6970
6969
  tabList: j,
@@ -7188,7 +7187,7 @@ const Ns = ({
7188
7187
  }), y;
7189
7188
  }, [a, v]);
7190
7189
  return /* @__PURE__ */ p(ii, { ...b, value: m || "" });
7191
- }, Dt = (t) => {
7190
+ }, Ct = (t) => {
7192
7191
  if (!t) return;
7193
7192
  const e = Ge[t];
7194
7193
  if (e)
@@ -7204,7 +7203,7 @@ const Ns = ({
7204
7203
  return e;
7205
7204
  }
7206
7205
  return t;
7207
- }, Is = ({
7206
+ }, Ys = ({
7208
7207
  id: t,
7209
7208
  sessionId: e,
7210
7209
  develop: n,
@@ -7226,18 +7225,18 @@ const Ns = ({
7226
7225
  const u = _((M) => M.addCommand), A = f(
7227
7226
  () => Xt(i, []),
7228
7227
  [i]
7229
- ), x = f(() => Xt(b, {}), [b]), C = f(() => Dt(a), [a]), w = f(() => {
7228
+ ), x = f(() => Xt(b, {}), [b]), C = f(() => Ct(a), [a]), w = f(() => {
7230
7229
  if (c) {
7231
7230
  if (typeof c == "string") {
7232
7231
  const M = Xt(c, null);
7233
7232
  return M && typeof M == "object" ? {
7234
- start: Dt(M.start),
7235
- end: Dt(M.end)
7233
+ start: Ct(M.start),
7234
+ end: Ct(M.end)
7236
7235
  } : void 0;
7237
7236
  }
7238
7237
  return {
7239
- start: Dt(c.start),
7240
- end: Dt(c.end)
7238
+ start: Ct(c.start),
7239
+ end: Ct(c.end)
7241
7240
  };
7242
7241
  }
7243
7242
  }, [c]), S = z(
@@ -7261,7 +7260,7 @@ const Ns = ({
7261
7260
  ), E = () => y && Le.Children.count(y) > 0 ? Le.Children.map(y, (M, j) => {
7262
7261
  const O = A[j] || {};
7263
7262
  return /* @__PURE__ */ p(
7264
- Yt.Panel,
7263
+ It.Panel,
7265
7264
  {
7266
7265
  defaultSize: O.defaultSize,
7267
7266
  min: O.min,
@@ -7273,7 +7272,7 @@ const Ns = ({
7273
7272
  O.key || j
7274
7273
  );
7275
7274
  }) : A.map((M, j) => /* @__PURE__ */ p(
7276
- Yt.Panel,
7275
+ It.Panel,
7277
7276
  {
7278
7277
  defaultSize: M.defaultSize || void 0,
7279
7278
  min: M.min || void 0,
@@ -7300,7 +7299,7 @@ const Ns = ({
7300
7299
  },
7301
7300
  M.key || j
7302
7301
  )), { layout: k, ...N } = g, T = /* @__PURE__ */ p("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p(
7303
- Yt,
7302
+ It,
7304
7303
  {
7305
7304
  ...N,
7306
7305
  orientation: r,
@@ -7316,7 +7315,7 @@ const Ns = ({
7316
7315
  r
7317
7316
  ) });
7318
7317
  return x && Object.keys(x).length > 0 ? /* @__PURE__ */ p(Ke, { theme: { components: { Splitter: x } }, children: T }) : T;
7319
- }, Ys = ({
7318
+ }, Is = ({
7320
7319
  children: t,
7321
7320
  className: e,
7322
7321
  style: n,
@@ -7404,7 +7403,7 @@ const Ns = ({
7404
7403
  }
7405
7404
  ) })
7406
7405
  ] });
7407
- }, Ua = "@keyframes and-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}", Ia = ".and-icon-svg-root svg,.and-icon-svg-root svg path{fill:currentColor}.and-icon-svg-root svg{color:inherit}", Gs = ({
7406
+ }, Ua = "@keyframes and-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}", Ya = ".and-icon-svg-root svg,.and-icon-svg-root svg path{fill:currentColor}.and-icon-svg-root svg{color:inherit}", Gs = ({
7408
7407
  id: t,
7409
7408
  sessionId: e,
7410
7409
  develop: n,
@@ -7437,7 +7436,7 @@ const Ns = ({
7437
7436
  ...y
7438
7437
  };
7439
7438
  return /* @__PURE__ */ ye(St, { children: [
7440
- /* @__PURE__ */ p("style", { children: Ia }),
7439
+ /* @__PURE__ */ p("style", { children: Ya }),
7441
7440
  c && /* @__PURE__ */ p("style", { children: Ua }),
7442
7441
  /* @__PURE__ */ p(
7443
7442
  "span",
@@ -7575,8 +7574,8 @@ const Ns = ({
7575
7574
  if (Number.isFinite(R))
7576
7575
  K = R;
7577
7576
  else {
7578
- const P = Number(m == null ? void 0 : m.parentIndex);
7579
- K = Number.isFinite(P) ? P : null;
7577
+ const q = Number(m == null ? void 0 : m.parentIndex);
7578
+ K = Number.isFinite(q) ? q : null;
7580
7579
  }
7581
7580
  }
7582
7581
  return {
@@ -7605,10 +7604,10 @@ const Ns = ({
7605
7604
  if (!n || !l) return { componentName: "", props: {} };
7606
7605
  const V = n.split(".")[1], B = V ? l[V] || {} : l;
7607
7606
  if (typeof B == "object" && B !== null) {
7608
- const { componentName: K, props: R, ...P } = B;
7607
+ const { componentName: K, props: R, ...q } = B;
7609
7608
  return {
7610
7609
  componentName: K || "",
7611
- props: R || P || {}
7610
+ props: R || q || {}
7612
7611
  };
7613
7612
  }
7614
7613
  return { componentName: "", props: {} };
@@ -7622,9 +7621,9 @@ const Ns = ({
7622
7621
  ...e,
7623
7622
  sessionId: i
7624
7623
  }), [g.props, e, i, h]), w = f(() => {
7625
- var P, L;
7624
+ var q, L;
7626
7625
  if (!u) return null;
7627
- const O = !!A && A.trim().startsWith("["), V = (P = g.props) == null ? void 0 : P.index, B = O ? void 0 : typeof V == "number" && Number.isFinite(V) ? V : y !== null ? y : void 0, K = (L = g.props) == null ? void 0 : L.parentIndex;
7626
+ const O = !!A && A.trim().startsWith("["), V = (q = g.props) == null ? void 0 : q.index, B = O ? void 0 : typeof V == "number" && Number.isFinite(V) ? V : y !== null ? y : void 0, K = (L = g.props) == null ? void 0 : L.parentIndex;
7628
7627
  let R;
7629
7628
  if (typeof K == "number" && Number.isFinite(K))
7630
7629
  R = K;
@@ -7786,7 +7785,7 @@ let Sr = !1, Pn = !1;
7786
7785
  function el(t) {
7787
7786
  typeof window > "u" || (cr.GlobalWorkerOptions.workerSrc = t, Sr = !0);
7788
7787
  }
7789
- function Ya(t) {
7788
+ function Ia(t) {
7790
7789
  var i, r;
7791
7790
  if (typeof window > "u" || Sr) return;
7792
7791
  const e = (i = Je().pdfWorkerFallbackUrl) == null ? void 0 : i.trim(), n = (r = t ?? e) == null ? void 0 : r.trim();
@@ -7815,57 +7814,57 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
7815
7814
  style: b
7816
7815
  }) => {
7817
7816
  Ne(() => {
7818
- Ya();
7817
+ Ia();
7819
7818
  }, []);
7820
- const y = _((I) => I.setDataSet), l = f(
7819
+ const y = _((Y) => Y.setDataSet), l = f(
7821
7820
  () => le(e, i),
7822
7821
  [e, i]
7823
- ), g = _((I) => {
7822
+ ), g = _((Y) => {
7824
7823
  if (!l || !r) return;
7825
- const W = I.getDataSet(l, r);
7826
- if (W != null && W !== "") return String(W);
7824
+ const P = Y.getDataSet(l, r);
7825
+ if (P != null && P !== "") return String(P);
7827
7826
  }), u = _(
7828
- (I) => {
7829
- var W;
7830
- return e && t ? ((W = I.propsStore[`${e}_props`]) == null ? void 0 : W[t]) ?? null : null;
7827
+ (Y) => {
7828
+ var P;
7829
+ return e && t ? ((P = Y.propsStore[`${e}_props`]) == null ? void 0 : P[t]) ?? null : null;
7831
7830
  }
7832
7831
  ), A = f(() => {
7833
- let I;
7834
- if (g !== void 0) I = g;
7832
+ let Y;
7833
+ if (g !== void 0) Y = g;
7835
7834
  else if (u && typeof u == "object") {
7836
- const W = u.filePath;
7837
- W != null && W !== "" && (I = String(W));
7835
+ const P = u.filePath;
7836
+ P != null && P !== "" && (Y = String(P));
7838
7837
  }
7839
- return I === void 0 && (I = o), I;
7838
+ return Y === void 0 && (Y = o), Y;
7840
7839
  }, [g, u, o]), x = f(() => {
7841
7840
  if (u && typeof u == "object") {
7842
- const I = u.nonPdfBackgroundColor;
7843
- if (typeof I == "string" && I.trim())
7844
- return I.trim();
7841
+ const Y = u.nonPdfBackgroundColor;
7842
+ if (typeof Y == "string" && Y.trim())
7843
+ return Y.trim();
7845
7844
  }
7846
7845
  return d;
7847
7846
  }, [u, d]), [C, w] = xe(0), [S, D] = xe(
7848
7847
  () => Math.max(1, a || 1)
7849
7848
  ), E = Re(S);
7850
7849
  E.current = S;
7851
- const [k, N] = xe(null), [T, M] = xe(!!A), [j, O] = xe("all"), [V, B] = xe("width"), [K, R] = xe(1), P = Re(null), L = Re(null), $ = Re({}), F = Re(!1), U = Re(null), [G, Y] = xe(600), [de, fe] = xe(800), J = Re(0), se = f(() => {
7850
+ const [k, N] = xe(null), [T, M] = xe(!!A), [j, O] = xe("all"), [V, B] = xe("width"), [K, R] = xe(1), q = Re(null), L = Re(null), $ = Re({}), F = Re(!1), U = Re(null), [G, I] = xe(600), [de, fe] = xe(800), J = Re(0), se = f(() => {
7852
7851
  var ue;
7853
- const I = (ue = Je().pdfCMapUrl) == null ? void 0 : ue.trim();
7854
- return I ? { cMapUrl: I.endsWith("/") ? I : `${I}/`, cMapPacked: !0 } : {};
7855
- }, []), me = (c || "").trim(), X = _((I) => {
7852
+ const Y = (ue = Je().pdfCMapUrl) == null ? void 0 : ue.trim();
7853
+ return Y ? { cMapUrl: Y.endsWith("/") ? Y : `${Y}/`, cMapPacked: !0 } : {};
7854
+ }, []), me = (c || "").trim(), X = _((Y) => {
7856
7855
  if (!(!l || !me))
7857
- return I.getDataSet(l, `${me}.targetPage`);
7856
+ return Y.getDataSet(l, `${me}.targetPage`);
7858
7857
  });
7859
7858
  Ne(() => {
7860
- const I = L.current;
7861
- if (!I) return;
7862
- const W = new ResizeObserver(() => {
7863
- const De = I.clientWidth, Te = I.clientHeight;
7864
- De > 0 && Y(De), Te > 0 && fe(Te);
7859
+ const Y = L.current;
7860
+ if (!Y) return;
7861
+ const P = new ResizeObserver(() => {
7862
+ const De = Y.clientWidth, Te = Y.clientHeight;
7863
+ De > 0 && I(De), Te > 0 && fe(Te);
7865
7864
  });
7866
- W.observe(I);
7867
- const ue = I.clientWidth, be = I.clientHeight;
7868
- return ue > 0 && Y(ue), be > 0 && fe(be), () => W.disconnect();
7865
+ P.observe(Y);
7866
+ const ue = Y.clientWidth, be = Y.clientHeight;
7867
+ return ue > 0 && I(ue), be > 0 && fe(be), () => P.disconnect();
7869
7868
  }, [A]);
7870
7869
  const ie = f(() => Math.max(240, G - 16), [G]), re = f(
7871
7870
  () => Math.max(320, de - 16),
@@ -7873,12 +7872,12 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
7873
7872
  ), te = f(
7874
7873
  () => Math.max(120, ie * K),
7875
7874
  [ie, K]
7876
- ), q = f(
7875
+ ), W = f(
7877
7876
  () => Math.max(180, re * K),
7878
7877
  [re, K]
7879
- ), ae = f(() => j === "all" ? Array.from({ length: C }, (I, W) => W + 1) : [S], [j, C, S]), Ce = z(
7880
- (I, W) => {
7881
- !l || !me || (y(l, `${me}.currentPage`, I), W > 0 && y(l, `${me}.totalPages`, W));
7878
+ ), ae = f(() => j === "all" ? Array.from({ length: C }, (Y, P) => P + 1) : [S], [j, C, S]), Ce = z(
7879
+ (Y, P) => {
7880
+ !l || !me || (y(l, `${me}.currentPage`, Y), P > 0 && y(l, `${me}.totalPages`, P));
7882
7881
  },
7883
7882
  [l, me, y]
7884
7883
  );
@@ -7886,42 +7885,42 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
7886
7885
  C > 0 && Ce(S, C);
7887
7886
  }, [S, C, Ce]);
7888
7887
  const ve = z(
7889
- (I, W = "auto") => {
7890
- const ue = C > 0 ? Math.max(1, Math.min(Math.floor(I), C)) : Math.max(1, Math.floor(I));
7888
+ (Y, P = "auto") => {
7889
+ const ue = C > 0 ? Math.max(1, Math.min(Math.floor(Y), C)) : Math.max(1, Math.floor(Y));
7891
7890
  if (D(ue), j === "all") {
7892
7891
  const be = $.current[ue];
7893
- be && be.scrollIntoView({ block: "start", behavior: W });
7892
+ be && be.scrollIntoView({ block: "start", behavior: P });
7894
7893
  }
7895
7894
  },
7896
7895
  [C, j]
7897
7896
  ), pe = Re(ve);
7898
7897
  pe.current = ve, Ne(() => {
7899
- const I = X;
7900
- typeof I != "number" || !Number.isFinite(I) || (ve(I, "auto"), l && me && y(l, `${me}.targetPage`, void 0));
7898
+ const Y = X;
7899
+ typeof Y != "number" || !Number.isFinite(Y) || (ve(Y, "auto"), l && me && y(l, `${me}.targetPage`, void 0));
7901
7900
  }, [X, ve, l, me, y]), Ne(() => {
7902
- const I = Math.max(1, a ?? 1);
7903
- D(I);
7901
+ const Y = Math.max(1, a ?? 1);
7902
+ D(Y);
7904
7903
  }, [a]);
7905
7904
  const Ae = z(
7906
- ({ numPages: I }) => {
7905
+ ({ numPages: Y }) => {
7907
7906
  N(null), M(!1);
7908
- const W = E.current, ue = Math.min(Math.max(1, W), I || 1);
7909
- w(I), D(ue), F.current = !0, U.current = ue;
7907
+ const P = E.current, ue = Math.min(Math.max(1, P), Y || 1);
7908
+ w(Y), D(ue), F.current = !0, U.current = ue;
7910
7909
  },
7911
7910
  []
7912
- ), ge = z((I) => {
7913
- N(I), M(!1), F.current = !1, U.current = null;
7911
+ ), ge = z((Y) => {
7912
+ N(Y), M(!1), F.current = !1, U.current = null;
7914
7913
  }, []);
7915
7914
  Ne(() => {
7916
7915
  M(!!A), N(null), R(1), w(0), F.current = !!A, U.current = null, $.current = {};
7917
7916
  }, [A]), Ne(() => {
7918
- const I = U.current;
7919
- if (I == null || T || C <= 0 || j !== "all") return;
7920
- let W = !1, ue = 0;
7917
+ const Y = U.current;
7918
+ if (Y == null || T || C <= 0 || j !== "all") return;
7919
+ let P = !1, ue = 0;
7921
7920
  const be = 120, De = () => {
7922
- if (W) return;
7921
+ if (P) return;
7923
7922
  ue++;
7924
- const Te = Math.max(1, Math.min(Math.floor(I), C));
7923
+ const Te = Math.max(1, Math.min(Math.floor(Y), C));
7925
7924
  let Ze = !0;
7926
7925
  for (let We = 1; We <= Te; We++) {
7927
7926
  const Ue = $.current[We];
@@ -7932,10 +7931,10 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
7932
7931
  }
7933
7932
  if (Ze) {
7934
7933
  requestAnimationFrame(() => {
7935
- if (W) return;
7934
+ if (P) return;
7936
7935
  const We = $.current[Te];
7937
7936
  We && We.scrollIntoView({ block: "start", behavior: "auto" }), U.current = null, requestAnimationFrame(() => {
7938
- W || (F.current = !1);
7937
+ P || (F.current = !1);
7939
7938
  });
7940
7939
  });
7941
7940
  return;
@@ -7947,52 +7946,52 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
7947
7946
  requestAnimationFrame(De);
7948
7947
  };
7949
7948
  return requestAnimationFrame(De), () => {
7950
- W = !0;
7949
+ P = !0;
7951
7950
  };
7952
7951
  }, [T, C, j]);
7953
- const ee = z((I) => {
7954
- R((W) => {
7955
- const ue = Number((W + I).toFixed(2));
7952
+ const ee = z((Y) => {
7953
+ R((P) => {
7954
+ const ue = Number((P + Y).toFixed(2));
7956
7955
  return Math.max(Ja, Math.min(Ga, ue));
7957
7956
  });
7958
7957
  }, []), ne = z(() => {
7959
7958
  if (!A) return;
7960
- const I = window.open(A, "_blank", "noopener,noreferrer");
7961
- I && (I.onload = () => {
7959
+ const Y = window.open(A, "_blank", "noopener,noreferrer");
7960
+ Y && (Y.onload = () => {
7962
7961
  try {
7963
- I.print();
7962
+ Y.print();
7964
7963
  } catch {
7965
7964
  }
7966
7965
  });
7967
7966
  }, [A]), Se = z(() => {
7968
7967
  if (!A) return;
7969
- const I = document.createElement("a");
7970
- I.href = A, I.download = "", I.rel = "noopener noreferrer", I.target = "_blank", document.body.appendChild(I), I.click(), I.remove();
7968
+ const Y = document.createElement("a");
7969
+ Y.href = A, Y.download = "", Y.rel = "noopener noreferrer", Y.target = "_blank", document.body.appendChild(Y), Y.click(), Y.remove();
7971
7970
  }, [A]), H = z(() => {
7972
- var W;
7973
- const I = P.current;
7974
- I && ((W = I.requestFullscreen) == null || W.call(I));
7971
+ var P;
7972
+ const Y = q.current;
7973
+ Y && ((P = Y.requestFullscreen) == null || P.call(Y));
7975
7974
  }, []), Z = z(() => {
7976
7975
  document.fullscreenElement && document.exitFullscreen();
7977
7976
  }, []), ce = z(() => {
7978
7977
  if (T || j !== "all" || C <= 0 || F.current) return;
7979
- const I = L.current;
7980
- if (!I) return;
7981
- const W = I.scrollTop + I.clientHeight * 0.35;
7978
+ const Y = L.current;
7979
+ if (!Y) return;
7980
+ const P = Y.scrollTop + Y.clientHeight * 0.35;
7982
7981
  let ue = S, be = Number.POSITIVE_INFINITY;
7983
7982
  for (let De = 1; De <= C; De++) {
7984
7983
  const Te = $.current[De];
7985
7984
  if (!Te) continue;
7986
- const Ze = Math.abs(Te.offsetTop - W);
7985
+ const Ze = Math.abs(Te.offsetTop - P);
7987
7986
  Ze < be && (be = Ze, ue = De);
7988
7987
  }
7989
7988
  ue !== S && D(ue);
7990
7989
  }, [T, j, C, S]);
7991
7990
  return Ne(() => {
7992
7991
  if (!u || typeof u != "object") return;
7993
- const I = u._pdfCmdNonce, W = u.pdfCommand, ue = u.pdfCommandArg;
7994
- if (!(I == null || I === J.current || !W)) {
7995
- switch (J.current = I, W) {
7992
+ const Y = u._pdfCmdNonce, P = u.pdfCommand, ue = u.pdfCommandArg;
7993
+ if (!(Y == null || Y === J.current || !P)) {
7994
+ switch (J.current = Y, P) {
7996
7995
  case "print":
7997
7996
  ne();
7998
7997
  break;
@@ -8049,7 +8048,7 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
8049
8048
  ]), /* @__PURE__ */ p(
8050
8049
  "div",
8051
8050
  {
8052
- ref: P,
8051
+ ref: q,
8053
8052
  className: m,
8054
8053
  style: {
8055
8054
  display: "flex",
@@ -8103,11 +8102,11 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
8103
8102
  onLoadError: ge,
8104
8103
  loading: null,
8105
8104
  options: se,
8106
- children: ae.map((I) => /* @__PURE__ */ p(
8105
+ children: ae.map((Y) => /* @__PURE__ */ p(
8107
8106
  "div",
8108
8107
  {
8109
- ref: (W) => {
8110
- $.current[I] = W;
8108
+ ref: (P) => {
8109
+ $.current[Y] = P;
8111
8110
  },
8112
8111
  style: {
8113
8112
  display: "flex",
@@ -8118,15 +8117,15 @@ const Ja = 0.5, Ga = 3, Wn = 0.1, tl = ({
8118
8117
  children: /* @__PURE__ */ p(
8119
8118
  Ni,
8120
8119
  {
8121
- pageNumber: I,
8120
+ pageNumber: Y,
8122
8121
  width: V === "width" ? te : void 0,
8123
- height: V === "height" ? q : void 0,
8122
+ height: V === "height" ? W : void 0,
8124
8123
  renderTextLayer: !1,
8125
8124
  renderAnnotationLayer: !1
8126
8125
  }
8127
8126
  )
8128
8127
  },
8129
- I
8128
+ Y
8130
8129
  ))
8131
8130
  },
8132
8131
  A
@@ -8250,7 +8249,7 @@ function lt(t, e) {
8250
8249
  events: K,
8251
8250
  // 其余配置直接透传
8252
8251
  ...R
8253
- } = a, P = Re(null), L = _((ve) => ve.getDataSet), $ = _((ve) => ve.addCommand), F = f(() => {
8252
+ } = a, q = Re(null), L = _((ve) => ve.getDataSet), $ = _((ve) => ve.addCommand), F = f(() => {
8254
8253
  if (m && b) {
8255
8254
  const pe = L(m, b);
8256
8255
  if (pe !== void 0) return pe;
@@ -8259,7 +8258,7 @@ function lt(t, e) {
8259
8258
  return ve !== void 0 ? ve : d ? r : [];
8260
8259
  }, [y, m, b, L, d]), U = (ve) => {
8261
8260
  var pe;
8262
- if (P.current = ve, !d && s) {
8261
+ if (q.current = ve, !d && s) {
8263
8262
  const Ae = $e(K);
8264
8263
  Ae && typeof Ae == "object" && Object.entries(Ae).forEach(([ge, ee]) => {
8265
8264
  typeof ee == "string" && ve.on(ge, (ne) => {
@@ -8272,7 +8271,7 @@ function lt(t, e) {
8272
8271
  });
8273
8272
  }
8274
8273
  (pe = R.onReady) == null || pe.call(R, ve);
8275
- }, G = $e(l) || {}, Y = {
8274
+ }, G = $e(l) || {}, I = {
8276
8275
  data: F,
8277
8276
  // 优先使用 common 中的配置,没配置则使用默认值
8278
8277
  height: G.height ?? i,
@@ -8284,29 +8283,29 @@ function lt(t, e) {
8284
8283
  onReady: U,
8285
8284
  ...R
8286
8285
  }, de = $e(C);
8287
- de !== void 0 && (Y.title = de);
8286
+ de !== void 0 && (I.title = de);
8288
8287
  const fe = $e(w);
8289
- fe !== void 0 && (Y.legend = fe);
8288
+ fe !== void 0 && (I.legend = fe);
8290
8289
  const J = $e(S);
8291
- J !== void 0 && (Y.label = J);
8290
+ J !== void 0 && (I.label = J);
8292
8291
  const se = $e(D);
8293
- se !== void 0 && (Y.tooltip = se);
8292
+ se !== void 0 && (I.tooltip = se);
8294
8293
  const me = $e(k);
8295
- me !== void 0 && (Y.scale = me);
8294
+ me !== void 0 && (I.scale = me);
8296
8295
  const X = $e(N);
8297
- X !== void 0 && (Y.interaction = X);
8296
+ X !== void 0 && (I.interaction = X);
8298
8297
  const ie = $e(T);
8299
- ie !== void 0 && (Y.annotations = ie);
8298
+ ie !== void 0 && (I.annotations = ie);
8300
8299
  const re = $e(M);
8301
- re !== void 0 && (Y.axis = re);
8300
+ re !== void 0 && (I.axis = re);
8302
8301
  const te = $e(j);
8303
- te !== void 0 && (Y.scrollbar = te);
8304
- const q = $e(O);
8305
- q !== void 0 && (Y.slider = q);
8302
+ te !== void 0 && (I.scrollbar = te);
8303
+ const W = $e(O);
8304
+ W !== void 0 && (I.slider = W);
8306
8305
  const ae = $e(V);
8307
- ae !== void 0 && (Y.theme = ae);
8306
+ ae !== void 0 && (I.theme = ae);
8308
8307
  const Ce = $e(B);
8309
- return Ce !== void 0 && (Y.state = Ce), /* @__PURE__ */ p(t, { ...Y });
8308
+ return Ce !== void 0 && (I.state = Ce), /* @__PURE__ */ p(t, { ...I });
8310
8309
  };
8311
8310
  return o.displayName = `withBaseChart(${n})`, o;
8312
8311
  }
@@ -8552,8 +8551,8 @@ export {
8552
8551
  Cs as AndImage,
8553
8552
  Ns as AndImageGroup,
8554
8553
  Uc as AndInput,
8555
- Yc as AndInputArea,
8556
- Ic as AndInputNumber,
8554
+ Ic as AndInputArea,
8555
+ Yc as AndInputNumber,
8557
8556
  Jc as AndInputPassword,
8558
8557
  Gc as AndInputSearch,
8559
8558
  Js as AndIterator,
@@ -8574,8 +8573,8 @@ export {
8574
8573
  Qc as AndSelect,
8575
8574
  us as AndSimpleForm,
8576
8575
  os as AndSlider,
8577
- Is as AndSplitter,
8578
- Ys as AndSplitterPanel,
8576
+ Ys as AndSplitter,
8577
+ Is as AndSplitterPanel,
8579
8578
  ws as AndStatistics,
8580
8579
  As as AndStatisticsCountdown,
8581
8580
  xs as AndSteps,
@@ -8607,10 +8606,10 @@ export {
8607
8606
  mr as collectContextChainRootToLeaf,
8608
8607
  oe as createCommand,
8609
8608
  Bc as createWatchCommands,
8610
- Ot as deriveScopedComponentId,
8609
+ wt as deriveScopedComponentId,
8611
8610
  wo as dictValueEquals,
8612
8611
  nl as dispatchPdfViewerCommand,
8613
- Ya as ensurePdfjsWorker,
8612
+ Ia as ensurePdfjsWorker,
8614
8613
  nt as findDictOptionByValue,
8615
8614
  Lc as flattenScopeChain,
8616
8615
  Uo as formatByType,
@@ -8618,8 +8617,8 @@ export {
8618
8617
  Je as getCoreConfig,
8619
8618
  le as getDataSetStoreKey,
8620
8619
  yn as getDictOptions,
8621
- kt as getNestedValue,
8622
- Nt as getValidateStoreKey,
8620
+ _t as getNestedValue,
8621
+ Tt as getValidateStoreKey,
8623
8622
  ji as initReactMount,
8624
8623
  gr as isTokenName,
8625
8624
  zc as layoutKeyPrefixFromContext,