@gisce/react-ooui 1.2.0-rc.73 → 1.2.0-rc.75

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.
@@ -1335,7 +1335,7 @@ function requireReactIs_development() {
1335
1335
  }
1336
1336
  }
1337
1337
  var C = l, w = c, D = u, $ = s, S = t, P = d, M = n, A = m, O = g, N = r, F = o, k = a, j = f, V = !1;
1338
- function H(T) {
1338
+ function Y(T) {
1339
1339
  return V || (V = !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.")), W(T) || b(T) === l;
1340
1340
  }
1341
1341
  function W(T) {
@@ -1347,7 +1347,7 @@ function requireReactIs_development() {
1347
1347
  function U(T) {
1348
1348
  return b(T) === s;
1349
1349
  }
1350
- function Y(T) {
1350
+ function H(T) {
1351
1351
  return typeof T == "object" && T !== null && T.$$typeof === t;
1352
1352
  }
1353
1353
  function G(T) {
@@ -1374,7 +1374,7 @@ function requireReactIs_development() {
1374
1374
  function E(T) {
1375
1375
  return b(T) === f;
1376
1376
  }
1377
- reactIs_development.AsyncMode = C, reactIs_development.ConcurrentMode = w, reactIs_development.ContextConsumer = D, reactIs_development.ContextProvider = $, reactIs_development.Element = S, reactIs_development.ForwardRef = P, reactIs_development.Fragment = M, reactIs_development.Lazy = A, reactIs_development.Memo = O, reactIs_development.Portal = N, reactIs_development.Profiler = F, reactIs_development.StrictMode = k, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = H, reactIs_development.isConcurrentMode = W, reactIs_development.isContextConsumer = L, reactIs_development.isContextProvider = U, reactIs_development.isElement = Y, reactIs_development.isForwardRef = G, reactIs_development.isFragment = B, reactIs_development.isLazy = I, reactIs_development.isMemo = q, reactIs_development.isPortal = K, reactIs_development.isProfiler = Q, reactIs_development.isStrictMode = X, reactIs_development.isSuspense = E, reactIs_development.isValidElementType = _, reactIs_development.typeOf = b;
1377
+ reactIs_development.AsyncMode = C, reactIs_development.ConcurrentMode = w, reactIs_development.ContextConsumer = D, reactIs_development.ContextProvider = $, reactIs_development.Element = S, reactIs_development.ForwardRef = P, reactIs_development.Fragment = M, reactIs_development.Lazy = A, reactIs_development.Memo = O, reactIs_development.Portal = N, reactIs_development.Profiler = F, reactIs_development.StrictMode = k, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = Y, reactIs_development.isConcurrentMode = W, reactIs_development.isContextConsumer = L, reactIs_development.isContextProvider = U, reactIs_development.isElement = H, reactIs_development.isForwardRef = G, reactIs_development.isFragment = B, reactIs_development.isLazy = I, reactIs_development.isMemo = q, reactIs_development.isPortal = K, reactIs_development.isProfiler = Q, reactIs_development.isStrictMode = X, reactIs_development.isSuspense = E, reactIs_development.isValidElementType = _, reactIs_development.typeOf = b;
1378
1378
  }()), reactIs_development;
1379
1379
  }
1380
1380
  (function(e) {
@@ -1973,24 +1973,24 @@ var _excluded$7 = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSi
1973
1973
  } else
1974
1974
  S();
1975
1975
  }, [A]);
1976
- var H = React$n.useRef(), W = function() {
1977
- wrapperRaf.cancel(H.current);
1976
+ var Y = React$n.useRef(), W = function() {
1977
+ wrapperRaf.cancel(Y.current);
1978
1978
  }, L = function(B) {
1979
- A === RESIZE_STABLE && (u == null || u(B), s && (W(), H.current = wrapperRaf(function() {
1979
+ A === RESIZE_STABLE && (u == null || u(B), s && (W(), Y.current = wrapperRaf(function() {
1980
1980
  V();
1981
1981
  })));
1982
1982
  };
1983
1983
  React$n.useEffect(function() {
1984
1984
  return W;
1985
1985
  }, []);
1986
- var U = $ ? k : null, Y = _objectSpread2$g(_objectSpread2$g({}, c), U);
1987
- return (A === RESIZE_START || A === RESIZE_MEASURING) && (Y.overflowY = "hidden", Y.overflowX = "hidden"), /* @__PURE__ */ jsx(ResizeObserver, {
1986
+ var U = $ ? k : null, H = _objectSpread2$g(_objectSpread2$g({}, c), U);
1987
+ return (A === RESIZE_START || A === RESIZE_MEASURING) && (H.overflowY = "hidden", H.overflowX = "hidden"), /* @__PURE__ */ jsx(ResizeObserver, {
1988
1988
  onResize: L,
1989
1989
  disabled: !(s || u),
1990
1990
  children: /* @__PURE__ */ jsx("textarea", {
1991
1991
  ...g,
1992
1992
  ref: _,
1993
- style: Y,
1993
+ style: H,
1994
1994
  className: classNames(n, l, _defineProperty$1({}, "".concat(n, "-disabled"), d)),
1995
1995
  disabled: d,
1996
1996
  value: x,
@@ -2315,31 +2315,31 @@ function _regeneratorRuntime() {
2315
2315
  });
2316
2316
  }
2317
2317
  function b(A, O) {
2318
- function N(k, j, V, H) {
2318
+ function N(k, j, V, Y) {
2319
2319
  var W = d(A[k], A, j);
2320
2320
  if (W.type !== "throw") {
2321
2321
  var L = W.arg, U = L.value;
2322
- return U && _typeof$2(U) == "object" && r.call(U, "__await") ? O.resolve(U.__await).then(function(Y) {
2323
- N("next", Y, V, H);
2324
- }, function(Y) {
2325
- N("throw", Y, V, H);
2326
- }) : O.resolve(U).then(function(Y) {
2327
- L.value = Y, V(L);
2328
- }, function(Y) {
2329
- return N("throw", Y, V, H);
2322
+ return U && _typeof$2(U) == "object" && r.call(U, "__await") ? O.resolve(U.__await).then(function(H) {
2323
+ N("next", H, V, Y);
2324
+ }, function(H) {
2325
+ N("throw", H, V, Y);
2326
+ }) : O.resolve(U).then(function(H) {
2327
+ L.value = H, V(L);
2328
+ }, function(H) {
2329
+ return N("throw", H, V, Y);
2330
2330
  });
2331
2331
  }
2332
- H(W.arg);
2332
+ Y(W.arg);
2333
2333
  }
2334
2334
  var F;
2335
2335
  n(this, "_invoke", {
2336
2336
  value: function(j, V) {
2337
- function H() {
2337
+ function Y() {
2338
2338
  return new O(function(W, L) {
2339
2339
  N(j, V, W, L);
2340
2340
  });
2341
2341
  }
2342
- return F = F ? F.then(H, H) : H();
2342
+ return F = F ? F.then(Y, Y) : Y();
2343
2343
  }
2344
2344
  });
2345
2345
  }
@@ -2356,11 +2356,11 @@ function _regeneratorRuntime() {
2356
2356
  for (N.method = k, N.arg = j; ; ) {
2357
2357
  var V = N.delegate;
2358
2358
  if (V) {
2359
- var H = w(V, N);
2360
- if (H) {
2361
- if (H === f)
2359
+ var Y = w(V, N);
2360
+ if (Y) {
2361
+ if (Y === f)
2362
2362
  continue;
2363
- return H;
2363
+ return Y;
2364
2364
  }
2365
2365
  }
2366
2366
  if (N.method === "next")
@@ -2508,13 +2508,13 @@ function _regeneratorRuntime() {
2508
2508
  if (j.tryLoc === "root")
2509
2509
  return F("end");
2510
2510
  if (j.tryLoc <= this.prev) {
2511
- var H = r.call(j, "catchLoc"), W = r.call(j, "finallyLoc");
2512
- if (H && W) {
2511
+ var Y = r.call(j, "catchLoc"), W = r.call(j, "finallyLoc");
2512
+ if (Y && W) {
2513
2513
  if (this.prev < j.catchLoc)
2514
2514
  return F(j.catchLoc, !0);
2515
2515
  if (this.prev < j.finallyLoc)
2516
2516
  return F(j.finallyLoc);
2517
- } else if (H) {
2517
+ } else if (Y) {
2518
2518
  if (this.prev < j.catchLoc)
2519
2519
  return F(j.catchLoc, !0);
2520
2520
  } else {
@@ -4509,7 +4509,7 @@ var FormContext$1 = /* @__PURE__ */ React$n.createContext({
4509
4509
  onValuesChange: m,
4510
4510
  onFieldsChange: function(U) {
4511
4511
  if (_.triggerFormChange(n, U), y) {
4512
- for (var Y = arguments.length, G = new Array(Y > 1 ? Y - 1 : 0), B = 1; B < Y; B++)
4512
+ for (var H = arguments.length, G = new Array(H > 1 ? H - 1 : 0), B = 1; B < H; B++)
4513
4513
  G[B - 1] = arguments[B];
4514
4514
  y.apply(void 0, [U].concat(G));
4515
4515
  }
@@ -4537,12 +4537,12 @@ var FormContext$1 = /* @__PURE__ */ React$n.createContext({
4537
4537
  React$n.useEffect(function() {
4538
4538
  isSimilar(V.current || [], o || []) || w.setFields(o || []), V.current = o;
4539
4539
  }, [o, w]);
4540
- var H = React$n.useMemo(function() {
4540
+ var Y = React$n.useMemo(function() {
4541
4541
  return _objectSpread2$g(_objectSpread2$g({}, w), {}, {
4542
4542
  validateTrigger: g
4543
4543
  });
4544
4544
  }, [w, g]), W = /* @__PURE__ */ jsx(Context.Provider, {
4545
- value: H,
4545
+ value: Y,
4546
4546
  children: F
4547
4547
  });
4548
4548
  return d === !1 ? W : /* @__PURE__ */ jsx(d, {
@@ -4551,8 +4551,8 @@ var FormContext$1 = /* @__PURE__ */ React$n.createContext({
4551
4551
  U.preventDefault(), U.stopPropagation(), w.submit();
4552
4552
  },
4553
4553
  onReset: function(U) {
4554
- var Y;
4555
- U.preventDefault(), w.resetFields(), (Y = v.onReset) === null || Y === void 0 || Y.call(v, U);
4554
+ var H;
4555
+ U.preventDefault(), w.resetFields(), (H = v.onReset) === null || H === void 0 || H.call(v, U);
4556
4556
  },
4557
4557
  children: W
4558
4558
  });
@@ -6263,7 +6263,7 @@ function requireAntdIcon() {
6263
6263
  var F = C ? {
6264
6264
  msTransform: "rotate(".concat(C, "deg)"),
6265
6265
  transform: "rotate(".concat(C, "deg)")
6266
- } : void 0, k = (0, f.normalizeTwoToneColors)($), j = (0, n.default)(k, 2), V = j[0], H = j[1];
6266
+ } : void 0, k = (0, f.normalizeTwoToneColors)($), j = (0, n.default)(k, 2), V = j[0], Y = j[1];
6267
6267
  return /* @__PURE__ */ s.createElement("span", (0, r.default)((0, r.default)({
6268
6268
  role: "img",
6269
6269
  "aria-label": _.name
@@ -6275,7 +6275,7 @@ function requireAntdIcon() {
6275
6275
  }), /* @__PURE__ */ s.createElement(c.default, {
6276
6276
  icon: _,
6277
6277
  primaryColor: V,
6278
- secondaryColor: H,
6278
+ secondaryColor: Y,
6279
6279
  style: F
6280
6280
  }));
6281
6281
  });
@@ -6620,13 +6620,13 @@ const useStepQueue = function(e, t) {
6620
6620
  }, []), [o, a];
6621
6621
  };
6622
6622
  function useStatus(e, t, r, n) {
6623
- var a = n.motionEnter, o = a === void 0 ? !0 : a, s = n.motionAppear, u = s === void 0 ? !0 : s, l = n.motionLeave, c = l === void 0 ? !0 : l, d = n.motionDeadline, f = n.motionLeaveImmediately, p = n.onAppearPrepare, g = n.onEnterPrepare, m = n.onLeavePrepare, y = n.onAppearStart, x = n.onEnterStart, h = n.onLeaveStart, v = n.onAppearActive, _ = n.onEnterActive, b = n.onLeaveActive, C = n.onAppearEnd, w = n.onEnterEnd, D = n.onLeaveEnd, $ = n.onVisibleChanged, S = useSafeState$1(), P = _slicedToArray(S, 2), M = P[0], A = P[1], O = useSafeState$1(STATUS_NONE), N = _slicedToArray(O, 2), F = N[0], k = N[1], j = useSafeState$1(null), V = _slicedToArray(j, 2), H = V[0], W = V[1], L = useRef(!1), U = useRef(null);
6624
- function Y() {
6623
+ var a = n.motionEnter, o = a === void 0 ? !0 : a, s = n.motionAppear, u = s === void 0 ? !0 : s, l = n.motionLeave, c = l === void 0 ? !0 : l, d = n.motionDeadline, f = n.motionLeaveImmediately, p = n.onAppearPrepare, g = n.onEnterPrepare, m = n.onLeavePrepare, y = n.onAppearStart, x = n.onEnterStart, h = n.onLeaveStart, v = n.onAppearActive, _ = n.onEnterActive, b = n.onLeaveActive, C = n.onAppearEnd, w = n.onEnterEnd, D = n.onLeaveEnd, $ = n.onVisibleChanged, S = useSafeState$1(), P = _slicedToArray(S, 2), M = P[0], A = P[1], O = useSafeState$1(STATUS_NONE), N = _slicedToArray(O, 2), F = N[0], k = N[1], j = useSafeState$1(null), V = _slicedToArray(j, 2), Y = V[0], W = V[1], L = useRef(!1), U = useRef(null);
6624
+ function H() {
6625
6625
  return r();
6626
6626
  }
6627
6627
  var G = useRef(!1);
6628
6628
  function B(te) {
6629
- var re = Y();
6629
+ var re = H();
6630
6630
  if (!(te && !te.deadline && te.target !== re)) {
6631
6631
  var se = G.current, _e;
6632
6632
  F === STATUS_APPEAR && se ? _e = C == null ? void 0 : C(re, te) : F === STATUS_ENTER && se ? _e = w == null ? void 0 : w(re, te) : F === STATUS_LEAVE && se && (_e = D == null ? void 0 : D(re, te)), F !== STATUS_NONE && se && _e !== !1 && (k(STATUS_NONE, !0), W(null, !0));
@@ -6647,13 +6647,13 @@ function useStatus(e, t, r, n) {
6647
6647
  }, [F]), X = useStepQueue(F, function(te) {
6648
6648
  if (te === STEP_PREPARE) {
6649
6649
  var re = Q[STEP_PREPARE];
6650
- return re ? re(Y()) : SkipStep;
6650
+ return re ? re(H()) : SkipStep;
6651
6651
  }
6652
6652
  if (z in Q) {
6653
6653
  var se;
6654
- W(((se = Q[z]) === null || se === void 0 ? void 0 : se.call(Q, Y(), null)) || null);
6654
+ W(((se = Q[z]) === null || se === void 0 ? void 0 : se.call(Q, H(), null)) || null);
6655
6655
  }
6656
- return z === STEP_ACTIVE && (K(Y()), d > 0 && (clearTimeout(U.current), U.current = setTimeout(function() {
6656
+ return z === STEP_ACTIVE && (K(H()), d > 0 && (clearTimeout(U.current), U.current = setTimeout(function() {
6657
6657
  B({
6658
6658
  deadline: !0
6659
6659
  });
@@ -6677,7 +6677,7 @@ function useStatus(e, t, r, n) {
6677
6677
  useEffect(function() {
6678
6678
  M && (ee.current = !0), M !== void 0 && F === STATUS_NONE && ((ee.current || M) && ($ == null || $(M)), ee.current = !0);
6679
6679
  }, [M, F]);
6680
- var J = H;
6680
+ var J = Y;
6681
6681
  return Q[STEP_PREPARE] && z === STEP_START && (J = _objectSpread2$g({
6682
6682
  transition: "none"
6683
6683
  }, J)), [F, z, J, M != null ? M : t];
@@ -7433,8 +7433,8 @@ function requireUseMessage() {
7433
7433
  rootPrefixCls: M,
7434
7434
  getPopupContainer: y
7435
7435
  }), function(j) {
7436
- var V = j.prefixCls, H = j.instance;
7437
- x = H, b(f((0, n.default)((0, n.default)({}, $), {
7436
+ var V = j.prefixCls, Y = j.instance;
7437
+ x = Y, b(f((0, n.default)((0, n.default)({}, $), {
7438
7438
  key: A,
7439
7439
  onClose: k
7440
7440
  }), V));
@@ -7474,7 +7474,7 @@ function requireMessage() {
7474
7474
  L.top !== void 0 && (h = L.top, y = null), L.duration !== void 0 && (x = L.duration), L.prefixCls !== void 0 && (_ = L.prefixCls), L.getContainer !== void 0 && (w = L.getContainer, y = null), L.transitionName !== void 0 && (b = L.transitionName, y = null, C = !0), L.maxCount !== void 0 && (D = L.maxCount, y = null), L.rtl !== void 0 && ($ = L.rtl);
7475
7475
  }
7476
7476
  function M(L, U) {
7477
- var Y = L.prefixCls, G = L.getPopupContainer, B = (0, g.globalConfig)(), I = B.getPrefixCls, q = B.getRootPrefixCls, K = B.getIconPrefixCls, Q = I("message", Y || _), X = q(L.rootPrefixCls, Q), E = K();
7477
+ var H = L.prefixCls, G = L.getPopupContainer, B = (0, g.globalConfig)(), I = B.getPrefixCls, q = B.getRootPrefixCls, K = B.getIconPrefixCls, Q = I("message", H || _), X = q(L.rootPrefixCls, Q), E = K();
7478
7478
  if (y) {
7479
7479
  U({
7480
7480
  prefixCls: Q,
@@ -7519,7 +7519,7 @@ function requireMessage() {
7519
7519
  loading: c.default
7520
7520
  }, O = Object.keys(A);
7521
7521
  e.typeList = O;
7522
- function N(L, U, Y) {
7522
+ function N(L, U, H) {
7523
7523
  var G, B = L.duration !== void 0 ? L.duration : x, I = A[L.type], q = (0, d.default)("".concat(U, "-custom-content"), (G = {}, (0, a.default)(G, "".concat(U, "-").concat(L.type), L.type), (0, a.default)(G, "".concat(U, "-rtl"), $ === !0), G));
7524
7524
  return {
7525
7525
  key: L.key,
@@ -7527,7 +7527,7 @@ function requireMessage() {
7527
7527
  style: L.style || {},
7528
7528
  className: L.className,
7529
7529
  content: /* @__PURE__ */ p.createElement(g.default, {
7530
- iconPrefixCls: Y
7530
+ iconPrefixCls: H
7531
7531
  }, /* @__PURE__ */ p.createElement("div", {
7532
7532
  className: q
7533
7533
  }, L.icon || I && /* @__PURE__ */ p.createElement(I, null), /* @__PURE__ */ p.createElement("span", null, L.content))),
@@ -7536,7 +7536,7 @@ function requireMessage() {
7536
7536
  };
7537
7537
  }
7538
7538
  function F(L) {
7539
- var U = L.key || S(), Y = new Promise(function(B) {
7539
+ var U = L.key || S(), H = new Promise(function(B) {
7540
7540
  var I = function() {
7541
7541
  return typeof L.onClose == "function" && L.onClose(), B(!0);
7542
7542
  };
@@ -7551,8 +7551,8 @@ function requireMessage() {
7551
7551
  y && y.removeNotice(U);
7552
7552
  };
7553
7553
  return G.then = function(B, I) {
7554
- return Y.then(B, I);
7555
- }, G.promise = Y, G;
7554
+ return H.then(B, I);
7555
+ }, G.promise = H, G;
7556
7556
  }
7557
7557
  function k(L) {
7558
7558
  return Object.prototype.toString.call(L) === "[object Object]" && !!L.content;
@@ -7563,7 +7563,7 @@ function requireMessage() {
7563
7563
  destroy: function(U) {
7564
7564
  if (y)
7565
7565
  if (U) {
7566
- var Y = y, G = Y.removeNotice;
7566
+ var H = y, G = H.removeNotice;
7567
7567
  G(U);
7568
7568
  } else {
7569
7569
  var B = y, I = B.destroy;
@@ -7572,11 +7572,11 @@ function requireMessage() {
7572
7572
  }
7573
7573
  };
7574
7574
  function V(L, U) {
7575
- L[U] = function(Y, G, B) {
7576
- return k(Y) ? L.open((0, n.default)((0, n.default)({}, Y), {
7575
+ L[U] = function(H, G, B) {
7576
+ return k(H) ? L.open((0, n.default)((0, n.default)({}, H), {
7577
7577
  type: U
7578
7578
  })) : (typeof G == "function" && (B = G, G = void 0), L.open({
7579
- content: Y,
7579
+ content: H,
7580
7580
  duration: G,
7581
7581
  type: U,
7582
7582
  onClose: B
@@ -7586,10 +7586,10 @@ function requireMessage() {
7586
7586
  O.forEach(function(L) {
7587
7587
  return V(j, L);
7588
7588
  }), j.warn = j.warning, j.useMessage = (0, m.default)(M, N);
7589
- var H = function() {
7589
+ var Y = function() {
7590
7590
  return process.env.NODE_ENV === "test" ? y : null;
7591
7591
  };
7592
- e.getInstance = H;
7592
+ e.getInstance = Y;
7593
7593
  var W = j;
7594
7594
  e.default = W;
7595
7595
  }(message)), message;
@@ -7615,12 +7615,12 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7615
7615
  try {
7616
7616
  f({}, "");
7617
7617
  } catch {
7618
- f = function(j, V, H) {
7619
- return j[V] = H;
7618
+ f = function(j, V, Y) {
7619
+ return j[V] = Y;
7620
7620
  };
7621
7621
  }
7622
7622
  function p(F, k, j, V) {
7623
- var H = k && k.prototype instanceof y ? k : y, W = Object.create(H.prototype), L = new A(V || []);
7623
+ var Y = k && k.prototype instanceof y ? k : y, W = Object.create(Y.prototype), L = new A(V || []);
7624
7624
  return s(W, "_invoke", {
7625
7625
  value: $(F, j, L)
7626
7626
  }), W;
@@ -7661,10 +7661,10 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7661
7661
  });
7662
7662
  }
7663
7663
  function D(F, k) {
7664
- function j(H, W, L, U) {
7665
- var Y = g(F[H], F, W);
7666
- if (Y.type !== "throw") {
7667
- var G = Y.arg, B = G.value;
7664
+ function j(Y, W, L, U) {
7665
+ var H = g(F[Y], F, W);
7666
+ if (H.type !== "throw") {
7667
+ var G = H.arg, B = G.value;
7668
7668
  return B && t(B) == "object" && o.call(B, "__await") ? k.resolve(B.__await).then(function(I) {
7669
7669
  j("next", I, L, U);
7670
7670
  }, function(I) {
@@ -7675,14 +7675,14 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7675
7675
  return j("throw", I, L, U);
7676
7676
  });
7677
7677
  }
7678
- U(Y.arg);
7678
+ U(H.arg);
7679
7679
  }
7680
7680
  var V;
7681
7681
  s(this, "_invoke", {
7682
7682
  value: function(W, L) {
7683
7683
  function U() {
7684
- return new k(function(Y, G) {
7685
- j(W, L, Y, G);
7684
+ return new k(function(H, G) {
7685
+ j(W, L, H, G);
7686
7686
  });
7687
7687
  }
7688
7688
  return V = V ? V.then(U, U) : U();
@@ -7691,15 +7691,15 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7691
7691
  }
7692
7692
  function $(F, k, j) {
7693
7693
  var V = "suspendedStart";
7694
- return function(H, W) {
7694
+ return function(Y, W) {
7695
7695
  if (V === "executing")
7696
7696
  throw new Error("Generator is already running");
7697
7697
  if (V === "completed") {
7698
- if (H === "throw")
7698
+ if (Y === "throw")
7699
7699
  throw W;
7700
7700
  return N();
7701
7701
  }
7702
- for (j.method = H, j.arg = W; ; ) {
7702
+ for (j.method = Y, j.arg = W; ; ) {
7703
7703
  var L = j.delegate;
7704
7704
  if (L) {
7705
7705
  var U = S(L, j);
@@ -7718,16 +7718,16 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7718
7718
  } else
7719
7719
  j.method === "return" && j.abrupt("return", j.arg);
7720
7720
  V = "executing";
7721
- var Y = g(F, k, j);
7722
- if (Y.type === "normal") {
7723
- if (V = j.done ? "completed" : "suspendedYield", Y.arg === m)
7721
+ var H = g(F, k, j);
7722
+ if (H.type === "normal") {
7723
+ if (V = j.done ? "completed" : "suspendedYield", H.arg === m)
7724
7724
  continue;
7725
7725
  return {
7726
- value: Y.arg,
7726
+ value: H.arg,
7727
7727
  done: j.done
7728
7728
  };
7729
7729
  }
7730
- Y.type === "throw" && (V = "completed", j.method = "throw", j.arg = Y.arg);
7730
+ H.type === "throw" && (V = "completed", j.method = "throw", j.arg = H.arg);
7731
7731
  }
7732
7732
  };
7733
7733
  }
@@ -7744,8 +7744,8 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7744
7744
  var V = g(j, F.iterator, k.arg);
7745
7745
  if (V.type === "throw")
7746
7746
  return k.method = "throw", k.arg = V.arg, k.delegate = null, m;
7747
- var H = V.arg;
7748
- return H ? H.done ? (k[F.resultName] = H.value, k.next = F.nextLoc, k.method !== "return" && (k.method = "next", k.arg = void 0), k.delegate = null, m) : H : (k.method = "throw", k.arg = new TypeError("iterator result is not an object"), k.delegate = null, m);
7747
+ var Y = V.arg;
7748
+ return Y ? Y.done ? (k[F.resultName] = Y.value, k.next = F.nextLoc, k.method !== "return" && (k.method = "next", k.arg = void 0), k.delegate = null, m) : Y : (k.method = "throw", k.arg = new TypeError("iterator result is not an object"), k.delegate = null, m);
7749
7749
  }
7750
7750
  function P(F) {
7751
7751
  var k = {
@@ -7770,11 +7770,11 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7770
7770
  if (typeof F.next == "function")
7771
7771
  return F;
7772
7772
  if (!isNaN(F.length)) {
7773
- var j = -1, V = function H() {
7773
+ var j = -1, V = function Y() {
7774
7774
  for (; ++j < F.length; )
7775
7775
  if (o.call(F, j))
7776
- return H.value = F[j], H.done = !1, H;
7777
- return H.value = void 0, H.done = !0, H;
7776
+ return Y.value = F[j], Y.done = !1, Y;
7777
+ return Y.value = void 0, Y.done = !0, Y;
7778
7778
  };
7779
7779
  return V.next = V;
7780
7780
  }
@@ -7806,9 +7806,9 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7806
7806
  };
7807
7807
  }, w(D.prototype), f(D.prototype, c, function() {
7808
7808
  return this;
7809
- }), n.AsyncIterator = D, n.async = function(F, k, j, V, H) {
7810
- H === void 0 && (H = Promise);
7811
- var W = new D(p(F, k, j, V), H);
7809
+ }), n.AsyncIterator = D, n.async = function(F, k, j, V, Y) {
7810
+ Y === void 0 && (Y = Promise);
7811
+ var W = new D(p(F, k, j, V), Y);
7812
7812
  return n.isGeneratorFunction(k) ? W : W.next().then(function(L) {
7813
7813
  return L.done ? L.value : W.next();
7814
7814
  });
@@ -7820,13 +7820,13 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7820
7820
  var k = Object(F), j = [];
7821
7821
  for (var V in k)
7822
7822
  j.push(V);
7823
- return j.reverse(), function H() {
7823
+ return j.reverse(), function Y() {
7824
7824
  for (; j.length; ) {
7825
7825
  var W = j.pop();
7826
7826
  if (W in k)
7827
- return H.value = W, H.done = !1, H;
7827
+ return Y.value = W, Y.done = !1, Y;
7828
7828
  }
7829
- return H.done = !0, H;
7829
+ return Y.done = !0, Y;
7830
7830
  };
7831
7831
  }, n.values = O, A.prototype = {
7832
7832
  constructor: A,
@@ -7849,13 +7849,13 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7849
7849
  function V(G, B) {
7850
7850
  return L.type = "throw", L.arg = k, j.next = G, B && (j.method = "next", j.arg = void 0), !!B;
7851
7851
  }
7852
- for (var H = this.tryEntries.length - 1; H >= 0; --H) {
7853
- var W = this.tryEntries[H], L = W.completion;
7852
+ for (var Y = this.tryEntries.length - 1; Y >= 0; --Y) {
7853
+ var W = this.tryEntries[Y], L = W.completion;
7854
7854
  if (W.tryLoc === "root")
7855
7855
  return V("end");
7856
7856
  if (W.tryLoc <= this.prev) {
7857
- var U = o.call(W, "catchLoc"), Y = o.call(W, "finallyLoc");
7858
- if (U && Y) {
7857
+ var U = o.call(W, "catchLoc"), H = o.call(W, "finallyLoc");
7858
+ if (U && H) {
7859
7859
  if (this.prev < W.catchLoc)
7860
7860
  return V(W.catchLoc, !0);
7861
7861
  if (this.prev < W.finallyLoc)
@@ -7864,7 +7864,7 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7864
7864
  if (this.prev < W.catchLoc)
7865
7865
  return V(W.catchLoc, !0);
7866
7866
  } else {
7867
- if (!Y)
7867
+ if (!H)
7868
7868
  throw new Error("try statement without catch or finally");
7869
7869
  if (this.prev < W.finallyLoc)
7870
7870
  return V(W.finallyLoc);
@@ -7874,9 +7874,9 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7874
7874
  },
7875
7875
  abrupt: function(k, j) {
7876
7876
  for (var V = this.tryEntries.length - 1; V >= 0; --V) {
7877
- var H = this.tryEntries[V];
7878
- if (H.tryLoc <= this.prev && o.call(H, "finallyLoc") && this.prev < H.finallyLoc) {
7879
- var W = H;
7877
+ var Y = this.tryEntries[V];
7878
+ if (Y.tryLoc <= this.prev && o.call(Y, "finallyLoc") && this.prev < Y.finallyLoc) {
7879
+ var W = Y;
7880
7880
  break;
7881
7881
  }
7882
7882
  }
@@ -7900,9 +7900,9 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7900
7900
  for (var j = this.tryEntries.length - 1; j >= 0; --j) {
7901
7901
  var V = this.tryEntries[j];
7902
7902
  if (V.tryLoc === k) {
7903
- var H = V.completion;
7904
- if (H.type === "throw") {
7905
- var W = H.arg;
7903
+ var Y = V.completion;
7904
+ if (Y.type === "throw") {
7905
+ var W = Y.arg;
7906
7906
  M(V);
7907
7907
  }
7908
7908
  return W;
@@ -8134,7 +8134,7 @@ function requireNotification() {
8134
8134
  Object.defineProperty(e, "__esModule", {
8135
8135
  value: !0
8136
8136
  }), e.getInstance = e.default = void 0;
8137
- var n = r(regeneratorRuntime.exports), a = r(_extends$1.exports), o = r(defineProperty.exports), s = r(CheckCircleOutlined$3.exports), u = r(CloseCircleOutlined$3.exports), l = r(CloseOutlined$3.exports), c = r(ExclamationCircleOutlined$3.exports), d = r(InfoCircleOutlined$3.exports), f = r(classnames.exports), p = r(require$$11$1), g = t(React__default), m = t(requireConfigProvider()), y = r(requireUseNotification()), x = function(W, L, U, Y) {
8137
+ var n = r(regeneratorRuntime.exports), a = r(_extends$1.exports), o = r(defineProperty.exports), s = r(CheckCircleOutlined$3.exports), u = r(CloseCircleOutlined$3.exports), l = r(CloseOutlined$3.exports), c = r(ExclamationCircleOutlined$3.exports), d = r(InfoCircleOutlined$3.exports), f = r(classnames.exports), p = r(require$$11$1), g = t(React__default), m = t(requireConfigProvider()), y = r(requireUseNotification()), x = function(W, L, U, H) {
8138
8138
  function G(B) {
8139
8139
  return B instanceof U ? B : new U(function(I) {
8140
8140
  I(B);
@@ -8143,14 +8143,14 @@ function requireNotification() {
8143
8143
  return new (U || (U = Promise))(function(B, I) {
8144
8144
  function q(X) {
8145
8145
  try {
8146
- Q(Y.next(X));
8146
+ Q(H.next(X));
8147
8147
  } catch (E) {
8148
8148
  I(E);
8149
8149
  }
8150
8150
  }
8151
8151
  function K(X) {
8152
8152
  try {
8153
- Q(Y.throw(X));
8153
+ Q(H.throw(X));
8154
8154
  } catch (E) {
8155
8155
  I(E);
8156
8156
  }
@@ -8158,18 +8158,18 @@ function requireNotification() {
8158
8158
  function Q(X) {
8159
8159
  X.done ? B(X.value) : G(X.value).then(q, K);
8160
8160
  }
8161
- Q((Y = Y.apply(W, L || [])).next());
8161
+ Q((H = H.apply(W, L || [])).next());
8162
8162
  });
8163
8163
  }, h = {}, v = 4.5, _ = 24, b = 24, C = "", w = "topRight", D, $, S = !1, P;
8164
8164
  function M(W) {
8165
- var L = W.duration, U = W.placement, Y = W.bottom, G = W.top, B = W.getContainer, I = W.closeIcon, q = W.prefixCls;
8166
- q !== void 0 && (C = q), L !== void 0 && (v = L), U !== void 0 ? w = U : W.rtl && (w = "topLeft"), Y !== void 0 && (b = Y), G !== void 0 && (_ = G), B !== void 0 && (D = B), I !== void 0 && ($ = I), W.rtl !== void 0 && (S = W.rtl), W.maxCount !== void 0 && (P = W.maxCount);
8165
+ var L = W.duration, U = W.placement, H = W.bottom, G = W.top, B = W.getContainer, I = W.closeIcon, q = W.prefixCls;
8166
+ q !== void 0 && (C = q), L !== void 0 && (v = L), U !== void 0 ? w = U : W.rtl && (w = "topLeft"), H !== void 0 && (b = H), G !== void 0 && (_ = G), B !== void 0 && (D = B), I !== void 0 && ($ = I), W.rtl !== void 0 && (S = W.rtl), W.maxCount !== void 0 && (P = W.maxCount);
8167
8167
  }
8168
8168
  function A(W) {
8169
- var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _, U = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : b, Y;
8169
+ var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _, U = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : b, H;
8170
8170
  switch (W) {
8171
8171
  case "top":
8172
- Y = {
8172
+ H = {
8173
8173
  left: "50%",
8174
8174
  transform: "translateX(-50%)",
8175
8175
  right: "auto",
@@ -8178,21 +8178,21 @@ function requireNotification() {
8178
8178
  };
8179
8179
  break;
8180
8180
  case "topLeft":
8181
- Y = {
8181
+ H = {
8182
8182
  left: 0,
8183
8183
  top: L,
8184
8184
  bottom: "auto"
8185
8185
  };
8186
8186
  break;
8187
8187
  case "topRight":
8188
- Y = {
8188
+ H = {
8189
8189
  right: 0,
8190
8190
  top: L,
8191
8191
  bottom: "auto"
8192
8192
  };
8193
8193
  break;
8194
8194
  case "bottom":
8195
- Y = {
8195
+ H = {
8196
8196
  left: "50%",
8197
8197
  transform: "translateX(-50%)",
8198
8198
  right: "auto",
@@ -8201,24 +8201,24 @@ function requireNotification() {
8201
8201
  };
8202
8202
  break;
8203
8203
  case "bottomLeft":
8204
- Y = {
8204
+ H = {
8205
8205
  left: 0,
8206
8206
  top: "auto",
8207
8207
  bottom: U
8208
8208
  };
8209
8209
  break;
8210
8210
  default:
8211
- Y = {
8211
+ H = {
8212
8212
  right: 0,
8213
8213
  top: "auto",
8214
8214
  bottom: U
8215
8215
  };
8216
8216
  break;
8217
8217
  }
8218
- return Y;
8218
+ return H;
8219
8219
  }
8220
8220
  function O(W, L) {
8221
- var U = W.placement, Y = U === void 0 ? w : U, G = W.top, B = W.bottom, I = W.getContainer, q = I === void 0 ? D : I, K = W.prefixCls, Q = (0, m.globalConfig)(), X = Q.getPrefixCls, E = Q.getIconPrefixCls, T = X("notification", K || C), z = E(), Z = "".concat(T, "-").concat(Y), ee = h[Z];
8221
+ var U = W.placement, H = U === void 0 ? w : U, G = W.top, B = W.bottom, I = W.getContainer, q = I === void 0 ? D : I, K = W.prefixCls, Q = (0, m.globalConfig)(), X = Q.getPrefixCls, E = Q.getIconPrefixCls, T = X("notification", K || C), z = E(), Z = "".concat(T, "-").concat(H), ee = h[Z];
8222
8222
  if (ee) {
8223
8223
  Promise.resolve(ee).then(function(te) {
8224
8224
  L({
@@ -8229,12 +8229,12 @@ function requireNotification() {
8229
8229
  });
8230
8230
  return;
8231
8231
  }
8232
- var J = (0, f.default)("".concat(T, "-").concat(Y), (0, o.default)({}, "".concat(T, "-rtl"), S === !0));
8232
+ var J = (0, f.default)("".concat(T, "-").concat(H), (0, o.default)({}, "".concat(T, "-rtl"), S === !0));
8233
8233
  h[Z] = new Promise(function(te) {
8234
8234
  p.default.newInstance({
8235
8235
  prefixCls: T,
8236
8236
  className: J,
8237
- style: A(Y, G, B),
8237
+ style: A(H, G, B),
8238
8238
  getContainer: q,
8239
8239
  maxCount: P
8240
8240
  }, function(re) {
@@ -8253,7 +8253,7 @@ function requireNotification() {
8253
8253
  warning: c.default
8254
8254
  };
8255
8255
  function F(W, L, U) {
8256
- var Y = W.duration, G = W.icon, B = W.type, I = W.description, q = W.message, K = W.btn, Q = W.onClose, X = W.onClick, E = W.key, T = W.style, z = W.className, Z = W.closeIcon, ee = Z === void 0 ? $ : Z, J = W.props, te = Y === void 0 ? v : Y, re = null;
8256
+ var H = W.duration, G = W.icon, B = W.type, I = W.description, q = W.message, K = W.btn, Q = W.onClose, X = W.onClick, E = W.key, T = W.style, z = W.className, Z = W.closeIcon, ee = Z === void 0 ? $ : Z, J = W.props, te = H === void 0 ? v : H, re = null;
8257
8257
  G ? re = /* @__PURE__ */ g.createElement("span", {
8258
8258
  className: "".concat(L, "-icon")
8259
8259
  }, W.icon) : B && (re = /* @__PURE__ */ g.createElement(N[B] || null, {
@@ -8292,16 +8292,16 @@ function requireNotification() {
8292
8292
  }
8293
8293
  function k(W) {
8294
8294
  O(W, function(L) {
8295
- var U = L.prefixCls, Y = L.iconPrefixCls, G = L.instance;
8296
- G.notice(F(W, U, Y));
8295
+ var U = L.prefixCls, H = L.iconPrefixCls, G = L.instance;
8296
+ G.notice(F(W, U, H));
8297
8297
  });
8298
8298
  }
8299
8299
  var j = {
8300
8300
  open: k,
8301
8301
  close: function(L) {
8302
8302
  Object.keys(h).forEach(function(U) {
8303
- return Promise.resolve(h[U]).then(function(Y) {
8304
- Y.removeNotice(L);
8303
+ return Promise.resolve(h[U]).then(function(H) {
8304
+ H.removeNotice(L);
8305
8305
  });
8306
8306
  });
8307
8307
  },
@@ -8336,8 +8336,8 @@ function requireNotification() {
8336
8336
  }));
8337
8337
  };
8338
8338
  e.getInstance = V;
8339
- var H = j;
8340
- e.default = H;
8339
+ var Y = j;
8340
+ e.default = Y;
8341
8341
  }(notification)), notification;
8342
8342
  }
8343
8343
  var context$1 = {}, _interopRequireWildcard$6 = interopRequireWildcard.exports.default, _interopRequireDefault$a = interopRequireDefault.exports.default;
@@ -8502,14 +8502,14 @@ function requireConfigProvider() {
8502
8502
  };
8503
8503
  e.globalConfig = P;
8504
8504
  var M = function(F) {
8505
- var k, j, V = F.children, H = F.csp, W = F.autoInsertSpaceInButton, L = F.form, U = F.locale, Y = F.componentSize, G = F.direction, B = F.space, I = F.virtual, q = F.dropdownMatchSelectWidth, K = F.legacyLocale, Q = F.parentContext, X = F.iconPrefixCls, E = F.componentDisabled, T = u.useCallback(function(re, se) {
8505
+ var k, j, V = F.children, Y = F.csp, W = F.autoInsertSpaceInButton, L = F.form, U = F.locale, H = F.componentSize, G = F.direction, B = F.space, I = F.virtual, q = F.dropdownMatchSelectWidth, K = F.legacyLocale, Q = F.parentContext, X = F.iconPrefixCls, E = F.componentDisabled, T = u.useCallback(function(re, se) {
8506
8506
  var _e = F.prefixCls;
8507
8507
  if (se)
8508
8508
  return se;
8509
8509
  var be = _e || Q.getPrefixCls("");
8510
8510
  return re ? "".concat(be, "-").concat(re) : be;
8511
8511
  }, [Q.getPrefixCls, F.prefixCls]), z = (0, n.default)((0, n.default)({}, Q), {
8512
- csp: H,
8512
+ csp: Y,
8513
8513
  autoInsertSpaceInButton: W,
8514
8514
  locale: U || K,
8515
8515
  direction: G,
@@ -8532,18 +8532,18 @@ function requireConfigProvider() {
8532
8532
  }), ee = u.useMemo(function() {
8533
8533
  return {
8534
8534
  prefixCls: X,
8535
- csp: H
8535
+ csp: Y
8536
8536
  };
8537
- }, [X, H]), J = V, te = {};
8537
+ }, [X, Y]), J = V, te = {};
8538
8538
  return U && (te = ((k = U.Form) === null || k === void 0 ? void 0 : k.defaultValidateMessages) || ((j = d.default.Form) === null || j === void 0 ? void 0 : j.defaultValidateMessages) || {}), L && L.validateMessages && (te = (0, n.default)((0, n.default)({}, te), L.validateMessages)), Object.keys(te).length > 0 && (J = /* @__PURE__ */ u.createElement(o.FormProvider, {
8539
8539
  validateMessages: te
8540
8540
  }, V)), U && (J = /* @__PURE__ */ u.createElement(l.default, {
8541
8541
  locale: U,
8542
8542
  _ANT_MARK__: l.ANT_MARK
8543
- }, J)), (X || H) && (J = /* @__PURE__ */ u.createElement(a.default.Provider, {
8543
+ }, J)), (X || Y) && (J = /* @__PURE__ */ u.createElement(a.default.Provider, {
8544
8544
  value: ee
8545
- }, J)), Y && (J = /* @__PURE__ */ u.createElement(x.SizeContextProvider, {
8546
- size: Y
8545
+ }, J)), H && (J = /* @__PURE__ */ u.createElement(x.SizeContextProvider, {
8546
+ size: H
8547
8547
  }, J)), E !== void 0 && (J = /* @__PURE__ */ u.createElement(y.DisabledContextProvider, {
8548
8548
  disabled: E
8549
8549
  }, J)), /* @__PURE__ */ u.createElement(g.ConfigContext.Provider, {
@@ -8557,9 +8557,9 @@ function requireConfigProvider() {
8557
8557
  rtl: F.direction === "rtl"
8558
8558
  }));
8559
8559
  }, [F.direction]), /* @__PURE__ */ u.createElement(c.default, null, function(k, j, V) {
8560
- return /* @__PURE__ */ u.createElement(g.ConfigConsumer, null, function(H) {
8560
+ return /* @__PURE__ */ u.createElement(g.ConfigConsumer, null, function(Y) {
8561
8561
  return /* @__PURE__ */ u.createElement(M, (0, n.default)({
8562
- parentContext: H,
8562
+ parentContext: Y,
8563
8563
  legacyLocale: V
8564
8564
  }, F));
8565
8565
  });
@@ -8688,12 +8688,12 @@ function cloneElement(e, t) {
8688
8688
  }, {
8689
8689
  key: "renderTextAreaWithClearIcon",
8690
8690
  value: function(D, $, S) {
8691
- var P, M = this.props, A = M.value, O = M.allowClear, N = M.className, F = M.style, k = M.direction, j = M.bordered, V = M.hidden, H = M.status, W = S.status, L = S.hasFeedback;
8691
+ var P, M = this.props, A = M.value, O = M.allowClear, N = M.className, F = M.style, k = M.direction, j = M.bordered, V = M.hidden, Y = M.status, W = S.status, L = S.hasFeedback;
8692
8692
  if (!O)
8693
8693
  return (0, p.cloneElement)($, {
8694
8694
  value: A
8695
8695
  });
8696
- var U = (0, c.default)("".concat(D, "-affix-wrapper"), "".concat(D, "-affix-wrapper-textarea-with-clear-btn"), (0, g.getStatusClassNames)("".concat(D, "-affix-wrapper"), (0, g.getMergedStatus)(W, H), L), (P = {}, (0, n.default)(P, "".concat(D, "-affix-wrapper-rtl"), k === "rtl"), (0, n.default)(P, "".concat(D, "-affix-wrapper-borderless"), !j), (0, n.default)(P, "".concat(N), !x(this.props) && N), P));
8696
+ var U = (0, c.default)("".concat(D, "-affix-wrapper"), "".concat(D, "-affix-wrapper-textarea-with-clear-btn"), (0, g.getStatusClassNames)("".concat(D, "-affix-wrapper"), (0, g.getMergedStatus)(W, Y), L), (P = {}, (0, n.default)(P, "".concat(D, "-affix-wrapper-rtl"), k === "rtl"), (0, n.default)(P, "".concat(D, "-affix-wrapper-borderless"), !j), (0, n.default)(P, "".concat(N), !x(this.props) && N), P));
8697
8697
  return /* @__PURE__ */ d.createElement("span", {
8698
8698
  className: U,
8699
8699
  style: F,
@@ -8777,19 +8777,19 @@ function fixControlledValue(e) {
8777
8777
  }
8778
8778
  var BaseInput = function(t) {
8779
8779
  var r = t.inputElement, n = t.prefixCls, a = t.prefix, o = t.suffix, s = t.addonBefore, u = t.addonAfter, l = t.className, c = t.style, d = t.affixWrapperClassName, f = t.groupClassName, p = t.wrapperClassName, g = t.disabled, m = t.readOnly, y = t.focused, x = t.triggerFocus, h = t.allowClear, v = t.value, _ = t.handleReset, b = t.hidden, C = useRef(null), w = function(V) {
8780
- var H;
8781
- (H = C.current) !== null && H !== void 0 && H.contains(V.target) && (x == null || x());
8780
+ var Y;
8781
+ (Y = C.current) !== null && Y !== void 0 && Y.contains(V.target) && (x == null || x());
8782
8782
  }, D = function() {
8783
8783
  var V;
8784
8784
  if (!h)
8785
8785
  return null;
8786
- var H = !g && !m && v, W = "".concat(n, "-clear-icon"), L = _typeof$2(h) === "object" && h !== null && h !== void 0 && h.clearIcon ? h.clearIcon : "\u2716";
8786
+ var Y = !g && !m && v, W = "".concat(n, "-clear-icon"), L = _typeof$2(h) === "object" && h !== null && h !== void 0 && h.clearIcon ? h.clearIcon : "\u2716";
8787
8787
  return /* @__PURE__ */ jsx("span", {
8788
8788
  onClick: _,
8789
- onMouseDown: function(Y) {
8790
- return Y.preventDefault();
8789
+ onMouseDown: function(H) {
8790
+ return H.preventDefault();
8791
8791
  },
8792
- className: classNames(W, (V = {}, _defineProperty$1(V, "".concat(W, "-hidden"), !H), _defineProperty$1(V, "".concat(W, "-has-suffix"), !!o), V)),
8792
+ className: classNames(W, (V = {}, _defineProperty$1(V, "".concat(W, "-hidden"), !Y), _defineProperty$1(V, "".concat(W, "-has-suffix"), !!o), V)),
8793
8793
  role: "button",
8794
8794
  tabIndex: -1,
8795
8795
  children: L
@@ -8861,9 +8861,9 @@ var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnte
8861
8861
  var U;
8862
8862
  (U = A.current) === null || U === void 0 || U.blur();
8863
8863
  },
8864
- setSelectionRange: function(U, Y, G) {
8864
+ setSelectionRange: function(U, H, G) {
8865
8865
  var B;
8866
- (B = A.current) === null || B === void 0 || B.setSelectionRange(U, Y, G);
8866
+ (B = A.current) === null || B === void 0 || B.setSelectionRange(U, H, G);
8867
8867
  },
8868
8868
  select: function() {
8869
8869
  var U;
@@ -8886,7 +8886,7 @@ var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnte
8886
8886
  M(!1), o == null || o(U);
8887
8887
  }, V = function(U) {
8888
8888
  D(""), O(), A.current && resolveOnChange(A.current, U, n);
8889
- }, H = function() {
8889
+ }, Y = function() {
8890
8890
  var U = omit(e, [
8891
8891
  "prefixCls",
8892
8892
  "onPressEnter",
@@ -8918,8 +8918,8 @@ var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnte
8918
8918
  }, W = function() {
8919
8919
  var U = Number(g) > 0;
8920
8920
  if (m || y) {
8921
- var Y = fixControlledValue(w), G = _toConsumableArray(Y).length, B = _typeof$2(y) === "object" ? y.formatter({
8922
- value: Y,
8921
+ var H = fixControlledValue(w), G = _toConsumableArray(H).length, B = _typeof$2(y) === "object" ? y.formatter({
8922
+ value: H,
8923
8923
  count: G,
8924
8924
  maxLength: g
8925
8925
  }) : "".concat(G).concat(U ? " / ".concat(g) : "");
@@ -8936,7 +8936,7 @@ var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnte
8936
8936
  ..._,
8937
8937
  prefixCls: c,
8938
8938
  className: p,
8939
- inputElement: H(),
8939
+ inputElement: Y(),
8940
8940
  handleReset: V,
8941
8941
  value: fixControlledValue(w),
8942
8942
  focused: P,
@@ -9045,15 +9045,15 @@ function toArray$1(e) {
9045
9045
  }, v);
9046
9046
  }, m = function(h) {
9047
9047
  var v, _ = u.useContext(l.ConfigContext), b = _.getPrefixCls, C = _.direction, w = h.size, D = w === void 0 ? "middle" : w, $ = h.direction, S = h.block, P = h.prefixCls, M = h.className, A = h.children, O = c(h, ["size", "direction", "block", "prefixCls", "className", "children"]), N = b("space-compact", P), F = (0, o.default)(N, (v = {}, (0, a.default)(v, "".concat(N, "-rtl"), C === "rtl"), (0, a.default)(v, "".concat(N, "-block"), S), (0, a.default)(v, "".concat(N, "-vertical"), $ === "vertical"), v), M), k = u.useContext(d), j = (0, s.default)(A), V = u.useMemo(function() {
9048
- return j.map(function(H, W) {
9049
- var L = H && H.key || "".concat(N, "-item-").concat(W);
9048
+ return j.map(function(Y, W) {
9049
+ var L = Y && Y.key || "".concat(N, "-item-").concat(W);
9050
9050
  return /* @__PURE__ */ u.createElement(g, {
9051
9051
  key: L,
9052
9052
  compactSize: D,
9053
9053
  compactDirection: $,
9054
9054
  isFirstItem: W === 0 && (!k || (k == null ? void 0 : k.isFirstItem)),
9055
9055
  isLastItem: W === j.length - 1 && (!k || (k == null ? void 0 : k.isLastItem))
9056
- }, H);
9056
+ }, Y);
9057
9057
  });
9058
9058
  }, [D, j, k]);
9059
9059
  return j.length === 0 ? null : /* @__PURE__ */ u.createElement("div", (0, n.default)({
@@ -9159,7 +9159,7 @@ function hasPrefixSuffix(e) {
9159
9159
  }
9160
9160
  }
9161
9161
  var $ = /* @__PURE__ */ (0, d.forwardRef)(function(P, M) {
9162
- var A, O, N, F = P.prefixCls, k = P.bordered, j = k === void 0 ? !0 : k, V = P.status, H = P.size, W = P.disabled, L = P.onBlur, U = P.onFocus, Y = P.suffix, G = P.allowClear, B = P.addonAfter, I = P.addonBefore, q = P.className, K = P.onChange, Q = b(P, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "onChange"]), X = d.default.useContext(f.ConfigContext), E = X.getPrefixCls, T = X.direction, z = X.input, Z = E("input", F), ee = (0, d.useRef)(null), J = (0, y.useCompactItemContext)(Z, T), te = J.compactSize, re = J.compactItemClassnames, se = d.default.useContext(g.default), _e = te || H || se, be = d.default.useContext(p.default), Se = W != null ? W : be, ie = (0, d.useContext)(m.FormItemInputContext), ge = ie.status, ue = ie.hasFeedback, he = ie.feedbackIcon, me = (0, x.getMergedStatus)(ge, V), oe = (0, _.hasPrefixSuffix)(P) || !!ue, ye = (0, d.useRef)(oe);
9162
+ var A, O, N, F = P.prefixCls, k = P.bordered, j = k === void 0 ? !0 : k, V = P.status, Y = P.size, W = P.disabled, L = P.onBlur, U = P.onFocus, H = P.suffix, G = P.allowClear, B = P.addonAfter, I = P.addonBefore, q = P.className, K = P.onChange, Q = b(P, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "onChange"]), X = d.default.useContext(f.ConfigContext), E = X.getPrefixCls, T = X.direction, z = X.input, Z = E("input", F), ee = (0, d.useRef)(null), J = (0, y.useCompactItemContext)(Z, T), te = J.compactSize, re = J.compactItemClassnames, se = d.default.useContext(g.default), _e = te || Y || se, be = d.default.useContext(p.default), Se = W != null ? W : be, ie = (0, d.useContext)(m.FormItemInputContext), ge = ie.status, ue = ie.hasFeedback, he = ie.feedbackIcon, me = (0, x.getMergedStatus)(ge, V), oe = (0, _.hasPrefixSuffix)(P) || !!ue, ye = (0, d.useRef)(oe);
9163
9163
  (0, d.useEffect)(function() {
9164
9164
  var Ce;
9165
9165
  oe && !ye.current && process.env.NODE_ENV !== "production" && (0, h.default)(document.activeElement === ((Ce = ee.current) === null || Ce === void 0 ? void 0 : Ce.input), "Input", "When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"), ye.current = oe;
@@ -9170,7 +9170,7 @@ function hasPrefixSuffix(e) {
9170
9170
  $e(), U == null || U(de);
9171
9171
  }, ke = function(de) {
9172
9172
  $e(), K == null || K(de);
9173
- }, le = (ue || Y) && /* @__PURE__ */ d.default.createElement(d.default.Fragment, null, Y, ue && he), pe;
9173
+ }, le = (ue || H) && /* @__PURE__ */ d.default.createElement(d.default.Fragment, null, H, ue && he), pe;
9174
9174
  return (0, o.default)(G) === "object" && (G == null ? void 0 : G.clearIcon) ? pe = G : G && (pe = {
9175
9175
  clearIcon: /* @__PURE__ */ d.default.createElement(s.default, null)
9176
9176
  }), /* @__PURE__ */ d.default.createElement(l.default, (0, a.default)({
@@ -9223,7 +9223,7 @@ function hasPrefixSuffix(e) {
9223
9223
  return S ? O = C(M, A) : (0, u.default)(P || "").length < M.length && (0, u.default)(M || "").length > A && (O = P), O;
9224
9224
  }
9225
9225
  var D = /* @__PURE__ */ p.forwardRef(function(S, P) {
9226
- var M, A = S.prefixCls, O = S.bordered, N = O === void 0 ? !0 : O, F = S.showCount, k = F === void 0 ? !1 : F, j = S.maxLength, V = S.className, H = S.style, W = S.size, L = S.disabled, U = S.onCompositionStart, Y = S.onCompositionEnd, G = S.onChange, B = S.status, I = b(S, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size", "disabled", "onCompositionStart", "onCompositionEnd", "onChange", "status"]), q = p.useContext(g.ConfigContext), K = q.getPrefixCls, Q = q.direction, X = p.useContext(y.default), E = p.useContext(m.default), T = L != null ? L : E, z = p.useContext(x.FormItemInputContext), Z = z.status, ee = z.hasFeedback, J = z.isFormItemInput, te = z.feedbackIcon, re = (0, h.getMergedStatus)(Z, B), se = p.useRef(null), _e = p.useRef(null), be = p.useState(!1), Se = (0, s.default)(be, 2), ie = Se[0], ge = Se[1], ue = p.useRef(), he = p.useRef(0), me = (0, d.default)(I.defaultValue, {
9226
+ var M, A = S.prefixCls, O = S.bordered, N = O === void 0 ? !0 : O, F = S.showCount, k = F === void 0 ? !1 : F, j = S.maxLength, V = S.className, Y = S.style, W = S.size, L = S.disabled, U = S.onCompositionStart, H = S.onCompositionEnd, G = S.onChange, B = S.status, I = b(S, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size", "disabled", "onCompositionStart", "onCompositionEnd", "onChange", "status"]), q = p.useContext(g.ConfigContext), K = q.getPrefixCls, Q = q.direction, X = p.useContext(y.default), E = p.useContext(m.default), T = L != null ? L : E, z = p.useContext(x.FormItemInputContext), Z = z.status, ee = z.hasFeedback, J = z.isFormItemInput, te = z.feedbackIcon, re = (0, h.getMergedStatus)(Z, B), se = p.useRef(null), _e = p.useRef(null), be = p.useState(!1), Se = (0, s.default)(be, 2), ie = Se[0], ge = Se[1], ue = p.useRef(), he = p.useRef(0), me = (0, d.default)(I.defaultValue, {
9227
9227
  value: I.value
9228
9228
  }), oe = (0, s.default)(me, 2), ye = oe[0], $e = oe[1], Me = I.hidden, Ee = function(Fe, Pe) {
9229
9229
  I.value === void 0 && ($e(Fe), Pe == null || Pe());
@@ -9237,7 +9237,7 @@ function hasPrefixSuffix(e) {
9237
9237
  var Le = he.current >= j + 1 || he.current === ((Pe = ue.current) === null || Pe === void 0 ? void 0 : Pe.length);
9238
9238
  De = w(Le, ue.current, De, j);
9239
9239
  }
9240
- De !== ye && (Ee(De), (0, _.resolveOnChange)(Fe.currentTarget, Fe, G, De)), Y == null || Y(Fe);
9240
+ De !== ye && (Ee(De), (0, _.resolveOnChange)(Fe.currentTarget, Fe, G, De)), H == null || H(Fe);
9241
9241
  }, Ce = function(Fe) {
9242
9242
  var Pe = Fe.target.value;
9243
9243
  if (!ie && ke) {
@@ -9267,8 +9267,8 @@ function hasPrefixSuffix(e) {
9267
9267
  disabled: T,
9268
9268
  className: (0, l.default)((M = {}, (0, a.default)(M, "".concat(xe, "-borderless"), !N), (0, a.default)(M, V, V && !k), (0, a.default)(M, "".concat(xe, "-sm"), X === "small" || W === "small"), (0, a.default)(M, "".concat(xe, "-lg"), X === "large" || W === "large"), M), (0, h.getStatusClassNames)(xe, re)),
9269
9269
  style: k ? {
9270
- resize: H == null ? void 0 : H.resize
9271
- } : H,
9270
+ resize: Y == null ? void 0 : Y.resize
9271
+ } : Y,
9272
9272
  prefixCls: xe,
9273
9273
  onCompositionStart: le,
9274
9274
  onChange: Ce,
@@ -9288,7 +9288,7 @@ function hasPrefixSuffix(e) {
9288
9288
  ref: _e,
9289
9289
  bordered: N,
9290
9290
  status: B,
9291
- style: k ? void 0 : H
9291
+ style: k ? void 0 : Y
9292
9292
  }));
9293
9293
  if (k || ee) {
9294
9294
  var Ie, je = (0, u.default)(Ae).length, Ke = "";
@@ -9299,7 +9299,7 @@ function hasPrefixSuffix(e) {
9299
9299
  }) : Ke = "".concat(je).concat(ke ? " / ".concat(j) : ""), /* @__PURE__ */ p.createElement("div", {
9300
9300
  hidden: Me,
9301
9301
  className: (0, l.default)("".concat(xe, "-textarea"), (Ie = {}, (0, a.default)(Ie, "".concat(xe, "-textarea-rtl"), Q === "rtl"), (0, a.default)(Ie, "".concat(xe, "-textarea-show-count"), k), (0, a.default)(Ie, "".concat(xe, "-textarea-in-form-item"), J), Ie), (0, h.getStatusClassNames)("".concat(xe, "-textarea"), re, ee), V),
9302
- style: H,
9302
+ style: Y,
9303
9303
  "data-count": Ke
9304
9304
  }, Ve, ee && /* @__PURE__ */ p.createElement("span", {
9305
9305
  className: "".concat(xe, "-textarea-suffix")
@@ -10412,7 +10412,7 @@ function require_stream_writable() {
10412
10412
  this._writableState.corked++;
10413
10413
  }, $.prototype.uncork = function() {
10414
10414
  var I = this._writableState;
10415
- I.corked && (I.corked--, !I.writing && !I.corked && !I.bufferProcessing && I.bufferedRequest && H(this, I));
10415
+ I.corked && (I.corked--, !I.writing && !I.corked && !I.bufferProcessing && I.bufferedRequest && Y(this, I));
10416
10416
  }, $.prototype.setDefaultEncoding = function(q) {
10417
10417
  if (typeof q == "string" && (q = q.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((q + "").toLowerCase()) > -1))
10418
10418
  throw new _(q);
@@ -10457,7 +10457,7 @@ function require_stream_writable() {
10457
10457
  q.writelen = Q, q.writecb = T, q.writing = !0, q.sync = !0, q.destroyed ? q.onwrite(new x("write")) : K ? I._writev(X, q.onwrite) : I._write(X, E, q.onwrite), q.sync = !1;
10458
10458
  }
10459
10459
  function N(I, q, K, Q, X) {
10460
- --q.pendingcb, K ? (process.nextTick(X, Q), process.nextTick(Y, I, q), I._writableState.errorEmitted = !0, b(I, Q)) : (X(Q), I._writableState.errorEmitted = !0, b(I, Q), Y(I, q));
10460
+ --q.pendingcb, K ? (process.nextTick(X, Q), process.nextTick(H, I, q), I._writableState.errorEmitted = !0, b(I, Q)) : (X(Q), I._writableState.errorEmitted = !0, b(I, Q), H(I, q));
10461
10461
  }
10462
10462
  function F(I) {
10463
10463
  I.writing = !1, I.writecb = null, I.length -= I.writelen, I.writelen = 0;
@@ -10470,16 +10470,16 @@ function require_stream_writable() {
10470
10470
  N(I, K, Q, q, X);
10471
10471
  else {
10472
10472
  var E = W(K) || I.destroyed;
10473
- !E && !K.corked && !K.bufferProcessing && K.bufferedRequest && H(I, K), Q ? process.nextTick(j, I, K, E, X) : j(I, K, E, X);
10473
+ !E && !K.corked && !K.bufferProcessing && K.bufferedRequest && Y(I, K), Q ? process.nextTick(j, I, K, E, X) : j(I, K, E, X);
10474
10474
  }
10475
10475
  }
10476
10476
  function j(I, q, K, Q) {
10477
- K || V(I, q), q.pendingcb--, Q(), Y(I, q);
10477
+ K || V(I, q), q.pendingcb--, Q(), H(I, q);
10478
10478
  }
10479
10479
  function V(I, q) {
10480
10480
  q.length === 0 && q.needDrain && (q.needDrain = !1, I.emit("drain"));
10481
10481
  }
10482
- function H(I, q) {
10482
+ function Y(I, q) {
10483
10483
  q.bufferProcessing = !0;
10484
10484
  var K = q.bufferedRequest;
10485
10485
  if (I._writev && K && K.next) {
@@ -10514,13 +10514,13 @@ function require_stream_writable() {
10514
10514
  }
10515
10515
  function L(I, q) {
10516
10516
  I._final(function(K) {
10517
- q.pendingcb--, K && b(I, K), q.prefinished = !0, I.emit("prefinish"), Y(I, q);
10517
+ q.pendingcb--, K && b(I, K), q.prefinished = !0, I.emit("prefinish"), H(I, q);
10518
10518
  });
10519
10519
  }
10520
10520
  function U(I, q) {
10521
10521
  !q.prefinished && !q.finalCalled && (typeof I._final == "function" && !q.destroyed ? (q.pendingcb++, q.finalCalled = !0, process.nextTick(L, I, q)) : (q.prefinished = !0, I.emit("prefinish")));
10522
10522
  }
10523
- function Y(I, q) {
10523
+ function H(I, q) {
10524
10524
  var K = W(q);
10525
10525
  if (K && (U(I, q), q.pendingcb === 0 && (q.finished = !0, I.emit("finish"), q.autoDestroy))) {
10526
10526
  var Q = I._readableState;
@@ -10529,7 +10529,7 @@ function require_stream_writable() {
10529
10529
  return K;
10530
10530
  }
10531
10531
  function G(I, q, K) {
10532
- q.ending = !0, Y(I, q), K && (q.finished ? process.nextTick(K) : I.once("finish", K)), q.ended = !0, I.writable = !1;
10532
+ q.ending = !0, H(I, q), K && (q.finished ? process.nextTick(K) : I.once("finish", K)), q.ended = !0, I.writable = !1;
10533
10533
  }
10534
10534
  function B(I, q, K) {
10535
10535
  var Q = I.entry;
@@ -11036,15 +11036,15 @@ function require_stream_readable() {
11036
11036
  else {
11037
11037
  if (J.destroyed)
11038
11038
  return !1;
11039
- J.reading = !1, J.decoder && !z ? (T = J.decoder.write(T), J.objectMode || T.length !== 0 ? M(E, J, T, !1) : H(E, J)) : M(E, J, T, !1);
11039
+ J.reading = !1, J.decoder && !z ? (T = J.decoder.write(T), J.objectMode || T.length !== 0 ? M(E, J, T, !1) : Y(E, J)) : M(E, J, T, !1);
11040
11040
  }
11041
11041
  else
11042
- Z || (J.reading = !1, H(E, J));
11042
+ Z || (J.reading = !1, Y(E, J));
11043
11043
  }
11044
11044
  return !J.ended && (J.length < J.highWaterMark || J.length === 0);
11045
11045
  }
11046
11046
  function M(E, T, z, Z) {
11047
- T.flowing && T.length === 0 && !T.sync ? (T.awaitDrain = 0, E.emit("data", z)) : (T.length += T.objectMode ? 1 : z.length, Z ? T.buffer.unshift(z) : T.buffer.push(z), T.needReadable && j(E)), H(E, T);
11047
+ T.flowing && T.length === 0 && !T.sync ? (T.awaitDrain = 0, E.emit("data", z)) : (T.length += T.objectMode ? 1 : z.length, Z ? T.buffer.unshift(z) : T.buffer.push(z), T.needReadable && j(E)), Y(E, T);
11048
11048
  }
11049
11049
  function A(E, T) {
11050
11050
  var z;
@@ -11096,7 +11096,7 @@ function require_stream_readable() {
11096
11096
  var T = E._readableState;
11097
11097
  l("emitReadable_", T.destroyed, T.length, T.ended), !T.destroyed && (T.length || T.ended) && (E.emit("readable"), T.emittedReadable = !1), T.needReadable = !T.flowing && !T.ended && T.length <= T.highWaterMark, I(E);
11098
11098
  }
11099
- function H(E, T) {
11099
+ function Y(E, T) {
11100
11100
  T.readingMore || (T.readingMore = !0, process.nextTick(W, E, T));
11101
11101
  }
11102
11102
  function W(E, T) {
@@ -11187,7 +11187,7 @@ function require_stream_readable() {
11187
11187
  return te === -1 ? this : (T.pipes.splice(te, 1), T.pipesCount -= 1, T.pipesCount === 1 && (T.pipes = T.pipes[0]), E.emit("unpipe", this, z), this);
11188
11188
  }, S.prototype.on = function(E, T) {
11189
11189
  var z = r.prototype.on.call(this, E, T), Z = this._readableState;
11190
- return E === "data" ? (Z.readableListening = this.listenerCount("readable") > 0, Z.flowing !== !1 && this.resume()) : E === "readable" && !Z.endEmitted && !Z.readableListening && (Z.readableListening = Z.needReadable = !0, Z.flowing = !1, Z.emittedReadable = !1, l("on readable", Z.length, Z.reading), Z.length ? j(this) : Z.reading || process.nextTick(Y, this)), z;
11190
+ return E === "data" ? (Z.readableListening = this.listenerCount("readable") > 0, Z.flowing !== !1 && this.resume()) : E === "readable" && !Z.endEmitted && !Z.readableListening && (Z.readableListening = Z.needReadable = !0, Z.flowing = !1, Z.emittedReadable = !1, l("on readable", Z.length, Z.reading), Z.length ? j(this) : Z.reading || process.nextTick(H, this)), z;
11191
11191
  }, S.prototype.addListener = S.prototype.on, S.prototype.removeListener = function(E, T) {
11192
11192
  var z = r.prototype.removeListener.call(this, E, T);
11193
11193
  return E === "readable" && process.nextTick(U, this), z;
@@ -11199,7 +11199,7 @@ function require_stream_readable() {
11199
11199
  var T = E._readableState;
11200
11200
  T.readableListening = E.listenerCount("readable") > 0, T.resumeScheduled && !T.paused ? T.flowing = !0 : E.listenerCount("data") > 0 && E.resume();
11201
11201
  }
11202
- function Y(E) {
11202
+ function H(E) {
11203
11203
  l("readable nexttick read 0"), E.read(0);
11204
11204
  }
11205
11205
  S.prototype.resume = function() {
@@ -14401,7 +14401,7 @@ const transformPlainMany2Ones = ({
14401
14401
  setLimit: C,
14402
14402
  searchParams: w = [],
14403
14403
  setSearchValues: D
14404
- } = e, [$, S] = useState$1(!1), [P, M] = useState$1(!1), [A, O] = useState$1(), [N, F] = useState$1(1), [k, j] = useState$1(0), [V, H] = useState$1(), [W, L] = useState$1([]), [U, Y] = useState$1(void 0), G = useRef(b || DEFAULT_SEARCH_LIMIT$1), B = useRef([]), I = useCallback((J) => {
14404
+ } = e, [$, S] = useState$1(!1), [P, M] = useState$1(!1), [A, O] = useState$1(), [N, F] = useState$1(1), [k, j] = useState$1(0), [V, Y] = useState$1(), [W, L] = useState$1([]), [U, H] = useState$1(void 0), G = useRef(b || DEFAULT_SEARCH_LIMIT$1), B = useRef([]), I = useCallback((J) => {
14405
14405
  x == null || x([...J]), L([...J]);
14406
14406
  }, []), q = useCallback(() => h || W, [h, W]), K = useCallback(async () => {
14407
14407
  const J = await ConnectionProvider.getHandler().nameSearch({
@@ -14411,7 +14411,7 @@ const transformPlainMany2Ones = ({
14411
14411
  attrs: v,
14412
14412
  context: c
14413
14413
  });
14414
- if (H(J.length), d == null || d(J.length), J.length > 0) {
14414
+ if (Y(J.length), d == null || d(J.length), J.length > 0) {
14415
14415
  const te = J.map((ie) => ie == null ? void 0 : ie[0]), { colors: re } = getTree(f), se = await ConnectionProvider.getHandler().readEvalUiObjects({
14416
14416
  model: t,
14417
14417
  ids: te,
@@ -14422,7 +14422,7 @@ const transformPlainMany2Ones = ({
14422
14422
  colors: re
14423
14423
  }
14424
14424
  }), _e = se[0];
14425
- B.current = [..._e], Y(getColorMap(se[1]));
14425
+ B.current = [..._e], H(getColorMap(se[1]));
14426
14426
  const be = _e.map((ie) => ie.id), Se = g !== void 0 ? sortResults({
14427
14427
  resultsToSort: _e,
14428
14428
  sorter: g,
@@ -14455,7 +14455,7 @@ const transformPlainMany2Ones = ({
14455
14455
  context: c,
14456
14456
  attrs: _e && { colors: _e }
14457
14457
  });
14458
- Y(getColorMap(ie)), B.current = [...Se];
14458
+ H(getColorMap(ie)), B.current = [...Se];
14459
14459
  const ge = g !== void 0 ? sortResults({
14460
14460
  resultsToSort: Se,
14461
14461
  sorter: g,
@@ -14469,7 +14469,7 @@ const transformPlainMany2Ones = ({
14469
14469
  } else
14470
14470
  y == null || y(void 0);
14471
14471
  const ue = await be;
14472
- H(ue), d == null || d(ue);
14472
+ Y(ue), d == null || d(ue);
14473
14473
  },
14474
14474
  [
14475
14475
  y,
@@ -14622,7 +14622,7 @@ const transformPlainMany2Ones = ({
14622
14622
  setSearchTreeNameSearch: D,
14623
14623
  goToResourceId: $,
14624
14624
  limit: S
14625
- } = e, [P, M] = useState$1(!1), [A, O] = useState$1(!1), [N, F] = useState$1(!1), [k, j] = useState$1(!0), [V, H] = useState$1(!0), [W, L] = useState$1([]), [U, Y] = useState$1(!1), [G, B] = useState$1([]), [I, q] = useState$1(!1), [K, Q] = useState$1(!0), [X, E] = useState$1(), [T, z] = useState$1({}), [Z, ee] = useState$1(S !== void 0 ? S : DEFAULT_SEARCH_LIMIT$1), [J, te] = useState$1(n);
14625
+ } = e, [P, M] = useState$1(!1), [A, O] = useState$1(!1), [N, F] = useState$1(!1), [k, j] = useState$1(!0), [V, Y] = useState$1(!0), [W, L] = useState$1([]), [U, H] = useState$1(!1), [G, B] = useState$1([]), [I, q] = useState$1(!1), [K, Q] = useState$1(!0), [X, E] = useState$1(), [T, z] = useState$1({}), [Z, ee] = useState$1(S !== void 0 ? S : DEFAULT_SEARCH_LIMIT$1), [J, te] = useState$1(n);
14626
14626
  useEffect(() => {
14627
14627
  p && p.length > 0 && !g && (m == null || m(0), d == null || d(p[0].id));
14628
14628
  }, [p]), useEffect(() => {
@@ -14662,13 +14662,13 @@ const transformPlainMany2Ones = ({
14662
14662
  formIsLoading: k,
14663
14663
  setFormIsLoading: j,
14664
14664
  treeIsLoading: V,
14665
- setTreeIsLoading: H,
14665
+ setTreeIsLoading: Y,
14666
14666
  attachments: W,
14667
14667
  setAttachments: L,
14668
14668
  selectedRowItems: C,
14669
14669
  setSelectedRowItems: b,
14670
14670
  duplicatingItem: U,
14671
- setDuplicatingItem: Y,
14671
+ setDuplicatingItem: H,
14672
14672
  setSearchParams: B,
14673
14673
  searchParams: G,
14674
14674
  searchVisible: I,
@@ -14761,7 +14761,7 @@ const transformPlainMany2Ones = ({
14761
14761
  ids: j
14762
14762
  } = N || {};
14763
14763
  let V = j || [];
14764
- const H = typeof A == "string" ? parseContext({
14764
+ const Y = typeof A == "string" ? parseContext({
14765
14765
  context: A,
14766
14766
  fields: S,
14767
14767
  values: P
@@ -14774,7 +14774,7 @@ const transformPlainMany2Ones = ({
14774
14774
  ids: V,
14775
14775
  context: {
14776
14776
  ...M,
14777
- ...H
14777
+ ...Y
14778
14778
  }
14779
14779
  });
14780
14780
  u(!0), o.current = !0, a.current = setInterval(() => {
@@ -14870,34 +14870,21 @@ const transformPlainMany2Ones = ({
14870
14870
  context: O
14871
14871
  }), {};
14872
14872
  } else {
14873
- let k;
14874
- const j = M.view_mode.split(","), V = [];
14875
- for (const H of j) {
14876
- const W = await ConnectionProvider.getHandler().getView({
14877
- model: M.res_model,
14878
- type: H,
14879
- context: O
14880
- });
14881
- V.push([W.view_id, H]);
14882
- }
14883
- if (M.view_id)
14884
- k = {
14885
- id: M.view_id,
14886
- type: M.view_mode.split(",")[0]
14887
- };
14888
- else {
14889
- const H = M.view_mode.split(",")[0], [W] = V.find(([L, U]) => U === H);
14890
- k = {
14891
- id: W,
14892
- type: H
14893
- };
14894
- }
14873
+ const {
14874
+ initialView: k,
14875
+ views: j
14876
+ } = await getViewsAndInitialView({
14877
+ model: M.res_model,
14878
+ context: O,
14879
+ view_mode: M.view_mode,
14880
+ views: M.views
14881
+ });
14895
14882
  return c == null || c({
14896
14883
  target: "current",
14897
14884
  context: O,
14898
14885
  domain: N,
14899
14886
  model: M.res_model,
14900
- views: V,
14887
+ views: j,
14901
14888
  title: M.name,
14902
14889
  initialView: k,
14903
14890
  action_id: M.id,
@@ -14997,7 +14984,61 @@ const transformPlainMany2Ones = ({
14997
14984
  })
14998
14985
  })
14999
14986
  });
15000
- }, ContentRootProvider$1 = forwardRef(ContentRootProvider), ErrorAlert = ({
14987
+ };
14988
+ async function getViewsAndInitialView({
14989
+ views: e,
14990
+ view_mode: t,
14991
+ model: r,
14992
+ context: n,
14993
+ view_id: a
14994
+ }) {
14995
+ const o = [];
14996
+ let s;
14997
+ if (e)
14998
+ for (const u of e) {
14999
+ const l = await ConnectionProvider.getHandler().getView({
15000
+ model: r,
15001
+ type: u[1],
15002
+ id: u[0],
15003
+ context: n
15004
+ });
15005
+ o.push([l.view_id, u[1]]);
15006
+ }
15007
+ else {
15008
+ const u = t.split(",");
15009
+ for (const l of u) {
15010
+ const c = await ConnectionProvider.getHandler().getView({
15011
+ model: r,
15012
+ type: l,
15013
+ context: n
15014
+ });
15015
+ o.push([c.view_id, l]);
15016
+ }
15017
+ }
15018
+ if (e && e.length > 0) {
15019
+ const [u, l] = e[0];
15020
+ s = {
15021
+ id: u,
15022
+ type: l
15023
+ };
15024
+ } else if (a)
15025
+ s = {
15026
+ id: a,
15027
+ type: t.split(",")[0]
15028
+ };
15029
+ else {
15030
+ const u = t.split(",")[0], [l] = e.find(([c, d]) => d === u);
15031
+ s = {
15032
+ id: l,
15033
+ type: u
15034
+ };
15035
+ }
15036
+ return {
15037
+ views: o,
15038
+ initialView: s
15039
+ };
15040
+ }
15041
+ const ContentRootProvider$1 = forwardRef(ContentRootProvider), ErrorAlert = ({
15001
15042
  error: e,
15002
15043
  className: t
15003
15044
  }) => {
@@ -15048,7 +15089,7 @@ function Form(e, t) {
15048
15089
  } = e, {
15049
15090
  t: D,
15050
15091
  lang: $
15051
- } = useContext(LocaleContext), [S, P] = useState$1(!1), [M, A] = useState$1(), [O, N] = useState$1(), [F] = Form$3.useForm(), [k, j] = useState$1(), [V, H] = useState$1(), W = useContext(FormModalContext), [L, U] = useState$1(), [Y, G] = useState$1(!1), B = useRef(), I = useRef({}), q = useRef({}), K = useRef(!1), Q = useRef(!1), X = L < WIDTH_BREAKPOINT, E = useContext(FormContext$2), {
15092
+ } = useContext(LocaleContext), [S, P] = useState$1(!1), [M, A] = useState$1(), [O, N] = useState$1(), [F] = Form$3.useForm(), [k, j] = useState$1(), [V, Y] = useState$1(), W = useContext(FormModalContext), [L, U] = useState$1(), [H, G] = useState$1(!1), B = useRef(), I = useRef({}), q = useRef({}), K = useRef(!1), Q = useRef(!1), X = L < WIDTH_BREAKPOINT, E = useContext(FormContext$2), {
15052
15093
  activeId: T,
15053
15094
  getPlainValues: z
15054
15095
  } = E || {}, Z = useContext(ActionViewContext), {
@@ -15083,10 +15124,10 @@ function Form(e, t) {
15083
15124
  (n === void 0 && V || n !== void 0 && V && n < 0) && (B.current = void 0, N(void 0)), Ve();
15084
15125
  }
15085
15126
  }, [n, r, g, m, _]), useEffect(() => {
15086
- Y && (Qe({
15127
+ H && (Qe({
15087
15128
  elementHasLostFocus: !0
15088
15129
  }), G(!1));
15089
- }, [Y]);
15130
+ }, [H]);
15090
15131
  const ue = (ae, ne, ce) => {
15091
15132
  J == null || J(!1), ee == null || ee(!1), o == null || o(ae, ne, ce), te == null || te(ae);
15092
15133
  }, he = () => {
@@ -15187,7 +15228,7 @@ function Form(e, t) {
15187
15228
  fields: ne,
15188
15229
  arch: ce
15189
15230
  } = ae;
15190
- H(ne), j(ce), await Ie({
15231
+ Y(ne), j(ce), await Ie({
15191
15232
  fields: ne,
15192
15233
  arch: ce
15193
15234
  });
@@ -15461,7 +15502,7 @@ function Form(e, t) {
15461
15502
  fields: Oe,
15462
15503
  arch: k,
15463
15504
  values: de(Oe)
15464
- }), H(Oe);
15505
+ }), Y(Oe);
15465
15506
  }
15466
15507
  };
15467
15508
  async function ft({
@@ -19211,20 +19252,20 @@ function Tree(e) {
19211
19252
  }));
19212
19253
  if (!U || U.length === 0)
19213
19254
  return null;
19214
- let Y = [], G = ((B = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : B.length) > 0 ? _.filter((I) => d == null ? void 0 : d.selectedRowKeys.includes(I.id)) : _;
19255
+ let H = [], G = ((B = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : B.length) > 0 ? _.filter((I) => d == null ? void 0 : d.selectedRowKeys.includes(I.id)) : _;
19215
19256
  return U.forEach((I) => {
19216
19257
  const q = G.reduce((K, Q) => Q[I.field] && !isNaN(Q[I.field]) ? K + Q[I.field] : K, 0);
19217
- Y.push(`${I.label}: ${Math.round(q * 100) / 100}`);
19258
+ H.push(`${I.label}: ${Math.round(q * 100) / 100}`);
19218
19259
  }), /* @__PURE__ */ jsx("div", {
19219
19260
  className: "p-1 pb-0 pl-2 mt-2 bg-gray-50",
19220
- children: Y.join(", ")
19261
+ children: H.join(", ")
19221
19262
  });
19222
19263
  }
19223
- let H, W = f;
19264
+ let Y, W = f;
19224
19265
  if ($.current !== null) {
19225
- H = calculateColumnsWidth(C, _, 600);
19266
+ Y = calculateColumnsWidth(C, _, 600);
19226
19267
  const U = $.current;
19227
- f && U.columns.some((Y) => Y.sum !== void 0) && (W = f - 30);
19268
+ f && U.columns.some((H) => H.sum !== void 0) && (W = f - 30);
19228
19269
  }
19229
19270
  return $.current === null ? /* @__PURE__ */ jsx(Spin, {
19230
19271
  style: {
@@ -19233,7 +19274,7 @@ function Tree(e) {
19233
19274
  }) : /* @__PURE__ */ jsxs("div", {
19234
19275
  children: [j(), /* @__PURE__ */ jsx(Table, {
19235
19276
  height: W,
19236
- columns: H.columns,
19277
+ columns: Y.columns,
19237
19278
  dataSource: _,
19238
19279
  loading: u,
19239
19280
  loadingComponent: /* @__PURE__ */ jsx(Spin, {}),
@@ -19277,11 +19318,11 @@ function SearchTree(e, t) {
19277
19318
  } = N || {}, k = useContext(ActionViewContext), {
19278
19319
  setResults: j = void 0,
19279
19320
  setCurrentItemIndex: V = void 0,
19280
- currentId: H = void 0,
19321
+ currentId: Y = void 0,
19281
19322
  results: W = void 0,
19282
19323
  selectedRowItems: L = void 0,
19283
19324
  setSelectedRowItems: U = void 0,
19284
- searchParams: Y = [],
19325
+ searchParams: H = [],
19285
19326
  setSearchParams: G = void 0,
19286
19327
  searchVisible: B = !0,
19287
19328
  setSearchVisible: I = void 0,
@@ -19315,7 +19356,7 @@ function SearchTree(e, t) {
19315
19356
  setSelectedRowItems: U,
19316
19357
  setSearchParams: G,
19317
19358
  setSearchValues: z,
19318
- searchParams: Y,
19359
+ searchParams: H,
19319
19360
  setSearchVisible: I,
19320
19361
  setTreeIsLoading: E,
19321
19362
  nameSearch: s,
@@ -19329,7 +19370,7 @@ function SearchTree(e, t) {
19329
19370
  setResultsActionView: j,
19330
19371
  resultsActionView: W,
19331
19372
  domain: l,
19332
- currentId: H,
19373
+ currentId: Y,
19333
19374
  setActionViewTotalItems: Q,
19334
19375
  limit: Z,
19335
19376
  setLimit: ee
@@ -19615,7 +19656,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19615
19656
  }, [t]);
19616
19657
  const V = (I) => {
19617
19658
  r == null || r(I), A == null || A();
19618
- }, H = (I) => {
19659
+ }, Y = (I) => {
19619
19660
  w.current = I.target.value, V([void 0, ""]);
19620
19661
  }, W = async () => {
19621
19662
  if (!y && b !== j) {
@@ -19645,7 +19686,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19645
19686
  }
19646
19687
  }
19647
19688
  }, L = async (I) => {
19648
- if (await Y(), O.current && O.current.length > 0) {
19689
+ if (await H(), O.current && O.current.length > 0) {
19649
19690
  const q = await ConnectionProvider.getHandler().searchAllIds({
19650
19691
  params: O.current,
19651
19692
  model: o,
@@ -19678,7 +19719,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19678
19719
  x(!1);
19679
19720
  }
19680
19721
  };
19681
- async function Y() {
19722
+ async function H() {
19682
19723
  c && (O.current = await ConnectionProvider.getHandler().evalDomain({
19683
19724
  domain: c,
19684
19725
  values: transformPlainMany2Ones({
@@ -19704,7 +19745,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
19704
19745
  type: "text",
19705
19746
  value: b,
19706
19747
  disabled: s,
19707
- onChange: H,
19748
+ onChange: Y,
19708
19749
  className: d,
19709
19750
  onBlur: W,
19710
19751
  onKeyDown: G,
@@ -21570,9 +21611,9 @@ var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
21570
21611
  function F() {
21571
21612
  l && N(g());
21572
21613
  }
21573
- var k = useVisibleStatus(r, F), j = _slicedToArray(k, 2), V = j[0], H = j[1], W = useState$1(0), L = _slicedToArray(W, 2), U = L[0], Y = L[1], G = useRef();
21614
+ var k = useVisibleStatus(r, F), j = _slicedToArray(k, 2), V = j[0], Y = j[1], W = useState$1(0), L = _slicedToArray(W, 2), U = L[0], H = L[1], G = useRef();
21574
21615
  useLayoutEffect$2(function() {
21575
- V === "alignPre" && Y(0);
21616
+ V === "alignPre" && H(0);
21576
21617
  }, [V]);
21577
21618
  function B() {
21578
21619
  return p || g;
@@ -21583,12 +21624,12 @@ var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
21583
21624
  }
21584
21625
  function q(z, Z) {
21585
21626
  var ee = m(Z);
21586
- S !== ee && P(ee), Y(function(J) {
21627
+ S !== ee && P(ee), H(function(J) {
21587
21628
  return J + 1;
21588
21629
  }), V === "align" && (y == null || y(z, Z));
21589
21630
  }
21590
21631
  useLayoutEffect$2(function() {
21591
- V === "align" && (U < 3 ? I() : H(function() {
21632
+ V === "align" && (U < 3 ? I() : Y(function() {
21592
21633
  var z;
21593
21634
  (z = G.current) === null || z === void 0 || z.call(G);
21594
21635
  }));
@@ -21597,7 +21638,7 @@ var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
21597
21638
  ["onAppearEnd", "onEnterEnd", "onLeaveEnd"].forEach(function(z) {
21598
21639
  var Z = K[z];
21599
21640
  K[z] = function(ee, J) {
21600
- return H(), Z == null ? void 0 : Z(ee, J);
21641
+ return Y(), Z == null ? void 0 : Z(ee, J);
21601
21642
  };
21602
21643
  });
21603
21644
  function Q() {
@@ -21606,7 +21647,7 @@ var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
21606
21647
  });
21607
21648
  }
21608
21649
  React$n.useEffect(function() {
21609
- !K.motionName && V === "motion" && H();
21650
+ !K.motionName && V === "motion" && Y();
21610
21651
  }, [K.motionName, V]), React$n.useImperativeHandle(t, function() {
21611
21652
  return {
21612
21653
  forceAlign: I,
@@ -22155,7 +22196,7 @@ var Tooltip = function e(t, r) {
22155
22196
  });
22156
22197
  var V = _objectSpread2$g({}, k);
22157
22198
  "visible" in t && (V.popupVisible = t.visible);
22158
- var H = function() {
22199
+ var Y = function() {
22159
22200
  return /* @__PURE__ */ jsx(Popup, {
22160
22201
  showArrow: F,
22161
22202
  arrowContent: A,
@@ -22174,7 +22215,7 @@ var Tooltip = function e(t, r) {
22174
22215
  return /* @__PURE__ */ jsx(Trigger, {
22175
22216
  popupClassName: n,
22176
22217
  prefixCls: p,
22177
- popup: H,
22218
+ popup: Y,
22178
22219
  action: o,
22179
22220
  builtinPlacements: placements$3,
22180
22221
  popupPlacement: b,
@@ -22476,14 +22517,14 @@ placements$1.default = _default$1;
22476
22517
  }, V = function(me) {
22477
22518
  var oe, ye;
22478
22519
  k(j() ? !1 : me), j() || ((oe = w.onOpenChange) === null || oe === void 0 || oe.call(w, me), (ye = w.onVisibleChange) === null || ye === void 0 || ye.call(w, me));
22479
- }, H = function() {
22520
+ }, Y = function() {
22480
22521
  var me = w.builtinPlacements, oe = w.arrowPointAtCenter, ye = oe === void 0 ? !1 : oe, $e = w.autoAdjustOverflow, Me = $e === void 0 ? !0 : $e;
22481
22522
  return me || (0, g.default)({
22482
22523
  arrowPointAtCenter: ye,
22483
22524
  autoAdjustOverflow: Me
22484
22525
  });
22485
22526
  }, W = function(me, oe) {
22486
- var ye = H(), $e = Object.keys(ye).find(function(ke) {
22527
+ var ye = Y(), $e = Object.keys(ye).find(function(ke) {
22487
22528
  var le, pe;
22488
22529
  return ye[ke].points[0] === ((le = oe.points) === null || le === void 0 ? void 0 : le[0]) && ye[ke].points[1] === ((pe = oe.points) === null || pe === void 0 ? void 0 : pe[1]);
22489
22530
  });
@@ -22497,7 +22538,7 @@ placements$1.default = _default$1;
22497
22538
  }, L = function() {
22498
22539
  var me = w.title, oe = w.overlay;
22499
22540
  return me === 0 ? me : oe || me || "";
22500
- }, U = w.getPopupContainer, Y = w.placement, G = Y === void 0 ? "top" : Y, B = w.mouseEnterDelay, I = B === void 0 ? 0.1 : B, q = w.mouseLeaveDelay, K = q === void 0 ? 0.1 : q, Q = x(w, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay"]), X = w.prefixCls, E = w.openClassName, T = w.getTooltipContainer, z = w.overlayClassName, Z = w.color, ee = w.overlayInnerStyle, J = w.children, te = M("tooltip", X), re = M(), se = F;
22541
+ }, U = w.getPopupContainer, H = w.placement, G = H === void 0 ? "top" : H, B = w.mouseEnterDelay, I = B === void 0 ? 0.1 : B, q = w.mouseLeaveDelay, K = q === void 0 ? 0.1 : q, Q = x(w, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay"]), X = w.prefixCls, E = w.openClassName, T = w.getTooltipContainer, z = w.overlayClassName, Z = w.color, ee = w.overlayInnerStyle, J = w.children, te = M("tooltip", X), re = M(), se = F;
22501
22542
  !("open" in w) && !("visible" in w) && j() && (se = !1);
22502
22543
  var _e = _((0, m.isValidElement)(J) && !(0, m.isFragment)(J) ? J : /* @__PURE__ */ c.createElement("span", null, J), te), be = _e.props, Se = !be.className || typeof be.className == "string" ? (0, s.default)(be.className, (0, n.default)({}, E || "".concat(te, "-open"), !0)) : be.className, ie = (0, s.default)(z, ($ = {}, (0, n.default)($, "".concat(te, "-rtl"), A === "rtl"), (0, n.default)($, "".concat(te, "-").concat(Z), Z && v.test(Z)), $)), ge = ee, ue = {};
22503
22544
  return Z && !v.test(Z) && (ge = (0, o.default)((0, o.default)({}, ee), {
@@ -22512,7 +22553,7 @@ placements$1.default = _default$1;
22512
22553
  overlayClassName: ie,
22513
22554
  getTooltipContainer: U || T || P,
22514
22555
  ref: D,
22515
- builtinPlacements: H(),
22556
+ builtinPlacements: Y(),
22516
22557
  overlay: L(),
22517
22558
  visible: se,
22518
22559
  onVisibleChange: V,
@@ -22573,7 +22614,7 @@ EnterOutlined$2.default = _default;
22573
22614
  value: !0
22574
22615
  }), e.default = void 0;
22575
22616
  var n = r(defineProperty.exports), a = r(slicedToArray.exports), o = r(EnterOutlined$3.exports), s = r(classnames.exports), u = r(KeyCode$1), l = t(React__default), c = r(TextArea$3), d = reactNode, f = function(m) {
22576
- var y = m.prefixCls, x = m["aria-label"], h = m.className, v = m.style, _ = m.direction, b = m.maxLength, C = m.autoSize, w = C === void 0 ? !0 : C, D = m.value, $ = m.onSave, S = m.onCancel, P = m.onEnd, M = m.component, A = m.enterIcon, O = A === void 0 ? /* @__PURE__ */ l.createElement(o.default, null) : A, N = l.useRef(null), F = l.useRef(!1), k = l.useRef(), j = l.useState(D), V = (0, a.default)(j, 2), H = V[0], W = V[1];
22617
+ var y = m.prefixCls, x = m["aria-label"], h = m.className, v = m.style, _ = m.direction, b = m.maxLength, C = m.autoSize, w = C === void 0 ? !0 : C, D = m.value, $ = m.onSave, S = m.onCancel, P = m.onEnd, M = m.component, A = m.enterIcon, O = A === void 0 ? /* @__PURE__ */ l.createElement(o.default, null) : A, N = l.useRef(null), F = l.useRef(!1), k = l.useRef(), j = l.useState(D), V = (0, a.default)(j, 2), Y = V[0], W = V[1];
22577
22618
  l.useEffect(function() {
22578
22619
  W(D);
22579
22620
  }, [D]), l.useEffect(function() {
@@ -22589,13 +22630,13 @@ EnterOutlined$2.default = _default;
22589
22630
  W(T.value.replace(/[\n\r]/g, ""));
22590
22631
  }, U = function() {
22591
22632
  F.current = !0;
22592
- }, Y = function() {
22633
+ }, H = function() {
22593
22634
  F.current = !1;
22594
22635
  }, G = function(E) {
22595
22636
  var T = E.keyCode;
22596
22637
  F.current || (k.current = T);
22597
22638
  }, B = function() {
22598
- $(H.trim());
22639
+ $(Y.trim());
22599
22640
  }, I = function(E) {
22600
22641
  var T = E.keyCode, z = E.ctrlKey, Z = E.altKey, ee = E.metaKey, J = E.shiftKey;
22601
22642
  k.current === T && !F.current && !z && !Z && !ee && !J && (T === u.default.ENTER ? (B(), P == null || P()) : T === u.default.ESC && S());
@@ -22608,12 +22649,12 @@ EnterOutlined$2.default = _default;
22608
22649
  }, /* @__PURE__ */ l.createElement(c.default, {
22609
22650
  ref: N,
22610
22651
  maxLength: b,
22611
- value: H,
22652
+ value: Y,
22612
22653
  onChange: L,
22613
22654
  onKeyDown: G,
22614
22655
  onKeyUp: I,
22615
22656
  onCompositionStart: U,
22616
- onCompositionEnd: Y,
22657
+ onCompositionEnd: H,
22617
22658
  onBlur: q,
22618
22659
  "aria-label": x,
22619
22660
  rows: 1,
@@ -22710,7 +22751,7 @@ var Ellipsis = {};
22710
22751
  return _;
22711
22752
  }
22712
22753
  var p = 0, g = 1, m = 2, y = 3, x = 4, h = function(b) {
22713
- var C = b.enabledMeasure, w = b.children, D = b.text, $ = b.width, S = b.fontSize, P = b.rows, M = b.onEllipsis, A = l.useState([0, 0, 0]), O = (0, a.default)(A, 2), N = (0, a.default)(O[0], 3), F = N[0], k = N[1], j = N[2], V = O[1], H = l.useState(p), W = (0, a.default)(H, 2), L = W[0], U = W[1], Y = l.useState(0), G = (0, a.default)(Y, 2), B = G[0], I = G[1], q = l.useRef(null), K = l.useRef(null), Q = l.useMemo(function() {
22754
+ var C = b.enabledMeasure, w = b.children, D = b.text, $ = b.width, S = b.fontSize, P = b.rows, M = b.onEllipsis, A = l.useState([0, 0, 0]), O = (0, a.default)(A, 2), N = (0, a.default)(O[0], 3), F = N[0], k = N[1], j = N[2], V = O[1], Y = l.useState(p), W = (0, a.default)(Y, 2), L = W[0], U = W[1], H = l.useState(0), G = (0, a.default)(H, 2), B = G[0], I = G[1], q = l.useRef(null), K = l.useRef(null), Q = l.useMemo(function() {
22714
22755
  return (0, s.default)(D);
22715
22756
  }, [D]), X = l.useMemo(function() {
22716
22757
  return d(Q);
@@ -22793,29 +22834,29 @@ var EllipsisTooltip = {};
22793
22834
  value: !0
22794
22835
  }), e.default = void 0;
22795
22836
  var n = r(defineProperty.exports), a = r(_extends$1.exports), o = r(_typeof$3.exports), s = r(slicedToArray.exports), u = r(CheckOutlined$3.exports), l = r(CopyOutlined$3.exports), c = r(EditOutlined$3.exports), d = r(classnames.exports), f = r(copyToClipboard), p = r(require$$11), g = r(toArray$2), m = r(useLayoutEffect$1), y = r(useMergedState$1), x = r(omit$2), h = ref, v = t(React__default), _ = requireConfigProvider(), b = LocaleReceiver, C = r(transButton), w = styleChecker$1, D = r(tooltip), $ = r(Editable), S = r(useMergedConfig), P = r(useUpdatedEffect), M = r(Typography), A = r(Ellipsis), O = r(EllipsisTooltip), N = function(L, U) {
22796
- var Y = {};
22837
+ var H = {};
22797
22838
  for (var G in L)
22798
- Object.prototype.hasOwnProperty.call(L, G) && U.indexOf(G) < 0 && (Y[G] = L[G]);
22839
+ Object.prototype.hasOwnProperty.call(L, G) && U.indexOf(G) < 0 && (H[G] = L[G]);
22799
22840
  if (L != null && typeof Object.getOwnPropertySymbols == "function")
22800
22841
  for (var B = 0, G = Object.getOwnPropertySymbols(L); B < G.length; B++)
22801
- U.indexOf(G[B]) < 0 && Object.prototype.propertyIsEnumerable.call(L, G[B]) && (Y[G[B]] = L[G[B]]);
22802
- return Y;
22842
+ U.indexOf(G[B]) < 0 && Object.prototype.propertyIsEnumerable.call(L, G[B]) && (H[G[B]] = L[G[B]]);
22843
+ return H;
22803
22844
  };
22804
22845
  function F(L, U) {
22805
- var Y = L.mark, G = L.code, B = L.underline, I = L.delete, q = L.strong, K = L.keyboard, Q = L.italic, X = U;
22846
+ var H = L.mark, G = L.code, B = L.underline, I = L.delete, q = L.strong, K = L.keyboard, Q = L.italic, X = U;
22806
22847
  function E(T, z) {
22807
22848
  !T || (X = /* @__PURE__ */ v.createElement(z, {}, X));
22808
22849
  }
22809
- return E(q, "strong"), E(B, "u"), E(I, "del"), E(G, "code"), E(Y, "mark"), E(K, "kbd"), E(Q, "i"), X;
22850
+ return E(q, "strong"), E(B, "u"), E(I, "del"), E(G, "code"), E(H, "mark"), E(K, "kbd"), E(Q, "i"), X;
22810
22851
  }
22811
- function k(L, U, Y) {
22812
- return L === !0 || L === void 0 ? U : L || Y && U;
22852
+ function k(L, U, H) {
22853
+ return L === !0 || L === void 0 ? U : L || H && U;
22813
22854
  }
22814
22855
  function j(L) {
22815
22856
  return L === !1 ? [!1, !1] : Array.isArray(L) ? L : [L];
22816
22857
  }
22817
- var V = "...", H = /* @__PURE__ */ v.forwardRef(function(L, U) {
22818
- var Y, G, B, I = L.prefixCls, q = L.className, K = L.style, Q = L.type, X = L.disabled, E = L.children, T = L.ellipsis, z = L.editable, Z = L.copyable, ee = L.component, J = L.title, te = N(L, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), re = v.useContext(_.ConfigContext), se = re.getPrefixCls, _e = re.direction, be = (0, b.useLocaleReceiver)("Text")[0], Se = v.useRef(null), ie = v.useRef(null), ge = se("typography", I), ue = (0, x.default)(te, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), he = (0, S.default)(z), me = (0, s.default)(he, 2), oe = me[0], ye = me[1], $e = (0, y.default)(!1, {
22858
+ var V = "...", Y = /* @__PURE__ */ v.forwardRef(function(L, U) {
22859
+ var H, G, B, I = L.prefixCls, q = L.className, K = L.style, Q = L.type, X = L.disabled, E = L.children, T = L.ellipsis, z = L.editable, Z = L.copyable, ee = L.component, J = L.title, te = N(L, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), re = v.useContext(_.ConfigContext), se = re.getPrefixCls, _e = re.direction, be = (0, b.useLocaleReceiver)("Text")[0], Se = v.useRef(null), ie = v.useRef(null), ge = se("typography", I), ue = (0, x.default)(te, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), he = (0, S.default)(z), me = (0, s.default)(he, 2), oe = me[0], ye = me[1], $e = (0, y.default)(!1, {
22819
22860
  value: ye.editing
22820
22861
  }), Me = (0, s.default)($e, 2), Ee = Me[0], ke = Me[1], le = ye.triggerType, pe = le === void 0 ? ["icon"] : le, Ce = function(ve) {
22821
22862
  var Te;
@@ -22885,7 +22926,7 @@ var EllipsisTooltip = {};
22885
22926
  }, [He, Be]);
22886
22927
  var Ge = {};
22887
22928
  Ne.tooltip === !0 ? Ge = {
22888
- title: (Y = ye.text) !== null && Y !== void 0 ? Y : E
22929
+ title: (H = ye.text) !== null && H !== void 0 ? H : E
22889
22930
  } : /* @__PURE__ */ v.isValidElement(Ne.tooltip) ? Ge = {
22890
22931
  title: Ne.tooltip
22891
22932
  } : (0, o.default)(Ne.tooltip) === "object" ? Ge = (0, a.default)({
@@ -23007,7 +23048,7 @@ var EllipsisTooltip = {};
23007
23048
  return rt;
23008
23049
  })));
23009
23050
  });
23010
- }), W = H;
23051
+ }), W = Y;
23011
23052
  e.default = W;
23012
23053
  })(Base);
23013
23054
  (function(e) {
@@ -23061,13 +23102,13 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23061
23102
  domain: j
23062
23103
  });
23063
23104
  if (c && d) {
23064
- const H = f || await ConnectionProvider.getHandler().searchAllIds({
23105
+ const Y = f || await ConnectionProvider.getHandler().searchAllIds({
23065
23106
  params: j,
23066
23107
  model: t,
23067
23108
  context: n
23068
23109
  }), W = await ConnectionProvider.getHandler().readObjects({
23069
23110
  model: t,
23070
- ids: H,
23111
+ ids: Y,
23071
23112
  fieldsToRetrieve: [c],
23072
23113
  context: n
23073
23114
  });
@@ -23090,14 +23131,14 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23090
23131
  params: j,
23091
23132
  model: t,
23092
23133
  context: n
23093
- }), H = await ConnectionProvider.getHandler().readObjects({
23134
+ }), Y = await ConnectionProvider.getHandler().readObjects({
23094
23135
  model: t,
23095
23136
  ids: V,
23096
23137
  fieldsToRetrieve: [c],
23097
23138
  context: n
23098
23139
  });
23099
23140
  return getValueForOperator({
23100
- values: H.map((W) => W[c]),
23141
+ values: Y.map((W) => W[c]),
23101
23142
  operator: d
23102
23143
  });
23103
23144
  } else
@@ -23111,11 +23152,11 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23111
23152
  g(!0);
23112
23153
  let j, V;
23113
23154
  try {
23114
- const H = await N({
23155
+ const Y = await N({
23115
23156
  domain: r,
23116
23157
  isTotal: !1
23117
23158
  });
23118
- if (y(H), o) {
23159
+ if (y(Y), o) {
23119
23160
  const W = await ConnectionProvider.getHandler().evalDomain({
23120
23161
  domain: o,
23121
23162
  values: {},
@@ -23126,11 +23167,11 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23126
23167
  isTotal: !0
23127
23168
  }), _(j);
23128
23169
  }
23129
- if (j ? (V = Math.round(H / j * 100 * 100) / 100, h(V)) : h(0), a) {
23170
+ if (j ? (V = Math.round(Y / j * 100 * 100) / 100, h(V)) : h(0), a) {
23130
23171
  const W = await ConnectionProvider.getHandler().parseCondition({
23131
23172
  condition: a,
23132
23173
  values: {
23133
- value: H,
23174
+ value: Y,
23134
23175
  percent: V
23135
23176
  },
23136
23177
  context: n
@@ -23142,7 +23183,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23142
23183
  const W = await ConnectionProvider.getHandler().parseCondition({
23143
23184
  condition: u,
23144
23185
  values: {
23145
- value: H,
23186
+ value: Y,
23146
23187
  percent: V
23147
23188
  },
23148
23189
  context: n
@@ -23150,8 +23191,8 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23150
23191
  M(W);
23151
23192
  } else
23152
23193
  M(u);
23153
- } catch (H) {
23154
- O(JSON.stringify(H));
23194
+ } catch (Y) {
23195
+ O(JSON.stringify(Y));
23155
23196
  }
23156
23197
  g(!1);
23157
23198
  }
@@ -23172,8 +23213,8 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
23172
23213
  }) : /* @__PURE__ */ jsx(Measure, {
23173
23214
  bounds: !0,
23174
23215
  onResize: (j) => {
23175
- var V, H;
23176
- C((V = j.bounds) == null ? void 0 : V.height), D((H = j.bounds) == null ? void 0 : H.width);
23216
+ var V, Y;
23217
+ C((V = j.bounds) == null ? void 0 : V.height), D((Y = j.bounds) == null ? void 0 : Y.width);
23177
23218
  },
23178
23219
  children: ({
23179
23220
  measureRef: j
@@ -23287,13 +23328,12 @@ function PercentageIndicator({
23287
23328
  children: /* @__PURE__ */ jsxs(Row, {
23288
23329
  align: "middle",
23289
23330
  children: [y && /* @__PURE__ */ jsx(Col, {
23290
- children: /* @__PURE__ */ jsx(y, {
23291
- style: {
23292
- fontSize: d * 1,
23293
- color: s,
23294
- paddingRight: "10px"
23295
- }
23296
- })
23331
+ style: {
23332
+ fontSize: d * 1,
23333
+ color: s,
23334
+ paddingRight: "10px"
23335
+ },
23336
+ children: /* @__PURE__ */ jsx(y, {})
23297
23337
  }), /* @__PURE__ */ jsxs(Col, {
23298
23338
  children: [/* @__PURE__ */ jsx(Title$2, {
23299
23339
  style: {
@@ -23888,7 +23928,7 @@ const One2manyInput = (e) => {
23888
23928
  } = d || {}, {
23889
23929
  lang: x,
23890
23930
  t: h
23891
- } = useContext(LocaleContext), [v, _] = useState$1(!1), [b, C] = useState$1(!1), [w, D] = useState$1(), [$, S] = useState$1(!1), [P, M] = useState$1(!1), [A, O] = useState$1(), [N, F] = useState$1([]), [k, j] = useState$1(!1), V = useRef([]), [H, W] = useState$1(), L = useRef(), [U, Y] = useState$1(void 0), {
23931
+ } = useContext(LocaleContext), [v, _] = useState$1(!1), [b, C] = useState$1(!1), [w, D] = useState$1(), [$, S] = useState$1(!1), [P, M] = useState$1(!1), [A, O] = useState$1(), [N, F] = useState$1([]), [k, j] = useState$1(!1), V = useRef([]), [Y, W] = useState$1(), L = useRef(), [U, H] = useState$1(void 0), {
23892
23932
  readOnly: G,
23893
23933
  relation: B,
23894
23934
  context: I,
@@ -23937,7 +23977,7 @@ const One2manyInput = (e) => {
23937
23977
  },
23938
23978
  currentView: le || s
23939
23979
  });
23940
- return L.current || (L.current = xe.map((Ae) => Ae.id)), (s || le) === "tree" && we && Y(we), z(xe), xe;
23980
+ return L.current || (L.current = xe.map((Ae) => Ae.id)), (s || le) === "tree" && we && H(we), z(xe), xe;
23941
23981
  } catch (xe) {
23942
23982
  D(xe);
23943
23983
  } finally {
@@ -24184,9 +24224,9 @@ const One2manyInput = (e) => {
24184
24224
  readOnly: G
24185
24225
  });
24186
24226
  let le = [];
24187
- if (X.some((we) => we.treeValues) && (le = H ? sortResults({
24227
+ if (X.some((we) => we.treeValues) && (le = Y ? sortResults({
24188
24228
  resultsToSort: X.map((we) => we.treeValues),
24189
- sorter: H,
24229
+ sorter: Y,
24190
24230
  fields: {
24191
24231
  ...a.get("tree").fields,
24192
24232
  ...((de = a.get("form")) == null ? void 0 : de.fields) || {}
@@ -24204,7 +24244,7 @@ const One2manyInput = (e) => {
24204
24244
  selectedRowKeys: N,
24205
24245
  onChange: F
24206
24246
  },
24207
- sorter: H,
24247
+ sorter: Y,
24208
24248
  onChangeSort: W,
24209
24249
  context: {
24210
24250
  ...m == null ? void 0 : m(),
@@ -25071,7 +25111,7 @@ function ChangeViewButton(e) {
25071
25111
  style: {
25072
25112
  paddingRight: 20
25073
25113
  },
25074
- children: g.type === "graph" ? g.name : g.type.charAt(0).toUpperCase() + g.type.slice(1)
25114
+ children: g.type.charAt(0).toUpperCase() + g.type.slice(1)
25075
25115
  }), /* @__PURE__ */ jsx(Col, {
25076
25116
  flex: "none",
25077
25117
  children: /* @__PURE__ */ jsx(CheckOutlined$4, {
@@ -25506,7 +25546,7 @@ function FormActionBar({
25506
25546
  function V() {
25507
25547
  l && l.length > d + 1 ? (c == null || c(d + 1), f == null || f(l[d + 1].id)) : l && d + 1 === l.length && (c == null || c(0), f == null || f(l[0].id));
25508
25548
  }
25509
- function H() {
25549
+ function Y() {
25510
25550
  l && d > 0 ? (c == null || c(d - 1), f == null || f(l[d - 1].id)) : l && d === 0 && (c == null || c(l.length - 1), f == null || f(l[l.length - 1].id));
25511
25551
  }
25512
25552
  function W() {
@@ -25549,7 +25589,7 @@ function FormActionBar({
25549
25589
  x == null || x(!1);
25550
25590
  }
25551
25591
  }
25552
- const Y = s || m || v || y;
25592
+ const H = s || m || v || y;
25553
25593
  function G(B) {
25554
25594
  A == null || A({
25555
25595
  actionData: B,
@@ -25570,7 +25610,7 @@ function FormActionBar({
25570
25610
  }), /* @__PURE__ */ jsx(ActionButton, {
25571
25611
  icon: /* @__PURE__ */ jsx(SaveOutlined, {}),
25572
25612
  tooltip: S("save"),
25573
- disabled: !o || Y,
25613
+ disabled: !o || H,
25574
25614
  loading: s,
25575
25615
  onClick: a
25576
25616
  }), /* @__PURE__ */ jsx(ActionButton, {
@@ -25610,21 +25650,21 @@ function FormActionBar({
25610
25650
  onChangeView: (B) => {
25611
25651
  D == null || D(r), C == null || C(!1), n == null || n(B);
25612
25652
  },
25613
- disabled: Y,
25653
+ disabled: H,
25614
25654
  formHasChanges: o
25615
25655
  }), separator$2(), /* @__PURE__ */ jsxs(Space, {
25616
25656
  children: [/* @__PURE__ */ jsx(ActionButton, {
25617
25657
  icon: /* @__PURE__ */ jsx(LeftOutlined, {}),
25618
25658
  tooltip: S("previous"),
25619
- disabled: Y,
25659
+ disabled: H,
25620
25660
  loading: !1,
25621
25661
  onClick: () => {
25622
- j(H);
25662
+ j(Y);
25623
25663
  }
25624
25664
  }), /* @__PURE__ */ jsx(ActionButton, {
25625
25665
  icon: /* @__PURE__ */ jsx(RightOutlined, {}),
25626
25666
  tooltip: S("next"),
25627
- disabled: Y,
25667
+ disabled: H,
25628
25668
  loading: !1,
25629
25669
  onClick: () => {
25630
25670
  j(V);
@@ -25632,7 +25672,7 @@ function FormActionBar({
25632
25672
  })]
25633
25673
  }), separator$2(), /* @__PURE__ */ jsx(DropdownButton, {
25634
25674
  icon: /* @__PURE__ */ jsx(ThunderboltOutlined, {}),
25635
- disabled: Y,
25675
+ disabled: H,
25636
25676
  tooltip: S("actions"),
25637
25677
  items: e == null ? void 0 : e.action,
25638
25678
  onItemClick: async (B) => {
@@ -25642,7 +25682,7 @@ function FormActionBar({
25642
25682
  }
25643
25683
  }), /* @__PURE__ */ jsx(DropdownButton, {
25644
25684
  icon: /* @__PURE__ */ jsx(PrinterOutlined, {}),
25645
- disabled: Y,
25685
+ disabled: H,
25646
25686
  tooltip: S("reports"),
25647
25687
  items: e == null ? void 0 : e.print,
25648
25688
  onItemClick: async (B) => {
@@ -25661,7 +25701,7 @@ function FormActionBar({
25661
25701
  }
25662
25702
  }), /* @__PURE__ */ jsx(DropdownButton, {
25663
25703
  icon: /* @__PURE__ */ jsx(EnterOutlined$4, {}),
25664
- disabled: Y,
25704
+ disabled: H,
25665
25705
  tooltip: S("related"),
25666
25706
  items: e == null ? void 0 : e.relate,
25667
25707
  onItemClick: async (B) => {
@@ -25676,7 +25716,7 @@ function FormActionBar({
25676
25716
  });
25677
25717
  }
25678
25718
  }), /* @__PURE__ */ jsx(AttachmentsButton, {
25679
- disabled: Y,
25719
+ disabled: H,
25680
25720
  attachments: _,
25681
25721
  onAddNewAttachment: async () => {
25682
25722
  const B = await saveDocument({
@@ -26419,7 +26459,7 @@ const GraphActionView = (e) => {
26419
26459
  searchFilterLoading: k,
26420
26460
  searchError: j,
26421
26461
  offset: V,
26422
- tableRefreshing: H
26462
+ tableRefreshing: Y
26423
26463
  } = useSearch({
26424
26464
  model: n,
26425
26465
  setSearchTreeNameSearch: C,
@@ -26469,7 +26509,7 @@ const GraphActionView = (e) => {
26469
26509
  searchVisible: x,
26470
26510
  searchValues: P,
26471
26511
  showLimitOptions: !1
26472
- }), H ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsx(Graph, {
26512
+ }), Y ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsx(Graph, {
26473
26513
  ref: l,
26474
26514
  view_id: t.view_id,
26475
26515
  model: n,
@@ -26615,17 +26655,17 @@ function TreeActionBar(e) {
26615
26655
  confirmMessage: M("confirmRemove"),
26616
26656
  lang: A,
26617
26657
  onOk: () => {
26618
- H();
26658
+ Y();
26619
26659
  }
26620
26660
  });
26621
26661
  }
26622
- async function H() {
26623
- var Y;
26662
+ async function Y() {
26663
+ var H;
26624
26664
  try {
26625
26665
  o == null || o(!0), await ConnectionProvider.getHandler().delete({
26626
26666
  model: c,
26627
26667
  ids: a.map((G) => G.id)
26628
- }), f == null || f(void 0), p == null || p(void 0), (Y = d == null ? void 0 : d.current) == null || Y.refreshResults();
26668
+ }), f == null || f(void 0), p == null || p(void 0), (H = d == null ? void 0 : d.current) == null || H.refreshResults();
26629
26669
  } catch (G) {
26630
26670
  showDialog$8(G);
26631
26671
  } finally {
@@ -26633,7 +26673,7 @@ function TreeActionBar(e) {
26633
26673
  }
26634
26674
  }
26635
26675
  async function W() {
26636
- var Y;
26676
+ var H;
26637
26677
  try {
26638
26678
  l == null || l(!0);
26639
26679
  const G = a[0].id;
@@ -26643,16 +26683,16 @@ function TreeActionBar(e) {
26643
26683
  context: {
26644
26684
  ...$
26645
26685
  }
26646
- }) && ((Y = d == null ? void 0 : d.current) == null || Y.refreshResults());
26686
+ }) && ((H = d == null ? void 0 : d.current) == null || H.refreshResults());
26647
26687
  } catch (G) {
26648
26688
  showDialog$8(G);
26649
26689
  } finally {
26650
26690
  l == null || l(!1);
26651
26691
  }
26652
26692
  }
26653
- function L(Y) {
26693
+ function L(H) {
26654
26694
  N == null || N({
26655
- actionData: Y,
26695
+ actionData: H,
26656
26696
  values: {
26657
26697
  active_id: a == null ? void 0 : a.map((G) => G.id)[0],
26658
26698
  active_ids: a == null ? void 0 : a.map((G) => G.id)
@@ -26675,8 +26715,8 @@ function TreeActionBar(e) {
26675
26715
  children: [/* @__PURE__ */ jsx(SearchBar, {
26676
26716
  disabled: u || s || v,
26677
26717
  searchText: h,
26678
- onSearch: (Y) => {
26679
- Y && Y.trim().length > 0 ? x == null || x(Y) : x == null || x(void 0);
26718
+ onSearch: (H) => {
26719
+ H && H.trim().length > 0 ? x == null || x(H) : x == null || x(void 0);
26680
26720
  }
26681
26721
  }), !S && /* @__PURE__ */ jsx(ButtonWithBadge, {
26682
26722
  icon: /* @__PURE__ */ jsx(FilterOutlined, {
@@ -26720,15 +26760,15 @@ function TreeActionBar(e) {
26720
26760
  disabled: u || s || v,
26721
26761
  loading: !1,
26722
26762
  onClick: () => {
26723
- var Y;
26724
- (Y = d == null ? void 0 : d.current) == null || Y.refreshResults();
26763
+ var H;
26764
+ (H = d == null ? void 0 : d.current) == null || H.refreshResults();
26725
26765
  }
26726
26766
  }), !S && /* @__PURE__ */ jsxs(Fragment, {
26727
26767
  children: [separator$1(), /* @__PURE__ */ jsx(ChangeViewButton, {
26728
26768
  currentView: r,
26729
26769
  availableViews: t,
26730
- onChangeView: (Y) => {
26731
- _ == null || _(r), n == null || n(Y);
26770
+ onChangeView: (H) => {
26771
+ _ == null || _(r), n == null || n(H);
26732
26772
  },
26733
26773
  previousView: b,
26734
26774
  disabled: v
@@ -26738,19 +26778,19 @@ function TreeActionBar(e) {
26738
26778
  disabled: !(a && (a == null ? void 0 : a.length) > 0) || v,
26739
26779
  tooltip: M("actions"),
26740
26780
  items: P == null ? void 0 : P.action,
26741
- onItemClick: (Y) => {
26742
- !Y || L(Y);
26781
+ onItemClick: (H) => {
26782
+ !H || L(H);
26743
26783
  }
26744
26784
  }), /* @__PURE__ */ jsx(DropdownButton, {
26745
26785
  icon: /* @__PURE__ */ jsx(PrinterOutlined, {}),
26746
26786
  disabled: !(a && (a == null ? void 0 : a.length) > 0) || v,
26747
26787
  tooltip: M("reports"),
26748
26788
  items: P == null ? void 0 : P.print,
26749
- onItemClick: (Y) => {
26750
- !Y || L({
26751
- ...Y,
26789
+ onItemClick: (H) => {
26790
+ !H || L({
26791
+ ...H,
26752
26792
  datas: {
26753
- ...Y.datas || {},
26793
+ ...H.datas || {},
26754
26794
  ids: a.map((G) => G.id)
26755
26795
  }
26756
26796
  });
@@ -26792,8 +26832,8 @@ function TreeActionBar(e) {
26792
26832
  id: "export",
26793
26833
  name: M("advancedExport")
26794
26834
  }],
26795
- onItemClick: (Y) => {
26796
- if (Y.id === "print_screen") {
26835
+ onItemClick: (H) => {
26836
+ if (H.id === "print_screen") {
26797
26837
  let G = (a == null ? void 0 : a.map((B) => B.id)) || [];
26798
26838
  G.length === 0 && (G = (C == null ? void 0 : C.map((B) => B.id)) || []), L({
26799
26839
  id: -1,
@@ -26981,7 +27021,7 @@ function ActionView(e, t) {
26981
27021
  action_type: m,
26982
27022
  treeExpandable: y = !1,
26983
27023
  limit: x
26984
- } = e, [h, v] = useState$1(), [_, b] = useState$1([]), [C, w] = useState$1(!0), D = p || void 0, [$, S] = useState$1(D), [P, M] = useState$1([]), [A, O] = useState$1(), [N, F] = useState$1([]), [k, j] = useState$1(), [V, H] = useState$1(0), [W, L] = useState$1(!1), [U, Y] = useState$1(!1), [G, B] = useState$1(), {
27024
+ } = e, [h, v] = useState$1(), [_, b] = useState$1([]), [C, w] = useState$1(!0), D = p || void 0, [$, S] = useState$1(D), [P, M] = useState$1([]), [A, O] = useState$1(), [N, F] = useState$1([]), [k, j] = useState$1(), [V, Y] = useState$1(0), [W, L] = useState$1(!1), [U, H] = useState$1(!1), [G, B] = useState$1(), {
26985
27025
  t: I
26986
27026
  } = useContext(LocaleContext), q = useRef(), K = useRef(), Q = useContext(TabManagerContext), {
26987
27027
  setCurrentView: X,
@@ -27088,7 +27128,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
27088
27128
  }
27089
27129
  async function _e(ie) {
27090
27130
  var me;
27091
- Y(!0);
27131
+ H(!0);
27092
27132
  const ge = N.findIndex((oe) => oe.id === ie);
27093
27133
  let ue;
27094
27134
  if (ge === -1) {
@@ -27101,12 +27141,12 @@ Please, make sure the view ids on the fields_view_get responses are the same as
27101
27141
  } catch {
27102
27142
  }
27103
27143
  if (!ue) {
27104
- Y(!1), L(!1), showDialog$7(I("idNotFound"));
27144
+ H(!1), L(!1), showDialog$7(I("idNotFound"));
27105
27145
  return;
27106
27146
  }
27107
27147
  } else
27108
27148
  ue = N[ge];
27109
- Y(!1), L(!1);
27149
+ H(!1), L(!1);
27110
27150
  const he = o.find((oe) => oe[1] === "form");
27111
27151
  Z({
27112
27152
  domain: [],
@@ -27203,7 +27243,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
27203
27243
  sorter: k,
27204
27244
  setSorter: j,
27205
27245
  totalItems: V,
27206
- setTotalItems: H,
27246
+ setTotalItems: Y,
27207
27247
  selectedRowItems: P,
27208
27248
  setSelectedRowItems: M,
27209
27249
  setSearchTreeNameSearch: B,
@@ -27409,7 +27449,7 @@ function DashboardTree(e) {
27409
27449
  domain: o = [],
27410
27450
  visible: s = !0,
27411
27451
  parentContext: u = {}
27412
- } = e, [l, c] = useState$1(!1), [d, f] = useState$1(!1), [p, g] = useState$1(), [m, y] = useState$1(), [x, h] = useState$1(), [v, _] = useState$1(1), [b, C] = useState$1(0), w = useRef(DEFAULT_SEARCH_LIMIT), D = useRef([]), [$, S] = useState$1(0), [P, M] = useState$1([]), [A, O] = useState$1(void 0), [N, F] = useState$1(), [k, j] = useState$1(), [V, H] = useState$1(), [W, L] = useState$1(!1), U = useRef([]), Y = (E) => {
27452
+ } = e, [l, c] = useState$1(!1), [d, f] = useState$1(!1), [p, g] = useState$1(), [m, y] = useState$1(), [x, h] = useState$1(), [v, _] = useState$1(1), [b, C] = useState$1(0), w = useRef(DEFAULT_SEARCH_LIMIT), D = useRef([]), [$, S] = useState$1(0), [P, M] = useState$1([]), [A, O] = useState$1(void 0), [N, F] = useState$1(), [k, j] = useState$1(), [V, Y] = useState$1(), [W, L] = useState$1(!1), U = useRef([]), H = (E) => {
27413
27453
  L(!0), _(E), C((E - 1) * w.current);
27414
27454
  }, G = async () => {
27415
27455
  const E = U.current.length > 0 ? U.current : o, T = mergeParams(D.current, E), {
@@ -27452,11 +27492,11 @@ function DashboardTree(e) {
27452
27492
  !d || s && B();
27453
27493
  }, [v, b, d, s]);
27454
27494
  const I = async (E) => {
27455
- f(!1), c(!0), H(void 0);
27495
+ f(!1), c(!0), Y(void 0);
27456
27496
  try {
27457
27497
  E === "action" ? await q() : await K(), f(!0);
27458
27498
  } catch (T) {
27459
- H(T);
27499
+ Y(T);
27460
27500
  } finally {
27461
27501
  c(!1);
27462
27502
  }
@@ -27510,7 +27550,7 @@ function DashboardTree(e) {
27510
27550
  page: v,
27511
27551
  treeView: m,
27512
27552
  results: P,
27513
- onRequestPageChange: Y,
27553
+ onRequestPageChange: H,
27514
27554
  loading: W,
27515
27555
  onRowClicked: Q,
27516
27556
  colorsForResults: A,
@@ -27729,11 +27769,11 @@ function Dashboard(e, t) {
27729
27769
  key: k,
27730
27770
  title: j,
27731
27771
  views: V,
27732
- model: H,
27772
+ model: Y,
27733
27773
  context: W,
27734
27774
  domain: L,
27735
27775
  initialView: U,
27736
- limit: Y
27776
+ limit: H
27737
27777
  } = P;
27738
27778
  let G = {};
27739
27779
  try {
@@ -27750,19 +27790,19 @@ function Dashboard(e, t) {
27750
27790
  if ((U == null ? void 0 : U.type) === "graph")
27751
27791
  B = /* @__PURE__ */ jsx(Graph, {
27752
27792
  view_id: V.filter((K) => K[1] === "graph")[0][0],
27753
- model: H,
27793
+ model: Y,
27754
27794
  context: W,
27755
27795
  domain: L,
27756
- limit: Y
27796
+ limit: H
27757
27797
  });
27758
27798
  else if ((U == null ? void 0 : U.type) === "form")
27759
27799
  B = /* @__PURE__ */ jsx(DashboardForm, {
27760
- model: H,
27800
+ model: Y,
27761
27801
  actionDomain: L
27762
27802
  });
27763
27803
  else if ((U == null ? void 0 : U.type) === "tree")
27764
27804
  B = /* @__PURE__ */ jsx(DashboardTree, {
27765
- model: H,
27805
+ model: Y,
27766
27806
  domain: L,
27767
27807
  view_id: V.filter((K) => K[1] === "tree")[0][0],
27768
27808
  onRowClicked: (K) => {
@@ -27800,13 +27840,13 @@ function Dashboard(e, t) {
27800
27840
  tabKey: k,
27801
27841
  title: j,
27802
27842
  views: V,
27803
- model: H,
27843
+ model: Y,
27804
27844
  context: W,
27805
27845
  domain: L,
27806
27846
  setCanWeClose: () => {
27807
27847
  },
27808
27848
  initialView: K,
27809
- limit: Y
27849
+ limit: H
27810
27850
  });
27811
27851
  }
27812
27852
  let I;
@@ -28199,16 +28239,16 @@ function RootView(e, t) {
28199
28239
  res_model: k,
28200
28240
  views: j,
28201
28241
  name: V,
28202
- target: H,
28242
+ target: Y,
28203
28243
  view_type: W,
28204
28244
  limit: L
28205
- } = P, U = W === "tree", Y = [];
28245
+ } = P, U = W === "tree", H = [];
28206
28246
  for (const B of j) {
28207
28247
  const [I, q] = B;
28208
28248
  if (I)
28209
- Y.push(B);
28249
+ H.push(B);
28210
28250
  else if (q === "dashboard")
28211
- Y.push([void 0, "dashboard"]);
28251
+ H.push([void 0, "dashboard"]);
28212
28252
  else {
28213
28253
  const {
28214
28254
  view_id: K
@@ -28221,18 +28261,18 @@ function RootView(e, t) {
28221
28261
  ...N
28222
28262
  }
28223
28263
  });
28224
- Y.push([K, q]);
28264
+ H.push([K, q]);
28225
28265
  }
28226
28266
  }
28227
28267
  let G;
28228
28268
  if (D) {
28229
- const [B, I] = Y.find(([q, K]) => K === D);
28269
+ const [B, I] = H.find(([q, K]) => K === D);
28230
28270
  G = {
28231
28271
  id: B,
28232
28272
  type: I
28233
28273
  };
28234
28274
  } else {
28235
- const [B, I] = Y[0];
28275
+ const [B, I] = H[0];
28236
28276
  G = {
28237
28277
  id: B,
28238
28278
  type: I
@@ -28245,9 +28285,9 @@ function RootView(e, t) {
28245
28285
  ...N
28246
28286
  },
28247
28287
  model: k,
28248
- views: Y,
28288
+ views: H,
28249
28289
  title: V,
28250
- target: H,
28290
+ target: Y,
28251
28291
  initialView: G,
28252
28292
  action_type: M,
28253
28293
  action_id: O,
@@ -28291,7 +28331,7 @@ function RootView(e, t) {
28291
28331
  } = b, [k, j] = A[0], V = {
28292
28332
  id: k,
28293
28333
  type: j
28294
- }, H = parseContext({
28334
+ }, Y = parseContext({
28295
28335
  context: P,
28296
28336
  values: {
28297
28337
  ...w,
@@ -28310,7 +28350,7 @@ function RootView(e, t) {
28310
28350
  fields: C,
28311
28351
  context: {
28312
28352
  ...a,
28313
- ...H
28353
+ ...Y
28314
28354
  }
28315
28355
  }) : [];
28316
28356
  _({
@@ -28319,7 +28359,7 @@ function RootView(e, t) {
28319
28359
  views: A,
28320
28360
  context: {
28321
28361
  ...a,
28322
- ...H
28362
+ ...Y
28323
28363
  },
28324
28364
  domain: W,
28325
28365
  title: N,
@@ -28356,7 +28396,7 @@ function RootView(e, t) {
28356
28396
  target: k,
28357
28397
  view_type: j,
28358
28398
  limit: V
28359
- } = P, H = j === "tree", W = [];
28399
+ } = P, Y = j === "tree", W = [];
28360
28400
  for (const G of N) {
28361
28401
  const [B, I] = G;
28362
28402
  if (B)
@@ -28384,7 +28424,7 @@ function RootView(e, t) {
28384
28424
  L = void 0, U = G[1];
28385
28425
  } else
28386
28426
  [L, U] = W.find((G) => G[0] === void 0 ? !1 : G[0] === $);
28387
- const Y = {
28427
+ const H = {
28388
28428
  id: L,
28389
28429
  type: U
28390
28430
  };
@@ -28398,11 +28438,11 @@ function RootView(e, t) {
28398
28438
  views: W,
28399
28439
  title: F,
28400
28440
  target: k,
28401
- initialView: Y,
28441
+ initialView: H,
28402
28442
  action_id: C,
28403
28443
  action_type: w,
28404
28444
  res_id: D,
28405
- treeExpandable: H,
28445
+ treeExpandable: Y,
28406
28446
  limit: V
28407
28447
  });
28408
28448
  }
@@ -28442,7 +28482,7 @@ function RootView(e, t) {
28442
28482
  }) {
28443
28483
  const V = v4();
28444
28484
  if (S !== "current") {
28445
- const H = await ConnectionProvider.getHandler().getView({
28485
+ const Y = await ConnectionProvider.getHandler().getView({
28446
28486
  model: w,
28447
28487
  type: "form",
28448
28488
  id: P.type === "form" ? P.id : void 0,
@@ -28454,7 +28494,7 @@ function RootView(e, t) {
28454
28494
  f.current.openActionModal({
28455
28495
  domain: b,
28456
28496
  model: w,
28457
- formView: H,
28497
+ formView: Y,
28458
28498
  context: {
28459
28499
  ...a,
28460
28500
  ...C
@@ -28463,11 +28503,11 @@ function RootView(e, t) {
28463
28503
  action_id: M,
28464
28504
  action_type: A,
28465
28505
  res_id: O,
28466
- view_id: H.view_id
28506
+ view_id: Y.view_id
28467
28507
  }
28468
28508
  });
28469
28509
  } else {
28470
- const H = P && Array.isArray(P.id) ? {
28510
+ const Y = P && Array.isArray(P.id) ? {
28471
28511
  ...P,
28472
28512
  id: P.id[0]
28473
28513
  } : P;
@@ -28490,7 +28530,7 @@ function RootView(e, t) {
28490
28530
  },
28491
28531
  domain: b,
28492
28532
  setCanWeClose: g,
28493
- initialView: H,
28533
+ initialView: Y,
28494
28534
  res_id: O,
28495
28535
  formDefaultValues: N,
28496
28536
  formForcedValues: F,
@@ -28681,13 +28721,13 @@ const FavouriteButton = (e) => {
28681
28721
  return;
28682
28722
  }
28683
28723
  const V = b.view_id;
28684
- let H = !1;
28685
- b.type === "form" && (H = C || !1);
28724
+ let Y = !1;
28725
+ b.type === "form" && (Y = C || !1);
28686
28726
  const W = await r({
28687
28727
  action_id: k,
28688
28728
  action_type: j,
28689
28729
  view_id: V,
28690
- res_id: H
28730
+ res_id: Y
28691
28731
  });
28692
28732
  W !== !1 && m(W), s(W !== !1);
28693
28733
  }
@@ -28774,16 +28814,16 @@ const FavouriteButton = (e) => {
28774
28814
  id: k,
28775
28815
  type: j
28776
28816
  } = (F == null ? void 0 : F.action) || {}, V = b.view_id;
28777
- let H = !1;
28817
+ let Y = !1;
28778
28818
  if (!k || !j) {
28779
28819
  s(!1);
28780
28820
  return;
28781
28821
  }
28782
- b.type === "form" && (H = C || !1), await n({
28822
+ b.type === "form" && (Y = C || !1), await n({
28783
28823
  action_id: k,
28784
28824
  action_type: j,
28785
28825
  view_id: V,
28786
- res_id: H
28826
+ res_id: Y
28787
28827
  });
28788
28828
  }
28789
28829
  await D(), s(!o);