@gisce/react-ooui 2.73.0-alpha.7 → 2.73.0-alpha.8

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.
@@ -18,7 +18,7 @@ import pc from "dayjs/plugin/duration";
18
18
  import hc from "dayjs/plugin/relativeTime";
19
19
  import gc from "dayjs/plugin/weekday";
20
20
  import yc from "dayjs/plugin/localeData";
21
- import { useLocale as he, FormigaConfigProvider as vc, mergeStrings as bc, Dropdown as Vi, DropdownButton as Yt, Many2OneSuffix as wc, Many2OneSuffixModal as ms, SkeletonPill as Sc, PaginationHeader as Cc, FieldSet as xc, ExportModal as Tc, HTMLPreview as Ic, FavouriteButton as Fc } from "@gisce/react-formiga-components";
21
+ import { useLocale as he, FormigaConfigProvider as vc, mergeStrings as bc, Dropdown as Vi, DropdownButton as Wt, Many2OneSuffix as wc, Many2OneSuffixModal as ms, SkeletonPill as Sc, PaginationHeader as Cc, FieldSet as xc, ExportModal as Tc, HTMLPreview as Ic, FavouriteButton as Fc } from "@gisce/react-formiga-components";
22
22
  import * as ps from "@tabler/icons-react";
23
23
  import { IconExternalLink as Ac, IconShare2 as _c } from "@tabler/icons-react";
24
24
  import Rc from "antd/lib/input/TextArea";
@@ -259,7 +259,7 @@ function Ve({
259
259
  m()
260
260
  ] }))();
261
261
  }
262
- const { confirm: ld } = Ct, qt = ({
262
+ const { confirm: ld } = Ct, Gt = ({
263
263
  onOk: e,
264
264
  confirmMessage: t,
265
265
  okText: n,
@@ -427,7 +427,7 @@ const No = (e) => {
427
427
  }
428
428
  function y() {
429
429
  if (i) {
430
- qt({
430
+ Gt({
431
431
  confirmMessage: i,
432
432
  t: m,
433
433
  onOk: () => {
@@ -484,7 +484,7 @@ const No = (e) => {
484
484
  }
485
485
  function x() {
486
486
  if (c) {
487
- qt({
487
+ Gt({
488
488
  confirmMessage: c,
489
489
  t: v,
490
490
  onOk: () => {
@@ -541,7 +541,7 @@ const No = (e) => {
541
541
  }
542
542
  function w() {
543
543
  if (p) {
544
- qt({
544
+ Gt({
545
545
  confirmMessage: p,
546
546
  t,
547
547
  onOk: () => {
@@ -1118,7 +1118,7 @@ const Mo = (e) => {
1118
1118
  }
1119
1119
  }
1120
1120
  );
1121
- }, Gt = (e) => {
1121
+ }, Yt = (e) => {
1122
1122
  const t = e.arch, n = e.fields, r = new wi(n);
1123
1123
  return r.parse(t), r;
1124
1124
  };
@@ -1238,7 +1238,7 @@ const $o = async (e) => {
1238
1238
  };
1239
1239
  let u = [], f;
1240
1240
  if (i === "tree" && (o != null && o.arch)) {
1241
- const y = (g = Gt(o)) == null ? void 0 : g.colors, v = await L.getHandler().readEvalUiObjects({
1241
+ const y = (g = Yt(o)) == null ? void 0 : g.colors, v = await L.getHandler().readEvalUiObjects({
1242
1242
  model: n,
1243
1243
  ids: d,
1244
1244
  arch: o == null ? void 0 : o.arch,
@@ -1988,7 +1988,7 @@ const hn = ({
1988
1988
  "useConfigContext must be used within a ConfigContextProvider"
1989
1989
  );
1990
1990
  return e;
1991
- }, Kt = (e) => {
1991
+ }, qt = (e) => {
1992
1992
  const { erpFeatures: t } = Vn();
1993
1993
  return !!t[e];
1994
1994
  }, lu = et(
@@ -3803,7 +3803,7 @@ function zu({
3803
3803
  totalItems: R,
3804
3804
  isActive: T,
3805
3805
  treeType: _
3806
- } = ie(St), k = Kt(
3806
+ } = ie(St), k = qt(
3807
3807
  Mt.FEATURE_ADVANCED_EXPORT
3808
3808
  ), { t: E } = he(), [B, N] = I(!1), j = G(!0), M = D(() => {
3809
3809
  var $;
@@ -3931,13 +3931,13 @@ function zu({
3931
3931
  [v, T, w]
3932
3932
  );
3933
3933
  const Z = D(() => {
3934
- qt({
3934
+ Gt({
3935
3935
  confirmMessage: E("confirmDuplicate"),
3936
3936
  t: E,
3937
3937
  onOk: ye
3938
3938
  });
3939
3939
  }, [ye, E]), ue = D(() => {
3940
- qt({
3940
+ Gt({
3941
3941
  confirmMessage: E("confirmRemove"),
3942
3942
  t: E,
3943
3943
  onOk: ae
@@ -4030,12 +4030,12 @@ function zu({
4030
4030
  )
4031
4031
  ] }),
4032
4032
  /* @__PURE__ */ s(at, {}),
4033
- /* @__PURE__ */ s(Yt, { icon: /* @__PURE__ */ s(Or, {}), ...P }),
4034
- /* @__PURE__ */ s(Yt, { icon: /* @__PURE__ */ s(Er, {}), ...Y }),
4033
+ /* @__PURE__ */ s(Wt, { icon: /* @__PURE__ */ s(Or, {}), ...P }),
4034
+ /* @__PURE__ */ s(Wt, { icon: /* @__PURE__ */ s(Er, {}), ...Y }),
4035
4035
  k && /* @__PURE__ */ V(ne, { children: [
4036
4036
  /* @__PURE__ */ s(at, {}),
4037
4037
  /* @__PURE__ */ s(
4038
- Yt,
4038
+ Wt,
4039
4039
  {
4040
4040
  placement: "bottomRight",
4041
4041
  icon: /* @__PURE__ */ s(ya, {}),
@@ -4599,7 +4599,7 @@ const ff = (e) => /* @__PURE__ */ s(Ve, { ...e, children: /* @__PURE__ */ s(wa,
4599
4599
  }, Go = () => {
4600
4600
  const { locale: e } = he();
4601
4601
  return mf[e];
4602
- }, { useToken: pf } = Je, Wt = {
4602
+ }, { useToken: pf } = Je, Ut = {
4603
4603
  date: {
4604
4604
  placeholder: "__/__/____",
4605
4605
  dateDisplayFormat: "DD/MM/YYYY",
@@ -4621,18 +4621,18 @@ const ff = (e) => /* @__PURE__ */ s(Ve, { ...e, children: /* @__PURE__ */ s(wa,
4621
4621
  f(g);
4622
4622
  return;
4623
4623
  }
4624
- f(g.format(Wt[u].dateInternalFormat));
4625
- }, m = t ? nt(t, Wt[u].dateInternalFormat) : void 0;
4624
+ f(g.format(Ut[u].dateInternalFormat));
4625
+ }, m = t ? nt(t, Ut[u].dateInternalFormat) : void 0;
4626
4626
  return /* @__PURE__ */ s(
4627
4627
  Fo,
4628
4628
  {
4629
4629
  style: { width: "100%", ...p },
4630
- placeholder: o ? Wt.time.placeholder : Wt.date.placeholder,
4630
+ placeholder: o ? Ut.time.placeholder : Ut.date.placeholder,
4631
4631
  disabled: i,
4632
4632
  id: a,
4633
4633
  picker: "date",
4634
4634
  showTime: o,
4635
- format: Wt[u].dateDisplayFormat,
4635
+ format: Ut[u].dateDisplayFormat,
4636
4636
  value: m,
4637
4637
  onChange: h,
4638
4638
  showNow: !1,
@@ -4772,8 +4772,8 @@ const ff = (e) => /* @__PURE__ */ s(Ve, { ...e, children: /* @__PURE__ */ s(wa,
4772
4772
  return /* @__PURE__ */ s(ne, {});
4773
4773
  const t = nt(
4774
4774
  e,
4775
- Wt.date.dateInternalFormat
4776
- ).format(Wt.date.dateDisplayFormat);
4775
+ Ut.date.dateInternalFormat
4776
+ ).format(Ut.date.dateDisplayFormat);
4777
4777
  return /* @__PURE__ */ s(ne, { children: t });
4778
4778
  }, [e]), Cf = ({
4779
4779
  value: e,
@@ -4783,8 +4783,8 @@ const ff = (e) => /* @__PURE__ */ s(Ve, { ...e, children: /* @__PURE__ */ s(wa,
4783
4783
  return /* @__PURE__ */ s(ne, {});
4784
4784
  const t = nt(
4785
4785
  e,
4786
- Wt.time.dateInternalFormat
4787
- ).format(Wt.time.dateDisplayFormat);
4786
+ Ut.time.dateInternalFormat
4787
+ ).format(Ut.time.dateDisplayFormat);
4788
4788
  return /* @__PURE__ */ s(ne, { children: t });
4789
4789
  }, [e]), Rs = ({
4790
4790
  value: e
@@ -4969,7 +4969,7 @@ const ff = (e) => /* @__PURE__ */ s(Ve, { ...e, children: /* @__PURE__ */ s(wa,
4969
4969
  );
4970
4970
  return { getColumnState: a, updateColumnState: i };
4971
4971
  }, Vf = (e) => {
4972
- const t = Kt(
4972
+ const t = qt(
4973
4973
  Mt.FEATURE_USERVIEWPREFS
4974
4974
  ), {
4975
4975
  getColumnState: n,
@@ -7134,7 +7134,7 @@ function gh(e, t) {
7134
7134
  isActive: ue,
7135
7135
  order: $,
7136
7136
  setOrder: z
7137
- } = Xa({ useLocalState: !c }), te = u || ye, fe = G(te), Te = Kt(
7137
+ } = Xa({ useLocalState: !c }), te = u || ye, fe = G(te), Te = qt(
7138
7138
  Mt.FEATURE_MANY2ONE_SORT
7139
7139
  );
7140
7140
  se(() => {
@@ -7145,7 +7145,7 @@ function gh(e, t) {
7145
7145
  }, [te]);
7146
7146
  const ge = Q(() => {
7147
7147
  if (R)
7148
- return Gt(R);
7148
+ return Yt(R);
7149
7149
  }, [R]), {
7150
7150
  colorsForResults: He,
7151
7151
  statusForResults: ze,
@@ -7216,7 +7216,7 @@ function gh(e, t) {
7216
7216
  [i, U]
7217
7217
  ), Ze = D(() => {
7218
7218
  const _e = `${JSON.stringify(te ? i : oe)}-${te}`;
7219
- return _e !== Ut.current ? (Ut.current = _e, !0) : !1;
7219
+ return _e !== Kt.current ? (Kt.current = _e, !0) : !1;
7220
7220
  }, [i, oe, te]), rt = D(async () => {
7221
7221
  if (te) {
7222
7222
  w(!1);
@@ -7386,7 +7386,7 @@ function gh(e, t) {
7386
7386
  );
7387
7387
  tt(ot.map((it) => ({ id: it })));
7388
7388
  };
7389
- me ? F && F > hh ? qt({
7389
+ me ? F && F > hh ? Gt({
7390
7390
  confirmMessage: C("confirmSelectAllRegisters").replace(
7391
7391
  "{totalRecords}",
7392
7392
  F.toString()
@@ -7463,7 +7463,7 @@ function gh(e, t) {
7463
7463
  F,
7464
7464
  ge,
7465
7465
  Ae
7466
- ]), _t = G(U), Ht = G(E), Ut = G(), Rt = G();
7466
+ ]), _t = G(U), Ht = G(E), Kt = G(), Rt = G();
7467
7467
  Dt(() => {
7468
7468
  const me = !ts(
7469
7469
  U,
@@ -7473,7 +7473,7 @@ function gh(e, t) {
7473
7473
  }, [U, E]);
7474
7474
  const zt = D(async () => {
7475
7475
  var me;
7476
- tt([]), ce(), Pe(), Ut.current = void 0, O(!1), await rt(), (me = h == null ? void 0 : h.current) == null || me.refresh(), Ne();
7476
+ tt([]), ce(), Pe(), Kt.current = void 0, O(!1), await rt(), (me = h == null ? void 0 : h.current) == null || me.refresh(), Ne();
7477
7477
  }, [
7478
7478
  tt,
7479
7479
  ce,
@@ -7687,7 +7687,7 @@ const rl = Ft(gh), ii = (e, t = "14px -apple-system") => {
7687
7687
  onSelectAllRecords: C
7688
7688
  } = e, b = G(null), [A, R] = I([]), T = G(!1), [_, k] = I(), { t: E } = he(), B = G(r), N = ie(
7689
7689
  St
7690
- ), { title: j = void 0, setTitle: M = void 0 } = (x ? N : {}) || {}, P = Kt(
7690
+ ), { title: j = void 0, setTitle: M = void 0 } = (x ? N : {}) || {}, P = qt(
7691
7691
  Mt.FEATURE_MANY2ONE_SORT
7692
7692
  ), Y = Q(() => {
7693
7693
  if (_)
@@ -7706,7 +7706,7 @@ const rl = Ft(gh), ii = (e, t = "14px -apple-system") => {
7706
7706
  (Z = b.current) == null || Z.unselectAll();
7707
7707
  }
7708
7708
  })), se(() => {
7709
- const Z = Gt(a);
7709
+ const Z = Yt(a);
7710
7710
  k(Z), Z.string && j !== Z.string && (M == null || M(Z.string));
7711
7711
  }, [a, j]), se(() => {
7712
7712
  if (!_)
@@ -7851,7 +7851,7 @@ const sl = (e) => {
7851
7851
  context: d
7852
7852
  });
7853
7853
  if (Y(ce.length), p == null || p(ce.length), ce.length > 0) {
7854
- const Pe = ce.map((ke) => ke == null ? void 0 : ke[0]), { colors: xe, status: Ne } = Gt(u), Le = {};
7854
+ const Pe = ce.map((ke) => ke == null ? void 0 : ke[0]), { colors: xe, status: Ne } = Yt(u), Le = {};
7855
7855
  xe && (Le.colors = xe), Ne && (Le.status = Ne);
7856
7856
  const Ie = await L.getHandler().readEvalUiObjects({
7857
7857
  model: t,
@@ -7885,7 +7885,7 @@ const sl = (e) => {
7885
7885
  p
7886
7886
  ]), z = D(
7887
7887
  async (ce) => {
7888
- const { params: Pe, newOffset: xe } = ce || {}, Ne = en(Pe || O, w), { colors: Le, status: Ie } = Gt(u), re = {};
7888
+ const { params: Pe, newOffset: xe } = ce || {}, Ne = en(Pe || O, w), { colors: Le, status: Ie } = Yt(u), re = {};
7889
7889
  Le && (re.colors = Le), Ie && (re.status = Ie);
7890
7890
  const { totalItems: Ue, results: je, attrsEvaluated: ke } = await L.getHandler().searchForTree({
7891
7891
  params: Ne,
@@ -8007,7 +8007,7 @@ const sl = (e) => {
8007
8007
  fields: u.field_parent ? { ...u.fields, [u.field_parent]: {} } : u.fields,
8008
8008
  context: d
8009
8009
  });
8010
- return Z([...ue(), ...xe]), pn(Gt(u), xe);
8010
+ return Z([...ue(), ...xe]), pn(Yt(u), xe);
8011
8011
  },
8012
8012
  [u, t, d, ue, Z]
8013
8013
  ), Ce = D(async () => await L.getHandler().searchAllIds({
@@ -8481,9 +8481,7 @@ const il = Ft(wh), Sh = vt, Ch = (e) => {
8481
8481
  var Se;
8482
8482
  if ($ !== z.current) {
8483
8483
  if ($ !== void 0 && z.current === void 0 || typeof $ == "string" && typeof z.current == "string" && $ !== z.current) {
8484
- S == null || S([]), b == null || b({}), (Se = l.current) == null || Se.unselectAll(), z.current = $, setTimeout(() => {
8485
- Ut();
8486
- }, 50);
8484
+ S == null || S([]), b == null || b({}), (Se = l.current) == null || Se.unselectAll(), z.current = $;
8487
8485
  return;
8488
8486
  }
8489
8487
  $ === void 0 && z.current !== void 0 && ye(!0), z.current = $;
@@ -8493,7 +8491,7 @@ const il = Ft(wh), Sh = vt, Ch = (e) => {
8493
8491
  C,
8494
8492
  te.current
8495
8493
  ), Me = fe.current && !h;
8496
- Se && (Me || p === "top") && Ut(), te.current = C, fe.current = h;
8494
+ Se && (Me || p === "top") && Kt(), te.current = C, fe.current = h;
8497
8495
  }, [C, h]);
8498
8496
  const Ht = D(async () => {
8499
8497
  if (!n || t)
@@ -8566,7 +8564,7 @@ const il = Ft(wh), Sh = vt, Ch = (e) => {
8566
8564
  we,
8567
8565
  E,
8568
8566
  ut
8569
- ]), Ut = D(async () => {
8567
+ ]), Kt = D(async () => {
8570
8568
  Ue(), oe(), ye(!0), y(0), Ce(), g([]), Te.current = void 0, $ || ke(), await Ht();
8571
8569
  }, [
8572
8570
  Ue,
@@ -8626,7 +8624,7 @@ const il = Ft(wh), Sh = vt, Ch = (e) => {
8626
8624
  searchVisible: h,
8627
8625
  searchValues: O,
8628
8626
  selectedRowKeys: Ee,
8629
- refresh: Ut,
8627
+ refresh: Kt,
8630
8628
  onRowStatus: ft,
8631
8629
  onGetFirstVisibleRowIndex: kt,
8632
8630
  setTreeFirstVisibleRow: y,
@@ -8660,7 +8658,7 @@ const il = Ft(wh), Sh = vt, Ch = (e) => {
8660
8658
  nameSearch: $
8661
8659
  };
8662
8660
  }, xh = (e, t) => {
8663
- const { t: n } = he(), r = Kt(
8661
+ const { t: n } = he(), r = qt(
8664
8662
  Mt.FEATURE_MANY2ONE_SORT
8665
8663
  ), o = Fn(() => {
8666
8664
  if (e)
@@ -8849,7 +8847,7 @@ function Fh(e, t) {
8849
8847
  context: d
8850
8848
  }), x = Q(() => {
8851
8849
  if (v)
8852
- return Gt(v);
8850
+ return Yt(v);
8853
8851
  }, [v]), { columns: S, strings: O } = xh(x, d), C = Q(() => S || [], [S]), {
8854
8852
  searchVisible: b,
8855
8853
  searchValues: A,
@@ -9642,7 +9640,7 @@ const Ah = Ft(Fh), xr = "legacy", _h = (e) => {
9642
9640
  );
9643
9641
  return n.card ? /* @__PURE__ */ s(Ao, { children: h }) : h;
9644
9642
  }, Mh = (e) => {
9645
- const { ooui: t } = e, { actionId: n, height: r } = t, { activeId: o } = ed(), { actionData: a, treeShortcut: i, loading: l, error: c, fetchData: d } = cu(n), p = Kt(
9643
+ const { ooui: t } = e, { actionId: n, height: r } = t, { activeId: o } = ed(), { actionData: a, treeShortcut: i, loading: l, error: c, fetchData: d } = cu(n), p = qt(
9646
9644
  Mt.FEATURE_READFORVIEW
9647
9645
  ), u = ie(
9648
9646
  At
@@ -10202,7 +10200,7 @@ function og(e, t) {
10202
10200
  k(void 0), xe == null || xe(!0);
10203
10201
  let K;
10204
10202
  try {
10205
- m ? K = { arch: m.arch, fields: m.fields } : K = await Ut();
10203
+ m ? K = { arch: m.arch, fields: m.fields } : K = await Kt();
10206
10204
  const { fields: J, arch: le } = K;
10207
10205
  Y(J), M(le), await _t({
10208
10206
  fields: J,
@@ -10232,7 +10230,7 @@ function og(e, t) {
10232
10230
  K(!1);
10233
10231
  }
10234
10232
  }) : (We == null || We(), K(!0));
10235
- }), Ut = async () => {
10233
+ }), Kt = async () => {
10236
10234
  if (l) {
10237
10235
  const K = await L.getHandler().getActionStringForModel(n);
10238
10236
  return (await L.getHandler().getViewsForAction({
@@ -11409,7 +11407,7 @@ function mg(e) {
11409
11407
  tooltip: C("duplicate"),
11410
11408
  disabled: n || b || i === "tree" && m.length !== 1 || i === "form" && (S === void 0 || S < 0),
11411
11409
  loading: b,
11412
- onClick: () => qt({
11410
+ onClick: () => Gt({
11413
11411
  confirmMessage: C("confirmDuplicate"),
11414
11412
  t: C,
11415
11413
  onOk: async () => A()
@@ -11441,7 +11439,7 @@ function mg(e) {
11441
11439
  ((N = v.action) == null ? void 0 : N.length) > 0 && /* @__PURE__ */ V(ne, { children: [
11442
11440
  /* @__PURE__ */ s(jt, {}),
11443
11441
  /* @__PURE__ */ s(
11444
- Yt,
11442
+ Wt,
11445
11443
  {
11446
11444
  icon: /* @__PURE__ */ s(Or, {}),
11447
11445
  ...i === "form" ? R : k
@@ -11451,7 +11449,7 @@ function mg(e) {
11451
11449
  ((j = v.print) == null ? void 0 : j.length) > 0 && /* @__PURE__ */ V(ne, { children: [
11452
11450
  /* @__PURE__ */ s(jt, {}),
11453
11451
  /* @__PURE__ */ s(
11454
- Yt,
11452
+ Wt,
11455
11453
  {
11456
11454
  icon: /* @__PURE__ */ s(Er, {}),
11457
11455
  ...i === "form" ? T : E
@@ -11461,7 +11459,7 @@ function mg(e) {
11461
11459
  i === "form" && ((M = v.relate) == null ? void 0 : M.length) > 0 && /* @__PURE__ */ V(ne, { children: [
11462
11460
  /* @__PURE__ */ s(jt, {}),
11463
11461
  /* @__PURE__ */ s(
11464
- Yt,
11462
+ Wt,
11465
11463
  {
11466
11464
  icon: /* @__PURE__ */ s(Dr, {}),
11467
11465
  ..._
@@ -12015,7 +12013,7 @@ const gg = (e) => {
12015
12013
  a.length === 0 ? h = !0 : h = !1, h ? (i(r), (m = o.current) == null || m.setSelectedRows(r)) : (i([]), (g = o.current) == null || g.setSelectedRows([]));
12016
12014
  }, [r, o, a.length]), d = D((h) => {
12017
12015
  l.current = h;
12018
- }, []), p = D(() => l.current, []), u = Q(() => Gt(e), [e]);
12016
+ }, []), p = D(() => l.current, []), u = Q(() => Yt(e), [e]);
12019
12017
  return {
12020
12018
  onTreeFetchRows: It(
12021
12019
  async ({
@@ -12406,7 +12404,7 @@ const xg = ({
12406
12404
  selectedRowKeys: g = [],
12407
12405
  showPointerCursorInRows: y = !0
12408
12406
  }) => {
12409
- const v = G(), w = c || v, F = G({}), x = G(), S = G(), O = G(e), { t: C } = he(), b = Kt(
12407
+ const v = G(), w = c || v, F = G({}), x = G(), S = G(), O = G(e), { t: C } = he(), b = qt(
12410
12408
  Mt.FEATURE_MANY2ONE_SORT
12411
12409
  );
12412
12410
  Bt(() => {
@@ -12749,7 +12747,7 @@ const xg = ({
12749
12747
  Bt(() => {
12750
12748
  x();
12751
12749
  }, [t]);
12752
- const w = Kt(
12750
+ const w = qt(
12753
12751
  Mt.FEATURE_GET_TOOLBAR
12754
12752
  ), F = async (C) => {
12755
12753
  if (o && o[C]) {
@@ -13930,7 +13928,7 @@ function uy({ toolbar: e }) {
13930
13928
  tooltip: n("duplicate"),
13931
13929
  disabled: d || B || u === void 0,
13932
13930
  loading: F,
13933
- onClick: () => qt({
13931
+ onClick: () => Gt({
13934
13932
  confirmMessage: n("confirmDuplicate"),
13935
13933
  t: n,
13936
13934
  onOk: U
@@ -13944,7 +13942,7 @@ function uy({ toolbar: e }) {
13944
13942
  tooltip: n("delete"),
13945
13943
  disabled: B || u === void 0,
13946
13944
  loading: w,
13947
- onClick: () => qt({
13945
+ onClick: () => Gt({
13948
13946
  confirmMessage: n("confirmRemoveItem"),
13949
13947
  t: n,
13950
13948
  onOk: q
@@ -13993,9 +13991,9 @@ function uy({ toolbar: e }) {
13993
13991
  }
13994
13992
  ),
13995
13993
  /* @__PURE__ */ s(at, {}),
13996
- /* @__PURE__ */ s(Yt, { icon: /* @__PURE__ */ s(Or, {}), ...M }),
13997
- /* @__PURE__ */ s(Yt, { icon: /* @__PURE__ */ s(Er, {}), ...P }),
13998
- /* @__PURE__ */ s(Yt, { icon: /* @__PURE__ */ s(Dr, {}), ...Y }),
13994
+ /* @__PURE__ */ s(Wt, { icon: /* @__PURE__ */ s(Or, {}), ...M }),
13995
+ /* @__PURE__ */ s(Wt, { icon: /* @__PURE__ */ s(Er, {}), ...P }),
13996
+ /* @__PURE__ */ s(Wt, { icon: /* @__PURE__ */ s(Dr, {}), ...Y }),
13999
13997
  /* @__PURE__ */ s(
14000
13998
  cy,
14001
13999
  {
@@ -14992,7 +14990,7 @@ function Oy(e) {
14992
14990
  } = e, [c, d] = I(!1), [p, u] = I(!1), [f, h] = I(), [m, g] = I(), [y, v] = I(), [w, F] = I(1), [x, S] = I(0), O = G(vt), C = G([]), [b, A] = I(0), [R, T] = I([]), [_, k] = I(void 0), [E, B] = I(), [N, j] = I(), [M, P] = I(), [Y, q] = I(!1), U = G([]), X = ($) => {
14993
14991
  q(!0), F($), S(($ - 1) * O.current);
14994
14992
  }, ye = async () => {
14995
- const $ = U.current.length > 0 ? U.current : a, z = en(C.current, $), { colors: te } = Gt(m), { totalItems: fe, results: Te, attrsEvaluated: ge } = await L.getHandler().searchForTree({
14993
+ const $ = U.current.length > 0 ? U.current : a, z = en(C.current, $), { colors: te } = Yt(m), { totalItems: fe, results: Te, attrsEvaluated: ge } = await L.getHandler().searchForTree({
14996
14994
  params: z,
14997
14995
  limit: O.current,
14998
14996
  offset: x,
@@ -15114,7 +15112,7 @@ function Py(e, t) {
15114
15112
  moveItemsEnabled: m
15115
15113
  } = ie(is), g = G(), y = G(), [v] = qe(L.getHandler().getView), [w] = qe(
15116
15114
  L.getHandler().readObjects
15117
- ), [F] = qe(L.getHandler().update), x = Kt(
15115
+ ), [F] = qe(L.getHandler().update), x = qt(
15118
15116
  Mt.FEATURE_READFORVIEW
15119
15117
  );
15120
15118
  se(() => {
@@ -16469,6 +16467,6 @@ export {
16469
16467
  py as Url,
16470
16468
  xb as dayjs,
16471
16469
  wt as iconMapper,
16472
- qt as showConfirmDialog
16470
+ Gt as showConfirmDialog
16473
16471
  };
16474
16472
  //# sourceMappingURL=react-ooui.es.js.map