@gisce/react-ooui 2.115.0-alpha.15 → 2.115.0-alpha.17

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
  };
@@ -2012,7 +2012,10 @@ function Tm(t) {
2012
2012
  const Us = (t, e, n, r = !1) => t.columns.map((i) => {
2013
2013
  const a = i.type, c = i.id, l = i.fieldType, d = a === "many2one" || a === "many2one_lazy" || a === "selection" && l === "many2one", f = d ? "many2one" : a, u = e == null ? void 0 : e[f];
2014
2014
  let m;
2015
- return u ? m = (p) => u({ value: p, key: c, ooui: i, context: n }) : m = (p) => Tm(p) ? p : /* @__PURE__ */ U("p", { style: { color: "red" }, children: [
2015
+ return u ? m = (p) => {
2016
+ let g = i;
2017
+ return a === "selection" && l === "many2one" && (g = { ...i, showMenu: !1 }), u({ value: p, key: c, ooui: g, context: n });
2018
+ } : m = (p) => Tm(p) ? p : /* @__PURE__ */ U("p", { style: { color: "red" }, children: [
2016
2019
  "Unsupported widget value for a Tree cell:",
2017
2020
  /* @__PURE__ */ s("pre", { children: /* @__PURE__ */ U("strong", { children: [
2018
2021
  "Type: ",
@@ -2123,7 +2126,7 @@ const Us = (t, e, n, r = !1) => t.columns.map((i) => {
2123
2126
  };
2124
2127
  else if (g instanceof uo)
2125
2128
  d[f] = l[f];
2126
- else if (g instanceof Ds)
2129
+ else if (g instanceof Co)
2127
2130
  d[f] = l[f] && Array.isArray(l[f]) && l[f].length === 2 && {
2128
2131
  model: g.relation,
2129
2132
  id: l[f][0],
@@ -2242,7 +2245,7 @@ function Ul(t) {
2242
2245
  }
2243
2246
  return "legacy";
2244
2247
  }
2245
- const hs = (t) => {
2248
+ const gs = (t) => {
2246
2249
  if (!(!(t != null && t.arch) || !(t != null && t.fields)))
2247
2250
  try {
2248
2251
  const n = dn(t).columns.filter((r) => r.id && !r.invisible).map((r) => r.id);
@@ -2258,7 +2261,7 @@ const hs = (t) => {
2258
2261
  }, Im = (t, e) => {
2259
2262
  const { children: n, globalValues: r = {} } = t, o = Q(), i = Q(), [a, c] = _(!1), l = Re(
2260
2263
  Qt
2261
- ), { openAction: d } = l || {}, f = Q([]), { t: u } = Oe(), { showErrorNotification: m } = At(), p = Do(
2264
+ ), { openAction: d } = l || {}, f = Q([]), { t: u } = Oe(), { showErrorNotification: m } = At(), p = Mo(
2262
2265
  Et.FEATURE_LOGGABLE_ACTIONS
2263
2266
  ), [g, h] = Ee(
2264
2267
  Y.getHandler().logAction
@@ -2292,14 +2295,14 @@ const hs = (t) => {
2292
2295
  id: W
2293
2296
  } = N;
2294
2297
  if (!P && V) {
2295
- const Z = hs(V);
2298
+ const Z = gs(V);
2296
2299
  Z && Z.length > 0 && (L.fields = Z);
2297
2300
  }
2298
2301
  if (!P && V) {
2299
- const Z = hs(V);
2302
+ const Z = gs(V);
2300
2303
  Z && Z.length > 0 && (L.fields = Z);
2301
2304
  }
2302
- if (k !== ps) {
2305
+ if (k !== hs) {
2303
2306
  m({
2304
2307
  type: "error",
2305
2308
  title: "Error",
@@ -2361,7 +2364,7 @@ const hs = (t) => {
2361
2364
  view_id: P
2362
2365
  }) {
2363
2366
  const { type: H } = D;
2364
- if (A && f.current.push(A), H === ps)
2367
+ if (A && f.current.push(A), H === hs)
2365
2368
  return await T({
2366
2369
  reportData: D,
2367
2370
  fields: N,
@@ -2638,13 +2641,13 @@ const Fm = Ht(Im), Em = ({
2638
2641
  id: "action",
2639
2642
  name: l("action"),
2640
2643
  disabled: !m || m.length === 0,
2641
- icon: /* @__PURE__ */ s(So, {})
2644
+ icon: /* @__PURE__ */ s(To, {})
2642
2645
  },
2643
2646
  {
2644
2647
  id: "print",
2645
2648
  name: l("report"),
2646
2649
  disabled: !g || g.length === 0,
2647
- icon: /* @__PURE__ */ s(To, {})
2650
+ icon: /* @__PURE__ */ s(Ao, {})
2648
2651
  },
2649
2652
  {
2650
2653
  id: "divider",
@@ -2654,7 +2657,7 @@ const Fm = Ht(Im), Em = ({
2654
2657
  },
2655
2658
  {
2656
2659
  label: l("related"),
2657
- icon: /* @__PURE__ */ s(Ao, {}),
2660
+ icon: /* @__PURE__ */ s(_o, {}),
2658
2661
  items: p
2659
2662
  }
2660
2663
  ];
@@ -2910,7 +2913,7 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
2910
2913
  fields: (h == null ? void 0 : h()) ?? {},
2911
2914
  context: (y == null ? void 0 : y()) ?? {}
2912
2915
  })), g && g.length > 0 && (A.current = A.current.concat(
2913
- Co({
2916
+ xo({
2914
2917
  domain: g,
2915
2918
  widgetFieldName: d
2916
2919
  })
@@ -2925,12 +2928,6 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
2925
2928
  Z
2926
2929
  ]), le = x(
2927
2930
  async (ee) => {
2928
- if (!a) {
2929
- console.warn(
2930
- "Many2oneLazy: Cannot perform name_search without relation"
2931
- );
2932
- return;
2933
- }
2934
2931
  F(!0);
2935
2932
  try {
2936
2933
  await pe();
@@ -2983,10 +2980,6 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
2983
2980
  [he]
2984
2981
  ), _e = x(
2985
2982
  async (ee) => {
2986
- if (!a) {
2987
- console.warn("Many2oneLazy: Cannot fetch name without relation");
2988
- return;
2989
- }
2990
2983
  F(!0);
2991
2984
  try {
2992
2985
  const G = await te({
@@ -3016,10 +3009,6 @@ const Ex = Object.values(yn), { defaultAlgorithm: Dm, defaultSeed: Mm } = at, jn
3016
3009
  q(G);
3017
3010
  return;
3018
3011
  }
3019
- if (!a) {
3020
- console.warn("Many2oneLazy: Cannot fetch names without relation");
3021
- return;
3022
- }
3023
3012
  F(!0);
3024
3013
  try {
3025
3014
  const X = await te({
@@ -3999,7 +3988,7 @@ function rp({
3999
3988
  justifyContent: "center",
4000
3989
  overflow: "hidden"
4001
3990
  },
4002
- children: /* @__PURE__ */ U(us, { style: { fontSize: l, margin: 0, color: i }, children: [
3991
+ children: /* @__PURE__ */ U(fs, { style: { fontSize: l, margin: 0, color: i }, children: [
4003
3992
  p && /* @__PURE__ */ s(p, { style: { fontSize: l * 0.7 } }),
4004
3993
  p ? ` ${u}` : u
4005
3994
  ] })
@@ -4052,9 +4041,9 @@ function op({
4052
4041
  children: /* @__PURE__ */ U(lt, { align: "middle", children: [
4053
4042
  h && /* @__PURE__ */ s(Je, { style: { fontSize: f * 1, color: a, paddingRight: "10px" }, children: /* @__PURE__ */ s(h, {}) }),
4054
4043
  /* @__PURE__ */ U(Je, { children: [
4055
- /* @__PURE__ */ s(us, { style: { fontSize: f * 0.8, margin: 0, color: a }, children: h ? ` ${r}%` : `${r}%` }),
4044
+ /* @__PURE__ */ s(fs, { style: { fontSize: f * 0.8, margin: 0, color: a }, children: h ? ` ${r}%` : `${r}%` }),
4056
4045
  /* @__PURE__ */ s(
4057
- us,
4046
+ fs,
4058
4047
  {
4059
4048
  style: {
4060
4049
  fontSize: f * 0.4,
@@ -4399,7 +4388,7 @@ async function $i({
4399
4388
  }), c;
4400
4389
  });
4401
4390
  }
4402
- const jo = (t) => (e) => {
4391
+ const Uo = (t) => (e) => {
4403
4392
  const n = e.value.toLocaleString("es-ES", {
4404
4393
  useGrouping: !0
4405
4394
  });
@@ -4439,7 +4428,7 @@ const jo = (t) => (e) => {
4439
4428
  maxItemWidth: 1e3
4440
4429
  },
4441
4430
  tooltip: {
4442
- formatter: jo("default")
4431
+ formatter: Uo("default")
4443
4432
  }
4444
4433
  },
4445
4434
  pie: {
@@ -4452,7 +4441,7 @@ const jo = (t) => (e) => {
4452
4441
  maxItemWidth: 1e3
4453
4442
  },
4454
4443
  tooltip: {
4455
- formatter: jo("pie")
4444
+ formatter: Uo("pie")
4456
4445
  },
4457
4446
  interactions: [
4458
4447
  {
@@ -4467,7 +4456,7 @@ const jo = (t) => (e) => {
4467
4456
  maxItemWidth: 1e3
4468
4457
  },
4469
4458
  tooltip: {
4470
- formatter: jo("barGrouped")
4459
+ formatter: Uo("barGrouped")
4471
4460
  },
4472
4461
  xAxis: {
4473
4462
  label: {
@@ -4836,7 +4825,7 @@ const xp = ({
4836
4825
  }) => {
4837
4826
  Ep({
4838
4827
  title: n("unsavedChanges"),
4839
- icon: /* @__PURE__ */ s(xo, {}),
4828
+ icon: /* @__PURE__ */ s(So, {}),
4840
4829
  centered: !0,
4841
4830
  content: n("confirmCloseWithoutSave"),
4842
4831
  okText: n("closeWithoutSaving"),
@@ -4844,7 +4833,7 @@ const xp = ({
4844
4833
  onCancel: e,
4845
4834
  cancelText: n("cancel")
4846
4835
  });
4847
- }, Uo = {
4836
+ }, Wo = {
4848
4837
  tree: /* @__PURE__ */ s(Ns, {}),
4849
4838
  form: /* @__PURE__ */ s(Mr, {}),
4850
4839
  graph: /* @__PURE__ */ s(lu, {}),
@@ -4852,7 +4841,7 @@ const xp = ({
4852
4841
  kanban: /* @__PURE__ */ s(tl, {})
4853
4842
  };
4854
4843
  function Bi(t) {
4855
- return t ? (Uo == null ? void 0 : Uo[t.type]) || /* @__PURE__ */ s(Mr, {}) : /* @__PURE__ */ s(Mr, {});
4844
+ return t ? (Wo == null ? void 0 : Wo[t.type]) || /* @__PURE__ */ s(Mr, {}) : /* @__PURE__ */ s(Mr, {});
4856
4845
  }
4857
4846
  function zs(t) {
4858
4847
  const {
@@ -4981,7 +4970,7 @@ function ac(t) {
4981
4970
  return /* @__PURE__ */ s(
4982
4971
  Ut,
4983
4972
  {
4984
- icon: /* @__PURE__ */ s(_o, {}),
4973
+ icon: /* @__PURE__ */ s(Io, {}),
4985
4974
  tooltip: o("new"),
4986
4975
  onClick: i,
4987
4976
  disabled: e,
@@ -5119,7 +5108,7 @@ const { useToken: Mp } = at, kp = (t) => {
5119
5108
  availableViews: C,
5120
5109
  currentSavedSearch: T,
5121
5110
  setCurrentSavedSearch: w
5122
- } = g || {}, F = Do(
5111
+ } = g || {}, F = Mo(
5123
5112
  Et.FEATURE_LOGGABLE_ACTIONS
5124
5113
  ), [S] = Ee(
5125
5114
  Y.getHandler().logAction
@@ -5417,7 +5406,7 @@ const Np = "action", $p = ["active_id", "active_ids", "id"], Pp = ["target", "co
5417
5406
  }, fc = (t) => !t || typeof t != "object" ? {} : Object.fromEntries(
5418
5407
  Object.entries(t).filter(([e]) => $p.includes(e))
5419
5408
  ), Bp = Mn("IconExternalLink"), Hp = Mn("IconShare2");
5420
- function Mo({ res_id: t, searchParams: e }) {
5409
+ function ko({ res_id: t, searchParams: e }) {
5421
5410
  const n = Q(null), { currentView: r, limit: o, currentPage: i, order: a } = Vt(), c = {
5422
5411
  id: r.view_id,
5423
5412
  type: r.type
@@ -5632,10 +5621,10 @@ function jp({
5632
5621
  id: -1,
5633
5622
  model: g,
5634
5623
  report_name: "printscreen.list",
5635
- type: ps,
5624
+ type: hs,
5636
5625
  datas: {
5637
5626
  view_id: c == null ? void 0 : c.view_id,
5638
- fields: !(c != null && c.view_id) && hs(c),
5627
+ fields: !(c != null && c.view_id) && gs(c),
5639
5628
  model: g,
5640
5629
  ids: se
5641
5630
  }
@@ -5764,7 +5753,7 @@ function jp({
5764
5753
  /* @__PURE__ */ s(
5765
5754
  Ut,
5766
5755
  {
5767
- icon: /* @__PURE__ */ s(Io, {}),
5756
+ icon: /* @__PURE__ */ s(Ro, {}),
5768
5757
  tooltip: L("showLogs"),
5769
5758
  disabled: !(d && (d == null ? void 0 : d.length) === 1) || S,
5770
5759
  onClick: () => Gs(g, d[0].id, L)
@@ -5773,7 +5762,7 @@ function jp({
5773
5762
  /* @__PURE__ */ s(
5774
5763
  Ut,
5775
5764
  {
5776
- icon: /* @__PURE__ */ s(Ro, {}),
5765
+ icon: /* @__PURE__ */ s(Fo, {}),
5777
5766
  tooltip: L("refresh"),
5778
5767
  disabled: m || u || S,
5779
5768
  onClick: B
@@ -5793,8 +5782,8 @@ function jp({
5793
5782
  )
5794
5783
  ] }),
5795
5784
  /* @__PURE__ */ s(Dt, {}),
5796
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(So, {}), ...ne }),
5797
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...Z }),
5785
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...ne }),
5786
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(Ao, {}), ...Z }),
5798
5787
  H && /* @__PURE__ */ U(Fe, { children: [
5799
5788
  /* @__PURE__ */ s(Dt, {}),
5800
5789
  /* @__PURE__ */ s(
@@ -5837,7 +5826,7 @@ function jp({
5837
5826
  )
5838
5827
  ] }),
5839
5828
  /* @__PURE__ */ s(Dt, {}),
5840
- /* @__PURE__ */ s(Mo, { searchParams: v })
5829
+ /* @__PURE__ */ s(ko, { searchParams: v })
5841
5830
  ] });
5842
5831
  }
5843
5832
  const mc = it(jp), pc = it(() => /* @__PURE__ */ s(
@@ -6255,7 +6244,7 @@ const Kp = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(vc,
6255
6244
  let r = n;
6256
6245
  e.selectionValues.size ? r = e.selectionValues.get(n) : Array.isArray(n) && (r = n[1]);
6257
6246
  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 }) });
6247
+ return /* @__PURE__ */ s(Wt, { title: r, children: /* @__PURE__ */ s(Os, { alt: r, style: { backgroundColor: i }, children: o }) });
6259
6248
  };
6260
6249
  function nh(t) {
6261
6250
  return t.length === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1);
@@ -6313,7 +6302,7 @@ const rh = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(bc,
6313
6302
  borderWidth: "1px"
6314
6303
  }, e = r.background;
6315
6304
  }
6316
- return /* @__PURE__ */ s(Os, { ...t, style: n, color: e, children: t.children });
6305
+ return /* @__PURE__ */ s(Ds, { ...t, style: n, color: e, children: t.children });
6317
6306
  }, wc = ({
6318
6307
  emails: t,
6319
6308
  handleClose: e
@@ -6322,7 +6311,7 @@ const rh = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(bc,
6322
6311
  return null;
6323
6312
  const n = typeof t == "string" ? t.split(/[,;]/).map((r) => r.trim()) : t;
6324
6313
  return /* @__PURE__ */ s(Fe, { children: n.map((r, o) => /* @__PURE__ */ s(
6325
- Os,
6314
+ Ds,
6326
6315
  {
6327
6316
  closable: !!e,
6328
6317
  color: Qu.isEmail(r, { allow_display_name: !0 }) ? void 0 : "error",
@@ -6588,7 +6577,7 @@ const rh = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(bc,
6588
6577
  ),
6589
6578
  [o]
6590
6579
  );
6591
- }, ko = {
6580
+ }, No = {
6592
6581
  boolean: ih,
6593
6582
  many2one: Hi,
6594
6583
  many2one_lazy: Hi,
@@ -6673,7 +6662,7 @@ const Lr = ({
6673
6662
  if (t)
6674
6663
  return Us(
6675
6664
  t,
6676
- { ...ko },
6665
+ { ...No },
6677
6666
  e,
6678
6667
  f
6679
6668
  );
@@ -6924,12 +6913,12 @@ const Lr = ({
6924
6913
  format: "HH:mm:ss",
6925
6914
  displayFormat: "HH:mm:ss",
6926
6915
  placeholder: "__:__:__"
6927
- }, Wo = (t) => new RegExp(
6916
+ }, qo = (t) => new RegExp(
6928
6917
  "^" + t.replace(/HH/g, "\\d{2}").replace(/mm/g, "\\d{2}").replace(/ss/g, "\\d{2}").replace(/:/g, "\\:") + "$"
6929
6918
  ), Rr = {
6930
- hours: Wo("HH"),
6931
- hoursMinutes: Wo("HH:mm"),
6932
- hoursMinutesSeconds: Wo("HH:mm:ss")
6919
+ hours: qo("HH"),
6920
+ hoursMinutes: qo("HH:mm"),
6921
+ hoursMinutesSeconds: qo("HH:mm:ss")
6933
6922
  }, Th = (t) => !t || t.trim() === "" ? !0 : Rr.hours.test(t) || Rr.hoursMinutes.test(t), Ah = (t, e, n = !1) => {
6934
6923
  if (!t || t.trim() === "") {
6935
6924
  const r = e.format("HH"), o = e.format("mm"), i = e.format("ss");
@@ -6987,7 +6976,7 @@ const Lr = ({
6987
6976
  handleKeyDown: r,
6988
6977
  handleBlur: o
6989
6978
  };
6990
- }, gs = ({
6979
+ }, ys = ({
6991
6980
  value: t,
6992
6981
  onChange: e,
6993
6982
  numberOfSelectsToHide: n = 2,
@@ -7028,18 +7017,18 @@ const Lr = ({
7028
7017
  );
7029
7018
  }, Ih = (t) => {
7030
7019
  const { ooui: e, showLabel: n = !1 } = t, { label: r, id: o } = e, i = [
7031
- new ls({
7020
+ new cs({
7032
7021
  name: o + "#date",
7033
7022
  label: ""
7034
7023
  }),
7035
- new ls({
7024
+ new cs({
7036
7025
  name: o + "#time",
7037
7026
  label: ""
7038
7027
  })
7039
7028
  ];
7040
7029
  return /* @__PURE__ */ U(Fe, { children: [
7041
7030
  n && /* @__PURE__ */ s(
7042
- Fo,
7031
+ Eo,
7043
7032
  {
7044
7033
  ooui: new pr({
7045
7034
  name: o + "_label",
@@ -7065,7 +7054,7 @@ const Lr = ({
7065
7054
  );
7066
7055
  return /* @__PURE__ */ U(lt, { gutter: 8, children: [
7067
7056
  /* @__PURE__ */ s(Je, { span: 12, children: /* @__PURE__ */ s(
7068
- gs,
7057
+ ys,
7069
7058
  {
7070
7059
  placeholder: "Start time",
7071
7060
  format: "HH:mm",
@@ -7078,7 +7067,7 @@ const Lr = ({
7078
7067
  }
7079
7068
  ) }),
7080
7069
  /* @__PURE__ */ s(Je, { span: 12, children: /* @__PURE__ */ s(
7081
- gs,
7070
+ ys,
7082
7071
  {
7083
7072
  placeholder: "End time",
7084
7073
  style: { width: "100%" },
@@ -7095,7 +7084,7 @@ const Lr = ({
7095
7084
  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
7085
  () => l ? Dh : Ur,
7097
7086
  [l]
7098
- ), f = x((m) => m ? /* @__PURE__ */ s(Oo, { content: m }) : null, []), u = x((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
7087
+ ), f = x((m) => m ? /* @__PURE__ */ s(Do, { content: m }) : null, []), u = x((m) => `${m}`.replace(/[^0-9.-]+/g, ""), []);
7099
7088
  return /* @__PURE__ */ s(Ze, { required: l, type: "number", ...t, children: /* @__PURE__ */ s(
7100
7089
  d,
7101
7090
  {
@@ -7121,7 +7110,7 @@ const Dh = mt(Ur)`
7121
7110
  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
7111
  () => f ? Ph : Ur,
7123
7112
  [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(
7113
+ ), 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
7114
  (h) => {
7126
7115
  const y = h;
7127
7116
  n == null || n(y);
@@ -7152,7 +7141,7 @@ const Ph = mt(Ur)`
7152
7141
  }
7153
7142
  `;
7154
7143
  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(
7144
+ const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof ds ? Vr : ti, c = (l) => /* @__PURE__ */ s(
7156
7145
  a,
7157
7146
  {
7158
7147
  ooui: {
@@ -7166,7 +7155,7 @@ function Lh(t) {
7166
7155
  );
7167
7156
  return /* @__PURE__ */ U("div", { style: { width: "100%" }, children: [
7168
7157
  n && /* @__PURE__ */ s(
7169
- Fo,
7158
+ Eo,
7170
7159
  {
7171
7160
  ooui: new pr({
7172
7161
  name: r + "_label",
@@ -7236,7 +7225,7 @@ function Tc(t) {
7236
7225
  e.readOnly = !1, e.required = !1;
7237
7226
  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
7227
  if (c && (o === "many2one_lazy" || o === "selection" && i === "many2one")) {
7239
- const u = new Ds({
7228
+ const u = new Co({
7240
7229
  name: e._id,
7241
7230
  string: e.label,
7242
7231
  relation: c,
@@ -7337,7 +7326,7 @@ const { useToken: Yh } = at, { Title: zh } = Kt, { Header: Gh, Content: Kh, Foot
7337
7326
  };
7338
7327
  return /* @__PURE__ */ s(bl, { children: t && /* @__PURE__ */ U(Fe, { children: [
7339
7328
  /* @__PURE__ */ s(
7340
- ms.div,
7329
+ ps.div,
7341
7330
  {
7342
7331
  initial: { opacity: 0 },
7343
7332
  animate: { opacity: 1 },
@@ -7365,7 +7354,7 @@ const { useToken: Yh } = at, { Title: zh } = Kt, { Header: Gh, Content: Kh, Foot
7365
7354
  returnFocusOnDeactivate: !0
7366
7355
  },
7367
7356
  children: /* @__PURE__ */ U(
7368
- ms.div,
7357
+ ps.div,
7369
7358
  {
7370
7359
  ref: u,
7371
7360
  initial: { x: "100%" },
@@ -7442,10 +7431,10 @@ const { useToken: Yh } = at, { Title: zh } = Kt, { Header: Gh, Content: Kh, Foot
7442
7431
  var qi = Object.prototype.toString, Ac = function(e) {
7443
7432
  var n = qi.call(e), r = n === "[object Arguments]";
7444
7433
  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;
7434
+ }, Yo, Yi;
7446
7435
  function Xh() {
7447
7436
  if (Yi)
7448
- return qo;
7437
+ return Yo;
7449
7438
  Yi = 1;
7450
7439
  var t;
7451
7440
  if (!Object.keys) {
@@ -7529,7 +7518,7 @@ function Xh() {
7529
7518
  return v;
7530
7519
  };
7531
7520
  }
7532
- return qo = t, qo;
7521
+ return Yo = t, Yo;
7533
7522
  }
7534
7523
  var Zh = Array.prototype.slice, eg = Ac, zi = Object.keys, ao = zi ? function(e) {
7535
7524
  return zi(e);
@@ -7593,27 +7582,27 @@ if (co)
7593
7582
  } catch {
7594
7583
  co = !1;
7595
7584
  }
7596
- var vg = co, Yo, Ki;
7585
+ var vg = co, zo, Ki;
7597
7586
  function bg() {
7598
7587
  if (Ki)
7599
- return Yo;
7588
+ return zo;
7600
7589
  Ki = 1;
7601
7590
  var t = typeof Symbol < "u" && Symbol, e = Ic;
7602
- return Yo = function() {
7591
+ return zo = function() {
7603
7592
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
7604
- }, Yo;
7593
+ }, zo;
7605
7594
  }
7606
- var zo, Ji;
7595
+ var Go, Ji;
7607
7596
  function Ec() {
7608
- return Ji || (Ji = 1, zo = typeof Reflect < "u" && Reflect.getPrototypeOf || null), zo;
7597
+ return Ji || (Ji = 1, Go = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Go;
7609
7598
  }
7610
- var Go, Qi;
7599
+ var Ko, Qi;
7611
7600
  function Oc() {
7612
7601
  if (Qi)
7613
- return Go;
7602
+ return Ko;
7614
7603
  Qi = 1;
7615
7604
  var t = Rc;
7616
- return Go = t.getPrototypeOf || null, Go;
7605
+ return Ko = t.getPrototypeOf || null, Ko;
7617
7606
  }
7618
7607
  var wg = "Function.prototype.bind called on incompatible ", Cg = Object.prototype.toString, xg = Math.max, Sg = "[object Function]", Xi = function(e, n) {
7619
7608
  for (var r = [], o = 0; o < e.length; o += 1)
@@ -7653,42 +7642,42 @@ var wg = "Function.prototype.bind called on incompatible ", Cg = Object.prototyp
7653
7642
  d.prototype = n.prototype, o.prototype = new d(), d.prototype = null;
7654
7643
  }
7655
7644
  return o;
7656
- }, Ig = _g, Jr = Function.prototype.bind || Ig, Ko, Zi;
7645
+ }, Ig = _g, Jr = Function.prototype.bind || Ig, Jo, Zi;
7657
7646
  function oi() {
7658
- return Zi || (Zi = 1, Ko = Function.prototype.call), Ko;
7647
+ return Zi || (Zi = 1, Jo = Function.prototype.call), Jo;
7659
7648
  }
7660
- var Jo, ea;
7649
+ var Qo, ea;
7661
7650
  function Dc() {
7662
- return ea || (ea = 1, Jo = Function.prototype.apply), Jo;
7651
+ return ea || (ea = 1, Qo = Function.prototype.apply), Qo;
7663
7652
  }
7664
- var Qo, ta;
7653
+ var Xo, ta;
7665
7654
  function Rg() {
7666
- return ta || (ta = 1, Qo = typeof Reflect < "u" && Reflect && Reflect.apply), Qo;
7655
+ return ta || (ta = 1, Xo = typeof Reflect < "u" && Reflect && Reflect.apply), Xo;
7667
7656
  }
7668
- var Xo, na;
7657
+ var Zo, na;
7669
7658
  function Fg() {
7670
7659
  if (na)
7671
- return Xo;
7660
+ return Zo;
7672
7661
  na = 1;
7673
7662
  var t = Jr, e = Dc(), n = oi(), r = Rg();
7674
- return Xo = r || t.call(n, e), Xo;
7663
+ return Zo = r || t.call(n, e), Zo;
7675
7664
  }
7676
- var Zo, ra;
7665
+ var es, ra;
7677
7666
  function Eg() {
7678
7667
  if (ra)
7679
- return Zo;
7668
+ return es;
7680
7669
  ra = 1;
7681
7670
  var t = Jr, e = Fc, n = oi(), r = Fg();
7682
- return Zo = function(i) {
7671
+ return es = function(i) {
7683
7672
  if (i.length < 1 || typeof i[0] != "function")
7684
7673
  throw new e("a function is required");
7685
7674
  return r(t, n, i);
7686
- }, Zo;
7675
+ }, es;
7687
7676
  }
7688
- var es, oa;
7677
+ var ts, oa;
7689
7678
  function Og() {
7690
7679
  if (oa)
7691
- return es;
7680
+ return ts;
7692
7681
  oa = 1;
7693
7682
  var t = Eg(), e = ri, n;
7694
7683
  try {
@@ -7703,20 +7692,20 @@ function Og() {
7703
7692
  /** @type {keyof typeof Object.prototype} */
7704
7693
  "__proto__"
7705
7694
  ), o = Object, i = o.getPrototypeOf;
7706
- return es = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
7695
+ return ts = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
7707
7696
  /** @type {import('./get')} */
7708
7697
  function(c) {
7709
7698
  return i(c == null ? c : o(c));
7710
7699
  }
7711
- ) : !1, es;
7700
+ ) : !1, ts;
7712
7701
  }
7713
- var ts, sa;
7702
+ var ns, sa;
7714
7703
  function Dg() {
7715
7704
  if (sa)
7716
- return ts;
7705
+ return ns;
7717
7706
  sa = 1;
7718
7707
  var t = Ec(), e = Oc(), n = Og();
7719
- return ts = t ? function(o) {
7708
+ return ns = t ? function(o) {
7720
7709
  return t(o);
7721
7710
  } : e ? function(o) {
7722
7711
  if (!o || typeof o != "object" && typeof o != "function")
@@ -7724,34 +7713,34 @@ function Dg() {
7724
7713
  return e(o);
7725
7714
  } : n ? function(o) {
7726
7715
  return n(o);
7727
- } : null, ts;
7716
+ } : null, ns;
7728
7717
  }
7729
- var ns, ia;
7718
+ var rs, ia;
7730
7719
  function Mg() {
7731
7720
  if (ia)
7732
- return ns;
7721
+ return rs;
7733
7722
  ia = 1;
7734
7723
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Jr;
7735
- return ns = n.call(t, e), ns;
7724
+ return rs = n.call(t, e), rs;
7736
7725
  }
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) {
7726
+ 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
7727
  try {
7739
7728
  return Mc('"use strict"; return (' + t + ").constructor;")();
7740
7729
  } catch {
7741
7730
  }
7742
- }, Br = ri, zg = vg, os = function() {
7731
+ }, Br = ri, zg = vg, ss = function() {
7743
7732
  throw new ir();
7744
7733
  }, Gg = Br ? function() {
7745
7734
  try {
7746
- return arguments.callee, os;
7735
+ return arguments.callee, ss;
7747
7736
  } catch {
7748
7737
  try {
7749
7738
  return Br(arguments, "callee").get;
7750
7739
  } catch {
7751
- return os;
7740
+ return ss;
7752
7741
  }
7753
7742
  }
7754
- }() : os, Xn = bg()(), $t = Dg(), Kg = Oc(), Jg = Ec(), kc = Dc(), Qr = oi(), er = {}, Qg = typeof Uint8Array > "u" || !$t ? rt : $t(Uint8Array), Un = {
7743
+ }() : ss, Xn = bg()(), $t = Dg(), Kg = Oc(), Jg = Ec(), kc = Dc(), Qr = oi(), er = {}, Qg = typeof Uint8Array > "u" || !$t ? rt : $t(Uint8Array), Un = {
7755
7744
  __proto__: null,
7756
7745
  "%AggregateError%": typeof AggregateError > "u" ? rt : AggregateError,
7757
7746
  "%Array%": Array,
@@ -7845,11 +7834,11 @@ if ($t)
7845
7834
  var Zg = function t(e) {
7846
7835
  var n;
7847
7836
  if (e === "%AsyncFunction%")
7848
- n = rs("async function () {}");
7837
+ n = os("async function () {}");
7849
7838
  else if (e === "%GeneratorFunction%")
7850
- n = rs("function* () {}");
7839
+ n = os("function* () {}");
7851
7840
  else if (e === "%AsyncGeneratorFunction%")
7852
- n = rs("async function* () {}");
7841
+ n = os("async function* () {}");
7853
7842
  else if (e === "%AsyncGenerator%") {
7854
7843
  var r = t("%AsyncGeneratorFunction%");
7855
7844
  r && (n = r.prototype);
@@ -7934,7 +7923,7 @@ var Zg = function t(e) {
7934
7923
  };
7935
7924
  }
7936
7925
  throw new mr("intrinsic " + e + " does not exist!");
7937
- }, No = function(e, n) {
7926
+ }, $o = function(e, n) {
7938
7927
  if (typeof e != "string" || e.length === 0)
7939
7928
  throw new ir("intrinsic name must be a non-empty string");
7940
7929
  if (arguments.length > 1 && typeof n != "boolean")
@@ -7966,7 +7955,7 @@ var Zg = function t(e) {
7966
7955
  return c;
7967
7956
  }, Nc = { exports: {} };
7968
7957
  (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%");
7958
+ 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
7959
  if (c)
7971
7960
  try {
7972
7961
  c({}, "a", { value: 1 });
@@ -7990,36 +7979,36 @@ var Zg = function t(e) {
7990
7979
  };
7991
7980
  c ? c(t.exports, "apply", { value: d }) : t.exports.apply = d;
7992
7981
  })(Nc);
7993
- var si = Nc.exports, $c = No, Pc = si, ay = Pc($c("String.prototype.indexOf")), Lc = function(e, n) {
7982
+ var si = Nc.exports, $c = $o, Pc = si, ay = Pc($c("String.prototype.indexOf")), Lc = function(e, n) {
7994
7983
  var r = $c(e, !!n);
7995
7984
  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]";
7985
+ }, ly = ni(), cy = Lc, vs = cy("Object.prototype.toString"), Po = function(e) {
7986
+ return ly && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : vs(e) === "[object Arguments]";
7998
7987
  }, 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]";
7988
+ 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
7989
  }, dy = function() {
8001
- return $o(arguments);
7990
+ return Po(arguments);
8002
7991
  }();
8003
- $o.isLegacyArguments = Vc;
8004
- var uy = dy ? $o : Vc, fy = No, vs = fy("%Object.defineProperty%", !0), bs = function() {
8005
- if (vs)
7992
+ Po.isLegacyArguments = Vc;
7993
+ var uy = dy ? Po : Vc, fy = $o, bs = fy("%Object.defineProperty%", !0), ws = function() {
7994
+ if (bs)
8006
7995
  try {
8007
- return vs({}, "a", { value: 1 }), !0;
7996
+ return bs({}, "a", { value: 1 }), !0;
8008
7997
  } catch {
8009
7998
  return !1;
8010
7999
  }
8011
8000
  return !1;
8012
8001
  };
8013
- bs.hasArrayLengthDefineBug = function() {
8014
- if (!bs())
8002
+ ws.hasArrayLengthDefineBug = function() {
8003
+ if (!ws())
8015
8004
  return null;
8016
8005
  try {
8017
- return vs([], "length", { value: 1 }).length !== 1;
8006
+ return bs([], "length", { value: 1 }).length !== 1;
8018
8007
  } catch {
8019
8008
  return !0;
8020
8009
  }
8021
8010
  };
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) {
8011
+ 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
8012
  if (!e || typeof e != "object" && typeof e != "function")
8024
8013
  throw new Zn("`obj` must be an object or a function`");
8025
8014
  if (typeof n != "string" && typeof n != "symbol")
@@ -8081,27 +8070,27 @@ Ay(Yc, {
8081
8070
  implementation: Iy,
8082
8071
  shim: Ry
8083
8072
  });
8084
- var Fy = Yc, ws = Lc, zc = ni(), Gc, Kc, Cs, xs;
8073
+ var Fy = Yc, Cs = Lc, zc = ni(), Gc, Kc, xs, Ss;
8085
8074
  if (zc) {
8086
- Gc = ws("Object.prototype.hasOwnProperty"), Kc = ws("RegExp.prototype.exec"), Cs = {};
8087
- var ss = function() {
8088
- throw Cs;
8075
+ Gc = Cs("Object.prototype.hasOwnProperty"), Kc = Cs("RegExp.prototype.exec"), xs = {};
8076
+ var is = function() {
8077
+ throw xs;
8089
8078
  };
8090
- xs = {
8091
- toString: ss,
8092
- valueOf: ss
8093
- }, typeof Symbol.toPrimitive == "symbol" && (xs[Symbol.toPrimitive] = ss);
8079
+ Ss = {
8080
+ toString: is,
8081
+ valueOf: is
8082
+ }, typeof Symbol.toPrimitive == "symbol" && (Ss[Symbol.toPrimitive] = is);
8094
8083
  }
8095
- var Ey = ws("Object.prototype.toString"), Oy = Object.getOwnPropertyDescriptor, Dy = "[object RegExp]", My = zc ? function(e) {
8084
+ var Ey = Cs("Object.prototype.toString"), Oy = Object.getOwnPropertyDescriptor, Dy = "[object RegExp]", My = zc ? function(e) {
8096
8085
  if (!e || typeof e != "object")
8097
8086
  return !1;
8098
8087
  var n = Oy(e, "lastIndex"), r = n && Gc(n, "value");
8099
8088
  if (!r)
8100
8089
  return !1;
8101
8090
  try {
8102
- Kc(e, xs);
8091
+ Kc(e, Ss);
8103
8092
  } catch (o) {
8104
- return o === Cs;
8093
+ return o === xs;
8105
8094
  }
8106
8095
  } : function(e) {
8107
8096
  return !e || typeof e != "object" && typeof e != "function" ? !1 : Ey(e) === Dy;
@@ -8953,14 +8942,14 @@ const li = (t) => {
8953
8942
  Qe,
8954
8943
  {
8955
8944
  size: "small",
8956
- icon: /* @__PURE__ */ s(ds, {}),
8945
+ icon: /* @__PURE__ */ s(us, {}),
8957
8946
  onClick: V,
8958
8947
  style: { height: "24px" },
8959
8948
  children: u("saveSearchFilter")
8960
8949
  }
8961
8950
  ),
8962
8951
  /* @__PURE__ */ s(
8963
- Fs,
8952
+ Es,
8964
8953
  {
8965
8954
  menu: {
8966
8955
  items: [
@@ -8989,7 +8978,7 @@ const li = (t) => {
8989
8978
  Qe,
8990
8979
  {
8991
8980
  size: "small",
8992
- icon: j ? /* @__PURE__ */ s(Dr, {}) : /* @__PURE__ */ s(ds, {}),
8981
+ icon: j ? /* @__PURE__ */ s(Dr, {}) : /* @__PURE__ */ s(us, {}),
8993
8982
  onClick: j ? P : V,
8994
8983
  style: { height: "24px" },
8995
8984
  children: u(j ? "saveAsNewSearchFilter" : "saveSearchFilter")
@@ -9168,7 +9157,7 @@ function hv(t) {
9168
9157
  ] });
9169
9158
  }
9170
9159
  function gv(t) {
9171
- const { onLimitChange: e } = t, { t: n } = Oe(), r = new cs({ name: "limit" }), o = new cs({ name: "offset" });
9160
+ const { onLimitChange: e } = t, { t: n } = Oe(), r = new ds({ name: "limit" }), o = new ds({ name: "offset" });
9172
9161
  return /* @__PURE__ */ U("div", { className: "pl-2 pt-2", children: [
9173
9162
  /* @__PURE__ */ s(lt, { children: n("parameters") }, "count_params"),
9174
9163
  /* @__PURE__ */ U(yt, { align: "center", children: [
@@ -9188,7 +9177,7 @@ function gv(t) {
9188
9177
  ] });
9189
9178
  }
9190
9179
  const { useToken: yv } = at;
9191
- function Po(t) {
9180
+ function Lo(t) {
9192
9181
  const {
9193
9182
  fields: e,
9194
9183
  searchFields: n = { primary: [], secondary: [] },
@@ -9843,7 +9832,7 @@ const Sr = () => {
9843
9832
  }
9844
9833
  )
9845
9834
  ] });
9846
- }, Lo = it(
9835
+ }, Vo = it(
9847
9836
  ({
9848
9837
  value: t,
9849
9838
  record: e,
@@ -9851,7 +9840,7 @@ const Sr = () => {
9851
9840
  isFieldLoading: r
9852
9841
  }) => 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)
9853
9842
  );
9854
- Lo.displayName = "CellRenderer";
9843
+ Vo.displayName = "CellRenderer";
9855
9844
  const rd = ({
9856
9845
  tableRef: t,
9857
9846
  autoRefresh: e
@@ -9981,7 +9970,7 @@ function Av(t, e) {
9981
9970
  ...vt,
9982
9971
  isSortable: tt ? !1 : vt.isSortable,
9983
9972
  render: (Nt, St) => /* @__PURE__ */ s(
9984
- Lo,
9973
+ Vo,
9985
9974
  {
9986
9975
  value: Nt,
9987
9976
  record: St,
@@ -10041,10 +10030,10 @@ function Av(t, e) {
10041
10030
  sort: In.sort || void 0,
10042
10031
  sortIndex: In.sortIndex || void 0,
10043
10032
  colId: In.colId
10044
- })), no = It && (It == null ? void 0 : It.length) > 0 ? It : void 0, Vo = ur({
10033
+ })), no = It && (It == null ? void 0 : It.length) > 0 ? It : void 0, Bo = ur({
10045
10034
  state: no
10046
10035
  });
10047
- Pe == null || Pe(no), St = Pr(Vo);
10036
+ Pe == null || Pe(no), St = Pr(Bo);
10048
10037
  }
10049
10038
  T.current = !0;
10050
10039
  const ln = be ? a : ht, Kn = Lr({
@@ -10336,7 +10325,7 @@ function Av(t, e) {
10336
10325
  ), Ar = be && O && S !== void 0 && S !== null && S === Bt;
10337
10326
  return /* @__PURE__ */ U(Yn, { children: [
10338
10327
  m === "top" && /* @__PURE__ */ s(
10339
- Po,
10328
+ Lo,
10340
10329
  {
10341
10330
  ...bn,
10342
10331
  onClear: Pn,
@@ -10524,7 +10513,7 @@ const od = Ht(
10524
10513
  return Us(
10525
10514
  R,
10526
10515
  {
10527
- ...ko
10516
+ ...No
10528
10517
  },
10529
10518
  w,
10530
10519
  L
@@ -10882,7 +10871,7 @@ function Fv(t, e) {
10882
10871
  rootTree: f = !1,
10883
10872
  parentContext: u = {},
10884
10873
  onChangeSelectedRowKeys: m
10885
- } = 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(
10874
+ } = 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(
10886
10875
  Sn
10887
10876
  ), { processAction: V } = A || {}, P = Re(
10888
10877
  qt
@@ -11051,7 +11040,7 @@ function Fv(t, e) {
11051
11040
  [k]
11052
11041
  ), Ce = x(() => !w || !S ? null : /* @__PURE__ */ U(Fe, { children: [
11053
11042
  /* @__PURE__ */ s(
11054
- Po,
11043
+ Lo,
11055
11044
  {
11056
11045
  fields: { ...S.fields, ...w.fields },
11057
11046
  searchFields: Wn([
@@ -11599,7 +11588,7 @@ const id = Ht(Fv), Ev = Bt, Ov = (t) => {
11599
11588
  ]
11600
11589
  );
11601
11590
  return t === "top" ? /* @__PURE__ */ s(
11602
- Po,
11591
+ Lo,
11603
11592
  {
11604
11593
  ...u,
11605
11594
  onClear: i,
@@ -11842,7 +11831,7 @@ function Pv(t, e) {
11842
11831
  ...pt,
11843
11832
  isSortable: Te ? !1 : pt.isSortable,
11844
11833
  render: (xt, ut) => /* @__PURE__ */ s(
11845
- Lo,
11834
+ Vo,
11846
11835
  {
11847
11836
  value: xt,
11848
11837
  record: ut,
@@ -12765,7 +12754,7 @@ const ad = Ht(Pv), { useToken: Lv } = at, ld = ({
12765
12754
  overflow: "hidden"
12766
12755
  },
12767
12756
  children: a ? /* @__PURE__ */ U(Fe, { children: [
12768
- /* @__PURE__ */ s(Wt, { title: a, children: /* @__PURE__ */ s(Io, { className: "pr-1 text-xs" }) }),
12757
+ /* @__PURE__ */ s(Wt, { title: a, children: /* @__PURE__ */ s(Ro, { className: "pr-1 text-xs" }) }),
12769
12758
  /* @__PURE__ */ s(Fa, { ellipsis: !0, children: e })
12770
12759
  ] }) : /* @__PURE__ */ s(
12771
12760
  Fa,
@@ -13251,7 +13240,7 @@ const ud = it(Gv), { useToken: Kv } = at, Jv = 3 * 1e3, Qv = (t) => {
13251
13240
  fixedHeight: e,
13252
13241
  autoRefresh: n
13253
13242
  }) => {
13254
- 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();
13243
+ 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();
13255
13244
  me(() => (p.current && (clearInterval(p.current), p.current = null), n && m.current && r.type === "graph" && g !== !1 && h && (p.current = setInterval(() => {
13256
13245
  var b;
13257
13246
  (b = m.current) == null || b.refresh();
@@ -13620,7 +13609,7 @@ const ub = (t) => {
13620
13609
  case "group":
13621
13610
  return Od;
13622
13611
  case "label":
13623
- return Fo;
13612
+ return Eo;
13624
13613
  case "char":
13625
13614
  return Il;
13626
13615
  case "text":
@@ -13716,11 +13705,20 @@ const ub = (t) => {
13716
13705
  return;
13717
13706
  }
13718
13707
  }, fb = (t) => {
13708
+ var a;
13719
13709
  const { ooui: e } = t, { type: n } = e;
13720
- let r = n;
13721
- n === "selection" && e.fieldType === "many2one" && (r = "many2one_lazy");
13722
- const o = ub(r);
13723
- return o ? qd(o, t) : null;
13710
+ let r = n, o = e;
13711
+ n === "selection" && e.fieldType === "many2one" && (r = "many2one_lazy", o = new Co({
13712
+ name: e._id,
13713
+ string: e.label,
13714
+ relation: e.relation || ((a = e.raw_props) == null ? void 0 : a.relation),
13715
+ context: e.context,
13716
+ domain: e.domain,
13717
+ readOnly: e.readOnly,
13718
+ required: e.required
13719
+ }), o.parsedWidgetProps = e.parsedWidgetProps);
13720
+ const i = ub(r);
13721
+ return i ? qd(i, { ...t, ooui: o }) : null;
13724
13722
  }, mb = ({
13725
13723
  item: t,
13726
13724
  responsiveBehaviour: e
@@ -14185,12 +14183,12 @@ function Ab(t, e) {
14185
14183
  reset: $e,
14186
14184
  isDefaultGet: je = !1
14187
14185
  }) => {
14188
- const Rt = { ...$e ? {} : P.getFieldsValue(!0), ...ge }, Bo = Ln(Rt, xe), Hd = Object.keys(xe).map((Ho) => ({
14189
- name: Ho,
14186
+ const Rt = { ...$e ? {} : P.getFieldsValue(!0), ...ge }, Ho = Ln(Rt, xe), Hd = Object.keys(xe).map((jo) => ({
14187
+ name: jo,
14190
14188
  touched: !1,
14191
- value: Bo[Ho] !== void 0 ? Bo[Ho] : void 0
14189
+ value: Ho[jo] !== void 0 ? Ho[jo] : void 0
14192
14190
  }));
14193
- je || (te.current = Bo), P.setFields(Hd);
14191
+ je || (te.current = Ho), P.setFields(Hd);
14194
14192
  },
14195
14193
  [P]
14196
14194
  ), bn = async ({
@@ -14592,7 +14590,7 @@ function Ab(t, e) {
14592
14590
  je && Qn(!1), ie(Ke);
14593
14591
  }
14594
14592
  }
14595
- const Vo = () => !A && !R ? /* @__PURE__ */ s(ct, {}) : !n && !h || !T ? null : /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(
14593
+ const Bo = () => !A && !R ? /* @__PURE__ */ s(ct, {}) : !n && !h || !T ? null : /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(
14596
14594
  bf,
14597
14595
  {
14598
14596
  getValues: Ct,
@@ -14688,7 +14686,7 @@ function Ab(t, e) {
14688
14686
  j((xe = ge.bounds) == null ? void 0 : xe.width);
14689
14687
  },
14690
14688
  children: ({ measureRef: ge }) => /* @__PURE__ */ U("div", { className: "pb-2", ref: ge, children: [
14691
- Vo(),
14689
+ Bo(),
14692
14690
  c && In()
14693
14691
  ] })
14694
14692
  }
@@ -14834,7 +14832,7 @@ const Tr = Ht(Ab), md = (t) => {
14834
14832
  isMenuAction: a = !1,
14835
14833
  actionData: c,
14836
14834
  ...l
14837
- } = 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, {
14835
+ } = 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, {
14838
14836
  showNameModal: F,
14839
14837
  toggleFavourite: S,
14840
14838
  handleSaveFavourite: I,
@@ -14935,7 +14933,7 @@ const Tr = Ht(Ab), md = (t) => {
14935
14933
  context: a = {},
14936
14934
  canCreate: c = !0
14937
14935
  }) => {
14938
- const [l, d] = _(!1), [f, u] = _([]), [m, p] = _(!1), { modalWidth: g, modalHeight: h } = Eo(), { t: y } = Oe(), { showErrorNotification: b } = At(), {
14936
+ const [l, d] = _(!1), [f, u] = _([]), [m, p] = _(!1), { modalWidth: g, modalHeight: h } = Oo(), { t: y } = Oe(), { showErrorNotification: b } = At(), {
14939
14937
  treeView: v,
14940
14938
  formView: C,
14941
14939
  loading: T
@@ -15018,7 +15016,7 @@ const Tr = Ht(Ab), md = (t) => {
15018
15016
  Qe,
15019
15017
  {
15020
15018
  disabled: m || !c,
15021
- icon: /* @__PURE__ */ s(_o, {}),
15019
+ icon: /* @__PURE__ */ s(Io, {}),
15022
15020
  onClick: D,
15023
15021
  children: y("new")
15024
15022
  }
@@ -15149,7 +15147,7 @@ const Tr = Ht(Ab), md = (t) => {
15149
15147
  fields: O(),
15150
15148
  context: M()
15151
15149
  })), I && I.length > 0 && (R.current = R.current.concat(
15152
- Co({
15150
+ xo({
15153
15151
  domain: I,
15154
15152
  widgetFieldName: l
15155
15153
  })
@@ -15326,7 +15324,7 @@ const Tr = Ht(Ab), md = (t) => {
15326
15324
  }) => {
15327
15325
  gd({
15328
15326
  title: t("removeItems"),
15329
- icon: /* @__PURE__ */ s(xo, {}),
15327
+ icon: /* @__PURE__ */ s(So, {}),
15330
15328
  centered: !0,
15331
15329
  content: t("confirmRemove"),
15332
15330
  okText: t("yesConfirmRemove"),
@@ -15339,7 +15337,7 @@ const Tr = Ht(Ab), md = (t) => {
15339
15337
  }) => {
15340
15338
  gd({
15341
15339
  title: t("unlinkItems"),
15342
- icon: /* @__PURE__ */ s(xo, {}),
15340
+ icon: /* @__PURE__ */ s(So, {}),
15343
15341
  centered: !0,
15344
15342
  content: t("confirmUnlink"),
15345
15343
  okText: t("yesConfirmUnlink"),
@@ -15572,7 +15570,7 @@ function kb(t) {
15572
15570
  Mt,
15573
15571
  {
15574
15572
  tooltip: I("createNewItem"),
15575
- icon: /* @__PURE__ */ s(_o, {}),
15573
+ icon: /* @__PURE__ */ s(Io, {}),
15576
15574
  disabled: W,
15577
15575
  onClick: r
15578
15576
  }
@@ -15604,7 +15602,7 @@ function kb(t) {
15604
15602
  /* @__PURE__ */ s(
15605
15603
  Mt,
15606
15604
  {
15607
- icon: /* @__PURE__ */ s(Io, {}),
15605
+ icon: /* @__PURE__ */ s(Ro, {}),
15608
15606
  tooltip: I("showLogs"),
15609
15607
  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),
15610
15608
  onClick: () => Gs(
@@ -15658,7 +15656,7 @@ function kb(t) {
15658
15656
  /* @__PURE__ */ s(
15659
15657
  Cn,
15660
15658
  {
15661
- icon: /* @__PURE__ */ s(So, {}),
15659
+ icon: /* @__PURE__ */ s(To, {}),
15662
15660
  ...a === "form" ? H : $
15663
15661
  }
15664
15662
  )
@@ -15668,7 +15666,7 @@ function kb(t) {
15668
15666
  /* @__PURE__ */ s(
15669
15667
  Cn,
15670
15668
  {
15671
- icon: /* @__PURE__ */ s(To, {}),
15669
+ icon: /* @__PURE__ */ s(Ao, {}),
15672
15670
  ...a === "form" ? z : k
15673
15671
  }
15674
15672
  )
@@ -15678,7 +15676,7 @@ function kb(t) {
15678
15676
  /* @__PURE__ */ s(
15679
15677
  Cn,
15680
15678
  {
15681
- icon: /* @__PURE__ */ s(Ao, {}),
15679
+ icon: /* @__PURE__ */ s(_o, {}),
15682
15680
  ...L
15683
15681
  }
15684
15682
  )
@@ -15868,7 +15866,7 @@ const Pb = (t) => {
15868
15866
  fields: m(),
15869
15867
  context: p()
15870
15868
  })), g && g.length > 0 && (ie = ie.concat(
15871
- Co({
15869
+ xo({
15872
15870
  domain: g,
15873
15871
  widgetFieldName: ye
15874
15872
  })
@@ -16224,7 +16222,7 @@ const Pb = (t) => {
16224
16222
  fields: o(),
16225
16223
  context: i()
16226
16224
  })), a && a.length > 0 && (d = d.concat(
16227
- Co({
16225
+ xo({
16228
16226
  domain: a,
16229
16227
  widgetFieldName: t
16230
16228
  })
@@ -16707,7 +16705,7 @@ const Rd = ({
16707
16705
  }), q = K(() => z ? z.map((Ie) => ({
16708
16706
  ...Ie,
16709
16707
  render: (ie, ee) => /* @__PURE__ */ s(
16710
- Lo,
16708
+ Vo,
16711
16709
  {
16712
16710
  value: ie,
16713
16711
  record: ee,
@@ -17276,7 +17274,7 @@ const Rd = ({
17276
17274
  const O = wt(() => t.length, [t]), M = wt(() => Us(
17277
17275
  o,
17278
17276
  {
17279
- ...ko
17277
+ ...No
17280
17278
  },
17281
17279
  i,
17282
17280
  I
@@ -17861,7 +17859,7 @@ function ow(t) {
17861
17859
  }
17862
17860
  );
17863
17861
  }
17864
- const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17862
+ const { useToken: sw } = at, { TextArea: Ts } = Tt, iw = (t) => {
17865
17863
  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 || {};
17866
17864
  return /* @__PURE__ */ s(Ze, { required: o, ...t, children: a ? /* @__PURE__ */ s(
17867
17865
  aw,
@@ -17871,7 +17869,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17871
17869
  requiredStyle: l
17872
17870
  }
17873
17871
  ) : /* @__PURE__ */ s(
17874
- Ss,
17872
+ Ts,
17875
17873
  {
17876
17874
  disabled: r || a,
17877
17875
  style: {
@@ -17910,7 +17908,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17910
17908
  u || m(!0);
17911
17909
  },
17912
17910
  children: /* @__PURE__ */ s(
17913
- Ss,
17911
+ Ts,
17914
17912
  {
17915
17913
  value: t,
17916
17914
  onChange: (g) => {
@@ -17947,7 +17945,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
17947
17945
  )
17948
17946
  ] }) : /* @__PURE__ */ U(Fe, { children: [
17949
17947
  /* @__PURE__ */ s(lt, { gutter: 8, wrap: !1, children: /* @__PURE__ */ s(
17950
- Ss,
17948
+ Ts,
17951
17949
  {
17952
17950
  value: t,
17953
17951
  onChange: (g) => {
@@ -18023,7 +18021,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18023
18021
  return a.current["/"] = y, Da({ fields: y });
18024
18022
  }, [t, e, a]), u = x(
18025
18023
  async (y) => {
18026
- const v = _s(y, a.current)[As(y)], C = v.relation, T = await Y.getHandler().getFields({
18024
+ const v = Is(y, a.current)[_s(y)], C = v.relation, T = await Y.getHandler().getFields({
18027
18025
  model: C,
18028
18026
  context: e,
18029
18027
  fields: []
@@ -18049,7 +18047,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18049
18047
  predefinedExports: y.map((C) => ({
18050
18048
  ...C,
18051
18049
  fields: C.fields.map((T) => {
18052
- const w = As(T.key), F = _s(T.key, a.current);
18050
+ const w = _s(T.key), F = Is(T.key, a.current);
18053
18051
  if (!F)
18054
18052
  return {
18055
18053
  key: T.key
@@ -18138,12 +18136,12 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18138
18136
  }, Dd = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", dw = ({
18139
18137
  parentKey: t,
18140
18138
  key: e
18141
- }) => `${t ? t + "/" : ""}${e}`, Ts = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), As = (t) => {
18139
+ }) => `${t ? t + "/" : ""}${e}`, As = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), _s = (t) => {
18142
18140
  if (t.indexOf("/") === -1)
18143
18141
  return t;
18144
18142
  const e = t.split("/");
18145
18143
  return e[e.length - 1];
18146
- }, _s = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[Ts(t)], uw = ({
18144
+ }, Is = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[As(t)], uw = ({
18147
18145
  title: t,
18148
18146
  parentTitle: e
18149
18147
  }) => `${e ? e + " → " : ""}${t}`, fw = async ({
@@ -18173,8 +18171,8 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18173
18171
  ...new Set(
18174
18172
  e.filter((n) => {
18175
18173
  var r, o;
18176
- return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[Ts(n)]) != null && o[n]);
18177
- }).map((n) => Ts(n))
18174
+ return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[As(n)]) != null && o[n]);
18175
+ }).map((n) => As(n))
18178
18176
  )
18179
18177
  ]), pw = async ({
18180
18178
  predefinedExports: t,
@@ -18201,7 +18199,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18201
18199
  keys: t,
18202
18200
  fields: e
18203
18201
  }) => t.map((n) => {
18204
- const r = As(n), i = _s(n, e)[r], a = Dd(i), c = i.is_function === !0;
18202
+ const r = _s(n), i = Is(n, e)[r], a = Dd(i), c = i.is_function === !0;
18205
18203
  return a && !c ? `${n}/id` : n;
18206
18204
  }), gw = (t) => {
18207
18205
  const e = /* @__PURE__ */ new Map(), n = [];
@@ -18283,7 +18281,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18283
18281
  }, xw = (t) => {
18284
18282
  const { readOnly: e } = t.ooui;
18285
18283
  return /* @__PURE__ */ s(
18286
- gs,
18284
+ ys,
18287
18285
  {
18288
18286
  onChange: (r, o) => {
18289
18287
  t.onChange && t.onChange(o);
@@ -18328,7 +18326,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18328
18326
  /* @__PURE__ */ s(Je, { flex: "3", children: /* @__PURE__ */ s(
18329
18327
  hd,
18330
18328
  {
18331
- ooui: new Ds({
18329
+ ooui: new Co({
18332
18330
  name: "object_value",
18333
18331
  relation: u,
18334
18332
  readonly: a,
@@ -18509,7 +18507,7 @@ const { useToken: sw } = at, { TextArea: Ss } = Tt, iw = (t) => {
18509
18507
  (u = d.current) == null || u.close(), o();
18510
18508
  },
18511
18509
  children: [
18512
- /* @__PURE__ */ s(_o, {}),
18510
+ /* @__PURE__ */ s(Io, {}),
18513
18511
  " ",
18514
18512
  l("addNewAttachment")
18515
18513
  ]
@@ -18891,7 +18889,7 @@ function Mw({ toolbar: t }) {
18891
18889
  /* @__PURE__ */ s(
18892
18890
  Ut,
18893
18891
  {
18894
- icon: /* @__PURE__ */ s(ds, {}),
18892
+ icon: /* @__PURE__ */ s(us, {}),
18895
18893
  tooltip: n("save"),
18896
18894
  disabled: !m || W || !(P != null && P.write),
18897
18895
  loading: p,
@@ -18930,7 +18928,7 @@ function Mw({ toolbar: t }) {
18930
18928
  /* @__PURE__ */ s(
18931
18929
  Ut,
18932
18930
  {
18933
- icon: /* @__PURE__ */ s(Io, {}),
18931
+ icon: /* @__PURE__ */ s(Ro, {}),
18934
18932
  tooltip: n("showLogs"),
18935
18933
  disabled: W || g === void 0,
18936
18934
  onClick: () => Gs(C, g, n)
@@ -18939,7 +18937,7 @@ function Mw({ toolbar: t }) {
18939
18937
  /* @__PURE__ */ s(
18940
18938
  Ut,
18941
18939
  {
18942
- icon: /* @__PURE__ */ s(Ro, {}),
18940
+ icon: /* @__PURE__ */ s(Fo, {}),
18943
18941
  tooltip: n("refresh"),
18944
18942
  disabled: W || g === void 0,
18945
18943
  onClick: B
@@ -18968,9 +18966,9 @@ function Mw({ toolbar: t }) {
18968
18966
  }
18969
18967
  ),
18970
18968
  /* @__PURE__ */ s(Dt, {}),
18971
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(So, {}), ...J }),
18972
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...ne }),
18973
- /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(Ao, {}), ...Z }),
18969
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(To, {}), ...J }),
18970
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(Ao, {}), ...ne }),
18971
+ /* @__PURE__ */ s(Cn, { icon: /* @__PURE__ */ s(_o, {}), ...Z }),
18974
18972
  /* @__PURE__ */ s(
18975
18973
  Fw,
18976
18974
  {
@@ -18990,7 +18988,7 @@ function Mw({ toolbar: t }) {
18990
18988
  }
18991
18989
  ),
18992
18990
  /* @__PURE__ */ s(Dt, {}),
18993
- /* @__PURE__ */ s(Mo, { res_id: g })
18991
+ /* @__PURE__ */ s(ko, { res_id: g })
18994
18992
  ] }) : null;
18995
18993
  }
18996
18994
  const kw = it(Mw), kd = it(
@@ -19175,7 +19173,7 @@ const Ma = (t, e) => ({
19175
19173
  tabIndex: 0,
19176
19174
  loading: o,
19177
19175
  style: { marginLeft: 15 },
19178
- icon: /* @__PURE__ */ s(Ao, {}),
19176
+ icon: /* @__PURE__ */ s(_o, {}),
19179
19177
  htmlType: "submit",
19180
19178
  type: "primary",
19181
19179
  disabled: o,
@@ -19224,7 +19222,7 @@ function Vw({ refreshGraph: t }) {
19224
19222
  /* @__PURE__ */ s(
19225
19223
  Ut,
19226
19224
  {
19227
- icon: /* @__PURE__ */ s(Ro, {}),
19225
+ icon: /* @__PURE__ */ s(Fo, {}),
19228
19226
  tooltip: e("refresh"),
19229
19227
  disabled: l,
19230
19228
  loading: !1,
@@ -19246,7 +19244,7 @@ function Vw({ refreshGraph: t }) {
19246
19244
  }
19247
19245
  ),
19248
19246
  /* @__PURE__ */ s(Dt, {}),
19249
- /* @__PURE__ */ s(Mo, { searchParams: i })
19247
+ /* @__PURE__ */ s(ko, { searchParams: i })
19250
19248
  ] });
19251
19249
  }
19252
19250
  const Bw = {
@@ -19386,7 +19384,7 @@ const Bw = {
19386
19384
  ) }),
19387
19385
  /* @__PURE__ */ U("div", { style: Bw, children: [
19388
19386
  /* @__PURE__ */ s(
19389
- Po,
19387
+ Lo,
19390
19388
  {
19391
19389
  fields: {
19392
19390
  ...c == null ? void 0 : c.fields,
@@ -19431,8 +19429,8 @@ const Bw = {
19431
19429
  }),
19432
19430
  [i, n]
19433
19431
  );
19434
- return /* @__PURE__ */ s(Es, { ...r, style: a, children: o });
19435
- }, Is = it(Uw), Ww = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(vi, {}) }), qw = (t) => t.replace(/@(\w+)/g, "**@$1**"), vi = Ht(
19432
+ return /* @__PURE__ */ s(Os, { ...r, style: a, children: o });
19433
+ }, Rs = it(Uw), Ww = (t) => /* @__PURE__ */ s(Ze, { ...t, children: /* @__PURE__ */ s(vi, {}) }), qw = (t) => t.replace(/@(\w+)/g, "**@$1**"), vi = Ht(
19436
19434
  (t, e) => {
19437
19435
  const {
19438
19436
  value: n = "",
@@ -19551,7 +19549,7 @@ const Yw = {
19551
19549
  }
19552
19550
  )
19553
19551
  }
19554
- ) }) }), { 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 = {
19552
+ ) }) }), { 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 = {
19555
19553
  display: "flex",
19556
19554
  justifyContent: "center",
19557
19555
  alignItems: "center",
@@ -19669,7 +19667,7 @@ const Yw = {
19669
19667
  ), F = /* @__PURE__ */ s("div", { style: b, children: e ? /* @__PURE__ */ U(Fe, { children: [
19670
19668
  /* @__PURE__ */ s(Ir, { style: v, children: l }),
19671
19669
  /* @__PURE__ */ s(
19672
- Is,
19670
+ Rs,
19673
19671
  {
19674
19672
  userName: l,
19675
19673
  size: 28,
@@ -19678,7 +19676,7 @@ const Yw = {
19678
19676
  )
19679
19677
  ] }) : /* @__PURE__ */ U(Fe, { children: [
19680
19678
  /* @__PURE__ */ s(
19681
- Is,
19679
+ Rs,
19682
19680
  {
19683
19681
  userName: l,
19684
19682
  size: 28,
@@ -19779,7 +19777,7 @@ const r0 = (t) => {
19779
19777
  () => T.map((B) => ({
19780
19778
  value: B.login,
19781
19779
  label: /* @__PURE__ */ U("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
19782
- /* @__PURE__ */ s(Is, { userName: B.name, size: 24 }),
19780
+ /* @__PURE__ */ s(Rs, { userName: B.name, size: 24 }),
19783
19781
  /* @__PURE__ */ s("span", { children: B.name }),
19784
19782
  /* @__PURE__ */ U(Ir, { type: "secondary", style: { fontSize: 12 }, children: [
19785
19783
  "@",
@@ -19807,7 +19805,7 @@ const r0 = (t) => {
19807
19805
  top: 0,
19808
19806
  right: 0,
19809
19807
  bottom: 0,
19810
- width: Rs,
19808
+ width: Fs,
19811
19809
  backgroundColor: m.colorBgContainer,
19812
19810
  borderLeft: `1px solid ${m.colorBorder}`,
19813
19811
  display: "flex",
@@ -19837,10 +19835,10 @@ const r0 = (t) => {
19837
19835
  [m.colorBorder, m.colorBgElevated]
19838
19836
  );
19839
19837
  return v ? /* @__PURE__ */ s(bl, { onExitComplete: N, children: e && /* @__PURE__ */ U(
19840
- ms.div,
19838
+ ps.div,
19841
19839
  {
19842
19840
  initial: { width: 0, opacity: 0 },
19843
- animate: { width: Rs, opacity: 1 },
19841
+ animate: { width: Fs, opacity: 1 },
19844
19842
  exit: { width: 0, opacity: 0 },
19845
19843
  transition: { type: "spring", stiffness: 300, damping: 30 },
19846
19844
  style: k,
@@ -20043,7 +20041,7 @@ const r0 = (t) => {
20043
20041
  scrollbarWidth: "thin",
20044
20042
  scrollbarColor: `${T.colorTextQuaternary} ${T.colorBgContainer}`,
20045
20043
  paddingRight: ka,
20046
- marginRight: w && g ? Rs + ka : 0,
20044
+ marginRight: w && g ? Fs + ka : 0,
20047
20045
  transition: "margin-right 0.3s ease"
20048
20046
  }),
20049
20047
  [
@@ -20144,7 +20142,7 @@ function c0() {
20144
20142
  /* @__PURE__ */ s(
20145
20143
  Ut,
20146
20144
  {
20147
- icon: /* @__PURE__ */ s(Ro, {}),
20145
+ icon: /* @__PURE__ */ s(Fo, {}),
20148
20146
  tooltip: i("refresh"),
20149
20147
  disabled: t,
20150
20148
  loading: !1,
@@ -20154,7 +20152,7 @@ function c0() {
20154
20152
  }
20155
20153
  ),
20156
20154
  /* @__PURE__ */ s(Dt, {}),
20157
- /* @__PURE__ */ s(Mo, {})
20155
+ /* @__PURE__ */ s(ko, {})
20158
20156
  ] });
20159
20157
  }
20160
20158
  const d0 = {
@@ -20220,8 +20218,8 @@ function Ld({
20220
20218
  const Na = ({ value: t }) => K(
20221
20219
  () => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: t }),
20222
20220
  [t]
20223
- ), is = {
20224
- ...ko,
20221
+ ), as = {
20222
+ ...No,
20225
20223
  integer: Na,
20226
20224
  float: Na
20227
20225
  }, f0 = mt(Wr)`
@@ -20339,7 +20337,7 @@ const Na = ({ value: t }) => K(
20339
20337
  value: B[1],
20340
20338
  model: ne == null ? void 0 : ne.relation
20341
20339
  });
20342
- const Z = is == null ? void 0 : is[J], ue = (oe) => {
20340
+ const Z = as == null ? void 0 : as[J], ue = (oe) => {
20343
20341
  J === "many2one" && oe.stopPropagation();
20344
20342
  }, re = (oe) => {
20345
20343
  oe.stopPropagation(), l == null || l();
@@ -21004,7 +21002,7 @@ const Na = ({ value: t }) => K(
21004
21002
  style: { color: z.colorTextSecondary }
21005
21003
  }
21006
21004
  ) : /* @__PURE__ */ s(
21007
- Fs,
21005
+ Es,
21008
21006
  {
21009
21007
  menu: { items: be, onClick: ve },
21010
21008
  trigger: ["click"],
@@ -21323,7 +21321,7 @@ const Na = ({ value: t }) => K(
21323
21321
  te(), ae();
21324
21322
  }, []);
21325
21323
  const q = ml(
21326
- fs(pl, {
21324
+ ms(pl, {
21327
21325
  activationConstraint: {
21328
21326
  distance: 8
21329
21327
  }
@@ -22900,7 +22898,7 @@ const Y0 = af(lf), z0 = (t) => {
22900
22898
  children: r
22901
22899
  }
22902
22900
  );
22903
- }, as = "line_ids";
22901
+ }, ls = "line_ids";
22904
22902
  function G0(t, e) {
22905
22903
  const { model: n, context: r = {}, id: o, configAction: i } = t, [a, c] = _([]), [l, d] = _(!1), [f, u] = _(), {
22906
22904
  setIsLoading: m,
@@ -22922,7 +22920,7 @@ function G0(t, e) {
22922
22920
  async function w() {
22923
22921
  d(!0), m(!0), u(void 0);
22924
22922
  try {
22925
- const N = await F(), R = await I(N), E = N.fields[as].relation, A = R[as].items;
22923
+ const N = await F(), R = await I(N), E = N.fields[ls].relation, A = R[ls].items;
22926
22924
  y.current = N.fields;
22927
22925
  const V = await S({
22928
22926
  items: A,
@@ -23025,7 +23023,7 @@ function G0(t, e) {
23025
23023
  await C({
23026
23024
  model: n,
23027
23025
  id: o,
23028
- values: { [as]: V },
23026
+ values: { [ls]: V },
23029
23027
  fields: y.current,
23030
23028
  context: r
23031
23029
  });
@@ -23386,7 +23384,7 @@ const K0 = Ht(G0), J0 = (t) => {
23386
23384
  const r = `https://www.gravatar.com/avatar/${sf(
23387
23385
  t
23388
23386
  )}?s=${e}&d=${n}`;
23389
- return /* @__PURE__ */ s(Es, { src: r, size: e });
23387
+ return /* @__PURE__ */ s(Os, { src: r, size: e });
23390
23388
  };
23391
23389
  function uC({ text: t }) {
23392
23390
  const e = t.split(`
@@ -23406,7 +23404,7 @@ const fC = (t) => {
23406
23404
  title: e.author,
23407
23405
  description: /* @__PURE__ */ U(yt, { direction: "horizontal", children: [
23408
23406
  /* @__PURE__ */ s("span", { title: e.date, children: st(e.date).fromNow() }),
23409
- e.isAuthor && /* @__PURE__ */ s(Os, { color: "blue", children: r("author") })
23407
+ e.isAuthor && /* @__PURE__ */ s(Ds, { color: "blue", children: r("author") })
23410
23408
  ] }),
23411
23409
  style: { marginBottom: "5px" }
23412
23410
  }
@@ -23519,7 +23517,7 @@ function AC() {
23519
23517
  return /* @__PURE__ */ s(SC, { className: "m-5 select-none", children: /* @__PURE__ */ s(TC, { level: 5, children: t("welcome") }) });
23520
23518
  }
23521
23519
  function _C(t, e) {
23522
- const { children: n } = t, [r, o] = _("welcome"), { t: i } = Oe(), { showErrorNotification: a } = At(), { globalValues: c, rootContext: l } = Jt(), d = Do(
23520
+ const { children: n } = t, [r, o] = _("welcome"), { t: i } = Oe(), { showErrorNotification: a } = At(), { globalValues: c, rootContext: l } = Jt(), d = Mo(
23523
23521
  Et.FEATURE_LOGGABLE_ACTIONS
23524
23522
  ), [f, u] = Ee(
23525
23523
  Y.getHandler().logAction
@@ -24212,12 +24210,12 @@ function Dx() {
24212
24210
  onReorderTabs: i,
24213
24211
  onUpdateTabTitle: a
24214
24212
  } = t || {}, c = Q(null), [l, d] = _(!1), f = ml(
24215
- fs(pl, {
24213
+ ms(pl, {
24216
24214
  activationConstraint: {
24217
24215
  distance: 8
24218
24216
  }
24219
24217
  }),
24220
- fs(ff, {
24218
+ ms(ff, {
24221
24219
  coordinateGetter: hf
24222
24220
  })
24223
24221
  ), u = x((b) => {
@@ -24504,7 +24502,7 @@ const { useToken: OC } = at, kx = (t) => {
24504
24502
  ] });
24505
24503
  };
24506
24504
  export {
24507
- ps as ACTION_TYPE_REPORT,
24505
+ hs as ACTION_TYPE_REPORT,
24508
24506
  Sm as ACTION_TYPE_UPDATE_TOKEN,
24509
24507
  Cm as ACTION_TYPE_URL,
24510
24508
  Dn as ACTION_TYPE_WINDOW,
@@ -24552,7 +24550,7 @@ export {
24552
24550
  Wm as Icon,
24553
24551
  Ym as Image,
24554
24552
  Vr as Integer,
24555
- Fo as Label,
24553
+ Eo as Label,
24556
24554
  xm as MODEL_ACTIONS,
24557
24555
  Fb as Many2one,
24558
24556
  km as Many2oneLazy,
@@ -24567,7 +24565,7 @@ export {
24567
24565
  X0 as Radio,
24568
24566
  Sw as Reference,
24569
24567
  Ox as RootView,
24570
- Po as SearchFilter,
24568
+ Lo as SearchFilter,
24571
24569
  to as SearchModal,
24572
24570
  id as SearchTree,
24573
24571
  Ol as Selection,
@@ -24585,7 +24583,7 @@ export {
24585
24583
  Bv as TreeActionView,
24586
24584
  $w as Url,
24587
24585
  Ex as UserAllFeatureKeys,
24588
- Is as UserAvatar,
24586
+ Rs as UserAvatar,
24589
24587
  yn as UserFeatureKeys,
24590
24588
  Px as dayjs,
24591
24589
  un as showConfirmDialog,