@gisce/react-ooui 2.107.0-alpha.4 → 2.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  var zc = Object.defineProperty;
2
2
  var Kc = (t, e, n) => e in t ? zc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var Gs = (t, e, n) => (Kc(t, typeof e != "symbol" ? e + "" : e, n), n);
3
+ var Ys = (t, e, n) => (Kc(t, typeof e != "symbol" ? e + "" : e, n), n);
4
4
  import { jsx as s, jsxs as j, Fragment as Ce } from "react/jsx-runtime";
5
5
  import rn, { useContext as we, useState as F, useEffect as le, useRef as z, memo as ct, useCallback as A, useMemo as Z, forwardRef as jt, useImperativeHandle as Jt, Fragment as Qn, createContext as Jc, createElement as Xc } from "react";
6
- import { Tooltip as $t, theme as rt, Typography as ln, Form as Rt, Row as Qe, Col as Pe, Modal as It, Button as Ge, Dropdown as aa, Menu as la, Space as lt, Spin as st, Divider as Kr, Input as gt, Select as Rn, Checkbox as mr, Alert as Nt, Timeline as ca, Badge as Zn, message as Ys, Popover as Qc, Progress as Zc, Avatar as da, Tag as is, ColorPicker as ua, DatePicker as ed, TimePicker as td, InputNumber as Jr, Layout as fa, Pagination as nd, Empty as ma, Statistic as rd, Card as as, QRCode as od, Tabs as pa, Radio as zs, Switch as sd, Steps as Ks, Carousel as id } from "antd";
7
- import { Label as er, Field as jo, Tree as ha, Tags as Js, Reference as Xs, Selection as ls, Many2one as ga, Boolean as ad, parseContext as gn, graphProcessor as ya, graphFieldUtils as ld, parseContextFields as cd, parseDomainFields as dd, Integer as Uo, SearchFieldTypes as hn, SearchFilter as va, parseGraph as ba, Container as ud, Form as wa, transformDomainForChildWidget as cs, Button as fd } from "@gisce/ooui";
8
- import md, { QuestionCircleOutlined as xa, ExclamationCircleOutlined as Xr, LoadingOutlined as Xt, DownOutlined as Cr, CloseOutlined as _n, CheckOutlined as tr, TranslationOutlined as Ca, FolderOpenOutlined as ds, DownloadOutlined as us, ClearOutlined as nr, FormOutlined as pr, TableOutlined as fs, AreaChartOutlined as pd, CalendarOutlined as hd, FileAddOutlined as Qr, CloseCircleFilled as gd, FilterOutlined as Bn, EditOutlined as ms, CopyOutlined as Sr, DeleteOutlined as ps, InfoCircleOutlined as Zr, ReloadOutlined as eo, ThunderboltOutlined as to, PrinterOutlined as no, ExportOutlined as Sa, EnterOutlined as ro, SearchOutlined as Tr, SaveOutlined as Wo, PlusOutlined as qo, UpOutlined as yd, PlusSquareOutlined as Ta, MinusSquareOutlined as Fa, StarFilled as vd, StarOutlined as bd, LeftOutlined as Aa, RightOutlined as Ia, ApiOutlined as wd, AlignLeftOutlined as xd, EyeOutlined as Cd, LinkOutlined as Qs, BorderOuterOutlined as Sd, SettingOutlined as Td } from "@ant-design/icons";
6
+ import { Tooltip as $t, theme as rt, Typography as ln, Form as Rt, Row as Qe, Col as Pe, Modal as It, Button as Ge, Dropdown as la, Menu as ca, Space as lt, Spin as st, Divider as Kr, Input as gt, Select as Rn, Checkbox as mr, Alert as Nt, Timeline as da, Badge as Zn, message as zs, Popover as Qc, Progress as Zc, Avatar as ua, Tag as as, ColorPicker as fa, DatePicker as ed, TimePicker as td, InputNumber as Jr, Layout as ma, Pagination as nd, Empty as pa, Statistic as rd, Card as ls, QRCode as od, Tabs as ha, Radio as Ks, Switch as sd, Steps as Js, Carousel as id } from "antd";
7
+ import { Label as er, Field as jo, Tree as ga, Tags as Xs, Reference as Qs, Selection as cs, Many2one as ya, Boolean as ad, parseContext as gn, graphProcessor as va, graphFieldUtils as ld, parseContextFields as cd, parseDomainFields as dd, Integer as Uo, SearchFieldTypes as hn, SearchFilter as ba, parseGraph as wa, Container as ud, Form as xa, transformDomainForChildWidget as ds, Button as fd } from "@gisce/ooui";
8
+ import md, { QuestionCircleOutlined as Ca, ExclamationCircleOutlined as Xr, LoadingOutlined as Xt, DownOutlined as Cr, CloseOutlined as _n, CheckOutlined as tr, TranslationOutlined as Sa, FolderOpenOutlined as us, DownloadOutlined as fs, ClearOutlined as nr, FormOutlined as pr, TableOutlined as ms, AreaChartOutlined as pd, CalendarOutlined as hd, FileAddOutlined as Qr, CloseCircleFilled as gd, FilterOutlined as Bn, EditOutlined as ps, CopyOutlined as Sr, DeleteOutlined as hs, InfoCircleOutlined as Zr, ReloadOutlined as eo, ThunderboltOutlined as to, PrinterOutlined as no, ExportOutlined as Ta, EnterOutlined as ro, SearchOutlined as Tr, SaveOutlined as Wo, PlusOutlined as qo, UpOutlined as yd, PlusSquareOutlined as Fa, MinusSquareOutlined as Aa, StarFilled as vd, StarOutlined as bd, LeftOutlined as Ia, RightOutlined as Ra, ApiOutlined as wd, AlignLeftOutlined as xd, EyeOutlined as Cd, LinkOutlined as Zs, BorderOuterOutlined as Sd, SettingOutlined as Td } from "@ant-design/icons";
9
9
  import { Interweave as an } from "interweave";
10
10
  import ut from "dayjs";
11
11
  import { default as S0 } from "dayjs";
@@ -17,21 +17,21 @@ import _d from "dayjs/plugin/duration";
17
17
  import Ed from "dayjs/plugin/relativeTime";
18
18
  import Od from "dayjs/plugin/weekday";
19
19
  import Dd from "dayjs/plugin/localeData";
20
- import { useLocale as Se, Icon as Lr, iconMapper as Vt, useNotificationContext as kd, FormigaConfigProvider as Nd, mergeStrings as Md, Dropdown as Ra, ToggleDropdownButton as Pd, getTablerIcon as _a, DropdownButton as dn, Many2OneSuffix as $d, Many2OneSuffixModal as Zs, DateValue as Vd, DateTimeValue as Ld, useDatePickerLocale as Hd, SkeletonPill as Bd, PaginationHeader as jd, FieldSet as Ea, ExportModal as Ud, DateInput as Wd, HTMLPreview as qd, FavouriteButton as Gd } from "@gisce/react-formiga-components";
20
+ import { useLocale as Se, Icon as Lr, iconMapper as Vt, useNotificationContext as kd, FormigaConfigProvider as Nd, mergeStrings as Md, Dropdown as _a, ToggleDropdownButton as Pd, getTablerIcon as Ea, DropdownButton as dn, Many2OneSuffix as $d, Many2OneSuffixModal as ei, DateValue as Vd, DateTimeValue as Ld, useDatePickerLocale as Hd, SkeletonPill as Bd, PaginationHeader as jd, FieldSet as Oa, ExportModal as Ud, DateInput as Wd, HTMLPreview as qd, FavouriteButton as Gd } from "@gisce/react-formiga-components";
21
21
  import Yd from "antd/lib/input/TextArea";
22
22
  import Et from "styled-components";
23
- import hs from "react-measure";
23
+ import gs from "react-measure";
24
24
  import zd from "lodash/debounce";
25
- import { nanoid as gs } from "nanoid";
25
+ import { nanoid as ys } from "nanoid";
26
26
  import Go from "antd/lib/typography/Title";
27
27
  import { useDeepCompareEffect as je, useDeepCompareCallback as dt, useDeepCompareMemo as Ut } from "use-deep-compare";
28
28
  import { Line as Kd, Column as Jd, Pie as Xd } from "@ant-design/plots";
29
- import { createRoot as Oa } from "react-dom/client";
29
+ import { createRoot as Da } from "react-dom/client";
30
30
  import { fileTypeFromBuffer as Qd } from "file-type-buffer-browser";
31
31
  import { generate as Zd } from "@ant-design/colors";
32
- import { InfiniteTable as ys, Table as eu, PaginatedTable as tu } from "@gisce/react-formiga-table";
33
- import Da from "antd/es/typography/Link";
34
- import { isPresetStatusColor as ka, isPresetColor as Na } from "antd/lib/_util/colors";
32
+ import { InfiniteTable as vs, Table as eu, PaginatedTable as tu } from "@gisce/react-formiga-table";
33
+ import ka from "antd/es/typography/Link";
34
+ import { isPresetStatusColor as Na, isPresetColor as Ma } from "antd/lib/_util/colors";
35
35
  import nu from "validator";
36
36
  import Gn from "antd/es/alert/ErrorBoundary";
37
37
  import "@gisce/react-formiga-table/style.css";
@@ -46,10 +46,10 @@ import cu from "@monaco-editor/react";
46
46
  import du from "md5";
47
47
  import { WidthProvider as uu, Responsive as fu } from "react-grid-layout";
48
48
  import "react-grid-layout/css/styles.css";
49
- import { useSensors as mu, useSensor as ei, PointerSensor as pu, KeyboardSensor as hu, DndContext as gu, closestCenter as yu } from "@dnd-kit/core";
49
+ import { useSensors as mu, useSensor as ti, PointerSensor as pu, KeyboardSensor as hu, DndContext as gu, closestCenter as yu } from "@dnd-kit/core";
50
50
  import { restrictToHorizontalAxis as vu } from "@dnd-kit/modifiers";
51
51
  import { useSortable as bu, sortableKeyboardCoordinates as wu, SortableContext as xu, horizontalListSortingStrategy as Cu } from "@dnd-kit/sortable";
52
- import { AnimatePresence as Su, motion as ti } from "framer-motion";
52
+ import { AnimatePresence as Su, motion as ni } from "framer-motion";
53
53
  import Tu from "focus-trap-react";
54
54
  const Ze = rn.createContext(null), Fu = (t) => {
55
55
  const {
@@ -147,10 +147,10 @@ const Ze = rn.createContext(null), Fu = (t) => {
147
147
  };
148
148
  };
149
149
  var oo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
150
- function Ma(t) {
150
+ function Pa(t) {
151
151
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
152
152
  }
153
- var Pa = { exports: {} };
153
+ var $a = { exports: {} };
154
154
  (function(t, e) {
155
155
  (function(n, r) {
156
156
  t.exports = r();
@@ -230,9 +230,9 @@ var Pa = { exports: {} };
230
230
  };
231
231
  };
232
232
  });
233
- })(Pa);
234
- var Au = Pa.exports;
235
- const Iu = /* @__PURE__ */ Ma(Au);
233
+ })($a);
234
+ var Au = $a.exports;
235
+ const Iu = /* @__PURE__ */ Pa(Au);
236
236
  var Ru = { exports: {} };
237
237
  (function(t, e) {
238
238
  (function(n, r) {
@@ -311,7 +311,7 @@ const { Text: Ou, Title: Du } = ln, { useToken: ku } = rt, Nu = {
311
311
  className: `flex flex-row items-center pb-1 pt-1 ${Nu[g]}`,
312
312
  children: [
313
313
  i && /* @__PURE__ */ s($t, { title: i, children: /* @__PURE__ */ s(
314
- xa,
314
+ Ca,
315
315
  {
316
316
  className: "pr-1 text-xs",
317
317
  style: {
@@ -395,7 +395,7 @@ const { confirm: Mu } = It, tn = ({
395
395
  cancelText: r || o("cancel"),
396
396
  onOk: t
397
397
  });
398
- }, vs = (t) => {
398
+ }, bs = (t) => {
399
399
  const { ooui: e } = t, {
400
400
  id: n,
401
401
  label: r,
@@ -483,7 +483,7 @@ const { confirm: Mu } = It, tn = ({
483
483
  return null;
484
484
  if (e.buttons.length > 1)
485
485
  return /* @__PURE__ */ s(qe, { ooui: new jo({ defaultButton: n }), children: /* @__PURE__ */ j(
486
- aa.Button,
486
+ la.Button,
487
487
  {
488
488
  disabled: !a || m,
489
489
  onClick: C,
@@ -503,7 +503,7 @@ const { confirm: Mu } = It, tn = ({
503
503
  }
504
504
  ) });
505
505
  if (n)
506
- return /* @__PURE__ */ s(vs, { ooui: n });
506
+ return /* @__PURE__ */ s(bs, { ooui: n });
507
507
  }, $u = (t) => {
508
508
  const { t: e } = Se(), { button: n, executeButtonAction: r } = t, {
509
509
  id: o,
@@ -541,7 +541,7 @@ const { confirm: Mu } = It, tn = ({
541
541
  }
542
542
  }
543
543
  return /* @__PURE__ */ s(
544
- la.Item,
544
+ ca.Item,
545
545
  {
546
546
  disabled: !a || u,
547
547
  onClick: y,
@@ -563,9 +563,9 @@ const { confirm: Mu } = It, tn = ({
563
563
  },
564
564
  o.id
565
565
  ));
566
- return /* @__PURE__ */ s(la, { children: r });
566
+ return /* @__PURE__ */ s(ca, { children: r });
567
567
  }, Lu = 0.7;
568
- function ni() {
568
+ function ri() {
569
569
  const { innerWidth: t, innerHeight: e } = window;
570
570
  return {
571
571
  width: t,
@@ -574,11 +574,11 @@ function ni() {
574
574
  }
575
575
  function io() {
576
576
  const [t, e] = F(
577
- ni()
577
+ ri()
578
578
  );
579
579
  return le(() => {
580
580
  function n() {
581
- e(ni());
581
+ e(ri());
582
582
  }
583
583
  return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
584
584
  }, []), {
@@ -598,9 +598,9 @@ const Hn = class Hn {
598
598
  return Hn.handler;
599
599
  }
600
600
  };
601
- Gs(Hn, "handler");
601
+ Ys(Hn, "handler");
602
602
  let U = Hn;
603
- const $a = (t) => {
603
+ const Va = (t) => {
604
604
  let e, n, r;
605
605
  if (!t)
606
606
  e = "Error", n = "error", r = "Error";
@@ -683,7 +683,7 @@ const $a = (t) => {
683
683
  return;
684
684
  }
685
685
  if (typeof o == "object" && o !== null && (typeof o.message == "string" || typeof o.exception == "string")) {
686
- const i = $a(
686
+ const i = Va(
687
687
  o.message || o.exception
688
688
  );
689
689
  It.error({
@@ -713,7 +713,7 @@ const $a = (t) => {
713
713
  },
714
714
  destroyErrorNotification: n
715
715
  };
716
- }, Va = (t) => {
716
+ }, La = (t) => {
717
717
  const { visible: e, onCloseModal: n, model: r, id: o, field: i, onSubmitSucceed: a } = t, { modalWidth: c } = io(), { t: l } = Se(), [d, f] = F([]), [u, m] = F(!1), [p, g] = F(!1), [h, y] = F({}), v = z(), { showErrorNotification: b } = xt();
718
718
  le(() => {
719
719
  e ? x() : y({});
@@ -848,7 +848,7 @@ const { info: Hu } = It, Sn = (t) => {
848
848
  return /* @__PURE__ */ s("div", { style: { color: e.colorTextDisabled }, children: t });
849
849
  });
850
850
  ao.displayName = "AddonElement";
851
- const { defaultAlgorithm: ju, defaultSeed: Uu } = rt, bs = ju(Uu), hr = ct(
851
+ const { defaultAlgorithm: ju, defaultSeed: Uu } = rt, ws = ju(Uu), hr = ct(
852
852
  ({
853
853
  component: t,
854
854
  ooui: e,
@@ -875,11 +875,11 @@ const { defaultAlgorithm: ju, defaultSeed: Uu } = rt, bs = ju(Uu), hr = ct(
875
875
  }
876
876
  );
877
877
  hr.displayName = "BaseInput";
878
- const La = (t) => {
878
+ const Ha = (t) => {
879
879
  const { ooui: e, isSearchField: n = !1 } = t, { id: r, readOnly: o, required: i, translatable: a } = e;
880
- let c = /* @__PURE__ */ s(Ha, { ooui: e, isSearchField: n });
881
- return a && !o && !n && (c = /* @__PURE__ */ s(Ba, { ooui: e, field: r })), /* @__PURE__ */ s(qe, { required: i, ...t, children: c });
882
- }, Ha = ct(
880
+ let c = /* @__PURE__ */ s(Ba, { ooui: e, isSearchField: n });
881
+ return a && !o && !n && (c = /* @__PURE__ */ s(ja, { ooui: e, field: r })), /* @__PURE__ */ s(qe, { required: i, ...t, children: c });
882
+ }, Ba = ct(
883
883
  ({
884
884
  value: t,
885
885
  ooui: e,
@@ -915,7 +915,7 @@ const La = (t) => {
915
915
  return /* @__PURE__ */ s(
916
916
  hr,
917
917
  {
918
- component: u ? ja : gt,
918
+ component: u ? Ua : gt,
919
919
  ooui: e,
920
920
  value: f,
921
921
  disabled: a || m || l && !n,
@@ -927,8 +927,8 @@ const La = (t) => {
927
927
  );
928
928
  }
929
929
  );
930
- Ha.displayName = "CharInput";
931
- const Ba = ct(
930
+ Ba.displayName = "CharInput";
931
+ const ja = ct(
932
932
  ({
933
933
  ooui: t,
934
934
  value: e,
@@ -976,7 +976,7 @@ const Ba = ct(
976
976
  }
977
977
  ) }),
978
978
  /* @__PURE__ */ s(
979
- Va,
979
+ La,
980
980
  {
981
981
  id: i,
982
982
  model: a,
@@ -990,7 +990,7 @@ const Ba = ct(
990
990
  /* @__PURE__ */ s(Pe, { flex: "auto", children: /* @__PURE__ */ s(
991
991
  hr,
992
992
  {
993
- component: h ? ja : gt,
993
+ component: h ? Ua : gt,
994
994
  ooui: t,
995
995
  value: e,
996
996
  id: n,
@@ -1002,7 +1002,7 @@ const Ba = ct(
1002
1002
  St,
1003
1003
  {
1004
1004
  tooltip: m("translate"),
1005
- icon: /* @__PURE__ */ s(Ca, {}),
1005
+ icon: /* @__PURE__ */ s(Sa, {}),
1006
1006
  onClick: v,
1007
1007
  children: m("translate")
1008
1008
  }
@@ -1010,7 +1010,7 @@ const Ba = ct(
1010
1010
  ] });
1011
1011
  }
1012
1012
  );
1013
- Ba.displayName = "TranslatableCharComp";
1013
+ ja.displayName = "TranslatableCharComp";
1014
1014
  const Wu = Et(gt)`
1015
1015
  &.ant-input {
1016
1016
  cursor: ${(t) => t.disabled ? "pointer" : "text"};
@@ -1018,22 +1018,22 @@ const Wu = Et(gt)`
1018
1018
  }
1019
1019
  `, qu = Et(gt)`
1020
1020
  &.ant-input {
1021
- background-color: ${bs.colorPrimaryBg};
1021
+ background-color: ${ws.colorPrimaryBg};
1022
1022
  cursor: pointer;
1023
1023
  pointer-events: none;
1024
1024
  }
1025
- `, ja = Et(gt)`
1025
+ `, Ua = Et(gt)`
1026
1026
  &.ant-input {
1027
- background-color: ${bs.colorPrimaryBg};
1027
+ background-color: ${ws.colorPrimaryBg};
1028
1028
  }
1029
1029
  `, Gu = Et(gt.Password)`
1030
1030
  &.ant-input-affix-wrapper {
1031
- background-color: ${bs.colorPrimaryBg};
1031
+ background-color: ${ws.colorPrimaryBg};
1032
1032
  }
1033
- `, { defaultAlgorithm: Yu, defaultSeed: zu } = rt, Ku = Yu(zu), { Option: Ju } = Rn, Ua = (t) => {
1033
+ `, { defaultAlgorithm: Yu, defaultSeed: zu } = rt, Ku = Yu(zu), { Option: Ju } = Rn, Wa = (t) => {
1034
1034
  const { ooui: e } = t, { required: n } = e;
1035
- return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(Wa, { ...t }) });
1036
- }, Wa = (t) => {
1035
+ return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(qa, { ...t }) });
1036
+ }, qa = (t) => {
1037
1037
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, required: a } = e, c = Array.from(o.entries()), l = c && c.length && c.map((f) => {
1038
1038
  const [u, m] = f;
1039
1039
  return /* @__PURE__ */ s(Ju, { value: u, children: m }, u);
@@ -1055,7 +1055,7 @@ const Wu = Et(gt)`
1055
1055
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
1056
1056
  background-color: ${Ku.colorPrimaryBg};
1057
1057
  }
1058
- `, { defaultAlgorithm: Qu, defaultSeed: Zu } = rt, ri = Qu(Zu), ef = (t) => {
1058
+ `, { defaultAlgorithm: Qu, defaultSeed: Zu } = rt, oi = Qu(Zu), ef = (t) => {
1059
1059
  const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
1060
1060
  return /* @__PURE__ */ s(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(tf, { id: n, readOnly: r, required: o }) });
1061
1061
  }, tf = (t) => {
@@ -1063,11 +1063,11 @@ const Wu = Et(gt)`
1063
1063
  return /* @__PURE__ */ s("div", { className: "flex flex-row", children: /* @__PURE__ */ s(e && !n ? nf : mr, { disabled: n, ...r }) });
1064
1064
  }, nf = Et(mr)`
1065
1065
  .ant-checkbox-inner {
1066
- background-color: ${ri.colorPrimaryBg};
1066
+ background-color: ${oi.colorPrimaryBg};
1067
1067
  }
1068
1068
 
1069
1069
  .ant-checkbox-checked .ant-checkbox-inner {
1070
- background-color: ${ri.colorPrimary};
1070
+ background-color: ${oi.colorPrimary};
1071
1071
  }
1072
1072
  `;
1073
1073
  function rf(t) {
@@ -1083,7 +1083,7 @@ async function Yn(t) {
1083
1083
  ext: "txt"
1084
1084
  };
1085
1085
  }
1086
- const qa = (t) => new Promise((e, n) => {
1086
+ const Ga = (t) => new Promise((e, n) => {
1087
1087
  const r = new FileReader();
1088
1088
  r.readAsDataURL(t), r.onload = (o) => e(o.target.result.split(",")[1]), r.onerror = (o) => n(o);
1089
1089
  });
@@ -1094,7 +1094,7 @@ function lo(t, e) {
1094
1094
  const o = new Uint8Array(r), i = new Blob([o], { type: e + ";base64" }), a = URL.createObjectURL(i);
1095
1095
  window.open(a);
1096
1096
  }
1097
- const ws = (t) => {
1097
+ const xs = (t) => {
1098
1098
  const { value: e, style: n = {} } = t;
1099
1099
  if (e) {
1100
1100
  const r = Vt(e);
@@ -1108,7 +1108,7 @@ const ws = (t) => {
1108
1108
  }
1109
1109
  }, of = (t) => {
1110
1110
  const { ooui: e } = t, { required: n, id: r } = e;
1111
- return Vt(r) ? /* @__PURE__ */ s(ws, { value: r }) : /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(sf, { ooui: e }) });
1111
+ return Vt(r) ? /* @__PURE__ */ s(xs, { value: r }) : /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(sf, { ooui: e }) });
1112
1112
  }, sf = (t) => {
1113
1113
  const { ooui: e, value: n, onChange: r } = t, { readOnly: o } = e, i = z(null), { t: a } = Se(), c = (u) => {
1114
1114
  r == null || r(u);
@@ -1119,7 +1119,7 @@ const ws = (t) => {
1119
1119
  }
1120
1120
  async function d(u) {
1121
1121
  u.stopPropagation(), u.preventDefault();
1122
- const m = u.target.files[0], p = await qa(m);
1122
+ const m = u.target.files[0], p = await Ga(m);
1123
1123
  c(p);
1124
1124
  }
1125
1125
  function f() {
@@ -1128,7 +1128,7 @@ const ws = (t) => {
1128
1128
  return /* @__PURE__ */ j(Ce, { children: [
1129
1129
  /* @__PURE__ */ j(Qe, { gutter: 8, wrap: !1, justify: "center", children: [
1130
1130
  Z(
1131
- () => /* @__PURE__ */ s(ws, { value: n }),
1131
+ () => /* @__PURE__ */ s(xs, { value: n }),
1132
1132
  [n]
1133
1133
  ),
1134
1134
  /* @__PURE__ */ s(
@@ -1148,7 +1148,7 @@ const ws = (t) => {
1148
1148
  St,
1149
1149
  {
1150
1150
  tooltip: a("uploadNewImage"),
1151
- icon: /* @__PURE__ */ s(ds, {}),
1151
+ icon: /* @__PURE__ */ s(us, {}),
1152
1152
  disabled: o,
1153
1153
  onClick: () => {
1154
1154
  i.current.click();
@@ -1161,7 +1161,7 @@ const ws = (t) => {
1161
1161
  tooltip: a("download"),
1162
1162
  disabled: !n,
1163
1163
  onClick: l,
1164
- icon: /* @__PURE__ */ s(us, {})
1164
+ icon: /* @__PURE__ */ s(fs, {})
1165
1165
  }
1166
1166
  ),
1167
1167
  /* @__PURE__ */ s(
@@ -1197,13 +1197,13 @@ const ws = (t) => {
1197
1197
  }
1198
1198
  );
1199
1199
  }, en = (t) => {
1200
- const e = t.arch, n = t.fields, r = new ha(n);
1200
+ const e = t.arch, n = t.fields, r = new ga(n);
1201
1201
  return r.parse(e), r;
1202
1202
  };
1203
1203
  function cf(t) {
1204
1204
  return typeof t == "number" || typeof t == "string" || typeof t == "boolean" || t === null || t === void 0 || Array.isArray(t) && t.length === 0;
1205
1205
  }
1206
- const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1206
+ const Cs = (t, e, n, r = !1) => t.columns.map((i) => {
1207
1207
  const a = i.type, c = i.id, l = e == null ? void 0 : e[a];
1208
1208
  let d;
1209
1209
  return l ? d = (f) => l({ value: f, key: c, ooui: i, context: n }) : d = (f) => cf(f) ? f : /* @__PURE__ */ j("p", { style: { color: "red" }, children: [
@@ -1233,7 +1233,7 @@ const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1233
1233
  var f, u;
1234
1234
  if (d !== "id") {
1235
1235
  const m = t.findById(d);
1236
- if (m instanceof Js && ((u = (f = l[d]) == null ? void 0 : f.items) == null ? void 0 : u.length) > 0) {
1236
+ if (m instanceof Xs && ((u = (f = l[d]) == null ? void 0 : f.items) == null ? void 0 : u.length) > 0) {
1237
1237
  const p = `${m.relation}_${m.field}`;
1238
1238
  r.has(p) || r.set(p, {
1239
1239
  relation: m.relation,
@@ -1244,7 +1244,7 @@ const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1244
1244
  l[d].items.forEach((h) => {
1245
1245
  h.id && g.allIds.add(h.id);
1246
1246
  });
1247
- } else if (m instanceof Xs && l[d]) {
1247
+ } else if (m instanceof Qs && l[d]) {
1248
1248
  const [p, g] = l[d].split(","), h = parseInt(g);
1249
1249
  p && !isNaN(h) && (o.has(p) || o.set(p, /* @__PURE__ */ new Set()), o.get(p).add(h));
1250
1250
  }
@@ -1294,7 +1294,7 @@ const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1294
1294
  d[f] = l[f];
1295
1295
  else {
1296
1296
  const p = t.findById(f);
1297
- if (p instanceof Xs)
1297
+ if (p instanceof Qs)
1298
1298
  if (l[f]) {
1299
1299
  const [g, h] = l[f].split(","), y = parseInt(h);
1300
1300
  if (g && !isNaN(y)) {
@@ -1309,9 +1309,9 @@ const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1309
1309
  d[f] = l[f];
1310
1310
  } else
1311
1311
  d[f] = l[f];
1312
- else if (p instanceof ls)
1312
+ else if (p instanceof cs)
1313
1313
  d[f] = l[f];
1314
- else if (p instanceof ga)
1314
+ else if (p instanceof ya)
1315
1315
  d[f] = l[f] && Array.isArray(l[f]) && l[f].length === 2 && {
1316
1316
  model: p.relation,
1317
1317
  id: l[f][0],
@@ -1319,7 +1319,7 @@ const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1319
1319
  };
1320
1320
  else if (p instanceof ad)
1321
1321
  d[f] = l[f];
1322
- else if (p instanceof Js) {
1322
+ else if (p instanceof Xs) {
1323
1323
  const g = `${p.relation}_${p.field}`, h = i.get(g) || /* @__PURE__ */ new Map(), y = ((m = (u = l[f]) == null ? void 0 : u.items) == null ? void 0 : m.map((v) => {
1324
1324
  var b;
1325
1325
  return {
@@ -1338,12 +1338,12 @@ const xs = (t, e, n, r = !1) => t.columns.map((i) => {
1338
1338
  });
1339
1339
  };
1340
1340
  function zn(t) {
1341
- return Ga(t, "colors");
1341
+ return Ya(t, "colors");
1342
1342
  }
1343
1343
  function Hr(t) {
1344
- return Ga(t, "status");
1344
+ return Ya(t, "status");
1345
1345
  }
1346
- function Ga(t, e) {
1346
+ function Ya(t, e) {
1347
1347
  if (!t)
1348
1348
  return;
1349
1349
  const n = {};
@@ -1403,21 +1403,21 @@ const Kn = ({
1403
1403
  return `${e} ${n}`;
1404
1404
  }).join(", ");
1405
1405
  };
1406
- function Ya(t, e) {
1406
+ function za(t, e) {
1407
1407
  const n = new RegExp(`<tree[^>]*\\s+${e}="([^"]+)"`, "i"), r = t.match(n);
1408
1408
  return r && r[1] ? r[1] : null;
1409
1409
  }
1410
1410
  function Br(t) {
1411
1411
  return t.isExpandable === !0;
1412
1412
  }
1413
- function za(t) {
1413
+ function Ka(t) {
1414
1414
  const { treeView: e, limit: n, treeMaxLimit: r } = t;
1415
1415
  if (Br(e))
1416
1416
  return "paginated";
1417
1417
  if (n === 0 || n && n > r)
1418
1418
  return "infinite";
1419
1419
  if (e != null && e.arch) {
1420
- const o = Ya(e.arch, "infinite");
1420
+ const o = za(e.arch, "infinite");
1421
1421
  if (o) {
1422
1422
  if (o === "1" || o === "true")
1423
1423
  return "infinite";
@@ -1427,7 +1427,7 @@ function za(t) {
1427
1427
  }
1428
1428
  return "legacy";
1429
1429
  }
1430
- const Ka = (t) => {
1430
+ const Yo = (t) => {
1431
1431
  if (!(!(t != null && t.arch) || !(t != null && t.fields)))
1432
1432
  try {
1433
1433
  const n = en(t).columns.filter((r) => r.id && !r.invisible).map((r) => r.id);
@@ -1436,7 +1436,7 @@ const Ka = (t) => {
1436
1436
  console.error("Error extracting visible tree fields:", e);
1437
1437
  return;
1438
1438
  }
1439
- }, Cs = async (t) => {
1439
+ }, Ss = async (t) => {
1440
1440
  var h;
1441
1441
  const {
1442
1442
  items: e,
@@ -1528,7 +1528,7 @@ function mf(t) {
1528
1528
  return !e.includes(i, o + 1);
1529
1529
  });
1530
1530
  }
1531
- function oi({
1531
+ function si({
1532
1532
  values: t,
1533
1533
  fields: e
1534
1534
  }) {
@@ -1641,7 +1641,7 @@ const Xa = ({
1641
1641
  )) || []).length > 0 && (r[o] = e[o]);
1642
1642
  } else if (Array.isArray(e[o]))
1643
1643
  if (n[o].type === "many2one") {
1644
- if (!ii(t[o]) && !ii(e[o]))
1644
+ if (!ai(t[o]) && !ai(e[o]))
1645
1645
  return;
1646
1646
  if (Array.isArray(t[o])) {
1647
1647
  const l = JSON.stringify(t[o]), d = JSON.stringify(e[o]);
@@ -1712,13 +1712,13 @@ const Xa = ({
1712
1712
  o.secondary
1713
1713
  ));
1714
1714
  });
1715
- const n = e.primary.filter(si), r = e.secondary.filter(si).filter((o) => !n.includes(o));
1715
+ const n = e.primary.filter(ii), r = e.secondary.filter(ii).filter((o) => !n.includes(o));
1716
1716
  return {
1717
1717
  primary: n,
1718
1718
  secondary: r
1719
1719
  };
1720
1720
  };
1721
- function si(t, e, n) {
1721
+ function ii(t, e, n) {
1722
1722
  return n.indexOf(t) === e;
1723
1723
  }
1724
1724
  const En = ({
@@ -1749,7 +1749,7 @@ const En = ({
1749
1749
  }), wf = (t, e) => t.replace(
1750
1750
  /\{([^}]+)\}/g,
1751
1751
  (n, r) => e[r] !== void 0 ? e[r] : n
1752
- ), ii = (t) => !(!Array.isArray(t) || t.length !== 2 || t[0] === void 0 && t[1] === ""), xf = (t) => /* @__PURE__ */ j(
1752
+ ), ai = (t) => !(!Array.isArray(t) || t.length !== 2 || t[0] === void 0 && t[1] === ""), xf = (t) => /* @__PURE__ */ j(
1753
1753
  "div",
1754
1754
  {
1755
1755
  style: { display: "inline-block", cursor: "pointer" },
@@ -1804,7 +1804,7 @@ const En = ({
1804
1804
  async function k() {
1805
1805
  c(!0), d(void 0);
1806
1806
  try {
1807
- const [E] = await Cs({
1807
+ const [E] = await Ss({
1808
1808
  treeView: {
1809
1809
  fields: n.get("tree").fields,
1810
1810
  arch: n.get("tree").arch
@@ -1847,10 +1847,10 @@ const En = ({
1847
1847
  }
1848
1848
  )
1849
1849
  };
1850
- return ($ = E.values) != null && $[x] && (T.dot = O(E.values[x])), (M = E.values) != null && M[C] && (T.color = !ka(E.values[C]) && !Na(E.values[C]) && !E.values[C].toString().startsWith("#") ? Ar(E.values[C]) : E.values[C]), T;
1850
+ return ($ = E.values) != null && $[x] && (T.dot = O(E.values[x])), (M = E.values) != null && M[C] && (T.color = !Na(E.values[C]) && !Ma(E.values[C]) && !E.values[C].toString().startsWith("#") ? Ar(E.values[C]) : E.values[C]), T;
1851
1851
  });
1852
1852
  return /* @__PURE__ */ j(Ce, { children: [
1853
- /* @__PURE__ */ s(ca, { style: { padding: "1rem" }, items: N }),
1853
+ /* @__PURE__ */ s(da, { style: { padding: "1rem" }, items: N }),
1854
1854
  /* @__PURE__ */ s(
1855
1855
  Dn,
1856
1856
  {
@@ -2336,7 +2336,7 @@ const En = ({
2336
2336
  }
2337
2337
  );
2338
2338
  _f.displayName = "ConfigContextProvider";
2339
- const _t = 80, An = "ir.actions.act_window", Ef = "ir.actions.act_window_close", sl = "ir.actions.wizard", Yo = "ir.actions.report.xml", Of = "ir.actions.act_url", Df = "ir.actions.actions", kf = "ir.act.update_token";
2339
+ const _t = 80, An = "ir.actions.act_window", Ef = "ir.actions.act_window_close", sl = "ir.actions.wizard", zo = "ir.actions.report.xml", Of = "ir.actions.act_url", Df = "ir.actions.actions", kf = "ir.act.update_token";
2340
2340
  async function il({
2341
2341
  actionId: t,
2342
2342
  rootContext: e = {},
@@ -2384,7 +2384,7 @@ async function il({
2384
2384
  description: p,
2385
2385
  actionId: t,
2386
2386
  actionType: r,
2387
- key: gs(),
2387
+ key: ys(),
2388
2388
  views: d,
2389
2389
  model: l,
2390
2390
  context: { ...e, ...a },
@@ -2462,7 +2462,7 @@ const Nf = (t) => {
2462
2462
  if (typeof t == "string" && t.indexOf(" -- ") !== -1 && t.indexOf(`
2463
2463
 
2464
2464
  `) !== -1) {
2465
- const { message: o, type: i, title: a } = $a(t);
2465
+ const { message: o, type: i, title: a } = Va(t);
2466
2466
  n = /* @__PURE__ */ s(
2467
2467
  an,
2468
2468
  {
@@ -2491,7 +2491,7 @@ const Nf = (t) => {
2491
2491
  }, []);
2492
2492
  return [A(
2493
2493
  async (o, i) => {
2494
- const a = i || gs();
2494
+ const a = i || ys();
2495
2495
  e.current.has(a) && n(a);
2496
2496
  const c = new AbortController();
2497
2497
  e.current.set(a, c);
@@ -2517,7 +2517,7 @@ const Nf = (t) => {
2517
2517
  fixedHeight: m
2518
2518
  } = t;
2519
2519
  return /* @__PURE__ */ s(
2520
- hs,
2520
+ gs,
2521
2521
  {
2522
2522
  bounds: !0,
2523
2523
  onResize: (p) => {
@@ -2667,7 +2667,7 @@ function Pf({
2667
2667
  }
2668
2668
  );
2669
2669
  }
2670
- const { getValueForOperator: ai } = ya, $f = (t) => {
2670
+ const { getValueForOperator: li } = va, $f = (t) => {
2671
2671
  const {
2672
2672
  model: e,
2673
2673
  domain: n,
@@ -2712,7 +2712,7 @@ const { getValueForOperator: ai } = ya, $f = (t) => {
2712
2712
  fieldsToRetrieve: [d],
2713
2713
  context: r
2714
2714
  });
2715
- return ai({
2715
+ return li({
2716
2716
  values: H.map((K) => K[d]),
2717
2717
  operator: f
2718
2718
  });
@@ -2735,7 +2735,7 @@ const { getValueForOperator: ai } = ya, $f = (t) => {
2735
2735
  fieldsToRetrieve: [d],
2736
2736
  context: r
2737
2737
  });
2738
- return ai({
2738
+ return li({
2739
2739
  values: P.map((H) => H[d]),
2740
2740
  operator: f
2741
2741
  });
@@ -2799,7 +2799,7 @@ const { getValueForOperator: ai } = ya, $f = (t) => {
2799
2799
  fixedHeight: m
2800
2800
  }
2801
2801
  );
2802
- }, { processGraphData: Vf } = ya, { getFieldsToRetrieve: Lf } = ld, Hf = (t) => {
2802
+ }, { processGraphData: Vf } = va, { getFieldsToRetrieve: Lf } = ld, Hf = (t) => {
2803
2803
  const {
2804
2804
  model: e,
2805
2805
  ooui: n,
@@ -2922,7 +2922,7 @@ async function jf({
2922
2922
  context: r
2923
2923
  });
2924
2924
  return o && (g = [...g].sort((y, v) => y[o] - v[o])), {
2925
- values: await li({
2925
+ values: await ci({
2926
2926
  values: g,
2927
2927
  fieldsDefinition: u,
2928
2928
  context: r
@@ -2939,7 +2939,7 @@ async function jf({
2939
2939
  order: o
2940
2940
  });
2941
2941
  return {
2942
- values: await li({
2942
+ values: await ci({
2943
2943
  values: m,
2944
2944
  fieldsDefinition: u,
2945
2945
  context: r
@@ -2947,7 +2947,7 @@ async function jf({
2947
2947
  fields: u
2948
2948
  };
2949
2949
  }
2950
- async function li({
2950
+ async function ci({
2951
2951
  values: t,
2952
2952
  fieldsDefinition: e,
2953
2953
  context: n
@@ -3014,7 +3014,7 @@ const So = (t) => (e) => {
3014
3014
  );
3015
3015
  } else
3016
3016
  return t;
3017
- }, Uf = (t) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(t), dl = (t) => typeof t == "number" && !isNaN(t), ci = {
3017
+ }, Uf = (t) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(t), dl = (t) => typeof t == "number" && !isNaN(t), di = {
3018
3018
  default: {
3019
3019
  padding: "auto",
3020
3020
  xAxis: {
@@ -3151,7 +3151,7 @@ const Gf = {
3151
3151
  x: l.x,
3152
3152
  percent: c[d]
3153
3153
  }));
3154
- }, { Text: di } = ln, zf = 400, Kf = ct(Kd), Jf = ct(Jd), Xf = ct(Xd), Qf = {
3154
+ }, { Text: ui } = ln, zf = 400, Kf = ct(Kd), Jf = ct(Jd), Xf = ct(Xd), Qf = {
3155
3155
  line: Kf,
3156
3156
  bar: Jf,
3157
3157
  pie: Xf
@@ -3222,10 +3222,10 @@ const Gf = {
3222
3222
  height: a
3223
3223
  },
3224
3224
  children: [
3225
- /* @__PURE__ */ s("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ s(di, { type: "secondary", children: `${c("totalRegisters")} ${o.toLocaleString("es-ES", {
3225
+ /* @__PURE__ */ s("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ s(ui, { type: "secondary", children: `${c("totalRegisters")} ${o.toLocaleString("es-ES", {
3226
3226
  useGrouping: !0
3227
3227
  })}` }) }),
3228
- l && /* @__PURE__ */ s("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ s(di, { type: "secondary", children: `${c("total")} ${l.toLocaleString("es-ES", {
3228
+ l && /* @__PURE__ */ s("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ s(ui, { type: "secondary", children: `${c("total")} ${l.toLocaleString("es-ES", {
3229
3229
  useGrouping: !0
3230
3230
  })}` }) }),
3231
3231
  /* @__PURE__ */ s("div", { style: { width: "100%", height: "100%", overflow: "hidden" }, children: /* @__PURE__ */ s(p, { ...g }) })
@@ -3244,8 +3244,8 @@ function Zf(t) {
3244
3244
  yAxisOpts: c = { mode: "default" },
3245
3245
  fixedHeight: l
3246
3246
  } = t;
3247
- let d = { ...ci[e] };
3248
- if (d || (d = { ...ci.default }), d.data = n, d.height = l, e === "pie" ? (d.colorField = "x", d.angleField = "value", d = { ...d, ...Gf.inner }, d.legend.itemValue = i, d.label.content = a) : (d.xField = "x", d.yField = "value", d.seriesField = "type", d.isGroup = r, o && (d.isStack = !0, d.groupField = "stacked")), e === "line" && c.mode === "auto" && c.valueOpts) {
3247
+ let d = { ...di[e] };
3248
+ if (d || (d = { ...di.default }), d.data = n, d.height = l, e === "pie" ? (d.colorField = "x", d.angleField = "value", d = { ...d, ...Gf.inner }, d.legend.itemValue = i, d.label.content = a) : (d.xField = "x", d.yField = "value", d.seriesField = "type", d.isGroup = r, o && (d.isStack = !0, d.groupField = "stacked")), e === "line" && c.mode === "auto" && c.valueOpts) {
3249
3249
  const f = c.valueOpts.min, u = c.valueOpts.max;
3250
3250
  d.yAxis = {
3251
3251
  min: f,
@@ -3289,7 +3289,7 @@ const em = ({
3289
3289
  fixedHeight: a
3290
3290
  }
3291
3291
  );
3292
- }, ui = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, cr = (t, e) => {
3292
+ }, fi = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, cr = (t, e) => {
3293
3293
  const n = im(t), r = om(n), o = sm(
3294
3294
  r,
3295
3295
  e
@@ -3316,9 +3316,9 @@ const em = ({
3316
3316
  t,
3317
3317
  "in",
3318
3318
  e.map(
3319
- (a) => ui(a)
3319
+ (a) => fi(a)
3320
3320
  )
3321
- ] : [t, "=", ui(e)];
3321
+ ] : [t, "=", fi(e)];
3322
3322
  }, nm = (t) => Object.keys(t).filter((e) => e.indexOf("#date") !== -1), rm = (t) => {
3323
3323
  const e = { ...t };
3324
3324
  return Object.keys(e).forEach(
@@ -3390,15 +3390,15 @@ const em = ({
3390
3390
  cancelText: n("cancel")
3391
3391
  });
3392
3392
  }, To = {
3393
- tree: /* @__PURE__ */ s(fs, {}),
3393
+ tree: /* @__PURE__ */ s(ms, {}),
3394
3394
  form: /* @__PURE__ */ s(pr, {}),
3395
3395
  graph: /* @__PURE__ */ s(pd, {}),
3396
3396
  calendar: /* @__PURE__ */ s(hd, {})
3397
3397
  };
3398
- function fi(t) {
3398
+ function mi(t) {
3399
3399
  return t ? (To == null ? void 0 : To[t.type]) || /* @__PURE__ */ s(pr, {}) : /* @__PURE__ */ s(pr, {});
3400
3400
  }
3401
- function Ss(t) {
3401
+ function Ts(t) {
3402
3402
  const {
3403
3403
  currentView: e,
3404
3404
  availableViews: n,
@@ -3414,7 +3414,7 @@ function Ss(t) {
3414
3414
  return {
3415
3415
  id: u.view_id || m,
3416
3416
  name: u.title || p,
3417
- icon: fi(u),
3417
+ icon: mi(u),
3418
3418
  selected: e.view_id === u.view_id
3419
3419
  };
3420
3420
  })
@@ -3445,7 +3445,7 @@ function Ss(t) {
3445
3445
  St,
3446
3446
  {
3447
3447
  tooltip: a ? c("viewAs") + " " + c(a.type) : "",
3448
- icon: fi(a),
3448
+ icon: mi(a),
3449
3449
  style: {
3450
3450
  width: 50,
3451
3451
  borderTopRightRadius: 0,
@@ -3458,7 +3458,7 @@ function Ss(t) {
3458
3458
  }
3459
3459
  ),
3460
3460
  /* @__PURE__ */ s(
3461
- Ra,
3461
+ _a,
3462
3462
  {
3463
3463
  onRetrieveData: async () => l,
3464
3464
  onItemClick: f,
@@ -3562,7 +3562,7 @@ function gl(t) {
3562
3562
  )
3563
3563
  ] });
3564
3564
  }
3565
- async function Ts(t, e, n) {
3565
+ async function Fs(t, e, n) {
3566
3566
  const r = (await U.getHandler().getLogInfo({
3567
3567
  model: t,
3568
3568
  ids: [e]
@@ -3846,7 +3846,7 @@ const { useToken: um } = rt, fm = (t) => {
3846
3846
  /* @__PURE__ */ j("div", { style: { display: "flex" }, children: [
3847
3847
  /* @__PURE__ */ s("div", { style: { paddingLeft: 15, color: "#ccc" }, children: (D = d == null ? void 0 : d("saved_searches")) == null ? void 0 : D.toUpperCase() }),
3848
3848
  /* @__PURE__ */ s("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ s($t, { title: d == null ? void 0 : d("edit_saved_searches"), children: /* @__PURE__ */ s(
3849
- ms,
3849
+ ps,
3850
3850
  {
3851
3851
  style: { color: f.colorPrimary, cursor: "pointer" },
3852
3852
  onClick: E
@@ -3859,7 +3859,7 @@ const { useToken: um } = rt, fm = (t) => {
3859
3859
  ) })
3860
3860
  }
3861
3861
  );
3862
- }, yn = rn.createContext(null), mi = async (t) => {
3862
+ }, yn = rn.createContext(null), pi = async (t) => {
3863
3863
  var e;
3864
3864
  for (let n = 0; n < t.length; n++)
3865
3865
  await ((e = t == null ? void 0 : t[n]) == null ? void 0 : e.call(t));
@@ -3900,10 +3900,14 @@ const { useToken: um } = rt, fm = (t) => {
3900
3900
  id: K
3901
3901
  } = E;
3902
3902
  if (!M && $) {
3903
- const re = Ka($);
3904
- re && re.length > 0 && (B.fields = re);
3903
+ const te = Yo($);
3904
+ te && te.length > 0 && (B.fields = te);
3905
+ }
3906
+ if (!M && $) {
3907
+ const te = Yo($);
3908
+ te && te.length > 0 && (B.fields = te);
3905
3909
  }
3906
- if (H !== Yo) {
3910
+ if (H !== zo) {
3907
3911
  m({
3908
3912
  type: "error",
3909
3913
  title: "Error",
@@ -3927,7 +3931,7 @@ const { useToken: um } = rt, fm = (t) => {
3927
3931
  } catch (ge) {
3928
3932
  console.error(ge);
3929
3933
  }
3930
- const re = await U.getHandler().createReport({
3934
+ const te = await U.getHandler().createReport({
3931
3935
  model: L,
3932
3936
  name: P,
3933
3937
  datas: B,
@@ -3935,10 +3939,10 @@ const { useToken: um } = rt, fm = (t) => {
3935
3939
  context: { ...D, ...X }
3936
3940
  });
3937
3941
  c(!0), i.current = !0, o.current = setInterval(() => {
3938
- w(re);
3942
+ w(te);
3939
3943
  }, 1e3);
3940
- } catch (re) {
3941
- i.current = !1, clearInterval(o.current), m(re), c(!1);
3944
+ } catch (te) {
3945
+ i.current = !1, clearInterval(o.current), m(te), c(!1);
3942
3946
  }
3943
3947
  }
3944
3948
  async function w(N) {
@@ -3965,7 +3969,7 @@ const { useToken: um } = rt, fm = (t) => {
3965
3969
  view_id: M
3966
3970
  }) {
3967
3971
  const { type: V } = N;
3968
- if (D && f.current.push(D), V === Yo)
3972
+ if (D && f.current.push(D), V === zo)
3969
3973
  return await C({
3970
3974
  reportData: N,
3971
3975
  fields: E,
@@ -4097,7 +4101,7 @@ const { useToken: um } = rt, fm = (t) => {
4097
4101
  }), v(!1), await new Promise(($) => setTimeout($, 300)), x({ domain: N, model: E, context: _, formView: T, actionData: D }), v(!0);
4098
4102
  }
4099
4103
  async function O() {
4100
- mi(f.current), f.current = [], v(!1), x({
4104
+ pi(f.current), f.current = [], v(!1), x({
4101
4105
  domain: void 0,
4102
4106
  model: void 0,
4103
4107
  context: {},
@@ -4137,7 +4141,7 @@ const { useToken: um } = rt, fm = (t) => {
4137
4141
  visible: y,
4138
4142
  onSubmitSucceed: O,
4139
4143
  onCancel: () => {
4140
- mi(f.current), f.current = [], v(!1), x({
4144
+ pi(f.current), f.current = [], v(!1), x({
4141
4145
  domain: void 0,
4142
4146
  model: void 0,
4143
4147
  context: {},
@@ -4349,7 +4353,7 @@ const gm = "action", ym = ["active_id", "active_ids", "id"], vm = ["target", "co
4349
4353
  return Object.keys(o).length > 0 ? o : void 0;
4350
4354
  }, wl = (t) => !t || typeof t != "object" ? {} : Object.fromEntries(
4351
4355
  Object.entries(t).filter(([e]) => ym.includes(e))
4352
- ), xm = _a("IconExternalLink"), Cm = _a("IconShare2");
4356
+ ), xm = Ea("IconExternalLink"), Cm = Ea("IconShare2");
4353
4357
  function uo({ res_id: t, searchParams: e }) {
4354
4358
  const n = z(null), { currentView: r, limit: o, currentPage: i, order: a } = Lt(), c = {
4355
4359
  id: r.view_id,
@@ -4361,11 +4365,11 @@ function uo({ res_id: t, searchParams: e }) {
4361
4365
  w.value = C, document.body.appendChild(w), w.select(), w.setSelectionRange(0, 99999);
4362
4366
  const R = document.execCommand("copy");
4363
4367
  if (document.body.removeChild(w), R)
4364
- u(!0), Ys.success(d("urlCopiedToClipboard")), setTimeout(() => u(!1), 2e3);
4368
+ u(!0), zs.success(d("urlCopiedToClipboard")), setTimeout(() => u(!1), 2e3);
4365
4369
  else
4366
4370
  throw new Error("Copy command was unsuccessful.");
4367
4371
  } catch (w) {
4368
- console.error("Error copying to clipboard:", w), Ys.error(d("errorCopyingToClipboard"));
4372
+ console.error("Error copying to clipboard:", w), zs.error(d("errorCopyingToClipboard"));
4369
4373
  }
4370
4374
  },
4371
4375
  [u, d]
@@ -4476,7 +4480,7 @@ function Sm({
4476
4480
  (he = h == null ? void 0 : h.current) == null || he.refreshResults();
4477
4481
  }, [h]), X = A(() => {
4478
4482
  C == null || C(!x);
4479
- }, [x, C]), { actionButtonProps: Q, printButtonProps: re } = vl({
4483
+ }, [x, C]), { actionButtonProps: Q, printButtonProps: te } = vl({
4480
4484
  toolbar: n,
4481
4485
  model: g,
4482
4486
  view_id: c == null ? void 0 : c.view_id,
@@ -4497,14 +4501,14 @@ function Sm({
4497
4501
  var he;
4498
4502
  try {
4499
4503
  p == null || p(!0);
4500
- const te = d[0].id;
4504
+ const ne = d[0].id;
4501
4505
  await U.getHandler().duplicate({
4502
- id: te,
4506
+ id: ne,
4503
4507
  model: g,
4504
4508
  context: { ...t }
4505
4509
  }) && ((he = h == null ? void 0 : h.current) == null || he.refreshResults());
4506
- } catch (te) {
4507
- W(te);
4510
+ } catch (ne) {
4511
+ W(ne);
4508
4512
  } finally {
4509
4513
  p == null || p(!1);
4510
4514
  }
@@ -4520,11 +4524,11 @@ function Sm({
4520
4524
  try {
4521
4525
  f == null || f(!0), await U.getHandler().deleteObjects({
4522
4526
  model: g,
4523
- ids: d.map((te) => te.id),
4527
+ ids: d.map((ne) => ne.id),
4524
4528
  context: { ...t }
4525
4529
  }), y == null || y(void 0), v == null || v(void 0), (he = h == null ? void 0 : h.current) == null || he.refreshResults();
4526
- } catch (te) {
4527
- W(te);
4530
+ } catch (ne) {
4531
+ W(ne);
4528
4532
  } finally {
4529
4533
  f == null || f(!1);
4530
4534
  }
@@ -4545,8 +4549,8 @@ function Sm({
4545
4549
  ), Y = A(
4546
4550
  (he) => {
4547
4551
  he !== R && (he && he.trim().length > 0 && !R && (D == null || D([]), $ == null || $({})), w == null || w(he), R !== void 0 && setTimeout(() => {
4548
- var te;
4549
- (te = h == null ? void 0 : h.current) == null || te.refreshResults();
4552
+ var ne;
4553
+ (ne = h == null ? void 0 : h.current) == null || ne.refreshResults();
4550
4554
  }, 50));
4551
4555
  },
4552
4556
  [
@@ -4559,18 +4563,18 @@ function Sm({
4559
4563
  ), me = A(
4560
4564
  (he) => {
4561
4565
  if (he.id === "print_screen") {
4562
- let te = (d == null ? void 0 : d.map((ye) => ye.id)) || [];
4563
- te.length === 0 && (te = (O == null ? void 0 : O.map((ye) => ye.id)) || []), ge(
4566
+ let ne = (d == null ? void 0 : d.map((ye) => ye.id)) || [];
4567
+ ne.length === 0 && (ne = (O == null ? void 0 : O.map((ye) => ye.id)) || []), ge(
4564
4568
  {
4565
4569
  id: -1,
4566
4570
  model: g,
4567
4571
  report_name: "printscreen.list",
4568
- type: Yo,
4572
+ type: zo,
4569
4573
  datas: {
4570
4574
  view_id: c == null ? void 0 : c.view_id,
4571
- fields: !(c != null && c.view_id) && Ka(c),
4575
+ fields: !(c != null && c.view_id) && Yo(c),
4572
4576
  model: g,
4573
- ids: te
4577
+ ids: ne
4574
4578
  }
4575
4579
  },
4576
4580
  t
@@ -4685,7 +4689,7 @@ function Sm({
4685
4689
  /* @__PURE__ */ s(
4686
4690
  pl,
4687
4691
  {
4688
- icon: /* @__PURE__ */ s(ps, {}),
4692
+ icon: /* @__PURE__ */ s(hs, {}),
4689
4693
  tooltip: B("delete"),
4690
4694
  disabled: !(d && (d == null ? void 0 : d.length) > 0) || S || !(M != null && M.unlink),
4691
4695
  loading: u,
@@ -4700,7 +4704,7 @@ function Sm({
4700
4704
  icon: /* @__PURE__ */ s(Zr, {}),
4701
4705
  tooltip: B("showLogs"),
4702
4706
  disabled: !(d && (d == null ? void 0 : d.length) === 1) || S,
4703
- onClick: () => Ts(g, d[0].id, B)
4707
+ onClick: () => Fs(g, d[0].id, B)
4704
4708
  }
4705
4709
  ),
4706
4710
  /* @__PURE__ */ s(
@@ -4715,7 +4719,7 @@ function Sm({
4715
4719
  !e && /* @__PURE__ */ j(Ce, { children: [
4716
4720
  /* @__PURE__ */ s(wt, {}),
4717
4721
  /* @__PURE__ */ s(
4718
- Ss,
4722
+ Ts,
4719
4723
  {
4720
4724
  currentView: c,
4721
4725
  availableViews: a,
@@ -4727,7 +4731,7 @@ function Sm({
4727
4731
  ] }),
4728
4732
  /* @__PURE__ */ s(wt, {}),
4729
4733
  /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(to, {}), ...Q }),
4730
- /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(no, {}), ...re }),
4734
+ /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(no, {}), ...te }),
4731
4735
  V && /* @__PURE__ */ j(Ce, { children: [
4732
4736
  /* @__PURE__ */ s(wt, {}),
4733
4737
  /* @__PURE__ */ s(
@@ -4907,7 +4911,7 @@ const { useToken: Fm } = rt, { Title: Am, Text: Mr } = ln, fo = ({
4907
4911
  ),
4908
4912
  /* @__PURE__ */ s("div", { className: "pb-5" })
4909
4913
  ] });
4910
- }, Fs = ({
4914
+ }, As = ({
4911
4915
  model: t,
4912
4916
  formViewProps: e,
4913
4917
  treeViewProps: n,
@@ -5160,7 +5164,7 @@ const Om = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Al,
5160
5164
  {
5161
5165
  id: "open",
5162
5166
  name: c("open"),
5163
- icon: /* @__PURE__ */ s(Sa, {})
5167
+ icon: /* @__PURE__ */ s(Ta, {})
5164
5168
  },
5165
5169
  {
5166
5170
  id: "action",
@@ -5201,7 +5205,7 @@ const Om = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Al,
5201
5205
  }
5202
5206
  ),
5203
5207
  /* @__PURE__ */ s(
5204
- Zs,
5208
+ ei,
5205
5209
  {
5206
5210
  visible: r,
5207
5211
  items: l == null ? void 0 : l.actionItems,
@@ -5212,7 +5216,7 @@ const Om = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Al,
5212
5216
  }
5213
5217
  ),
5214
5218
  /* @__PURE__ */ s(
5215
- Zs,
5219
+ ei,
5216
5220
  {
5217
5221
  visible: i,
5218
5222
  items: l == null ? void 0 : l.printItems,
@@ -5383,7 +5387,7 @@ const g0 = Object.values(fn), $m = (t) => {
5383
5387
  let r = n;
5384
5388
  e.selectionValues.size ? r = e.selectionValues.get(n) : Array.isArray(n) && (r = n[1]);
5385
5389
  const o = r.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), i = Ar(r);
5386
- return /* @__PURE__ */ s($t, { title: r, children: /* @__PURE__ */ s(da, { alt: r, style: { backgroundColor: i }, children: o }) });
5390
+ return /* @__PURE__ */ s($t, { title: r, children: /* @__PURE__ */ s(ua, { alt: r, style: { backgroundColor: i }, children: o }) });
5387
5391
  };
5388
5392
  function Hm(t) {
5389
5393
  return t.length === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1);
@@ -5429,10 +5433,10 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5429
5433
  m().catch((g) => console.error(g));
5430
5434
  }, [m]), le(() => () => {
5431
5435
  r();
5432
- }, []), d ? /* @__PURE__ */ s(As, { color: c, children: d }) : null;
5433
- }, As = (t) => {
5436
+ }, []), d ? /* @__PURE__ */ s(Is, { color: c, children: d }) : null;
5437
+ }, Is = (t) => {
5434
5438
  let { color: e } = t, n = {};
5435
- if (!ka(t.color) && !Na(t.color)) {
5439
+ if (!Na(t.color) && !Ma(t.color)) {
5436
5440
  const r = nl(e);
5437
5441
  n = {
5438
5442
  color: r.text,
@@ -5441,7 +5445,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5441
5445
  borderWidth: "1px"
5442
5446
  }, e = r.background;
5443
5447
  }
5444
- return /* @__PURE__ */ s(is, { ...t, style: n, color: e, children: t.children });
5448
+ return /* @__PURE__ */ s(as, { ...t, style: n, color: e, children: t.children });
5445
5449
  }, Rl = ({
5446
5450
  emails: t,
5447
5451
  handleClose: e
@@ -5450,7 +5454,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5450
5454
  return null;
5451
5455
  const n = typeof t == "string" ? t.split(/[,;]/).map((r) => r.trim()) : t;
5452
5456
  return /* @__PURE__ */ s(Ce, { children: n.map((r, o) => /* @__PURE__ */ s(
5453
- is,
5457
+ as,
5454
5458
  {
5455
5459
  closable: !!e,
5456
5460
  color: nu.isEmail(r, { allow_display_name: !0 }) ? void 0 : "error",
@@ -5648,24 +5652,24 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5648
5652
  }) => Z(() => t ? e.fieldType === "many2one" ? /* @__PURE__ */ s(Ce, { children: t[1] }) : /* @__PURE__ */ s(Ce, { children: t }) : /* @__PURE__ */ s(Ce, {}), [t, e.fieldType]), Jm = ({
5649
5653
  value: t,
5650
5654
  ooui: e
5651
- }) => /* @__PURE__ */ s(Ld, { value: t, timezone: e.timezone }), pi = ({
5655
+ }) => /* @__PURE__ */ s(Ld, { value: t, timezone: e.timezone }), hi = ({
5652
5656
  value: t
5653
5657
  }) => Z(() => {
5654
5658
  const e = Array.isArray(t == null ? void 0 : t.items) ? t == null ? void 0 : t.items.length : 0;
5655
5659
  return /* @__PURE__ */ s(Ce, { children: `( ${e} )` });
5656
5660
  }, [t]), Xm = ({
5657
5661
  value: t
5658
- }) => Z(() => /* @__PURE__ */ s(Al, { value: t }), [t]), Qm = ({ value: t }) => Z(() => /* @__PURE__ */ s(Ce, { children: Fl(t) }), [t]), hi = ({ value: t }) => Z(
5662
+ }) => Z(() => /* @__PURE__ */ s(Al, { value: t }), [t]), Qm = ({ value: t }) => Z(() => /* @__PURE__ */ s(Ce, { children: Fl(t) }), [t]), gi = ({ value: t }) => Z(
5659
5663
  () => /* @__PURE__ */ s("div", { style: { textAlign: "right" }, children: t }),
5660
5664
  [t]
5661
5665
  ), Zm = ({ value: t }) => Z(
5662
- () => /* @__PURE__ */ s(ws, { value: t, style: { maxHeight: "30px" } }),
5666
+ () => /* @__PURE__ */ s(xs, { value: t, style: { maxHeight: "30px" } }),
5663
5667
  [t]
5664
5668
  ), ep = ({
5665
5669
  value: t,
5666
5670
  ooui: e
5667
5671
  }) => Z(
5668
- () => /* @__PURE__ */ s(ua, { value: t, disabled: !0, showText: !0 }),
5672
+ () => /* @__PURE__ */ s(fa, { value: t, disabled: !0, showText: !0 }),
5669
5673
  // eslint-disable-next-line react-hooks/exhaustive-deps
5670
5674
  [e, t]
5671
5675
  ), tp = ({
@@ -5698,7 +5702,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5698
5702
  ), o = Z(
5699
5703
  () => r.map((i) => {
5700
5704
  const { id: a, name: c } = i, l = Ar(c);
5701
- return /* @__PURE__ */ s(As, { color: l, children: c }, `${a}`);
5705
+ return /* @__PURE__ */ s(Is, { color: l, children: c }, `${a}`);
5702
5706
  }),
5703
5707
  [r]
5704
5708
  );
@@ -5716,17 +5720,17 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5716
5720
  ),
5717
5721
  [o]
5718
5722
  );
5719
- }, Is = {
5723
+ }, Rs = {
5720
5724
  boolean: Wm,
5721
5725
  many2one: Gm,
5722
5726
  text: Ym,
5723
- one2many: pi,
5724
- many2many: pi,
5727
+ one2many: hi,
5728
+ many2many: hi,
5725
5729
  progressbar: Xm,
5726
5730
  float_time: Qm,
5727
5731
  image: Zm,
5728
- integer: hi,
5729
- float: hi,
5732
+ integer: gi,
5733
+ float: gi,
5730
5734
  reference: rp,
5731
5735
  tag: tp,
5732
5736
  selection: np,
@@ -5780,7 +5784,7 @@ const vr = ({
5780
5784
  return t != null && t.colors && (n.colors = t.colors), t != null && t.status && (n.status = t.status), n;
5781
5785
  }
5782
5786
  return {};
5783
- }, Rs = ({
5787
+ }, _s = ({
5784
5788
  treeOoui: t,
5785
5789
  parentContext: e,
5786
5790
  columnStateKey: n,
@@ -5798,9 +5802,9 @@ const vr = ({
5798
5802
  Tt.FEATURE_MANY2ONE_SORT
5799
5803
  ), u = Ut(() => {
5800
5804
  if (t)
5801
- return xs(
5805
+ return Cs(
5802
5806
  t,
5803
- { ...Is },
5807
+ { ...Rs },
5804
5808
  e,
5805
5809
  f
5806
5810
  );
@@ -5855,7 +5859,7 @@ const vr = ({
5855
5859
  updateAttributes: l,
5856
5860
  clearAttributes: d
5857
5861
  };
5858
- }, _s = ({
5862
+ }, Es = ({
5859
5863
  aggregates: t,
5860
5864
  isLoading: e
5861
5865
  }) => {
@@ -5876,7 +5880,7 @@ const vr = ({
5876
5880
  ]
5877
5881
  }
5878
5882
  );
5879
- }, gi = ["sum", "count", "max", "min"], Es = ({
5883
+ }, yi = ["sum", "count", "max", "min"], Os = ({
5880
5884
  ooui: t,
5881
5885
  model: e,
5882
5886
  domain: n,
@@ -5888,9 +5892,9 @@ const vr = ({
5888
5892
  if (t)
5889
5893
  return t.columns.filter((p) => Object.keys(p).some((g) => {
5890
5894
  var h;
5891
- return p[g] !== void 0 && ((h = p[g]) == null ? void 0 : h.length) > 0 && gi.includes(g.slice(1));
5895
+ return p[g] !== void 0 && ((h = p[g]) == null ? void 0 : h.length) > 0 && yi.includes(g.slice(1));
5892
5896
  })).map((p) => {
5893
- const g = Object.keys(p).filter((h) => gi.includes(h.slice(1))).map((h) => h.slice(1));
5897
+ const g = Object.keys(p).filter((h) => yi.includes(h.slice(1))).map((h) => h.slice(1));
5894
5898
  return {
5895
5899
  [p.id]: g
5896
5900
  };
@@ -5967,14 +5971,14 @@ const vr = ({
5967
5971
  return o;
5968
5972
  if (n.length > 0)
5969
5973
  return [["id", "in", n.sort()]];
5970
- }, [n, o]), [a, c, l] = Es({
5974
+ }, [n, o]), [a, c, l] = Os({
5971
5975
  ooui: t,
5972
5976
  model: e,
5973
5977
  showEmptyValues: r,
5974
5978
  domain: i
5975
5979
  });
5976
5980
  return {
5977
- footerComponent: Z(() => l ? rn.createElement(_s, { aggregates: c, isLoading: a }) : null, [c, a, l]),
5981
+ footerComponent: Z(() => l ? rn.createElement(Es, { aggregates: c, isLoading: a }) : null, [c, a, l]),
5978
5982
  aggregates: c,
5979
5983
  hasAggregates: l,
5980
5984
  isLoading: a
@@ -6114,7 +6118,7 @@ const vr = ({
6114
6118
  handleKeyDown: r,
6115
6119
  handleBlur: o
6116
6120
  };
6117
- }, zo = ({
6121
+ }, Ko = ({
6118
6122
  value: t,
6119
6123
  onChange: e,
6120
6124
  numberOfSelectsToHide: n = 2,
@@ -6192,7 +6196,7 @@ const vr = ({
6192
6196
  );
6193
6197
  return /* @__PURE__ */ j(Qe, { gutter: 8, children: [
6194
6198
  /* @__PURE__ */ s(Pe, { span: 12, children: /* @__PURE__ */ s(
6195
- zo,
6199
+ Ko,
6196
6200
  {
6197
6201
  placeholder: "Start time",
6198
6202
  format: "HH:mm",
@@ -6205,7 +6209,7 @@ const vr = ({
6205
6209
  }
6206
6210
  ) }),
6207
6211
  /* @__PURE__ */ s(Pe, { span: 12, children: /* @__PURE__ */ s(
6208
- zo,
6212
+ Ko,
6209
6213
  {
6210
6214
  placeholder: "End time",
6211
6215
  style: { width: "100%" },
@@ -6218,7 +6222,7 @@ const vr = ({
6218
6222
  }
6219
6223
  ) })
6220
6224
  ] });
6221
- }, { defaultAlgorithm: pp, defaultSeed: hp } = rt, gp = pp(hp), Os = ct((t) => {
6225
+ }, { defaultAlgorithm: pp, defaultSeed: hp } = rt, gp = pp(hp), Ds = ct((t) => {
6222
6226
  const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i } = e, a = we(Ze), { elementHasLostFocus: c } = a || {}, l = Z(() => i && !o, [i, o]), d = Z(
6223
6227
  () => l ? yp : Jr,
6224
6228
  [l]
@@ -6239,7 +6243,7 @@ const vr = ({
6239
6243
  }
6240
6244
  ) });
6241
6245
  });
6242
- Os.displayName = "Float";
6246
+ Ds.displayName = "Float";
6243
6247
  const yp = Et(Jr)`
6244
6248
  &.ant-input-number {
6245
6249
  background-color: ${gp.colorPrimaryBg};
@@ -6279,7 +6283,7 @@ const Cp = Et(Jr)`
6279
6283
  }
6280
6284
  `;
6281
6285
  function Sp(t) {
6282
- const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof Uo ? br : Os, c = (l) => /* @__PURE__ */ s(
6286
+ const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof Uo ? br : Ds, c = (l) => /* @__PURE__ */ s(
6283
6287
  a,
6284
6288
  {
6285
6289
  ooui: {
@@ -6363,7 +6367,7 @@ function Dl(t) {
6363
6367
  const { t: n } = Se();
6364
6368
  switch (e.type) {
6365
6369
  case hn.boolean: {
6366
- const o = new ls({
6370
+ const o = new cs({
6367
6371
  name: e._id,
6368
6372
  string: e.label,
6369
6373
  selection: [
@@ -6371,7 +6375,7 @@ function Dl(t) {
6371
6375
  [!1, n("false")]
6372
6376
  ]
6373
6377
  });
6374
- return /* @__PURE__ */ s(Ua, { layout: "vertical", ooui: o, showLabel: !0 });
6378
+ return /* @__PURE__ */ s(Wa, { layout: "vertical", ooui: o, showLabel: !0 });
6375
6379
  }
6376
6380
  case hn.float:
6377
6381
  case hn.progressbar:
@@ -6386,7 +6390,7 @@ function Dl(t) {
6386
6390
  return /* @__PURE__ */ s(Rp, { layout: "vertical", ooui: e, showLabel: !0 });
6387
6391
  default:
6388
6392
  return /* @__PURE__ */ s(
6389
- La,
6393
+ Ha,
6390
6394
  {
6391
6395
  ooui: e,
6392
6396
  layout: "vertical",
@@ -6396,7 +6400,7 @@ function Dl(t) {
6396
6400
  );
6397
6401
  }
6398
6402
  }
6399
- const { useToken: Op } = rt, { Title: Dp } = ln, { Header: kp, Content: Np, Footer: Mp } = fa, Pp = ({
6403
+ const { useToken: Op } = rt, { Title: Dp } = ln, { Header: kp, Content: Np, Footer: Mp } = ma, Pp = ({
6400
6404
  isOpen: t,
6401
6405
  onClose: e,
6402
6406
  children: n,
@@ -6449,7 +6453,7 @@ const { useToken: Op } = rt, { Title: Dp } = ln, { Header: kp, Content: Np, Foot
6449
6453
  };
6450
6454
  return /* @__PURE__ */ s(Su, { children: t && /* @__PURE__ */ j(Ce, { children: [
6451
6455
  /* @__PURE__ */ s(
6452
- ti.div,
6456
+ ni.div,
6453
6457
  {
6454
6458
  initial: { opacity: 0 },
6455
6459
  animate: { opacity: 1 },
@@ -6477,7 +6481,7 @@ const { useToken: Op } = rt, { Title: Dp } = ln, { Header: kp, Content: Np, Foot
6477
6481
  returnFocusOnDeactivate: !0
6478
6482
  },
6479
6483
  children: /* @__PURE__ */ j(
6480
- ti.div,
6484
+ ni.div,
6481
6485
  {
6482
6486
  ref: f,
6483
6487
  initial: { x: "100%" },
@@ -6551,14 +6555,14 @@ const { useToken: Op } = rt, { Title: Dp } = ln, { Header: kp, Content: Np, Foot
6551
6555
  )
6552
6556
  ] }) });
6553
6557
  };
6554
- var yi = Object.prototype.toString, kl = function(e) {
6555
- var n = yi.call(e), r = n === "[object Arguments]";
6556
- return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && yi.call(e.callee) === "[object Function]"), r;
6557
- }, Ao, vi;
6558
+ var vi = Object.prototype.toString, kl = function(e) {
6559
+ var n = vi.call(e), r = n === "[object Arguments]";
6560
+ return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && vi.call(e.callee) === "[object Function]"), r;
6561
+ }, Ao, bi;
6558
6562
  function $p() {
6559
- if (vi)
6563
+ if (bi)
6560
6564
  return Ao;
6561
- vi = 1;
6565
+ bi = 1;
6562
6566
  var t;
6563
6567
  if (!Object.keys) {
6564
6568
  var e = Object.prototype.hasOwnProperty, n = Object.prototype.toString, r = kl, o = Object.prototype.propertyIsEnumerable, i = !o.call({ toString: null }, "toString"), a = o.call(function() {
@@ -6643,9 +6647,9 @@ function $p() {
6643
6647
  }
6644
6648
  return Ao = t, Ao;
6645
6649
  }
6646
- var Vp = Array.prototype.slice, Lp = kl, bi = Object.keys, Pr = bi ? function(e) {
6647
- return bi(e);
6648
- } : $p(), wi = Object.keys;
6650
+ var Vp = Array.prototype.slice, Lp = kl, wi = Object.keys, Pr = wi ? function(e) {
6651
+ return wi(e);
6652
+ } : $p(), xi = Object.keys;
6649
6653
  Pr.shim = function() {
6650
6654
  if (Object.keys) {
6651
6655
  var e = function() {
@@ -6653,7 +6657,7 @@ Pr.shim = function() {
6653
6657
  return n && n.length === arguments.length;
6654
6658
  }(1, 2);
6655
6659
  e || (Object.keys = function(r) {
6656
- return Lp(r) ? wi(Vp.call(r)) : wi(r);
6660
+ return Lp(r) ? xi(Vp.call(r)) : xi(r);
6657
6661
  });
6658
6662
  } else
6659
6663
  Object.keys = Pr;
@@ -6685,7 +6689,7 @@ var Nl = Pr, Ml = function() {
6685
6689
  return !1;
6686
6690
  }
6687
6691
  return !0;
6688
- }, Hp = Ml, Ds = function() {
6692
+ }, Hp = Ml, ks = function() {
6689
6693
  return Hp() && !!Symbol.toStringTag;
6690
6694
  }, Pl = Object, Bp = Error, jp = EvalError, Up = RangeError, Wp = ReferenceError, qp = SyntaxError, $l = TypeError, Gp = URIError, Yp = Math.abs, zp = Math.floor, Kp = Math.max, Jp = Math.min, Xp = Math.pow, Qp = Math.round, Zp = Number.isNaN || function(e) {
6691
6695
  return e !== e;
@@ -6698,36 +6702,36 @@ if ($r)
6698
6702
  } catch {
6699
6703
  $r = null;
6700
6704
  }
6701
- var ks = $r, Vr = Object.defineProperty || !1;
6705
+ var Ns = $r, Vr = Object.defineProperty || !1;
6702
6706
  if (Vr)
6703
6707
  try {
6704
6708
  Vr({}, "a", { value: 1 });
6705
6709
  } catch {
6706
6710
  Vr = !1;
6707
6711
  }
6708
- var rh = Vr, Io, xi;
6712
+ var rh = Vr, Io, Ci;
6709
6713
  function oh() {
6710
- if (xi)
6714
+ if (Ci)
6711
6715
  return Io;
6712
- xi = 1;
6716
+ Ci = 1;
6713
6717
  var t = typeof Symbol < "u" && Symbol, e = Ml;
6714
6718
  return Io = function() {
6715
6719
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
6716
6720
  }, Io;
6717
6721
  }
6718
- var Ro, Ci;
6722
+ var Ro, Si;
6719
6723
  function Vl() {
6720
- return Ci || (Ci = 1, Ro = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ro;
6724
+ return Si || (Si = 1, Ro = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ro;
6721
6725
  }
6722
- var _o, Si;
6726
+ var _o, Ti;
6723
6727
  function Ll() {
6724
- if (Si)
6728
+ if (Ti)
6725
6729
  return _o;
6726
- Si = 1;
6730
+ Ti = 1;
6727
6731
  var t = Pl;
6728
6732
  return _o = t.getPrototypeOf || null, _o;
6729
6733
  }
6730
- var sh = "Function.prototype.bind called on incompatible ", ih = Object.prototype.toString, ah = Math.max, lh = "[object Function]", Ti = function(e, n) {
6734
+ var sh = "Function.prototype.bind called on incompatible ", ih = Object.prototype.toString, ah = Math.max, lh = "[object Function]", Fi = function(e, n) {
6731
6735
  for (var r = [], o = 0; o < e.length; o += 1)
6732
6736
  r[o] = e[o];
6733
6737
  for (var i = 0; i < n.length; i += 1)
@@ -6749,13 +6753,13 @@ var sh = "Function.prototype.bind called on incompatible ", ih = Object.prototyp
6749
6753
  if (this instanceof o) {
6750
6754
  var f = n.apply(
6751
6755
  this,
6752
- Ti(r, arguments)
6756
+ Fi(r, arguments)
6753
6757
  );
6754
6758
  return Object(f) === f ? f : this;
6755
6759
  }
6756
6760
  return n.apply(
6757
6761
  e,
6758
- Ti(r, arguments)
6762
+ Fi(r, arguments)
6759
6763
  );
6760
6764
  }, a = ah(0, n.length - r.length), c = [], l = 0; l < a; l++)
6761
6765
  c[l] = "$" + l;
@@ -6765,44 +6769,44 @@ var sh = "Function.prototype.bind called on incompatible ", ih = Object.prototyp
6765
6769
  d.prototype = n.prototype, o.prototype = new d(), d.prototype = null;
6766
6770
  }
6767
6771
  return o;
6768
- }, fh = uh, _r = Function.prototype.bind || fh, Eo, Fi;
6769
- function Ns() {
6770
- return Fi || (Fi = 1, Eo = Function.prototype.call), Eo;
6772
+ }, fh = uh, _r = Function.prototype.bind || fh, Eo, Ai;
6773
+ function Ms() {
6774
+ return Ai || (Ai = 1, Eo = Function.prototype.call), Eo;
6771
6775
  }
6772
- var Oo, Ai;
6776
+ var Oo, Ii;
6773
6777
  function Hl() {
6774
- return Ai || (Ai = 1, Oo = Function.prototype.apply), Oo;
6778
+ return Ii || (Ii = 1, Oo = Function.prototype.apply), Oo;
6775
6779
  }
6776
- var Do, Ii;
6780
+ var Do, Ri;
6777
6781
  function mh() {
6778
- return Ii || (Ii = 1, Do = typeof Reflect < "u" && Reflect && Reflect.apply), Do;
6782
+ return Ri || (Ri = 1, Do = typeof Reflect < "u" && Reflect && Reflect.apply), Do;
6779
6783
  }
6780
- var ko, Ri;
6784
+ var ko, _i;
6781
6785
  function ph() {
6782
- if (Ri)
6786
+ if (_i)
6783
6787
  return ko;
6784
- Ri = 1;
6785
- var t = _r, e = Hl(), n = Ns(), r = mh();
6788
+ _i = 1;
6789
+ var t = _r, e = Hl(), n = Ms(), r = mh();
6786
6790
  return ko = r || t.call(n, e), ko;
6787
6791
  }
6788
- var No, _i;
6792
+ var No, Ei;
6789
6793
  function hh() {
6790
- if (_i)
6794
+ if (Ei)
6791
6795
  return No;
6792
- _i = 1;
6793
- var t = _r, e = $l, n = Ns(), r = ph();
6796
+ Ei = 1;
6797
+ var t = _r, e = $l, n = Ms(), r = ph();
6794
6798
  return No = function(i) {
6795
6799
  if (i.length < 1 || typeof i[0] != "function")
6796
6800
  throw new e("a function is required");
6797
6801
  return r(t, n, i);
6798
6802
  }, No;
6799
6803
  }
6800
- var Mo, Ei;
6804
+ var Mo, Oi;
6801
6805
  function gh() {
6802
- if (Ei)
6806
+ if (Oi)
6803
6807
  return Mo;
6804
- Ei = 1;
6805
- var t = hh(), e = ks, n;
6808
+ Oi = 1;
6809
+ var t = hh(), e = Ns, n;
6806
6810
  try {
6807
6811
  n = /** @type {{ __proto__?: typeof Array.prototype }} */
6808
6812
  [].__proto__ === Array.prototype;
@@ -6822,11 +6826,11 @@ function gh() {
6822
6826
  }
6823
6827
  ) : !1, Mo;
6824
6828
  }
6825
- var Po, Oi;
6829
+ var Po, Di;
6826
6830
  function yh() {
6827
- if (Oi)
6831
+ if (Di)
6828
6832
  return Po;
6829
- Oi = 1;
6833
+ Di = 1;
6830
6834
  var t = Vl(), e = Ll(), n = gh();
6831
6835
  return Po = t ? function(o) {
6832
6836
  return t(o);
@@ -6838,11 +6842,11 @@ function yh() {
6838
6842
  return n(o);
6839
6843
  } : null, Po;
6840
6844
  }
6841
- var $o, Di;
6845
+ var $o, ki;
6842
6846
  function vh() {
6843
- if (Di)
6847
+ if (ki)
6844
6848
  return $o;
6845
- Di = 1;
6849
+ ki = 1;
6846
6850
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = _r;
6847
6851
  return $o = n.call(t, e), $o;
6848
6852
  }
@@ -6851,7 +6855,7 @@ var Ye, bh = Pl, wh = Bp, xh = jp, Ch = Up, Sh = Wp, Xn = qp, Wn = $l, Th = Gp,
6851
6855
  return Bl('"use strict"; return (' + t + ").constructor;")();
6852
6856
  } catch {
6853
6857
  }
6854
- }, wr = ks, Dh = rh, Lo = function() {
6858
+ }, wr = Ns, Dh = rh, Lo = function() {
6855
6859
  throw new Wn();
6856
6860
  }, kh = wr ? function() {
6857
6861
  try {
@@ -6863,7 +6867,7 @@ var Ye, bh = Pl, wh = Bp, xh = jp, Ch = Up, Sh = Wp, Xn = qp, Wn = $l, Th = Gp,
6863
6867
  return Lo;
6864
6868
  }
6865
6869
  }
6866
- }() : Lo, Pn = oh()(), Ct = yh(), Nh = Ll(), Mh = Vl(), jl = Hl(), Er = Ns(), Ln = {}, Ph = typeof Uint8Array > "u" || !Ct ? Ye : Ct(Uint8Array), Tn = {
6870
+ }() : Lo, Pn = oh()(), Ct = yh(), Nh = Ll(), Mh = Vl(), jl = Hl(), Er = Ms(), Ln = {}, Ph = typeof Uint8Array > "u" || !Ct ? Ye : Ct(Uint8Array), Tn = {
6867
6871
  __proto__: null,
6868
6872
  "%AggregateError%": typeof AggregateError > "u" ? Ye : AggregateError,
6869
6873
  "%Array%": Array,
@@ -6970,7 +6974,7 @@ var Vh = function t(e) {
6970
6974
  o && Ct && (n = Ct(o.prototype));
6971
6975
  }
6972
6976
  return Tn[e] = n, n;
6973
- }, ki = {
6977
+ }, Ni = {
6974
6978
  __proto__: null,
6975
6979
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
6976
6980
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -7023,19 +7027,19 @@ var Vh = function t(e) {
7023
7027
  "%URIErrorPrototype%": ["URIError", "prototype"],
7024
7028
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
7025
7029
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
7026
- }, Or = _r, qr = vh(), Lh = Or.call(Er, Array.prototype.concat), Hh = Or.call(jl, Array.prototype.splice), Ni = Or.call(Er, String.prototype.replace), Gr = Or.call(Er, String.prototype.slice), Bh = Or.call(Er, RegExp.prototype.exec), jh = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Uh = /\\(\\)?/g, Wh = function(e) {
7030
+ }, Or = _r, qr = vh(), Lh = Or.call(Er, Array.prototype.concat), Hh = Or.call(jl, Array.prototype.splice), Mi = Or.call(Er, String.prototype.replace), Gr = Or.call(Er, String.prototype.slice), Bh = Or.call(Er, RegExp.prototype.exec), jh = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Uh = /\\(\\)?/g, Wh = function(e) {
7027
7031
  var n = Gr(e, 0, 1), r = Gr(e, -1);
7028
7032
  if (n === "%" && r !== "%")
7029
7033
  throw new Xn("invalid intrinsic syntax, expected closing `%`");
7030
7034
  if (r === "%" && n !== "%")
7031
7035
  throw new Xn("invalid intrinsic syntax, expected opening `%`");
7032
7036
  var o = [];
7033
- return Ni(e, jh, function(i, a, c, l) {
7034
- o[o.length] = c ? Ni(l, Uh, "$1") : a || i;
7037
+ return Mi(e, jh, function(i, a, c, l) {
7038
+ o[o.length] = c ? Mi(l, Uh, "$1") : a || i;
7035
7039
  }), o;
7036
7040
  }, qh = function(e, n) {
7037
7041
  var r = e, o;
7038
- if (qr(ki, r) && (o = ki[r], r = "%" + o[0] + "%"), qr(Tn, r)) {
7042
+ if (qr(Ni, r) && (o = Ni[r], r = "%" + o[0] + "%"), qr(Tn, r)) {
7039
7043
  var i = Tn[r];
7040
7044
  if (i === Ln && (i = Vh(r)), typeof i > "u" && !n)
7041
7045
  throw new Wn("intrinsic " + e + " exists, but is not available. Please file an issue!");
@@ -7102,36 +7106,36 @@ var Vh = function t(e) {
7102
7106
  };
7103
7107
  c ? c(t.exports, "apply", { value: d }) : t.exports.apply = d;
7104
7108
  })(Ul);
7105
- var Ms = Ul.exports, Wl = mo, ql = Ms, Gh = ql(Wl("String.prototype.indexOf")), Gl = function(e, n) {
7109
+ var Ps = Ul.exports, Wl = mo, ql = Ps, Gh = ql(Wl("String.prototype.indexOf")), Gl = function(e, n) {
7106
7110
  var r = Wl(e, !!n);
7107
7111
  return typeof r == "function" && Gh(e, ".prototype.") > -1 ? ql(r) : r;
7108
- }, Yh = Ds(), zh = Gl, Ko = zh("Object.prototype.toString"), po = function(e) {
7109
- return Yh && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Ko(e) === "[object Arguments]";
7112
+ }, Yh = ks(), zh = Gl, Jo = zh("Object.prototype.toString"), po = function(e) {
7113
+ return Yh && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Jo(e) === "[object Arguments]";
7110
7114
  }, Yl = function(e) {
7111
- return po(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Ko(e) !== "[object Array]" && Ko(e.callee) === "[object Function]";
7115
+ return po(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Jo(e) !== "[object Array]" && Jo(e.callee) === "[object Function]";
7112
7116
  }, Kh = function() {
7113
7117
  return po(arguments);
7114
7118
  }();
7115
7119
  po.isLegacyArguments = Yl;
7116
- var Jh = Kh ? po : Yl, Xh = mo, Jo = Xh("%Object.defineProperty%", !0), Xo = function() {
7117
- if (Jo)
7120
+ var Jh = Kh ? po : Yl, Xh = mo, Xo = Xh("%Object.defineProperty%", !0), Qo = function() {
7121
+ if (Xo)
7118
7122
  try {
7119
- return Jo({}, "a", { value: 1 }), !0;
7123
+ return Xo({}, "a", { value: 1 }), !0;
7120
7124
  } catch {
7121
7125
  return !1;
7122
7126
  }
7123
7127
  return !1;
7124
7128
  };
7125
- Xo.hasArrayLengthDefineBug = function() {
7126
- if (!Xo())
7129
+ Qo.hasArrayLengthDefineBug = function() {
7130
+ if (!Qo())
7127
7131
  return null;
7128
7132
  try {
7129
- return Jo([], "length", { value: 1 }).length !== 1;
7133
+ return Xo([], "length", { value: 1 }).length !== 1;
7130
7134
  } catch {
7131
7135
  return !0;
7132
7136
  }
7133
7137
  };
7134
- var Ps = Xo, Qh = Ps(), $s = mo, Mi = Qh && $s("%Object.defineProperty%", !0), Zh = $s("%SyntaxError%"), $n = $s("%TypeError%"), Pi = ks, zl = function(e, n, r) {
7138
+ var $s = Qo, Qh = $s(), Vs = mo, Pi = Qh && Vs("%Object.defineProperty%", !0), Zh = Vs("%SyntaxError%"), $n = Vs("%TypeError%"), $i = Ns, zl = function(e, n, r) {
7135
7139
  if (!e || typeof e != "object" && typeof e != "function")
7136
7140
  throw new $n("`obj` must be an object or a function`");
7137
7141
  if (typeof n != "string" && typeof n != "symbol")
@@ -7144,9 +7148,9 @@ var Ps = Xo, Qh = Ps(), $s = mo, Mi = Qh && $s("%Object.defineProperty%", !0), Z
7144
7148
  throw new $n("`nonConfigurable`, if provided, must be a boolean or null");
7145
7149
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
7146
7150
  throw new $n("`loose`, if provided, must be a boolean");
7147
- var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, c = arguments.length > 6 ? arguments[6] : !1, l = !!Pi && Pi(e, n);
7148
- if (Mi)
7149
- Mi(e, n, {
7151
+ var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, c = arguments.length > 6 ? arguments[6] : !1, l = !!$i && $i(e, n);
7152
+ if (Pi)
7153
+ Pi(e, n, {
7150
7154
  configurable: a === null && l ? l.configurable : !a,
7151
7155
  enumerable: o === null && l ? l.enumerable : !o,
7152
7156
  value: r,
@@ -7156,9 +7160,9 @@ var Ps = Xo, Qh = Ps(), $s = mo, Mi = Qh && $s("%Object.defineProperty%", !0), Z
7156
7160
  e[n] = r;
7157
7161
  else
7158
7162
  throw new Zh("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
7159
- }, eg = Nl, tg = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", ng = Object.prototype.toString, rg = Array.prototype.concat, $i = zl, og = function(t) {
7163
+ }, eg = Nl, tg = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", ng = Object.prototype.toString, rg = Array.prototype.concat, Vi = zl, og = function(t) {
7160
7164
  return typeof t == "function" && ng.call(t) === "[object Function]";
7161
- }, Kl = Ps(), sg = function(t, e, n, r) {
7165
+ }, Kl = $s(), sg = function(t, e, n, r) {
7162
7166
  if (e in t) {
7163
7167
  if (r === !0) {
7164
7168
  if (t[e] === n)
@@ -7166,7 +7170,7 @@ var Ps = Xo, Qh = Ps(), $s = mo, Mi = Qh && $s("%Object.defineProperty%", !0), Z
7166
7170
  } else if (!og(r) || !r())
7167
7171
  return;
7168
7172
  }
7169
- Kl ? $i(t, e, n, !0) : $i(t, e, n);
7173
+ Kl ? Vi(t, e, n, !0) : Vi(t, e, n);
7170
7174
  }, Jl = function(t, e) {
7171
7175
  var n = arguments.length > 2 ? arguments[2] : {}, r = eg(e);
7172
7176
  tg && (r = rg.call(r, Object.getOwnPropertySymbols(e)));
@@ -7174,10 +7178,10 @@ var Ps = Xo, Qh = Ps(), $s = mo, Mi = Qh && $s("%Object.defineProperty%", !0), Z
7174
7178
  sg(t, r[o], e[r[o]], n[r[o]]);
7175
7179
  };
7176
7180
  Jl.supportsDescriptors = !!Kl;
7177
- var Dr = Jl, Vi = function(t) {
7181
+ var Dr = Jl, Li = function(t) {
7178
7182
  return t !== t;
7179
7183
  }, Xl = function(e, n) {
7180
- return e === 0 && n === 0 ? 1 / e === 1 / n : !!(e === n || Vi(e) && Vi(n));
7184
+ return e === 0 && n === 0 ? 1 / e === 1 / n : !!(e === n || Li(e) && Li(n));
7181
7185
  }, ig = Xl, Ql = function() {
7182
7186
  return typeof Object.is == "function" ? Object.is : ig;
7183
7187
  }, ag = Ql, lg = Dr, cg = function() {
@@ -7187,33 +7191,33 @@ var Dr = Jl, Vi = function(t) {
7187
7191
  return Object.is !== e;
7188
7192
  }
7189
7193
  }), e;
7190
- }, dg = Dr, ug = Ms, fg = Xl, Zl = Ql, mg = cg, ec = ug(Zl(), Object);
7194
+ }, dg = Dr, ug = Ps, fg = Xl, Zl = Ql, mg = cg, ec = ug(Zl(), Object);
7191
7195
  dg(ec, {
7192
7196
  getPolyfill: Zl,
7193
7197
  implementation: fg,
7194
7198
  shim: mg
7195
7199
  });
7196
- var pg = ec, Qo = Gl, tc = Ds(), nc, rc, Zo, es;
7200
+ var pg = ec, Zo = Gl, tc = ks(), nc, rc, es, ts;
7197
7201
  if (tc) {
7198
- nc = Qo("Object.prototype.hasOwnProperty"), rc = Qo("RegExp.prototype.exec"), Zo = {};
7202
+ nc = Zo("Object.prototype.hasOwnProperty"), rc = Zo("RegExp.prototype.exec"), es = {};
7199
7203
  var Ho = function() {
7200
- throw Zo;
7204
+ throw es;
7201
7205
  };
7202
- es = {
7206
+ ts = {
7203
7207
  toString: Ho,
7204
7208
  valueOf: Ho
7205
- }, typeof Symbol.toPrimitive == "symbol" && (es[Symbol.toPrimitive] = Ho);
7209
+ }, typeof Symbol.toPrimitive == "symbol" && (ts[Symbol.toPrimitive] = Ho);
7206
7210
  }
7207
- var hg = Qo("Object.prototype.toString"), gg = Object.getOwnPropertyDescriptor, yg = "[object RegExp]", vg = tc ? function(e) {
7211
+ var hg = Zo("Object.prototype.toString"), gg = Object.getOwnPropertyDescriptor, yg = "[object RegExp]", vg = tc ? function(e) {
7208
7212
  if (!e || typeof e != "object")
7209
7213
  return !1;
7210
7214
  var n = gg(e, "lastIndex"), r = n && nc(n, "value");
7211
7215
  if (!r)
7212
7216
  return !1;
7213
7217
  try {
7214
- rc(e, es);
7218
+ rc(e, ts);
7215
7219
  } catch (o) {
7216
- return o === Zo;
7220
+ return o === es;
7217
7221
  }
7218
7222
  } : function(e) {
7219
7223
  return !e || typeof e != "object" && typeof e != "function" ? !1 : hg(e) === yg;
@@ -7239,11 +7243,11 @@ xr.boundFunctionsHaveNames = function() {
7239
7243
  return xr() && typeof bg == "function" && (function() {
7240
7244
  }).bind().name !== "";
7241
7245
  };
7242
- var wg = xr, Li = zl, xg = Ps(), Cg = wg.functionsHaveConfigurableNames(), Sg = TypeError, Tg = function(e, n) {
7246
+ var wg = xr, Hi = zl, xg = $s(), Cg = wg.functionsHaveConfigurableNames(), Sg = TypeError, Tg = function(e, n) {
7243
7247
  if (typeof e != "function")
7244
7248
  throw new Sg("`fn` is not a function");
7245
7249
  var r = arguments.length > 2 && !!arguments[2];
7246
- return (!r || Cg) && (xg ? Li(e, "name", n, !0, !0) : Li(e, "name", n)), e;
7250
+ return (!r || Cg) && (xg ? Hi(e, "name", n, !0, !0) : Hi(e, "name", n)), e;
7247
7251
  }, Fg = Tg, Ag = Object, Ig = TypeError, oc = Fg(function() {
7248
7252
  if (this != null && this !== Ag(this))
7249
7253
  throw new Ig("RegExp.prototype.flags getter called on non-object");
@@ -7267,16 +7271,16 @@ var wg = xr, Li = zl, xg = Ps(), Cg = wg.functionsHaveConfigurableNames(), Sg =
7267
7271
  }
7268
7272
  }
7269
7273
  return Rg;
7270
- }, Og = Dr.supportsDescriptors, Dg = sc, kg = Object.getOwnPropertyDescriptor, Ng = Object.defineProperty, Mg = TypeError, Hi = Object.getPrototypeOf, Pg = /a/, $g = function() {
7271
- if (!Og || !Hi)
7274
+ }, Og = Dr.supportsDescriptors, Dg = sc, kg = Object.getOwnPropertyDescriptor, Ng = Object.defineProperty, Mg = TypeError, Bi = Object.getPrototypeOf, Pg = /a/, $g = function() {
7275
+ if (!Og || !Bi)
7272
7276
  throw new Mg("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
7273
- var e = Dg(), n = Hi(Pg), r = kg(n, "flags");
7277
+ var e = Dg(), n = Bi(Pg), r = kg(n, "flags");
7274
7278
  return (!r || r.get !== e) && Ng(n, "flags", {
7275
7279
  configurable: !0,
7276
7280
  enumerable: !1,
7277
7281
  get: e
7278
7282
  }), e;
7279
- }, Vg = Dr, Lg = Ms, Hg = oc, ic = sc, Bg = $g, ac = Lg(ic());
7283
+ }, Vg = Dr, Lg = Ps, Hg = oc, ic = sc, Bg = $g, ac = Lg(ic());
7280
7284
  Vg(ac, {
7281
7285
  getPolyfill: ic,
7282
7286
  implementation: Hg,
@@ -7288,31 +7292,31 @@ var jg = ac, Ug = Date.prototype.getDay, Wg = function(e) {
7288
7292
  } catch {
7289
7293
  return !1;
7290
7294
  }
7291
- }, qg = Object.prototype.toString, Gg = "[object Date]", Yg = Ds(), zg = function(e) {
7295
+ }, qg = Object.prototype.toString, Gg = "[object Date]", Yg = ks(), zg = function(e) {
7292
7296
  return typeof e != "object" || e === null ? !1 : Yg ? Wg(e) : qg.call(e) === Gg;
7293
- }, Bi = Nl, ji = Jh, Ui = pg, Wi = vg, qi = jg, Gi = zg, Yi = Date.prototype.getTime;
7297
+ }, ji = Nl, Ui = Jh, Wi = pg, qi = vg, Gi = jg, Yi = zg, zi = Date.prototype.getTime;
7294
7298
  function lc(t, e, n) {
7295
7299
  var r = n || {};
7296
- return (r.strict ? Ui(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? Ui(t, e) : t == e : Kg(t, e, r);
7300
+ return (r.strict ? Wi(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? Wi(t, e) : t == e : Kg(t, e, r);
7297
7301
  }
7298
- function zi(t) {
7302
+ function Ki(t) {
7299
7303
  return t == null;
7300
7304
  }
7301
- function Ki(t) {
7305
+ function Ji(t) {
7302
7306
  return !(!t || typeof t != "object" || typeof t.length != "number" || typeof t.copy != "function" || typeof t.slice != "function" || t.length > 0 && typeof t[0] != "number");
7303
7307
  }
7304
7308
  function Kg(t, e, n) {
7305
7309
  var r, o;
7306
- if (typeof t != typeof e || zi(t) || zi(e) || t.prototype !== e.prototype || ji(t) !== ji(e))
7310
+ if (typeof t != typeof e || Ki(t) || Ki(e) || t.prototype !== e.prototype || Ui(t) !== Ui(e))
7307
7311
  return !1;
7308
- var i = Wi(t), a = Wi(e);
7312
+ var i = qi(t), a = qi(e);
7309
7313
  if (i !== a)
7310
7314
  return !1;
7311
7315
  if (i || a)
7312
- return t.source === e.source && qi(t) === qi(e);
7313
- if (Gi(t) && Gi(e))
7314
- return Yi.call(t) === Yi.call(e);
7315
- var c = Ki(t), l = Ki(e);
7316
+ return t.source === e.source && Gi(t) === Gi(e);
7317
+ if (Yi(t) && Yi(e))
7318
+ return zi.call(t) === zi.call(e);
7319
+ var c = Ji(t), l = Ji(e);
7316
7320
  if (c !== l)
7317
7321
  return !1;
7318
7322
  if (c || l) {
@@ -7326,7 +7330,7 @@ function Kg(t, e, n) {
7326
7330
  if (typeof t != typeof e)
7327
7331
  return !1;
7328
7332
  try {
7329
- var d = Bi(t), f = Bi(e);
7333
+ var d = ji(t), f = ji(e);
7330
7334
  } catch {
7331
7335
  return !1;
7332
7336
  }
@@ -7341,7 +7345,7 @@ function Kg(t, e, n) {
7341
7345
  return !0;
7342
7346
  }
7343
7347
  var Jg = lc;
7344
- const or = /* @__PURE__ */ Ma(Jg), { Text: Xg } = ln, Qg = ({
7348
+ const or = /* @__PURE__ */ Pa(Jg), { Text: Xg } = ln, Qg = ({
7345
7349
  currentModel: t,
7346
7350
  context: e,
7347
7351
  searchParams: n,
@@ -7992,7 +7996,7 @@ const dc = (t) => {
7992
7996
  J instanceof HTMLElement && J.focus();
7993
7997
  }, 300);
7994
7998
  }, [n]), je(() => {
7995
- f.current = new va(i, a, 1), f.current.parse(), m.current = f.current._advancedSearchContainer;
7999
+ f.current = new ba(i, a, 1), f.current.parse(), m.current = f.current._advancedSearchContainer;
7996
8000
  }, [a, i, n]);
7997
8001
  const X = A(
7998
8002
  (J, ee = !0) => {
@@ -8011,7 +8015,7 @@ const dc = (t) => {
8011
8015
  ), Q = A(() => {
8012
8016
  var J;
8013
8017
  (J = p.current) == null || J.submit();
8014
- }, []), re = dt(
8018
+ }, []), te = dt(
8015
8019
  (J) => {
8016
8020
  var Y;
8017
8021
  const ee = Un(J);
@@ -8034,10 +8038,10 @@ const dc = (t) => {
8034
8038
  Object.entries(ee).forEach(([ye]) => {
8035
8039
  ye.replace(/#.*$/, "") === J.replace(/#.*$/, "") && (he[ye] = void 0);
8036
8040
  }), (se = p.current) == null || se.setFieldsValue(he);
8037
- const te = y ? y.filter(
8041
+ const ne = y ? y.filter(
8038
8042
  (ye) => ye[0].replace(/#.*$/, "") !== J.replace(/#.*$/, "")
8039
8043
  ) : [];
8040
- v(te);
8044
+ v(ne);
8041
8045
  return;
8042
8046
  }
8043
8047
  (Y = p.current) == null || Y.resetFields(), (me = p.current) == null || me.setFieldsValue({}), (ce = (ue = p.current) == null ? void 0 : ue.resetInitialValues) == null || ce.call(ue), v([]), x({}), L(), o && o();
@@ -8055,7 +8059,7 @@ const dc = (t) => {
8055
8059
  }
8056
8060
  ),
8057
8061
  /* @__PURE__ */ s(
8058
- aa,
8062
+ la,
8059
8063
  {
8060
8064
  menu: {
8061
8065
  items: [
@@ -8122,7 +8126,7 @@ const dc = (t) => {
8122
8126
  searchFields: m.current,
8123
8127
  onSubmit: X,
8124
8128
  searchValues: b,
8125
- onChange: re,
8129
+ onChange: te,
8126
8130
  onClear: ge
8127
8131
  },
8128
8132
  `${(S == null ? void 0 : S.id) || "no-saved-search"}-${Object.keys(b).length}`
@@ -8311,7 +8315,7 @@ function ho(t) {
8311
8315
  return E == null ? void 0 : E.map((T, _) => /* @__PURE__ */ s(Qe, { children: T.map((D, $) => /* @__PURE__ */ s(Pe, { xs: 24, className: "p-2", xl: 6, children: /* @__PURE__ */ s(Dl, { field: D }) }, $)) }, _));
8312
8316
  };
8313
8317
  je(() => {
8314
- x(!1), C.current = new va(n, e), C.current.parse(), h(C.current._simpleSearchContainer), v(C.current._advancedSearchContainer);
8318
+ x(!1), C.current = new ba(n, e), C.current.parse(), h(C.current._simpleSearchContainer), v(C.current._advancedSearchContainer);
8315
8319
  }, [e, n]);
8316
8320
  const I = S(), k = (N) => {
8317
8321
  var D;
@@ -8335,7 +8339,7 @@ function ho(t) {
8335
8339
  return N === E;
8336
8340
  }, [g, y]);
8337
8341
  return /* @__PURE__ */ s(
8338
- hs,
8342
+ gs,
8339
8343
  {
8340
8344
  bounds: !0,
8341
8345
  onResize: (N) => {
@@ -8619,10 +8623,10 @@ const sr = () => {
8619
8623
  return;
8620
8624
  const H = x.current.filter((q) => {
8621
8625
  const X = P.find(
8622
- (re) => (re == null ? void 0 : re.id) === (q == null ? void 0 : q.id)
8626
+ (te) => (te == null ? void 0 : te.id) === (q == null ? void 0 : q.id)
8623
8627
  );
8624
8628
  return X ? p.current.some(
8625
- (re) => q[re] !== X[re]
8629
+ (te) => q[te] !== X[te]
8626
8630
  ) : !1;
8627
8631
  }).filter(Boolean);
8628
8632
  H.length > 0 && (D(H), (W = n == null ? void 0 : n.current) == null || W.updateRows(H));
@@ -8789,7 +8793,7 @@ const sr = () => {
8789
8793
  w.current = {};
8790
8794
  }, []);
8791
8795
  return { pause: k, resume: O, clear: N };
8792
- }, Vs = ({
8796
+ }, Ls = ({
8793
8797
  model: t,
8794
8798
  treeView: e,
8795
8799
  tableRef: n,
@@ -8868,7 +8872,7 @@ const sr = () => {
8868
8872
  return i.length > 1 ? /* @__PURE__ */ j("span", { style: { fontSize: "12px", color: "#666" }, children: [
8869
8873
  i[0],
8870
8874
  /* @__PURE__ */ s(
8871
- Da,
8875
+ ka,
8872
8876
  {
8873
8877
  onClick: n,
8874
8878
  style: {
@@ -8881,7 +8885,7 @@ const sr = () => {
8881
8885
  ),
8882
8886
  i[1]
8883
8887
  ] }) : /* @__PURE__ */ s("span", { style: { fontSize: "12px", color: "#666" }, children: r });
8884
- }, { Text: Ji } = ln, ly = ({
8888
+ }, { Text: Xi } = ln, ly = ({
8885
8889
  totalRows: t,
8886
8890
  selectedRowKeys: e,
8887
8891
  customMiddleComponent: n
@@ -8921,7 +8925,7 @@ const sr = () => {
8921
8925
  e("selectedRegisters"),
8922
8926
  " - (id:",
8923
8927
  " ",
8924
- /* @__PURE__ */ s(Ji, { copyable: !0, children: t[0] }),
8928
+ /* @__PURE__ */ s(Xi, { copyable: !0, children: t[0] }),
8925
8929
  ")"
8926
8930
  ] });
8927
8931
  if (t.length > 1)
@@ -8930,7 +8934,7 @@ const sr = () => {
8930
8934
  " ",
8931
8935
  e("selectedRegisters") + " ",
8932
8936
  /* @__PURE__ */ s(
8933
- Ji,
8937
+ Xi,
8934
8938
  {
8935
8939
  copyable: {
8936
8940
  text: t.join(", ")
@@ -8988,7 +8992,7 @@ function fy(t, e) {
8988
8992
  le(() => () => {
8989
8993
  $(), V(), B();
8990
8994
  }, []);
8991
- const { treeView: P, formView: H, loading: K } = Fs({
8995
+ const { treeView: P, formView: H, loading: K } = As({
8992
8996
  model: n,
8993
8997
  formViewProps: r,
8994
8998
  treeViewProps: o,
@@ -8998,7 +9002,7 @@ function fy(t, e) {
8998
9002
  searchVisible: q,
8999
9003
  setSearchVisible: X,
9000
9004
  setSelectedRowItems: Q,
9001
- setTreeFirstVisibleRow: re,
9005
+ setTreeFirstVisibleRow: te,
9002
9006
  treeFirstVisibleRow: ge,
9003
9007
  selectedRowItems: G,
9004
9008
  setSearchParams: ie,
@@ -9010,21 +9014,21 @@ function fy(t, e) {
9010
9014
  setResults: ue,
9011
9015
  results: ce,
9012
9016
  setSearchQuery: he,
9013
- setTotalItems: te,
9017
+ setTotalItems: ne,
9014
9018
  isActive: ye,
9015
9019
  order: Fe,
9016
9020
  setOrder: ke
9017
9021
  } = uc({ useLocalState: !l }), pe = u || Y, xe = z(pe), $e = z(!1), ze = z(), Oe = z(), We = z(!1), Re = z(pe), Je = z(!1);
9018
9022
  le(() => {
9019
9023
  var Be;
9020
- N.current !== void 0 && N.current !== S && (re == null || re(0), !(Re.current !== void 0 && pe !== void 0) && !Je.current && ((Be = b.current) == null || Be.refresh()), Je.current = !1, setTimeout(() => {
9024
+ N.current !== void 0 && N.current !== S && (te == null || te(0), !(Re.current !== void 0 && pe !== void 0) && !Je.current && ((Be = b.current) == null || Be.refresh()), Je.current = !1, setTimeout(() => {
9021
9025
  var Bt;
9022
9026
  (Bt = b.current) == null || Bt.scrollToTop();
9023
9027
  }, 0)), N.current = S, Re.current = pe;
9024
9028
  }, [S]), le(() => {
9025
9029
  var vt, mt, Bt, Mn;
9026
9030
  const Be = pe && pe.trim().length > 0, ot = xe.current && typeof xe.current == "string" && xe.current.trim().length > 0;
9027
- Be && !ot || Be && ot && pe !== xe.current ? ($e.current = !0, ie == null || ie([]), se == null || se({}), Pt([]), (vt = b.current) == null || vt.unselectAll(), re == null || re(0), (mt = b.current) == null || mt.scrollToTop()) : !Be && ot && ($e.current = !1, Pt([]), (Bt = b.current) == null || Bt.unselectAll(), re == null || re(0), (Mn = b.current) == null || Mn.scrollToTop(), setTimeout(() => {
9031
+ Be && !ot || Be && ot && pe !== xe.current ? ($e.current = !0, ie == null || ie([]), se == null || se({}), Pt([]), (vt = b.current) == null || vt.unselectAll(), te == null || te(0), (mt = b.current) == null || mt.scrollToTop()) : !Be && ot && ($e.current = !1, Pt([]), (Bt = b.current) == null || Bt.unselectAll(), te == null || te(0), (Mn = b.current) == null || Mn.scrollToTop(), setTimeout(() => {
9028
9032
  Je.current = !0, ft();
9029
9033
  }, 0)), xe.current = pe;
9030
9034
  }, [pe]);
@@ -9037,14 +9041,14 @@ function fy(t, e) {
9037
9041
  colorsForResults: Me,
9038
9042
  statusForResults: Te,
9039
9043
  onRowStyle: He,
9040
- statusComponent: ne,
9044
+ statusComponent: re,
9041
9045
  onRowStatus: ve,
9042
9046
  getColumnState: Ee,
9043
9047
  updateColumnState: be,
9044
9048
  isColumnStateLoading: De,
9045
9049
  updateAttributes: de,
9046
9050
  clearAttributes: it
9047
- } = Rs({
9051
+ } = _s({
9048
9052
  treeOoui: Ne,
9049
9053
  parentContext: d,
9050
9054
  columnStateKey: P ? Sl({
@@ -9059,7 +9063,7 @@ function fy(t, e) {
9059
9063
  addRecordsToCheckFunctionFields: nt,
9060
9064
  onHasFunctionFieldsToParseConditions: Ot,
9061
9065
  shouldMakeDeferredFunctionRead: on
9062
- } = Vs({
9066
+ } = Ls({
9063
9067
  model: n,
9064
9068
  treeView: P,
9065
9069
  tableRef: b,
@@ -9102,9 +9106,9 @@ function fy(t, e) {
9102
9106
  context: d,
9103
9107
  name_search: pe
9104
9108
  });
9105
- I(Be), te(Be);
9109
+ I(Be), ne(Be);
9106
9110
  } catch (Be) {
9107
- w(Be), I((ot) => ot ?? 0), te((ot) => ot ?? 0);
9111
+ w(Be), I((ot) => ot ?? 0), ne((ot) => ot ?? 0);
9108
9112
  } finally {
9109
9113
  We.current = !1;
9110
9114
  }
@@ -9116,7 +9120,7 @@ function fy(t, e) {
9116
9120
  pe,
9117
9121
  d,
9118
9122
  D,
9119
- te,
9123
+ ne,
9120
9124
  w
9121
9125
  ]), At = dt(
9122
9126
  async ({
@@ -9173,8 +9177,8 @@ function fy(t, e) {
9173
9177
  const fe = [...ce || [], ...pn];
9174
9178
  ue == null || ue(fe);
9175
9179
  }
9176
- if (Oe.current = mt, pe ? (I(pn.length), te(pn.length), O(!0)) : O(!1), pn.length === 0)
9177
- return x.current = [], Be === 0 && (I(0), te(0)), [];
9180
+ if (Oe.current = mt, pe ? (I(pn.length), ne(pn.length), O(!0)) : O(!1), pn.length === 0)
9181
+ return x.current = [], Be === 0 && (I(0), ne(0)), [];
9178
9182
  const ae = await nn(
9179
9183
  Ne,
9180
9184
  pn,
@@ -9200,7 +9204,7 @@ function fy(t, e) {
9200
9204
  ke,
9201
9205
  O,
9202
9206
  he,
9203
- te,
9207
+ ne,
9204
9208
  Ne,
9205
9209
  P,
9206
9210
  de,
@@ -9245,12 +9249,12 @@ function fy(t, e) {
9245
9249
  });
9246
9250
  return W == null || W(!1), mt;
9247
9251
  } catch (mt) {
9248
- throw console.error(mt), I((Bt) => Bt ?? 0), te((Bt) => Bt ?? 0), W == null || W(!1), w(mt), mt;
9252
+ throw console.error(mt), I((Bt) => Bt ?? 0), ne((Bt) => Bt ?? 0), W == null || W(!1), w(mt), mt;
9249
9253
  }
9250
9254
  },
9251
9255
  [
9252
9256
  At,
9253
- te,
9257
+ ne,
9254
9258
  W,
9255
9259
  w,
9256
9260
  ht,
@@ -9269,7 +9273,7 @@ function fy(t, e) {
9269
9273
  autoRefresh: v
9270
9274
  });
9271
9275
  const _e = $e.current ? _t : void 0, Ue = Ut(() => !bn || !Ne ? null : /* @__PURE__ */ s(
9272
- ys,
9276
+ vs,
9273
9277
  {
9274
9278
  readonly: !1,
9275
9279
  ref: b,
@@ -9281,14 +9285,14 @@ function fy(t, e) {
9281
9285
  onRowSelectionChange: h ? void 0 : wn,
9282
9286
  onColumnChanged: be,
9283
9287
  onGetColumnsState: Ee,
9284
- onChangeFirstVisibleRowIndex: re,
9288
+ onChangeFirstVisibleRowIndex: te,
9285
9289
  onGetFirstVisibleRowIndex: Gt,
9286
9290
  selectedRowKeys: h ? void 0 : Ht,
9287
9291
  onSelectionCheckboxClicked: h ? void 0 : cn,
9288
9292
  totalRows: S ?? void 0,
9289
9293
  footer: xn,
9290
9294
  hasStatusColumn: Ne.status !== null,
9291
- statusComponent: ne,
9295
+ statusComponent: re,
9292
9296
  onRowStatus: ve,
9293
9297
  strings: Xe,
9294
9298
  initialSortState: Fe,
@@ -9307,13 +9311,13 @@ function fy(t, e) {
9307
9311
  wn,
9308
9312
  be,
9309
9313
  Ee,
9310
- re,
9314
+ te,
9311
9315
  Gt,
9312
9316
  Ht,
9313
9317
  cn,
9314
9318
  S,
9315
9319
  xn,
9316
- ne,
9320
+ re,
9317
9321
  ve,
9318
9322
  Xe,
9319
9323
  Fe,
@@ -9463,7 +9467,7 @@ function fy(t, e) {
9463
9467
  /* @__PURE__ */ s("div", { ref: E, style: bt, children: K || De ? /* @__PURE__ */ s(st, {}) : Ue })
9464
9468
  ] });
9465
9469
  }
9466
- const Ls = jt(fy), Xi = (t, e = "14px -apple-system") => {
9470
+ const Hs = jt(fy), Qi = (t, e = "14px -apple-system") => {
9467
9471
  const r = document.createElement("canvas").getContext("2d");
9468
9472
  r.font = e;
9469
9473
  const o = r.measureText(t);
@@ -9473,13 +9477,13 @@ const Ls = jt(fy), Xi = (t, e = "14px -apple-system") => {
9473
9477
  return { columns: t };
9474
9478
  const r = t.map(
9475
9479
  (i) => Object.assign(i, {
9476
- width: Xi(i.title)
9480
+ width: Qi(i.title)
9477
9481
  })
9478
9482
  );
9479
9483
  e.forEach((i) => {
9480
9484
  r.forEach((a, c) => {
9481
9485
  const l = a.width, d = i[a.key] || "";
9482
- let f = Xi(d);
9486
+ let f = Qi(d);
9483
9487
  f < l && (f = l), f > n && (f = n), r[c].width = f;
9484
9488
  });
9485
9489
  });
@@ -9514,7 +9518,7 @@ const Ls = jt(fy), Xi = (t, e = "14px -apple-system") => {
9514
9518
  "{numberOfSelectedRows}",
9515
9519
  t.toString()
9516
9520
  ) + " ",
9517
- i ? /* @__PURE__ */ s(st, {}) : /* @__PURE__ */ s(Da, { onClick: d, style: { fontWeight: 600 }, children: l.selectAllRecords.replace(
9521
+ i ? /* @__PURE__ */ s(st, {}) : /* @__PURE__ */ s(ka, { onClick: d, style: { fontWeight: 600 }, children: l.selectAllRecords.replace(
9518
9522
  "{totalRecords}",
9519
9523
  e.toString()
9520
9524
  ) })
@@ -9524,8 +9528,8 @@ const Ls = jt(fy), Xi = (t, e = "14px -apple-system") => {
9524
9528
  ) + " " });
9525
9529
  return /* @__PURE__ */ s(py, { children: o > n ? u : f });
9526
9530
  };
9527
- var Qi = Object.prototype.hasOwnProperty;
9528
- function Zi(t, e, n) {
9531
+ var Zi = Object.prototype.hasOwnProperty;
9532
+ function ea(t, e, n) {
9529
9533
  for (n of t.keys())
9530
9534
  if (fr(n, e))
9531
9535
  return n;
@@ -9549,7 +9553,7 @@ function fr(t, e) {
9549
9553
  if (t.size !== e.size)
9550
9554
  return !1;
9551
9555
  for (r of t)
9552
- if (o = r, o && typeof o == "object" && (o = Zi(e, o), !o) || !e.has(o))
9556
+ if (o = r, o && typeof o == "object" && (o = ea(e, o), !o) || !e.has(o))
9553
9557
  return !1;
9554
9558
  return !0;
9555
9559
  }
@@ -9557,7 +9561,7 @@ function fr(t, e) {
9557
9561
  if (t.size !== e.size)
9558
9562
  return !1;
9559
9563
  for (r of t)
9560
- if (o = r[0], o && typeof o == "object" && (o = Zi(e, o), !o) || !fr(r[1], e.get(o)))
9564
+ if (o = r[0], o && typeof o == "object" && (o = ea(e, o), !o) || !fr(r[1], e.get(o)))
9561
9565
  return !1;
9562
9566
  return !0;
9563
9567
  }
@@ -9578,7 +9582,7 @@ function fr(t, e) {
9578
9582
  if (!n || typeof t == "object") {
9579
9583
  r = 0;
9580
9584
  for (n in t)
9581
- if (Qi.call(t, n) && ++r && !Qi.call(e, n) || !(n in e) || !fr(t[n], e[n]))
9585
+ if (Zi.call(t, n) && ++r && !Zi.call(e, n) || !(n in e) || !fr(t[n], e[n]))
9582
9586
  return !1;
9583
9587
  return Object.keys(e).length === r;
9584
9588
  }
@@ -9617,10 +9621,10 @@ const pc = jt(
9617
9621
  Tt.FEATURE_MANY2ONE_SORT
9618
9622
  ), P = Z(() => {
9619
9623
  if (T)
9620
- return xs(
9624
+ return Cs(
9621
9625
  T,
9622
9626
  {
9623
- ...Is
9627
+ ...Rs
9624
9628
  },
9625
9629
  w,
9626
9630
  B
@@ -9698,14 +9702,14 @@ const pc = jt(
9698
9702
  }, [k, u, T]), Q = Z(() => {
9699
9703
  if (T !== null && P && P.length > 0)
9700
9704
  return my(P, k, 600);
9701
- }, [P, k, T]), re = Z(() => p && (T != null && T.columns.some((G) => G.sum !== void 0)) ? p - 30 : p, [p, T == null ? void 0 : T.columns]);
9705
+ }, [P, k, T]), te = Z(() => p && (T != null && T.columns.some((G) => G.sum !== void 0)) ? p - 30 : p, [p, T == null ? void 0 : T.columns]);
9702
9706
  return T === null || !Q || ((ge = Q == null ? void 0 : Q.columns) == null ? void 0 : ge.length) === 0 ? /* @__PURE__ */ s(st, { style: { padding: "2rem" } }) : /* @__PURE__ */ j(Gn, { children: [
9703
9707
  q,
9704
9708
  /* @__PURE__ */ s(
9705
9709
  eu,
9706
9710
  {
9707
9711
  ref: I,
9708
- height: re,
9712
+ height: te,
9709
9713
  columns: Q.columns,
9710
9714
  dataSource: k,
9711
9715
  loading: l,
@@ -9724,8 +9728,8 @@ const pc = jt(
9724
9728
  sorter: v,
9725
9729
  readonly: R,
9726
9730
  expandableOpts: b ? {
9727
- expandIcon: Ta,
9728
- collapseIcon: Fa,
9731
+ expandIcon: Fa,
9732
+ collapseIcon: Aa,
9729
9733
  loadingIcon: Xt,
9730
9734
  onFetchChildrenForRecord: b,
9731
9735
  childField: x
@@ -9764,21 +9768,21 @@ const hc = (t) => {
9764
9768
  searchParams: R = [],
9765
9769
  setSearchValues: S,
9766
9770
  clearSelection: I
9767
- } = t, [k, O] = F(!1), [N, E] = F(!1), [T, _] = F(), [D, $] = F(1), [M, V] = F(0), [L, B] = F(), [P, H] = F([]), [K, W] = F(void 0), [q, X] = F(void 0), Q = z(C || _t), re = z([]), ge = A(
9768
- (te) => {
9769
- y == null || y([...te]), H([...te]);
9771
+ } = t, [k, O] = F(!1), [N, E] = F(!1), [T, _] = F(), [D, $] = F(1), [M, V] = F(0), [L, B] = F(), [P, H] = F([]), [K, W] = F(void 0), [q, X] = F(void 0), Q = z(C || _t), te = z([]), ge = A(
9772
+ (ne) => {
9773
+ y == null || y([...ne]), H([...ne]);
9770
9774
  },
9771
9775
  [y]
9772
9776
  ), G = v || P, ie = A(async () => {
9773
- const te = await U.getHandler().nameSearch({
9777
+ const ne = await U.getHandler().nameSearch({
9774
9778
  model: e,
9775
9779
  payload: c,
9776
9780
  limit: Q.current,
9777
9781
  attrs: b,
9778
9782
  context: d
9779
9783
  });
9780
- if (B(te.length), f == null || f(te.length), te.length > 0) {
9781
- const ye = te.map((We) => We == null ? void 0 : We[0]), { colors: Fe, status: ke } = en(u), pe = {};
9784
+ if (B(ne.length), f == null || f(ne.length), ne.length > 0) {
9785
+ const ye = ne.map((We) => We == null ? void 0 : We[0]), { colors: Fe, status: ke } = en(u), pe = {};
9782
9786
  Fe && (pe.colors = Fe), ke && (pe.status = ke);
9783
9787
  const xe = await U.getHandler().readEvalUiObjects({
9784
9788
  model: e,
@@ -9788,12 +9792,12 @@ const hc = (t) => {
9788
9792
  context: d,
9789
9793
  attrs: pe
9790
9794
  }), $e = xe[0];
9791
- re.current = [...$e], W(zn(xe[1])), X(Hr(xe[1]));
9795
+ te.current = [...$e], W(zn(xe[1])), X(Hr(xe[1]));
9792
9796
  const ze = $e.map((We) => We.id), Oe = p !== void 0 ? jn({
9793
9797
  resultsToSort: $e,
9794
9798
  sorter: p,
9795
9799
  fields: { ...u.fields, ...m.fields }
9796
- }) : [...re.current];
9800
+ }) : [...te.current];
9797
9801
  ge(Oe), ze.length > 0 ? h == null || h(0) : h == null || h(void 0);
9798
9802
  } else
9799
9803
  ge([]), h == null || h(void 0);
@@ -9811,8 +9815,8 @@ const hc = (t) => {
9811
9815
  h,
9812
9816
  f
9813
9817
  ]), J = A(
9814
- async (te) => {
9815
- const { params: ye, newOffset: Fe } = te || {}, ke = un(ye || R, b), { colors: pe, status: xe } = en(u), $e = {};
9818
+ async (ne) => {
9819
+ const { params: ye, newOffset: Fe } = ne || {}, ke = un(ye || R, b), { colors: pe, status: xe } = en(u), $e = {};
9816
9820
  pe && ($e.colors = pe), xe && ($e.status = xe);
9817
9821
  const { totalItems: ze, results: Oe, attrsEvaluated: We } = await U.getHandler().searchForTree({
9818
9822
  params: ke,
@@ -9823,12 +9827,12 @@ const hc = (t) => {
9823
9827
  context: d,
9824
9828
  attrs: $e
9825
9829
  });
9826
- W(zn(We)), X(Hr(We)), re.current = [...Oe];
9830
+ W(zn(We)), X(Hr(We)), te.current = [...Oe];
9827
9831
  const Re = p !== void 0 ? jn({
9828
9832
  resultsToSort: Oe,
9829
9833
  sorter: p,
9830
9834
  fields: { ...u.fields, ...m.fields }
9831
- }) : [...re.current];
9835
+ }) : [...te.current];
9832
9836
  if (ge(Re), v && Re.length > 0) {
9833
9837
  const Ne = Re.findIndex(
9834
9838
  (Le) => x === Le.id
@@ -9856,9 +9860,9 @@ const hc = (t) => {
9856
9860
  R
9857
9861
  ]
9858
9862
  ), ee = A(
9859
- async (te) => {
9863
+ async (ne) => {
9860
9864
  try {
9861
- O(!0), a == null || a(!0), c && !l.current ? await ie() : await J(te), I == null || I();
9865
+ O(!0), a == null || a(!0), c && !l.current ? await ie() : await J(ne), I == null || I();
9862
9866
  } catch (ye) {
9863
9867
  _(typeof ye == "string" ? ye : ye.message), O(!1);
9864
9868
  } finally {
@@ -9875,15 +9879,15 @@ const hc = (t) => {
9875
9879
  a
9876
9880
  ]
9877
9881
  ), se = A(
9878
- (te) => {
9879
- if (JSON.stringify(te) === JSON.stringify(p))
9882
+ (ne) => {
9883
+ if (JSON.stringify(ne) === JSON.stringify(p))
9880
9884
  return;
9881
- g == null || g(te);
9882
- const ye = te !== void 0 ? jn({
9885
+ g == null || g(ne);
9886
+ const ye = ne !== void 0 ? jn({
9883
9887
  resultsToSort: G,
9884
- sorter: te,
9888
+ sorter: ne,
9885
9889
  fields: { ...u.fields, ...m.fields }
9886
- }) : [...re.current];
9890
+ }) : [...te.current];
9887
9891
  ge(ye);
9888
9892
  },
9889
9893
  [
@@ -9895,8 +9899,8 @@ const hc = (t) => {
9895
9899
  ge
9896
9900
  ]
9897
9901
  ), Y = A(
9898
- (te) => {
9899
- const { params: ye, searchValues: Fe, limit: ke, offset: pe } = te;
9902
+ (ne) => {
9903
+ const { params: ye, searchValues: Fe, limit: ke, offset: pe } = ne;
9900
9904
  k || (n == null || n(void 0), r == null || r([]), S == null || S(Fe), o == null || o(ye), i == null || i(!1), E(!0), _(void 0), $(1), ke && (Q.current = ke, w == null || w(ke)), pe && V(pe), ee({
9901
9905
  params: ye,
9902
9906
  newOffset: pe
@@ -9913,8 +9917,8 @@ const hc = (t) => {
9913
9917
  w
9914
9918
  ]
9915
9919
  ), me = A(
9916
- (te) => {
9917
- O(!0), $(te), V((te - 1) * C);
9920
+ (ne) => {
9921
+ O(!0), $(ne), V((ne - 1) * C);
9918
9922
  },
9919
9923
  [O, C, V, $]
9920
9924
  ), ue = A(() => {
@@ -9927,8 +9931,8 @@ const hc = (t) => {
9927
9931
  w,
9928
9932
  C
9929
9933
  ]), ce = A(
9930
- async (te) => {
9931
- const ye = te[(u == null ? void 0 : u.field_parent) || "child_id"], Fe = await U.getHandler().readObjects({
9934
+ async (ne) => {
9935
+ const ye = ne[(u == null ? void 0 : u.field_parent) || "child_id"], Fe = await U.getHandler().readObjects({
9932
9936
  model: e,
9933
9937
  ids: ye,
9934
9938
  fields: u.field_parent ? { ...u.fields, [u.field_parent]: {} } : u.fields,
@@ -9993,7 +9997,7 @@ function gy(t, e) {
9993
9997
  setSearchParams: q = void 0,
9994
9998
  searchVisible: X = !0,
9995
9999
  setSearchVisible: Q = void 0,
9996
- sorter: re = void 0,
10000
+ sorter: te = void 0,
9997
10001
  setSorter: ge = void 0,
9998
10002
  setTotalItems: G = void 0,
9999
10003
  setSearchTreeNameSearch: ie = void 0,
@@ -10009,7 +10013,7 @@ function gy(t, e) {
10009
10013
  [m, K]
10010
10014
  ), {
10011
10015
  submit: he,
10012
- clear: te,
10016
+ clear: ne,
10013
10017
  fetchResults: ye,
10014
10018
  tableRefreshing: Fe,
10015
10019
  searchFilterLoading: ke,
@@ -10039,7 +10043,7 @@ function gy(t, e) {
10039
10043
  context: u,
10040
10044
  formView: S,
10041
10045
  treeView: w,
10042
- sorter: re,
10046
+ sorter: te,
10043
10047
  setSorter: ge,
10044
10048
  setCurrentItemIndex: L,
10045
10049
  setResultsActionView: V,
@@ -10086,7 +10090,7 @@ function gy(t, e) {
10086
10090
  le(() => {
10087
10091
  Te();
10088
10092
  }, [n]);
10089
- const ne = A(
10093
+ const re = A(
10090
10094
  (Ke) => {
10091
10095
  me == null || me(Ke);
10092
10096
  },
@@ -10154,12 +10158,12 @@ function gy(t, e) {
10154
10158
  S.search_fields,
10155
10159
  w.search_fields
10156
10160
  ]),
10157
- onClear: te,
10161
+ onClear: ne,
10158
10162
  limit: Y,
10159
10163
  offset: ze,
10160
10164
  isSearching: ke,
10161
10165
  onSubmit: he,
10162
- onLimitChange: ne,
10166
+ onLimitChange: re,
10163
10167
  setSearchFilterHeight: E,
10164
10168
  searchError: pe,
10165
10169
  searchVisible: X,
@@ -10184,7 +10188,7 @@ function gy(t, e) {
10184
10188
  statusForResults: Le,
10185
10189
  selectedRowKeys: de,
10186
10190
  onRowSelectionChange: ce,
10187
- sorter: re,
10191
+ sorter: te,
10188
10192
  onChangeSort: Re,
10189
10193
  onFetchChildrenForRecord: w.isExpandable ? Je : void 0,
10190
10194
  childField: w.field_parent,
@@ -10196,7 +10200,7 @@ function gy(t, e) {
10196
10200
  De,
10197
10201
  ce,
10198
10202
  Re,
10199
- te,
10203
+ ne,
10200
10204
  Ne,
10201
10205
  Je,
10202
10206
  S,
@@ -10205,7 +10209,7 @@ function gy(t, e) {
10205
10209
  $e,
10206
10210
  ze,
10207
10211
  Ee,
10208
- ne,
10212
+ re,
10209
10213
  xe,
10210
10214
  u,
10211
10215
  We,
@@ -10216,7 +10220,7 @@ function gy(t, e) {
10216
10220
  X,
10217
10221
  be,
10218
10222
  de,
10219
- re,
10223
+ te,
10220
10224
  Le,
10221
10225
  he,
10222
10226
  Fe,
@@ -10272,8 +10276,8 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10272
10276
  order: q,
10273
10277
  setOrder: X,
10274
10278
  limit: Q,
10275
- setLimit: re
10276
- } = uc({ useLocalState: !i }), { treeMaxLimit: ge } = Qt(), { setCurrentSavedSearch: G } = Lt(), ie = y ? 0 : Math.min(Q, ge), [J, ee] = F(!0), [se, Y] = F(), [me, ue] = F([]), [ce, he] = F(!1), te = a || $, ye = z(te), Fe = z(_), ke = z(C), pe = z(), xe = z([]), $e = z(!1), [ze, Oe] = Ie(
10279
+ setLimit: te
10280
+ } = uc({ useLocalState: !i }), { treeMaxLimit: ge } = Qt(), { setCurrentSavedSearch: G } = Lt(), ie = y ? 0 : Math.min(Q, ge), [J, ee] = F(!0), [se, Y] = F(), [me, ue] = F([]), [ce, he] = F(!1), ne = a || $, ye = z(ne), Fe = z(_), ke = z(C), pe = z(), xe = z([]), $e = z(!1), [ze, Oe] = Ie(
10277
10281
  U.getHandler().parseConditions
10278
10282
  ), We = A((_e) => {
10279
10283
  xe.current = xe.current.map((Ue) => {
@@ -10290,7 +10294,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10290
10294
  addRecordsToCheckFunctionFields: Le,
10291
10295
  onHasFunctionFieldsToParseConditions: Xe,
10292
10296
  shouldMakeDeferredFunctionRead: Me
10293
- } = Vs({
10297
+ } = Ls({
10294
10298
  model: o,
10295
10299
  treeView: r,
10296
10300
  tableRef: c,
@@ -10301,7 +10305,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10301
10305
  updateAttributes: m,
10302
10306
  results: L,
10303
10307
  autoRefresh: v
10304
- }), { showErrorNotification: Te } = xt(), [He, ne] = Ie(
10308
+ }), { showErrorNotification: Te } = xt(), [He, re] = Ie(
10305
10309
  U.getHandler().searchCount
10306
10310
  ), [ve, Ee] = Ie(
10307
10311
  U.getHandler().searchForTree
@@ -10311,16 +10315,16 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10311
10315
  () => un(_ || [], l),
10312
10316
  [l, _]
10313
10317
  ), it = Z(() => (N == null ? void 0 : N.map((_e) => _e.id)) || [], [N]), yt = A(() => {
10314
- const Ue = `${JSON.stringify(te ? l : de)}-${te}`;
10318
+ const Ue = `${JSON.stringify(ne ? l : de)}-${ne}`;
10315
10319
  return Ue !== pe.current ? (pe.current = Ue, !0) : !1;
10316
- }, [l, de, te]), Ft = A(async () => {
10320
+ }, [l, de, ne]), Ft = A(async () => {
10317
10321
  Y(void 0), P(0), ee(!0);
10318
10322
  try {
10319
10323
  const _e = await He({
10320
- params: te ? l : de,
10324
+ params: ne ? l : de,
10321
10325
  model: o,
10322
10326
  context: d,
10323
- name_search: te
10327
+ name_search: ne
10324
10328
  });
10325
10329
  Y(_e), P(_e);
10326
10330
  } catch (_e) {
@@ -10331,7 +10335,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10331
10335
  }, [
10332
10336
  P,
10333
10337
  He,
10334
- te,
10338
+ ne,
10335
10339
  l,
10336
10340
  de,
10337
10341
  o,
@@ -10386,11 +10390,11 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10386
10390
  });
10387
10391
  _e = gr(Zt);
10388
10392
  }
10389
- const Ue = te ? l : de, et = vr({
10393
+ const Ue = ne ? l : de, et = vr({
10390
10394
  treeOoui: n,
10391
10395
  hasFunctionFieldsToParseConditions: Me && Xe()
10392
10396
  });
10393
- !te && yt() && Ft();
10397
+ !ne && yt() && Ft();
10394
10398
  const { results: tt, attrsEvaluated: ft } = await ve({
10395
10399
  params: Ue,
10396
10400
  limit: ie,
@@ -10400,7 +10404,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10400
10404
  context: d,
10401
10405
  attrs: et,
10402
10406
  order: _e,
10403
- name_search: te,
10407
+ name_search: ne,
10404
10408
  skipFunctionFields: Me,
10405
10409
  onIdsRetrieved: (Zt) => {
10406
10410
  Me && Le(Zt);
@@ -10409,9 +10413,9 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10409
10413
  if (B == null || B({
10410
10414
  model: o,
10411
10415
  params: Ue,
10412
- name_search: te,
10416
+ name_search: ne,
10413
10417
  context: d
10414
- }), V == null || V(tt), te ? (Y(tt.length), P(tt.length), he(!0), ee(!1)) : he(!1), tt.length === 0) {
10418
+ }), V == null || V(tt), ne ? (Y(tt.length), P(tt.length), he(!0), ee(!1)) : he(!1), tt.length === 0) {
10415
10419
  xe.current = [], Y(0), P(0), ue([]), x(!1);
10416
10420
  return;
10417
10421
  }
@@ -10427,7 +10431,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10427
10431
  e,
10428
10432
  x,
10429
10433
  q,
10430
- te,
10434
+ ne,
10431
10435
  l,
10432
10436
  de,
10433
10437
  Me,
@@ -10448,13 +10452,13 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10448
10452
  P,
10449
10453
  Te
10450
10454
  ]), ht = A(async () => {
10451
- p == null || p(), Ne(), ee(!0), S(0), R([]), pe.current = void 0, te || Je(), await pt();
10455
+ p == null || p(), Ne(), ee(!0), S(0), R([]), pe.current = void 0, ne || Je(), await pt();
10452
10456
  }, [
10453
10457
  p,
10454
10458
  Ne,
10455
10459
  S,
10456
10460
  R,
10457
- te,
10461
+ ne,
10458
10462
  pt,
10459
10463
  Je
10460
10464
  ]), At = A(
@@ -10476,7 +10480,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10476
10480
  le(() => {
10477
10481
  if (!e)
10478
10482
  return () => {
10479
- ne(), Ee(), De();
10483
+ re(), Ee(), De();
10480
10484
  };
10481
10485
  }, [e]), le(() => () => {
10482
10486
  Oe();
@@ -10487,19 +10491,19 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10487
10491
  n,
10488
10492
  ie,
10489
10493
  K,
10490
- te,
10494
+ ne,
10491
10495
  l,
10492
10496
  q
10493
10497
  ]), le(() => {
10494
10498
  var _e;
10495
- if (te !== ye.current) {
10496
- if (te !== void 0 && ye.current === void 0 || typeof te == "string" && typeof ye.current == "string" && te !== ye.current) {
10497
- E == null || E([]), D == null || D({}), (_e = c.current) == null || _e.unselectAll(), ye.current = te;
10499
+ if (ne !== ye.current) {
10500
+ if (ne !== void 0 && ye.current === void 0 || typeof ne == "string" && typeof ye.current == "string" && ne !== ye.current) {
10501
+ E == null || E([]), D == null || D({}), (_e = c.current) == null || _e.unselectAll(), ye.current = ne;
10498
10502
  return;
10499
10503
  }
10500
- te === void 0 && ye.current !== void 0 && ee(!0), ye.current = te;
10504
+ ne === void 0 && ye.current !== void 0 && ee(!0), ye.current = ne;
10501
10505
  }
10502
- }, [te]), je(() => {
10506
+ }, [ne]), je(() => {
10503
10507
  const _e = !or(
10504
10508
  _,
10505
10509
  Fe.current
@@ -10512,12 +10516,12 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10512
10516
  u == null || u("infinite");
10513
10517
  return;
10514
10518
  }
10515
- S(0), O(void 0), R([]), W(_e), Ue && re(Ue);
10519
+ S(0), O(void 0), R([]), W(_e), Ue && te(Ue);
10516
10520
  },
10517
10521
  [
10518
10522
  u,
10519
10523
  W,
10520
- re,
10524
+ te,
10521
10525
  R,
10522
10526
  O,
10523
10527
  S
@@ -10634,7 +10638,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10634
10638
  isFieldLoading: Re,
10635
10639
  setSearchVisible: w,
10636
10640
  nameSearchFetchCompleted: ce,
10637
- nameSearch: te,
10641
+ nameSearch: ne,
10638
10642
  fetchChildrenForRecord: Gt
10639
10643
  };
10640
10644
  }, by = ({
@@ -10709,7 +10713,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10709
10713
  onSubmit: l
10710
10714
  }
10711
10715
  );
10712
- }, Hs = ct(
10716
+ }, Bs = ct(
10713
10717
  ({
10714
10718
  columns: t,
10715
10719
  treeOoui: e,
@@ -10769,8 +10773,8 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10769
10773
  onChangeTableType: I,
10770
10774
  autoRefresh: N,
10771
10775
  expandableOpts: k ? {
10772
- expandIcon: Ta,
10773
- collapseIcon: Fa,
10776
+ expandIcon: Fa,
10777
+ collapseIcon: Aa,
10774
10778
  loadingIcon: Xt,
10775
10779
  onFetchChildrenForRecord: k,
10776
10780
  childField: O
@@ -10778,8 +10782,8 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10778
10782
  }
10779
10783
  )
10780
10784
  );
10781
- Hs.displayName = "PaginatedTableComponent";
10782
- const wy = ct(Hs), zt = (t) => {
10785
+ Bs.displayName = "PaginatedTableComponent";
10786
+ const wy = ct(Bs), zt = (t) => {
10783
10787
  const e = z(t);
10784
10788
  return le(() => {
10785
10789
  e.current = t;
@@ -10852,7 +10856,7 @@ function Ty(t, e) {
10852
10856
  hideSelectionColumn: g = !1,
10853
10857
  fixedHeight: h,
10854
10858
  autoRefresh: y
10855
- } = t, v = z(null), b = z(null), x = zt(i), { treeMaxLimit: C } = Qt(), { treeView: w, formView: R, loading: S } = Fs({
10859
+ } = t, v = z(null), b = z(null), x = zt(i), { treeMaxLimit: C } = Qt(), { treeView: w, formView: R, loading: S } = As({
10856
10860
  model: n,
10857
10861
  formViewProps: r,
10858
10862
  treeViewProps: o,
@@ -10873,7 +10877,7 @@ function Ty(t, e) {
10873
10877
  clearAttributes: M,
10874
10878
  colorsForResults: V,
10875
10879
  statusForResults: L
10876
- } = Rs({
10880
+ } = _s({
10877
10881
  treeOoui: O,
10878
10882
  parentContext: d,
10879
10883
  columnStateKey: w ? Sl({
@@ -10888,7 +10892,7 @@ function Ty(t, e) {
10888
10892
  refresh: q,
10889
10893
  onRowStatus: X,
10890
10894
  onGetFirstVisibleRowIndex: Q,
10891
- setTreeFirstVisibleRow: re,
10895
+ setTreeFirstVisibleRow: te,
10892
10896
  onRowHasBeenSelected: ge,
10893
10897
  onSearchFilterClear: G,
10894
10898
  onSearchFilterSubmit: ie,
@@ -10900,7 +10904,7 @@ function Ty(t, e) {
10900
10904
  results: ue,
10901
10905
  onRequestPageChange: ce,
10902
10906
  treeIsLoading: he,
10903
- selectAllRecords: te,
10907
+ selectAllRecords: ne,
10904
10908
  onHeaderCheckboxClick: ye,
10905
10909
  headerCheckboxState: Fe,
10906
10910
  currentPage: ke,
@@ -10953,7 +10957,7 @@ function Ty(t, e) {
10953
10957
  parentContext: d
10954
10958
  }), Te = zt((nt) => {
10955
10959
  P ? Me(nt) : x(nt);
10956
- }), He = zt(q), [ne, ve, Ee] = Es({
10960
+ }), He = zt(q), [re, ve, Ee] = Os({
10957
10961
  ooui: O,
10958
10962
  model: n,
10959
10963
  showEmptyValues: !0,
@@ -10966,7 +10970,7 @@ function Ty(t, e) {
10966
10970
  refreshResults: q,
10967
10971
  getFields: () => w == null ? void 0 : w.fields
10968
10972
  }));
10969
- const be = Z(() => Ee ? /* @__PURE__ */ s(_s, { aggregates: ve, isLoading: ne }) : null, [ve, ne, Ee]), De = A(
10973
+ const be = Z(() => Ee ? /* @__PURE__ */ s(Es, { aggregates: ve, isLoading: re }) : null, [ve, re, Ee]), De = A(
10970
10974
  (nt) => /* @__PURE__ */ s(Zn, { color: nt, style: { marginLeft: 7 } }),
10971
10975
  []
10972
10976
  ), de = Z(
@@ -11005,7 +11009,7 @@ function Ty(t, e) {
11005
11009
  currentPageSelectedCount: W.length,
11006
11010
  onRequestPageChange: ce,
11007
11011
  totalSelectedCount: W.length,
11008
- onSelectAllGlobalRecords: te,
11012
+ onSelectAllGlobalRecords: ne,
11009
11013
  simpleSummary: it,
11010
11014
  showAllOptionInPageSizeOptions: m !== void 0,
11011
11015
  customMiddleComponent: yt && /* @__PURE__ */ s(
@@ -11017,7 +11021,7 @@ function Ty(t, e) {
11017
11021
  }
11018
11022
  ),
11019
11023
  /* @__PURE__ */ s("div", { ref: b, style: de, children: S ? /* @__PURE__ */ s(st, {}) : /* @__PURE__ */ s(
11020
- Hs,
11024
+ Bs,
11021
11025
  {
11022
11026
  columns: Xe,
11023
11027
  treeOoui: O,
@@ -11029,7 +11033,7 @@ function Ty(t, e) {
11029
11033
  onRowHasBeenSelected: g ? void 0 : ge,
11030
11034
  updateColumnState: _,
11031
11035
  getColumnState: T,
11032
- setTreeFirstVisibleRow: re,
11036
+ setTreeFirstVisibleRow: te,
11033
11037
  onGetFirstVisibleRowIndex: Q,
11034
11038
  onGetFirstVisibleColumn: ze,
11035
11039
  setTreeFirstVisibleColumn: $e,
@@ -11070,7 +11074,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11070
11074
  limit: g
11071
11075
  } = t, h = z(e), [y, v] = F(In), { treeMaxLimit: b, globalValues: x } = Qt(), { setLimit: C } = Lt();
11072
11076
  je(() => {
11073
- const G = za({
11077
+ const G = Ka({
11074
11078
  treeView: a,
11075
11079
  limit: g,
11076
11080
  treeMaxLimit: b
@@ -11188,7 +11192,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11188
11192
  var G;
11189
11193
  (G = n == null ? void 0 : n.current) == null || G.refreshResults();
11190
11194
  }, 100);
11191
- }, [O, _, D, n]), re = A(() => {
11195
+ }, [O, _, D, n]), te = A(() => {
11192
11196
  T == null || T(!0);
11193
11197
  }, [T]), ge = Z(() => k != null && k.name ? /* @__PURE__ */ j(
11194
11198
  "div",
@@ -11223,7 +11227,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11223
11227
  overflow: "hidden",
11224
11228
  whiteSpace: "nowrap"
11225
11229
  },
11226
- onClick: re,
11230
+ onClick: te,
11227
11231
  children: [
11228
11232
  /* @__PURE__ */ s(
11229
11233
  Bn,
@@ -11269,7 +11273,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11269
11273
  k == null ? void 0 : k.name,
11270
11274
  V.colorPrimary,
11271
11275
  V.colorText,
11272
- re,
11276
+ te,
11273
11277
  Q,
11274
11278
  L
11275
11279
  ]);
@@ -11286,7 +11290,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11286
11290
  }
11287
11291
  ) }),
11288
11292
  y === "infinite" && /* @__PURE__ */ s(
11289
- Ls,
11293
+ Hs,
11290
11294
  {
11291
11295
  ref: n,
11292
11296
  rootTree: !0,
@@ -11365,9 +11369,9 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11365
11369
  permissions: _,
11366
11370
  permissionsLoading: D,
11367
11371
  permissionsError: $
11368
- } = t, [M, V] = F(!1), [L, B] = F(!1), [P, H] = F(!1), [K, W] = F(!0), [q, X] = F(!0), [Q, re] = F([]), [ge, G] = F(!1), [ie, J] = F(
11372
+ } = t, [M, V] = F(!1), [L, B] = F(!1), [P, H] = F(!1), [K, W] = F(!0), [q, X] = F(!0), [Q, te] = F([]), [ge, G] = F(!1), [ie, J] = F(
11369
11373
  N || []
11370
- ), [ee, se] = F(!1), [Y, me] = F(!0), [ue, ce] = F(), he = Z(() => !i || i.length === 0 ? (n == null ? void 0 : n.fields) || {} : i.reduce((de, it) => ({ ...de, ...it.fields || {} }), {}), [i, n]), [te, ye] = F(
11374
+ ), [ee, se] = F(!1), [Y, me] = F(!0), [ue, ce] = F(), he = Z(() => !i || i.length === 0 ? (n == null ? void 0 : n.fields) || {} : i.reduce((de, it) => ({ ...de, ...it.fields || {} }), {}), [i, n]), [ne, ye] = F(
11371
11375
  ml(N || [], he)
11372
11376
  ), [Fe, ke] = F(0), [pe, xe] = F(void 0), [$e, ze] = F(), [Oe, We] = F(In), [Re, Je] = F(
11373
11377
  T
@@ -11375,7 +11379,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11375
11379
  k !== void 0 ? k : _t
11376
11380
  ), [Xe, Me] = F(r), [Te, He] = F(
11377
11381
  E || 1
11378
- ), [ne, ve] = F(null), [Ee, be] = F([]);
11382
+ ), [re, ve] = F(null), [Ee, be] = F([]);
11379
11383
  le(() => {
11380
11384
  m && m.length > 0 && !p && (g == null || g(0), f == null || f(m[0].id));
11381
11385
  }, [m]), le(() => {
@@ -11427,7 +11431,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11427
11431
  treeIsLoading: q,
11428
11432
  setTreeIsLoading: X,
11429
11433
  attachments: Q,
11430
- setAttachments: re,
11434
+ setAttachments: te,
11431
11435
  selectedRowItems: w,
11432
11436
  setSelectedRowItems: C,
11433
11437
  duplicatingItem: ge,
@@ -11447,7 +11451,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11447
11451
  previousView: ue,
11448
11452
  setPreviousView: ce,
11449
11453
  goToResourceId: I,
11450
- searchValues: te,
11454
+ searchValues: ne,
11451
11455
  setSearchValues: ye,
11452
11456
  limit: Ne,
11453
11457
  setLimit: Le,
@@ -11465,7 +11469,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11465
11469
  setOrder: Je,
11466
11470
  currentPage: Te,
11467
11471
  setCurrentPage: He,
11468
- currentSavedSearch: ne,
11472
+ currentSavedSearch: re,
11469
11473
  setCurrentSavedSearch: ve,
11470
11474
  savedSearches: Ee,
11471
11475
  setSavedSearches: be,
@@ -11611,7 +11615,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11611
11615
  id: n,
11612
11616
  type: "graph",
11613
11617
  context: o
11614
- }), x = ba(b.arch);
11618
+ }), x = wa(b.arch);
11615
11619
  p(x), u(!1), h == null || h(!1);
11616
11620
  } catch (b) {
11617
11621
  return console.error(b), u(!1), h == null || h(!1), /* @__PURE__ */ s(Ce, { children: JSON.stringify(b) });
@@ -11745,7 +11749,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11745
11749
  default:
11746
11750
  return /* @__PURE__ */ s(Ce, { children: `Graph ${m.type} not implemented` });
11747
11751
  }
11748
- }, Bs = jt(Oy), { useToken: Dy } = rt, { Text: ea } = ln, vc = (t) => {
11752
+ }, js = jt(Oy), { useToken: Dy } = rt, { Text: ta } = ln, vc = (t) => {
11749
11753
  const {
11750
11754
  title: e,
11751
11755
  children: n,
@@ -11792,9 +11796,9 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11792
11796
  },
11793
11797
  children: a ? /* @__PURE__ */ j(Ce, { children: [
11794
11798
  /* @__PURE__ */ s($t, { title: a, children: /* @__PURE__ */ s(Zr, { className: "pr-1 text-xs" }) }),
11795
- /* @__PURE__ */ s(ea, { ellipsis: !0, children: e })
11799
+ /* @__PURE__ */ s(ta, { ellipsis: !0, children: e })
11796
11800
  ] }) : /* @__PURE__ */ s(
11797
- ea,
11801
+ ta,
11798
11802
  {
11799
11803
  ellipsis: !0,
11800
11804
  style: {
@@ -11807,7 +11811,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11807
11811
  }
11808
11812
  ),
11809
11813
  r && /* @__PURE__ */ s(Pe, { flex: "25px", style: { padding: "0.5rem" }, children: /* @__PURE__ */ s(Qe, { justify: "end", align: "middle", children: /* @__PURE__ */ s(
11810
- Sa,
11814
+ Ta,
11811
11815
  {
11812
11816
  style: { cursor: "pointer" },
11813
11817
  onClick: () => {
@@ -11950,17 +11954,17 @@ function Ny(t) {
11950
11954
  treeExpandable: l,
11951
11955
  fixedHeight: d,
11952
11956
  autoRefresh: f
11953
- } = t, [u, m] = F(!1), [p, g] = F(!1), [h, y] = F(), [v, b] = F(), [x, C] = F(), [w, R] = F(1), [S, I] = F(0), k = z(_t), O = z([]), [N, E] = F(0), [T, _] = F([]), [D, $] = F(void 0), [M, V] = F(), [L, B] = F(), [P, H] = F(), [K, W] = F(!1), [q, X] = F(In), Q = z([]), { treeMaxLimit: re } = Qt(), ge = (ce) => {
11957
+ } = t, [u, m] = F(!1), [p, g] = F(!1), [h, y] = F(), [v, b] = F(), [x, C] = F(), [w, R] = F(1), [S, I] = F(0), k = z(_t), O = z([]), [N, E] = F(0), [T, _] = F([]), [D, $] = F(void 0), [M, V] = F(), [L, B] = F(), [P, H] = F(), [K, W] = F(!1), [q, X] = F(In), Q = z([]), { treeMaxLimit: te } = Qt(), ge = (ce) => {
11954
11958
  W(!0), R(ce), I((ce - 1) * k.current);
11955
11959
  }, G = async () => {
11956
- const ce = Q.current.length > 0 ? Q.current : i, he = un(O.current, ce), { colors: te } = en(v), { totalItems: ye, results: Fe, attrsEvaluated: ke } = await U.getHandler().searchForTree({
11960
+ const ce = Q.current.length > 0 ? Q.current : i, he = un(O.current, ce), { colors: ne } = en(v), { totalItems: ye, results: Fe, attrsEvaluated: ke } = await U.getHandler().searchForTree({
11957
11961
  params: he,
11958
11962
  limit: k.current,
11959
11963
  offset: S,
11960
11964
  model: h,
11961
11965
  fields: v.fields,
11962
11966
  context: c,
11963
- attrs: te && { colors: te }
11967
+ attrs: ne && { colors: ne }
11964
11968
  });
11965
11969
  $(zn(ke));
11966
11970
  const pe = jn({
@@ -12017,13 +12021,13 @@ function Ny(t) {
12017
12021
  je(() => {
12018
12022
  if (!v)
12019
12023
  return;
12020
- const ce = za({
12024
+ const ce = Ka({
12021
12025
  treeView: v,
12022
12026
  limit: k.current,
12023
- treeMaxLimit: re
12027
+ treeMaxLimit: te
12024
12028
  });
12025
12029
  X(ce);
12026
- }, [v, re]), le(() => {
12030
+ }, [v, te]), le(() => {
12027
12031
  e ? J("action") : n && J("model");
12028
12032
  }, [e, n]);
12029
12033
  const Y = A((ce) => {
@@ -12038,7 +12042,7 @@ function Ny(t) {
12038
12042
  }, ue = () => !v || !x ? null : (L && console.error(L), /* @__PURE__ */ j("div", { style: { overflowY: "scroll", padding: 4 }, children: [
12039
12043
  L && /* @__PURE__ */ s(Nt, { className: "mt-10", message: L, type: "error", banner: !0 }),
12040
12044
  q === "infinite" && /* @__PURE__ */ s(
12041
- Ls,
12045
+ Hs,
12042
12046
  {
12043
12047
  hideHeaders: !0,
12044
12048
  rootTree: !1,
@@ -12157,7 +12161,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12157
12161
  " "
12158
12162
  ] }),
12159
12163
  n.tooltip && /* @__PURE__ */ s($t, { title: n.tooltip, children: /* @__PURE__ */ s(
12160
- xa,
12164
+ Ca,
12161
12165
  {
12162
12166
  className: "pr-1 text-xs",
12163
12167
  style: { color: e.colorPrimaryBg }
@@ -12216,7 +12220,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12216
12220
  valueStyle: { color: l }
12217
12221
  }
12218
12222
  );
12219
- return n.card ? /* @__PURE__ */ s(as, { children: R }) : R;
12223
+ return n.card ? /* @__PURE__ */ s(ls, { children: R }) : R;
12220
12224
  }, Ly = (t) => {
12221
12225
  const { ooui: e } = t, { actionId: n, height: r } = e, { getFieldValue: o, activeId: i } = Fr(), a = e.actionField && parseInt(o(e.actionField) || "0", 10) || n, { actionData: c, treeShortcut: l, loading: d, error: f, fetchData: u } = Nf(a), { openShortcut: m } = Rr();
12222
12226
  if (je(() => {
@@ -12246,7 +12250,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12246
12250
  ) : /* @__PURE__ */ s(
12247
12251
  By,
12248
12252
  {
12249
- image: ma.PRESENTED_IMAGE_SIMPLE,
12253
+ image: pa.PRESENTED_IMAGE_SIMPLE,
12250
12254
  imageStyle: { height: 15 }
12251
12255
  }
12252
12256
  ) })
@@ -12258,7 +12262,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12258
12262
  fixedHeight: e,
12259
12263
  autoRefresh: n
12260
12264
  }) => {
12261
- const { initialView: r, views: o, model: i, domain: a, context: c, limit: l } = t, d = co(Tt.FEATURE_READFORVIEW), f = d != null && d.isEnabled ? Bs : On, { openShortcut: u } = Rr(), m = z(null), p = z(null), { isActive: g } = Lt(), h = sr();
12265
+ const { initialView: r, views: o, model: i, domain: a, context: c, limit: l } = t, d = co(Tt.FEATURE_READFORVIEW), f = d != null && d.isEnabled ? js : On, { openShortcut: u } = Rr(), m = z(null), p = z(null), { isActive: g } = Lt(), h = sr();
12262
12266
  le(() => (p.current && (clearInterval(p.current), p.current = null), n && m.current && r.type === "graph" && g !== !1 && h && (p.current = setInterval(() => {
12263
12267
  var v;
12264
12268
  (v = m.current) == null || v.refresh();
@@ -12329,7 +12333,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12329
12333
  error: new Error("Unsupported view type: " + r.type)
12330
12334
  }
12331
12335
  );
12332
- }, By = Et(ma)`
12336
+ }, By = Et(pa)`
12333
12337
  &.ant-empty.ant-empty-normal {
12334
12338
  margin: 0;
12335
12339
  margin-top: 5px;
@@ -12399,7 +12403,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12399
12403
  M.preventDefault(), M.stopPropagation();
12400
12404
  }, D = Ar(N), $ = D && nl(D);
12401
12405
  return /* @__PURE__ */ s(
12402
- As,
12406
+ Is,
12403
12407
  {
12404
12408
  color: D,
12405
12409
  onMouseDown: _,
@@ -12492,7 +12496,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12492
12496
  overflowX: "hidden",
12493
12497
  overflowY: "auto"
12494
12498
  },
12495
- children: c ? /* @__PURE__ */ s(Ea, { label: n.label, icon: a, children: f }) : f
12499
+ children: c ? /* @__PURE__ */ s(Oa, { label: n.label, icon: a, children: f }) : f
12496
12500
  }
12497
12501
  );
12498
12502
  }, Gy = ({
@@ -12596,15 +12600,15 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12596
12600
  case "label":
12597
12601
  return so;
12598
12602
  case "char":
12599
- return La;
12603
+ return Ha;
12600
12604
  case "text":
12601
12605
  return Wv;
12602
12606
  case "button":
12603
- return vs;
12607
+ return bs;
12604
12608
  case "buttonGroup":
12605
12609
  return Pu;
12606
12610
  case "selection":
12607
- return Ua;
12611
+ return Wa;
12608
12612
  case "many2one":
12609
12613
  return hv;
12610
12614
  case "boolean":
@@ -12612,7 +12616,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12612
12616
  case "integer":
12613
12617
  return br;
12614
12618
  case "float":
12615
- return Os;
12619
+ return Ds;
12616
12620
  case "progressbar":
12617
12621
  return Om;
12618
12622
  case "date":
@@ -12671,7 +12675,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12671
12675
  case "alert":
12672
12676
  return rw;
12673
12677
  case "spinner":
12674
- return ts;
12678
+ return ns;
12675
12679
  case "carousel":
12676
12680
  return iw;
12677
12681
  case "colorPicker":
@@ -12727,7 +12731,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12727
12731
  for (let i = 0; i < t; i++)
12728
12732
  o += i % 2 ? n : r, i + 1 < t && (o += " ");
12729
12733
  return o;
12730
- }, rv = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), js = (t) => {
12734
+ }, rv = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), Us = (t) => {
12731
12735
  const { container: e, responsiveBehaviour: n } = t, { rows: r } = e;
12732
12736
  let { columns: o } = e;
12733
12737
  const i = rv(r);
@@ -12903,7 +12907,7 @@ function dv(t, e) {
12903
12907
  forcedValues: R = {},
12904
12908
  parentWidth: S,
12905
12909
  onMustRefreshParent: I
12906
- } = t, { t: k } = Se(), [O, N] = F(!1), [E, T] = F(), [_, D] = F(), [$] = Rt.useForm(), [M, V] = F(), [L, B] = F(), P = we(xc), [H, K] = F(), [W, q] = F(!1), [X, Q] = F(0), re = z(), ge = z({}), G = z({}), ie = z(!1), J = z(!1), ee = z(!1), Y = (S !== void 0 ? S : H) < cv, me = we(Ze), { activeId: ue, getPlainValues: ce } = me || {}, he = z(!1), te = we(
12910
+ } = t, { t: k } = Se(), [O, N] = F(!1), [E, T] = F(), [_, D] = F(), [$] = Rt.useForm(), [M, V] = F(), [L, B] = F(), P = we(xc), [H, K] = F(), [W, q] = F(!1), [X, Q] = F(0), te = z(), ge = z({}), G = z({}), ie = z(!1), J = z(!1), ee = z(!1), Y = (S !== void 0 ? S : H) < cv, me = we(Ze), { activeId: ue, getPlainValues: ce } = me || {}, he = z(!1), ne = we(
12907
12911
  Mt
12908
12912
  ), {
12909
12913
  setFormIsSaving: ye = void 0,
@@ -12914,7 +12918,7 @@ function dv(t, e) {
12914
12918
  title: $e = void 0,
12915
12919
  setTitle: ze = void 0,
12916
12920
  isActive: Oe = void 0
12917
- } = (C ? te : {}) || {}, We = we(
12921
+ } = (C ? ne : {}) || {}, We = we(
12918
12922
  yn
12919
12923
  ), { processAction: Re, globalValues: Je } = We || {}, { onActionTriggered: Ne } = Qt(), { showErrorNotification: Le } = xt({
12920
12924
  onButtonAction: (oe) => {
@@ -12925,7 +12929,7 @@ function dv(t, e) {
12925
12929
  setFieldMessage: Me,
12926
12930
  getFieldMessage: Te,
12927
12931
  getFieldMessageType: He,
12928
- clearFieldMessage: ne,
12932
+ clearFieldMessage: re,
12929
12933
  clearAllFieldMessages: ve,
12930
12934
  setFieldMessagesArray: Ee
12931
12935
  } = lv();
@@ -12938,15 +12942,15 @@ function dv(t, e) {
12938
12942
  fetchValues: qt,
12939
12943
  cancelUnsavedChanges: xn,
12940
12944
  clearAndReload: () => {
12941
- re.current = void 0, D(void 0), cn();
12945
+ te.current = void 0, D(void 0), cn();
12942
12946
  }
12943
12947
  })), le(() => {
12944
12948
  if (T(void 0), ve(), !(!n && !g)) {
12945
12949
  if (!x) {
12946
- re.current = void 0, D(void 0);
12950
+ te.current = void 0, D(void 0);
12947
12951
  return;
12948
12952
  }
12949
- (r === void 0 && L || r !== void 0 && L && r < 0) && (re.current = void 0, D(void 0)), cn();
12953
+ (r === void 0 && L || r !== void 0 && L && r < 0) && (te.current = void 0, D(void 0)), cn();
12950
12954
  }
12951
12955
  }, [r, n, p, g, x]), le(() => {
12952
12956
  W && (Zt({
@@ -12968,7 +12972,7 @@ function dv(t, e) {
12968
12972
  Fe == null || Fe(!1), ye == null || ye(!1), i == null || i(oe, ae, fe, Ae), ke == null || ke(oe), he.current && (I == null || I());
12969
12973
  }, De = (oe) => {
12970
12974
  ye == null || ye(!1), d == null || d(oe);
12971
- }, de = A(() => r || re.current, [r]), it = r || re.current;
12975
+ }, de = A(() => r || te.current, [r]), it = r || te.current;
12972
12976
  function yt() {
12973
12977
  return L;
12974
12978
  }
@@ -13155,7 +13159,7 @@ function dv(t, e) {
13155
13159
  });
13156
13160
  xe == null || xe(at);
13157
13161
  } else
13158
- xe == null || xe([]), fe = await bn(oe), fe.id && (re.current = fe.id), Ae = !0;
13162
+ xe == null || xe([]), fe = await bn(oe), fe.id && (te.current = fe.id), Ae = !0;
13159
13163
  return { values: fe, defaultGetCalled: Ae };
13160
13164
  }, Ue = async (oe) => {
13161
13165
  const { callOnSubmitSucceed: ae = !0 } = oe || {};
@@ -13185,7 +13189,7 @@ function dv(t, e) {
13185
13189
  ..._ == null ? void 0 : _.context
13186
13190
  }
13187
13191
  });
13188
- re.current = Ae, ge.current = fe;
13192
+ te.current = Ae, ge.current = fe;
13189
13193
  }
13190
13194
  h && await h([de()]), !y && ae && (be == null || be(de(), ht(), nt()));
13191
13195
  }, et = async (oe) => {
@@ -13202,7 +13206,7 @@ function dv(t, e) {
13202
13206
  ee.current
13203
13207
  ), ee.current = !1;
13204
13208
  const Ae = de();
13205
- return u && (re.current = void 0, Gt({ values: {}, fields: L, reset: !0 })), { succeed: !0, id: Ae };
13209
+ return u && (te.current = void 0, Gt({ values: {}, fields: L, reset: !0 })), { succeed: !0, id: Ae };
13206
13210
  }
13207
13211
  if (!Dt() && de() && fe)
13208
13212
  return J.current = !1, Fe == null || Fe(!1), At == null || At(), { succeed: !0, id: de() };
@@ -13214,7 +13218,7 @@ function dv(t, e) {
13214
13218
  }), { succeed: !1, id: de() };
13215
13219
  N(!0), ye == null || ye(!0);
13216
13220
  try {
13217
- m === "api" ? await Ue(oe) : await et(oe), u && (re.current = void 0, Gt({ values: {}, fields: L, reset: !0 })), m !== "2many" && await qt({ forceRefresh: !0 }), ae = !0, m !== "2many" && Le({
13221
+ m === "api" ? await Ue(oe) : await et(oe), u && (te.current = void 0, Gt({ values: {}, fields: L, reset: !0 })), m !== "2many" && await qt({ forceRefresh: !0 }), ae = !0, m !== "2many" && Le({
13218
13222
  type: "success",
13219
13223
  title: k("savedRegisters"),
13220
13224
  duration: 3
@@ -13232,7 +13236,7 @@ function dv(t, e) {
13232
13236
  values: fe,
13233
13237
  operationInProgress: Ae = !1
13234
13238
  }) => {
13235
- const Ve = new wa(oe);
13239
+ const Ve = new xa(oe);
13236
13240
  return Ve.parse(ae, {
13237
13241
  readOnly: f || Ae,
13238
13242
  values: uf(
@@ -13289,7 +13293,7 @@ function dv(t, e) {
13289
13293
  }) && oe !== !0)) {
13290
13294
  const Ae = Vn($.getFieldsValue(!0), L);
13291
13295
  G.current = Ae, l == null || l(Ae), Fe == null || Fe(!0), Object.keys(Ae).forEach((Ve) => {
13292
- ne(Ve);
13296
+ re(Ve);
13293
13297
  }), Yt(fe);
13294
13298
  }
13295
13299
  }, Nn = zd(Zt, 100), Yt = async (oe) => {
@@ -13531,7 +13535,7 @@ function dv(t, e) {
13531
13535
  setFieldMessage: Me,
13532
13536
  getFieldMessage: Te,
13533
13537
  getFieldMessageType: He,
13534
- clearFieldMessage: ne,
13538
+ clearFieldMessage: re,
13535
13539
  clearAllFieldMessages: ve,
13536
13540
  refreshCounter: X,
13537
13541
  children: /* @__PURE__ */ s(
@@ -13543,7 +13547,7 @@ function dv(t, e) {
13543
13547
  },
13544
13548
  component: !1,
13545
13549
  children: _ && /* @__PURE__ */ s(
13546
- js,
13550
+ Us,
13547
13551
  {
13548
13552
  container: _.container,
13549
13553
  responsiveBehaviour: Y
@@ -13582,7 +13586,7 @@ function dv(t, e) {
13582
13586
  ] }) })
13583
13587
  ] });
13584
13588
  return x ? /* @__PURE__ */ s(
13585
- hs,
13589
+ gs,
13586
13590
  {
13587
13591
  bounds: !0,
13588
13592
  onResize: (oe) => {
@@ -13841,13 +13845,13 @@ const ir = jt(dv), Cc = (t) => {
13841
13845
  treeView: b,
13842
13846
  formView: x,
13843
13847
  loading: C
13844
- } = Fs({
13848
+ } = As({
13845
13849
  model: r,
13846
13850
  formViewProps: void 0,
13847
13851
  treeViewProps: void 0,
13848
13852
  context: a,
13849
13853
  enabled: t
13850
- }), w = Z(() => b != null && b.arch ? Ya(b.arch, "infinite") === "1" : !1, [b == null ? void 0 : b.arch]), R = A(
13854
+ }), w = Z(() => b != null && b.arch ? za(b.arch, "infinite") === "1" : !1, [b == null ? void 0 : b.arch]), R = A(
13851
13855
  async (_) => {
13852
13856
  p(!0);
13853
13857
  try {
@@ -13873,7 +13877,7 @@ const ir = jt(dv), Cc = (t) => {
13873
13877
  }
13874
13878
  R(f);
13875
13879
  }, [f, S, R]), O = Z(
13876
- () => w ? Ls : gc,
13880
+ () => w ? Hs : gc,
13877
13881
  [w]
13878
13882
  ), N = A(() => {
13879
13883
  d(!0);
@@ -14070,7 +14074,7 @@ const ir = jt(dv), Cc = (t) => {
14070
14074
  }
14071
14075
  }
14072
14076
  }, X = async (Y) => {
14073
- if (await re(), T.current && T.current.length > 0) {
14077
+ if (await te(), T.current && T.current.length > 0) {
14074
14078
  const me = await U.getHandler().searchAllIds({
14075
14079
  params: T.current,
14076
14080
  model: i,
@@ -14097,7 +14101,7 @@ const ir = jt(dv), Cc = (t) => {
14097
14101
  y(!1);
14098
14102
  }
14099
14103
  };
14100
- async function re() {
14104
+ async function te() {
14101
14105
  d && (T.current = await U.getHandler().evalDomain({
14102
14106
  domain: d,
14103
14107
  values: En({
@@ -14107,7 +14111,7 @@ const ir = jt(dv), Cc = (t) => {
14107
14111
  fields: k(),
14108
14112
  context: O()
14109
14113
  })), I && I.length > 0 && (T.current = T.current.concat(
14110
- cs({
14114
+ ds({
14111
14115
  domain: I,
14112
14116
  widgetFieldName: l
14113
14117
  })
@@ -14154,7 +14158,7 @@ const ir = jt(dv), Cc = (t) => {
14154
14158
  ee && /* @__PURE__ */ s(Pe, { flex: "none", style: { paddingRight: 0, paddingLeft: 0 }, children: /* @__PURE__ */ s(
14155
14159
  Ge,
14156
14160
  {
14157
- icon: /* @__PURE__ */ s(ds, {}),
14161
+ icon: /* @__PURE__ */ s(us, {}),
14158
14162
  disabled: P === void 0 || H === "" || C === void 0,
14159
14163
  onClick: () => {
14160
14164
  g(!0);
@@ -14235,7 +14239,7 @@ const ir = jt(dv), Cc = (t) => {
14235
14239
  }, p = () => {
14236
14240
  f(!1);
14237
14241
  const h = document.querySelector("#confirm-modal-container");
14238
- h && (Oa(h).unmount(), h.remove());
14242
+ h && (Da(h).unmount(), h.remove());
14239
14243
  };
14240
14244
  return /* @__PURE__ */ s(
14241
14245
  It,
@@ -14258,7 +14262,7 @@ const ir = jt(dv), Cc = (t) => {
14258
14262
  }, Fc = (t) => {
14259
14263
  const e = document.createElement("div");
14260
14264
  document.body.appendChild(e);
14261
- const n = Oa(e);
14265
+ const n = Da(e);
14262
14266
  return n.render(
14263
14267
  /* @__PURE__ */ s(
14264
14268
  yv,
@@ -14465,7 +14469,7 @@ const ir = jt(dv), Cc = (t) => {
14465
14469
  };
14466
14470
  }, { useToken: bv } = rt;
14467
14471
  function wv(t) {
14468
- var Q, re, ge, G;
14472
+ var Q, te, ge, G;
14469
14473
  const {
14470
14474
  title: e,
14471
14475
  readOnly: n,
@@ -14565,7 +14569,7 @@ function wv(t) {
14565
14569
  icon: /* @__PURE__ */ s(Zr, {}),
14566
14570
  tooltip: I("showLogs"),
14567
14571
  disabled: !(a === "form" && R !== void 0 && R > 0 || a === "tree" && g.length === 1 && (g == null ? void 0 : g[0]) !== void 0 && parseInt(g[0]) > 0),
14568
- onClick: () => Ts(
14572
+ onClick: () => Fs(
14569
14573
  o,
14570
14574
  a === "form" ? R : parseInt(g[0]),
14571
14575
  I
@@ -14611,7 +14615,7 @@ function wv(t) {
14611
14615
  )
14612
14616
  ] }),
14613
14617
  v && /* @__PURE__ */ j(Ce, { children: [
14614
- ((re = v.action) == null ? void 0 : re.length) > 0 && /* @__PURE__ */ j(Ce, { children: [
14618
+ ((te = v.action) == null ? void 0 : te.length) > 0 && /* @__PURE__ */ j(Ce, { children: [
14615
14619
  /* @__PURE__ */ s(sn, {}),
14616
14620
  /* @__PURE__ */ s(
14617
14621
  dn,
@@ -14689,7 +14693,7 @@ const Oc = ct(
14689
14693
  St,
14690
14694
  {
14691
14695
  tooltip: o("previousItem"),
14692
- icon: /* @__PURE__ */ s(Aa, {}),
14696
+ icon: /* @__PURE__ */ s(Ia, {}),
14693
14697
  onClick: n,
14694
14698
  disabled: e === 0
14695
14699
  }
@@ -14705,7 +14709,7 @@ const Oc = ct(
14705
14709
  St,
14706
14710
  {
14707
14711
  tooltip: o("nextItem"),
14708
- icon: /* @__PURE__ */ s(Ia, {}),
14712
+ icon: /* @__PURE__ */ s(Ra, {}),
14709
14713
  onClick: r,
14710
14714
  disabled: e === 0
14711
14715
  }
@@ -14726,7 +14730,7 @@ const Dc = ct(
14726
14730
  St,
14727
14731
  {
14728
14732
  tooltip: o(t ? "unlink" : "delete"),
14729
- icon: t ? /* @__PURE__ */ s(wd, {}) : /* @__PURE__ */ s(ps, {}),
14733
+ icon: t ? /* @__PURE__ */ s(wd, {}) : /* @__PURE__ */ s(hs, {}),
14730
14734
  onClick: n,
14731
14735
  danger: !t,
14732
14736
  type: t ? "default" : "primary",
@@ -14736,9 +14740,9 @@ const Dc = ct(
14736
14740
  }
14737
14741
  );
14738
14742
  Dc.displayName = "DeleteButton";
14739
- const Us = ct(wv), xv = {
14740
- form: wa,
14741
- tree: ha,
14743
+ const Ws = ct(wv), xv = {
14744
+ form: xa,
14745
+ tree: ga,
14742
14746
  graph: On
14743
14747
  };
14744
14748
  function Cv(t) {
@@ -14762,10 +14766,10 @@ const Sv = (t) => {
14762
14766
  } = f || {}, { t: v } = Se(), [b, x] = F(!1), [C, w] = F(!1), [R, S] = F(), [I, k] = F(!1), [O, N] = F(!1), [E, T] = F(), [_, D] = F([]), [$, M] = F(!1), [V, L] = F([]), [B, P] = F(), H = z(), [K, W] = F(void 0), q = z(), {
14763
14767
  readOnly: X,
14764
14768
  relation: Q,
14765
- context: re,
14769
+ context: te,
14766
14770
  domain: ge
14767
14771
  } = r, G = r.type === "many2many", { id: ie } = r, J = i.filter(
14768
- (ne) => (ne.values || ne.treeValues) && ne.operation !== "pendingRemove"
14772
+ (re) => (re.values || re.treeValues) && re.operation !== "pendingRemove"
14769
14773
  ), ee = z();
14770
14774
  le(() => {
14771
14775
  if (ee.current !== a) {
@@ -14775,24 +14779,24 @@ const Sv = (t) => {
14775
14779
  se();
14776
14780
  }, [i, a]);
14777
14781
  const se = A(() => {
14778
- (a === "form" && i.some((ne) => !ne.values) || a === "tree" && i.some((ne) => !ne.treeValues)) && me();
14782
+ (a === "form" && i.some((re) => !re.values) || a === "tree" && i.some((re) => !re.treeValues)) && me();
14779
14783
  }, [i, a]);
14780
14784
  je(() => {
14781
14785
  ce();
14782
14786
  }, [g]);
14783
- const Y = (ne) => {
14787
+ const Y = (re) => {
14784
14788
  var ve, Ee;
14785
14789
  n == null || n({
14786
14790
  fields: ((ve = o.get("form")) == null ? void 0 : ve.fields) || ((Ee = o.get("tree")) == null ? void 0 : Ee.fields),
14787
- items: Cv(ne)
14791
+ items: Cv(re)
14788
14792
  });
14789
14793
  }, me = async () => {
14790
14794
  await ue(), l > J.length - 1 && l !== 0 && d(0);
14791
- }, ue = async (ne) => {
14795
+ }, ue = async (re) => {
14792
14796
  var ve, Ee, be;
14793
14797
  w(!0), x(!1), S(void 0);
14794
14798
  try {
14795
- const [De, de] = await Cs({
14799
+ const [De, de] = await Ss({
14796
14800
  treeView: {
14797
14801
  arch: (ve = o.get("tree")) == null ? void 0 : ve.arch,
14798
14802
  fields: (Ee = o.get("tree")) == null ? void 0 : Ee.fields
@@ -14802,10 +14806,10 @@ const Sv = (t) => {
14802
14806
  },
14803
14807
  model: Q,
14804
14808
  items: i,
14805
- context: { ...p == null ? void 0 : p(), ...re },
14806
- currentView: ne || a
14809
+ context: { ...p == null ? void 0 : p(), ...te },
14810
+ currentView: re || a
14807
14811
  });
14808
- return H.current || (H.current = De.map((it) => it.id)), (a || ne) === "tree" && de && W(de), Y(De), De;
14812
+ return H.current || (H.current = De.map((it) => it.id)), (a || re) === "tree" && de && W(de), Y(De), De;
14809
14813
  } catch (De) {
14810
14814
  S(De);
14811
14815
  } finally {
@@ -14816,8 +14820,8 @@ const Sv = (t) => {
14816
14820
  ce();
14817
14821
  }, [y()]);
14818
14822
  const ce = A(async () => {
14819
- let ne = [];
14820
- ge && (ne = await U.getHandler().evalDomain({
14823
+ let re = [];
14824
+ ge && (re = await U.getHandler().evalDomain({
14821
14825
  domain: ge,
14822
14826
  values: En({
14823
14827
  fields: m(),
@@ -14825,12 +14829,12 @@ const Sv = (t) => {
14825
14829
  }),
14826
14830
  fields: m(),
14827
14831
  context: p()
14828
- })), g && g.length > 0 && (ne = ne.concat(
14829
- cs({
14832
+ })), g && g.length > 0 && (re = re.concat(
14833
+ ds({
14830
14834
  domain: g,
14831
14835
  widgetFieldName: ie
14832
14836
  })
14833
- )), ne.length > 0 && L(ne);
14837
+ )), re.length > 0 && L(re);
14834
14838
  }, [
14835
14839
  ge,
14836
14840
  g,
@@ -14839,44 +14843,44 @@ const Sv = (t) => {
14839
14843
  p,
14840
14844
  ie
14841
14845
  ]), he = () => {
14842
- const ne = Array.from(o.keys()), ve = ne[(ne.indexOf(a) + 1) % ne.length];
14846
+ const re = Array.from(o.keys()), ve = re[(re.indexOf(a) + 1) % re.length];
14843
14847
  a === "form" ? ke(() => {
14844
14848
  c(ve);
14845
14849
  }) : c(ve);
14846
- }, te = () => {
14850
+ }, ne = () => {
14847
14851
  l > 0 && (a === "form" ? ke(() => {
14848
14852
  d(l - 1);
14849
14853
  }) : d(l - 1));
14850
14854
  }, ye = () => {
14851
- const ne = J.length;
14852
- l < ne - 1 && (a === "form" ? ke(() => {
14855
+ const re = J.length;
14856
+ l < re - 1 && (a === "form" ? ke(() => {
14853
14857
  d(l + 1);
14854
14858
  }) : d(l + 1));
14855
14859
  }, Fe = async () => {
14856
- const ne = J[l].id, ve = (await U.getHandler().readObjects({
14860
+ const re = J[l].id, ve = (await U.getHandler().readObjects({
14857
14861
  model: Q,
14858
- ids: [ne],
14862
+ ids: [re],
14859
14863
  fields: o.get("form").fields,
14860
- context: { ...p == null ? void 0 : p(), ...re }
14864
+ context: { ...p == null ? void 0 : p(), ...te }
14861
14865
  }))[0], Ee = (await U.getHandler().readObjects({
14862
14866
  model: Q,
14863
- ids: [ne],
14867
+ ids: [re],
14864
14868
  fields: o.get("tree").fields,
14865
- context: { ...p == null ? void 0 : p(), ...re }
14866
- }))[0], be = i.map((De) => De.id === ne ? {
14869
+ context: { ...p == null ? void 0 : p(), ...te }
14870
+ }))[0], be = i.map((De) => De.id === re ? {
14867
14871
  ...De,
14868
14872
  operation: "original",
14869
14873
  values: ve,
14870
14874
  treeValues: Ee
14871
14875
  } : De);
14872
14876
  Y(be);
14873
- }, ke = (ne) => {
14877
+ }, ke = (re) => {
14874
14878
  b ? rr({
14875
14879
  t: v,
14876
14880
  onOk: () => {
14877
- Fe(), ne(), x(!1);
14881
+ Fe(), re(), x(!1);
14878
14882
  }
14879
- }) : ne();
14883
+ }) : re();
14880
14884
  }, pe = () => {
14881
14885
  if (G) {
14882
14886
  Ic({
@@ -14894,9 +14898,9 @@ const Sv = (t) => {
14894
14898
  }
14895
14899
  });
14896
14900
  }, xe = async () => {
14897
- const { inv_field: ne } = r;
14901
+ const { inv_field: re } = r;
14898
14902
  let ve;
14899
- ne && u && (ve = { [ne]: u }), a === "form" ? ke(() => {
14903
+ re && u && (ve = { [re]: u }), a === "form" ? ke(() => {
14900
14904
  M(!0), T({ defaultValues: ve }), k(!0);
14901
14905
  }) : (M(!0), T({ defaultValues: ve }), k(!0));
14902
14906
  }, $e = async () => {
@@ -14907,24 +14911,24 @@ const Sv = (t) => {
14907
14911
  w(!0), x(!1), S(void 0);
14908
14912
  try {
14909
14913
  if (J[l].id > 0) {
14910
- const ne = i.map((ve) => ve.id === J[l].id ? {
14914
+ const re = i.map((ve) => ve.id === J[l].id ? {
14911
14915
  ...ve,
14912
14916
  operation: "pendingRemove"
14913
14917
  } : ve);
14914
- Y(ne);
14918
+ Y(re);
14915
14919
  } else
14916
14920
  Y(
14917
- i.filter((ne) => ne.id !== J[l].id)
14921
+ i.filter((re) => re.id !== J[l].id)
14918
14922
  );
14919
- } catch (ne) {
14920
- S(ne);
14923
+ } catch (re) {
14924
+ S(re);
14921
14925
  }
14922
14926
  d(0), w(!1);
14923
14927
  }, Oe = async () => {
14924
- const ne = J.filter((ve) => _.includes(ve.id));
14928
+ const re = J.filter((ve) => _.includes(ve.id));
14925
14929
  w(!0), x(!1), S(void 0);
14926
14930
  try {
14927
- const ve = ne.map((be) => be.id), Ee = i.filter((be) => !(ve.includes(be.id) && be.id < 0)).map((be) => ve.includes(be.id) ? {
14931
+ const ve = re.map((be) => be.id), Ee = i.filter((be) => !(ve.includes(be.id) && be.id < 0)).map((be) => ve.includes(be.id) ? {
14928
14932
  ...be,
14929
14933
  operation: "pendingRemove"
14930
14934
  } : be);
@@ -14933,21 +14937,21 @@ const Sv = (t) => {
14933
14937
  S(ve);
14934
14938
  }
14935
14939
  d(0), w(!1);
14936
- }, We = (ne, ve, Ee, be = !1) => {
14940
+ }, We = (re, ve, Ee, be = !1) => {
14937
14941
  let De;
14938
14942
  if (be)
14939
14943
  De = i.concat({
14940
- id: ne,
14944
+ id: re,
14941
14945
  operation: "pendingLink",
14942
- values: { ...Ee, id: ne },
14943
- treeValues: { ...Ee, id: ne }
14946
+ values: { ...Ee, id: re },
14947
+ treeValues: { ...Ee, id: re }
14944
14948
  });
14945
- else if (ne)
14946
- De = i.map((de) => de.id === ne ? {
14947
- id: ne,
14948
- operation: ne > 0 ? "pendingUpdate" : "pendingCreate",
14949
- values: { ...Ee, id: ne },
14950
- treeValues: { ...Ee, id: ne }
14949
+ else if (re)
14950
+ De = i.map((de) => de.id === re ? {
14951
+ id: re,
14952
+ operation: re > 0 ? "pendingUpdate" : "pendingCreate",
14953
+ values: { ...Ee, id: re },
14954
+ treeValues: { ...Ee, id: re }
14951
14955
  } : de);
14952
14956
  else {
14953
14957
  const de = Ja(i);
@@ -14959,26 +14963,26 @@ const Sv = (t) => {
14959
14963
  });
14960
14964
  }
14961
14965
  Y(De), $ || k(!1);
14962
- }, Re = async (ne) => {
14963
- const { id: ve } = ne;
14966
+ }, Re = async (re) => {
14967
+ const { id: ve } = re;
14964
14968
  let Ee = i;
14965
14969
  const be = i.find((De) => De.id === ve);
14966
14970
  (be == null ? void 0 : be.values) === void 0 && (Ee = await ue("form")), T(Ee.find((De) => De.id === ve)), M(!1), k(!0);
14967
- }, Je = async (ne) => {
14971
+ }, Je = async (re) => {
14968
14972
  w(!0);
14969
- const ve = i, Ee = ne.filter((be) => !i.find((De) => De.id === be));
14973
+ const ve = i, Ee = re.filter((be) => !i.find((De) => De.id === be));
14970
14974
  try {
14971
14975
  for (const be of Ee) {
14972
14976
  const De = (await U.getHandler().readObjects({
14973
14977
  model: Q,
14974
14978
  ids: [be],
14975
14979
  fields: o.get("form").fields,
14976
- context: { ...p == null ? void 0 : p(), ...re }
14980
+ context: { ...p == null ? void 0 : p(), ...te }
14977
14981
  }))[0], de = (await U.getHandler().readObjects({
14978
14982
  model: Q,
14979
14983
  ids: [be],
14980
14984
  fields: o.get("tree").fields,
14981
- context: { ...p == null ? void 0 : p(), ...re }
14985
+ context: { ...p == null ? void 0 : p(), ...te }
14982
14986
  }))[0];
14983
14987
  ve.push({
14984
14988
  id: be,
@@ -14995,11 +14999,11 @@ const Sv = (t) => {
14995
14999
  }
14996
15000
  };
14997
15001
  function Ne() {
14998
- const ne = xv[a];
15002
+ const re = xv[a];
14999
15003
  if (a === "graph")
15000
- return ba(o.get("graph").arch).string;
15004
+ return wa(o.get("graph").arch).string;
15001
15005
  {
15002
- const ve = new ne(o.get(a).fields);
15006
+ const ve = new re(o.get(a).fields);
15003
15007
  return ve.parse(o.get(a).arch), ve.string;
15004
15008
  }
15005
15009
  }
@@ -15012,7 +15016,7 @@ const Sv = (t) => {
15012
15016
  ref: q,
15013
15017
  formView: o.get("form"),
15014
15018
  values: (ve = J[l]) == null ? void 0 : ve.values,
15015
- parentContext: { ...p == null ? void 0 : p(), ...re },
15019
+ parentContext: { ...p == null ? void 0 : p(), ...te },
15016
15020
  model: Q,
15017
15021
  id: (Ee = J[l]) == null ? void 0 : Ee.id,
15018
15022
  submitMode: "values",
@@ -15029,8 +15033,8 @@ const Sv = (t) => {
15029
15033
  readOnly: X
15030
15034
  }
15031
15035
  );
15032
- let ne = [];
15033
- if (J.some((de) => de.treeValues) && (ne = B ? jn({
15036
+ let re = [];
15037
+ if (J.some((de) => de.treeValues) && (re = B ? jn({
15034
15038
  resultsToSort: J.map((de) => de.treeValues),
15035
15039
  sorter: B,
15036
15040
  fields: {
@@ -15044,7 +15048,7 @@ const Sv = (t) => {
15044
15048
  total: J.length,
15045
15049
  limit: J.length,
15046
15050
  treeView: o.get("tree"),
15047
- results: ne,
15051
+ results: re,
15048
15052
  loading: C,
15049
15053
  onRowClicked: ((De = o.get("form")) == null ? void 0 : De.fields) !== void 0 ? Re : void 0,
15050
15054
  showPagination: !1,
@@ -15052,7 +15056,7 @@ const Sv = (t) => {
15052
15056
  onRowSelectionChange: D,
15053
15057
  sorter: B,
15054
15058
  onChangeSort: P,
15055
- context: { ...p == null ? void 0 : p(), ...re },
15059
+ context: { ...p == null ? void 0 : p(), ...te },
15056
15060
  colorsForResults: K,
15057
15061
  readonly: X,
15058
15062
  scrollY: r == null ? void 0 : r.height
@@ -15067,7 +15071,7 @@ const Sv = (t) => {
15067
15071
  view_id: o.get("graph").view_id,
15068
15072
  model: r.relation,
15069
15073
  domain: de,
15070
- context: { ...p == null ? void 0 : p(), ...re },
15074
+ context: { ...p == null ? void 0 : p(), ...te },
15071
15075
  limit: 0
15072
15076
  }
15073
15077
  );
@@ -15078,7 +15082,7 @@ const Sv = (t) => {
15078
15082
  const Xe = $;
15079
15083
  return C ? /* @__PURE__ */ s(st, {}) : /* @__PURE__ */ j(Ce, { children: [
15080
15084
  /* @__PURE__ */ s(
15081
- Us,
15085
+ Ws,
15082
15086
  {
15083
15087
  mode: a,
15084
15088
  model: Q,
@@ -15092,7 +15096,7 @@ const Sv = (t) => {
15092
15096
  onDelete: pe,
15093
15097
  onCreateItem: xe,
15094
15098
  onToggleViewMode: he,
15095
- onPreviousItem: te,
15099
+ onPreviousItem: ne,
15096
15100
  onNextItem: ye,
15097
15101
  onSearchItem: $e,
15098
15102
  selectedRowKeys: _,
@@ -15100,7 +15104,7 @@ const Sv = (t) => {
15100
15104
  showToggleButton: o.size > 1,
15101
15105
  toolbar: (He = o.get(a)) == null ? void 0 : He.toolbar,
15102
15106
  treeView: o.get("tree"),
15103
- context: { ...p == null ? void 0 : p(), ...re },
15107
+ context: { ...p == null ? void 0 : p(), ...te },
15104
15108
  formRef: q,
15105
15109
  onRefreshParentValues: () => {
15106
15110
  h == null || h({ forceRefresh: !0 });
@@ -15119,14 +15123,14 @@ const Sv = (t) => {
15119
15123
  defaultValues: E == null ? void 0 : E.defaultValues,
15120
15124
  visible: I,
15121
15125
  onSubmitSucceed: We,
15122
- parentContext: { ...p == null ? void 0 : p(), ...re },
15123
- onCancel: (ne) => {
15124
- if (M(!1), ne != null && ne.id && (ne != null && ne.values)) {
15126
+ parentContext: { ...p == null ? void 0 : p(), ...te },
15127
+ onCancel: (re) => {
15128
+ if (M(!1), re != null && re.id && (re != null && re.values)) {
15125
15129
  const ve = i.map(
15126
- (Ee) => Ee.id === ne.id ? {
15130
+ (Ee) => Ee.id === re.id ? {
15127
15131
  ...Ee,
15128
- values: { ...Ee.values, ...ne.values },
15129
- treeValues: { ...Ee.treeValues, ...ne.values }
15132
+ values: { ...Ee.values, ...re.values },
15133
+ treeValues: { ...Ee.treeValues, ...re.values }
15130
15134
  } : Ee
15131
15135
  );
15132
15136
  Y(ve);
@@ -15145,10 +15149,10 @@ const Sv = (t) => {
15145
15149
  {
15146
15150
  domain: V,
15147
15151
  model: Q,
15148
- context: { ...p == null ? void 0 : p(), ...re },
15152
+ context: { ...p == null ? void 0 : p(), ...te },
15149
15153
  visible: O,
15150
- onSelectValues: async (ne) => {
15151
- N(!1), Je(ne);
15154
+ onSelectValues: async (re) => {
15155
+ N(!1), Je(re);
15152
15156
  },
15153
15157
  onCloseModal: () => {
15154
15158
  N(!1);
@@ -15182,7 +15186,7 @@ const Sv = (t) => {
15182
15186
  fields: o(),
15183
15187
  context: i()
15184
15188
  })), a && a.length > 0 && (d = d.concat(
15185
- cs({
15189
+ ds({
15186
15190
  domain: a,
15187
15191
  widgetFieldName: t
15188
15192
  })
@@ -15337,7 +15341,7 @@ const Sv = (t) => {
15337
15341
  };
15338
15342
  }, Mc = ({
15339
15343
  one2manyItems: t
15340
- }) => Ut(() => t.filter((e) => e.operation !== "pendingRemove"), [t]), Ws = jt(
15344
+ }) => Ut(() => t.filter((e) => e.operation !== "pendingRemove"), [t]), qs = jt(
15341
15345
  ({
15342
15346
  formView: t,
15343
15347
  items: e,
@@ -15373,7 +15377,7 @@ const Sv = (t) => {
15373
15377
  );
15374
15378
  }
15375
15379
  );
15376
- Ws.displayName = "One2manyForm";
15380
+ qs.displayName = "One2manyForm";
15377
15381
  const Pc = ({
15378
15382
  isMany2many: t,
15379
15383
  triggerChange: e,
@@ -15570,11 +15574,11 @@ const $c = ({
15570
15574
  h.push({
15571
15575
  id: b.id,
15572
15576
  operation: "pendingLink",
15573
- values: oi({
15577
+ values: si({
15574
15578
  values: b,
15575
15579
  fields: ["id", ...Object.keys(i.get("form").fields)]
15576
15580
  }),
15577
- treeValues: oi({
15581
+ treeValues: si({
15578
15582
  values: b,
15579
15583
  fields: ["id", ...Object.keys(i.get("tree").fields)]
15580
15584
  })
@@ -15597,7 +15601,7 @@ const $c = ({
15597
15601
  onCloseSearchModal: u,
15598
15602
  onSelectSearchValues: p
15599
15603
  };
15600
- }, Lc = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, ta = 400, Av = ({
15604
+ }, Lc = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, na = 400, Av = ({
15601
15605
  items: t,
15602
15606
  height: e,
15603
15607
  onRowDoubleClick: n,
@@ -15628,10 +15632,10 @@ const $c = ({
15628
15632
  onRowStatus: q,
15629
15633
  getColumnState: X,
15630
15634
  updateColumnState: Q,
15631
- isColumnStateLoading: re,
15635
+ isColumnStateLoading: te,
15632
15636
  updateAttributes: ge,
15633
15637
  clearAttributes: G
15634
- } = Rs({
15638
+ } = _s({
15635
15639
  treeOoui: o,
15636
15640
  parentContext: a,
15637
15641
  columnStateKey: Lc({
@@ -15649,7 +15653,7 @@ const $c = ({
15649
15653
  (Te) => (Te.values || Te.treeValues) && Te.operation !== "pendingRemove"
15650
15654
  ),
15651
15655
  [t]
15652
- ), { isFieldLoading: ee, addRecordsToCheckFunctionFields: se } = Vs({
15656
+ ), { isFieldLoading: ee, addRecordsToCheckFunctionFields: se } = Ls({
15653
15657
  model: f,
15654
15658
  treeView: i,
15655
15659
  tableRef: C,
@@ -15661,10 +15665,10 @@ const $c = ({
15661
15665
  results: J
15662
15666
  }), Y = Z(() => L ? L.map((Te) => ({
15663
15667
  ...Te,
15664
- render: (ne, ve) => /* @__PURE__ */ s(
15668
+ render: (re, ve) => /* @__PURE__ */ s(
15665
15669
  go,
15666
15670
  {
15667
- value: ne,
15671
+ value: re,
15668
15672
  record: ve,
15669
15673
  column: Te,
15670
15674
  isFieldLoading: ee
@@ -15674,9 +15678,9 @@ const $c = ({
15674
15678
  async ({
15675
15679
  startRow: Te,
15676
15680
  endRow: He,
15677
- state: ne
15681
+ state: re
15678
15682
  }) => {
15679
- const ve = Kn({ state: ne }), { results: Ee, colors: be, status: De } = await c({
15683
+ const ve = Kn({ state: re }), { results: Ee, colors: be, status: De } = await c({
15680
15684
  allItems: R.current,
15681
15685
  startRow: Te,
15682
15686
  endRow: He,
@@ -15708,16 +15712,16 @@ const $c = ({
15708
15712
  try {
15709
15713
  const Te = Kn({
15710
15714
  state: T.current
15711
- }), { results: He, colors: ne, status: ve } = await c({
15715
+ }), { results: He, colors: re, status: ve } = await c({
15712
15716
  allItems: t,
15713
15717
  startRow: 0,
15714
15718
  endRow: t.length,
15715
15719
  sortFields: Te
15716
15720
  });
15717
- if (ne && (P.current = { ...P.current, ...ne }), ve && (H.current || (H.current = {}), H.current = { ...H.current, ...ve }), ne || ve) {
15721
+ if (re && (P.current = { ...P.current, ...re }), ve && (H.current || (H.current = {}), H.current = { ...H.current, ...ve }), re || ve) {
15718
15722
  const be = He.map((De) => ({
15719
15723
  id: De.id,
15720
- colors: ne == null ? void 0 : ne[De.id],
15724
+ colors: re == null ? void 0 : re[De.id],
15721
15725
  status: ve == null ? void 0 : ve[De.id]
15722
15726
  }));
15723
15727
  ge(be, o);
@@ -15743,7 +15747,7 @@ const $c = ({
15743
15747
  w.current = t;
15744
15748
  return;
15745
15749
  }
15746
- w.current = t, G(), v === "paginated" ? (E((ne) => ne + 1), t.length > 0 ? ue().then(D) : (D([]), M(!1))) : (Te = C == null ? void 0 : C.current) == null || Te.refresh(), (He = C == null ? void 0 : C.current) == null || He.unselectAll();
15750
+ w.current = t, G(), v === "paginated" ? (E((re) => re + 1), t.length > 0 ? ue().then(D) : (D([]), M(!1))) : (Te = C == null ? void 0 : C.current) == null || Te.refresh(), (He = C == null ? void 0 : C.current) == null || He.unselectAll();
15747
15751
  }, [t, v]);
15748
15752
  const ce = A(() => {
15749
15753
  if (m) {
@@ -15751,7 +15755,7 @@ const $c = ({
15751
15755
  return Te !== void 0 ? Te : S;
15752
15756
  }
15753
15757
  return S;
15754
- }, [m, S]), he = zt(() => k), te = A(
15758
+ }, [m, S]), he = zt(() => k), ne = A(
15755
15759
  () => p == null ? void 0 : p(),
15756
15760
  [p]
15757
15761
  ), ye = A(() => {
@@ -15780,15 +15784,15 @@ const $c = ({
15780
15784
  if (!He || He.length === 0)
15781
15785
  return [];
15782
15786
  try {
15783
- const ne = i.field_parent ? { ...i.fields, [i.field_parent]: {} } : i.fields, ve = await U.getHandler().readObjects({
15787
+ const re = i.field_parent ? { ...i.fields, [i.field_parent]: {} } : i.fields, ve = await U.getHandler().readObjects({
15784
15788
  model: f,
15785
15789
  ids: He,
15786
- fields: ne,
15790
+ fields: re,
15787
15791
  context: a
15788
15792
  });
15789
15793
  return await nn(o, ve, a);
15790
- } catch (ne) {
15791
- return console.error("Error fetching children:", ne), [];
15794
+ } catch (re) {
15795
+ return console.error("Error fetching children:", re), [];
15792
15796
  }
15793
15797
  },
15794
15798
  [i, o, f, a]
@@ -15798,12 +15802,12 @@ const $c = ({
15798
15802
  },
15799
15803
  [n]
15800
15804
  );
15801
- return re ? /* @__PURE__ */ s(st, {}) : v === "paginated" ? /* @__PURE__ */ s(
15805
+ return te ? /* @__PURE__ */ s(st, {}) : v === "paginated" ? /* @__PURE__ */ s(
15802
15806
  wy,
15803
15807
  {
15804
15808
  tableRef: C,
15805
15809
  onRowStyle: ze,
15806
- availableHeight: e || ta,
15810
+ availableHeight: e || na,
15807
15811
  columns: Y,
15808
15812
  treeOoui: o,
15809
15813
  strings: B,
@@ -15821,7 +15825,7 @@ const $c = ({
15821
15825
  statusComp: W,
15822
15826
  onRowStatus: $e,
15823
15827
  headerCheckboxState: We,
15824
- onHeaderCheckboxClick: te,
15828
+ onHeaderCheckboxClick: ne,
15825
15829
  refresh: ye,
15826
15830
  onSortChange: Re,
15827
15831
  onChangeTreeType: b,
@@ -15830,10 +15834,10 @@ const $c = ({
15830
15834
  },
15831
15835
  N
15832
15836
  ) : /* @__PURE__ */ s(
15833
- ys,
15837
+ vs,
15834
15838
  {
15835
15839
  ref: C,
15836
- height: e || ta,
15840
+ height: e || na,
15837
15841
  columns: Y,
15838
15842
  onRequestData: me,
15839
15843
  onRowDoubleClick: n,
@@ -15913,7 +15917,7 @@ const $c = ({
15913
15917
  }), {
15914
15918
  showFormModal: X,
15915
15919
  modalItem: Q,
15916
- continuousEntryMode: re,
15920
+ continuousEntryMode: te,
15917
15921
  onCancelFormModal: ge,
15918
15922
  onFormModalSubmitSucceed: G,
15919
15923
  createItem: ie,
@@ -15962,7 +15966,7 @@ const $c = ({
15962
15966
  },
15963
15967
  // eslint-disable-next-line react-hooks/exhaustive-deps
15964
15968
  [l]
15965
- ), te = A(() => {
15969
+ ), ne = A(() => {
15966
15970
  u > 0 && (d === "form" ? W(() => {
15967
15971
  m(u - 1);
15968
15972
  }) : m(u - 1));
@@ -15990,7 +15994,7 @@ const $c = ({
15990
15994
  );
15991
15995
  return /* @__PURE__ */ j(Ce, { children: [
15992
15996
  /* @__PURE__ */ s(
15993
- Us,
15997
+ Ws,
15994
15998
  {
15995
15999
  mode: d,
15996
16000
  title: L,
@@ -16004,7 +16008,7 @@ const $c = ({
16004
16008
  onDelete: ue,
16005
16009
  onCreateItem: ie,
16006
16010
  onToggleViewMode: ce,
16007
- onPreviousItem: te,
16011
+ onPreviousItem: ne,
16008
16012
  onNextItem: ye,
16009
16013
  onSearchItem: me,
16010
16014
  selectedRowKeys: _,
@@ -16049,7 +16053,7 @@ const $c = ({
16049
16053
  }
16050
16054
  ),
16051
16055
  d === "form" && i.get("form") && /* @__PURE__ */ s(
16052
- Ws,
16056
+ qs,
16053
16057
  {
16054
16058
  ref: S,
16055
16059
  items: l,
@@ -16074,7 +16078,7 @@ const $c = ({
16074
16078
  parentContext: O,
16075
16079
  onCancel: ge,
16076
16080
  readOnly: g,
16077
- mustClearAfterSave: re,
16081
+ mustClearAfterSave: te,
16078
16082
  onMustRefreshParent: () => {
16079
16083
  var Oe;
16080
16084
  R == null || R({ forceRefresh: !0 }), (Oe = e.current) == null || Oe.refresh();
@@ -16201,10 +16205,10 @@ const $c = ({
16201
16205
  }
16202
16206
  w.current = t, ($ = b == null ? void 0 : b.current) == null || $.refresh(), (M = b == null ? void 0 : b.current) == null || M.unselectAll();
16203
16207
  }, [t]);
16204
- const k = Ut(() => t.length, [t]), O = Ut(() => xs(
16208
+ const k = Ut(() => t.length, [t]), O = Ut(() => Cs(
16205
16209
  o,
16206
16210
  {
16207
- ...Is
16211
+ ...Rs
16208
16212
  },
16209
16213
  i,
16210
16214
  I
@@ -16236,7 +16240,7 @@ const $c = ({
16236
16240
  })
16237
16241
  });
16238
16242
  return T ? /* @__PURE__ */ s(st, {}) : /* @__PURE__ */ s(
16239
- ys,
16243
+ vs,
16240
16244
  {
16241
16245
  ref: b,
16242
16246
  height: e || Ev,
@@ -16254,7 +16258,7 @@ const $c = ({
16254
16258
  selectedRowKeys: h,
16255
16259
  onSelectionCheckboxClicked: m,
16256
16260
  totalRows: k,
16257
- footer: g && /* @__PURE__ */ s(_s, { aggregates: g, isLoading: !1 }),
16261
+ footer: g && /* @__PURE__ */ s(Es, { aggregates: g, isLoading: !1 }),
16258
16262
  hasStatusColumn: o.status !== null,
16259
16263
  statusComponent: ($) => /* @__PURE__ */ s(Zn, { color: $, style: { marginLeft: 7 } }),
16260
16264
  onRowStatus: ($) => {
@@ -16274,7 +16278,7 @@ const $c = ({
16274
16278
  }) => {
16275
16279
  const o = e.filter((a) => a.id && a.id > 0);
16276
16280
  let i;
16277
- return n.length > 0 ? i = [["id", "in", n]] : o.length > 0 && (i = [["id", "in", o.map((a) => a.id)]]), Es({
16281
+ return n.length > 0 ? i = [["id", "in", n]] : o.length > 0 && (i = [["id", "in", o.map((a) => a.id)]]), Os({
16278
16282
  ooui: t,
16279
16283
  model: r,
16280
16284
  domain: i
@@ -16343,7 +16347,7 @@ const $c = ({
16343
16347
  showFormModal: q,
16344
16348
  modalItem: X,
16345
16349
  continuousEntryMode: Q,
16346
- onCancelFormModal: re,
16350
+ onCancelFormModal: te,
16347
16351
  onFormModalSubmitSucceed: ge,
16348
16352
  createItem: G,
16349
16353
  openItemInFormModal: ie
@@ -16395,7 +16399,7 @@ const $c = ({
16395
16399
  f > 0 && (l === "form" ? K(() => {
16396
16400
  u(f - 1);
16397
16401
  }) : u(f - 1));
16398
- }, [l, f, u, K]), te = A(() => {
16402
+ }, [l, f, u, K]), ne = A(() => {
16399
16403
  const xe = c.length;
16400
16404
  f < xe - 1 && (l === "form" ? K(() => {
16401
16405
  u(f + 1);
@@ -16412,7 +16416,7 @@ const $c = ({
16412
16416
  }, [i]);
16413
16417
  return /* @__PURE__ */ j(Ce, { children: [
16414
16418
  /* @__PURE__ */ s(
16415
- Us,
16419
+ Ws,
16416
16420
  {
16417
16421
  mode: l,
16418
16422
  title: V,
@@ -16427,7 +16431,7 @@ const $c = ({
16427
16431
  onCreateItem: G,
16428
16432
  onToggleViewMode: ue,
16429
16433
  onPreviousItem: he,
16430
- onNextItem: te,
16434
+ onNextItem: ne,
16431
16435
  onSearchItem: Y,
16432
16436
  selectedRowKeys: E,
16433
16437
  showCreateButton: S,
@@ -16469,7 +16473,7 @@ const $c = ({
16469
16473
  }
16470
16474
  ),
16471
16475
  l === "form" && i.get("form") && /* @__PURE__ */ s(
16472
- Ws,
16476
+ qs,
16473
16477
  {
16474
16478
  ref: w,
16475
16479
  items: c,
@@ -16492,7 +16496,7 @@ const $c = ({
16492
16496
  visible: q,
16493
16497
  onSubmitSucceed: ge,
16494
16498
  parentContext: I,
16495
- onCancel: re,
16499
+ onCancel: te,
16496
16500
  readOnly: m,
16497
16501
  mustClearAfterSave: Q,
16498
16502
  onMustRefreshParent: () => {
@@ -16528,7 +16532,7 @@ const $c = ({
16528
16532
  l
16529
16533
  ] })
16530
16534
  ] });
16531
- }, na = 30, Mv = (t) => {
16535
+ }, ra = 30, Mv = (t) => {
16532
16536
  var N;
16533
16537
  const { ooui: e } = t, { mode: n, relation: r, views: o, required: i, context: a } = e;
16534
16538
  let c;
@@ -16632,14 +16636,14 @@ const $c = ({
16632
16636
  );
16633
16637
  if (je(() => {
16634
16638
  if (i) {
16635
- o((() => e.infinite === "1" || e.infinite === !0 ? "infinite" : e.infinite === "0" || e.infinite === !1 ? "paginated" : (e.infinite === void 0 || e.infinite === null) && n && Array.isArray(n.items) && n.items.length >= na ? "infinite" : "paginated")());
16639
+ o((() => e.infinite === "1" || e.infinite === !0 ? "infinite" : e.infinite === "0" || e.infinite === !1 ? "paginated" : (e.infinite === void 0 || e.infinite === null) && n && Array.isArray(n.items) && n.items.length >= ra ? "infinite" : "paginated")());
16636
16640
  return;
16637
16641
  }
16638
16642
  if (e.infinite) {
16639
16643
  o("infinite");
16640
16644
  return;
16641
16645
  }
16642
- if (n && Array.isArray(n.items) && n.items.length >= na) {
16646
+ if (n && Array.isArray(n.items) && n.items.length >= ra) {
16643
16647
  o("infinite");
16644
16648
  return;
16645
16649
  }
@@ -16682,10 +16686,10 @@ const $c = ({
16682
16686
  onBlur: y
16683
16687
  }
16684
16688
  );
16685
- }, ts = (t) => {
16689
+ }, ns = (t) => {
16686
16690
  const { ooui: e, responsiveBehaviour: n = !1, tip: r } = t;
16687
16691
  return /* @__PURE__ */ s(st, { tip: r ?? e.label, size: "large", spinning: e.loading, children: /* @__PURE__ */ s(
16688
- js,
16692
+ Us,
16689
16693
  {
16690
16694
  container: e.container,
16691
16695
  responsiveBehaviour: n
@@ -16704,14 +16708,14 @@ function Hc(t) {
16704
16708
  backgroundColor: l ? "transparent" : a
16705
16709
  },
16706
16710
  children: l ? /* @__PURE__ */ s(
16707
- Ea,
16711
+ Oa,
16708
16712
  {
16709
16713
  label: e.label,
16710
16714
  icon: o,
16711
16715
  backgroundColor: a,
16712
16716
  borderColor: c,
16713
16717
  children: /* @__PURE__ */ s(
16714
- ts,
16718
+ ns,
16715
16719
  {
16716
16720
  tip: i("loading"),
16717
16721
  ooui: e,
@@ -16720,7 +16724,7 @@ function Hc(t) {
16720
16724
  )
16721
16725
  }
16722
16726
  ) : /* @__PURE__ */ s(
16723
- ts,
16727
+ ns,
16724
16728
  {
16725
16729
  tip: i("loading"),
16726
16730
  ooui: e,
@@ -16730,7 +16734,7 @@ function Hc(t) {
16730
16734
  }
16731
16735
  );
16732
16736
  }
16733
- const { TabPane: Hv } = pa, Bv = Et(pa)`
16737
+ const { TabPane: Hv } = ha, Bv = Et(ha)`
16734
16738
  .ant-tabs-content-holder {
16735
16739
  border-left: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
16736
16740
  border-right: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
@@ -16786,7 +16790,7 @@ function jv(t) {
16786
16790
  }
16787
16791
  );
16788
16792
  }
16789
- const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16793
+ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16790
16794
  const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: c } = Uv(), l = o && !r ? { backgroundColor: c.colorPrimaryBg } : void 0, d = we(Ze), { elementHasLostFocus: f } = d || {};
16791
16795
  return /* @__PURE__ */ s(qe, { required: o, ...t, children: a ? /* @__PURE__ */ s(
16792
16796
  qv,
@@ -16796,7 +16800,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16796
16800
  requiredStyle: l
16797
16801
  }
16798
16802
  ) : /* @__PURE__ */ s(
16799
- ns,
16803
+ rs,
16800
16804
  {
16801
16805
  disabled: r || a,
16802
16806
  style: {
@@ -16835,7 +16839,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16835
16839
  u || m(!0);
16836
16840
  },
16837
16841
  children: /* @__PURE__ */ s(
16838
- ns,
16842
+ rs,
16839
16843
  {
16840
16844
  value: t,
16841
16845
  onChange: (g) => {
@@ -16856,7 +16860,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16856
16860
  }
16857
16861
  ),
16858
16862
  /* @__PURE__ */ s(
16859
- Va,
16863
+ La,
16860
16864
  {
16861
16865
  id: a,
16862
16866
  model: c,
@@ -16872,7 +16876,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16872
16876
  )
16873
16877
  ] }) : /* @__PURE__ */ j(Ce, { children: [
16874
16878
  /* @__PURE__ */ s(Qe, { gutter: 8, wrap: !1, children: /* @__PURE__ */ s(
16875
- ns,
16879
+ rs,
16876
16880
  {
16877
16881
  value: t,
16878
16882
  onChange: (g) => {
@@ -16891,7 +16895,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16891
16895
  St,
16892
16896
  {
16893
16897
  tooltip: p("translate"),
16894
- icon: /* @__PURE__ */ s(Ca, {}),
16898
+ icon: /* @__PURE__ */ s(Sa, {}),
16895
16899
  onClick: async () => {
16896
16900
  d != null && d() ? Sn(p("saveBeforeTranslate")) : Sn(p("enterTextBeforeTranslate"));
16897
16901
  },
@@ -16945,10 +16949,10 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16945
16949
  context: e,
16946
16950
  fields: []
16947
16951
  });
16948
- return a.current["/"] = y, ra({ fields: y });
16952
+ return a.current["/"] = y, oa({ fields: y });
16949
16953
  }, [t, e, a]), u = A(
16950
16954
  async (y) => {
16951
- const b = ss(y, a.current)[os(y)], x = b.relation, C = await U.getHandler().getFields({
16955
+ const b = is(y, a.current)[ss(y)], x = b.relation, C = await U.getHandler().getFields({
16952
16956
  model: x,
16953
16957
  context: e,
16954
16958
  fields: []
@@ -16958,7 +16962,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16958
16962
  parentTitle: b.string,
16959
16963
  title: R.string
16960
16964
  });
16961
- return a.current[y] = C, ra({
16965
+ return a.current[y] = C, oa({
16962
16966
  fields: C,
16963
16967
  parentKey: y
16964
16968
  });
@@ -16974,7 +16978,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
16974
16978
  predefinedExports: y.map((x) => ({
16975
16979
  ...x,
16976
16980
  fields: x.fields.map((C) => {
16977
- const w = os(C.key), R = ss(C.key, a.current);
16981
+ const w = ss(C.key), R = is(C.key, a.current);
16978
16982
  if (!R)
16979
16983
  return {
16980
16984
  key: C.key
@@ -17044,7 +17048,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17044
17048
  onSavePredefinedExport: h,
17045
17049
  onRemovePredefinedExport: p
17046
17050
  };
17047
- }, ra = ({
17051
+ }, oa = ({
17048
17052
  fields: t,
17049
17053
  parentKey: e
17050
17054
  }) => {
@@ -17063,12 +17067,12 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17063
17067
  }, Bc = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", zv = ({
17064
17068
  parentKey: t,
17065
17069
  key: e
17066
- }) => `${t ? t + "/" : ""}${e}`, rs = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), os = (t) => {
17070
+ }) => `${t ? t + "/" : ""}${e}`, os = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), ss = (t) => {
17067
17071
  if (t.indexOf("/") === -1)
17068
17072
  return t;
17069
17073
  const e = t.split("/");
17070
17074
  return e[e.length - 1];
17071
- }, ss = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[rs(t)], Kv = ({
17075
+ }, is = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[os(t)], Kv = ({
17072
17076
  title: t,
17073
17077
  parentTitle: e
17074
17078
  }) => `${e ? e + " → " : ""}${t}`, Jv = async ({
@@ -17098,8 +17102,8 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17098
17102
  ...new Set(
17099
17103
  e.filter((n) => {
17100
17104
  var r, o;
17101
- return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[rs(n)]) != null && o[n]);
17102
- }).map((n) => rs(n))
17105
+ return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[os(n)]) != null && o[n]);
17106
+ }).map((n) => os(n))
17103
17107
  )
17104
17108
  ]), Qv = async ({
17105
17109
  predefinedExports: t,
@@ -17126,7 +17130,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17126
17130
  keys: t,
17127
17131
  fields: e
17128
17132
  }) => t.map((n) => {
17129
- const r = os(n), i = ss(n, e)[r], a = Bc(i), c = i.is_function === !0;
17133
+ const r = ss(n), i = is(n, e)[r], a = Bc(i), c = i.is_function === !0;
17130
17134
  return a && !c ? `${n}/id` : n;
17131
17135
  }), eb = (t) => {
17132
17136
  const e = /* @__PURE__ */ new Map(), n = [];
@@ -17208,7 +17212,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17208
17212
  }, ib = (t) => {
17209
17213
  const { readOnly: e } = t.ooui;
17210
17214
  return /* @__PURE__ */ s(
17211
- zo,
17215
+ Ko,
17212
17216
  {
17213
17217
  onChange: (r, o) => {
17214
17218
  t.onChange && t.onChange(o);
@@ -17232,9 +17236,9 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17232
17236
  f([g, void 0]), m(p);
17233
17237
  }, [e]), /* @__PURE__ */ j(Qe, { gutter: 8, wrap: !1, children: [
17234
17238
  /* @__PURE__ */ s(Pe, { flex: "1", children: /* @__PURE__ */ s(
17235
- Wa,
17239
+ qa,
17236
17240
  {
17237
- ooui: new ls({
17241
+ ooui: new cs({
17238
17242
  name: "model_selection",
17239
17243
  selection: i,
17240
17244
  readonly: a,
@@ -17253,7 +17257,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17253
17257
  /* @__PURE__ */ s(Pe, { flex: "3", children: /* @__PURE__ */ s(
17254
17258
  Tc,
17255
17259
  {
17256
- ooui: new ga({
17260
+ ooui: new ya({
17257
17261
  name: "object_value",
17258
17262
  relation: u,
17259
17263
  readonly: a,
@@ -17286,7 +17290,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17286
17290
  }
17287
17291
  async function v(x) {
17288
17292
  x.stopPropagation(), x.preventDefault();
17289
- const C = x.target.files[0], w = await qa(C);
17293
+ const C = x.target.files[0], w = await Ga(C);
17290
17294
  g(w), a && f(a, C.name);
17291
17295
  }
17292
17296
  function b() {
@@ -17318,7 +17322,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17318
17322
  /* @__PURE__ */ s(
17319
17323
  Ge,
17320
17324
  {
17321
- icon: /* @__PURE__ */ s(ds, {}),
17325
+ icon: /* @__PURE__ */ s(us, {}),
17322
17326
  disabled: o,
17323
17327
  onClick: () => {
17324
17328
  d.current.click();
@@ -17333,7 +17337,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17333
17337
  tooltip: m("download"),
17334
17338
  disabled: !n,
17335
17339
  onClick: h,
17336
- icon: /* @__PURE__ */ s(us, {})
17340
+ icon: /* @__PURE__ */ s(fs, {})
17337
17341
  }
17338
17342
  ),
17339
17343
  /* @__PURE__ */ s(
@@ -17357,18 +17361,18 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17357
17361
  onOpenAttachmentDetail: a,
17358
17362
  onListAllAttachments: c
17359
17363
  } = t, { t: l } = Se(), d = z(null), f = /* @__PURE__ */ j(Ge, { children: [
17360
- /* @__PURE__ */ s(Qs, {}),
17364
+ /* @__PURE__ */ s(Zs, {}),
17361
17365
  `(${e})`,
17362
17366
  /* @__PURE__ */ s(Cr, { style: { fontSize: 12 } })
17363
17367
  ] });
17364
17368
  return /* @__PURE__ */ s(
17365
- Ra,
17369
+ _a,
17366
17370
  {
17367
17371
  ref: d,
17368
17372
  onRetrieveData: async () => [
17369
17373
  {
17370
17374
  items: n.map((u) => {
17371
- const m = u.link ? Qs : us, p = /* @__PURE__ */ j(Qe, { wrap: !1, align: "middle", gutter: 8, children: [
17375
+ const m = u.link ? Zs : fs, p = /* @__PURE__ */ j(Qe, { wrap: !1, align: "middle", gutter: 8, children: [
17372
17376
  /* @__PURE__ */ s(Pe, { style: { textAlign: "center" }, children: (u.datas_fname || u.link) && /* @__PURE__ */ s(
17373
17377
  $t,
17374
17378
  {
@@ -17418,7 +17422,7 @@ const { useToken: Uv } = rt, { TextArea: ns } = gt, Wv = (t) => {
17418
17422
  (u = d.current) == null || u.close(), c();
17419
17423
  },
17420
17424
  children: [
17421
- /* @__PURE__ */ s(fs, {}),
17425
+ /* @__PURE__ */ s(ms, {}),
17422
17426
  " ",
17423
17427
  l("listAllAttachments")
17424
17428
  ]
@@ -17720,16 +17724,16 @@ function hb({ toolbar: t }) {
17720
17724
  ), Q = A(async () => {
17721
17725
  const G = await qn({ onFormSave: f });
17722
17726
  G.succeed && (M == null || M({
17723
- ...oa(
17727
+ ...sa(
17724
17728
  b,
17725
17729
  G.currentId
17726
17730
  ),
17727
17731
  initialViewType: "form"
17728
17732
  }));
17729
- }, [b, f, M]), re = A(async () => {
17733
+ }, [b, f, M]), te = A(async () => {
17730
17734
  const G = await qn({ onFormSave: f });
17731
17735
  G.succeed && (M == null || M({
17732
- ...oa(
17736
+ ...sa(
17733
17737
  b,
17734
17738
  G.currentId
17735
17739
  ),
@@ -17812,7 +17816,7 @@ function hb({ toolbar: t }) {
17812
17816
  /* @__PURE__ */ s(
17813
17817
  pl,
17814
17818
  {
17815
- icon: /* @__PURE__ */ s(ps, {}),
17819
+ icon: /* @__PURE__ */ s(hs, {}),
17816
17820
  tooltip: n("delete"),
17817
17821
  disabled: V || p === void 0 || !($ != null && $.unlink),
17818
17822
  loading: C,
@@ -17830,7 +17834,7 @@ function hb({ toolbar: t }) {
17830
17834
  icon: /* @__PURE__ */ s(Zr, {}),
17831
17835
  tooltip: n("showLogs"),
17832
17836
  disabled: V || p === void 0,
17833
- onClick: () => Ts(b, p, n)
17837
+ onClick: () => Fs(b, p, n)
17834
17838
  }
17835
17839
  ),
17836
17840
  /* @__PURE__ */ s(
@@ -17844,7 +17848,7 @@ function hb({ toolbar: t }) {
17844
17848
  ),
17845
17849
  /* @__PURE__ */ s(wt, {}),
17846
17850
  /* @__PURE__ */ s(
17847
- Ss,
17851
+ Ts,
17848
17852
  {
17849
17853
  currentView: l,
17850
17854
  previousView: E,
@@ -17874,7 +17878,7 @@ function hb({ toolbar: t }) {
17874
17878
  disabled: V,
17875
17879
  attachments: k,
17876
17880
  onAddNewAttachment: Q,
17877
- onListAllAttachments: re,
17881
+ onListAllAttachments: te,
17878
17882
  onViewAttachmentDetails: ge
17879
17883
  }
17880
17884
  ),
@@ -17894,7 +17898,7 @@ const gb = ct(hb), Uc = ct(
17894
17898
  /* @__PURE__ */ s(
17895
17899
  kt,
17896
17900
  {
17897
- icon: /* @__PURE__ */ s(Aa, {}),
17901
+ icon: /* @__PURE__ */ s(Ia, {}),
17898
17902
  tooltip: o("previous"),
17899
17903
  disabled: t,
17900
17904
  onClick: () => r(e)
@@ -17903,7 +17907,7 @@ const gb = ct(hb), Uc = ct(
17903
17907
  /* @__PURE__ */ s(
17904
17908
  kt,
17905
17909
  {
17906
- icon: /* @__PURE__ */ s(Ia, {}),
17910
+ icon: /* @__PURE__ */ s(Ra, {}),
17907
17911
  tooltip: o("next"),
17908
17912
  disabled: t,
17909
17913
  onClick: () => r(n)
@@ -17913,7 +17917,7 @@ const gb = ct(hb), Uc = ct(
17913
17917
  }
17914
17918
  );
17915
17919
  Uc.displayName = "NavigationButtons";
17916
- const oa = (t, e) => ({
17920
+ const sa = (t, e) => ({
17917
17921
  model: "ir.attachment",
17918
17922
  domain: [
17919
17923
  ["res_model", "=", t],
@@ -17943,7 +17947,7 @@ const oa = (t, e) => ({
17943
17947
  ) : /* @__PURE__ */ s(
17944
17948
  Ge,
17945
17949
  {
17946
- icon: /* @__PURE__ */ s(ms, {}),
17950
+ icon: /* @__PURE__ */ s(ps, {}),
17947
17951
  onClick: () => {
17948
17952
  g(!0), y(!0);
17949
17953
  },
@@ -18123,7 +18127,7 @@ function xb({ refreshGraph: t }) {
18123
18127
  }
18124
18128
  ),
18125
18129
  /* @__PURE__ */ s(
18126
- Ss,
18130
+ Ts,
18127
18131
  {
18128
18132
  currentView: r,
18129
18133
  availableViews: n,
@@ -18225,7 +18229,7 @@ const Cb = (t) => {
18225
18229
  le(() => {
18226
18230
  X && V(!0);
18227
18231
  }, [X]);
18228
- const { clear: Q, searchFilterLoading: re, searchError: ge, offset: G, tableRefreshing: ie } = hc({
18232
+ const { clear: Q, searchFilterLoading: te, searchError: ge, offset: G, tableRefreshing: ie } = hc({
18229
18233
  model: r,
18230
18234
  setSearchTreeNameSearch: S,
18231
18235
  setSelectedRowItems: y,
@@ -18260,7 +18264,7 @@ const Cb = (t) => {
18260
18264
  );
18261
18265
  if (!n || !e)
18262
18266
  return null;
18263
- const ee = f ? Bs : On;
18267
+ const ee = f ? js : On;
18264
18268
  return /* @__PURE__ */ j(Ce, { children: [
18265
18269
  /* @__PURE__ */ s(fo, { title: e.title || e.name, children: /* @__PURE__ */ s(
18266
18270
  xb,
@@ -18282,7 +18286,7 @@ const Cb = (t) => {
18282
18286
  limit: k,
18283
18287
  onClear: Q,
18284
18288
  offset: G,
18285
- isSearching: re,
18289
+ isSearching: te,
18286
18290
  onSubmit: (se) => {
18287
18291
  V(!1), v == null || v(se.params), x == null || x(!1);
18288
18292
  },
@@ -18342,10 +18346,10 @@ const Cb = (t) => {
18342
18346
  }
18343
18347
  )
18344
18348
  ] }) : null;
18345
- }, qs = rn.createContext(null), Tb = (t) => {
18349
+ }, Gs = rn.createContext(null), Tb = (t) => {
18346
18350
  const [e, n] = F(!1), [r, o] = F(!1), { children: i, dashboardRef: a, openAction: c } = t;
18347
18351
  return /* @__PURE__ */ s(
18348
- qs.Provider,
18352
+ Gs.Provider,
18349
18353
  {
18350
18354
  value: {
18351
18355
  isLoading: e,
@@ -18360,7 +18364,7 @@ const Cb = (t) => {
18360
18364
  );
18361
18365
  };
18362
18366
  function Fb() {
18363
- const { isLoading: t, dashboardRef: e, moveItemsEnabled: n, setMoveItemsEnabled: r } = we(qs), { permissions: o } = Lt(), { t: i } = Se();
18367
+ const { isLoading: t, dashboardRef: e, moveItemsEnabled: n, setMoveItemsEnabled: r } = we(Gs), { permissions: o } = Lt(), { t: i } = Se();
18364
18368
  return /* @__PURE__ */ j(lt, { wrap: !0, children: [
18365
18369
  (o == null ? void 0 : o.write) && /* @__PURE__ */ s(
18366
18370
  kt,
@@ -18505,7 +18509,7 @@ function Eb(t, e) {
18505
18509
  order: x
18506
18510
  } = t, [C, w] = F(), [R, S] = F([]), [I, k] = F(!0), O = m || void 0, [N, E] = F(
18507
18511
  O
18508
- ), [T, _] = F([]), [D, $] = F(), [M, V] = F([]), [L, B] = F(), [P, H] = F(), [K, W] = F(!1), [q, X] = F(!1), [Q, re] = F(), { t: ge } = Se(), { showErrorNotification: G } = xt(), {
18512
+ ), [T, _] = F([]), [D, $] = F(), [M, V] = F([]), [L, B] = F(), [P, H] = F(), [K, W] = F(!1), [q, X] = F(!1), [Q, te] = F(), { t: ge } = Se(), { showErrorNotification: G } = xt(), {
18509
18513
  permissions: ie,
18510
18514
  loading: J,
18511
18515
  error: ee
@@ -18519,7 +18523,7 @@ function Eb(t, e) {
18519
18523
  setCurrentView: ue,
18520
18524
  setCurrentId: ce,
18521
18525
  tabs: he,
18522
- activeKey: te,
18526
+ activeKey: ne,
18523
18527
  openAction: ye,
18524
18528
  onRemoveTab: Fe
18525
18529
  } = me || {};
@@ -18529,7 +18533,7 @@ function Eb(t, e) {
18529
18533
  ze();
18530
18534
  },
18531
18535
  { enableOnFormTags: !0, preventDefault: !0 },
18532
- [te, he, C, D, M]
18536
+ [ne, he, C, D, M]
18533
18537
  );
18534
18538
  function ke(Re) {
18535
18539
  E(Re), ce == null || ce(Re);
@@ -18571,8 +18575,8 @@ function Eb(t, e) {
18571
18575
  const [, Ee] = ve;
18572
18576
  return Ee === "form";
18573
18577
  });
18574
- let ne;
18575
- He && (ne = {
18578
+ let re;
18579
+ He && (re = {
18576
18580
  action_id: p,
18577
18581
  action_type: g,
18578
18582
  name: a,
@@ -18585,7 +18589,7 @@ function Eb(t, e) {
18585
18589
  id: o.active_id,
18586
18590
  model: r,
18587
18591
  context: o,
18588
- configAction: ne,
18592
+ configAction: re,
18589
18593
  extra: { action_id: p, action_type: g }
18590
18594
  });
18591
18595
  break;
@@ -18657,12 +18661,12 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18657
18661
  const Re = R.find((Ne) => Ne.type === "tree"), Je = R.find((Ne) => d.id ? Ne.type === d.type && Ne.view_id === d.id : Ne.type === d.type);
18658
18662
  pe(Je || Re), m ? ce == null || ce(O) : (ke(void 0), $(void 0)), xe();
18659
18663
  }, [r, i, m]), je(() => {
18660
- if (te === l) {
18664
+ if (ne === l) {
18661
18665
  ce == null || ce(N);
18662
18666
  const Re = { action_id: p, action_type: g };
18663
18667
  ue == null || ue({ ...C, extra: Re });
18664
18668
  }
18665
- }, [he, te]), le(() => {
18669
+ }, [he, ne]), le(() => {
18666
18670
  ee && G({
18667
18671
  type: "error",
18668
18672
  title: "Permissions Error",
@@ -18673,7 +18677,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18673
18677
  return C && C.type === "form" ? await se.current.cancelUnsavedChanges() : !0;
18674
18678
  }
18675
18679
  async function ze() {
18676
- te === l && (C.type === "form" && !await se.current.cancelUnsavedChanges() || W(!0));
18680
+ ne === l && (C.type === "form" && !await se.current.cancelUnsavedChanges() || W(!0));
18677
18681
  }
18678
18682
  async function Oe(Re, Je) {
18679
18683
  var Xe;
@@ -18681,7 +18685,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18681
18685
  let Ne, Le;
18682
18686
  if (Re.length === 1) {
18683
18687
  Ne = "form", Le = [];
18684
- const Me = Re[0], Te = M.findIndex((ne) => ne.id === Me);
18688
+ const Me = Re[0], Te = M.findIndex((re) => re.id === Me);
18685
18689
  let He;
18686
18690
  if (Te === -1) {
18687
18691
  try {
@@ -18759,11 +18763,11 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18759
18763
  setTotalItems: H,
18760
18764
  selectedRowItems: T,
18761
18765
  setSelectedRowItems: _,
18762
- setSearchTreeNameSearch: re,
18766
+ setSearchTreeNameSearch: te,
18763
18767
  searchTreeNameSearch: Q,
18764
18768
  goToResourceId: Oe,
18765
18769
  limit: y,
18766
- isActive: l === te,
18770
+ isActive: l === ne,
18767
18771
  initialSearchParams: v,
18768
18772
  initialCurrentPage: b,
18769
18773
  initialOrder: x,
@@ -18931,7 +18935,7 @@ function Nb(t, e) {
18931
18935
  setIsLoading: m,
18932
18936
  openAction: p,
18933
18937
  moveItemsEnabled: g
18934
- } = we(qs), h = z(), y = z(), [v] = Ie(U.getHandler().getView), [b] = Ie(
18938
+ } = we(Gs), h = z(), y = z(), [v] = Ie(U.getHandler().getView), [b] = Ie(
18935
18939
  U.getHandler().readObjects
18936
18940
  ), [x] = Ie(U.getHandler().update), C = Kt(
18937
18941
  Tt.FEATURE_READFORVIEW
@@ -18976,7 +18980,7 @@ function Nb(t, e) {
18976
18980
  type: "form",
18977
18981
  context: _
18978
18982
  })).fields;
18979
- const [D] = await Cs({
18983
+ const [D] = await Ss({
18980
18984
  treeView: {
18981
18985
  fields: h.current
18982
18986
  },
@@ -19070,7 +19074,7 @@ function Nb(t, e) {
19070
19074
  context: q,
19071
19075
  domain: X,
19072
19076
  initialView: Q,
19073
- limit: re
19077
+ limit: te
19074
19078
  } = _;
19075
19079
  let ge = {};
19076
19080
  try {
@@ -19080,7 +19084,7 @@ function Nb(t, e) {
19080
19084
  }
19081
19085
  let G = null;
19082
19086
  if ((Q == null ? void 0 : Q.type) === "graph") {
19083
- const se = D.server_action === !0 && C ? Bs : On;
19087
+ const se = D.server_action === !0 && C ? js : On;
19084
19088
  G = /* @__PURE__ */ s(
19085
19089
  se,
19086
19090
  {
@@ -19090,7 +19094,7 @@ function Nb(t, e) {
19090
19094
  model: W,
19091
19095
  context: q,
19092
19096
  domain: X,
19093
- limit: re
19097
+ limit: te
19094
19098
  },
19095
19099
  M
19096
19100
  );
@@ -19116,13 +19120,13 @@ function Nb(t, e) {
19116
19120
  actionId: ue,
19117
19121
  actionType: ce,
19118
19122
  title: he,
19119
- model: te
19123
+ model: ne
19120
19124
  } = _, ye = {
19121
19125
  action_id: ue,
19122
19126
  action_type: ce,
19123
19127
  name: he,
19124
19128
  res_id: ee.id,
19125
- res_model: te,
19129
+ res_model: ne,
19126
19130
  view_id: Y,
19127
19131
  view_type: me
19128
19132
  };
@@ -19148,7 +19152,7 @@ function Nb(t, e) {
19148
19152
  setCanWeClose: () => {
19149
19153
  },
19150
19154
  initialView: ee,
19151
- limit: re
19155
+ limit: te
19152
19156
  },
19153
19157
  M
19154
19158
  );
@@ -19371,9 +19375,9 @@ const Lb = (t) => {
19371
19375
  }, Hb = (t) => {
19372
19376
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, direction: a } = e, c = Array.from(o.entries()), l = c && c.length && c.map((d) => {
19373
19377
  const [f, u] = d;
19374
- return /* @__PURE__ */ s(zs, { value: f, children: u }, f);
19378
+ return /* @__PURE__ */ s(Ks, { value: f, children: u }, f);
19375
19379
  });
19376
- return /* @__PURE__ */ s(zs.Group, { disabled: i, onChange: n, value: r, children: /* @__PURE__ */ s(lt, { direction: a, children: l }) });
19380
+ return /* @__PURE__ */ s(Ks.Group, { disabled: i, onChange: n, value: r, children: /* @__PURE__ */ s(lt, { direction: a, children: l }) });
19377
19381
  }, Bb = (t) => {
19378
19382
  const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
19379
19383
  return /* @__PURE__ */ s(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(jb, { id: n, readOnly: r, required: o }) });
@@ -19388,8 +19392,8 @@ const Lb = (t) => {
19388
19392
  let c = [], l;
19389
19393
  e.fieldType === "json" && n ? (c = n.map((u) => [u.title, u.title]), l = n.findIndex((u) => u.active)) : (c = Array.from(r.entries()), l = c.map((u) => u[0]).indexOf(n));
19390
19394
  let d = "process", f = "";
19391
- return o && (f = a.getFieldValue(o), f && (d = "error")), i && l + 1 === c.length && (d = "finish"), /* @__PURE__ */ s(Ks, { current: l, status: d, children: c.map((u, m) => /* @__PURE__ */ s(
19392
- Ks.Step,
19395
+ return o && (f = a.getFieldValue(o), f && (d = "error")), i && l + 1 === c.length && (d = "finish"), /* @__PURE__ */ s(Js, { current: l, status: d, children: c.map((u, m) => /* @__PURE__ */ s(
19396
+ Js.Step,
19393
19397
  {
19394
19398
  title: u[1],
19395
19399
  description: m === l && d === "error" ? f : null
@@ -19487,11 +19491,11 @@ const Lb = (t) => {
19487
19491
  onChange: r
19488
19492
  }
19489
19493
  );
19490
- }, { Meta: Kb } = as, { Text: Jb } = ln, Xb = ({ email: t, size: e = 40, theme: n = "" }) => {
19494
+ }, { Meta: Kb } = ls, { Text: Jb } = ln, Xb = ({ email: t, size: e = 40, theme: n = "" }) => {
19491
19495
  const r = `https://www.gravatar.com/avatar/${du(
19492
19496
  t
19493
19497
  )}?s=${e}&d=${n}`;
19494
- return /* @__PURE__ */ s(da, { src: r, size: e });
19498
+ return /* @__PURE__ */ s(ua, { src: r, size: e });
19495
19499
  };
19496
19500
  function Qb({ text: t }) {
19497
19501
  const e = t.split(`
@@ -19503,7 +19507,7 @@ function Qb({ text: t }) {
19503
19507
  }
19504
19508
  const Zb = (t) => {
19505
19509
  const { data: e, style: n } = t, { t: r } = Se();
19506
- return /* @__PURE__ */ j(as, { style: { ...n, textAlign: "start" }, children: [
19510
+ return /* @__PURE__ */ j(ls, { style: { ...n, textAlign: "start" }, children: [
19507
19511
  /* @__PURE__ */ s(
19508
19512
  Kb,
19509
19513
  {
@@ -19511,14 +19515,14 @@ const Zb = (t) => {
19511
19515
  title: e.author,
19512
19516
  description: /* @__PURE__ */ j(lt, { direction: "horizontal", children: [
19513
19517
  /* @__PURE__ */ s("span", { title: e.date, children: ut(e.date).fromNow() }),
19514
- e.isAuthor && /* @__PURE__ */ s(is, { color: "blue", children: r("author") })
19518
+ e.isAuthor && /* @__PURE__ */ s(as, { color: "blue", children: r("author") })
19515
19519
  ] }),
19516
19520
  style: { marginBottom: "5px" }
19517
19521
  }
19518
19522
  ),
19519
19523
  /* @__PURE__ */ s(Jb, { children: /* @__PURE__ */ s(Qb, { text: e.text }) })
19520
19524
  ] }, e.id);
19521
- }, sa = (t) => {
19525
+ }, ia = (t) => {
19522
19526
  const e = Vt(t);
19523
19527
  return e && /* @__PURE__ */ s(e, {});
19524
19528
  }, ew = (t) => {
@@ -19526,7 +19530,7 @@ const Zb = (t) => {
19526
19530
  if (o.type === "action")
19527
19531
  return {
19528
19532
  children: `${o.event.date} - ${o.event.action}`,
19529
- dot: o.icon ? sa(o.icon) : void 0
19533
+ dot: o.icon ? ia(o.icon) : void 0
19530
19534
  };
19531
19535
  if (o.type === "comment")
19532
19536
  return {
@@ -19534,11 +19538,11 @@ const Zb = (t) => {
19534
19538
  position: o.event.isSender ? "left" : "right",
19535
19539
  label: o.event.date,
19536
19540
  children: /* @__PURE__ */ s(Zb, { data: o.event }),
19537
- dot: o.icon ? sa(o.icon) : void 0
19541
+ dot: o.icon ? ia(o.icon) : void 0
19538
19542
  };
19539
19543
  });
19540
19544
  return /* @__PURE__ */ s(
19541
- ca,
19545
+ da,
19542
19546
  {
19543
19547
  mode: "alternate",
19544
19548
  items: r,
@@ -19572,7 +19576,7 @@ const Zb = (t) => {
19572
19576
  return u && /* @__PURE__ */ s(u, {});
19573
19577
  }
19574
19578
  }
19575
- const d = c.map((f) => /* @__PURE__ */ s(vs, { ooui: f }, f.id));
19579
+ const d = c.map((f) => /* @__PURE__ */ s(bs, { ooui: f }, f.id));
19576
19580
  return /* @__PURE__ */ s(
19577
19581
  Nt,
19578
19582
  {
@@ -19584,10 +19588,10 @@ const Zb = (t) => {
19584
19588
  icon: l(a)
19585
19589
  }
19586
19590
  );
19587
- }, { defaultAlgorithm: ow, defaultSeed: sw } = rt, ia = ow(sw), iw = (t) => {
19591
+ }, { defaultAlgorithm: ow, defaultSeed: sw } = rt, aa = ow(sw), iw = (t) => {
19588
19592
  const { ooui: e, responsiveBehaviour: n = !1 } = t;
19589
19593
  return /* @__PURE__ */ s(aw, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
19590
- js,
19594
+ Us,
19591
19595
  {
19592
19596
  container: r.container,
19593
19597
  responsiveBehaviour: n
@@ -19596,10 +19600,10 @@ const Zb = (t) => {
19596
19600
  )) });
19597
19601
  }, aw = Et(id)`
19598
19602
  .slick-dots li button {
19599
- background-color: ${ia.colorPrimary};
19603
+ background-color: ${aa.colorPrimary};
19600
19604
  }
19601
19605
  .slick-dots li.slick-active button {
19602
- background-color: ${ia.colorPrimary};
19606
+ background-color: ${aa.colorPrimary};
19603
19607
  }
19604
19608
  .slick-dots-bottom {
19605
19609
  bottom: -15px;
@@ -19607,7 +19611,7 @@ const Zb = (t) => {
19607
19611
  `, lw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(cw, { ...t }) }), cw = (t) => {
19608
19612
  const { ooui: e, value: n, onChange: r } = t;
19609
19613
  return /* @__PURE__ */ s(
19610
- ua,
19614
+ fa,
19611
19615
  {
19612
19616
  showText: e.showText,
19613
19617
  disabled: e.readOnly,
@@ -19618,7 +19622,7 @@ const Zb = (t) => {
19618
19622
  value: n
19619
19623
  }
19620
19624
  );
19621
- }, { Content: dw } = fa, { Title: uw } = ln;
19625
+ }, { Content: dw } = ma, { Title: uw } = ln;
19622
19626
  function fw() {
19623
19627
  const { t } = Se();
19624
19628
  return /* @__PURE__ */ s(dw, { className: "m-5 select-none", children: /* @__PURE__ */ s(uw, { level: 5, children: t("welcome") }) });
@@ -19782,7 +19786,7 @@ function mw(t, e) {
19782
19786
  return console.error(ue), [];
19783
19787
  }
19784
19788
  })(), {
19785
- res_model: re,
19789
+ res_model: te,
19786
19790
  views: ge,
19787
19791
  name: G,
19788
19792
  target: ie,
@@ -19796,19 +19800,19 @@ function mw(t, e) {
19796
19800
  else if (he === "dashboard")
19797
19801
  Y.push([void 0, "dashboard"]);
19798
19802
  else {
19799
- const { view_id: te } = await U.getHandler().getView({
19800
- model: re,
19803
+ const { view_id: ne } = await U.getHandler().getView({
19804
+ model: te,
19801
19805
  type: he,
19802
19806
  id: ce,
19803
19807
  context: { ...l, ...q }
19804
19808
  });
19805
- Y.push([te, he]);
19809
+ Y.push([ne, he]);
19806
19810
  }
19807
19811
  }
19808
19812
  let me;
19809
19813
  if ($) {
19810
19814
  const [ue, ce] = Y.find(
19811
- ([he, te]) => te === $
19815
+ ([he, ne]) => ne === $
19812
19816
  );
19813
19817
  me = { id: ue, type: ce };
19814
19818
  } else {
@@ -19818,7 +19822,7 @@ function mw(t, e) {
19818
19822
  N({
19819
19823
  domain: [...Q, ...V],
19820
19824
  context: { ...l, ...q },
19821
- model: re,
19825
+ model: te,
19822
19826
  views: Y,
19823
19827
  title: G,
19824
19828
  target: ie,
@@ -19869,8 +19873,8 @@ function mw(t, e) {
19869
19873
  target: H,
19870
19874
  string: K,
19871
19875
  limit: W
19872
- } = T, [q, X] = P[0], Q = { id: q, type: X }, re = L, ge = gn({
19873
- context: re,
19876
+ } = T, [q, X] = P[0], Q = { id: q, type: X }, te = L, ge = gn({
19877
+ context: te,
19874
19878
  values: { ...D, ...c }
19875
19879
  }), G = B, ie = B ? await U.getHandler().evalDomain({
19876
19880
  domain: B,
@@ -19893,7 +19897,7 @@ function mw(t, e) {
19893
19897
  action_type: M,
19894
19898
  limit: W,
19895
19899
  actionRawData: {
19896
- context: re,
19900
+ context: te,
19897
19901
  domain: G,
19898
19902
  fields: _,
19899
19903
  values: D
@@ -19926,7 +19930,7 @@ function mw(t, e) {
19926
19930
  context: { ...l, ...q }
19927
19931
  }));
19928
19932
  const {
19929
- res_model: re,
19933
+ res_model: te,
19930
19934
  views: ge,
19931
19935
  name: G,
19932
19936
  target: ie,
@@ -19934,16 +19938,16 @@ function mw(t, e) {
19934
19938
  limit: ee
19935
19939
  } = K, se = J === "tree", Y = [];
19936
19940
  for (const he of ge) {
19937
- const [te, ye] = he;
19938
- if (te)
19941
+ const [ne, ye] = he;
19942
+ if (ne)
19939
19943
  Y.push(he);
19940
19944
  else if (ye === "dashboard")
19941
19945
  Y.push([void 0, "dashboard"]);
19942
19946
  else {
19943
19947
  const { view_id: Fe } = await U.getHandler().getView({
19944
- model: re,
19948
+ model: te,
19945
19949
  type: ye,
19946
- id: te,
19950
+ id: ne,
19947
19951
  context: { ...l, ...q }
19948
19952
  });
19949
19953
  Y.push([Fe, ye]);
@@ -19951,7 +19955,7 @@ function mw(t, e) {
19951
19955
  }
19952
19956
  let me, ue;
19953
19957
  if (M == null) {
19954
- const he = Y.find((te) => te[0] === void 0);
19958
+ const he = Y.find((ne) => ne[0] === void 0);
19955
19959
  me = void 0, ue = he[1];
19956
19960
  } else
19957
19961
  [me, ue] = Y.find((he) => he[0] === void 0 ? !1 : he[0] === M);
@@ -19959,7 +19963,7 @@ function mw(t, e) {
19959
19963
  N({
19960
19964
  domain: X,
19961
19965
  context: { ...l, ...q },
19962
- model: re,
19966
+ model: te,
19963
19967
  views: Y,
19964
19968
  title: P || G,
19965
19969
  target: ie,
@@ -20013,10 +20017,10 @@ function mw(t, e) {
20013
20017
  forced_values: q,
20014
20018
  treeExpandable: X = !1,
20015
20019
  limit: Q,
20016
- searchParams: re,
20020
+ searchParams: te,
20017
20021
  currentPage: ge,
20018
20022
  order: G
20019
- } = T, ie = gs();
20023
+ } = T, ie = ys();
20020
20024
  if (d != null && d.isEnabled && (((J = d == null ? void 0 : d.params) == null ? void 0 : J.types) || []).includes(H))
20021
20025
  try {
20022
20026
  f({
@@ -20068,7 +20072,7 @@ function mw(t, e) {
20068
20072
  formForcedValues: q,
20069
20073
  treeExpandable: X,
20070
20074
  limit: Q,
20071
- initialSearchParams: re,
20075
+ initialSearchParams: te,
20072
20076
  currentPage: ge,
20073
20077
  order: G
20074
20078
  }
@@ -20315,12 +20319,12 @@ function v0() {
20315
20319
  onReorderTabs: i,
20316
20320
  onUpdateTabTitle: a
20317
20321
  } = t || {}, c = z(null), [l, d] = F(!1), f = mu(
20318
- ei(pu, {
20322
+ ti(pu, {
20319
20323
  activationConstraint: {
20320
20324
  distance: 8
20321
20325
  }
20322
20326
  }),
20323
- ei(hu, {
20327
+ ti(hu, {
20324
20328
  coordinateGetter: wu
20325
20329
  })
20326
20330
  ), u = A((v) => {
@@ -20491,7 +20495,7 @@ const { useToken: vw } = rt, w0 = (t) => {
20491
20495
  ...B,
20492
20496
  id: B.id,
20493
20497
  name: B.name,
20494
- icon: B.view_type === "tree" ? /* @__PURE__ */ s(fs, {}) : /* @__PURE__ */ s(pr, {})
20498
+ icon: B.view_type === "tree" ? /* @__PURE__ */ s(ms, {}) : /* @__PURE__ */ s(pr, {})
20495
20499
  }))
20496
20500
  }
20497
20501
  ];
@@ -20584,7 +20588,7 @@ const { useToken: vw } = rt, w0 = (t) => {
20584
20588
  header: /* @__PURE__ */ j("div", { style: { width: 300, padding: 5, display: "flex" }, children: [
20585
20589
  /* @__PURE__ */ s("div", { style: { paddingLeft: 15, color: "#ccc" }, children: g("favorites").toUpperCase() }),
20586
20590
  /* @__PURE__ */ s("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ s($t, { title: g("edit_favorites"), children: /* @__PURE__ */ s(
20587
- ms,
20591
+ ps,
20588
20592
  {
20589
20593
  style: { color: h.colorPrimary, cursor: "pointer" },
20590
20594
  onClick: E
@@ -20607,7 +20611,7 @@ const { useToken: vw } = rt, w0 = (t) => {
20607
20611
  ] });
20608
20612
  };
20609
20613
  export {
20610
- Yo as ACTION_TYPE_REPORT,
20614
+ zo as ACTION_TYPE_REPORT,
20611
20615
  kf as ACTION_TYPE_UPDATE_TOKEN,
20612
20616
  Of as ACTION_TYPE_URL,
20613
20617
  An as ACTION_TYPE_WINDOW,
@@ -20620,10 +20624,10 @@ export {
20620
20624
  Gb as ArrowStepsField,
20621
20625
  db as Binary,
20622
20626
  ef as Boolean,
20623
- vs as Button,
20627
+ bs as Button,
20624
20628
  Pu as ButtonGroup,
20625
20629
  iw as Carousel,
20626
- La as Char,
20630
+ Ha as Char,
20627
20631
  Yb as CodeEditor,
20628
20632
  lw as ColorPicker,
20629
20633
  tw as CommentsTimelineField,
@@ -20642,7 +20646,7 @@ export {
20642
20646
  Tt as ErpFeatureKeys,
20643
20647
  tb as ExportModal,
20644
20648
  w0 as FavouriteButton,
20645
- Os as Float,
20649
+ Ds as Float,
20646
20650
  Vv as FloatTime,
20647
20651
  ir as Form,
20648
20652
  Sb as FormActionView,
@@ -20669,9 +20673,9 @@ export {
20669
20673
  ho as SearchFilter,
20670
20674
  yo as SearchModal,
20671
20675
  gc as SearchTree,
20672
- Ua as Selection,
20676
+ Wa as Selection,
20673
20677
  Gv as Separator,
20674
- ts as Spinner,
20678
+ ns as Spinner,
20675
20679
  Ub as Steps,
20676
20680
  Bb as Switch,
20677
20681
  hw as Tab,