@gisce/react-ooui 1.0.9-rc.0 → 1.0.9-rc.1

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.
@@ -10,7 +10,7 @@ import styled from "styled-components";
10
10
  import Measure from "react-measure";
11
11
  import { Line, Column, Pie } from "@ant-design/plots";
12
12
  import useDeepCompareEffect from "use-deep-compare-effect";
13
- import require$$0, { Buffer } from "buffer";
13
+ import require$$0, { Buffer as Buffer$1 } from "buffer";
14
14
  import { Table } from "@gisce/react-formiga-table";
15
15
  import { GridUi } from "fiber-diagram";
16
16
  import { useHotkeys } from "react-hotkeys-hook";
@@ -4250,7 +4250,7 @@ function getAugmentedNamespace(e) {
4250
4250
  });
4251
4251
  }), n;
4252
4252
  }
4253
- var TextArea$3 = {}, interopRequireWildcard = { exports: {} }, _typeof$2 = { exports: {} };
4253
+ var TextArea$2 = {}, interopRequireWildcard = { exports: {} }, _typeof$2 = { exports: {} };
4254
4254
  (function(e) {
4255
4255
  function t(n) {
4256
4256
  return e.exports = t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
@@ -4570,116 +4570,6 @@ function _objectSpread2$1(e) {
4570
4570
  function findDOMNode(e) {
4571
4571
  return e instanceof HTMLElement ? e : ReactDOM.findDOMNode(e);
4572
4572
  }
4573
- var browser$2 = { exports: {} }, process = browser$2.exports = {}, cachedSetTimeout, cachedClearTimeout;
4574
- function defaultSetTimout() {
4575
- throw new Error("setTimeout has not been defined");
4576
- }
4577
- function defaultClearTimeout() {
4578
- throw new Error("clearTimeout has not been defined");
4579
- }
4580
- (function() {
4581
- try {
4582
- typeof setTimeout == "function" ? cachedSetTimeout = setTimeout : cachedSetTimeout = defaultSetTimout;
4583
- } catch {
4584
- cachedSetTimeout = defaultSetTimout;
4585
- }
4586
- try {
4587
- typeof clearTimeout == "function" ? cachedClearTimeout = clearTimeout : cachedClearTimeout = defaultClearTimeout;
4588
- } catch {
4589
- cachedClearTimeout = defaultClearTimeout;
4590
- }
4591
- })();
4592
- function runTimeout(e) {
4593
- if (cachedSetTimeout === setTimeout)
4594
- return setTimeout(e, 0);
4595
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout)
4596
- return cachedSetTimeout = setTimeout, setTimeout(e, 0);
4597
- try {
4598
- return cachedSetTimeout(e, 0);
4599
- } catch {
4600
- try {
4601
- return cachedSetTimeout.call(null, e, 0);
4602
- } catch {
4603
- return cachedSetTimeout.call(this, e, 0);
4604
- }
4605
- }
4606
- }
4607
- function runClearTimeout(e) {
4608
- if (cachedClearTimeout === clearTimeout)
4609
- return clearTimeout(e);
4610
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout)
4611
- return cachedClearTimeout = clearTimeout, clearTimeout(e);
4612
- try {
4613
- return cachedClearTimeout(e);
4614
- } catch {
4615
- try {
4616
- return cachedClearTimeout.call(null, e);
4617
- } catch {
4618
- return cachedClearTimeout.call(this, e);
4619
- }
4620
- }
4621
- }
4622
- var queue = [], draining = !1, currentQueue, queueIndex = -1;
4623
- function cleanUpNextTick() {
4624
- !draining || !currentQueue || (draining = !1, currentQueue.length ? queue = currentQueue.concat(queue) : queueIndex = -1, queue.length && drainQueue());
4625
- }
4626
- function drainQueue() {
4627
- if (!draining) {
4628
- var e = runTimeout(cleanUpNextTick);
4629
- draining = !0;
4630
- for (var t = queue.length; t; ) {
4631
- for (currentQueue = queue, queue = []; ++queueIndex < t; )
4632
- currentQueue && currentQueue[queueIndex].run();
4633
- queueIndex = -1, t = queue.length;
4634
- }
4635
- currentQueue = null, draining = !1, runClearTimeout(e);
4636
- }
4637
- }
4638
- process.nextTick = function(e) {
4639
- var t = new Array(arguments.length - 1);
4640
- if (arguments.length > 1)
4641
- for (var n = 1; n < arguments.length; n++)
4642
- t[n - 1] = arguments[n];
4643
- queue.push(new Item(e, t)), queue.length === 1 && !draining && runTimeout(drainQueue);
4644
- };
4645
- function Item(e, t) {
4646
- this.fun = e, this.array = t;
4647
- }
4648
- Item.prototype.run = function() {
4649
- this.fun.apply(null, this.array);
4650
- };
4651
- process.title = "browser";
4652
- process.browser = !0;
4653
- process.env = {};
4654
- process.argv = [];
4655
- process.version = "";
4656
- process.versions = {};
4657
- function noop$3() {
4658
- }
4659
- process.on = noop$3;
4660
- process.addListener = noop$3;
4661
- process.once = noop$3;
4662
- process.off = noop$3;
4663
- process.removeListener = noop$3;
4664
- process.removeAllListeners = noop$3;
4665
- process.emit = noop$3;
4666
- process.prependListener = noop$3;
4667
- process.prependOnceListener = noop$3;
4668
- process.listeners = function(e) {
4669
- return [];
4670
- };
4671
- process.binding = function(e) {
4672
- throw new Error("process.binding is not supported");
4673
- };
4674
- process.cwd = function() {
4675
- return "/";
4676
- };
4677
- process.chdir = function(e) {
4678
- throw new Error("process.chdir is not supported");
4679
- };
4680
- process.umask = function() {
4681
- return 0;
4682
- };
4683
4573
  var reactIs = { exports: {} }, reactIs_production_min = {};
4684
4574
  /** @license React v16.13.1
4685
4575
  * react-is.production.min.js
@@ -4756,9 +4646,18 @@ function requireReactIs_production_min() {
4756
4646
  return typeof w == "string" || typeof w == "function" || w === r || w === u || w === a || w === o || w === f || w === h || typeof w == "object" && w !== null && (w.$$typeof === g || w.$$typeof === p || w.$$typeof === s || w.$$typeof === c || w.$$typeof === d || w.$$typeof === x || w.$$typeof === I || w.$$typeof === m || w.$$typeof === v);
4757
4647
  }, reactIs_production_min.typeOf = y, reactIs_production_min;
4758
4648
  }
4759
- var reactIs_development = {}, hasRequiredReactIs_development;
4649
+ var reactIs_development = {};
4650
+ /** @license React v16.13.1
4651
+ * react-is.development.js
4652
+ *
4653
+ * Copyright (c) Facebook, Inc. and its affiliates.
4654
+ *
4655
+ * This source code is licensed under the MIT license found in the
4656
+ * LICENSE file in the root directory of this source tree.
4657
+ */
4658
+ var hasRequiredReactIs_development;
4760
4659
  function requireReactIs_development() {
4761
- return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, browser$2.exports.env.NODE_ENV !== "production" && function() {
4660
+ return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
4762
4661
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
4763
4662
  function y(S) {
4764
4663
  return typeof S == "string" || typeof S == "function" || S === r || S === u || S === a || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === g || S.$$typeof === p || S.$$typeof === s || S.$$typeof === c || S.$$typeof === d || S.$$typeof === x || S.$$typeof === I || S.$$typeof === m || S.$$typeof === v);
@@ -4795,9 +4694,9 @@ function requireReactIs_development() {
4795
4694
  }
4796
4695
  }
4797
4696
  }
4798
- var w = l, O = u, _ = c, b = s, T = t, F = d, k = r, L = g, D = p, P = n, M = a, q = o, j = f, $ = !1;
4697
+ var w = l, O = u, _ = c, b = s, T = t, F = d, k = r, $ = g, D = p, P = n, M = a, q = o, j = f, L = !1;
4799
4698
  function H(S) {
4800
- return $ || ($ = !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.")), K(S) || C(S) === l;
4699
+ return L || (L = !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.")), K(S) || C(S) === l;
4801
4700
  }
4802
4701
  function K(S) {
4803
4702
  return C(S) === u;
@@ -4835,13 +4734,13 @@ function requireReactIs_development() {
4835
4734
  function E(S) {
4836
4735
  return C(S) === f;
4837
4736
  }
4838
- reactIs_development.AsyncMode = w, reactIs_development.ConcurrentMode = O, reactIs_development.ContextConsumer = _, reactIs_development.ContextProvider = b, reactIs_development.Element = T, reactIs_development.ForwardRef = F, reactIs_development.Fragment = k, reactIs_development.Lazy = L, reactIs_development.Memo = D, reactIs_development.Portal = P, reactIs_development.Profiler = M, reactIs_development.StrictMode = q, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = H, reactIs_development.isConcurrentMode = K, reactIs_development.isContextConsumer = G, reactIs_development.isContextProvider = z, reactIs_development.isElement = V, reactIs_development.isForwardRef = U, reactIs_development.isFragment = Y, reactIs_development.isLazy = B, reactIs_development.isMemo = A, reactIs_development.isPortal = N, reactIs_development.isProfiler = Z, reactIs_development.isStrictMode = Q, reactIs_development.isSuspense = E, reactIs_development.isValidElementType = y, reactIs_development.typeOf = C;
4737
+ reactIs_development.AsyncMode = w, reactIs_development.ConcurrentMode = O, reactIs_development.ContextConsumer = _, reactIs_development.ContextProvider = b, reactIs_development.Element = T, reactIs_development.ForwardRef = F, reactIs_development.Fragment = k, reactIs_development.Lazy = $, reactIs_development.Memo = D, reactIs_development.Portal = P, reactIs_development.Profiler = M, reactIs_development.StrictMode = q, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = H, reactIs_development.isConcurrentMode = K, reactIs_development.isContextConsumer = G, reactIs_development.isContextProvider = z, reactIs_development.isElement = V, reactIs_development.isForwardRef = U, reactIs_development.isFragment = Y, reactIs_development.isLazy = B, reactIs_development.isMemo = A, reactIs_development.isPortal = N, reactIs_development.isProfiler = Z, reactIs_development.isStrictMode = Q, reactIs_development.isSuspense = E, reactIs_development.isValidElementType = y, reactIs_development.typeOf = C;
4839
4738
  }()), reactIs_development;
4840
4739
  }
4841
4740
  var hasRequiredReactIs;
4842
4741
  function requireReactIs() {
4843
4742
  return hasRequiredReactIs || (hasRequiredReactIs = 1, function(e) {
4844
- browser$2.exports.env.NODE_ENV === "production" ? e.exports = requireReactIs_production_min() : e.exports = requireReactIs_development();
4743
+ process.env.NODE_ENV === "production" ? e.exports = requireReactIs_production_min() : e.exports = requireReactIs_development();
4845
4744
  }(reactIs)), reactIs.exports;
4846
4745
  }
4847
4746
  var reactIsExports = requireReactIs();
@@ -4853,7 +4752,7 @@ function toArray$3(e) {
4853
4752
  }
4854
4753
  var warned = {};
4855
4754
  function warning$5(e, t) {
4856
- browser$2.exports.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(t));
4755
+ process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(t));
4857
4756
  }
4858
4757
  function call$1(e, t, n) {
4859
4758
  !t && !warned[n] && (e(!1, n), warned[n] = !0);
@@ -4877,7 +4776,6 @@ function supportRef(e) {
4877
4776
  var t, n, r = reactIsExports.isMemo(e) ? e.type.type : e.type;
4878
4777
  return !(typeof r == "function" && !(!((t = r.prototype) === null || t === void 0) && t.render) || typeof e == "function" && !(!((n = e.prototype) === null || n === void 0) && n.render));
4879
4778
  }
4880
- const global$2 = typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {};
4881
4779
  var MapShim = function() {
4882
4780
  if (typeof Map < "u")
4883
4781
  return Map;
@@ -4919,7 +4817,7 @@ var MapShim = function() {
4919
4817
  }, t;
4920
4818
  }();
4921
4819
  }(), isBrowser = typeof window < "u" && typeof document < "u" && window.document === document, global$1 = function() {
4922
- return typeof global$2 < "u" && global$2.Math === Math ? global$2 : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
4820
+ return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
4923
4821
  }(), requestAnimationFrame$1 = function() {
4924
4822
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(global$1) : function(e) {
4925
4823
  return setTimeout(function() {
@@ -5431,7 +5329,7 @@ var ResizableTextArea = /* @__PURE__ */ function(e) {
5431
5329
  return this.renderTextArea();
5432
5330
  }
5433
5331
  }]), n;
5434
- }(React.Component), TextArea$2 = /* @__PURE__ */ function(e) {
5332
+ }(React.Component), TextArea$1 = /* @__PURE__ */ function(e) {
5435
5333
  _inherits(n, e);
5436
5334
  var t = _createSuper(n);
5437
5335
  function n(r) {
@@ -5489,7 +5387,7 @@ var ResizableTextArea = /* @__PURE__ */ function(e) {
5489
5387
  const es$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5490
5388
  __proto__: null,
5491
5389
  ResizableTextArea,
5492
- default: TextArea$2
5390
+ default: TextArea$1
5493
5391
  }, Symbol.toStringTag, { value: "Module" })), require$$8 = /* @__PURE__ */ getAugmentedNamespace(es$3);
5494
5392
  var omit = {}, hasRequiredOmit;
5495
5393
  function requireOmit() {
@@ -6198,10 +6096,10 @@ function requireWarning$1() {
6198
6096
  }), warning$4.call = o, warning$4.default = void 0, warning$4.note = n, warning$4.noteOnce = s, warning$4.resetWarned = r, warning$4.warning = t, warning$4.warningOnce = a;
6199
6097
  var e = {};
6200
6098
  function t(l, u) {
6201
- browser$2.exports.env.NODE_ENV !== "production" && !l && console !== void 0 && console.error("Warning: ".concat(u));
6099
+ process.env.NODE_ENV !== "production" && !l && console !== void 0 && console.error("Warning: ".concat(u));
6202
6100
  }
6203
6101
  function n(l, u) {
6204
- browser$2.exports.env.NODE_ENV !== "production" && !l && console !== void 0 && console.warn("Note: ".concat(u));
6102
+ process.env.NODE_ENV !== "production" && !l && console !== void 0 && console.warn("Note: ".concat(u));
6205
6103
  }
6206
6104
  function r() {
6207
6105
  e = {};
@@ -6497,12 +6395,12 @@ function requireAntdIcon() {
6497
6395
  var n = e(requireObjectSpread2()), r = e(requireSlicedToArray()), o = e(requireDefineProperty()), a = e(requireObjectWithoutProperties()), s = t(React__default), c = e(requireClassnames()), l = e(requireContext$2()), u = e(requireIconBase()), d = requireTwoTonePrimaryColor(), f = requireUtils(), h = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
6498
6396
  (0, d.setTwoToneColor)("#1890ff");
6499
6397
  var p = /* @__PURE__ */ s.forwardRef(function(v, x) {
6500
- var I, m = v.className, y = v.icon, C = v.spin, w = v.rotate, O = v.tabIndex, _ = v.onClick, b = v.twoToneColor, T = (0, a.default)(v, h), F = s.useContext(l.default), k = F.prefixCls, L = k === void 0 ? "anticon" : k, D = (0, c.default)(L, (I = {}, (0, o.default)(I, "".concat(L, "-").concat(y.name), !!y.name), (0, o.default)(I, "".concat(L, "-spin"), !!C || y.name === "loading"), I), m), P = O;
6398
+ var I, m = v.className, y = v.icon, C = v.spin, w = v.rotate, O = v.tabIndex, _ = v.onClick, b = v.twoToneColor, T = (0, a.default)(v, h), F = s.useContext(l.default), k = F.prefixCls, $ = k === void 0 ? "anticon" : k, D = (0, c.default)($, (I = {}, (0, o.default)(I, "".concat($, "-").concat(y.name), !!y.name), (0, o.default)(I, "".concat($, "-spin"), !!C || y.name === "loading"), I), m), P = O;
6501
6399
  P === void 0 && _ && (P = -1);
6502
6400
  var M = w ? {
6503
6401
  msTransform: "rotate(".concat(w, "deg)"),
6504
6402
  transform: "rotate(".concat(w, "deg)")
6505
- } : void 0, q = (0, f.normalizeTwoToneColors)(b), j = (0, r.default)(q, 2), $ = j[0], H = j[1];
6403
+ } : void 0, q = (0, f.normalizeTwoToneColors)(b), j = (0, r.default)(q, 2), L = j[0], H = j[1];
6506
6404
  return /* @__PURE__ */ s.createElement("span", (0, n.default)((0, n.default)({
6507
6405
  role: "img",
6508
6406
  "aria-label": y.name
@@ -6513,7 +6411,7 @@ function requireAntdIcon() {
6513
6411
  className: D
6514
6412
  }), /* @__PURE__ */ s.createElement(u.default, {
6515
6413
  icon: y,
6516
- primaryColor: $,
6414
+ primaryColor: L,
6517
6415
  secondaryColor: H,
6518
6416
  style: M
6519
6417
  }));
@@ -6686,8 +6584,8 @@ function requireRegeneratorRuntime() {
6686
6584
  };
6687
6585
  }
6688
6586
  function f(D, P, M, q) {
6689
- var j = P && P.prototype instanceof g ? P : g, $ = Object.create(j.prototype), H = new F(q || []);
6690
- return $._invoke = function(K, G, z) {
6587
+ var j = P && P.prototype instanceof g ? P : g, L = Object.create(j.prototype), H = new F(q || []);
6588
+ return L._invoke = function(K, G, z) {
6691
6589
  var V = "suspendedStart";
6692
6590
  return function(U, Y) {
6693
6591
  if (V === "executing")
@@ -6695,7 +6593,7 @@ function requireRegeneratorRuntime() {
6695
6593
  if (V === "completed") {
6696
6594
  if (U === "throw")
6697
6595
  throw Y;
6698
- return L();
6596
+ return $();
6699
6597
  }
6700
6598
  for (z.method = U, z.arg = Y; ; ) {
6701
6599
  var B = z.delegate;
@@ -6728,7 +6626,7 @@ function requireRegeneratorRuntime() {
6728
6626
  N.type === "throw" && (V = "completed", z.method = "throw", z.arg = N.arg);
6729
6627
  }
6730
6628
  };
6731
- }(D, M, H), $;
6629
+ }(D, M, H), L;
6732
6630
  }
6733
6631
  function h(D, P, M) {
6734
6632
  try {
@@ -6766,8 +6664,8 @@ function requireRegeneratorRuntime() {
6766
6664
  });
6767
6665
  }
6768
6666
  function O(D, P) {
6769
- function M(j, $, H, K) {
6770
- var G = h(D[j], D, $);
6667
+ function M(j, L, H, K) {
6668
+ var G = h(D[j], D, L);
6771
6669
  if (G.type !== "throw") {
6772
6670
  var z = G.arg, V = z.value;
6773
6671
  return V && t(V) == "object" && a.call(V, "__await") ? P.resolve(V.__await).then(function(U) {
@@ -6783,10 +6681,10 @@ function requireRegeneratorRuntime() {
6783
6681
  K(G.arg);
6784
6682
  }
6785
6683
  var q;
6786
- this._invoke = function(j, $) {
6684
+ this._invoke = function(j, L) {
6787
6685
  function H() {
6788
6686
  return new P(function(K, G) {
6789
- M(j, $, K, G);
6687
+ M(j, L, K, G);
6790
6688
  });
6791
6689
  }
6792
6690
  return q = q ? q.then(H, H) : H();
@@ -6841,10 +6739,10 @@ function requireRegeneratorRuntime() {
6841
6739
  }
6842
6740
  }
6843
6741
  return {
6844
- next: L
6742
+ next: $
6845
6743
  };
6846
6744
  }
6847
- function L() {
6745
+ function $() {
6848
6746
  return {
6849
6747
  value: void 0,
6850
6748
  done: !0
@@ -6863,9 +6761,9 @@ function requireRegeneratorRuntime() {
6863
6761
  return this;
6864
6762
  }), r.AsyncIterator = O, r.async = function(D, P, M, q, j) {
6865
6763
  j === void 0 && (j = Promise);
6866
- var $ = new O(f(D, P, M, q), j);
6867
- return r.isGeneratorFunction(P) ? $ : $.next().then(function(H) {
6868
- return H.done ? H.value : $.next();
6764
+ var L = new O(f(D, P, M, q), j);
6765
+ return r.isGeneratorFunction(P) ? L : L.next().then(function(H) {
6766
+ return H.done ? H.value : L.next();
6869
6767
  });
6870
6768
  }, w(C), d(C, u, "Generator"), d(C, c, function() {
6871
6769
  return this;
@@ -6905,24 +6803,24 @@ function requireRegeneratorRuntime() {
6905
6803
  return H.type = "throw", H.arg = P, M.next = z, V && (M.method = "next", M.arg = void 0), !!V;
6906
6804
  }
6907
6805
  for (var j = this.tryEntries.length - 1; j >= 0; --j) {
6908
- var $ = this.tryEntries[j], H = $.completion;
6909
- if ($.tryLoc === "root")
6806
+ var L = this.tryEntries[j], H = L.completion;
6807
+ if (L.tryLoc === "root")
6910
6808
  return q("end");
6911
- if ($.tryLoc <= this.prev) {
6912
- var K = a.call($, "catchLoc"), G = a.call($, "finallyLoc");
6809
+ if (L.tryLoc <= this.prev) {
6810
+ var K = a.call(L, "catchLoc"), G = a.call(L, "finallyLoc");
6913
6811
  if (K && G) {
6914
- if (this.prev < $.catchLoc)
6915
- return q($.catchLoc, !0);
6916
- if (this.prev < $.finallyLoc)
6917
- return q($.finallyLoc);
6812
+ if (this.prev < L.catchLoc)
6813
+ return q(L.catchLoc, !0);
6814
+ if (this.prev < L.finallyLoc)
6815
+ return q(L.finallyLoc);
6918
6816
  } else if (K) {
6919
- if (this.prev < $.catchLoc)
6920
- return q($.catchLoc, !0);
6817
+ if (this.prev < L.catchLoc)
6818
+ return q(L.catchLoc, !0);
6921
6819
  } else {
6922
6820
  if (!G)
6923
6821
  throw new Error("try statement without catch or finally");
6924
- if (this.prev < $.finallyLoc)
6925
- return q($.finallyLoc);
6822
+ if (this.prev < L.finallyLoc)
6823
+ return q(L.finallyLoc);
6926
6824
  }
6927
6825
  }
6928
6826
  }
@@ -6931,13 +6829,13 @@ function requireRegeneratorRuntime() {
6931
6829
  for (var q = this.tryEntries.length - 1; q >= 0; --q) {
6932
6830
  var j = this.tryEntries[q];
6933
6831
  if (j.tryLoc <= this.prev && a.call(j, "finallyLoc") && this.prev < j.finallyLoc) {
6934
- var $ = j;
6832
+ var L = j;
6935
6833
  break;
6936
6834
  }
6937
6835
  }
6938
- $ && (P === "break" || P === "continue") && $.tryLoc <= M && M <= $.finallyLoc && ($ = null);
6939
- var H = $ ? $.completion : {};
6940
- return H.type = P, H.arg = M, $ ? (this.method = "next", this.next = $.finallyLoc, p) : this.complete(H);
6836
+ L && (P === "break" || P === "continue") && L.tryLoc <= M && M <= L.finallyLoc && (L = null);
6837
+ var H = L ? L.completion : {};
6838
+ return H.type = P, H.arg = M, L ? (this.method = "next", this.next = L.finallyLoc, p) : this.complete(H);
6941
6839
  },
6942
6840
  complete: function(P, M) {
6943
6841
  if (P.type === "throw")
@@ -6957,10 +6855,10 @@ function requireRegeneratorRuntime() {
6957
6855
  if (q.tryLoc === P) {
6958
6856
  var j = q.completion;
6959
6857
  if (j.type === "throw") {
6960
- var $ = j.arg;
6858
+ var L = j.arg;
6961
6859
  T(q);
6962
6860
  }
6963
- return $;
6861
+ return L;
6964
6862
  }
6965
6863
  }
6966
6864
  throw new Error("illegal catch attempt");
@@ -7089,7 +6987,7 @@ function _wrapNativeSuper(e) {
7089
6987
  }
7090
6988
  var formatRegExp = /%[sdj%]/g, warning$3 = function() {
7091
6989
  };
7092
- typeof browser$2.exports < "u" && browser$2.exports.env && browser$2.exports.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (warning$3 = function(t, n) {
6990
+ typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (warning$3 = function(t, n) {
7093
6991
  typeof console < "u" && console.warn && n.every(function(r) {
7094
6992
  return typeof r == "string";
7095
6993
  }) && console.warn(t, n);
@@ -7601,8 +7499,8 @@ Schema.prototype = {
7601
7499
  var k = Array.isArray(b[F]) ? b[F] : [b[F]];
7602
7500
  b[F] = k.map(y.bind(null, F));
7603
7501
  }
7604
- var L = new Schema(b);
7605
- L.messages(s.messages), v.rule.options && (v.rule.options.messages = s.messages, v.rule.options.error = s.error), L.validate(v.value, v.rule.options || s, function(D) {
7502
+ var $ = new Schema(b);
7503
+ $.messages(s.messages), v.rule.options && (v.rule.options.messages = s.messages, v.rule.options.error = s.error), $.validate(v.value, v.rule.options || s, function(D) {
7606
7504
  var P = [];
7607
7505
  _ && _.length && P.push.apply(P, _), D && D.length && P.push.apply(P, D), x(P.length ? P : null);
7608
7506
  });
@@ -8112,29 +8010,29 @@ var Field = /* @__PURE__ */ function(e) {
8112
8010
  var u = o.props.fieldContext.getFieldsValue, d = o.getNamePath();
8113
8011
  return getValue(l || u(!0), d);
8114
8012
  }, o.getControlled = function() {
8115
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = o.props, d = u.trigger, f = u.validateTrigger, h = u.getValueFromEvent, p = u.normalize, g = u.valuePropName, v = u.getValueProps, x = u.fieldContext, I = f !== void 0 ? f : x.validateTrigger, m = o.getNamePath(), y = x.getInternalHooks, C = x.getFieldsValue, w = y(HOOK_MARK), O = w.dispatch, _ = o.getValue(), b = v || function(L) {
8116
- return _defineProperty$1({}, g, L);
8013
+ var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = o.props, d = u.trigger, f = u.validateTrigger, h = u.getValueFromEvent, p = u.normalize, g = u.valuePropName, v = u.getValueProps, x = u.fieldContext, I = f !== void 0 ? f : x.validateTrigger, m = o.getNamePath(), y = x.getInternalHooks, C = x.getFieldsValue, w = y(HOOK_MARK), O = w.dispatch, _ = o.getValue(), b = v || function($) {
8014
+ return _defineProperty$1({}, g, $);
8117
8015
  }, T = l[d], F = _objectSpread2$1(_objectSpread2$1({}, l), b(_));
8118
8016
  F[d] = function() {
8119
8017
  o.touched = !0, o.dirty = !0;
8120
- for (var L, D = arguments.length, P = new Array(D), M = 0; M < D; M++)
8018
+ for (var $, D = arguments.length, P = new Array(D), M = 0; M < D; M++)
8121
8019
  P[M] = arguments[M];
8122
- h ? L = h.apply(void 0, P) : L = defaultGetValueFromEvent.apply(void 0, [g].concat(P)), p && (L = p(L, _, C(!0))), O({
8020
+ h ? $ = h.apply(void 0, P) : $ = defaultGetValueFromEvent.apply(void 0, [g].concat(P)), p && ($ = p($, _, C(!0))), O({
8123
8021
  type: "updateValue",
8124
8022
  namePath: m,
8125
- value: L
8023
+ value: $
8126
8024
  }), T && T.apply(void 0, P);
8127
8025
  };
8128
8026
  var k = toArray$2(I || []);
8129
- return k.forEach(function(L) {
8130
- var D = F[L];
8131
- F[L] = function() {
8027
+ return k.forEach(function($) {
8028
+ var D = F[$];
8029
+ F[$] = function() {
8132
8030
  D && D.apply(void 0, arguments);
8133
8031
  var P = o.props.rules;
8134
8032
  P && P.length && O({
8135
8033
  type: "validateField",
8136
8034
  namePath: m,
8137
- triggerName: L
8035
+ triggerName: $
8138
8036
  });
8139
8037
  };
8140
8038
  }), F;
@@ -8182,7 +8080,7 @@ Field.defaultProps = {
8182
8080
  };
8183
8081
  function WrapperField(e) {
8184
8082
  var t = e.name, n = _objectWithoutProperties(e, ["name"]), r = React.useContext(Context), o = t !== void 0 ? getNamePath(t) : void 0, a = "keep";
8185
- return n.isListField || (a = "_".concat((o || []).join("_"))), browser$2.exports.env.NODE_ENV !== "production" && warningOnce(n.preserve !== !1 || !n.isListField, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ jsx(Field, {
8083
+ return n.isListField || (a = "_".concat((o || []).join("_"))), process.env.NODE_ENV !== "production" && warningOnce(n.preserve !== !1 || !n.isListField, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ jsx(Field, {
8186
8084
  name: o,
8187
8085
  ...n,
8188
8086
  fieldContext: r
@@ -8217,7 +8115,7 @@ var List = function(t) {
8217
8115
  }, C = {
8218
8116
  add: function(_, b) {
8219
8117
  var T = y();
8220
- b >= 0 && b <= T.length ? (u.keys = [].concat(_toConsumableArray(u.keys.slice(0, b)), [u.id], _toConsumableArray(u.keys.slice(b))), I([].concat(_toConsumableArray(T.slice(0, b)), [_], _toConsumableArray(T.slice(b))))) : (browser$2.exports.env.NODE_ENV !== "production" && (b < 0 || b > T.length) && warningOnce(!1, "The second parameter of the add function should be a valid positive number."), u.keys = [].concat(_toConsumableArray(u.keys), [u.id]), I([].concat(_toConsumableArray(T), [_]))), u.id += 1;
8118
+ b >= 0 && b <= T.length ? (u.keys = [].concat(_toConsumableArray(u.keys.slice(0, b)), [u.id], _toConsumableArray(u.keys.slice(b))), I([].concat(_toConsumableArray(T.slice(0, b)), [_], _toConsumableArray(T.slice(b))))) : (process.env.NODE_ENV !== "production" && (b < 0 || b > T.length) && warningOnce(!1, "The second parameter of the add function should be a valid positive number."), u.keys = [].concat(_toConsumableArray(u.keys), [u.id]), I([].concat(_toConsumableArray(T), [_]))), u.id += 1;
8221
8119
  },
8222
8120
  remove: function(_) {
8223
8121
  var b = y(), T = new Set(Array.isArray(_) ? _ : [_]);
@@ -8234,7 +8132,7 @@ var List = function(t) {
8234
8132
  }
8235
8133
  }
8236
8134
  }, w = x || [];
8237
- return Array.isArray(w) || (w = [], browser$2.exports.env.NODE_ENV !== "production" && warningOnce(!1, "Current value of '".concat(f.join(" > "), "' is not an array type."))), o(w.map(function(O, _) {
8135
+ return Array.isArray(w) || (w = [], process.env.NODE_ENV !== "production" && warningOnce(!1, "Current value of '".concat(f.join(" > "), "' is not an array type."))), o(w.map(function(O, _) {
8238
8136
  var b = u.keys[_];
8239
8137
  return b === void 0 && (u.keys[_] = u.id, b = u.keys[_], u.id += 1), {
8240
8138
  name: _,
@@ -8380,7 +8278,7 @@ var NameMap = /* @__PURE__ */ function() {
8380
8278
  }, this.setPreserve = function(r) {
8381
8279
  n.preserve = r;
8382
8280
  }, this.timeoutId = null, this.warningUnhooked = function() {
8383
- browser$2.exports.env.NODE_ENV !== "production" && !n.timeoutId && typeof window < "u" && (n.timeoutId = window.setTimeout(function() {
8281
+ process.env.NODE_ENV !== "production" && !n.timeoutId && typeof window < "u" && (n.timeoutId = window.setTimeout(function() {
8384
8282
  n.timeoutId = null, n.formHooked || warningOnce(!1, "Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?");
8385
8283
  }));
8386
8284
  }, this.getFieldEntities = function() {
@@ -8809,7 +8707,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
8809
8707
  children: a
8810
8708
  });
8811
8709
  }, Form$2 = function(t, n) {
8812
- var r = t.name, o = t.initialValues, a = t.fields, s = t.form, c = t.preserve, l = t.children, u = t.component, d = u === void 0 ? "form" : u, f = t.validateMessages, h = t.validateTrigger, p = h === void 0 ? "onChange" : h, g = t.onValuesChange, v = t.onFieldsChange, x = t.onFinish, I = t.onFinishFailed, m = _objectWithoutProperties(t, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), y = React.useContext(FormContext), C = useForm(s), w = _slicedToArray(C, 1), O = w[0], _ = O.getInternalHooks(HOOK_MARK), b = _.useSubscribe, T = _.setInitialValues, F = _.setCallbacks, k = _.setValidateMessages, L = _.setPreserve;
8710
+ var r = t.name, o = t.initialValues, a = t.fields, s = t.form, c = t.preserve, l = t.children, u = t.component, d = u === void 0 ? "form" : u, f = t.validateMessages, h = t.validateTrigger, p = h === void 0 ? "onChange" : h, g = t.onValuesChange, v = t.onFieldsChange, x = t.onFinish, I = t.onFinishFailed, m = _objectWithoutProperties(t, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), y = React.useContext(FormContext), C = useForm(s), w = _slicedToArray(C, 1), O = w[0], _ = O.getInternalHooks(HOOK_MARK), b = _.useSubscribe, T = _.setInitialValues, F = _.setCallbacks, k = _.setValidateMessages, $ = _.setPreserve;
8813
8711
  React.useImperativeHandle(n, function() {
8814
8712
  return O;
8815
8713
  }), React.useEffect(function() {
@@ -8829,7 +8727,7 @@ var FormContext = /* @__PURE__ */ React.createContext({
8829
8727
  y.triggerFormFinish(r, G), x && x(G);
8830
8728
  },
8831
8729
  onFinishFailed: I
8832
- }), L(c);
8730
+ }), $(c);
8833
8731
  var D = React.useRef(null);
8834
8732
  T(o, !D.current), D.current || (D.current = !0);
8835
8733
  var P = l, M = typeof l == "function";
@@ -8842,12 +8740,12 @@ var FormContext = /* @__PURE__ */ React.createContext({
8842
8740
  React.useEffect(function() {
8843
8741
  isSimilar(j.current || [], a || []) || O.setFields(a || []), j.current = a;
8844
8742
  }, [a, O]);
8845
- var $ = React.useMemo(function() {
8743
+ var L = React.useMemo(function() {
8846
8744
  return _objectSpread2$1(_objectSpread2$1({}, O), {}, {
8847
8745
  validateTrigger: p
8848
8746
  });
8849
8747
  }, [O, p]), H = /* @__PURE__ */ jsx(Context.Provider, {
8850
- value: $,
8748
+ value: L,
8851
8749
  children: P
8852
8750
  });
8853
8751
  return d === !1 ? H : /* @__PURE__ */ jsx(d, {
@@ -8895,10 +8793,10 @@ function requireWarning() {
8895
8793
  }), warning$2.warning = t, warning$2.note = n, warning$2.resetWarned = r, warning$2.call = o, warning$2.warningOnce = a, warning$2.noteOnce = s, warning$2.default = void 0;
8896
8794
  var e = {};
8897
8795
  function t(l, u) {
8898
- browser$2.exports.env.NODE_ENV !== "production" && !l && console !== void 0 && console.error("Warning: ".concat(u));
8796
+ process.env.NODE_ENV !== "production" && !l && console !== void 0 && console.error("Warning: ".concat(u));
8899
8797
  }
8900
8798
  function n(l, u) {
8901
- browser$2.exports.env.NODE_ENV !== "production" && !l && console !== void 0 && console.warn("Note: ".concat(u));
8799
+ process.env.NODE_ENV !== "production" && !l && console !== void 0 && console.warn("Note: ".concat(u));
8902
8800
  }
8903
8801
  function r() {
8904
8802
  e = {};
@@ -9411,20 +9309,20 @@ function requireEmpty() {
9411
9309
  I.indexOf(y[C]) < 0 && Object.prototype.propertyIsEnumerable.call(x, y[C]) && (m[y[C]] = x[y[C]]);
9412
9310
  return m;
9413
9311
  }, h = /* @__PURE__ */ a.createElement(u.default, null), p = /* @__PURE__ */ a.createElement(d.default, null), g = function(I) {
9414
- var m = I.className, y = I.prefixCls, C = I.image, w = C === void 0 ? h : C, O = I.description, _ = I.children, b = I.imageStyle, T = f(I, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), F = a.useContext(c.ConfigContext), k = F.getPrefixCls, L = F.direction;
9312
+ var m = I.className, y = I.prefixCls, C = I.image, w = C === void 0 ? h : C, O = I.description, _ = I.children, b = I.imageStyle, T = f(I, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), F = a.useContext(c.ConfigContext), k = F.getPrefixCls, $ = F.direction;
9415
9313
  return /* @__PURE__ */ a.createElement(l.default, {
9416
9314
  componentName: "Empty"
9417
9315
  }, function(D) {
9418
- var P, M = k("empty", y), q = typeof O < "u" ? O : D.description, j = typeof q == "string" ? q : "empty", $ = null;
9419
- return typeof w == "string" ? $ = /* @__PURE__ */ a.createElement("img", {
9316
+ var P, M = k("empty", y), q = typeof O < "u" ? O : D.description, j = typeof q == "string" ? q : "empty", L = null;
9317
+ return typeof w == "string" ? L = /* @__PURE__ */ a.createElement("img", {
9420
9318
  alt: j,
9421
9319
  src: w
9422
- }) : $ = w, /* @__PURE__ */ a.createElement("div", (0, r.default)({
9423
- className: (0, s.default)(M, (P = {}, (0, o.default)(P, "".concat(M, "-normal"), w === p), (0, o.default)(P, "".concat(M, "-rtl"), L === "rtl"), P), m)
9320
+ }) : L = w, /* @__PURE__ */ a.createElement("div", (0, r.default)({
9321
+ className: (0, s.default)(M, (P = {}, (0, o.default)(P, "".concat(M, "-normal"), w === p), (0, o.default)(P, "".concat(M, "-rtl"), $ === "rtl"), P), m)
9424
9322
  }, T), /* @__PURE__ */ a.createElement("div", {
9425
9323
  className: "".concat(M, "-image"),
9426
9324
  style: b
9427
- }, $), q && /* @__PURE__ */ a.createElement("div", {
9325
+ }, L), q && /* @__PURE__ */ a.createElement("div", {
9428
9326
  className: "".concat(M, "-description")
9429
9327
  }, q), _ && /* @__PURE__ */ a.createElement("div", {
9430
9328
  className: "".concat(M, "-footer")
@@ -9659,7 +9557,7 @@ const useStepQueue = function(e, t) {
9659
9557
  }, []), [a, o];
9660
9558
  };
9661
9559
  function useStatus(e, t, n, r) {
9662
- var o = r.motionEnter, a = o === void 0 ? !0 : o, s = r.motionAppear, c = s === void 0 ? !0 : s, l = r.motionLeave, u = l === void 0 ? !0 : l, d = r.motionDeadline, f = r.motionLeaveImmediately, h = r.onAppearPrepare, p = r.onEnterPrepare, g = r.onLeavePrepare, v = r.onAppearStart, x = r.onEnterStart, I = r.onLeaveStart, m = r.onAppearActive, y = r.onEnterActive, C = r.onLeaveActive, w = r.onAppearEnd, O = r.onEnterEnd, _ = r.onLeaveEnd, b = r.onVisibleChanged, T = useMountStatus(), F = _slicedToArray(T, 2), k = F[0], L = F[1], D = useMountStatus(STATUS_NONE), P = _slicedToArray(D, 2), M = P[0], q = P[1], j = useMountStatus(null), $ = _slicedToArray(j, 2), H = $[0], K = $[1], G = useRef(!1), z = useRef(null), V = useRef(!1), U = useRef(null);
9560
+ var o = r.motionEnter, a = o === void 0 ? !0 : o, s = r.motionAppear, c = s === void 0 ? !0 : s, l = r.motionLeave, u = l === void 0 ? !0 : l, d = r.motionDeadline, f = r.motionLeaveImmediately, h = r.onAppearPrepare, p = r.onEnterPrepare, g = r.onLeavePrepare, v = r.onAppearStart, x = r.onEnterStart, I = r.onLeaveStart, m = r.onAppearActive, y = r.onEnterActive, C = r.onLeaveActive, w = r.onAppearEnd, O = r.onEnterEnd, _ = r.onLeaveEnd, b = r.onVisibleChanged, T = useMountStatus(), F = _slicedToArray(T, 2), k = F[0], $ = F[1], D = useMountStatus(STATUS_NONE), P = _slicedToArray(D, 2), M = P[0], q = P[1], j = useMountStatus(null), L = _slicedToArray(j, 2), H = L[0], K = L[1], G = useRef(!1), z = useRef(null), V = useRef(!1), U = useRef(null);
9663
9561
  function Y() {
9664
9562
  var le = n();
9665
9563
  return le || U.current;
@@ -9700,7 +9598,7 @@ function useStatus(e, t, n, r) {
9700
9598
  }, d))), DoStep;
9701
9599
  }), W = _slicedToArray(S, 2), X = W[0], ne = W[1], ee = isActive(ne);
9702
9600
  B.current = ee, useIsomorphicLayoutEffect(function() {
9703
- if (L(t), !!e) {
9601
+ if ($(t), !!e) {
9704
9602
  var le = G.current;
9705
9603
  G.current = !0;
9706
9604
  var ue;
@@ -9752,22 +9650,22 @@ function genCSSMotion(e) {
9752
9650
  T.current = a;
9753
9651
  var F = React.useCallback(function(M) {
9754
9652
  x.current = M, fillRef(T.current, M);
9755
- }, []), k, L = _objectSpread2$1(_objectSpread2$1({}, g), {}, {
9653
+ }, []), k, $ = _objectSpread2$1(_objectSpread2$1({}, g), {}, {
9756
9654
  visible: c
9757
9655
  });
9758
9656
  if (!f)
9759
9657
  k = null;
9760
9658
  else if (w === STATUS_NONE || !n(o))
9761
- b ? k = f(_objectSpread2$1({}, L), F) : u ? d ? k = f(_objectSpread2$1(_objectSpread2$1({}, L), {}, {
9659
+ b ? k = f(_objectSpread2$1({}, $), F) : u ? d ? k = f(_objectSpread2$1(_objectSpread2$1({}, $), {}, {
9762
9660
  style: {
9763
9661
  display: "none"
9764
9662
  }
9765
- }), F) : k = null : k = f(_objectSpread2$1(_objectSpread2$1({}, L), {}, {
9663
+ }), F) : k = null : k = f(_objectSpread2$1(_objectSpread2$1({}, $), {}, {
9766
9664
  className: p
9767
9665
  }), F);
9768
9666
  else {
9769
9667
  var D, P;
9770
- O === STEP_PREPARE ? P = "prepare" : isActive(O) ? P = "active" : O === STEP_START && (P = "start"), k = f(_objectSpread2$1(_objectSpread2$1({}, L), {}, {
9668
+ O === STEP_PREPARE ? P = "prepare" : isActive(O) ? P = "active" : O === STEP_START && (P = "start"), k = f(_objectSpread2$1(_objectSpread2$1({}, $), {}, {
9771
9669
  className: classnamesExports(getTransitionName$1(h, w), (D = {}, _defineProperty$1(D, getTransitionName$1(h, "".concat(w, "-").concat(P)), P), _defineProperty$1(D, h, typeof h == "string"), D)),
9772
9670
  style: _
9773
9671
  }), F);
@@ -10129,7 +10027,7 @@ Notification.newInstance = function(t, n) {
10129
10027
  }
10130
10028
  }));
10131
10029
  }
10132
- if (browser$2.exports.env.NODE_ENV === "test" && t.TEST_RENDER) {
10030
+ if (process.env.NODE_ENV === "test" && t.TEST_RENDER) {
10133
10031
  t.TEST_RENDER(/* @__PURE__ */ jsx(Notification, {
10134
10032
  ...Object.assign({}, a, {
10135
10033
  ref: u
@@ -10360,8 +10258,8 @@ function requireNotice() {
10360
10258
  }, {
10361
10259
  key: "render",
10362
10260
  value: function() {
10363
- var v = this, x = this.props, I = x.prefixCls, m = x.className, y = x.closable, C = x.closeIcon, w = x.style, O = x.onClick, _ = x.children, b = x.holder, T = "".concat(I, "-notice"), F = Object.keys(this.props).reduce(function(L, D) {
10364
- return (D.substr(0, 5) === "data-" || D.substr(0, 5) === "aria-" || D === "role") && (L[D] = v.props[D]), L;
10261
+ var v = this, x = this.props, I = x.prefixCls, m = x.className, y = x.closable, C = x.closeIcon, w = x.style, O = x.onClick, _ = x.children, b = x.holder, T = "".concat(I, "-notice"), F = Object.keys(this.props).reduce(function($, D) {
10262
+ return (D.substr(0, 5) === "data-" || D.substr(0, 5) === "aria-" || D === "role") && ($[D] = v.props[D]), $;
10365
10263
  }, {}), k = c.createElement("div", Object.assign({
10366
10264
  className: (0, u.default)(T, m, (0, n.default)({}, "".concat(T, "-closable"), y)),
10367
10265
  style: w,
@@ -10445,12 +10343,12 @@ function requireUseMessage() {
10445
10343
  onClose: P
10446
10344
  }), q));
10447
10345
  });
10448
- }), L = function() {
10346
+ }), $ = function() {
10449
10347
  v && v.removeNotice(F);
10450
10348
  };
10451
- return L.then = function(D, P) {
10349
+ return $.then = function(D, P) {
10452
10350
  return k.then(D, P);
10453
- }, L.promise = k, L;
10351
+ }, $.promise = k, $;
10454
10352
  }
10455
10353
  var O = a.useRef({});
10456
10354
  return O.current.open = w, ["success", "info", "warning", "error", "loading"].forEach(function(_) {
@@ -10476,11 +10374,11 @@ function requireMessage() {
10476
10374
  function _() {
10477
10375
  return I++;
10478
10376
  }
10479
- function b($) {
10480
- $.top !== void 0 && (x = $.top, g = null), $.duration !== void 0 && (v = $.duration), $.prefixCls !== void 0 && (m = $.prefixCls), $.getContainer !== void 0 && (C = $.getContainer), $.transitionName !== void 0 && (y = $.transitionName, g = null), $.maxCount !== void 0 && (w = $.maxCount, g = null), $.rtl !== void 0 && (O = $.rtl);
10377
+ function b(L) {
10378
+ L.top !== void 0 && (x = L.top, g = null), L.duration !== void 0 && (v = L.duration), L.prefixCls !== void 0 && (m = L.prefixCls), L.getContainer !== void 0 && (C = L.getContainer), L.transitionName !== void 0 && (y = L.transitionName, g = null), L.maxCount !== void 0 && (w = L.maxCount, g = null), L.rtl !== void 0 && (O = L.rtl);
10481
10379
  }
10482
- function T($, H) {
10483
- var K = $.prefixCls || m;
10380
+ function T(L, H) {
10381
+ var K = L.prefixCls || m;
10484
10382
  if (g) {
10485
10383
  H({
10486
10384
  prefixCls: K,
@@ -10517,28 +10415,28 @@ function requireMessage() {
10517
10415
  warning: u.default,
10518
10416
  loading: l.default
10519
10417
  };
10520
- function k($, H) {
10521
- var K, G = $.duration !== void 0 ? $.duration : v, z = F[$.type], V = (0, s.default)("".concat(H, "-custom-content"), (K = {}, (0, o.default)(K, "".concat(H, "-").concat($.type), $.type), (0, o.default)(K, "".concat(H, "-rtl"), O === !0), K));
10418
+ function k(L, H) {
10419
+ var K, G = L.duration !== void 0 ? L.duration : v, z = F[L.type], V = (0, s.default)("".concat(H, "-custom-content"), (K = {}, (0, o.default)(K, "".concat(H, "-").concat(L.type), L.type), (0, o.default)(K, "".concat(H, "-rtl"), O === !0), K));
10522
10420
  return {
10523
- key: $.key,
10421
+ key: L.key,
10524
10422
  duration: G,
10525
- style: $.style || {},
10526
- className: $.className,
10423
+ style: L.style || {},
10424
+ className: L.className,
10527
10425
  content: /* @__PURE__ */ a.createElement("div", {
10528
10426
  className: V
10529
- }, $.icon || z && /* @__PURE__ */ a.createElement(z, null), /* @__PURE__ */ a.createElement("span", null, $.content)),
10530
- onClose: $.onClose,
10531
- onClick: $.onClick
10427
+ }, L.icon || z && /* @__PURE__ */ a.createElement(z, null), /* @__PURE__ */ a.createElement("span", null, L.content)),
10428
+ onClose: L.onClose,
10429
+ onClick: L.onClick
10532
10430
  };
10533
10431
  }
10534
- function L($) {
10535
- var H = $.key || I++, K = new Promise(function(z) {
10432
+ function $(L) {
10433
+ var H = L.key || I++, K = new Promise(function(z) {
10536
10434
  var V = function() {
10537
- return typeof $.onClose == "function" && $.onClose(), z(!0);
10435
+ return typeof L.onClose == "function" && L.onClose(), z(!0);
10538
10436
  };
10539
- T($, function(U) {
10437
+ T(L, function(U) {
10540
10438
  var Y = U.prefixCls, B = U.instance;
10541
- B.notice(k((0, r.default)((0, r.default)({}, $), {
10439
+ B.notice(k((0, r.default)((0, r.default)({}, L), {
10542
10440
  key: H,
10543
10441
  onClose: V
10544
10442
  }), Y));
@@ -10550,11 +10448,11 @@ function requireMessage() {
10550
10448
  return K.then(z, V);
10551
10449
  }, G.promise = K, G;
10552
10450
  }
10553
- function D($) {
10554
- return Object.prototype.toString.call($) === "[object Object]" && !!$.content;
10451
+ function D(L) {
10452
+ return Object.prototype.toString.call(L) === "[object Object]" && !!L.content;
10555
10453
  }
10556
10454
  var P = {
10557
- open: L,
10455
+ open: $,
10558
10456
  config: b,
10559
10457
  destroy: function(H) {
10560
10458
  if (g)
@@ -10567,11 +10465,11 @@ function requireMessage() {
10567
10465
  }
10568
10466
  }
10569
10467
  };
10570
- function M($, H) {
10571
- $[H] = function(K, G, z) {
10572
- return D(K) ? $.open((0, r.default)((0, r.default)({}, K), {
10468
+ function M(L, H) {
10469
+ L[H] = function(K, G, z) {
10470
+ return D(K) ? L.open((0, r.default)((0, r.default)({}, K), {
10573
10471
  type: H
10574
- })) : (typeof G == "function" && (z = G, G = void 0), $.open({
10472
+ })) : (typeof G == "function" && (z = G, G = void 0), L.open({
10575
10473
  content: K,
10576
10474
  duration: G,
10577
10475
  type: H,
@@ -10579,11 +10477,11 @@ function requireMessage() {
10579
10477
  }));
10580
10478
  };
10581
10479
  }
10582
- ["success", "info", "warning", "error", "loading"].forEach(function($) {
10583
- return M(P, $);
10480
+ ["success", "info", "warning", "error", "loading"].forEach(function(L) {
10481
+ return M(P, L);
10584
10482
  }), P.warn = P.warning, P.useMessage = (0, p.default)(T, k);
10585
10483
  var q = function() {
10586
- return browser$2.exports.env.NODE_ENV === "test" ? g : null;
10484
+ return process.env.NODE_ENV === "test" ? g : null;
10587
10485
  };
10588
10486
  e.getInstance = q;
10589
10487
  var j = P;
@@ -10843,7 +10741,7 @@ function requireNotification() {
10843
10741
  Object.defineProperty(e, "__esModule", {
10844
10742
  value: !0
10845
10743
  }), e.default = e.getInstance = void 0;
10846
- var r = n(requireRegenerator()), o = n(require_extends()), a = n(requireDefineProperty()), s = t(React__default), c = n(require$$6$1), l = n(requireCloseOutlined()), u = n(requireClassnames()), d = n(requireCheckCircleOutlined()), f = n(requireCloseCircleOutlined()), h = n(requireExclamationCircleOutlined()), p = n(requireInfoCircleOutlined()), g = n(requireUseNotification()), v = function($, H, K, G) {
10744
+ var r = n(requireRegenerator()), o = n(require_extends()), a = n(requireDefineProperty()), s = t(React__default), c = n(require$$6$1), l = n(requireCloseOutlined()), u = n(requireClassnames()), d = n(requireCheckCircleOutlined()), f = n(requireCloseCircleOutlined()), h = n(requireExclamationCircleOutlined()), p = n(requireInfoCircleOutlined()), g = n(requireUseNotification()), v = function(L, H, K, G) {
10847
10745
  function z(V) {
10848
10746
  return V instanceof K ? V : new K(function(U) {
10849
10747
  U(V);
@@ -10867,16 +10765,16 @@ function requireNotification() {
10867
10765
  function A(N) {
10868
10766
  N.done ? V(N.value) : z(N.value).then(Y, B);
10869
10767
  }
10870
- A((G = G.apply($, H || [])).next());
10768
+ A((G = G.apply(L, H || [])).next());
10871
10769
  });
10872
10770
  }, x = {}, I = 4.5, m = 24, y = 24, C = "ant-notification", w = "topRight", O, _, b = !1;
10873
- function T($) {
10874
- var H = $.duration, K = $.placement, G = $.bottom, z = $.top, V = $.getContainer, U = $.closeIcon, Y = $.prefixCls;
10875
- Y !== void 0 && (C = Y), H !== void 0 && (I = H), K !== void 0 ? w = K : $.rtl && (w = "topLeft"), G !== void 0 && (y = G), z !== void 0 && (m = z), V !== void 0 && (O = V), U !== void 0 && (_ = U), $.rtl !== void 0 && (b = $.rtl);
10771
+ function T(L) {
10772
+ var H = L.duration, K = L.placement, G = L.bottom, z = L.top, V = L.getContainer, U = L.closeIcon, Y = L.prefixCls;
10773
+ Y !== void 0 && (C = Y), H !== void 0 && (I = H), K !== void 0 ? w = K : L.rtl && (w = "topLeft"), G !== void 0 && (y = G), z !== void 0 && (m = z), V !== void 0 && (O = V), U !== void 0 && (_ = U), L.rtl !== void 0 && (b = L.rtl);
10876
10774
  }
10877
- function F($) {
10775
+ function F(L) {
10878
10776
  var H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : m, K = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : y, G;
10879
- switch ($) {
10777
+ switch (L) {
10880
10778
  case "topLeft":
10881
10779
  G = {
10882
10780
  left: 0,
@@ -10908,8 +10806,8 @@ function requireNotification() {
10908
10806
  }
10909
10807
  return G;
10910
10808
  }
10911
- function k($, H) {
10912
- var K = $.placement, G = K === void 0 ? w : K, z = $.top, V = $.bottom, U = $.getContainer, Y = U === void 0 ? O : U, B = $.closeIcon, A = B === void 0 ? _ : B, N = $.prefixCls || C, Z = "".concat(N, "-notice"), Q = "".concat(N, "-").concat(G), E = x[Q];
10809
+ function k(L, H) {
10810
+ var K = L.placement, G = K === void 0 ? w : K, z = L.top, V = L.bottom, U = L.getContainer, Y = U === void 0 ? O : U, B = L.closeIcon, A = B === void 0 ? _ : B, N = L.prefixCls || C, Z = "".concat(N, "-notice"), Q = "".concat(N, "-").concat(G), E = x[Q];
10913
10811
  if (E) {
10914
10812
  Promise.resolve(E).then(function(X) {
10915
10813
  H({
@@ -10939,20 +10837,20 @@ function requireNotification() {
10939
10837
  });
10940
10838
  });
10941
10839
  }
10942
- var L = {
10840
+ var $ = {
10943
10841
  success: d.default,
10944
10842
  info: p.default,
10945
10843
  error: f.default,
10946
10844
  warning: h.default
10947
10845
  };
10948
- function D($, H) {
10949
- var K = $.duration === void 0 ? I : $.duration, G = null;
10950
- $.icon ? G = /* @__PURE__ */ s.createElement("span", {
10846
+ function D(L, H) {
10847
+ var K = L.duration === void 0 ? I : L.duration, G = null;
10848
+ L.icon ? G = /* @__PURE__ */ s.createElement("span", {
10951
10849
  className: "".concat(H, "-icon")
10952
- }, $.icon) : $.type && (G = /* @__PURE__ */ s.createElement(L[$.type] || null, {
10953
- className: "".concat(H, "-icon ").concat(H, "-icon-").concat($.type)
10850
+ }, L.icon) : L.type && (G = /* @__PURE__ */ s.createElement($[L.type] || null, {
10851
+ className: "".concat(H, "-icon ").concat(H, "-icon-").concat(L.type)
10954
10852
  }));
10955
- var z = !$.description && G ? /* @__PURE__ */ s.createElement("span", {
10853
+ var z = !L.description && G ? /* @__PURE__ */ s.createElement("span", {
10956
10854
  className: "".concat(H, "-message-single-line-auto-margin")
10957
10855
  }) : null;
10958
10856
  return {
@@ -10961,24 +10859,24 @@ function requireNotification() {
10961
10859
  role: "alert"
10962
10860
  }, G, /* @__PURE__ */ s.createElement("div", {
10963
10861
  className: "".concat(H, "-message")
10964
- }, z, $.message), /* @__PURE__ */ s.createElement("div", {
10862
+ }, z, L.message), /* @__PURE__ */ s.createElement("div", {
10965
10863
  className: "".concat(H, "-description")
10966
- }, $.description), $.btn ? /* @__PURE__ */ s.createElement("span", {
10864
+ }, L.description), L.btn ? /* @__PURE__ */ s.createElement("span", {
10967
10865
  className: "".concat(H, "-btn")
10968
- }, $.btn) : null),
10866
+ }, L.btn) : null),
10969
10867
  duration: K,
10970
10868
  closable: !0,
10971
- onClose: $.onClose,
10972
- onClick: $.onClick,
10973
- key: $.key,
10974
- style: $.style || {},
10975
- className: $.className
10869
+ onClose: L.onClose,
10870
+ onClick: L.onClick,
10871
+ key: L.key,
10872
+ style: L.style || {},
10873
+ className: L.className
10976
10874
  };
10977
10875
  }
10978
- function P($) {
10979
- k($, function(H) {
10876
+ function P(L) {
10877
+ k(L, function(H) {
10980
10878
  var K = H.prefixCls, G = H.instance;
10981
- G.notice(D($, K));
10879
+ G.notice(D(L, K));
10982
10880
  });
10983
10881
  }
10984
10882
  var M = {
@@ -10999,10 +10897,10 @@ function requireNotification() {
10999
10897
  });
11000
10898
  }
11001
10899
  };
11002
- ["success", "info", "warning", "error"].forEach(function($) {
11003
- M[$] = function(H) {
10900
+ ["success", "info", "warning", "error"].forEach(function(L) {
10901
+ M[L] = function(H) {
11004
10902
  return M.open((0, o.default)((0, o.default)({}, H), {
11005
- type: $
10903
+ type: L
11006
10904
  }));
11007
10905
  };
11008
10906
  }), M.warn = M.warning, M.useNotification = (0, g.default)(k, D);
@@ -11012,7 +10910,7 @@ function requireNotification() {
11012
10910
  for (; ; )
11013
10911
  switch (z.prev = z.next) {
11014
10912
  case 0:
11015
- return z.abrupt("return", browser$2.exports.env.NODE_ENV === "test" ? x[H] : null);
10913
+ return z.abrupt("return", process.env.NODE_ENV === "test" ? x[H] : null);
11016
10914
  case 1:
11017
10915
  case "end":
11018
10916
  return z.stop();
@@ -11045,7 +10943,7 @@ function requireConfigProvider() {
11045
10943
  var r = n(require_extends()), o = t(React__default), a = n(requireContext$2()), s = require$$5, c = n(requireUseMemo()), l = t(requireLocaleProvider()), u = n(requireLocaleReceiver()), d = requireContext(), f = t(requireSizeContext()), h = n(requireMessage()), p = n(requireNotification()), g = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
11046
10944
  e.configConsumerProps = g;
11047
10945
  var v = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "form"], x = function(C) {
11048
- var w = C.children, O = C.csp, _ = C.autoInsertSpaceInButton, b = C.form, T = C.locale, F = C.componentSize, k = C.direction, L = C.space, D = C.virtual, P = C.dropdownMatchSelectWidth, M = C.legacyLocale, q = C.parentContext, j = C.iconPrefixCls, $ = o.useCallback(function(U, Y) {
10946
+ var w = C.children, O = C.csp, _ = C.autoInsertSpaceInButton, b = C.form, T = C.locale, F = C.componentSize, k = C.direction, $ = C.space, D = C.virtual, P = C.dropdownMatchSelectWidth, M = C.legacyLocale, q = C.parentContext, j = C.iconPrefixCls, L = o.useCallback(function(U, Y) {
11049
10947
  var B = C.prefixCls;
11050
10948
  if (Y)
11051
10949
  return Y;
@@ -11056,10 +10954,10 @@ function requireConfigProvider() {
11056
10954
  autoInsertSpaceInButton: _,
11057
10955
  locale: T || M,
11058
10956
  direction: k,
11059
- space: L,
10957
+ space: $,
11060
10958
  virtual: D,
11061
10959
  dropdownMatchSelectWidth: P,
11062
- getPrefixCls: $
10960
+ getPrefixCls: L
11063
10961
  });
11064
10962
  v.forEach(function(U) {
11065
10963
  var Y = C[U];
@@ -11161,28 +11059,28 @@ function requireInput() {
11161
11059
  var _ = (0, c.default)(b);
11162
11060
  function b(T) {
11163
11061
  var F;
11164
- (0, o.default)(this, b), F = _.call(this, T), F.direction = "ltr", F.focus = function(L) {
11165
- y(F.input, L);
11166
- }, F.saveClearableInput = function(L) {
11167
- F.clearableInput = L;
11168
- }, F.saveInput = function(L) {
11169
- F.input = L;
11170
- }, F.onFocus = function(L) {
11062
+ (0, o.default)(this, b), F = _.call(this, T), F.direction = "ltr", F.focus = function($) {
11063
+ y(F.input, $);
11064
+ }, F.saveClearableInput = function($) {
11065
+ F.clearableInput = $;
11066
+ }, F.saveInput = function($) {
11067
+ F.input = $;
11068
+ }, F.onFocus = function($) {
11171
11069
  var D = F.props.onFocus;
11172
11070
  F.setState({
11173
11071
  focused: !0
11174
- }, F.clearPasswordValueAttribute), D && D(L);
11175
- }, F.onBlur = function(L) {
11072
+ }, F.clearPasswordValueAttribute), D && D($);
11073
+ }, F.onBlur = function($) {
11176
11074
  var D = F.props.onBlur;
11177
11075
  F.setState({
11178
11076
  focused: !1
11179
- }, F.clearPasswordValueAttribute), D && D(L);
11180
- }, F.handleReset = function(L) {
11077
+ }, F.clearPasswordValueAttribute), D && D($);
11078
+ }, F.handleReset = function($) {
11181
11079
  F.setValue("", function() {
11182
11080
  F.focus();
11183
- }), I(F.input, L, F.props.onChange);
11184
- }, F.renderInput = function(L, D, P) {
11185
- var M = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, q = F.props, j = q.className, $ = q.addonBefore, H = q.addonAfter, K = q.size, G = q.disabled, z = (0, f.default)(F.props, [
11081
+ }), I(F.input, $, F.props.onChange);
11082
+ }, F.renderInput = function($, D, P) {
11083
+ var M = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, q = F.props, j = q.className, L = q.addonBefore, H = q.addonAfter, K = q.size, G = q.disabled, z = (0, f.default)(F.props, [
11186
11084
  "prefixCls",
11187
11085
  "onPressEnter",
11188
11086
  "addonBefore",
@@ -11202,20 +11100,20 @@ function requireInput() {
11202
11100
  onFocus: F.onFocus,
11203
11101
  onBlur: F.onBlur,
11204
11102
  onKeyDown: F.handleKeyDown,
11205
- className: (0, d.default)(m(L, P, K || D, G, F.direction), (0, l.default)({}, j, j && !$ && !H)),
11103
+ className: (0, d.default)(m($, P, K || D, G, F.direction), (0, l.default)({}, j, j && !L && !H)),
11206
11104
  ref: F.saveInput
11207
11105
  }));
11208
11106
  }, F.clearPasswordValueAttribute = function() {
11209
11107
  F.removePasswordTimeout = setTimeout(function() {
11210
11108
  F.input && F.input.getAttribute("type") === "password" && F.input.hasAttribute("value") && F.input.removeAttribute("value");
11211
11109
  });
11212
- }, F.handleChange = function(L) {
11213
- F.setValue(L.target.value, F.clearPasswordValueAttribute), I(F.input, L, F.props.onChange);
11214
- }, F.handleKeyDown = function(L) {
11110
+ }, F.handleChange = function($) {
11111
+ F.setValue($.target.value, F.clearPasswordValueAttribute), I(F.input, $, F.props.onChange);
11112
+ }, F.handleKeyDown = function($) {
11215
11113
  var D = F.props, P = D.onPressEnter, M = D.onKeyDown;
11216
- L.keyCode === 13 && P && P(L), M && M(L);
11217
- }, F.renderComponent = function(L) {
11218
- var D = L.getPrefixCls, P = L.direction, M = L.input, q = F.state, j = q.value, $ = q.focused, H = F.props, K = H.prefixCls, G = H.bordered, z = G === void 0 ? !0 : G, V = D("input", K);
11114
+ $.keyCode === 13 && P && P($), M && M($);
11115
+ }, F.renderComponent = function($) {
11116
+ var D = $.getPrefixCls, P = $.direction, M = $.input, q = F.state, j = q.value, L = q.focused, H = F.props, K = H.prefixCls, G = H.bordered, z = G === void 0 ? !0 : G, V = D("input", K);
11219
11117
  return F.direction = P, /* @__PURE__ */ u.createElement(g.default.Consumer, null, function(U) {
11220
11118
  return /* @__PURE__ */ u.createElement(h.default, (0, r.default)({
11221
11119
  size: U
@@ -11227,7 +11125,7 @@ function requireInput() {
11227
11125
  handleReset: F.handleReset,
11228
11126
  ref: F.saveClearableInput,
11229
11127
  direction: P,
11230
- focused: $,
11128
+ focused: L,
11231
11129
  triggerFocus: F.focus,
11232
11130
  bordered: z
11233
11131
  }));
@@ -11266,8 +11164,8 @@ function requireInput() {
11266
11164
  }
11267
11165
  }, {
11268
11166
  key: "setSelectionRange",
11269
- value: function(F, k, L) {
11270
- this.input.setSelectionRange(F, k, L);
11167
+ value: function(F, k, $) {
11168
+ this.input.setSelectionRange(F, k, $);
11271
11169
  }
11272
11170
  }, {
11273
11171
  key: "select",
@@ -11289,10 +11187,10 @@ function requireInput() {
11289
11187
  }], [{
11290
11188
  key: "getDerivedStateFromProps",
11291
11189
  value: function(F, k) {
11292
- var L = k.prevValue, D = {
11190
+ var $ = k.prevValue, D = {
11293
11191
  prevValue: F.value
11294
11192
  };
11295
- return (F.value !== void 0 || L !== F.value) && (D.value = F.value), D;
11193
+ return (F.value !== void 0 || $ !== F.value) && (D.value = F.value), D;
11296
11194
  }
11297
11195
  }]), b;
11298
11196
  }(u.Component);
@@ -11352,10 +11250,10 @@ function requireClearableLabeledInput() {
11352
11250
  return (0, a.default)(w, [{
11353
11251
  key: "renderClearIcon",
11354
11252
  value: function(_) {
11355
- var b = this.props, T = b.allowClear, F = b.value, k = b.disabled, L = b.readOnly, D = b.handleReset;
11253
+ var b = this.props, T = b.allowClear, F = b.value, k = b.disabled, $ = b.readOnly, D = b.handleReset;
11356
11254
  if (!T)
11357
11255
  return null;
11358
- var P = !k && !L && F, M = "".concat(_, "-clear-icon");
11256
+ var P = !k && !$ && F, M = "".concat(_, "-clear-icon");
11359
11257
  return /* @__PURE__ */ l.createElement(d.default, {
11360
11258
  onClick: D,
11361
11259
  className: (0, u.default)((0, r.default)({}, "".concat(M, "-hidden"), !P), M),
@@ -11373,14 +11271,14 @@ function requireClearableLabeledInput() {
11373
11271
  }, {
11374
11272
  key: "renderLabeledIcon",
11375
11273
  value: function(_, b) {
11376
- var T, F = this.props, k = F.focused, L = F.value, D = F.prefix, P = F.className, M = F.size, q = F.suffix, j = F.disabled, $ = F.allowClear, H = F.direction, K = F.style, G = F.readOnly, z = F.bordered, V = this.renderSuffix(_);
11274
+ var T, F = this.props, k = F.focused, $ = F.value, D = F.prefix, P = F.className, M = F.size, q = F.suffix, j = F.disabled, L = F.allowClear, H = F.direction, K = F.style, G = F.readOnly, z = F.bordered, V = this.renderSuffix(_);
11377
11275
  if (!v(this.props))
11378
11276
  return (0, p.cloneElement)(b, {
11379
- value: L
11277
+ value: $
11380
11278
  });
11381
11279
  var U = D ? /* @__PURE__ */ l.createElement("span", {
11382
11280
  className: "".concat(_, "-prefix")
11383
- }, D) : null, Y = (0, u.default)("".concat(_, "-affix-wrapper"), (T = {}, (0, r.default)(T, "".concat(_, "-affix-wrapper-focused"), k), (0, r.default)(T, "".concat(_, "-affix-wrapper-disabled"), j), (0, r.default)(T, "".concat(_, "-affix-wrapper-sm"), M === "small"), (0, r.default)(T, "".concat(_, "-affix-wrapper-lg"), M === "large"), (0, r.default)(T, "".concat(_, "-affix-wrapper-input-with-clear-btn"), q && $ && L), (0, r.default)(T, "".concat(_, "-affix-wrapper-rtl"), H === "rtl"), (0, r.default)(T, "".concat(_, "-affix-wrapper-readonly"), G), (0, r.default)(T, "".concat(_, "-affix-wrapper-borderless"), !z), (0, r.default)(T, "".concat(P), !x(this.props) && P), T));
11281
+ }, D) : null, Y = (0, u.default)("".concat(_, "-affix-wrapper"), (T = {}, (0, r.default)(T, "".concat(_, "-affix-wrapper-focused"), k), (0, r.default)(T, "".concat(_, "-affix-wrapper-disabled"), j), (0, r.default)(T, "".concat(_, "-affix-wrapper-sm"), M === "small"), (0, r.default)(T, "".concat(_, "-affix-wrapper-lg"), M === "large"), (0, r.default)(T, "".concat(_, "-affix-wrapper-input-with-clear-btn"), q && L && $), (0, r.default)(T, "".concat(_, "-affix-wrapper-rtl"), H === "rtl"), (0, r.default)(T, "".concat(_, "-affix-wrapper-readonly"), G), (0, r.default)(T, "".concat(_, "-affix-wrapper-borderless"), !z), (0, r.default)(T, "".concat(P), !x(this.props) && P), T));
11384
11282
  return /* @__PURE__ */ l.createElement("span", {
11385
11283
  ref: this.containerRef,
11386
11284
  className: Y,
@@ -11388,21 +11286,21 @@ function requireClearableLabeledInput() {
11388
11286
  onMouseUp: this.onInputMouseUp
11389
11287
  }, U, (0, p.cloneElement)(b, {
11390
11288
  style: null,
11391
- value: L,
11289
+ value: $,
11392
11290
  className: (0, h.getInputClassName)(_, z, M, j)
11393
11291
  }), V);
11394
11292
  }
11395
11293
  }, {
11396
11294
  key: "renderInputWithLabel",
11397
11295
  value: function(_, b) {
11398
- var T, F = this.props, k = F.addonBefore, L = F.addonAfter, D = F.style, P = F.size, M = F.className, q = F.direction;
11296
+ var T, F = this.props, k = F.addonBefore, $ = F.addonAfter, D = F.style, P = F.size, M = F.className, q = F.direction;
11399
11297
  if (!x(this.props))
11400
11298
  return b;
11401
- var j = "".concat(_, "-group"), $ = "".concat(j, "-addon"), H = k ? /* @__PURE__ */ l.createElement("span", {
11402
- className: $
11403
- }, k) : null, K = L ? /* @__PURE__ */ l.createElement("span", {
11404
- className: $
11405
- }, L) : null, G = (0, u.default)("".concat(_, "-wrapper"), j, (0, r.default)({}, "".concat(j, "-rtl"), q === "rtl")), z = (0, u.default)("".concat(_, "-group-wrapper"), (T = {}, (0, r.default)(T, "".concat(_, "-group-wrapper-sm"), P === "small"), (0, r.default)(T, "".concat(_, "-group-wrapper-lg"), P === "large"), (0, r.default)(T, "".concat(_, "-group-wrapper-rtl"), q === "rtl"), T), M);
11299
+ var j = "".concat(_, "-group"), L = "".concat(j, "-addon"), H = k ? /* @__PURE__ */ l.createElement("span", {
11300
+ className: L
11301
+ }, k) : null, K = $ ? /* @__PURE__ */ l.createElement("span", {
11302
+ className: L
11303
+ }, $) : null, G = (0, u.default)("".concat(_, "-wrapper"), j, (0, r.default)({}, "".concat(j, "-rtl"), q === "rtl")), z = (0, u.default)("".concat(_, "-group-wrapper"), (T = {}, (0, r.default)(T, "".concat(_, "-group-wrapper-sm"), P === "small"), (0, r.default)(T, "".concat(_, "-group-wrapper-lg"), P === "large"), (0, r.default)(T, "".concat(_, "-group-wrapper-rtl"), q === "rtl"), T), M);
11406
11304
  return /* @__PURE__ */ l.createElement("span", {
11407
11305
  className: z,
11408
11306
  style: D
@@ -11415,8 +11313,8 @@ function requireClearableLabeledInput() {
11415
11313
  }, {
11416
11314
  key: "renderTextAreaWithClearIcon",
11417
11315
  value: function(_, b) {
11418
- var T, F = this.props, k = F.value, L = F.allowClear, D = F.className, P = F.style, M = F.direction, q = F.bordered;
11419
- if (!L)
11316
+ var T, F = this.props, k = F.value, $ = F.allowClear, D = F.className, P = F.style, M = F.direction, q = F.bordered;
11317
+ if (!$)
11420
11318
  return (0, p.cloneElement)(b, {
11421
11319
  value: k
11422
11320
  });
@@ -11440,85 +11338,89 @@ function requireClearableLabeledInput() {
11440
11338
  e.default = m;
11441
11339
  }(ClearableLabeledInput)), ClearableLabeledInput;
11442
11340
  }
11443
- (function(e) {
11444
- var t = interopRequireWildcard.exports, n = interopRequireDefault.exports;
11445
- Object.defineProperty(e, "__esModule", {
11446
- value: !0
11447
- }), e.default = void 0;
11448
- var r = n(_typeof$2.exports), o = n(requireToConsumableArray()), a = n(require_extends()), s = n(requireDefineProperty()), c = n(requireSlicedToArray()), l = t(React__default), u = n(require$$8), d = n(requireOmit()), f = n(requireClassnames()), h = n(requireUseMergedState()), p = n(requireClearableLabeledInput()), g = requireConfigProvider(), v = requireInput(), x = n(requireSizeContext()), I = function(C, w) {
11449
- var O = {};
11450
- for (var _ in C)
11451
- Object.prototype.hasOwnProperty.call(C, _) && w.indexOf(_) < 0 && (O[_] = C[_]);
11452
- if (C != null && typeof Object.getOwnPropertySymbols == "function")
11453
- for (var b = 0, _ = Object.getOwnPropertySymbols(C); b < _.length; b++)
11454
- w.indexOf(_[b]) < 0 && Object.prototype.propertyIsEnumerable.call(C, _[b]) && (O[_[b]] = C[_[b]]);
11455
- return O;
11456
- }, m = /* @__PURE__ */ l.forwardRef(function(C, w) {
11457
- var O, _ = C.prefixCls, b = C.bordered, T = b === void 0 ? !0 : b, F = C.showCount, k = F === void 0 ? !1 : F, L = C.maxLength, D = C.className, P = C.style, M = C.size, q = I(C, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), j = l.useContext(g.ConfigContext), $ = j.getPrefixCls, H = j.direction, K = l.useContext(x.default), G = l.useRef(null), z = l.useRef(null), V = (0, h.default)(q.defaultValue, {
11458
- value: q.value
11459
- }), U = (0, c.default)(V, 2), Y = U[0], B = U[1], A = l.useRef(q.value);
11460
- l.useEffect(function() {
11461
- (q.value !== void 0 || A.current !== q.value) && (B(q.value), A.current = q.value);
11462
- }, [q.value, A.current]);
11463
- var N = function(ue, se) {
11464
- q.value === void 0 && (B(ue), se == null || se());
11465
- }, Z = function(ue) {
11466
- N(ue.target.value), (0, v.resolveOnChange)(G.current, ue, q.onChange);
11467
- }, Q = function(ue) {
11468
- N("", function() {
11469
- var se;
11470
- (se = G.current) === null || se === void 0 || se.focus();
11471
- }), (0, v.resolveOnChange)(G.current, ue, q.onChange);
11472
- }, E = $("input", _);
11473
- l.useImperativeHandle(w, function() {
11474
- var le;
11475
- return {
11476
- resizableTextArea: (le = G.current) === null || le === void 0 ? void 0 : le.resizableTextArea,
11477
- focus: function(se) {
11478
- var fe, Ie;
11479
- (0, v.triggerFocus)((Ie = (fe = G.current) === null || fe === void 0 ? void 0 : fe.resizableTextArea) === null || Ie === void 0 ? void 0 : Ie.textArea, se);
11480
- },
11481
- blur: function() {
11341
+ var hasRequiredTextArea;
11342
+ function requireTextArea() {
11343
+ return hasRequiredTextArea || (hasRequiredTextArea = 1, function(e) {
11344
+ var t = interopRequireWildcard.exports, n = interopRequireDefault.exports;
11345
+ Object.defineProperty(e, "__esModule", {
11346
+ value: !0
11347
+ }), e.default = void 0;
11348
+ var r = n(_typeof$2.exports), o = n(requireToConsumableArray()), a = n(require_extends()), s = n(requireDefineProperty()), c = n(requireSlicedToArray()), l = t(React__default), u = n(require$$8), d = n(requireOmit()), f = n(requireClassnames()), h = n(requireUseMergedState()), p = n(requireClearableLabeledInput()), g = requireConfigProvider(), v = requireInput(), x = n(requireSizeContext()), I = function(C, w) {
11349
+ var O = {};
11350
+ for (var _ in C)
11351
+ Object.prototype.hasOwnProperty.call(C, _) && w.indexOf(_) < 0 && (O[_] = C[_]);
11352
+ if (C != null && typeof Object.getOwnPropertySymbols == "function")
11353
+ for (var b = 0, _ = Object.getOwnPropertySymbols(C); b < _.length; b++)
11354
+ w.indexOf(_[b]) < 0 && Object.prototype.propertyIsEnumerable.call(C, _[b]) && (O[_[b]] = C[_[b]]);
11355
+ return O;
11356
+ }, m = /* @__PURE__ */ l.forwardRef(function(C, w) {
11357
+ var O, _ = C.prefixCls, b = C.bordered, T = b === void 0 ? !0 : b, F = C.showCount, k = F === void 0 ? !1 : F, $ = C.maxLength, D = C.className, P = C.style, M = C.size, q = I(C, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), j = l.useContext(g.ConfigContext), L = j.getPrefixCls, H = j.direction, K = l.useContext(x.default), G = l.useRef(null), z = l.useRef(null), V = (0, h.default)(q.defaultValue, {
11358
+ value: q.value
11359
+ }), U = (0, c.default)(V, 2), Y = U[0], B = U[1], A = l.useRef(q.value);
11360
+ l.useEffect(function() {
11361
+ (q.value !== void 0 || A.current !== q.value) && (B(q.value), A.current = q.value);
11362
+ }, [q.value, A.current]);
11363
+ var N = function(ue, se) {
11364
+ q.value === void 0 && (B(ue), se == null || se());
11365
+ }, Z = function(ue) {
11366
+ N(ue.target.value), (0, v.resolveOnChange)(G.current, ue, q.onChange);
11367
+ }, Q = function(ue) {
11368
+ N("", function() {
11482
11369
  var se;
11483
- return (se = G.current) === null || se === void 0 ? void 0 : se.blur();
11484
- }
11485
- };
11486
- });
11487
- var S = /* @__PURE__ */ l.createElement(u.default, (0, a.default)({}, (0, d.default)(q, ["allowClear"]), {
11488
- maxLength: L,
11489
- className: (0, f.default)((O = {}, (0, s.default)(O, "".concat(E, "-borderless"), !T), (0, s.default)(O, D, D && !k), (0, s.default)(O, "".concat(E, "-sm"), K === "small" || M === "small"), (0, s.default)(O, "".concat(E, "-lg"), K === "large" || M === "large"), O)),
11490
- style: k ? void 0 : P,
11491
- prefixCls: E,
11492
- onChange: Z,
11493
- ref: G
11494
- })), W = (0, v.fixControlledValue)(Y), X = Number(L) > 0;
11495
- W = X ? (0, o.default)(W).slice(0, L).join("") : W;
11496
- var ne = /* @__PURE__ */ l.createElement(p.default, (0, a.default)({}, q, {
11497
- prefixCls: E,
11498
- direction: H,
11499
- inputType: "text",
11500
- value: W,
11501
- element: S,
11502
- handleReset: Q,
11503
- ref: z,
11504
- bordered: T
11505
- }));
11506
- if (k) {
11507
- var ee = Math.min(W.length, L != null ? L : 1 / 0), oe = "";
11508
- return (0, r.default)(k) === "object" ? oe = k.formatter({
11509
- count: ee,
11510
- maxLength: L
11511
- }) : oe = "".concat(ee).concat(X ? " / ".concat(L) : ""), /* @__PURE__ */ l.createElement("div", {
11512
- className: (0, f.default)("".concat(E, "-textarea"), (0, s.default)({}, "".concat(E, "-textarea-rtl"), H === "rtl"), "".concat(E, "-textarea-show-count"), D),
11513
- style: P,
11514
- "data-count": oe
11515
- }, ne);
11516
- }
11517
- return ne;
11518
- }), y = m;
11519
- e.default = y;
11520
- })(TextArea$3);
11521
- const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
11370
+ (se = G.current) === null || se === void 0 || se.focus();
11371
+ }), (0, v.resolveOnChange)(G.current, ue, q.onChange);
11372
+ }, E = L("input", _);
11373
+ l.useImperativeHandle(w, function() {
11374
+ var le;
11375
+ return {
11376
+ resizableTextArea: (le = G.current) === null || le === void 0 ? void 0 : le.resizableTextArea,
11377
+ focus: function(se) {
11378
+ var fe, Ie;
11379
+ (0, v.triggerFocus)((Ie = (fe = G.current) === null || fe === void 0 ? void 0 : fe.resizableTextArea) === null || Ie === void 0 ? void 0 : Ie.textArea, se);
11380
+ },
11381
+ blur: function() {
11382
+ var se;
11383
+ return (se = G.current) === null || se === void 0 ? void 0 : se.blur();
11384
+ }
11385
+ };
11386
+ });
11387
+ var S = /* @__PURE__ */ l.createElement(u.default, (0, a.default)({}, (0, d.default)(q, ["allowClear"]), {
11388
+ maxLength: $,
11389
+ className: (0, f.default)((O = {}, (0, s.default)(O, "".concat(E, "-borderless"), !T), (0, s.default)(O, D, D && !k), (0, s.default)(O, "".concat(E, "-sm"), K === "small" || M === "small"), (0, s.default)(O, "".concat(E, "-lg"), K === "large" || M === "large"), O)),
11390
+ style: k ? void 0 : P,
11391
+ prefixCls: E,
11392
+ onChange: Z,
11393
+ ref: G
11394
+ })), W = (0, v.fixControlledValue)(Y), X = Number($) > 0;
11395
+ W = X ? (0, o.default)(W).slice(0, $).join("") : W;
11396
+ var ne = /* @__PURE__ */ l.createElement(p.default, (0, a.default)({}, q, {
11397
+ prefixCls: E,
11398
+ direction: H,
11399
+ inputType: "text",
11400
+ value: W,
11401
+ element: S,
11402
+ handleReset: Q,
11403
+ ref: z,
11404
+ bordered: T
11405
+ }));
11406
+ if (k) {
11407
+ var ee = Math.min(W.length, $ != null ? $ : 1 / 0), oe = "";
11408
+ return (0, r.default)(k) === "object" ? oe = k.formatter({
11409
+ count: ee,
11410
+ maxLength: $
11411
+ }) : oe = "".concat(ee).concat(X ? " / ".concat($) : ""), /* @__PURE__ */ l.createElement("div", {
11412
+ className: (0, f.default)("".concat(E, "-textarea"), (0, s.default)({}, "".concat(E, "-textarea-rtl"), H === "rtl"), "".concat(E, "-textarea-show-count"), D),
11413
+ style: P,
11414
+ "data-count": oe
11415
+ }, ne);
11416
+ }
11417
+ return ne;
11418
+ }), y = m;
11419
+ e.default = y;
11420
+ }(TextArea$2)), TextArea$2;
11421
+ }
11422
+ var TextAreaExports = requireTextArea();
11423
+ const {
11522
11424
  error: error$2,
11523
11425
  warning: warning$1
11524
11426
  } = Modal, showDialog$8 = (e) => {
@@ -11605,7 +11507,7 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
11605
11507
  children: b.name
11606
11508
  }), /* @__PURE__ */ jsx(Col, {
11607
11509
  flex: "auto",
11608
- children: /* @__PURE__ */ jsx(TextArea$1, {
11510
+ children: /* @__PURE__ */ jsx(TextAreaExports, {
11609
11511
  rows: 4,
11610
11512
  value: v[b.code] || "",
11611
11513
  onChange: (F) => {
@@ -12376,8 +12278,8 @@ function requireBuffer_list() {
12376
12278
  }
12377
12279
  function destroy(e, t) {
12378
12280
  var n = this, r = this._readableState && this._readableState.destroyed, o = this._writableState && this._writableState.destroyed;
12379
- return r || o ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, browser$2.exports.nextTick(emitErrorNT, this, e)) : browser$2.exports.nextTick(emitErrorNT, this, e)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function(a) {
12380
- !t && a ? n._writableState ? n._writableState.errorEmitted ? browser$2.exports.nextTick(emitCloseNT, n) : (n._writableState.errorEmitted = !0, browser$2.exports.nextTick(emitErrorAndCloseNT, n, a)) : browser$2.exports.nextTick(emitErrorAndCloseNT, n, a) : t ? (browser$2.exports.nextTick(emitCloseNT, n), t(a)) : browser$2.exports.nextTick(emitCloseNT, n);
12281
+ return r || o ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, process.nextTick(emitErrorNT, this, e)) : process.nextTick(emitErrorNT, this, e)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function(a) {
12282
+ !t && a ? n._writableState ? n._writableState.errorEmitted ? process.nextTick(emitCloseNT, n) : (n._writableState.errorEmitted = !0, process.nextTick(emitErrorAndCloseNT, n, a)) : process.nextTick(emitErrorAndCloseNT, n, a) : t ? (process.nextTick(emitCloseNT, n), t(a)) : process.nextTick(emitCloseNT, n);
12381
12283
  }), this);
12382
12284
  }
12383
12285
  function emitErrorAndCloseNT(e, t) {
@@ -12597,15 +12499,15 @@ function require_stream_writable() {
12597
12499
  };
12598
12500
  function T(B, A) {
12599
12501
  var N = new m();
12600
- C(B, N), browser$2.exports.nextTick(A, N);
12502
+ C(B, N), process.nextTick(A, N);
12601
12503
  }
12602
12504
  function F(B, A, N, Z) {
12603
12505
  var Q;
12604
- return N === null ? Q = new I() : typeof N != "string" && !A.objectMode && (Q = new h("chunk", ["string", "Buffer"], N)), Q ? (C(B, Q), browser$2.exports.nextTick(Z, Q), !1) : !0;
12506
+ return N === null ? Q = new I() : typeof N != "string" && !A.objectMode && (Q = new h("chunk", ["string", "Buffer"], N)), Q ? (C(B, Q), process.nextTick(Z, Q), !1) : !0;
12605
12507
  }
12606
12508
  b.prototype.write = function(B, A, N) {
12607
12509
  var Z = this._writableState, Q = !1, E = !Z.objectMode && c(B);
12608
- return E && !o.isBuffer(B) && (B = s(B)), typeof A == "function" && (N = A, A = null), E ? A = "buffer" : A || (A = Z.defaultEncoding), typeof N != "function" && (N = w), Z.ending ? T(this, N) : (E || F(this, Z, B, N)) && (Z.pendingcb++, Q = L(this, Z, E, B, A, N)), Q;
12510
+ return E && !o.isBuffer(B) && (B = s(B)), typeof A == "function" && (N = A, A = null), E ? A = "buffer" : A || (A = Z.defaultEncoding), typeof N != "function" && (N = w), Z.ending ? T(this, N) : (E || F(this, Z, B, N)) && (Z.pendingcb++, Q = $(this, Z, E, B, A, N)), Q;
12609
12511
  }, b.prototype.cork = function() {
12610
12512
  this._writableState.corked++;
12611
12513
  }, b.prototype.uncork = function() {
@@ -12630,7 +12532,7 @@ function require_stream_writable() {
12630
12532
  return this._writableState.highWaterMark;
12631
12533
  }
12632
12534
  });
12633
- function L(B, A, N, Z, Q, E) {
12535
+ function $(B, A, N, Z, Q, E) {
12634
12536
  if (!N) {
12635
12537
  var S = k(A, Z, Q);
12636
12538
  Z !== S && (N = !0, Q = "buffer", Z = S);
@@ -12655,7 +12557,7 @@ function require_stream_writable() {
12655
12557
  A.writelen = Z, A.writecb = S, A.writing = !0, A.sync = !0, A.destroyed ? A.onwrite(new x("write")) : N ? B._writev(Q, A.onwrite) : B._write(Q, E, A.onwrite), A.sync = !1;
12656
12558
  }
12657
12559
  function P(B, A, N, Z, Q) {
12658
- --A.pendingcb, N ? (browser$2.exports.nextTick(Q, Z), browser$2.exports.nextTick(V, B, A), B._writableState.errorEmitted = !0, C(B, Z)) : (Q(Z), B._writableState.errorEmitted = !0, C(B, Z), V(B, A));
12560
+ --A.pendingcb, N ? (process.nextTick(Q, Z), process.nextTick(V, B, A), B._writableState.errorEmitted = !0, C(B, Z)) : (Q(Z), B._writableState.errorEmitted = !0, C(B, Z), V(B, A));
12659
12561
  }
12660
12562
  function M(B) {
12661
12563
  B.writing = !1, B.writecb = null, B.length -= B.writelen, B.writelen = 0;
@@ -12668,13 +12570,13 @@ function require_stream_writable() {
12668
12570
  P(B, N, Z, A, Q);
12669
12571
  else {
12670
12572
  var E = K(N) || B.destroyed;
12671
- !E && !N.corked && !N.bufferProcessing && N.bufferedRequest && H(B, N), Z ? browser$2.exports.nextTick(j, B, N, E, Q) : j(B, N, E, Q);
12573
+ !E && !N.corked && !N.bufferProcessing && N.bufferedRequest && H(B, N), Z ? process.nextTick(j, B, N, E, Q) : j(B, N, E, Q);
12672
12574
  }
12673
12575
  }
12674
12576
  function j(B, A, N, Z) {
12675
- N || $(B, A), A.pendingcb--, Z(), V(B, A);
12577
+ N || L(B, A), A.pendingcb--, Z(), V(B, A);
12676
12578
  }
12677
- function $(B, A) {
12579
+ function L(B, A) {
12678
12580
  A.length === 0 && A.needDrain && (A.needDrain = !1, B.emit("drain"));
12679
12581
  }
12680
12582
  function H(B, A) {
@@ -12716,7 +12618,7 @@ function require_stream_writable() {
12716
12618
  });
12717
12619
  }
12718
12620
  function z(B, A) {
12719
- !A.prefinished && !A.finalCalled && (typeof B._final == "function" && !A.destroyed ? (A.pendingcb++, A.finalCalled = !0, browser$2.exports.nextTick(G, B, A)) : (A.prefinished = !0, B.emit("prefinish")));
12621
+ !A.prefinished && !A.finalCalled && (typeof B._final == "function" && !A.destroyed ? (A.pendingcb++, A.finalCalled = !0, process.nextTick(G, B, A)) : (A.prefinished = !0, B.emit("prefinish")));
12720
12622
  }
12721
12623
  function V(B, A) {
12722
12624
  var N = K(A);
@@ -12727,7 +12629,7 @@ function require_stream_writable() {
12727
12629
  return N;
12728
12630
  }
12729
12631
  function U(B, A, N) {
12730
- A.ending = !0, V(B, A), N && (A.finished ? browser$2.exports.nextTick(N) : B.once("finish", N)), A.ended = !0, B.writable = !1;
12632
+ A.ending = !0, V(B, A), N && (A.finished ? process.nextTick(N) : B.once("finish", N)), A.ended = !0, B.writable = !1;
12731
12633
  }
12732
12634
  function Y(B, A, N) {
12733
12635
  var Z = B.entry;
@@ -12789,7 +12691,7 @@ function require_stream_duplex() {
12789
12691
  }
12790
12692
  });
12791
12693
  function c() {
12792
- this._writableState.ended || browser$2.exports.nextTick(l, this);
12694
+ this._writableState.ended || process.nextTick(l, this);
12793
12695
  }
12794
12696
  function l(u) {
12795
12697
  u.end();
@@ -13069,7 +12971,7 @@ function requireAsync_iterator() {
13069
12971
  }
13070
12972
  }
13071
12973
  function h(I) {
13072
- browser$2.exports.nextTick(f, I);
12974
+ process.nextTick(f, I);
13073
12975
  }
13074
12976
  function p(I, m) {
13075
12977
  return function(y, C) {
@@ -13095,7 +12997,7 @@ function requireAsync_iterator() {
13095
12997
  return Promise.resolve(d(void 0, !0));
13096
12998
  if (this[u].destroyed)
13097
12999
  return new Promise(function(_, b) {
13098
- browser$2.exports.nextTick(function() {
13000
+ process.nextTick(function() {
13099
13001
  m[a] ? b(m[a]) : _(d(void 0, !0));
13100
13002
  });
13101
13003
  });
@@ -13224,7 +13126,7 @@ function require_stream_readable() {
13224
13126
  ee.reading = !1, q(E, ee);
13225
13127
  else {
13226
13128
  var oe;
13227
- if (ne || (oe = L(ee, S)), oe)
13129
+ if (ne || (oe = $(ee, S)), oe)
13228
13130
  w(E, oe);
13229
13131
  else if (ee.objectMode || S && S.length > 0)
13230
13132
  if (typeof S != "string" && !ee.objectMode && Object.getPrototypeOf(S) !== r.prototype && (S = a(S)), X)
@@ -13244,7 +13146,7 @@ function require_stream_readable() {
13244
13146
  function k(E, S, W, X) {
13245
13147
  S.flowing && S.length === 0 && !S.sync ? (S.awaitDrain = 0, E.emit("data", W)) : (S.length += S.objectMode ? 1 : W.length, X ? S.buffer.unshift(W) : S.buffer.push(W), S.needReadable && j(E)), H(E, S);
13246
13148
  }
13247
- function L(E, S) {
13149
+ function $(E, S) {
13248
13150
  var W;
13249
13151
  return !s(S) && typeof S != "string" && S !== void 0 && !E.objectMode && (W = new g("chunk", ["string", "Buffer", "Uint8Array"], S)), W;
13250
13152
  }
@@ -13283,19 +13185,19 @@ function require_stream_readable() {
13283
13185
  var W = S.decoder.end();
13284
13186
  W && W.length && (S.buffer.push(W), S.length += S.objectMode ? 1 : W.length);
13285
13187
  }
13286
- S.ended = !0, S.sync ? j(E) : (S.needReadable = !1, S.emittedReadable || (S.emittedReadable = !0, $(E)));
13188
+ S.ended = !0, S.sync ? j(E) : (S.needReadable = !1, S.emittedReadable || (S.emittedReadable = !0, L(E)));
13287
13189
  }
13288
13190
  }
13289
13191
  function j(E) {
13290
13192
  var S = E._readableState;
13291
- l("emitReadable", S.needReadable, S.emittedReadable), S.needReadable = !1, S.emittedReadable || (l("emitReadable", S.flowing), S.emittedReadable = !0, browser$2.exports.nextTick($, E));
13193
+ l("emitReadable", S.needReadable, S.emittedReadable), S.needReadable = !1, S.emittedReadable || (l("emitReadable", S.flowing), S.emittedReadable = !0, process.nextTick(L, E));
13292
13194
  }
13293
- function $(E) {
13195
+ function L(E) {
13294
13196
  var S = E._readableState;
13295
13197
  l("emitReadable_", S.destroyed, S.length, S.ended), !S.destroyed && (S.length || S.ended) && (E.emit("readable"), S.emittedReadable = !1), S.needReadable = !S.flowing && !S.ended && S.length <= S.highWaterMark, B(E);
13296
13198
  }
13297
13199
  function H(E, S) {
13298
- S.readingMore || (S.readingMore = !0, browser$2.exports.nextTick(K, E, S));
13200
+ S.readingMore || (S.readingMore = !0, process.nextTick(K, E, S));
13299
13201
  }
13300
13202
  function K(E, S) {
13301
13203
  for (; !S.reading && !S.ended && (S.length < S.highWaterMark || S.flowing && S.length === 0); ) {
@@ -13321,8 +13223,8 @@ function require_stream_readable() {
13321
13223
  break;
13322
13224
  }
13323
13225
  X.pipesCount += 1, l("pipe count=%d opts=%j", X.pipesCount, S);
13324
- var ne = (!S || S.end !== !1) && E !== browser$2.exports.stdout && E !== browser$2.exports.stderr, ee = ne ? le : ye;
13325
- X.endEmitted ? browser$2.exports.nextTick(ee) : W.once("end", ee), E.on("unpipe", oe);
13226
+ var ne = (!S || S.end !== !1) && E !== process.stdout && E !== process.stderr, ee = ne ? le : ye;
13227
+ X.endEmitted ? process.nextTick(ee) : W.once("end", ee), E.on("unpipe", oe);
13326
13228
  function oe(Fe, Ce) {
13327
13229
  l("onunpipe"), Fe === W && Ce && Ce.hasUnpiped === !1 && (Ce.hasUnpiped = !0, fe());
13328
13230
  }
@@ -13385,13 +13287,13 @@ function require_stream_readable() {
13385
13287
  return oe === -1 ? this : (S.pipes.splice(oe, 1), S.pipesCount -= 1, S.pipesCount === 1 && (S.pipes = S.pipes[0]), E.emit("unpipe", this, W), this);
13386
13288
  }, T.prototype.on = function(E, S) {
13387
13289
  var W = n.prototype.on.call(this, E, S), X = this._readableState;
13388
- return E === "data" ? (X.readableListening = this.listenerCount("readable") > 0, X.flowing !== !1 && this.resume()) : E === "readable" && !X.endEmitted && !X.readableListening && (X.readableListening = X.needReadable = !0, X.flowing = !1, X.emittedReadable = !1, l("on readable", X.length, X.reading), X.length ? j(this) : X.reading || browser$2.exports.nextTick(V, this)), W;
13290
+ return E === "data" ? (X.readableListening = this.listenerCount("readable") > 0, X.flowing !== !1 && this.resume()) : E === "readable" && !X.endEmitted && !X.readableListening && (X.readableListening = X.needReadable = !0, X.flowing = !1, X.emittedReadable = !1, l("on readable", X.length, X.reading), X.length ? j(this) : X.reading || process.nextTick(V, this)), W;
13389
13291
  }, T.prototype.addListener = T.prototype.on, T.prototype.removeListener = function(E, S) {
13390
13292
  var W = n.prototype.removeListener.call(this, E, S);
13391
- return E === "readable" && browser$2.exports.nextTick(z, this), W;
13293
+ return E === "readable" && process.nextTick(z, this), W;
13392
13294
  }, T.prototype.removeAllListeners = function(E) {
13393
13295
  var S = n.prototype.removeAllListeners.apply(this, arguments);
13394
- return (E === "readable" || E === void 0) && browser$2.exports.nextTick(z, this), S;
13296
+ return (E === "readable" || E === void 0) && process.nextTick(z, this), S;
13395
13297
  };
13396
13298
  function z(E) {
13397
13299
  var S = E._readableState;
@@ -13405,7 +13307,7 @@ function require_stream_readable() {
13405
13307
  return E.flowing || (l("resume"), E.flowing = !E.readableListening, U(this, E)), E.paused = !1, this;
13406
13308
  };
13407
13309
  function U(E, S) {
13408
- S.resumeScheduled || (S.resumeScheduled = !0, browser$2.exports.nextTick(Y, E, S));
13310
+ S.resumeScheduled || (S.resumeScheduled = !0, process.nextTick(Y, E, S));
13409
13311
  }
13410
13312
  function Y(E, S) {
13411
13313
  l("resume", S.reading), S.reading || E.read(0), S.resumeScheduled = !1, E.emit("resume"), B(E), S.flowing && !S.reading && E.read(0);
@@ -13477,7 +13379,7 @@ function require_stream_readable() {
13477
13379
  }
13478
13380
  function N(E) {
13479
13381
  var S = E._readableState;
13480
- l("endReadable", S.endEmitted), S.endEmitted || (S.ended = !0, browser$2.exports.nextTick(Z, S, E));
13382
+ l("endReadable", S.endEmitted), S.endEmitted || (S.ended = !0, process.nextTick(Z, S, E));
13481
13383
  }
13482
13384
  function Z(E, S) {
13483
13385
  if (l("endReadableNT", E.endEmitted, E.length), !E.endEmitted && E.length === 0 && (E.endEmitted = !0, S.readable = !1, S.emit("end"), E.autoDestroy)) {
@@ -15584,12 +15486,12 @@ var core = fileType;
15584
15486
  })(browser$1);
15585
15487
  const FileType = browser$1.exports;
15586
15488
  function getFilesize(e) {
15587
- const n = Buffer.from(e, "base64").length / 1e3;
15489
+ const n = Buffer$1.from(e, "base64").length / 1e3;
15588
15490
  return `${Math.round((n + Number.EPSILON) * 100) / 100} KB`;
15589
15491
  }
15590
15492
  async function getMimeType(e) {
15591
15493
  const t = await FileType.fromBuffer(
15592
- Buffer.from(e, "base64")
15494
+ Buffer$1.from(e, "base64")
15593
15495
  );
15594
15496
  return t || {
15595
15497
  mime: "text/plain",
@@ -15865,7 +15767,7 @@ const Image = (e) => {
15865
15767
  cursor: "pointer"
15866
15768
  },
15867
15769
  onClick: () => {
15868
- p(y.find((L) => b.id === L.id)), f(!0);
15770
+ p(y.find(($) => b.id === $.id)), f(!0);
15869
15771
  },
15870
15772
  children: /* @__PURE__ */ jsx("strong", {
15871
15773
  children: (F = b.values) == null ? void 0 : F[m]
@@ -15876,7 +15778,7 @@ const Image = (e) => {
15876
15778
  cursor: "pointer"
15877
15779
  },
15878
15780
  onClick: () => {
15879
- p(y.find((L) => b.id === L.id)), f(!0);
15781
+ p(y.find(($) => b.id === $.id)), f(!0);
15880
15782
  },
15881
15783
  children: (k = b.values) == null ? void 0 : k[I]
15882
15784
  })]
@@ -16404,13 +16306,13 @@ const transformPlainMany2Ones = ({
16404
16306
  searchTreeRef: T,
16405
16307
  onNewClicked: F,
16406
16308
  currentId: k,
16407
- setCurrentId: L,
16309
+ setCurrentId: $,
16408
16310
  setResults: D,
16409
16311
  results: P,
16410
16312
  currentItemIndex: M,
16411
16313
  setCurrentItemIndex: q,
16412
16314
  currentModel: j,
16413
- toolbar: $,
16315
+ toolbar: L,
16414
16316
  setToolbar: H,
16415
16317
  sorter: K,
16416
16318
  setSorter: G,
@@ -16422,7 +16324,7 @@ const transformPlainMany2Ones = ({
16422
16324
  setSearchTreeNameSearch: A
16423
16325
  } = e;
16424
16326
  useEffect(() => {
16425
- P && P.length > 0 && !M && (q == null || q(0), L == null || L(P[0].id));
16327
+ P && P.length > 0 && !M && (q == null || q(0), $ == null || $(P[0].id));
16426
16328
  }, [P]);
16427
16329
  const N = () => {
16428
16330
  var Z;
@@ -16443,7 +16345,7 @@ const transformPlainMany2Ones = ({
16443
16345
  onFormSave: N,
16444
16346
  onNewClicked: F,
16445
16347
  currentId: k,
16446
- setCurrentId: L,
16348
+ setCurrentId: $,
16447
16349
  currentItemIndex: M,
16448
16350
  setCurrentItemIndex: q,
16449
16351
  results: P,
@@ -16455,7 +16357,7 @@ const transformPlainMany2Ones = ({
16455
16357
  setFormIsLoading: l,
16456
16358
  treeIsLoading: u,
16457
16359
  setTreeIsLoading: d,
16458
- toolbar: $,
16360
+ toolbar: L,
16459
16361
  setToolbar: H,
16460
16362
  attachments: f,
16461
16363
  setAttachments: h,
@@ -16527,7 +16429,7 @@ const transformPlainMany2Ones = ({
16527
16429
  values: F,
16528
16430
  context: k = {}
16529
16431
  } = _, {
16530
- context: L,
16432
+ context: $,
16531
16433
  model: D,
16532
16434
  datas: P = {},
16533
16435
  report_name: M,
@@ -16539,18 +16441,18 @@ const transformPlainMany2Ones = ({
16539
16441
  }
16540
16442
  const {
16541
16443
  ids: j,
16542
- ...$
16444
+ ...L
16543
16445
  } = P || {};
16544
16446
  let H = j;
16545
- const K = typeof L == "string" ? parseContext({
16546
- context: L,
16447
+ const K = typeof $ == "string" ? parseContext({
16448
+ context: $,
16547
16449
  fields: T,
16548
16450
  values: F
16549
- }) : L;
16451
+ }) : $;
16550
16452
  if (!H) {
16551
16453
  const G = await ConnectionProvider.getHandler().searchAllIds({
16552
16454
  params: [],
16553
- model: $.model || D,
16455
+ model: L.model || D,
16554
16456
  totalItems: 1,
16555
16457
  context: {
16556
16458
  ...k,
@@ -16603,19 +16505,19 @@ const transformPlainMany2Ones = ({
16603
16505
  onRefreshParentValues: k
16604
16506
  }) {
16605
16507
  const {
16606
- type: L
16508
+ type: $
16607
16509
  } = _;
16608
- return d.current = k, L === "ir.actions.report.xml" ? await x({
16510
+ return d.current = k, $ === "ir.actions.report.xml" ? await x({
16609
16511
  reportData: _,
16610
16512
  fields: b,
16611
16513
  values: T,
16612
16514
  context: F
16613
- }) : L === "ir.actions.act_window" ? await y({
16515
+ }) : $ === "ir.actions.act_window" ? await y({
16614
16516
  actionData: _,
16615
16517
  fields: b,
16616
16518
  values: T,
16617
16519
  context: F
16618
- }) : (showDialog$8(`${L} action not supported`), {});
16520
+ }) : (showDialog$8(`${$} action not supported`), {});
16619
16521
  }
16620
16522
  async function y({
16621
16523
  actionData: _,
@@ -16664,14 +16566,14 @@ const transformPlainMany2Ones = ({
16664
16566
  }), {};
16665
16567
  } else {
16666
16568
  let q;
16667
- const j = k.view_mode.split(","), $ = [];
16569
+ const j = k.view_mode.split(","), L = [];
16668
16570
  for (const H of j) {
16669
16571
  const K = await ConnectionProvider.getHandler().getView({
16670
16572
  model: k.res_model,
16671
16573
  type: H,
16672
16574
  context: D
16673
16575
  });
16674
- $.push([K.view_id, H]);
16576
+ L.push([K.view_id, H]);
16675
16577
  }
16676
16578
  if (k.view_id)
16677
16579
  q = {
@@ -16679,7 +16581,7 @@ const transformPlainMany2Ones = ({
16679
16581
  type: k.view_mode.split(",")[0]
16680
16582
  };
16681
16583
  else {
16682
- const H = k.view_mode.split(",")[0], [K] = $.find(([G, z]) => z === H);
16584
+ const H = k.view_mode.split(",")[0], [K] = L.find(([G, z]) => z === H);
16683
16585
  q = {
16684
16586
  id: K,
16685
16587
  type: H
@@ -16690,7 +16592,7 @@ const transformPlainMany2Ones = ({
16690
16592
  context: D,
16691
16593
  domain: P,
16692
16594
  model: k.res_model,
16693
- views: $,
16595
+ views: L,
16694
16596
  title: k.name,
16695
16597
  initialView: q,
16696
16598
  action_id: k.id,
@@ -16734,7 +16636,7 @@ const transformPlainMany2Ones = ({
16734
16636
  context: {},
16735
16637
  formView: void 0,
16736
16638
  actionData: void 0
16737
- }), p(!1), await new Promise((L) => setTimeout(L, 300)), v({
16639
+ }), p(!1), await new Promise(($) => setTimeout($, 300)), v({
16738
16640
  domain: _,
16739
16641
  model: b,
16740
16642
  context: F,
@@ -16818,7 +16720,7 @@ function Form(e, t) {
16818
16720
  forcedValues: O = {}
16819
16721
  } = e, {
16820
16722
  lang: _
16821
- } = useContext(LocaleContext), [b, T] = useState(!1), [F, k] = useState(), [L, D] = useState(), [P] = Form$3.useForm(), [M, q] = useState(), [j, $] = useState(), H = useContext(FormModalContext), [K, G] = useState(), [z, V] = useState(!1), U = useRef(), Y = useRef({}), B = useRef({}), A = useRef(!1), N = useRef(!1), Z = K < WIDTH_BREAKPOINT, Q = useContext(FormContext$1), {
16723
+ } = useContext(LocaleContext), [b, T] = useState(!1), [F, k] = useState(), [$, D] = useState(), [P] = Form$3.useForm(), [M, q] = useState(), [j, L] = useState(), H = useContext(FormModalContext), [K, G] = useState(), [z, V] = useState(!1), U = useRef(), Y = useRef({}), B = useRef({}), A = useRef(!1), N = useRef(!1), Z = K < WIDTH_BREAKPOINT, Q = useContext(FormContext$1), {
16822
16724
  activeId: E
16823
16725
  } = Q || {}, S = useContext(ActionViewContext), {
16824
16726
  setFormIsSaving: W = void 0,
@@ -16895,7 +16797,7 @@ function Form(e, t) {
16895
16797
  function Ee() {
16896
16798
  return {
16897
16799
  ...I,
16898
- ...L == null ? void 0 : L.context
16800
+ ...$ == null ? void 0 : $.context
16899
16801
  };
16900
16802
  }
16901
16803
  function ie() {
@@ -16908,7 +16810,7 @@ function Form(e, t) {
16908
16810
  };
16909
16811
  }
16910
16812
  const de = async (J) => {
16911
- const te = ge() ? L == null ? void 0 : L.context : {};
16813
+ const te = ge() ? $ == null ? void 0 : $.context : {};
16912
16814
  return await ConnectionProvider.getHandler().defaultGet({
16913
16815
  model: n,
16914
16816
  fields: J,
@@ -16949,12 +16851,12 @@ function Form(e, t) {
16949
16851
  g ? J = {
16950
16852
  arch: g.arch,
16951
16853
  fields: g.fields
16952
- } : J = await Le();
16854
+ } : J = await $e();
16953
16855
  const {
16954
16856
  fields: te,
16955
16857
  arch: ae
16956
16858
  } = J;
16957
- $(te), q(ae), await _e({
16859
+ L(te), q(ae), await _e({
16958
16860
  fields: te,
16959
16861
  arch: ae
16960
16862
  });
@@ -16977,7 +16879,7 @@ function Form(e, t) {
16977
16879
  fields: ae,
16978
16880
  reset: !0,
16979
16881
  isDefaultGet: Oe
16980
- }), $e({
16882
+ }), Le({
16981
16883
  fields: ae,
16982
16884
  arch: pe,
16983
16885
  values: te
@@ -16996,7 +16898,7 @@ function Form(e, t) {
16996
16898
  J(!1);
16997
16899
  }
16998
16900
  }) : (Ie == null || Ie(), J(!0));
16999
- }), Le = async () => {
16901
+ }), $e = async () => {
17000
16902
  if (c) {
17001
16903
  const J = await ConnectionProvider.getHandler().getActionStringForModel(n);
17002
16904
  return (await ConnectionProvider.getHandler().getViewsForAction({
@@ -17072,7 +16974,7 @@ function Form(e, t) {
17072
16974
  fields: j,
17073
16975
  context: {
17074
16976
  ...I,
17075
- ...L == null ? void 0 : L.context
16977
+ ...$ == null ? void 0 : $.context
17076
16978
  }
17077
16979
  }), Y.current = re(j);
17078
16980
  } else {
@@ -17085,7 +16987,7 @@ function Form(e, t) {
17085
16987
  fields: j,
17086
16988
  context: {
17087
16989
  ...I,
17088
- ...L == null ? void 0 : L.context
16990
+ ...$ == null ? void 0 : $.context
17089
16991
  }
17090
16992
  });
17091
16993
  U.current = pe, Y.current = ae;
@@ -17118,7 +17020,7 @@ function Form(e, t) {
17118
17020
  N.current = !1, W == null || W(!1), T(!1);
17119
17021
  }
17120
17022
  return te;
17121
- }, $e = ({
17023
+ }, Le = ({
17122
17024
  fields: J,
17123
17025
  arch: te,
17124
17026
  values: ae
@@ -17164,9 +17066,9 @@ function Form(e, t) {
17164
17066
  showDialog$8(te);
17165
17067
  }
17166
17068
  }, Ge = async (J) => {
17167
- const te = L == null ? void 0 : L.onChangeFields[J], ae = processValues(P.getFieldsValue(!0), j);
17069
+ const te = $ == null ? void 0 : $.onChangeFields[J], ae = processValues(P.getFieldsValue(!0), j);
17168
17070
  if (!te) {
17169
- $e({
17071
+ Le({
17170
17072
  fields: j,
17171
17073
  arch: M,
17172
17074
  values: ae
@@ -17178,7 +17080,7 @@ function Form(e, t) {
17178
17080
  ...ae,
17179
17081
  context: {
17180
17082
  ...I,
17181
- ...L == null ? void 0 : L.context
17083
+ ...$ == null ? void 0 : $.context
17182
17084
  }
17183
17085
  },
17184
17086
  onChangeFieldActionArgs: te.args
@@ -17194,7 +17096,7 @@ function Form(e, t) {
17194
17096
  ...ae,
17195
17097
  ...Oe.value
17196
17098
  };
17197
- $e({
17099
+ Le({
17198
17100
  fields: j,
17199
17101
  arch: M,
17200
17102
  values: Pe
@@ -17218,11 +17120,11 @@ function Form(e, t) {
17218
17120
  fieldsDomain: Oe.domain,
17219
17121
  fields: j
17220
17122
  });
17221
- $e({
17123
+ Le({
17222
17124
  fields: Pe,
17223
17125
  arch: M,
17224
17126
  values: ae
17225
- }), $(Pe);
17127
+ }), L(Pe);
17226
17128
  }
17227
17129
  };
17228
17130
  async function Ye({
@@ -17235,7 +17137,7 @@ function Form(e, t) {
17235
17137
  payload: [ge()],
17236
17138
  context: {
17237
17139
  ...te,
17238
- ...L == null ? void 0 : L.context,
17140
+ ...$ == null ? void 0 : $.context,
17239
17141
  ...I
17240
17142
  }
17241
17143
  });
@@ -17295,7 +17197,7 @@ function Form(e, t) {
17295
17197
  values: ye(),
17296
17198
  context: {
17297
17199
  ...I,
17298
- ...L == null ? void 0 : L.context,
17200
+ ...$ == null ? void 0 : $.context,
17299
17201
  ...te
17300
17202
  },
17301
17203
  onRefreshParentValues: () => {
@@ -17338,7 +17240,7 @@ function Form(e, t) {
17338
17240
  showDialog$8(pe);
17339
17241
  }
17340
17242
  }
17341
- const be = () => !L && !F ? /* @__PURE__ */ jsx(Spin, {}) : !n && !g || !y ? null : /* @__PURE__ */ jsx(Fragment, {
17243
+ const be = () => !$ && !F ? /* @__PURE__ */ jsx(Spin, {}) : !n && !g || !y ? null : /* @__PURE__ */ jsx(Fragment, {
17342
17244
  children: /* @__PURE__ */ jsx(FormProvider$1, {
17343
17245
  getValues: ye,
17344
17246
  getPlainValues: Fe,
@@ -17364,8 +17266,8 @@ function Form(e, t) {
17364
17266
  },
17365
17267
  component: !1,
17366
17268
  preserve: !1,
17367
- children: L && /* @__PURE__ */ jsx(Container, {
17368
- container: L.container,
17269
+ children: $ && /* @__PURE__ */ jsx(Container, {
17270
+ container: $.container,
17369
17271
  responsiveBehaviour: Z
17370
17272
  })
17371
17273
  })
@@ -18103,7 +18005,7 @@ const Many2oneSuffixModal = (e) => {
18103
18005
  f(F);
18104
18006
  const {
18105
18007
  fields: k,
18106
- arch: L
18008
+ arch: $
18107
18009
  } = F, D = (await ConnectionProvider.getHandler().readObjects({
18108
18010
  model: n,
18109
18011
  ids: [t],
@@ -18132,9 +18034,9 @@ const Many2oneSuffixModal = (e) => {
18132
18034
  });
18133
18035
  if (!d || !d.toolbar)
18134
18036
  return /* @__PURE__ */ jsx(Menu, {});
18135
- const F = (k = d == null ? void 0 : d.toolbar) == null ? void 0 : k.relate.map((L) => /* @__PURE__ */ jsx(Menu.Item, {
18136
- children: L.name
18137
- }, L.id));
18037
+ const F = (k = d == null ? void 0 : d.toolbar) == null ? void 0 : k.relate.map(($) => /* @__PURE__ */ jsx(Menu.Item, {
18038
+ children: $.name
18039
+ }, $.id));
18138
18040
  return /* @__PURE__ */ jsx(Menu, {
18139
18041
  onClick: w,
18140
18042
  children: [/* @__PURE__ */ jsx(Menu.Item, {
@@ -18161,7 +18063,7 @@ const Many2oneSuffixModal = (e) => {
18161
18063
  else if (F.key === "print")
18162
18064
  c(!0);
18163
18065
  else {
18164
- const k = d.toolbar.relate.find((L) => L.id === parseInt(F.key));
18066
+ const k = d.toolbar.relate.find(($) => $.id === parseInt(F.key));
18165
18067
  if (!k)
18166
18068
  return;
18167
18069
  x({
@@ -18415,7 +18317,7 @@ function Tree(e) {
18415
18317
  children: F
18416
18318
  })]
18417
18319
  });
18418
- function L() {
18320
+ function $() {
18419
18321
  var H;
18420
18322
  const q = O.current.columns.filter((K) => K.sum !== void 0).map((K) => ({
18421
18323
  label: K.sum,
@@ -18423,9 +18325,9 @@ function Tree(e) {
18423
18325
  }));
18424
18326
  if (!q || q.length === 0)
18425
18327
  return null;
18426
- let j = [], $ = ((H = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : H.length) > 0 ? I.filter((K) => d == null ? void 0 : d.selectedRowKeys.includes(K.id)) : I;
18328
+ let j = [], L = ((H = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : H.length) > 0 ? I.filter((K) => d == null ? void 0 : d.selectedRowKeys.includes(K.id)) : I;
18427
18329
  return q.forEach((K) => {
18428
- const G = $.reduce((z, V) => V[K.field] && !isNaN(V[K.field]) ? z + V[K.field] : z, 0);
18330
+ const G = L.reduce((z, V) => V[K.field] && !isNaN(V[K.field]) ? z + V[K.field] : z, 0);
18429
18331
  j.push(`${K.label}: ${Math.round(G * 100) / 100}`);
18430
18332
  }), /* @__PURE__ */ jsx("div", {
18431
18333
  className: "p-1 pb-0 pl-2 mt-2 bg-gray-50",
@@ -18466,7 +18368,7 @@ function Tree(e) {
18466
18368
  onFetchChildrenForRecord: v,
18467
18369
  childField: x
18468
18370
  } : void 0
18469
- }), L()]
18371
+ }), $()]
18470
18372
  });
18471
18373
  }
18472
18374
  const DEFAULT_SEARCH_LIMIT$1 = 80;
@@ -18484,7 +18386,7 @@ function SearchTree(e, t) {
18484
18386
  rootTree: f = !1,
18485
18387
  parentContext: h = {},
18486
18388
  onChangeSelectedRowKeys: p
18487
- } = e, [g, v] = useState(!1), [x, I] = useState(!1), m = useRef(!1), y = useRef(80), [C, w] = useState(), [O, _] = useState(), [b, T] = useState(), [F, k] = useState(1), [L, D] = useState(0), [P, M] = useState(DEFAULT_SEARCH_LIMIT$1), [q, j] = useState(), $ = useRef([]), [H, K] = useState(0), [G, z] = useState([]), [V, U] = useState(void 0), [Y, B] = useState(!1), [A, N] = useState(), [Z, Q] = useState(), [E, S] = useState(!1), W = useRef([]), [X, ne] = useState(200), ee = useRef([]), oe = useRef(), {
18389
+ } = e, [g, v] = useState(!1), [x, I] = useState(!1), m = useRef(!1), y = useRef(80), [C, w] = useState(), [O, _] = useState(), [b, T] = useState(), [F, k] = useState(1), [$, D] = useState(0), [P, M] = useState(DEFAULT_SEARCH_LIMIT$1), [q, j] = useState(), L = useRef([]), [H, K] = useState(0), [G, z] = useState([]), [V, U] = useState(void 0), [Y, B] = useState(!1), [A, N] = useState(), [Z, Q] = useState(), [E, S] = useState(!1), W = useRef([]), [X, ne] = useState(200), ee = useRef([]), oe = useRef(), {
18488
18390
  height: le
18489
18391
  } = useWindowDimensions(), ue = useContext(ActionViewContext), {
18490
18392
  setResults: se = void 0,
@@ -18557,13 +18459,13 @@ function SearchTree(e, t) {
18557
18459
  return ce.forEach((be) => {
18558
18460
  Array.isArray(be) && be[0] ? ve[be[0]] = !0 : ve[be] = !0;
18559
18461
  }), Object.keys(ve);
18560
- }, Le = (ce, ve) => {
18462
+ }, $e = (ce, ve) => {
18561
18463
  const be = ce, ke = Me(ce);
18562
18464
  return ve.forEach((J) => {
18563
18465
  Array.isArray(J) && J[0] ? ke.includes(J[0]) || be.push(J) : ke.includes(J) || be.push(J);
18564
18466
  }), be;
18565
18467
  }, De = async () => {
18566
- const ce = W.current.length > 0 ? W.current : u, ve = Le($.current, ce), {
18468
+ const ce = W.current.length > 0 ? W.current : u, ve = $e(L.current, ce), {
18567
18469
  colors: be
18568
18470
  } = getTree(O), {
18569
18471
  totalItems: ke,
@@ -18572,7 +18474,7 @@ function SearchTree(e, t) {
18572
18474
  } = await ConnectionProvider.getHandler().searchForTree({
18573
18475
  params: ve,
18574
18476
  limit: P,
18575
- offset: L,
18477
+ offset: $,
18576
18478
  model: C,
18577
18479
  fields: O.field_parent ? {
18578
18480
  ...O.fields,
@@ -18620,11 +18522,11 @@ function SearchTree(e, t) {
18620
18522
  }
18621
18523
  useEffect(() => {
18622
18524
  !x || d && (m.current = !1, Ne());
18623
- }, [F, P, L, x, d, c]);
18525
+ }, [F, P, $, x, d, c]);
18624
18526
  const Ue = async (ce) => {
18625
18527
  I(!1), v(!0), Q(void 0), re == null || re(!0);
18626
18528
  try {
18627
- ce === "action" ? await Be() : await $e(), I(!0);
18529
+ ce === "action" ? await Be() : await Le(), I(!0);
18628
18530
  } catch (ve) {
18629
18531
  Q(ve);
18630
18532
  } finally {
@@ -18636,7 +18538,7 @@ function SearchTree(e, t) {
18636
18538
  context: h
18637
18539
  });
18638
18540
  W.current = ce.domain, T(ce.views.get("form")), _(ce.views.get("tree")), w(ce.model), j(ce.limit), M(ce.limit);
18639
- }, $e = async () => {
18541
+ }, Le = async () => {
18640
18542
  w(r);
18641
18543
  let ce = o;
18642
18544
  o || (ce = await ConnectionProvider.getHandler().getView({
@@ -18655,13 +18557,13 @@ function SearchTree(e, t) {
18655
18557
  n ? Ue("action") : r && Ue("model");
18656
18558
  }, [n, r]);
18657
18559
  const qe = () => {
18658
- E || (he == null || he(void 0), $.current = [], ye == null || ye([]), N(void 0), D(0), k(1), M(q || DEFAULT_SEARCH_LIMIT$1));
18560
+ E || (he == null || he(void 0), L.current = [], ye == null || ye([]), N(void 0), D(0), k(1), M(q || DEFAULT_SEARCH_LIMIT$1));
18659
18561
  }, We = ({
18660
18562
  params: ce,
18661
18563
  limit: ve,
18662
18564
  offset: be
18663
18565
  }) => {
18664
- E || ($.current = ce, he == null || he(void 0), we == null || we([]), ye == null || ye(ce), Ce == null || Ce(!1), B(!0), N(void 0), k(1), ve && M(ve), be && D(be), Ne());
18566
+ E || (L.current = ce, he == null || he(void 0), we == null || we([]), ye == null || ye(ce), Ce == null || Ce(!1), B(!0), N(void 0), k(1), ve && M(ve), be && D(be), Ne());
18665
18567
  }, ze = (ce) => {
18666
18568
  y.current = ce;
18667
18569
  }, Ge = async (ce) => {
@@ -18732,7 +18634,7 @@ function SearchTree(e, t) {
18732
18634
  searchFields: mergeSearchFields([b.search_fields, O.search_fields]),
18733
18635
  onClear: qe,
18734
18636
  limit: P,
18735
- offset: L,
18637
+ offset: $,
18736
18638
  isSearching: Y,
18737
18639
  onSubmit: We,
18738
18640
  onLimitChange: ze
@@ -18926,20 +18828,20 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18926
18828
  getValues: T,
18927
18829
  getFields: F,
18928
18830
  getContext: k,
18929
- setOriginalValue: L,
18831
+ setOriginalValue: $,
18930
18832
  elementHasLostFocus: D
18931
- } = _ || {}, P = useRef([]), [M, q] = useState([]), j = t && t[0], $ = t && t[1] || "";
18833
+ } = _ || {}, P = useRef([]), [M, q] = useState([]), j = t && t[0], L = t && t[1] || "";
18932
18834
  useEffect(() => {
18933
18835
  !Array.isArray(t) && !isNaN(t) && V(t);
18934
18836
  }, [t]), useEffect(() => {
18935
- j && $.length === 0 ? V(j) : j && $.length > 0 ? w($) : !j && !$ && w(O.current || "");
18837
+ j && L.length === 0 ? V(j) : j && L.length > 0 ? w(L) : !j && !L && w(O.current || "");
18936
18838
  }, [t]);
18937
18839
  const H = (A) => {
18938
18840
  n == null || n(A), D == null || D();
18939
18841
  }, K = (A) => {
18940
18842
  O.current = A.target.value, H([void 0, ""]);
18941
18843
  }, G = async () => {
18942
- if (!v && C !== $) {
18844
+ if (!v && C !== L) {
18943
18845
  if (await new Promise((A) => setTimeout(A, 100)), y.current) {
18944
18846
  H([void 0, ""]);
18945
18847
  return;
@@ -18992,7 +18894,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18992
18894
  ...c
18993
18895
  }
18994
18896
  });
18995
- H([A, Z[0][1]]), N && L(r.id, [A, Z[0][1]]);
18897
+ H([A, Z[0][1]]), N && $(r.id, [A, Z[0][1]]);
18996
18898
  } catch (Z) {
18997
18899
  showDialog$3(Z);
18998
18900
  } finally {
@@ -19041,7 +18943,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19041
18943
  flex: "32px",
19042
18944
  children: /* @__PURE__ */ jsx(Button$1, {
19043
18945
  icon: /* @__PURE__ */ jsx(FolderOpenOutlined, {}),
19044
- disabled: j === void 0 || $ === "" || C === void 0,
18946
+ disabled: j === void 0 || L === "" || C === void 0,
19045
18947
  onClick: () => {
19046
18948
  g(!0);
19047
18949
  },
@@ -19053,7 +18955,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19053
18955
  icon: v ? /* @__PURE__ */ jsx(LoadingOutlined$3, {}) : /* @__PURE__ */ jsx(SearchOutlined, {}),
19054
18956
  disabled: s || v,
19055
18957
  onClick: () => {
19056
- y.current = !0, z($);
18958
+ y.current = !0, z(L);
19057
18959
  },
19058
18960
  tabIndex: -1
19059
18961
  })
@@ -20336,10 +20238,10 @@ var Align = function e(t, n) {
20336
20238
  var v = useBuffer(function() {
20337
20239
  var O = g.current, _ = O.disabled, b = O.target, T = O.onAlign;
20338
20240
  if (!_ && b) {
20339
- var F = h.current, k, L = getElement(b), D = getPoint(b);
20340
- f.current.element = L, f.current.point = D;
20241
+ var F = h.current, k, $ = getElement(b), D = getPoint(b);
20242
+ f.current.element = $, f.current.point = D;
20341
20243
  var P = document, M = P.activeElement;
20342
- return L && isVisible(L) ? k = alignElement(F, L, s) : D && (k = alignPoint(F, D, s)), restoreFocus(M, F), T && k && T(F, k), !0;
20244
+ return $ && isVisible($) ? k = alignElement(F, $, s) : D && (k = alignPoint(F, D, s)), restoreFocus(M, F), T && k && T(F, k), !0;
20343
20245
  }
20344
20246
  return !1;
20345
20247
  }, d), x = _slicedToArray(v, 2), I = x[0], m = x[1], y = React__default.useRef({
@@ -20443,11 +20345,11 @@ const useVisibleStatus = function(e, t) {
20443
20345
  return [s, a];
20444
20346
  };
20445
20347
  var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20446
- var n = e.visible, r = e.prefixCls, o = e.className, a = e.style, s = e.children, c = e.zIndex, l = e.stretch, u = e.destroyPopupOnHide, d = e.align, f = e.point, h = e.getRootDomNode, p = e.getClassNameFromAlign, g = e.onAlign, v = e.onMouseEnter, x = e.onMouseLeave, I = e.onMouseDown, m = e.onTouchStart, y = useRef(), C = useRef(), w = useState(), O = _slicedToArray(w, 2), _ = O[0], b = O[1], T = useStretchStyle(l), F = _slicedToArray(T, 2), k = F[0], L = F[1];
20348
+ var n = e.visible, r = e.prefixCls, o = e.className, a = e.style, s = e.children, c = e.zIndex, l = e.stretch, u = e.destroyPopupOnHide, d = e.align, f = e.point, h = e.getRootDomNode, p = e.getClassNameFromAlign, g = e.onAlign, v = e.onMouseEnter, x = e.onMouseLeave, I = e.onMouseDown, m = e.onTouchStart, y = useRef(), C = useRef(), w = useState(), O = _slicedToArray(w, 2), _ = O[0], b = O[1], T = useStretchStyle(l), F = _slicedToArray(T, 2), k = F[0], $ = F[1];
20447
20349
  function D() {
20448
- l && L(h());
20350
+ l && $(h());
20449
20351
  }
20450
- var P = useVisibleStatus(n, D), M = _slicedToArray(P, 2), q = M[0], j = M[1], $ = useRef();
20352
+ var P = useVisibleStatus(n, D), M = _slicedToArray(P, 2), q = M[0], j = M[1], L = useRef();
20451
20353
  function H() {
20452
20354
  return f || h;
20453
20355
  }
@@ -20462,7 +20364,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20462
20364
  K();
20463
20365
  }) : j(function() {
20464
20366
  var Q;
20465
- (Q = $.current) === null || Q === void 0 || Q.call($);
20367
+ (Q = L.current) === null || Q === void 0 || Q.call(L);
20466
20368
  }), g == null || g(A, N);
20467
20369
  }
20468
20370
  }
@@ -20475,7 +20377,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
20475
20377
  });
20476
20378
  function V() {
20477
20379
  return new Promise(function(A) {
20478
- $.current = A;
20380
+ L.current = A;
20479
20381
  });
20480
20382
  }
20481
20383
  React.useEffect(function() {
@@ -20666,12 +20568,12 @@ function generateTrigger(e) {
20666
20568
  var u = [], d = s.props, f = d.popupPlacement, h = d.builtinPlacements, p = d.prefixCls, g = d.alignPoint, v = d.getPopupClassNameFromAlign;
20667
20569
  return f && h && u.push(getAlignPopupClassName(h, p, l, g)), v && u.push(v(l)), u.join(" ");
20668
20570
  }, s.getComponent = function() {
20669
- var l = s.props, u = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, h = l.onPopupAlign, p = l.popupMotion, g = l.popupAnimation, v = l.popupTransitionName, x = l.popupStyle, I = l.mask, m = l.maskAnimation, y = l.maskTransitionName, C = l.maskMotion, w = l.zIndex, O = l.popup, _ = l.stretch, b = l.alignPoint, T = l.mobile, F = s.state, k = F.popupVisible, L = F.point, D = s.getPopupAlign(), P = {};
20571
+ var l = s.props, u = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, h = l.onPopupAlign, p = l.popupMotion, g = l.popupAnimation, v = l.popupTransitionName, x = l.popupStyle, I = l.mask, m = l.maskAnimation, y = l.maskTransitionName, C = l.maskMotion, w = l.zIndex, O = l.popup, _ = l.stretch, b = l.alignPoint, T = l.mobile, F = s.state, k = F.popupVisible, $ = F.point, D = s.getPopupAlign(), P = {};
20670
20572
  return s.isMouseEnterToShow() && (P.onMouseEnter = s.onPopupMouseEnter), s.isMouseLeaveToHide() && (P.onMouseLeave = s.onPopupMouseLeave), P.onMouseDown = s.onPopupMouseDown, P.onTouchStart = s.onPopupMouseDown, /* @__PURE__ */ jsx(Popup, {
20671
20573
  prefixCls: u,
20672
20574
  destroyPopupOnHide: d,
20673
20575
  visible: k,
20674
- point: b && L,
20576
+ point: b && $,
20675
20577
  className: f,
20676
20578
  align: D,
20677
20579
  onAlign: h,
@@ -21000,9 +20902,9 @@ var autoAdjustOverflow = {
21000
20902
  children: typeof n == "function" ? n() : n
21001
20903
  });
21002
20904
  }, Tooltip = function e(t, n) {
21003
- var r = t.overlayClassName, o = t.trigger, a = o === void 0 ? ["hover"] : o, s = t.mouseEnterDelay, c = s === void 0 ? 0 : s, l = t.mouseLeaveDelay, u = l === void 0 ? 0.1 : l, d = t.overlayStyle, f = t.prefixCls, h = f === void 0 ? "rc-tooltip" : f, p = t.children, g = t.onVisibleChange, v = t.afterVisibleChange, x = t.transitionName, I = t.animation, m = t.placement, y = m === void 0 ? "right" : m, C = t.align, w = C === void 0 ? {} : C, O = t.destroyTooltipOnHide, _ = O === void 0 ? !1 : O, b = t.defaultVisible, T = t.getTooltipContainer, F = t.overlayInnerStyle, k = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), L = useRef(null);
20905
+ var r = t.overlayClassName, o = t.trigger, a = o === void 0 ? ["hover"] : o, s = t.mouseEnterDelay, c = s === void 0 ? 0 : s, l = t.mouseLeaveDelay, u = l === void 0 ? 0.1 : l, d = t.overlayStyle, f = t.prefixCls, h = f === void 0 ? "rc-tooltip" : f, p = t.children, g = t.onVisibleChange, v = t.afterVisibleChange, x = t.transitionName, I = t.animation, m = t.placement, y = m === void 0 ? "right" : m, C = t.align, w = C === void 0 ? {} : C, O = t.destroyTooltipOnHide, _ = O === void 0 ? !1 : O, b = t.defaultVisible, T = t.getTooltipContainer, F = t.overlayInnerStyle, k = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), $ = useRef(null);
21004
20906
  useImperativeHandle(n, function() {
21005
- return L.current;
20907
+ return $.current;
21006
20908
  });
21007
20909
  var D = _objectSpread2$1({}, k);
21008
20910
  "visible" in t && (D.popupVisible = t.visible);
@@ -21035,7 +20937,7 @@ var autoAdjustOverflow = {
21035
20937
  action: a,
21036
20938
  builtinPlacements: placements$2,
21037
20939
  popupPlacement: y,
21038
- ref: L,
20940
+ ref: $,
21039
20941
  popupAlign: w,
21040
20942
  getPopupContainer: T,
21041
20943
  onPopupVisibleChange: g,
@@ -21273,15 +21175,15 @@ function requireTooltip() {
21273
21175
  return m;
21274
21176
  }
21275
21177
  var x = /* @__PURE__ */ s.forwardRef(function(m, y) {
21276
- var C, w = s.useContext(f.ConfigContext), O = w.getPopupContainer, _ = w.getPrefixCls, b = w.direction, T = s.useState(!!m.visible || !!m.defaultVisible), F = (0, o.default)(T, 2), k = F[0], L = F[1];
21178
+ var C, w = s.useContext(f.ConfigContext), O = w.getPopupContainer, _ = w.getPrefixCls, b = w.direction, T = s.useState(!!m.visible || !!m.defaultVisible), F = (0, o.default)(T, 2), k = F[0], $ = F[1];
21277
21179
  s.useEffect(function() {
21278
- "visible" in m && L(m.visible);
21180
+ "visible" in m && $(m.visible);
21279
21181
  }, [m.visible]);
21280
21182
  var D = function() {
21281
21183
  var ne = m.title, ee = m.overlay;
21282
21184
  return !ne && !ee && ne !== 0;
21283
21185
  }, P = function(ne) {
21284
- "visible" in m || L(D() ? !1 : ne), m.onVisibleChange && !D() && m.onVisibleChange(ne);
21186
+ "visible" in m || $(D() ? !1 : ne), m.onVisibleChange && !D() && m.onVisibleChange(ne);
21285
21187
  }, M = function() {
21286
21188
  var ne = m.builtinPlacements, ee = m.arrowPointAtCenter, oe = m.autoAdjustOverflow;
21287
21189
  return ne || (0, u.default)({
@@ -21302,7 +21204,7 @@ function requireTooltip() {
21302
21204
  }, j = function() {
21303
21205
  var ne = m.title, ee = m.overlay;
21304
21206
  return ne === 0 ? ne : ee || ne || "";
21305
- }, $ = m.prefixCls, H = m.openClassName, K = m.getPopupContainer, G = m.getTooltipContainer, z = m.overlayClassName, V = m.color, U = m.overlayInnerStyle, Y = m.children, B = _("tooltip", $), A = k;
21207
+ }, L = m.prefixCls, H = m.openClassName, K = m.getPopupContainer, G = m.getTooltipContainer, z = m.overlayClassName, V = m.color, U = m.overlayInnerStyle, Y = m.children, B = _("tooltip", L), A = k;
21306
21208
  !("visible" in m) && D() && (A = !1);
21307
21209
  var N = v((0, d.isValidElement)(Y) ? Y : /* @__PURE__ */ s.createElement("span", null, Y), B), Z = N.props, Q = (0, l.default)(Z.className, (0, r.default)({}, H || "".concat(B, "-open"), !0)), E = (0, l.default)(z, (C = {}, (0, r.default)(C, "".concat(B, "-rtl"), b === "rtl"), (0, r.default)(C, "".concat(B, "-").concat(V), V && g.test(V)), C)), S = U, W;
21308
21210
  return V && !g.test(V) && (S = (0, a.default)((0, a.default)({}, U), {
@@ -21386,7 +21288,7 @@ function requireTypography() {
21386
21288
  }, f = function(x, I) {
21387
21289
  var m = x.prefixCls, y = x.component, C = y === void 0 ? "article" : y, w = x.className, O = x["aria-label"], _ = x.setContentRef, b = x.children, T = d(x, ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"]), F = I;
21388
21290
  return _ && ((0, u.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), F = (0, c.composeRef)(I, _)), /* @__PURE__ */ a.createElement(l.ConfigConsumer, null, function(k) {
21389
- var L = k.getPrefixCls, D = k.direction, P = C, M = L("typography", m), q = (0, s.default)(M, (0, o.default)({}, "".concat(M, "-rtl"), D === "rtl"), w);
21291
+ var $ = k.getPrefixCls, D = k.direction, P = C, M = $("typography", m), q = (0, s.default)(M, (0, o.default)({}, "".concat(M, "-rtl"), D === "rtl"), w);
21390
21292
  return /* @__PURE__ */ a.createElement(P, (0, r.default)({
21391
21293
  className: q,
21392
21294
  "aria-label": O,
@@ -21447,8 +21349,8 @@ function requireEditable() {
21447
21349
  Object.defineProperty(e, "__esModule", {
21448
21350
  value: !0
21449
21351
  }), e.default = void 0;
21450
- var r = n(requireDefineProperty()), o = n(requireSlicedToArray()), a = t(React__default), s = n(requireClassnames()), c = n(requireKeyCode()), l = n(requireEnterOutlined()), u = n(TextArea$3), d = function(p) {
21451
- var g = p.prefixCls, v = p["aria-label"], x = p.className, I = p.style, m = p.direction, y = p.maxLength, C = p.autoSize, w = C === void 0 ? !0 : C, O = p.value, _ = p.onSave, b = p.onCancel, T = a.useRef(), F = a.useRef(!1), k = a.useRef(), L = a.useState(O), D = (0, o.default)(L, 2), P = D[0], M = D[1];
21352
+ var r = n(requireDefineProperty()), o = n(requireSlicedToArray()), a = t(React__default), s = n(requireClassnames()), c = n(requireKeyCode()), l = n(requireEnterOutlined()), u = n(requireTextArea()), d = function(p) {
21353
+ var g = p.prefixCls, v = p["aria-label"], x = p.className, I = p.style, m = p.direction, y = p.maxLength, C = p.autoSize, w = C === void 0 ? !0 : C, O = p.value, _ = p.onSave, b = p.onCancel, T = a.useRef(), F = a.useRef(!1), k = a.useRef(), $ = a.useState(O), D = (0, o.default)($, 2), P = D[0], M = D[1];
21452
21354
  a.useEffect(function() {
21453
21355
  M(O);
21454
21356
  }, [O]), a.useEffect(function() {
@@ -21464,7 +21366,7 @@ function requireEditable() {
21464
21366
  M(B.value.replace(/[\n\r]/g, ""));
21465
21367
  }, j = function() {
21466
21368
  F.current = !0;
21467
- }, $ = function() {
21369
+ }, L = function() {
21468
21370
  F.current = !1;
21469
21371
  }, H = function(Y) {
21470
21372
  var B = Y.keyCode;
@@ -21488,7 +21390,7 @@ function requireEditable() {
21488
21390
  onKeyDown: H,
21489
21391
  onKeyUp: G,
21490
21392
  onCompositionStart: j,
21491
- onCompositionEnd: $,
21393
+ onCompositionEnd: L,
21492
21394
  onBlur: z,
21493
21395
  "aria-label": v,
21494
21396
  autoSize: w
@@ -21535,12 +21437,12 @@ function requireUtil() {
21535
21437
  u || (u = document.createElement("div"), u.setAttribute("aria-hidden", "true"), document.body.appendChild(u));
21536
21438
  var w = I.rows, O = I.suffix, _ = O === void 0 ? "" : O, b = window.getComputedStyle(x), T = h(b), F = f(b.lineHeight), k = Math.round(F * (w + 1) + f(b.paddingTop) + f(b.paddingBottom));
21537
21439
  u.setAttribute("style", T), u.style.position = "fixed", u.style.left = "0", u.style.height = "auto", u.style.minHeight = "auto", u.style.maxHeight = "auto", u.style.top = "-999999px", u.style.zIndex = "-1000", u.style.textOverflow = "clip", u.style.whiteSpace = "normal", u.style.webkitLineClamp = "none";
21538
- var L = p((0, a.default)(m));
21440
+ var $ = p((0, a.default)(m));
21539
21441
  (0, r.render)(/* @__PURE__ */ o.createElement("div", {
21540
21442
  style: d
21541
21443
  }, /* @__PURE__ */ o.createElement("span", {
21542
21444
  style: d
21543
- }, L, _), /* @__PURE__ */ o.createElement("span", {
21445
+ }, $, _), /* @__PURE__ */ o.createElement("span", {
21544
21446
  style: d
21545
21447
  }, y)), u);
21546
21448
  function D() {
@@ -21561,12 +21463,12 @@ function requireUtil() {
21561
21463
  u.innerHTML = "";
21562
21464
  var j = document.createElement("span");
21563
21465
  u.appendChild(j);
21564
- var $ = document.createTextNode(C + _);
21565
- j.appendChild($), M.forEach(function(z) {
21466
+ var L = document.createTextNode(C + _);
21467
+ j.appendChild(L), M.forEach(function(z) {
21566
21468
  u.appendChild(z);
21567
21469
  });
21568
21470
  function H(z) {
21569
- j.insertBefore(z, $);
21471
+ j.insertBefore(z, L);
21570
21472
  }
21571
21473
  function K(z, V) {
21572
21474
  var U = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, Y = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : V.length, B = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, A = Math.floor((U + Y) / 2), N = V.slice(0, A);
@@ -21589,7 +21491,7 @@ function requireUtil() {
21589
21491
  if (U === s)
21590
21492
  return H(z), D() ? {
21591
21493
  finished: !1,
21592
- reactNode: L[V]
21494
+ reactNode: $[V]
21593
21495
  } : (j.removeChild(z), {
21594
21496
  finished: !0,
21595
21497
  reactNode: null
@@ -21622,7 +21524,7 @@ function requireBase() {
21622
21524
  Object.defineProperty(e, "__esModule", {
21623
21525
  value: !0
21624
21526
  }), e.default = void 0;
21625
- var r = n(requireDefineProperty()), o = n(requireToConsumableArray()), a = n(_typeof$2.exports), s = n(require_extends()), c = n(requireClassCallCheck()), l = n(requireCreateClass()), u = n(requireInherits()), d = n(requireCreateSuper()), f = t(React__default), h = n(requireClassnames()), p = n(requireToArray()), g = n(requireCopyToClipboard()), v = n(requireOmit()), x = n(requireEditOutlined()), I = n(requireCheckOutlined()), m = n(requireCopyOutlined()), y = n(require$$18), C = requireConfigProvider(), w = n(requireLocaleReceiver()), O = n(requireDevWarning()), _ = n(requireTransButton()), b = n(requireRaf()), T = requireStyleChecker(), F = n(requireTooltip()), k = n(requireTypography()), L = n(requireEditable()), D = n(requireUtil()), P = function(G, z) {
21527
+ var r = n(requireDefineProperty()), o = n(requireToConsumableArray()), a = n(_typeof$2.exports), s = n(require_extends()), c = n(requireClassCallCheck()), l = n(requireCreateClass()), u = n(requireInherits()), d = n(requireCreateSuper()), f = t(React__default), h = n(requireClassnames()), p = n(requireToArray()), g = n(requireCopyToClipboard()), v = n(requireOmit()), x = n(requireEditOutlined()), I = n(requireCheckOutlined()), m = n(requireCopyOutlined()), y = n(require$$18), C = requireConfigProvider(), w = n(requireLocaleReceiver()), O = n(requireDevWarning()), _ = n(requireTransButton()), b = n(requireRaf()), T = requireStyleChecker(), F = n(requireTooltip()), k = n(requireTypography()), $ = n(requireEditable()), D = n(requireUtil()), P = function(G, z) {
21626
21528
  var V = {};
21627
21529
  for (var U in G)
21628
21530
  Object.prototype.hasOwnProperty.call(G, U) && z.indexOf(U) < 0 && (V[U] = G[U]);
@@ -21638,7 +21540,7 @@ function requireBase() {
21638
21540
  }
21639
21541
  return Q(A, "strong"), Q(Y, "u"), Q(B, "del"), Q(U, "code"), Q(V, "mark"), Q(N, "kbd"), Z;
21640
21542
  }
21641
- var $ = "...", H = /* @__PURE__ */ function(G) {
21543
+ var L = "...", H = /* @__PURE__ */ function(G) {
21642
21544
  (0, u.default)(V, G);
21643
21545
  var z = (0, d.default)(V);
21644
21546
  function V() {
@@ -21747,7 +21649,7 @@ function requireBase() {
21747
21649
  var X = (0, D.default)(this.contentRef.current, {
21748
21650
  rows: Q,
21749
21651
  suffix: E
21750
- }, W, this.renderOperations(!0), $), ne = X.content, ee = X.text, oe = X.ellipsis;
21652
+ }, W, this.renderOperations(!0), L), ne = X.content, ee = X.text, oe = X.ellipsis;
21751
21653
  (B !== ee || A !== oe) && (this.setState({
21752
21654
  ellipsisText: ee,
21753
21655
  ellipsisContent: ne,
@@ -21810,7 +21712,7 @@ function requireBase() {
21810
21712
  key: "renderEditInput",
21811
21713
  value: function() {
21812
21714
  var Y = this.props, B = Y.children, A = Y.className, N = Y.style, Z = this.context.direction, Q = this.getEditable(), E = Q.maxLength, S = Q.autoSize;
21813
- return /* @__PURE__ */ f.createElement(L.default, {
21715
+ return /* @__PURE__ */ f.createElement($.default, {
21814
21716
  value: typeof B == "string" ? B : "",
21815
21717
  onSave: this.onEditChange,
21816
21718
  onCancel: this.onEditCancel,
@@ -21838,7 +21740,7 @@ function requireBase() {
21838
21740
  !Ee && (typeof S == "string" || typeof S == "number") && (ie = String(S)), ie = ie == null ? void 0 : ie.slice(String(A || "").length), Ce = /* @__PURE__ */ f.createElement(f.Fragment, null, A, /* @__PURE__ */ f.createElement("span", {
21839
21741
  title: ie,
21840
21742
  "aria-hidden": "true"
21841
- }, $), fe), Ie && (Ce = /* @__PURE__ */ f.createElement(F.default, {
21743
+ }, L), fe), Ie && (Ce = /* @__PURE__ */ f.createElement(F.default, {
21842
21744
  title: Ie === !0 ? S : Ie
21843
21745
  }, /* @__PURE__ */ f.createElement("span", null, Ce)));
21844
21746
  } else
@@ -21917,7 +21819,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
21917
21819
  suffix: l,
21918
21820
  field: u,
21919
21821
  operator: d
21920
- } = e, [f, h] = useState(!1), [p, g] = useState(), [v, x] = useState(), [I, m] = useState(), [y, C] = useState(0), [w, O] = useState(0), [_, b] = useState(), [T, F] = useState(), [k, L] = useState();
21822
+ } = e, [f, h] = useState(!1), [p, g] = useState(), [v, x] = useState(), [I, m] = useState(), [y, C] = useState(0), [w, O] = useState(0), [_, b] = useState(), [T, F] = useState(), [k, $] = useState();
21921
21823
  useEffect(() => {
21922
21824
  P();
21923
21825
  }, [t, o]);
@@ -21934,7 +21836,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
21934
21836
  context: r
21935
21837
  });
21936
21838
  return getValueForOperator({
21937
- values: j.map(($) => $[u]),
21839
+ values: j.map((L) => L[u]),
21938
21840
  operator: d
21939
21841
  });
21940
21842
  } else
@@ -21950,15 +21852,15 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
21950
21852
  try {
21951
21853
  const j = await D(n);
21952
21854
  if (g(j), a) {
21953
- const $ = await ConnectionProvider.getHandler().evalDomain({
21855
+ const L = await ConnectionProvider.getHandler().evalDomain({
21954
21856
  domain: a,
21955
21857
  values: {},
21956
21858
  context: r
21957
21859
  });
21958
- M = await D($), m(M);
21860
+ M = await D(L), m(M);
21959
21861
  }
21960
21862
  if (M ? (q = Math.round(j / M * 100 * 100) / 100, x(q)) : x(0), o) {
21961
- const $ = await ConnectionProvider.getHandler().parseCondition({
21863
+ const L = await ConnectionProvider.getHandler().parseCondition({
21962
21864
  condition: o,
21963
21865
  values: {
21964
21866
  value: j,
@@ -21966,11 +21868,11 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
21966
21868
  },
21967
21869
  context: r
21968
21870
  });
21969
- b($);
21871
+ b(L);
21970
21872
  }
21971
21873
  if (c)
21972
21874
  if (c.indexOf(":") !== -1) {
21973
- const $ = await ConnectionProvider.getHandler().parseCondition({
21875
+ const L = await ConnectionProvider.getHandler().parseCondition({
21974
21876
  condition: c,
21975
21877
  values: {
21976
21878
  value: j,
@@ -21978,11 +21880,11 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
21978
21880
  },
21979
21881
  context: r
21980
21882
  });
21981
- F($);
21883
+ F(L);
21982
21884
  } else
21983
21885
  F(c);
21984
21886
  } catch (j) {
21985
- L(JSON.stringify(j));
21887
+ $(JSON.stringify(j));
21986
21888
  }
21987
21889
  h(!1);
21988
21890
  }
@@ -22586,7 +22488,7 @@ const One2manyInput = (e) => {
22586
22488
  } = d || {}, {
22587
22489
  lang: v,
22588
22490
  t: x
22589
- } = useContext(LocaleContext), I = useRef(), [m, y] = useState(!1), [C, w] = useState(!1), [O, _] = useState(), [b, T] = useState(!1), [F, k] = useState(!1), [L, D] = useState(), [P, M] = useState([]), [q, j] = useState(!1), $ = useRef([]), [H, K] = useState(), G = useRef(), {
22491
+ } = useContext(LocaleContext), I = useRef(), [m, y] = useState(!1), [C, w] = useState(!1), [O, _] = useState(), [b, T] = useState(!1), [F, k] = useState(!1), [$, D] = useState(), [P, M] = useState([]), [q, j] = useState(!1), L = useRef([]), [H, K] = useState(), G = useRef(), {
22590
22492
  readOnly: z,
22591
22493
  relation: V,
22592
22494
  context: U,
@@ -22629,14 +22531,14 @@ const One2manyInput = (e) => {
22629
22531
  }
22630
22532
  };
22631
22533
  async function S() {
22632
- Y && ($.current = transformDomainForChildWidget({
22534
+ Y && (L.current = transformDomainForChildWidget({
22633
22535
  domain: await ConnectionProvider.getHandler().evalDomain({
22634
22536
  domain: Y,
22635
22537
  values: h(),
22636
22538
  context: p()
22637
22539
  }),
22638
22540
  widgetFieldName: A
22639
- })), g && g.length > 0 && ($.current = $.current.concat(transformDomainForChildWidget({
22541
+ })), g && g.length > 0 && (L.current = L.current.concat(transformDomainForChildWidget({
22640
22542
  domain: g,
22641
22543
  widgetFieldName: A
22642
22544
  })));
@@ -22929,10 +22831,10 @@ const One2manyInput = (e) => {
22929
22831
  }), Fe(), /* @__PURE__ */ jsx(FormModal, {
22930
22832
  formView: o.get("form"),
22931
22833
  model: V,
22932
- id: L == null ? void 0 : L.id,
22834
+ id: $ == null ? void 0 : $.id,
22933
22835
  submitMode: "values",
22934
- values: L == null ? void 0 : L.values,
22935
- defaultValues: L == null ? void 0 : L.defaultValues,
22836
+ values: $ == null ? void 0 : $.values,
22837
+ defaultValues: $ == null ? void 0 : $.defaultValues,
22936
22838
  visible: b,
22937
22839
  onSubmitSucceed: Te,
22938
22840
  parentContext: {
@@ -22945,7 +22847,7 @@ const One2manyInput = (e) => {
22945
22847
  readOnly: z,
22946
22848
  mustClearAfterSave: Ce
22947
22849
  }), /* @__PURE__ */ jsx(SearchModal, {
22948
- domain: $.current,
22850
+ domain: L.current,
22949
22851
  model: V,
22950
22852
  context: {
22951
22853
  ...p == null ? void 0 : p(),
@@ -26436,7 +26338,7 @@ function FormActionBar() {
26436
26338
  } = useContext(LocaleContext), T = useContext(ContentRootContext), {
26437
26339
  processAction: F
26438
26340
  } = T || {}, k = useContext(TabManagerContext), {
26439
- openRelate: L,
26341
+ openRelate: $,
26440
26342
  openDefaultActionForModel: D
26441
26343
  } = k || {};
26442
26344
  function P(V) {
@@ -26469,7 +26371,7 @@ function FormActionBar() {
26469
26371
  function j() {
26470
26372
  c && u > 0 ? (l == null || l(u - 1), d == null || d(c[u - 1].id)) : c && u === 0 && (l == null || l(c.length - 1), d == null || d(c[c.length - 1].id));
26471
26373
  }
26472
- function $() {
26374
+ function L() {
26473
26375
  showDialog$9({
26474
26376
  confirmMessage: _("confirmRemoveItem"),
26475
26377
  lang: b,
@@ -26545,7 +26447,7 @@ function FormActionBar() {
26545
26447
  tooltip: _("delete"),
26546
26448
  disabled: a || s === void 0 || p || g || I,
26547
26449
  loading: p,
26548
- onClick: $
26450
+ onClick: L
26549
26451
  }), separator$2(), /* @__PURE__ */ jsx(ActionButton, {
26550
26452
  icon: /* @__PURE__ */ jsx(InfoCircleOutlined$3, {}),
26551
26453
  tooltip: _("showLogs"),
@@ -26618,7 +26520,7 @@ function FormActionBar() {
26618
26520
  tooltip: _("related"),
26619
26521
  items: m == null ? void 0 : m.relate,
26620
26522
  onItemClick: async (V) => {
26621
- !V || L({
26523
+ !V || $({
26622
26524
  relateData: V,
26623
26525
  values: C.current.getValues(),
26624
26526
  fields: C.current.getFields(),
@@ -26853,7 +26755,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26853
26755
  if (F = m.split("@"), F.length > 1) {
26854
26756
  if (y.disallow_auth || F[0] === "" || (w = F.shift(), w.indexOf(":") >= 0 && w.split(":").length > 2))
26855
26757
  return !1;
26856
- var L = w.split(":"), D = c(L, 2), P = D[0], M = D[1];
26758
+ var $ = w.split(":"), D = c($, 2), P = D[0], M = D[1];
26857
26759
  if (P === "" && M === "")
26858
26760
  return !1;
26859
26761
  }
@@ -27021,8 +26923,8 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
27021
26923
  max: 30
27022
26924
  }))
27023
26925
  return !1;
27024
- for (var k = F.split("."), L = 0; L < k.length; L++)
27025
- if (!f.test(k[L]))
26926
+ for (var k = F.split("."), $ = 0; $ < k.length; $++)
26927
+ if (!f.test(k[$]))
27026
26928
  return !1;
27027
26929
  }
27028
26930
  if (y.ignore_max_length === !1 && (!(0, o.default)(T, {
@@ -27300,7 +27202,7 @@ function TreeActionBar(e) {
27300
27202
  a == null || a(!1);
27301
27203
  }
27302
27204
  }
27303
- async function L() {
27205
+ async function $() {
27304
27206
  var P;
27305
27207
  try {
27306
27208
  l == null || l(!0);
@@ -27353,7 +27255,7 @@ function TreeActionBar(e) {
27353
27255
  tooltip: O("duplicate"),
27354
27256
  disabled: !o || (o == null ? void 0 : o.length) !== 1 || c || y,
27355
27257
  loading: c,
27356
- onClick: L
27258
+ onClick: $
27357
27259
  }), /* @__PURE__ */ jsx(ActionButton, {
27358
27260
  icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
27359
27261
  tooltip: O("delete"),
@@ -27574,7 +27476,7 @@ function ActionView(e, t) {
27574
27476
  action_id: p,
27575
27477
  action_type: g,
27576
27478
  treeExpandable: v = !1
27577
- } = e, [x, I] = useState(), [m, y] = useState([]), [C, w] = useState(), [O, _] = useState(), [b, T] = useState(), [F, k] = useState(!0), L = h || void 0, [D, P] = useState(L), [M, q] = useState([]), [j, $] = useState(), [H, K] = useState([]), [G, z] = useState(), [V, U] = useState(), [Y, B] = useState(0), [A, N] = useState(!1), [Z, Q] = useState(!1), [E, S] = useState(), {
27479
+ } = e, [x, I] = useState(), [m, y] = useState([]), [C, w] = useState(), [O, _] = useState(), [b, T] = useState(), [F, k] = useState(!0), $ = h || void 0, [D, P] = useState($), [M, q] = useState([]), [j, L] = useState(), [H, K] = useState([]), [G, z] = useState(), [V, U] = useState(), [Y, B] = useState(0), [A, N] = useState(!1), [Z, Q] = useState(!1), [E, S] = useState(), {
27578
27480
  t: W
27579
27481
  } = useContext(LocaleContext), X = useRef(), ne = useRef(), ee = useRef(), oe = useContext(TabManagerContext), {
27580
27482
  openShortcut: le,
@@ -27604,8 +27506,8 @@ function ActionView(e, t) {
27604
27506
  try {
27605
27507
  if (Se === "dashboard") {
27606
27508
  const _e = a.find((Me) => {
27607
- const [, Le] = Me;
27608
- return Le === "form";
27509
+ const [, $e] = Me;
27510
+ return $e === "form";
27609
27511
  });
27610
27512
  let Ae;
27611
27513
  _e && (Ae = {
@@ -27649,7 +27551,7 @@ function ActionView(e, t) {
27649
27551
  tabKey: l,
27650
27552
  canWeClose: Fe
27651
27553
  }), useEffect(() => {
27652
- we(u || m.find((re) => re.type === "tree")), h ? se == null || se(L) : (ge(void 0), $(void 0)), ye();
27554
+ we(u || m.find((re) => re.type === "tree")), h ? se == null || se($) : (ge(void 0), L(void 0)), ye();
27653
27555
  }, [r, a, h]), useEffect(() => {
27654
27556
  Ie === l && (se == null || se(D), ue == null || ue(x));
27655
27557
  }, [fe, Ie]);
@@ -27711,7 +27613,7 @@ function ActionView(e, t) {
27711
27613
  id: D,
27712
27614
  parentContext: o,
27713
27615
  onSubmitSucceed: (re, me) => {
27714
- H.findIndex((Se) => Se.id === re) === -1 && (H.push(me), K(H), $(H.length - 1));
27616
+ H.findIndex((Se) => Se.id === re) === -1 && (H.push(me), K(H), L(H.length - 1));
27715
27617
  }
27716
27618
  }), /* @__PURE__ */ jsx(SearchTree$1, {
27717
27619
  visible: x.type === "tree",
@@ -27729,7 +27631,7 @@ function ActionView(e, t) {
27729
27631
  } = re;
27730
27632
  ge(me);
27731
27633
  const xe = H.findIndex((Se) => Se.id === me);
27732
- $(xe), we(m.find((Se) => Se.type === "form"));
27634
+ L(xe), we(m.find((Se) => Se.type === "form"));
27733
27635
  }
27734
27636
  })]
27735
27637
  });
@@ -27780,7 +27682,7 @@ function ActionView(e, t) {
27780
27682
  onNewClicked: de,
27781
27683
  currentId: D,
27782
27684
  setCurrentId: ge,
27783
- setCurrentItemIndex: $,
27685
+ setCurrentItemIndex: L,
27784
27686
  currentItemIndex: j,
27785
27687
  results: H,
27786
27688
  setResults: K,
@@ -27987,7 +27889,7 @@ function DashboardTree(e) {
27987
27889
  domain: a = [],
27988
27890
  visible: s = !0,
27989
27891
  parentContext: c = {}
27990
- } = e, [l, u] = useState(!1), [d, f] = useState(!1), [h, p] = useState(), [g, v] = useState(), [x, I] = useState(), [m, y] = useState(1), [C, w] = useState(0), O = useRef(DEFAULT_SEARCH_LIMIT), _ = useRef([]), [b, T] = useState(0), [F, k] = useState([]), [L, D] = useState(void 0), [P, M] = useState(), [q, j] = useState(), [$, H] = useState(), [K, G] = useState(!1), z = useRef([]), V = (W) => {
27892
+ } = e, [l, u] = useState(!1), [d, f] = useState(!1), [h, p] = useState(), [g, v] = useState(), [x, I] = useState(), [m, y] = useState(1), [C, w] = useState(0), O = useRef(DEFAULT_SEARCH_LIMIT), _ = useRef([]), [b, T] = useState(0), [F, k] = useState([]), [$, D] = useState(void 0), [P, M] = useState(), [q, j] = useState(), [L, H] = useState(), [K, G] = useState(!1), z = useRef([]), V = (W) => {
27991
27893
  G(!0), y(W), w((W - 1) * O.current);
27992
27894
  }, U = (W) => {
27993
27895
  const X = {};
@@ -28101,7 +28003,7 @@ function DashboardTree(e) {
28101
28003
  onRequestPageChange: V,
28102
28004
  loading: K,
28103
28005
  onRowClicked: E,
28104
- colorsForResults: L,
28006
+ colorsForResults: $,
28105
28007
  sorter: P,
28106
28008
  onChangeSort: (W) => {
28107
28009
  M == null || M(W);
@@ -28117,9 +28019,9 @@ function DashboardTree(e) {
28117
28019
  }
28118
28020
  })]
28119
28021
  });
28120
- return $ ? /* @__PURE__ */ jsx(Alert, {
28022
+ return L ? /* @__PURE__ */ jsx(Alert, {
28121
28023
  className: "mt-10",
28122
- message: $,
28024
+ message: L,
28123
28025
  type: "error",
28124
28026
  banner: !0
28125
28027
  }) : l ? /* @__PURE__ */ jsx(Spin, {
@@ -28180,11 +28082,11 @@ function Dashboard(e, t) {
28180
28082
  try {
28181
28083
  const b = await m(), T = await C(b), F = b.fields[itemsField].relation, k = T[itemsField].items;
28182
28084
  x.current = b.fields;
28183
- const L = await y({
28085
+ const $ = await y({
28184
28086
  items: k,
28185
28087
  model: F,
28186
28088
  context: r
28187
- }), D = await w(L);
28089
+ }), D = await w($);
28188
28090
  c(D), u(!1), h(!1);
28189
28091
  } catch (b) {
28190
28092
  f(JSON.stringify(b));
@@ -28229,8 +28131,8 @@ function Dashboard(e, t) {
28229
28131
  values: k
28230
28132
  } = F;
28231
28133
  if (k.action_id && k.action_id.length > 0) {
28232
- const L = parseInt(k.action_id[0], 10), D = await fetchAction({
28233
- actionId: L,
28134
+ const $ = parseInt(k.action_id[0], 10), D = await fetchAction({
28135
+ actionId: $,
28234
28136
  rootContext: r
28235
28137
  });
28236
28138
  T.push({
@@ -28272,7 +28174,7 @@ function Dashboard(e, t) {
28272
28174
  position: JSON.stringify(P).replace(/"/g, "'")
28273
28175
  }
28274
28176
  };
28275
- }), L = {
28177
+ }), $ = {
28276
28178
  fields: v.current,
28277
28179
  items: k
28278
28180
  };
@@ -28280,7 +28182,7 @@ function Dashboard(e, t) {
28280
28182
  model: n,
28281
28183
  id: o,
28282
28184
  values: {
28283
- [itemsField]: L
28185
+ [itemsField]: $
28284
28186
  },
28285
28187
  fields: x.current,
28286
28188
  context: r
@@ -28301,14 +28203,14 @@ function Dashboard(e, t) {
28301
28203
  actionData: F,
28302
28204
  values: k
28303
28205
  } = b, {
28304
- position: L,
28206
+ position: $,
28305
28207
  id: D
28306
28208
  } = k, {
28307
28209
  actionId: P,
28308
28210
  actionType: M,
28309
28211
  key: q,
28310
28212
  title: j,
28311
- views: $,
28213
+ views: L,
28312
28214
  model: H,
28313
28215
  context: K,
28314
28216
  domain: G,
@@ -28317,7 +28219,7 @@ function Dashboard(e, t) {
28317
28219
  } = F;
28318
28220
  let U = {};
28319
28221
  try {
28320
- U = JSON.parse(L.replace(/'/g, '"'));
28222
+ U = JSON.parse($.replace(/'/g, '"'));
28321
28223
  } catch {
28322
28224
  U = {
28323
28225
  x: T * 2,
@@ -28328,7 +28230,7 @@ function Dashboard(e, t) {
28328
28230
  }
28329
28231
  let Y = null;
28330
28232
  (z == null ? void 0 : z.type) === "graph" ? Y = /* @__PURE__ */ jsx(Graph, {
28331
- view_id: $.filter((N) => N[1] === "graph")[0][0],
28233
+ view_id: L.filter((N) => N[1] === "graph")[0][0],
28332
28234
  model: H,
28333
28235
  context: K,
28334
28236
  domain: G,
@@ -28339,9 +28241,9 @@ function Dashboard(e, t) {
28339
28241
  }) : (z == null ? void 0 : z.type) === "tree" ? Y = /* @__PURE__ */ jsx(DashboardTree, {
28340
28242
  model: H,
28341
28243
  domain: G,
28342
- view_id: $.filter((N) => N[1] === "tree")[0][0],
28244
+ view_id: L.filter((N) => N[1] === "tree")[0][0],
28343
28245
  onRowClicked: (N) => {
28344
- const Z = $.find((Q) => {
28246
+ const Z = L.find((Q) => {
28345
28247
  const [, E] = Q;
28346
28248
  return E === "form";
28347
28249
  });
@@ -28368,7 +28270,7 @@ function Dashboard(e, t) {
28368
28270
  action_type: M,
28369
28271
  tabKey: q,
28370
28272
  title: j,
28371
- views: $,
28273
+ views: L,
28372
28274
  model: H,
28373
28275
  context: K,
28374
28276
  domain: G,
@@ -28377,7 +28279,7 @@ function Dashboard(e, t) {
28377
28279
  initialView: z
28378
28280
  }));
28379
28281
  let B;
28380
- const A = $.find((N) => {
28282
+ const A = L.find((N) => {
28381
28283
  const [, Z] = N;
28382
28284
  return Z === "tree";
28383
28285
  });
@@ -28465,9 +28367,9 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
28465
28367
  ...p
28466
28368
  }
28467
28369
  })).map((k) => {
28468
- const L = k[v];
28469
- let D = L;
28470
- return Array.isArray(L) && (D = L[1]), {
28370
+ const $ = k[v];
28371
+ let D = $;
28372
+ return Array.isArray($) && (D = $[1]), {
28471
28373
  label: D,
28472
28374
  value: k.id
28473
28375
  };
@@ -28718,7 +28620,7 @@ function RootView(e, t) {
28718
28620
  showDialog$8("Action type not supported");
28719
28621
  return;
28720
28622
  }
28721
- const [k, L] = C.split(","), D = parseInt(L), P = parseContext({
28623
+ const [k, $] = C.split(","), D = parseInt($), P = parseContext({
28722
28624
  context: F.context,
28723
28625
  values: r,
28724
28626
  fields: {}
@@ -28732,7 +28634,7 @@ function RootView(e, t) {
28732
28634
  }) : [], {
28733
28635
  res_model: q,
28734
28636
  views: j,
28735
- name: $,
28637
+ name: L,
28736
28638
  target: H,
28737
28639
  view_type: K
28738
28640
  } = F, G = K === "tree", z = [];
@@ -28779,7 +28681,7 @@ function RootView(e, t) {
28779
28681
  },
28780
28682
  model: q,
28781
28683
  views: z,
28782
- title: $,
28684
+ title: L,
28783
28685
  target: H,
28784
28686
  initialView: V,
28785
28687
  action_type: k,
@@ -28816,13 +28718,13 @@ function RootView(e, t) {
28816
28718
  res_model: T,
28817
28719
  context: F,
28818
28720
  domain: k,
28819
- views: L,
28721
+ views: $,
28820
28722
  target: D,
28821
28723
  string: P
28822
- } = C, [M, q] = L[0], j = {
28724
+ } = C, [M, q] = $[0], j = {
28823
28725
  id: M,
28824
28726
  type: q
28825
- }, $ = parseContext({
28727
+ }, L = parseContext({
28826
28728
  context: F,
28827
28729
  values: {
28828
28730
  ...O,
@@ -28837,16 +28739,16 @@ function RootView(e, t) {
28837
28739
  },
28838
28740
  context: {
28839
28741
  ...o,
28840
- ...$
28742
+ ...L
28841
28743
  }
28842
28744
  }) : [];
28843
28745
  y({
28844
28746
  model: T,
28845
28747
  target: D,
28846
- views: L,
28748
+ views: $,
28847
28749
  context: {
28848
28750
  ...o,
28849
- ...$
28751
+ ...L
28850
28752
  },
28851
28753
  domain: H,
28852
28754
  title: P,
@@ -28868,7 +28770,7 @@ function RootView(e, t) {
28868
28770
  context: F.context,
28869
28771
  values: r,
28870
28772
  fields: {}
28871
- }), L = F.domain ? await ConnectionProvider.getHandler().evalDomain({
28773
+ }), $ = F.domain ? await ConnectionProvider.getHandler().evalDomain({
28872
28774
  domain: F.domain,
28873
28775
  values: r,
28874
28776
  context: {
@@ -28881,7 +28783,7 @@ function RootView(e, t) {
28881
28783
  name: M,
28882
28784
  target: q,
28883
28785
  view_type: j
28884
- } = F, $ = j === "tree", H = [];
28786
+ } = F, L = j === "tree", H = [];
28885
28787
  for (const V of P) {
28886
28788
  const [U, Y] = V;
28887
28789
  if (U)
@@ -28914,7 +28816,7 @@ function RootView(e, t) {
28914
28816
  type: G
28915
28817
  };
28916
28818
  y({
28917
- domain: L,
28819
+ domain: $,
28918
28820
  context: {
28919
28821
  ...o,
28920
28822
  ...k
@@ -28927,7 +28829,7 @@ function RootView(e, t) {
28927
28829
  action_id: w,
28928
28830
  action_type: O,
28929
28831
  res_id: _,
28930
- treeExpandable: $
28832
+ treeExpandable: L
28931
28833
  });
28932
28834
  }
28933
28835
  async function m({
@@ -28957,7 +28859,7 @@ function RootView(e, t) {
28957
28859
  target: T,
28958
28860
  initialView: F,
28959
28861
  action_id: k,
28960
- action_type: L,
28862
+ action_type: $,
28961
28863
  res_id: D,
28962
28864
  values: P,
28963
28865
  forced_values: M,
@@ -28965,7 +28867,7 @@ function RootView(e, t) {
28965
28867
  }) {
28966
28868
  const j = v4();
28967
28869
  if (T !== "current") {
28968
- const $ = await ConnectionProvider.getHandler().getView({
28870
+ const L = await ConnectionProvider.getHandler().getView({
28969
28871
  model: O,
28970
28872
  type: "form",
28971
28873
  id: F.type === "form" ? F.id : void 0,
@@ -28977,16 +28879,16 @@ function RootView(e, t) {
28977
28879
  f.current.openActionModal({
28978
28880
  domain: C,
28979
28881
  model: O,
28980
- formView: $,
28882
+ formView: L,
28981
28883
  context: {
28982
28884
  ...o,
28983
28885
  ...w
28984
28886
  },
28985
28887
  actionData: {
28986
28888
  action_id: k,
28987
- action_type: L,
28889
+ action_type: $,
28988
28890
  res_id: D,
28989
- view_id: $.view_id
28891
+ view_id: L.view_id
28990
28892
  }
28991
28893
  });
28992
28894
  } else
@@ -28994,11 +28896,11 @@ function RootView(e, t) {
28994
28896
  title: b,
28995
28897
  action: {
28996
28898
  id: k,
28997
- type: L
28899
+ type: $
28998
28900
  },
28999
28901
  content: /* @__PURE__ */ jsx(ActionView$1, {
29000
28902
  action_id: k,
29001
- action_type: L,
28903
+ action_type: $,
29002
28904
  tabKey: j,
29003
28905
  title: b,
29004
28906
  views: _,
@@ -29180,7 +29082,7 @@ const FavouriteButton = (e) => {
29180
29082
  function b(M) {
29181
29083
  const {
29182
29084
  key: q
29183
- } = M, j = u.find(($) => $.id === Number(q));
29085
+ } = M, j = u.find((L) => L.id === Number(q));
29184
29086
  (j == null ? void 0 : j.action_type) !== "ir.actions.wizard" && (j && I(j), l(!1));
29185
29087
  }
29186
29088
  function T(M) {
@@ -29197,13 +29099,13 @@ const FavouriteButton = (e) => {
29197
29099
  s(!1);
29198
29100
  return;
29199
29101
  }
29200
- const $ = C.id;
29102
+ const L = C.id;
29201
29103
  let H = !1;
29202
29104
  C.type === "form" && (H = w || !1);
29203
29105
  const K = await n({
29204
29106
  action_id: q,
29205
29107
  action_type: j,
29206
- view_id: $,
29108
+ view_id: L,
29207
29109
  res_id: H
29208
29110
  });
29209
29111
  K !== !1 && g(K), s(K !== !1);
@@ -29213,7 +29115,7 @@ const FavouriteButton = (e) => {
29213
29115
  model: "ir.ui.view_sc"
29214
29116
  });
29215
29117
  }
29216
- const L = /* @__PURE__ */ jsxs(Menu, {
29118
+ const $ = /* @__PURE__ */ jsxs(Menu, {
29217
29119
  onClick: b,
29218
29120
  children: [/* @__PURE__ */ jsxs("div", {
29219
29121
  style: {
@@ -29290,7 +29192,7 @@ const FavouriteButton = (e) => {
29290
29192
  const M = m.find((K) => K.key === y), {
29291
29193
  id: q,
29292
29194
  type: j
29293
- } = (M == null ? void 0 : M.action) || {}, $ = C.id;
29195
+ } = (M == null ? void 0 : M.action) || {}, L = C.id;
29294
29196
  let H = !1;
29295
29197
  if (!q || !j) {
29296
29198
  s(!1);
@@ -29299,7 +29201,7 @@ const FavouriteButton = (e) => {
29299
29201
  C.type === "form" && (H = w || !1), await r({
29300
29202
  action_id: q,
29301
29203
  action_type: j,
29302
- view_id: $,
29204
+ view_id: L,
29303
29205
  res_id: H
29304
29206
  });
29305
29207
  }
@@ -29318,7 +29220,7 @@ const FavouriteButton = (e) => {
29318
29220
  },
29319
29221
  onClick: P
29320
29222
  }), /* @__PURE__ */ jsx(Dropdown, {
29321
- overlay: L,
29223
+ overlay: $,
29322
29224
  onVisibleChange: T,
29323
29225
  visible: c,
29324
29226
  children: /* @__PURE__ */ jsx(Button$1, {