@gisce/react-ooui 2.115.0-alpha.14 → 2.115.0-alpha.16

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.
@@ -3,9 +3,9 @@ var Ud = (t, e, n) => e in t ? jd(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var wi = (t, e, n) => (Ud(t, typeof e != "symbol" ? e + "" : e, n), n);
4
4
  import { jsx as s, jsxs as U, Fragment as Fe } from "react/jsx-runtime";
5
5
  import an, { useContext as Re, useState as _, useEffect as me, useRef as Q, memo as it, useCallback as x, useMemo as K, forwardRef as Ht, useImperativeHandle as Yt, Fragment as Yn, createContext as Wd, createElement as qd } from "react";
6
- import { Tooltip as Wt, theme as at, Typography as Kt, Form as Ft, Row as lt, Col as Je, Modal as Pt, Button as Qe, Dropdown as Fs, Menu as Ba, Space as yt, Spin as ct, Divider as jr, Input as Tt, Select as cn, Checkbox as Or, Empty as lr, Alert as Lt, Timeline as Ha, Progress as ja, Badge as zn, message as Ci, Popover as Yd, Avatar as Es, Tag as Os, ColorPicker as Ua, DatePicker as zd, TimePicker as Gd, InputNumber as Ur, Layout as Wa, Pagination as Kd, Statistic as Jd, Card as Wr, QRCode as Qd, Tabs as qa, Mentions as Xd, Radio as xi, Switch as Zd, Steps as Si, Carousel as eu } from "antd";
7
- import { Label as pr, Field as ls, Tree as Ya, Tags as Ti, Reference as Ai, Selection as uo, Many2one as Ds, Boolean as tu, parseContext as Fn, parseContextFields as nu, parseDomainFields as ru, transformDomainForChildWidget as Co, graphProcessor as za, graphFieldUtils as ou, Integer as cs, SearchFieldTypes as Rn, SearchFilter as Ga, parseGraph as Ka, Container as su, Form as Ja, KanbanCard as iu, Button as Qa, Kanban as Xa } from "@gisce/ooui";
8
- import au, { QuestionCircleOutlined as Za, ExclamationCircleOutlined as xo, LoadingOutlined as zt, DownOutlined as qr, CloseOutlined as xn, CheckOutlined as hr, TranslationOutlined as el, ExportOutlined as fo, ThunderboltOutlined as So, PrinterOutlined as To, EnterOutlined as Ao, SearchOutlined as gr, PlusOutlined as Dr, FolderOpenOutlined as Ms, DownloadOutlined as ks, ClearOutlined as yr, FormOutlined as Mr, TableOutlined as Ns, AreaChartOutlined as lu, CalendarOutlined as cu, BorderOuterOutlined as tl, FileAddOutlined as _o, CloseCircleFilled as du, FilterOutlined as rr, EditOutlined as $s, CopyOutlined as Yr, DeleteOutlined as Ps, InfoCircleOutlined as Io, ReloadOutlined as Ro, SaveOutlined as ds, UpOutlined as uu, PlusSquareOutlined as nl, MinusSquareOutlined as rl, StarFilled as fu, StarOutlined as mu, LeftOutlined as ol, RightOutlined as sl, ApiOutlined as pu, AlignLeftOutlined as hu, EyeOutlined as gu, LinkOutlined as _i, MessageOutlined as yu, SendOutlined as vu, SettingOutlined as bu, EllipsisOutlined as wu } from "@ant-design/icons";
6
+ import { Tooltip as Wt, theme as at, Typography as Kt, Form as Ft, Row as lt, Col as Je, Modal as Pt, Button as Qe, Dropdown as Es, Menu as Ba, Space as yt, Spin as ct, Divider as jr, Input as Tt, Select as cn, Checkbox as Or, Empty as lr, Alert as Lt, Timeline as Ha, Progress as ja, Badge as zn, message as Ci, Popover as Yd, Avatar as Os, Tag as Ds, ColorPicker as Ua, DatePicker as zd, TimePicker as Gd, InputNumber as Ur, Layout as Wa, Pagination as Kd, Statistic as Jd, Card as Wr, QRCode as Qd, Tabs as qa, Mentions as Xd, Radio as xi, Switch as Zd, Steps as Si, Carousel as eu } from "antd";
7
+ import { Label as pr, Field as cs, Tree as Ya, Tags as Ti, Reference as Ai, Selection as uo, Many2one as Co, Boolean as tu, parseContext as Fn, parseContextFields as nu, parseDomainFields as ru, transformDomainForChildWidget as xo, graphProcessor as za, graphFieldUtils as ou, Integer as ds, SearchFieldTypes as Rn, SearchFilter as Ga, parseGraph as Ka, Container as su, Form as Ja, KanbanCard as iu, Button as Qa, Kanban as Xa } from "@gisce/ooui";
8
+ import au, { QuestionCircleOutlined as Za, ExclamationCircleOutlined as So, LoadingOutlined as zt, DownOutlined as qr, CloseOutlined as xn, CheckOutlined as hr, TranslationOutlined as el, ExportOutlined as fo, ThunderboltOutlined as To, PrinterOutlined as Ao, EnterOutlined as _o, SearchOutlined as gr, PlusOutlined as Dr, FolderOpenOutlined as Ms, DownloadOutlined as ks, ClearOutlined as yr, FormOutlined as Mr, TableOutlined as Ns, AreaChartOutlined as lu, CalendarOutlined as cu, BorderOuterOutlined as tl, FileAddOutlined as Io, CloseCircleFilled as du, FilterOutlined as rr, EditOutlined as $s, CopyOutlined as Yr, DeleteOutlined as Ps, InfoCircleOutlined as Ro, ReloadOutlined as Fo, SaveOutlined as us, UpOutlined as uu, PlusSquareOutlined as nl, MinusSquareOutlined as rl, StarFilled as fu, StarOutlined as mu, LeftOutlined as ol, RightOutlined as sl, ApiOutlined as pu, AlignLeftOutlined as hu, EyeOutlined as gu, LinkOutlined as _i, MessageOutlined as yu, SendOutlined as vu, SettingOutlined as bu, EllipsisOutlined as wu } from "@ant-design/icons";
9
9
  import { Interweave as gn } from "interweave";
10
10
  import st from "dayjs";
11
11
  import { default as Px } from "dayjs";
@@ -25,7 +25,7 @@ import ll from "lodash/debounce";
25
25
  import { useDeepCompareEffect as Ge, useDeepCompareCallback as ft, useDeepCompareMemo as wt } from "use-deep-compare";
26
26
  import { nanoid as Vs } from "nanoid";
27
27
  import { generate as Wu } from "@ant-design/colors";
28
- import us from "antd/lib/typography/Title";
28
+ import fs from "antd/lib/typography/Title";
29
29
  import { Line as qu, Column as Yu, Pie as zu } from "@ant-design/plots";
30
30
  import { createRoot as cl } from "react-dom/client";
31
31
  import { fileTypeFromBuffer as Gu } from "file-type-buffer-browser";
@@ -46,10 +46,10 @@ import of from "@monaco-editor/react";
46
46
  import sf from "md5";
47
47
  import { WidthProvider as af, Responsive as lf } from "react-grid-layout";
48
48
  import "react-grid-layout/css/styles.css";
49
- import { useDroppable as cf, useSensors as ml, useSensor as fs, PointerSensor as pl, DndContext as hl, DragOverlay as df, pointerWithin as uf, closestCenter as gl, KeyboardSensor as ff } from "@dnd-kit/core";
49
+ import { useDroppable as cf, useSensors as ml, useSensor as ms, PointerSensor as pl, DndContext as hl, DragOverlay as df, pointerWithin as uf, closestCenter as gl, KeyboardSensor as ff } from "@dnd-kit/core";
50
50
  import { restrictToHorizontalAxis as mf } from "@dnd-kit/modifiers";
51
51
  import { useSortable as yl, SortableContext as vl, verticalListSortingStrategy as pf, sortableKeyboardCoordinates as hf, horizontalListSortingStrategy as gf } from "@dnd-kit/sortable";
52
- import { AnimatePresence as bl, motion as ms } from "framer-motion";
52
+ import { AnimatePresence as bl, motion as ps } from "framer-motion";
53
53
  import { useVirtualizer as yf } from "@tanstack/react-virtual";
54
54
  import vf from "focus-trap-react";
55
55
  const dt = an.createContext(null), bf = (t) => {
@@ -378,7 +378,7 @@ const { Text: Mf, Title: kf } = Kt, { useToken: Nf } = at, $f = {
378
378
  left: "justify-start",
379
379
  center: "justify-center",
380
380
  right: "justify-end"
381
- }, Fo = (t) => {
381
+ }, Eo = (t) => {
382
382
  const { ooui: e, align: n, responsiveBehaviour: r } = t, { label: o, tooltip: i, fieldForLabel: a, labelSize: c, labelType: l } = e, d = Re(dt);
383
383
  let u = a !== null && o.length > 1 ? o + " :" : o, m = "";
384
384
  if (!e.fieldForLabel && e._id) {
@@ -453,7 +453,7 @@ function Ze({
453
453
  if (!o)
454
454
  return F();
455
455
  const S = /* @__PURE__ */ s(
456
- Fo,
456
+ Eo,
457
457
  {
458
458
  ooui: new pr({
459
459
  name: d + "_label",
@@ -481,7 +481,7 @@ const { confirm: Pf } = Pt, un = ({
481
481
  }) => {
482
482
  Pf({
483
483
  title: o("confirmation"),
484
- icon: /* @__PURE__ */ s(xo, {}),
484
+ icon: /* @__PURE__ */ s(So, {}),
485
485
  centered: !0,
486
486
  content: e,
487
487
  okText: n || o("ok"),
@@ -575,8 +575,8 @@ const { confirm: Pf } = Pt, un = ({
575
575
  if (e.buttons.length === 0)
576
576
  return null;
577
577
  if (e.buttons.length > 1)
578
- return /* @__PURE__ */ s(Ze, { ooui: new ls({ defaultButton: n }), children: /* @__PURE__ */ U(
579
- Fs.Button,
578
+ return /* @__PURE__ */ s(Ze, { ooui: new cs({ defaultButton: n }), children: /* @__PURE__ */ U(
579
+ Es.Button,
580
580
  {
581
581
  disabled: !a || m,
582
582
  onClick: T,
@@ -665,7 +665,7 @@ function Ri() {
665
665
  height: e
666
666
  };
667
667
  }
668
- function Eo() {
668
+ function Oo() {
669
669
  const [t, e] = _(
670
670
  Ri()
671
671
  );
@@ -807,7 +807,7 @@ const Al = (t) => {
807
807
  destroyErrorNotification: n
808
808
  };
809
809
  }, _l = (t) => {
810
- const { visible: e, onCloseModal: n, model: r, id: o, field: i, onSubmitSucceed: a } = t, { modalWidth: c } = Eo(), { t: l } = Oe(), [d, f] = _([]), [u, m] = _(!1), [p, g] = _(!1), [h, y] = _({}), b = Q(), { showErrorNotification: v } = At();
810
+ const { visible: e, onCloseModal: n, model: r, id: o, field: i, onSubmitSucceed: a } = t, { modalWidth: c } = Oo(), { t: l } = Oe(), [d, f] = _([]), [u, m] = _(!1), [p, g] = _(!1), [h, y] = _({}), b = Q(), { showErrorNotification: v } = At();
811
811
  me(() => {
812
812
  e ? C() : y({});
813
813
  }, [e]);
@@ -936,11 +936,11 @@ const { info: jf } = Pt, Hn = (t) => {
936
936
  centered: !0,
937
937
  content: t
938
938
  });
939
- }, { useToken: Uf } = at, Oo = it(({ content: t }) => {
939
+ }, { useToken: Uf } = at, Do = it(({ content: t }) => {
940
940
  const { token: e } = Uf();
941
941
  return /* @__PURE__ */ s("div", { style: { color: e.colorTextDisabled }, children: t });
942
942
  });
943
- Oo.displayName = "AddonElement";
943
+ Do.displayName = "AddonElement";
944
944
  const { defaultAlgorithm: Wf, defaultSeed: qf } = at, js = Wf(qf), Nr = it(
945
945
  ({
946
946
  component: t,
@@ -951,7 +951,7 @@ const { defaultAlgorithm: Wf, defaultSeed: qf } = at, js = Wf(qf), Nr = it(
951
951
  disabled: i,
952
952
  ...a
953
953
  }) => {
954
- const c = x((l) => l ? /* @__PURE__ */ s(Oo, { content: l }) : null, []);
954
+ const c = x((l) => l ? /* @__PURE__ */ s(Do, { content: l }) : null, []);
955
955
  return /* @__PURE__ */ s(
956
956
  t,
957
957
  {
@@ -1877,7 +1877,7 @@ const Nn = ({
1877
1877
  var n;
1878
1878
  const { erpFeatures: e } = Jt();
1879
1879
  return !!((n = e[t]) != null && n.isEnabled) || !1;
1880
- }, Do = (t) => {
1880
+ }, Mo = (t) => {
1881
1881
  const { erpFeatures: e } = Jt();
1882
1882
  return e[t];
1883
1883
  }, ym = it(
@@ -2002,7 +2002,7 @@ function Vl(t, e) {
2002
2002
  window.open(a);
2003
2003
  }
2004
2004
  var Et = /* @__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.FEATURE_COMMENTS_SYSTEM = "comments_system", t))(Et || {});
2005
- const Fx = Object.values(Et), Bt = 80, Dn = "ir.actions.act_window", wm = "ir.actions.act_window_close", Bl = "ir.actions.wizard", ps = "ir.actions.report.xml", Cm = "ir.actions.act_url", xm = "ir.actions.actions", Sm = "ir.act.update_token", dn = (t) => {
2005
+ const Fx = Object.values(Et), Bt = 80, Dn = "ir.actions.act_window", wm = "ir.actions.act_window_close", Bl = "ir.actions.wizard", hs = "ir.actions.report.xml", Cm = "ir.actions.act_url", xm = "ir.actions.actions", Sm = "ir.act.update_token", dn = (t) => {
2006
2006
  const e = t.arch, n = t.fields, r = new Ya(n);
2007
2007
  return r.parse(e), r;
2008
2008
  };
@@ -2123,7 +2123,7 @@ const Us = (t, e, n, r = !1) => t.columns.map((i) => {
2123
2123
  };
2124
2124
  else if (g instanceof uo)
2125
2125
  d[f] = l[f];
2126
- else if (g instanceof Ds)
2126
+ else if (g instanceof Co)
2127
2127
  d[f] = l[f] && Array.isArray(l[f]) && l[f].length === 2 && {
2128
2128
  model: g.relation,
2129
2129
  id: l[f][0],
@@ -2242,7 +2242,7 @@ function Ul(t) {
2242
2242
  }
2243
2243
  return "legacy";
2244
2244
  }
2245
- const hs = (t) => {
2245
+ const gs = (t) => {
2246
2246
  if (!(!(t != null && t.arch) || !(t != null && t.fields)))
2247
2247
  try {
2248
2248
  const n = dn(t).columns.filter((r) => r.id && !r.invisible).map((r) => r.id);
@@ -2258,7 +2258,7 @@ const hs = (t) => {
2258
2258
  }, Im = (t, e) => {
2259
2259
  const { children: n, globalValues: r = {} } = t, o = Q(), i = Q(), [a, c] = _(!1), l = Re(
2260
2260
  Qt
2261
- ), { openAction: d } = l || {}, f = Q([]), { t: u } = Oe(), { showErrorNotification: m } = At(), p = Do(
2261
+ ), { openAction: d } = l || {}, f = Q([]), { t: u } = Oe(), { showErrorNotification: m } = At(), p = Mo(
2262
2262
  Et.FEATURE_LOGGABLE_ACTIONS
2263
2263
  ), [g, h] = Ee(
2264
2264
  Y.getHandler().logAction
@@ -2292,14 +2292,14 @@ const hs = (t) => {
2292
2292
  id: W
2293
2293
  } = N;
2294
2294
  if (!P && V) {
2295
- const Z = hs(V);
2295
+ const Z = gs(V);
2296
2296
  Z && Z.length > 0 && (L.fields = Z);
2297
2297
  }
2298
2298
  if (!P && V) {
2299
- const Z = hs(V);
2299
+ const Z = gs(V);
2300
2300
  Z && Z.length > 0 && (L.fields = Z);
2301
2301
  }
2302
- if (k !== ps) {
2302
+ if (k !== hs) {
2303
2303
  m({
2304
2304
  type: "error",
2305
2305
  title: "Error",
@@ -2361,7 +2361,7 @@ const hs = (t) => {
2361
2361
  view_id: P
2362
2362
  }) {
2363
2363
  const { type: H } = D;
2364
- if (A && f.current.push(A), H === ps)
2364
+ if (A && f.current.push(A), H === hs)
2365
2365
  return await T({
2366
2366
  reportData: D,
2367
2367
  fields: N,
@@ -2638,13 +2638,13 @@ const Fm = Ht(Im), Em = ({
2638
2638
  id: "action",
2639
2639
  name: l("action"),
2640
2640
  disabled: !m || m.length === 0,
2641
- icon: /* @__PURE__ */ s(So, {})
2641
+ icon: /* @__PURE__ */ s(To, {})
2642
2642
  },
2643
2643
  {
2644
2644
  id: "print",
2645
2645
  name: l("report"),
2646
2646
  disabled: !g || g.length === 0,
2647
- icon: /* @__PURE__ */ s(To, {})
2647
+ icon: /* @__PURE__ */ s(Ao, {})
2648
2648
  },
2649
2649
  {
2650
2650
  id: "divider",
@@ -2654,7 +2654,7 @@ const Fm = Ht(Im), Em = ({
2654
2654
  },
2655
2655
  {
2656
2656
  label: l("related"),
2657
- icon: /* @__PURE__ */ s(Ao, {}),
2657
+ icon: /* @__PURE__ */ s(_o, {}),
2658
2658
  items: p
2659
2659
  }
2660
2660
  ];
@@ -2910,7 +2910,7 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
2910
2910
  fields: (h == null ? void 0 : h()) ?? {},
2911
2911
  context: (y == null ? void 0 : y()) ?? {}
2912
2912
  })), g && g.length > 0 && (A.current = A.current.concat(
2913
- Co({
2913
+ xo({
2914
2914
  domain: g,
2915
2915
  widgetFieldName: d
2916
2916
  })
@@ -2925,12 +2925,6 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
2925
2925
  Z
2926
2926
  ]), le = x(
2927
2927
  async (ee) => {
2928
- if (!a) {
2929
- console.warn(
2930
- "Many2oneLazy: Cannot perform name_search without relation"
2931
- );
2932
- return;
2933
- }
2934
2928
  F(!0);
2935
2929
  try {
2936
2930
  await pe();
@@ -2983,10 +2977,6 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
2983
2977
  [he]
2984
2978
  ), _e = x(
2985
2979
  async (ee) => {
2986
- if (!a) {
2987
- console.warn("Many2oneLazy: Cannot fetch name without relation");
2988
- return;
2989
- }
2990
2980
  F(!0);
2991
2981
  try {
2992
2982
  const G = await te({
@@ -3016,10 +3006,6 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
3016
3006
  q(G);
3017
3007
  return;
3018
3008
  }
3019
- if (!a) {
3020
- console.warn("Many2oneLazy: Cannot fetch names without relation");
3021
- return;
3022
- }
3023
3009
  F(!0);
3024
3010
  try {
3025
3011
  const X = await te({
@@ -3999,7 +3985,7 @@ function rp({
3999
3985
  justifyContent: "center",
4000
3986
  overflow: "hidden"
4001
3987
  },
4002
- children: /* @__PURE__ */ U(us, { style: { fontSize: l, margin: 0, color: i }, children: [
3988
+ children: /* @__PURE__ */ U(fs, { style: { fontSize: l, margin: 0, color: i }, children: [
4003
3989
  p && /* @__PURE__ */ s(p, { style: { fontSize: l * 0.7 } }),
4004
3990
  p ? ` ${u}` : u
4005
3991
  ] })
@@ -4052,9 +4038,9 @@ function op({
4052
4038
  children: /* @__PURE__ */ U(lt, { align: "middle", children: [
4053
4039
  h && /* @__PURE__ */ s(Je, { style: { fontSize: f * 1, color: a, paddingRight: "10px" }, children: /* @__PURE__ */ s(h, {}) }),
4054
4040
  /* @__PURE__ */ U(Je, { children: [
4055
- /* @__PURE__ */ s(us, { style: { fontSize: f * 0.8, margin: 0, color: a }, children: h ? ` ${r}%` : `${r}%` }),
4041
+ /* @__PURE__ */ s(fs, { style: { fontSize: f * 0.8, margin: 0, color: a }, children: h ? ` ${r}%` : `${r}%` }),
4056
4042
  /* @__PURE__ */ s(
4057
- us,
4043
+ fs,
4058
4044
  {
4059
4045
  style: {
4060
4046
  fontSize: f * 0.4,
@@ -4399,7 +4385,7 @@ async function $i({
4399
4385
  }), c;
4400
4386
  });
4401
4387
  }
4402
- const jo = (t) => (e) => {
4388
+ const Uo = (t) => (e) => {
4403
4389
  const n = e.value.toLocaleString("es-ES", {
4404
4390
  useGrouping: !0
4405
4391
  });
@@ -4439,7 +4425,7 @@ const jo = (t) => (e) => {
4439
4425
  maxItemWidth: 1e3
4440
4426
  },
4441
4427
  tooltip: {
4442
- formatter: jo("default")
4428
+ formatter: Uo("default")
4443
4429
  }
4444
4430
  },
4445
4431
  pie: {
@@ -4452,7 +4438,7 @@ const jo = (t) => (e) => {
4452
4438
  maxItemWidth: 1e3
4453
4439
  },
4454
4440
  tooltip: {
4455
- formatter: jo("pie")
4441
+ formatter: Uo("pie")
4456
4442
  },
4457
4443
  interactions: [
4458
4444
  {
@@ -4467,7 +4453,7 @@ const jo = (t) => (e) => {
4467
4453
  maxItemWidth: 1e3
4468
4454
  },
4469
4455
  tooltip: {
4470
- formatter: jo("barGrouped")
4456
+ formatter: Uo("barGrouped")
4471
4457
  },
4472
4458
  xAxis: {
4473
4459
  label: {
@@ -4836,7 +4822,7 @@ const xp = ({
4836
4822
  }) => {
4837
4823
  Ep({
4838
4824
  title: n("unsavedChanges"),
4839
- icon: /* @__PURE__ */ s(xo, {}),
4825
+ icon: /* @__PURE__ */ s(So, {}),
4840
4826
  centered: !0,
4841
4827
  content: n("confirmCloseWithoutSave"),
4842
4828
  okText: n("closeWithoutSaving"),
@@ -4844,7 +4830,7 @@ const xp = ({
4844
4830
  onCancel: e,
4845
4831
  cancelText: n("cancel")
4846
4832
  });
4847
- }, Uo = {
4833
+ }, Wo = {
4848
4834
  tree: /* @__PURE__ */ s(Ns, {}),
4849
4835
  form: /* @__PURE__ */ s(Mr, {}),
4850
4836
  graph: /* @__PURE__ */ s(lu, {}),
@@ -4852,7 +4838,7 @@ const xp = ({
4852
4838
  kanban: /* @__PURE__ */ s(tl, {})
4853
4839
  };
4854
4840
  function Bi(t) {
4855
- return t ? (Uo == null ? void 0 : Uo[t.type]) || /* @__PURE__ */ s(Mr, {}) : /* @__PURE__ */ s(Mr, {});
4841
+ return t ? (Wo == null ? void 0 : Wo[t.type]) || /* @__PURE__ */ s(Mr, {}) : /* @__PURE__ */ s(Mr, {});
4856
4842
  }
4857
4843
  function zs(t) {
4858
4844
  const {
@@ -4981,7 +4967,7 @@ function ac(t) {
4981
4967
  return /* @__PURE__ */ s(
4982
4968
  Ut,
4983
4969
  {
4984
- icon: /* @__PURE__ */ s(_o, {}),
4970
+ icon: /* @__PURE__ */ s(Io, {}),
4985
4971
  tooltip: o("new"),
4986
4972
  onClick: i,
4987
4973
  disabled: e,
@@ -5119,7 +5105,7 @@ const { useToken: Mp } = at, kp = (t) => {
5119
5105
  availableViews: C,
5120
5106
  currentSavedSearch: T,
5121
5107
  setCurrentSavedSearch: w
5122
- } = g || {}, F = Do(
5108
+ } = g || {}, F = Mo(
5123
5109
  Et.FEATURE_LOGGABLE_ACTIONS
5124
5110
  ), [S] = Ee(
5125
5111
  Y.getHandler().logAction
@@ -5417,7 +5403,7 @@ const Np = "action", $p = ["active_id", "active_ids", "id"], Pp = ["target", "co
5417
5403
  }, fc = (t) => !t || typeof t != "object" ? {} : Object.fromEntries(
5418
5404
  Object.entries(t).filter(([e]) => $p.includes(e))
5419
5405
  ), Bp = Mn("IconExternalLink"), Hp = Mn("IconShare2");
5420
- function Mo({ res_id: t, searchParams: e }) {
5406
+ function ko({ res_id: t, searchParams: e }) {
5421
5407
  const n = Q(null), { currentView: r, limit: o, currentPage: i, order: a } = Vt(), c = {
5422
5408
  id: r.view_id,
5423
5409
  type: r.type
@@ -5632,10 +5618,10 @@ function jp({
5632
5618
  id: -1,
5633
5619
  model: g,
5634
5620
  report_name: "printscreen.list",
5635
- type: ps,
5621
+ type: hs,
5636
5622
  datas: {
5637
5623
  view_id: c == null ? void 0 : c.view_id,
5638
- fields: !(c != null && c.view_id) && hs(c),
5624
+ fields: !(c != null && c.view_id) && gs(c),
5639
5625
  model: g,
5640
5626
  ids: se
5641
5627
  }
@@ -5764,7 +5750,7 @@ function jp({
5764
5750
  /* @__PURE__ */ s(
5765
5751
  Ut,
5766
5752
  {
5767
- icon: /* @__PURE__ */ s(Io, {}),
5753
+ icon: /* @__PURE__ */ s(Ro, {}),
5768
5754
  tooltip: L("showLogs"),
5769
5755
  disabled: !(d && (d == null ? void 0 : d.length) === 1) || S,
5770
5756
  onClick: () => Gs(g, d[0].id, L)
@@ -5773,7 +5759,7 @@ function jp({
5773
5759
  /* @__PURE__ */ s(
5774
5760
  Ut,
5775
5761
  {
5776
- icon: /* @__PURE__ */ s(Ro, {}),
5762
+ icon: /* @__PURE__ */ s(Fo, {}),
5777
5763
  tooltip: L("refresh"),
5778
5764
  disabled: m || u || S,
5779
5765
  onClick: B
@@ -5793,8 +5779,8 @@ function jp({
5793
5779
  )
5794
5780
  ] }),
5795
5781
  /* @__PURE__ */ s(Dt, {}),
5796
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(So, {}), ...ne }),
5797
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...Z }),
5782
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...ne }),
5783
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(Ao, {}), ...Z }),
5798
5784
  H && /* @__PURE__ */ U(Fe, { children: [
5799
5785
  /* @__PURE__ */ s(Dt, {}),
5800
5786
  /* @__PURE__ */ s(
@@ -5837,7 +5823,7 @@ function jp({
5837
5823
  )
5838
5824
  ] }),
5839
5825
  /* @__PURE__ */ s(Dt, {}),
5840
- /* @__PURE__ */ s(Mo, { searchParams: v })
5826
+ /* @__PURE__ */ s(ko, { searchParams: v })
5841
5827
  ] });
5842
5828
  }
5843
5829
  const mc = it(jp), pc = it(() => /* @__PURE__ */ s(
@@ -6255,7 +6241,7 @@ const Kp = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(vc,
6255
6241
  let r = n;
6256
6242
  e.selectionValues.size ? r = e.selectionValues.get(n) : Array.isArray(n) && (r = n[1]);
6257
6243
  const o = r.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), i = br(r);
6258
- return /* @__PURE__ */ s(Wt, { title: r, children: /* @__PURE__ */ s(Es, { alt: r, style: { backgroundColor: i }, children: o }) });
6244
+ return /* @__PURE__ */ s(Wt, { title: r, children: /* @__PURE__ */ s(Os, { alt: r, style: { backgroundColor: i }, children: o }) });
6259
6245
  };
6260
6246
  function nh(t) {
6261
6247
  return t.length === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1);
@@ -6313,7 +6299,7 @@ const rh = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(bc,
6313
6299
  borderWidth: "1px"
6314
6300
  }, e = r.background;
6315
6301
  }
6316
- return /* @__PURE__ */ s(Os, { ...t, style: n, color: e, children: t.children });
6302
+ return /* @__PURE__ */ s(Ds, { ...t, style: n, color: e, children: t.children });
6317
6303
  }, wc = ({
6318
6304
  emails: t,
6319
6305
  handleClose: e
@@ -6322,7 +6308,7 @@ const rh = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(bc,
6322
6308
  return null;
6323
6309
  const n = typeof t == "string" ? t.split(/[,;]/).map((r) => r.trim()) : t;
6324
6310
  return /* @__PURE__ */ s(Fe, { children: n.map((r, o) => /* @__PURE__ */ s(
6325
- Os,
6311
+ Ds,
6326
6312
  {
6327
6313
  closable: !!e,
6328
6314
  color: Qu.isEmail(r, { allow_display_name: !0 }) ? void 0 : "error",
@@ -6588,7 +6574,7 @@ const rh = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(bc,
6588
6574
  ),
6589
6575
  [o]
6590
6576
  );
6591
- }, ko = {
6577
+ }, No = {
6592
6578
  boolean: ih,
6593
6579
  many2one: Hi,
6594
6580
  many2one_lazy: Hi,
@@ -6673,7 +6659,7 @@ const Lr = ({
6673
6659
  if (t)
6674
6660
  return Us(
6675
6661
  t,
6676
- { ...ko },
6662
+ { ...No },
6677
6663
  e,
6678
6664
  f
6679
6665
  );
@@ -6924,12 +6910,12 @@ const Lr = ({
6924
6910
  format: "HH:mm:ss",
6925
6911
  displayFormat: "HH:mm:ss",
6926
6912
  placeholder: "__:__:__"
6927
- }, Wo = (t) => new RegExp(
6913
+ }, qo = (t) => new RegExp(
6928
6914
  "^" + t.replace(/HH/g, "\\d{2}").replace(/mm/g, "\\d{2}").replace(/ss/g, "\\d{2}").replace(/:/g, "\\:") + "$"
6929
6915
  ), Rr = {
6930
- hours: Wo("HH"),
6931
- hoursMinutes: Wo("HH:mm"),
6932
- hoursMinutesSeconds: Wo("HH:mm:ss")
6916
+ hours: qo("HH"),
6917
+ hoursMinutes: qo("HH:mm"),
6918
+ hoursMinutesSeconds: qo("HH:mm:ss")
6933
6919
  }, Th = (t) => !t || t.trim() === "" ? !0 : Rr.hours.test(t) || Rr.hoursMinutes.test(t), Ah = (t, e, n = !1) => {
6934
6920
  if (!t || t.trim() === "") {
6935
6921
  const r = e.format("HH"), o = e.format("mm"), i = e.format("ss");
@@ -6987,7 +6973,7 @@ const Lr = ({
6987
6973
  handleKeyDown: r,
6988
6974
  handleBlur: o
6989
6975
  };
6990
- }, gs = ({
6976
+ }, ys = ({
6991
6977
  value: t,
6992
6978
  onChange: e,
6993
6979
  numberOfSelectsToHide: n = 2,
@@ -7028,18 +7014,18 @@ const Lr = ({
7028
7014
  );
7029
7015
  }, Ih = (t) => {
7030
7016
  const { ooui: e, showLabel: n = !1 } = t, { label: r, id: o } = e, i = [
7031
- new ls({
7017
+ new cs({
7032
7018
  name: o + "#date",
7033
7019
  label: ""
7034
7020
  }),
7035
- new ls({
7021
+ new cs({
7036
7022
  name: o + "#time",
7037
7023
  label: ""
7038
7024
  })
7039
7025
  ];
7040
7026
  return /* @__PURE__ */ U(Fe, { children: [
7041
7027
  n && /* @__PURE__ */ s(
7042
- Fo,
7028
+ Eo,
7043
7029
  {
7044
7030
  ooui: new pr({
7045
7031
  name: o + "_label",
@@ -7065,7 +7051,7 @@ const Lr = ({
7065
7051
  );
7066
7052
  return /* @__PURE__ */ U(lt, { gutter: 8, children: [
7067
7053
  /* @__PURE__ */ s(Je, { span: 12, children: /* @__PURE__ */ s(
7068
- gs,
7054
+ ys,
7069
7055
  {
7070
7056
  placeholder: "Start time",
7071
7057
  format: "HH:mm",
@@ -7078,7 +7064,7 @@ const Lr = ({
7078
7064
  }
7079
7065
  ) }),
7080
7066
  /* @__PURE__ */ s(Je, { span: 12, children: /* @__PURE__ */ s(
7081
- gs,
7067
+ ys,
7082
7068
  {
7083
7069
  placeholder: "End time",
7084
7070
  style: { width: "100%" },
@@ -7095,7 +7081,7 @@ const Lr = ({
7095
7081
  const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i } = e, a = Re(dt), { elementHasLostFocus: c } = a || {}, l = K(() => i && !o, [i, o]), d = K(
7096
7082
  () => l ? Dh : Ur,
7097
7083
  [l]
7098
- ), f = x((m) => m ? /* @__PURE__ */ s(Oo, { content: m }) : null, []), u = x((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
7084
+ ), f = x((m) => m ? /* @__PURE__ */ s(Do, { content: m }) : null, []), u = x((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
7099
7085
  return /* @__PURE__ */ s(Ze, { required: l, type: "number", ...t, children: /* @__PURE__ */ s(
7100
7086
  d,
7101
7087
  {
@@ -7121,7 +7107,7 @@ const Dh = mt(Ur)`
7121
7107
  const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: i } = e, { token: a } = Mh(), c = i && !o ? { backgroundColor: a.colorPrimaryBg } : void 0, l = Re(dt), { elementHasLostFocus: d } = l || {}, f = K(() => i && !o, [i, o]), u = K(
7122
7108
  () => f ? Ph : Ur,
7123
7109
  [f]
7124
- ), m = x((h) => h ? /* @__PURE__ */ s(Oo, { content: h }) : null, []), p = x((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 = x(
7110
+ ), m = x((h) => h ? /* @__PURE__ */ s(Do, { content: h }) : null, []), p = x((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 = x(
7125
7111
  (h) => {
7126
7112
  const y = h;
7127
7113
  n == null || n(y);
@@ -7152,7 +7138,7 @@ const Ph = mt(Ur)`
7152
7138
  }
7153
7139
  `;
7154
7140
  function Lh(t) {
7155
- const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof cs ? Vr : ti, c = (l) => /* @__PURE__ */ s(
7141
+ const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof ds ? Vr : ti, c = (l) => /* @__PURE__ */ s(
7156
7142
  a,
7157
7143
  {
7158
7144
  ooui: {
@@ -7166,7 +7152,7 @@ function Lh(t) {
7166
7152
  );
7167
7153
  return /* @__PURE__ */ U("div", { style: { width: "100%" }, children: [
7168
7154
  n && /* @__PURE__ */ s(
7169
- Fo,
7155
+ Eo,
7170
7156
  {
7171
7157
  ooui: new pr({
7172
7158
  name: r + "_label",
@@ -7236,7 +7222,7 @@ function Tc(t) {
7236
7222
  e.readOnly = !1, e.required = !1;
7237
7223
  const { t: n } = Oe(), r = e.type, o = (d = e.raw_props) == null ? void 0 : d.widget, i = e.fieldType, a = e, c = a.relation || ((f = a.raw_props) == null ? void 0 : f.relation);
7238
7224
  if (c && (o === "many2one_lazy" || o === "selection" && i === "many2one")) {
7239
- const u = new Ds({
7225
+ const u = new Co({
7240
7226
  name: e._id,
7241
7227
  string: e.label,
7242
7228
  relation: c,
@@ -7337,7 +7323,7 @@ const { useToken: Yh } = at, { Title: zh } = Kt, { Header: Gh, Content: Kh, Foot
7337
7323
  };
7338
7324
  return /* @__PURE__ */ s(bl, { children: t && /* @__PURE__ */ U(Fe, { children: [
7339
7325
  /* @__PURE__ */ s(
7340
- ms.div,
7326
+ ps.div,
7341
7327
  {
7342
7328
  initial: { opacity: 0 },
7343
7329
  animate: { opacity: 1 },
@@ -7365,7 +7351,7 @@ const { useToken: Yh } = at, { Title: zh } = Kt, { Header: Gh, Content: Kh, Foot
7365
7351
  returnFocusOnDeactivate: !0
7366
7352
  },
7367
7353
  children: /* @__PURE__ */ U(
7368
- ms.div,
7354
+ ps.div,
7369
7355
  {
7370
7356
  ref: u,
7371
7357
  initial: { x: "100%" },
@@ -7442,10 +7428,10 @@ const { useToken: Yh } = at, { Title: zh } = Kt, { Header: Gh, Content: Kh, Foot
7442
7428
  var qi = Object.prototype.toString, Ac = function(e) {
7443
7429
  var n = qi.call(e), r = n === "[object Arguments]";
7444
7430
  return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && qi.call(e.callee) === "[object Function]"), r;
7445
- }, qo, Yi;
7431
+ }, Yo, Yi;
7446
7432
  function Xh() {
7447
7433
  if (Yi)
7448
- return qo;
7434
+ return Yo;
7449
7435
  Yi = 1;
7450
7436
  var t;
7451
7437
  if (!Object.keys) {
@@ -7529,7 +7515,7 @@ function Xh() {
7529
7515
  return v;
7530
7516
  };
7531
7517
  }
7532
- return qo = t, qo;
7518
+ return Yo = t, Yo;
7533
7519
  }
7534
7520
  var Zh = Array.prototype.slice, eg = Ac, zi = Object.keys, ao = zi ? function(e) {
7535
7521
  return zi(e);
@@ -7593,27 +7579,27 @@ if (co)
7593
7579
  } catch {
7594
7580
  co = !1;
7595
7581
  }
7596
- var vg = co, Yo, Ki;
7582
+ var vg = co, zo, Ki;
7597
7583
  function bg() {
7598
7584
  if (Ki)
7599
- return Yo;
7585
+ return zo;
7600
7586
  Ki = 1;
7601
7587
  var t = typeof Symbol < "u" && Symbol, e = Ic;
7602
- return Yo = function() {
7588
+ return zo = function() {
7603
7589
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
7604
- }, Yo;
7590
+ }, zo;
7605
7591
  }
7606
- var zo, Ji;
7592
+ var Go, Ji;
7607
7593
  function Ec() {
7608
- return Ji || (Ji = 1, zo = typeof Reflect < "u" && Reflect.getPrototypeOf || null), zo;
7594
+ return Ji || (Ji = 1, Go = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Go;
7609
7595
  }
7610
- var Go, Qi;
7596
+ var Ko, Qi;
7611
7597
  function Oc() {
7612
7598
  if (Qi)
7613
- return Go;
7599
+ return Ko;
7614
7600
  Qi = 1;
7615
7601
  var t = Rc;
7616
- return Go = t.getPrototypeOf || null, Go;
7602
+ return Ko = t.getPrototypeOf || null, Ko;
7617
7603
  }
7618
7604
  var wg = "Function.prototype.bind called on incompatible ", Cg = Object.prototype.toString, xg = Math.max, Sg = "[object Function]", Xi = function(e, n) {
7619
7605
  for (var r = [], o = 0; o < e.length; o += 1)
@@ -7653,42 +7639,42 @@ var wg = "Function.prototype.bind called on incompatible ", Cg = Object.prototyp
7653
7639
  d.prototype = n.prototype, o.prototype = new d(), d.prototype = null;
7654
7640
  }
7655
7641
  return o;
7656
- }, Ig = _g, Jr = Function.prototype.bind || Ig, Ko, Zi;
7642
+ }, Ig = _g, Jr = Function.prototype.bind || Ig, Jo, Zi;
7657
7643
  function oi() {
7658
- return Zi || (Zi = 1, Ko = Function.prototype.call), Ko;
7644
+ return Zi || (Zi = 1, Jo = Function.prototype.call), Jo;
7659
7645
  }
7660
- var Jo, ea;
7646
+ var Qo, ea;
7661
7647
  function Dc() {
7662
- return ea || (ea = 1, Jo = Function.prototype.apply), Jo;
7648
+ return ea || (ea = 1, Qo = Function.prototype.apply), Qo;
7663
7649
  }
7664
- var Qo, ta;
7650
+ var Xo, ta;
7665
7651
  function Rg() {
7666
- return ta || (ta = 1, Qo = typeof Reflect < "u" && Reflect && Reflect.apply), Qo;
7652
+ return ta || (ta = 1, Xo = typeof Reflect < "u" && Reflect && Reflect.apply), Xo;
7667
7653
  }
7668
- var Xo, na;
7654
+ var Zo, na;
7669
7655
  function Fg() {
7670
7656
  if (na)
7671
- return Xo;
7657
+ return Zo;
7672
7658
  na = 1;
7673
7659
  var t = Jr, e = Dc(), n = oi(), r = Rg();
7674
- return Xo = r || t.call(n, e), Xo;
7660
+ return Zo = r || t.call(n, e), Zo;
7675
7661
  }
7676
- var Zo, ra;
7662
+ var es, ra;
7677
7663
  function Eg() {
7678
7664
  if (ra)
7679
- return Zo;
7665
+ return es;
7680
7666
  ra = 1;
7681
7667
  var t = Jr, e = Fc, n = oi(), r = Fg();
7682
- return Zo = function(i) {
7668
+ return es = function(i) {
7683
7669
  if (i.length < 1 || typeof i[0] != "function")
7684
7670
  throw new e("a function is required");
7685
7671
  return r(t, n, i);
7686
- }, Zo;
7672
+ }, es;
7687
7673
  }
7688
- var es, oa;
7674
+ var ts, oa;
7689
7675
  function Og() {
7690
7676
  if (oa)
7691
- return es;
7677
+ return ts;
7692
7678
  oa = 1;
7693
7679
  var t = Eg(), e = ri, n;
7694
7680
  try {
@@ -7703,20 +7689,20 @@ function Og() {
7703
7689
  /** @type {keyof typeof Object.prototype} */
7704
7690
  "__proto__"
7705
7691
  ), o = Object, i = o.getPrototypeOf;
7706
- return es = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
7692
+ return ts = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
7707
7693
  /** @type {import('./get')} */
7708
7694
  function(c) {
7709
7695
  return i(c == null ? c : o(c));
7710
7696
  }
7711
- ) : !1, es;
7697
+ ) : !1, ts;
7712
7698
  }
7713
- var ts, sa;
7699
+ var ns, sa;
7714
7700
  function Dg() {
7715
7701
  if (sa)
7716
- return ts;
7702
+ return ns;
7717
7703
  sa = 1;
7718
7704
  var t = Ec(), e = Oc(), n = Og();
7719
- return ts = t ? function(o) {
7705
+ return ns = t ? function(o) {
7720
7706
  return t(o);
7721
7707
  } : e ? function(o) {
7722
7708
  if (!o || typeof o != "object" && typeof o != "function")
@@ -7724,34 +7710,34 @@ function Dg() {
7724
7710
  return e(o);
7725
7711
  } : n ? function(o) {
7726
7712
  return n(o);
7727
- } : null, ts;
7713
+ } : null, ns;
7728
7714
  }
7729
- var ns, ia;
7715
+ var rs, ia;
7730
7716
  function Mg() {
7731
7717
  if (ia)
7732
- return ns;
7718
+ return rs;
7733
7719
  ia = 1;
7734
7720
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Jr;
7735
- return ns = n.call(t, e), ns;
7721
+ return rs = n.call(t, e), rs;
7736
7722
  }
7737
- var rt, kg = Rc, Ng = ng, $g = rg, Pg = og, Lg = sg, mr = ig, ir = Fc, Vg = ag, Bg = lg, Hg = cg, jg = dg, Ug = ug, Wg = fg, qg = mg, Yg = gg, Mc = Function, rs = function(t) {
7723
+ var rt, kg = Rc, Ng = ng, $g = rg, Pg = og, Lg = sg, mr = ig, ir = Fc, Vg = ag, Bg = lg, Hg = cg, jg = dg, Ug = ug, Wg = fg, qg = mg, Yg = gg, Mc = Function, os = function(t) {
7738
7724
  try {
7739
7725
  return Mc('"use strict"; return (' + t + ").constructor;")();
7740
7726
  } catch {
7741
7727
  }
7742
- }, Br = ri, zg = vg, os = function() {
7728
+ }, Br = ri, zg = vg, ss = function() {
7743
7729
  throw new ir();
7744
7730
  }, Gg = Br ? function() {
7745
7731
  try {
7746
- return arguments.callee, os;
7732
+ return arguments.callee, ss;
7747
7733
  } catch {
7748
7734
  try {
7749
7735
  return Br(arguments, "callee").get;
7750
7736
  } catch {
7751
- return os;
7737
+ return ss;
7752
7738
  }
7753
7739
  }
7754
- }() : os, Xn = bg()(), $t = Dg(), Kg = Oc(), Jg = Ec(), kc = Dc(), Qr = oi(), er = {}, Qg = typeof Uint8Array > "u" || !$t ? rt : $t(Uint8Array), Un = {
7740
+ }() : ss, Xn = bg()(), $t = Dg(), Kg = Oc(), Jg = Ec(), kc = Dc(), Qr = oi(), er = {}, Qg = typeof Uint8Array > "u" || !$t ? rt : $t(Uint8Array), Un = {
7755
7741
  __proto__: null,
7756
7742
  "%AggregateError%": typeof AggregateError > "u" ? rt : AggregateError,
7757
7743
  "%Array%": Array,
@@ -7845,11 +7831,11 @@ if ($t)
7845
7831
  var Zg = function t(e) {
7846
7832
  var n;
7847
7833
  if (e === "%AsyncFunction%")
7848
- n = rs("async function () {}");
7834
+ n = os("async function () {}");
7849
7835
  else if (e === "%GeneratorFunction%")
7850
- n = rs("function* () {}");
7836
+ n = os("function* () {}");
7851
7837
  else if (e === "%AsyncGeneratorFunction%")
7852
- n = rs("async function* () {}");
7838
+ n = os("async function* () {}");
7853
7839
  else if (e === "%AsyncGenerator%") {
7854
7840
  var r = t("%AsyncGeneratorFunction%");
7855
7841
  r && (n = r.prototype);
@@ -7934,7 +7920,7 @@ var Zg = function t(e) {
7934
7920
  };
7935
7921
  }
7936
7922
  throw new mr("intrinsic " + e + " does not exist!");
7937
- }, No = function(e, n) {
7923
+ }, $o = function(e, n) {
7938
7924
  if (typeof e != "string" || e.length === 0)
7939
7925
  throw new ir("intrinsic name must be a non-empty string");
7940
7926
  if (arguments.length > 1 && typeof n != "boolean")
@@ -7966,7 +7952,7 @@ var Zg = function t(e) {
7966
7952
  return c;
7967
7953
  }, Nc = { exports: {} };
7968
7954
  (function(t) {
7969
- var e = Jr, n = No, r = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), i = n("%Reflect.apply%", !0) || e.call(o, r), a = n("%Object.getOwnPropertyDescriptor%", !0), c = n("%Object.defineProperty%", !0), l = n("%Math.max%");
7955
+ var e = Jr, n = $o, r = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), i = n("%Reflect.apply%", !0) || e.call(o, r), a = n("%Object.getOwnPropertyDescriptor%", !0), c = n("%Object.defineProperty%", !0), l = n("%Math.max%");
7970
7956
  if (c)
7971
7957
  try {
7972
7958
  c({}, "a", { value: 1 });
@@ -7990,36 +7976,36 @@ var Zg = function t(e) {
7990
7976
  };
7991
7977
  c ? c(t.exports, "apply", { value: d }) : t.exports.apply = d;
7992
7978
  })(Nc);
7993
- var si = Nc.exports, $c = No, Pc = si, ay = Pc($c("String.prototype.indexOf")), Lc = function(e, n) {
7979
+ var si = Nc.exports, $c = $o, Pc = si, ay = Pc($c("String.prototype.indexOf")), Lc = function(e, n) {
7994
7980
  var r = $c(e, !!n);
7995
7981
  return typeof r == "function" && ay(e, ".prototype.") > -1 ? Pc(r) : r;
7996
- }, ly = ni(), cy = Lc, ys = cy("Object.prototype.toString"), $o = function(e) {
7997
- return ly && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : ys(e) === "[object Arguments]";
7982
+ }, ly = ni(), cy = Lc, vs = cy("Object.prototype.toString"), Po = function(e) {
7983
+ return ly && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : vs(e) === "[object Arguments]";
7998
7984
  }, Vc = function(e) {
7999
- return $o(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && ys(e) !== "[object Array]" && ys(e.callee) === "[object Function]";
7985
+ return Po(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && vs(e) !== "[object Array]" && vs(e.callee) === "[object Function]";
8000
7986
  }, dy = function() {
8001
- return $o(arguments);
7987
+ return Po(arguments);
8002
7988
  }();
8003
- $o.isLegacyArguments = Vc;
8004
- var uy = dy ? $o : Vc, fy = No, vs = fy("%Object.defineProperty%", !0), bs = function() {
8005
- if (vs)
7989
+ Po.isLegacyArguments = Vc;
7990
+ var uy = dy ? Po : Vc, fy = $o, bs = fy("%Object.defineProperty%", !0), ws = function() {
7991
+ if (bs)
8006
7992
  try {
8007
- return vs({}, "a", { value: 1 }), !0;
7993
+ return bs({}, "a", { value: 1 }), !0;
8008
7994
  } catch {
8009
7995
  return !1;
8010
7996
  }
8011
7997
  return !1;
8012
7998
  };
8013
- bs.hasArrayLengthDefineBug = function() {
8014
- if (!bs())
7999
+ ws.hasArrayLengthDefineBug = function() {
8000
+ if (!ws())
8015
8001
  return null;
8016
8002
  try {
8017
- return vs([], "length", { value: 1 }).length !== 1;
8003
+ return bs([], "length", { value: 1 }).length !== 1;
8018
8004
  } catch {
8019
8005
  return !0;
8020
8006
  }
8021
8007
  };
8022
- var ii = bs, my = ii(), ai = No, ca = my && ai("%Object.defineProperty%", !0), py = ai("%SyntaxError%"), Zn = ai("%TypeError%"), da = ri, Bc = function(e, n, r) {
8008
+ var ii = ws, my = ii(), ai = $o, ca = my && ai("%Object.defineProperty%", !0), py = ai("%SyntaxError%"), Zn = ai("%TypeError%"), da = ri, Bc = function(e, n, r) {
8023
8009
  if (!e || typeof e != "object" && typeof e != "function")
8024
8010
  throw new Zn("`obj` must be an object or a function`");
8025
8011
  if (typeof n != "string" && typeof n != "symbol")
@@ -8081,27 +8067,27 @@ Ay(Yc, {
8081
8067
  implementation: Iy,
8082
8068
  shim: Ry
8083
8069
  });
8084
- var Fy = Yc, ws = Lc, zc = ni(), Gc, Kc, Cs, xs;
8070
+ var Fy = Yc, Cs = Lc, zc = ni(), Gc, Kc, xs, Ss;
8085
8071
  if (zc) {
8086
- Gc = ws("Object.prototype.hasOwnProperty"), Kc = ws("RegExp.prototype.exec"), Cs = {};
8087
- var ss = function() {
8088
- throw Cs;
8072
+ Gc = Cs("Object.prototype.hasOwnProperty"), Kc = Cs("RegExp.prototype.exec"), xs = {};
8073
+ var is = function() {
8074
+ throw xs;
8089
8075
  };
8090
- xs = {
8091
- toString: ss,
8092
- valueOf: ss
8093
- }, typeof Symbol.toPrimitive == "symbol" && (xs[Symbol.toPrimitive] = ss);
8076
+ Ss = {
8077
+ toString: is,
8078
+ valueOf: is
8079
+ }, typeof Symbol.toPrimitive == "symbol" && (Ss[Symbol.toPrimitive] = is);
8094
8080
  }
8095
- var Ey = ws("Object.prototype.toString"), Oy = Object.getOwnPropertyDescriptor, Dy = "[object RegExp]", My = zc ? function(e) {
8081
+ var Ey = Cs("Object.prototype.toString"), Oy = Object.getOwnPropertyDescriptor, Dy = "[object RegExp]", My = zc ? function(e) {
8096
8082
  if (!e || typeof e != "object")
8097
8083
  return !1;
8098
8084
  var n = Oy(e, "lastIndex"), r = n && Gc(n, "value");
8099
8085
  if (!r)
8100
8086
  return !1;
8101
8087
  try {
8102
- Kc(e, xs);
8088
+ Kc(e, Ss);
8103
8089
  } catch (o) {
8104
- return o === Cs;
8090
+ return o === xs;
8105
8091
  }
8106
8092
  } : function(e) {
8107
8093
  return !e || typeof e != "object" && typeof e != "function" ? !1 : Ey(e) === Dy;
@@ -8592,13 +8578,9 @@ const xr = /* @__PURE__ */ vr(uv), { Text: fv } = Kt, mv = ({
8592
8578
  }) => {
8593
8579
  if (!o)
8594
8580
  return;
8595
- const I = o == null ? void 0 : o.rows, O = I == null ? void 0 : I.flatMap((R) => R), M = O == null ? void 0 : O.filter((R) => {
8596
- const E = R && R.id !== void 0 && R.label !== void 0;
8597
- return E || console.error(
8598
- "[SideSearchFilter] Invalid field filtered out - field type may not be supported:",
8599
- R == null ? void 0 : R.type
8600
- ), E;
8601
- }), D = Object.keys(l).reduce((R, E) => {
8581
+ const I = o == null ? void 0 : o.rows, O = I == null ? void 0 : I.flatMap((R) => R), M = O == null ? void 0 : O.filter(
8582
+ (R) => R && R.id !== void 0 && R.label !== void 0
8583
+ ), D = Object.keys(l).reduce((R, E) => {
8602
8584
  const A = E.replace(/#.*$/, "");
8603
8585
  return R[A] === void 0 && (R[A] = l[E] !== void 0), R;
8604
8586
  }, {}), N = F ? M.reduce((R, E) => (R[E.id] = D[E.id], R), {}) : D;
@@ -8957,14 +8939,14 @@ const li = (t) => {
8957
8939
  Qe,
8958
8940
  {
8959
8941
  size: "small",
8960
- icon: /* @__PURE__ */ s(ds, {}),
8942
+ icon: /* @__PURE__ */ s(us, {}),
8961
8943
  onClick: V,
8962
8944
  style: { height: "24px" },
8963
8945
  children: u("saveSearchFilter")
8964
8946
  }
8965
8947
  ),
8966
8948
  /* @__PURE__ */ s(
8967
- Fs,
8949
+ Es,
8968
8950
  {
8969
8951
  menu: {
8970
8952
  items: [
@@ -8993,7 +8975,7 @@ const li = (t) => {
8993
8975
  Qe,
8994
8976
  {
8995
8977
  size: "small",
8996
- icon: j ? /* @__PURE__ */ s(Dr, {}) : /* @__PURE__ */ s(ds, {}),
8978
+ icon: j ? /* @__PURE__ */ s(Dr, {}) : /* @__PURE__ */ s(us, {}),
8997
8979
  onClick: j ? P : V,
8998
8980
  style: { height: "24px" },
8999
8981
  children: u(j ? "saveAsNewSearchFilter" : "saveSearchFilter")
@@ -9172,7 +9154,7 @@ function hv(t) {
9172
9154
  ] });
9173
9155
  }
9174
9156
  function gv(t) {
9175
- const { onLimitChange: e } = t, { t: n } = Oe(), r = new cs({ name: "limit" }), o = new cs({ name: "offset" });
9157
+ const { onLimitChange: e } = t, { t: n } = Oe(), r = new ds({ name: "limit" }), o = new ds({ name: "offset" });
9176
9158
  return /* @__PURE__ */ U("div", { className: "pl-2 pt-2", children: [
9177
9159
  /* @__PURE__ */ s(lt, { children: n("parameters") }, "count_params"),
9178
9160
  /* @__PURE__ */ U(yt, { align: "center", children: [
@@ -9192,7 +9174,7 @@ function gv(t) {
9192
9174
  ] });
9193
9175
  }
9194
9176
  const { useToken: yv } = at;
9195
- function Po(t) {
9177
+ function Lo(t) {
9196
9178
  const {
9197
9179
  fields: e,
9198
9180
  searchFields: n = { primary: [], secondary: [] },
@@ -9847,7 +9829,7 @@ const Sr = () => {
9847
9829
  }
9848
9830
  )
9849
9831
  ] });
9850
- }, Lo = it(
9832
+ }, Vo = it(
9851
9833
  ({
9852
9834
  value: t,
9853
9835
  record: e,
@@ -9855,7 +9837,7 @@ const Sr = () => {
9855
9837
  isFieldLoading: r
9856
9838
  }) => r != null && r(e, n.key) ? /* @__PURE__ */ s(Pu, {}) : n.render(t, n.key, n == null ? void 0 : n.ooui, n == null ? void 0 : n.context)
9857
9839
  );
9858
- Lo.displayName = "CellRenderer";
9840
+ Vo.displayName = "CellRenderer";
9859
9841
  const rd = ({
9860
9842
  tableRef: t,
9861
9843
  autoRefresh: e
@@ -9985,7 +9967,7 @@ function Av(t, e) {
9985
9967
  ...vt,
9986
9968
  isSortable: tt ? !1 : vt.isSortable,
9987
9969
  render: (Nt, St) => /* @__PURE__ */ s(
9988
- Lo,
9970
+ Vo,
9989
9971
  {
9990
9972
  value: Nt,
9991
9973
  record: St,
@@ -10045,10 +10027,10 @@ function Av(t, e) {
10045
10027
  sort: In.sort || void 0,
10046
10028
  sortIndex: In.sortIndex || void 0,
10047
10029
  colId: In.colId
10048
- })), no = It && (It == null ? void 0 : It.length) > 0 ? It : void 0, Vo = ur({
10030
+ })), no = It && (It == null ? void 0 : It.length) > 0 ? It : void 0, Bo = ur({
10049
10031
  state: no
10050
10032
  });
10051
- Pe == null || Pe(no), St = Pr(Vo);
10033
+ Pe == null || Pe(no), St = Pr(Bo);
10052
10034
  }
10053
10035
  T.current = !0;
10054
10036
  const ln = be ? a : ht, Kn = Lr({
@@ -10340,7 +10322,7 @@ function Av(t, e) {
10340
10322
  ), Ar = be && O && S !== void 0 && S !== null && S === Bt;
10341
10323
  return /* @__PURE__ */ U(Yn, { children: [
10342
10324
  m === "top" && /* @__PURE__ */ s(
10343
- Po,
10325
+ Lo,
10344
10326
  {
10345
10327
  ...bn,
10346
10328
  onClear: Pn,
@@ -10528,7 +10510,7 @@ const od = Ht(
10528
10510
  return Us(
10529
10511
  R,
10530
10512
  {
10531
- ...ko
10513
+ ...No
10532
10514
  },
10533
10515
  w,
10534
10516
  L
@@ -10886,7 +10868,7 @@ function Fv(t, e) {
10886
10868
  rootTree: f = !1,
10887
10869
  parentContext: u = {},
10888
10870
  onChangeSelectedRowKeys: m
10889
- } = t, [p, g] = _(!1), [h, y] = _(!1), b = Q(!1), v = Q(null), [C, T] = _(), [w, F] = _(), [S, I] = _(), [O, M] = _(), [D, N] = _(200), R = Q(), { height: E } = Eo(), A = Re(
10871
+ } = t, [p, g] = _(!1), [h, y] = _(!1), b = Q(!1), v = Q(null), [C, T] = _(), [w, F] = _(), [S, I] = _(), [O, M] = _(), [D, N] = _(200), R = Q(), { height: E } = Oo(), A = Re(
10890
10872
  Sn
10891
10873
  ), { processAction: V } = A || {}, P = Re(
10892
10874
  qt
@@ -11055,7 +11037,7 @@ function Fv(t, e) {
11055
11037
  [k]
11056
11038
  ), Ce = x(() => !w || !S ? null : /* @__PURE__ */ U(Fe, { children: [
11057
11039
  /* @__PURE__ */ s(
11058
- Po,
11040
+ Lo,
11059
11041
  {
11060
11042
  fields: { ...S.fields, ...w.fields },
11061
11043
  searchFields: Wn([
@@ -11603,7 +11585,7 @@ const id = Ht(Fv), Ev = Bt, Ov = (t) => {
11603
11585
  ]
11604
11586
  );
11605
11587
  return t === "top" ? /* @__PURE__ */ s(
11606
- Po,
11588
+ Lo,
11607
11589
  {
11608
11590
  ...u,
11609
11591
  onClear: i,
@@ -11846,7 +11828,7 @@ function Pv(t, e) {
11846
11828
  ...pt,
11847
11829
  isSortable: Te ? !1 : pt.isSortable,
11848
11830
  render: (xt, ut) => /* @__PURE__ */ s(
11849
- Lo,
11831
+ Vo,
11850
11832
  {
11851
11833
  value: xt,
11852
11834
  record: ut,
@@ -12769,7 +12751,7 @@ const ad = Ht(Pv), { useToken: Lv } = at, ld = ({
12769
12751
  overflow: "hidden"
12770
12752
  },
12771
12753
  children: a ? /* @__PURE__ */ U(Fe, { children: [
12772
- /* @__PURE__ */ s(Wt, { title: a, children: /* @__PURE__ */ s(Io, { className: "pr-1 text-xs" }) }),
12754
+ /* @__PURE__ */ s(Wt, { title: a, children: /* @__PURE__ */ s(Ro, { className: "pr-1 text-xs" }) }),
12773
12755
  /* @__PURE__ */ s(Fa, { ellipsis: !0, children: e })
12774
12756
  ] }) : /* @__PURE__ */ s(
12775
12757
  Fa,
@@ -13255,7 +13237,7 @@ const ud = it(Gv), { useToken: Kv } = at, Jv = 3 * 1e3, Qv = (t) => {
13255
13237
  fixedHeight: e,
13256
13238
  autoRefresh: n
13257
13239
  }) => {
13258
- const { initialView: r, views: o, model: i, domain: a, context: c, limit: l } = t, d = Do(Et.FEATURE_READFORVIEW), f = d != null && d.isEnabled ? pi : Gn, { openShortcut: u } = wr(), m = Q(null), p = Q(null), { isActive: g } = Vt(), h = Sr();
13240
+ const { initialView: r, views: o, model: i, domain: a, context: c, limit: l } = t, d = Mo(Et.FEATURE_READFORVIEW), f = d != null && d.isEnabled ? pi : Gn, { openShortcut: u } = wr(), m = Q(null), p = Q(null), { isActive: g } = Vt(), h = Sr();
13259
13241
  me(() => (p.current && (clearInterval(p.current), p.current = null), n && m.current && r.type === "graph" && g !== !1 && h && (p.current = setInterval(() => {
13260
13242
  var b;
13261
13243
  (b = m.current) == null || b.refresh();
@@ -13624,7 +13606,7 @@ const ub = (t) => {
13624
13606
  case "group":
13625
13607
  return Od;
13626
13608
  case "label":
13627
- return Fo;
13609
+ return Eo;
13628
13610
  case "char":
13629
13611
  return Il;
13630
13612
  case "text":
@@ -13720,11 +13702,20 @@ const ub = (t) => {
13720
13702
  return;
13721
13703
  }
13722
13704
  }, fb = (t) => {
13705
+ var a;
13723
13706
  const { ooui: e } = t, { type: n } = e;
13724
- let r = n;
13725
- n === "selection" && e.fieldType === "many2one" && (r = "many2one_lazy");
13726
- const o = ub(r);
13727
- return o ? qd(o, t) : null;
13707
+ let r = n, o = e;
13708
+ n === "selection" && e.fieldType === "many2one" && (r = "many2one_lazy", o = new Co({
13709
+ name: e._id,
13710
+ string: e.label,
13711
+ relation: e.relation || ((a = e.raw_props) == null ? void 0 : a.relation),
13712
+ context: e.context,
13713
+ domain: e.domain,
13714
+ readOnly: e.readOnly,
13715
+ required: e.required
13716
+ }), o.parsedWidgetProps = e.parsedWidgetProps);
13717
+ const i = ub(r);
13718
+ return i ? qd(i, { ...t, ooui: o }) : null;
13728
13719
  }, mb = ({
13729
13720
  item: t,
13730
13721
  responsiveBehaviour: e
@@ -14189,12 +14180,12 @@ function Ab(t, e) {
14189
14180
  reset: $e,
14190
14181
  isDefaultGet: je = !1
14191
14182
  }) => {
14192
- const Rt = { ...$e ? {} : P.getFieldsValue(!0), ...ge }, Bo = Ln(Rt, xe), Hd = Object.keys(xe).map((Ho) => ({
14193
- name: Ho,
14183
+ const Rt = { ...$e ? {} : P.getFieldsValue(!0), ...ge }, Ho = Ln(Rt, xe), Hd = Object.keys(xe).map((jo) => ({
14184
+ name: jo,
14194
14185
  touched: !1,
14195
- value: Bo[Ho] !== void 0 ? Bo[Ho] : void 0
14186
+ value: Ho[jo] !== void 0 ? Ho[jo] : void 0
14196
14187
  }));
14197
- je || (te.current = Bo), P.setFields(Hd);
14188
+ je || (te.current = Ho), P.setFields(Hd);
14198
14189
  },
14199
14190
  [P]
14200
14191
  ), bn = async ({
@@ -14596,7 +14587,7 @@ function Ab(t, e) {
14596
14587
  je && Qn(!1), ie(Ke);
14597
14588
  }
14598
14589
  }
14599
- const Vo = () => !A && !R ? /* @__PURE__ */ s(ct, {}) : !n && !h || !T ? null : /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(
14590
+ const Bo = () => !A && !R ? /* @__PURE__ */ s(ct, {}) : !n && !h || !T ? null : /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(
14600
14591
  bf,
14601
14592
  {
14602
14593
  getValues: Ct,
@@ -14692,7 +14683,7 @@ function Ab(t, e) {
14692
14683
  j((xe = ge.bounds) == null ? void 0 : xe.width);
14693
14684
  },
14694
14685
  children: ({ measureRef: ge }) => /* @__PURE__ */ U("div", { className: "pb-2", ref: ge, children: [
14695
- Vo(),
14686
+ Bo(),
14696
14687
  c && In()
14697
14688
  ] })
14698
14689
  }
@@ -14838,7 +14829,7 @@ const Tr = Ht(Ab), md = (t) => {
14838
14829
  isMenuAction: a = !1,
14839
14830
  actionData: c,
14840
14831
  ...l
14841
- } = t, { model: d } = l, { modalWidth: f } = Eo(), [u, m] = _(r), [p, g] = _(!1), [h, y] = _(), { action_id: b, res_id: v, action_type: C, view_id: T } = c || {}, w = !b && !C && !v, {
14832
+ } = t, { model: d } = l, { modalWidth: f } = Oo(), [u, m] = _(r), [p, g] = _(!1), [h, y] = _(), { action_id: b, res_id: v, action_type: C, view_id: T } = c || {}, w = !b && !C && !v, {
14842
14833
  showNameModal: F,
14843
14834
  toggleFavourite: S,
14844
14835
  handleSaveFavourite: I,
@@ -14939,7 +14930,7 @@ const Tr = Ht(Ab), md = (t) => {
14939
14930
  context: a = {},
14940
14931
  canCreate: c = !0
14941
14932
  }) => {
14942
- const [l, d] = _(!1), [f, u] = _([]), [m, p] = _(!1), { modalWidth: g, modalHeight: h } = Eo(), { t: y } = Oe(), { showErrorNotification: b } = At(), {
14933
+ const [l, d] = _(!1), [f, u] = _([]), [m, p] = _(!1), { modalWidth: g, modalHeight: h } = Oo(), { t: y } = Oe(), { showErrorNotification: b } = At(), {
14943
14934
  treeView: v,
14944
14935
  formView: C,
14945
14936
  loading: T
@@ -15022,7 +15013,7 @@ const Tr = Ht(Ab), md = (t) => {
15022
15013
  Qe,
15023
15014
  {
15024
15015
  disabled: m || !c,
15025
- icon: /* @__PURE__ */ s(_o, {}),
15016
+ icon: /* @__PURE__ */ s(Io, {}),
15026
15017
  onClick: D,
15027
15018
  children: y("new")
15028
15019
  }
@@ -15153,7 +15144,7 @@ const Tr = Ht(Ab), md = (t) => {
15153
15144
  fields: O(),
15154
15145
  context: M()
15155
15146
  })), I && I.length > 0 && (R.current = R.current.concat(
15156
- Co({
15147
+ xo({
15157
15148
  domain: I,
15158
15149
  widgetFieldName: l
15159
15150
  })
@@ -15330,7 +15321,7 @@ const Tr = Ht(Ab), md = (t) => {
15330
15321
  }) => {
15331
15322
  gd({
15332
15323
  title: t("removeItems"),
15333
- icon: /* @__PURE__ */ s(xo, {}),
15324
+ icon: /* @__PURE__ */ s(So, {}),
15334
15325
  centered: !0,
15335
15326
  content: t("confirmRemove"),
15336
15327
  okText: t("yesConfirmRemove"),
@@ -15343,7 +15334,7 @@ const Tr = Ht(Ab), md = (t) => {
15343
15334
  }) => {
15344
15335
  gd({
15345
15336
  title: t("unlinkItems"),
15346
- icon: /* @__PURE__ */ s(xo, {}),
15337
+ icon: /* @__PURE__ */ s(So, {}),
15347
15338
  centered: !0,
15348
15339
  content: t("confirmUnlink"),
15349
15340
  okText: t("yesConfirmUnlink"),
@@ -15576,7 +15567,7 @@ function kb(t) {
15576
15567
  Mt,
15577
15568
  {
15578
15569
  tooltip: I("createNewItem"),
15579
- icon: /* @__PURE__ */ s(_o, {}),
15570
+ icon: /* @__PURE__ */ s(Io, {}),
15580
15571
  disabled: W,
15581
15572
  onClick: r
15582
15573
  }
@@ -15608,7 +15599,7 @@ function kb(t) {
15608
15599
  /* @__PURE__ */ s(
15609
15600
  Mt,
15610
15601
  {
15611
- icon: /* @__PURE__ */ s(Io, {}),
15602
+ icon: /* @__PURE__ */ s(Ro, {}),
15612
15603
  tooltip: I("showLogs"),
15613
15604
  disabled: !(a === "form" && F !== void 0 && F > 0 || a === "tree" && g.length === 1 && (g == null ? void 0 : g[0]) !== void 0 && parseInt(g[0]) > 0),
15614
15605
  onClick: () => Gs(
@@ -15662,7 +15653,7 @@ function kb(t) {
15662
15653
  /* @__PURE__ */ s(
15663
15654
  Cn,
15664
15655
  {
15665
- icon: /* @__PURE__ */ s(So, {}),
15656
+ icon: /* @__PURE__ */ s(To, {}),
15666
15657
  ...a === "form" ? H : $
15667
15658
  }
15668
15659
  )
@@ -15672,7 +15663,7 @@ function kb(t) {
15672
15663
  /* @__PURE__ */ s(
15673
15664
  Cn,
15674
15665
  {
15675
- icon: /* @__PURE__ */ s(To, {}),
15666
+ icon: /* @__PURE__ */ s(Ao, {}),
15676
15667
  ...a === "form" ? z : k
15677
15668
  }
15678
15669
  )
@@ -15682,7 +15673,7 @@ function kb(t) {
15682
15673
  /* @__PURE__ */ s(
15683
15674
  Cn,
15684
15675
  {
15685
- icon: /* @__PURE__ */ s(Ao, {}),
15676
+ icon: /* @__PURE__ */ s(_o, {}),
15686
15677
  ...L
15687
15678
  }
15688
15679
  )
@@ -15872,7 +15863,7 @@ const Pb = (t) => {
15872
15863
  fields: m(),
15873
15864
  context: p()
15874
15865
  })), g && g.length > 0 && (ie = ie.concat(
15875
- Co({
15866
+ xo({
15876
15867
  domain: g,
15877
15868
  widgetFieldName: ye
15878
15869
  })
@@ -16228,7 +16219,7 @@ const Pb = (t) => {
16228
16219
  fields: o(),
16229
16220
  context: i()
16230
16221
  })), a && a.length > 0 && (d = d.concat(
16231
- Co({
16222
+ xo({
16232
16223
  domain: a,
16233
16224
  widgetFieldName: t
16234
16225
  })
@@ -16711,7 +16702,7 @@ const Rd = ({
16711
16702
  }), q = K(() => z ? z.map((Ie) => ({
16712
16703
  ...Ie,
16713
16704
  render: (ie, ee) => /* @__PURE__ */ s(
16714
- Lo,
16705
+ Vo,
16715
16706
  {
16716
16707
  value: ie,
16717
16708
  record: ee,
@@ -17280,7 +17271,7 @@ const Rd = ({
17280
17271
  const O = wt(() => t.length, [t]), M = wt(() => Us(
17281
17272
  o,
17282
17273
  {
17283
- ...ko
17274
+ ...No
17284
17275
  },
17285
17276
  i,
17286
17277
  I
@@ -17865,7 +17856,7 @@ function ow(t) {
17865
17856
  }
17866
17857
  );
17867
17858
  }
17868
- const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17859
+ const { useToken: sw } = at, { TextArea: Ts } = Tt, iw = (t) => {
17869
17860
  const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: c } = sw(), l = o && !r ? { backgroundColor: c.colorPrimaryBg } : void 0, d = Re(dt), { elementHasLostFocus: f } = d || {};
17870
17861
  return /* @__PURE__ */ s(Ze, { required: o, ...t, children: a ? /* @__PURE__ */ s(
17871
17862
  aw,
@@ -17875,7 +17866,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17875
17866
  requiredStyle: l
17876
17867
  }
17877
17868
  ) : /* @__PURE__ */ s(
17878
- Ss,
17869
+ Ts,
17879
17870
  {
17880
17871
  disabled: r || a,
17881
17872
  style: {
@@ -17914,7 +17905,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17914
17905
  u || m(!0);
17915
17906
  },
17916
17907
  children: /* @__PURE__ */ s(
17917
- Ss,
17908
+ Ts,
17918
17909
  {
17919
17910
  value: t,
17920
17911
  onChange: (g) => {
@@ -17951,7 +17942,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17951
17942
  )
17952
17943
  ] }) : /* @__PURE__ */ U(Fe, { children: [
17953
17944
  /* @__PURE__ */ s(lt, { gutter: 8, wrap: !1, children: /* @__PURE__ */ s(
17954
- Ss,
17945
+ Ts,
17955
17946
  {
17956
17947
  value: t,
17957
17948
  onChange: (g) => {
@@ -18027,7 +18018,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18027
18018
  return a.current["/"] = y, Da({ fields: y });
18028
18019
  }, [t, e, a]), u = x(
18029
18020
  async (y) => {
18030
- const v = _s(y, a.current)[As(y)], C = v.relation, T = await Y.getHandler().getFields({
18021
+ const v = Is(y, a.current)[_s(y)], C = v.relation, T = await Y.getHandler().getFields({
18031
18022
  model: C,
18032
18023
  context: e,
18033
18024
  fields: []
@@ -18053,7 +18044,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18053
18044
  predefinedExports: y.map((C) => ({
18054
18045
  ...C,
18055
18046
  fields: C.fields.map((T) => {
18056
- const w = As(T.key), F = _s(T.key, a.current);
18047
+ const w = _s(T.key), F = Is(T.key, a.current);
18057
18048
  if (!F)
18058
18049
  return {
18059
18050
  key: T.key
@@ -18142,12 +18133,12 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18142
18133
  }, Dd = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", dw = ({
18143
18134
  parentKey: t,
18144
18135
  key: e
18145
- }) => `${t ? t + "/" : ""}${e}`, Ts = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), As = (t) => {
18136
+ }) => `${t ? t + "/" : ""}${e}`, As = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), _s = (t) => {
18146
18137
  if (t.indexOf("/") === -1)
18147
18138
  return t;
18148
18139
  const e = t.split("/");
18149
18140
  return e[e.length - 1];
18150
- }, _s = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[Ts(t)], uw = ({
18141
+ }, Is = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[As(t)], uw = ({
18151
18142
  title: t,
18152
18143
  parentTitle: e
18153
18144
  }) => `${e ? e + " → " : ""}${t}`, fw = async ({
@@ -18177,8 +18168,8 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18177
18168
  ...new Set(
18178
18169
  e.filter((n) => {
18179
18170
  var r, o;
18180
- return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[Ts(n)]) != null && o[n]);
18181
- }).map((n) => Ts(n))
18171
+ return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[As(n)]) != null && o[n]);
18172
+ }).map((n) => As(n))
18182
18173
  )
18183
18174
  ]), pw = async ({
18184
18175
  predefinedExports: t,
@@ -18205,7 +18196,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18205
18196
  keys: t,
18206
18197
  fields: e
18207
18198
  }) => t.map((n) => {
18208
- const r = As(n), i = _s(n, e)[r], a = Dd(i), c = i.is_function === !0;
18199
+ const r = _s(n), i = Is(n, e)[r], a = Dd(i), c = i.is_function === !0;
18209
18200
  return a && !c ? `${n}/id` : n;
18210
18201
  }), gw = (t) => {
18211
18202
  const e = /* @__PURE__ */ new Map(), n = [];
@@ -18287,7 +18278,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18287
18278
  }, xw = (t) => {
18288
18279
  const { readOnly: e } = t.ooui;
18289
18280
  return /* @__PURE__ */ s(
18290
- gs,
18281
+ ys,
18291
18282
  {
18292
18283
  onChange: (r, o) => {
18293
18284
  t.onChange && t.onChange(o);
@@ -18332,7 +18323,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18332
18323
  /* @__PURE__ */ s(Je, { flex: "3", children: /* @__PURE__ */ s(
18333
18324
  hd,
18334
18325
  {
18335
- ooui: new Ds({
18326
+ ooui: new Co({
18336
18327
  name: "object_value",
18337
18328
  relation: u,
18338
18329
  readonly: a,
@@ -18513,7 +18504,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18513
18504
  (u = d.current) == null || u.close(), o();
18514
18505
  },
18515
18506
  children: [
18516
- /* @__PURE__ */ s(_o, {}),
18507
+ /* @__PURE__ */ s(Io, {}),
18517
18508
  " ",
18518
18509
  l("addNewAttachment")
18519
18510
  ]
@@ -18895,7 +18886,7 @@ function Mw({ toolbar: t }) {
18895
18886
  /* @__PURE__ */ s(
18896
18887
  Ut,
18897
18888
  {
18898
- icon: /* @__PURE__ */ s(ds, {}),
18889
+ icon: /* @__PURE__ */ s(us, {}),
18899
18890
  tooltip: n("save"),
18900
18891
  disabled: !m || W || !(P != null && P.write),
18901
18892
  loading: p,
@@ -18934,7 +18925,7 @@ function Mw({ toolbar: t }) {
18934
18925
  /* @__PURE__ */ s(
18935
18926
  Ut,
18936
18927
  {
18937
- icon: /* @__PURE__ */ s(Io, {}),
18928
+ icon: /* @__PURE__ */ s(Ro, {}),
18938
18929
  tooltip: n("showLogs"),
18939
18930
  disabled: W || g === void 0,
18940
18931
  onClick: () => Gs(C, g, n)
@@ -18943,7 +18934,7 @@ function Mw({ toolbar: t }) {
18943
18934
  /* @__PURE__ */ s(
18944
18935
  Ut,
18945
18936
  {
18946
- icon: /* @__PURE__ */ s(Ro, {}),
18937
+ icon: /* @__PURE__ */ s(Fo, {}),
18947
18938
  tooltip: n("refresh"),
18948
18939
  disabled: W || g === void 0,
18949
18940
  onClick: B
@@ -18972,9 +18963,9 @@ function Mw({ toolbar: t }) {
18972
18963
  }
18973
18964
  ),
18974
18965
  /* @__PURE__ */ s(Dt, {}),
18975
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(So, {}), ...J }),
18976
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...ne }),
18977
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(Ao, {}), ...Z }),
18966
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...J }),
18967
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(Ao, {}), ...ne }),
18968
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(_o, {}), ...Z }),
18978
18969
  /* @__PURE__ */ s(
18979
18970
  Fw,
18980
18971
  {
@@ -18994,7 +18985,7 @@ function Mw({ toolbar: t }) {
18994
18985
  }
18995
18986
  ),
18996
18987
  /* @__PURE__ */ s(Dt, {}),
18997
- /* @__PURE__ */ s(Mo, { res_id: g })
18988
+ /* @__PURE__ */ s(ko, { res_id: g })
18998
18989
  ] }) : null;
18999
18990
  }
19000
18991
  const kw = it(Mw), kd = it(
@@ -19179,7 +19170,7 @@ const Ma = (t, e) => ({
19179
19170
  tabIndex: 0,
19180
19171
  loading: o,
19181
19172
  style: { marginLeft: 15 },
19182
- icon: /* @__PURE__ */ s(Ao, {}),
19173
+ icon: /* @__PURE__ */ s(_o, {}),
19183
19174
  htmlType: "submit",
19184
19175
  type: "primary",
19185
19176
  disabled: o,
@@ -19228,7 +19219,7 @@ function Vw({ refreshGraph: t }) {
19228
19219
  /* @__PURE__ */ s(
19229
19220
  Ut,
19230
19221
  {
19231
- icon: /* @__PURE__ */ s(Ro, {}),
19222
+ icon: /* @__PURE__ */ s(Fo, {}),
19232
19223
  tooltip: e("refresh"),
19233
19224
  disabled: l,
19234
19225
  loading: !1,
@@ -19250,7 +19241,7 @@ function Vw({ refreshGraph: t }) {
19250
19241
  }
19251
19242
  ),
19252
19243
  /* @__PURE__ */ s(Dt, {}),
19253
- /* @__PURE__ */ s(Mo, { searchParams: i })
19244
+ /* @__PURE__ */ s(ko, { searchParams: i })
19254
19245
  ] });
19255
19246
  }
19256
19247
  const Bw = {
@@ -19390,7 +19381,7 @@ const Bw = {
19390
19381
  ) }),
19391
19382
  /* @__PURE__ */ U("div", { style: Bw, children: [
19392
19383
  /* @__PURE__ */ s(
19393
- Po,
19384
+ Lo,
19394
19385
  {
19395
19386
  fields: {
19396
19387
  ...c == null ? void 0 : c.fields,
@@ -19435,8 +19426,8 @@ const Bw = {
19435
19426
  }),
19436
19427
  [i, n]
19437
19428
  );
19438
- return /* @__PURE__ */ s(Es, { ...r, style: a, children: o });
19439
- }, Is = it(Uw), Ww = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(vi, {}) }), qw = (t) => t.replace(/@(\w+)/g, "**@$1**"), vi = Ht(
19429
+ return /* @__PURE__ */ s(Os, { ...r, style: a, children: o });
19430
+ }, Rs = it(Uw), Ww = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(vi, {}) }), qw = (t) => t.replace(/@(\w+)/g, "**@$1**"), vi = Ht(
19440
19431
  (t, e) => {
19441
19432
  const {
19442
19433
  value: n = "",
@@ -19555,7 +19546,7 @@ const Yw = {
19555
19546
  }
19556
19547
  )
19557
19548
  }
19558
- ) }) }), { Title: Kw, Text: Ir } = Kt, { useToken: $d } = at, Jw = (t) => t.charAt(0).toUpperCase() + t.slice(1), Qw = (t) => Jw(st(t).calendar()), Rs = 450, ka = 8, Xw = { minRows: 1, maxRows: 4 }, Zw = {
19549
+ ) }) }), { Title: Kw, Text: Ir } = Kt, { useToken: $d } = at, Jw = (t) => t.charAt(0).toUpperCase() + t.slice(1), Qw = (t) => Jw(st(t).calendar()), Fs = 450, ka = 8, Xw = { minRows: 1, maxRows: 4 }, Zw = {
19559
19550
  display: "flex",
19560
19551
  justifyContent: "center",
19561
19552
  alignItems: "center",
@@ -19673,7 +19664,7 @@ const Yw = {
19673
19664
  ), F = /* @__PURE__ */ s("div", { style: b, children: e ? /* @__PURE__ */ U(Fe, { children: [
19674
19665
  /* @__PURE__ */ s(Ir, { style: v, children: l }),
19675
19666
  /* @__PURE__ */ s(
19676
- Is,
19667
+ Rs,
19677
19668
  {
19678
19669
  userName: l,
19679
19670
  size: 28,
@@ -19682,7 +19673,7 @@ const Yw = {
19682
19673
  )
19683
19674
  ] }) : /* @__PURE__ */ U(Fe, { children: [
19684
19675
  /* @__PURE__ */ s(
19685
- Is,
19676
+ Rs,
19686
19677
  {
19687
19678
  userName: l,
19688
19679
  size: 28,
@@ -19783,7 +19774,7 @@ const r0 = (t) => {
19783
19774
  () => T.map((B) => ({
19784
19775
  value: B.login,
19785
19776
  label: /* @__PURE__ */ U("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
19786
- /* @__PURE__ */ s(Is, { userName: B.name, size: 24 }),
19777
+ /* @__PURE__ */ s(Rs, { userName: B.name, size: 24 }),
19787
19778
  /* @__PURE__ */ s("span", { children: B.name }),
19788
19779
  /* @__PURE__ */ U(Ir, { type: "secondary", style: { fontSize: 12 }, children: [
19789
19780
  "@",
@@ -19811,7 +19802,7 @@ const r0 = (t) => {
19811
19802
  top: 0,
19812
19803
  right: 0,
19813
19804
  bottom: 0,
19814
- width: Rs,
19805
+ width: Fs,
19815
19806
  backgroundColor: m.colorBgContainer,
19816
19807
  borderLeft: `1px solid ${m.colorBorder}`,
19817
19808
  display: "flex",
@@ -19841,10 +19832,10 @@ const r0 = (t) => {
19841
19832
  [m.colorBorder, m.colorBgElevated]
19842
19833
  );
19843
19834
  return v ? /* @__PURE__ */ s(bl, { onExitComplete: N, children: e && /* @__PURE__ */ U(
19844
- ms.div,
19835
+ ps.div,
19845
19836
  {
19846
19837
  initial: { width: 0, opacity: 0 },
19847
- animate: { width: Rs, opacity: 1 },
19838
+ animate: { width: Fs, opacity: 1 },
19848
19839
  exit: { width: 0, opacity: 0 },
19849
19840
  transition: { type: "spring", stiffness: 300, damping: 30 },
19850
19841
  style: k,
@@ -20047,7 +20038,7 @@ const r0 = (t) => {
20047
20038
  scrollbarWidth: "thin",
20048
20039
  scrollbarColor: `${T.colorTextQuaternary} ${T.colorBgContainer}`,
20049
20040
  paddingRight: ka,
20050
- marginRight: w && g ? Rs + ka : 0,
20041
+ marginRight: w && g ? Fs + ka : 0,
20051
20042
  transition: "margin-right 0.3s ease"
20052
20043
  }),
20053
20044
  [
@@ -20148,7 +20139,7 @@ function c0() {
20148
20139
  /* @__PURE__ */ s(
20149
20140
  Ut,
20150
20141
  {
20151
- icon: /* @__PURE__ */ s(Ro, {}),
20142
+ icon: /* @__PURE__ */ s(Fo, {}),
20152
20143
  tooltip: i("refresh"),
20153
20144
  disabled: t,
20154
20145
  loading: !1,
@@ -20158,7 +20149,7 @@ function c0() {
20158
20149
  }
20159
20150
  ),
20160
20151
  /* @__PURE__ */ s(Dt, {}),
20161
- /* @__PURE__ */ s(Mo, {})
20152
+ /* @__PURE__ */ s(ko, {})
20162
20153
  ] });
20163
20154
  }
20164
20155
  const d0 = {
@@ -20224,8 +20215,8 @@ function Ld({
20224
20215
  const Na = ({ value: t }) => K(
20225
20216
  () => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: t }),
20226
20217
  [t]
20227
- ), is = {
20228
- ...ko,
20218
+ ), as = {
20219
+ ...No,
20229
20220
  integer: Na,
20230
20221
  float: Na
20231
20222
  }, f0 = mt(Wr)`
@@ -20343,7 +20334,7 @@ const Na = ({ value: t }) => K(
20343
20334
  value: B[1],
20344
20335
  model: ne == null ? void 0 : ne.relation
20345
20336
  });
20346
- const Z = is == null ? void 0 : is[J], ue = (oe) => {
20337
+ const Z = as == null ? void 0 : as[J], ue = (oe) => {
20347
20338
  J === "many2one" && oe.stopPropagation();
20348
20339
  }, re = (oe) => {
20349
20340
  oe.stopPropagation(), l == null || l();
@@ -21008,7 +20999,7 @@ const Na = ({ value: t }) => K(
21008
20999
  style: { color: z.colorTextSecondary }
21009
21000
  }
21010
21001
  ) : /* @__PURE__ */ s(
21011
- Fs,
21002
+ Es,
21012
21003
  {
21013
21004
  menu: { items: be, onClick: ve },
21014
21005
  trigger: ["click"],
@@ -21327,7 +21318,7 @@ const Na = ({ value: t }) => K(
21327
21318
  te(), ae();
21328
21319
  }, []);
21329
21320
  const q = ml(
21330
- fs(pl, {
21321
+ ms(pl, {
21331
21322
  activationConstraint: {
21332
21323
  distance: 8
21333
21324
  }
@@ -22904,7 +22895,7 @@ const Y0 = af(lf), z0 = (t) => {
22904
22895
  children: r
22905
22896
  }
22906
22897
  );
22907
- }, as = "line_ids";
22898
+ }, ls = "line_ids";
22908
22899
  function G0(t, e) {
22909
22900
  const { model: n, context: r = {}, id: o, configAction: i } = t, [a, c] = _([]), [l, d] = _(!1), [f, u] = _(), {
22910
22901
  setIsLoading: m,
@@ -22926,7 +22917,7 @@ function G0(t, e) {
22926
22917
  async function w() {
22927
22918
  d(!0), m(!0), u(void 0);
22928
22919
  try {
22929
- const N = await F(), R = await I(N), E = N.fields[as].relation, A = R[as].items;
22920
+ const N = await F(), R = await I(N), E = N.fields[ls].relation, A = R[ls].items;
22930
22921
  y.current = N.fields;
22931
22922
  const V = await S({
22932
22923
  items: A,
@@ -23029,7 +23020,7 @@ function G0(t, e) {
23029
23020
  await C({
23030
23021
  model: n,
23031
23022
  id: o,
23032
- values: { [as]: V },
23023
+ values: { [ls]: V },
23033
23024
  fields: y.current,
23034
23025
  context: r
23035
23026
  });
@@ -23390,7 +23381,7 @@ const K0 = Ht(G0), J0 = (t) => {
23390
23381
  const r = `https://www.gravatar.com/avatar/${sf(
23391
23382
  t
23392
23383
  )}?s=${e}&d=${n}`;
23393
- return /* @__PURE__ */ s(Es, { src: r, size: e });
23384
+ return /* @__PURE__ */ s(Os, { src: r, size: e });
23394
23385
  };
23395
23386
  function uC({ text: t }) {
23396
23387
  const e = t.split(`
@@ -23410,7 +23401,7 @@ const fC = (t) => {
23410
23401
  title: e.author,
23411
23402
  description: /* @__PURE__ */ U(yt, { direction: "horizontal", children: [
23412
23403
  /* @__PURE__ */ s("span", { title: e.date, children: st(e.date).fromNow() }),
23413
- e.isAuthor && /* @__PURE__ */ s(Os, { color: "blue", children: r("author") })
23404
+ e.isAuthor && /* @__PURE__ */ s(Ds, { color: "blue", children: r("author") })
23414
23405
  ] }),
23415
23406
  style: { marginBottom: "5px" }
23416
23407
  }
@@ -23523,7 +23514,7 @@ function AC() {
23523
23514
  return /* @__PURE__ */ s(SC, { className: "m-5 select-none", children: /* @__PURE__ */ s(TC, { level: 5, children: t("welcome") }) });
23524
23515
  }
23525
23516
  function _C(t, e) {
23526
- const { children: n } = t, [r, o] = _("welcome"), { t: i } = Oe(), { showErrorNotification: a } = At(), { globalValues: c, rootContext: l } = Jt(), d = Do(
23517
+ const { children: n } = t, [r, o] = _("welcome"), { t: i } = Oe(), { showErrorNotification: a } = At(), { globalValues: c, rootContext: l } = Jt(), d = Mo(
23527
23518
  Et.FEATURE_LOGGABLE_ACTIONS
23528
23519
  ), [f, u] = Ee(
23529
23520
  Y.getHandler().logAction
@@ -24216,12 +24207,12 @@ function Dx() {
24216
24207
  onReorderTabs: i,
24217
24208
  onUpdateTabTitle: a
24218
24209
  } = t || {}, c = Q(null), [l, d] = _(!1), f = ml(
24219
- fs(pl, {
24210
+ ms(pl, {
24220
24211
  activationConstraint: {
24221
24212
  distance: 8
24222
24213
  }
24223
24214
  }),
24224
- fs(ff, {
24215
+ ms(ff, {
24225
24216
  coordinateGetter: hf
24226
24217
  })
24227
24218
  ), u = x((b) => {
@@ -24508,7 +24499,7 @@ const { useToken: OC } = at, kx = (t) => {
24508
24499
  ] });
24509
24500
  };
24510
24501
  export {
24511
- ps as ACTION_TYPE_REPORT,
24502
+ hs as ACTION_TYPE_REPORT,
24512
24503
  Sm as ACTION_TYPE_UPDATE_TOKEN,
24513
24504
  Cm as ACTION_TYPE_URL,
24514
24505
  Dn as ACTION_TYPE_WINDOW,
@@ -24556,7 +24547,7 @@ export {
24556
24547
  Wm as Icon,
24557
24548
  Ym as Image,
24558
24549
  Vr as Integer,
24559
- Fo as Label,
24550
+ Eo as Label,
24560
24551
  xm as MODEL_ACTIONS,
24561
24552
  Fb as Many2one,
24562
24553
  km as Many2oneLazy,
@@ -24571,7 +24562,7 @@ export {
24571
24562
  X0 as Radio,
24572
24563
  Sw as Reference,
24573
24564
  Ox as RootView,
24574
- Po as SearchFilter,
24565
+ Lo as SearchFilter,
24575
24566
  to as SearchModal,
24576
24567
  id as SearchTree,
24577
24568
  Ol as Selection,
@@ -24589,7 +24580,7 @@ export {
24589
24580
  Bv as TreeActionView,
24590
24581
  $w as Url,
24591
24582
  Ex as UserAllFeatureKeys,
24592
- Is as UserAvatar,
24583
+ Rs as UserAvatar,
24593
24584
  yn as UserFeatureKeys,
24594
24585
  Px as dayjs,
24595
24586
  un as showConfirmDialog,