@gisce/react-ooui 2.108.0 → 2.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,13 +2,13 @@ var zc = Object.defineProperty;
2
2
  var Kc = (t, e, n) => e in t ? zc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var Ys = (t, e, n) => (Kc(t, typeof e != "symbol" ? e + "" : e, n), n);
4
4
  import { jsx as s, jsxs as j, Fragment as Ce } from "react/jsx-runtime";
5
- import rn, { useContext as we, useState as F, useEffect as le, useRef as z, memo as ct, useCallback as A, useMemo as Z, forwardRef as jt, useImperativeHandle as Jt, Fragment as Qn, createContext as Jc, createElement as Xc } from "react";
6
- import { Tooltip as $t, theme as rt, Typography as ln, Form as Rt, Row as Qe, Col as Pe, Modal as It, Button as Ge, Dropdown as la, Menu as ca, Space as lt, Spin as st, Divider as Kr, Input as gt, Select as Rn, Checkbox as mr, Alert as Nt, Timeline as da, Badge as Zn, message as zs, Popover as Qc, Progress as Zc, Avatar as ua, Tag as as, ColorPicker as fa, DatePicker as ed, TimePicker as td, InputNumber as Jr, Layout as ma, Pagination as nd, Empty as pa, Statistic as rd, Card as ls, QRCode as od, Tabs as ha, Radio as Ks, Switch as sd, Steps as Js, Carousel as id } from "antd";
7
- import { Label as er, Field as jo, Tree as ga, Tags as Xs, Reference as Qs, Selection as cs, Many2one as ya, Boolean as ad, parseContext as gn, graphProcessor as va, graphFieldUtils as ld, parseContextFields as cd, parseDomainFields as dd, Integer as Uo, SearchFieldTypes as hn, SearchFilter as ba, parseGraph as wa, Container as ud, Form as xa, transformDomainForChildWidget as ds, Button as fd } from "@gisce/ooui";
8
- import md, { QuestionCircleOutlined as Ca, ExclamationCircleOutlined as Xr, LoadingOutlined as Xt, DownOutlined as Cr, CloseOutlined as _n, CheckOutlined as tr, TranslationOutlined as Sa, FolderOpenOutlined as us, DownloadOutlined as fs, ClearOutlined as nr, FormOutlined as pr, TableOutlined as ms, AreaChartOutlined as pd, CalendarOutlined as hd, FileAddOutlined as Qr, CloseCircleFilled as gd, FilterOutlined as Bn, EditOutlined as ps, CopyOutlined as Sr, DeleteOutlined as hs, InfoCircleOutlined as Zr, ReloadOutlined as eo, ThunderboltOutlined as to, PrinterOutlined as no, ExportOutlined as Ta, EnterOutlined as ro, SearchOutlined as Tr, SaveOutlined as Wo, PlusOutlined as qo, UpOutlined as yd, PlusSquareOutlined as Fa, MinusSquareOutlined as Aa, StarFilled as vd, StarOutlined as bd, LeftOutlined as Ia, RightOutlined as Ra, ApiOutlined as wd, AlignLeftOutlined as xd, EyeOutlined as Cd, LinkOutlined as Zs, BorderOuterOutlined as Sd, SettingOutlined as Td } from "@ant-design/icons";
5
+ import Jt, { useContext as we, useState as F, useEffect as le, useRef as z, memo as ct, useCallback as A, useMemo as Z, forwardRef as jt, useImperativeHandle as Xt, Fragment as Qn, createContext as Jc, createElement as Xc } from "react";
6
+ import { Tooltip as Vt, theme as rt, Typography as ln, Form as Rt, Row as Qe, Col as Pe, Modal as It, Button as Ge, Dropdown as la, Menu as ca, Space as lt, Spin as st, Divider as Jr, Input as gt, Select as Rn, Checkbox as mr, Alert as Nt, Timeline as da, Badge as Zn, message as zs, Popover as Qc, Progress as Zc, Avatar as ua, Tag as ls, ColorPicker as fa, DatePicker as ed, TimePicker as td, InputNumber as Xr, Layout as ma, Pagination as nd, Empty as pa, Statistic as rd, Card as Qr, QRCode as od, Tabs as ha, Radio as Ks, Switch as sd, Steps as Js, Carousel as id } from "antd";
7
+ import { Label as er, Field as Wo, Tree as ga, Tags as Xs, Reference as Qs, Selection as cs, Many2one as ya, Boolean as ad, parseContext as gn, graphProcessor as va, graphFieldUtils as ld, parseContextFields as cd, parseDomainFields as dd, Integer as qo, SearchFieldTypes as hn, SearchFilter as ba, parseGraph as wa, Container as ud, Form as xa, transformDomainForChildWidget as ds, Button as fd } from "@gisce/ooui";
8
+ import md, { QuestionCircleOutlined as Ca, ExclamationCircleOutlined as Zr, LoadingOutlined as Qt, DownOutlined as Cr, CloseOutlined as _n, CheckOutlined as tr, TranslationOutlined as Sa, FolderOpenOutlined as us, DownloadOutlined as fs, ClearOutlined as nr, FormOutlined as pr, TableOutlined as ms, AreaChartOutlined as pd, CalendarOutlined as hd, FileAddOutlined as eo, CloseCircleFilled as gd, FilterOutlined as Bn, EditOutlined as ps, CopyOutlined as Sr, DeleteOutlined as hs, InfoCircleOutlined as to, ReloadOutlined as no, ThunderboltOutlined as ro, PrinterOutlined as oo, ExportOutlined as Ta, EnterOutlined as so, SearchOutlined as Tr, SaveOutlined as Go, PlusOutlined as Yo, UpOutlined as yd, PlusSquareOutlined as Fa, MinusSquareOutlined as Aa, StarFilled as vd, StarOutlined as bd, LeftOutlined as Ia, RightOutlined as Ra, ApiOutlined as wd, AlignLeftOutlined as xd, EyeOutlined as Cd, LinkOutlined as Zs, BorderOuterOutlined as Sd, SettingOutlined as Td } from "@ant-design/icons";
9
9
  import { Interweave as an } from "interweave";
10
10
  import ut from "dayjs";
11
- import { default as S0 } from "dayjs";
11
+ import { default as T0 } from "dayjs";
12
12
  import Fd from "dayjs/plugin/advancedFormat";
13
13
  import Ad from "dayjs/plugin/customParseFormat";
14
14
  import Id from "dayjs/plugin/isoWeek";
@@ -17,13 +17,13 @@ import _d from "dayjs/plugin/duration";
17
17
  import Ed from "dayjs/plugin/relativeTime";
18
18
  import Od from "dayjs/plugin/weekday";
19
19
  import Dd from "dayjs/plugin/localeData";
20
- import { useLocale as Se, Icon as Lr, iconMapper as Vt, useNotificationContext as kd, FormigaConfigProvider as Nd, mergeStrings as Md, Dropdown as _a, ToggleDropdownButton as Pd, getTablerIcon as Ea, DropdownButton as dn, Many2OneSuffix as $d, Many2OneSuffixModal as ei, DateValue as Vd, DateTimeValue as Ld, useDatePickerLocale as Hd, SkeletonPill as Bd, PaginationHeader as jd, FieldSet as Oa, ExportModal as Ud, DateInput as Wd, HTMLPreview as qd, FavouriteButton as Gd } from "@gisce/react-formiga-components";
20
+ import { useLocale as Se, Icon as Lr, iconMapper as Mt, useNotificationContext as kd, FormigaConfigProvider as Nd, mergeStrings as Md, Dropdown as _a, ToggleDropdownButton as Pd, getTablerIcon as Ea, DropdownButton as dn, Many2OneSuffix as $d, Many2OneSuffixModal as ei, DateValue as Vd, DateTimeValue as Ld, useDatePickerLocale as Hd, SkeletonPill as Bd, PaginationHeader as jd, FieldSet as Oa, ExportModal as Ud, DateInput as Wd, HTMLPreview as qd, FavouriteButton as Gd } from "@gisce/react-formiga-components";
21
21
  import Yd from "antd/lib/input/TextArea";
22
22
  import Et from "styled-components";
23
23
  import gs from "react-measure";
24
24
  import zd from "lodash/debounce";
25
25
  import { nanoid as ys } from "nanoid";
26
- import Go from "antd/lib/typography/Title";
26
+ import zo from "antd/lib/typography/Title";
27
27
  import { useDeepCompareEffect as je, useDeepCompareCallback as dt, useDeepCompareMemo as Ut } from "use-deep-compare";
28
28
  import { Line as Kd, Column as Jd, Pie as Xd } from "@ant-design/plots";
29
29
  import { createRoot as Da } from "react-dom/client";
@@ -51,7 +51,7 @@ import { restrictToHorizontalAxis as vu } from "@dnd-kit/modifiers";
51
51
  import { useSortable as bu, sortableKeyboardCoordinates as wu, SortableContext as xu, horizontalListSortingStrategy as Cu } from "@dnd-kit/sortable";
52
52
  import { AnimatePresence as Su, motion as ni } from "framer-motion";
53
53
  import Tu from "focus-trap-react";
54
- const Ze = rn.createContext(null), Fu = (t) => {
54
+ const Ze = Jt.createContext(null), Fu = (t) => {
55
55
  const {
56
56
  children: e,
57
57
  activeId: n,
@@ -146,7 +146,7 @@ const Ze = rn.createContext(null), Fu = (t) => {
146
146
  refreshCounter: 0
147
147
  };
148
148
  };
149
- var oo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
149
+ var io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
150
150
  function Pa(t) {
151
151
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
152
152
  }
@@ -154,7 +154,7 @@ var $a = { exports: {} };
154
154
  (function(t, e) {
155
155
  (function(n, r) {
156
156
  t.exports = r();
157
- })(oo, function() {
157
+ })(io, function() {
158
158
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
159
159
  return function(i, a, c) {
160
160
  var l = a.prototype;
@@ -237,7 +237,7 @@ var Ru = { exports: {} };
237
237
  (function(t, e) {
238
238
  (function(n, r) {
239
239
  t.exports = r(ut);
240
- })(oo, function(n) {
240
+ })(io, function(n) {
241
241
  function r(a) {
242
242
  return a && typeof a == "object" && "default" in a ? a : { default: a };
243
243
  }
@@ -251,7 +251,7 @@ var _u = { exports: {} };
251
251
  (function(t, e) {
252
252
  (function(n, r) {
253
253
  t.exports = r();
254
- })(oo, function() {
254
+ })(io, function() {
255
255
  return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
256
256
  var r = ["th", "st", "nd", "rd"], o = n % 100;
257
257
  return "[" + n + (r[(o - 20) % 10] || r[o] || r[0]) + "]";
@@ -262,7 +262,7 @@ var Eu = { exports: {} };
262
262
  (function(t, e) {
263
263
  (function(n, r) {
264
264
  t.exports = r(ut);
265
- })(oo, function(n) {
265
+ })(io, function(n) {
266
266
  function r(a) {
267
267
  return a && typeof a == "object" && "default" in a ? a : { default: a };
268
268
  }
@@ -285,7 +285,7 @@ const { Text: Ou, Title: Du } = ln, { useToken: ku } = rt, Nu = {
285
285
  left: "justify-start",
286
286
  center: "justify-center",
287
287
  right: "justify-end"
288
- }, so = (t) => {
288
+ }, ao = (t) => {
289
289
  const { ooui: e, align: n, responsiveBehaviour: r } = t, { label: o, tooltip: i, fieldForLabel: a, labelSize: c, labelType: l } = e, d = we(Ze);
290
290
  let u = a !== null && o.length > 1 ? o + " :" : o, m = "";
291
291
  if (!e.fieldForLabel && e._id) {
@@ -310,7 +310,7 @@ const { Text: Ou, Title: Du } = ln, { useToken: ku } = rt, Nu = {
310
310
  {
311
311
  className: `flex flex-row items-center pb-1 pt-1 ${Nu[g]}`,
312
312
  children: [
313
- i && /* @__PURE__ */ s($t, { title: i, children: /* @__PURE__ */ s(
313
+ i && /* @__PURE__ */ s(Vt, { title: i, children: /* @__PURE__ */ s(
314
314
  Ca,
315
315
  {
316
316
  className: "pr-1 text-xs",
@@ -360,7 +360,7 @@ function qe({
360
360
  if (!o)
361
361
  return R();
362
362
  const S = /* @__PURE__ */ s(
363
- so,
363
+ ao,
364
364
  {
365
365
  ooui: new er({
366
366
  name: d + "_label",
@@ -379,7 +379,7 @@ function qe({
379
379
  R()
380
380
  ] }))();
381
381
  }
382
- const { confirm: Mu } = It, tn = ({
382
+ const { confirm: Mu } = It, nn = ({
383
383
  onOk: t,
384
384
  confirmMessage: e,
385
385
  okText: n,
@@ -388,7 +388,7 @@ const { confirm: Mu } = It, tn = ({
388
388
  }) => {
389
389
  Mu({
390
390
  title: o("confirmation"),
391
- icon: /* @__PURE__ */ s(Xr, {}),
391
+ icon: /* @__PURE__ */ s(Zr, {}),
392
392
  centered: !0,
393
393
  content: e,
394
394
  okText: n || o("ok"),
@@ -411,7 +411,7 @@ const { confirm: Mu } = It, tn = ({
411
411
  }
412
412
  function y() {
413
413
  if (a) {
414
- tn({
414
+ nn({
415
415
  confirmMessage: a,
416
416
  t: g,
417
417
  onOk: () => {
@@ -423,7 +423,7 @@ const { confirm: Mu } = It, tn = ({
423
423
  h();
424
424
  }
425
425
  function v() {
426
- return m ? /* @__PURE__ */ s(Xt, {}) : /* @__PURE__ */ s(Lr, { icon: c });
426
+ return m ? /* @__PURE__ */ s(Qt, {}) : /* @__PURE__ */ s(Lr, { icon: c });
427
427
  }
428
428
  return /* @__PURE__ */ s(qe, { ooui: e, children: /* @__PURE__ */ s(
429
429
  Ge,
@@ -457,9 +457,9 @@ const { confirm: Mu } = It, tn = ({
457
457
  } = n || {}, p = we(Ze), { executeButtonAction: g } = p || {}, [h, y] = F(!1), { t: v } = Se();
458
458
  function b() {
459
459
  if (h)
460
- return /* @__PURE__ */ s(Xt, {});
460
+ return /* @__PURE__ */ s(Qt, {});
461
461
  if (d) {
462
- const w = Vt(d);
462
+ const w = Mt(d);
463
463
  return w && /* @__PURE__ */ s(w, {});
464
464
  }
465
465
  }
@@ -468,7 +468,7 @@ const { confirm: Mu } = It, tn = ({
468
468
  }
469
469
  function C() {
470
470
  if (l) {
471
- tn({
471
+ nn({
472
472
  confirmMessage: l,
473
473
  t: v,
474
474
  onOk: () => {
@@ -482,7 +482,7 @@ const { confirm: Mu } = It, tn = ({
482
482
  if (e.buttons.length === 0)
483
483
  return null;
484
484
  if (e.buttons.length > 1)
485
- return /* @__PURE__ */ s(qe, { ooui: new jo({ defaultButton: n }), children: /* @__PURE__ */ j(
485
+ return /* @__PURE__ */ s(qe, { ooui: new Wo({ defaultButton: n }), children: /* @__PURE__ */ j(
486
486
  la.Button,
487
487
  {
488
488
  disabled: !a || m,
@@ -521,7 +521,7 @@ const { confirm: Mu } = It, tn = ({
521
521
  }
522
522
  function y() {
523
523
  if (l) {
524
- tn({
524
+ nn({
525
525
  confirmMessage: l,
526
526
  t: e,
527
527
  onOk: () => {
@@ -534,9 +534,9 @@ const { confirm: Mu } = It, tn = ({
534
534
  }
535
535
  function v() {
536
536
  if (p)
537
- return /* @__PURE__ */ s(Xt, {});
537
+ return /* @__PURE__ */ s(Qt, {});
538
538
  if (d) {
539
- const b = Vt(d);
539
+ const b = Mt(d);
540
540
  return b && /* @__PURE__ */ s(b, {});
541
541
  }
542
542
  }
@@ -572,7 +572,7 @@ function ri() {
572
572
  height: e
573
573
  };
574
574
  }
575
- function io() {
575
+ function lo() {
576
576
  const [t, e] = F(
577
577
  ri()
578
578
  );
@@ -714,7 +714,7 @@ const Va = (t) => {
714
714
  destroyErrorNotification: n
715
715
  };
716
716
  }, La = (t) => {
717
- const { visible: e, onCloseModal: n, model: r, id: o, field: i, onSubmitSucceed: a } = t, { modalWidth: c } = io(), { t: l } = Se(), [d, f] = F([]), [u, m] = F(!1), [p, g] = F(!1), [h, y] = F({}), v = z(), { showErrorNotification: b } = xt();
717
+ const { visible: e, onCloseModal: n, model: r, id: o, field: i, onSubmitSucceed: a } = t, { modalWidth: c } = lo(), { t: l } = Se(), [d, f] = F([]), [u, m] = F(!1), [p, g] = F(!1), [h, y] = F({}), v = z(), { showErrorNotification: b } = xt();
718
718
  le(() => {
719
719
  e ? x() : y({});
720
720
  }, [e]);
@@ -792,7 +792,7 @@ const Va = (t) => {
792
792
  function I() {
793
793
  return u ? /* @__PURE__ */ s(st, {}) : /* @__PURE__ */ j(Ce, { children: [
794
794
  R(),
795
- /* @__PURE__ */ s(Kr, {}),
795
+ /* @__PURE__ */ s(Jr, {}),
796
796
  /* @__PURE__ */ s(Qe, { justify: "end", children: /* @__PURE__ */ j(lt, { children: [
797
797
  /* @__PURE__ */ s(
798
798
  Ge,
@@ -806,7 +806,7 @@ const Va = (t) => {
806
806
  /* @__PURE__ */ s(
807
807
  Ge,
808
808
  {
809
- icon: p ? /* @__PURE__ */ s(Xt, {}) : /* @__PURE__ */ s(tr, {}),
809
+ icon: p ? /* @__PURE__ */ s(Qt, {}) : /* @__PURE__ */ s(tr, {}),
810
810
  disabled: p,
811
811
  onClick: S,
812
812
  style: { marginLeft: 15 },
@@ -835,7 +835,7 @@ const Va = (t) => {
835
835
  };
836
836
  function St(t) {
837
837
  const { tooltip: e, ...n } = t;
838
- return /* @__PURE__ */ s($t, { title: e, children: /* @__PURE__ */ s(Ge, { ...n }) });
838
+ return /* @__PURE__ */ s(Vt, { title: e, children: /* @__PURE__ */ s(Ge, { ...n }) });
839
839
  }
840
840
  const { info: Hu } = It, Sn = (t) => {
841
841
  Hu({
@@ -843,11 +843,11 @@ const { info: Hu } = It, Sn = (t) => {
843
843
  centered: !0,
844
844
  content: t
845
845
  });
846
- }, { useToken: Bu } = rt, ao = ct(({ content: t }) => {
846
+ }, { useToken: Bu } = rt, co = ct(({ content: t }) => {
847
847
  const { token: e } = Bu();
848
848
  return /* @__PURE__ */ s("div", { style: { color: e.colorTextDisabled }, children: t });
849
849
  });
850
- ao.displayName = "AddonElement";
850
+ co.displayName = "AddonElement";
851
851
  const { defaultAlgorithm: ju, defaultSeed: Uu } = rt, ws = ju(Uu), hr = ct(
852
852
  ({
853
853
  component: t,
@@ -858,7 +858,7 @@ const { defaultAlgorithm: ju, defaultSeed: Uu } = rt, ws = ju(Uu), hr = ct(
858
858
  disabled: i,
859
859
  ...a
860
860
  }) => {
861
- const c = A((l) => l ? /* @__PURE__ */ s(ao, { content: l }) : null, []);
861
+ const c = A((l) => l ? /* @__PURE__ */ s(co, { content: l }) : null, []);
862
862
  return /* @__PURE__ */ s(
863
863
  t,
864
864
  {
@@ -1087,7 +1087,7 @@ const Ga = (t) => new Promise((e, n) => {
1087
1087
  const r = new FileReader();
1088
1088
  r.readAsDataURL(t), r.onload = (o) => e(o.target.result.split(",")[1]), r.onerror = (o) => n(o);
1089
1089
  });
1090
- function lo(t, e) {
1090
+ function uo(t, e) {
1091
1091
  const n = atob(t), r = new Array(n.length);
1092
1092
  for (let c = 0; c < n.length; c++)
1093
1093
  r[c] = n.charCodeAt(c);
@@ -1097,7 +1097,7 @@ function lo(t, e) {
1097
1097
  const xs = (t) => {
1098
1098
  const { value: e, style: n = {} } = t;
1099
1099
  if (e) {
1100
- const r = Vt(e);
1100
+ const r = Mt(e);
1101
1101
  return r ? /* @__PURE__ */ s(r, {}) : /* @__PURE__ */ s(
1102
1102
  "img",
1103
1103
  {
@@ -1108,7 +1108,7 @@ const xs = (t) => {
1108
1108
  }
1109
1109
  }, of = (t) => {
1110
1110
  const { ooui: e } = t, { required: n, id: r } = e;
1111
- return Vt(r) ? /* @__PURE__ */ s(xs, { value: r }) : /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(sf, { ooui: e }) });
1111
+ return Mt(r) ? /* @__PURE__ */ s(xs, { value: r }) : /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(sf, { ooui: e }) });
1112
1112
  }, sf = (t) => {
1113
1113
  const { ooui: e, value: n, onChange: r } = t, { readOnly: o } = e, i = z(null), { t: a } = Se(), c = (u) => {
1114
1114
  r == null || r(u);
@@ -1196,7 +1196,7 @@ const xs = (t) => {
1196
1196
  }
1197
1197
  }
1198
1198
  );
1199
- }, en = (t) => {
1199
+ }, tn = (t) => {
1200
1200
  const e = t.arch, n = t.fields, r = new ga(n);
1201
1201
  return r.parse(e), r;
1202
1202
  };
@@ -1226,7 +1226,7 @@ const Cs = (t, e, n, r = !1) => t.columns.map((i) => {
1226
1226
  },
1227
1227
  isSortable: a !== "one2many" && !i.isFunction && (a !== "many2one" || r) || i.isSortable
1228
1228
  };
1229
- }), nn = async (t, e, n = {}) => {
1229
+ }), rn = async (t, e, n = {}) => {
1230
1230
  const r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
1231
1231
  e.forEach((l) => {
1232
1232
  Object.keys(l).forEach((d) => {
@@ -1427,10 +1427,10 @@ function Ka(t) {
1427
1427
  }
1428
1428
  return "legacy";
1429
1429
  }
1430
- const Yo = (t) => {
1430
+ const Ko = (t) => {
1431
1431
  if (!(!(t != null && t.arch) || !(t != null && t.fields)))
1432
1432
  try {
1433
- const n = en(t).columns.filter((r) => r.id && !r.invisible).map((r) => r.id);
1433
+ const n = tn(t).columns.filter((r) => r.id && !r.invisible).map((r) => r.id);
1434
1434
  return n.length > 0 ? n : void 0;
1435
1435
  } catch (e) {
1436
1436
  console.error("Error extracting visible tree fields:", e);
@@ -1453,7 +1453,7 @@ const Yo = (t) => {
1453
1453
  };
1454
1454
  let u = [], m;
1455
1455
  if (a === "tree" && (o != null && o.arch)) {
1456
- const y = (h = en(o)) == null ? void 0 : h.colors, v = await U.getHandler().readEvalUiObjects({
1456
+ const y = (h = tn(o)) == null ? void 0 : h.colors, v = await U.getHandler().readEvalUiObjects({
1457
1457
  model: n,
1458
1458
  ids: d,
1459
1459
  arch: o == null ? void 0 : o.arch,
@@ -1554,7 +1554,7 @@ const Xa = ({
1554
1554
  context: o
1555
1555
  }) => {
1556
1556
  const i = await Promise.all(
1557
- n.map(async (c) => c.treeValues ? (await nn(
1557
+ n.map(async (c) => c.treeValues ? (await rn(
1558
1558
  r,
1559
1559
  [c.treeValues],
1560
1560
  o
@@ -1587,7 +1587,7 @@ const Xa = ({
1587
1587
  const c = e.filter((u) => u > 0), l = a ? Object.keys(n.fields).reduce((u, m) => (n.fields[m].is_function || u.push(m), u), []) : Object.keys(n.fields);
1588
1588
  if (l.length === 0 || c.length === 0)
1589
1589
  return {
1590
- items: await nn(
1590
+ items: await rn(
1591
1591
  i,
1592
1592
  e.map((u) => ({ id: u })),
1593
1593
  r
@@ -1606,7 +1606,7 @@ const Xa = ({
1606
1606
  fieldsToRetrieve: l
1607
1607
  }), f = e.map((u) => u > 0 ? d[0].find((m) => m.id === u) || { id: u } : { id: u });
1608
1608
  return {
1609
- items: await nn(i, f, r),
1609
+ items: await rn(i, f, r),
1610
1610
  colors: zn(d[1] || {}),
1611
1611
  status: Hr(d[1] || {})
1612
1612
  };
@@ -1624,7 +1624,7 @@ const Xa = ({
1624
1624
  } else
1625
1625
  n[r] = t[r];
1626
1626
  }), n;
1627
- }, Vn = (t, e) => pf(t, e), Co = ({
1627
+ }, Vn = (t, e) => pf(t, e), To = ({
1628
1628
  source: t,
1629
1629
  target: e,
1630
1630
  fields: n
@@ -1829,7 +1829,7 @@ const En = ({
1829
1829
  if (a)
1830
1830
  return /* @__PURE__ */ s(st, {});
1831
1831
  const O = (E) => {
1832
- const T = Vt(E);
1832
+ const T = Mt(E);
1833
1833
  return T && /* @__PURE__ */ s(T, {});
1834
1834
  }, N = w.map((E) => {
1835
1835
  var _, D, $, M;
@@ -2272,7 +2272,7 @@ const En = ({
2272
2272
  devMode: !1,
2273
2273
  treeMaxLimit: rl,
2274
2274
  onActionTriggered: void 0
2275
- }, ol = rn.createContext(Rf), Qt = () => {
2275
+ }, ol = Jt.createContext(Rf), Zt = () => {
2276
2276
  const t = we(ol);
2277
2277
  if (!t)
2278
2278
  throw new Error(
@@ -2280,14 +2280,14 @@ const En = ({
2280
2280
  );
2281
2281
  return t;
2282
2282
  }, Fn = (t) => {
2283
- const { userFeatures: e } = Qt();
2283
+ const { userFeatures: e } = Zt();
2284
2284
  return !!e.features[t];
2285
2285
  }, Kt = (t) => {
2286
2286
  var n;
2287
- const { erpFeatures: e } = Qt();
2287
+ const { erpFeatures: e } = Zt();
2288
2288
  return !!((n = e[t]) != null && n.isEnabled) || !1;
2289
- }, co = (t) => {
2290
- const { erpFeatures: e } = Qt();
2289
+ }, fo = (t) => {
2290
+ const { erpFeatures: e } = Zt();
2291
2291
  return e[t];
2292
2292
  }, _f = ct(
2293
2293
  ({
@@ -2336,7 +2336,7 @@ const En = ({
2336
2336
  }
2337
2337
  );
2338
2338
  _f.displayName = "ConfigContextProvider";
2339
- const _t = 80, An = "ir.actions.act_window", Ef = "ir.actions.act_window_close", sl = "ir.actions.wizard", zo = "ir.actions.report.xml", Of = "ir.actions.act_url", Df = "ir.actions.actions", kf = "ir.act.update_token";
2339
+ const _t = 80, An = "ir.actions.act_window", Ef = "ir.actions.act_window_close", sl = "ir.actions.wizard", Jo = "ir.actions.report.xml", Of = "ir.actions.act_url", Df = "ir.actions.actions", kf = "ir.act.update_token";
2340
2340
  async function il({
2341
2341
  actionId: t,
2342
2342
  rootContext: e = {},
@@ -2395,7 +2395,7 @@ async function il({
2395
2395
  };
2396
2396
  }
2397
2397
  const Nf = (t) => {
2398
- const e = z(!1), [n, r] = F(), [o, i] = F(!1), [a, c] = F(), [l, d] = F(), f = we(Ze), { getContext: u, getPlainValues: m, activeId: p } = f || {}, { globalValues: g, rootContext: h } = Qt(), y = Z(() => ({ ...u == null ? void 0 : u(), ...h }), [u, h]);
2398
+ const e = z(!1), [n, r] = F(), [o, i] = F(!1), [a, c] = F(), [l, d] = F(), f = we(Ze), { getContext: u, getPlainValues: m, activeId: p } = f || {}, { globalValues: g, rootContext: h } = Zt(), y = Z(() => ({ ...u == null ? void 0 : u(), ...h }), [u, h]);
2399
2399
  return { actionData: a, treeShortcut: l, loading: o, error: n, fetchData: async () => {
2400
2400
  r(void 0), e.current || i(!0);
2401
2401
  try {
@@ -2583,7 +2583,7 @@ function Mf({
2583
2583
  `bold ${Math.floor(l * 1.03)}px sans-serif`
2584
2584
  );
2585
2585
  a && (m = m * 2), m >= e * 0.85 && (l = e * 0.85 / m * l);
2586
- const p = a && Vt(a, { style: { fontSize: l * 0.7 } });
2586
+ const p = a && Mt(a, { style: { fontSize: l * 0.7 } });
2587
2587
  return /* @__PURE__ */ s(
2588
2588
  "div",
2589
2589
  {
@@ -2596,7 +2596,7 @@ function Mf({
2596
2596
  justifyContent: "center",
2597
2597
  overflow: "hidden"
2598
2598
  },
2599
- children: /* @__PURE__ */ j(Go, { style: { fontSize: l, margin: 0, color: i }, children: [
2599
+ children: /* @__PURE__ */ j(zo, { style: { fontSize: l, margin: 0, color: i }, children: [
2600
2600
  p && /* @__PURE__ */ s(p, { style: { fontSize: l * 0.7 } }),
2601
2601
  p ? ` ${u}` : u
2602
2602
  ] })
@@ -2631,7 +2631,7 @@ function Pf({
2631
2631
  `bold ${Math.floor(f * 1.03)}px sans-serif`
2632
2632
  );
2633
2633
  c && (g = g * 1.5), (g >= n * 0.85 || f * 2 < d) && (f = n * 0.85 / g * f);
2634
- const h = c && Vt(c, { style: { fontSize: f } });
2634
+ const h = c && Mt(c, { style: { fontSize: f } });
2635
2635
  return /* @__PURE__ */ s(
2636
2636
  "div",
2637
2637
  {
@@ -2649,9 +2649,9 @@ function Pf({
2649
2649
  children: /* @__PURE__ */ j(Qe, { align: "middle", children: [
2650
2650
  h && /* @__PURE__ */ s(Pe, { style: { fontSize: f * 1, color: a, paddingRight: "10px" }, children: /* @__PURE__ */ s(h, {}) }),
2651
2651
  /* @__PURE__ */ j(Pe, { children: [
2652
- /* @__PURE__ */ s(Go, { style: { fontSize: f * 0.8, margin: 0, color: a }, children: h ? ` ${r}%` : `${r}%` }),
2652
+ /* @__PURE__ */ s(zo, { style: { fontSize: f * 0.8, margin: 0, color: a }, children: h ? ` ${r}%` : `${r}%` }),
2653
2653
  /* @__PURE__ */ s(
2654
- Go,
2654
+ zo,
2655
2655
  {
2656
2656
  style: {
2657
2657
  fontSize: f * 0.4,
@@ -2993,7 +2993,7 @@ async function ci({
2993
2993
  }), c;
2994
2994
  });
2995
2995
  }
2996
- const So = (t) => (e) => {
2996
+ const Fo = (t) => (e) => {
2997
2997
  const n = e.value.toLocaleString("es-ES", {
2998
2998
  useGrouping: !0
2999
2999
  });
@@ -3033,7 +3033,7 @@ const So = (t) => (e) => {
3033
3033
  maxItemWidth: 1e3
3034
3034
  },
3035
3035
  tooltip: {
3036
- formatter: So("default")
3036
+ formatter: Fo("default")
3037
3037
  }
3038
3038
  },
3039
3039
  pie: {
@@ -3046,7 +3046,7 @@ const So = (t) => (e) => {
3046
3046
  maxItemWidth: 1e3
3047
3047
  },
3048
3048
  tooltip: {
3049
- formatter: So("pie")
3049
+ formatter: Fo("pie")
3050
3050
  },
3051
3051
  interactions: [
3052
3052
  {
@@ -3061,7 +3061,7 @@ const So = (t) => (e) => {
3061
3061
  maxItemWidth: 1e3
3062
3062
  },
3063
3063
  tooltip: {
3064
- formatter: So("barGrouped")
3064
+ formatter: Fo("barGrouped")
3065
3065
  },
3066
3066
  xAxis: {
3067
3067
  label: {
@@ -3381,7 +3381,7 @@ const em = ({
3381
3381
  }) => {
3382
3382
  am({
3383
3383
  title: n("unsavedChanges"),
3384
- icon: /* @__PURE__ */ s(Xr, {}),
3384
+ icon: /* @__PURE__ */ s(Zr, {}),
3385
3385
  centered: !0,
3386
3386
  content: n("confirmCloseWithoutSave"),
3387
3387
  okText: n("closeWithoutSaving"),
@@ -3389,14 +3389,14 @@ const em = ({
3389
3389
  onCancel: e,
3390
3390
  cancelText: n("cancel")
3391
3391
  });
3392
- }, To = {
3392
+ }, Ao = {
3393
3393
  tree: /* @__PURE__ */ s(ms, {}),
3394
3394
  form: /* @__PURE__ */ s(pr, {}),
3395
3395
  graph: /* @__PURE__ */ s(pd, {}),
3396
3396
  calendar: /* @__PURE__ */ s(hd, {})
3397
3397
  };
3398
3398
  function mi(t) {
3399
- return t ? (To == null ? void 0 : To[t.type]) || /* @__PURE__ */ s(pr, {}) : /* @__PURE__ */ s(pr, {});
3399
+ return t ? (Ao == null ? void 0 : Ao[t.type]) || /* @__PURE__ */ s(pr, {}) : /* @__PURE__ */ s(pr, {});
3400
3400
  }
3401
3401
  function Ts(t) {
3402
3402
  const {
@@ -3500,7 +3500,7 @@ function kt(t) {
3500
3500
  disabled: n,
3501
3501
  ...l,
3502
3502
  children: [
3503
- r ? /* @__PURE__ */ s(Xt, {}) : i,
3503
+ r ? /* @__PURE__ */ s(Qt, {}) : i,
3504
3504
  a
3505
3505
  ]
3506
3506
  }
@@ -3509,7 +3509,7 @@ function kt(t) {
3509
3509
  const pl = (t) => /* @__PURE__ */ s(kt, { ...t, type: "primary", danger: !0 });
3510
3510
  function hl(t) {
3511
3511
  const { disabled: e = !1 } = t, { formHasChanges: n, onNewClicked: r } = we(
3512
- Mt
3512
+ Pt
3513
3513
  ), { t: o } = Se(), i = () => {
3514
3514
  if (n) {
3515
3515
  rr({
@@ -3525,7 +3525,7 @@ function hl(t) {
3525
3525
  return /* @__PURE__ */ s(
3526
3526
  kt,
3527
3527
  {
3528
- icon: /* @__PURE__ */ s(Qr, {}),
3528
+ icon: /* @__PURE__ */ s(eo, {}),
3529
3529
  tooltip: o("new"),
3530
3530
  onClick: i,
3531
3531
  disabled: e,
@@ -3618,7 +3618,7 @@ function cm(t) {
3618
3618
  disabled: n,
3619
3619
  onChange: m,
3620
3620
  style: { borderTopRightRadius: 0, borderBottomRightRadius: 0 },
3621
- suffix: (a || r && r.length > 0) && /* @__PURE__ */ s($t, { title: o("clear"), children: /* @__PURE__ */ s(
3621
+ suffix: (a || r && r.length > 0) && /* @__PURE__ */ s(Vt, { title: o("clear"), children: /* @__PURE__ */ s(
3622
3622
  gd,
3623
3623
  {
3624
3624
  style: { color: "rgba(0,0,0,.45)" },
@@ -3641,7 +3641,7 @@ function cm(t) {
3641
3641
  );
3642
3642
  }
3643
3643
  var Tt = /* @__PURE__ */ ((t) => (t.FEATURE_VIEW_JSON_ATTRS = "view_json_attrs", t.FEATURE_ADVANCED_EXPORT = "export_data2", t.FEATURE_OMNISEARCH = "omnisearch", t.FEATURE_READFORVIEW = "read_for_view", t.FEATURE_USERVIEWPREFS = "user_view_prefs", t.FEATURE_GET_TOOLBAR = "get_toolbar", t.FEATURE_MANY2ONE_SORT = "many2one_sort", t.FEATURE_LOGGABLE_ACTIONS = "user_action_logs", t.FEATURE_USER_FLAGS = "user_feature_flags", t.FEATURE_CHECK_PERMS = "check_perms", t.FEATURE_SAVED_SEARCHES = "saved_searches", t.FEATURE_USER_NOTIFICATIONS = "user_notifications", t.FEATURE_SSE_SESSION_NOTIFICATIONS = "sse_session_notifications", t))(Tt || {});
3644
- const h0 = Object.values(Tt), Wt = rn.createContext(null), dm = (t) => {
3644
+ const g0 = Object.values(Tt), Wt = Jt.createContext(null), dm = (t) => {
3645
3645
  const {
3646
3646
  children: e,
3647
3647
  openAction: n,
@@ -3654,7 +3654,7 @@ const h0 = Object.values(Tt), Wt = rn.createContext(null), dm = (t) => {
3654
3654
  onReorderTabs: d,
3655
3655
  onUpdateTabTitle: f,
3656
3656
  tabs: u
3657
- } = t, [m, p] = F(), [g, h] = F(), y = Z(() => u.find((x) => x.key === a), [u, a]), { title: v } = Qt(), b = Z(() => !((u == null ? void 0 : u.length) > 0), [u]);
3657
+ } = t, [m, p] = F(), [g, h] = F(), y = Z(() => u.find((x) => x.key === a), [u, a]), { title: v } = Zt(), b = Z(() => !((u == null ? void 0 : u.length) > 0), [u]);
3658
3658
  return le(() => {
3659
3659
  b && (document.title = v, window.history.replaceState({}, "", "/"));
3660
3660
  }, [b, v]), /* @__PURE__ */ s(
@@ -3698,7 +3698,7 @@ const { useToken: um } = rt, fm = (t) => {
3698
3698
  } = t, { t: d } = Se(), { token: f } = um(), u = z(null), m = we(
3699
3699
  Wt
3700
3700
  ), { openDefaultActionForModel: p } = m || {}, g = we(
3701
- Mt
3701
+ Pt
3702
3702
  ), {
3703
3703
  currentModel: h,
3704
3704
  setSearchParams: y,
@@ -3707,7 +3707,7 @@ const { useToken: um } = rt, fm = (t) => {
3707
3707
  availableViews: x,
3708
3708
  currentSavedSearch: C,
3709
3709
  setCurrentSavedSearch: w
3710
- } = g || {}, R = co(
3710
+ } = g || {}, R = fo(
3711
3711
  Tt.FEATURE_LOGGABLE_ACTIONS
3712
3712
  ), [S] = Ie(
3713
3713
  U.getHandler().logAction
@@ -3794,7 +3794,7 @@ const { useToken: um } = rt, fm = (t) => {
3794
3794
  count: (r == null ? void 0 : r.length) || 0,
3795
3795
  color: f.colorPrimary,
3796
3796
  offset: [-70, 2],
3797
- children: /* @__PURE__ */ s($t, { title: d == null ? void 0 : d("advanced_search"), children: /* @__PURE__ */ s(
3797
+ children: /* @__PURE__ */ s(Vt, { title: d == null ? void 0 : d("advanced_search"), children: /* @__PURE__ */ s(
3798
3798
  Pd,
3799
3799
  {
3800
3800
  ref: u,
@@ -3814,7 +3814,7 @@ const { useToken: um } = rt, fm = (t) => {
3814
3814
  children: (_ = d == null ? void 0 : d("actions")) == null ? void 0 : _.toUpperCase()
3815
3815
  }
3816
3816
  ),
3817
- /* @__PURE__ */ s("div", { style: { paddingBottom: 5 }, children: /* @__PURE__ */ s($t, { title: d == null ? void 0 : d("clear_search"), children: /* @__PURE__ */ j(
3817
+ /* @__PURE__ */ s("div", { style: { paddingBottom: 5 }, children: /* @__PURE__ */ s(Vt, { title: d == null ? void 0 : d("clear_search"), children: /* @__PURE__ */ j(
3818
3818
  "div",
3819
3819
  {
3820
3820
  style: {
@@ -3845,7 +3845,7 @@ const { useToken: um } = rt, fm = (t) => {
3845
3845
  ] }),
3846
3846
  /* @__PURE__ */ j("div", { style: { display: "flex" }, children: [
3847
3847
  /* @__PURE__ */ s("div", { style: { paddingLeft: 15, color: "#ccc" }, children: (D = d == null ? void 0 : d("saved_searches")) == null ? void 0 : D.toUpperCase() }),
3848
- /* @__PURE__ */ s("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ s($t, { title: d == null ? void 0 : d("edit_saved_searches"), children: /* @__PURE__ */ s(
3848
+ /* @__PURE__ */ s("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ s(Vt, { title: d == null ? void 0 : d("edit_saved_searches"), children: /* @__PURE__ */ s(
3849
3849
  ps,
3850
3850
  {
3851
3851
  style: { color: f.colorPrimary, cursor: "pointer" },
@@ -3859,21 +3859,21 @@ const { useToken: um } = rt, fm = (t) => {
3859
3859
  ) })
3860
3860
  }
3861
3861
  );
3862
- }, yn = rn.createContext(null), pi = async (t) => {
3862
+ }, yn = Jt.createContext(null), pi = async (t) => {
3863
3863
  var e;
3864
3864
  for (let n = 0; n < t.length; n++)
3865
3865
  await ((e = t == null ? void 0 : t[n]) == null ? void 0 : e.call(t));
3866
3866
  }, mm = (t, e) => {
3867
3867
  const { children: n, globalValues: r = {} } = t, o = z(), i = z(), [a, c] = F(!1), l = we(
3868
3868
  Wt
3869
- ), { openAction: d } = l || {}, f = z([]), { t: u } = Se(), { showErrorNotification: m } = xt(), p = co(
3869
+ ), { openAction: d } = l || {}, f = z([]), { t: u } = Se(), { showErrorNotification: m } = xt(), p = fo(
3870
3870
  Tt.FEATURE_LOGGABLE_ACTIONS
3871
3871
  ), [g, h] = Ie(
3872
3872
  U.getHandler().logAction
3873
3873
  );
3874
3874
  le(() => () => {
3875
3875
  h();
3876
- }, []), Jt(e, () => ({
3876
+ }, []), Xt(e, () => ({
3877
3877
  openActionModal: I,
3878
3878
  processAction: R
3879
3879
  }));
@@ -3900,14 +3900,14 @@ const { useToken: um } = rt, fm = (t) => {
3900
3900
  id: K
3901
3901
  } = E;
3902
3902
  if (!M && $) {
3903
- const te = Yo($);
3903
+ const te = Ko($);
3904
3904
  te && te.length > 0 && (B.fields = te);
3905
3905
  }
3906
3906
  if (!M && $) {
3907
- const te = Yo($);
3907
+ const te = Ko($);
3908
3908
  te && te.length > 0 && (B.fields = te);
3909
3909
  }
3910
- if (H !== zo) {
3910
+ if (H !== Jo) {
3911
3911
  m({
3912
3912
  type: "error",
3913
3913
  title: "Error",
@@ -3953,7 +3953,7 @@ const { useToken: um } = rt, fm = (t) => {
3953
3953
  }), E.state && i.current === !0) {
3954
3954
  i.current = !1, clearInterval(o.current), c(!1);
3955
3955
  const T = await Yn(E.result);
3956
- lo(E.result, T.mime);
3956
+ uo(E.result, T.mime);
3957
3957
  }
3958
3958
  } catch (T) {
3959
3959
  i.current = !1, clearInterval(o.current), c(!1), m(T.exception || T);
@@ -3969,7 +3969,7 @@ const { useToken: um } = rt, fm = (t) => {
3969
3969
  view_id: M
3970
3970
  }) {
3971
3971
  const { type: V } = N;
3972
- if (D && f.current.push(D), V === zo)
3972
+ if (D && f.current.push(D), V === Jo)
3973
3973
  return await C({
3974
3974
  reportData: N,
3975
3975
  fields: E,
@@ -4354,7 +4354,7 @@ const gm = "action", ym = ["active_id", "active_ids", "id"], vm = ["target", "co
4354
4354
  }, wl = (t) => !t || typeof t != "object" ? {} : Object.fromEntries(
4355
4355
  Object.entries(t).filter(([e]) => ym.includes(e))
4356
4356
  ), xm = Ea("IconExternalLink"), Cm = Ea("IconShare2");
4357
- function uo({ res_id: t, searchParams: e }) {
4357
+ function mo({ res_id: t, searchParams: e }) {
4358
4358
  const n = z(null), { currentView: r, limit: o, currentPage: i, order: a } = Lt(), c = {
4359
4359
  id: r.view_id,
4360
4360
  type: r.type
@@ -4471,7 +4471,7 @@ function Sm({
4471
4471
  setSearchParams: D,
4472
4472
  setSearchValues: $,
4473
4473
  permissions: M
4474
- } = we(Mt), V = Kt(
4474
+ } = we(Pt), V = Kt(
4475
4475
  Tt.FEATURE_ADVANCED_EXPORT
4476
4476
  ), L = Kt(
4477
4477
  Tt.FEATURE_SAVED_SEARCHES
@@ -4569,10 +4569,10 @@ function Sm({
4569
4569
  id: -1,
4570
4570
  model: g,
4571
4571
  report_name: "printscreen.list",
4572
- type: zo,
4572
+ type: Jo,
4573
4573
  datas: {
4574
4574
  view_id: c == null ? void 0 : c.view_id,
4575
- fields: !(c != null && c.view_id) && Yo(c),
4575
+ fields: !(c != null && c.view_id) && Ko(c),
4576
4576
  model: g,
4577
4577
  ids: ne
4578
4578
  }
@@ -4619,13 +4619,13 @@ function Sm({
4619
4619
  [x, T, C]
4620
4620
  );
4621
4621
  const ue = A(() => {
4622
- tn({
4622
+ nn({
4623
4623
  confirmMessage: B("confirmDuplicate"),
4624
4624
  t: B,
4625
4625
  onOk: J
4626
4626
  });
4627
4627
  }, [J, B]), ce = A(() => {
4628
- tn({
4628
+ nn({
4629
4629
  confirmMessage: B("confirmRemove"),
4630
4630
  t: B,
4631
4631
  onOk: ee
@@ -4701,7 +4701,7 @@ function Sm({
4701
4701
  /* @__PURE__ */ s(
4702
4702
  kt,
4703
4703
  {
4704
- icon: /* @__PURE__ */ s(Zr, {}),
4704
+ icon: /* @__PURE__ */ s(to, {}),
4705
4705
  tooltip: B("showLogs"),
4706
4706
  disabled: !(d && (d == null ? void 0 : d.length) === 1) || S,
4707
4707
  onClick: () => Fs(g, d[0].id, B)
@@ -4710,7 +4710,7 @@ function Sm({
4710
4710
  /* @__PURE__ */ s(
4711
4711
  kt,
4712
4712
  {
4713
- icon: /* @__PURE__ */ s(eo, {}),
4713
+ icon: /* @__PURE__ */ s(no, {}),
4714
4714
  tooltip: B("refresh"),
4715
4715
  disabled: m || u || S,
4716
4716
  onClick: q
@@ -4730,8 +4730,8 @@ function Sm({
4730
4730
  )
4731
4731
  ] }),
4732
4732
  /* @__PURE__ */ s(wt, {}),
4733
- /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(to, {}), ...Q }),
4734
- /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(no, {}), ...te }),
4733
+ /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(ro, {}), ...Q }),
4734
+ /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(oo, {}), ...te }),
4735
4735
  V && /* @__PURE__ */ j(Ce, { children: [
4736
4736
  /* @__PURE__ */ s(wt, {}),
4737
4737
  /* @__PURE__ */ s(
@@ -4759,7 +4759,7 @@ function Sm({
4759
4759
  }
4760
4760
  ),
4761
4761
  /* @__PURE__ */ s(
4762
- tb,
4762
+ nb,
4763
4763
  {
4764
4764
  visible: P,
4765
4765
  onClose: () => H(!1),
@@ -4774,7 +4774,7 @@ function Sm({
4774
4774
  )
4775
4775
  ] }),
4776
4776
  /* @__PURE__ */ s(wt, {}),
4777
- /* @__PURE__ */ s(uo, { searchParams: b })
4777
+ /* @__PURE__ */ s(mo, { searchParams: b })
4778
4778
  ] });
4779
4779
  }
4780
4780
  const Tm = ct(Sm), xl = ct(() => /* @__PURE__ */ s(
@@ -4804,7 +4804,7 @@ const Tm = ct(Sm), xl = ct(() => /* @__PURE__ */ s(
4804
4804
  }
4805
4805
  ));
4806
4806
  xl.displayName = "ExportIcon";
4807
- const { useToken: Fm } = rt, { Title: Am, Text: Mr } = ln, fo = ({
4807
+ const { useToken: Fm } = rt, { Title: Am, Text: Mr } = ln, po = ({
4808
4808
  title: t,
4809
4809
  children: e,
4810
4810
  showSummary: n = !0,
@@ -4819,7 +4819,7 @@ const { useToken: Fm } = rt, { Title: Am, Text: Mr } = ln, fo = ({
4819
4819
  totalItems: d,
4820
4820
  selectedRowItems: f,
4821
4821
  treeType: u
4822
- } = we(Mt), { t: m } = Se(), { token: p } = Fm(), g = Z(() => {
4822
+ } = we(Pt), { t: m } = Se(), { token: p } = Fm(), g = Z(() => {
4823
4823
  if (!n)
4824
4824
  return null;
4825
4825
  if ((i == null ? void 0 : i.type) === "form" && a) {
@@ -5170,13 +5170,13 @@ const Om = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Al,
5170
5170
  id: "action",
5171
5171
  name: c("action"),
5172
5172
  disabled: !u || u.length === 0,
5173
- icon: /* @__PURE__ */ s(to, {})
5173
+ icon: /* @__PURE__ */ s(ro, {})
5174
5174
  },
5175
5175
  {
5176
5176
  id: "print",
5177
5177
  name: c("report"),
5178
5178
  disabled: !p || p.length === 0,
5179
- icon: /* @__PURE__ */ s(no, {})
5179
+ icon: /* @__PURE__ */ s(oo, {})
5180
5180
  },
5181
5181
  {
5182
5182
  id: "divider",
@@ -5186,7 +5186,7 @@ const Om = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Al,
5186
5186
  },
5187
5187
  {
5188
5188
  label: c("related"),
5189
- icon: /* @__PURE__ */ s(ro, {}),
5189
+ icon: /* @__PURE__ */ s(so, {}),
5190
5190
  items: m
5191
5191
  }
5192
5192
  ];
@@ -5357,7 +5357,7 @@ const Om = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Al,
5357
5357
  return [...new Set(r.filter((o) => o in t))];
5358
5358
  };
5359
5359
  var fn = /* @__PURE__ */ ((t) => (t.FEATURE_MANY2ONE_DISABLE_ARROW_MENU = "widget.many2one.disable.arrow_menu", t.FEATURE_MANY2ONE_DISABLE_FOLDER = "widget.many2one.disable.folder", t.FEATURE_ONE2MANY_ENABLE_NEW_TABLE = "widget.one2many.enable_new_table", t.FEATURE_TEST_FEATURE = "test.feature", t))(fn || {});
5360
- const g0 = Object.values(fn), $m = (t) => {
5360
+ const y0 = Object.values(fn), $m = (t) => {
5361
5361
  const { m2oField: e, ooui: n } = t, r = Fn(
5362
5362
  fn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
5363
5363
  ), o = Z(() => {
@@ -5387,7 +5387,7 @@ const g0 = Object.values(fn), $m = (t) => {
5387
5387
  let r = n;
5388
5388
  e.selectionValues.size ? r = e.selectionValues.get(n) : Array.isArray(n) && (r = n[1]);
5389
5389
  const o = r.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), i = Ar(r);
5390
- return /* @__PURE__ */ s($t, { title: r, children: /* @__PURE__ */ s(ua, { alt: r, style: { backgroundColor: i }, children: o }) });
5390
+ return /* @__PURE__ */ s(Vt, { title: r, children: /* @__PURE__ */ s(ua, { alt: r, style: { backgroundColor: i }, children: o }) });
5391
5391
  };
5392
5392
  function Hm(t) {
5393
5393
  return t.length === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1);
@@ -5445,7 +5445,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5445
5445
  borderWidth: "1px"
5446
5446
  }, e = r.background;
5447
5447
  }
5448
- return /* @__PURE__ */ s(as, { ...t, style: n, color: e, children: t.children });
5448
+ return /* @__PURE__ */ s(ls, { ...t, style: n, color: e, children: t.children });
5449
5449
  }, Rl = ({
5450
5450
  emails: t,
5451
5451
  handleClose: e
@@ -5454,7 +5454,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5454
5454
  return null;
5455
5455
  const n = typeof t == "string" ? t.split(/[,;]/).map((r) => r.trim()) : t;
5456
5456
  return /* @__PURE__ */ s(Ce, { children: n.map((r, o) => /* @__PURE__ */ s(
5457
- as,
5457
+ ls,
5458
5458
  {
5459
5459
  closable: !!e,
5460
5460
  color: nu.isEmail(r, { allow_display_name: !0 }) ? void 0 : "error",
@@ -5553,7 +5553,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5553
5553
  ]
5554
5554
  }
5555
5555
  );
5556
- }, vn = rn.createContext(
5556
+ }, vn = Jt.createContext(
5557
5557
  null
5558
5558
  ), Um = ({
5559
5559
  children: t,
@@ -5615,7 +5615,7 @@ const Bm = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Il,
5615
5615
  }
5616
5616
  );
5617
5617
  return r ? /* @__PURE__ */ s(
5618
- $t,
5618
+ Vt,
5619
5619
  {
5620
5620
  title: o,
5621
5621
  color: "white",
@@ -5828,7 +5828,7 @@ const vr = ({
5828
5828
  },
5829
5829
  [a]
5830
5830
  ), v = A(
5831
- (C) => rn.createElement(Zn, { color: C, style: { marginLeft: 7 } }),
5831
+ (C) => Jt.createElement(Zn, { color: C, style: { marginLeft: 7 } }),
5832
5832
  []
5833
5833
  ), b = A(
5834
5834
  (C) => {
@@ -5875,7 +5875,7 @@ const vr = ({
5875
5875
  paddingLeft: 2
5876
5876
  },
5877
5877
  children: [
5878
- e && /* @__PURE__ */ s(Xt, {}),
5878
+ e && /* @__PURE__ */ s(Qt, {}),
5879
5879
  !e && n && n.join(", ")
5880
5880
  ]
5881
5881
  }
@@ -5978,7 +5978,7 @@ const vr = ({
5978
5978
  domain: i
5979
5979
  });
5980
5980
  return {
5981
- footerComponent: Z(() => l ? rn.createElement(Es, { aggregates: c, isLoading: a }) : null, [c, a, l]),
5981
+ footerComponent: Z(() => l ? Jt.createElement(Es, { aggregates: c, isLoading: a }) : null, [c, a, l]),
5982
5982
  aggregates: c,
5983
5983
  hasAggregates: l,
5984
5984
  isLoading: a
@@ -6005,7 +6005,7 @@ const vr = ({
6005
6005
  ), f = A(async () => {
6006
6006
  if (t.length === 0) {
6007
6007
  if (r && r > o)
6008
- tn({
6008
+ nn({
6009
6009
  confirmMessage: a("confirmSelectAllRegisters").replace(
6010
6010
  "{totalRecords}",
6011
6011
  r.toString()
@@ -6055,12 +6055,12 @@ const vr = ({
6055
6055
  format: "HH:mm:ss",
6056
6056
  displayFormat: "HH:mm:ss",
6057
6057
  placeholder: "__:__:__"
6058
- }, Fo = (t) => new RegExp(
6058
+ }, Io = (t) => new RegExp(
6059
6059
  "^" + t.replace(/HH/g, "\\d{2}").replace(/mm/g, "\\d{2}").replace(/ss/g, "\\d{2}").replace(/:/g, "\\:") + "$"
6060
6060
  ), dr = {
6061
- hours: Fo("HH"),
6062
- hoursMinutes: Fo("HH:mm"),
6063
- hoursMinutesSeconds: Fo("HH:mm:ss")
6061
+ hours: Io("HH"),
6062
+ hoursMinutes: Io("HH:mm"),
6063
+ hoursMinutesSeconds: Io("HH:mm:ss")
6064
6064
  }, cp = (t) => !t || t.trim() === "" ? !0 : dr.hours.test(t) || dr.hoursMinutes.test(t), dp = (t, e, n = !1) => {
6065
6065
  if (!t || t.trim() === "") {
6066
6066
  const r = e.format("HH"), o = e.format("mm"), i = e.format("ss");
@@ -6118,7 +6118,7 @@ const vr = ({
6118
6118
  handleKeyDown: r,
6119
6119
  handleBlur: o
6120
6120
  };
6121
- }, Ko = ({
6121
+ }, Xo = ({
6122
6122
  value: t,
6123
6123
  onChange: e,
6124
6124
  numberOfSelectsToHide: n = 2,
@@ -6159,18 +6159,18 @@ const vr = ({
6159
6159
  );
6160
6160
  }, fp = (t) => {
6161
6161
  const { ooui: e, showLabel: n = !1 } = t, { label: r, id: o } = e, i = [
6162
- new jo({
6162
+ new Wo({
6163
6163
  name: o + "#date",
6164
6164
  label: ""
6165
6165
  }),
6166
- new jo({
6166
+ new Wo({
6167
6167
  name: o + "#time",
6168
6168
  label: ""
6169
6169
  })
6170
6170
  ];
6171
6171
  return /* @__PURE__ */ j(Ce, { children: [
6172
6172
  n && /* @__PURE__ */ s(
6173
- so,
6173
+ ao,
6174
6174
  {
6175
6175
  ooui: new er({
6176
6176
  name: o + "_label",
@@ -6196,7 +6196,7 @@ const vr = ({
6196
6196
  );
6197
6197
  return /* @__PURE__ */ j(Qe, { gutter: 8, children: [
6198
6198
  /* @__PURE__ */ s(Pe, { span: 12, children: /* @__PURE__ */ s(
6199
- Ko,
6199
+ Xo,
6200
6200
  {
6201
6201
  placeholder: "Start time",
6202
6202
  format: "HH:mm",
@@ -6209,7 +6209,7 @@ const vr = ({
6209
6209
  }
6210
6210
  ) }),
6211
6211
  /* @__PURE__ */ s(Pe, { span: 12, children: /* @__PURE__ */ s(
6212
- Ko,
6212
+ Xo,
6213
6213
  {
6214
6214
  placeholder: "End time",
6215
6215
  style: { width: "100%" },
@@ -6224,9 +6224,9 @@ const vr = ({
6224
6224
  ] });
6225
6225
  }, { defaultAlgorithm: pp, defaultSeed: hp } = rt, gp = pp(hp), Ds = ct((t) => {
6226
6226
  const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i } = e, a = we(Ze), { elementHasLostFocus: c } = a || {}, l = Z(() => i && !o, [i, o]), d = Z(
6227
- () => l ? yp : Jr,
6227
+ () => l ? yp : Xr,
6228
6228
  [l]
6229
- ), f = A((m) => m ? /* @__PURE__ */ s(ao, { content: m }) : null, []), u = A((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
6229
+ ), f = A((m) => m ? /* @__PURE__ */ s(co, { content: m }) : null, []), u = A((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
6230
6230
  return /* @__PURE__ */ s(qe, { required: l, type: "number", ...t, children: /* @__PURE__ */ s(
6231
6231
  d,
6232
6232
  {
@@ -6244,15 +6244,15 @@ const vr = ({
6244
6244
  ) });
6245
6245
  });
6246
6246
  Ds.displayName = "Float";
6247
- const yp = Et(Jr)`
6247
+ const yp = Et(Xr)`
6248
6248
  &.ant-input-number {
6249
6249
  background-color: ${gp.colorPrimaryBg};
6250
6250
  }
6251
6251
  `, { useToken: vp } = rt, { defaultAlgorithm: bp, defaultSeed: wp } = rt, xp = bp(wp), br = ct((t) => {
6252
6252
  const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: i } = e, { token: a } = vp(), c = i && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, l = we(Ze), { elementHasLostFocus: d } = l || {}, f = Z(() => i && !o, [i, o]), u = Z(
6253
- () => f ? Cp : Jr,
6253
+ () => f ? Cp : Xr,
6254
6254
  [f]
6255
- ), m = A((h) => h ? /* @__PURE__ */ s(ao, { content: h }) : null, []), p = A((h) => h === void 0 ? "" : typeof h == "string" && !isNaN(parseFloat(h)) ? `${Math.trunc(parseFloat(h))}`.replace(/[^0-9-]+/g, "") : typeof h == "number" ? `${Math.trunc(h)}`.replace(/[^0-9-]+/g, "") : "", []), g = A(
6255
+ ), m = A((h) => h ? /* @__PURE__ */ s(co, { content: h }) : null, []), p = A((h) => h === void 0 ? "" : typeof h == "string" && !isNaN(parseFloat(h)) ? `${Math.trunc(parseFloat(h))}`.replace(/[^0-9-]+/g, "") : typeof h == "number" ? `${Math.trunc(h)}`.replace(/[^0-9-]+/g, "") : "", []), g = A(
6256
6256
  (h) => {
6257
6257
  const y = h;
6258
6258
  n == null || n(y);
@@ -6277,13 +6277,13 @@ const yp = Et(Jr)`
6277
6277
  ) });
6278
6278
  });
6279
6279
  br.displayName = "Integer";
6280
- const Cp = Et(Jr)`
6280
+ const Cp = Et(Xr)`
6281
6281
  &.ant-input-number {
6282
6282
  background-color: ${xp.colorPrimaryBg};
6283
6283
  }
6284
6284
  `;
6285
6285
  function Sp(t) {
6286
- const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof Uo ? br : Ds, c = (l) => /* @__PURE__ */ s(
6286
+ const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof qo ? br : Ds, c = (l) => /* @__PURE__ */ s(
6287
6287
  a,
6288
6288
  {
6289
6289
  ooui: {
@@ -6297,7 +6297,7 @@ function Sp(t) {
6297
6297
  );
6298
6298
  return /* @__PURE__ */ j("div", { style: { width: "100%" }, children: [
6299
6299
  n && /* @__PURE__ */ s(
6300
- so,
6300
+ ao,
6301
6301
  {
6302
6302
  ooui: new er({
6303
6303
  name: r + "_label",
@@ -6558,10 +6558,10 @@ const { useToken: Op } = rt, { Title: Dp } = ln, { Header: kp, Content: Np, Foot
6558
6558
  var vi = Object.prototype.toString, kl = function(e) {
6559
6559
  var n = vi.call(e), r = n === "[object Arguments]";
6560
6560
  return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && vi.call(e.callee) === "[object Function]"), r;
6561
- }, Ao, bi;
6561
+ }, Ro, bi;
6562
6562
  function $p() {
6563
6563
  if (bi)
6564
- return Ao;
6564
+ return Ro;
6565
6565
  bi = 1;
6566
6566
  var t;
6567
6567
  if (!Object.keys) {
@@ -6645,7 +6645,7 @@ function $p() {
6645
6645
  return b;
6646
6646
  };
6647
6647
  }
6648
- return Ao = t, Ao;
6648
+ return Ro = t, Ro;
6649
6649
  }
6650
6650
  var Vp = Array.prototype.slice, Lp = kl, wi = Object.keys, Pr = wi ? function(e) {
6651
6651
  return wi(e);
@@ -6709,27 +6709,27 @@ if (Vr)
6709
6709
  } catch {
6710
6710
  Vr = !1;
6711
6711
  }
6712
- var rh = Vr, Io, Ci;
6712
+ var rh = Vr, _o, Ci;
6713
6713
  function oh() {
6714
6714
  if (Ci)
6715
- return Io;
6715
+ return _o;
6716
6716
  Ci = 1;
6717
6717
  var t = typeof Symbol < "u" && Symbol, e = Ml;
6718
- return Io = function() {
6718
+ return _o = function() {
6719
6719
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
6720
- }, Io;
6720
+ }, _o;
6721
6721
  }
6722
- var Ro, Si;
6722
+ var Eo, Si;
6723
6723
  function Vl() {
6724
- return Si || (Si = 1, Ro = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ro;
6724
+ return Si || (Si = 1, Eo = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Eo;
6725
6725
  }
6726
- var _o, Ti;
6726
+ var Oo, Ti;
6727
6727
  function Ll() {
6728
6728
  if (Ti)
6729
- return _o;
6729
+ return Oo;
6730
6730
  Ti = 1;
6731
6731
  var t = Pl;
6732
- return _o = t.getPrototypeOf || null, _o;
6732
+ return Oo = t.getPrototypeOf || null, Oo;
6733
6733
  }
6734
6734
  var sh = "Function.prototype.bind called on incompatible ", ih = Object.prototype.toString, ah = Math.max, lh = "[object Function]", Fi = function(e, n) {
6735
6735
  for (var r = [], o = 0; o < e.length; o += 1)
@@ -6769,42 +6769,42 @@ var sh = "Function.prototype.bind called on incompatible ", ih = Object.prototyp
6769
6769
  d.prototype = n.prototype, o.prototype = new d(), d.prototype = null;
6770
6770
  }
6771
6771
  return o;
6772
- }, fh = uh, _r = Function.prototype.bind || fh, Eo, Ai;
6772
+ }, fh = uh, _r = Function.prototype.bind || fh, Do, Ai;
6773
6773
  function Ms() {
6774
- return Ai || (Ai = 1, Eo = Function.prototype.call), Eo;
6774
+ return Ai || (Ai = 1, Do = Function.prototype.call), Do;
6775
6775
  }
6776
- var Oo, Ii;
6776
+ var ko, Ii;
6777
6777
  function Hl() {
6778
- return Ii || (Ii = 1, Oo = Function.prototype.apply), Oo;
6778
+ return Ii || (Ii = 1, ko = Function.prototype.apply), ko;
6779
6779
  }
6780
- var Do, Ri;
6780
+ var No, Ri;
6781
6781
  function mh() {
6782
- return Ri || (Ri = 1, Do = typeof Reflect < "u" && Reflect && Reflect.apply), Do;
6782
+ return Ri || (Ri = 1, No = typeof Reflect < "u" && Reflect && Reflect.apply), No;
6783
6783
  }
6784
- var ko, _i;
6784
+ var Mo, _i;
6785
6785
  function ph() {
6786
6786
  if (_i)
6787
- return ko;
6787
+ return Mo;
6788
6788
  _i = 1;
6789
6789
  var t = _r, e = Hl(), n = Ms(), r = mh();
6790
- return ko = r || t.call(n, e), ko;
6790
+ return Mo = r || t.call(n, e), Mo;
6791
6791
  }
6792
- var No, Ei;
6792
+ var Po, Ei;
6793
6793
  function hh() {
6794
6794
  if (Ei)
6795
- return No;
6795
+ return Po;
6796
6796
  Ei = 1;
6797
6797
  var t = _r, e = $l, n = Ms(), r = ph();
6798
- return No = function(i) {
6798
+ return Po = function(i) {
6799
6799
  if (i.length < 1 || typeof i[0] != "function")
6800
6800
  throw new e("a function is required");
6801
6801
  return r(t, n, i);
6802
- }, No;
6802
+ }, Po;
6803
6803
  }
6804
- var Mo, Oi;
6804
+ var $o, Oi;
6805
6805
  function gh() {
6806
6806
  if (Oi)
6807
- return Mo;
6807
+ return $o;
6808
6808
  Oi = 1;
6809
6809
  var t = hh(), e = Ns, n;
6810
6810
  try {
@@ -6819,20 +6819,20 @@ function gh() {
6819
6819
  /** @type {keyof typeof Object.prototype} */
6820
6820
  "__proto__"
6821
6821
  ), o = Object, i = o.getPrototypeOf;
6822
- return Mo = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
6822
+ return $o = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
6823
6823
  /** @type {import('./get')} */
6824
6824
  function(c) {
6825
6825
  return i(c == null ? c : o(c));
6826
6826
  }
6827
- ) : !1, Mo;
6827
+ ) : !1, $o;
6828
6828
  }
6829
- var Po, Di;
6829
+ var Vo, Di;
6830
6830
  function yh() {
6831
6831
  if (Di)
6832
- return Po;
6832
+ return Vo;
6833
6833
  Di = 1;
6834
6834
  var t = Vl(), e = Ll(), n = gh();
6835
- return Po = t ? function(o) {
6835
+ return Vo = t ? function(o) {
6836
6836
  return t(o);
6837
6837
  } : e ? function(o) {
6838
6838
  if (!o || typeof o != "object" && typeof o != "function")
@@ -6840,34 +6840,34 @@ function yh() {
6840
6840
  return e(o);
6841
6841
  } : n ? function(o) {
6842
6842
  return n(o);
6843
- } : null, Po;
6843
+ } : null, Vo;
6844
6844
  }
6845
- var $o, ki;
6845
+ var Lo, ki;
6846
6846
  function vh() {
6847
6847
  if (ki)
6848
- return $o;
6848
+ return Lo;
6849
6849
  ki = 1;
6850
6850
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = _r;
6851
- return $o = n.call(t, e), $o;
6851
+ return Lo = n.call(t, e), Lo;
6852
6852
  }
6853
- var Ye, bh = Pl, wh = Bp, xh = jp, Ch = Up, Sh = Wp, Xn = qp, Wn = $l, Th = Gp, Fh = Yp, Ah = zp, Ih = Kp, Rh = Jp, _h = Xp, Eh = Qp, Oh = th, Bl = Function, Vo = function(t) {
6853
+ var Ye, bh = Pl, wh = Bp, xh = jp, Ch = Up, Sh = Wp, Xn = qp, Wn = $l, Th = Gp, Fh = Yp, Ah = zp, Ih = Kp, Rh = Jp, _h = Xp, Eh = Qp, Oh = th, Bl = Function, Ho = function(t) {
6854
6854
  try {
6855
6855
  return Bl('"use strict"; return (' + t + ").constructor;")();
6856
6856
  } catch {
6857
6857
  }
6858
- }, wr = Ns, Dh = rh, Lo = function() {
6858
+ }, wr = Ns, Dh = rh, Bo = function() {
6859
6859
  throw new Wn();
6860
6860
  }, kh = wr ? function() {
6861
6861
  try {
6862
- return arguments.callee, Lo;
6862
+ return arguments.callee, Bo;
6863
6863
  } catch {
6864
6864
  try {
6865
6865
  return wr(arguments, "callee").get;
6866
6866
  } catch {
6867
- return Lo;
6867
+ return Bo;
6868
6868
  }
6869
6869
  }
6870
- }() : Lo, Pn = oh()(), Ct = yh(), Nh = Ll(), Mh = Vl(), jl = Hl(), Er = Ms(), Ln = {}, Ph = typeof Uint8Array > "u" || !Ct ? Ye : Ct(Uint8Array), Tn = {
6870
+ }() : Bo, Pn = oh()(), Ct = yh(), Nh = Ll(), Mh = Vl(), jl = Hl(), Er = Ms(), Ln = {}, Ph = typeof Uint8Array > "u" || !Ct ? Ye : Ct(Uint8Array), Tn = {
6871
6871
  __proto__: null,
6872
6872
  "%AggregateError%": typeof AggregateError > "u" ? Ye : AggregateError,
6873
6873
  "%Array%": Array,
@@ -6961,11 +6961,11 @@ if (Ct)
6961
6961
  var Vh = function t(e) {
6962
6962
  var n;
6963
6963
  if (e === "%AsyncFunction%")
6964
- n = Vo("async function () {}");
6964
+ n = Ho("async function () {}");
6965
6965
  else if (e === "%GeneratorFunction%")
6966
- n = Vo("function* () {}");
6966
+ n = Ho("function* () {}");
6967
6967
  else if (e === "%AsyncGeneratorFunction%")
6968
- n = Vo("async function* () {}");
6968
+ n = Ho("async function* () {}");
6969
6969
  else if (e === "%AsyncGenerator%") {
6970
6970
  var r = t("%AsyncGeneratorFunction%");
6971
6971
  r && (n = r.prototype);
@@ -7050,7 +7050,7 @@ var Vh = function t(e) {
7050
7050
  };
7051
7051
  }
7052
7052
  throw new Xn("intrinsic " + e + " does not exist!");
7053
- }, mo = function(e, n) {
7053
+ }, ho = function(e, n) {
7054
7054
  if (typeof e != "string" || e.length === 0)
7055
7055
  throw new Wn("intrinsic name must be a non-empty string");
7056
7056
  if (arguments.length > 1 && typeof n != "boolean")
@@ -7082,7 +7082,7 @@ var Vh = function t(e) {
7082
7082
  return c;
7083
7083
  }, Ul = { exports: {} };
7084
7084
  (function(t) {
7085
- var e = _r, n = mo, r = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), i = n("%Reflect.apply%", !0) || e.call(o, r), a = n("%Object.getOwnPropertyDescriptor%", !0), c = n("%Object.defineProperty%", !0), l = n("%Math.max%");
7085
+ var e = _r, n = ho, r = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), i = n("%Reflect.apply%", !0) || e.call(o, r), a = n("%Object.getOwnPropertyDescriptor%", !0), c = n("%Object.defineProperty%", !0), l = n("%Math.max%");
7086
7086
  if (c)
7087
7087
  try {
7088
7088
  c({}, "a", { value: 1 });
@@ -7106,36 +7106,36 @@ var Vh = function t(e) {
7106
7106
  };
7107
7107
  c ? c(t.exports, "apply", { value: d }) : t.exports.apply = d;
7108
7108
  })(Ul);
7109
- var Ps = Ul.exports, Wl = mo, ql = Ps, Gh = ql(Wl("String.prototype.indexOf")), Gl = function(e, n) {
7109
+ var Ps = Ul.exports, Wl = ho, ql = Ps, Gh = ql(Wl("String.prototype.indexOf")), Gl = function(e, n) {
7110
7110
  var r = Wl(e, !!n);
7111
7111
  return typeof r == "function" && Gh(e, ".prototype.") > -1 ? ql(r) : r;
7112
- }, Yh = ks(), zh = Gl, Jo = zh("Object.prototype.toString"), po = function(e) {
7113
- return Yh && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Jo(e) === "[object Arguments]";
7112
+ }, Yh = ks(), zh = Gl, Qo = zh("Object.prototype.toString"), go = function(e) {
7113
+ return Yh && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Qo(e) === "[object Arguments]";
7114
7114
  }, Yl = function(e) {
7115
- return po(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Jo(e) !== "[object Array]" && Jo(e.callee) === "[object Function]";
7115
+ return go(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Qo(e) !== "[object Array]" && Qo(e.callee) === "[object Function]";
7116
7116
  }, Kh = function() {
7117
- return po(arguments);
7117
+ return go(arguments);
7118
7118
  }();
7119
- po.isLegacyArguments = Yl;
7120
- var Jh = Kh ? po : Yl, Xh = mo, Xo = Xh("%Object.defineProperty%", !0), Qo = function() {
7121
- if (Xo)
7119
+ go.isLegacyArguments = Yl;
7120
+ var Jh = Kh ? go : Yl, Xh = ho, Zo = Xh("%Object.defineProperty%", !0), es = function() {
7121
+ if (Zo)
7122
7122
  try {
7123
- return Xo({}, "a", { value: 1 }), !0;
7123
+ return Zo({}, "a", { value: 1 }), !0;
7124
7124
  } catch {
7125
7125
  return !1;
7126
7126
  }
7127
7127
  return !1;
7128
7128
  };
7129
- Qo.hasArrayLengthDefineBug = function() {
7130
- if (!Qo())
7129
+ es.hasArrayLengthDefineBug = function() {
7130
+ if (!es())
7131
7131
  return null;
7132
7132
  try {
7133
- return Xo([], "length", { value: 1 }).length !== 1;
7133
+ return Zo([], "length", { value: 1 }).length !== 1;
7134
7134
  } catch {
7135
7135
  return !0;
7136
7136
  }
7137
7137
  };
7138
- var $s = Qo, Qh = $s(), Vs = mo, Pi = Qh && Vs("%Object.defineProperty%", !0), Zh = Vs("%SyntaxError%"), $n = Vs("%TypeError%"), $i = Ns, zl = function(e, n, r) {
7138
+ var $s = es, Qh = $s(), Vs = ho, Pi = Qh && Vs("%Object.defineProperty%", !0), Zh = Vs("%SyntaxError%"), $n = Vs("%TypeError%"), $i = Ns, zl = function(e, n, r) {
7139
7139
  if (!e || typeof e != "object" && typeof e != "function")
7140
7140
  throw new $n("`obj` must be an object or a function`");
7141
7141
  if (typeof n != "string" && typeof n != "symbol")
@@ -7197,27 +7197,27 @@ dg(ec, {
7197
7197
  implementation: fg,
7198
7198
  shim: mg
7199
7199
  });
7200
- var pg = ec, Zo = Gl, tc = ks(), nc, rc, es, ts;
7200
+ var pg = ec, ts = Gl, tc = ks(), nc, rc, ns, rs;
7201
7201
  if (tc) {
7202
- nc = Zo("Object.prototype.hasOwnProperty"), rc = Zo("RegExp.prototype.exec"), es = {};
7203
- var Ho = function() {
7204
- throw es;
7202
+ nc = ts("Object.prototype.hasOwnProperty"), rc = ts("RegExp.prototype.exec"), ns = {};
7203
+ var jo = function() {
7204
+ throw ns;
7205
7205
  };
7206
- ts = {
7207
- toString: Ho,
7208
- valueOf: Ho
7209
- }, typeof Symbol.toPrimitive == "symbol" && (ts[Symbol.toPrimitive] = Ho);
7206
+ rs = {
7207
+ toString: jo,
7208
+ valueOf: jo
7209
+ }, typeof Symbol.toPrimitive == "symbol" && (rs[Symbol.toPrimitive] = jo);
7210
7210
  }
7211
- var hg = Zo("Object.prototype.toString"), gg = Object.getOwnPropertyDescriptor, yg = "[object RegExp]", vg = tc ? function(e) {
7211
+ var hg = ts("Object.prototype.toString"), gg = Object.getOwnPropertyDescriptor, yg = "[object RegExp]", vg = tc ? function(e) {
7212
7212
  if (!e || typeof e != "object")
7213
7213
  return !1;
7214
7214
  var n = gg(e, "lastIndex"), r = n && nc(n, "value");
7215
7215
  if (!r)
7216
7216
  return !1;
7217
7217
  try {
7218
- rc(e, ts);
7218
+ rc(e, rs);
7219
7219
  } catch (o) {
7220
- return o === es;
7220
+ return o === ns;
7221
7221
  }
7222
7222
  } : function(e) {
7223
7223
  return !e || typeof e != "object" && typeof e != "function" ? !1 : hg(e) === yg;
@@ -7693,7 +7693,7 @@ const or = /* @__PURE__ */ Pa(Jg), { Text: Xg } = ln, Qg = ({
7693
7693
  return R.observe(h.current), () => R.disconnect();
7694
7694
  } else
7695
7695
  g(0);
7696
- }, [l]), Jt(e, () => ({
7696
+ }, [l]), Xt(e, () => ({
7697
7697
  submit: c.submit,
7698
7698
  resetFields: c.resetFields,
7699
7699
  setFieldsValue: c.setFieldsValue,
@@ -8052,7 +8052,7 @@ const dc = (t) => {
8052
8052
  Ge,
8053
8053
  {
8054
8054
  size: "small",
8055
- icon: /* @__PURE__ */ s(Wo, {}),
8055
+ icon: /* @__PURE__ */ s(Go, {}),
8056
8056
  onClick: $,
8057
8057
  style: { height: "24px" },
8058
8058
  children: u("saveSearchFilter")
@@ -8066,7 +8066,7 @@ const dc = (t) => {
8066
8066
  {
8067
8067
  key: "saveAsNew",
8068
8068
  label: u("saveAsNewSearchFilter"),
8069
- icon: /* @__PURE__ */ s(qo, {})
8069
+ icon: /* @__PURE__ */ s(Yo, {})
8070
8070
  }
8071
8071
  ],
8072
8072
  onClick: ({ key: J }) => {
@@ -8088,7 +8088,7 @@ const dc = (t) => {
8088
8088
  Ge,
8089
8089
  {
8090
8090
  size: "small",
8091
- icon: W ? /* @__PURE__ */ s(qo, {}) : /* @__PURE__ */ s(Wo, {}),
8091
+ icon: W ? /* @__PURE__ */ s(Yo, {}) : /* @__PURE__ */ s(Go, {}),
8092
8092
  onClick: W ? M : $,
8093
8093
  style: { height: "24px" },
8094
8094
  children: u(W ? "saveAsNewSearchFilter" : "saveSearchFilter")
@@ -8267,7 +8267,7 @@ function ty(t) {
8267
8267
  ] });
8268
8268
  }
8269
8269
  function ny(t) {
8270
- const { onLimitChange: e } = t, { t: n } = Se(), r = new Uo({ name: "limit" }), o = new Uo({ name: "offset" });
8270
+ const { onLimitChange: e } = t, { t: n } = Se(), r = new qo({ name: "limit" }), o = new qo({ name: "offset" });
8271
8271
  return /* @__PURE__ */ j("div", { className: "pl-2 pt-2", children: [
8272
8272
  /* @__PURE__ */ s(Qe, { children: n("parameters") }, "count_params"),
8273
8273
  /* @__PURE__ */ j(lt, { align: "center", children: [
@@ -8287,7 +8287,7 @@ function ny(t) {
8287
8287
  ] });
8288
8288
  }
8289
8289
  const { useToken: ry } = rt;
8290
- function ho(t) {
8290
+ function yo(t) {
8291
8291
  const {
8292
8292
  fields: e,
8293
8293
  searchFields: n = { primary: [], secondary: [] },
@@ -8545,7 +8545,7 @@ const sr = () => {
8545
8545
  const { results: H } = await S({
8546
8546
  searchIds: P,
8547
8547
  fieldsToRetrieve: p.current
8548
- }), K = await nn(
8548
+ }), K = await rn(
8549
8549
  a,
8550
8550
  H,
8551
8551
  r
@@ -8721,7 +8721,7 @@ const sr = () => {
8721
8721
  fields: u,
8722
8722
  fieldsToRetrieve: o,
8723
8723
  context: r
8724
- }), $ = await nn(
8724
+ }), $ = await rn(
8725
8725
  a,
8726
8726
  D,
8727
8727
  r
@@ -8942,7 +8942,7 @@ const sr = () => {
8942
8942
  }
8943
8943
  )
8944
8944
  ] });
8945
- }, go = ct(
8945
+ }, vo = ct(
8946
8946
  ({
8947
8947
  value: t,
8948
8948
  record: e,
@@ -8950,7 +8950,7 @@ const sr = () => {
8950
8950
  isFieldLoading: r
8951
8951
  }) => r != null && r(e, n.key) ? /* @__PURE__ */ s(Bd, {}) : n.render(t, n.key, n == null ? void 0 : n.ooui, n == null ? void 0 : n.context)
8952
8952
  );
8953
- go.displayName = "CellRenderer";
8953
+ vo.displayName = "CellRenderer";
8954
8954
  const mc = ({
8955
8955
  tableRef: t,
8956
8956
  autoRefresh: e
@@ -9028,13 +9028,13 @@ function fy(t, e) {
9028
9028
  }, [S]), le(() => {
9029
9029
  var vt, mt, Bt, Mn;
9030
9030
  const Be = pe && pe.trim().length > 0, ot = xe.current && typeof xe.current == "string" && xe.current.trim().length > 0;
9031
- Be && !ot || Be && ot && pe !== xe.current ? ($e.current = !0, ie == null || ie([]), se == null || se({}), Pt([]), (vt = b.current) == null || vt.unselectAll(), te == null || te(0), (mt = b.current) == null || mt.scrollToTop()) : !Be && ot && ($e.current = !1, Pt([]), (Bt = b.current) == null || Bt.unselectAll(), te == null || te(0), (Mn = b.current) == null || Mn.scrollToTop(), setTimeout(() => {
9031
+ Be && !ot || Be && ot && pe !== xe.current ? ($e.current = !0, ie == null || ie([]), se == null || se({}), $t([]), (vt = b.current) == null || vt.unselectAll(), te == null || te(0), (mt = b.current) == null || mt.scrollToTop()) : !Be && ot && ($e.current = !1, $t([]), (Bt = b.current) == null || Bt.unselectAll(), te == null || te(0), (Mn = b.current) == null || Mn.scrollToTop(), setTimeout(() => {
9032
9032
  Je.current = !0, ft();
9033
9033
  }, 0)), xe.current = pe;
9034
9034
  }, [pe]);
9035
9035
  const Ne = Z(() => {
9036
9036
  if (P)
9037
- return en(P);
9037
+ return tn(P);
9038
9038
  }, [P]), {
9039
9039
  columns: Le,
9040
9040
  strings: Xe,
@@ -9081,7 +9081,7 @@ function fy(t, e) {
9081
9081
  ...ot,
9082
9082
  isSortable: Be ? !1 : ot.isSortable,
9083
9083
  render: (vt, mt) => /* @__PURE__ */ s(
9084
- go,
9084
+ vo,
9085
9085
  {
9086
9086
  value: vt,
9087
9087
  record: mt,
@@ -9179,7 +9179,7 @@ function fy(t, e) {
9179
9179
  }
9180
9180
  if (Oe.current = mt, pe ? (I(pn.length), ne(pn.length), O(!0)) : O(!1), pn.length === 0)
9181
9181
  return x.current = [], Be === 0 && (I(0), ne(0)), [];
9182
- const ae = await nn(
9182
+ const ae = await rn(
9183
9183
  Ne,
9184
9184
  pn,
9185
9185
  d
@@ -9224,7 +9224,7 @@ function fy(t, e) {
9224
9224
  n,
9225
9225
  d
9226
9226
  ]), {
9227
- changeSelectedRowItems: Pt,
9227
+ changeSelectedRowItems: $t,
9228
9228
  changeSelectedRowKeys: wn,
9229
9229
  onSelectionCheckboxClicked: cn
9230
9230
  } = ap({
@@ -9334,14 +9334,14 @@ function fy(t, e) {
9334
9334
  }, [ee, q]);
9335
9335
  const ft = A(async () => {
9336
9336
  var Be;
9337
- Pt([]), it(), Ke(), ze.current = void 0, O(!1), (Be = b == null ? void 0 : b.current) == null || Be.refresh(), Ft();
9337
+ $t([]), it(), Ke(), ze.current = void 0, O(!1), (Be = b == null ? void 0 : b.current) == null || Be.refresh(), Ft();
9338
9338
  }, [
9339
- Pt,
9339
+ $t,
9340
9340
  it,
9341
9341
  Ke,
9342
9342
  Ft
9343
9343
  ]);
9344
- Jt(e, () => ({
9344
+ Xt(e, () => ({
9345
9345
  refreshResults: ft,
9346
9346
  getFields: () => P == null ? void 0 : P.fields
9347
9347
  }));
@@ -9352,7 +9352,7 @@ function fy(t, e) {
9352
9352
  ...c ? {} : { display: "none" }
9353
9353
  }),
9354
9354
  [_, c]
9355
- ), Zt = Z(
9355
+ ), en = Z(
9356
9356
  () => ({
9357
9357
  fields: { ...H == null ? void 0 : H.fields, ...P == null ? void 0 : P.fields },
9358
9358
  searchFields: Jn([
@@ -9375,19 +9375,19 @@ function fy(t, e) {
9375
9375
  ]
9376
9376
  ), Nn = A(() => {
9377
9377
  var Be;
9378
- Pt([]), (Be = b.current) == null || Be.unselectAll(), me == null || me(void 0), ie == null || ie([]), se == null || se(void 0);
9378
+ $t([]), (Be = b.current) == null || Be.unselectAll(), me == null || me(void 0), ie == null || ie([]), se == null || se(void 0);
9379
9379
  }, [
9380
- Pt,
9380
+ $t,
9381
9381
  me,
9382
9382
  ie,
9383
9383
  se
9384
9384
  ]), Yt = A(
9385
9385
  ({ params: Be, searchValues: ot }) => {
9386
9386
  var vt;
9387
- Pt([]), (vt = b.current) == null || vt.unselectAll(), me == null || me(void 0), ie == null || ie(Be), se == null || se(ot);
9387
+ $t([]), (vt = b.current) == null || vt.unselectAll(), me == null || me(void 0), ie == null || ie(Be), se == null || se(ot);
9388
9388
  },
9389
9389
  [
9390
- Pt,
9390
+ $t,
9391
9391
  me,
9392
9392
  ie,
9393
9393
  se
@@ -9419,13 +9419,13 @@ function fy(t, e) {
9419
9419
  ), mn = A(
9420
9420
  () => X == null ? void 0 : X(!1),
9421
9421
  [X]
9422
- ), vo = A(
9422
+ ), wo = A(
9423
9423
  ({ params: Be, values: ot, closeSidebar: vt = !0 }) => {
9424
9424
  var mt;
9425
- Pt([]), (mt = b.current) == null || mt.unselectAll(), me == null || me(void 0), ie == null || ie(Be), se == null || se(ot), X == null || X(!vt), vt || ft(), (!Be || Be.length === 0) && (R == null || R(null));
9425
+ $t([]), (mt = b.current) == null || mt.unselectAll(), me == null || me(void 0), ie == null || ie(Be), se == null || se(ot), X == null || X(!vt), vt || ft(), (!Be || Be.length === 0) && (R == null || R(null));
9426
9426
  },
9427
9427
  [
9428
- Pt,
9428
+ $t,
9429
9429
  me,
9430
9430
  ie,
9431
9431
  se,
@@ -9433,12 +9433,12 @@ function fy(t, e) {
9433
9433
  R,
9434
9434
  ft
9435
9435
  ]
9436
- ), bo = pe && k && S !== void 0 && S !== null && S === _t;
9436
+ ), xo = pe && k && S !== void 0 && S !== null && S === _t;
9437
9437
  return /* @__PURE__ */ j(Qn, { children: [
9438
9438
  m === "top" && /* @__PURE__ */ s(
9439
- ho,
9439
+ yo,
9440
9440
  {
9441
- ...Zt,
9441
+ ...en,
9442
9442
  onClear: Nn,
9443
9443
  onSubmit: Yt
9444
9444
  }
@@ -9448,7 +9448,7 @@ function fy(t, e) {
9448
9448
  {
9449
9449
  ...lr,
9450
9450
  onClose: mn,
9451
- onSubmit: vo
9451
+ onSubmit: wo
9452
9452
  }
9453
9453
  ),
9454
9454
  !g && /* @__PURE__ */ s(
@@ -9456,7 +9456,7 @@ function fy(t, e) {
9456
9456
  {
9457
9457
  selectedRowKeys: Ht,
9458
9458
  totalRows: S,
9459
- customMiddleComponent: bo && /* @__PURE__ */ s(
9459
+ customMiddleComponent: xo && /* @__PURE__ */ s(
9460
9460
  fc,
9461
9461
  {
9462
9462
  onFilterSearchClick: () => X == null ? void 0 : X(!0)
@@ -9616,7 +9616,7 @@ const pc = jt(
9616
9616
  readonly: R,
9617
9617
  onSelectAllRecords: S
9618
9618
  } = t, I = z(null), [k, O] = F([]), N = z([]), E = z(!1), [T, _] = F(), { t: D } = Se(), $ = z(r), M = we(
9619
- Mt
9619
+ Pt
9620
9620
  ), { title: V = void 0, setTitle: L = void 0 } = (C ? M : {}) || {}, B = Kt(
9621
9621
  Tt.FEATURE_MANY2ONE_SORT
9622
9622
  ), P = Z(() => {
@@ -9630,19 +9630,19 @@ const pc = jt(
9630
9630
  B
9631
9631
  );
9632
9632
  }, [T, w, B]);
9633
- Jt(e, () => ({
9633
+ Xt(e, () => ({
9634
9634
  unselectAll: () => {
9635
9635
  var G;
9636
9636
  (G = I.current) == null || G.unselectAll();
9637
9637
  }
9638
9638
  })), le(() => {
9639
- const G = en(i);
9639
+ const G = tn(i);
9640
9640
  _(G), G.string && V !== G.string && (L == null || L(G.string));
9641
9641
  }, [i, V]), le(() => {
9642
9642
  if (!!fr(N.current, a) || !T)
9643
9643
  return;
9644
9644
  N.current = [...a], E.current = !1, (async () => {
9645
- const J = await nn(T, a, w);
9645
+ const J = await rn(T, a, w);
9646
9646
  O(J);
9647
9647
  })();
9648
9648
  }, [a, T, w]), le(() => {
@@ -9730,7 +9730,7 @@ const pc = jt(
9730
9730
  expandableOpts: b ? {
9731
9731
  expandIcon: Fa,
9732
9732
  collapseIcon: Aa,
9733
- loadingIcon: Xt,
9733
+ loadingIcon: Qt,
9734
9734
  onFetchChildrenForRecord: b,
9735
9735
  childField: x
9736
9736
  } : void 0
@@ -9782,7 +9782,7 @@ const hc = (t) => {
9782
9782
  context: d
9783
9783
  });
9784
9784
  if (B(ne.length), f == null || f(ne.length), ne.length > 0) {
9785
- const ye = ne.map((We) => We == null ? void 0 : We[0]), { colors: Fe, status: ke } = en(u), pe = {};
9785
+ const ye = ne.map((We) => We == null ? void 0 : We[0]), { colors: Fe, status: ke } = tn(u), pe = {};
9786
9786
  Fe && (pe.colors = Fe), ke && (pe.status = ke);
9787
9787
  const xe = await U.getHandler().readEvalUiObjects({
9788
9788
  model: e,
@@ -9816,7 +9816,7 @@ const hc = (t) => {
9816
9816
  f
9817
9817
  ]), J = A(
9818
9818
  async (ne) => {
9819
- const { params: ye, newOffset: Fe } = ne || {}, ke = un(ye || R, b), { colors: pe, status: xe } = en(u), $e = {};
9819
+ const { params: ye, newOffset: Fe } = ne || {}, ke = un(ye || R, b), { colors: pe, status: xe } = tn(u), $e = {};
9820
9820
  pe && ($e.colors = pe), xe && ($e.status = xe);
9821
9821
  const { totalItems: ze, results: Oe, attrsEvaluated: We } = await U.getHandler().searchForTree({
9822
9822
  params: ke,
@@ -9938,7 +9938,7 @@ const hc = (t) => {
9938
9938
  fields: u.field_parent ? { ...u.fields, [u.field_parent]: {} } : u.fields,
9939
9939
  context: d
9940
9940
  });
9941
- return ge([...G, ...Fe]), await nn(en(u), Fe, d);
9941
+ return ge([...G, ...Fe]), await rn(tn(u), Fe, d);
9942
9942
  },
9943
9943
  [u, e, d, G, ge]
9944
9944
  ), he = A(async () => await U.getHandler().searchAllIds({
@@ -9982,10 +9982,10 @@ function gy(t, e) {
9982
9982
  rootTree: f = !1,
9983
9983
  parentContext: u = {},
9984
9984
  onChangeSelectedRowKeys: m
9985
- } = t, [p, g] = F(!1), [h, y] = F(!1), v = z(!1), b = z(null), [x, C] = F(), [w, R] = F(), [S, I] = F(), [k, O] = F(), [N, E] = F(200), T = z(), { height: _ } = io(), D = we(
9985
+ } = t, [p, g] = F(!1), [h, y] = F(!1), v = z(!1), b = z(null), [x, C] = F(), [w, R] = F(), [S, I] = F(), [k, O] = F(), [N, E] = F(200), T = z(), { height: _ } = lo(), D = we(
9986
9986
  yn
9987
9987
  ), { processAction: $ } = D || {}, M = we(
9988
- Mt
9988
+ Pt
9989
9989
  ), {
9990
9990
  setResults: V = void 0,
9991
9991
  setCurrentItemIndex: L = void 0,
@@ -10055,7 +10055,7 @@ function gy(t, e) {
10055
10055
  setLimit: me,
10056
10056
  clearSelection: (Ft = b.current) == null ? void 0 : Ft.unselectAll
10057
10057
  });
10058
- Jt(e, () => ({
10058
+ Xt(e, () => ({
10059
10059
  refreshResults: () => {
10060
10060
  v.current = !1, ye();
10061
10061
  },
@@ -10151,7 +10151,7 @@ function gy(t, e) {
10151
10151
  [H]
10152
10152
  ), it = A(() => !w || !S ? null : /* @__PURE__ */ j(Ce, { children: [
10153
10153
  /* @__PURE__ */ s(
10154
- ho,
10154
+ yo,
10155
10155
  {
10156
10156
  fields: { ...S.fields, ...w.fields },
10157
10157
  searchFields: Jn([
@@ -10277,7 +10277,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10277
10277
  setOrder: X,
10278
10278
  limit: Q,
10279
10279
  setLimit: te
10280
- } = uc({ useLocalState: !i }), { treeMaxLimit: ge } = Qt(), { setCurrentSavedSearch: G } = Lt(), ie = y ? 0 : Math.min(Q, ge), [J, ee] = F(!0), [se, Y] = F(), [me, ue] = F([]), [ce, he] = F(!1), ne = a || $, ye = z(ne), Fe = z(_), ke = z(C), pe = z(), xe = z([]), $e = z(!1), [ze, Oe] = Ie(
10280
+ } = uc({ useLocalState: !i }), { treeMaxLimit: ge } = Zt(), { setCurrentSavedSearch: G } = Lt(), ie = y ? 0 : Math.min(Q, ge), [J, ee] = F(!0), [se, Y] = F(), [me, ue] = F([]), [ce, he] = F(!1), ne = a || $, ye = z(ne), Fe = z(_), ke = z(C), pe = z(), xe = z([]), $e = z(!1), [ze, Oe] = Ie(
10281
10281
  U.getHandler().parseConditions
10282
10282
  ), We = A((_e) => {
10283
10283
  xe.current = xe.current.map((Ue) => {
@@ -10385,10 +10385,10 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10385
10385
  x(!0);
10386
10386
  let _e;
10387
10387
  if (q != null && q.length) {
10388
- const Zt = Kn({
10388
+ const en = Kn({
10389
10389
  state: q
10390
10390
  });
10391
- _e = gr(Zt);
10391
+ _e = gr(en);
10392
10392
  }
10393
10393
  const Ue = ne ? l : de, et = vr({
10394
10394
  treeOoui: n,
@@ -10406,8 +10406,8 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10406
10406
  order: _e,
10407
10407
  name_search: ne,
10408
10408
  skipFunctionFields: Me,
10409
- onIdsRetrieved: (Zt) => {
10410
- Me && Le(Zt);
10409
+ onIdsRetrieved: (en) => {
10410
+ Me && Le(en);
10411
10411
  }
10412
10412
  });
10413
10413
  if (B == null || B({
@@ -10419,7 +10419,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10419
10419
  xe.current = [], Y(0), P(0), ue([]), x(!1);
10420
10420
  return;
10421
10421
  }
10422
- const bt = await nn(n, tt, d);
10422
+ const bt = await rn(n, tt, d);
10423
10423
  m == null || m(ft, n), x(!1), xe.current = [...bt], ue([...bt]);
10424
10424
  } catch (_e) {
10425
10425
  throw x(!1), Te(_e), console.error(_e), _e;
@@ -10526,15 +10526,15 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10526
10526
  O,
10527
10527
  S
10528
10528
  ]
10529
- ), Pt = A(async () => await be({
10529
+ ), $t = A(async () => await be({
10530
10530
  params: un(_, l),
10531
10531
  model: o,
10532
10532
  context: d,
10533
10533
  totalItems: se
10534
10534
  }), [be, _, l, o, d, se]), wn = A(async () => {
10535
- const _e = await Pt();
10535
+ const _e = await $t();
10536
10536
  R == null || R(_e.map((Ue) => ({ id: Ue })));
10537
- }, [Pt, R]), cn = Z(() => it.length === 0 ? "unchecked" : it.length === ie && ie > 0 || it.length === se ? "checked" : "indeterminate", [it, ie, se]), qt = A(() => {
10537
+ }, [$t, R]), cn = Z(() => it.length === 0 ? "unchecked" : it.length === ie && ie > 0 || it.length === se ? "checked" : "indeterminate", [it, ie, se]), qt = A(() => {
10538
10538
  var _e, Ue;
10539
10539
  cn === "unchecked" ? ((_e = c.current) == null || _e.selectAll(), R(me.map((et) => ({ id: et.id })))) : (R([]), (Ue = c.current) == null || Ue.unselectAll());
10540
10540
  }, [c, R, me, cn]), xn = A(
@@ -10577,12 +10577,12 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10577
10577
  ids: Ue,
10578
10578
  fields: et,
10579
10579
  context: d
10580
- }), ft = await nn(n, tt, d), bt = [...me, ...ft], Zt = vr({
10580
+ }), ft = await rn(n, tt, d), bt = [...me, ...ft], en = vr({
10581
10581
  treeOoui: n
10582
10582
  });
10583
10583
  try {
10584
10584
  const Yt = await ze({
10585
- conditions: Zt,
10585
+ conditions: en,
10586
10586
  values: bt,
10587
10587
  context: d
10588
10588
  });
@@ -10699,7 +10699,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10699
10699
  ]
10700
10700
  );
10701
10701
  return t === "top" ? /* @__PURE__ */ s(
10702
- ho,
10702
+ yo,
10703
10703
  {
10704
10704
  ...u,
10705
10705
  onClear: i,
@@ -10775,7 +10775,7 @@ const gc = jt(gy), yy = _t, vy = (t) => {
10775
10775
  expandableOpts: k ? {
10776
10776
  expandIcon: Fa,
10777
10777
  collapseIcon: Aa,
10778
- loadingIcon: Xt,
10778
+ loadingIcon: Qt,
10779
10779
  onFetchChildrenForRecord: k,
10780
10780
  childField: O
10781
10781
  } : void 0
@@ -10856,7 +10856,7 @@ function Ty(t, e) {
10856
10856
  hideSelectionColumn: g = !1,
10857
10857
  fixedHeight: h,
10858
10858
  autoRefresh: y
10859
- } = t, v = z(null), b = z(null), x = zt(i), { treeMaxLimit: C } = Qt(), { treeView: w, formView: R, loading: S } = As({
10859
+ } = t, v = z(null), b = z(null), x = zt(i), { treeMaxLimit: C } = Zt(), { treeView: w, formView: R, loading: S } = As({
10860
10860
  model: n,
10861
10861
  formViewProps: r,
10862
10862
  treeViewProps: o,
@@ -10866,7 +10866,7 @@ function Ty(t, e) {
10866
10866
  offset: w != null && w.isExpandable ? Sy : Cy
10867
10867
  }), k = h !== void 0 ? h : I, O = Z(() => {
10868
10868
  if (w)
10869
- return en(w);
10869
+ return tn(w);
10870
10870
  }, [w]), {
10871
10871
  columns: N,
10872
10872
  strings: E,
@@ -10942,7 +10942,7 @@ function Ty(t, e) {
10942
10942
  ...Ot,
10943
10943
  isSortable: nt ? !1 : Ot.isSortable,
10944
10944
  render: (on, Ht) => /* @__PURE__ */ s(
10945
- go,
10945
+ vo,
10946
10946
  {
10947
10947
  value: on,
10948
10948
  record: Ht,
@@ -10966,7 +10966,7 @@ function Ty(t, e) {
10966
10966
  [["id", "in", W.sort()]]
10967
10967
  ) : void 0
10968
10968
  });
10969
- Jt(e, () => ({
10969
+ Xt(e, () => ({
10970
10970
  refreshResults: q,
10971
10971
  getFields: () => w == null ? void 0 : w.fields
10972
10972
  }));
@@ -11072,7 +11072,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11072
11072
  availableViews: m,
11073
11073
  searchTreeNameSearch: p,
11074
11074
  limit: g
11075
- } = t, h = z(e), [y, v] = F(In), { treeMaxLimit: b, globalValues: x } = Qt(), { setLimit: C } = Lt();
11075
+ } = t, h = z(e), [y, v] = F(In), { treeMaxLimit: b, globalValues: x } = Zt(), { setLimit: C } = Lt();
11076
11076
  je(() => {
11077
11077
  const G = Ka({
11078
11078
  treeView: a,
@@ -11095,7 +11095,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11095
11095
  setSearchValues: D,
11096
11096
  searchParams: $,
11097
11097
  isActive: M
11098
- } = we(Mt), { token: V } = Fy(), { t: L } = Se(), B = Kt(
11098
+ } = we(Pt), { token: V } = Fy(), { t: L } = Se(), B = Kt(
11099
11099
  Tt.FEATURE_SAVED_SEARCHES
11100
11100
  ), [P] = Ie(
11101
11101
  U.getHandler().searchAllIds
@@ -11204,7 +11204,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11204
11204
  },
11205
11205
  children: [
11206
11206
  /* @__PURE__ */ s(
11207
- $t,
11207
+ Vt,
11208
11208
  {
11209
11209
  title: /* @__PURE__ */ j("div", { children: [
11210
11210
  /* @__PURE__ */ s("div", { children: L("openSavedSearchInSidebar") }),
@@ -11251,7 +11251,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11251
11251
  )
11252
11252
  }
11253
11253
  ),
11254
- /* @__PURE__ */ s($t, { title: L("clear_search"), children: /* @__PURE__ */ s(
11254
+ /* @__PURE__ */ s(Vt, { title: L("clear_search"), children: /* @__PURE__ */ s(
11255
11255
  _n,
11256
11256
  {
11257
11257
  style: {
@@ -11278,7 +11278,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11278
11278
  L
11279
11279
  ]);
11280
11280
  return e ? /* @__PURE__ */ j(Qn, { children: [
11281
- /* @__PURE__ */ s(fo, { showSummary: y !== "infinite", subtitle: ge, children: /* @__PURE__ */ s(
11281
+ /* @__PURE__ */ s(po, { showSummary: y !== "infinite", subtitle: ge, children: /* @__PURE__ */ s(
11282
11282
  Tm,
11283
11283
  {
11284
11284
  domain: c,
@@ -11333,7 +11333,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11333
11333
  }
11334
11334
  )
11335
11335
  ] }) : null;
11336
- }, Mt = Jc(
11336
+ }, Pt = Jc(
11337
11337
  null
11338
11338
  ), Iy = (t) => {
11339
11339
  const {
@@ -11402,7 +11402,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11402
11402
  return await ((de = a.current) == null ? void 0 : de.submitForm());
11403
11403
  };
11404
11404
  return /* @__PURE__ */ s(
11405
- Mt.Provider,
11405
+ Pt.Provider,
11406
11406
  {
11407
11407
  value: {
11408
11408
  title: Xe,
@@ -11480,8 +11480,8 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11480
11480
  children: e
11481
11481
  }
11482
11482
  );
11483
- }, Ry = () => !!we(Mt), Lt = () => {
11484
- const t = we(Mt);
11483
+ }, Ry = () => !!we(Pt), Lt = () => {
11484
+ const t = we(Pt);
11485
11485
  return t || {
11486
11486
  title: "",
11487
11487
  currentView: {},
@@ -11598,9 +11598,9 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11598
11598
  fixedHeight: l,
11599
11599
  viewData: d
11600
11600
  } = t, [f, u] = F(!1), [m, p] = F(), g = we(
11601
- Mt
11601
+ Pt
11602
11602
  ), { setGraphIsLoading: h = void 0 } = g || {}, [y] = Ie(U.getHandler().getView);
11603
- Jt(e, () => ({
11603
+ Xt(e, () => ({
11604
11604
  refresh: () => {
11605
11605
  v();
11606
11606
  }
@@ -11691,7 +11691,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11691
11691
  };
11692
11692
  }, Oy = (t, e) => {
11693
11693
  const { view_id: n, model: r, context: o, domain: i, manualIds: a, fixedHeight: c } = t, l = we(
11694
- Mt
11694
+ Pt
11695
11695
  ), { setGraphIsLoading: d = void 0 } = l || {}, { error: f, loading: u, graphData: m, fetchData: p } = Ey({
11696
11696
  view_id: n,
11697
11697
  model: r,
@@ -11701,7 +11701,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11701
11701
  });
11702
11702
  if (le(() => {
11703
11703
  d == null || d(u);
11704
- }, [u]), Jt(e, () => ({
11704
+ }, [u]), Xt(e, () => ({
11705
11705
  refresh: () => {
11706
11706
  p();
11707
11707
  }
@@ -11795,7 +11795,7 @@ const yc = jt(Ty), { useToken: Fy } = rt, In = "legacy", Ay = (t) => {
11795
11795
  overflow: "hidden"
11796
11796
  },
11797
11797
  children: a ? /* @__PURE__ */ j(Ce, { children: [
11798
- /* @__PURE__ */ s($t, { title: a, children: /* @__PURE__ */ s(Zr, { className: "pr-1 text-xs" }) }),
11798
+ /* @__PURE__ */ s(Vt, { title: a, children: /* @__PURE__ */ s(to, { className: "pr-1 text-xs" }) }),
11799
11799
  /* @__PURE__ */ s(ta, { ellipsis: !0, children: e })
11800
11800
  ] }) : /* @__PURE__ */ s(
11801
11801
  ta,
@@ -11954,10 +11954,10 @@ function Ny(t) {
11954
11954
  treeExpandable: l,
11955
11955
  fixedHeight: d,
11956
11956
  autoRefresh: f
11957
- } = t, [u, m] = F(!1), [p, g] = F(!1), [h, y] = F(), [v, b] = F(), [x, C] = F(), [w, R] = F(1), [S, I] = F(0), k = z(_t), O = z([]), [N, E] = F(0), [T, _] = F([]), [D, $] = F(void 0), [M, V] = F(), [L, B] = F(), [P, H] = F(), [K, W] = F(!1), [q, X] = F(In), Q = z([]), { treeMaxLimit: te } = Qt(), ge = (ce) => {
11957
+ } = t, [u, m] = F(!1), [p, g] = F(!1), [h, y] = F(), [v, b] = F(), [x, C] = F(), [w, R] = F(1), [S, I] = F(0), k = z(_t), O = z([]), [N, E] = F(0), [T, _] = F([]), [D, $] = F(void 0), [M, V] = F(), [L, B] = F(), [P, H] = F(), [K, W] = F(!1), [q, X] = F(In), Q = z([]), { treeMaxLimit: te } = Zt(), ge = (ce) => {
11958
11958
  W(!0), R(ce), I((ce - 1) * k.current);
11959
11959
  }, G = async () => {
11960
- const ce = Q.current.length > 0 ? Q.current : i, he = un(O.current, ce), { colors: ne } = en(v), { totalItems: ye, results: Fe, attrsEvaluated: ke } = await U.getHandler().searchForTree({
11960
+ const ce = Q.current.length > 0 ? Q.current : i, he = un(O.current, ce), { colors: ne } = tn(v), { totalItems: ye, results: Fe, attrsEvaluated: ke } = await U.getHandler().searchForTree({
11961
11961
  params: he,
11962
11962
  limit: k.current,
11963
11963
  offset: S,
@@ -12160,14 +12160,14 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12160
12160
  n.label,
12161
12161
  " "
12162
12162
  ] }),
12163
- n.tooltip && /* @__PURE__ */ s($t, { title: n.tooltip, children: /* @__PURE__ */ s(
12163
+ n.tooltip && /* @__PURE__ */ s(Vt, { title: n.tooltip, children: /* @__PURE__ */ s(
12164
12164
  Ca,
12165
12165
  {
12166
12166
  className: "pr-1 text-xs",
12167
12167
  style: { color: e.colorPrimaryBg }
12168
12168
  }
12169
12169
  ) })
12170
- ] }), C = Vt(a);
12170
+ ] }), C = Mt(a);
12171
12171
  let w = r;
12172
12172
  if (n.fieldType === "reference")
12173
12173
  m ? w = /* @__PURE__ */ s(st, { size: "small" }) : f ? w = /* @__PURE__ */ j(lt, { children: [
@@ -12220,7 +12220,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12220
12220
  valueStyle: { color: l }
12221
12221
  }
12222
12222
  );
12223
- return n.card ? /* @__PURE__ */ s(ls, { children: R }) : R;
12223
+ return n.card ? /* @__PURE__ */ s(Qr, { children: R }) : R;
12224
12224
  }, Ly = (t) => {
12225
12225
  const { ooui: e } = t, { actionId: n, height: r } = e, { getFieldValue: o, activeId: i } = Fr(), a = e.actionField && parseInt(o(e.actionField) || "0", 10) || n, { actionData: c, treeShortcut: l, loading: d, error: f, fetchData: u } = Nf(a), { openShortcut: m } = Rr();
12226
12226
  if (je(() => {
@@ -12262,7 +12262,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12262
12262
  fixedHeight: e,
12263
12263
  autoRefresh: n
12264
12264
  }) => {
12265
- const { initialView: r, views: o, model: i, domain: a, context: c, limit: l } = t, d = co(Tt.FEATURE_READFORVIEW), f = d != null && d.isEnabled ? js : On, { openShortcut: u } = Rr(), m = z(null), p = z(null), { isActive: g } = Lt(), h = sr();
12265
+ const { initialView: r, views: o, model: i, domain: a, context: c, limit: l } = t, d = fo(Tt.FEATURE_READFORVIEW), f = d != null && d.isEnabled ? js : On, { openShortcut: u } = Rr(), m = z(null), p = z(null), { isActive: g } = Lt(), h = sr();
12266
12266
  le(() => (p.current && (clearInterval(p.current), p.current = null), n && m.current && r.type === "graph" && g !== !1 && h && (p.current = setInterval(() => {
12267
12267
  var v;
12268
12268
  (v = m.current) == null || v.refresh();
@@ -12452,7 +12452,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12452
12452
  }, [e]), a = Z(
12453
12453
  () => {
12454
12454
  var g;
12455
- return Vt(((g = n.raw_props) == null ? void 0 : g.icon) || "");
12455
+ return Mt(((g = n.raw_props) == null ? void 0 : g.icon) || "");
12456
12456
  },
12457
12457
  [(u = n.raw_props) == null ? void 0 : u.icon]
12458
12458
  ), c = Z(
@@ -12563,7 +12563,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12563
12563
  {
12564
12564
  block: !0,
12565
12565
  onClick: f,
12566
- icon: o ? /* @__PURE__ */ s(Xt, {}) : u,
12566
+ icon: o ? /* @__PURE__ */ s(Qt, {}) : u,
12567
12567
  disabled: r || o,
12568
12568
  style: {
12569
12569
  whiteSpace: "normal",
@@ -12587,22 +12587,55 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12587
12587
  /* @__PURE__ */ s(od, { ...i }),
12588
12588
  n.showValue && /* @__PURE__ */ s(ln.Text, { type: "secondary", children: o })
12589
12589
  ] });
12590
- }, Jy = (t) => {
12590
+ }, zr = (t) => {
12591
+ const { ooui: e, responsiveBehaviour: n = !1, tip: r } = t;
12592
+ return /* @__PURE__ */ s(st, { tip: r ?? e.label, size: "large", spinning: e.loading, children: /* @__PURE__ */ s(
12593
+ Us,
12594
+ {
12595
+ container: e.container,
12596
+ responsiveBehaviour: n
12597
+ }
12598
+ ) });
12599
+ };
12600
+ function Jy(t) {
12601
+ const { ooui: e, responsiveBehaviour: n } = t, r = Mt(e.icon || ""), { t: o } = Se(), i = e.title ? /* @__PURE__ */ j("span", { children: [
12602
+ r && /* @__PURE__ */ s("span", { style: { marginRight: "8px" }, children: Jt.createElement(r) }),
12603
+ e.title
12604
+ ] }) : void 0;
12605
+ return /* @__PURE__ */ s(
12606
+ Qr,
12607
+ {
12608
+ title: i,
12609
+ style: {
12610
+ height: e.height ? e.height + "px" : "100%"
12611
+ },
12612
+ children: /* @__PURE__ */ s(
12613
+ zr,
12614
+ {
12615
+ tip: o("loading"),
12616
+ ooui: e,
12617
+ responsiveBehaviour: n
12618
+ }
12619
+ )
12620
+ }
12621
+ );
12622
+ }
12623
+ const Xy = (t) => {
12591
12624
  switch (t) {
12592
12625
  case "form":
12593
12626
  return ir;
12594
12627
  case "tree":
12595
12628
  return kr;
12596
12629
  case "notebook":
12597
- return jv;
12630
+ return Uv;
12598
12631
  case "group":
12599
12632
  return Hc;
12600
12633
  case "label":
12601
- return so;
12634
+ return ao;
12602
12635
  case "char":
12603
12636
  return Ha;
12604
12637
  case "text":
12605
- return Wv;
12638
+ return qv;
12606
12639
  case "button":
12607
12640
  return bs;
12608
12641
  case "buttonGroup":
@@ -12610,7 +12643,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12610
12643
  case "selection":
12611
12644
  return Wa;
12612
12645
  case "many2one":
12613
- return hv;
12646
+ return gv;
12614
12647
  case "boolean":
12615
12648
  return ef;
12616
12649
  case "integer":
@@ -12620,29 +12653,29 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12620
12653
  case "progressbar":
12621
12654
  return Om;
12622
12655
  case "date":
12623
- return rb;
12624
- case "datetime":
12625
12656
  return ob;
12626
- case "time":
12657
+ case "datetime":
12627
12658
  return sb;
12659
+ case "time":
12660
+ return ib;
12628
12661
  case "one2many":
12629
12662
  case "one2many_list":
12630
12663
  case "many2many":
12631
- return Mv;
12664
+ return Pv;
12632
12665
  case "separator":
12633
- return Gv;
12666
+ return Yv;
12634
12667
  case "reference":
12635
- return ab;
12668
+ return lb;
12636
12669
  case "binary":
12637
- return db;
12670
+ return ub;
12638
12671
  case "image":
12639
12672
  return of;
12640
12673
  case "url":
12641
- return vb;
12642
- case "email":
12643
12674
  return bb;
12675
+ case "email":
12676
+ return wb;
12644
12677
  case "float_time":
12645
- return Vv;
12678
+ return Lv;
12646
12679
  case "fiber_grid":
12647
12680
  return af;
12648
12681
  case "timeline":
@@ -12654,48 +12687,50 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12654
12687
  case "tag":
12655
12688
  return Bm;
12656
12689
  case "multicheckbox":
12657
- return Pb;
12690
+ return $b;
12658
12691
  case "markdown":
12659
- return Vb;
12660
- case "radio":
12661
12692
  return Lb;
12693
+ case "radio":
12694
+ return Hb;
12662
12695
  case "switch":
12663
- return Bb;
12696
+ return jb;
12664
12697
  case "steps":
12665
- return Ub;
12698
+ return Wb;
12666
12699
  case "arrow_steps":
12667
- return Gb;
12700
+ return Yb;
12668
12701
  case "codeeditor":
12669
12702
  case "json":
12670
- return Yb;
12703
+ return zb;
12671
12704
  case "comments_timeline":
12672
- return tw;
12673
- case "html_preview":
12674
12705
  return nw;
12675
- case "alert":
12706
+ case "html_preview":
12676
12707
  return rw;
12708
+ case "alert":
12709
+ return ow;
12677
12710
  case "spinner":
12678
- return ns;
12711
+ return zr;
12679
12712
  case "carousel":
12680
- return iw;
12713
+ return aw;
12681
12714
  case "colorPicker":
12682
- return lw;
12715
+ return cw;
12683
12716
  case "action_buttons":
12684
12717
  return Wy;
12685
12718
  case "qrcode":
12686
12719
  return zy;
12720
+ case "card":
12721
+ return Jy;
12687
12722
  default:
12688
12723
  return;
12689
12724
  }
12690
- }, Xy = (t) => {
12691
- const { ooui: e } = t, { type: n } = e, r = Jy(n);
12725
+ }, Qy = (t) => {
12726
+ const { ooui: e } = t, { type: n } = e, r = Xy(n);
12692
12727
  return r ? Xc(r, t) : null;
12693
- }, Qy = ({
12728
+ }, Zy = ({
12694
12729
  item: t,
12695
12730
  responsiveBehaviour: e
12696
12731
  }) => ({
12697
12732
  gridColumnStart: "span " + (e ? 1 : t.colspan)
12698
- }), Zy = ({
12733
+ }), ev = ({
12699
12734
  row: t,
12700
12735
  mustFillWithEmpties: e,
12701
12736
  numberOfColumns: n
@@ -12714,10 +12749,10 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12714
12749
  r.push(new er({ string: "" }));
12715
12750
  }
12716
12751
  }), r;
12717
- }, ev = ({
12752
+ }, tv = ({
12718
12753
  row: t,
12719
12754
  numberOfColumns: e
12720
- }) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), tv = (t, e) => {
12755
+ }) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), nv = (t, e) => {
12721
12756
  const n = t.map((r) => r instanceof er && r.fieldForLabel || r instanceof ud ? "auto" : "1fr");
12722
12757
  if (n.length < e) {
12723
12758
  const r = e - n.length;
@@ -12725,25 +12760,25 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12725
12760
  n.push("1fr");
12726
12761
  }
12727
12762
  return n.join(" ");
12728
- }, nv = (t, e) => {
12763
+ }, rv = (t, e) => {
12729
12764
  const n = e ? "1fr" : "auto", r = "auto";
12730
12765
  let o = "";
12731
12766
  for (let i = 0; i < t; i++)
12732
12767
  o += i % 2 ? n : r, i + 1 < t && (o += " ");
12733
12768
  return o;
12734
- }, rv = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), Us = (t) => {
12769
+ }, ov = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), Us = (t) => {
12735
12770
  const { container: e, responsiveBehaviour: n } = t, { rows: r } = e;
12736
12771
  let { columns: o } = e;
12737
- const i = rv(r);
12772
+ const i = ov(r);
12738
12773
  i < o && (o = i);
12739
12774
  let a = !1, c = [];
12740
12775
  const l = r.map((u, m) => {
12741
- const p = u.filter((y) => !y.invisible), g = ev({
12776
+ const p = u.filter((y) => !y.invisible), g = tv({
12742
12777
  row: p,
12743
12778
  numberOfColumns: o
12744
12779
  });
12745
12780
  let h = g;
12746
- return (m === 0 || !(u.length === 1 && u.some((y) => y.type === "group"))) && (h = Zy({
12781
+ return (m === 0 || !(u.length === 1 && u.some((y) => y.type === "group"))) && (h = ev({
12747
12782
  row: g,
12748
12783
  numberOfColumns: o,
12749
12784
  mustFillWithEmpties: n
@@ -12751,17 +12786,17 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12751
12786
  "div",
12752
12787
  {
12753
12788
  style: {
12754
- ...Qy({ item: y, responsiveBehaviour: n }),
12789
+ ...Zy({ item: y, responsiveBehaviour: n }),
12755
12790
  minWidth: 0
12756
12791
  },
12757
- children: Xy({
12792
+ children: Qy({
12758
12793
  ooui: y,
12759
12794
  responsiveBehaviour: n
12760
12795
  })
12761
12796
  },
12762
12797
  y.key
12763
12798
  )));
12764
- }), d = r.length === 1 ? tv(c, o) : nv(o, a);
12799
+ }), d = r.length === 1 ? nv(c, o) : rv(o, a);
12765
12800
  return /* @__PURE__ */ s("div", { style: {
12766
12801
  display: "grid",
12767
12802
  gridTemplateColumns: n ? "auto" : d,
@@ -12769,7 +12804,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12769
12804
  minHeight: 0,
12770
12805
  minWidth: 0
12771
12806
  }, children: l });
12772
- }, xc = rn.createContext(null), ov = (t) => {
12807
+ }, xc = Jt.createContext(null), sv = (t) => {
12773
12808
  const { children: e, setTitle: n } = t;
12774
12809
  return /* @__PURE__ */ s(
12775
12810
  xc.Provider,
@@ -12780,12 +12815,12 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12780
12815
  children: e
12781
12816
  }
12782
12817
  );
12783
- }, sv = (t, e) => {
12818
+ }, iv = (t, e) => {
12784
12819
  const n = {};
12785
12820
  return Object.keys(t).forEach((r) => {
12786
12821
  n[r] = t[r], e != null && e[r] && (n[r].context = e[r]);
12787
12822
  }), n;
12788
- }, iv = 3 * 1e3, av = (t) => {
12823
+ }, av = 3 * 1e3, lv = (t) => {
12789
12824
  const {
12790
12825
  model: e,
12791
12826
  id: n,
@@ -12824,7 +12859,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12824
12859
  r,
12825
12860
  a
12826
12861
  ]);
12827
- je(() => (n && n > 0 && (o == null ? void 0 : o.length) && d && (g(), l.current = setInterval(g, iv)), () => {
12862
+ je(() => (n && n > 0 && (o == null ? void 0 : o.length) && d && (g(), l.current = setInterval(g, av)), () => {
12828
12863
  m(), l.current && (clearInterval(l.current), l.current = null);
12829
12864
  }), [
12830
12865
  o,
@@ -12841,7 +12876,7 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12841
12876
  f(!0);
12842
12877
  }, []);
12843
12878
  return { pause: h, resume: y };
12844
- }, lv = () => {
12879
+ }, cv = () => {
12845
12880
  const [t, e] = F({}), n = A(
12846
12881
  (l, d, f = "error") => {
12847
12882
  e((u) => ({ ...u, [l]: { message: d, type: f } }));
@@ -12881,8 +12916,8 @@ const wc = ct(Ny), { useToken: My } = rt, Py = 3 * 1e3, $y = (t) => {
12881
12916
  clearAllFieldMessages: a,
12882
12917
  setFieldMessagesArray: c
12883
12918
  };
12884
- }, cv = 800;
12885
- function dv(t, e) {
12919
+ }, dv = 800;
12920
+ function uv(t, e) {
12886
12921
  const {
12887
12922
  model: n,
12888
12923
  id: r,
@@ -12907,8 +12942,8 @@ function dv(t, e) {
12907
12942
  forcedValues: R = {},
12908
12943
  parentWidth: S,
12909
12944
  onMustRefreshParent: I
12910
- } = t, { t: k } = Se(), [O, N] = F(!1), [E, T] = F(), [_, D] = F(), [$] = Rt.useForm(), [M, V] = F(), [L, B] = F(), P = we(xc), [H, K] = F(), [W, q] = F(!1), [X, Q] = F(0), te = z(), ge = z({}), G = z({}), ie = z(!1), J = z(!1), ee = z(!1), Y = (S !== void 0 ? S : H) < cv, me = we(Ze), { activeId: ue, getPlainValues: ce } = me || {}, he = z(!1), ne = we(
12911
- Mt
12945
+ } = t, { t: k } = Se(), [O, N] = F(!1), [E, T] = F(), [_, D] = F(), [$] = Rt.useForm(), [M, V] = F(), [L, B] = F(), P = we(xc), [H, K] = F(), [W, q] = F(!1), [X, Q] = F(0), te = z(), ge = z({}), G = z({}), ie = z(!1), J = z(!1), ee = z(!1), Y = (S !== void 0 ? S : H) < dv, me = we(Ze), { activeId: ue, getPlainValues: ce } = me || {}, he = z(!1), ne = we(
12946
+ Pt
12912
12947
  ), {
12913
12948
  setFormIsSaving: ye = void 0,
12914
12949
  setFormHasChanges: Fe = void 0,
@@ -12920,7 +12955,7 @@ function dv(t, e) {
12920
12955
  isActive: Oe = void 0
12921
12956
  } = (C ? ne : {}) || {}, We = we(
12922
12957
  yn
12923
- ), { processAction: Re, globalValues: Je } = We || {}, { onActionTriggered: Ne } = Qt(), { showErrorNotification: Le } = xt({
12958
+ ), { processAction: Re, globalValues: Je } = We || {}, { onActionTriggered: Ne } = Zt(), { showErrorNotification: Le } = xt({
12924
12959
  onButtonAction: (oe) => {
12925
12960
  Be({ actionData: oe });
12926
12961
  }
@@ -12932,8 +12967,8 @@ function dv(t, e) {
12932
12967
  clearFieldMessage: re,
12933
12968
  clearAllFieldMessages: ve,
12934
12969
  setFieldMessagesArray: Ee
12935
- } = lv();
12936
- Jt(e, () => ({
12970
+ } = cv();
12971
+ Xt(e, () => ({
12937
12972
  submitForm: tt,
12938
12973
  getFields: yt,
12939
12974
  getValues: ht,
@@ -12953,7 +12988,7 @@ function dv(t, e) {
12953
12988
  (r === void 0 && L || r !== void 0 && L && r < 0) && (te.current = void 0, D(void 0)), cn();
12954
12989
  }
12955
12990
  }, [r, n, p, g, x]), le(() => {
12956
- W && (Zt({
12991
+ W && (en({
12957
12992
  elementHasLostFocus: !0
12958
12993
  }), q(!1));
12959
12994
  }, [W]), je(() => {
@@ -13023,7 +13058,7 @@ function dv(t, e) {
13023
13058
  extraValues: w
13024
13059
  });
13025
13060
  }, Dt = () => Object.keys(
13026
- Co({
13061
+ To({
13027
13062
  source: ge.current,
13028
13063
  target: pt(L),
13029
13064
  fields: L
@@ -13059,7 +13094,7 @@ function dv(t, e) {
13059
13094
  fields: L,
13060
13095
  reset: !1
13061
13096
  });
13062
- }, Pt = (oe) => $.getFieldsValue(!0)[oe];
13097
+ }, $t = (oe) => $.getFieldsValue(!0)[oe];
13063
13098
  async function wn() {
13064
13099
  try {
13065
13100
  return await $.validateFields(), !1;
@@ -13122,12 +13157,12 @@ function dv(t, e) {
13122
13157
  reset: fe,
13123
13158
  isDefaultGet: Ae = !1
13124
13159
  }) => {
13125
- const at = { ...fe ? {} : $.getFieldsValue(!0), ...oe }, wo = Vn(at, ae), Yc = Object.keys(ae).map((xo) => ({
13126
- name: xo,
13160
+ const at = { ...fe ? {} : $.getFieldsValue(!0), ...oe }, Co = Vn(at, ae), Yc = Object.keys(ae).map((So) => ({
13161
+ name: So,
13127
13162
  touched: !1,
13128
- value: wo[xo] !== void 0 ? wo[xo] : void 0
13163
+ value: Co[So] !== void 0 ? Co[So] : void 0
13129
13164
  }));
13130
- Ae || (G.current = wo), $.setFields(Yc);
13165
+ Ae || (G.current = Co), $.setFields(Yc);
13131
13166
  },
13132
13167
  [$]
13133
13168
  ), _e = async ({
@@ -13144,7 +13179,7 @@ function dv(t, e) {
13144
13179
  if (fe = (await U.getHandler().readObjects({
13145
13180
  model: n,
13146
13181
  ids: [de()],
13147
- fields: sv(oe, Ve == null ? void 0 : Ve.contextForFields),
13182
+ fields: iv(oe, Ve == null ? void 0 : Ve.contextForFields),
13148
13183
  context: v
13149
13184
  }))[0], y)
13150
13185
  return { values: fe, defaultGetCalled: Ae };
@@ -13164,7 +13199,7 @@ function dv(t, e) {
13164
13199
  }, Ue = async (oe) => {
13165
13200
  const { callOnSubmitSucceed: ae = !0 } = oe || {};
13166
13201
  if (de()) {
13167
- const fe = Co({
13202
+ const fe = To({
13168
13203
  source: ge.current,
13169
13204
  target: pt(L),
13170
13205
  fields: L
@@ -13266,12 +13301,12 @@ function dv(t, e) {
13266
13301
  D(Ve), Ve.string && Ve.string !== $e && (ze == null || ze(Ve.string)), P && Ve.string && ((at = P.setTitle) == null || at.call(P, Ve.string));
13267
13302
  },
13268
13303
  [P, ft, ze, $e]
13269
- ), Zt = async ({
13304
+ ), en = async ({
13270
13305
  elementHasLostFocus: oe = !1
13271
13306
  }) => {
13272
13307
  if (J.current)
13273
13308
  return;
13274
- const ae = Co({
13309
+ const ae = To({
13275
13310
  source: G.current,
13276
13311
  target: pt(L),
13277
13312
  fields: L
@@ -13296,7 +13331,7 @@ function dv(t, e) {
13296
13331
  re(Ve);
13297
13332
  }), Yt(fe);
13298
13333
  }
13299
- }, Nn = zd(Zt, 100), Yt = async (oe) => {
13334
+ }, Nn = zd(en, 100), Yt = async (oe) => {
13300
13335
  try {
13301
13336
  for (let ae = 0; ae < oe.length; ae += 1) {
13302
13337
  const fe = oe[ae];
@@ -13412,7 +13447,7 @@ function dv(t, e) {
13412
13447
  } else
13413
13448
  await qt({ forceRefresh: !0 });
13414
13449
  }
13415
- async function vo({ action: oe }) {
13450
+ async function wo({ action: oe }) {
13416
13451
  const ae = await U.getHandler().executeWorkflow({
13417
13452
  model: n,
13418
13453
  action: oe,
@@ -13420,7 +13455,7 @@ function dv(t, e) {
13420
13455
  });
13421
13456
  ae.type && ae.type === "ir.actions.act_window_close" ? be == null || be(de(), ht(), nt()) : await qt({ forceRefresh: !0 });
13422
13457
  }
13423
- async function bo({
13458
+ async function xo({
13424
13459
  action: oe,
13425
13460
  context: ae
13426
13461
  }) {
@@ -13451,7 +13486,7 @@ function dv(t, e) {
13451
13486
  !C && fe && (be == null || be(de(), ht(), nt()));
13452
13487
  }
13453
13488
  function ot() {
13454
- Zt({ elementHasLostFocus: !0 });
13489
+ en({ elementHasLostFocus: !0 });
13455
13490
  }
13456
13491
  function vt(oe) {
13457
13492
  bt({
@@ -13477,7 +13512,7 @@ function dv(t, e) {
13477
13512
  },
13478
13513
  [M, Gt, L, pt, bt]
13479
13514
  );
13480
- av({
13515
+ lv({
13481
13516
  model: n,
13482
13517
  id: it,
13483
13518
  context: v,
@@ -13507,7 +13542,7 @@ function dv(t, e) {
13507
13542
  try {
13508
13543
  !f && (Dt() || de() === void 0) && (Ae = !0, vt(!0), m === "2many" ? (await Ue({ callOnSubmitSucceed: !1 }), ee.current = !0) : await tt({ callOnSubmitSucceed: !1 }));
13509
13544
  const Ve = ee.current ? on() : {}, at = { ...fe, ...Ve };
13510
- oe === "object" ? await mn({ action: ae, context: at }) : oe === "workflow" ? await vo({ action: ae }) : oe === "action" && await bo({ action: ae, context: at }), Ae && vt(!1);
13545
+ oe === "object" ? await mn({ action: ae, context: at }) : oe === "workflow" ? await wo({ action: ae }) : oe === "action" && await xo({ action: ae, context: at }), Ae && vt(!1);
13511
13546
  } catch (Ve) {
13512
13547
  Ae && vt(!1), Le(Ve);
13513
13548
  }
@@ -13523,7 +13558,7 @@ function dv(t, e) {
13523
13558
  activeId: it,
13524
13559
  activeModel: n,
13525
13560
  setFieldValue: ar,
13526
- getFieldValue: Pt,
13561
+ getFieldValue: $t,
13527
13562
  executeButtonAction: Bt,
13528
13563
  getContext: Ot,
13529
13564
  submitForm: tt,
@@ -13557,7 +13592,7 @@ function dv(t, e) {
13557
13592
  )
13558
13593
  }
13559
13594
  ) }), pn = () => /* @__PURE__ */ j(Ce, { children: [
13560
- /* @__PURE__ */ s(Kr, {}),
13595
+ /* @__PURE__ */ s(Jr, {}),
13561
13596
  /* @__PURE__ */ s(Qe, { justify: "end", children: /* @__PURE__ */ j(lt, { children: [
13562
13597
  /* @__PURE__ */ s(
13563
13598
  Ge,
@@ -13600,7 +13635,7 @@ function dv(t, e) {
13600
13635
  }
13601
13636
  ) : null;
13602
13637
  }
13603
- const ir = jt(dv), Cc = (t) => {
13638
+ const ir = jt(uv), Cc = (t) => {
13604
13639
  const { visible: e, initialName: n, onSave: r, onCancel: o } = t, { t: i } = Se(), [a, c] = F(n), [l, d] = F(!1);
13605
13640
  le(() => {
13606
13641
  c(n);
@@ -13653,7 +13688,7 @@ const ir = jt(dv), Cc = (t) => {
13653
13688
  ) }) })
13654
13689
  }
13655
13690
  );
13656
- }, uv = (t) => {
13691
+ }, fv = (t) => {
13657
13692
  const {
13658
13693
  isFavourite: e,
13659
13694
  currentShortcutId: n,
@@ -13669,7 +13704,7 @@ const ir = jt(dv), Cc = (t) => {
13669
13704
  ), [m] = Ie(
13670
13705
  U.getHandler().update
13671
13706
  ), p = A(() => {
13672
- e && n !== void 0 ? tn({
13707
+ e && n !== void 0 ? nn({
13673
13708
  onOk: async () => {
13674
13709
  try {
13675
13710
  await d({
@@ -13740,13 +13775,13 @@ const ir = jt(dv), Cc = (t) => {
13740
13775
  isMenuAction: a = !1,
13741
13776
  actionData: c,
13742
13777
  ...l
13743
- } = t, { model: d } = l, { modalWidth: f } = io(), [u, m] = F(r), [p, g] = F(!1), [h, y] = F(), { action_id: v, res_id: b, action_type: x, view_id: C } = c || {}, w = !v && !x && !b, {
13778
+ } = t, { model: d } = l, { modalWidth: f } = lo(), [u, m] = F(r), [p, g] = F(!1), [h, y] = F(), { action_id: v, res_id: b, action_type: x, view_id: C } = c || {}, w = !v && !x && !b, {
13744
13779
  showNameModal: R,
13745
13780
  toggleFavourite: S,
13746
13781
  handleSaveFavourite: I,
13747
13782
  handleCancelNameModal: k,
13748
13783
  initialName: O
13749
- } = uv({
13784
+ } = fv({
13750
13785
  isFavourite: p,
13751
13786
  currentShortcutId: h,
13752
13787
  defaultName: u,
@@ -13795,7 +13830,7 @@ const ir = jt(dv), Cc = (t) => {
13795
13830
  ] });
13796
13831
  }
13797
13832
  const _ = f * 0.95;
13798
- return /* @__PURE__ */ j(ov, { setTitle: m, children: [
13833
+ return /* @__PURE__ */ j(sv, { setTitle: m, children: [
13799
13834
  /* @__PURE__ */ s(
13800
13835
  It,
13801
13836
  {
@@ -13831,7 +13866,7 @@ const ir = jt(dv), Cc = (t) => {
13831
13866
  }
13832
13867
  )
13833
13868
  ] });
13834
- }, yo = ({
13869
+ }, bo = ({
13835
13870
  visible: t,
13836
13871
  onCloseModal: e,
13837
13872
  onSelectValues: n,
@@ -13841,7 +13876,7 @@ const ir = jt(dv), Cc = (t) => {
13841
13876
  context: a = {},
13842
13877
  canCreate: c = !0
13843
13878
  }) => {
13844
- const [l, d] = F(!1), [f, u] = F([]), [m, p] = F(!1), { modalWidth: g, modalHeight: h } = io(), { t: y } = Se(), { showErrorNotification: v } = xt(), {
13879
+ const [l, d] = F(!1), [f, u] = F([]), [m, p] = F(!1), { modalWidth: g, modalHeight: h } = lo(), { t: y } = Se(), { showErrorNotification: v } = xt(), {
13845
13880
  treeView: b,
13846
13881
  formView: x,
13847
13882
  loading: C
@@ -13918,13 +13953,13 @@ const ir = jt(dv), Cc = (t) => {
13918
13953
  filterType: "top"
13919
13954
  }
13920
13955
  ),
13921
- /* @__PURE__ */ s(Kr, {}),
13956
+ /* @__PURE__ */ s(Jr, {}),
13922
13957
  /* @__PURE__ */ s(Qe, { justify: "end", children: /* @__PURE__ */ j(lt, { children: [
13923
13958
  /* @__PURE__ */ s(
13924
13959
  Ge,
13925
13960
  {
13926
13961
  disabled: m || !c,
13927
- icon: /* @__PURE__ */ s(Qr, {}),
13962
+ icon: /* @__PURE__ */ s(eo, {}),
13928
13963
  onClick: N,
13929
13964
  children: y("new")
13930
13965
  }
@@ -13933,7 +13968,7 @@ const ir = jt(dv), Cc = (t) => {
13933
13968
  Ge,
13934
13969
  {
13935
13970
  disabled: m,
13936
- icon: m ? /* @__PURE__ */ s(Xt, {}) : /* @__PURE__ */ s(tr, {}),
13971
+ icon: m ? /* @__PURE__ */ s(Qt, {}) : /* @__PURE__ */ s(tr, {}),
13937
13972
  onClick: k,
13938
13973
  type: "primary",
13939
13974
  children: y("ok")
@@ -13955,7 +13990,7 @@ const ir = jt(dv), Cc = (t) => {
13955
13990
  }
13956
13991
  )
13957
13992
  ] });
13958
- }, fv = () => {
13993
+ }, mv = () => {
13959
13994
  const [t, e] = Ie(
13960
13995
  U.getHandler().checkPermission
13961
13996
  );
@@ -13982,12 +14017,12 @@ const ir = jt(dv), Cc = (t) => {
13982
14017
  },
13983
14018
  [t]
13984
14019
  ), cancelRequest: e };
13985
- }, zr = ({
14020
+ }, Kr = ({
13986
14021
  model: t,
13987
14022
  permissions: e,
13988
14023
  enabled: n = !0
13989
14024
  }) => {
13990
- const [r, o] = F(null), [i, a] = F(!0), [c, l] = F(null), d = z(!1), { checkPermissions: f, cancelRequest: u } = fv();
14025
+ const [r, o] = F(null), [i, a] = F(!0), [c, l] = F(null), d = z(!1), { checkPermissions: f, cancelRequest: u } = mv();
13991
14026
  return je(() => !n || !t || !e.length ? void 0 : ((async () => {
13992
14027
  if (!d.current) {
13993
14028
  d.current = !0, a(!0), l(null);
@@ -14011,7 +14046,7 @@ const ir = jt(dv), Cc = (t) => {
14011
14046
  }),
14012
14047
  [r, i, c]
14013
14048
  );
14014
- }, { defaultAlgorithm: mv, defaultSeed: pv } = rt, Sc = mv(pv), hv = (t) => {
14049
+ }, { defaultAlgorithm: pv, defaultSeed: hv } = rt, Sc = pv(hv), gv = (t) => {
14015
14050
  const { ooui: e } = t, { required: n } = e;
14016
14051
  return /* @__PURE__ */ s(qe, { required: n, type: "array", validator: async (o, i) => {
14017
14052
  if (!i)
@@ -14035,7 +14070,7 @@ const ir = jt(dv), Cc = (t) => {
14035
14070
  getContext: O,
14036
14071
  elementHasLostFocus: N,
14037
14072
  getAllHierarchyValues: E
14038
- } = S || {}, T = z([]), [_, D] = F([]), { showErrorNotification: $ } = xt(), { permissions: M } = zr({
14073
+ } = S || {}, T = z([]), [_, D] = F([]), { showErrorNotification: $ } = xt(), { permissions: M } = Kr({
14039
14074
  model: i,
14040
14075
  permissions: ["create", "write"],
14041
14076
  enabled: !0
@@ -14120,7 +14155,7 @@ const ir = jt(dv), Cc = (t) => {
14120
14155
  async function ge(Y) {
14121
14156
  Y.keyCode === 13 ? (Y.preventDefault(), Y.stopPropagation(), await q()) : Y.code === "Backspace" && P !== void 0 && (Y.preventDefault(), Y.stopPropagation(), K([void 0, ""]));
14122
14157
  }
14123
- const G = o && !a ? gv : gt, ie = Fn(
14158
+ const G = o && !a ? yv : gt, ie = Fn(
14124
14159
  fn.FEATURE_MANY2ONE_DISABLE_FOLDER
14125
14160
  ), J = Fn(
14126
14161
  fn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
@@ -14170,7 +14205,7 @@ const ir = jt(dv), Cc = (t) => {
14170
14205
  B && /* @__PURE__ */ s(Pe, { flex: "none", style: { paddingLeft: 0 }, children: /* @__PURE__ */ s(
14171
14206
  Ge,
14172
14207
  {
14173
- icon: h ? /* @__PURE__ */ s(Xt, {}) : /* @__PURE__ */ s(Tr, {}),
14208
+ icon: h ? /* @__PURE__ */ s(Qt, {}) : /* @__PURE__ */ s(Tr, {}),
14174
14209
  disabled: a || h,
14175
14210
  onClick: () => {
14176
14211
  x.current = !0, X(H);
@@ -14180,7 +14215,7 @@ const ir = jt(dv), Cc = (t) => {
14180
14215
  }
14181
14216
  ) }),
14182
14217
  /* @__PURE__ */ s(
14183
- yo,
14218
+ bo,
14184
14219
  {
14185
14220
  model: i,
14186
14221
  domain: _,
@@ -14214,11 +14249,11 @@ const ir = jt(dv), Cc = (t) => {
14214
14249
  }
14215
14250
  )
14216
14251
  ] });
14217
- }, gv = Et(gt)`
14252
+ }, yv = Et(gt)`
14218
14253
  .ant-input {
14219
14254
  background-color: ${Sc.colorPrimaryBg};
14220
14255
  }
14221
- `, yv = ({
14256
+ `, vv = ({
14222
14257
  title: t,
14223
14258
  content: e,
14224
14259
  onOk: n,
@@ -14265,7 +14300,7 @@ const ir = jt(dv), Cc = (t) => {
14265
14300
  const n = Da(e);
14266
14301
  return n.render(
14267
14302
  /* @__PURE__ */ s(
14268
- yv,
14303
+ vv,
14269
14304
  {
14270
14305
  ...t,
14271
14306
  onOk: async () => {
@@ -14288,7 +14323,7 @@ const ir = jt(dv), Cc = (t) => {
14288
14323
  }) => {
14289
14324
  Fc({
14290
14325
  title: t("removeItems"),
14291
- icon: /* @__PURE__ */ s(Xr, {}),
14326
+ icon: /* @__PURE__ */ s(Zr, {}),
14292
14327
  centered: !0,
14293
14328
  content: t("confirmRemove"),
14294
14329
  okText: t("yesConfirmRemove"),
@@ -14301,7 +14336,7 @@ const ir = jt(dv), Cc = (t) => {
14301
14336
  }) => {
14302
14337
  Fc({
14303
14338
  title: t("unlinkItems"),
14304
- icon: /* @__PURE__ */ s(Xr, {}),
14339
+ icon: /* @__PURE__ */ s(Zr, {}),
14305
14340
  centered: !0,
14306
14341
  content: t("confirmUnlink"),
14307
14342
  okText: t("yesConfirmUnlink"),
@@ -14434,7 +14469,7 @@ const ir = jt(dv), Cc = (t) => {
14434
14469
  }) => {
14435
14470
  const e = await (t == null ? void 0 : t());
14436
14471
  return e != null && e.succeed ? { succeed: !0, currentId: e.id } : { succeed: !1, currentId: void 0 };
14437
- }, vv = ({
14472
+ }, bv = ({
14438
14473
  currentId: t,
14439
14474
  currentModel: e,
14440
14475
  onItemDuplicated: n,
@@ -14467,8 +14502,8 @@ const ir = jt(dv), Cc = (t) => {
14467
14502
  duplicatingItem: o,
14468
14503
  duplicate: c
14469
14504
  };
14470
- }, { useToken: bv } = rt;
14471
- function wv(t) {
14505
+ }, { useToken: wv } = rt;
14506
+ function xv(t) {
14472
14507
  var Q, te, ge, G;
14473
14508
  const {
14474
14509
  title: e,
@@ -14493,15 +14528,15 @@ function wv(t) {
14493
14528
  formRef: C,
14494
14529
  onRefreshParentValues: w,
14495
14530
  currentId: R
14496
- } = t, { token: S } = bv(), { t: I } = Se(), { activeModel: k } = Fr(), { permissions: O } = zr({
14531
+ } = t, { token: S } = wv(), { t: I } = Se(), { activeModel: k } = Fr(), { permissions: O } = Kr({
14497
14532
  model: o,
14498
14533
  permissions: ["create", "write", "unlink"],
14499
14534
  enabled: !0
14500
- }), { permissions: N } = zr({
14535
+ }), { permissions: N } = Kr({
14501
14536
  model: k,
14502
14537
  permissions: ["write"],
14503
14538
  enabled: !!k
14504
- }), E = (O == null ? void 0 : O.create) ?? !1, T = (O == null ? void 0 : O.write) ?? !1, _ = (O == null ? void 0 : O.unlink) ?? !1, D = (N == null ? void 0 : N.write) ?? !1, { duplicatingItem: $, duplicate: M } = vv({
14539
+ }), E = (O == null ? void 0 : O.create) ?? !1, T = (O == null ? void 0 : O.write) ?? !1, _ = (O == null ? void 0 : O.unlink) ?? !1, D = (N == null ? void 0 : N.write) ?? !1, { duplicatingItem: $, duplicate: M } = bv({
14505
14540
  currentId: a === "form" ? R : parseInt(g[0]),
14506
14541
  currentModel: o,
14507
14542
  onItemDuplicated: () => {
@@ -14534,7 +14569,7 @@ function wv(t) {
14534
14569
  St,
14535
14570
  {
14536
14571
  tooltip: I("createNewItem"),
14537
- icon: /* @__PURE__ */ s(Qr, {}),
14572
+ icon: /* @__PURE__ */ s(eo, {}),
14538
14573
  disabled: K,
14539
14574
  onClick: r
14540
14575
  }
@@ -14566,7 +14601,7 @@ function wv(t) {
14566
14601
  /* @__PURE__ */ s(
14567
14602
  St,
14568
14603
  {
14569
- icon: /* @__PURE__ */ s(Zr, {}),
14604
+ icon: /* @__PURE__ */ s(to, {}),
14570
14605
  tooltip: I("showLogs"),
14571
14606
  disabled: !(a === "form" && R !== void 0 && R > 0 || a === "tree" && g.length === 1 && (g == null ? void 0 : g[0]) !== void 0 && parseInt(g[0]) > 0),
14572
14607
  onClick: () => Fs(
@@ -14586,7 +14621,7 @@ function wv(t) {
14586
14621
  tooltip: I("duplicate"),
14587
14622
  disabled: X,
14588
14623
  loading: $,
14589
- onClick: () => tn({
14624
+ onClick: () => nn({
14590
14625
  confirmMessage: I("confirmDuplicate"),
14591
14626
  t: I,
14592
14627
  onOk: async () => M()
@@ -14620,7 +14655,7 @@ function wv(t) {
14620
14655
  /* @__PURE__ */ s(
14621
14656
  dn,
14622
14657
  {
14623
- icon: /* @__PURE__ */ s(to, {}),
14658
+ icon: /* @__PURE__ */ s(ro, {}),
14624
14659
  ...a === "form" ? V : P
14625
14660
  }
14626
14661
  )
@@ -14630,7 +14665,7 @@ function wv(t) {
14630
14665
  /* @__PURE__ */ s(
14631
14666
  dn,
14632
14667
  {
14633
- icon: /* @__PURE__ */ s(no, {}),
14668
+ icon: /* @__PURE__ */ s(oo, {}),
14634
14669
  ...a === "form" ? L : H
14635
14670
  }
14636
14671
  )
@@ -14640,7 +14675,7 @@ function wv(t) {
14640
14675
  /* @__PURE__ */ s(
14641
14676
  dn,
14642
14677
  {
14643
- icon: /* @__PURE__ */ s(ro, {}),
14678
+ icon: /* @__PURE__ */ s(so, {}),
14644
14679
  ...B
14645
14680
  }
14646
14681
  )
@@ -14740,19 +14775,19 @@ const Dc = ct(
14740
14775
  }
14741
14776
  );
14742
14777
  Dc.displayName = "DeleteButton";
14743
- const Ws = ct(wv), xv = {
14778
+ const Ws = ct(xv), Cv = {
14744
14779
  form: xa,
14745
14780
  tree: ga,
14746
14781
  graph: On
14747
14782
  };
14748
- function Cv(t) {
14783
+ function Sv(t) {
14749
14784
  const e = t.map((r) => r.id);
14750
14785
  return t.filter((r, o) => {
14751
14786
  const { id: i } = r;
14752
14787
  return !e.includes(i, o + 1);
14753
14788
  });
14754
14789
  }
14755
- const Sv = (t) => {
14790
+ const Tv = (t) => {
14756
14791
  var Me, Te, He;
14757
14792
  const { value: e, onChange: n, ooui: r, views: o } = t, { items: i = [] } = e || {}, { currentView: a, setCurrentView: c, itemIndex: l, setItemIndex: d } = we(
14758
14793
  vn
@@ -14788,7 +14823,7 @@ const Sv = (t) => {
14788
14823
  var ve, Ee;
14789
14824
  n == null || n({
14790
14825
  fields: ((ve = o.get("form")) == null ? void 0 : ve.fields) || ((Ee = o.get("tree")) == null ? void 0 : Ee.fields),
14791
- items: Cv(re)
14826
+ items: Sv(re)
14792
14827
  });
14793
14828
  }, me = async () => {
14794
14829
  await ue(), l > J.length - 1 && l !== 0 && d(0);
@@ -14999,7 +15034,7 @@ const Sv = (t) => {
14999
15034
  }
15000
15035
  };
15001
15036
  function Ne() {
15002
- const re = xv[a];
15037
+ const re = Cv[a];
15003
15038
  if (a === "graph")
15004
15039
  return wa(o.get("graph").arch).string;
15005
15040
  {
@@ -15145,7 +15180,7 @@ const Sv = (t) => {
15145
15180
  }
15146
15181
  ),
15147
15182
  /* @__PURE__ */ s(
15148
- yo,
15183
+ bo,
15149
15184
  {
15150
15185
  domain: V,
15151
15186
  model: Q,
@@ -15200,7 +15235,7 @@ const Sv = (t) => {
15200
15235
  t
15201
15236
  ]);
15202
15237
  return n;
15203
- }, Tv = ({
15238
+ }, Fv = ({
15204
15239
  treeView: t,
15205
15240
  relation: e,
15206
15241
  context: n,
@@ -15215,7 +15250,7 @@ const Sv = (t) => {
15215
15250
  c.current = p;
15216
15251
  }, []), f = A(() => c.current, []), u = Z(() => {
15217
15252
  if (t)
15218
- return en(t);
15253
+ return tn(t);
15219
15254
  }, [t]);
15220
15255
  return {
15221
15256
  onTreeFetchRows: dt(
@@ -15389,7 +15424,7 @@ const Pc = ({
15389
15424
  const { t: a } = Se(), { currentView: c, itemIndex: l, setItemIndex: d } = we(
15390
15425
  vn
15391
15426
  ), { showErrorNotification: f } = xt(), u = A(async () => {
15392
- const h = Fv({
15427
+ const h = Av({
15393
15428
  selectedRowKeys: o,
15394
15429
  items: n
15395
15430
  });
@@ -15449,7 +15484,7 @@ const Pc = ({
15449
15484
  });
15450
15485
  }, [t, p, a]) };
15451
15486
  };
15452
- function Fv({
15487
+ function Av({
15453
15488
  selectedRowKeys: t,
15454
15489
  items: e
15455
15490
  }) {
@@ -15601,7 +15636,7 @@ const $c = ({
15601
15636
  onCloseSearchModal: u,
15602
15637
  onSelectSearchValues: p
15603
15638
  };
15604
- }, Lc = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, na = 400, Av = ({
15639
+ }, Lc = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, na = 400, Iv = ({
15605
15640
  items: t,
15606
15641
  height: e,
15607
15642
  onRowDoubleClick: n,
@@ -15666,7 +15701,7 @@ const $c = ({
15666
15701
  }), Y = Z(() => L ? L.map((Te) => ({
15667
15702
  ...Te,
15668
15703
  render: (re, ve) => /* @__PURE__ */ s(
15669
- go,
15704
+ vo,
15670
15705
  {
15671
15706
  value: re,
15672
15707
  record: ve,
@@ -15790,7 +15825,7 @@ const $c = ({
15790
15825
  fields: re,
15791
15826
  context: a
15792
15827
  });
15793
- return await nn(o, ve, a);
15828
+ return await rn(o, ve, a);
15794
15829
  } catch (re) {
15795
15830
  return console.error("Error fetching children:", re), [];
15796
15831
  }
@@ -15861,7 +15896,7 @@ const $c = ({
15861
15896
  onChangeTableType: b
15862
15897
  }
15863
15898
  );
15864
- }, Iv = ["form", "tree", "graph"], Rv = (t) => {
15899
+ }, Rv = ["form", "tree", "graph"], _v = (t) => {
15865
15900
  var xe, $e, ze;
15866
15901
  const e = z(null), { value: n, onChange: r, ooui: o, views: i, treeType: a } = t, { items: c = [] } = n || {}, l = Mc({ one2manyItems: c }), { currentView: d, setCurrentView: f, itemIndex: u, setItemIndex: m, setTreeType: p } = we(vn), {
15867
15902
  readOnly: g,
@@ -15884,7 +15919,7 @@ const $c = ({
15884
15919
  onChangeFirstVisibleRowIndex: $,
15885
15920
  onGetFirstVisibileRowIndex: M,
15886
15921
  onSelectionCheckboxClicked: V
15887
- } = Tv({
15922
+ } = Fv({
15888
15923
  treeView: i.get("tree"),
15889
15924
  relation: h,
15890
15925
  context: O,
@@ -16025,7 +16060,7 @@ const $c = ({
16025
16060
  }
16026
16061
  ),
16027
16062
  d === "tree" && i.get("tree") && /* @__PURE__ */ s(
16028
- Av,
16063
+ Iv,
16029
16064
  {
16030
16065
  gridRef: e,
16031
16066
  height: o.height,
@@ -16086,7 +16121,7 @@ const $c = ({
16086
16121
  }
16087
16122
  ),
16088
16123
  /* @__PURE__ */ s(
16089
- yo,
16124
+ bo,
16090
16125
  {
16091
16126
  domain: N,
16092
16127
  model: h,
@@ -16107,12 +16142,12 @@ const $c = ({
16107
16142
  limit: 0
16108
16143
  }
16109
16144
  ),
16110
- !Iv.includes(d) && /* @__PURE__ */ j("span", { children: [
16145
+ !Rv.includes(d) && /* @__PURE__ */ j("span", { children: [
16111
16146
  "Unsupported view ",
16112
16147
  d
16113
16148
  ] })
16114
16149
  ] });
16115
- }, _v = ({
16150
+ }, Ev = ({
16116
16151
  treeView: t,
16117
16152
  relation: e,
16118
16153
  context: n,
@@ -16127,7 +16162,7 @@ const $c = ({
16127
16162
  c.current = p;
16128
16163
  }, []), f = A(() => c.current, []), u = Z(() => {
16129
16164
  if (t)
16130
- return en(t);
16165
+ return tn(t);
16131
16166
  }, [t]);
16132
16167
  return {
16133
16168
  onTreeFetchRows: dt(
@@ -16175,7 +16210,7 @@ const $c = ({
16175
16210
  onGetFirstVisibileRowIndex: f,
16176
16211
  onSelectionCheckboxClicked: l
16177
16212
  };
16178
- }, Ev = 400, Ov = ({
16213
+ }, Ov = 400, Dv = ({
16179
16214
  items: t,
16180
16215
  height: e,
16181
16216
  onRowDoubleClick: n,
@@ -16243,7 +16278,7 @@ const $c = ({
16243
16278
  vs,
16244
16279
  {
16245
16280
  ref: b,
16246
- height: e || Ev,
16281
+ height: e || Ov,
16247
16282
  columns: O,
16248
16283
  onRequestData: N,
16249
16284
  onRowDoubleClick: n,
@@ -16270,7 +16305,7 @@ const $c = ({
16270
16305
  }
16271
16306
  }
16272
16307
  );
16273
- }, Dv = ({
16308
+ }, kv = ({
16274
16309
  ooui: t,
16275
16310
  items: e,
16276
16311
  selectedRowKeys: n,
@@ -16283,7 +16318,7 @@ const $c = ({
16283
16318
  model: r,
16284
16319
  domain: i
16285
16320
  });
16286
- }, kv = ["form", "tree", "graph"], Nv = (t) => {
16321
+ }, Nv = ["form", "tree", "graph"], Mv = (t) => {
16287
16322
  var Fe, ke, pe;
16288
16323
  const e = z(null), { value: n, onChange: r, ooui: o, views: i } = t, { items: a = [] } = n || {}, c = Mc({ one2manyItems: a }), { currentView: l, setCurrentView: d, itemIndex: f, setItemIndex: u } = we(
16289
16324
  vn
@@ -16308,13 +16343,13 @@ const $c = ({
16308
16343
  onChangeFirstVisibleRowIndex: _,
16309
16344
  onGetFirstVisibileRowIndex: D,
16310
16345
  onSelectionCheckboxClicked: $
16311
- } = _v({
16346
+ } = Ev({
16312
16347
  treeView: i.get("tree"),
16313
16348
  relation: p,
16314
16349
  context: I,
16315
16350
  allRowsIds: c.filter((xe) => xe.id !== void 0).map((xe) => xe.id),
16316
16351
  gridRef: e
16317
- }), [, M] = Dv({
16352
+ }), [, M] = kv({
16318
16353
  ooui: O,
16319
16354
  model: p,
16320
16355
  items: c,
@@ -16447,7 +16482,7 @@ const $c = ({
16447
16482
  }
16448
16483
  ),
16449
16484
  l === "tree" && i.get("tree") && /* @__PURE__ */ s(
16450
- Ov,
16485
+ Dv,
16451
16486
  {
16452
16487
  gridRef: e,
16453
16488
  height: o.height,
@@ -16506,7 +16541,7 @@ const $c = ({
16506
16541
  }
16507
16542
  ),
16508
16543
  /* @__PURE__ */ s(
16509
- yo,
16544
+ bo,
16510
16545
  {
16511
16546
  domain: k,
16512
16547
  model: p,
@@ -16527,12 +16562,12 @@ const $c = ({
16527
16562
  limit: 0
16528
16563
  }
16529
16564
  ),
16530
- !kv.includes(l) && /* @__PURE__ */ j("span", { children: [
16565
+ !Nv.includes(l) && /* @__PURE__ */ j("span", { children: [
16531
16566
  "Unsupported view ",
16532
16567
  l
16533
16568
  ] })
16534
16569
  ] });
16535
- }, ra = 30, Mv = (t) => {
16570
+ }, ra = 30, Pv = (t) => {
16536
16571
  var N;
16537
16572
  const { ooui: e } = t, { mode: n, relation: r, views: o, required: i, context: a } = e;
16538
16573
  let c;
@@ -16619,7 +16654,7 @@ const $c = ({
16619
16654
  },
16620
16655
  ...t,
16621
16656
  children: /* @__PURE__ */ s(
16622
- Pv,
16657
+ $v,
16623
16658
  {
16624
16659
  ooui: e,
16625
16660
  views: m,
@@ -16630,7 +16665,7 @@ const $c = ({
16630
16665
  )
16631
16666
  }
16632
16667
  ) });
16633
- }, Pv = (t) => {
16668
+ }, $v = (t) => {
16634
16669
  const { ooui: e, value: n } = t, { treeType: r, setTreeType: o } = _l(), i = Fn(
16635
16670
  fn.FEATURE_ONE2MANY_ENABLE_NEW_TABLE
16636
16671
  );
@@ -16651,16 +16686,16 @@ const $c = ({
16651
16686
  }, [e.infinite, n, i]), r === void 0)
16652
16687
  return /* @__PURE__ */ s(st, {});
16653
16688
  if (i)
16654
- return /* @__PURE__ */ s(Rv, { ...t, treeType: r });
16689
+ return /* @__PURE__ */ s(_v, { ...t, treeType: r });
16655
16690
  if (r === "infinite")
16656
- return /* @__PURE__ */ s(Nv, { ...t });
16691
+ return /* @__PURE__ */ s(Mv, { ...t });
16657
16692
  if (r === "legacy")
16658
- return /* @__PURE__ */ s(Sv, { ...t });
16659
- }, { useToken: $v } = rt, Vv = (t) => {
16693
+ return /* @__PURE__ */ s(Tv, { ...t });
16694
+ }, { useToken: Vv } = rt, Lv = (t) => {
16660
16695
  const { ooui: e } = t, { required: n } = e;
16661
- return /* @__PURE__ */ s(qe, { required: n, type: "number", ...t, children: /* @__PURE__ */ s(Lv, { ooui: e }) });
16662
- }, Lv = (t) => {
16663
- const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: i, required: a } = e, { token: c } = $v(), l = a && !i ? { backgroundColor: c.colorPrimaryBg } : void 0, d = z(), [f, u] = F(), m = we(Ze), { elementHasLostFocus: p } = m || {};
16696
+ return /* @__PURE__ */ s(qe, { required: n, type: "number", ...t, children: /* @__PURE__ */ s(Hv, { ooui: e }) });
16697
+ }, Hv = (t) => {
16698
+ const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: i, required: a } = e, { token: c } = Vv(), l = a && !i ? { backgroundColor: c.colorPrimaryBg } : void 0, d = z(), [f, u] = F(), m = we(Ze), { elementHasLostFocus: p } = m || {};
16664
16699
  le(() => {
16665
16700
  u(Fl(n));
16666
16701
  }, [n]);
@@ -16686,18 +16721,9 @@ const $c = ({
16686
16721
  onBlur: y
16687
16722
  }
16688
16723
  );
16689
- }, ns = (t) => {
16690
- const { ooui: e, responsiveBehaviour: n = !1, tip: r } = t;
16691
- return /* @__PURE__ */ s(st, { tip: r ?? e.label, size: "large", spinning: e.loading, children: /* @__PURE__ */ s(
16692
- Us,
16693
- {
16694
- container: e.container,
16695
- responsiveBehaviour: n
16696
- }
16697
- ) });
16698
16724
  };
16699
16725
  function Hc(t) {
16700
- const { ooui: e, showLabel: n = !0, responsiveBehaviour: r } = t, o = Vt(e.icon || ""), { t: i } = Se(), a = e.backgroundColor, c = a ? ou(a).darken(30).toString() : void 0, l = (e.label || o) && n;
16726
+ const { ooui: e, showLabel: n = !0, responsiveBehaviour: r } = t, o = Mt(e.icon || ""), { t: i } = Se(), a = e.backgroundColor, c = a ? ou(a).darken(30).toString() : void 0, l = (e.label || o) && n;
16701
16727
  return /* @__PURE__ */ s(
16702
16728
  "div",
16703
16729
  {
@@ -16715,7 +16741,7 @@ function Hc(t) {
16715
16741
  backgroundColor: a,
16716
16742
  borderColor: c,
16717
16743
  children: /* @__PURE__ */ s(
16718
- ns,
16744
+ zr,
16719
16745
  {
16720
16746
  tip: i("loading"),
16721
16747
  ooui: e,
@@ -16724,7 +16750,7 @@ function Hc(t) {
16724
16750
  )
16725
16751
  }
16726
16752
  ) : /* @__PURE__ */ s(
16727
- ns,
16753
+ zr,
16728
16754
  {
16729
16755
  tip: i("loading"),
16730
16756
  ooui: e,
@@ -16734,7 +16760,7 @@ function Hc(t) {
16734
16760
  }
16735
16761
  );
16736
16762
  }
16737
- const { TabPane: Hv } = ha, Bv = Et(ha)`
16763
+ const { TabPane: Bv } = ha, jv = Et(ha)`
16738
16764
  .ant-tabs-content-holder {
16739
16765
  border-left: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
16740
16766
  border-right: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
@@ -16754,22 +16780,22 @@ const { TabPane: Hv } = ha, Bv = Et(ha)`
16754
16780
  margin-bottom: 0 !important;
16755
16781
  }
16756
16782
  `;
16757
- function jv(t) {
16783
+ function Uv(t) {
16758
16784
  const { ooui: e, responsiveBehaviour: n } = t, r = e.pages, { token: o } = rt.useToken();
16759
16785
  function i(a) {
16760
16786
  if (a) {
16761
- const c = Vt(a);
16787
+ const c = Mt(a);
16762
16788
  return c && /* @__PURE__ */ s(c, {});
16763
16789
  }
16764
16790
  }
16765
16791
  return /* @__PURE__ */ s(
16766
- Bv,
16792
+ jv,
16767
16793
  {
16768
16794
  defaultActiveKey: "1",
16769
16795
  tabPosition: e.tabPosition,
16770
16796
  $borderRadius: `${o.borderRadius}px`,
16771
16797
  children: r.filter((a) => !a.invisible).map((a) => /* @__PURE__ */ s(
16772
- Hv,
16798
+ Bv,
16773
16799
  {
16774
16800
  tab: /* @__PURE__ */ j(Ce, { children: [
16775
16801
  i(a.icon),
@@ -16790,17 +16816,17 @@ function jv(t) {
16790
16816
  }
16791
16817
  );
16792
16818
  }
16793
- const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16794
- const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: c } = Uv(), l = o && !r ? { backgroundColor: c.colorPrimaryBg } : void 0, d = we(Ze), { elementHasLostFocus: f } = d || {};
16819
+ const { useToken: Wv } = rt, { TextArea: os } = gt, qv = (t) => {
16820
+ const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: c } = Wv(), l = o && !r ? { backgroundColor: c.colorPrimaryBg } : void 0, d = we(Ze), { elementHasLostFocus: f } = d || {};
16795
16821
  return /* @__PURE__ */ s(qe, { required: o, ...t, children: a ? /* @__PURE__ */ s(
16796
- qv,
16822
+ Gv,
16797
16823
  {
16798
16824
  field: n,
16799
16825
  height: i,
16800
16826
  requiredStyle: l
16801
16827
  }
16802
16828
  ) : /* @__PURE__ */ s(
16803
- rs,
16829
+ os,
16804
16830
  {
16805
16831
  disabled: r || a,
16806
16832
  style: {
@@ -16813,7 +16839,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16813
16839
  onBlur: f
16814
16840
  }
16815
16841
  ) });
16816
- }, qv = ({
16842
+ }, Gv = ({
16817
16843
  value: t,
16818
16844
  field: e,
16819
16845
  requiredStyle: n,
@@ -16839,7 +16865,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16839
16865
  u || m(!0);
16840
16866
  },
16841
16867
  children: /* @__PURE__ */ s(
16842
- rs,
16868
+ os,
16843
16869
  {
16844
16870
  value: t,
16845
16871
  onChange: (g) => {
@@ -16876,7 +16902,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16876
16902
  )
16877
16903
  ] }) : /* @__PURE__ */ j(Ce, { children: [
16878
16904
  /* @__PURE__ */ s(Qe, { gutter: 8, wrap: !1, children: /* @__PURE__ */ s(
16879
- rs,
16905
+ os,
16880
16906
  {
16881
16907
  value: t,
16882
16908
  onChange: (g) => {
@@ -16903,13 +16929,13 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16903
16929
  }
16904
16930
  ) })
16905
16931
  ] });
16906
- }, Gv = (t) => {
16907
- const { ooui: e } = t, { label: n, icon: r } = e, o = Vt(r || "");
16908
- return /* @__PURE__ */ s(Kr, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ j(lt, { children: [
16932
+ }, Yv = (t) => {
16933
+ const { ooui: e } = t, { label: n, icon: r } = e, o = Mt(r || "");
16934
+ return /* @__PURE__ */ s(Jr, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ j(lt, { children: [
16909
16935
  o ? /* @__PURE__ */ s(o, {}) : null,
16910
16936
  n
16911
16937
  ] }) });
16912
- }, Yv = ({
16938
+ }, zv = ({
16913
16939
  model: t,
16914
16940
  context: e,
16915
16941
  selectedRegistersToExport: n,
@@ -16929,7 +16955,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16929
16955
  ]);
16930
16956
  const { datas: b } = await U.getHandler().exportData({
16931
16957
  model: t,
16932
- fields: Zv({
16958
+ fields: eb({
16933
16959
  keys: y.selectedKeys,
16934
16960
  fields: a.current
16935
16961
  }),
@@ -16940,7 +16966,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16940
16966
  });
16941
16967
  i(), await new Promise((C) => setTimeout(C, 200));
16942
16968
  const x = await Yn(b);
16943
- lo(b, x.mime);
16969
+ uo(b, x.mime);
16944
16970
  },
16945
16971
  [r, n, t, o, e, i, l]
16946
16972
  ), f = A(async () => {
@@ -16952,13 +16978,13 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16952
16978
  return a.current["/"] = y, oa({ fields: y });
16953
16979
  }, [t, e, a]), u = A(
16954
16980
  async (y) => {
16955
- const b = is(y, a.current)[ss(y)], x = b.relation, C = await U.getHandler().getFields({
16981
+ const b = as(y, a.current)[is(y)], x = b.relation, C = await U.getHandler().getFields({
16956
16982
  model: x,
16957
16983
  context: e,
16958
16984
  fields: []
16959
16985
  });
16960
16986
  for (const [w, R] of Object.entries(C))
16961
- C[w].string = Kv({
16987
+ C[w].string = Jv({
16962
16988
  parentTitle: b.string,
16963
16989
  title: R.string
16964
16990
  });
@@ -16969,7 +16995,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16969
16995
  },
16970
16996
  [e]
16971
16997
  ), m = A(async () => {
16972
- const y = await Jv({ model: t, context: e }), v = await Qv({
16998
+ const y = await Xv({ model: t, context: e }), v = await Zv({
16973
16999
  predefinedExports: y,
16974
17000
  fields: a.current,
16975
17001
  onGetFieldChilds: u
@@ -16978,7 +17004,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
16978
17004
  predefinedExports: y.map((x) => ({
16979
17005
  ...x,
16980
17006
  fields: x.fields.map((C) => {
16981
- const w = ss(C.key), R = is(C.key, a.current);
17007
+ const w = is(C.key), R = as(C.key, a.current);
16982
17008
  if (!R)
16983
17009
  return {
16984
17010
  key: C.key
@@ -17056,7 +17082,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17056
17082
  for (const r of Object.keys(t)) {
17057
17083
  const o = t[r], i = Bc(o), a = o.is_function === !0, c = i && !a;
17058
17084
  n.push({
17059
- key: zv({ key: r, parentKey: e }),
17085
+ key: Kv({ key: r, parentKey: e }),
17060
17086
  title: o.string,
17061
17087
  tooltip: o.help,
17062
17088
  required: o.required,
@@ -17064,18 +17090,18 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17064
17090
  });
17065
17091
  }
17066
17092
  return n;
17067
- }, Bc = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", zv = ({
17093
+ }, Bc = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", Kv = ({
17068
17094
  parentKey: t,
17069
17095
  key: e
17070
- }) => `${t ? t + "/" : ""}${e}`, os = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), ss = (t) => {
17096
+ }) => `${t ? t + "/" : ""}${e}`, ss = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), is = (t) => {
17071
17097
  if (t.indexOf("/") === -1)
17072
17098
  return t;
17073
17099
  const e = t.split("/");
17074
17100
  return e[e.length - 1];
17075
- }, is = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[os(t)], Kv = ({
17101
+ }, as = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[ss(t)], Jv = ({
17076
17102
  title: t,
17077
17103
  parentTitle: e
17078
- }) => `${e ? e + " → " : ""}${t}`, Jv = async ({
17104
+ }) => `${e ? e + " → " : ""}${t}`, Xv = async ({
17079
17105
  model: t,
17080
17106
  context: e
17081
17107
  }) => {
@@ -17095,24 +17121,24 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17095
17121
  key: o.find((l) => l.id === a).name
17096
17122
  }))
17097
17123
  }));
17098
- }, Xv = ({
17124
+ }, Qv = ({
17099
17125
  fields: t,
17100
17126
  keys: e
17101
- }) => eb([
17127
+ }) => tb([
17102
17128
  ...new Set(
17103
17129
  e.filter((n) => {
17104
17130
  var r, o;
17105
- return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[os(n)]) != null && o[n]);
17106
- }).map((n) => os(n))
17131
+ return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[ss(n)]) != null && o[n]);
17132
+ }).map((n) => ss(n))
17107
17133
  )
17108
- ]), Qv = async ({
17134
+ ]), Zv = async ({
17109
17135
  predefinedExports: t,
17110
17136
  fields: e,
17111
17137
  onGetFieldChilds: n
17112
17138
  }) => {
17113
17139
  const r = t.flatMap(
17114
17140
  (a) => a.fields.map((c) => c.key)
17115
- ), o = Xv({
17141
+ ), o = Qv({
17116
17142
  fields: e,
17117
17143
  keys: r
17118
17144
  }), i = [];
@@ -17126,13 +17152,13 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17126
17152
  );
17127
17153
  }
17128
17154
  return i;
17129
- }, Zv = ({
17155
+ }, eb = ({
17130
17156
  keys: t,
17131
17157
  fields: e
17132
17158
  }) => t.map((n) => {
17133
- const r = ss(n), i = is(n, e)[r], a = Bc(i), c = i.is_function === !0;
17159
+ const r = is(n), i = as(n, e)[r], a = Bc(i), c = i.is_function === !0;
17134
17160
  return a && !c ? `${n}/id` : n;
17135
- }), eb = (t) => {
17161
+ }), tb = (t) => {
17136
17162
  const e = /* @__PURE__ */ new Map(), n = [];
17137
17163
  for (const r of t) {
17138
17164
  const o = r.split("/");
@@ -17146,7 +17172,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17146
17172
  const i = r.split("/").length, a = o.split("/").length;
17147
17173
  return i - a;
17148
17174
  }), n;
17149
- }, tb = (t) => {
17175
+ }, nb = (t) => {
17150
17176
  const {
17151
17177
  visible: e,
17152
17178
  onClose: n,
@@ -17164,7 +17190,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17164
17190
  onGetPredefinedExports: p,
17165
17191
  onSavePredefinedExport: g,
17166
17192
  onRemovePredefinedExport: h
17167
- } = Yv({
17193
+ } = zv({
17168
17194
  model: r,
17169
17195
  context: o,
17170
17196
  domain: c,
@@ -17188,7 +17214,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17188
17214
  onRemovePredefinedExport: h
17189
17215
  }
17190
17216
  );
17191
- }, nb = (t) => {
17217
+ }, rb = (t) => {
17192
17218
  const { ooui: e, showTime: n = !1 } = t, { required: r, readOnly: o = !1, timezone: i } = e;
17193
17219
  return /* @__PURE__ */ s(qe, { required: r, ...t, children: /* @__PURE__ */ s(
17194
17220
  Wd,
@@ -17200,19 +17226,19 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17200
17226
  timezone: i
17201
17227
  }
17202
17228
  ) });
17203
- }, jc = ct(nb), rb = (t) => {
17229
+ }, jc = ct(rb), ob = (t) => {
17204
17230
  const { ooui: e } = t;
17205
17231
  return /* @__PURE__ */ s(jc, { ooui: e });
17206
- }, ob = (t) => {
17207
- const { ooui: e } = t;
17208
- return /* @__PURE__ */ s(jc, { ooui: e, showTime: !0 });
17209
17232
  }, sb = (t) => {
17210
17233
  const { ooui: e } = t;
17211
- return /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(ib, { ooui: e }) });
17234
+ return /* @__PURE__ */ s(jc, { ooui: e, showTime: !0 });
17212
17235
  }, ib = (t) => {
17236
+ const { ooui: e } = t;
17237
+ return /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(ab, { ooui: e }) });
17238
+ }, ab = (t) => {
17213
17239
  const { readOnly: e } = t.ooui;
17214
17240
  return /* @__PURE__ */ s(
17215
- Ko,
17241
+ Xo,
17216
17242
  {
17217
17243
  onChange: (r, o) => {
17218
17244
  t.onChange && t.onChange(o);
@@ -17222,10 +17248,10 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17222
17248
  disabled: e
17223
17249
  }
17224
17250
  );
17225
- }, ab = (t) => {
17226
- const { ooui: e } = t, { required: n } = e;
17227
- return /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(lb, { ooui: e }) });
17228
17251
  }, lb = (t) => {
17252
+ const { ooui: e } = t, { required: n } = e;
17253
+ return /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(cb, { ooui: e }) });
17254
+ }, cb = (t) => {
17229
17255
  const { value: e, onChange: n, ooui: r } = t, { required: o, selectionValues: i, readOnly: a, domain: c } = r, l = e == null ? void 0 : e.split(","), [d, f] = F([]), [u, m] = F();
17230
17256
  return le(() => {
17231
17257
  if (!e) {
@@ -17273,11 +17299,11 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17273
17299
  }
17274
17300
  ) })
17275
17301
  ] });
17276
- }, { useToken: cb } = rt, db = (t) => {
17302
+ }, { useToken: db } = rt, ub = (t) => {
17277
17303
  const { ooui: e } = t, { required: n } = e;
17278
- return /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(ub, { ooui: e }) });
17279
- }, ub = (t) => {
17280
- const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: i, filenameField: a } = e, { token: c } = cb(), l = i && !o ? { backgroundColor: c.colorPrimaryBg } : void 0, d = z(null), { setFieldValue: f, getFieldValue: u } = we(Ze) || {}, { t: m } = Se(), p = n ? rf(n) : "", g = (x) => {
17304
+ return /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(fb, { ooui: e }) });
17305
+ }, fb = (t) => {
17306
+ const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: i, filenameField: a } = e, { token: c } = db(), l = i && !o ? { backgroundColor: c.colorPrimaryBg } : void 0, d = z(null), { setFieldValue: f, getFieldValue: u } = we(Ze) || {}, { t: m } = Se(), p = n ? rf(n) : "", g = (x) => {
17281
17307
  r == null || r(x);
17282
17308
  };
17283
17309
  async function h() {
@@ -17286,7 +17312,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17286
17312
  }
17287
17313
  async function y() {
17288
17314
  const x = await Yn(n);
17289
- lo(n, x.mime);
17315
+ uo(n, x.mime);
17290
17316
  }
17291
17317
  async function v(x) {
17292
17318
  x.stopPropagation(), x.preventDefault();
@@ -17351,7 +17377,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17351
17377
  )
17352
17378
  ] }) })
17353
17379
  ] });
17354
- }, fb = (t) => {
17380
+ }, mb = (t) => {
17355
17381
  const {
17356
17382
  numberOfAttachments: e,
17357
17383
  attachments: n = [],
@@ -17374,7 +17400,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17374
17400
  items: n.map((u) => {
17375
17401
  const m = u.link ? Zs : fs, p = /* @__PURE__ */ j(Qe, { wrap: !1, align: "middle", gutter: 8, children: [
17376
17402
  /* @__PURE__ */ s(Pe, { style: { textAlign: "center" }, children: (u.datas_fname || u.link) && /* @__PURE__ */ s(
17377
- $t,
17403
+ Vt,
17378
17404
  {
17379
17405
  title: u.link ? l("openAttachmentLink") : l("download"),
17380
17406
  children: /* @__PURE__ */ s(
@@ -17389,7 +17415,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17389
17415
  )
17390
17416
  }
17391
17417
  ) }),
17392
- /* @__PURE__ */ s(Pe, { style: { textAlign: "center" }, children: /* @__PURE__ */ s($t, { title: l("openAttachment"), children: /* @__PURE__ */ s(
17418
+ /* @__PURE__ */ s(Pe, { style: { textAlign: "center" }, children: /* @__PURE__ */ s(Vt, { title: l("openAttachment"), children: /* @__PURE__ */ s(
17393
17419
  pr,
17394
17420
  {
17395
17421
  style: { cursor: "pointer" },
@@ -17438,7 +17464,7 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17438
17464
  (u = d.current) == null || u.close(), o();
17439
17465
  },
17440
17466
  children: [
17441
- /* @__PURE__ */ s(Qr, {}),
17467
+ /* @__PURE__ */ s(eo, {}),
17442
17468
  " ",
17443
17469
  l("addNewAttachment")
17444
17470
  ]
@@ -17449,14 +17475,14 @@ const { useToken: Uv } = rt, { TextArea: rs } = gt, Wv = (t) => {
17449
17475
  }
17450
17476
  );
17451
17477
  };
17452
- function mb(t) {
17478
+ function pb(t) {
17453
17479
  const {
17454
17480
  attachments: e,
17455
17481
  disabled: n = !1,
17456
17482
  onAddNewAttachment: r,
17457
17483
  onListAllAttachments: o,
17458
17484
  onViewAttachmentDetails: i
17459
- } = t, { formRef: a } = we(Mt), [c, l] = F([]), [d, f] = F(!1), { t: u } = Se(), { showErrorNotification: m } = xt(), p = A(async () => {
17485
+ } = t, { formRef: a } = we(Pt), [c, l] = F([]), [d, f] = F(!1), { t: u } = Se(), { showErrorNotification: m } = xt(), p = A(async () => {
17460
17486
  if (!(!e || e.length === 0))
17461
17487
  try {
17462
17488
  const y = await U.getHandler().readObjects({
@@ -17496,7 +17522,7 @@ function mb(t) {
17496
17522
  if (f(!1), !!v)
17497
17523
  if (v.datas) {
17498
17524
  const b = await Yn(v.datas);
17499
- lo(v.datas, b.mime);
17525
+ uo(v.datas, b.mime);
17500
17526
  } else
17501
17527
  i(v);
17502
17528
  },
@@ -17511,7 +17537,7 @@ function mb(t) {
17511
17537
  p();
17512
17538
  }, []), /* @__PURE__ */ j(Ce, { children: [
17513
17539
  /* @__PURE__ */ s(
17514
- fb,
17540
+ mb,
17515
17541
  {
17516
17542
  numberOfAttachments: e.length,
17517
17543
  attachments: c,
@@ -17536,7 +17562,7 @@ function mb(t) {
17536
17562
  )
17537
17563
  ] });
17538
17564
  }
17539
- const pb = () => {
17565
+ const hb = () => {
17540
17566
  const {
17541
17567
  treeType: t,
17542
17568
  totalItems: e = 0,
@@ -17620,10 +17646,10 @@ const pb = () => {
17620
17646
  shouldDisableNavigation: y()
17621
17647
  };
17622
17648
  };
17623
- function hb({ toolbar: t }) {
17649
+ function gb({ toolbar: t }) {
17624
17650
  const e = we(
17625
17651
  Wt
17626
- ), { t: n } = Se(), { onNextClick: r, onPreviousClick: o, shouldDisableNavigation: i } = pb(), { showErrorNotification: a } = xt(), {
17652
+ ), { t: n } = Se(), { onNextClick: r, onPreviousClick: o, shouldDisableNavigation: i } = hb(), { showErrorNotification: a } = xt(), {
17627
17653
  availableViews: c,
17628
17654
  currentView: l,
17629
17655
  setCurrentView: d,
@@ -17792,7 +17818,7 @@ function hb({ toolbar: t }) {
17792
17818
  /* @__PURE__ */ s(
17793
17819
  kt,
17794
17820
  {
17795
- icon: /* @__PURE__ */ s(Wo, {}),
17821
+ icon: /* @__PURE__ */ s(Go, {}),
17796
17822
  tooltip: n("save"),
17797
17823
  disabled: !u || V || !($ != null && $.write),
17798
17824
  loading: m,
@@ -17806,7 +17832,7 @@ function hb({ toolbar: t }) {
17806
17832
  tooltip: n("duplicate"),
17807
17833
  disabled: u || V || p === void 0 || !($ != null && $.create),
17808
17834
  loading: w,
17809
- onClick: () => tn({
17835
+ onClick: () => nn({
17810
17836
  confirmMessage: n("confirmDuplicate"),
17811
17837
  t: n,
17812
17838
  onOk: q
@@ -17820,7 +17846,7 @@ function hb({ toolbar: t }) {
17820
17846
  tooltip: n("delete"),
17821
17847
  disabled: V || p === void 0 || !($ != null && $.unlink),
17822
17848
  loading: C,
17823
- onClick: () => tn({
17849
+ onClick: () => nn({
17824
17850
  confirmMessage: n("confirmRemoveItem"),
17825
17851
  t: n,
17826
17852
  onOk: W
@@ -17831,7 +17857,7 @@ function hb({ toolbar: t }) {
17831
17857
  /* @__PURE__ */ s(
17832
17858
  kt,
17833
17859
  {
17834
- icon: /* @__PURE__ */ s(Zr, {}),
17860
+ icon: /* @__PURE__ */ s(to, {}),
17835
17861
  tooltip: n("showLogs"),
17836
17862
  disabled: V || p === void 0,
17837
17863
  onClick: () => Fs(b, p, n)
@@ -17840,7 +17866,7 @@ function hb({ toolbar: t }) {
17840
17866
  /* @__PURE__ */ s(
17841
17867
  kt,
17842
17868
  {
17843
- icon: /* @__PURE__ */ s(eo, {}),
17869
+ icon: /* @__PURE__ */ s(no, {}),
17844
17870
  tooltip: n("refresh"),
17845
17871
  disabled: V || p === void 0,
17846
17872
  onClick: B
@@ -17869,11 +17895,11 @@ function hb({ toolbar: t }) {
17869
17895
  }
17870
17896
  ),
17871
17897
  /* @__PURE__ */ s(wt, {}),
17872
- /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(to, {}), ...P }),
17873
- /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(no, {}), ...H }),
17874
- /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(ro, {}), ...K }),
17898
+ /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(ro, {}), ...P }),
17899
+ /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(oo, {}), ...H }),
17900
+ /* @__PURE__ */ s(dn, { icon: /* @__PURE__ */ s(so, {}), ...K }),
17875
17901
  /* @__PURE__ */ s(
17876
- mb,
17902
+ pb,
17877
17903
  {
17878
17904
  disabled: V,
17879
17905
  attachments: k,
@@ -17883,10 +17909,10 @@ function hb({ toolbar: t }) {
17883
17909
  }
17884
17910
  ),
17885
17911
  /* @__PURE__ */ s(wt, {}),
17886
- /* @__PURE__ */ s(uo, { res_id: p })
17912
+ /* @__PURE__ */ s(mo, { res_id: p })
17887
17913
  ] }) : null;
17888
17914
  }
17889
- const gb = ct(hb), Uc = ct(
17915
+ const yb = ct(gb), Uc = ct(
17890
17916
  ({
17891
17917
  disabled: t,
17892
17918
  onPreviousClick: e,
@@ -17925,8 +17951,8 @@ const sa = (t, e) => ({
17925
17951
  ],
17926
17952
  values: { selection_associated_object: `${t},${e}` },
17927
17953
  forced_values: { res_model: t, res_id: e }
17928
- }), { useToken: yb } = rt, Wc = (t) => {
17929
- const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: i = "" } = t, { id: a, readOnly: c, required: l } = e, { token: d } = yb(), f = l && !c ? { backgroundColor: d.colorPrimaryBg } : void 0, u = we(Ze), { elementHasLostFocus: m } = u || {}, [p, g] = F(!1), [h, y] = F(!1);
17954
+ }), { useToken: vb } = rt, Wc = (t) => {
17955
+ const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: i = "" } = t, { id: a, readOnly: c, required: l } = e, { token: d } = vb(), f = l && !c ? { backgroundColor: d.colorPrimaryBg } : void 0, u = we(Ze), { elementHasLostFocus: m } = u || {}, [p, g] = F(!1), [h, y] = F(!1);
17930
17956
  le(() => {
17931
17957
  c && !p && y(!1), !n && !c && (g(!0), y(!0));
17932
17958
  }, [p, c]);
@@ -17981,7 +18007,7 @@ const sa = (t, e) => ({
17981
18007
  }
17982
18008
  ) })
17983
18009
  ] });
17984
- }, vb = (t) => {
18010
+ }, bb = (t) => {
17985
18011
  const { ooui: e } = t, { required: n } = e;
17986
18012
  return /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(
17987
18013
  Wc,
@@ -17990,7 +18016,7 @@ const sa = (t, e) => ({
17990
18016
  valueValidator: (r) => r ? su(r) : !1
17991
18017
  }
17992
18018
  ) });
17993
- }, bb = (t) => {
18019
+ }, wb = (t) => {
17994
18020
  const { ooui: e } = t, { required: n } = e;
17995
18021
  return /* @__PURE__ */ s(qe, { required: n, ...t, children: e.multi ? /* @__PURE__ */ s(jm, { readonly: e.readOnly, maxLength: e.size }) : /* @__PURE__ */ s(
17996
18022
  Wc,
@@ -18000,7 +18026,7 @@ const sa = (t, e) => ({
18000
18026
  valueValidator: (r) => r ? iu(r, { allow_display_name: !0 }) : !1
18001
18027
  }
18002
18028
  ) });
18003
- }, wb = (t) => {
18029
+ }, xb = (t) => {
18004
18030
  const { visible: e, onIdSubmitted: n, onCancel: r, isSearching: o } = t, { t: i } = Se(), a = z(null), c = z(!1);
18005
18031
  function l(d) {
18006
18032
  const f = d.id.split(",").map((u) => parseInt(u.trim()));
@@ -18053,7 +18079,7 @@ const sa = (t, e) => ({
18053
18079
  tabIndex: 1,
18054
18080
  loading: o,
18055
18081
  style: { marginLeft: 15 },
18056
- icon: /* @__PURE__ */ s(qo, {}),
18082
+ icon: /* @__PURE__ */ s(Yo, {}),
18057
18083
  htmlType: "submit",
18058
18084
  disabled: o,
18059
18085
  onClick: () => {
@@ -18068,7 +18094,7 @@ const sa = (t, e) => ({
18068
18094
  tabIndex: 0,
18069
18095
  loading: o,
18070
18096
  style: { marginLeft: 15 },
18071
- icon: /* @__PURE__ */ s(ro, {}),
18097
+ icon: /* @__PURE__ */ s(so, {}),
18072
18098
  htmlType: "submit",
18073
18099
  type: "primary",
18074
18100
  disabled: o,
@@ -18083,7 +18109,7 @@ const sa = (t, e) => ({
18083
18109
  }
18084
18110
  );
18085
18111
  };
18086
- function xb({ refreshGraph: t }) {
18112
+ function Cb({ refreshGraph: t }) {
18087
18113
  const { t: e } = Se(), {
18088
18114
  availableViews: n,
18089
18115
  currentView: r,
@@ -18094,7 +18120,7 @@ function xb({ refreshGraph: t }) {
18094
18120
  graphIsLoading: l,
18095
18121
  previousView: d,
18096
18122
  setPreviousView: f
18097
- } = we(Mt);
18123
+ } = we(Pt);
18098
18124
  return /* @__PURE__ */ j(lt, { wrap: !0, children: [
18099
18125
  /* @__PURE__ */ s(
18100
18126
  gl,
@@ -18117,7 +18143,7 @@ function xb({ refreshGraph: t }) {
18117
18143
  /* @__PURE__ */ s(
18118
18144
  kt,
18119
18145
  {
18120
- icon: /* @__PURE__ */ s(eo, {}),
18146
+ icon: /* @__PURE__ */ s(no, {}),
18121
18147
  tooltip: e("refresh"),
18122
18148
  disabled: l,
18123
18149
  loading: !1,
@@ -18139,10 +18165,10 @@ function xb({ refreshGraph: t }) {
18139
18165
  }
18140
18166
  ),
18141
18167
  /* @__PURE__ */ s(wt, {}),
18142
- /* @__PURE__ */ s(uo, { searchParams: i })
18168
+ /* @__PURE__ */ s(mo, { searchParams: i })
18143
18169
  ] });
18144
18170
  }
18145
- const Cb = (t) => {
18171
+ const Sb = (t) => {
18146
18172
  const {
18147
18173
  viewData: e,
18148
18174
  visible: n,
@@ -18155,7 +18181,7 @@ const Cb = (t) => {
18155
18181
  } = t, d = z(), f = Kt(
18156
18182
  Tt.FEATURE_READFORVIEW
18157
18183
  ), u = we(
18158
- Mt
18184
+ Pt
18159
18185
  ), {
18160
18186
  setResults: m = void 0,
18161
18187
  setCurrentItemIndex: p = void 0,
@@ -18266,8 +18292,8 @@ const Cb = (t) => {
18266
18292
  return null;
18267
18293
  const ee = f ? js : On;
18268
18294
  return /* @__PURE__ */ j(Ce, { children: [
18269
- /* @__PURE__ */ s(fo, { title: e.title || e.name, children: /* @__PURE__ */ s(
18270
- xb,
18295
+ /* @__PURE__ */ s(po, { title: e.title || e.name, children: /* @__PURE__ */ s(
18296
+ Cb,
18271
18297
  {
18272
18298
  refreshGraph: () => {
18273
18299
  q();
@@ -18275,7 +18301,7 @@ const Cb = (t) => {
18275
18301
  }
18276
18302
  ) }),
18277
18303
  /* @__PURE__ */ s(
18278
- ho,
18304
+ yo,
18279
18305
  {
18280
18306
  fields: {
18281
18307
  ...c == null ? void 0 : c.fields,
@@ -18311,7 +18337,7 @@ const Cb = (t) => {
18311
18337
  }
18312
18338
  )
18313
18339
  ] });
18314
- }, Sb = (t) => {
18340
+ }, Tb = (t) => {
18315
18341
  const {
18316
18342
  visible: e,
18317
18343
  formRef: n,
@@ -18327,7 +18353,7 @@ const Cb = (t) => {
18327
18353
  setCurrentItemIndex: m
18328
18354
  } = t;
18329
18355
  return e ? /* @__PURE__ */ j(Ce, { children: [
18330
- /* @__PURE__ */ s(fo, { children: /* @__PURE__ */ s(gb, { toolbar: a == null ? void 0 : a.toolbar }) }),
18356
+ /* @__PURE__ */ s(po, { children: /* @__PURE__ */ s(yb, { toolbar: a == null ? void 0 : a.toolbar }) }),
18331
18357
  /* @__PURE__ */ s(
18332
18358
  ir,
18333
18359
  {
@@ -18346,7 +18372,7 @@ const Cb = (t) => {
18346
18372
  }
18347
18373
  )
18348
18374
  ] }) : null;
18349
- }, Gs = rn.createContext(null), Tb = (t) => {
18375
+ }, Gs = Jt.createContext(null), Fb = (t) => {
18350
18376
  const [e, n] = F(!1), [r, o] = F(!1), { children: i, dashboardRef: a, openAction: c } = t;
18351
18377
  return /* @__PURE__ */ s(
18352
18378
  Gs.Provider,
@@ -18363,7 +18389,7 @@ const Cb = (t) => {
18363
18389
  }
18364
18390
  );
18365
18391
  };
18366
- function Fb() {
18392
+ function Ab() {
18367
18393
  const { isLoading: t, dashboardRef: e, moveItemsEnabled: n, setMoveItemsEnabled: r } = we(Gs), { permissions: o } = Lt(), { t: i } = Se();
18368
18394
  return /* @__PURE__ */ j(lt, { wrap: !0, children: [
18369
18395
  (o == null ? void 0 : o.write) && /* @__PURE__ */ s(
@@ -18400,7 +18426,7 @@ function Fb() {
18400
18426
  /* @__PURE__ */ s(
18401
18427
  kt,
18402
18428
  {
18403
- icon: /* @__PURE__ */ s(eo, {}),
18429
+ icon: /* @__PURE__ */ s(no, {}),
18404
18430
  tooltip: i("refresh"),
18405
18431
  disabled: t,
18406
18432
  loading: !1,
@@ -18410,24 +18436,24 @@ function Fb() {
18410
18436
  }
18411
18437
  ),
18412
18438
  /* @__PURE__ */ s(wt, {}),
18413
- /* @__PURE__ */ s(uo, {})
18439
+ /* @__PURE__ */ s(mo, {})
18414
18440
  ] });
18415
18441
  }
18416
- const Ab = (t) => {
18442
+ const Ib = (t) => {
18417
18443
  const { dashboardData: e, visible: n } = t, r = z(), o = we(
18418
18444
  Wt
18419
18445
  ), { openShortcut: i } = o || {};
18420
18446
  return !e || !n ? null : /* @__PURE__ */ j(
18421
- Tb,
18447
+ Fb,
18422
18448
  {
18423
18449
  dashboardRef: r,
18424
18450
  openAction: (a) => {
18425
18451
  i(a);
18426
18452
  },
18427
18453
  children: [
18428
- /* @__PURE__ */ s(fo, { children: /* @__PURE__ */ s(Fb, {}) }),
18454
+ /* @__PURE__ */ s(po, { children: /* @__PURE__ */ s(Ab, {}) }),
18429
18455
  /* @__PURE__ */ s(
18430
- Mb,
18456
+ Pb,
18431
18457
  {
18432
18458
  ref: r,
18433
18459
  model: e.model,
@@ -18440,7 +18466,7 @@ const Ab = (t) => {
18440
18466
  }
18441
18467
  );
18442
18468
  };
18443
- async function Ib(t) {
18469
+ async function Rb(t) {
18444
18470
  const e = await Promise.all(
18445
18471
  t.map(async (r) => {
18446
18472
  try {
@@ -18455,7 +18481,7 @@ async function Ib(t) {
18455
18481
  info: e[o]
18456
18482
  })).filter((r) => r.info !== null);
18457
18483
  }
18458
- function Rb({
18484
+ function _b({
18459
18485
  currentTab: t
18460
18486
  }) {
18461
18487
  const { currentView: e, searchParams: n, currentId: r, limit: o, currentPage: i, order: a } = Lt(), { currentTab: c } = Rr(), l = t || c;
@@ -18476,8 +18502,8 @@ function Rb({
18476
18502
  let g = !!f;
18477
18503
  return p === "form" && (g = !!f && !!r), { shareUrl: m, canShare: g };
18478
18504
  }
18479
- const _b = () => {
18480
- const { currentTab: t } = Rr(), { title: e } = Qt(), { shareUrl: n } = Rb({ currentTab: t });
18505
+ const Eb = () => {
18506
+ const { currentTab: t } = Rr(), { title: e } = Zt(), { shareUrl: n } = _b({ currentTab: t });
18481
18507
  le(() => {
18482
18508
  if (n) {
18483
18509
  const r = new URL(n, window.location.origin);
@@ -18487,7 +18513,7 @@ const _b = () => {
18487
18513
  document.title = e, t != null && t.title && t.title.length > 0 && (document.title = (t == null ? void 0 : t.title) + " - " + e);
18488
18514
  }, [t, e]);
18489
18515
  };
18490
- function Eb(t, e) {
18516
+ function Ob(t, e) {
18491
18517
  const {
18492
18518
  domain: n,
18493
18519
  model: r,
@@ -18513,7 +18539,7 @@ function Eb(t, e) {
18513
18539
  permissions: ie,
18514
18540
  loading: J,
18515
18541
  error: ee
18516
- } = zr({
18542
+ } = Kr({
18517
18543
  model: r,
18518
18544
  permissions: ["create", "write", "unlink"],
18519
18545
  enabled: !!r
@@ -18544,7 +18570,7 @@ function Eb(t, e) {
18544
18570
  },
18545
18571
  [ue]
18546
18572
  );
18547
- Jt(e, () => ({
18573
+ Xt(e, () => ({
18548
18574
  canWeClose: $e
18549
18575
  }));
18550
18576
  const xe = A(async () => {
@@ -18564,7 +18590,7 @@ function Eb(t, e) {
18564
18590
  viewTuple: Xe
18565
18591
  });
18566
18592
  }
18567
- const Ne = await Ib(Je);
18593
+ const Ne = await Rb(Je);
18568
18594
  for (const Xe of Ne) {
18569
18595
  if (!Xe)
18570
18596
  continue;
@@ -18776,7 +18802,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18776
18802
  permissionsError: ee,
18777
18803
  children: [
18778
18804
  /* @__PURE__ */ s(
18779
- Ob,
18805
+ Db,
18780
18806
  {
18781
18807
  availableViews: R,
18782
18808
  formRef: se,
@@ -18798,7 +18824,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18798
18824
  }
18799
18825
  ),
18800
18826
  /* @__PURE__ */ s(
18801
- wb,
18827
+ xb,
18802
18828
  {
18803
18829
  visible: K,
18804
18830
  onIdSubmitted: Oe,
@@ -18812,7 +18838,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18812
18838
  }
18813
18839
  ) : null;
18814
18840
  }
18815
- const Ob = ({
18841
+ const Db = ({
18816
18842
  availableViews: t,
18817
18843
  formRef: e,
18818
18844
  currentId: n,
@@ -18830,11 +18856,11 @@ const Ob = ({
18830
18856
  searchTreeNameSearch: g,
18831
18857
  setCurrentView: h,
18832
18858
  setCurrentId: y
18833
- }) => (_b(), t.map((v) => {
18859
+ }) => (Eb(), t.map((v) => {
18834
18860
  switch (v.type) {
18835
18861
  case "form":
18836
18862
  return /* @__PURE__ */ s(
18837
- Sb,
18863
+ Tb,
18838
18864
  {
18839
18865
  formRef: e,
18840
18866
  currentId: n,
@@ -18874,7 +18900,7 @@ const Ob = ({
18874
18900
  );
18875
18901
  case "graph":
18876
18902
  return /* @__PURE__ */ s(
18877
- Cb,
18903
+ Sb,
18878
18904
  {
18879
18905
  visible: r.type === v.type && r.view_id === v.view_id,
18880
18906
  viewData: v,
@@ -18891,7 +18917,7 @@ const Ob = ({
18891
18917
  );
18892
18918
  case "dashboard":
18893
18919
  return /* @__PURE__ */ s(
18894
- Ab,
18920
+ Ib,
18895
18921
  {
18896
18922
  dashboardData: v,
18897
18923
  visible: r.type === v.type && r.view_id === v.view_id
@@ -18899,9 +18925,9 @@ const Ob = ({
18899
18925
  `${v.type}-${v.view_id}`
18900
18926
  );
18901
18927
  }
18902
- })), qc = jt(Eb);
18903
- const Db = uu(fu), kb = (t) => {
18904
- const { children: e = [], onPositionItemsChanged: n } = t, r = rn.Children.map(
18928
+ })), qc = jt(Ob);
18929
+ const kb = uu(fu), Nb = (t) => {
18930
+ const { children: e = [], onPositionItemsChanged: n } = t, r = Jt.Children.map(
18905
18931
  e,
18906
18932
  (o) => {
18907
18933
  const { parms: i, id: a } = o.props;
@@ -18909,7 +18935,7 @@ const Db = uu(fu), kb = (t) => {
18909
18935
  }
18910
18936
  );
18911
18937
  return /* @__PURE__ */ s(
18912
- Db,
18938
+ kb,
18913
18939
  {
18914
18940
  className: "layout",
18915
18941
  cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
@@ -18929,8 +18955,8 @@ const Db = uu(fu), kb = (t) => {
18929
18955
  children: r
18930
18956
  }
18931
18957
  );
18932
- }, Bo = "line_ids";
18933
- function Nb(t, e) {
18958
+ }, Uo = "line_ids";
18959
+ function Mb(t, e) {
18934
18960
  const { model: n, context: r = {}, id: o, configAction: i } = t, [a, c] = F([]), [l, d] = F(!1), [f, u] = F(), {
18935
18961
  setIsLoading: m,
18936
18962
  openAction: p,
@@ -18942,7 +18968,7 @@ function Nb(t, e) {
18942
18968
  );
18943
18969
  le(() => {
18944
18970
  w();
18945
- }, [n, o, r]), Jt(e, () => ({
18971
+ }, [n, o, r]), Xt(e, () => ({
18946
18972
  refresh: () => {
18947
18973
  w();
18948
18974
  },
@@ -18951,7 +18977,7 @@ function Nb(t, e) {
18951
18977
  async function w() {
18952
18978
  d(!0), m(!0), u(void 0);
18953
18979
  try {
18954
- const E = await R(), T = await I(E), _ = E.fields[Bo].relation, D = T[Bo].items;
18980
+ const E = await R(), T = await I(E), _ = E.fields[Uo].relation, D = T[Uo].items;
18955
18981
  y.current = E.fields;
18956
18982
  const $ = await S({
18957
18983
  items: D,
@@ -19054,7 +19080,7 @@ function Nb(t, e) {
19054
19080
  await x({
19055
19081
  model: n,
19056
19082
  id: o,
19057
- values: { [Bo]: $ },
19083
+ values: { [Uo]: $ },
19058
19084
  fields: y.current,
19059
19085
  context: r
19060
19086
  });
@@ -19062,7 +19088,7 @@ function Nb(t, e) {
19062
19088
  async function N() {
19063
19089
  p(i);
19064
19090
  }
19065
- return l ? /* @__PURE__ */ s(Xt, {}) : f ? (console.error(f), /* @__PURE__ */ s(Nt, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(kb, { onPositionItemsChanged: O, children: a.map((E, T) => {
19091
+ return l ? /* @__PURE__ */ s(Qt, {}) : f ? (console.error(f), /* @__PURE__ */ s(Nt, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(Nb, { onPositionItemsChanged: O, children: a.map((E, T) => {
19066
19092
  const { actionData: _, values: D } = E, { position: $, id: M } = D, {
19067
19093
  actionId: V,
19068
19094
  actionType: L,
@@ -19195,10 +19221,10 @@ function Nb(t, e) {
19195
19221
  );
19196
19222
  }) });
19197
19223
  }
19198
- const Mb = jt(Nb), Pb = (t) => {
19224
+ const Pb = jt(Mb), $b = (t) => {
19199
19225
  const { ooui: e } = t;
19200
- return /* @__PURE__ */ s(qe, { type: "array", ...t, children: /* @__PURE__ */ s($b, { ooui: e }) });
19201
- }, $b = (t) => {
19226
+ return /* @__PURE__ */ s(qe, { type: "array", ...t, children: /* @__PURE__ */ s(Vb, { ooui: e }) });
19227
+ }, Vb = (t) => {
19202
19228
  const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, i = o.filter((I) => I.operation !== "pendingRemove").map((I) => I.id), [a, c] = F([]), [l, d] = F(), [f, u] = F(!1), { relation: m, context: p, readOnly: g, field: h, columns: y } = n, v = we(Ze), { getContext: b } = v || {};
19203
19229
  je(() => {
19204
19230
  C();
@@ -19279,7 +19305,7 @@ const Mb = jt(Nb), Pb = (t) => {
19279
19305
  /* @__PURE__ */ s(Ge, { onClick: R, disabled: i.length === 0, children: "Uncheck all" })
19280
19306
  ] })
19281
19307
  ] }) });
19282
- }, Vb = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Gc, {}) }), Gc = jt(
19308
+ }, Lb = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Gc, {}) }), Gc = jt(
19283
19309
  (t, e) => {
19284
19310
  const { value: n = "", onChange: r, ...o } = t, { ooui: i } = o, [a, c] = F(n), l = z(!1);
19285
19311
  le(() => {
@@ -19369,25 +19395,25 @@ const Mb = jt(Nb), Pb = (t) => {
19369
19395
  }
19370
19396
  );
19371
19397
  Gc.displayName = "MarkdownInput";
19372
- const Lb = (t) => {
19398
+ const Hb = (t) => {
19373
19399
  const { ooui: e } = t, { required: n } = e;
19374
- return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(Hb, { ...t }) });
19375
- }, Hb = (t) => {
19400
+ return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(Bb, { ...t }) });
19401
+ }, Bb = (t) => {
19376
19402
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, direction: a } = e, c = Array.from(o.entries()), l = c && c.length && c.map((d) => {
19377
19403
  const [f, u] = d;
19378
19404
  return /* @__PURE__ */ s(Ks, { value: f, children: u }, f);
19379
19405
  });
19380
19406
  return /* @__PURE__ */ s(Ks.Group, { disabled: i, onChange: n, value: r, children: /* @__PURE__ */ s(lt, { direction: a, children: l }) });
19381
- }, Bb = (t) => {
19382
- const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
19383
- return /* @__PURE__ */ s(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(jb, { id: n, readOnly: r, required: o }) });
19384
19407
  }, jb = (t) => {
19408
+ const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
19409
+ return /* @__PURE__ */ s(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(Ub, { id: n, readOnly: r, required: o }) });
19410
+ }, Ub = (t) => {
19385
19411
  const { required: e, readOnly: n, ...r } = t;
19386
19412
  return /* @__PURE__ */ s("div", { className: "flex flex-row", children: /* @__PURE__ */ s(sd, { disabled: n, ...r }) });
19387
- }, Ub = (t) => {
19388
- const { ooui: e } = t, { required: n } = e;
19389
- return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(Wb, { ...t }) });
19390
19413
  }, Wb = (t) => {
19414
+ const { ooui: e } = t, { required: n } = e;
19415
+ return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(qb, { ...t }) });
19416
+ }, qb = (t) => {
19391
19417
  const { ooui: e, value: n } = t, { selectionValues: r, errorField: o, lastStep: i } = e, a = we(Ze);
19392
19418
  let c = [], l;
19393
19419
  e.fieldType === "json" && n ? (c = n.map((u) => [u.title, u.title]), l = n.findIndex((u) => u.active)) : (c = Array.from(r.entries()), l = c.map((u) => u[0]).indexOf(n));
@@ -19400,7 +19426,7 @@ const Lb = (t) => {
19400
19426
  },
19401
19427
  u[1]
19402
19428
  )) });
19403
- }, qb = (t) => {
19429
+ }, Gb = (t) => {
19404
19430
  const {
19405
19431
  token: {
19406
19432
  colorPrimaryBg: e,
@@ -19451,7 +19477,7 @@ const Lb = (t) => {
19451
19477
  borderTop: "16px solid transparent",
19452
19478
  borderBottom: "16px solid transparent"
19453
19479
  }), m = (p) => {
19454
- const g = Vt(p);
19480
+ const g = Mt(p);
19455
19481
  return g && /* @__PURE__ */ s(g, {});
19456
19482
  };
19457
19483
  return /* @__PURE__ */ s("ul", { style: l, children: (t.value || []).map((p, g) => /* @__PURE__ */ j("li", { style: d(p.active), children: [
@@ -19463,7 +19489,7 @@ const Lb = (t) => {
19463
19489
  /* @__PURE__ */ s("div", { style: f }),
19464
19490
  /* @__PURE__ */ s("div", { style: u(p.active) })
19465
19491
  ] }, g)) });
19466
- }, Gb = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(qb, {}) }), Yb = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(zb, { ...t }) }), zb = (t) => {
19492
+ }, Yb = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Gb, {}) }), zb = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Kb, { ...t }) }), Kb = (t) => {
19467
19493
  const { ooui: e, value: n, onChange: r } = t, { lang: o, height: i, readOnly: a } = e, c = we(Ze), { elementHasLostFocus: l } = c || {}, d = A(
19468
19494
  (u) => {
19469
19495
  l && u.onDidBlurEditorWidget(() => l());
@@ -19491,13 +19517,13 @@ const Lb = (t) => {
19491
19517
  onChange: r
19492
19518
  }
19493
19519
  );
19494
- }, { Meta: Kb } = ls, { Text: Jb } = ln, Xb = ({ email: t, size: e = 40, theme: n = "" }) => {
19520
+ }, { Meta: Jb } = Qr, { Text: Xb } = ln, Qb = ({ email: t, size: e = 40, theme: n = "" }) => {
19495
19521
  const r = `https://www.gravatar.com/avatar/${du(
19496
19522
  t
19497
19523
  )}?s=${e}&d=${n}`;
19498
19524
  return /* @__PURE__ */ s(ua, { src: r, size: e });
19499
19525
  };
19500
- function Qb({ text: t }) {
19526
+ function Zb({ text: t }) {
19501
19527
  const e = t.split(`
19502
19528
  `);
19503
19529
  return /* @__PURE__ */ s("div", { children: e.map((n, r) => /* @__PURE__ */ j(Qn, { children: [
@@ -19505,27 +19531,27 @@ function Qb({ text: t }) {
19505
19531
  r !== e.length - 1 && /* @__PURE__ */ s("br", {})
19506
19532
  ] }, r)) });
19507
19533
  }
19508
- const Zb = (t) => {
19534
+ const ew = (t) => {
19509
19535
  const { data: e, style: n } = t, { t: r } = Se();
19510
- return /* @__PURE__ */ j(ls, { style: { ...n, textAlign: "start" }, children: [
19536
+ return /* @__PURE__ */ j(Qr, { style: { ...n, textAlign: "start" }, children: [
19511
19537
  /* @__PURE__ */ s(
19512
- Kb,
19538
+ Jb,
19513
19539
  {
19514
- avatar: /* @__PURE__ */ s(Xb, { email: e.email, theme: "mp" }),
19540
+ avatar: /* @__PURE__ */ s(Qb, { email: e.email, theme: "mp" }),
19515
19541
  title: e.author,
19516
19542
  description: /* @__PURE__ */ j(lt, { direction: "horizontal", children: [
19517
19543
  /* @__PURE__ */ s("span", { title: e.date, children: ut(e.date).fromNow() }),
19518
- e.isAuthor && /* @__PURE__ */ s(as, { color: "blue", children: r("author") })
19544
+ e.isAuthor && /* @__PURE__ */ s(ls, { color: "blue", children: r("author") })
19519
19545
  ] }),
19520
19546
  style: { marginBottom: "5px" }
19521
19547
  }
19522
19548
  ),
19523
- /* @__PURE__ */ s(Jb, { children: /* @__PURE__ */ s(Qb, { text: e.text }) })
19549
+ /* @__PURE__ */ s(Xb, { children: /* @__PURE__ */ s(Zb, { text: e.text }) })
19524
19550
  ] }, e.id);
19525
19551
  }, ia = (t) => {
19526
- const e = Vt(t);
19552
+ const e = Mt(t);
19527
19553
  return e && /* @__PURE__ */ s(e, {});
19528
- }, ew = (t) => {
19554
+ }, tw = (t) => {
19529
19555
  const { value: e, ooui: n } = t, r = (e || []).map((o) => {
19530
19556
  if (o.type === "action")
19531
19557
  return {
@@ -19537,7 +19563,7 @@ const Zb = (t) => {
19537
19563
  color: "gray",
19538
19564
  position: o.event.isSender ? "left" : "right",
19539
19565
  label: o.event.date,
19540
- children: /* @__PURE__ */ s(Zb, { data: o.event }),
19566
+ children: /* @__PURE__ */ s(ew, { data: o.event }),
19541
19567
  dot: o.icon ? ia(o.icon) : void 0
19542
19568
  };
19543
19569
  });
@@ -19555,7 +19581,7 @@ const Zb = (t) => {
19555
19581
  }
19556
19582
  }
19557
19583
  );
19558
- }, tw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(ew, { ooui: t.ooui }) }), nw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(qd, {}) }), rw = (t) => {
19584
+ }, nw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(tw, { ooui: t.ooui }) }), rw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(qd, {}) }), ow = (t) => {
19559
19585
  const { ooui: e } = t, n = we(Ze);
19560
19586
  let { title: r, text: o, alertType: i, icon: a, buttons: c } = e;
19561
19587
  if (e.fieldType && e.id) {
@@ -19572,7 +19598,7 @@ const Zb = (t) => {
19572
19598
  }
19573
19599
  function l(f) {
19574
19600
  if (f) {
19575
- const u = Vt(f);
19601
+ const u = Mt(f);
19576
19602
  return u && /* @__PURE__ */ s(u, {});
19577
19603
  }
19578
19604
  }
@@ -19588,9 +19614,9 @@ const Zb = (t) => {
19588
19614
  icon: l(a)
19589
19615
  }
19590
19616
  );
19591
- }, { defaultAlgorithm: ow, defaultSeed: sw } = rt, aa = ow(sw), iw = (t) => {
19617
+ }, { defaultAlgorithm: sw, defaultSeed: iw } = rt, aa = sw(iw), aw = (t) => {
19592
19618
  const { ooui: e, responsiveBehaviour: n = !1 } = t;
19593
- return /* @__PURE__ */ s(aw, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
19619
+ return /* @__PURE__ */ s(lw, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
19594
19620
  Us,
19595
19621
  {
19596
19622
  container: r.container,
@@ -19598,7 +19624,7 @@ const Zb = (t) => {
19598
19624
  },
19599
19625
  o
19600
19626
  )) });
19601
- }, aw = Et(id)`
19627
+ }, lw = Et(id)`
19602
19628
  .slick-dots li button {
19603
19629
  background-color: ${aa.colorPrimary};
19604
19630
  }
@@ -19608,7 +19634,7 @@ const Zb = (t) => {
19608
19634
  .slick-dots-bottom {
19609
19635
  bottom: -15px;
19610
19636
  }
19611
- `, lw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(cw, { ...t }) }), cw = (t) => {
19637
+ `, cw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(dw, { ...t }) }), dw = (t) => {
19612
19638
  const { ooui: e, value: n, onChange: r } = t;
19613
19639
  return /* @__PURE__ */ s(
19614
19640
  fa,
@@ -19622,13 +19648,13 @@ const Zb = (t) => {
19622
19648
  value: n
19623
19649
  }
19624
19650
  );
19625
- }, { Content: dw } = ma, { Title: uw } = ln;
19626
- function fw() {
19651
+ }, { Content: uw } = ma, { Title: fw } = ln;
19652
+ function mw() {
19627
19653
  const { t } = Se();
19628
- return /* @__PURE__ */ s(dw, { className: "m-5 select-none", children: /* @__PURE__ */ s(uw, { level: 5, children: t("welcome") }) });
19654
+ return /* @__PURE__ */ s(uw, { className: "m-5 select-none", children: /* @__PURE__ */ s(fw, { level: 5, children: t("welcome") }) });
19629
19655
  }
19630
- function mw(t, e) {
19631
- const { children: n } = t, [r, o] = F("welcome"), { t: i } = Se(), { showErrorNotification: a } = xt(), { globalValues: c, rootContext: l } = Qt(), d = co(
19656
+ function pw(t, e) {
19657
+ const { children: n } = t, [r, o] = F("welcome"), { t: i } = Se(), { showErrorNotification: a } = xt(), { globalValues: c, rootContext: l } = Zt(), d = fo(
19632
19658
  Tt.FEATURE_LOGGABLE_ACTIONS
19633
19659
  ), [f, u] = Ie(
19634
19660
  U.getHandler().logAction
@@ -19641,11 +19667,11 @@ function mw(t, e) {
19641
19667
  title: i("welcome"),
19642
19668
  key: "welcome",
19643
19669
  closable: !0,
19644
- content: /* @__PURE__ */ s(fw, {}),
19670
+ content: /* @__PURE__ */ s(mw, {}),
19645
19671
  action: null
19646
19672
  }
19647
19673
  ]), g = z(/* @__PURE__ */ new Map()), h = z();
19648
- Jt(e, () => ({
19674
+ Xt(e, () => ({
19649
19675
  retrieveAndOpenAction: R,
19650
19676
  openShortcut: k,
19651
19677
  processAction: h.current.processAction,
@@ -20145,9 +20171,9 @@ function mw(t, e) {
20145
20171
  }
20146
20172
  );
20147
20173
  }
20148
- const y0 = jt(mw), { useToken: pw } = rt;
20149
- function hw(t) {
20150
- const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: i, onTitleChange: a } = t, { token: c } = pw(), l = o ? c.colorBgContainer : c.colorPrimaryBg, [d, f] = F(!1), [u, m] = F(e), p = z(null), g = c.colorPrimaryActive, {
20174
+ const v0 = jt(pw), { useToken: hw } = rt;
20175
+ function gw(t) {
20176
+ const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: i, onTitleChange: a } = t, { token: c } = hw(), l = o ? c.colorBgContainer : c.colorPrimaryBg, [d, f] = F(!1), [u, m] = F(e), p = z(null), g = c.colorPrimaryActive, {
20151
20177
  attributes: h,
20152
20178
  listeners: y,
20153
20179
  setNodeRef: v,
@@ -20308,7 +20334,7 @@ function hw(t) {
20308
20334
  }
20309
20335
  );
20310
20336
  }
20311
- function v0() {
20337
+ function b0() {
20312
20338
  const t = we(
20313
20339
  Wt
20314
20340
  ), {
@@ -20398,7 +20424,7 @@ function v0() {
20398
20424
  items: g,
20399
20425
  strategy: Cu,
20400
20426
  children: n.map((v) => /* @__PURE__ */ s(
20401
- hw,
20427
+ gw,
20402
20428
  {
20403
20429
  tabKey: v.key,
20404
20430
  label: v.title,
@@ -20414,7 +20440,7 @@ function v0() {
20414
20440
  }
20415
20441
  ) }) });
20416
20442
  }
20417
- function gw(t) {
20443
+ function yw(t) {
20418
20444
  const { tab: e } = t, n = we(
20419
20445
  Wt
20420
20446
  ), { activeKey: r } = n || {}, o = {
@@ -20422,21 +20448,21 @@ function gw(t) {
20422
20448
  };
20423
20449
  return /* @__PURE__ */ s("div", { style: e.key !== r ? o : void 0, children: e.content });
20424
20450
  }
20425
- const yw = rn.memo(gw, () => !0);
20426
- function b0() {
20451
+ const vw = Jt.memo(yw, () => !0);
20452
+ function w0() {
20427
20453
  const t = we(
20428
20454
  Wt
20429
- ), { tabs: e } = t || {}, n = (e == null ? void 0 : e.map((r) => /* @__PURE__ */ s(yw, { tab: r }, r.key))) || null;
20455
+ ), { tabs: e } = t || {}, n = (e == null ? void 0 : e.map((r) => /* @__PURE__ */ s(vw, { tab: r }, r.key))) || null;
20430
20456
  return /* @__PURE__ */ s(Ce, { children: n });
20431
20457
  }
20432
- const { useToken: vw } = rt, w0 = (t) => {
20458
+ const { useToken: bw } = rt, x0 = (t) => {
20433
20459
  const {
20434
20460
  onRetrieveShortcuts: e,
20435
20461
  onCheckIsFavourite: n,
20436
20462
  onAddFavourite: r,
20437
20463
  onRemoveFavourite: o,
20438
20464
  onDropdownClosed: i
20439
- } = t, [a, c] = F(!1), [l, d] = F(), [f, u] = F(!1), [m, p] = F(""), { t: g } = Se(), { token: h } = vw(), y = z(null), v = we(
20465
+ } = t, [a, c] = F(!1), [l, d] = F(), [f, u] = F(!1), [m, p] = F(""), { t: g } = Se(), { token: h } = bw(), y = z(null), v = we(
20440
20466
  Wt
20441
20467
  ), {
20442
20468
  openShortcut: b,
@@ -20501,7 +20527,7 @@ const { useToken: vw } = rt, w0 = (t) => {
20501
20527
  ];
20502
20528
  }, [e, g]), _ = A(() => {
20503
20529
  if (a && l !== void 0)
20504
- tn({
20530
+ nn({
20505
20531
  onOk: async () => {
20506
20532
  try {
20507
20533
  await o(l), await T(), c(!1);
@@ -20587,7 +20613,7 @@ const { useToken: vw } = rt, w0 = (t) => {
20587
20613
  placement: "bottomRight",
20588
20614
  header: /* @__PURE__ */ j("div", { style: { width: 300, padding: 5, display: "flex" }, children: [
20589
20615
  /* @__PURE__ */ s("div", { style: { paddingLeft: 15, color: "#ccc" }, children: g("favorites").toUpperCase() }),
20590
- /* @__PURE__ */ s("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ s($t, { title: g("edit_favorites"), children: /* @__PURE__ */ s(
20616
+ /* @__PURE__ */ s("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ s(Vt, { title: g("edit_favorites"), children: /* @__PURE__ */ s(
20591
20617
  ps,
20592
20618
  {
20593
20619
  style: { color: h.colorPrimary, cursor: "pointer" },
@@ -20611,86 +20637,87 @@ const { useToken: vw } = rt, w0 = (t) => {
20611
20637
  ] });
20612
20638
  };
20613
20639
  export {
20614
- zo as ACTION_TYPE_REPORT,
20640
+ Jo as ACTION_TYPE_REPORT,
20615
20641
  kf as ACTION_TYPE_UPDATE_TOKEN,
20616
20642
  Of as ACTION_TYPE_URL,
20617
20643
  An as ACTION_TYPE_WINDOW,
20618
20644
  Ef as ACTION_TYPE_WINDOW_CLOSE,
20619
20645
  sl as ACTION_TYPE_WIZARD,
20620
- gb as ActionBar,
20646
+ yb as ActionBar,
20621
20647
  qc as ActionView,
20622
20648
  Iy as ActionViewProvider,
20623
- rw as Alert,
20624
- Gb as ArrowStepsField,
20625
- db as Binary,
20649
+ ow as Alert,
20650
+ Yb as ArrowStepsField,
20651
+ ub as Binary,
20626
20652
  ef as Boolean,
20627
20653
  bs as Button,
20628
20654
  Pu as ButtonGroup,
20629
- iw as Carousel,
20655
+ Jy as Card,
20656
+ aw as Carousel,
20630
20657
  Ha as Char,
20631
- Yb as CodeEditor,
20632
- lw as ColorPicker,
20633
- tw as CommentsTimelineField,
20658
+ zb as CodeEditor,
20659
+ cw as ColorPicker,
20660
+ nw as CommentsTimelineField,
20634
20661
  ol as ConfigContext,
20635
20662
  _f as ConfigContextProvider,
20636
20663
  U as ConnectionProvider,
20637
20664
  hm as ContentRootProvider,
20638
- b0 as CurrentTabContent,
20665
+ w0 as CurrentTabContent,
20639
20666
  _t as DEFAULT_SEARCH_LIMIT,
20640
- Mb as Dashboard,
20641
- kb as DashboardGrid,
20642
- rb as Date,
20643
- ob as DateTime,
20644
- bb as Email,
20645
- h0 as ErpAllFeatureKeys,
20667
+ Pb as Dashboard,
20668
+ Nb as DashboardGrid,
20669
+ ob as Date,
20670
+ sb as DateTime,
20671
+ wb as Email,
20672
+ g0 as ErpAllFeatureKeys,
20646
20673
  Tt as ErpFeatureKeys,
20647
- tb as ExportModal,
20648
- w0 as FavouriteButton,
20674
+ nb as ExportModal,
20675
+ x0 as FavouriteButton,
20649
20676
  Ds as Float,
20650
- Vv as FloatTime,
20677
+ Lv as FloatTime,
20651
20678
  ir as Form,
20652
- Sb as FormActionView,
20679
+ Tb as FormActionView,
20653
20680
  Dn as FormModal,
20654
20681
  vc as GraphCard,
20655
20682
  $f as GraphIndicator,
20656
20683
  Hc as Group,
20657
- nw as HTMLPreview,
20684
+ rw as HTMLPreview,
20658
20685
  of as Image,
20659
20686
  br as Integer,
20660
- so as Label,
20687
+ ao as Label,
20661
20688
  Df as MODEL_ACTIONS,
20662
- hv as Many2one,
20663
- Vb as Markdown,
20664
- Pb as MultiCheckbox,
20665
- jv as Notebook,
20666
- Mv as One2many,
20689
+ gv as Many2one,
20690
+ Lb as Markdown,
20691
+ $b as MultiCheckbox,
20692
+ Uv as Notebook,
20693
+ Pv as One2many,
20667
20694
  Om as ProgressBar,
20668
20695
  zy as QRCode,
20669
20696
  Ky as QRCodeInput,
20670
- Lb as Radio,
20671
- ab as Reference,
20672
- y0 as RootView,
20673
- ho as SearchFilter,
20674
- yo as SearchModal,
20697
+ Hb as Radio,
20698
+ lb as Reference,
20699
+ v0 as RootView,
20700
+ yo as SearchFilter,
20701
+ bo as SearchModal,
20675
20702
  gc as SearchTree,
20676
20703
  Wa as Selection,
20677
- Gv as Separator,
20678
- ns as Spinner,
20679
- Ub as Steps,
20680
- Bb as Switch,
20681
- hw as Tab,
20682
- v0 as TabSelector,
20704
+ Yv as Separator,
20705
+ zr as Spinner,
20706
+ Wb as Steps,
20707
+ jb as Switch,
20708
+ gw as Tab,
20709
+ b0 as TabSelector,
20683
20710
  Bm as Tag,
20684
20711
  jy as Tags,
20685
- Wv as Text,
20686
- sb as Time,
20712
+ qv as Text,
20713
+ ib as Time,
20687
20714
  kr as Tree,
20688
20715
  Ay as TreeActionView,
20689
- vb as Url,
20690
- g0 as UserAllFeatureKeys,
20716
+ bb as Url,
20717
+ y0 as UserAllFeatureKeys,
20691
20718
  fn as UserFeatureKeys,
20692
- S0 as dayjs,
20693
- tn as showConfirmDialog,
20719
+ T0 as dayjs,
20720
+ nn as showConfirmDialog,
20694
20721
  sr as useBrowserVisibility
20695
20722
  };
20696
20723
  //# sourceMappingURL=react-ooui.es.js.map