@gisce/react-ooui 1.2.0-rc.46 → 1.2.0-rc.47

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.
Files changed (150) hide show
  1. package/dist/actionbar/ActionButton.d.ts +0 -1
  2. package/dist/actionbar/ActionButton.d.ts.map +1 -1
  3. package/dist/actionbar/AttachmentsButton.d.ts +0 -1
  4. package/dist/actionbar/AttachmentsButton.d.ts.map +1 -1
  5. package/dist/actionbar/AttachmentsButtonWrapper.d.ts +0 -1
  6. package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +1 -1
  7. package/dist/actionbar/ButtonWithBadge.d.ts +0 -1
  8. package/dist/actionbar/ButtonWithBadge.d.ts.map +1 -1
  9. package/dist/actionbar/ChangeViewButton.d.ts +0 -1
  10. package/dist/actionbar/ChangeViewButton.d.ts.map +1 -1
  11. package/dist/actionbar/DashboardActionBar.d.ts +0 -1
  12. package/dist/actionbar/DashboardActionBar.d.ts.map +1 -1
  13. package/dist/actionbar/DropdownButton.d.ts +0 -1
  14. package/dist/actionbar/DropdownButton.d.ts.map +1 -1
  15. package/dist/actionbar/FormActionBar.d.ts +0 -1
  16. package/dist/actionbar/FormActionBar.d.ts.map +1 -1
  17. package/dist/actionbar/GraphActionBar.d.ts +0 -1
  18. package/dist/actionbar/GraphActionBar.d.ts.map +1 -1
  19. package/dist/actionbar/NewButton.d.ts +0 -1
  20. package/dist/actionbar/NewButton.d.ts.map +1 -1
  21. package/dist/actionbar/SearchBar.d.ts +0 -1
  22. package/dist/actionbar/SearchBar.d.ts.map +1 -1
  23. package/dist/actionbar/TreeActionBar.d.ts +0 -1
  24. package/dist/actionbar/TreeActionBar.d.ts.map +1 -1
  25. package/dist/common/ButtonWithTooltip.d.ts +0 -1
  26. package/dist/common/ButtonWithTooltip.d.ts.map +1 -1
  27. package/dist/common/DatePicker.d.ts +0 -1
  28. package/dist/common/DatePicker.d.ts.map +1 -1
  29. package/dist/hooks/useExport.d.ts +1 -1
  30. package/dist/hooks/useExport.d.ts.map +1 -1
  31. package/dist/react-ooui.es.js +857 -820
  32. package/dist/react-ooui.es.js.map +1 -1
  33. package/dist/react-ooui.umd.js +16 -16
  34. package/dist/react-ooui.umd.js.map +1 -1
  35. package/dist/ui/FavouriteButton.d.ts +0 -1
  36. package/dist/ui/FavouriteButton.d.ts.map +1 -1
  37. package/dist/ui/GoToResourceModal.d.ts +0 -1
  38. package/dist/ui/GoToResourceModal.d.ts.map +1 -1
  39. package/dist/ui/TitleHeader.d.ts +0 -1
  40. package/dist/ui/TitleHeader.d.ts.map +1 -1
  41. package/dist/views/CurrentTabContent.d.ts +0 -1
  42. package/dist/views/CurrentTabContent.d.ts.map +1 -1
  43. package/dist/views/TabSelector.d.ts +0 -1
  44. package/dist/views/TabSelector.d.ts.map +1 -1
  45. package/dist/views/actionViews/DashboardActionView.d.ts +0 -1
  46. package/dist/views/actionViews/DashboardActionView.d.ts.map +1 -1
  47. package/dist/views/actionViews/FormActionView.d.ts +0 -1
  48. package/dist/views/actionViews/FormActionView.d.ts.map +1 -1
  49. package/dist/views/actionViews/GraphActionView.d.ts +0 -1
  50. package/dist/views/actionViews/GraphActionView.d.ts.map +1 -1
  51. package/dist/views/actionViews/TreeActionView.d.ts +0 -1
  52. package/dist/views/actionViews/TreeActionView.d.ts.map +1 -1
  53. package/dist/views/tabs/Tab.d.ts +0 -1
  54. package/dist/views/tabs/Tab.d.ts.map +1 -1
  55. package/dist/widgets/base/Binary.d.ts +0 -1
  56. package/dist/widgets/base/Binary.d.ts.map +1 -1
  57. package/dist/widgets/base/Boolean.d.ts +0 -1
  58. package/dist/widgets/base/Boolean.d.ts.map +1 -1
  59. package/dist/widgets/base/Button.d.ts +0 -1
  60. package/dist/widgets/base/Button.d.ts.map +1 -1
  61. package/dist/widgets/base/Char.d.ts +0 -1
  62. package/dist/widgets/base/Char.d.ts.map +1 -1
  63. package/dist/widgets/base/Date.d.ts +0 -1
  64. package/dist/widgets/base/Date.d.ts.map +1 -1
  65. package/dist/widgets/base/DateTime.d.ts +0 -1
  66. package/dist/widgets/base/DateTime.d.ts.map +1 -1
  67. package/dist/widgets/base/Email.d.ts +0 -1
  68. package/dist/widgets/base/Email.d.ts.map +1 -1
  69. package/dist/widgets/base/Float.d.ts +0 -1
  70. package/dist/widgets/base/Float.d.ts.map +1 -1
  71. package/dist/widgets/base/Image.d.ts +0 -1
  72. package/dist/widgets/base/Image.d.ts.map +1 -1
  73. package/dist/widgets/base/Integer.d.ts +0 -1
  74. package/dist/widgets/base/Integer.d.ts.map +1 -1
  75. package/dist/widgets/base/Label.d.ts +0 -1
  76. package/dist/widgets/base/Label.d.ts.map +1 -1
  77. package/dist/widgets/base/LinkInput.d.ts +0 -1
  78. package/dist/widgets/base/LinkInput.d.ts.map +1 -1
  79. package/dist/widgets/base/MultiSelection.d.ts +0 -1
  80. package/dist/widgets/base/MultiSelection.d.ts.map +1 -1
  81. package/dist/widgets/base/ProgressBar.d.ts +0 -1
  82. package/dist/widgets/base/ProgressBar.d.ts.map +1 -1
  83. package/dist/widgets/base/Selection.d.ts +0 -1
  84. package/dist/widgets/base/Selection.d.ts.map +1 -1
  85. package/dist/widgets/base/Separator.d.ts +0 -1
  86. package/dist/widgets/base/Separator.d.ts.map +1 -1
  87. package/dist/widgets/base/Text.d.ts +0 -1
  88. package/dist/widgets/base/Text.d.ts.map +1 -1
  89. package/dist/widgets/base/Url.d.ts +0 -1
  90. package/dist/widgets/base/Url.d.ts.map +1 -1
  91. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +0 -1
  92. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +1 -1
  93. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +0 -1
  94. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +1 -1
  95. package/dist/widgets/base/one2many/One2many.d.ts +0 -1
  96. package/dist/widgets/base/one2many/One2many.d.ts.map +1 -1
  97. package/dist/widgets/base/one2many/One2manyTopBar.d.ts +0 -1
  98. package/dist/widgets/base/one2many/One2manyTopBar.d.ts.map +1 -1
  99. package/dist/widgets/custom/ButtonGroup.d.ts +0 -1
  100. package/dist/widgets/custom/ButtonGroup.d.ts.map +1 -1
  101. package/dist/widgets/custom/CodeEditor.d.ts +0 -1
  102. package/dist/widgets/custom/CodeEditor.d.ts.map +1 -1
  103. package/dist/widgets/custom/FiberGrid.d.ts +0 -1
  104. package/dist/widgets/custom/FiberGrid.d.ts.map +1 -1
  105. package/dist/widgets/custom/Indicator.d.ts +0 -1
  106. package/dist/widgets/custom/Indicator.d.ts.map +1 -1
  107. package/dist/widgets/custom/MultiCheckbox.d.ts +0 -1
  108. package/dist/widgets/custom/MultiCheckbox.d.ts.map +1 -1
  109. package/dist/widgets/custom/Radio.d.ts +0 -1
  110. package/dist/widgets/custom/Radio.d.ts.map +1 -1
  111. package/dist/widgets/custom/Steps.d.ts +0 -1
  112. package/dist/widgets/custom/Steps.d.ts.map +1 -1
  113. package/dist/widgets/custom/Switch.d.ts +0 -1
  114. package/dist/widgets/custom/Switch.d.ts.map +1 -1
  115. package/dist/widgets/custom/Tag.d.ts +0 -1
  116. package/dist/widgets/custom/Tag.d.ts.map +1 -1
  117. package/dist/widgets/custom/Tags.d.ts +0 -1
  118. package/dist/widgets/custom/Tags.d.ts.map +1 -1
  119. package/dist/widgets/custom/Timeline.d.ts +0 -1
  120. package/dist/widgets/custom/Timeline.d.ts.map +1 -1
  121. package/dist/widgets/modals/ExportModal.d.ts +0 -1
  122. package/dist/widgets/modals/ExportModal.d.ts.map +1 -1
  123. package/dist/widgets/modals/FormModal.d.ts +0 -1
  124. package/dist/widgets/modals/FormModal.d.ts.map +1 -1
  125. package/dist/widgets/modals/SearchModal.d.ts +0 -1
  126. package/dist/widgets/modals/SearchModal.d.ts.map +1 -1
  127. package/dist/widgets/modals/TranslationModal.d.ts +0 -1
  128. package/dist/widgets/modals/TranslationModal.d.ts.map +1 -1
  129. package/dist/widgets/views/Dashboard/DashboardForm.d.ts +0 -1
  130. package/dist/widgets/views/Dashboard/DashboardForm.d.ts.map +1 -1
  131. package/dist/widgets/views/Dashboard/DashboardTree.d.ts +0 -1
  132. package/dist/widgets/views/Dashboard/DashboardTree.d.ts.map +1 -1
  133. package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts +0 -1
  134. package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts.map +1 -1
  135. package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts +0 -1
  136. package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts.map +1 -1
  137. package/dist/widgets/views/Graph/GraphChart.d.ts +0 -1
  138. package/dist/widgets/views/Graph/GraphChart.d.ts.map +1 -1
  139. package/dist/widgets/views/Graph/GraphIndicator.d.ts +0 -1
  140. package/dist/widgets/views/Graph/GraphIndicator.d.ts.map +1 -1
  141. package/dist/widgets/views/searchFilter/DateRangePicker.d.ts +0 -1
  142. package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +1 -1
  143. package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts +0 -1
  144. package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts.map +1 -1
  145. package/dist/widgets/views/searchFilter/SearchField.d.ts +0 -1
  146. package/dist/widgets/views/searchFilter/SearchField.d.ts.map +1 -1
  147. package/dist/widgets/views/searchFilter/SearchFilter.d.ts +0 -1
  148. package/dist/widgets/views/searchFilter/SearchFilter.d.ts.map +1 -1
  149. package/package.json +2 -2
  150. package/src/hooks/useExport.ts +54 -2
@@ -369,7 +369,7 @@ function Field$1({
369
369
  });
370
370
  if (!a)
371
371
  return h();
372
- const y = /* @__PURE__ */ jsx(Label, {
372
+ const _ = /* @__PURE__ */ jsx(Label, {
373
373
  ooui: new Label$1({
374
374
  name: c + "_label",
375
375
  string: d,
@@ -386,14 +386,14 @@ function Field$1({
386
386
  flex: "7rem",
387
387
  children: /* @__PURE__ */ jsx("div", {
388
388
  className: "flex flex-col items-end",
389
- children: y
389
+ children: _
390
390
  })
391
391
  }), /* @__PURE__ */ jsx(Col, {
392
392
  flex: "auto",
393
393
  children: h()
394
394
  })]
395
395
  }))() : (() => /* @__PURE__ */ jsxs(Fragment, {
396
- children: [y, h()]
396
+ children: [_, h()]
397
397
  }))();
398
398
  }
399
399
  const {
@@ -428,7 +428,7 @@ const {
428
428
  submitForm: p,
429
429
  fetchValues: v,
430
430
  formHasChanges: h,
431
- elementHasLostFocus: y,
431
+ elementHasLostFocus: _,
432
432
  getFields: x
433
433
  } = e;
434
434
  return /* @__PURE__ */ jsx(FormContext$2.Provider, {
@@ -447,7 +447,7 @@ const {
447
447
  submitForm: p,
448
448
  fetchValues: v,
449
449
  formHasChanges: h,
450
- elementHasLostFocus: y
450
+ elementHasLostFocus: _
451
451
  },
452
452
  children: t
453
453
  });
@@ -590,7 +590,7 @@ const Button = (e) => {
590
590
  } = d || {}, [p, v] = useState$1(!1), {
591
591
  lang: h
592
592
  } = useContext(LocaleContext);
593
- async function y() {
593
+ async function _() {
594
594
  v(!0), await f({
595
595
  type: o,
596
596
  action: r,
@@ -603,12 +603,12 @@ const Button = (e) => {
603
603
  confirmMessage: s,
604
604
  lang: h,
605
605
  onOk: () => {
606
- y();
606
+ _();
607
607
  }
608
608
  });
609
609
  return;
610
610
  }
611
- y();
611
+ _();
612
612
  }
613
613
  function m() {
614
614
  if (p)
@@ -652,11 +652,11 @@ const Button = (e) => {
652
652
  context: p,
653
653
  readOnly: v
654
654
  } = r || {}, h = useContext(FormContext$2), {
655
- executeButtonAction: y
655
+ executeButtonAction: _
656
656
  } = h || {}, [x, m] = useState$1(!1), {
657
657
  lang: g
658
658
  } = useContext(LocaleContext);
659
- function _() {
659
+ function y() {
660
660
  if (x)
661
661
  return /* @__PURE__ */ jsx(LoadingOutlined$4, {});
662
662
  if (c) {
@@ -665,7 +665,7 @@ const Button = (e) => {
665
665
  }
666
666
  }
667
667
  async function b() {
668
- u && a && (m(!0), await y({
668
+ u && a && (m(!0), await _({
669
669
  type: u,
670
670
  action: a,
671
671
  context: p
@@ -696,7 +696,7 @@ const Button = (e) => {
696
696
  overlay: Items({
697
697
  ooui: n
698
698
  }),
699
- children: [_(), o]
699
+ children: [y(), o]
700
700
  })
701
701
  });
702
702
  }, Items = (e) => {
@@ -715,7 +715,7 @@ const Button = (e) => {
715
715
  danger: p
716
716
  } = n, v = useContext(FormContext$2), {
717
717
  executeButtonAction: h
718
- } = v || {}, [y, x] = useState$1(!1), {
718
+ } = v || {}, [_, x] = useState$1(!1), {
719
719
  lang: m
720
720
  } = useContext(LocaleContext);
721
721
  async function g() {
@@ -725,7 +725,7 @@ const Button = (e) => {
725
725
  context: d
726
726
  }), x(!1);
727
727
  }
728
- function _() {
728
+ function y() {
729
729
  if (l) {
730
730
  showDialog$9({
731
731
  confirmMessage: l,
@@ -739,7 +739,7 @@ const Button = (e) => {
739
739
  g();
740
740
  }
741
741
  function b() {
742
- if (y)
742
+ if (_)
743
743
  return /* @__PURE__ */ jsx(LoadingOutlined$4, {});
744
744
  if (c) {
745
745
  const C = iconMapper(c);
@@ -748,7 +748,7 @@ const Button = (e) => {
748
748
  }
749
749
  return /* @__PURE__ */ jsx(Menu.Item, {
750
750
  disabled: !s || f,
751
- onClick: _,
751
+ onClick: y,
752
752
  icon: b(),
753
753
  danger: p,
754
754
  children: o
@@ -1225,8 +1225,8 @@ function requireReactIs_production_min() {
1225
1225
  if (hasRequiredReactIs_production_min)
1226
1226
  return reactIs_production_min;
1227
1227
  hasRequiredReactIs_production_min = 1;
1228
- 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, v = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
1229
- function _(C) {
1228
+ 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, v = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, _ = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
1229
+ function y(C) {
1230
1230
  if (typeof C == "object" && C !== null) {
1231
1231
  var w = C.$$typeof;
1232
1232
  switch (w) {
@@ -1257,35 +1257,35 @@ function requireReactIs_production_min() {
1257
1257
  }
1258
1258
  }
1259
1259
  function b(C) {
1260
- return _(C) === c;
1260
+ return y(C) === c;
1261
1261
  }
1262
1262
  return reactIs_production_min.AsyncMode = l, reactIs_production_min.ConcurrentMode = c, reactIs_production_min.ContextConsumer = u, reactIs_production_min.ContextProvider = s, reactIs_production_min.Element = t, reactIs_production_min.ForwardRef = d, reactIs_production_min.Fragment = n, reactIs_production_min.Lazy = h, reactIs_production_min.Memo = v, reactIs_production_min.Portal = r, reactIs_production_min.Profiler = o, reactIs_production_min.StrictMode = a, reactIs_production_min.Suspense = f, reactIs_production_min.isAsyncMode = function(C) {
1263
- return b(C) || _(C) === l;
1263
+ return b(C) || y(C) === l;
1264
1264
  }, reactIs_production_min.isConcurrentMode = b, reactIs_production_min.isContextConsumer = function(C) {
1265
- return _(C) === u;
1265
+ return y(C) === u;
1266
1266
  }, reactIs_production_min.isContextProvider = function(C) {
1267
- return _(C) === s;
1267
+ return y(C) === s;
1268
1268
  }, reactIs_production_min.isElement = function(C) {
1269
1269
  return typeof C == "object" && C !== null && C.$$typeof === t;
1270
1270
  }, reactIs_production_min.isForwardRef = function(C) {
1271
- return _(C) === d;
1271
+ return y(C) === d;
1272
1272
  }, reactIs_production_min.isFragment = function(C) {
1273
- return _(C) === n;
1273
+ return y(C) === n;
1274
1274
  }, reactIs_production_min.isLazy = function(C) {
1275
- return _(C) === h;
1275
+ return y(C) === h;
1276
1276
  }, reactIs_production_min.isMemo = function(C) {
1277
- return _(C) === v;
1277
+ return y(C) === v;
1278
1278
  }, reactIs_production_min.isPortal = function(C) {
1279
- return _(C) === r;
1279
+ return y(C) === r;
1280
1280
  }, reactIs_production_min.isProfiler = function(C) {
1281
- return _(C) === o;
1281
+ return y(C) === o;
1282
1282
  }, reactIs_production_min.isStrictMode = function(C) {
1283
- return _(C) === a;
1283
+ return y(C) === a;
1284
1284
  }, reactIs_production_min.isSuspense = function(C) {
1285
- return _(C) === f;
1285
+ return y(C) === f;
1286
1286
  }, reactIs_production_min.isValidElementType = function(C) {
1287
- return typeof C == "string" || typeof C == "function" || C === n || C === c || C === o || C === a || C === f || C === p || typeof C == "object" && C !== null && (C.$$typeof === h || C.$$typeof === v || C.$$typeof === s || C.$$typeof === u || C.$$typeof === d || C.$$typeof === x || C.$$typeof === m || C.$$typeof === g || C.$$typeof === y);
1288
- }, reactIs_production_min.typeOf = _, reactIs_production_min;
1287
+ return typeof C == "string" || typeof C == "function" || C === n || C === c || C === o || C === a || C === f || C === p || typeof C == "object" && C !== null && (C.$$typeof === h || C.$$typeof === v || C.$$typeof === s || C.$$typeof === u || C.$$typeof === d || C.$$typeof === x || C.$$typeof === m || C.$$typeof === g || C.$$typeof === _);
1288
+ }, reactIs_production_min.typeOf = y, reactIs_production_min;
1289
1289
  }
1290
1290
  var reactIs_development = {};
1291
1291
  /** @license React v16.13.1
@@ -1299,9 +1299,9 @@ var reactIs_development = {};
1299
1299
  var hasRequiredReactIs_development;
1300
1300
  function requireReactIs_development() {
1301
1301
  return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
1302
- 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, v = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
1303
- function _(T) {
1304
- return typeof T == "string" || typeof T == "function" || T === n || T === c || T === o || T === a || T === f || T === p || typeof T == "object" && T !== null && (T.$$typeof === h || T.$$typeof === v || T.$$typeof === s || T.$$typeof === u || T.$$typeof === d || T.$$typeof === x || T.$$typeof === m || T.$$typeof === g || T.$$typeof === y);
1302
+ 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, v = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, _ = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
1303
+ function y(T) {
1304
+ return typeof T == "string" || typeof T == "function" || T === n || T === c || T === o || T === a || T === f || T === p || typeof T == "object" && T !== null && (T.$$typeof === h || T.$$typeof === v || T.$$typeof === s || T.$$typeof === u || T.$$typeof === d || T.$$typeof === x || T.$$typeof === m || T.$$typeof === g || T.$$typeof === _);
1305
1305
  }
1306
1306
  function b(T) {
1307
1307
  if (typeof T == "object" && T !== null) {
@@ -1375,7 +1375,7 @@ function requireReactIs_development() {
1375
1375
  function E(T) {
1376
1376
  return b(T) === f;
1377
1377
  }
1378
- reactIs_development.AsyncMode = C, reactIs_development.ConcurrentMode = w, reactIs_development.ContextConsumer = D, reactIs_development.ContextProvider = S, reactIs_development.Element = $, reactIs_development.ForwardRef = O, reactIs_development.Fragment = A, reactIs_development.Lazy = M, reactIs_development.Memo = P, reactIs_development.Portal = N, reactIs_development.Profiler = F, reactIs_development.StrictMode = k, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = B, reactIs_development.isConcurrentMode = U, reactIs_development.isContextConsumer = L, reactIs_development.isContextProvider = W, reactIs_development.isElement = H, reactIs_development.isForwardRef = z, reactIs_development.isFragment = K, reactIs_development.isLazy = I, reactIs_development.isMemo = V, reactIs_development.isPortal = G, reactIs_development.isProfiler = X, reactIs_development.isStrictMode = Q, reactIs_development.isSuspense = E, reactIs_development.isValidElementType = _, reactIs_development.typeOf = b;
1378
+ reactIs_development.AsyncMode = C, reactIs_development.ConcurrentMode = w, reactIs_development.ContextConsumer = D, reactIs_development.ContextProvider = S, reactIs_development.Element = $, reactIs_development.ForwardRef = O, reactIs_development.Fragment = A, reactIs_development.Lazy = M, reactIs_development.Memo = P, reactIs_development.Portal = N, reactIs_development.Profiler = F, reactIs_development.StrictMode = k, reactIs_development.Suspense = j, reactIs_development.isAsyncMode = B, reactIs_development.isConcurrentMode = U, reactIs_development.isContextConsumer = L, reactIs_development.isContextProvider = W, reactIs_development.isElement = H, reactIs_development.isForwardRef = z, reactIs_development.isFragment = K, reactIs_development.isLazy = I, reactIs_development.isMemo = V, reactIs_development.isPortal = G, reactIs_development.isProfiler = X, reactIs_development.isStrictMode = Q, reactIs_development.isSuspense = E, reactIs_development.isValidElementType = y, reactIs_development.typeOf = b;
1379
1379
  }()), reactIs_development;
1380
1380
  }
1381
1381
  (function(e) {
@@ -1743,7 +1743,7 @@ function SingleObserver(e) {
1743
1743
  }, [d, n]), p = React$n.useRef(e);
1744
1744
  p.current = e;
1745
1745
  var v = React$n.useCallback(function(h) {
1746
- var y = p.current, x = y.onResize, m = y.data, g = h.getBoundingClientRect(), _ = g.width, b = g.height, C = h.offsetWidth, w = h.offsetHeight, D = Math.floor(_), S = Math.floor(b);
1746
+ var _ = p.current, x = _.onResize, m = _.data, g = h.getBoundingClientRect(), y = g.width, b = g.height, C = h.offsetWidth, w = h.offsetHeight, D = Math.floor(y), S = Math.floor(b);
1747
1747
  if (l.current.width !== D || l.current.height !== S || l.current.offsetWidth !== C || l.current.offsetHeight !== w) {
1748
1748
  var $ = {
1749
1749
  width: D,
@@ -1752,7 +1752,7 @@ function SingleObserver(e) {
1752
1752
  offsetHeight: w
1753
1753
  };
1754
1754
  l.current = $;
1755
- var O = C === Math.round(_) ? _ : C, A = w === Math.round(b) ? b : w, M = _objectSpread2$g(_objectSpread2$g({}, $), {}, {
1755
+ var O = C === Math.round(y) ? y : C, A = w === Math.round(b) ? b : w, M = _objectSpread2$g(_objectSpread2$g({}, $), {}, {
1756
1756
  offsetWidth: O,
1757
1757
  offsetHeight: A
1758
1758
  });
@@ -1878,16 +1878,16 @@ function useMergedState$2(e, t) {
1878
1878
  }, [a]);
1879
1879
  var v = React$n.useRef(), h = useEvent$2(function(x, m) {
1880
1880
  d(function(g) {
1881
- var _ = _slicedToArray(g, 3), b = _[0], C = _[1], w = _[2], D = typeof x == "function" ? x(b) : x;
1881
+ var y = _slicedToArray(g, 3), b = y[0], C = y[1], w = y[2], D = typeof x == "function" ? x(b) : x;
1882
1882
  if (D === b)
1883
1883
  return g;
1884
1884
  var S = C === Source$1.INNER && v.current !== w ? w : b;
1885
1885
  return [D, Source$1.INNER, S];
1886
1886
  }, m);
1887
- }), y = useEvent$2(o);
1887
+ }), _ = useEvent$2(o);
1888
1888
  return useLayoutEffect$2(function() {
1889
- var x = _slicedToArray(c, 3), m = x[0], g = x[1], _ = x[2];
1890
- m !== _ && g === Source$1.INNER && (y(m, _), v.current = _);
1889
+ var x = _slicedToArray(c, 3), m = x[0], g = x[1], y = x[2];
1890
+ m !== y && g === Source$1.INNER && (_(m, y), v.current = y);
1891
1891
  }, [c]), [p, h];
1892
1892
  }
1893
1893
  var HIDDEN_TEXTAREA_STYLE = `
@@ -1942,21 +1942,21 @@ var _excluded$7 = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSi
1942
1942
  postState: function(K) {
1943
1943
  return K != null ? K : "";
1944
1944
  }
1945
- }), y = _slicedToArray(h, 2), x = y[0], m = y[1], g = function(K) {
1945
+ }), _ = _slicedToArray(h, 2), x = _[0], m = _[1], g = function(K) {
1946
1946
  m(K.target.value), f == null || f(K);
1947
- }, _ = React$n.useRef();
1947
+ }, y = React$n.useRef();
1948
1948
  React$n.useImperativeHandle(t, function() {
1949
1949
  return {
1950
- textArea: _.current
1950
+ textArea: y.current
1951
1951
  };
1952
1952
  });
1953
1953
  var b = React$n.useMemo(function() {
1954
1954
  return s && _typeof$2(s) === "object" ? [s.minRows, s.maxRows] : [];
1955
1955
  }, [s]), C = _slicedToArray(b, 2), w = C[0], D = C[1], S = !!s, $ = function() {
1956
1956
  try {
1957
- if (document.activeElement === _.current) {
1958
- var K = _.current, I = K.selectionStart, V = K.selectionEnd, G = K.scrollTop;
1959
- _.current.setSelectionRange(I, V), _.current.scrollTop = G;
1957
+ if (document.activeElement === y.current) {
1958
+ var K = y.current, I = K.selectionStart, V = K.selectionEnd, G = K.scrollTop;
1959
+ y.current.setSelectionRange(I, V), y.current.scrollTop = G;
1960
1960
  }
1961
1961
  } catch {
1962
1962
  }
@@ -1969,7 +1969,7 @@ var _excluded$7 = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSi
1969
1969
  if (M === RESIZE_START)
1970
1970
  P(RESIZE_MEASURING);
1971
1971
  else if (M === RESIZE_MEASURING) {
1972
- var z = calculateAutoSizeStyle(_.current, !1, w, D);
1972
+ var z = calculateAutoSizeStyle(y.current, !1, w, D);
1973
1973
  P(RESIZE_STABLE), j(z);
1974
1974
  } else
1975
1975
  $();
@@ -1990,7 +1990,7 @@ var _excluded$7 = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSi
1990
1990
  disabled: !(s || u),
1991
1991
  children: /* @__PURE__ */ jsx("textarea", {
1992
1992
  ...v,
1993
- ref: _,
1993
+ ref: y,
1994
1994
  style: H,
1995
1995
  className: classNames(n, l, _defineProperty$1({}, "".concat(n, "-disabled"), d)),
1996
1996
  disabled: d,
@@ -2142,16 +2142,16 @@ function useMergedState(e, t) {
2142
2142
  }, [a]);
2143
2143
  var v = React$j.useRef(), h = (0, _useEvent.default)(function(x, m) {
2144
2144
  d(function(g) {
2145
- var _ = (0, _slicedToArray2$1.default)(g, 3), b = _[0], C = _[1], w = _[2], D = typeof x == "function" ? x(b) : x;
2145
+ var y = (0, _slicedToArray2$1.default)(g, 3), b = y[0], C = y[1], w = y[2], D = typeof x == "function" ? x(b) : x;
2146
2146
  if (D === b)
2147
2147
  return g;
2148
2148
  var S = C === Source.INNER && v.current !== w ? w : b;
2149
2149
  return [D, Source.INNER, S];
2150
2150
  }, m);
2151
- }), y = (0, _useEvent.default)(o);
2151
+ }), _ = (0, _useEvent.default)(o);
2152
2152
  return (0, _useLayoutEffect.default)(function() {
2153
- var x = (0, _slicedToArray2$1.default)(c, 3), m = x[0], g = x[1], _ = x[2];
2154
- m !== _ && g === Source.INNER && (y(m, _), v.current = _);
2153
+ var x = (0, _slicedToArray2$1.default)(c, 3), m = x[0], g = x[1], y = x[2];
2154
+ m !== y && g === Source.INNER && (_(m, y), v.current = y);
2155
2155
  }, [c]), [p, h];
2156
2156
  }
2157
2157
  var omit$2 = {}, objectSpread2 = { exports: {} };
@@ -2301,14 +2301,14 @@ function _regeneratorRuntime() {
2301
2301
  }
2302
2302
  function h() {
2303
2303
  }
2304
- var y = {};
2305
- l(y, o, function() {
2304
+ var _ = {};
2305
+ l(_, o, function() {
2306
2306
  return this;
2307
2307
  });
2308
2308
  var x = Object.getPrototypeOf, m = x && x(x(O([])));
2309
- m && m !== t && r.call(m, o) && (y = m);
2310
- var g = h.prototype = p.prototype = Object.create(y);
2311
- function _(M) {
2309
+ m && m !== t && r.call(m, o) && (_ = m);
2310
+ var g = h.prototype = p.prototype = Object.create(_);
2311
+ function y(M) {
2312
2312
  ["next", "throw", "return"].forEach(function(P) {
2313
2313
  l(M, P, function(N) {
2314
2314
  return this._invoke(P, N);
@@ -2459,7 +2459,7 @@ function _regeneratorRuntime() {
2459
2459
  return {
2460
2460
  __await: M
2461
2461
  };
2462
- }, _(b.prototype), l(b.prototype, s, function() {
2462
+ }, y(b.prototype), l(b.prototype, s, function() {
2463
2463
  return this;
2464
2464
  }), e.AsyncIterator = b, e.async = function(M, P, N, F, k) {
2465
2465
  k === void 0 && (k = Promise);
@@ -2467,7 +2467,7 @@ function _regeneratorRuntime() {
2467
2467
  return e.isGeneratorFunction(P) ? j : j.next().then(function(q) {
2468
2468
  return q.done ? q.value : j.next();
2469
2469
  });
2470
- }, _(g), l(g, u, "Generator"), l(g, o, function() {
2470
+ }, y(g), l(g, u, "Generator"), l(g, o, function() {
2471
2471
  return this;
2472
2472
  }), l(g, "toString", function() {
2473
2473
  return "[object Generator]";
@@ -2763,8 +2763,8 @@ function asyncMap(e, t, r, n, a) {
2763
2763
  var o = new Promise(function(p, v) {
2764
2764
  var h = function(m) {
2765
2765
  return n(m), m.length ? v(new AsyncValidationError(m, convertFieldsError(m))) : p(a);
2766
- }, y = flattenObjArr(e);
2767
- asyncSerialArray(y, r, h);
2766
+ }, _ = flattenObjArr(e);
2767
+ asyncSerialArray(_, r, h);
2768
2768
  });
2769
2769
  return o.catch(function(p) {
2770
2770
  return p;
@@ -2775,9 +2775,9 @@ function asyncMap(e, t, r, n, a) {
2775
2775
  if (d.push.apply(d, x), c++, c === l)
2776
2776
  return n(d), d.length ? v(new AsyncValidationError(d, convertFieldsError(d))) : p(a);
2777
2777
  };
2778
- u.length || (n(d), p(a)), u.forEach(function(y) {
2779
- var x = e[y];
2780
- s.indexOf(y) !== -1 ? asyncSerialArray(x, r, h) : asyncParallelArray(x, r, h);
2778
+ u.length || (n(d), p(a)), u.forEach(function(_) {
2779
+ var x = e[_];
2780
+ s.indexOf(_) !== -1 ? asyncSerialArray(x, r, h) : asyncParallelArray(x, r, h);
2781
2781
  });
2782
2782
  });
2783
2783
  return f.catch(function(p) {
@@ -2838,12 +2838,12 @@ var required$1 = function(t, r, n, a, o, s) {
2838
2838
  `).replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), o = new RegExp("(?:^" + r + "$)|(?:^" + a + "$)"), s = new RegExp("^" + r + "$"), u = new RegExp("^" + a + "$"), l = function(b) {
2839
2839
  return b && b.exact ? o : new RegExp("(?:" + t(b) + r + t(b) + ")|(?:" + t(b) + a + t(b) + ")", "g");
2840
2840
  };
2841
- l.v4 = function(_) {
2842
- return _ && _.exact ? s : new RegExp("" + t(_) + r + t(_), "g");
2843
- }, l.v6 = function(_) {
2844
- return _ && _.exact ? u : new RegExp("" + t(_) + a + t(_), "g");
2841
+ l.v4 = function(y) {
2842
+ return y && y.exact ? s : new RegExp("" + t(y) + r + t(y), "g");
2843
+ }, l.v6 = function(y) {
2844
+ return y && y.exact ? u : new RegExp("" + t(y) + a + t(y), "g");
2845
2845
  };
2846
- var c = "(?:(?:[a-z]+:)?//)", d = "(?:\\S+(?::\\S*)?@)?", f = l.v4().source, p = l.v6().source, v = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", h = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", y = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", x = "(?::\\d{2,5})?", m = '(?:[/?#][^\\s"]*)?', g = "(?:" + c + "|www\\.)" + d + "(?:localhost|" + f + "|" + p + "|" + v + h + y + ")" + x + m;
2846
+ var c = "(?:(?:[a-z]+:)?//)", d = "(?:\\S+(?::\\S*)?@)?", f = l.v4().source, p = l.v6().source, v = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", h = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", _ = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", x = "(?::\\d{2,5})?", m = '(?:[/?#][^\\s"]*)?', g = "(?:" + c + "|www\\.)" + d + "(?:localhost|" + f + "|" + p + "|" + v + h + _ + ")" + x + m;
2847
2847
  return urlReg = new RegExp("(?:^" + g + "$)", "i"), urlReg;
2848
2848
  }, pattern$2 = {
2849
2849
  email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
@@ -3132,7 +3132,7 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
3132
3132
  var u = n, l = a, c = o;
3133
3133
  if (typeof l == "function" && (c = l, l = {}), !this.rules || Object.keys(this.rules).length === 0)
3134
3134
  return c && c(null, u), Promise.resolve(u);
3135
- function d(y) {
3135
+ function d(_) {
3136
3136
  var x = [], m = {};
3137
3137
  function g(b) {
3138
3138
  if (Array.isArray(b)) {
@@ -3141,8 +3141,8 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
3141
3141
  } else
3142
3142
  x.push(b);
3143
3143
  }
3144
- for (var _ = 0; _ < y.length; _++)
3145
- g(y[_]);
3144
+ for (var y = 0; y < _.length; y++)
3145
+ g(_[y]);
3146
3146
  x.length ? (m = convertFieldsError(x), c(x, m)) : c(null, u);
3147
3147
  }
3148
3148
  if (l.messages) {
@@ -3151,25 +3151,25 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
3151
3151
  } else
3152
3152
  l.messages = this.messages();
3153
3153
  var p = {}, v = l.keys || Object.keys(this.rules);
3154
- v.forEach(function(y) {
3155
- var x = s.rules[y], m = u[y];
3154
+ v.forEach(function(_) {
3155
+ var x = s.rules[_], m = u[_];
3156
3156
  x.forEach(function(g) {
3157
- var _ = g;
3158
- typeof _.transform == "function" && (u === n && (u = _extends({}, u)), m = u[y] = _.transform(m)), typeof _ == "function" ? _ = {
3159
- validator: _
3160
- } : _ = _extends({}, _), _.validator = s.getValidationMethod(_), _.validator && (_.field = y, _.fullField = _.fullField || y, _.type = s.getType(_), p[y] = p[y] || [], p[y].push({
3161
- rule: _,
3157
+ var y = g;
3158
+ typeof y.transform == "function" && (u === n && (u = _extends({}, u)), m = u[_] = y.transform(m)), typeof y == "function" ? y = {
3159
+ validator: y
3160
+ } : y = _extends({}, y), y.validator = s.getValidationMethod(y), y.validator && (y.field = _, y.fullField = y.fullField || _, y.type = s.getType(y), p[_] = p[_] || [], p[_].push({
3161
+ rule: y,
3162
3162
  value: m,
3163
3163
  source: u,
3164
- field: y
3164
+ field: _
3165
3165
  }));
3166
3166
  });
3167
3167
  });
3168
3168
  var h = {};
3169
- return asyncMap(p, l, function(y, x) {
3170
- var m = y.rule, g = (m.type === "object" || m.type === "array") && (typeof m.fields == "object" || typeof m.defaultField == "object");
3171
- g = g && (m.required || !m.required && y.value), m.field = y.field;
3172
- function _(w, D) {
3169
+ return asyncMap(p, l, function(_, x) {
3170
+ var m = _.rule, g = (m.type === "object" || m.type === "array") && (typeof m.fields == "object" || typeof m.defaultField == "object");
3171
+ g = g && (m.required || !m.required && _.value), m.field = _.field;
3172
+ function y(w, D) {
3173
3173
  return _extends({}, D, {
3174
3174
  fullField: m.fullField + "." + w,
3175
3175
  fullFields: m.fullFields ? [].concat(m.fullFields, [w]) : [w]
@@ -3185,19 +3185,19 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
3185
3185
  if (!g)
3186
3186
  x(S);
3187
3187
  else {
3188
- if (m.required && !y.value)
3188
+ if (m.required && !_.value)
3189
3189
  return m.message !== void 0 ? S = [].concat(m.message).map(complementError(m, u)) : l.error && (S = [l.error(m, format$2(l.messages.required, m.field))]), x(S);
3190
3190
  var $ = {};
3191
- m.defaultField && Object.keys(y.value).map(function(M) {
3191
+ m.defaultField && Object.keys(_.value).map(function(M) {
3192
3192
  $[M] = m.defaultField;
3193
- }), $ = _extends({}, $, y.rule.fields);
3193
+ }), $ = _extends({}, $, _.rule.fields);
3194
3194
  var O = {};
3195
3195
  Object.keys($).forEach(function(M) {
3196
3196
  var P = $[M], N = Array.isArray(P) ? P : [P];
3197
- O[M] = N.map(_.bind(null, M));
3197
+ O[M] = N.map(y.bind(null, M));
3198
3198
  });
3199
3199
  var A = new e(O);
3200
- A.messages(l.messages), y.rule.options && (y.rule.options.messages = l.messages, y.rule.options.error = l.error), A.validate(y.value, y.rule.options || l, function(M) {
3200
+ A.messages(l.messages), _.rule.options && (_.rule.options.messages = l.messages, _.rule.options.error = l.error), A.validate(_.value, _.rule.options || l, function(M) {
3201
3201
  var P = [];
3202
3202
  S && S.length && P.push.apply(P, S), M && M.length && P.push.apply(P, M), x(P.length ? P : null);
3203
3203
  });
@@ -3205,10 +3205,10 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
3205
3205
  }
3206
3206
  var C;
3207
3207
  if (m.asyncValidator)
3208
- C = m.asyncValidator(m, y.value, b, y.source, l);
3208
+ C = m.asyncValidator(m, _.value, b, _.source, l);
3209
3209
  else if (m.validator) {
3210
3210
  try {
3211
- C = m.validator(m, y.value, b, y.source, l);
3211
+ C = m.validator(m, _.value, b, _.source, l);
3212
3212
  } catch (w) {
3213
3213
  console.error == null || console.error(w), l.suppressValidatorError || setTimeout(function() {
3214
3214
  throw w;
@@ -3221,8 +3221,8 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
3221
3221
  }, function(w) {
3222
3222
  return b(w);
3223
3223
  });
3224
- }, function(y) {
3225
- d(y);
3224
+ }, function(_) {
3225
+ d(_);
3226
3226
  }, u);
3227
3227
  }, t.getType = function(n) {
3228
3228
  if (n.type === void 0 && n.pattern instanceof RegExp && (n.type = "pattern"), typeof n.validator != "function" && n.type && !validators.hasOwnProperty(n.type))
@@ -3425,7 +3425,7 @@ function _validateRule() {
3425
3425
  break;
3426
3426
  case 14:
3427
3427
  x.prev = 14, x.t0 = x.catch(9), x.t0.errors && (f = x.t0.errors.map(function(m, g) {
3428
- var _ = m.message, b = _ === CODE_LOGIC_ERROR ? d.default : _;
3428
+ var y = m.message, b = y === CODE_LOGIC_ERROR ? d.default : y;
3429
3429
  return /* @__PURE__ */ React$n.isValidElement(b) ? /* @__PURE__ */ React$n.cloneElement(b, {
3430
3430
  key: "error_".concat(g)
3431
3431
  }) : b;
@@ -3461,28 +3461,28 @@ function validateRules(e, t, r, n, a, o) {
3461
3461
  var p = d.validator, v = _objectSpread2$g(_objectSpread2$g({}, d), {}, {
3462
3462
  ruleIndex: f
3463
3463
  });
3464
- return p && (v.validator = function(h, y, x) {
3464
+ return p && (v.validator = function(h, _, x) {
3465
3465
  var m = !1, g = function() {
3466
3466
  for (var C = arguments.length, w = new Array(C), D = 0; D < C; D++)
3467
3467
  w[D] = arguments[D];
3468
3468
  Promise.resolve().then(function() {
3469
3469
  warningOnce$1(!m, "Your validator function has already return a promise. `callback` will be ignored."), m || x.apply(void 0, w);
3470
3470
  });
3471
- }, _ = p(h, y, g);
3472
- m = _ && typeof _.then == "function" && typeof _.catch == "function", warningOnce$1(m, "`callback` is deprecated. Please return a promise instead."), m && _.then(function() {
3471
+ }, y = p(h, _, g);
3472
+ m = y && typeof y.then == "function" && typeof y.catch == "function", warningOnce$1(m, "`callback` is deprecated. Please return a promise instead."), m && y.then(function() {
3473
3473
  x();
3474
3474
  }).catch(function(b) {
3475
3475
  x(b || " ");
3476
3476
  });
3477
3477
  }), v;
3478
3478
  }).sort(function(d, f) {
3479
- var p = d.warningOnly, v = d.ruleIndex, h = f.warningOnly, y = f.ruleIndex;
3480
- return !!p == !!h ? v - y : p ? 1 : -1;
3479
+ var p = d.warningOnly, v = d.ruleIndex, h = f.warningOnly, _ = f.ruleIndex;
3480
+ return !!p == !!h ? v - _ : p ? 1 : -1;
3481
3481
  }), l;
3482
3482
  if (a === !0)
3483
3483
  l = new Promise(/* @__PURE__ */ function() {
3484
3484
  var d = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function f(p, v) {
3485
- var h, y, x;
3485
+ var h, _, x;
3486
3486
  return _regeneratorRuntime().wrap(function(g) {
3487
3487
  for (; ; )
3488
3488
  switch (g.prev = g.next) {
@@ -3493,7 +3493,7 @@ function validateRules(e, t, r, n, a, o) {
3493
3493
  g.next = 12;
3494
3494
  break;
3495
3495
  }
3496
- return y = u[h], g.next = 5, validateRule(s, t, y, n, o);
3496
+ return _ = u[h], g.next = 5, validateRule(s, t, _, n, o);
3497
3497
  case 5:
3498
3498
  if (x = g.sent, !x.length) {
3499
3499
  g.next = 9;
@@ -3501,7 +3501,7 @@ function validateRules(e, t, r, n, a, o) {
3501
3501
  }
3502
3502
  return v([{
3503
3503
  errors: x,
3504
- rule: y
3504
+ rule: _
3505
3505
  }]), g.abrupt("return");
3506
3506
  case 9:
3507
3507
  h += 1, g.next = 1;
@@ -3616,11 +3616,11 @@ var Field = /* @__PURE__ */ function(e) {
3616
3616
  destroy: l
3617
3617
  }));
3618
3618
  }, a.onStoreChange = function(l, c, d) {
3619
- var f = a.props, p = f.shouldUpdate, v = f.dependencies, h = v === void 0 ? [] : v, y = f.onReset, x = d.store, m = a.getNamePath(), g = a.getValue(l), _ = a.getValue(x), b = c && containsNamePath(c, m);
3620
- switch (d.type === "valueUpdate" && d.source === "external" && g !== _ && (a.touched = !0, a.dirty = !0, a.validatePromise = null, a.errors = EMPTY_ERRORS, a.warnings = EMPTY_ERRORS, a.triggerMetaEvent()), d.type) {
3619
+ var f = a.props, p = f.shouldUpdate, v = f.dependencies, h = v === void 0 ? [] : v, _ = f.onReset, x = d.store, m = a.getNamePath(), g = a.getValue(l), y = a.getValue(x), b = c && containsNamePath(c, m);
3620
+ switch (d.type === "valueUpdate" && d.source === "external" && g !== y && (a.touched = !0, a.dirty = !0, a.validatePromise = null, a.errors = EMPTY_ERRORS, a.warnings = EMPTY_ERRORS, a.triggerMetaEvent()), d.type) {
3621
3621
  case "reset":
3622
3622
  if (!c || b) {
3623
- a.touched = !1, a.dirty = !1, a.validatePromise = null, a.errors = EMPTY_ERRORS, a.warnings = EMPTY_ERRORS, a.triggerMetaEvent(), y == null || y(), a.refresh();
3623
+ a.touched = !1, a.dirty = !1, a.validatePromise = null, a.errors = EMPTY_ERRORS, a.warnings = EMPTY_ERRORS, a.triggerMetaEvent(), _ == null || _(), a.refresh();
3624
3624
  return;
3625
3625
  }
3626
3626
  break;
@@ -3637,7 +3637,7 @@ var Field = /* @__PURE__ */ function(e) {
3637
3637
  "touched" in C && (a.touched = C.touched), "validating" in C && !("originRCField" in C) && (a.validatePromise = C.validating ? Promise.resolve([]) : null), "errors" in C && (a.errors = C.errors || EMPTY_ERRORS), "warnings" in C && (a.warnings = C.warnings || EMPTY_ERRORS), a.dirty = !0, a.triggerMetaEvent(), a.reRender();
3638
3638
  return;
3639
3639
  }
3640
- if (p && !m.length && requireUpdate(p, l, x, g, _, d)) {
3640
+ if (p && !m.length && requireUpdate(p, l, x, g, y, d)) {
3641
3641
  a.reRender();
3642
3642
  return;
3643
3643
  }
@@ -3654,7 +3654,7 @@ var Field = /* @__PURE__ */ function(e) {
3654
3654
  break;
3655
3655
  }
3656
3656
  default:
3657
- if (b || (!h.length || m.length || p) && requireUpdate(p, l, x, g, _, d)) {
3657
+ if (b || (!h.length || m.length || p) && requireUpdate(p, l, x, g, y, d)) {
3658
3658
  a.reRender();
3659
3659
  return;
3660
3660
  }
@@ -3665,7 +3665,7 @@ var Field = /* @__PURE__ */ function(e) {
3665
3665
  var c = a.getNamePath(), d = a.getValue(), f = Promise.resolve().then(function() {
3666
3666
  if (!a.mounted)
3667
3667
  return [];
3668
- var p = a.props, v = p.validateFirst, h = v === void 0 ? !1 : v, y = p.messageVariables, x = l || {}, m = x.triggerName, g = a.getRules();
3668
+ var p = a.props, v = p.validateFirst, h = v === void 0 ? !1 : v, _ = p.messageVariables, x = l || {}, m = x.triggerName, g = a.getRules();
3669
3669
  m && (g = g.filter(function(b) {
3670
3670
  return b;
3671
3671
  }).filter(function(b) {
@@ -3675,8 +3675,8 @@ var Field = /* @__PURE__ */ function(e) {
3675
3675
  var w = toArray$3(C);
3676
3676
  return w.includes(m);
3677
3677
  }));
3678
- var _ = validateRules(c, d, g, l, h, y);
3679
- return _.catch(function(b) {
3678
+ var y = validateRules(c, d, g, l, h, _);
3679
+ return y.catch(function(b) {
3680
3680
  return b;
3681
3681
  }).then(function() {
3682
3682
  var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : EMPTY_ERRORS;
@@ -3689,7 +3689,7 @@ var Field = /* @__PURE__ */ function(e) {
3689
3689
  $ ? D.push.apply(D, _toConsumableArray(A)) : w.push.apply(w, _toConsumableArray(A));
3690
3690
  }), a.errors = w, a.warnings = D, a.triggerMetaEvent(), a.reRender();
3691
3691
  }
3692
- }), _;
3692
+ }), y;
3693
3693
  });
3694
3694
  return a.validatePromise = f, a.dirty = !0, a.errors = EMPTY_ERRORS, a.warnings = EMPTY_ERRORS, a.triggerMetaEvent(), a.reRender(), f;
3695
3695
  }, a.isFieldValidating = function() {
@@ -3740,7 +3740,7 @@ var Field = /* @__PURE__ */ function(e) {
3740
3740
  var c = a.props.fieldContext.getFieldsValue, d = a.getNamePath();
3741
3741
  return getValue$3(l || c(!0), d);
3742
3742
  }, a.getControlled = function() {
3743
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = a.props, d = c.trigger, f = c.validateTrigger, p = c.getValueFromEvent, v = c.normalize, h = c.valuePropName, y = c.getValueProps, x = c.fieldContext, m = f !== void 0 ? f : x.validateTrigger, g = a.getNamePath(), _ = x.getInternalHooks, b = x.getFieldsValue, C = _(HOOK_MARK), w = C.dispatch, D = a.getValue(), S = y || function(M) {
3743
+ var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = a.props, d = c.trigger, f = c.validateTrigger, p = c.getValueFromEvent, v = c.normalize, h = c.valuePropName, _ = c.getValueProps, x = c.fieldContext, m = f !== void 0 ? f : x.validateTrigger, g = a.getNamePath(), y = x.getInternalHooks, b = x.getFieldsValue, C = y(HOOK_MARK), w = C.dispatch, D = a.getValue(), S = _ || function(M) {
3744
3744
  return _defineProperty$1({}, h, M);
3745
3745
  }, $ = l[d], O = _objectSpread2$g(_objectSpread2$g({}, l), S(D));
3746
3746
  O[d] = function() {
@@ -3829,17 +3829,17 @@ var ListContext = /* @__PURE__ */ React$n.createContext(null), List = function(t
3829
3829
  });
3830
3830
  }, [u, d]), p = React$n.useMemo(function() {
3831
3831
  return {
3832
- getKey: function(y) {
3833
- var x = d.length, m = y[x];
3834
- return [c.keys[m], y.slice(x + 1)];
3832
+ getKey: function(_) {
3833
+ var x = d.length, m = _[x];
3834
+ return [c.keys[m], _.slice(x + 1)];
3835
3835
  }
3836
3836
  };
3837
3837
  }, [d]);
3838
3838
  if (typeof a != "function")
3839
3839
  return warningOnce$1(!1, "Form.List only accepts function as children."), null;
3840
- var v = function(y, x, m) {
3840
+ var v = function(_, x, m) {
3841
3841
  var g = m.source;
3842
- return g === "internal" ? !1 : y !== x;
3842
+ return g === "internal" ? !1 : _ !== x;
3843
3843
  };
3844
3844
  return /* @__PURE__ */ jsx(ListContext.Provider, {
3845
3845
  value: p,
@@ -3852,9 +3852,9 @@ var ListContext = /* @__PURE__ */ React$n.createContext(null), List = function(t
3852
3852
  validateTrigger: s,
3853
3853
  initialValue: n,
3854
3854
  isList: !0,
3855
- children: function(h, y) {
3856
- var x = h.value, m = x === void 0 ? [] : x, g = h.onChange, _ = u.getFieldValue, b = function() {
3857
- var S = _(d || []);
3855
+ children: function(h, _) {
3856
+ var x = h.value, m = x === void 0 ? [] : x, g = h.onChange, y = u.getFieldValue, b = function() {
3857
+ var S = y(d || []);
3858
3858
  return S || [];
3859
3859
  }, C = {
3860
3860
  add: function(S, $) {
@@ -3883,7 +3883,7 @@ var ListContext = /* @__PURE__ */ React$n.createContext(null), List = function(t
3883
3883
  key: $,
3884
3884
  isListField: !0
3885
3885
  };
3886
- }), C, y);
3886
+ }), C, _);
3887
3887
  }
3888
3888
  })
3889
3889
  })
@@ -4110,22 +4110,22 @@ var NameMap = /* @__PURE__ */ function() {
4110
4110
  if (!l)
4111
4111
  return c ? d.every(f) : d.some(f);
4112
4112
  var p = new NameMap();
4113
- l.forEach(function(y) {
4114
- p.set(y, []);
4115
- }), d.forEach(function(y) {
4116
- var x = y.getNamePath();
4113
+ l.forEach(function(_) {
4114
+ p.set(_, []);
4115
+ }), d.forEach(function(_) {
4116
+ var x = _.getNamePath();
4117
4117
  l.forEach(function(m) {
4118
- m.every(function(g, _) {
4119
- return x[_] === g;
4118
+ m.every(function(g, y) {
4119
+ return x[y] === g;
4120
4120
  }) && p.update(m, function(g) {
4121
- return [].concat(_toConsumableArray(g), [y]);
4121
+ return [].concat(_toConsumableArray(g), [_]);
4122
4122
  });
4123
4123
  });
4124
4124
  });
4125
4125
  var v = function(x) {
4126
4126
  return x.some(f);
4127
- }, h = p.map(function(y) {
4128
- var x = y.value;
4127
+ }, h = p.map(function(_) {
4128
+ var x = _.value;
4129
4129
  return x;
4130
4130
  });
4131
4131
  return c ? h.every(v) : h.some(v);
@@ -4169,8 +4169,8 @@ var NameMap = /* @__PURE__ */ function() {
4169
4169
  if (h && h.size > 1)
4170
4170
  warningOnce$1(!1, "Multiple Field with path '".concat(p.join("."), "' set 'initialValue'. Can not decide which one to pick."));
4171
4171
  else if (h) {
4172
- var y = r.getFieldValue(p);
4173
- (!n.skipExist || y === void 0) && r.updateStore(setValue(r.store, p, _toConsumableArray(h)[0].value));
4172
+ var _ = r.getFieldValue(p);
4173
+ (!n.skipExist || _ === void 0) && r.updateStore(setValue(r.store, p, _toConsumableArray(h)[0].value));
4174
4174
  }
4175
4175
  }
4176
4176
  }
@@ -4373,8 +4373,8 @@ var NameMap = /* @__PURE__ */ function() {
4373
4373
  r.getFieldEntities(!0).forEach(function(d) {
4374
4374
  if (o || s.push(d.getNamePath()), (a == null ? void 0 : a.recursive) && o) {
4375
4375
  var f = d.getNamePath();
4376
- f.every(function(h, y) {
4377
- return n[y] === h || n[y] === void 0;
4376
+ f.every(function(h, _) {
4377
+ return n[_] === h || n[_] === void 0;
4378
4378
  }) && s.push(f);
4379
4379
  }
4380
4380
  if (!(!d.props.rules || !d.props.rules.length)) {
@@ -4390,10 +4390,10 @@ var NameMap = /* @__PURE__ */ function() {
4390
4390
  warnings: []
4391
4391
  };
4392
4392
  }).catch(function(h) {
4393
- var y, x = [], m = [];
4394
- return (y = h.forEach) === null || y === void 0 || y.call(h, function(g) {
4395
- var _ = g.rule.warningOnly, b = g.errors;
4396
- _ ? m.push.apply(m, _toConsumableArray(b)) : x.push.apply(x, _toConsumableArray(b));
4393
+ var _, x = [], m = [];
4394
+ return (_ = h.forEach) === null || _ === void 0 || _.call(h, function(g) {
4395
+ var y = g.rule.warningOnly, b = g.errors;
4396
+ y ? m.push.apply(m, _toConsumableArray(b)) : x.push.apply(x, _toConsumableArray(b));
4397
4397
  }), x.length ? Promise.reject({
4398
4398
  name: p,
4399
4399
  errors: x,
@@ -4499,24 +4499,24 @@ var FormContext$1 = /* @__PURE__ */ React$n.createContext({
4499
4499
  children: o
4500
4500
  });
4501
4501
  }, _excluded$4 = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"], Form$2 = function(t, r) {
4502
- 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, v = p === void 0 ? "onChange" : p, h = t.onValuesChange, y = t.onFieldsChange, x = t.onFinish, m = t.onFinishFailed, g = _objectWithoutProperties(t, _excluded$4), _ = React$n.useContext(FormContext$1), b = useForm(s), C = _slicedToArray(b, 1), w = C[0], D = w.getInternalHooks(HOOK_MARK), S = D.useSubscribe, $ = D.setInitialValues, O = D.setCallbacks, A = D.setValidateMessages, M = D.setPreserve, P = D.destroyForm;
4502
+ 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, v = p === void 0 ? "onChange" : p, h = t.onValuesChange, _ = t.onFieldsChange, x = t.onFinish, m = t.onFinishFailed, g = _objectWithoutProperties(t, _excluded$4), y = React$n.useContext(FormContext$1), b = useForm(s), C = _slicedToArray(b, 1), w = C[0], D = w.getInternalHooks(HOOK_MARK), S = D.useSubscribe, $ = D.setInitialValues, O = D.setCallbacks, A = D.setValidateMessages, M = D.setPreserve, P = D.destroyForm;
4503
4503
  React$n.useImperativeHandle(r, function() {
4504
4504
  return w;
4505
4505
  }), React$n.useEffect(function() {
4506
- return _.registerForm(n, w), function() {
4507
- _.unregisterForm(n);
4506
+ return y.registerForm(n, w), function() {
4507
+ y.unregisterForm(n);
4508
4508
  };
4509
- }, [_, w, n]), A(_objectSpread2$g(_objectSpread2$g({}, _.validateMessages), f)), O({
4509
+ }, [y, w, n]), A(_objectSpread2$g(_objectSpread2$g({}, y.validateMessages), f)), O({
4510
4510
  onValuesChange: h,
4511
4511
  onFieldsChange: function(W) {
4512
- if (_.triggerFormChange(n, W), y) {
4512
+ if (y.triggerFormChange(n, W), _) {
4513
4513
  for (var H = arguments.length, z = new Array(H > 1 ? H - 1 : 0), K = 1; K < H; K++)
4514
4514
  z[K - 1] = arguments[K];
4515
- y.apply(void 0, [W].concat(z));
4515
+ _.apply(void 0, [W].concat(z));
4516
4516
  }
4517
4517
  },
4518
4518
  onFinish: function(W) {
4519
- _.triggerFormFinish(n, W), x && x(W);
4519
+ y.triggerFormFinish(n, W), x && x(W);
4520
4520
  },
4521
4521
  onFinishFailed: m
4522
4522
  }), M(u);
@@ -4574,11 +4574,11 @@ function useWatch() {
4574
4574
  f.current = d;
4575
4575
  var p = useContext(Context), v = o || p, h = v && v._init;
4576
4576
  process.env.NODE_ENV !== "production" && warningOnce$1(t.length === 2 ? o ? h : !0 : h, "useWatch requires a form instance since it can not auto detect from context.");
4577
- var y = getNamePath(a), x = useRef(y);
4578
- return x.current = y, useEffect(
4577
+ var _ = getNamePath(a), x = useRef(_);
4578
+ return x.current = _, useEffect(
4579
4579
  function() {
4580
4580
  if (!!h) {
4581
- var m = v.getFieldsValue, g = v.getInternalHooks, _ = g(HOOK_MARK), b = _.registerWatch, C = b(function(D) {
4581
+ var m = v.getFieldsValue, g = v.getInternalHooks, y = g(HOOK_MARK), b = y.registerWatch, C = b(function(D) {
4582
4582
  var S = getValue$3(D, x.current), $ = stringify$1(S);
4583
4583
  f.current !== $ && (f.current = $, c(S));
4584
4584
  }), w = getValue$3(m(), x.current);
@@ -4923,7 +4923,7 @@ var context$2 = {};
4923
4923
  var n = r(_extends$1.exports), a = t(React__default), o = r(warning$4), s = locale$2, u = r(context$2), l = "internalMark";
4924
4924
  e.ANT_MARK = l;
4925
4925
  var c = function(p) {
4926
- var v = p.locale, h = v === void 0 ? {} : v, y = p.children, x = p._ANT_MARK__;
4926
+ var v = p.locale, h = v === void 0 ? {} : v, _ = p.children, x = p._ANT_MARK__;
4927
4927
  process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (0, o.default)(x === l, "LocaleProvider", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"), a.useEffect(function() {
4928
4928
  return (0, s.changeConfirmLocale)(h && h.Modal), function() {
4929
4929
  (0, s.changeConfirmLocale)();
@@ -4936,7 +4936,7 @@ var context$2 = {};
4936
4936
  }, [h]);
4937
4937
  return /* @__PURE__ */ a.createElement(u.default.Provider, {
4938
4938
  value: m
4939
- }, y);
4939
+ }, _);
4940
4940
  }, d = c;
4941
4941
  e.default = d;
4942
4942
  })(localeProvider);
@@ -4955,19 +4955,19 @@ var LocaleReceiver = {}, _default$g = {};
4955
4955
  value: !0
4956
4956
  }), e.useLocaleReceiver = e.default = void 0;
4957
4957
  var n = r(_extends$1.exports), a = t(React__default), o = r(context$2), s = r(_default$g), u = function(f) {
4958
- var p = f.componentName, v = p === void 0 ? "global" : p, h = f.defaultLocale, y = f.children, x = a.useContext(o.default), m = a.useMemo(function() {
4959
- var _, b = h || s.default[v], C = (_ = x == null ? void 0 : x[v]) !== null && _ !== void 0 ? _ : {};
4958
+ var p = f.componentName, v = p === void 0 ? "global" : p, h = f.defaultLocale, _ = f.children, x = a.useContext(o.default), m = a.useMemo(function() {
4959
+ var y, b = h || s.default[v], C = (y = x == null ? void 0 : x[v]) !== null && y !== void 0 ? y : {};
4960
4960
  return (0, n.default)((0, n.default)({}, b instanceof Function ? b() : b), C || {});
4961
4961
  }, [v, h, x]), g = a.useMemo(function() {
4962
- var _ = x && x.locale;
4963
- return x && x.exist && !_ ? s.default.locale : _;
4962
+ var y = x && x.locale;
4963
+ return x && x.exist && !y ? s.default.locale : y;
4964
4964
  }, [x]);
4965
- return y(m, g, x);
4965
+ return _(m, g, x);
4966
4966
  }, l = u;
4967
4967
  e.default = l;
4968
4968
  var c = function(f, p) {
4969
4969
  var v = a.useContext(o.default), h = a.useMemo(function() {
4970
- var y, x = p || s.default[f], m = (y = v == null ? void 0 : v[f]) !== null && y !== void 0 ? y : {};
4970
+ var _, x = p || s.default[f], m = (_ = v == null ? void 0 : v[f]) !== null && _ !== void 0 ? _ : {};
4971
4971
  return (0, n.default)((0, n.default)({}, typeof x == "function" ? x() : x), m || {});
4972
4972
  }, [f, p, v]);
4973
4973
  return [h];
@@ -6066,35 +6066,35 @@ function requireUtils() {
6066
6066
  value: !0
6067
6067
  }), utils$2.warning = c, utils$2.isIconDefinition = d, utils$2.normalizeAttrs = f, utils$2.generate = p, utils$2.getSecondaryColor = v, utils$2.normalizeTwoToneColors = h, utils$2.useInsertStyles = utils$2.iconStyles = utils$2.svgBaseProps = void 0;
6068
6068
  var r = t(objectSpread2.exports), n = t(_typeof$3.exports), a = require$$1, o = e(React__default), s = t(warning$3), u = dynamicCSS, l = t(Context$1);
6069
- function c(g, _) {
6070
- (0, s.default)(g, "[@ant-design/icons] ".concat(_));
6069
+ function c(g, y) {
6070
+ (0, s.default)(g, "[@ant-design/icons] ".concat(y));
6071
6071
  }
6072
6072
  function d(g) {
6073
6073
  return (0, n.default)(g) === "object" && typeof g.name == "string" && typeof g.theme == "string" && ((0, n.default)(g.icon) === "object" || typeof g.icon == "function");
6074
6074
  }
6075
6075
  function f() {
6076
6076
  var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6077
- return Object.keys(g).reduce(function(_, b) {
6077
+ return Object.keys(g).reduce(function(y, b) {
6078
6078
  var C = g[b];
6079
6079
  switch (b) {
6080
6080
  case "class":
6081
- _.className = C, delete _.class;
6081
+ y.className = C, delete y.class;
6082
6082
  break;
6083
6083
  default:
6084
- _[b] = C;
6084
+ y[b] = C;
6085
6085
  }
6086
- return _;
6086
+ return y;
6087
6087
  }, {});
6088
6088
  }
6089
- function p(g, _, b) {
6089
+ function p(g, y, b) {
6090
6090
  return b ? /* @__PURE__ */ o.default.createElement(g.tag, (0, r.default)((0, r.default)({
6091
- key: _
6091
+ key: y
6092
6092
  }, f(g.attrs)), b), (g.children || []).map(function(C, w) {
6093
- return p(C, "".concat(_, "-").concat(g.tag, "-").concat(w));
6093
+ return p(C, "".concat(y, "-").concat(g.tag, "-").concat(w));
6094
6094
  })) : /* @__PURE__ */ o.default.createElement(g.tag, (0, r.default)({
6095
- key: _
6095
+ key: y
6096
6096
  }, f(g.attrs)), (g.children || []).map(function(C, w) {
6097
- return p(C, "".concat(_, "-").concat(g.tag, "-").concat(w));
6097
+ return p(C, "".concat(y, "-").concat(g.tag, "-").concat(w));
6098
6098
  }));
6099
6099
  }
6100
6100
  function v(g) {
@@ -6103,14 +6103,14 @@ function requireUtils() {
6103
6103
  function h(g) {
6104
6104
  return g ? Array.isArray(g) ? g : [g] : [];
6105
6105
  }
6106
- var y = {
6106
+ var _ = {
6107
6107
  width: "1em",
6108
6108
  height: "1em",
6109
6109
  fill: "currentColor",
6110
6110
  "aria-hidden": "true",
6111
6111
  focusable: "false"
6112
6112
  };
6113
- utils$2.svgBaseProps = y;
6113
+ utils$2.svgBaseProps = _;
6114
6114
  var x = `
6115
6115
  .anticon {
6116
6116
  display: inline-block;
@@ -6168,9 +6168,9 @@ function requireUtils() {
6168
6168
  `;
6169
6169
  utils$2.iconStyles = x;
6170
6170
  var m = function() {
6171
- var _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : x, b = (0, o.useContext)(l.default), C = b.csp;
6171
+ var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : x, b = (0, o.useContext)(l.default), C = b.csp;
6172
6172
  (0, o.useEffect)(function() {
6173
- (0, u.updateCSS)(_, "@ant-design-icons", {
6173
+ (0, u.updateCSS)(y, "@ant-design-icons", {
6174
6174
  prepend: !0,
6175
6175
  csp: C
6176
6176
  });
@@ -6200,19 +6200,19 @@ function requireIconBase() {
6200
6200
  return (0, r.default)({}, o);
6201
6201
  }
6202
6202
  var l = function(f) {
6203
- var p = f.icon, v = f.className, h = f.onClick, y = f.style, x = f.primaryColor, m = f.secondaryColor, g = (0, t.default)(f, a), _ = o;
6204
- if (x && (_ = {
6203
+ var p = f.icon, v = f.className, h = f.onClick, _ = f.style, x = f.primaryColor, m = f.secondaryColor, g = (0, t.default)(f, a), y = o;
6204
+ if (x && (y = {
6205
6205
  primaryColor: x,
6206
6206
  secondaryColor: m || (0, n.getSecondaryColor)(x)
6207
6207
  }), (0, n.useInsertStyles)(), (0, n.warning)((0, n.isIconDefinition)(p), "icon should be icon definiton, but got ".concat(p)), !(0, n.isIconDefinition)(p))
6208
6208
  return null;
6209
6209
  var b = p;
6210
6210
  return b && typeof b.icon == "function" && (b = (0, r.default)((0, r.default)({}, b), {}, {
6211
- icon: b.icon(_.primaryColor, _.secondaryColor)
6211
+ icon: b.icon(y.primaryColor, y.secondaryColor)
6212
6212
  })), (0, n.generate)(b.icon, "svg-".concat(b.name), (0, r.default)({
6213
6213
  className: v,
6214
6214
  onClick: h,
6215
- style: y,
6215
+ style: _,
6216
6216
  "data-icon": b.name,
6217
6217
  width: "1em",
6218
6218
  height: "1em",
@@ -6258,8 +6258,8 @@ function requireAntdIcon() {
6258
6258
  }), AntdIcon.default = void 0;
6259
6259
  var r = e(objectSpread2.exports), n = e(slicedToArray.exports), a = e(defineProperty.exports), o = e(requireObjectWithoutProperties()), s = t(React__default), u = e(classnames.exports), l = e(Context$1), c = e(requireIconBase()), d = requireTwoTonePrimaryColor(), f = requireUtils(), p = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
6260
6260
  (0, d.setTwoToneColor)("#1890ff");
6261
- var v = /* @__PURE__ */ s.forwardRef(function(y, x) {
6262
- var m, g = y.className, _ = y.icon, b = y.spin, C = y.rotate, w = y.tabIndex, D = y.onClick, S = y.twoToneColor, $ = (0, o.default)(y, p), O = s.useContext(l.default), A = O.prefixCls, M = A === void 0 ? "anticon" : A, P = (0, u.default)(M, (m = {}, (0, a.default)(m, "".concat(M, "-").concat(_.name), !!_.name), (0, a.default)(m, "".concat(M, "-spin"), !!b || _.name === "loading"), m), g), N = w;
6261
+ var v = /* @__PURE__ */ s.forwardRef(function(_, x) {
6262
+ var m, g = _.className, y = _.icon, b = _.spin, C = _.rotate, w = _.tabIndex, D = _.onClick, S = _.twoToneColor, $ = (0, o.default)(_, p), O = s.useContext(l.default), A = O.prefixCls, M = A === void 0 ? "anticon" : A, P = (0, u.default)(M, (m = {}, (0, a.default)(m, "".concat(M, "-").concat(y.name), !!y.name), (0, a.default)(m, "".concat(M, "-spin"), !!b || y.name === "loading"), m), g), N = w;
6263
6263
  N === void 0 && D && (N = -1);
6264
6264
  var F = C ? {
6265
6265
  msTransform: "rotate(".concat(C, "deg)"),
@@ -6267,14 +6267,14 @@ function requireAntdIcon() {
6267
6267
  } : void 0, k = (0, f.normalizeTwoToneColors)(S), j = (0, n.default)(k, 2), q = j[0], B = j[1];
6268
6268
  return /* @__PURE__ */ s.createElement("span", (0, r.default)((0, r.default)({
6269
6269
  role: "img",
6270
- "aria-label": _.name
6270
+ "aria-label": y.name
6271
6271
  }, $), {}, {
6272
6272
  ref: x,
6273
6273
  tabIndex: N,
6274
6274
  onClick: D,
6275
6275
  className: P
6276
6276
  }), /* @__PURE__ */ s.createElement(c.default, {
6277
- icon: _,
6277
+ icon: y,
6278
6278
  primaryColor: q,
6279
6279
  secondaryColor: B,
6280
6280
  style: F
@@ -6591,10 +6591,10 @@ const useStepQueue = function(e, t) {
6591
6591
  if (a !== STEP_NONE && a !== STEP_ACTIVATED) {
6592
6592
  var f = STEP_QUEUE.indexOf(a), p = STEP_QUEUE[f + 1], v = t(a);
6593
6593
  v === SkipStep ? o(p, !0) : l(function(h) {
6594
- function y() {
6594
+ function _() {
6595
6595
  h.isCanceled() || o(p, !0);
6596
6596
  }
6597
- v === !0 ? y() : Promise.resolve(v).then(y);
6597
+ v === !0 ? _() : Promise.resolve(v).then(_);
6598
6598
  });
6599
6599
  }
6600
6600
  }, [e, a]), React$n.useEffect(function() {
@@ -6621,7 +6621,7 @@ const useStepQueue = function(e, t) {
6621
6621
  }, []), [o, a];
6622
6622
  };
6623
6623
  function useStatus(e, t, r, n) {
6624
- 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, v = n.onEnterPrepare, h = n.onLeavePrepare, y = n.onAppearStart, x = n.onEnterStart, m = n.onLeaveStart, g = n.onAppearActive, _ = n.onEnterActive, b = n.onLeaveActive, C = n.onAppearEnd, w = n.onEnterEnd, D = n.onLeaveEnd, S = n.onVisibleChanged, $ = useSafeState$1(), O = _slicedToArray($, 2), A = O[0], M = O[1], P = useSafeState$1(STATUS_NONE), N = _slicedToArray(P, 2), F = N[0], k = N[1], j = useSafeState$1(null), q = _slicedToArray(j, 2), B = q[0], U = q[1], L = useRef(!1), W = useRef(null);
6624
+ 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, v = n.onEnterPrepare, h = n.onLeavePrepare, _ = n.onAppearStart, x = n.onEnterStart, m = n.onLeaveStart, g = n.onAppearActive, y = n.onEnterActive, b = n.onLeaveActive, C = n.onAppearEnd, w = n.onEnterEnd, D = n.onLeaveEnd, S = n.onVisibleChanged, $ = useSafeState$1(), O = _slicedToArray($, 2), A = O[0], M = O[1], P = useSafeState$1(STATUS_NONE), N = _slicedToArray(P, 2), F = N[0], k = N[1], j = useSafeState$1(null), q = _slicedToArray(j, 2), B = q[0], U = q[1], L = useRef(!1), W = useRef(null);
6625
6625
  function H() {
6626
6626
  return r();
6627
6627
  }
@@ -6637,9 +6637,9 @@ function useStatus(e, t, r, n) {
6637
6637
  var te, re, se;
6638
6638
  switch (F) {
6639
6639
  case STATUS_APPEAR:
6640
- return te = {}, _defineProperty$1(te, STEP_PREPARE, p), _defineProperty$1(te, STEP_START, y), _defineProperty$1(te, STEP_ACTIVE, g), te;
6640
+ return te = {}, _defineProperty$1(te, STEP_PREPARE, p), _defineProperty$1(te, STEP_START, _), _defineProperty$1(te, STEP_ACTIVE, g), te;
6641
6641
  case STATUS_ENTER:
6642
- return re = {}, _defineProperty$1(re, STEP_PREPARE, v), _defineProperty$1(re, STEP_START, x), _defineProperty$1(re, STEP_ACTIVE, _), re;
6642
+ return re = {}, _defineProperty$1(re, STEP_PREPARE, v), _defineProperty$1(re, STEP_START, x), _defineProperty$1(re, STEP_ACTIVE, y), re;
6643
6643
  case STATUS_LEAVE:
6644
6644
  return se = {}, _defineProperty$1(se, STEP_PREPARE, h), _defineProperty$1(se, STEP_START, m), _defineProperty$1(se, STEP_ACTIVE, b), se;
6645
6645
  default:
@@ -6703,7 +6703,7 @@ function genCSSMotion(e) {
6703
6703
  return !!(a.motionName && t);
6704
6704
  }
6705
6705
  var n = /* @__PURE__ */ React$n.forwardRef(function(a, o) {
6706
- var s = a.visible, u = s === void 0 ? !0 : s, l = a.removeOnLeave, c = l === void 0 ? !0 : l, d = a.forceRender, f = a.children, p = a.motionName, v = a.leavedClassName, h = a.eventProps, y = r(a), x = useRef(), m = useRef();
6706
+ var s = a.visible, u = s === void 0 ? !0 : s, l = a.removeOnLeave, c = l === void 0 ? !0 : l, d = a.forceRender, f = a.children, p = a.motionName, v = a.leavedClassName, h = a.eventProps, _ = r(a), x = useRef(), m = useRef();
6707
6707
  function g() {
6708
6708
  try {
6709
6709
  return x.current instanceof HTMLElement ? x.current : findDOMNode(m.current);
@@ -6711,7 +6711,7 @@ function genCSSMotion(e) {
6711
6711
  return null;
6712
6712
  }
6713
6713
  }
6714
- var _ = useStatus(y, u, g, a), b = _slicedToArray(_, 4), C = b[0], w = b[1], D = b[2], S = b[3], $ = React$n.useRef(S);
6714
+ var y = useStatus(_, u, g, a), b = _slicedToArray(y, 4), C = b[0], w = b[1], D = b[2], S = b[3], $ = React$n.useRef(S);
6715
6715
  S && ($.current = !0);
6716
6716
  var O = React$n.useCallback(function(j) {
6717
6717
  x.current = j, fillRef$1(o, j);
@@ -6832,23 +6832,23 @@ function genCSSMotionList(e) {
6832
6832
  return _createClass(o, [{
6833
6833
  key: "render",
6834
6834
  value: function() {
6835
- var u = this, l = this.state.keyEntities, c = this.props, d = c.component, f = c.children, p = c.onVisibleChanged, v = c.onAllRemoved, h = _objectWithoutProperties(c, _excluded$3), y = d || React$n.Fragment, x = {};
6835
+ var u = this, l = this.state.keyEntities, c = this.props, d = c.component, f = c.children, p = c.onVisibleChanged, v = c.onAllRemoved, h = _objectWithoutProperties(c, _excluded$3), _ = d || React$n.Fragment, x = {};
6836
6836
  return MOTION_PROP_NAMES.forEach(function(m) {
6837
6837
  x[m] = h[m], delete h[m];
6838
- }), delete h.keys, /* @__PURE__ */ jsx(y, {
6838
+ }), delete h.keys, /* @__PURE__ */ jsx(_, {
6839
6839
  ...h,
6840
6840
  children: l.map(function(m) {
6841
- var g = m.status, _ = _objectWithoutProperties(m, _excluded2), b = g === STATUS_ADD || g === STATUS_KEEP;
6841
+ var g = m.status, y = _objectWithoutProperties(m, _excluded2), b = g === STATUS_ADD || g === STATUS_KEEP;
6842
6842
  return /* @__PURE__ */ createElement(t, {
6843
6843
  ...x,
6844
- key: _.key,
6844
+ key: y.key,
6845
6845
  visible: b,
6846
- eventProps: _,
6846
+ eventProps: y,
6847
6847
  onVisibleChanged: function(w) {
6848
6848
  if (p == null || p(w, {
6849
- key: _.key
6849
+ key: y.key
6850
6850
  }), !w) {
6851
- var D = u.removeKey(_.key);
6851
+ var D = u.removeKey(y.key);
6852
6852
  D === 0 && v && v();
6853
6853
  }
6854
6854
  }
@@ -6862,8 +6862,8 @@ function genCSSMotionList(e) {
6862
6862
  var c = u.keys, d = l.keyEntities, f = parseKeys(c), p = diffKeys(d, f);
6863
6863
  return {
6864
6864
  keyEntities: p.filter(function(v) {
6865
- var h = d.find(function(y) {
6866
- var x = y.key;
6865
+ var h = d.find(function(_) {
6866
+ var x = _.key;
6867
6867
  return v.key === x;
6868
6868
  });
6869
6869
  return !(h && h.status === STATUS_REMOVED && v.status === STATUS_REMOVE);
@@ -6920,7 +6920,7 @@ var Notice$1 = /* @__PURE__ */ function(e) {
6920
6920
  }, {
6921
6921
  key: "render",
6922
6922
  value: function() {
6923
- var a = this, o = this.props, s = o.prefixCls, u = o.className, l = o.closable, c = o.closeIcon, d = o.style, f = o.onClick, p = o.children, v = o.holder, h = "".concat(s, "-notice"), y = Object.keys(this.props).reduce(function(m, g) {
6923
+ var a = this, o = this.props, s = o.prefixCls, u = o.className, l = o.closable, c = o.closeIcon, d = o.style, f = o.onClick, p = o.children, v = o.holder, h = "".concat(s, "-notice"), _ = Object.keys(this.props).reduce(function(m, g) {
6924
6924
  return (g.substr(0, 5) === "data-" || g.substr(0, 5) === "aria-" || g === "role") && (m[g] = a.props[g]), m;
6925
6925
  }, {}), x = /* @__PURE__ */ jsxs("div", {
6926
6926
  className: classNames(h, u, _defineProperty$1({}, "".concat(h, "-closable"), l)),
@@ -6928,7 +6928,7 @@ var Notice$1 = /* @__PURE__ */ function(e) {
6928
6928
  onMouseEnter: this.clearCloseTimer,
6929
6929
  onMouseLeave: this.startCloseTimer,
6930
6930
  onClick: f,
6931
- ...y,
6931
+ ..._,
6932
6932
  children: [/* @__PURE__ */ jsx("div", {
6933
6933
  className: "".concat(h, "-content"),
6934
6934
  children: p
@@ -6967,8 +6967,8 @@ function useNotification$3(e) {
6967
6967
  });
6968
6968
  if (h === -1)
6969
6969
  return [].concat(_toConsumableArray(v), [p]);
6970
- var y = _toConsumableArray(v);
6971
- return y[h] = p, y;
6970
+ var _ = _toConsumableArray(v);
6971
+ return _[h] = p, _;
6972
6972
  });
6973
6973
  }
6974
6974
  l = !1;
@@ -7001,10 +7001,10 @@ var Notification = /* @__PURE__ */ function(e) {
7001
7001
  key: d
7002
7002
  }), p = n.props.maxCount;
7003
7003
  n.setState(function(v) {
7004
- var h = v.notices, y = h.map(function(m) {
7004
+ var h = v.notices, _ = h.map(function(m) {
7005
7005
  return m.notice.key;
7006
7006
  }).indexOf(d), x = h.concat();
7007
- return y !== -1 ? x.splice(y, 1, {
7007
+ return _ !== -1 ? x.splice(_, 1, {
7008
7008
  notice: f,
7009
7009
  holderCallback: l
7010
7010
  }) : (p && h.length >= p && (f.key = x[0].notice.key, f.updateMark = getUuid(), f.userPassKey = d, x.shift()), x.push({
@@ -7037,7 +7037,7 @@ var Notification = /* @__PURE__ */ function(e) {
7037
7037
  value: function() {
7038
7038
  var a = this, o = this.state.notices, s = this.props, u = s.prefixCls, l = s.className, c = s.closeIcon, d = s.style, f = [];
7039
7039
  return o.forEach(function(p, v) {
7040
- var h = p.notice, y = p.holderCallback, x = v === o.length - 1 ? h.updateMark : void 0, m = h.key, g = h.userPassKey, _ = _objectSpread2$g(_objectSpread2$g(_objectSpread2$g({
7040
+ var h = p.notice, _ = p.holderCallback, x = v === o.length - 1 ? h.updateMark : void 0, m = h.key, g = h.userPassKey, y = _objectSpread2$g(_objectSpread2$g(_objectSpread2$g({
7041
7041
  prefixCls: u,
7042
7042
  closeIcon: c
7043
7043
  }, h), h.props), {}, {
@@ -7052,8 +7052,8 @@ var Notification = /* @__PURE__ */ function(e) {
7052
7052
  children: h.content
7053
7053
  });
7054
7054
  f.push(m), a.noticePropsMap[m] = {
7055
- props: _,
7056
- holderCallback: y
7055
+ props: y,
7056
+ holderCallback: _
7057
7057
  };
7058
7058
  }), /* @__PURE__ */ jsx("div", {
7059
7059
  className: classNames(u, l),
@@ -7062,21 +7062,21 @@ var Notification = /* @__PURE__ */ function(e) {
7062
7062
  keys: f,
7063
7063
  motionName: this.getTransitionName(),
7064
7064
  onVisibleChanged: function(v, h) {
7065
- var y = h.key;
7066
- v || delete a.noticePropsMap[y];
7065
+ var _ = h.key;
7066
+ v || delete a.noticePropsMap[_];
7067
7067
  },
7068
7068
  children: function(p) {
7069
- var v = p.key, h = p.className, y = p.style, x = p.visible, m = a.noticePropsMap[v], g = m.props, _ = m.holderCallback;
7070
- return _ ? /* @__PURE__ */ jsx("div", {
7069
+ var v = p.key, h = p.className, _ = p.style, x = p.visible, m = a.noticePropsMap[v], g = m.props, y = m.holderCallback;
7070
+ return y ? /* @__PURE__ */ jsx("div", {
7071
7071
  className: classNames(h, "".concat(u, "-hook-holder")),
7072
- style: _objectSpread2$g({}, y),
7072
+ style: _objectSpread2$g({}, _),
7073
7073
  ref: function(C) {
7074
- typeof v > "u" || (C ? (a.hookRefs.set(v, C), _(C, g)) : a.hookRefs.delete(v));
7074
+ typeof v > "u" || (C ? (a.hookRefs.set(v, C), y(C, g)) : a.hookRefs.delete(v));
7075
7075
  }
7076
7076
  }, v) : /* @__PURE__ */ jsx(Notice$1, {
7077
7077
  ...g,
7078
7078
  className: classNames(h, g == null ? void 0 : g.className),
7079
- style: _objectSpread2$g(_objectSpread2$g({}, y), g == null ? void 0 : g.style),
7079
+ style: _objectSpread2$g(_objectSpread2$g({}, _), g == null ? void 0 : g.style),
7080
7080
  visible: x
7081
7081
  });
7082
7082
  }
@@ -7263,36 +7263,36 @@ function requireNotice() {
7263
7263
  function f(h) {
7264
7264
  if (typeof WeakMap != "function")
7265
7265
  return null;
7266
- var y = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakMap();
7266
+ var _ = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakMap();
7267
7267
  return (f = function(g) {
7268
- return g ? x : y;
7268
+ return g ? x : _;
7269
7269
  })(h);
7270
7270
  }
7271
- function p(h, y) {
7272
- if (!y && h && h.__esModule)
7271
+ function p(h, _) {
7272
+ if (!_ && h && h.__esModule)
7273
7273
  return h;
7274
7274
  if (h === null || t(h) !== "object" && typeof h != "function")
7275
7275
  return { default: h };
7276
- var x = f(y);
7276
+ var x = f(_);
7277
7277
  if (x && x.has(h))
7278
7278
  return x.get(h);
7279
7279
  var m = {}, g = Object.defineProperty && Object.getOwnPropertyDescriptor;
7280
- for (var _ in h)
7281
- if (_ !== "default" && Object.prototype.hasOwnProperty.call(h, _)) {
7282
- var b = g ? Object.getOwnPropertyDescriptor(h, _) : null;
7283
- b && (b.get || b.set) ? Object.defineProperty(m, _, b) : m[_] = h[_];
7280
+ for (var y in h)
7281
+ if (y !== "default" && Object.prototype.hasOwnProperty.call(h, y)) {
7282
+ var b = g ? Object.getOwnPropertyDescriptor(h, y) : null;
7283
+ b && (b.get || b.set) ? Object.defineProperty(m, y, b) : m[y] = h[y];
7284
7284
  }
7285
7285
  return m.default = h, x && x.set(h, m), m;
7286
7286
  }
7287
7287
  var v = /* @__PURE__ */ function(h) {
7288
7288
  (0, s.default)(x, h);
7289
- var y = (0, u.default)(x);
7289
+ var _ = (0, u.default)(x);
7290
7290
  function x() {
7291
7291
  var m;
7292
7292
  (0, a.default)(this, x);
7293
- for (var g = arguments.length, _ = new Array(g), b = 0; b < g; b++)
7294
- _[b] = arguments[b];
7295
- return m = y.call.apply(y, [this].concat(_)), m.closeTimer = null, m.close = function(C) {
7293
+ for (var g = arguments.length, y = new Array(g), b = 0; b < g; b++)
7294
+ y[b] = arguments[b];
7295
+ return m = _.call.apply(_, [this].concat(y)), m.closeTimer = null, m.close = function(C) {
7296
7296
  C && C.stopPropagation(), m.clearCloseTimer();
7297
7297
  var w = m.props, D = w.onClose, S = w.noticeKey;
7298
7298
  D && D(S);
@@ -7327,7 +7327,7 @@ function requireNotice() {
7327
7327
  }, {
7328
7328
  key: "render",
7329
7329
  value: function() {
7330
- var g = this, _ = this.props, b = _.prefixCls, C = _.className, w = _.closable, D = _.closeIcon, S = _.style, $ = _.onClick, O = _.children, A = _.holder, M = "".concat(b, "-notice"), P = Object.keys(this.props).reduce(function(F, k) {
7330
+ var g = this, y = this.props, b = y.prefixCls, C = y.className, w = y.closable, D = y.closeIcon, S = y.style, $ = y.onClick, O = y.children, A = y.holder, M = "".concat(b, "-notice"), P = Object.keys(this.props).reduce(function(F, k) {
7331
7331
  return (k.substr(0, 5) === "data-" || k.substr(0, 5) === "aria-" || k === "role") && (F[k] = g.props[k]), F;
7332
7332
  }, {}), N = /* @__PURE__ */ l.createElement("div", (0, r.default)({
7333
7333
  className: (0, d.default)(M, C, (0, n.default)({}, "".concat(M, "-closable"), w)),
@@ -7400,8 +7400,8 @@ function useNotification$1(e) {
7400
7400
  });
7401
7401
  if (h === -1)
7402
7402
  return [].concat((0, _toConsumableArray2.default)(v), [p]);
7403
- var y = (0, _toConsumableArray2.default)(v);
7404
- return y[h] = p, y;
7403
+ var _ = (0, _toConsumableArray2.default)(v);
7404
+ return _[h] = p, _;
7405
7405
  });
7406
7406
  }
7407
7407
  l = !1;
@@ -7419,11 +7419,11 @@ function requireUseMessage() {
7419
7419
  var n = r(_extends$1.exports), a = r(slicedToArray.exports), o = r(useNotification$2), s = t(React__default), u = requireMessage(), l = requireConfigProvider();
7420
7420
  function c(d, f) {
7421
7421
  var p = function() {
7422
- var h, y, x = null, m = {
7422
+ var h, _, x = null, m = {
7423
7423
  add: function($, O) {
7424
7424
  x == null || x.component.add($, O);
7425
7425
  }
7426
- }, g = (0, o.default)(m), _ = (0, a.default)(g, 2), b = _[0], C = _[1];
7426
+ }, g = (0, o.default)(m), y = (0, a.default)(g, 2), b = y[0], C = y[1];
7427
7427
  function w(S) {
7428
7428
  var $ = S.prefixCls, O = h("message", $), A = h(), M = S.key || (0, u.getKeyThenIncreaseKey)(), P = new Promise(function(F) {
7429
7429
  var k = function() {
@@ -7432,7 +7432,7 @@ function requireUseMessage() {
7432
7432
  d((0, n.default)((0, n.default)({}, S), {
7433
7433
  prefixCls: O,
7434
7434
  rootPrefixCls: A,
7435
- getPopupContainer: y
7435
+ getPopupContainer: _
7436
7436
  }), function(j) {
7437
7437
  var q = j.prefixCls, B = j.instance;
7438
7438
  x = B, b(f((0, n.default)((0, n.default)({}, S), {
@@ -7453,7 +7453,7 @@ function requireUseMessage() {
7453
7453
  }), [D.current, /* @__PURE__ */ s.createElement(l.ConfigConsumer, {
7454
7454
  key: "holder"
7455
7455
  }, function(S) {
7456
- return h = S.getPrefixCls, y = S.getPopupContainer, C;
7456
+ return h = S.getPrefixCls, _ = S.getPopupContainer, C;
7457
7457
  })];
7458
7458
  };
7459
7459
  return p;
@@ -7467,21 +7467,21 @@ function requireMessage() {
7467
7467
  Object.defineProperty(e, "__esModule", {
7468
7468
  value: !0
7469
7469
  }), e.attachTypeApi = q, e.getInstance = e.default = void 0, e.getKeyThenIncreaseKey = $, e.typeList = void 0;
7470
- var n = r(_extends$1.exports), a = r(defineProperty.exports), o = r(CheckCircleFilled$3.exports), s = r(CloseCircleFilled$3.exports), u = r(ExclamationCircleFilled$3.exports), l = r(InfoCircleFilled$3.exports), c = r(LoadingOutlined$3.exports), d = r(classnames.exports), f = r(require$$11$1), p = t(React__default), v = t(requireConfigProvider()), h = r(requireUseMessage()), y, x = 3, m, g = 1, _ = "", b = "move-up", C = !1, w, D, S = !1;
7470
+ var n = r(_extends$1.exports), a = r(defineProperty.exports), o = r(CheckCircleFilled$3.exports), s = r(CloseCircleFilled$3.exports), u = r(ExclamationCircleFilled$3.exports), l = r(InfoCircleFilled$3.exports), c = r(LoadingOutlined$3.exports), d = r(classnames.exports), f = r(require$$11$1), p = t(React__default), v = t(requireConfigProvider()), h = r(requireUseMessage()), _, x = 3, m, g = 1, y = "", b = "move-up", C = !1, w, D, S = !1;
7471
7471
  function $() {
7472
7472
  return g++;
7473
7473
  }
7474
7474
  function O(L) {
7475
- L.top !== void 0 && (m = L.top, y = null), L.duration !== void 0 && (x = L.duration), L.prefixCls !== void 0 && (_ = L.prefixCls), L.getContainer !== void 0 && (w = L.getContainer, y = null), L.transitionName !== void 0 && (b = L.transitionName, y = null, C = !0), L.maxCount !== void 0 && (D = L.maxCount, y = null), L.rtl !== void 0 && (S = L.rtl);
7475
+ L.top !== void 0 && (m = L.top, _ = null), L.duration !== void 0 && (x = L.duration), L.prefixCls !== void 0 && (y = L.prefixCls), L.getContainer !== void 0 && (w = L.getContainer, _ = null), L.transitionName !== void 0 && (b = L.transitionName, _ = null, C = !0), L.maxCount !== void 0 && (D = L.maxCount, _ = null), L.rtl !== void 0 && (S = L.rtl);
7476
7476
  }
7477
7477
  function A(L, W) {
7478
- var H = L.prefixCls, z = L.getPopupContainer, K = (0, v.globalConfig)(), I = K.getPrefixCls, V = K.getRootPrefixCls, G = K.getIconPrefixCls, X = I("message", H || _), Q = V(L.rootPrefixCls, X), E = G();
7479
- if (y) {
7478
+ var H = L.prefixCls, z = L.getPopupContainer, K = (0, v.globalConfig)(), I = K.getPrefixCls, V = K.getRootPrefixCls, G = K.getIconPrefixCls, X = I("message", H || y), Q = V(L.rootPrefixCls, X), E = G();
7479
+ if (_) {
7480
7480
  W({
7481
7481
  prefixCls: X,
7482
7482
  rootPrefixCls: Q,
7483
7483
  iconPrefixCls: E,
7484
- instance: y
7484
+ instance: _
7485
7485
  });
7486
7486
  return;
7487
7487
  }
@@ -7495,16 +7495,16 @@ function requireMessage() {
7495
7495
  maxCount: D
7496
7496
  };
7497
7497
  f.default.newInstance(T, function(Y) {
7498
- if (y) {
7498
+ if (_) {
7499
7499
  W({
7500
7500
  prefixCls: X,
7501
7501
  rootPrefixCls: Q,
7502
7502
  iconPrefixCls: E,
7503
- instance: y
7503
+ instance: _
7504
7504
  });
7505
7505
  return;
7506
7506
  }
7507
- y = Y, process.env.NODE_ENV === "test" && (y.config = T), W({
7507
+ _ = Y, process.env.NODE_ENV === "test" && (_.config = T), W({
7508
7508
  prefixCls: X,
7509
7509
  rootPrefixCls: Q,
7510
7510
  iconPrefixCls: E,
@@ -7549,7 +7549,7 @@ function requireMessage() {
7549
7549
  }), G, X));
7550
7550
  });
7551
7551
  }), z = function() {
7552
- y && y.removeNotice(W);
7552
+ _ && _.removeNotice(W);
7553
7553
  };
7554
7554
  return z.then = function(K, I) {
7555
7555
  return H.then(K, I);
@@ -7562,13 +7562,13 @@ function requireMessage() {
7562
7562
  open: F,
7563
7563
  config: O,
7564
7564
  destroy: function(W) {
7565
- if (y)
7565
+ if (_)
7566
7566
  if (W) {
7567
- var H = y, z = H.removeNotice;
7567
+ var H = _, z = H.removeNotice;
7568
7568
  z(W);
7569
7569
  } else {
7570
- var K = y, I = K.destroy;
7571
- I(), y = null;
7570
+ var K = _, I = K.destroy;
7571
+ I(), _ = null;
7572
7572
  }
7573
7573
  }
7574
7574
  };
@@ -7588,7 +7588,7 @@ function requireMessage() {
7588
7588
  return q(j, L);
7589
7589
  }), j.warn = j.warning, j.useMessage = (0, h.default)(A, N);
7590
7590
  var B = function() {
7591
- return process.env.NODE_ENV === "test" ? y : null;
7591
+ return process.env.NODE_ENV === "test" ? _ : null;
7592
7592
  };
7593
7593
  e.getInstance = B;
7594
7594
  var U = j;
@@ -7621,7 +7621,7 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7621
7621
  };
7622
7622
  }
7623
7623
  function p(F, k, j, q) {
7624
- var B = k && k.prototype instanceof y ? k : y, U = Object.create(B.prototype), L = new M(q || []);
7624
+ var B = k && k.prototype instanceof _ ? k : _, U = Object.create(B.prototype), L = new M(q || []);
7625
7625
  return s(U, "_invoke", {
7626
7626
  value: S(F, j, L)
7627
7627
  }), U;
@@ -7641,7 +7641,7 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7641
7641
  }
7642
7642
  n.wrap = p;
7643
7643
  var h = {};
7644
- function y() {
7644
+ function _() {
7645
7645
  }
7646
7646
  function x() {
7647
7647
  }
@@ -7651,9 +7651,9 @@ var notification = {}, regeneratorRuntime = { exports: {} };
7651
7651
  f(g, l, function() {
7652
7652
  return this;
7653
7653
  });
7654
- var _ = Object.getPrototypeOf, b = _ && _(_(P([])));
7654
+ var y = Object.getPrototypeOf, b = y && y(y(P([])));
7655
7655
  b && b !== a && o.call(b, l) && (g = b);
7656
- var C = m.prototype = y.prototype = Object.create(g);
7656
+ var C = m.prototype = _.prototype = Object.create(g);
7657
7657
  function w(F) {
7658
7658
  ["next", "throw", "return"].forEach(function(k) {
7659
7659
  f(F, k, function(j) {
@@ -8097,11 +8097,11 @@ function requireUseNotification() {
8097
8097
  var n = r(_extends$1.exports), a = r(slicedToArray.exports), o = r(useNotification$2), s = t(React__default), u = requireConfigProvider();
8098
8098
  function l(c, d) {
8099
8099
  var f = function() {
8100
- var v, h = null, y = {
8100
+ var v, h = null, _ = {
8101
8101
  add: function(D, S) {
8102
8102
  h == null || h.component.add(D, S);
8103
8103
  }
8104
- }, x = (0, o.default)(y), m = (0, a.default)(x, 2), g = m[0], _ = m[1];
8104
+ }, x = (0, o.default)(_), m = (0, a.default)(x, 2), g = m[0], y = m[1];
8105
8105
  function b(w) {
8106
8106
  var D = w.prefixCls, S = v("notification", D);
8107
8107
  c((0, n.default)((0, n.default)({}, w), {
@@ -8121,7 +8121,7 @@ function requireUseNotification() {
8121
8121
  }), [C.current, /* @__PURE__ */ s.createElement(u.ConfigConsumer, {
8122
8122
  key: "holder"
8123
8123
  }, function(w) {
8124
- return v = w.getPrefixCls, _;
8124
+ return v = w.getPrefixCls, y;
8125
8125
  })];
8126
8126
  };
8127
8127
  return f;
@@ -8135,7 +8135,7 @@ function requireNotification() {
8135
8135
  Object.defineProperty(e, "__esModule", {
8136
8136
  value: !0
8137
8137
  }), e.getInstance = e.default = void 0;
8138
- var n = r(regeneratorRuntime.exports), a = r(_extends$1.exports), o = r(defineProperty.exports), s = r(CheckCircleOutlined$3.exports), u = r(CloseCircleOutlined$3.exports), l = r(CloseOutlined$3.exports), c = r(ExclamationCircleOutlined$3.exports), d = r(InfoCircleOutlined$3.exports), f = r(classnames.exports), p = r(require$$11$1), v = t(React__default), h = t(requireConfigProvider()), y = r(requireUseNotification()), x = function(U, L, W, H) {
8138
+ var n = r(regeneratorRuntime.exports), a = r(_extends$1.exports), o = r(defineProperty.exports), s = r(CheckCircleOutlined$3.exports), u = r(CloseCircleOutlined$3.exports), l = r(CloseOutlined$3.exports), c = r(ExclamationCircleOutlined$3.exports), d = r(InfoCircleOutlined$3.exports), f = r(classnames.exports), p = r(require$$11$1), v = t(React__default), h = t(requireConfigProvider()), _ = r(requireUseNotification()), x = function(U, L, W, H) {
8139
8139
  function z(K) {
8140
8140
  return K instanceof W ? K : new W(function(I) {
8141
8141
  I(K);
@@ -8161,13 +8161,13 @@ function requireNotification() {
8161
8161
  }
8162
8162
  X((H = H.apply(U, L || [])).next());
8163
8163
  });
8164
- }, m = {}, g = 4.5, _ = 24, b = 24, C = "", w = "topRight", D, S, $ = !1, O;
8164
+ }, m = {}, g = 4.5, y = 24, b = 24, C = "", w = "topRight", D, S, $ = !1, O;
8165
8165
  function A(U) {
8166
8166
  var L = U.duration, W = U.placement, H = U.bottom, z = U.top, K = U.getContainer, I = U.closeIcon, V = U.prefixCls;
8167
- V !== void 0 && (C = V), L !== void 0 && (g = L), W !== void 0 ? w = W : U.rtl && (w = "topLeft"), H !== void 0 && (b = H), z !== void 0 && (_ = z), K !== void 0 && (D = K), I !== void 0 && (S = I), U.rtl !== void 0 && ($ = U.rtl), U.maxCount !== void 0 && (O = U.maxCount);
8167
+ V !== void 0 && (C = V), L !== void 0 && (g = L), W !== void 0 ? w = W : U.rtl && (w = "topLeft"), H !== void 0 && (b = H), z !== void 0 && (y = z), K !== void 0 && (D = K), I !== void 0 && (S = I), U.rtl !== void 0 && ($ = U.rtl), U.maxCount !== void 0 && (O = U.maxCount);
8168
8168
  }
8169
8169
  function M(U) {
8170
- var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _, W = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : b, H;
8170
+ var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y, W = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : b, H;
8171
8171
  switch (U) {
8172
8172
  case "top":
8173
8173
  H = {
@@ -8321,7 +8321,7 @@ function requireNotification() {
8321
8321
  type: U
8322
8322
  }));
8323
8323
  };
8324
- }), j.warn = j.warning, j.useNotification = (0, y.default)(P, F);
8324
+ }), j.warn = j.warning, j.useNotification = (0, _.default)(P, F);
8325
8325
  var q = function(L) {
8326
8326
  return x(void 0, void 0, void 0, /* @__PURE__ */ (0, n.default)().mark(function W() {
8327
8327
  return (0, n.default)().wrap(function(z) {
@@ -8474,15 +8474,15 @@ function requireConfigProvider() {
8474
8474
  return v.ConfigContext;
8475
8475
  }
8476
8476
  }), e.globalConfig = e.defaultPrefixCls = e.defaultIconPrefixCls = e.default = e.configConsumerProps = void 0;
8477
- var n = r(_extends$1.exports), a = r(Context$1), o = require$$3$1, s = r(useMemo$1), u = t(React__default), l = t(localeProvider), c = r(LocaleReceiver), d = r(_default$k), f = r(requireMessage()), p = r(requireNotification()), v = context$1, h = cssVariables, y = DisabledContext, x = t(SizeContext), m = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
8477
+ var n = r(_extends$1.exports), a = r(Context$1), o = require$$3$1, s = r(useMemo$1), u = t(React__default), l = t(localeProvider), c = r(LocaleReceiver), d = r(_default$k), f = r(requireMessage()), p = r(requireNotification()), v = context$1, h = cssVariables, _ = DisabledContext, x = t(SizeContext), m = ["getTargetContainer", "getPopupContainer", "rootPrefixCls", "getPrefixCls", "renderEmpty", "csp", "autoInsertSpaceInButton", "locale", "pageHeader"];
8478
8478
  e.configConsumerProps = m;
8479
- var g = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "pagination", "form"], _ = "ant";
8480
- e.defaultPrefixCls = _;
8479
+ var g = ["getTargetContainer", "getPopupContainer", "renderEmpty", "pageHeader", "input", "pagination", "form"], y = "ant";
8480
+ e.defaultPrefixCls = y;
8481
8481
  var b = "anticon";
8482
8482
  e.defaultIconPrefixCls = b;
8483
8483
  var C, w;
8484
8484
  function D() {
8485
- return C || _;
8485
+ return C || y;
8486
8486
  }
8487
8487
  function S() {
8488
8488
  return w || b;
@@ -8545,7 +8545,7 @@ function requireConfigProvider() {
8545
8545
  value: ee
8546
8546
  }, Z)), H && (Z = /* @__PURE__ */ u.createElement(x.SizeContextProvider, {
8547
8547
  size: H
8548
- }, Z)), E !== void 0 && (Z = /* @__PURE__ */ u.createElement(y.DisabledContextProvider, {
8548
+ }, Z)), E !== void 0 && (Z = /* @__PURE__ */ u.createElement(_.DisabledContextProvider, {
8549
8549
  disabled: E
8550
8550
  }, Z)), /* @__PURE__ */ u.createElement(v.ConfigContext.Provider, {
8551
8551
  value: J
@@ -8663,12 +8663,12 @@ function cloneElement(e, t) {
8663
8663
  Object.defineProperty(e, "__esModule", {
8664
8664
  value: !0
8665
8665
  }), e.default = void 0;
8666
- var n = r(defineProperty.exports), a = r(classCallCheck.exports), o = r(createClass.exports), s = r(inherits.exports), u = r(createSuper.exports), l = r(CloseCircleFilled$3.exports), c = r(classnames.exports), d = t(React__default), f = context, p = reactNode, v = statusUtils, h = type, y = (0, h.tuple)("text", "input");
8667
- function x(_) {
8668
- return !!(_.addonBefore || _.addonAfter);
8666
+ var n = r(defineProperty.exports), a = r(classCallCheck.exports), o = r(createClass.exports), s = r(inherits.exports), u = r(createSuper.exports), l = r(CloseCircleFilled$3.exports), c = r(classnames.exports), d = t(React__default), f = context, p = reactNode, v = statusUtils, h = type, _ = (0, h.tuple)("text", "input");
8667
+ function x(y) {
8668
+ return !!(y.addonBefore || y.addonAfter);
8669
8669
  }
8670
- var m = /* @__PURE__ */ function(_) {
8671
- (0, s.default)(C, _);
8670
+ var m = /* @__PURE__ */ function(y) {
8671
+ (0, s.default)(C, y);
8672
8672
  var b = (0, u.default)(C);
8673
8673
  function C() {
8674
8674
  return (0, a.default)(this, C), b.apply(this, arguments);
@@ -8710,7 +8710,7 @@ function cloneElement(e, t) {
8710
8710
  var D = this;
8711
8711
  return /* @__PURE__ */ d.createElement(f.FormItemInputContext.Consumer, null, function(S) {
8712
8712
  var $ = D.props, O = $.prefixCls, A = $.inputType, M = $.element;
8713
- if (A === y[0])
8713
+ if (A === _[0])
8714
8714
  return D.renderTextAreaWithClearIcon(O, M, S);
8715
8715
  });
8716
8716
  }
@@ -8777,7 +8777,7 @@ function fixControlledValue(e) {
8777
8777
  return typeof e > "u" || e === null ? "" : String(e);
8778
8778
  }
8779
8779
  var BaseInput = function(t) {
8780
- var r = t.inputElement, n = t.prefixCls, a = t.prefix, o = t.suffix, s = t.addonBefore, u = t.addonAfter, l = t.className, c = t.style, d = t.affixWrapperClassName, f = t.groupClassName, p = t.wrapperClassName, v = t.disabled, h = t.readOnly, y = t.focused, x = t.triggerFocus, m = t.allowClear, g = t.value, _ = t.handleReset, b = t.hidden, C = useRef(null), w = function(q) {
8780
+ var r = t.inputElement, n = t.prefixCls, a = t.prefix, o = t.suffix, s = t.addonBefore, u = t.addonAfter, l = t.className, c = t.style, d = t.affixWrapperClassName, f = t.groupClassName, p = t.wrapperClassName, v = t.disabled, h = t.readOnly, _ = t.focused, x = t.triggerFocus, m = t.allowClear, g = t.value, y = t.handleReset, b = t.hidden, C = useRef(null), w = function(q) {
8781
8781
  var B;
8782
8782
  (B = C.current) !== null && B !== void 0 && B.contains(q.target) && (x == null || x());
8783
8783
  }, D = function() {
@@ -8786,7 +8786,7 @@ var BaseInput = function(t) {
8786
8786
  return null;
8787
8787
  var B = !v && !h && g, U = "".concat(n, "-clear-icon"), L = _typeof$2(m) === "object" && m !== null && m !== void 0 && m.clearIcon ? m.clearIcon : "\u2716";
8788
8788
  return /* @__PURE__ */ jsx("span", {
8789
- onClick: _,
8789
+ onClick: y,
8790
8790
  onMouseDown: function(H) {
8791
8791
  return H.preventDefault();
8792
8792
  },
@@ -8800,7 +8800,7 @@ var BaseInput = function(t) {
8800
8800
  hidden: b
8801
8801
  });
8802
8802
  if (hasPrefixSuffix$1(t)) {
8803
- var $, O = "".concat(n, "-affix-wrapper"), A = classNames(O, ($ = {}, _defineProperty$1($, "".concat(O, "-disabled"), v), _defineProperty$1($, "".concat(O, "-focused"), y), _defineProperty$1($, "".concat(O, "-readonly"), h), _defineProperty$1($, "".concat(O, "-input-with-clear-btn"), o && m && g), $), !hasAddon(t) && l, d), M = (o || m) && /* @__PURE__ */ jsxs("span", {
8803
+ var $, O = "".concat(n, "-affix-wrapper"), A = classNames(O, ($ = {}, _defineProperty$1($, "".concat(O, "-disabled"), v), _defineProperty$1($, "".concat(O, "-focused"), _), _defineProperty$1($, "".concat(O, "-readonly"), h), _defineProperty$1($, "".concat(O, "-input-with-clear-btn"), o && m && g), $), !hasAddon(t) && l, d), M = (o || m) && /* @__PURE__ */ jsxs("span", {
8804
8804
  className: "".concat(n, "-suffix"),
8805
8805
  children: [D(), o]
8806
8806
  });
@@ -8850,7 +8850,7 @@ function omit(e, t) {
8850
8850
  }), r;
8851
8851
  }
8852
8852
  var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKeyDown", "prefixCls", "disabled", "htmlSize", "className", "maxLength", "suffix", "showCount", "type", "inputClassName"], Input = /* @__PURE__ */ forwardRef(function(e, t) {
8853
- var r = e.autoComplete, n = e.onChange, a = e.onFocus, o = e.onBlur, s = e.onPressEnter, u = e.onKeyDown, l = e.prefixCls, c = l === void 0 ? "rc-input" : l, d = e.disabled, f = e.htmlSize, p = e.className, v = e.maxLength, h = e.suffix, y = e.showCount, x = e.type, m = x === void 0 ? "text" : x, g = e.inputClassName, _ = _objectWithoutProperties(e, _excluded$1), b = useMergedState$2(e.defaultValue, {
8853
+ var r = e.autoComplete, n = e.onChange, a = e.onFocus, o = e.onBlur, s = e.onPressEnter, u = e.onKeyDown, l = e.prefixCls, c = l === void 0 ? "rc-input" : l, d = e.disabled, f = e.htmlSize, p = e.className, v = e.maxLength, h = e.suffix, _ = e.showCount, x = e.type, m = x === void 0 ? "text" : x, g = e.inputClassName, y = _objectWithoutProperties(e, _excluded$1), b = useMergedState$2(e.defaultValue, {
8854
8854
  value: e.value
8855
8855
  }), C = _slicedToArray(b, 2), w = C[0], D = C[1], S = useState$1(!1), $ = _slicedToArray(S, 2), O = $[0], A = $[1], M = useRef(null), P = function(W) {
8856
8856
  M.current && triggerFocus(M.current, W);
@@ -8918,14 +8918,14 @@ var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnte
8918
8918
  });
8919
8919
  }, U = function() {
8920
8920
  var W = Number(v) > 0;
8921
- if (h || y) {
8922
- var H = fixControlledValue(w), z = _toConsumableArray(H).length, K = _typeof$2(y) === "object" ? y.formatter({
8921
+ if (h || _) {
8922
+ var H = fixControlledValue(w), z = _toConsumableArray(H).length, K = _typeof$2(_) === "object" ? _.formatter({
8923
8923
  value: H,
8924
8924
  count: z,
8925
8925
  maxLength: v
8926
8926
  }) : "".concat(z).concat(W ? " / ".concat(v) : "");
8927
8927
  return /* @__PURE__ */ jsxs(Fragment, {
8928
- children: [!!y && /* @__PURE__ */ jsx("span", {
8928
+ children: [!!_ && /* @__PURE__ */ jsx("span", {
8929
8929
  className: classNames("".concat(c, "-show-count-suffix"), _defineProperty$1({}, "".concat(c, "-show-count-has-suffix"), !!h)),
8930
8930
  children: K
8931
8931
  }), h]
@@ -8934,7 +8934,7 @@ var _excluded$1 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnte
8934
8934
  return null;
8935
8935
  };
8936
8936
  return /* @__PURE__ */ jsx(BaseInput, {
8937
- ..._,
8937
+ ...y,
8938
8938
  prefixCls: c,
8939
8939
  className: p,
8940
8940
  inputElement: B(),
@@ -9009,25 +9009,25 @@ function toArray$1(e) {
9009
9009
  }), e.useCompactItemContext = e.default = e.SpaceCompactItemContext = e.NoCompactStyle = void 0;
9010
9010
  var n = r(_extends$1.exports), a = r(defineProperty.exports), o = r(classnames.exports), s = r(toArray$2), u = t(React__default), l = requireConfigProvider(), c = function(x, m) {
9011
9011
  var g = {};
9012
- for (var _ in x)
9013
- Object.prototype.hasOwnProperty.call(x, _) && m.indexOf(_) < 0 && (g[_] = x[_]);
9012
+ for (var y in x)
9013
+ Object.prototype.hasOwnProperty.call(x, y) && m.indexOf(y) < 0 && (g[y] = x[y]);
9014
9014
  if (x != null && typeof Object.getOwnPropertySymbols == "function")
9015
- for (var b = 0, _ = Object.getOwnPropertySymbols(x); b < _.length; b++)
9016
- m.indexOf(_[b]) < 0 && Object.prototype.propertyIsEnumerable.call(x, _[b]) && (g[_[b]] = x[_[b]]);
9015
+ for (var b = 0, y = Object.getOwnPropertySymbols(x); b < y.length; b++)
9016
+ m.indexOf(y[b]) < 0 && Object.prototype.propertyIsEnumerable.call(x, y[b]) && (g[y[b]] = x[y[b]]);
9017
9017
  return g;
9018
9018
  }, d = /* @__PURE__ */ u.createContext(null);
9019
9019
  e.SpaceCompactItemContext = d;
9020
9020
  var f = function(m, g) {
9021
- var _ = u.useContext(d), b = u.useMemo(function() {
9021
+ var y = u.useContext(d), b = u.useMemo(function() {
9022
9022
  var C;
9023
- if (!_)
9023
+ if (!y)
9024
9024
  return "";
9025
- var w = _.compactDirection, D = _.isFirstItem, S = _.isLastItem, $ = w === "vertical" ? "-vertical-" : "-";
9025
+ var w = y.compactDirection, D = y.isFirstItem, S = y.isLastItem, $ = w === "vertical" ? "-vertical-" : "-";
9026
9026
  return (0, o.default)((C = {}, (0, a.default)(C, "".concat(m, "-compact").concat($, "item"), !0), (0, a.default)(C, "".concat(m, "-compact").concat($, "first-item"), D), (0, a.default)(C, "".concat(m, "-compact").concat($, "last-item"), S), (0, a.default)(C, "".concat(m, "-compact").concat($, "item-rtl"), g === "rtl"), C));
9027
- }, [m, g, _]);
9027
+ }, [m, g, y]);
9028
9028
  return {
9029
- compactSize: _ == null ? void 0 : _.compactSize,
9030
- compactDirection: _ == null ? void 0 : _.compactDirection,
9029
+ compactSize: y == null ? void 0 : y.compactSize,
9030
+ compactDirection: y == null ? void 0 : y.compactDirection,
9031
9031
  compactItemClassnames: b
9032
9032
  };
9033
9033
  };
@@ -9040,12 +9040,12 @@ function toArray$1(e) {
9040
9040
  };
9041
9041
  e.NoCompactStyle = p;
9042
9042
  var v = function(m) {
9043
- var g = m.children, _ = c(m, ["children"]);
9043
+ var g = m.children, y = c(m, ["children"]);
9044
9044
  return /* @__PURE__ */ u.createElement(d.Provider, {
9045
- value: _
9045
+ value: y
9046
9046
  }, g);
9047
9047
  }, h = function(m) {
9048
- var g, _ = u.useContext(l.ConfigContext), b = _.getPrefixCls, C = _.direction, w = m.size, D = w === void 0 ? "middle" : w, S = m.direction, $ = m.block, O = m.prefixCls, A = m.className, M = m.children, P = c(m, ["size", "direction", "block", "prefixCls", "className", "children"]), N = b("space-compact", O), F = (0, o.default)(N, (g = {}, (0, a.default)(g, "".concat(N, "-rtl"), C === "rtl"), (0, a.default)(g, "".concat(N, "-block"), $), (0, a.default)(g, "".concat(N, "-vertical"), S === "vertical"), g), A), k = u.useContext(d), j = (0, s.default)(M), q = u.useMemo(function() {
9048
+ var g, y = u.useContext(l.ConfigContext), b = y.getPrefixCls, C = y.direction, w = m.size, D = w === void 0 ? "middle" : w, S = m.direction, $ = m.block, O = m.prefixCls, A = m.className, M = m.children, P = c(m, ["size", "direction", "block", "prefixCls", "className", "children"]), N = b("space-compact", O), F = (0, o.default)(N, (g = {}, (0, a.default)(g, "".concat(N, "-rtl"), C === "rtl"), (0, a.default)(g, "".concat(N, "-block"), $), (0, a.default)(g, "".concat(N, "-vertical"), S === "vertical"), g), A), k = u.useContext(d), j = (0, s.default)(M), q = u.useMemo(function() {
9049
9049
  return j.map(function(B, U) {
9050
9050
  var L = B && B.key || "".concat(N, "-item-").concat(U);
9051
9051
  return /* @__PURE__ */ u.createElement(v, {
@@ -9060,8 +9060,8 @@ function toArray$1(e) {
9060
9060
  return j.length === 0 ? null : /* @__PURE__ */ u.createElement("div", (0, n.default)({
9061
9061
  className: F
9062
9062
  }, P), q);
9063
- }, y = h;
9064
- e.default = y;
9063
+ }, _ = h;
9064
+ e.default = _;
9065
9065
  })(Compact);
9066
9066
  var useRemovePasswordTimeout = {};
9067
9067
  (function(e) {
@@ -9098,7 +9098,7 @@ function hasPrefixSuffix(e) {
9098
9098
  Object.defineProperty(e, "__esModule", {
9099
9099
  value: !0
9100
9100
  }), e.default = void 0, e.fixControlledValue = C, e.resolveOnChange = w, e.triggerFocus = D;
9101
- var n = r(defineProperty.exports), a = r(_extends$1.exports), o = r(_typeof$3.exports), s = r(CloseCircleFilled$3.exports), u = r(classnames.exports), l = r(require$$7), c = ref, d = t(React__default), f = requireConfigProvider(), p = r(DisabledContext), v = r(SizeContext), h = context, y = Compact, x = statusUtils, m = r(warning$4), g = r(useRemovePasswordTimeout), _ = utils$1, b = function(O, A) {
9101
+ var n = r(defineProperty.exports), a = r(_extends$1.exports), o = r(_typeof$3.exports), s = r(CloseCircleFilled$3.exports), u = r(classnames.exports), l = r(require$$7), c = ref, d = t(React__default), f = requireConfigProvider(), p = r(DisabledContext), v = r(SizeContext), h = context, _ = Compact, x = statusUtils, m = r(warning$4), g = r(useRemovePasswordTimeout), y = utils$1, b = function(O, A) {
9102
9102
  var M = {};
9103
9103
  for (var P in O)
9104
9104
  Object.prototype.hasOwnProperty.call(O, P) && A.indexOf(P) < 0 && (M[P] = O[P]);
@@ -9160,7 +9160,7 @@ function hasPrefixSuffix(e) {
9160
9160
  }
9161
9161
  }
9162
9162
  var S = /* @__PURE__ */ (0, d.forwardRef)(function(O, A) {
9163
- var M, P, N, F = O.prefixCls, k = O.bordered, j = k === void 0 ? !0 : k, q = O.status, B = O.size, U = O.disabled, L = O.onBlur, W = O.onFocus, H = O.suffix, z = O.allowClear, K = O.addonAfter, I = O.addonBefore, V = O.className, G = O.onChange, X = b(O, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "onChange"]), Q = d.default.useContext(f.ConfigContext), E = Q.getPrefixCls, T = Q.direction, Y = Q.input, J = E("input", F), ee = (0, d.useRef)(null), Z = (0, y.useCompactItemContext)(J, T), te = Z.compactSize, re = Z.compactItemClassnames, se = d.default.useContext(v.default), ye = te || B || se, _e = d.default.useContext(p.default), Ce = U != null ? U : _e, ie = (0, d.useContext)(h.FormItemInputContext), ve = ie.status, ce = ie.hasFeedback, me = ie.feedbackIcon, pe = (0, x.getMergedStatus)(ve, q), oe = (0, _.hasPrefixSuffix)(O) || !!ce, ge = (0, d.useRef)(oe);
9163
+ var M, P, N, F = O.prefixCls, k = O.bordered, j = k === void 0 ? !0 : k, q = O.status, B = O.size, U = O.disabled, L = O.onBlur, W = O.onFocus, H = O.suffix, z = O.allowClear, K = O.addonAfter, I = O.addonBefore, V = O.className, G = O.onChange, X = b(O, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "onChange"]), Q = d.default.useContext(f.ConfigContext), E = Q.getPrefixCls, T = Q.direction, Y = Q.input, J = E("input", F), ee = (0, d.useRef)(null), Z = (0, _.useCompactItemContext)(J, T), te = Z.compactSize, re = Z.compactItemClassnames, se = d.default.useContext(v.default), ye = te || B || se, _e = d.default.useContext(p.default), Ce = U != null ? U : _e, ie = (0, d.useContext)(h.FormItemInputContext), ve = ie.status, ce = ie.hasFeedback, me = ie.feedbackIcon, pe = (0, x.getMergedStatus)(ve, q), oe = (0, y.hasPrefixSuffix)(O) || !!ce, ge = (0, d.useRef)(oe);
9164
9164
  (0, d.useEffect)(function() {
9165
9165
  var Te;
9166
9166
  oe && !ge.current && process.env.NODE_ENV !== "production" && (0, m.default)(document.activeElement === ((Te = ee.current) === null || Te === void 0 ? void 0 : Te.input), "Input", "When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"), ge.current = oe;
@@ -9186,11 +9186,11 @@ function hasPrefixSuffix(e) {
9186
9186
  allowClear: Se,
9187
9187
  className: (0, u.default)(V, re),
9188
9188
  onChange: be,
9189
- addonAfter: K && /* @__PURE__ */ d.default.createElement(y.NoCompactStyle, null, /* @__PURE__ */ d.default.createElement(h.NoFormStyle, {
9189
+ addonAfter: K && /* @__PURE__ */ d.default.createElement(_.NoCompactStyle, null, /* @__PURE__ */ d.default.createElement(h.NoFormStyle, {
9190
9190
  override: !0,
9191
9191
  status: !0
9192
9192
  }, K)),
9193
- addonBefore: I && /* @__PURE__ */ d.default.createElement(y.NoCompactStyle, null, /* @__PURE__ */ d.default.createElement(h.NoFormStyle, {
9193
+ addonBefore: I && /* @__PURE__ */ d.default.createElement(_.NoCompactStyle, null, /* @__PURE__ */ d.default.createElement(h.NoFormStyle, {
9194
9194
  override: !0,
9195
9195
  status: !0
9196
9196
  }, I)),
@@ -9207,7 +9207,7 @@ function hasPrefixSuffix(e) {
9207
9207
  Object.defineProperty(e, "__esModule", {
9208
9208
  value: !0
9209
9209
  }), e.default = void 0;
9210
- var n = r(_typeof$3.exports), a = r(defineProperty.exports), o = r(_extends$1.exports), s = r(slicedToArray.exports), u = r(toConsumableArray.exports), l = r(classnames.exports), c = r(require$$8), d = r(useMergedState$1), f = r(omit$2), p = t(React__default), v = requireConfigProvider(), h = r(DisabledContext), y = r(SizeContext), x = context, m = statusUtils, g = r(ClearableLabeledInput), _ = Input$1, b = function($, O) {
9210
+ var n = r(_typeof$3.exports), a = r(defineProperty.exports), o = r(_extends$1.exports), s = r(slicedToArray.exports), u = r(toConsumableArray.exports), l = r(classnames.exports), c = r(require$$8), d = r(useMergedState$1), f = r(omit$2), p = t(React__default), v = requireConfigProvider(), h = r(DisabledContext), _ = r(SizeContext), x = context, m = statusUtils, g = r(ClearableLabeledInput), y = Input$1, b = function($, O) {
9211
9211
  var A = {};
9212
9212
  for (var M in $)
9213
9213
  Object.prototype.hasOwnProperty.call($, M) && O.indexOf(M) < 0 && (A[M] = $[M]);
@@ -9224,7 +9224,7 @@ function hasPrefixSuffix(e) {
9224
9224
  return $ ? P = C(A, M) : (0, u.default)(O || "").length < A.length && (0, u.default)(A || "").length > M && (P = O), P;
9225
9225
  }
9226
9226
  var D = /* @__PURE__ */ p.forwardRef(function($, O) {
9227
- var A, M = $.prefixCls, P = $.bordered, N = P === void 0 ? !0 : P, F = $.showCount, k = F === void 0 ? !1 : F, j = $.maxLength, q = $.className, B = $.style, U = $.size, L = $.disabled, W = $.onCompositionStart, H = $.onCompositionEnd, z = $.onChange, K = $.status, I = b($, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size", "disabled", "onCompositionStart", "onCompositionEnd", "onChange", "status"]), V = p.useContext(v.ConfigContext), G = V.getPrefixCls, X = V.direction, Q = p.useContext(y.default), E = p.useContext(h.default), T = L != null ? L : E, Y = p.useContext(x.FormItemInputContext), J = Y.status, ee = Y.hasFeedback, Z = Y.isFormItemInput, te = Y.feedbackIcon, re = (0, m.getMergedStatus)(J, K), se = p.useRef(null), ye = p.useRef(null), _e = p.useState(!1), Ce = (0, s.default)(_e, 2), ie = Ce[0], ve = Ce[1], ce = p.useRef(), me = p.useRef(0), pe = (0, d.default)(I.defaultValue, {
9227
+ var A, M = $.prefixCls, P = $.bordered, N = P === void 0 ? !0 : P, F = $.showCount, k = F === void 0 ? !1 : F, j = $.maxLength, q = $.className, B = $.style, U = $.size, L = $.disabled, W = $.onCompositionStart, H = $.onCompositionEnd, z = $.onChange, K = $.status, I = b($, ["prefixCls", "bordered", "showCount", "maxLength", "className", "style", "size", "disabled", "onCompositionStart", "onCompositionEnd", "onChange", "status"]), V = p.useContext(v.ConfigContext), G = V.getPrefixCls, X = V.direction, Q = p.useContext(_.default), E = p.useContext(h.default), T = L != null ? L : E, Y = p.useContext(x.FormItemInputContext), J = Y.status, ee = Y.hasFeedback, Z = Y.isFormItemInput, te = Y.feedbackIcon, re = (0, m.getMergedStatus)(J, K), se = p.useRef(null), ye = p.useRef(null), _e = p.useState(!1), Ce = (0, s.default)(_e, 2), ie = Ce[0], ve = Ce[1], ce = p.useRef(), me = p.useRef(0), pe = (0, d.default)(I.defaultValue, {
9228
9228
  value: I.value
9229
9229
  }), oe = (0, s.default)(pe, 2), ge = oe[0], we = oe[1], le = I.hidden, ue = function(Ee, Fe) {
9230
9230
  I.value === void 0 && (we(Ee), Fe == null || Fe());
@@ -9238,17 +9238,17 @@ function hasPrefixSuffix(e) {
9238
9238
  var Ve = me.current >= j + 1 || me.current === ((Fe = ce.current) === null || Fe === void 0 ? void 0 : Fe.length);
9239
9239
  Ie = w(Ve, ce.current, Ie, j);
9240
9240
  }
9241
- Ie !== ge && (ue(Ie), (0, _.resolveOnChange)(Ee.currentTarget, Ee, z, Ie)), H == null || H(Ee);
9241
+ Ie !== ge && (ue(Ie), (0, y.resolveOnChange)(Ee.currentTarget, Ee, z, Ie)), H == null || H(Ee);
9242
9242
  }, Te = function(Ee) {
9243
9243
  var Fe = Ee.target.value;
9244
9244
  if (!ie && be) {
9245
9245
  var Ie = Ee.target.selectionStart >= j + 1 || Ee.target.selectionStart === Fe.length || !Ee.target.selectionStart;
9246
9246
  Fe = w(Ie, ge, Fe, j);
9247
9247
  }
9248
- ue(Fe), (0, _.resolveOnChange)(Ee.currentTarget, Ee, z, Fe);
9248
+ ue(Fe), (0, y.resolveOnChange)(Ee.currentTarget, Ee, z, Fe);
9249
9249
  }, Pe = function(Ee) {
9250
9250
  var Fe, Ie, Ve;
9251
- ue(""), (Fe = se.current) === null || Fe === void 0 || Fe.focus(), (0, _.resolveOnChange)((Ve = (Ie = se.current) === null || Ie === void 0 ? void 0 : Ie.resizableTextArea) === null || Ve === void 0 ? void 0 : Ve.textArea, Ee, z);
9251
+ ue(""), (Fe = se.current) === null || Fe === void 0 || Fe.focus(), (0, y.resolveOnChange)((Ve = (Ie = se.current) === null || Ie === void 0 ? void 0 : Ie.resizableTextArea) === null || Ve === void 0 ? void 0 : Ve.textArea, Ee, z);
9252
9252
  }, ke = G("input", M);
9253
9253
  p.useImperativeHandle(O, function() {
9254
9254
  var qe;
@@ -9256,7 +9256,7 @@ function hasPrefixSuffix(e) {
9256
9256
  resizableTextArea: (qe = se.current) === null || qe === void 0 ? void 0 : qe.resizableTextArea,
9257
9257
  focus: function(Fe) {
9258
9258
  var Ie, Ve;
9259
- (0, _.triggerFocus)((Ve = (Ie = se.current) === null || Ie === void 0 ? void 0 : Ie.resizableTextArea) === null || Ve === void 0 ? void 0 : Ve.textArea, Fe);
9259
+ (0, y.triggerFocus)((Ve = (Ie = se.current) === null || Ie === void 0 ? void 0 : Ie.resizableTextArea) === null || Ve === void 0 ? void 0 : Ve.textArea, Fe);
9260
9260
  },
9261
9261
  blur: function() {
9262
9262
  var Fe;
@@ -9275,7 +9275,7 @@ function hasPrefixSuffix(e) {
9275
9275
  onChange: Te,
9276
9276
  onCompositionEnd: Se,
9277
9277
  ref: se
9278
- })), Me = (0, _.fixControlledValue)(ge);
9278
+ })), Me = (0, y.fixControlledValue)(ge);
9279
9279
  !ie && be && (I.value === null || I.value === void 0) && (Me = C(Me, j));
9280
9280
  var Le = /* @__PURE__ */ p.createElement(g.default, (0, o.default)({
9281
9281
  disabled: T
@@ -9344,21 +9344,21 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
9344
9344
  modalWidth: u
9345
9345
  } = useWindowDimensions(), {
9346
9346
  t: l
9347
- } = useContext(LocaleContext), [c, d] = useState$1([]), [f, p] = useState$1(!1), [v, h] = useState$1(!1), [y, x] = useState$1({}), m = useRef();
9347
+ } = useContext(LocaleContext), [c, d] = useState$1([]), [f, p] = useState$1(!1), [v, h] = useState$1(!1), [_, x] = useState$1({}), m = useRef();
9348
9348
  useEffect(() => {
9349
9349
  t ? g() : x({});
9350
9350
  }, [t]);
9351
9351
  async function g() {
9352
9352
  p(!0);
9353
9353
  try {
9354
- const S = await _();
9354
+ const S = await y();
9355
9355
  await b(S);
9356
9356
  } catch (S) {
9357
9357
  showDialog$8(S);
9358
9358
  }
9359
9359
  p(!1);
9360
9360
  }
9361
- async function _() {
9361
+ async function y() {
9362
9362
  const $ = (await ConnectionProvider.getHandler().search({
9363
9363
  params: [["translatable", "=", "1"]],
9364
9364
  fields: ["code", "name"],
@@ -9399,10 +9399,10 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
9399
9399
  flex: "auto",
9400
9400
  children: /* @__PURE__ */ jsx(TextArea$1, {
9401
9401
  rows: 4,
9402
- value: y[S.code] || "",
9402
+ value: _[S.code] || "",
9403
9403
  onChange: (O) => {
9404
9404
  x({
9405
- ...y,
9405
+ ..._,
9406
9406
  [S.code]: O.target.value
9407
9407
  });
9408
9408
  },
@@ -9414,12 +9414,12 @@ const TextArea$1 = /* @__PURE__ */ getDefaultExportFromCjs(TextArea$3), {
9414
9414
  async function w() {
9415
9415
  h(!0);
9416
9416
  try {
9417
- for (const S of Object.keys(y))
9418
- y[S] !== m.current[S] && await ConnectionProvider.getHandler().update({
9417
+ for (const S of Object.keys(_))
9418
+ _[S] !== m.current[S] && await ConnectionProvider.getHandler().update({
9419
9419
  model: n,
9420
9420
  id: a,
9421
9421
  values: {
9422
- [o]: y[S]
9422
+ [o]: _[S]
9423
9423
  },
9424
9424
  context: {
9425
9425
  lang: S
@@ -9753,7 +9753,7 @@ function debounce(e, t, r) {
9753
9753
  function h(w) {
9754
9754
  return c = w, u = setTimeout(m, t), d ? v(w) : s;
9755
9755
  }
9756
- function y(w) {
9756
+ function _(w) {
9757
9757
  var D = w - l, S = w - c, $ = t - D;
9758
9758
  return f ? nativeMin($, o - S) : $;
9759
9759
  }
@@ -9765,12 +9765,12 @@ function debounce(e, t, r) {
9765
9765
  var w = now$1();
9766
9766
  if (x(w))
9767
9767
  return g(w);
9768
- u = setTimeout(m, y(w));
9768
+ u = setTimeout(m, _(w));
9769
9769
  }
9770
9770
  function g(w) {
9771
9771
  return u = void 0, p && n ? v(w) : (n = a = void 0, s);
9772
9772
  }
9773
- function _() {
9773
+ function y() {
9774
9774
  u !== void 0 && clearTimeout(u), c = 0, n = l = a = u = void 0;
9775
9775
  }
9776
9776
  function b() {
@@ -9786,7 +9786,7 @@ function debounce(e, t, r) {
9786
9786
  }
9787
9787
  return u === void 0 && (u = setTimeout(m, t)), s;
9788
9788
  }
9789
- return C.cancel = _, C.flush = b, C;
9789
+ return C.cancel = y, C.flush = b, C;
9790
9790
  }
9791
9791
  var debounce_1 = debounce, browser$1 = { exports: {} }, lib$2 = {}, readableBrowser = { exports: {} }, events = { exports: {} }, R = typeof Reflect == "object" ? Reflect : null, ReflectApply = R && typeof R.apply == "function" ? R.apply : function(t, r, n) {
9792
9792
  return Function.prototype.apply.call(t, r, n);
@@ -10025,20 +10025,20 @@ function requireBuffer_list() {
10025
10025
  function e(p, v) {
10026
10026
  var h = Object.keys(p);
10027
10027
  if (Object.getOwnPropertySymbols) {
10028
- var y = Object.getOwnPropertySymbols(p);
10029
- v && (y = y.filter(function(x) {
10028
+ var _ = Object.getOwnPropertySymbols(p);
10029
+ v && (_ = _.filter(function(x) {
10030
10030
  return Object.getOwnPropertyDescriptor(p, x).enumerable;
10031
- })), h.push.apply(h, y);
10031
+ })), h.push.apply(h, _);
10032
10032
  }
10033
10033
  return h;
10034
10034
  }
10035
10035
  function t(p) {
10036
10036
  for (var v = 1; v < arguments.length; v++) {
10037
10037
  var h = arguments[v] != null ? arguments[v] : {};
10038
- v % 2 ? e(Object(h), !0).forEach(function(y) {
10039
- r(p, y, h[y]);
10040
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(h)) : e(Object(h)).forEach(function(y) {
10041
- Object.defineProperty(p, y, Object.getOwnPropertyDescriptor(h, y));
10038
+ v % 2 ? e(Object(h), !0).forEach(function(_) {
10039
+ r(p, _, h[_]);
10040
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(p, Object.getOwnPropertyDescriptors(h)) : e(Object(h)).forEach(function(_) {
10041
+ Object.defineProperty(p, _, Object.getOwnPropertyDescriptor(h, _));
10042
10042
  });
10043
10043
  }
10044
10044
  return p;
@@ -10052,8 +10052,8 @@ function requireBuffer_list() {
10052
10052
  }
10053
10053
  function a(p, v) {
10054
10054
  for (var h = 0; h < v.length; h++) {
10055
- var y = v[h];
10056
- y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(p, y.key, y);
10055
+ var _ = v[h];
10056
+ _.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(p, _.key, _);
10057
10057
  }
10058
10058
  }
10059
10059
  function o(p, v, h) {
@@ -10070,20 +10070,20 @@ function requireBuffer_list() {
10070
10070
  return o(p, [{
10071
10071
  key: "push",
10072
10072
  value: function(h) {
10073
- var y = {
10073
+ var _ = {
10074
10074
  data: h,
10075
10075
  next: null
10076
10076
  };
10077
- this.length > 0 ? this.tail.next = y : this.head = y, this.tail = y, ++this.length;
10077
+ this.length > 0 ? this.tail.next = _ : this.head = _, this.tail = _, ++this.length;
10078
10078
  }
10079
10079
  }, {
10080
10080
  key: "unshift",
10081
10081
  value: function(h) {
10082
- var y = {
10082
+ var _ = {
10083
10083
  data: h,
10084
10084
  next: this.head
10085
10085
  };
10086
- this.length === 0 && (this.tail = y), this.head = y, ++this.length;
10086
+ this.length === 0 && (this.tail = _), this.head = _, ++this.length;
10087
10087
  }
10088
10088
  }, {
10089
10089
  key: "shift",
@@ -10103,8 +10103,8 @@ function requireBuffer_list() {
10103
10103
  value: function(h) {
10104
10104
  if (this.length === 0)
10105
10105
  return "";
10106
- for (var y = this.head, x = "" + y.data; y = y.next; )
10107
- x += h + y.data;
10106
+ for (var _ = this.head, x = "" + _.data; _ = _.next; )
10107
+ x += h + _.data;
10108
10108
  return x;
10109
10109
  }
10110
10110
  }, {
@@ -10112,15 +10112,15 @@ function requireBuffer_list() {
10112
10112
  value: function(h) {
10113
10113
  if (this.length === 0)
10114
10114
  return u.alloc(0);
10115
- for (var y = u.allocUnsafe(h >>> 0), x = this.head, m = 0; x; )
10116
- f(x.data, y, m), m += x.data.length, x = x.next;
10117
- return y;
10115
+ for (var _ = u.allocUnsafe(h >>> 0), x = this.head, m = 0; x; )
10116
+ f(x.data, _, m), m += x.data.length, x = x.next;
10117
+ return _;
10118
10118
  }
10119
10119
  }, {
10120
10120
  key: "consume",
10121
- value: function(h, y) {
10121
+ value: function(h, _) {
10122
10122
  var x;
10123
- return h < this.head.data.length ? (x = this.head.data.slice(0, h), this.head.data = this.head.data.slice(h)) : h === this.head.data.length ? x = this.shift() : x = y ? this._getString(h) : this._getBuffer(h), x;
10123
+ return h < this.head.data.length ? (x = this.head.data.slice(0, h), this.head.data = this.head.data.slice(h)) : h === this.head.data.length ? x = this.shift() : x = _ ? this._getString(h) : this._getBuffer(h), x;
10124
10124
  }
10125
10125
  }, {
10126
10126
  key: "first",
@@ -10130,11 +10130,11 @@ function requireBuffer_list() {
10130
10130
  }, {
10131
10131
  key: "_getString",
10132
10132
  value: function(h) {
10133
- var y = this.head, x = 1, m = y.data;
10134
- for (h -= m.length; y = y.next; ) {
10135
- var g = y.data, _ = h > g.length ? g.length : h;
10136
- if (_ === g.length ? m += g : m += g.slice(0, h), h -= _, h === 0) {
10137
- _ === g.length ? (++x, y.next ? this.head = y.next : this.head = this.tail = null) : (this.head = y, y.data = g.slice(_));
10133
+ var _ = this.head, x = 1, m = _.data;
10134
+ for (h -= m.length; _ = _.next; ) {
10135
+ var g = _.data, y = h > g.length ? g.length : h;
10136
+ if (y === g.length ? m += g : m += g.slice(0, h), h -= y, h === 0) {
10137
+ y === g.length ? (++x, _.next ? this.head = _.next : this.head = this.tail = null) : (this.head = _, _.data = g.slice(y));
10138
10138
  break;
10139
10139
  }
10140
10140
  ++x;
@@ -10144,21 +10144,21 @@ function requireBuffer_list() {
10144
10144
  }, {
10145
10145
  key: "_getBuffer",
10146
10146
  value: function(h) {
10147
- var y = u.allocUnsafe(h), x = this.head, m = 1;
10148
- for (x.data.copy(y), h -= x.data.length; x = x.next; ) {
10149
- var g = x.data, _ = h > g.length ? g.length : h;
10150
- if (g.copy(y, y.length - h, 0, _), h -= _, h === 0) {
10151
- _ === g.length ? (++m, x.next ? this.head = x.next : this.head = this.tail = null) : (this.head = x, x.data = g.slice(_));
10147
+ var _ = u.allocUnsafe(h), x = this.head, m = 1;
10148
+ for (x.data.copy(_), h -= x.data.length; x = x.next; ) {
10149
+ var g = x.data, y = h > g.length ? g.length : h;
10150
+ if (g.copy(_, _.length - h, 0, y), h -= y, h === 0) {
10151
+ y === g.length ? (++m, x.next ? this.head = x.next : this.head = this.tail = null) : (this.head = x, x.data = g.slice(y));
10152
10152
  break;
10153
10153
  }
10154
10154
  ++m;
10155
10155
  }
10156
- return this.length -= m, y;
10156
+ return this.length -= m, _;
10157
10157
  }
10158
10158
  }, {
10159
10159
  key: d,
10160
- value: function(h, y) {
10161
- return c(this, t({}, y, {
10160
+ value: function(h, _) {
10161
+ return c(this, t({}, _, {
10162
10162
  depth: 0,
10163
10163
  customInspect: !1
10164
10164
  }));
@@ -10344,7 +10344,7 @@ function require_stream_writable() {
10344
10344
  function u(I) {
10345
10345
  return a.isBuffer(I) || I instanceof o;
10346
10346
  }
10347
- var l = destroy_1, c = state, d = c.getHighWaterMark, f = errorsBrowser.codes, p = f.ERR_INVALID_ARG_TYPE, v = f.ERR_METHOD_NOT_IMPLEMENTED, h = f.ERR_MULTIPLE_CALLBACK, y = f.ERR_STREAM_CANNOT_PIPE, x = f.ERR_STREAM_DESTROYED, m = f.ERR_STREAM_NULL_VALUES, g = f.ERR_STREAM_WRITE_AFTER_END, _ = f.ERR_UNKNOWN_ENCODING, b = l.errorOrDestroy;
10347
+ var l = destroy_1, c = state, d = c.getHighWaterMark, f = errorsBrowser.codes, p = f.ERR_INVALID_ARG_TYPE, v = f.ERR_METHOD_NOT_IMPLEMENTED, h = f.ERR_MULTIPLE_CALLBACK, _ = f.ERR_STREAM_CANNOT_PIPE, x = f.ERR_STREAM_DESTROYED, m = f.ERR_STREAM_NULL_VALUES, g = f.ERR_STREAM_WRITE_AFTER_END, y = f.ERR_UNKNOWN_ENCODING, b = l.errorOrDestroy;
10348
10348
  inherits_browser.exports(S, n);
10349
10349
  function C() {
10350
10350
  }
@@ -10385,7 +10385,7 @@ function require_stream_writable() {
10385
10385
  this._writableState = new w(I, this, V), this.writable = !0, I && (typeof I.write == "function" && (this._write = I.write), typeof I.writev == "function" && (this._writev = I.writev), typeof I.destroy == "function" && (this._destroy = I.destroy), typeof I.final == "function" && (this._final = I.final)), n.call(this);
10386
10386
  }
10387
10387
  S.prototype.pipe = function() {
10388
- b(this, new y());
10388
+ b(this, new _());
10389
10389
  };
10390
10390
  function $(I, V) {
10391
10391
  var G = new g();
@@ -10405,7 +10405,7 @@ function require_stream_writable() {
10405
10405
  I.corked && (I.corked--, !I.writing && !I.corked && !I.bufferProcessing && I.bufferedRequest && B(this, I));
10406
10406
  }, S.prototype.setDefaultEncoding = function(V) {
10407
10407
  if (typeof V == "string" && (V = V.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((V + "").toLowerCase()) > -1))
10408
- throw new _(V);
10408
+ throw new y(V);
10409
10409
  return this._writableState.defaultEncoding = V, this;
10410
10410
  }, Object.defineProperty(S.prototype, "writableBuffer", {
10411
10411
  enumerable: !1,
@@ -10698,7 +10698,7 @@ function requireString_decoder() {
10698
10698
  this.text = v, this.end = h, g = 3;
10699
10699
  break;
10700
10700
  default:
10701
- this.write = y, this.end = x;
10701
+ this.write = _, this.end = x;
10702
10702
  return;
10703
10703
  }
10704
10704
  this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(g);
@@ -10706,14 +10706,14 @@ function requireString_decoder() {
10706
10706
  a.prototype.write = function(m) {
10707
10707
  if (m.length === 0)
10708
10708
  return "";
10709
- var g, _;
10709
+ var g, y;
10710
10710
  if (this.lastNeed) {
10711
10711
  if (g = this.fillLast(m), g === void 0)
10712
10712
  return "";
10713
- _ = this.lastNeed, this.lastNeed = 0;
10713
+ y = this.lastNeed, this.lastNeed = 0;
10714
10714
  } else
10715
- _ = 0;
10716
- return _ < m.length ? g ? g + this.text(m, _) : this.text(m, _) : g || "";
10715
+ y = 0;
10716
+ return y < m.length ? g ? g + this.text(m, y) : this.text(m, y) : g || "";
10717
10717
  }, a.prototype.end = d, a.prototype.text = c, a.prototype.fillLast = function(m) {
10718
10718
  if (this.lastNeed <= m.length)
10719
10719
  return m.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
@@ -10722,14 +10722,14 @@ function requireString_decoder() {
10722
10722
  function o(m) {
10723
10723
  return m <= 127 ? 0 : m >> 5 === 6 ? 2 : m >> 4 === 14 ? 3 : m >> 3 === 30 ? 4 : m >> 6 === 2 ? -1 : -2;
10724
10724
  }
10725
- function s(m, g, _) {
10725
+ function s(m, g, y) {
10726
10726
  var b = g.length - 1;
10727
- if (b < _)
10727
+ if (b < y)
10728
10728
  return 0;
10729
10729
  var C = o(g[b]);
10730
- return C >= 0 ? (C > 0 && (m.lastNeed = C - 1), C) : --b < _ || C === -2 ? 0 : (C = o(g[b]), C >= 0 ? (C > 0 && (m.lastNeed = C - 2), C) : --b < _ || C === -2 ? 0 : (C = o(g[b]), C >= 0 ? (C > 0 && (C === 2 ? C = 0 : m.lastNeed = C - 3), C) : 0));
10730
+ return C >= 0 ? (C > 0 && (m.lastNeed = C - 1), C) : --b < y || C === -2 ? 0 : (C = o(g[b]), C >= 0 ? (C > 0 && (m.lastNeed = C - 2), C) : --b < y || C === -2 ? 0 : (C = o(g[b]), C >= 0 ? (C > 0 && (C === 2 ? C = 0 : m.lastNeed = C - 3), C) : 0));
10731
10731
  }
10732
- function u(m, g, _) {
10732
+ function u(m, g, y) {
10733
10733
  if ((g[0] & 192) !== 128)
10734
10734
  return m.lastNeed = 0, "\uFFFD";
10735
10735
  if (m.lastNeed > 1 && g.length > 1) {
@@ -10740,19 +10740,19 @@ function requireString_decoder() {
10740
10740
  }
10741
10741
  }
10742
10742
  function l(m) {
10743
- var g = this.lastTotal - this.lastNeed, _ = u(this, m);
10744
- if (_ !== void 0)
10745
- return _;
10743
+ var g = this.lastTotal - this.lastNeed, y = u(this, m);
10744
+ if (y !== void 0)
10745
+ return y;
10746
10746
  if (this.lastNeed <= m.length)
10747
10747
  return m.copy(this.lastChar, g, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
10748
10748
  m.copy(this.lastChar, g, 0, m.length), this.lastNeed -= m.length;
10749
10749
  }
10750
10750
  function c(m, g) {
10751
- var _ = s(this, m, g);
10751
+ var y = s(this, m, g);
10752
10752
  if (!this.lastNeed)
10753
10753
  return m.toString("utf8", g);
10754
- this.lastTotal = _;
10755
- var b = m.length - (_ - this.lastNeed);
10754
+ this.lastTotal = y;
10755
+ var b = m.length - (y - this.lastNeed);
10756
10756
  return m.copy(this.lastChar, 0, b), m.toString("utf8", g, b);
10757
10757
  }
10758
10758
  function d(m) {
@@ -10761,33 +10761,33 @@ function requireString_decoder() {
10761
10761
  }
10762
10762
  function f(m, g) {
10763
10763
  if ((m.length - g) % 2 === 0) {
10764
- var _ = m.toString("utf16le", g);
10765
- if (_) {
10766
- var b = _.charCodeAt(_.length - 1);
10764
+ var y = m.toString("utf16le", g);
10765
+ if (y) {
10766
+ var b = y.charCodeAt(y.length - 1);
10767
10767
  if (b >= 55296 && b <= 56319)
10768
- return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = m[m.length - 2], this.lastChar[1] = m[m.length - 1], _.slice(0, -1);
10768
+ return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = m[m.length - 2], this.lastChar[1] = m[m.length - 1], y.slice(0, -1);
10769
10769
  }
10770
- return _;
10770
+ return y;
10771
10771
  }
10772
10772
  return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = m[m.length - 1], m.toString("utf16le", g, m.length - 1);
10773
10773
  }
10774
10774
  function p(m) {
10775
10775
  var g = m && m.length ? this.write(m) : "";
10776
10776
  if (this.lastNeed) {
10777
- var _ = this.lastTotal - this.lastNeed;
10778
- return g + this.lastChar.toString("utf16le", 0, _);
10777
+ var y = this.lastTotal - this.lastNeed;
10778
+ return g + this.lastChar.toString("utf16le", 0, y);
10779
10779
  }
10780
10780
  return g;
10781
10781
  }
10782
10782
  function v(m, g) {
10783
- var _ = (m.length - g) % 3;
10784
- return _ === 0 ? m.toString("base64", g) : (this.lastNeed = 3 - _, this.lastTotal = 3, _ === 1 ? this.lastChar[0] = m[m.length - 1] : (this.lastChar[0] = m[m.length - 2], this.lastChar[1] = m[m.length - 1]), m.toString("base64", g, m.length - _));
10783
+ var y = (m.length - g) % 3;
10784
+ return y === 0 ? m.toString("base64", g) : (this.lastNeed = 3 - y, this.lastTotal = 3, y === 1 ? this.lastChar[0] = m[m.length - 1] : (this.lastChar[0] = m[m.length - 2], this.lastChar[1] = m[m.length - 1]), m.toString("base64", g, m.length - y));
10785
10785
  }
10786
10786
  function h(m) {
10787
10787
  var g = m && m.length ? this.write(m) : "";
10788
10788
  return this.lastNeed ? g + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : g;
10789
10789
  }
10790
- function y(m) {
10790
+ function _(m) {
10791
10791
  return m.toString(this.encoding);
10792
10792
  }
10793
10793
  function x(m) {
@@ -10843,8 +10843,8 @@ function requireAsync_iterator() {
10843
10843
  return async_iterator;
10844
10844
  hasRequiredAsync_iterator = 1;
10845
10845
  var e;
10846
- function t(m, g, _) {
10847
- return g in m ? Object.defineProperty(m, g, { value: _, enumerable: !0, configurable: !0, writable: !0 }) : m[g] = _, m;
10846
+ function t(m, g, y) {
10847
+ return g in m ? Object.defineProperty(m, g, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : m[g] = y, m;
10848
10848
  }
10849
10849
  var r = endOfStream, n = Symbol("lastResolve"), a = Symbol("lastReject"), o = Symbol("error"), s = Symbol("ended"), u = Symbol("lastPromise"), l = Symbol("handlePromise"), c = Symbol("stream");
10850
10850
  function d(m, g) {
@@ -10856,33 +10856,33 @@ function requireAsync_iterator() {
10856
10856
  function f(m) {
10857
10857
  var g = m[n];
10858
10858
  if (g !== null) {
10859
- var _ = m[c].read();
10860
- _ !== null && (m[u] = null, m[n] = null, m[a] = null, g(d(_, !1)));
10859
+ var y = m[c].read();
10860
+ y !== null && (m[u] = null, m[n] = null, m[a] = null, g(d(y, !1)));
10861
10861
  }
10862
10862
  }
10863
10863
  function p(m) {
10864
10864
  process.nextTick(f, m);
10865
10865
  }
10866
10866
  function v(m, g) {
10867
- return function(_, b) {
10867
+ return function(y, b) {
10868
10868
  m.then(function() {
10869
10869
  if (g[s]) {
10870
- _(d(void 0, !0));
10870
+ y(d(void 0, !0));
10871
10871
  return;
10872
10872
  }
10873
- g[l](_, b);
10873
+ g[l](y, b);
10874
10874
  }, b);
10875
10875
  };
10876
10876
  }
10877
10877
  var h = Object.getPrototypeOf(function() {
10878
- }), y = Object.setPrototypeOf((e = {
10878
+ }), _ = Object.setPrototypeOf((e = {
10879
10879
  get stream() {
10880
10880
  return this[c];
10881
10881
  },
10882
10882
  next: function() {
10883
- var g = this, _ = this[o];
10884
- if (_ !== null)
10885
- return Promise.reject(_);
10883
+ var g = this, y = this[o];
10884
+ if (y !== null)
10885
+ return Promise.reject(y);
10886
10886
  if (this[s])
10887
10887
  return Promise.resolve(d(void 0, !0));
10888
10888
  if (this[c].destroyed)
@@ -10906,38 +10906,38 @@ function requireAsync_iterator() {
10906
10906
  return this;
10907
10907
  }), t(e, "return", function() {
10908
10908
  var g = this;
10909
- return new Promise(function(_, b) {
10909
+ return new Promise(function(y, b) {
10910
10910
  g[c].destroy(null, function(C) {
10911
10911
  if (C) {
10912
10912
  b(C);
10913
10913
  return;
10914
10914
  }
10915
- _(d(void 0, !0));
10915
+ y(d(void 0, !0));
10916
10916
  });
10917
10917
  });
10918
10918
  }), e), h), x = function(g) {
10919
- var _, b = Object.create(y, (_ = {}, t(_, c, {
10919
+ var y, b = Object.create(_, (y = {}, t(y, c, {
10920
10920
  value: g,
10921
10921
  writable: !0
10922
- }), t(_, n, {
10922
+ }), t(y, n, {
10923
10923
  value: null,
10924
10924
  writable: !0
10925
- }), t(_, a, {
10925
+ }), t(y, a, {
10926
10926
  value: null,
10927
10927
  writable: !0
10928
- }), t(_, o, {
10928
+ }), t(y, o, {
10929
10929
  value: null,
10930
10930
  writable: !0
10931
- }), t(_, s, {
10931
+ }), t(y, s, {
10932
10932
  value: g._readableState.endEmitted,
10933
10933
  writable: !0
10934
- }), t(_, l, {
10934
+ }), t(y, l, {
10935
10935
  value: function(w, D) {
10936
10936
  var S = b[c].read();
10937
10937
  S ? (b[u] = null, b[n] = null, b[a] = null, w(d(S, !1))) : (b[n] = w, b[a] = D);
10938
10938
  },
10939
10939
  writable: !0
10940
- }), _));
10940
+ }), y));
10941
10941
  return b[u] = null, r(g, function(C) {
10942
10942
  if (C && C.code !== "ERR_STREAM_PREMATURE_CLOSE") {
10943
10943
  var w = b[a];
@@ -10976,7 +10976,7 @@ function require_stream_readable() {
10976
10976
  var u = require$$3, l;
10977
10977
  u && u.debuglog ? l = u.debuglog("stream") : l = function() {
10978
10978
  };
10979
- var c = requireBuffer_list(), d = destroy_1, f = state, p = f.getHighWaterMark, v = errorsBrowser.codes, h = v.ERR_INVALID_ARG_TYPE, y = v.ERR_STREAM_PUSH_AFTER_EOF, x = v.ERR_METHOD_NOT_IMPLEMENTED, m = v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, g, _, b;
10979
+ var c = requireBuffer_list(), d = destroy_1, f = state, p = f.getHighWaterMark, v = errorsBrowser.codes, h = v.ERR_INVALID_ARG_TYPE, _ = v.ERR_STREAM_PUSH_AFTER_EOF, x = v.ERR_METHOD_NOT_IMPLEMENTED, m = v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, g, y, b;
10980
10980
  inherits_browser.exports($, r);
10981
10981
  var C = d.errorOrDestroy, w = ["error", "close", "destroy", "pause", "resume"];
10982
10982
  function D(E, T, Y) {
@@ -11022,7 +11022,7 @@ function require_stream_readable() {
11022
11022
  if (typeof T != "string" && !Z.objectMode && Object.getPrototypeOf(T) !== n.prototype && (T = o(T)), J)
11023
11023
  Z.endEmitted ? C(E, new m()) : A(E, Z, T, !0);
11024
11024
  else if (Z.ended)
11025
- C(E, new y());
11025
+ C(E, new _());
11026
11026
  else {
11027
11027
  if (Z.destroyed)
11028
11028
  return !1;
@@ -11236,7 +11236,7 @@ function require_stream_readable() {
11236
11236
  l("wrapped _read", te), J && (J = !1, E.resume());
11237
11237
  }, this;
11238
11238
  }, typeof Symbol == "function" && ($.prototype[Symbol.asyncIterator] = function() {
11239
- return _ === void 0 && (_ = requireAsync_iterator()), _(this);
11239
+ return y === void 0 && (y = requireAsync_iterator()), y(this);
11240
11240
  }), Object.defineProperty($.prototype, "readableHighWaterMark", {
11241
11241
  enumerable: !1,
11242
11242
  get: function() {
@@ -11470,12 +11470,12 @@ ieee754.read = function(e, t, r, n, a) {
11470
11470
  return (v ? -1 : 1) * s * Math.pow(2, o - n);
11471
11471
  };
11472
11472
  ieee754.write = function(e, t, r, n, a, o) {
11473
- var s, u, l, c = o * 8 - a - 1, d = (1 << c) - 1, f = d >> 1, p = a === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = n ? 0 : o - 1, h = n ? 1 : -1, y = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
11473
+ var s, u, l, c = o * 8 - a - 1, d = (1 << c) - 1, f = d >> 1, p = a === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = n ? 0 : o - 1, h = n ? 1 : -1, _ = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
11474
11474
  for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (u = isNaN(t) ? 1 : 0, s = d) : (s = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -s)) < 1 && (s--, l *= 2), s + f >= 1 ? t += p / l : t += p * Math.pow(2, 1 - f), t * l >= 2 && (s++, l /= 2), s + f >= d ? (u = 0, s = d) : s + f >= 1 ? (u = (t * l - 1) * Math.pow(2, a), s = s + f) : (u = t * Math.pow(2, f - 1) * Math.pow(2, a), s = 0)); a >= 8; e[r + v] = u & 255, v += h, u /= 256, a -= 8)
11475
11475
  ;
11476
11476
  for (s = s << a | u, c += a; c > 0; e[r + v] = s & 255, v += h, s /= 256, c -= 8)
11477
11477
  ;
11478
- e[r + v - h] |= y * 128;
11478
+ e[r + v - h] |= _ * 128;
11479
11479
  };
11480
11480
  (function(e) {
11481
11481
  Object.defineProperty(e, "__esModule", { value: !0 }), e.AnsiStringType = e.StringType = e.BufferType = e.Uint8ArrayType = e.IgnoreType = e.Float80_LE = e.Float80_BE = e.Float64_LE = e.Float64_BE = e.Float32_LE = e.Float32_BE = e.Float16_LE = e.Float16_BE = e.INT64_BE = e.UINT64_BE = e.INT64_LE = e.UINT64_LE = e.INT32_LE = e.INT32_BE = e.INT24_BE = e.INT24_LE = e.INT16_LE = e.INT16_BE = e.INT8 = e.UINT32_BE = e.UINT32_LE = e.UINT24_BE = e.UINT24_LE = e.UINT16_BE = e.UINT16_LE = e.UINT8 = void 0;
@@ -13535,9 +13535,9 @@ const Image = (e) => {
13535
13535
  });
13536
13536
  return t.map((p) => {
13537
13537
  const v = c.find(
13538
- (y) => y.id === p.id
13538
+ (_) => _.id === p.id
13539
13539
  ), h = d.find(
13540
- (y) => y.id === p.id
13540
+ (_) => _.id === p.id
13541
13541
  );
13542
13542
  return {
13543
13543
  ...p,
@@ -13569,9 +13569,9 @@ const Image = (e) => {
13569
13569
  useDeepCompareEffect(() => {
13570
13570
  h();
13571
13571
  }, [t]);
13572
- const v = async (y) => a && a[y] ? a[y] : await ConnectionProvider.getHandler().getView({
13572
+ const v = async (_) => a && a[_] ? a[_] : await ConnectionProvider.getHandler().getView({
13573
13573
  model: r,
13574
- type: y,
13574
+ type: _,
13575
13575
  context: {
13576
13576
  ...p == null ? void 0 : p(),
13577
13577
  ...n
@@ -13579,10 +13579,10 @@ const Image = (e) => {
13579
13579
  }), h = async () => {
13580
13580
  s(!0), l(void 0);
13581
13581
  try {
13582
- const y = await v("form"), x = await v("tree");
13583
- c.set("form", y), c.set("tree", x), d(c);
13584
- } catch (y) {
13585
- l(y);
13582
+ const _ = await v("form"), x = await v("tree");
13583
+ c.set("form", _), c.set("tree", x), d(c);
13584
+ } catch (_) {
13585
+ l(_);
13586
13586
  } finally {
13587
13587
  s(!1);
13588
13588
  }
@@ -13610,11 +13610,11 @@ const Image = (e) => {
13610
13610
  items: o = []
13611
13611
  } = t || {}, [s, u] = useState$1(!1), [l, c] = useState$1(), [d, f] = useState$1(!1), [p, v] = useState$1(), {
13612
13612
  relation: h,
13613
- context: y,
13613
+ context: _,
13614
13614
  readOnly: x,
13615
13615
  summaryField: m,
13616
13616
  titleField: g
13617
- } = n, _ = o.filter((S) => S.values), b = useContext(FormContext$2), {
13617
+ } = n, y = o.filter((S) => S.values), b = useContext(FormContext$2), {
13618
13618
  getContext: C
13619
13619
  } = b || {};
13620
13620
  useDeepCompareEffect(() => {
@@ -13635,7 +13635,7 @@ const Image = (e) => {
13635
13635
  items: o,
13636
13636
  context: {
13637
13637
  ...C == null ? void 0 : C(),
13638
- ...y
13638
+ ..._
13639
13639
  }
13640
13640
  });
13641
13641
  w(S);
@@ -13655,7 +13655,7 @@ const Image = (e) => {
13655
13655
  style: {
13656
13656
  padding: "1rem"
13657
13657
  },
13658
- children: _.map((S, $) => {
13658
+ children: y.map((S, $) => {
13659
13659
  var O, A;
13660
13660
  return /* @__PURE__ */ jsx("div", {
13661
13661
  children: /* @__PURE__ */ jsxs(Timeline$1.Item, {
@@ -13665,7 +13665,7 @@ const Image = (e) => {
13665
13665
  cursor: "pointer"
13666
13666
  },
13667
13667
  onClick: () => {
13668
- v(_.find((M) => S.id === M.id)), f(!0);
13668
+ v(y.find((M) => S.id === M.id)), f(!0);
13669
13669
  },
13670
13670
  children: /* @__PURE__ */ jsx("strong", {
13671
13671
  children: (O = S.values) == null ? void 0 : O[g]
@@ -13676,7 +13676,7 @@ const Image = (e) => {
13676
13676
  cursor: "pointer"
13677
13677
  },
13678
13678
  onClick: () => {
13679
- v(_.find((M) => S.id === M.id)), f(!0);
13679
+ v(y.find((M) => S.id === M.id)), f(!0);
13680
13680
  },
13681
13681
  children: (A = S.values) == null ? void 0 : A[m]
13682
13682
  })]
@@ -13695,7 +13695,7 @@ const Image = (e) => {
13695
13695
  },
13696
13696
  parentContext: {
13697
13697
  ...C == null ? void 0 : C(),
13698
- ...y
13698
+ ..._
13699
13699
  },
13700
13700
  onCancel: () => {
13701
13701
  f(!1);
@@ -13889,19 +13889,19 @@ const transformPlainMany2Ones = ({
13889
13889
  relation: p,
13890
13890
  context: v,
13891
13891
  readOnly: h,
13892
- field: y
13892
+ field: _
13893
13893
  } = r, x = useContext(FormContext$2), {
13894
13894
  getContext: m
13895
13895
  } = x || {};
13896
13896
  useDeepCompareEffect(() => {
13897
- _();
13897
+ y();
13898
13898
  }, [a]);
13899
13899
  const g = (w) => {
13900
13900
  n == null || n({
13901
13901
  items: w
13902
13902
  });
13903
13903
  };
13904
- async function _() {
13904
+ async function y() {
13905
13905
  f(!0);
13906
13906
  let w = [];
13907
13907
  try {
@@ -13920,13 +13920,13 @@ const transformPlainMany2Ones = ({
13920
13920
  const S = (await ConnectionProvider.getHandler().search({
13921
13921
  model: p,
13922
13922
  params: w,
13923
- fields: [y],
13923
+ fields: [_],
13924
13924
  context: {
13925
13925
  ...m == null ? void 0 : m(),
13926
13926
  ...v
13927
13927
  }
13928
13928
  })).map(($) => {
13929
- const O = $[y];
13929
+ const O = $[_];
13930
13930
  let A = O;
13931
13931
  return Array.isArray(O) && (A = O[1]), {
13932
13932
  label: A,
@@ -14136,12 +14136,12 @@ const transformPlainMany2Ones = ({
14136
14136
  row: v,
14137
14137
  numberOfColumns: a
14138
14138
  });
14139
- let y = h;
14140
- return (p === 0 || !(f.length === 1 && f.some((x) => x.type === "group"))) && (y = fillRowWithEmptiesToFit({
14139
+ let _ = h;
14140
+ return (p === 0 || !(f.length === 1 && f.some((x) => x.type === "group"))) && (_ = fillRowWithEmptiesToFit({
14141
14141
  row: h,
14142
14142
  numberOfColumns: a,
14143
14143
  mustFillWithEmpties: r
14144
- }), u = u.concat(y)), y.map((x) => (x instanceof Label$1 && x.fieldForLabel && (s = !0), /* @__PURE__ */ jsx("div", {
14144
+ }), u = u.concat(_)), _.map((x) => (x instanceof Label$1 && x.fieldForLabel && (s = !0), /* @__PURE__ */ jsx("div", {
14145
14145
  style: {
14146
14146
  ...getSpanStyleForItem({
14147
14147
  item: x,
@@ -14353,11 +14353,11 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14353
14353
  formView: p,
14354
14354
  sorter: v,
14355
14355
  setSorter: h,
14356
- setCurrentItemIndex: y,
14356
+ setCurrentItemIndex: _,
14357
14357
  setResultsActionView: x,
14358
14358
  resultsActionView: m,
14359
14359
  domain: g,
14360
- currentId: _,
14360
+ currentId: y,
14361
14361
  limit: b,
14362
14362
  setLimit: C,
14363
14363
  searchParams: w = [],
@@ -14389,9 +14389,9 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14389
14389
  sorter: v,
14390
14390
  fields: { ...f.fields, ...p.fields }
14391
14391
  }) : [...K.current];
14392
- I(Ce), _e.length > 0 ? y == null || y(0) : y == null || y(void 0);
14392
+ I(Ce), _e.length > 0 ? _ == null || _(0) : _ == null || _(void 0);
14393
14393
  } else
14394
- I([]), y == null || y(void 0);
14394
+ I([]), _ == null || _(void 0);
14395
14395
  l.current = !0;
14396
14396
  }, [
14397
14397
  I,
@@ -14403,7 +14403,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14403
14403
  f,
14404
14404
  p,
14405
14405
  v,
14406
- y,
14406
+ _,
14407
14407
  d
14408
14408
  ]), X = useCallback(
14409
14409
  async (Z) => {
@@ -14424,19 +14424,19 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14424
14424
  }) : [...K.current];
14425
14425
  if (I(ve), m && ve.length > 0) {
14426
14426
  const me = ve.findIndex(
14427
- (pe) => _ === pe.id
14427
+ (pe) => y === pe.id
14428
14428
  );
14429
- me === -1 ? y == null || y(0) : y == null || y(me);
14429
+ me === -1 ? _ == null || _(0) : _ == null || _(me);
14430
14430
  } else
14431
- y == null || y(void 0);
14431
+ _ == null || _(void 0);
14432
14432
  const ce = await _e;
14433
14433
  B(ce), d == null || d(ce);
14434
14434
  },
14435
14435
  [
14436
- y,
14436
+ _,
14437
14437
  m,
14438
14438
  I,
14439
- _,
14439
+ y,
14440
14440
  t,
14441
14441
  c,
14442
14442
  g,
@@ -14460,7 +14460,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14460
14460
  },
14461
14461
  [
14462
14462
  c,
14463
- _,
14463
+ y,
14464
14464
  g,
14465
14465
  p,
14466
14466
  b,
@@ -14470,7 +14470,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14470
14470
  m,
14471
14471
  l,
14472
14472
  d,
14473
- y,
14473
+ _,
14474
14474
  I,
14475
14475
  P,
14476
14476
  A,
@@ -14572,11 +14572,11 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14572
14572
  results: p,
14573
14573
  currentItemIndex: v,
14574
14574
  setCurrentItemIndex: h,
14575
- currentModel: y,
14575
+ currentModel: _,
14576
14576
  sorter: x,
14577
14577
  setSorter: m,
14578
14578
  totalItems: g,
14579
- setTotalItems: _,
14579
+ setTotalItems: y,
14580
14580
  setSelectedRowItems: b,
14581
14581
  selectedRowItems: C,
14582
14582
  searchTreeNameSearch: w,
@@ -14617,7 +14617,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14617
14617
  setCurrentItemIndex: h,
14618
14618
  results: p,
14619
14619
  setResults: f,
14620
- currentModel: y,
14620
+ currentModel: _,
14621
14621
  removingItem: N,
14622
14622
  setRemovingItem: F,
14623
14623
  formIsLoading: k,
@@ -14637,7 +14637,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14637
14637
  sorter: x,
14638
14638
  setSorter: m,
14639
14639
  totalItems: g,
14640
- setTotalItems: _,
14640
+ setTotalItems: y,
14641
14641
  searchTreeNameSearch: w,
14642
14642
  setSearchTreeNameSearch: D,
14643
14643
  setGraphIsLoading: X,
@@ -14698,7 +14698,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14698
14698
  useImperativeHandle(t, () => ({
14699
14699
  openActionModal: b
14700
14700
  }));
14701
- const [p, v] = useState$1(!1), [h, y] = useState$1({
14701
+ const [p, v] = useState$1(!1), [h, _] = useState$1({
14702
14702
  context: {}
14703
14703
  });
14704
14704
  async function x(D) {
@@ -14774,14 +14774,14 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14774
14774
  fields: S,
14775
14775
  values: $,
14776
14776
  context: O
14777
- }) : M === "ir.actions.act_window" ? await _({
14777
+ }) : M === "ir.actions.act_window" ? await y({
14778
14778
  actionData: D,
14779
14779
  fields: S,
14780
14780
  values: $,
14781
14781
  context: O
14782
14782
  }) : (showDialog$8(`${M} action not supported`), {});
14783
14783
  }
14784
- async function _({
14784
+ async function y({
14785
14785
  actionData: D,
14786
14786
  fields: S = {},
14787
14787
  values: $ = {},
@@ -14881,7 +14881,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14881
14881
  formView: $,
14882
14882
  context: O,
14883
14883
  actionData: A
14884
- }) : (y({
14884
+ }) : (_({
14885
14885
  domain: D,
14886
14886
  model: S,
14887
14887
  context: O,
@@ -14896,13 +14896,13 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14896
14896
  context: O,
14897
14897
  actionData: A
14898
14898
  }) {
14899
- y({
14899
+ _({
14900
14900
  domain: void 0,
14901
14901
  model: void 0,
14902
14902
  context: {},
14903
14903
  formView: void 0,
14904
14904
  actionData: void 0
14905
- }), v(!1), await new Promise((M) => setTimeout(M, 300)), y({
14905
+ }), v(!1), await new Promise((M) => setTimeout(M, 300)), _({
14906
14906
  domain: D,
14907
14907
  model: S,
14908
14908
  context: O,
@@ -14911,7 +14911,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14911
14911
  }), v(!0);
14912
14912
  }
14913
14913
  async function w() {
14914
- callRefreshValues(d.current), d.current = [], v(!1), y({
14914
+ callRefreshValues(d.current), d.current = [], v(!1), _({
14915
14915
  domain: void 0,
14916
14916
  model: void 0,
14917
14917
  context: {},
@@ -14942,7 +14942,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
14942
14942
  visible: p,
14943
14943
  onSubmitSucceed: w,
14944
14944
  onCancel: () => {
14945
- callRefreshValues(d.current), d.current = [], v(!1), y({
14945
+ callRefreshValues(d.current), d.current = [], v(!1), _({
14946
14946
  domain: void 0,
14947
14947
  model: void 0,
14948
14948
  context: {},
@@ -14974,11 +14974,11 @@ function Form(e, t) {
14974
14974
  submitMode: p = "api",
14975
14975
  values: v,
14976
14976
  formView: h,
14977
- postSaveAction: y,
14977
+ postSaveAction: _,
14978
14978
  insideButtonModal: x = !1,
14979
14979
  parentContext: m = {},
14980
14980
  actionDomain: g,
14981
- visible: _ = !0,
14981
+ visible: y = !0,
14982
14982
  rootForm: b = !1,
14983
14983
  defaultValues: C,
14984
14984
  forcedValues: w = {}
@@ -15013,13 +15013,13 @@ function Form(e, t) {
15013
15013
  }
15014
15014
  })), useEffect(() => {
15015
15015
  if (M(void 0), !(!r && !h)) {
15016
- if (!_) {
15016
+ if (!y) {
15017
15017
  K.current = void 0, N(void 0);
15018
15018
  return;
15019
15019
  }
15020
15020
  (n === void 0 && q || n !== void 0 && q && n < 0) && (K.current = void 0, N(void 0)), Le();
15021
15021
  }
15022
- }, [n, r, v, h, _]), useEffect(() => {
15022
+ }, [n, r, v, h, y]), useEffect(() => {
15023
15023
  H && (et({
15024
15024
  elementHasLostFocus: !0
15025
15025
  }), z(!1));
@@ -15260,7 +15260,7 @@ function Form(e, t) {
15260
15260
  });
15261
15261
  K.current = fe, I.current = de;
15262
15262
  }
15263
- y && await y([oe()]), !x && ne && (ce == null || ce(oe(), we(), ue()));
15263
+ _ && await _([oe()]), !x && ne && (ce == null || ce(oe(), we(), ue()));
15264
15264
  }, Ve = async (ae) => {
15265
15265
  const {
15266
15266
  callOnSubmitSucceed: ne = !0
@@ -15518,7 +15518,7 @@ function Form(e, t) {
15518
15518
  showDialog$8(fe);
15519
15519
  }
15520
15520
  }
15521
- const vt = () => !P && !A ? /* @__PURE__ */ jsx(Spin, {}) : !r && !h || !_ ? null : /* @__PURE__ */ jsx(Fragment, {
15521
+ const vt = () => !P && !A ? /* @__PURE__ */ jsx(Spin, {}) : !r && !h || !y ? null : /* @__PURE__ */ jsx(Fragment, {
15522
15522
  children: /* @__PURE__ */ jsx(FormProvider$2, {
15523
15523
  getValues: we,
15524
15524
  getPlainValues: le,
@@ -15573,7 +15573,7 @@ function Form(e, t) {
15573
15573
  })
15574
15574
  })]
15575
15575
  });
15576
- return _ ? /* @__PURE__ */ jsx(Measure, {
15576
+ return y ? /* @__PURE__ */ jsx(Measure, {
15577
15577
  bounds: !0,
15578
15578
  onResize: (ae) => {
15579
15579
  var ne;
@@ -15605,23 +15605,23 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
15605
15605
  ...l
15606
15606
  } = e, {
15607
15607
  modalWidth: c
15608
- } = useWindowDimensions(), [d, f] = useState$1(n), [p, v] = useState$1(!1), [h, y] = useState$1();
15608
+ } = useWindowDimensions(), [d, f] = useState$1(n), [p, v] = useState$1(!1), [h, _] = useState$1();
15609
15609
  useEffect(() => {
15610
15610
  s && x();
15611
15611
  }, [u, s]);
15612
15612
  async function x() {
15613
15613
  const {
15614
- action_id: _,
15614
+ action_id: y,
15615
15615
  res_id: b,
15616
15616
  action_type: C,
15617
15617
  view_id: w
15618
15618
  } = u, D = await ConnectionProvider.getHandler().isShortcutFavorite({
15619
- action_id: _,
15619
+ action_id: y,
15620
15620
  action_type: C,
15621
15621
  view_id: w,
15622
15622
  res_id: b || !1
15623
15623
  });
15624
- v(D !== !1), D !== !1 && y(D);
15624
+ v(D !== !1), D !== !1 && _(D);
15625
15625
  }
15626
15626
  async function m() {
15627
15627
  if (p && h)
@@ -15630,13 +15630,13 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
15630
15630
  });
15631
15631
  else {
15632
15632
  const {
15633
- action_id: _,
15633
+ action_id: y,
15634
15634
  res_id: b,
15635
15635
  action_type: C,
15636
15636
  view_id: w
15637
15637
  } = u;
15638
15638
  await ConnectionProvider.getHandler().addFavourite({
15639
- action_id: _,
15639
+ action_id: y,
15640
15640
  action_type: C,
15641
15641
  view_id: w,
15642
15642
  res_id: b || !1
@@ -15884,7 +15884,7 @@ const {
15884
15884
  }), c = s && !o ? RequiredSelect : Select;
15885
15885
  function d(f) {
15886
15886
  const p = f.map((v) => {
15887
- const h = u.find(([y, x]) => v === x);
15887
+ const h = u.find(([_, x]) => v === x);
15888
15888
  return h && h[0];
15889
15889
  });
15890
15890
  if (p.length === 0) {
@@ -16061,14 +16061,14 @@ function SearchFilter(e) {
16061
16061
  searchValues: p,
16062
16062
  showLimitOptions: v = !0,
16063
16063
  formXml: h
16064
- } = e, [y, x] = useState$1(), [m, g] = useState$1(), [_, b] = useState$1(!1), C = useRef(), [w] = Form$3.useForm();
16064
+ } = e, [_, x] = useState$1(), [m, g] = useState$1(), [y, b] = useState$1(!1), C = useRef(), [w] = Form$3.useForm();
16065
16065
  useEffect(() => {
16066
16066
  w.setFieldsValue(p);
16067
16067
  }, [p]);
16068
16068
  const D = () => {
16069
16069
  if (!m)
16070
16070
  return;
16071
- const O = _ ? m : y, A = O == null ? void 0 : O.rows;
16071
+ const O = y ? m : _, A = O == null ? void 0 : O.rows;
16072
16072
  return A == null ? void 0 : A.map((M, P) => /* @__PURE__ */ jsx(Row, {
16073
16073
  children: M.map((N, F) => /* @__PURE__ */ jsx(Col, {
16074
16074
  xs: 24,
@@ -16120,12 +16120,12 @@ function SearchFilter(e) {
16120
16120
  offset: s,
16121
16121
  limit: u
16122
16122
  },
16123
- children: [S, _ && v && /* @__PURE__ */ jsx(SearchParams, {
16123
+ children: [S, y && v && /* @__PURE__ */ jsx(SearchParams, {
16124
16124
  onLimitChange: l
16125
16125
  }), /* @__PURE__ */ jsx(SearchBottomBar, {
16126
- advancedFilter: _,
16126
+ advancedFilter: y,
16127
16127
  onAdvancedFilterToggle: () => {
16128
- b(!_);
16128
+ b(!y);
16129
16129
  },
16130
16130
  onClear: () => {
16131
16131
  w.resetFields(), n();
@@ -16273,14 +16273,14 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
16273
16273
  context: n = {}
16274
16274
  } = e, [a, o] = useState$1(!1), [s, u] = useState$1(!1), [l, c] = useState$1(!1), [d, f] = useState$1(), [p, v] = useState$1(), {
16275
16275
  t: h
16276
- } = useContext(LocaleContext), y = useContext(TabManagerContext), {
16276
+ } = useContext(LocaleContext), _ = useContext(TabManagerContext), {
16277
16277
  openRelate: x
16278
- } = y || {}, m = useContext(ContentRootContext), {
16278
+ } = _ || {}, m = useContext(ContentRootContext), {
16279
16279
  processAction: g
16280
16280
  } = m || {};
16281
16281
  if (!t)
16282
16282
  return null;
16283
- async function _() {
16283
+ async function y() {
16284
16284
  c(!0);
16285
16285
  try {
16286
16286
  const O = await ConnectionProvider.getHandler().getView({
@@ -16394,7 +16394,7 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
16394
16394
  color: "rgba(0,0,0,.45)"
16395
16395
  },
16396
16396
  onClick: (O) => {
16397
- O.preventDefault(), _();
16397
+ O.preventDefault(), y();
16398
16398
  }
16399
16399
  })
16400
16400
  }), /* @__PURE__ */ jsx(Many2oneSuffixModal, {
@@ -16519,11 +16519,11 @@ function Tree(e) {
16519
16519
  colorsForResults: p = {},
16520
16520
  onChangeSort: v,
16521
16521
  sorter: h,
16522
- onFetchChildrenForRecord: y,
16522
+ onFetchChildrenForRecord: _,
16523
16523
  childField: x,
16524
16524
  rootTree: m = !1,
16525
16525
  context: g
16526
- } = e, [_, b] = useState$1([]), [C, w] = useState$1([]), D = useRef(!1), S = useRef(null), {
16526
+ } = e, [y, b] = useState$1([]), [C, w] = useState$1([]), D = useRef(!1), S = useRef(null), {
16527
16527
  t: $
16528
16528
  } = useContext(LocaleContext), O = useRef(r), A = useContext(ActionViewContext), {
16529
16529
  title: M = void 0,
@@ -16552,7 +16552,7 @@ function Tree(e) {
16552
16552
  const L = getTableItems(S.current, o);
16553
16553
  b(L), O.current = r;
16554
16554
  }, [o]);
16555
- const N = (t - 1) * O.current + 1, F = N - 1 + _.length, k = n === void 0 ? null : n === 0 ? $("no_results") : $("summary").replace("{from}", N == null ? void 0 : N.toString()).replace("{to}", F == null ? void 0 : F.toString()).replace("{total}", n == null ? void 0 : n.toString()), j = () => !c || a.isExpandable || u ? null : n === void 0 ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsxs(Row, {
16555
+ const N = (t - 1) * O.current + 1, F = N - 1 + y.length, k = n === void 0 ? null : n === 0 ? $("no_results") : $("summary").replace("{from}", N == null ? void 0 : N.toString()).replace("{to}", F == null ? void 0 : F.toString()).replace("{total}", n == null ? void 0 : n.toString()), j = () => !c || a.isExpandable || u ? null : n === void 0 ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsxs(Row, {
16556
16556
  align: "bottom",
16557
16557
  className: "pb-4",
16558
16558
  children: [/* @__PURE__ */ jsx(Col, {
@@ -16578,7 +16578,7 @@ function Tree(e) {
16578
16578
  }));
16579
16579
  if (!W || W.length === 0)
16580
16580
  return null;
16581
- let H = [], z = ((K = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : K.length) > 0 ? _.filter((I) => d == null ? void 0 : d.selectedRowKeys.includes(I.id)) : _;
16581
+ let H = [], z = ((K = d == null ? void 0 : d.selectedRowKeys) == null ? void 0 : K.length) > 0 ? y.filter((I) => d == null ? void 0 : d.selectedRowKeys.includes(I.id)) : y;
16582
16582
  return W.forEach((I) => {
16583
16583
  const V = z.reduce((G, X) => X[I.field] && !isNaN(X[I.field]) ? G + X[I.field] : G, 0);
16584
16584
  H.push(`${I.label}: ${Math.round(V * 100) / 100}`);
@@ -16589,7 +16589,7 @@ function Tree(e) {
16589
16589
  }
16590
16590
  let B, U = f;
16591
16591
  if (S.current !== null) {
16592
- B = calculateColumnsWidth(C, _, 600);
16592
+ B = calculateColumnsWidth(C, y, 600);
16593
16593
  const W = S.current;
16594
16594
  f && W.columns.some((H) => H.sum !== void 0) && (U = f - 30);
16595
16595
  }
@@ -16601,7 +16601,7 @@ function Tree(e) {
16601
16601
  children: [j(), /* @__PURE__ */ jsx(Table, {
16602
16602
  height: U,
16603
16603
  columns: B.columns,
16604
- dataSource: _,
16604
+ dataSource: y,
16605
16605
  loading: u,
16606
16606
  loadingComponent: /* @__PURE__ */ jsx(Spin, {}),
16607
16607
  onRowStyle: (L) => {
@@ -16614,11 +16614,11 @@ function Tree(e) {
16614
16614
  onRowSelectionChange: d == null ? void 0 : d.onChange,
16615
16615
  onChangeSort: v,
16616
16616
  sorter: h,
16617
- expandableOpts: y ? {
16617
+ expandableOpts: _ ? {
16618
16618
  expandIcon: PlusSquareOutlined,
16619
16619
  collapseIcon: MinusSquareOutlined,
16620
16620
  loadingIcon: LoadingOutlined$4,
16621
- onFetchChildrenForRecord: y,
16621
+ onFetchChildrenForRecord: _,
16622
16622
  childField: x
16623
16623
  } : void 0
16624
16624
  }), q()]
@@ -16637,7 +16637,7 @@ function SearchTree(e, t) {
16637
16637
  rootTree: d = !1,
16638
16638
  parentContext: f = {},
16639
16639
  onChangeSelectedRowKeys: p
16640
- } = e, [v, h] = useState$1(!1), [y, x] = useState$1(!1), m = useRef(!1), [g, _] = useState$1(), [b, C] = useState$1(), [w, D] = useState$1(), [S, $] = useState$1(), [O, A] = useState$1(200), M = useRef(), {
16640
+ } = e, [v, h] = useState$1(!1), [_, x] = useState$1(!1), m = useRef(!1), [g, y] = useState$1(), [b, C] = useState$1(), [w, D] = useState$1(), [S, $] = useState$1(), [O, A] = useState$1(200), M = useRef(), {
16641
16641
  height: P
16642
16642
  } = useWindowDimensions(), N = useContext(ContentRootContext), {
16643
16643
  processAction: F
@@ -16708,8 +16708,8 @@ function SearchTree(e, t) {
16708
16708
  getFields: () => b == null ? void 0 : b.fields,
16709
16709
  getDomain: () => l
16710
16710
  })), useEffect(() => {
16711
- !y || c && (m.current = !1, re());
16712
- }, [Ce, ie, y, c, s]);
16711
+ !_ || c && (m.current = !1, re());
16712
+ }, [Ce, ie, _, c, s]);
16713
16713
  const we = async () => {
16714
16714
  x(!1), h(!0), $(void 0), E == null || E(!0);
16715
16715
  try {
@@ -16720,7 +16720,7 @@ function SearchTree(e, t) {
16720
16720
  h(!1), E == null || E(!1);
16721
16721
  }
16722
16722
  }, le = async () => {
16723
- _(r);
16723
+ y(r);
16724
16724
  let Ae = n;
16725
16725
  n || (Ae = await ConnectionProvider.getHandler().getView({
16726
16726
  model: r,
@@ -16851,17 +16851,17 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16851
16851
  modalHeight: f
16852
16852
  } = useWindowDimensions(), {
16853
16853
  t: p
16854
- } = useContext(LocaleContext), [v, h] = useState$1([]), y = async () => {
16855
- await new Promise((_) => setTimeout(_, 5)), r();
16856
- }, x = async (_) => {
16854
+ } = useContext(LocaleContext), [v, h] = useState$1([]), _ = async () => {
16855
+ await new Promise((y) => setTimeout(y, 5)), r();
16856
+ }, x = async (y) => {
16857
16857
  const {
16858
16858
  id: b
16859
- } = _;
16859
+ } = y;
16860
16860
  n([b]);
16861
16861
  };
16862
16862
  function m() {
16863
16863
  if (v.length === 0) {
16864
- y();
16864
+ _();
16865
16865
  return;
16866
16866
  }
16867
16867
  n(v);
@@ -16874,8 +16874,8 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16874
16874
  treeScrollY: f * 0.3,
16875
16875
  domain: s,
16876
16876
  parentContext: u,
16877
- onChangeSelectedRowKeys: (_) => {
16878
- h(_);
16877
+ onChangeSelectedRowKeys: (y) => {
16878
+ h(y);
16879
16879
  }
16880
16880
  }), /* @__PURE__ */ jsx(Divider, {}), /* @__PURE__ */ jsx(Row, {
16881
16881
  justify: "end",
@@ -16895,7 +16895,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16895
16895
  children: p("ok")
16896
16896
  }), /* @__PURE__ */ jsx(Button$1, {
16897
16897
  icon: /* @__PURE__ */ jsx(CloseOutlined$4, {}),
16898
- onClick: y,
16898
+ onClick: _,
16899
16899
  children: p("cancel")
16900
16900
  })]
16901
16901
  })
@@ -16908,7 +16908,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16908
16908
  width: d,
16909
16909
  visible: t && !l,
16910
16910
  closable: !0,
16911
- onCancel: y,
16911
+ onCancel: _,
16912
16912
  footer: null,
16913
16913
  destroyOnClose: !0,
16914
16914
  maskClosable: !1,
@@ -16917,11 +16917,11 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16917
16917
  model: a,
16918
16918
  visible: l,
16919
16919
  parentContext: u,
16920
- onSubmitSucceed: (_) => {
16921
- c(!1), y(), n([_]);
16920
+ onSubmitSucceed: (y) => {
16921
+ c(!1), _(), n([y]);
16922
16922
  },
16923
16923
  onCancel: () => {
16924
- c(!1), y();
16924
+ c(!1), _();
16925
16925
  }
16926
16926
  })]
16927
16927
  });
@@ -16968,7 +16968,7 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16968
16968
  context: u,
16969
16969
  id: l,
16970
16970
  domain: c
16971
- } = n, d = a && !s ? Config.requiredClass : void 0, [f, p] = useState$1(!1), [v, h] = useState$1(!1), [y, x] = useState$1(!1), [m, g] = useState$1(), _ = useRef(!1), [b, C] = useState$1(""), w = useRef(), D = useContext(FormContext$2), {
16971
+ } = n, d = a && !s ? Config.requiredClass : void 0, [f, p] = useState$1(!1), [v, h] = useState$1(!1), [_, x] = useState$1(!1), [m, g] = useState$1(), y = useRef(!1), [b, C] = useState$1(""), w = useRef(), D = useContext(FormContext$2), {
16972
16972
  domain: S,
16973
16973
  getValues: $,
16974
16974
  getFields: O,
@@ -16986,8 +16986,8 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
16986
16986
  }, U = (V) => {
16987
16987
  w.current = V.target.value, B([void 0, ""]);
16988
16988
  }, L = async () => {
16989
- if (!y && b !== q) {
16990
- if (await new Promise((V) => setTimeout(V, 100)), _.current) {
16989
+ if (!_ && b !== q) {
16990
+ if (await new Promise((V) => setTimeout(V, 100)), y.current) {
16991
16991
  B([void 0, ""]);
16992
16992
  return;
16993
16993
  }
@@ -17098,10 +17098,10 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
17098
17098
  }), /* @__PURE__ */ jsx(Col, {
17099
17099
  flex: "32px",
17100
17100
  children: /* @__PURE__ */ jsx(Button$1, {
17101
- icon: y ? /* @__PURE__ */ jsx(LoadingOutlined$4, {}) : /* @__PURE__ */ jsx(SearchOutlined, {}),
17102
- disabled: s || y,
17101
+ icon: _ ? /* @__PURE__ */ jsx(LoadingOutlined$4, {}) : /* @__PURE__ */ jsx(SearchOutlined, {}),
17102
+ disabled: s || _,
17103
17103
  onClick: () => {
17104
- _.current = !0, W(q);
17104
+ y.current = !0, W(q);
17105
17105
  },
17106
17106
  tabIndex: -1
17107
17107
  })
@@ -17115,10 +17115,10 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
17115
17115
  visible: f,
17116
17116
  nameSearch: j ? void 0 : m,
17117
17117
  onSelectValues: (V) => {
17118
- p(!1), H(V[0]), _.current = !1, w.current = void 0;
17118
+ p(!1), H(V[0]), y.current = !1, w.current = void 0;
17119
17119
  },
17120
17120
  onCloseModal: () => {
17121
- p(!1), _.current = !1;
17121
+ p(!1), y.current = !1;
17122
17122
  }
17123
17123
  }), /* @__PURE__ */ jsx(FormModal, {
17124
17124
  model: o,
@@ -17518,8 +17518,8 @@ KeyCode$1.default = _default$2;
17518
17518
  }, v = function(b) {
17519
17519
  var C = b.keyCode, w = d.onClick;
17520
17520
  C === a.default.ENTER && w && w();
17521
- }, h = d.style, y = d.noStyle, x = d.disabled, m = s(d, ["style", "noStyle", "disabled"]), g = {};
17522
- return y || (g = (0, n.default)({}, u)), x && (g.pointerEvents = "none"), g = (0, n.default)((0, n.default)({}, g), h), /* @__PURE__ */ o.createElement("div", (0, n.default)({
17521
+ }, h = d.style, _ = d.noStyle, x = d.disabled, m = s(d, ["style", "noStyle", "disabled"]), g = {};
17522
+ return _ || (g = (0, n.default)({}, u)), x && (g.pointerEvents = "none"), g = (0, n.default)((0, n.default)({}, g), h), /* @__PURE__ */ o.createElement("div", (0, n.default)({
17523
17523
  role: "button",
17524
17524
  tabIndex: 0,
17525
17525
  ref: f
@@ -17873,15 +17873,15 @@ function setLeftTop(e, t, r) {
17873
17873
  var f = getOffset(e), p = {};
17874
17874
  for (var v in t)
17875
17875
  if (t.hasOwnProperty(v)) {
17876
- var h = getOffsetDirection(v, r), y = v === "left" ? n : a, x = d[v] - f[v];
17877
- h === v ? p[h] = y + x : p[h] = y - x;
17876
+ var h = getOffsetDirection(v, r), _ = v === "left" ? n : a, x = d[v] - f[v];
17877
+ h === v ? p[h] = _ + x : p[h] = _ - x;
17878
17878
  }
17879
17879
  css(e, p), forceRelayout(e), ("left" in t || "top" in t) && setTransitionProperty(e, c);
17880
17880
  var m = {};
17881
17881
  for (var g in t)
17882
17882
  if (t.hasOwnProperty(g)) {
17883
- var _ = getOffsetDirection(g, r), b = t[g] - d[g];
17884
- g === _ ? m[_] = p[_] + b : m[_] = p[_] - b;
17883
+ var y = getOffsetDirection(g, r), b = t[g] - d[g];
17884
+ g === y ? m[y] = p[y] + b : m[y] = p[y] - b;
17885
17885
  }
17886
17886
  css(e, m);
17887
17887
  }
@@ -18085,14 +18085,14 @@ function getVisibleRectForElement(e, t) {
18085
18085
  var d = utils.css(e, "position");
18086
18086
  d === "absolute" && (e.style.position = "fixed");
18087
18087
  }
18088
- var f = utils.getWindowScrollLeft(o), p = utils.getWindowScrollTop(o), v = utils.viewportWidth(o), h = utils.viewportHeight(o), y = u.scrollWidth, x = u.scrollHeight, m = window.getComputedStyle(s);
18089
- if (m.overflowX === "hidden" && (y = o.innerWidth), m.overflowY === "hidden" && (x = o.innerHeight), e.style && (e.style.position = c), t || isAncestorFixed(e))
18088
+ var f = utils.getWindowScrollLeft(o), p = utils.getWindowScrollTop(o), v = utils.viewportWidth(o), h = utils.viewportHeight(o), _ = u.scrollWidth, x = u.scrollHeight, m = window.getComputedStyle(s);
18089
+ if (m.overflowX === "hidden" && (_ = o.innerWidth), m.overflowY === "hidden" && (x = o.innerHeight), e.style && (e.style.position = c), t || isAncestorFixed(e))
18090
18090
  r.left = Math.max(r.left, f), r.top = Math.max(r.top, p), r.right = Math.min(r.right, f + v), r.bottom = Math.min(r.bottom, p + h);
18091
18091
  else {
18092
- var g = Math.max(y, f + v);
18092
+ var g = Math.max(_, f + v);
18093
18093
  r.right = Math.min(r.right, g);
18094
- var _ = Math.max(x, p + h);
18095
- r.bottom = Math.min(r.bottom, _);
18094
+ var y = Math.max(x, p + h);
18095
+ r.bottom = Math.min(r.bottom, y);
18096
18096
  }
18097
18097
  return r.top >= 0 && r.left >= 0 && r.bottom > r.top && r.right > r.left ? r : null;
18098
18098
  }
@@ -18165,14 +18165,14 @@ function doAlign(e, t, r, n) {
18165
18165
  o = [].concat(o), s = [].concat(s), u = u || {};
18166
18166
  var c = {}, d = 0, f = !!(u && u.alwaysByViewport), p = getVisibleRectForElement(l, f), v = getRegion(l);
18167
18167
  normalizeOffset(o, v), normalizeOffset(s, t);
18168
- var h = getElFuturePos(v, t, a, o, s), y = utils.merge(v, h);
18168
+ var h = getElFuturePos(v, t, a, o, s), _ = utils.merge(v, h);
18169
18169
  if (p && (u.adjustX || u.adjustY) && n) {
18170
18170
  if (u.adjustX && isFailX(h, v, p)) {
18171
18171
  var x = flip(a, /[lr]/gi, {
18172
18172
  l: "r",
18173
18173
  r: "l"
18174
- }), m = flipOffset(o, 0), g = flipOffset(s, 0), _ = getElFuturePos(v, t, x, m, g);
18175
- isCompleteFailX(_, v, p) || (d = 1, a = x, o = m, s = g);
18174
+ }), m = flipOffset(o, 0), g = flipOffset(s, 0), y = getElFuturePos(v, t, x, m, g);
18175
+ isCompleteFailX(y, v, p) || (d = 1, a = x, o = m, s = g);
18176
18176
  }
18177
18177
  if (u.adjustY && isFailY(h, v, p)) {
18178
18178
  var b = flip(a, /[tb]/gi, {
@@ -18181,7 +18181,7 @@ function doAlign(e, t, r, n) {
18181
18181
  }), C = flipOffset(o, 1), w = flipOffset(s, 1), D = getElFuturePos(v, t, b, C, w);
18182
18182
  isCompleteFailY(D, v, p) || (d = 1, a = b, o = C, s = w);
18183
18183
  }
18184
- d && (h = getElFuturePos(v, t, a, o, s), utils.mix(y, h));
18184
+ d && (h = getElFuturePos(v, t, a, o, s), utils.mix(_, h));
18185
18185
  var S = isFailX(h, v, p), $ = isFailY(h, v, p);
18186
18186
  if (S || $) {
18187
18187
  var O = a;
@@ -18193,11 +18193,11 @@ function doAlign(e, t, r, n) {
18193
18193
  b: "t"
18194
18194
  })), a = O, o = r.offset || [0, 0], s = r.targetOffset || [0, 0];
18195
18195
  }
18196
- c.adjustX = u.adjustX && S, c.adjustY = u.adjustY && $, (c.adjustX || c.adjustY) && (y = adjustForViewport(h, v, p, c));
18196
+ c.adjustX = u.adjustX && S, c.adjustY = u.adjustY && $, (c.adjustX || c.adjustY) && (_ = adjustForViewport(h, v, p, c));
18197
18197
  }
18198
- return y.width !== v.width && utils.css(l, "width", utils.width(l) + y.width - v.width), y.height !== v.height && utils.css(l, "height", utils.height(l) + y.height - v.height), utils.offset(l, {
18199
- left: y.left,
18200
- top: y.top
18198
+ return _.width !== v.width && utils.css(l, "width", utils.width(l) + _.width - v.width), _.height !== v.height && utils.css(l, "height", utils.height(l) + _.height - v.height), utils.offset(l, {
18199
+ left: _.left,
18200
+ top: _.top
18201
18201
  }, {
18202
18202
  useCssRight: r.useCssRight,
18203
18203
  useCssBottom: r.useCssBottom,
@@ -18493,9 +18493,9 @@ function equalArrays$2(e, t, r, n, a, o) {
18493
18493
  return c == t && d == e;
18494
18494
  var f = -1, p = !0, v = r & COMPARE_UNORDERED_FLAG$1 ? new SetCache() : void 0;
18495
18495
  for (o.set(e, t), o.set(t, e); ++f < u; ) {
18496
- var h = e[f], y = t[f];
18496
+ var h = e[f], _ = t[f];
18497
18497
  if (n)
18498
- var x = s ? n(y, h, f, t, e, o) : n(h, y, f, e, t, o);
18498
+ var x = s ? n(_, h, f, t, e, o) : n(h, _, f, e, t, o);
18499
18499
  if (x !== void 0) {
18500
18500
  if (x)
18501
18501
  continue;
@@ -18510,7 +18510,7 @@ function equalArrays$2(e, t, r, n, a, o) {
18510
18510
  p = !1;
18511
18511
  break;
18512
18512
  }
18513
- } else if (!(h === y || a(h, y, r, n, o))) {
18513
+ } else if (!(h === _ || a(h, _, r, n, o))) {
18514
18514
  p = !1;
18515
18515
  break;
18516
18516
  }
@@ -18701,24 +18701,24 @@ function equalObjects$1(e, t, r, n, a, o) {
18701
18701
  var v = o.get(e), h = o.get(t);
18702
18702
  if (v && h)
18703
18703
  return v == t && h == e;
18704
- var y = !0;
18704
+ var _ = !0;
18705
18705
  o.set(e, t), o.set(t, e);
18706
18706
  for (var x = s; ++f < l; ) {
18707
18707
  p = u[f];
18708
18708
  var m = e[p], g = t[p];
18709
18709
  if (n)
18710
- var _ = s ? n(g, m, p, t, e, o) : n(m, g, p, e, t, o);
18711
- if (!(_ === void 0 ? m === g || a(m, g, r, n, o) : _)) {
18712
- y = !1;
18710
+ var y = s ? n(g, m, p, t, e, o) : n(m, g, p, e, t, o);
18711
+ if (!(y === void 0 ? m === g || a(m, g, r, n, o) : y)) {
18712
+ _ = !1;
18713
18713
  break;
18714
18714
  }
18715
18715
  x || (x = p == "constructor");
18716
18716
  }
18717
- if (y && !x) {
18717
+ if (_ && !x) {
18718
18718
  var b = e.constructor, C = t.constructor;
18719
- b != C && "constructor" in e && "constructor" in t && !(typeof b == "function" && b instanceof b && typeof C == "function" && C instanceof C) && (y = !1);
18719
+ b != C && "constructor" in e && "constructor" in t && !(typeof b == "function" && b instanceof b && typeof C == "function" && C instanceof C) && (_ = !1);
18720
18720
  }
18721
- return o.delete(e), o.delete(t), y;
18721
+ return o.delete(e), o.delete(t), _;
18722
18722
  }
18723
18723
  var _equalObjects = equalObjects$1, getNative$3 = _getNative, root$3 = _root, DataView$2 = getNative$3(root$3, "DataView"), _DataView = DataView$2, getNative$2 = _getNative, root$2 = _root, Promise$2 = getNative$2(root$2, "Promise"), _Promise = Promise$2, getNative$1 = _getNative, root$1 = _root, Set$2 = getNative$1(root$1, "Set"), _Set = Set$2, getNative = _getNative, root = _root, WeakMap$2 = getNative(root, "WeakMap"), _WeakMap = WeakMap$2, DataView$1 = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag = _baseGetTag, toSource = _toSource, mapTag = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]", dataViewTag = "[object DataView]", dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1), getTag$1 = baseGetTag;
18724
18724
  (DataView$1 && getTag$1(new DataView$1(new ArrayBuffer(1))) != dataViewTag || Map$1 && getTag$1(new Map$1()) != mapTag || Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag || Set$1 && getTag$1(new Set$1()) != setTag || WeakMap$1 && getTag$1(new WeakMap$1()) != weakMapTag) && (getTag$1 = function(e) {
@@ -18753,8 +18753,8 @@ function baseIsEqualDeep$1(e, t, r, n, a, o) {
18753
18753
  if (!(r & COMPARE_PARTIAL_FLAG)) {
18754
18754
  var v = d && hasOwnProperty.call(e, "__wrapped__"), h = f && hasOwnProperty.call(t, "__wrapped__");
18755
18755
  if (v || h) {
18756
- var y = v ? e.value() : e, x = h ? t.value() : t;
18757
- return o || (o = new Stack()), a(y, x, r, n, o);
18756
+ var _ = v ? e.value() : e, x = h ? t.value() : t;
18757
+ return o || (o = new Stack()), a(_, x, r, n, o);
18758
18758
  }
18759
18759
  }
18760
18760
  return p ? (o || (o = new Stack()), equalObjects(e, t, r, n, a, o)) : !1;
@@ -18823,7 +18823,7 @@ function getPoint(e) {
18823
18823
  var Align = function e(t, r) {
18824
18824
  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(), v = React__default.Children.only(n), h = React__default.useRef({});
18825
18825
  h.current.disabled = a, h.current.target = o, h.current.align = s, h.current.onAlign = u;
18826
- var y = useBuffer(function() {
18826
+ var _ = useBuffer(function() {
18827
18827
  var w = h.current, D = w.disabled, S = w.target, $ = w.align, O = w.onAlign;
18828
18828
  if (!D && S) {
18829
18829
  var A = p.current, M, P = getElement(S), N = getPoint(S);
@@ -18832,7 +18832,7 @@ var Align = function e(t, r) {
18832
18832
  return P && isVisible(P) ? M = alignElement(A, P, $) : N && (M = alignPoint(A, N, $)), restoreFocus(k, A), O && M && O(A, M), !0;
18833
18833
  }
18834
18834
  return !1;
18835
- }, d), x = _slicedToArray(y, 2), m = x[0], g = x[1], _ = React__default.useRef({
18835
+ }, d), x = _slicedToArray(_, 2), m = x[0], g = x[1], y = React__default.useRef({
18836
18836
  cancel: function() {
18837
18837
  }
18838
18838
  }), b = React__default.useRef({
@@ -18841,7 +18841,7 @@ var Align = function e(t, r) {
18841
18841
  });
18842
18842
  React__default.useEffect(function() {
18843
18843
  var w = getElement(o), D = getPoint(o);
18844
- p.current !== b.current.element && (b.current.cancel(), b.current.element = p.current, b.current.cancel = monitorResize(p.current, m)), (f.current.element !== w || !isSamePoint(f.current.point, D) || !isEqual_1(f.current.align, s)) && (m(), _.current.element !== w && (_.current.cancel(), _.current.element = w, _.current.cancel = monitorResize(w, m)));
18844
+ p.current !== b.current.element && (b.current.cancel(), b.current.element = p.current, b.current.cancel = monitorResize(p.current, m)), (f.current.element !== w || !isSamePoint(f.current.point, D) || !isEqual_1(f.current.align, s)) && (m(), y.current.element !== w && (y.current.cancel(), y.current.element = w, y.current.cancel = monitorResize(w, m)));
18845
18845
  }), React__default.useEffect(function() {
18846
18846
  a ? g() : m();
18847
18847
  }, [a]);
@@ -18850,7 +18850,7 @@ var Align = function e(t, r) {
18850
18850
  l ? C.current || (C.current = addEventListenerWrap(window, "resize", m)) : C.current && (C.current.remove(), C.current = null);
18851
18851
  }, [l]), React__default.useEffect(function() {
18852
18852
  return function() {
18853
- _.current.cancel(), b.current.cancel(), C.current && C.current.remove(), g();
18853
+ y.current.cancel(), b.current.cancel(), C.current && C.current.remove(), g();
18854
18854
  };
18855
18855
  }, []), React__default.useImperativeHandle(r, function() {
18856
18856
  return {
@@ -18934,7 +18934,7 @@ const useVisibleStatus = function(e, t) {
18934
18934
  return [s, o];
18935
18935
  };
18936
18936
  var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
18937
- 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.forceRender, f = e.align, p = e.point, v = e.getRootDomNode, h = e.getClassNameFromAlign, y = e.onAlign, x = e.onMouseEnter, m = e.onMouseLeave, g = e.onMouseDown, _ = e.onTouchStart, b = e.onClick, C = useRef(), w = useRef(), D = useState$1(), S = _slicedToArray(D, 2), $ = S[0], O = S[1], A = useStretchStyle(l), M = _slicedToArray(A, 2), P = M[0], N = M[1];
18937
+ 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.forceRender, f = e.align, p = e.point, v = e.getRootDomNode, h = e.getClassNameFromAlign, _ = e.onAlign, x = e.onMouseEnter, m = e.onMouseLeave, g = e.onMouseDown, y = e.onTouchStart, b = e.onClick, C = useRef(), w = useRef(), D = useState$1(), S = _slicedToArray(D, 2), $ = S[0], O = S[1], A = useStretchStyle(l), M = _slicedToArray(A, 2), P = M[0], N = M[1];
18938
18938
  function F() {
18939
18939
  l && N(v());
18940
18940
  }
@@ -18953,7 +18953,7 @@ var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
18953
18953
  var ee = h(J);
18954
18954
  $ !== ee && O(ee), H(function(Z) {
18955
18955
  return Z + 1;
18956
- }), q === "align" && (y == null || y(Y, J));
18956
+ }), q === "align" && (_ == null || _(Y, J));
18957
18957
  }
18958
18958
  useLayoutEffect$2(function() {
18959
18959
  q === "align" && (W < 3 ? I() : B(function() {
@@ -19017,7 +19017,7 @@ var PopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
19017
19017
  onMouseEnter: x,
19018
19018
  onMouseLeave: m,
19019
19019
  onMouseDownCapture: g,
19020
- onTouchStartCapture: _,
19020
+ onTouchStartCapture: y,
19021
19021
  onClick: b,
19022
19022
  style: _objectSpread2$g(_objectSpread2$g({}, Z), Q),
19023
19023
  children: T
@@ -19042,23 +19042,23 @@ var MobilePopupInner = /* @__PURE__ */ React$n.forwardRef(function(e, t) {
19042
19042
  });
19043
19043
  var h = _objectSpread2$g({
19044
19044
  zIndex: a
19045
- }, l), y = o;
19046
- return React$n.Children.count(o) > 1 && (y = /* @__PURE__ */ jsx("div", {
19045
+ }, l), _ = o;
19046
+ return React$n.Children.count(o) > 1 && (_ = /* @__PURE__ */ jsx("div", {
19047
19047
  className: "".concat(r, "-content"),
19048
19048
  children: o
19049
- })), f && (y = f(y)), /* @__PURE__ */ jsx(CSSMotion, {
19049
+ })), f && (_ = f(_)), /* @__PURE__ */ jsx(CSSMotion, {
19050
19050
  visible: n,
19051
19051
  ref: v,
19052
19052
  removeOnLeave: !0,
19053
19053
  ...d,
19054
19054
  children: function(x, m) {
19055
- var g = x.className, _ = x.style, b = classNames(r, u, g);
19055
+ var g = x.className, y = x.style, b = classNames(r, u, g);
19056
19056
  return /* @__PURE__ */ jsx("div", {
19057
19057
  ref: m,
19058
19058
  className: b,
19059
19059
  onClick: p,
19060
- style: _objectSpread2$g(_objectSpread2$g({}, _), h),
19061
- children: y
19060
+ style: _objectSpread2$g(_objectSpread2$g({}, y), h),
19061
+ children: _
19062
19062
  });
19063
19063
  }
19064
19064
  });
@@ -19160,10 +19160,10 @@ function generateTrigger(e) {
19160
19160
  }
19161
19161
  return ReactDOM__default.findDOMNode(_assertThisInitialized(s));
19162
19162
  }), _defineProperty$1(_assertThisInitialized(s), "getPopupClassNameFromAlign", function(l) {
19163
- var c = [], d = s.props, f = d.popupPlacement, p = d.builtinPlacements, v = d.prefixCls, h = d.alignPoint, y = d.getPopupClassNameFromAlign;
19164
- return f && p && c.push(getAlignPopupClassName(p, v, l, h)), y && c.push(y(l)), c.join(" ");
19163
+ var c = [], d = s.props, f = d.popupPlacement, p = d.builtinPlacements, v = d.prefixCls, h = d.alignPoint, _ = d.getPopupClassNameFromAlign;
19164
+ return f && p && c.push(getAlignPopupClassName(p, v, l, h)), _ && c.push(_(l)), c.join(" ");
19165
19165
  }), _defineProperty$1(_assertThisInitialized(s), "getComponent", function() {
19166
- var l = s.props, c = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, p = l.onPopupAlign, v = l.popupMotion, h = l.popupAnimation, y = l.popupTransitionName, x = l.popupStyle, m = l.mask, g = l.maskAnimation, _ = l.maskTransitionName, b = l.maskMotion, C = l.zIndex, w = l.popup, D = l.stretch, S = l.alignPoint, $ = l.mobile, O = l.forceRender, A = l.onPopupClick, M = s.state, P = M.popupVisible, N = M.point, F = s.getPopupAlign(), k = {};
19166
+ var l = s.props, c = l.prefixCls, d = l.destroyPopupOnHide, f = l.popupClassName, p = l.onPopupAlign, v = l.popupMotion, h = l.popupAnimation, _ = l.popupTransitionName, x = l.popupStyle, m = l.mask, g = l.maskAnimation, y = l.maskTransitionName, b = l.maskMotion, C = l.zIndex, w = l.popup, D = l.stretch, S = l.alignPoint, $ = l.mobile, O = l.forceRender, A = l.onPopupClick, M = s.state, P = M.popupVisible, N = M.point, F = s.getPopupAlign(), k = {};
19167
19167
  return s.isMouseEnterToShow() && (k.onMouseEnter = s.onPopupMouseEnter), s.isMouseLeaveToHide() && (k.onMouseLeave = s.onPopupMouseLeave), k.onMouseDown = s.onPopupMouseDown, k.onTouchStart = s.onPopupMouseDown, /* @__PURE__ */ jsx(Popup$1, {
19168
19168
  prefixCls: c,
19169
19169
  destroyPopupOnHide: d,
@@ -19180,9 +19180,9 @@ function generateTrigger(e) {
19180
19180
  style: x,
19181
19181
  mask: m,
19182
19182
  zIndex: C,
19183
- transitionName: y,
19183
+ transitionName: _,
19184
19184
  maskAnimation: g,
19185
- maskTransitionName: _,
19185
+ maskTransitionName: y,
19186
19186
  maskMotion: b,
19187
19187
  ref: s.popupRef,
19188
19188
  motion: v,
@@ -19375,8 +19375,8 @@ function generateTrigger(e) {
19375
19375
  key: "trigger"
19376
19376
  };
19377
19377
  this.isContextMenuToShow() ? h.onContextMenu = this.onContextMenu : h.onContextMenu = this.createTwoChains("onContextMenu"), this.isClickToHide() || this.isClickToShow() ? (h.onClick = this.onClick, h.onMouseDown = this.onMouseDown, h.onTouchStart = this.onTouchStart) : (h.onClick = this.createTwoChains("onClick"), h.onMouseDown = this.createTwoChains("onMouseDown"), h.onTouchStart = this.createTwoChains("onTouchStart")), this.isMouseEnterToShow() ? (h.onMouseEnter = this.onMouseEnter, d && (h.onMouseMove = this.onMouseMove)) : h.onMouseEnter = this.createTwoChains("onMouseEnter"), this.isMouseLeaveToHide() ? h.onMouseLeave = this.onMouseLeave : h.onMouseLeave = this.createTwoChains("onMouseLeave"), this.isFocusToShow() || this.isBlurToHide() ? (h.onFocus = this.onFocus, h.onBlur = this.onBlur) : (h.onFocus = this.createTwoChains("onFocus"), h.onBlur = this.createTwoChains("onBlur"));
19378
- var y = classNames(v && v.props && v.props.className, f);
19379
- y && (h.className = y);
19378
+ var _ = classNames(v && v.props && v.props.className, f);
19379
+ _ && (h.className = _);
19380
19380
  var x = _objectSpread2$g({}, h);
19381
19381
  supportRef$1(v) && (x.ref = composeRef$1(this.triggerRef, v.ref));
19382
19382
  var m = /* @__PURE__ */ React$n.cloneElement(v, x), g;
@@ -19517,7 +19517,7 @@ function Popup(e) {
19517
19517
  });
19518
19518
  }
19519
19519
  var Tooltip = function e(t, r) {
19520
- 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, v = t.children, h = t.onVisibleChange, y = t.afterVisibleChange, x = t.transitionName, m = t.animation, g = t.motion, _ = t.placement, b = _ === void 0 ? "right" : _, C = t.align, w = C === void 0 ? {} : C, D = t.destroyTooltipOnHide, S = D === void 0 ? !1 : D, $ = t.defaultVisible, O = t.getTooltipContainer, A = t.overlayInnerStyle, M = t.arrowContent, P = t.overlay, N = t.id, F = t.showArrow, k = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"]), j = useRef(null);
19520
+ 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, v = t.children, h = t.onVisibleChange, _ = t.afterVisibleChange, x = t.transitionName, m = t.animation, g = t.motion, y = t.placement, b = y === void 0 ? "right" : y, C = t.align, w = C === void 0 ? {} : C, D = t.destroyTooltipOnHide, S = D === void 0 ? !1 : D, $ = t.defaultVisible, O = t.getTooltipContainer, A = t.overlayInnerStyle, M = t.arrowContent, P = t.overlay, N = t.id, F = t.showArrow, k = _objectWithoutProperties(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"]), j = useRef(null);
19521
19521
  useImperativeHandle(r, function() {
19522
19522
  return j.current;
19523
19523
  });
@@ -19550,7 +19550,7 @@ var Tooltip = function e(t, r) {
19550
19550
  popupAlign: w,
19551
19551
  getPopupContainer: O,
19552
19552
  onPopupVisibleChange: h,
19553
- afterPopupVisibleChange: y,
19553
+ afterPopupVisibleChange: _,
19554
19554
  popupTransitionName: x,
19555
19555
  popupAnimation: m,
19556
19556
  popupMotion: g,
@@ -19726,7 +19726,7 @@ placements$1.default = _default$1;
19726
19726
  return typeof c == "boolean" ? c ? a : o : (0, r.default)((0, r.default)({}, o), c);
19727
19727
  }
19728
19728
  function l(c) {
19729
- var d = c.arrowWidth, f = d === void 0 ? 4 : d, p = c.horizontalArrowShift, v = p === void 0 ? 16 : p, h = c.verticalArrowShift, y = h === void 0 ? 8 : h, x = c.autoAdjustOverflow, m = c.arrowPointAtCenter, g = {
19729
+ var d = c.arrowWidth, f = d === void 0 ? 4 : d, p = c.horizontalArrowShift, v = p === void 0 ? 16 : p, h = c.verticalArrowShift, _ = h === void 0 ? 8 : h, x = c.autoAdjustOverflow, m = c.arrowPointAtCenter, g = {
19730
19730
  left: {
19731
19731
  points: ["cr", "cl"],
19732
19732
  offset: [-4, 0]
@@ -19749,7 +19749,7 @@ placements$1.default = _default$1;
19749
19749
  },
19750
19750
  leftTop: {
19751
19751
  points: ["tr", "cl"],
19752
- offset: [-4, -(y + f)]
19752
+ offset: [-4, -(_ + f)]
19753
19753
  },
19754
19754
  topRight: {
19755
19755
  points: ["br", "tc"],
@@ -19757,7 +19757,7 @@ placements$1.default = _default$1;
19757
19757
  },
19758
19758
  rightTop: {
19759
19759
  points: ["tl", "cr"],
19760
- offset: [4, -(y + f)]
19760
+ offset: [4, -(_ + f)]
19761
19761
  },
19762
19762
  bottomRight: {
19763
19763
  points: ["tr", "bc"],
@@ -19765,7 +19765,7 @@ placements$1.default = _default$1;
19765
19765
  },
19766
19766
  rightBottom: {
19767
19767
  points: ["bl", "cr"],
19768
- offset: [4, y + f]
19768
+ offset: [4, _ + f]
19769
19769
  },
19770
19770
  bottomLeft: {
19771
19771
  points: ["tl", "bc"],
@@ -19773,16 +19773,16 @@ placements$1.default = _default$1;
19773
19773
  },
19774
19774
  leftBottom: {
19775
19775
  points: ["br", "cl"],
19776
- offset: [-4, y + f]
19776
+ offset: [-4, _ + f]
19777
19777
  }
19778
19778
  };
19779
- return Object.keys(g).forEach(function(_) {
19780
- g[_] = m ? (0, r.default)((0, r.default)({}, g[_]), {
19779
+ return Object.keys(g).forEach(function(y) {
19780
+ g[y] = m ? (0, r.default)((0, r.default)({}, g[y]), {
19781
19781
  overflow: u(x),
19782
19782
  targetOffset: s
19783
- }) : (0, r.default)((0, r.default)({}, n.placements[_]), {
19783
+ }) : (0, r.default)((0, r.default)({}, n.placements[y]), {
19784
19784
  overflow: u(x)
19785
- }), g[_].ignoreShake = !0;
19785
+ }), g[y].ignoreShake = !0;
19786
19786
  }), g;
19787
19787
  }
19788
19788
  })(placements$2);
@@ -19791,7 +19791,7 @@ placements$1.default = _default$1;
19791
19791
  Object.defineProperty(e, "__esModule", {
19792
19792
  value: !0
19793
19793
  }), e.default = void 0;
19794
- var n = r(defineProperty.exports), a = r(slicedToArray.exports), o = r(_extends$1.exports), s = r(classnames.exports), u = r(require$$6), l = r(useMergedState$1), c = t(React__default), d = requireConfigProvider(), f = colors, p = motion, v = r(placements$2), h = reactNode, y = r(warning$4), x = function(w, D) {
19794
+ var n = r(defineProperty.exports), a = r(slicedToArray.exports), o = r(_extends$1.exports), s = r(classnames.exports), u = r(require$$6), l = r(useMergedState$1), c = t(React__default), d = requireConfigProvider(), f = colors, p = motion, v = r(placements$2), h = reactNode, _ = r(warning$4), x = function(w, D) {
19795
19795
  var S = {};
19796
19796
  for (var $ in w)
19797
19797
  Object.prototype.hasOwnProperty.call(w, $) && D.indexOf($) < 0 && (S[$] = w[$]);
@@ -19808,7 +19808,7 @@ placements$1.default = _default$1;
19808
19808
  omitted: O
19809
19809
  };
19810
19810
  }, g = new RegExp("^(".concat(f.PresetColorTypes.join("|"), ")(-inverse)?$"));
19811
- function _(w, D) {
19811
+ function y(w, D) {
19812
19812
  var S = w.type;
19813
19813
  if ((S.__ANT_BUTTON === !0 || w.type === "button") && w.props.disabled || S.__ANT_SWITCH === !0 && (w.props.disabled || w.props.loading) || S.__ANT_RADIO === !0 && w.props.disabled) {
19814
19814
  var $ = m(w.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), O = $.picked, A = $.omitted, M = (0, o.default)((0, o.default)({
@@ -19833,7 +19833,7 @@ placements$1.default = _default$1;
19833
19833
  var S, $ = c.useContext(d.ConfigContext), O = $.getPopupContainer, A = $.getPrefixCls, M = $.direction;
19834
19834
  process.env.NODE_ENV !== "production" && [["visible", "open"], ["defaultVisible", "defaultOpen"], ["onVisibleChange", "onOpenChange"], ["afterVisibleChange", "afterOpenChange"]].forEach(function(me) {
19835
19835
  var pe = (0, a.default)(me, 2), oe = pe[0], ge = pe[1];
19836
- process.env.NODE_ENV !== "production" && (0, y.default)(!(oe in w), "Tooltip", "`".concat(oe, "` is deprecated which will be removed in next major version, please use `").concat(ge, "` instead."));
19836
+ process.env.NODE_ENV !== "production" && (0, _.default)(!(oe in w), "Tooltip", "`".concat(oe, "` is deprecated which will be removed in next major version, please use `").concat(ge, "` instead."));
19837
19837
  });
19838
19838
  var P = (0, l.default)(!1, {
19839
19839
  value: w.open !== void 0 ? w.open : w.visible,
@@ -19867,7 +19867,7 @@ placements$1.default = _default$1;
19867
19867
  return pe === 0 ? pe : oe || pe || "";
19868
19868
  }, W = w.getPopupContainer, H = w.placement, z = H === void 0 ? "top" : H, K = w.mouseEnterDelay, I = K === void 0 ? 0.1 : K, V = w.mouseLeaveDelay, G = V === void 0 ? 0.1 : V, X = x(w, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay"]), Q = w.prefixCls, E = w.openClassName, T = w.getTooltipContainer, Y = w.overlayClassName, J = w.color, ee = w.overlayInnerStyle, Z = w.children, te = A("tooltip", Q), re = A(), se = F;
19869
19869
  !("open" in w) && !("visible" in w) && j() && (se = !1);
19870
- var ye = _((0, h.isValidElement)(Z) && !(0, h.isFragment)(Z) ? Z : /* @__PURE__ */ c.createElement("span", null, Z), te), _e = ye.props, Ce = !_e.className || typeof _e.className == "string" ? (0, s.default)(_e.className, (0, n.default)({}, E || "".concat(te, "-open"), !0)) : _e.className, ie = (0, s.default)(Y, (S = {}, (0, n.default)(S, "".concat(te, "-rtl"), M === "rtl"), (0, n.default)(S, "".concat(te, "-").concat(J), J && g.test(J)), S)), ve = ee, ce = {};
19870
+ var ye = y((0, h.isValidElement)(Z) && !(0, h.isFragment)(Z) ? Z : /* @__PURE__ */ c.createElement("span", null, Z), te), _e = ye.props, Ce = !_e.className || typeof _e.className == "string" ? (0, s.default)(_e.className, (0, n.default)({}, E || "".concat(te, "-open"), !0)) : _e.className, ie = (0, s.default)(Y, (S = {}, (0, n.default)(S, "".concat(te, "-rtl"), M === "rtl"), (0, n.default)(S, "".concat(te, "-").concat(J), J && g.test(J)), S)), ve = ee, ce = {};
19871
19871
  return J && !g.test(J) && (ve = (0, o.default)((0, o.default)({}, ee), {
19872
19872
  background: J
19873
19873
  }), ce = {
@@ -19941,7 +19941,7 @@ EnterOutlined$2.default = _default;
19941
19941
  value: !0
19942
19942
  }), e.default = void 0;
19943
19943
  var n = r(defineProperty.exports), a = r(slicedToArray.exports), o = r(EnterOutlined$3.exports), s = r(classnames.exports), u = r(KeyCode$1), l = t(React__default), c = r(TextArea$3), d = reactNode, f = function(h) {
19944
- var y = h.prefixCls, x = h["aria-label"], m = h.className, g = h.style, _ = h.direction, b = h.maxLength, C = h.autoSize, w = C === void 0 ? !0 : C, D = h.value, S = h.onSave, $ = h.onCancel, O = h.onEnd, A = h.component, M = h.enterIcon, P = M === void 0 ? /* @__PURE__ */ l.createElement(o.default, null) : M, N = l.useRef(null), F = l.useRef(!1), k = l.useRef(), j = l.useState(D), q = (0, a.default)(j, 2), B = q[0], U = q[1];
19944
+ var _ = h.prefixCls, x = h["aria-label"], m = h.className, g = h.style, y = h.direction, b = h.maxLength, C = h.autoSize, w = C === void 0 ? !0 : C, D = h.value, S = h.onSave, $ = h.onCancel, O = h.onEnd, A = h.component, M = h.enterIcon, P = M === void 0 ? /* @__PURE__ */ l.createElement(o.default, null) : M, N = l.useRef(null), F = l.useRef(!1), k = l.useRef(), j = l.useState(D), q = (0, a.default)(j, 2), B = q[0], U = q[1];
19945
19945
  l.useEffect(function() {
19946
19946
  U(D);
19947
19947
  }, [D]), l.useEffect(function() {
@@ -19969,7 +19969,7 @@ EnterOutlined$2.default = _default;
19969
19969
  k.current === T && !F.current && !Y && !J && !ee && !Z && (T === u.default.ENTER ? (K(), O == null || O()) : T === u.default.ESC && $());
19970
19970
  }, V = function() {
19971
19971
  K();
19972
- }, G = A ? "".concat(y, "-").concat(A) : "", X = (0, s.default)(y, "".concat(y, "-edit-content"), (0, n.default)({}, "".concat(y, "-rtl"), _ === "rtl"), m, G);
19972
+ }, G = A ? "".concat(_, "-").concat(A) : "", X = (0, s.default)(_, "".concat(_, "-edit-content"), (0, n.default)({}, "".concat(_, "-rtl"), y === "rtl"), m, G);
19973
19973
  return /* @__PURE__ */ l.createElement("div", {
19974
19974
  className: X,
19975
19975
  style: g
@@ -19987,7 +19987,7 @@ EnterOutlined$2.default = _default;
19987
19987
  rows: 1,
19988
19988
  autoSize: w
19989
19989
  }), P !== null ? (0, d.cloneElement)(P, {
19990
- className: "".concat(y, "-edit-content-confirm")
19990
+ className: "".concat(_, "-edit-content-confirm")
19991
19991
  }) : null);
19992
19992
  }, p = f;
19993
19993
  e.default = p;
@@ -20027,17 +20027,17 @@ var Typography = {};
20027
20027
  value: !0
20028
20028
  }), e.default = void 0;
20029
20029
  var n = r(_extends$1.exports), a = r(defineProperty.exports), o = r(classnames.exports), s = ref, u = t(React__default), l = requireConfigProvider(), c = r(warning$4), d = function(v, h) {
20030
- var y = {};
20030
+ var _ = {};
20031
20031
  for (var x in v)
20032
- Object.prototype.hasOwnProperty.call(v, x) && h.indexOf(x) < 0 && (y[x] = v[x]);
20032
+ Object.prototype.hasOwnProperty.call(v, x) && h.indexOf(x) < 0 && (_[x] = v[x]);
20033
20033
  if (v != null && typeof Object.getOwnPropertySymbols == "function")
20034
20034
  for (var m = 0, x = Object.getOwnPropertySymbols(v); m < x.length; m++)
20035
- h.indexOf(x[m]) < 0 && Object.prototype.propertyIsEnumerable.call(v, x[m]) && (y[x[m]] = v[x[m]]);
20036
- return y;
20035
+ h.indexOf(x[m]) < 0 && Object.prototype.propertyIsEnumerable.call(v, x[m]) && (_[x[m]] = v[x[m]]);
20036
+ return _;
20037
20037
  }, f = /* @__PURE__ */ u.forwardRef(function(v, h) {
20038
- var y = v.prefixCls, x = v.component, m = x === void 0 ? "article" : x, g = v.className, _ = v.setContentRef, b = v.children, C = v.direction, w = d(v, ["prefixCls", "component", "className", "setContentRef", "children", "direction"]), D = u.useContext(l.ConfigContext), S = D.getPrefixCls, $ = D.direction, O = C != null ? C : $, A = h;
20039
- _ && (process.env.NODE_ENV !== "production" && (0, c.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), A = (0, s.composeRef)(h, _));
20040
- var M = S("typography", y), P = (0, o.default)(M, (0, a.default)({}, "".concat(M, "-rtl"), O === "rtl"), g);
20038
+ var _ = v.prefixCls, x = v.component, m = x === void 0 ? "article" : x, g = v.className, y = v.setContentRef, b = v.children, C = v.direction, w = d(v, ["prefixCls", "component", "className", "setContentRef", "children", "direction"]), D = u.useContext(l.ConfigContext), S = D.getPrefixCls, $ = D.direction, O = C != null ? C : $, A = h;
20039
+ y && (process.env.NODE_ENV !== "production" && (0, c.default)(!1, "Typography", "`setContentRef` is deprecated. Please use `ref` instead."), A = (0, s.composeRef)(h, y));
20040
+ var M = S("typography", _), P = (0, o.default)(M, (0, a.default)({}, "".concat(M, "-rtl"), O === "rtl"), g);
20041
20041
  return /* @__PURE__ */ u.createElement(m, (0, n.default)({
20042
20042
  className: P,
20043
20043
  ref: A
@@ -20054,36 +20054,36 @@ var Ellipsis = {};
20054
20054
  value: !0
20055
20055
  }), e.default = void 0;
20056
20056
  var n = r(_extends$1.exports), a = r(slicedToArray.exports), o = r(_typeof$3.exports), s = r(toArray$2), u = r(useLayoutEffect$1), l = t(React__default);
20057
- function c(_) {
20058
- var b = (0, o.default)(_);
20057
+ function c(y) {
20058
+ var b = (0, o.default)(y);
20059
20059
  return b === "string" || b === "number";
20060
20060
  }
20061
- function d(_) {
20061
+ function d(y) {
20062
20062
  var b = 0;
20063
- return _.forEach(function(C) {
20063
+ return y.forEach(function(C) {
20064
20064
  c(C) ? b += String(C).length : b += 1;
20065
20065
  }), b;
20066
20066
  }
20067
- function f(_, b) {
20068
- for (var C = 0, w = [], D = 0; D < _.length; D += 1) {
20067
+ function f(y, b) {
20068
+ for (var C = 0, w = [], D = 0; D < y.length; D += 1) {
20069
20069
  if (C === b)
20070
20070
  return w;
20071
- var S = _[D], $ = c(S), O = $ ? String(S).length : 1, A = C + O;
20071
+ var S = y[D], $ = c(S), O = $ ? String(S).length : 1, A = C + O;
20072
20072
  if (A > b) {
20073
20073
  var M = b - C;
20074
20074
  return w.push(String(S).slice(0, M)), w;
20075
20075
  }
20076
20076
  w.push(S), C = A;
20077
20077
  }
20078
- return _;
20078
+ return y;
20079
20079
  }
20080
- var p = 0, v = 1, h = 2, y = 3, x = 4, m = function(b) {
20080
+ var p = 0, v = 1, h = 2, _ = 3, x = 4, m = function(b) {
20081
20081
  var C = b.enabledMeasure, w = b.children, D = b.text, S = b.width, $ = b.fontSize, O = b.rows, A = b.onEllipsis, M = l.useState([0, 0, 0]), P = (0, a.default)(M, 2), N = (0, a.default)(P[0], 3), F = N[0], k = N[1], j = N[2], q = P[1], B = l.useState(p), U = (0, a.default)(B, 2), L = U[0], W = U[1], H = l.useState(0), z = (0, a.default)(H, 2), K = z[0], I = z[1], V = l.useRef(null), G = l.useRef(null), X = l.useMemo(function() {
20082
20082
  return (0, s.default)(D);
20083
20083
  }, [D]), Q = l.useMemo(function() {
20084
20084
  return d(X);
20085
20085
  }, [X]), E = l.useMemo(function() {
20086
- return !C || L !== y ? w(X, !1) : w(f(X, k), k < Q);
20086
+ return !C || L !== _ ? w(X, !1) : w(f(X, k), k < Q);
20087
20087
  }, [C, L, w, X, k, Q]);
20088
20088
  (0, u.default)(function() {
20089
20089
  C && S && $ && Q && (W(v), q([0, Math.ceil(Q / 2), Q]));
@@ -20103,7 +20103,7 @@ var Ellipsis = {};
20103
20103
  var ie = Math.ceil((_e + Ce) / 2);
20104
20104
  q([_e, ie, Ce]);
20105
20105
  } else
20106
- W(y), A(!0);
20106
+ W(_), A(!0);
20107
20107
  }
20108
20108
  }, [L, F, j, O, K]);
20109
20109
  var T = {
@@ -20130,7 +20130,7 @@ var Ellipsis = {};
20130
20130
  var re = f(X, Z);
20131
20131
  return Y(w(re, !0), te, T);
20132
20132
  };
20133
- return /* @__PURE__ */ l.createElement(l.Fragment, null, E, C && L !== y && L !== x && /* @__PURE__ */ l.createElement(l.Fragment, null, Y("lg", V, {
20133
+ return /* @__PURE__ */ l.createElement(l.Fragment, null, E, C && L !== _ && L !== x && /* @__PURE__ */ l.createElement(l.Fragment, null, Y("lg", V, {
20134
20134
  wordBreak: "keep-all",
20135
20135
  whiteSpace: "nowrap"
20136
20136
  }), L === v ? Y(w(X, !1), G, T) : J(k, G)));
@@ -20160,7 +20160,7 @@ var EllipsisTooltip = {};
20160
20160
  Object.defineProperty(e, "__esModule", {
20161
20161
  value: !0
20162
20162
  }), e.default = void 0;
20163
- var n = r(defineProperty.exports), a = r(_extends$1.exports), o = r(_typeof$3.exports), s = r(slicedToArray.exports), u = r(CheckOutlined$3.exports), l = r(CopyOutlined$3.exports), c = r(EditOutlined$3.exports), d = r(classnames.exports), f = r(copyToClipboard), p = r(require$$11), v = r(toArray$2), h = r(useLayoutEffect$1), y = r(useMergedState$1), x = r(omit$2), m = ref, g = t(React__default), _ = requireConfigProvider(), b = LocaleReceiver, C = r(transButton), w = styleChecker$1, D = r(tooltip), S = r(Editable), $ = r(useMergedConfig), O = r(useUpdatedEffect), A = r(Typography), M = r(Ellipsis), P = r(EllipsisTooltip), N = function(L, W) {
20163
+ var n = r(defineProperty.exports), a = r(_extends$1.exports), o = r(_typeof$3.exports), s = r(slicedToArray.exports), u = r(CheckOutlined$3.exports), l = r(CopyOutlined$3.exports), c = r(EditOutlined$3.exports), d = r(classnames.exports), f = r(copyToClipboard), p = r(require$$11), v = r(toArray$2), h = r(useLayoutEffect$1), _ = r(useMergedState$1), x = r(omit$2), m = ref, g = t(React__default), y = requireConfigProvider(), b = LocaleReceiver, C = r(transButton), w = styleChecker$1, D = r(tooltip), S = r(Editable), $ = r(useMergedConfig), O = r(useUpdatedEffect), A = r(Typography), M = r(Ellipsis), P = r(EllipsisTooltip), N = function(L, W) {
20164
20164
  var H = {};
20165
20165
  for (var z in L)
20166
20166
  Object.prototype.hasOwnProperty.call(L, z) && W.indexOf(z) < 0 && (H[z] = L[z]);
@@ -20183,7 +20183,7 @@ var EllipsisTooltip = {};
20183
20183
  return L === !1 ? [!1, !1] : Array.isArray(L) ? L : [L];
20184
20184
  }
20185
20185
  var q = "...", B = /* @__PURE__ */ g.forwardRef(function(L, W) {
20186
- var H, z, K, I = L.prefixCls, V = L.className, G = L.style, X = L.type, Q = L.disabled, E = L.children, T = L.ellipsis, Y = L.editable, J = L.copyable, ee = L.component, Z = L.title, te = N(L, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), re = g.useContext(_.ConfigContext), se = re.getPrefixCls, ye = re.direction, _e = (0, b.useLocaleReceiver)("Text")[0], Ce = g.useRef(null), ie = g.useRef(null), ve = se("typography", I), ce = (0, x.default)(te, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), me = (0, $.default)(Y), pe = (0, s.default)(me, 2), oe = pe[0], ge = pe[1], we = (0, y.default)(!1, {
20186
+ var H, z, K, I = L.prefixCls, V = L.className, G = L.style, X = L.type, Q = L.disabled, E = L.children, T = L.ellipsis, Y = L.editable, J = L.copyable, ee = L.component, Z = L.title, te = N(L, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), re = g.useContext(y.ConfigContext), se = re.getPrefixCls, ye = re.direction, _e = (0, b.useLocaleReceiver)("Text")[0], Ce = g.useRef(null), ie = g.useRef(null), ve = se("typography", I), ce = (0, x.default)(te, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), me = (0, $.default)(Y), pe = (0, s.default)(me, 2), oe = pe[0], ge = pe[1], we = (0, _.default)(!1, {
20187
20187
  value: ge.editing
20188
20188
  }), le = (0, s.default)(we, 2), ue = le[0], be = le[1], xe = ge.triggerType, Se = xe === void 0 ? ["icon"] : xe, Te = function(he) {
20189
20189
  var Re;
@@ -20385,15 +20385,15 @@ var EllipsisTooltip = {};
20385
20385
  }), e.default = void 0;
20386
20386
  var n = r(_extends$1.exports), a = t(React__default), o = type, s = r(warning$4), u = r(Base), l = function(p, v) {
20387
20387
  var h = {};
20388
- for (var y in p)
20389
- Object.prototype.hasOwnProperty.call(p, y) && v.indexOf(y) < 0 && (h[y] = p[y]);
20388
+ for (var _ in p)
20389
+ Object.prototype.hasOwnProperty.call(p, _) && v.indexOf(_) < 0 && (h[_] = p[_]);
20390
20390
  if (p != null && typeof Object.getOwnPropertySymbols == "function")
20391
- for (var x = 0, y = Object.getOwnPropertySymbols(p); x < y.length; x++)
20392
- v.indexOf(y[x]) < 0 && Object.prototype.propertyIsEnumerable.call(p, y[x]) && (h[y[x]] = p[y[x]]);
20391
+ for (var x = 0, _ = Object.getOwnPropertySymbols(p); x < _.length; x++)
20392
+ v.indexOf(_[x]) < 0 && Object.prototype.propertyIsEnumerable.call(p, _[x]) && (h[_[x]] = p[_[x]]);
20393
20393
  return h;
20394
20394
  }, c = (0, o.tupleNum)(1, 2, 3, 4, 5), d = /* @__PURE__ */ a.forwardRef(function(p, v) {
20395
- var h = p.level, y = h === void 0 ? 1 : h, x = l(p, ["level"]), m;
20396
- return c.includes(y) ? m = "h".concat(y) : (process.env.NODE_ENV !== "production" && (0, s.default)(!1, "Typography.Title", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."), m = "h1"), /* @__PURE__ */ a.createElement(u.default, (0, n.default)({
20395
+ var h = p.level, _ = h === void 0 ? 1 : h, x = l(p, ["level"]), m;
20396
+ return c.includes(_) ? m = "h".concat(_) : (process.env.NODE_ENV !== "production" && (0, s.default)(!1, "Typography.Title", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."), m = "h1"), /* @__PURE__ */ a.createElement(u.default, (0, n.default)({
20397
20397
  ref: v
20398
20398
  }, x, {
20399
20399
  component: m
@@ -20416,7 +20416,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
20416
20416
  field: c,
20417
20417
  operator: d,
20418
20418
  manualIds: f
20419
- } = e, [p, v] = useState$1(!1), [h, y] = useState$1(), [x, m] = useState$1(), [g, _] = useState$1(), [b, C] = useState$1(0), [w, D] = useState$1(0), [S, $] = useState$1(), [O, A] = useState$1(), [M, P] = useState$1();
20419
+ } = e, [p, v] = useState$1(!1), [h, _] = useState$1(), [x, m] = useState$1(), [g, y] = useState$1(), [b, C] = useState$1(0), [w, D] = useState$1(0), [S, $] = useState$1(), [O, A] = useState$1(), [M, P] = useState$1();
20420
20420
  useEffect(() => {
20421
20421
  k();
20422
20422
  }, [t, a]);
@@ -20483,7 +20483,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
20483
20483
  domain: r,
20484
20484
  isTotal: !1
20485
20485
  });
20486
- if (y(B), o) {
20486
+ if (_(B), o) {
20487
20487
  const U = await ConnectionProvider.getHandler().evalDomain({
20488
20488
  domain: o,
20489
20489
  values: {},
@@ -20492,7 +20492,7 @@ const Title$2 = /* @__PURE__ */ getDefaultExportFromCjs(Title$3), {
20492
20492
  j = await N({
20493
20493
  domain: U,
20494
20494
  isTotal: !0
20495
- }), _(j);
20495
+ }), y(j);
20496
20496
  }
20497
20497
  if (j ? (q = Math.round(B / j * 100 * 100) / 100, m(q)) : m(0), a) {
20498
20498
  const U = await ConnectionProvider.getHandler().parseCondition({
@@ -20639,7 +20639,7 @@ function PercentageIndicator({
20639
20639
  })}%`;
20640
20640
  let h = getTextWidth(v, `bold ${Math.floor(d * 1.03)}px sans-serif`);
20641
20641
  u && (h = h * 1.5);
20642
- const y = u && iconMapper(u);
20642
+ const _ = u && iconMapper(u);
20643
20643
  return (h >= r * 0.85 || d * 2 < c) && (d = r * 0.85 / h * d), /* @__PURE__ */ jsx("div", {
20644
20644
  ref: e,
20645
20645
  style: {
@@ -20654,8 +20654,8 @@ function PercentageIndicator({
20654
20654
  },
20655
20655
  children: /* @__PURE__ */ jsxs(Row, {
20656
20656
  align: "middle",
20657
- children: [y && /* @__PURE__ */ jsx(Col, {
20658
- children: /* @__PURE__ */ jsx(y, {
20657
+ children: [_ && /* @__PURE__ */ jsx(Col, {
20658
+ children: /* @__PURE__ */ jsx(_, {
20659
20659
  style: {
20660
20660
  fontSize: d * 1,
20661
20661
  color: s,
@@ -20669,7 +20669,7 @@ function PercentageIndicator({
20669
20669
  margin: 0,
20670
20670
  color: s
20671
20671
  },
20672
- children: y ? ` ${n}%` : `${n}%`
20672
+ children: _ ? ` ${n}%` : `${n}%`
20673
20673
  }), /* @__PURE__ */ jsx(Title$2, {
20674
20674
  style: {
20675
20675
  fontSize: d * 0.4,
@@ -20778,13 +20778,13 @@ const formatter = (e) => (t) => {
20778
20778
  limit: o,
20779
20779
  uninformedString: s,
20780
20780
  manualIds: u
20781
- } = e, [l, c] = useState$1(!1), [d, f] = useState$1(), [p, v] = useState$1(), [h, y] = useState$1(), [x, m] = useState$1("line");
20781
+ } = e, [l, c] = useState$1(!1), [d, f] = useState$1(), [p, v] = useState$1(), [h, _] = useState$1(), [x, m] = useState$1("line");
20782
20782
  return useDeepCompareEffect(() => {
20783
20783
  (async () => {
20784
20784
  c(!0), f(void 0);
20785
20785
  const g = parseGraph(a);
20786
20786
  m(g.type || "line");
20787
- const _ = getFieldsToRetrieve({
20787
+ const y = getFieldsToRetrieve({
20788
20788
  ooui: g
20789
20789
  });
20790
20790
  let b, C;
@@ -20798,7 +20798,7 @@ const formatter = (e) => (t) => {
20798
20798
  context: n,
20799
20799
  limit: o,
20800
20800
  order: g.timerange ? g.x.name : null,
20801
- fields: _,
20801
+ fields: y,
20802
20802
  manualIds: u
20803
20803
  }));
20804
20804
  } catch (w) {
@@ -20810,7 +20810,7 @@ const formatter = (e) => (t) => {
20810
20810
  f("No values or fields returned"), c(!1);
20811
20811
  return;
20812
20812
  }
20813
- y(b);
20813
+ _(b);
20814
20814
  const w = processGraphData({
20815
20815
  ooui: g,
20816
20816
  values: b,
@@ -20929,7 +20929,7 @@ const types = {
20929
20929
  const {
20930
20930
  data: v,
20931
20931
  isGroup: h,
20932
- isStack: y
20932
+ isStack: _
20933
20933
  } = d, x = types[f];
20934
20934
  return x ? /* @__PURE__ */ jsxs("div", {
20935
20935
  style: {
@@ -20947,7 +20947,7 @@ const types = {
20947
20947
  type: f,
20948
20948
  data: v,
20949
20949
  isGroup: h,
20950
- isStack: y
20950
+ isStack: _
20951
20951
  })
20952
20952
  })]
20953
20953
  }) : /* @__PURE__ */ jsx(Fragment, {
@@ -20973,7 +20973,7 @@ const GraphComp = (e, t) => {
20973
20973
  limit: s,
20974
20974
  manualIds: u
20975
20975
  } = e, [l, c] = useState$1(!1), [d, f] = useState$1(), [p, v] = useState$1(), h = useContext(ActionViewContext), {
20976
- setGraphIsLoading: y = void 0
20976
+ setGraphIsLoading: _ = void 0
20977
20977
  } = h || {};
20978
20978
  useImperativeHandle(t, () => ({
20979
20979
  refresh: () => {
@@ -20983,7 +20983,7 @@ const GraphComp = (e, t) => {
20983
20983
  x();
20984
20984
  }, [r]);
20985
20985
  async function x() {
20986
- c(!0), y == null || y(!0);
20986
+ c(!0), _ == null || _(!0);
20987
20987
  try {
20988
20988
  const m = await ConnectionProvider.getHandler().getView({
20989
20989
  model: n,
@@ -20999,7 +20999,7 @@ const GraphComp = (e, t) => {
20999
20999
  children: JSON.stringify(m)
21000
21000
  });
21001
21001
  }
21002
- c(!1), y == null || y(!1);
21002
+ c(!1), _ == null || _(!1);
21003
21003
  }
21004
21004
  if (l)
21005
21005
  return /* @__PURE__ */ jsx("div", {
@@ -21101,7 +21101,7 @@ const GraphComp = (e, t) => {
21101
21101
  onSearchItem: p,
21102
21102
  selectedRowKeys: v,
21103
21103
  showCreateButton: h,
21104
- showToggleButton: y
21104
+ showToggleButton: _
21105
21105
  } = e;
21106
21106
  function x() {
21107
21107
  return /* @__PURE__ */ jsx("div", {
@@ -21128,7 +21128,7 @@ const GraphComp = (e, t) => {
21128
21128
  disabled: u === 0 || r || o !== "form" && v.length === 0
21129
21129
  });
21130
21130
  }
21131
- function _() {
21131
+ function y() {
21132
21132
  let C = "_";
21133
21133
  return u === 0 ? C = "_" : C = (l + 1).toString(), /* @__PURE__ */ jsxs("span", {
21134
21134
  className: "pl-1 pr-1",
@@ -21141,7 +21141,7 @@ const GraphComp = (e, t) => {
21141
21141
  tooltip: "Previous item",
21142
21142
  icon: /* @__PURE__ */ jsx(LeftOutlined, {}),
21143
21143
  onClick: c
21144
- }), _(), /* @__PURE__ */ jsx(ButtonWithTooltip, {
21144
+ }), y(), /* @__PURE__ */ jsx(ButtonWithTooltip, {
21145
21145
  tooltip: "Next item",
21146
21146
  icon: /* @__PURE__ */ jsx(RightOutlined, {}),
21147
21147
  onClick: d
@@ -21162,7 +21162,7 @@ const GraphComp = (e, t) => {
21162
21162
  icon: /* @__PURE__ */ jsx(SearchOutlined, {}),
21163
21163
  disabled: r,
21164
21164
  onClick: p
21165
- }), o !== "graph" && x(), o !== "graph" && g(), o === "form" && b(), x(), y && /* @__PURE__ */ jsx(ButtonWithTooltip, {
21165
+ }), o !== "graph" && x(), o !== "graph" && g(), o === "form" && b(), x(), _ && /* @__PURE__ */ jsx(ButtonWithTooltip, {
21166
21166
  tooltip: "Toggle view mode",
21167
21167
  icon: /* @__PURE__ */ jsx(AlignLeftOutlined, {}),
21168
21168
  onClick: a
@@ -21202,11 +21202,11 @@ const One2manyInput = (e) => {
21202
21202
  getFields: p,
21203
21203
  getValues: v,
21204
21204
  getContext: h,
21205
- domain: y
21205
+ domain: _
21206
21206
  } = d || {}, {
21207
21207
  lang: x,
21208
21208
  t: m
21209
- } = useContext(LocaleContext), g = useRef(), [_, b] = useState$1(!1), [C, w] = useState$1(!1), [D, S] = useState$1(), [$, O] = useState$1(!1), [A, M] = useState$1(!1), [P, N] = useState$1(), [F, k] = useState$1([]), [j, q] = useState$1(!1), B = useRef([]), [U, L] = useState$1(), W = useRef(), {
21209
+ } = useContext(LocaleContext), g = useRef(), [y, b] = useState$1(!1), [C, w] = useState$1(!1), [D, S] = useState$1(), [$, O] = useState$1(!1), [A, M] = useState$1(!1), [P, N] = useState$1(), [F, k] = useState$1([]), [j, q] = useState$1(!1), B = useRef([]), [U, L] = useState$1(), W = useRef(), {
21210
21210
  readOnly: H,
21211
21211
  relation: z,
21212
21212
  context: K,
@@ -21218,7 +21218,7 @@ const One2manyInput = (e) => {
21218
21218
  o.some((le) => !le.values) && E();
21219
21219
  }, [o]), useEffect(() => {
21220
21220
  Y();
21221
- }, [y]);
21221
+ }, [_]);
21222
21222
  const Q = (le) => {
21223
21223
  var ue, be;
21224
21224
  r == null || r({
@@ -21260,8 +21260,8 @@ const One2manyInput = (e) => {
21260
21260
  context: h()
21261
21261
  }),
21262
21262
  widgetFieldName: G
21263
- })), y && y.length > 0 && (B.current = B.current.concat(transformDomainForChildWidget({
21264
- domain: y,
21263
+ })), _ && _.length > 0 && (B.current = B.current.concat(transformDomainForChildWidget({
21264
+ domain: _,
21265
21265
  widgetFieldName: G
21266
21266
  })));
21267
21267
  }
@@ -21304,7 +21304,7 @@ const One2manyInput = (e) => {
21304
21304
  } : Se);
21305
21305
  Q(xe);
21306
21306
  }, re = (le) => {
21307
- _ ? showDialog$6({
21307
+ y ? showDialog$6({
21308
21308
  lang: x,
21309
21309
  onOk: () => {
21310
21310
  te(), le(), b(!1);
@@ -21542,7 +21542,7 @@ const One2manyInput = (e) => {
21542
21542
  title: pe(),
21543
21543
  readOnly: H,
21544
21544
  isMany2Many: V,
21545
- formHasChanges: _,
21545
+ formHasChanges: y,
21546
21546
  totalItems: X.length,
21547
21547
  currentItemIndex: l,
21548
21548
  onDelete: se,
@@ -21600,33 +21600,33 @@ const One2manyInput = (e) => {
21600
21600
  } = t;
21601
21601
  let u;
21602
21602
  const [l, c] = useState$1(!0), [d, f] = useState$1(), [p, v] = useState$1(/* @__PURE__ */ new Map()), h = useContext(FormContext$2), {
21603
- getContext: y
21603
+ getContext: _
21604
21604
  } = h || {};
21605
21605
  useDeepCompareEffect(() => {
21606
21606
  m();
21607
21607
  }, [t]);
21608
- const x = async (_) => a && a[_] ? a[_] : await ConnectionProvider.getHandler().getView({
21608
+ const x = async (y) => a && a[y] ? a[y] : await ConnectionProvider.getHandler().getView({
21609
21609
  model: n,
21610
- type: _,
21610
+ type: y,
21611
21611
  context: {
21612
- ...y == null ? void 0 : y(),
21612
+ ..._ == null ? void 0 : _(),
21613
21613
  ...s
21614
21614
  }
21615
21615
  }), m = async () => {
21616
21616
  c(!0), f(void 0);
21617
21617
  try {
21618
21618
  if (r && r.length > 0) {
21619
- for (const _ of r) {
21620
- const b = await x(_);
21621
- p.set(_, b);
21619
+ for (const y of r) {
21620
+ const b = await x(y);
21621
+ p.set(y, b);
21622
21622
  }
21623
21623
  v(p);
21624
21624
  } else {
21625
- const _ = await x("form"), b = await x("tree");
21626
- p.set("form", _), p.set("tree", b), v(p);
21625
+ const y = await x("form"), b = await x("tree");
21626
+ p.set("form", y), p.set("tree", b), v(p);
21627
21627
  }
21628
- } catch (_) {
21629
- f(JSON.stringify(_));
21628
+ } catch (y) {
21629
+ f(JSON.stringify(y));
21630
21630
  } finally {
21631
21631
  c(!1);
21632
21632
  }
@@ -21641,7 +21641,7 @@ const One2manyInput = (e) => {
21641
21641
  children: /* @__PURE__ */ jsx(Field$1, {
21642
21642
  required: o,
21643
21643
  type: "array",
21644
- validator: async (_, b) => {
21644
+ validator: async (y, b) => {
21645
21645
  if (!b)
21646
21646
  throw new Error();
21647
21647
  if (!b.items)
@@ -21693,7 +21693,7 @@ const One2manyInput = (e) => {
21693
21693
  function h(x) {
21694
21694
  l.current = x.target.value, d(x.target.value);
21695
21695
  }
21696
- async function y() {
21696
+ async function _() {
21697
21697
  v(parseStringToFloat(c)), await new Promise((x) => setTimeout(x, 300)), p == null || p();
21698
21698
  }
21699
21699
  return /* @__PURE__ */ jsx(Input$2, {
@@ -21703,7 +21703,7 @@ const One2manyInput = (e) => {
21703
21703
  id: a,
21704
21704
  placeholder: "00:00",
21705
21705
  onChange: h,
21706
- onBlur: y
21706
+ onBlur: _
21707
21707
  });
21708
21708
  };
21709
21709
  function Group(e) {
@@ -21889,91 +21889,128 @@ const {
21889
21889
  limit: o,
21890
21890
  onClose: s
21891
21891
  }) => {
21892
- const u = useRef({}), l = useCallback(
21893
- async (h) => {
21894
- if (h.selectedKeys === void 0 || h.selectedKeys.length === 0) {
21892
+ const u = useRef({}), l = useRef(/* @__PURE__ */ new Map()), c = useCallback(
21893
+ async (x) => {
21894
+ if (x.selectedKeys === void 0 || x.selectedKeys.length === 0) {
21895
21895
  showDialog$7(tForLang("selectAtLeastOneField", r));
21896
21896
  return;
21897
21897
  }
21898
- let y = a;
21899
- h.registersAmount === "selected" && (n == null ? void 0 : n.length) !== 0 && (y = [
21900
- ["id", "in", n == null ? void 0 : n.map((g) => g.id)]
21898
+ let m = a;
21899
+ x.registersAmount === "selected" && (n == null ? void 0 : n.length) !== 0 && (m = [
21900
+ ["id", "in", n == null ? void 0 : n.map((b) => b.id)]
21901
21901
  ]);
21902
- const { datas: x } = await ConnectionProvider.getHandler().exportData({
21902
+ const { datas: g } = await ConnectionProvider.getHandler().exportData({
21903
21903
  model: e,
21904
21904
  fields: addIdToRelationFields({
21905
- keys: h.selectedKeys,
21905
+ keys: x.selectedKeys,
21906
21906
  fields: u.current
21907
21907
  }),
21908
- domain: y,
21909
- limit: h.registersAmount === "all" ? 0 : o,
21908
+ domain: m,
21909
+ limit: x.registersAmount === "all" ? 0 : o,
21910
21910
  context: t,
21911
- format: h.exportType
21911
+ format: x.exportType
21912
21912
  });
21913
- s(), await new Promise((g) => setTimeout(g, 200));
21914
- const m = await getMimeType(x);
21915
- openBase64InNewTab(x, m.mime);
21913
+ s(), await new Promise((b) => setTimeout(b, 200));
21914
+ const y = await getMimeType(g);
21915
+ openBase64InNewTab(g, y.mime);
21916
21916
  },
21917
21917
  [r, e, a, o, t, s]
21918
- ), c = useCallback(async () => {
21919
- const h = await ConnectionProvider.getHandler().getFields({
21918
+ ), d = useCallback(async () => {
21919
+ const x = await ConnectionProvider.getHandler().getFields({
21920
21920
  model: e,
21921
21921
  context: t,
21922
21922
  fields: []
21923
21923
  });
21924
- return u.current["/"] = h, convertToExportFields({ fields: h });
21925
- }, [e, t, u]), d = useCallback(
21926
- async (h) => {
21927
- const x = getFieldDefinition(h, u.current)[getChildKey(h)], m = x.relation, g = await ConnectionProvider.getHandler().getFields({
21928
- model: m,
21924
+ return u.current["/"] = x, convertToExportFields({ fields: x });
21925
+ }, [e, t, u]), f = useCallback(
21926
+ async (x) => {
21927
+ const g = getFieldDefinition(x, u.current)[getChildKey(x)], y = g.relation, b = await ConnectionProvider.getHandler().getFields({
21928
+ model: y,
21929
21929
  context: t,
21930
21930
  fields: []
21931
21931
  });
21932
- for (const [_, b] of Object.entries(g))
21933
- g[_].string = getTitle({
21934
- parentTitle: x.string,
21935
- title: b.string
21932
+ for (const [C, w] of Object.entries(b))
21933
+ b[C].string = getTitle({
21934
+ parentTitle: g.string,
21935
+ title: w.string
21936
21936
  });
21937
- return u.current[h] = g, convertToExportFields({
21938
- fields: g,
21939
- parentKey: h
21937
+ return u.current[x] = b, convertToExportFields({
21938
+ fields: b,
21939
+ parentKey: x
21940
21940
  });
21941
21941
  },
21942
21942
  [u.current, e, t]
21943
- ), f = useCallback(async () => {
21944
- const h = await listPredefinedExports({ model: e, context: t }), y = await retrieveKeyFieldsForPredefinedExports({
21945
- predefinedExports: h,
21943
+ ), p = useCallback(async () => {
21944
+ const x = await listPredefinedExports({ model: e, context: t }), m = await retrieveKeyFieldsForPredefinedExports({
21945
+ predefinedExports: x,
21946
21946
  fields: u.current,
21947
- onGetFieldChilds: d
21947
+ onGetFieldChilds: f
21948
21948
  });
21949
21949
  return {
21950
- predefinedExports: h.map((m) => ({
21951
- ...m,
21952
- fields: m.fields.map((g) => {
21953
- const _ = getChildKey(g.key), C = getFieldDefinition(g.key, u.current)[_];
21950
+ predefinedExports: x.map((y) => ({
21951
+ ...y,
21952
+ fields: y.fields.map((b) => {
21953
+ const C = getChildKey(b.key), D = getFieldDefinition(b.key, u.current)[C];
21954
21954
  return {
21955
- key: g.key,
21956
- title: C.string
21955
+ key: b.key,
21956
+ title: D.string
21957
21957
  };
21958
21958
  })
21959
21959
  })),
21960
- keysWithChilds: y
21960
+ keysWithChilds: m
21961
21961
  };
21962
- }, [u.current]), p = useCallback(
21963
- async (h) => ({}),
21962
+ }, [u.current]), v = useCallback(
21963
+ async (x) => {
21964
+ const m = await _("ir.exports"), g = await _("ir.exports.line"), y = await ConnectionProvider.getHandler().create({
21965
+ model: "ir.exports",
21966
+ values: {
21967
+ name: x.name,
21968
+ resource: e
21969
+ },
21970
+ fields: m,
21971
+ context: t
21972
+ });
21973
+ return await Promise.all(
21974
+ x.fields.map(async (b) => await ConnectionProvider.getHandler().create({
21975
+ model: "ir.exports.line",
21976
+ values: {
21977
+ name: b.key,
21978
+ export_id: y
21979
+ },
21980
+ fields: g,
21981
+ context: t
21982
+ }))
21983
+ ), { ...x, id: y };
21984
+ },
21964
21985
  []
21965
- ), v = useCallback(
21966
- async (h) => {
21986
+ ), h = useCallback(
21987
+ async (x) => {
21988
+ await ConnectionProvider.getHandler().delete({
21989
+ model: "ir.exports",
21990
+ ids: [x.id]
21991
+ });
21967
21992
  },
21968
21993
  []
21994
+ ), _ = useCallback(
21995
+ async (x) => {
21996
+ if (l.current.has(x))
21997
+ return l.current.get(x);
21998
+ const m = ConnectionProvider.getHandler().getFields({
21999
+ model: x,
22000
+ context: t,
22001
+ fields: []
22002
+ });
22003
+ l.current.set(x, m);
22004
+ },
22005
+ [l, t]
21969
22006
  );
21970
22007
  return {
21971
- onGetFields: c,
21972
- onGetFieldChilds: d,
21973
- onExport: l,
21974
- onGetPredefinedExports: f,
21975
- onSavePredefinedExport: p,
21976
- onRemovePredefinedExport: v
22008
+ onGetFields: d,
22009
+ onGetFieldChilds: f,
22010
+ onExport: c,
22011
+ onGetPredefinedExports: p,
22012
+ onSavePredefinedExport: v,
22013
+ onRemovePredefinedExport: h
21977
22014
  };
21978
22015
  }, convertToExportFields = ({
21979
22016
  fields: e,
@@ -22069,7 +22106,7 @@ const {
22069
22106
  onGetFieldChilds: p,
22070
22107
  onGetFields: v,
22071
22108
  onGetPredefinedExports: h,
22072
- onSavePredefinedExport: y,
22109
+ onSavePredefinedExport: _,
22073
22110
  onRemovePredefinedExport: x
22074
22111
  } = useExport({
22075
22112
  model: a,
@@ -22091,7 +22128,7 @@ const {
22091
22128
  onGetFields: v,
22092
22129
  visibleRegisters: d,
22093
22130
  onGetPredefinedExports: h,
22094
- onSavePredefinedExport: y,
22131
+ onSavePredefinedExport: _,
22095
22132
  onRemovePredefinedExport: x
22096
22133
  });
22097
22134
  };
@@ -24764,17 +24801,17 @@ const DatePickerConfig = {
24764
24801
  n == null || n(g);
24765
24802
  };
24766
24803
  async function h() {
24767
- const g = await getMimeType(r), _ = `data:${g == null ? void 0 : g.mime};base64,${r}`, b = document.createElement("a"), C = d(s), w = d("name");
24768
- b.href = _, b.download = C || w, b.click();
24804
+ const g = await getMimeType(r), y = `data:${g == null ? void 0 : g.mime};base64,${r}`, b = document.createElement("a"), C = d(s), w = d("name");
24805
+ b.href = y, b.download = C || w, b.click();
24769
24806
  }
24770
- async function y() {
24807
+ async function _() {
24771
24808
  const g = await getMimeType(r);
24772
24809
  openBase64InNewTab(r, g.mime);
24773
24810
  }
24774
24811
  async function x(g) {
24775
24812
  g.stopPropagation(), g.preventDefault();
24776
- const _ = g.target.files[0], b = await toBase64(_);
24777
- v(b), s && c(s, _.name);
24813
+ const y = g.target.files[0], b = await toBase64(y);
24814
+ v(b), s && c(s, y.name);
24778
24815
  }
24779
24816
  function m() {
24780
24817
  c(s, void 0), v(void 0);
@@ -24811,7 +24848,7 @@ const DatePickerConfig = {
24811
24848
  }), /* @__PURE__ */ jsx(Button$1, {
24812
24849
  icon: /* @__PURE__ */ jsx(EyeOutlined, {}),
24813
24850
  disabled: !r,
24814
- onClick: y,
24851
+ onClick: _,
24815
24852
  children: f("open")
24816
24853
  }), /* @__PURE__ */ jsx(ButtonWithTooltip, {
24817
24854
  tooltip: f("download"),
@@ -25186,7 +25223,7 @@ function AttachmentsButton(e) {
25186
25223
  showDialog$8(m);
25187
25224
  }
25188
25225
  l(!1);
25189
- }, t), y = useCallback(async (m) => {
25226
+ }, t), _ = useCallback(async (m) => {
25190
25227
  if (m.link) {
25191
25228
  window.open(m.link);
25192
25229
  return;
@@ -25199,13 +25236,13 @@ function AttachmentsButton(e) {
25199
25236
  ids: [m.id],
25200
25237
  context: s.current.getContext()
25201
25238
  }))[0];
25202
- } catch (_) {
25203
- showDialog$8(_);
25239
+ } catch (y) {
25240
+ showDialog$8(y);
25204
25241
  }
25205
25242
  if (p(!1), !!g)
25206
25243
  if (g.datas) {
25207
- const _ = await getMimeType(g.datas);
25208
- openBase64InNewTab(g.datas, _.mime);
25244
+ const y = await getMimeType(g.datas);
25245
+ openBase64InNewTab(g.datas, y.mime);
25209
25246
  } else
25210
25247
  o(g);
25211
25248
  }, []), x = useCallback(async (m) => {
@@ -25221,7 +25258,7 @@ function AttachmentsButton(e) {
25221
25258
  loading: u,
25222
25259
  onAddNewAttachment: n,
25223
25260
  onListAllAttachments: a,
25224
- onopenAttachmentLink: y,
25261
+ onopenAttachmentLink: _,
25225
25262
  onOpenAttachmentDetail: x
25226
25263
  }), /* @__PURE__ */ jsx(Modal, {
25227
25264
  title: v("downloadingAttachment"),
@@ -25252,11 +25289,11 @@ function FormActionBar({
25252
25289
  currentModel: p,
25253
25290
  setRemovingItem: v,
25254
25291
  removingItem: h,
25255
- duplicatingItem: y,
25292
+ duplicatingItem: _,
25256
25293
  setDuplicatingItem: x,
25257
25294
  setResults: m,
25258
25295
  formIsLoading: g,
25259
- attachments: _,
25296
+ attachments: y,
25260
25297
  formRef: b,
25261
25298
  setFormHasChanges: C,
25262
25299
  previousView: w,
@@ -25344,7 +25381,7 @@ function FormActionBar({
25344
25381
  x == null || x(!1);
25345
25382
  }
25346
25383
  }
25347
- const z = s || h || g || y;
25384
+ const z = s || h || g || _;
25348
25385
  function K(I) {
25349
25386
  M == null || M({
25350
25387
  actionData: I,
@@ -25361,7 +25398,7 @@ function FormActionBar({
25361
25398
  children: [g && /* @__PURE__ */ jsxs(Fragment, {
25362
25399
  children: [/* @__PURE__ */ jsx(Spin, {}), separator$2(), separator$2()]
25363
25400
  }), /* @__PURE__ */ jsx(NewButton, {
25364
- disabled: s || g || h || y
25401
+ disabled: s || g || h || _
25365
25402
  }), /* @__PURE__ */ jsx(ActionButton, {
25366
25403
  icon: /* @__PURE__ */ jsx(SaveOutlined, {}),
25367
25404
  tooltip: $("save"),
@@ -25371,19 +25408,19 @@ function FormActionBar({
25371
25408
  }), /* @__PURE__ */ jsx(ActionButton, {
25372
25409
  icon: /* @__PURE__ */ jsx(CopyOutlined$4, {}),
25373
25410
  tooltip: $("duplicate"),
25374
- disabled: o || s || u === void 0 || y || g,
25375
- loading: y,
25411
+ disabled: o || s || u === void 0 || _ || g,
25412
+ loading: _,
25376
25413
  onClick: H
25377
25414
  }), /* @__PURE__ */ jsx(ActionButton, {
25378
25415
  icon: /* @__PURE__ */ jsx(DeleteOutlined, {}),
25379
25416
  tooltip: $("delete"),
25380
- disabled: s || u === void 0 || h || y || g,
25417
+ disabled: s || u === void 0 || h || _ || g,
25381
25418
  loading: h,
25382
25419
  onClick: L
25383
25420
  }), separator$2(), /* @__PURE__ */ jsx(ActionButton, {
25384
25421
  icon: /* @__PURE__ */ jsx(InfoCircleOutlined$4, {}),
25385
25422
  tooltip: $("showLogs"),
25386
- disabled: s || u === void 0 || h || y || g,
25423
+ disabled: s || u === void 0 || h || _ || g,
25387
25424
  loading: !1,
25388
25425
  onClick: () => {
25389
25426
  showLogInfo(p, u, $);
@@ -25391,7 +25428,7 @@ function FormActionBar({
25391
25428
  }), /* @__PURE__ */ jsx(ActionButton, {
25392
25429
  icon: /* @__PURE__ */ jsx(ReloadOutlined, {}),
25393
25430
  tooltip: $("refresh"),
25394
- disabled: s || u === void 0 || h || y || g,
25431
+ disabled: s || u === void 0 || h || _ || g,
25395
25432
  loading: !1,
25396
25433
  onClick: () => {
25397
25434
  j(() => {
@@ -25472,7 +25509,7 @@ function FormActionBar({
25472
25509
  }
25473
25510
  }), /* @__PURE__ */ jsx(AttachmentsButton, {
25474
25511
  disabled: z,
25475
- attachments: _,
25512
+ attachments: y,
25476
25513
  onAddNewAttachment: async () => {
25477
25514
  const I = await saveDocument({
25478
25515
  onFormSave: a
@@ -25626,35 +25663,35 @@ var isIP = { exports: {} };
25626
25663
  function s(g) {
25627
25664
  return g && g.__esModule ? g : { default: g };
25628
25665
  }
25629
- function u(g, _) {
25630
- return p(g) || f(g, _) || c(g, _) || l();
25666
+ function u(g, y) {
25667
+ return p(g) || f(g, y) || c(g, y) || l();
25631
25668
  }
25632
25669
  function l() {
25633
25670
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
25634
25671
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
25635
25672
  }
25636
- function c(g, _) {
25673
+ function c(g, y) {
25637
25674
  if (!!g) {
25638
25675
  if (typeof g == "string")
25639
- return d(g, _);
25676
+ return d(g, y);
25640
25677
  var b = Object.prototype.toString.call(g).slice(8, -1);
25641
25678
  if (b === "Object" && g.constructor && (b = g.constructor.name), b === "Map" || b === "Set")
25642
25679
  return Array.from(g);
25643
25680
  if (b === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))
25644
- return d(g, _);
25681
+ return d(g, y);
25645
25682
  }
25646
25683
  }
25647
- function d(g, _) {
25648
- (_ == null || _ > g.length) && (_ = g.length);
25649
- for (var b = 0, C = new Array(_); b < _; b++)
25684
+ function d(g, y) {
25685
+ (y == null || y > g.length) && (y = g.length);
25686
+ for (var b = 0, C = new Array(y); b < y; b++)
25650
25687
  C[b] = g[b];
25651
25688
  return C;
25652
25689
  }
25653
- function f(g, _) {
25690
+ function f(g, y) {
25654
25691
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(g)))) {
25655
25692
  var b = [], C = !0, w = !1, D = void 0;
25656
25693
  try {
25657
- for (var S = g[Symbol.iterator](), $; !(C = ($ = S.next()).done) && (b.push($.value), !(_ && b.length === _)); C = !0)
25694
+ for (var S = g[Symbol.iterator](), $; !(C = ($ = S.next()).done) && (b.push($.value), !(y && b.length === y)); C = !0)
25658
25695
  ;
25659
25696
  } catch (O) {
25660
25697
  w = !0, D = O;
@@ -25687,39 +25724,39 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
25687
25724
  allow_query_components: !0,
25688
25725
  validate_length: !0
25689
25726
  }, h = /^\[([^\]]+)\](?::([0-9]+))?$/;
25690
- function y(g) {
25727
+ function _(g) {
25691
25728
  return Object.prototype.toString.call(g) === "[object RegExp]";
25692
25729
  }
25693
- function x(g, _) {
25694
- for (var b = 0; b < _.length; b++) {
25695
- var C = _[b];
25696
- if (g === C || y(C) && C.test(g))
25730
+ function x(g, y) {
25731
+ for (var b = 0; b < y.length; b++) {
25732
+ var C = y[b];
25733
+ if (g === C || _(C) && C.test(g))
25697
25734
  return !0;
25698
25735
  }
25699
25736
  return !1;
25700
25737
  }
25701
- function m(g, _) {
25702
- if ((0, r.default)(g), !g || /[\s<>]/.test(g) || g.indexOf("mailto:") === 0 || (_ = (0, o.default)(_, v), _.validate_length && g.length >= 2083) || !_.allow_fragments && g.includes("#") || !_.allow_query_components && (g.includes("?") || g.includes("&")))
25738
+ function m(g, y) {
25739
+ if ((0, r.default)(g), !g || /[\s<>]/.test(g) || g.indexOf("mailto:") === 0 || (y = (0, o.default)(y, v), y.validate_length && g.length >= 2083) || !y.allow_fragments && g.includes("#") || !y.allow_query_components && (g.includes("?") || g.includes("&")))
25703
25740
  return !1;
25704
25741
  var b, C, w, D, S, $, O, A;
25705
25742
  if (O = g.split("#"), g = O.shift(), O = g.split("?"), g = O.shift(), O = g.split("://"), O.length > 1) {
25706
- if (b = O.shift().toLowerCase(), _.require_valid_protocol && _.protocols.indexOf(b) === -1)
25743
+ if (b = O.shift().toLowerCase(), y.require_valid_protocol && y.protocols.indexOf(b) === -1)
25707
25744
  return !1;
25708
25745
  } else {
25709
- if (_.require_protocol)
25746
+ if (y.require_protocol)
25710
25747
  return !1;
25711
25748
  if (g.substr(0, 2) === "//") {
25712
- if (!_.allow_protocol_relative_urls)
25749
+ if (!y.allow_protocol_relative_urls)
25713
25750
  return !1;
25714
25751
  O[0] = g.substr(2);
25715
25752
  }
25716
25753
  }
25717
25754
  if (g = O.join("://"), g === "")
25718
25755
  return !1;
25719
- if (O = g.split("/"), g = O.shift(), g === "" && !_.require_host)
25756
+ if (O = g.split("/"), g = O.shift(), g === "" && !y.require_host)
25720
25757
  return !0;
25721
25758
  if (O = g.split("@"), O.length > 1) {
25722
- if (_.disallow_auth || O[0] === "" || (C = O.shift(), C.indexOf(":") >= 0 && C.split(":").length > 2))
25759
+ if (y.disallow_auth || O[0] === "" || (C = O.shift(), C.indexOf(":") >= 0 && C.split(":").length > 2))
25723
25760
  return !1;
25724
25761
  var M = C.split(":"), P = u(M, 2), N = P[0], F = P[1];
25725
25762
  if (N === "" && F === "")
@@ -25730,9 +25767,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
25730
25767
  if (k ? (w = "", A = k[1], $ = k[2] || null) : (O = D.split(":"), w = O.shift(), O.length && ($ = O.join(":"))), $ !== null && $.length > 0) {
25731
25768
  if (S = parseInt($, 10), !/^[0-9]+$/.test($) || S <= 0 || S > 65535)
25732
25769
  return !1;
25733
- } else if (_.require_port)
25770
+ } else if (y.require_port)
25734
25771
  return !1;
25735
- return _.host_whitelist ? x(w, _.host_whitelist) : !(!(0, a.default)(w) && !(0, n.default)(w, _) && (!A || !(0, a.default)(A, 6)) || (w = w || A, _.host_blacklist && x(w, _.host_blacklist)));
25772
+ return y.host_whitelist ? x(w, y.host_whitelist) : !(!(0, a.default)(w) && !(0, n.default)(w, y) && (!A || !(0, a.default)(A, 6)) || (w = w || A, y.host_blacklist && x(w, y.host_blacklist)));
25736
25773
  }
25737
25774
  e.exports = t.default, e.exports.default = t.default;
25738
25775
  })(isURL$1, isURL$1.exports);
@@ -25749,9 +25786,9 @@ const isURL = /* @__PURE__ */ getDefaultExportFromCjs(isURL$1.exports), LinkInpu
25749
25786
  required: l
25750
25787
  } = t, c = l && !u ? Config.requiredClass : void 0, d = useContext(FormContext$2), {
25751
25788
  elementHasLostFocus: f
25752
- } = d || {}, [p, v] = useState$1(!1), [h, y] = useState$1(!1);
25789
+ } = d || {}, [p, v] = useState$1(!1), [h, _] = useState$1(!1);
25753
25790
  return useEffect(() => {
25754
- u && !p && y(!1), !r && !u && (v(!0), y(!0));
25791
+ u && !p && _(!1), !r && !u && (v(!0), _(!0));
25755
25792
  }, [p, u]), /* @__PURE__ */ jsxs(Row, {
25756
25793
  gutter: 8,
25757
25794
  wrap: !1,
@@ -25761,13 +25798,13 @@ const isURL = /* @__PURE__ */ getDefaultExportFromCjs(isURL$1.exports), LinkInpu
25761
25798
  children: p ? /* @__PURE__ */ jsx(Button$1, {
25762
25799
  icon: /* @__PURE__ */ jsx(CheckOutlined$4, {}),
25763
25800
  onClick: () => {
25764
- a(r) && (v(!1), y(!1));
25801
+ a(r) && (v(!1), _(!1));
25765
25802
  },
25766
25803
  tabIndex: -1
25767
25804
  }) : /* @__PURE__ */ jsx(Button$1, {
25768
25805
  icon: /* @__PURE__ */ jsx(EditOutlined$4, {}),
25769
25806
  onClick: () => {
25770
- v(!0), y(!0);
25807
+ v(!0), _(!0);
25771
25808
  },
25772
25809
  tabIndex: -1
25773
25810
  })
@@ -25781,7 +25818,7 @@ const isURL = /* @__PURE__ */ getDefaultExportFromCjs(isURL$1.exports), LinkInpu
25781
25818
  className: c,
25782
25819
  value: r,
25783
25820
  onBlur: () => {
25784
- a(r) && (v(!1), y(!1), f == null || f());
25821
+ a(r) && (v(!1), _(!1), f == null || f());
25785
25822
  }
25786
25823
  }) : /* @__PURE__ */ jsx("a", {
25787
25824
  href: `${o}${r}`,
@@ -25850,38 +25887,38 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
25850
25887
  blacklisted_chars: "",
25851
25888
  ignore_max_length: !1,
25852
25889
  host_blacklist: []
25853
- }, c = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i, d = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, f = /^[a-z\d]+$/, p = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i, v = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i, h = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i, y = 254;
25890
+ }, c = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i, d = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, f = /^[a-z\d]+$/, p = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i, v = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i, h = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i, _ = 254;
25854
25891
  function x(g) {
25855
- var _ = g.replace(/^"(.+)"$/, "$1");
25856
- if (!_.trim())
25892
+ var y = g.replace(/^"(.+)"$/, "$1");
25893
+ if (!y.trim())
25857
25894
  return !1;
25858
- var b = /[\.";<>]/.test(_);
25895
+ var b = /[\.";<>]/.test(y);
25859
25896
  if (b) {
25860
- if (_ === g)
25897
+ if (y === g)
25861
25898
  return !1;
25862
- var C = _.split('"').length === _.split('\\"').length;
25899
+ var C = y.split('"').length === y.split('\\"').length;
25863
25900
  if (!C)
25864
25901
  return !1;
25865
25902
  }
25866
25903
  return !0;
25867
25904
  }
25868
- function m(g, _) {
25869
- if ((0, r.default)(g), _ = (0, n.default)(_, l), _.require_display_name || _.allow_display_name) {
25905
+ function m(g, y) {
25906
+ if ((0, r.default)(g), y = (0, n.default)(y, l), y.require_display_name || y.allow_display_name) {
25870
25907
  var b = g.match(c);
25871
25908
  if (b) {
25872
25909
  var C = b[1];
25873
25910
  if (g = g.replace(C, "").replace(/(^<|>$)/g, ""), C.endsWith(" ") && (C = C.substr(0, C.length - 1)), !x(C))
25874
25911
  return !1;
25875
- } else if (_.require_display_name)
25912
+ } else if (y.require_display_name)
25876
25913
  return !1;
25877
25914
  }
25878
- if (!_.ignore_max_length && g.length > y)
25915
+ if (!y.ignore_max_length && g.length > _)
25879
25916
  return !1;
25880
25917
  var w = g.split("@"), D = w.pop(), S = D.toLowerCase();
25881
- if (_.host_blacklist.includes(S))
25918
+ if (y.host_blacklist.includes(S))
25882
25919
  return !1;
25883
25920
  var $ = w.join("@");
25884
- if (_.domain_specific_validation && (S === "gmail.com" || S === "googlemail.com")) {
25921
+ if (y.domain_specific_validation && (S === "gmail.com" || S === "googlemail.com")) {
25885
25922
  $ = $.toLowerCase();
25886
25923
  var O = $.split("+")[0];
25887
25924
  if (!(0, a.default)(O.replace(/\./g, ""), {
@@ -25893,16 +25930,16 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
25893
25930
  if (!f.test(A[M]))
25894
25931
  return !1;
25895
25932
  }
25896
- if (_.ignore_max_length === !1 && (!(0, a.default)($, {
25933
+ if (y.ignore_max_length === !1 && (!(0, a.default)($, {
25897
25934
  max: 64
25898
25935
  }) || !(0, a.default)(D, {
25899
25936
  max: 254
25900
25937
  })))
25901
25938
  return !1;
25902
25939
  if (!(0, o.default)(D, {
25903
- require_tld: _.require_tld
25940
+ require_tld: y.require_tld
25904
25941
  })) {
25905
- if (!_.allow_ip_domain)
25942
+ if (!y.allow_ip_domain)
25906
25943
  return !1;
25907
25944
  if (!(0, s.default)(D)) {
25908
25945
  if (!D.startsWith("[") || !D.endsWith("]"))
@@ -25913,11 +25950,11 @@ var isEmail$1 = { exports: {} }, isByteLength = { exports: {} };
25913
25950
  }
25914
25951
  }
25915
25952
  if ($[0] === '"')
25916
- return $ = $.slice(1, $.length - 1), _.allow_utf8_local_part ? h.test($) : p.test($);
25917
- for (var N = _.allow_utf8_local_part ? v : d, F = $.split("."), k = 0; k < F.length; k++)
25953
+ return $ = $.slice(1, $.length - 1), y.allow_utf8_local_part ? h.test($) : p.test($);
25954
+ for (var N = y.allow_utf8_local_part ? v : d, F = $.split("."), k = 0; k < F.length; k++)
25918
25955
  if (!N.test(F[k]))
25919
25956
  return !1;
25920
- return !(_.blacklisted_chars && $.search(new RegExp("[".concat(_.blacklisted_chars, "]+"), "g")) !== -1);
25957
+ return !(y.blacklisted_chars && $.search(new RegExp("[".concat(y.blacklisted_chars, "]+"), "g")) !== -1);
25921
25958
  }
25922
25959
  e.exports = t.default, e.exports.default = t.default;
25923
25960
  })(isEmail$1, isEmail$1.exports);
@@ -26188,11 +26225,11 @@ const GraphActionView = (e) => {
26188
26225
  currentId: p = void 0,
26189
26226
  results: v = void 0,
26190
26227
  setSelectedRowItems: h = void 0,
26191
- setSearchParams: y = void 0,
26228
+ setSearchParams: _ = void 0,
26192
26229
  searchVisible: x = !0,
26193
26230
  setSearchVisible: m = void 0,
26194
26231
  sorter: g = void 0,
26195
- setSorter: _ = void 0,
26232
+ setSorter: y = void 0,
26196
26233
  setTotalItems: b = void 0,
26197
26234
  setSearchTreeNameSearch: C = void 0,
26198
26235
  setTreeIsLoading: w = void 0,
@@ -26221,14 +26258,14 @@ const GraphActionView = (e) => {
26221
26258
  setSelectedRowItems: h,
26222
26259
  searchParams: $,
26223
26260
  setSearchValues: A,
26224
- setSearchParams: y,
26261
+ setSearchParams: _,
26225
26262
  setSearchVisible: m,
26226
26263
  setTreeIsLoading: w,
26227
26264
  context: a,
26228
26265
  formView: s,
26229
26266
  treeView: u,
26230
26267
  sorter: g,
26231
- setSorter: _,
26268
+ setSorter: y,
26232
26269
  setCurrentItemIndex: f,
26233
26270
  setResultsActionView: d,
26234
26271
  resultsActionView: v,
@@ -26257,7 +26294,7 @@ const GraphActionView = (e) => {
26257
26294
  offset: q,
26258
26295
  isSearching: k,
26259
26296
  onSubmit: (U) => {
26260
- N(!1), y == null || y(U.params), m == null || m(!1);
26297
+ N(!1), _ == null || _(U.params), m == null || m(!1);
26261
26298
  },
26262
26299
  searchError: j,
26263
26300
  searchVisible: x,
@@ -26385,11 +26422,11 @@ function TreeActionBar(e) {
26385
26422
  setCurrentItemIndex: p,
26386
26423
  searchParams: v,
26387
26424
  searchVisible: h,
26388
- setSearchVisible: y,
26425
+ setSearchVisible: _,
26389
26426
  setSearchTreeNameSearch: x,
26390
26427
  searchTreeNameSearch: m,
26391
26428
  treeIsLoading: g,
26392
- setPreviousView: _,
26429
+ setPreviousView: y,
26393
26430
  previousView: b,
26394
26431
  results: C,
26395
26432
  limit: w,
@@ -26481,7 +26518,7 @@ function TreeActionBar(e) {
26481
26518
  tooltip: A("advanced_search"),
26482
26519
  type: h ? "primary" : "default",
26483
26520
  onClick: () => {
26484
- y == null || y(!h);
26521
+ _ == null || _(!h);
26485
26522
  },
26486
26523
  disabled: u || s || g,
26487
26524
  badgeNumber: v == null ? void 0 : v.length
@@ -26522,7 +26559,7 @@ function TreeActionBar(e) {
26522
26559
  currentView: r,
26523
26560
  availableViews: t,
26524
26561
  onChangeView: (H) => {
26525
- _ == null || _(r), n == null || n(H);
26562
+ y == null || y(r), n == null || n(H);
26526
26563
  },
26527
26564
  previousView: b,
26528
26565
  disabled: g
@@ -26640,7 +26677,7 @@ const TreeActionView = (e) => {
26640
26677
  searchTreeNameSearch: v
26641
26678
  } = e, {
26642
26679
  currentView: h,
26643
- setPreviousView: y
26680
+ setPreviousView: _
26644
26681
  } = useContext(ActionViewContext);
26645
26682
  return t ? /* @__PURE__ */ jsxs(Fragment, {
26646
26683
  children: [/* @__PURE__ */ jsx(TitleHeader, {
@@ -26664,9 +26701,9 @@ const TreeActionView = (e) => {
26664
26701
  } = x;
26665
26702
  d(m);
26666
26703
  const g = c.findIndex((b) => b.id === m);
26667
- y == null || y(h), l(g);
26668
- const _ = p.find((b) => b.type === "form");
26669
- f(_);
26704
+ _ == null || _(h), l(g);
26705
+ const y = p.find((b) => b.type === "form");
26706
+ f(y);
26670
26707
  }
26671
26708
  })]
26672
26709
  }) : null;
@@ -26773,9 +26810,9 @@ function ActionView(e, t) {
26773
26810
  res_id: p = !1,
26774
26811
  action_id: v,
26775
26812
  action_type: h,
26776
- treeExpandable: y = !1,
26813
+ treeExpandable: _ = !1,
26777
26814
  limit: x
26778
- } = e, [m, g] = useState$1(), [_, b] = useState$1([]), [C, w] = useState$1(!0), D = p || void 0, [S, $] = useState$1(D), [O, A] = useState$1([]), [M, P] = useState$1(), [N, F] = useState$1([]), [k, j] = useState$1(), [q, B] = useState$1(0), [U, L] = useState$1(!1), [W, H] = useState$1(!1), [z, K] = useState$1(), {
26815
+ } = e, [m, g] = useState$1(), [y, b] = useState$1([]), [C, w] = useState$1(!0), D = p || void 0, [S, $] = useState$1(D), [O, A] = useState$1([]), [M, P] = useState$1(), [N, F] = useState$1([]), [k, j] = useState$1(), [q, B] = useState$1(0), [U, L] = useState$1(!1), [W, H] = useState$1(!1), [z, K] = useState$1(), {
26779
26816
  t: I
26780
26817
  } = useContext(LocaleContext), V = useRef(), G = useRef(), X = useContext(TabManagerContext), {
26781
26818
  setCurrentView: Q,
@@ -26847,7 +26884,7 @@ function ActionView(e, t) {
26847
26884
  case "tree": {
26848
26885
  ie.push({
26849
26886
  ...oe,
26850
- isExpandable: y,
26887
+ isExpandable: _,
26851
26888
  type: pe
26852
26889
  });
26853
26890
  break;
@@ -26869,7 +26906,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
26869
26906
  tabKey: l,
26870
26907
  canWeClose: re
26871
26908
  }), useEffect(() => {
26872
- const ie = _.find((ce) => ce.type === "tree"), ve = _.find((ce) => c.id ? ce.type === c.type && ce.view_id === c.id : ce.type === c.type);
26909
+ const ie = y.find((ce) => ce.type === "tree"), ve = y.find((ce) => c.id ? ce.type === c.type && ce.view_id === c.id : ce.type === c.type);
26873
26910
  Z(ve || ie), p ? E == null || E(D) : (ee(void 0), P(void 0)), te();
26874
26911
  }, [n, o, p]), useEffect(() => {
26875
26912
  Y === l && (E == null || E(S), Q == null || Q(m));
@@ -26919,7 +26956,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
26919
26956
  });
26920
26957
  }
26921
26958
  function _e() {
26922
- return _.map((ie) => {
26959
+ return y.map((ie) => {
26923
26960
  switch (ie.type) {
26924
26961
  case "form":
26925
26962
  return /* @__PURE__ */ jsx(FormActionView, {
@@ -26943,11 +26980,11 @@ Please, make sure the view ids on the fields_view_get responses are the same as
26943
26980
  model: n,
26944
26981
  context: a,
26945
26982
  domain: r,
26946
- formView: _.find((ve) => ve.type === "form"),
26983
+ formView: y.find((ve) => ve.type === "form"),
26947
26984
  treeView: ie,
26948
26985
  searchTreeRef: G,
26949
26986
  searchTreeNameSearch: z,
26950
- availableViews: _,
26987
+ availableViews: y,
26951
26988
  results: N,
26952
26989
  setCurrentItemIndex: P,
26953
26990
  setCurrentId: ee,
@@ -26960,8 +26997,8 @@ Please, make sure the view ids on the fields_view_get responses are the same as
26960
26997
  model: n,
26961
26998
  context: a,
26962
26999
  domain: r,
26963
- treeView: _.find((ve) => ve.type === "tree"),
26964
- formView: _.find((ve) => ve.type === "form")
27000
+ treeView: y.find((ve) => ve.type === "tree"),
27001
+ formView: y.find((ve) => ve.type === "form")
26965
27002
  }, `${ie.type}-${ie.view_id}`);
26966
27003
  case "dashboard":
26967
27004
  return /* @__PURE__ */ jsx(DashboardActionView, {
@@ -26975,7 +27012,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
26975
27012
  V.current.clearAndReload();
26976
27013
  else {
26977
27014
  ee(void 0);
26978
- const ie = _.find((ve) => ve.type === "form");
27015
+ const ie = y.find((ve) => ve.type === "form");
26979
27016
  Z(ie);
26980
27017
  }
26981
27018
  }
@@ -26983,7 +27020,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
26983
27020
  title: s,
26984
27021
  currentView: m,
26985
27022
  setCurrentView: Z,
26986
- availableViews: _,
27023
+ availableViews: y,
26987
27024
  formRef: V,
26988
27025
  searchTreeRef: G,
26989
27026
  onNewClicked: Ce,
@@ -27069,20 +27106,20 @@ async function fetchAction({
27069
27106
  view_type: p
27070
27107
  } = o, v = p === "tree", h = [];
27071
27108
  for (const g of c) {
27072
- const [_, b] = g;
27073
- if (_)
27109
+ const [y, b] = g;
27110
+ if (y)
27074
27111
  h.push(g);
27075
27112
  else {
27076
27113
  const { view_id: C } = await ConnectionProvider.getHandler().getView({
27077
27114
  model: l,
27078
27115
  type: b,
27079
- id: _,
27116
+ id: y,
27080
27117
  context: { ...t, ...s }
27081
27118
  });
27082
27119
  h.push([C, b]);
27083
27120
  }
27084
27121
  }
27085
- const [y, x] = h[0], m = { id: y, type: x };
27122
+ const [_, x] = h[0], m = { id: _, type: x };
27086
27123
  return {
27087
27124
  title: d,
27088
27125
  actionId: e,
@@ -27203,8 +27240,8 @@ function DashboardTree(e) {
27203
27240
  domain: o = [],
27204
27241
  visible: s = !0,
27205
27242
  parentContext: u = {}
27206
- } = e, [l, c] = useState$1(!1), [d, f] = useState$1(!1), [p, v] = useState$1(), [h, y] = useState$1(), [x, m] = useState$1(), [g, _] = useState$1(1), [b, C] = useState$1(0), w = useRef(DEFAULT_SEARCH_LIMIT), D = useRef([]), [S, $] = useState$1(0), [O, A] = useState$1([]), [M, P] = useState$1(void 0), [N, F] = useState$1(), [k, j] = useState$1(), [q, B] = useState$1(), [U, L] = useState$1(!1), W = useRef([]), H = (E) => {
27207
- L(!0), _(E), C((E - 1) * w.current);
27243
+ } = e, [l, c] = useState$1(!1), [d, f] = useState$1(!1), [p, v] = useState$1(), [h, _] = useState$1(), [x, m] = useState$1(), [g, y] = useState$1(1), [b, C] = useState$1(0), w = useRef(DEFAULT_SEARCH_LIMIT), D = useRef([]), [S, $] = useState$1(0), [O, A] = useState$1([]), [M, P] = useState$1(void 0), [N, F] = useState$1(), [k, j] = useState$1(), [q, B] = useState$1(), [U, L] = useState$1(!1), W = useRef([]), H = (E) => {
27244
+ L(!0), y(E), C((E - 1) * w.current);
27208
27245
  }, z = async () => {
27209
27246
  const E = W.current.length > 0 ? W.current : o, T = mergeParams(D.current, E), {
27210
27247
  colors: Y
@@ -27259,7 +27296,7 @@ function DashboardTree(e) {
27259
27296
  action: t,
27260
27297
  context: u
27261
27298
  });
27262
- W.current = E.domain, m(E.views.get("form")), y(E.views.get("tree")), v(E.model), w.current = E.limit;
27299
+ W.current = E.domain, m(E.views.get("form")), _(E.views.get("tree")), v(E.model), w.current = E.limit;
27263
27300
  }, G = async () => {
27264
27301
  v(r);
27265
27302
  const E = await ConnectionProvider.getHandler().getView({
@@ -27274,7 +27311,7 @@ function DashboardTree(e) {
27274
27311
  id: n,
27275
27312
  context: u
27276
27313
  });
27277
- y(T);
27314
+ _(T);
27278
27315
  };
27279
27316
  useEffect(() => {
27280
27317
  t ? I("action") : r && I("model");
@@ -27373,7 +27410,7 @@ function Dashboard(e, t) {
27373
27410
  setIsLoading: p,
27374
27411
  openAction: v,
27375
27412
  moveItemsEnabled: h
27376
- } = useContext(DashboardActionContext), y = useRef(), x = useRef();
27413
+ } = useContext(DashboardActionContext), _ = useRef(), x = useRef();
27377
27414
  useEffect(() => {
27378
27415
  m();
27379
27416
  }, [r, a, n]), useImperativeHandle(t, () => ({
@@ -27387,7 +27424,7 @@ function Dashboard(e, t) {
27387
27424
  try {
27388
27425
  const S = await g(), $ = await b(S), O = S.fields[itemsField].relation, A = $[itemsField].items;
27389
27426
  x.current = S.fields;
27390
- const M = await _({
27427
+ const M = await y({
27391
27428
  items: A,
27392
27429
  model: O,
27393
27430
  context: n
@@ -27404,18 +27441,18 @@ function Dashboard(e, t) {
27404
27441
  context: n
27405
27442
  });
27406
27443
  }
27407
- async function _({
27444
+ async function y({
27408
27445
  items: S,
27409
27446
  model: $,
27410
27447
  context: O
27411
27448
  }) {
27412
- return y.current = (await ConnectionProvider.getHandler().getView({
27449
+ return _.current = (await ConnectionProvider.getHandler().getView({
27413
27450
  model: $,
27414
27451
  type: "form",
27415
27452
  context: O
27416
27453
  })).fields, await readObjectValues({
27417
- treeFields: y.current,
27418
- formFields: y.current,
27454
+ treeFields: _.current,
27455
+ formFields: _.current,
27419
27456
  model: $,
27420
27457
  items: S,
27421
27458
  context: O
@@ -27480,7 +27517,7 @@ function Dashboard(e, t) {
27480
27517
  }
27481
27518
  };
27482
27519
  }), M = {
27483
- fields: y.current,
27520
+ fields: _.current,
27484
27521
  items: A
27485
27522
  };
27486
27523
  await ConnectionProvider.getHandler().update({
@@ -27668,7 +27705,7 @@ const Dashboard$1 = forwardRef(Dashboard), Tag = (e) => /* @__PURE__ */ jsx(Fiel
27668
27705
  relation: p,
27669
27706
  context: v,
27670
27707
  readOnly: h,
27671
- field: y,
27708
+ field: _,
27672
27709
  columns: x
27673
27710
  } = r, m = useContext(FormContext$2), {
27674
27711
  getContext: g
@@ -27676,7 +27713,7 @@ const Dashboard$1 = forwardRef(Dashboard), Tag = (e) => /* @__PURE__ */ jsx(Fiel
27676
27713
  useDeepCompareEffect(() => {
27677
27714
  b();
27678
27715
  }, [a]);
27679
- const _ = (S) => {
27716
+ const y = (S) => {
27680
27717
  n == null || n({
27681
27718
  items: S
27682
27719
  });
@@ -27700,13 +27737,13 @@ const Dashboard$1 = forwardRef(Dashboard), Tag = (e) => /* @__PURE__ */ jsx(Fiel
27700
27737
  const O = (await ConnectionProvider.getHandler().search({
27701
27738
  model: p,
27702
27739
  params: S,
27703
- fields: [y],
27740
+ fields: [_],
27704
27741
  context: {
27705
27742
  ...g == null ? void 0 : g(),
27706
27743
  ...v
27707
27744
  }
27708
27745
  })).map((A) => {
27709
- const M = A[y];
27746
+ const M = A[_];
27710
27747
  let P = M;
27711
27748
  return Array.isArray(M) && (P = M[1]), {
27712
27749
  label: P,
@@ -27744,7 +27781,7 @@ const Dashboard$1 = forwardRef(Dashboard), Tag = (e) => /* @__PURE__ */ jsx(Fiel
27744
27781
  id: A,
27745
27782
  operation: "pendingLink"
27746
27783
  });
27747
- }), _($);
27784
+ }), y($);
27748
27785
  };
27749
27786
  return d && s.length === 0 ? /* @__PURE__ */ jsx(Spin, {}) : /* @__PURE__ */ jsx(Fragment, {
27750
27787
  children: /* @__PURE__ */ jsxs("div", {
@@ -28013,7 +28050,7 @@ function RootView(e, t) {
28013
28050
  type: I
28014
28051
  };
28015
28052
  }
28016
- _({
28053
+ y({
28017
28054
  domain: [...F, ...$],
28018
28055
  context: {
28019
28056
  ...a,
@@ -28033,7 +28070,7 @@ function RootView(e, t) {
28033
28070
  limit: L
28034
28071
  });
28035
28072
  }
28036
- function y({
28073
+ function _({
28037
28074
  title: b,
28038
28075
  content: C,
28039
28076
  key: w,
@@ -28088,7 +28125,7 @@ function RootView(e, t) {
28088
28125
  ...B
28089
28126
  }
28090
28127
  }) : [];
28091
- _({
28128
+ y({
28092
28129
  model: $,
28093
28130
  target: P,
28094
28131
  views: M,
@@ -28163,7 +28200,7 @@ function RootView(e, t) {
28163
28200
  id: L,
28164
28201
  type: W
28165
28202
  };
28166
- _({
28203
+ y({
28167
28204
  domain: M,
28168
28205
  context: {
28169
28206
  ...a,
@@ -28199,7 +28236,7 @@ function RootView(e, t) {
28199
28236
  domain: $
28200
28237
  });
28201
28238
  }
28202
- async function _({
28239
+ async function y({
28203
28240
  domain: b,
28204
28241
  context: C,
28205
28242
  model: w,
@@ -28246,7 +28283,7 @@ function RootView(e, t) {
28246
28283
  ...O,
28247
28284
  id: O.id[0]
28248
28285
  } : O;
28249
- y({
28286
+ _({
28250
28287
  title: S,
28251
28288
  action: {
28252
28289
  id: A,
@@ -28280,7 +28317,7 @@ function RootView(e, t) {
28280
28317
  lang: o,
28281
28318
  children: /* @__PURE__ */ jsx(TabManagerProvider, {
28282
28319
  openShortcut: m,
28283
- openAction: _,
28320
+ openAction: y,
28284
28321
  openRelate: x,
28285
28322
  openDefaultActionForModel: g,
28286
28323
  tabs: l,
@@ -28410,11 +28447,11 @@ const FavouriteButton = (e) => {
28410
28447
  onAddFavourite: n,
28411
28448
  onRemoveFavourite: a
28412
28449
  } = e, [o, s] = useState$1(!1), [u, l] = useState$1(!1), [c, d] = useState$1([]), [f, p] = useState$1(!0), [v, h] = useState$1(), {
28413
- t: y
28450
+ t: _
28414
28451
  } = useContext(LocaleContext) || {}, x = useContext(TabManagerContext), {
28415
28452
  openShortcut: m,
28416
28453
  tabs: g,
28417
- activeKey: _,
28454
+ activeKey: y,
28418
28455
  currentView: b,
28419
28456
  currentId: C,
28420
28457
  openDefaultActionForModel: w
@@ -28423,7 +28460,7 @@ const FavouriteButton = (e) => {
28423
28460
  D();
28424
28461
  }, []), useEffect(() => {
28425
28462
  O();
28426
- }, [g, _, b, C]);
28463
+ }, [g, y, b, C]);
28427
28464
  async function D() {
28428
28465
  try {
28429
28466
  p(!0);
@@ -28447,7 +28484,7 @@ const FavouriteButton = (e) => {
28447
28484
  async function O() {
28448
28485
  if (!b)
28449
28486
  return;
28450
- const F = g.find((L) => L.key === _), {
28487
+ const F = g.find((L) => L.key === y), {
28451
28488
  id: k,
28452
28489
  type: j
28453
28490
  } = (F == null ? void 0 : F.action) || {};
@@ -28484,14 +28521,14 @@ const FavouriteButton = (e) => {
28484
28521
  paddingLeft: 15,
28485
28522
  color: "#ccc"
28486
28523
  },
28487
- children: y == null ? void 0 : y("favorites").toUpperCase()
28524
+ children: _ == null ? void 0 : _("favorites").toUpperCase()
28488
28525
  }), /* @__PURE__ */ jsx("div", {
28489
28526
  style: {
28490
28527
  flexGrow: 1,
28491
28528
  paddingLeft: 10
28492
28529
  },
28493
28530
  children: /* @__PURE__ */ jsx(Tooltip$2, {
28494
- title: y == null ? void 0 : y("edit_favorites"),
28531
+ title: _ == null ? void 0 : _("edit_favorites"),
28495
28532
  children: /* @__PURE__ */ jsx(EditOutlined$4, {
28496
28533
  style: {
28497
28534
  color: "#1890FF",
@@ -28518,7 +28555,7 @@ const FavouriteButton = (e) => {
28518
28555
  padding: 5,
28519
28556
  paddingLeft: 15
28520
28557
  },
28521
- children: y == null ? void 0 : y("no_favorites")
28558
+ children: _ == null ? void 0 : _("no_favorites")
28522
28559
  })]
28523
28560
  });
28524
28561
  function P({
@@ -28545,7 +28582,7 @@ const FavouriteButton = (e) => {
28545
28582
  else {
28546
28583
  if (!b)
28547
28584
  return;
28548
- const F = g.find((U) => U.key === _), {
28585
+ const F = g.find((U) => U.key === y), {
28549
28586
  id: k,
28550
28587
  type: j
28551
28588
  } = (F == null ? void 0 : F.action) || {}, q = b.view_id;