@gisce/react-ooui 2.114.1 → 2.114.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ import { Label as or, Field as Jo, Tree as Ta, Tags as oi, Reference as si, Sele
8
8
  import wd, { QuestionCircleOutlined as Ea, ExclamationCircleOutlined as oo, LoadingOutlined as Zt, DownOutlined as Fr, CloseOutlined as On, CheckOutlined as sr, TranslationOutlined as Oa, FolderOpenOutlined as gs, DownloadOutlined as ys, ClearOutlined as ir, FormOutlined as yr, TableOutlined as vs, AreaChartOutlined as xd, CalendarOutlined as Cd, FileAddOutlined as so, CloseCircleFilled as Sd, FilterOutlined as qn, EditOutlined as bs, CopyOutlined as Ar, DeleteOutlined as ws, InfoCircleOutlined as io, ReloadOutlined as ao, ThunderboltOutlined as lo, PrinterOutlined as co, ExportOutlined as xs, EnterOutlined as uo, SearchOutlined as Ir, SaveOutlined as Xo, PlusOutlined as Qo, UpOutlined as Td, PlusSquareOutlined as Da, MinusSquareOutlined as ka, StarFilled as Fd, StarOutlined as Ad, LeftOutlined as Na, RightOutlined as Ma, ApiOutlined as Id, AlignLeftOutlined as Rd, EyeOutlined as _d, LinkOutlined as ii, BorderOuterOutlined as Ed, SettingOutlined as Od } from "@ant-design/icons";
9
9
  import { Interweave as ln } from "interweave";
10
10
  import mt from "dayjs";
11
- import { default as N0 } from "dayjs";
11
+ import { default as P0 } from "dayjs";
12
12
  import Dd from "dayjs/plugin/advancedFormat";
13
13
  import kd from "dayjs/plugin/customParseFormat";
14
14
  import Nd from "dayjs/plugin/isoWeek";
@@ -1396,19 +1396,22 @@ function bf(t) {
1396
1396
  return !0;
1397
1397
  return !1;
1398
1398
  }
1399
- const Zn = ({
1399
+ const wf = (t) => {
1400
+ const e = t.match(/^(.+)_(\d+)$/);
1401
+ return e ? e[1] : t;
1402
+ }, Zn = ({
1400
1403
  state: t
1401
1404
  }) => {
1402
1405
  if (!t)
1403
1406
  return;
1404
1407
  const e = t.filter((r) => r.sort).sort((r, o) => (r.sortIndex || 0) - (o.sortIndex || 0));
1405
- return e.length === 0 ? void 0 : e.reduce(
1406
- (r, o) => ({
1407
- ...r,
1408
- [o.colId]: o.sort
1409
- }),
1410
- {}
1411
- );
1408
+ if (e.length === 0)
1409
+ return;
1410
+ const n = /* @__PURE__ */ new Map();
1411
+ return e.forEach((r) => {
1412
+ const o = wf(r.colId);
1413
+ n.has(o) || n.set(o, r.sort);
1414
+ }), Object.fromEntries(n);
1412
1415
  }, br = (t) => {
1413
1416
  if (t && Object.keys(t).length !== 0)
1414
1417
  return Object.keys(t).map((e) => {
@@ -1507,7 +1510,7 @@ const es = (t) => {
1507
1510
  }, rl = (t) => {
1508
1511
  const e = t.filter((n) => n.id && n.id < 0).map((n) => n.id);
1509
1512
  return e.length === 0 ? -1 : Math.min(...e) - 1;
1510
- }, wf = (t, e) => {
1513
+ }, xf = (t, e) => {
1511
1514
  const n = {};
1512
1515
  return Object.keys(t).forEach((r) => {
1513
1516
  var o;
@@ -1515,7 +1518,7 @@ const es = (t) => {
1515
1518
  (s) => s.operation !== "pendingRemove"
1516
1519
  ) : n[r] = t[r];
1517
1520
  }), n;
1518
- }, xf = ({
1521
+ }, Cf = ({
1519
1522
  values: t,
1520
1523
  fields: e
1521
1524
  }) => {
@@ -1534,7 +1537,7 @@ const es = (t) => {
1534
1537
  n[r] = t[r];
1535
1538
  }), n;
1536
1539
  };
1537
- function Cf(t) {
1540
+ function Sf(t) {
1538
1541
  const e = t.map((r) => r.id);
1539
1542
  return t.filter((r, o) => {
1540
1543
  const { id: s } = r;
@@ -1623,7 +1626,7 @@ const ol = ({
1623
1626
  colors: Qn(d[1] || {}),
1624
1627
  status: qr(d[1] || {})
1625
1628
  };
1626
- }, Sf = (t, e) => {
1629
+ }, Tf = (t, e) => {
1627
1630
  if (!e)
1628
1631
  return t;
1629
1632
  const n = {};
@@ -1637,7 +1640,7 @@ const ol = ({
1637
1640
  } else
1638
1641
  n[r] = t[r];
1639
1642
  }), n;
1640
- }, jn = (t, e) => Sf(t, e), _o = ({
1643
+ }, jn = (t, e) => Tf(t, e), _o = ({
1641
1644
  source: t,
1642
1645
  target: e,
1643
1646
  fields: n
@@ -1670,7 +1673,7 @@ const ol = ({
1670
1673
  else
1671
1674
  t[o] === void 0 && e[o] !== void 0 ? r[o] = e[o] : t[o] !== e[o] && (e[o] === void 0 ? r[o] = null : r[o] = e[o]);
1672
1675
  }), r;
1673
- }, Tf = ({
1676
+ }, Ff = ({
1674
1677
  changedFields: t,
1675
1678
  formOoui: e,
1676
1679
  types: n
@@ -1678,7 +1681,7 @@ const ol = ({
1678
1681
  var a;
1679
1682
  const s = (a = e == null ? void 0 : e.findById(o)) == null ? void 0 : a.type;
1680
1683
  return n.includes(s);
1681
- }).some((o) => o === !0), Ff = ({
1684
+ }).some((o) => o === !0), Af = ({
1682
1685
  fieldsDomain: t,
1683
1686
  fields: e
1684
1687
  }) => {
@@ -1691,7 +1694,7 @@ const ol = ({
1691
1694
  return !t || !Array.isArray(t) || (t == null ? void 0 : t.length) === 0 ? {} : (t.forEach((n) => {
1692
1695
  (n == null ? void 0 : n[1]) === "=" && (e[n[0]] = n[2]);
1693
1696
  }), e);
1694
- }, Af = ({
1697
+ }, If = ({
1695
1698
  onChangeFieldActionArgs: t,
1696
1699
  values: e,
1697
1700
  parentValues: n = {}
@@ -1743,7 +1746,7 @@ const Dn = ({
1743
1746
  const o = t[r];
1744
1747
  e[r] && e[r].type === "many2one" && o && Array.isArray(o) && o.length === 2 ? n[r] = o[0] : n[r] = o;
1745
1748
  }), n;
1746
- }, If = (t) => t ? "success" : "error", _r = (t) => {
1749
+ }, Rf = (t) => t ? "success" : "error", _r = (t) => {
1747
1750
  if (!t)
1748
1751
  return;
1749
1752
  let e = 0;
@@ -1759,10 +1762,10 @@ const Dn = ({
1759
1762
  }, dl = (t, e = 7) => ({
1760
1763
  text: iu(t)[e],
1761
1764
  background: `${t}40`
1762
- }), Rf = (t, e) => t.replace(
1765
+ }), _f = (t, e) => t.replace(
1763
1766
  /\{([^}]+)\}/g,
1764
1767
  (n, r) => e[r] !== void 0 ? e[r] : n
1765
- ), pi = (t) => !(!Array.isArray(t) || t.length !== 2 || t[0] === void 0 && t[1] === ""), _f = (t) => /* @__PURE__ */ B(
1768
+ ), pi = (t) => !(!Array.isArray(t) || t.length !== 2 || t[0] === void 0 && t[1] === ""), Ef = (t) => /* @__PURE__ */ B(
1766
1769
  "div",
1767
1770
  {
1768
1771
  style: { display: "inline-block", cursor: "pointer" },
@@ -1775,7 +1778,7 @@ const Dn = ({
1775
1778
  ] })
1776
1779
  ]
1777
1780
  }
1778
- ), Ef = (t) => {
1781
+ ), Of = (t) => {
1779
1782
  const { ooui: e } = t, { relation: n, context: r, views: o } = e, [s, a] = F(!0), [c, l] = F(), [d, f] = F(/* @__PURE__ */ new Map()), u = ge(Qe), { getContext: m } = u || {};
1780
1783
  je(() => {
1781
1784
  g();
@@ -1795,8 +1798,8 @@ const Dn = ({
1795
1798
  a(!1);
1796
1799
  }
1797
1800
  };
1798
- return s ? /* @__PURE__ */ i(st, {}) : c ? (console.error(c), /* @__PURE__ */ i(Nt, { className: "mt-10", message: c, type: "error", banner: !0 })) : /* @__PURE__ */ i(qe, { type: "array", ...t, children: /* @__PURE__ */ i(Of, { ooui: e, views: d }) });
1799
- }, Of = (t) => {
1801
+ return s ? /* @__PURE__ */ i(st, {}) : c ? (console.error(c), /* @__PURE__ */ i(Nt, { className: "mt-10", message: c, type: "error", banner: !0 })) : /* @__PURE__ */ i(qe, { type: "array", ...t, children: /* @__PURE__ */ i(Df, { ooui: e, views: d }) });
1802
+ }, Df = (t) => {
1800
1803
  const { value: e, views: n, ooui: r, onChange: o } = t, { items: s = [] } = e || {}, [a, c] = F(!1), [l, d] = F(), [f, u] = F(!1), [m, p] = F(), {
1801
1804
  relation: g,
1802
1805
  context: h,
@@ -1848,7 +1851,7 @@ const Dn = ({
1848
1851
  var O, T, $, M;
1849
1852
  const I = {
1850
1853
  children: /* @__PURE__ */ i(
1851
- _f,
1854
+ Ef,
1852
1855
  {
1853
1856
  title: (O = k.values) == null ? void 0 : O[v],
1854
1857
  summary: (T = k.values) == null ? void 0 : T[b],
@@ -1885,7 +1888,7 @@ const Dn = ({
1885
1888
  }
1886
1889
  )
1887
1890
  ] });
1888
- }, Df = {
1891
+ }, kf = {
1889
1892
  true: "Sí",
1890
1893
  false: "No",
1891
1894
  simple_search: "Cerca simple",
@@ -2013,7 +2016,7 @@ const Dn = ({
2013
2016
  favouriteName: "Nom del preferit",
2014
2017
  saveFavourite: "Desar preferit",
2015
2018
  enterFavouriteName: "Introdueix el nom del preferit"
2016
- }, kf = {
2019
+ }, Nf = {
2017
2020
  true: "Yes",
2018
2021
  false: "No",
2019
2022
  simple_search: "Simple search",
@@ -2141,7 +2144,7 @@ const Dn = ({
2141
2144
  favouriteName: "Favourite name",
2142
2145
  saveFavourite: "Save favourite",
2143
2146
  enterFavouriteName: "Enter favourite name"
2144
- }, Nf = {
2147
+ }, Mf = {
2145
2148
  true: "Sí",
2146
2149
  false: "No",
2147
2150
  simple_search: "Búsqueda simple",
@@ -2269,11 +2272,11 @@ const Dn = ({
2269
2272
  favouriteName: "Nombre del favorito",
2270
2273
  saveFavourite: "Guardar favorito",
2271
2274
  enterFavouriteName: "Introduce el nombre del favorito"
2272
- }, Mf = {
2273
- ca_ES: Df,
2274
- en_US: kf,
2275
- es_ES: Nf
2276
- }, ul = 100, Pf = {
2275
+ }, Pf = {
2276
+ ca_ES: kf,
2277
+ en_US: Nf,
2278
+ es_ES: Mf
2279
+ }, ul = 100, $f = {
2277
2280
  erpFeatures: {},
2278
2281
  userFeatures: {
2279
2282
  features: {},
@@ -2285,7 +2288,7 @@ const Dn = ({
2285
2288
  devMode: !1,
2286
2289
  treeMaxLimit: ul,
2287
2290
  onActionTriggered: void 0
2288
- }, fl = Xt.createContext(Pf), en = () => {
2291
+ }, fl = Xt.createContext($f), en = () => {
2289
2292
  const t = ge(fl);
2290
2293
  if (!t)
2291
2294
  throw new Error(
@@ -2302,7 +2305,7 @@ const Dn = ({
2302
2305
  }, yo = (t) => {
2303
2306
  const { erpFeatures: e } = en();
2304
2307
  return e[t];
2305
- }, $f = ut(
2308
+ }, Vf = ut(
2306
2309
  ({
2307
2310
  erpFeatures: t,
2308
2311
  locale: e,
@@ -2342,14 +2345,14 @@ const Dn = ({
2342
2345
  Bd,
2343
2346
  {
2344
2347
  locale: e,
2345
- localizedStrings: jd(Mf, n),
2348
+ localizedStrings: jd(Pf, n),
2346
2349
  children: l
2347
2350
  }
2348
2351
  ) });
2349
2352
  }
2350
2353
  );
2351
- $f.displayName = "ConfigContextProvider";
2352
- const Et = 80, Rn = "ir.actions.act_window", Vf = "ir.actions.act_window_close", ml = "ir.actions.wizard", ts = "ir.actions.report.xml", Lf = "ir.actions.act_url", Hf = "ir.actions.actions", Bf = "ir.act.update_token";
2354
+ Vf.displayName = "ConfigContextProvider";
2355
+ const Et = 80, Rn = "ir.actions.act_window", Lf = "ir.actions.act_window_close", ml = "ir.actions.wizard", ts = "ir.actions.report.xml", Hf = "ir.actions.act_url", Bf = "ir.actions.actions", jf = "ir.act.update_token";
2353
2356
  async function pl({
2354
2357
  actionId: t,
2355
2358
  rootContext: e = {},
@@ -2407,7 +2410,7 @@ async function pl({
2407
2410
  treeExpandable: g
2408
2411
  };
2409
2412
  }
2410
- const jf = (t) => {
2413
+ const Uf = (t) => {
2411
2414
  const e = J(!1), [n, r] = F(), [o, s] = F(!1), [a, c] = F(), [l, d] = F(), f = ge(Qe), { getContext: u, getPlainValues: m, activeId: p } = f || {}, { globalValues: g, rootContext: h } = en(), y = Q(() => ({ ...u == null ? void 0 : u(), ...h }), [u, h]);
2412
2415
  return { actionData: a, treeShortcut: l, loading: o, error: n, fetchData: async () => {
2413
2416
  r(void 0), e.current || s(!0);
@@ -2540,7 +2543,7 @@ const jf = (t) => {
2540
2543
  },
2541
2544
  children: ({ measureRef: g }) => {
2542
2545
  const b = Math.min(p || e || 200, r || 200), v = b > 0 ? b : 200, x = v, C = p || e, w = r, _ = u ? /* @__PURE__ */ i(
2543
- Wf,
2546
+ qf,
2544
2547
  {
2545
2548
  value: s,
2546
2549
  total: a,
@@ -2553,7 +2556,7 @@ const jf = (t) => {
2553
2556
  suffix: f
2554
2557
  }
2555
2558
  ) : /* @__PURE__ */ i(
2556
- Uf,
2559
+ Wf,
2557
2560
  {
2558
2561
  value: s,
2559
2562
  total: a,
@@ -2596,7 +2599,7 @@ function yl(t, e) {
2596
2599
  const r = document.createElement("canvas").getContext("2d");
2597
2600
  return r.font = e || getComputedStyle(document.body).font, r.measureText(t).width;
2598
2601
  }
2599
- function Uf({
2602
+ function Wf({
2600
2603
  measureRef: t,
2601
2604
  width: e,
2602
2605
  height: n,
@@ -2639,7 +2642,7 @@ function Uf({
2639
2642
  }
2640
2643
  );
2641
2644
  }
2642
- function Wf({
2645
+ function qf({
2643
2646
  measureRef: t,
2644
2647
  height: e,
2645
2648
  width: n,
@@ -2703,7 +2706,7 @@ function Wf({
2703
2706
  }
2704
2707
  );
2705
2708
  }
2706
- const { getValueForOperator: hi } = Aa, qf = (t) => {
2709
+ const { getValueForOperator: hi } = Aa, Gf = (t) => {
2707
2710
  const {
2708
2711
  model: e,
2709
2712
  domain: n,
@@ -2838,7 +2841,7 @@ const { getValueForOperator: hi } = Aa, qf = (t) => {
2838
2841
  fixedHeight: p
2839
2842
  }
2840
2843
  );
2841
- }, { processGraphData: Gf } = Aa, { getFieldsToRetrieve: Yf } = hd, zf = (t) => {
2844
+ }, { processGraphData: Yf } = Aa, { getFieldsToRetrieve: zf } = hd, Jf = (t) => {
2842
2845
  const {
2843
2846
  model: e,
2844
2847
  ooui: n,
@@ -2853,10 +2856,10 @@ const { getValueForOperator: hi } = Aa, qf = (t) => {
2853
2856
  j.getHandler().readObjects
2854
2857
  ), [C] = Ie(j.getHandler().search), w = A(async () => {
2855
2858
  d(!0), u(void 0), b(n.type || "line");
2856
- const _ = Yf({ ooui: n });
2859
+ const _ = zf({ ooui: n });
2857
2860
  let S, R;
2858
2861
  try {
2859
- ({ values: S, fields: R } = await Kf({
2862
+ ({ values: S, fields: R } = await Xf({
2860
2863
  model: e,
2861
2864
  domain: r,
2862
2865
  context: o,
@@ -2885,7 +2888,7 @@ const { getValueForOperator: hi } = Aa, qf = (t) => {
2885
2888
  fetchData: w
2886
2889
  };
2887
2890
  h(S);
2888
- const N = Gf({
2891
+ const N = Yf({
2889
2892
  ooui: n,
2890
2893
  values: S,
2891
2894
  fields: R,
@@ -2925,7 +2928,7 @@ const { getValueForOperator: hi } = Aa, qf = (t) => {
2925
2928
  fetchData: w
2926
2929
  };
2927
2930
  };
2928
- async function Jf({
2931
+ async function Kf({
2929
2932
  model: t,
2930
2933
  context: e,
2931
2934
  fields: n,
@@ -2937,7 +2940,7 @@ async function Jf({
2937
2940
  fields: n
2938
2941
  });
2939
2942
  }
2940
- async function Kf({
2943
+ async function Xf({
2941
2944
  fields: t,
2942
2945
  model: e,
2943
2946
  domain: n,
@@ -2947,7 +2950,7 @@ async function Kf({
2947
2950
  manualIds: a,
2948
2951
  methods: c
2949
2952
  }) {
2950
- const { getFields: l, readObjects: d, search: f } = c, u = await Jf({
2953
+ const { getFields: l, readObjects: d, search: f } = c, u = await Kf({
2951
2954
  model: e,
2952
2955
  context: r,
2953
2956
  fields: t,
@@ -3038,7 +3041,7 @@ const Eo = (t) => (e) => {
3038
3041
  });
3039
3042
  return { name: t === "pie" ? e.x : e.type, value: n };
3040
3043
  }, Lr = (t) => {
3041
- if (typeof t == "string" && Xf(t))
3044
+ if (typeof t == "string" && Qf(t))
3042
3045
  return parseFloat(t).toLocaleString("es-ES", {
3043
3046
  useGrouping: !0
3044
3047
  });
@@ -3046,14 +3049,14 @@ const Eo = (t) => (e) => {
3046
3049
  return t.toLocaleString("es-ES", {
3047
3050
  useGrouping: !0
3048
3051
  });
3049
- if (Qf(t)) {
3050
- const e = Zf(t);
3052
+ if (Zf(t)) {
3053
+ const e = em(t);
3051
3054
  return e === null ? t : mt(t, Jr.input[e]).format(
3052
3055
  Jr.output[e]
3053
3056
  );
3054
3057
  } else
3055
3058
  return t;
3056
- }, Xf = (t) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(t), vl = (t) => typeof t == "number" && !isNaN(t), yi = {
3059
+ }, Qf = (t) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(t), vl = (t) => typeof t == "number" && !isNaN(t), yi = {
3057
3060
  default: {
3058
3061
  padding: "auto",
3059
3062
  xAxis: {
@@ -3128,7 +3131,7 @@ const Eo = (t) => (e) => {
3128
3131
  }
3129
3132
  }
3130
3133
  };
3131
- function Qf(t) {
3134
+ function Zf(t) {
3132
3135
  return typeof t != "string" || t === void 0 ? !1 : new Date(t).toString() !== "Invalid Date";
3133
3136
  }
3134
3137
  const Jr = {
@@ -3147,7 +3150,7 @@ const Jr = {
3147
3150
  years: "YYYY"
3148
3151
  }
3149
3152
  };
3150
- function Zf(t) {
3153
+ function em(t) {
3151
3154
  for (const e in Jr.input)
3152
3155
  if (mt(
3153
3156
  t,
@@ -3157,7 +3160,7 @@ function Zf(t) {
3157
3160
  return e;
3158
3161
  return null;
3159
3162
  }
3160
- const em = {
3163
+ const tm = {
3161
3164
  inner: {
3162
3165
  label: {
3163
3166
  type: "inner",
@@ -3174,7 +3177,7 @@ const em = {
3174
3177
  labelHeight: 28
3175
3178
  }
3176
3179
  }
3177
- }, tm = (t) => {
3180
+ }, nm = (t) => {
3178
3181
  const e = t.reduce((l, d) => l + d.value, 0), r = t.map((l) => l.value / e * 100).map(
3179
3182
  (l) => Math.round(l * 100) / 100
3180
3183
  ), o = r.reduce((l, d) => l + d, 0);
@@ -3190,10 +3193,10 @@ const em = {
3190
3193
  x: l.x,
3191
3194
  percent: c[d]
3192
3195
  }));
3193
- }, { Text: vi } = cn, nm = 400, rm = ut(nu), om = ut(ru), sm = ut(ou), im = {
3194
- line: rm,
3195
- bar: om,
3196
- pie: sm
3196
+ }, { Text: vi } = cn, rm = 400, om = ut(nu), sm = ut(ru), im = ut(ou), am = {
3197
+ line: om,
3198
+ bar: sm,
3199
+ pie: im
3197
3200
  }, bl = ({
3198
3201
  type: t,
3199
3202
  data: e,
@@ -3211,7 +3214,7 @@ const em = {
3211
3214
  return e.reduce((y, b) => y + b.value, 0);
3212
3215
  }, [e, t]), d = Q(() => {
3213
3216
  if (t === "pie")
3214
- return tm(e);
3217
+ return nm(e);
3215
3218
  }, [e, t]), f = A(
3216
3219
  (h) => {
3217
3220
  if (!d)
@@ -3228,7 +3231,7 @@ const em = {
3228
3231
  }, [f, d]), m = A(
3229
3232
  ({ percent: h, x: y }) => h < 0.07 ? "" : f(y),
3230
3233
  [f]
3231
- ), p = im[t], g = Q(() => am({
3234
+ ), p = am[t], g = Q(() => lm({
3232
3235
  type: t,
3233
3236
  data: e,
3234
3237
  isGroup: n,
@@ -3272,7 +3275,7 @@ const em = {
3272
3275
  }
3273
3276
  ) : /* @__PURE__ */ i(we, { children: `Unknown graph type: ${t}` });
3274
3277
  };
3275
- function am(t) {
3278
+ function lm(t) {
3276
3279
  const {
3277
3280
  type: e,
3278
3281
  data: n,
@@ -3284,7 +3287,7 @@ function am(t) {
3284
3287
  fixedHeight: l
3285
3288
  } = t;
3286
3289
  let d = { ...yi[e] };
3287
- if (d || (d = { ...yi.default }), d.data = n, d.height = l, e === "pie" ? (d.colorField = "x", d.angleField = "value", d = { ...d, ...em.inner }, d.legend.itemValue = s, d.label.content = a) : (d.xField = "x", d.yField = "value", d.seriesField = "type", d.isGroup = r, o && (d.isStack = !0, d.groupField = "stacked", d.tooltip = {
3290
+ if (d || (d = { ...yi.default }), d.data = n, d.height = l, e === "pie" ? (d.colorField = "x", d.angleField = "value", d = { ...d, ...tm.inner }, d.legend.itemValue = s, d.label.content = a) : (d.xField = "x", d.yField = "value", d.seriesField = "type", d.isGroup = r, o && (d.isStack = !0, d.groupField = "stacked", d.tooltip = {
3288
3291
  fields: ["type", "value", "x"],
3289
3292
  formatter: (f) => {
3290
3293
  const u = f.value.toLocaleString("es-ES", {
@@ -3319,7 +3322,7 @@ function am(t) {
3319
3322
  }
3320
3323
  return d;
3321
3324
  }
3322
- const lm = ({
3325
+ const cm = ({
3323
3326
  ooui: t,
3324
3327
  model: e,
3325
3328
  domain: n,
@@ -3328,7 +3331,7 @@ const lm = ({
3328
3331
  manualIds: s,
3329
3332
  fixedHeight: a
3330
3333
  }) => {
3331
- const { t: c } = Se(), { error: l, loading: d, values: f, type: u, evaluatedEntries: m, fetchData: p } = zf({
3334
+ const { t: c } = Se(), { error: l, loading: d, values: f, type: u, evaluatedEntries: m, fetchData: p } = Jf({
3332
3335
  model: e,
3333
3336
  ooui: t,
3334
3337
  limit: o,
@@ -3354,15 +3357,30 @@ const lm = ({
3354
3357
  fixedHeight: a
3355
3358
  }
3356
3359
  );
3357
- }, bi = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, fr = (t, e) => {
3358
- const n = pm(t), r = fm(n), o = mm(
3360
+ }, bi = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, dm = (t) => {
3361
+ const e = {};
3362
+ t.forEach((s, a) => {
3363
+ if (Array.isArray(s) && s.length === 3) {
3364
+ const [c, l, d] = s;
3365
+ (l === ">=" || l === "<=") && (e[c] || (e[c] = { index: {} }), l === ">=" ? (e[c].gte = d, e[c].index.gte = a) : (e[c].lte = d, e[c].index.lte = a));
3366
+ }
3367
+ });
3368
+ const n = [], r = [];
3369
+ return Object.entries(e).forEach(([s, { gte: a, lte: c, index: l }]) => {
3370
+ a !== void 0 && c !== void 0 && a === c && (r.push({ index: l.gte, param: [s, "=", a] }), n.push(l.lte));
3371
+ }), t.map((s, a) => {
3372
+ const c = r.find((l) => l.index === a);
3373
+ return c ? c.param : s;
3374
+ }).filter((s, a) => !n.includes(a));
3375
+ }, fr = (t, e) => {
3376
+ const n = gm(t), r = pm(n), o = hm(
3359
3377
  r,
3360
3378
  e
3361
- );
3362
- return [
3363
- ...Object.keys(o).map((c) => cm(c, o[c], e))
3379
+ ), a = [
3380
+ ...Object.keys(o).map((c) => um(c, o[c], e))
3364
3381
  ].reduce((c, l) => Array.isArray(l[0]) ? c.concat(l) : [...c, l], []);
3365
- }, cm = (t, e, n) => {
3382
+ return dm(a);
3383
+ }, um = (t, e, n) => {
3366
3384
  var s;
3367
3385
  const r = t.split("#")[0], o = (s = n.findById(r)) == null ? void 0 : s.type;
3368
3386
  if (o === "char" || o === "text" || o === "many2one" || o === "many2many" || o === "one2many")
@@ -3384,14 +3402,14 @@ const lm = ({
3384
3402
  (a) => bi(a)
3385
3403
  )
3386
3404
  ] : [t, "=", bi(e)];
3387
- }, dm = (t) => Object.keys(t).filter((e) => e.indexOf("#date") !== -1), um = (t) => {
3405
+ }, fm = (t) => Object.keys(t).filter((e) => e.indexOf("#date") !== -1), mm = (t) => {
3388
3406
  const e = { ...t };
3389
3407
  return Object.keys(e).forEach(
3390
3408
  (n) => (n.indexOf("#time") !== -1 || n.indexOf("#date") !== -1) && delete e[n]
3391
3409
  ), e;
3392
- }, fm = (t) => {
3393
- const e = { ...um(t) };
3394
- return dm(t).forEach((r) => {
3410
+ }, pm = (t) => {
3411
+ const e = { ...mm(t) };
3412
+ return fm(t).forEach((r) => {
3395
3413
  const o = t[r], s = r.split("#")[0], a = s + "#time", c = t[a];
3396
3414
  let l, d;
3397
3415
  if (o[0] !== null && (l = o[0].format("YYYY-MM-DD"), c && c[0] !== null)) {
@@ -3404,7 +3422,7 @@ const lm = ({
3404
3422
  }
3405
3423
  e[s + "#datetime"] = [l, d];
3406
3424
  }), e;
3407
- }, mm = (t, e) => {
3425
+ }, hm = (t, e) => {
3408
3426
  const n = Object.keys(t).filter((o) => {
3409
3427
  const s = e.findById(o);
3410
3428
  return s && s.type === "date";
@@ -3412,7 +3430,7 @@ const lm = ({
3412
3430
  return n.forEach((o) => {
3413
3431
  delete r[o], t[o][0] !== null && (r[o + "#from"] = t[o][0]), t[o][1] !== null && (r[o + "#to"] = t[o][1]);
3414
3432
  }), r;
3415
- }, pm = (t) => {
3433
+ }, gm = (t) => {
3416
3434
  const e = { ...t };
3417
3435
  return Object.keys(e).forEach(
3418
3436
  (n) => (e[n] === void 0 || e[n] === null || e[n] === "") && delete e[n]
@@ -3439,12 +3457,12 @@ const lm = ({
3439
3457
  return r;
3440
3458
  }, {});
3441
3459
  return Yn(n);
3442
- }, { confirm: hm } = Rt, ar = ({
3460
+ }, { confirm: ym } = Rt, ar = ({
3443
3461
  onOk: t,
3444
3462
  onCancel: e,
3445
3463
  t: n
3446
3464
  }) => {
3447
- hm({
3465
+ ym({
3448
3466
  title: n("unsavedChanges"),
3449
3467
  icon: /* @__PURE__ */ i(oo, {}),
3450
3468
  centered: !0,
@@ -3598,9 +3616,9 @@ function Sl(t) {
3598
3616
  }
3599
3617
  );
3600
3618
  }
3601
- const { useToken: gm } = tt;
3619
+ const { useToken: vm } = tt;
3602
3620
  function Tl(t) {
3603
- const { badgeNumber: e = 0, ...n } = t, { token: r } = gm();
3621
+ const { badgeNumber: e = 0, ...n } = t, { token: r } = vm();
3604
3622
  return /* @__PURE__ */ B("div", { style: { position: "relative" }, children: [
3605
3623
  e > 0 && /* @__PURE__ */ i("div", { style: { position: "absolute", left: -10, top: -10, zIndex: 2 }, children: /* @__PURE__ */ i(
3606
3624
  "span",
@@ -3650,7 +3668,7 @@ async function Ds(t, e, n) {
3650
3668
  ] })
3651
3669
  );
3652
3670
  }
3653
- function ym(t) {
3671
+ function bm(t) {
3654
3672
  const { onSearch: e, disabled: n = !1, searchText: r } = t, { t: o } = Se(), [s] = _t.useForm(), [a, c] = F(!1), l = J(!1), d = J(r);
3655
3673
  function f(p) {
3656
3674
  const g = p.search;
@@ -3706,7 +3724,7 @@ function ym(t) {
3706
3724
  );
3707
3725
  }
3708
3726
  var At = /* @__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))(At || {});
3709
- const A0 = Object.values(At), Ut = Xt.createContext(null), vm = (t) => {
3727
+ const R0 = Object.values(At), Ut = Xt.createContext(null), wm = (t) => {
3710
3728
  const {
3711
3729
  children: e,
3712
3730
  openAction: n,
@@ -3749,7 +3767,7 @@ const A0 = Object.values(At), Ut = Xt.createContext(null), vm = (t) => {
3749
3767
  function Or() {
3750
3768
  return ge(Ut) || {};
3751
3769
  }
3752
- const { useToken: bm } = tt, wm = (t) => {
3770
+ const { useToken: xm } = tt, Cm = (t) => {
3753
3771
  var O, T;
3754
3772
  const {
3755
3773
  searchVisible: e,
@@ -3760,7 +3778,7 @@ const { useToken: bm } = tt, wm = (t) => {
3760
3778
  onApplySearch: a,
3761
3779
  onRefetchSavedSearches: c,
3762
3780
  onClearSavedSearch: l
3763
- } = t, { t: d } = Se(), { token: f } = bm(), u = J(null), m = ge(
3781
+ } = t, { t: d } = Se(), { token: f } = xm(), u = J(null), m = ge(
3764
3782
  Ut
3765
3783
  ), { openDefaultActionForModel: p } = m || {}, g = ge(
3766
3784
  Mt
@@ -3928,7 +3946,7 @@ const { useToken: bm } = tt, wm = (t) => {
3928
3946
  var e;
3929
3947
  for (let n = 0; n < t.length; n++)
3930
3948
  await ((e = t == null ? void 0 : t[n]) == null ? void 0 : e.call(t));
3931
- }, xm = (t, e) => {
3949
+ }, Sm = (t, e) => {
3932
3950
  const { children: n, globalValues: r = {} } = t, o = J(), s = J(), [a, c] = F(!1), l = ge(
3933
3951
  Ut
3934
3952
  ), { openAction: d } = l || {}, f = J([]), { t: u } = Se(), { showErrorNotification: m } = Ct(), p = yo(
@@ -4045,9 +4063,9 @@ const { useToken: bm } = tt, wm = (t) => {
4045
4063
  });
4046
4064
  if (L === Rn)
4047
4065
  return await S({ actionData: D, fields: k, values: I, context: O });
4048
- if (L === Lf)
4066
+ if (L === Hf)
4049
4067
  window.open(
4050
- Rf(D.url, { ...I, context: O }),
4068
+ _f(D.url, { ...I, context: O }),
4051
4069
  "_blank"
4052
4070
  );
4053
4071
  else
@@ -4103,7 +4121,7 @@ const { useToken: bm } = tt, wm = (t) => {
4103
4121
  actionData: T
4104
4122
  }), {};
4105
4123
  } else {
4106
- const { initialView: H, views: Y } = await Cm({
4124
+ const { initialView: H, views: Y } = await Tm({
4107
4125
  model: T.res_model,
4108
4126
  context: L,
4109
4127
  view_mode: T.view_mode,
@@ -4224,7 +4242,7 @@ const { useToken: bm } = tt, wm = (t) => {
4224
4242
  }
4225
4243
  ) });
4226
4244
  };
4227
- async function Cm({
4245
+ async function Tm({
4228
4246
  views: t,
4229
4247
  view_mode: e,
4230
4248
  model: n,
@@ -4273,7 +4291,7 @@ async function Cm({
4273
4291
  }
4274
4292
  return { views: s, initialView: a };
4275
4293
  }
4276
- const Sm = jt(xm), Fl = ({
4294
+ const Fm = jt(Sm), Fl = ({
4277
4295
  selectedRowItems: t,
4278
4296
  onRefreshParentValues: e,
4279
4297
  treeView: n,
@@ -4399,17 +4417,17 @@ const Sm = jt(xm), Fl = ({
4399
4417
  };
4400
4418
  }, wt = ut(() => /* @__PURE__ */ i("div", { className: "inline-block w-2" }));
4401
4419
  wt.displayName = "ActionBarSeparator";
4402
- const Tm = "action", Fm = ["active_id", "active_ids", "id"], Am = ["target", "context", "domain", "fields"], Il = (t) => {
4420
+ const Am = "action", Im = ["active_id", "active_ids", "id"], Rm = ["target", "context", "domain", "fields"], Il = (t) => {
4403
4421
  const e = new URL(window.location.origin);
4404
- e.pathname = Tm;
4422
+ e.pathname = Am;
4405
4423
  const n = {
4406
4424
  ...t,
4407
- actionRawData: (t == null ? void 0 : t.actionRawData) && Rm(t.actionRawData)
4425
+ actionRawData: (t == null ? void 0 : t.actionRawData) && Em(t.actionRawData)
4408
4426
  };
4409
4427
  return Object.entries(n).forEach(([r, o]) => {
4410
- !Am.includes(r) && o !== void 0 && (!Array.isArray(o) || o.length > 0) && e.searchParams.set(r, Im(o));
4428
+ !Rm.includes(r) && o !== void 0 && (!Array.isArray(o) || o.length > 0) && e.searchParams.set(r, _m(o));
4411
4429
  }), e.toString();
4412
- }, Im = (t) => typeof t == "object" ? JSON.stringify(t) : t.toString(), Rm = (t) => {
4430
+ }, _m = (t) => typeof t == "object" ? JSON.stringify(t) : t.toString(), Em = (t) => {
4413
4431
  const { context: e, domain: n, values: r } = t, o = {};
4414
4432
  if (e && (typeof e == "string" ? e !== "{}" && (o.context = e) : typeof e == "object" && Object.keys(e).length > 0 && (o.context = e)), n && (Array.isArray(n) ? n.length > 0 && (o.domain = n) : n !== "false" && (o.domain = n)), (o.domain || o.context) && r && typeof r == "object" && Object.keys(r).length > 0) {
4415
4433
  const s = Rl(r);
@@ -4417,8 +4435,8 @@ const Tm = "action", Fm = ["active_id", "active_ids", "id"], Am = ["target", "co
4417
4435
  }
4418
4436
  return Object.keys(o).length > 0 ? o : void 0;
4419
4437
  }, Rl = (t) => !t || typeof t != "object" ? {} : Object.fromEntries(
4420
- Object.entries(t).filter(([e]) => Fm.includes(e))
4421
- ), _m = $a("IconExternalLink"), Em = $a("IconShare2");
4438
+ Object.entries(t).filter(([e]) => Im.includes(e))
4439
+ ), Om = $a("IconExternalLink"), Dm = $a("IconShare2");
4422
4440
  function vo({ res_id: t, searchParams: e }) {
4423
4441
  const n = J(null), { currentView: r, limit: o, currentPage: s, order: a } = Vt(), c = {
4424
4442
  id: r.view_id,
@@ -4483,7 +4501,7 @@ function vo({ res_id: t, searchParams: e }) {
4483
4501
  {
4484
4502
  title: d("openInNewTab"),
4485
4503
  style: { height: 28 },
4486
- icon: /* @__PURE__ */ i(_m, { size: 18, color: l.colorTextSecondary }),
4504
+ icon: /* @__PURE__ */ i(Om, { size: 18, color: l.colorTextSecondary }),
4487
4505
  type: "text",
4488
4506
  onClick: () => window.open(y, "_blank", "noopener,noreferrer")
4489
4507
  }
@@ -4493,13 +4511,13 @@ function vo({ res_id: t, searchParams: e }) {
4493
4511
  kt,
4494
4512
  {
4495
4513
  style: { height: 28 },
4496
- icon: /* @__PURE__ */ i(Em, { size: 16, color: l.colorTextSecondary }),
4514
+ icon: /* @__PURE__ */ i(Dm, { size: 16, color: l.colorTextSecondary }),
4497
4515
  disabled: v,
4498
4516
  tooltip: d("share")
4499
4517
  }
4500
4518
  ) }) }) });
4501
4519
  }
4502
- function Om({
4520
+ function km({
4503
4521
  parentContext: t = {},
4504
4522
  treeExpandable: e,
4505
4523
  toolbar: n,
@@ -4704,7 +4722,7 @@ function Om({
4704
4722
  ] }),
4705
4723
  !e && /* @__PURE__ */ B(we, { children: [
4706
4724
  /* @__PURE__ */ i(
4707
- ym,
4725
+ bm,
4708
4726
  {
4709
4727
  disabled: m || u || S,
4710
4728
  searchText: _,
@@ -4712,7 +4730,7 @@ function Om({
4712
4730
  }
4713
4731
  ),
4714
4732
  z && O !== "legacy" ? /* @__PURE__ */ i(
4715
- wm,
4733
+ Cm,
4716
4734
  {
4717
4735
  context: t,
4718
4736
  searchVisible: !!x,
@@ -4824,7 +4842,7 @@ function Om({
4824
4842
  }
4825
4843
  ),
4826
4844
  /* @__PURE__ */ i(
4827
- fb,
4845
+ pb,
4828
4846
  {
4829
4847
  visible: P,
4830
4848
  onClose: () => H(!1),
@@ -4842,7 +4860,7 @@ function Om({
4842
4860
  /* @__PURE__ */ i(vo, { searchParams: v })
4843
4861
  ] });
4844
4862
  }
4845
- const Dm = ut(Om), _l = ut(() => /* @__PURE__ */ i(
4863
+ const Nm = ut(km), _l = ut(() => /* @__PURE__ */ i(
4846
4864
  wd,
4847
4865
  {
4848
4866
  component: () => /* @__PURE__ */ B(
@@ -4869,7 +4887,7 @@ const Dm = ut(Om), _l = ut(() => /* @__PURE__ */ i(
4869
4887
  }
4870
4888
  ));
4871
4889
  _l.displayName = "ExportIcon";
4872
- const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
4890
+ const { useToken: Mm } = tt, { Title: Pm, Text: Hr } = cn, bo = ({
4873
4891
  title: t,
4874
4892
  children: e,
4875
4893
  showSummary: n = !0,
@@ -4884,7 +4902,7 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
4884
4902
  totalItems: d,
4885
4903
  selectedRowItems: f,
4886
4904
  treeType: u
4887
- } = ge(Mt), { t: m } = Se(), { token: p } = km(), g = Q(() => {
4905
+ } = ge(Mt), { t: m } = Se(), { token: p } = Mm(), g = Q(() => {
4888
4906
  if (!n)
4889
4907
  return null;
4890
4908
  if ((s == null ? void 0 : s.type) === "form" && a) {
@@ -4966,7 +4984,7 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
4966
4984
  align: "middle",
4967
4985
  children: [
4968
4986
  /* @__PURE__ */ B($e, { flex: 2, children: [
4969
- /* @__PURE__ */ i(Nm, { level: 3, style: { marginBottom: 0 }, children: t || o }),
4987
+ /* @__PURE__ */ i(Pm, { level: 3, style: { marginBottom: 0 }, children: t || o }),
4970
4988
  r,
4971
4989
  g
4972
4990
  ] }),
@@ -5031,7 +5049,7 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
5031
5049
  };
5032
5050
  return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
5033
5051
  }, [t, ...n]), Q(() => r, [r]) - e;
5034
- }, Ol = (t) => t.model ? `columnState-${t.treeViewId ?? "tree"}-${t.model}` : void 0, Mm = (t) => {
5052
+ }, Ol = (t) => t.model ? `columnState-${t.treeViewId ?? "tree"}-${t.model}` : void 0, $m = (t) => {
5035
5053
  const e = ft(async () => {
5036
5054
  if (!t)
5037
5055
  return;
@@ -5044,7 +5062,7 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
5044
5062
  [t]
5045
5063
  );
5046
5064
  return { getColumnState: e, updateColumnState: n };
5047
- }, Pm = (t) => {
5065
+ }, Vm = (t) => {
5048
5066
  ce(() => () => {
5049
5067
  n(), o();
5050
5068
  }, []);
@@ -5078,16 +5096,16 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
5078
5096
  [t]
5079
5097
  );
5080
5098
  return { getColumnState: s, updateColumnState: a };
5081
- }, $m = (t) => {
5099
+ }, Lm = (t) => {
5082
5100
  const e = Kt(
5083
5101
  At.FEATURE_USERVIEWPREFS
5084
5102
  ), {
5085
5103
  getColumnState: n,
5086
5104
  updateColumnState: r
5087
- } = Mm(t), {
5105
+ } = $m(t), {
5088
5106
  getColumnState: o,
5089
5107
  updateColumnState: s
5090
- } = Pm(t), a = ft(async () => {
5108
+ } = Vm(t), a = ft(async () => {
5091
5109
  if (!e)
5092
5110
  return n();
5093
5111
  try {
@@ -5119,7 +5137,7 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
5119
5137
  const [n, r] = F(!0), o = J(void 0), s = J(!1), {
5120
5138
  getColumnState: a,
5121
5139
  updateColumnState: c
5122
- } = $m(t), l = A(async () => {
5140
+ } = Lm(t), l = A(async () => {
5123
5141
  if (!(s.current || e)) {
5124
5142
  s.current = !0, r(!0);
5125
5143
  try {
@@ -5151,7 +5169,7 @@ const { useToken: km } = tt, { Title: Nm, Text: Hr } = cn, bo = ({
5151
5169
  );
5152
5170
  return { getColumnState: d, loading: n, updateColumnState: f, fetchColumnState: l };
5153
5171
  };
5154
- function Vm(t) {
5172
+ function Hm(t) {
5155
5173
  if (t)
5156
5174
  try {
5157
5175
  if (t.includes(":")) {
@@ -5181,7 +5199,7 @@ function kl(t) {
5181
5199
  });
5182
5200
  return e = `${o}:${s}`, t < 0 && (e = "-" + e), e;
5183
5201
  }
5184
- const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl, {}) }), Nl = ({ value: t }) => {
5202
+ const Bm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl, {}) }), Nl = ({ value: t }) => {
5185
5203
  const e = J(0);
5186
5204
  t !== void 0 && (e.current = t);
5187
5205
  const n = t !== void 0 ? t : e.current, r = `${n.toLocaleString("en-US", {
@@ -5189,16 +5207,16 @@ const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl,
5189
5207
  maximumFractionDigits: 4,
5190
5208
  useGrouping: !1
5191
5209
  })}%`;
5192
- return /* @__PURE__ */ B(Hm, { children: [
5193
- /* @__PURE__ */ i(Bm, { percent: n }),
5194
- /* @__PURE__ */ i(jm, { children: r })
5210
+ return /* @__PURE__ */ B(jm, { children: [
5211
+ /* @__PURE__ */ i(Um, { percent: n }),
5212
+ /* @__PURE__ */ i(Wm, { children: r })
5195
5213
  ] });
5196
- }, Hm = Ot.div`
5214
+ }, jm = Ot.div`
5197
5215
  display: flex;
5198
5216
  align-items: center;
5199
5217
  width: 100%;
5200
5218
  min-width: 0;
5201
- `, Bm = Ot(va)`
5219
+ `, Um = Ot(va)`
5202
5220
  flex: 1;
5203
5221
  min-width: 0;
5204
5222
  .ant-progress-outer {
@@ -5208,10 +5226,10 @@ const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl,
5208
5226
  .ant-progress-text {
5209
5227
  display: none;
5210
5228
  }
5211
- `, jm = Ot.div`
5229
+ `, Wm = Ot.div`
5212
5230
  padding-left: 10px;
5213
5231
  white-space: nowrap;
5214
- `, Um = ({
5232
+ `, qm = ({
5215
5233
  onRetrieveData: t,
5216
5234
  onItemClick: e,
5217
5235
  onOpenChange: n
@@ -5333,7 +5351,7 @@ const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl,
5333
5351
  });
5334
5352
  s(k), S = k.fields, R = k.toolbar;
5335
5353
  }
5336
- const E = Wm({ fields: S, toolbar: R });
5354
+ const E = Gm({ fields: S, toolbar: R });
5337
5355
  let D = {};
5338
5356
  return E.length > 0 && (D = { ...(N = await b({
5339
5357
  model: n,
@@ -5399,7 +5417,7 @@ const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl,
5399
5417
  }
5400
5418
  }
5401
5419
  return /* @__PURE__ */ i(
5402
- Um,
5420
+ qm,
5403
5421
  {
5404
5422
  onRetrieveData: w,
5405
5423
  onItemClick: _,
@@ -5408,7 +5426,7 @@ const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl,
5408
5426
  }
5409
5427
  }
5410
5428
  );
5411
- }, Wm = ({
5429
+ }, Gm = ({
5412
5430
  fields: t,
5413
5431
  toolbar: e
5414
5432
  }) => {
@@ -5422,7 +5440,7 @@ const Lm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Nl,
5422
5440
  return [...new Set(r.filter((o) => o in t))];
5423
5441
  };
5424
5442
  var mn = /* @__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))(mn || {});
5425
- const I0 = Object.values(mn), qm = (t) => {
5443
+ const _0 = Object.values(mn), Ym = (t) => {
5426
5444
  const { m2oField: e, ooui: n } = t, r = In(
5427
5445
  mn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
5428
5446
  ), o = Q(() => {
@@ -5433,7 +5451,7 @@ const I0 = Object.values(mn), qm = (t) => {
5433
5451
  /* @__PURE__ */ i(we, { children: e.value }),
5434
5452
  o && /* @__PURE__ */ i(wr, { id: e.id, model: e.model })
5435
5453
  ] }) : /* @__PURE__ */ i(we, {});
5436
- }, Gm = (t) => {
5454
+ }, zm = (t) => {
5437
5455
  const { value: e, selectionValues: n } = t, r = In(
5438
5456
  mn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
5439
5457
  );
@@ -5445,7 +5463,7 @@ const I0 = Object.values(mn), qm = (t) => {
5445
5463
  /* @__PURE__ */ i(we, { children: a }),
5446
5464
  !r && /* @__PURE__ */ i(wr, { id: s, model: o })
5447
5465
  ] });
5448
- }, Ym = (t) => {
5466
+ }, Jm = (t) => {
5449
5467
  const { ooui: e, value: n } = t;
5450
5468
  if (!n)
5451
5469
  return null;
@@ -5454,16 +5472,16 @@ const I0 = Object.values(mn), qm = (t) => {
5454
5472
  const o = r.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), s = _r(r);
5455
5473
  return /* @__PURE__ */ i($t, { title: r, children: /* @__PURE__ */ i(ba, { alt: r, style: { backgroundColor: s }, children: o }) });
5456
5474
  };
5457
- function zm(t) {
5475
+ function Km(t) {
5458
5476
  return t.length === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1);
5459
5477
  }
5460
- const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml, { ...t }) }), Ml = (t) => {
5478
+ const Xm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml, { ...t }) }), Ml = (t) => {
5461
5479
  var p;
5462
5480
  const { t: e } = Se(), [n, r] = Ie(
5463
5481
  j.getHandler().readObjects
5464
5482
  ), { getFieldValue: o } = ge(Qe) || {}, { ooui: s, value: a } = t, [c, l] = F("default");
5465
5483
  let d = a, f = _r, u = a;
5466
- s.selectionValues.size ? d = s.selectionValues.get(a) : Array.isArray(a) ? (u = a[0], d = a[1]) : s.fieldType === "boolean" && (d = a ? zm(s.label) : `${e("not")} ${s.label.toLowerCase()}`, f = If);
5484
+ s.selectionValues.size ? d = s.selectionValues.get(a) : Array.isArray(a) ? (u = a[0], d = a[1]) : s.fieldType === "boolean" && (d = a ? Km(s.label) : `${e("not")} ${s.label.toLowerCase()}`, f = Rf);
5467
5485
  const m = A(async () => {
5468
5486
  var g, h;
5469
5487
  if (s.colorField)
@@ -5528,7 +5546,7 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5528
5546
  },
5529
5547
  o
5530
5548
  )) });
5531
- }, Km = ({
5549
+ }, Qm = ({
5532
5550
  value: t = "",
5533
5551
  onChange: e,
5534
5552
  maxLength: n,
@@ -5620,7 +5638,7 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5620
5638
  );
5621
5639
  }, xn = Xt.createContext(
5622
5640
  null
5623
- ), Xm = ({
5641
+ ), Zm = ({
5624
5642
  children: t,
5625
5643
  initialView: e
5626
5644
  }) => {
@@ -5641,7 +5659,7 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5641
5659
  children: t
5642
5660
  }
5643
5661
  );
5644
- }, $l = () => ge(xn), Qm = ({
5662
+ }, $l = () => ge(xn), ep = ({
5645
5663
  value: t
5646
5664
  }) => Q(
5647
5665
  () => /* @__PURE__ */ i(
@@ -5657,15 +5675,15 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5657
5675
  }
5658
5676
  ),
5659
5677
  [t]
5660
- ), Zm = ({
5678
+ ), tp = ({
5661
5679
  value: t
5662
- }) => Q(() => /* @__PURE__ */ i(Pl, { emails: t }), [t]), ep = ({
5680
+ }) => Q(() => /* @__PURE__ */ i(Pl, { emails: t }), [t]), np = ({
5663
5681
  value: t,
5664
5682
  ooui: e
5665
5683
  }) => Q(
5666
- () => /* @__PURE__ */ i(qm, { m2oField: t, ooui: e }),
5684
+ () => /* @__PURE__ */ i(Ym, { m2oField: t, ooui: e }),
5667
5685
  [t, e]
5668
- ), tp = ({ value: t }) => {
5686
+ ), rp = ({ value: t }) => {
5669
5687
  const { treeType: e } = Vt(), { treeType: n } = $l() || {}, r = (n || e) === "infinite";
5670
5688
  return Q(() => {
5671
5689
  const o = /* @__PURE__ */ i(
@@ -5711,10 +5729,10 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5711
5729
  }
5712
5730
  ) : o;
5713
5731
  }, [t, r]);
5714
- }, np = ({ value: t }) => /* @__PURE__ */ i(qd, { value: t }), rp = ({
5732
+ }, op = ({ value: t }) => /* @__PURE__ */ i(qd, { value: t }), sp = ({
5715
5733
  value: t,
5716
5734
  ooui: e
5717
- }) => Q(() => t ? e.fieldType === "many2one" ? /* @__PURE__ */ i(we, { children: t[1] }) : /* @__PURE__ */ i(we, { children: t }) : /* @__PURE__ */ i(we, {}), [t, e.fieldType]), op = ({
5735
+ }) => Q(() => t ? e.fieldType === "many2one" ? /* @__PURE__ */ i(we, { children: t[1] }) : /* @__PURE__ */ i(we, { children: t }) : /* @__PURE__ */ i(we, {}), [t, e.fieldType]), ip = ({
5718
5736
  value: t,
5719
5737
  ooui: e
5720
5738
  }) => /* @__PURE__ */ i(Gd, { value: t, timezone: e.timezone }), Ci = ({
@@ -5722,41 +5740,41 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5722
5740
  }) => Q(() => {
5723
5741
  const e = Array.isArray(t == null ? void 0 : t.items) ? t == null ? void 0 : t.items.length : 0;
5724
5742
  return /* @__PURE__ */ i(we, { children: `( ${e} )` });
5725
- }, [t]), sp = ({
5743
+ }, [t]), ap = ({
5726
5744
  value: t
5727
- }) => Q(() => /* @__PURE__ */ i(Nl, { value: t }), [t]), ip = ({ value: t }) => Q(() => /* @__PURE__ */ i(we, { children: kl(t) }), [t]), Si = ({ value: t }) => Q(
5745
+ }) => Q(() => /* @__PURE__ */ i(Nl, { value: t }), [t]), lp = ({ value: t }) => Q(() => /* @__PURE__ */ i(we, { children: kl(t) }), [t]), Si = ({ value: t }) => Q(
5728
5746
  () => /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: t }),
5729
5747
  [t]
5730
- ), ap = ({ value: t }) => Q(
5748
+ ), cp = ({ value: t }) => Q(
5731
5749
  () => /* @__PURE__ */ i(Rs, { value: t, style: { maxHeight: "30px" } }),
5732
5750
  [t]
5733
- ), lp = ({
5751
+ ), dp = ({
5734
5752
  value: t,
5735
5753
  ooui: e
5736
5754
  }) => Q(
5737
5755
  () => /* @__PURE__ */ i(wa, { value: t, disabled: !0, showText: !0 }),
5738
5756
  // eslint-disable-next-line react-hooks/exhaustive-deps
5739
5757
  [e, t]
5740
- ), cp = ({
5758
+ ), up = ({
5741
5759
  value: t,
5742
5760
  ooui: e
5743
- }) => Q(() => /* @__PURE__ */ i(Ml, { ooui: e, value: t }), [e, t]), dp = ({
5761
+ }) => Q(() => /* @__PURE__ */ i(Ml, { ooui: e, value: t }), [e, t]), fp = ({
5744
5762
  value: t,
5745
5763
  ooui: e
5746
5764
  }) => Q(() => {
5747
5765
  let n = t;
5748
5766
  return Array.isArray(t) && t.length === 2 && (n = t[0]), /* @__PURE__ */ i(we, { children: e.selectionValues.get(n) });
5749
- }, [e, t]), up = ({
5767
+ }, [e, t]), mp = ({
5750
5768
  value: t,
5751
5769
  ooui: e,
5752
5770
  context: n
5753
5771
  }) => Q(
5754
- () => /* @__PURE__ */ i(Gm, { value: t, selectionValues: e.selectionValues }),
5772
+ () => /* @__PURE__ */ i(zm, { value: t, selectionValues: e.selectionValues }),
5755
5773
  [n, e.selectionValues, t]
5756
- ), fp = ({
5774
+ ), pp = ({
5757
5775
  value: t,
5758
5776
  ooui: e
5759
- }) => Q(() => /* @__PURE__ */ i(Ym, { ooui: e, value: t }), [e, t]), mp = ({
5777
+ }) => Q(() => /* @__PURE__ */ i(Jm, { ooui: e, value: t }), [e, t]), hp = ({
5760
5778
  value: t,
5761
5779
  ooui: e,
5762
5780
  context: n
@@ -5786,28 +5804,28 @@ const Jm = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Ml,
5786
5804
  [o]
5787
5805
  );
5788
5806
  }, Ms = {
5789
- boolean: Qm,
5790
- many2one: ep,
5791
- text: tp,
5807
+ boolean: ep,
5808
+ many2one: np,
5809
+ text: rp,
5792
5810
  one2many: Ci,
5793
5811
  many2many: Ci,
5794
- progressbar: sp,
5795
- float_time: ip,
5796
- image: ap,
5812
+ progressbar: ap,
5813
+ float_time: lp,
5814
+ image: cp,
5797
5815
  integer: Si,
5798
5816
  float: Si,
5799
- reference: up,
5800
- tag: cp,
5801
- selection: dp,
5802
- date: np,
5803
- datetime: op,
5804
- avatar: fp,
5805
- tags: mp,
5806
- email: Zm,
5807
- colorPicker: lp,
5808
- char: rp
5817
+ reference: mp,
5818
+ tag: up,
5819
+ selection: fp,
5820
+ date: op,
5821
+ datetime: ip,
5822
+ avatar: pp,
5823
+ tags: hp,
5824
+ email: tp,
5825
+ colorPicker: dp,
5826
+ char: sp
5809
5827
  };
5810
- function pp({
5828
+ function gp({
5811
5829
  tableRef: t
5812
5830
  } = {}) {
5813
5831
  const e = J({}), n = J({}), r = A(() => {
@@ -5861,7 +5879,7 @@ const xr = ({
5861
5879
  statusForResults: c,
5862
5880
  updateAttributes: l,
5863
5881
  clearAttributes: d
5864
- } = pp({
5882
+ } = gp({
5865
5883
  tableRef: o
5866
5884
  }), f = Kt(
5867
5885
  At.FEATURE_MANY2ONE_SORT
@@ -6048,7 +6066,7 @@ const xr = ({
6048
6066
  hasAggregates: l,
6049
6067
  isLoading: a
6050
6068
  };
6051
- }, hp = ({
6069
+ }, yp = ({
6052
6070
  selectedRowItems: t = [],
6053
6071
  setSelectedRowItems: e,
6054
6072
  onChangeSelectedRowKeys: n,
@@ -6116,7 +6134,7 @@ const xr = ({
6116
6134
  className: e
6117
6135
  }
6118
6136
  ) });
6119
- }, gp = {
6137
+ }, vp = {
6120
6138
  format: "HH:mm:ss",
6121
6139
  displayFormat: "HH:mm:ss",
6122
6140
  placeholder: "__:__:__"
@@ -6126,7 +6144,7 @@ const xr = ({
6126
6144
  hours: Do("HH"),
6127
6145
  hoursMinutes: Do("HH:mm"),
6128
6146
  hoursMinutesSeconds: Do("HH:mm:ss")
6129
- }, yp = (t) => !t || t.trim() === "" ? !0 : mr.hours.test(t) || mr.hoursMinutes.test(t), vp = (t, e, n = !1) => {
6147
+ }, bp = (t) => !t || t.trim() === "" ? !0 : mr.hours.test(t) || mr.hoursMinutes.test(t), wp = (t, e, n = !1) => {
6130
6148
  if (!t || t.trim() === "") {
6131
6149
  const r = e.format("HH"), o = e.format("mm"), s = e.format("ss");
6132
6150
  return `${r}:${o}:${s}`;
@@ -6140,7 +6158,7 @@ const xr = ({
6140
6158
  return `${t}:${r}`;
6141
6159
  }
6142
6160
  return mr.hoursMinutesSeconds.test(t) ? t : null;
6143
- }, bp = ({
6161
+ }, xp = ({
6144
6162
  value: t,
6145
6163
  onChange: e,
6146
6164
  autocompleteWithZeros: n = !1
@@ -6149,10 +6167,10 @@ const xr = ({
6149
6167
  (s) => {
6150
6168
  if (s.key === "Enter") {
6151
6169
  const c = s.target.value;
6152
- if (!yp(c))
6170
+ if (!bp(c))
6153
6171
  return;
6154
6172
  s.preventDefault();
6155
- const l = vp(
6173
+ const l = wp(
6156
6174
  c,
6157
6175
  mt(),
6158
6176
  n
@@ -6201,7 +6219,7 @@ const xr = ({
6201
6219
  e == null || e(u, m);
6202
6220
  },
6203
6221
  [e]
6204
- ), { handleKeyDown: d, handleBlur: f } = bp({
6222
+ ), { handleKeyDown: d, handleBlur: f } = xp({
6205
6223
  value: t,
6206
6224
  onChange: e,
6207
6225
  autocompleteWithZeros: r !== void 0
@@ -6219,10 +6237,10 @@ const xr = ({
6219
6237
  onSelect: c,
6220
6238
  onBlur: (u) => f(u),
6221
6239
  onKeyDown: (u) => d(u),
6222
- format: gp.displayFormat
6240
+ format: vp.displayFormat
6223
6241
  }
6224
6242
  );
6225
- }, wp = (t) => {
6243
+ }, Cp = (t) => {
6226
6244
  const { ooui: e, showLabel: n = !1 } = t, { label: r, id: o } = e, s = [
6227
6245
  new Jo({
6228
6246
  name: o + "#date",
@@ -6248,10 +6266,10 @@ const xr = ({
6248
6266
  ),
6249
6267
  /* @__PURE__ */ B("div", { className: "flex flex-col gap-2 w-full", children: [
6250
6268
  /* @__PURE__ */ i(Ke, { className: "w-full", children: /* @__PURE__ */ i($e, { span: 24, children: /* @__PURE__ */ i(Ll, { ...t, ooui: s[0], showLabel: !1 }) }) }),
6251
- /* @__PURE__ */ i(Ke, { className: "w-full", children: /* @__PURE__ */ i($e, { span: 24, children: /* @__PURE__ */ i(qe, { ...t, ooui: s[1], showLabel: !1, children: /* @__PURE__ */ i(xp, {}) }) }) })
6269
+ /* @__PURE__ */ i(Ke, { className: "w-full", children: /* @__PURE__ */ i($e, { span: 24, children: /* @__PURE__ */ i(qe, { ...t, ooui: s[1], showLabel: !1, children: /* @__PURE__ */ i(Sp, {}) }) }) })
6252
6270
  ] })
6253
6271
  ] });
6254
- }, xp = ({
6272
+ }, Sp = ({
6255
6273
  value: t,
6256
6274
  onChange: e
6257
6275
  }) => {
@@ -6287,9 +6305,9 @@ const xr = ({
6287
6305
  }
6288
6306
  ) })
6289
6307
  ] });
6290
- }, { defaultAlgorithm: Cp, defaultSeed: Sp } = tt, Tp = Cp(Sp), Ls = ut((t) => {
6308
+ }, { defaultAlgorithm: Tp, defaultSeed: Fp } = tt, Ap = Tp(Fp), Ls = ut((t) => {
6291
6309
  const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: s } = e, a = ge(Qe), { elementHasLostFocus: c } = a || {}, l = Q(() => s && !o, [s, o]), d = Q(
6292
- () => l ? Fp : no,
6310
+ () => l ? Ip : no,
6293
6311
  [l]
6294
6312
  ), f = A((m) => m ? /* @__PURE__ */ i(ho, { content: m }) : null, []), u = A((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
6295
6313
  return /* @__PURE__ */ i(qe, { required: l, type: "number", ...t, children: /* @__PURE__ */ i(
@@ -6309,13 +6327,13 @@ const xr = ({
6309
6327
  ) });
6310
6328
  });
6311
6329
  Ls.displayName = "Float";
6312
- const Fp = Ot(no)`
6330
+ const Ip = Ot(no)`
6313
6331
  &.ant-input-number {
6314
- background-color: ${Tp.colorPrimaryBg};
6332
+ background-color: ${Ap.colorPrimaryBg};
6315
6333
  }
6316
- `, { useToken: Ap } = tt, { defaultAlgorithm: Ip, defaultSeed: Rp } = tt, _p = Ip(Rp), Cr = ut((t) => {
6317
- const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: s } = e, { token: a } = Ap(), c = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, l = ge(Qe), { elementHasLostFocus: d } = l || {}, f = Q(() => s && !o, [s, o]), u = Q(
6318
- () => f ? Ep : no,
6334
+ `, { useToken: Rp } = tt, { defaultAlgorithm: _p, defaultSeed: Ep } = tt, Op = _p(Ep), Cr = ut((t) => {
6335
+ const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: s } = e, { token: a } = Rp(), c = s && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, l = ge(Qe), { elementHasLostFocus: d } = l || {}, f = Q(() => s && !o, [s, o]), u = Q(
6336
+ () => f ? Dp : no,
6319
6337
  [f]
6320
6338
  ), m = A((h) => h ? /* @__PURE__ */ i(ho, { 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(
6321
6339
  (h) => {
@@ -6342,12 +6360,12 @@ const Fp = Ot(no)`
6342
6360
  ) });
6343
6361
  });
6344
6362
  Cr.displayName = "Integer";
6345
- const Ep = Ot(no)`
6363
+ const Dp = Ot(no)`
6346
6364
  &.ant-input-number {
6347
- background-color: ${_p.colorPrimaryBg};
6365
+ background-color: ${Op.colorPrimaryBg};
6348
6366
  }
6349
6367
  `;
6350
- function Op(t) {
6368
+ function kp(t) {
6351
6369
  const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: s } = e, a = e instanceof Ko ? Cr : Ls, c = (l) => /* @__PURE__ */ i(
6352
6370
  a,
6353
6371
  {
@@ -6389,17 +6407,17 @@ function Op(t) {
6389
6407
  )
6390
6408
  ] });
6391
6409
  }
6392
- const { defaultAlgorithm: Dp, defaultSeed: kp } = tt, Np = Dp(kp), { Option: Mp } = En, Pp = (t) => {
6410
+ const { defaultAlgorithm: Np, defaultSeed: Mp } = tt, Pp = Np(Mp), { Option: $p } = En, Vp = (t) => {
6393
6411
  const { ooui: e } = t, { required: n } = e;
6394
- return /* @__PURE__ */ i(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ i($p, { ...t }) });
6395
- }, $p = (t) => {
6412
+ return /* @__PURE__ */ i(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(Lp, { ...t }) });
6413
+ }, Lp = (t) => {
6396
6414
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: s, required: a } = e, c = Array.from(o.entries()), l = c && c.length && c.filter((u) => {
6397
6415
  const [m] = u;
6398
6416
  return r ? !r.includes(m) : !0;
6399
6417
  }).map((u) => {
6400
6418
  const [m, p] = u;
6401
- return /* @__PURE__ */ i(Mp, { value: p, children: p }, m);
6402
- }), d = a && !s ? Vp : En;
6419
+ return /* @__PURE__ */ i($p, { value: p, children: p }, m);
6420
+ }), d = a && !s ? Hp : En;
6403
6421
  function f(u) {
6404
6422
  const m = u.map((p) => {
6405
6423
  const g = c.find(([, h]) => p === h);
@@ -6421,9 +6439,9 @@ const { defaultAlgorithm: Dp, defaultSeed: kp } = tt, Np = Dp(kp), { Option: Mp
6421
6439
  children: l
6422
6440
  }
6423
6441
  );
6424
- }, Vp = Ot(En)`
6442
+ }, Hp = Ot(En)`
6425
6443
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
6426
- background-color: ${Np.colorPrimaryBg};
6444
+ background-color: ${Pp.colorPrimaryBg};
6427
6445
  }
6428
6446
  `;
6429
6447
  function Hl(t) {
@@ -6446,13 +6464,13 @@ function Hl(t) {
6446
6464
  case vn.progressbar:
6447
6465
  case vn.float_time:
6448
6466
  case vn.integer:
6449
- return /* @__PURE__ */ i(Op, { ooui: e, showLabel: !0 });
6467
+ return /* @__PURE__ */ i(kp, { ooui: e, showLabel: !0 });
6450
6468
  case vn.date:
6451
6469
  return /* @__PURE__ */ i(Ll, { ooui: e, layout: "vertical", showLabel: !0 });
6452
6470
  case vn.datetime:
6453
- return /* @__PURE__ */ i(wp, { ooui: e, layout: "vertical", showLabel: !0 });
6471
+ return /* @__PURE__ */ i(Cp, { ooui: e, layout: "vertical", showLabel: !0 });
6454
6472
  case vn.selection:
6455
- return /* @__PURE__ */ i(Pp, { layout: "vertical", ooui: e, showLabel: !0 });
6473
+ return /* @__PURE__ */ i(Vp, { layout: "vertical", ooui: e, showLabel: !0 });
6456
6474
  default:
6457
6475
  return /* @__PURE__ */ i(
6458
6476
  Ya,
@@ -6465,7 +6483,7 @@ function Hl(t) {
6465
6483
  );
6466
6484
  }
6467
6485
  }
6468
- const { useToken: Lp } = tt, { Title: Hp } = cn, { Header: Bp, Content: jp, Footer: Up } = xa, Wp = ({
6486
+ const { useToken: Bp } = tt, { Title: jp } = cn, { Header: Up, Content: Wp, Footer: qp } = xa, Gp = ({
6469
6487
  isOpen: t,
6470
6488
  onClose: e,
6471
6489
  children: n,
@@ -6473,7 +6491,7 @@ const { useToken: Lp } = tt, { Title: Hp } = cn, { Header: Bp, Content: jp, Foot
6473
6491
  footer: o,
6474
6492
  headerButtons: s
6475
6493
  }) => {
6476
- const [a, c] = F(t), [l, d] = F(!1), f = J(null), { token: u } = Lp(), m = A(
6494
+ const [a, c] = F(t), [l, d] = F(!1), f = J(null), { token: u } = Bp(), m = A(
6477
6495
  (y) => {
6478
6496
  y.preventDefault(), y.stopPropagation(), e();
6479
6497
  },
@@ -6568,8 +6586,8 @@ const { useToken: Lp } = tt, { Title: Hp } = cn, { Header: Bp, Content: jp, Foot
6568
6586
  flexDirection: "column"
6569
6587
  },
6570
6588
  children: [
6571
- /* @__PURE__ */ B(Bp, { style: h, children: [
6572
- /* @__PURE__ */ i(Hp, { level: 3, style: { margin: 0, flex: 1 }, children: r }),
6589
+ /* @__PURE__ */ B(Up, { style: h, children: [
6590
+ /* @__PURE__ */ i(jp, { level: 3, style: { margin: 0, flex: 1 }, children: r }),
6573
6591
  s && /* @__PURE__ */ i(
6574
6592
  "div",
6575
6593
  {
@@ -6592,7 +6610,7 @@ const { useToken: Lp } = tt, { Title: Hp } = cn, { Header: Bp, Content: jp, Foot
6592
6610
  )
6593
6611
  ] }),
6594
6612
  /* @__PURE__ */ i(
6595
- jp,
6613
+ Wp,
6596
6614
  {
6597
6615
  style: {
6598
6616
  flex: 1,
@@ -6602,7 +6620,7 @@ const { useToken: Lp } = tt, { Title: Hp } = cn, { Header: Bp, Content: jp, Foot
6602
6620
  }
6603
6621
  ),
6604
6622
  o && /* @__PURE__ */ i(
6605
- Up,
6623
+ qp,
6606
6624
  {
6607
6625
  style: {
6608
6626
  ...h,
@@ -6624,7 +6642,7 @@ var Fi = Object.prototype.toString, Bl = function(e) {
6624
6642
  var n = Fi.call(e), r = n === "[object Arguments]";
6625
6643
  return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Fi.call(e.callee) === "[object Function]"), r;
6626
6644
  }, ko, Ai;
6627
- function qp() {
6645
+ function Yp() {
6628
6646
  if (Ai)
6629
6647
  return ko;
6630
6648
  Ai = 1;
@@ -6712,9 +6730,9 @@ function qp() {
6712
6730
  }
6713
6731
  return ko = t, ko;
6714
6732
  }
6715
- var Gp = Array.prototype.slice, Yp = Bl, Ii = Object.keys, Br = Ii ? function(e) {
6733
+ var zp = Array.prototype.slice, Jp = Bl, Ii = Object.keys, Br = Ii ? function(e) {
6716
6734
  return Ii(e);
6717
- } : qp(), Ri = Object.keys;
6735
+ } : Yp(), Ri = Object.keys;
6718
6736
  Br.shim = function() {
6719
6737
  if (Object.keys) {
6720
6738
  var e = function() {
@@ -6722,7 +6740,7 @@ Br.shim = function() {
6722
6740
  return n && n.length === arguments.length;
6723
6741
  }(1, 2);
6724
6742
  e || (Object.keys = function(r) {
6725
- return Yp(r) ? Ri(Gp.call(r)) : Ri(r);
6743
+ return Jp(r) ? Ri(zp.call(r)) : Ri(r);
6726
6744
  });
6727
6745
  } else
6728
6746
  Object.keys = Br;
@@ -6754,13 +6772,13 @@ var jl = Br, Ul = function() {
6754
6772
  return !1;
6755
6773
  }
6756
6774
  return !0;
6757
- }, zp = Ul, Hs = function() {
6758
- return zp() && !!Symbol.toStringTag;
6759
- }, Wl = Object, Jp = Error, Kp = EvalError, Xp = RangeError, Qp = ReferenceError, Zp = SyntaxError, ql = TypeError, eh = URIError, th = Math.abs, nh = Math.floor, rh = Math.max, oh = Math.min, sh = Math.pow, ih = Math.round, ah = Number.isNaN || function(e) {
6775
+ }, Kp = Ul, Hs = function() {
6776
+ return Kp() && !!Symbol.toStringTag;
6777
+ }, Wl = Object, Xp = Error, Qp = EvalError, Zp = RangeError, eh = ReferenceError, th = SyntaxError, ql = TypeError, nh = URIError, rh = Math.abs, oh = Math.floor, sh = Math.max, ih = Math.min, ah = Math.pow, lh = Math.round, ch = Number.isNaN || function(e) {
6760
6778
  return e !== e;
6761
- }, lh = ah, ch = function(e) {
6762
- return lh(e) || e === 0 ? e : e < 0 ? -1 : 1;
6763
- }, dh = Object.getOwnPropertyDescriptor, jr = dh;
6779
+ }, dh = ch, uh = function(e) {
6780
+ return dh(e) || e === 0 ? e : e < 0 ? -1 : 1;
6781
+ }, fh = Object.getOwnPropertyDescriptor, jr = fh;
6764
6782
  if (jr)
6765
6783
  try {
6766
6784
  jr([], "length");
@@ -6774,8 +6792,8 @@ if (Ur)
6774
6792
  } catch {
6775
6793
  Ur = !1;
6776
6794
  }
6777
- var uh = Ur, No, _i;
6778
- function fh() {
6795
+ var mh = Ur, No, _i;
6796
+ function ph() {
6779
6797
  if (_i)
6780
6798
  return No;
6781
6799
  _i = 1;
@@ -6796,25 +6814,25 @@ function Yl() {
6796
6814
  var t = Wl;
6797
6815
  return Po = t.getPrototypeOf || null, Po;
6798
6816
  }
6799
- var mh = "Function.prototype.bind called on incompatible ", ph = Object.prototype.toString, hh = Math.max, gh = "[object Function]", Di = function(e, n) {
6817
+ var hh = "Function.prototype.bind called on incompatible ", gh = Object.prototype.toString, yh = Math.max, vh = "[object Function]", Di = function(e, n) {
6800
6818
  for (var r = [], o = 0; o < e.length; o += 1)
6801
6819
  r[o] = e[o];
6802
6820
  for (var s = 0; s < n.length; s += 1)
6803
6821
  r[s + e.length] = n[s];
6804
6822
  return r;
6805
- }, yh = function(e, n) {
6823
+ }, bh = function(e, n) {
6806
6824
  for (var r = [], o = n || 0, s = 0; o < e.length; o += 1, s += 1)
6807
6825
  r[s] = e[o];
6808
6826
  return r;
6809
- }, vh = function(t, e) {
6827
+ }, wh = function(t, e) {
6810
6828
  for (var n = "", r = 0; r < t.length; r += 1)
6811
6829
  n += t[r], r + 1 < t.length && (n += e);
6812
6830
  return n;
6813
- }, bh = function(e) {
6831
+ }, xh = function(e) {
6814
6832
  var n = this;
6815
- if (typeof n != "function" || ph.apply(n) !== gh)
6816
- throw new TypeError(mh + n);
6817
- for (var r = yh(arguments, 1), o, s = function() {
6833
+ if (typeof n != "function" || gh.apply(n) !== vh)
6834
+ throw new TypeError(hh + n);
6835
+ for (var r = bh(arguments, 1), o, s = function() {
6818
6836
  if (this instanceof o) {
6819
6837
  var f = n.apply(
6820
6838
  this,
@@ -6826,15 +6844,15 @@ var mh = "Function.prototype.bind called on incompatible ", ph = Object.prototyp
6826
6844
  e,
6827
6845
  Di(r, arguments)
6828
6846
  );
6829
- }, a = hh(0, n.length - r.length), c = [], l = 0; l < a; l++)
6847
+ }, a = yh(0, n.length - r.length), c = [], l = 0; l < a; l++)
6830
6848
  c[l] = "$" + l;
6831
- if (o = Function("binder", "return function (" + vh(c, ",") + "){ return binder.apply(this,arguments); }")(s), n.prototype) {
6849
+ if (o = Function("binder", "return function (" + wh(c, ",") + "){ return binder.apply(this,arguments); }")(s), n.prototype) {
6832
6850
  var d = function() {
6833
6851
  };
6834
6852
  d.prototype = n.prototype, o.prototype = new d(), d.prototype = null;
6835
6853
  }
6836
6854
  return o;
6837
- }, wh = bh, Dr = Function.prototype.bind || wh, $o, ki;
6855
+ }, Ch = xh, Dr = Function.prototype.bind || Ch, $o, ki;
6838
6856
  function js() {
6839
6857
  return ki || (ki = 1, $o = Function.prototype.call), $o;
6840
6858
  }
@@ -6843,23 +6861,23 @@ function zl() {
6843
6861
  return Ni || (Ni = 1, Vo = Function.prototype.apply), Vo;
6844
6862
  }
6845
6863
  var Lo, Mi;
6846
- function xh() {
6864
+ function Sh() {
6847
6865
  return Mi || (Mi = 1, Lo = typeof Reflect < "u" && Reflect && Reflect.apply), Lo;
6848
6866
  }
6849
6867
  var Ho, Pi;
6850
- function Ch() {
6868
+ function Th() {
6851
6869
  if (Pi)
6852
6870
  return Ho;
6853
6871
  Pi = 1;
6854
- var t = Dr, e = zl(), n = js(), r = xh();
6872
+ var t = Dr, e = zl(), n = js(), r = Sh();
6855
6873
  return Ho = r || t.call(n, e), Ho;
6856
6874
  }
6857
6875
  var Bo, $i;
6858
- function Sh() {
6876
+ function Fh() {
6859
6877
  if ($i)
6860
6878
  return Bo;
6861
6879
  $i = 1;
6862
- var t = Dr, e = ql, n = js(), r = Ch();
6880
+ var t = Dr, e = ql, n = js(), r = Th();
6863
6881
  return Bo = function(s) {
6864
6882
  if (s.length < 1 || typeof s[0] != "function")
6865
6883
  throw new e("a function is required");
@@ -6867,11 +6885,11 @@ function Sh() {
6867
6885
  }, Bo;
6868
6886
  }
6869
6887
  var jo, Vi;
6870
- function Th() {
6888
+ function Ah() {
6871
6889
  if (Vi)
6872
6890
  return jo;
6873
6891
  Vi = 1;
6874
- var t = Sh(), e = Bs, n;
6892
+ var t = Fh(), e = Bs, n;
6875
6893
  try {
6876
6894
  n = /** @type {{ __proto__?: typeof Array.prototype }} */
6877
6895
  [].__proto__ === Array.prototype;
@@ -6892,11 +6910,11 @@ function Th() {
6892
6910
  ) : !1, jo;
6893
6911
  }
6894
6912
  var Uo, Li;
6895
- function Fh() {
6913
+ function Ih() {
6896
6914
  if (Li)
6897
6915
  return Uo;
6898
6916
  Li = 1;
6899
- var t = Gl(), e = Yl(), n = Th();
6917
+ var t = Gl(), e = Yl(), n = Ah();
6900
6918
  return Uo = t ? function(o) {
6901
6919
  return t(o);
6902
6920
  } : e ? function(o) {
@@ -6908,21 +6926,21 @@ function Fh() {
6908
6926
  } : null, Uo;
6909
6927
  }
6910
6928
  var Wo, Hi;
6911
- function Ah() {
6929
+ function Rh() {
6912
6930
  if (Hi)
6913
6931
  return Wo;
6914
6932
  Hi = 1;
6915
6933
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Dr;
6916
6934
  return Wo = n.call(t, e), Wo;
6917
6935
  }
6918
- var Je, Ih = Wl, Rh = Jp, _h = Kp, Eh = Xp, Oh = Qp, tr = Zp, zn = ql, Dh = eh, kh = th, Nh = nh, Mh = rh, Ph = oh, $h = sh, Vh = ih, Lh = ch, Jl = Function, qo = function(t) {
6936
+ var Je, _h = Wl, Eh = Xp, Oh = Qp, Dh = Zp, kh = eh, tr = th, zn = ql, Nh = nh, Mh = rh, Ph = oh, $h = sh, Vh = ih, Lh = ah, Hh = lh, Bh = uh, Jl = Function, qo = function(t) {
6919
6937
  try {
6920
6938
  return Jl('"use strict"; return (' + t + ").constructor;")();
6921
6939
  } catch {
6922
6940
  }
6923
- }, Sr = Bs, Hh = uh, Go = function() {
6941
+ }, Sr = Bs, jh = mh, Go = function() {
6924
6942
  throw new zn();
6925
- }, Bh = Sr ? function() {
6943
+ }, Uh = Sr ? function() {
6926
6944
  try {
6927
6945
  return arguments.callee, Go;
6928
6946
  } catch {
@@ -6932,7 +6950,7 @@ var Je, Ih = Wl, Rh = Jp, _h = Kp, Eh = Xp, Oh = Qp, tr = Zp, zn = ql, Dh = eh,
6932
6950
  return Go;
6933
6951
  }
6934
6952
  }
6935
- }() : Go, Hn = fh()(), Tt = Fh(), jh = Yl(), Uh = Gl(), Kl = zl(), kr = js(), Un = {}, Wh = typeof Uint8Array > "u" || !Tt ? Je : Tt(Uint8Array), An = {
6953
+ }() : Go, Hn = ph()(), Tt = Ih(), Wh = Yl(), qh = Gl(), Kl = zl(), kr = js(), Un = {}, Gh = typeof Uint8Array > "u" || !Tt ? Je : Tt(Uint8Array), An = {
6936
6954
  __proto__: null,
6937
6955
  "%AggregateError%": typeof AggregateError > "u" ? Je : AggregateError,
6938
6956
  "%Array%": Array,
@@ -6954,10 +6972,10 @@ var Je, Ih = Wl, Rh = Jp, _h = Kp, Eh = Xp, Oh = Qp, tr = Zp, zn = ql, Dh = eh,
6954
6972
  "%decodeURIComponent%": decodeURIComponent,
6955
6973
  "%encodeURI%": encodeURI,
6956
6974
  "%encodeURIComponent%": encodeURIComponent,
6957
- "%Error%": Rh,
6975
+ "%Error%": Eh,
6958
6976
  "%eval%": eval,
6959
6977
  // eslint-disable-line no-eval
6960
- "%EvalError%": _h,
6978
+ "%EvalError%": Oh,
6961
6979
  "%Float16Array%": typeof Float16Array > "u" ? Je : Float16Array,
6962
6980
  "%Float32Array%": typeof Float32Array > "u" ? Je : Float32Array,
6963
6981
  "%Float64Array%": typeof Float64Array > "u" ? Je : Float64Array,
@@ -6975,14 +6993,14 @@ var Je, Ih = Wl, Rh = Jp, _h = Kp, Eh = Xp, Oh = Qp, tr = Zp, zn = ql, Dh = eh,
6975
6993
  "%MapIteratorPrototype%": typeof Map > "u" || !Hn || !Tt ? Je : Tt((/* @__PURE__ */ new Map())[Symbol.iterator]()),
6976
6994
  "%Math%": Math,
6977
6995
  "%Number%": Number,
6978
- "%Object%": Ih,
6996
+ "%Object%": _h,
6979
6997
  "%Object.getOwnPropertyDescriptor%": Sr,
6980
6998
  "%parseFloat%": parseFloat,
6981
6999
  "%parseInt%": parseInt,
6982
7000
  "%Promise%": typeof Promise > "u" ? Je : Promise,
6983
7001
  "%Proxy%": typeof Proxy > "u" ? Je : Proxy,
6984
- "%RangeError%": Eh,
6985
- "%ReferenceError%": Oh,
7002
+ "%RangeError%": Dh,
7003
+ "%ReferenceError%": kh,
6986
7004
  "%Reflect%": typeof Reflect > "u" ? Je : Reflect,
6987
7005
  "%RegExp%": RegExp,
6988
7006
  "%Set%": typeof Set > "u" ? Je : Set,
@@ -6992,38 +7010,38 @@ var Je, Ih = Wl, Rh = Jp, _h = Kp, Eh = Xp, Oh = Qp, tr = Zp, zn = ql, Dh = eh,
6992
7010
  "%StringIteratorPrototype%": Hn && Tt ? Tt(""[Symbol.iterator]()) : Je,
6993
7011
  "%Symbol%": Hn ? Symbol : Je,
6994
7012
  "%SyntaxError%": tr,
6995
- "%ThrowTypeError%": Bh,
6996
- "%TypedArray%": Wh,
7013
+ "%ThrowTypeError%": Uh,
7014
+ "%TypedArray%": Gh,
6997
7015
  "%TypeError%": zn,
6998
7016
  "%Uint8Array%": typeof Uint8Array > "u" ? Je : Uint8Array,
6999
7017
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? Je : Uint8ClampedArray,
7000
7018
  "%Uint16Array%": typeof Uint16Array > "u" ? Je : Uint16Array,
7001
7019
  "%Uint32Array%": typeof Uint32Array > "u" ? Je : Uint32Array,
7002
- "%URIError%": Dh,
7020
+ "%URIError%": Nh,
7003
7021
  "%WeakMap%": typeof WeakMap > "u" ? Je : WeakMap,
7004
7022
  "%WeakRef%": typeof WeakRef > "u" ? Je : WeakRef,
7005
7023
  "%WeakSet%": typeof WeakSet > "u" ? Je : WeakSet,
7006
7024
  "%Function.prototype.call%": kr,
7007
7025
  "%Function.prototype.apply%": Kl,
7008
- "%Object.defineProperty%": Hh,
7009
- "%Object.getPrototypeOf%": jh,
7010
- "%Math.abs%": kh,
7011
- "%Math.floor%": Nh,
7012
- "%Math.max%": Mh,
7013
- "%Math.min%": Ph,
7014
- "%Math.pow%": $h,
7015
- "%Math.round%": Vh,
7016
- "%Math.sign%": Lh,
7017
- "%Reflect.getPrototypeOf%": Uh
7026
+ "%Object.defineProperty%": jh,
7027
+ "%Object.getPrototypeOf%": Wh,
7028
+ "%Math.abs%": Mh,
7029
+ "%Math.floor%": Ph,
7030
+ "%Math.max%": $h,
7031
+ "%Math.min%": Vh,
7032
+ "%Math.pow%": Lh,
7033
+ "%Math.round%": Hh,
7034
+ "%Math.sign%": Bh,
7035
+ "%Reflect.getPrototypeOf%": qh
7018
7036
  };
7019
7037
  if (Tt)
7020
7038
  try {
7021
7039
  null.error;
7022
7040
  } catch (t) {
7023
- var qh = Tt(Tt(t));
7024
- An["%Error.prototype%"] = qh;
7041
+ var Yh = Tt(Tt(t));
7042
+ An["%Error.prototype%"] = Yh;
7025
7043
  }
7026
- var Gh = function t(e) {
7044
+ var zh = function t(e) {
7027
7045
  var n;
7028
7046
  if (e === "%AsyncFunction%")
7029
7047
  n = qo("async function () {}");
@@ -7092,21 +7110,21 @@ var Gh = function t(e) {
7092
7110
  "%URIErrorPrototype%": ["URIError", "prototype"],
7093
7111
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
7094
7112
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
7095
- }, Nr = Dr, Kr = Ah(), Yh = Nr.call(kr, Array.prototype.concat), zh = Nr.call(Kl, Array.prototype.splice), ji = Nr.call(kr, String.prototype.replace), Xr = Nr.call(kr, String.prototype.slice), Jh = Nr.call(kr, RegExp.prototype.exec), Kh = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Xh = /\\(\\)?/g, Qh = function(e) {
7113
+ }, Nr = Dr, Kr = Rh(), Jh = Nr.call(kr, Array.prototype.concat), Kh = Nr.call(Kl, Array.prototype.splice), ji = Nr.call(kr, String.prototype.replace), Xr = Nr.call(kr, String.prototype.slice), Xh = Nr.call(kr, RegExp.prototype.exec), Qh = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Zh = /\\(\\)?/g, eg = function(e) {
7096
7114
  var n = Xr(e, 0, 1), r = Xr(e, -1);
7097
7115
  if (n === "%" && r !== "%")
7098
7116
  throw new tr("invalid intrinsic syntax, expected closing `%`");
7099
7117
  if (r === "%" && n !== "%")
7100
7118
  throw new tr("invalid intrinsic syntax, expected opening `%`");
7101
7119
  var o = [];
7102
- return ji(e, Kh, function(s, a, c, l) {
7103
- o[o.length] = c ? ji(l, Xh, "$1") : a || s;
7120
+ return ji(e, Qh, function(s, a, c, l) {
7121
+ o[o.length] = c ? ji(l, Zh, "$1") : a || s;
7104
7122
  }), o;
7105
- }, Zh = function(e, n) {
7123
+ }, tg = function(e, n) {
7106
7124
  var r = e, o;
7107
7125
  if (Kr(Bi, r) && (o = Bi[r], r = "%" + o[0] + "%"), Kr(An, r)) {
7108
7126
  var s = An[r];
7109
- if (s === Un && (s = Gh(r)), typeof s > "u" && !n)
7127
+ if (s === Un && (s = zh(r)), typeof s > "u" && !n)
7110
7128
  throw new zn("intrinsic " + e + " exists, but is not available. Please file an issue!");
7111
7129
  return {
7112
7130
  alias: o,
@@ -7120,10 +7138,10 @@ var Gh = function t(e) {
7120
7138
  throw new zn("intrinsic name must be a non-empty string");
7121
7139
  if (arguments.length > 1 && typeof n != "boolean")
7122
7140
  throw new zn('"allowMissing" argument must be a boolean');
7123
- if (Jh(/^%?[^%]*%?$/, e) === null)
7141
+ if (Xh(/^%?[^%]*%?$/, e) === null)
7124
7142
  throw new tr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
7125
- var r = Qh(e), o = r.length > 0 ? r[0] : "", s = Zh("%" + o + "%", n), a = s.name, c = s.value, l = !1, d = s.alias;
7126
- d && (o = d[0], zh(r, Yh([0, 1], d)));
7143
+ var r = eg(e), o = r.length > 0 ? r[0] : "", s = tg("%" + o + "%", n), a = s.name, c = s.value, l = !1, d = s.alias;
7144
+ d && (o = d[0], Kh(r, Jh([0, 1], d)));
7127
7145
  for (var f = 1, u = !0; f < r.length; f += 1) {
7128
7146
  var m = r[f], p = Xr(m, 0, 1), g = Xr(m, -1);
7129
7147
  if ((p === '"' || p === "'" || p === "`" || g === '"' || g === "'" || g === "`") && p !== g)
@@ -7171,18 +7189,18 @@ var Gh = function t(e) {
7171
7189
  };
7172
7190
  c ? c(t.exports, "apply", { value: d }) : t.exports.apply = d;
7173
7191
  })(Xl);
7174
- var Us = Xl.exports, Ql = wo, Zl = Us, eg = Zl(Ql("String.prototype.indexOf")), ec = function(e, n) {
7192
+ var Us = Xl.exports, Ql = wo, Zl = Us, ng = Zl(Ql("String.prototype.indexOf")), ec = function(e, n) {
7175
7193
  var r = Ql(e, !!n);
7176
- return typeof r == "function" && eg(e, ".prototype.") > -1 ? Zl(r) : r;
7177
- }, tg = Hs(), ng = ec, rs = ng("Object.prototype.toString"), xo = function(e) {
7178
- return tg && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : rs(e) === "[object Arguments]";
7194
+ return typeof r == "function" && ng(e, ".prototype.") > -1 ? Zl(r) : r;
7195
+ }, rg = Hs(), og = ec, rs = og("Object.prototype.toString"), xo = function(e) {
7196
+ return rg && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : rs(e) === "[object Arguments]";
7179
7197
  }, tc = function(e) {
7180
7198
  return xo(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && rs(e) !== "[object Array]" && rs(e.callee) === "[object Function]";
7181
- }, rg = function() {
7199
+ }, sg = function() {
7182
7200
  return xo(arguments);
7183
7201
  }();
7184
7202
  xo.isLegacyArguments = tc;
7185
- var og = rg ? xo : tc, sg = wo, os = sg("%Object.defineProperty%", !0), ss = function() {
7203
+ var ig = sg ? xo : tc, ag = wo, os = ag("%Object.defineProperty%", !0), ss = function() {
7186
7204
  if (os)
7187
7205
  try {
7188
7206
  return os({}, "a", { value: 1 }), !0;
@@ -7200,7 +7218,7 @@ ss.hasArrayLengthDefineBug = function() {
7200
7218
  return !0;
7201
7219
  }
7202
7220
  };
7203
- var Ws = ss, ig = Ws(), qs = wo, Ui = ig && qs("%Object.defineProperty%", !0), ag = qs("%SyntaxError%"), Bn = qs("%TypeError%"), Wi = Bs, nc = function(e, n, r) {
7221
+ var Ws = ss, lg = Ws(), qs = wo, Ui = lg && qs("%Object.defineProperty%", !0), cg = qs("%SyntaxError%"), Bn = qs("%TypeError%"), Wi = Bs, nc = function(e, n, r) {
7204
7222
  if (!e || typeof e != "object" && typeof e != "function")
7205
7223
  throw new Bn("`obj` must be an object or a function`");
7206
7224
  if (typeof n != "string" && typeof n != "symbol")
@@ -7224,45 +7242,45 @@ var Ws = ss, ig = Ws(), qs = wo, Ui = ig && qs("%Object.defineProperty%", !0), a
7224
7242
  else if (c || !o && !s && !a)
7225
7243
  e[n] = r;
7226
7244
  else
7227
- throw new ag("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
7228
- }, lg = jl, cg = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", dg = Object.prototype.toString, ug = Array.prototype.concat, qi = nc, fg = function(t) {
7229
- return typeof t == "function" && dg.call(t) === "[object Function]";
7230
- }, rc = Ws(), mg = function(t, e, n, r) {
7245
+ throw new cg("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
7246
+ }, dg = jl, ug = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", fg = Object.prototype.toString, mg = Array.prototype.concat, qi = nc, pg = function(t) {
7247
+ return typeof t == "function" && fg.call(t) === "[object Function]";
7248
+ }, rc = Ws(), hg = function(t, e, n, r) {
7231
7249
  if (e in t) {
7232
7250
  if (r === !0) {
7233
7251
  if (t[e] === n)
7234
7252
  return;
7235
- } else if (!fg(r) || !r())
7253
+ } else if (!pg(r) || !r())
7236
7254
  return;
7237
7255
  }
7238
7256
  rc ? qi(t, e, n, !0) : qi(t, e, n);
7239
7257
  }, oc = function(t, e) {
7240
- var n = arguments.length > 2 ? arguments[2] : {}, r = lg(e);
7241
- cg && (r = ug.call(r, Object.getOwnPropertySymbols(e)));
7258
+ var n = arguments.length > 2 ? arguments[2] : {}, r = dg(e);
7259
+ ug && (r = mg.call(r, Object.getOwnPropertySymbols(e)));
7242
7260
  for (var o = 0; o < r.length; o += 1)
7243
- mg(t, r[o], e[r[o]], n[r[o]]);
7261
+ hg(t, r[o], e[r[o]], n[r[o]]);
7244
7262
  };
7245
7263
  oc.supportsDescriptors = !!rc;
7246
7264
  var Mr = oc, Gi = function(t) {
7247
7265
  return t !== t;
7248
7266
  }, sc = function(e, n) {
7249
7267
  return e === 0 && n === 0 ? 1 / e === 1 / n : !!(e === n || Gi(e) && Gi(n));
7250
- }, pg = sc, ic = function() {
7251
- return typeof Object.is == "function" ? Object.is : pg;
7252
- }, hg = ic, gg = Mr, yg = function() {
7253
- var e = hg();
7254
- return gg(Object, { is: e }, {
7268
+ }, gg = sc, ic = function() {
7269
+ return typeof Object.is == "function" ? Object.is : gg;
7270
+ }, yg = ic, vg = Mr, bg = function() {
7271
+ var e = yg();
7272
+ return vg(Object, { is: e }, {
7255
7273
  is: function() {
7256
7274
  return Object.is !== e;
7257
7275
  }
7258
7276
  }), e;
7259
- }, vg = Mr, bg = Us, wg = sc, ac = ic, xg = yg, lc = bg(ac(), Object);
7260
- vg(lc, {
7277
+ }, wg = Mr, xg = Us, Cg = sc, ac = ic, Sg = bg, lc = xg(ac(), Object);
7278
+ wg(lc, {
7261
7279
  getPolyfill: ac,
7262
- implementation: wg,
7263
- shim: xg
7280
+ implementation: Cg,
7281
+ shim: Sg
7264
7282
  });
7265
- var Cg = lc, is = ec, cc = Hs(), dc, uc, as, ls;
7283
+ var Tg = lc, is = ec, cc = Hs(), dc, uc, as, ls;
7266
7284
  if (cc) {
7267
7285
  dc = is("Object.prototype.hasOwnProperty"), uc = is("RegExp.prototype.exec"), as = {};
7268
7286
  var Yo = function() {
@@ -7273,10 +7291,10 @@ if (cc) {
7273
7291
  valueOf: Yo
7274
7292
  }, typeof Symbol.toPrimitive == "symbol" && (ls[Symbol.toPrimitive] = Yo);
7275
7293
  }
7276
- var Sg = is("Object.prototype.toString"), Tg = Object.getOwnPropertyDescriptor, Fg = "[object RegExp]", Ag = cc ? function(e) {
7294
+ var Fg = is("Object.prototype.toString"), Ag = Object.getOwnPropertyDescriptor, Ig = "[object RegExp]", Rg = cc ? function(e) {
7277
7295
  if (!e || typeof e != "object")
7278
7296
  return !1;
7279
- var n = Tg(e, "lastIndex"), r = n && dc(n, "value");
7297
+ var n = Ag(e, "lastIndex"), r = n && dc(n, "value");
7280
7298
  if (!r)
7281
7299
  return !1;
7282
7300
  try {
@@ -7285,7 +7303,7 @@ var Sg = is("Object.prototype.toString"), Tg = Object.getOwnPropertyDescriptor,
7285
7303
  return o === as;
7286
7304
  }
7287
7305
  } : function(e) {
7288
- return !e || typeof e != "object" && typeof e != "function" ? !1 : Sg(e) === Fg;
7306
+ return !e || typeof e != "object" && typeof e != "function" ? !1 : Fg(e) === Ig;
7289
7307
  }, Tr = function() {
7290
7308
  return typeof (function() {
7291
7309
  }).name == "string";
@@ -7303,24 +7321,24 @@ Tr.functionsHaveConfigurableNames = function() {
7303
7321
  }, "name");
7304
7322
  return !!e && !!e.configurable;
7305
7323
  };
7306
- var Ig = Function.prototype.bind;
7324
+ var _g = Function.prototype.bind;
7307
7325
  Tr.boundFunctionsHaveNames = function() {
7308
- return Tr() && typeof Ig == "function" && (function() {
7326
+ return Tr() && typeof _g == "function" && (function() {
7309
7327
  }).bind().name !== "";
7310
7328
  };
7311
- var Rg = Tr, Yi = nc, _g = Ws(), Eg = Rg.functionsHaveConfigurableNames(), Og = TypeError, Dg = function(e, n) {
7329
+ var Eg = Tr, Yi = nc, Og = Ws(), Dg = Eg.functionsHaveConfigurableNames(), kg = TypeError, Ng = function(e, n) {
7312
7330
  if (typeof e != "function")
7313
- throw new Og("`fn` is not a function");
7331
+ throw new kg("`fn` is not a function");
7314
7332
  var r = arguments.length > 2 && !!arguments[2];
7315
- return (!r || Eg) && (_g ? Yi(e, "name", n, !0, !0) : Yi(e, "name", n)), e;
7316
- }, kg = Dg, Ng = Object, Mg = TypeError, fc = kg(function() {
7317
- if (this != null && this !== Ng(this))
7318
- throw new Mg("RegExp.prototype.flags getter called on non-object");
7333
+ return (!r || Dg) && (Og ? Yi(e, "name", n, !0, !0) : Yi(e, "name", n)), e;
7334
+ }, Mg = Ng, Pg = Object, $g = TypeError, fc = Mg(function() {
7335
+ if (this != null && this !== Pg(this))
7336
+ throw new $g("RegExp.prototype.flags getter called on non-object");
7319
7337
  var e = "";
7320
7338
  return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
7321
- }, "get flags", !0), Pg = fc, $g = Mr.supportsDescriptors, Vg = Object.getOwnPropertyDescriptor, mc = function() {
7322
- if ($g && /a/mig.flags === "gim") {
7323
- var e = Vg(RegExp.prototype, "flags");
7339
+ }, "get flags", !0), Vg = fc, Lg = Mr.supportsDescriptors, Hg = Object.getOwnPropertyDescriptor, mc = function() {
7340
+ if (Lg && /a/mig.flags === "gim") {
7341
+ var e = Hg(RegExp.prototype, "flags");
7324
7342
  if (e && typeof e.get == "function" && typeof RegExp.prototype.dotAll == "boolean" && typeof RegExp.prototype.hasIndices == "boolean") {
7325
7343
  var n = "", r = {};
7326
7344
  if (Object.defineProperty(r, "hasIndices", {
@@ -7335,34 +7353,34 @@ var Rg = Tr, Yi = nc, _g = Ws(), Eg = Rg.functionsHaveConfigurableNames(), Og =
7335
7353
  return e.get;
7336
7354
  }
7337
7355
  }
7338
- return Pg;
7339
- }, Lg = Mr.supportsDescriptors, Hg = mc, Bg = Object.getOwnPropertyDescriptor, jg = Object.defineProperty, Ug = TypeError, zi = Object.getPrototypeOf, Wg = /a/, qg = function() {
7340
- if (!Lg || !zi)
7341
- throw new Ug("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
7342
- var e = Hg(), n = zi(Wg), r = Bg(n, "flags");
7343
- return (!r || r.get !== e) && jg(n, "flags", {
7356
+ return Vg;
7357
+ }, Bg = Mr.supportsDescriptors, jg = mc, Ug = Object.getOwnPropertyDescriptor, Wg = Object.defineProperty, qg = TypeError, zi = Object.getPrototypeOf, Gg = /a/, Yg = function() {
7358
+ if (!Bg || !zi)
7359
+ throw new qg("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
7360
+ var e = jg(), n = zi(Gg), r = Ug(n, "flags");
7361
+ return (!r || r.get !== e) && Wg(n, "flags", {
7344
7362
  configurable: !0,
7345
7363
  enumerable: !1,
7346
7364
  get: e
7347
7365
  }), e;
7348
- }, Gg = Mr, Yg = Us, zg = fc, pc = mc, Jg = qg, hc = Yg(pc());
7349
- Gg(hc, {
7366
+ }, zg = Mr, Jg = Us, Kg = fc, pc = mc, Xg = Yg, hc = Jg(pc());
7367
+ zg(hc, {
7350
7368
  getPolyfill: pc,
7351
- implementation: zg,
7352
- shim: Jg
7369
+ implementation: Kg,
7370
+ shim: Xg
7353
7371
  });
7354
- var Kg = hc, Xg = Date.prototype.getDay, Qg = function(e) {
7372
+ var Qg = hc, Zg = Date.prototype.getDay, ey = function(e) {
7355
7373
  try {
7356
- return Xg.call(e), !0;
7374
+ return Zg.call(e), !0;
7357
7375
  } catch {
7358
7376
  return !1;
7359
7377
  }
7360
- }, Zg = Object.prototype.toString, ey = "[object Date]", ty = Hs(), ny = function(e) {
7361
- return typeof e != "object" || e === null ? !1 : ty ? Qg(e) : Zg.call(e) === ey;
7362
- }, Ji = jl, Ki = og, Xi = Cg, Qi = Ag, Zi = Kg, ea = ny, ta = Date.prototype.getTime;
7378
+ }, ty = Object.prototype.toString, ny = "[object Date]", ry = Hs(), oy = function(e) {
7379
+ return typeof e != "object" || e === null ? !1 : ry ? ey(e) : ty.call(e) === ny;
7380
+ }, Ji = jl, Ki = ig, Xi = Tg, Qi = Rg, Zi = Qg, ea = oy, ta = Date.prototype.getTime;
7363
7381
  function gc(t, e, n) {
7364
7382
  var r = n || {};
7365
- return (r.strict ? Xi(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? Xi(t, e) : t == e : ry(t, e, r);
7383
+ return (r.strict ? Xi(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? Xi(t, e) : t == e : sy(t, e, r);
7366
7384
  }
7367
7385
  function na(t) {
7368
7386
  return t == null;
@@ -7370,7 +7388,7 @@ function na(t) {
7370
7388
  function ra(t) {
7371
7389
  return !(!t || typeof t != "object" || typeof t.length != "number" || typeof t.copy != "function" || typeof t.slice != "function" || t.length > 0 && typeof t[0] != "number");
7372
7390
  }
7373
- function ry(t, e, n) {
7391
+ function sy(t, e, n) {
7374
7392
  var r, o;
7375
7393
  if (typeof t != typeof e || na(t) || na(e) || t.prototype !== e.prototype || Ki(t) !== Ki(e))
7376
7394
  return !1;
@@ -7409,8 +7427,8 @@ function ry(t, e, n) {
7409
7427
  return !1;
7410
7428
  return !0;
7411
7429
  }
7412
- var oy = gc;
7413
- const lr = /* @__PURE__ */ Ua(oy), { Text: sy } = cn, iy = ({
7430
+ var iy = gc;
7431
+ const lr = /* @__PURE__ */ Ua(iy), { Text: ay } = cn, ly = ({
7414
7432
  currentModel: t,
7415
7433
  context: e,
7416
7434
  searchParams: n,
@@ -7673,7 +7691,7 @@ const lr = /* @__PURE__ */ Ua(oy), { Text: sy } = cn, iy = ({
7673
7691
  autoFocus: !0
7674
7692
  }
7675
7693
  ) : /* @__PURE__ */ i(
7676
- sy,
7694
+ ay,
7677
7695
  {
7678
7696
  style: {
7679
7697
  fontSize: "14px",
@@ -7787,7 +7805,7 @@ const lr = /* @__PURE__ */ Ua(oy), { Text: sy } = cn, iy = ({
7787
7805
  Qr(T.label)
7788
7806
  );
7789
7807
  }).map((k) => {
7790
- const I = k, O = D[I.id] === !0, T = _ ? !1 : w && !ly(w, I), $ = S ? `${I.id}-top` : `${I.id}-bottom`;
7808
+ const I = k, O = D[I.id] === !0, T = _ ? !1 : w && !dy(w, I), $ = S ? `${I.id}-top` : `${I.id}-bottom`;
7791
7809
  return /* @__PURE__ */ i(
7792
7810
  "div",
7793
7811
  {
@@ -8019,7 +8037,7 @@ const vc = (t) => {
8019
8037
  shouldShowSingleSaveButton: H,
8020
8038
  shouldShowSaveButtonGroup: Y,
8021
8039
  shouldShowSaveAsNew: U
8022
- } = iy({
8040
+ } = ly({
8023
8041
  currentModel: l,
8024
8042
  context: d,
8025
8043
  searchParams: y,
@@ -8170,14 +8188,14 @@ const vc = (t) => {
8170
8188
  ]);
8171
8189
  return /* @__PURE__ */ B(we, { children: [
8172
8190
  /* @__PURE__ */ i(
8173
- Wp,
8191
+ Gp,
8174
8192
  {
8175
8193
  title: V(w),
8176
8194
  isOpen: n,
8177
8195
  onClose: r,
8178
8196
  headerButtons: q,
8179
8197
  footer: /* @__PURE__ */ i(
8180
- ay,
8198
+ cy,
8181
8199
  {
8182
8200
  onClear: fe,
8183
8201
  onSubmit: re,
@@ -8252,7 +8270,7 @@ const vc = (t) => {
8252
8270
  }
8253
8271
  )
8254
8272
  ] });
8255
- }, ay = ({
8273
+ }, cy = ({
8256
8274
  onClear: t,
8257
8275
  onSubmit: e,
8258
8276
  searchParams: n
@@ -8296,13 +8314,13 @@ const vc = (t) => {
8296
8314
  ]
8297
8315
  }
8298
8316
  );
8299
- }, Qr = (t) => t.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-zA-Z0-9\s]/g, "").toLowerCase(), ly = (t, e) => {
8317
+ }, Qr = (t) => t.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-zA-Z0-9\s]/g, "").toLowerCase(), dy = (t, e) => {
8300
8318
  if (!t)
8301
8319
  return !0;
8302
8320
  const n = Qr(e.label), r = Qr(t);
8303
8321
  return n.includes(r);
8304
8322
  };
8305
- function cy(t) {
8323
+ function uy(t) {
8306
8324
  const {
8307
8325
  onAdvancedFilterToggle: e,
8308
8326
  advancedFilter: n,
@@ -8331,7 +8349,7 @@ function cy(t) {
8331
8349
  ] })
8332
8350
  ] });
8333
8351
  }
8334
- function dy(t) {
8352
+ function fy(t) {
8335
8353
  const { onLimitChange: e } = t, { t: n } = Se(), r = new Ko({ name: "limit" }), o = new Ko({ name: "offset" });
8336
8354
  return /* @__PURE__ */ B("div", { className: "pl-2 pt-2", children: [
8337
8355
  /* @__PURE__ */ i(Ke, { children: n("parameters") }, "count_params"),
@@ -8351,7 +8369,7 @@ function dy(t) {
8351
8369
  ] })
8352
8370
  ] });
8353
8371
  }
8354
- const { useToken: uy } = tt;
8372
+ const { useToken: my } = tt;
8355
8373
  function Co(t) {
8356
8374
  const {
8357
8375
  fields: e,
@@ -8367,7 +8385,7 @@ function Co(t) {
8367
8385
  searchError: u,
8368
8386
  searchValues: m,
8369
8387
  showLimitOptions: p = !0
8370
- } = t, [g, h] = F(), [y, b] = F(), [v, x] = F(!1), C = J(), { token: w } = uy(), [_] = _t.useForm();
8388
+ } = t, [g, h] = F(), [y, b] = F(), [v, x] = F(!1), C = J(), { token: w } = my(), [_] = _t.useForm();
8371
8389
  ce(() => {
8372
8390
  _.setFieldsValue(m);
8373
8391
  }, [m]), ce(() => {
@@ -8422,9 +8440,9 @@ function Co(t) {
8422
8440
  initialValues: { offset: a, limit: c },
8423
8441
  children: [
8424
8442
  R,
8425
- v && p && /* @__PURE__ */ i(dy, { onLimitChange: l }),
8443
+ v && p && /* @__PURE__ */ i(fy, { onLimitChange: l }),
8426
8444
  /* @__PURE__ */ i(
8427
- cy,
8445
+ uy,
8428
8446
  {
8429
8447
  hideAdvancedFilter: (E() || (y == null ? void 0 : y._rows.length) === 0) && !p,
8430
8448
  advancedFilter: v,
@@ -8457,7 +8475,7 @@ function Co(t) {
8457
8475
  function bc({
8458
8476
  useLocalState: t = !1
8459
8477
  }) {
8460
- const e = Py() && !t, n = Vt(), [r, o] = F(!1), [s, a] = F(!1), [c, l] = F([]), [d, f] = F(0), [u, m] = F(void 0), [p, g] = F([]), [h, y] = F({}), [b, v] = F(), [x, C] = F([]), [w, _] = F(), [S, R] = F(0), [N, E] = F(), [D, k] = F(1), [I, O] = F(_n), [T, $] = F(Et);
8478
+ const e = Vy() && !t, n = Vt(), [r, o] = F(!1), [s, a] = F(!1), [c, l] = F([]), [d, f] = F(0), [u, m] = F(void 0), [p, g] = F([]), [h, y] = F({}), [b, v] = F(), [x, C] = F([]), [w, _] = F(), [S, R] = F(0), [N, E] = F(), [D, k] = F(1), [I, O] = F(_n), [T, $] = F(Et);
8461
8479
  return e ? {
8462
8480
  treeIsLoading: n.treeIsLoading ?? !1,
8463
8481
  setTreeIsLoading: n.setTreeIsLoading ?? (() => {
@@ -8551,7 +8569,7 @@ const cr = () => {
8551
8569
  document.removeEventListener("visibilitychange", n);
8552
8570
  };
8553
8571
  }, []), t;
8554
- }, fy = 0.5 * 1e3, my = ({
8572
+ }, py = 0.5 * 1e3, hy = ({
8555
8573
  model: t,
8556
8574
  treeView: e,
8557
8575
  tableRef: n,
@@ -8701,7 +8719,7 @@ const cr = () => {
8701
8719
  );
8702
8720
  je(() => (u && w && ($(), C.current = setInterval(
8703
8721
  $,
8704
- fy
8722
+ py
8705
8723
  )), () => {
8706
8724
  C.current && (clearInterval(C.current), C.current = null);
8707
8725
  }), [u, w, $, l]);
@@ -8742,7 +8760,7 @@ const cr = () => {
8742
8760
  onHasFunctionFieldsToParseConditions: k,
8743
8761
  syncExternalRecordUpdates: V
8744
8762
  };
8745
- }, py = 3 * 1e3, hy = (t) => {
8763
+ }, gy = 3 * 1e3, yy = (t) => {
8746
8764
  const {
8747
8765
  tableRef: e,
8748
8766
  model: n,
@@ -8836,7 +8854,7 @@ const cr = () => {
8836
8854
  ]);
8837
8855
  ce(() => () => {
8838
8856
  b(), x();
8839
- }, []), je(() => ((o == null ? void 0 : o.length) && g && (R(), p.current = setInterval(R, py)), () => {
8857
+ }, []), je(() => ((o == null ? void 0 : o.length) && g && (R(), p.current = setInterval(R, gy)), () => {
8840
8858
  p.current && (clearInterval(p.current), p.current = null);
8841
8859
  }), [
8842
8860
  o,
@@ -8876,7 +8894,7 @@ const cr = () => {
8876
8894
  addRecordsToCheckFunctionFields: p,
8877
8895
  onHasFunctionFieldsToParseConditions: g,
8878
8896
  syncExternalRecordUpdates: h
8879
- } = my({
8897
+ } = hy({
8880
8898
  model: t,
8881
8899
  treeView: e,
8882
8900
  tableRef: n,
@@ -8887,7 +8905,7 @@ const cr = () => {
8887
8905
  updateAttributes: a,
8888
8906
  results: c,
8889
8907
  skipFunctionFieldsHandling: !!d
8890
- }), { clear: y } = hy({
8908
+ }), { clear: y } = yy({
8891
8909
  model: t,
8892
8910
  tableRef: n,
8893
8911
  autorefreshableFields: d || s == null ? void 0 : s.autorefreshableFields,
@@ -8950,7 +8968,7 @@ const cr = () => {
8950
8968
  ),
8951
8969
  s[1]
8952
8970
  ] }) : /* @__PURE__ */ i("span", { style: { fontSize: "12px", color: "#666" }, children: r });
8953
- }, { Text: oa } = cn, gy = ({
8971
+ }, { Text: oa } = cn, vy = ({
8954
8972
  totalRows: t,
8955
8973
  selectedRowKeys: e,
8956
8974
  customMiddleComponent: n
@@ -8963,7 +8981,7 @@ const cr = () => {
8963
8981
  className: "pb-4",
8964
8982
  style: { height: 40, maxHeight: 40, overflow: "hidden" },
8965
8983
  children: [
8966
- /* @__PURE__ */ i($e, { span: o, children: /* @__PURE__ */ i(yy, { selectedRowKeys: e }) }),
8984
+ /* @__PURE__ */ i($e, { span: o, children: /* @__PURE__ */ i(by, { selectedRowKeys: e }) }),
8967
8985
  n && /* @__PURE__ */ i($e, { span: 12, className: "text-center", children: n }),
8968
8986
  /* @__PURE__ */ B(
8969
8987
  $e,
@@ -8980,7 +8998,7 @@ const cr = () => {
8980
8998
  ]
8981
8999
  }
8982
9000
  );
8983
- }, yy = ({
9001
+ }, by = ({
8984
9002
  selectedRowKeys: t
8985
9003
  }) => {
8986
9004
  const { t: e } = Se();
@@ -9025,8 +9043,8 @@ const xc = ({
9025
9043
  var o, s, a, c;
9026
9044
  !e || !t.current || (n === !1 || !r ? (s = (o = t.current).pauseAutoRefresh) == null || s.call(o) : (n === void 0 || n === !0) && r && ((c = (a = t.current).resumeAutoRefresh) == null || c.call(a)));
9027
9045
  }, [n, e, r]);
9028
- }, vy = 10, by = 200;
9029
- function wy(t, e) {
9046
+ }, wy = 10, xy = 200;
9047
+ function Cy(t, e) {
9030
9048
  const {
9031
9049
  model: n,
9032
9050
  formView: r,
@@ -9046,7 +9064,7 @@ function wy(t, e) {
9046
9064
  autoRefresh: b
9047
9065
  } = t, v = J(null), x = J([]), C = J(!1), { showErrorNotification: w } = Ct(), { setCurrentSavedSearch: _ } = Vt(), [S, R] = F(), [N, E] = F(!1), D = J(), k = J(null), I = El({
9048
9066
  elementRef: k,
9049
- offset: vy
9067
+ offset: wy
9050
9068
  }), O = y !== void 0 ? y : I, [T, $] = Ie(
9051
9069
  j.getHandler().searchCount
9052
9070
  ), [M, L] = Ie(
@@ -9291,12 +9309,12 @@ function wy(t, e) {
9291
9309
  changeSelectedRowItems: ot,
9292
9310
  changeSelectedRowKeys: bt,
9293
9311
  onSelectionCheckboxClicked: pt
9294
- } = hp({
9312
+ } = yp({
9295
9313
  selectedRowItems: q,
9296
9314
  setSelectedRowItems: re,
9297
9315
  onChangeSelectedRowKeys: f,
9298
9316
  totalRows: S,
9299
- maxRowsToSelect: by,
9317
+ maxRowsToSelect: xy,
9300
9318
  onSelectAll: dn
9301
9319
  }), Pn = A(
9302
9320
  async ({
@@ -9516,7 +9534,7 @@ function wy(t, e) {
9516
9534
  }
9517
9535
  ),
9518
9536
  !g && /* @__PURE__ */ i(
9519
- gy,
9537
+ vy,
9520
9538
  {
9521
9539
  selectedRowKeys: on,
9522
9540
  totalRows: S,
@@ -9531,12 +9549,12 @@ function wy(t, e) {
9531
9549
  /* @__PURE__ */ i("div", { ref: k, style: Gt, children: Y || Ne ? /* @__PURE__ */ i(st, {}) : Pe })
9532
9550
  ] });
9533
9551
  }
9534
- const Ys = jt(wy), sa = (t, e = "14px -apple-system") => {
9552
+ const Ys = jt(Cy), sa = (t, e = "14px -apple-system") => {
9535
9553
  const r = document.createElement("canvas").getContext("2d");
9536
9554
  r.font = e;
9537
9555
  const o = r.measureText(t);
9538
9556
  return Math.round((o.width + 80) * 1.5);
9539
- }, xy = (t, e, n = 500) => {
9557
+ }, Sy = (t, e, n = 500) => {
9540
9558
  if (t.length === 0)
9541
9559
  return { columns: t };
9542
9560
  const r = t.map(
@@ -9557,11 +9575,11 @@ const Ys = jt(wy), sa = (t, e = "14px -apple-system") => {
9557
9575
  source: e,
9558
9576
  tableWidth: o
9559
9577
  };
9560
- }, Cy = Ot.div`
9578
+ }, Ty = Ot.div`
9561
9579
  display: flex;
9562
9580
  align-items: center;
9563
9581
  justify-content: center;
9564
- `, Sy = ({
9582
+ `, Fy = ({
9565
9583
  numberOfVisibleSelectedRows: t,
9566
9584
  totalRecords: e,
9567
9585
  numberOfTotalRows: n,
@@ -9590,7 +9608,7 @@ const Ys = jt(wy), sa = (t, e = "14px -apple-system") => {
9590
9608
  "{totalRecords}",
9591
9609
  o.toString()
9592
9610
  ) + " " });
9593
- return /* @__PURE__ */ i(Cy, { children: o > n ? u : f });
9611
+ return /* @__PURE__ */ i(Ty, { children: o > n ? u : f });
9594
9612
  };
9595
9613
  var ia = Object.prototype.hasOwnProperty;
9596
9614
  function aa(t, e, n) {
@@ -9730,7 +9748,7 @@ const Cc = jt(
9730
9748
  }
9731
9749
  ) }),
9732
9750
  S && /* @__PURE__ */ i($e, { span: 8, className: "text-center", children: /* @__PURE__ */ i(
9733
- Sy,
9751
+ Fy,
9734
9752
  {
9735
9753
  numberOfVisibleSelectedRows: q,
9736
9754
  numberOfRealSelectedRows: (u == null ? void 0 : u.length) || 0,
@@ -9765,7 +9783,7 @@ const Cc = jt(
9765
9783
  }), /* @__PURE__ */ i("div", { className: "p-1 pb-0 pl-2 mt-2 ", children: ie.join(", ") });
9766
9784
  }, [N, u, I]), re = Q(() => {
9767
9785
  if (I !== null && P && P.length > 0)
9768
- return xy(P, N, 600);
9786
+ return Sy(P, N, 600);
9769
9787
  }, [P, N, I]), ee = Q(() => p && (I != null && I.columns.some((q) => q.sum !== void 0)) ? p - 30 : p, [p, I == null ? void 0 : I.columns]);
9770
9788
  return I === null || !re || ((fe = re == null ? void 0 : re.columns) == null ? void 0 : fe.length) === 0 ? /* @__PURE__ */ i(st, { style: { padding: "2rem" } }) : /* @__PURE__ */ B(Kn, { children: [
9771
9789
  W,
@@ -10032,7 +10050,7 @@ const Sc = (t) => {
10032
10050
  getAllIds: le
10033
10051
  };
10034
10052
  };
10035
- function Ty(t, e) {
10053
+ function Ay(t, e) {
10036
10054
  var It;
10037
10055
  const {
10038
10056
  model: n,
@@ -10294,7 +10312,7 @@ function Ty(t, e) {
10294
10312
  ]), Ye = N || ue;
10295
10313
  return Ye ? (console.error(Ye), /* @__PURE__ */ i(Nt, { className: "mt-10", message: Ye, type: "error", banner: !0 })) : /* @__PURE__ */ i("div", { style: d ? {} : { display: "none" }, children: p ? /* @__PURE__ */ i(st, {}) : it() });
10296
10314
  }
10297
- const Tc = jt(Ty), Fy = Et, Ay = (t) => {
10315
+ const Tc = jt(Ay), Iy = Et, Ry = (t) => {
10298
10316
  const {
10299
10317
  treeViewFetching: e,
10300
10318
  treeOoui: n,
@@ -10705,7 +10723,7 @@ const Tc = jt(Ty), Fy = Et, Ay = (t) => {
10705
10723
  nameSearch: Z,
10706
10724
  fetchChildrenForRecord: Cn
10707
10725
  };
10708
- }, Iy = ({
10726
+ }, _y = ({
10709
10727
  filterType: t,
10710
10728
  formView: e,
10711
10729
  treeView: n,
@@ -10847,7 +10865,7 @@ const Tc = jt(Ty), Fy = Et, Ay = (t) => {
10847
10865
  )
10848
10866
  );
10849
10867
  zs.displayName = "PaginatedTableComponent";
10850
- const Ry = ut(zs), Jt = (t) => {
10868
+ const Ey = ut(zs), Jt = (t) => {
10851
10869
  const e = J(t);
10852
10870
  return ce(() => {
10853
10871
  e.current = t;
@@ -10855,7 +10873,7 @@ const Ry = ut(zs), Jt = (t) => {
10855
10873
  var r;
10856
10874
  return (r = e.current) == null ? void 0 : r.call(e, ...n);
10857
10875
  }).current;
10858
- }, _y = ({
10876
+ }, Oy = ({
10859
10877
  treeView: t,
10860
10878
  currentModel: e,
10861
10879
  parentContext: n
@@ -10902,8 +10920,8 @@ const Ry = ut(zs), Jt = (t) => {
10902
10920
  t
10903
10921
  ]
10904
10922
  ) };
10905
- }, Ey = 10, Oy = -30;
10906
- function Dy(t, e) {
10923
+ }, Dy = 10, ky = -30;
10924
+ function Ny(t, e) {
10907
10925
  const {
10908
10926
  model: n,
10909
10927
  formView: r,
@@ -10927,7 +10945,7 @@ function Dy(t, e) {
10927
10945
  context: d
10928
10946
  }), R = El({
10929
10947
  elementRef: v,
10930
- offset: w != null && w.isExpandable ? Oy : Ey
10948
+ offset: w != null && w.isExpandable ? ky : Dy
10931
10949
  }), N = h !== void 0 ? h : R, E = Q(() => {
10932
10950
  if (w)
10933
10951
  return nn(w);
@@ -10982,7 +11000,7 @@ function Dy(t, e) {
10982
11000
  nameSearchFetchCompleted: De,
10983
11001
  nameSearch: Ve,
10984
11002
  fetchChildrenForRecord: Ue
10985
- } = Ay({
11003
+ } = Ry({
10986
11004
  treeViewFetching: S,
10987
11005
  treeOoui: E,
10988
11006
  treeView: w,
@@ -11015,7 +11033,7 @@ function Dy(t, e) {
11015
11033
  }
11016
11034
  )
11017
11035
  }));
11018
- }, [Fe, V, Ve]), { handleExpandableRowDoubleClick: Be } = _y({
11036
+ }, [Fe, V, Ve]), { handleExpandableRowDoubleClick: Be } = Oy({
11019
11037
  treeView: w,
11020
11038
  currentModel: n,
11021
11039
  parentContext: d
@@ -11044,10 +11062,10 @@ function Dy(t, e) {
11044
11062
  ...c ? {} : { display: "none" }
11045
11063
  }),
11046
11064
  [N, c]
11047
- ), it = Ve !== void 0 && De, Ye = it && G !== void 0 && G !== null && G === Et, It = Q(() => typeof G != "number" || isNaN(G) || G < 0 ? (he == null ? void 0 : he.length) || 0 : G || 0, [G, he]), be = Q(() => (he == null ? void 0 : he.length) > 0 && (typeof G != "number" || isNaN(G) || G < 0) ? he == null ? void 0 : he.length : f ? Et : ue || Fy, [he == null ? void 0 : he.length, G, f, ue]);
11065
+ ), it = Ve !== void 0 && De, Ye = it && G !== void 0 && G !== null && G === Et, It = Q(() => typeof G != "number" || isNaN(G) || G < 0 ? (he == null ? void 0 : he.length) || 0 : G || 0, [G, he]), be = Q(() => (he == null ? void 0 : he.length) > 0 && (typeof G != "number" || isNaN(G) || G < 0) ? he == null ? void 0 : he.length : f ? Et : ue || Iy, [he == null ? void 0 : he.length, G, f, ue]);
11048
11066
  return /* @__PURE__ */ B(nr, { children: [
11049
11067
  !P && !p && /* @__PURE__ */ i(
11050
- Iy,
11068
+ _y,
11051
11069
  {
11052
11070
  filterType: u,
11053
11071
  formView: _,
@@ -11120,7 +11138,7 @@ function Dy(t, e) {
11120
11138
  ) })
11121
11139
  ] });
11122
11140
  }
11123
- const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11141
+ const Fc = jt(Ny), { useToken: My } = tt, _n = "legacy", Py = (t) => {
11124
11142
  const {
11125
11143
  visible: e,
11126
11144
  searchTreeRef: n,
@@ -11159,7 +11177,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11159
11177
  setSearchValues: T,
11160
11178
  searchParams: $,
11161
11179
  isActive: M
11162
- } = ge(Mt), { token: L } = ky(), { t: z } = Se(), V = Kt(
11180
+ } = ge(Mt), { token: L } = My(), { t: z } = Se(), V = Kt(
11163
11181
  At.FEATURE_SAVED_SEARCHES
11164
11182
  ), [P] = Ie(
11165
11183
  j.getHandler().searchAllIds
@@ -11343,7 +11361,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11343
11361
  ]);
11344
11362
  return e ? /* @__PURE__ */ B(nr, { children: [
11345
11363
  /* @__PURE__ */ i(bo, { showSummary: y !== "infinite", subtitle: fe, children: /* @__PURE__ */ i(
11346
- Dm,
11364
+ Nm,
11347
11365
  {
11348
11366
  domain: c,
11349
11367
  toolbar: a == null ? void 0 : a.toolbar,
@@ -11399,7 +11417,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11399
11417
  ] }) : null;
11400
11418
  }, Mt = od(
11401
11419
  null
11402
- ), My = (t) => {
11420
+ ), $y = (t) => {
11403
11421
  const {
11404
11422
  children: e,
11405
11423
  currentView: n,
@@ -11544,7 +11562,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11544
11562
  children: e
11545
11563
  }
11546
11564
  );
11547
- }, Py = () => !!ge(Mt), Vt = () => {
11565
+ }, Vy = () => !!ge(Mt), Vt = () => {
11548
11566
  const t = ge(Mt);
11549
11567
  return t || {
11550
11568
  title: "",
@@ -11651,7 +11669,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11651
11669
  permissionsLoading: !1,
11652
11670
  permissionsError: null
11653
11671
  };
11654
- }, $y = (t, e) => {
11672
+ }, Ly = (t, e) => {
11655
11673
  const {
11656
11674
  view_id: n,
11657
11675
  model: r,
@@ -11695,7 +11713,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11695
11713
  operator: v.operator
11696
11714
  } : {};
11697
11715
  return /* @__PURE__ */ i(
11698
- qf,
11716
+ Gf,
11699
11717
  {
11700
11718
  showPercent: v.showPercent,
11701
11719
  showTotal: v.showTotal,
@@ -11717,7 +11735,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11717
11735
  case "bar":
11718
11736
  case "pie":
11719
11737
  return /* @__PURE__ */ i(
11720
- lm,
11738
+ cm,
11721
11739
  {
11722
11740
  model: r,
11723
11741
  context: o,
@@ -11731,7 +11749,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11731
11749
  default:
11732
11750
  return /* @__PURE__ */ i(we, { children: `Graph ${m.type} not implemented` });
11733
11751
  }
11734
- }, kn = jt($y), Vy = (t) => {
11752
+ }, kn = jt(Ly), Hy = (t) => {
11735
11753
  const { model: e, domain: n = [], context: r = {}, view_id: o, manualIds: s } = t, [a, c] = F(!1), [l, d] = F(), [f, u] = F(), [m] = Ie(
11736
11754
  j.getHandler().readForView
11737
11755
  ), p = A(async () => {
@@ -11755,10 +11773,10 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11755
11773
  fetchData: p,
11756
11774
  graphData: f
11757
11775
  };
11758
- }, Ly = (t, e) => {
11776
+ }, By = (t, e) => {
11759
11777
  const { view_id: n, model: r, context: o, domain: s, manualIds: a, fixedHeight: c } = t, l = ge(
11760
11778
  Mt
11761
- ), { setGraphIsLoading: d = void 0 } = l || {}, { error: f, loading: u, graphData: m, fetchData: p } = Vy({
11779
+ ), { setGraphIsLoading: d = void 0 } = l || {}, { error: f, loading: u, graphData: m, fetchData: p } = Hy({
11762
11780
  view_id: n,
11763
11781
  model: r,
11764
11782
  domain: s,
@@ -11826,7 +11844,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11826
11844
  default:
11827
11845
  return /* @__PURE__ */ i(we, { children: `Graph ${m.type} not implemented` });
11828
11846
  }
11829
- }, Js = jt(Ly), { useToken: Hy } = tt, { Text: la } = cn, Ac = (t) => {
11847
+ }, Js = jt(By), { useToken: jy } = tt, { Text: la } = cn, Ac = (t) => {
11830
11848
  const {
11831
11849
  title: e,
11832
11850
  children: n,
@@ -11835,7 +11853,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11835
11853
  parms: s,
11836
11854
  tooltip: a,
11837
11855
  card: c = !1
11838
- } = t, { token: l } = Hy(), d = Object.keys(s).length > 0;
11856
+ } = t, { token: l } = jy(), d = Object.keys(s).length > 0;
11839
11857
  return /* @__PURE__ */ B(
11840
11858
  "div",
11841
11859
  {
@@ -11904,7 +11922,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
11904
11922
  ]
11905
11923
  }
11906
11924
  );
11907
- }, By = (t) => {
11925
+ }, Uy = (t) => {
11908
11926
  const [e, n] = Ie(
11909
11927
  j.getHandler().execute
11910
11928
  ), [r, o] = Ie(
@@ -12038,7 +12056,7 @@ const Fc = jt(Dy), { useToken: ky } = tt, _n = "legacy", Ny = (t) => {
12038
12056
  }
12039
12057
  );
12040
12058
  };
12041
- function jy(t) {
12059
+ function Wy(t) {
12042
12060
  const {
12043
12061
  action: e,
12044
12062
  model: n,
@@ -12200,14 +12218,14 @@ function jy(t) {
12200
12218
  ] }));
12201
12219
  return P ? (console.error(P), /* @__PURE__ */ i(Nt, { className: "mt-10", message: P, type: "error", banner: !0 })) : u ? /* @__PURE__ */ i(st, { style: { padding: "2rem" } }) : he();
12202
12220
  }
12203
- const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12221
+ const Rc = ut(Wy), { useToken: qy } = tt, Gy = 3 * 1e3, Yy = (t) => {
12204
12222
  const { ooui: e } = t, { refreshCounter: n } = Rr(), r = e.actionId !== void 0, o = e.actionField !== void 0;
12205
- return /* @__PURE__ */ i(qe, { ooui: e, children: r || o ? /* @__PURE__ */ i(Kn, { children: /* @__PURE__ */ i(Yy, { ooui: e }, n) }) : /* @__PURE__ */ i(Gy, { ooui: e }, n) });
12206
- }, Gy = (t) => {
12223
+ return /* @__PURE__ */ i(qe, { ooui: e, children: r || o ? /* @__PURE__ */ i(Kn, { children: /* @__PURE__ */ i(Jy, { ooui: e }, n) }) : /* @__PURE__ */ i(zy, { ooui: e }, n) });
12224
+ }, zy = (t) => {
12207
12225
  var S;
12208
- const { token: e } = Uy(), { ooui: n, value: r } = t, { locale: o } = Se(), { getContext: s } = Rr(), [a, c] = F(n.icon), [l, d] = F(n.color), [f, u] = F(null), [m, p] = F(!1), [g, h] = Ie(
12226
+ const { token: e } = qy(), { ooui: n, value: r } = t, { locale: o } = Se(), { getContext: s } = Rr(), [a, c] = F(n.icon), [l, d] = F(n.color), [f, u] = F(null), [m, p] = F(!1), [g, h] = Ie(
12209
12227
  j.getHandler().parseCondition
12210
- ), { fetchReferenceValues: y } = By({
12228
+ ), { fetchReferenceValues: y } = Uy({
12211
12229
  context: s == null ? void 0 : s()
12212
12230
  }), b = In(
12213
12231
  mn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
@@ -12317,8 +12335,8 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12317
12335
  }
12318
12336
  );
12319
12337
  return n.card ? /* @__PURE__ */ i(ro, { children: _ }) : _;
12320
- }, Yy = (t) => {
12321
- const { ooui: e } = t, { actionId: n, height: r } = e, { getFieldValue: o, activeId: s } = Rr(), a = e.actionField && parseInt(o(e.actionField) || "0", 10) || n, { actionData: c, treeShortcut: l, loading: d, error: f, fetchData: u } = jf(a), { openShortcut: m } = Or();
12338
+ }, Jy = (t) => {
12339
+ const { ooui: e } = t, { actionId: n, height: r } = e, { getFieldValue: o, activeId: s } = Rr(), a = e.actionField && parseInt(o(e.actionField) || "0", 10) || n, { actionData: c, treeShortcut: l, loading: d, error: f, fetchData: u } = Uf(a), { openShortcut: m } = Or();
12322
12340
  if (je(() => {
12323
12341
  !e || !a || u();
12324
12342
  }, [e, s, a]), f && f.message !== "active_id_not_found")
@@ -12337,14 +12355,14 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12337
12355
  children: [
12338
12356
  d && /* @__PURE__ */ i(Er, {}),
12339
12357
  !d && /* @__PURE__ */ i(we, { children: s ? (g == null ? void 0 : g.id) && /* @__PURE__ */ i(
12340
- zy,
12358
+ Ky,
12341
12359
  {
12342
12360
  fixedHeight: r,
12343
12361
  actionData: c,
12344
- autoRefresh: e.autoRefresh ? Wy : void 0
12362
+ autoRefresh: e.autoRefresh ? Gy : void 0
12345
12363
  }
12346
12364
  ) : /* @__PURE__ */ i(
12347
- Jy,
12365
+ Xy,
12348
12366
  {
12349
12367
  image: Ca.PRESENTED_IMAGE_SIMPLE,
12350
12368
  imageStyle: { height: 15 }
@@ -12353,7 +12371,7 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12353
12371
  ]
12354
12372
  }
12355
12373
  );
12356
- }, zy = ({
12374
+ }, Ky = ({
12357
12375
  actionData: t,
12358
12376
  fixedHeight: e,
12359
12377
  autoRefresh: n
@@ -12429,15 +12447,15 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12429
12447
  error: new Error("Unsupported view type: " + r.type)
12430
12448
  }
12431
12449
  );
12432
- }, Jy = Ot(Ca)`
12450
+ }, Xy = Ot(Ca)`
12433
12451
  &.ant-empty.ant-empty-normal {
12434
12452
  margin: 0;
12435
12453
  margin-top: 5px;
12436
12454
  }
12437
- `, Ky = (t) => {
12455
+ `, Qy = (t) => {
12438
12456
  const { ooui: e } = t;
12439
- return /* @__PURE__ */ i(qe, { type: "array", ...t, children: /* @__PURE__ */ i(Xy, { ooui: e }) });
12440
- }, Xy = (t) => {
12457
+ return /* @__PURE__ */ i(qe, { type: "array", ...t, children: /* @__PURE__ */ i(Zy, { ooui: e }) });
12458
+ }, Zy = (t) => {
12441
12459
  const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, s = o.filter((E) => E.operation !== "pendingRemove").map((E) => E.id), [a, c] = F([]), [l, d] = F(), [f, u] = F(!1), { relation: m, context: p, readOnly: g, field: h } = n, y = ge(Qe), { getContext: b } = y || {}, [v, x] = Ie(
12442
12460
  j.getHandler().evalDomain
12443
12461
  ), [C, w] = Ie(
@@ -12524,10 +12542,10 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12524
12542
  filterOption: (E, D) => D.label.toLowerCase().includes(E.toString().toLowerCase())
12525
12543
  }
12526
12544
  ) }) });
12527
- }, Qy = (t) => {
12545
+ }, ev = (t) => {
12528
12546
  const { ooui: e } = t;
12529
- return /* @__PURE__ */ i(Kn, { children: /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Zy, { ...t, ooui: e }) }) });
12530
- }, Zy = (t) => {
12547
+ return /* @__PURE__ */ i(Kn, { children: /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(tv, { ...t, ooui: e }) }) });
12548
+ }, tv = (t) => {
12531
12549
  var u, m, p;
12532
12550
  const { value: e, ooui: n } = t, r = ge(
12533
12551
  wn
@@ -12573,7 +12591,7 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12573
12591
  width: "100%"
12574
12592
  },
12575
12593
  children: s.map((g, h) => /* @__PURE__ */ i(
12576
- ev,
12594
+ nv,
12577
12595
  {
12578
12596
  button: g,
12579
12597
  processAction: r.processAction,
@@ -12595,7 +12613,7 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12595
12613
  children: c ? /* @__PURE__ */ i(Va, { label: n.label, icon: a, children: f }) : f
12596
12614
  }
12597
12615
  );
12598
- }, ev = ({
12616
+ }, nv = ({
12599
12617
  button: t,
12600
12618
  processAction: e,
12601
12619
  formContext: n,
@@ -12670,13 +12688,13 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12670
12688
  children: t.name
12671
12689
  }
12672
12690
  );
12673
- }, tv = 200, nv = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(rv, { ooui: t.ooui, value: t.value }) }), rv = (t) => {
12691
+ }, rv = 200, ov = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(sv, { ooui: t.ooui, value: t.value }) }), sv = (t) => {
12674
12692
  const { value: e, ooui: n } = t;
12675
12693
  if (!e)
12676
12694
  return null;
12677
12695
  const r = Array.isArray(e) ? String(e[0]) : String(e), o = Array.isArray(e) ? e[1] : e, s = {
12678
12696
  value: r,
12679
- size: n.width || tv,
12697
+ size: n.width || rv,
12680
12698
  bordered: n.border !== !1
12681
12699
  };
12682
12700
  return /* @__PURE__ */ B(dt, { direction: "vertical", align: "center", children: [
@@ -12693,7 +12711,7 @@ const Rc = ut(jy), { useToken: Uy } = tt, Wy = 3 * 1e3, qy = (t) => {
12693
12711
  }
12694
12712
  ) });
12695
12713
  };
12696
- function ov(t) {
12714
+ function iv(t) {
12697
12715
  const { ooui: e, responsiveBehaviour: n } = t, r = xt(e.icon || ""), { t: o } = Se(), s = e.title ? /* @__PURE__ */ B("span", { children: [
12698
12716
  r && /* @__PURE__ */ i("span", { style: { marginRight: "8px" }, children: Xt.createElement(r) }),
12699
12717
  e.title
@@ -12716,14 +12734,14 @@ function ov(t) {
12716
12734
  }
12717
12735
  );
12718
12736
  }
12719
- const sv = (t) => {
12737
+ const av = (t) => {
12720
12738
  switch (t) {
12721
12739
  case "form":
12722
12740
  return dr;
12723
12741
  case "tree":
12724
12742
  return Pr;
12725
12743
  case "notebook":
12726
- return Zv;
12744
+ return tb;
12727
12745
  case "group":
12728
12746
  return zc;
12729
12747
  case "label":
@@ -12731,7 +12749,7 @@ const sv = (t) => {
12731
12749
  case "char":
12732
12750
  return Ya;
12733
12751
  case "text":
12734
- return tb;
12752
+ return rb;
12735
12753
  case "button":
12736
12754
  return Fs;
12737
12755
  case "buttonGroup":
@@ -12739,7 +12757,7 @@ const sv = (t) => {
12739
12757
  case "selection":
12740
12758
  return Xa;
12741
12759
  case "many2one":
12742
- return Tv;
12760
+ return Av;
12743
12761
  case "boolean":
12744
12762
  return lf;
12745
12763
  case "integer":
@@ -12747,88 +12765,88 @@ const sv = (t) => {
12747
12765
  case "float":
12748
12766
  return Ls;
12749
12767
  case "progressbar":
12750
- return Lm;
12768
+ return Bm;
12751
12769
  case "date":
12752
- return pb;
12770
+ return gb;
12753
12771
  case "datetime":
12754
- return hb;
12772
+ return yb;
12755
12773
  case "time":
12756
- return gb;
12774
+ return vb;
12757
12775
  case "one2many":
12758
12776
  case "one2many_list":
12759
12777
  case "many2many":
12760
- return Gv;
12778
+ return zv;
12761
12779
  case "separator":
12762
- return rb;
12780
+ return sb;
12763
12781
  case "reference":
12764
- return vb;
12782
+ return wb;
12765
12783
  case "binary":
12766
- return xb;
12784
+ return Sb;
12767
12785
  case "image":
12768
12786
  return pf;
12769
12787
  case "icon":
12770
12788
  return ff;
12771
12789
  case "url":
12772
- return _b;
12790
+ return Ob;
12773
12791
  case "email":
12774
- return Eb;
12792
+ return Db;
12775
12793
  case "float_time":
12776
- return Jv;
12794
+ return Xv;
12777
12795
  case "fiber_grid":
12778
12796
  return gf;
12779
12797
  case "timeline":
12780
- return Ef;
12798
+ return Of;
12781
12799
  case "indicator":
12782
- return qy;
12800
+ return Yy;
12783
12801
  case "tags":
12784
- return Ky;
12802
+ return Qy;
12785
12803
  case "tag":
12786
- return Jm;
12804
+ return Xm;
12787
12805
  case "multicheckbox":
12788
- return Yb;
12789
- case "markdown":
12790
12806
  return Jb;
12807
+ case "markdown":
12808
+ return Xb;
12791
12809
  case "radio":
12792
- return Kb;
12793
- case "switch":
12794
12810
  return Qb;
12795
- case "steps":
12811
+ case "switch":
12796
12812
  return ew;
12813
+ case "steps":
12814
+ return nw;
12797
12815
  case "arrow_steps":
12798
- return rw;
12816
+ return sw;
12799
12817
  case "codeeditor":
12800
12818
  case "json":
12801
- return ow;
12819
+ return iw;
12802
12820
  case "comments_timeline":
12803
- return fw;
12821
+ return pw;
12804
12822
  case "html_preview":
12805
- return mw;
12823
+ return hw;
12806
12824
  case "alert":
12807
- return pw;
12825
+ return gw;
12808
12826
  case "spinner":
12809
12827
  return Zr;
12810
12828
  case "carousel":
12811
- return yw;
12812
- case "colorPicker":
12813
12829
  return bw;
12830
+ case "colorPicker":
12831
+ return xw;
12814
12832
  case "action_buttons":
12815
- return Qy;
12833
+ return ev;
12816
12834
  case "qrcode":
12817
- return nv;
12818
- case "card":
12819
12835
  return ov;
12836
+ case "card":
12837
+ return iv;
12820
12838
  default:
12821
12839
  return;
12822
12840
  }
12823
- }, iv = (t) => {
12824
- const { ooui: e } = t, { type: n } = e, r = sv(n);
12841
+ }, lv = (t) => {
12842
+ const { ooui: e } = t, { type: n } = e, r = av(n);
12825
12843
  return r ? sd(r, t) : null;
12826
- }, av = ({
12844
+ }, cv = ({
12827
12845
  item: t,
12828
12846
  responsiveBehaviour: e
12829
12847
  }) => ({
12830
12848
  gridColumnStart: "span " + (e ? 1 : t.colspan)
12831
- }), lv = ({
12849
+ }), dv = ({
12832
12850
  row: t,
12833
12851
  mustFillWithEmpties: e,
12834
12852
  numberOfColumns: n
@@ -12847,10 +12865,10 @@ const sv = (t) => {
12847
12865
  r.push(new or({ string: "" }));
12848
12866
  }
12849
12867
  }), r;
12850
- }, cv = ({
12868
+ }, uv = ({
12851
12869
  row: t,
12852
12870
  numberOfColumns: e
12853
- }) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), dv = (t, e) => {
12871
+ }) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), fv = (t, e) => {
12854
12872
  const n = t.map((r) => r instanceof or && r.fieldForLabel || r instanceof vd ? "auto" : "1fr");
12855
12873
  if (n.length < e) {
12856
12874
  const r = e - n.length;
@@ -12858,25 +12876,25 @@ const sv = (t) => {
12858
12876
  n.push("1fr");
12859
12877
  }
12860
12878
  return n.join(" ");
12861
- }, uv = (t, e) => {
12879
+ }, mv = (t, e) => {
12862
12880
  const n = e ? "1fr" : "auto", r = "auto";
12863
12881
  let o = "";
12864
12882
  for (let s = 0; s < t; s++)
12865
12883
  o += s % 2 ? n : r, s + 1 < t && (o += " ");
12866
12884
  return o;
12867
- }, fv = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), Ks = (t) => {
12885
+ }, pv = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), Ks = (t) => {
12868
12886
  const { container: e, responsiveBehaviour: n } = t, { rows: r } = e;
12869
12887
  let { columns: o } = e;
12870
- const s = fv(r);
12888
+ const s = pv(r);
12871
12889
  s < o && (o = s);
12872
12890
  let a = !1, c = [];
12873
12891
  const l = r.map((u, m) => {
12874
- const p = u.filter((y) => !y.invisible), g = cv({
12892
+ const p = u.filter((y) => !y.invisible), g = uv({
12875
12893
  row: p,
12876
12894
  numberOfColumns: o
12877
12895
  });
12878
12896
  let h = g;
12879
- return (m === 0 || !(u.length === 1 && u.some((y) => y.type === "group"))) && (h = lv({
12897
+ return (m === 0 || !(u.length === 1 && u.some((y) => y.type === "group"))) && (h = dv({
12880
12898
  row: g,
12881
12899
  numberOfColumns: o,
12882
12900
  mustFillWithEmpties: n
@@ -12884,17 +12902,17 @@ const sv = (t) => {
12884
12902
  "div",
12885
12903
  {
12886
12904
  style: {
12887
- ...av({ item: y, responsiveBehaviour: n }),
12905
+ ...cv({ item: y, responsiveBehaviour: n }),
12888
12906
  minWidth: 0
12889
12907
  },
12890
- children: iv({
12908
+ children: lv({
12891
12909
  ooui: y,
12892
12910
  responsiveBehaviour: n
12893
12911
  })
12894
12912
  },
12895
12913
  y.key
12896
12914
  )));
12897
- }), d = r.length === 1 ? dv(c, o) : uv(o, a);
12915
+ }), d = r.length === 1 ? fv(c, o) : mv(o, a);
12898
12916
  return /* @__PURE__ */ i("div", { style: {
12899
12917
  display: "grid",
12900
12918
  gridTemplateColumns: n ? "auto" : d,
@@ -12902,7 +12920,7 @@ const sv = (t) => {
12902
12920
  minHeight: 0,
12903
12921
  minWidth: 0
12904
12922
  }, children: l });
12905
- }, _c = Xt.createContext(null), mv = (t) => {
12923
+ }, _c = Xt.createContext(null), hv = (t) => {
12906
12924
  const { children: e, setTitle: n } = t;
12907
12925
  return /* @__PURE__ */ i(
12908
12926
  _c.Provider,
@@ -12913,12 +12931,12 @@ const sv = (t) => {
12913
12931
  children: e
12914
12932
  }
12915
12933
  );
12916
- }, pv = (t, e) => {
12934
+ }, gv = (t, e) => {
12917
12935
  const n = {};
12918
12936
  return Object.keys(t).forEach((r) => {
12919
12937
  n[r] = t[r], e != null && e[r] && (n[r].context = e[r]);
12920
12938
  }), n;
12921
- }, hv = 3 * 1e3, gv = (t) => {
12939
+ }, yv = 3 * 1e3, vv = (t) => {
12922
12940
  const {
12923
12941
  model: e,
12924
12942
  id: n,
@@ -12957,7 +12975,7 @@ const sv = (t) => {
12957
12975
  r,
12958
12976
  a
12959
12977
  ]);
12960
- je(() => (n && n > 0 && (o == null ? void 0 : o.length) && d && (g(), l.current = setInterval(g, hv)), () => {
12978
+ je(() => (n && n > 0 && (o == null ? void 0 : o.length) && d && (g(), l.current = setInterval(g, yv)), () => {
12961
12979
  m(), l.current && (clearInterval(l.current), l.current = null);
12962
12980
  }), [
12963
12981
  o,
@@ -12974,7 +12992,7 @@ const sv = (t) => {
12974
12992
  f(!0);
12975
12993
  }, []);
12976
12994
  return { pause: h, resume: y };
12977
- }, yv = () => {
12995
+ }, bv = () => {
12978
12996
  const [t, e] = F({}), n = A(
12979
12997
  (l, d, f = "error") => {
12980
12998
  e((u) => ({ ...u, [l]: { message: d, type: f } }));
@@ -13014,8 +13032,8 @@ const sv = (t) => {
13014
13032
  clearAllFieldMessages: a,
13015
13033
  setFieldMessagesArray: c
13016
13034
  };
13017
- }, vv = 800;
13018
- function bv(t, e) {
13035
+ }, wv = 800;
13036
+ function xv(t, e) {
13019
13037
  const {
13020
13038
  model: n,
13021
13039
  id: r,
@@ -13041,7 +13059,7 @@ function bv(t, e) {
13041
13059
  forcedValues: S = {},
13042
13060
  parentWidth: R,
13043
13061
  onMustRefreshParent: N
13044
- } = t, { t: E } = Se(), [D, k] = F(!1), [I, O] = F(), [T, $] = F(), [M] = _t.useForm(), [L, z] = F(), [V, P] = F(), H = ge(_c), [Y, U] = F(), [W, X] = F(!1), [re, ee] = F(0), fe = J(), q = J({}), ie = J({}), K = J({}), oe = J(!1), se = J(!1), G = J(!1), he = (R !== void 0 ? R : Y) < vv, me = ge(Qe), { activeId: le, getPlainValues: Z } = me || {}, xe = J(!1), He = ge(
13062
+ } = t, { t: E } = Se(), [D, k] = F(!1), [I, O] = F(), [T, $] = F(), [M] = _t.useForm(), [L, z] = F(), [V, P] = F(), H = ge(_c), [Y, U] = F(), [W, X] = F(!1), [re, ee] = F(0), fe = J(), q = J({}), ie = J({}), K = J({}), oe = J(!1), se = J(!1), G = J(!1), he = (R !== void 0 ? R : Y) < wv, me = ge(Qe), { activeId: le, getPlainValues: Z } = me || {}, xe = J(!1), He = ge(
13045
13063
  Mt
13046
13064
  ), {
13047
13065
  setFormIsSaving: Te = void 0,
@@ -13068,7 +13086,7 @@ function bv(t, e) {
13068
13086
  clearFieldMessage: Ne,
13069
13087
  clearAllFieldMessages: Re,
13070
13088
  setFieldMessagesArray: it
13071
- } = yv();
13089
+ } = bv();
13072
13090
  Qt(e, () => ({
13073
13091
  submitForm: Pt,
13074
13092
  getFields: Dt,
@@ -13309,7 +13327,7 @@ function bv(t, e) {
13309
13327
  if (Ce = (await j.getHandler().readObjects({
13310
13328
  model: n,
13311
13329
  ids: [be()],
13312
- fields: pv(te, Le == null ? void 0 : Le.contextForFields),
13330
+ fields: gv(te, Le == null ? void 0 : Le.contextForFields),
13313
13331
  context: v
13314
13332
  }))[0], b)
13315
13333
  return { values: Ce, defaultGetCalled: Oe };
@@ -13415,7 +13433,7 @@ function bv(t, e) {
13415
13433
  const Le = new _a(te);
13416
13434
  return Le.parse(ae, {
13417
13435
  readOnly: u || Oe,
13418
- values: wf(
13436
+ values: xf(
13419
13437
  {
13420
13438
  ...Ce,
13421
13439
  ...qt()
@@ -13452,7 +13470,7 @@ function bv(t, e) {
13452
13470
  target: ot(V),
13453
13471
  fields: V
13454
13472
  }), Ce = Object.keys(ae);
13455
- if (Ce.length !== 0 && !(Tf({
13473
+ if (Ce.length !== 0 && !(Ff({
13456
13474
  changedFields: Ce,
13457
13475
  formOoui: T,
13458
13476
  types: [
@@ -13491,7 +13509,7 @@ function bv(t, e) {
13491
13509
  });
13492
13510
  return;
13493
13511
  }
13494
- const Ce = Af({
13512
+ const Ce = If({
13495
13513
  values: {
13496
13514
  ...ot(V),
13497
13515
  context: {
@@ -13512,7 +13530,7 @@ function bv(t, e) {
13512
13530
  const Le = {
13513
13531
  ...ot(V),
13514
13532
  ...Oe.value
13515
- }, vt = xf({
13533
+ }, vt = Cf({
13516
13534
  values: Le,
13517
13535
  fields: V
13518
13536
  });
@@ -13544,7 +13562,7 @@ function bv(t, e) {
13544
13562
  }));
13545
13563
  }
13546
13564
  if (Oe.domain && Object.keys(Oe.domain).length > 0) {
13547
- const Le = Ff({
13565
+ const Le = Af({
13548
13566
  fieldsDomain: Oe.domain,
13549
13567
  fields: V
13550
13568
  });
@@ -13571,9 +13589,9 @@ function bv(t, e) {
13571
13589
  });
13572
13590
  if (typeof Ce == "object" && Ce !== null && Object.keys(Ce).length === 0 && b)
13573
13591
  Ye == null || Ye(be(), bt(), Wt());
13574
- else if (Ce.type && Ce.type === Vf)
13592
+ else if (Ce.type && Ce.type === Lf)
13575
13593
  Ye == null || Ye(be(), bt(), Wt());
13576
- else if (Ce.type && Ce.type === Bf)
13594
+ else if (Ce.type && Ce.type === jf)
13577
13595
  ye == null || ye(Ce);
13578
13596
  else if (Ce.type) {
13579
13597
  let Oe = {};
@@ -13601,7 +13619,7 @@ function bv(t, e) {
13601
13619
  context: ae
13602
13620
  }) {
13603
13621
  const Ce = (await j.getHandler().readObjects({
13604
- model: Hf,
13622
+ model: Bf,
13605
13623
  ids: [parseInt(te)],
13606
13624
  context: v
13607
13625
  }))[0];
@@ -13653,7 +13671,7 @@ function bv(t, e) {
13653
13671
  },
13654
13672
  [L, ct, V, ot, Ht]
13655
13673
  );
13656
- gv({
13674
+ vv({
13657
13675
  model: n,
13658
13676
  id: rt,
13659
13677
  context: v,
@@ -13790,7 +13808,7 @@ function bv(t, e) {
13790
13808
  }
13791
13809
  ) : null;
13792
13810
  }
13793
- const dr = jt(bv), Ec = (t) => {
13811
+ const dr = jt(xv), Ec = (t) => {
13794
13812
  const { visible: e, initialName: n, onSave: r, onCancel: o } = t, { t: s } = Se(), [a, c] = F(n), [l, d] = F(!1);
13795
13813
  ce(() => {
13796
13814
  c(n);
@@ -13843,7 +13861,7 @@ const dr = jt(bv), Ec = (t) => {
13843
13861
  ) }) })
13844
13862
  }
13845
13863
  );
13846
- }, wv = (t) => {
13864
+ }, Cv = (t) => {
13847
13865
  const {
13848
13866
  isFavourite: e,
13849
13867
  currentShortcutId: n,
@@ -13936,7 +13954,7 @@ const dr = jt(bv), Ec = (t) => {
13936
13954
  handleSaveFavourite: R,
13937
13955
  handleCancelNameModal: N,
13938
13956
  initialName: E
13939
- } = wv({
13957
+ } = Cv({
13940
13958
  isFavourite: p,
13941
13959
  currentShortcutId: h,
13942
13960
  defaultName: u,
@@ -13985,7 +14003,7 @@ const dr = jt(bv), Ec = (t) => {
13985
14003
  ] });
13986
14004
  }
13987
14005
  const O = f * 0.95;
13988
- return /* @__PURE__ */ B(mv, { setTitle: m, children: [
14006
+ return /* @__PURE__ */ B(hv, { setTitle: m, children: [
13989
14007
  /* @__PURE__ */ i(
13990
14008
  Rt,
13991
14009
  {
@@ -14145,7 +14163,7 @@ const dr = jt(bv), Ec = (t) => {
14145
14163
  }
14146
14164
  )
14147
14165
  ] });
14148
- }, xv = () => {
14166
+ }, Sv = () => {
14149
14167
  const [t, e] = Ie(
14150
14168
  j.getHandler().checkPermission
14151
14169
  );
@@ -14177,7 +14195,7 @@ const dr = jt(bv), Ec = (t) => {
14177
14195
  permissions: e,
14178
14196
  enabled: n = !0
14179
14197
  }) => {
14180
- const [r, o] = F(null), [s, a] = F(!0), [c, l] = F(null), d = J(!1), { checkPermissions: f, cancelRequest: u } = xv();
14198
+ const [r, o] = F(null), [s, a] = F(!0), [c, l] = F(null), d = J(!1), { checkPermissions: f, cancelRequest: u } = Sv();
14181
14199
  return je(() => !n || !t || !e.length ? void 0 : ((async () => {
14182
14200
  if (!d.current) {
14183
14201
  d.current = !0, a(!0), l(null);
@@ -14201,7 +14219,7 @@ const dr = jt(bv), Ec = (t) => {
14201
14219
  }),
14202
14220
  [r, s, c]
14203
14221
  );
14204
- }, { defaultAlgorithm: Cv, defaultSeed: Sv } = tt, Oc = Cv(Sv), Tv = (t) => {
14222
+ }, { defaultAlgorithm: Tv, defaultSeed: Fv } = tt, Oc = Tv(Fv), Av = (t) => {
14205
14223
  const { ooui: e } = t, { required: n } = e;
14206
14224
  return /* @__PURE__ */ i(qe, { required: n, type: "array", validator: async (o, s) => {
14207
14225
  if (!s)
@@ -14310,7 +14328,7 @@ const dr = jt(bv), Ec = (t) => {
14310
14328
  async function fe(G) {
14311
14329
  G.keyCode === 13 ? (G.preventDefault(), G.stopPropagation(), await W()) : G.code === "Backspace" && P !== void 0 && (G.preventDefault(), G.stopPropagation(), Y([void 0, ""]));
14312
14330
  }
14313
- const q = o && !a ? Fv : gt, ie = In(
14331
+ const q = o && !a ? Iv : gt, ie = In(
14314
14332
  mn.FEATURE_MANY2ONE_DISABLE_FOLDER
14315
14333
  ), K = In(
14316
14334
  mn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
@@ -14404,11 +14422,11 @@ const dr = jt(bv), Ec = (t) => {
14404
14422
  }
14405
14423
  )
14406
14424
  ] });
14407
- }, Fv = Ot(gt)`
14425
+ }, Iv = Ot(gt)`
14408
14426
  .ant-input {
14409
14427
  background-color: ${Oc.colorPrimaryBg};
14410
14428
  }
14411
- `, Av = ({
14429
+ `, Rv = ({
14412
14430
  title: t,
14413
14431
  content: e,
14414
14432
  onOk: n,
@@ -14455,7 +14473,7 @@ const dr = jt(bv), Ec = (t) => {
14455
14473
  const n = La(e);
14456
14474
  return n.render(
14457
14475
  /* @__PURE__ */ i(
14458
- Av,
14476
+ Rv,
14459
14477
  {
14460
14478
  ...t,
14461
14479
  onOk: async () => {
@@ -14624,7 +14642,7 @@ const dr = jt(bv), Ec = (t) => {
14624
14642
  }) => {
14625
14643
  const e = await (t == null ? void 0 : t());
14626
14644
  return e != null && e.succeed ? { succeed: !0, currentId: e.id } : { succeed: !1, currentId: void 0 };
14627
- }, Iv = ({
14645
+ }, _v = ({
14628
14646
  currentId: t,
14629
14647
  currentModel: e,
14630
14648
  onItemDuplicated: n,
@@ -14657,8 +14675,8 @@ const dr = jt(bv), Ec = (t) => {
14657
14675
  duplicatingItem: o,
14658
14676
  duplicate: c
14659
14677
  };
14660
- }, { useToken: Rv } = tt;
14661
- function _v(t) {
14678
+ }, { useToken: Ev } = tt;
14679
+ function Ov(t) {
14662
14680
  var re, ee, fe, q;
14663
14681
  const {
14664
14682
  title: e,
@@ -14683,7 +14701,7 @@ function _v(t) {
14683
14701
  formRef: C,
14684
14702
  onRefreshParentValues: w,
14685
14703
  currentId: _
14686
- } = t, { token: S } = Rv(), { t: R } = Se(), { activeModel: N } = Rr(), { permissions: E } = eo({
14704
+ } = t, { token: S } = Ev(), { t: R } = Se(), { activeModel: N } = Rr(), { permissions: E } = eo({
14687
14705
  model: o,
14688
14706
  permissions: ["create", "write", "unlink"],
14689
14707
  enabled: !0
@@ -14691,7 +14709,7 @@ function _v(t) {
14691
14709
  model: N,
14692
14710
  permissions: ["write"],
14693
14711
  enabled: !!N
14694
- }), k = (E == null ? void 0 : E.create) ?? !1, I = (E == null ? void 0 : E.write) ?? !1, O = (E == null ? void 0 : E.unlink) ?? !1, T = (D == null ? void 0 : D.write) ?? !1, { duplicatingItem: $, duplicate: M } = Iv({
14712
+ }), k = (E == null ? void 0 : E.create) ?? !1, I = (E == null ? void 0 : E.write) ?? !1, O = (E == null ? void 0 : E.unlink) ?? !1, T = (D == null ? void 0 : D.write) ?? !1, { duplicatingItem: $, duplicate: M } = _v({
14695
14713
  currentId: a === "form" ? _ : parseInt(g[0]),
14696
14714
  currentModel: o,
14697
14715
  onItemDuplicated: () => {
@@ -14930,19 +14948,19 @@ const Hc = ut(
14930
14948
  }
14931
14949
  );
14932
14950
  Hc.displayName = "DeleteButton";
14933
- const Xs = ut(_v), Ev = {
14951
+ const Xs = ut(Ov), Dv = {
14934
14952
  form: _a,
14935
14953
  tree: Ta,
14936
14954
  graph: kn
14937
14955
  };
14938
- function Ov(t) {
14956
+ function kv(t) {
14939
14957
  const e = t.map((r) => r.id);
14940
14958
  return t.filter((r, o) => {
14941
14959
  const { id: s } = r;
14942
14960
  return !e.includes(s, o + 1);
14943
14961
  });
14944
14962
  }
14945
- const Dv = (t) => {
14963
+ const Nv = (t) => {
14946
14964
  var Be, ye, ke;
14947
14965
  const { value: e, onChange: n, ooui: r, views: o } = t, { items: s = [] } = e || {}, { currentView: a, setCurrentView: c, itemIndex: l, setItemIndex: d } = ge(
14948
14966
  xn
@@ -14978,7 +14996,7 @@ const Dv = (t) => {
14978
14996
  var pe, Ee;
14979
14997
  n == null || n({
14980
14998
  fields: ((pe = o.get("form")) == null ? void 0 : pe.fields) || ((Ee = o.get("tree")) == null ? void 0 : Ee.fields),
14981
- items: Ov(ne)
14999
+ items: kv(ne)
14982
15000
  });
14983
15001
  }, de = async () => {
14984
15002
  await he(), l > K.length - 1 && l !== 0 && d(0);
@@ -15189,7 +15207,7 @@ const Dv = (t) => {
15189
15207
  }
15190
15208
  };
15191
15209
  function Ve() {
15192
- const ne = Ev[a];
15210
+ const ne = Dv[a];
15193
15211
  if (a === "graph")
15194
15212
  return Ra(o.get("graph").arch).string;
15195
15213
  {
@@ -15390,7 +15408,7 @@ const Dv = (t) => {
15390
15408
  t
15391
15409
  ]);
15392
15410
  return n;
15393
- }, kv = ({
15411
+ }, Mv = ({
15394
15412
  treeView: t,
15395
15413
  relation: e,
15396
15414
  context: n,
@@ -15560,7 +15578,7 @@ const Dv = (t) => {
15560
15578
  values: { ...u, id: m },
15561
15579
  treeValues: { ...u, id: m }
15562
15580
  } : h);
15563
- s(Cf(p));
15581
+ s(Sf(p));
15564
15582
  },
15565
15583
  readOnly: o
15566
15584
  }
@@ -15579,7 +15597,7 @@ const Wc = ({
15579
15597
  const { t: a } = Se(), { currentView: c, itemIndex: l, setItemIndex: d } = ge(
15580
15598
  xn
15581
15599
  ), { showErrorNotification: f } = Ct(), u = A(async () => {
15582
- const h = Nv({
15600
+ const h = Pv({
15583
15601
  selectedRowKeys: o,
15584
15602
  items: n
15585
15603
  });
@@ -15639,7 +15657,7 @@ const Wc = ({
15639
15657
  });
15640
15658
  }, [t, p, a]) };
15641
15659
  };
15642
- function Nv({
15660
+ function Pv({
15643
15661
  selectedRowKeys: t,
15644
15662
  items: e
15645
15663
  }) {
@@ -15791,10 +15809,10 @@ const qc = ({
15791
15809
  onCloseSearchModal: u,
15792
15810
  onSelectSearchValues: p
15793
15811
  };
15794
- }, Yc = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, ca = 400, Mv = (t, e) => t.filter((n) => {
15812
+ }, Yc = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, ca = 400, $v = (t, e) => t.filter((n) => {
15795
15813
  const r = e.find((o) => o.id === n.id);
15796
15814
  return r ? JSON.stringify(n.treeValues) !== JSON.stringify(r.treeValues) : !0;
15797
- }), Pv = ({
15815
+ }), Vv = ({
15798
15816
  items: t,
15799
15817
  height: e,
15800
15818
  onRowDoubleClick: n,
@@ -15940,7 +15958,7 @@ const qc = ({
15940
15958
  w.current = t;
15941
15959
  return;
15942
15960
  }
15943
- const ye = Mv(t, w.current);
15961
+ const ye = $v(t, w.current);
15944
15962
  w.current = t, q(), ye.length > 0 && (async () => {
15945
15963
  var Ae;
15946
15964
  const pe = ye.filter((Ne) => Ne.treeValues).map((Ne) => Ne.treeValues);
@@ -16008,7 +16026,7 @@ const qc = ({
16008
16026
  [n]
16009
16027
  );
16010
16028
  return ee ? /* @__PURE__ */ i(st, {}) : b === "paginated" ? /* @__PURE__ */ i(
16011
- Ry,
16029
+ Ey,
16012
16030
  {
16013
16031
  tableRef: C,
16014
16032
  onRowStyle: Ge,
@@ -16066,7 +16084,7 @@ const qc = ({
16066
16084
  onChangeTableType: v
16067
16085
  }
16068
16086
  );
16069
- }, $v = ["form", "tree", "graph"], Vv = (t) => {
16087
+ }, Lv = ["form", "tree", "graph"], Hv = (t) => {
16070
16088
  var Me, Ge, Ze;
16071
16089
  const e = J(null), { value: n, onChange: r, ooui: o, views: s, treeType: a, onUserSelectTreeType: c } = t, { items: l = [] } = n || {}, d = Uc({ one2manyItems: l }), { currentView: f, setCurrentView: u, itemIndex: m, setItemIndex: p, setTreeType: g } = ge(xn), {
16072
16090
  readOnly: h,
@@ -16089,7 +16107,7 @@ const qc = ({
16089
16107
  onChangeFirstVisibleRowIndex: M,
16090
16108
  onGetFirstVisibileRowIndex: L,
16091
16109
  onSelectionCheckboxClicked: z
16092
- } = kv({
16110
+ } = Mv({
16093
16111
  treeView: s.get("tree"),
16094
16112
  relation: y,
16095
16113
  context: D,
@@ -16230,7 +16248,7 @@ const qc = ({
16230
16248
  }
16231
16249
  ),
16232
16250
  f === "tree" && s.get("tree") && /* @__PURE__ */ i(
16233
- Pv,
16251
+ Vv,
16234
16252
  {
16235
16253
  gridRef: e,
16236
16254
  height: o.height,
@@ -16312,12 +16330,12 @@ const qc = ({
16312
16330
  limit: 0
16313
16331
  }
16314
16332
  ),
16315
- !$v.includes(f) && /* @__PURE__ */ B("span", { children: [
16333
+ !Lv.includes(f) && /* @__PURE__ */ B("span", { children: [
16316
16334
  "Unsupported view ",
16317
16335
  f
16318
16336
  ] })
16319
16337
  ] });
16320
- }, Lv = ({
16338
+ }, Bv = ({
16321
16339
  treeView: t,
16322
16340
  relation: e,
16323
16341
  context: n,
@@ -16380,10 +16398,10 @@ const qc = ({
16380
16398
  onGetFirstVisibileRowIndex: f,
16381
16399
  onSelectionCheckboxClicked: l
16382
16400
  };
16383
- }, Hv = 400, Bv = (t, e) => t.filter((n) => {
16401
+ }, jv = 400, Uv = (t, e) => t.filter((n) => {
16384
16402
  const r = e.find((o) => o.id === n.id);
16385
16403
  return r ? JSON.stringify(n.treeValues) !== JSON.stringify(r.treeValues) : !0;
16386
- }), jv = ({
16404
+ }), Wv = ({
16387
16405
  items: t,
16388
16406
  height: e,
16389
16407
  onRowDoubleClick: n,
@@ -16411,7 +16429,7 @@ const qc = ({
16411
16429
  w.current = t;
16412
16430
  return;
16413
16431
  }
16414
- const $ = Bv(t, w.current);
16432
+ const $ = Uv(t, w.current);
16415
16433
  w.current = t, x.current = {}, C.current && (C.current = {}), $.length > 0 && (async () => {
16416
16434
  var P;
16417
16435
  const z = $.filter((H) => H.treeValues).map((H) => H.treeValues);
@@ -16463,7 +16481,7 @@ const qc = ({
16463
16481
  Ts,
16464
16482
  {
16465
16483
  ref: v,
16466
- height: e || Hv,
16484
+ height: e || jv,
16467
16485
  columns: E,
16468
16486
  onRequestData: D,
16469
16487
  onRowDoubleClick: n,
@@ -16490,7 +16508,7 @@ const qc = ({
16490
16508
  }
16491
16509
  }
16492
16510
  );
16493
- }, Uv = ({
16511
+ }, qv = ({
16494
16512
  ooui: t,
16495
16513
  items: e,
16496
16514
  selectedRowKeys: n,
@@ -16503,7 +16521,7 @@ const qc = ({
16503
16521
  model: r,
16504
16522
  domain: s
16505
16523
  });
16506
- }, Wv = ["form", "tree", "graph"], qv = (t) => {
16524
+ }, Gv = ["form", "tree", "graph"], Yv = (t) => {
16507
16525
  var He, Te, ue;
16508
16526
  const e = J(null), { value: n, onChange: r, ooui: o, views: s } = t, { items: a = [] } = n || {}, c = Uc({ one2manyItems: a }), { currentView: l, setCurrentView: d, itemIndex: f, setItemIndex: u } = ge(
16509
16527
  xn
@@ -16528,13 +16546,13 @@ const qc = ({
16528
16546
  onChangeFirstVisibleRowIndex: O,
16529
16547
  onGetFirstVisibileRowIndex: T,
16530
16548
  onSelectionCheckboxClicked: $
16531
- } = Lv({
16549
+ } = Bv({
16532
16550
  treeView: s.get("tree"),
16533
16551
  relation: p,
16534
16552
  context: R,
16535
16553
  allRowsIds: c.filter((ve) => ve.id !== void 0).map((ve) => ve.id),
16536
16554
  gridRef: e
16537
- }), [, M] = Uv({
16555
+ }), [, M] = qv({
16538
16556
  ooui: E,
16539
16557
  model: p,
16540
16558
  items: c,
@@ -16667,7 +16685,7 @@ const qc = ({
16667
16685
  }
16668
16686
  ),
16669
16687
  l === "tree" && s.get("tree") && /* @__PURE__ */ i(
16670
- jv,
16688
+ Wv,
16671
16689
  {
16672
16690
  gridRef: e,
16673
16691
  height: o.height,
@@ -16747,12 +16765,12 @@ const qc = ({
16747
16765
  limit: 0
16748
16766
  }
16749
16767
  ),
16750
- !Wv.includes(l) && /* @__PURE__ */ B("span", { children: [
16768
+ !Gv.includes(l) && /* @__PURE__ */ B("span", { children: [
16751
16769
  "Unsupported view ",
16752
16770
  l
16753
16771
  ] })
16754
16772
  ] });
16755
- }, da = 30, Gv = (t) => {
16773
+ }, da = 30, zv = (t) => {
16756
16774
  var I;
16757
16775
  const { ooui: e } = t, { mode: n, relation: r, views: o, required: s, context: a } = e;
16758
16776
  let c;
@@ -16824,7 +16842,7 @@ const qc = ({
16824
16842
  d(!1);
16825
16843
  }
16826
16844
  };
16827
- return n && n.length > 0 ? c = n[0] : c = "tree", l ? /* @__PURE__ */ i(st, {}) : f ? (console.error(f), /* @__PURE__ */ i(Nt, { className: "mt-10", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ i(Xm, { initialView: c, children: /* @__PURE__ */ i(
16845
+ return n && n.length > 0 ? c = n[0] : c = "tree", l ? /* @__PURE__ */ i(st, {}) : f ? (console.error(f), /* @__PURE__ */ i(Nt, { className: "mt-10", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ i(Zm, { initialView: c, children: /* @__PURE__ */ i(
16828
16846
  qe,
16829
16847
  {
16830
16848
  required: s,
@@ -16841,7 +16859,7 @@ const qc = ({
16841
16859
  },
16842
16860
  ...t,
16843
16861
  children: /* @__PURE__ */ i(
16844
- Yv,
16862
+ Jv,
16845
16863
  {
16846
16864
  ooui: e,
16847
16865
  views: m,
@@ -16854,7 +16872,7 @@ const qc = ({
16854
16872
  )
16855
16873
  }
16856
16874
  ) });
16857
- }, Yv = (t) => {
16875
+ }, Jv = (t) => {
16858
16876
  const { ooui: e, value: n, userTreeTypePreferenceRef: r, onUserSelectTreeType: o } = t, { treeType: s, setTreeType: a } = $l(), c = In(
16859
16877
  mn.FEATURE_ONE2MANY_ENABLE_NEW_TABLE
16860
16878
  );
@@ -16877,7 +16895,7 @@ const qc = ({
16877
16895
  return /* @__PURE__ */ i(st, {});
16878
16896
  if (c)
16879
16897
  return /* @__PURE__ */ i(
16880
- Vv,
16898
+ Hv,
16881
16899
  {
16882
16900
  ...t,
16883
16901
  treeType: s,
@@ -16885,14 +16903,14 @@ const qc = ({
16885
16903
  }
16886
16904
  );
16887
16905
  if (s === "infinite")
16888
- return /* @__PURE__ */ i(qv, { ...t });
16906
+ return /* @__PURE__ */ i(Yv, { ...t });
16889
16907
  if (s === "legacy")
16890
- return /* @__PURE__ */ i(Dv, { ...t });
16891
- }, { useToken: zv } = tt, Jv = (t) => {
16908
+ return /* @__PURE__ */ i(Nv, { ...t });
16909
+ }, { useToken: Kv } = tt, Xv = (t) => {
16892
16910
  const { ooui: e } = t, { required: n } = e;
16893
- return /* @__PURE__ */ i(qe, { required: n, type: "number", ...t, children: /* @__PURE__ */ i(Kv, { ooui: e }) });
16894
- }, Kv = (t) => {
16895
- const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: s, required: a } = e, { token: c } = zv(), l = a && !s ? { backgroundColor: c.colorPrimaryBg } : void 0, d = J(), [f, u] = F(), m = ge(Qe), { elementHasLostFocus: p } = m || {};
16911
+ return /* @__PURE__ */ i(qe, { required: n, type: "number", ...t, children: /* @__PURE__ */ i(Qv, { ooui: e }) });
16912
+ }, Qv = (t) => {
16913
+ const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: s, required: a } = e, { token: c } = Kv(), l = a && !s ? { backgroundColor: c.colorPrimaryBg } : void 0, d = J(), [f, u] = F(), m = ge(Qe), { elementHasLostFocus: p } = m || {};
16896
16914
  ce(() => {
16897
16915
  u(kl(n));
16898
16916
  }, [n]);
@@ -16903,7 +16921,7 @@ const qc = ({
16903
16921
  d.current = b.target.value, u(b.target.value);
16904
16922
  }
16905
16923
  async function y() {
16906
- g(Vm(f)), await new Promise((b) => setTimeout(b, 300)), p == null || p();
16924
+ g(Hm(f)), await new Promise((b) => setTimeout(b, 300)), p == null || p();
16907
16925
  }
16908
16926
  return /* @__PURE__ */ i(
16909
16927
  gt,
@@ -16957,7 +16975,7 @@ function zc(t) {
16957
16975
  }
16958
16976
  );
16959
16977
  }
16960
- const { TabPane: Xv } = Sa, Qv = Ot(Sa)`
16978
+ const { TabPane: Zv } = Sa, eb = Ot(Sa)`
16961
16979
  .ant-tabs-content-holder {
16962
16980
  border-left: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
16963
16981
  border-right: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
@@ -16977,7 +16995,7 @@ const { TabPane: Xv } = Sa, Qv = Ot(Sa)`
16977
16995
  margin-bottom: 0 !important;
16978
16996
  }
16979
16997
  `;
16980
- function Zv(t) {
16998
+ function tb(t) {
16981
16999
  const { ooui: e, responsiveBehaviour: n } = t, r = e.pages, { token: o } = tt.useToken();
16982
17000
  function s(a) {
16983
17001
  if (a) {
@@ -16986,13 +17004,13 @@ function Zv(t) {
16986
17004
  }
16987
17005
  }
16988
17006
  return /* @__PURE__ */ i(
16989
- Qv,
17007
+ eb,
16990
17008
  {
16991
17009
  defaultActiveKey: "1",
16992
17010
  tabPosition: e.tabPosition,
16993
17011
  $borderRadius: `${o.borderRadius}px`,
16994
17012
  children: r.filter((a) => !a.invisible).map((a) => /* @__PURE__ */ i(
16995
- Xv,
17013
+ Zv,
16996
17014
  {
16997
17015
  tab: /* @__PURE__ */ B(we, { children: [
16998
17016
  s(a.icon),
@@ -17013,10 +17031,10 @@ function Zv(t) {
17013
17031
  }
17014
17032
  );
17015
17033
  }
17016
- const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17017
- const { ooui: e } = t, { id: n, readOnly: r, required: o, height: s, translatable: a } = e, { token: c } = eb(), l = o && !r ? { backgroundColor: c.colorPrimaryBg } : void 0, d = ge(Qe), { elementHasLostFocus: f } = d || {};
17034
+ const { useToken: nb } = tt, { TextArea: cs } = gt, rb = (t) => {
17035
+ const { ooui: e } = t, { id: n, readOnly: r, required: o, height: s, translatable: a } = e, { token: c } = nb(), l = o && !r ? { backgroundColor: c.colorPrimaryBg } : void 0, d = ge(Qe), { elementHasLostFocus: f } = d || {};
17018
17036
  return /* @__PURE__ */ i(qe, { required: o, ...t, children: a ? /* @__PURE__ */ i(
17019
- nb,
17037
+ ob,
17020
17038
  {
17021
17039
  field: n,
17022
17040
  height: s,
@@ -17036,7 +17054,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17036
17054
  onBlur: f
17037
17055
  }
17038
17056
  ) });
17039
- }, nb = ({
17057
+ }, ob = ({
17040
17058
  value: t,
17041
17059
  field: e,
17042
17060
  requiredStyle: n,
@@ -17126,13 +17144,13 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17126
17144
  }
17127
17145
  ) })
17128
17146
  ] });
17129
- }, rb = (t) => {
17147
+ }, sb = (t) => {
17130
17148
  const { ooui: e } = t, { label: n, icon: r } = e, o = xt(r || "");
17131
17149
  return /* @__PURE__ */ i(to, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ B(dt, { children: [
17132
17150
  o ? /* @__PURE__ */ i(o, {}) : null,
17133
17151
  n
17134
17152
  ] }) });
17135
- }, ob = ({
17153
+ }, ib = ({
17136
17154
  model: t,
17137
17155
  context: e,
17138
17156
  selectedRegistersToExport: n,
@@ -17152,7 +17170,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17152
17170
  ]);
17153
17171
  const { datas: v } = await j.getHandler().exportData({
17154
17172
  model: t,
17155
- fields: db({
17173
+ fields: fb({
17156
17174
  keys: y.selectedKeys,
17157
17175
  fields: a.current
17158
17176
  }),
@@ -17181,7 +17199,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17181
17199
  fields: []
17182
17200
  });
17183
17201
  for (const [w, _] of Object.entries(C))
17184
- C[w].string = ib({
17202
+ C[w].string = lb({
17185
17203
  parentTitle: v.string,
17186
17204
  title: _.string
17187
17205
  });
@@ -17192,7 +17210,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17192
17210
  },
17193
17211
  [e]
17194
17212
  ), m = A(async () => {
17195
- const y = await ab({ model: t, context: e }), b = await cb({
17213
+ const y = await cb({ model: t, context: e }), b = await ub({
17196
17214
  predefinedExports: y,
17197
17215
  fields: a.current,
17198
17216
  onGetFieldChilds: u
@@ -17279,7 +17297,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17279
17297
  for (const r of Object.keys(t)) {
17280
17298
  const o = t[r], s = Jc(o), a = o.is_function === !0, c = s && !a;
17281
17299
  n.push({
17282
- key: sb({ key: r, parentKey: e }),
17300
+ key: ab({ key: r, parentKey: e }),
17283
17301
  title: o.string,
17284
17302
  tooltip: o.help,
17285
17303
  required: o.required,
@@ -17287,7 +17305,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17287
17305
  });
17288
17306
  }
17289
17307
  return n;
17290
- }, Jc = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", sb = ({
17308
+ }, Jc = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", ab = ({
17291
17309
  parentKey: t,
17292
17310
  key: e
17293
17311
  }) => `${t ? t + "/" : ""}${e}`, ds = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), us = (t) => {
@@ -17295,10 +17313,10 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17295
17313
  return t;
17296
17314
  const e = t.split("/");
17297
17315
  return e[e.length - 1];
17298
- }, fs = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[ds(t)], ib = ({
17316
+ }, fs = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[ds(t)], lb = ({
17299
17317
  title: t,
17300
17318
  parentTitle: e
17301
- }) => `${e ? e + " → " : ""}${t}`, ab = async ({
17319
+ }) => `${e ? e + " → " : ""}${t}`, cb = async ({
17302
17320
  model: t,
17303
17321
  context: e
17304
17322
  }) => {
@@ -17318,24 +17336,24 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17318
17336
  key: o.find((l) => l.id === a).name
17319
17337
  }))
17320
17338
  }));
17321
- }, lb = ({
17339
+ }, db = ({
17322
17340
  fields: t,
17323
17341
  keys: e
17324
- }) => ub([
17342
+ }) => mb([
17325
17343
  ...new Set(
17326
17344
  e.filter((n) => {
17327
17345
  var r, o;
17328
17346
  return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[ds(n)]) != null && o[n]);
17329
17347
  }).map((n) => ds(n))
17330
17348
  )
17331
- ]), cb = async ({
17349
+ ]), ub = async ({
17332
17350
  predefinedExports: t,
17333
17351
  fields: e,
17334
17352
  onGetFieldChilds: n
17335
17353
  }) => {
17336
17354
  const r = t.flatMap(
17337
17355
  (a) => a.fields.map((c) => c.key)
17338
- ), o = lb({
17356
+ ), o = db({
17339
17357
  fields: e,
17340
17358
  keys: r
17341
17359
  }), s = [];
@@ -17349,13 +17367,13 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17349
17367
  );
17350
17368
  }
17351
17369
  return s;
17352
- }, db = ({
17370
+ }, fb = ({
17353
17371
  keys: t,
17354
17372
  fields: e
17355
17373
  }) => t.map((n) => {
17356
17374
  const r = us(n), s = fs(n, e)[r], a = Jc(s), c = s.is_function === !0;
17357
17375
  return a && !c ? `${n}/id` : n;
17358
- }), ub = (t) => {
17376
+ }), mb = (t) => {
17359
17377
  const e = /* @__PURE__ */ new Map(), n = [];
17360
17378
  for (const r of t) {
17361
17379
  const o = r.split("/");
@@ -17369,7 +17387,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17369
17387
  const s = r.split("/").length, a = o.split("/").length;
17370
17388
  return s - a;
17371
17389
  }), n;
17372
- }, fb = (t) => {
17390
+ }, pb = (t) => {
17373
17391
  const {
17374
17392
  visible: e,
17375
17393
  onClose: n,
@@ -17387,7 +17405,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17387
17405
  onGetPredefinedExports: p,
17388
17406
  onSavePredefinedExport: g,
17389
17407
  onRemovePredefinedExport: h
17390
- } = ob({
17408
+ } = ib({
17391
17409
  model: r,
17392
17410
  context: o,
17393
17411
  domain: c,
@@ -17411,7 +17429,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17411
17429
  onRemovePredefinedExport: h
17412
17430
  }
17413
17431
  );
17414
- }, mb = (t) => {
17432
+ }, hb = (t) => {
17415
17433
  const { ooui: e, showTime: n = !1 } = t, { required: r, readOnly: o = !1, timezone: s } = e;
17416
17434
  return /* @__PURE__ */ i(qe, { required: r, ...t, children: /* @__PURE__ */ i(
17417
17435
  Xd,
@@ -17423,16 +17441,16 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17423
17441
  timezone: s
17424
17442
  }
17425
17443
  ) });
17426
- }, Kc = ut(mb), pb = (t) => {
17444
+ }, Kc = ut(hb), gb = (t) => {
17427
17445
  const { ooui: e } = t;
17428
17446
  return /* @__PURE__ */ i(Kc, { ooui: e });
17429
- }, hb = (t) => {
17447
+ }, yb = (t) => {
17430
17448
  const { ooui: e } = t;
17431
17449
  return /* @__PURE__ */ i(Kc, { ooui: e, showTime: !0 });
17432
- }, gb = (t) => {
17450
+ }, vb = (t) => {
17433
17451
  const { ooui: e } = t;
17434
- return /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(yb, { ooui: e }) });
17435
- }, yb = (t) => {
17452
+ return /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(bb, { ooui: e }) });
17453
+ }, bb = (t) => {
17436
17454
  const { readOnly: e } = t.ooui;
17437
17455
  return /* @__PURE__ */ i(
17438
17456
  ns,
@@ -17445,10 +17463,10 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17445
17463
  disabled: e
17446
17464
  }
17447
17465
  );
17448
- }, vb = (t) => {
17466
+ }, wb = (t) => {
17449
17467
  const { ooui: e } = t, { required: n } = e;
17450
- return /* @__PURE__ */ i(qe, { required: n, ...t, children: /* @__PURE__ */ i(bb, { ooui: e }) });
17451
- }, bb = (t) => {
17468
+ return /* @__PURE__ */ i(qe, { required: n, ...t, children: /* @__PURE__ */ i(xb, { ooui: e }) });
17469
+ }, xb = (t) => {
17452
17470
  const { value: e, onChange: n, ooui: r } = t, { required: o, selectionValues: s, readOnly: a, domain: c } = r, l = e == null ? void 0 : e.split(","), [d, f] = F([]), [u, m] = F();
17453
17471
  return ce(() => {
17454
17472
  if (!e) {
@@ -17496,11 +17514,11 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17496
17514
  }
17497
17515
  ) })
17498
17516
  ] });
17499
- }, { useToken: wb } = tt, xb = (t) => {
17517
+ }, { useToken: Cb } = tt, Sb = (t) => {
17500
17518
  const { ooui: e } = t, { required: n } = e;
17501
- return /* @__PURE__ */ i(qe, { required: n, ...t, children: /* @__PURE__ */ i(Cb, { ooui: e }) });
17502
- }, Cb = (t) => {
17503
- const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: s, filenameField: a } = e, { token: c } = wb(), l = s && !o ? { backgroundColor: c.colorPrimaryBg } : void 0, d = J(null), { setFieldValue: f, getFieldValue: u } = ge(Qe) || {}, { t: m } = Se(), p = n ? uf(n) : "", g = (x) => {
17519
+ return /* @__PURE__ */ i(qe, { required: n, ...t, children: /* @__PURE__ */ i(Tb, { ooui: e }) });
17520
+ }, Tb = (t) => {
17521
+ const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: s, filenameField: a } = e, { token: c } = Cb(), l = s && !o ? { backgroundColor: c.colorPrimaryBg } : void 0, d = J(null), { setFieldValue: f, getFieldValue: u } = ge(Qe) || {}, { t: m } = Se(), p = n ? uf(n) : "", g = (x) => {
17504
17522
  r == null || r(x);
17505
17523
  };
17506
17524
  async function h() {
@@ -17574,7 +17592,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17574
17592
  )
17575
17593
  ] }) })
17576
17594
  ] });
17577
- }, Sb = (t) => {
17595
+ }, Fb = (t) => {
17578
17596
  const {
17579
17597
  numberOfAttachments: e,
17580
17598
  attachments: n = [],
@@ -17672,7 +17690,7 @@ const { useToken: eb } = tt, { TextArea: cs } = gt, tb = (t) => {
17672
17690
  }
17673
17691
  );
17674
17692
  };
17675
- function Tb(t) {
17693
+ function Ab(t) {
17676
17694
  const {
17677
17695
  attachments: e,
17678
17696
  disabled: n = !1,
@@ -17734,7 +17752,7 @@ function Tb(t) {
17734
17752
  p();
17735
17753
  }, []), /* @__PURE__ */ B(we, { children: [
17736
17754
  /* @__PURE__ */ i(
17737
- Sb,
17755
+ Fb,
17738
17756
  {
17739
17757
  numberOfAttachments: e.length,
17740
17758
  attachments: c,
@@ -17759,7 +17777,7 @@ function Tb(t) {
17759
17777
  )
17760
17778
  ] });
17761
17779
  }
17762
- const Fb = () => {
17780
+ const Ib = () => {
17763
17781
  const {
17764
17782
  treeType: t,
17765
17783
  totalItems: e = 0,
@@ -17843,10 +17861,10 @@ const Fb = () => {
17843
17861
  shouldDisableNavigation: y()
17844
17862
  };
17845
17863
  };
17846
- function Ab({ toolbar: t }) {
17864
+ function Rb({ toolbar: t }) {
17847
17865
  const e = ge(
17848
17866
  Ut
17849
- ), { t: n } = Se(), { onNextClick: r, onPreviousClick: o, shouldDisableNavigation: s } = Fb(), { showErrorNotification: a } = Ct(), {
17867
+ ), { t: n } = Se(), { onNextClick: r, onPreviousClick: o, shouldDisableNavigation: s } = Ib(), { showErrorNotification: a } = Ct(), {
17850
17868
  availableViews: c,
17851
17869
  currentView: l,
17852
17870
  setCurrentView: d,
@@ -18096,7 +18114,7 @@ function Ab({ toolbar: t }) {
18096
18114
  /* @__PURE__ */ i(un, { icon: /* @__PURE__ */ i(co, {}), ...H }),
18097
18115
  /* @__PURE__ */ i(un, { icon: /* @__PURE__ */ i(uo, {}), ...Y }),
18098
18116
  /* @__PURE__ */ i(
18099
- Tb,
18117
+ Ab,
18100
18118
  {
18101
18119
  disabled: L,
18102
18120
  attachments: N,
@@ -18109,7 +18127,7 @@ function Ab({ toolbar: t }) {
18109
18127
  /* @__PURE__ */ i(vo, { res_id: p })
18110
18128
  ] }) : null;
18111
18129
  }
18112
- const Ib = ut(Ab), Xc = ut(
18130
+ const _b = ut(Rb), Xc = ut(
18113
18131
  ({
18114
18132
  disabled: t,
18115
18133
  onPreviousClick: e,
@@ -18148,8 +18166,8 @@ const fa = (t, e) => ({
18148
18166
  ],
18149
18167
  values: { selection_associated_object: `${t},${e}` },
18150
18168
  forced_values: { res_model: t, res_id: e }
18151
- }), { useToken: Rb } = tt, Qc = (t) => {
18152
- const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: s = "" } = t, { id: a, readOnly: c, required: l } = e, { token: d } = Rb(), f = l && !c ? { backgroundColor: d.colorPrimaryBg } : void 0, u = ge(Qe), { elementHasLostFocus: m } = u || {}, [p, g] = F(!1), [h, y] = F(!1);
18169
+ }), { useToken: Eb } = tt, Qc = (t) => {
18170
+ const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: s = "" } = t, { id: a, readOnly: c, required: l } = e, { token: d } = Eb(), f = l && !c ? { backgroundColor: d.colorPrimaryBg } : void 0, u = ge(Qe), { elementHasLostFocus: m } = u || {}, [p, g] = F(!1), [h, y] = F(!1);
18153
18171
  ce(() => {
18154
18172
  c && !p && y(!1), !n && !c && (g(!0), y(!0));
18155
18173
  }, [p, c]);
@@ -18204,7 +18222,7 @@ const fa = (t, e) => ({
18204
18222
  }
18205
18223
  ) })
18206
18224
  ] });
18207
- }, _b = (t) => {
18225
+ }, Ob = (t) => {
18208
18226
  const { ooui: e } = t, { required: n } = e;
18209
18227
  return /* @__PURE__ */ i(qe, { required: n, ...t, children: /* @__PURE__ */ i(
18210
18228
  Qc,
@@ -18213,9 +18231,9 @@ const fa = (t, e) => ({
18213
18231
  valueValidator: (r) => r ? fu(r) : !1
18214
18232
  }
18215
18233
  ) });
18216
- }, Eb = (t) => {
18234
+ }, Db = (t) => {
18217
18235
  const { ooui: e } = t, { required: n } = e;
18218
- return /* @__PURE__ */ i(qe, { required: n, ...t, children: e.multi ? /* @__PURE__ */ i(Km, { readonly: e.readOnly, maxLength: e.size }) : /* @__PURE__ */ i(
18236
+ return /* @__PURE__ */ i(qe, { required: n, ...t, children: e.multi ? /* @__PURE__ */ i(Qm, { readonly: e.readOnly, maxLength: e.size }) : /* @__PURE__ */ i(
18219
18237
  Qc,
18220
18238
  {
18221
18239
  ooui: e,
@@ -18223,7 +18241,7 @@ const fa = (t, e) => ({
18223
18241
  valueValidator: (r) => r ? mu(r, { allow_display_name: !0 }) : !1
18224
18242
  }
18225
18243
  ) });
18226
- }, Ob = (t) => {
18244
+ }, kb = (t) => {
18227
18245
  const { visible: e, onIdSubmitted: n, onCancel: r, isSearching: o } = t, { t: s } = Se(), a = J(null), c = J(!1);
18228
18246
  function l(d) {
18229
18247
  const f = d.id.split(",").map((u) => parseInt(u.trim()));
@@ -18306,7 +18324,7 @@ const fa = (t, e) => ({
18306
18324
  }
18307
18325
  );
18308
18326
  };
18309
- function Db({ refreshGraph: t }) {
18327
+ function Nb({ refreshGraph: t }) {
18310
18328
  const { t: e } = Se(), {
18311
18329
  availableViews: n,
18312
18330
  currentView: r,
@@ -18365,7 +18383,7 @@ function Db({ refreshGraph: t }) {
18365
18383
  /* @__PURE__ */ i(vo, { searchParams: s })
18366
18384
  ] });
18367
18385
  }
18368
- const kb = (t) => {
18386
+ const Mb = (t) => {
18369
18387
  const {
18370
18388
  viewData: e,
18371
18389
  visible: n,
@@ -18490,7 +18508,7 @@ const kb = (t) => {
18490
18508
  const oe = f ? Js : kn;
18491
18509
  return /* @__PURE__ */ B(we, { children: [
18492
18510
  /* @__PURE__ */ i(bo, { title: e.title || e.name, children: /* @__PURE__ */ i(
18493
- Db,
18511
+ Nb,
18494
18512
  {
18495
18513
  refreshGraph: () => {
18496
18514
  W();
@@ -18529,12 +18547,12 @@ const kb = (t) => {
18529
18547
  context: o,
18530
18548
  domain: fn(D || [], s),
18531
18549
  limit: M ? N : void 0,
18532
- fixedHeight: nm,
18550
+ fixedHeight: rm,
18533
18551
  manualIds: P
18534
18552
  }
18535
18553
  )
18536
18554
  ] });
18537
- }, Nb = (t) => {
18555
+ }, Pb = (t) => {
18538
18556
  const {
18539
18557
  visible: e,
18540
18558
  formRef: n,
@@ -18551,7 +18569,7 @@ const kb = (t) => {
18551
18569
  setCurrentItemIndex: p
18552
18570
  } = t;
18553
18571
  return e ? /* @__PURE__ */ B(we, { children: [
18554
- /* @__PURE__ */ i(bo, { children: /* @__PURE__ */ i(Ib, { toolbar: a == null ? void 0 : a.toolbar }) }),
18572
+ /* @__PURE__ */ i(bo, { children: /* @__PURE__ */ i(_b, { toolbar: a == null ? void 0 : a.toolbar }) }),
18555
18573
  /* @__PURE__ */ i(
18556
18574
  dr,
18557
18575
  {
@@ -18571,7 +18589,7 @@ const kb = (t) => {
18571
18589
  }
18572
18590
  )
18573
18591
  ] }) : null;
18574
- }, Zs = Xt.createContext(null), Mb = (t) => {
18592
+ }, Zs = Xt.createContext(null), $b = (t) => {
18575
18593
  const [e, n] = F(!1), [r, o] = F(!1), { children: s, dashboardRef: a, openAction: c } = t;
18576
18594
  return /* @__PURE__ */ i(
18577
18595
  Zs.Provider,
@@ -18588,7 +18606,7 @@ const kb = (t) => {
18588
18606
  }
18589
18607
  );
18590
18608
  };
18591
- function Pb() {
18609
+ function Vb() {
18592
18610
  const { isLoading: t, dashboardRef: e, moveItemsEnabled: n, setMoveItemsEnabled: r } = ge(Zs), { permissions: o } = Vt(), { t: s } = Se();
18593
18611
  return /* @__PURE__ */ B(dt, { wrap: !0, children: [
18594
18612
  (o == null ? void 0 : o.write) && /* @__PURE__ */ i(
@@ -18638,21 +18656,21 @@ function Pb() {
18638
18656
  /* @__PURE__ */ i(vo, {})
18639
18657
  ] });
18640
18658
  }
18641
- const $b = (t) => {
18659
+ const Lb = (t) => {
18642
18660
  const { dashboardData: e, visible: n } = t, r = J(), o = ge(
18643
18661
  Ut
18644
18662
  ), { openShortcut: s } = o || {};
18645
18663
  return !e || !n ? null : /* @__PURE__ */ B(
18646
- Mb,
18664
+ $b,
18647
18665
  {
18648
18666
  dashboardRef: r,
18649
18667
  openAction: (a) => {
18650
18668
  s(a);
18651
18669
  },
18652
18670
  children: [
18653
- /* @__PURE__ */ i(bo, { children: /* @__PURE__ */ i(Pb, {}) }),
18671
+ /* @__PURE__ */ i(bo, { children: /* @__PURE__ */ i(Vb, {}) }),
18654
18672
  /* @__PURE__ */ i(
18655
- Gb,
18673
+ zb,
18656
18674
  {
18657
18675
  ref: r,
18658
18676
  model: e.model,
@@ -18665,7 +18683,7 @@ const $b = (t) => {
18665
18683
  }
18666
18684
  );
18667
18685
  };
18668
- async function Vb(t) {
18686
+ async function Hb(t) {
18669
18687
  const e = await Promise.all(
18670
18688
  t.map(async (r) => {
18671
18689
  try {
@@ -18680,7 +18698,7 @@ async function Vb(t) {
18680
18698
  info: e[o]
18681
18699
  })).filter((r) => r.info !== null);
18682
18700
  }
18683
- function Lb({
18701
+ function Bb({
18684
18702
  currentTab: t
18685
18703
  }) {
18686
18704
  const { currentView: e, searchParams: n, currentId: r, limit: o, currentPage: s, order: a } = Vt(), { currentTab: c } = Or(), l = t || c;
@@ -18701,8 +18719,8 @@ function Lb({
18701
18719
  let g = !!f;
18702
18720
  return p === "form" && (g = !!f && !!r), { shareUrl: m, canShare: g };
18703
18721
  }
18704
- const Hb = () => {
18705
- const { currentTab: t } = Or(), { title: e } = en(), { shareUrl: n } = Lb({ currentTab: t });
18722
+ const jb = () => {
18723
+ const { currentTab: t } = Or(), { title: e } = en(), { shareUrl: n } = Bb({ currentTab: t });
18706
18724
  ce(() => {
18707
18725
  if (n) {
18708
18726
  const r = new URL(n, window.location.origin);
@@ -18712,7 +18730,7 @@ const Hb = () => {
18712
18730
  document.title = e, t != null && t.title && t.title.length > 0 && (document.title = (t == null ? void 0 : t.title) + " - " + e);
18713
18731
  }, [t, e]);
18714
18732
  };
18715
- function Bb(t, e) {
18733
+ function Ub(t, e) {
18716
18734
  const {
18717
18735
  domain: n,
18718
18736
  model: r,
@@ -18790,7 +18808,7 @@ function Bb(t, e) {
18790
18808
  viewTuple: Be
18791
18809
  });
18792
18810
  }
18793
- const Ue = await Vb(Ve);
18811
+ const Ue = await Hb(Ve);
18794
18812
  for (const Be of Ue) {
18795
18813
  if (!Be)
18796
18814
  continue;
@@ -18967,7 +18985,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
18967
18985
  }
18968
18986
  }
18969
18987
  return N || oe ? /* @__PURE__ */ i(st, {}) : w ? /* @__PURE__ */ B(
18970
- My,
18988
+ $y,
18971
18989
  {
18972
18990
  title: a,
18973
18991
  currentView: w,
@@ -19002,7 +19020,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
19002
19020
  permissionsError: se,
19003
19021
  children: [
19004
19022
  /* @__PURE__ */ i(
19005
- jb,
19023
+ Wb,
19006
19024
  {
19007
19025
  availableViews: S,
19008
19026
  formRef: G,
@@ -19025,7 +19043,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
19025
19043
  }
19026
19044
  ),
19027
19045
  /* @__PURE__ */ i(
19028
- Ob,
19046
+ kb,
19029
19047
  {
19030
19048
  visible: U,
19031
19049
  onIdSubmitted: Fe,
@@ -19039,7 +19057,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
19039
19057
  }
19040
19058
  ) : null;
19041
19059
  }
19042
- const jb = ({
19060
+ const Wb = ({
19043
19061
  availableViews: t,
19044
19062
  formRef: e,
19045
19063
  currentId: n,
@@ -19058,11 +19076,11 @@ const jb = ({
19058
19076
  searchTreeNameSearch: h,
19059
19077
  setCurrentView: y,
19060
19078
  setCurrentId: b
19061
- }) => (Hb(), t.map((v) => {
19079
+ }) => (jb(), t.map((v) => {
19062
19080
  switch (v.type) {
19063
19081
  case "form":
19064
19082
  return /* @__PURE__ */ i(
19065
- Nb,
19083
+ Pb,
19066
19084
  {
19067
19085
  formRef: e,
19068
19086
  currentId: n,
@@ -19082,7 +19100,7 @@ const jb = ({
19082
19100
  );
19083
19101
  case "tree":
19084
19102
  return /* @__PURE__ */ i(
19085
- Ny,
19103
+ Py,
19086
19104
  {
19087
19105
  visible: r.type === v.type && r.view_id === v.view_id,
19088
19106
  limit: p,
@@ -19103,7 +19121,7 @@ const jb = ({
19103
19121
  );
19104
19122
  case "graph":
19105
19123
  return /* @__PURE__ */ i(
19106
- kb,
19124
+ Mb,
19107
19125
  {
19108
19126
  visible: r.type === v.type && r.view_id === v.view_id,
19109
19127
  viewData: v,
@@ -19120,7 +19138,7 @@ const jb = ({
19120
19138
  );
19121
19139
  case "dashboard":
19122
19140
  return /* @__PURE__ */ i(
19123
- $b,
19141
+ Lb,
19124
19142
  {
19125
19143
  dashboardData: v,
19126
19144
  visible: r.type === v.type && r.view_id === v.view_id
@@ -19128,8 +19146,8 @@ const jb = ({
19128
19146
  `${v.type}-${v.view_id}`
19129
19147
  );
19130
19148
  }
19131
- })), Zc = jt(Bb);
19132
- const Ub = vu(bu), Wb = (t) => {
19149
+ })), Zc = jt(Ub);
19150
+ const qb = vu(bu), Gb = (t) => {
19133
19151
  const { children: e = [], onPositionItemsChanged: n } = t, r = Xt.Children.map(
19134
19152
  e,
19135
19153
  (o) => {
@@ -19138,7 +19156,7 @@ const Ub = vu(bu), Wb = (t) => {
19138
19156
  }
19139
19157
  );
19140
19158
  return /* @__PURE__ */ i(
19141
- Ub,
19159
+ qb,
19142
19160
  {
19143
19161
  className: "layout",
19144
19162
  cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
@@ -19159,7 +19177,7 @@ const Ub = vu(bu), Wb = (t) => {
19159
19177
  }
19160
19178
  );
19161
19179
  }, zo = "line_ids";
19162
- function qb(t, e) {
19180
+ function Yb(t, e) {
19163
19181
  const { model: n, context: r = {}, id: o, configAction: s } = t, [a, c] = F([]), [l, d] = F(!1), [f, u] = F(), {
19164
19182
  setIsLoading: m,
19165
19183
  openAction: p,
@@ -19291,7 +19309,7 @@ function qb(t, e) {
19291
19309
  async function D() {
19292
19310
  p(s);
19293
19311
  }
19294
- return l ? /* @__PURE__ */ i(Zt, {}) : f ? (console.error(f), /* @__PURE__ */ i(Nt, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ i(Wb, { onPositionItemsChanged: E, children: a.map((k, I) => {
19312
+ return l ? /* @__PURE__ */ i(Zt, {}) : f ? (console.error(f), /* @__PURE__ */ i(Nt, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ i(Gb, { onPositionItemsChanged: E, children: a.map((k, I) => {
19295
19313
  const { actionData: O, values: T } = k, { position: $, id: M } = T, {
19296
19314
  actionId: L,
19297
19315
  actionType: z,
@@ -19434,10 +19452,10 @@ function qb(t, e) {
19434
19452
  );
19435
19453
  }) });
19436
19454
  }
19437
- const Gb = jt(qb), Yb = (t) => {
19455
+ const zb = jt(Yb), Jb = (t) => {
19438
19456
  const { ooui: e } = t;
19439
- return /* @__PURE__ */ i(qe, { type: "array", ...t, children: /* @__PURE__ */ i(zb, { ooui: e }) });
19440
- }, zb = (t) => {
19457
+ return /* @__PURE__ */ i(qe, { type: "array", ...t, children: /* @__PURE__ */ i(Kb, { ooui: e }) });
19458
+ }, Kb = (t) => {
19441
19459
  const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, s = o.filter((R) => R.operation !== "pendingRemove").map((R) => R.id), [a, c] = F([]), [l, d] = F(), [f, u] = F(!1), { relation: m, context: p, readOnly: g, field: h, columns: y } = n, b = ge(Qe), { getContext: v } = b || {};
19442
19460
  je(() => {
19443
19461
  C();
@@ -19518,7 +19536,7 @@ const Gb = jt(qb), Yb = (t) => {
19518
19536
  /* @__PURE__ */ i(ze, { onClick: _, disabled: s.length === 0, children: "Uncheck all" })
19519
19537
  ] })
19520
19538
  ] }) });
19521
- }, Jb = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(ed, {}) }), ed = jt(
19539
+ }, Xb = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(ed, {}) }), ed = jt(
19522
19540
  (t, e) => {
19523
19541
  const { value: n = "", onChange: r, ...o } = t, { ooui: s } = o, [a, c] = F(n), l = J(!1);
19524
19542
  ce(() => {
@@ -19608,25 +19626,25 @@ const Gb = jt(qb), Yb = (t) => {
19608
19626
  }
19609
19627
  );
19610
19628
  ed.displayName = "MarkdownInput";
19611
- const Kb = (t) => {
19629
+ const Qb = (t) => {
19612
19630
  const { ooui: e } = t, { required: n } = e;
19613
- return /* @__PURE__ */ i(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(Xb, { ...t }) });
19614
- }, Xb = (t) => {
19631
+ return /* @__PURE__ */ i(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(Zb, { ...t }) });
19632
+ }, Zb = (t) => {
19615
19633
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: s, direction: a } = e, c = Array.from(o.entries()), l = c && c.length && c.map((d) => {
19616
19634
  const [f, u] = d;
19617
19635
  return /* @__PURE__ */ i(ni, { value: f, children: u }, f);
19618
19636
  });
19619
19637
  return /* @__PURE__ */ i(ni.Group, { disabled: s, onChange: n, value: r, children: /* @__PURE__ */ i(dt, { direction: a, children: l }) });
19620
- }, Qb = (t) => {
19638
+ }, ew = (t) => {
19621
19639
  const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
19622
- return /* @__PURE__ */ i(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ i(Zb, { id: n, readOnly: r, required: o }) });
19623
- }, Zb = (t) => {
19640
+ return /* @__PURE__ */ i(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ i(tw, { id: n, readOnly: r, required: o }) });
19641
+ }, tw = (t) => {
19624
19642
  const { required: e, readOnly: n, ...r } = t;
19625
19643
  return /* @__PURE__ */ i("div", { className: "flex flex-row", children: /* @__PURE__ */ i(fd, { disabled: n, ...r }) });
19626
- }, ew = (t) => {
19644
+ }, nw = (t) => {
19627
19645
  const { ooui: e } = t, { required: n } = e;
19628
- return /* @__PURE__ */ i(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(tw, { ...t }) });
19629
- }, tw = (t) => {
19646
+ return /* @__PURE__ */ i(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(rw, { ...t }) });
19647
+ }, rw = (t) => {
19630
19648
  const { ooui: e, value: n } = t, { selectionValues: r, errorField: o, lastStep: s } = e, a = ge(Qe);
19631
19649
  let c = [], l;
19632
19650
  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));
@@ -19639,7 +19657,7 @@ const Kb = (t) => {
19639
19657
  },
19640
19658
  u[1]
19641
19659
  )) });
19642
- }, nw = (t) => {
19660
+ }, ow = (t) => {
19643
19661
  const {
19644
19662
  token: {
19645
19663
  colorPrimaryBg: e,
@@ -19702,7 +19720,7 @@ const Kb = (t) => {
19702
19720
  /* @__PURE__ */ i("div", { style: f }),
19703
19721
  /* @__PURE__ */ i("div", { style: u(p.active) })
19704
19722
  ] }, g)) });
19705
- }, rw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(nw, {}) }), ow = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(sw, { ...t }) }), sw = (t) => {
19723
+ }, sw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(ow, {}) }), iw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(aw, { ...t }) }), aw = (t) => {
19706
19724
  const { ooui: e, value: n, onChange: r } = t, { lang: o, height: s, readOnly: a } = e, c = ge(Qe), { elementHasLostFocus: l } = c || {}, d = A(
19707
19725
  (u) => {
19708
19726
  l && u.onDidBlurEditorWidget(() => l());
@@ -19730,13 +19748,13 @@ const Kb = (t) => {
19730
19748
  onChange: r
19731
19749
  }
19732
19750
  );
19733
- }, { Meta: iw } = ro, { Text: aw } = cn, lw = ({ email: t, size: e = 40, theme: n = "" }) => {
19751
+ }, { Meta: lw } = ro, { Text: cw } = cn, dw = ({ email: t, size: e = 40, theme: n = "" }) => {
19734
19752
  const r = `https://www.gravatar.com/avatar/${yu(
19735
19753
  t
19736
19754
  )}?s=${e}&d=${n}`;
19737
19755
  return /* @__PURE__ */ i(ba, { src: r, size: e });
19738
19756
  };
19739
- function cw({ text: t }) {
19757
+ function uw({ text: t }) {
19740
19758
  const e = t.split(`
19741
19759
  `);
19742
19760
  return /* @__PURE__ */ i("div", { children: e.map((n, r) => /* @__PURE__ */ B(nr, { children: [
@@ -19744,13 +19762,13 @@ function cw({ text: t }) {
19744
19762
  r !== e.length - 1 && /* @__PURE__ */ i("br", {})
19745
19763
  ] }, r)) });
19746
19764
  }
19747
- const dw = (t) => {
19765
+ const fw = (t) => {
19748
19766
  const { data: e, style: n } = t, { t: r } = Se();
19749
19767
  return /* @__PURE__ */ B(ro, { style: { ...n, textAlign: "start" }, children: [
19750
19768
  /* @__PURE__ */ i(
19751
- iw,
19769
+ lw,
19752
19770
  {
19753
- avatar: /* @__PURE__ */ i(lw, { email: e.email, theme: "mp" }),
19771
+ avatar: /* @__PURE__ */ i(dw, { email: e.email, theme: "mp" }),
19754
19772
  title: e.author,
19755
19773
  description: /* @__PURE__ */ B(dt, { direction: "horizontal", children: [
19756
19774
  /* @__PURE__ */ i("span", { title: e.date, children: mt(e.date).fromNow() }),
@@ -19759,12 +19777,12 @@ const dw = (t) => {
19759
19777
  style: { marginBottom: "5px" }
19760
19778
  }
19761
19779
  ),
19762
- /* @__PURE__ */ i(aw, { children: /* @__PURE__ */ i(cw, { text: e.text }) })
19780
+ /* @__PURE__ */ i(cw, { children: /* @__PURE__ */ i(uw, { text: e.text }) })
19763
19781
  ] }, e.id);
19764
19782
  }, ma = (t) => {
19765
19783
  const e = xt(t);
19766
19784
  return e && /* @__PURE__ */ i(e, {});
19767
- }, uw = (t) => {
19785
+ }, mw = (t) => {
19768
19786
  const { value: e, ooui: n } = t, r = (e || []).map((o) => {
19769
19787
  if (o.type === "action")
19770
19788
  return {
@@ -19776,7 +19794,7 @@ const dw = (t) => {
19776
19794
  color: "gray",
19777
19795
  position: o.event.isSender ? "left" : "right",
19778
19796
  label: o.event.date,
19779
- children: /* @__PURE__ */ i(dw, { data: o.event }),
19797
+ children: /* @__PURE__ */ i(fw, { data: o.event }),
19780
19798
  dot: o.icon ? ma(o.icon) : void 0
19781
19799
  };
19782
19800
  });
@@ -19794,7 +19812,7 @@ const dw = (t) => {
19794
19812
  }
19795
19813
  }
19796
19814
  );
19797
- }, fw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(uw, { ooui: t.ooui }) }), mw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Qd, {}) }), pw = (t) => {
19815
+ }, pw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(mw, { ooui: t.ooui }) }), hw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Qd, {}) }), gw = (t) => {
19798
19816
  const { ooui: e } = t, n = ge(Qe);
19799
19817
  let { title: r, text: o, alertType: s, icon: a, buttons: c } = e;
19800
19818
  if (e.fieldType && e.id) {
@@ -19827,9 +19845,9 @@ const dw = (t) => {
19827
19845
  icon: l(a)
19828
19846
  }
19829
19847
  );
19830
- }, { defaultAlgorithm: hw, defaultSeed: gw } = tt, pa = hw(gw), yw = (t) => {
19848
+ }, { defaultAlgorithm: yw, defaultSeed: vw } = tt, pa = yw(vw), bw = (t) => {
19831
19849
  const { ooui: e, responsiveBehaviour: n = !1 } = t;
19832
- return /* @__PURE__ */ i(vw, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ i(
19850
+ return /* @__PURE__ */ i(ww, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ i(
19833
19851
  Ks,
19834
19852
  {
19835
19853
  container: r.container,
@@ -19837,7 +19855,7 @@ const dw = (t) => {
19837
19855
  },
19838
19856
  o
19839
19857
  )) });
19840
- }, vw = Ot(md)`
19858
+ }, ww = Ot(md)`
19841
19859
  .slick-dots li button {
19842
19860
  background-color: ${pa.colorPrimary};
19843
19861
  }
@@ -19847,7 +19865,7 @@ const dw = (t) => {
19847
19865
  .slick-dots-bottom {
19848
19866
  bottom: -15px;
19849
19867
  }
19850
- `, bw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(ww, { ...t }) }), ww = (t) => {
19868
+ `, xw = (t) => /* @__PURE__ */ i(qe, { ...t, children: /* @__PURE__ */ i(Cw, { ...t }) }), Cw = (t) => {
19851
19869
  const { ooui: e, value: n, onChange: r } = t;
19852
19870
  return /* @__PURE__ */ i(
19853
19871
  wa,
@@ -19861,12 +19879,12 @@ const dw = (t) => {
19861
19879
  value: n
19862
19880
  }
19863
19881
  );
19864
- }, { Content: xw } = xa, { Title: Cw } = cn;
19865
- function Sw() {
19882
+ }, { Content: Sw } = xa, { Title: Tw } = cn;
19883
+ function Fw() {
19866
19884
  const { t } = Se();
19867
- return /* @__PURE__ */ i(xw, { className: "m-5 select-none", children: /* @__PURE__ */ i(Cw, { level: 5, children: t("welcome") }) });
19885
+ return /* @__PURE__ */ i(Sw, { className: "m-5 select-none", children: /* @__PURE__ */ i(Tw, { level: 5, children: t("welcome") }) });
19868
19886
  }
19869
- function Tw(t, e) {
19887
+ function Aw(t, e) {
19870
19888
  const { children: n } = t, [r, o] = F("welcome"), { t: s } = Se(), { showErrorNotification: a } = Ct(), { globalValues: c, rootContext: l } = en(), d = yo(
19871
19889
  At.FEATURE_LOGGABLE_ACTIONS
19872
19890
  ), [f, u] = Ie(
@@ -19880,7 +19898,7 @@ function Tw(t, e) {
19880
19898
  title: s("welcome"),
19881
19899
  key: "welcome",
19882
19900
  closable: !0,
19883
- content: /* @__PURE__ */ i(Sw, {}),
19901
+ content: /* @__PURE__ */ i(Fw, {}),
19884
19902
  action: null
19885
19903
  }
19886
19904
  ]), g = J(/* @__PURE__ */ new Map()), h = J();
@@ -20358,7 +20376,7 @@ function Tw(t, e) {
20358
20376
  });
20359
20377
  }
20360
20378
  return /* @__PURE__ */ i(
20361
- vm,
20379
+ wm,
20362
20380
  {
20363
20381
  openShortcut: N,
20364
20382
  openAction: D,
@@ -20376,7 +20394,7 @@ function Tw(t, e) {
20376
20394
  onReorderTabs: b,
20377
20395
  onUpdateTabTitle: v,
20378
20396
  children: /* @__PURE__ */ i(
20379
- Sm,
20397
+ Fm,
20380
20398
  {
20381
20399
  ref: h,
20382
20400
  globalValues: c,
@@ -20386,9 +20404,9 @@ function Tw(t, e) {
20386
20404
  }
20387
20405
  );
20388
20406
  }
20389
- const R0 = jt(Tw), { useToken: Fw } = tt;
20390
- function Aw(t) {
20391
- const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: s, onTitleChange: a } = t, { token: c } = Fw(), l = o ? c.colorBgContainer : c.colorPrimaryBg, [d, f] = F(!1), [u, m] = F(e), p = J(null), g = c.colorPrimaryActive, {
20407
+ const E0 = jt(Aw), { useToken: Iw } = tt;
20408
+ function Rw(t) {
20409
+ const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: s, onTitleChange: a } = t, { token: c } = Iw(), l = o ? c.colorBgContainer : c.colorPrimaryBg, [d, f] = F(!1), [u, m] = F(e), p = J(null), g = c.colorPrimaryActive, {
20392
20410
  attributes: h,
20393
20411
  listeners: y,
20394
20412
  setNodeRef: b,
@@ -20549,7 +20567,7 @@ function Aw(t) {
20549
20567
  }
20550
20568
  );
20551
20569
  }
20552
- function _0() {
20570
+ function O0() {
20553
20571
  const t = ge(
20554
20572
  Ut
20555
20573
  ), {
@@ -20639,7 +20657,7 @@ function _0() {
20639
20657
  items: g,
20640
20658
  strategy: _u,
20641
20659
  children: n.map((b) => /* @__PURE__ */ i(
20642
- Aw,
20660
+ Rw,
20643
20661
  {
20644
20662
  tabKey: b.key,
20645
20663
  label: b.title,
@@ -20655,7 +20673,7 @@ function _0() {
20655
20673
  }
20656
20674
  ) }) });
20657
20675
  }
20658
- function Iw(t) {
20676
+ function _w(t) {
20659
20677
  const { tab: e } = t, n = ge(
20660
20678
  Ut
20661
20679
  ), { activeKey: r } = n || {}, o = {
@@ -20663,21 +20681,21 @@ function Iw(t) {
20663
20681
  };
20664
20682
  return /* @__PURE__ */ i("div", { style: e.key !== r ? o : void 0, children: e.content });
20665
20683
  }
20666
- const Rw = Xt.memo(Iw, () => !0);
20667
- function E0() {
20684
+ const Ew = Xt.memo(_w, () => !0);
20685
+ function D0() {
20668
20686
  const t = ge(
20669
20687
  Ut
20670
- ), { tabs: e } = t || {}, n = (e == null ? void 0 : e.map((r) => /* @__PURE__ */ i(Rw, { tab: r }, r.key))) || null;
20688
+ ), { tabs: e } = t || {}, n = (e == null ? void 0 : e.map((r) => /* @__PURE__ */ i(Ew, { tab: r }, r.key))) || null;
20671
20689
  return /* @__PURE__ */ i(we, { children: n });
20672
20690
  }
20673
- const { useToken: _w } = tt, O0 = (t) => {
20691
+ const { useToken: Ow } = tt, k0 = (t) => {
20674
20692
  const {
20675
20693
  onRetrieveShortcuts: e,
20676
20694
  onCheckIsFavourite: n,
20677
20695
  onAddFavourite: r,
20678
20696
  onRemoveFavourite: o,
20679
20697
  onDropdownClosed: s
20680
- } = t, [a, c] = F(!1), [l, d] = F(), [f, u] = F(!1), [m, p] = F(""), { t: g } = Se(), { token: h } = _w(), y = J(null), b = ge(
20698
+ } = t, [a, c] = F(!1), [l, d] = F(), [f, u] = F(!1), [m, p] = F(""), { t: g } = Se(), { token: h } = Ow(), y = J(null), b = ge(
20681
20699
  Ut
20682
20700
  ), {
20683
20701
  openShortcut: v,
@@ -20853,86 +20871,86 @@ const { useToken: _w } = tt, O0 = (t) => {
20853
20871
  };
20854
20872
  export {
20855
20873
  ts as ACTION_TYPE_REPORT,
20856
- Bf as ACTION_TYPE_UPDATE_TOKEN,
20857
- Lf as ACTION_TYPE_URL,
20874
+ jf as ACTION_TYPE_UPDATE_TOKEN,
20875
+ Hf as ACTION_TYPE_URL,
20858
20876
  Rn as ACTION_TYPE_WINDOW,
20859
- Vf as ACTION_TYPE_WINDOW_CLOSE,
20877
+ Lf as ACTION_TYPE_WINDOW_CLOSE,
20860
20878
  ml as ACTION_TYPE_WIZARD,
20861
- Ib as ActionBar,
20879
+ _b as ActionBar,
20862
20880
  Zc as ActionView,
20863
- My as ActionViewProvider,
20864
- pw as Alert,
20865
- rw as ArrowStepsField,
20866
- xb as Binary,
20881
+ $y as ActionViewProvider,
20882
+ gw as Alert,
20883
+ sw as ArrowStepsField,
20884
+ Sb as Binary,
20867
20885
  lf as Boolean,
20868
20886
  Fs as Button,
20869
20887
  Uu as ButtonGroup,
20870
- ov as Card,
20871
- yw as Carousel,
20888
+ iv as Card,
20889
+ bw as Carousel,
20872
20890
  Ya as Char,
20873
- ow as CodeEditor,
20874
- bw as ColorPicker,
20875
- fw as CommentsTimelineField,
20891
+ iw as CodeEditor,
20892
+ xw as ColorPicker,
20893
+ pw as CommentsTimelineField,
20876
20894
  fl as ConfigContext,
20877
- $f as ConfigContextProvider,
20895
+ Vf as ConfigContextProvider,
20878
20896
  j as ConnectionProvider,
20879
- Sm as ContentRootProvider,
20880
- E0 as CurrentTabContent,
20897
+ Fm as ContentRootProvider,
20898
+ D0 as CurrentTabContent,
20881
20899
  Et as DEFAULT_SEARCH_LIMIT,
20882
- Gb as Dashboard,
20883
- Wb as DashboardGrid,
20884
- pb as Date,
20885
- hb as DateTime,
20886
- Eb as Email,
20887
- A0 as ErpAllFeatureKeys,
20900
+ zb as Dashboard,
20901
+ Gb as DashboardGrid,
20902
+ gb as Date,
20903
+ yb as DateTime,
20904
+ Db as Email,
20905
+ R0 as ErpAllFeatureKeys,
20888
20906
  At as ErpFeatureKeys,
20889
- fb as ExportModal,
20890
- O0 as FavouriteButton,
20907
+ pb as ExportModal,
20908
+ k0 as FavouriteButton,
20891
20909
  Ls as Float,
20892
- Jv as FloatTime,
20910
+ Xv as FloatTime,
20893
20911
  dr as Form,
20894
- Nb as FormActionView,
20912
+ Pb as FormActionView,
20895
20913
  Nn as FormModal,
20896
20914
  Ac as GraphCard,
20897
- qf as GraphIndicator,
20915
+ Gf as GraphIndicator,
20898
20916
  zc as Group,
20899
- mw as HTMLPreview,
20917
+ hw as HTMLPreview,
20900
20918
  ff as Icon,
20901
20919
  pf as Image,
20902
20920
  Cr as Integer,
20903
20921
  mo as Label,
20904
- Hf as MODEL_ACTIONS,
20905
- Tv as Many2one,
20906
- Jb as Markdown,
20907
- Yb as MultiCheckbox,
20908
- Zv as Notebook,
20909
- Gv as One2many,
20910
- Lm as ProgressBar,
20911
- nv as QRCode,
20912
- rv as QRCodeInput,
20913
- Kb as Radio,
20914
- vb as Reference,
20915
- R0 as RootView,
20922
+ Bf as MODEL_ACTIONS,
20923
+ Av as Many2one,
20924
+ Xb as Markdown,
20925
+ Jb as MultiCheckbox,
20926
+ tb as Notebook,
20927
+ zv as One2many,
20928
+ Bm as ProgressBar,
20929
+ ov as QRCode,
20930
+ sv as QRCodeInput,
20931
+ Qb as Radio,
20932
+ wb as Reference,
20933
+ E0 as RootView,
20916
20934
  Co as SearchFilter,
20917
20935
  To as SearchModal,
20918
20936
  Tc as SearchTree,
20919
20937
  Xa as Selection,
20920
- rb as Separator,
20938
+ sb as Separator,
20921
20939
  Zr as Spinner,
20922
- ew as Steps,
20923
- Qb as Switch,
20924
- Aw as Tab,
20925
- _0 as TabSelector,
20926
- Jm as Tag,
20927
- Ky as Tags,
20928
- tb as Text,
20929
- gb as Time,
20940
+ nw as Steps,
20941
+ ew as Switch,
20942
+ Rw as Tab,
20943
+ O0 as TabSelector,
20944
+ Xm as Tag,
20945
+ Qy as Tags,
20946
+ rb as Text,
20947
+ vb as Time,
20930
20948
  Pr as Tree,
20931
- Ny as TreeActionView,
20932
- _b as Url,
20933
- I0 as UserAllFeatureKeys,
20949
+ Py as TreeActionView,
20950
+ Ob as Url,
20951
+ _0 as UserAllFeatureKeys,
20934
20952
  mn as UserFeatureKeys,
20935
- N0 as dayjs,
20953
+ P0 as dayjs,
20936
20954
  rn as showConfirmDialog,
20937
20955
  cr as useBrowserVisibility
20938
20956
  };