@nuwatop/code-canvas-core 0.5.65 → 0.5.66

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,30 +1,30 @@
1
1
  import { jsx as p, jsxs as ye, Fragment as St } from "react/jsx-runtime";
2
- import { createRoot as _r } from "react-dom/client";
3
- import { theme as ct, ConfigProvider as Ke, Button as st, Tooltip as Wn, Space as _e, Input as qt, InputNumber as Hn, Select as Un, Switch as Er, DatePicker as Yn, TimePicker as Or, Radio as Yt, Checkbox as bt, Rate as $r, Slider as Mr, Cascader as Rr, TreeSelect as jr, message as Bt, Upload as Br, Image as at, AutoComplete as Kr, Form as Ft, Transfer as Lr, Segmented as zr, Modal as In, Table as Fr, Flex as Jn, Typography as mn, Tabs as Vr, Tree as qr, Timeline as Pr, Steps as Wr, Statistic as en, Carousel as Hr, Avatar as Ur, Tag as Gn, Pagination as Qn, Breadcrumb as Yr, Menu as Ir, Calendar as Jr, Badge as Zn, Masonry as Gr, Alert as Xn, Drawer as Qr, Result as Zr, Card as tn, Divider as wn, Dropdown as Xr, Row as ei, Col as ti, QRCode as ni, Splitter as It, Spin as er, Watermark as ri, Empty as ii } from "antd";
4
- import { StyleProvider as oi, createCache as ai } from "@ant-design/cssinjs";
5
- import ci from "antd/locale/zh_CN";
6
- import { create as si } from "zustand";
7
- import { subscribeWithSelector as li } from "zustand/middleware";
8
- import { immer as ui } from "zustand/middleware/immer";
9
- import Le, { useMemo as m, useCallback as F, useEffect as Ce, createContext as di, useContext as Ge, useState as we, useRef as Re, useLayoutEffect as tr, useId as fi, Suspense as mi } from "react";
10
- import * as Je from "@ant-design/icons";
11
- import { CloseCircleOutlined as yi, PlusOutlined as nr, UploadOutlined as hi, MenuOutlined as gi, MinusOutlined as pi, LeftOutlined as rr, RightOutlined as ir, UpOutlined as vi, DownOutlined as or, ApiOutlined as bi, InboxOutlined as Si, FilePdfOutlined as wi } from "@ant-design/icons";
12
- import xi from "clsx";
2
+ import { createRoot as Er } 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 Or, DatePicker as Yn, TimePicker as $r, Radio as It, Checkbox as bt, Rate as Mr, Slider as Rr, Cascader as jr, TreeSelect as Br, message as Bt, Upload as Kr, Image as at, AutoComplete as Lr, Form as Ft, Transfer as zr, Segmented as Fr, Modal as Jn, Table as Vr, Flex as Gn, Typography as mn, Tabs as qr, Tree as Pr, Timeline as Wr, Steps as Hr, Statistic as en, Carousel as Ur, Avatar as Ir, Tag as Qn, Pagination as Zn, Breadcrumb as Yr, Menu as Jr, Calendar as Gr, Badge as Xn, Masonry as Qr, Alert as er, Drawer as Zr, Result as Xr, Card as tn, Divider as wn, Dropdown as ei, Row as ti, Col as ni, QRCode as ri, Splitter as Yt, Spin as tr, Watermark as ii, Empty as oi } from "antd";
4
+ import { StyleProvider as ai, createCache as ci } from "@ant-design/cssinjs";
5
+ import si from "antd/locale/zh_CN";
6
+ import { create as li } from "zustand";
7
+ import { subscribeWithSelector as ui } from "zustand/middleware";
8
+ import { immer as di } from "zustand/middleware/immer";
9
+ import Le, { useMemo as m, useCallback as F, useEffect as Ce, createContext as fi, useContext as Qe, useState as we, useRef as Re, useLayoutEffect as nr, useId as mi, Suspense as yi } from "react";
10
+ import * as Ge from "@ant-design/icons";
11
+ import { CloseCircleOutlined as hi, PlusOutlined as rr, UploadOutlined as gi, MenuOutlined as pi, MinusOutlined as vi, LeftOutlined as ir, RightOutlined as or, UpOutlined as bi, DownOutlined as ar, ApiOutlined as Si, InboxOutlined as wi, FilePdfOutlined as xi } from "@ant-design/icons";
12
+ import Ai from "clsx";
13
13
  import tt from "dayjs";
14
- import { pdfjs as ar, Document as Ai, Page as Di } from "react-pdf";
14
+ import { pdfjs as cr, Document as Di, Page as Ni } from "react-pdf";
15
15
  import "react-pdf/dist/Page/TextLayer.css";
16
16
  import "react-pdf/dist/Page/AnnotationLayer.css";
17
- import { Line as Ni, Column as Ci, Pie as Ti, Area as ki, DualAxes as _i, Gauge as Ei, Liquid as Oi, Bar as $i } from "@ant-design/plots";
17
+ import { Line as Ci, Column as Ti, Pie as ki, Area as _i, DualAxes as Ei, Gauge as Oi, Liquid as $i, Bar as Mi } from "@ant-design/plots";
18
18
  const Kt = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap();
19
19
  let rn = !1;
20
- const Mi = () => {
20
+ const Ri = () => {
21
21
  rn || (rn = !0);
22
- }, Ri = (t) => {
22
+ }, ji = (t) => {
23
23
  let e = nn.get(t);
24
- return e || (e = ai(), nn.set(t, e)), e;
25
- }, Dc = (t) => {
24
+ return e || (e = ci(), nn.set(t, e)), e;
25
+ }, Nc = (t) => {
26
26
  t && nn.delete(t);
27
- }, Nc = async ({
27
+ }, Cc = async ({
28
28
  el: t,
29
29
  component: e,
30
30
  props: n = {},
@@ -33,7 +33,7 @@ const Mi = () => {
33
33
  skipUnmount: o = !1
34
34
  }) => {
35
35
  var N;
36
- Mi();
36
+ Ri();
37
37
  const a = Kt.get(t);
38
38
  if (a) {
39
39
  if (o)
@@ -52,12 +52,12 @@ const Mi = () => {
52
52
  }
53
53
  Kt.delete(t);
54
54
  }
55
- const c = _r(t);
55
+ const c = Er(t);
56
56
  Kt.set(t, c);
57
- const s = window.__ANTD_CSSINJS_CONTAINER__, d = window.__ANTD_IFRAME_DOC__, v = !r && s && d && d.defaultView !== null, h = v ? s : window.document.head, f = v ? d : window.document, b = Ri(f), g = (((N = window.__GLS_COMPS__) == null ? void 0 : N.theme) || i) === "dark" ? ct.darkAlgorithm : ct.defaultAlgorithm, u = (x) => /* @__PURE__ */ p(oi, { cache: b, container: h, hashPriority: "high", children: /* @__PURE__ */ p(
57
+ const s = window.__ANTD_CSSINJS_CONTAINER__, d = window.__ANTD_IFRAME_DOC__, v = !r && s && d && d.defaultView !== null, h = v ? s : window.document.head, f = v ? d : window.document, b = ji(f), g = (((N = window.__GLS_COMPS__) == null ? void 0 : N.theme) || i) === "dark" ? ct.darkAlgorithm : ct.defaultAlgorithm, u = (x) => /* @__PURE__ */ p(ai, { cache: b, container: h, hashPriority: "high", children: /* @__PURE__ */ p(
58
58
  Ke,
59
59
  {
60
- locale: ci,
60
+ locale: si,
61
61
  theme: {
62
62
  algorithm: g,
63
63
  cssVar: {
@@ -86,7 +86,7 @@ const Mi = () => {
86
86
  window.__CURRENT_STYLE_CONTAINER__ = h, c.render(u(x));
87
87
  }
88
88
  };
89
- }, Cc = () => {
89
+ }, Tc = () => {
90
90
  console.info("[code-canvas-core] Cleanup called - components will be garbage collected"), rn = !1;
91
91
  };
92
92
  function wt(t) {
@@ -132,7 +132,7 @@ function kt(t, e) {
132
132
  }
133
133
  return n;
134
134
  }
135
- function ji(t, e, n) {
135
+ function Bi(t, e, n) {
136
136
  if (!e.length) return n;
137
137
  const i = Array.isArray(t) ? [...t] : { ...t };
138
138
  let r = i;
@@ -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], f = n.length === 0 ? h : kt(h ?? {}, n), b = i(f), y = n.length === 0 ? b : ji(h ?? {}, n, b), l = [...v];
169
+ const h = v[o], f = n.length === 0 ? h : kt(h ?? {}, n), b = i(f), y = n.length === 0 ? b : Bi(h ?? {}, n, b), l = [...v];
170
170
  l[o] = y, t.dataSets[r] = { ...d, value: l };
171
171
  return;
172
172
  }
@@ -183,9 +183,9 @@ function An(t, e, n, i) {
183
183
  const c = n[n.length - 1], s = a[c.key];
184
184
  a[c.key] = i(s);
185
185
  }
186
- const _ = si()(
187
- li(
188
- ui((t, e) => ({
186
+ const _ = li()(
187
+ ui(
188
+ di((t, e) => ({
189
189
  ...xn,
190
190
  // ============ 数据集操作(支持 name[index] 与 field 多级路径;append 默认 true 为合并更新) ============
191
191
  setDataSet: (n, i, r, o = !0) => t((a) => {
@@ -266,7 +266,7 @@ const _ = si()(
266
266
  }))
267
267
  )
268
268
  );
269
- function Tc(t) {
269
+ function kc(t) {
270
270
  const { dataSet: e, dataSetField: n } = t, i = _((r) => r.setDataSet);
271
271
  return {
272
272
  get value() {
@@ -278,7 +278,7 @@ function Tc(t) {
278
278
  }
279
279
  };
280
280
  }
281
- function kc(t) {
281
+ function _c(t) {
282
282
  const e = _((n) => n.setDataSetBatch);
283
283
  return {
284
284
  get value() {
@@ -289,13 +289,13 @@ function kc(t) {
289
289
  }
290
290
  };
291
291
  }
292
- function _c() {
292
+ function Ec() {
293
293
  return _((t) => t.addCommand);
294
294
  }
295
- function Ec() {
295
+ function Oc() {
296
296
  return _((t) => t.popCommand);
297
297
  }
298
- function Bi(t, e) {
298
+ function Ki(t, e) {
299
299
  const n = _((r) => {
300
300
  if (!t) return;
301
301
  const o = wt(t).baseName;
@@ -307,7 +307,7 @@ function Bi(t, e) {
307
307
  return Array.isArray(o) ? o : o != null && typeof o == "object" && Array.isArray(o.value) ? o.value : [];
308
308
  }, [n, t, e, i]);
309
309
  }
310
- function Oc() {
310
+ function $c() {
311
311
  const t = _((o) => o.setDataSetBatch), e = _((o) => o.setDataSet), n = _((o) => o.updateDataSet), i = _((o) => o.getDataSet), r = _.getState;
312
312
  return {
313
313
  get items() {
@@ -328,7 +328,7 @@ function Oc() {
328
328
  getItem: (o) => r().dataSets[o] || {}
329
329
  };
330
330
  }
331
- function $c(t) {
331
+ function Mc(t) {
332
332
  const e = _((o) => o.addCommand), n = _((o) => o.popCommand), i = _((o) => o.getCommands), r = _((o) => o.clearCommands);
333
333
  return {
334
334
  commands: i(t),
@@ -343,7 +343,7 @@ function $c(t) {
343
343
  clearCommands: () => r(t)
344
344
  };
345
345
  }
346
- function Ki(t, e, n = {}) {
346
+ function Li(t, e, n = {}) {
347
347
  return _.subscribe(
348
348
  (r) => r.commandQueues[e],
349
349
  (r) => {
@@ -363,10 +363,10 @@ function Ki(t, e, n = {}) {
363
363
  }
364
364
  );
365
365
  }
366
- function Mc(t) {
366
+ function Rc(t) {
367
367
  return function(e, n) {
368
368
  const i = t();
369
- return Ki(e, n, i);
369
+ return Li(e, n, i);
370
370
  };
371
371
  }
372
372
  function dt(t, e = null, n = {}) {
@@ -393,10 +393,10 @@ function dt(t, e = null, n = {}) {
393
393
  function ke(t, e, n = {}) {
394
394
  return dt(t, e, n);
395
395
  }
396
- function cr(t, e = {}) {
396
+ function sr(t, e = {}) {
397
397
  return dt(t, null, e);
398
398
  }
399
- function Rc(t, e = {}) {
399
+ function jc(t, e = {}) {
400
400
  return dt(t, null, e);
401
401
  }
402
402
  function oe(t, e) {
@@ -416,7 +416,7 @@ function ft() {
416
416
  return t;
417
417
  }, ft.apply(this, arguments);
418
418
  }
419
- function Li(t, e) {
419
+ function zi(t, e) {
420
420
  t.prototype = Object.create(e.prototype), t.prototype.constructor = t, _t(t, e);
421
421
  }
422
422
  function on(t) {
@@ -429,7 +429,7 @@ function _t(t, e) {
429
429
  return i.__proto__ = r, i;
430
430
  }, _t(t, e);
431
431
  }
432
- function zi() {
432
+ function Fi() {
433
433
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
434
434
  if (typeof Proxy == "function") return !0;
435
435
  try {
@@ -440,20 +440,20 @@ function zi() {
440
440
  }
441
441
  }
442
442
  function Vt(t, e, n) {
443
- return zi() ? Vt = Reflect.construct.bind() : Vt = function(r, o, a) {
443
+ return Fi() ? Vt = Reflect.construct.bind() : Vt = function(r, o, a) {
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
447
  return a && _t(d, a.prototype), d;
448
448
  }, Vt.apply(null, arguments);
449
449
  }
450
- function Fi(t) {
450
+ function Vi(t) {
451
451
  return Function.toString.call(t).indexOf("[native code]") !== -1;
452
452
  }
453
453
  function an(t) {
454
454
  var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
455
455
  return an = function(i) {
456
- if (i === null || !Fi(i)) return i;
456
+ if (i === null || !Vi(i)) return i;
457
457
  if (typeof i != "function")
458
458
  throw new TypeError("Super expression must either be null or a function");
459
459
  if (typeof e < "u") {
@@ -473,9 +473,9 @@ function an(t) {
473
473
  }), _t(r, i);
474
474
  }, an(t);
475
475
  }
476
- var Vi = /%[sdj%]/g, sr = function() {
476
+ var qi = /%[sdj%]/g, lr = function() {
477
477
  };
478
- typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (sr = function(e, n) {
478
+ typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (lr = function(e, n) {
479
479
  typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && n.every(function(i) {
480
480
  return typeof i == "string";
481
481
  }) && console.warn(e, n);
@@ -495,7 +495,7 @@ function qe(t) {
495
495
  if (typeof t == "function")
496
496
  return t.apply(null, n);
497
497
  if (typeof t == "string") {
498
- var a = t.replace(Vi, function(c) {
498
+ var a = t.replace(qi, function(c) {
499
499
  if (c === "%%")
500
500
  return "%";
501
501
  if (r >= o)
@@ -520,13 +520,13 @@ function qe(t) {
520
520
  }
521
521
  return t;
522
522
  }
523
- function qi(t) {
523
+ function Pi(t) {
524
524
  return t === "string" || t === "url" || t === "hex" || t === "email" || t === "date" || t === "pattern";
525
525
  }
526
526
  function Be(t, e) {
527
- return !!(t == null || e === "array" && Array.isArray(t) && !t.length || qi(e) && typeof t == "string" && !t);
527
+ return !!(t == null || e === "array" && Array.isArray(t) && !t.length || Pi(e) && typeof t == "string" && !t);
528
528
  }
529
- function Pi(t, e, n) {
529
+ function Wi(t, e, n) {
530
530
  var i = [], r = 0, o = t.length;
531
531
  function a(c) {
532
532
  i.push.apply(i, c || []), r++, r === o && n(i);
@@ -547,26 +547,26 @@ function Dn(t, e, n) {
547
547
  }
548
548
  o([]);
549
549
  }
550
- function Wi(t) {
550
+ function Hi(t) {
551
551
  var e = [];
552
552
  return Object.keys(t).forEach(function(n) {
553
553
  e.push.apply(e, t[n] || []);
554
554
  }), e;
555
555
  }
556
556
  var Nn = /* @__PURE__ */ function(t) {
557
- Li(e, t);
557
+ zi(e, t);
558
558
  function e(n, i) {
559
559
  var r;
560
560
  return r = t.call(this, "Async Validation Error") || this, r.errors = n, r.fields = i, r;
561
561
  }
562
562
  return e;
563
563
  }(/* @__PURE__ */ an(Error));
564
- function Hi(t, e, n, i, r) {
564
+ function Ui(t, e, n, i, r) {
565
565
  if (e.first) {
566
566
  var o = new Promise(function(f, b) {
567
567
  var y = function(u) {
568
568
  return i(u), u.length ? b(new Nn(u, cn(u))) : f(r);
569
- }, l = Wi(t);
569
+ }, l = Hi(t);
570
570
  Dn(l, n, y);
571
571
  });
572
572
  return o.catch(function(f) {
@@ -580,14 +580,14 @@ function Hi(t, e, n, i, r) {
580
580
  };
581
581
  c.length || (i(v), f(r)), c.forEach(function(l) {
582
582
  var g = t[l];
583
- a.indexOf(l) !== -1 ? Dn(g, n, y) : Pi(g, n, y);
583
+ a.indexOf(l) !== -1 ? Dn(g, n, y) : Wi(g, n, y);
584
584
  });
585
585
  });
586
586
  return h.catch(function(f) {
587
587
  return f;
588
588
  }), h;
589
589
  }
590
- function Ui(t) {
590
+ function Ii(t) {
591
591
  return !!(t && t.message !== void 0);
592
592
  }
593
593
  function Yi(t, e) {
@@ -601,7 +601,7 @@ function Yi(t, e) {
601
601
  function Cn(t, e) {
602
602
  return function(n) {
603
603
  var i;
604
- return t.fullFields ? i = Yi(e, t.fullFields) : i = e[n.field || t.fullField], Ui(n) ? (n.field = n.field || t.fullField, n.fieldValue = i, n) : {
604
+ return t.fullFields ? i = Yi(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
@@ -618,11 +618,11 @@ function Tn(t, e) {
618
618
  }
619
619
  return t;
620
620
  }
621
- var lr = function(e, n, i, r, o, a) {
621
+ var ur = function(e, n, i, r, o, a) {
622
622
  e.required && (!i.hasOwnProperty(e.field) || Be(n, a || e.type)) && r.push(qe(o.messages.required, e.fullField));
623
- }, Ii = function(e, n, i, r, o) {
623
+ }, Ji = function(e, n, i, r, o) {
624
624
  (/^\s+$/.test(n) || n === "") && r.push(qe(o.messages.whitespace, e.fullField));
625
- }, Lt, Ji = function() {
625
+ }, Lt, Gi = function() {
626
626
  if (Lt)
627
627
  return Lt;
628
628
  var t = "[a-fA-F\\d:]", e = function(N) {
@@ -691,26 +691,26 @@ var lr = function(e, n, i, r, o, a) {
691
691
  return typeof e == "string" && e.length <= 320 && !!e.match(kn.email);
692
692
  },
693
693
  url: function(e) {
694
- return typeof e == "string" && e.length <= 2048 && !!e.match(Ji());
694
+ return typeof e == "string" && e.length <= 2048 && !!e.match(Gi());
695
695
  },
696
696
  hex: function(e) {
697
697
  return typeof e == "string" && !!e.match(kn.hex);
698
698
  }
699
- }, Gi = function(e, n, i, r, o) {
699
+ }, Qi = function(e, n, i, r, o) {
700
700
  if (e.required && n === void 0) {
701
- lr(e, n, i, r, o);
701
+ ur(e, n, i, r, o);
702
702
  return;
703
703
  }
704
704
  var a = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], c = e.type;
705
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
- }, Qi = function(e, n, i, r, o) {
706
+ }, Zi = 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, f = typeof n == "number", b = typeof n == "string", y = Array.isArray(n);
708
708
  if (f ? h = "number" : b ? h = "string" : y && (h = "array"), !h)
709
709
  return !1;
710
710
  y && (v = n.length), b && (v = n.replace(d, "_").length), a ? v !== e.len && r.push(qe(o.messages[h].len, e.fullField, e.len)) : c && !s && v < e.min ? r.push(qe(o.messages[h].min, e.fullField, e.min)) : s && !c && v > e.max ? r.push(qe(o.messages[h].max, e.fullField, e.max)) : c && s && (v < e.min || v > e.max) && r.push(qe(o.messages[h].range, e.fullField, e.min, e.max));
711
- }, gt = "enum", Zi = function(e, n, i, r, o) {
711
+ }, gt = "enum", Xi = function(e, n, i, r, o) {
712
712
  e[gt] = Array.isArray(e[gt]) ? e[gt] : [], e[gt].indexOf(n) === -1 && r.push(qe(o.messages[gt], e.fullField, e[gt].join(", ")));
713
- }, Xi = function(e, n, i, r, o) {
713
+ }, eo = function(e, n, i, r, o) {
714
714
  if (e.pattern) {
715
715
  if (e.pattern instanceof RegExp)
716
716
  e.pattern.lastIndex = 0, e.pattern.test(n) || r.push(qe(o.messages.pattern.mismatch, e.fullField, n, e.pattern));
@@ -720,13 +720,13 @@ var lr = function(e, n, i, r, o, a) {
720
720
  }
721
721
  }
722
722
  }, xe = {
723
- required: lr,
724
- whitespace: Ii,
725
- type: Gi,
726
- range: Qi,
727
- enum: Zi,
728
- pattern: Xi
729
- }, eo = function(e, n, i, r, o) {
723
+ required: ur,
724
+ whitespace: Ji,
725
+ type: Qi,
726
+ range: Zi,
727
+ enum: Xi,
728
+ pattern: eo
729
+ }, to = function(e, n, i, r, o) {
730
730
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
731
731
  if (c) {
732
732
  if (Be(n, "string") && !e.required)
@@ -734,7 +734,7 @@ var lr = function(e, n, i, r, o, a) {
734
734
  xe.required(e, n, r, a, o, "string"), Be(n, "string") || (xe.type(e, n, r, a, o), xe.range(e, n, r, a, o), xe.pattern(e, n, r, a, o), e.whitespace === !0 && xe.whitespace(e, n, r, a, o));
735
735
  }
736
736
  i(a);
737
- }, to = function(e, n, i, r, o) {
737
+ }, no = function(e, n, i, r, o) {
738
738
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
739
739
  if (c) {
740
740
  if (Be(n) && !e.required)
@@ -742,7 +742,7 @@ var lr = function(e, n, i, r, o, a) {
742
742
  xe.required(e, n, r, a, o), n !== void 0 && xe.type(e, n, r, a, o);
743
743
  }
744
744
  i(a);
745
- }, no = function(e, n, i, r, o) {
745
+ }, ro = function(e, n, i, r, o) {
746
746
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
747
747
  if (c) {
748
748
  if (n === "" && (n = void 0), Be(n) && !e.required)
@@ -750,7 +750,7 @@ var lr = function(e, n, i, r, o, a) {
750
750
  xe.required(e, n, r, a, o), n !== void 0 && (xe.type(e, n, r, a, o), xe.range(e, n, r, a, o));
751
751
  }
752
752
  i(a);
753
- }, ro = function(e, n, i, r, o) {
753
+ }, io = function(e, n, i, r, o) {
754
754
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
755
755
  if (c) {
756
756
  if (Be(n) && !e.required)
@@ -758,7 +758,7 @@ var lr = function(e, n, i, r, o, a) {
758
758
  xe.required(e, n, r, a, o), n !== void 0 && xe.type(e, n, r, a, o);
759
759
  }
760
760
  i(a);
761
- }, io = function(e, n, i, r, o) {
761
+ }, oo = function(e, n, i, r, o) {
762
762
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
763
763
  if (c) {
764
764
  if (Be(n) && !e.required)
@@ -766,7 +766,7 @@ var lr = function(e, n, i, r, o, a) {
766
766
  xe.required(e, n, r, a, o), Be(n) || xe.type(e, n, r, a, o);
767
767
  }
768
768
  i(a);
769
- }, oo = function(e, n, i, r, o) {
769
+ }, ao = function(e, n, i, r, o) {
770
770
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
771
771
  if (c) {
772
772
  if (Be(n) && !e.required)
@@ -774,7 +774,7 @@ var lr = function(e, n, i, r, o, a) {
774
774
  xe.required(e, n, r, a, o), n !== void 0 && (xe.type(e, n, r, a, o), xe.range(e, n, r, a, o));
775
775
  }
776
776
  i(a);
777
- }, ao = function(e, n, i, r, o) {
777
+ }, co = function(e, n, i, r, o) {
778
778
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
779
779
  if (c) {
780
780
  if (Be(n) && !e.required)
@@ -782,7 +782,7 @@ var lr = function(e, n, i, r, o, a) {
782
782
  xe.required(e, n, r, a, o), n !== void 0 && (xe.type(e, n, r, a, o), xe.range(e, n, r, a, o));
783
783
  }
784
784
  i(a);
785
- }, co = function(e, n, i, r, o) {
785
+ }, so = function(e, n, i, r, o) {
786
786
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
787
787
  if (c) {
788
788
  if (n == null && !e.required)
@@ -790,7 +790,7 @@ var lr = function(e, n, i, r, o, a) {
790
790
  xe.required(e, n, r, a, o, "array"), n != null && (xe.type(e, n, r, a, o), xe.range(e, n, r, a, o));
791
791
  }
792
792
  i(a);
793
- }, so = function(e, n, i, r, o) {
793
+ }, lo = function(e, n, i, r, o) {
794
794
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
795
795
  if (c) {
796
796
  if (Be(n) && !e.required)
@@ -798,15 +798,15 @@ var lr = function(e, n, i, r, o, a) {
798
798
  xe.required(e, n, r, a, o), n !== void 0 && xe.type(e, n, r, a, o);
799
799
  }
800
800
  i(a);
801
- }, lo = "enum", uo = function(e, n, i, r, o) {
801
+ }, uo = "enum", fo = function(e, n, i, r, o) {
802
802
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
803
803
  if (c) {
804
804
  if (Be(n) && !e.required)
805
805
  return i();
806
- xe.required(e, n, r, a, o), n !== void 0 && xe[lo](e, n, r, a, o);
806
+ xe.required(e, n, r, a, o), n !== void 0 && xe[uo](e, n, r, a, o);
807
807
  }
808
808
  i(a);
809
- }, fo = function(e, n, i, r, o) {
809
+ }, mo = function(e, n, i, r, o) {
810
810
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
811
811
  if (c) {
812
812
  if (Be(n, "string") && !e.required)
@@ -814,7 +814,7 @@ var lr = function(e, n, i, r, o, a) {
814
814
  xe.required(e, n, r, a, o), Be(n, "string") || xe.pattern(e, n, r, a, o);
815
815
  }
816
816
  i(a);
817
- }, mo = function(e, n, i, r, o) {
817
+ }, yo = function(e, n, i, r, o) {
818
818
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
819
819
  if (c) {
820
820
  if (Be(n, "date") && !e.required)
@@ -825,7 +825,7 @@ var lr = function(e, n, i, r, o, a) {
825
825
  }
826
826
  }
827
827
  i(a);
828
- }, yo = function(e, n, i, r, o) {
828
+ }, ho = function(e, n, i, r, o) {
829
829
  var a = [], c = Array.isArray(n) ? "array" : typeof n;
830
830
  xe.required(e, n, r, a, o, c), i(a);
831
831
  }, Jt = function(e, n, i, r, o) {
@@ -836,7 +836,7 @@ var lr = function(e, n, i, r, o, a) {
836
836
  xe.required(e, n, r, c, o, a), Be(n, a) || xe.type(e, n, r, c, o);
837
837
  }
838
838
  i(c);
839
- }, ho = function(e, n, i, r, o) {
839
+ }, go = function(e, n, i, r, o) {
840
840
  var a = [], c = e.required || !e.required && r.hasOwnProperty(e.field);
841
841
  if (c) {
842
842
  if (Be(n) && !e.required)
@@ -845,23 +845,23 @@ var lr = function(e, n, i, r, o, a) {
845
845
  }
846
846
  i(a);
847
847
  }, Tt = {
848
- string: eo,
849
- method: to,
850
- number: no,
851
- boolean: ro,
852
- regexp: io,
853
- integer: oo,
854
- float: ao,
855
- array: co,
856
- object: so,
857
- enum: uo,
858
- pattern: fo,
859
- date: mo,
848
+ string: to,
849
+ method: no,
850
+ number: ro,
851
+ boolean: io,
852
+ regexp: oo,
853
+ integer: ao,
854
+ float: co,
855
+ array: so,
856
+ object: lo,
857
+ enum: fo,
858
+ pattern: mo,
859
+ date: yo,
860
860
  url: Jt,
861
861
  hex: Jt,
862
862
  email: Jt,
863
- required: yo,
864
- any: ho
863
+ required: ho,
864
+ any: go
865
865
  };
866
866
  function sn() {
867
867
  return {
@@ -974,7 +974,7 @@ var ln = sn(), Et = /* @__PURE__ */ function() {
974
974
  });
975
975
  });
976
976
  var y = {};
977
- return Hi(f, s, function(l, g) {
977
+ return Ui(f, 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 w(S, D) {
@@ -1048,10 +1048,10 @@ Et.register = function(e, n) {
1048
1048
  throw new Error("Cannot register a validator by type, validator is not a function");
1049
1049
  Tt[e] = n;
1050
1050
  };
1051
- Et.warning = sr;
1051
+ Et.warning = lr;
1052
1052
  Et.messages = ln;
1053
1053
  Et.validators = Tt;
1054
- function go(t) {
1054
+ function po(t) {
1055
1055
  if (!t || typeof t != "string") return null;
1056
1056
  try {
1057
1057
  let e = t.trim();
@@ -1060,18 +1060,18 @@ function go(t) {
1060
1060
  return null;
1061
1061
  }
1062
1062
  }
1063
- function ur(t) {
1063
+ function dr(t) {
1064
1064
  return !t || !Array.isArray(t) ? [] : t.map((e) => {
1065
1065
  const n = { ...e };
1066
1066
  if (n.pattern && typeof n.pattern == "string" && n.pattern.trim()) {
1067
- const i = go(n.pattern);
1067
+ const i = po(n.pattern);
1068
1068
  i ? n.pattern = i : delete n.pattern;
1069
1069
  }
1070
1070
  return n;
1071
1071
  });
1072
1072
  }
1073
1073
  const _n = "_v";
1074
- function dr(t, e, n, i) {
1074
+ function fr(t, e, n, i) {
1075
1075
  if (!(t != null && t.length)) {
1076
1076
  n();
1077
1077
  return;
@@ -1119,8 +1119,8 @@ function ze(t) {
1119
1119
  [r, n, i, o, c, s, d]
1120
1120
  ), A = F(
1121
1121
  (x) => {
1122
- const S = ur(e || []);
1123
- dr(
1122
+ const S = dr(e || []);
1123
+ fr(
1124
1124
  S,
1125
1125
  x,
1126
1126
  () => u(""),
@@ -1138,9 +1138,9 @@ function ze(t) {
1138
1138
  A(x);
1139
1139
  }, [g, y, i, b, A]), { validate: A, help: w, validateStatus: N };
1140
1140
  }
1141
- const po = ["value", "validateStatus", "help"];
1141
+ const vo = ["value", "validateStatus", "help"];
1142
1142
  function Fe(t, e, n) {
1143
- const i = (n == null ? void 0 : n.skipKeys) ?? po, r = { ...t };
1143
+ const i = (n == null ? void 0 : n.skipKeys) ?? vo, r = { ...t };
1144
1144
  return !e || typeof e != "object" || Object.keys(e).forEach((o) => {
1145
1145
  if (i.includes(o)) return;
1146
1146
  const a = e[o];
@@ -1155,21 +1155,24 @@ function Ot(t, e, n) {
1155
1155
  const o = i !== void 0 ? i : r !== void 0 ? r : typeof n == "number" ? n : void 0;
1156
1156
  return o !== void 0 && Number.isFinite(o) ? `${String(t)}_${o}` : String(t);
1157
1157
  }
1158
- const Pe = di(null);
1159
- function et(t) {
1158
+ const Pe = fi(null);
1159
+ function Ye(t) {
1160
1160
  return typeof t == "string" && t.trim() !== "";
1161
1161
  }
1162
- function vo(t, e) {
1162
+ function bo(t, e) {
1163
1163
  return t === "config.cells" && e.startsWith("config.content.") ? `config.${e.slice(15)}` : e;
1164
1164
  }
1165
1165
  function En(t) {
1166
- return et(t) && t.trim().startsWith("[");
1166
+ return Ye(t) && t.trim().startsWith("[");
1167
+ }
1168
+ function On(t) {
1169
+ return Ye(t) && /^items\[\d+\]/.test(t.trim());
1167
1170
  }
1168
1171
  function ot(t, e, n) {
1169
- const i = Ge(Pe);
1172
+ const i = Qe(Pe);
1170
1173
  return m(() => {
1171
1174
  const r = n ?? (i == null ? void 0 : i.sessionId);
1172
- if (et(t))
1175
+ if (Ye(t))
1173
1176
  return {
1174
1177
  dataSet: t,
1175
1178
  dataSetField: e,
@@ -1182,25 +1185,25 @@ function ot(t, e, n) {
1182
1185
  sessionId: r
1183
1186
  };
1184
1187
  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;
1185
- if (et(e)) {
1186
- const d = vo(
1188
+ if (Ye(e)) {
1189
+ const d = bo(
1187
1190
  s,
1188
1191
  e.trim()
1189
1192
  );
1190
1193
  if (d.startsWith("["))
1191
1194
  return {
1192
1195
  dataSet: c,
1193
- dataSetField: et(s) ? `${s}${d}` : d,
1196
+ dataSetField: Ye(s) ? `${s}${d}` : d,
1194
1197
  sessionId: r
1195
1198
  };
1196
- if (typeof a == "number" && typeof o == "number" && et(s) && !En(s))
1199
+ if (typeof a == "number" && typeof o == "number" && Ye(s) && !En(s) && !On(s))
1197
1200
  return {
1198
1201
  dataSet: c,
1199
1202
  dataSetField: `[${a}].${s}[${o}].${d}`,
1200
1203
  sessionId: r
1201
1204
  };
1202
1205
  if (typeof o == "number")
1203
- return et(s) ? {
1206
+ return Ye(s) ? {
1204
1207
  dataSet: c,
1205
1208
  dataSetField: `${s}[${o}].${d}`,
1206
1209
  sessionId: r
@@ -1209,18 +1212,18 @@ function ot(t, e, n) {
1209
1212
  dataSetField: `[${o}].${d}`,
1210
1213
  sessionId: r
1211
1214
  };
1212
- const v = et(s) ? `${s}.${d}` : d;
1215
+ const v = Ye(s) ? `${s}.${d}` : d;
1213
1216
  return {
1214
1217
  dataSet: c,
1215
1218
  dataSetField: v,
1216
1219
  sessionId: r
1217
1220
  };
1218
1221
  }
1219
- return typeof a == "number" && typeof o == "number" && et(s) && !En(s) ? {
1222
+ return typeof a == "number" && typeof o == "number" && Ye(s) && !En(s) && !On(s) ? {
1220
1223
  dataSet: c,
1221
1224
  dataSetField: `[${a}].${s}[${o}]`,
1222
1225
  sessionId: r
1223
- } : typeof o == "number" && et(s) ? {
1226
+ } : typeof o == "number" && Ye(s) ? {
1224
1227
  dataSet: c,
1225
1228
  dataSetField: `${s}[${o}]`,
1226
1229
  sessionId: r
@@ -1230,23 +1233,23 @@ function ot(t, e, n) {
1230
1233
  sessionId: r
1231
1234
  } : {
1232
1235
  dataSet: c,
1233
- dataSetField: et(s) ? s : e,
1236
+ dataSetField: Ye(s) ? s : e,
1234
1237
  sessionId: r
1235
1238
  };
1236
1239
  }, [i, t, e, n]);
1237
1240
  }
1238
- function bo(t, e) {
1241
+ function So(t, e) {
1239
1242
  return t === e ? !0 : String(t ?? "") === String(e ?? "");
1240
1243
  }
1241
1244
  function nt(t, e) {
1242
1245
  if (Array.isArray(t))
1243
- return t.find((n) => bo(n.value, e));
1246
+ return t.find((n) => So(n.value, e));
1244
1247
  }
1245
1248
  let He = {};
1246
- function jc(t) {
1249
+ function Bc(t) {
1247
1250
  He = { ...He, ...t };
1248
1251
  }
1249
- function Ie() {
1252
+ function Je() {
1250
1253
  return He;
1251
1254
  }
1252
1255
  async function mt(t) {
@@ -1261,7 +1264,7 @@ async function mt(t) {
1261
1264
  "Request handler not configured. Please call setCoreConfig() first."
1262
1265
  );
1263
1266
  }
1264
- async function fr(t, e) {
1267
+ async function mr(t, e) {
1265
1268
  if (He.upload)
1266
1269
  return He.upload(t, e);
1267
1270
  throw new Error(
@@ -1276,12 +1279,12 @@ async function yn(t) {
1276
1279
  function un() {
1277
1280
  return He.getAccessToken ? He.getAccessToken() : null;
1278
1281
  }
1279
- const Bc = {
1282
+ const Kc = {
1280
1283
  post: (t, e, n) => mt({ url: t, data: e, method: "POST", ...n }),
1281
1284
  get: (t, e, n) => mt({ url: t, params: e, method: "GET", ...n })
1282
1285
  };
1283
- function So() {
1284
- const t = Ie(), e = F(
1286
+ function wo() {
1287
+ const t = Je(), e = F(
1285
1288
  async (s, d) => {
1286
1289
  const v = typeof s == "string" ? { url: s, ...d } : s;
1287
1290
  return mt(v);
@@ -1297,7 +1300,7 @@ function So() {
1297
1300
  async (s) => yn(s),
1298
1301
  []
1299
1302
  ), o = F(
1300
- async (s, d) => fr(s, d),
1303
+ async (s, d) => mr(s, d),
1301
1304
  []
1302
1305
  ), a = F(() => un(), []), c = F(() => !!t.request, [t.request]);
1303
1306
  return {
@@ -1384,7 +1387,7 @@ const xt = (t) => {
1384
1387
  } else
1385
1388
  e = new Date(t);
1386
1389
  return isNaN(e.getTime()) ? null : e;
1387
- }, wo = (t, e = "CNY", n = {}) => {
1390
+ }, xo = (t, e = "CNY", n = {}) => {
1388
1391
  try {
1389
1392
  const i = xt(t), r = /^[A-Z]{3}$/.test(e) ? e : "CNY";
1390
1393
  return new Intl.NumberFormat("zh-CN", {
@@ -1395,7 +1398,7 @@ const xt = (t) => {
1395
1398
  } catch {
1396
1399
  return "";
1397
1400
  }
1398
- }, xo = (t, e = {}) => {
1401
+ }, Ao = (t, e = {}) => {
1399
1402
  try {
1400
1403
  const n = xt(t);
1401
1404
  return new Intl.NumberFormat("zh-CN", {
@@ -1406,7 +1409,7 @@ const xt = (t) => {
1406
1409
  } catch {
1407
1410
  return "";
1408
1411
  }
1409
- }, Ao = (t, e = 2) => {
1412
+ }, Do = (t, e = 2) => {
1410
1413
  try {
1411
1414
  const n = xt(t), i = Math.max(0, Math.min(20, Math.floor(e)));
1412
1415
  return new Intl.NumberFormat("zh-CN", {
@@ -1417,7 +1420,7 @@ const xt = (t) => {
1417
1420
  } catch {
1418
1421
  return "";
1419
1422
  }
1420
- }, Do = (t, e = "compact") => {
1423
+ }, No = (t, e = "compact") => {
1421
1424
  try {
1422
1425
  const n = xt(t);
1423
1426
  return new Intl.NumberFormat("zh-CN", {
@@ -1427,7 +1430,7 @@ const xt = (t) => {
1427
1430
  } catch {
1428
1431
  return "";
1429
1432
  }
1430
- }, No = (t, e = {}) => {
1433
+ }, Co = (t, e = {}) => {
1431
1434
  try {
1432
1435
  const n = Pt(t);
1433
1436
  return n ? new Intl.DateTimeFormat("zh-CN", {
@@ -1439,7 +1442,7 @@ const xt = (t) => {
1439
1442
  } catch {
1440
1443
  return "";
1441
1444
  }
1442
- }, mr = (t, e = "YYYY-MM-DD") => {
1445
+ }, yr = (t, e = "YYYY-MM-DD") => {
1443
1446
  try {
1444
1447
  const n = Pt(t);
1445
1448
  if (!n) return "";
@@ -1448,7 +1451,7 @@ const xt = (t) => {
1448
1451
  } catch {
1449
1452
  return "";
1450
1453
  }
1451
- }, Co = (t, e = "YYYY-MM-DD HH:mm:ss") => mr(t, e), To = (t) => {
1454
+ }, To = (t, e = "YYYY-MM-DD HH:mm:ss") => yr(t, e), ko = (t) => {
1452
1455
  try {
1453
1456
  const e = Pt(t);
1454
1457
  if (!e) return "";
@@ -1457,7 +1460,7 @@ const xt = (t) => {
1457
1460
  } catch {
1458
1461
  return "";
1459
1462
  }
1460
- }, ko = (t) => {
1463
+ }, _o = (t) => {
1461
1464
  try {
1462
1465
  const e = Math.floor(xt(t));
1463
1466
  if (e < 0 || e > 31536e3) return "";
@@ -1466,7 +1469,7 @@ const xt = (t) => {
1466
1469
  } catch {
1467
1470
  return "";
1468
1471
  }
1469
- }, _o = (t) => {
1472
+ }, Eo = (t) => {
1470
1473
  try {
1471
1474
  const e = Pt(t);
1472
1475
  if (!e) return "";
@@ -1478,7 +1481,7 @@ const xt = (t) => {
1478
1481
  } catch {
1479
1482
  return "";
1480
1483
  }
1481
- }, Eo = (t, e = 2, n = !0) => {
1484
+ }, Oo = (t, e = 2, n = !0) => {
1482
1485
  try {
1483
1486
  const i = xt(t);
1484
1487
  if (i < 0 || i > Number.MAX_SAFE_INTEGER) return "";
@@ -1491,21 +1494,21 @@ const xt = (t) => {
1491
1494
  } catch {
1492
1495
  return "";
1493
1496
  }
1494
- }, Oo = (t, e = "CN") => {
1497
+ }, $o = (t, e = "CN") => {
1495
1498
  try {
1496
1499
  const n = je(t).replace(/\D/g, "");
1497
1500
  return n ? e === "CN" && n.length === 11 && /^1[3-9]\d{9}$/.test(n) ? n.replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3") : e === "US" && n.length === 10 ? n.replace(/(\d{3})(\d{3})(\d{4})/, "($1) $2-$3") : je(t) : "";
1498
1501
  } catch {
1499
1502
  return "";
1500
1503
  }
1501
- }, $o = (t) => {
1504
+ }, Mo = (t) => {
1502
1505
  try {
1503
1506
  const e = je(t).replace(/\D/g, "");
1504
1507
  return e.length === 11 ? e.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2") : je(t);
1505
1508
  } catch {
1506
1509
  return "";
1507
1510
  }
1508
- }, Mo = (t) => {
1511
+ }, Ro = (t) => {
1509
1512
  try {
1510
1513
  const e = je(t);
1511
1514
  if (!e || !e.includes("@")) return "";
@@ -1514,14 +1517,14 @@ const xt = (t) => {
1514
1517
  } catch {
1515
1518
  return "";
1516
1519
  }
1517
- }, Ro = (t, e = !0) => {
1520
+ }, jo = (t, e = !0) => {
1518
1521
  try {
1519
1522
  const n = je(t).replace(/\s/g, "");
1520
1523
  return n.length === 18 && /^\d{17}[\dXx]$/.test(n) ? e ? n.replace(/(\d{6})\d{8}(\d{3}[\dXx])/, "$1********$2") : n.replace(/(\d{6})(\d{8})(\d{4})/, "$1 $2 $3") : "";
1521
1524
  } catch {
1522
1525
  return "";
1523
1526
  }
1524
- }, jo = (t, e = !0) => {
1527
+ }, Bo = (t, e = !0) => {
1525
1528
  try {
1526
1529
  const n = je(t).replace(/\s/g, "");
1527
1530
  if (!/^\d{13,19}$/.test(n)) return "";
@@ -1533,34 +1536,34 @@ const xt = (t) => {
1533
1536
  } catch {
1534
1537
  return "";
1535
1538
  }
1536
- }, Bo = (t) => {
1539
+ }, Ko = (t) => {
1537
1540
  try {
1538
1541
  const e = je(t);
1539
1542
  return e.length <= 1 ? e : e.length === 2 ? e[0] + "*" : e[0] + "*".repeat(e.length - 2) + e[e.length - 1];
1540
1543
  } catch {
1541
1544
  return "";
1542
1545
  }
1543
- }, Ko = (t, e = 50, n = "...") => {
1546
+ }, Lo = (t, e = 50, n = "...") => {
1544
1547
  try {
1545
1548
  const i = je(t), r = Math.max(1, Math.min(1e3, Math.floor(e)));
1546
1549
  return i.length <= r ? i : i.slice(0, r) + n;
1547
1550
  } catch {
1548
1551
  return "";
1549
1552
  }
1550
- }, Lo = (t) => {
1553
+ }, zo = (t) => {
1551
1554
  try {
1552
1555
  const e = je(t);
1553
1556
  return e ? e.charAt(0).toUpperCase() + e.slice(1).toLowerCase() : "";
1554
1557
  } catch {
1555
1558
  return "";
1556
1559
  }
1557
- }, zo = (t, e = ", ") => {
1560
+ }, Fo = (t, e = ", ") => {
1558
1561
  try {
1559
1562
  return Array.isArray(t) ? t.join(e) : je(t);
1560
1563
  } catch {
1561
1564
  return "";
1562
1565
  }
1563
- }, Fo = (t) => ({
1566
+ }, Vo = (t) => ({
1564
1567
  0: "女",
1565
1568
  1: "男",
1566
1569
  2: "未知",
@@ -1570,68 +1573,68 @@ const xt = (t) => {
1570
1573
  f: "女",
1571
1574
  M: "男",
1572
1575
  F: "女"
1573
- })[je(t)] || je(t), Vo = (t, e) => e ? e[je(t)] || je(t) : {
1576
+ })[je(t)] || je(t), qo = (t, e) => e ? e[je(t)] || je(t) : {
1574
1577
  0: "禁用",
1575
1578
  1: "启用",
1576
1579
  true: "是",
1577
1580
  false: "否"
1578
- }[je(t)] || je(t), qo = (t) => {
1581
+ }[je(t)] || je(t), Po = (t) => {
1579
1582
  try {
1580
1583
  return je(t).replace(/<[^>]*>/g, "");
1581
1584
  } catch {
1582
1585
  return "";
1583
1586
  }
1584
1587
  };
1585
- function Po(t, e, n = {}) {
1588
+ function Wo(t, e, n = {}) {
1586
1589
  if (!e || t === void 0 || t === null)
1587
1590
  return je(t);
1588
1591
  switch (e) {
1589
1592
  case "currency":
1590
- return wo(t, n.currency, n);
1593
+ return xo(t, n.currency, n);
1591
1594
  case "number":
1592
- return xo(t, n);
1595
+ return Ao(t, n);
1593
1596
  case "percent":
1594
- return Ao(t, n.precision);
1597
+ return Do(t, n.precision);
1595
1598
  case "compact":
1596
- return Do(t, n.notation);
1599
+ return No(t, n.notation);
1597
1600
  case "timestamp":
1598
- return Co(t, n.pattern);
1601
+ return To(t, n.pattern);
1599
1602
  case "date":
1600
- return No(t, n);
1603
+ return Co(t, n);
1601
1604
  case "dateCustom":
1602
- return mr(t, n.pattern);
1605
+ return yr(t, n.pattern);
1603
1606
  case "relativeTime":
1604
- return To(t);
1605
- case "duration":
1606
1607
  return ko(t);
1607
- case "age":
1608
+ case "duration":
1608
1609
  return _o(t);
1610
+ case "age":
1611
+ return Eo(t);
1609
1612
  case "fileSize":
1610
- return Eo(t, n.precision, n.binary);
1613
+ return Oo(t, n.precision, n.binary);
1611
1614
  case "phone":
1612
- return Oo(t, n.country);
1615
+ return $o(t, n.country);
1613
1616
  case "phoneMask":
1614
- return $o(t);
1615
- case "emailMask":
1616
1617
  return Mo(t);
1618
+ case "emailMask":
1619
+ return Ro(t);
1617
1620
  case "idCard":
1618
- return Ro(t, n.mask);
1619
- case "bankCard":
1620
1621
  return jo(t, n.mask);
1622
+ case "bankCard":
1623
+ return Bo(t, n.mask);
1621
1624
  case "usernameMask":
1622
- return Bo(t);
1625
+ return Ko(t);
1623
1626
  case "truncate":
1624
- return Ko(t, n.maxLength, n.suffix);
1627
+ return Lo(t, n.maxLength, n.suffix);
1625
1628
  case "capitalize":
1626
- return Lo(t);
1629
+ return zo(t);
1627
1630
  case "array":
1628
- return zo(t, n.delimiter);
1631
+ return Fo(t, n.delimiter);
1629
1632
  case "gender":
1630
- return Fo(t);
1633
+ return Vo(t);
1631
1634
  case "status":
1632
- return Vo(t, n.statusMap);
1635
+ return qo(t, n.statusMap);
1633
1636
  case "stripHtml":
1634
- return qo(t);
1637
+ return Po(t);
1635
1638
  default:
1636
1639
  return je(t);
1637
1640
  }
@@ -1667,7 +1670,7 @@ const Wt = {
1667
1670
  colorLink: "colorLink",
1668
1671
  colorLinkHover: "colorLinkHover",
1669
1672
  colorLinkActive: "colorLinkActive"
1670
- }, Kc = Object.keys(Wt), Lc = [
1673
+ }, Lc = Object.keys(Wt), zc = [
1671
1674
  { label: "主色", value: "colorPrimary" },
1672
1675
  { label: "成功", value: "colorSuccess" },
1673
1676
  { label: "警告", value: "colorWarning" },
@@ -1677,29 +1680,29 @@ const Wt = {
1677
1680
  { label: "次级文本", value: "colorTextSecondary" },
1678
1681
  { label: "链接", value: "colorLink" }
1679
1682
  ];
1680
- function yr(t) {
1683
+ function hr(t) {
1681
1684
  return Wt.hasOwnProperty(t);
1682
1685
  }
1683
1686
  function Ht(t) {
1684
1687
  const { token: e } = ct.useToken();
1685
1688
  if (t) {
1686
- if (yr(t)) {
1689
+ if (hr(t)) {
1687
1690
  const n = Wt[t];
1688
1691
  return e[n] || t;
1689
1692
  }
1690
1693
  return t;
1691
1694
  }
1692
1695
  }
1693
- function zc(t, e) {
1696
+ function Fc(t, e) {
1694
1697
  if (t) {
1695
- if (yr(t)) {
1698
+ if (hr(t)) {
1696
1699
  const n = Wt[t];
1697
1700
  return e[n] || t;
1698
1701
  }
1699
1702
  return t;
1700
1703
  }
1701
1704
  }
1702
- const Fc = ({
1705
+ const Vc = ({
1703
1706
  id: t,
1704
1707
  text: e,
1705
1708
  tooltip: n,
@@ -1715,7 +1718,7 @@ const Fc = ({
1715
1718
  token: f,
1716
1719
  ...b
1717
1720
  }) => {
1718
- const y = _((L) => L.addCommand), l = Ge(Pe), g = d ?? (l == null ? void 0 : l.index), u = l == null ? void 0 : l.parentIndex, A = _(
1721
+ const y = _((L) => L.addCommand), l = Qe(Pe), g = d ?? (l == null ? void 0 : l.index), u = l == null ? void 0 : l.parentIndex, A = _(
1719
1722
  (L) => {
1720
1723
  var $;
1721
1724
  return o && t ? ($ = L.propsStore[`${o}_props`]) == null ? void 0 : $[t] : null;
@@ -1727,7 +1730,7 @@ const Fc = ({
1727
1730
  }), a && (L.disabled = !1), L;
1728
1731
  }, [b, A, a]), N = m(() => {
1729
1732
  const L = (A == null ? void 0 : A.iconName) || i;
1730
- return L && Je[L] ? Je[L] : null;
1733
+ return L && Ge[L] ? Ge[L] : null;
1731
1734
  }, [i, A == null ? void 0 : A.iconName]), x = F(
1732
1735
  (L) => {
1733
1736
  if (c) {
@@ -1735,7 +1738,7 @@ const Fc = ({
1735
1738
  return;
1736
1739
  }
1737
1740
  if (r && o) {
1738
- const { actionName: $, arg: z } = cr(r, {
1741
+ const { actionName: $, arg: z } = sr(r, {
1739
1742
  id: t,
1740
1743
  index: g,
1741
1744
  parentIndex: u,
@@ -1784,16 +1787,16 @@ const Fc = ({
1784
1787
  onClick: x,
1785
1788
  children: S || s
1786
1789
  }
1787
- ), q = D ? /* @__PURE__ */ p(Wn, { title: D, children: /* @__PURE__ */ p("span", { style: { display: K ? "block" : "inline-block", width: K ? "100%" : void 0 }, children: j }) }) : j;
1790
+ ), q = D ? /* @__PURE__ */ p(Hn, { title: D, children: /* @__PURE__ */ p("span", { style: { display: K ? "block" : "inline-block", width: K ? "100%" : void 0 }, children: j }) }) : j;
1788
1791
  return k ? /* @__PURE__ */ p(Ke, { theme: k, children: q }) : q;
1789
1792
  }, rt = {
1790
1793
  whiteSpace: "nowrap",
1791
1794
  flex: "none"
1792
1795
  };
1793
- function Wo(t) {
1796
+ function Ho(t) {
1794
1797
  const e = typeof t == "string" ? t.trim() : "";
1795
1798
  if (!e) return;
1796
- const n = Je[e];
1799
+ const n = Ge[e];
1797
1800
  if (n)
1798
1801
  return Le.createElement(n);
1799
1802
  }
@@ -1804,7 +1807,7 @@ function it({
1804
1807
  const n = typeof t == "string" ? t.trim() : "", i = e == null ? "" : typeof e == "string" ? e.trim() : String(e).trim();
1805
1808
  return n ? {
1806
1809
  iconConfigured: !0,
1807
- iconNode: Wo(n) ?? n,
1810
+ iconNode: Ho(n) ?? n,
1808
1811
  labelText: i || void 0
1809
1812
  } : {
1810
1813
  iconConfigured: !1,
@@ -1812,7 +1815,7 @@ function it({
1812
1815
  labelText: i || void 0
1813
1816
  };
1814
1817
  }
1815
- const Ho = ["value", "validateStatus", "help"], Uo = 200;
1818
+ const Uo = ["value", "validateStatus", "help"], Io = 200;
1816
1819
  function Yo(t) {
1817
1820
  if (!t) return;
1818
1821
  const e = {};
@@ -1820,17 +1823,17 @@ function Yo(t) {
1820
1823
  i !== "" && i !== void 0 && i !== null && (e[n] = i);
1821
1824
  }), Object.keys(e).length > 0 ? e : void 0;
1822
1825
  }
1823
- function Io(t, e, n) {
1826
+ function Jo(t, e, n) {
1824
1827
  const i = { ...t };
1825
1828
  if (e && typeof e == "object" && Object.keys(e).forEach((r) => {
1826
- !Ho.includes(r) && e[r] !== void 0 && e[r] !== null && (i[r] = e[r]);
1829
+ !Uo.includes(r) && e[r] !== void 0 && e[r] !== null && (i[r] = e[r]);
1827
1830
  }), n.develop) {
1828
1831
  const r = i.disabled;
1829
1832
  i.disabled = !1, i.readOnly = !0, r && (i.className = `${i.className || ""} ant-input-disabled`.trim());
1830
1833
  }
1831
1834
  return i;
1832
1835
  }
1833
- const hr = (t) => {
1836
+ const gr = (t) => {
1834
1837
  const {
1835
1838
  id: e,
1836
1839
  sessionId: n,
@@ -1852,7 +1855,7 @@ const hr = (t) => {
1852
1855
  clearAction: A,
1853
1856
  bordered: w,
1854
1857
  ...N
1855
- } = t, x = ot(r, o, n), S = x.dataSet, D = x.dataSetField, E = x.sessionId, k = Ge(Pe), C = a ?? (k == null ? void 0 : k.index), T = k == null ? void 0 : k.parentIndex, M = Re(""), R = Re(null), O = _((Z) => Z.addCommand), V = _((Z) => Z.getDataSet), B = _((Z) => Z.setDataSet), K = _((Z) => Z.getProps), j = _((Z) => Z.setProps), q = _((Z) => Z.setValidateResult), L = m(
1858
+ } = t, x = ot(r, o, n), S = x.dataSet, D = x.dataSetField, E = x.sessionId, k = Qe(Pe), C = a ?? (k == null ? void 0 : k.index), T = k == null ? void 0 : k.parentIndex, M = Re(""), R = Re(null), O = _((Z) => Z.addCommand), V = _((Z) => Z.getDataSet), B = _((Z) => Z.setDataSet), K = _((Z) => Z.getProps), j = _((Z) => Z.setProps), q = _((Z) => Z.setValidateResult), L = m(
1856
1859
  () => le(E, S),
1857
1860
  [E, S]
1858
1861
  ), $ = m(
@@ -1871,7 +1874,7 @@ const hr = (t) => {
1871
1874
  var ce;
1872
1875
  return U && D ? ((ce = Z.validateStore[U]) == null ? void 0 : ce[D]) ?? "" : "";
1873
1876
  }
1874
- ), I = _(
1877
+ ), Y = _(
1875
1878
  (Z) => L && D ? Z.getDataSet(L, D) : void 0
1876
1879
  ), de = m(
1877
1880
  () => S ? le(E, `${S}_validateAction`) : void 0,
@@ -1881,8 +1884,8 @@ const hr = (t) => {
1881
1884
  var ce;
1882
1885
  return de ? (ce = Z.dataSets[de]) == null ? void 0 : ce.validate : void 0;
1883
1886
  }
1884
- ), J = m(() => I !== void 0 ? I : (z == null ? void 0 : z.value) !== void 0 ? z.value : d, [I, z == null ? void 0 : z.value, d]), se = m(
1885
- () => Io(N, z ?? null, { develop: i }),
1887
+ ), J = m(() => Y !== void 0 ? Y : (z == null ? void 0 : z.value) !== void 0 ? z.value : d, [Y, z == null ? void 0 : z.value, d]), se = m(
1888
+ () => Jo(N, z ?? null, { develop: i }),
1886
1889
  [N, z, i]
1887
1890
  ), {
1888
1891
  prefixIconNode: me,
@@ -1891,24 +1894,24 @@ const hr = (t) => {
1891
1894
  suffixAddonText: re,
1892
1895
  inputMergedProps: te
1893
1896
  } = m(() => {
1894
- const Z = se, ce = Z.prefix, Y = Z.suffix, W = Z.addonBefore, ue = Z.addonAfter, {
1897
+ const Z = se, ce = Z.prefix, I = Z.suffix, W = Z.addonBefore, ue = Z.addonAfter, {
1895
1898
  prefix: be,
1896
1899
  suffix: De,
1897
1900
  addonBefore: Te,
1898
- addonAfter: Qe,
1901
+ addonAfter: Ze,
1899
1902
  ...We
1900
1903
  } = Z, Ue = it({
1901
1904
  iconName: ce == null ? void 0 : String(ce),
1902
1905
  label: W == null ? void 0 : String(W)
1903
- }), Ze = it({
1904
- iconName: Y == null ? void 0 : String(Y),
1906
+ }), Xe = it({
1907
+ iconName: I == null ? void 0 : String(I),
1905
1908
  label: ue == null ? void 0 : String(ue)
1906
1909
  });
1907
1910
  return {
1908
1911
  prefixIconNode: Ue.iconNode,
1909
- suffixIconNode: Ze.iconNode,
1912
+ suffixIconNode: Xe.iconNode,
1910
1913
  prefixAddonText: Ue.iconConfigured ? void 0 : Ue.labelText,
1911
- suffixAddonText: Ze.iconConfigured ? void 0 : Ze.labelText,
1914
+ suffixAddonText: Xe.iconConfigured ? void 0 : Xe.labelText,
1912
1915
  inputMergedProps: We
1913
1916
  };
1914
1917
  }, [se]), P = F(
@@ -1920,9 +1923,9 @@ const hr = (t) => {
1920
1923
  D,
1921
1924
  ce
1922
1925
  ), E && $) {
1923
- const Y = K(E, $) || {};
1926
+ const I = K(E, $) || {};
1924
1927
  j(E, $, {
1925
- ...Y,
1928
+ ...I,
1926
1929
  validateStatus: ce ? "error" : void 0,
1927
1930
  help: ce
1928
1931
  });
@@ -1939,14 +1942,14 @@ const hr = (t) => {
1939
1942
  ]
1940
1943
  ), ae = F(
1941
1944
  (Z) => {
1942
- const ce = ur(f || []);
1943
- dr(
1945
+ const ce = dr(f || []);
1946
+ fr(
1944
1947
  ce,
1945
1948
  Z,
1946
1949
  () => P(""),
1947
- (Y) => {
1950
+ (I) => {
1948
1951
  var W;
1949
- return P(((W = Y[0]) == null ? void 0 : W.message) ?? "");
1952
+ return P(((W = I[0]) == null ? void 0 : W.message) ?? "");
1950
1953
  }
1951
1954
  );
1952
1955
  },
@@ -1959,7 +1962,7 @@ const hr = (t) => {
1959
1962
  return;
1960
1963
  }
1961
1964
  if (L && D && B(L, D, ce), c && E) {
1962
- const { actionName: Y, arg: W } = ke(c, ce, {
1965
+ const { actionName: I, arg: W } = ke(c, ce, {
1963
1966
  id: e,
1964
1967
  dataSet: S,
1965
1968
  dataSetField: D,
@@ -1967,11 +1970,11 @@ const hr = (t) => {
1967
1970
  parentIndex: T,
1968
1971
  ...te
1969
1972
  });
1970
- O(E, oe(Y, W));
1973
+ O(E, oe(I, W));
1971
1974
  }
1972
1975
  b && (R.current && clearTimeout(R.current), R.current = setTimeout(() => {
1973
1976
  R.current = null, ae(ce);
1974
- }, Uo));
1977
+ }, Io));
1975
1978
  },
1976
1979
  [
1977
1980
  s,
@@ -2002,9 +2005,9 @@ const hr = (t) => {
2002
2005
  ae
2003
2006
  ]), pe = F(
2004
2007
  (Z) => {
2005
- const Y = te.onPressEnter;
2006
- if (Y) {
2007
- Y(Z);
2008
+ const I = te.onPressEnter;
2009
+ if (I) {
2010
+ I(Z);
2008
2011
  return;
2009
2012
  }
2010
2013
  if (u && E) {
@@ -2038,7 +2041,7 @@ const hr = (t) => {
2038
2041
  return;
2039
2042
  }
2040
2043
  if (A && E) {
2041
- const { actionName: Y, arg: W } = ke(A, "", {
2044
+ const { actionName: I, arg: W } = ke(A, "", {
2042
2045
  id: e,
2043
2046
  dataSet: S,
2044
2047
  dataSetField: D,
@@ -2046,7 +2049,7 @@ const hr = (t) => {
2046
2049
  parentIndex: T,
2047
2050
  ...te
2048
2051
  });
2049
- O(E, oe(Y, W));
2052
+ O(E, oe(I, W));
2050
2053
  }
2051
2054
  }, [
2052
2055
  te,
@@ -2097,8 +2100,8 @@ const hr = (t) => {
2097
2100
  ] });
2098
2101
  return ee ? /* @__PURE__ */ p(Ke, { theme: ee, children: H }) : H;
2099
2102
  };
2100
- hr.displayName = "AndInput";
2101
- const Vc = Le.memo(hr), On = 200, qc = ({
2103
+ gr.displayName = "AndInput";
2104
+ const qc = Le.memo(gr), $n = 200, Pc = ({
2102
2105
  id: t,
2103
2106
  sessionId: e,
2104
2107
  develop: n,
@@ -2147,7 +2150,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2147
2150
  }
2148
2151
  E && w && S(E, w, te), c && (D.current && clearTimeout(D.current), D.current = setTimeout(() => {
2149
2152
  D.current = null, T(te);
2150
- }, On)), O(s, "change", te);
2153
+ }, $n)), O(s, "change", te);
2151
2154
  },
2152
2155
  [
2153
2156
  b,
@@ -2193,7 +2196,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2193
2196
  }
2194
2197
  if (E && w && S(E, w, null), c && (D.current && clearTimeout(D.current), D.current = setTimeout(() => {
2195
2198
  D.current = null, T(null);
2196
- }, On)), O(s, "change", null), v && N) {
2199
+ }, $n)), O(s, "change", null), v && N) {
2197
2200
  const { actionName: te, arg: P } = ke(v, null, {
2198
2201
  id: t,
2199
2202
  dataSet: A,
@@ -2238,7 +2241,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2238
2241
  suffix: z,
2239
2242
  addonBefore: U,
2240
2243
  addonAfter: G,
2241
- style: I,
2244
+ style: Y,
2242
2245
  ...de
2243
2246
  } = L, fe = m(
2244
2247
  () => it({
@@ -2264,7 +2267,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2264
2267
  onClick: (ae) => {
2265
2268
  ae.stopPropagation(), j();
2266
2269
  },
2267
- children: /* @__PURE__ */ p(yi, {})
2270
+ children: /* @__PURE__ */ p(hi, {})
2268
2271
  }
2269
2272
  );
2270
2273
  return me == null || me === !1 ? P : /* @__PURE__ */ ye(St, { children: [
@@ -2276,12 +2279,12 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2276
2279
  /* @__PURE__ */ ye(_e.Compact, { style: { width: "100%" }, children: [
2277
2280
  X ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: X }) : null,
2278
2281
  /* @__PURE__ */ p(
2279
- Hn,
2282
+ Un,
2280
2283
  {
2281
2284
  ...de,
2282
2285
  disabled: n ? !1 : de.disabled,
2283
2286
  readOnly: n ? !0 : de.readOnly,
2284
- className: xi(de.className, {
2287
+ className: Ai(de.className, {
2285
2288
  "ant-input-number-disabled": n && de.disabled
2286
2289
  }),
2287
2290
  prefix: se,
@@ -2292,14 +2295,14 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2292
2295
  onStep: q,
2293
2296
  suffix: re,
2294
2297
  status: M ? "error" : void 0,
2295
- style: { width: "100%", ...I }
2298
+ style: { width: "100%", ...Y }
2296
2299
  }
2297
2300
  ),
2298
2301
  ie ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: ie }) : null
2299
2302
  ] }),
2300
2303
  M && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: M })
2301
2304
  ] });
2302
- }, { TextArea: $n } = qt, Jo = 200, Pc = ({
2305
+ }, { TextArea: Mn } = qt, Go = 200, Wc = ({
2303
2306
  id: t,
2304
2307
  sessionId: e,
2305
2308
  develop: n,
@@ -2317,7 +2320,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2317
2320
  index: y,
2318
2321
  ...l
2319
2322
  }) => {
2320
- const g = ot(i, r, e), u = g.dataSet, A = g.dataSetField, w = g.sessionId, N = _((J) => J.addCommand), x = _((J) => J.setDataSet), S = Re(null), D = Ge(Pe), E = y ?? (D == null ? void 0 : D.index), k = D == null ? void 0 : D.parentIndex, C = m(
2323
+ const g = ot(i, r, e), u = g.dataSet, A = g.dataSetField, w = g.sessionId, N = _((J) => J.addCommand), x = _((J) => J.setDataSet), S = Re(null), D = Qe(Pe), E = y ?? (D == null ? void 0 : D.index), k = D == null ? void 0 : D.parentIndex, C = m(
2321
2324
  () => le(w, u),
2322
2325
  [w, u]
2323
2326
  ), T = m(
@@ -2378,7 +2381,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2378
2381
  }
2379
2382
  c && (S.current && clearTimeout(S.current), S.current = setTimeout(() => {
2380
2383
  S.current = null, O(se);
2381
- }, Jo));
2384
+ }, Go));
2382
2385
  },
2383
2386
  [
2384
2387
  h,
@@ -2426,7 +2429,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2426
2429
  k,
2427
2430
  N
2428
2431
  ]
2429
- ), I = F(() => {
2432
+ ), Y = F(() => {
2430
2433
  const J = L.onClear;
2431
2434
  if (J) {
2432
2435
  J();
@@ -2466,7 +2469,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2466
2469
  onChange: z,
2467
2470
  onBlur: U,
2468
2471
  onPressEnter: G,
2469
- onClear: I,
2472
+ onClear: Y,
2470
2473
  status: V ? "error" : void 0,
2471
2474
  style: {
2472
2475
  ...L.style || {},
@@ -2474,14 +2477,14 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2474
2477
  }
2475
2478
  }, fe = $ ? /* @__PURE__ */ ye(_e.Compact, { style: { width: "100%", display: "flex" }, children: [
2476
2479
  j != null && j !== !1 ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: j }) : null,
2477
- /* @__PURE__ */ p($n, { ...de }),
2480
+ /* @__PURE__ */ p(Mn, { ...de }),
2478
2481
  q != null && q !== !1 ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: q }) : null
2479
- ] }) : /* @__PURE__ */ p($n, { ...de });
2482
+ ] }) : /* @__PURE__ */ p(Mn, { ...de });
2480
2483
  return /* @__PURE__ */ ye("div", { style: { width: "100%" }, children: [
2481
2484
  fe,
2482
2485
  V && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: V })
2483
2486
  ] });
2484
- }, { Password: Go } = qt, Qo = 200, Wc = ({
2487
+ }, { Password: Qo } = qt, Zo = 200, Hc = ({
2485
2488
  id: t,
2486
2489
  sessionId: e,
2487
2490
  develop: n,
@@ -2528,15 +2531,15 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2528
2531
  } = j, G = it({
2529
2532
  iconName: q == null ? void 0 : String(q),
2530
2533
  label: $ == null ? void 0 : String($)
2531
- }), I = it({
2534
+ }), Y = it({
2532
2535
  iconName: L == null ? void 0 : String(L),
2533
2536
  label: z == null ? void 0 : String(z)
2534
2537
  });
2535
2538
  return {
2536
2539
  prefixIconNode: G.iconNode,
2537
- suffixIconNode: I.iconNode,
2540
+ suffixIconNode: Y.iconNode,
2538
2541
  prefixAddonText: G.iconConfigured ? void 0 : G.labelText,
2539
- suffixAddonText: I.iconConfigured ? void 0 : I.labelText,
2542
+ suffixAddonText: Y.iconConfigured ? void 0 : Y.labelText,
2540
2543
  inputRest: U
2541
2544
  };
2542
2545
  }, [E]), O = F(
@@ -2556,7 +2559,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2556
2559
  }
2557
2560
  c && (u.current && clearTimeout(u.current), u.current = setTimeout(() => {
2558
2561
  u.current = null, x(q);
2559
- }, Qo));
2562
+ }, Zo));
2560
2563
  },
2561
2564
  [
2562
2565
  h,
@@ -2622,7 +2625,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2622
2625
  /* @__PURE__ */ ye(_e.Compact, { style: { width: "100%" }, children: [
2623
2626
  T ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: T }) : null,
2624
2627
  /* @__PURE__ */ p(
2625
- Go,
2628
+ Qo,
2626
2629
  {
2627
2630
  ...R,
2628
2631
  prefix: k,
@@ -2640,7 +2643,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2640
2643
  ] }),
2641
2644
  S && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: S })
2642
2645
  ] });
2643
- }, { Search: Zo } = qt, Hc = ({
2646
+ }, { Search: Xo } = qt, Uc = ({
2644
2647
  id: t,
2645
2648
  sessionId: e,
2646
2649
  develop: n,
@@ -2718,7 +2721,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2718
2721
  return /* @__PURE__ */ ye(_e.Compact, { style: { width: "100%" }, children: [
2719
2722
  S ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: S }) : null,
2720
2723
  /* @__PURE__ */ p(
2721
- Zo,
2724
+ Xo,
2722
2725
  {
2723
2726
  ...E,
2724
2727
  prefix: N,
@@ -2731,7 +2734,7 @@ const Vc = Le.memo(hr), On = 200, qc = ({
2731
2734
  ),
2732
2735
  D ? /* @__PURE__ */ p(_e.Addon, { style: rt, children: D }) : null
2733
2736
  ] });
2734
- }, Xo = 200, ea = "_selected";
2737
+ }, ea = 200, ta = "_selected";
2735
2738
  function pt(t) {
2736
2739
  var e;
2737
2740
  if (t == null) return "";
@@ -2744,13 +2747,13 @@ function pt(t) {
2744
2747
  }
2745
2748
  return String(t);
2746
2749
  }
2747
- function ta(t, e) {
2750
+ function na(t, e) {
2748
2751
  if (t === e || t == null && e == null) return !0;
2749
2752
  if (t == null || e == null) return !1;
2750
2753
  const n = t.key, i = e.key, r = t.label, o = e.label;
2751
2754
  return Array.isArray(n) && Array.isArray(i) && Array.isArray(r) && Array.isArray(o) ? n.length !== i.length || r.length !== o.length ? !1 : n.every((a, c) => a === i[c]) && r.every((a, c) => a === o[c]) : Array.isArray(n) || Array.isArray(i) ? !1 : n === i && r === o;
2752
2755
  }
2753
- function Mn(t, e, n, i, r) {
2756
+ function Rn(t, e, n, i, r) {
2754
2757
  var d;
2755
2758
  if (!(r === "multiple" || r === "tags" || Array.isArray(t))) {
2756
2759
  if (t == null || t === "")
@@ -2779,7 +2782,7 @@ function Mn(t, e, n, i, r) {
2779
2782
  });
2780
2783
  return { key: c, label: s };
2781
2784
  }
2782
- const Uc = ({
2785
+ const Ic = ({
2783
2786
  id: t,
2784
2787
  sessionId: e,
2785
2788
  develop: n,
@@ -2806,7 +2809,7 @@ const Uc = ({
2806
2809
  dropdownMatchSelectWidth: D,
2807
2810
  ...E
2808
2811
  }) => {
2809
- const k = ot(i, r, e), C = k.dataSet, T = k.dataSetField, M = k.sessionId, R = _((pe) => pe.addCommand), O = _((pe) => pe.setDataSet), V = Re(null), B = Ge(Pe), K = m(
2812
+ const k = ot(i, r, e), C = k.dataSet, T = k.dataSetField, M = k.sessionId, R = _((pe) => pe.addCommand), O = _((pe) => pe.setDataSet), V = Re(null), B = Qe(Pe), K = m(
2810
2813
  () => le(M, C),
2811
2814
  [M, C]
2812
2815
  ), j = g ?? (B == null ? void 0 : B.index), q = B == null ? void 0 : B.parentIndex, L = m(
@@ -2822,7 +2825,7 @@ const Uc = ({
2822
2825
  ), U = m(
2823
2826
  () => ($ == null ? void 0 : $.optionsCfg) != null ? $.optionsCfg : c,
2824
2827
  [$ == null ? void 0 : $.optionsCfg, c]
2825
- ), { options: G, loading: I } = $t(
2828
+ ), { options: G, loading: Y } = $t(
2826
2829
  S || (o ? a : void 0)
2827
2830
  ), { options: de, loading: fe } = hn(
2828
2831
  U == null ? void 0 : U.url,
@@ -2833,7 +2836,7 @@ const Uc = ({
2833
2836
  params: U == null ? void 0 : U.params,
2834
2837
  field: U == null ? void 0 : U.field
2835
2838
  }
2836
- ), J = I || fe, { validate: se, help: me } = ze({
2839
+ ), J = Y || fe, { validate: se, help: me } = ze({
2837
2840
  rules: s,
2838
2841
  dataSet: C,
2839
2842
  dataSetField: T,
@@ -2852,7 +2855,7 @@ const Uc = ({
2852
2855
  });
2853
2856
  const pe = nt(re, X);
2854
2857
  return (pe == null ? void 0 : pe.value) ?? X;
2855
- }, [X, re]), P = T ? `${T}${ea}` : "", ae = F(
2858
+ }, [X, re]), P = T ? `${T}${ta}` : "", ae = F(
2856
2859
  (pe, Ae) => {
2857
2860
  if (f) {
2858
2861
  f(pe, Ae);
@@ -2860,7 +2863,7 @@ const Uc = ({
2860
2863
  }
2861
2864
  if (K && T) {
2862
2865
  O(K, T, pe);
2863
- const ge = Mn(
2866
+ const ge = Rn(
2864
2867
  pe,
2865
2868
  Ae,
2866
2869
  re,
@@ -2871,7 +2874,7 @@ const Uc = ({
2871
2874
  }
2872
2875
  if (v && (V.current && clearTimeout(V.current), V.current = setTimeout(() => {
2873
2876
  V.current = null, se(pe);
2874
- }, Xo)), h && M) {
2877
+ }, ea)), h && M) {
2875
2878
  const { actionName: ge, arg: ee } = ke(h, pe, {
2876
2879
  id: t,
2877
2880
  dataSet: C,
@@ -2905,14 +2908,14 @@ const Uc = ({
2905
2908
  );
2906
2909
  Ce(() => {
2907
2910
  if (f || !K || !T || !P) return;
2908
- const pe = Mn(
2911
+ const pe = Rn(
2909
2912
  X,
2910
2913
  void 0,
2911
2914
  re,
2912
2915
  ie.labelInValue,
2913
2916
  ie.mode
2914
2917
  ), Ae = _.getState().getDataSet(K, P);
2915
- ta(Ae, pe) || O(K, P, pe);
2918
+ na(Ae, pe) || O(K, P, pe);
2916
2919
  }, [
2917
2920
  f,
2918
2921
  K,
@@ -2936,7 +2939,7 @@ const Uc = ({
2936
2939
  const ve = F((pe, Ae) => ((Ae == null ? void 0 : Ae.label) ?? "").toLowerCase().includes(pe.toLowerCase()), []);
2937
2940
  return /* @__PURE__ */ ye("div", { style: { width: "100%" }, children: [
2938
2941
  /* @__PURE__ */ p(
2939
- Un,
2942
+ In,
2940
2943
  {
2941
2944
  ...ie,
2942
2945
  disabled: n ? !1 : ie.disabled,
@@ -3017,7 +3020,7 @@ const Uc = ({
3017
3020
  }, [a, A, N]);
3018
3021
  return /* @__PURE__ */ ye("div", { style: { display: "inline-block" }, onBlur: S, children: [
3019
3022
  /* @__PURE__ */ p(
3020
- Er,
3023
+ Or,
3021
3024
  {
3022
3025
  ...f,
3023
3026
  disabled: n ? !1 : f.disabled,
@@ -3027,7 +3030,7 @@ const Uc = ({
3027
3030
  ),
3028
3031
  w && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: w })
3029
3032
  ] });
3030
- }, Ic = ({
3033
+ }, Jc = ({
3031
3034
  id: t,
3032
3035
  sessionId: e,
3033
3036
  develop: n,
@@ -3118,7 +3121,7 @@ const Uc = ({
3118
3121
  ),
3119
3122
  N && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: N })
3120
3123
  ] });
3121
- }, Jc = ({
3124
+ }, Gc = ({
3122
3125
  id: t,
3123
3126
  sessionId: e,
3124
3127
  develop: n,
@@ -3169,7 +3172,7 @@ const Uc = ({
3169
3172
  }, [f, w, S, a]), k = N ? "error" : void 0;
3170
3173
  return /* @__PURE__ */ ye(St, { children: [
3171
3174
  /* @__PURE__ */ p(
3172
- Or,
3175
+ $r,
3173
3176
  {
3174
3177
  ...b,
3175
3178
  disabled: n ? !1 : b.disabled,
@@ -3183,7 +3186,7 @@ const Uc = ({
3183
3186
  ),
3184
3187
  N && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: "12px", marginTop: "4px" }, children: N })
3185
3188
  ] });
3186
- }, { RangePicker: na } = Yn, Gc = ({
3189
+ }, { RangePicker: ra } = Yn, Qc = ({
3187
3190
  id: t,
3188
3191
  sessionId: e,
3189
3192
  develop: n,
@@ -3248,7 +3251,7 @@ const Uc = ({
3248
3251
  }, [s, w, S, a]);
3249
3252
  return /* @__PURE__ */ ye("div", { onBlur: k, children: [
3250
3253
  /* @__PURE__ */ p(
3251
- na,
3254
+ ra,
3252
3255
  {
3253
3256
  ...D,
3254
3257
  disabled: n ? !1 : D.disabled,
@@ -3260,7 +3263,7 @@ const Uc = ({
3260
3263
  ),
3261
3264
  N && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: N })
3262
3265
  ] });
3263
- }, Qc = ({
3266
+ }, Zc = ({
3264
3267
  id: t,
3265
3268
  sessionId: e,
3266
3269
  develop: n,
@@ -3283,7 +3286,7 @@ const Uc = ({
3283
3286
  remoteUrl: w,
3284
3287
  ...N
3285
3288
  }) => {
3286
- const x = ot(i, r, e), S = x.dataSet, D = x.dataSetField, E = x.sessionId, k = _((J) => J.addCommand), C = _((J) => J.setDataSet), T = Ge(Pe), M = u ?? (T == null ? void 0 : T.index), R = T == null ? void 0 : T.parentIndex, O = m(
3289
+ const x = ot(i, r, e), S = x.dataSet, D = x.dataSetField, E = x.sessionId, k = _((J) => J.addCommand), C = _((J) => J.setDataSet), T = Qe(Pe), M = u ?? (T == null ? void 0 : T.index), R = T == null ? void 0 : T.parentIndex, O = m(
3287
3290
  () => le(E, S),
3288
3291
  [E, S]
3289
3292
  ), V = m(
@@ -3314,7 +3317,7 @@ const Uc = ({
3314
3317
  if (U.length === 0) return L;
3315
3318
  const J = nt(U, L);
3316
3319
  return (J == null ? void 0 : J.value) ?? L;
3317
- }, [L, U]), I = m(
3320
+ }, [L, U]), Y = m(
3318
3321
  () => Fe(N, B ?? void 0),
3319
3322
  [N, B]
3320
3323
  ), de = F(
@@ -3356,27 +3359,27 @@ const Uc = ({
3356
3359
  }, [h, j, G]);
3357
3360
  return /* @__PURE__ */ ye("div", { onBlur: fe, children: [
3358
3361
  /* @__PURE__ */ p(
3359
- Yt.Group,
3362
+ It.Group,
3360
3363
  {
3361
- ...I,
3362
- disabled: n ? !1 : I.disabled,
3364
+ ...Y,
3365
+ disabled: n ? !1 : Y.disabled,
3363
3366
  value: G,
3364
3367
  onChange: de,
3365
3368
  buttonStyle: (B == null ? void 0 : B.buttonStyle) ?? s,
3366
3369
  optionType: (B == null ? void 0 : B.optionType) ?? d,
3367
- children: d === "button" ? U.map((J) => /* @__PURE__ */ p(Yt.Button, { value: J.value, disabled: J.disabled, children: J.label }, J.value)) : /* @__PURE__ */ p(
3370
+ children: d === "button" ? U.map((J) => /* @__PURE__ */ p(It.Button, { value: J.value, disabled: J.disabled, children: J.label }, J.value)) : /* @__PURE__ */ p(
3368
3371
  _e,
3369
3372
  {
3370
3373
  orientation: (B == null ? void 0 : B.direction) ?? A ?? "horizontal",
3371
3374
  wrap: !0,
3372
- children: U.map((J) => /* @__PURE__ */ p(Yt, { value: J.value, disabled: J.disabled, children: J.label }, J.value))
3375
+ children: U.map((J) => /* @__PURE__ */ p(It, { value: J.value, disabled: J.disabled, children: J.label }, J.value))
3373
3376
  }
3374
3377
  )
3375
3378
  }
3376
3379
  ),
3377
3380
  q && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: q })
3378
3381
  ] });
3379
- }, Zc = ({
3382
+ }, Xc = ({
3380
3383
  id: t,
3381
3384
  sessionId: e,
3382
3385
  develop: n,
@@ -3402,7 +3405,7 @@ const Uc = ({
3402
3405
  remoteUrl: x,
3403
3406
  ...S
3404
3407
  }) => {
3405
- const D = ot(i, r, e), E = D.dataSet, k = D.dataSetField, C = D.sessionId, T = _((re) => re.addCommand), M = _((re) => re.setDataSet), R = Ge(Pe), O = w ?? (R == null ? void 0 : R.index), V = R == null ? void 0 : R.parentIndex, B = m(
3408
+ const D = ot(i, r, e), E = D.dataSet, k = D.dataSetField, C = D.sessionId, T = _((re) => re.addCommand), M = _((re) => re.setDataSet), R = Qe(Pe), O = w ?? (R == null ? void 0 : R.index), V = R == null ? void 0 : R.parentIndex, B = m(
3406
3409
  () => le(C, E),
3407
3410
  [C, E]
3408
3411
  ), K = m(
@@ -3432,14 +3435,14 @@ const Uc = ({
3432
3435
  ), G = m(() => {
3433
3436
  if (!c)
3434
3437
  return q !== void 0 ? !!q : (j == null ? void 0 : j.checked) !== void 0 ? j.checked : y ?? g;
3435
- }, [c, q, j == null ? void 0 : j.checked, y, g]), I = m(() => j != null && j.options ? j.options : a != null && a.url && U.length > 0 ? U : A && z.length > 0 ? z : o, [j == null ? void 0 : j.options, a == null ? void 0 : a.url, U, A, z, o]), de = m(() => {
3438
+ }, [c, q, j == null ? void 0 : j.checked, y, g]), Y = m(() => j != null && j.options ? j.options : a != null && a.url && U.length > 0 ? U : A && z.length > 0 ? z : o, [j == null ? void 0 : j.options, a == null ? void 0 : a.url, U, A, z, o]), de = m(() => {
3436
3439
  if (!c) return [];
3437
3440
  let re = [];
3438
- return Array.isArray(q) ? re = q : Array.isArray(j == null ? void 0 : j.values) ? re = j.values : re = l || [], I.length === 0 ? re : re.map((te) => {
3441
+ return Array.isArray(q) ? re = q : Array.isArray(j == null ? void 0 : j.values) ? re = j.values : re = l || [], Y.length === 0 ? re : re.map((te) => {
3439
3442
  var P;
3440
- return ((P = nt(I, te)) == null ? void 0 : P.value) ?? te;
3443
+ return ((P = nt(Y, te)) == null ? void 0 : P.value) ?? te;
3441
3444
  });
3442
- }, [c, q, j == null ? void 0 : j.values, l, I]), fe = m(
3445
+ }, [c, q, j == null ? void 0 : j.values, l, Y]), fe = m(
3443
3446
  () => Fe(S, j ?? void 0, { skipKeys: ["value", "help", "validateStatus", "checked", "values", "options"] }),
3444
3447
  [S, j]
3445
3448
  ), se = (fe.direction ?? N) === "vertical" ? "vertical" : "horizontal", me = F((re) => {
@@ -3500,7 +3503,7 @@ const Uc = ({
3500
3503
  ]), ie = F(() => {
3501
3504
  v && L(c ? de : G);
3502
3505
  }, [v, L, c, de, G]);
3503
- if (c && I.length > 0) {
3506
+ if (c && Y.length > 0) {
3504
3507
  const { indeterminate: re, direction: te, ...P } = fe;
3505
3508
  return /* @__PURE__ */ ye("div", { onBlur: ie, children: [
3506
3509
  /* @__PURE__ */ p(bt.Group, { ...P, value: de, onChange: X, disabled: n ? !1 : fe.disabled, children: /* @__PURE__ */ p(
@@ -3508,7 +3511,7 @@ const Uc = ({
3508
3511
  {
3509
3512
  orientation: se,
3510
3513
  wrap: !0,
3511
- children: I.map((ae) => /* @__PURE__ */ p(bt, { value: ae.value, disabled: ae.disabled, children: ae.label }, ae.value))
3514
+ children: Y.map((ae) => /* @__PURE__ */ p(bt, { value: ae.value, disabled: ae.disabled, children: ae.label }, ae.value))
3512
3515
  }
3513
3516
  ) }),
3514
3517
  $ && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: $ })
@@ -3527,7 +3530,7 @@ const Uc = ({
3527
3530
  ),
3528
3531
  $ && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: $ })
3529
3532
  ] });
3530
- }, Xc = ({
3533
+ }, es = ({
3531
3534
  id: t,
3532
3535
  sessionId: e,
3533
3536
  develop: n,
@@ -3583,7 +3586,7 @@ const Uc = ({
3583
3586
  );
3584
3587
  return /* @__PURE__ */ ye("div", { onBlur: S, children: [
3585
3588
  /* @__PURE__ */ p(
3586
- $r,
3589
+ Mr,
3587
3590
  {
3588
3591
  ...D,
3589
3592
  disabled: n ? !1 : D.disabled,
@@ -3593,7 +3596,7 @@ const Uc = ({
3593
3596
  ),
3594
3597
  w && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: w })
3595
3598
  ] });
3596
- }, es = ({
3599
+ }, ts = ({
3597
3600
  id: t,
3598
3601
  sessionId: e,
3599
3602
  develop: n,
@@ -3620,18 +3623,18 @@ const Uc = ({
3620
3623
  v(e, oe(A, w));
3621
3624
  }
3622
3625
  }, [a, b, r, f, o, e, t, v]);
3623
- return /* @__PURE__ */ p(Mr, { ...d, disabled: n ? !1 : d.disabled, value: l, onChange: g });
3624
- }, ra = 200, gr = (t, e, n = 1) => {
3626
+ return /* @__PURE__ */ p(Rr, { ...d, disabled: n ? !1 : d.disabled, value: l, onChange: g });
3627
+ }, ia = 200, pr = (t, e, n = 1) => {
3625
3628
  if (!Array.isArray(t)) return [];
3626
3629
  const { codeKey: i, labelKey: r, childrenKey: o, maxLevel: a } = e;
3627
3630
  return t.map((c) => {
3628
- const s = n < a && Array.isArray(c == null ? void 0 : c[o]) ? gr(c[o], e, n + 1) : void 0, d = {
3631
+ const s = n < a && Array.isArray(c == null ? void 0 : c[o]) ? pr(c[o], e, n + 1) : void 0, d = {
3629
3632
  value: String(c == null ? void 0 : c[i]),
3630
3633
  label: c == null ? void 0 : c[r]
3631
3634
  };
3632
3635
  return s && s.length && (d.children = s), d;
3633
3636
  });
3634
- }, Rn = (t) => !t || typeof t != "string" ? [] : t.includes(",") ? t.split(",").map((e) => e.trim()).filter((e) => e) : [t], ia = (t, e) => {
3637
+ }, jn = (t) => !t || typeof t != "string" ? [] : t.includes(",") ? t.split(",").map((e) => e.trim()).filter((e) => e) : [t], oa = (t, e) => {
3635
3638
  const n = (i, r, o = []) => {
3636
3639
  for (const a of i) {
3637
3640
  const c = a.value, s = [...o, c];
@@ -3645,7 +3648,7 @@ const Uc = ({
3645
3648
  return null;
3646
3649
  };
3647
3650
  return n(e, t) || [];
3648
- }, jn = (t) => Array.isArray(t) && t.length > 0 && !Array.isArray(t[0]), Bn = (t) => Array.isArray(t) && t.length > 0 && Array.isArray(t[0]), ts = ({
3651
+ }, Bn = (t) => Array.isArray(t) && t.length > 0 && !Array.isArray(t[0]), Kn = (t) => Array.isArray(t) && t.length > 0 && Array.isArray(t[0]), ns = ({
3649
3652
  id: t,
3650
3653
  sessionId: e,
3651
3654
  develop: n,
@@ -3677,14 +3680,14 @@ const Uc = ({
3677
3680
  develop: n
3678
3681
  }), M = m(() => (o == null ? void 0 : o.url) && w.length > 0, [o == null ? void 0 : o.url, w.length]), R = m(() => {
3679
3682
  let K = E ?? b ?? f ?? [];
3680
- return typeof K == "string" ? M ? Rn(K).map((q) => ia(q, w)).filter((q) => Array.isArray(q) && q.length > 0) : [K] : jn(K) && M ? K.map((q) => Rn(q)).filter((q) => Array.isArray(q) && q.length > 0) : Bn(K) && M ? K.filter((j) => Array.isArray(j) && j.length > 0) : K;
3683
+ return typeof K == "string" ? M ? jn(K).map((q) => oa(q, w)).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((j) => Array.isArray(j) && j.length > 0) : K;
3681
3684
  }, [E, b, f, M, w]), O = m(() => o != null && o.url && w.length > 0 ? w : h || [], [o == null ? void 0 : o.url, w, h]);
3682
3685
  Ce(() => {
3683
3686
  (async () => {
3684
3687
  if (o != null && o.url) {
3685
3688
  S(!0);
3686
3689
  try {
3687
- const j = await mt({ url: o.url, method: "GET" }), q = Array.isArray(j) ? j : j != null && j.data ? Array.isArray(j.data) ? j.data : j.data.list || j.data.records || [] : [], L = o.codeKey || "value", $ = o.labelKey || "label", z = o.childrenKey || "children", U = o.maxLevel || 5, G = gr(q, {
3690
+ const j = await mt({ url: o.url, method: "GET" }), q = Array.isArray(j) ? j : j != null && j.data ? Array.isArray(j.data) ? j.data : j.data.list || j.data.records || [] : [], L = o.codeKey || "value", $ = o.labelKey || "label", z = o.childrenKey || "children", U = o.maxLevel || 5, G = pr(q, {
3688
3691
  codeKey: L,
3689
3692
  labelKey: $,
3690
3693
  childrenKey: z,
@@ -3706,9 +3709,9 @@ const Uc = ({
3706
3709
  return;
3707
3710
  }
3708
3711
  let q = K;
3709
- if (jn(K) && M ? q = String(K[K.length - 1] || "") : Bn(K) && M && (q = K.map((L) => L.join(","))), D && r && u(D, r, q), s && (A.current && clearTimeout(A.current), A.current = setTimeout(() => {
3712
+ 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(() => {
3710
3713
  A.current = null, k(K);
3711
- }, ra)), d && e) {
3714
+ }, ia)), d && e) {
3712
3715
  const { actionName: L, arg: $ } = ke(d, K, {
3713
3716
  id: t,
3714
3717
  dataSet: i,
@@ -3740,7 +3743,7 @@ const Uc = ({
3740
3743
  []
3741
3744
  ), /* @__PURE__ */ ye("div", { style: { width: "100%" }, children: [
3742
3745
  /* @__PURE__ */ p(
3743
- Rr,
3746
+ jr,
3744
3747
  {
3745
3748
  ...l,
3746
3749
  disabled: n ? !1 : l.disabled,
@@ -3756,7 +3759,7 @@ const Uc = ({
3756
3759
  ),
3757
3760
  C && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: C })
3758
3761
  ] });
3759
- }, ns = ({
3762
+ }, rs = ({
3760
3763
  id: t,
3761
3764
  sessionId: e,
3762
3765
  develop: n,
@@ -3833,7 +3836,7 @@ const Uc = ({
3833
3836
  };
3834
3837
  }, [O]), B = k ? "error" : void 0, K = /* @__PURE__ */ ye("div", { onBlur: R, children: [
3835
3838
  /* @__PURE__ */ p(
3836
- jr,
3839
+ Br,
3837
3840
  {
3838
3841
  ...T,
3839
3842
  disabled: n ? !1 : T.disabled,
@@ -3850,7 +3853,7 @@ const Uc = ({
3850
3853
  k && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: k })
3851
3854
  ] });
3852
3855
  return V ? /* @__PURE__ */ p(Ke, { theme: V, children: K }) : K;
3853
- }, rs = ({
3856
+ }, is = ({
3854
3857
  id: t,
3855
3858
  sessionId: e,
3856
3859
  develop: n,
@@ -3892,7 +3895,7 @@ const Uc = ({
3892
3895
  var Se;
3893
3896
  return ((Se = ne == null ? void 0 : ne.response) == null ? void 0 : Se.src) ?? (ne == null ? void 0 : ne.src) ?? (ne == null ? void 0 : ne.url) ?? (ne == null ? void 0 : ne.thumbUrl) ?? "";
3894
3897
  }).filter((ne) => ne && typeof ne == "string"), []), V = F((ee) => {
3895
- const ne = Ie().viewRes, Se = (H) => (ne ? ne(H) : H) || H;
3898
+ const ne = Je().viewRes, Se = (H) => (ne ? ne(H) : H) || H;
3896
3899
  return ee.map((H, Z) => {
3897
3900
  const ce = Se(H);
3898
3901
  return {
@@ -3905,15 +3908,15 @@ const Uc = ({
3905
3908
  };
3906
3909
  });
3907
3910
  }, []), B = F((ee) => {
3908
- const ne = Ie().viewRes, Se = (H) => (H && ne ? ne(H) : H) || H;
3911
+ const ne = Je().viewRes, Se = (H) => (H && ne ? ne(H) : H) || H;
3909
3912
  return ee.map((H) => {
3910
3913
  var W;
3911
- 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, Y = {};
3914
+ 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 = {};
3912
3915
  for (const ue of Object.keys(H)) {
3913
3916
  const be = H[ue];
3914
- be instanceof File ? Y[ue] = be : be && typeof be == "object" && !Array.isArray(be) ? Y[ue] = { ...be } : Y[ue] = be;
3917
+ be instanceof File ? I[ue] = be : be && typeof be == "object" && !Array.isArray(be) ? I[ue] = { ...be } : I[ue] = be;
3915
3918
  }
3916
- return ce && typeof ce == "string" && (Y.url = ce, Y.thumbUrl = ce), Y;
3919
+ return ce && typeof ce == "string" && (I.url = ce, I.thumbUrl = ce), I;
3917
3920
  });
3918
3921
  }, []), [K, j] = we(null), q = m(() => {
3919
3922
  const ee = T ?? (C == null ? void 0 : C.fileList) ?? h;
@@ -3929,10 +3932,10 @@ const Uc = ({
3929
3932
  [A, C]
3930
3933
  ), z = F((ee) => ee.size / 1024 / 1024 < y ? !0 : (Bt.error(`文件大小不能超过 ${y}MB`), !1), [y]), U = F(async (ee) => {
3931
3934
  const { file: ne, onSuccess: Se, onError: H, onProgress: Z } = ee;
3932
- if (Ie().upload)
3935
+ if (Je().upload)
3933
3936
  try {
3934
3937
  Z == null || Z({ percent: 30 });
3935
- const Y = await fr(ne, {
3938
+ const I = await mr(ne, {
3936
3939
  url: b,
3937
3940
  headers: {
3938
3941
  Authorization: un() ? `Bearer ${un()}` : ""
@@ -3940,9 +3943,9 @@ const Uc = ({
3940
3943
  form: l == null ? void 0 : l.form,
3941
3944
  query: l == null ? void 0 : l.query
3942
3945
  });
3943
- Z == null || Z({ percent: 100 }), Se == null || Se(Y, ne);
3944
- } catch (Y) {
3945
- H == null || H(Y), Bt.error("上传失败");
3946
+ Z == null || Z({ percent: 100 }), Se == null || Se(I, ne);
3947
+ } catch (I) {
3948
+ H == null || H(I), Bt.error("上传失败");
3946
3949
  }
3947
3950
  else
3948
3951
  H == null || H(new Error("Upload handler not configured")), Bt.warning("上传功能未配置");
@@ -3975,14 +3978,14 @@ const Uc = ({
3975
3978
  B,
3976
3979
  O
3977
3980
  ]
3978
- ), I = F(() => {
3981
+ ), Y = F(() => {
3979
3982
  s && M(L);
3980
3983
  }, [s, M, L]), de = F((ee) => {
3981
3984
  var ce;
3982
3985
  const ne = ee.url || ee.thumbUrl;
3983
3986
  if (!ne) return "";
3984
- const Se = ((ce = ee.response) == null ? void 0 : ce.src) ?? (typeof ne == "string" ? ne : ""), H = Ie().viewRes, Z = Se && H ? H(Se) : ne;
3985
- return String(Z).replace(/([?&])download=1(&|$)/, (Y, W, ue) => ue ? W : "");
3987
+ const Se = ((ce = ee.response) == null ? void 0 : ce.src) ?? (typeof ne == "string" ? ne : ""), H = Je().viewRes, Z = Se && H ? H(Se) : ne;
3988
+ return String(Z).replace(/([?&])download=1(&|$)/, (I, W, ue) => ue ? W : "");
3986
3989
  }, []), fe = F((ee) => {
3987
3990
  var H, Z;
3988
3991
  const ne = ((H = ee.response) == null ? void 0 : H.src) ?? ee.name ?? "", Se = ((Z = String(ne).split(".").pop()) == null ? void 0 : Z.toLowerCase()) || "";
@@ -4000,16 +4003,16 @@ const Uc = ({
4000
4003
  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));
4001
4004
  se({ url: ne, name: ee.name, urls: H, current: Z >= 0 ? Z : 0, open: !0 });
4002
4005
  } else fe(ee) || window.open(ne, "_blank");
4003
- }, [de, fe, L]), ie = !!Ie().upload && !u, re = $, te = re.buttonText ?? a, P = re.listType ?? A.listType, ae = String((C == null ? void 0 : C.listDisplayText) ?? g ?? "").trim(), Ne = m(() => {
4006
+ }, [de, fe, L]), ie = !!Je().upload && !u, re = $, te = re.buttonText ?? a, P = re.listType ?? A.listType, ae = String((C == null ? void 0 : C.listDisplayText) ?? g ?? "").trim(), Ne = m(() => {
4004
4007
  const ee = re.showUploadList;
4005
4008
  return P !== "text" || ee === !1 || !ae || !(L != null && L.length) ? L : L.map((ne) => ({ ...ne, name: ae }));
4006
4009
  }, [L, P, re.showUploadList, ae]), ve = re.maxCount, pe = (L == null ? void 0 : L.length) ?? 0, Ae = typeof ve == "number" && pe >= ve, ge = F(
4007
4010
  (ee) => Ae ? (Bt.warning(`最多只能上传 ${ve} 个文件`), !1) : z(ee),
4008
4011
  [Ae, ve, z]
4009
4012
  );
4010
- return /* @__PURE__ */ ye("div", { onBlur: I, children: [
4013
+ return /* @__PURE__ */ ye("div", { onBlur: Y, children: [
4011
4014
  /* @__PURE__ */ p(
4012
- Br,
4015
+ Kr,
4013
4016
  {
4014
4017
  ...$,
4015
4018
  disabled: n ? !1 : $.disabled,
@@ -4021,9 +4024,9 @@ const Uc = ({
4021
4024
  action: ie ? void 0 : u || b,
4022
4025
  openFileDialogOnClick: !n,
4023
4026
  children: !Ae && (f || (P === "picture-card" || P === "picture-circle" ? /* @__PURE__ */ ye("button", { style: { border: 0, background: "none" }, type: "button", children: [
4024
- /* @__PURE__ */ p(nr, {}),
4027
+ /* @__PURE__ */ p(rr, {}),
4025
4028
  /* @__PURE__ */ p("div", { style: { marginTop: 8 }, children: te })
4026
- ] }) : /* @__PURE__ */ p(st, { icon: /* @__PURE__ */ p(hi, {}), children: te })))
4029
+ ] }) : /* @__PURE__ */ p(st, { icon: /* @__PURE__ */ p(gi, {}), children: te })))
4027
4030
  }
4028
4031
  ),
4029
4032
  R && /* @__PURE__ */ p("div", { style: { color: "#ff4d4f", fontSize: 12, marginTop: 4 }, children: R }),
@@ -4060,7 +4063,7 @@ const Uc = ({
4060
4063
  }
4061
4064
  ) })
4062
4065
  ] });
4063
- }, is = ({
4066
+ }, os = ({
4064
4067
  id: t,
4065
4068
  sessionId: e,
4066
4069
  develop: n,
@@ -4082,7 +4085,7 @@ const Uc = ({
4082
4085
  const g = _((O) => O.addCommand), u = _((O) => O.getDataSet), A = _((O) => O.setDataSet), w = m(
4083
4086
  () => le(e, i),
4084
4087
  [e, i]
4085
- ), [N, x] = we(h || []), [, S] = we(!1), D = Le.useRef(void 0), { get: E } = So(), k = m(() => {
4088
+ ), [N, x] = we(h || []), [, S] = we(!1), D = Le.useRef(void 0), { get: E } = wo(), k = m(() => {
4086
4089
  if (w && r) return u(w, r);
4087
4090
  }, [w, r, u]), C = m(() => k ?? d ?? v, [k, d, v]), T = F((O) => {
4088
4091
  if (!(b != null && b.queryApi)) {
@@ -4141,7 +4144,7 @@ const Uc = ({
4141
4144
  a && e && g(e, oe(a, { value: O, option: V }));
4142
4145
  }, [s, a, e, g]);
4143
4146
  return /* @__PURE__ */ p(
4144
- Kr,
4147
+ Lr,
4145
4148
  {
4146
4149
  ...l,
4147
4150
  disabled: n ? !1 : l.disabled,
@@ -4154,7 +4157,7 @@ const Uc = ({
4154
4157
  style: { width: "100%", ...l.style }
4155
4158
  }
4156
4159
  );
4157
- }, os = ({
4160
+ }, as = ({
4158
4161
  id: t,
4159
4162
  sessionId: e,
4160
4163
  develop: n,
@@ -4194,13 +4197,13 @@ const Uc = ({
4194
4197
  s && /* @__PURE__ */ p(st, { onClick: N, children: v })
4195
4198
  ] }) })
4196
4199
  ] });
4197
- }, as = ({
4200
+ }, cs = ({
4198
4201
  id: t,
4199
4202
  sessionId: e,
4200
4203
  develop: n,
4201
4204
  children: i,
4202
4205
  ...r
4203
- }) => /* @__PURE__ */ p(Ft.Item, { ...r, children: i }), Ye = (t, e) => {
4206
+ }) => /* @__PURE__ */ p(Ft.Item, { ...r, children: i }), Ie = (t, e) => {
4204
4207
  if (t == null) return e;
4205
4208
  if (typeof t == "string")
4206
4209
  try {
@@ -4209,7 +4212,7 @@ const Uc = ({
4209
4212
  return e;
4210
4213
  }
4211
4214
  return t;
4212
- }, cs = ({
4215
+ }, ss = ({
4213
4216
  id: t,
4214
4217
  sessionId: e,
4215
4218
  develop: n,
@@ -4242,7 +4245,7 @@ const Uc = ({
4242
4245
  const M = _((ie) => ie.addCommand), R = _((ie) => ie.getDataSet), O = _((ie) => ie.setDataSet), V = m(
4243
4246
  () => le(e, i),
4244
4247
  [e, i]
4245
- ), B = m(() => Ye(k, {}), [k]), K = m(() => Ye(C, {}), [C]), j = m(() => Ye(y, ["源列表", "目标列表"]), [y]), q = m(() => Ye(l, [">", "<"]), [l]), L = m(() => Ye(g, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [g]), $ = m(() => Ye(f, !1), [f]), z = m(() => {
4248
+ ), B = m(() => Ie(k, {}), [k]), K = m(() => Ie(C, {}), [C]), j = m(() => Ie(y, ["源列表", "目标列表"]), [y]), q = m(() => Ie(l, [">", "<"]), [l]), L = m(() => Ie(g, { itemUnit: "项", itemsUnit: "项", searchPlaceholder: "请输入搜索内容" }), [g]), $ = m(() => Ie(f, !1), [f]), z = m(() => {
4246
4249
  if (V && r) {
4247
4250
  const ie = R(V, r);
4248
4251
  if (Array.isArray(ie)) return ie;
@@ -4252,7 +4255,7 @@ const Uc = ({
4252
4255
  const ie = R(V, `${r}.dataSource`);
4253
4256
  if (Array.isArray(ie)) return ie;
4254
4257
  }
4255
- }, [V, r, R]), G = m(() => n ? U ?? Ye(o, []) : V ? U ?? [] : Ye(o, []), [n, V, U, o]), I = m(() => n ? z ?? Ye(a, []) : V ? z ?? [] : Ye(a, []), [n, V, z, a]), de = m(() => Ye(c, []), [c]), fe = F((ie, re, te) => {
4258
+ }, [V, r, R]), G = m(() => n ? U ?? Ie(o, []) : V ? U ?? [] : Ie(o, []), [n, V, U, o]), Y = m(() => n ? z ?? Ie(a, []) : V ? z ?? [] : Ie(a, []), [n, V, z, a]), de = m(() => Ie(c, []), [c]), fe = F((ie, re, te) => {
4256
4259
  if (x) {
4257
4260
  x(ie, re, te);
4258
4261
  return;
@@ -4277,10 +4280,10 @@ const Uc = ({
4277
4280
  }
4278
4281
  N && e && M(e, oe(N, { direction: ie }));
4279
4282
  }, [E, N, e, M]), X = /* @__PURE__ */ p(
4280
- Lr,
4283
+ zr,
4281
4284
  {
4282
4285
  dataSource: G,
4283
- targetKeys: I,
4286
+ targetKeys: Y,
4284
4287
  selectedKeys: de,
4285
4288
  disabled: s,
4286
4289
  showSearch: d,
@@ -4312,16 +4315,16 @@ const Uc = ({
4312
4315
  return e;
4313
4316
  }
4314
4317
  return t;
4315
- }, oa = (t) => {
4318
+ }, aa = (t) => {
4316
4319
  if (!t) return null;
4317
- const e = Je[t];
4320
+ const e = Ge[t];
4318
4321
  return e ? /* @__PURE__ */ p(e, {}) : null;
4319
- }, aa = (t) => dn(t, []).map((n) => ({
4322
+ }, ca = (t) => dn(t, []).map((n) => ({
4320
4323
  label: n.label,
4321
4324
  value: n.value,
4322
- icon: n.icon ? oa(n.icon) : void 0,
4325
+ icon: n.icon ? aa(n.icon) : void 0,
4323
4326
  disabled: n.disabled
4324
- })), ss = ({
4327
+ })), ls = ({
4325
4328
  id: t,
4326
4329
  sessionId: e,
4327
4330
  develop: n,
@@ -4346,7 +4349,7 @@ const Uc = ({
4346
4349
  const A = _((R) => R.addCommand), w = _((R) => R.getDataSet), N = _((R) => R.setDataSet), x = m(
4347
4350
  () => le(e, i),
4348
4351
  [e, i]
4349
- ), S = m(() => dn(l, {}), [l]), D = m(() => dn(g, {}), [g]), E = m(() => aa(o), [o]), C = m(() => {
4352
+ ), S = m(() => dn(l, {}), [l]), D = m(() => dn(g, {}), [g]), E = m(() => ca(o), [o]), C = m(() => {
4350
4353
  if (x && r) {
4351
4354
  const R = w(x, r);
4352
4355
  if (typeof R == "string") return R;
@@ -4359,7 +4362,7 @@ const Uc = ({
4359
4362
  }
4360
4363
  x && r && N(x, r, O), b && e && A(e, oe(b, { value: O }));
4361
4364
  }, [y, x, r, N, b, e, A]), M = /* @__PURE__ */ p(
4362
- zr,
4365
+ Fr,
4363
4366
  {
4364
4367
  ...u,
4365
4368
  options: E,
@@ -4375,9 +4378,9 @@ const Uc = ({
4375
4378
  }
4376
4379
  );
4377
4380
  return D && Object.keys(D).length > 0 ? /* @__PURE__ */ p(Ke, { theme: { components: { Segmented: D } }, children: M }) : M;
4378
- }, ca = (t, e, n) => {
4381
+ }, sa = (t, e, n) => {
4379
4382
  const [i, r] = we(void 0), o = e === "100%", a = Re(0);
4380
- return tr(() => {
4383
+ return nr(() => {
4381
4384
  if (!o || !t.current) {
4382
4385
  r(void 0);
4383
4386
  return;
@@ -4427,12 +4430,12 @@ const Uc = ({
4427
4430
  clearTimeout(d), a.current && cancelAnimationFrame(a.current), v.disconnect(), h.disconnect();
4428
4431
  };
4429
4432
  }, [o, n]), o ? i : e;
4430
- }, Kn = /* @__PURE__ */ new Map();
4431
- function sa(t) {
4432
- let e = Kn.get(t);
4433
- return e || (e = yn(t), Kn.set(t, e)), e;
4433
+ }, Ln = /* @__PURE__ */ new Map();
4434
+ function la(t) {
4435
+ let e = Ln.get(t);
4436
+ return e || (e = yn(t), Ln.set(t, e)), e;
4434
4437
  }
4435
- const la = ({ dictCode: t, value: e }) => {
4438
+ const ua = ({ dictCode: t, value: e }) => {
4436
4439
  const [n, i] = we(null);
4437
4440
  if (Ce(() => {
4438
4441
  if (!t) {
@@ -4440,7 +4443,7 @@ const la = ({ dictCode: t, value: e }) => {
4440
4443
  return;
4441
4444
  }
4442
4445
  let o = !1;
4443
- return sa(t).then((a) => {
4446
+ return la(t).then((a) => {
4444
4447
  o || i(a);
4445
4448
  }), () => {
4446
4449
  o = !0;
@@ -4451,10 +4454,10 @@ const la = ({ dictCode: t, value: e }) => {
4451
4454
  return /* @__PURE__ */ p("span", { children: String(e) });
4452
4455
  const r = nt(n, e);
4453
4456
  return /* @__PURE__ */ p("span", { children: (r == null ? void 0 : r.label) ?? String(e) });
4454
- }, ua = (t, e) => {
4455
- const n = e.columnDictType || e.dictType || "";
4456
- return n ? /* @__PURE__ */ p(la, { dictCode: n, value: t }) : /* @__PURE__ */ p("span", { children: t != null && t !== "" ? String(t) : "" });
4457
4457
  }, da = (t, e) => {
4458
+ const n = e.columnDictType || e.dictType || "";
4459
+ return n ? /* @__PURE__ */ p(ua, { dictCode: n, value: t }) : /* @__PURE__ */ p("span", { children: t != null && t !== "" ? String(t) : "" });
4460
+ }, fa = (t, e) => {
4458
4461
  const [n, i] = (e.imageWidthHeight || "").split(/\s*[,,]\s*/), r = n || "50", o = i || "50";
4459
4462
  let a = [];
4460
4463
  return Array.isArray(t) ? a = t.slice(0, 3) : typeof t == "string" && t && (a = [t]), a.length === 0 ? /* @__PURE__ */ p("span", { children: "无图片" }) : a.length === 1 ? /* @__PURE__ */ p(
@@ -4477,7 +4480,7 @@ const la = ({ dictCode: t, value: e }) => {
4477
4480
  },
4478
4481
  s
4479
4482
  )) });
4480
- }, fa = (t, e) => {
4483
+ }, ma = (t, e) => {
4481
4484
  let n = parseFloat(t);
4482
4485
  if (isNaN(n))
4483
4486
  return /* @__PURE__ */ p("span", { children: "无效金额" });
@@ -4491,7 +4494,7 @@ const la = ({ dictCode: t, value: e }) => {
4491
4494
  };
4492
4495
  let s = new Intl.NumberFormat("zh-CN", c).format(n);
4493
4496
  return i && (s = i + s), /* @__PURE__ */ p("span", { children: s });
4494
- }, ma = (t, e) => {
4497
+ }, ya = (t, e) => {
4495
4498
  let n = "";
4496
4499
  try {
4497
4500
  const i = tt(t);
@@ -4500,13 +4503,13 @@ const la = ({ dictCode: t, value: e }) => {
4500
4503
  n = "";
4501
4504
  }
4502
4505
  return /* @__PURE__ */ p("span", { children: n });
4503
- }, ya = (t, e) => {
4506
+ }, ha = (t, e) => {
4504
4507
  if (t == null || t === "")
4505
4508
  return /* @__PURE__ */ p("span", {});
4506
4509
  const n = e.arraySeparator || ",";
4507
4510
  return Array.isArray(t) ? /* @__PURE__ */ p("span", { children: t.join(n) }) : /* @__PURE__ */ p("span", { children: String(t) });
4508
4511
  };
4509
- function ha(t) {
4512
+ function ga(t) {
4510
4513
  const e = [16, 16];
4511
4514
  if (t == null || t === "") return e;
4512
4515
  let n = [];
@@ -4525,20 +4528,20 @@ function ha(t) {
4525
4528
  const i = Number(n[0]), r = Number(n[1]);
4526
4529
  return !Number.isFinite(i) || !Number.isFinite(r) ? e : [Math.max(1, i), Math.max(1, r)];
4527
4530
  }
4528
- function ga(t) {
4531
+ function pa(t) {
4529
4532
  return !!(t == null || t === "" || Array.isArray(t) && t.length === 0);
4530
4533
  }
4531
- const pa = (t, e, n, i) => {
4534
+ const va = (t, e, n, i) => {
4532
4535
  var h;
4533
- if (ga(t))
4536
+ if (pa(t))
4534
4537
  return /* @__PURE__ */ p("span", {});
4535
4538
  const r = (h = e.columnIcon) == null ? void 0 : h.trim();
4536
4539
  if (!r)
4537
4540
  return /* @__PURE__ */ p("span", {});
4538
- const o = Je[r];
4541
+ const o = Ge[r];
4539
4542
  if (!o)
4540
4543
  return /* @__PURE__ */ p("span", {});
4541
- const [a, c] = ha(e.iconSize), s = (e.iconClickAction || "").trim(), d = i == null ? void 0 : i.runAction, v = /* @__PURE__ */ p(
4544
+ const [a, c] = ga(e.iconSize), s = (e.iconClickAction || "").trim(), d = i == null ? void 0 : i.runAction, v = /* @__PURE__ */ p(
4542
4545
  "span",
4543
4546
  {
4544
4547
  style: {
@@ -4564,32 +4567,32 @@ const pa = (t, e, n, i) => {
4564
4567
  children: v
4565
4568
  }
4566
4569
  ) : v;
4567
- }, va = (t, e) => {
4570
+ }, ba = (t, e) => {
4568
4571
  const n = { ...t };
4569
4572
  return n.specialFields === !0 && n.renderType && (n.render = (i, r, o) => {
4570
4573
  switch (n.renderType) {
4571
4574
  case "image":
4572
- return da(i, n);
4573
- case "money":
4574
4575
  return fa(i, n);
4575
- case "date":
4576
+ case "money":
4576
4577
  return ma(i, n);
4577
- case "array":
4578
+ case "date":
4578
4579
  return ya(i, n);
4580
+ case "array":
4581
+ return ha(i, n);
4579
4582
  case "dict":
4580
- return ua(i, n);
4583
+ return da(i, n);
4581
4584
  case "icon":
4582
- return pa(i, n, r, e);
4585
+ return va(i, n, r, e);
4583
4586
  default:
4584
4587
  return i;
4585
4588
  }
4586
4589
  }), n;
4587
- }, Gt = 15, At = 10, ba = [
4590
+ }, Gt = 15, At = 10, Sa = [
4588
4591
  { value: "small", label: "紧凑" },
4589
4592
  { value: "middle", label: "默认" },
4590
4593
  { value: "large", label: "宽松" }
4591
4594
  ];
4592
- function Ln(t, e, n, i) {
4595
+ function zn(t, e, n, i) {
4593
4596
  const r = {};
4594
4597
  return e.forEach((o) => {
4595
4598
  o.width !== void 0 && (r[o.key] = o.width);
@@ -4603,7 +4606,7 @@ function Ln(t, e, n, i) {
4603
4606
  size: i
4604
4607
  };
4605
4608
  }
4606
- function Sa(t, e, n, i) {
4609
+ function wa(t, e, n, i) {
4607
4610
  const r = (t == null ? void 0 : t.order) ?? e.map((h) => h.key), o = (t == null ? void 0 : t.visible) ?? {}, a = (t == null ? void 0 : t.fixed) ?? {}, c = (t == null ? void 0 : t.width) ?? {}, s = new Map(e.map((h) => [h.key, h])), d = [], v = /* @__PURE__ */ new Set();
4608
4611
  for (const h of r) {
4609
4612
  const f = s.get(h);
@@ -4629,7 +4632,7 @@ function Sa(t, e, n, i) {
4629
4632
  size: (t == null ? void 0 : t.size) ?? i ?? "middle"
4630
4633
  };
4631
4634
  }
4632
- const Qt = 420, zn = 440, wa = ({
4635
+ const Qt = 420, Fn = 440, xa = ({
4633
4636
  open: t,
4634
4637
  position: e,
4635
4638
  rowIndexVisible: n,
@@ -4653,12 +4656,12 @@ const Qt = 420, zn = 440, wa = ({
4653
4656
  },
4654
4657
  [v]
4655
4658
  ), D = F(
4656
- ($, z, U, G) => Ln($, z, U ?? g, G ?? A),
4659
+ ($, z, U, G) => zn($, z, U ?? g, G ?? A),
4657
4660
  [g, A]
4658
4661
  ), E = F(() => {
4659
4662
  b(r);
4660
4663
  const $ = o.map((z) => ({ ...z }));
4661
- l($), u(c), w(d), S(Ln(r, $, c, d));
4664
+ l($), u(c), w(d), S(zn(r, $, c, d));
4662
4665
  }, [r, o, c, d, S]), k = F(
4663
4666
  ($) => {
4664
4667
  l((z) => {
@@ -4670,7 +4673,7 @@ const Qt = 420, zn = 440, wa = ({
4670
4673
  ), C = F(
4671
4674
  ($, z) => {
4672
4675
  l((U) => {
4673
- const G = U.map((I) => I.key === $ ? { ...I, fixed: z } : I);
4676
+ const G = U.map((Y) => Y.key === $ ? { ...Y, fixed: z } : Y);
4674
4677
  return S(D(f, G)), G;
4675
4678
  });
4676
4679
  },
@@ -4678,7 +4681,7 @@ const Qt = 420, zn = 440, wa = ({
4678
4681
  ), T = F(
4679
4682
  ($, z) => {
4680
4683
  l((U) => {
4681
- const G = U.map((I) => I.key === $ ? { ...I, width: z } : I);
4684
+ const G = U.map((Y) => Y.key === $ ? { ...Y, width: z } : Y);
4682
4685
  return S(D(f, G)), G;
4683
4686
  });
4684
4687
  },
@@ -4688,7 +4691,7 @@ const Qt = 420, zn = 440, wa = ({
4688
4691
  l((U) => {
4689
4692
  const G = U.find((J) => J.key === $);
4690
4693
  if (!G) return U;
4691
- const I = typeof G.width == "number" ? G.width : 80, de = Math.max(Gt, I + z), fe = U.map((J) => J.key === $ ? { ...J, width: de } : J);
4694
+ const Y = typeof G.width == "number" ? G.width : 80, de = Math.max(Gt, Y + z), fe = U.map((J) => J.key === $ ? { ...J, width: de } : J);
4692
4695
  return S(D(f, fe)), fe;
4693
4696
  });
4694
4697
  },
@@ -4721,10 +4724,10 @@ const Qt = 420, zn = 440, wa = ({
4721
4724
  z.preventDefault(), z.dataTransfer.dropEffect = "move", !(N === null || N === $) && (R(N, $), x($));
4722
4725
  }, q = () => x(null), L = e != null ? (() => {
4723
4726
  let $ = e.y, z = e.x;
4724
- return typeof window < "u" && (z + Qt > window.innerWidth && (z = window.innerWidth - Qt - 16), z < 16 && (z = 16), $ + zn > window.innerHeight && ($ = Math.max(16, window.innerHeight - zn - 16)), $ < 16 && ($ = 16)), { margin: 0, top: $, left: z };
4727
+ return typeof window < "u" && (z + Qt > window.innerWidth && (z = window.innerWidth - Qt - 16), z < 16 && (z = 16), $ + Fn > window.innerHeight && ($ = Math.max(16, window.innerHeight - Fn - 16)), $ < 16 && ($ = 16)), { margin: 0, top: $, left: z };
4725
4728
  })() : void 0;
4726
4729
  return /* @__PURE__ */ p(
4727
- In,
4730
+ Jn,
4728
4731
  {
4729
4732
  title: "列设置",
4730
4733
  open: t,
@@ -4750,12 +4753,12 @@ const Qt = 420, zn = 440, wa = ({
4750
4753
  /* @__PURE__ */ ye(_e, { align: "center", children: [
4751
4754
  /* @__PURE__ */ p("span", { className: "and-table-column-setting-label", children: "表格" }),
4752
4755
  /* @__PURE__ */ p(
4753
- Un,
4756
+ In,
4754
4757
  {
4755
4758
  size: "small",
4756
4759
  value: A,
4757
4760
  onChange: B,
4758
- options: [...ba],
4761
+ options: [...Sa],
4759
4762
  style: { width: 80 }
4760
4763
  }
4761
4764
  )
@@ -4779,7 +4782,7 @@ const Qt = 420, zn = 440, wa = ({
4779
4782
  onDragOver: j(z),
4780
4783
  onDragEnd: q,
4781
4784
  children: [
4782
- /* @__PURE__ */ p("td", { className: "and-table-column-setting-td-drag", children: /* @__PURE__ */ p("span", { className: "and-table-column-setting-drag", title: "拖动排序", children: /* @__PURE__ */ p(gi, {}) }) }),
4785
+ /* @__PURE__ */ p("td", { className: "and-table-column-setting-td-drag", children: /* @__PURE__ */ p("span", { className: "and-table-column-setting-drag", title: "拖动排序", children: /* @__PURE__ */ p(pi, {}) }) }),
4783
4786
  /* @__PURE__ */ ye("td", { className: "and-table-column-setting-td-name", children: [
4784
4787
  /* @__PURE__ */ p(bt, { checked: $.visible, onChange: () => k($.key) }),
4785
4788
  /* @__PURE__ */ p("span", { className: "and-table-column-setting-title", title: $.title, children: $.title })
@@ -4791,11 +4794,11 @@ const Qt = 420, zn = 440, wa = ({
4791
4794
  className: "and-table-column-setting-fix-btn",
4792
4795
  onClick: () => M($.key, -At),
4793
4796
  title: `减 ${At}px`,
4794
- children: /* @__PURE__ */ p(pi, {})
4797
+ children: /* @__PURE__ */ p(vi, {})
4795
4798
  }
4796
4799
  ),
4797
4800
  /* @__PURE__ */ p(
4798
- Hn,
4801
+ Un,
4799
4802
  {
4800
4803
  size: "small",
4801
4804
  min: Gt,
@@ -4804,8 +4807,8 @@ const Qt = 420, zn = 440, wa = ({
4804
4807
  placeholder: "auto",
4805
4808
  controls: !1,
4806
4809
  style: { width: 44 },
4807
- onChange: (I) => {
4808
- I == null || typeof I == "string" && I === "" ? T($.key, "auto") : T($.key, Math.max(Gt, Number(I)));
4810
+ onChange: (Y) => {
4811
+ Y == null || typeof Y == "string" && Y === "" ? T($.key, "auto") : T($.key, Math.max(Gt, Number(Y)));
4809
4812
  }
4810
4813
  }
4811
4814
  ),
@@ -4815,7 +4818,7 @@ const Qt = 420, zn = 440, wa = ({
4815
4818
  className: "and-table-column-setting-fix-btn",
4816
4819
  onClick: () => M($.key, At),
4817
4820
  title: `加 ${At}px`,
4818
- children: /* @__PURE__ */ p(nr, {})
4821
+ children: /* @__PURE__ */ p(rr, {})
4819
4822
  }
4820
4823
  )
4821
4824
  ] }) }),
@@ -4826,7 +4829,7 @@ const Qt = 420, zn = 440, wa = ({
4826
4829
  className: `and-table-column-setting-fix-btn ${$.fixed === "left" ? "active" : ""}`,
4827
4830
  onClick: () => C($.key, $.fixed === "left" ? !1 : "left"),
4828
4831
  title: "固定到左侧",
4829
- children: /* @__PURE__ */ p(rr, {})
4832
+ children: /* @__PURE__ */ p(ir, {})
4830
4833
  }
4831
4834
  ),
4832
4835
  /* @__PURE__ */ p("span", { className: "and-table-column-setting-fix-divider", children: "|" }),
@@ -4836,7 +4839,7 @@ const Qt = 420, zn = 440, wa = ({
4836
4839
  className: `and-table-column-setting-fix-btn ${$.fixed === "right" ? "active" : ""}`,
4837
4840
  onClick: () => C($.key, $.fixed === "right" ? !1 : "right"),
4838
4841
  title: "固定到右侧",
4839
- children: /* @__PURE__ */ p(ir, {})
4842
+ children: /* @__PURE__ */ p(or, {})
4840
4843
  }
4841
4844
  )
4842
4845
  ] }) })
@@ -4850,7 +4853,7 @@ const Qt = 420, zn = 440, wa = ({
4850
4853
  ] })
4851
4854
  }
4852
4855
  );
4853
- }, xa = [
4856
+ }, Aa = [
4854
4857
  "value",
4855
4858
  "validateStatus",
4856
4859
  "help",
@@ -4861,7 +4864,7 @@ const Qt = 420, zn = 440, wa = ({
4861
4864
  "develop",
4862
4865
  "dataSet",
4863
4866
  "dataSetField"
4864
- ], ls = (t) => {
4867
+ ], us = (t) => {
4865
4868
  const { id: e, sessionId: n } = t, i = _(
4866
4869
  (Q) => {
4867
4870
  var he;
@@ -4871,7 +4874,7 @@ const Qt = 420, zn = 440, wa = ({
4871
4874
  () => Fe(
4872
4875
  { ...t },
4873
4876
  i ?? void 0,
4874
- { skipKeys: [...xa] }
4877
+ { skipKeys: [...Aa] }
4875
4878
  ),
4876
4879
  [t, i]
4877
4880
  ), {
@@ -4906,7 +4909,7 @@ const Qt = 420, zn = 440, wa = ({
4906
4909
  columnSettingOpenKey: K,
4907
4910
  columnSettingsKey: j,
4908
4911
  ...q
4909
- } = r, L = _((Q) => Q.addCommand), $ = _((Q) => Q.getDataSet), z = _((Q) => Q.setDataSet), [U, G] = we([]), I = Re(null), [de, fe] = we(void 0), J = F((Q, he) => {
4912
+ } = r, L = _((Q) => Q.addCommand), $ = _((Q) => Q.getDataSet), z = _((Q) => Q.setDataSet), [U, G] = we([]), Y = Re(null), [de, fe] = we(void 0), J = F((Q, he) => {
4910
4913
  if (Q == null) return he;
4911
4914
  if (typeof Q == "string")
4912
4915
  try {
@@ -4934,9 +4937,9 @@ const Qt = 420, zn = 440, wa = ({
4934
4937
  return X.columnSettingOpen ? ((he = Q.dataSets[X.columnSettingOpen]) == null ? void 0 : he.value) === !0 : !1;
4935
4938
  }
4936
4939
  ), Ne = 420;
4937
- tr(() => {
4938
- if (!ae || !I.current) return;
4939
- const Q = I.current.querySelector(".ant-table-thead") || I.current.querySelector(".ant-table-header");
4940
+ nr(() => {
4941
+ if (!ae || !Y.current) return;
4942
+ const Q = Y.current.querySelector(".ant-table-thead") || Y.current.querySelector(".ant-table-header");
4940
4943
  if (!Q) return;
4941
4944
  const he = Q.getBoundingClientRect();
4942
4945
  fe({
@@ -4948,14 +4951,14 @@ const Qt = 420, zn = 440, wa = ({
4948
4951
  var Me;
4949
4952
  const he = X.columnSettings ? (Me = Q.dataSets[X.columnSettings]) == null ? void 0 : Me.value : void 0;
4950
4953
  return typeof he == "object" && he !== null ? he : void 0;
4951
- }), pe = Bi(X.dataSet, c), Ae = m(() => X.dataSet ? pe : (v == null ? void 0 : v.data) || [], [X.dataSet, pe, v == null ? void 0 : v.data]), ge = m(() => J(B, {}), [B, J]), ee = ge && Object.keys(ge).length > 0, ne = m(
4954
+ }), pe = Ki(X.dataSet, c), Ae = m(() => X.dataSet ? pe : (v == null ? void 0 : v.data) || [], [X.dataSet, pe, v == null ? void 0 : v.data]), ge = m(() => J(B, {}), [B, J]), ee = ge && Object.keys(ge).length > 0, ne = m(
4952
4955
  () => ee ? { components: { Table: ge } } : void 0,
4953
4956
  [ee, ge]
4954
4957
  ), Se = _(
4955
4958
  (Q) => X.pagination ? Q.dataSets[X.pagination] : void 0
4956
- ), H = m(() => X.pagination ? $(X.pagination, "") || {} : {}, [X.pagination, $, Se]), Z = m(() => !(A === !1 || typeof A == "object" && (A == null ? void 0 : A.visible) === !1), [A]), ce = ca(I, P == null ? void 0 : P.y, Z), Y = m(() => {
4959
+ ), H = m(() => X.pagination ? $(X.pagination, "") || {} : {}, [X.pagination, $, Se]), Z = m(() => !(A === !1 || typeof A == "object" && (A == null ? void 0 : A.visible) === !1), [A]), ce = sa(Y, P == null ? void 0 : P.y, Z), I = m(() => {
4957
4960
  if (!Z) return !1;
4958
- 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, Xe = Q.pageSizeOptions ?? he["pagination-pageSizeOptions"] ?? "10,20,50,100", Ut = typeof Xe == "string" ? Xe.split(",").map((ut) => parseInt(String(ut).trim(), 10) || 10).filter((ut) => !isNaN(ut)) : Array.isArray(Xe) ? Xe : [10, 20, 50, 100];
4961
+ 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];
4959
4962
  return {
4960
4963
  ...H,
4961
4964
  showSizeChanger: Me,
@@ -4987,16 +4990,16 @@ const Qt = 420, zn = 440, wa = ({
4987
4990
  fixed: he,
4988
4991
  width: typeof Me == "number" ? Me : "auto"
4989
4992
  };
4990
- }).filter((Q) => Q.key), [se]), De = g === !0, Te = !1, Qe = x === "small" || x === "large" ? x : "middle", { rowIndexVisible: We, items: Ue, scrollX: Ze, size: gn } = m(() => Sa(
4993
+ }).filter((Q) => Q.key), [se]), De = g === !0, Te = !1, Ze = x === "small" || x === "large" ? x : "middle", { rowIndexVisible: We, items: Ue, scrollX: Xe, size: gn } = m(() => wa(
4991
4994
  ve,
4992
4995
  be,
4993
4996
  De,
4994
- Qe
4995
- ), [ve, be, De, Qe]), yt = !!(a && n), br = m(() => {
4996
- if (Ze !== void 0) return Ze;
4997
+ Ze
4998
+ ), [ve, be, De, Ze]), yt = !!(a && n), Sr = m(() => {
4999
+ if (Xe !== void 0) return Xe;
4997
5000
  const Q = P == null ? void 0 : P.x;
4998
5001
  return Q === !0 || typeof Q == "number" && Number.isFinite(Q) && Q > 0 ? !0 : Q === "max-content" ? !1 : Te;
4999
- }, [Ze, P == null ? void 0 : P.x, Te]), pn = m(() => yt ? Ze !== void 0 ? Ze ? !0 : "max-content" : (P == null ? void 0 : P.x) !== void 0 ? P.x : "max-content" : P == null ? void 0 : P.x, [yt, Ze, P == null ? void 0 : P.x, Te]), Mt = m(() => {
5002
+ }, [Xe, P == null ? void 0 : P.x, Te]), pn = m(() => yt ? Xe !== void 0 ? Xe ? !0 : "max-content" : (P == null ? void 0 : P.x) !== void 0 ? P.x : "max-content" : P == null ? void 0 : P.x, [yt, Xe, P == null ? void 0 : P.x, Te]), Mt = m(() => {
5000
5003
  const Q = [];
5001
5004
  We && Q.push({
5002
5005
  title: "序号",
@@ -5004,22 +5007,22 @@ const Qt = 420, zn = 440, wa = ({
5004
5007
  width: 60,
5005
5008
  align: "center",
5006
5009
  render: (Ee, Oe, Ve) => {
5007
- const Xe = H.current || 1, Ut = H.pageSize || 10;
5008
- return (Xe - 1) * Ut + Ve + 1;
5010
+ const et = H.current || 1, Ut = H.pageSize || 10;
5011
+ return (et - 1) * Ut + Ve + 1;
5009
5012
  }
5010
5013
  });
5011
5014
  const he = new Map(se.map((Ee) => [String(Ee.key ?? Ee.dataIndex ?? ""), Ee]));
5012
5015
  return Ue.filter((Ee) => Ee.visible).forEach((Ee) => {
5013
5016
  const Oe = he.get(Ee.key);
5014
5017
  if (!Oe) return;
5015
- const Ve = Ee.fixed || void 0, Xe = Ee.width === "auto" || Ee.width === void 0 ? void 0 : Ee.width;
5018
+ const Ve = Ee.fixed || void 0, et = Ee.width === "auto" || Ee.width === void 0 ? void 0 : Ee.width;
5016
5019
  Q.push(
5017
- va(
5020
+ ba(
5018
5021
  {
5019
5022
  ...Oe,
5020
5023
  dataIndex: Oe.dataIndex || Oe.key,
5021
5024
  fixed: Ve || Oe.fixed,
5022
- width: Xe ?? Oe.width
5025
+ width: et ?? Oe.width
5023
5026
  },
5024
5027
  { runAction: ue }
5025
5028
  )
@@ -5027,7 +5030,7 @@ const Qt = 420, zn = 440, wa = ({
5027
5030
  }), h !== !1 && me.length > 0 && Q.push({
5028
5031
  title: "操作",
5029
5032
  key: "action",
5030
- render: (Ee, Oe) => /* @__PURE__ */ p(_e, { children: me.map((Ve, Xe) => /* @__PURE__ */ p(Wn, { title: Ve.tooltip, children: /* @__PURE__ */ p("a", { onClick: () => W(Ve, Oe), style: { marginRight: 5 }, children: Ve.title }) }, Xe)) })
5033
+ 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)) })
5031
5034
  }), Q;
5032
5035
  }, [
5033
5036
  se,
@@ -5038,14 +5041,14 @@ const Qt = 420, zn = 440, wa = ({
5038
5041
  H,
5039
5042
  W,
5040
5043
  ue
5041
- ]), Sr = F(() => {
5044
+ ]), wr = F(() => {
5042
5045
  X.columnSettingOpen && z(X.columnSettingOpen, "", !1);
5043
- }, [X.columnSettingOpen, z]), wr = F(
5046
+ }, [X.columnSettingOpen, z]), xr = F(
5044
5047
  (Q) => {
5045
5048
  X.columnSettings && z(X.columnSettings, "value", Q);
5046
5049
  },
5047
5050
  [X.columnSettings, z]
5048
- ), xr = m(() => {
5051
+ ), Ar = m(() => {
5049
5052
  if (!b && f)
5050
5053
  return {
5051
5054
  selectedRowKeys: U,
@@ -5061,11 +5064,11 @@ const Qt = 420, zn = 440, wa = ({
5061
5064
  if (!b) return;
5062
5065
  const Me = [Q[l]];
5063
5066
  G(Me), X.selected && z(X.selected, "", Me), y != null && y.trim() && n && L(n, oe(y.trim(), { record: Q, selectedRowKeys: Me }));
5064
- }, [b, y, n, l, X.selected, z, L]), Ar = F((Q) => b && U.includes(Q[l]) ? "ant-table-row-selected" : "", [b, l, U]), Dr = F((Q) => b ? { onClick: () => vn(Q), style: { cursor: "pointer" } } : {}, [b, vn]), Nr = m(() => {
5067
+ }, [b, y, n, l, X.selected, z, L]), Dr = F((Q) => b && U.includes(Q[l]) ? "ant-table-row-selected" : "", [b, l, U]), Nr = F((Q) => b ? { onClick: () => vn(Q), style: { cursor: "pointer" } } : {}, [b, vn]), Cr = m(() => {
5065
5068
  if (!P && !yt) return;
5066
5069
  const Q = pn, he = (P == null ? void 0 : P.y) === "100%" ? ce : P == null ? void 0 : P.y;
5067
5070
  return Q !== void 0 || he !== void 0 ? { x: Q, y: he } : P ? P.y === "100%" ? { x: P.x, y: ce } : P : void 0;
5068
- }, [P, ce, yt, pn]), { titleSlot: Rt, summarySlot: jt, footerSlot: bn, otherChildren: Cr } = m(() => {
5071
+ }, [P, ce, yt, pn]), { titleSlot: Rt, summarySlot: jt, footerSlot: bn, otherChildren: Tr } = m(() => {
5069
5072
  let Q = null, he = null, Me = null;
5070
5073
  const Ee = [];
5071
5074
  return Le.Children.forEach(V, (Oe) => {
@@ -5076,42 +5079,42 @@ const Qt = 420, zn = 440, wa = ({
5076
5079
  const Ve = Oe.props["data-slot-type"];
5077
5080
  Ve === "title" ? Q = Oe : Ve === "summary" ? he = Oe : Ve === "footer" ? Me = Oe : Ee.push(Oe);
5078
5081
  }), { titleSlot: Q, summarySlot: he, footerSlot: Me, otherChildren: Ee };
5079
- }, [V]), Tr = m(() => {
5082
+ }, [V]), kr = m(() => {
5080
5083
  if (!Rt) {
5081
5084
  if (M) return M;
5082
5085
  if (k && o) return () => /* @__PURE__ */ p("div", { "data-table-slot-container": "title", style: { minHeight: 20 } });
5083
5086
  }
5084
- }, [k, Rt, M, o]), kr = m(() => {
5087
+ }, [k, Rt, M, o]), _r = m(() => {
5085
5088
  if (R) return R;
5086
5089
  if (C && jt)
5087
5090
  return () => /* @__PURE__ */ p("tr", { children: /* @__PURE__ */ p("td", { colSpan: Mt.length, style: { padding: 0 }, children: jt }) });
5088
5091
  if (C && o)
5089
5092
  return () => /* @__PURE__ */ p("tr", { children: /* @__PURE__ */ p("td", { colSpan: Mt.length, style: { padding: 0 }, children: /* @__PURE__ */ p("div", { "data-table-slot-container": "summary", style: { minHeight: 20 } }) }) });
5090
5093
  }, [C, jt, R, Mt.length, o]), Sn = /* @__PURE__ */ p(
5091
- Fr,
5094
+ Vr,
5092
5095
  {
5093
5096
  ...te,
5094
5097
  columns: Mt,
5095
5098
  dataSource: Ae,
5096
5099
  rowKey: l,
5097
- rowSelection: xr,
5098
- rowClassName: Ar,
5099
- pagination: Y,
5100
+ rowSelection: Ar,
5101
+ rowClassName: Dr,
5102
+ pagination: I,
5100
5103
  locale: { emptyText: w },
5101
5104
  bordered: N,
5102
5105
  size: yt ? gn : x,
5103
5106
  sticky: S,
5104
- scroll: Nr,
5105
- title: Tr,
5106
- summary: kr,
5107
+ scroll: Cr,
5108
+ title: kr,
5109
+ summary: _r,
5107
5110
  footer: void 0,
5108
- onRow: Dr
5111
+ onRow: Nr
5109
5112
  }
5110
5113
  );
5111
5114
  return /* @__PURE__ */ ye(
5112
- Jn,
5115
+ Gn,
5113
5116
  {
5114
- ref: I,
5117
+ ref: Y,
5115
5118
  vertical: !0,
5116
5119
  style: { width: "100%", height: "100%", ...ie },
5117
5120
  className: re,
@@ -5136,9 +5139,9 @@ const Qt = 420, zn = 440, wa = ({
5136
5139
  ] }),
5137
5140
  jt,
5138
5141
  bn && /* @__PURE__ */ p("div", { "data-table-slot": "footer", children: bn }),
5139
- Cr,
5142
+ Tr,
5140
5143
  yt && /* @__PURE__ */ p(
5141
- wa,
5144
+ xa,
5142
5145
  {
5143
5146
  open: ae,
5144
5147
  position: de,
@@ -5146,18 +5149,18 @@ const Qt = 420, zn = 440, wa = ({
5146
5149
  columnItems: Ue,
5147
5150
  defaultRowIndexVisible: De,
5148
5151
  defaultColumnItems: be,
5149
- scrollX: br,
5152
+ scrollX: Sr,
5150
5153
  defaultScrollX: Te,
5151
5154
  size: gn,
5152
- defaultSize: Qe,
5153
- onSave: wr,
5154
- onClose: Sr
5155
+ defaultSize: Ze,
5156
+ onSave: xr,
5157
+ onClose: wr
5155
5158
  }
5156
5159
  )
5157
5160
  ]
5158
5161
  }
5159
5162
  );
5160
- }, { Text: Aa } = mn, us = ({
5163
+ }, { Text: Da } = mn, ds = ({
5161
5164
  id: t,
5162
5165
  sessionId: e,
5163
5166
  develop: n,
@@ -5179,7 +5182,7 @@ const Qt = 420, zn = 440, wa = ({
5179
5182
  index: u,
5180
5183
  ...A
5181
5184
  }) => {
5182
- const w = _((P) => P.addCommand), N = Ge(Pe), x = u ?? (N == null ? void 0 : N.index), S = N == null ? void 0 : N.parentIndex, D = typeof o == "string" && o.trim() !== "", E = typeof a == "string" && a.trim() !== "", k = D || E || d === "selectedCount", C = ot(
5185
+ const w = _((P) => P.addCommand), N = Qe(Pe), x = u ?? (N == null ? void 0 : N.index), S = N == null ? void 0 : N.parentIndex, D = typeof o == "string" && o.trim() !== "", E = typeof a == "string" && a.trim() !== "", k = D || E || d === "selectedCount", C = ot(
5183
5186
  k ? o : void 0,
5184
5187
  k ? a : void 0,
5185
5188
  e
@@ -5223,11 +5226,11 @@ const Qt = 420, zn = 440, wa = ({
5223
5226
  return (P == null ? void 0 : P.label) ?? U;
5224
5227
  }
5225
5228
  return U;
5226
- }, [d, q, U]), I = m(() => {
5229
+ }, [d, q, U]), Y = m(() => {
5227
5230
  if (n)
5228
5231
  return G;
5229
5232
  const P = (O == null ? void 0 : O.formatType) || v;
5230
- return P && G !== void 0 && G !== null ? Po(G, P, $) : G;
5233
+ return P && G !== void 0 && G !== null ? Wo(G, P, $) : G;
5231
5234
  }, [n, G, v, $, O == null ? void 0 : O.formatType]), de = m(() => {
5232
5235
  const P = { ...A };
5233
5236
  return O && typeof O == "object" && Object.keys(O).forEach((ae) => {
@@ -5267,13 +5270,13 @@ const Qt = 420, zn = 440, wa = ({
5267
5270
  }
5268
5271
  return X && (P.color = X), P;
5269
5272
  }, [c, X, O == null ? void 0 : O.fontSize]), te = /* @__PURE__ */ p(
5270
- Aa,
5273
+ Da,
5271
5274
  {
5272
5275
  ...de,
5273
5276
  style: { ...re, ...b, ...de.style },
5274
5277
  onClick: (P) => {
5275
5278
  if (typeof de.onClick == "function" && de.onClick(P), fe && T) {
5276
- const { actionName: ae, arg: Ne } = cr(fe, {
5279
+ const { actionName: ae, arg: Ne } = sr(fe, {
5277
5280
  id: t,
5278
5281
  index: x,
5279
5282
  parentIndex: S,
@@ -5285,11 +5288,11 @@ const Qt = 420, zn = 440, wa = ({
5285
5288
  }
5286
5289
  se && P.stopPropagation();
5287
5290
  },
5288
- children: I != null && I !== "" ? String(I) : r
5291
+ children: Y != null && Y !== "" ? String(Y) : r
5289
5292
  }
5290
5293
  );
5291
5294
  return ie ? /* @__PURE__ */ p(Ke, { theme: { token: ie }, children: te }) : te;
5292
- }, { Title: Da } = mn, ds = ({
5295
+ }, { Title: Na } = mn, fs = ({
5293
5296
  id: t,
5294
5297
  sessionId: e,
5295
5298
  develop: n,
@@ -5317,8 +5320,8 @@ const Qt = 420, zn = 440, wa = ({
5317
5320
  S !== "content" && y[S] !== void 0 && y[S] !== null && (x[S] = y[S]);
5318
5321
  }), x;
5319
5322
  }, [v, y]);
5320
- return /* @__PURE__ */ p(Da, { level: c, ...N, style: { ...w, ...d, ...N.style }, children: g || r });
5321
- }, { Paragraph: Na } = mn, fs = ({
5323
+ return /* @__PURE__ */ p(Na, { level: c, ...N, style: { ...w, ...d, ...N.style }, children: g || r });
5324
+ }, { Paragraph: Ca } = mn, ms = ({
5322
5325
  id: t,
5323
5326
  sessionId: e,
5324
5327
  develop: n,
@@ -5345,8 +5348,8 @@ const Qt = 420, zn = 440, wa = ({
5345
5348
  x !== "content" && b[x] !== void 0 && b[x] !== null && (N[x] = b[x]);
5346
5349
  }), N;
5347
5350
  }, [d, b]);
5348
- return /* @__PURE__ */ p(Na, { ...w, style: { ...A, ...s, ...w.style }, children: l || r });
5349
- }, Ca = (t) => {
5351
+ return /* @__PURE__ */ p(Ca, { ...w, style: { ...A, ...s, ...w.style }, children: l || r });
5352
+ }, Ta = (t) => {
5350
5353
  if (!t) return [];
5351
5354
  if (typeof t == "string")
5352
5355
  try {
@@ -5355,7 +5358,7 @@ const Qt = 420, zn = 440, wa = ({
5355
5358
  return [];
5356
5359
  }
5357
5360
  return t;
5358
- }, ms = ({
5361
+ }, ys = ({
5359
5362
  id: t,
5360
5363
  sessionId: e,
5361
5364
  develop: n,
@@ -5374,7 +5377,7 @@ const Qt = 420, zn = 440, wa = ({
5374
5377
  const y = _((k) => k.addCommand), l = _((k) => k.getDataSet), g = _((k) => k.setDataSet), u = m(
5375
5378
  () => le(e, i),
5376
5379
  [e, i]
5377
- ), A = m(() => Ca(o), [o]), w = m(() => a && a.length > 0 ? n ? a.map((k) => ({ ...k, forceRender: !0 })) : a : A.length > 0 ? A.map((k, C) => ({
5380
+ ), A = m(() => Ta(o), [o]), w = m(() => a && a.length > 0 ? n ? a.map((k) => ({ ...k, forceRender: !0 })) : a : A.length > 0 ? A.map((k, C) => ({
5378
5381
  key: k.key,
5379
5382
  label: k.tab,
5380
5383
  disabled: k.disabled,
@@ -5400,7 +5403,7 @@ const Qt = 420, zn = 440, wa = ({
5400
5403
  u && r && g(u, r, k), c && e && y(e, oe(c, k));
5401
5404
  }, [n, s, u, r, g, c, e, y]);
5402
5405
  return /* @__PURE__ */ p(
5403
- Vr,
5406
+ qr,
5404
5407
  {
5405
5408
  ...b,
5406
5409
  activeKey: D,
@@ -5410,7 +5413,7 @@ const Qt = 420, zn = 440, wa = ({
5410
5413
  children: f
5411
5414
  }
5412
5415
  );
5413
- }, ys = ({
5416
+ }, hs = ({
5414
5417
  id: t,
5415
5418
  sessionId: e,
5416
5419
  develop: n,
@@ -5469,9 +5472,9 @@ const Qt = 420, zn = 440, wa = ({
5469
5472
  (H) => q ? H.getDataSet(q, "") : void 0
5470
5473
  ), G = _(
5471
5474
  (H) => L ? H.getDataSet(L, "") : void 0
5472
- ), I = _(
5475
+ ), Y = _(
5473
5476
  (H) => $ ? H.getDataSet($, "") : void 0
5474
- ), de = m(() => n ? z ?? T ?? [] : j ? z ?? [] : T ?? [], [n, j, z, T]), fe = U, J = G, se = I, me = F(
5477
+ ), de = m(() => n ? z ?? T ?? [] : j ? z ?? [] : T ?? [], [n, j, z, T]), fe = U, J = G, se = Y, me = F(
5475
5478
  (H, Z) => {
5476
5479
  if (g) {
5477
5480
  g(H, Z);
@@ -5580,7 +5583,7 @@ const Qt = 420, zn = 440, wa = ({
5580
5583
  const H = {};
5581
5584
  return n && (H.motion = !1), ge && (H.components = { Tree: ge }), Object.keys(H).length > 0 ? H : void 0;
5582
5585
  }, [n, ge]), Se = /* @__PURE__ */ p(
5583
- qr,
5586
+ Pr,
5584
5587
  {
5585
5588
  ...V,
5586
5589
  ...n ? { motion: !1 } : {},
@@ -5604,7 +5607,7 @@ const Qt = 420, zn = 440, wa = ({
5604
5607
  }
5605
5608
  );
5606
5609
  return ee ? /* @__PURE__ */ p(Ke, { theme: ee, children: Se }) : Se;
5607
- }, hs = ({
5610
+ }, gs = ({
5608
5611
  id: t,
5609
5612
  sessionId: e,
5610
5613
  develop: n,
@@ -5642,7 +5645,7 @@ const Qt = 420, zn = 440, wa = ({
5642
5645
  }), A;
5643
5646
  }, [d, b]), u = m(() => s === "left" ? "start" : s === "right" ? "end" : s, [s]);
5644
5647
  return /* @__PURE__ */ p(
5645
- Pr,
5648
+ Wr,
5646
5649
  {
5647
5650
  ...g,
5648
5651
  mode: u,
@@ -5659,7 +5662,7 @@ const Qt = 420, zn = 440, wa = ({
5659
5662
  return e;
5660
5663
  }
5661
5664
  return t;
5662
- }, gs = ({
5665
+ }, ps = ({
5663
5666
  id: t,
5664
5667
  sessionId: e,
5665
5668
  develop: n,
@@ -5689,7 +5692,7 @@ const Qt = 420, zn = 440, wa = ({
5689
5692
  }
5690
5693
  w && r && A(w, r, O), o && e && g(e, oe(o, O));
5691
5694
  }, [a, w, r, A, o, e, g]), M = Object.keys(C).length > 0, R = /* @__PURE__ */ p(
5692
- Wr,
5695
+ Hr,
5693
5696
  {
5694
5697
  ...l,
5695
5698
  current: x,
@@ -5701,12 +5704,12 @@ const Qt = 420, zn = 440, wa = ({
5701
5704
  }
5702
5705
  );
5703
5706
  return M ? /* @__PURE__ */ p(Ke, { theme: { components: { Steps: C } }, children: R }) : R;
5704
- }, ps = ({
5707
+ }, vs = ({
5705
5708
  id: t,
5706
5709
  sessionId: e,
5707
5710
  develop: n,
5708
5711
  ...i
5709
- }) => /* @__PURE__ */ p(en, { ...i }), vs = ({
5712
+ }) => /* @__PURE__ */ p(en, { ...i }), bs = ({
5710
5713
  id: t,
5711
5714
  sessionId: e,
5712
5715
  develop: n,
@@ -5717,12 +5720,12 @@ const Qt = 420, zn = 440, wa = ({
5717
5720
  return /* @__PURE__ */ p(r, { type: "countdown", ...i });
5718
5721
  const { Countdown: o } = en;
5719
5722
  return /* @__PURE__ */ p(o, { ...i });
5720
- }, Ta = {
5723
+ }, ka = {
5721
5724
  top: "top",
5722
5725
  bottom: "bottom",
5723
5726
  left: "start",
5724
5727
  right: "end"
5725
- }, ka = (t) => {
5728
+ }, _a = (t) => {
5726
5729
  if (!t) return [];
5727
5730
  if (typeof t == "string")
5728
5731
  try {
@@ -5731,7 +5734,7 @@ const Qt = 420, zn = 440, wa = ({
5731
5734
  return [];
5732
5735
  }
5733
5736
  return t;
5734
- }, bs = ({
5737
+ }, Ss = ({
5735
5738
  id: t,
5736
5739
  sessionId: e,
5737
5740
  develop: n,
@@ -5752,8 +5755,8 @@ const Qt = 420, zn = 440, wa = ({
5752
5755
  ), g = m(() => {
5753
5756
  if (a) return a;
5754
5757
  if (o)
5755
- return Ta[o] || o;
5756
- }, [o, a]), u = m(() => ka(c), [c]), A = F((N) => {
5758
+ return ka[o] || o;
5759
+ }, [o, a]), u = m(() => _a(c), [c]), A = F((N) => {
5757
5760
  if (d) {
5758
5761
  d(N);
5759
5762
  return;
@@ -5771,7 +5774,7 @@ const Qt = 420, zn = 440, wa = ({
5771
5774
  }, children: n ? N.title : null }) }, N.key);
5772
5775
  }) : null), [h, u, v, n]);
5773
5776
  return /* @__PURE__ */ p(
5774
- Hr,
5777
+ Ur,
5775
5778
  {
5776
5779
  ...f,
5777
5780
  dotPlacement: g,
@@ -5780,13 +5783,13 @@ const Qt = 420, zn = 440, wa = ({
5780
5783
  }
5781
5784
  );
5782
5785
  };
5783
- function _a(t) {
5786
+ function Ea(t) {
5784
5787
  if (!t || typeof t != "string" || /^(data:|blob:|https?:\/\/)/i.test(t)) return t;
5785
- const e = Ie().viewRes;
5788
+ const e = Je().viewRes;
5786
5789
  return e ? e(t) : t;
5787
5790
  }
5788
- const Ea = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+PHJlY3Qgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIGZpbGw9IiNmMGYwZjAiLz48cGF0aCBkPSJNNzAgNzBhMTIgMTIgMCAxIDEgMCAyNCAxMiAxMiAwIDAgMSAwLTI0em02MCAxMEw4NSAxMzBsLTI1LTIwLTIwIDE1djE1aDEyMHYtNDB6IiBmaWxsPSIjYmZiZmJmIi8+PC9zdmc+";
5789
- function Oa(t, e, n) {
5791
+ const Oa = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+PHJlY3Qgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIGZpbGw9IiNmMGYwZjAiLz48cGF0aCBkPSJNNzAgNzBhMTIgMTIgMCAxIDEgMCAyNCAxMiAxMiAwIDAgMSAwLTI0em02MCAxMEw4NSAxMzBsLTI1LTIwLTIwIDE1djE1aDEyMHYtNDB6IiBmaWxsPSIjYmZiZmJmIi8+PC9zdmc+";
5792
+ function $a(t, e, n) {
5790
5793
  if (!e) return;
5791
5794
  const { baseName: i, index: r } = wt(e), o = t[i];
5792
5795
  if (r !== null) {
@@ -5798,7 +5801,7 @@ function Oa(t, e, n) {
5798
5801
  if (o)
5799
5802
  return n ? kt(o, vt(n)) : o;
5800
5803
  }
5801
- const Ss = ({
5804
+ const ws = ({
5802
5805
  id: t,
5803
5806
  sessionId: e,
5804
5807
  develop: n,
@@ -5813,10 +5816,10 @@ const Ss = ({
5813
5816
  () => le(e, i),
5814
5817
  [e, i]
5815
5818
  ), h = _(
5816
- (g) => v && r ? Oa(g.dataSets, v, r) : void 0
5819
+ (g) => v && r ? $a(g.dataSets, v, r) : void 0
5817
5820
  ), f = m(() => e && t ? d(e, t) : null, [e, t, d]), b = m(() => {
5818
5821
  let g;
5819
- return h != null && h !== "" ? g = String(h) : (f == null ? void 0 : f.src) !== void 0 ? g = f.src : g = c, _a(g);
5822
+ return h != null && h !== "" ? g = String(h) : (f == null ? void 0 : f.src) !== void 0 ? g = f.src : g = c, Ea(g);
5820
5823
  }, [h, f == null ? void 0 : f.src, c]), y = m(() => {
5821
5824
  const g = { ...s };
5822
5825
  return f && typeof f == "object" && Object.keys(f).forEach((u) => {
@@ -5825,7 +5828,7 @@ const Ss = ({
5825
5828
  }, [s, f]), l = {
5826
5829
  ...y,
5827
5830
  src: b || void 0,
5828
- fallback: y.fallback || Ea,
5831
+ fallback: y.fallback || Oa,
5829
5832
  // Disable preview in designer mode to prevent GrapesJS selection interference
5830
5833
  preview: n ? !1 : y.preview,
5831
5834
  // Use styles prop instead of CSS overrides (AntD 5.7+)
@@ -5835,13 +5838,13 @@ const Ss = ({
5835
5838
  }
5836
5839
  };
5837
5840
  return /* @__PURE__ */ p("div", { style: { width: "100%", height: "100%", display: "flex" }, children: /* @__PURE__ */ p(at, { ...l }) });
5838
- }, { PreviewGroup: $a } = at;
5839
- function Ma(t) {
5841
+ }, { PreviewGroup: Ma } = at;
5842
+ function Ra(t) {
5840
5843
  if (!t || typeof t != "string" || /^(data:|blob:|https?:\/\/)/i.test(t)) return t;
5841
- const e = Ie().viewRes;
5844
+ const e = Je().viewRes;
5842
5845
  return e ? e(t) : t;
5843
5846
  }
5844
- const ws = ({
5847
+ const xs = ({
5845
5848
  id: t,
5846
5849
  sessionId: e,
5847
5850
  develop: n,
@@ -5867,15 +5870,15 @@ const ws = ({
5867
5870
  return n ? g ?? a ?? [] : v ? Array.isArray(g) ? g : [] : a ?? [];
5868
5871
  }, [n, v, f, h == null ? void 0 : h.items, a]), y = m(() => b.map((g) => {
5869
5872
  const u = typeof g == "string" ? g : g && typeof g == "object" ? g.url ?? g.src : void 0;
5870
- return Ma(u);
5873
+ return Ra(u);
5871
5874
  }).filter((g) => !!g), [b]), l = m(() => {
5872
5875
  const g = { ...c };
5873
5876
  return h && typeof h == "object" && Object.keys(h).forEach((u) => {
5874
5877
  u !== "items" && h[u] !== void 0 && h[u] !== null && (g[u] = h[u]);
5875
5878
  }), g;
5876
5879
  }, [c, h]);
5877
- return /* @__PURE__ */ p($a, { ...l, items: y, children: i });
5878
- }, xs = ({
5880
+ return /* @__PURE__ */ p(Ma, { ...l, items: y, children: i });
5881
+ }, As = ({
5879
5882
  id: t,
5880
5883
  sessionId: e,
5881
5884
  develop: n,
@@ -5900,7 +5903,7 @@ const ws = ({
5900
5903
  }, [n, l, y == null ? void 0 : y.src, a]), u = m(() => {
5901
5904
  let S = s;
5902
5905
  if (!n && (y != null && y.icon) && (S = y.icon), typeof S == "string" && S) {
5903
- const D = Je[S];
5906
+ const D = Ge[S];
5904
5907
  if (D) return /* @__PURE__ */ p(D, {});
5905
5908
  }
5906
5909
  return S;
@@ -5933,7 +5936,7 @@ const ws = ({
5933
5936
  if (w)
5934
5937
  return { components: { Avatar: w } };
5935
5938
  }, [w]), x = /* @__PURE__ */ p(
5936
- Ur,
5939
+ Ir,
5937
5940
  {
5938
5941
  ...A,
5939
5942
  src: g,
@@ -5942,7 +5945,7 @@ const ws = ({
5942
5945
  }
5943
5946
  );
5944
5947
  return N ? /* @__PURE__ */ p(Ke, { theme: N, children: x }) : x;
5945
- }, Ra = {
5948
+ }, ja = {
5946
5949
  0: "default",
5947
5950
  1: "success",
5948
5951
  2: "warning",
@@ -5951,7 +5954,7 @@ const ws = ({
5951
5954
  false: "default",
5952
5955
  yes: "success",
5953
5956
  no: "default"
5954
- }, As = ({
5957
+ }, Ds = ({
5955
5958
  id: t,
5956
5959
  sessionId: e,
5957
5960
  develop: n,
@@ -5997,7 +6000,7 @@ const ws = ({
5997
6000
  }, [c, w, D]), k = m(() => {
5998
6001
  if (!s || D === void 0 || D === null) return;
5999
6002
  const V = String(D).toLowerCase();
6000
- return N && N[V] ? N[V] : Ra[V];
6003
+ return N && N[V] ? N[V] : ja[V];
6001
6004
  }, [s, D, N]), C = m(() => {
6002
6005
  const V = { ...b };
6003
6006
  return x && typeof x == "object" && Object.keys(x).forEach((B) => {
@@ -6007,8 +6010,8 @@ const ws = ({
6007
6010
  const { bordered: V, ...B } = C;
6008
6011
  return B;
6009
6012
  }, [C]), M = (x == null ? void 0 : x.color) ?? v, O = Ht(M) || k;
6010
- return /* @__PURE__ */ p(Gn, { ...T, color: O, children: E || i });
6011
- }, Ds = ({
6013
+ return /* @__PURE__ */ p(Qn, { ...T, color: O, children: E || i });
6014
+ }, Ns = ({
6012
6015
  id: t,
6013
6016
  sessionId: e,
6014
6017
  develop: n,
@@ -6082,7 +6085,7 @@ const ws = ({
6082
6085
  g && l(g, u ?? "", { current: k, pageSize: C, total: S }), a && e && y(e, oe(a, { current: k, pageSize: C }));
6083
6086
  }, [s, g, u, l, S, a, e, y]);
6084
6087
  return /* @__PURE__ */ p(
6085
- Qn,
6088
+ Zn,
6086
6089
  {
6087
6090
  ...b,
6088
6091
  current: N,
@@ -6096,14 +6099,14 @@ const ws = ({
6096
6099
  }, [b.showTotal])
6097
6100
  }
6098
6101
  );
6099
- }, Ns = ({
6102
+ }, Cs = ({
6100
6103
  id: t,
6101
6104
  sessionId: e,
6102
6105
  develop: n,
6103
6106
  items: i,
6104
6107
  children: r,
6105
6108
  ...o
6106
- }) => /* @__PURE__ */ p(Yr, { ...o, items: i, children: r }), zt = (t) => Object.entries(t).map(([e, n]) => `${e.replace(/([A-Z])/g, "-$1").toLowerCase()}: ${n}`).join("; "), ja = ({ mode: t, arrowStyle: e, arrowIconPrev: n, arrowIconNext: i, children: r }) => {
6109
+ }) => /* @__PURE__ */ p(Yr, { ...o, items: i, children: r }), zt = (t) => Object.entries(t).map(([e, n]) => `${e.replace(/([A-Z])/g, "-$1").toLowerCase()}: ${n}`).join("; "), Ba = ({ mode: t, arrowStyle: e, arrowIconPrev: n, arrowIconNext: i, children: r }) => {
6107
6110
  const o = Re(null), a = Re(null), [c, s] = we(0), [d, v] = we(!1), [h, f] = we(0), [b, y] = we(0), l = t === "horizontal";
6108
6111
  Ce(() => {
6109
6112
  const S = () => {
@@ -6124,7 +6127,7 @@ const ws = ({
6124
6127
  if (u) return;
6125
6128
  const S = l ? ((E = o.current) == null ? void 0 : E.clientWidth) ?? 200 : ((k = o.current) == null ? void 0 : k.clientHeight) ?? 200, D = l ? (((C = a.current) == null ? void 0 : C.scrollWidth) ?? 0) - (((T = o.current) == null ? void 0 : T.clientWidth) ?? 0) : (((M = a.current) == null ? void 0 : M.scrollHeight) ?? 0) - (((R = o.current) == null ? void 0 : R.clientHeight) ?? 0);
6126
6129
  s((O) => Math.min(D, O + S));
6127
- }, [l, u]), N = n || (l ? /* @__PURE__ */ p(rr, {}) : /* @__PURE__ */ p(vi, {})), x = i || (l ? /* @__PURE__ */ p(ir, {}) : /* @__PURE__ */ p(or, {}));
6130
+ }, [l, u]), N = n || (l ? /* @__PURE__ */ p(ir, {}) : /* @__PURE__ */ p(bi, {})), x = i || (l ? /* @__PURE__ */ p(or, {}) : /* @__PURE__ */ p(ar, {}));
6128
6131
  return /* @__PURE__ */ ye(
6129
6132
  "div",
6130
6133
  {
@@ -6203,7 +6206,7 @@ const ws = ({
6203
6206
  ]
6204
6207
  }
6205
6208
  );
6206
- }, Ba = ({ mode: t, children: e }) => /* @__PURE__ */ p(
6209
+ }, Ka = ({ mode: t, children: e }) => /* @__PURE__ */ p(
6207
6210
  "div",
6208
6211
  {
6209
6212
  style: {
@@ -6215,7 +6218,7 @@ const ws = ({
6215
6218
  },
6216
6219
  children: e
6217
6220
  }
6218
- ), Cs = ({
6221
+ ), Ts = ({
6219
6222
  id: t,
6220
6223
  sessionId: e,
6221
6224
  develop: n,
@@ -6268,7 +6271,7 @@ const ws = ({
6268
6271
  ), $ = m(() => ({}), []), z = L ?? $, U = m(
6269
6272
  () => (z == null ? void 0 : z.items) ?? (Array.isArray(z) ? z : void 0) ?? (Array.isArray(z == null ? void 0 : z.value) ? z.value : void 0),
6270
6273
  [z]
6271
- ), G = m(() => n ? U ?? b ?? [] : q ? U ?? [] : b ?? [], [n, q, U, b]), I = m(
6274
+ ), G = m(() => n ? U ?? b ?? [] : q ? U ?? [] : b ?? [], [n, q, U, b]), Y = m(
6272
6275
  () => z.selectedKeys ?? y,
6273
6276
  [z.selectedKeys, y]
6274
6277
  ), de = m(
@@ -6284,15 +6287,15 @@ const ws = ({
6284
6287
  const W = (ue) => Array.isArray(ue) ? ue.map((be) => {
6285
6288
  const De = { ...be };
6286
6289
  if (De.icon && typeof De.icon == "string") {
6287
- const Te = Je[De.icon];
6290
+ const Te = Ge[De.icon];
6288
6291
  Te && (De.icon = /* @__PURE__ */ p(Te, {}));
6289
6292
  }
6290
6293
  return De.children && De.children.length > 0 && (De.children = W(De.children)), De;
6291
6294
  }) : [];
6292
6295
  return W(G || []);
6293
6296
  }, [G]), me = m(
6294
- () => I,
6295
- [I]
6297
+ () => Y,
6298
+ [Y]
6296
6299
  ), X = m(
6297
6300
  () => de ?? J,
6298
6301
  [de, J]
@@ -6388,17 +6391,17 @@ const ws = ({
6388
6391
  motion: { motionName: "" }
6389
6392
  } : {}, pe = m(() => {
6390
6393
  if (typeof R == "string" && R) {
6391
- const W = Je[R];
6394
+ const W = Ge[R];
6392
6395
  if (W) return /* @__PURE__ */ p(W, {});
6393
6396
  }
6394
6397
  return R;
6395
6398
  }, [R]), Ae = m(() => {
6396
6399
  if (typeof O == "string" && O) {
6397
- const W = Je[O];
6400
+ const W = Ge[O];
6398
6401
  if (W) return /* @__PURE__ */ p(W, {});
6399
6402
  }
6400
6403
  return O;
6401
- }, [O]), ge = m(() => T === "pagination" || T === "scroll" ? null : x, [T, x]), ee = fi(), ne = t || ee.replace(/:/g, "-"), Se = m(() => {
6404
+ }, [O]), ge = m(() => T === "pagination" || T === "scroll" ? null : x, [T, x]), ee = mi(), ne = t || ee.replace(/:/g, "-"), Se = m(() => {
6402
6405
  var De;
6403
6406
  if (!u || typeof u == "function") return "";
6404
6407
  const W = (De = u.subMenu) == null ? void 0 : De.root;
@@ -6423,7 +6426,7 @@ const ws = ({
6423
6426
  return ue.join(`
6424
6427
  `);
6425
6428
  }, [u, ne]), H = /* @__PURE__ */ p(
6426
- Ir,
6429
+ Jr,
6427
6430
  {
6428
6431
  ...B,
6429
6432
  ...ae,
@@ -6444,7 +6447,7 @@ const ws = ({
6444
6447
  disabledOverflow: T !== "default"
6445
6448
  }
6446
6449
  ), Z = () => T === "pagination" ? /* @__PURE__ */ p(
6447
- ja,
6450
+ Ba,
6448
6451
  {
6449
6452
  mode: E || "horizontal",
6450
6453
  arrowStyle: M,
@@ -6452,7 +6455,7 @@ const ws = ({
6452
6455
  arrowIconNext: Ae,
6453
6456
  children: H
6454
6457
  }
6455
- ) : T === "scroll" ? /* @__PURE__ */ p(Ba, { mode: E || "horizontal", children: H }) : H, ce = m(() => {
6458
+ ) : T === "scroll" ? /* @__PURE__ */ p(Ka, { mode: E || "horizontal", children: H }) : H, ce = m(() => {
6456
6459
  const W = {};
6457
6460
  return n && (W.motion = !1), Ne && (W.components = { Menu: Ne }), Object.keys(W).length > 0 ? W : void 0;
6458
6461
  }, [n, Ne]);
@@ -6463,12 +6466,12 @@ const ws = ({
6463
6466
  ] }) : W;
6464
6467
  return ce ? /* @__PURE__ */ p(Ke, { theme: ce, children: ue }) : ue;
6465
6468
  })();
6466
- }, Ts = ({
6469
+ }, ks = ({
6467
6470
  id: t,
6468
6471
  sessionId: e,
6469
6472
  develop: n,
6470
6473
  ...i
6471
- }) => /* @__PURE__ */ p(Jr, { ...i }), ks = ({
6474
+ }) => /* @__PURE__ */ p(Gr, { ...i }), _s = ({
6472
6475
  id: t,
6473
6476
  sessionId: e,
6474
6477
  develop: n,
@@ -6497,7 +6500,7 @@ const ws = ({
6497
6500
  return S && b in S ? S[b] : b;
6498
6501
  }, [b, S]);
6499
6502
  return /* @__PURE__ */ p(
6500
- Zn,
6503
+ Xn,
6501
6504
  {
6502
6505
  ...g,
6503
6506
  count: N,
@@ -6526,7 +6529,7 @@ const ws = ({
6526
6529
  )
6527
6530
  }
6528
6531
  );
6529
- }, _s = ({
6532
+ }, Es = ({
6530
6533
  id: t,
6531
6534
  sessionId: e,
6532
6535
  develop: n,
@@ -6548,7 +6551,7 @@ const ws = ({
6548
6551
  return l && c in l ? l[c] : c;
6549
6552
  }, [c, l]);
6550
6553
  return /* @__PURE__ */ p(
6551
- Zn.Ribbon,
6554
+ Xn.Ribbon,
6552
6555
  {
6553
6556
  ...d,
6554
6557
  text: b,
@@ -6571,7 +6574,7 @@ const ws = ({
6571
6574
  )
6572
6575
  }
6573
6576
  );
6574
- }, Ka = (t) => {
6577
+ }, La = (t) => {
6575
6578
  if (!t) return [];
6576
6579
  if (typeof t == "string")
6577
6580
  try {
@@ -6581,7 +6584,7 @@ const ws = ({
6581
6584
  return [];
6582
6585
  }
6583
6586
  return t;
6584
- }, La = (t) => {
6587
+ }, za = (t) => {
6585
6588
  if (!(t == null || t === "")) {
6586
6589
  if (typeof t == "number") return t;
6587
6590
  if (typeof t == "string") {
@@ -6595,7 +6598,7 @@ const ws = ({
6595
6598
  }
6596
6599
  return t;
6597
6600
  }
6598
- }, za = (t) => {
6601
+ }, Fa = (t) => {
6599
6602
  if (!(t == null || t === "")) {
6600
6603
  if (typeof t == "number") return t;
6601
6604
  if (typeof t == "string") {
@@ -6610,7 +6613,7 @@ const ws = ({
6610
6613
  }
6611
6614
  return Array.isArray(t), t;
6612
6615
  }
6613
- }, Es = ({
6616
+ }, Os = ({
6614
6617
  id: t,
6615
6618
  sessionId: e,
6616
6619
  develop: n,
@@ -6625,7 +6628,7 @@ const ws = ({
6625
6628
  itemRender: h,
6626
6629
  ...f
6627
6630
  }) => {
6628
- const b = ot(i, r, e), y = b.dataSet, l = b.dataSetField, g = b.sessionId, u = Ge(Pe), A = _((K) => K.addCommand), w = m(
6631
+ const b = ot(i, r, e), y = b.dataSet, l = b.dataSetField, g = b.sessionId, u = Qe(Pe), A = _((K) => K.addCommand), w = m(
6629
6632
  () => le(g, y),
6630
6633
  [g, y]
6631
6634
  ), N = _((K) => w && l ? K.getDataSet(w, l) : null), x = m(() => !g || t == null || t === "" ? null : u && typeof u.index == "number" ? `${String(t)}_${u.index}` : String(t), [g, t, u]), S = _(
@@ -6633,7 +6636,7 @@ const ws = ({
6633
6636
  var j;
6634
6637
  return x ? ((j = K.propsStore[`${g}_props`]) == null ? void 0 : j[x]) ?? null : null;
6635
6638
  }
6636
- ), D = m(() => N && Array.isArray(N) ? N : Ka(o), [N, o]), E = (S == null ? void 0 : S.columns) !== void 0 && (S == null ? void 0 : S.columns) !== null ? S.columns : a, k = m(() => La(E), [E]), C = m(() => za(c), [c]), T = m(() => {
6639
+ ), D = m(() => N && Array.isArray(N) ? N : La(o), [N, o]), E = (S == null ? void 0 : S.columns) !== void 0 && (S == null ? void 0 : S.columns) !== null ? S.columns : a, k = m(() => za(E), [E]), C = m(() => Fa(c), [c]), T = m(() => {
6637
6640
  if (v) return v;
6638
6641
  if (d && g)
6639
6642
  return (K) => {
@@ -6697,7 +6700,7 @@ const ws = ({
6697
6700
  ...B
6698
6701
  } = f;
6699
6702
  return /* @__PURE__ */ p(
6700
- Gr,
6703
+ Qr,
6701
6704
  {
6702
6705
  ...B,
6703
6706
  items: M,
@@ -6708,7 +6711,7 @@ const ws = ({
6708
6711
  onLayoutChange: T
6709
6712
  }
6710
6713
  );
6711
- }, Os = ({
6714
+ }, $s = ({
6712
6715
  id: t,
6713
6716
  sessionId: e,
6714
6717
  develop: n,
@@ -6736,7 +6739,7 @@ const ws = ({
6736
6739
  r && r(x);
6737
6740
  }, [r]);
6738
6741
  return /* @__PURE__ */ p(
6739
- Xn,
6742
+ er,
6740
6743
  {
6741
6744
  ...A,
6742
6745
  title: u,
@@ -6744,7 +6747,7 @@ const ws = ({
6744
6747
  onClose: N
6745
6748
  }
6746
6749
  );
6747
- }, $s = ({
6750
+ }, Ms = ({
6748
6751
  id: t,
6749
6752
  sessionId: e,
6750
6753
  develop: n,
@@ -6778,7 +6781,7 @@ const ws = ({
6778
6781
  });
6779
6782
  }, [s, l, r, y, a, e, f]);
6780
6783
  return /* @__PURE__ */ p(
6781
- In,
6784
+ Jn,
6782
6785
  {
6783
6786
  ...h,
6784
6787
  open: u,
@@ -6787,7 +6790,7 @@ const ws = ({
6787
6790
  children: v
6788
6791
  }
6789
6792
  );
6790
- }, Ms = ({
6793
+ }, Rs = ({
6791
6794
  id: t,
6792
6795
  sessionId: e,
6793
6796
  develop: n,
@@ -6813,7 +6816,7 @@ const ws = ({
6813
6816
  });
6814
6817
  }, [a, b, r, f, o, e, v]);
6815
6818
  return /* @__PURE__ */ p(
6816
- Qr,
6819
+ Zr,
6817
6820
  {
6818
6821
  ...d,
6819
6822
  open: l,
@@ -6821,7 +6824,7 @@ const ws = ({
6821
6824
  children: s
6822
6825
  }
6823
6826
  );
6824
- }, Rs = ({
6827
+ }, js = ({
6825
6828
  id: t,
6826
6829
  sessionId: e,
6827
6830
  develop: n,
@@ -6841,7 +6844,7 @@ const ws = ({
6841
6844
  };
6842
6845
  return Fe(s, a ?? void 0);
6843
6846
  }, [o, r, a]);
6844
- return /* @__PURE__ */ p(Zr, { ...c, children: i });
6847
+ return /* @__PURE__ */ p(Xr, { ...c, children: i });
6845
6848
  }, fn = (t, e) => {
6846
6849
  if (t == null) return e;
6847
6850
  if (typeof t == "string")
@@ -6853,13 +6856,13 @@ const ws = ({
6853
6856
  return e;
6854
6857
  }
6855
6858
  return t;
6856
- }, Fa = (t) => t.replace(/-([a-z])/g, (e, n) => n.toUpperCase()), Va = (t) => !t || typeof t != "object" || Array.isArray(t) ? t ?? {} : Object.fromEntries(
6857
- Object.entries(t).map(([e, n]) => [Fa(e), n])
6858
- ), qa = (t) => fn(t, []).map((n) => ({
6859
+ }, Va = (t) => t.replace(/-([a-z])/g, (e, n) => n.toUpperCase()), qa = (t) => !t || typeof t != "object" || Array.isArray(t) ? t ?? {} : Object.fromEntries(
6860
+ Object.entries(t).map(([e, n]) => [Va(e), n])
6861
+ ), Pa = (t) => fn(t, []).map((n) => ({
6859
6862
  key: n.key,
6860
6863
  tab: n.tab,
6861
6864
  disabled: n.disabled
6862
- })), js = ({
6865
+ })), Bs = ({
6863
6866
  id: t,
6864
6867
  sessionId: e,
6865
6868
  develop: n,
@@ -6891,46 +6894,46 @@ const ws = ({
6891
6894
  children: x,
6892
6895
  ...S
6893
6896
  }) => {
6894
- const D = _((I) => I.addCommand), E = _((I) => I.getDataSet), k = _((I) => I.setDataSet), C = m(
6897
+ const D = _((Y) => Y.addCommand), E = _((Y) => Y.getDataSet), k = _((Y) => Y.setDataSet), C = m(
6895
6898
  () => le(e, i),
6896
6899
  [e, i]
6897
6900
  ), T = N === "default" ? "medium" : N, M = m(() => {
6898
- const I = fn(l, {});
6901
+ const Y = fn(l, {});
6899
6902
  return Object.fromEntries(
6900
- Object.entries(I).map(([de, fe]) => [
6903
+ Object.entries(Y).map(([de, fe]) => [
6901
6904
  de,
6902
- Va(fe)
6905
+ qa(fe)
6903
6906
  ])
6904
6907
  );
6905
6908
  }, [l]), R = m(() => {
6906
- const I = qa(v);
6907
- return I.length > 0 ? I : void 0;
6909
+ const Y = Pa(v);
6910
+ return Y.length > 0 ? Y : void 0;
6908
6911
  }, [v]), V = m(() => {
6909
6912
  if (C && r) {
6910
- const I = E(C, `${r}.activeTabKey`);
6911
- if (typeof I == "string") return I;
6913
+ const Y = E(C, `${r}.activeTabKey`);
6914
+ if (typeof Y == "string") return Y;
6912
6915
  }
6913
- }, [C, r, E]) ?? h, B = F((I) => {
6916
+ }, [C, r, E]) ?? h, B = F((Y) => {
6914
6917
  if (y) {
6915
- y(I);
6918
+ y(Y);
6916
6919
  return;
6917
6920
  }
6918
- C && r && k(C, `${r}.activeTabKey`, I), b && e && D(e, oe(b, { key: I }));
6921
+ C && r && k(C, `${r}.activeTabKey`, Y), b && e && D(e, oe(b, { key: Y }));
6919
6922
  }, [y, C, r, k, b, e, D]), { titleSlot: K, extraSlot: j, coverSlot: q, actionsSlot: L, otherChildren: $, actionsFromChildren: z } = m(() => {
6920
- let I = null, de = null, fe = null, J = [];
6923
+ let Y = null, de = null, fe = null, J = [];
6921
6924
  const se = [];
6922
6925
  let me = !1;
6923
- return o && (I = o), a && (de = a), c && (fe = c), d && (J = d), Le.Children.forEach(x, (X) => {
6926
+ return o && (Y = o), a && (de = a), c && (fe = c), d && (J = d), Le.Children.forEach(x, (X) => {
6924
6927
  if (!Le.isValidElement(X)) {
6925
6928
  se.push(X);
6926
6929
  return;
6927
6930
  }
6928
6931
  const ie = X.props, re = ie["data-slot-type"];
6929
- 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);
6930
- }), { titleSlot: I, extraSlot: de, coverSlot: fe, actionsSlot: J, otherChildren: se, actionsFromChildren: me };
6932
+ 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);
6933
+ }), { titleSlot: Y, extraSlot: de, coverSlot: fe, actionsSlot: J, otherChildren: se, actionsFromChildren: me };
6931
6934
  }, [x, o, a, c, d]), U = m(() => {
6932
- const I = fn(g, {});
6933
- return z ? { actionsLiMargin: "0px", ...I } : I;
6935
+ const Y = fn(g, {});
6936
+ return z ? { actionsLiMargin: "0px", ...Y } : Y;
6934
6937
  }, [g, z]), G = /* @__PURE__ */ p(
6935
6938
  tn,
6936
6939
  {
@@ -6950,7 +6953,7 @@ const ws = ({
6950
6953
  }
6951
6954
  );
6952
6955
  return U && Object.keys(U).length > 0 ? /* @__PURE__ */ p(Ke, { theme: { components: { Card: U } }, children: G }) : G;
6953
- }, Bs = ({
6956
+ }, Ks = ({
6954
6957
  id: t,
6955
6958
  sessionId: e,
6956
6959
  develop: n,
@@ -6972,7 +6975,7 @@ const ws = ({
6972
6975
  children: /* @__PURE__ */ p(wn, { ...c, styles: o, children: s })
6973
6976
  }
6974
6977
  ) : /* @__PURE__ */ p(wn, { ...c, styles: o, children: s });
6975
- }, Fn = (t) => {
6978
+ }, Vn = (t) => {
6976
6979
  if (!t) return [];
6977
6980
  if (typeof t == "string")
6978
6981
  try {
@@ -6981,13 +6984,13 @@ const ws = ({
6981
6984
  return [];
6982
6985
  }
6983
6986
  return t;
6984
- }, pr = (t) => t.map((e) => e.divider ? { type: "divider", key: e.key } : {
6987
+ }, vr = (t) => t.map((e) => e.divider ? { type: "divider", key: e.key } : {
6985
6988
  key: e.key,
6986
6989
  label: e.label,
6987
6990
  disabled: e.disabled,
6988
6991
  danger: e.danger,
6989
- children: e.children ? pr(e.children) : void 0
6990
- }), Ks = ({
6992
+ children: e.children ? vr(e.children) : void 0
6993
+ }), Ls = ({
6991
6994
  id: t,
6992
6995
  sessionId: e,
6993
6996
  develop: n,
@@ -7005,7 +7008,7 @@ const ws = ({
7005
7008
  index: y,
7006
7009
  ...l
7007
7010
  }) => {
7008
- const g = _((T) => T.addCommand), u = Ge(Pe), A = y ?? (u == null ? void 0 : u.index), w = u == null ? void 0 : u.parentIndex, N = m(
7011
+ const g = _((T) => T.addCommand), u = Qe(Pe), A = y ?? (u == null ? void 0 : u.index), w = u == null ? void 0 : u.parentIndex, N = m(
7009
7012
  () => le(e, i),
7010
7013
  [e, i]
7011
7014
  ), x = _((T) => {
@@ -7017,7 +7020,7 @@ const ws = ({
7017
7020
  const T = x;
7018
7021
  if (Array.isArray(T == null ? void 0 : T.items)) return T.items;
7019
7022
  if (Array.isArray(T == null ? void 0 : T.value)) return T.value;
7020
- }, [x]), D = m(() => n ? S ?? Fn(a) ?? [] : N ? S ?? [] : Fn(a) ?? [], [n, N, S, a]), E = F(
7023
+ }, [x]), D = m(() => n ? S ?? Vn(a) ?? [] : N ? S ?? [] : Vn(a) ?? [], [n, N, S, a]), E = F(
7021
7024
  (T, M) => {
7022
7025
  if (h) {
7023
7026
  h(T, M);
@@ -7048,7 +7051,7 @@ const ws = ({
7048
7051
  ]
7049
7052
  ), k = m(
7050
7053
  () => ({
7051
- items: pr(D),
7054
+ items: vr(D),
7052
7055
  onClick: (T) => {
7053
7056
  if (c && e) {
7054
7057
  const { actionName: M, arg: R } = dt(c, T.key, {
@@ -7117,31 +7120,31 @@ const ws = ({
7117
7120
  n && !f && !b && /* @__PURE__ */ p("div", { style: { padding: "4px 8px", border: "1px dashed #d9d9d9", color: "#ccc", fontSize: 12 }, children: "请配置触发器" }),
7118
7121
  !f && !n && o && /* @__PURE__ */ p(st, { children: /* @__PURE__ */ ye(_e, { children: [
7119
7122
  o,
7120
- /* @__PURE__ */ p(or, {})
7123
+ /* @__PURE__ */ p(ar, {})
7121
7124
  ] }) })
7122
7125
  ]
7123
7126
  }
7124
7127
  ), [f, n, o, b]);
7125
- return /* @__PURE__ */ p(Xr, { ...l, menu: k, onOpenChange: E, children: C });
7126
- }, Ls = ({
7128
+ return /* @__PURE__ */ p(ei, { ...l, menu: k, onOpenChange: E, children: C });
7129
+ }, zs = ({
7127
7130
  id: t,
7128
7131
  sessionId: e,
7129
7132
  develop: n,
7130
7133
  children: i,
7131
7134
  ...r
7132
- }) => /* @__PURE__ */ p(ei, { ...r, children: i }), zs = ({
7135
+ }) => /* @__PURE__ */ p(ti, { ...r, children: i }), Fs = ({
7133
7136
  id: t,
7134
7137
  sessionId: e,
7135
7138
  develop: n,
7136
7139
  children: i,
7137
7140
  ...r
7138
- }) => /* @__PURE__ */ p(ti, { ...r, children: i }), Fs = ({
7141
+ }) => /* @__PURE__ */ p(ni, { ...r, children: i }), Vs = ({
7139
7142
  id: t,
7140
7143
  sessionId: e,
7141
7144
  develop: n,
7142
7145
  children: i,
7143
7146
  ...r
7144
- }) => /* @__PURE__ */ p(Jn, { ...r, children: i }), Vs = ({
7147
+ }) => /* @__PURE__ */ p(Gn, { ...r, children: i }), qs = ({
7145
7148
  id: t,
7146
7149
  sessionId: e,
7147
7150
  develop: n,
@@ -7161,10 +7164,10 @@ const ws = ({
7161
7164
  l !== "value" && v[l] !== void 0 && v[l] !== null && (y[l] = v[l]);
7162
7165
  }), y;
7163
7166
  }, [a, v]);
7164
- return /* @__PURE__ */ p(ni, { ...b, value: f || "" });
7167
+ return /* @__PURE__ */ p(ri, { ...b, value: f || "" });
7165
7168
  }, Dt = (t) => {
7166
7169
  if (!t) return;
7167
- const e = Je[t];
7170
+ const e = Ge[t];
7168
7171
  if (e)
7169
7172
  return Le.createElement(e);
7170
7173
  }, Xt = (t, e) => {
@@ -7178,7 +7181,7 @@ const ws = ({
7178
7181
  return e;
7179
7182
  }
7180
7183
  return t;
7181
- }, qs = ({
7184
+ }, Ps = ({
7182
7185
  id: t,
7183
7186
  sessionId: e,
7184
7187
  develop: n,
@@ -7235,7 +7238,7 @@ const ws = ({
7235
7238
  ), E = () => y && Le.Children.count(y) > 0 ? Le.Children.map(y, (M, R) => {
7236
7239
  const O = A[R] || {};
7237
7240
  return /* @__PURE__ */ p(
7238
- It.Panel,
7241
+ Yt.Panel,
7239
7242
  {
7240
7243
  defaultSize: O.defaultSize,
7241
7244
  min: O.min,
@@ -7247,7 +7250,7 @@ const ws = ({
7247
7250
  O.key || R
7248
7251
  );
7249
7252
  }) : A.map((M, R) => /* @__PURE__ */ p(
7250
- It.Panel,
7253
+ Yt.Panel,
7251
7254
  {
7252
7255
  defaultSize: M.defaultSize || void 0,
7253
7256
  min: M.min || void 0,
@@ -7274,7 +7277,7 @@ const ws = ({
7274
7277
  },
7275
7278
  M.key || R
7276
7279
  )), { layout: k, ...C } = g, T = /* @__PURE__ */ p("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p(
7277
- It,
7280
+ Yt,
7278
7281
  {
7279
7282
  ...C,
7280
7283
  orientation: r,
@@ -7290,7 +7293,7 @@ const ws = ({
7290
7293
  r
7291
7294
  ) });
7292
7295
  return w && Object.keys(w).length > 0 ? /* @__PURE__ */ p(Ke, { theme: { components: { Splitter: w } }, children: T }) : T;
7293
- }, Ps = ({
7296
+ }, Ws = ({
7294
7297
  children: t,
7295
7298
  className: e,
7296
7299
  style: n,
@@ -7311,7 +7314,7 @@ const ws = ({
7311
7314
  ...v,
7312
7315
  children: t
7313
7316
  }
7314
- ), Ws = ({
7317
+ ), Hs = ({
7315
7318
  id: t,
7316
7319
  sessionId: e,
7317
7320
  develop: n,
@@ -7362,7 +7365,7 @@ const ws = ({
7362
7365
  return /* @__PURE__ */ ye("div", { style: { display: "flex", flexDirection: "column", ...d }, children: [
7363
7366
  /* @__PURE__ */ p("div", { style: { flex: 1 }, children: O.map((B, K) => /* @__PURE__ */ p(Le.Fragment, { children: o ? o(B, K) : /* @__PURE__ */ p("div", { style: { padding: "8px", borderBottom: "1px solid #f0f0f0" }, children: JSON.stringify(B) }) }, B.id || K)) }),
7364
7367
  !h && R.length > 0 && /* @__PURE__ */ p("div", { style: { display: "flex", justifyContent: "flex-end", marginTop: 16 }, children: /* @__PURE__ */ p(
7365
- Qn,
7368
+ Zn,
7366
7369
  {
7367
7370
  current: E,
7368
7371
  pageSize: C,
@@ -7378,7 +7381,7 @@ const ws = ({
7378
7381
  }
7379
7382
  ) })
7380
7383
  ] });
7381
- }, Pa = "@keyframes and-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}", Wa = ".and-icon-svg-root svg,.and-icon-svg-root svg path{fill:currentColor}.and-icon-svg-root svg{color:inherit}", Hs = ({
7384
+ }, Wa = "@keyframes and-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}", Ha = ".and-icon-svg-root svg,.and-icon-svg-root svg path{fill:currentColor}.and-icon-svg-root svg{color:inherit}", Us = ({
7382
7385
  id: t,
7383
7386
  sessionId: e,
7384
7387
  develop: n,
@@ -7411,8 +7414,8 @@ const ws = ({
7411
7414
  ...y
7412
7415
  };
7413
7416
  return /* @__PURE__ */ ye(St, { children: [
7414
- /* @__PURE__ */ p("style", { children: Wa }),
7415
- c && /* @__PURE__ */ p("style", { children: Pa }),
7417
+ /* @__PURE__ */ p("style", { children: Ha }),
7418
+ c && /* @__PURE__ */ p("style", { children: Wa }),
7416
7419
  /* @__PURE__ */ p(
7417
7420
  "span",
7418
7421
  {
@@ -7432,7 +7435,7 @@ const ws = ({
7432
7435
  ] });
7433
7436
  }
7434
7437
  if (!i) return null;
7435
- const l = Je[i];
7438
+ const l = Ge[i];
7436
7439
  return l ? /* @__PURE__ */ p(
7437
7440
  l,
7438
7441
  {
@@ -7443,7 +7446,7 @@ const ws = ({
7443
7446
  onClick: f
7444
7447
  }
7445
7448
  ) : (console.warn(`Icon "${i}" not found in @ant-design/icons`), null);
7446
- }, Us = ({
7449
+ }, Is = ({
7447
7450
  id: t,
7448
7451
  sessionId: e,
7449
7452
  develop: n,
@@ -7487,14 +7490,14 @@ const ws = ({
7487
7490
  l.originalPrice
7488
7491
  ] })
7489
7492
  ] }),
7490
- l.tags && l.tags.length > 0 && /* @__PURE__ */ p(_e, { size: 4, wrap: !0, children: l.tags.map((g, u) => /* @__PURE__ */ p(Gn, { color: "blue", children: g }, u)) })
7493
+ l.tags && l.tags.length > 0 && /* @__PURE__ */ p(_e, { size: 4, wrap: !0, children: l.tags.map((g, u) => /* @__PURE__ */ p(Qn, { color: "blue", children: g }, u)) })
7491
7494
  ] })
7492
7495
  }
7493
7496
  )
7494
7497
  },
7495
7498
  l.id
7496
7499
  )) });
7497
- }, Vn = ({ id: t, icon: e, title: n, description: i, style: r }) => /* @__PURE__ */ ye(
7500
+ }, qn = ({ id: t, icon: e, title: n, description: i, style: r }) => /* @__PURE__ */ ye(
7498
7501
  "div",
7499
7502
  {
7500
7503
  id: t,
@@ -7516,7 +7519,7 @@ const ws = ({
7516
7519
  ...r
7517
7520
  },
7518
7521
  children: [
7519
- e || /* @__PURE__ */ p(Si, { style: { fontSize: 28, marginBottom: 8, color: "#bfbfbf" } }),
7522
+ e || /* @__PURE__ */ p(wi, { style: { fontSize: 28, marginBottom: 8, color: "#bfbfbf" } }),
7520
7523
  n && /* @__PURE__ */ p("div", { style: { fontWeight: 500, fontSize: 13, marginBottom: 4 }, children: n }),
7521
7524
  i && /* @__PURE__ */ p("div", { style: { fontSize: 12, opacity: 0.7 }, children: i })
7522
7525
  ]
@@ -7536,7 +7539,7 @@ const ws = ({
7536
7539
  index: h
7537
7540
  }) => {
7538
7541
  var C, T, M, R;
7539
- const f = Ge(Pe), { storeBaseKey: b, arrayIndex: y } = m(() => {
7542
+ const f = Qe(Pe), { storeBaseKey: b, arrayIndex: y } = m(() => {
7540
7543
  if (!n) return { storeBaseKey: void 0, arrayIndex: null };
7541
7544
  const O = n.split(".")[0], { baseName: V, index: B } = wt(O);
7542
7545
  let K = B;
@@ -7637,7 +7640,7 @@ const ws = ({
7637
7640
  boxSizing: "border-box"
7638
7641
  },
7639
7642
  children: [
7640
- /* @__PURE__ */ p(bi, { style: { fontSize: 20, flexShrink: 0, color: "#bfbfbf", ...O ? {} : { marginBottom: 4 } } }),
7643
+ /* @__PURE__ */ p(Si, { style: { fontSize: 20, flexShrink: 0, color: "#bfbfbf", ...O ? {} : { marginBottom: 4 } } }),
7641
7644
  /* @__PURE__ */ p("div", { style: { fontWeight: 500, fontSize: 12 }, children: r || "动态容器" }),
7642
7645
  /* @__PURE__ */ p("div", { style: { fontSize: 11, opacity: 0.7 }, children: w ? `${w}` : "未配置" }),
7643
7646
  n && /* @__PURE__ */ p("div", { style: { fontSize: 10, opacity: 0.5, marginTop: O ? 0 : 2 }, children: n })
@@ -7645,10 +7648,10 @@ const ws = ({
7645
7648
  }
7646
7649
  );
7647
7650
  }
7648
- const D = Ie(), E = s || D.componentResolver;
7651
+ const D = Je(), E = s || D.componentResolver;
7649
7652
  if (!E)
7650
7653
  return /* @__PURE__ */ p(
7651
- Vn,
7654
+ qn,
7652
7655
  {
7653
7656
  id: c,
7654
7657
  title: S,
@@ -7657,14 +7660,14 @@ const ws = ({
7657
7660
  }
7658
7661
  );
7659
7662
  const k = w ? E(w) : null;
7660
- return k ? /* @__PURE__ */ p(mi, { fallback: /* @__PURE__ */ p("div", { style: { display: "flex", justifyContent: "center", alignItems: "center", width: "100%", height: "100%" }, children: /* @__PURE__ */ p(er, {}) }), children: /* @__PURE__ */ p("div", { id: c, style: { width: "100%", height: "100%", flex: "1 1 auto", ...a }, children: x ? /* @__PURE__ */ p(
7663
+ return k ? /* @__PURE__ */ p(yi, { fallback: /* @__PURE__ */ p("div", { style: { display: "flex", justifyContent: "center", alignItems: "center", width: "100%", height: "100%" }, children: /* @__PURE__ */ p(tr, {}) }), children: /* @__PURE__ */ p("div", { id: c, style: { width: "100%", height: "100%", flex: "1 1 auto", ...a }, children: x ? /* @__PURE__ */ p(
7661
7664
  Pe.Provider,
7662
7665
  {
7663
7666
  value: x,
7664
7667
  children: /* @__PURE__ */ p(k, { ...N })
7665
7668
  }
7666
7669
  ) : /* @__PURE__ */ p(k, { ...N }) }) }) : /* @__PURE__ */ p(
7667
- Vn,
7670
+ qn,
7668
7671
  {
7669
7672
  id: c,
7670
7673
  title: S,
@@ -7672,7 +7675,7 @@ const ws = ({
7672
7675
  style: a
7673
7676
  }
7674
7677
  );
7675
- }, Is = ({
7678
+ }, Js = ({
7676
7679
  content: t = "Watermark",
7677
7680
  width: e,
7678
7681
  height: n,
@@ -7696,7 +7699,7 @@ const ws = ({
7696
7699
  fontStyle: (d == null ? void 0 : d.fontStyle) ?? "normal",
7697
7700
  textAlign: (d == null ? void 0 : d.textAlign) ?? "center"
7698
7701
  }, l = /* @__PURE__ */ p(
7699
- ri,
7702
+ ii,
7700
7703
  {
7701
7704
  content: t,
7702
7705
  width: e,
@@ -7756,23 +7759,23 @@ if (typeof URL < "u") {
7756
7759
  }
7757
7760
  });
7758
7761
  }
7759
- let vr = !1, qn = !1;
7760
- function Js(t) {
7761
- typeof window > "u" || (ar.GlobalWorkerOptions.workerSrc = t, vr = !0);
7762
+ let br = !1, Pn = !1;
7763
+ function Gs(t) {
7764
+ typeof window > "u" || (cr.GlobalWorkerOptions.workerSrc = t, br = !0);
7762
7765
  }
7763
- function Ha(t) {
7766
+ function Ua(t) {
7764
7767
  var i, r;
7765
- if (typeof window > "u" || vr) return;
7766
- const e = (i = Ie().pdfWorkerFallbackUrl) == null ? void 0 : i.trim(), n = (r = t ?? e) == null ? void 0 : r.trim();
7768
+ if (typeof window > "u" || br) return;
7769
+ const e = (i = Je().pdfWorkerFallbackUrl) == null ? void 0 : i.trim(), n = (r = t ?? e) == null ? void 0 : r.trim();
7767
7770
  if (n) {
7768
- ar.GlobalWorkerOptions.workerSrc = n;
7771
+ cr.GlobalWorkerOptions.workerSrc = n;
7769
7772
  return;
7770
7773
  }
7771
- qn || (qn = !0, console.warn(
7774
+ Pn || (Pn = !0, console.warn(
7772
7775
  "[@nuwatop/code-canvas-core] PDF worker 未配置。请在入口调用 setPdfjsWorkerSrc(localUrl),或通过 setCoreConfig({ pdfWorkerFallbackUrl }) 指定同源脚本地址。"
7773
7776
  ));
7774
7777
  }
7775
- const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7778
+ const Ia = 0.5, Ya = 3, Wn = 0.1, Qs = ({
7776
7779
  id: t,
7777
7780
  sessionId: e,
7778
7781
  develop: n,
@@ -7789,57 +7792,57 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7789
7792
  style: b
7790
7793
  }) => {
7791
7794
  Ce(() => {
7792
- Ha();
7795
+ Ua();
7793
7796
  }, []);
7794
- const y = _((Y) => Y.setDataSet), l = m(
7797
+ const y = _((I) => I.setDataSet), l = m(
7795
7798
  () => le(e, i),
7796
7799
  [e, i]
7797
- ), g = _((Y) => {
7800
+ ), g = _((I) => {
7798
7801
  if (!l || !r) return;
7799
- const W = Y.getDataSet(l, r);
7802
+ const W = I.getDataSet(l, r);
7800
7803
  if (W != null && W !== "") return String(W);
7801
7804
  }), u = _(
7802
- (Y) => {
7805
+ (I) => {
7803
7806
  var W;
7804
- return e && t ? ((W = Y.propsStore[`${e}_props`]) == null ? void 0 : W[t]) ?? null : null;
7807
+ return e && t ? ((W = I.propsStore[`${e}_props`]) == null ? void 0 : W[t]) ?? null : null;
7805
7808
  }
7806
7809
  ), A = m(() => {
7807
- let Y;
7808
- if (g !== void 0) Y = g;
7810
+ let I;
7811
+ if (g !== void 0) I = g;
7809
7812
  else if (u && typeof u == "object") {
7810
7813
  const W = u.filePath;
7811
- W != null && W !== "" && (Y = String(W));
7814
+ W != null && W !== "" && (I = String(W));
7812
7815
  }
7813
- return Y === void 0 && (Y = o), Y;
7816
+ return I === void 0 && (I = o), I;
7814
7817
  }, [g, u, o]), w = m(() => {
7815
7818
  if (u && typeof u == "object") {
7816
- const Y = u.nonPdfBackgroundColor;
7817
- if (typeof Y == "string" && Y.trim())
7818
- return Y.trim();
7819
+ const I = u.nonPdfBackgroundColor;
7820
+ if (typeof I == "string" && I.trim())
7821
+ return I.trim();
7819
7822
  }
7820
7823
  return d;
7821
7824
  }, [u, d]), [N, x] = we(0), [S, D] = we(
7822
7825
  () => Math.max(1, a || 1)
7823
7826
  ), E = Re(S);
7824
7827
  E.current = S;
7825
- const [k, C] = we(null), [T, M] = we(!!A), [R, O] = we("all"), [V, B] = we("width"), [K, j] = we(1), q = Re(null), L = Re(null), $ = Re({}), z = Re(!1), U = Re(null), [G, I] = we(600), [de, fe] = we(800), J = Re(0), se = m(() => {
7828
+ const [k, C] = we(null), [T, M] = we(!!A), [R, O] = we("all"), [V, B] = we("width"), [K, j] = we(1), q = Re(null), L = Re(null), $ = Re({}), z = Re(!1), U = Re(null), [G, Y] = we(600), [de, fe] = we(800), J = Re(0), se = m(() => {
7826
7829
  var ue;
7827
- const Y = (ue = Ie().pdfCMapUrl) == null ? void 0 : ue.trim();
7828
- return Y ? { cMapUrl: Y.endsWith("/") ? Y : `${Y}/`, cMapPacked: !0 } : {};
7829
- }, []), me = (c || "").trim(), X = _((Y) => {
7830
+ const I = (ue = Je().pdfCMapUrl) == null ? void 0 : ue.trim();
7831
+ return I ? { cMapUrl: I.endsWith("/") ? I : `${I}/`, cMapPacked: !0 } : {};
7832
+ }, []), me = (c || "").trim(), X = _((I) => {
7830
7833
  if (!(!l || !me))
7831
- return Y.getDataSet(l, `${me}.targetPage`);
7834
+ return I.getDataSet(l, `${me}.targetPage`);
7832
7835
  });
7833
7836
  Ce(() => {
7834
- const Y = L.current;
7835
- if (!Y) return;
7837
+ const I = L.current;
7838
+ if (!I) return;
7836
7839
  const W = new ResizeObserver(() => {
7837
- const De = Y.clientWidth, Te = Y.clientHeight;
7838
- De > 0 && I(De), Te > 0 && fe(Te);
7840
+ const De = I.clientWidth, Te = I.clientHeight;
7841
+ De > 0 && Y(De), Te > 0 && fe(Te);
7839
7842
  });
7840
- W.observe(Y);
7841
- const ue = Y.clientWidth, be = Y.clientHeight;
7842
- return ue > 0 && I(ue), be > 0 && fe(be), () => W.disconnect();
7843
+ W.observe(I);
7844
+ const ue = I.clientWidth, be = I.clientHeight;
7845
+ return ue > 0 && Y(ue), be > 0 && fe(be), () => W.disconnect();
7843
7846
  }, [A]);
7844
7847
  const ie = m(() => Math.max(240, G - 16), [G]), re = m(
7845
7848
  () => Math.max(320, de - 16),
@@ -7850,9 +7853,9 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7850
7853
  ), P = m(
7851
7854
  () => Math.max(180, re * K),
7852
7855
  [re, K]
7853
- ), ae = m(() => R === "all" ? Array.from({ length: N }, (Y, W) => W + 1) : [S], [R, N, S]), Ne = F(
7854
- (Y, W) => {
7855
- !l || !me || (y(l, `${me}.currentPage`, Y), W > 0 && y(l, `${me}.totalPages`, W));
7856
+ ), ae = m(() => R === "all" ? Array.from({ length: N }, (I, W) => W + 1) : [S], [R, N, S]), Ne = F(
7857
+ (I, W) => {
7858
+ !l || !me || (y(l, `${me}.currentPage`, I), W > 0 && y(l, `${me}.totalPages`, W));
7856
7859
  },
7857
7860
  [l, me, y]
7858
7861
  );
@@ -7860,8 +7863,8 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7860
7863
  N > 0 && Ne(S, N);
7861
7864
  }, [S, N, Ne]);
7862
7865
  const ve = F(
7863
- (Y, W = "auto") => {
7864
- const ue = N > 0 ? Math.max(1, Math.min(Math.floor(Y), N)) : Math.max(1, Math.floor(Y));
7866
+ (I, W = "auto") => {
7867
+ const ue = N > 0 ? Math.max(1, Math.min(Math.floor(I), N)) : Math.max(1, Math.floor(I));
7865
7868
  if (D(ue), R === "all") {
7866
7869
  const be = $.current[ue];
7867
7870
  be && be.scrollIntoView({ block: "start", behavior: W });
@@ -7870,41 +7873,41 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7870
7873
  [N, R]
7871
7874
  ), pe = Re(ve);
7872
7875
  pe.current = ve, Ce(() => {
7873
- const Y = X;
7874
- typeof Y != "number" || !Number.isFinite(Y) || (ve(Y, "auto"), l && me && y(l, `${me}.targetPage`, void 0));
7876
+ const I = X;
7877
+ typeof I != "number" || !Number.isFinite(I) || (ve(I, "auto"), l && me && y(l, `${me}.targetPage`, void 0));
7875
7878
  }, [X, ve, l, me, y]), Ce(() => {
7876
- const Y = Math.max(1, a ?? 1);
7877
- D(Y);
7879
+ const I = Math.max(1, a ?? 1);
7880
+ D(I);
7878
7881
  }, [a]);
7879
7882
  const Ae = F(
7880
- ({ numPages: Y }) => {
7883
+ ({ numPages: I }) => {
7881
7884
  C(null), M(!1);
7882
- const W = E.current, ue = Math.min(Math.max(1, W), Y || 1);
7883
- x(Y), D(ue), z.current = !0, U.current = ue;
7885
+ const W = E.current, ue = Math.min(Math.max(1, W), I || 1);
7886
+ x(I), D(ue), z.current = !0, U.current = ue;
7884
7887
  },
7885
7888
  []
7886
- ), ge = F((Y) => {
7887
- C(Y), M(!1), z.current = !1, U.current = null;
7889
+ ), ge = F((I) => {
7890
+ C(I), M(!1), z.current = !1, U.current = null;
7888
7891
  }, []);
7889
7892
  Ce(() => {
7890
7893
  M(!!A), C(null), j(1), x(0), z.current = !!A, U.current = null, $.current = {};
7891
7894
  }, [A]), Ce(() => {
7892
- const Y = U.current;
7893
- if (Y == null || T || N <= 0 || R !== "all") return;
7895
+ const I = U.current;
7896
+ if (I == null || T || N <= 0 || R !== "all") return;
7894
7897
  let W = !1, ue = 0;
7895
7898
  const be = 120, De = () => {
7896
7899
  if (W) return;
7897
7900
  ue++;
7898
- const Te = Math.max(1, Math.min(Math.floor(Y), N));
7899
- let Qe = !0;
7901
+ const Te = Math.max(1, Math.min(Math.floor(I), N));
7902
+ let Ze = !0;
7900
7903
  for (let We = 1; We <= Te; We++) {
7901
7904
  const Ue = $.current[We];
7902
7905
  if (!Ue || !Ue.isConnected || Ue.clientHeight <= 50) {
7903
- Qe = !1;
7906
+ Ze = !1;
7904
7907
  break;
7905
7908
  }
7906
7909
  }
7907
- if (Qe) {
7910
+ if (Ze) {
7908
7911
  requestAnimationFrame(() => {
7909
7912
  if (W) return;
7910
7913
  const We = $.current[Te];
@@ -7924,49 +7927,49 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7924
7927
  W = !0;
7925
7928
  };
7926
7929
  }, [T, N, R]);
7927
- const ee = F((Y) => {
7930
+ const ee = F((I) => {
7928
7931
  j((W) => {
7929
- const ue = Number((W + Y).toFixed(2));
7930
- return Math.max(Ua, Math.min(Ya, ue));
7932
+ const ue = Number((W + I).toFixed(2));
7933
+ return Math.max(Ia, Math.min(Ya, ue));
7931
7934
  });
7932
7935
  }, []), ne = F(() => {
7933
7936
  if (!A) return;
7934
- const Y = window.open(A, "_blank", "noopener,noreferrer");
7935
- Y && (Y.onload = () => {
7937
+ const I = window.open(A, "_blank", "noopener,noreferrer");
7938
+ I && (I.onload = () => {
7936
7939
  try {
7937
- Y.print();
7940
+ I.print();
7938
7941
  } catch {
7939
7942
  }
7940
7943
  });
7941
7944
  }, [A]), Se = F(() => {
7942
7945
  if (!A) return;
7943
- const Y = document.createElement("a");
7944
- Y.href = A, Y.download = "", Y.rel = "noopener noreferrer", Y.target = "_blank", document.body.appendChild(Y), Y.click(), Y.remove();
7946
+ const I = document.createElement("a");
7947
+ I.href = A, I.download = "", I.rel = "noopener noreferrer", I.target = "_blank", document.body.appendChild(I), I.click(), I.remove();
7945
7948
  }, [A]), H = F(() => {
7946
7949
  var W;
7947
- const Y = q.current;
7948
- Y && ((W = Y.requestFullscreen) == null || W.call(Y));
7950
+ const I = q.current;
7951
+ I && ((W = I.requestFullscreen) == null || W.call(I));
7949
7952
  }, []), Z = F(() => {
7950
7953
  document.fullscreenElement && document.exitFullscreen();
7951
7954
  }, []), ce = F(() => {
7952
7955
  if (T || R !== "all" || N <= 0 || z.current) return;
7953
- const Y = L.current;
7954
- if (!Y) return;
7955
- const W = Y.scrollTop + Y.clientHeight * 0.35;
7956
+ const I = L.current;
7957
+ if (!I) return;
7958
+ const W = I.scrollTop + I.clientHeight * 0.35;
7956
7959
  let ue = S, be = Number.POSITIVE_INFINITY;
7957
7960
  for (let De = 1; De <= N; De++) {
7958
7961
  const Te = $.current[De];
7959
7962
  if (!Te) continue;
7960
- const Qe = Math.abs(Te.offsetTop - W);
7961
- Qe < be && (be = Qe, ue = De);
7963
+ const Ze = Math.abs(Te.offsetTop - W);
7964
+ Ze < be && (be = Ze, ue = De);
7962
7965
  }
7963
7966
  ue !== S && D(ue);
7964
7967
  }, [T, R, N, S]);
7965
7968
  return Ce(() => {
7966
7969
  if (!u || typeof u != "object") return;
7967
- const Y = u._pdfCmdNonce, W = u.pdfCommand, ue = u.pdfCommandArg;
7968
- if (!(Y == null || Y === J.current || !W)) {
7969
- switch (J.current = Y, W) {
7970
+ const I = u._pdfCmdNonce, W = u.pdfCommand, ue = u.pdfCommandArg;
7971
+ if (!(I == null || I === J.current || !W)) {
7972
+ switch (J.current = I, W) {
7970
7973
  case "print":
7971
7974
  ne();
7972
7975
  break;
@@ -7989,10 +7992,10 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
7989
7992
  B("height"), j(1);
7990
7993
  break;
7991
7994
  case "zoomIn":
7992
- ee(Pn);
7995
+ ee(Wn);
7993
7996
  break;
7994
7997
  case "zoomOut":
7995
- ee(-Pn);
7998
+ ee(-Wn);
7996
7999
  break;
7997
8000
  case "previewSingle":
7998
8001
  O("single");
@@ -8046,7 +8049,7 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
8046
8049
  border: n ? "1px dashed #ccc" : void 0
8047
8050
  },
8048
8051
  children: k ? /* @__PURE__ */ p(
8049
- Xn,
8052
+ er,
8050
8053
  {
8051
8054
  type: "error",
8052
8055
  message: (s == null ? void 0 : s.trim()) || k.message,
@@ -8066,22 +8069,22 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
8066
8069
  zIndex: 2,
8067
8070
  pointerEvents: "none"
8068
8071
  },
8069
- children: /* @__PURE__ */ p(er, {})
8072
+ children: /* @__PURE__ */ p(tr, {})
8070
8073
  }
8071
8074
  ) : null,
8072
8075
  /* @__PURE__ */ p(
8073
- Ai,
8076
+ Di,
8074
8077
  {
8075
8078
  file: A,
8076
8079
  onLoadSuccess: Ae,
8077
8080
  onLoadError: ge,
8078
8081
  loading: null,
8079
8082
  options: se,
8080
- children: ae.map((Y) => /* @__PURE__ */ p(
8083
+ children: ae.map((I) => /* @__PURE__ */ p(
8081
8084
  "div",
8082
8085
  {
8083
8086
  ref: (W) => {
8084
- $.current[Y] = W;
8087
+ $.current[I] = W;
8085
8088
  },
8086
8089
  style: {
8087
8090
  display: "flex",
@@ -8090,9 +8093,9 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
8090
8093
  padding: "8px 0"
8091
8094
  },
8092
8095
  children: /* @__PURE__ */ p(
8093
- Di,
8096
+ Ni,
8094
8097
  {
8095
- pageNumber: Y,
8098
+ pageNumber: I,
8096
8099
  width: V === "width" ? te : void 0,
8097
8100
  height: V === "height" ? P : void 0,
8098
8101
  renderTextLayer: !1,
@@ -8100,7 +8103,7 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
8100
8103
  }
8101
8104
  )
8102
8105
  },
8103
- Y
8106
+ I
8104
8107
  ))
8105
8108
  },
8106
8109
  A
@@ -8117,10 +8120,10 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
8117
8120
  padding: 24
8118
8121
  },
8119
8122
  children: /* @__PURE__ */ p(
8120
- ii,
8123
+ oi,
8121
8124
  {
8122
8125
  image: /* @__PURE__ */ p(
8123
- wi,
8126
+ xi,
8124
8127
  {
8125
8128
  style: {
8126
8129
  fontSize: 72,
@@ -8151,7 +8154,7 @@ const Ua = 0.5, Ya = 3, Pn = 0.1, Gs = ({
8151
8154
  }
8152
8155
  );
8153
8156
  };
8154
- function Qs(t, e, n, i) {
8157
+ function Zs(t, e, n, i) {
8155
8158
  const { getProps: r, setProps: o } = _.getState(), a = r(t, e), c = a && typeof a == "object" && !Array.isArray(a) ? a : {};
8156
8159
  o(t, e, {
8157
8160
  ...c,
@@ -8172,7 +8175,7 @@ function $e(t) {
8172
8175
  return t;
8173
8176
  }
8174
8177
  }
8175
- function Ia(t, e) {
8178
+ function Ja(t, e) {
8176
8179
  return t == null || t === "" ? e : t === !0 || t === "true" ? !0 : t === !1 || t === "false" ? !1 : e;
8177
8180
  }
8178
8181
  function lt(t, e) {
@@ -8246,11 +8249,11 @@ function lt(t, e) {
8246
8249
  });
8247
8250
  }
8248
8251
  (pe = j.onReady) == null || pe.call(j, ve);
8249
- }, G = $e(l) || {}, I = {
8252
+ }, G = $e(l) || {}, Y = {
8250
8253
  data: z,
8251
8254
  // 优先使用 common 中的配置,没配置则使用默认值
8252
8255
  height: G.height ?? i,
8253
- autoFit: Ia(G.autoFit, !0),
8256
+ autoFit: Ja(G.autoFit, !0),
8254
8257
  // 合并其他通用配置 (margin, padding, insert, etc.)
8255
8258
  ...G,
8256
8259
  // 设计器模式禁用动画
@@ -8258,44 +8261,44 @@ function lt(t, e) {
8258
8261
  onReady: U,
8259
8262
  ...j
8260
8263
  }, de = $e(N);
8261
- de !== void 0 && (I.title = de);
8264
+ de !== void 0 && (Y.title = de);
8262
8265
  const fe = $e(x);
8263
- fe !== void 0 && (I.legend = fe);
8266
+ fe !== void 0 && (Y.legend = fe);
8264
8267
  const J = $e(S);
8265
- J !== void 0 && (I.label = J);
8268
+ J !== void 0 && (Y.label = J);
8266
8269
  const se = $e(D);
8267
- se !== void 0 && (I.tooltip = se);
8270
+ se !== void 0 && (Y.tooltip = se);
8268
8271
  const me = $e(k);
8269
- me !== void 0 && (I.scale = me);
8272
+ me !== void 0 && (Y.scale = me);
8270
8273
  const X = $e(C);
8271
- X !== void 0 && (I.interaction = X);
8274
+ X !== void 0 && (Y.interaction = X);
8272
8275
  const ie = $e(T);
8273
- ie !== void 0 && (I.annotations = ie);
8276
+ ie !== void 0 && (Y.annotations = ie);
8274
8277
  const re = $e(M);
8275
- re !== void 0 && (I.axis = re);
8278
+ re !== void 0 && (Y.axis = re);
8276
8279
  const te = $e(R);
8277
- te !== void 0 && (I.scrollbar = te);
8280
+ te !== void 0 && (Y.scrollbar = te);
8278
8281
  const P = $e(O);
8279
- P !== void 0 && (I.slider = P);
8282
+ P !== void 0 && (Y.slider = P);
8280
8283
  const ae = $e(V);
8281
- ae !== void 0 && (I.theme = ae);
8284
+ ae !== void 0 && (Y.theme = ae);
8282
8285
  const Ne = $e(B);
8283
- return Ne !== void 0 && (I.state = Ne), /* @__PURE__ */ p(t, { ...I });
8286
+ return Ne !== void 0 && (Y.state = Ne), /* @__PURE__ */ p(t, { ...Y });
8284
8287
  };
8285
8288
  return o.displayName = `withBaseChart(${n})`, o;
8286
8289
  }
8287
- const Ja = [
8290
+ const Ga = [
8288
8291
  { year: "2020", value: 3 },
8289
8292
  { year: "2021", value: 4 },
8290
8293
  { year: "2022", value: 3.5 },
8291
8294
  { year: "2023", value: 5 },
8292
8295
  { year: "2024", value: 4.9 },
8293
8296
  { year: "2025", value: 6 }
8294
- ], Ga = lt(Ni, {
8297
+ ], Qa = lt(Ci, {
8295
8298
  chartType: "AndVLine",
8296
8299
  defaultHeight: 300,
8297
- defaultData: Ja
8298
- }), Zs = (t) => {
8300
+ defaultData: Ga
8301
+ }), Xs = (t) => {
8299
8302
  const {
8300
8303
  xField: e = "year",
8301
8304
  yField: n = "value",
@@ -8306,7 +8309,7 @@ const Ja = [
8306
8309
  ...c
8307
8310
  } = t;
8308
8311
  return /* @__PURE__ */ p(
8309
- Ga,
8312
+ Qa,
8310
8313
  {
8311
8314
  ...c,
8312
8315
  xField: e,
@@ -8317,18 +8320,18 @@ const Ja = [
8317
8320
  lineStyle: a
8318
8321
  }
8319
8322
  );
8320
- }, Qa = [
8323
+ }, Za = [
8321
8324
  { category: "一月", value: 38 },
8322
8325
  { category: "二月", value: 52 },
8323
8326
  { category: "三月", value: 61 },
8324
8327
  { category: "四月", value: 45 },
8325
8328
  { category: "五月", value: 48 },
8326
8329
  { category: "六月", value: 58 }
8327
- ], Za = lt(Ci, {
8330
+ ], Xa = lt(Ti, {
8328
8331
  chartType: "AndVColumn",
8329
8332
  defaultHeight: 300,
8330
- defaultData: Qa
8331
- }), Xs = (t) => {
8333
+ defaultData: Za
8334
+ }), el = (t) => {
8332
8335
  const {
8333
8336
  xField: e = "category",
8334
8337
  yField: n = "value",
@@ -8342,19 +8345,19 @@ const Ja = [
8342
8345
  xField: e,
8343
8346
  yField: n
8344
8347
  };
8345
- return i && (s.seriesField = i), r && (s.isGroup = r), o && (s.isStack = o), a && (s.columnWidth = a), /* @__PURE__ */ p(Za, { ...s });
8346
- }, Xa = [
8348
+ return i && (s.seriesField = i), r && (s.isGroup = r), o && (s.isStack = o), a && (s.columnWidth = a), /* @__PURE__ */ p(Xa, { ...s });
8349
+ }, ec = [
8347
8350
  { type: "分类一", value: 27 },
8348
8351
  { type: "分类二", value: 25 },
8349
8352
  { type: "分类三", value: 18 },
8350
8353
  { type: "分类四", value: 15 },
8351
8354
  { type: "分类五", value: 10 },
8352
8355
  { type: "其他", value: 5 }
8353
- ], ec = lt(Ti, {
8356
+ ], tc = lt(ki, {
8354
8357
  chartType: "AndVPie",
8355
8358
  defaultHeight: 300,
8356
- defaultData: Xa
8357
- }), el = (t) => {
8359
+ defaultData: ec
8360
+ }), tl = (t) => {
8358
8361
  const {
8359
8362
  angleField: e = "value",
8360
8363
  colorField: n = "type",
@@ -8367,8 +8370,8 @@ const Ja = [
8367
8370
  colorField: n,
8368
8371
  radius: i
8369
8372
  };
8370
- return r !== void 0 && r > 0 && (a.innerRadius = r), /* @__PURE__ */ p(ec, { ...a });
8371
- }, tc = lt(ki, {
8373
+ return r !== void 0 && r > 0 && (a.innerRadius = r), /* @__PURE__ */ p(tc, { ...a });
8374
+ }, nc = lt(_i, {
8372
8375
  chartType: "AndVArea",
8373
8376
  defaultHeight: 300,
8374
8377
  defaultData: [
@@ -8382,7 +8385,7 @@ const Ja = [
8382
8385
  { year: "1998", value: 9 },
8383
8386
  { year: "1999", value: 13 }
8384
8387
  ]
8385
- }), tl = (t) => {
8388
+ }), nl = (t) => {
8386
8389
  const {
8387
8390
  // 字段
8388
8391
  xField: e,
@@ -8407,8 +8410,8 @@ const Ja = [
8407
8410
  const l = $e(c);
8408
8411
  l !== void 0 && (y.line = l);
8409
8412
  const g = $e(s);
8410
- return g !== void 0 && (y.point = g), /* @__PURE__ */ p(tc, { ...y });
8411
- }, nc = lt(_i, {
8413
+ return g !== void 0 && (y.point = g), /* @__PURE__ */ p(nc, { ...y });
8414
+ }, rc = lt(Ei, {
8412
8415
  chartType: "AndVDualAxes",
8413
8416
  defaultHeight: 300,
8414
8417
  defaultData: [
@@ -8422,7 +8425,7 @@ const Ja = [
8422
8425
  { year: "1998", value: 9, count: 1 },
8423
8426
  { year: "1999", value: 13, count: 20 }
8424
8427
  ]
8425
- }), nl = (t) => {
8428
+ }), rl = (t) => {
8426
8429
  const {
8427
8430
  // 字段
8428
8431
  xField: e,
@@ -8439,33 +8442,33 @@ const Ja = [
8439
8442
  const s = $e(n);
8440
8443
  s ? c.yField = s : n && (c.yField = n), i && (c.seriesField = i), r && (c.colorField = r);
8441
8444
  const d = $e(o);
8442
- return d !== void 0 && (c.children = d), /* @__PURE__ */ p(nc, { ...c });
8443
- }, rc = lt(Ei, {
8445
+ return d !== void 0 && (c.children = d), /* @__PURE__ */ p(rc, { ...c });
8446
+ }, ic = lt(Oi, {
8444
8447
  chartType: "AndVGauge",
8445
8448
  defaultHeight: 300,
8446
8449
  defaultData: { percent: 0.7 }
8447
8450
  // Gauge 默认数据
8448
- }), rl = (t) => {
8451
+ }), il = (t) => {
8449
8452
  const {
8450
8453
  ...e
8451
8454
  } = t, n = {
8452
8455
  ...e
8453
8456
  };
8454
- return console.log("[AndVGauge] chartProps:", JSON.stringify(n, null, 2)), /* @__PURE__ */ p(rc, { ...n });
8455
- }, ic = lt(Oi, {
8457
+ return console.log("[AndVGauge] chartProps:", JSON.stringify(n, null, 2)), /* @__PURE__ */ p(ic, { ...n });
8458
+ }, oc = lt($i, {
8456
8459
  chartType: "AndVLiquid",
8457
8460
  defaultHeight: 300,
8458
8461
  defaultData: 0.25
8459
8462
  // Liquid 默认 percent (注意:Liquid 数据直接作为 percent 传递)
8460
- }), il = (t) => {
8463
+ }), ol = (t) => {
8461
8464
  const {
8462
8465
  percent: e,
8463
8466
  ...n
8464
8467
  } = t, i = {
8465
8468
  ...n
8466
8469
  };
8467
- return e !== void 0 && (i.percent = e), console.log("[AndVLiquid] chartProps:", JSON.stringify(i, null, 2)), /* @__PURE__ */ p(ic, { ...i });
8468
- }, oc = lt($i, {
8470
+ return e !== void 0 && (i.percent = e), console.log("[AndVLiquid] chartProps:", JSON.stringify(i, null, 2)), /* @__PURE__ */ p(oc, { ...i });
8471
+ }, ac = lt(Mi, {
8469
8472
  chartType: "AndVBar",
8470
8473
  defaultHeight: 300,
8471
8474
  defaultData: [
@@ -8475,7 +8478,7 @@ const Ja = [
8475
8478
  { year: "1957 年", value: 145 },
8476
8479
  { year: "1958 年", value: 48 }
8477
8480
  ]
8478
- }), ol = (t) => {
8481
+ }), al = (t) => {
8479
8482
  const {
8480
8483
  // 特有字段
8481
8484
  xField: e,
@@ -8497,134 +8500,134 @@ const Ja = [
8497
8500
  const f = $e(s);
8498
8501
  f !== void 0 && (h.conversionTag = f);
8499
8502
  const b = $e(d);
8500
- return b !== void 0 && (h.markBackground = b), console.log("[AndVBar] chartProps:", JSON.stringify(h, null, 2)), /* @__PURE__ */ p(oc, { ...h });
8503
+ return b !== void 0 && (h.markBackground = b), console.log("[AndVBar] chartProps:", JSON.stringify(h, null, 2)), /* @__PURE__ */ p(ac, { ...h });
8501
8504
  };
8502
8505
  export {
8503
- Kc as AVAILABLE_TOKENS,
8504
- Os as AndAlert,
8505
- is as AndAutoComplete,
8506
- xs as AndAvatar,
8507
- ks as AndBadge,
8508
- _s as AndBadgeRibbon,
8509
- Ns as AndBreadCrumb,
8510
- Fc as AndButton,
8511
- Ts as AndCalendar,
8512
- js as AndCard,
8513
- bs as AndCarousel,
8514
- ts as AndCascade,
8515
- Zc as AndCheckbox,
8516
- zs as AndColumn,
8517
- Fs as AndContainer,
8518
- Ic as AndDatePicker,
8519
- Bs as AndDivider,
8520
- Ms as AndDrawer,
8521
- Ks as AndDropdown,
8522
- Ks as AndDropdownMenu,
8506
+ Lc as AVAILABLE_TOKENS,
8507
+ $s as AndAlert,
8508
+ os as AndAutoComplete,
8509
+ As as AndAvatar,
8510
+ _s as AndBadge,
8511
+ Es as AndBadgeRibbon,
8512
+ Cs as AndBreadCrumb,
8513
+ Vc as AndButton,
8514
+ ks as AndCalendar,
8515
+ Bs as AndCard,
8516
+ Ss as AndCarousel,
8517
+ ns as AndCascade,
8518
+ Xc as AndCheckbox,
8519
+ Fs as AndColumn,
8520
+ Vs as AndContainer,
8521
+ Jc as AndDatePicker,
8522
+ Ks as AndDivider,
8523
+ Rs as AndDrawer,
8524
+ Ls as AndDropdown,
8525
+ Ls as AndDropdownMenu,
8523
8526
  Ys as AndDynamicContainer,
8524
- as as AndFormItem,
8525
- Hs as AndIcon,
8526
- Ss as AndImage,
8527
- ws as AndImageGroup,
8528
- Vc as AndInput,
8529
- Pc as AndInputArea,
8530
- qc as AndInputNumber,
8531
- Wc as AndInputPassword,
8532
- Hc as AndInputSearch,
8533
- Ws as AndIterator,
8534
- Es as AndMasonry,
8535
- Cs as AndMenu,
8536
- $s as AndModal,
8537
- Ds as AndPagination,
8538
- fs as AndParagraph,
8539
- Gs as AndPdfViewer,
8540
- Us as AndProductCategory,
8541
- Vs as AndQRCode,
8542
- Qc as AndRadio,
8543
- Gc as AndRangePicker,
8544
- Xc as AndRate,
8545
- Rs as AndResult,
8546
- Ls as AndRow,
8547
- ss as AndSegmented,
8548
- Uc as AndSelect,
8549
- os as AndSimpleForm,
8550
- es as AndSlider,
8551
- qs as AndSplitter,
8552
- Ps as AndSplitterPanel,
8553
- ps as AndStatistics,
8554
- vs as AndStatisticsCountdown,
8555
- gs as AndSteps,
8527
+ cs as AndFormItem,
8528
+ Us as AndIcon,
8529
+ ws as AndImage,
8530
+ xs as AndImageGroup,
8531
+ qc as AndInput,
8532
+ Wc as AndInputArea,
8533
+ Pc as AndInputNumber,
8534
+ Hc as AndInputPassword,
8535
+ Uc as AndInputSearch,
8536
+ Hs as AndIterator,
8537
+ Os as AndMasonry,
8538
+ Ts as AndMenu,
8539
+ Ms as AndModal,
8540
+ Ns as AndPagination,
8541
+ ms as AndParagraph,
8542
+ Qs as AndPdfViewer,
8543
+ Is as AndProductCategory,
8544
+ qs as AndQRCode,
8545
+ Zc as AndRadio,
8546
+ Qc as AndRangePicker,
8547
+ es as AndRate,
8548
+ js as AndResult,
8549
+ zs as AndRow,
8550
+ ls as AndSegmented,
8551
+ Ic as AndSelect,
8552
+ as as AndSimpleForm,
8553
+ ts as AndSlider,
8554
+ Ps as AndSplitter,
8555
+ Ws as AndSplitterPanel,
8556
+ vs as AndStatistics,
8557
+ bs as AndStatisticsCountdown,
8558
+ ps as AndSteps,
8556
8559
  Yc as AndSwitch,
8557
- ls as AndTable,
8558
- ms as AndTabs,
8559
- As as AndTag,
8560
- us as AndText,
8561
- Jc as AndTimePicker,
8562
- hs as AndTimeline,
8563
- ds as AndTitle,
8564
- cs as AndTransfer,
8565
- ys as AndTree,
8566
- ns as AndTreeSelect,
8567
- rs as AndUpload,
8568
- tl as AndVArea,
8569
- ol as AndVBar,
8570
- Xs as AndVColumn,
8571
- nl as AndVDualAxes,
8572
- rl as AndVGauge,
8573
- Zs as AndVLine,
8574
- il as AndVLiquid,
8575
- el as AndVPie,
8576
- Is as AndWatermark,
8577
- Lc as COMMON_TOKENS,
8560
+ us as AndTable,
8561
+ ys as AndTabs,
8562
+ Ds as AndTag,
8563
+ ds as AndText,
8564
+ Gc as AndTimePicker,
8565
+ gs as AndTimeline,
8566
+ fs as AndTitle,
8567
+ ss as AndTransfer,
8568
+ hs as AndTree,
8569
+ rs as AndTreeSelect,
8570
+ is as AndUpload,
8571
+ nl as AndVArea,
8572
+ al as AndVBar,
8573
+ el as AndVColumn,
8574
+ rl as AndVDualAxes,
8575
+ il as AndVGauge,
8576
+ Xs as AndVLine,
8577
+ ol as AndVLiquid,
8578
+ tl as AndVPie,
8579
+ Js as AndWatermark,
8580
+ zc as COMMON_TOKENS,
8578
8581
  Pe as DataSetInheritContext,
8579
- Cc as cleanupAllMounts,
8580
- Dc as clearCssCache,
8582
+ Tc as cleanupAllMounts,
8583
+ Nc as clearCssCache,
8581
8584
  oe as createCommand,
8582
- Mc as createWatchCommands,
8583
- bo as dictValueEquals,
8584
- Qs as dispatchPdfViewerCommand,
8585
- Ha as ensurePdfjsWorker,
8585
+ Rc as createWatchCommands,
8586
+ So as dictValueEquals,
8587
+ Zs as dispatchPdfViewerCommand,
8588
+ Ua as ensurePdfjsWorker,
8586
8589
  nt as findDictOptionByValue,
8587
- Po as formatByType,
8590
+ Wo as formatByType,
8588
8591
  un as getAccessToken,
8589
- Ie as getCoreConfig,
8592
+ Je as getCoreConfig,
8590
8593
  le as getDataSetStoreKey,
8591
8594
  yn as getDictOptions,
8592
8595
  kt as getNestedValue,
8593
8596
  Ct as getValidateStoreKey,
8594
- Mi as initReactMount,
8595
- yr as isTokenName,
8597
+ Ri as initReactMount,
8598
+ hr as isTokenName,
8596
8599
  Fe as mergeStoreProps,
8597
- Nc as mountReactComponent,
8600
+ Cc as mountReactComponent,
8598
8601
  dt as parseAction,
8599
8602
  wt as parseArrayNotation,
8600
8603
  ke as parseChangeAction,
8601
- cr as parseClickAction,
8604
+ sr as parseClickAction,
8602
8605
  vt as parseNestedPath,
8603
- Rc as parseQueryAction,
8604
- ur as processValidationRules,
8605
- Bc as req,
8606
+ jc as parseQueryAction,
8607
+ dr as processValidationRules,
8608
+ Kc as req,
8606
8609
  mt as request,
8607
- zc as resolveTokenColorWithToken,
8608
- jc as setCoreConfig,
8609
- ji as setNestedValue,
8610
- Js as setPdfjsWorkerSrc,
8611
- fr as upload,
8612
- _c as useAddCommand,
8610
+ Fc as resolveTokenColorWithToken,
8611
+ Bc as setCoreConfig,
8612
+ Bi as setNestedValue,
8613
+ Gs as setPdfjsWorkerSrc,
8614
+ mr as upload,
8615
+ Ec as useAddCommand,
8613
8616
  _ as useAndStore,
8614
- So as useApiService,
8615
- $c as useCommandsStore,
8617
+ wo as useApiService,
8618
+ Mc as useCommandsStore,
8616
8619
  $t as useDictOptions,
8617
8620
  ze as useFieldValidation,
8618
- Oc as useItemStore,
8619
- Ec as usePopCommand,
8621
+ $c as useItemStore,
8622
+ Oc as usePopCommand,
8620
8623
  hn as useRemoteOptions,
8621
8624
  Ht as useResolveTokenColor,
8622
8625
  ot as useResolvedDataSet,
8623
- Tc as useStore,
8624
- kc as useStoreByName,
8625
- Bi as useStoreData,
8626
- dr as validateWithSchema,
8627
- Ki as watchCommands,
8626
+ kc as useStore,
8627
+ _c as useStoreByName,
8628
+ Ki as useStoreData,
8629
+ fr as validateWithSchema,
8630
+ Li as watchCommands,
8628
8631
  lt as withBaseChart
8629
8632
  };
8630
8633
  //# sourceMappingURL=index.esm.js.map