@gisce/react-ooui 2.5.0-alpha.9 → 2.5.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.
@@ -8,50 +8,50 @@ import { Label as Et, Field as _n, Tree as $r, Reference as li, Selection as $n,
8
8
  import * as ur from "@ant-design/icons";
9
9
  import Wr, { QuestionCircleOutlined as Ur, ExclamationCircleOutlined as vt, LoadingOutlined as st, DownOutlined as dn, WarningOutlined as Yr, CloseOutlined as Ut, CheckOutlined as Yt, TranslationOutlined as Gr, FolderOpenOutlined as Hn, DownloadOutlined as Kn, ClearOutlined as jn, StarFilled as pi, StarOutlined as gi, UpOutlined as yi, SearchOutlined as Wn, ThunderboltOutlined as Un, PrinterOutlined as Yn, EnterOutlined as qr, PlusSquareOutlined as wi, MinusSquareOutlined as vi, FileAddOutlined as un, AlignLeftOutlined as bi, ApiOutlined as Ci, DeleteOutlined as Gn, LeftOutlined as zr, RightOutlined as Jr, EyeOutlined as xi, FormOutlined as Ht, TableOutlined as qn, AreaChartOutlined as Si, CalendarOutlined as Ti, LinkOutlined as fr, SaveOutlined as Fi, CopyOutlined as zn, InfoCircleOutlined as Xr, ReloadOutlined as fn, EditOutlined as Qr, FilterOutlined as Zr, CloseCircleFilled as Ri, BorderOuterOutlined as Oi, SettingOutlined as _i, ExportOutlined as Ii } from "@ant-design/icons";
10
10
  import { Interweave as Jn } from "interweave";
11
- import { useLocale as we, Many2OneSuffix as Vi, Many2OneSuffixModal as mr, FieldSet as Ai, ExportModal as Di, Dropdown as eo, DropdownButton as Vt, FormigaConfigProvider as ki, mergeStrings as Ei, FavouriteButton as Mi } from "@gisce/react-formiga-components";
11
+ import { useLocale as we, Many2OneSuffix as Vi, Many2OneSuffixModal as mr, FieldSet as Ai, ExportModal as Di, Dropdown as eo, DropdownButton as Vt, FormigaConfigProvider as ki, mergeStrings as Ei, HTMLPreview as Mi, FavouriteButton as Ni } from "@gisce/react-formiga-components";
12
12
  import * as hr from "@tabler/icons-react";
13
- import Ni from "antd/lib/input/TextArea";
13
+ import Pi from "antd/lib/input/TextArea";
14
14
  import Mt from "styled-components";
15
15
  import Xn from "react-measure";
16
- import Pi from "lodash/debounce";
16
+ import Li from "lodash/debounce";
17
17
  import Vn from "antd/lib/typography/Title";
18
18
  import { nanoid as Qn } from "nanoid";
19
- import { Line as Li, Column as $i, Pie as Bi } from "@ant-design/plots";
19
+ import { Line as $i, Column as Bi, Pie as Hi } from "@ant-design/plots";
20
20
  import Ze from "dayjs";
21
- import Hi from "dayjs/plugin/advancedFormat";
22
- import Ki from "dayjs/plugin/customParseFormat";
23
- import ji from "dayjs/plugin/isoWeek";
24
- import Wi from "dayjs/plugin/timezone";
25
- import Ui from "dayjs/plugin/duration";
26
- import Yi from "dayjs/plugin/relativeTime";
27
- import Gi from "dayjs/plugin/weekday";
28
- import qi from "dayjs/plugin/localeData";
21
+ import Ki from "dayjs/plugin/advancedFormat";
22
+ import ji from "dayjs/plugin/customParseFormat";
23
+ import Wi from "dayjs/plugin/isoWeek";
24
+ import Ui from "dayjs/plugin/timezone";
25
+ import Yi from "dayjs/plugin/duration";
26
+ import Gi from "dayjs/plugin/relativeTime";
27
+ import qi from "dayjs/plugin/weekday";
28
+ import zi from "dayjs/plugin/localeData";
29
29
  import Ft from "use-deep-compare-effect";
30
- import { Table as zi } from "@gisce/react-formiga-table";
31
- import Ji from "antd/es/typography/Link";
32
- import { fileTypeFromBuffer as Xi } from "file-type-buffer-browser";
33
- import { isPresetStatusColor as Qi, isPresetColor as Zi } from "antd/lib/_util/colors";
30
+ import { Table as Ji } from "@gisce/react-formiga-table";
31
+ import Xi from "antd/es/typography/Link";
32
+ import { fileTypeFromBuffer as Qi } from "file-type-buffer-browser";
33
+ import { isPresetStatusColor as Zi, isPresetColor as es } from "antd/lib/_util/colors";
34
34
  import to from "antd/es/alert/ErrorBoundary";
35
- import { GridUi as es } from "@gisce/fiber-diagram";
36
- import ts from "validator/lib/isURL";
37
- import ns from "validator/lib/isEmail";
38
- import { useHotkeys as rs } from "react-hotkeys-hook";
39
- import os from "react-markdown";
40
- import is from "remark-gfm";
41
- import ss from "@monaco-editor/react";
42
- import as from "md5";
43
- import { WidthProvider as ls, Responsive as cs } from "react-grid-layout";
35
+ import { GridUi as ts } from "@gisce/fiber-diagram";
36
+ import ns from "validator/lib/isURL";
37
+ import rs from "validator/lib/isEmail";
38
+ import { useHotkeys as os } from "react-hotkeys-hook";
39
+ import is from "react-markdown";
40
+ import ss from "remark-gfm";
41
+ import as from "@monaco-editor/react";
42
+ import ls from "md5";
43
+ import { WidthProvider as cs, Responsive as ds } from "react-grid-layout";
44
44
  import "react-grid-layout/css/styles.css";
45
- const { Text: ds, Title: us } = Wt, { useToken: fs } = He, ms = {
45
+ const { Text: us, Title: fs } = Wt, { useToken: ms } = He, hs = {
46
46
  left: "justify-start",
47
47
  center: "justify-center",
48
48
  right: "justify-end"
49
49
  }, mn = (e) => {
50
- const { ooui: t, align: n, responsiveBehaviour: i } = e, { label: o, tooltip: s, fieldForLabel: a, labelSize: l, labelType: d } = t, f = a !== null && o.length > 1 ? o + " :" : o, m = n || (a ? i ? "left" : "right" : "left"), { token: p } = fs(), h = l === void 0 ? ds : us;
50
+ const { ooui: t, align: n, responsiveBehaviour: i } = e, { label: o, tooltip: s, fieldForLabel: a, labelSize: l, labelType: d } = t, f = a !== null && o.length > 1 ? o + " :" : o, m = n || (a ? i ? "left" : "right" : "left"), { token: p } = ms(), h = l === void 0 ? us : fs;
51
51
  return /* @__PURE__ */ k(
52
52
  "div",
53
53
  {
54
- className: `flex flex-row items-center pb-1 pt-1 ${ms[m]}`,
54
+ className: `flex flex-row items-center pb-1 pt-1 ${hs[m]}`,
55
55
  children: [
56
56
  s && /* @__PURE__ */ r(gt, { title: s, children: /* @__PURE__ */ r(
57
57
  Ur,
@@ -67,7 +67,7 @@ const { Text: ds, Title: us } = Wt, { useToken: fs } = He, ms = {
67
67
  }
68
68
  );
69
69
  };
70
- function Ce({
70
+ function be({
71
71
  ooui: e,
72
72
  children: t,
73
73
  layout: n = "horizontal",
@@ -118,12 +118,12 @@ function Ce({
118
118
  h()
119
119
  ] }))();
120
120
  }
121
- const { confirm: hs } = Je, Gt = ({
121
+ const { confirm: ps } = Je, Gt = ({
122
122
  onOk: e,
123
123
  confirmMessage: t,
124
124
  t: n
125
125
  }) => {
126
- hs({
126
+ ps({
127
127
  title: n("confirmation"),
128
128
  icon: /* @__PURE__ */ r(vt, {}),
129
129
  centered: !0,
@@ -132,7 +132,7 @@ const { confirm: hs } = Je, Gt = ({
132
132
  cancelText: n("cancel"),
133
133
  onOk: e
134
134
  });
135
- }, Be = nt.createContext(null), ps = (e) => {
135
+ }, Be = nt.createContext(null), gs = (e) => {
136
136
  const {
137
137
  children: t,
138
138
  activeId: n,
@@ -265,7 +265,7 @@ const { confirm: hs } = Je, Gt = ({
265
265
  STOCK_UNINDENT: "AlignLeft",
266
266
  STOCK_PREFERENCES: "Setting"
267
267
  }, dt = (e, t) => (e.indexOf("gtk-") !== -1 && (e = `STOCK_${e.replace("gtk-", "").replace(/\-/g, "_").toUpperCase()}`), pr.hasOwnProperty(e) ? gr(pr[e], t) : gr(e, t));
268
- function gs(e) {
268
+ function ys(e) {
269
269
  return `${e.split("-").map(
270
270
  (t) => t.replace(
271
271
  /\w\S*/g,
@@ -275,7 +275,7 @@ function gs(e) {
275
275
  }
276
276
  function gr(e, t) {
277
277
  let n = e.charAt(0).toUpperCase() + e.slice(1);
278
- n.indexOf("-") !== -1 && (n = gs(n));
278
+ n.indexOf("-") !== -1 && (n = ys(n));
279
279
  const i = `${n}Outlined`;
280
280
  if (ur[i])
281
281
  return () => nt.createElement(ur[i], {
@@ -331,7 +331,7 @@ const no = (e) => {
331
331
  return C && /* @__PURE__ */ r(C, {});
332
332
  }
333
333
  }
334
- return /* @__PURE__ */ r(Ce, { ooui: t, children: /* @__PURE__ */ r(
334
+ return /* @__PURE__ */ r(be, { ooui: t, children: /* @__PURE__ */ r(
335
335
  ke,
336
336
  {
337
337
  block: !0,
@@ -344,7 +344,7 @@ const no = (e) => {
344
344
  children: i
345
345
  }
346
346
  ) });
347
- }, ys = (e) => {
347
+ }, ws = (e) => {
348
348
  const { ooui: t } = e, { defaultButton: n, secondaryButtons: i } = t, {
349
349
  id: o,
350
350
  caption: s,
@@ -383,7 +383,7 @@ const no = (e) => {
383
383
  if (t.buttons.length === 0)
384
384
  return null;
385
385
  if (t.buttons.length > 1)
386
- return /* @__PURE__ */ r(Ce, { ooui: new _n({ ooui: t }), children: /* @__PURE__ */ k(
386
+ return /* @__PURE__ */ r(be, { ooui: new _n({ ooui: t }), children: /* @__PURE__ */ k(
387
387
  ei.Button,
388
388
  {
389
389
  disabled: !a || m,
@@ -391,7 +391,7 @@ const no = (e) => {
391
391
  icon: /* @__PURE__ */ r(dn, {}),
392
392
  type: f ? "primary" : void 0,
393
393
  overlay: /* @__PURE__ */ r(
394
- ws,
394
+ vs,
395
395
  {
396
396
  ooui: i,
397
397
  executeButtonAction: h
@@ -405,7 +405,7 @@ const no = (e) => {
405
405
  ) });
406
406
  if (n)
407
407
  return /* @__PURE__ */ r(no, { ooui: n });
408
- }, ws = (e) => {
408
+ }, vs = (e) => {
409
409
  const { t } = we(), { ooui: n, executeButtonAction: i } = e;
410
410
  if (!n)
411
411
  return null;
@@ -458,7 +458,7 @@ const no = (e) => {
458
458
  );
459
459
  });
460
460
  return /* @__PURE__ */ r(lr, { children: o });
461
- }, vs = 0.7;
461
+ }, bs = 0.7;
462
462
  function yr() {
463
463
  const { innerWidth: e, innerHeight: t } = window;
464
464
  return {
@@ -476,7 +476,7 @@ function hn() {
476
476
  }
477
477
  return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
478
478
  }, []), {
479
- modalWidth: e.width * vs,
479
+ modalWidth: e.width * bs,
480
480
  modalHeight: e.height,
481
481
  width: e.width,
482
482
  height: e.height
@@ -512,9 +512,9 @@ const ro = (e) => {
512
512
  message: t,
513
513
  title: i
514
514
  };
515
- }, { error: bs, warning: Cs } = Je, Xe = (e) => {
515
+ }, { error: Cs, warning: xs } = Je, Xe = (e) => {
516
516
  const { message: t, type: n, title: i } = ro(e);
517
- (n === "error" ? bs : Cs)({
517
+ (n === "error" ? Cs : xs)({
518
518
  title: i,
519
519
  icon: n === "error" ? /* @__PURE__ */ r(vt, {}) : /* @__PURE__ */ r(Yr, {}),
520
520
  centered: !0,
@@ -563,7 +563,7 @@ const ro = (e) => {
563
563
  return u.map((F, T) => /* @__PURE__ */ k(Oe, { style: { paddingBottom: 20 }, children: [
564
564
  /* @__PURE__ */ r(ue, { flex: "8rem", style: { paddingRight: 10 }, children: F.name }),
565
565
  /* @__PURE__ */ r(ue, { flex: "auto", children: /* @__PURE__ */ r(
566
- Ni,
566
+ Pi,
567
567
  {
568
568
  rows: 4,
569
569
  value: y[F.code] || "",
@@ -644,14 +644,14 @@ function ze(e) {
644
644
  const { tooltip: t, ...n } = e;
645
645
  return /* @__PURE__ */ r(gt, { title: t, children: /* @__PURE__ */ r(ke, { ...n }) });
646
646
  }
647
- const { info: xs } = Je, ht = (e) => {
648
- xs({
647
+ const { info: Ss } = Je, ht = (e) => {
648
+ Ss({
649
649
  title: "",
650
650
  centered: !0,
651
651
  content: e
652
652
  });
653
- }, { useToken: Ss } = He, io = (e) => {
654
- const { ooui: t, isSearchField: n = !1 } = e, { id: i, readOnly: o, isPassword: s, required: a, translatable: l } = t, { token: d } = Ss(), u = a && !o ? { backgroundColor: d.colorPrimaryBg } : void 0, f = ne(Be), { elementHasLostFocus: c } = f || {};
653
+ }, { useToken: Ts } = He, io = (e) => {
654
+ const { ooui: t, isSearchField: n = !1 } = e, { id: i, readOnly: o, isPassword: s, required: a, translatable: l } = t, { token: d } = Ts(), u = a && !o ? { backgroundColor: d.colorPrimaryBg } : void 0, f = ne(Be), { elementHasLostFocus: c } = f || {};
655
655
  let m = /* @__PURE__ */ r(
656
656
  it,
657
657
  {
@@ -669,8 +669,8 @@ const { info: xs } = Je, ht = (e) => {
669
669
  id: i,
670
670
  onBlur: c
671
671
  }
672
- )), l && !o && !n && (m = /* @__PURE__ */ r(Ts, { field: i, requiredStyle: u })), /* @__PURE__ */ r(Ce, { required: a, ...e, children: m });
673
- }, Ts = ({
672
+ )), l && !o && !n && (m = /* @__PURE__ */ r(Fs, { field: i, requiredStyle: u })), /* @__PURE__ */ r(be, { required: a, ...e, children: m });
673
+ }, Fs = ({
674
674
  value: e,
675
675
  field: t,
676
676
  requiredStyle: n,
@@ -749,16 +749,16 @@ const { info: xs } = Je, ht = (e) => {
749
749
  }
750
750
  ) })
751
751
  ] }) });
752
- }, { defaultAlgorithm: Fs, defaultSeed: Rs } = He, Os = Fs(Rs), { Option: _s } = Tt, so = (e) => {
752
+ }, { defaultAlgorithm: Rs, defaultSeed: Os } = He, _s = Rs(Os), { Option: Is } = Tt, so = (e) => {
753
753
  const { ooui: t } = e, { required: n } = t;
754
- return /* @__PURE__ */ r(Ce, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(ao, { ...e }) });
754
+ return /* @__PURE__ */ r(be, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(ao, { ...e }) });
755
755
  }, ao = (e) => {
756
756
  const { ooui: t, onChange: n, value: i } = e, { selectionValues: o, readOnly: s, required: a } = t, l = Array.from(o.entries()), d = l && l.length && l.map((f) => {
757
757
  const [c, m] = f;
758
- return /* @__PURE__ */ r(_s, { value: c, children: m }, c);
758
+ return /* @__PURE__ */ r(Is, { value: c, children: m }, c);
759
759
  });
760
760
  return /* @__PURE__ */ r(
761
- a && !s ? Is : Tt,
761
+ a && !s ? Vs : Tt,
762
762
  {
763
763
  disabled: s,
764
764
  onChange: n,
@@ -769,17 +769,17 @@ const { info: xs } = Je, ht = (e) => {
769
769
  children: d
770
770
  }
771
771
  );
772
- }, Is = Mt(Tt)`
772
+ }, Vs = Mt(Tt)`
773
773
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
774
- background-color: ${Os.colorPrimaryBg};
774
+ background-color: ${_s.colorPrimaryBg};
775
775
  }
776
- `, { defaultAlgorithm: Vs, defaultSeed: As } = He, wr = Vs(As), Ds = (e) => {
776
+ `, { defaultAlgorithm: As, defaultSeed: Ds } = He, wr = As(Ds), ks = (e) => {
777
777
  const { ooui: t } = e, { id: n, readOnly: i, required: o } = t;
778
- return /* @__PURE__ */ r(Ce, { ...e, valuePropName: "checked", children: /* @__PURE__ */ r(ks, { id: n, readOnly: i, required: o }) });
779
- }, ks = (e) => {
778
+ return /* @__PURE__ */ r(be, { ...e, valuePropName: "checked", children: /* @__PURE__ */ r(Es, { id: n, readOnly: i, required: o }) });
779
+ }, Es = (e) => {
780
780
  const { required: t, readOnly: n, ...i } = e;
781
- return /* @__PURE__ */ r("div", { className: "flex flex-row", children: /* @__PURE__ */ r(t && !n ? Es : Bt, { disabled: n, ...i }) });
782
- }, Es = Mt(Bt)`
781
+ return /* @__PURE__ */ r("div", { className: "flex flex-row", children: /* @__PURE__ */ r(t && !n ? Ms : Bt, { disabled: n, ...i }) });
782
+ }, Ms = Mt(Bt)`
783
783
  .ant-checkbox-inner {
784
784
  background-color: ${wr.colorPrimaryBg};
785
785
  }
@@ -788,12 +788,12 @@ const { info: xs } = Je, ht = (e) => {
788
788
  background-color: ${wr.colorPrimary};
789
789
  }
790
790
  `;
791
- function Ms(e) {
791
+ function Ns(e) {
792
792
  const n = Buffer.from(e, "base64").length / 1e3;
793
793
  return `${Math.round((n + Number.EPSILON) * 100) / 100} KB`;
794
794
  }
795
795
  async function kt(e) {
796
- const t = await Xi(
796
+ const t = await Qi(
797
797
  Buffer.from(e, "base64")
798
798
  );
799
799
  return t || {
@@ -812,10 +812,10 @@ function pn(e, t) {
812
812
  const o = new Uint8Array(i), s = new Blob([o], { type: t + ";base64" }), a = URL.createObjectURL(s);
813
813
  window.open(a);
814
814
  }
815
- const Ns = (e) => {
815
+ const Ps = (e) => {
816
816
  const { ooui: t } = e, { required: n, id: i } = t, o = dt(i);
817
- return o ? /* @__PURE__ */ r(o, {}) : /* @__PURE__ */ r(Ce, { required: n, ...e, children: /* @__PURE__ */ r(Ps, { ooui: t }) });
818
- }, Ps = (e) => {
817
+ return o ? /* @__PURE__ */ r(o, {}) : /* @__PURE__ */ r(be, { required: n, ...e, children: /* @__PURE__ */ r(Ls, { ooui: t }) });
818
+ }, Ls = (e) => {
819
819
  const { ooui: t, value: n, onChange: i } = e, { readOnly: o } = t, s = ae(null), { t: a } = we(), l = (c) => {
820
820
  i == null || i(c);
821
821
  };
@@ -884,10 +884,10 @@ const Ns = (e) => {
884
884
  )
885
885
  ] }) })
886
886
  ] });
887
- }, Ls = (e) => {
888
- const { ooui: t } = e, { required: n } = t;
889
- return /* @__PURE__ */ r(Ce, { required: n, ...e, children: /* @__PURE__ */ r($s, {}) });
890
887
  }, $s = (e) => {
888
+ const { ooui: t } = e, { required: n } = t;
889
+ return /* @__PURE__ */ r(be, { required: n, ...e, children: /* @__PURE__ */ r(Bs, {}) });
890
+ }, Bs = (e) => {
891
891
  const { value: t, onChange: n } = e;
892
892
  if (!t)
893
893
  return null;
@@ -897,7 +897,7 @@ const Ns = (e) => {
897
897
  return console.error(i), null;
898
898
  }
899
899
  return /* @__PURE__ */ r(
900
- es,
900
+ ts,
901
901
  {
902
902
  inputJson: t,
903
903
  onChange: (i) => {
@@ -909,13 +909,13 @@ const Ns = (e) => {
909
909
  const t = e.arch, n = e.fields, i = new $r(n);
910
910
  return i.parse(t), i;
911
911
  };
912
- function Bs(e) {
912
+ function Hs(e) {
913
913
  return typeof e == "number" || typeof e == "string" || typeof e == "boolean" || e === null || e === void 0 || Array.isArray(e) && e.length === 0;
914
914
  }
915
- const Hs = (e, t, n) => e.columns.map((o) => {
915
+ const Ks = (e, t, n) => e.columns.map((o) => {
916
916
  const s = o.type, a = o.id, l = t == null ? void 0 : t[s];
917
917
  let d;
918
- return l ? d = (u) => l({ value: u, key: a, ooui: o, context: n }) : d = (u) => Bs(u) ? u : /* @__PURE__ */ k("p", { style: { color: "red" }, children: [
918
+ return l ? d = (u) => l({ value: u, key: a, ooui: o, context: n }) : d = (u) => Hs(u) ? u : /* @__PURE__ */ k("p", { style: { color: "red" }, children: [
919
919
  "Unsupported widget value for a Tree cell:",
920
920
  /* @__PURE__ */ r("pre", { children: /* @__PURE__ */ k("strong", { children: [
921
921
  "Type: ",
@@ -977,7 +977,7 @@ function Dt({
977
977
  };
978
978
  return e.sort(l);
979
979
  }
980
- function Ks(e) {
980
+ function js(e) {
981
981
  for (const t in e)
982
982
  if (Object.prototype.hasOwnProperty.call(e, t) && e[t] !== void 0)
983
983
  return !0;
@@ -1035,10 +1035,10 @@ const Zn = async (e) => {
1035
1035
  }).concat(d),
1036
1036
  m
1037
1037
  ];
1038
- }, js = (e) => {
1038
+ }, Ws = (e) => {
1039
1039
  const t = e.filter((n) => n.id && n.id < 0).map((n) => n.id);
1040
1040
  return t.length === 0 ? -1 : Math.min(...t) - 1;
1041
- }, Ws = (e, t) => {
1041
+ }, Us = (e, t) => {
1042
1042
  const n = {};
1043
1043
  return Object.keys(e).forEach((i) => {
1044
1044
  var o;
@@ -1046,7 +1046,7 @@ const Zn = async (e) => {
1046
1046
  (s) => s.operation !== "pendingRemove"
1047
1047
  ) : n[i] = e[i];
1048
1048
  }), n;
1049
- }, Us = ({
1049
+ }, Ys = ({
1050
1050
  values: e,
1051
1051
  fields: t
1052
1052
  }) => {
@@ -1064,7 +1064,7 @@ const Zn = async (e) => {
1064
1064
  } else
1065
1065
  n[i] = e[i];
1066
1066
  }), n;
1067
- }, Ys = (e) => {
1067
+ }, Gs = (e) => {
1068
1068
  const { ooui: t } = e, { relation: n, context: i, views: o } = t, [s, a] = b(!0), [l, d] = b(), [u, f] = b(/* @__PURE__ */ new Map()), c = ne(Be), { getContext: m } = c || {};
1069
1069
  Ft(() => {
1070
1070
  h();
@@ -1084,8 +1084,8 @@ const Zn = async (e) => {
1084
1084
  a(!1);
1085
1085
  }
1086
1086
  };
1087
- return s ? /* @__PURE__ */ r($e, {}) : l ? /* @__PURE__ */ r(Qe, { className: "mt-10", message: l, type: "error", banner: !0 }) : /* @__PURE__ */ r(Ce, { type: "array", ...e, children: /* @__PURE__ */ r(Gs, { ooui: t, views: u }) });
1088
- }, Gs = (e) => {
1087
+ return s ? /* @__PURE__ */ r($e, {}) : l ? /* @__PURE__ */ r(Qe, { className: "mt-10", message: l, type: "error", banner: !0 }) : /* @__PURE__ */ r(be, { type: "array", ...e, children: /* @__PURE__ */ r(qs, { ooui: t, views: u }) });
1088
+ }, qs = (e) => {
1089
1089
  const { value: t, views: n, ooui: i, onChange: o } = e, { items: s = [] } = t || {}, [a, l] = b(!1), [d, u] = b(), [f, c] = b(!1), [m, p] = b(), { relation: h, context: y, readOnly: g, summaryField: w, titleField: C } = i, x = s.filter((F) => F.values), S = ne(Be), { getContext: R } = S || {};
1090
1090
  Ft(() => {
1091
1091
  D();
@@ -1174,11 +1174,11 @@ const Zn = async (e) => {
1174
1174
  }
1175
1175
  )
1176
1176
  ] });
1177
- }, { useToken: qs } = He, zs = (e) => {
1177
+ }, { useToken: zs } = He, Js = (e) => {
1178
1178
  const { ooui: t } = e;
1179
- return /* @__PURE__ */ r(Ce, { ooui: t, children: /* @__PURE__ */ r(Js, { ooui: t }) });
1180
- }, Js = (e) => {
1181
- const { token: t } = qs(), { ooui: n, value: i } = e, o = /* @__PURE__ */ k(Q, { children: [
1179
+ return /* @__PURE__ */ r(be, { ooui: t, children: /* @__PURE__ */ r(Xs, { ooui: t }) });
1180
+ }, Xs = (e) => {
1181
+ const { token: t } = zs(), { ooui: n, value: i } = e, o = /* @__PURE__ */ k(Q, { children: [
1182
1182
  /* @__PURE__ */ k("span", { children: [
1183
1183
  n.label,
1184
1184
  " "
@@ -1203,7 +1203,7 @@ const Zn = async (e) => {
1203
1203
  }
1204
1204
  );
1205
1205
  return n.card ? /* @__PURE__ */ r(Pn, { children: l }) : l;
1206
- }, Xs = (e, t) => {
1206
+ }, Qs = (e, t) => {
1207
1207
  if (!t)
1208
1208
  return e;
1209
1209
  const n = {};
@@ -1217,7 +1217,7 @@ const Zn = async (e) => {
1217
1217
  } else
1218
1218
  n[i] = e[i];
1219
1219
  }), n;
1220
- }, _t = (e, t) => Xs(e, t), Sn = ({
1220
+ }, _t = (e, t) => Qs(e, t), Sn = ({
1221
1221
  source: e,
1222
1222
  target: t,
1223
1223
  fields: n
@@ -1250,7 +1250,7 @@ const Zn = async (e) => {
1250
1250
  else
1251
1251
  e[o] === void 0 && t[o] !== void 0 ? i[o] = t[o] : e[o] !== t[o] && (t[o] === void 0 ? i[o] = null : i[o] = t[o]);
1252
1252
  }), i;
1253
- }, Qs = ({
1253
+ }, Zs = ({
1254
1254
  changedFields: e,
1255
1255
  formOoui: t,
1256
1256
  types: n
@@ -1258,7 +1258,7 @@ const Zn = async (e) => {
1258
1258
  var a;
1259
1259
  const s = (a = t == null ? void 0 : t.findById(o)) == null ? void 0 : a.type;
1260
1260
  return n.includes(s);
1261
- }).some((o) => o === !0), Zs = ({
1261
+ }).some((o) => o === !0), ea = ({
1262
1262
  fieldsDomain: e,
1263
1263
  fields: t
1264
1264
  }) => {
@@ -1266,12 +1266,12 @@ const Zn = async (e) => {
1266
1266
  return Object.keys(t).forEach((i) => {
1267
1267
  n[i] = t[i], e[i] && (n[i].domain = e[i]);
1268
1268
  }), n;
1269
- }, ea = (e) => {
1269
+ }, ta = (e) => {
1270
1270
  const t = {};
1271
1271
  return !e || !Array.isArray(e) || (e == null ? void 0 : e.length) === 0 ? {} : (e.forEach((n) => {
1272
1272
  (n == null ? void 0 : n[1]) === "=" && (t[n[0]] = n[2]);
1273
1273
  }), t);
1274
- }, ta = ({
1274
+ }, na = ({
1275
1275
  onChangeFieldActionArgs: e,
1276
1276
  values: t,
1277
1277
  parentValues: n = {}
@@ -1332,10 +1332,10 @@ const Nt = ({
1332
1332
  n += ("00" + o.toString(16)).slice(-2);
1333
1333
  }
1334
1334
  return n;
1335
- }, na = (e, t) => e.replace(
1335
+ }, ra = (e, t) => e.replace(
1336
1336
  /\{([^}]+)\}/g,
1337
1337
  (n, i) => t[i] !== void 0 ? t[i] : n
1338
- ), Cr = (e) => !(!Array.isArray(e) || e.length !== 2 || e[0] === void 0 && e[1] === ""), ra = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(mo, { ...e }) }), mo = (e) => {
1338
+ ), Cr = (e) => !(!Array.isArray(e) || e.length !== 2 || e[0] === void 0 && e[1] === ""), oa = (e) => /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(mo, { ...e }) }), mo = (e) => {
1339
1339
  const { ooui: t, value: n } = e;
1340
1340
  let i = n, o = n;
1341
1341
  if (t.selectionValues.size ? i = t.selectionValues.get(n) : Array.isArray(n) && (o = n[0], i = n[1]), !n)
@@ -1344,16 +1344,16 @@ const Nt = ({
1344
1344
  return /* @__PURE__ */ r(er, { color: s, children: i });
1345
1345
  }, er = (e) => {
1346
1346
  let { color: t } = e, n = {};
1347
- return !Qi(e.color) && !Zi(e.color) && (n = {
1347
+ return !Zi(e.color) && !es(e.color) && (n = {
1348
1348
  color: t,
1349
1349
  borderColor: t,
1350
1350
  borderStyle: "solid",
1351
1351
  borderWidth: "1px"
1352
1352
  }, t = `${t}20`), /* @__PURE__ */ r(Mr, { ...e, style: n, color: t, children: e.children });
1353
- }, oa = (e) => {
1354
- const { ooui: t } = e;
1355
- return /* @__PURE__ */ r(Ce, { type: "array", ...e, children: /* @__PURE__ */ r(ia, { ooui: t }) });
1356
1353
  }, ia = (e) => {
1354
+ const { ooui: t } = e;
1355
+ return /* @__PURE__ */ r(be, { type: "array", ...e, children: /* @__PURE__ */ r(sa, { ooui: t }) });
1356
+ }, sa = (e) => {
1357
1357
  const { value: t, ooui: n, onChange: i } = e, { items: o = [] } = t || {}, s = o.filter((V) => V.operation !== "pendingRemove").map((V) => V.id), [a, l] = b([]), [d, u] = b(), [f, c] = b(!1), { relation: m, context: p, readOnly: h, field: y } = n, g = ne(Be), { getContext: w } = g || {};
1358
1358
  Ft(() => {
1359
1359
  x();
@@ -1433,14 +1433,14 @@ const Nt = ({
1433
1433
  loading: f
1434
1434
  }
1435
1435
  ) }) });
1436
- }, sa = (e) => {
1436
+ }, aa = (e) => {
1437
1437
  switch (e) {
1438
1438
  case "form":
1439
1439
  return zt;
1440
1440
  case "tree":
1441
1441
  return Xt;
1442
1442
  case "notebook":
1443
- return lc;
1443
+ return cc;
1444
1444
  case "group":
1445
1445
  return _o;
1446
1446
  case "label":
@@ -1448,83 +1448,85 @@ const Nt = ({
1448
1448
  case "char":
1449
1449
  return io;
1450
1450
  case "text":
1451
- return dc;
1451
+ return uc;
1452
1452
  case "button":
1453
1453
  return no;
1454
1454
  case "buttonGroup":
1455
- return ys;
1455
+ return ws;
1456
1456
  case "selection":
1457
1457
  return so;
1458
1458
  case "many2one":
1459
- return Il;
1459
+ return Vl;
1460
1460
  case "boolean":
1461
- return Ds;
1461
+ return ks;
1462
1462
  case "integer":
1463
1463
  return rn;
1464
1464
  case "float":
1465
1465
  return po;
1466
1466
  case "progressbar":
1467
- return nl;
1467
+ return rl;
1468
1468
  case "date":
1469
- return xc;
1470
- case "datetime":
1471
1469
  return Sc;
1472
- case "time":
1470
+ case "datetime":
1473
1471
  return Tc;
1472
+ case "time":
1473
+ return Fc;
1474
1474
  case "one2many":
1475
1475
  case "one2many_list":
1476
1476
  case "many2many":
1477
- return rc;
1477
+ return oc;
1478
1478
  case "separator":
1479
- return fc;
1479
+ return mc;
1480
1480
  case "reference":
1481
- return Rc;
1481
+ return Oc;
1482
1482
  case "binary":
1483
- return Ic;
1483
+ return Vc;
1484
1484
  case "image":
1485
- return Ns;
1485
+ return Ps;
1486
1486
  case "url":
1487
- return Pc;
1488
- case "email":
1489
1487
  return Lc;
1488
+ case "email":
1489
+ return $c;
1490
1490
  case "float_time":
1491
- return ic;
1491
+ return sc;
1492
1492
  case "fiber_grid":
1493
- return Ls;
1493
+ return $s;
1494
1494
  case "timeline":
1495
- return Ys;
1495
+ return Gs;
1496
1496
  case "indicator":
1497
- return zs;
1497
+ return Js;
1498
1498
  case "tags":
1499
- return oa;
1499
+ return ia;
1500
1500
  case "tag":
1501
- return ra;
1501
+ return oa;
1502
1502
  case "multicheckbox":
1503
- return wd;
1503
+ return vd;
1504
1504
  case "markdown":
1505
- return bd;
1505
+ return Cd;
1506
1506
  case "radio":
1507
- return xd;
1507
+ return Sd;
1508
1508
  case "switch":
1509
- return Td;
1509
+ return Fd;
1510
1510
  case "steps":
1511
- return Rd;
1511
+ return Od;
1512
1512
  case "codeeditor":
1513
- return _d;
1513
+ return Id;
1514
1514
  case "comments_timeline":
1515
- return Md;
1515
+ return Nd;
1516
+ case "html_preview":
1517
+ return Pd;
1516
1518
  default:
1517
1519
  return;
1518
1520
  }
1519
- }, aa = (e) => {
1520
- const { ooui: t } = e, { type: n } = t, i = sa(n);
1521
+ }, la = (e) => {
1522
+ const { ooui: t } = e, { type: n } = t, i = aa(n);
1521
1523
  return i ? nt.createElement(i, e) : null;
1522
- }, la = ({
1524
+ }, ca = ({
1523
1525
  item: e,
1524
1526
  responsiveBehaviour: t
1525
1527
  }) => ({
1526
1528
  gridColumnStart: "span " + (t ? 1 : e.colspan)
1527
- }), ca = ({
1529
+ }), da = ({
1528
1530
  row: e,
1529
1531
  mustFillWithEmpties: t,
1530
1532
  numberOfColumns: n
@@ -1543,10 +1545,10 @@ const Nt = ({
1543
1545
  i.push(new Et({ string: "" }));
1544
1546
  }
1545
1547
  }), i;
1546
- }, da = ({
1548
+ }, ua = ({
1547
1549
  row: e,
1548
1550
  numberOfColumns: t
1549
- }) => e.map((n) => (n._mustExpand && (n.colspan = t), n)), ua = (e, t) => {
1551
+ }) => e.map((n) => (n._mustExpand && (n.colspan = t), n)), fa = (e, t) => {
1550
1552
  const n = e.map((i) => i instanceof Et && i.fieldForLabel || i instanceof di ? "auto" : "1fr");
1551
1553
  if (n.length < t) {
1552
1554
  const i = t - n.length;
@@ -1554,25 +1556,25 @@ const Nt = ({
1554
1556
  n.push("1fr");
1555
1557
  }
1556
1558
  return n.join(" ");
1557
- }, fa = (e, t) => {
1559
+ }, ma = (e, t) => {
1558
1560
  const n = t ? "1fr" : "auto", i = "auto";
1559
1561
  let o = "";
1560
1562
  for (let s = 0; s < e; s++)
1561
1563
  o += s % 2 ? n : i, s + 1 < e && (o += " ");
1562
1564
  return o;
1563
- }, ma = (e) => e.map((n) => n.reduce((i, o) => i + o.colspan, 0)).reduce((n, i) => Math.max(n, i)), An = (e) => {
1565
+ }, ha = (e) => e.map((n) => n.reduce((i, o) => i + o.colspan, 0)).reduce((n, i) => Math.max(n, i)), An = (e) => {
1564
1566
  const { container: t, responsiveBehaviour: n } = e, { rows: i } = t;
1565
1567
  let { columns: o } = t;
1566
- const s = ma(i);
1568
+ const s = ha(i);
1567
1569
  s < o && (o = s);
1568
1570
  let a = !1, l = [];
1569
1571
  const d = i.map((c, m) => {
1570
- const p = c.filter((g) => !g.invisible), h = da({
1572
+ const p = c.filter((g) => !g.invisible), h = ua({
1571
1573
  row: p,
1572
1574
  numberOfColumns: o
1573
1575
  });
1574
1576
  let y = h;
1575
- return (m === 0 || !(c.length === 1 && c.some((g) => g.type === "group"))) && (y = ca({
1577
+ return (m === 0 || !(c.length === 1 && c.some((g) => g.type === "group"))) && (y = da({
1576
1578
  row: h,
1577
1579
  numberOfColumns: o,
1578
1580
  mustFillWithEmpties: n
@@ -1580,17 +1582,17 @@ const Nt = ({
1580
1582
  "div",
1581
1583
  {
1582
1584
  style: {
1583
- ...la({ item: g, responsiveBehaviour: n }),
1585
+ ...ca({ item: g, responsiveBehaviour: n }),
1584
1586
  minWidth: 0
1585
1587
  },
1586
- children: aa({
1588
+ children: la({
1587
1589
  ooui: g,
1588
1590
  responsiveBehaviour: n
1589
1591
  })
1590
1592
  },
1591
1593
  g.key
1592
1594
  )));
1593
- }), u = i.length === 1 ? ua(l, o) : fa(o, a);
1595
+ }), u = i.length === 1 ? fa(l, o) : ma(o, a);
1594
1596
  return /* @__PURE__ */ r("div", { style: {
1595
1597
  display: "grid",
1596
1598
  gridTemplateColumns: n ? "auto" : u,
@@ -1598,12 +1600,12 @@ const Nt = ({
1598
1600
  minHeight: 0,
1599
1601
  minWidth: 0
1600
1602
  }, children: d });
1601
- }, { confirm: ha } = Je, qt = ({
1603
+ }, { confirm: pa } = Je, qt = ({
1602
1604
  onOk: e,
1603
1605
  onCancel: t,
1604
1606
  t: n
1605
1607
  }) => {
1606
- ha({
1608
+ pa({
1607
1609
  title: n("unsavedChanges"),
1608
1610
  icon: /* @__PURE__ */ r(vt, {}),
1609
1611
  centered: !0,
@@ -1613,22 +1615,22 @@ const Nt = ({
1613
1615
  onCancel: t,
1614
1616
  cancelText: n("cancel")
1615
1617
  });
1616
- }, { error: pa } = Je, xr = (e) => {
1617
- pa({
1618
+ }, { error: ga } = Je, xr = (e) => {
1619
+ ga({
1618
1620
  title: e("formHasErrors"),
1619
1621
  icon: /* @__PURE__ */ r(vt, {}),
1620
1622
  centered: !0,
1621
1623
  content: e("fillRequiredFields")
1622
1624
  });
1623
- }, { warning: ga } = Je, ya = (e, t, n) => {
1624
- ga({
1625
+ }, { warning: ya } = Je, wa = (e, t, n) => {
1626
+ ya({
1625
1627
  title: e,
1626
1628
  icon: /* @__PURE__ */ r(Yr, {}),
1627
1629
  centered: !0,
1628
1630
  content: t,
1629
1631
  onOk: n
1630
1632
  });
1631
- }, ho = nt.createContext(null), wa = (e) => {
1633
+ }, ho = nt.createContext(null), va = (e) => {
1632
1634
  const { children: t, setTitle: n } = e;
1633
1635
  return /* @__PURE__ */ r(
1634
1636
  ho.Provider,
@@ -1641,7 +1643,7 @@ const Nt = ({
1641
1643
  );
1642
1644
  }, St = 80, rt = Zo(
1643
1645
  null
1644
- ), va = (e) => {
1646
+ ), ba = (e) => {
1645
1647
  const {
1646
1648
  children: t,
1647
1649
  currentView: n,
@@ -1751,7 +1753,7 @@ const Nt = ({
1751
1753
  children: t
1752
1754
  }
1753
1755
  );
1754
- }, ut = nt.createContext(null), ba = (e) => {
1756
+ }, ut = nt.createContext(null), Ca = (e) => {
1755
1757
  const {
1756
1758
  children: t,
1757
1759
  openAction: n,
@@ -1787,7 +1789,7 @@ const Nt = ({
1787
1789
  var t;
1788
1790
  for (let n = 0; n < e.length; n++)
1789
1791
  await ((t = e == null ? void 0 : e[n]) == null ? void 0 : t.call(e));
1790
- }, Ca = (e, t) => {
1792
+ }, xa = (e, t) => {
1791
1793
  const { children: n, globalValues: i = {} } = e, o = ae(), s = ae(), [a, l] = b(!1), d = ne(
1792
1794
  ut
1793
1795
  ), { openAction: u } = d || {}, f = ae([]), { t: c } = we();
@@ -1864,7 +1866,7 @@ const Nt = ({
1864
1866
  return await x({ actionData: D, fields: F, values: T, context: _ });
1865
1867
  if (O === "ir.actions.act_url")
1866
1868
  window.open(
1867
- na(D.url, { ...T, context: _ }),
1869
+ ra(D.url, { ...T, context: _ }),
1868
1870
  "_blank"
1869
1871
  );
1870
1872
  else
@@ -1914,7 +1916,7 @@ const Nt = ({
1914
1916
  context: A
1915
1917
  }), {};
1916
1918
  } else {
1917
- const { initialView: B, views: q } = await xa({
1919
+ const { initialView: B, views: q } = await Sa({
1918
1920
  model: v.res_model,
1919
1921
  context: A,
1920
1922
  view_mode: v.view_mode,
@@ -2015,7 +2017,7 @@ const Nt = ({
2015
2017
  }
2016
2018
  ) });
2017
2019
  };
2018
- async function xa({
2020
+ async function Sa({
2019
2021
  views: e,
2020
2022
  view_mode: t,
2021
2023
  model: n,
@@ -2064,7 +2066,7 @@ async function xa({
2064
2066
  }
2065
2067
  return { views: s, initialView: a };
2066
2068
  }
2067
- const Sa = yt(Ca), Ta = ({
2069
+ const Ta = yt(xa), Fa = ({
2068
2070
  error: e,
2069
2071
  className: t
2070
2072
  }) => {
@@ -2085,8 +2087,8 @@ const Sa = yt(Ca), Ta = ({
2085
2087
  banner: !0
2086
2088
  }
2087
2089
  );
2088
- }, Fa = 800;
2089
- function Ra(e, t) {
2090
+ }, Ra = 800;
2091
+ function Oa(e, t) {
2090
2092
  const {
2091
2093
  model: n,
2092
2094
  id: i,
@@ -2110,7 +2112,7 @@ function Ra(e, t) {
2110
2112
  defaultValues: R,
2111
2113
  forcedValues: V = {},
2112
2114
  parentWidth: D
2113
- } = e, { t: F } = we(), [T, _] = b(!1), [v, O] = b(), [A, L] = b(), [G] = ct.useForm(), [B, q] = b(), [N, Z] = b(), ee = ne(ho), [oe, U] = b(), [$, I] = b(!1), M = ae(), K = ae({}), le = ae({}), z = ae(!1), re = ae(!1), ve = ae(!1), ce = (D !== void 0 ? D : oe) < Fa, Te = ne(Be), { activeId: Ee, getPlainValues: Me } = Te || {}, Ne = ne(
2115
+ } = e, { t: F } = we(), [T, _] = b(!1), [v, O] = b(), [A, L] = b(), [G] = ct.useForm(), [B, q] = b(), [N, Z] = b(), ee = ne(ho), [oe, U] = b(), [$, I] = b(!1), M = ae(), K = ae({}), le = ae({}), z = ae(!1), re = ae(!1), ve = ae(!1), ce = (D !== void 0 ? D : oe) < Ra, Te = ne(Be), { activeId: Ee, getPlainValues: Me } = Te || {}, Ne = ne(
2114
2116
  rt
2115
2117
  ), {
2116
2118
  setFormIsSaving: me = void 0,
@@ -2172,8 +2174,8 @@ function Ra(e, t) {
2172
2174
  function Y() {
2173
2175
  const P = Ae(), H = je(), J = {};
2174
2176
  return Object.keys(P).forEach((X) => {
2175
- const be = P[X];
2176
- H[X] && H[X].type === "many2one" && be && Array.isArray(be) && be.length === 2 ? J[X] = be[0] : H[X] && (H[X].type === "one2many" || H[X].type === "many2many") && be && be.items ? J[X] = be.items.filter((Ge) => Ge.operation !== "pendingRemove").map((Ge) => Ge.id) : J[X] = be;
2177
+ const Ce = P[X];
2178
+ H[X] && H[X].type === "many2one" && Ce && Array.isArray(Ce) && Ce.length === 2 ? J[X] = Ce[0] : H[X] && (H[X].type === "one2many" || H[X].type === "many2many") && Ce && Ce.items ? J[X] = Ce.items.filter((Ge) => Ge.operation !== "pendingRemove").map((Ge) => Ge.id) : J[X] = Ce;
2177
2179
  }), J;
2178
2180
  }
2179
2181
  function te() {
@@ -2247,16 +2249,16 @@ function Ra(e, t) {
2247
2249
  O(H != null && H.message ? H.message + H.stack : H), se == null || se(!1);
2248
2250
  }
2249
2251
  }, lt = async (P) => {
2250
- let H, J, X, be;
2251
- se == null || se(!0), O(void 0), P != null && P.fields ? (J = P.fields, X = P.arch) : (J = N, X = B), p && (P == null ? void 0 : P.forceRefresh) !== !0 ? H = p : { values: H, defaultGetCalled: be } = await Po({
2252
+ let H, J, X, Ce;
2253
+ se == null || se(!0), O(void 0), P != null && P.fields ? (J = P.fields, X = P.arch) : (J = N, X = B), p && (P == null ? void 0 : P.forceRefresh) !== !0 ? H = p : { values: H, defaultGetCalled: Ce } = await Po({
2252
2254
  fields: J,
2253
2255
  arch: X
2254
- }), C && (H = { ...ea(C), ...H }), K.current = _t(H, J), ft({
2256
+ }), C && (H = { ...ta(C), ...H }), K.current = _t(H, J), ft({
2255
2257
  values: H,
2256
2258
  fields: J,
2257
2259
  reset: !0,
2258
- isDefaultGet: be
2259
- }), $t({ fields: J, arch: X, values: H }), se == null || se(!1), Fe == null || Fe(!1), be && I(!0);
2260
+ isDefaultGet: Ce
2261
+ }), $t({ fields: J, arch: X, values: H }), se == null || se(!1), Fe == null || Fe(!1), Ce && I(!0);
2260
2262
  }, Pe = async () => new Promise(async (P) => {
2261
2263
  et() ? qt({
2262
2264
  t: F,
@@ -2308,7 +2310,7 @@ function Ra(e, t) {
2308
2310
  context: w
2309
2311
  }))[0], g)
2310
2312
  return { values: J, defaultGetCalled: X };
2311
- const be = await E.getHandler().search({
2313
+ const Ce = await E.getHandler().search({
2312
2314
  params: [
2313
2315
  ["res_model", "=", n],
2314
2316
  ["res_id", "=", ie()]
@@ -2317,7 +2319,7 @@ function Ra(e, t) {
2317
2319
  context: Re(),
2318
2320
  model: "ir.attachment"
2319
2321
  });
2320
- _e == null || _e(be);
2322
+ _e == null || _e(Ce);
2321
2323
  } else
2322
2324
  _e == null || _e([]), J = await Ie(P), X = !0;
2323
2325
  return { values: J, defaultGetCalled: X };
@@ -2388,17 +2390,17 @@ function Ra(e, t) {
2388
2390
  operationInProgress: X = !1
2389
2391
  }) => {
2390
2392
  var Ge;
2391
- const be = new Hr(P);
2392
- be.parse(H, {
2393
+ const Ce = new Hr(P);
2394
+ Ce.parse(H, {
2393
2395
  readOnly: f || X,
2394
- values: Ws(
2396
+ values: Us(
2395
2397
  {
2396
2398
  ...J,
2397
2399
  ...Se()
2398
2400
  },
2399
2401
  P
2400
2402
  )
2401
- }), L(be), be.string && be.string !== We && (Ke == null || Ke(be.string)), ee && be.string && ((Ge = ee.setTitle) == null || Ge.call(ee, be.string));
2403
+ }), L(Ce), Ce.string && Ce.string !== We && (Ke == null || Ke(Ce.string)), ee && Ce.string && ((Ge = ee.setTitle) == null || Ge.call(ee, Ce.string));
2402
2404
  }, wn = async ({
2403
2405
  elementHasLostFocus: P = !1
2404
2406
  }) => {
@@ -2409,7 +2411,7 @@ function Ra(e, t) {
2409
2411
  target: Ye(N),
2410
2412
  fields: N
2411
2413
  }), J = Object.keys(H);
2412
- if (J.length !== 0 && !(Qs({
2414
+ if (J.length !== 0 && !(Zs({
2413
2415
  changedFields: J,
2414
2416
  formOoui: A,
2415
2417
  types: [
@@ -2427,7 +2429,7 @@ function Ra(e, t) {
2427
2429
  const X = _t(G.getFieldsValue(!0), N);
2428
2430
  le.current = X, d == null || d(X), Fe == null || Fe(!0), Bo(J);
2429
2431
  }
2430
- }, $o = Pi(wn, 100), Bo = async (P) => {
2432
+ }, $o = Li(wn, 100), Bo = async (P) => {
2431
2433
  try {
2432
2434
  for (let H = 0; H < P.length; H += 1) {
2433
2435
  const J = P[H];
@@ -2446,7 +2448,7 @@ function Ra(e, t) {
2446
2448
  });
2447
2449
  return;
2448
2450
  }
2449
- const J = ta({
2451
+ const J = na({
2450
2452
  values: {
2451
2453
  ...Ye(N),
2452
2454
  context: {
@@ -2464,11 +2466,11 @@ function Ra(e, t) {
2464
2466
  fields: N
2465
2467
  });
2466
2468
  if (X.value) {
2467
- const be = {
2469
+ const Ce = {
2468
2470
  ...Ye(N),
2469
2471
  ...X.value
2470
- }, Ge = Us({
2471
- values: be,
2472
+ }, Ge = Ys({
2473
+ values: Ce,
2472
2474
  fields: N
2473
2475
  });
2474
2476
  $t({
@@ -2482,21 +2484,21 @@ function Ra(e, t) {
2482
2484
  });
2483
2485
  }
2484
2486
  if (X.warning && X.warning.title && X.warning.message && !z.current) {
2485
- const { title: be, message: Ge } = X.warning;
2486
- z.current = !0, ya(be, Ge, () => {
2487
+ const { title: Ce, message: Ge } = X.warning;
2488
+ z.current = !0, wa(Ce, Ge, () => {
2487
2489
  z.current = !1;
2488
2490
  });
2489
2491
  }
2490
2492
  if (X.domain && Object.keys(X.domain).length > 0) {
2491
- const be = Zs({
2493
+ const Ce = ea({
2492
2494
  fieldsDomain: X.domain,
2493
2495
  fields: N
2494
2496
  });
2495
2497
  $t({
2496
- fields: be,
2498
+ fields: Ce,
2497
2499
  arch: B,
2498
- values: Ye(be)
2499
- }), Z(be);
2500
+ values: Ye(Ce)
2501
+ }), Z(Ce);
2500
2502
  }
2501
2503
  };
2502
2504
  async function Ko({
@@ -2595,14 +2597,14 @@ function Ra(e, t) {
2595
2597
  let X = !1;
2596
2598
  try {
2597
2599
  !f && (et() || ie() === void 0) && (X = !0, vn(!0), m === "2many" ? (await ir({ callOnSubmitSucceed: !1 }), ve.current = !0) : await Zt({ callOnSubmitSucceed: !1 }));
2598
- const be = ve.current ? xe() : {}, Ge = { ...J, ...be };
2600
+ const Ce = ve.current ? xe() : {}, Ge = { ...J, ...Ce };
2599
2601
  P === "object" ? await Ko({ action: H, context: Ge }) : P === "workflow" ? await jo({ action: H }) : P === "action" && await Wo({ action: H, context: Ge }), X && vn(!1);
2600
- } catch (be) {
2601
- X && vn(!1), Xe(be);
2602
+ } catch (Ce) {
2603
+ X && vn(!1), Xe(Ce);
2602
2604
  }
2603
2605
  }
2604
2606
  const Go = () => !A && !v ? /* @__PURE__ */ r($e, {}) : !n && !h || !x ? null : /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ r(
2605
- ps,
2607
+ gs,
2606
2608
  {
2607
2609
  getValues: Ae,
2608
2610
  getPlainValues: Y,
@@ -2674,14 +2676,14 @@ function Ra(e, t) {
2674
2676
  U((H = P.bounds) == null ? void 0 : H.width);
2675
2677
  },
2676
2678
  children: ({ measureRef: P }) => /* @__PURE__ */ k("div", { className: "pb-2", ref: P, children: [
2677
- v && /* @__PURE__ */ r(Ta, { className: "mt-5 mb-10", error: v }),
2679
+ v && /* @__PURE__ */ r(Fa, { className: "mt-5 mb-10", error: v }),
2678
2680
  Go(),
2679
2681
  a && qo()
2680
2682
  ] })
2681
2683
  }
2682
2684
  ) : null;
2683
2685
  }
2684
- const zt = yt(Ra), Jt = (e) => {
2686
+ const zt = yt(Oa), Jt = (e) => {
2685
2687
  const {
2686
2688
  visible: t,
2687
2689
  id: n,
@@ -2735,7 +2737,7 @@ const zt = yt(Ra), Jt = (e) => {
2735
2737
  ] });
2736
2738
  }
2737
2739
  const F = f * 0.95;
2738
- return /* @__PURE__ */ r(wa, { setTitle: m, children: /* @__PURE__ */ r(
2740
+ return /* @__PURE__ */ r(va, { setTitle: m, children: /* @__PURE__ */ r(
2739
2741
  Je,
2740
2742
  {
2741
2743
  title: a ? D() : c,
@@ -2760,7 +2762,7 @@ const zt = yt(Ra), Jt = (e) => {
2760
2762
  )
2761
2763
  }
2762
2764
  ) });
2763
- }, Oa = (e) => /* @__PURE__ */ r(Ce, { ...e, layout: "vertical", children: /* @__PURE__ */ r(
2765
+ }, _a = (e) => /* @__PURE__ */ r(be, { ...e, layout: "vertical", children: /* @__PURE__ */ r(
2764
2766
  Ln.RangePicker,
2765
2767
  {
2766
2768
  allowEmpty: [!0, !0],
@@ -2788,7 +2790,7 @@ const zt = yt(Ra), Jt = (e) => {
2788
2790
  }
2789
2791
  }
2790
2792
  );
2791
- }, _a = (e) => {
2793
+ }, Ia = (e) => {
2792
2794
  const { ooui: t, showLabel: n = !1 } = e, { label: i, id: o } = t, s = [
2793
2795
  new _n({
2794
2796
  name: o + "#date",
@@ -2813,7 +2815,7 @@ const zt = yt(Ra), Jt = (e) => {
2813
2815
  }
2814
2816
  ),
2815
2817
  /* @__PURE__ */ k(Oe, { align: "bottom", className: "p-0", children: [
2816
- /* @__PURE__ */ r(ue, { className: "mr-2", children: /* @__PURE__ */ r(Ce, { ...e, ooui: s[0], showLabel: !1, children: /* @__PURE__ */ r(
2818
+ /* @__PURE__ */ r(ue, { className: "mr-2", children: /* @__PURE__ */ r(be, { ...e, ooui: s[0], showLabel: !1, children: /* @__PURE__ */ r(
2817
2819
  Ln.RangePicker,
2818
2820
  {
2819
2821
  className: "w-60",
@@ -2821,10 +2823,10 @@ const zt = yt(Ra), Jt = (e) => {
2821
2823
  format: "DD/MM/YYYY"
2822
2824
  }
2823
2825
  ) }) }),
2824
- /* @__PURE__ */ r(ue, { children: /* @__PURE__ */ r(Ce, { ...e, ooui: s[1], showLabel: !1, children: /* @__PURE__ */ r(Ia, {}) }) })
2826
+ /* @__PURE__ */ r(ue, { children: /* @__PURE__ */ r(be, { ...e, ooui: s[1], showLabel: !1, children: /* @__PURE__ */ r(Va, {}) }) })
2825
2827
  ] })
2826
2828
  ] });
2827
- }, Ia = ({
2829
+ }, Va = ({
2828
2830
  value: e,
2829
2831
  onChange: t
2830
2832
  }) => /* @__PURE__ */ k("div", { style: { marginTop: 5 }, children: [
@@ -2852,9 +2854,9 @@ const zt = yt(Ra), Jt = (e) => {
2852
2854
  }
2853
2855
  }
2854
2856
  )
2855
- ] }), { useToken: Va } = He, po = (e) => {
2856
- const { ooui: t } = e, { id: n, decimalDigits: i, readOnly: o, required: s } = t, { token: a } = Va(), l = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, d = ne(Be), { elementHasLostFocus: u } = d || {};
2857
- return /* @__PURE__ */ r(Ce, { required: s, type: "number", ...e, children: /* @__PURE__ */ r(
2857
+ ] }), { useToken: Aa } = He, po = (e) => {
2858
+ const { ooui: t } = e, { id: n, decimalDigits: i, readOnly: o, required: s } = t, { token: a } = Aa(), l = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, d = ne(Be), { elementHasLostFocus: u } = d || {};
2859
+ return /* @__PURE__ */ r(be, { required: s, type: "number", ...e, children: /* @__PURE__ */ r(
2858
2860
  Nr,
2859
2861
  {
2860
2862
  disabled: o,
@@ -2868,9 +2870,9 @@ const zt = yt(Ra), Jt = (e) => {
2868
2870
  wheel: !1
2869
2871
  }
2870
2872
  ) });
2871
- }, { useToken: Aa } = He, rn = (e) => {
2872
- const { ooui: t, onChange: n } = e, { id: i, readOnly: o, required: s } = t, { token: a } = Aa(), l = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, d = ne(Be), { elementHasLostFocus: u } = d || {};
2873
- return /* @__PURE__ */ r(Ce, { required: s, type: "number", ...e, children: /* @__PURE__ */ r(
2873
+ }, { useToken: Da } = He, rn = (e) => {
2874
+ const { ooui: t, onChange: n } = e, { id: i, readOnly: o, required: s } = t, { token: a } = Da(), l = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, d = ne(Be), { elementHasLostFocus: u } = d || {};
2875
+ return /* @__PURE__ */ r(be, { required: s, type: "number", ...e, children: /* @__PURE__ */ r(
2874
2876
  Nr,
2875
2877
  {
2876
2878
  id: i,
@@ -2888,7 +2890,7 @@ const zt = yt(Ra), Jt = (e) => {
2888
2890
  }
2889
2891
  ) });
2890
2892
  };
2891
- function Da(e) {
2893
+ function ka(e) {
2892
2894
  const { ooui: t, showLabel: n } = e, { id: i, label: o, tooltip: s } = t, a = t instanceof In ? rn : po, l = (d) => /* @__PURE__ */ r(
2893
2895
  a,
2894
2896
  {
@@ -2921,17 +2923,17 @@ function Da(e) {
2921
2923
  ] })
2922
2924
  ] });
2923
2925
  }
2924
- const { defaultAlgorithm: ka, defaultSeed: Ea } = He, Ma = ka(Ea), { Option: Na } = Tt, Pa = (e) => {
2926
+ const { defaultAlgorithm: Ea, defaultSeed: Ma } = He, Na = Ea(Ma), { Option: Pa } = Tt, La = (e) => {
2925
2927
  const { ooui: t } = e, { required: n } = t;
2926
- return /* @__PURE__ */ r(Ce, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(La, { ...e }) });
2927
- }, La = (e) => {
2928
+ return /* @__PURE__ */ r(be, { required: n, type: "any", ...e, children: /* @__PURE__ */ r($a, { ...e }) });
2929
+ }, $a = (e) => {
2928
2930
  const { ooui: t, onChange: n, value: i } = e, { selectionValues: o, readOnly: s, required: a } = t, l = Array.from(o.entries()), d = l && l.length && l.filter((c) => {
2929
2931
  const [m] = c;
2930
2932
  return i ? !i.includes(m) : !0;
2931
2933
  }).map((c) => {
2932
2934
  const [m, p] = c;
2933
- return /* @__PURE__ */ r(Na, { value: p, children: p }, m);
2934
- }), u = a && !s ? $a : Tt;
2935
+ return /* @__PURE__ */ r(Pa, { value: p, children: p }, m);
2936
+ }), u = a && !s ? Ba : Tt;
2935
2937
  function f(c) {
2936
2938
  const m = c.map((p) => {
2937
2939
  const h = l.find(([y, g]) => p === g);
@@ -2954,12 +2956,12 @@ const { defaultAlgorithm: ka, defaultSeed: Ea } = He, Ma = ka(Ea), { Option: Na
2954
2956
  children: d
2955
2957
  }
2956
2958
  );
2957
- }, $a = Mt(Tt)`
2959
+ }, Ba = Mt(Tt)`
2958
2960
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
2959
- background-color: ${Ma.colorPrimaryBg};
2961
+ background-color: ${Na.colorPrimaryBg};
2960
2962
  }
2961
2963
  `;
2962
- function Ba(e) {
2964
+ function Ha(e) {
2963
2965
  const { field: t } = e;
2964
2966
  t.readOnly = !1, t.required = !1;
2965
2967
  const { t: n } = we();
@@ -2979,18 +2981,18 @@ function Ba(e) {
2979
2981
  case pt.progressbar:
2980
2982
  case pt.float_time:
2981
2983
  case pt.integer:
2982
- return /* @__PURE__ */ r(Da, { ooui: t, showLabel: !0 });
2984
+ return /* @__PURE__ */ r(ka, { ooui: t, showLabel: !0 });
2983
2985
  case pt.date:
2984
- return /* @__PURE__ */ r(Oa, { ooui: t, layout: "vertical", showLabel: !0 });
2985
- case pt.datetime:
2986
2986
  return /* @__PURE__ */ r(_a, { ooui: t, layout: "vertical", showLabel: !0 });
2987
+ case pt.datetime:
2988
+ return /* @__PURE__ */ r(Ia, { ooui: t, layout: "vertical", showLabel: !0 });
2987
2989
  case pt.selection:
2988
- return /* @__PURE__ */ r(Pa, { layout: "vertical", ooui: t, showLabel: !0 });
2990
+ return /* @__PURE__ */ r(La, { layout: "vertical", ooui: t, showLabel: !0 });
2989
2991
  default:
2990
2992
  return /* @__PURE__ */ r(io, { ooui: t, layout: "vertical", showLabel: !0, isSearchField: !0 });
2991
2993
  }
2992
2994
  }
2993
- function Ha(e) {
2995
+ function Ka(e) {
2994
2996
  const { onAdvancedFilterToggle: t, advancedFilter: n, onClear: i, isSearching: o } = e, { t: s } = we();
2995
2997
  return /* @__PURE__ */ k(Oe, { children: [
2996
2998
  /* @__PURE__ */ r(ue, { span: 12, className: "text-left pt-4 pb-2 pl-2", children: /* @__PURE__ */ k("a", { className: "text-xs", onClick: t, children: [
@@ -3013,7 +3015,7 @@ function Ha(e) {
3013
3015
  ] })
3014
3016
  ] });
3015
3017
  }
3016
- function Ka(e) {
3018
+ function ja(e) {
3017
3019
  const { onLimitChange: t } = e, { t: n } = we(), i = new In({ name: "limit" }), o = new In({ name: "offset" });
3018
3020
  return /* @__PURE__ */ k("div", { className: "pl-2 pt-2", children: [
3019
3021
  /* @__PURE__ */ r(Oe, { children: n("parameters") }, "count_params"),
@@ -3033,15 +3035,15 @@ function Ka(e) {
3033
3035
  ] })
3034
3036
  ] });
3035
3037
  }
3036
- const Tr = (e) => typeof e == "string" && e === "true" || e === "false" ? e === "true" : e, ja = (e, t) => {
3037
- const n = za(e), i = Ga(n), o = qa(
3038
+ const Tr = (e) => typeof e == "string" && e === "true" || e === "false" ? e === "true" : e, Wa = (e, t) => {
3039
+ const n = Ja(e), i = qa(n), o = za(
3038
3040
  i,
3039
3041
  t
3040
3042
  );
3041
3043
  return [
3042
- ...Object.keys(o).map((l) => Wa(l, o[l], t))
3044
+ ...Object.keys(o).map((l) => Ua(l, o[l], t))
3043
3045
  ].reduce((l, d) => Array.isArray(d[0]) ? l.concat(d) : [...l, d], []);
3044
- }, Wa = (e, t, n) => {
3046
+ }, Ua = (e, t, n) => {
3045
3047
  var s;
3046
3048
  const i = e.split("#")[0], o = (s = n.findById(i)) == null ? void 0 : s.type;
3047
3049
  if (o === "char" || o === "text" || o === "many2one" || o === "many2many" || o === "one2many")
@@ -3063,14 +3065,14 @@ const Tr = (e) => typeof e == "string" && e === "true" || e === "false" ? e ===
3063
3065
  (a) => Tr(a)
3064
3066
  )
3065
3067
  ] : [e, "=", Tr(t)];
3066
- }, Ua = (e) => Object.keys(e).filter((t) => t.indexOf("#date") !== -1), Ya = (e) => {
3068
+ }, Ya = (e) => Object.keys(e).filter((t) => t.indexOf("#date") !== -1), Ga = (e) => {
3067
3069
  const t = { ...e };
3068
3070
  return Object.keys(t).forEach(
3069
3071
  (n) => (n.indexOf("#time") !== -1 || n.indexOf("#date") !== -1) && delete t[n]
3070
3072
  ), t;
3071
- }, Ga = (e) => {
3072
- const t = { ...Ya(e) };
3073
- return Ua(e).forEach((i) => {
3073
+ }, qa = (e) => {
3074
+ const t = { ...Ga(e) };
3075
+ return Ya(e).forEach((i) => {
3074
3076
  const o = e[i], s = i.split("#")[0], a = s + "#time", l = e[a];
3075
3077
  let d, u;
3076
3078
  if (o[0] !== null && (d = o[0].format("YYYY-MM-DD"), l && l[0] !== null)) {
@@ -3083,7 +3085,7 @@ const Tr = (e) => typeof e == "string" && e === "true" || e === "false" ? e ===
3083
3085
  }
3084
3086
  t[s + "#datetime"] = [d, u];
3085
3087
  }), t;
3086
- }, qa = (e, t) => {
3088
+ }, za = (e, t) => {
3087
3089
  const n = Object.keys(e).filter((o) => {
3088
3090
  const s = t.findById(o);
3089
3091
  return s && s.type === "date";
@@ -3091,22 +3093,22 @@ const Tr = (e) => typeof e == "string" && e === "true" || e === "false" ? e ===
3091
3093
  return n.forEach((o) => {
3092
3094
  delete i[o], e[o][0] !== null && (i[o + "#from"] = e[o][0]), e[o][1] !== null && (i[o + "#to"] = e[o][1]);
3093
3095
  }), i;
3094
- }, za = (e) => {
3096
+ }, Ja = (e) => {
3095
3097
  const t = { ...e };
3096
3098
  return Object.keys(t).forEach(
3097
3099
  (n) => (t[n] === void 0 || t[n] === null || t[n] === "") && delete t[n]
3098
3100
  ), t;
3099
- }, Ja = (e) => {
3101
+ }, Xa = (e) => {
3100
3102
  const t = {};
3101
3103
  return e.forEach((n) => {
3102
3104
  Array.isArray(n) && n[0] ? t[n[0]] = !0 : t[n] = !0;
3103
3105
  }), Object.keys(t);
3104
3106
  }, jt = (e, t) => {
3105
- const n = [...e], i = Ja(e);
3107
+ const n = [...e], i = Xa(e);
3106
3108
  return t.forEach((o) => {
3107
3109
  Array.isArray(o) && o[0] ? i.includes(o[0]) || n.push(o) : i.includes(o) || n.push(o);
3108
3110
  }), n;
3109
- }, { useToken: Xa } = He;
3111
+ }, { useToken: Qa } = He;
3110
3112
  function go(e) {
3111
3113
  const {
3112
3114
  fields: t,
@@ -3122,7 +3124,7 @@ function go(e) {
3122
3124
  searchError: c,
3123
3125
  searchValues: m,
3124
3126
  showLimitOptions: p = !0
3125
- } = e, [h, y] = b(), [g, w] = b(), [C, x] = b(!1), S = ae(), { token: R } = Xa(), [V] = ct.useForm();
3127
+ } = e, [h, y] = b(), [g, w] = b(), [C, x] = b(!1), S = ae(), { token: R } = Qa(), [V] = ct.useForm();
3126
3128
  pe(() => {
3127
3129
  V.setFieldsValue(m);
3128
3130
  }, [m]);
@@ -3130,7 +3132,7 @@ function go(e) {
3130
3132
  if (!g)
3131
3133
  return;
3132
3134
  const _ = C ? g : h, v = _ == null ? void 0 : _.rows;
3133
- return v == null ? void 0 : v.map((O, A) => /* @__PURE__ */ r(Oe, { children: O.map((L, G) => /* @__PURE__ */ r(ue, { xs: 24, className: "p-2", xl: 6, children: /* @__PURE__ */ r(Ba, { field: L }) }, G)) }, A));
3135
+ return v == null ? void 0 : v.map((O, A) => /* @__PURE__ */ r(Oe, { children: O.map((L, G) => /* @__PURE__ */ r(ue, { xs: 24, className: "p-2", xl: 6, children: /* @__PURE__ */ r(Ha, { field: L }) }, G)) }, A));
3134
3136
  };
3135
3137
  Ft(() => {
3136
3138
  x(!1), S.current = new ui(n, t), S.current.parse(), y(S.current._simpleSearchContainer), w(S.current._advancedSearchContainer);
@@ -3139,7 +3141,7 @@ function go(e) {
3139
3141
  var L;
3140
3142
  const { limit: v, offset: O } = _;
3141
3143
  delete _.offset, delete _.limit;
3142
- const A = ja(
3144
+ const A = Wa(
3143
3145
  _,
3144
3146
  (L = S.current) == null ? void 0 : L._advancedSearchContainer
3145
3147
  );
@@ -3164,9 +3166,9 @@ function go(e) {
3164
3166
  initialValues: { offset: a, limit: l },
3165
3167
  children: [
3166
3168
  F,
3167
- C && p && /* @__PURE__ */ r(Ka, { onLimitChange: d }),
3169
+ C && p && /* @__PURE__ */ r(ja, { onLimitChange: d }),
3168
3170
  /* @__PURE__ */ r(
3169
- Ha,
3171
+ Ka,
3170
3172
  {
3171
3173
  advancedFilter: C,
3172
3174
  onAdvancedFilterToggle: () => {
@@ -3200,7 +3202,7 @@ const Fr = (e, t = "14px -apple-system") => {
3200
3202
  i.font = t;
3201
3203
  const o = i.measureText(e);
3202
3204
  return Math.round((o.width + 80) * 1.5);
3203
- }, Qa = (e, t, n = 500) => {
3205
+ }, Za = (e, t, n = 500) => {
3204
3206
  if (e.length === 0)
3205
3207
  return { columns: e };
3206
3208
  const i = e.map(
@@ -3221,11 +3223,11 @@ const Fr = (e, t = "14px -apple-system") => {
3221
3223
  source: t,
3222
3224
  tableWidth: o
3223
3225
  };
3224
- }, Za = Mt.div`
3226
+ }, el = Mt.div`
3225
3227
  display: flex;
3226
3228
  align-items: center;
3227
3229
  justify-content: center;
3228
- `, el = ({
3230
+ `, tl = ({
3229
3231
  numberOfVisibleSelectedRows: e,
3230
3232
  totalRecords: t,
3231
3233
  numberOfTotalRows: n,
@@ -3246,7 +3248,7 @@ const Fr = (e, t = "14px -apple-system") => {
3246
3248
  "{numberOfSelectedRows}",
3247
3249
  e.toString()
3248
3250
  ) + " ",
3249
- s ? /* @__PURE__ */ r($e, {}) : /* @__PURE__ */ r(Ji, { onClick: u, style: { fontWeight: 600 }, children: d.selectAllRecords.replace(
3251
+ s ? /* @__PURE__ */ r($e, {}) : /* @__PURE__ */ r(Xi, { onClick: u, style: { fontWeight: 600 }, children: d.selectAllRecords.replace(
3250
3252
  "{totalRecords}",
3251
3253
  t.toString()
3252
3254
  ) })
@@ -3254,9 +3256,9 @@ const Fr = (e, t = "14px -apple-system") => {
3254
3256
  "{totalRecords}",
3255
3257
  o.toString()
3256
3258
  ) + " " });
3257
- return /* @__PURE__ */ r(Za, { children: o > n ? c : f });
3259
+ return /* @__PURE__ */ r(el, { children: o > n ? c : f });
3258
3260
  };
3259
- function tl(e) {
3261
+ function nl(e) {
3260
3262
  if (e)
3261
3263
  try {
3262
3264
  if (e.includes(":")) {
@@ -3286,17 +3288,17 @@ function yo(e) {
3286
3288
  });
3287
3289
  return t = `${o}:${s}`, e < 0 && (t = "-" + t), t;
3288
3290
  }
3289
- const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo, {}) }), wo = ({ value: e }) => {
3291
+ const rl = (e) => /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(wo, {}) }), wo = ({ value: e }) => {
3290
3292
  const t = `${(e || 0).toLocaleString("en-US", {
3291
3293
  minimumIntegerDigits: 1,
3292
3294
  maximumFractionDigits: 4,
3293
3295
  useGrouping: !1
3294
3296
  })}%`;
3295
3297
  return /* @__PURE__ */ k("div", { style: { flex: 1, display: "flex", alignItems: "center" }, children: [
3296
- /* @__PURE__ */ r(rl, { percent: e }),
3298
+ /* @__PURE__ */ r(ol, { percent: e }),
3297
3299
  /* @__PURE__ */ r("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: t })
3298
3300
  ] });
3299
- }, rl = Mt(ri)`
3301
+ }, ol = Mt(ri)`
3300
3302
  .ant-progress-outer {
3301
3303
  margin-right: 0px;
3302
3304
  padding-right: 0px;
@@ -3304,7 +3306,7 @@ const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo,
3304
3306
  .ant-progress-text {
3305
3307
  display: none;
3306
3308
  }
3307
- `, ol = ({
3309
+ `, il = ({
3308
3310
  onRetrieveData: e,
3309
3311
  onItemClick: t,
3310
3312
  onOpenChange: n
@@ -3425,7 +3427,7 @@ const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo,
3425
3427
  context: i
3426
3428
  });
3427
3429
  s(x);
3428
- const S = il(x);
3430
+ const S = sl(x);
3429
3431
  let R = {};
3430
3432
  if (S.length > 0 && (R = { ...(V = await h({
3431
3433
  model: n,
@@ -3474,7 +3476,7 @@ const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo,
3474
3476
  }
3475
3477
  }
3476
3478
  return /* @__PURE__ */ r(
3477
- ol,
3479
+ il,
3478
3480
  {
3479
3481
  onRetrieveData: w,
3480
3482
  onItemClick: C,
@@ -3483,7 +3485,7 @@ const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo,
3483
3485
  }
3484
3486
  }
3485
3487
  );
3486
- }, il = (e) => {
3488
+ }, sl = (e) => {
3487
3489
  const { toolbar: t } = e, i = ["action", "relate", "print"].flatMap((o) => {
3488
3490
  const s = t[o];
3489
3491
  return (s == null ? void 0 : s.flatMap((a) => {
@@ -3494,13 +3496,13 @@ const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo,
3494
3496
  return [
3495
3497
  ...new Set(i.filter((o) => o in e.fields))
3496
3498
  ];
3497
- }, sl = (e) => {
3499
+ }, al = (e) => {
3498
3500
  const { m2oField: t } = e;
3499
3501
  return t ? /* @__PURE__ */ k(Ue, { children: [
3500
3502
  /* @__PURE__ */ r(Q, { children: t.value }),
3501
3503
  /* @__PURE__ */ r(tr, { id: t.id, model: t.model })
3502
3504
  ] }) : /* @__PURE__ */ r(Q, {});
3503
- }, al = (e) => {
3505
+ }, ll = (e) => {
3504
3506
  const { value: t, context: n, selectionValues: i } = e, [o, s] = b(), [a, l] = b(!1), [d, u] = t ? t.split(",") : [], f = parseInt(u), c = fe(async () => {
3505
3507
  if (!t || t && o)
3506
3508
  return;
@@ -3526,7 +3528,6 @@ const nl = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(wo,
3526
3528
  /* @__PURE__ */ r(tr, { id: f, model: d })
3527
3529
  ] });
3528
3530
  };
3529
- Ze.extend(Hi);
3530
3531
  Ze.extend(Ki);
3531
3532
  Ze.extend(ji);
3532
3533
  Ze.extend(Wi);
@@ -3534,7 +3535,8 @@ Ze.extend(Ui);
3534
3535
  Ze.extend(Yi);
3535
3536
  Ze.extend(Gi);
3536
3537
  Ze.extend(qi);
3537
- const ll = (e) => {
3538
+ Ze.extend(zi);
3539
+ const cl = (e) => {
3538
3540
  const { ooui: t, value: n } = e;
3539
3541
  if (!n)
3540
3542
  return null;
@@ -3542,7 +3544,7 @@ const ll = (e) => {
3542
3544
  t.selectionValues.size ? i = t.selectionValues.get(n) : Array.isArray(n) && (i = n[1]);
3543
3545
  const o = i.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), s = Kt(i);
3544
3546
  return /* @__PURE__ */ r(gt, { title: i, children: /* @__PURE__ */ r(Pr, { alt: i, style: { backgroundColor: s }, children: o }) });
3545
- }, { useToken: cl } = He, mt = {
3547
+ }, { useToken: dl } = He, mt = {
3546
3548
  date: {
3547
3549
  placeholder: "__/__/____",
3548
3550
  dateDisplayFormat: "DD/MM/YYYY",
@@ -3555,9 +3557,9 @@ const ll = (e) => {
3555
3557
  }
3556
3558
  }, vo = (e) => {
3557
3559
  const { ooui: t, showTime: n = !1 } = e, { required: i } = t;
3558
- return /* @__PURE__ */ r(Ce, { required: i, ...e, children: /* @__PURE__ */ r(dl, { ooui: t, showTime: n }) });
3559
- }, dl = (e) => {
3560
- const { value: t, onChange: n, ooui: i, showTime: o } = e, { id: s, readOnly: a, required: l } = i, { token: d } = cl(), u = l && !a ? { backgroundColor: d.colorPrimaryBg } : void 0, f = o ? "time" : "date", c = (h) => {
3560
+ return /* @__PURE__ */ r(be, { required: i, ...e, children: /* @__PURE__ */ r(ul, { ooui: t, showTime: n }) });
3561
+ }, ul = (e) => {
3562
+ const { value: t, onChange: n, ooui: i, showTime: o } = e, { id: s, readOnly: a, required: l } = i, { token: d } = dl(), u = l && !a ? { backgroundColor: d.colorPrimaryBg } : void 0, f = o ? "time" : "date", c = (h) => {
3561
3563
  n == null || n(h);
3562
3564
  }, m = (h) => {
3563
3565
  if (h == null) {
@@ -3583,7 +3585,7 @@ const ll = (e) => {
3583
3585
  changeOnBlur: !0
3584
3586
  }
3585
3587
  );
3586
- }, ul = ({
3588
+ }, fl = ({
3587
3589
  value: e
3588
3590
  }) => De(
3589
3591
  () => /* @__PURE__ */ r(
@@ -3598,7 +3600,7 @@ const ll = (e) => {
3598
3600
  }
3599
3601
  ),
3600
3602
  [e]
3601
- ), fl = ({ value: e }) => De(() => /* @__PURE__ */ r(sl, { m2oField: e }), [e]), ml = ({ value: e }) => De(
3603
+ ), ml = ({ value: e }) => De(() => /* @__PURE__ */ r(al, { m2oField: e }), [e]), hl = ({ value: e }) => De(
3602
3604
  () => /* @__PURE__ */ r(
3603
3605
  Jn,
3604
3606
  {
@@ -3606,7 +3608,7 @@ const ll = (e) => {
3606
3608
  }
3607
3609
  ),
3608
3610
  [e]
3609
- ), hl = ({ value: e }) => De(() => {
3611
+ ), pl = ({ value: e }) => De(() => {
3610
3612
  if (!e || e && e.length === 0)
3611
3613
  return /* @__PURE__ */ r(Q, {});
3612
3614
  const t = Ze(
@@ -3614,7 +3616,7 @@ const ll = (e) => {
3614
3616
  mt.date.dateInternalFormat
3615
3617
  ).format(mt.date.dateDisplayFormat);
3616
3618
  return /* @__PURE__ */ r(Q, { children: t });
3617
- }, [e]), pl = ({ value: e }) => De(() => {
3619
+ }, [e]), gl = ({ value: e }) => De(() => {
3618
3620
  if (!e || e && e.length === 0)
3619
3621
  return /* @__PURE__ */ r(Q, {});
3620
3622
  const t = Ze(
@@ -3627,12 +3629,12 @@ const ll = (e) => {
3627
3629
  }) => De(() => {
3628
3630
  const t = Array.isArray(e == null ? void 0 : e.items) ? e == null ? void 0 : e.items.length : 0;
3629
3631
  return /* @__PURE__ */ r(Q, { children: `( ${t} )` });
3630
- }, [e]), gl = ({
3632
+ }, [e]), yl = ({
3631
3633
  value: e
3632
- }) => De(() => /* @__PURE__ */ r(wo, { value: e }), [e]), yl = ({ value: e }) => De(() => /* @__PURE__ */ r(Q, { children: yo(e) }), [e]), Or = ({ value: e }) => De(
3634
+ }) => De(() => /* @__PURE__ */ r(wo, { value: e }), [e]), wl = ({ value: e }) => De(() => /* @__PURE__ */ r(Q, { children: yo(e) }), [e]), Or = ({ value: e }) => De(
3633
3635
  () => /* @__PURE__ */ r("div", { style: { textAlign: "right" }, children: e }),
3634
3636
  [e]
3635
- ), wl = ({ value: e }) => De(
3637
+ ), vl = ({ value: e }) => De(
3636
3638
  () => /* @__PURE__ */ r(
3637
3639
  "img",
3638
3640
  {
@@ -3641,12 +3643,12 @@ const ll = (e) => {
3641
3643
  }
3642
3644
  ),
3643
3645
  [e]
3644
- ), vl = ({
3646
+ ), bl = ({
3645
3647
  value: e,
3646
3648
  key: t,
3647
3649
  ooui: n,
3648
3650
  context: i
3649
- }) => De(() => /* @__PURE__ */ r(mo, { ooui: n, value: e }), [n, e]), bl = ({
3651
+ }) => De(() => /* @__PURE__ */ r(mo, { ooui: n, value: e }), [n, e]), Cl = ({
3650
3652
  value: e,
3651
3653
  key: t,
3652
3654
  ooui: n,
@@ -3654,14 +3656,14 @@ const ll = (e) => {
3654
3656
  }) => De(() => {
3655
3657
  let o = e;
3656
3658
  return Array.isArray(e) && e.length === 2 && (o = e[0]), /* @__PURE__ */ r(Q, { children: n.selectionValues.get(o) });
3657
- }, [n, e]), Cl = ({
3659
+ }, [n, e]), xl = ({
3658
3660
  value: e,
3659
3661
  key: t,
3660
3662
  ooui: n,
3661
3663
  context: i
3662
3664
  }) => De(
3663
3665
  () => /* @__PURE__ */ r(
3664
- al,
3666
+ ll,
3665
3667
  {
3666
3668
  value: e,
3667
3669
  selectionValues: n.selectionValues,
@@ -3669,12 +3671,12 @@ const ll = (e) => {
3669
3671
  }
3670
3672
  ),
3671
3673
  [i, n.selectionValues, e]
3672
- ), xl = ({
3674
+ ), Sl = ({
3673
3675
  value: e,
3674
3676
  key: t,
3675
3677
  ooui: n,
3676
3678
  context: i
3677
- }) => De(() => /* @__PURE__ */ r(ll, { ooui: n, value: e }), [n, e]), Sl = ({
3679
+ }) => De(() => /* @__PURE__ */ r(cl, { ooui: n, value: e }), [n, e]), Tl = ({
3678
3680
  value: e,
3679
3681
  key: t,
3680
3682
  ooui: n,
@@ -3722,24 +3724,24 @@ const ll = (e) => {
3722
3724
  children: c
3723
3725
  }
3724
3726
  ), [c, a]);
3725
- }, Tl = {
3726
- boolean: ul,
3727
- many2one: fl,
3728
- text: ml,
3727
+ }, Fl = {
3728
+ boolean: fl,
3729
+ many2one: ml,
3730
+ text: hl,
3729
3731
  one2many: Rr,
3730
3732
  many2many: Rr,
3731
- progressbar: gl,
3732
- float_time: yl,
3733
- image: wl,
3733
+ progressbar: yl,
3734
+ float_time: wl,
3735
+ image: vl,
3734
3736
  integer: Or,
3735
3737
  float: Or,
3736
- reference: Cl,
3737
- tag: vl,
3738
- selection: bl,
3739
- date: hl,
3740
- datetime: pl,
3741
- avatar: xl,
3742
- tags: Sl
3738
+ reference: xl,
3739
+ tag: bl,
3740
+ selection: Cl,
3741
+ date: pl,
3742
+ datetime: gl,
3743
+ avatar: Sl,
3744
+ tags: Tl
3743
3745
  }, bo = yt(
3744
3746
  (e, t) => {
3745
3747
  var le;
@@ -3770,10 +3772,10 @@ const ll = (e) => {
3770
3772
  rt
3771
3773
  ), { title: q = void 0, setTitle: N = void 0 } = (S ? B : {}) || {}, Z = De(() => {
3772
3774
  if (O)
3773
- return Hs(
3775
+ return Ks(
3774
3776
  O,
3775
3777
  {
3776
- ...Tl
3778
+ ...Fl
3777
3779
  },
3778
3780
  R
3779
3781
  );
@@ -3813,7 +3815,7 @@ const ll = (e) => {
3813
3815
  }
3814
3816
  ) }),
3815
3817
  D && /* @__PURE__ */ r(ue, { span: 8, className: "text-center", children: /* @__PURE__ */ r(
3816
- el,
3818
+ tl,
3817
3819
  {
3818
3820
  numberOfVisibleSelectedRows: z,
3819
3821
  numberOfRealSelectedRows: (c == null ? void 0 : c.length) || 0,
@@ -3848,12 +3850,12 @@ const ll = (e) => {
3848
3850
  }), /* @__PURE__ */ r("div", { className: "p-1 pb-0 pl-2 mt-2 ", children: re.join(", ") });
3849
3851
  }, [T, c, O]), M = De(() => {
3850
3852
  if (O !== null && Z && Z.length > 0)
3851
- return Qa(Z, T, 600);
3853
+ return Za(Z, T, 600);
3852
3854
  }, [Z, T, O]), K = De(() => p && (O != null && O.columns.some((z) => z.sum !== void 0)) ? p - 30 : p, [p, O == null ? void 0 : O.columns]);
3853
3855
  return O === null || !M || ((le = M == null ? void 0 : M.columns) == null ? void 0 : le.length) === 0 ? /* @__PURE__ */ r($e, { style: { padding: "2rem" } }) : /* @__PURE__ */ k(to, { children: [
3854
3856
  $,
3855
3857
  /* @__PURE__ */ r(
3856
- zi,
3858
+ Ji,
3857
3859
  {
3858
3860
  ref: F,
3859
3861
  height: K,
@@ -3865,7 +3867,7 @@ const ll = (e) => {
3865
3867
  if (h[z.id])
3866
3868
  return { color: h[z.id] };
3867
3869
  },
3868
- onRowStatus: Ks(y) ? (z) => {
3870
+ onRowStatus: js(y) ? (z) => {
3869
3871
  if (y[z.id])
3870
3872
  return /* @__PURE__ */ r(ii, { color: y[z.id] });
3871
3873
  } : void 0,
@@ -4114,7 +4116,7 @@ const Co = (e) => {
4114
4116
  getAllIds: Le
4115
4117
  };
4116
4118
  };
4117
- function Fl(e, t) {
4119
+ function Rl(e, t) {
4118
4120
  var lt;
4119
4121
  const {
4120
4122
  model: n,
@@ -4368,7 +4370,7 @@ function Fl(e, t) {
4368
4370
  ]), Lt = T || Ke;
4369
4371
  return Lt ? /* @__PURE__ */ r(Qe, { className: "mt-10", message: Lt, type: "error", banner: !0 }) : /* @__PURE__ */ r("div", { style: u ? {} : { display: "none" }, children: p ? /* @__PURE__ */ r($e, {}) : Qt() });
4370
4372
  }
4371
- const xo = yt(Fl), So = (e) => {
4373
+ const xo = yt(Rl), So = (e) => {
4372
4374
  const {
4373
4375
  visible: t,
4374
4376
  onCloseModal: n,
@@ -4460,16 +4462,16 @@ const xo = yt(Fl), So = (e) => {
4460
4462
  }
4461
4463
  )
4462
4464
  ] });
4463
- }, { error: Rl } = Je, on = (e) => {
4464
- Rl({
4465
+ }, { error: Ol } = Je, on = (e) => {
4466
+ Ol({
4465
4467
  title: "Error",
4466
4468
  icon: /* @__PURE__ */ r(vt, {}),
4467
4469
  centered: !0,
4468
4470
  content: e
4469
4471
  });
4470
- }, { defaultAlgorithm: Ol, defaultSeed: _l } = He, To = Ol(_l), Il = (e) => {
4472
+ }, { defaultAlgorithm: _l, defaultSeed: Il } = He, To = _l(Il), Vl = (e) => {
4471
4473
  const { ooui: t } = e, { required: n } = t;
4472
- return /* @__PURE__ */ r(Ce, { required: n, type: "array", validator: async (o, s) => {
4474
+ return /* @__PURE__ */ r(be, { required: n, type: "array", validator: async (o, s) => {
4473
4475
  if (!s)
4474
4476
  throw new Error();
4475
4477
  if (!Array.isArray(s))
@@ -4568,7 +4570,7 @@ const xo = yt(Fl), So = (e) => {
4568
4570
  }
4569
4571
  return /* @__PURE__ */ k(Oe, { gutter: 8, wrap: !1, children: [
4570
4572
  /* @__PURE__ */ r(ue, { flex: "auto", style: { paddingRight: 0 }, children: /* @__PURE__ */ r(
4571
- o && !a ? Vl : it,
4573
+ o && !a ? Al : it,
4572
4574
  {
4573
4575
  type: "text",
4574
4576
  value: S,
@@ -4649,13 +4651,13 @@ const xo = yt(Fl), So = (e) => {
4649
4651
  }
4650
4652
  )
4651
4653
  ] });
4652
- }, Vl = Mt(it)`
4654
+ }, Al = Mt(it)`
4653
4655
  .ant-input {
4654
4656
  background-color: ${To.colorPrimaryBg};
4655
4657
  }
4656
4658
  `, Ro = nt.createContext(
4657
4659
  null
4658
- ), Al = ({
4660
+ ), Dl = ({
4659
4661
  children: e,
4660
4662
  initialView: t
4661
4663
  }) => {
@@ -4674,7 +4676,7 @@ const xo = yt(Fl), So = (e) => {
4674
4676
  children: e
4675
4677
  }
4676
4678
  );
4677
- }, { getValueForOperator: _r } = jr, sn = 0.7, an = 30, Dl = (e) => {
4679
+ }, { getValueForOperator: _r } = jr, sn = 0.7, an = 30, kl = (e) => {
4678
4680
  const {
4679
4681
  model: t,
4680
4682
  domain: n,
@@ -4801,7 +4803,7 @@ const xo = yt(Fl), So = (e) => {
4801
4803
  R(($ = U.bounds) == null ? void 0 : $.height), D((I = U.bounds) == null ? void 0 : I.width);
4802
4804
  },
4803
4805
  children: ({ measureRef: U }) => a ? /* @__PURE__ */ r(
4804
- El,
4806
+ Ml,
4805
4807
  {
4806
4808
  value: h,
4807
4809
  total: C,
@@ -4814,7 +4816,7 @@ const xo = yt(Fl), So = (e) => {
4814
4816
  suffix: d
4815
4817
  }
4816
4818
  ) : /* @__PURE__ */ r(
4817
- kl,
4819
+ El,
4818
4820
  {
4819
4821
  value: h,
4820
4822
  total: C,
@@ -4833,7 +4835,7 @@ function Oo(e, t) {
4833
4835
  const i = document.createElement("canvas").getContext("2d");
4834
4836
  return i.font = t || getComputedStyle(document.body).font, i.measureText(e).width;
4835
4837
  }
4836
- function kl({
4838
+ function El({
4837
4839
  measureRef: e,
4838
4840
  width: t,
4839
4841
  height: n,
@@ -4874,7 +4876,7 @@ function kl({
4874
4876
  }
4875
4877
  );
4876
4878
  }
4877
- function El({
4879
+ function Ml({
4878
4880
  measureRef: e,
4879
4881
  height: t,
4880
4882
  width: n,
@@ -4944,22 +4946,22 @@ const Tn = (e) => (t) => {
4944
4946
  });
4945
4947
  return { name: e === "pie" ? t.x : t.type, value: n };
4946
4948
  }, en = (e) => {
4947
- if (typeof e == "string" && Ml(e))
4949
+ if (typeof e == "string" && Nl(e))
4948
4950
  return parseFloat(e).toLocaleString("es-ES", {
4949
4951
  useGrouping: !0
4950
4952
  });
4951
- if (Nl(e))
4953
+ if (Pl(e))
4952
4954
  return e.toLocaleString("es-ES", {
4953
4955
  useGrouping: !0
4954
4956
  });
4955
- if (Pl(e)) {
4956
- const t = Ll(e);
4957
+ if (Ll(e)) {
4958
+ const t = $l(e);
4957
4959
  return t === null ? e : Ze(e, ln.input[t]).format(
4958
4960
  ln.output[t]
4959
4961
  );
4960
4962
  } else
4961
4963
  return e;
4962
- }, Ml = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), Nl = (e) => typeof e == "number" && !isNaN(e), Ir = {
4964
+ }, Nl = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), Pl = (e) => typeof e == "number" && !isNaN(e), Ir = {
4963
4965
  default: {
4964
4966
  padding: "auto",
4965
4967
  xAxis: {
@@ -5041,7 +5043,7 @@ const Tn = (e) => (t) => {
5041
5043
  }
5042
5044
  }
5043
5045
  };
5044
- function Pl(e) {
5046
+ function Ll(e) {
5045
5047
  return typeof e != "string" || e === void 0 ? !1 : new Date(e).toString() !== "Invalid Date";
5046
5048
  }
5047
5049
  const ln = {
@@ -5060,7 +5062,7 @@ const ln = {
5060
5062
  years: "YYYY"
5061
5063
  }
5062
5064
  };
5063
- function Ll(e) {
5065
+ function $l(e) {
5064
5066
  for (const t in ln.input)
5065
5067
  if (Ze(
5066
5068
  e,
@@ -5070,7 +5072,7 @@ function Ll(e) {
5070
5072
  return t;
5071
5073
  return null;
5072
5074
  }
5073
- const { processGraphData: $l } = jr, { getFieldsToRetrieve: Bl } = hi, Hl = (e) => {
5075
+ const { processGraphData: Bl } = jr, { getFieldsToRetrieve: Hl } = hi, Kl = (e) => {
5074
5076
  const {
5075
5077
  model: t,
5076
5078
  domain: n = [],
@@ -5087,10 +5089,10 @@ const { processGraphData: $l } = jr, { getFieldsToRetrieve: Bl } = hi, Hl = (e)
5087
5089
  u(!0), c(void 0);
5088
5090
  const V = Bn(o);
5089
5091
  w(V.type || "line");
5090
- const D = Bl({ ooui: V });
5092
+ const D = Hl({ ooui: V });
5091
5093
  let F, T;
5092
5094
  try {
5093
- ({ values: F, fields: T } = await jl({
5095
+ ({ values: F, fields: T } = await Wl({
5094
5096
  model: t,
5095
5097
  domain: n,
5096
5098
  context: i,
@@ -5119,7 +5121,7 @@ const { processGraphData: $l } = jr, { getFieldsToRetrieve: Bl } = hi, Hl = (e)
5119
5121
  fetchData: R
5120
5122
  };
5121
5123
  y(F);
5122
- const _ = $l({
5124
+ const _ = Bl({
5123
5125
  ooui: V,
5124
5126
  values: F,
5125
5127
  fields: T,
@@ -5159,7 +5161,7 @@ const { processGraphData: $l } = jr, { getFieldsToRetrieve: Bl } = hi, Hl = (e)
5159
5161
  fetchData: R
5160
5162
  };
5161
5163
  };
5162
- async function Kl({
5164
+ async function jl({
5163
5165
  model: e,
5164
5166
  context: t,
5165
5167
  fields: n,
@@ -5171,7 +5173,7 @@ async function Kl({
5171
5173
  fields: n
5172
5174
  });
5173
5175
  }
5174
- async function jl({
5176
+ async function Wl({
5175
5177
  fields: e,
5176
5178
  model: t,
5177
5179
  domain: n,
@@ -5181,7 +5183,7 @@ async function jl({
5181
5183
  manualIds: a,
5182
5184
  methods: l
5183
5185
  }) {
5184
- const { getFields: d, readObjects: u, search: f } = l, c = await Kl({
5186
+ const { getFields: d, readObjects: u, search: f } = l, c = await jl({
5185
5187
  model: t,
5186
5188
  context: i,
5187
5189
  fields: e,
@@ -5211,13 +5213,13 @@ async function jl({
5211
5213
  fields: c
5212
5214
  };
5213
5215
  }
5214
- const Wl = {
5215
- line: Li,
5216
- bar: $i,
5217
- pie: Bi
5218
- }, Ul = (e) => {
5216
+ const Ul = {
5217
+ line: $i,
5218
+ bar: Bi,
5219
+ pie: Hi
5220
+ }, Yl = (e) => {
5219
5221
  var C;
5220
- const { model: t, domain: n, context: i, xml: o, limit: s, manualIds: a } = e, { t: l } = we(), { error: d, loading: u, values: f, type: c, evaluatedEntries: m, fetchData: p } = Hl({
5222
+ const { model: t, domain: n, context: i, xml: o, limit: s, manualIds: a } = e, { t: l } = we(), { error: d, loading: u, values: f, type: c, evaluatedEntries: m, fetchData: p } = Kl({
5221
5223
  model: t,
5222
5224
  xml: o,
5223
5225
  limit: s,
@@ -5234,7 +5236,7 @@ const Wl = {
5234
5236
  return /* @__PURE__ */ r(Qe, { message: "No data to display", type: "info" });
5235
5237
  if (d)
5236
5238
  return /* @__PURE__ */ r(Qe, { message: d, type: "error", banner: !0 });
5237
- const { data: h, isGroup: y, isStack: g } = f, w = Wl[c];
5239
+ const { data: h, isGroup: y, isStack: g } = f, w = Ul[c];
5238
5240
  return w ? /* @__PURE__ */ k("div", { style: { padding: "1rem" }, children: [
5239
5241
  /* @__PURE__ */ r("p", { style: { textAlign: "right" }, children: `${l("totalRegisters")} ${(C = m == null ? void 0 : m.length) == null ? void 0 : C.toLocaleString(
5240
5242
  "es-ES",
@@ -5245,7 +5247,7 @@ const Wl = {
5245
5247
  /* @__PURE__ */ r(
5246
5248
  w,
5247
5249
  {
5248
- ...Yl({
5250
+ ...Gl({
5249
5251
  type: c,
5250
5252
  data: h,
5251
5253
  isGroup: y,
@@ -5255,12 +5257,12 @@ const Wl = {
5255
5257
  )
5256
5258
  ] }) : /* @__PURE__ */ r(Q, { children: `Unknown graph type: ${c}` });
5257
5259
  };
5258
- function Yl(e) {
5260
+ function Gl(e) {
5259
5261
  const { type: t, data: n, isGroup: i, isStack: o } = e;
5260
5262
  let s = { ...Ir[t] };
5261
5263
  return s || (s = { ...Ir.default }), s.data = n, t === "pie" ? (s.colorField = "x", s.angleField = "value") : (s.xField = "x", s.yField = "value", s.seriesField = "type", s.isGroup = i, o && (s.isStack = !0, s.groupField = "stacked")), s;
5262
5264
  }
5263
- const Gl = (e, t) => {
5265
+ const ql = (e, t) => {
5264
5266
  const { view_id: n, model: i, context: o, domain: s, limit: a, manualIds: l } = e, [d, u] = b(!1), [f, c] = b(), [m, p] = b(), h = ne(
5265
5267
  rt
5266
5268
  ), { setGraphIsLoading: y = void 0 } = h || {}, [g] = tt(E.getHandler().getView);
@@ -5312,7 +5314,7 @@ const Gl = (e, t) => {
5312
5314
  operator: C.operator
5313
5315
  } : {};
5314
5316
  return /* @__PURE__ */ r(
5315
- Dl,
5317
+ kl,
5316
5318
  {
5317
5319
  showPercent: C.showPercent,
5318
5320
  totalDomain: C.totalDomain,
@@ -5331,7 +5333,7 @@ const Gl = (e, t) => {
5331
5333
  case "bar":
5332
5334
  case "pie":
5333
5335
  return /* @__PURE__ */ r(
5334
- Ul,
5336
+ Yl,
5335
5337
  {
5336
5338
  model: i,
5337
5339
  context: o,
@@ -5344,11 +5346,11 @@ const Gl = (e, t) => {
5344
5346
  default:
5345
5347
  return /* @__PURE__ */ r(Q, { children: `Graph ${f.type} not implemented` });
5346
5348
  }
5347
- }, gn = yt(Gl), { confirm: ql } = Je, zl = ({
5349
+ }, gn = yt(ql), { confirm: zl } = Je, Jl = ({
5348
5350
  onOk: e,
5349
5351
  t
5350
5352
  }) => {
5351
- ql({
5353
+ zl({
5352
5354
  title: t("removeItems"),
5353
5355
  icon: /* @__PURE__ */ r(vt, {}),
5354
5356
  centered: !0,
@@ -5357,11 +5359,11 @@ const Gl = (e, t) => {
5357
5359
  onOk: e,
5358
5360
  cancelText: t("cancel")
5359
5361
  });
5360
- }, { confirm: Jl } = Je, Xl = ({
5362
+ }, { confirm: Xl } = Je, Ql = ({
5361
5363
  onOk: e,
5362
5364
  t
5363
5365
  }) => {
5364
- Jl({
5366
+ Xl({
5365
5367
  title: t("unlinkItems"),
5366
5368
  icon: /* @__PURE__ */ r(vt, {}),
5367
5369
  centered: !0,
@@ -5370,7 +5372,7 @@ const Gl = (e, t) => {
5370
5372
  onOk: e,
5371
5373
  cancelText: t("cancel")
5372
5374
  });
5373
- }, { useToken: Ql } = He, Zl = (e) => {
5375
+ }, { useToken: Zl } = He, ec = (e) => {
5374
5376
  const {
5375
5377
  title: t,
5376
5378
  readOnly: n,
@@ -5387,7 +5389,7 @@ const Gl = (e, t) => {
5387
5389
  selectedRowKeys: p,
5388
5390
  showCreateButton: h,
5389
5391
  showToggleButton: y
5390
- } = e, { token: g } = Ql();
5392
+ } = e, { token: g } = Zl();
5391
5393
  function w() {
5392
5394
  return /* @__PURE__ */ r("div", { className: "inline-block w-3" });
5393
5395
  }
@@ -5482,19 +5484,19 @@ const Gl = (e, t) => {
5482
5484
  )
5483
5485
  ] })
5484
5486
  ] });
5485
- }, ec = {
5487
+ }, tc = {
5486
5488
  form: Hr,
5487
5489
  tree: $r,
5488
5490
  graph: gn
5489
5491
  };
5490
- function tc(e) {
5492
+ function nc(e) {
5491
5493
  const t = e.map((i) => i.id);
5492
5494
  return e.filter((i, o) => {
5493
5495
  const { id: s } = i;
5494
5496
  return !t.includes(s, o + 1);
5495
5497
  });
5496
5498
  }
5497
- const nc = (e) => {
5499
+ const rc = (e) => {
5498
5500
  var Ae;
5499
5501
  const { value: t, onChange: n, ooui: i, views: o } = e, { items: s = [] } = t || {}, { currentView: a, setCurrentView: l, itemIndex: d, setItemIndex: u } = ne(
5500
5502
  Ro
@@ -5523,7 +5525,7 @@ const nc = (e) => {
5523
5525
  var te, Re;
5524
5526
  n == null || n({
5525
5527
  fields: ((te = o.get("form")) == null ? void 0 : te.fields) || ((Re = o.get("tree")) == null ? void 0 : Re.fields),
5526
- items: tc(Y)
5528
+ items: nc(Y)
5527
5529
  });
5528
5530
  }, Te = async () => {
5529
5531
  await Ee(), d > re.length - 1 && d !== 0 && u(0);
@@ -5608,7 +5610,7 @@ const nc = (e) => {
5608
5610
  }) : Y();
5609
5611
  }, _e = () => {
5610
5612
  if (le) {
5611
- Xl({
5613
+ Ql({
5612
5614
  t: g,
5613
5615
  onOk: () => {
5614
5616
  a === "form" ? j() : ge();
@@ -5616,7 +5618,7 @@ const nc = (e) => {
5616
5618
  });
5617
5619
  return;
5618
5620
  }
5619
- zl({
5621
+ Jl({
5620
5622
  t: g,
5621
5623
  onOk: () => {
5622
5624
  a === "form" ? j() : ge();
@@ -5679,7 +5681,7 @@ const nc = (e) => {
5679
5681
  treeValues: { ...Re, id: Y }
5680
5682
  } : Ie);
5681
5683
  else {
5682
- const Ie = js(s);
5684
+ const Ie = Ws(s);
5683
5685
  Se = s.concat({
5684
5686
  id: Ie,
5685
5687
  operation: "pendingCreate",
@@ -5724,7 +5726,7 @@ const nc = (e) => {
5724
5726
  }
5725
5727
  };
5726
5728
  function ye() {
5727
- const Y = ec[a];
5729
+ const Y = tc[a];
5728
5730
  if (a === "graph")
5729
5731
  return Bn(o.get("graph").arch).string;
5730
5732
  {
@@ -5805,7 +5807,7 @@ const nc = (e) => {
5805
5807
  const je = G;
5806
5808
  return x ? /* @__PURE__ */ r($e, {}) : /* @__PURE__ */ k(Q, { children: [
5807
5809
  /* @__PURE__ */ r(
5808
- Zl,
5810
+ ec,
5809
5811
  {
5810
5812
  mode: a,
5811
5813
  title: ye(),
@@ -5861,7 +5863,7 @@ const nc = (e) => {
5861
5863
  }
5862
5864
  )
5863
5865
  ] });
5864
- }, rc = (e) => {
5866
+ }, oc = (e) => {
5865
5867
  const { ooui: t } = e, { mode: n, relation: i, views: o, required: s, context: a } = t;
5866
5868
  let l;
5867
5869
  const [d, u] = b(!0), [f, c] = b(), [m, p] = b(/* @__PURE__ */ new Map()), h = ne(Be), { getContext: y } = h || {};
@@ -5891,8 +5893,8 @@ const nc = (e) => {
5891
5893
  u(!1);
5892
5894
  }
5893
5895
  };
5894
- return n && n.length > 0 ? l = n[0] : l = "tree", d ? /* @__PURE__ */ r($e, {}) : f ? /* @__PURE__ */ r(Qe, { className: "mt-10", message: f, type: "error", banner: !0 }) : /* @__PURE__ */ r(Al, { initialView: l, children: /* @__PURE__ */ r(
5895
- Ce,
5896
+ return n && n.length > 0 ? l = n[0] : l = "tree", d ? /* @__PURE__ */ r($e, {}) : f ? /* @__PURE__ */ r(Qe, { className: "mt-10", message: f, type: "error", banner: !0 }) : /* @__PURE__ */ r(Dl, { initialView: l, children: /* @__PURE__ */ r(
5897
+ be,
5896
5898
  {
5897
5899
  required: s,
5898
5900
  type: "array",
@@ -5907,14 +5909,14 @@ const nc = (e) => {
5907
5909
  throw new Error();
5908
5910
  },
5909
5911
  ...e,
5910
- children: /* @__PURE__ */ r(nc, { ooui: t, views: m })
5912
+ children: /* @__PURE__ */ r(rc, { ooui: t, views: m })
5911
5913
  }
5912
5914
  ) });
5913
- }, { useToken: oc } = He, ic = (e) => {
5915
+ }, { useToken: ic } = He, sc = (e) => {
5914
5916
  const { ooui: t } = e, { required: n } = t;
5915
- return /* @__PURE__ */ r(Ce, { required: n, type: "number", ...e, children: /* @__PURE__ */ r(sc, { ooui: t }) });
5916
- }, sc = (e) => {
5917
- const { ooui: t, value: n, onChange: i } = e, { id: o, readOnly: s, required: a } = t, { token: l } = oc(), d = a && !s ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ae(), [f, c] = b(), m = ne(Be), { elementHasLostFocus: p } = m || {};
5917
+ return /* @__PURE__ */ r(be, { required: n, type: "number", ...e, children: /* @__PURE__ */ r(ac, { ooui: t }) });
5918
+ }, ac = (e) => {
5919
+ const { ooui: t, value: n, onChange: i } = e, { id: o, readOnly: s, required: a } = t, { token: l } = ic(), d = a && !s ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ae(), [f, c] = b(), m = ne(Be), { elementHasLostFocus: p } = m || {};
5918
5920
  pe(() => {
5919
5921
  c(yo(n));
5920
5922
  }, [n]);
@@ -5925,7 +5927,7 @@ const nc = (e) => {
5925
5927
  u.current = w.target.value, c(w.target.value);
5926
5928
  }
5927
5929
  async function g() {
5928
- h(tl(f)), await new Promise((w) => setTimeout(w, 300)), p == null || p();
5930
+ h(nl(f)), await new Promise((w) => setTimeout(w, 300)), p == null || p();
5929
5931
  }
5930
5932
  return /* @__PURE__ */ r(
5931
5933
  it,
@@ -5957,8 +5959,8 @@ function _o(e) {
5957
5959
  }
5958
5960
  ) });
5959
5961
  }
5960
- const { TabPane: ac } = Lr;
5961
- function lc(e) {
5962
+ const { TabPane: lc } = Lr;
5963
+ function cc(e) {
5962
5964
  const { ooui: t, responsiveBehaviour: n } = e, i = t.pages;
5963
5965
  function o(s) {
5964
5966
  if (s) {
@@ -5967,7 +5969,7 @@ function lc(e) {
5967
5969
  }
5968
5970
  }
5969
5971
  return /* @__PURE__ */ r(Lr, { defaultActiveKey: "1", tabPosition: t.tabPosition, children: i.filter((s) => !s.invisible).map((s) => /* @__PURE__ */ r(
5970
- ac,
5972
+ lc,
5971
5973
  {
5972
5974
  tab: /* @__PURE__ */ k(Q, { children: [
5973
5975
  o(s.icon),
@@ -5986,10 +5988,10 @@ function lc(e) {
5986
5988
  s.label
5987
5989
  )) });
5988
5990
  }
5989
- const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
5990
- const { ooui: t } = e, { id: n, readOnly: i, required: o, height: s, translatable: a } = t, { token: l } = cc(), d = o && !i ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ne(Be), { elementHasLostFocus: f } = u || {};
5991
- return /* @__PURE__ */ r(Ce, { required: o, ...e, children: a ? /* @__PURE__ */ r(
5992
- uc,
5991
+ const { useToken: dc } = He, { TextArea: kn } = it, uc = (e) => {
5992
+ const { ooui: t } = e, { id: n, readOnly: i, required: o, height: s, translatable: a } = t, { token: l } = dc(), d = o && !i ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ne(Be), { elementHasLostFocus: f } = u || {};
5993
+ return /* @__PURE__ */ r(be, { required: o, ...e, children: a ? /* @__PURE__ */ r(
5994
+ fc,
5993
5995
  {
5994
5996
  field: n,
5995
5997
  height: s,
@@ -6007,7 +6009,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6007
6009
  onBlur: f
6008
6010
  }
6009
6011
  ) });
6010
- }, uc = ({
6012
+ }, fc = ({
6011
6013
  value: e,
6012
6014
  field: t,
6013
6015
  requiredStyle: n,
@@ -6097,13 +6099,13 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6097
6099
  }
6098
6100
  ) })
6099
6101
  ] });
6100
- }, fc = (e) => {
6102
+ }, mc = (e) => {
6101
6103
  const { ooui: t } = e, { label: n, icon: i } = t, o = dt(i || "");
6102
6104
  return /* @__PURE__ */ r(cn, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ k(Ue, { children: [
6103
6105
  o ? /* @__PURE__ */ r(o, {}) : null,
6104
6106
  n
6105
6107
  ] }) });
6106
- }, mc = ({
6108
+ }, hc = ({
6107
6109
  model: e,
6108
6110
  context: t,
6109
6111
  selectedRegistersToExport: n,
@@ -6123,7 +6125,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6123
6125
  ]);
6124
6126
  const { datas: C } = await E.getHandler().exportData({
6125
6127
  model: e,
6126
- fields: vc({
6128
+ fields: bc({
6127
6129
  keys: g.selectedKeys,
6128
6130
  fields: a.current
6129
6131
  }),
@@ -6152,7 +6154,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6152
6154
  fields: []
6153
6155
  });
6154
6156
  for (const [R, V] of Object.entries(S))
6155
- S[R].string = pc({
6157
+ S[R].string = gc({
6156
6158
  parentTitle: C.string,
6157
6159
  title: V.string
6158
6160
  });
@@ -6163,7 +6165,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6163
6165
  },
6164
6166
  [t]
6165
6167
  ), m = fe(async () => {
6166
- const g = await gc({ model: e, context: t }), w = await wc({
6168
+ const g = await yc({ model: e, context: t }), w = await vc({
6167
6169
  predefinedExports: g,
6168
6170
  fields: a.current,
6169
6171
  onGetFieldChilds: c
@@ -6248,7 +6250,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6248
6250
  continue;
6249
6251
  const s = Io(o);
6250
6252
  n.push({
6251
- key: hc({ key: i, parentKey: t }),
6253
+ key: pc({ key: i, parentKey: t }),
6252
6254
  title: o.string,
6253
6255
  tooltip: o.help,
6254
6256
  required: o.required,
@@ -6256,7 +6258,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6256
6258
  });
6257
6259
  }
6258
6260
  return n;
6259
- }, Io = (e) => e.type === "many2one" || e.type === "one2many" || e.type === "many2many", hc = ({
6261
+ }, Io = (e) => e.type === "many2one" || e.type === "one2many" || e.type === "many2many", pc = ({
6260
6262
  parentKey: e,
6261
6263
  key: t
6262
6264
  }) => `${e ? e + "/" : ""}${t}`, En = (e) => e.indexOf("/") === -1 ? e : e.split("/").slice(0, -1).join("/"), Mn = (e) => {
@@ -6264,10 +6266,10 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6264
6266
  return e;
6265
6267
  const t = e.split("/");
6266
6268
  return t[t.length - 1];
6267
- }, Nn = (e, t) => e.indexOf("/") === -1 ? t["/"] : t[En(e)], pc = ({
6269
+ }, Nn = (e, t) => e.indexOf("/") === -1 ? t["/"] : t[En(e)], gc = ({
6268
6270
  title: e,
6269
6271
  parentTitle: t
6270
- }) => `${t ? t + " → " : ""}${e}`, gc = async ({
6272
+ }) => `${t ? t + " → " : ""}${e}`, yc = async ({
6271
6273
  model: e,
6272
6274
  context: t
6273
6275
  }) => {
@@ -6287,24 +6289,24 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6287
6289
  key: o.find((d) => d.id === a).name
6288
6290
  }))
6289
6291
  }));
6290
- }, yc = ({
6292
+ }, wc = ({
6291
6293
  fields: e,
6292
6294
  keys: t
6293
- }) => bc([
6295
+ }) => Cc([
6294
6296
  ...new Set(
6295
6297
  t.filter((n) => {
6296
6298
  var i, o;
6297
6299
  return n.indexOf("/") === -1 ? !((i = e["/"]) != null && i[n]) : !((o = e == null ? void 0 : e[En(n)]) != null && o[n]);
6298
6300
  }).map((n) => En(n))
6299
6301
  )
6300
- ]), wc = async ({
6302
+ ]), vc = async ({
6301
6303
  predefinedExports: e,
6302
6304
  fields: t,
6303
6305
  onGetFieldChilds: n
6304
6306
  }) => {
6305
6307
  const i = e.flatMap(
6306
6308
  (a) => a.fields.map((l) => l.key)
6307
- ), o = yc({
6309
+ ), o = wc({
6308
6310
  fields: t,
6309
6311
  keys: i
6310
6312
  }), s = [];
@@ -6318,13 +6320,13 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6318
6320
  );
6319
6321
  }
6320
6322
  return s;
6321
- }, vc = ({
6323
+ }, bc = ({
6322
6324
  keys: e,
6323
6325
  fields: t
6324
6326
  }) => e.map((n) => {
6325
6327
  const i = Mn(n), s = Nn(n, t)[i];
6326
6328
  return Io(s) ? `${n}/id` : n;
6327
- }), bc = (e) => {
6329
+ }), Cc = (e) => {
6328
6330
  const t = /* @__PURE__ */ new Map(), n = [];
6329
6331
  for (const i of e) {
6330
6332
  const o = i.split("/");
@@ -6338,7 +6340,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6338
6340
  const s = i.split("/").length, a = o.split("/").length;
6339
6341
  return s - a;
6340
6342
  }), n;
6341
- }, Cc = (e) => {
6343
+ }, xc = (e) => {
6342
6344
  const {
6343
6345
  visible: t,
6344
6346
  onClose: n,
@@ -6356,7 +6358,7 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6356
6358
  onGetPredefinedExports: p,
6357
6359
  onSavePredefinedExport: h,
6358
6360
  onRemovePredefinedExport: y
6359
- } = mc({
6361
+ } = hc({
6360
6362
  model: i,
6361
6363
  context: o,
6362
6364
  domain: l,
@@ -6380,16 +6382,16 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6380
6382
  onRemovePredefinedExport: y
6381
6383
  }
6382
6384
  );
6383
- }, xc = (e) => {
6385
+ }, Sc = (e) => {
6384
6386
  const { ooui: t } = e;
6385
6387
  return /* @__PURE__ */ r(vo, { ooui: t });
6386
- }, Sc = (e) => {
6388
+ }, Tc = (e) => {
6387
6389
  const { ooui: t } = e;
6388
6390
  return /* @__PURE__ */ r(vo, { ooui: t, showTime: !0 });
6389
- }, Tc = (e) => {
6391
+ }, Fc = (e) => {
6390
6392
  const { ooui: t } = e;
6391
- return /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(Fc, { ooui: t }) });
6392
- }, Fc = (e) => /* @__PURE__ */ r(
6393
+ return /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(Rc, { ooui: t }) });
6394
+ }, Rc = (e) => /* @__PURE__ */ r(
6393
6395
  Dn,
6394
6396
  {
6395
6397
  onChange: (n, i) => {
@@ -6398,10 +6400,10 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6398
6400
  numberOfSelectsToHide: 3,
6399
6401
  value: e.value ? Ze(e.value, "HH:mm:ss") : void 0
6400
6402
  }
6401
- ), Rc = (e) => {
6403
+ ), Oc = (e) => {
6402
6404
  const { ooui: t } = e, { required: n } = t;
6403
- return /* @__PURE__ */ r(Ce, { required: n, ...e, children: /* @__PURE__ */ r(Oc, { ooui: t }) });
6404
- }, Oc = (e) => {
6405
+ return /* @__PURE__ */ r(be, { required: n, ...e, children: /* @__PURE__ */ r(_c, { ooui: t }) });
6406
+ }, _c = (e) => {
6405
6407
  const { value: t, onChange: n, ooui: i } = e, { required: o, selectionValues: s, readOnly: a } = i, l = t == null ? void 0 : t.split(","), [d, u] = b([]), [f, c] = b();
6406
6408
  return pe(() => {
6407
6409
  if (!t) {
@@ -6448,11 +6450,11 @@ const { useToken: cc } = He, { TextArea: kn } = it, dc = (e) => {
6448
6450
  }
6449
6451
  ) })
6450
6452
  ] });
6451
- }, { useToken: _c } = He, Ic = (e) => {
6453
+ }, { useToken: Ic } = He, Vc = (e) => {
6452
6454
  const { ooui: t } = e, { required: n } = t;
6453
- return /* @__PURE__ */ r(Ce, { required: n, ...e, children: /* @__PURE__ */ r(Vc, { ooui: t }) });
6454
- }, Vc = (e) => {
6455
- const { ooui: t, value: n, onChange: i } = e, { readOnly: o, required: s, filenameField: a } = t, { token: l } = _c(), d = s && !o ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ae(null), { setFieldValue: f, getFieldValue: c } = ne(Be) || {}, { t: m } = we(), p = n ? Ms(n) : "", h = (x) => {
6455
+ return /* @__PURE__ */ r(be, { required: n, ...e, children: /* @__PURE__ */ r(Ac, { ooui: t }) });
6456
+ }, Ac = (e) => {
6457
+ const { ooui: t, value: n, onChange: i } = e, { readOnly: o, required: s, filenameField: a } = t, { token: l } = Ic(), d = s && !o ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ae(null), { setFieldValue: f, getFieldValue: c } = ne(Be) || {}, { t: m } = we(), p = n ? Ns(n) : "", h = (x) => {
6456
6458
  i == null || i(x);
6457
6459
  };
6458
6460
  async function y() {
@@ -6666,12 +6668,12 @@ function Vo(e) {
6666
6668
  }
6667
6669
  );
6668
6670
  }
6669
- const { confirm: Ac } = Je, Dc = ({
6671
+ const { confirm: Dc } = Je, kc = ({
6670
6672
  onOk: e,
6671
6673
  onCancel: t,
6672
6674
  t: n
6673
6675
  }) => {
6674
- Ac({
6676
+ Dc({
6675
6677
  title: n("unsavedChanges"),
6676
6678
  icon: /* @__PURE__ */ r(vt, {}),
6677
6679
  centered: !0,
@@ -6705,7 +6707,7 @@ async function Ao(e, t, n) {
6705
6707
  ] })
6706
6708
  );
6707
6709
  }
6708
- const kc = (e) => {
6710
+ const Ec = (e) => {
6709
6711
  const {
6710
6712
  numberOfAttachments: t,
6711
6713
  attachments: n = [],
@@ -6803,7 +6805,7 @@ const kc = (e) => {
6803
6805
  }
6804
6806
  );
6805
6807
  };
6806
- function Ec(e) {
6808
+ function Mc(e) {
6807
6809
  const {
6808
6810
  attachments: t,
6809
6811
  disabled: n = !1,
@@ -6868,7 +6870,7 @@ function Ec(e) {
6868
6870
  h();
6869
6871
  }, [h]), /* @__PURE__ */ k(Q, { children: [
6870
6872
  /* @__PURE__ */ r(
6871
- kc,
6873
+ Ec,
6872
6874
  {
6873
6875
  numberOfAttachments: t.length,
6874
6876
  attachments: u,
@@ -6894,7 +6896,7 @@ function Ec(e) {
6894
6896
  )
6895
6897
  ] });
6896
6898
  }
6897
- function Mc({ toolbar: e }) {
6899
+ function Nc({ toolbar: e }) {
6898
6900
  const {
6899
6901
  availableViews: t,
6900
6902
  currentView: n,
@@ -6927,7 +6929,7 @@ function Mc({ toolbar: e }) {
6927
6929
  ), { openRelate: A, openDefaultActionForModel: L } = O || {};
6928
6930
  function G(I) {
6929
6931
  if (s) {
6930
- Dc({
6932
+ kc({
6931
6933
  t: T,
6932
6934
  onOk: () => {
6933
6935
  I();
@@ -7183,7 +7185,7 @@ function Mc({ toolbar: e }) {
7183
7185
  }
7184
7186
  ),
7185
7187
  /* @__PURE__ */ r(
7186
- Ec,
7188
+ Mc,
7187
7189
  {
7188
7190
  disabled: U,
7189
7191
  attachments: x,
@@ -7249,8 +7251,8 @@ function Dr(e, t) {
7249
7251
  }
7250
7252
  };
7251
7253
  }
7252
- const { useToken: Nc } = He, Do = (e) => {
7253
- const { ooui: t, value: n, onChange: i, valueValidator: o, linkPrefix: s = "" } = e, { id: a, readOnly: l, required: d } = t, { token: u } = Nc(), f = d && !l ? { backgroundColor: u.colorPrimaryBg } : void 0, c = ne(Be), { elementHasLostFocus: m } = c || {}, [p, h] = b(!1), [y, g] = b(!1);
7254
+ const { useToken: Pc } = He, Do = (e) => {
7255
+ const { ooui: t, value: n, onChange: i, valueValidator: o, linkPrefix: s = "" } = e, { id: a, readOnly: l, required: d } = t, { token: u } = Pc(), f = d && !l ? { backgroundColor: u.colorPrimaryBg } : void 0, c = ne(Be), { elementHasLostFocus: m } = c || {}, [p, h] = b(!1), [y, g] = b(!1);
7254
7256
  pe(() => {
7255
7257
  l && !p && g(!1), !n && !l && (h(!0), g(!0));
7256
7258
  }, [p, l]);
@@ -7305,26 +7307,26 @@ const { useToken: Nc } = He, Do = (e) => {
7305
7307
  }
7306
7308
  ) })
7307
7309
  ] });
7308
- }, Pc = (e) => {
7310
+ }, Lc = (e) => {
7309
7311
  const { ooui: t } = e, { required: n } = t;
7310
- return /* @__PURE__ */ r(Ce, { required: n, ...e, children: /* @__PURE__ */ r(
7312
+ return /* @__PURE__ */ r(be, { required: n, ...e, children: /* @__PURE__ */ r(
7311
7313
  Do,
7312
7314
  {
7313
7315
  ooui: t,
7314
- valueValidator: (i) => i ? ts(i) : !1
7316
+ valueValidator: (i) => i ? ns(i) : !1
7315
7317
  }
7316
7318
  ) });
7317
- }, Lc = (e) => {
7319
+ }, $c = (e) => {
7318
7320
  const { ooui: t } = e, { required: n } = t;
7319
- return /* @__PURE__ */ r(Ce, { required: n, ...e, children: /* @__PURE__ */ r(
7321
+ return /* @__PURE__ */ r(be, { required: n, ...e, children: /* @__PURE__ */ r(
7320
7322
  Do,
7321
7323
  {
7322
7324
  ooui: t,
7323
7325
  linkPrefix: "mailto:",
7324
- valueValidator: (i) => i ? ns(i) : !1
7326
+ valueValidator: (i) => i ? rs(i) : !1
7325
7327
  }
7326
7328
  ) });
7327
- }, $c = (e) => {
7329
+ }, Bc = (e) => {
7328
7330
  const { visible: t, onIdSubmitted: n, onCancel: i, isSearching: o } = e, { t: s } = we(), a = ae();
7329
7331
  function l(d) {
7330
7332
  const u = d.id.split(",").map((f) => parseInt(f.trim()));
@@ -7386,9 +7388,9 @@ const { useToken: Nc } = He, Do = (e) => {
7386
7388
  ] })
7387
7389
  }
7388
7390
  );
7389
- }, { useToken: Bc } = He;
7391
+ }, { useToken: Hc } = He;
7390
7392
  function ko(e) {
7391
- const { badgeNumber: t = 0, ...n } = e, { token: i } = Bc();
7393
+ const { badgeNumber: t = 0, ...n } = e, { token: i } = Hc();
7392
7394
  return /* @__PURE__ */ k("div", { style: { position: "relative" }, children: [
7393
7395
  t > 0 && /* @__PURE__ */ r("div", { style: { position: "absolute", left: -10, top: -10, zIndex: 2 }, children: /* @__PURE__ */ r(
7394
7396
  "span",
@@ -7415,7 +7417,7 @@ function ko(e) {
7415
7417
  )
7416
7418
  ] });
7417
7419
  }
7418
- function Hc({ refreshGraph: e }) {
7420
+ function Kc({ refreshGraph: e }) {
7419
7421
  const { t } = we(), {
7420
7422
  availableViews: n,
7421
7423
  currentView: i,
@@ -7472,7 +7474,7 @@ function Hc({ refreshGraph: e }) {
7472
7474
  )
7473
7475
  ] });
7474
7476
  }
7475
- const { useToken: Kc } = He, { Title: jc, Text: tn } = Wt;
7477
+ const { useToken: jc } = He, { Title: Wc, Text: tn } = Wt;
7476
7478
  function yn(e) {
7477
7479
  const { title: t, children: n } = e, {
7478
7480
  title: i,
@@ -7482,7 +7484,7 @@ function yn(e) {
7482
7484
  results: l,
7483
7485
  totalItems: d,
7484
7486
  selectedRowItems: u
7485
- } = ne(rt), { t: f } = we(), { token: c } = Kc();
7487
+ } = ne(rt), { t: f } = we(), { token: c } = jc();
7486
7488
  function m() {
7487
7489
  if ((o == null ? void 0 : o.type) === "form")
7488
7490
  return s ? d === 0 ? /* @__PURE__ */ k(Q, { children: [
@@ -7564,7 +7566,7 @@ function yn(e) {
7564
7566
  align: "middle",
7565
7567
  children: [
7566
7568
  /* @__PURE__ */ k(ue, { flex: 2, children: [
7567
- /* @__PURE__ */ r(jc, { level: 3, style: { marginBottom: 0 }, children: t || i }),
7569
+ /* @__PURE__ */ r(Wc, { level: 3, style: { marginBottom: 0 }, children: t || i }),
7568
7570
  m()
7569
7571
  ] }),
7570
7572
  /* @__PURE__ */ r(ue, { flex: 3, children: /* @__PURE__ */ r(Oe, { justify: "end", children: n }) })
@@ -7576,7 +7578,7 @@ function yn(e) {
7576
7578
  }
7577
7579
  );
7578
7580
  }
7579
- const Wc = (e) => {
7581
+ const Uc = (e) => {
7580
7582
  const { viewData: t, visible: n, model: i, context: o, domain: s, formView: a, treeView: l } = e, d = ae(), u = ne(
7581
7583
  rt
7582
7584
  ), {
@@ -7631,7 +7633,7 @@ const Wc = (e) => {
7631
7633
  });
7632
7634
  return !n || !t ? null : /* @__PURE__ */ k(Q, { children: [
7633
7635
  /* @__PURE__ */ r(yn, { title: t.title || t.name, children: /* @__PURE__ */ r(
7634
- Hc,
7636
+ Kc,
7635
7637
  {
7636
7638
  refreshGraph: () => {
7637
7639
  d.current.refresh();
@@ -7672,7 +7674,7 @@ const Wc = (e) => {
7672
7674
  }
7673
7675
  )
7674
7676
  ] });
7675
- }, Uc = (e) => {
7677
+ }, Yc = (e) => {
7676
7678
  const {
7677
7679
  visible: t,
7678
7680
  formRef: n,
@@ -7688,7 +7690,7 @@ const Wc = (e) => {
7688
7690
  setCurrentItemIndex: m
7689
7691
  } = e;
7690
7692
  return t ? /* @__PURE__ */ k(Q, { children: [
7691
- /* @__PURE__ */ r(yn, { children: /* @__PURE__ */ r(Mc, { toolbar: a == null ? void 0 : a.toolbar }) }),
7693
+ /* @__PURE__ */ r(yn, { children: /* @__PURE__ */ r(Nc, { toolbar: a == null ? void 0 : a.toolbar }) }),
7692
7694
  /* @__PURE__ */ r(
7693
7695
  zt,
7694
7696
  {
@@ -7708,7 +7710,7 @@ const Wc = (e) => {
7708
7710
  )
7709
7711
  ] }) : null;
7710
7712
  };
7711
- function Yc(e) {
7713
+ function Gc(e) {
7712
7714
  const { onSearch: t, disabled: n = !1, searchText: i } = e, { t: o } = we(), [s] = ct.useForm(), [a, l] = b(!1);
7713
7715
  function d(f) {
7714
7716
  t(f.search);
@@ -7749,7 +7751,7 @@ function Yc(e) {
7749
7751
  ) })
7750
7752
  ] }) });
7751
7753
  }
7752
- const Gc = {
7754
+ const qc = {
7753
7755
  true: "Sí",
7754
7756
  false: "No",
7755
7757
  simple_search: "Búsqueda simple",
@@ -7840,7 +7842,7 @@ const Gc = {
7840
7842
  recordsSelected: "Hi ha {numberOfSelectedRows} registres seleccionats en aquesta pàgina.",
7841
7843
  selectAllRecords: "Seleccionar tots els {totalRecords} registres.",
7842
7844
  allRecordsSelected: "Hi ha {totalRecords} registres seleccionats."
7843
- }, qc = {
7845
+ }, zc = {
7844
7846
  true: "Yes",
7845
7847
  false: "No",
7846
7848
  simple_search: "Simple search",
@@ -7931,7 +7933,7 @@ const Gc = {
7931
7933
  recordsSelected: "Hi ha {numberOfSelectedRows} registres seleccionats en aquesta pàgina.",
7932
7934
  selectAllRecords: "Seleccionar tots els {totalRecords} registres.",
7933
7935
  allRecordsSelected: "Hi ha {totalRecords} registres seleccionats."
7934
- }, zc = {
7936
+ }, Jc = {
7935
7937
  true: "Sí",
7936
7938
  false: "No",
7937
7939
  simple_search: "Búsqueda simple",
@@ -8022,26 +8024,26 @@ const Gc = {
8022
8024
  recordsSelected: "Hay {numberOfSelectedRows} registros seleccionados en ésta página.",
8023
8025
  selectAllRecords: "Seleccionar todos los {totalRecords} registros.",
8024
8026
  allRecordsSelected: "Hay {totalRecords} registros seleccionados."
8025
- }, Jc = {
8026
- ca_ES: Gc,
8027
- en_US: qc,
8028
- es_ES: zc
8029
8027
  }, Xc = {
8028
+ ca_ES: qc,
8029
+ en_US: zc,
8030
+ es_ES: Jc
8031
+ }, Qc = {
8030
8032
  erpFeatures: {},
8031
8033
  globalValues: {},
8032
8034
  rootContext: {},
8033
8035
  devMode: !1
8034
- }, Eo = nt.createContext(Xc), Mo = () => {
8036
+ }, Eo = nt.createContext(Qc), Mo = () => {
8035
8037
  const e = ne(Eo);
8036
8038
  if (!e)
8037
8039
  throw new Error(
8038
8040
  "useConfigContext must be used within a ConfigContextProvider"
8039
8041
  );
8040
8042
  return e;
8041
- }, Qc = (e) => {
8043
+ }, Zc = (e) => {
8042
8044
  const { erpFeatures: t } = Mo();
8043
8045
  return !!t[e];
8044
- }, Zc = Er(
8046
+ }, ed = Er(
8045
8047
  ({
8046
8048
  erpFeatures: e,
8047
8049
  locale: t,
@@ -8064,16 +8066,16 @@ const Gc = {
8064
8066
  ki,
8065
8067
  {
8066
8068
  locale: t,
8067
- localizedStrings: Ei(Jc, n),
8069
+ localizedStrings: Ei(Xc, n),
8068
8070
  children: a
8069
8071
  }
8070
8072
  ) });
8071
8073
  }
8072
8074
  );
8073
- Zc.displayName = "ConfigContextProvider";
8075
+ ed.displayName = "ConfigContextProvider";
8074
8076
  var rr = /* @__PURE__ */ ((e) => (e.FEATURE_VIEW_JSON_ATTRS = "view_json_attrs", e.FEATURE_ADVANCED_EXPORT = "export_data2", e.FEATURE_OMNISEARCH = "omnisearch", e))(rr || {});
8075
- const Au = Object.values(rr);
8076
- function ed(e) {
8077
+ const ku = Object.values(rr);
8078
+ function td(e) {
8077
8079
  var U;
8078
8080
  const {
8079
8081
  availableViews: t,
@@ -8099,7 +8101,7 @@ function ed(e) {
8099
8101
  results: R,
8100
8102
  limit: V,
8101
8103
  totalItems: D
8102
- } = ne(rt), { parentContext: F = {}, treeExpandable: T, toolbar: _ } = e, v = Qc(
8104
+ } = ne(rt), { parentContext: F = {}, treeExpandable: T, toolbar: _ } = e, v = Zc(
8103
8105
  rr.FEATURE_ADVANCED_EXPORT
8104
8106
  ), { t: O } = we(), A = ne(
8105
8107
  Pt
@@ -8170,9 +8172,9 @@ function ed(e) {
8170
8172
  ] }),
8171
8173
  T ? null : /* @__PURE__ */ k(Q, { children: [
8172
8174
  /* @__PURE__ */ r(
8173
- Yc,
8175
+ Gc,
8174
8176
  {
8175
- disabled: l || a,
8177
+ disabled: l || a || C,
8176
8178
  searchText: w,
8177
8179
  onSearch: ($) => {
8178
8180
  $ && $.trim().length > 0 ? g == null || g($) : g == null || g(void 0);
@@ -8193,12 +8195,12 @@ function ed(e) {
8193
8195
  onClick: () => {
8194
8196
  y == null || y(!h);
8195
8197
  },
8196
- disabled: l || a,
8198
+ disabled: l || a || C,
8197
8199
  badgeNumber: p == null ? void 0 : p.length
8198
8200
  }
8199
8201
  ),
8200
8202
  Ct(),
8201
- /* @__PURE__ */ r(Vo, {}),
8203
+ /* @__PURE__ */ r(Vo, { disabled: C }),
8202
8204
  /* @__PURE__ */ r(
8203
8205
  qe,
8204
8206
  {
@@ -8256,7 +8258,8 @@ function ed(e) {
8256
8258
  onChangeView: ($) => {
8257
8259
  x == null || x(n), i == null || i($);
8258
8260
  },
8259
- previousView: S
8261
+ previousView: S,
8262
+ disabled: C
8260
8263
  }
8261
8264
  )
8262
8265
  ] }),
@@ -8363,7 +8366,7 @@ function ed(e) {
8363
8366
  }
8364
8367
  ),
8365
8368
  /* @__PURE__ */ r(
8366
- Cc,
8369
+ xc,
8367
8370
  {
8368
8371
  visible: G,
8369
8372
  onClose: () => B(!1),
@@ -8385,7 +8388,7 @@ function ed(e) {
8385
8388
  function Ct() {
8386
8389
  return /* @__PURE__ */ r("div", { className: "inline-block w-2" });
8387
8390
  }
8388
- const td = (e) => {
8391
+ const nd = (e) => {
8389
8392
  const {
8390
8393
  visible: t,
8391
8394
  searchTreeRef: n,
@@ -8405,7 +8408,7 @@ const td = (e) => {
8405
8408
  );
8406
8409
  return t ? /* @__PURE__ */ k(Q, { children: [
8407
8410
  /* @__PURE__ */ r(yn, { children: /* @__PURE__ */ r(
8408
- ed,
8411
+ td,
8409
8412
  {
8410
8413
  toolbar: a == null ? void 0 : a.toolbar,
8411
8414
  parentContext: o,
@@ -8436,7 +8439,7 @@ const td = (e) => {
8436
8439
  }
8437
8440
  )
8438
8441
  ] }) : null;
8439
- }, or = nt.createContext(null), nd = (e) => {
8442
+ }, or = nt.createContext(null), rd = (e) => {
8440
8443
  const [t, n] = b(!1), [i, o] = b(!1), { children: s, dashboardRef: a, openAction: l } = e;
8441
8444
  return /* @__PURE__ */ r(
8442
8445
  or.Provider,
@@ -8453,7 +8456,7 @@ const td = (e) => {
8453
8456
  }
8454
8457
  );
8455
8458
  };
8456
- function rd() {
8459
+ function od() {
8457
8460
  const { isLoading: e, dashboardRef: t, moveItemsEnabled: n, setMoveItemsEnabled: i } = ne(or), { t: o } = we();
8458
8461
  return /* @__PURE__ */ k(Ue, { wrap: !0, children: [
8459
8462
  /* @__PURE__ */ r(
@@ -8474,7 +8477,7 @@ function rd() {
8474
8477
  }
8475
8478
  }
8476
8479
  ),
8477
- od(),
8480
+ id(),
8478
8481
  /* @__PURE__ */ r(
8479
8482
  qe,
8480
8483
  {
@@ -8501,24 +8504,24 @@ function rd() {
8501
8504
  )
8502
8505
  ] });
8503
8506
  }
8504
- function od() {
8507
+ function id() {
8505
8508
  return /* @__PURE__ */ r("div", { className: "inline-block w-2" });
8506
8509
  }
8507
- const id = (e) => {
8510
+ const sd = (e) => {
8508
8511
  const { dashboardData: t, visible: n } = e, i = ae(), o = ne(
8509
8512
  ut
8510
8513
  ), { openShortcut: s } = o || {};
8511
8514
  return !t || !n ? null : /* @__PURE__ */ k(
8512
- nd,
8515
+ rd,
8513
8516
  {
8514
8517
  dashboardRef: i,
8515
8518
  openAction: (a) => {
8516
8519
  s(a);
8517
8520
  },
8518
8521
  children: [
8519
- /* @__PURE__ */ r(yn, { children: /* @__PURE__ */ r(rd, {}) }),
8522
+ /* @__PURE__ */ r(yn, { children: /* @__PURE__ */ r(od, {}) }),
8520
8523
  /* @__PURE__ */ r(
8521
- yd,
8524
+ wd,
8522
8525
  {
8523
8526
  ref: i,
8524
8527
  model: t.model,
@@ -8531,7 +8534,7 @@ const id = (e) => {
8531
8534
  }
8532
8535
  );
8533
8536
  };
8534
- async function sd(e) {
8537
+ async function ad(e) {
8535
8538
  const t = await Promise.all(
8536
8539
  e.map(async (i) => {
8537
8540
  try {
@@ -8546,7 +8549,7 @@ async function sd(e) {
8546
8549
  info: t[o]
8547
8550
  })).filter((i) => i.info !== null);
8548
8551
  }
8549
- function ad(e, t) {
8552
+ function ld(e, t) {
8550
8553
  const {
8551
8554
  domain: n,
8552
8555
  model: i,
@@ -8575,7 +8578,7 @@ function ad(e, t) {
8575
8578
  openAction: Ee,
8576
8579
  onRemoveTab: Me
8577
8580
  } = re || {};
8578
- rs(
8581
+ os(
8579
8582
  "ctrl+g,command+g",
8580
8583
  (j) => {
8581
8584
  j.preventDefault(), se();
@@ -8610,7 +8613,7 @@ function ad(e, t) {
8610
8613
  viewTuple: he
8611
8614
  });
8612
8615
  }
8613
- const Ve = await sd(ge);
8616
+ const Ve = await ad(ge);
8614
8617
  for (const he of Ve) {
8615
8618
  if (!he)
8616
8619
  continue;
@@ -8734,7 +8737,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8734
8737
  switch (j.type) {
8735
8738
  case "form":
8736
8739
  return /* @__PURE__ */ r(
8737
- Uc,
8740
+ Yc,
8738
8741
  {
8739
8742
  formRef: le,
8740
8743
  currentId: F,
@@ -8753,7 +8756,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8753
8756
  );
8754
8757
  case "tree":
8755
8758
  return /* @__PURE__ */ r(
8756
- td,
8759
+ nd,
8757
8760
  {
8758
8761
  visible: w.type === j.type && w.view_id === j.view_id,
8759
8762
  limit: g,
@@ -8774,7 +8777,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8774
8777
  );
8775
8778
  case "graph":
8776
8779
  return /* @__PURE__ */ r(
8777
- Wc,
8780
+ Uc,
8778
8781
  {
8779
8782
  visible: w.type === j.type && w.view_id === j.view_id,
8780
8783
  viewData: j,
@@ -8788,7 +8791,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8788
8791
  );
8789
8792
  case "dashboard":
8790
8793
  return /* @__PURE__ */ r(
8791
- id,
8794
+ sd,
8792
8795
  {
8793
8796
  dashboardData: j,
8794
8797
  visible: w.type === j.type && w.view_id === j.view_id
@@ -8810,7 +8813,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8810
8813
  }
8811
8814
  }
8812
8815
  return R ? /* @__PURE__ */ r($e, {}) : w ? /* @__PURE__ */ k(
8813
- va,
8816
+ ba,
8814
8817
  {
8815
8818
  title: a,
8816
8819
  currentView: w,
@@ -8839,7 +8842,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8839
8842
  children: [
8840
8843
  We(),
8841
8844
  /* @__PURE__ */ r(
8842
- $c,
8845
+ Bc,
8843
8846
  {
8844
8847
  visible: ee,
8845
8848
  onIdSubmitted: _e,
@@ -8853,8 +8856,8 @@ Please, make sure the view ids on the fields_view_get responses are the same as
8853
8856
  }
8854
8857
  ) : null;
8855
8858
  }
8856
- const No = yt(ad);
8857
- async function ld({
8859
+ const No = yt(ld);
8860
+ async function cd({
8858
8861
  actionId: e,
8859
8862
  rootContext: t = {},
8860
8863
  globalValues: n = {}
@@ -8906,7 +8909,7 @@ async function ld({
8906
8909
  treeExpandable: p
8907
8910
  };
8908
8911
  }
8909
- const cd = ls(cs), dd = (e) => {
8912
+ const dd = cs(ds), ud = (e) => {
8910
8913
  const { children: t = [], onPositionItemsChanged: n } = e, i = nt.Children.map(
8911
8914
  t,
8912
8915
  (o) => {
@@ -8915,7 +8918,7 @@ const cd = ls(cs), dd = (e) => {
8915
8918
  }
8916
8919
  );
8917
8920
  return /* @__PURE__ */ r(
8918
- cd,
8921
+ dd,
8919
8922
  {
8920
8923
  className: "layout",
8921
8924
  cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
@@ -8935,8 +8938,8 @@ const cd = ls(cs), dd = (e) => {
8935
8938
  children: i
8936
8939
  }
8937
8940
  );
8938
- }, { useToken: ud } = He, { Text: fd } = Wt, md = (e) => {
8939
- const { title: t, children: n, action: i, openAction: o } = e, { token: s } = ud();
8941
+ }, { useToken: fd } = He, { Text: md } = Wt, hd = (e) => {
8942
+ const { title: t, children: n, action: i, openAction: o } = e, { token: s } = fd();
8940
8943
  return /* @__PURE__ */ k(
8941
8944
  "div",
8942
8945
  {
@@ -8972,7 +8975,7 @@ const cd = ls(cs), dd = (e) => {
8972
8975
  cursor: "grab",
8973
8976
  overflow: "hidden"
8974
8977
  },
8975
- children: /* @__PURE__ */ r(fd, { ellipsis: !0, children: t })
8978
+ children: /* @__PURE__ */ r(md, { ellipsis: !0, children: t })
8976
8979
  }
8977
8980
  ),
8978
8981
  i && /* @__PURE__ */ r(ue, { flex: "25px", style: { padding: "0.5rem" }, children: /* @__PURE__ */ r(Oe, { justify: "end", align: "middle", children: /* @__PURE__ */ r(
@@ -8992,7 +8995,7 @@ const cd = ls(cs), dd = (e) => {
8992
8995
  }
8993
8996
  );
8994
8997
  };
8995
- function hd(e) {
8998
+ function pd(e) {
8996
8999
  const {
8997
9000
  action: t,
8998
9001
  model: n,
@@ -9104,7 +9107,7 @@ function hd(e) {
9104
9107
  ] });
9105
9108
  return N ? /* @__PURE__ */ r(Qe, { className: "mt-10", message: N, type: "error", banner: !0 }) : d ? /* @__PURE__ */ r($e, { style: { padding: "2rem" } }) : ve();
9106
9109
  }
9107
- const pd = (e) => {
9110
+ const gd = (e) => {
9108
9111
  const { model: t } = e, [n, i] = b();
9109
9112
  pe(() => {
9110
9113
  o();
@@ -9119,7 +9122,7 @@ const pd = (e) => {
9119
9122
  }
9120
9123
  return /* @__PURE__ */ r("div", { style: { padding: "0.5rem", overflowY: "scroll" }, children: /* @__PURE__ */ r(zt, { ...e, model: t, id: n, readOnly: !0 }) });
9121
9124
  }, Rn = "line_ids";
9122
- function gd(e, t) {
9125
+ function yd(e, t) {
9123
9126
  const { model: n, context: i = {}, id: o, configAction: s } = e, [a, l] = b([]), [d, u] = b(!1), [f, c] = b(), {
9124
9127
  setIsLoading: m,
9125
9128
  openAction: p,
@@ -9194,7 +9197,7 @@ function gd(e, t) {
9194
9197
  for (const A of v) {
9195
9198
  const { values: L } = A;
9196
9199
  if (L.action_id && L.action_id.length > 0) {
9197
- const G = parseInt(L.action_id[0], 10), B = await ld({
9200
+ const G = parseInt(L.action_id[0], 10), B = await cd({
9198
9201
  actionId: G,
9199
9202
  rootContext: i
9200
9203
  });
@@ -9249,7 +9252,7 @@ function gd(e, t) {
9249
9252
  async function _() {
9250
9253
  p(s);
9251
9254
  }
9252
- return d ? /* @__PURE__ */ r(st, {}) : f ? /* @__PURE__ */ r(Qe, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 }) : /* @__PURE__ */ r(dd, { onPositionItemsChanged: T, children: a.map((v, O) => {
9255
+ return d ? /* @__PURE__ */ r(st, {}) : f ? /* @__PURE__ */ r(Qe, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 }) : /* @__PURE__ */ r(ud, { onPositionItemsChanged: T, children: a.map((v, O) => {
9253
9256
  const { actionData: A, values: L } = v, { position: G, id: B } = L, {
9254
9257
  actionId: q,
9255
9258
  actionType: N,
@@ -9283,10 +9286,10 @@ function gd(e, t) {
9283
9286
  }
9284
9287
  );
9285
9288
  else if ((M == null ? void 0 : M.type) === "form")
9286
- z = /* @__PURE__ */ r(pd, { model: U, actionDomain: I });
9289
+ z = /* @__PURE__ */ r(gd, { model: U, actionDomain: I });
9287
9290
  else if ((M == null ? void 0 : M.type) === "tree")
9288
9291
  z = /* @__PURE__ */ r(
9289
- hd,
9292
+ pd,
9290
9293
  {
9291
9294
  model: U,
9292
9295
  domain: I,
@@ -9362,7 +9365,7 @@ function gd(e, t) {
9362
9365
  };
9363
9366
  }
9364
9367
  return /* @__PURE__ */ r(
9365
- md,
9368
+ hd,
9366
9369
  {
9367
9370
  id: B,
9368
9371
  title: ee,
@@ -9375,10 +9378,10 @@ function gd(e, t) {
9375
9378
  );
9376
9379
  }) });
9377
9380
  }
9378
- const yd = yt(gd), wd = (e) => {
9381
+ const wd = yt(yd), vd = (e) => {
9379
9382
  const { ooui: t } = e;
9380
- return /* @__PURE__ */ r(Ce, { type: "array", ...e, children: /* @__PURE__ */ r(vd, { ooui: t }) });
9381
- }, vd = (e) => {
9383
+ return /* @__PURE__ */ r(be, { type: "array", ...e, children: /* @__PURE__ */ r(bd, { ooui: t }) });
9384
+ }, bd = (e) => {
9382
9385
  const { value: t, ooui: n, onChange: i } = e, { items: o = [] } = t || {}, s = o.filter((F) => F.operation !== "pendingRemove").map((F) => F.id), [a, l] = b([]), [d, u] = b(), [f, c] = b(!1), { relation: m, context: p, readOnly: h, field: y, columns: g } = n, w = ne(Be), { getContext: C } = w || {};
9383
9386
  Ft(() => {
9384
9387
  S();
@@ -9459,7 +9462,7 @@ const yd = yt(gd), wd = (e) => {
9459
9462
  /* @__PURE__ */ r(ke, { onClick: V, disabled: s.length === 0, children: "Uncheck all" })
9460
9463
  ] })
9461
9464
  ] }) });
9462
- }, bd = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(Cd, { ...e }) }), Cd = (e) => {
9465
+ }, Cd = (e) => /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(xd, { ...e }) }), xd = (e) => {
9463
9466
  const { value: t, ooui: n } = e;
9464
9467
  return /* @__PURE__ */ r(
9465
9468
  "div",
@@ -9469,34 +9472,34 @@ const yd = yt(gd), wd = (e) => {
9469
9472
  overflow: "auto"
9470
9473
  },
9471
9474
  children: /* @__PURE__ */ r(
9472
- os,
9475
+ is,
9473
9476
  {
9474
- remarkPlugins: [is],
9477
+ remarkPlugins: [ss],
9475
9478
  className: "markdown-typography",
9476
9479
  children: t
9477
9480
  }
9478
9481
  )
9479
9482
  }
9480
9483
  );
9481
- }, xd = (e) => {
9482
- const { ooui: t } = e, { required: n } = t;
9483
- return /* @__PURE__ */ r(Ce, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(Sd, { ...e }) });
9484
9484
  }, Sd = (e) => {
9485
+ const { ooui: t } = e, { required: n } = t;
9486
+ return /* @__PURE__ */ r(be, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(Td, { ...e }) });
9487
+ }, Td = (e) => {
9485
9488
  const { ooui: t, onChange: n, value: i } = e, { selectionValues: o, readOnly: s, direction: a } = t, l = Array.from(o.entries()), d = l && l.length && l.map((u) => {
9486
9489
  const [f, c] = u;
9487
9490
  return /* @__PURE__ */ r(cr, { value: f, children: c }, f);
9488
9491
  });
9489
9492
  return /* @__PURE__ */ r(cr.Group, { disabled: s, onChange: n, value: i, children: /* @__PURE__ */ r(Ue, { direction: a, children: d }) });
9490
- }, Td = (e) => {
9491
- const { ooui: t } = e, { id: n, readOnly: i, required: o } = t;
9492
- return /* @__PURE__ */ r(Ce, { ...e, valuePropName: "checked", children: /* @__PURE__ */ r(Fd, { id: n, readOnly: i, required: o }) });
9493
9493
  }, Fd = (e) => {
9494
+ const { ooui: t } = e, { id: n, readOnly: i, required: o } = t;
9495
+ return /* @__PURE__ */ r(be, { ...e, valuePropName: "checked", children: /* @__PURE__ */ r(Rd, { id: n, readOnly: i, required: o }) });
9496
+ }, Rd = (e) => {
9494
9497
  const { required: t, readOnly: n, ...i } = e;
9495
9498
  return /* @__PURE__ */ r("div", { className: "flex flex-row", children: /* @__PURE__ */ r(si, { disabled: n, ...i }) });
9496
- }, Rd = (e) => {
9497
- const { ooui: t } = e, { required: n } = t;
9498
- return /* @__PURE__ */ r(Ce, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(Od, { ...e }) });
9499
9499
  }, Od = (e) => {
9500
+ const { ooui: t } = e, { required: n } = t;
9501
+ return /* @__PURE__ */ r(be, { required: n, type: "any", ...e, children: /* @__PURE__ */ r(_d, { ...e }) });
9502
+ }, _d = (e) => {
9500
9503
  const { ooui: t, value: n } = e, { selectionValues: i, errorField: o } = t, s = ne(Be), a = Array.from(i.entries()), l = a.map((f) => f[0]).indexOf(n);
9501
9504
  let d = "process", u = "";
9502
9505
  return o && (u = s.getFieldValue(o), u && (d = "error")), /* @__PURE__ */ r(dr, { current: l, status: d, children: a.map((f, c) => /* @__PURE__ */ r(
@@ -9506,10 +9509,10 @@ const yd = yt(gd), wd = (e) => {
9506
9509
  description: c === l && d === "error" ? u : null
9507
9510
  }
9508
9511
  )) });
9509
- }, _d = (e) => {
9512
+ }, Id = (e) => {
9510
9513
  const { ooui: t } = e, { lang: n, height: i } = t, o = ne(Be), { elementHasLostFocus: s } = o || {};
9511
- return /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(
9512
- ss,
9514
+ return /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(
9515
+ as,
9513
9516
  {
9514
9517
  defaultLanguage: n || "",
9515
9518
  height: i || 300,
@@ -9518,13 +9521,13 @@ const yd = yt(gd), wd = (e) => {
9518
9521
  }
9519
9522
  }
9520
9523
  ) });
9521
- }, { Meta: Id } = Pn, { Text: Vd } = Wt, Ad = ({ email: e, size: t = 40, theme: n = "" }) => {
9522
- const i = `https://www.gravatar.com/avatar/${as(
9524
+ }, { Meta: Vd } = Pn, { Text: Ad } = Wt, Dd = ({ email: e, size: t = 40, theme: n = "" }) => {
9525
+ const i = `https://www.gravatar.com/avatar/${ls(
9523
9526
  e
9524
9527
  )}?s=${t}&d=${n}`;
9525
9528
  return /* @__PURE__ */ r(Pr, { src: i, size: t });
9526
9529
  };
9527
- function Dd({ text: e }) {
9530
+ function kd({ text: e }) {
9528
9531
  const t = e.split(`
9529
9532
  `);
9530
9533
  return /* @__PURE__ */ r("div", { children: t.map((n, i) => /* @__PURE__ */ k(kr, { children: [
@@ -9532,13 +9535,13 @@ function Dd({ text: e }) {
9532
9535
  i !== t.length - 1 && /* @__PURE__ */ r("br", {})
9533
9536
  ] }, i)) });
9534
9537
  }
9535
- const kd = (e) => {
9538
+ const Ed = (e) => {
9536
9539
  const { data: t, style: n } = e, { t: i } = we();
9537
9540
  return /* @__PURE__ */ k(Pn, { style: { ...n, textAlign: "start" }, children: [
9538
9541
  /* @__PURE__ */ r(
9539
- Id,
9542
+ Vd,
9540
9543
  {
9541
- avatar: /* @__PURE__ */ r(Ad, { email: t.email, theme: "mp" }),
9544
+ avatar: /* @__PURE__ */ r(Dd, { email: t.email, theme: "mp" }),
9542
9545
  title: t.author,
9543
9546
  description: /* @__PURE__ */ k(Ue, { direction: "horizontal", children: [
9544
9547
  /* @__PURE__ */ r("span", { title: t.date, children: Ze(t.date).fromNow() }),
@@ -9547,9 +9550,9 @@ const kd = (e) => {
9547
9550
  style: { marginBottom: "5px" }
9548
9551
  }
9549
9552
  ),
9550
- /* @__PURE__ */ r(Vd, { children: /* @__PURE__ */ r(Dd, { text: t.text }) })
9553
+ /* @__PURE__ */ r(Ad, { children: /* @__PURE__ */ r(kd, { text: t.text }) })
9551
9554
  ] }, t.id);
9552
- }, Ed = (e) => {
9555
+ }, Md = (e) => {
9553
9556
  const { value: t } = e, n = (t || []).map((i) => {
9554
9557
  if (i.type === "action")
9555
9558
  return {
@@ -9560,22 +9563,22 @@ const kd = (e) => {
9560
9563
  color: "gray",
9561
9564
  position: i.event.isSender ? "left" : "right",
9562
9565
  label: i.event.date,
9563
- children: /* @__PURE__ */ r(kd, { data: i.event })
9566
+ children: /* @__PURE__ */ r(Ed, { data: i.event })
9564
9567
  };
9565
9568
  });
9566
9569
  return /* @__PURE__ */ r(On, { mode: "alternate", items: n });
9567
- }, Md = (e) => /* @__PURE__ */ r(Ce, { ...e, children: /* @__PURE__ */ r(Ed, {}) }), { Content: Nd } = ai, { Title: Pd } = Wt;
9568
- function Ld() {
9570
+ }, Nd = (e) => /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(Md, {}) }), Pd = (e) => /* @__PURE__ */ r(be, { ...e, children: /* @__PURE__ */ r(Mi, {}) }), { Content: Ld } = ai, { Title: $d } = Wt;
9571
+ function Bd() {
9569
9572
  const { t: e } = we();
9570
- return /* @__PURE__ */ r(Nd, { className: "m-5 select-none", children: /* @__PURE__ */ r(Pd, { level: 5, children: e("welcome") }) });
9573
+ return /* @__PURE__ */ r(Ld, { className: "m-5 select-none", children: /* @__PURE__ */ r($d, { level: 5, children: e("welcome") }) });
9571
9574
  }
9572
- function $d(e, t) {
9575
+ function Hd(e, t) {
9573
9576
  const { children: n } = e, [i, o] = b("welcome"), { t: s } = we(), { globalValues: a, rootContext: l } = Mo(), [d, u] = b([
9574
9577
  {
9575
9578
  title: s("welcome"),
9576
9579
  key: "welcome",
9577
9580
  closable: !0,
9578
- content: /* @__PURE__ */ r(Ld, {})
9581
+ content: /* @__PURE__ */ r(Bd, {})
9579
9582
  }
9580
9583
  ]), f = ae(/* @__PURE__ */ new Map()), c = ae();
9581
9584
  wt(t, () => ({
@@ -9880,7 +9883,7 @@ function $d(e, t) {
9880
9883
  }
9881
9884
  }
9882
9885
  return /* @__PURE__ */ r(
9883
- ba,
9886
+ Ca,
9884
9887
  {
9885
9888
  openShortcut: w,
9886
9889
  openAction: x,
@@ -9896,7 +9899,7 @@ function $d(e, t) {
9896
9899
  o(S);
9897
9900
  },
9898
9901
  children: /* @__PURE__ */ r(
9899
- Sa,
9902
+ Ta,
9900
9903
  {
9901
9904
  ref: c,
9902
9905
  globalValues: a,
@@ -9906,9 +9909,9 @@ function $d(e, t) {
9906
9909
  }
9907
9910
  );
9908
9911
  }
9909
- const Du = yt($d), { useToken: Bd } = He;
9910
- function Hd(e) {
9911
- const { label: t, onClose: n, tabKey: i, isActive: o, onSelected: s } = e, { token: a } = Bd(), l = o ? a.colorBgContainer : a.colorPrimaryBg;
9912
+ const Eu = yt(Hd), { useToken: Kd } = He;
9913
+ function jd(e) {
9914
+ const { label: t, onClose: n, tabKey: i, isActive: o, onSelected: s } = e, { token: a } = Kd(), l = o ? a.colorBgContainer : a.colorPrimaryBg;
9912
9915
  return /* @__PURE__ */ k(
9913
9916
  "div",
9914
9917
  {
@@ -9978,12 +9981,12 @@ function Hd(e) {
9978
9981
  }
9979
9982
  );
9980
9983
  }
9981
- function ku() {
9984
+ function Mu() {
9982
9985
  const e = ne(
9983
9986
  ut
9984
9987
  ), { activeKey: t, tabs: n, onRemoveTab: i, onChangeTab: o } = e || {};
9985
9988
  return /* @__PURE__ */ r(Q, { children: n.map((s) => /* @__PURE__ */ r(
9986
- Hd,
9989
+ jd,
9987
9990
  {
9988
9991
  tabKey: s.key,
9989
9992
  label: s.title,
@@ -9994,7 +9997,7 @@ function ku() {
9994
9997
  s.key
9995
9998
  )) });
9996
9999
  }
9997
- function Kd(e) {
10000
+ function Wd(e) {
9998
10001
  const { tab: t } = e, n = ne(
9999
10002
  ut
10000
10003
  ), { activeKey: i } = n || {}, o = {
@@ -10002,21 +10005,21 @@ function Kd(e) {
10002
10005
  };
10003
10006
  return /* @__PURE__ */ r("div", { style: t.key !== i ? o : void 0, children: t.content });
10004
10007
  }
10005
- const jd = nt.memo(Kd, () => !0);
10006
- function Eu() {
10008
+ const Ud = nt.memo(Wd, () => !0);
10009
+ function Nu() {
10007
10010
  const e = ne(
10008
10011
  ut
10009
- ), { tabs: t } = e || {}, n = (t == null ? void 0 : t.map((i) => /* @__PURE__ */ r(jd, { tab: i }, i.key))) || null;
10012
+ ), { tabs: t } = e || {}, n = (t == null ? void 0 : t.map((i) => /* @__PURE__ */ r(Ud, { tab: i }, i.key))) || null;
10010
10013
  return /* @__PURE__ */ r(Q, { children: n });
10011
10014
  }
10012
- const { useToken: Wd } = He, Mu = (e) => {
10015
+ const { useToken: Yd } = He, Pu = (e) => {
10013
10016
  const {
10014
10017
  onRetrieveShortcuts: t,
10015
10018
  onCheckIsFavourite: n,
10016
10019
  onAddFavourite: i,
10017
10020
  onRemoveFavourite: o,
10018
10021
  onDropdownClosed: s
10019
- } = e, [a, l] = b(!1), [d, u] = b(), { t: f } = we(), { token: c } = Wd(), m = ae(null), p = ne(
10022
+ } = e, [a, l] = b(!1), [d, u] = b(), { t: f } = we(), { token: c } = Yd(), m = ae(null), p = ne(
10020
10023
  ut
10021
10024
  ), {
10022
10025
  openShortcut: h,
@@ -10111,7 +10114,7 @@ const { useToken: Wd } = He, Mu = (e) => {
10111
10114
  y
10112
10115
  ]);
10113
10116
  return /* @__PURE__ */ r(
10114
- Mi,
10117
+ Ni,
10115
10118
  {
10116
10119
  ref: m,
10117
10120
  isFavourite: a,
@@ -10136,63 +10139,64 @@ const { useToken: Wd } = He, Mu = (e) => {
10136
10139
  );
10137
10140
  };
10138
10141
  export {
10139
- Mc as ActionBar,
10142
+ Nc as ActionBar,
10140
10143
  No as ActionView,
10141
- Ic as Binary,
10142
- Ds as Boolean,
10144
+ Vc as Binary,
10145
+ ks as Boolean,
10143
10146
  no as Button,
10144
- ys as ButtonGroup,
10147
+ ws as ButtonGroup,
10145
10148
  io as Char,
10146
- _d as CodeEditor,
10147
- Md as CommentsTimelineField,
10149
+ Id as CodeEditor,
10150
+ Nd as CommentsTimelineField,
10148
10151
  Eo as ConfigContext,
10149
- Zc as ConfigContextProvider,
10152
+ ed as ConfigContextProvider,
10150
10153
  E as ConnectionProvider,
10151
- Sa as ContentRootProvider,
10152
- Eu as CurrentTabContent,
10153
- yd as Dashboard,
10154
- dd as DashboardGrid,
10155
- md as DashboardGridItem,
10156
- xc as Date,
10157
- Sc as DateTime,
10158
- Lc as Email,
10159
- Au as ErpAllFeatureKeys,
10154
+ Ta as ContentRootProvider,
10155
+ Nu as CurrentTabContent,
10156
+ wd as Dashboard,
10157
+ ud as DashboardGrid,
10158
+ hd as DashboardGridItem,
10159
+ Sc as Date,
10160
+ Tc as DateTime,
10161
+ $c as Email,
10162
+ ku as ErpAllFeatureKeys,
10160
10163
  rr as ErpFeatureKeys,
10161
- Cc as ExportModal,
10162
- Mu as FavouriteButton,
10164
+ xc as ExportModal,
10165
+ Pu as FavouriteButton,
10163
10166
  po as Float,
10164
- ic as FloatTime,
10167
+ sc as FloatTime,
10165
10168
  zt as Form,
10166
10169
  Jt as FormModal,
10167
- Dl as GraphIndicator,
10170
+ kl as GraphIndicator,
10168
10171
  _o as Group,
10169
- Ns as Image,
10172
+ Pd as HTMLPreview,
10173
+ Ps as Image,
10170
10174
  rn as Integer,
10171
10175
  mn as Label,
10172
- Il as Many2one,
10173
- bd as Markdown,
10174
- wd as MultiCheckbox,
10175
- lc as Notebook,
10176
- rc as One2many,
10177
- nl as ProgressBar,
10178
- xd as Radio,
10179
- Rc as Reference,
10180
- Du as RootView,
10176
+ Vl as Many2one,
10177
+ Cd as Markdown,
10178
+ vd as MultiCheckbox,
10179
+ cc as Notebook,
10180
+ oc as One2many,
10181
+ rl as ProgressBar,
10182
+ Sd as Radio,
10183
+ Oc as Reference,
10184
+ Eu as RootView,
10181
10185
  go as SearchFilter,
10182
10186
  So as SearchModal,
10183
10187
  xo as SearchTree,
10184
10188
  so as Selection,
10185
- fc as Separator,
10186
- Rd as Steps,
10187
- Td as Switch,
10188
- Hd as Tab,
10189
- ku as TabSelector,
10190
- ra as Tag,
10191
- oa as Tags,
10192
- dc as Text,
10193
- Tc as Time,
10189
+ mc as Separator,
10190
+ Od as Steps,
10191
+ Fd as Switch,
10192
+ jd as Tab,
10193
+ Mu as TabSelector,
10194
+ oa as Tag,
10195
+ ia as Tags,
10196
+ uc as Text,
10197
+ Fc as Time,
10194
10198
  Xt as Tree,
10195
- Pc as Url,
10199
+ Lc as Url,
10196
10200
  dt as iconMapper,
10197
10201
  Gt as showConfirmDialog
10198
10202
  };