@gisce/react-ooui 2.28.0-alpha.2 → 2.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
1
  var Ta = Object.defineProperty;
2
2
  var Ia = (e, t, n) => t in e ? Ta(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var vo = (e, t, n) => (Ia(e, typeof t != "symbol" ? t + "" : t, n), n);
3
+ var wo = (e, t, n) => (Ia(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import { jsx as i, jsxs as E, Fragment as ae } from "react/jsx-runtime";
5
5
  import dt, { useContext as oe, useState as S, useEffect as de, useRef as Q, memo as $r, useMemo as we, useCallback as B, createContext as Oa, forwardRef as pt, useImperativeHandle as ht, createElement as Aa, Fragment as Jt } from "react";
6
- import { Tooltip as At, theme as Ge, Typography as Rt, Form as ut, Row as Ne, Col as be, Modal as at, Button as je, Dropdown as Fa, Menu as wo, Spin as We, Divider as Ln, Space as Ze, Input as ct, Select as Mt, Checkbox as pn, Alert as nt, Timeline as yr, Statistic as Ra, Card as Nr, Tag as Si, message as or, DatePicker as Mr, TimePicker as _a, InputNumber as xi, Progress as Va, Avatar as Ci, Pagination as Da, Badge as Lr, App as Ea, Tabs as Ti, Layout as Ii, Radio as bo, Switch as Pa, Steps as So } from "antd";
7
- import { Label as tn, Field as vr, Tree as Oi, Reference as ka, Selection as jr, Many2one as Ai, Boolean as $a, parseContext as Et, graphProcessor as Fi, graphFieldUtils as Na, parseGraph as Ri, Container as Ma, Form as _i, Integer as wr, SearchFieldTypes as It, SearchFilter as Vi, parseContextFields as La, parseDomainFields as ja, transformDomainForChildWidget as Br } from "@gisce/ooui";
8
- import * as xo from "@ant-design/icons";
9
- import Di, { QuestionCircleOutlined as Ei, ExclamationCircleOutlined as _t, LoadingOutlined as gt, DownOutlined as jn, WarningOutlined as Pi, CloseOutlined as nn, CheckOutlined as Bn, TranslationOutlined as ki, FolderOpenOutlined as Hr, DownloadOutlined as Ur, ClearOutlined as Hn, ExportOutlined as Ba, StarFilled as Ha, StarOutlined as Ua, UpOutlined as Wa, SearchOutlined as Un, ThunderboltOutlined as Wr, PrinterOutlined as Gr, EnterOutlined as Kr, PlusSquareOutlined as Ga, MinusSquareOutlined as Ka, FileAddOutlined as Wn, AlignLeftOutlined as qa, ApiOutlined as Ya, DeleteOutlined as qr, LeftOutlined as $i, RightOutlined as Ni, EyeOutlined as za, FormOutlined as hn, TableOutlined as Yr, AreaChartOutlined as Ja, CalendarOutlined as Xa, LinkOutlined as Co, SaveOutlined as Qa, CopyOutlined as zr, InfoCircleOutlined as Mi, ReloadOutlined as Gn, EditOutlined as Li, PlusOutlined as Za, FilterOutlined as ji, CloseCircleFilled as el, BorderOuterOutlined as tl, SettingOutlined as nl } from "@ant-design/icons";
6
+ import { Tooltip as At, theme as Ge, Typography as Rt, Form as ut, Row as Ne, Col as be, Modal as at, Button as je, Dropdown as Fa, Menu as bo, Spin as We, Divider as Ln, Space as Xe, Input as ct, Select as Mt, Checkbox as pn, Alert as nt, Timeline as yr, Statistic as Ra, Card as Nr, Tag as xi, message as or, DatePicker as Mr, TimePicker as _a, InputNumber as Ci, Progress as Va, Avatar as Ti, Pagination as Da, Badge as Lr, App as Ea, Tabs as Ii, Layout as Oi, Radio as So, Switch as Pa, Steps as xo } from "antd";
7
+ import { Label as tn, Field as vr, Tree as Ai, Reference as ka, Selection as jr, Many2one as Fi, Boolean as $a, parseContext as Et, graphProcessor as Ri, graphFieldUtils as Na, parseGraph as _i, Container as Ma, Form as Vi, Integer as wr, SearchFieldTypes as It, SearchFilter as Di, parseContextFields as La, parseDomainFields as ja, transformDomainForChildWidget as Br } from "@gisce/ooui";
8
+ import * as Co from "@ant-design/icons";
9
+ import Ei, { QuestionCircleOutlined as Pi, ExclamationCircleOutlined as _t, LoadingOutlined as gt, DownOutlined as jn, WarningOutlined as ki, CloseOutlined as nn, CheckOutlined as Bn, TranslationOutlined as $i, FolderOpenOutlined as Hr, DownloadOutlined as Ur, ClearOutlined as Hn, ExportOutlined as Ba, StarFilled as Ha, StarOutlined as Ua, UpOutlined as Wa, SearchOutlined as Un, ThunderboltOutlined as Wr, PrinterOutlined as Gr, EnterOutlined as Kr, PlusSquareOutlined as Ga, MinusSquareOutlined as Ka, FileAddOutlined as Wn, AlignLeftOutlined as qa, ApiOutlined as Ya, DeleteOutlined as qr, LeftOutlined as Ni, RightOutlined as Mi, EyeOutlined as za, FormOutlined as hn, TableOutlined as Yr, AreaChartOutlined as Ja, CalendarOutlined as Xa, LinkOutlined as To, SaveOutlined as Qa, CopyOutlined as zr, InfoCircleOutlined as Li, ReloadOutlined as Gn, EditOutlined as ji, PlusOutlined as Za, FilterOutlined as Bi, CloseCircleFilled as el, BorderOuterOutlined as tl, SettingOutlined as nl } from "@ant-design/icons";
10
10
  import { Interweave as gn } from "interweave";
11
- import { useLocale as he, FormigaConfigProvider as rl, mergeStrings as ol, Many2OneSuffix as il, Many2OneSuffixModal as To, FieldSet as sl, ExportModal as al, Dropdown as Bi, DropdownButton as qt, HTMLPreview as ll, FavouriteButton as cl } from "@gisce/react-formiga-components";
12
- import * as Io from "@tabler/icons-react";
11
+ import { useLocale as he, FormigaConfigProvider as rl, mergeStrings as ol, Many2OneSuffix as il, Many2OneSuffixModal as Io, FieldSet as sl, ExportModal as al, Dropdown as Hi, DropdownButton as qt, HTMLPreview as ll, FavouriteButton as cl } from "@gisce/react-formiga-components";
12
+ import * as Oo from "@tabler/icons-react";
13
13
  import dl from "antd/lib/input/TextArea";
14
14
  import rn from "styled-components";
15
15
  import Jr from "react-measure";
@@ -28,9 +28,9 @@ import wl from "dayjs/plugin/duration";
28
28
  import bl from "dayjs/plugin/relativeTime";
29
29
  import Sl from "dayjs/plugin/weekday";
30
30
  import xl from "dayjs/plugin/localeData";
31
- import { createRoot as Hi } from "react-dom/client";
31
+ import { createRoot as Ui } from "react-dom/client";
32
32
  import { useDeepCompareCallback as ft, useDeepCompareMemo as yn, useDeepCompareEffect as Cl } from "use-deep-compare";
33
- import { Table as Tl, InfiniteTable as Ui } from "@gisce/react-formiga-table";
33
+ import { Table as Tl, InfiniteTable as Wi } from "@gisce/react-formiga-table";
34
34
  import { fileTypeFromBuffer as Il } from "file-type-buffer-browser";
35
35
  import { isPresetStatusColor as Ol, isPresetColor as Al } from "antd/lib/_util/colors";
36
36
  import Fl from "antd/es/date-picker/locale/en_US";
@@ -49,7 +49,7 @@ import Nl from "@monaco-editor/react";
49
49
  import Ml from "md5";
50
50
  import { WidthProvider as Ll, Responsive as jl } from "react-grid-layout";
51
51
  import "react-grid-layout/css/styles.css";
52
- import { AnimatePresence as Bl, motion as Oo } from "framer-motion";
52
+ import { AnimatePresence as Bl, motion as Ao } from "framer-motion";
53
53
  const He = dt.createContext(null), Hl = (e) => {
54
54
  const {
55
55
  children: t,
@@ -107,7 +107,7 @@ const He = dt.createContext(null), Hl = (e) => {
107
107
  className: `flex flex-row items-center pb-1 pt-1 ${Kl[h]}`,
108
108
  children: [
109
109
  s && /* @__PURE__ */ i(At, { title: s, children: /* @__PURE__ */ i(
110
- Ei,
110
+ Pi,
111
111
  {
112
112
  className: "pr-1 text-xs",
113
113
  style: {
@@ -187,7 +187,7 @@ const { confirm: ql } = at, Ft = ({
187
187
  cancelText: r || o("cancel"),
188
188
  onOk: e
189
189
  });
190
- }, Ao = {
190
+ }, Fo = {
191
191
  "terp-purchase": "ShoppingCart",
192
192
  "terp-graph": "PieChart",
193
193
  "terp-crm": "Contacts",
@@ -279,7 +279,7 @@ const { confirm: ql } = at, Ft = ({
279
279
  STOCK_CLEAR: "CloseSquare",
280
280
  STOCK_UNINDENT: "AlignLeft",
281
281
  STOCK_PREFERENCES: "Setting"
282
- }, vt = (e, t) => (e.indexOf("gtk-") !== -1 && (e = `STOCK_${e.replace("gtk-", "").replace(/\-/g, "_").toUpperCase()}`), Ao.hasOwnProperty(e) ? Fo(Ao[e], t) : Fo(e, t));
282
+ }, vt = (e, t) => (e.indexOf("gtk-") !== -1 && (e = `STOCK_${e.replace("gtk-", "").replace(/\-/g, "_").toUpperCase()}`), Fo.hasOwnProperty(e) ? Ro(Fo[e], t) : Ro(e, t));
283
283
  function Yl(e) {
284
284
  return `${e.split("-").map(
285
285
  (t) => t.replace(
@@ -288,30 +288,30 @@ function Yl(e) {
288
288
  )
289
289
  ).join("")}`;
290
290
  }
291
- function Fo(e, t) {
291
+ function Ro(e, t) {
292
292
  let n = e.charAt(0).toUpperCase() + e.slice(1);
293
293
  n.indexOf("-") !== -1 && (n = Yl(n));
294
294
  const r = `${n}Outlined`;
295
- if (xo[r])
296
- return () => dt.createElement(xo[r], {
295
+ if (Co[r])
296
+ return () => dt.createElement(Co[r], {
297
297
  ...t
298
298
  });
299
299
  const o = `Icon${n}`;
300
- if (Io[o]) {
300
+ if (Oo[o]) {
301
301
  const s = () => {
302
302
  var l;
303
- return dt.createElement(Io[o], {
303
+ return dt.createElement(Oo[o], {
304
304
  fill: "transparent",
305
305
  size: ((l = t == null ? void 0 : t.style) == null ? void 0 : l.fontSize) || 17
306
306
  });
307
307
  };
308
- return () => dt.createElement(Di, {
308
+ return () => dt.createElement(Ei, {
309
309
  component: s,
310
310
  ...t
311
311
  });
312
312
  }
313
313
  }
314
- const Wi = (e) => {
314
+ const Qr = (e) => {
315
315
  const { ooui: t } = e, {
316
316
  id: n,
317
317
  label: r,
@@ -419,7 +419,7 @@ const Wi = (e) => {
419
419
  }
420
420
  ) });
421
421
  if (n)
422
- return /* @__PURE__ */ i(Wi, { ooui: n });
422
+ return /* @__PURE__ */ i(Qr, { ooui: n });
423
423
  }, Jl = (e) => {
424
424
  const { t } = he(), { ooui: n, executeButtonAction: r } = e;
425
425
  if (!n)
@@ -461,7 +461,7 @@ const Wi = (e) => {
461
461
  }
462
462
  }
463
463
  return /* @__PURE__ */ i(
464
- wo.Item,
464
+ bo.Item,
465
465
  {
466
466
  disabled: !c || h,
467
467
  onClick: b,
@@ -472,9 +472,9 @@ const Wi = (e) => {
472
472
  `menuitem-${l}`
473
473
  );
474
474
  });
475
- return /* @__PURE__ */ i(wo, { children: o });
475
+ return /* @__PURE__ */ i(bo, { children: o });
476
476
  }, Xl = 0.7;
477
- function Ro() {
477
+ function _o() {
478
478
  const { innerWidth: e, innerHeight: t } = window;
479
479
  return {
480
480
  width: e,
@@ -483,11 +483,11 @@ function Ro() {
483
483
  }
484
484
  function qn() {
485
485
  const [e, t] = S(
486
- Ro()
486
+ _o()
487
487
  );
488
488
  return de(() => {
489
489
  function n() {
490
- t(Ro());
490
+ t(_o());
491
491
  }
492
492
  return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
493
493
  }, []), {
@@ -507,7 +507,7 @@ const Kt = class Kt {
507
507
  return Kt.handler;
508
508
  }
509
509
  };
510
- vo(Kt, "handler");
510
+ wo(Kt, "handler");
511
511
  let P = Kt;
512
512
  const Gi = (e) => {
513
513
  let t, n, r;
@@ -531,7 +531,7 @@ const Gi = (e) => {
531
531
  const { message: t, type: n, title: r } = Gi(e);
532
532
  (n === "error" ? Ql : Zl)({
533
533
  title: r,
534
- icon: n === "error" ? /* @__PURE__ */ i(_t, {}) : /* @__PURE__ */ i(Pi, {}),
534
+ icon: n === "error" ? /* @__PURE__ */ i(_t, {}) : /* @__PURE__ */ i(ki, {}),
535
535
  centered: !0,
536
536
  content: t
537
537
  });
@@ -615,7 +615,7 @@ const Gi = (e) => {
615
615
  return d ? /* @__PURE__ */ i(We, {}) : /* @__PURE__ */ E(ae, { children: [
616
616
  w(),
617
617
  /* @__PURE__ */ i(Ln, {}),
618
- /* @__PURE__ */ i(Ne, { justify: "end", children: /* @__PURE__ */ E(Ze, { children: [
618
+ /* @__PURE__ */ i(Ne, { justify: "end", children: /* @__PURE__ */ E(Xe, { children: [
619
619
  /* @__PURE__ */ i(
620
620
  je,
621
621
  {
@@ -783,7 +783,7 @@ const { info: ec } = at, Tt = (e) => {
783
783
  tt,
784
784
  {
785
785
  tooltip: p("translate"),
786
- icon: /* @__PURE__ */ i(ki, {}),
786
+ icon: /* @__PURE__ */ i($i, {}),
787
787
  onClick: async () => {
788
788
  c != null && c() ? Tt(p("saveBeforeTranslate")) : Tt(p("enterTextBeforeTranslate"));
789
789
  },
@@ -816,7 +816,7 @@ const { info: ec } = at, Tt = (e) => {
816
816
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
817
817
  background-color: ${sc.colorPrimaryBg};
818
818
  }
819
- `, { defaultAlgorithm: cc, defaultSeed: dc } = Ge, _o = cc(dc), uc = (e) => {
819
+ `, { defaultAlgorithm: cc, defaultSeed: dc } = Ge, Vo = cc(dc), uc = (e) => {
820
820
  const { ooui: t } = e, { id: n, readOnly: r, required: o } = t;
821
821
  return /* @__PURE__ */ i(Re, { ...e, valuePropName: "checked", children: /* @__PURE__ */ i(fc, { id: n, readOnly: r, required: o }) });
822
822
  }, fc = (e) => {
@@ -824,11 +824,11 @@ const { info: ec } = at, Tt = (e) => {
824
824
  return /* @__PURE__ */ i("div", { className: "flex flex-row", children: /* @__PURE__ */ i(t && !n ? mc : pn, { disabled: n, ...r }) });
825
825
  }, mc = rn(pn)`
826
826
  .ant-checkbox-inner {
827
- background-color: ${_o.colorPrimaryBg};
827
+ background-color: ${Vo.colorPrimaryBg};
828
828
  }
829
829
 
830
830
  .ant-checkbox-checked .ant-checkbox-inner {
831
- background-color: ${_o.colorPrimary};
831
+ background-color: ${Vo.colorPrimary};
832
832
  }
833
833
  `;
834
834
  function pc(e) {
@@ -895,7 +895,7 @@ const hc = (e) => {
895
895
  }
896
896
  )
897
897
  ] }),
898
- /* @__PURE__ */ i(Ne, { gutter: 8, wrap: !1, justify: "center", className: "pt-5", children: /* @__PURE__ */ E(Ze, { children: [
898
+ /* @__PURE__ */ i(Ne, { gutter: 8, wrap: !1, justify: "center", className: "pt-5", children: /* @__PURE__ */ E(Xe, { children: [
899
899
  /* @__PURE__ */ i(
900
900
  tt,
901
901
  {
@@ -949,13 +949,13 @@ const hc = (e) => {
949
949
  }
950
950
  );
951
951
  }, Ot = (e) => {
952
- const t = e.arch, n = e.fields, r = new Oi(n);
952
+ const t = e.arch, n = e.fields, r = new Ai(n);
953
953
  return r.parse(t), r;
954
954
  };
955
955
  function wc(e) {
956
956
  return typeof e == "number" || typeof e == "string" || typeof e == "boolean" || e === null || e === void 0 || Array.isArray(e) && e.length === 0;
957
957
  }
958
- const Qr = (e, t, n) => e.columns.map((o) => {
958
+ const Zr = (e, t, n) => e.columns.map((o) => {
959
959
  const s = o.type, a = o.id, l = t == null ? void 0 : t[s];
960
960
  let c;
961
961
  return l ? c = (u) => l({ value: u, key: a, ooui: o, context: n }) : c = (u) => wc(u) ? u : /* @__PURE__ */ E("p", { style: { color: "red" }, children: [
@@ -985,7 +985,7 @@ const Qr = (e, t, n) => e.columns.map((o) => {
985
985
  o[s] = r[s];
986
986
  else {
987
987
  const a = e.findById(s);
988
- a instanceof ka || a instanceof jr ? o[s] = r[s] : a instanceof Ai ? o[s] = r[s] && Array.isArray(r[s]) && r[s].length === 2 && {
988
+ a instanceof ka || a instanceof jr ? o[s] = r[s] : a instanceof Fi ? o[s] = r[s] && Array.isArray(r[s]) && r[s].length === 2 && {
989
989
  model: a.relation,
990
990
  id: r[s][0],
991
991
  value: r[s][1]
@@ -1038,7 +1038,7 @@ function xc(e, t) {
1038
1038
  const n = new RegExp(`<tree[^>]*\\s+${t}="([^"]+)"`, "i"), r = e.match(n);
1039
1039
  return r && r[1] ? r[1] : null;
1040
1040
  }
1041
- const Zr = async (e) => {
1041
+ const eo = async (e) => {
1042
1042
  var y;
1043
1043
  const {
1044
1044
  items: t,
@@ -1127,7 +1127,7 @@ function Ic(e) {
1127
1127
  return !t.includes(s, o + 1);
1128
1128
  });
1129
1129
  }
1130
- function Vo({
1130
+ function Do({
1131
1131
  values: e,
1132
1132
  fields: t
1133
1133
  }) {
@@ -1170,7 +1170,7 @@ const Oc = (e) => {
1170
1170
  async function C() {
1171
1171
  l(!0), u(void 0);
1172
1172
  try {
1173
- const [T] = await Zr({
1173
+ const [T] = await eo({
1174
1174
  treeView: {
1175
1175
  fields: n.get("tree").fields,
1176
1176
  arch: n.get("tree").arch
@@ -1537,7 +1537,7 @@ const Oc = (e) => {
1537
1537
  globalValues: {},
1538
1538
  rootContext: {},
1539
1539
  devMode: !1
1540
- }, Zi = dt.createContext(Dc), eo = () => {
1540
+ }, Zi = dt.createContext(Dc), to = () => {
1541
1541
  const e = oe(Zi);
1542
1542
  if (!e)
1543
1543
  throw new Error(
@@ -1545,7 +1545,7 @@ const Oc = (e) => {
1545
1545
  );
1546
1546
  return e;
1547
1547
  }, Jn = (e) => {
1548
- const { erpFeatures: t } = eo();
1548
+ const { erpFeatures: t } = to();
1549
1549
  return !!t[e];
1550
1550
  }, Ec = $r(
1551
1551
  ({
@@ -1630,7 +1630,7 @@ async function es({
1630
1630
  };
1631
1631
  }
1632
1632
  const Pc = (e) => {
1633
- const [t, n] = S(), [r, o] = S(!0), [s, a] = S(), [l, c] = S(), u = oe(He), { getContext: f, getValues: d, activeId: p } = u || {}, { globalValues: h, rootContext: m } = eo(), y = we(() => ({ ...f == null ? void 0 : f(), ...m }), [f, m]);
1633
+ const [t, n] = S(), [r, o] = S(!0), [s, a] = S(), [l, c] = S(), u = oe(He), { getContext: f, getValues: d, activeId: p } = u || {}, { globalValues: h, rootContext: m } = to(), y = we(() => ({ ...f == null ? void 0 : f(), ...m }), [f, m]);
1634
1634
  return { actionData: s, treeShortcut: l, loading: r, error: t, fetchData: async () => {
1635
1635
  n(void 0), o(!0);
1636
1636
  try {
@@ -1881,7 +1881,7 @@ function $c({
1881
1881
  }
1882
1882
  );
1883
1883
  }
1884
- const { getValueForOperator: Do } = Fi, Nc = (e) => {
1884
+ const { getValueForOperator: Eo } = Ri, Nc = (e) => {
1885
1885
  const {
1886
1886
  model: t,
1887
1887
  domain: n,
@@ -1925,7 +1925,7 @@ const { getValueForOperator: Do } = Fi, Nc = (e) => {
1925
1925
  fieldsToRetrieve: [u],
1926
1926
  context: r
1927
1927
  });
1928
- return Do({
1928
+ return Eo({
1929
1929
  values: te.map((ie) => ie[u]),
1930
1930
  operator: f
1931
1931
  });
@@ -1948,7 +1948,7 @@ const { getValueForOperator: Do } = Fi, Nc = (e) => {
1948
1948
  fieldsToRetrieve: [u],
1949
1949
  context: r
1950
1950
  });
1951
- return Do({
1951
+ return Eo({
1952
1952
  values: X.map((te) => te[u]),
1953
1953
  operator: f
1954
1954
  });
@@ -2011,7 +2011,7 @@ const { getValueForOperator: Do } = Fi, Nc = (e) => {
2011
2011
  showPercent: a
2012
2012
  }
2013
2013
  );
2014
- }, { processGraphData: Mc } = Fi, { getFieldsToRetrieve: Lc } = Na, jc = (e) => {
2014
+ }, { processGraphData: Mc } = Ri, { getFieldsToRetrieve: Lc } = Na, jc = (e) => {
2015
2015
  const {
2016
2016
  model: t,
2017
2017
  ooui: n,
@@ -2179,7 +2179,7 @@ const ir = (e) => (t) => {
2179
2179
  );
2180
2180
  } else
2181
2181
  return e;
2182
- }, Uc = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), os = (e) => typeof e == "number" && !isNaN(e), Eo = {
2182
+ }, Uc = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), os = (e) => typeof e == "number" && !isNaN(e), Po = {
2183
2183
  default: {
2184
2184
  padding: "auto",
2185
2185
  xAxis: {
@@ -2308,7 +2308,7 @@ const Kc = {
2308
2308
  x: a.x,
2309
2309
  percent: r[l]
2310
2310
  }));
2311
- }, { Text: Po } = Rt, is = 400, Yc = {
2311
+ }, { Text: ko } = Rt, is = 400, Yc = {
2312
2312
  line: fl,
2313
2313
  bar: ml,
2314
2314
  pie: pl
@@ -2359,10 +2359,10 @@ const Kc = {
2359
2359
  height: a ? is : void 0
2360
2360
  },
2361
2361
  children: [
2362
- /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ i(Po, { type: "secondary", children: `${l("totalRegisters")} ${o.toLocaleString("es-ES", {
2362
+ /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ i(ko, { type: "secondary", children: `${l("totalRegisters")} ${o.toLocaleString("es-ES", {
2363
2363
  useGrouping: !0
2364
2364
  })}` }) }),
2365
- c && /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ i(Po, { type: "secondary", children: `${l("total")} ${c.toLocaleString("es-ES", {
2365
+ c && /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: /* @__PURE__ */ i(ko, { type: "secondary", children: `${l("total")} ${c.toLocaleString("es-ES", {
2366
2366
  useGrouping: !0
2367
2367
  })}` }) }),
2368
2368
  /* @__PURE__ */ i("div", { style: { width: "100%", height: "100%", overflow: "hidden" }, children: /* @__PURE__ */ i(
@@ -2396,8 +2396,8 @@ function zc(e) {
2396
2396
  yAxisOpts: l = { mode: "default" },
2397
2397
  fixedHeight: c = !1
2398
2398
  } = e;
2399
- let u = { ...Eo[t] };
2400
- if (u || (u = { ...Eo.default }), u.data = n, u.height = c ? is : void 0, t === "pie" ? (u.colorField = "x", u.angleField = "value", u = { ...u, ...Kc.inner }, u.legend.itemValue = s, u.label.content = a) : (u.xField = "x", u.yField = "value", u.seriesField = "type", u.isGroup = r, o && (u.isStack = !0, u.groupField = "stacked")), t === "line" && l.mode === "auto" && l.valueOpts) {
2399
+ let u = { ...Po[t] };
2400
+ if (u || (u = { ...Po.default }), u.data = n, u.height = c ? is : void 0, t === "pie" ? (u.colorField = "x", u.angleField = "value", u = { ...u, ...Kc.inner }, u.legend.itemValue = s, u.label.content = a) : (u.xField = "x", u.yField = "value", u.seriesField = "type", u.isGroup = r, o && (u.isStack = !0, u.groupField = "stacked")), t === "line" && l.mode === "auto" && l.valueOpts) {
2401
2401
  const f = l.valueOpts.min, d = l.valueOpts.max;
2402
2402
  u.yAxis = {
2403
2403
  min: f,
@@ -2561,7 +2561,7 @@ const Jc = ({
2561
2561
  children: t
2562
2562
  }
2563
2563
  );
2564
- }, to = (e) => {
2564
+ }, no = (e) => {
2565
2565
  const t = oe(
2566
2566
  lt
2567
2567
  );
@@ -2591,7 +2591,7 @@ const Jc = ({
2591
2591
  id: n,
2592
2592
  type: "graph",
2593
2593
  context: o
2594
- }), b = Ri(g.arch);
2594
+ }), b = _i(g.arch);
2595
2595
  p(b), f(!1), m == null || m(!1);
2596
2596
  } catch (g) {
2597
2597
  return console.error(g), f(!1), m == null || m(!1), /* @__PURE__ */ i(ae, { children: JSON.stringify(g) });
@@ -2824,7 +2824,7 @@ const ey = Object.values(sn), Zc = (e) => {
2824
2824
  " "
2825
2825
  ] }),
2826
2826
  n.tooltip && /* @__PURE__ */ i(At, { title: n.tooltip, children: /* @__PURE__ */ i(
2827
- Ei,
2827
+ Pi,
2828
2828
  {
2829
2829
  className: "pr-1 text-xs",
2830
2830
  style: { color: t.colorPrimaryBg }
@@ -2909,7 +2909,7 @@ const ey = Object.values(sn), Zc = (e) => {
2909
2909
  )) || []).length > 0 && (r[o] = t[o]);
2910
2910
  } else if (Array.isArray(t[o]))
2911
2911
  if (n[o].type === "many2one") {
2912
- if (!$o(e[o]) && !$o(t[o]))
2912
+ if (!No(e[o]) && !No(t[o]))
2913
2913
  return;
2914
2914
  if (Array.isArray(e[o])) {
2915
2915
  const c = JSON.stringify(e[o]), u = JSON.stringify(t[o]);
@@ -2970,7 +2970,7 @@ const ey = Object.values(sn), Zc = (e) => {
2970
2970
  } else
2971
2971
  r[o] = !1;
2972
2972
  }), r;
2973
- }, no = (e) => {
2973
+ }, ro = (e) => {
2974
2974
  const t = {
2975
2975
  primary: [],
2976
2976
  secondary: []
@@ -2980,11 +2980,11 @@ const ey = Object.values(sn), Zc = (e) => {
2980
2980
  n.secondary
2981
2981
  ));
2982
2982
  }), {
2983
- primary: t.primary.filter(ko),
2984
- secondary: t.secondary.filter(ko)
2983
+ primary: t.primary.filter($o),
2984
+ secondary: t.secondary.filter($o)
2985
2985
  };
2986
2986
  };
2987
- function ko(e, t, n) {
2987
+ function $o(e, t, n) {
2988
2988
  return n.indexOf(e) === t;
2989
2989
  }
2990
2990
  const Lt = ({
@@ -3010,21 +3010,21 @@ const Lt = ({
3010
3010
  }, md = (e, t) => e.replace(
3011
3011
  /\{([^}]+)\}/g,
3012
3012
  (n, r) => t[r] !== void 0 ? t[r] : n
3013
- ), $o = (e) => !(!Array.isArray(e) || e.length !== 2 || e[0] === void 0 && e[1] === ""), pd = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(cs, { ...e }) }), cs = (e) => {
3013
+ ), No = (e) => !(!Array.isArray(e) || e.length !== 2 || e[0] === void 0 && e[1] === ""), pd = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(cs, { ...e }) }), cs = (e) => {
3014
3014
  const { ooui: t, value: n } = e;
3015
3015
  let r = n, o = n;
3016
3016
  if (t.selectionValues.size ? r = t.selectionValues.get(n) : Array.isArray(n) && (o = n[0], r = n[1]), !n)
3017
3017
  return null;
3018
3018
  const s = t.colors === "auto" ? vn(o) : t.colors[o] || vn(o);
3019
- return /* @__PURE__ */ i(ro, { color: s, children: r });
3020
- }, ro = (e) => {
3019
+ return /* @__PURE__ */ i(oo, { color: s, children: r });
3020
+ }, oo = (e) => {
3021
3021
  let { color: t } = e, n = {};
3022
3022
  return !Ol(e.color) && !Al(e.color) && (n = {
3023
3023
  color: t,
3024
3024
  borderColor: t,
3025
3025
  borderStyle: "solid",
3026
3026
  borderWidth: "1px"
3027
- }, t = `${t}20`), /* @__PURE__ */ i(Si, { ...e, style: n, color: t, children: e.children });
3027
+ }, t = `${t}20`), /* @__PURE__ */ i(xi, { ...e, style: n, color: t, children: e.children });
3028
3028
  }, hd = (e) => {
3029
3029
  const { ooui: t } = e;
3030
3030
  return /* @__PURE__ */ i(Re, { type: "array", ...e, children: /* @__PURE__ */ i(gd, { ooui: t }) });
@@ -3084,7 +3084,7 @@ const Lt = ({
3084
3084
  _.preventDefault(), _.stopPropagation();
3085
3085
  }, F = vn(C);
3086
3086
  return /* @__PURE__ */ i(
3087
- ro,
3087
+ oo,
3088
3088
  {
3089
3089
  color: F,
3090
3090
  onMouseDown: D,
@@ -3126,7 +3126,7 @@ const Lt = ({
3126
3126
  case "text":
3127
3127
  return vf;
3128
3128
  case "button":
3129
- return Wi;
3129
+ return Qr;
3130
3130
  case "buttonGroup":
3131
3131
  return zl;
3132
3132
  case "selection":
@@ -3295,7 +3295,7 @@ const Lt = ({
3295
3295
  onCancel: t,
3296
3296
  cancelText: n("cancel")
3297
3297
  });
3298
- }, { error: Od } = at, No = (e) => {
3298
+ }, { error: Od } = at, Mo = (e) => {
3299
3299
  Od({
3300
3300
  title: e("formHasErrors"),
3301
3301
  icon: /* @__PURE__ */ i(_t, {}),
@@ -3305,7 +3305,7 @@ const Lt = ({
3305
3305
  }, { warning: Ad } = at, Fd = (e, t, n) => {
3306
3306
  Ad({
3307
3307
  title: e,
3308
- icon: /* @__PURE__ */ i(Pi, {}),
3308
+ icon: /* @__PURE__ */ i(ki, {}),
3309
3309
  centered: !0,
3310
3310
  content: t,
3311
3311
  onOk: n
@@ -3321,7 +3321,7 @@ const Lt = ({
3321
3321
  children: t
3322
3322
  }
3323
3323
  );
3324
- }, ln = dt.createContext(null), Mo = async (e) => {
3324
+ }, ln = dt.createContext(null), Lo = async (e) => {
3325
3325
  var t;
3326
3326
  for (let n = 0; n < e.length; n++)
3327
3327
  await ((t = e == null ? void 0 : e[n]) == null ? void 0 : t.call(e));
@@ -3496,7 +3496,7 @@ const Lt = ({
3496
3496
  }), h(!1), await new Promise((_) => setTimeout(_, 300)), y({ domain: C, model: T, context: D, formView: A, actionData: F }), h(!0);
3497
3497
  }
3498
3498
  async function O() {
3499
- Mo(f.current), f.current = [], h(!1), y({
3499
+ Lo(f.current), f.current = [], h(!1), y({
3500
3500
  domain: void 0,
3501
3501
  model: void 0,
3502
3502
  context: {},
@@ -3536,7 +3536,7 @@ const Lt = ({
3536
3536
  visible: p,
3537
3537
  onSubmitSucceed: O,
3538
3538
  onCancel: () => {
3539
- Mo(f.current), f.current = [], h(!1), y({
3539
+ Lo(f.current), f.current = [], h(!1), y({
3540
3540
  domain: void 0,
3541
3541
  model: void 0,
3542
3542
  context: {},
@@ -3697,7 +3697,7 @@ function kd(e, t) {
3697
3697
  const U = q(), K = rt(), se = {};
3698
3698
  return Object.keys(U).forEach((le) => {
3699
3699
  const Te = U[le];
3700
- K[le] && K[le].type === "many2one" && Te && Array.isArray(Te) && Te.length === 2 ? se[le] = Te[0] : K[le] && (K[le].type === "one2many" || K[le].type === "many2many") && Te && Te.items ? se[le] = Te.items.filter((Xe) => Xe.operation !== "pendingRemove").map((Xe) => Xe.id) : se[le] = Te;
3700
+ K[le] && K[le].type === "many2one" && Te && Array.isArray(Te) && Te.length === 2 ? se[le] = Te[0] : K[le] && (K[le].type === "one2many" || K[le].type === "many2many") && Te && Te.items ? se[le] = Te.items.filter((Qe) => Qe.operation !== "pendingRemove").map((Qe) => Qe.id) : se[le] = Te;
3701
3701
  }), se;
3702
3702
  }
3703
3703
  function Ae() {
@@ -3810,7 +3810,7 @@ function kd(e, t) {
3810
3810
  reset: se,
3811
3811
  isDefaultGet: le = !1
3812
3812
  }) => {
3813
- const Xe = { ...se ? {} : W.getFieldsValue(!0), ...U }, nr = Wt(Xe, K), xa = Object.keys(K).map((rr) => {
3813
+ const Qe = { ...se ? {} : W.getFieldsValue(!0), ...U }, nr = Wt(Qe, K), xa = Object.keys(K).map((rr) => {
3814
3814
  const Ca = nr[rr] !== void 0 ? nr[rr] : void 0;
3815
3815
  return {
3816
3816
  name: rr,
@@ -3825,7 +3825,7 @@ function kd(e, t) {
3825
3825
  }) => {
3826
3826
  let se = {}, le = !1;
3827
3827
  if (pe()) {
3828
- const Te = R || go({
3828
+ const Te = R || yo({
3829
3829
  arch: K,
3830
3830
  fields: U,
3831
3831
  values: {}
@@ -3837,7 +3837,7 @@ function kd(e, t) {
3837
3837
  context: g
3838
3838
  }))[0], v)
3839
3839
  return { values: se, defaultGetCalled: le };
3840
- const Xe = await P.getHandler().search({
3840
+ const Qe = await P.getHandler().search({
3841
3841
  params: [
3842
3842
  ["res_model", "=", n],
3843
3843
  ["res_id", "=", pe()]
@@ -3846,11 +3846,11 @@ function kd(e, t) {
3846
3846
  context: xe(),
3847
3847
  model: "ir.attachment"
3848
3848
  });
3849
- _e == null || _e(Xe);
3849
+ _e == null || _e(Qe);
3850
3850
  } else
3851
3851
  _e == null || _e([]), se = await Pe(U), le = !0;
3852
3852
  return { values: se, defaultGetCalled: le };
3853
- }, ho = async (U) => {
3853
+ }, go = async (U) => {
3854
3854
  const { callOnSubmitSucceed: K = !0 } = U || {};
3855
3855
  if (pe()) {
3856
3856
  const se = sr({
@@ -3900,23 +3900,23 @@ function kd(e, t) {
3900
3900
  if (!Ye() && pe() && se)
3901
3901
  return z.current = !1, ce == null || ce(!1), Oe == null || Oe(), { succeed: !0, id: pe() };
3902
3902
  if (await St())
3903
- return z.current = !1, No(A), { succeed: !1, id: pe() };
3903
+ return z.current = !1, Mo(A), { succeed: !1, id: pe() };
3904
3904
  F(!0), Fe == null || Fe(!0);
3905
3905
  try {
3906
- p === "api" ? await ho(U) : await ua(U), d && (V.current = void 0, mt({ values: {}, fields: k, reset: !0 })), await ze({ forceRefresh: !0 }), K = !0, or.success(A("savedRegisters"));
3906
+ p === "api" ? await go(U) : await ua(U), d && (V.current = void 0, mt({ values: {}, fields: k, reset: !0 })), await ze({ forceRefresh: !0 }), K = !0, or.success(A("savedRegisters"));
3907
3907
  } catch (le) {
3908
3908
  z.current = !1, F(!1), Fe == null || Fe(!1), qe == null || qe(le), or.error(A("errorWhileSavingForm")), $(le != null && le.message ? le.message : le);
3909
3909
  } finally {
3910
3910
  z.current = !1, Fe == null || Fe(!1), F(!1);
3911
3911
  }
3912
3912
  return { succeed: K, id: pe() };
3913
- }, go = ({
3913
+ }, yo = ({
3914
3914
  fields: U,
3915
3915
  arch: K,
3916
3916
  values: se,
3917
3917
  operationInProgress: le = !1
3918
3918
  }) => {
3919
- const Te = new _i(U);
3919
+ const Te = new Vi(U);
3920
3920
  return Te.parse(K, {
3921
3921
  readOnly: f || le,
3922
3922
  values: Cc(
@@ -3933,14 +3933,14 @@ function kd(e, t) {
3933
3933
  values: se,
3934
3934
  operationInProgress: le = !1
3935
3935
  }) => {
3936
- var Xe;
3937
- const Te = go({
3936
+ var Qe;
3937
+ const Te = yo({
3938
3938
  arch: K,
3939
3939
  fields: U,
3940
3940
  values: se,
3941
3941
  operationInProgress: le
3942
3942
  });
3943
- G(Te), Te.string && Te.string !== J && (Ce == null || Ce(Te.string)), te && Te.string && ((Xe = te.setTitle) == null || Xe.call(te, Te.string));
3943
+ G(Te), Te.string && Te.string !== J && (Ce == null || Ce(Te.string)), te && Te.string && ((Qe = te.setTitle) == null || Qe.call(te, Te.string));
3944
3944
  }, er = async ({
3945
3945
  elementHasLostFocus: U = !1
3946
3946
  }) => {
@@ -4009,23 +4009,23 @@ function kd(e, t) {
4009
4009
  const Te = {
4010
4010
  ...ke(k),
4011
4011
  ...le.value
4012
- }, Xe = Tc({
4012
+ }, Qe = Tc({
4013
4013
  values: Te,
4014
4014
  fields: k
4015
4015
  });
4016
4016
  fn({
4017
4017
  fields: k,
4018
4018
  arch: L,
4019
- values: Xe
4019
+ values: Qe
4020
4020
  }), mt({
4021
- values: Xe,
4021
+ values: Qe,
4022
4022
  fields: k,
4023
4023
  reset: !1
4024
4024
  });
4025
4025
  }
4026
4026
  if (le.warning && le.warning.title && le.warning.message && !fe.current) {
4027
- const { title: Te, message: Xe } = le.warning;
4028
- fe.current = !0, Fd(Te, Xe, () => {
4027
+ const { title: Te, message: Qe } = le.warning;
4028
+ fe.current = !0, Fd(Te, Qe, () => {
4029
4029
  fe.current = !1;
4030
4030
  });
4031
4031
  }
@@ -4065,7 +4065,7 @@ function kd(e, t) {
4065
4065
  context: se.context,
4066
4066
  fields: k,
4067
4067
  values: q()
4068
- })), await yo({
4068
+ })), await vo({
4069
4069
  actionData: se,
4070
4070
  context: { ...K, ...le }
4071
4071
  });
@@ -4089,9 +4089,9 @@ function kd(e, t) {
4089
4089
  ids: [parseInt(U)],
4090
4090
  context: g
4091
4091
  }))[0];
4092
- await yo({ actionData: se, context: K });
4092
+ await vo({ actionData: se, context: K });
4093
4093
  }
4094
- async function yo({
4094
+ async function vo({
4095
4095
  actionData: U,
4096
4096
  context: K
4097
4097
  }) {
@@ -4131,14 +4131,14 @@ function kd(e, t) {
4131
4131
  return;
4132
4132
  }
4133
4133
  if (await St()) {
4134
- No(A);
4134
+ Mo(A);
4135
4135
  return;
4136
4136
  }
4137
4137
  let le = !1;
4138
4138
  try {
4139
- !f && (Ye() || pe() === void 0) && (le = !0, tr(!0), p === "2many" ? (await ho({ callOnSubmitSucceed: !1 }), Y.current = !0) : await In({ callOnSubmitSucceed: !1 }));
4140
- const Te = Y.current ? De() : {}, Xe = { ...se, ...Te };
4141
- U === "object" ? await ha({ action: K, context: Xe }) : U === "workflow" ? await ga({ action: K }) : U === "action" && await ya({ action: K, context: Xe }), le && tr(!1);
4139
+ !f && (Ye() || pe() === void 0) && (le = !0, tr(!0), p === "2many" ? (await go({ callOnSubmitSucceed: !1 }), Y.current = !0) : await In({ callOnSubmitSucceed: !1 }));
4140
+ const Te = Y.current ? De() : {}, Qe = { ...se, ...Te };
4141
+ U === "object" ? await ha({ action: K, context: Qe }) : U === "workflow" ? await ga({ action: K }) : U === "action" && await ya({ action: K, context: Qe }), le && tr(!1);
4142
4142
  } catch (Te) {
4143
4143
  le && tr(!1), it(Te);
4144
4144
  }
@@ -4181,7 +4181,7 @@ function kd(e, t) {
4181
4181
  }
4182
4182
  ) }), Sa = () => /* @__PURE__ */ E(ae, { children: [
4183
4183
  /* @__PURE__ */ i(Ln, {}),
4184
- /* @__PURE__ */ i(Ne, { justify: "end", children: /* @__PURE__ */ E(Ze, { children: [
4184
+ /* @__PURE__ */ i(Ne, { justify: "end", children: /* @__PURE__ */ E(Xe, { children: [
4185
4185
  /* @__PURE__ */ i(
4186
4186
  je,
4187
4187
  {
@@ -4307,11 +4307,11 @@ const cn = pt(kd), dn = (e) => {
4307
4307
  en_US: Fl,
4308
4308
  es_ES: Rl,
4309
4309
  ca_ES: _l
4310
- }, oo = () => {
4310
+ }, io = () => {
4311
4311
  const { locale: e } = he();
4312
4312
  return $d[e];
4313
4313
  }, Nd = (e) => {
4314
- const t = oo();
4314
+ const t = io();
4315
4315
  return /* @__PURE__ */ i(Re, { ...e, layout: "vertical", children: /* @__PURE__ */ i(
4316
4316
  Mr.RangePicker,
4317
4317
  {
@@ -4344,7 +4344,7 @@ const cn = pt(kd), dn = (e) => {
4344
4344
  }
4345
4345
  );
4346
4346
  }, Md = (e) => {
4347
- const { ooui: t, showLabel: n = !1 } = e, { label: r, id: o } = t, s = oo(), a = [
4347
+ const { ooui: t, showLabel: n = !1 } = e, { label: r, id: o } = t, s = io(), a = [
4348
4348
  new vr({
4349
4349
  name: o + "#date",
4350
4350
  label: ""
@@ -4411,7 +4411,7 @@ const cn = pt(kd), dn = (e) => {
4411
4411
  ] }), { useToken: jd } = Ge, us = (e) => {
4412
4412
  const { ooui: t } = e, { id: n, decimalDigits: r, readOnly: o, required: s } = t, { token: a } = jd(), l = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, c = oe(He), { elementHasLostFocus: u } = c || {};
4413
4413
  return /* @__PURE__ */ i(Re, { required: s, type: "number", ...e, children: /* @__PURE__ */ i(
4414
- xi,
4414
+ Ci,
4415
4415
  {
4416
4416
  disabled: o,
4417
4417
  className: "w-full",
@@ -4427,7 +4427,7 @@ const cn = pt(kd), dn = (e) => {
4427
4427
  }, { useToken: Bd } = Ge, $n = (e) => {
4428
4428
  const { ooui: t, onChange: n } = e, { id: r, readOnly: o, required: s } = t, { token: a } = Bd(), l = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, c = oe(He), { elementHasLostFocus: u } = c || {};
4429
4429
  return /* @__PURE__ */ i(Re, { required: s, type: "number", ...e, children: /* @__PURE__ */ i(
4430
- xi,
4430
+ Ci,
4431
4431
  {
4432
4432
  id: r,
4433
4433
  className: "w-full ",
@@ -4590,7 +4590,7 @@ function Xd(e) {
4590
4590
  const { onLimitChange: t } = e, { t: n } = he(), r = new wr({ name: "limit" }), o = new wr({ name: "offset" });
4591
4591
  return /* @__PURE__ */ E("div", { className: "pl-2 pt-2", children: [
4592
4592
  /* @__PURE__ */ i(Ne, { children: n("parameters") }, "count_params"),
4593
- /* @__PURE__ */ E(Ze, { align: "center", children: [
4593
+ /* @__PURE__ */ E(Xe, { align: "center", children: [
4594
4594
  n("limit") + " :",
4595
4595
  /* @__PURE__ */ i(
4596
4596
  $n,
@@ -4606,7 +4606,7 @@ function Xd(e) {
4606
4606
  ] })
4607
4607
  ] });
4608
4608
  }
4609
- const Lo = (e) => typeof e == "string" && e === "true" || e === "false" ? e === "true" : e, Rn = (e, t) => {
4609
+ const jo = (e) => typeof e == "string" && e === "true" || e === "false" ? e === "true" : e, Rn = (e, t) => {
4610
4610
  const n = ru(e), r = tu(n), o = nu(
4611
4611
  r,
4612
4612
  t
@@ -4633,9 +4633,9 @@ const Lo = (e) => typeof e == "string" && e === "true" || e === "false" ? e ===
4633
4633
  e,
4634
4634
  "in",
4635
4635
  t.map(
4636
- (a) => Lo(a)
4636
+ (a) => jo(a)
4637
4637
  )
4638
- ] : [e, "=", Lo(t)];
4638
+ ] : [e, "=", jo(t)];
4639
4639
  }, Zd = (e) => Object.keys(e).filter((t) => t.indexOf("#date") !== -1), eu = (e) => {
4640
4640
  const t = { ...e };
4641
4641
  return Object.keys(t).forEach(
@@ -4706,7 +4706,7 @@ function ms(e) {
4706
4706
  return F == null ? void 0 : F.map((_, $) => /* @__PURE__ */ i(Ne, { children: _.map((R, G) => /* @__PURE__ */ i(be, { xs: 24, className: "p-2", xl: 6, children: /* @__PURE__ */ i(fs, { field: R }) }, G)) }, $));
4707
4707
  };
4708
4708
  yt(() => {
4709
- x(!1), I.current = new Vi(n, t), I.current.parse(), y(I.current._simpleSearchContainer), g(I.current._advancedSearchContainer);
4709
+ x(!1), I.current = new Di(n, t), I.current.parse(), y(I.current._simpleSearchContainer), g(I.current._advancedSearchContainer);
4710
4710
  }, [t, n]);
4711
4711
  const T = C(), A = (D) => {
4712
4712
  var R;
@@ -4768,7 +4768,7 @@ function ms(e) {
4768
4768
  }
4769
4769
  );
4770
4770
  }
4771
- const jo = (e, t = "14px -apple-system") => {
4771
+ const Bo = (e, t = "14px -apple-system") => {
4772
4772
  const r = document.createElement("canvas").getContext("2d");
4773
4773
  r.font = t;
4774
4774
  const o = r.measureText(e);
@@ -4778,13 +4778,13 @@ const jo = (e, t = "14px -apple-system") => {
4778
4778
  return { columns: e };
4779
4779
  const r = e.map(
4780
4780
  (s) => Object.assign(s, {
4781
- width: jo(s.title)
4781
+ width: Bo(s.title)
4782
4782
  })
4783
4783
  );
4784
4784
  t.map((s) => {
4785
4785
  r.map((a, l) => {
4786
4786
  const c = a.width, u = s[a.key] || "";
4787
- let f = jo(u);
4787
+ let f = Bo(u);
4788
4788
  f < c && (f = c), f > n && (f = n), r[l].width = f;
4789
4789
  });
4790
4790
  });
@@ -4931,7 +4931,7 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
4931
4931
  }
4932
4932
  ),
4933
4933
  /* @__PURE__ */ i(
4934
- To,
4934
+ Io,
4935
4935
  {
4936
4936
  visible: r,
4937
4937
  items: c == null ? void 0 : c.actionItems,
@@ -4942,7 +4942,7 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
4942
4942
  }
4943
4943
  ),
4944
4944
  /* @__PURE__ */ i(
4945
- To,
4945
+ Io,
4946
4946
  {
4947
4947
  visible: s,
4948
4948
  items: c == null ? void 0 : c.printItems,
@@ -4953,7 +4953,7 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
4953
4953
  }
4954
4954
  )
4955
4955
  ] });
4956
- }, io = (e) => {
4956
+ }, so = (e) => {
4957
4957
  const { id: t, model: n, context: r = {} } = e, [o, s] = S(), [a, l] = S(), c = oe(
4958
4958
  wt
4959
4959
  ), { openRelate: u } = c || {}, f = oe(
@@ -5043,9 +5043,9 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5043
5043
  ];
5044
5044
  }, pu = (e) => {
5045
5045
  const { m2oField: t } = e;
5046
- return t ? /* @__PURE__ */ E(Ze, { children: [
5046
+ return t ? /* @__PURE__ */ E(Xe, { children: [
5047
5047
  /* @__PURE__ */ i(ae, { children: t.value }),
5048
- /* @__PURE__ */ i(io, { id: t.id, model: t.model })
5048
+ /* @__PURE__ */ i(so, { id: t.id, model: t.model })
5049
5049
  ] }) : /* @__PURE__ */ i(ae, {});
5050
5050
  }, hu = (e) => {
5051
5051
  const { value: t, context: n, selectionValues: r } = e, [o, s] = S(), [a, l] = S(!1), [c, u] = t ? t.split(",") : [], f = parseInt(u), d = B(async () => {
@@ -5067,10 +5067,10 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5067
5067
  if (a)
5068
5068
  return /* @__PURE__ */ i(gt, {});
5069
5069
  const p = r.get(c);
5070
- return /* @__PURE__ */ E(Ze, { children: [
5070
+ return /* @__PURE__ */ E(Xe, { children: [
5071
5071
  /* @__PURE__ */ i(ae, { children: `${p}:` }),
5072
5072
  /* @__PURE__ */ i(ae, { children: o }),
5073
- /* @__PURE__ */ i(io, { id: f, model: c })
5073
+ /* @__PURE__ */ i(so, { id: f, model: c })
5074
5074
  ] });
5075
5075
  }, gu = (e) => {
5076
5076
  const { ooui: t, value: n } = e;
@@ -5079,7 +5079,7 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5079
5079
  let r = n;
5080
5080
  t.selectionValues.size ? r = t.selectionValues.get(n) : Array.isArray(n) && (r = n[1]);
5081
5081
  const o = r.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), s = vn(r);
5082
- return /* @__PURE__ */ i(At, { title: r, children: /* @__PURE__ */ i(Ci, { alt: r, style: { backgroundColor: s }, children: o }) });
5082
+ return /* @__PURE__ */ i(At, { title: r, children: /* @__PURE__ */ i(Ti, { alt: r, style: { backgroundColor: s }, children: o }) });
5083
5083
  }, { useToken: yu } = Ge, Ct = {
5084
5084
  date: {
5085
5085
  placeholder: "__/__/____",
@@ -5095,7 +5095,7 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5095
5095
  const { ooui: t, showTime: n = !1 } = e, { required: r } = t;
5096
5096
  return /* @__PURE__ */ i(Re, { required: r, ...e, children: /* @__PURE__ */ i(vu, { ooui: t, showTime: n }) });
5097
5097
  }, vu = (e) => {
5098
- const { value: t, onChange: n, ooui: r, showTime: o } = e, { id: s, readOnly: a, required: l } = r, { token: c } = yu(), u = oo(), f = l && !a ? { backgroundColor: c.colorPrimaryBg } : void 0, d = o ? "time" : "date", p = (y) => {
5098
+ const { value: t, onChange: n, ooui: r, showTime: o } = e, { id: s, readOnly: a, required: l } = r, { token: c } = yu(), u = io(), f = l && !a ? { backgroundColor: c.colorPrimaryBg } : void 0, d = o ? "time" : "date", p = (y) => {
5099
5099
  n == null || n(y);
5100
5100
  }, h = (y) => {
5101
5101
  if (y == null) {
@@ -5162,14 +5162,14 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5162
5162
  Ct.time.dateInternalFormat
5163
5163
  ).format(Ct.time.dateDisplayFormat);
5164
5164
  return /* @__PURE__ */ i(ae, { children: t });
5165
- }, [e]), Bo = ({
5165
+ }, [e]), Ho = ({
5166
5166
  value: e
5167
5167
  }) => we(() => {
5168
5168
  const t = Array.isArray(e == null ? void 0 : e.items) ? e == null ? void 0 : e.items.length : 0;
5169
5169
  return /* @__PURE__ */ i(ae, { children: `( ${t} )` });
5170
5170
  }, [e]), Tu = ({
5171
5171
  value: e
5172
- }) => we(() => /* @__PURE__ */ i(hs, { value: e }), [e]), Iu = ({ value: e }) => we(() => /* @__PURE__ */ i(ae, { children: ps(e) }), [e]), Ho = ({ value: e }) => we(
5172
+ }) => we(() => /* @__PURE__ */ i(hs, { value: e }), [e]), Iu = ({ value: e }) => we(() => /* @__PURE__ */ i(ae, { children: ps(e) }), [e]), Uo = ({ value: e }) => we(
5173
5173
  () => /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: e }),
5174
5174
  [e]
5175
5175
  ), Ou = ({ value: e }) => we(
@@ -5244,7 +5244,7 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5244
5244
  const d = we(
5245
5245
  () => o.map((p) => {
5246
5246
  const { id: h, name: m } = p, y = vn(m);
5247
- return /* @__PURE__ */ i(ro, { color: y, children: m }, `${h}`);
5247
+ return /* @__PURE__ */ i(oo, { color: y, children: m }, `${h}`);
5248
5248
  }),
5249
5249
  [o]
5250
5250
  );
@@ -5259,17 +5259,17 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5259
5259
  children: d
5260
5260
  }
5261
5261
  ), [d, a]);
5262
- }, so = {
5262
+ }, ao = {
5263
5263
  boolean: wu,
5264
5264
  many2one: bu,
5265
5265
  text: Su,
5266
- one2many: Bo,
5267
- many2many: Bo,
5266
+ one2many: Ho,
5267
+ many2many: Ho,
5268
5268
  progressbar: Tu,
5269
5269
  float_time: Iu,
5270
5270
  image: Ou,
5271
- integer: Ho,
5272
- float: Ho,
5271
+ integer: Uo,
5272
+ float: Uo,
5273
5273
  reference: Ru,
5274
5274
  tag: Au,
5275
5275
  selection: Fu,
@@ -5307,10 +5307,10 @@ const du = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(hs,
5307
5307
  lt
5308
5308
  ), { title: L = void 0, setTitle: N = void 0 } = (I ? W : {}) || {}, k = we(() => {
5309
5309
  if (_)
5310
- return Qr(
5310
+ return Zr(
5311
5311
  _,
5312
5312
  {
5313
- ...so
5313
+ ...ao
5314
5314
  },
5315
5315
  w
5316
5316
  );
@@ -5829,7 +5829,7 @@ function Du(e, t) {
5829
5829
  ms,
5830
5830
  {
5831
5831
  fields: { ...C.fields, ...w.fields },
5832
- searchFields: no([
5832
+ searchFields: ro([
5833
5833
  C.search_fields,
5834
5834
  w.search_fields
5835
5835
  ]),
@@ -5929,7 +5929,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
5929
5929
  },
5930
5930
  [e]
5931
5931
  );
5932
- }, ao = (e) => {
5932
+ }, lo = (e) => {
5933
5933
  const {
5934
5934
  visible: t,
5935
5935
  onCloseModal: n,
@@ -5976,7 +5976,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
5976
5976
  }
5977
5977
  ),
5978
5978
  /* @__PURE__ */ i(Ln, {}),
5979
- /* @__PURE__ */ i(Ne, { justify: "end", children: /* @__PURE__ */ E(Ze, { children: [
5979
+ /* @__PURE__ */ i(Ne, { justify: "end", children: /* @__PURE__ */ E(Xe, { children: [
5980
5980
  /* @__PURE__ */ i(
5981
5981
  je,
5982
5982
  {
@@ -6149,7 +6149,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6149
6149
  onBlur: X,
6150
6150
  onKeyDown: ne,
6151
6151
  suffix: /* @__PURE__ */ i(
6152
- io,
6152
+ so,
6153
6153
  {
6154
6154
  id: W,
6155
6155
  model: s,
@@ -6183,7 +6183,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6183
6183
  }
6184
6184
  ) }),
6185
6185
  /* @__PURE__ */ i(
6186
- ao,
6186
+ lo,
6187
6187
  {
6188
6188
  model: s,
6189
6189
  domain: R,
@@ -6262,7 +6262,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6262
6262
  }, h = () => {
6263
6263
  f(!1);
6264
6264
  const y = document.querySelector("#confirm-modal-container");
6265
- y && (Hi(y).unmount(), y.remove());
6265
+ y && (Ui(y).unmount(), y.remove());
6266
6266
  };
6267
6267
  return /* @__PURE__ */ i(
6268
6268
  at,
@@ -6285,7 +6285,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6285
6285
  }, Cs = (e) => {
6286
6286
  const t = document.createElement("div");
6287
6287
  document.body.appendChild(t);
6288
- const n = Hi(t);
6288
+ const n = Ui(t);
6289
6289
  return n.render(
6290
6290
  /* @__PURE__ */ i(
6291
6291
  Lu,
@@ -6393,7 +6393,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6393
6393
  tt,
6394
6394
  {
6395
6395
  tooltip: "Previous item",
6396
- icon: /* @__PURE__ */ i($i, {}),
6396
+ icon: /* @__PURE__ */ i(Ni, {}),
6397
6397
  onClick: u
6398
6398
  }
6399
6399
  ),
@@ -6402,7 +6402,7 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6402
6402
  tt,
6403
6403
  {
6404
6404
  tooltip: "Next item",
6405
- icon: /* @__PURE__ */ i(Ni, {}),
6405
+ icon: /* @__PURE__ */ i(Mi, {}),
6406
6406
  onClick: f
6407
6407
  }
6408
6408
  )
@@ -6447,8 +6447,8 @@ const ws = pt(Du), { error: Eu } = at, Nt = (e) => {
6447
6447
  ] })
6448
6448
  ] });
6449
6449
  }, Bu = {
6450
- form: _i,
6451
- tree: Oi,
6450
+ form: Vi,
6451
+ tree: Ai,
6452
6452
  graph: on
6453
6453
  };
6454
6454
  function Hu(e) {
@@ -6502,7 +6502,7 @@ const Uu = (e) => {
6502
6502
  var ge, Ae, xe;
6503
6503
  w(!0), x(!1), C(void 0);
6504
6504
  try {
6505
- const [De, Z] = await Zr({
6505
+ const [De, Z] = await eo({
6506
6506
  treeView: {
6507
6507
  arch: (ge = o.get("tree")) == null ? void 0 : ge.arch,
6508
6508
  fields: (Ae = o.get("tree")) == null ? void 0 : Ae.fields
@@ -6697,7 +6697,7 @@ const Uu = (e) => {
6697
6697
  function Oe() {
6698
6698
  const q = Bu[a];
6699
6699
  if (a === "graph")
6700
- return Ri(o.get("graph").arch).string;
6700
+ return _i(o.get("graph").arch).string;
6701
6701
  {
6702
6702
  const ge = new q(o.get(a).fields);
6703
6703
  return ge.parse(o.get(a).arch), ge.string;
@@ -6820,7 +6820,7 @@ const Uu = (e) => {
6820
6820
  }
6821
6821
  ),
6822
6822
  /* @__PURE__ */ i(
6823
- ao,
6823
+ lo,
6824
6824
  {
6825
6825
  domain: N.current,
6826
6826
  model: ee,
@@ -7191,11 +7191,11 @@ const Xu = ({
7191
7191
  m.push({
7192
7192
  id: g.id,
7193
7193
  operation: "pendingLink",
7194
- values: Vo({
7194
+ values: Do({
7195
7195
  values: g,
7196
7196
  fields: ["id", ...Object.keys(s.get("form").fields)]
7197
7197
  }),
7198
- treeValues: Vo({
7198
+ treeValues: Do({
7199
7199
  values: g,
7200
7200
  fields: ["id", ...Object.keys(s.get("tree").fields)]
7201
7201
  })
@@ -7365,10 +7365,10 @@ const Xu = ({
7365
7365
  }
7366
7366
  I.current = e, (R = g == null ? void 0 : g.current) == null || R.refresh(), (G = g == null ? void 0 : g.current) == null || G.unselectAll();
7367
7367
  }, [e]);
7368
- const C = yn(() => e.length, [e]), T = yn(() => Qr(
7368
+ const C = yn(() => e.length, [e]), T = yn(() => Zr(
7369
7369
  o,
7370
7370
  {
7371
- ...so
7371
+ ...ao
7372
7372
  },
7373
7373
  s
7374
7374
  ), [s, o]), A = B(
@@ -7412,7 +7412,7 @@ const Xu = ({
7412
7412
  })
7413
7413
  );
7414
7414
  return F ? /* @__PURE__ */ i(We, {}) : /* @__PURE__ */ i(
7415
- Ui,
7415
+ Wi,
7416
7416
  {
7417
7417
  ref: g,
7418
7418
  height: t || rf,
@@ -7441,7 +7441,7 @@ const Xu = ({
7441
7441
  }
7442
7442
  }
7443
7443
  );
7444
- }, Uo = ["sum", "count", "max", "min"], Rs = ({
7444
+ }, Wo = ["sum", "count", "max", "min"], Rs = ({
7445
7445
  ooui: e,
7446
7446
  model: t,
7447
7447
  domain: n,
@@ -7453,9 +7453,9 @@ const Xu = ({
7453
7453
  if (e)
7454
7454
  return e.columns.filter((h) => Object.keys(h).some((m) => {
7455
7455
  var y;
7456
- return h[m] !== void 0 && ((y = h[m]) == null ? void 0 : y.length) > 0 && Uo.includes(m.slice(1));
7456
+ return h[m] !== void 0 && ((y = h[m]) == null ? void 0 : y.length) > 0 && Wo.includes(m.slice(1));
7457
7457
  })).map((h) => {
7458
- const m = Object.keys(h).filter((y) => Uo.includes(y.slice(1))).map((y) => y.slice(1));
7458
+ const m = Object.keys(h).filter((y) => Wo.includes(y.slice(1))).map((y) => y.slice(1));
7459
7459
  return {
7460
7460
  [h.id]: m
7461
7461
  };
@@ -7738,7 +7738,7 @@ const Xu = ({
7738
7738
  }
7739
7739
  ),
7740
7740
  /* @__PURE__ */ i(
7741
- ao,
7741
+ lo,
7742
7742
  {
7743
7743
  domain: T,
7744
7744
  model: h,
@@ -7871,7 +7871,7 @@ function _s(e) {
7871
7871
  }
7872
7872
  ) });
7873
7873
  }
7874
- const { TabPane: hf } = Ti;
7874
+ const { TabPane: hf } = Ii;
7875
7875
  function gf(e) {
7876
7876
  const { ooui: t, responsiveBehaviour: n } = e, r = t.pages;
7877
7877
  function o(s) {
@@ -7880,7 +7880,7 @@ function gf(e) {
7880
7880
  return a && /* @__PURE__ */ i(a, {});
7881
7881
  }
7882
7882
  }
7883
- return /* @__PURE__ */ i(Ti, { defaultActiveKey: "1", tabPosition: t.tabPosition, children: r.filter((s) => !s.invisible).map((s) => /* @__PURE__ */ i(
7883
+ return /* @__PURE__ */ i(Ii, { defaultActiveKey: "1", tabPosition: t.tabPosition, children: r.filter((s) => !s.invisible).map((s) => /* @__PURE__ */ i(
7884
7884
  hf,
7885
7885
  {
7886
7886
  tab: /* @__PURE__ */ E(ae, { children: [
@@ -8005,7 +8005,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8005
8005
  tt,
8006
8006
  {
8007
8007
  tooltip: h("translate"),
8008
- icon: /* @__PURE__ */ i(ki, {}),
8008
+ icon: /* @__PURE__ */ i($i, {}),
8009
8009
  onClick: async () => {
8010
8010
  u != null && u() ? Tt(h("saveBeforeTranslate")) : Tt(h("enterTextBeforeTranslate"));
8011
8011
  },
@@ -8015,7 +8015,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8015
8015
  ] });
8016
8016
  }, bf = (e) => {
8017
8017
  const { ooui: t } = e, { label: n, icon: r } = t, o = vt(r || "");
8018
- return /* @__PURE__ */ i(Ln, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ E(Ze, { children: [
8018
+ return /* @__PURE__ */ i(Ln, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ E(Xe, { children: [
8019
8019
  o ? /* @__PURE__ */ i(o, {}) : null,
8020
8020
  n
8021
8021
  ] }) });
@@ -8059,7 +8059,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8059
8059
  context: t,
8060
8060
  fields: []
8061
8061
  });
8062
- return a.current["/"] = v, Wo({ fields: v });
8062
+ return a.current["/"] = v, Go({ fields: v });
8063
8063
  }, [e, t, a]), d = B(
8064
8064
  async (v) => {
8065
8065
  const b = Ar(v, a.current)[Or(v)], x = b.relation, I = await P.getHandler().getFields({
@@ -8072,7 +8072,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8072
8072
  parentTitle: b.string,
8073
8073
  title: O.string
8074
8074
  });
8075
- return a.current[v] = I, Wo({
8075
+ return a.current[v] = I, Go({
8076
8076
  fields: I,
8077
8077
  parentKey: v
8078
8078
  });
@@ -8153,7 +8153,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8153
8153
  onSavePredefinedExport: y,
8154
8154
  onRemovePredefinedExport: h
8155
8155
  };
8156
- }, Wo = ({
8156
+ }, Go = ({
8157
8157
  fields: e,
8158
8158
  parentKey: t
8159
8159
  }) => {
@@ -8346,7 +8346,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8346
8346
  /* @__PURE__ */ i(be, { flex: "3", children: /* @__PURE__ */ i(
8347
8347
  xs,
8348
8348
  {
8349
- ooui: new Ai({
8349
+ ooui: new Fi({
8350
8350
  name: "object_value",
8351
8351
  relation: d,
8352
8352
  readonly: a,
@@ -8407,7 +8407,7 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8407
8407
  }
8408
8408
  )
8409
8409
  ] }),
8410
- /* @__PURE__ */ i(be, { children: /* @__PURE__ */ E(Ze, { children: [
8410
+ /* @__PURE__ */ i(be, { children: /* @__PURE__ */ E(Xe, { children: [
8411
8411
  /* @__PURE__ */ i(
8412
8412
  je,
8413
8413
  {
@@ -8446,10 +8446,10 @@ const { useToken: yf } = Ge, { TextArea: Tr } = ct, vf = (e) => {
8446
8446
  graph: /* @__PURE__ */ i(Ja, {}),
8447
8447
  calendar: /* @__PURE__ */ i(Xa, {})
8448
8448
  };
8449
- function Go(e) {
8449
+ function Ko(e) {
8450
8450
  return e ? (ar == null ? void 0 : ar[e.type]) || /* @__PURE__ */ i(hn, {}) : /* @__PURE__ */ i(hn, {});
8451
8451
  }
8452
- function lo(e) {
8452
+ function co(e) {
8453
8453
  const {
8454
8454
  currentView: t,
8455
8455
  availableViews: n,
@@ -8465,7 +8465,7 @@ function lo(e) {
8465
8465
  return {
8466
8466
  id: d.view_id || p,
8467
8467
  name: d.title || h,
8468
- icon: Go(d),
8468
+ icon: Ko(d),
8469
8469
  selected: t.view_id === d.view_id
8470
8470
  };
8471
8471
  })
@@ -8496,7 +8496,7 @@ function lo(e) {
8496
8496
  tt,
8497
8497
  {
8498
8498
  tooltip: a ? l("viewAs") + " " + l(a.type) : "",
8499
- icon: Go(a),
8499
+ icon: Ko(a),
8500
8500
  style: {
8501
8501
  width: 50,
8502
8502
  borderTopRightRadius: 0,
@@ -8509,7 +8509,7 @@ function lo(e) {
8509
8509
  }
8510
8510
  ),
8511
8511
  /* @__PURE__ */ i(
8512
- Bi,
8512
+ Hi,
8513
8513
  {
8514
8514
  onRetrieveData: async () => c,
8515
8515
  onItemClick: f,
@@ -8613,18 +8613,18 @@ const Lf = (e) => {
8613
8613
  onOpenAttachmentDetail: a,
8614
8614
  onListAllAttachments: l
8615
8615
  } = e, { t: c } = he(), u = Q(null), f = /* @__PURE__ */ E(je, { children: [
8616
- /* @__PURE__ */ i(Co, {}),
8616
+ /* @__PURE__ */ i(To, {}),
8617
8617
  `(${t})`,
8618
8618
  /* @__PURE__ */ i(jn, { style: { fontSize: 12 } })
8619
8619
  ] });
8620
8620
  return /* @__PURE__ */ i(
8621
- Bi,
8621
+ Hi,
8622
8622
  {
8623
8623
  ref: u,
8624
8624
  onRetrieveData: async () => [
8625
8625
  {
8626
8626
  items: n.map((d) => {
8627
- const p = d.link ? Co : Ur, h = /* @__PURE__ */ E(Ne, { wrap: !1, align: "middle", gutter: 8, children: [
8627
+ const p = d.link ? To : Ur, h = /* @__PURE__ */ E(Ne, { wrap: !1, align: "middle", gutter: 8, children: [
8628
8628
  /* @__PURE__ */ i(be, { style: { textAlign: "center" }, children: (d.datas_fname || d.link) && /* @__PURE__ */ i(
8629
8629
  At,
8630
8630
  {
@@ -8801,7 +8801,7 @@ const Bf = () => {
8801
8801
  setCurrentItemIndex: o,
8802
8802
  results: s,
8803
8803
  searchQuery: a
8804
- } = to(!0), [l, c] = Je(
8804
+ } = no(!0), [l, c] = Je(
8805
8805
  P.getHandler().searchForTree
8806
8806
  );
8807
8807
  de(() => () => {
@@ -8901,7 +8901,7 @@ function Hf({ toolbar: e }) {
8901
8901
  setPreviousView: _,
8902
8902
  goToResourceId: $,
8903
8903
  isActive: R
8904
- } = to(!0), { processAction: G } = t || {}, { openRelate: W, openDefaultActionForModel: L } = n || {}, N = d || x || C || I, k = B(
8904
+ } = no(!0), { processAction: G } = t || {}, { openRelate: W, openDefaultActionForModel: L } = n || {}, N = d || x || C || I, k = B(
8905
8905
  (H) => {
8906
8906
  f ? an({ t: r, onOk: H }) : H();
8907
8907
  },
@@ -8982,7 +8982,7 @@ function Hf({ toolbar: e }) {
8982
8982
  },
8983
8983
  { enableOnFormTags: !0, preventDefault: !0 },
8984
8984
  [R, F, l, _, c]
8985
- ), l ? /* @__PURE__ */ E(Ze, { wrap: !0, children: [
8985
+ ), l ? /* @__PURE__ */ E(Xe, { wrap: !0, children: [
8986
8986
  C && /* @__PURE__ */ E(ae, { children: [
8987
8987
  /* @__PURE__ */ i(We, {}),
8988
8988
  jt(),
@@ -9031,7 +9031,7 @@ function Hf({ toolbar: e }) {
9031
9031
  /* @__PURE__ */ i(
9032
9032
  et,
9033
9033
  {
9034
- icon: /* @__PURE__ */ i(Mi, {}),
9034
+ icon: /* @__PURE__ */ i(Li, {}),
9035
9035
  tooltip: r("showLogs"),
9036
9036
  disabled: N || p === void 0,
9037
9037
  onClick: () => Es(g, p, r)
@@ -9048,7 +9048,7 @@ function Hf({ toolbar: e }) {
9048
9048
  ),
9049
9049
  jt(),
9050
9050
  /* @__PURE__ */ i(
9051
- lo,
9051
+ co,
9052
9052
  {
9053
9053
  currentView: l,
9054
9054
  previousView: F,
@@ -9061,11 +9061,11 @@ function Hf({ toolbar: e }) {
9061
9061
  }
9062
9062
  ),
9063
9063
  jt(),
9064
- /* @__PURE__ */ E(Ze, { children: [
9064
+ /* @__PURE__ */ E(Xe, { children: [
9065
9065
  /* @__PURE__ */ i(
9066
9066
  et,
9067
9067
  {
9068
- icon: /* @__PURE__ */ i($i, {}),
9068
+ icon: /* @__PURE__ */ i(Ni, {}),
9069
9069
  tooltip: r("previous"),
9070
9070
  disabled: N,
9071
9071
  onClick: () => k(s)
@@ -9074,7 +9074,7 @@ function Hf({ toolbar: e }) {
9074
9074
  /* @__PURE__ */ i(
9075
9075
  et,
9076
9076
  {
9077
- icon: /* @__PURE__ */ i(Ni, {}),
9077
+ icon: /* @__PURE__ */ i(Mi, {}),
9078
9078
  tooltip: r("next"),
9079
9079
  disabled: N,
9080
9080
  onClick: () => k(o)
@@ -9147,7 +9147,7 @@ function Hf({ toolbar: e }) {
9147
9147
  onAddNewAttachment: async () => {
9148
9148
  const H = await Bt({ onFormSave: u });
9149
9149
  H.succeed && L({
9150
- ...Ko(
9150
+ ...qo(
9151
9151
  g,
9152
9152
  H.currentId
9153
9153
  ),
@@ -9157,7 +9157,7 @@ function Hf({ toolbar: e }) {
9157
9157
  onListAllAttachments: async () => {
9158
9158
  const H = await Bt({ onFormSave: u });
9159
9159
  H.succeed && L({
9160
- ...Ko(
9160
+ ...qo(
9161
9161
  g,
9162
9162
  H.currentId
9163
9163
  ),
@@ -9180,7 +9180,7 @@ const jt = () => /* @__PURE__ */ i("div", { className: "inline-block w-2" }), Bt
9180
9180
  }) => {
9181
9181
  const t = await (e == null ? void 0 : e());
9182
9182
  return t != null && t.succeed ? { succeed: !0, currentId: t.id } : { succeed: !1, currentId: void 0 };
9183
- }, Ko = (e, t) => ({
9183
+ }, qo = (e, t) => ({
9184
9184
  model: "ir.attachment",
9185
9185
  domain: [
9186
9186
  ["res_model", "=", e],
@@ -9210,7 +9210,7 @@ const jt = () => /* @__PURE__ */ i("div", { className: "inline-block w-2" }), Bt
9210
9210
  ) : /* @__PURE__ */ i(
9211
9211
  je,
9212
9212
  {
9213
- icon: /* @__PURE__ */ i(Li, {}),
9213
+ icon: /* @__PURE__ */ i(ji, {}),
9214
9214
  onClick: () => {
9215
9215
  m(!0), v(!0);
9216
9216
  },
@@ -9299,7 +9299,7 @@ const jt = () => /* @__PURE__ */ i("div", { className: "inline-block w-2" }), Bt
9299
9299
  children: /* @__PURE__ */ i(ct, { style: { width: "100%" }, autoFocus: !0, ref: a })
9300
9300
  }
9301
9301
  ),
9302
- /* @__PURE__ */ i(Ne, { align: "middle", justify: "end", children: /* @__PURE__ */ i(be, { children: /* @__PURE__ */ E(Ze, { children: [
9302
+ /* @__PURE__ */ i(Ne, { align: "middle", justify: "end", children: /* @__PURE__ */ i(be, { children: /* @__PURE__ */ E(Xe, { children: [
9303
9303
  /* @__PURE__ */ i(
9304
9304
  je,
9305
9305
  {
@@ -9386,12 +9386,12 @@ function Yf({ refreshGraph: e }) {
9386
9386
  previousView: u,
9387
9387
  setPreviousView: f
9388
9388
  } = oe(lt);
9389
- return /* @__PURE__ */ E(Ze, { wrap: !0, children: [
9389
+ return /* @__PURE__ */ E(Xe, { wrap: !0, children: [
9390
9390
  /* @__PURE__ */ i(
9391
9391
  ks,
9392
9392
  {
9393
9393
  icon: /* @__PURE__ */ i(
9394
- ji,
9394
+ Bi,
9395
9395
  {
9396
9396
  style: { color: a ? "white" : void 0 }
9397
9397
  }
@@ -9418,7 +9418,7 @@ function Yf({ refreshGraph: e }) {
9418
9418
  }
9419
9419
  ),
9420
9420
  /* @__PURE__ */ i(
9421
- lo,
9421
+ co,
9422
9422
  {
9423
9423
  currentView: r,
9424
9424
  availableViews: n,
@@ -9602,7 +9602,7 @@ const { useToken: zf } = Ge, { Title: Jf, Text: An } = Rt, Xn = ({
9602
9602
  ms,
9603
9603
  {
9604
9604
  fields: { ...l.fields, ...a.fields },
9605
- searchFields: no([
9605
+ searchFields: ro([
9606
9606
  a.search_fields,
9607
9607
  l.search_fields
9608
9608
  ]),
@@ -9828,7 +9828,7 @@ function em(e) {
9828
9828
  }
9829
9829
  });
9830
9830
  }
9831
- return /* @__PURE__ */ E(Ze, { wrap: !0, children: [
9831
+ return /* @__PURE__ */ E(Xe, { wrap: !0, children: [
9832
9832
  b && /* @__PURE__ */ E(ae, { children: [
9833
9833
  /* @__PURE__ */ i(We, {}),
9834
9834
  Vt(),
@@ -9850,7 +9850,7 @@ function em(e) {
9850
9850
  ks,
9851
9851
  {
9852
9852
  icon: /* @__PURE__ */ i(
9853
- ji,
9853
+ Bi,
9854
9854
  {
9855
9855
  style: { color: m ? "white" : void 0 }
9856
9856
  }
@@ -9891,7 +9891,7 @@ function em(e) {
9891
9891
  /* @__PURE__ */ i(
9892
9892
  et,
9893
9893
  {
9894
- icon: /* @__PURE__ */ i(Mi, {}),
9894
+ icon: /* @__PURE__ */ i(Li, {}),
9895
9895
  tooltip: R("showLogs"),
9896
9896
  disabled: !(o && (o == null ? void 0 : o.length) > 0) || b,
9897
9897
  loading: !1,
@@ -9916,7 +9916,7 @@ function em(e) {
9916
9916
  !F && /* @__PURE__ */ E(ae, { children: [
9917
9917
  Vt(),
9918
9918
  /* @__PURE__ */ i(
9919
- lo,
9919
+ co,
9920
9920
  {
9921
9921
  currentView: n,
9922
9922
  availableViews: t,
@@ -9970,7 +9970,7 @@ function em(e) {
9970
9970
  {
9971
9971
  placement: "bottomRight",
9972
9972
  icon: /* @__PURE__ */ i(
9973
- Di,
9973
+ Ei,
9974
9974
  {
9975
9975
  component: () => /* @__PURE__ */ E(
9976
9976
  "svg",
@@ -10098,7 +10098,7 @@ const tm = ({
10098
10098
  };
10099
10099
  return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
10100
10100
  }, [e, ...n]), we(() => r, [r]) - t;
10101
- }, rm = (e) => e.model ? `columnState-${e.treeViewId ?? "tree"}-${e.model}` : void 0, { Text: qo } = Rt, om = ({
10101
+ }, rm = (e) => e.model ? `columnState-${e.treeViewId ?? "tree"}-${e.model}` : void 0, { Text: Yo } = Rt, om = ({
10102
10102
  totalRows: e,
10103
10103
  selectedRowKeys: t,
10104
10104
  allRowSelectedMode: n
@@ -10129,7 +10129,7 @@ const tm = ({
10129
10129
  t("selectedRegisters"),
10130
10130
  " - (id:",
10131
10131
  " ",
10132
- /* @__PURE__ */ i(qo, { copyable: !0, children: e[0] }),
10132
+ /* @__PURE__ */ i(Yo, { copyable: !0, children: e[0] }),
10133
10133
  ")"
10134
10134
  ] });
10135
10135
  if (e.length > 1)
@@ -10138,7 +10138,7 @@ const tm = ({
10138
10138
  " ",
10139
10139
  t("selectedRegisters") + " ",
10140
10140
  /* @__PURE__ */ i(
10141
- qo,
10141
+ Yo,
10142
10142
  {
10143
10143
  copyable: {
10144
10144
  text: e.join(", ")
@@ -10146,7 +10146,7 @@ const tm = ({
10146
10146
  }
10147
10147
  )
10148
10148
  ] });
10149
- }, { useToken: sm } = Ge, { Title: am } = Rt, { Header: lm, Content: cm, Footer: dm } = Ii, um = ({
10149
+ }, { useToken: sm } = Ge, { Title: am } = Rt, { Header: lm, Content: cm, Footer: dm } = Oi, um = ({
10150
10150
  isOpen: e,
10151
10151
  onClose: t,
10152
10152
  children: n,
@@ -10184,7 +10184,7 @@ const tm = ({
10184
10184
  };
10185
10185
  return /* @__PURE__ */ i(Bl, { children: e && /* @__PURE__ */ E(ae, { children: [
10186
10186
  /* @__PURE__ */ i(
10187
- Oo.div,
10187
+ Ao.div,
10188
10188
  {
10189
10189
  initial: { opacity: 0 },
10190
10190
  animate: { opacity: 1 },
@@ -10203,7 +10203,7 @@ const tm = ({
10203
10203
  }
10204
10204
  ),
10205
10205
  /* @__PURE__ */ E(
10206
- Oo.div,
10206
+ Ao.div,
10207
10207
  {
10208
10208
  ref: l,
10209
10209
  initial: { x: "100%" },
@@ -10267,14 +10267,14 @@ var Fn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
10267
10267
  function $s(e) {
10268
10268
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
10269
10269
  }
10270
- var fm = "Expected a function", Yo = 0 / 0, mm = "[object Symbol]", pm = /^\s+|\s+$/g, hm = /^[-+]0x[0-9a-f]+$/i, gm = /^0b[01]+$/i, ym = /^0o[0-7]+$/i, vm = parseInt, wm = typeof Fn == "object" && Fn && Fn.Object === Object && Fn, bm = typeof self == "object" && self && self.Object === Object && self, Sm = wm || bm || Function("return this")(), xm = Object.prototype, Cm = xm.toString, Tm = Math.max, Im = Math.min, lr = function() {
10270
+ var fm = "Expected a function", zo = 0 / 0, mm = "[object Symbol]", pm = /^\s+|\s+$/g, hm = /^[-+]0x[0-9a-f]+$/i, gm = /^0b[01]+$/i, ym = /^0o[0-7]+$/i, vm = parseInt, wm = typeof Fn == "object" && Fn && Fn.Object === Object && Fn, bm = typeof self == "object" && self && self.Object === Object && self, Sm = wm || bm || Function("return this")(), xm = Object.prototype, Cm = xm.toString, Tm = Math.max, Im = Math.min, lr = function() {
10271
10271
  return Sm.Date.now();
10272
10272
  };
10273
10273
  function Om(e, t, n) {
10274
10274
  var r, o, s, a, l, c, u = 0, f = !1, d = !1, p = !0;
10275
10275
  if (typeof e != "function")
10276
10276
  throw new TypeError(fm);
10277
- t = zo(t) || 0, Fr(n) && (f = !!n.leading, d = "maxWait" in n, s = d ? Tm(zo(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p);
10277
+ t = Jo(t) || 0, Fr(n) && (f = !!n.leading, d = "maxWait" in n, s = d ? Tm(Jo(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p);
10278
10278
  function h(O) {
10279
10279
  var C = r, T = o;
10280
10280
  return r = o = void 0, u = O, a = e.apply(T, C), a;
@@ -10327,11 +10327,11 @@ function Am(e) {
10327
10327
  function Fm(e) {
10328
10328
  return typeof e == "symbol" || Am(e) && Cm.call(e) == mm;
10329
10329
  }
10330
- function zo(e) {
10330
+ function Jo(e) {
10331
10331
  if (typeof e == "number")
10332
10332
  return e;
10333
10333
  if (Fm(e))
10334
- return Yo;
10334
+ return zo;
10335
10335
  if (Fr(e)) {
10336
10336
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
10337
10337
  e = Fr(t) ? t + "" : t;
@@ -10340,18 +10340,18 @@ function zo(e) {
10340
10340
  return e === 0 ? e : +e;
10341
10341
  e = e.replace(pm, "");
10342
10342
  var n = gm.test(e);
10343
- return n || ym.test(e) ? vm(e.slice(2), n ? 2 : 8) : hm.test(e) ? Yo : +e;
10343
+ return n || ym.test(e) ? vm(e.slice(2), n ? 2 : 8) : hm.test(e) ? zo : +e;
10344
10344
  }
10345
10345
  var Rm = Om;
10346
10346
  const _m = /* @__PURE__ */ $s(Rm);
10347
- var Jo = Object.prototype.toString, Ns = function(t) {
10348
- var n = Jo.call(t), r = n === "[object Arguments]";
10349
- return r || (r = n !== "[object Array]" && t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && Jo.call(t.callee) === "[object Function]"), r;
10350
- }, cr, Xo;
10347
+ var Xo = Object.prototype.toString, Ns = function(t) {
10348
+ var n = Xo.call(t), r = n === "[object Arguments]";
10349
+ return r || (r = n !== "[object Array]" && t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && Xo.call(t.callee) === "[object Function]"), r;
10350
+ }, cr, Qo;
10351
10351
  function Vm() {
10352
- if (Xo)
10352
+ if (Qo)
10353
10353
  return cr;
10354
- Xo = 1;
10354
+ Qo = 1;
10355
10355
  var e;
10356
10356
  if (!Object.keys) {
10357
10357
  var t = Object.prototype.hasOwnProperty, n = Object.prototype.toString, r = Ns, o = Object.prototype.propertyIsEnumerable, s = !o.call({ toString: null }, "toString"), a = o.call(function() {
@@ -10436,9 +10436,9 @@ function Vm() {
10436
10436
  }
10437
10437
  return cr = e, cr;
10438
10438
  }
10439
- var Dm = Array.prototype.slice, Em = Ns, Qo = Object.keys, _n = Qo ? function(t) {
10440
- return Qo(t);
10441
- } : Vm(), Zo = Object.keys;
10439
+ var Dm = Array.prototype.slice, Em = Ns, Zo = Object.keys, _n = Zo ? function(t) {
10440
+ return Zo(t);
10441
+ } : Vm(), ei = Object.keys;
10442
10442
  _n.shim = function() {
10443
10443
  if (Object.keys) {
10444
10444
  var t = function() {
@@ -10446,7 +10446,7 @@ _n.shim = function() {
10446
10446
  return n && n.length === arguments.length;
10447
10447
  }(1, 2);
10448
10448
  t || (Object.keys = function(r) {
10449
- return Em(r) ? Zo(Dm.call(r)) : Zo(r);
10449
+ return Em(r) ? ei(Dm.call(r)) : ei(r);
10450
10450
  });
10451
10451
  } else
10452
10452
  Object.keys = _n;
@@ -10475,14 +10475,14 @@ var Ms = _n, Ls = function() {
10475
10475
  return !1;
10476
10476
  }
10477
10477
  return !0;
10478
- }, Pm = Ls, co = function() {
10478
+ }, Pm = Ls, uo = function() {
10479
10479
  return Pm() && !!Symbol.toStringTag;
10480
- }, ei = typeof Symbol < "u" && Symbol, km = Ls, $m = function() {
10481
- return typeof ei != "function" || typeof Symbol != "function" || typeof ei("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : km();
10482
- }, ti = {
10480
+ }, ti = typeof Symbol < "u" && Symbol, km = Ls, $m = function() {
10481
+ return typeof ti != "function" || typeof Symbol != "function" || typeof ti("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : km();
10482
+ }, ni = {
10483
10483
  foo: {}
10484
10484
  }, Nm = Object, Mm = function() {
10485
- return { __proto__: ti }.foo === ti.foo && !({ __proto__: null } instanceof Nm);
10485
+ return { __proto__: ni }.foo === ni.foo && !({ __proto__: null } instanceof Nm);
10486
10486
  }, Lm = "Function.prototype.bind called on incompatible ", dr = Array.prototype.slice, jm = Object.prototype.toString, Bm = "[object Function]", Hm = function(t) {
10487
10487
  var n = this;
10488
10488
  if (typeof n != "function" || jm.call(n) !== Bm)
@@ -10507,8 +10507,8 @@ var Ms = _n, Ls = function() {
10507
10507
  u.prototype = n.prototype, o.prototype = new u(), u.prototype = null;
10508
10508
  }
10509
10509
  return o;
10510
- }, Um = Hm, js = Function.prototype.bind || Um, ni = {}.hasOwnProperty, ur = Function.prototype.call, Wm = ur.bind ? ur.bind(ni) : function(e, t) {
10511
- return ur.call(ni, e, t);
10510
+ }, Um = Hm, js = Function.prototype.bind || Um, ri = {}.hasOwnProperty, ur = Function.prototype.call, Wm = ur.bind ? ur.bind(ri) : function(e, t) {
10511
+ return ur.call(ri, e, t);
10512
10512
  }, Ve, en = SyntaxError, Bs = Function, zt = TypeError, fr = function(e) {
10513
10513
  try {
10514
10514
  return Bs('"use strict"; return (' + e + ").constructor;")();
@@ -10533,13 +10533,13 @@ var mr = function() {
10533
10533
  return mr;
10534
10534
  }
10535
10535
  }
10536
- }() : mr, Ht = $m(), Km = Mm(), Qe = Object.getPrototypeOf || (Km ? function(e) {
10536
+ }() : mr, Ht = $m(), Km = Mm(), Ze = Object.getPrototypeOf || (Km ? function(e) {
10537
10537
  return e.__proto__;
10538
- } : null), Gt = {}, qm = typeof Uint8Array > "u" || !Qe ? Ve : Qe(Uint8Array), kt = {
10538
+ } : null), Gt = {}, qm = typeof Uint8Array > "u" || !Ze ? Ve : Ze(Uint8Array), kt = {
10539
10539
  "%AggregateError%": typeof AggregateError > "u" ? Ve : AggregateError,
10540
10540
  "%Array%": Array,
10541
10541
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? Ve : ArrayBuffer,
10542
- "%ArrayIteratorPrototype%": Ht && Qe ? Qe([][Symbol.iterator]()) : Ve,
10542
+ "%ArrayIteratorPrototype%": Ht && Ze ? Ze([][Symbol.iterator]()) : Ve,
10543
10543
  "%AsyncFromSyncIteratorPrototype%": Ve,
10544
10544
  "%AsyncFunction%": Gt,
10545
10545
  "%AsyncGenerator%": Gt,
@@ -10570,10 +10570,10 @@ var mr = function() {
10570
10570
  "%Int32Array%": typeof Int32Array > "u" ? Ve : Int32Array,
10571
10571
  "%isFinite%": isFinite,
10572
10572
  "%isNaN%": isNaN,
10573
- "%IteratorPrototype%": Ht && Qe ? Qe(Qe([][Symbol.iterator]())) : Ve,
10573
+ "%IteratorPrototype%": Ht && Ze ? Ze(Ze([][Symbol.iterator]())) : Ve,
10574
10574
  "%JSON%": typeof JSON == "object" ? JSON : Ve,
10575
10575
  "%Map%": typeof Map > "u" ? Ve : Map,
10576
- "%MapIteratorPrototype%": typeof Map > "u" || !Ht || !Qe ? Ve : Qe((/* @__PURE__ */ new Map())[Symbol.iterator]()),
10576
+ "%MapIteratorPrototype%": typeof Map > "u" || !Ht || !Ze ? Ve : Ze((/* @__PURE__ */ new Map())[Symbol.iterator]()),
10577
10577
  "%Math%": Math,
10578
10578
  "%Number%": Number,
10579
10579
  "%Object%": Object,
@@ -10586,10 +10586,10 @@ var mr = function() {
10586
10586
  "%Reflect%": typeof Reflect > "u" ? Ve : Reflect,
10587
10587
  "%RegExp%": RegExp,
10588
10588
  "%Set%": typeof Set > "u" ? Ve : Set,
10589
- "%SetIteratorPrototype%": typeof Set > "u" || !Ht || !Qe ? Ve : Qe((/* @__PURE__ */ new Set())[Symbol.iterator]()),
10589
+ "%SetIteratorPrototype%": typeof Set > "u" || !Ht || !Ze ? Ve : Ze((/* @__PURE__ */ new Set())[Symbol.iterator]()),
10590
10590
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? Ve : SharedArrayBuffer,
10591
10591
  "%String%": String,
10592
- "%StringIteratorPrototype%": Ht && Qe ? Qe(""[Symbol.iterator]()) : Ve,
10592
+ "%StringIteratorPrototype%": Ht && Ze ? Ze(""[Symbol.iterator]()) : Ve,
10593
10593
  "%Symbol%": Ht ? Symbol : Ve,
10594
10594
  "%SyntaxError%": en,
10595
10595
  "%ThrowTypeError%": Gm,
@@ -10604,11 +10604,11 @@ var mr = function() {
10604
10604
  "%WeakRef%": typeof WeakRef > "u" ? Ve : WeakRef,
10605
10605
  "%WeakSet%": typeof WeakSet > "u" ? Ve : WeakSet
10606
10606
  };
10607
- if (Qe)
10607
+ if (Ze)
10608
10608
  try {
10609
10609
  null.error;
10610
10610
  } catch (e) {
10611
- var Ym = Qe(Qe(e));
10611
+ var Ym = Ze(Ze(e));
10612
10612
  kt["%Error.prototype%"] = Ym;
10613
10613
  }
10614
10614
  var zm = function e(t) {
@@ -10624,10 +10624,10 @@ var zm = function e(t) {
10624
10624
  r && (n = r.prototype);
10625
10625
  } else if (t === "%AsyncIteratorPrototype%") {
10626
10626
  var o = e("%AsyncGenerator%");
10627
- o && Qe && (n = Qe(o.prototype));
10627
+ o && Ze && (n = Ze(o.prototype));
10628
10628
  }
10629
10629
  return kt[t] = n, n;
10630
- }, ri = {
10630
+ }, oi = {
10631
10631
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
10632
10632
  "%ArrayPrototype%": ["Array", "prototype"],
10633
10633
  "%ArrayProto_entries%": ["Array", "prototype", "entries"],
@@ -10679,19 +10679,19 @@ var zm = function e(t) {
10679
10679
  "%URIErrorPrototype%": ["URIError", "prototype"],
10680
10680
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
10681
10681
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
10682
- }, xn = js, Nn = Wm, Jm = xn.call(Function.call, Array.prototype.concat), Xm = xn.call(Function.apply, Array.prototype.splice), oi = xn.call(Function.call, String.prototype.replace), Mn = xn.call(Function.call, String.prototype.slice), Qm = xn.call(Function.call, RegExp.prototype.exec), Zm = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ep = /\\(\\)?/g, tp = function(t) {
10682
+ }, xn = js, Nn = Wm, Jm = xn.call(Function.call, Array.prototype.concat), Xm = xn.call(Function.apply, Array.prototype.splice), ii = xn.call(Function.call, String.prototype.replace), Mn = xn.call(Function.call, String.prototype.slice), Qm = xn.call(Function.call, RegExp.prototype.exec), Zm = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ep = /\\(\\)?/g, tp = function(t) {
10683
10683
  var n = Mn(t, 0, 1), r = Mn(t, -1);
10684
10684
  if (n === "%" && r !== "%")
10685
10685
  throw new en("invalid intrinsic syntax, expected closing `%`");
10686
10686
  if (r === "%" && n !== "%")
10687
10687
  throw new en("invalid intrinsic syntax, expected opening `%`");
10688
10688
  var o = [];
10689
- return oi(t, Zm, function(s, a, l, c) {
10690
- o[o.length] = l ? oi(c, ep, "$1") : a || s;
10689
+ return ii(t, Zm, function(s, a, l, c) {
10690
+ o[o.length] = l ? ii(c, ep, "$1") : a || s;
10691
10691
  }), o;
10692
10692
  }, np = function(t, n) {
10693
10693
  var r = t, o;
10694
- if (Nn(ri, r) && (o = ri[r], r = "%" + o[0] + "%"), Nn(kt, r)) {
10694
+ if (Nn(oi, r) && (o = oi[r], r = "%" + o[0] + "%"), Nn(kt, r)) {
10695
10695
  var s = kt[r];
10696
10696
  if (s === Gt && (s = zm(r)), typeof s > "u" && !n)
10697
10697
  throw new zt("intrinsic " + t + " exists, but is not available. Please file an issue!");
@@ -10758,10 +10758,10 @@ var zm = function e(t) {
10758
10758
  };
10759
10759
  l ? l(e.exports, "apply", { value: u }) : e.exports.apply = u;
10760
10760
  })(Hs);
10761
- var uo = Hs.exports, Us = Cn, Ws = uo, rp = Ws(Us("String.prototype.indexOf")), Gs = function(t, n) {
10761
+ var fo = Hs.exports, Us = Cn, Ws = fo, rp = Ws(Us("String.prototype.indexOf")), Gs = function(t, n) {
10762
10762
  var r = Us(t, !!n);
10763
10763
  return typeof r == "function" && rp(t, ".prototype.") > -1 ? Ws(r) : r;
10764
- }, op = co(), ip = Gs, Rr = ip("Object.prototype.toString"), Qn = function(t) {
10764
+ }, op = uo(), ip = Gs, Rr = ip("Object.prototype.toString"), Qn = function(t) {
10765
10765
  return op && t && typeof t == "object" && Symbol.toStringTag in t ? !1 : Rr(t) === "[object Arguments]";
10766
10766
  }, Ks = function(t) {
10767
10767
  return Qn(t) ? !0 : t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && Rr(t) !== "[object Array]" && Rr(t.callee) === "[object Function]";
@@ -10787,11 +10787,11 @@ Vr.hasArrayLengthDefineBug = function() {
10787
10787
  return !0;
10788
10788
  }
10789
10789
  };
10790
- var fo = Vr, pr, ii;
10790
+ var mo = Vr, pr, si;
10791
10791
  function cp() {
10792
- if (ii)
10792
+ if (si)
10793
10793
  return pr;
10794
- ii = 1;
10794
+ si = 1;
10795
10795
  var e = Cn, t = e("%Object.getOwnPropertyDescriptor%", !0);
10796
10796
  if (t)
10797
10797
  try {
@@ -10801,7 +10801,7 @@ function cp() {
10801
10801
  }
10802
10802
  return pr = t, pr;
10803
10803
  }
10804
- var dp = fo(), mo = Cn, si = dp && mo("%Object.defineProperty%", !0), up = mo("%SyntaxError%"), Ut = mo("%TypeError%"), ai = cp(), qs = function(t, n, r) {
10804
+ var dp = mo(), po = Cn, ai = dp && po("%Object.defineProperty%", !0), up = po("%SyntaxError%"), Ut = po("%TypeError%"), li = cp(), qs = function(t, n, r) {
10805
10805
  if (!t || typeof t != "object" && typeof t != "function")
10806
10806
  throw new Ut("`obj` must be an object or a function`");
10807
10807
  if (typeof n != "string" && typeof n != "symbol")
@@ -10814,9 +10814,9 @@ var dp = fo(), mo = Cn, si = dp && mo("%Object.defineProperty%", !0), up = mo("%
10814
10814
  throw new Ut("`nonConfigurable`, if provided, must be a boolean or null");
10815
10815
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
10816
10816
  throw new Ut("`loose`, if provided, must be a boolean");
10817
- var o = arguments.length > 3 ? arguments[3] : null, s = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 ? arguments[6] : !1, c = !!ai && ai(t, n);
10818
- if (si)
10819
- si(t, n, {
10817
+ var o = arguments.length > 3 ? arguments[3] : null, s = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 ? arguments[6] : !1, c = !!li && li(t, n);
10818
+ if (ai)
10819
+ ai(t, n, {
10820
10820
  configurable: a === null && c ? c.configurable : !a,
10821
10821
  enumerable: o === null && c ? c.enumerable : !o,
10822
10822
  value: r,
@@ -10826,9 +10826,9 @@ var dp = fo(), mo = Cn, si = dp && mo("%Object.defineProperty%", !0), up = mo("%
10826
10826
  t[n] = r;
10827
10827
  else
10828
10828
  throw new up("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
10829
- }, fp = Ms, mp = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", pp = Object.prototype.toString, hp = Array.prototype.concat, li = qs, gp = function(e) {
10829
+ }, fp = Ms, mp = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", pp = Object.prototype.toString, hp = Array.prototype.concat, ci = qs, gp = function(e) {
10830
10830
  return typeof e == "function" && pp.call(e) === "[object Function]";
10831
- }, Ys = fo(), yp = function(e, t, n, r) {
10831
+ }, Ys = mo(), yp = function(e, t, n, r) {
10832
10832
  if (t in e) {
10833
10833
  if (r === !0) {
10834
10834
  if (e[t] === n)
@@ -10836,7 +10836,7 @@ var dp = fo(), mo = Cn, si = dp && mo("%Object.defineProperty%", !0), up = mo("%
10836
10836
  } else if (!gp(r) || !r())
10837
10837
  return;
10838
10838
  }
10839
- Ys ? li(e, t, n, !0) : li(e, t, n);
10839
+ Ys ? ci(e, t, n, !0) : ci(e, t, n);
10840
10840
  }, zs = function(e, t) {
10841
10841
  var n = arguments.length > 2 ? arguments[2] : {}, r = fp(t);
10842
10842
  mp && (r = hp.call(r, Object.getOwnPropertySymbols(t)));
@@ -10844,10 +10844,10 @@ var dp = fo(), mo = Cn, si = dp && mo("%Object.defineProperty%", !0), up = mo("%
10844
10844
  yp(e, r[o], t[r[o]], n[r[o]]);
10845
10845
  };
10846
10846
  zs.supportsDescriptors = !!Ys;
10847
- var Tn = zs, ci = function(e) {
10847
+ var Tn = zs, di = function(e) {
10848
10848
  return e !== e;
10849
10849
  }, Js = function(t, n) {
10850
- return t === 0 && n === 0 ? 1 / t === 1 / n : !!(t === n || ci(t) && ci(n));
10850
+ return t === 0 && n === 0 ? 1 / t === 1 / n : !!(t === n || di(t) && di(n));
10851
10851
  }, vp = Js, Xs = function() {
10852
10852
  return typeof Object.is == "function" ? Object.is : vp;
10853
10853
  }, wp = Xs, bp = Tn, Sp = function() {
@@ -10857,13 +10857,13 @@ var Tn = zs, ci = function(e) {
10857
10857
  return Object.is !== t;
10858
10858
  }
10859
10859
  }), t;
10860
- }, xp = Tn, Cp = uo, Tp = Js, Qs = Xs, Ip = Sp, Zs = Cp(Qs(), Object);
10860
+ }, xp = Tn, Cp = fo, Tp = Js, Qs = Xs, Ip = Sp, Zs = Cp(Qs(), Object);
10861
10861
  xp(Zs, {
10862
10862
  getPolyfill: Qs,
10863
10863
  implementation: Tp,
10864
10864
  shim: Ip
10865
10865
  });
10866
- var Op = Zs, Dr = Gs, ea = co(), ta, na, Er, Pr;
10866
+ var Op = Zs, Dr = Gs, ea = uo(), ta, na, Er, Pr;
10867
10867
  if (ea) {
10868
10868
  ta = Dr("Object.prototype.hasOwnProperty"), na = Dr("RegExp.prototype.exec"), Er = {};
10869
10869
  var hr = function() {
@@ -10909,11 +10909,11 @@ wn.boundFunctionsHaveNames = function() {
10909
10909
  return wn() && typeof Vp == "function" && (function() {
10910
10910
  }).bind().name !== "";
10911
10911
  };
10912
- var Dp = wn, di = qs, Ep = fo(), Pp = Dp.functionsHaveConfigurableNames(), kp = TypeError, $p = function(t, n) {
10912
+ var Dp = wn, ui = qs, Ep = mo(), Pp = Dp.functionsHaveConfigurableNames(), kp = TypeError, $p = function(t, n) {
10913
10913
  if (typeof t != "function")
10914
10914
  throw new kp("`fn` is not a function");
10915
10915
  var r = arguments.length > 2 && !!arguments[2];
10916
- return (!r || Pp) && (Ep ? di(t, "name", n, !0, !0) : di(t, "name", n)), t;
10916
+ return (!r || Pp) && (Ep ? ui(t, "name", n, !0, !0) : ui(t, "name", n)), t;
10917
10917
  }, Np = $p, Mp = Object, Lp = TypeError, ra = Np(function() {
10918
10918
  if (this != null && this !== Mp(this))
10919
10919
  throw new Lp("RegExp.prototype.flags getter called on non-object");
@@ -10937,16 +10937,16 @@ var Dp = wn, di = qs, Ep = fo(), Pp = Dp.functionsHaveConfigurableNames(), kp =
10937
10937
  }
10938
10938
  }
10939
10939
  return jp;
10940
- }, Up = Tn.supportsDescriptors, Wp = oa, Gp = Object.getOwnPropertyDescriptor, Kp = Object.defineProperty, qp = TypeError, ui = Object.getPrototypeOf, Yp = /a/, zp = function() {
10941
- if (!Up || !ui)
10940
+ }, Up = Tn.supportsDescriptors, Wp = oa, Gp = Object.getOwnPropertyDescriptor, Kp = Object.defineProperty, qp = TypeError, fi = Object.getPrototypeOf, Yp = /a/, zp = function() {
10941
+ if (!Up || !fi)
10942
10942
  throw new qp("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
10943
- var t = Wp(), n = ui(Yp), r = Gp(n, "flags");
10943
+ var t = Wp(), n = fi(Yp), r = Gp(n, "flags");
10944
10944
  return (!r || r.get !== t) && Kp(n, "flags", {
10945
10945
  configurable: !0,
10946
10946
  enumerable: !1,
10947
10947
  get: t
10948
10948
  }), t;
10949
- }, Jp = Tn, Xp = uo, Qp = ra, ia = oa, Zp = zp, sa = Xp(ia());
10949
+ }, Jp = Tn, Xp = fo, Qp = ra, ia = oa, Zp = zp, sa = Xp(ia());
10950
10950
  Jp(sa, {
10951
10951
  getPolyfill: ia,
10952
10952
  implementation: Qp,
@@ -10958,31 +10958,31 @@ var eh = sa, th = Date.prototype.getDay, nh = function(t) {
10958
10958
  } catch {
10959
10959
  return !1;
10960
10960
  }
10961
- }, rh = Object.prototype.toString, oh = "[object Date]", ih = co(), sh = function(t) {
10961
+ }, rh = Object.prototype.toString, oh = "[object Date]", ih = uo(), sh = function(t) {
10962
10962
  return typeof t != "object" || t === null ? !1 : ih ? nh(t) : rh.call(t) === oh;
10963
- }, fi = Ms, mi = ap, pi = Op, hi = _p, gi = eh, yi = sh, vi = Date.prototype.getTime;
10963
+ }, mi = Ms, pi = ap, hi = Op, gi = _p, yi = eh, vi = sh, wi = Date.prototype.getTime;
10964
10964
  function aa(e, t, n) {
10965
10965
  var r = n || {};
10966
- return (r.strict ? pi(e, t) : e === t) ? !0 : !e || !t || typeof e != "object" && typeof t != "object" ? r.strict ? pi(e, t) : e == t : ah(e, t, r);
10966
+ return (r.strict ? hi(e, t) : e === t) ? !0 : !e || !t || typeof e != "object" && typeof t != "object" ? r.strict ? hi(e, t) : e == t : ah(e, t, r);
10967
10967
  }
10968
- function wi(e) {
10968
+ function bi(e) {
10969
10969
  return e == null;
10970
10970
  }
10971
- function bi(e) {
10971
+ function Si(e) {
10972
10972
  return !(!e || typeof e != "object" || typeof e.length != "number" || typeof e.copy != "function" || typeof e.slice != "function" || e.length > 0 && typeof e[0] != "number");
10973
10973
  }
10974
10974
  function ah(e, t, n) {
10975
10975
  var r, o;
10976
- if (typeof e != typeof t || wi(e) || wi(t) || e.prototype !== t.prototype || mi(e) !== mi(t))
10976
+ if (typeof e != typeof t || bi(e) || bi(t) || e.prototype !== t.prototype || pi(e) !== pi(t))
10977
10977
  return !1;
10978
- var s = hi(e), a = hi(t);
10978
+ var s = gi(e), a = gi(t);
10979
10979
  if (s !== a)
10980
10980
  return !1;
10981
10981
  if (s || a)
10982
- return e.source === t.source && gi(e) === gi(t);
10983
- if (yi(e) && yi(t))
10984
- return vi.call(e) === vi.call(t);
10985
- var l = bi(e), c = bi(t);
10982
+ return e.source === t.source && yi(e) === yi(t);
10983
+ if (vi(e) && vi(t))
10984
+ return wi.call(e) === wi.call(t);
10985
+ var l = Si(e), c = Si(t);
10986
10986
  if (l !== c)
10987
10987
  return !1;
10988
10988
  if (l || c) {
@@ -10996,7 +10996,7 @@ function ah(e, t, n) {
10996
10996
  if (typeof e != typeof t)
10997
10997
  return !1;
10998
10998
  try {
10999
- var u = fi(e), f = fi(t);
10999
+ var u = mi(e), f = mi(t);
11000
11000
  } catch {
11001
11001
  return !1;
11002
11002
  }
@@ -11069,7 +11069,7 @@ const la = /* @__PURE__ */ $s(lh), ch = pt(
11069
11069
  de(() => {
11070
11070
  n && h(void 0);
11071
11071
  }, [n]), yt(() => {
11072
- l.current = new Vi(o, s, 1), l.current.parse(), f(l.current._advancedSearchContainer);
11072
+ l.current = new Di(o, s, 1), l.current.parse(), f(l.current._advancedSearchContainer);
11073
11073
  }, [s, o, n]);
11074
11074
  const m = B(
11075
11075
  (I) => {
@@ -11213,7 +11213,7 @@ function ph(e, t) {
11213
11213
  results: ee,
11214
11214
  setSearchQuery: V,
11215
11215
  setTotalItems: M
11216
- } = to(c), j = d || ie, fe = Q(j);
11216
+ } = no(c), j = d || ie, fe = Q(j);
11217
11217
  de(() => {
11218
11218
  Ke();
11219
11219
  }, []), de(() => {
@@ -11225,10 +11225,10 @@ function ph(e, t) {
11225
11225
  return Ot(T);
11226
11226
  }, [T]), Y = yn(() => {
11227
11227
  if (z)
11228
- return Qr(
11228
+ return Zr(
11229
11229
  z,
11230
11230
  {
11231
- ...so
11231
+ ...ao
11232
11232
  },
11233
11233
  u
11234
11234
  );
@@ -11419,7 +11419,7 @@ function ph(e, t) {
11419
11419
  }),
11420
11420
  [w]
11421
11421
  ), rt = we(() => !Y || !z ? null : /* @__PURE__ */ i(
11422
- Ui,
11422
+ Wi,
11423
11423
  {
11424
11424
  readonly: !1,
11425
11425
  ref: m,
@@ -11503,7 +11503,7 @@ function ph(e, t) {
11503
11503
  isOpen: _,
11504
11504
  onClose: () => $ == null ? void 0 : $(!1),
11505
11505
  fields: { ...A == null ? void 0 : A.fields, ...T == null ? void 0 : T.fields },
11506
- searchFields: no([
11506
+ searchFields: ro([
11507
11507
  A == null ? void 0 : A.search_fields,
11508
11508
  T == null ? void 0 : T.search_fields
11509
11509
  ]),
@@ -11598,10 +11598,10 @@ const hh = pt(ph), gh = (e) => {
11598
11598
  }
11599
11599
  )
11600
11600
  ] }) : null;
11601
- }, po = dt.createContext(null), yh = (e) => {
11601
+ }, ho = dt.createContext(null), yh = (e) => {
11602
11602
  const [t, n] = S(!1), [r, o] = S(!1), { children: s, dashboardRef: a, openAction: l } = e;
11603
11603
  return /* @__PURE__ */ i(
11604
- po.Provider,
11604
+ ho.Provider,
11605
11605
  {
11606
11606
  value: {
11607
11607
  isLoading: t,
@@ -11616,8 +11616,8 @@ const hh = pt(ph), gh = (e) => {
11616
11616
  );
11617
11617
  };
11618
11618
  function vh() {
11619
- const { isLoading: e, dashboardRef: t, moveItemsEnabled: n, setMoveItemsEnabled: r } = oe(po), { t: o } = he();
11620
- return /* @__PURE__ */ E(Ze, { wrap: !0, children: [
11619
+ const { isLoading: e, dashboardRef: t, moveItemsEnabled: n, setMoveItemsEnabled: r } = oe(ho), { t: o } = he();
11620
+ return /* @__PURE__ */ E(Xe, { wrap: !0, children: [
11621
11621
  /* @__PURE__ */ i(
11622
11622
  et,
11623
11623
  {
@@ -12187,7 +12187,7 @@ function Fh(e, t) {
12187
12187
  setIsLoading: p,
12188
12188
  openAction: h,
12189
12189
  moveItemsEnabled: m
12190
- } = oe(po), y = Q(), v = Q(), [g] = Je(P.getHandler().getView), [b] = Je(
12190
+ } = oe(ho), y = Q(), v = Q(), [g] = Je(P.getHandler().getView), [b] = Je(
12191
12191
  P.getHandler().readObjects
12192
12192
  ), [x] = Je(P.getHandler().update), I = Jn(
12193
12193
  sn.FEATURE_READFORVIEW
@@ -12232,7 +12232,7 @@ function Fh(e, t) {
12232
12232
  type: "form",
12233
12233
  context: R
12234
12234
  })).fields;
12235
- const [G] = await Zr({
12235
+ const [G] = await eo({
12236
12236
  treeView: {
12237
12237
  fields: y.current
12238
12238
  },
@@ -12516,7 +12516,7 @@ const Rh = pt(Fh), _h = (e) => {
12516
12516
  children: /* @__PURE__ */ i(Ne, { children: a.map((T) => /* @__PURE__ */ i(be, { span: Math.floor(24 / v), children: /* @__PURE__ */ i(pn, { value: T.value, children: T.label }) })) })
12517
12517
  }
12518
12518
  ),
12519
- !m && /* @__PURE__ */ E(Ze, { children: [
12519
+ !m && /* @__PURE__ */ E(Xe, { children: [
12520
12520
  /* @__PURE__ */ i(
12521
12521
  je,
12522
12522
  {
@@ -12553,9 +12553,9 @@ const Rh = pt(Fh), _h = (e) => {
12553
12553
  }, kh = (e) => {
12554
12554
  const { ooui: t, onChange: n, value: r } = e, { selectionValues: o, readOnly: s, direction: a } = t, l = Array.from(o.entries()), c = l && l.length && l.map((u) => {
12555
12555
  const [f, d] = u;
12556
- return /* @__PURE__ */ i(bo, { value: f, children: d }, f);
12556
+ return /* @__PURE__ */ i(So, { value: f, children: d }, f);
12557
12557
  });
12558
- return /* @__PURE__ */ i(bo.Group, { disabled: s, onChange: n, value: r, children: /* @__PURE__ */ i(Ze, { direction: a, children: c }) });
12558
+ return /* @__PURE__ */ i(So.Group, { disabled: s, onChange: n, value: r, children: /* @__PURE__ */ i(Xe, { direction: a, children: c }) });
12559
12559
  }, $h = (e) => {
12560
12560
  const { ooui: t } = e, { id: n, readOnly: r, required: o } = t;
12561
12561
  return /* @__PURE__ */ i(Re, { ...e, valuePropName: "checked", children: /* @__PURE__ */ i(Nh, { id: n, readOnly: r, required: o }) });
@@ -12568,8 +12568,8 @@ const Rh = pt(Fh), _h = (e) => {
12568
12568
  }, Lh = (e) => {
12569
12569
  const { ooui: t, value: n } = e, { selectionValues: r, errorField: o } = t, s = oe(He), a = Array.from(r.entries()), l = a.map((f) => f[0]).indexOf(n);
12570
12570
  let c = "process", u = "";
12571
- return o && (u = s.getFieldValue(o), u && (c = "error")), /* @__PURE__ */ i(So, { current: l, status: c, children: a.map((f, d) => /* @__PURE__ */ i(
12572
- So.Step,
12571
+ return o && (u = s.getFieldValue(o), u && (c = "error")), /* @__PURE__ */ i(xo, { current: l, status: c, children: a.map((f, d) => /* @__PURE__ */ i(
12572
+ xo.Step,
12573
12573
  {
12574
12574
  title: f[1],
12575
12575
  description: d === l && c === "error" ? u : null
@@ -12650,7 +12650,7 @@ const Rh = pt(Fh), _h = (e) => {
12650
12650
  const r = `https://www.gravatar.com/avatar/${Ml(
12651
12651
  e
12652
12652
  )}?s=${t}&d=${n}`;
12653
- return /* @__PURE__ */ i(Ci, { src: r, size: t });
12653
+ return /* @__PURE__ */ i(Ti, { src: r, size: t });
12654
12654
  };
12655
12655
  function Kh({ text: e }) {
12656
12656
  const t = e.split(`
@@ -12668,9 +12668,9 @@ const qh = (e) => {
12668
12668
  {
12669
12669
  avatar: /* @__PURE__ */ i(Gh, { email: t.email, theme: "mp" }),
12670
12670
  title: t.author,
12671
- description: /* @__PURE__ */ E(Ze, { direction: "horizontal", children: [
12671
+ description: /* @__PURE__ */ E(Xe, { direction: "horizontal", children: [
12672
12672
  /* @__PURE__ */ i("span", { title: t.date, children: st(t.date).fromNow() }),
12673
- t.isAuthor && /* @__PURE__ */ i(Si, { color: "blue", children: r("author") })
12673
+ t.isAuthor && /* @__PURE__ */ i(xi, { color: "blue", children: r("author") })
12674
12674
  ] }),
12675
12675
  style: { marginBottom: "5px" }
12676
12676
  }
@@ -12707,12 +12707,13 @@ const qh = (e) => {
12707
12707
  );
12708
12708
  }, zh = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(Yh, { ooui: e.ooui }) }), Jh = (e) => /* @__PURE__ */ i(Re, { ...e, children: /* @__PURE__ */ i(ll, {}) }), Xh = (e) => {
12709
12709
  const { ooui: t } = e, { title: n, text: r, alertType: o, icon: s } = t;
12710
- function a(l) {
12711
- if (l) {
12712
- const c = vt(l);
12713
- return c && /* @__PURE__ */ i(c, {});
12710
+ function a(c) {
12711
+ if (c) {
12712
+ const u = vt(c);
12713
+ return u && /* @__PURE__ */ i(u, {});
12714
12714
  }
12715
12715
  }
12716
+ const l = t.buttons.map((c) => /* @__PURE__ */ i(Qr, { ooui: c }));
12716
12717
  return /* @__PURE__ */ i(
12717
12718
  nt,
12718
12719
  {
@@ -12720,16 +12721,17 @@ const qh = (e) => {
12720
12721
  description: /* @__PURE__ */ i(gn, { content: r }),
12721
12722
  type: o,
12722
12723
  showIcon: !0,
12724
+ action: l ? /* @__PURE__ */ i(Xe, { direction: "vertical", children: l }) : null,
12723
12725
  icon: a(s)
12724
12726
  }
12725
12727
  );
12726
- }, { Content: Qh } = Ii, { Title: Zh } = Rt;
12728
+ }, { Content: Qh } = Oi, { Title: Zh } = Rt;
12727
12729
  function eg() {
12728
12730
  const { t: e } = he();
12729
12731
  return /* @__PURE__ */ i(Qh, { className: "m-5 select-none", children: /* @__PURE__ */ i(Zh, { level: 5, children: e("welcome") }) });
12730
12732
  }
12731
12733
  function tg(e, t) {
12732
- const { children: n } = e, [r, o] = S("welcome"), { t: s } = he(), { globalValues: a, rootContext: l } = eo(), [c, u] = S([
12734
+ const { children: n } = e, [r, o] = S("welcome"), { t: s } = he(), { globalValues: a, rootContext: l } = to(), [c, u] = S([
12733
12735
  {
12734
12736
  title: s("welcome"),
12735
12737
  key: "welcome",
@@ -13281,7 +13283,7 @@ const { useToken: sg } = Ge, oy = (e) => {
13281
13283
  header: /* @__PURE__ */ E("div", { style: { width: 300, padding: 5, display: "flex" }, children: [
13282
13284
  /* @__PURE__ */ i("div", { style: { paddingLeft: 15, color: "#ccc" }, children: f == null ? void 0 : f("favorites").toUpperCase() }),
13283
13285
  /* @__PURE__ */ i("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ i(At, { title: f == null ? void 0 : f("edit_favorites"), children: /* @__PURE__ */ i(
13284
- Li,
13286
+ ji,
13285
13287
  {
13286
13288
  style: { color: d.colorPrimary, cursor: "pointer" },
13287
13289
  onClick: T
@@ -13302,7 +13304,7 @@ export {
13302
13304
  Bh as ArrowStepsField,
13303
13305
  Nf as Binary,
13304
13306
  uc as Boolean,
13305
- Wi as Button,
13307
+ Qr as Button,
13306
13308
  zl as ButtonGroup,
13307
13309
  qi as Char,
13308
13310
  Hh as CodeEditor,
@@ -13342,7 +13344,7 @@ export {
13342
13344
  Pf as Reference,
13343
13345
  ty as RootView,
13344
13346
  ms as SearchFilter,
13345
- ao as SearchModal,
13347
+ lo as SearchModal,
13346
13348
  ws as SearchTree,
13347
13349
  Yi as Selection,
13348
13350
  bf as Separator,