@gisce/react-ooui 1.2.0-rc.14 → 1.2.0-rc.16

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.
@@ -348,7 +348,7 @@ function Field$1({
348
348
  message: g("fillRequiredField"),
349
349
  type: u,
350
350
  validator: d
351
- }] : void 0, I = () => /* @__PURE__ */ jsx(Form$3.Item, {
351
+ }] : void 0, v = () => /* @__PURE__ */ jsx(Form$3.Item, {
352
352
  className: "mb-0",
353
353
  name: f,
354
354
  valuePropName: a,
@@ -356,7 +356,7 @@ function Field$1({
356
356
  children: r
357
357
  });
358
358
  if (!s)
359
- return I();
359
+ return v();
360
360
  const C = /* @__PURE__ */ jsx(Label, {
361
361
  ooui: new Label$1({
362
362
  name: f + "_label",
@@ -378,10 +378,10 @@ function Field$1({
378
378
  })
379
379
  }), /* @__PURE__ */ jsx(Col, {
380
380
  flex: "auto",
381
- children: I()
381
+ children: v()
382
382
  })]
383
383
  }))() : (() => /* @__PURE__ */ jsxs(Fragment, {
384
- children: [C, I()]
384
+ children: [C, v()]
385
385
  }))();
386
386
  }
387
387
  const {
@@ -415,7 +415,7 @@ const {
415
415
  domain: h,
416
416
  submitForm: g,
417
417
  fetchValues: m,
418
- formHasChanges: I,
418
+ formHasChanges: v,
419
419
  elementHasLostFocus: C,
420
420
  getFields: b
421
421
  } = e;
@@ -434,7 +434,7 @@ const {
434
434
  setOriginalValue: p,
435
435
  submitForm: g,
436
436
  fetchValues: m,
437
- formHasChanges: I,
437
+ formHasChanges: v,
438
438
  elementHasLostFocus: C
439
439
  },
440
440
  children: r
@@ -4036,7 +4036,7 @@ const {
4036
4036
  } = r, p = useContext(FormContext$1), {
4037
4037
  executeButtonAction: h
4038
4038
  } = p || {}, [g, m] = useState(!1), {
4039
- lang: I
4039
+ lang: v
4040
4040
  } = useContext(LocaleContext);
4041
4041
  async function C() {
4042
4042
  m(!0), await h({
@@ -4049,7 +4049,7 @@ const {
4049
4049
  if (c) {
4050
4050
  showDialog$9({
4051
4051
  confirmMessage: c,
4052
- lang: I,
4052
+ lang: v,
4053
4053
  onOk: () => {
4054
4054
  C();
4055
4055
  }
@@ -4062,8 +4062,8 @@ const {
4062
4062
  if (g)
4063
4063
  return /* @__PURE__ */ jsx(LoadingOutlined$3, {});
4064
4064
  if (u) {
4065
- const v = iconMapper(u);
4066
- return v && /* @__PURE__ */ jsx(v, {});
4065
+ const I = iconMapper(u);
4066
+ return I && /* @__PURE__ */ jsx(I, {});
4067
4067
  }
4068
4068
  }
4069
4069
  return /* @__PURE__ */ jsx(Field$1, {
@@ -4099,10 +4099,10 @@ const {
4099
4099
  danger: h,
4100
4100
  context: g,
4101
4101
  readOnly: m
4102
- } = o || {}, I = useContext(FormContext$1), {
4102
+ } = o || {}, v = useContext(FormContext$1), {
4103
4103
  executeButtonAction: C
4104
- } = I || {}, [b, y] = useState(!1), {
4105
- lang: v
4104
+ } = v || {}, [b, y] = useState(!1), {
4105
+ lang: I
4106
4106
  } = useContext(LocaleContext);
4107
4107
  function O() {
4108
4108
  if (b)
@@ -4123,7 +4123,7 @@ const {
4123
4123
  if (d) {
4124
4124
  showDialog$9({
4125
4125
  confirmMessage: d,
4126
- lang: v,
4126
+ lang: I,
4127
4127
  onOk: () => {
4128
4128
  w();
4129
4129
  }
@@ -4162,12 +4162,12 @@ const {
4162
4162
  readOnly: h,
4163
4163
  danger: g
4164
4164
  } = a, m = useContext(FormContext$1), {
4165
- executeButtonAction: I
4165
+ executeButtonAction: v
4166
4166
  } = m || {}, [C, b] = useState(!1), {
4167
4167
  lang: y
4168
4168
  } = useContext(LocaleContext);
4169
- async function v() {
4170
- b(!0), await I({
4169
+ async function I() {
4170
+ b(!0), await v({
4171
4171
  type: u,
4172
4172
  action: s,
4173
4173
  context: p
@@ -4179,12 +4179,12 @@ const {
4179
4179
  confirmMessage: d,
4180
4180
  lang: y,
4181
4181
  onOk: () => {
4182
- v();
4182
+ I();
4183
4183
  }
4184
4184
  });
4185
4185
  return;
4186
4186
  }
4187
- v();
4187
+ I();
4188
4188
  }
4189
4189
  function w() {
4190
4190
  if (C)
@@ -4599,7 +4599,7 @@ function requireReactIs_production_min() {
4599
4599
  if (hasRequiredReactIs_production_min)
4600
4600
  return reactIs_production_min;
4601
4601
  hasRequiredReactIs_production_min = 1;
4602
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
4602
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
4603
4603
  function O(_) {
4604
4604
  if (typeof _ == "object" && _ !== null) {
4605
4605
  var A = _.$$typeof;
@@ -4617,7 +4617,7 @@ function requireReactIs_production_min() {
4617
4617
  switch (_ = _ && _.$$typeof, _) {
4618
4618
  case u:
4619
4619
  case p:
4620
- case I:
4620
+ case v:
4621
4621
  case m:
4622
4622
  case c:
4623
4623
  return _;
@@ -4633,7 +4633,7 @@ function requireReactIs_production_min() {
4633
4633
  function w(_) {
4634
4634
  return O(_) === f;
4635
4635
  }
4636
- return reactIs_production_min.AsyncMode = d, reactIs_production_min.ConcurrentMode = f, reactIs_production_min.ContextConsumer = u, reactIs_production_min.ContextProvider = c, reactIs_production_min.Element = r, reactIs_production_min.ForwardRef = p, reactIs_production_min.Fragment = a, reactIs_production_min.Lazy = I, reactIs_production_min.Memo = m, reactIs_production_min.Portal = o, reactIs_production_min.Profiler = l, reactIs_production_min.StrictMode = s, reactIs_production_min.Suspense = h, reactIs_production_min.isAsyncMode = function(_) {
4636
+ return reactIs_production_min.AsyncMode = d, reactIs_production_min.ConcurrentMode = f, reactIs_production_min.ContextConsumer = u, reactIs_production_min.ContextProvider = c, reactIs_production_min.Element = r, reactIs_production_min.ForwardRef = p, reactIs_production_min.Fragment = a, reactIs_production_min.Lazy = v, reactIs_production_min.Memo = m, reactIs_production_min.Portal = o, reactIs_production_min.Profiler = l, reactIs_production_min.StrictMode = s, reactIs_production_min.Suspense = h, reactIs_production_min.isAsyncMode = function(_) {
4637
4637
  return w(_) || O(_) === d;
4638
4638
  }, reactIs_production_min.isConcurrentMode = w, reactIs_production_min.isContextConsumer = function(_) {
4639
4639
  return O(_) === u;
@@ -4646,7 +4646,7 @@ function requireReactIs_production_min() {
4646
4646
  }, reactIs_production_min.isFragment = function(_) {
4647
4647
  return O(_) === a;
4648
4648
  }, reactIs_production_min.isLazy = function(_) {
4649
- return O(_) === I;
4649
+ return O(_) === v;
4650
4650
  }, reactIs_production_min.isMemo = function(_) {
4651
4651
  return O(_) === m;
4652
4652
  }, reactIs_production_min.isPortal = function(_) {
@@ -4658,7 +4658,7 @@ function requireReactIs_production_min() {
4658
4658
  }, reactIs_production_min.isSuspense = function(_) {
4659
4659
  return O(_) === h;
4660
4660
  }, reactIs_production_min.isValidElementType = function(_) {
4661
- return typeof _ == "string" || typeof _ == "function" || _ === a || _ === f || _ === l || _ === s || _ === h || _ === g || typeof _ == "object" && _ !== null && (_.$$typeof === I || _.$$typeof === m || _.$$typeof === c || _.$$typeof === u || _.$$typeof === p || _.$$typeof === b || _.$$typeof === y || _.$$typeof === v || _.$$typeof === C);
4661
+ return typeof _ == "string" || typeof _ == "function" || _ === a || _ === f || _ === l || _ === s || _ === h || _ === g || typeof _ == "object" && _ !== null && (_.$$typeof === v || _.$$typeof === m || _.$$typeof === c || _.$$typeof === u || _.$$typeof === p || _.$$typeof === b || _.$$typeof === y || _.$$typeof === I || _.$$typeof === C);
4662
4662
  }, reactIs_production_min.typeOf = O, reactIs_production_min;
4663
4663
  }
4664
4664
  var reactIs_development = {};
@@ -4673,9 +4673,9 @@ var reactIs_development = {};
4673
4673
  var hasRequiredReactIs_development;
4674
4674
  function requireReactIs_development() {
4675
4675
  return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
4676
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
4676
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
4677
4677
  function O(D) {
4678
- return typeof D == "string" || typeof D == "function" || D === a || D === f || D === l || D === s || D === h || D === g || typeof D == "object" && D !== null && (D.$$typeof === I || D.$$typeof === m || D.$$typeof === c || D.$$typeof === u || D.$$typeof === p || D.$$typeof === b || D.$$typeof === y || D.$$typeof === v || D.$$typeof === C);
4678
+ return typeof D == "string" || typeof D == "function" || D === a || D === f || D === l || D === s || D === h || D === g || typeof D == "object" && D !== null && (D.$$typeof === v || D.$$typeof === m || D.$$typeof === c || D.$$typeof === u || D.$$typeof === p || D.$$typeof === b || D.$$typeof === y || D.$$typeof === I || D.$$typeof === C);
4679
4679
  }
4680
4680
  function w(D) {
4681
4681
  if (typeof D == "object" && D !== null) {
@@ -4696,7 +4696,7 @@ function requireReactIs_development() {
4696
4696
  switch (et) {
4697
4697
  case u:
4698
4698
  case p:
4699
- case I:
4699
+ case v:
4700
4700
  case m:
4701
4701
  case c:
4702
4702
  return et;
@@ -4709,7 +4709,7 @@ function requireReactIs_development() {
4709
4709
  }
4710
4710
  }
4711
4711
  }
4712
- var _ = d, A = f, N = u, E = c, M = r, P = p, W = a, Q = I, Y = m, z = o, X = l, te = s, ee = h, Z = !1;
4712
+ var _ = d, A = f, N = u, E = c, M = r, P = p, W = a, Q = v, Y = m, z = o, X = l, te = s, ee = h, Z = !1;
4713
4713
  function se(D) {
4714
4714
  return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), be(D) || w(D) === d;
4715
4715
  }
@@ -4732,7 +4732,7 @@ function requireReactIs_development() {
4732
4732
  return w(D) === a;
4733
4733
  }
4734
4734
  function j(D) {
4735
- return w(D) === I;
4735
+ return w(D) === v;
4736
4736
  }
4737
4737
  function U(D) {
4738
4738
  return w(D) === m;
@@ -5069,14 +5069,14 @@ var index = function() {
5069
5069
  }, a.onResize = function(s) {
5070
5070
  var l = a.props.onResize, c = s[0].target, u = c.getBoundingClientRect(), d = u.width, f = u.height, p = c.offsetWidth, h = c.offsetHeight, g = Math.floor(d), m = Math.floor(f);
5071
5071
  if (a.state.width !== g || a.state.height !== m || a.state.offsetWidth !== p || a.state.offsetHeight !== h) {
5072
- var I = {
5072
+ var v = {
5073
5073
  width: g,
5074
5074
  height: m,
5075
5075
  offsetWidth: p,
5076
5076
  offsetHeight: h
5077
5077
  };
5078
- a.setState(I), l && Promise.resolve().then(function() {
5079
- l(_objectSpread2$1(_objectSpread2$1({}, I), {}, {
5078
+ a.setState(v), l && Promise.resolve().then(function() {
5079
+ l(_objectSpread2$1(_objectSpread2$1({}, v), {}, {
5080
5080
  offsetWidth: p,
5081
5081
  offsetHeight: h
5082
5082
  }), c);
@@ -5291,9 +5291,9 @@ var ResizableTextArea = /* @__PURE__ */ function(e) {
5291
5291
  });
5292
5292
  }
5293
5293
  }, s.renderTextArea = function() {
5294
- var l = s.props, c = l.prefixCls, u = c === void 0 ? "rc-textarea" : c, d = l.autoSize, f = l.onResize, p = l.className, h = l.disabled, g = s.state, m = g.textareaStyles, I = g.resizeStatus, C = omit$1(s.props, ["prefixCls", "onPressEnter", "autoSize", "defaultValue", "onResize"]), b = classnamesExports(u, p, _defineProperty$1({}, "".concat(u, "-disabled"), h));
5294
+ var l = s.props, c = l.prefixCls, u = c === void 0 ? "rc-textarea" : c, d = l.autoSize, f = l.onResize, p = l.className, h = l.disabled, g = s.state, m = g.textareaStyles, v = g.resizeStatus, C = omit$1(s.props, ["prefixCls", "onPressEnter", "autoSize", "defaultValue", "onResize"]), b = classnamesExports(u, p, _defineProperty$1({}, "".concat(u, "-disabled"), h));
5295
5295
  "value" in C && (C.value = C.value || "");
5296
- var y = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, s.props.style), m), I === RESIZE_STATUS.RESIZING ? {
5296
+ var y = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, s.props.style), m), v === RESIZE_STATUS.RESIZING ? {
5297
5297
  overflowX: "hidden",
5298
5298
  overflowY: "hidden"
5299
5299
  } : null);
@@ -5456,15 +5456,15 @@ function requireUseMergedState() {
5456
5456
  function s(l, c) {
5457
5457
  var u = c || {}, d = u.defaultValue, f = u.value, p = u.onChange, h = u.postState, g = a.useState(function() {
5458
5458
  return f !== void 0 ? f : d !== void 0 ? typeof d == "function" ? d() : d : typeof l == "function" ? l() : l;
5459
- }), m = (0, o.default)(g, 2), I = m[0], C = m[1], b = f !== void 0 ? f : I;
5459
+ }), m = (0, o.default)(g, 2), v = m[0], C = m[1], b = f !== void 0 ? f : v;
5460
5460
  h && (b = h(b));
5461
5461
  function y(O) {
5462
5462
  C(O), b !== O && p && p(O, b);
5463
5463
  }
5464
- var v = a.useRef(!0);
5464
+ var I = a.useRef(!0);
5465
5465
  return a.useEffect(function() {
5466
- if (v.current) {
5467
- v.current = !1;
5466
+ if (I.current) {
5467
+ I.current = !1;
5468
5468
  return;
5469
5469
  }
5470
5470
  f === void 0 && C(f);
@@ -6169,8 +6169,8 @@ function requireDynamicCSS() {
6169
6169
  return null;
6170
6170
  var m = document.createElement("style");
6171
6171
  if (!((h = g.csp) === null || h === void 0) && h.nonce) {
6172
- var I;
6173
- m.nonce = (I = g.csp) === null || I === void 0 ? void 0 : I.nonce;
6172
+ var v;
6173
+ m.nonce = (v = g.csp) === null || v === void 0 ? void 0 : v.nonce;
6174
6174
  }
6175
6175
  m.innerHTML = p;
6176
6176
  var C = s(g), b = C.firstChild;
@@ -6190,13 +6190,13 @@ function requireDynamicCSS() {
6190
6190
  function f(p, h) {
6191
6191
  var g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, m = s(g);
6192
6192
  if (!c.has(m)) {
6193
- var I = l("", g), C = I.parentNode;
6194
- c.set(m, C), C.removeChild(I);
6193
+ var v = l("", g), C = v.parentNode;
6194
+ c.set(m, C), C.removeChild(v);
6195
6195
  }
6196
6196
  var b = u(h, g);
6197
6197
  if (b) {
6198
- var y, v;
6199
- if (((y = g.csp) === null || y === void 0 ? void 0 : y.nonce) && b.nonce !== ((v = g.csp) === null || v === void 0 ? void 0 : v.nonce)) {
6198
+ var y, I;
6199
+ if (((y = g.csp) === null || y === void 0 ? void 0 : y.nonce) && b.nonce !== ((I = g.csp) === null || I === void 0 ? void 0 : I.nonce)) {
6200
6200
  var O;
6201
6201
  b.nonce = (O = g.csp) === null || O === void 0 ? void 0 : O.nonce;
6202
6202
  }
@@ -6215,18 +6215,18 @@ function requireUtils() {
6215
6215
  var e = interopRequireWildcard.exports, r = interopRequireDefault.exports;
6216
6216
  Object.defineProperty(utils$1, "__esModule", {
6217
6217
  value: !0
6218
- }), utils$1.warning = f, utils$1.isIconDefinition = p, utils$1.normalizeAttrs = h, utils$1.generate = g, utils$1.getSecondaryColor = m, utils$1.normalizeTwoToneColors = I, utils$1.useInsertStyles = utils$1.iconStyles = utils$1.svgBaseProps = void 0;
6218
+ }), utils$1.warning = f, utils$1.isIconDefinition = p, utils$1.normalizeAttrs = h, utils$1.generate = g, utils$1.getSecondaryColor = m, utils$1.normalizeTwoToneColors = v, utils$1.useInsertStyles = utils$1.iconStyles = utils$1.svgBaseProps = void 0;
6219
6219
  var o = r(requireObjectSpread2()), a = r(_typeof$2.exports), s = require$$4, l = e(React__default), c = r(requireWarning$1()), u = requireDynamicCSS(), d = r(requireContext$2());
6220
- function f(v, O) {
6221
- (0, c.default)(v, "[@ant-design/icons] ".concat(O));
6220
+ function f(I, O) {
6221
+ (0, c.default)(I, "[@ant-design/icons] ".concat(O));
6222
6222
  }
6223
- function p(v) {
6224
- return (0, a.default)(v) === "object" && typeof v.name == "string" && typeof v.theme == "string" && ((0, a.default)(v.icon) === "object" || typeof v.icon == "function");
6223
+ function p(I) {
6224
+ return (0, a.default)(I) === "object" && typeof I.name == "string" && typeof I.theme == "string" && ((0, a.default)(I.icon) === "object" || typeof I.icon == "function");
6225
6225
  }
6226
6226
  function h() {
6227
- var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6228
- return Object.keys(v).reduce(function(O, w) {
6229
- var _ = v[w];
6227
+ var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6228
+ return Object.keys(I).reduce(function(O, w) {
6229
+ var _ = I[w];
6230
6230
  switch (w) {
6231
6231
  case "class":
6232
6232
  O.className = _, delete O.class;
@@ -6237,22 +6237,22 @@ function requireUtils() {
6237
6237
  return O;
6238
6238
  }, {});
6239
6239
  }
6240
- function g(v, O, w) {
6241
- return w ? /* @__PURE__ */ l.default.createElement(v.tag, (0, o.default)((0, o.default)({
6240
+ function g(I, O, w) {
6241
+ return w ? /* @__PURE__ */ l.default.createElement(I.tag, (0, o.default)((0, o.default)({
6242
6242
  key: O
6243
- }, h(v.attrs)), w), (v.children || []).map(function(_, A) {
6244
- return g(_, "".concat(O, "-").concat(v.tag, "-").concat(A));
6245
- })) : /* @__PURE__ */ l.default.createElement(v.tag, (0, o.default)({
6243
+ }, h(I.attrs)), w), (I.children || []).map(function(_, A) {
6244
+ return g(_, "".concat(O, "-").concat(I.tag, "-").concat(A));
6245
+ })) : /* @__PURE__ */ l.default.createElement(I.tag, (0, o.default)({
6246
6246
  key: O
6247
- }, h(v.attrs)), (v.children || []).map(function(_, A) {
6248
- return g(_, "".concat(O, "-").concat(v.tag, "-").concat(A));
6247
+ }, h(I.attrs)), (I.children || []).map(function(_, A) {
6248
+ return g(_, "".concat(O, "-").concat(I.tag, "-").concat(A));
6249
6249
  }));
6250
6250
  }
6251
- function m(v) {
6252
- return (0, s.generate)(v)[0];
6251
+ function m(I) {
6252
+ return (0, s.generate)(I)[0];
6253
6253
  }
6254
- function I(v) {
6255
- return v ? Array.isArray(v) ? v : [v] : [];
6254
+ function v(I) {
6255
+ return I ? Array.isArray(I) ? I : [I] : [];
6256
6256
  }
6257
6257
  var C = {
6258
6258
  width: "1em",
@@ -6351,7 +6351,7 @@ function requireIconBase() {
6351
6351
  return (0, o.default)({}, l);
6352
6352
  }
6353
6353
  var d = function(h) {
6354
- var g = h.icon, m = h.className, I = h.onClick, C = h.style, b = h.primaryColor, y = h.secondaryColor, v = (0, r.default)(h, s), O = l;
6354
+ var g = h.icon, m = h.className, v = h.onClick, C = h.style, b = h.primaryColor, y = h.secondaryColor, I = (0, r.default)(h, s), O = l;
6355
6355
  if (b && (O = {
6356
6356
  primaryColor: b,
6357
6357
  secondaryColor: y || (0, a.getSecondaryColor)(b)
@@ -6362,14 +6362,14 @@ function requireIconBase() {
6362
6362
  icon: w.icon(O.primaryColor, O.secondaryColor)
6363
6363
  })), (0, a.generate)(w.icon, "svg-".concat(w.name), (0, o.default)({
6364
6364
  className: m,
6365
- onClick: I,
6365
+ onClick: v,
6366
6366
  style: C,
6367
6367
  "data-icon": w.name,
6368
6368
  width: "1em",
6369
6369
  height: "1em",
6370
6370
  fill: "currentColor",
6371
6371
  "aria-hidden": "true"
6372
- }, v));
6372
+ }, I));
6373
6373
  };
6374
6374
  d.displayName = "IconReact", d.getTwoToneColors = u, d.setTwoToneColors = c;
6375
6375
  var f = d;
@@ -6410,7 +6410,7 @@ function requireAntdIcon() {
6410
6410
  var o = e(requireObjectSpread2()), a = e(requireSlicedToArray()), s = e(requireDefineProperty()), l = e(requireObjectWithoutProperties()), c = r(React__default), u = e(requireClassnames()), d = e(requireContext$2()), f = e(requireIconBase()), p = requireTwoTonePrimaryColor(), h = requireUtils(), g = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
6411
6411
  (0, p.setTwoToneColor)("#1890ff");
6412
6412
  var m = /* @__PURE__ */ c.forwardRef(function(C, b) {
6413
- var y, v = C.className, O = C.icon, w = C.spin, _ = C.rotate, A = C.tabIndex, N = C.onClick, E = C.twoToneColor, M = (0, l.default)(C, g), P = c.useContext(d.default), W = P.prefixCls, Q = W === void 0 ? "anticon" : W, Y = (0, u.default)(Q, (y = {}, (0, s.default)(y, "".concat(Q, "-").concat(O.name), !!O.name), (0, s.default)(y, "".concat(Q, "-spin"), !!w || O.name === "loading"), y), v), z = A;
6413
+ var y, I = C.className, O = C.icon, w = C.spin, _ = C.rotate, A = C.tabIndex, N = C.onClick, E = C.twoToneColor, M = (0, l.default)(C, g), P = c.useContext(d.default), W = P.prefixCls, Q = W === void 0 ? "anticon" : W, Y = (0, u.default)(Q, (y = {}, (0, s.default)(y, "".concat(Q, "-").concat(O.name), !!O.name), (0, s.default)(y, "".concat(Q, "-spin"), !!w || O.name === "loading"), y), I), z = A;
6414
6414
  z === void 0 && N && (z = -1);
6415
6415
  var X = _ ? {
6416
6416
  msTransform: "rotate(".concat(_, "deg)"),
@@ -6432,8 +6432,8 @@ function requireAntdIcon() {
6432
6432
  }));
6433
6433
  });
6434
6434
  m.displayName = "AntdIcon", m.getTwoToneColor = p.getTwoToneColor, m.setTwoToneColor = p.setTwoToneColor;
6435
- var I = m;
6436
- return AntdIcon.default = I, AntdIcon;
6435
+ var v = m;
6436
+ return AntdIcon.default = v, AntdIcon;
6437
6437
  }
6438
6438
  var hasRequiredCloseCircleFilled$1;
6439
6439
  function requireCloseCircleFilled$1() {
@@ -6599,7 +6599,7 @@ function requireRegeneratorRuntime() {
6599
6599
  };
6600
6600
  }
6601
6601
  function h(Y, z, X, te) {
6602
- var ee = z && z.prototype instanceof I ? z : I, Z = Object.create(ee.prototype), se = new P(te || []);
6602
+ var ee = z && z.prototype instanceof v ? z : v, Z = Object.create(ee.prototype), se = new P(te || []);
6603
6603
  return Z._invoke = function(be, Ie, de) {
6604
6604
  var xe = "suspendedStart";
6605
6605
  return function(J, ce) {
@@ -6658,7 +6658,7 @@ function requireRegeneratorRuntime() {
6658
6658
  }
6659
6659
  a.wrap = h;
6660
6660
  var m = {};
6661
- function I() {
6661
+ function v() {
6662
6662
  }
6663
6663
  function C() {
6664
6664
  }
@@ -6668,9 +6668,9 @@ function requireRegeneratorRuntime() {
6668
6668
  p(y, u, function() {
6669
6669
  return this;
6670
6670
  });
6671
- var v = Object.getPrototypeOf, O = v && v(v(W([])));
6671
+ var I = Object.getPrototypeOf, O = I && I(I(W([])));
6672
6672
  O && O !== s && l.call(O, u) && (y = O);
6673
- var w = b.prototype = I.prototype = Object.create(y);
6673
+ var w = b.prototype = v.prototype = Object.create(y);
6674
6674
  function _(Y) {
6675
6675
  ["next", "throw", "return"].forEach(function(z) {
6676
6676
  p(Y, z, function(X) {
@@ -7094,8 +7094,8 @@ function asyncMap(e, r, o, a) {
7094
7094
  var s = new Promise(function(h, g) {
7095
7095
  var m = function(b) {
7096
7096
  return a(b), b.length ? g(new AsyncValidationError(b, convertFieldsError(b))) : h();
7097
- }, I = flattenObjArr(e);
7098
- asyncSerialArray(I, o, m);
7097
+ }, v = flattenObjArr(e);
7098
+ asyncSerialArray(v, o, m);
7099
7099
  });
7100
7100
  return s.catch(function(h) {
7101
7101
  return h;
@@ -7108,9 +7108,9 @@ function asyncMap(e, r, o, a) {
7108
7108
  if (f.push.apply(f, C), d++, d === u)
7109
7109
  return a(f), f.length ? g(new AsyncValidationError(f, convertFieldsError(f))) : h();
7110
7110
  };
7111
- c.length || (a(f), h()), c.forEach(function(I) {
7112
- var C = e[I];
7113
- l.indexOf(I) !== -1 ? asyncSerialArray(C, o, m) : asyncParallelArray(C, o, m);
7111
+ c.length || (a(f), h()), c.forEach(function(v) {
7112
+ var C = e[v];
7113
+ l.indexOf(v) !== -1 ? asyncSerialArray(C, o, m) : asyncParallelArray(C, o, m);
7114
7114
  });
7115
7115
  });
7116
7116
  return p.catch(function(h) {
@@ -7454,7 +7454,7 @@ Schema.prototype = {
7454
7454
  if (typeof c == "function" && (u = c, c = {}), !this.rules || Object.keys(this.rules).length === 0)
7455
7455
  return u && u(), Promise.resolve();
7456
7456
  function d(C) {
7457
- var b, y = [], v = {};
7457
+ var b, y = [], I = {};
7458
7458
  function O(w) {
7459
7459
  if (Array.isArray(w)) {
7460
7460
  var _;
@@ -7464,7 +7464,7 @@ Schema.prototype = {
7464
7464
  }
7465
7465
  for (b = 0; b < C.length; b++)
7466
7466
  O(C[b]);
7467
- y.length ? v = convertFieldsError(y) : (y = null, v = null), u(y, v);
7467
+ y.length ? I = convertFieldsError(y) : (y = null, I = null), u(y, I);
7468
7468
  }
7469
7469
  if (c.messages) {
7470
7470
  var f = this.messages();
@@ -7485,10 +7485,10 @@ Schema.prototype = {
7485
7485
  }));
7486
7486
  });
7487
7487
  });
7488
- var I = {};
7488
+ var v = {};
7489
7489
  return asyncMap(g, c, function(C, b) {
7490
- var y = C.rule, v = (y.type === "object" || y.type === "array") && (typeof y.fields == "object" || typeof y.defaultField == "object");
7491
- v = v && (y.required || !y.required && C.value), y.field = C.field;
7490
+ var y = C.rule, I = (y.type === "object" || y.type === "array") && (typeof y.fields == "object" || typeof y.defaultField == "object");
7491
+ I = I && (y.required || !y.required && C.value), y.field = C.field;
7492
7492
  function O(A, N) {
7493
7493
  return _extends(_extends({}, N), {}, {
7494
7494
  fullField: y.fullField + "." + A
@@ -7498,8 +7498,8 @@ Schema.prototype = {
7498
7498
  A === void 0 && (A = []);
7499
7499
  var N = A;
7500
7500
  if (Array.isArray(N) || (N = [N]), !c.suppressWarning && N.length && Schema.warning("async-validator:", N), N.length && y.message !== void 0 && (N = [].concat(y.message)), N = N.map(complementError(y)), c.first && N.length)
7501
- return I[y.field] = 1, b(N);
7502
- if (!v)
7501
+ return v[y.field] = 1, b(N);
7502
+ if (!I)
7503
7503
  b(N);
7504
7504
  else {
7505
7505
  if (y.required && !C.value)
@@ -7754,8 +7754,8 @@ function _validateRule() {
7754
7754
  m.next = 15;
7755
7755
  break;
7756
7756
  case 12:
7757
- m.prev = 12, m.t0 = m.catch(7), m.t0.errors ? p = m.t0.errors.map(function(I, C) {
7758
- var b = I.message;
7757
+ m.prev = 12, m.t0 = m.catch(7), m.t0.errors ? p = m.t0.errors.map(function(v, C) {
7758
+ var b = v.message;
7759
7759
  return /* @__PURE__ */ React.isValidElement(b) ? /* @__PURE__ */ React.cloneElement(b, {
7760
7760
  key: "error_".concat(C)
7761
7761
  }) : b;
@@ -7765,12 +7765,12 @@ function _validateRule() {
7765
7765
  m.next = 20;
7766
7766
  break;
7767
7767
  }
7768
- return m.next = 18, Promise.all(o.map(function(I, C) {
7769
- return validateRule("".concat(r, ".").concat(C), I, u, s, l);
7768
+ return m.next = 18, Promise.all(o.map(function(v, C) {
7769
+ return validateRule("".concat(r, ".").concat(C), v, u, s, l);
7770
7770
  }));
7771
7771
  case 18:
7772
- return h = m.sent, m.abrupt("return", h.reduce(function(I, C) {
7773
- return [].concat(_toConsumableArray(I), _toConsumableArray(C));
7772
+ return h = m.sent, m.abrupt("return", h.reduce(function(v, C) {
7773
+ return [].concat(_toConsumableArray(v), _toConsumableArray(C));
7774
7774
  }, []));
7775
7775
  case 20:
7776
7776
  return m.abrupt("return", p);
@@ -7785,15 +7785,15 @@ function validateRules(e, r, o, a, s, l) {
7785
7785
  var c = e.join("."), u = o.map(function(p) {
7786
7786
  var h = p.validator;
7787
7787
  return h ? _objectSpread2$1(_objectSpread2$1({}, p), {}, {
7788
- validator: function(m, I, C) {
7788
+ validator: function(m, v, C) {
7789
7789
  var b = !1, y = function() {
7790
7790
  for (var w = arguments.length, _ = new Array(w), A = 0; A < w; A++)
7791
7791
  _[A] = arguments[A];
7792
7792
  Promise.resolve().then(function() {
7793
7793
  warningOnce(!b, "Your validator function has already return a promise. `callback` will be ignored."), b || C.apply(void 0, _);
7794
7794
  });
7795
- }, v = h(m, I, y);
7796
- b = v && typeof v.then == "function" && typeof v.catch == "function", warningOnce(b, "`callback` is deprecated. Please return a promise instead."), b && v.then(function() {
7795
+ }, I = h(m, v, y);
7796
+ b = I && typeof I.then == "function" && typeof I.catch == "function", warningOnce(b, "`callback` is deprecated. Please return a promise instead."), b && I.then(function() {
7797
7797
  C();
7798
7798
  }).catch(function(O) {
7799
7799
  C(O || " ");
@@ -7804,18 +7804,18 @@ function validateRules(e, r, o, a, s, l) {
7804
7804
  if (s === !0)
7805
7805
  d = new Promise(/* @__PURE__ */ function() {
7806
7806
  var p = _asyncToGenerator(/* @__PURE__ */ regeneratorExports.mark(function h(g, m) {
7807
- var I, C;
7807
+ var v, C;
7808
7808
  return regeneratorExports.wrap(function(y) {
7809
7809
  for (; ; )
7810
7810
  switch (y.prev = y.next) {
7811
7811
  case 0:
7812
- I = 0;
7812
+ v = 0;
7813
7813
  case 1:
7814
- if (!(I < u.length)) {
7814
+ if (!(v < u.length)) {
7815
7815
  y.next = 11;
7816
7816
  break;
7817
7817
  }
7818
- return y.next = 4, validateRule(c, r, u[I], a, l);
7818
+ return y.next = 4, validateRule(c, r, u[v], a, l);
7819
7819
  case 4:
7820
7820
  if (C = y.sent, !C.length) {
7821
7821
  y.next = 8;
@@ -7823,7 +7823,7 @@ function validateRules(e, r, o, a, s, l) {
7823
7823
  }
7824
7824
  return m(C), y.abrupt("return");
7825
7825
  case 8:
7826
- I += 1, y.next = 1;
7826
+ v += 1, y.next = 1;
7827
7827
  break;
7828
7828
  case 11:
7829
7829
  g([]);
@@ -7924,8 +7924,8 @@ var Field = /* @__PURE__ */ function(e) {
7924
7924
  };
7925
7925
  });
7926
7926
  }, s.onStoreChange = function(d, f, p) {
7927
- var h = s.props, g = h.shouldUpdate, m = h.dependencies, I = m === void 0 ? [] : m, C = h.onReset, b = p.store, y = s.getNamePath(), v = s.getValue(d), O = s.getValue(b), w = f && containsNamePath(f, y);
7928
- switch (p.type === "valueUpdate" && p.source === "external" && v !== O && (s.touched = !0, s.dirty = !0, s.validatePromise = null, s.errors = []), p.type) {
7927
+ var h = s.props, g = h.shouldUpdate, m = h.dependencies, v = m === void 0 ? [] : m, C = h.onReset, b = p.store, y = s.getNamePath(), I = s.getValue(d), O = s.getValue(b), w = f && containsNamePath(f, y);
7928
+ switch (p.type === "valueUpdate" && p.source === "external" && I !== O && (s.touched = !0, s.dirty = !0, s.validatePromise = null, s.errors = []), p.type) {
7929
7929
  case "reset":
7930
7930
  if (!f || w) {
7931
7931
  s.touched = !1, s.dirty = !1, s.validatePromise = null, s.errors = [], C && C(), s.refresh();
@@ -7938,14 +7938,14 @@ var Field = /* @__PURE__ */ function(e) {
7938
7938
  "touched" in _ && (s.touched = _.touched), "validating" in _ && !("originRCField" in _) && (s.validatePromise = _.validating ? Promise.resolve([]) : null), "errors" in _ && (s.errors = _.errors || []), s.dirty = !0, s.reRender();
7939
7939
  return;
7940
7940
  }
7941
- if (g && !y.length && requireUpdate(g, d, b, v, O, p)) {
7941
+ if (g && !y.length && requireUpdate(g, d, b, I, O, p)) {
7942
7942
  s.reRender();
7943
7943
  return;
7944
7944
  }
7945
7945
  break;
7946
7946
  }
7947
7947
  case "dependenciesUpdate": {
7948
- var A = I.map(getNamePath);
7948
+ var A = v.map(getNamePath);
7949
7949
  if (A.some(function(N) {
7950
7950
  return containsNamePath(p.relatedFields, N);
7951
7951
  })) {
@@ -7955,7 +7955,7 @@ var Field = /* @__PURE__ */ function(e) {
7955
7955
  break;
7956
7956
  }
7957
7957
  default:
7958
- if (w || (!I.length || y.length || g) && requireUpdate(g, d, b, v, O, p)) {
7958
+ if (w || (!v.length || y.length || g) && requireUpdate(g, d, b, I, O, p)) {
7959
7959
  s.reRender();
7960
7960
  return;
7961
7961
  }
@@ -7966,15 +7966,15 @@ var Field = /* @__PURE__ */ function(e) {
7966
7966
  var f = s.getNamePath(), p = s.getValue(), h = Promise.resolve().then(function() {
7967
7967
  if (!s.mounted)
7968
7968
  return [];
7969
- var g = s.props, m = g.validateFirst, I = m === void 0 ? !1 : m, C = g.messageVariables, b = d || {}, y = b.triggerName, v = s.getRules();
7970
- y && (v = v.filter(function(w) {
7969
+ var g = s.props, m = g.validateFirst, v = m === void 0 ? !1 : m, C = g.messageVariables, b = d || {}, y = b.triggerName, I = s.getRules();
7970
+ y && (I = I.filter(function(w) {
7971
7971
  var _ = w.validateTrigger;
7972
7972
  if (!_)
7973
7973
  return !0;
7974
7974
  var A = toArray$2(_);
7975
7975
  return A.includes(y);
7976
7976
  }));
7977
- var O = validateRules(f, p, v, d, I, C);
7977
+ var O = validateRules(f, p, I, d, v, C);
7978
7978
  return O.catch(function(w) {
7979
7979
  return w;
7980
7980
  }).then(function() {
@@ -8025,16 +8025,16 @@ var Field = /* @__PURE__ */ function(e) {
8025
8025
  var f = s.props.fieldContext.getFieldsValue, p = s.getNamePath();
8026
8026
  return getValue(d || f(!0), p);
8027
8027
  }, s.getControlled = function() {
8028
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.props, p = f.trigger, h = f.validateTrigger, g = f.getValueFromEvent, m = f.normalize, I = f.valuePropName, C = f.getValueProps, b = f.fieldContext, y = h !== void 0 ? h : b.validateTrigger, v = s.getNamePath(), O = b.getInternalHooks, w = b.getFieldsValue, _ = O(HOOK_MARK), A = _.dispatch, N = s.getValue(), E = C || function(Q) {
8029
- return _defineProperty$1({}, I, Q);
8028
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.props, p = f.trigger, h = f.validateTrigger, g = f.getValueFromEvent, m = f.normalize, v = f.valuePropName, C = f.getValueProps, b = f.fieldContext, y = h !== void 0 ? h : b.validateTrigger, I = s.getNamePath(), O = b.getInternalHooks, w = b.getFieldsValue, _ = O(HOOK_MARK), A = _.dispatch, N = s.getValue(), E = C || function(Q) {
8029
+ return _defineProperty$1({}, v, Q);
8030
8030
  }, M = d[p], P = _objectSpread2$1(_objectSpread2$1({}, d), E(N));
8031
8031
  P[p] = function() {
8032
8032
  s.touched = !0, s.dirty = !0;
8033
8033
  for (var Q, Y = arguments.length, z = new Array(Y), X = 0; X < Y; X++)
8034
8034
  z[X] = arguments[X];
8035
- g ? Q = g.apply(void 0, z) : Q = defaultGetValueFromEvent.apply(void 0, [I].concat(z)), m && (Q = m(Q, N, w(!0))), A({
8035
+ g ? Q = g.apply(void 0, z) : Q = defaultGetValueFromEvent.apply(void 0, [v].concat(z)), m && (Q = m(Q, N, w(!0))), A({
8036
8036
  type: "updateValue",
8037
- namePath: v,
8037
+ namePath: I,
8038
8038
  value: Q
8039
8039
  }), M && M.apply(void 0, z);
8040
8040
  };
@@ -8046,7 +8046,7 @@ var Field = /* @__PURE__ */ function(e) {
8046
8046
  var z = s.props.rules;
8047
8047
  z && z.length && A({
8048
8048
  type: "validateField",
8049
- namePath: v,
8049
+ namePath: I,
8050
8050
  triggerName: Q
8051
8051
  });
8052
8052
  };
@@ -8108,9 +8108,9 @@ var List = function(r) {
8108
8108
  }), f = d.current;
8109
8109
  if (typeof s != "function")
8110
8110
  return warningOnce(!1, "Form.List only accepts function as children."), null;
8111
- var p = getNamePath(u.prefixName) || [], h = [].concat(_toConsumableArray(p), _toConsumableArray(getNamePath(o))), g = function(I, C, b) {
8111
+ var p = getNamePath(u.prefixName) || [], h = [].concat(_toConsumableArray(p), _toConsumableArray(getNamePath(o))), g = function(v, C, b) {
8112
8112
  var y = b.source;
8113
- return y === "internal" ? !1 : I !== C;
8113
+ return y === "internal" ? !1 : v !== C;
8114
8114
  };
8115
8115
  return /* @__PURE__ */ jsx(Context.Provider, {
8116
8116
  value: _objectSpread2$1(_objectSpread2$1({}, u), {}, {
@@ -8123,9 +8123,9 @@ var List = function(r) {
8123
8123
  validateTrigger: c,
8124
8124
  initialValue: a,
8125
8125
  isList: !0,
8126
- children: function(m, I) {
8127
- var C = m.value, b = C === void 0 ? [] : C, y = m.onChange, v = u.getFieldValue, O = function() {
8128
- var N = v(h || []);
8126
+ children: function(m, v) {
8127
+ var C = m.value, b = C === void 0 ? [] : C, y = m.onChange, I = u.getFieldValue, O = function() {
8128
+ var N = I(h || []);
8129
8129
  return N || [];
8130
8130
  }, w = {
8131
8131
  add: function(N, E) {
@@ -8154,7 +8154,7 @@ var List = function(r) {
8154
8154
  key: E,
8155
8155
  isListField: !0
8156
8156
  };
8157
- }), w, I);
8157
+ }), w, v);
8158
8158
  }
8159
8159
  })
8160
8160
  });
@@ -8368,20 +8368,20 @@ var NameMap = /* @__PURE__ */ function() {
8368
8368
  }), p.forEach(function(C) {
8369
8369
  var b = C.getNamePath();
8370
8370
  d.forEach(function(y) {
8371
- y.every(function(v, O) {
8372
- return b[O] === v;
8373
- }) && g.update(y, function(v) {
8374
- return [].concat(_toConsumableArray(v), [C]);
8371
+ y.every(function(I, O) {
8372
+ return b[O] === I;
8373
+ }) && g.update(y, function(I) {
8374
+ return [].concat(_toConsumableArray(I), [C]);
8375
8375
  });
8376
8376
  });
8377
8377
  });
8378
8378
  var m = function(b) {
8379
8379
  return b.some(h);
8380
- }, I = g.map(function(C) {
8380
+ }, v = g.map(function(C) {
8381
8381
  var b = C.value;
8382
8382
  return b;
8383
8383
  });
8384
- return f ? I.every(m) : I.some(m);
8384
+ return f ? v.every(m) : v.some(m);
8385
8385
  }, this.isFieldTouched = function(a) {
8386
8386
  return o.warningUnhooked(), o.isFieldsTouched([a]);
8387
8387
  }, this.isFieldsValidating = function(a) {
@@ -8418,12 +8418,12 @@ var NameMap = /* @__PURE__ */ function() {
8418
8418
  if (m !== void 0)
8419
8419
  warningOnce(!1, "Form already set 'initialValues' with path '".concat(g.join("."), "'. Field can not overwrite it."));
8420
8420
  else {
8421
- var I = s.get(g);
8422
- if (I && I.size > 1)
8421
+ var v = s.get(g);
8422
+ if (v && v.size > 1)
8423
8423
  warningOnce(!1, "Multiple Field with path '".concat(g.join("."), "' set 'initialValue'. Can not decide which one to pick."));
8424
- else if (I) {
8424
+ else if (v) {
8425
8425
  var C = o.getFieldValue(g);
8426
- (!a.skipExist || C === void 0) && (o.store = setValue(o.store, g, _toConsumableArray(I)[0].value));
8426
+ (!a.skipExist || C === void 0) && (o.store = setValue(o.store, g, _toConsumableArray(v)[0].value));
8427
8427
  }
8428
8428
  }
8429
8429
  }
@@ -8606,8 +8606,8 @@ var NameMap = /* @__PURE__ */ function() {
8606
8606
  o.getFieldEntities(!0).forEach(function(p) {
8607
8607
  if (l || c.push(p.getNamePath()), (s == null ? void 0 : s.recursive) && l) {
8608
8608
  var h = p.getNamePath();
8609
- h.every(function(I, C) {
8610
- return a[C] === I || a[C] === void 0;
8609
+ h.every(function(v, C) {
8610
+ return a[C] === v || a[C] === void 0;
8611
8611
  }) && c.push(h);
8612
8612
  }
8613
8613
  if (!(!p.props.rules || !p.props.rules.length)) {
@@ -8621,10 +8621,10 @@ var NameMap = /* @__PURE__ */ function() {
8621
8621
  name: g,
8622
8622
  errors: []
8623
8623
  };
8624
- }).catch(function(I) {
8624
+ }).catch(function(v) {
8625
8625
  return Promise.reject({
8626
8626
  name: g,
8627
- errors: I
8627
+ errors: v
8628
8628
  });
8629
8629
  }));
8630
8630
  }
@@ -8722,7 +8722,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
8722
8722
  children: l
8723
8723
  });
8724
8724
  }, Form$2 = function(r, o) {
8725
- var a = r.name, s = r.initialValues, l = r.fields, c = r.form, u = r.preserve, d = r.children, f = r.component, p = f === void 0 ? "form" : f, h = r.validateMessages, g = r.validateTrigger, m = g === void 0 ? "onChange" : g, I = r.onValuesChange, C = r.onFieldsChange, b = r.onFinish, y = r.onFinishFailed, v = _objectWithoutProperties(r, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), O = React.useContext(FormContext), w = useForm(c), _ = _slicedToArray(w, 1), A = _[0], N = A.getInternalHooks(HOOK_MARK), E = N.useSubscribe, M = N.setInitialValues, P = N.setCallbacks, W = N.setValidateMessages, Q = N.setPreserve;
8725
+ var a = r.name, s = r.initialValues, l = r.fields, c = r.form, u = r.preserve, d = r.children, f = r.component, p = f === void 0 ? "form" : f, h = r.validateMessages, g = r.validateTrigger, m = g === void 0 ? "onChange" : g, v = r.onValuesChange, C = r.onFieldsChange, b = r.onFinish, y = r.onFinishFailed, I = _objectWithoutProperties(r, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), O = React.useContext(FormContext), w = useForm(c), _ = _slicedToArray(w, 1), A = _[0], N = A.getInternalHooks(HOOK_MARK), E = N.useSubscribe, M = N.setInitialValues, P = N.setCallbacks, W = N.setValidateMessages, Q = N.setPreserve;
8726
8726
  React.useImperativeHandle(o, function() {
8727
8727
  return A;
8728
8728
  }), React.useEffect(function() {
@@ -8730,7 +8730,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
8730
8730
  O.unregisterForm(a);
8731
8731
  };
8732
8732
  }, [O, A, a]), W(_objectSpread2$1(_objectSpread2$1({}, O.validateMessages), h)), P({
8733
- onValuesChange: I,
8733
+ onValuesChange: v,
8734
8734
  onFieldsChange: function(Ie) {
8735
8735
  if (O.triggerFormChange(a, Ie), C) {
8736
8736
  for (var de = arguments.length, xe = new Array(de > 1 ? de - 1 : 0), J = 1; J < de; J++)
@@ -8764,7 +8764,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
8764
8764
  children: z
8765
8765
  });
8766
8766
  return p === !1 ? se : /* @__PURE__ */ jsx(p, {
8767
- ...v,
8767
+ ...I,
8768
8768
  onSubmit: function(Ie) {
8769
8769
  Ie.preventDefault(), Ie.stopPropagation(), A.submit();
8770
8770
  },
@@ -9123,18 +9123,18 @@ function requireLocaleProvider() {
9123
9123
  }), e.default = e.ANT_MARK = void 0;
9124
9124
  var a = o(require_extends()), s = o(requireClassCallCheck()), l = o(requireCreateClass()), c = o(requireInherits()), u = o(requireCreateSuper()), d = r(React__default), f = o(requireDevWarning()), p = requireLocale(), h = o(requireContext$1()), g = "internalMark";
9125
9125
  e.ANT_MARK = g;
9126
- var m = /* @__PURE__ */ function(I) {
9127
- (0, c.default)(b, I);
9126
+ var m = /* @__PURE__ */ function(v) {
9127
+ (0, c.default)(b, v);
9128
9128
  var C = (0, u.default)(b);
9129
9129
  function b(y) {
9130
- var v;
9131
- return (0, s.default)(this, b), v = C.call(this, y), (0, p.changeConfirmLocale)(y.locale && y.locale.Modal), (0, f.default)(y._ANT_MARK__ === g, "LocaleProvider", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"), v;
9130
+ var I;
9131
+ return (0, s.default)(this, b), I = C.call(this, y), (0, p.changeConfirmLocale)(y.locale && y.locale.Modal), (0, f.default)(y._ANT_MARK__ === g, "LocaleProvider", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"), I;
9132
9132
  }
9133
9133
  return (0, l.default)(b, [{
9134
9134
  key: "componentDidUpdate",
9135
- value: function(v) {
9135
+ value: function(I) {
9136
9136
  var O = this.props.locale;
9137
- v.locale !== O && (0, p.changeConfirmLocale)(O && O.Modal);
9137
+ I.locale !== O && (0, p.changeConfirmLocale)(O && O.Modal);
9138
9138
  }
9139
9139
  }, {
9140
9140
  key: "componentWillUnmount",
@@ -9144,7 +9144,7 @@ function requireLocaleProvider() {
9144
9144
  }, {
9145
9145
  key: "render",
9146
9146
  value: function() {
9147
- var v = this.props, O = v.locale, w = v.children;
9147
+ var I = this.props, O = I.locale, w = I.children;
9148
9148
  return /* @__PURE__ */ d.createElement(h.default.Provider, {
9149
9149
  value: (0, a.default)((0, a.default)({}, O), {
9150
9150
  exist: !0
@@ -9178,21 +9178,21 @@ function requireLocaleReceiver() {
9178
9178
  }), e.useLocaleReceiver = g, e.default = void 0;
9179
9179
  var a = o(require_extends()), s = o(requireClassCallCheck()), l = o(requireCreateClass()), c = o(requireInherits()), u = o(requireCreateSuper()), d = r(React__default), f = o(require_default()), p = o(requireContext$1()), h = /* @__PURE__ */ function(m) {
9180
9180
  (0, c.default)(C, m);
9181
- var I = (0, u.default)(C);
9181
+ var v = (0, u.default)(C);
9182
9182
  function C() {
9183
- return (0, s.default)(this, C), I.apply(this, arguments);
9183
+ return (0, s.default)(this, C), v.apply(this, arguments);
9184
9184
  }
9185
9185
  return (0, l.default)(C, [{
9186
9186
  key: "getLocale",
9187
9187
  value: function() {
9188
- var y = this.props, v = y.componentName, O = y.defaultLocale, w = O || f.default[v || "global"], _ = this.context, A = v && _ ? _[v] : {};
9188
+ var y = this.props, I = y.componentName, O = y.defaultLocale, w = O || f.default[I || "global"], _ = this.context, A = I && _ ? _[I] : {};
9189
9189
  return (0, a.default)((0, a.default)({}, typeof w == "function" ? w() : w), A || {});
9190
9190
  }
9191
9191
  }, {
9192
9192
  key: "getLocaleCode",
9193
9193
  value: function() {
9194
- var y = this.context, v = y && y.locale;
9195
- return y && y.exist && !v ? f.default.locale : v;
9194
+ var y = this.context, I = y && y.locale;
9195
+ return y && y.exist && !I ? f.default.locale : I;
9196
9196
  }
9197
9197
  }, {
9198
9198
  key: "render",
@@ -9204,11 +9204,11 @@ function requireLocaleReceiver() {
9204
9204
  e.default = h, h.defaultProps = {
9205
9205
  componentName: "global"
9206
9206
  }, h.contextType = p.default;
9207
- function g(m, I) {
9207
+ function g(m, v) {
9208
9208
  var C = d.useContext(p.default), b = d.useMemo(function() {
9209
- var y = I || f.default[m || "global"], v = m && C ? C[m] : {};
9210
- return (0, a.default)((0, a.default)({}, typeof y == "function" ? y() : y), v || {});
9211
- }, [m, I, C]);
9209
+ var y = v || f.default[m || "global"], I = m && C ? C[m] : {};
9210
+ return (0, a.default)((0, a.default)({}, typeof y == "function" ? y() : y), I || {});
9211
+ }, [m, v, C]);
9212
9212
  return [b];
9213
9213
  }
9214
9214
  }(LocaleReceiver)), LocaleReceiver;
@@ -9316,15 +9316,15 @@ function requireEmpty() {
9316
9316
  value: !0
9317
9317
  }), e.default = void 0;
9318
9318
  var a = o(require_extends()), s = o(requireDefineProperty()), l = r(React__default), c = o(requireClassnames()), u = requireConfigProvider(), d = o(requireLocaleReceiver()), f = o(requireEmpty$1()), p = o(requireSimple()), h = function(b, y) {
9319
- var v = {};
9319
+ var I = {};
9320
9320
  for (var O in b)
9321
- Object.prototype.hasOwnProperty.call(b, O) && y.indexOf(O) < 0 && (v[O] = b[O]);
9321
+ Object.prototype.hasOwnProperty.call(b, O) && y.indexOf(O) < 0 && (I[O] = b[O]);
9322
9322
  if (b != null && typeof Object.getOwnPropertySymbols == "function")
9323
9323
  for (var w = 0, O = Object.getOwnPropertySymbols(b); w < O.length; w++)
9324
- y.indexOf(O[w]) < 0 && Object.prototype.propertyIsEnumerable.call(b, O[w]) && (v[O[w]] = b[O[w]]);
9325
- return v;
9326
- }, g = /* @__PURE__ */ l.createElement(f.default, null), m = /* @__PURE__ */ l.createElement(p.default, null), I = function(y) {
9327
- var v = y.className, O = y.prefixCls, w = y.image, _ = w === void 0 ? g : w, A = y.description, N = y.children, E = y.imageStyle, M = h(y, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), P = l.useContext(u.ConfigContext), W = P.getPrefixCls, Q = P.direction;
9324
+ y.indexOf(O[w]) < 0 && Object.prototype.propertyIsEnumerable.call(b, O[w]) && (I[O[w]] = b[O[w]]);
9325
+ return I;
9326
+ }, g = /* @__PURE__ */ l.createElement(f.default, null), m = /* @__PURE__ */ l.createElement(p.default, null), v = function(y) {
9327
+ var I = y.className, O = y.prefixCls, w = y.image, _ = w === void 0 ? g : w, A = y.description, N = y.children, E = y.imageStyle, M = h(y, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), P = l.useContext(u.ConfigContext), W = P.getPrefixCls, Q = P.direction;
9328
9328
  return /* @__PURE__ */ l.createElement(d.default, {
9329
9329
  componentName: "Empty"
9330
9330
  }, function(Y) {
@@ -9333,7 +9333,7 @@ function requireEmpty() {
9333
9333
  alt: ee,
9334
9334
  src: _
9335
9335
  }) : Z = _, /* @__PURE__ */ l.createElement("div", (0, a.default)({
9336
- className: (0, c.default)(X, (z = {}, (0, s.default)(z, "".concat(X, "-normal"), _ === m), (0, s.default)(z, "".concat(X, "-rtl"), Q === "rtl"), z), v)
9336
+ className: (0, c.default)(X, (z = {}, (0, s.default)(z, "".concat(X, "-normal"), _ === m), (0, s.default)(z, "".concat(X, "-rtl"), Q === "rtl"), z), I)
9337
9337
  }, M), /* @__PURE__ */ l.createElement("div", {
9338
9338
  className: "".concat(X, "-image"),
9339
9339
  style: E
@@ -9344,8 +9344,8 @@ function requireEmpty() {
9344
9344
  }, N));
9345
9345
  });
9346
9346
  };
9347
- I.PRESENTED_IMAGE_DEFAULT = g, I.PRESENTED_IMAGE_SIMPLE = m;
9348
- var C = I;
9347
+ v.PRESENTED_IMAGE_DEFAULT = g, v.PRESENTED_IMAGE_SIMPLE = m;
9348
+ var C = v;
9349
9349
  e.default = C;
9350
9350
  }(empty$1)), empty$1;
9351
9351
  }
@@ -9404,13 +9404,13 @@ function requireContext() {
9404
9404
  return function(h) {
9405
9405
  var g = function(b) {
9406
9406
  return /* @__PURE__ */ a.createElement(u, null, function(y) {
9407
- var v = f.prefixCls, O = y.getPrefixCls, w = b.prefixCls, _ = O(v, w);
9407
+ var I = f.prefixCls, O = y.getPrefixCls, w = b.prefixCls, _ = O(I, w);
9408
9408
  return /* @__PURE__ */ a.createElement(h, (0, o.default)({}, y, b, {
9409
9409
  prefixCls: _
9410
9410
  }));
9411
9411
  });
9412
- }, m = h.constructor, I = m && m.displayName || h.name || "Component";
9413
- return g.displayName = "withConfigConsumer(".concat(I, ")"), g;
9412
+ }, m = h.constructor, v = m && m.displayName || h.name || "Component";
9413
+ return g.displayName = "withConfigConsumer(".concat(v, ")"), g;
9414
9414
  };
9415
9415
  }
9416
9416
  return context;
@@ -9541,9 +9541,9 @@ const useStepQueue = function(e, r) {
9541
9541
  return useIsomorphicLayoutEffect(function() {
9542
9542
  if (s !== STEP_NONE && s !== STEP_ACTIVATED) {
9543
9543
  var h = STEP_QUEUE.indexOf(s), g = STEP_QUEUE[h + 1], m = r(s);
9544
- m === SkipStep ? l(g) : d(function(I) {
9544
+ m === SkipStep ? l(g) : d(function(v) {
9545
9545
  function C() {
9546
- I.isCanceled() || l(g);
9546
+ v.isCanceled() || l(g);
9547
9547
  }
9548
9548
  m === !0 ? C() : Promise.resolve(m).then(C);
9549
9549
  });
@@ -9572,7 +9572,7 @@ const useStepQueue = function(e, r) {
9572
9572
  }, []), [l, s];
9573
9573
  };
9574
9574
  function useStatus(e, r, o, a) {
9575
- var s = a.motionEnter, l = s === void 0 ? !0 : s, c = a.motionAppear, u = c === void 0 ? !0 : c, d = a.motionLeave, f = d === void 0 ? !0 : d, p = a.motionDeadline, h = a.motionLeaveImmediately, g = a.onAppearPrepare, m = a.onEnterPrepare, I = a.onLeavePrepare, C = a.onAppearStart, b = a.onEnterStart, y = a.onLeaveStart, v = a.onAppearActive, O = a.onEnterActive, w = a.onLeaveActive, _ = a.onAppearEnd, A = a.onEnterEnd, N = a.onLeaveEnd, E = a.onVisibleChanged, M = useMountStatus(), P = _slicedToArray(M, 2), W = P[0], Q = P[1], Y = useMountStatus(STATUS_NONE), z = _slicedToArray(Y, 2), X = z[0], te = z[1], ee = useMountStatus(null), Z = _slicedToArray(ee, 2), se = Z[0], be = Z[1], Ie = useRef(!1), de = useRef(null), xe = useRef(!1), J = useRef(null);
9575
+ var s = a.motionEnter, l = s === void 0 ? !0 : s, c = a.motionAppear, u = c === void 0 ? !0 : c, d = a.motionLeave, f = d === void 0 ? !0 : d, p = a.motionDeadline, h = a.motionLeaveImmediately, g = a.onAppearPrepare, m = a.onEnterPrepare, v = a.onLeavePrepare, C = a.onAppearStart, b = a.onEnterStart, y = a.onLeaveStart, I = a.onAppearActive, O = a.onEnterActive, w = a.onLeaveActive, _ = a.onAppearEnd, A = a.onEnterEnd, N = a.onLeaveEnd, E = a.onVisibleChanged, M = useMountStatus(), P = _slicedToArray(M, 2), W = P[0], Q = P[1], Y = useMountStatus(STATUS_NONE), z = _slicedToArray(Y, 2), X = z[0], te = z[1], ee = useMountStatus(null), Z = _slicedToArray(ee, 2), se = Z[0], be = Z[1], Ie = useRef(!1), de = useRef(null), xe = useRef(!1), J = useRef(null);
9576
9576
  function ce() {
9577
9577
  var vt = o();
9578
9578
  return vt || J.current;
@@ -9589,11 +9589,11 @@ function useStatus(e, r, o, a) {
9589
9589
  var vt, Ft, _t;
9590
9590
  switch (X) {
9591
9591
  case "appear":
9592
- return vt = {}, _defineProperty$1(vt, STEP_PREPARE, g), _defineProperty$1(vt, STEP_START, C), _defineProperty$1(vt, STEP_ACTIVE, v), vt;
9592
+ return vt = {}, _defineProperty$1(vt, STEP_PREPARE, g), _defineProperty$1(vt, STEP_START, C), _defineProperty$1(vt, STEP_ACTIVE, I), vt;
9593
9593
  case "enter":
9594
9594
  return Ft = {}, _defineProperty$1(Ft, STEP_PREPARE, m), _defineProperty$1(Ft, STEP_START, b), _defineProperty$1(Ft, STEP_ACTIVE, O), Ft;
9595
9595
  case "leave":
9596
- return _t = {}, _defineProperty$1(_t, STEP_PREPARE, I), _defineProperty$1(_t, STEP_START, y), _defineProperty$1(_t, STEP_ACTIVE, w), _t;
9596
+ return _t = {}, _defineProperty$1(_t, STEP_PREPARE, v), _defineProperty$1(_t, STEP_START, y), _defineProperty$1(_t, STEP_ACTIVE, w), _t;
9597
9597
  default:
9598
9598
  return {};
9599
9599
  }
@@ -9653,19 +9653,19 @@ function genCSSMotion(e) {
9653
9653
  return !!(s.motionName && r);
9654
9654
  }
9655
9655
  var a = /* @__PURE__ */ React.forwardRef(function(s, l) {
9656
- var c = s.visible, u = c === void 0 ? !0 : c, d = s.removeOnLeave, f = d === void 0 ? !0 : d, p = s.forceRender, h = s.children, g = s.motionName, m = s.leavedClassName, I = s.eventProps, C = o(s), b = useRef(), y = useRef();
9657
- function v() {
9656
+ var c = s.visible, u = c === void 0 ? !0 : c, d = s.removeOnLeave, f = d === void 0 ? !0 : d, p = s.forceRender, h = s.children, g = s.motionName, m = s.leavedClassName, v = s.eventProps, C = o(s), b = useRef(), y = useRef();
9657
+ function I() {
9658
9658
  try {
9659
9659
  return findDOMNode(b.current || y.current);
9660
9660
  } catch {
9661
9661
  return null;
9662
9662
  }
9663
9663
  }
9664
- var O = useStatus(C, u, v, s), w = _slicedToArray(O, 4), _ = w[0], A = w[1], N = w[2], E = w[3], M = useRef(l);
9664
+ var O = useStatus(C, u, I, s), w = _slicedToArray(O, 4), _ = w[0], A = w[1], N = w[2], E = w[3], M = useRef(l);
9665
9665
  M.current = l;
9666
9666
  var P = React.useCallback(function(X) {
9667
9667
  b.current = X, fillRef(M.current, X);
9668
- }, []), W, Q = _objectSpread2$1(_objectSpread2$1({}, I), {}, {
9668
+ }, []), W, Q = _objectSpread2$1(_objectSpread2$1({}, v), {}, {
9669
9669
  visible: u
9670
9670
  });
9671
9671
  if (!h)
@@ -9772,22 +9772,22 @@ function genCSSMotionList(e) {
9772
9772
  return _createClass(l, [{
9773
9773
  key: "render",
9774
9774
  value: function() {
9775
- var u = this, d = this.state.keyEntities, f = this.props, p = f.component, h = f.children, g = f.onVisibleChanged, m = _objectWithoutProperties(f, ["component", "children", "onVisibleChanged"]), I = p || React.Fragment, C = {};
9775
+ var u = this, d = this.state.keyEntities, f = this.props, p = f.component, h = f.children, g = f.onVisibleChanged, m = _objectWithoutProperties(f, ["component", "children", "onVisibleChanged"]), v = p || React.Fragment, C = {};
9776
9776
  return MOTION_PROP_NAMES.forEach(function(b) {
9777
9777
  C[b] = m[b], delete m[b];
9778
- }), delete m.keys, /* @__PURE__ */ jsx(I, {
9778
+ }), delete m.keys, /* @__PURE__ */ jsx(v, {
9779
9779
  ...Object.assign({}, m),
9780
9780
  children: d.map(function(b) {
9781
- var y = b.status, v = _objectWithoutProperties(b, ["status"]), O = y === STATUS_ADD || y === STATUS_KEEP;
9781
+ var y = b.status, I = _objectWithoutProperties(b, ["status"]), O = y === STATUS_ADD || y === STATUS_KEEP;
9782
9782
  return /* @__PURE__ */ jsx(r, {
9783
9783
  ...Object.assign({}, C, {
9784
- key: v.key,
9784
+ key: I.key,
9785
9785
  visible: O,
9786
- eventProps: v,
9786
+ eventProps: I,
9787
9787
  onVisibleChanged: function(_) {
9788
9788
  g == null || g(_, {
9789
- key: v.key
9790
- }), _ || u.removeKey(v.key);
9789
+ key: I.key
9790
+ }), _ || u.removeKey(I.key);
9791
9791
  }
9792
9792
  }),
9793
9793
  children: h
@@ -9801,11 +9801,11 @@ function genCSSMotionList(e) {
9801
9801
  var f = u.keys, p = d.keyEntities, h = parseKeys(f), g = diffKeys(p, h);
9802
9802
  return {
9803
9803
  keyEntities: g.filter(function(m) {
9804
- var I = p.find(function(C) {
9804
+ var v = p.find(function(C) {
9805
9805
  var b = C.key;
9806
9806
  return m.key === b;
9807
9807
  });
9808
- return !(I && I.status === STATUS_REMOVED && m.status === STATUS_REMOVE);
9808
+ return !(v && v.status === STATUS_REMOVED && m.status === STATUS_REMOVE);
9809
9809
  })
9810
9810
  };
9811
9811
  }
@@ -9856,25 +9856,25 @@ var Notice$1 = /* @__PURE__ */ function(e) {
9856
9856
  }, {
9857
9857
  key: "render",
9858
9858
  value: function() {
9859
- var s = this, l = this.props, c = l.prefixCls, u = l.className, d = l.closable, f = l.closeIcon, p = l.style, h = l.onClick, g = l.children, m = l.holder, I = "".concat(c, "-notice"), C = Object.keys(this.props).reduce(function(y, v) {
9860
- return (v.substr(0, 5) === "data-" || v.substr(0, 5) === "aria-" || v === "role") && (y[v] = s.props[v]), y;
9859
+ var s = this, l = this.props, c = l.prefixCls, u = l.className, d = l.closable, f = l.closeIcon, p = l.style, h = l.onClick, g = l.children, m = l.holder, v = "".concat(c, "-notice"), C = Object.keys(this.props).reduce(function(y, I) {
9860
+ return (I.substr(0, 5) === "data-" || I.substr(0, 5) === "aria-" || I === "role") && (y[I] = s.props[I]), y;
9861
9861
  }, {}), b = /* @__PURE__ */ jsxs("div", {
9862
9862
  ...Object.assign({
9863
- className: classnamesExports(I, u, _defineProperty$1({}, "".concat(I, "-closable"), d)),
9863
+ className: classnamesExports(v, u, _defineProperty$1({}, "".concat(v, "-closable"), d)),
9864
9864
  style: p,
9865
9865
  onMouseEnter: this.clearCloseTimer,
9866
9866
  onMouseLeave: this.startCloseTimer,
9867
9867
  onClick: h
9868
9868
  }, C),
9869
9869
  children: [/* @__PURE__ */ jsx("div", {
9870
- className: "".concat(I, "-content"),
9870
+ className: "".concat(v, "-content"),
9871
9871
  children: g
9872
9872
  }), d ? /* @__PURE__ */ jsx("a", {
9873
9873
  tabIndex: 0,
9874
9874
  onClick: this.close,
9875
- className: "".concat(I, "-close"),
9875
+ className: "".concat(v, "-close"),
9876
9876
  children: f || /* @__PURE__ */ jsx("span", {
9877
- className: "".concat(I, "-close-x")
9877
+ className: "".concat(v, "-close-x")
9878
9878
  })
9879
9879
  }) : null]
9880
9880
  });
@@ -9961,19 +9961,19 @@ var Notification = /* @__PURE__ */ function(e) {
9961
9961
  value: function() {
9962
9962
  var s = this, l = this.state.notices, c = this.props, u = c.prefixCls, d = c.className, f = c.closeIcon, p = c.style, h = [];
9963
9963
  return l.forEach(function(g, m) {
9964
- var I = g.notice, C = g.holderCallback, b = m === l.length - 1 ? I.updateMark : void 0, y = I.key, v = I.userPassKey, O = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
9964
+ var v = g.notice, C = g.holderCallback, b = m === l.length - 1 ? v.updateMark : void 0, y = v.key, I = v.userPassKey, O = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
9965
9965
  prefixCls: u,
9966
9966
  closeIcon: f
9967
- }, I), I.props), {}, {
9967
+ }, v), v.props), {}, {
9968
9968
  key: y,
9969
- noticeKey: v || y,
9969
+ noticeKey: I || y,
9970
9970
  updateMark: b,
9971
9971
  onClose: function(_) {
9972
9972
  var A;
9973
- s.remove(_), (A = I.onClose) === null || A === void 0 || A.call(I);
9973
+ s.remove(_), (A = v.onClose) === null || A === void 0 || A.call(v);
9974
9974
  },
9975
- onClick: I.onClick,
9976
- children: I.content
9975
+ onClick: v.onClick,
9976
+ children: v.content
9977
9977
  });
9978
9978
  h.push(y), s.noticePropsMap[y] = {
9979
9979
  props: O,
@@ -9985,21 +9985,21 @@ var Notification = /* @__PURE__ */ function(e) {
9985
9985
  children: /* @__PURE__ */ jsx(CSSMotionList, {
9986
9986
  keys: h,
9987
9987
  motionName: this.getTransitionName(),
9988
- onVisibleChanged: function(m, I) {
9989
- var C = I.key;
9988
+ onVisibleChanged: function(m, v) {
9989
+ var C = v.key;
9990
9990
  m || delete s.noticePropsMap[C];
9991
9991
  },
9992
9992
  children: function(g) {
9993
- var m = g.key, I = g.className, C = g.style, b = s.noticePropsMap[m], y = b.props, v = b.holderCallback;
9994
- return v ? /* @__PURE__ */ jsx("div", {
9995
- className: classnamesExports(I, "".concat(u, "-hook-holder")),
9993
+ var m = g.key, v = g.className, C = g.style, b = s.noticePropsMap[m], y = b.props, I = b.holderCallback;
9994
+ return I ? /* @__PURE__ */ jsx("div", {
9995
+ className: classnamesExports(v, "".concat(u, "-hook-holder")),
9996
9996
  style: _objectSpread2$1({}, C),
9997
9997
  ref: function(w) {
9998
- typeof m > "u" || (w ? (s.hookRefs.set(m, w), v(w, y)) : s.hookRefs.delete(m));
9998
+ typeof m > "u" || (w ? (s.hookRefs.set(m, w), I(w, y)) : s.hookRefs.delete(m));
9999
9999
  }
10000
10000
  }, m) : /* @__PURE__ */ jsx(Notice$1, {
10001
10001
  ...Object.assign({}, y, {
10002
- className: classnamesExports(I, y == null ? void 0 : y.className),
10002
+ className: classnamesExports(v, y == null ? void 0 : y.className),
10003
10003
  style: _objectSpread2$1(_objectSpread2$1({}, C), y == null ? void 0 : y.style)
10004
10004
  })
10005
10005
  });
@@ -10237,18 +10237,18 @@ function requireNotice() {
10237
10237
  (0, l.default)(m, h);
10238
10238
  var g = (0, c.default)(m);
10239
10239
  function m() {
10240
- var I;
10241
- return (0, a.default)(this, m), I = g.apply(this, arguments), I.closeTimer = null, I.close = function(C) {
10242
- C && C.stopPropagation(), I.clearCloseTimer();
10243
- var b = I.props, y = b.onClose, v = b.noticeKey;
10244
- y && y(v);
10245
- }, I.startCloseTimer = function() {
10246
- I.props.duration && (I.closeTimer = window.setTimeout(function() {
10247
- I.close();
10248
- }, I.props.duration * 1e3));
10249
- }, I.clearCloseTimer = function() {
10250
- I.closeTimer && (clearTimeout(I.closeTimer), I.closeTimer = null);
10251
- }, I;
10240
+ var v;
10241
+ return (0, a.default)(this, m), v = g.apply(this, arguments), v.closeTimer = null, v.close = function(C) {
10242
+ C && C.stopPropagation(), v.clearCloseTimer();
10243
+ var b = v.props, y = b.onClose, I = b.noticeKey;
10244
+ y && y(I);
10245
+ }, v.startCloseTimer = function() {
10246
+ v.props.duration && (v.closeTimer = window.setTimeout(function() {
10247
+ v.close();
10248
+ }, v.props.duration * 1e3));
10249
+ }, v.clearCloseTimer = function() {
10250
+ v.closeTimer && (clearTimeout(v.closeTimer), v.closeTimer = null);
10251
+ }, v;
10252
10252
  }
10253
10253
  return (0, s.default)(m, [{
10254
10254
  key: "componentDidMount",
@@ -10273,10 +10273,10 @@ function requireNotice() {
10273
10273
  }, {
10274
10274
  key: "render",
10275
10275
  value: function() {
10276
- var C = this, b = this.props, y = b.prefixCls, v = b.className, O = b.closable, w = b.closeIcon, _ = b.style, A = b.onClick, N = b.children, E = b.holder, M = "".concat(y, "-notice"), P = Object.keys(this.props).reduce(function(Q, Y) {
10276
+ var C = this, b = this.props, y = b.prefixCls, I = b.className, O = b.closable, w = b.closeIcon, _ = b.style, A = b.onClick, N = b.children, E = b.holder, M = "".concat(y, "-notice"), P = Object.keys(this.props).reduce(function(Q, Y) {
10277
10277
  return (Y.substr(0, 5) === "data-" || Y.substr(0, 5) === "aria-" || Y === "role") && (Q[Y] = C.props[Y]), Q;
10278
10278
  }, {}), W = u.createElement("div", Object.assign({
10279
- className: (0, f.default)(M, v, (0, o.default)({}, "".concat(M, "-closable"), O)),
10279
+ className: (0, f.default)(M, I, (0, o.default)({}, "".concat(M, "-closable"), O)),
10280
10280
  style: _,
10281
10281
  onMouseEnter: this.clearCloseTimer,
10282
10282
  onMouseLeave: this.startCloseTimer,
@@ -10312,15 +10312,15 @@ function requireUseNotification$1() {
10312
10312
  var o = r(requireToConsumableArray()), a = r(requireSlicedToArray()), s = e(React__default), l = r(requireNotice());
10313
10313
  function c(u) {
10314
10314
  var d = s.useRef({}), f = s.useState([]), p = (0, a.default)(f, 2), h = p[0], g = p[1];
10315
- function m(I) {
10316
- u.add(I, function(C, b) {
10315
+ function m(v) {
10316
+ u.add(v, function(C, b) {
10317
10317
  var y = b.key;
10318
10318
  if (C && !d.current[y]) {
10319
- var v = s.createElement(l.default, Object.assign({}, b, {
10319
+ var I = s.createElement(l.default, Object.assign({}, b, {
10320
10320
  holder: C
10321
10321
  }));
10322
- d.current[y] = v, g(function(O) {
10323
- return [].concat((0, o.default)(O), [v]);
10322
+ d.current[y] = I, g(function(O) {
10323
+ return [].concat((0, o.default)(O), [I]);
10324
10324
  });
10325
10325
  }
10326
10326
  });
@@ -10339,13 +10339,13 @@ function requireUseMessage() {
10339
10339
  var a = o(require_extends()), s = o(requireSlicedToArray()), l = r(React__default), c = o(requireUseNotification$1()), u = requireConfigProvider(), d = requireMessage();
10340
10340
  function f(p, h) {
10341
10341
  var g = function() {
10342
- var I, C = null, b = {
10342
+ var v, C = null, b = {
10343
10343
  add: function(E, M) {
10344
10344
  C == null || C.component.add(E, M);
10345
10345
  }
10346
- }, y = (0, c.default)(b), v = (0, s.default)(y, 2), O = v[0], w = v[1];
10346
+ }, y = (0, c.default)(b), I = (0, s.default)(y, 2), O = I[0], w = I[1];
10347
10347
  function _(N) {
10348
- var E = N.prefixCls, M = I("message", E), P = N.key || (0, d.getKeyThenIncreaseKey)(), W = new Promise(function(Y) {
10348
+ var E = N.prefixCls, M = v("message", E), P = N.key || (0, d.getKeyThenIncreaseKey)(), W = new Promise(function(Y) {
10349
10349
  var z = function() {
10350
10350
  return typeof N.onClose == "function" && N.onClose(), Y(!0);
10351
10351
  };
@@ -10371,7 +10371,7 @@ function requireUseMessage() {
10371
10371
  }), [A.current, /* @__PURE__ */ l.createElement(u.ConfigConsumer, {
10372
10372
  key: "holder"
10373
10373
  }, function(N) {
10374
- return I = N.getPrefixCls, w;
10374
+ return v = N.getPrefixCls, w;
10375
10375
  })];
10376
10376
  };
10377
10377
  return g;
@@ -10385,19 +10385,19 @@ function requireMessage() {
10385
10385
  Object.defineProperty(e, "__esModule", {
10386
10386
  value: !0
10387
10387
  }), e.getKeyThenIncreaseKey = N, e.attachTypeApi = X, e.default = e.getInstance = void 0;
10388
- var a = o(require_extends()), s = o(requireDefineProperty()), l = r(React__default), c = o(requireClassnames()), u = o(require$$6$1), d = o(requireLoadingOutlined()), f = o(requireExclamationCircleFilled()), p = o(requireCloseCircleFilled()), h = o(requireCheckCircleFilled()), g = o(requireInfoCircleFilled()), m = o(requireUseMessage()), I, C = 3, b, y = 1, v = "ant-message", O = "move-up", w, _, A = !1;
10388
+ var a = o(require_extends()), s = o(requireDefineProperty()), l = r(React__default), c = o(requireClassnames()), u = o(require$$6$1), d = o(requireLoadingOutlined()), f = o(requireExclamationCircleFilled()), p = o(requireCloseCircleFilled()), h = o(requireCheckCircleFilled()), g = o(requireInfoCircleFilled()), m = o(requireUseMessage()), v, C = 3, b, y = 1, I = "ant-message", O = "move-up", w, _, A = !1;
10389
10389
  function N() {
10390
10390
  return y++;
10391
10391
  }
10392
10392
  function E(Z) {
10393
- Z.top !== void 0 && (b = Z.top, I = null), Z.duration !== void 0 && (C = Z.duration), Z.prefixCls !== void 0 && (v = Z.prefixCls), Z.getContainer !== void 0 && (w = Z.getContainer), Z.transitionName !== void 0 && (O = Z.transitionName, I = null), Z.maxCount !== void 0 && (_ = Z.maxCount, I = null), Z.rtl !== void 0 && (A = Z.rtl);
10393
+ Z.top !== void 0 && (b = Z.top, v = null), Z.duration !== void 0 && (C = Z.duration), Z.prefixCls !== void 0 && (I = Z.prefixCls), Z.getContainer !== void 0 && (w = Z.getContainer), Z.transitionName !== void 0 && (O = Z.transitionName, v = null), Z.maxCount !== void 0 && (_ = Z.maxCount, v = null), Z.rtl !== void 0 && (A = Z.rtl);
10394
10394
  }
10395
10395
  function M(Z, se) {
10396
- var be = Z.prefixCls || v;
10397
- if (I) {
10396
+ var be = Z.prefixCls || I;
10397
+ if (v) {
10398
10398
  se({
10399
10399
  prefixCls: be,
10400
- instance: I
10400
+ instance: v
10401
10401
  });
10402
10402
  return;
10403
10403
  }
@@ -10410,14 +10410,14 @@ function requireMessage() {
10410
10410
  getContainer: w,
10411
10411
  maxCount: _
10412
10412
  }, function(Ie) {
10413
- if (I) {
10413
+ if (v) {
10414
10414
  se({
10415
10415
  prefixCls: be,
10416
- instance: I
10416
+ instance: v
10417
10417
  });
10418
10418
  return;
10419
10419
  }
10420
- I = Ie, se({
10420
+ v = Ie, se({
10421
10421
  prefixCls: be,
10422
10422
  instance: Ie
10423
10423
  });
@@ -10457,7 +10457,7 @@ function requireMessage() {
10457
10457
  }), ce));
10458
10458
  });
10459
10459
  }), Ie = function() {
10460
- I && I.removeNotice(se);
10460
+ v && v.removeNotice(se);
10461
10461
  };
10462
10462
  return Ie.then = function(de, xe) {
10463
10463
  return be.then(de, xe);
@@ -10470,13 +10470,13 @@ function requireMessage() {
10470
10470
  open: Q,
10471
10471
  config: E,
10472
10472
  destroy: function(se) {
10473
- if (I)
10473
+ if (v)
10474
10474
  if (se) {
10475
- var be = I, Ie = be.removeNotice;
10475
+ var be = v, Ie = be.removeNotice;
10476
10476
  Ie(se);
10477
10477
  } else {
10478
- var de = I, xe = de.destroy;
10479
- xe(), I = null;
10478
+ var de = v, xe = de.destroy;
10479
+ xe(), v = null;
10480
10480
  }
10481
10481
  }
10482
10482
  };
@@ -10496,7 +10496,7 @@ function requireMessage() {
10496
10496
  return X(z, Z);
10497
10497
  }), z.warn = z.warning, z.useMessage = (0, m.default)(M, W);
10498
10498
  var te = function() {
10499
- return process.env.NODE_ENV === "test" ? I : null;
10499
+ return process.env.NODE_ENV === "test" ? v : null;
10500
10500
  };
10501
10501
  e.getInstance = te;
10502
10502
  var ee = z;
@@ -10718,18 +10718,18 @@ function requireUseNotification() {
10718
10718
  var a = o(require_extends()), s = o(requireSlicedToArray()), l = r(React__default), c = o(requireUseNotification$1()), u = requireConfigProvider();
10719
10719
  function d(f, p) {
10720
10720
  var h = function() {
10721
- var m, I = null, C = {
10721
+ var m, v = null, C = {
10722
10722
  add: function(N, E) {
10723
- I == null || I.component.add(N, E);
10723
+ v == null || v.component.add(N, E);
10724
10724
  }
10725
- }, b = (0, c.default)(C), y = (0, s.default)(b, 2), v = y[0], O = y[1];
10725
+ }, b = (0, c.default)(C), y = (0, s.default)(b, 2), I = y[0], O = y[1];
10726
10726
  function w(A) {
10727
10727
  var N = A.prefixCls, E = m("notification", N);
10728
10728
  f((0, a.default)((0, a.default)({}, A), {
10729
10729
  prefixCls: E
10730
10730
  }), function(M) {
10731
10731
  var P = M.prefixCls, W = M.instance;
10732
- I = W, v(p(A, P));
10732
+ v = W, I(p(A, P));
10733
10733
  });
10734
10734
  }
10735
10735
  var _ = l.useRef({});
@@ -10756,7 +10756,7 @@ function requireNotification() {
10756
10756
  Object.defineProperty(e, "__esModule", {
10757
10757
  value: !0
10758
10758
  }), e.default = e.getInstance = void 0;
10759
- var a = o(requireRegenerator()), s = o(require_extends()), l = o(requireDefineProperty()), c = r(React__default), u = o(require$$6$1), d = o(requireCloseOutlined()), f = o(requireClassnames()), p = o(requireCheckCircleOutlined()), h = o(requireCloseCircleOutlined()), g = o(requireExclamationCircleOutlined()), m = o(requireInfoCircleOutlined()), I = o(requireUseNotification()), C = function(Z, se, be, Ie) {
10759
+ var a = o(requireRegenerator()), s = o(require_extends()), l = o(requireDefineProperty()), c = r(React__default), u = o(require$$6$1), d = o(requireCloseOutlined()), f = o(requireClassnames()), p = o(requireCheckCircleOutlined()), h = o(requireCloseCircleOutlined()), g = o(requireExclamationCircleOutlined()), m = o(requireInfoCircleOutlined()), v = o(requireUseNotification()), C = function(Z, se, be, Ie) {
10760
10760
  function de(xe) {
10761
10761
  return xe instanceof be ? xe : new be(function(J) {
10762
10762
  J(xe);
@@ -10782,13 +10782,13 @@ function requireNotification() {
10782
10782
  }
10783
10783
  U((Ie = Ie.apply(Z, se || [])).next());
10784
10784
  });
10785
- }, b = {}, y = 4.5, v = 24, O = 24, w = "ant-notification", _ = "topRight", A, N, E = !1;
10785
+ }, b = {}, y = 4.5, I = 24, O = 24, w = "ant-notification", _ = "topRight", A, N, E = !1;
10786
10786
  function M(Z) {
10787
10787
  var se = Z.duration, be = Z.placement, Ie = Z.bottom, de = Z.top, xe = Z.getContainer, J = Z.closeIcon, ce = Z.prefixCls;
10788
- ce !== void 0 && (w = ce), se !== void 0 && (y = se), be !== void 0 ? _ = be : Z.rtl && (_ = "topLeft"), Ie !== void 0 && (O = Ie), de !== void 0 && (v = de), xe !== void 0 && (A = xe), J !== void 0 && (N = J), Z.rtl !== void 0 && (E = Z.rtl);
10788
+ ce !== void 0 && (w = ce), se !== void 0 && (y = se), be !== void 0 ? _ = be : Z.rtl && (_ = "topLeft"), Ie !== void 0 && (O = Ie), de !== void 0 && (I = de), xe !== void 0 && (A = xe), J !== void 0 && (N = J), Z.rtl !== void 0 && (E = Z.rtl);
10789
10789
  }
10790
10790
  function P(Z) {
10791
- var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : v, be = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : O, Ie;
10791
+ var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : I, be = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : O, Ie;
10792
10792
  switch (Z) {
10793
10793
  case "topLeft":
10794
10794
  Ie = {
@@ -10918,7 +10918,7 @@ function requireNotification() {
10918
10918
  type: Z
10919
10919
  }));
10920
10920
  };
10921
- }), X.warn = X.warning, X.useNotification = (0, I.default)(W, Y);
10921
+ }), X.warn = X.warning, X.useNotification = (0, v.default)(W, Y);
10922
10922
  var te = function(se) {
10923
10923
  return C(void 0, void 0, void 0, /* @__PURE__ */ a.default.mark(function be() {
10924
10924
  return a.default.wrap(function(de) {
@@ -10955,8 +10955,8 @@ function requireConfigProvider() {
10955
10955
  return p.ConfigContext;
10956
10956
  }
10957
10957
  }), e.default = e.configConsumerProps = void 0;
10958
- var a = o(require_extends()), s = r(React__default), l = o(requireContext$2()), c = require$$5, u = o(requireUseMemo()), d = r(requireLocaleProvider()), f = o(requireLocaleReceiver()), p = requireContext(), h = r(requireSizeContext()), g = o(requireMessage()), m = o(requireNotification()), I = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
10959
- e.configConsumerProps = I;
10958
+ var a = o(require_extends()), s = r(React__default), l = o(requireContext$2()), c = require$$5, u = o(requireUseMemo()), d = r(requireLocaleProvider()), f = o(requireLocaleReceiver()), p = requireContext(), h = r(requireSizeContext()), g = o(requireMessage()), m = o(requireNotification()), v = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
10959
+ e.configConsumerProps = v;
10960
10960
  var C = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "form"], b = function(w) {
10961
10961
  var _ = w.children, A = w.csp, N = w.autoInsertSpaceInButton, E = w.form, M = w.locale, P = w.componentSize, W = w.direction, Q = w.space, Y = w.virtual, z = w.dropdownMatchSelectWidth, X = w.legacyLocale, te = w.parentContext, ee = w.iconPrefixCls, Z = s.useCallback(function(J, ce) {
10962
10962
  var j = w.prefixCls;
@@ -11019,8 +11019,8 @@ function requireConfigProvider() {
11019
11019
  });
11020
11020
  };
11021
11021
  y.ConfigContext = p.ConfigContext, y.SizeContext = h.default;
11022
- var v = y;
11023
- e.default = v;
11022
+ var I = y;
11023
+ e.default = I;
11024
11024
  }(configProvider)), configProvider;
11025
11025
  }
11026
11026
  var hasRequiredInput;
@@ -11029,8 +11029,8 @@ function requireInput() {
11029
11029
  var r = interopRequireWildcard.exports, o = interopRequireDefault.exports;
11030
11030
  Object.defineProperty(e, "__esModule", {
11031
11031
  value: !0
11032
- }), e.fixControlledValue = b, e.resolveOnChange = y, e.getInputClassName = v, e.triggerFocus = O, e.default = void 0;
11033
- var a = o(require_extends()), s = o(requireClassCallCheck()), l = o(requireCreateClass()), c = o(requireInherits()), u = o(requireCreateSuper()), d = o(requireDefineProperty()), f = r(React__default), p = o(requireClassnames()), h = o(requireOmit()), g = r(requireClearableLabeledInput()), m = requireConfigProvider(), I = o(requireSizeContext()), C = o(requireDevWarning());
11032
+ }), e.fixControlledValue = b, e.resolveOnChange = y, e.getInputClassName = I, e.triggerFocus = O, e.default = void 0;
11033
+ var a = o(require_extends()), s = o(requireClassCallCheck()), l = o(requireCreateClass()), c = o(requireInherits()), u = o(requireCreateSuper()), d = o(requireDefineProperty()), f = r(React__default), p = o(requireClassnames()), h = o(requireOmit()), g = r(requireClearableLabeledInput()), m = requireConfigProvider(), v = o(requireSizeContext()), C = o(requireDevWarning());
11034
11034
  function b(A) {
11035
11035
  return typeof A > "u" || A === null ? "" : A;
11036
11036
  }
@@ -11046,7 +11046,7 @@ function requireInput() {
11046
11046
  E(M);
11047
11047
  }
11048
11048
  }
11049
- function v(A, N, E, M, P) {
11049
+ function I(A, N, E, M, P) {
11050
11050
  var W;
11051
11051
  return (0, p.default)(A, (W = {}, (0, d.default)(W, "".concat(A, "-sm"), E === "small"), (0, d.default)(W, "".concat(A, "-lg"), E === "large"), (0, d.default)(W, "".concat(A, "-disabled"), M), (0, d.default)(W, "".concat(A, "-rtl"), P === "rtl"), (0, d.default)(W, "".concat(A, "-borderless"), !N), W));
11052
11052
  }
@@ -11115,7 +11115,7 @@ function requireInput() {
11115
11115
  onFocus: P.onFocus,
11116
11116
  onBlur: P.onBlur,
11117
11117
  onKeyDown: P.handleKeyDown,
11118
- className: (0, p.default)(v(Q, z, be || Y, Ie, P.direction), (0, d.default)({}, ee, ee && !Z && !se)),
11118
+ className: (0, p.default)(I(Q, z, be || Y, Ie, P.direction), (0, d.default)({}, ee, ee && !Z && !se)),
11119
11119
  ref: P.saveInput
11120
11120
  }));
11121
11121
  }, P.clearPasswordValueAttribute = function() {
@@ -11129,7 +11129,7 @@ function requireInput() {
11129
11129
  Q.keyCode === 13 && z && z(Q), X && X(Q);
11130
11130
  }, P.renderComponent = function(Q) {
11131
11131
  var Y = Q.getPrefixCls, z = Q.direction, X = Q.input, te = P.state, ee = te.value, Z = te.focused, se = P.props, be = se.prefixCls, Ie = se.bordered, de = Ie === void 0 ? !0 : Ie, xe = Y("input", be);
11132
- return P.direction = z, /* @__PURE__ */ f.createElement(I.default.Consumer, null, function(J) {
11132
+ return P.direction = z, /* @__PURE__ */ f.createElement(v.default.Consumer, null, function(J) {
11133
11133
  return /* @__PURE__ */ f.createElement(g.default, (0, a.default)({
11134
11134
  size: J
11135
11135
  }, P.props, {
@@ -11242,7 +11242,7 @@ function requireClearableLabeledInput() {
11242
11242
  Object.defineProperty(e, "__esModule", {
11243
11243
  value: !0
11244
11244
  }), e.hasPrefixSuffix = C, e.default = void 0;
11245
- var a = o(requireDefineProperty()), s = o(requireClassCallCheck()), l = o(requireCreateClass()), c = o(requireInherits()), u = o(requireCreateSuper()), d = r(React__default), f = o(requireClassnames()), p = o(requireCloseCircleFilled()), h = requireType(), g = requireInput(), m = requireReactNode(), I = (0, h.tuple)("text", "input");
11245
+ var a = o(requireDefineProperty()), s = o(requireClassCallCheck()), l = o(requireCreateClass()), c = o(requireInherits()), u = o(requireCreateSuper()), d = r(React__default), f = o(requireClassnames()), p = o(requireCloseCircleFilled()), h = requireType(), g = requireInput(), m = requireReactNode(), v = (0, h.tuple)("text", "input");
11246
11246
  function C(O) {
11247
11247
  return !!(O.prefix || O.suffix || O.allowClear);
11248
11248
  }
@@ -11346,11 +11346,11 @@ function requireClearableLabeledInput() {
11346
11346
  key: "render",
11347
11347
  value: function() {
11348
11348
  var N = this.props, E = N.prefixCls, M = N.inputType, P = N.element;
11349
- return M === I[0] ? this.renderTextAreaWithClearIcon(E, P) : this.renderInputWithLabel(E, this.renderLabeledIcon(E, P));
11349
+ return M === v[0] ? this.renderTextAreaWithClearIcon(E, P) : this.renderInputWithLabel(E, this.renderLabeledIcon(E, P));
11350
11350
  }
11351
11351
  }]), _;
11352
- }(d.Component), v = y;
11353
- e.default = v;
11352
+ }(d.Component), I = y;
11353
+ e.default = I;
11354
11354
  }(ClearableLabeledInput)), ClearableLabeledInput;
11355
11355
  }
11356
11356
  (function(e) {
@@ -11358,7 +11358,7 @@ function requireClearableLabeledInput() {
11358
11358
  Object.defineProperty(e, "__esModule", {
11359
11359
  value: !0
11360
11360
  }), e.default = void 0;
11361
- var a = o(_typeof$2.exports), s = o(requireToConsumableArray()), l = o(require_extends()), c = o(requireDefineProperty()), u = o(requireSlicedToArray()), d = r(React__default), f = o(require$$8), p = o(requireOmit()), h = o(requireClassnames()), g = o(requireUseMergedState()), m = o(requireClearableLabeledInput()), I = requireConfigProvider(), C = requireInput(), b = o(requireSizeContext()), y = function(w, _) {
11361
+ var a = o(_typeof$2.exports), s = o(requireToConsumableArray()), l = o(require_extends()), c = o(requireDefineProperty()), u = o(requireSlicedToArray()), d = r(React__default), f = o(require$$8), p = o(requireOmit()), h = o(requireClassnames()), g = o(requireUseMergedState()), m = o(requireClearableLabeledInput()), v = requireConfigProvider(), C = requireInput(), b = o(requireSizeContext()), y = function(w, _) {
11362
11362
  var A = {};
11363
11363
  for (var N in w)
11364
11364
  Object.prototype.hasOwnProperty.call(w, N) && _.indexOf(N) < 0 && (A[N] = w[N]);
@@ -11366,8 +11366,8 @@ function requireClearableLabeledInput() {
11366
11366
  for (var E = 0, N = Object.getOwnPropertySymbols(w); E < N.length; E++)
11367
11367
  _.indexOf(N[E]) < 0 && Object.prototype.propertyIsEnumerable.call(w, N[E]) && (A[N[E]] = w[N[E]]);
11368
11368
  return A;
11369
- }, v = /* @__PURE__ */ d.forwardRef(function(w, _) {
11370
- var A, N = w.prefixCls, E = w.bordered, M = E === void 0 ? !0 : E, P = w.showCount, W = P === void 0 ? !1 : P, Q = w.maxLength, Y = w.className, z = w.style, X = w.size, te = y(w, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), ee = d.useContext(I.ConfigContext), Z = ee.getPrefixCls, se = ee.direction, be = d.useContext(b.default), Ie = d.useRef(null), de = d.useRef(null), xe = (0, g.default)(te.defaultValue, {
11369
+ }, I = /* @__PURE__ */ d.forwardRef(function(w, _) {
11370
+ var A, N = w.prefixCls, E = w.bordered, M = E === void 0 ? !0 : E, P = w.showCount, W = P === void 0 ? !1 : P, Q = w.maxLength, Y = w.className, z = w.style, X = w.size, te = y(w, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), ee = d.useContext(v.ConfigContext), Z = ee.getPrefixCls, se = ee.direction, be = d.useContext(b.default), Ie = d.useRef(null), de = d.useRef(null), xe = (0, g.default)(te.defaultValue, {
11371
11371
  value: te.value
11372
11372
  }), J = (0, u.default)(xe, 2), ce = J[0], j = J[1], U = d.useRef(te.value);
11373
11373
  d.useEffect(function() {
@@ -11428,7 +11428,7 @@ function requireClearableLabeledInput() {
11428
11428
  }, et);
11429
11429
  }
11430
11430
  return et;
11431
- }), O = v;
11431
+ }), O = I;
11432
11432
  e.default = O;
11433
11433
  })(TextArea$2);
11434
11434
  const Qt = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$2), {
@@ -11465,11 +11465,11 @@ const Qt = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$2), {
11465
11465
  modalWidth: u
11466
11466
  } = useWindowDimensions(), {
11467
11467
  t: d
11468
- } = useContext(LocaleContext), [f, p] = useState([]), [h, g] = useState(!1), [m, I] = useState(!1), [C, b] = useState({}), y = useRef();
11468
+ } = useContext(LocaleContext), [f, p] = useState([]), [h, g] = useState(!1), [m, v] = useState(!1), [C, b] = useState({}), y = useRef();
11469
11469
  useEffect(() => {
11470
- r ? v() : b({});
11470
+ r ? I() : b({});
11471
11471
  }, [r]);
11472
- async function v() {
11472
+ async function I() {
11473
11473
  g(!0);
11474
11474
  try {
11475
11475
  const E = await O();
@@ -11533,7 +11533,7 @@ const Qt = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$2), {
11533
11533
  }, M));
11534
11534
  }
11535
11535
  async function A() {
11536
- I(!0);
11536
+ v(!0);
11537
11537
  try {
11538
11538
  for (const E of Object.keys(C))
11539
11539
  C[E] !== y.current[E] && await ConnectionProvider.getHandler().update({
@@ -11550,7 +11550,7 @@ const Qt = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$2), {
11550
11550
  } catch (E) {
11551
11551
  showDialog$8(E);
11552
11552
  }
11553
- I(!1), c();
11553
+ v(!1), c();
11554
11554
  }
11555
11555
  function N() {
11556
11556
  return h ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsxs(Fragment, {
@@ -11871,7 +11871,7 @@ function debounce(e, r, o) {
11871
11871
  var N = a, E = s;
11872
11872
  return a = s = void 0, f = A, c = e.apply(E, N), c;
11873
11873
  }
11874
- function I(A) {
11874
+ function v(A) {
11875
11875
  return f = A, u = setTimeout(y, r), p ? m(A) : c;
11876
11876
  }
11877
11877
  function C(A) {
@@ -11885,23 +11885,23 @@ function debounce(e, r, o) {
11885
11885
  function y() {
11886
11886
  var A = now$1();
11887
11887
  if (b(A))
11888
- return v(A);
11888
+ return I(A);
11889
11889
  u = setTimeout(y, C(A));
11890
11890
  }
11891
- function v(A) {
11891
+ function I(A) {
11892
11892
  return u = void 0, g && a ? m(A) : (a = s = void 0, c);
11893
11893
  }
11894
11894
  function O() {
11895
11895
  u !== void 0 && clearTimeout(u), f = 0, a = d = s = u = void 0;
11896
11896
  }
11897
11897
  function w() {
11898
- return u === void 0 ? c : v(now$1());
11898
+ return u === void 0 ? c : I(now$1());
11899
11899
  }
11900
11900
  function _() {
11901
11901
  var A = now$1(), N = b(A);
11902
11902
  if (a = arguments, s = this, d = A, N) {
11903
11903
  if (u === void 0)
11904
- return I(d);
11904
+ return v(d);
11905
11905
  if (h)
11906
11906
  return clearTimeout(u), u = setTimeout(y, r), m(d);
11907
11907
  }
@@ -12144,45 +12144,45 @@ function requireBuffer_list() {
12144
12144
  return buffer_list;
12145
12145
  hasRequiredBuffer_list = 1;
12146
12146
  function e(g, m) {
12147
- var I = Object.keys(g);
12147
+ var v = Object.keys(g);
12148
12148
  if (Object.getOwnPropertySymbols) {
12149
12149
  var C = Object.getOwnPropertySymbols(g);
12150
12150
  m && (C = C.filter(function(b) {
12151
12151
  return Object.getOwnPropertyDescriptor(g, b).enumerable;
12152
- })), I.push.apply(I, C);
12152
+ })), v.push.apply(v, C);
12153
12153
  }
12154
- return I;
12154
+ return v;
12155
12155
  }
12156
12156
  function r(g) {
12157
12157
  for (var m = 1; m < arguments.length; m++) {
12158
- var I = arguments[m] != null ? arguments[m] : {};
12159
- m % 2 ? e(Object(I), !0).forEach(function(C) {
12160
- o(g, C, I[C]);
12161
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(I)) : e(Object(I)).forEach(function(C) {
12162
- Object.defineProperty(g, C, Object.getOwnPropertyDescriptor(I, C));
12158
+ var v = arguments[m] != null ? arguments[m] : {};
12159
+ m % 2 ? e(Object(v), !0).forEach(function(C) {
12160
+ o(g, C, v[C]);
12161
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(v)) : e(Object(v)).forEach(function(C) {
12162
+ Object.defineProperty(g, C, Object.getOwnPropertyDescriptor(v, C));
12163
12163
  });
12164
12164
  }
12165
12165
  return g;
12166
12166
  }
12167
- function o(g, m, I) {
12168
- return m in g ? Object.defineProperty(g, m, { value: I, enumerable: !0, configurable: !0, writable: !0 }) : g[m] = I, g;
12167
+ function o(g, m, v) {
12168
+ return m in g ? Object.defineProperty(g, m, { value: v, enumerable: !0, configurable: !0, writable: !0 }) : g[m] = v, g;
12169
12169
  }
12170
12170
  function a(g, m) {
12171
12171
  if (!(g instanceof m))
12172
12172
  throw new TypeError("Cannot call a class as a function");
12173
12173
  }
12174
12174
  function s(g, m) {
12175
- for (var I = 0; I < m.length; I++) {
12176
- var C = m[I];
12175
+ for (var v = 0; v < m.length; v++) {
12176
+ var C = m[v];
12177
12177
  C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(g, C.key, C);
12178
12178
  }
12179
12179
  }
12180
- function l(g, m, I) {
12181
- return m && s(g.prototype, m), I && s(g, I), g;
12180
+ function l(g, m, v) {
12181
+ return m && s(g.prototype, m), v && s(g, v), g;
12182
12182
  }
12183
12183
  var c = require$$0, u = c.Buffer, d = require$$3, f = d.inspect, p = f && f.custom || "inspect";
12184
- function h(g, m, I) {
12185
- u.prototype.copy.call(g, m, I);
12184
+ function h(g, m, v) {
12185
+ u.prototype.copy.call(g, m, v);
12186
12186
  }
12187
12187
  return buffer_list = /* @__PURE__ */ function() {
12188
12188
  function g() {
@@ -12190,18 +12190,18 @@ function requireBuffer_list() {
12190
12190
  }
12191
12191
  return l(g, [{
12192
12192
  key: "push",
12193
- value: function(I) {
12193
+ value: function(v) {
12194
12194
  var C = {
12195
- data: I,
12195
+ data: v,
12196
12196
  next: null
12197
12197
  };
12198
12198
  this.length > 0 ? this.tail.next = C : this.head = C, this.tail = C, ++this.length;
12199
12199
  }
12200
12200
  }, {
12201
12201
  key: "unshift",
12202
- value: function(I) {
12202
+ value: function(v) {
12203
12203
  var C = {
12204
- data: I,
12204
+ data: v,
12205
12205
  next: this.head
12206
12206
  };
12207
12207
  this.length === 0 && (this.tail = C), this.head = C, ++this.length;
@@ -12210,8 +12210,8 @@ function requireBuffer_list() {
12210
12210
  key: "shift",
12211
12211
  value: function() {
12212
12212
  if (this.length !== 0) {
12213
- var I = this.head.data;
12214
- return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, I;
12213
+ var v = this.head.data;
12214
+ return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, v;
12215
12215
  }
12216
12216
  }
12217
12217
  }, {
@@ -12221,27 +12221,27 @@ function requireBuffer_list() {
12221
12221
  }
12222
12222
  }, {
12223
12223
  key: "join",
12224
- value: function(I) {
12224
+ value: function(v) {
12225
12225
  if (this.length === 0)
12226
12226
  return "";
12227
12227
  for (var C = this.head, b = "" + C.data; C = C.next; )
12228
- b += I + C.data;
12228
+ b += v + C.data;
12229
12229
  return b;
12230
12230
  }
12231
12231
  }, {
12232
12232
  key: "concat",
12233
- value: function(I) {
12233
+ value: function(v) {
12234
12234
  if (this.length === 0)
12235
12235
  return u.alloc(0);
12236
- for (var C = u.allocUnsafe(I >>> 0), b = this.head, y = 0; b; )
12236
+ for (var C = u.allocUnsafe(v >>> 0), b = this.head, y = 0; b; )
12237
12237
  h(b.data, C, y), y += b.data.length, b = b.next;
12238
12238
  return C;
12239
12239
  }
12240
12240
  }, {
12241
12241
  key: "consume",
12242
- value: function(I, C) {
12242
+ value: function(v, C) {
12243
12243
  var b;
12244
- return I < this.head.data.length ? (b = this.head.data.slice(0, I), this.head.data = this.head.data.slice(I)) : I === this.head.data.length ? b = this.shift() : b = C ? this._getString(I) : this._getBuffer(I), b;
12244
+ return v < this.head.data.length ? (b = this.head.data.slice(0, v), this.head.data = this.head.data.slice(v)) : v === this.head.data.length ? b = this.shift() : b = C ? this._getString(v) : this._getBuffer(v), b;
12245
12245
  }
12246
12246
  }, {
12247
12247
  key: "first",
@@ -12250,12 +12250,12 @@ function requireBuffer_list() {
12250
12250
  }
12251
12251
  }, {
12252
12252
  key: "_getString",
12253
- value: function(I) {
12253
+ value: function(v) {
12254
12254
  var C = this.head, b = 1, y = C.data;
12255
- for (I -= y.length; C = C.next; ) {
12256
- var v = C.data, O = I > v.length ? v.length : I;
12257
- if (O === v.length ? y += v : y += v.slice(0, I), I -= O, I === 0) {
12258
- O === v.length ? (++b, C.next ? this.head = C.next : this.head = this.tail = null) : (this.head = C, C.data = v.slice(O));
12255
+ for (v -= y.length; C = C.next; ) {
12256
+ var I = C.data, O = v > I.length ? I.length : v;
12257
+ if (O === I.length ? y += I : y += I.slice(0, v), v -= O, v === 0) {
12258
+ O === I.length ? (++b, C.next ? this.head = C.next : this.head = this.tail = null) : (this.head = C, C.data = I.slice(O));
12259
12259
  break;
12260
12260
  }
12261
12261
  ++b;
@@ -12264,12 +12264,12 @@ function requireBuffer_list() {
12264
12264
  }
12265
12265
  }, {
12266
12266
  key: "_getBuffer",
12267
- value: function(I) {
12268
- var C = u.allocUnsafe(I), b = this.head, y = 1;
12269
- for (b.data.copy(C), I -= b.data.length; b = b.next; ) {
12270
- var v = b.data, O = I > v.length ? v.length : I;
12271
- if (v.copy(C, C.length - I, 0, O), I -= O, I === 0) {
12272
- O === v.length ? (++y, b.next ? this.head = b.next : this.head = this.tail = null) : (this.head = b, b.data = v.slice(O));
12267
+ value: function(v) {
12268
+ var C = u.allocUnsafe(v), b = this.head, y = 1;
12269
+ for (b.data.copy(C), v -= b.data.length; b = b.next; ) {
12270
+ var I = b.data, O = v > I.length ? I.length : v;
12271
+ if (I.copy(C, C.length - v, 0, O), v -= O, v === 0) {
12272
+ O === I.length ? (++y, b.next ? this.head = b.next : this.head = this.tail = null) : (this.head = b, b.data = I.slice(O));
12273
12273
  break;
12274
12274
  }
12275
12275
  ++y;
@@ -12278,7 +12278,7 @@ function requireBuffer_list() {
12278
12278
  }
12279
12279
  }, {
12280
12280
  key: p,
12281
- value: function(I, C) {
12281
+ value: function(v, C) {
12282
12282
  return f(this, r({}, C, {
12283
12283
  depth: 0,
12284
12284
  customInspect: !1
@@ -12465,7 +12465,7 @@ function require_stream_writable() {
12465
12465
  function u(j) {
12466
12466
  return s.isBuffer(j) || j instanceof l;
12467
12467
  }
12468
- var d = destroy_1, f = state, p = f.getHighWaterMark, h = errorsBrowser.codes, g = h.ERR_INVALID_ARG_TYPE, m = h.ERR_METHOD_NOT_IMPLEMENTED, I = h.ERR_MULTIPLE_CALLBACK, C = h.ERR_STREAM_CANNOT_PIPE, b = h.ERR_STREAM_DESTROYED, y = h.ERR_STREAM_NULL_VALUES, v = h.ERR_STREAM_WRITE_AFTER_END, O = h.ERR_UNKNOWN_ENCODING, w = d.errorOrDestroy;
12468
+ var d = destroy_1, f = state, p = f.getHighWaterMark, h = errorsBrowser.codes, g = h.ERR_INVALID_ARG_TYPE, m = h.ERR_METHOD_NOT_IMPLEMENTED, v = h.ERR_MULTIPLE_CALLBACK, C = h.ERR_STREAM_CANNOT_PIPE, b = h.ERR_STREAM_DESTROYED, y = h.ERR_STREAM_NULL_VALUES, I = h.ERR_STREAM_WRITE_AFTER_END, O = h.ERR_UNKNOWN_ENCODING, w = d.errorOrDestroy;
12469
12469
  inherits_browser.exports(E, a);
12470
12470
  function _() {
12471
12471
  }
@@ -12509,7 +12509,7 @@ function require_stream_writable() {
12509
12509
  w(this, new C());
12510
12510
  };
12511
12511
  function M(j, U) {
12512
- var ae = new v();
12512
+ var ae = new I();
12513
12513
  w(j, ae), process.nextTick(U, ae);
12514
12514
  }
12515
12515
  function P(j, U, ae, Te) {
@@ -12576,7 +12576,7 @@ function require_stream_writable() {
12576
12576
  function te(j, U) {
12577
12577
  var ae = j._writableState, Te = ae.sync, Re = ae.writecb;
12578
12578
  if (typeof Re != "function")
12579
- throw new I();
12579
+ throw new v();
12580
12580
  if (X(ae), U)
12581
12581
  z(j, ae, Te, U, Re);
12582
12582
  else {
@@ -12775,7 +12775,7 @@ function requireString_decoder() {
12775
12775
  function o(y) {
12776
12776
  if (!y)
12777
12777
  return "utf8";
12778
- for (var v; ; )
12778
+ for (var I; ; )
12779
12779
  switch (y) {
12780
12780
  case "utf8":
12781
12781
  case "utf-8":
@@ -12793,48 +12793,48 @@ function requireString_decoder() {
12793
12793
  case "hex":
12794
12794
  return y;
12795
12795
  default:
12796
- if (v)
12796
+ if (I)
12797
12797
  return;
12798
- y = ("" + y).toLowerCase(), v = !0;
12798
+ y = ("" + y).toLowerCase(), I = !0;
12799
12799
  }
12800
12800
  }
12801
12801
  function a(y) {
12802
- var v = o(y);
12803
- if (typeof v != "string" && (e.isEncoding === r || !r(y)))
12802
+ var I = o(y);
12803
+ if (typeof I != "string" && (e.isEncoding === r || !r(y)))
12804
12804
  throw new Error("Unknown encoding: " + y);
12805
- return v || y;
12805
+ return I || y;
12806
12806
  }
12807
12807
  string_decoder.StringDecoder = s;
12808
12808
  function s(y) {
12809
12809
  this.encoding = a(y);
12810
- var v;
12810
+ var I;
12811
12811
  switch (this.encoding) {
12812
12812
  case "utf16le":
12813
- this.text = h, this.end = g, v = 4;
12813
+ this.text = h, this.end = g, I = 4;
12814
12814
  break;
12815
12815
  case "utf8":
12816
- this.fillLast = d, v = 4;
12816
+ this.fillLast = d, I = 4;
12817
12817
  break;
12818
12818
  case "base64":
12819
- this.text = m, this.end = I, v = 3;
12819
+ this.text = m, this.end = v, I = 3;
12820
12820
  break;
12821
12821
  default:
12822
12822
  this.write = C, this.end = b;
12823
12823
  return;
12824
12824
  }
12825
- this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(v);
12825
+ this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(I);
12826
12826
  }
12827
12827
  s.prototype.write = function(y) {
12828
12828
  if (y.length === 0)
12829
12829
  return "";
12830
- var v, O;
12830
+ var I, O;
12831
12831
  if (this.lastNeed) {
12832
- if (v = this.fillLast(y), v === void 0)
12832
+ if (I = this.fillLast(y), I === void 0)
12833
12833
  return "";
12834
12834
  O = this.lastNeed, this.lastNeed = 0;
12835
12835
  } else
12836
12836
  O = 0;
12837
- return O < y.length ? v ? v + this.text(y, O) : this.text(y, O) : v || "";
12837
+ return O < y.length ? I ? I + this.text(y, O) : this.text(y, O) : I || "";
12838
12838
  }, s.prototype.end = p, s.prototype.text = f, s.prototype.fillLast = function(y) {
12839
12839
  if (this.lastNeed <= y.length)
12840
12840
  return y.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
@@ -12843,46 +12843,46 @@ function requireString_decoder() {
12843
12843
  function l(y) {
12844
12844
  return y <= 127 ? 0 : y >> 5 === 6 ? 2 : y >> 4 === 14 ? 3 : y >> 3 === 30 ? 4 : y >> 6 === 2 ? -1 : -2;
12845
12845
  }
12846
- function c(y, v, O) {
12847
- var w = v.length - 1;
12846
+ function c(y, I, O) {
12847
+ var w = I.length - 1;
12848
12848
  if (w < O)
12849
12849
  return 0;
12850
- var _ = l(v[w]);
12851
- return _ >= 0 ? (_ > 0 && (y.lastNeed = _ - 1), _) : --w < O || _ === -2 ? 0 : (_ = l(v[w]), _ >= 0 ? (_ > 0 && (y.lastNeed = _ - 2), _) : --w < O || _ === -2 ? 0 : (_ = l(v[w]), _ >= 0 ? (_ > 0 && (_ === 2 ? _ = 0 : y.lastNeed = _ - 3), _) : 0));
12850
+ var _ = l(I[w]);
12851
+ return _ >= 0 ? (_ > 0 && (y.lastNeed = _ - 1), _) : --w < O || _ === -2 ? 0 : (_ = l(I[w]), _ >= 0 ? (_ > 0 && (y.lastNeed = _ - 2), _) : --w < O || _ === -2 ? 0 : (_ = l(I[w]), _ >= 0 ? (_ > 0 && (_ === 2 ? _ = 0 : y.lastNeed = _ - 3), _) : 0));
12852
12852
  }
12853
- function u(y, v, O) {
12854
- if ((v[0] & 192) !== 128)
12853
+ function u(y, I, O) {
12854
+ if ((I[0] & 192) !== 128)
12855
12855
  return y.lastNeed = 0, "\uFFFD";
12856
- if (y.lastNeed > 1 && v.length > 1) {
12857
- if ((v[1] & 192) !== 128)
12856
+ if (y.lastNeed > 1 && I.length > 1) {
12857
+ if ((I[1] & 192) !== 128)
12858
12858
  return y.lastNeed = 1, "\uFFFD";
12859
- if (y.lastNeed > 2 && v.length > 2 && (v[2] & 192) !== 128)
12859
+ if (y.lastNeed > 2 && I.length > 2 && (I[2] & 192) !== 128)
12860
12860
  return y.lastNeed = 2, "\uFFFD";
12861
12861
  }
12862
12862
  }
12863
12863
  function d(y) {
12864
- var v = this.lastTotal - this.lastNeed, O = u(this, y);
12864
+ var I = this.lastTotal - this.lastNeed, O = u(this, y);
12865
12865
  if (O !== void 0)
12866
12866
  return O;
12867
12867
  if (this.lastNeed <= y.length)
12868
- return y.copy(this.lastChar, v, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
12869
- y.copy(this.lastChar, v, 0, y.length), this.lastNeed -= y.length;
12868
+ return y.copy(this.lastChar, I, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
12869
+ y.copy(this.lastChar, I, 0, y.length), this.lastNeed -= y.length;
12870
12870
  }
12871
- function f(y, v) {
12872
- var O = c(this, y, v);
12871
+ function f(y, I) {
12872
+ var O = c(this, y, I);
12873
12873
  if (!this.lastNeed)
12874
- return y.toString("utf8", v);
12874
+ return y.toString("utf8", I);
12875
12875
  this.lastTotal = O;
12876
12876
  var w = y.length - (O - this.lastNeed);
12877
- return y.copy(this.lastChar, 0, w), y.toString("utf8", v, w);
12877
+ return y.copy(this.lastChar, 0, w), y.toString("utf8", I, w);
12878
12878
  }
12879
12879
  function p(y) {
12880
- var v = y && y.length ? this.write(y) : "";
12881
- return this.lastNeed ? v + "\uFFFD" : v;
12880
+ var I = y && y.length ? this.write(y) : "";
12881
+ return this.lastNeed ? I + "\uFFFD" : I;
12882
12882
  }
12883
- function h(y, v) {
12884
- if ((y.length - v) % 2 === 0) {
12885
- var O = y.toString("utf16le", v);
12883
+ function h(y, I) {
12884
+ if ((y.length - I) % 2 === 0) {
12885
+ var O = y.toString("utf16le", I);
12886
12886
  if (O) {
12887
12887
  var w = O.charCodeAt(O.length - 1);
12888
12888
  if (w >= 55296 && w <= 56319)
@@ -12890,23 +12890,23 @@ function requireString_decoder() {
12890
12890
  }
12891
12891
  return O;
12892
12892
  }
12893
- return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = y[y.length - 1], y.toString("utf16le", v, y.length - 1);
12893
+ return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = y[y.length - 1], y.toString("utf16le", I, y.length - 1);
12894
12894
  }
12895
12895
  function g(y) {
12896
- var v = y && y.length ? this.write(y) : "";
12896
+ var I = y && y.length ? this.write(y) : "";
12897
12897
  if (this.lastNeed) {
12898
12898
  var O = this.lastTotal - this.lastNeed;
12899
- return v + this.lastChar.toString("utf16le", 0, O);
12899
+ return I + this.lastChar.toString("utf16le", 0, O);
12900
12900
  }
12901
- return v;
12901
+ return I;
12902
12902
  }
12903
- function m(y, v) {
12904
- var O = (y.length - v) % 3;
12905
- return O === 0 ? y.toString("base64", v) : (this.lastNeed = 3 - O, this.lastTotal = 3, O === 1 ? this.lastChar[0] = y[y.length - 1] : (this.lastChar[0] = y[y.length - 2], this.lastChar[1] = y[y.length - 1]), y.toString("base64", v, y.length - O));
12903
+ function m(y, I) {
12904
+ var O = (y.length - I) % 3;
12905
+ return O === 0 ? y.toString("base64", I) : (this.lastNeed = 3 - O, this.lastTotal = 3, O === 1 ? this.lastChar[0] = y[y.length - 1] : (this.lastChar[0] = y[y.length - 2], this.lastChar[1] = y[y.length - 1]), y.toString("base64", I, y.length - O));
12906
12906
  }
12907
- function I(y) {
12908
- var v = y && y.length ? this.write(y) : "";
12909
- return this.lastNeed ? v + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : v;
12907
+ function v(y) {
12908
+ var I = y && y.length ? this.write(y) : "";
12909
+ return this.lastNeed ? I + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : I;
12910
12910
  }
12911
12911
  function C(y) {
12912
12912
  return y.toString(this.encoding);
@@ -12943,14 +12943,14 @@ function eos$1(e, r, o) {
12943
12943
  s = !1, c = !0, a || o.call(e);
12944
12944
  }, d = e._readableState && e._readableState.endEmitted, f = function() {
12945
12945
  a = !1, d = !0, s || o.call(e);
12946
- }, p = function(I) {
12947
- o.call(e, I);
12946
+ }, p = function(v) {
12947
+ o.call(e, v);
12948
12948
  }, h = function() {
12949
- var I;
12949
+ var v;
12950
12950
  if (a && !d)
12951
- return (!e._readableState || !e._readableState.ended) && (I = new ERR_STREAM_PREMATURE_CLOSE()), o.call(e, I);
12951
+ return (!e._readableState || !e._readableState.ended) && (v = new ERR_STREAM_PREMATURE_CLOSE()), o.call(e, v);
12952
12952
  if (s && !c)
12953
- return (!e._writableState || !e._writableState.ended) && (I = new ERR_STREAM_PREMATURE_CLOSE()), o.call(e, I);
12953
+ return (!e._writableState || !e._writableState.ended) && (v = new ERR_STREAM_PREMATURE_CLOSE()), o.call(e, v);
12954
12954
  }, g = function() {
12955
12955
  e.req.on("finish", u);
12956
12956
  };
@@ -12964,44 +12964,44 @@ function requireAsync_iterator() {
12964
12964
  return async_iterator;
12965
12965
  hasRequiredAsync_iterator = 1;
12966
12966
  var e;
12967
- function r(y, v, O) {
12968
- return v in y ? Object.defineProperty(y, v, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : y[v] = O, y;
12967
+ function r(y, I, O) {
12968
+ return I in y ? Object.defineProperty(y, I, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : y[I] = O, y;
12969
12969
  }
12970
12970
  var o = endOfStream, a = Symbol("lastResolve"), s = Symbol("lastReject"), l = Symbol("error"), c = Symbol("ended"), u = Symbol("lastPromise"), d = Symbol("handlePromise"), f = Symbol("stream");
12971
- function p(y, v) {
12971
+ function p(y, I) {
12972
12972
  return {
12973
12973
  value: y,
12974
- done: v
12974
+ done: I
12975
12975
  };
12976
12976
  }
12977
12977
  function h(y) {
12978
- var v = y[a];
12979
- if (v !== null) {
12978
+ var I = y[a];
12979
+ if (I !== null) {
12980
12980
  var O = y[f].read();
12981
- O !== null && (y[u] = null, y[a] = null, y[s] = null, v(p(O, !1)));
12981
+ O !== null && (y[u] = null, y[a] = null, y[s] = null, I(p(O, !1)));
12982
12982
  }
12983
12983
  }
12984
12984
  function g(y) {
12985
12985
  process.nextTick(h, y);
12986
12986
  }
12987
- function m(y, v) {
12987
+ function m(y, I) {
12988
12988
  return function(O, w) {
12989
12989
  y.then(function() {
12990
- if (v[c]) {
12990
+ if (I[c]) {
12991
12991
  O(p(void 0, !0));
12992
12992
  return;
12993
12993
  }
12994
- v[d](O, w);
12994
+ I[d](O, w);
12995
12995
  }, w);
12996
12996
  };
12997
12997
  }
12998
- var I = Object.getPrototypeOf(function() {
12998
+ var v = Object.getPrototypeOf(function() {
12999
12999
  }), C = Object.setPrototypeOf((e = {
13000
13000
  get stream() {
13001
13001
  return this[f];
13002
13002
  },
13003
13003
  next: function() {
13004
- var v = this, O = this[l];
13004
+ var I = this, O = this[l];
13005
13005
  if (O !== null)
13006
13006
  return Promise.reject(O);
13007
13007
  if (this[c])
@@ -13009,7 +13009,7 @@ function requireAsync_iterator() {
13009
13009
  if (this[f].destroyed)
13010
13010
  return new Promise(function(N, E) {
13011
13011
  process.nextTick(function() {
13012
- v[l] ? E(v[l]) : N(p(void 0, !0));
13012
+ I[l] ? E(I[l]) : N(p(void 0, !0));
13013
13013
  });
13014
13014
  });
13015
13015
  var w = this[u], _;
@@ -13026,9 +13026,9 @@ function requireAsync_iterator() {
13026
13026
  }, r(e, Symbol.asyncIterator, function() {
13027
13027
  return this;
13028
13028
  }), r(e, "return", function() {
13029
- var v = this;
13029
+ var I = this;
13030
13030
  return new Promise(function(O, w) {
13031
- v[f].destroy(null, function(_) {
13031
+ I[f].destroy(null, function(_) {
13032
13032
  if (_) {
13033
13033
  w(_);
13034
13034
  return;
@@ -13036,9 +13036,9 @@ function requireAsync_iterator() {
13036
13036
  O(p(void 0, !0));
13037
13037
  });
13038
13038
  });
13039
- }), e), I), b = function(v) {
13039
+ }), e), v), b = function(I) {
13040
13040
  var O, w = Object.create(C, (O = {}, r(O, f, {
13041
- value: v,
13041
+ value: I,
13042
13042
  writable: !0
13043
13043
  }), r(O, a, {
13044
13044
  value: null,
@@ -13050,7 +13050,7 @@ function requireAsync_iterator() {
13050
13050
  value: null,
13051
13051
  writable: !0
13052
13052
  }), r(O, c, {
13053
- value: v._readableState.endEmitted,
13053
+ value: I._readableState.endEmitted,
13054
13054
  writable: !0
13055
13055
  }), r(O, d, {
13056
13056
  value: function(A, N) {
@@ -13059,7 +13059,7 @@ function requireAsync_iterator() {
13059
13059
  },
13060
13060
  writable: !0
13061
13061
  }), O));
13062
- return w[u] = null, o(v, function(_) {
13062
+ return w[u] = null, o(I, function(_) {
13063
13063
  if (_ && _.code !== "ERR_STREAM_PREMATURE_CLOSE") {
13064
13064
  var A = w[s];
13065
13065
  A !== null && (w[u] = null, w[a] = null, w[s] = null, A(_)), w[l] = _;
@@ -13067,7 +13067,7 @@ function requireAsync_iterator() {
13067
13067
  }
13068
13068
  var N = w[a];
13069
13069
  N !== null && (w[u] = null, w[a] = null, w[s] = null, N(p(void 0, !0))), w[c] = !0;
13070
- }), v.on("readable", g.bind(null, w)), w;
13070
+ }), I.on("readable", g.bind(null, w)), w;
13071
13071
  };
13072
13072
  return async_iterator = b, async_iterator;
13073
13073
  }
@@ -13097,7 +13097,7 @@ function require_stream_readable() {
13097
13097
  var u = require$$3, d;
13098
13098
  u && u.debuglog ? d = u.debuglog("stream") : d = function() {
13099
13099
  };
13100
- var f = requireBuffer_list(), p = destroy_1, h = state, g = h.getHighWaterMark, m = errorsBrowser.codes, I = m.ERR_INVALID_ARG_TYPE, C = m.ERR_STREAM_PUSH_AFTER_EOF, b = m.ERR_METHOD_NOT_IMPLEMENTED, y = m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, v, O, w;
13100
+ var f = requireBuffer_list(), p = destroy_1, h = state, g = h.getHighWaterMark, m = errorsBrowser.codes, v = m.ERR_INVALID_ARG_TYPE, C = m.ERR_STREAM_PUSH_AFTER_EOF, b = m.ERR_METHOD_NOT_IMPLEMENTED, y = m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, I, O, w;
13101
13101
  inherits_browser.exports(M, o);
13102
13102
  var _ = p.errorOrDestroy, A = ["error", "close", "destroy", "pause", "resume"];
13103
13103
  function N(L, D, we) {
@@ -13106,7 +13106,7 @@ function require_stream_readable() {
13106
13106
  !L._events || !L._events[D] ? L.on(D, we) : Array.isArray(L._events[D]) ? L._events[D].unshift(we) : L._events[D] = [we, L._events[D]];
13107
13107
  }
13108
13108
  function E(L, D, we) {
13109
- e = e || require_stream_duplex(), L = L || {}, typeof we != "boolean" && (we = D instanceof e), this.objectMode = !!L.objectMode, we && (this.objectMode = this.objectMode || !!L.readableObjectMode), this.highWaterMark = g(this, L, "readableHighWaterMark", we), this.buffer = new f(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = L.emitClose !== !1, this.autoDestroy = !!L.autoDestroy, this.destroyed = !1, this.defaultEncoding = L.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, L.encoding && (v || (v = requireString_decoder().StringDecoder), this.decoder = new v(L.encoding), this.encoding = L.encoding);
13109
+ e = e || require_stream_duplex(), L = L || {}, typeof we != "boolean" && (we = D instanceof e), this.objectMode = !!L.objectMode, we && (this.objectMode = this.objectMode || !!L.readableObjectMode), this.highWaterMark = g(this, L, "readableHighWaterMark", we), this.buffer = new f(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = L.emitClose !== !1, this.autoDestroy = !!L.autoDestroy, this.destroyed = !1, this.defaultEncoding = L.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, L.encoding && (I || (I = requireString_decoder().StringDecoder), this.decoder = new I(L.encoding), this.encoding = L.encoding);
13110
13110
  }
13111
13111
  function M(L) {
13112
13112
  if (e = e || require_stream_duplex(), !(this instanceof M))
@@ -13159,13 +13159,13 @@ function require_stream_readable() {
13159
13159
  }
13160
13160
  function Q(L, D) {
13161
13161
  var we;
13162
- return !c(D) && typeof D != "string" && D !== void 0 && !L.objectMode && (we = new I("chunk", ["string", "Buffer", "Uint8Array"], D)), we;
13162
+ return !c(D) && typeof D != "string" && D !== void 0 && !L.objectMode && (we = new v("chunk", ["string", "Buffer", "Uint8Array"], D)), we;
13163
13163
  }
13164
13164
  M.prototype.isPaused = function() {
13165
13165
  return this._readableState.flowing === !1;
13166
13166
  }, M.prototype.setEncoding = function(L) {
13167
- v || (v = requireString_decoder().StringDecoder);
13168
- var D = new v(L);
13167
+ I || (I = requireString_decoder().StringDecoder);
13168
+ var D = new I(L);
13169
13169
  this._readableState.decoder = D, this._readableState.encoding = this._readableState.decoder.encoding;
13170
13170
  for (var we = this._readableState.buffer.head, Le = ""; we !== null; )
13171
13171
  Le += D.write(we.data), we = we.next;
@@ -13591,12 +13591,12 @@ ieee754.read = function(e, r, o, a, s) {
13591
13591
  return (m ? -1 : 1) * c * Math.pow(2, l - a);
13592
13592
  };
13593
13593
  ieee754.write = function(e, r, o, a, s, l) {
13594
- var c, u, d, f = l * 8 - s - 1, p = (1 << f) - 1, h = p >> 1, g = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = a ? 0 : l - 1, I = a ? 1 : -1, C = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
13595
- for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (u = isNaN(r) ? 1 : 0, c = p) : (c = Math.floor(Math.log(r) / Math.LN2), r * (d = Math.pow(2, -c)) < 1 && (c--, d *= 2), c + h >= 1 ? r += g / d : r += g * Math.pow(2, 1 - h), r * d >= 2 && (c++, d /= 2), c + h >= p ? (u = 0, c = p) : c + h >= 1 ? (u = (r * d - 1) * Math.pow(2, s), c = c + h) : (u = r * Math.pow(2, h - 1) * Math.pow(2, s), c = 0)); s >= 8; e[o + m] = u & 255, m += I, u /= 256, s -= 8)
13594
+ var c, u, d, f = l * 8 - s - 1, p = (1 << f) - 1, h = p >> 1, g = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = a ? 0 : l - 1, v = a ? 1 : -1, C = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
13595
+ for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (u = isNaN(r) ? 1 : 0, c = p) : (c = Math.floor(Math.log(r) / Math.LN2), r * (d = Math.pow(2, -c)) < 1 && (c--, d *= 2), c + h >= 1 ? r += g / d : r += g * Math.pow(2, 1 - h), r * d >= 2 && (c++, d /= 2), c + h >= p ? (u = 0, c = p) : c + h >= 1 ? (u = (r * d - 1) * Math.pow(2, s), c = c + h) : (u = r * Math.pow(2, h - 1) * Math.pow(2, s), c = 0)); s >= 8; e[o + m] = u & 255, m += v, u /= 256, s -= 8)
13596
13596
  ;
13597
- for (c = c << s | u, f += s; f > 0; e[o + m] = c & 255, m += I, c /= 256, f -= 8)
13597
+ for (c = c << s | u, f += s; f > 0; e[o + m] = c & 255, m += v, c /= 256, f -= 8)
13598
13598
  ;
13599
- e[o + m - I] |= C * 128;
13599
+ e[o + m - v] |= C * 128;
13600
13600
  };
13601
13601
  (function(e) {
13602
13602
  Object.defineProperty(e, "__esModule", { value: !0 }), e.AnsiStringType = e.StringType = e.BufferType = e.Uint8ArrayType = e.IgnoreType = e.Float80_LE = e.Float80_BE = e.Float64_LE = e.Float64_BE = e.Float32_LE = e.Float32_BE = e.Float16_LE = e.Float16_BE = e.INT64_BE = e.UINT64_BE = e.INT64_LE = e.UINT64_LE = e.INT32_LE = e.INT32_BE = e.INT24_BE = e.INT24_LE = e.INT16_LE = e.INT16_BE = e.INT8 = e.UINT32_BE = e.UINT32_LE = e.UINT24_BE = e.UINT24_LE = e.UINT16_BE = e.UINT16_LE = e.UINT8 = void 0;
@@ -15645,25 +15645,25 @@ const Image = (e) => {
15645
15645
  context: l
15646
15646
  }), f = d.map((g) => {
15647
15647
  const m = {};
15648
- return Object.keys(g).forEach((I) => {
15649
- (a.hasOwnProperty(I) || I === "id") && (m[I] = g[I]);
15648
+ return Object.keys(g).forEach((v) => {
15649
+ (a.hasOwnProperty(v) || v === "id") && (m[v] = g[v]);
15650
15650
  }), m;
15651
15651
  }), p = d.map((g) => {
15652
15652
  const m = {};
15653
- return Object.keys(g).forEach((I) => {
15654
- (s.hasOwnProperty(I) || I === "id") && (m[I] = g[I]);
15653
+ return Object.keys(g).forEach((v) => {
15654
+ (s.hasOwnProperty(v) || v === "id") && (m[v] = g[v]);
15655
15655
  }), m;
15656
15656
  });
15657
15657
  return r.map((g) => {
15658
15658
  const m = f.find(
15659
15659
  (C) => C.id === g.id
15660
- ), I = p.find(
15660
+ ), v = p.find(
15661
15661
  (C) => C.id === g.id
15662
15662
  );
15663
15663
  return {
15664
15664
  ...g,
15665
15665
  values: m,
15666
- treeValues: I
15666
+ treeValues: v
15667
15667
  };
15668
15668
  }).concat(c);
15669
15669
  }, getNextPendingId = (e) => {
@@ -15680,7 +15680,7 @@ const Image = (e) => {
15680
15680
  getContext: g
15681
15681
  } = h || {};
15682
15682
  useDeepCompareEffect(() => {
15683
- I();
15683
+ v();
15684
15684
  }, [r]);
15685
15685
  const m = async (C) => s && s[C] ? s[C] : await ConnectionProvider.getHandler().getView({
15686
15686
  model: o,
@@ -15689,7 +15689,7 @@ const Image = (e) => {
15689
15689
  ...g == null ? void 0 : g(),
15690
15690
  ...a
15691
15691
  }
15692
- }), I = async () => {
15692
+ }), v = async () => {
15693
15693
  c(!0), d(void 0);
15694
15694
  try {
15695
15695
  const C = await m("form"), b = await m("tree");
@@ -15722,11 +15722,11 @@ const Image = (e) => {
15722
15722
  } = e, {
15723
15723
  items: l = []
15724
15724
  } = r || {}, [c, u] = useState(!1), [d, f] = useState(), [p, h] = useState(!1), [g, m] = useState(), {
15725
- relation: I,
15725
+ relation: v,
15726
15726
  context: C,
15727
15727
  readOnly: b,
15728
15728
  summaryField: y,
15729
- titleField: v
15729
+ titleField: I
15730
15730
  } = a, O = l.filter((E) => E.values), w = useContext(FormContext$1), {
15731
15731
  getContext: _
15732
15732
  } = w || {};
@@ -15744,7 +15744,7 @@ const Image = (e) => {
15744
15744
  const E = await readObjectValues({
15745
15745
  treeFields: o.get("tree").fields,
15746
15746
  formFields: o.get("form").fields,
15747
- model: I,
15747
+ model: v,
15748
15748
  items: l,
15749
15749
  context: {
15750
15750
  ..._ == null ? void 0 : _(),
@@ -15781,7 +15781,7 @@ const Image = (e) => {
15781
15781
  m(O.find((Q) => E.id === Q.id)), h(!0);
15782
15782
  },
15783
15783
  children: /* @__PURE__ */ jsx("strong", {
15784
- children: (P = E.values) == null ? void 0 : P[v]
15784
+ children: (P = E.values) == null ? void 0 : P[I]
15785
15785
  })
15786
15786
  }), /* @__PURE__ */ jsx("br", {}), /* @__PURE__ */ jsx("div", {
15787
15787
  style: {
@@ -15798,7 +15798,7 @@ const Image = (e) => {
15798
15798
  })
15799
15799
  }), /* @__PURE__ */ jsx(FormModal, {
15800
15800
  formView: o.get("form"),
15801
- model: I,
15801
+ model: v,
15802
15802
  id: g == null ? void 0 : g.id,
15803
15803
  values: g == null ? void 0 : g.values,
15804
15804
  defaultValues: g == null ? void 0 : g.defaultValues,
@@ -15984,7 +15984,7 @@ const transformPlainMany2Ones = ({
15984
15984
  } = r || {}, l = s.filter((A) => A.operation !== "pendingRemove").map((A) => A.id), [c, u] = useState([]), [d, f] = useState(), [p, h] = useState(!1), {
15985
15985
  relation: g,
15986
15986
  context: m,
15987
- readOnly: I,
15987
+ readOnly: v,
15988
15988
  field: C
15989
15989
  } = o, b = useContext(FormContext$1), {
15990
15990
  getContext: y
@@ -15992,7 +15992,7 @@ const transformPlainMany2Ones = ({
15992
15992
  useDeepCompareEffect(() => {
15993
15993
  O();
15994
15994
  }, [s]);
15995
- const v = (A) => {
15995
+ const I = (A) => {
15996
15996
  a == null || a({
15997
15997
  items: A
15998
15998
  });
@@ -16001,7 +16001,7 @@ const transformPlainMany2Ones = ({
16001
16001
  h(!0);
16002
16002
  let A = [];
16003
16003
  try {
16004
- if (I && (A = [["id", "in", l]]), o.domain) {
16004
+ if (v && (A = [["id", "in", l]]), o.domain) {
16005
16005
  const M = await ConnectionProvider.getHandler().evalDomain({
16006
16006
  domain: o.domain,
16007
16007
  values: transformPlainMany2Ones({
@@ -16048,7 +16048,7 @@ const transformPlainMany2Ones = ({
16048
16048
  id: M,
16049
16049
  operation: "pendingLink"
16050
16050
  });
16051
- }), v(N);
16051
+ }), I(N);
16052
16052
  }, _ = (A) => {
16053
16053
  const {
16054
16054
  label: N,
@@ -16080,8 +16080,8 @@ const transformPlainMany2Ones = ({
16080
16080
  mode: "multiple",
16081
16081
  value: c.length ? l : [],
16082
16082
  tagRender: _,
16083
- bordered: !I,
16084
- disabled: I,
16083
+ bordered: !v,
16084
+ disabled: v,
16085
16085
  options: c,
16086
16086
  onChange: w,
16087
16087
  loading: p
@@ -16225,13 +16225,13 @@ const transformPlainMany2Ones = ({
16225
16225
  l < s && (s = l);
16226
16226
  let c = !1, u = [];
16227
16227
  const d = a.map((h, g) => {
16228
- const m = h.filter((b) => !b.invisible), I = expandWidgetsIfNeeded({
16228
+ const m = h.filter((b) => !b.invisible), v = expandWidgetsIfNeeded({
16229
16229
  row: m,
16230
16230
  numberOfColumns: s
16231
16231
  });
16232
- let C = I;
16232
+ let C = v;
16233
16233
  return (g === 0 || !(h.length === 1 && h.some((b) => b.type === "group"))) && (C = fillRowWithEmptiesToFit({
16234
- row: I,
16234
+ row: v,
16235
16235
  numberOfColumns: s,
16236
16236
  mustFillWithEmpties: o
16237
16237
  }), u = u.concat(C)), C.map((b) => (b instanceof Label$1 && b.fieldForLabel && (c = !0), /* @__PURE__ */ jsx("div", {
@@ -16445,11 +16445,11 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16445
16445
  treeView: h,
16446
16446
  formView: g,
16447
16447
  sorter: m,
16448
- setSorter: I,
16448
+ setSorter: v,
16449
16449
  setCurrentItemIndex: C,
16450
16450
  setResultsActionView: b,
16451
16451
  resultsActionView: y,
16452
- domain: v,
16452
+ domain: I,
16453
16453
  currentId: O,
16454
16454
  limit: w,
16455
16455
  setLimit: _,
@@ -16462,7 +16462,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16462
16462
  model: r,
16463
16463
  payload: u,
16464
16464
  limit: J.current,
16465
- attrs: v,
16465
+ attrs: I,
16466
16466
  context: f
16467
16467
  });
16468
16468
  if (se(Ne.length), p == null || p(Ne.length), Ne.length > 0) {
@@ -16492,7 +16492,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16492
16492
  u,
16493
16493
  r,
16494
16494
  f,
16495
- v,
16495
+ I,
16496
16496
  h,
16497
16497
  g,
16498
16498
  m,
@@ -16500,7 +16500,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16500
16500
  p
16501
16501
  ]), Te = useCallback(
16502
16502
  async (Ne) => {
16503
- const { params: Ge, newOffset: vt } = Ne || {}, Ft = mergeParams(Ge || A, v), { colors: _t } = getTree(h), { totalItems: $t, results: Ut, attrsEvaluated: wt } = await ConnectionProvider.getHandler().searchForTree({
16503
+ const { params: Ge, newOffset: vt } = Ne || {}, Ft = mergeParams(Ge || A, I), { colors: _t } = getTree(h), { totalItems: $t, results: Ut, attrsEvaluated: wt } = await ConnectionProvider.getHandler().searchForTree({
16504
16504
  params: Ft,
16505
16505
  limit: J.current,
16506
16506
  offset: vt || te,
@@ -16532,7 +16532,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16532
16532
  O,
16533
16533
  r,
16534
16534
  f,
16535
- v,
16535
+ I,
16536
16536
  h,
16537
16537
  g,
16538
16538
  m,
@@ -16554,7 +16554,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16554
16554
  [
16555
16555
  f,
16556
16556
  O,
16557
- v,
16557
+ I,
16558
16558
  g,
16559
16559
  w,
16560
16560
  r,
@@ -16574,7 +16574,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16574
16574
  ]
16575
16575
  ), L = useCallback(
16576
16576
  (Ne) => {
16577
- I == null || I(Ne);
16577
+ v == null || v(Ne);
16578
16578
  const Ge = Ne !== void 0 ? sortResults({
16579
16579
  resultsToSort: U(),
16580
16580
  sorter: Ne,
@@ -16582,7 +16582,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16582
16582
  }) : [...ce.current];
16583
16583
  j(Ge);
16584
16584
  },
16585
- [I, U, h, g, j]
16585
+ [v, U, h, g, j]
16586
16586
  ), D = useCallback(
16587
16587
  (Ne) => {
16588
16588
  const { params: Ge, searchValues: vt, limit: Ft, offset: _t } = Ne;
@@ -16664,11 +16664,11 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16664
16664
  setResults: h,
16665
16665
  results: g,
16666
16666
  currentItemIndex: m,
16667
- setCurrentItemIndex: I,
16667
+ setCurrentItemIndex: v,
16668
16668
  currentModel: C,
16669
16669
  sorter: b,
16670
16670
  setSorter: y,
16671
- totalItems: v,
16671
+ totalItems: I,
16672
16672
  setTotalItems: O,
16673
16673
  setSelectedRowItems: w,
16674
16674
  selectedRowItems: _,
@@ -16678,7 +16678,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16678
16678
  limit: M
16679
16679
  } = e, [P, W] = useState(!1), [Q, Y] = useState(!1), [z, X] = useState(!1), [te, ee] = useState(!0), [Z, se] = useState(!0), [be, Ie] = useState([]), [de, xe] = useState(!1), [J, ce] = useState([]), [j, U] = useState(!1), [ae, Te] = useState(!0), [Re, L] = useState(), [D, we] = useState({}), [Le, et] = useState(M !== void 0 ? M : DEFAULT_SEARCH_LIMIT$1);
16680
16680
  useEffect(() => {
16681
- g && g.length > 0 && !m && (I == null || I(0), p == null || p(g[0].id));
16681
+ g && g.length > 0 && !m && (v == null || v(0), p == null || p(g[0].id));
16682
16682
  }, [g]), useEffect(() => {
16683
16683
  et(M !== void 0 ? M : DEFAULT_SEARCH_LIMIT$1);
16684
16684
  }, [M]), useEffect(() => {
@@ -16707,7 +16707,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16707
16707
  currentId: f,
16708
16708
  setCurrentId: p,
16709
16709
  currentItemIndex: m,
16710
- setCurrentItemIndex: I,
16710
+ setCurrentItemIndex: v,
16711
16711
  results: g,
16712
16712
  setResults: h,
16713
16713
  currentModel: C,
@@ -16729,7 +16729,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16729
16729
  setSearchVisible: U,
16730
16730
  sorter: b,
16731
16731
  setSorter: y,
16732
- totalItems: v,
16732
+ totalItems: I,
16733
16733
  setTotalItems: O,
16734
16734
  searchTreeNameSearch: A,
16735
16735
  setSearchTreeNameSearch: N,
@@ -16790,7 +16790,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16790
16790
  useImperativeHandle(r, () => ({
16791
16791
  openActionModal: w
16792
16792
  }));
16793
- const [g, m] = useState(!1), [I, C] = useState({
16793
+ const [g, m] = useState(!1), [v, C] = useState({
16794
16794
  context: {}
16795
16795
  });
16796
16796
  async function b(N) {
@@ -16851,7 +16851,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16851
16851
  l.current = !1, clearInterval(s.current), u(!1), showDialog$8(M.exception || M);
16852
16852
  }
16853
16853
  }
16854
- async function v({
16854
+ async function I({
16855
16855
  actionData: N,
16856
16856
  fields: E,
16857
16857
  values: M,
@@ -17013,7 +17013,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
17013
17013
  return /* @__PURE__ */ jsx(Fragment, {
17014
17014
  children: /* @__PURE__ */ jsx(ContentRootContext.Provider, {
17015
17015
  value: {
17016
- processAction: v,
17016
+ processAction: I,
17017
17017
  globalValues: a
17018
17018
  },
17019
17019
  children: /* @__PURE__ */ jsxs(Fragment, {
@@ -17027,9 +17027,9 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
17027
17027
  children: /* @__PURE__ */ jsx(Spin, {})
17028
17028
  }), /* @__PURE__ */ jsx(FormModal, {
17029
17029
  buttonModal: !0,
17030
- parentContext: I.context,
17031
- model: I.model,
17032
- formView: I.formView,
17030
+ parentContext: v.context,
17031
+ model: v.model,
17032
+ formView: v.formView,
17033
17033
  visible: g,
17034
17034
  onSubmitSucceed: A,
17035
17035
  onCancel: () => {
@@ -17042,9 +17042,9 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
17042
17042
  });
17043
17043
  },
17044
17044
  showFooter: !1,
17045
- actionDomain: I.domain,
17046
- isMenuAction: (I == null ? void 0 : I.actionData) !== void 0,
17047
- actionData: I == null ? void 0 : I.actionData
17045
+ actionDomain: v.domain,
17046
+ isMenuAction: (v == null ? void 0 : v.actionData) !== void 0,
17047
+ actionData: v == null ? void 0 : v.actionData
17048
17048
  })]
17049
17049
  })
17050
17050
  })
@@ -17064,11 +17064,11 @@ function Form(e, r) {
17064
17064
  mustClearAfterSave: h = !1,
17065
17065
  submitMode: g = "api",
17066
17066
  values: m,
17067
- formView: I,
17067
+ formView: v,
17068
17068
  postSaveAction: C,
17069
17069
  insideButtonModal: b = !1,
17070
17070
  parentContext: y = {},
17071
- actionDomain: v,
17071
+ actionDomain: I,
17072
17072
  visible: O = !0,
17073
17073
  rootForm: w = !1,
17074
17074
  defaultValues: _,
@@ -17099,14 +17099,14 @@ function Form(e, r) {
17099
17099
  J.current = void 0, Y(void 0), mn();
17100
17100
  }
17101
17101
  })), useEffect(() => {
17102
- if (W(void 0), !(!o && !I)) {
17102
+ if (W(void 0), !(!o && !v)) {
17103
17103
  if (!O) {
17104
17104
  J.current = void 0, Y(void 0);
17105
17105
  return;
17106
17106
  }
17107
17107
  (a === void 0 && ee || a !== void 0 && ee && a < 0) && (J.current = void 0, Y(void 0)), mn();
17108
17108
  }
17109
- }, [a, o, m, I, O]), useEffect(() => {
17109
+ }, [a, o, m, v, O]), useEffect(() => {
17110
17110
  de && (xn({
17111
17111
  elementHasLostFocus: !0
17112
17112
  }), xe(!1));
@@ -17203,9 +17203,9 @@ function Form(e, r) {
17203
17203
  W(void 0), Ne == null || Ne(!0);
17204
17204
  let ht;
17205
17205
  try {
17206
- I ? ht = {
17207
- arch: I.arch,
17208
- fields: I.fields
17206
+ v ? ht = {
17207
+ arch: v.arch,
17208
+ fields: v.fields
17209
17209
  } : ht = await gn();
17210
17210
  const {
17211
17211
  fields: Ke,
@@ -17226,8 +17226,8 @@ function Form(e, r) {
17226
17226
  } = await Sn({
17227
17227
  fields: Mt,
17228
17228
  arch: Bt
17229
- }), v && (Ke = {
17230
- ...getValuesForDomain(v),
17229
+ }), I && (Ke = {
17230
+ ...getValuesForDomain(I),
17231
17231
  ...Ke
17232
17232
  }), ce.current = processValues(Ke, Mt), vn({
17233
17233
  values: Ke,
@@ -17595,12 +17595,12 @@ function Form(e, r) {
17595
17595
  showDialog$8(Bt);
17596
17596
  }
17597
17597
  }
17598
- const Bn = () => !Q && !P ? /* @__PURE__ */ jsx(Spin, {}) : !o && !I || !O ? null : /* @__PURE__ */ jsx(Fragment, {
17598
+ const Bn = () => !Q && !P ? /* @__PURE__ */ jsx(Spin, {}) : !o && !v || !O ? null : /* @__PURE__ */ jsx(Fragment, {
17599
17599
  children: /* @__PURE__ */ jsx(FormProvider$1, {
17600
17600
  getValues: Nt,
17601
17601
  getPlainValues: Yt,
17602
17602
  getFields: Wt,
17603
- domain: v,
17603
+ domain: I,
17604
17604
  activeId: a,
17605
17605
  activeModel: o,
17606
17606
  setFieldValue: Gt,
@@ -17682,7 +17682,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
17682
17682
  ...d
17683
17683
  } = e, {
17684
17684
  modalWidth: f
17685
- } = useWindowDimensions(), [p, h] = useState(a), [g, m] = useState(!1), [I, C] = useState();
17685
+ } = useWindowDimensions(), [p, h] = useState(a), [g, m] = useState(!1), [v, C] = useState();
17686
17686
  useEffect(() => {
17687
17687
  c && b();
17688
17688
  }, [u, c]);
@@ -17701,9 +17701,9 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
17701
17701
  m(N !== !1), N !== !1 && C(N);
17702
17702
  }
17703
17703
  async function y() {
17704
- if (g && I)
17704
+ if (g && v)
17705
17705
  await ConnectionProvider.getHandler().removeFavourite({
17706
- shortcut_id: I
17706
+ shortcut_id: v
17707
17707
  });
17708
17708
  else {
17709
17709
  const {
@@ -17721,7 +17721,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
17721
17721
  }
17722
17722
  m(!g);
17723
17723
  }
17724
- function v() {
17724
+ function I() {
17725
17725
  return /* @__PURE__ */ jsxs(Row, {
17726
17726
  align: "middle",
17727
17727
  children: [/* @__PURE__ */ jsx(Col, {
@@ -17748,7 +17748,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
17748
17748
  return /* @__PURE__ */ jsx(FormModalProvider, {
17749
17749
  setTitle: h,
17750
17750
  children: /* @__PURE__ */ jsx(Modal, {
17751
- title: c ? v() : p,
17751
+ title: c ? I() : p,
17752
17752
  centered: !0,
17753
17753
  width: f,
17754
17754
  visible: r,
@@ -17961,8 +17961,8 @@ const {
17961
17961
  }), f = c && !l ? RequiredSelect : Select;
17962
17962
  function p(h) {
17963
17963
  const g = h.map((m) => {
17964
- const I = u.find(([C, b]) => m === b);
17965
- return I && I[0];
17964
+ const v = u.find(([C, b]) => m === b);
17965
+ return v && v[0];
17966
17966
  });
17967
17967
  if (g.length === 0) {
17968
17968
  o == null || o(void 0);
@@ -18137,14 +18137,14 @@ function SearchFilter(e) {
18137
18137
  searchError: h,
18138
18138
  searchValues: g,
18139
18139
  showLimitOptions: m = !0
18140
- } = e, [I, C] = useState(), [b, y] = useState(), [v, O] = useState(!1), [w] = Form$3.useForm();
18140
+ } = e, [v, C] = useState(), [b, y] = useState(), [I, O] = useState(!1), [w] = Form$3.useForm();
18141
18141
  useEffect(() => {
18142
18142
  w.setFieldsValue(g);
18143
18143
  }, [g]);
18144
18144
  const _ = () => {
18145
18145
  if (!b)
18146
18146
  return;
18147
- const E = v ? b : I, M = E == null ? void 0 : E.rows;
18147
+ const E = I ? b : v, M = E == null ? void 0 : E.rows;
18148
18148
  return M == null ? void 0 : M.map((P, W) => /* @__PURE__ */ jsx(Row, {
18149
18149
  children: P.map((Q, Y) => /* @__PURE__ */ jsx(Col, {
18150
18150
  xs: 24,
@@ -18197,12 +18197,12 @@ function SearchFilter(e) {
18197
18197
  offset: c,
18198
18198
  limit: u
18199
18199
  },
18200
- children: [A, v && m && /* @__PURE__ */ jsx(SearchParams, {
18200
+ children: [A, I && m && /* @__PURE__ */ jsx(SearchParams, {
18201
18201
  onLimitChange: d
18202
18202
  }), /* @__PURE__ */ jsx(SearchBottomBar, {
18203
- advancedFilter: v,
18203
+ advancedFilter: I,
18204
18204
  onAdvancedFilterToggle: () => {
18205
- O(!v);
18205
+ O(!I);
18206
18206
  },
18207
18207
  onClear: () => {
18208
18208
  w.resetFields(), a();
@@ -18257,11 +18257,11 @@ const Many2oneSuffixModal = (e) => {
18257
18257
  model: o,
18258
18258
  context: a = {}
18259
18259
  } = e, [s, l] = useState(!1), [c, u] = useState(!1), [d, f] = useState(!1), [p, h] = useState(), [g, m] = useState(), {
18260
- t: I
18260
+ t: v
18261
18261
  } = useContext(LocaleContext), C = useContext(TabManagerContext), {
18262
18262
  openRelate: b
18263
18263
  } = C || {}, y = useContext(ContentRootContext), {
18264
- processAction: v
18264
+ processAction: I
18265
18265
  } = y || {};
18266
18266
  if (!r)
18267
18267
  return null;
@@ -18313,15 +18313,15 @@ const Many2oneSuffixModal = (e) => {
18313
18313
  children: [/* @__PURE__ */ jsx(Menu.Item, {
18314
18314
  disabled: !p.toolbar.action || p.toolbar.action.length === 0,
18315
18315
  icon: /* @__PURE__ */ jsx(ThunderboltOutlined, {}),
18316
- children: I("action")
18316
+ children: v("action")
18317
18317
  }, "action"), /* @__PURE__ */ jsx(Menu.Item, {
18318
18318
  disabled: !p.toolbar.print || p.toolbar.print.length === 0,
18319
18319
  icon: /* @__PURE__ */ jsx(PrinterOutlined, {}),
18320
- children: I("report")
18320
+ children: v("report")
18321
18321
  }, "print"), /* @__PURE__ */ jsx(Menu.Divider, {}), /* @__PURE__ */ jsx(Menu.ItemGroup, {
18322
18322
  title: /* @__PURE__ */ jsxs(Fragment, {
18323
18323
  children: [/* @__PURE__ */ jsx(EnterOutlined$3, {}), " ", /* @__PURE__ */ jsxs("span", {
18324
- children: [" ", I("related")]
18324
+ children: [" ", v("related")]
18325
18325
  })]
18326
18326
  }),
18327
18327
  children: P
@@ -18347,7 +18347,7 @@ const Many2oneSuffixModal = (e) => {
18347
18347
  }
18348
18348
  }
18349
18349
  function A(P) {
18350
- l(!1), v == null || v({
18350
+ l(!1), I == null || I({
18351
18351
  actionData: P,
18352
18352
  values: g,
18353
18353
  fields: p.fields,
@@ -18358,7 +18358,7 @@ const Many2oneSuffixModal = (e) => {
18358
18358
  });
18359
18359
  }
18360
18360
  function N(P) {
18361
- u(!1), v == null || v({
18361
+ u(!1), I == null || I({
18362
18362
  actionData: {
18363
18363
  ...P,
18364
18364
  datas: {
@@ -18544,10 +18544,10 @@ function Tree(e) {
18544
18544
  scrollY: h,
18545
18545
  colorsForResults: g = {},
18546
18546
  onChangeSort: m,
18547
- sorter: I,
18547
+ sorter: v,
18548
18548
  onFetchChildrenForRecord: C,
18549
18549
  childField: b
18550
- } = e, [y, v] = useState([]), [O, w] = useState([]), _ = useRef(!1), A = useRef(null), {
18550
+ } = e, [y, I] = useState([]), [O, w] = useState([]), _ = useRef(!1), A = useRef(null), {
18551
18551
  t: N
18552
18552
  } = useContext(LocaleContext), E = useRef(o);
18553
18553
  useEffect(() => {
@@ -18568,7 +18568,7 @@ function Tree(e) {
18568
18568
  }, [s]), useEffect(() => {
18569
18569
  _.current = !1;
18570
18570
  const te = getTableItems(A.current, l);
18571
- v(te), E.current = o;
18571
+ I(te), E.current = o;
18572
18572
  }, [l]);
18573
18573
  const M = (r - 1) * E.current + 1, P = M - 1 + y.length, W = a === void 0 ? null : a === 0 ? N("no_results") : N("summary").replace("{from}", M == null ? void 0 : M.toString()).replace("{to}", P == null ? void 0 : P.toString()).replace("{total}", a == null ? void 0 : a.toString()), Q = () => !f || s.isExpandable || u ? null : a === void 0 ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsxs(Row, {
18574
18574
  align: "bottom",
@@ -18631,7 +18631,7 @@ function Tree(e) {
18631
18631
  onRowDoubleClick: d,
18632
18632
  onRowSelectionChange: p == null ? void 0 : p.onChange,
18633
18633
  onChangeSort: m,
18634
- sorter: I,
18634
+ sorter: v,
18635
18635
  expandableOpts: C ? {
18636
18636
  expandIcon: PlusSquareOutlined,
18637
18637
  collapseIcon: MinusSquareOutlined,
@@ -18655,7 +18655,7 @@ function SearchTree(e, r) {
18655
18655
  rootTree: p = !1,
18656
18656
  parentContext: h = {},
18657
18657
  onChangeSelectedRowKeys: g
18658
- } = e, [m, I] = useState(!1), [C, b] = useState(!1), y = useRef(!1), [v, O] = useState(), [w, _] = useState(), [A, N] = useState(), [E, M] = useState(), [P, W] = useState(200), Q = useRef(), {
18658
+ } = e, [m, v] = useState(!1), [C, b] = useState(!1), y = useRef(!1), [I, O] = useState(), [w, _] = useState(), [A, N] = useState(), [E, M] = useState(), [P, W] = useState(200), Q = useRef(), {
18659
18659
  height: Y
18660
18660
  } = useWindowDimensions(), z = useContext(ContentRootContext), {
18661
18661
  processAction: X
@@ -18695,7 +18695,7 @@ function SearchTree(e, r) {
18695
18695
  colorsForResults: zt,
18696
18696
  totalItems: pn
18697
18697
  } = useSearch({
18698
- model: v,
18698
+ model: I,
18699
18699
  setSearchTreeNameSearch: Re,
18700
18700
  setSelectedRowItems: de,
18701
18701
  setSearchParams: J,
@@ -18729,13 +18729,13 @@ function SearchTree(e, r) {
18729
18729
  !C || f && (y.current = !1, vt());
18730
18730
  }, [Ut, wt, C, f, c]);
18731
18731
  const rn = async () => {
18732
- b(!1), I(!0), M(void 0), L == null || L(!0);
18732
+ b(!1), v(!0), M(void 0), L == null || L(!0);
18733
18733
  try {
18734
18734
  await Tt(), b(!0);
18735
18735
  } catch (tn) {
18736
18736
  M(tn);
18737
18737
  } finally {
18738
- I(!1), L == null || L(!1);
18738
+ v(!1), L == null || L(!1);
18739
18739
  }
18740
18740
  }, Tt = async () => {
18741
18741
  O(o);
@@ -18763,7 +18763,7 @@ function SearchTree(e, r) {
18763
18763
  } = tn;
18764
18764
  Q.current || (Q.current = await ConnectionProvider.getHandler().treeButOpen({
18765
18765
  id: w.view_id,
18766
- model: v,
18766
+ model: I,
18767
18767
  context: h
18768
18768
  }));
18769
18769
  const gn = Q.current[0][2];
@@ -18790,7 +18790,7 @@ function SearchTree(e, r) {
18790
18790
  }
18791
18791
  l({
18792
18792
  id: fn,
18793
- model: v,
18793
+ model: I,
18794
18794
  formView: A,
18795
18795
  treeView: w
18796
18796
  });
@@ -18866,7 +18866,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18866
18866
  modalHeight: h
18867
18867
  } = useWindowDimensions(), {
18868
18868
  t: g
18869
- } = useContext(LocaleContext), [m, I] = useState([]), C = async () => {
18869
+ } = useContext(LocaleContext), [m, v] = useState([]), C = async () => {
18870
18870
  await new Promise((O) => setTimeout(O, 5)), o();
18871
18871
  }, b = async (O) => {
18872
18872
  const {
@@ -18881,7 +18881,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18881
18881
  }
18882
18882
  a(m);
18883
18883
  }
18884
- const v = () => /* @__PURE__ */ jsxs(Fragment, {
18884
+ const I = () => /* @__PURE__ */ jsxs(Fragment, {
18885
18885
  children: [/* @__PURE__ */ jsx(SearchTree$1, {
18886
18886
  model: s,
18887
18887
  nameSearch: l,
@@ -18890,7 +18890,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18890
18890
  domain: c,
18891
18891
  parentContext: u,
18892
18892
  onChangeSelectedRowKeys: (O) => {
18893
- I(O);
18893
+ v(O);
18894
18894
  }
18895
18895
  }), /* @__PURE__ */ jsx(Divider, {}), /* @__PURE__ */ jsx(Row, {
18896
18896
  justify: "end",
@@ -18927,7 +18927,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18927
18927
  footer: null,
18928
18928
  destroyOnClose: !0,
18929
18929
  maskClosable: !1,
18930
- children: v()
18930
+ children: I()
18931
18931
  }), /* @__PURE__ */ jsx(FormModal, {
18932
18932
  model: s,
18933
18933
  visible: d,
@@ -18983,7 +18983,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18983
18983
  context: u,
18984
18984
  id: d,
18985
18985
  domain: f
18986
- } = a, p = s && !c ? Config.requiredClass : void 0, [h, g] = useState(!1), [m, I] = useState(!1), [C, b] = useState(!1), [y, v] = useState(), O = useRef(!1), [w, _] = useState(""), A = useRef(), N = useContext(FormContext$1), {
18986
+ } = a, p = s && !c ? Config.requiredClass : void 0, [h, g] = useState(!1), [m, v] = useState(!1), [C, b] = useState(!1), [y, I] = useState(), O = useRef(!1), [w, _] = useState(""), A = useRef(), N = useContext(FormContext$1), {
18987
18987
  domain: E,
18988
18988
  getValues: M,
18989
18989
  getFields: P,
@@ -19038,10 +19038,10 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19038
19038
  },
19039
19039
  totalItems: 2
19040
19040
  });
19041
- ae.length === 1 ? xe(ae[0], !0) : (v(U), g(!0));
19041
+ ae.length === 1 ? xe(ae[0], !0) : (I(U), g(!0));
19042
19042
  return;
19043
19043
  }
19044
- v(U), g(!0);
19044
+ I(U), g(!0);
19045
19045
  }, xe = async (U, ae) => {
19046
19046
  b(!0);
19047
19047
  try {
@@ -19105,7 +19105,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19105
19105
  icon: /* @__PURE__ */ jsx(FolderOpenOutlined, {}),
19106
19106
  disabled: ee === void 0 || Z === "" || w === void 0,
19107
19107
  onClick: () => {
19108
- I(!0);
19108
+ v(!0);
19109
19109
  },
19110
19110
  tabIndex: -1
19111
19111
  })
@@ -19143,10 +19143,10 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19143
19143
  id: r && r[0],
19144
19144
  visible: m,
19145
19145
  onSubmitSucceed: (U) => {
19146
- I(!1), xe(U);
19146
+ v(!1), xe(U);
19147
19147
  },
19148
19148
  onCancel: () => {
19149
- I(!1);
19149
+ v(!1);
19150
19150
  },
19151
19151
  mustClearAfterSave: !0,
19152
19152
  readOnly: c
@@ -19244,8 +19244,8 @@ function requireCopyToClipboard() {
19244
19244
  C.clipboardData.clearData(), C.clipboardData.setData(c.format, l);
19245
19245
  c.onCopy && (C.preventDefault(), c.onCopy(C.clipboardData));
19246
19246
  }), document.body.appendChild(g), p.selectNodeContents(g), h.addRange(p);
19247
- var I = document.execCommand("copy");
19248
- if (!I)
19247
+ var v = document.execCommand("copy");
19248
+ if (!v)
19249
19249
  throw new Error("copy command was unsuccessful");
19250
19250
  m = !0;
19251
19251
  } catch (C) {
@@ -19573,8 +19573,8 @@ function requireTransButton() {
19573
19573
  for (var m in p)
19574
19574
  Object.prototype.hasOwnProperty.call(p, m) && h.indexOf(m) < 0 && (g[m] = p[m]);
19575
19575
  if (p != null && typeof Object.getOwnPropertySymbols == "function")
19576
- for (var I = 0, m = Object.getOwnPropertySymbols(p); I < m.length; I++)
19577
- h.indexOf(m[I]) < 0 && Object.prototype.propertyIsEnumerable.call(p, m[I]) && (g[m[I]] = p[m[I]]);
19576
+ for (var v = 0, m = Object.getOwnPropertySymbols(p); v < m.length; v++)
19577
+ h.indexOf(m[v]) < 0 && Object.prototype.propertyIsEnumerable.call(p, m[v]) && (g[m[v]] = p[m[v]]);
19578
19578
  return g;
19579
19579
  }, u = {
19580
19580
  border: 0,
@@ -19589,15 +19589,15 @@ function requireTransButton() {
19589
19589
  }, m = function(w) {
19590
19590
  var _ = w.keyCode, A = p.onClick;
19591
19591
  _ === l.default.ENTER && A && A();
19592
- }, I = p.style, C = p.noStyle, b = p.disabled, y = c(p, ["style", "noStyle", "disabled"]), v = {};
19593
- return C || (v = (0, a.default)({}, u)), b && (v.pointerEvents = "none"), v = (0, a.default)((0, a.default)({}, v), I), /* @__PURE__ */ s.createElement("div", (0, a.default)({
19592
+ }, v = p.style, C = p.noStyle, b = p.disabled, y = c(p, ["style", "noStyle", "disabled"]), I = {};
19593
+ return C || (I = (0, a.default)({}, u)), b && (I.pointerEvents = "none"), I = (0, a.default)((0, a.default)({}, I), v), /* @__PURE__ */ s.createElement("div", (0, a.default)({
19594
19594
  role: "button",
19595
19595
  tabIndex: 0,
19596
19596
  ref: h
19597
19597
  }, y, {
19598
19598
  onKeyDown: g,
19599
19599
  onKeyUp: m,
19600
- style: v
19600
+ style: I
19601
19601
  }));
19602
19602
  }), f = d;
19603
19603
  e.default = f;
@@ -19977,15 +19977,15 @@ function setLeftTop(e, r, o) {
19977
19977
  var h = getOffset(e), g = {};
19978
19978
  for (var m in r)
19979
19979
  if (r.hasOwnProperty(m)) {
19980
- var I = getOffsetDirection(m, o), C = m === "left" ? a : s, b = p[m] - h[m];
19981
- I === m ? g[I] = C + b : g[I] = C - b;
19980
+ var v = getOffsetDirection(m, o), C = m === "left" ? a : s, b = p[m] - h[m];
19981
+ v === m ? g[v] = C + b : g[v] = C - b;
19982
19982
  }
19983
19983
  css(e, g), forceRelayout(e), ("left" in r || "top" in r) && setTransitionProperty(e, f);
19984
19984
  var y = {};
19985
- for (var v in r)
19986
- if (r.hasOwnProperty(v)) {
19987
- var O = getOffsetDirection(v, o), w = r[v] - p[v];
19988
- v === O ? y[O] = g[O] + w : y[O] = g[O] - w;
19985
+ for (var I in r)
19986
+ if (r.hasOwnProperty(I)) {
19987
+ var O = getOffsetDirection(I, o), w = r[I] - p[I];
19988
+ I === O ? y[O] = g[O] + w : y[O] = g[O] - w;
19989
19989
  }
19990
19990
  css(e, y);
19991
19991
  }
@@ -20192,13 +20192,13 @@ function getVisibleRectForElement(e, r) {
20192
20192
  var p = utils.css(e, "position");
20193
20193
  p === "absolute" && (e.style.position = "fixed");
20194
20194
  }
20195
- var h = utils.getWindowScrollLeft(l), g = utils.getWindowScrollTop(l), m = utils.viewportWidth(l), I = utils.viewportHeight(l), C = u.scrollWidth, b = u.scrollHeight, y = window.getComputedStyle(c);
20195
+ var h = utils.getWindowScrollLeft(l), g = utils.getWindowScrollTop(l), m = utils.viewportWidth(l), v = utils.viewportHeight(l), C = u.scrollWidth, b = u.scrollHeight, y = window.getComputedStyle(c);
20196
20196
  if (y.overflowX === "hidden" && (C = l.innerWidth), y.overflowY === "hidden" && (b = l.innerHeight), e.style && (e.style.position = f), r || isAncestorFixed(e))
20197
- o.left = Math.max(o.left, h), o.top = Math.max(o.top, g), o.right = Math.min(o.right, h + m), o.bottom = Math.min(o.bottom, g + I);
20197
+ o.left = Math.max(o.left, h), o.top = Math.max(o.top, g), o.right = Math.min(o.right, h + m), o.bottom = Math.min(o.bottom, g + v);
20198
20198
  else {
20199
- var v = Math.max(C, h + m);
20200
- o.right = Math.min(o.right, v);
20201
- var O = Math.max(b, g + I);
20199
+ var I = Math.max(C, h + m);
20200
+ o.right = Math.min(o.right, I);
20201
+ var O = Math.max(b, g + v);
20202
20202
  o.bottom = Math.min(o.bottom, O);
20203
20203
  }
20204
20204
  return o.top >= 0 && o.left >= 0 && o.bottom > o.top && o.right > o.left ? o : null;
@@ -20272,24 +20272,24 @@ function doAlign(e, r, o, a) {
20272
20272
  l = [].concat(l), c = [].concat(c), u = u || {};
20273
20273
  var f = {}, p = 0, h = !!(u && u.alwaysByViewport), g = getVisibleRectForElement(d, h), m = getRegion(d);
20274
20274
  normalizeOffset(l, m), normalizeOffset(c, r);
20275
- var I = getElFuturePos(m, r, s, l, c), C = utils.merge(m, I);
20275
+ var v = getElFuturePos(m, r, s, l, c), C = utils.merge(m, v);
20276
20276
  if (g && (u.adjustX || u.adjustY) && a) {
20277
- if (u.adjustX && isFailX(I, m, g)) {
20277
+ if (u.adjustX && isFailX(v, m, g)) {
20278
20278
  var b = flip(s, /[lr]/gi, {
20279
20279
  l: "r",
20280
20280
  r: "l"
20281
- }), y = flipOffset(l, 0), v = flipOffset(c, 0), O = getElFuturePos(m, r, b, y, v);
20282
- isCompleteFailX(O, m, g) || (p = 1, s = b, l = y, c = v);
20281
+ }), y = flipOffset(l, 0), I = flipOffset(c, 0), O = getElFuturePos(m, r, b, y, I);
20282
+ isCompleteFailX(O, m, g) || (p = 1, s = b, l = y, c = I);
20283
20283
  }
20284
- if (u.adjustY && isFailY(I, m, g)) {
20284
+ if (u.adjustY && isFailY(v, m, g)) {
20285
20285
  var w = flip(s, /[tb]/gi, {
20286
20286
  t: "b",
20287
20287
  b: "t"
20288
20288
  }), _ = flipOffset(l, 1), A = flipOffset(c, 1), N = getElFuturePos(m, r, w, _, A);
20289
20289
  isCompleteFailY(N, m, g) || (p = 1, s = w, l = _, c = A);
20290
20290
  }
20291
- p && (I = getElFuturePos(m, r, s, l, c), utils.mix(C, I));
20292
- var E = isFailX(I, m, g), M = isFailY(I, m, g);
20291
+ p && (v = getElFuturePos(m, r, s, l, c), utils.mix(C, v));
20292
+ var E = isFailX(v, m, g), M = isFailY(v, m, g);
20293
20293
  if (E || M) {
20294
20294
  var P = s;
20295
20295
  E && (P = flip(s, /[lr]/gi, {
@@ -20300,7 +20300,7 @@ function doAlign(e, r, o, a) {
20300
20300
  b: "t"
20301
20301
  })), s = P, l = o.offset || [0, 0], c = o.targetOffset || [0, 0];
20302
20302
  }
20303
- f.adjustX = u.adjustX && E, f.adjustY = u.adjustY && M, (f.adjustX || f.adjustY) && (C = adjustForViewport(I, m, g, f));
20303
+ f.adjustX = u.adjustX && E, f.adjustY = u.adjustY && M, (f.adjustX || f.adjustY) && (C = adjustForViewport(v, m, g, f));
20304
20304
  }
20305
20305
  return C.width !== m.width && utils.css(d, "width", utils.width(d) + C.width - m.width), C.height !== m.height && utils.css(d, "height", utils.height(d) + C.height - m.height), utils.offset(d, {
20306
20306
  left: C.left,
@@ -20393,10 +20393,10 @@ function getPoint(e) {
20393
20393
  return _typeof$1(e) !== "object" || !e ? null : e;
20394
20394
  }
20395
20395
  var Align = function e(r, o) {
20396
- var a = r.children, s = r.disabled, l = r.target, c = r.align, u = r.onAlign, d = r.monitorWindowResize, f = r.monitorBufferTime, p = f === void 0 ? 0 : f, h = React__default.useRef({}), g = React__default.useRef(), m = React__default.Children.only(a), I = React__default.useRef({});
20397
- I.current.disabled = s, I.current.target = l, I.current.onAlign = u;
20396
+ var a = r.children, s = r.disabled, l = r.target, c = r.align, u = r.onAlign, d = r.monitorWindowResize, f = r.monitorBufferTime, p = f === void 0 ? 0 : f, h = React__default.useRef({}), g = React__default.useRef(), m = React__default.Children.only(a), v = React__default.useRef({});
20397
+ v.current.disabled = s, v.current.target = l, v.current.onAlign = u;
20398
20398
  var C = useBuffer(function() {
20399
- var A = I.current, N = A.disabled, E = A.target, M = A.onAlign;
20399
+ var A = v.current, N = A.disabled, E = A.target, M = A.onAlign;
20400
20400
  if (!N && E) {
20401
20401
  var P = g.current, W, Q = getElement(E), Y = getPoint(E);
20402
20402
  h.current.element = Q, h.current.point = Y;
@@ -20404,7 +20404,7 @@ var Align = function e(r, o) {
20404
20404
  return Q && isVisible(Q) ? W = alignElement(P, Q, c) : Y && (W = alignPoint(P, Y, c)), restoreFocus(X, P), M && W && M(P, W), !0;
20405
20405
  }
20406
20406
  return !1;
20407
- }, p), b = _slicedToArray(C, 2), y = b[0], v = b[1], O = React__default.useRef({
20407
+ }, p), b = _slicedToArray(C, 2), y = b[0], I = b[1], O = React__default.useRef({
20408
20408
  cancel: function() {
20409
20409
  }
20410
20410
  }), w = React__default.useRef({
@@ -20415,14 +20415,14 @@ var Align = function e(r, o) {
20415
20415
  var A = getElement(l), N = getPoint(l);
20416
20416
  g.current !== w.current.element && (w.current.cancel(), w.current.element = g.current, w.current.cancel = monitorResize(g.current, y)), (h.current.element !== A || !isSamePoint(h.current.point, N)) && (y(), O.current.element !== A && (O.current.cancel(), O.current.element = A, O.current.cancel = monitorResize(A, y)));
20417
20417
  }), React__default.useEffect(function() {
20418
- s ? v() : y();
20418
+ s ? I() : y();
20419
20419
  }, [s]);
20420
20420
  var _ = React__default.useRef(null);
20421
20421
  return React__default.useEffect(function() {
20422
20422
  d ? _.current || (_.current = addEventListenerWrap(window, "resize", y)) : _.current && (_.current.remove(), _.current = null);
20423
20423
  }, [d]), React__default.useEffect(function() {
20424
20424
  return function() {
20425
- O.current.cancel(), w.current.cancel(), _.current && _.current.remove(), v();
20425
+ O.current.cancel(), w.current.cancel(), _.current && _.current.remove(), I();
20426
20426
  };
20427
20427
  }, []), React__default.useImperativeHandle(o, function() {
20428
20428
  return {
@@ -20505,7 +20505,7 @@ const useVisibleStatus = function(e, r) {
20505
20505
  return [c, l];
20506
20506
  };
20507
20507
  var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, r) {
20508
- var o = e.visible, a = e.prefixCls, s = e.className, l = e.style, c = e.children, u = e.zIndex, d = e.stretch, f = e.destroyPopupOnHide, p = e.align, h = e.point, g = e.getRootDomNode, m = e.getClassNameFromAlign, I = e.onAlign, C = e.onMouseEnter, b = e.onMouseLeave, y = e.onMouseDown, v = e.onTouchStart, O = useRef(), w = useRef(), _ = useState(), A = _slicedToArray(_, 2), N = A[0], E = A[1], M = useStretchStyle(d), P = _slicedToArray(M, 2), W = P[0], Q = P[1];
20508
+ var o = e.visible, a = e.prefixCls, s = e.className, l = e.style, c = e.children, u = e.zIndex, d = e.stretch, f = e.destroyPopupOnHide, p = e.align, h = e.point, g = e.getRootDomNode, m = e.getClassNameFromAlign, v = e.onAlign, C = e.onMouseEnter, b = e.onMouseLeave, y = e.onMouseDown, I = e.onTouchStart, O = useRef(), w = useRef(), _ = useState(), A = _slicedToArray(_, 2), N = A[0], E = A[1], M = useStretchStyle(d), P = _slicedToArray(M, 2), W = P[0], Q = P[1];
20509
20509
  function Y() {
20510
20510
  d && Q(g());
20511
20511
  }
@@ -20525,7 +20525,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, r) {
20525
20525
  }) : ee(function() {
20526
20526
  var Re;
20527
20527
  (Re = Z.current) === null || Re === void 0 || Re.call(Z);
20528
- }), I == null || I(U, ae);
20528
+ }), v == null || v(U, ae);
20529
20529
  }
20530
20530
  }
20531
20531
  var de = _objectSpread2$1({}, getMotion(e));
@@ -20584,7 +20584,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, r) {
20584
20584
  onMouseEnter: C,
20585
20585
  onMouseLeave: b,
20586
20586
  onMouseDown: y,
20587
- onTouchStart: v,
20587
+ onTouchStart: I,
20588
20588
  style: _objectSpread2$1(_objectSpread2$1({}, Re), J),
20589
20589
  children: j
20590
20590
  })
@@ -20608,22 +20608,22 @@ var MobilePopupInner = /* @__PURE__ */ React.forwardRef(function(e, r) {
20608
20608
  });
20609
20609
  var m = _objectSpread2$1({
20610
20610
  zIndex: s
20611
- }, d), I = l;
20612
- return React.Children.count(l) > 1 && (I = /* @__PURE__ */ jsx("div", {
20611
+ }, d), v = l;
20612
+ return React.Children.count(l) > 1 && (v = /* @__PURE__ */ jsx("div", {
20613
20613
  className: "".concat(o, "-content"),
20614
20614
  children: l
20615
- })), h && (I = h(I)), /* @__PURE__ */ jsx(CSSMotion, {
20615
+ })), h && (v = h(v)), /* @__PURE__ */ jsx(CSSMotion, {
20616
20616
  visible: a,
20617
20617
  ref: g,
20618
20618
  removeOnLeave: !0,
20619
20619
  ...p,
20620
20620
  children: function(C, b) {
20621
- var y = C.className, v = C.style, O = classnamesExports(o, u, y);
20621
+ var y = C.className, I = C.style, O = classnamesExports(o, u, y);
20622
20622
  return /* @__PURE__ */ jsx("div", {
20623
20623
  ref: b,
20624
20624
  className: O,
20625
- style: _objectSpread2$1(_objectSpread2$1({}, v), m),
20626
- children: I
20625
+ style: _objectSpread2$1(_objectSpread2$1({}, I), m),
20626
+ children: v
20627
20627
  });
20628
20628
  }
20629
20629
  });
@@ -20636,7 +20636,7 @@ var Popup = /* @__PURE__ */ React.forwardRef(function(e, r) {
20636
20636
  useEffect(function() {
20637
20637
  d(o), o && a && g(isMobile());
20638
20638
  }, [o, a]);
20639
- var I = h ? /* @__PURE__ */ jsx(MobilePopupInner, {
20639
+ var v = h ? /* @__PURE__ */ jsx(MobilePopupInner, {
20640
20640
  ...m,
20641
20641
  mobile: a,
20642
20642
  ref: r
@@ -20647,7 +20647,7 @@ var Popup = /* @__PURE__ */ React.forwardRef(function(e, r) {
20647
20647
  return /* @__PURE__ */ jsxs("div", {
20648
20648
  children: [/* @__PURE__ */ jsx(Mask, {
20649
20649
  ...m
20650
- }), I]
20650
+ }), v]
20651
20651
  });
20652
20652
  });
20653
20653
  Popup.displayName = "Popup";
@@ -20725,10 +20725,10 @@ function generateTrigger(e) {
20725
20725
  }
20726
20726
  return ReactDOM.findDOMNode(_assertThisInitialized(c));
20727
20727
  }, c.getPopupClassNameFromAlign = function(d) {
20728
- var f = [], p = c.props, h = p.popupPlacement, g = p.builtinPlacements, m = p.prefixCls, I = p.alignPoint, C = p.getPopupClassNameFromAlign;
20729
- return h && g && f.push(getAlignPopupClassName(g, m, d, I)), C && f.push(C(d)), f.join(" ");
20728
+ var f = [], p = c.props, h = p.popupPlacement, g = p.builtinPlacements, m = p.prefixCls, v = p.alignPoint, C = p.getPopupClassNameFromAlign;
20729
+ return h && g && f.push(getAlignPopupClassName(g, m, d, v)), C && f.push(C(d)), f.join(" ");
20730
20730
  }, c.getComponent = function() {
20731
- var d = c.props, f = d.prefixCls, p = d.destroyPopupOnHide, h = d.popupClassName, g = d.onPopupAlign, m = d.popupMotion, I = d.popupAnimation, C = d.popupTransitionName, b = d.popupStyle, y = d.mask, v = d.maskAnimation, O = d.maskTransitionName, w = d.maskMotion, _ = d.zIndex, A = d.popup, N = d.stretch, E = d.alignPoint, M = d.mobile, P = c.state, W = P.popupVisible, Q = P.point, Y = c.getPopupAlign(), z = {};
20731
+ var d = c.props, f = d.prefixCls, p = d.destroyPopupOnHide, h = d.popupClassName, g = d.onPopupAlign, m = d.popupMotion, v = d.popupAnimation, C = d.popupTransitionName, b = d.popupStyle, y = d.mask, I = d.maskAnimation, O = d.maskTransitionName, w = d.maskMotion, _ = d.zIndex, A = d.popup, N = d.stretch, E = d.alignPoint, M = d.mobile, P = c.state, W = P.popupVisible, Q = P.point, Y = c.getPopupAlign(), z = {};
20732
20732
  return c.isMouseEnterToShow() && (z.onMouseEnter = c.onPopupMouseEnter), c.isMouseLeaveToHide() && (z.onMouseLeave = c.onPopupMouseLeave), z.onMouseDown = c.onPopupMouseDown, z.onTouchStart = c.onPopupMouseDown, /* @__PURE__ */ jsx(Popup, {
20733
20733
  prefixCls: f,
20734
20734
  destroyPopupOnHide: p,
@@ -20737,7 +20737,7 @@ function generateTrigger(e) {
20737
20737
  className: h,
20738
20738
  align: Y,
20739
20739
  onAlign: g,
20740
- animation: I,
20740
+ animation: v,
20741
20741
  getClassNameFromAlign: c.getPopupClassNameFromAlign,
20742
20742
  ...z,
20743
20743
  stretch: N,
@@ -20746,7 +20746,7 @@ function generateTrigger(e) {
20746
20746
  mask: y,
20747
20747
  zIndex: _,
20748
20748
  transitionName: C,
20749
- maskAnimation: v,
20749
+ maskAnimation: I,
20750
20750
  maskTransitionName: O,
20751
20751
  maskMotion: w,
20752
20752
  ref: c.popupRef,
@@ -20923,24 +20923,24 @@ function generateTrigger(e) {
20923
20923
  }, {
20924
20924
  key: "render",
20925
20925
  value: function() {
20926
- var c = this.state.popupVisible, u = this.props, d = u.children, f = u.forceRender, p = u.alignPoint, h = u.className, g = u.autoDestroy, m = React.Children.only(d), I = {
20926
+ var c = this.state.popupVisible, u = this.props, d = u.children, f = u.forceRender, p = u.alignPoint, h = u.className, g = u.autoDestroy, m = React.Children.only(d), v = {
20927
20927
  key: "trigger"
20928
20928
  };
20929
- this.isContextMenuToShow() ? I.onContextMenu = this.onContextMenu : I.onContextMenu = this.createTwoChains("onContextMenu"), this.isClickToHide() || this.isClickToShow() ? (I.onClick = this.onClick, I.onMouseDown = this.onMouseDown, I.onTouchStart = this.onTouchStart) : (I.onClick = this.createTwoChains("onClick"), I.onMouseDown = this.createTwoChains("onMouseDown"), I.onTouchStart = this.createTwoChains("onTouchStart")), this.isMouseEnterToShow() ? (I.onMouseEnter = this.onMouseEnter, p && (I.onMouseMove = this.onMouseMove)) : I.onMouseEnter = this.createTwoChains("onMouseEnter"), this.isMouseLeaveToHide() ? I.onMouseLeave = this.onMouseLeave : I.onMouseLeave = this.createTwoChains("onMouseLeave"), this.isFocusToShow() || this.isBlurToHide() ? (I.onFocus = this.onFocus, I.onBlur = this.onBlur) : (I.onFocus = this.createTwoChains("onFocus"), I.onBlur = this.createTwoChains("onBlur"));
20929
+ this.isContextMenuToShow() ? v.onContextMenu = this.onContextMenu : v.onContextMenu = this.createTwoChains("onContextMenu"), this.isClickToHide() || this.isClickToShow() ? (v.onClick = this.onClick, v.onMouseDown = this.onMouseDown, v.onTouchStart = this.onTouchStart) : (v.onClick = this.createTwoChains("onClick"), v.onMouseDown = this.createTwoChains("onMouseDown"), v.onTouchStart = this.createTwoChains("onTouchStart")), this.isMouseEnterToShow() ? (v.onMouseEnter = this.onMouseEnter, p && (v.onMouseMove = this.onMouseMove)) : v.onMouseEnter = this.createTwoChains("onMouseEnter"), this.isMouseLeaveToHide() ? v.onMouseLeave = this.onMouseLeave : v.onMouseLeave = this.createTwoChains("onMouseLeave"), this.isFocusToShow() || this.isBlurToHide() ? (v.onFocus = this.onFocus, v.onBlur = this.onBlur) : (v.onFocus = this.createTwoChains("onFocus"), v.onBlur = this.createTwoChains("onBlur"));
20930
20930
  var C = classnamesExports(m && m.props && m.props.className, h);
20931
- C && (I.className = C);
20932
- var b = _objectSpread2$1({}, I);
20931
+ C && (v.className = C);
20932
+ var b = _objectSpread2$1({}, v);
20933
20933
  supportRef(m) && (b.ref = composeRef(this.triggerRef, m.ref));
20934
- var y = /* @__PURE__ */ React.cloneElement(m, b), v;
20935
- return (c || this.popupRef.current || f) && (v = /* @__PURE__ */ jsx(e, {
20934
+ var y = /* @__PURE__ */ React.cloneElement(m, b), I;
20935
+ return (c || this.popupRef.current || f) && (I = /* @__PURE__ */ jsx(e, {
20936
20936
  getContainer: this.getContainer,
20937
20937
  didUpdate: this.handlePortalUpdate,
20938
20938
  children: this.getComponent()
20939
- }, "portal")), !c && g && (v = null), /* @__PURE__ */ jsxs(TriggerContext.Provider, {
20939
+ }, "portal")), !c && g && (I = null), /* @__PURE__ */ jsxs(TriggerContext.Provider, {
20940
20940
  value: {
20941
20941
  onPopupMouseDown: this.onPopupMouseDown
20942
20942
  },
20943
- children: [y, v]
20943
+ children: [y, I]
20944
20944
  });
20945
20945
  }
20946
20946
  }], [{
@@ -21062,7 +21062,7 @@ var autoAdjustOverflow = {
21062
21062
  children: typeof o == "function" ? o() : o
21063
21063
  });
21064
21064
  }, Tooltip = function e(r, o) {
21065
- var a = r.overlayClassName, s = r.trigger, l = s === void 0 ? ["hover"] : s, c = r.mouseEnterDelay, u = c === void 0 ? 0 : c, d = r.mouseLeaveDelay, f = d === void 0 ? 0.1 : d, p = r.overlayStyle, h = r.prefixCls, g = h === void 0 ? "rc-tooltip" : h, m = r.children, I = r.onVisibleChange, C = r.afterVisibleChange, b = r.transitionName, y = r.animation, v = r.placement, O = v === void 0 ? "right" : v, w = r.align, _ = w === void 0 ? {} : w, A = r.destroyTooltipOnHide, N = A === void 0 ? !1 : A, E = r.defaultVisible, M = r.getTooltipContainer, P = r.overlayInnerStyle, W = _objectWithoutProperties(r, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), Q = useRef(null);
21065
+ var a = r.overlayClassName, s = r.trigger, l = s === void 0 ? ["hover"] : s, c = r.mouseEnterDelay, u = c === void 0 ? 0 : c, d = r.mouseLeaveDelay, f = d === void 0 ? 0.1 : d, p = r.overlayStyle, h = r.prefixCls, g = h === void 0 ? "rc-tooltip" : h, m = r.children, v = r.onVisibleChange, C = r.afterVisibleChange, b = r.transitionName, y = r.animation, I = r.placement, O = I === void 0 ? "right" : I, w = r.align, _ = w === void 0 ? {} : w, A = r.destroyTooltipOnHide, N = A === void 0 ? !1 : A, E = r.defaultVisible, M = r.getTooltipContainer, P = r.overlayInnerStyle, W = _objectWithoutProperties(r, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), Q = useRef(null);
21066
21066
  useImperativeHandle(o, function() {
21067
21067
  return Q.current;
21068
21068
  });
@@ -21100,7 +21100,7 @@ var autoAdjustOverflow = {
21100
21100
  ref: Q,
21101
21101
  popupAlign: _,
21102
21102
  getPopupContainer: M,
21103
- onPopupVisibleChange: I,
21103
+ onPopupVisibleChange: v,
21104
21104
  afterPopupVisibleChange: C,
21105
21105
  popupTransitionName: b,
21106
21106
  popupAnimation: y,
@@ -21224,7 +21224,7 @@ function requirePlacements() {
21224
21224
  return typeof f == "boolean" ? f ? s : l : (0, o.default)((0, o.default)({}, l), f);
21225
21225
  }
21226
21226
  function d(f) {
21227
- var p = f.arrowWidth, h = p === void 0 ? 5 : p, g = f.horizontalArrowShift, m = g === void 0 ? 16 : g, I = f.verticalArrowShift, C = I === void 0 ? 8 : I, b = f.autoAdjustOverflow, y = {
21227
+ var p = f.arrowWidth, h = p === void 0 ? 5 : p, g = f.horizontalArrowShift, m = g === void 0 ? 16 : g, v = f.verticalArrowShift, C = v === void 0 ? 8 : v, b = f.autoAdjustOverflow, y = {
21228
21228
  left: {
21229
21229
  points: ["cr", "cl"],
21230
21230
  offset: [-4, 0]
@@ -21274,13 +21274,13 @@ function requirePlacements() {
21274
21274
  offset: [-4, C + h]
21275
21275
  }
21276
21276
  };
21277
- return Object.keys(y).forEach(function(v) {
21278
- y[v] = f.arrowPointAtCenter ? (0, o.default)((0, o.default)({}, y[v]), {
21277
+ return Object.keys(y).forEach(function(I) {
21278
+ y[I] = f.arrowPointAtCenter ? (0, o.default)((0, o.default)({}, y[I]), {
21279
21279
  overflow: u(b),
21280
21280
  targetOffset: c
21281
- }) : (0, o.default)((0, o.default)({}, a.placements[v]), {
21281
+ }) : (0, o.default)((0, o.default)({}, a.placements[I]), {
21282
21282
  overflow: u(b)
21283
- }), y[v].ignoreShake = !0;
21283
+ }), y[I].ignoreShake = !0;
21284
21284
  }), y;
21285
21285
  }
21286
21286
  }(placements$1)), placements$1;
@@ -21312,40 +21312,40 @@ function requireTooltip() {
21312
21312
  picked: _,
21313
21313
  omitted: A
21314
21314
  };
21315
- }, I = new RegExp("^(".concat(g.PresetColorTypes.join("|"), ")(-inverse)?$"));
21316
- function C(v, O) {
21317
- var w = v.type;
21318
- if ((w.__ANT_BUTTON === !0 || w.__ANT_SWITCH === !0 || w.__ANT_CHECKBOX === !0 || v.type === "button") && v.props.disabled) {
21319
- var _ = m(v.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), A = _.picked, N = _.omitted, E = (0, l.default)((0, l.default)({
21315
+ }, v = new RegExp("^(".concat(g.PresetColorTypes.join("|"), ")(-inverse)?$"));
21316
+ function C(I, O) {
21317
+ var w = I.type;
21318
+ if ((w.__ANT_BUTTON === !0 || w.__ANT_SWITCH === !0 || w.__ANT_CHECKBOX === !0 || I.type === "button") && I.props.disabled) {
21319
+ var _ = m(I.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), A = _.picked, N = _.omitted, E = (0, l.default)((0, l.default)({
21320
21320
  display: "inline-block"
21321
21321
  }, A), {
21322
21322
  cursor: "not-allowed",
21323
- width: v.props.block ? "100%" : null
21323
+ width: I.props.block ? "100%" : null
21324
21324
  }), M = (0, l.default)((0, l.default)({}, N), {
21325
21325
  pointerEvents: "none"
21326
- }), P = (0, p.cloneElement)(v, {
21326
+ }), P = (0, p.cloneElement)(I, {
21327
21327
  style: M,
21328
21328
  className: null
21329
21329
  });
21330
21330
  return /* @__PURE__ */ c.createElement("span", {
21331
21331
  style: E,
21332
- className: (0, d.default)(v.props.className, "".concat(O, "-disabled-compatible-wrapper"))
21332
+ className: (0, d.default)(I.props.className, "".concat(O, "-disabled-compatible-wrapper"))
21333
21333
  }, P);
21334
21334
  }
21335
- return v;
21335
+ return I;
21336
21336
  }
21337
- var b = /* @__PURE__ */ c.forwardRef(function(v, O) {
21338
- var w, _ = c.useContext(h.ConfigContext), A = _.getPopupContainer, N = _.getPrefixCls, E = _.direction, M = c.useState(!!v.visible || !!v.defaultVisible), P = (0, s.default)(M, 2), W = P[0], Q = P[1];
21337
+ var b = /* @__PURE__ */ c.forwardRef(function(I, O) {
21338
+ var w, _ = c.useContext(h.ConfigContext), A = _.getPopupContainer, N = _.getPrefixCls, E = _.direction, M = c.useState(!!I.visible || !!I.defaultVisible), P = (0, s.default)(M, 2), W = P[0], Q = P[1];
21339
21339
  c.useEffect(function() {
21340
- "visible" in v && Q(v.visible);
21341
- }, [v.visible]);
21340
+ "visible" in I && Q(I.visible);
21341
+ }, [I.visible]);
21342
21342
  var Y = function() {
21343
- var et = v.title, Ne = v.overlay;
21343
+ var et = I.title, Ne = I.overlay;
21344
21344
  return !et && !Ne && et !== 0;
21345
21345
  }, z = function(et) {
21346
- "visible" in v || Q(Y() ? !1 : et), v.onVisibleChange && !Y() && v.onVisibleChange(et);
21346
+ "visible" in I || Q(Y() ? !1 : et), I.onVisibleChange && !Y() && I.onVisibleChange(et);
21347
21347
  }, X = function() {
21348
- var et = v.builtinPlacements, Ne = v.arrowPointAtCenter, Ge = v.autoAdjustOverflow;
21348
+ var et = I.builtinPlacements, Ne = I.arrowPointAtCenter, Ge = I.autoAdjustOverflow;
21349
21349
  return et || (0, f.default)({
21350
21350
  arrowPointAtCenter: Ne,
21351
21351
  autoAdjustOverflow: Ge
@@ -21362,16 +21362,16 @@ function requireTooltip() {
21362
21362
  vt.indexOf("top") >= 0 || vt.indexOf("Bottom") >= 0 ? _t.top = "".concat(Ft.height - Ne.offset[1], "px") : (vt.indexOf("Top") >= 0 || vt.indexOf("bottom") >= 0) && (_t.top = "".concat(-Ne.offset[1], "px")), vt.indexOf("left") >= 0 || vt.indexOf("Right") >= 0 ? _t.left = "".concat(Ft.width - Ne.offset[0], "px") : (vt.indexOf("right") >= 0 || vt.indexOf("Left") >= 0) && (_t.left = "".concat(-Ne.offset[0], "px")), et.style.transformOrigin = "".concat(_t.left, " ").concat(_t.top);
21363
21363
  }
21364
21364
  }, ee = function() {
21365
- var et = v.title, Ne = v.overlay;
21365
+ var et = I.title, Ne = I.overlay;
21366
21366
  return et === 0 ? et : Ne || et || "";
21367
- }, Z = v.prefixCls, se = v.openClassName, be = v.getPopupContainer, Ie = v.getTooltipContainer, de = v.overlayClassName, xe = v.color, J = v.overlayInnerStyle, ce = v.children, j = N("tooltip", Z), U = W;
21368
- !("visible" in v) && Y() && (U = !1);
21369
- var ae = C((0, p.isValidElement)(ce) ? ce : /* @__PURE__ */ c.createElement("span", null, ce), j), Te = ae.props, Re = (0, d.default)(Te.className, (0, a.default)({}, se || "".concat(j, "-open"), !0)), L = (0, d.default)(de, (w = {}, (0, a.default)(w, "".concat(j, "-rtl"), E === "rtl"), (0, a.default)(w, "".concat(j, "-").concat(xe), xe && I.test(xe)), w)), D = J, we;
21370
- return xe && !I.test(xe) && (D = (0, l.default)((0, l.default)({}, J), {
21367
+ }, Z = I.prefixCls, se = I.openClassName, be = I.getPopupContainer, Ie = I.getTooltipContainer, de = I.overlayClassName, xe = I.color, J = I.overlayInnerStyle, ce = I.children, j = N("tooltip", Z), U = W;
21368
+ !("visible" in I) && Y() && (U = !1);
21369
+ var ae = C((0, p.isValidElement)(ce) ? ce : /* @__PURE__ */ c.createElement("span", null, ce), j), Te = ae.props, Re = (0, d.default)(Te.className, (0, a.default)({}, se || "".concat(j, "-open"), !0)), L = (0, d.default)(de, (w = {}, (0, a.default)(w, "".concat(j, "-rtl"), E === "rtl"), (0, a.default)(w, "".concat(j, "-").concat(xe), xe && v.test(xe)), w)), D = J, we;
21370
+ return xe && !v.test(xe) && (D = (0, l.default)((0, l.default)({}, J), {
21371
21371
  background: xe
21372
21372
  }), we = {
21373
21373
  background: xe
21374
- }), /* @__PURE__ */ c.createElement(u.default, (0, l.default)({}, v, {
21374
+ }), /* @__PURE__ */ c.createElement(u.default, (0, l.default)({}, I, {
21375
21375
  prefixCls: j,
21376
21376
  overlayClassName: L,
21377
21377
  getTooltipContainer: be || Ie || A,
@@ -21439,16 +21439,16 @@ function requireTypography() {
21439
21439
  }), e.default = void 0;
21440
21440
  var a = o(require_extends()), s = o(requireDefineProperty()), l = r(React__default), c = o(requireClassnames()), u = requireRef(), d = requireConfigProvider(), f = o(requireDevWarning()), p = function(C, b) {
21441
21441
  var y = {};
21442
- for (var v in C)
21443
- Object.prototype.hasOwnProperty.call(C, v) && b.indexOf(v) < 0 && (y[v] = C[v]);
21442
+ for (var I in C)
21443
+ Object.prototype.hasOwnProperty.call(C, I) && b.indexOf(I) < 0 && (y[I] = C[I]);
21444
21444
  if (C != null && typeof Object.getOwnPropertySymbols == "function")
21445
- for (var O = 0, v = Object.getOwnPropertySymbols(C); O < v.length; O++)
21446
- b.indexOf(v[O]) < 0 && Object.prototype.propertyIsEnumerable.call(C, v[O]) && (y[v[O]] = C[v[O]]);
21445
+ for (var O = 0, I = Object.getOwnPropertySymbols(C); O < I.length; O++)
21446
+ b.indexOf(I[O]) < 0 && Object.prototype.propertyIsEnumerable.call(C, I[O]) && (y[I[O]] = C[I[O]]);
21447
21447
  return y;
21448
21448
  }, h = function(b, y) {
21449
- var v = b.prefixCls, O = b.component, w = O === void 0 ? "article" : O, _ = b.className, A = b["aria-label"], N = b.setContentRef, E = b.children, M = p(b, ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"]), P = y;
21449
+ var I = b.prefixCls, O = b.component, w = O === void 0 ? "article" : O, _ = b.className, A = b["aria-label"], N = b.setContentRef, E = b.children, M = p(b, ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"]), P = y;
21450
21450
  return N && ((0, f.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), P = (0, u.composeRef)(y, N)), /* @__PURE__ */ l.createElement(d.ConfigConsumer, null, function(W) {
21451
- var Q = W.getPrefixCls, Y = W.direction, z = w, X = Q("typography", v), te = (0, c.default)(X, (0, s.default)({}, "".concat(X, "-rtl"), Y === "rtl"), _);
21451
+ var Q = W.getPrefixCls, Y = W.direction, z = w, X = Q("typography", I), te = (0, c.default)(X, (0, s.default)({}, "".concat(X, "-rtl"), Y === "rtl"), _);
21452
21452
  return /* @__PURE__ */ l.createElement(z, (0, a.default)({
21453
21453
  className: te,
21454
21454
  "aria-label": A,
@@ -21457,8 +21457,8 @@ function requireTypography() {
21457
21457
  });
21458
21458
  }, g = /* @__PURE__ */ l.forwardRef(h);
21459
21459
  g.displayName = "Typography";
21460
- var m = g, I = m;
21461
- e.default = I;
21460
+ var m = g, v = m;
21461
+ e.default = v;
21462
21462
  }(Typography)), Typography;
21463
21463
  }
21464
21464
  var Editable = {}, EnterOutlined$2 = { exports: {} }, EnterOutlined$1 = {}, EnterOutlined = {}, hasRequiredEnterOutlined$2;
@@ -21510,7 +21510,7 @@ function requireEditable() {
21510
21510
  value: !0
21511
21511
  }), e.default = void 0;
21512
21512
  var a = o(requireDefineProperty()), s = o(requireSlicedToArray()), l = r(React__default), c = o(requireClassnames()), u = o(requireKeyCode()), d = o(requireEnterOutlined()), f = o(TextArea$2), p = function(m) {
21513
- var I = m.prefixCls, C = m["aria-label"], b = m.className, y = m.style, v = m.direction, O = m.maxLength, w = m.autoSize, _ = w === void 0 ? !0 : w, A = m.value, N = m.onSave, E = m.onCancel, M = l.useRef(), P = l.useRef(!1), W = l.useRef(), Q = l.useState(A), Y = (0, s.default)(Q, 2), z = Y[0], X = Y[1];
21513
+ var v = m.prefixCls, C = m["aria-label"], b = m.className, y = m.style, I = m.direction, O = m.maxLength, w = m.autoSize, _ = w === void 0 ? !0 : w, A = m.value, N = m.onSave, E = m.onCancel, M = l.useRef(), P = l.useRef(!1), W = l.useRef(), Q = l.useState(A), Y = (0, s.default)(Q, 2), z = Y[0], X = Y[1];
21514
21514
  l.useEffect(function() {
21515
21515
  X(A);
21516
21516
  }, [A]), l.useEffect(function() {
@@ -21538,7 +21538,7 @@ function requireEditable() {
21538
21538
  W.current === j && !P.current && !U && !ae && !Te && !Re && (j === u.default.ENTER ? be() : j === u.default.ESC && E());
21539
21539
  }, de = function() {
21540
21540
  be();
21541
- }, xe = (0, c.default)(I, "".concat(I, "-edit-content"), (0, a.default)({}, "".concat(I, "-rtl"), v === "rtl"), b);
21541
+ }, xe = (0, c.default)(v, "".concat(v, "-edit-content"), (0, a.default)({}, "".concat(v, "-rtl"), I === "rtl"), b);
21542
21542
  return /* @__PURE__ */ l.createElement("div", {
21543
21543
  className: xe,
21544
21544
  style: y
@@ -21555,7 +21555,7 @@ function requireEditable() {
21555
21555
  "aria-label": C,
21556
21556
  autoSize: _
21557
21557
  }), /* @__PURE__ */ l.createElement(d.default, {
21558
- className: "".concat(I, "-edit-content-confirm")
21558
+ className: "".concat(v, "-edit-content-confirm")
21559
21559
  }));
21560
21560
  }, h = p;
21561
21561
  e.default = h;
@@ -21589,15 +21589,15 @@ function requireUtil() {
21589
21589
  function m(C) {
21590
21590
  var b = [];
21591
21591
  return C.forEach(function(y) {
21592
- var v = b[b.length - 1];
21593
- typeof y == "string" && typeof v == "string" ? b[b.length - 1] += y : b.push(y);
21592
+ var I = b[b.length - 1];
21593
+ typeof y == "string" && typeof I == "string" ? b[b.length - 1] += y : b.push(y);
21594
21594
  }), b;
21595
21595
  }
21596
- var I = function(b, y, v, O, w) {
21596
+ var v = function(b, y, I, O, w) {
21597
21597
  f || (f = document.createElement("div"), f.setAttribute("aria-hidden", "true"), document.body.appendChild(f));
21598
21598
  var _ = y.rows, A = y.suffix, N = A === void 0 ? "" : A, E = window.getComputedStyle(b), M = g(E), P = h(E.lineHeight), W = Math.round(P * (_ + 1) + h(E.paddingTop) + h(E.paddingBottom));
21599
21599
  f.setAttribute("style", M), f.style.position = "fixed", f.style.left = "0", f.style.height = "auto", f.style.minHeight = "auto", f.style.maxHeight = "auto", f.style.top = "-999999px", f.style.zIndex = "-1000", f.style.textOverflow = "clip", f.style.whiteSpace = "normal", f.style.webkitLineClamp = "none";
21600
- var Q = m((0, l.default)(v));
21600
+ var Q = m((0, l.default)(I));
21601
21601
  (0, a.render)(/* @__PURE__ */ s.createElement("div", {
21602
21602
  style: p
21603
21603
  }, /* @__PURE__ */ s.createElement("span", {
@@ -21610,7 +21610,7 @@ function requireUtil() {
21610
21610
  }
21611
21611
  if (Y())
21612
21612
  return (0, a.unmountComponentAtNode)(f), {
21613
- content: v,
21613
+ content: I,
21614
21614
  text: f.innerHTML,
21615
21615
  ellipsis: !1
21616
21616
  };
@@ -21674,7 +21674,7 @@ function requireUtil() {
21674
21674
  ellipsis: !0
21675
21675
  };
21676
21676
  };
21677
- e.default = I;
21677
+ e.default = v;
21678
21678
  }(util)), util;
21679
21679
  }
21680
21680
  var hasRequiredBase;
@@ -21684,7 +21684,7 @@ function requireBase() {
21684
21684
  Object.defineProperty(e, "__esModule", {
21685
21685
  value: !0
21686
21686
  }), e.default = void 0;
21687
- var a = o(requireDefineProperty()), s = o(requireToConsumableArray()), l = o(_typeof$2.exports), c = o(require_extends()), u = o(requireClassCallCheck()), d = o(requireCreateClass()), f = o(requireInherits()), p = o(requireCreateSuper()), h = r(React__default), g = o(requireClassnames()), m = o(requireToArray()), I = o(requireCopyToClipboard()), C = o(requireOmit()), b = o(requireEditOutlined()), y = o(requireCheckOutlined()), v = o(requireCopyOutlined()), O = o(require$$18), w = requireConfigProvider(), _ = o(requireLocaleReceiver()), A = o(requireDevWarning()), N = o(requireTransButton()), E = o(requireRaf()), M = requireStyleChecker(), P = o(requireTooltip()), W = o(requireTypography()), Q = o(requireEditable()), Y = o(requireUtil()), z = function(Ie, de) {
21687
+ var a = o(requireDefineProperty()), s = o(requireToConsumableArray()), l = o(_typeof$2.exports), c = o(require_extends()), u = o(requireClassCallCheck()), d = o(requireCreateClass()), f = o(requireInherits()), p = o(requireCreateSuper()), h = r(React__default), g = o(requireClassnames()), m = o(requireToArray()), v = o(requireCopyToClipboard()), C = o(requireOmit()), b = o(requireEditOutlined()), y = o(requireCheckOutlined()), I = o(requireCopyOutlined()), O = o(require$$18), w = requireConfigProvider(), _ = o(requireLocaleReceiver()), A = o(requireDevWarning()), N = o(requireTransButton()), E = o(requireRaf()), M = requireStyleChecker(), P = o(requireTooltip()), W = o(requireTypography()), Q = o(requireEditable()), Y = o(requireUtil()), z = function(Ie, de) {
21688
21688
  var xe = {};
21689
21689
  for (var J in Ie)
21690
21690
  Object.prototype.hasOwnProperty.call(Ie, J) && de.indexOf(J) < 0 && (xe[J] = Ie[J]);
@@ -21731,7 +21731,7 @@ function requireBase() {
21731
21731
  }, J.onCopyClick = function(ce) {
21732
21732
  ce.preventDefault();
21733
21733
  var j = J.props, U = j.children, ae = j.copyable, Te = (0, c.default)({}, (0, l.default)(ae) === "object" ? ae : null);
21734
- Te.text === void 0 && (Te.text = String(U)), (0, I.default)(Te.text || ""), J.setState({
21734
+ Te.text === void 0 && (Te.text = String(U)), (0, v.default)(Te.text || ""), J.setState({
21735
21735
  copied: !0
21736
21736
  }, function() {
21737
21737
  Te.onCopy && Te.onCopy(), J.copyId = window.setTimeout(function() {
@@ -21865,7 +21865,7 @@ function requireBase() {
21865
21865
  className: (0, g.default)("".concat(U, "-copy"), ce && "".concat(U, "-copy-success")),
21866
21866
  onClick: this.onCopyClick,
21867
21867
  "aria-label": L
21868
- }, ce ? D[1] || /* @__PURE__ */ h.createElement(y.default, null) : D[0] || /* @__PURE__ */ h.createElement(v.default, null)));
21868
+ }, ce ? D[1] || /* @__PURE__ */ h.createElement(y.default, null) : D[0] || /* @__PURE__ */ h.createElement(I.default, null)));
21869
21869
  }
21870
21870
  }
21871
21871
  }, {
@@ -21950,15 +21950,15 @@ function requireBase() {
21950
21950
  value: !0
21951
21951
  }), e.default = void 0;
21952
21952
  var a = o(require_extends()), s = r(React__default), l = o(requireDevWarning()), c = o(requireBase()), u = requireType(), d = function(g, m) {
21953
- var I = {};
21953
+ var v = {};
21954
21954
  for (var C in g)
21955
- Object.prototype.hasOwnProperty.call(g, C) && m.indexOf(C) < 0 && (I[C] = g[C]);
21955
+ Object.prototype.hasOwnProperty.call(g, C) && m.indexOf(C) < 0 && (v[C] = g[C]);
21956
21956
  if (g != null && typeof Object.getOwnPropertySymbols == "function")
21957
21957
  for (var b = 0, C = Object.getOwnPropertySymbols(g); b < C.length; b++)
21958
- m.indexOf(C[b]) < 0 && Object.prototype.propertyIsEnumerable.call(g, C[b]) && (I[C[b]] = g[C[b]]);
21959
- return I;
21958
+ m.indexOf(C[b]) < 0 && Object.prototype.propertyIsEnumerable.call(g, C[b]) && (v[C[b]] = g[C[b]]);
21959
+ return v;
21960
21960
  }, f = (0, u.tupleNum)(1, 2, 3, 4, 5), p = function(m) {
21961
- var I = m.level, C = I === void 0 ? 1 : I, b = d(m, ["level"]), y;
21961
+ var v = m.level, C = v === void 0 ? 1 : v, b = d(m, ["level"]), y;
21962
21962
  return f.indexOf(C) !== -1 ? y = "h".concat(C) : ((0, l.default)(!1, "Typography.Title", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."), y = "h1"), /* @__PURE__ */ s.createElement(c.default, (0, a.default)({}, b, {
21963
21963
  component: y
21964
21964
  }));
@@ -21980,7 +21980,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
21980
21980
  field: f,
21981
21981
  operator: p,
21982
21982
  manualIds: h
21983
- } = e, [g, m] = useState(!1), [I, C] = useState(), [b, y] = useState(), [v, O] = useState(), [w, _] = useState(0), [A, N] = useState(0), [E, M] = useState(), [P, W] = useState(), [Q, Y] = useState();
21983
+ } = e, [g, m] = useState(!1), [v, C] = useState(), [b, y] = useState(), [I, O] = useState(), [w, _] = useState(0), [A, N] = useState(0), [E, M] = useState(), [P, W] = useState(), [Q, Y] = useState();
21984
21984
  useEffect(() => {
21985
21985
  te();
21986
21986
  }, [r, s]);
@@ -22110,8 +22110,8 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22110
22110
  children: ({
22111
22111
  measureRef: ee
22112
22112
  }) => c ? /* @__PURE__ */ jsx(PercentageIndicator, {
22113
- value: I,
22114
- total: v,
22113
+ value: v,
22114
+ total: I,
22115
22115
  percent: b,
22116
22116
  measureRef: ee,
22117
22117
  height: w,
@@ -22120,8 +22120,8 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
22120
22120
  icon: P,
22121
22121
  suffix: d
22122
22122
  }) : /* @__PURE__ */ jsx(CommonIndicator, {
22123
- value: I,
22124
- total: v,
22123
+ value: v,
22124
+ total: I,
22125
22125
  measureRef: ee,
22126
22126
  height: w,
22127
22127
  width: A,
@@ -22191,7 +22191,7 @@ function PercentageIndicator({
22191
22191
  const g = `${a}%`;
22192
22192
  let m = getTextWidth(g, `bold ${Math.floor(p * 1.03)}px sans-serif`);
22193
22193
  u && (m = m * 1.5);
22194
- const I = u && iconMapper(u);
22194
+ const v = u && iconMapper(u);
22195
22195
  return (m >= o * 0.85 || p * 2 < f) && (p = o * 0.85 / m * p), /* @__PURE__ */ jsx("div", {
22196
22196
  ref: e,
22197
22197
  style: {
@@ -22206,8 +22206,8 @@ function PercentageIndicator({
22206
22206
  },
22207
22207
  children: /* @__PURE__ */ jsxs(Row, {
22208
22208
  align: "middle",
22209
- children: [I && /* @__PURE__ */ jsx(Col, {
22210
- children: /* @__PURE__ */ jsx(I, {
22209
+ children: [v && /* @__PURE__ */ jsx(Col, {
22210
+ children: /* @__PURE__ */ jsx(v, {
22211
22211
  style: {
22212
22212
  fontSize: p * 1,
22213
22213
  color: c,
@@ -22221,7 +22221,7 @@ function PercentageIndicator({
22221
22221
  margin: 0,
22222
22222
  color: c
22223
22223
  },
22224
- children: I ? ` ${a}%` : `${a}%`
22224
+ children: v ? ` ${a}%` : `${a}%`
22225
22225
  }), /* @__PURE__ */ jsx(Title$2, {
22226
22226
  style: {
22227
22227
  fontSize: p * 0.4,
@@ -22302,14 +22302,14 @@ const DefaultGraphOptions = {
22302
22302
  limit: l,
22303
22303
  uninformedString: c,
22304
22304
  manualIds: u
22305
- } = e, [d, f] = useState(!1), [p, h] = useState(), [g, m] = useState(), [I, C] = useState(), [b, y] = useState("line");
22305
+ } = e, [d, f] = useState(!1), [p, h] = useState(), [g, m] = useState(), [v, C] = useState(), [b, y] = useState("line");
22306
22306
  return useDeepCompareEffect(() => {
22307
22307
  (async () => {
22308
22308
  f(!0), h(void 0);
22309
- const v = parseGraph(s);
22310
- y(v.type || "line");
22309
+ const I = parseGraph(s);
22310
+ y(I.type || "line");
22311
22311
  const O = getFieldsToRetrieve({
22312
- ooui: v
22312
+ ooui: I
22313
22313
  });
22314
22314
  let w, _;
22315
22315
  try {
@@ -22321,7 +22321,7 @@ const DefaultGraphOptions = {
22321
22321
  domain: o,
22322
22322
  context: a,
22323
22323
  limit: l,
22324
- order: v.timerange ? v.x.name : null,
22324
+ order: I.timerange ? I.x.name : null,
22325
22325
  fields: O,
22326
22326
  manualIds: u
22327
22327
  }));
@@ -22336,7 +22336,7 @@ const DefaultGraphOptions = {
22336
22336
  }
22337
22337
  C(w);
22338
22338
  const A = processGraphData({
22339
- ooui: v,
22339
+ ooui: I,
22340
22340
  values: w,
22341
22341
  fields: _,
22342
22342
  options: {
@@ -22355,7 +22355,7 @@ const DefaultGraphOptions = {
22355
22355
  error: p,
22356
22356
  type: b,
22357
22357
  values: g,
22358
- evaluatedEntries: I
22358
+ evaluatedEntries: v
22359
22359
  };
22360
22360
  };
22361
22361
  async function getFieldsForModel({
@@ -22451,7 +22451,7 @@ const types = {
22451
22451
  });
22452
22452
  const {
22453
22453
  data: m,
22454
- isGroup: I,
22454
+ isGroup: v,
22455
22455
  isStack: C
22456
22456
  } = p, b = types[h];
22457
22457
  return b ? /* @__PURE__ */ jsxs("div", {
@@ -22467,7 +22467,7 @@ const types = {
22467
22467
  ...getGraphProps({
22468
22468
  type: h,
22469
22469
  data: m,
22470
- isGroup: I,
22470
+ isGroup: v,
22471
22471
  isStack: C
22472
22472
  })
22473
22473
  })]
@@ -22493,9 +22493,9 @@ const GraphComp = (e, r) => {
22493
22493
  domain: l,
22494
22494
  limit: c,
22495
22495
  manualIds: u
22496
- } = e, [d, f] = useState(!1), [p, h] = useState(), [g, m] = useState(), I = useContext(ActionViewContext), {
22496
+ } = e, [d, f] = useState(!1), [p, h] = useState(), [g, m] = useState(), v = useContext(ActionViewContext), {
22497
22497
  setGraphIsLoading: C = void 0
22498
- } = I || {};
22498
+ } = v || {};
22499
22499
  useImperativeHandle(r, () => ({
22500
22500
  refresh: () => {
22501
22501
  b();
@@ -22513,8 +22513,8 @@ const GraphComp = (e, r) => {
22513
22513
  context: s
22514
22514
  });
22515
22515
  m(y.arch);
22516
- const v = parseGraph(y.arch);
22517
- h(v);
22516
+ const I = parseGraph(y.arch);
22517
+ h(I);
22518
22518
  } catch (y) {
22519
22519
  return console.error(y), /* @__PURE__ */ jsx(Fragment, {
22520
22520
  children: JSON.stringify(y)
@@ -22543,7 +22543,7 @@ const GraphComp = (e, r) => {
22543
22543
  switch (p.type) {
22544
22544
  case "indicatorField":
22545
22545
  case "indicator": {
22546
- const y = p, v = y.type === "indicatorField" ? {
22546
+ const y = p, I = y.type === "indicatorField" ? {
22547
22547
  field: y.field,
22548
22548
  operator: y.operator
22549
22549
  } : {};
@@ -22557,7 +22557,7 @@ const GraphComp = (e, r) => {
22557
22557
  icon: y.icon,
22558
22558
  suffix: y.suffix,
22559
22559
  manualIds: u,
22560
- ...v
22560
+ ...I
22561
22561
  });
22562
22562
  }
22563
22563
  case "line":
@@ -22621,7 +22621,7 @@ const GraphComp = (e, r) => {
22621
22621
  isMany2Many: h,
22622
22622
  onSearchItem: g,
22623
22623
  selectedRowKeys: m,
22624
- showCreateButton: I,
22624
+ showCreateButton: v,
22625
22625
  showToggleButton: C
22626
22626
  } = e;
22627
22627
  function b() {
@@ -22641,7 +22641,7 @@ const GraphComp = (e, r) => {
22641
22641
  })
22642
22642
  });
22643
22643
  }
22644
- function v() {
22644
+ function I() {
22645
22645
  return /* @__PURE__ */ jsx(ButtonWithTooltip, {
22646
22646
  tooltip: h ? "Unlink" : "Delete",
22647
22647
  icon: h ? /* @__PURE__ */ jsx(ApiOutlined, {}) : /* @__PURE__ */ jsx(DeleteOutlined, {}),
@@ -22673,17 +22673,17 @@ const GraphComp = (e, r) => {
22673
22673
  className: "flex mb-2",
22674
22674
  children: [y(), /* @__PURE__ */ jsxs("div", {
22675
22675
  className: "flex-none h-8 pl-2",
22676
- children: [l !== "graph" && I && /* @__PURE__ */ jsx(ButtonWithTooltip, {
22676
+ children: [l !== "graph" && v && /* @__PURE__ */ jsx(ButtonWithTooltip, {
22677
22677
  tooltip: "Create new item",
22678
22678
  icon: /* @__PURE__ */ jsx(FileAddOutlined, {}),
22679
22679
  disabled: o,
22680
22680
  onClick: a
22681
- }), h && I && /* @__PURE__ */ jsx(ButtonWithTooltip, {
22681
+ }), h && v && /* @__PURE__ */ jsx(ButtonWithTooltip, {
22682
22682
  tooltip: "Search existing item",
22683
22683
  icon: /* @__PURE__ */ jsx(SearchOutlined, {}),
22684
22684
  disabled: o,
22685
22685
  onClick: g
22686
- }), l !== "graph" && b(), l !== "graph" && v(), l === "form" && w(), b(), C && /* @__PURE__ */ jsx(ButtonWithTooltip, {
22686
+ }), l !== "graph" && b(), l !== "graph" && I(), l === "form" && w(), b(), C && /* @__PURE__ */ jsx(ButtonWithTooltip, {
22687
22687
  tooltip: "Toggle view mode",
22688
22688
  icon: /* @__PURE__ */ jsx(AlignLeftOutlined, {}),
22689
22689
  onClick: s
@@ -22722,12 +22722,12 @@ const One2manyInput = (e) => {
22722
22722
  activeId: h,
22723
22723
  getFields: g,
22724
22724
  getValues: m,
22725
- getContext: I,
22725
+ getContext: v,
22726
22726
  domain: C
22727
22727
  } = p || {}, {
22728
22728
  lang: b,
22729
22729
  t: y
22730
- } = useContext(LocaleContext), v = useRef(), [O, w] = useState(!1), [_, A] = useState(!1), [N, E] = useState(), [M, P] = useState(!1), [W, Q] = useState(!1), [Y, z] = useState(), [X, te] = useState([]), [ee, Z] = useState(!1), se = useRef([]), [be, Ie] = useState(), de = useRef(), {
22730
+ } = useContext(LocaleContext), I = useRef(), [O, w] = useState(!1), [_, A] = useState(!1), [N, E] = useState(), [M, P] = useState(!1), [W, Q] = useState(!1), [Y, z] = useState(), [X, te] = useState([]), [ee, Z] = useState(!1), se = useRef([]), [be, Ie] = useState(), de = useRef(), {
22731
22731
  readOnly: xe,
22732
22732
  relation: J,
22733
22733
  context: ce,
@@ -22758,7 +22758,7 @@ const One2manyInput = (e) => {
22758
22758
  model: J,
22759
22759
  items: l,
22760
22760
  context: {
22761
- ...I == null ? void 0 : I(),
22761
+ ...v == null ? void 0 : v(),
22762
22762
  ...ce
22763
22763
  }
22764
22764
  });
@@ -22777,7 +22777,7 @@ const One2manyInput = (e) => {
22777
22777
  fields: g(),
22778
22778
  values: m()
22779
22779
  }),
22780
- context: I()
22780
+ context: v()
22781
22781
  }),
22782
22782
  widgetFieldName: ae
22783
22783
  })), C && C.length > 0 && (se.current = se.current.concat(transformDomainForChildWidget({
@@ -22805,7 +22805,7 @@ const One2manyInput = (e) => {
22805
22805
  ids: [Tt],
22806
22806
  fields: s.get("form").fields,
22807
22807
  context: {
22808
- ...I == null ? void 0 : I(),
22808
+ ...v == null ? void 0 : v(),
22809
22809
  ...ce
22810
22810
  }
22811
22811
  }))[0], Vt = (await ConnectionProvider.getHandler().readObjects({
@@ -22813,7 +22813,7 @@ const One2manyInput = (e) => {
22813
22813
  ids: [Tt],
22814
22814
  fields: s.get("tree").fields,
22815
22815
  context: {
22816
- ...I == null ? void 0 : I(),
22816
+ ...v == null ? void 0 : v(),
22817
22817
  ...ce
22818
22818
  }
22819
22819
  }))[0], Gt = l.map((en) => en.id === Tt ? {
@@ -22939,7 +22939,7 @@ const One2manyInput = (e) => {
22939
22939
  ids: [Gt],
22940
22940
  fields: s.get("form").fields,
22941
22941
  context: {
22942
- ...I == null ? void 0 : I(),
22942
+ ...v == null ? void 0 : v(),
22943
22943
  ...ce
22944
22944
  }
22945
22945
  }))[0], un = (await ConnectionProvider.getHandler().readObjects({
@@ -22947,7 +22947,7 @@ const One2manyInput = (e) => {
22947
22947
  ids: [Gt],
22948
22948
  fields: s.get("tree").fields,
22949
22949
  context: {
22950
- ...I == null ? void 0 : I(),
22950
+ ...v == null ? void 0 : v(),
22951
22951
  ...ce
22952
22952
  }
22953
22953
  }))[0];
@@ -22981,10 +22981,10 @@ const One2manyInput = (e) => {
22981
22981
  formView: s.get("form"),
22982
22982
  values: (Pt = Te[d]) == null ? void 0 : Pt.values,
22983
22983
  parentContext: {
22984
- ...I == null ? void 0 : I(),
22984
+ ...v == null ? void 0 : v(),
22985
22985
  ...ce
22986
22986
  },
22987
- ref: v,
22987
+ ref: I,
22988
22988
  model: J,
22989
22989
  id: (Vt = Te[d]) == null ? void 0 : Vt.id,
22990
22990
  submitMode: "values",
@@ -23037,7 +23037,7 @@ const One2manyInput = (e) => {
23037
23037
  model: a.relation,
23038
23038
  domain: un,
23039
23039
  context: {
23040
- ...I == null ? void 0 : I(),
23040
+ ...v == null ? void 0 : v(),
23041
23041
  ...ce
23042
23042
  },
23043
23043
  limit: 0
@@ -23080,7 +23080,7 @@ const One2manyInput = (e) => {
23080
23080
  visible: M,
23081
23081
  onSubmitSucceed: Dt,
23082
23082
  parentContext: {
23083
- ...I == null ? void 0 : I(),
23083
+ ...v == null ? void 0 : v(),
23084
23084
  ...ce
23085
23085
  },
23086
23086
  onCancel: () => {
@@ -23092,7 +23092,7 @@ const One2manyInput = (e) => {
23092
23092
  domain: se.current,
23093
23093
  model: J,
23094
23094
  context: {
23095
- ...I == null ? void 0 : I(),
23095
+ ...v == null ? void 0 : v(),
23096
23096
  ...ce
23097
23097
  },
23098
23098
  visible: W,
@@ -23115,9 +23115,9 @@ const One2manyInput = (e) => {
23115
23115
  context: c
23116
23116
  } = r;
23117
23117
  let u;
23118
- const [d, f] = useState(!0), [p, h] = useState(), [g, m] = useState(/* @__PURE__ */ new Map()), I = useContext(FormContext$1), {
23118
+ const [d, f] = useState(!0), [p, h] = useState(), [g, m] = useState(/* @__PURE__ */ new Map()), v = useContext(FormContext$1), {
23119
23119
  getContext: C
23120
- } = I || {};
23120
+ } = v || {};
23121
23121
  useDeepCompareEffect(() => {
23122
23122
  y();
23123
23123
  }, [r]);
@@ -23206,7 +23206,7 @@ const One2manyInput = (e) => {
23206
23206
  const m = (b) => {
23207
23207
  a == null || a(b);
23208
23208
  };
23209
- function I(b) {
23209
+ function v(b) {
23210
23210
  d.current = b.target.value, p(b.target.value);
23211
23211
  }
23212
23212
  async function C() {
@@ -23218,7 +23218,7 @@ const One2manyInput = (e) => {
23218
23218
  className: "w-full " + u,
23219
23219
  id: s,
23220
23220
  placeholder: "00:00",
23221
- onChange: I,
23221
+ onChange: v,
23222
23222
  onBlur: C
23223
23223
  });
23224
23224
  };
@@ -25742,12 +25742,12 @@ var i$1 = {}, n = {
25742
25742
  return (m ? -1 : 1) * c * Math.pow(2, l - a);
25743
25743
  },
25744
25744
  write: function(e, r, o, a, s, l) {
25745
- var c, u, d, f = 8 * l - s - 1, p = (1 << f) - 1, h = p >> 1, g = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = a ? 0 : l - 1, I = a ? 1 : -1, C = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
25746
- for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (u = isNaN(r) ? 1 : 0, c = p) : (c = Math.floor(Math.log(r) / Math.LN2), r * (d = Math.pow(2, -c)) < 1 && (c--, d *= 2), (r += c + h >= 1 ? g / d : g * Math.pow(2, 1 - h)) * d >= 2 && (c++, d /= 2), c + h >= p ? (u = 0, c = p) : c + h >= 1 ? (u = (r * d - 1) * Math.pow(2, s), c += h) : (u = r * Math.pow(2, h - 1) * Math.pow(2, s), c = 0)); s >= 8; e[o + m] = 255 & u, m += I, u /= 256, s -= 8)
25745
+ var c, u, d, f = 8 * l - s - 1, p = (1 << f) - 1, h = p >> 1, g = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = a ? 0 : l - 1, v = a ? 1 : -1, C = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
25746
+ for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (u = isNaN(r) ? 1 : 0, c = p) : (c = Math.floor(Math.log(r) / Math.LN2), r * (d = Math.pow(2, -c)) < 1 && (c--, d *= 2), (r += c + h >= 1 ? g / d : g * Math.pow(2, 1 - h)) * d >= 2 && (c++, d /= 2), c + h >= p ? (u = 0, c = p) : c + h >= 1 ? (u = (r * d - 1) * Math.pow(2, s), c += h) : (u = r * Math.pow(2, h - 1) * Math.pow(2, s), c = 0)); s >= 8; e[o + m] = 255 & u, m += v, u /= 256, s -= 8)
25747
25747
  ;
25748
- for (c = c << s | u, f += s; f > 0; e[o + m] = 255 & c, m += I, c /= 256, f -= 8)
25748
+ for (c = c << s | u, f += s; f > 0; e[o + m] = 255 & c, m += v, c /= 256, f -= 8)
25749
25749
  ;
25750
- e[o + m - I] |= 128 * C;
25750
+ e[o + m - v] |= 128 * C;
25751
25751
  }
25752
25752
  };
25753
25753
  (function(e) {
@@ -25956,8 +25956,8 @@ var isIP = { exports: {} };
25956
25956
  if (h === "4") {
25957
25957
  if (!c.test(p))
25958
25958
  return !1;
25959
- var g = p.split(".").sort(function(m, I) {
25960
- return m - I;
25959
+ var g = p.split(".").sort(function(m, v) {
25960
+ return m - v;
25961
25961
  });
25962
25962
  return g[3] <= 255;
25963
25963
  }
@@ -25970,8 +25970,8 @@ var isIP = { exports: {} };
25970
25970
  value: !0
25971
25971
  }), r.default = y;
25972
25972
  var o = u(assertString.exports), a = u(merge.exports), s = u(isByteLength.exports), l = u(isFQDN.exports), c = u(isIP.exports);
25973
- function u(v) {
25974
- return v && v.__esModule ? v : { default: v };
25973
+ function u(I) {
25974
+ return I && I.__esModule ? I : { default: I };
25975
25975
  }
25976
25976
  var d = {
25977
25977
  allow_display_name: !1,
@@ -25981,14 +25981,14 @@ var isIP = { exports: {} };
25981
25981
  blacklisted_chars: "",
25982
25982
  ignore_max_length: !1,
25983
25983
  host_blacklist: []
25984
- }, f = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i, p = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, h = /^[a-z\d]+$/, g = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i, m = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i, I = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i, C = 254;
25985
- function b(v) {
25986
- var O = v.replace(/^"(.+)"$/, "$1");
25984
+ }, f = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i, p = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, h = /^[a-z\d]+$/, g = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i, m = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i, v = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i, C = 254;
25985
+ function b(I) {
25986
+ var O = I.replace(/^"(.+)"$/, "$1");
25987
25987
  if (!O.trim())
25988
25988
  return !1;
25989
25989
  var w = /[\.";<>]/.test(O);
25990
25990
  if (w) {
25991
- if (O === v)
25991
+ if (O === I)
25992
25992
  return !1;
25993
25993
  var _ = O.split('"').length === O.split('\\"').length;
25994
25994
  if (!_)
@@ -25996,19 +25996,19 @@ var isIP = { exports: {} };
25996
25996
  }
25997
25997
  return !0;
25998
25998
  }
25999
- function y(v, O) {
26000
- if ((0, o.default)(v), O = (0, a.default)(O, d), O.require_display_name || O.allow_display_name) {
26001
- var w = v.match(f);
25999
+ function y(I, O) {
26000
+ if ((0, o.default)(I), O = (0, a.default)(O, d), O.require_display_name || O.allow_display_name) {
26001
+ var w = I.match(f);
26002
26002
  if (w) {
26003
26003
  var _ = w[1];
26004
- if (v = v.replace(_, "").replace(/(^<|>$)/g, ""), _.endsWith(" ") && (_ = _.substr(0, _.length - 1)), !b(_))
26004
+ if (I = I.replace(_, "").replace(/(^<|>$)/g, ""), _.endsWith(" ") && (_ = _.substr(0, _.length - 1)), !b(_))
26005
26005
  return !1;
26006
26006
  } else if (O.require_display_name)
26007
26007
  return !1;
26008
26008
  }
26009
- if (!O.ignore_max_length && v.length > C)
26009
+ if (!O.ignore_max_length && I.length > C)
26010
26010
  return !1;
26011
- var A = v.split("@"), N = A.pop(), E = N.toLowerCase();
26011
+ var A = I.split("@"), N = A.pop(), E = N.toLowerCase();
26012
26012
  if (O.host_blacklist.includes(E))
26013
26013
  return !1;
26014
26014
  var M = A.join("@");
@@ -26044,7 +26044,7 @@ var isIP = { exports: {} };
26044
26044
  }
26045
26045
  }
26046
26046
  if (M[0] === '"')
26047
- return M = M.slice(1, M.length - 1), O.allow_utf8_local_part ? I.test(M) : g.test(M);
26047
+ return M = M.slice(1, M.length - 1), O.allow_utf8_local_part ? v.test(M) : g.test(M);
26048
26048
  for (var z = O.allow_utf8_local_part ? m : p, X = M.split("."), te = 0; te < X.length; te++)
26049
26049
  if (!z.test(X[te]))
26050
26050
  return !1;
@@ -26059,38 +26059,38 @@ var isURL$1 = { exports: {} };
26059
26059
  value: !0
26060
26060
  }), r.default = y;
26061
26061
  var o = c(assertString.exports), a = c(isFQDN.exports), s = c(isIP.exports), l = c(merge.exports);
26062
- function c(v) {
26063
- return v && v.__esModule ? v : { default: v };
26062
+ function c(I) {
26063
+ return I && I.__esModule ? I : { default: I };
26064
26064
  }
26065
- function u(v, O) {
26066
- return g(v) || h(v, O) || f(v, O) || d();
26065
+ function u(I, O) {
26066
+ return g(I) || h(I, O) || f(I, O) || d();
26067
26067
  }
26068
26068
  function d() {
26069
26069
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
26070
26070
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
26071
26071
  }
26072
- function f(v, O) {
26073
- if (!!v) {
26074
- if (typeof v == "string")
26075
- return p(v, O);
26076
- var w = Object.prototype.toString.call(v).slice(8, -1);
26077
- if (w === "Object" && v.constructor && (w = v.constructor.name), w === "Map" || w === "Set")
26078
- return Array.from(v);
26072
+ function f(I, O) {
26073
+ if (!!I) {
26074
+ if (typeof I == "string")
26075
+ return p(I, O);
26076
+ var w = Object.prototype.toString.call(I).slice(8, -1);
26077
+ if (w === "Object" && I.constructor && (w = I.constructor.name), w === "Map" || w === "Set")
26078
+ return Array.from(I);
26079
26079
  if (w === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))
26080
- return p(v, O);
26080
+ return p(I, O);
26081
26081
  }
26082
26082
  }
26083
- function p(v, O) {
26084
- (O == null || O > v.length) && (O = v.length);
26083
+ function p(I, O) {
26084
+ (O == null || O > I.length) && (O = I.length);
26085
26085
  for (var w = 0, _ = new Array(O); w < O; w++)
26086
- _[w] = v[w];
26086
+ _[w] = I[w];
26087
26087
  return _;
26088
26088
  }
26089
- function h(v, O) {
26090
- if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(v)))) {
26089
+ function h(I, O) {
26090
+ if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(I)))) {
26091
26091
  var w = [], _ = !0, A = !1, N = void 0;
26092
26092
  try {
26093
- for (var E = v[Symbol.iterator](), M; !(_ = (M = E.next()).done) && (w.push(M.value), !(O && w.length === O)); _ = !0)
26093
+ for (var E = I[Symbol.iterator](), M; !(_ = (M = E.next()).done) && (w.push(M.value), !(O && w.length === O)); _ = !0)
26094
26094
  ;
26095
26095
  } catch (P) {
26096
26096
  A = !0, N = P;
@@ -26105,9 +26105,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26105
26105
  return w;
26106
26106
  }
26107
26107
  }
26108
- function g(v) {
26109
- if (Array.isArray(v))
26110
- return v;
26108
+ function g(I) {
26109
+ if (Array.isArray(I))
26110
+ return I;
26111
26111
  }
26112
26112
  var m = {
26113
26113
  protocols: ["http", "https", "ftp"],
@@ -26122,39 +26122,39 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26122
26122
  allow_fragments: !0,
26123
26123
  allow_query_components: !0,
26124
26124
  validate_length: !0
26125
- }, I = /^\[([^\]]+)\](?::([0-9]+))?$/;
26126
- function C(v) {
26127
- return Object.prototype.toString.call(v) === "[object RegExp]";
26125
+ }, v = /^\[([^\]]+)\](?::([0-9]+))?$/;
26126
+ function C(I) {
26127
+ return Object.prototype.toString.call(I) === "[object RegExp]";
26128
26128
  }
26129
- function b(v, O) {
26129
+ function b(I, O) {
26130
26130
  for (var w = 0; w < O.length; w++) {
26131
26131
  var _ = O[w];
26132
- if (v === _ || C(_) && _.test(v))
26132
+ if (I === _ || C(_) && _.test(I))
26133
26133
  return !0;
26134
26134
  }
26135
26135
  return !1;
26136
26136
  }
26137
- function y(v, O) {
26138
- if ((0, o.default)(v), !v || /[\s<>]/.test(v) || v.indexOf("mailto:") === 0 || (O = (0, l.default)(O, m), O.validate_length && v.length >= 2083) || !O.allow_fragments && v.includes("#") || !O.allow_query_components && (v.includes("?") || v.includes("&")))
26137
+ function y(I, O) {
26138
+ if ((0, o.default)(I), !I || /[\s<>]/.test(I) || I.indexOf("mailto:") === 0 || (O = (0, l.default)(O, m), O.validate_length && I.length >= 2083) || !O.allow_fragments && I.includes("#") || !O.allow_query_components && (I.includes("?") || I.includes("&")))
26139
26139
  return !1;
26140
26140
  var w, _, A, N, E, M, P, W;
26141
- if (P = v.split("#"), v = P.shift(), P = v.split("?"), v = P.shift(), P = v.split("://"), P.length > 1) {
26141
+ if (P = I.split("#"), I = P.shift(), P = I.split("?"), I = P.shift(), P = I.split("://"), P.length > 1) {
26142
26142
  if (w = P.shift().toLowerCase(), O.require_valid_protocol && O.protocols.indexOf(w) === -1)
26143
26143
  return !1;
26144
26144
  } else {
26145
26145
  if (O.require_protocol)
26146
26146
  return !1;
26147
- if (v.substr(0, 2) === "//") {
26147
+ if (I.substr(0, 2) === "//") {
26148
26148
  if (!O.allow_protocol_relative_urls)
26149
26149
  return !1;
26150
- P[0] = v.substr(2);
26150
+ P[0] = I.substr(2);
26151
26151
  }
26152
26152
  }
26153
- if (v = P.join("://"), v === "")
26153
+ if (I = P.join("://"), I === "")
26154
26154
  return !1;
26155
- if (P = v.split("/"), v = P.shift(), v === "" && !O.require_host)
26155
+ if (P = I.split("/"), I = P.shift(), I === "" && !O.require_host)
26156
26156
  return !0;
26157
- if (P = v.split("@"), P.length > 1) {
26157
+ if (P = I.split("@"), P.length > 1) {
26158
26158
  if (O.disallow_auth || P[0] === "" || (_ = P.shift(), _.indexOf(":") >= 0 && _.split(":").length > 2))
26159
26159
  return !1;
26160
26160
  var Q = _.split(":"), Y = u(Q, 2), z = Y[0], X = Y[1];
@@ -26162,7 +26162,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26162
26162
  return !1;
26163
26163
  }
26164
26164
  N = P.join("@"), M = null, W = null;
26165
- var te = N.match(I);
26165
+ var te = N.match(v);
26166
26166
  if (te ? (A = "", W = te[1], M = te[2] || null) : (P = N.split(":"), A = P.shift(), P.length && (M = P.join(":"))), M !== null && M.length > 0) {
26167
26167
  if (E = parseInt(M, 10), !/^[0-9]+$/.test(M) || E <= 0 || E > 65535)
26168
26168
  return !1;
@@ -26335,17 +26335,17 @@ function K(e) {
26335
26335
  return m ? { r: m[1], g: m[2], b: m[3] } : (m = B.rgba.exec(h)) ? { r: m[1], g: m[2], b: m[3], a: m[4] } : (m = B.hsl.exec(h)) ? { h: m[1], s: m[2], l: m[3] } : (m = B.hsla.exec(h)) ? { h: m[1], s: m[2], l: m[3], a: m[4] } : (m = B.hsv.exec(h)) ? { h: m[1], s: m[2], v: m[3] } : (m = B.hsva.exec(h)) ? { h: m[1], s: m[2], v: m[3], a: m[4] } : (m = B.hex8.exec(h)) ? { r: T(m[1]), g: T(m[2]), b: T(m[3]), a: He(m[4]), format: g ? "name" : "hex8" } : (m = B.hex6.exec(h)) ? { r: T(m[1]), g: T(m[2]), b: T(m[3]), format: g ? "name" : "hex" } : (m = B.hex4.exec(h)) ? { r: T(m[1] + m[1]), g: T(m[2] + m[2]), b: T(m[3] + m[3]), a: He(m[4] + m[4]), format: g ? "name" : "hex8" } : (m = B.hex3.exec(h)) ? { r: T(m[1] + m[1]), g: T(m[2] + m[2]), b: T(m[3] + m[3]), format: g ? "name" : "hex" } : !1;
26336
26336
  }(e)), typeof e == "object" && (H(e.r) && H(e.g) && H(e.b) ? (r = e.r, o = e.g, a = e.b, s = { r: 255 * F(r, 255), g: 255 * F(o, 255), b: 255 * F(a, 255) }, f = !0, p = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : H(e.h) && H(e.s) && H(e.v) ? (c = re(e.s), u = re(e.v), s = function(h, g, m) {
26337
26337
  h = 6 * F(h, 360), g = F(g, 100), m = F(m, 100);
26338
- var I = Math.floor(h), C = h - I, b = m * (1 - g), y = m * (1 - C * g), v = m * (1 - (1 - C) * g), O = I % 6;
26339
- return { r: 255 * [m, y, b, b, v, m][O], g: 255 * [v, m, m, y, b, b][O], b: 255 * [b, b, v, m, m, y][O] };
26338
+ var v = Math.floor(h), C = h - v, b = m * (1 - g), y = m * (1 - C * g), I = m * (1 - (1 - C) * g), O = v % 6;
26339
+ return { r: 255 * [m, y, b, b, I, m][O], g: 255 * [I, m, m, y, b, b][O], b: 255 * [b, b, I, m, m, y][O] };
26340
26340
  }(e.h, c, u), f = !0, p = "hsv") : H(e.h) && H(e.s) && H(e.l) && (c = re(e.s), d = re(e.l), s = function(h, g, m) {
26341
- var I, C, b;
26341
+ var v, C, b;
26342
26342
  if (h = F(h, 360), g = F(g, 100), m = F(m, 100), g === 0)
26343
- C = m, b = m, I = m;
26343
+ C = m, b = m, v = m;
26344
26344
  else {
26345
- var y = m < 0.5 ? m * (1 + g) : m + g - m * g, v = 2 * m - y;
26346
- I = me(v, y, h + 1 / 3), C = me(v, y, h), b = me(v, y, h - 1 / 3);
26345
+ var y = m < 0.5 ? m * (1 + g) : m + g - m * g, I = 2 * m - y;
26346
+ v = me(I, y, h + 1 / 3), C = me(I, y, h), b = me(I, y, h - 1 / 3);
26347
26347
  }
26348
- return { r: 255 * I, g: 255 * C, b: 255 * b };
26348
+ return { r: 255 * v, g: 255 * C, b: 255 * b };
26349
26349
  }(e.h, c, d), f = !0, p = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (l = e.a)), l = function(h) {
26350
26350
  return h = parseFloat(h), (isNaN(h) || h < 0 || h > 1) && (h = 1), h;
26351
26351
  }(l), { ok: f, format: e.format || p, r: Math.min(255, Math.max(s.r, 0)), g: Math.min(255, Math.max(s.g, 0)), b: Math.min(255, Math.max(s.b, 0)), a: l };
@@ -26606,10 +26606,10 @@ function dt(e) {
26606
26606
  var cr = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
26607
26607
  dt("#1890ff");
26608
26608
  var ie = React.forwardRef(function(e, r) {
26609
- var o, a = e.className, s = e.icon, l = e.spin, c = e.rotate, u = e.tabIndex, d = e.onClick, f = e.twoToneColor, p = nt(e, cr), h = React.useContext(tt).prefixCls, g = h === void 0 ? "anticon" : h, m = Jt(g, (Ce(o = {}, "".concat(g, "-").concat(s.name), !!s.name), Ce(o, "".concat(g, "-spin"), !!l || s.name === "loading"), o), a), I = u;
26610
- I === void 0 && d && (I = -1);
26611
- var C = c ? { msTransform: "rotate(".concat(c, "deg)"), transform: "rotate(".concat(c, "deg)") } : void 0, b = rt(ct(f), 2), y = b[0], v = b[1];
26612
- return jsx("span", { ...x(x({ role: "img", "aria-label": s.name }, p), {}, { ref: r, tabIndex: I, onClick: d, className: m }), children: jsx(Fe, { icon: s, primaryColor: y, secondaryColor: v, style: C }) });
26609
+ var o, a = e.className, s = e.icon, l = e.spin, c = e.rotate, u = e.tabIndex, d = e.onClick, f = e.twoToneColor, p = nt(e, cr), h = React.useContext(tt).prefixCls, g = h === void 0 ? "anticon" : h, m = Jt(g, (Ce(o = {}, "".concat(g, "-").concat(s.name), !!s.name), Ce(o, "".concat(g, "-spin"), !!l || s.name === "loading"), o), a), v = u;
26610
+ v === void 0 && d && (v = -1);
26611
+ var C = c ? { msTransform: "rotate(".concat(c, "deg)"), transform: "rotate(".concat(c, "deg)") } : void 0, b = rt(ct(f), 2), y = b[0], I = b[1];
26612
+ return jsx("span", { ...x(x({ role: "img", "aria-label": s.name }, p), {}, { ref: r, tabIndex: v, onClick: d, className: m }), children: jsx(Fe, { icon: s, primaryColor: y, secondaryColor: I, style: C }) });
26613
26613
  });
26614
26614
  ie.displayName = "AntdIcon", ie.getTwoToneColor = function() {
26615
26615
  var e = Fe.getTwoToneColors();
@@ -26828,7 +26828,7 @@ const jt = (e) => {
26828
26828
  return jsxs(Rt, { label: S("registersToExport", a), children: [jsx("p", { dangerouslySetInnerHTML: { __html: u } }), jsxs(Radio$1.Group, { onChange: c, value: r, children: [jsx(Radio$1, { value: "selected", children: S("registersSelection", a) }), jsx(Radio$1, { value: "all", children: S("registersSelectionAll", a) })] })] });
26829
26829
  }, { Text: on } = Typography$1, Je = ({ node: e }) => {
26830
26830
  const { required: r = !1, tooltip: o, title: a } = e, s = ["flex", "flex-row", "items-center", "justify-start"];
26831
- return r && s.push("bg-blue-100"), jsxs("div", { className: s.join(" "), children: [jsx(on, { children: a.replace(/\//g, " \u2192 ") }), o && jsx(Tooltip$2, { title: o, className: "pl-1", children: jsx(Et, { className: "text-xs text-blue-400" }) })] });
26831
+ return r && s.push("bg-blue-100"), jsxs("div", { className: s.join(" "), children: [jsx(on, { children: a }), o && jsx(Tooltip$2, { title: o, className: "pl-1", children: jsx(Et, { className: "text-xs text-blue-400" }) })] });
26832
26832
  }, Be = (e, r) => r.title.toLowerCase().indexOf(e.toLowerCase()) > -1 || r.key.toLowerCase().indexOf(e.toLowerCase()) > -1, qt = (e, r, o) => e.map((a) => a.key === r ? { ...a, children: o } : a.children ? { ...a, children: qt(a.children, r, o) } : a), Ae = (e) => {
26833
26833
  const r = [];
26834
26834
  return function o(a = []) {
@@ -26843,51 +26843,51 @@ const jt = (e) => {
26843
26843
  `, cn = ({ targetKeys: e, locale: r, onGetFields: o, onGetFieldChilds: a, onChange: s, ...l }) => {
26844
26844
  const [c, u] = useState(), [d, f] = useState(!0), [p, h] = useState(), [g, m] = useState();
26845
26845
  useEffect(() => {
26846
- I();
26846
+ v();
26847
26847
  }, []);
26848
- const I = useCallback(async () => {
26848
+ const v = useCallback(async () => {
26849
26849
  f(!0);
26850
26850
  try {
26851
- const v = await o();
26852
- u(v);
26853
- } catch (v) {
26854
- console.error(v), Xe({ title: "Error", centered: !0, content: jsx(Fragment, { children: JSON.stringify(v, null, 2) }) });
26851
+ const I = await o();
26852
+ u(I);
26853
+ } catch (I) {
26854
+ console.error(I), Xe({ title: "Error", centered: !0, content: jsx(Fragment, { children: JSON.stringify(I, null, 2) }) });
26855
26855
  }
26856
26856
  f(!1);
26857
- }, []), C = useCallback(async ({ key: v }) => {
26857
+ }, []), C = useCallback(async ({ key: I }) => {
26858
26858
  try {
26859
- const O = Ae(c).find((A) => A.key === v), w = await a({ key: v, title: O.title }), _ = qt(c, v, w);
26859
+ const O = Ae(c).find((A) => A.key === I), w = await a({ key: I, title: O.title }), _ = qt(c, I, w);
26860
26860
  u(_);
26861
26861
  } catch (O) {
26862
26862
  console.error(O), Xe({ title: "Error", centered: !0, content: jsx(Fragment, { children: JSON.stringify(O, null, 2) }) });
26863
26863
  }
26864
- }, [c]), b = useCallback((v, O) => {
26865
- v === "left" ? h(O.trim() === "" ? void 0 : O.trim()) : m(O.trim() === "" ? void 0 : O.trim());
26866
- }, []), y = useCallback(({ checkedKeys: v, onItemSelect: O }) => (w, { node: { key: _ } }) => {
26864
+ }, [c]), b = useCallback((I, O) => {
26865
+ I === "left" ? h(O.trim() === "" ? void 0 : O.trim()) : m(O.trim() === "" ? void 0 : O.trim());
26866
+ }, []), y = useCallback(({ checkedKeys: I, onItemSelect: O }) => (w, { node: { key: _ } }) => {
26867
26867
  var A;
26868
- O(_, (A = _, !v.includes(A)));
26868
+ O(_, (A = _, !I.includes(A)));
26869
26869
  }, []);
26870
- return jsx(sn, { ...l, showSearch: !0, targetKeys: e, dataSource: Ae(c), className: "tree-transfer", render: (v) => v.title, onChange: s, showSelectAll: !0, locale: { itemUnit: S("exportModalItemsUnit", r), itemsUnit: S("exportModalItemsUnit", r), notFoundContent: S("notFoundContent", r), searchPlaceholder: S("searchPlaceholder", r) }, filterOption: Be, onSearch: b, titles: [S("availableFields", r), S("fieldsToExport", r)], children: ({ direction: v, onItemSelect: O, selectedKeys: w }) => {
26870
+ return jsx(sn, { ...l, showSearch: !0, targetKeys: e, dataSource: Ae(c), className: "tree-transfer", render: (I) => I.title, onChange: s, showSelectAll: !0, locale: { itemUnit: S("exportModalItemsUnit", r), itemsUnit: S("exportModalItemsUnit", r), notFoundContent: S("notFoundContent", r), searchPlaceholder: S("searchPlaceholder", r) }, filterOption: Be, onSearch: b, titles: [S("availableFields", r), S("fieldsToExport", r)], children: ({ direction: I, onItemSelect: O, selectedKeys: w }) => {
26871
26871
  if (d)
26872
26872
  return jsx("div", { style: { display: "flex", paddingTop: "2em", justifyContent: "center" }, children: jsx(Spin, {}) });
26873
- if (v === "left") {
26873
+ if (I === "left") {
26874
26874
  const _ = [...e, ...w];
26875
26875
  return jsx(Tree$2, { height: 300, blockNode: !0, checkable: !0, checkStrictly: !0, checkedKeys: _, loadData: C, treeData: Ht({ treeNodes: c, checkedKeys: e, searchText: p }), onCheck: y({ checkedKeys: _, onItemSelect: O }), onSelect: y({ checkedKeys: _, onItemSelect: O }), titleRender: (A) => jsx(Je, { node: A }) });
26876
26876
  }
26877
26877
  return jsx(Tree$2, { height: 300, blockNode: !0, checkable: !0, checkStrictly: !0, checkedKeys: w, onCheck: y({ checkedKeys: w, onItemSelect: O }), onSelect: y({ checkedKeys: w, onItemSelect: O }), treeData: ln({ treeNodes: c, checkedKeys: e, searchText: g }), titleRender: (_) => jsx(Je, { node: _ }) });
26878
26878
  } });
26879
26879
  }, Ze = () => jsx("div", { style: { padding: "0.5em" } }), { error: dn } = Modal, Yn = (e) => {
26880
- const { visible: r, locale: o, onCancel: a, onSucceed: s, totalRegisters: l, selectedRegistersToExport: c, selectedKeys: u } = e, { modalWidth: d } = Lt(), [f, p] = useState(!1), [h, g] = useState("xlsx"), [m, I] = useState("all"), [C, b] = useState(u);
26880
+ const { visible: r, locale: o, onCancel: a, onSucceed: s, totalRegisters: l, selectedRegistersToExport: c, selectedKeys: u } = e, { modalWidth: d } = Lt(), [f, p] = useState(!1), [h, g] = useState("xlsx"), [m, v] = useState("all"), [C, b] = useState(u);
26881
26881
  useEffect(() => {
26882
- r || (b(void 0), g("xlsx"), I(c ? "selected" : "all"));
26882
+ r || (b(void 0), g("xlsx"), v(c ? "selected" : "all"));
26883
26883
  }, [r]), useEffect(() => {
26884
- I(c ? "selected" : "all");
26884
+ v(c ? "selected" : "all");
26885
26885
  }, [c]), useEffect(() => {
26886
26886
  u === void 0 || C || b(u);
26887
26887
  }, [u, C]);
26888
26888
  const y = useCallback((O) => {
26889
26889
  b(O);
26890
- }, []), v = useCallback(async () => {
26890
+ }, []), I = useCallback(async () => {
26891
26891
  p(!0);
26892
26892
  try {
26893
26893
  await s({ exportType: h, selectedKeys: C, registersAmount: m });
@@ -26896,7 +26896,7 @@ const jt = (e) => {
26896
26896
  }
26897
26897
  p(!1);
26898
26898
  }, [h, C, m]);
26899
- return jsxs(Modal, { title: S("export", o), centered: !0, width: d, visible: r, closable: !f, onCancel: a, footer: null, destroyOnClose: !0, children: [jsx(cn, { targetKeys: C || [], onChange: y, locale: o, onGetFieldChilds: e.onGetFieldChilds, onGetFields: e.onGetFields }), jsx(Ze, {}), jsx(nn, { locale: o, value: h, onChange: g }), c && jsxs(Fragment, { children: [jsx(Ze, {}), jsx(an, { locale: o, totalRegisters: l, selectedRegistersToExport: c, value: m, onChange: I })] }), jsx(Divider, {}), jsx(jt, { locale: o, onClose: a, onConfirm: v, loading: f, left: S("exportRegisters", o).replace("{total}", m === "selected" ? c == null ? void 0 : c.toString() : l.toString()) })] });
26899
+ return jsxs(Modal, { title: S("export", o), centered: !0, width: d, visible: r, closable: !f, onCancel: a, footer: null, destroyOnClose: !0, children: [jsx(cn, { targetKeys: C || [], onChange: y, locale: o, onGetFieldChilds: e.onGetFieldChilds, onGetFields: e.onGetFields }), jsx(Ze, {}), jsx(nn, { locale: o, value: h, onChange: g }), c && jsxs(Fragment, { children: [jsx(Ze, {}), jsx(an, { locale: o, totalRegisters: l, selectedRegistersToExport: c, value: m, onChange: v })] }), jsx(Divider, {}), jsx(jt, { locale: o, onClose: a, onConfirm: I, loading: f, left: S("exportRegisters", o).replace("{total}", m === "selected" ? c == null ? void 0 : c.toString() : l.toString()) })] });
26900
26900
  };
26901
26901
  function Group(e) {
26902
26902
  const {
@@ -27004,8 +27004,8 @@ const {
27004
27004
  },
27005
27005
  children: /* @__PURE__ */ jsx(TextArea, {
27006
27006
  value: e,
27007
- onChange: (I) => {
27008
- a == null || a(I.target.value);
27007
+ onChange: (v) => {
27008
+ a == null || a(v.target.value);
27009
27009
  },
27010
27010
  style: {
27011
27011
  height: s ? s + "px" : "100%",
@@ -27035,8 +27035,8 @@ const {
27035
27035
  wrap: !1,
27036
27036
  children: /* @__PURE__ */ jsx(TextArea, {
27037
27037
  value: e,
27038
- onChange: (I) => {
27039
- a == null || a(I.target.value);
27038
+ onChange: (v) => {
27039
+ a == null || a(v.target.value);
27040
27040
  },
27041
27041
  style: {
27042
27042
  height: s ? s + "px" : "100%"
@@ -27082,61 +27082,63 @@ const {
27082
27082
  selectedRegistersToExport: c,
27083
27083
  totalRegisters: u,
27084
27084
  domain: d,
27085
- limit: f
27086
- } = e, p = useRef({}), h = useCallback(async (I) => {
27087
- if (I.selectedKeys.length === 0) {
27085
+ limit: f,
27086
+ visibleRegisters: p
27087
+ } = e, h = useRef({}), g = useCallback(async (C) => {
27088
+ if (C.selectedKeys.length === 0) {
27088
27089
  showDialog$7(tForLang("selectAtLeastOneField", o));
27089
27090
  return;
27090
27091
  }
27091
27092
  const {
27092
- datas: C
27093
+ datas: b
27093
27094
  } = await ConnectionProvider.getHandler().exportData({
27094
27095
  model: s,
27095
- fields: I.selectedKeys,
27096
- domain: I.registersAmount === "all" ? [] : d,
27097
- limit: I.registersAmount === "all" ? void 0 : f,
27096
+ fields: C.selectedKeys,
27097
+ domain: C.registersAmount === "all" ? [] : d,
27098
+ limit: C.registersAmount === "all" ? void 0 : f,
27098
27099
  context: l,
27099
- format: I.exportType
27100
+ format: C.exportType
27100
27101
  });
27101
- a(), await new Promise((y) => setTimeout(y, 200));
27102
- const b = await getMimeType(C);
27103
- openBase64InNewTab(C, b.mime);
27104
- }, [o, s, d, f, l, a]), g = useCallback(async () => {
27105
- const I = await ConnectionProvider.getHandler().getFields({
27102
+ a(), await new Promise((I) => setTimeout(I, 200));
27103
+ const y = await getMimeType(b);
27104
+ openBase64InNewTab(b, y.mime);
27105
+ }, [o, s, d, f, l, a]), m = useCallback(async () => {
27106
+ const C = await ConnectionProvider.getHandler().getFields({
27106
27107
  model: s,
27107
27108
  context: l,
27108
27109
  fields: []
27109
27110
  });
27110
- return p.current["/"] = I, convertToExportField({
27111
- fields: I
27111
+ return h.current["/"] = C, convertToExportField({
27112
+ fields: C
27112
27113
  });
27113
- }, [s, l, p]), m = useCallback(async ({
27114
- key: I,
27115
- title: C
27114
+ }, [s, l, h]), v = useCallback(async ({
27115
+ key: C,
27116
+ title: b
27116
27117
  }) => {
27117
- let b;
27118
- const y = I.split("/")[I.split("/").length - 1] === "id" ? I.split("/").slice(0, -1).join("/") : I;
27119
- y.indexOf("/") === -1 ? b = p.current["/"] : b = p.current[getParentKey(y)];
27120
- const O = b[getChildKey(y)].relation, w = await ConnectionProvider.getHandler().getFields({
27121
- model: O,
27118
+ let y;
27119
+ const I = C.split("/")[C.split("/").length - 1] === "id" ? C.split("/").slice(0, -1).join("/") : C;
27120
+ I.indexOf("/") === -1 ? y = h.current["/"] : y = h.current[getParentKey(I)];
27121
+ const w = y[getChildKey(I)].relation, _ = await ConnectionProvider.getHandler().getFields({
27122
+ model: w,
27122
27123
  context: l,
27123
27124
  fields: []
27124
27125
  });
27125
- return p.current[y] = w, convertToExportField({
27126
- fields: w,
27127
- parentTitle: C,
27128
- parentKey: y
27126
+ return h.current[I] = _, convertToExportField({
27127
+ fields: _,
27128
+ parentTitle: b,
27129
+ parentKey: I
27129
27130
  });
27130
- }, [p, s, l]);
27131
+ }, [h, s, l]);
27131
27132
  return /* @__PURE__ */ jsx(Yn, {
27132
27133
  visible: r,
27133
27134
  locale: o,
27134
- onSucceed: h,
27135
+ onSucceed: g,
27135
27136
  onCancel: a,
27136
27137
  selectedRegistersToExport: c,
27137
27138
  totalRegisters: u,
27138
- onGetFieldChilds: m,
27139
- onGetFields: g
27139
+ onGetFieldChilds: v,
27140
+ onGetFields: m,
27141
+ visibleRegisters: p
27140
27142
  });
27141
27143
  }, convertToExportField = ({
27142
27144
  fields: e,
@@ -27200,14 +27202,14 @@ const {
27200
27202
  id: l,
27201
27203
  readOnly: c,
27202
27204
  required: u
27203
- } = a, d = u && !c ? Config.requiredClass : void 0, f = s ? "time" : "date", p = (I) => {
27204
- o == null || o(I);
27205
- }, h = (I) => {
27206
- if (I === null) {
27205
+ } = a, d = u && !c ? Config.requiredClass : void 0, f = s ? "time" : "date", p = (v) => {
27206
+ o == null || o(v);
27207
+ }, h = (v) => {
27208
+ if (v === null) {
27207
27209
  p(void 0);
27208
27210
  return;
27209
27211
  }
27210
- p(I.format(DatePickerConfig[f].dateInternalFormat));
27212
+ p(v.format(DatePickerConfig[f].dateInternalFormat));
27211
27213
  }, g = s ? {
27212
27214
  defaultValue: hooks("00:00:00", "HH:mm:ss")
27213
27215
  } : void 0, m = r ? hooks(r, DatePickerConfig[f].dateInternalFormat) : void 0;
@@ -27329,20 +27331,20 @@ const {
27329
27331
  getFieldValue: p
27330
27332
  } = useContext(FormContext$1) || {}, {
27331
27333
  t: h
27332
- } = useContext(LocaleContext), g = o ? getFilesize(o) : "", m = (v) => {
27333
- a == null || a(v);
27334
+ } = useContext(LocaleContext), g = o ? getFilesize(o) : "", m = (I) => {
27335
+ a == null || a(I);
27334
27336
  };
27335
- async function I() {
27336
- const v = await getMimeType(o), O = `data:${v == null ? void 0 : v.mime};base64,${o}`, w = document.createElement("a"), _ = p(c), A = p("name");
27337
+ async function v() {
27338
+ const I = await getMimeType(o), O = `data:${I == null ? void 0 : I.mime};base64,${o}`, w = document.createElement("a"), _ = p(c), A = p("name");
27337
27339
  w.href = O, w.download = _ || A, w.click();
27338
27340
  }
27339
27341
  async function C() {
27340
- const v = await getMimeType(o);
27341
- openBase64InNewTab(o, v.mime);
27342
+ const I = await getMimeType(o);
27343
+ openBase64InNewTab(o, I.mime);
27342
27344
  }
27343
- async function b(v) {
27344
- v.stopPropagation(), v.preventDefault();
27345
- const O = v.target.files[0], w = await toBase64(O);
27345
+ async function b(I) {
27346
+ I.stopPropagation(), I.preventDefault();
27347
+ const O = I.target.files[0], w = await toBase64(O);
27346
27348
  m(w), c && f(c, O.name);
27347
27349
  }
27348
27350
  function y() {
@@ -27385,7 +27387,7 @@ const {
27385
27387
  }), /* @__PURE__ */ jsx(ButtonWithTooltip, {
27386
27388
  tooltip: h("download"),
27387
27389
  disabled: !o,
27388
- onClick: I,
27390
+ onClick: v,
27389
27391
  icon: /* @__PURE__ */ jsx(DownloadOutlined, {})
27390
27392
  }), /* @__PURE__ */ jsx(ButtonWithTooltip, {
27391
27393
  tooltip: h("clear"),
@@ -27418,7 +27420,7 @@ function ChangeViewButton(e) {
27418
27420
  lang: d
27419
27421
  } = useContext(LocaleContext);
27420
27422
  function f() {
27421
- const g = o.map((m, I) => /* @__PURE__ */ jsx(Menu.Item, {
27423
+ const g = o.map((m, v) => /* @__PURE__ */ jsx(Menu.Item, {
27422
27424
  children: /* @__PURE__ */ jsxs(Row, {
27423
27425
  wrap: !1,
27424
27426
  children: [/* @__PURE__ */ jsx(Col, {
@@ -27442,7 +27444,7 @@ function ChangeViewButton(e) {
27442
27444
  })
27443
27445
  })]
27444
27446
  })
27445
- }, m.view_id || I));
27447
+ }, m.view_id || v));
27446
27448
  return /* @__PURE__ */ jsx(Menu, {
27447
27449
  onClick: h,
27448
27450
  children: /* @__PURE__ */ jsx(Menu.ItemGroup, {
@@ -27465,7 +27467,7 @@ function ChangeViewButton(e) {
27465
27467
  }
27466
27468
  function h(g) {
27467
27469
  p(() => {
27468
- const m = o.find((I) => I.view_id === parseInt(g.key));
27470
+ const m = o.find((v) => v.view_id === parseInt(g.key));
27469
27471
  a(m);
27470
27472
  });
27471
27473
  }
@@ -27733,20 +27735,20 @@ function AttachmentsButton(e) {
27733
27735
  formRef: c
27734
27736
  } = useContext(ActionViewContext), [u, d] = useState(!1), [f, p] = useState([]), [h, g] = useState(!1), {
27735
27737
  t: m
27736
- } = useContext(LocaleContext), I = useCallback(async () => {
27738
+ } = useContext(LocaleContext), v = useCallback(async () => {
27737
27739
  d(!0);
27738
27740
  try {
27739
27741
  const y = await ConnectionProvider.getHandler().readObjects({
27740
27742
  model: "ir.attachment",
27741
- ids: r.map((v) => v.id),
27743
+ ids: r.map((I) => I.id),
27742
27744
  fieldsToRetrieve: ["name", "datas_fname", "link"],
27743
27745
  context: c.current.getContext()
27744
27746
  });
27745
- p(y.map((v) => ({
27746
- id: v.id,
27747
- name: v.name,
27748
- datas_fname: v.datas_fname,
27749
- link: v.link
27747
+ p(y.map((I) => ({
27748
+ id: I.id,
27749
+ name: I.name,
27750
+ datas_fname: I.datas_fname,
27751
+ link: I.link
27750
27752
  })));
27751
27753
  } catch (y) {
27752
27754
  showDialog$8(y);
@@ -27758,9 +27760,9 @@ function AttachmentsButton(e) {
27758
27760
  return;
27759
27761
  }
27760
27762
  g(!0);
27761
- let v;
27763
+ let I;
27762
27764
  try {
27763
- v = (await ConnectionProvider.getHandler().readObjects({
27765
+ I = (await ConnectionProvider.getHandler().readObjects({
27764
27766
  model: "ir.attachment",
27765
27767
  ids: [y.id],
27766
27768
  context: c.current.getContext()
@@ -27768,18 +27770,18 @@ function AttachmentsButton(e) {
27768
27770
  } catch (O) {
27769
27771
  showDialog$8(O);
27770
27772
  }
27771
- if (g(!1), !!v)
27772
- if (v.datas) {
27773
- const O = await getMimeType(v.datas);
27774
- openBase64InNewTab(v.datas, O.mime);
27773
+ if (g(!1), !!I)
27774
+ if (I.datas) {
27775
+ const O = await getMimeType(I.datas);
27776
+ openBase64InNewTab(I.datas, O.mime);
27775
27777
  } else
27776
- l(v);
27778
+ l(I);
27777
27779
  }, []), b = useCallback(async (y) => {
27778
27780
  l(y);
27779
27781
  }, []);
27780
27782
  return useEffect(() => {
27781
- I();
27782
- }, [I]), /* @__PURE__ */ jsxs(Fragment, {
27783
+ v();
27784
+ }, [v]), /* @__PURE__ */ jsxs(Fragment, {
27783
27785
  children: [/* @__PURE__ */ jsx(AttachmentsButtonWrapper, {
27784
27786
  numberOfAttachments: r.length,
27785
27787
  attachments: f,
@@ -27817,11 +27819,11 @@ function FormActionBar({
27817
27819
  setCurrentId: h,
27818
27820
  currentModel: g,
27819
27821
  setRemovingItem: m,
27820
- removingItem: I,
27822
+ removingItem: v,
27821
27823
  duplicatingItem: C,
27822
27824
  setDuplicatingItem: b,
27823
27825
  setResults: y,
27824
- formIsLoading: v,
27826
+ formIsLoading: I,
27825
27827
  attachments: O,
27826
27828
  formRef: w,
27827
27829
  setFormHasChanges: _,
@@ -27908,7 +27910,7 @@ function FormActionBar({
27908
27910
  b == null || b(!1);
27909
27911
  }
27910
27912
  }
27911
- const J = c || I || v || C;
27913
+ const J = c || v || I || C;
27912
27914
  function ce(j) {
27913
27915
  Y == null || Y({
27914
27916
  actionData: j,
@@ -27922,10 +27924,10 @@ function FormActionBar({
27922
27924
  }
27923
27925
  return o ? /* @__PURE__ */ jsxs(Space, {
27924
27926
  wrap: !0,
27925
- children: [v && /* @__PURE__ */ jsxs(Fragment, {
27927
+ children: [I && /* @__PURE__ */ jsxs(Fragment, {
27926
27928
  children: [/* @__PURE__ */ jsx(Spin, {}), separator$2(), separator$2()]
27927
27929
  }), /* @__PURE__ */ jsx(NewButton, {
27928
- disabled: c || v || I || C
27930
+ disabled: c || I || v || C
27929
27931
  }), /* @__PURE__ */ jsx(ActionButton, {
27930
27932
  icon: /* @__PURE__ */ jsx(SaveOutlined, {}),
27931
27933
  tooltip: P("save"),
@@ -27935,19 +27937,19 @@ function FormActionBar({
27935
27937
  }), /* @__PURE__ */ jsx(ActionButton, {
27936
27938
  icon: /* @__PURE__ */ jsx(CopyOutlined$3, {}),
27937
27939
  tooltip: P("duplicate"),
27938
- disabled: l || c || u === void 0 || C || v,
27940
+ disabled: l || c || u === void 0 || C || I,
27939
27941
  loading: C,
27940
27942
  onClick: xe
27941
27943
  }), /* @__PURE__ */ jsx(ActionButton, {
27942
27944
  icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
27943
27945
  tooltip: P("delete"),
27944
- disabled: c || u === void 0 || I || C || v,
27945
- loading: I,
27946
+ disabled: c || u === void 0 || v || C || I,
27947
+ loading: v,
27946
27948
  onClick: Ie
27947
27949
  }), separator$2(), /* @__PURE__ */ jsx(ActionButton, {
27948
27950
  icon: /* @__PURE__ */ jsx(InfoCircleOutlined$3, {}),
27949
27951
  tooltip: P("showLogs"),
27950
- disabled: c || u === void 0 || I || C || v,
27952
+ disabled: c || u === void 0 || v || C || I,
27951
27953
  loading: !1,
27952
27954
  onClick: () => {
27953
27955
  showLogInfo(g, u, P);
@@ -27955,7 +27957,7 @@ function FormActionBar({
27955
27957
  }), /* @__PURE__ */ jsx(ActionButton, {
27956
27958
  icon: /* @__PURE__ */ jsx(ReloadOutlined, {}),
27957
27959
  tooltip: P("refresh"),
27958
- disabled: c || u === void 0 || I || C || v,
27960
+ disabled: c || u === void 0 || v || C || I,
27959
27961
  loading: !1,
27960
27962
  onClick: () => {
27961
27963
  ee(() => {
@@ -28078,7 +28080,7 @@ const LinkInput = (e) => {
28078
28080
  required: d
28079
28081
  } = r, f = d && !u ? Config.requiredClass : void 0, p = useContext(FormContext$1), {
28080
28082
  elementHasLostFocus: h
28081
- } = p || {}, [g, m] = useState(!1), [I, C] = useState(!1);
28083
+ } = p || {}, [g, m] = useState(!1), [v, C] = useState(!1);
28082
28084
  return useEffect(() => {
28083
28085
  u && !g && C(!1), !o && !u && (m(!0), C(!0));
28084
28086
  }, [g, u]), /* @__PURE__ */ jsxs(Row, {
@@ -28102,7 +28104,7 @@ const LinkInput = (e) => {
28102
28104
  })
28103
28105
  }), /* @__PURE__ */ jsx(Col, {
28104
28106
  flex: "auto",
28105
- children: I ? /* @__PURE__ */ jsx(Input$1, {
28107
+ children: v ? /* @__PURE__ */ jsx(Input$1, {
28106
28108
  id: c,
28107
28109
  onChange: (y) => {
28108
28110
  a == null || a(y.target.value);
@@ -28403,11 +28405,11 @@ const GraphActionView = (e) => {
28403
28405
  setCurrentItemIndex: h = void 0,
28404
28406
  currentId: g = void 0,
28405
28407
  results: m = void 0,
28406
- setSelectedRowItems: I = void 0,
28408
+ setSelectedRowItems: v = void 0,
28407
28409
  setSearchParams: C = void 0,
28408
28410
  searchVisible: b = !0,
28409
28411
  setSearchVisible: y = void 0,
28410
- sorter: v = void 0,
28412
+ sorter: I = void 0,
28411
28413
  setSorter: O = void 0,
28412
28414
  setTotalItems: w = void 0,
28413
28415
  setSearchTreeNameSearch: _ = void 0,
@@ -28434,7 +28436,7 @@ const GraphActionView = (e) => {
28434
28436
  } = useSearch({
28435
28437
  model: a,
28436
28438
  setSearchTreeNameSearch: _,
28437
- setSelectedRowItems: I,
28439
+ setSelectedRowItems: v,
28438
28440
  searchParams: M,
28439
28441
  setSearchValues: W,
28440
28442
  setSearchParams: C,
@@ -28443,7 +28445,7 @@ const GraphActionView = (e) => {
28443
28445
  context: s,
28444
28446
  formView: c,
28445
28447
  treeView: u,
28446
- sorter: v,
28448
+ sorter: I,
28447
28449
  setSorter: O,
28448
28450
  setCurrentItemIndex: h,
28449
28451
  setResultsActionView: p,
@@ -28519,8 +28521,8 @@ const GraphActionView = (e) => {
28519
28521
  actionDomain: l,
28520
28522
  id: s,
28521
28523
  parentContext: u,
28522
- onSubmitSucceed: (m, I) => {
28523
- p.findIndex((b) => b.id === m) === -1 && (p.push(I), h(p), g(p.length - 1));
28524
+ onSubmitSucceed: (m, v) => {
28525
+ p.findIndex((b) => b.id === m) === -1 && (p.push(v), h(p), g(p.length - 1));
28524
28526
  }
28525
28527
  })]
28526
28528
  }) : null;
@@ -28600,11 +28602,11 @@ function TreeActionBar(e) {
28600
28602
  setCurrentId: h,
28601
28603
  setCurrentItemIndex: g,
28602
28604
  searchParams: m,
28603
- searchVisible: I,
28605
+ searchVisible: v,
28604
28606
  setSearchVisible: C,
28605
28607
  setSearchTreeNameSearch: b,
28606
28608
  searchTreeNameSearch: y,
28607
- treeIsLoading: v,
28609
+ treeIsLoading: I,
28608
28610
  setPreviousView: O,
28609
28611
  previousView: w,
28610
28612
  results: _,
@@ -28683,43 +28685,43 @@ function TreeActionBar(e) {
28683
28685
  wrap: !0,
28684
28686
  children: [M ? null : /* @__PURE__ */ jsxs(Fragment, {
28685
28687
  children: [/* @__PURE__ */ jsx(SearchBar, {
28686
- disabled: u || c || v,
28688
+ disabled: u || c || I,
28687
28689
  searchText: y,
28688
28690
  onSearch: (xe) => {
28689
28691
  xe && xe.trim().length > 0 ? b == null || b(xe) : b == null || b(void 0);
28690
28692
  }
28691
28693
  }), separator$1(), /* @__PURE__ */ jsx(NewButton, {
28692
- disabled: v
28694
+ disabled: I
28693
28695
  }), separator$1(), /* @__PURE__ */ jsx(ActionButton, {
28694
28696
  icon: /* @__PURE__ */ jsx(CopyOutlined$3, {}),
28695
28697
  tooltip: W("duplicate"),
28696
- disabled: !s || (s == null ? void 0 : s.length) !== 1 || u || v,
28698
+ disabled: !s || (s == null ? void 0 : s.length) !== 1 || u || I,
28697
28699
  loading: u,
28698
28700
  onClick: be
28699
28701
  }), /* @__PURE__ */ jsx(ActionButton, {
28700
28702
  icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
28701
28703
  tooltip: W("delete"),
28702
- disabled: !(s && (s == null ? void 0 : s.length) > 0) || v,
28704
+ disabled: !(s && (s == null ? void 0 : s.length) > 0) || I,
28703
28705
  loading: c,
28704
28706
  onClick: Z
28705
28707
  }), separator$1()]
28706
28708
  }), !M && /* @__PURE__ */ jsx(ButtonWithBadge, {
28707
28709
  icon: /* @__PURE__ */ jsx(FilterOutlined, {
28708
28710
  style: {
28709
- color: I ? "white" : void 0
28711
+ color: v ? "white" : void 0
28710
28712
  }
28711
28713
  }),
28712
28714
  tooltip: W("advanced_search"),
28713
- type: I ? "primary" : "default",
28715
+ type: v ? "primary" : "default",
28714
28716
  onClick: () => {
28715
- C == null || C(!I);
28717
+ C == null || C(!v);
28716
28718
  },
28717
- disabled: u || c || v,
28719
+ disabled: u || c || I,
28718
28720
  badgeNumber: m == null ? void 0 : m.length
28719
28721
  }), /* @__PURE__ */ jsx(ActionButton, {
28720
28722
  icon: /* @__PURE__ */ jsx(InfoCircleOutlined$3, {}),
28721
28723
  tooltip: W("showLogs"),
28722
- disabled: !(s && (s == null ? void 0 : s.length) > 0) || v,
28724
+ disabled: !(s && (s == null ? void 0 : s.length) > 0) || I,
28723
28725
  loading: !1,
28724
28726
  onClick: () => {
28725
28727
  showLogInfo(f, s[0].id, W);
@@ -28727,7 +28729,7 @@ function TreeActionBar(e) {
28727
28729
  }), /* @__PURE__ */ jsx(ActionButton, {
28728
28730
  icon: /* @__PURE__ */ jsx(ReloadOutlined, {}),
28729
28731
  tooltip: W("refresh"),
28730
- disabled: u || c || v,
28732
+ disabled: u || c || I,
28731
28733
  loading: !1,
28732
28734
  onClick: () => {
28733
28735
  var xe;
@@ -28741,11 +28743,11 @@ function TreeActionBar(e) {
28741
28743
  O == null || O(o), a == null || a(xe);
28742
28744
  },
28743
28745
  previousView: w,
28744
- disabled: v
28746
+ disabled: I
28745
28747
  })]
28746
28748
  }), separator$1(), /* @__PURE__ */ jsx(DropdownButton, {
28747
28749
  icon: /* @__PURE__ */ jsx(ThunderboltOutlined, {}),
28748
- disabled: !(s && (s == null ? void 0 : s.length) > 0) || v,
28750
+ disabled: !(s && (s == null ? void 0 : s.length) > 0) || I,
28749
28751
  tooltip: W("actions"),
28750
28752
  items: P == null ? void 0 : P.action,
28751
28753
  onItemClick: (xe) => {
@@ -28753,7 +28755,7 @@ function TreeActionBar(e) {
28753
28755
  }
28754
28756
  }), /* @__PURE__ */ jsx(DropdownButton, {
28755
28757
  icon: /* @__PURE__ */ jsx(PrinterOutlined, {}),
28756
- disabled: !(s && (s == null ? void 0 : s.length) > 0) || v,
28758
+ disabled: !(s && (s == null ? void 0 : s.length) > 0) || I,
28757
28759
  tooltip: W("reports"),
28758
28760
  items: P == null ? void 0 : P.print,
28759
28761
  onItemClick: (xe) => {
@@ -28819,7 +28821,7 @@ function TreeActionBar(e) {
28819
28821
  }
28820
28822
  te(!0);
28821
28823
  },
28822
- disabled: u || c || v || ee
28824
+ disabled: u || c || I || ee
28823
28825
  }), /* @__PURE__ */ jsx(ExportModal, {
28824
28826
  visible: X,
28825
28827
  locale: Q,
@@ -28829,6 +28831,7 @@ function TreeActionBar(e) {
28829
28831
  limit: A,
28830
28832
  totalRegisters: N || 0,
28831
28833
  selectedRegistersToExport: s && s.length && s.length > 0 ? s.length : void 0,
28834
+ visibleRegisters: _ == null ? void 0 : _.length,
28832
28835
  context: E
28833
28836
  })]
28834
28837
  });
@@ -28854,7 +28857,7 @@ const TreeActionView = (e) => {
28854
28857
  availableViews: g,
28855
28858
  searchTreeNameSearch: m
28856
28859
  } = e, {
28857
- currentView: I,
28860
+ currentView: v,
28858
28861
  setPreviousView: C
28859
28862
  } = useContext(ActionViewContext);
28860
28863
  return r ? /* @__PURE__ */ jsxs(Fragment, {
@@ -28878,8 +28881,8 @@ const TreeActionView = (e) => {
28878
28881
  id: y
28879
28882
  } = b;
28880
28883
  p(y);
28881
- const v = f.findIndex((w) => w.id === y);
28882
- C == null || C(I), d(v);
28884
+ const I = f.findIndex((w) => w.id === y);
28885
+ C == null || C(v), d(I);
28883
28886
  const O = g.find((w) => w.type === "form");
28884
28887
  h(O);
28885
28888
  }
@@ -28987,10 +28990,10 @@ function ActionView(e, r) {
28987
28990
  formForcedValues: h = {},
28988
28991
  res_id: g = !1,
28989
28992
  action_id: m,
28990
- action_type: I,
28993
+ action_type: v,
28991
28994
  treeExpandable: C = !1,
28992
28995
  limit: b
28993
- } = e, [y, v] = useState(), [O, w] = useState([]), [_, A] = useState(!0), N = g || void 0, [E, M] = useState(N), [P, W] = useState([]), [Q, Y] = useState(), [z, X] = useState([]), [te, ee] = useState(), [Z, se] = useState(0), [be, Ie] = useState(!1), [de, xe] = useState(!1), [J, ce] = useState(), {
28996
+ } = e, [y, I] = useState(), [O, w] = useState([]), [_, A] = useState(!0), N = g || void 0, [E, M] = useState(N), [P, W] = useState([]), [Q, Y] = useState(), [z, X] = useState([]), [te, ee] = useState(), [Z, se] = useState(0), [be, Ie] = useState(!1), [de, xe] = useState(!1), [J, ce] = useState(), {
28994
28997
  t: j
28995
28998
  } = useContext(LocaleContext), U = useRef(), ae = useRef(), Te = useContext(TabManagerContext), {
28996
28999
  setCurrentView: Re,
@@ -29006,7 +29009,7 @@ function ActionView(e, r) {
29006
29009
  M(wt), L == null || L(wt);
29007
29010
  }
29008
29011
  function Ne(wt) {
29009
- v(wt), Re == null || Re(wt);
29012
+ I(wt), Re == null || Re(wt);
29010
29013
  }
29011
29014
  useImperativeHandle(r, () => ({
29012
29015
  canWeClose: vt
@@ -29037,7 +29040,7 @@ function ActionView(e, r) {
29037
29040
  let rn;
29038
29041
  pn && (rn = {
29039
29042
  action_id: m,
29040
- action_type: I,
29043
+ action_type: v,
29041
29044
  name: c,
29042
29045
  res_id: s.active_id,
29043
29046
  res_model: a,
@@ -29129,7 +29132,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
29129
29132
  type: "form"
29130
29133
  },
29131
29134
  action_id: m,
29132
- action_type: I,
29135
+ action_type: v,
29133
29136
  res_id: wt
29134
29137
  });
29135
29138
  }
@@ -29282,11 +29285,11 @@ async function fetchAction({
29282
29285
  name: p,
29283
29286
  limit: h,
29284
29287
  view_type: g
29285
- } = l, m = g === "tree", I = [];
29286
- for (const v of f) {
29287
- const [O, w] = v;
29288
+ } = l, m = g === "tree", v = [];
29289
+ for (const I of f) {
29290
+ const [O, w] = I;
29288
29291
  if (O)
29289
- I.push(v);
29292
+ v.push(I);
29290
29293
  else {
29291
29294
  const { view_id: _ } = await ConnectionProvider.getHandler().getView({
29292
29295
  model: d,
@@ -29294,10 +29297,10 @@ async function fetchAction({
29294
29297
  id: O,
29295
29298
  context: { ...r, ...c }
29296
29299
  });
29297
- I.push([_, w]);
29300
+ v.push([_, w]);
29298
29301
  }
29299
29302
  }
29300
- const [C, b] = I[0], y = { id: C, type: b };
29303
+ const [C, b] = v[0], y = { id: C, type: b };
29301
29304
  return {
29302
29305
  title: p,
29303
29306
  actionId: e,
@@ -29418,12 +29421,12 @@ function DashboardTree(e) {
29418
29421
  domain: l = [],
29419
29422
  visible: c = !0,
29420
29423
  parentContext: u = {}
29421
- } = e, [d, f] = useState(!1), [p, h] = useState(!1), [g, m] = useState(), [I, C] = useState(), [b, y] = useState(), [v, O] = useState(1), [w, _] = useState(0), A = useRef(DEFAULT_SEARCH_LIMIT), N = useRef([]), [E, M] = useState(0), [P, W] = useState([]), [Q, Y] = useState(void 0), [z, X] = useState(), [te, ee] = useState(), [Z, se] = useState(), [be, Ie] = useState(!1), de = useRef([]), xe = (L) => {
29424
+ } = e, [d, f] = useState(!1), [p, h] = useState(!1), [g, m] = useState(), [v, C] = useState(), [b, y] = useState(), [I, O] = useState(1), [w, _] = useState(0), A = useRef(DEFAULT_SEARCH_LIMIT), N = useRef([]), [E, M] = useState(0), [P, W] = useState([]), [Q, Y] = useState(void 0), [z, X] = useState(), [te, ee] = useState(), [Z, se] = useState(), [be, Ie] = useState(!1), de = useRef([]), xe = (L) => {
29422
29425
  Ie(!0), O(L), _((L - 1) * A.current);
29423
29426
  }, J = async () => {
29424
29427
  const L = de.current.length > 0 ? de.current : l, D = mergeParams(N.current, L), {
29425
29428
  colors: we
29426
- } = getTree(I), {
29429
+ } = getTree(v), {
29427
29430
  totalItems: Le,
29428
29431
  results: et,
29429
29432
  attrsEvaluated: Ne
@@ -29432,7 +29435,7 @@ function DashboardTree(e) {
29432
29435
  limit: A.current,
29433
29436
  offset: w,
29434
29437
  model: g,
29435
- fields: I.fields,
29438
+ fields: v.fields,
29436
29439
  context: u,
29437
29440
  attrs: we && {
29438
29441
  colors: we
@@ -29443,7 +29446,7 @@ function DashboardTree(e) {
29443
29446
  resultsToSort: et,
29444
29447
  sorter: z,
29445
29448
  fields: {
29446
- ...I.fields,
29449
+ ...v.fields,
29447
29450
  ...b.fields
29448
29451
  }
29449
29452
  });
@@ -29459,7 +29462,7 @@ function DashboardTree(e) {
29459
29462
  };
29460
29463
  useEffect(() => {
29461
29464
  !p || c && ce();
29462
- }, [v, w, p, c]);
29465
+ }, [I, w, p, c]);
29463
29466
  const j = async (L) => {
29464
29467
  h(!1), f(!0), se(void 0);
29465
29468
  try {
@@ -29501,9 +29504,9 @@ function DashboardTree(e) {
29501
29504
  s({
29502
29505
  id: D,
29503
29506
  model: g,
29504
- treeView: I
29507
+ treeView: v
29505
29508
  });
29506
- }, Re = () => !I || !b ? null : /* @__PURE__ */ jsxs("div", {
29509
+ }, Re = () => !v || !b ? null : /* @__PURE__ */ jsxs("div", {
29507
29510
  style: {
29508
29511
  overflowY: "scroll"
29509
29512
  },
@@ -29516,8 +29519,8 @@ function DashboardTree(e) {
29516
29519
  showPagination: !1,
29517
29520
  total: E,
29518
29521
  limit: A.current,
29519
- page: v,
29520
- treeView: I,
29522
+ page: I,
29523
+ treeView: v,
29521
29524
  results: P,
29522
29525
  onRequestPageChange: xe,
29523
29526
  loading: be,
@@ -29530,7 +29533,7 @@ function DashboardTree(e) {
29530
29533
  resultsToSort: P,
29531
29534
  sorter: L,
29532
29535
  fields: {
29533
- ...I.fields,
29536
+ ...v.fields,
29534
29537
  ...b.fields
29535
29538
  }
29536
29539
  });
@@ -29586,7 +29589,7 @@ function Dashboard(e, r) {
29586
29589
  } = e, [c, u] = useState([]), [d, f] = useState(!1), [p, h] = useState(), {
29587
29590
  setIsLoading: g,
29588
29591
  openAction: m,
29589
- moveItemsEnabled: I
29592
+ moveItemsEnabled: v
29590
29593
  } = useContext(DashboardActionContext), C = useRef(), b = useRef();
29591
29594
  useEffect(() => {
29592
29595
  y();
@@ -29599,7 +29602,7 @@ function Dashboard(e, r) {
29599
29602
  async function y() {
29600
29603
  f(!0), g(!0), h(void 0);
29601
29604
  try {
29602
- const E = await v(), M = await w(E), P = E.fields[itemsField].relation, W = M[itemsField].items;
29605
+ const E = await I(), M = await w(E), P = E.fields[itemsField].relation, W = M[itemsField].items;
29603
29606
  b.current = E.fields;
29604
29607
  const Q = await O({
29605
29608
  items: W,
@@ -29611,7 +29614,7 @@ function Dashboard(e, r) {
29611
29614
  h(JSON.stringify(E));
29612
29615
  }
29613
29616
  }
29614
- async function v() {
29617
+ async function I() {
29615
29618
  return await ConnectionProvider.getHandler().getView({
29616
29619
  model: o,
29617
29620
  type: "form",
@@ -29663,7 +29666,7 @@ function Dashboard(e, r) {
29663
29666
  return M;
29664
29667
  }
29665
29668
  async function A(E) {
29666
- if (!I)
29669
+ if (!v)
29667
29670
  return;
29668
29671
  const M = E.filter((Y) => {
29669
29672
  const z = c.find((te) => te.id === Y.id);
@@ -29864,11 +29867,11 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
29864
29867
  } = r || {}, l = s.filter((E) => E.operation !== "pendingRemove").map((E) => E.id), [c, u] = useState([]), [d, f] = useState(), [p, h] = useState(!1), {
29865
29868
  relation: g,
29866
29869
  context: m,
29867
- readOnly: I,
29870
+ readOnly: v,
29868
29871
  field: C,
29869
29872
  columns: b
29870
29873
  } = o, y = useContext(FormContext$1), {
29871
- getContext: v
29874
+ getContext: I
29872
29875
  } = y || {};
29873
29876
  useDeepCompareEffect(() => {
29874
29877
  w();
@@ -29898,7 +29901,7 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
29898
29901
  params: E,
29899
29902
  fields: [C],
29900
29903
  context: {
29901
- ...v == null ? void 0 : v(),
29904
+ ...I == null ? void 0 : I(),
29902
29905
  ...m
29903
29906
  }
29904
29907
  })).map((W) => {
@@ -29947,7 +29950,7 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
29947
29950
  className: "flex flex-row",
29948
29951
  children: [/* @__PURE__ */ jsx(Checkbox.Group, {
29949
29952
  value: c.length ? l : [],
29950
- disabled: I,
29953
+ disabled: v,
29951
29954
  onChange: N,
29952
29955
  style: {
29953
29956
  width: "100%"
@@ -29961,7 +29964,7 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
29961
29964
  })
29962
29965
  }))
29963
29966
  })
29964
- }), !I && /* @__PURE__ */ jsxs(Space, {
29967
+ }), !v && /* @__PURE__ */ jsxs(Space, {
29965
29968
  children: [/* @__PURE__ */ jsx(Button$1, {
29966
29969
  onClick: _,
29967
29970
  disabled: l.length == c.length,
@@ -30123,7 +30126,7 @@ function RootView(e, r) {
30123
30126
  content: /* @__PURE__ */ jsx(Welcome, {})
30124
30127
  }]), p = useRef(/* @__PURE__ */ new Map()), h = useRef();
30125
30128
  useImperativeHandle(r, () => ({
30126
- retrieveAndOpenAction: I,
30129
+ retrieveAndOpenAction: v,
30127
30130
  openShortcut: y
30128
30131
  }));
30129
30132
  function g(w) {
@@ -30139,7 +30142,7 @@ function RootView(e, r) {
30139
30142
  }) {
30140
30143
  p.current.set(w, _);
30141
30144
  }
30142
- async function I({
30145
+ async function v({
30143
30146
  action: w,
30144
30147
  values: _,
30145
30148
  forced_values: A,
@@ -30376,7 +30379,7 @@ function RootView(e, r) {
30376
30379
  limit: Z
30377
30380
  });
30378
30381
  }
30379
- async function v({
30382
+ async function I({
30380
30383
  model: w,
30381
30384
  values: _,
30382
30385
  forced_values: A,
@@ -30385,7 +30388,7 @@ function RootView(e, r) {
30385
30388
  domain: M
30386
30389
  }) {
30387
30390
  const P = await ConnectionProvider.getHandler().getActionStringForModel(w);
30388
- await I({
30391
+ await v({
30389
30392
  action: P,
30390
30393
  values: _,
30391
30394
  forced_values: A,
@@ -30477,7 +30480,7 @@ function RootView(e, r) {
30477
30480
  openShortcut: y,
30478
30481
  openAction: O,
30479
30482
  openRelate: b,
30480
- openDefaultActionForModel: v,
30483
+ openDefaultActionForModel: I,
30481
30484
  tabs: d,
30482
30485
  activeKey: c,
30483
30486
  onRemoveTab: async (w) => {
@@ -30604,11 +30607,11 @@ const FavouriteButton = (e) => {
30604
30607
  onCheckIsFavourite: o,
30605
30608
  onAddFavourite: a,
30606
30609
  onRemoveFavourite: s
30607
- } = e, [l, c] = useState(!1), [u, d] = useState(!1), [f, p] = useState([]), [h, g] = useState(!0), [m, I] = useState(), {
30610
+ } = e, [l, c] = useState(!1), [u, d] = useState(!1), [f, p] = useState([]), [h, g] = useState(!0), [m, v] = useState(), {
30608
30611
  t: C
30609
30612
  } = useContext(LocaleContext), b = useContext(TabManagerContext), {
30610
30613
  openShortcut: y,
30611
- tabs: v,
30614
+ tabs: I,
30612
30615
  activeKey: O,
30613
30616
  currentView: w,
30614
30617
  currentId: _,
@@ -30618,7 +30621,7 @@ const FavouriteButton = (e) => {
30618
30621
  N();
30619
30622
  }, []), useEffect(() => {
30620
30623
  P();
30621
- }, [v, O, w, _]);
30624
+ }, [I, O, w, _]);
30622
30625
  async function N() {
30623
30626
  try {
30624
30627
  g(!0);
@@ -30642,7 +30645,7 @@ const FavouriteButton = (e) => {
30642
30645
  async function P() {
30643
30646
  if (!w)
30644
30647
  return;
30645
- const X = v.find((Ie) => Ie.key === O), {
30648
+ const X = I.find((Ie) => Ie.key === O), {
30646
30649
  id: te,
30647
30650
  type: ee
30648
30651
  } = (X == null ? void 0 : X.action) || {};
@@ -30659,7 +30662,7 @@ const FavouriteButton = (e) => {
30659
30662
  view_id: Z,
30660
30663
  res_id: se
30661
30664
  });
30662
- be !== !1 && I(be), c(be !== !1);
30665
+ be !== !1 && v(be), c(be !== !1);
30663
30666
  }
30664
30667
  async function W() {
30665
30668
  d(!1), A == null || A({
@@ -30740,7 +30743,7 @@ const FavouriteButton = (e) => {
30740
30743
  else {
30741
30744
  if (!w)
30742
30745
  return;
30743
- const X = v.find((be) => be.key === O), {
30746
+ const X = I.find((be) => be.key === O), {
30744
30747
  id: te,
30745
30748
  type: ee
30746
30749
  } = (X == null ? void 0 : X.action) || {}, Z = w.view_id;