@gisce/react-ooui 1.1.25 → 1.1.27-rc.0

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.
@@ -3,10 +3,10 @@ import React__default, { useContext, useState, useEffect, useRef, useLayoutEffec
3
3
  import { Tooltip as Tooltip$2, Typography as Typography$1, Form as Form$3, Row, Col, Modal, Button as Button$1, Dropdown, Menu, Spin, Divider, Space, Input as Input$1, Select, Checkbox, Alert, Timeline as Timeline$1, Statistic, Card, Tag, message as message$1, DatePicker as DatePicker$1, TimePicker, InputNumber, Progress, Pagination, Tabs, Popover, Radio as Radio$1, Switch as Switch$1, Steps as Steps$1, Layout } from "antd";
4
4
  import { Label as Label$1, Field as Field$2, Container as Container$1, Tree as Tree$1, Reference as Reference$1, Selection as Selection$1, Many2one as Many2one$1, Boolean as Boolean$2, parseContext, Form as Form$4, Integer as Integer$1, SearchFilter as SearchFilter$1, transformDomainForChildWidget, graphProcessor, parseGraph, graphFieldUtils } from "@gisce/ooui";
5
5
  import * as AntIcons from "@ant-design/icons";
6
- import { QuestionCircleOutlined, ExclamationCircleOutlined as ExclamationCircleOutlined$3, LoadingOutlined as LoadingOutlined$3, DownOutlined, WarningOutlined, CloseOutlined as CloseOutlined$3, CheckOutlined as CheckOutlined$3, TranslationOutlined, FolderOpenOutlined, DownloadOutlined, ClearOutlined, StarFilled, StarOutlined, UpOutlined, SearchOutlined, RightCircleOutlined, ThunderboltOutlined, PrinterOutlined, EnterOutlined as EnterOutlined$3, PlusSquareOutlined, MinusSquareOutlined, FileAddOutlined, AlignLeftOutlined, ApiOutlined, DeleteOutlined, LeftOutlined, RightOutlined, EyeOutlined, FormOutlined, TableOutlined, AreaChartOutlined, CalendarOutlined, LinkOutlined, SaveOutlined, CopyOutlined as CopyOutlined$3, InfoCircleOutlined as InfoCircleOutlined$3, ReloadOutlined, EditOutlined as EditOutlined$3, FilterOutlined, CloseCircleFilled as CloseCircleFilled$3, BorderOuterOutlined, SettingOutlined, ExportOutlined } from "@ant-design/icons";
6
+ import AntIcons__default, { QuestionCircleOutlined, ExclamationCircleOutlined as ExclamationCircleOutlined$3, LoadingOutlined as LoadingOutlined$3, DownOutlined, WarningOutlined, CloseOutlined as CloseOutlined$3, CheckOutlined as CheckOutlined$3, TranslationOutlined, FolderOpenOutlined, DownloadOutlined, ClearOutlined, StarFilled, StarOutlined, UpOutlined, SearchOutlined, RightCircleOutlined, ThunderboltOutlined, PrinterOutlined, EnterOutlined as EnterOutlined$3, PlusSquareOutlined, MinusSquareOutlined, FileAddOutlined, AlignLeftOutlined, ApiOutlined, DeleteOutlined, LeftOutlined, RightOutlined, EyeOutlined, FormOutlined, TableOutlined, AreaChartOutlined, CalendarOutlined, LinkOutlined, SaveOutlined, CopyOutlined as CopyOutlined$3, InfoCircleOutlined as InfoCircleOutlined$3, ReloadOutlined, EditOutlined as EditOutlined$3, FilterOutlined, CloseCircleFilled as CloseCircleFilled$3, BorderOuterOutlined, SettingOutlined, ExportOutlined } from "@ant-design/icons";
7
7
  import { Interweave } from "interweave";
8
8
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
9
- import * as TablerIcons from "@tabler/icons";
9
+ import * as TablerIcons from "@tabler/icons-react";
10
10
  import ReactDOM from "react-dom";
11
11
  import styled from "styled-components";
12
12
  import Measure from "react-measure";
@@ -546,8 +546,16 @@ function getIconForKey(e) {
546
546
  if (AntIcons[r])
547
547
  return AntIcons[r];
548
548
  const n = `Icon${t}`;
549
- if (TablerIcons[n])
550
- return TablerIcons[n];
549
+ if (TablerIcons[n]) {
550
+ const a = () => React__default.createElement(TablerIcons[n], {
551
+ fill: "transparent",
552
+ height: 17,
553
+ width: 17
554
+ });
555
+ return () => React__default.createElement(AntIcons__default, {
556
+ component: a
557
+ });
558
+ }
551
559
  }
552
560
  const Button = (e) => {
553
561
  const {
@@ -636,8 +644,8 @@ const Button = (e) => {
636
644
  if (b)
637
645
  return /* @__PURE__ */ jsx(LoadingOutlined$3, {});
638
646
  if (c) {
639
- const O = iconMapper(c);
640
- return O && /* @__PURE__ */ jsx(O, {});
647
+ const E = iconMapper(c);
648
+ return E && /* @__PURE__ */ jsx(E, {});
641
649
  }
642
650
  }
643
651
  async function _() {
@@ -1130,8 +1138,8 @@ function requireReactIs_production_min() {
1130
1138
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
1131
1139
  function x(C) {
1132
1140
  if (typeof C == "object" && C !== null) {
1133
- var O = C.$$typeof;
1134
- switch (O) {
1141
+ var E = C.$$typeof;
1142
+ switch (E) {
1135
1143
  case t:
1136
1144
  switch (C = C.type, C) {
1137
1145
  case l:
@@ -1150,11 +1158,11 @@ function requireReactIs_production_min() {
1150
1158
  case s:
1151
1159
  return C;
1152
1160
  default:
1153
- return O;
1161
+ return E;
1154
1162
  }
1155
1163
  }
1156
1164
  case r:
1157
- return O;
1165
+ return E;
1158
1166
  }
1159
1167
  }
1160
1168
  }
@@ -1202,15 +1210,15 @@ var hasRequiredReactIs_development;
1202
1210
  function requireReactIs_development() {
1203
1211
  return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
1204
1212
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
1205
- function x(E) {
1206
- return typeof E == "string" || typeof E == "function" || E === n || E === c || E === o || E === a || E === f || E === p || typeof E == "object" && E !== null && (E.$$typeof === m || E.$$typeof === h || E.$$typeof === s || E.$$typeof === u || E.$$typeof === d || E.$$typeof === b || E.$$typeof === g || E.$$typeof === v || E.$$typeof === y);
1213
+ function x(O) {
1214
+ return typeof O == "string" || typeof O == "function" || O === n || O === c || O === o || O === a || O === f || O === p || typeof O == "object" && O !== null && (O.$$typeof === m || O.$$typeof === h || O.$$typeof === s || O.$$typeof === u || O.$$typeof === d || O.$$typeof === b || O.$$typeof === g || O.$$typeof === v || O.$$typeof === y);
1207
1215
  }
1208
- function _(E) {
1209
- if (typeof E == "object" && E !== null) {
1210
- var X = E.$$typeof;
1216
+ function _(O) {
1217
+ if (typeof O == "object" && O !== null) {
1218
+ var X = O.$$typeof;
1211
1219
  switch (X) {
1212
1220
  case t:
1213
- var J = E.type;
1221
+ var J = O.type;
1214
1222
  switch (J) {
1215
1223
  case l:
1216
1224
  case c:
@@ -1237,47 +1245,47 @@ function requireReactIs_development() {
1237
1245
  }
1238
1246
  }
1239
1247
  }
1240
- var C = l, O = c, F = u, w = s, S = t, T = d, I = n, q = m, M = h, D = r, j = o, N = a, V = f, A = !1;
1241
- function W(E) {
1242
- return A || (A = !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.")), Y(E) || _(E) === l;
1248
+ var C = l, E = c, F = u, w = s, S = t, T = d, I = n, q = m, M = h, D = r, j = o, N = a, V = f, A = !1;
1249
+ function W(O) {
1250
+ return A || (A = !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.")), Y(O) || _(O) === l;
1243
1251
  }
1244
- function Y(E) {
1245
- return _(E) === c;
1252
+ function Y(O) {
1253
+ return _(O) === c;
1246
1254
  }
1247
- function z(E) {
1248
- return _(E) === u;
1255
+ function z(O) {
1256
+ return _(O) === u;
1249
1257
  }
1250
- function H(E) {
1251
- return _(E) === s;
1258
+ function H(O) {
1259
+ return _(O) === s;
1252
1260
  }
1253
- function K(E) {
1254
- return typeof E == "object" && E !== null && E.$$typeof === t;
1261
+ function K(O) {
1262
+ return typeof O == "object" && O !== null && O.$$typeof === t;
1255
1263
  }
1256
- function U(E) {
1257
- return _(E) === d;
1264
+ function U(O) {
1265
+ return _(O) === d;
1258
1266
  }
1259
- function B(E) {
1260
- return _(E) === n;
1267
+ function B(O) {
1268
+ return _(O) === n;
1261
1269
  }
1262
- function k(E) {
1263
- return _(E) === m;
1270
+ function k(O) {
1271
+ return _(O) === m;
1264
1272
  }
1265
- function $(E) {
1266
- return _(E) === h;
1273
+ function $(O) {
1274
+ return _(O) === h;
1267
1275
  }
1268
- function L(E) {
1269
- return _(E) === r;
1276
+ function L(O) {
1277
+ return _(O) === r;
1270
1278
  }
1271
- function G(E) {
1272
- return _(E) === o;
1279
+ function G(O) {
1280
+ return _(O) === o;
1273
1281
  }
1274
- function Z(E) {
1275
- return _(E) === a;
1282
+ function Z(O) {
1283
+ return _(O) === a;
1276
1284
  }
1277
- function P(E) {
1278
- return _(E) === f;
1285
+ function P(O) {
1286
+ return _(O) === f;
1279
1287
  }
1280
- reactIs_development.AsyncMode = C, reactIs_development.ConcurrentMode = O, reactIs_development.ContextConsumer = F, reactIs_development.ContextProvider = w, reactIs_development.Element = S, reactIs_development.ForwardRef = T, reactIs_development.Fragment = I, reactIs_development.Lazy = q, reactIs_development.Memo = M, reactIs_development.Portal = D, reactIs_development.Profiler = j, reactIs_development.StrictMode = N, reactIs_development.Suspense = V, reactIs_development.isAsyncMode = W, reactIs_development.isConcurrentMode = Y, reactIs_development.isContextConsumer = z, reactIs_development.isContextProvider = H, reactIs_development.isElement = K, reactIs_development.isForwardRef = U, reactIs_development.isFragment = B, reactIs_development.isLazy = k, reactIs_development.isMemo = $, reactIs_development.isPortal = L, reactIs_development.isProfiler = G, reactIs_development.isStrictMode = Z, reactIs_development.isSuspense = P, reactIs_development.isValidElementType = x, reactIs_development.typeOf = _;
1288
+ reactIs_development.AsyncMode = C, reactIs_development.ConcurrentMode = E, reactIs_development.ContextConsumer = F, reactIs_development.ContextProvider = w, reactIs_development.Element = S, reactIs_development.ForwardRef = T, reactIs_development.Fragment = I, reactIs_development.Lazy = q, reactIs_development.Memo = M, reactIs_development.Portal = D, reactIs_development.Profiler = j, reactIs_development.StrictMode = N, reactIs_development.Suspense = V, reactIs_development.isAsyncMode = W, reactIs_development.isConcurrentMode = Y, reactIs_development.isContextConsumer = z, reactIs_development.isContextProvider = H, reactIs_development.isElement = K, reactIs_development.isForwardRef = U, reactIs_development.isFragment = B, reactIs_development.isLazy = k, reactIs_development.isMemo = $, reactIs_development.isPortal = L, reactIs_development.isProfiler = G, reactIs_development.isStrictMode = Z, reactIs_development.isSuspense = P, reactIs_development.isValidElementType = x, reactIs_development.typeOf = _;
1281
1289
  }()), reactIs_development;
1282
1290
  }
1283
1291
  var hasRequiredReactIs;
@@ -2768,12 +2776,12 @@ function requireUtils() {
2768
2776
  function p(v, x, _) {
2769
2777
  return _ ? /* @__PURE__ */ o.default.createElement(v.tag, (0, r.default)((0, r.default)({
2770
2778
  key: x
2771
- }, f(v.attrs)), _), (v.children || []).map(function(C, O) {
2772
- return p(C, "".concat(x, "-").concat(v.tag, "-").concat(O));
2779
+ }, f(v.attrs)), _), (v.children || []).map(function(C, E) {
2780
+ return p(C, "".concat(x, "-").concat(v.tag, "-").concat(E));
2773
2781
  })) : /* @__PURE__ */ o.default.createElement(v.tag, (0, r.default)({
2774
2782
  key: x
2775
- }, f(v.attrs)), (v.children || []).map(function(C, O) {
2776
- return p(C, "".concat(x, "-").concat(v.tag, "-").concat(O));
2783
+ }, f(v.attrs)), (v.children || []).map(function(C, E) {
2784
+ return p(C, "".concat(x, "-").concat(v.tag, "-").concat(E));
2777
2785
  }));
2778
2786
  }
2779
2787
  function h(v) {
@@ -2938,7 +2946,7 @@ function requireAntdIcon() {
2938
2946
  var r = e(requireObjectSpread2()), n = e(requireSlicedToArray()), a = e(requireDefineProperty()), o = e(requireObjectWithoutProperties()), s = t(React__default), u = e(requireClassnames()), l = e(requireContext$2()), c = e(requireIconBase()), d = requireTwoTonePrimaryColor(), f = requireUtils(), p = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
2939
2947
  (0, d.setTwoToneColor)("#1890ff");
2940
2948
  var h = /* @__PURE__ */ s.forwardRef(function(y, b) {
2941
- var g, v = y.className, x = y.icon, _ = y.spin, C = y.rotate, O = y.tabIndex, F = y.onClick, w = y.twoToneColor, S = (0, o.default)(y, p), T = s.useContext(l.default), I = T.prefixCls, q = I === void 0 ? "anticon" : I, M = (0, u.default)(q, (g = {}, (0, a.default)(g, "".concat(q, "-").concat(x.name), !!x.name), (0, a.default)(g, "".concat(q, "-spin"), !!_ || x.name === "loading"), g), v), D = O;
2949
+ var g, v = y.className, x = y.icon, _ = y.spin, C = y.rotate, E = y.tabIndex, F = y.onClick, w = y.twoToneColor, S = (0, o.default)(y, p), T = s.useContext(l.default), I = T.prefixCls, q = I === void 0 ? "anticon" : I, M = (0, u.default)(q, (g = {}, (0, a.default)(g, "".concat(q, "-").concat(x.name), !!x.name), (0, a.default)(g, "".concat(q, "-spin"), !!_ || x.name === "loading"), g), v), D = E;
2942
2950
  D === void 0 && F && (D = -1);
2943
2951
  var j = C ? {
2944
2952
  msTransform: "rotate(".concat(C, "deg)"),
@@ -3206,7 +3214,7 @@ function requireRegeneratorRuntime() {
3206
3214
  });
3207
3215
  });
3208
3216
  }
3209
- function O(M, D) {
3217
+ function E(M, D) {
3210
3218
  function j(V, A, W, Y) {
3211
3219
  var z = p(M[V], M, A);
3212
3220
  if (z.type !== "throw") {
@@ -3300,11 +3308,11 @@ function requireRegeneratorRuntime() {
3300
3308
  return {
3301
3309
  __await: M
3302
3310
  };
3303
- }, C(O.prototype), d(O.prototype, l, function() {
3311
+ }, C(E.prototype), d(E.prototype, l, function() {
3304
3312
  return this;
3305
- }), n.AsyncIterator = O, n.async = function(M, D, j, N, V) {
3313
+ }), n.AsyncIterator = E, n.async = function(M, D, j, N, V) {
3306
3314
  V === void 0 && (V = Promise);
3307
- var A = new O(f(M, D, j, N), V);
3315
+ var A = new E(f(M, D, j, N), V);
3308
3316
  return n.isGeneratorFunction(D) ? A : A.next().then(function(W) {
3309
3317
  return W.done ? W.value : A.next();
3310
3318
  });
@@ -4017,14 +4025,14 @@ Schema.prototype = {
4017
4025
  return asyncMap(p, s, function(y, b) {
4018
4026
  var g = y.rule, v = (g.type === "object" || g.type === "array") && (typeof g.fields == "object" || typeof g.defaultField == "object");
4019
4027
  v = v && (g.required || !g.required && y.value), g.field = y.field;
4020
- function x(O, F) {
4028
+ function x(E, F) {
4021
4029
  return _extends(_extends({}, F), {}, {
4022
- fullField: g.fullField + "." + O
4030
+ fullField: g.fullField + "." + E
4023
4031
  });
4024
4032
  }
4025
- function _(O) {
4026
- O === void 0 && (O = []);
4027
- var F = O;
4033
+ function _(E) {
4034
+ E === void 0 && (E = []);
4035
+ var F = E;
4028
4036
  if (Array.isArray(F) || (F = [F]), !s.suppressWarning && F.length && Schema.warning("async-validator:", F), F.length && g.message !== void 0 && (F = [].concat(g.message)), F = F.map(complementError(g)), s.first && F.length)
4029
4037
  return m[g.field] = 1, b(F);
4030
4038
  if (!v)
@@ -4052,8 +4060,8 @@ Schema.prototype = {
4052
4060
  var C;
4053
4061
  g.asyncValidator ? C = g.asyncValidator(g, y.value, _, y.source, s) : g.validator && (C = g.validator(g, y.value, _, y.source, s), C === !0 ? _() : C === !1 ? _(g.message || g.field + " fails") : C instanceof Array ? _(C) : C instanceof Error && _(C.message)), C && C.then && C.then(function() {
4054
4062
  return _();
4055
- }, function(O) {
4056
- return _(O);
4063
+ }, function(E) {
4064
+ return _(E);
4057
4065
  });
4058
4066
  }, function(y) {
4059
4067
  l(y);
@@ -4315,8 +4323,8 @@ function validateRules(e, t, r, n, a, o) {
4315
4323
  return f ? _objectSpread2$1(_objectSpread2$1({}, d), {}, {
4316
4324
  validator: function(h, m, y) {
4317
4325
  var b = !1, g = function() {
4318
- for (var _ = arguments.length, C = new Array(_), O = 0; O < _; O++)
4319
- C[O] = arguments[O];
4326
+ for (var _ = arguments.length, C = new Array(_), E = 0; E < _; E++)
4327
+ C[E] = arguments[E];
4320
4328
  Promise.resolve().then(function() {
4321
4329
  warningOnce(!b, "Your validator function has already return a promise. `callback` will be ignored."), b || y.apply(void 0, C);
4322
4330
  });
@@ -4473,8 +4481,8 @@ var Field = /* @__PURE__ */ function(e) {
4473
4481
  break;
4474
4482
  }
4475
4483
  case "dependenciesUpdate": {
4476
- var O = m.map(getNamePath);
4477
- if (O.some(function(F) {
4484
+ var E = m.map(getNamePath);
4485
+ if (E.some(function(F) {
4478
4486
  return containsNamePath(d.relatedFields, F);
4479
4487
  })) {
4480
4488
  a.reRender();
@@ -4499,8 +4507,8 @@ var Field = /* @__PURE__ */ function(e) {
4499
4507
  var C = _.validateTrigger;
4500
4508
  if (!C)
4501
4509
  return !0;
4502
- var O = toArray$2(C);
4503
- return O.includes(g);
4510
+ var E = toArray$2(C);
4511
+ return E.includes(g);
4504
4512
  }));
4505
4513
  var x = validateRules(c, d, v, l, m, y);
4506
4514
  return x.catch(function(_) {
@@ -4553,14 +4561,14 @@ var Field = /* @__PURE__ */ function(e) {
4553
4561
  var c = a.props.fieldContext.getFieldsValue, d = a.getNamePath();
4554
4562
  return getValue(l || c(!0), d);
4555
4563
  }, a.getControlled = function() {
4556
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = a.props, d = c.trigger, f = c.validateTrigger, p = c.getValueFromEvent, h = c.normalize, m = c.valuePropName, y = c.getValueProps, b = c.fieldContext, g = f !== void 0 ? f : b.validateTrigger, v = a.getNamePath(), x = b.getInternalHooks, _ = b.getFieldsValue, C = x(HOOK_MARK), O = C.dispatch, F = a.getValue(), w = y || function(q) {
4564
+ var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = a.props, d = c.trigger, f = c.validateTrigger, p = c.getValueFromEvent, h = c.normalize, m = c.valuePropName, y = c.getValueProps, b = c.fieldContext, g = f !== void 0 ? f : b.validateTrigger, v = a.getNamePath(), x = b.getInternalHooks, _ = b.getFieldsValue, C = x(HOOK_MARK), E = C.dispatch, F = a.getValue(), w = y || function(q) {
4557
4565
  return _defineProperty$1({}, m, q);
4558
4566
  }, S = l[d], T = _objectSpread2$1(_objectSpread2$1({}, l), w(F));
4559
4567
  T[d] = function() {
4560
4568
  a.touched = !0, a.dirty = !0;
4561
4569
  for (var q, M = arguments.length, D = new Array(M), j = 0; j < M; j++)
4562
4570
  D[j] = arguments[j];
4563
- p ? q = p.apply(void 0, D) : q = defaultGetValueFromEvent.apply(void 0, [m].concat(D)), h && (q = h(q, F, _(!0))), O({
4571
+ p ? q = p.apply(void 0, D) : q = defaultGetValueFromEvent.apply(void 0, [m].concat(D)), h && (q = h(q, F, _(!0))), E({
4564
4572
  type: "updateValue",
4565
4573
  namePath: v,
4566
4574
  value: q
@@ -4572,7 +4580,7 @@ var Field = /* @__PURE__ */ function(e) {
4572
4580
  T[q] = function() {
4573
4581
  M && M.apply(void 0, arguments);
4574
4582
  var D = a.props.rules;
4575
- D && D.length && O({
4583
+ D && D.length && E({
4576
4584
  type: "validateField",
4577
4585
  namePath: v,
4578
4586
  triggerName: q
@@ -4675,7 +4683,7 @@ var List = function(t) {
4675
4683
  }
4676
4684
  }
4677
4685
  }, C = b || [];
4678
- return Array.isArray(C) || (C = [], process.env.NODE_ENV !== "production" && warningOnce(!1, "Current value of '".concat(f.join(" > "), "' is not an array type."))), a(C.map(function(O, F) {
4686
+ return Array.isArray(C) || (C = [], process.env.NODE_ENV !== "production" && warningOnce(!1, "Current value of '".concat(f.join(" > "), "' is not an array type."))), a(C.map(function(E, F) {
4679
4687
  var w = c.keys[F];
4680
4688
  return w === void 0 && (c.keys[F] = c.id, w = c.keys[F], c.id += 1), {
4681
4689
  name: F,
@@ -5250,14 +5258,14 @@ var FormContext = /* @__PURE__ */ React.createContext({
5250
5258
  children: o
5251
5259
  });
5252
5260
  }, Form$2 = function(t, r) {
5253
- var n = t.name, a = t.initialValues, o = t.fields, s = t.form, u = t.preserve, l = t.children, c = t.component, d = c === void 0 ? "form" : c, f = t.validateMessages, p = t.validateTrigger, h = p === void 0 ? "onChange" : p, m = t.onValuesChange, y = t.onFieldsChange, b = t.onFinish, g = t.onFinishFailed, v = _objectWithoutProperties(t, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), x = React.useContext(FormContext), _ = useForm(s), C = _slicedToArray(_, 1), O = C[0], F = O.getInternalHooks(HOOK_MARK), w = F.useSubscribe, S = F.setInitialValues, T = F.setCallbacks, I = F.setValidateMessages, q = F.setPreserve;
5261
+ var n = t.name, a = t.initialValues, o = t.fields, s = t.form, u = t.preserve, l = t.children, c = t.component, d = c === void 0 ? "form" : c, f = t.validateMessages, p = t.validateTrigger, h = p === void 0 ? "onChange" : p, m = t.onValuesChange, y = t.onFieldsChange, b = t.onFinish, g = t.onFinishFailed, v = _objectWithoutProperties(t, ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]), x = React.useContext(FormContext), _ = useForm(s), C = _slicedToArray(_, 1), E = C[0], F = E.getInternalHooks(HOOK_MARK), w = F.useSubscribe, S = F.setInitialValues, T = F.setCallbacks, I = F.setValidateMessages, q = F.setPreserve;
5254
5262
  React.useImperativeHandle(r, function() {
5255
- return O;
5263
+ return E;
5256
5264
  }), React.useEffect(function() {
5257
- return x.registerForm(n, O), function() {
5265
+ return x.registerForm(n, E), function() {
5258
5266
  x.unregisterForm(n);
5259
5267
  };
5260
- }, [x, O, n]), I(_objectSpread2$1(_objectSpread2$1({}, x.validateMessages), f)), T({
5268
+ }, [x, E, n]), I(_objectSpread2$1(_objectSpread2$1({}, x.validateMessages), f)), T({
5261
5269
  onValuesChange: m,
5262
5270
  onFieldsChange: function(z) {
5263
5271
  if (x.triggerFormChange(n, z), y) {
@@ -5275,26 +5283,26 @@ var FormContext = /* @__PURE__ */ React.createContext({
5275
5283
  S(a, !M.current), M.current || (M.current = !0);
5276
5284
  var D = l, j = typeof l == "function";
5277
5285
  if (j) {
5278
- var N = O.getFieldsValue(!0);
5279
- D = l(N, O);
5286
+ var N = E.getFieldsValue(!0);
5287
+ D = l(N, E);
5280
5288
  }
5281
5289
  w(!j);
5282
5290
  var V = React.useRef();
5283
5291
  React.useEffect(function() {
5284
- isSimilar(V.current || [], o || []) || O.setFields(o || []), V.current = o;
5285
- }, [o, O]);
5292
+ isSimilar(V.current || [], o || []) || E.setFields(o || []), V.current = o;
5293
+ }, [o, E]);
5286
5294
  var A = React.useMemo(function() {
5287
- return _objectSpread2$1(_objectSpread2$1({}, O), {}, {
5295
+ return _objectSpread2$1(_objectSpread2$1({}, E), {}, {
5288
5296
  validateTrigger: h
5289
5297
  });
5290
- }, [O, h]), W = /* @__PURE__ */ jsx(Context.Provider, {
5298
+ }, [E, h]), W = /* @__PURE__ */ jsx(Context.Provider, {
5291
5299
  value: A,
5292
5300
  children: D
5293
5301
  });
5294
5302
  return d === !1 ? W : /* @__PURE__ */ jsx(d, {
5295
5303
  ...v,
5296
5304
  onSubmit: function(z) {
5297
- z.preventDefault(), z.stopPropagation(), O.submit();
5305
+ z.preventDefault(), z.stopPropagation(), E.submit();
5298
5306
  },
5299
5307
  children: W
5300
5308
  });
@@ -5713,8 +5721,8 @@ function requireLocaleReceiver() {
5713
5721
  return (0, o.default)(y, [{
5714
5722
  key: "getLocale",
5715
5723
  value: function() {
5716
- var g = this.props, v = g.componentName, x = g.defaultLocale, _ = x || c.default[v || "global"], C = this.context, O = v && C ? C[v] : {};
5717
- return (0, n.default)((0, n.default)({}, typeof _ == "function" ? _() : _), O || {});
5724
+ var g = this.props, v = g.componentName, x = g.defaultLocale, _ = x || c.default[v || "global"], C = this.context, E = v && C ? C[v] : {};
5725
+ return (0, n.default)((0, n.default)({}, typeof _ == "function" ? _() : _), E || {});
5718
5726
  }
5719
5727
  }, {
5720
5728
  key: "getLocaleCode",
@@ -5852,11 +5860,11 @@ function requireEmpty() {
5852
5860
  g.indexOf(x[_]) < 0 && Object.prototype.propertyIsEnumerable.call(b, x[_]) && (v[x[_]] = b[x[_]]);
5853
5861
  return v;
5854
5862
  }, p = /* @__PURE__ */ o.createElement(c.default, null), h = /* @__PURE__ */ o.createElement(d.default, null), m = function(g) {
5855
- var v = g.className, x = g.prefixCls, _ = g.image, C = _ === void 0 ? p : _, O = g.description, F = g.children, w = g.imageStyle, S = f(g, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), T = o.useContext(u.ConfigContext), I = T.getPrefixCls, q = T.direction;
5863
+ var v = g.className, x = g.prefixCls, _ = g.image, C = _ === void 0 ? p : _, E = g.description, F = g.children, w = g.imageStyle, S = f(g, ["className", "prefixCls", "image", "description", "children", "imageStyle"]), T = o.useContext(u.ConfigContext), I = T.getPrefixCls, q = T.direction;
5856
5864
  return /* @__PURE__ */ o.createElement(l.default, {
5857
5865
  componentName: "Empty"
5858
5866
  }, function(M) {
5859
- var D, j = I("empty", x), N = typeof O < "u" ? O : M.description, V = typeof N == "string" ? N : "empty", A = null;
5867
+ var D, j = I("empty", x), N = typeof E < "u" ? E : M.description, V = typeof N == "string" ? N : "empty", A = null;
5860
5868
  return typeof C == "string" ? A = /* @__PURE__ */ o.createElement("img", {
5861
5869
  alt: V,
5862
5870
  src: C
@@ -6100,7 +6108,7 @@ const useStepQueue = function(e, t) {
6100
6108
  }, []), [o, a];
6101
6109
  };
6102
6110
  function useStatus(e, t, r, n) {
6103
- 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, h = n.onEnterPrepare, m = n.onLeavePrepare, y = n.onAppearStart, b = n.onEnterStart, g = n.onLeaveStart, v = n.onAppearActive, x = n.onEnterActive, _ = n.onLeaveActive, C = n.onAppearEnd, O = n.onEnterEnd, F = n.onLeaveEnd, w = n.onVisibleChanged, S = useMountStatus(), T = _slicedToArray(S, 2), I = T[0], q = T[1], M = useMountStatus(STATUS_NONE), D = _slicedToArray(M, 2), j = D[0], N = D[1], V = useMountStatus(null), A = _slicedToArray(V, 2), W = A[0], Y = A[1], z = useRef(!1), H = useRef(null), K = useRef(!1), U = useRef(null);
6111
+ 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, h = n.onEnterPrepare, m = n.onLeavePrepare, y = n.onAppearStart, b = n.onEnterStart, g = n.onLeaveStart, v = n.onAppearActive, x = n.onEnterActive, _ = n.onLeaveActive, C = n.onAppearEnd, E = n.onEnterEnd, F = n.onLeaveEnd, w = n.onVisibleChanged, S = useMountStatus(), T = _slicedToArray(S, 2), I = T[0], q = T[1], M = useMountStatus(STATUS_NONE), D = _slicedToArray(M, 2), j = D[0], N = D[1], V = useMountStatus(null), A = _slicedToArray(V, 2), W = A[0], Y = A[1], z = useRef(!1), H = useRef(null), K = useRef(!1), U = useRef(null);
6104
6112
  function B() {
6105
6113
  var te = r();
6106
6114
  return te || U.current;
@@ -6110,7 +6118,7 @@ function useStatus(e, t, r, n) {
6110
6118
  var oe = B();
6111
6119
  if (!(te && !te.deadline && te.target !== oe)) {
6112
6120
  var se;
6113
- j === STATUS_APPEAR && k.current ? se = C == null ? void 0 : C(oe, te) : j === STATUS_ENTER && k.current ? se = O == null ? void 0 : O(oe, te) : j === STATUS_LEAVE && k.current && (se = F == null ? void 0 : F(oe, te)), se !== !1 && !K.current && (N(STATUS_NONE), Y(null));
6121
+ j === STATUS_APPEAR && k.current ? se = C == null ? void 0 : C(oe, te) : j === STATUS_ENTER && k.current ? se = E == null ? void 0 : E(oe, te) : j === STATUS_LEAVE && k.current && (se = F == null ? void 0 : F(oe, te)), se !== !1 && !K.current && (N(STATUS_NONE), Y(null));
6114
6122
  }
6115
6123
  }
6116
6124
  var L = useDomMotionEvents($), G = _slicedToArray(L, 1), Z = G[0], P = React.useMemo(function() {
@@ -6125,7 +6133,7 @@ function useStatus(e, t, r, n) {
6125
6133
  default:
6126
6134
  return {};
6127
6135
  }
6128
- }, [j]), E = useStepQueue(j, function(te) {
6136
+ }, [j]), O = useStepQueue(j, function(te) {
6129
6137
  if (te === STEP_PREPARE) {
6130
6138
  var oe = P[STEP_PREPARE];
6131
6139
  return oe ? oe(B()) : SkipStep;
@@ -6139,7 +6147,7 @@ function useStatus(e, t, r, n) {
6139
6147
  deadline: !0
6140
6148
  });
6141
6149
  }, d))), DoStep;
6142
- }), X = _slicedToArray(E, 2), J = X[0], ee = X[1], Q = isActive(ee);
6150
+ }), X = _slicedToArray(O, 2), J = X[0], ee = X[1], Q = isActive(ee);
6143
6151
  k.current = Q, useIsomorphicLayoutEffect(function() {
6144
6152
  if (q(t), !!e) {
6145
6153
  var te = z.current;
@@ -6189,7 +6197,7 @@ function genCSSMotion(e) {
6189
6197
  return null;
6190
6198
  }
6191
6199
  }
6192
- var x = useStatus(y, u, v, a), _ = _slicedToArray(x, 4), C = _[0], O = _[1], F = _[2], w = _[3], S = useRef(o);
6200
+ var x = useStatus(y, u, v, a), _ = _slicedToArray(x, 4), C = _[0], E = _[1], F = _[2], w = _[3], S = useRef(o);
6193
6201
  S.current = o;
6194
6202
  var T = React.useCallback(function(j) {
6195
6203
  b.current = j, fillRef(S.current, j);
@@ -6208,7 +6216,7 @@ function genCSSMotion(e) {
6208
6216
  }), T);
6209
6217
  else {
6210
6218
  var M, D;
6211
- O === STEP_PREPARE ? D = "prepare" : isActive(O) ? D = "active" : O === STEP_START && (D = "start"), I = f(_objectSpread2$1(_objectSpread2$1({}, q), {}, {
6219
+ E === STEP_PREPARE ? D = "prepare" : isActive(E) ? D = "active" : E === STEP_START && (D = "start"), I = f(_objectSpread2$1(_objectSpread2$1({}, q), {}, {
6212
6220
  className: classnamesExports(getTransitionName$1(p, C), (M = {}, _defineProperty$1(M, getTransitionName$1(p, "".concat(C, "-").concat(D)), D), _defineProperty$1(M, p, typeof p == "string"), M)),
6213
6221
  style: F
6214
6222
  }), T);
@@ -6497,8 +6505,8 @@ var Notification = /* @__PURE__ */ function(e) {
6497
6505
  noticeKey: v || g,
6498
6506
  updateMark: b,
6499
6507
  onClose: function(C) {
6500
- var O;
6501
- a.remove(C), (O = m.onClose) === null || O === void 0 || O.call(m);
6508
+ var E;
6509
+ a.remove(C), (E = m.onClose) === null || E === void 0 || E.call(m);
6502
6510
  },
6503
6511
  onClick: m.onClick,
6504
6512
  children: m.content
@@ -6801,14 +6809,14 @@ function requireNotice() {
6801
6809
  }, {
6802
6810
  key: "render",
6803
6811
  value: function() {
6804
- var y = this, b = this.props, g = b.prefixCls, v = b.className, x = b.closable, _ = b.closeIcon, C = b.style, O = b.onClick, F = b.children, w = b.holder, S = "".concat(g, "-notice"), T = Object.keys(this.props).reduce(function(q, M) {
6812
+ var y = this, b = this.props, g = b.prefixCls, v = b.className, x = b.closable, _ = b.closeIcon, C = b.style, E = b.onClick, F = b.children, w = b.holder, S = "".concat(g, "-notice"), T = Object.keys(this.props).reduce(function(q, M) {
6805
6813
  return (M.substr(0, 5) === "data-" || M.substr(0, 5) === "aria-" || M === "role") && (q[M] = y.props[M]), q;
6806
6814
  }, {}), I = u.createElement("div", Object.assign({
6807
6815
  className: (0, c.default)(S, v, (0, r.default)({}, "".concat(S, "-closable"), x)),
6808
6816
  style: C,
6809
6817
  onMouseEnter: this.clearCloseTimer,
6810
6818
  onMouseLeave: this.startCloseTimer,
6811
- onClick: O
6819
+ onClick: E
6812
6820
  }, T), u.createElement("div", {
6813
6821
  className: "".concat(S, "-content")
6814
6822
  }, F), x ? u.createElement("a", {
@@ -6893,10 +6901,10 @@ function requireUseMessage() {
6893
6901
  return I.then(M, D);
6894
6902
  }, q.promise = I, q;
6895
6903
  }
6896
- var O = o.useRef({});
6897
- return O.current.open = C, ["success", "info", "warning", "error", "loading"].forEach(function(F) {
6898
- return (0, l.attachTypeApi)(O.current, F);
6899
- }), [O.current, /* @__PURE__ */ o.createElement(u.ConfigConsumer, {
6904
+ var E = o.useRef({});
6905
+ return E.current.open = C, ["success", "info", "warning", "error", "loading"].forEach(function(F) {
6906
+ return (0, l.attachTypeApi)(E.current, F);
6907
+ }), [E.current, /* @__PURE__ */ o.createElement(u.ConfigConsumer, {
6900
6908
  key: "holder"
6901
6909
  }, function(F) {
6902
6910
  return m = F.getPrefixCls, _;
@@ -6913,12 +6921,12 @@ function requireMessage() {
6913
6921
  Object.defineProperty(e, "__esModule", {
6914
6922
  value: !0
6915
6923
  }), e.getKeyThenIncreaseKey = F, e.attachTypeApi = j, e.default = e.getInstance = void 0;
6916
- var n = r(require_extends()), a = r(requireDefineProperty()), o = t(React__default), s = r(requireClassnames()), u = r(require$$6$1), l = r(requireLoadingOutlined()), c = r(requireExclamationCircleFilled()), d = r(requireCloseCircleFilled()), f = r(requireCheckCircleFilled()), p = r(requireInfoCircleFilled()), h = r(requireUseMessage()), m, y = 3, b, g = 1, v = "ant-message", x = "move-up", _, C, O = !1;
6924
+ var n = r(require_extends()), a = r(requireDefineProperty()), o = t(React__default), s = r(requireClassnames()), u = r(require$$6$1), l = r(requireLoadingOutlined()), c = r(requireExclamationCircleFilled()), d = r(requireCloseCircleFilled()), f = r(requireCheckCircleFilled()), p = r(requireInfoCircleFilled()), h = r(requireUseMessage()), m, y = 3, b, g = 1, v = "ant-message", x = "move-up", _, C, E = !1;
6917
6925
  function F() {
6918
6926
  return g++;
6919
6927
  }
6920
6928
  function w(A) {
6921
- A.top !== void 0 && (b = A.top, m = null), A.duration !== void 0 && (y = A.duration), A.prefixCls !== void 0 && (v = A.prefixCls), A.getContainer !== void 0 && (_ = A.getContainer), A.transitionName !== void 0 && (x = A.transitionName, m = null), A.maxCount !== void 0 && (C = A.maxCount, m = null), A.rtl !== void 0 && (O = A.rtl);
6929
+ A.top !== void 0 && (b = A.top, m = null), A.duration !== void 0 && (y = A.duration), A.prefixCls !== void 0 && (v = A.prefixCls), A.getContainer !== void 0 && (_ = A.getContainer), A.transitionName !== void 0 && (x = A.transitionName, m = null), A.maxCount !== void 0 && (C = A.maxCount, m = null), A.rtl !== void 0 && (E = A.rtl);
6922
6930
  }
6923
6931
  function S(A, W) {
6924
6932
  var Y = A.prefixCls || v;
@@ -6959,7 +6967,7 @@ function requireMessage() {
6959
6967
  loading: l.default
6960
6968
  };
6961
6969
  function I(A, W) {
6962
- var Y, z = A.duration !== void 0 ? A.duration : y, H = T[A.type], K = (0, s.default)("".concat(W, "-custom-content"), (Y = {}, (0, a.default)(Y, "".concat(W, "-").concat(A.type), A.type), (0, a.default)(Y, "".concat(W, "-rtl"), O === !0), Y));
6970
+ var Y, z = A.duration !== void 0 ? A.duration : y, H = T[A.type], K = (0, s.default)("".concat(W, "-custom-content"), (Y = {}, (0, a.default)(Y, "".concat(W, "-").concat(A.type), A.type), (0, a.default)(Y, "".concat(W, "-rtl"), E === !0), Y));
6963
6971
  return {
6964
6972
  key: A.key,
6965
6973
  duration: z,
@@ -7251,26 +7259,26 @@ function requireUseNotification() {
7251
7259
  m == null || m.component.add(F, w);
7252
7260
  }
7253
7261
  }, b = (0, s.default)(y), g = (0, a.default)(b, 2), v = g[0], x = g[1];
7254
- function _(O) {
7255
- var F = O.prefixCls, w = h("notification", F);
7256
- c((0, n.default)((0, n.default)({}, O), {
7262
+ function _(E) {
7263
+ var F = E.prefixCls, w = h("notification", F);
7264
+ c((0, n.default)((0, n.default)({}, E), {
7257
7265
  prefixCls: w
7258
7266
  }), function(S) {
7259
7267
  var T = S.prefixCls, I = S.instance;
7260
- m = I, v(d(O, T));
7268
+ m = I, v(d(E, T));
7261
7269
  });
7262
7270
  }
7263
7271
  var C = o.useRef({});
7264
- return C.current.open = _, ["success", "info", "warning", "error"].forEach(function(O) {
7265
- C.current[O] = function(F) {
7272
+ return C.current.open = _, ["success", "info", "warning", "error"].forEach(function(E) {
7273
+ C.current[E] = function(F) {
7266
7274
  return C.current.open((0, n.default)((0, n.default)({}, F), {
7267
- type: O
7275
+ type: E
7268
7276
  }));
7269
7277
  };
7270
7278
  }), [C.current, /* @__PURE__ */ o.createElement(u.ConfigConsumer, {
7271
7279
  key: "holder"
7272
- }, function(O) {
7273
- return h = O.getPrefixCls, x;
7280
+ }, function(E) {
7281
+ return h = E.getPrefixCls, x;
7274
7282
  })];
7275
7283
  };
7276
7284
  return f;
@@ -7310,10 +7318,10 @@ function requireNotification() {
7310
7318
  }
7311
7319
  $((z = z.apply(A, W || [])).next());
7312
7320
  });
7313
- }, b = {}, g = 4.5, v = 24, x = 24, _ = "ant-notification", C = "topRight", O, F, w = !1;
7321
+ }, b = {}, g = 4.5, v = 24, x = 24, _ = "ant-notification", C = "topRight", E, F, w = !1;
7314
7322
  function S(A) {
7315
7323
  var W = A.duration, Y = A.placement, z = A.bottom, H = A.top, K = A.getContainer, U = A.closeIcon, B = A.prefixCls;
7316
- B !== void 0 && (_ = B), W !== void 0 && (g = W), Y !== void 0 ? C = Y : A.rtl && (C = "topLeft"), z !== void 0 && (x = z), H !== void 0 && (v = H), K !== void 0 && (O = K), U !== void 0 && (F = U), A.rtl !== void 0 && (w = A.rtl);
7324
+ B !== void 0 && (_ = B), W !== void 0 && (g = W), Y !== void 0 ? C = Y : A.rtl && (C = "topLeft"), z !== void 0 && (x = z), H !== void 0 && (v = H), K !== void 0 && (E = K), U !== void 0 && (F = U), A.rtl !== void 0 && (w = A.rtl);
7317
7325
  }
7318
7326
  function T(A) {
7319
7327
  var W = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : v, Y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : x, z;
@@ -7350,7 +7358,7 @@ function requireNotification() {
7350
7358
  return z;
7351
7359
  }
7352
7360
  function I(A, W) {
7353
- var Y = A.placement, z = Y === void 0 ? C : Y, H = A.top, K = A.bottom, U = A.getContainer, B = U === void 0 ? O : U, k = A.closeIcon, $ = k === void 0 ? F : k, L = A.prefixCls || _, G = "".concat(L, "-notice"), Z = "".concat(L, "-").concat(z), P = b[Z];
7361
+ var Y = A.placement, z = Y === void 0 ? C : Y, H = A.top, K = A.bottom, U = A.getContainer, B = U === void 0 ? E : U, k = A.closeIcon, $ = k === void 0 ? F : k, L = A.prefixCls || _, G = "".concat(L, "-notice"), Z = "".concat(L, "-").concat(z), P = b[Z];
7354
7362
  if (P) {
7355
7363
  Promise.resolve(P).then(function(J) {
7356
7364
  W({
@@ -7360,7 +7368,7 @@ function requireNotification() {
7360
7368
  });
7361
7369
  return;
7362
7370
  }
7363
- var E = /* @__PURE__ */ s.createElement("span", {
7371
+ var O = /* @__PURE__ */ s.createElement("span", {
7364
7372
  className: "".concat(L, "-close-x")
7365
7373
  }, $ || /* @__PURE__ */ s.createElement(l.default, {
7366
7374
  className: "".concat(L, "-close-icon")
@@ -7371,7 +7379,7 @@ function requireNotification() {
7371
7379
  className: X,
7372
7380
  style: T(z, H, K),
7373
7381
  getContainer: B,
7374
- closeIcon: E
7382
+ closeIcon: O
7375
7383
  }, function(ee) {
7376
7384
  J(ee), W({
7377
7385
  prefixCls: G,
@@ -7486,14 +7494,14 @@ function requireConfigProvider() {
7486
7494
  var n = r(require_extends()), a = t(React__default), o = r(requireContext$2()), s = require$$5, u = r(requireUseMemo()), l = t(requireLocaleProvider()), c = r(requireLocaleReceiver()), d = requireContext(), f = t(requireSizeContext()), p = r(requireMessage()), h = r(requireNotification()), m = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
7487
7495
  e.configConsumerProps = m;
7488
7496
  var y = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "form"], b = function(_) {
7489
- var C = _.children, O = _.csp, F = _.autoInsertSpaceInButton, w = _.form, S = _.locale, T = _.componentSize, I = _.direction, q = _.space, M = _.virtual, D = _.dropdownMatchSelectWidth, j = _.legacyLocale, N = _.parentContext, V = _.iconPrefixCls, A = a.useCallback(function(U, B) {
7497
+ var C = _.children, E = _.csp, F = _.autoInsertSpaceInButton, w = _.form, S = _.locale, T = _.componentSize, I = _.direction, q = _.space, M = _.virtual, D = _.dropdownMatchSelectWidth, j = _.legacyLocale, N = _.parentContext, V = _.iconPrefixCls, A = a.useCallback(function(U, B) {
7490
7498
  var k = _.prefixCls;
7491
7499
  if (B)
7492
7500
  return B;
7493
7501
  var $ = k || N.getPrefixCls("");
7494
7502
  return U ? "".concat($, "-").concat(U) : $;
7495
7503
  }, [N.getPrefixCls]), W = (0, n.default)((0, n.default)({}, N), {
7496
- csp: O,
7504
+ csp: E,
7497
7505
  autoInsertSpaceInButton: F,
7498
7506
  locale: S || j,
7499
7507
  direction: I,
@@ -7537,7 +7545,7 @@ function requireConfigProvider() {
7537
7545
  }), h.default.config({
7538
7546
  rtl: _.direction === "rtl"
7539
7547
  }));
7540
- }, [_.direction]), /* @__PURE__ */ a.createElement(c.default, null, function(C, O, F) {
7548
+ }, [_.direction]), /* @__PURE__ */ a.createElement(c.default, null, function(C, E, F) {
7541
7549
  return /* @__PURE__ */ a.createElement(d.ConfigConsumer, null, function(w) {
7542
7550
  return /* @__PURE__ */ a.createElement(b, (0, n.default)({
7543
7551
  parentContext: w,
@@ -7559,46 +7567,46 @@ function requireInput() {
7559
7567
  value: !0
7560
7568
  }), e.fixControlledValue = b, e.resolveOnChange = g, e.getInputClassName = v, e.triggerFocus = x, e.default = void 0;
7561
7569
  var n = r(require_extends()), a = r(requireClassCallCheck()), o = r(requireCreateClass()), s = r(requireInherits()), u = r(requireCreateSuper()), l = r(requireDefineProperty()), c = t(React__default), d = r(requireClassnames()), f = r(requireOmit()), p = t(requireClearableLabeledInput()), h = requireConfigProvider(), m = r(requireSizeContext()), y = r(requireDevWarning());
7562
- function b(O) {
7563
- return typeof O > "u" || O === null ? "" : O;
7570
+ function b(E) {
7571
+ return typeof E > "u" || E === null ? "" : E;
7564
7572
  }
7565
- function g(O, F, w) {
7573
+ function g(E, F, w) {
7566
7574
  if (w) {
7567
7575
  var S = F;
7568
7576
  if (F.type === "click") {
7569
- S = Object.create(F), S.target = O, S.currentTarget = O;
7570
- var T = O.value;
7571
- O.value = "", w(S), O.value = T;
7577
+ S = Object.create(F), S.target = E, S.currentTarget = E;
7578
+ var T = E.value;
7579
+ E.value = "", w(S), E.value = T;
7572
7580
  return;
7573
7581
  }
7574
7582
  w(S);
7575
7583
  }
7576
7584
  }
7577
- function v(O, F, w, S, T) {
7585
+ function v(E, F, w, S, T) {
7578
7586
  var I;
7579
- return (0, d.default)(O, (I = {}, (0, l.default)(I, "".concat(O, "-sm"), w === "small"), (0, l.default)(I, "".concat(O, "-lg"), w === "large"), (0, l.default)(I, "".concat(O, "-disabled"), S), (0, l.default)(I, "".concat(O, "-rtl"), T === "rtl"), (0, l.default)(I, "".concat(O, "-borderless"), !F), I));
7587
+ return (0, d.default)(E, (I = {}, (0, l.default)(I, "".concat(E, "-sm"), w === "small"), (0, l.default)(I, "".concat(E, "-lg"), w === "large"), (0, l.default)(I, "".concat(E, "-disabled"), S), (0, l.default)(I, "".concat(E, "-rtl"), T === "rtl"), (0, l.default)(I, "".concat(E, "-borderless"), !F), I));
7580
7588
  }
7581
- function x(O, F) {
7582
- if (!!O) {
7583
- O.focus(F);
7589
+ function x(E, F) {
7590
+ if (!!E) {
7591
+ E.focus(F);
7584
7592
  var w = F || {}, S = w.cursor;
7585
7593
  if (S) {
7586
- var T = O.value.length;
7594
+ var T = E.value.length;
7587
7595
  switch (S) {
7588
7596
  case "start":
7589
- O.setSelectionRange(0, 0);
7597
+ E.setSelectionRange(0, 0);
7590
7598
  break;
7591
7599
  case "end":
7592
- O.setSelectionRange(T, T);
7600
+ E.setSelectionRange(T, T);
7593
7601
  break;
7594
7602
  default:
7595
- O.setSelectionRange(0, T);
7603
+ E.setSelectionRange(0, T);
7596
7604
  }
7597
7605
  }
7598
7606
  }
7599
7607
  }
7600
- var _ = /* @__PURE__ */ function(O) {
7601
- (0, s.default)(w, O);
7608
+ var _ = /* @__PURE__ */ function(E) {
7609
+ (0, s.default)(w, E);
7602
7610
  var F = (0, u.default)(w);
7603
7611
  function w(S) {
7604
7612
  var T;
@@ -7781,14 +7789,14 @@ function requireClearableLabeledInput() {
7781
7789
  (0, s.default)(C, x);
7782
7790
  var _ = (0, u.default)(C);
7783
7791
  function C() {
7784
- var O;
7785
- return (0, a.default)(this, C), O = _.apply(this, arguments), O.containerRef = /* @__PURE__ */ l.createRef(), O.onInputMouseUp = function(F) {
7792
+ var E;
7793
+ return (0, a.default)(this, C), E = _.apply(this, arguments), E.containerRef = /* @__PURE__ */ l.createRef(), E.onInputMouseUp = function(F) {
7786
7794
  var w;
7787
- if (!((w = O.containerRef.current) === null || w === void 0) && w.contains(F.target)) {
7788
- var S = O.props.triggerFocus;
7795
+ if (!((w = E.containerRef.current) === null || w === void 0) && w.contains(F.target)) {
7796
+ var S = E.props.triggerFocus;
7789
7797
  S == null || S();
7790
7798
  }
7791
- }, O;
7799
+ }, E;
7792
7800
  }
7793
7801
  return (0, o.default)(C, [{
7794
7802
  key: "renderClearIcon",
@@ -7887,15 +7895,15 @@ function requireClearableLabeledInput() {
7887
7895
  value: !0
7888
7896
  }), e.default = void 0;
7889
7897
  var n = r(_typeof$2.exports), a = r(requireToConsumableArray()), o = r(require_extends()), s = r(requireDefineProperty()), u = r(requireSlicedToArray()), l = t(React__default), c = r(require$$8), d = r(requireOmit()), f = r(requireClassnames()), p = r(requireUseMergedState()), h = r(requireClearableLabeledInput()), m = requireConfigProvider(), y = requireInput(), b = r(requireSizeContext()), g = function(_, C) {
7890
- var O = {};
7898
+ var E = {};
7891
7899
  for (var F in _)
7892
- Object.prototype.hasOwnProperty.call(_, F) && C.indexOf(F) < 0 && (O[F] = _[F]);
7900
+ Object.prototype.hasOwnProperty.call(_, F) && C.indexOf(F) < 0 && (E[F] = _[F]);
7893
7901
  if (_ != null && typeof Object.getOwnPropertySymbols == "function")
7894
7902
  for (var w = 0, F = Object.getOwnPropertySymbols(_); w < F.length; w++)
7895
- C.indexOf(F[w]) < 0 && Object.prototype.propertyIsEnumerable.call(_, F[w]) && (O[F[w]] = _[F[w]]);
7896
- return O;
7903
+ C.indexOf(F[w]) < 0 && Object.prototype.propertyIsEnumerable.call(_, F[w]) && (E[F[w]] = _[F[w]]);
7904
+ return E;
7897
7905
  }, v = /* @__PURE__ */ l.forwardRef(function(_, C) {
7898
- var O, F = _.prefixCls, w = _.bordered, S = w === void 0 ? !0 : w, T = _.showCount, I = T === void 0 ? !1 : T, q = _.maxLength, M = _.className, D = _.style, j = _.size, N = g(_, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), V = l.useContext(m.ConfigContext), A = V.getPrefixCls, W = V.direction, Y = l.useContext(b.default), z = l.useRef(null), H = l.useRef(null), K = (0, p.default)(N.defaultValue, {
7906
+ var E, F = _.prefixCls, w = _.bordered, S = w === void 0 ? !0 : w, T = _.showCount, I = T === void 0 ? !1 : T, q = _.maxLength, M = _.className, D = _.style, j = _.size, N = g(_, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size"]), V = l.useContext(m.ConfigContext), A = V.getPrefixCls, W = V.direction, Y = l.useContext(b.default), z = l.useRef(null), H = l.useRef(null), K = (0, p.default)(N.defaultValue, {
7899
7907
  value: N.value
7900
7908
  }), U = (0, u.default)(K, 2), B = U[0], k = U[1], $ = l.useRef(N.value);
7901
7909
  l.useEffect(function() {
@@ -7925,9 +7933,9 @@ function requireClearableLabeledInput() {
7925
7933
  }
7926
7934
  };
7927
7935
  });
7928
- var E = /* @__PURE__ */ l.createElement(c.default, (0, o.default)({}, (0, d.default)(N, ["allowClear"]), {
7936
+ var O = /* @__PURE__ */ l.createElement(c.default, (0, o.default)({}, (0, d.default)(N, ["allowClear"]), {
7929
7937
  maxLength: q,
7930
- className: (0, f.default)((O = {}, (0, s.default)(O, "".concat(P, "-borderless"), !S), (0, s.default)(O, M, M && !I), (0, s.default)(O, "".concat(P, "-sm"), Y === "small" || j === "small"), (0, s.default)(O, "".concat(P, "-lg"), Y === "large" || j === "large"), O)),
7938
+ className: (0, f.default)((E = {}, (0, s.default)(E, "".concat(P, "-borderless"), !S), (0, s.default)(E, M, M && !I), (0, s.default)(E, "".concat(P, "-sm"), Y === "small" || j === "small"), (0, s.default)(E, "".concat(P, "-lg"), Y === "large" || j === "large"), E)),
7931
7939
  style: I ? void 0 : D,
7932
7940
  prefixCls: P,
7933
7941
  onChange: G,
@@ -7939,7 +7947,7 @@ function requireClearableLabeledInput() {
7939
7947
  direction: W,
7940
7948
  inputType: "text",
7941
7949
  value: X,
7942
- element: E,
7950
+ element: O,
7943
7951
  handleReset: Z,
7944
7952
  ref: H,
7945
7953
  bordered: S
@@ -8060,7 +8068,7 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
8060
8068
  })]
8061
8069
  }, S));
8062
8070
  }
8063
- async function O() {
8071
+ async function E() {
8064
8072
  m(!0);
8065
8073
  try {
8066
8074
  for (const w of Object.keys(y))
@@ -8093,7 +8101,7 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
8093
8101
  }), /* @__PURE__ */ jsx(Button$1, {
8094
8102
  icon: h ? /* @__PURE__ */ jsx(LoadingOutlined$3, {}) : /* @__PURE__ */ jsx(CheckOutlined$3, {}),
8095
8103
  disabled: h,
8096
- onClick: O,
8104
+ onClick: E,
8097
8105
  style: {
8098
8106
  marginLeft: 15
8099
8107
  },
@@ -8395,29 +8403,29 @@ function debounce(e, t, r) {
8395
8403
  if (typeof e != "function")
8396
8404
  throw new TypeError(FUNC_ERROR_TEXT);
8397
8405
  t = toNumber(t) || 0, isObject$1(r) && (d = !!r.leading, f = "maxWait" in r, o = f ? nativeMax(toNumber(r.maxWait) || 0, t) : o, p = "trailing" in r ? !!r.trailing : p);
8398
- function h(O) {
8406
+ function h(E) {
8399
8407
  var F = n, w = a;
8400
- return n = a = void 0, c = O, s = e.apply(w, F), s;
8408
+ return n = a = void 0, c = E, s = e.apply(w, F), s;
8401
8409
  }
8402
- function m(O) {
8403
- return c = O, u = setTimeout(g, t), d ? h(O) : s;
8410
+ function m(E) {
8411
+ return c = E, u = setTimeout(g, t), d ? h(E) : s;
8404
8412
  }
8405
- function y(O) {
8406
- var F = O - l, w = O - c, S = t - F;
8413
+ function y(E) {
8414
+ var F = E - l, w = E - c, S = t - F;
8407
8415
  return f ? nativeMin(S, o - w) : S;
8408
8416
  }
8409
- function b(O) {
8410
- var F = O - l, w = O - c;
8417
+ function b(E) {
8418
+ var F = E - l, w = E - c;
8411
8419
  return l === void 0 || F >= t || F < 0 || f && w >= o;
8412
8420
  }
8413
8421
  function g() {
8414
- var O = now$1();
8415
- if (b(O))
8416
- return v(O);
8417
- u = setTimeout(g, y(O));
8422
+ var E = now$1();
8423
+ if (b(E))
8424
+ return v(E);
8425
+ u = setTimeout(g, y(E));
8418
8426
  }
8419
- function v(O) {
8420
- return u = void 0, p && n ? h(O) : (n = a = void 0, s);
8427
+ function v(E) {
8428
+ return u = void 0, p && n ? h(E) : (n = a = void 0, s);
8421
8429
  }
8422
8430
  function x() {
8423
8431
  u !== void 0 && clearTimeout(u), c = 0, n = l = a = u = void 0;
@@ -8426,8 +8434,8 @@ function debounce(e, t, r) {
8426
8434
  return u === void 0 ? s : v(now$1());
8427
8435
  }
8428
8436
  function C() {
8429
- var O = now$1(), F = b(O);
8430
- if (n = arguments, a = this, l = O, F) {
8437
+ var E = now$1(), F = b(E);
8438
+ if (n = arguments, a = this, l = E, F) {
8431
8439
  if (u === void 0)
8432
8440
  return m(l);
8433
8441
  if (f)
@@ -8982,7 +8990,7 @@ function require_stream_writable() {
8982
8990
  };
8983
8991
  }
8984
8992
  var t;
8985
- w.WritableState = O;
8993
+ w.WritableState = E;
8986
8994
  var r = {
8987
8995
  deprecate: browser
8988
8996
  }, n = streamBrowser, a = require$$0.Buffer, o = commonjsGlobal.Uint8Array || function() {
@@ -8997,20 +9005,20 @@ function require_stream_writable() {
8997
9005
  inherits_browser.exports(w, n);
8998
9006
  function C() {
8999
9007
  }
9000
- function O(k, $, L) {
9008
+ function E(k, $, L) {
9001
9009
  t = t || require_stream_duplex(), k = k || {}, typeof L != "boolean" && (L = $ instanceof t), this.objectMode = !!k.objectMode, L && (this.objectMode = this.objectMode || !!k.writableObjectMode), this.highWaterMark = d(this, k, "writableHighWaterMark", L), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
9002
9010
  var G = k.decodeStrings === !1;
9003
9011
  this.decodeStrings = !G, this.defaultEncoding = k.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(Z) {
9004
9012
  N($, Z);
9005
9013
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = k.emitClose !== !1, this.autoDestroy = !!k.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new e(this);
9006
9014
  }
9007
- O.prototype.getBuffer = function() {
9015
+ E.prototype.getBuffer = function() {
9008
9016
  for (var $ = this.bufferedRequest, L = []; $; )
9009
9017
  L.push($), $ = $.next;
9010
9018
  return L;
9011
9019
  }, function() {
9012
9020
  try {
9013
- Object.defineProperty(O.prototype, "buffer", {
9021
+ Object.defineProperty(E.prototype, "buffer", {
9014
9022
  get: r.deprecate(function() {
9015
9023
  return this.getBuffer();
9016
9024
  }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003")
@@ -9021,7 +9029,7 @@ function require_stream_writable() {
9021
9029
  var F;
9022
9030
  typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (F = Function.prototype[Symbol.hasInstance], Object.defineProperty(w, Symbol.hasInstance, {
9023
9031
  value: function($) {
9024
- return F.call(this, $) ? !0 : this !== w ? !1 : $ && $._writableState instanceof O;
9032
+ return F.call(this, $) ? !0 : this !== w ? !1 : $ && $._writableState instanceof E;
9025
9033
  }
9026
9034
  })) : F = function($) {
9027
9035
  return $ instanceof this;
@@ -9031,7 +9039,7 @@ function require_stream_writable() {
9031
9039
  var $ = this instanceof t;
9032
9040
  if (!$ && !F.call(w, this))
9033
9041
  return new w(k);
9034
- this._writableState = new O(k, this, $), this.writable = !0, k && (typeof k.write == "function" && (this._write = k.write), typeof k.writev == "function" && (this._writev = k.writev), typeof k.destroy == "function" && (this._destroy = k.destroy), typeof k.final == "function" && (this._final = k.final)), n.call(this);
9042
+ this._writableState = new E(k, this, $), this.writable = !0, k && (typeof k.write == "function" && (this._write = k.write), typeof k.writev == "function" && (this._writev = k.writev), typeof k.destroy == "function" && (this._destroy = k.destroy), typeof k.final == "function" && (this._final = k.final)), n.call(this);
9035
9043
  }
9036
9044
  w.prototype.pipe = function() {
9037
9045
  _(this, new y());
@@ -9073,8 +9081,8 @@ function require_stream_writable() {
9073
9081
  });
9074
9082
  function q(k, $, L, G, Z, P) {
9075
9083
  if (!L) {
9076
- var E = I($, G, Z);
9077
- G !== E && (L = !0, Z = "buffer", G = E);
9084
+ var O = I($, G, Z);
9085
+ G !== O && (L = !0, Z = "buffer", G = O);
9078
9086
  }
9079
9087
  var X = $.objectMode ? 1 : G.length;
9080
9088
  $.length += X;
@@ -9092,8 +9100,8 @@ function require_stream_writable() {
9092
9100
  M(k, $, !1, X, G, Z, P);
9093
9101
  return J;
9094
9102
  }
9095
- function M(k, $, L, G, Z, P, E) {
9096
- $.writelen = G, $.writecb = E, $.writing = !0, $.sync = !0, $.destroyed ? $.onwrite(new b("write")) : L ? k._writev(Z, $.onwrite) : k._write(Z, P, $.onwrite), $.sync = !1;
9103
+ function M(k, $, L, G, Z, P, O) {
9104
+ $.writelen = G, $.writecb = O, $.writing = !0, $.sync = !0, $.destroyed ? $.onwrite(new b("write")) : L ? k._writev(Z, $.onwrite) : k._write(Z, P, $.onwrite), $.sync = !1;
9097
9105
  }
9098
9106
  function D(k, $, L, G, Z) {
9099
9107
  --$.pendingcb, L ? (process.nextTick(Z, G), process.nextTick(K, k, $), k._writableState.errorEmitted = !0, _(k, G)) : (Z(G), k._writableState.errorEmitted = !0, _(k, G), K(k, $));
@@ -9124,8 +9132,8 @@ function require_stream_writable() {
9124
9132
  if (k._writev && L && L.next) {
9125
9133
  var G = $.bufferedRequestCount, Z = new Array(G), P = $.corkedRequestsFree;
9126
9134
  P.entry = L;
9127
- for (var E = 0, X = !0; L; )
9128
- Z[E] = L, L.isBuf || (X = !1), L = L.next, E += 1;
9135
+ for (var O = 0, X = !0; L; )
9136
+ Z[O] = L, L.isBuf || (X = !1), L = L.next, O += 1;
9129
9137
  Z.allBuffers = X, M(k, $, !0, $.length, Z, "", P.finish), $.pendingcb++, $.lastBufferedRequest = null, P.next ? ($.corkedRequestsFree = P.next, P.next = null) : $.corkedRequestsFree = new e($), $.bufferedRequestCount = 0;
9130
9138
  } else {
9131
9139
  for (; L; ) {
@@ -9544,9 +9552,9 @@ function requireAsync_iterator() {
9544
9552
  if (_)
9545
9553
  C = new Promise(h(_, this));
9546
9554
  else {
9547
- var O = this[c].read();
9548
- if (O !== null)
9549
- return Promise.resolve(d(O, !1));
9555
+ var E = this[c].read();
9556
+ if (E !== null)
9557
+ return Promise.resolve(d(E, !1));
9550
9558
  C = new Promise(this[l]);
9551
9559
  }
9552
9560
  return this[u] = C, C;
@@ -9581,16 +9589,16 @@ function requireAsync_iterator() {
9581
9589
  value: v._readableState.endEmitted,
9582
9590
  writable: !0
9583
9591
  }), t(x, l, {
9584
- value: function(O, F) {
9592
+ value: function(E, F) {
9585
9593
  var w = _[c].read();
9586
- w ? (_[u] = null, _[n] = null, _[a] = null, O(d(w, !1))) : (_[n] = O, _[a] = F);
9594
+ w ? (_[u] = null, _[n] = null, _[a] = null, E(d(w, !1))) : (_[n] = E, _[a] = F);
9587
9595
  },
9588
9596
  writable: !0
9589
9597
  }), x));
9590
9598
  return _[u] = null, r(v, function(C) {
9591
9599
  if (C && C.code !== "ERR_STREAM_PREMATURE_CLOSE") {
9592
- var O = _[a];
9593
- O !== null && (_[u] = null, _[n] = null, _[a] = null, O(C)), _[o] = C;
9600
+ var E = _[a];
9601
+ E !== null && (_[u] = null, _[n] = null, _[a] = null, E(C)), _[o] = C;
9594
9602
  return;
9595
9603
  }
9596
9604
  var F = _[n];
@@ -9612,8 +9620,8 @@ function require_stream_readable() {
9612
9620
  hasRequired_stream_readable = 1, _stream_readable = S;
9613
9621
  var e;
9614
9622
  S.ReadableState = w, events.exports.EventEmitter;
9615
- var t = function(E, X) {
9616
- return E.listeners(X).length;
9623
+ var t = function(O, X) {
9624
+ return O.listeners(X).length;
9617
9625
  }, r = streamBrowser, n = require$$0.Buffer, a = commonjsGlobal.Uint8Array || function() {
9618
9626
  };
9619
9627
  function o(P) {
@@ -9627,128 +9635,128 @@ function require_stream_readable() {
9627
9635
  };
9628
9636
  var c = requireBuffer_list(), d = destroy_1, f = state, p = f.getHighWaterMark, h = errorsBrowser.codes, m = h.ERR_INVALID_ARG_TYPE, y = h.ERR_STREAM_PUSH_AFTER_EOF, b = h.ERR_METHOD_NOT_IMPLEMENTED, g = h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, v, x, _;
9629
9637
  inherits_browser.exports(S, r);
9630
- var C = d.errorOrDestroy, O = ["error", "close", "destroy", "pause", "resume"];
9631
- function F(P, E, X) {
9638
+ var C = d.errorOrDestroy, E = ["error", "close", "destroy", "pause", "resume"];
9639
+ function F(P, O, X) {
9632
9640
  if (typeof P.prependListener == "function")
9633
- return P.prependListener(E, X);
9634
- !P._events || !P._events[E] ? P.on(E, X) : Array.isArray(P._events[E]) ? P._events[E].unshift(X) : P._events[E] = [X, P._events[E]];
9641
+ return P.prependListener(O, X);
9642
+ !P._events || !P._events[O] ? P.on(O, X) : Array.isArray(P._events[O]) ? P._events[O].unshift(X) : P._events[O] = [X, P._events[O]];
9635
9643
  }
9636
- function w(P, E, X) {
9637
- e = e || require_stream_duplex(), P = P || {}, typeof X != "boolean" && (X = E instanceof e), this.objectMode = !!P.objectMode, X && (this.objectMode = this.objectMode || !!P.readableObjectMode), this.highWaterMark = p(this, P, "readableHighWaterMark", X), this.buffer = new c(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = P.emitClose !== !1, this.autoDestroy = !!P.autoDestroy, this.destroyed = !1, this.defaultEncoding = P.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, P.encoding && (v || (v = requireString_decoder().StringDecoder), this.decoder = new v(P.encoding), this.encoding = P.encoding);
9644
+ function w(P, O, X) {
9645
+ e = e || require_stream_duplex(), P = P || {}, typeof X != "boolean" && (X = O instanceof e), this.objectMode = !!P.objectMode, X && (this.objectMode = this.objectMode || !!P.readableObjectMode), this.highWaterMark = p(this, P, "readableHighWaterMark", X), this.buffer = new c(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = P.emitClose !== !1, this.autoDestroy = !!P.autoDestroy, this.destroyed = !1, this.defaultEncoding = P.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, P.encoding && (v || (v = requireString_decoder().StringDecoder), this.decoder = new v(P.encoding), this.encoding = P.encoding);
9638
9646
  }
9639
9647
  function S(P) {
9640
9648
  if (e = e || require_stream_duplex(), !(this instanceof S))
9641
9649
  return new S(P);
9642
- var E = this instanceof e;
9643
- this._readableState = new w(P, this, E), this.readable = !0, P && (typeof P.read == "function" && (this._read = P.read), typeof P.destroy == "function" && (this._destroy = P.destroy)), r.call(this);
9650
+ var O = this instanceof e;
9651
+ this._readableState = new w(P, this, O), this.readable = !0, P && (typeof P.read == "function" && (this._read = P.read), typeof P.destroy == "function" && (this._destroy = P.destroy)), r.call(this);
9644
9652
  }
9645
9653
  Object.defineProperty(S.prototype, "destroyed", {
9646
9654
  enumerable: !1,
9647
9655
  get: function() {
9648
9656
  return this._readableState === void 0 ? !1 : this._readableState.destroyed;
9649
9657
  },
9650
- set: function(E) {
9651
- !this._readableState || (this._readableState.destroyed = E);
9658
+ set: function(O) {
9659
+ !this._readableState || (this._readableState.destroyed = O);
9652
9660
  }
9653
- }), S.prototype.destroy = d.destroy, S.prototype._undestroy = d.undestroy, S.prototype._destroy = function(P, E) {
9654
- E(P);
9655
- }, S.prototype.push = function(P, E) {
9661
+ }), S.prototype.destroy = d.destroy, S.prototype._undestroy = d.undestroy, S.prototype._destroy = function(P, O) {
9662
+ O(P);
9663
+ }, S.prototype.push = function(P, O) {
9656
9664
  var X = this._readableState, J;
9657
- return X.objectMode ? J = !0 : typeof P == "string" && (E = E || X.defaultEncoding, E !== X.encoding && (P = n.from(P, E), E = ""), J = !0), T(this, P, E, !1, J);
9665
+ return X.objectMode ? J = !0 : typeof P == "string" && (O = O || X.defaultEncoding, O !== X.encoding && (P = n.from(P, O), O = ""), J = !0), T(this, P, O, !1, J);
9658
9666
  }, S.prototype.unshift = function(P) {
9659
9667
  return T(this, P, null, !0, !1);
9660
9668
  };
9661
- function T(P, E, X, J, ee) {
9662
- l("readableAddChunk", E);
9669
+ function T(P, O, X, J, ee) {
9670
+ l("readableAddChunk", O);
9663
9671
  var Q = P._readableState;
9664
- if (E === null)
9672
+ if (O === null)
9665
9673
  Q.reading = !1, N(P, Q);
9666
9674
  else {
9667
9675
  var ie;
9668
- if (ee || (ie = q(Q, E)), ie)
9676
+ if (ee || (ie = q(Q, O)), ie)
9669
9677
  C(P, ie);
9670
- else if (Q.objectMode || E && E.length > 0)
9671
- if (typeof E != "string" && !Q.objectMode && Object.getPrototypeOf(E) !== n.prototype && (E = o(E)), J)
9672
- Q.endEmitted ? C(P, new g()) : I(P, Q, E, !0);
9678
+ else if (Q.objectMode || O && O.length > 0)
9679
+ if (typeof O != "string" && !Q.objectMode && Object.getPrototypeOf(O) !== n.prototype && (O = o(O)), J)
9680
+ Q.endEmitted ? C(P, new g()) : I(P, Q, O, !0);
9673
9681
  else if (Q.ended)
9674
9682
  C(P, new y());
9675
9683
  else {
9676
9684
  if (Q.destroyed)
9677
9685
  return !1;
9678
- Q.reading = !1, Q.decoder && !X ? (E = Q.decoder.write(E), Q.objectMode || E.length !== 0 ? I(P, Q, E, !1) : W(P, Q)) : I(P, Q, E, !1);
9686
+ Q.reading = !1, Q.decoder && !X ? (O = Q.decoder.write(O), Q.objectMode || O.length !== 0 ? I(P, Q, O, !1) : W(P, Q)) : I(P, Q, O, !1);
9679
9687
  }
9680
9688
  else
9681
9689
  J || (Q.reading = !1, W(P, Q));
9682
9690
  }
9683
9691
  return !Q.ended && (Q.length < Q.highWaterMark || Q.length === 0);
9684
9692
  }
9685
- function I(P, E, X, J) {
9686
- E.flowing && E.length === 0 && !E.sync ? (E.awaitDrain = 0, P.emit("data", X)) : (E.length += E.objectMode ? 1 : X.length, J ? E.buffer.unshift(X) : E.buffer.push(X), E.needReadable && V(P)), W(P, E);
9693
+ function I(P, O, X, J) {
9694
+ O.flowing && O.length === 0 && !O.sync ? (O.awaitDrain = 0, P.emit("data", X)) : (O.length += O.objectMode ? 1 : X.length, J ? O.buffer.unshift(X) : O.buffer.push(X), O.needReadable && V(P)), W(P, O);
9687
9695
  }
9688
- function q(P, E) {
9696
+ function q(P, O) {
9689
9697
  var X;
9690
- return !s(E) && typeof E != "string" && E !== void 0 && !P.objectMode && (X = new m("chunk", ["string", "Buffer", "Uint8Array"], E)), X;
9698
+ return !s(O) && typeof O != "string" && O !== void 0 && !P.objectMode && (X = new m("chunk", ["string", "Buffer", "Uint8Array"], O)), X;
9691
9699
  }
9692
9700
  S.prototype.isPaused = function() {
9693
9701
  return this._readableState.flowing === !1;
9694
9702
  }, S.prototype.setEncoding = function(P) {
9695
9703
  v || (v = requireString_decoder().StringDecoder);
9696
- var E = new v(P);
9697
- this._readableState.decoder = E, this._readableState.encoding = this._readableState.decoder.encoding;
9704
+ var O = new v(P);
9705
+ this._readableState.decoder = O, this._readableState.encoding = this._readableState.decoder.encoding;
9698
9706
  for (var X = this._readableState.buffer.head, J = ""; X !== null; )
9699
- J += E.write(X.data), X = X.next;
9707
+ J += O.write(X.data), X = X.next;
9700
9708
  return this._readableState.buffer.clear(), J !== "" && this._readableState.buffer.push(J), this._readableState.length = J.length, this;
9701
9709
  };
9702
9710
  var M = 1073741824;
9703
9711
  function D(P) {
9704
9712
  return P >= M ? P = M : (P--, P |= P >>> 1, P |= P >>> 2, P |= P >>> 4, P |= P >>> 8, P |= P >>> 16, P++), P;
9705
9713
  }
9706
- function j(P, E) {
9707
- return P <= 0 || E.length === 0 && E.ended ? 0 : E.objectMode ? 1 : P !== P ? E.flowing && E.length ? E.buffer.head.data.length : E.length : (P > E.highWaterMark && (E.highWaterMark = D(P)), P <= E.length ? P : E.ended ? E.length : (E.needReadable = !0, 0));
9714
+ function j(P, O) {
9715
+ return P <= 0 || O.length === 0 && O.ended ? 0 : O.objectMode ? 1 : P !== P ? O.flowing && O.length ? O.buffer.head.data.length : O.length : (P > O.highWaterMark && (O.highWaterMark = D(P)), P <= O.length ? P : O.ended ? O.length : (O.needReadable = !0, 0));
9708
9716
  }
9709
9717
  S.prototype.read = function(P) {
9710
9718
  l("read", P), P = parseInt(P, 10);
9711
- var E = this._readableState, X = P;
9712
- if (P !== 0 && (E.emittedReadable = !1), P === 0 && E.needReadable && ((E.highWaterMark !== 0 ? E.length >= E.highWaterMark : E.length > 0) || E.ended))
9713
- return l("read: emitReadable", E.length, E.ended), E.length === 0 && E.ended ? L(this) : V(this), null;
9714
- if (P = j(P, E), P === 0 && E.ended)
9715
- return E.length === 0 && L(this), null;
9716
- var J = E.needReadable;
9717
- l("need readable", J), (E.length === 0 || E.length - P < E.highWaterMark) && (J = !0, l("length less than watermark", J)), E.ended || E.reading ? (J = !1, l("reading or ended", J)) : J && (l("do read"), E.reading = !0, E.sync = !0, E.length === 0 && (E.needReadable = !0), this._read(E.highWaterMark), E.sync = !1, E.reading || (P = j(X, E)));
9719
+ var O = this._readableState, X = P;
9720
+ if (P !== 0 && (O.emittedReadable = !1), P === 0 && O.needReadable && ((O.highWaterMark !== 0 ? O.length >= O.highWaterMark : O.length > 0) || O.ended))
9721
+ return l("read: emitReadable", O.length, O.ended), O.length === 0 && O.ended ? L(this) : V(this), null;
9722
+ if (P = j(P, O), P === 0 && O.ended)
9723
+ return O.length === 0 && L(this), null;
9724
+ var J = O.needReadable;
9725
+ l("need readable", J), (O.length === 0 || O.length - P < O.highWaterMark) && (J = !0, l("length less than watermark", J)), O.ended || O.reading ? (J = !1, l("reading or ended", J)) : J && (l("do read"), O.reading = !0, O.sync = !0, O.length === 0 && (O.needReadable = !0), this._read(O.highWaterMark), O.sync = !1, O.reading || (P = j(X, O)));
9718
9726
  var ee;
9719
- return P > 0 ? ee = $(P, E) : ee = null, ee === null ? (E.needReadable = E.length <= E.highWaterMark, P = 0) : (E.length -= P, E.awaitDrain = 0), E.length === 0 && (E.ended || (E.needReadable = !0), X !== P && E.ended && L(this)), ee !== null && this.emit("data", ee), ee;
9727
+ return P > 0 ? ee = $(P, O) : ee = null, ee === null ? (O.needReadable = O.length <= O.highWaterMark, P = 0) : (O.length -= P, O.awaitDrain = 0), O.length === 0 && (O.ended || (O.needReadable = !0), X !== P && O.ended && L(this)), ee !== null && this.emit("data", ee), ee;
9720
9728
  };
9721
- function N(P, E) {
9722
- if (l("onEofChunk"), !E.ended) {
9723
- if (E.decoder) {
9724
- var X = E.decoder.end();
9725
- X && X.length && (E.buffer.push(X), E.length += E.objectMode ? 1 : X.length);
9729
+ function N(P, O) {
9730
+ if (l("onEofChunk"), !O.ended) {
9731
+ if (O.decoder) {
9732
+ var X = O.decoder.end();
9733
+ X && X.length && (O.buffer.push(X), O.length += O.objectMode ? 1 : X.length);
9726
9734
  }
9727
- E.ended = !0, E.sync ? V(P) : (E.needReadable = !1, E.emittedReadable || (E.emittedReadable = !0, A(P)));
9735
+ O.ended = !0, O.sync ? V(P) : (O.needReadable = !1, O.emittedReadable || (O.emittedReadable = !0, A(P)));
9728
9736
  }
9729
9737
  }
9730
9738
  function V(P) {
9731
- var E = P._readableState;
9732
- l("emitReadable", E.needReadable, E.emittedReadable), E.needReadable = !1, E.emittedReadable || (l("emitReadable", E.flowing), E.emittedReadable = !0, process.nextTick(A, P));
9739
+ var O = P._readableState;
9740
+ l("emitReadable", O.needReadable, O.emittedReadable), O.needReadable = !1, O.emittedReadable || (l("emitReadable", O.flowing), O.emittedReadable = !0, process.nextTick(A, P));
9733
9741
  }
9734
9742
  function A(P) {
9735
- var E = P._readableState;
9736
- l("emitReadable_", E.destroyed, E.length, E.ended), !E.destroyed && (E.length || E.ended) && (P.emit("readable"), E.emittedReadable = !1), E.needReadable = !E.flowing && !E.ended && E.length <= E.highWaterMark, k(P);
9743
+ var O = P._readableState;
9744
+ l("emitReadable_", O.destroyed, O.length, O.ended), !O.destroyed && (O.length || O.ended) && (P.emit("readable"), O.emittedReadable = !1), O.needReadable = !O.flowing && !O.ended && O.length <= O.highWaterMark, k(P);
9737
9745
  }
9738
- function W(P, E) {
9739
- E.readingMore || (E.readingMore = !0, process.nextTick(Y, P, E));
9746
+ function W(P, O) {
9747
+ O.readingMore || (O.readingMore = !0, process.nextTick(Y, P, O));
9740
9748
  }
9741
- function Y(P, E) {
9742
- for (; !E.reading && !E.ended && (E.length < E.highWaterMark || E.flowing && E.length === 0); ) {
9743
- var X = E.length;
9744
- if (l("maybeReadMore read 0"), P.read(0), X === E.length)
9749
+ function Y(P, O) {
9750
+ for (; !O.reading && !O.ended && (O.length < O.highWaterMark || O.flowing && O.length === 0); ) {
9751
+ var X = O.length;
9752
+ if (l("maybeReadMore read 0"), P.read(0), X === O.length)
9745
9753
  break;
9746
9754
  }
9747
- E.readingMore = !1;
9755
+ O.readingMore = !1;
9748
9756
  }
9749
9757
  S.prototype._read = function(P) {
9750
9758
  C(this, new b("_read()"));
9751
- }, S.prototype.pipe = function(P, E) {
9759
+ }, S.prototype.pipe = function(P, O) {
9752
9760
  var X = this, J = this._readableState;
9753
9761
  switch (J.pipesCount) {
9754
9762
  case 0:
@@ -9761,8 +9769,8 @@ function require_stream_readable() {
9761
9769
  J.pipes.push(P);
9762
9770
  break;
9763
9771
  }
9764
- J.pipesCount += 1, l("pipe count=%d opts=%j", J.pipesCount, E);
9765
- var ee = (!E || E.end !== !1) && P !== process.stdout && P !== process.stderr, Q = ee ? te : he;
9772
+ J.pipesCount += 1, l("pipe count=%d opts=%j", J.pipesCount, O);
9773
+ var ee = (!O || O.end !== !1) && P !== process.stdout && P !== process.stderr, Q = ee ? te : he;
9766
9774
  J.endEmitted ? process.nextTick(Q) : X.once("end", Q), P.on("unpipe", ie);
9767
9775
  function ie(ge, pe) {
9768
9776
  l("onunpipe"), ge === X && pe && pe.hasUnpiped === !1 && (pe.hasUnpiped = !0, _e());
@@ -9806,37 +9814,37 @@ function require_stream_readable() {
9806
9814
  };
9807
9815
  }
9808
9816
  S.prototype.unpipe = function(P) {
9809
- var E = this._readableState, X = {
9817
+ var O = this._readableState, X = {
9810
9818
  hasUnpiped: !1
9811
9819
  };
9812
- if (E.pipesCount === 0)
9820
+ if (O.pipesCount === 0)
9813
9821
  return this;
9814
- if (E.pipesCount === 1)
9815
- return P && P !== E.pipes ? this : (P || (P = E.pipes), E.pipes = null, E.pipesCount = 0, E.flowing = !1, P && P.emit("unpipe", this, X), this);
9822
+ if (O.pipesCount === 1)
9823
+ return P && P !== O.pipes ? this : (P || (P = O.pipes), O.pipes = null, O.pipesCount = 0, O.flowing = !1, P && P.emit("unpipe", this, X), this);
9816
9824
  if (!P) {
9817
- var J = E.pipes, ee = E.pipesCount;
9818
- E.pipes = null, E.pipesCount = 0, E.flowing = !1;
9825
+ var J = O.pipes, ee = O.pipesCount;
9826
+ O.pipes = null, O.pipesCount = 0, O.flowing = !1;
9819
9827
  for (var Q = 0; Q < ee; Q++)
9820
9828
  J[Q].emit("unpipe", this, {
9821
9829
  hasUnpiped: !1
9822
9830
  });
9823
9831
  return this;
9824
9832
  }
9825
- var ie = Z(E.pipes, P);
9826
- return ie === -1 ? this : (E.pipes.splice(ie, 1), E.pipesCount -= 1, E.pipesCount === 1 && (E.pipes = E.pipes[0]), P.emit("unpipe", this, X), this);
9827
- }, S.prototype.on = function(P, E) {
9828
- var X = r.prototype.on.call(this, P, E), J = this._readableState;
9833
+ var ie = Z(O.pipes, P);
9834
+ return ie === -1 ? this : (O.pipes.splice(ie, 1), O.pipesCount -= 1, O.pipesCount === 1 && (O.pipes = O.pipes[0]), P.emit("unpipe", this, X), this);
9835
+ }, S.prototype.on = function(P, O) {
9836
+ var X = r.prototype.on.call(this, P, O), J = this._readableState;
9829
9837
  return P === "data" ? (J.readableListening = this.listenerCount("readable") > 0, J.flowing !== !1 && this.resume()) : P === "readable" && !J.endEmitted && !J.readableListening && (J.readableListening = J.needReadable = !0, J.flowing = !1, J.emittedReadable = !1, l("on readable", J.length, J.reading), J.length ? V(this) : J.reading || process.nextTick(K, this)), X;
9830
- }, S.prototype.addListener = S.prototype.on, S.prototype.removeListener = function(P, E) {
9831
- var X = r.prototype.removeListener.call(this, P, E);
9838
+ }, S.prototype.addListener = S.prototype.on, S.prototype.removeListener = function(P, O) {
9839
+ var X = r.prototype.removeListener.call(this, P, O);
9832
9840
  return P === "readable" && process.nextTick(H, this), X;
9833
9841
  }, S.prototype.removeAllListeners = function(P) {
9834
- var E = r.prototype.removeAllListeners.apply(this, arguments);
9835
- return (P === "readable" || P === void 0) && process.nextTick(H, this), E;
9842
+ var O = r.prototype.removeAllListeners.apply(this, arguments);
9843
+ return (P === "readable" || P === void 0) && process.nextTick(H, this), O;
9836
9844
  };
9837
9845
  function H(P) {
9838
- var E = P._readableState;
9839
- E.readableListening = P.listenerCount("readable") > 0, E.resumeScheduled && !E.paused ? E.flowing = !0 : P.listenerCount("data") > 0 && P.resume();
9846
+ var O = P._readableState;
9847
+ O.readableListening = P.listenerCount("readable") > 0, O.resumeScheduled && !O.paused ? O.flowing = !0 : P.listenerCount("data") > 0 && P.resume();
9840
9848
  }
9841
9849
  function K(P) {
9842
9850
  l("readable nexttick read 0"), P.read(0);
@@ -9845,31 +9853,31 @@ function require_stream_readable() {
9845
9853
  var P = this._readableState;
9846
9854
  return P.flowing || (l("resume"), P.flowing = !P.readableListening, U(this, P)), P.paused = !1, this;
9847
9855
  };
9848
- function U(P, E) {
9849
- E.resumeScheduled || (E.resumeScheduled = !0, process.nextTick(B, P, E));
9856
+ function U(P, O) {
9857
+ O.resumeScheduled || (O.resumeScheduled = !0, process.nextTick(B, P, O));
9850
9858
  }
9851
- function B(P, E) {
9852
- l("resume", E.reading), E.reading || P.read(0), E.resumeScheduled = !1, P.emit("resume"), k(P), E.flowing && !E.reading && P.read(0);
9859
+ function B(P, O) {
9860
+ l("resume", O.reading), O.reading || P.read(0), O.resumeScheduled = !1, P.emit("resume"), k(P), O.flowing && !O.reading && P.read(0);
9853
9861
  }
9854
9862
  S.prototype.pause = function() {
9855
9863
  return l("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (l("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this;
9856
9864
  };
9857
9865
  function k(P) {
9858
- var E = P._readableState;
9859
- for (l("flow", E.flowing); E.flowing && P.read() !== null; )
9866
+ var O = P._readableState;
9867
+ for (l("flow", O.flowing); O.flowing && P.read() !== null; )
9860
9868
  ;
9861
9869
  }
9862
9870
  S.prototype.wrap = function(P) {
9863
- var E = this, X = this._readableState, J = !1;
9871
+ var O = this, X = this._readableState, J = !1;
9864
9872
  P.on("end", function() {
9865
9873
  if (l("wrapped end"), X.decoder && !X.ended) {
9866
9874
  var ie = X.decoder.end();
9867
- ie && ie.length && E.push(ie);
9875
+ ie && ie.length && O.push(ie);
9868
9876
  }
9869
- E.push(null);
9877
+ O.push(null);
9870
9878
  }), P.on("data", function(ie) {
9871
9879
  if (l("wrapped data"), X.decoder && (ie = X.decoder.write(ie)), !(X.objectMode && ie == null) && !(!X.objectMode && (!ie || !ie.length))) {
9872
- var te = E.push(ie);
9880
+ var te = O.push(ie);
9873
9881
  te || (J = !0, P.pause());
9874
9882
  }
9875
9883
  });
@@ -9879,8 +9887,8 @@ function require_stream_readable() {
9879
9887
  return P[te].apply(P, arguments);
9880
9888
  };
9881
9889
  }(ee));
9882
- for (var Q = 0; Q < O.length; Q++)
9883
- P.on(O[Q], this.emit.bind(this, O[Q]));
9890
+ for (var Q = 0; Q < E.length; Q++)
9891
+ P.on(E[Q], this.emit.bind(this, E[Q]));
9884
9892
  return this._read = function(ie) {
9885
9893
  l("wrapped _read", ie), J && (J = !1, P.resume());
9886
9894
  }, this;
@@ -9901,8 +9909,8 @@ function require_stream_readable() {
9901
9909
  get: function() {
9902
9910
  return this._readableState.flowing;
9903
9911
  },
9904
- set: function(E) {
9905
- this._readableState && (this._readableState.flowing = E);
9912
+ set: function(O) {
9913
+ this._readableState && (this._readableState.flowing = O);
9906
9914
  }
9907
9915
  }), S._fromList = $, Object.defineProperty(S.prototype, "readableLength", {
9908
9916
  enumerable: !1,
@@ -9910,28 +9918,28 @@ function require_stream_readable() {
9910
9918
  return this._readableState.length;
9911
9919
  }
9912
9920
  });
9913
- function $(P, E) {
9914
- if (E.length === 0)
9921
+ function $(P, O) {
9922
+ if (O.length === 0)
9915
9923
  return null;
9916
9924
  var X;
9917
- return E.objectMode ? X = E.buffer.shift() : !P || P >= E.length ? (E.decoder ? X = E.buffer.join("") : E.buffer.length === 1 ? X = E.buffer.first() : X = E.buffer.concat(E.length), E.buffer.clear()) : X = E.buffer.consume(P, E.decoder), X;
9925
+ return O.objectMode ? X = O.buffer.shift() : !P || P >= O.length ? (O.decoder ? X = O.buffer.join("") : O.buffer.length === 1 ? X = O.buffer.first() : X = O.buffer.concat(O.length), O.buffer.clear()) : X = O.buffer.consume(P, O.decoder), X;
9918
9926
  }
9919
9927
  function L(P) {
9920
- var E = P._readableState;
9921
- l("endReadable", E.endEmitted), E.endEmitted || (E.ended = !0, process.nextTick(G, E, P));
9928
+ var O = P._readableState;
9929
+ l("endReadable", O.endEmitted), O.endEmitted || (O.ended = !0, process.nextTick(G, O, P));
9922
9930
  }
9923
- function G(P, E) {
9924
- if (l("endReadableNT", P.endEmitted, P.length), !P.endEmitted && P.length === 0 && (P.endEmitted = !0, E.readable = !1, E.emit("end"), P.autoDestroy)) {
9925
- var X = E._writableState;
9926
- (!X || X.autoDestroy && X.finished) && E.destroy();
9931
+ function G(P, O) {
9932
+ if (l("endReadableNT", P.endEmitted, P.length), !P.endEmitted && P.length === 0 && (P.endEmitted = !0, O.readable = !1, O.emit("end"), P.autoDestroy)) {
9933
+ var X = O._writableState;
9934
+ (!X || X.autoDestroy && X.finished) && O.destroy();
9927
9935
  }
9928
9936
  }
9929
- typeof Symbol == "function" && (S.from = function(P, E) {
9930
- return _ === void 0 && (_ = requireFromBrowser()), _(S, P, E);
9937
+ typeof Symbol == "function" && (S.from = function(P, O) {
9938
+ return _ === void 0 && (_ = requireFromBrowser()), _(S, P, O);
9931
9939
  });
9932
- function Z(P, E) {
9940
+ function Z(P, O) {
9933
9941
  for (var X = 0, J = P.length; X < J; X++)
9934
- if (P[X] === E)
9942
+ if (P[X] === O)
9935
9943
  return X;
9936
9944
  return -1;
9937
9945
  }
@@ -12261,7 +12269,7 @@ const Image = (e) => {
12261
12269
  useDeepCompareEffect(() => {
12262
12270
  F();
12263
12271
  }, [o]);
12264
- const O = (w) => {
12272
+ const E = (w) => {
12265
12273
  a == null || a({
12266
12274
  items: w
12267
12275
  });
@@ -12279,7 +12287,7 @@ const Image = (e) => {
12279
12287
  ...y
12280
12288
  }
12281
12289
  });
12282
- O(w);
12290
+ E(w);
12283
12291
  } catch (w) {
12284
12292
  c(w);
12285
12293
  } finally {
@@ -12526,7 +12534,7 @@ const transformPlainMany2Ones = ({
12526
12534
  onChange: n
12527
12535
  } = e, {
12528
12536
  items: a = []
12529
- } = t || {}, o = a.filter((O) => O.operation !== "pendingRemove").map((O) => O.id), [s, u] = useState([]), [l, c] = useState(), [d, f] = useState(!1), {
12537
+ } = t || {}, o = a.filter((E) => E.operation !== "pendingRemove").map((E) => E.id), [s, u] = useState([]), [l, c] = useState(), [d, f] = useState(!1), {
12530
12538
  relation: p,
12531
12539
  context: h,
12532
12540
  readOnly: m,
@@ -12537,16 +12545,16 @@ const transformPlainMany2Ones = ({
12537
12545
  useDeepCompareEffect(() => {
12538
12546
  x();
12539
12547
  }, [a]);
12540
- const v = (O) => {
12548
+ const v = (E) => {
12541
12549
  n == null || n({
12542
- items: O
12550
+ items: E
12543
12551
  });
12544
12552
  };
12545
12553
  async function x() {
12546
12554
  f(!0);
12547
- let O = [];
12555
+ let E = [];
12548
12556
  try {
12549
- if (m && (O = [["id", "in", o]]), r.domain) {
12557
+ if (m && (E = [["id", "in", o]]), r.domain) {
12550
12558
  const S = await ConnectionProvider.getHandler().evalDomain({
12551
12559
  domain: r.domain,
12552
12560
  values: transformPlainMany2Ones({
@@ -12556,11 +12564,11 @@ const transformPlainMany2Ones = ({
12556
12564
  fields: b == null ? void 0 : b.getFields(),
12557
12565
  context: b.getContext()
12558
12566
  });
12559
- O = [...O, ...S];
12567
+ E = [...E, ...S];
12560
12568
  }
12561
12569
  const w = (await ConnectionProvider.getHandler().search({
12562
12570
  model: p,
12563
- params: O,
12571
+ params: E,
12564
12572
  fields: [y],
12565
12573
  context: {
12566
12574
  ...g == null ? void 0 : g(),
@@ -12581,26 +12589,26 @@ const transformPlainMany2Ones = ({
12581
12589
  f(!1);
12582
12590
  }
12583
12591
  }
12584
- const _ = (O) => {
12585
- const F = a.map((S) => O.includes(S.id) ? S.operation == "pendingRemove" ? {
12592
+ const _ = (E) => {
12593
+ const F = a.map((S) => E.includes(S.id) ? S.operation == "pendingRemove" ? {
12586
12594
  ...S,
12587
12595
  operation: "pendingLink"
12588
12596
  } : S : {
12589
12597
  id: S.id,
12590
12598
  operation: "pendingRemove"
12591
12599
  }), w = F.map((S) => S.id);
12592
- O.filter((S) => !w.includes(S)).map((S) => {
12600
+ E.filter((S) => !w.includes(S)).map((S) => {
12593
12601
  F.push({
12594
12602
  id: S,
12595
12603
  operation: "pendingLink"
12596
12604
  });
12597
12605
  }), v(F);
12598
- }, C = (O) => {
12606
+ }, C = (E) => {
12599
12607
  const {
12600
12608
  label: F,
12601
12609
  closable: w,
12602
12610
  onClose: S
12603
- } = O, T = (I) => {
12611
+ } = E, T = (I) => {
12604
12612
  I.preventDefault(), I.stopPropagation();
12605
12613
  };
12606
12614
  return /* @__PURE__ */ jsx(Tag, {
@@ -13001,7 +13009,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13001
13009
  currentId: x,
13002
13010
  limit: _,
13003
13011
  setLimit: C,
13004
- searchParams: O = [],
13012
+ searchParams: E = [],
13005
13013
  setSearchValues: F
13006
13014
  } = e, [w, S] = useState(!1), [T, I] = useState(!1), [q, M] = useState(), [D, j] = useState(1), [N, V] = useState(0), [A, W] = useState(), [Y, z] = useState([]), [H, K] = useState(void 0), U = useRef(_ || DEFAULT_SEARCH_LIMIT$1), B = useRef([]), k = useCallback((Q) => {
13007
13015
  b == null || b([...Q]), z([...Q]);
@@ -13048,7 +13056,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13048
13056
  d
13049
13057
  ]), G = useCallback(
13050
13058
  async (Q) => {
13051
- const { params: ie, newOffset: te } = Q || {}, oe = mergeParams(ie || O, v), { colors: se } = getTree(f), { totalItems: _e, results: Ce, attrsEvaluated: ae } = await ConnectionProvider.getHandler().searchForTree({
13059
+ const { params: ie, newOffset: te } = Q || {}, oe = mergeParams(ie || E, v), { colors: se } = getTree(f), { totalItems: _e, results: Ce, attrsEvaluated: ae } = await ConnectionProvider.getHandler().searchForTree({
13052
13060
  params: oe,
13053
13061
  limit: U.current,
13054
13062
  offset: te || N,
@@ -13087,7 +13095,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13087
13095
  d,
13088
13096
  _,
13089
13097
  N,
13090
- O
13098
+ E
13091
13099
  ]
13092
13100
  ), Z = useCallback(
13093
13101
  async (Q) => {
@@ -13131,7 +13139,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13131
13139
  k(ie);
13132
13140
  },
13133
13141
  [m, $, f, p, k]
13134
- ), E = useCallback(
13142
+ ), O = useCallback(
13135
13143
  (Q) => {
13136
13144
  const { params: ie, searchValues: te, limit: oe, offset: se } = Q;
13137
13145
  w || (r == null || r(void 0), n == null || n([]), F == null || F(te), a == null || a(ie), o == null || o(!1), I(!0), M(void 0), j(1), oe && (U.current = oe, C == null || C(oe)), se && V(se), Z({
@@ -13181,7 +13189,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13181
13189
  [f, t, c, $, k]
13182
13190
  );
13183
13191
  return {
13184
- submit: E,
13192
+ submit: O,
13185
13193
  clear: J,
13186
13194
  fetchResults: Z,
13187
13195
  tableRefreshing: w,
@@ -13220,11 +13228,11 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13220
13228
  setTotalItems: x,
13221
13229
  setSelectedRowItems: _,
13222
13230
  selectedRowItems: C,
13223
- searchTreeNameSearch: O,
13231
+ searchTreeNameSearch: E,
13224
13232
  setSearchTreeNameSearch: F,
13225
13233
  goToResourceId: w,
13226
13234
  limit: S
13227
- } = e, [T, I] = useState(!1), [q, M] = useState(!1), [D, j] = useState(!1), [N, V] = useState(!0), [A, W] = useState(!0), [Y, z] = useState([]), [H, K] = useState(!1), [U, B] = useState([]), [k, $] = useState(!1), [L, G] = useState(!0), [Z, P] = useState(), [E, X] = useState({}), [J, ee] = useState(S !== void 0 ? S : DEFAULT_SEARCH_LIMIT$1), [Q, ie] = useState(n);
13235
+ } = e, [T, I] = useState(!1), [q, M] = useState(!1), [D, j] = useState(!1), [N, V] = useState(!0), [A, W] = useState(!0), [Y, z] = useState([]), [H, K] = useState(!1), [U, B] = useState([]), [k, $] = useState(!1), [L, G] = useState(!0), [Z, P] = useState(), [O, X] = useState({}), [J, ee] = useState(S !== void 0 ? S : DEFAULT_SEARCH_LIMIT$1), [Q, ie] = useState(n);
13228
13236
  useEffect(() => {
13229
13237
  p && p.length > 0 && !h && (m == null || m(0), d == null || d(p[0].id));
13230
13238
  }, [p]), useEffect(() => {
@@ -13279,14 +13287,14 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13279
13287
  setSorter: g,
13280
13288
  totalItems: v,
13281
13289
  setTotalItems: x,
13282
- searchTreeNameSearch: O,
13290
+ searchTreeNameSearch: E,
13283
13291
  setSearchTreeNameSearch: F,
13284
13292
  setGraphIsLoading: G,
13285
13293
  graphIsLoading: L,
13286
13294
  previousView: Z,
13287
13295
  setPreviousView: P,
13288
13296
  goToResourceId: w,
13289
- searchValues: E,
13297
+ searchValues: O,
13290
13298
  setSearchValues: X,
13291
13299
  limit: J,
13292
13300
  setLimit: ee,
@@ -13551,7 +13559,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13551
13559
  actionData: I
13552
13560
  }), h(!0);
13553
13561
  }
13554
- async function O() {
13562
+ async function E() {
13555
13563
  callRefreshValues(d.current), d.current = [], h(!1), y({
13556
13564
  domain: void 0,
13557
13565
  model: void 0,
@@ -13581,7 +13589,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
13581
13589
  model: m.model,
13582
13590
  formView: m.formView,
13583
13591
  visible: p,
13584
- onSubmitSucceed: O,
13592
+ onSubmitSucceed: E,
13585
13593
  onCancel: () => {
13586
13594
  callRefreshValues(d.current), d.current = [], h(!1), y({
13587
13595
  domain: void 0,
@@ -13622,12 +13630,12 @@ function Form(e, t) {
13622
13630
  visible: x = !0,
13623
13631
  rootForm: _ = !1,
13624
13632
  defaultValues: C,
13625
- forcedValues: O = {}
13633
+ forcedValues: E = {}
13626
13634
  } = e, {
13627
13635
  t: F,
13628
13636
  lang: w
13629
13637
  } = useContext(LocaleContext), [S, T] = useState(!1), [I, q] = useState(), [M, D] = useState(), [j] = Form$3.useForm(), [N, V] = useState(), [A, W] = useState(), Y = useContext(FormModalContext), [z, H] = useState(), [K, U] = useState(!1), B = useRef(), k = useRef({}), $ = useRef({}), L = useRef(!1), G = useRef(!1), Z = z < WIDTH_BREAKPOINT, P = useContext(FormContext$1), {
13630
- activeId: E,
13638
+ activeId: O,
13631
13639
  getPlainValues: X
13632
13640
  } = P || {}, J = useContext(ActionViewContext), {
13633
13641
  setFormIsSaving: ee = void 0,
@@ -13680,7 +13688,7 @@ function Form(e, t) {
13680
13688
  }
13681
13689
  function be() {
13682
13690
  const ne = {
13683
- ...Oe(A),
13691
+ ...Ee(A),
13684
13692
  ...ve()
13685
13693
  };
13686
13694
  for (const re in ne)
@@ -13697,7 +13705,7 @@ function Form(e, t) {
13697
13705
  }
13698
13706
  function ue() {
13699
13707
  const ne = {
13700
- ...Oe(A)
13708
+ ...Ee(A)
13701
13709
  };
13702
13710
  for (const re in ne)
13703
13711
  ne[re] === void 0 && delete ne[re];
@@ -13714,7 +13722,7 @@ function Form(e, t) {
13714
13722
  id: pe(),
13715
13723
  active_id: pe(),
13716
13724
  active_ids: [pe()],
13717
- parent_id: E,
13725
+ parent_id: O,
13718
13726
  ...me
13719
13727
  };
13720
13728
  }
@@ -13731,9 +13739,9 @@ function Form(e, t) {
13731
13739
  });
13732
13740
  }, Re = () => Object.keys(getTouchedValues({
13733
13741
  source: k.current,
13734
- target: Oe(A),
13742
+ target: Ee(A),
13735
13743
  fields: A
13736
- })).length !== 0, Oe = (ne) => {
13744
+ })).length !== 0, Ee = (ne) => {
13737
13745
  const re = j.getFieldsValue(!0);
13738
13746
  return processValues(re, ne);
13739
13747
  }, $e = (ne, re) => {
@@ -13746,7 +13754,7 @@ function Form(e, t) {
13746
13754
  reset: !1
13747
13755
  });
13748
13756
  }, Se = (ne) => j.getFieldsValue(!0)[ne];
13749
- async function Ee() {
13757
+ async function Oe() {
13750
13758
  try {
13751
13759
  return await j.validateFields(), !1;
13752
13760
  } catch {
@@ -13870,7 +13878,7 @@ function Form(e, t) {
13870
13878
  if (pe()) {
13871
13879
  const ce = getTouchedValues({
13872
13880
  source: k.current,
13873
- target: Oe(A),
13881
+ target: Ee(A),
13874
13882
  fields: A
13875
13883
  });
13876
13884
  await ConnectionProvider.getHandler().update({
@@ -13878,20 +13886,20 @@ function Form(e, t) {
13878
13886
  id: pe(),
13879
13887
  values: {
13880
13888
  ...ce,
13881
- ...O
13889
+ ...E
13882
13890
  },
13883
13891
  fields: A,
13884
13892
  context: {
13885
13893
  ...g,
13886
13894
  ...M == null ? void 0 : M.context
13887
13895
  }
13888
- }), k.current = Oe(A);
13896
+ }), k.current = Ee(A);
13889
13897
  } else {
13890
- const ce = Oe(A), de = await ConnectionProvider.getHandler().create({
13898
+ const ce = Ee(A), de = await ConnectionProvider.getHandler().create({
13891
13899
  model: r,
13892
13900
  values: {
13893
13901
  ...ce,
13894
- ...O
13902
+ ...E
13895
13903
  },
13896
13904
  fields: A,
13897
13905
  context: {
@@ -13914,7 +13922,7 @@ function Form(e, t) {
13914
13922
  } = ne || {};
13915
13923
  if (G.current = !0, q(void 0), !Re() && pe() && ce)
13916
13924
  return G.current = !1, Q == null || Q(!1), he == null || he(), !0;
13917
- if (await Ee())
13925
+ if (await Oe())
13918
13926
  return G.current = !1, showDialog$5(w), !1;
13919
13927
  T(!0), ee == null || ee(!0);
13920
13928
  try {
@@ -13950,7 +13958,7 @@ function Form(e, t) {
13950
13958
  return;
13951
13959
  const re = getTouchedValues({
13952
13960
  source: $.current,
13953
- target: Oe(A),
13961
+ target: Ee(A),
13954
13962
  fields: A
13955
13963
  }), ce = Object.keys(re);
13956
13964
  if (ce.length !== 0) {
@@ -13980,13 +13988,13 @@ function Form(e, t) {
13980
13988
  Ie({
13981
13989
  fields: A,
13982
13990
  arch: N,
13983
- values: Oe(A)
13991
+ values: Ee(A)
13984
13992
  });
13985
13993
  return;
13986
13994
  }
13987
13995
  const ce = getOnChangePayload({
13988
13996
  values: {
13989
- ...Oe(A),
13997
+ ...Ee(A),
13990
13998
  context: {
13991
13999
  ...g,
13992
14000
  ...M == null ? void 0 : M.context
@@ -14003,7 +14011,7 @@ function Form(e, t) {
14003
14011
  });
14004
14012
  if (de.value) {
14005
14013
  const xe = {
14006
- ...Oe(A),
14014
+ ...Ee(A),
14007
14015
  ...de.value
14008
14016
  };
14009
14017
  Ie({
@@ -14033,7 +14041,7 @@ function Form(e, t) {
14033
14041
  Ie({
14034
14042
  fields: xe,
14035
14043
  arch: N,
14036
- values: Oe(xe)
14044
+ values: Ee(xe)
14037
14045
  }), W(xe);
14038
14046
  }
14039
14047
  };
@@ -14130,7 +14138,7 @@ function Form(e, t) {
14130
14138
  he == null || he();
14131
14139
  return;
14132
14140
  }
14133
- if (await Ee()) {
14141
+ if (await Oe()) {
14134
14142
  showDialog$5(w);
14135
14143
  return;
14136
14144
  }
@@ -14246,11 +14254,11 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
14246
14254
  action_id: x,
14247
14255
  res_id: _,
14248
14256
  action_type: C,
14249
- view_id: O
14257
+ view_id: E
14250
14258
  } = u, F = await ConnectionProvider.getHandler().isShortcutFavorite({
14251
14259
  action_id: x,
14252
14260
  action_type: C,
14253
- view_id: O,
14261
+ view_id: E,
14254
14262
  res_id: _ || !1
14255
14263
  });
14256
14264
  h(F !== !1), F !== !1 && y(F);
@@ -14265,12 +14273,12 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
14265
14273
  action_id: x,
14266
14274
  res_id: _,
14267
14275
  action_type: C,
14268
- view_id: O
14276
+ view_id: E
14269
14277
  } = u;
14270
14278
  await ConnectionProvider.getHandler().addFavourite({
14271
14279
  action_id: x,
14272
14280
  action_type: C,
14273
- view_id: O,
14281
+ view_id: E,
14274
14282
  res_id: _ || !1
14275
14283
  });
14276
14284
  }
@@ -14716,7 +14724,7 @@ function SearchFilter(e) {
14716
14724
  const w = new SearchFilter$1(r, t);
14717
14725
  w.parse(), y(w._simpleSearchContainer), g(w._advancedSearchContainer);
14718
14726
  }, [t, r]);
14719
- const O = C(), F = (w) => {
14727
+ const E = C(), F = (w) => {
14720
14728
  const {
14721
14729
  limit: S,
14722
14730
  offset: T
@@ -14752,7 +14760,7 @@ function SearchFilter(e) {
14752
14760
  offset: s,
14753
14761
  limit: u
14754
14762
  },
14755
- children: [O, v && h && /* @__PURE__ */ jsx(SearchParams, {
14763
+ children: [E, v && h && /* @__PURE__ */ jsx(SearchParams, {
14756
14764
  onLimitChange: l
14757
14765
  }), /* @__PURE__ */ jsx(SearchBottomBar, {
14758
14766
  advancedFilter: v,
@@ -14993,7 +15001,7 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
14993
15001
  });
14994
15002
  }
14995
15003
  }
14996
- function O(T) {
15004
+ function E(T) {
14997
15005
  o(!1), v == null || v({
14998
15006
  actionData: T,
14999
15007
  values: p,
@@ -15032,7 +15040,7 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
15032
15040
  }), /* @__PURE__ */ jsx(Many2oneSuffixModal, {
15033
15041
  visible: a,
15034
15042
  items: (w = d == null ? void 0 : d.toolbar) == null ? void 0 : w.action,
15035
- onItemClicked: O,
15043
+ onItemClicked: E,
15036
15044
  onCancel: () => o(!1)
15037
15045
  }), /* @__PURE__ */ jsx(Many2oneSuffixModal, {
15038
15046
  visible: s,
@@ -15148,7 +15156,7 @@ function Tree(e) {
15148
15156
  childField: b,
15149
15157
  rootTree: g = !1,
15150
15158
  context: v
15151
- } = e, [x, _] = useState([]), [C, O] = useState([]), F = useRef(!1), w = useRef(null), {
15159
+ } = e, [x, _] = useState([]), [C, E] = useState([]), F = useRef(!1), w = useRef(null), {
15152
15160
  t: S
15153
15161
  } = useContext(LocaleContext), T = useRef(r), I = useContext(ActionViewContext), {
15154
15162
  title: q = void 0,
@@ -15169,7 +15177,7 @@ function Tree(e) {
15169
15177
  float: numberComponent,
15170
15178
  reference: referenceComponent
15171
15179
  }, v);
15172
- O(z), w.current.string && q !== w.current.string && (M == null || M(w.current.string));
15180
+ E(z), w.current.string && q !== w.current.string && (M == null || M(w.current.string));
15173
15181
  }, [a]), useEffect(() => {
15174
15182
  F.current = !1;
15175
15183
  const z = getTableItems(w.current, o);
@@ -15260,7 +15268,7 @@ function SearchTree(e, t) {
15260
15268
  rootTree: d = !1,
15261
15269
  parentContext: f = {},
15262
15270
  onChangeSelectedRowKeys: p
15263
- } = e, [h, m] = useState(!1), [y, b] = useState(!1), g = useRef(!1), [v, x] = useState(), [_, C] = useState(), [O, F] = useState(), [w, S] = useState(), [T, I] = useState(200), q = useRef(), {
15271
+ } = e, [h, m] = useState(!1), [y, b] = useState(!1), g = useRef(!1), [v, x] = useState(), [_, C] = useState(), [E, F] = useState(), [w, S] = useState(), [T, I] = useState(200), q = useRef(), {
15264
15272
  height: M
15265
15273
  } = useWindowDimensions(), D = useContext(ContentRootContext), {
15266
15274
  processAction: j
@@ -15280,7 +15288,7 @@ function SearchTree(e, t) {
15280
15288
  setTotalItems: G = void 0,
15281
15289
  setSearchTreeNameSearch: Z = void 0,
15282
15290
  setTreeIsLoading: P = void 0,
15283
- searchValues: E = {},
15291
+ searchValues: O = {},
15284
15292
  setSearchValues: X = void 0,
15285
15293
  limit: J = DEFAULT_SEARCH_LIMIT$1,
15286
15294
  setLimit: ee = void 0
@@ -15311,7 +15319,7 @@ function SearchTree(e, t) {
15311
15319
  nameSearch: s,
15312
15320
  searchNameGetDoneRef: g,
15313
15321
  context: f,
15314
- formView: O,
15322
+ formView: E,
15315
15323
  treeView: _,
15316
15324
  sorter: $,
15317
15325
  setSorter: L,
@@ -15348,12 +15356,12 @@ function SearchTree(e, t) {
15348
15356
  type: "form",
15349
15357
  context: f
15350
15358
  }));
15351
- let Ee = a;
15352
- a || (Ee = await ConnectionProvider.getHandler().getView({
15359
+ let Oe = a;
15360
+ a || (Oe = await ConnectionProvider.getHandler().getView({
15353
15361
  model: r,
15354
15362
  type: "tree",
15355
15363
  context: f
15356
- })), F(Se), C(Ee);
15364
+ })), F(Se), C(Oe);
15357
15365
  };
15358
15366
  useEffect(() => {
15359
15367
  be();
@@ -15362,7 +15370,7 @@ function SearchTree(e, t) {
15362
15370
  ee == null || ee(Se);
15363
15371
  }, ye = async (Se) => {
15364
15372
  const {
15365
- id: Ee
15373
+ id: Oe
15366
15374
  } = Se;
15367
15375
  q.current || (q.current = await ConnectionProvider.getHandler().treeButOpen({
15368
15376
  id: _.view_id,
@@ -15374,14 +15382,14 @@ function SearchTree(e, t) {
15374
15382
  actionData: Pe,
15375
15383
  fields: _.fields,
15376
15384
  values: {
15377
- active_id: Ee,
15385
+ active_id: Oe,
15378
15386
  ...Se
15379
15387
  },
15380
15388
  context: f
15381
15389
  }));
15382
15390
  }, ve = async (Se) => {
15383
15391
  const {
15384
- id: Ee
15392
+ id: Oe
15385
15393
  } = Se;
15386
15394
  if (_ != null && _.isExpandable) {
15387
15395
  try {
@@ -15392,26 +15400,26 @@ function SearchTree(e, t) {
15392
15400
  return;
15393
15401
  }
15394
15402
  o({
15395
- id: Ee,
15403
+ id: Oe,
15396
15404
  model: v,
15397
- formView: O,
15405
+ formView: E,
15398
15406
  treeView: _
15399
15407
  });
15400
15408
  };
15401
15409
  function we(Se) {
15402
- const Ee = me().filter((Pe) => Se.includes(Pe.id));
15403
- H == null || H(Ee), p == null || p(Se);
15410
+ const Oe = me().filter((Pe) => Se.includes(Pe.id));
15411
+ H == null || H(Oe), p == null || p(Se);
15404
15412
  }
15405
15413
  function Re() {
15406
15414
  return _ != null && _.isExpandable ? M - 160 : M - (T + 210);
15407
15415
  }
15408
- const Oe = () => !_ || !O ? null : /* @__PURE__ */ jsxs(Fragment, {
15416
+ const Ee = () => !_ || !E ? null : /* @__PURE__ */ jsxs(Fragment, {
15409
15417
  children: [/* @__PURE__ */ jsx(SearchFilter, {
15410
15418
  fields: {
15411
15419
  ..._.fields,
15412
- ...O.fields
15420
+ ...E.fields
15413
15421
  },
15414
- searchFields: mergeSearchFields([O.search_fields, _.search_fields]),
15422
+ searchFields: mergeSearchFields([E.search_fields, _.search_fields]),
15415
15423
  onClear: ie,
15416
15424
  limit: J,
15417
15425
  offset: ae,
@@ -15421,7 +15429,7 @@ function SearchTree(e, t) {
15421
15429
  setSearchFilterHeight: I,
15422
15430
  searchError: _e,
15423
15431
  searchVisible: B,
15424
- searchValues: E
15432
+ searchValues: O
15425
15433
  }), /* @__PURE__ */ jsx(Tree, {
15426
15434
  context: f,
15427
15435
  total: Te,
@@ -15454,7 +15462,7 @@ function SearchTree(e, t) {
15454
15462
  style: c ? {} : {
15455
15463
  display: "none"
15456
15464
  },
15457
- children: h ? /* @__PURE__ */ jsx(Spin, {}) : Oe()
15465
+ children: h ? /* @__PURE__ */ jsx(Spin, {}) : Ee()
15458
15466
  });
15459
15467
  }
15460
15468
  const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
@@ -15588,7 +15596,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
15588
15596
  context: u,
15589
15597
  id: l,
15590
15598
  domain: c
15591
- } = n, d = a && !s ? Config.requiredClass : void 0, [f, p] = useState(!1), [h, m] = useState(!1), [y, b] = useState(!1), [g, v] = useState(), x = useRef(!1), [_, C] = useState(""), O = useRef(), F = useContext(FormContext$1), {
15599
+ } = n, d = a && !s ? Config.requiredClass : void 0, [f, p] = useState(!1), [h, m] = useState(!1), [y, b] = useState(!1), [g, v] = useState(), x = useRef(!1), [_, C] = useState(""), E = useRef(), F = useContext(FormContext$1), {
15592
15600
  domain: w,
15593
15601
  getValues: S,
15594
15602
  getFields: T,
@@ -15599,12 +15607,12 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
15599
15607
  useEffect(() => {
15600
15608
  !Array.isArray(t) && t && K(t);
15601
15609
  }, [t]), useEffect(() => {
15602
- V && A.length === 0 ? K(V) : V && A.length > 0 ? C(A) : !V && !A && C(O.current || "");
15610
+ V && A.length === 0 ? K(V) : V && A.length > 0 ? C(A) : !V && !A && C(E.current || "");
15603
15611
  }, [t]);
15604
15612
  const W = ($) => {
15605
15613
  r == null || r($), M == null || M();
15606
15614
  }, Y = ($) => {
15607
- O.current = $.target.value, W([void 0, ""]);
15615
+ E.current = $.target.value, W([void 0, ""]);
15608
15616
  }, z = async () => {
15609
15617
  if (!y && _ !== A) {
15610
15618
  if (await new Promise(($) => setTimeout($, 100)), x.current) {
@@ -15614,17 +15622,17 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
15614
15622
  b(!0);
15615
15623
  try {
15616
15624
  if (D.current && D.current.length > 0)
15617
- H(O.current);
15625
+ H(E.current);
15618
15626
  else {
15619
15627
  const $ = await ConnectionProvider.getHandler().nameSearch({
15620
15628
  model: o,
15621
- payload: O.current,
15629
+ payload: E.current,
15622
15630
  context: {
15623
15631
  ...I == null ? void 0 : I(),
15624
15632
  ...u
15625
15633
  }
15626
15634
  });
15627
- $.length === 1 ? (O.current = void 0, W($[0])) : H(O.current);
15635
+ $.length === 1 ? (E.current = void 0, W($[0])) : H(E.current);
15628
15636
  }
15629
15637
  } catch ($) {
15630
15638
  showDialog$3($);
@@ -15735,7 +15743,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
15735
15743
  visible: f,
15736
15744
  nameSearch: V ? void 0 : g,
15737
15745
  onSelectValues: ($) => {
15738
- p(!1), K($[0]), x.current = !1, O.current = void 0;
15746
+ p(!1), K($[0]), x.current = !1, E.current = void 0;
15739
15747
  },
15740
15748
  onCloseModal: () => {
15741
15749
  p(!1), x.current = !1;
@@ -16193,8 +16201,8 @@ function requireTransButton() {
16193
16201
  var C = _.keyCode;
16194
16202
  C === o.default.ENTER && _.preventDefault();
16195
16203
  }, h = function(_) {
16196
- var C = _.keyCode, O = d.onClick;
16197
- C === o.default.ENTER && O && O();
16204
+ var C = _.keyCode, E = d.onClick;
16205
+ C === o.default.ENTER && E && E();
16198
16206
  }, m = d.style, y = d.noStyle, b = d.disabled, g = s(d, ["style", "noStyle", "disabled"]), v = {};
16199
16207
  return y || (v = (0, n.default)({}, u)), b && (v.pointerEvents = "none"), v = (0, n.default)((0, n.default)({}, v), m), /* @__PURE__ */ a.createElement("div", (0, n.default)({
16200
16208
  role: "button",
@@ -16891,8 +16899,8 @@ function doAlign(e, t, r, n) {
16891
16899
  var _ = flip(a, /[tb]/gi, {
16892
16900
  t: "b",
16893
16901
  b: "t"
16894
- }), C = flipOffset(o, 1), O = flipOffset(s, 1), F = getElFuturePos(h, t, _, C, O);
16895
- isCompleteFailY(F, h, p) || (d = 1, a = _, o = C, s = O);
16902
+ }), C = flipOffset(o, 1), E = flipOffset(s, 1), F = getElFuturePos(h, t, _, C, E);
16903
+ isCompleteFailY(F, h, p) || (d = 1, a = _, o = C, s = E);
16896
16904
  }
16897
16905
  d && (m = getElFuturePos(h, t, a, o, s), utils.mix(y, m));
16898
16906
  var w = isFailX(m, h, p), S = isFailY(m, h, p);
@@ -17002,7 +17010,7 @@ var Align = function e(t, r) {
17002
17010
  var n = t.children, a = t.disabled, o = t.target, s = t.align, u = t.onAlign, l = t.monitorWindowResize, c = t.monitorBufferTime, d = c === void 0 ? 0 : c, f = React__default.useRef({}), p = React__default.useRef(), h = React__default.Children.only(n), m = React__default.useRef({});
17003
17011
  m.current.disabled = a, m.current.target = o, m.current.onAlign = u;
17004
17012
  var y = useBuffer(function() {
17005
- var O = m.current, F = O.disabled, w = O.target, S = O.onAlign;
17013
+ var E = m.current, F = E.disabled, w = E.target, S = E.onAlign;
17006
17014
  if (!F && w) {
17007
17015
  var T = p.current, I, q = getElement(w), M = getPoint(w);
17008
17016
  f.current.element = q, f.current.point = M;
@@ -17018,8 +17026,8 @@ var Align = function e(t, r) {
17018
17026
  }
17019
17027
  });
17020
17028
  React__default.useEffect(function() {
17021
- var O = getElement(o), F = getPoint(o);
17022
- p.current !== _.current.element && (_.current.cancel(), _.current.element = p.current, _.current.cancel = monitorResize(p.current, g)), (f.current.element !== O || !isSamePoint(f.current.point, F)) && (g(), x.current.element !== O && (x.current.cancel(), x.current.element = O, x.current.cancel = monitorResize(O, g)));
17029
+ var E = getElement(o), F = getPoint(o);
17030
+ p.current !== _.current.element && (_.current.cancel(), _.current.element = p.current, _.current.cancel = monitorResize(p.current, g)), (f.current.element !== E || !isSamePoint(f.current.point, F)) && (g(), x.current.element !== E && (x.current.cancel(), x.current.element = E, x.current.cancel = monitorResize(E, g)));
17023
17031
  }), React__default.useEffect(function() {
17024
17032
  a ? v() : g();
17025
17033
  }, [a]);
@@ -17111,7 +17119,7 @@ const useVisibleStatus = function(e, t) {
17111
17119
  return [s, o];
17112
17120
  };
17113
17121
  var PopupInner = /* @__PURE__ */ React.forwardRef(function(e, t) {
17114
- var r = e.visible, n = e.prefixCls, a = e.className, o = e.style, s = e.children, u = e.zIndex, l = e.stretch, c = e.destroyPopupOnHide, d = e.align, f = e.point, p = e.getRootDomNode, h = e.getClassNameFromAlign, m = e.onAlign, y = e.onMouseEnter, b = e.onMouseLeave, g = e.onMouseDown, v = e.onTouchStart, x = useRef(), _ = useRef(), C = useState(), O = _slicedToArray(C, 2), F = O[0], w = O[1], S = useStretchStyle(l), T = _slicedToArray(S, 2), I = T[0], q = T[1];
17122
+ var r = e.visible, n = e.prefixCls, a = e.className, o = e.style, s = e.children, u = e.zIndex, l = e.stretch, c = e.destroyPopupOnHide, d = e.align, f = e.point, p = e.getRootDomNode, h = e.getClassNameFromAlign, m = e.onAlign, y = e.onMouseEnter, b = e.onMouseLeave, g = e.onMouseDown, v = e.onTouchStart, x = useRef(), _ = useRef(), C = useState(), E = _slicedToArray(C, 2), F = E[0], w = E[1], S = useStretchStyle(l), T = _slicedToArray(S, 2), I = T[0], q = T[1];
17115
17123
  function M() {
17116
17124
  l && q(p());
17117
17125
  }
@@ -17334,7 +17342,7 @@ function generateTrigger(e) {
17334
17342
  var c = [], d = s.props, f = d.popupPlacement, p = d.builtinPlacements, h = d.prefixCls, m = d.alignPoint, y = d.getPopupClassNameFromAlign;
17335
17343
  return f && p && c.push(getAlignPopupClassName(p, h, l, m)), y && c.push(y(l)), c.join(" ");
17336
17344
  }, s.getComponent = function() {
17337
- var l = s.props, c = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, p = l.onPopupAlign, h = l.popupMotion, m = l.popupAnimation, y = l.popupTransitionName, b = l.popupStyle, g = l.mask, v = l.maskAnimation, x = l.maskTransitionName, _ = l.maskMotion, C = l.zIndex, O = l.popup, F = l.stretch, w = l.alignPoint, S = l.mobile, T = s.state, I = T.popupVisible, q = T.point, M = s.getPopupAlign(), D = {};
17345
+ var l = s.props, c = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, p = l.onPopupAlign, h = l.popupMotion, m = l.popupAnimation, y = l.popupTransitionName, b = l.popupStyle, g = l.mask, v = l.maskAnimation, x = l.maskTransitionName, _ = l.maskMotion, C = l.zIndex, E = l.popup, F = l.stretch, w = l.alignPoint, S = l.mobile, T = s.state, I = T.popupVisible, q = T.point, M = s.getPopupAlign(), D = {};
17338
17346
  return s.isMouseEnterToShow() && (D.onMouseEnter = s.onPopupMouseEnter), s.isMouseLeaveToHide() && (D.onMouseLeave = s.onPopupMouseLeave), D.onMouseDown = s.onPopupMouseDown, D.onTouchStart = s.onPopupMouseDown, /* @__PURE__ */ jsx(Popup, {
17339
17347
  prefixCls: c,
17340
17348
  destroyPopupOnHide: d,
@@ -17358,7 +17366,7 @@ function generateTrigger(e) {
17358
17366
  ref: s.popupRef,
17359
17367
  motion: h,
17360
17368
  mobile: S,
17361
- children: typeof O == "function" ? O() : O
17369
+ children: typeof E == "function" ? E() : E
17362
17370
  });
17363
17371
  }, s.attachParent = function(l) {
17364
17372
  wrapperRaf.cancel(s.attachId);
@@ -17668,7 +17676,7 @@ var autoAdjustOverflow = {
17668
17676
  children: typeof r == "function" ? r() : r
17669
17677
  });
17670
17678
  }, Tooltip = function e(t, r) {
17671
- var n = t.overlayClassName, a = t.trigger, o = a === void 0 ? ["hover"] : a, s = t.mouseEnterDelay, u = s === void 0 ? 0 : s, l = t.mouseLeaveDelay, c = l === void 0 ? 0.1 : l, d = t.overlayStyle, f = t.prefixCls, p = f === void 0 ? "rc-tooltip" : f, h = t.children, m = t.onVisibleChange, y = t.afterVisibleChange, b = t.transitionName, g = t.animation, v = t.placement, x = v === void 0 ? "right" : v, _ = t.align, C = _ === void 0 ? {} : _, O = t.destroyTooltipOnHide, F = O === void 0 ? !1 : O, w = t.defaultVisible, S = t.getTooltipContainer, T = t.overlayInnerStyle, I = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), q = useRef(null);
17679
+ var n = t.overlayClassName, a = t.trigger, o = a === void 0 ? ["hover"] : a, s = t.mouseEnterDelay, u = s === void 0 ? 0 : s, l = t.mouseLeaveDelay, c = l === void 0 ? 0.1 : l, d = t.overlayStyle, f = t.prefixCls, p = f === void 0 ? "rc-tooltip" : f, h = t.children, m = t.onVisibleChange, y = t.afterVisibleChange, b = t.transitionName, g = t.animation, v = t.placement, x = v === void 0 ? "right" : v, _ = t.align, C = _ === void 0 ? {} : _, E = t.destroyTooltipOnHide, F = E === void 0 ? !1 : E, w = t.defaultVisible, S = t.getTooltipContainer, T = t.overlayInnerStyle, I = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]), q = useRef(null);
17672
17680
  useImperativeHandle(r, function() {
17673
17681
  return q.current;
17674
17682
  });
@@ -17911,20 +17919,20 @@ function requireTooltip() {
17911
17919
  value: !0
17912
17920
  }), e.default = void 0;
17913
17921
  var n = r(requireDefineProperty()), a = r(requireSlicedToArray()), o = r(require_extends()), s = t(React__default), u = r(require$$6), l = r(requireClassnames()), c = r(requirePlacements()), d = requireReactNode(), f = requireConfigProvider(), p = requireColors(), h = function(x, _) {
17914
- var C = {}, O = (0, o.default)({}, x);
17922
+ var C = {}, E = (0, o.default)({}, x);
17915
17923
  return _.forEach(function(F) {
17916
- x && F in x && (C[F] = x[F], delete O[F]);
17924
+ x && F in x && (C[F] = x[F], delete E[F]);
17917
17925
  }), {
17918
17926
  picked: C,
17919
- omitted: O
17927
+ omitted: E
17920
17928
  };
17921
17929
  }, m = new RegExp("^(".concat(p.PresetColorTypes.join("|"), ")(-inverse)?$"));
17922
17930
  function y(v, x) {
17923
17931
  var _ = v.type;
17924
17932
  if ((_.__ANT_BUTTON === !0 || _.__ANT_SWITCH === !0 || _.__ANT_CHECKBOX === !0 || v.type === "button") && v.props.disabled) {
17925
- var C = h(v.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), O = C.picked, F = C.omitted, w = (0, o.default)((0, o.default)({
17933
+ var C = h(v.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), E = C.picked, F = C.omitted, w = (0, o.default)((0, o.default)({
17926
17934
  display: "inline-block"
17927
- }, O), {
17935
+ }, E), {
17928
17936
  cursor: "not-allowed",
17929
17937
  width: v.props.block ? "100%" : null
17930
17938
  }), S = (0, o.default)((0, o.default)({}, F), {
@@ -17941,7 +17949,7 @@ function requireTooltip() {
17941
17949
  return v;
17942
17950
  }
17943
17951
  var b = /* @__PURE__ */ s.forwardRef(function(v, x) {
17944
- var _, C = s.useContext(f.ConfigContext), O = C.getPopupContainer, F = C.getPrefixCls, w = C.direction, S = s.useState(!!v.visible || !!v.defaultVisible), T = (0, a.default)(S, 2), I = T[0], q = T[1];
17952
+ var _, C = s.useContext(f.ConfigContext), E = C.getPopupContainer, F = C.getPrefixCls, w = C.direction, S = s.useState(!!v.visible || !!v.defaultVisible), T = (0, a.default)(S, 2), I = T[0], q = T[1];
17945
17953
  s.useEffect(function() {
17946
17954
  "visible" in v && q(v.visible);
17947
17955
  }, [v.visible]);
@@ -17972,22 +17980,22 @@ function requireTooltip() {
17972
17980
  return ee === 0 ? ee : Q || ee || "";
17973
17981
  }, A = v.prefixCls, W = v.openClassName, Y = v.getPopupContainer, z = v.getTooltipContainer, H = v.overlayClassName, K = v.color, U = v.overlayInnerStyle, B = v.children, k = F("tooltip", A), $ = I;
17974
17982
  !("visible" in v) && M() && ($ = !1);
17975
- var L = y((0, d.isValidElement)(B) ? B : /* @__PURE__ */ s.createElement("span", null, B), k), G = L.props, Z = (0, l.default)(G.className, (0, n.default)({}, W || "".concat(k, "-open"), !0)), P = (0, l.default)(H, (_ = {}, (0, n.default)(_, "".concat(k, "-rtl"), w === "rtl"), (0, n.default)(_, "".concat(k, "-").concat(K), K && m.test(K)), _)), E = U, X;
17976
- return K && !m.test(K) && (E = (0, o.default)((0, o.default)({}, U), {
17983
+ var L = y((0, d.isValidElement)(B) ? B : /* @__PURE__ */ s.createElement("span", null, B), k), G = L.props, Z = (0, l.default)(G.className, (0, n.default)({}, W || "".concat(k, "-open"), !0)), P = (0, l.default)(H, (_ = {}, (0, n.default)(_, "".concat(k, "-rtl"), w === "rtl"), (0, n.default)(_, "".concat(k, "-").concat(K), K && m.test(K)), _)), O = U, X;
17984
+ return K && !m.test(K) && (O = (0, o.default)((0, o.default)({}, U), {
17977
17985
  background: K
17978
17986
  }), X = {
17979
17987
  background: K
17980
17988
  }), /* @__PURE__ */ s.createElement(u.default, (0, o.default)({}, v, {
17981
17989
  prefixCls: k,
17982
17990
  overlayClassName: P,
17983
- getTooltipContainer: Y || z || O,
17991
+ getTooltipContainer: Y || z || E,
17984
17992
  ref: x,
17985
17993
  builtinPlacements: j(),
17986
17994
  overlay: V(),
17987
17995
  visible: $,
17988
17996
  onVisibleChange: D,
17989
17997
  onPopupAlign: N,
17990
- overlayInnerStyle: E,
17998
+ overlayInnerStyle: O,
17991
17999
  arrowContent: /* @__PURE__ */ s.createElement("span", {
17992
18000
  className: "".concat(k, "-arrow-content"),
17993
18001
  style: X
@@ -18052,12 +18060,12 @@ function requireTypography() {
18052
18060
  b.indexOf(v[x]) < 0 && Object.prototype.propertyIsEnumerable.call(y, v[x]) && (g[v[x]] = y[v[x]]);
18053
18061
  return g;
18054
18062
  }, f = function(b, g) {
18055
- var v = b.prefixCls, x = b.component, _ = x === void 0 ? "article" : x, C = b.className, O = b["aria-label"], F = b.setContentRef, w = b.children, S = d(b, ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"]), T = g;
18063
+ var v = b.prefixCls, x = b.component, _ = x === void 0 ? "article" : x, C = b.className, E = b["aria-label"], F = b.setContentRef, w = b.children, S = d(b, ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"]), T = g;
18056
18064
  return F && ((0, c.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), T = (0, u.composeRef)(g, F)), /* @__PURE__ */ o.createElement(l.ConfigConsumer, null, function(I) {
18057
18065
  var q = I.getPrefixCls, M = I.direction, D = _, j = q("typography", v), N = (0, s.default)(j, (0, a.default)({}, "".concat(j, "-rtl"), M === "rtl"), C);
18058
18066
  return /* @__PURE__ */ o.createElement(D, (0, n.default)({
18059
18067
  className: N,
18060
- "aria-label": O,
18068
+ "aria-label": E,
18061
18069
  ref: T
18062
18070
  }, S), w);
18063
18071
  });
@@ -18116,10 +18124,10 @@ function requireEditable() {
18116
18124
  value: !0
18117
18125
  }), e.default = void 0;
18118
18126
  var n = r(requireDefineProperty()), a = r(requireSlicedToArray()), o = t(React__default), s = r(requireClassnames()), u = r(requireKeyCode()), l = r(requireEnterOutlined()), c = r(TextArea$3), d = function(h) {
18119
- var m = h.prefixCls, y = h["aria-label"], b = h.className, g = h.style, v = h.direction, x = h.maxLength, _ = h.autoSize, C = _ === void 0 ? !0 : _, O = h.value, F = h.onSave, w = h.onCancel, S = o.useRef(), T = o.useRef(!1), I = o.useRef(), q = o.useState(O), M = (0, a.default)(q, 2), D = M[0], j = M[1];
18127
+ var m = h.prefixCls, y = h["aria-label"], b = h.className, g = h.style, v = h.direction, x = h.maxLength, _ = h.autoSize, C = _ === void 0 ? !0 : _, E = h.value, F = h.onSave, w = h.onCancel, S = o.useRef(), T = o.useRef(!1), I = o.useRef(), q = o.useState(E), M = (0, a.default)(q, 2), D = M[0], j = M[1];
18120
18128
  o.useEffect(function() {
18121
- j(O);
18122
- }, [O]), o.useEffect(function() {
18129
+ j(E);
18130
+ }, [E]), o.useEffect(function() {
18123
18131
  if (S.current && S.current.resizableTextArea) {
18124
18132
  var U = S.current.resizableTextArea.textArea;
18125
18133
  U.focus();
@@ -18201,7 +18209,7 @@ function requireUtil() {
18201
18209
  }
18202
18210
  var m = function(b, g, v, x, _) {
18203
18211
  c || (c = document.createElement("div"), c.setAttribute("aria-hidden", "true"), document.body.appendChild(c));
18204
- var C = g.rows, O = g.suffix, F = O === void 0 ? "" : O, w = window.getComputedStyle(b), S = p(w), T = f(w.lineHeight), I = Math.round(T * (C + 1) + f(w.paddingTop) + f(w.paddingBottom));
18212
+ var C = g.rows, E = g.suffix, F = E === void 0 ? "" : E, w = window.getComputedStyle(b), S = p(w), T = f(w.lineHeight), I = Math.round(T * (C + 1) + f(w.paddingTop) + f(w.paddingBottom));
18205
18213
  c.setAttribute("style", S), c.style.position = "fixed", c.style.left = "0", c.style.height = "auto", c.style.minHeight = "auto", c.style.maxHeight = "auto", c.style.top = "-999999px", c.style.zIndex = "-1000", c.style.textOverflow = "clip", c.style.whiteSpace = "normal", c.style.webkitLineClamp = "none";
18206
18214
  var q = h((0, o.default)(v));
18207
18215
  (0, n.render)(/* @__PURE__ */ a.createElement("div", {
@@ -18290,7 +18298,7 @@ function requireBase() {
18290
18298
  Object.defineProperty(e, "__esModule", {
18291
18299
  value: !0
18292
18300
  }), e.default = void 0;
18293
- var n = r(requireDefineProperty()), a = r(requireToConsumableArray()), o = r(_typeof$2.exports), s = r(require_extends()), u = r(requireClassCallCheck()), l = r(requireCreateClass()), c = r(requireInherits()), d = r(requireCreateSuper()), f = t(React__default), p = r(requireClassnames()), h = r(requireToArray()), m = r(requireCopyToClipboard()), y = r(requireOmit()), b = r(requireEditOutlined()), g = r(requireCheckOutlined()), v = r(requireCopyOutlined()), x = r(require$$18), _ = requireConfigProvider(), C = r(requireLocaleReceiver()), O = r(requireDevWarning()), F = r(requireTransButton()), w = r(requireRaf()), S = requireStyleChecker(), T = r(requireTooltip()), I = r(requireTypography()), q = r(requireEditable()), M = r(requireUtil()), D = function(z, H) {
18301
+ var n = r(requireDefineProperty()), a = r(requireToConsumableArray()), o = r(_typeof$2.exports), s = r(require_extends()), u = r(requireClassCallCheck()), l = r(requireCreateClass()), c = r(requireInherits()), d = r(requireCreateSuper()), f = t(React__default), p = r(requireClassnames()), h = r(requireToArray()), m = r(requireCopyToClipboard()), y = r(requireOmit()), b = r(requireEditOutlined()), g = r(requireCheckOutlined()), v = r(requireCopyOutlined()), x = r(require$$18), _ = requireConfigProvider(), C = r(requireLocaleReceiver()), E = r(requireDevWarning()), F = r(requireTransButton()), w = r(requireRaf()), S = requireStyleChecker(), T = r(requireTooltip()), I = r(requireTypography()), q = r(requireEditable()), M = r(requireUtil()), D = function(z, H) {
18294
18302
  var K = {};
18295
18303
  for (var U in z)
18296
18304
  Object.prototype.hasOwnProperty.call(z, U) && H.indexOf(U) < 0 && (K[U] = z[U]);
@@ -18301,8 +18309,8 @@ function requireBase() {
18301
18309
  }, j = (0, S.isStyleSupport)("webkitLineClamp"), N = (0, S.isStyleSupport)("textOverflow");
18302
18310
  function V(z, H) {
18303
18311
  var K = z.mark, U = z.code, B = z.underline, k = z.delete, $ = z.strong, L = z.keyboard, G = H;
18304
- function Z(P, E) {
18305
- !P || (G = /* @__PURE__ */ f.createElement(E, {}, G));
18312
+ function Z(P, O) {
18313
+ !P || (G = /* @__PURE__ */ f.createElement(O, {}, G));
18306
18314
  }
18307
18315
  return Z($, "strong"), Z(B, "u"), Z(k, "del"), Z(U, "code"), Z(K, "mark"), Z(L, "kbd"), G;
18308
18316
  }
@@ -18401,15 +18409,15 @@ function requireBase() {
18401
18409
  }, {
18402
18410
  key: "canUseCSSEllipsis",
18403
18411
  value: function() {
18404
- var B = this.state.clientRendered, k = this.props, $ = k.editable, L = k.copyable, G = this.getEllipsis(), Z = G.rows, P = G.expandable, E = G.suffix, X = G.onEllipsis, J = G.tooltip;
18405
- return E || J || $ || L || P || !B || X ? !1 : Z === 1 ? N : j;
18412
+ var B = this.state.clientRendered, k = this.props, $ = k.editable, L = k.copyable, G = this.getEllipsis(), Z = G.rows, P = G.expandable, O = G.suffix, X = G.onEllipsis, J = G.tooltip;
18413
+ return O || J || $ || L || P || !B || X ? !1 : Z === 1 ? N : j;
18406
18414
  }
18407
18415
  }, {
18408
18416
  key: "syncEllipsis",
18409
18417
  value: function() {
18410
- var B = this.state, k = B.ellipsisText, $ = B.isEllipsis, L = B.expanded, G = this.getEllipsis(), Z = G.rows, P = G.suffix, E = G.onEllipsis, X = this.props.children;
18418
+ var B = this.state, k = B.ellipsisText, $ = B.isEllipsis, L = B.expanded, G = this.getEllipsis(), Z = G.rows, P = G.suffix, O = G.onEllipsis, X = this.props.children;
18411
18419
  if (!(!Z || Z < 0 || !this.contentRef.current || L) && !this.canUseCSSEllipsis()) {
18412
- (0, O.default)((0, h.default)(X).every(function(te) {
18420
+ (0, E.default)((0, h.default)(X).every(function(te) {
18413
18421
  return typeof te == "string";
18414
18422
  }), "Typography", "`ellipsis` should use string as children only.");
18415
18423
  var J = (0, M.default)(this.contentRef.current, {
@@ -18420,7 +18428,7 @@ function requireBase() {
18420
18428
  ellipsisText: Q,
18421
18429
  ellipsisContent: ee,
18422
18430
  isEllipsis: ie
18423
- }), $ !== ie && E && E(ie));
18431
+ }), $ !== ie && O && O(ie));
18424
18432
  }
18425
18433
  }
18426
18434
  }, {
@@ -18429,13 +18437,13 @@ function requireBase() {
18429
18437
  var k = this.getEllipsis(), $ = k.expandable, L = k.symbol, G = this.state, Z = G.expanded, P = G.isEllipsis;
18430
18438
  if (!$ || !B && (Z || !P))
18431
18439
  return null;
18432
- var E;
18433
- return L ? E = L : E = this.expandStr, /* @__PURE__ */ f.createElement("a", {
18440
+ var O;
18441
+ return L ? O = L : O = this.expandStr, /* @__PURE__ */ f.createElement("a", {
18434
18442
  key: "expand",
18435
18443
  className: "".concat(this.getPrefixCls(), "-expand"),
18436
18444
  onClick: this.onExpandClick,
18437
18445
  "aria-label": this.expandStr
18438
- }, E);
18446
+ }, O);
18439
18447
  }
18440
18448
  }, {
18441
18449
  key: "renderEdit",
@@ -18463,7 +18471,7 @@ function requireBase() {
18463
18471
  if (!!k) {
18464
18472
  var $ = this.getPrefixCls(), L = k.tooltips, G = (0, h.default)(L);
18465
18473
  G.length === 0 && (G = [this.copyStr, this.copiedStr]);
18466
- var Z = B ? G[1] : G[0], P = typeof Z == "string" ? Z : "", E = (0, h.default)(k.icon);
18474
+ var Z = B ? G[1] : G[0], P = typeof Z == "string" ? Z : "", O = (0, h.default)(k.icon);
18467
18475
  return /* @__PURE__ */ f.createElement(T.default, {
18468
18476
  key: "copy",
18469
18477
  title: L === !1 ? "" : Z
@@ -18471,13 +18479,13 @@ function requireBase() {
18471
18479
  className: (0, p.default)("".concat($, "-copy"), B && "".concat($, "-copy-success")),
18472
18480
  onClick: this.onCopyClick,
18473
18481
  "aria-label": P
18474
- }, B ? E[1] || /* @__PURE__ */ f.createElement(g.default, null) : E[0] || /* @__PURE__ */ f.createElement(v.default, null)));
18482
+ }, B ? O[1] || /* @__PURE__ */ f.createElement(g.default, null) : O[0] || /* @__PURE__ */ f.createElement(v.default, null)));
18475
18483
  }
18476
18484
  }
18477
18485
  }, {
18478
18486
  key: "renderEditInput",
18479
18487
  value: function() {
18480
- var B = this.props, k = B.children, $ = B.className, L = B.style, G = this.context.direction, Z = this.getEditable(), P = Z.maxLength, E = Z.autoSize;
18488
+ var B = this.props, k = B.children, $ = B.className, L = B.style, G = this.context.direction, Z = this.getEditable(), P = Z.maxLength, O = Z.autoSize;
18481
18489
  return /* @__PURE__ */ f.createElement(q.default, {
18482
18490
  value: typeof k == "string" ? k : "",
18483
18491
  onSave: this.onEditChange,
@@ -18487,7 +18495,7 @@ function requireBase() {
18487
18495
  style: L,
18488
18496
  direction: G,
18489
18497
  maxLength: P,
18490
- autoSize: E
18498
+ autoSize: O
18491
18499
  });
18492
18500
  }
18493
18501
  }, {
@@ -18500,17 +18508,17 @@ function requireBase() {
18500
18508
  }, {
18501
18509
  key: "renderContent",
18502
18510
  value: function() {
18503
- var B = this, k = this.state, $ = k.ellipsisContent, L = k.isEllipsis, G = k.expanded, Z = this.props, P = Z.component, E = Z.children, X = Z.className, J = Z.type, ee = Z.disabled, Q = Z.style, ie = D(Z, ["component", "children", "className", "type", "disabled", "style"]), te = this.context.direction, oe = this.getEllipsis(), se = oe.rows, _e = oe.suffix, Ce = oe.tooltip, ae = this.getPrefixCls(), me = (0, y.default)(ie, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard"].concat((0, a.default)(_.configConsumerProps))), fe = this.canUseCSSEllipsis(), he = se === 1 && fe, ge = se && se > 1 && fe, pe = E;
18511
+ var B = this, k = this.state, $ = k.ellipsisContent, L = k.isEllipsis, G = k.expanded, Z = this.props, P = Z.component, O = Z.children, X = Z.className, J = Z.type, ee = Z.disabled, Q = Z.style, ie = D(Z, ["component", "children", "className", "type", "disabled", "style"]), te = this.context.direction, oe = this.getEllipsis(), se = oe.rows, _e = oe.suffix, Ce = oe.tooltip, ae = this.getPrefixCls(), me = (0, y.default)(ie, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard"].concat((0, a.default)(_.configConsumerProps))), fe = this.canUseCSSEllipsis(), he = se === 1 && fe, ge = se && se > 1 && fe, pe = O;
18504
18512
  if (se && L && !G && !fe) {
18505
18513
  var Te = ie.title, be = Te || "";
18506
- !Te && (typeof E == "string" || typeof E == "number") && (be = String(E)), be = be == null ? void 0 : be.slice(String($ || "").length), pe = /* @__PURE__ */ f.createElement(f.Fragment, null, $, /* @__PURE__ */ f.createElement("span", {
18514
+ !Te && (typeof O == "string" || typeof O == "number") && (be = String(O)), be = be == null ? void 0 : be.slice(String($ || "").length), pe = /* @__PURE__ */ f.createElement(f.Fragment, null, $, /* @__PURE__ */ f.createElement("span", {
18507
18515
  title: be,
18508
18516
  "aria-hidden": "true"
18509
18517
  }, A), _e), Ce && (pe = /* @__PURE__ */ f.createElement(T.default, {
18510
- title: Ce === !0 ? E : Ce
18518
+ title: Ce === !0 ? O : Ce
18511
18519
  }, /* @__PURE__ */ f.createElement("span", null, pe)));
18512
18520
  } else
18513
- pe = /* @__PURE__ */ f.createElement(f.Fragment, null, E, _e);
18521
+ pe = /* @__PURE__ */ f.createElement(f.Fragment, null, O, _e);
18514
18522
  return pe = V(this.props, pe), /* @__PURE__ */ f.createElement(C.default, {
18515
18523
  componentName: "Text"
18516
18524
  }, function(le) {
@@ -18539,7 +18547,7 @@ function requireBase() {
18539
18547
  key: "getDerivedStateFromProps",
18540
18548
  value: function(B) {
18541
18549
  var k = B.children, $ = B.editable;
18542
- return (0, O.default)(!$ || typeof k == "string", "Typography", "When `editable` is enabled, the `children` should use string."), {};
18550
+ return (0, E.default)(!$ || typeof k == "string", "Typography", "When `editable` is enabled, the `children` should use string."), {};
18543
18551
  }
18544
18552
  }]), K;
18545
18553
  }(f.Component);
@@ -18586,7 +18594,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
18586
18594
  field: c,
18587
18595
  operator: d,
18588
18596
  manualIds: f
18589
- } = e, [p, h] = useState(!1), [m, y] = useState(), [b, g] = useState(), [v, x] = useState(), [_, C] = useState(0), [O, F] = useState(0), [w, S] = useState(), [T, I] = useState(), [q, M] = useState();
18597
+ } = e, [p, h] = useState(!1), [m, y] = useState(), [b, g] = useState(), [v, x] = useState(), [_, C] = useState(0), [E, F] = useState(0), [w, S] = useState(), [T, I] = useState(), [q, M] = useState();
18590
18598
  useEffect(() => {
18591
18599
  N();
18592
18600
  }, [t, a]);
@@ -18721,7 +18729,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
18721
18729
  percent: b,
18722
18730
  measureRef: V,
18723
18731
  height: _,
18724
- width: O,
18732
+ width: E,
18725
18733
  color: w,
18726
18734
  icon: T,
18727
18735
  suffix: l
@@ -18730,7 +18738,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
18730
18738
  total: v,
18731
18739
  measureRef: V,
18732
18740
  height: _,
18733
- width: O,
18741
+ width: E,
18734
18742
  color: w,
18735
18743
  icon: T,
18736
18744
  suffix: l
@@ -18931,8 +18939,8 @@ const DefaultGraphOptions = {
18931
18939
  fields: x,
18932
18940
  manualIds: u
18933
18941
  }));
18934
- } catch (O) {
18935
- f("Error fetching graph data values: " + JSON.stringify(O)), c(!1);
18942
+ } catch (E) {
18943
+ f("Error fetching graph data values: " + JSON.stringify(E)), c(!1);
18936
18944
  return;
18937
18945
  }
18938
18946
  try {
@@ -18941,7 +18949,7 @@ const DefaultGraphOptions = {
18941
18949
  return;
18942
18950
  }
18943
18951
  y(_);
18944
- const O = processGraphData({
18952
+ const E = processGraphData({
18945
18953
  ooui: v,
18946
18954
  values: _,
18947
18955
  fields: C,
@@ -18949,9 +18957,9 @@ const DefaultGraphOptions = {
18949
18957
  uninformedString: s
18950
18958
  }
18951
18959
  });
18952
- h(O);
18953
- } catch (O) {
18954
- f("Error processing graph data: " + O), c(!1);
18960
+ h(E);
18961
+ } catch (E) {
18962
+ f("Error processing graph data: " + E), c(!1);
18955
18963
  return;
18956
18964
  }
18957
18965
  c(!1);
@@ -19333,7 +19341,7 @@ const One2manyInput = (e) => {
19333
19341
  } = d || {}, {
19334
19342
  lang: b,
19335
19343
  t: g
19336
- } = useContext(LocaleContext), v = useRef(), [x, _] = useState(!1), [C, O] = useState(!1), [F, w] = useState(), [S, T] = useState(!1), [I, q] = useState(!1), [M, D] = useState(), [j, N] = useState([]), [V, A] = useState(!1), W = useRef([]), [Y, z] = useState(), H = useRef(), {
19344
+ } = useContext(LocaleContext), v = useRef(), [x, _] = useState(!1), [C, E] = useState(!1), [F, w] = useState(), [S, T] = useState(!1), [I, q] = useState(!1), [M, D] = useState(), [j, N] = useState([]), [V, A] = useState(!1), W = useRef([]), [Y, z] = useState(), H = useRef(), {
19337
19345
  readOnly: K,
19338
19346
  relation: U,
19339
19347
  context: B,
@@ -19353,10 +19361,10 @@ const One2manyInput = (e) => {
19353
19361
  items: filterDuplicateItems(le)
19354
19362
  });
19355
19363
  }, P = async () => {
19356
- await E(), l > G.length - 1 && l !== 0 && c(0);
19357
- }, E = async () => {
19364
+ await O(), l > G.length - 1 && l !== 0 && c(0);
19365
+ }, O = async () => {
19358
19366
  var le;
19359
- O(!0), _(!1), w(void 0);
19367
+ E(!0), _(!1), w(void 0);
19360
19368
  try {
19361
19369
  const ue = await readObjectValues({
19362
19370
  treeFields: a.get("tree").fields,
@@ -19372,7 +19380,7 @@ const One2manyInput = (e) => {
19372
19380
  } catch (ue) {
19373
19381
  w(ue);
19374
19382
  } finally {
19375
- O(!1);
19383
+ E(!1);
19376
19384
  }
19377
19385
  };
19378
19386
  async function X() {
@@ -19472,7 +19480,7 @@ const One2manyInput = (e) => {
19472
19480
  q(!0);
19473
19481
  }) : q(!0);
19474
19482
  }, Ce = async () => {
19475
- O(!0), _(!1), w(void 0);
19483
+ E(!0), _(!1), w(void 0);
19476
19484
  try {
19477
19485
  if (G[l].id > 0) {
19478
19486
  const le = o.map((ue) => ue.id === G[l].id ? {
@@ -19485,10 +19493,10 @@ const One2manyInput = (e) => {
19485
19493
  } catch (le) {
19486
19494
  w(le);
19487
19495
  }
19488
- c(0), O(!1);
19496
+ c(0), E(!1);
19489
19497
  }, ae = async () => {
19490
19498
  const le = G.filter((ue) => j.includes(ue.id));
19491
- O(!0), _(!1), w(void 0);
19499
+ E(!0), _(!1), w(void 0);
19492
19500
  try {
19493
19501
  const ue = le.map((ve) => ve.id), ye = o.filter((ve) => !(ue.includes(ve.id) && ve.id < 0)).map((ve) => ue.includes(ve.id) ? {
19494
19502
  ...ve,
@@ -19498,7 +19506,7 @@ const One2manyInput = (e) => {
19498
19506
  } catch (ue) {
19499
19507
  w(ue);
19500
19508
  }
19501
- c(0), O(!1);
19509
+ c(0), E(!1);
19502
19510
  }, me = (le, ue, ye) => {
19503
19511
  let ve;
19504
19512
  if (le)
@@ -19536,7 +19544,7 @@ const One2manyInput = (e) => {
19536
19544
  } = le;
19537
19545
  D(o.find((ye) => ye.id === ue)), A(!1), T(!0);
19538
19546
  }, he = async (le) => {
19539
- O(!0);
19547
+ E(!0);
19540
19548
  let ue = o;
19541
19549
  const ye = le.filter((ve) => !o.find((we) => we.id === ve));
19542
19550
  try {
@@ -19569,7 +19577,7 @@ const One2manyInput = (e) => {
19569
19577
  } catch (ve) {
19570
19578
  w(ve);
19571
19579
  } finally {
19572
- O(!1);
19580
+ E(!1);
19573
19581
  }
19574
19582
  };
19575
19583
  function ge() {
@@ -19597,18 +19605,18 @@ const One2manyInput = (e) => {
19597
19605
  submitMode: "values",
19598
19606
  onFieldsChange: (Re) => {
19599
19607
  var Se;
19600
- const Oe = (Se = G[l]) == null ? void 0 : Se.id, $e = o.map((Ee) => Ee.id === Oe ? {
19601
- ...Ee,
19602
- operation: Ee.operation === "original" ? "pendingUpdate" : Ee.operation,
19608
+ const Ee = (Se = G[l]) == null ? void 0 : Se.id, $e = o.map((Oe) => Oe.id === Ee ? {
19609
+ ...Oe,
19610
+ operation: Oe.operation === "original" ? "pendingUpdate" : Oe.operation,
19603
19611
  values: {
19604
19612
  ...Re,
19605
- id: Oe
19613
+ id: Ee
19606
19614
  },
19607
19615
  treeValues: {
19608
19616
  ...Re,
19609
- id: Oe
19617
+ id: Ee
19610
19618
  }
19611
- } : Ee);
19619
+ } : Oe);
19612
19620
  Z($e), _(!0);
19613
19621
  },
19614
19622
  readOnly: K
@@ -22695,8 +22703,8 @@ const DatePickerConfig = {
22695
22703
  n == null || n(v);
22696
22704
  };
22697
22705
  async function m() {
22698
- const v = await getMimeType(r), x = `data:${v == null ? void 0 : v.mime};base64,${r}`, _ = document.createElement("a"), C = d(s), O = d("name");
22699
- _.href = x, _.download = C || O, _.click();
22706
+ const v = await getMimeType(r), x = `data:${v == null ? void 0 : v.mime};base64,${r}`, _ = document.createElement("a"), C = d(s), E = d("name");
22707
+ _.href = x, _.download = C || E, _.click();
22700
22708
  }
22701
22709
  async function y() {
22702
22710
  const v = await getMimeType(r);
@@ -23187,7 +23195,7 @@ function FormActionBar({
23187
23195
  attachments: x,
23188
23196
  formRef: _,
23189
23197
  setFormHasChanges: C,
23190
- previousView: O,
23198
+ previousView: E,
23191
23199
  setPreviousView: F,
23192
23200
  goToResourceId: w
23193
23201
  } = useContext(ActionViewContext), {
@@ -23328,7 +23336,7 @@ function FormActionBar({
23328
23336
  }
23329
23337
  }), separator$2(), /* @__PURE__ */ jsx(ChangeViewButton, {
23330
23338
  currentView: r,
23331
- previousView: O,
23339
+ previousView: E,
23332
23340
  availableViews: t,
23333
23341
  onChangeView: (k) => {
23334
23342
  F == null || F(r), C == null || C(!1), n == null || n(k);
@@ -23547,17 +23555,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23547
23555
  }
23548
23556
  function f(v, x) {
23549
23557
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(v)))) {
23550
- var _ = [], C = !0, O = !1, F = void 0;
23558
+ var _ = [], C = !0, E = !1, F = void 0;
23551
23559
  try {
23552
23560
  for (var w = v[Symbol.iterator](), S; !(C = (S = w.next()).done) && (_.push(S.value), !(x && _.length === x)); C = !0)
23553
23561
  ;
23554
23562
  } catch (T) {
23555
- O = !0, F = T;
23563
+ E = !0, F = T;
23556
23564
  } finally {
23557
23565
  try {
23558
23566
  !C && w.return != null && w.return();
23559
23567
  } finally {
23560
- if (O)
23568
+ if (E)
23561
23569
  throw F;
23562
23570
  }
23563
23571
  }
@@ -23596,7 +23604,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23596
23604
  function g(v, x) {
23597
23605
  if ((0, r.default)(v), !v || /[\s<>]/.test(v) || v.indexOf("mailto:") === 0 || (x = (0, o.default)(x, h), x.validate_length && v.length >= 2083) || !x.allow_fragments && v.includes("#") || !x.allow_query_components && (v.includes("?") || v.includes("&")))
23598
23606
  return !1;
23599
- var _, C, O, F, w, S, T, I;
23607
+ var _, C, E, F, w, S, T, I;
23600
23608
  if (T = v.split("#"), v = T.shift(), T = v.split("?"), v = T.shift(), T = v.split("://"), T.length > 1) {
23601
23609
  if (_ = T.shift().toLowerCase(), x.require_valid_protocol && x.protocols.indexOf(_) === -1)
23602
23610
  return !1;
@@ -23622,12 +23630,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23622
23630
  }
23623
23631
  F = T.join("@"), S = null, I = null;
23624
23632
  var N = F.match(m);
23625
- if (N ? (O = "", I = N[1], S = N[2] || null) : (T = F.split(":"), O = T.shift(), T.length && (S = T.join(":"))), S !== null && S.length > 0) {
23633
+ if (N ? (E = "", I = N[1], S = N[2] || null) : (T = F.split(":"), E = T.shift(), T.length && (S = T.join(":"))), S !== null && S.length > 0) {
23626
23634
  if (w = parseInt(S, 10), !/^[0-9]+$/.test(S) || w <= 0 || w > 65535)
23627
23635
  return !1;
23628
23636
  } else if (x.require_port)
23629
23637
  return !1;
23630
- return x.host_whitelist ? b(O, x.host_whitelist) : !(!(0, a.default)(O) && !(0, n.default)(O, x) && (!I || !(0, a.default)(I, 6)) || (O = O || I, x.host_blacklist && b(O, x.host_blacklist)));
23638
+ return x.host_whitelist ? b(E, x.host_whitelist) : !(!(0, a.default)(E) && !(0, n.default)(E, x) && (!I || !(0, a.default)(I, 6)) || (E = E || I, x.host_blacklist && b(E, x.host_blacklist)));
23631
23639
  }
23632
23640
  e.exports = t.default, e.exports.default = t.default;
23633
23641
  })(isURL$1, isURL$1.exports);
@@ -23772,10 +23780,10 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
23772
23780
  }
23773
23781
  if (!x.ignore_max_length && v.length > y)
23774
23782
  return !1;
23775
- var O = v.split("@"), F = O.pop(), w = F.toLowerCase();
23783
+ var E = v.split("@"), F = E.pop(), w = F.toLowerCase();
23776
23784
  if (x.host_blacklist.includes(w))
23777
23785
  return !1;
23778
- var S = O.join("@");
23786
+ var S = E.join("@");
23779
23787
  if (x.domain_specific_validation && (w === "gmail.com" || w === "googlemail.com")) {
23780
23788
  S = S.toLowerCase();
23781
23789
  var T = S.split("+")[0];
@@ -24090,7 +24098,7 @@ const GraphActionView = (e) => {
24090
24098
  setSorter: x = void 0,
24091
24099
  setTotalItems: _ = void 0,
24092
24100
  setSearchTreeNameSearch: C = void 0,
24093
- setTreeIsLoading: O = void 0,
24101
+ setTreeIsLoading: E = void 0,
24094
24102
  limit: F,
24095
24103
  setLimit: w,
24096
24104
  searchParams: S,
@@ -24118,7 +24126,7 @@ const GraphActionView = (e) => {
24118
24126
  setSearchValues: I,
24119
24127
  setSearchParams: y,
24120
24128
  setSearchVisible: g,
24121
- setTreeIsLoading: O,
24129
+ setTreeIsLoading: E,
24122
24130
  context: a,
24123
24131
  formView: s,
24124
24132
  treeView: u,
@@ -24287,7 +24295,7 @@ function TreeActionBar(e) {
24287
24295
  previousView: _
24288
24296
  } = useContext(ActionViewContext), {
24289
24297
  parentContext: C = {},
24290
- treeExpandable: O,
24298
+ treeExpandable: E,
24291
24299
  toolbar: F
24292
24300
  } = e, {
24293
24301
  t: w,
@@ -24356,7 +24364,7 @@ function TreeActionBar(e) {
24356
24364
  }
24357
24365
  return /* @__PURE__ */ jsxs(Space, {
24358
24366
  wrap: !0,
24359
- children: [O ? null : /* @__PURE__ */ jsxs(Fragment, {
24367
+ children: [E ? null : /* @__PURE__ */ jsxs(Fragment, {
24360
24368
  children: [/* @__PURE__ */ jsx(SearchBar, {
24361
24369
  disabled: u || s || v,
24362
24370
  searchText: g,
@@ -24378,7 +24386,7 @@ function TreeActionBar(e) {
24378
24386
  loading: s,
24379
24387
  onClick: q
24380
24388
  }), separator$1()]
24381
- }), !O && /* @__PURE__ */ jsx(ButtonWithBadge, {
24389
+ }), !E && /* @__PURE__ */ jsx(ButtonWithBadge, {
24382
24390
  icon: /* @__PURE__ */ jsx(FilterOutlined, {
24383
24391
  style: {
24384
24392
  color: m ? "white" : void 0
@@ -24408,7 +24416,7 @@ function TreeActionBar(e) {
24408
24416
  var N;
24409
24417
  (N = d == null ? void 0 : d.current) == null || N.refreshResults();
24410
24418
  }
24411
- }), !O && /* @__PURE__ */ jsxs(Fragment, {
24419
+ }), !E && /* @__PURE__ */ jsxs(Fragment, {
24412
24420
  children: [separator$1(), /* @__PURE__ */ jsx(ChangeViewButton, {
24413
24421
  currentView: r,
24414
24422
  availableViews: t,
@@ -24600,18 +24608,18 @@ function ActionView(e, t) {
24600
24608
  action_type: m,
24601
24609
  treeExpandable: y = !1,
24602
24610
  limit: b
24603
- } = e, [g, v] = useState(), [x, _] = useState([]), [C, O] = useState(!0), F = p || void 0, [w, S] = useState(F), [T, I] = useState([]), [q, M] = useState(), [D, j] = useState([]), [N, V] = useState(), [A, W] = useState(0), [Y, z] = useState(!1), [H, K] = useState(!1), [U, B] = useState(), {
24611
+ } = e, [g, v] = useState(), [x, _] = useState([]), [C, E] = useState(!0), F = p || void 0, [w, S] = useState(F), [T, I] = useState([]), [q, M] = useState(), [D, j] = useState([]), [N, V] = useState(), [A, W] = useState(0), [Y, z] = useState(!1), [H, K] = useState(!1), [U, B] = useState(), {
24604
24612
  t: k
24605
24613
  } = useContext(LocaleContext), $ = useRef(), L = useRef(), G = useContext(TabManagerContext), {
24606
24614
  setCurrentView: Z,
24607
24615
  setCurrentId: P,
24608
- tabs: E,
24616
+ tabs: O,
24609
24617
  activeKey: X,
24610
24618
  openAction: J
24611
24619
  } = G || {};
24612
24620
  useHotkeys("ctrl+g,command+g", (ae) => {
24613
24621
  ae.preventDefault(), oe();
24614
- }, [X, E, g, q, D]);
24622
+ }, [X, O, g, q, D]);
24615
24623
  function ee(ae) {
24616
24624
  S(ae), P == null || P(ae);
24617
24625
  }
@@ -24622,7 +24630,7 @@ function ActionView(e, t) {
24622
24630
  canWeClose: te
24623
24631
  }));
24624
24632
  const ie = async () => {
24625
- O(!0);
24633
+ E(!0);
24626
24634
  const ae = [];
24627
24635
  for (const fe of o) {
24628
24636
  const [he, ge] = fe;
@@ -24688,7 +24696,7 @@ function ActionView(e, t) {
24688
24696
  }
24689
24697
  let me;
24690
24698
  !c && ae.find((fe) => fe.type === "tree") ? me = ae.find((he) => he.type === "tree") : c ? me = ae.find((he) => c.id ? he.type === c.type && he.view_id === c.id : he.type === c.type) : me = ae.find((he) => he.type === "form"), me || showDialog$8(`Error determining the first view to show.
24691
- Please, make sure the view ids on the fields_view_get responses are the same as the ones defined in the action`), Q(me), _(ae), O(!1);
24699
+ Please, make sure the view ids on the fields_view_get responses are the same as the ones defined in the action`), Q(me), _(ae), E(!1);
24692
24700
  };
24693
24701
  u({
24694
24702
  tabKey: l,
@@ -24698,7 +24706,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
24698
24706
  Q(me || ae), p ? P == null || P(F) : (ee(void 0), M(void 0)), ie();
24699
24707
  }, [n, o, p]), useEffect(() => {
24700
24708
  X === l && (P == null || P(w), Z == null || Z(g));
24701
- }, [E, X]);
24709
+ }, [O, X]);
24702
24710
  async function te() {
24703
24711
  return g.type === "form" ? await $.current.cancelUnsavedChanges() : !0;
24704
24712
  }
@@ -25028,18 +25036,18 @@ function DashboardTree(e) {
25028
25036
  domain: o = [],
25029
25037
  visible: s = !0,
25030
25038
  parentContext: u = {}
25031
- } = e, [l, c] = useState(!1), [d, f] = useState(!1), [p, h] = useState(), [m, y] = useState(), [b, g] = useState(), [v, x] = useState(1), [_, C] = useState(0), O = useRef(DEFAULT_SEARCH_LIMIT), F = useRef([]), [w, S] = useState(0), [T, I] = useState([]), [q, M] = useState(void 0), [D, j] = useState(), [N, V] = useState(), [A, W] = useState(), [Y, z] = useState(!1), H = useRef([]), K = (P) => {
25032
- z(!0), x(P), C((P - 1) * O.current);
25039
+ } = e, [l, c] = useState(!1), [d, f] = useState(!1), [p, h] = useState(), [m, y] = useState(), [b, g] = useState(), [v, x] = useState(1), [_, C] = useState(0), E = useRef(DEFAULT_SEARCH_LIMIT), F = useRef([]), [w, S] = useState(0), [T, I] = useState([]), [q, M] = useState(void 0), [D, j] = useState(), [N, V] = useState(), [A, W] = useState(), [Y, z] = useState(!1), H = useRef([]), K = (P) => {
25040
+ z(!0), x(P), C((P - 1) * E.current);
25033
25041
  }, U = async () => {
25034
- const P = H.current.length > 0 ? H.current : o, E = mergeParams(F.current, P), {
25042
+ const P = H.current.length > 0 ? H.current : o, O = mergeParams(F.current, P), {
25035
25043
  colors: X
25036
25044
  } = getTree(m), {
25037
25045
  totalItems: J,
25038
25046
  results: ee,
25039
25047
  attrsEvaluated: Q
25040
25048
  } = await ConnectionProvider.getHandler().searchForTree({
25041
- params: E,
25042
- limit: O.current,
25049
+ params: O,
25050
+ limit: E.current,
25043
25051
  offset: _,
25044
25052
  model: p,
25045
25053
  fields: m.fields,
@@ -25074,8 +25082,8 @@ function DashboardTree(e) {
25074
25082
  f(!1), c(!0), W(void 0);
25075
25083
  try {
25076
25084
  P === "action" ? await $() : await L(), f(!0);
25077
- } catch (E) {
25078
- W(E);
25085
+ } catch (O) {
25086
+ W(O);
25079
25087
  } finally {
25080
25088
  c(!1);
25081
25089
  }
@@ -25084,7 +25092,7 @@ function DashboardTree(e) {
25084
25092
  action: t,
25085
25093
  context: u
25086
25094
  });
25087
- H.current = P.domain, g(P.views.get("form")), y(P.views.get("tree")), h(P.model), O.current = P.limit;
25095
+ H.current = P.domain, g(P.views.get("form")), y(P.views.get("tree")), h(P.model), E.current = P.limit;
25088
25096
  }, L = async () => {
25089
25097
  h(r);
25090
25098
  const P = await ConnectionProvider.getHandler().getView({
@@ -25093,23 +25101,23 @@ function DashboardTree(e) {
25093
25101
  context: u
25094
25102
  });
25095
25103
  g(P);
25096
- const E = await ConnectionProvider.getHandler().getView({
25104
+ const O = await ConnectionProvider.getHandler().getView({
25097
25105
  model: r,
25098
25106
  type: "tree",
25099
25107
  id: n,
25100
25108
  context: u
25101
25109
  });
25102
- y(E);
25110
+ y(O);
25103
25111
  };
25104
25112
  useEffect(() => {
25105
25113
  t ? k("action") : r && k("model");
25106
25114
  }, [t, r]);
25107
25115
  const G = (P) => {
25108
25116
  const {
25109
- id: E
25117
+ id: O
25110
25118
  } = P;
25111
25119
  a({
25112
- id: E,
25120
+ id: O,
25113
25121
  model: p,
25114
25122
  treeView: m
25115
25123
  });
@@ -25125,7 +25133,7 @@ function DashboardTree(e) {
25125
25133
  }), /* @__PURE__ */ jsx(Tree, {
25126
25134
  showPagination: !1,
25127
25135
  total: w,
25128
- limit: O.current,
25136
+ limit: E.current,
25129
25137
  page: v,
25130
25138
  treeView: m,
25131
25139
  results: T,
@@ -25136,7 +25144,7 @@ function DashboardTree(e) {
25136
25144
  sorter: D,
25137
25145
  onChangeSort: (P) => {
25138
25146
  j == null || j(P);
25139
- const E = sortResults({
25147
+ const O = sortResults({
25140
25148
  resultsToSort: T,
25141
25149
  sorter: P,
25142
25150
  fields: {
@@ -25144,7 +25152,7 @@ function DashboardTree(e) {
25144
25152
  ...b.fields
25145
25153
  }
25146
25154
  });
25147
- I(E);
25155
+ I(O);
25148
25156
  },
25149
25157
  context: u
25150
25158
  })]
@@ -25273,7 +25281,7 @@ function Dashboard(e, t) {
25273
25281
  }
25274
25282
  return S;
25275
25283
  }
25276
- async function O(w) {
25284
+ async function E(w) {
25277
25285
  if (!m)
25278
25286
  return;
25279
25287
  const S = w.filter((M) => {
@@ -25327,7 +25335,7 @@ function Dashboard(e, t) {
25327
25335
  type: "error",
25328
25336
  banner: !0
25329
25337
  }) : l ? /* @__PURE__ */ jsx(LoadingOutlined$3, {}) : /* @__PURE__ */ jsx(DashboardGrid, {
25330
- onPositionItemsChanged: O,
25338
+ onPositionItemsChanged: E,
25331
25339
  children: s.map((w, S) => {
25332
25340
  const {
25333
25341
  actionData: T,
@@ -25384,12 +25392,12 @@ function Dashboard(e, t) {
25384
25392
  });
25385
25393
  if (G) {
25386
25394
  const [Z, P] = G, {
25387
- actionId: E,
25395
+ actionId: O,
25388
25396
  actionType: X,
25389
25397
  title: J,
25390
25398
  model: ee
25391
25399
  } = T, Q = {
25392
- action_id: E,
25400
+ action_id: O,
25393
25401
  action_type: X,
25394
25402
  name: J,
25395
25403
  res_id: L.id,
@@ -25430,13 +25438,13 @@ function Dashboard(e, t) {
25430
25438
  const [L, G] = $, {
25431
25439
  actionId: Z,
25432
25440
  actionType: P,
25433
- title: E,
25441
+ title: O,
25434
25442
  model: X
25435
25443
  } = T;
25436
25444
  k = {
25437
25445
  action_id: Z,
25438
25446
  action_type: P,
25439
- name: E,
25447
+ name: O,
25440
25448
  res_id: !1,
25441
25449
  res_model: X,
25442
25450
  view_id: L,
@@ -25537,7 +25545,7 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
25537
25545
  }
25538
25546
  const C = () => {
25539
25547
  F(s.map((w) => w.value));
25540
- }, O = () => {
25548
+ }, E = () => {
25541
25549
  F([]);
25542
25550
  }, F = (w) => {
25543
25551
  const S = a.map((I) => w.includes(I.id) ? I.operation == "pendingRemove" ? {
@@ -25579,7 +25587,7 @@ const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
25579
25587
  disabled: o.length == s.length,
25580
25588
  children: "Check all"
25581
25589
  }), /* @__PURE__ */ jsx(Button$1, {
25582
- onClick: O,
25590
+ onClick: E,
25583
25591
  disabled: o.length === 0,
25584
25592
  children: "Uncheck all"
25585
25593
  })]
@@ -25740,7 +25748,7 @@ function RootView(e, t) {
25740
25748
  }));
25741
25749
  function p(_) {
25742
25750
  if (_ === s) {
25743
- const C = l.findIndex((O) => O.key === _);
25751
+ const C = l.findIndex((E) => E.key === _);
25744
25752
  l[C - 1] && u(l[C - 1].key), l[C + 1] && u(l[C + 1].key);
25745
25753
  }
25746
25754
  c(l.filter((C) => C.key !== _)), d.current.delete(_);
@@ -25754,7 +25762,7 @@ function RootView(e, t) {
25754
25762
  async function m({
25755
25763
  action: _,
25756
25764
  values: C,
25757
- forced_values: O,
25765
+ forced_values: E,
25758
25766
  initialViewType: F,
25759
25767
  res_id: w,
25760
25768
  domain: S = []
@@ -25835,7 +25843,7 @@ function RootView(e, t) {
25835
25843
  action_type: I,
25836
25844
  action_id: M,
25837
25845
  values: C,
25838
- forced_values: O,
25846
+ forced_values: E,
25839
25847
  res_id: w,
25840
25848
  treeExpandable: H,
25841
25849
  limit: z
@@ -25844,22 +25852,22 @@ function RootView(e, t) {
25844
25852
  function y({
25845
25853
  title: _,
25846
25854
  content: C,
25847
- key: O,
25855
+ key: E,
25848
25856
  action: F
25849
25857
  }) {
25850
25858
  let w = [...l];
25851
25859
  l.length === 1 && l[0].key === "welcome" && (w = [...l.filter((S) => S.key !== "welcome")]), c([...w, {
25852
25860
  title: _,
25853
- key: O,
25861
+ key: E,
25854
25862
  closable: !0,
25855
25863
  content: C,
25856
25864
  action: F
25857
- }]), u(O);
25865
+ }]), u(E);
25858
25866
  }
25859
25867
  async function b({
25860
25868
  relateData: _,
25861
25869
  fields: C,
25862
- values: O,
25870
+ values: E,
25863
25871
  action_id: F,
25864
25872
  action_type: w
25865
25873
  }) {
@@ -25877,7 +25885,7 @@ function RootView(e, t) {
25877
25885
  }, W = parseContext({
25878
25886
  context: T,
25879
25887
  values: {
25880
- ...O,
25888
+ ...E,
25881
25889
  ...n
25882
25890
  },
25883
25891
  fields: C
@@ -25886,7 +25894,7 @@ function RootView(e, t) {
25886
25894
  values: transformPlainMany2Ones({
25887
25895
  fields: C,
25888
25896
  values: {
25889
- ...O,
25897
+ ...E,
25890
25898
  ...n
25891
25899
  }
25892
25900
  }),
@@ -25915,10 +25923,10 @@ function RootView(e, t) {
25915
25923
  async function g(_) {
25916
25924
  const {
25917
25925
  action_id: C,
25918
- action_type: O,
25926
+ action_type: E,
25919
25927
  res_id: F,
25920
25928
  view_id: w
25921
- } = _, S = `${O},${C}`, T = await ConnectionProvider.getHandler().getActionData({
25929
+ } = _, S = `${E},${C}`, T = await ConnectionProvider.getHandler().getActionData({
25922
25930
  action: S,
25923
25931
  context: a
25924
25932
  }), I = parseContext({
@@ -25983,7 +25991,7 @@ function RootView(e, t) {
25983
25991
  target: N,
25984
25992
  initialView: K,
25985
25993
  action_id: C,
25986
- action_type: O,
25994
+ action_type: E,
25987
25995
  res_id: F,
25988
25996
  treeExpandable: W,
25989
25997
  limit: A
@@ -25992,7 +26000,7 @@ function RootView(e, t) {
25992
26000
  async function v({
25993
26001
  model: _,
25994
26002
  values: C,
25995
- forced_values: O,
26003
+ forced_values: E,
25996
26004
  initialViewType: F,
25997
26005
  res_id: w,
25998
26006
  domain: S
@@ -26001,7 +26009,7 @@ function RootView(e, t) {
26001
26009
  await m({
26002
26010
  action: T,
26003
26011
  values: C,
26004
- forced_values: O,
26012
+ forced_values: E,
26005
26013
  initialViewType: F,
26006
26014
  res_id: w,
26007
26015
  domain: S
@@ -26010,7 +26018,7 @@ function RootView(e, t) {
26010
26018
  async function x({
26011
26019
  domain: _,
26012
26020
  context: C,
26013
- model: O,
26021
+ model: E,
26014
26022
  views: F,
26015
26023
  title: w,
26016
26024
  target: S,
@@ -26026,7 +26034,7 @@ function RootView(e, t) {
26026
26034
  const A = v4();
26027
26035
  if (S !== "current") {
26028
26036
  const W = await ConnectionProvider.getHandler().getView({
26029
- model: O,
26037
+ model: E,
26030
26038
  type: "form",
26031
26039
  id: T.type === "form" ? T.id : void 0,
26032
26040
  context: {
@@ -26036,7 +26044,7 @@ function RootView(e, t) {
26036
26044
  });
26037
26045
  f.current.openActionModal({
26038
26046
  domain: _,
26039
- model: O,
26047
+ model: E,
26040
26048
  formView: W,
26041
26049
  context: {
26042
26050
  ...a,
@@ -26066,7 +26074,7 @@ function RootView(e, t) {
26066
26074
  tabKey: A,
26067
26075
  title: w,
26068
26076
  views: F,
26069
- model: O,
26077
+ model: E,
26070
26078
  context: {
26071
26079
  ...a,
26072
26080
  ...C
@@ -26225,7 +26233,7 @@ const FavouriteButton = (e) => {
26225
26233
  activeKey: x,
26226
26234
  currentView: _,
26227
26235
  currentId: C,
26228
- openDefaultActionForModel: O
26236
+ openDefaultActionForModel: E
26229
26237
  } = b || {};
26230
26238
  useEffect(() => {
26231
26239
  F();
@@ -26275,7 +26283,7 @@ const FavouriteButton = (e) => {
26275
26283
  Y !== !1 && m(Y), s(Y !== !1);
26276
26284
  }
26277
26285
  async function I() {
26278
- l(!1), O == null || O({
26286
+ l(!1), E == null || E({
26279
26287
  model: "ir.ui.view_sc"
26280
26288
  });
26281
26289
  }