@gisce/react-ooui 2.123.0-alpha.13 → 2.123.0-alpha.14

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.
@@ -2052,7 +2052,7 @@ function Gl(t, e) {
2052
2052
  window.open(a);
2053
2053
  }
2054
2054
  var kt = /* @__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))(kt || {});
2055
- const AS = Object.values(kt), qt = 80, Nn = "ir.actions.act_window", Mm = "ir.actions.act_window_close", Nm = "ir.actions.wizard", As = "ir.actions.report.xml", km = "ir.actions.act_url", $m = "ir.actions.actions", Pm = "ir.act.update_token", es = "9007199254740991";
2055
+ const IS = Object.values(kt), qt = 80, Nn = "ir.actions.act_window", Mm = "ir.actions.act_window_close", Nm = "ir.actions.wizard", As = "ir.actions.report.xml", km = "ir.actions.act_url", $m = "ir.actions.actions", Pm = "ir.act.update_token", es = "9007199254740991";
2056
2056
  function an(t) {
2057
2057
  if (t == null)
2058
2058
  return null;
@@ -2932,7 +2932,7 @@ const Wm = zt(jm), zm = ({
2932
2932
  return [...new Set(r.filter((o) => o in t))];
2933
2933
  };
2934
2934
  var wt = /* @__PURE__ */ ((t) => (t.FEATURE_MANY2ONE_DISABLE_ARROW_MENU = "widget.many2one.disable.arrow_menu", t.FEATURE_MANY2ONE_DISABLE_FOLDER = "widget.many2one.disable.folder", t.FEATURE_MANY2ONE_SELECTION_TO_LAZY = "widget.many2one.selection_to_many2onelazy", t.FEATURE_ONE2MANY_ENABLE_NEW_TABLE = "widget.one2many.enable_new_table", t.FEATURE_DATE_USE_MASKED_INPUT = "widget.date.use_masked_input", t.FEATURE_TEST_FEATURE = "test.feature", t))(wt || {});
2935
- const IS = Object.values(wt), { defaultAlgorithm: qm, defaultSeed: Gm } = ot, In = qm(Gm), Km = (t) => {
2935
+ const ES = Object.values(wt), { defaultAlgorithm: qm, defaultSeed: Gm } = ot, In = qm(Gm), Km = (t) => {
2936
2936
  const { ooui: e } = t, { required: n } = e;
2937
2937
  return /* @__PURE__ */ s(tt, { required: n, type: "array", validator: async (o, i) => {
2938
2938
  if (!i)
@@ -5954,7 +5954,7 @@ function sh({
5954
5954
  }
5955
5955
  ),
5956
5956
  /* @__PURE__ */ s(
5957
- zw,
5957
+ Yw,
5958
5958
  {
5959
5959
  visible: B,
5960
5960
  onClose: () => N(!1),
@@ -7224,16 +7224,37 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7224
7224
  }, Mc = (t) => {
7225
7225
  const { className: e = "w-full", layout: n = "vertical" } = t, r = qu();
7226
7226
  return /* @__PURE__ */ s(tt, { ...t, layout: n, children: /* @__PURE__ */ s(
7227
+ zh,
7228
+ {
7229
+ className: e,
7230
+ datePickerLocale: r
7231
+ }
7232
+ ) });
7233
+ }, zh = ({
7234
+ value: t,
7235
+ onChange: e,
7236
+ className: n,
7237
+ datePickerLocale: r
7238
+ }) => {
7239
+ const o = S(
7240
+ (i) => {
7241
+ e == null || e(i);
7242
+ },
7243
+ [e]
7244
+ );
7245
+ return /* @__PURE__ */ s(
7227
7246
  ou.RangePicker,
7228
7247
  {
7229
7248
  allowEmpty: [!0, !0],
7230
7249
  format: "DD/MM/YYYY",
7231
7250
  locale: r,
7232
7251
  style: { width: "100%" },
7233
- className: e
7252
+ className: n,
7253
+ value: t,
7254
+ onCalendarChange: o
7234
7255
  }
7235
- ) });
7236
- }, zh = {
7256
+ );
7257
+ }, Yh = {
7237
7258
  format: "HH:mm:ss",
7238
7259
  displayFormat: "HH:mm:ss",
7239
7260
  placeholder: "__:__:__"
@@ -7243,7 +7264,7 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7243
7264
  hours: rs("HH"),
7244
7265
  hoursMinutes: rs("HH:mm"),
7245
7266
  hoursMinutesSeconds: rs("HH:mm:ss")
7246
- }, Yh = (t) => !t || t.trim() === "" ? !0 : Nr.hours.test(t) || Nr.hoursMinutes.test(t), qh = (t, e, n = !1) => {
7267
+ }, qh = (t) => !t || t.trim() === "" ? !0 : Nr.hours.test(t) || Nr.hoursMinutes.test(t), Gh = (t, e, n = !1) => {
7247
7268
  if (!t || t.trim() === "") {
7248
7269
  const r = e.format("HH"), o = e.format("mm"), i = e.format("ss");
7249
7270
  return `${r}:${o}:${i}`;
@@ -7257,7 +7278,7 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7257
7278
  return `${t}:${r}`;
7258
7279
  }
7259
7280
  return Nr.hoursMinutesSeconds.test(t) ? t : null;
7260
- }, Gh = ({
7281
+ }, Kh = ({
7261
7282
  value: t,
7262
7283
  onChange: e,
7263
7284
  autocompleteWithZeros: n = !1
@@ -7266,10 +7287,10 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7266
7287
  (i) => {
7267
7288
  if (i.key === "Enter") {
7268
7289
  const d = i.target.value;
7269
- if (!Yh(d))
7290
+ if (!qh(d))
7270
7291
  return;
7271
7292
  i.preventDefault();
7272
- const c = qh(
7293
+ const c = Gh(
7273
7294
  d,
7274
7295
  it(),
7275
7296
  n
@@ -7318,7 +7339,7 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7318
7339
  e == null || e(u, m);
7319
7340
  },
7320
7341
  [e]
7321
- ), { handleKeyDown: l, handleBlur: f } = Gh({
7342
+ ), { handleKeyDown: l, handleBlur: f } = Kh({
7322
7343
  value: t,
7323
7344
  onChange: e,
7324
7345
  autocompleteWithZeros: r !== void 0
@@ -7336,10 +7357,10 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7336
7357
  onSelect: d,
7337
7358
  onBlur: (u) => f(u),
7338
7359
  onKeyDown: (u) => l(u),
7339
- format: zh.displayFormat
7360
+ format: Yh.displayFormat
7340
7361
  }
7341
7362
  );
7342
- }, Kh = (t) => {
7363
+ }, Jh = (t) => {
7343
7364
  const { ooui: e, showLabel: n = !1 } = t, { label: r, id: o } = e, i = [
7344
7365
  new Cs({
7345
7366
  name: o + "#date",
@@ -7365,10 +7386,10 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7365
7386
  ),
7366
7387
  /* @__PURE__ */ H("div", { className: "flex flex-col gap-2 w-full", children: [
7367
7388
  /* @__PURE__ */ s(dt, { className: "w-full", children: /* @__PURE__ */ s(et, { span: 24, children: /* @__PURE__ */ s(Mc, { ...t, ooui: i[0], showLabel: !1 }) }) }),
7368
- /* @__PURE__ */ s(dt, { className: "w-full", children: /* @__PURE__ */ s(et, { span: 24, children: /* @__PURE__ */ s(tt, { ...t, ooui: i[1], showLabel: !1, children: /* @__PURE__ */ s(Jh, {}) }) }) })
7389
+ /* @__PURE__ */ s(dt, { className: "w-full", children: /* @__PURE__ */ s(et, { span: 24, children: /* @__PURE__ */ s(tt, { ...t, ooui: i[1], showLabel: !1, children: /* @__PURE__ */ s(Qh, {}) }) }) })
7369
7390
  ] })
7370
7391
  ] });
7371
- }, Jh = ({
7392
+ }, Qh = ({
7372
7393
  value: t,
7373
7394
  onChange: e
7374
7395
  }) => {
@@ -7405,7 +7426,7 @@ const qi = ["sum", "count", "max", "min"], oi = ({
7405
7426
  ) })
7406
7427
  ] });
7407
7428
  };
7408
- function Qh(t) {
7429
+ function Xh(t) {
7409
7430
  const e = t.replace(/\s/g, ""), n = e.includes("."), r = e.includes(",");
7410
7431
  if (!n && !r)
7411
7432
  return { decimal: null, thousands: null };
@@ -7423,7 +7444,7 @@ function Qh(t) {
7423
7444
  const o = n ? "." : ",", i = e.split(o);
7424
7445
  return i.length > 2 ? i.slice(1).every((d) => /^\d{3}$/.test(d)) ? { decimal: null, thousands: o } : { decimal: o, thousands: null } : { decimal: o, thousands: null };
7425
7446
  }
7426
- function Xh(t) {
7447
+ function Zh(t) {
7427
7448
  const e = t.replace("_", "-"), n = new Intl.NumberFormat(e, {
7428
7449
  minimumFractionDigits: 1,
7429
7450
  maximumFractionDigits: 1,
@@ -7440,7 +7461,7 @@ function Nc(t = {}) {
7440
7461
  }, []), c = S(() => {
7441
7462
  i.current = !1, a((m) => !m);
7442
7463
  }, []), l = J(
7443
- () => r ? Xh(o) : { decimal: ".", thousands: "" },
7464
+ () => r ? Zh(o) : { decimal: ".", thousands: "" },
7444
7465
  [o, r]
7445
7466
  ), f = S(
7446
7467
  (m) => {
@@ -7464,7 +7485,7 @@ function Nc(t = {}) {
7464
7485
  const p = m.startsWith("-");
7465
7486
  let g = p ? m.slice(1) : m;
7466
7487
  if (r) {
7467
- const y = Qh(g);
7488
+ const y = Xh(g);
7468
7489
  y.thousands && (g = g.split(y.thousands).join("")), y.decimal && y.decimal !== "." && (g = g.split(y.decimal).join("."));
7469
7490
  } else
7470
7491
  l.thousands && (g = g.split(l.thousands).join("")), g = g.split(l.decimal).join(".");
@@ -7483,13 +7504,13 @@ function Nc(t = {}) {
7483
7504
  onBlur: c
7484
7505
  };
7485
7506
  }
7486
- const { defaultAlgorithm: Zh, defaultSeed: eg } = ot, tg = Zh(eg);
7507
+ const { defaultAlgorithm: eg, defaultSeed: tg } = ot, ng = eg(tg);
7487
7508
  function Gi(t) {
7488
7509
  return t ? /* @__PURE__ */ s(Uo, { content: t }) : null;
7489
7510
  }
7490
7511
  const si = nt((t) => {
7491
7512
  var C;
7492
- const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = Ne(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ? ng : Kr, { formatter: p, parser: g, decimalSeparator: h, onFocus: y, onBlur: v } = Nc({
7513
+ const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = Ne(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ? rg : Kr, { formatter: p, parser: g, decimalSeparator: h, onFocus: y, onBlur: v } = Nc({
7493
7514
  decimalDigits: r,
7494
7515
  localized: c
7495
7516
  }), b = S(() => {
@@ -7514,17 +7535,17 @@ const si = nt((t) => {
7514
7535
  ) });
7515
7536
  });
7516
7537
  si.displayName = "Float";
7517
- const ng = ut(Kr)`
7538
+ const rg = ut(Kr)`
7518
7539
  &.ant-input-number {
7519
- background-color: ${tg.colorPrimaryBg};
7540
+ background-color: ${ng.colorPrimaryBg};
7520
7541
  }
7521
- `, { defaultAlgorithm: rg, defaultSeed: og } = ot, sg = rg(og);
7542
+ `, { defaultAlgorithm: og, defaultSeed: sg } = ot, ig = og(sg);
7522
7543
  function Ki(t) {
7523
7544
  return t ? /* @__PURE__ */ s(Uo, { content: t }) : null;
7524
7545
  }
7525
7546
  const zr = nt((t) => {
7526
7547
  var C;
7527
- const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = Ne(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ? ig : Kr, { formatter: p, parser: g, onFocus: h, onBlur: y } = Nc({
7548
+ const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = Ne(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ? ag : Kr, { formatter: p, parser: g, onFocus: h, onBlur: y } = Nc({
7528
7549
  isInteger: !0,
7529
7550
  localized: c
7530
7551
  }), v = S(
@@ -7552,12 +7573,12 @@ const zr = nt((t) => {
7552
7573
  ) });
7553
7574
  });
7554
7575
  zr.displayName = "Integer";
7555
- const ig = ut(Kr)`
7576
+ const ag = ut(Kr)`
7556
7577
  &.ant-input-number {
7557
- background-color: ${sg.colorPrimaryBg};
7578
+ background-color: ${ig.colorPrimaryBg};
7558
7579
  }
7559
7580
  `;
7560
- function ag(t) {
7581
+ function lg(t) {
7561
7582
  const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof xs ? zr : si, d = (c) => /* @__PURE__ */ s(
7562
7583
  a,
7563
7584
  {
@@ -7599,17 +7620,17 @@ function ag(t) {
7599
7620
  )
7600
7621
  ] });
7601
7622
  }
7602
- const { defaultAlgorithm: lg, defaultSeed: cg } = ot, dg = lg(cg), { Option: ug } = yn, fg = (t) => {
7623
+ const { defaultAlgorithm: cg, defaultSeed: dg } = ot, ug = cg(dg), { Option: fg } = yn, mg = (t) => {
7603
7624
  const { ooui: e } = t, { required: n } = e;
7604
- return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(mg, { ...t }) });
7605
- }, mg = (t) => {
7625
+ return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(pg, { ...t }) });
7626
+ }, pg = (t) => {
7606
7627
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, required: a } = e, d = Array.from(o.entries()), c = d && d.length && d.filter((u) => {
7607
7628
  const [m] = u;
7608
7629
  return r ? !r.includes(m) : !0;
7609
7630
  }).map((u) => {
7610
7631
  const [m, p] = u;
7611
- return /* @__PURE__ */ s(ug, { value: p, children: p }, m);
7612
- }), l = a && !i ? pg : yn;
7632
+ return /* @__PURE__ */ s(fg, { value: p, children: p }, m);
7633
+ }), l = a && !i ? hg : yn;
7613
7634
  function f(u) {
7614
7635
  const m = u.map((p) => {
7615
7636
  const g = d.find(([, h]) => p === h);
@@ -7631,14 +7652,14 @@ const { defaultAlgorithm: lg, defaultSeed: cg } = ot, dg = lg(cg), { Option: ug
7631
7652
  children: c
7632
7653
  }
7633
7654
  );
7634
- }, pg = ut(yn)`
7655
+ }, hg = ut(yn)`
7635
7656
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
7636
- background-color: ${dg.colorPrimaryBg};
7657
+ background-color: ${ug.colorPrimaryBg};
7637
7658
  }
7638
- `, hg = /* @__PURE__ */ new Set(["True", "False", "None"]), gg = (t) => {
7659
+ `, gg = /* @__PURE__ */ new Set(["True", "False", "None"]), yg = (t) => {
7639
7660
  try {
7640
7661
  return !t || typeof t != "string" ? t : rl(t).some(
7641
- (r) => r && !hg.has(r) && !/^-?\d+(\.\d+)?$/.test(r)
7662
+ (r) => r && !gg.has(r) && !/^-?\d+(\.\d+)?$/.test(r)
7642
7663
  ) ? [] : t;
7643
7664
  } catch {
7644
7665
  return [];
@@ -7657,7 +7678,7 @@ function kc(t) {
7657
7678
  string: e.label,
7658
7679
  relation: c,
7659
7680
  context: e.context,
7660
- domain: gg(e.domain)
7681
+ domain: yg(e.domain)
7661
7682
  });
7662
7683
  return m.parsedWidgetProps = {
7663
7684
  showCreate: !1,
@@ -7680,13 +7701,13 @@ function kc(t) {
7680
7701
  case Dn.progressbar:
7681
7702
  case Dn.float_time:
7682
7703
  case Dn.integer:
7683
- return /* @__PURE__ */ s(ag, { ooui: e, showLabel: !0 });
7704
+ return /* @__PURE__ */ s(lg, { ooui: e, showLabel: !0 });
7684
7705
  case Dn.date:
7685
7706
  return /* @__PURE__ */ s(Mc, { ooui: e, layout: "vertical", showLabel: !0 });
7686
7707
  case Dn.datetime:
7687
- return /* @__PURE__ */ s(Kh, { ooui: e, layout: "vertical", showLabel: !0 });
7708
+ return /* @__PURE__ */ s(Jh, { ooui: e, layout: "vertical", showLabel: !0 });
7688
7709
  case Dn.selection:
7689
- return /* @__PURE__ */ s(fg, { layout: "vertical", ooui: e, showLabel: !0 });
7710
+ return /* @__PURE__ */ s(mg, { layout: "vertical", ooui: e, showLabel: !0 });
7690
7711
  default:
7691
7712
  return /* @__PURE__ */ s(
7692
7713
  $l,
@@ -7699,7 +7720,7 @@ function kc(t) {
7699
7720
  );
7700
7721
  }
7701
7722
  }
7702
- const { useToken: yg } = ot, { Title: vg } = Jt, { Header: bg, Content: wg, Footer: Cg } = Za, xg = ({
7723
+ const { useToken: vg } = ot, { Title: bg } = Jt, { Header: wg, Content: Cg, Footer: xg } = Za, Sg = ({
7703
7724
  isOpen: t,
7704
7725
  onClose: e,
7705
7726
  children: n,
@@ -7708,7 +7729,7 @@ const { useToken: yg } = ot, { Title: vg } = Jt, { Header: bg, Content: wg, Foot
7708
7729
  headerButtons: i,
7709
7730
  width: a = "500px"
7710
7731
  }) => {
7711
- const [d, c] = E(t), [l, f] = E(!1), u = Q(null), { token: m } = yg(), p = S(
7732
+ const [d, c] = E(t), [l, f] = E(!1), u = Q(null), { token: m } = vg(), p = S(
7712
7733
  (v) => {
7713
7734
  v.preventDefault(), v.stopPropagation(), e();
7714
7735
  },
@@ -7803,8 +7824,8 @@ const { useToken: yg } = ot, { Title: vg } = Jt, { Header: bg, Content: wg, Foot
7803
7824
  flexDirection: "column"
7804
7825
  },
7805
7826
  children: [
7806
- /* @__PURE__ */ H(bg, { style: y, children: [
7807
- /* @__PURE__ */ s(vg, { level: 3, style: { margin: 0, flex: 1 }, children: r }),
7827
+ /* @__PURE__ */ H(wg, { style: y, children: [
7828
+ /* @__PURE__ */ s(bg, { level: 3, style: { margin: 0, flex: 1 }, children: r }),
7808
7829
  i && /* @__PURE__ */ s(
7809
7830
  "div",
7810
7831
  {
@@ -7827,7 +7848,7 @@ const { useToken: yg } = ot, { Title: vg } = Jt, { Header: bg, Content: wg, Foot
7827
7848
  )
7828
7849
  ] }),
7829
7850
  /* @__PURE__ */ s(
7830
- wg,
7851
+ Cg,
7831
7852
  {
7832
7853
  style: {
7833
7854
  flex: 1,
@@ -7837,7 +7858,7 @@ const { useToken: yg } = ot, { Title: vg } = Jt, { Header: bg, Content: wg, Foot
7837
7858
  }
7838
7859
  ),
7839
7860
  o && /* @__PURE__ */ s(
7840
- Cg,
7861
+ xg,
7841
7862
  {
7842
7863
  style: {
7843
7864
  ...y,
@@ -7859,7 +7880,7 @@ var Ji = Object.prototype.toString, $c = function(e) {
7859
7880
  var n = Ji.call(e), r = n === "[object Arguments]";
7860
7881
  return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Ji.call(e.callee) === "[object Function]"), r;
7861
7882
  }, os, Qi;
7862
- function Sg() {
7883
+ function Tg() {
7863
7884
  if (Qi)
7864
7885
  return os;
7865
7886
  Qi = 1;
@@ -7947,9 +7968,9 @@ function Sg() {
7947
7968
  }
7948
7969
  return os = t, os;
7949
7970
  }
7950
- var Tg = Array.prototype.slice, _g = $c, Xi = Object.keys, ho = Xi ? function(e) {
7971
+ var _g = Array.prototype.slice, Ag = $c, Xi = Object.keys, ho = Xi ? function(e) {
7951
7972
  return Xi(e);
7952
- } : Sg(), Zi = Object.keys;
7973
+ } : Tg(), Zi = Object.keys;
7953
7974
  ho.shim = function() {
7954
7975
  if (Object.keys) {
7955
7976
  var e = function() {
@@ -7957,7 +7978,7 @@ ho.shim = function() {
7957
7978
  return n && n.length === arguments.length;
7958
7979
  }(1, 2);
7959
7980
  e || (Object.keys = function(r) {
7960
- return _g(r) ? Zi(Tg.call(r)) : Zi(r);
7981
+ return Ag(r) ? Zi(_g.call(r)) : Zi(r);
7961
7982
  });
7962
7983
  } else
7963
7984
  Object.keys = ho;
@@ -7989,13 +8010,13 @@ var Pc = ho, Lc = function() {
7989
8010
  return !1;
7990
8011
  }
7991
8012
  return !0;
7992
- }, Ag = Lc, ii = function() {
7993
- return Ag() && !!Symbol.toStringTag;
7994
- }, Vc = Object, Ig = Error, Eg = EvalError, Rg = RangeError, Fg = ReferenceError, Og = SyntaxError, Bc = TypeError, Dg = URIError, Mg = Math.abs, Ng = Math.floor, kg = Math.max, $g = Math.min, Pg = Math.pow, Lg = Math.round, Vg = Number.isNaN || function(e) {
8013
+ }, Ig = Lc, ii = function() {
8014
+ return Ig() && !!Symbol.toStringTag;
8015
+ }, Vc = Object, Eg = Error, Rg = EvalError, Fg = RangeError, Og = ReferenceError, Dg = SyntaxError, Bc = TypeError, Mg = URIError, Ng = Math.abs, kg = Math.floor, $g = Math.max, Pg = Math.min, Lg = Math.pow, Vg = Math.round, Bg = Number.isNaN || function(e) {
7995
8016
  return e !== e;
7996
- }, Bg = Vg, Hg = function(e) {
7997
- return Bg(e) || e === 0 ? e : e < 0 ? -1 : 1;
7998
- }, jg = Object.getOwnPropertyDescriptor, go = jg;
8017
+ }, Hg = Bg, jg = function(e) {
8018
+ return Hg(e) || e === 0 ? e : e < 0 ? -1 : 1;
8019
+ }, Ug = Object.getOwnPropertyDescriptor, go = Ug;
7999
8020
  if (go)
8000
8021
  try {
8001
8022
  go([], "length");
@@ -8009,8 +8030,8 @@ if (yo)
8009
8030
  } catch {
8010
8031
  yo = !1;
8011
8032
  }
8012
- var Ug = yo, ss, ea;
8013
- function Wg() {
8033
+ var Wg = yo, ss, ea;
8034
+ function zg() {
8014
8035
  if (ea)
8015
8036
  return ss;
8016
8037
  ea = 1;
@@ -8031,25 +8052,25 @@ function jc() {
8031
8052
  var t = Vc;
8032
8053
  return as = t.getPrototypeOf || null, as;
8033
8054
  }
8034
- var zg = "Function.prototype.bind called on incompatible ", Yg = Object.prototype.toString, qg = Math.max, Gg = "[object Function]", ra = function(e, n) {
8055
+ var Yg = "Function.prototype.bind called on incompatible ", qg = Object.prototype.toString, Gg = Math.max, Kg = "[object Function]", ra = function(e, n) {
8035
8056
  for (var r = [], o = 0; o < e.length; o += 1)
8036
8057
  r[o] = e[o];
8037
8058
  for (var i = 0; i < n.length; i += 1)
8038
8059
  r[i + e.length] = n[i];
8039
8060
  return r;
8040
- }, Kg = function(e, n) {
8061
+ }, Jg = function(e, n) {
8041
8062
  for (var r = [], o = n || 0, i = 0; o < e.length; o += 1, i += 1)
8042
8063
  r[i] = e[o];
8043
8064
  return r;
8044
- }, Jg = function(t, e) {
8065
+ }, Qg = function(t, e) {
8045
8066
  for (var n = "", r = 0; r < t.length; r += 1)
8046
8067
  n += t[r], r + 1 < t.length && (n += e);
8047
8068
  return n;
8048
- }, Qg = function(e) {
8069
+ }, Xg = function(e) {
8049
8070
  var n = this;
8050
- if (typeof n != "function" || Yg.apply(n) !== Gg)
8051
- throw new TypeError(zg + n);
8052
- for (var r = Kg(arguments, 1), o, i = function() {
8071
+ if (typeof n != "function" || qg.apply(n) !== Kg)
8072
+ throw new TypeError(Yg + n);
8073
+ for (var r = Jg(arguments, 1), o, i = function() {
8053
8074
  if (this instanceof o) {
8054
8075
  var f = n.apply(
8055
8076
  this,
@@ -8061,15 +8082,15 @@ var zg = "Function.prototype.bind called on incompatible ", Yg = Object.prototyp
8061
8082
  e,
8062
8083
  ra(r, arguments)
8063
8084
  );
8064
- }, a = qg(0, n.length - r.length), d = [], c = 0; c < a; c++)
8085
+ }, a = Gg(0, n.length - r.length), d = [], c = 0; c < a; c++)
8065
8086
  d[c] = "$" + c;
8066
- if (o = Function("binder", "return function (" + Jg(d, ",") + "){ return binder.apply(this,arguments); }")(i), n.prototype) {
8087
+ if (o = Function("binder", "return function (" + Qg(d, ",") + "){ return binder.apply(this,arguments); }")(i), n.prototype) {
8067
8088
  var l = function() {
8068
8089
  };
8069
8090
  l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
8070
8091
  }
8071
8092
  return o;
8072
- }, Xg = Qg, ro = Function.prototype.bind || Xg, ls, oa;
8093
+ }, Zg = Xg, ro = Function.prototype.bind || Zg, ls, oa;
8073
8094
  function li() {
8074
8095
  return oa || (oa = 1, ls = Function.prototype.call), ls;
8075
8096
  }
@@ -8078,23 +8099,23 @@ function Uc() {
8078
8099
  return sa || (sa = 1, cs = Function.prototype.apply), cs;
8079
8100
  }
8080
8101
  var ds, ia;
8081
- function Zg() {
8102
+ function ey() {
8082
8103
  return ia || (ia = 1, ds = typeof Reflect < "u" && Reflect && Reflect.apply), ds;
8083
8104
  }
8084
8105
  var us, aa;
8085
- function ey() {
8106
+ function ty() {
8086
8107
  if (aa)
8087
8108
  return us;
8088
8109
  aa = 1;
8089
- var t = ro, e = Uc(), n = li(), r = Zg();
8110
+ var t = ro, e = Uc(), n = li(), r = ey();
8090
8111
  return us = r || t.call(n, e), us;
8091
8112
  }
8092
8113
  var fs, la;
8093
- function ty() {
8114
+ function ny() {
8094
8115
  if (la)
8095
8116
  return fs;
8096
8117
  la = 1;
8097
- var t = ro, e = Bc, n = li(), r = ey();
8118
+ var t = ro, e = Bc, n = li(), r = ty();
8098
8119
  return fs = function(i) {
8099
8120
  if (i.length < 1 || typeof i[0] != "function")
8100
8121
  throw new e("a function is required");
@@ -8102,11 +8123,11 @@ function ty() {
8102
8123
  }, fs;
8103
8124
  }
8104
8125
  var ms, ca;
8105
- function ny() {
8126
+ function ry() {
8106
8127
  if (ca)
8107
8128
  return ms;
8108
8129
  ca = 1;
8109
- var t = ty(), e = ai, n;
8130
+ var t = ny(), e = ai, n;
8110
8131
  try {
8111
8132
  n = /** @type {{ __proto__?: typeof Array.prototype }} */
8112
8133
  [].__proto__ === Array.prototype;
@@ -8127,11 +8148,11 @@ function ny() {
8127
8148
  ) : !1, ms;
8128
8149
  }
8129
8150
  var ps, da;
8130
- function ry() {
8151
+ function oy() {
8131
8152
  if (da)
8132
8153
  return ps;
8133
8154
  da = 1;
8134
- var t = Hc(), e = jc(), n = ny();
8155
+ var t = Hc(), e = jc(), n = ry();
8135
8156
  return ps = t ? function(o) {
8136
8157
  return t(o);
8137
8158
  } : e ? function(o) {
@@ -8143,21 +8164,21 @@ function ry() {
8143
8164
  } : null, ps;
8144
8165
  }
8145
8166
  var hs, ua;
8146
- function oy() {
8167
+ function sy() {
8147
8168
  if (ua)
8148
8169
  return hs;
8149
8170
  ua = 1;
8150
8171
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = ro;
8151
8172
  return hs = n.call(t, e), hs;
8152
8173
  }
8153
- var st, sy = Vc, iy = Ig, ay = Eg, ly = Rg, cy = Fg, wr = Og, fr = Bc, dy = Dg, uy = Mg, fy = Ng, my = kg, py = $g, hy = Pg, gy = Lg, yy = Hg, Wc = Function, gs = function(t) {
8174
+ var st, iy = Vc, ay = Eg, ly = Rg, cy = Fg, dy = Og, wr = Dg, fr = Bc, uy = Mg, fy = Ng, my = kg, py = $g, hy = Pg, gy = Lg, yy = Vg, vy = jg, Wc = Function, gs = function(t) {
8154
8175
  try {
8155
8176
  return Wc('"use strict"; return (' + t + ").constructor;")();
8156
8177
  } catch {
8157
8178
  }
8158
- }, Yr = ai, vy = Ug, ys = function() {
8179
+ }, Yr = ai, by = Wg, ys = function() {
8159
8180
  throw new fr();
8160
- }, by = Yr ? function() {
8181
+ }, wy = Yr ? function() {
8161
8182
  try {
8162
8183
  return arguments.callee, ys;
8163
8184
  } catch {
@@ -8167,7 +8188,7 @@ var st, sy = Vc, iy = Ig, ay = Eg, ly = Rg, cy = Fg, wr = Og, fr = Bc, dy = Dg,
8167
8188
  return ys;
8168
8189
  }
8169
8190
  }
8170
- }() : ys, or = Wg()(), Ht = ry(), wy = jc(), Cy = Hc(), zc = Uc(), oo = li(), ir = {}, xy = typeof Uint8Array > "u" || !Ht ? st : Ht(Uint8Array), zn = {
8191
+ }() : ys, or = zg()(), Ht = oy(), Cy = jc(), xy = Hc(), zc = Uc(), oo = li(), ir = {}, Sy = typeof Uint8Array > "u" || !Ht ? st : Ht(Uint8Array), zn = {
8171
8192
  __proto__: null,
8172
8193
  "%AggregateError%": typeof AggregateError > "u" ? st : AggregateError,
8173
8194
  "%Array%": Array,
@@ -8189,10 +8210,10 @@ var st, sy = Vc, iy = Ig, ay = Eg, ly = Rg, cy = Fg, wr = Og, fr = Bc, dy = Dg,
8189
8210
  "%decodeURIComponent%": decodeURIComponent,
8190
8211
  "%encodeURI%": encodeURI,
8191
8212
  "%encodeURIComponent%": encodeURIComponent,
8192
- "%Error%": iy,
8213
+ "%Error%": ay,
8193
8214
  "%eval%": eval,
8194
8215
  // eslint-disable-line no-eval
8195
- "%EvalError%": ay,
8216
+ "%EvalError%": ly,
8196
8217
  "%Float16Array%": typeof Float16Array > "u" ? st : Float16Array,
8197
8218
  "%Float32Array%": typeof Float32Array > "u" ? st : Float32Array,
8198
8219
  "%Float64Array%": typeof Float64Array > "u" ? st : Float64Array,
@@ -8210,14 +8231,14 @@ var st, sy = Vc, iy = Ig, ay = Eg, ly = Rg, cy = Fg, wr = Og, fr = Bc, dy = Dg,
8210
8231
  "%MapIteratorPrototype%": typeof Map > "u" || !or || !Ht ? st : Ht((/* @__PURE__ */ new Map())[Symbol.iterator]()),
8211
8232
  "%Math%": Math,
8212
8233
  "%Number%": Number,
8213
- "%Object%": sy,
8234
+ "%Object%": iy,
8214
8235
  "%Object.getOwnPropertyDescriptor%": Yr,
8215
8236
  "%parseFloat%": parseFloat,
8216
8237
  "%parseInt%": parseInt,
8217
8238
  "%Promise%": typeof Promise > "u" ? st : Promise,
8218
8239
  "%Proxy%": typeof Proxy > "u" ? st : Proxy,
8219
- "%RangeError%": ly,
8220
- "%ReferenceError%": cy,
8240
+ "%RangeError%": cy,
8241
+ "%ReferenceError%": dy,
8221
8242
  "%Reflect%": typeof Reflect > "u" ? st : Reflect,
8222
8243
  "%RegExp%": RegExp,
8223
8244
  "%Set%": typeof Set > "u" ? st : Set,
@@ -8227,38 +8248,38 @@ var st, sy = Vc, iy = Ig, ay = Eg, ly = Rg, cy = Fg, wr = Og, fr = Bc, dy = Dg,
8227
8248
  "%StringIteratorPrototype%": or && Ht ? Ht(""[Symbol.iterator]()) : st,
8228
8249
  "%Symbol%": or ? Symbol : st,
8229
8250
  "%SyntaxError%": wr,
8230
- "%ThrowTypeError%": by,
8231
- "%TypedArray%": xy,
8251
+ "%ThrowTypeError%": wy,
8252
+ "%TypedArray%": Sy,
8232
8253
  "%TypeError%": fr,
8233
8254
  "%Uint8Array%": typeof Uint8Array > "u" ? st : Uint8Array,
8234
8255
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? st : Uint8ClampedArray,
8235
8256
  "%Uint16Array%": typeof Uint16Array > "u" ? st : Uint16Array,
8236
8257
  "%Uint32Array%": typeof Uint32Array > "u" ? st : Uint32Array,
8237
- "%URIError%": dy,
8258
+ "%URIError%": uy,
8238
8259
  "%WeakMap%": typeof WeakMap > "u" ? st : WeakMap,
8239
8260
  "%WeakRef%": typeof WeakRef > "u" ? st : WeakRef,
8240
8261
  "%WeakSet%": typeof WeakSet > "u" ? st : WeakSet,
8241
8262
  "%Function.prototype.call%": oo,
8242
8263
  "%Function.prototype.apply%": zc,
8243
- "%Object.defineProperty%": vy,
8244
- "%Object.getPrototypeOf%": wy,
8245
- "%Math.abs%": uy,
8246
- "%Math.floor%": fy,
8247
- "%Math.max%": my,
8248
- "%Math.min%": py,
8249
- "%Math.pow%": hy,
8250
- "%Math.round%": gy,
8251
- "%Math.sign%": yy,
8252
- "%Reflect.getPrototypeOf%": Cy
8264
+ "%Object.defineProperty%": by,
8265
+ "%Object.getPrototypeOf%": Cy,
8266
+ "%Math.abs%": fy,
8267
+ "%Math.floor%": my,
8268
+ "%Math.max%": py,
8269
+ "%Math.min%": hy,
8270
+ "%Math.pow%": gy,
8271
+ "%Math.round%": yy,
8272
+ "%Math.sign%": vy,
8273
+ "%Reflect.getPrototypeOf%": xy
8253
8274
  };
8254
8275
  if (Ht)
8255
8276
  try {
8256
8277
  null.error;
8257
8278
  } catch (t) {
8258
- var Sy = Ht(Ht(t));
8259
- zn["%Error.prototype%"] = Sy;
8279
+ var Ty = Ht(Ht(t));
8280
+ zn["%Error.prototype%"] = Ty;
8260
8281
  }
8261
- var Ty = function t(e) {
8282
+ var _y = function t(e) {
8262
8283
  var n;
8263
8284
  if (e === "%AsyncFunction%")
8264
8285
  n = gs("async function () {}");
@@ -8327,21 +8348,21 @@ var Ty = function t(e) {
8327
8348
  "%URIErrorPrototype%": ["URIError", "prototype"],
8328
8349
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
8329
8350
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
8330
- }, so = ro, Ao = oy(), _y = so.call(oo, Array.prototype.concat), Ay = so.call(zc, Array.prototype.splice), ma = so.call(oo, String.prototype.replace), Io = so.call(oo, String.prototype.slice), Iy = so.call(oo, RegExp.prototype.exec), Ey = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ry = /\\(\\)?/g, Fy = function(e) {
8351
+ }, so = ro, Ao = sy(), Ay = so.call(oo, Array.prototype.concat), Iy = so.call(zc, Array.prototype.splice), ma = so.call(oo, String.prototype.replace), Io = so.call(oo, String.prototype.slice), Ey = so.call(oo, RegExp.prototype.exec), Ry = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Fy = /\\(\\)?/g, Oy = function(e) {
8331
8352
  var n = Io(e, 0, 1), r = Io(e, -1);
8332
8353
  if (n === "%" && r !== "%")
8333
8354
  throw new wr("invalid intrinsic syntax, expected closing `%`");
8334
8355
  if (r === "%" && n !== "%")
8335
8356
  throw new wr("invalid intrinsic syntax, expected opening `%`");
8336
8357
  var o = [];
8337
- return ma(e, Ey, function(i, a, d, c) {
8338
- o[o.length] = d ? ma(c, Ry, "$1") : a || i;
8358
+ return ma(e, Ry, function(i, a, d, c) {
8359
+ o[o.length] = d ? ma(c, Fy, "$1") : a || i;
8339
8360
  }), o;
8340
- }, Oy = function(e, n) {
8361
+ }, Dy = function(e, n) {
8341
8362
  var r = e, o;
8342
8363
  if (Ao(fa, r) && (o = fa[r], r = "%" + o[0] + "%"), Ao(zn, r)) {
8343
8364
  var i = zn[r];
8344
- if (i === ir && (i = Ty(r)), typeof i > "u" && !n)
8365
+ if (i === ir && (i = _y(r)), typeof i > "u" && !n)
8345
8366
  throw new fr("intrinsic " + e + " exists, but is not available. Please file an issue!");
8346
8367
  return {
8347
8368
  alias: o,
@@ -8355,10 +8376,10 @@ var Ty = function t(e) {
8355
8376
  throw new fr("intrinsic name must be a non-empty string");
8356
8377
  if (arguments.length > 1 && typeof n != "boolean")
8357
8378
  throw new fr('"allowMissing" argument must be a boolean');
8358
- if (Iy(/^%?[^%]*%?$/, e) === null)
8379
+ if (Ey(/^%?[^%]*%?$/, e) === null)
8359
8380
  throw new wr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
8360
- var r = Fy(e), o = r.length > 0 ? r[0] : "", i = Oy("%" + o + "%", n), a = i.name, d = i.value, c = !1, l = i.alias;
8361
- l && (o = l[0], Ay(r, _y([0, 1], l)));
8381
+ var r = Oy(e), o = r.length > 0 ? r[0] : "", i = Dy("%" + o + "%", n), a = i.name, d = i.value, c = !1, l = i.alias;
8382
+ l && (o = l[0], Iy(r, Ay([0, 1], l)));
8362
8383
  for (var f = 1, u = !0; f < r.length; f += 1) {
8363
8384
  var m = r[f], p = Io(m, 0, 1), g = Io(m, -1);
8364
8385
  if ((p === '"' || p === "'" || p === "`" || g === '"' || g === "'" || g === "`") && p !== g)
@@ -8406,18 +8427,18 @@ var Ty = function t(e) {
8406
8427
  };
8407
8428
  d ? d(t.exports, "apply", { value: l }) : t.exports.apply = l;
8408
8429
  })(Yc);
8409
- var ci = Yc.exports, qc = Go, Gc = ci, Dy = Gc(qc("String.prototype.indexOf")), Kc = function(e, n) {
8430
+ var ci = Yc.exports, qc = Go, Gc = ci, My = Gc(qc("String.prototype.indexOf")), Kc = function(e, n) {
8410
8431
  var r = qc(e, !!n);
8411
- return typeof r == "function" && Dy(e, ".prototype.") > -1 ? Gc(r) : r;
8412
- }, My = ii(), Ny = Kc, Rs = Ny("Object.prototype.toString"), Ko = function(e) {
8413
- return My && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Rs(e) === "[object Arguments]";
8432
+ return typeof r == "function" && My(e, ".prototype.") > -1 ? Gc(r) : r;
8433
+ }, Ny = ii(), ky = Kc, Rs = ky("Object.prototype.toString"), Ko = function(e) {
8434
+ return Ny && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Rs(e) === "[object Arguments]";
8414
8435
  }, Jc = function(e) {
8415
8436
  return Ko(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Rs(e) !== "[object Array]" && Rs(e.callee) === "[object Function]";
8416
- }, ky = function() {
8437
+ }, $y = function() {
8417
8438
  return Ko(arguments);
8418
8439
  }();
8419
8440
  Ko.isLegacyArguments = Jc;
8420
- var $y = ky ? Ko : Jc, Py = Go, Fs = Py("%Object.defineProperty%", !0), Os = function() {
8441
+ var Py = $y ? Ko : Jc, Ly = Go, Fs = Ly("%Object.defineProperty%", !0), Os = function() {
8421
8442
  if (Fs)
8422
8443
  try {
8423
8444
  return Fs({}, "a", { value: 1 }), !0;
@@ -8435,7 +8456,7 @@ Os.hasArrayLengthDefineBug = function() {
8435
8456
  return !0;
8436
8457
  }
8437
8458
  };
8438
- var di = Os, Ly = di(), ui = Go, pa = Ly && ui("%Object.defineProperty%", !0), Vy = ui("%SyntaxError%"), sr = ui("%TypeError%"), ha = ai, Qc = function(e, n, r) {
8459
+ var di = Os, Vy = di(), ui = Go, pa = Vy && ui("%Object.defineProperty%", !0), By = ui("%SyntaxError%"), sr = ui("%TypeError%"), ha = ai, Qc = function(e, n, r) {
8439
8460
  if (!e || typeof e != "object" && typeof e != "function")
8440
8461
  throw new sr("`obj` must be an object or a function`");
8441
8462
  if (typeof n != "string" && typeof n != "symbol")
@@ -8459,45 +8480,45 @@ var di = Os, Ly = di(), ui = Go, pa = Ly && ui("%Object.defineProperty%", !0), V
8459
8480
  else if (d || !o && !i && !a)
8460
8481
  e[n] = r;
8461
8482
  else
8462
- throw new Vy("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
8463
- }, By = Pc, Hy = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", jy = Object.prototype.toString, Uy = Array.prototype.concat, ga = Qc, Wy = function(t) {
8464
- return typeof t == "function" && jy.call(t) === "[object Function]";
8465
- }, Xc = di(), zy = function(t, e, n, r) {
8483
+ throw new By("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
8484
+ }, Hy = Pc, jy = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", Uy = Object.prototype.toString, Wy = Array.prototype.concat, ga = Qc, zy = function(t) {
8485
+ return typeof t == "function" && Uy.call(t) === "[object Function]";
8486
+ }, Xc = di(), Yy = function(t, e, n, r) {
8466
8487
  if (e in t) {
8467
8488
  if (r === !0) {
8468
8489
  if (t[e] === n)
8469
8490
  return;
8470
- } else if (!Wy(r) || !r())
8491
+ } else if (!zy(r) || !r())
8471
8492
  return;
8472
8493
  }
8473
8494
  Xc ? ga(t, e, n, !0) : ga(t, e, n);
8474
8495
  }, Zc = function(t, e) {
8475
- var n = arguments.length > 2 ? arguments[2] : {}, r = By(e);
8476
- Hy && (r = Uy.call(r, Object.getOwnPropertySymbols(e)));
8496
+ var n = arguments.length > 2 ? arguments[2] : {}, r = Hy(e);
8497
+ jy && (r = Wy.call(r, Object.getOwnPropertySymbols(e)));
8477
8498
  for (var o = 0; o < r.length; o += 1)
8478
- zy(t, r[o], e[r[o]], n[r[o]]);
8499
+ Yy(t, r[o], e[r[o]], n[r[o]]);
8479
8500
  };
8480
8501
  Zc.supportsDescriptors = !!Xc;
8481
8502
  var io = Zc, ya = function(t) {
8482
8503
  return t !== t;
8483
8504
  }, ed = function(e, n) {
8484
8505
  return e === 0 && n === 0 ? 1 / e === 1 / n : !!(e === n || ya(e) && ya(n));
8485
- }, Yy = ed, td = function() {
8486
- return typeof Object.is == "function" ? Object.is : Yy;
8487
- }, qy = td, Gy = io, Ky = function() {
8488
- var e = qy();
8489
- return Gy(Object, { is: e }, {
8506
+ }, qy = ed, td = function() {
8507
+ return typeof Object.is == "function" ? Object.is : qy;
8508
+ }, Gy = td, Ky = io, Jy = function() {
8509
+ var e = Gy();
8510
+ return Ky(Object, { is: e }, {
8490
8511
  is: function() {
8491
8512
  return Object.is !== e;
8492
8513
  }
8493
8514
  }), e;
8494
- }, Jy = io, Qy = ci, Xy = ed, nd = td, Zy = Ky, rd = Qy(nd(), Object);
8495
- Jy(rd, {
8515
+ }, Qy = io, Xy = ci, Zy = ed, nd = td, ev = Jy, rd = Xy(nd(), Object);
8516
+ Qy(rd, {
8496
8517
  getPolyfill: nd,
8497
- implementation: Xy,
8498
- shim: Zy
8518
+ implementation: Zy,
8519
+ shim: ev
8499
8520
  });
8500
- var ev = rd, Ds = Kc, od = ii(), sd, id, Ms, Ns;
8521
+ var tv = rd, Ds = Kc, od = ii(), sd, id, Ms, Ns;
8501
8522
  if (od) {
8502
8523
  sd = Ds("Object.prototype.hasOwnProperty"), id = Ds("RegExp.prototype.exec"), Ms = {};
8503
8524
  var vs = function() {
@@ -8508,10 +8529,10 @@ if (od) {
8508
8529
  valueOf: vs
8509
8530
  }, typeof Symbol.toPrimitive == "symbol" && (Ns[Symbol.toPrimitive] = vs);
8510
8531
  }
8511
- var tv = Ds("Object.prototype.toString"), nv = Object.getOwnPropertyDescriptor, rv = "[object RegExp]", ov = od ? function(e) {
8532
+ var nv = Ds("Object.prototype.toString"), rv = Object.getOwnPropertyDescriptor, ov = "[object RegExp]", sv = od ? function(e) {
8512
8533
  if (!e || typeof e != "object")
8513
8534
  return !1;
8514
- var n = nv(e, "lastIndex"), r = n && sd(n, "value");
8535
+ var n = rv(e, "lastIndex"), r = n && sd(n, "value");
8515
8536
  if (!r)
8516
8537
  return !1;
8517
8538
  try {
@@ -8520,7 +8541,7 @@ var tv = Ds("Object.prototype.toString"), nv = Object.getOwnPropertyDescriptor,
8520
8541
  return o === Ms;
8521
8542
  }
8522
8543
  } : function(e) {
8523
- return !e || typeof e != "object" && typeof e != "function" ? !1 : tv(e) === rv;
8544
+ return !e || typeof e != "object" && typeof e != "function" ? !1 : nv(e) === ov;
8524
8545
  }, qr = function() {
8525
8546
  return typeof (function() {
8526
8547
  }).name == "string";
@@ -8538,24 +8559,24 @@ qr.functionsHaveConfigurableNames = function() {
8538
8559
  }, "name");
8539
8560
  return !!e && !!e.configurable;
8540
8561
  };
8541
- var sv = Function.prototype.bind;
8562
+ var iv = Function.prototype.bind;
8542
8563
  qr.boundFunctionsHaveNames = function() {
8543
- return qr() && typeof sv == "function" && (function() {
8564
+ return qr() && typeof iv == "function" && (function() {
8544
8565
  }).bind().name !== "";
8545
8566
  };
8546
- var iv = qr, va = Qc, av = di(), lv = iv.functionsHaveConfigurableNames(), cv = TypeError, dv = function(e, n) {
8567
+ var av = qr, va = Qc, lv = di(), cv = av.functionsHaveConfigurableNames(), dv = TypeError, uv = function(e, n) {
8547
8568
  if (typeof e != "function")
8548
- throw new cv("`fn` is not a function");
8569
+ throw new dv("`fn` is not a function");
8549
8570
  var r = arguments.length > 2 && !!arguments[2];
8550
- return (!r || lv) && (av ? va(e, "name", n, !0, !0) : va(e, "name", n)), e;
8551
- }, uv = dv, fv = Object, mv = TypeError, ad = uv(function() {
8552
- if (this != null && this !== fv(this))
8553
- throw new mv("RegExp.prototype.flags getter called on non-object");
8571
+ return (!r || cv) && (lv ? va(e, "name", n, !0, !0) : va(e, "name", n)), e;
8572
+ }, fv = uv, mv = Object, pv = TypeError, ad = fv(function() {
8573
+ if (this != null && this !== mv(this))
8574
+ throw new pv("RegExp.prototype.flags getter called on non-object");
8554
8575
  var e = "";
8555
8576
  return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
8556
- }, "get flags", !0), pv = ad, hv = io.supportsDescriptors, gv = Object.getOwnPropertyDescriptor, ld = function() {
8557
- if (hv && /a/mig.flags === "gim") {
8558
- var e = gv(RegExp.prototype, "flags");
8577
+ }, "get flags", !0), hv = ad, gv = io.supportsDescriptors, yv = Object.getOwnPropertyDescriptor, ld = function() {
8578
+ if (gv && /a/mig.flags === "gim") {
8579
+ var e = yv(RegExp.prototype, "flags");
8559
8580
  if (e && typeof e.get == "function" && typeof RegExp.prototype.dotAll == "boolean" && typeof RegExp.prototype.hasIndices == "boolean") {
8560
8581
  var n = "", r = {};
8561
8582
  if (Object.defineProperty(r, "hasIndices", {
@@ -8570,34 +8591,34 @@ var iv = qr, va = Qc, av = di(), lv = iv.functionsHaveConfigurableNames(), cv =
8570
8591
  return e.get;
8571
8592
  }
8572
8593
  }
8573
- return pv;
8574
- }, yv = io.supportsDescriptors, vv = ld, bv = Object.getOwnPropertyDescriptor, wv = Object.defineProperty, Cv = TypeError, ba = Object.getPrototypeOf, xv = /a/, Sv = function() {
8575
- if (!yv || !ba)
8576
- throw new Cv("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
8577
- var e = vv(), n = ba(xv), r = bv(n, "flags");
8578
- return (!r || r.get !== e) && wv(n, "flags", {
8594
+ return hv;
8595
+ }, vv = io.supportsDescriptors, bv = ld, wv = Object.getOwnPropertyDescriptor, Cv = Object.defineProperty, xv = TypeError, ba = Object.getPrototypeOf, Sv = /a/, Tv = function() {
8596
+ if (!vv || !ba)
8597
+ throw new xv("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
8598
+ var e = bv(), n = ba(Sv), r = wv(n, "flags");
8599
+ return (!r || r.get !== e) && Cv(n, "flags", {
8579
8600
  configurable: !0,
8580
8601
  enumerable: !1,
8581
8602
  get: e
8582
8603
  }), e;
8583
- }, Tv = io, _v = ci, Av = ad, cd = ld, Iv = Sv, dd = _v(cd());
8584
- Tv(dd, {
8604
+ }, _v = io, Av = ci, Iv = ad, cd = ld, Ev = Tv, dd = Av(cd());
8605
+ _v(dd, {
8585
8606
  getPolyfill: cd,
8586
- implementation: Av,
8587
- shim: Iv
8607
+ implementation: Iv,
8608
+ shim: Ev
8588
8609
  });
8589
- var Ev = dd, Rv = Date.prototype.getDay, Fv = function(e) {
8610
+ var Rv = dd, Fv = Date.prototype.getDay, Ov = function(e) {
8590
8611
  try {
8591
- return Rv.call(e), !0;
8612
+ return Fv.call(e), !0;
8592
8613
  } catch {
8593
8614
  return !1;
8594
8615
  }
8595
- }, Ov = Object.prototype.toString, Dv = "[object Date]", Mv = ii(), Nv = function(e) {
8596
- return typeof e != "object" || e === null ? !1 : Mv ? Fv(e) : Ov.call(e) === Dv;
8597
- }, wa = Pc, Ca = $y, xa = ev, Sa = ov, Ta = Ev, _a = Nv, Aa = Date.prototype.getTime;
8616
+ }, Dv = Object.prototype.toString, Mv = "[object Date]", Nv = ii(), kv = function(e) {
8617
+ return typeof e != "object" || e === null ? !1 : Nv ? Ov(e) : Dv.call(e) === Mv;
8618
+ }, wa = Pc, Ca = Py, xa = tv, Sa = sv, Ta = Rv, _a = kv, Aa = Date.prototype.getTime;
8598
8619
  function ud(t, e, n) {
8599
8620
  var r = n || {};
8600
- return (r.strict ? xa(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? xa(t, e) : t == e : kv(t, e, r);
8621
+ return (r.strict ? xa(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? xa(t, e) : t == e : $v(t, e, r);
8601
8622
  }
8602
8623
  function Ia(t) {
8603
8624
  return t == null;
@@ -8605,7 +8626,7 @@ function Ia(t) {
8605
8626
  function Ea(t) {
8606
8627
  return !(!t || typeof t != "object" || typeof t.length != "number" || typeof t.copy != "function" || typeof t.slice != "function" || t.length > 0 && typeof t[0] != "number");
8607
8628
  }
8608
- function kv(t, e, n) {
8629
+ function $v(t, e, n) {
8609
8630
  var r, o;
8610
8631
  if (typeof t != typeof e || Ia(t) || Ia(e) || t.prototype !== e.prototype || Ca(t) !== Ca(e))
8611
8632
  return !1;
@@ -8644,8 +8665,8 @@ function kv(t, e, n) {
8644
8665
  return !1;
8645
8666
  return !0;
8646
8667
  }
8647
- var $v = ud;
8648
- const Er = /* @__PURE__ */ Tr($v), { Text: Pv } = Jt, Lv = ({
8668
+ var Pv = ud;
8669
+ const Er = /* @__PURE__ */ Tr(Pv), { Text: Lv } = Jt, Vv = ({
8649
8670
  currentModel: t,
8650
8671
  context: e,
8651
8672
  searchParams: n,
@@ -8908,7 +8929,7 @@ const Er = /* @__PURE__ */ Tr($v), { Text: Pv } = Jt, Lv = ({
8908
8929
  autoFocus: !0
8909
8930
  }
8910
8931
  ) : /* @__PURE__ */ s(
8911
- Pv,
8932
+ Lv,
8912
8933
  {
8913
8934
  style: {
8914
8935
  fontSize: "14px",
@@ -9275,7 +9296,7 @@ const fi = (t) => {
9275
9296
  shouldShowSingleSaveButton: L,
9276
9297
  shouldShowSaveButtonGroup: U,
9277
9298
  shouldShowSaveAsNew: z
9278
- } = Lv({
9299
+ } = Vv({
9279
9300
  currentModel: c,
9280
9301
  context: l,
9281
9302
  searchParams: v,
@@ -9430,14 +9451,14 @@ const fi = (t) => {
9430
9451
  ]);
9431
9452
  return /* @__PURE__ */ H(Fe, { children: [
9432
9453
  /* @__PURE__ */ s(
9433
- xg,
9454
+ Sg,
9434
9455
  {
9435
9456
  title: B(_),
9436
9457
  isOpen: n,
9437
9458
  onClose: r,
9438
9459
  headerButtons: ie,
9439
9460
  footer: /* @__PURE__ */ s(
9440
- Vv,
9461
+ Bv,
9441
9462
  {
9442
9463
  onClear: de,
9443
9464
  onSubmit: te,
@@ -9512,7 +9533,7 @@ const fi = (t) => {
9512
9533
  }
9513
9534
  )
9514
9535
  ] });
9515
- }, Vv = ({
9536
+ }, Bv = ({
9516
9537
  onClear: t,
9517
9538
  onSubmit: e,
9518
9539
  searchParams: n
@@ -9562,7 +9583,7 @@ const fi = (t) => {
9562
9583
  const n = ar(e.label), r = ar(t);
9563
9584
  return n.includes(r);
9564
9585
  };
9565
- function Bv(t) {
9586
+ function Hv(t) {
9566
9587
  const {
9567
9588
  onAdvancedFilterToggle: e,
9568
9589
  advancedFilter: n,
@@ -9591,7 +9612,7 @@ function Bv(t) {
9591
9612
  ] })
9592
9613
  ] });
9593
9614
  }
9594
- function Hv(t) {
9615
+ function jv(t) {
9595
9616
  const { onLimitChange: e } = t, { t: n } = De(), r = new xs({ name: "limit" }), o = new xs({ name: "offset" });
9596
9617
  return /* @__PURE__ */ H("div", { className: "pl-2 pt-2", children: [
9597
9618
  /* @__PURE__ */ s(dt, { children: n("parameters") }, "count_params"),
@@ -9611,7 +9632,7 @@ function Hv(t) {
9611
9632
  ] })
9612
9633
  ] });
9613
9634
  }
9614
- const { useToken: jv } = ot;
9635
+ const { useToken: Uv } = ot;
9615
9636
  function Jo(t) {
9616
9637
  const {
9617
9638
  fields: e,
@@ -9627,7 +9648,7 @@ function Jo(t) {
9627
9648
  searchError: u,
9628
9649
  searchValues: m,
9629
9650
  showLimitOptions: p = !0
9630
- } = t, [g, h] = E(), [y, v] = E(), [b, C] = E(!1), x = Q(), { token: w } = jv(), _ = St(
9651
+ } = t, [g, h] = E(), [y, v] = E(), [b, C] = E(!1), x = Q(), { token: w } = Uv(), _ = St(
9631
9652
  wt.FEATURE_MANY2ONE_SELECTION_TO_LAZY
9632
9653
  ), [T] = Dt.useForm();
9633
9654
  he(() => {
@@ -9685,9 +9706,9 @@ function Jo(t) {
9685
9706
  initialValues: { offset: a, limit: d },
9686
9707
  children: [
9687
9708
  O,
9688
- b && p && /* @__PURE__ */ s(Hv, { onLimitChange: c }),
9709
+ b && p && /* @__PURE__ */ s(jv, { onLimitChange: c }),
9689
9710
  /* @__PURE__ */ s(
9690
- Bv,
9711
+ Hv,
9691
9712
  {
9692
9713
  hideAdvancedFilter: (P() || (y == null ? void 0 : y._rows.length) === 0) && !p,
9693
9714
  advancedFilter: b,
@@ -9720,7 +9741,7 @@ function Jo(t) {
9720
9741
  function mi({
9721
9742
  useLocalState: t = !1
9722
9743
  }) {
9723
- const e = hb() && !t, n = Yt(), [r, o] = E(!1), [i, a] = E(!1), [d, c] = E([]), [l, f] = E(0), [u, m] = E(void 0), [p, g] = E([]), [h, y] = E({}), [v, b] = E(), [C, x] = E([]), [w, _] = E(), [T, A] = E(0), [O, D] = E(), [P, M] = E(1), [F, R] = E(qn), [I, k] = E(qt);
9744
+ const e = gb() && !t, n = Yt(), [r, o] = E(!1), [i, a] = E(!1), [d, c] = E([]), [l, f] = E(0), [u, m] = E(void 0), [p, g] = E([]), [h, y] = E({}), [v, b] = E(), [C, x] = E([]), [w, _] = E(), [T, A] = E(0), [O, D] = E(), [P, M] = E(1), [F, R] = E(qn), [I, k] = E(qt);
9724
9745
  return e ? {
9725
9746
  treeIsLoading: n.viewIsLoading ?? !1,
9726
9747
  setTreeIsLoading: n.setViewIsLoading ?? (() => {
@@ -9814,7 +9835,7 @@ const Rr = () => {
9814
9835
  document.removeEventListener("visibilitychange", n);
9815
9836
  };
9816
9837
  }, []), t;
9817
- }, Uv = 0.1 * 1e3, Wv = ({
9838
+ }, Wv = 0.1 * 1e3, zv = ({
9818
9839
  model: t,
9819
9840
  treeView: e,
9820
9841
  tableRef: n,
@@ -9967,7 +9988,7 @@ const Rr = () => {
9967
9988
  );
9968
9989
  Je(() => (m && _ && ($(), w.current = setInterval(
9969
9990
  $,
9970
- Uv
9991
+ Wv
9971
9992
  )), () => {
9972
9993
  w.current && (clearInterval(w.current), w.current = null);
9973
9994
  }), [m, _, $, c]);
@@ -10008,7 +10029,7 @@ const Rr = () => {
10008
10029
  onHasFunctionFieldsToParseConditions: F,
10009
10030
  syncExternalRecordUpdates: B
10010
10031
  };
10011
- }, zv = 3 * 1e3, Yv = (t) => {
10032
+ }, Yv = 3 * 1e3, qv = (t) => {
10012
10033
  const {
10013
10034
  tableRef: e,
10014
10035
  model: n,
@@ -10105,7 +10126,7 @@ const Rr = () => {
10105
10126
  ]);
10106
10127
  he(() => () => {
10107
10128
  b(), x();
10108
- }, []), Je(() => ((o == null ? void 0 : o.length) && h && (O(), g.current = setInterval(O, zv)), () => {
10129
+ }, []), Je(() => ((o == null ? void 0 : o.length) && h && (O(), g.current = setInterval(O, Yv)), () => {
10109
10130
  g.current && (clearInterval(g.current), g.current = null);
10110
10131
  }), [
10111
10132
  o,
@@ -10145,7 +10166,7 @@ const Rr = () => {
10145
10166
  addRecordsToCheckFunctionFields: p,
10146
10167
  onHasFunctionFieldsToParseConditions: g,
10147
10168
  syncExternalRecordUpdates: h
10148
- } = Wv({
10169
+ } = zv({
10149
10170
  model: t,
10150
10171
  treeView: e,
10151
10172
  tableRef: n,
@@ -10156,7 +10177,7 @@ const Rr = () => {
10156
10177
  updateAttributes: a,
10157
10178
  results: d,
10158
10179
  skipFunctionFieldsHandling: !!l
10159
- }), { clear: y } = Yv({
10180
+ }), { clear: y } = qv({
10160
10181
  model: t,
10161
10182
  tableRef: n,
10162
10183
  autorefreshableFields: l || i == null ? void 0 : i.autorefreshableFields,
@@ -10219,7 +10240,7 @@ const Rr = () => {
10219
10240
  ),
10220
10241
  i[1]
10221
10242
  ] }) : /* @__PURE__ */ s("span", { style: { fontSize: "12px", color: "#666" }, children: r });
10222
- }, { Text: Fa, Link: qv } = Jt, md = ({
10243
+ }, { Text: Fa, Link: Gv } = Jt, md = ({
10223
10244
  totalRows: t,
10224
10245
  selectedRowKeys: e,
10225
10246
  customMiddleComponent: n,
@@ -10234,7 +10255,7 @@ const Rr = () => {
10234
10255
  style: { height: 40, maxHeight: 40, overflow: "hidden" },
10235
10256
  children: [
10236
10257
  /* @__PURE__ */ s(et, { span: i, children: /* @__PURE__ */ s(
10237
- Gv,
10258
+ Kv,
10238
10259
  {
10239
10260
  selectedRowKeys: e,
10240
10261
  onClearSelection: r
@@ -10256,14 +10277,14 @@ const Rr = () => {
10256
10277
  ]
10257
10278
  }
10258
10279
  );
10259
- }, Gv = ({
10280
+ }, Kv = ({
10260
10281
  selectedRowKeys: t,
10261
10282
  onClearSelection: e
10262
10283
  }) => {
10263
10284
  const { t: n } = De(), r = e ? /* @__PURE__ */ H(Fe, { children: [
10264
10285
  " ",
10265
10286
  "- ",
10266
- /* @__PURE__ */ s(qv, { onClick: e, children: n("clearSelection") })
10287
+ /* @__PURE__ */ s(Gv, { onClick: e, children: n("clearSelection") })
10267
10288
  ] }) : null;
10268
10289
  if (t.length === 1)
10269
10290
  return /* @__PURE__ */ H(Fe, { children: [
@@ -10308,8 +10329,8 @@ const pd = ({
10308
10329
  var o, i, a, d;
10309
10330
  !e || !t.current || (n === !1 || !r ? (i = (o = t.current).pauseAutoRefresh) == null || i.call(o) : (n === void 0 || n === !0) && r && ((d = (a = t.current).resumeAutoRefresh) == null || d.call(a)));
10310
10331
  }, [n, e, r]);
10311
- }, Kv = 10, Jv = 200;
10312
- function Qv(t, e) {
10332
+ }, Jv = 10, Qv = 200;
10333
+ function Xv(t, e) {
10313
10334
  const {
10314
10335
  model: n,
10315
10336
  formView: r,
@@ -10333,7 +10354,7 @@ function Qv(t, e) {
10333
10354
  );
10334
10355
  const C = Q([]), x = Q(!1), { showErrorNotification: w } = Et(), { setCurrentSavedSearch: _ } = Yt(), [T, A] = E(), [O, D] = E(!1), P = Q(), M = Q(null), F = ti({
10335
10356
  elementRef: M,
10336
- offset: Kv
10357
+ offset: Jv
10337
10358
  }), R = y !== void 0 ? y : F, [I, k] = ke(
10338
10359
  K.getHandler().searchCount
10339
10360
  ), [$, j] = ke(
@@ -10587,7 +10608,7 @@ function Qv(t, e) {
10587
10608
  setSelectedRowItems: ne,
10588
10609
  onChangeSelectedRowKeys: f,
10589
10610
  totalRows: T,
10590
- maxRowsToSelect: Jv,
10611
+ maxRowsToSelect: Qv,
10591
10612
  onSelectAll: On
10592
10613
  }), vt = S(
10593
10614
  async ({
@@ -10822,12 +10843,12 @@ function Qv(t, e) {
10822
10843
  /* @__PURE__ */ s("div", { ref: M, style: xt, children: L || ee ? /* @__PURE__ */ s(ct, {}) : Ye })
10823
10844
  ] });
10824
10845
  }
10825
- const gi = zt(Qv), Oa = (t, e = "14px -apple-system") => {
10846
+ const gi = zt(Xv), Oa = (t, e = "14px -apple-system") => {
10826
10847
  const r = document.createElement("canvas").getContext("2d");
10827
10848
  r.font = e;
10828
10849
  const o = r.measureText(t);
10829
10850
  return Math.round((o.width + 80) * 1.5);
10830
- }, Xv = (t, e, n = 500) => {
10851
+ }, Zv = (t, e, n = 500) => {
10831
10852
  if (t.length === 0)
10832
10853
  return { columns: t };
10833
10854
  const r = t.map(
@@ -10848,11 +10869,11 @@ const gi = zt(Qv), Oa = (t, e = "14px -apple-system") => {
10848
10869
  source: e,
10849
10870
  tableWidth: o
10850
10871
  };
10851
- }, Zv = ut.div`
10872
+ }, eb = ut.div`
10852
10873
  display: flex;
10853
10874
  align-items: center;
10854
10875
  justify-content: center;
10855
- `, eb = ({
10876
+ `, tb = ({
10856
10877
  numberOfVisibleSelectedRows: t,
10857
10878
  totalRecords: e,
10858
10879
  numberOfTotalRows: n,
@@ -10881,7 +10902,7 @@ const gi = zt(Qv), Oa = (t, e = "14px -apple-system") => {
10881
10902
  "{totalRecords}",
10882
10903
  o.toString()
10883
10904
  ) + " " });
10884
- return /* @__PURE__ */ s(Zv, { children: o > n ? u : f });
10905
+ return /* @__PURE__ */ s(eb, { children: o > n ? u : f });
10885
10906
  };
10886
10907
  var Da = Object.prototype.hasOwnProperty;
10887
10908
  function Ma(t, e, n) {
@@ -10944,11 +10965,11 @@ function $r(t, e) {
10944
10965
  }
10945
10966
  return t !== t && e !== e;
10946
10967
  }
10947
- function tb(t) {
10968
+ function nb(t) {
10948
10969
  return t.type === "integer" ? 0 : t.decimalDigits ?? 2;
10949
10970
  }
10950
10971
  const hd = nt(({ summary: t }) => {
10951
- const e = tb(t), r = Ir({
10972
+ const e = nb(t), r = Ir({
10952
10973
  decimalDigits: e,
10953
10974
  currency: t.currency,
10954
10975
  format: t.format ?? "decimal",
@@ -11049,7 +11070,7 @@ const yd = zt(
11049
11070
  }
11050
11071
  ) }),
11051
11072
  T && /* @__PURE__ */ s(et, { span: 8, className: "text-center", children: /* @__PURE__ */ s(
11052
- eb,
11073
+ tb,
11053
11074
  {
11054
11075
  numberOfVisibleSelectedRows: ie,
11055
11076
  numberOfRealSelectedRows: (u == null ? void 0 : u.length) || 0,
@@ -11098,7 +11119,7 @@ const yd = zt(
11098
11119
  }), /* @__PURE__ */ s(gd, { summaries: se });
11099
11120
  }, [O, u, F]), te = J(() => {
11100
11121
  if (F !== null && N && N.length > 0)
11101
- return Xv(N, O, 600);
11122
+ return Zv(N, O, 600);
11102
11123
  }, [N, O, F]), ye = J(() => p && (F != null && F.columns.some((ie) => ie.sum !== void 0)) ? p - 30 : p, [p, F == null ? void 0 : F.columns]);
11103
11124
  return F === null || !te || ((de = te == null ? void 0 : te.columns) == null ? void 0 : de.length) === 0 ? /* @__PURE__ */ s(ct, { style: { padding: "2rem" } }) : /* @__PURE__ */ H(It, { children: [
11104
11125
  G,
@@ -11371,7 +11392,7 @@ const vd = (t) => {
11371
11392
  getAllIds: Ee
11372
11393
  };
11373
11394
  };
11374
- function nb(t, e) {
11395
+ function rb(t, e) {
11375
11396
  var Ae;
11376
11397
  const {
11377
11398
  model: n,
@@ -11633,7 +11654,7 @@ function nb(t, e) {
11633
11654
  ]), _e = O || me;
11634
11655
  return _e ? (console.error(_e), /* @__PURE__ */ s(Ut, { className: "mt-10", message: _e, type: "error", banner: !0 })) : /* @__PURE__ */ s("div", { style: l ? {} : { display: "none" }, children: p ? /* @__PURE__ */ s(ct, {}) : Ce() });
11635
11656
  }
11636
- const bd = zt(nb), rb = qt, ob = (t) => {
11657
+ const bd = zt(rb), ob = qt, sb = (t) => {
11637
11658
  const {
11638
11659
  treeViewFetching: e,
11639
11660
  treeOoui: n,
@@ -12055,7 +12076,7 @@ const bd = zt(nb), rb = qt, ob = (t) => {
12055
12076
  nameSearch: pe,
12056
12077
  fetchChildrenForRecord: xn
12057
12078
  };
12058
- }, sb = ({
12079
+ }, ib = ({
12059
12080
  filterType: t,
12060
12081
  formView: e,
12061
12082
  treeView: n,
@@ -12197,7 +12218,7 @@ const bd = zt(nb), rb = qt, ob = (t) => {
12197
12218
  )
12198
12219
  );
12199
12220
  yi.displayName = "PaginatedTableComponent";
12200
- const ib = nt(yi), fn = (t) => {
12221
+ const ab = nt(yi), fn = (t) => {
12201
12222
  const e = Q(t);
12202
12223
  return he(() => {
12203
12224
  e.current = t;
@@ -12205,7 +12226,7 @@ const ib = nt(yi), fn = (t) => {
12205
12226
  var r;
12206
12227
  return (r = e.current) == null ? void 0 : r.call(e, ...n);
12207
12228
  }).current;
12208
- }, ab = ({
12229
+ }, lb = ({
12209
12230
  treeView: t,
12210
12231
  currentModel: e,
12211
12232
  parentContext: n
@@ -12252,8 +12273,8 @@ const ib = nt(yi), fn = (t) => {
12252
12273
  t
12253
12274
  ]
12254
12275
  ) };
12255
- }, lb = 10, cb = -30;
12256
- function db(t, e) {
12276
+ }, cb = 10, db = -30;
12277
+ function ub(t, e) {
12257
12278
  const {
12258
12279
  model: n,
12259
12280
  formView: r,
@@ -12277,7 +12298,7 @@ function db(t, e) {
12277
12298
  context: l
12278
12299
  }), A = ti({
12279
12300
  elementRef: b,
12280
- offset: w != null && w.isExpandable ? cb : lb
12301
+ offset: w != null && w.isExpandable ? db : cb
12281
12302
  }), O = h !== void 0 ? h : A, D = J(() => {
12282
12303
  if (w)
12283
12304
  return vn(w);
@@ -12332,7 +12353,7 @@ function db(t, e) {
12332
12353
  nameSearchFetchCompleted: ze,
12333
12354
  nameSearch: Re,
12334
12355
  fetchChildrenForRecord: He
12335
- } = ob({
12356
+ } = sb({
12336
12357
  treeViewFetching: T,
12337
12358
  treeOoui: D,
12338
12359
  treeView: w,
@@ -12365,7 +12386,7 @@ function db(t, e) {
12365
12386
  }
12366
12387
  )
12367
12388
  }));
12368
- }, [Ie, V, Re]), { handleExpandableRowDoubleClick: je } = ab({
12389
+ }, [Ie, V, Re]), { handleExpandableRowDoubleClick: je } = lb({
12369
12390
  treeView: w,
12370
12391
  currentModel: n,
12371
12392
  parentContext: l
@@ -12394,10 +12415,10 @@ function db(t, e) {
12394
12415
  ...d ? {} : { display: "none" }
12395
12416
  }),
12396
12417
  [O, d]
12397
- ), Ce = Re !== void 0 && ze, _e = Ce && W !== void 0 && W !== null && W === qt, Ae = J(() => typeof W != "number" || isNaN(W) || W < 0 ? (ae == null ? void 0 : ae.length) || 0 : W || 0, [W, ae]), $e = J(() => (ae == null ? void 0 : ae.length) > 0 && (typeof W != "number" || isNaN(W) || W < 0) ? ae == null ? void 0 : ae.length : f ? qt : me || rb, [ae == null ? void 0 : ae.length, W, f, me]);
12418
+ ), Ce = Re !== void 0 && ze, _e = Ce && W !== void 0 && W !== null && W === qt, Ae = J(() => typeof W != "number" || isNaN(W) || W < 0 ? (ae == null ? void 0 : ae.length) || 0 : W || 0, [W, ae]), $e = J(() => (ae == null ? void 0 : ae.length) > 0 && (typeof W != "number" || isNaN(W) || W < 0) ? ae == null ? void 0 : ae.length : f ? qt : me || ob, [ae == null ? void 0 : ae.length, W, f, me]);
12398
12419
  return /* @__PURE__ */ H(Gn, { children: [
12399
12420
  !B && !p && /* @__PURE__ */ s(
12400
- sb,
12421
+ ib,
12401
12422
  {
12402
12423
  filterType: u,
12403
12424
  formView: _,
@@ -12470,7 +12491,7 @@ function db(t, e) {
12470
12491
  ) })
12471
12492
  ] });
12472
12493
  }
12473
- const wd = zt(db), { useToken: ub } = ot, Cd = ({
12494
+ const wd = zt(ub), { useToken: fb } = ot, Cd = ({
12474
12495
  model: t,
12475
12496
  context: e,
12476
12497
  viewRef: n,
@@ -12478,7 +12499,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
12478
12499
  setSearchValues: o,
12479
12500
  setSearchVisible: i
12480
12501
  }) => {
12481
- const { t: a } = De(), { token: d } = ub(), { globalValues: c } = on(), l = rn(
12502
+ const { t: a } = De(), { token: d } = fb(), { globalValues: c } = on(), l = rn(
12482
12503
  kt.FEATURE_SAVED_SEARCHES
12483
12504
  ), {
12484
12505
  currentSavedSearch: f,
@@ -12643,10 +12664,10 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
12643
12664
  subtitle: _,
12644
12665
  savedSearchesEnabled: l
12645
12666
  };
12646
- }, fb = {
12667
+ }, mb = {
12647
12668
  height: "calc(100vh - 80px - 102px)",
12648
12669
  overflow: "auto"
12649
- }, qn = "legacy", mb = (t) => {
12670
+ }, qn = "legacy", pb = (t) => {
12650
12671
  const {
12651
12672
  visible: e,
12652
12673
  viewRef: n,
@@ -12732,7 +12753,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
12732
12753
  onClearSavedSearch: M
12733
12754
  }
12734
12755
  ) }),
12735
- /* @__PURE__ */ H("div", { style: fb, children: [
12756
+ /* @__PURE__ */ H("div", { style: mb, children: [
12736
12757
  y === "infinite" && /* @__PURE__ */ s(
12737
12758
  gi,
12738
12759
  {
@@ -12780,7 +12801,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
12780
12801
  ] }) : null;
12781
12802
  }, Qt = nu(
12782
12803
  null
12783
- ), pb = (t) => {
12804
+ ), hb = (t) => {
12784
12805
  const {
12785
12806
  children: e,
12786
12807
  currentView: n,
@@ -12941,7 +12962,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
12941
12962
  children: e
12942
12963
  }
12943
12964
  );
12944
- }, hb = () => !!Ne(Qt), Yt = () => {
12965
+ }, gb = () => !!Ne(Qt), Yt = () => {
12945
12966
  const t = Ne(Qt);
12946
12967
  return t || {
12947
12968
  title: "",
@@ -13057,7 +13078,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13057
13078
  permissionsLoading: !1,
13058
13079
  permissionsError: null
13059
13080
  };
13060
- }, gb = (t, e) => {
13081
+ }, yb = (t, e) => {
13061
13082
  const {
13062
13083
  view_id: n,
13063
13084
  model: r,
@@ -13137,7 +13158,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13137
13158
  default:
13138
13159
  return /* @__PURE__ */ s(Fe, { children: `Graph ${m.type} not implemented` });
13139
13160
  }
13140
- }, Xn = zt(gb), yb = (t) => {
13161
+ }, Xn = zt(yb), vb = (t) => {
13141
13162
  const { model: e, domain: n = [], context: r = {}, view_id: o, manualIds: i } = t, [a, d] = E(!1), [c, l] = E(), [f, u] = E(), [m] = ke(
13142
13163
  K.getHandler().readForView
13143
13164
  ), p = S(async () => {
@@ -13161,10 +13182,10 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13161
13182
  fetchData: p,
13162
13183
  graphData: f
13163
13184
  };
13164
- }, vb = (t, e) => {
13185
+ }, bb = (t, e) => {
13165
13186
  const { view_id: n, model: r, context: o, domain: i, manualIds: a, fixedHeight: d } = t, c = Ne(
13166
13187
  Qt
13167
- ), { setGraphIsLoading: l = void 0 } = c || {}, { error: f, loading: u, graphData: m, fetchData: p } = yb({
13188
+ ), { setGraphIsLoading: l = void 0 } = c || {}, { error: f, loading: u, graphData: m, fetchData: p } = vb({
13168
13189
  view_id: n,
13169
13190
  model: r,
13170
13191
  domain: i,
@@ -13232,7 +13253,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13232
13253
  default:
13233
13254
  return /* @__PURE__ */ s(Fe, { children: `Graph ${m.type} not implemented` });
13234
13255
  }
13235
- }, vi = zt(vb), { useToken: bb } = ot, { Text: Na } = Jt, xd = (t) => {
13256
+ }, vi = zt(bb), { useToken: wb } = ot, { Text: Na } = Jt, xd = (t) => {
13236
13257
  const {
13237
13258
  title: e,
13238
13259
  children: n,
@@ -13241,7 +13262,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13241
13262
  parms: i,
13242
13263
  tooltip: a,
13243
13264
  card: d = !1
13244
- } = t, { token: c } = bb(), l = Object.keys(i).length > 0;
13265
+ } = t, { token: c } = wb(), l = Object.keys(i).length > 0;
13245
13266
  return /* @__PURE__ */ H(
13246
13267
  "div",
13247
13268
  {
@@ -13310,7 +13331,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13310
13331
  ]
13311
13332
  }
13312
13333
  );
13313
- }, wb = (t) => {
13334
+ }, Cb = (t) => {
13314
13335
  const [e, n] = ke(
13315
13336
  K.getHandler().execute
13316
13337
  ), [r, o] = ke(
@@ -13444,7 +13465,7 @@ const wd = zt(db), { useToken: ub } = ot, Cd = ({
13444
13465
  }
13445
13466
  );
13446
13467
  };
13447
- function Cb(t) {
13468
+ function xb(t) {
13448
13469
  const {
13449
13470
  action: e,
13450
13471
  model: n,
@@ -13606,14 +13627,14 @@ function Cb(t) {
13606
13627
  ] }));
13607
13628
  return B ? (console.error(B), /* @__PURE__ */ s(Ut, { className: "mt-10", message: B, type: "error", banner: !0 })) : u ? /* @__PURE__ */ s(ct, { style: { padding: "2rem" } }) : ae();
13608
13629
  }
13609
- const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13630
+ const Td = nt(xb), { useToken: Sb } = ot, Tb = 3 * 1e3, _b = (t) => {
13610
13631
  const { ooui: e } = t, { refreshCounter: n } = Zr(), r = e.actionId !== void 0, o = e.actionField !== void 0;
13611
- return /* @__PURE__ */ s(tt, { ooui: e, children: r || o ? /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(Ab, { ooui: e }, n) }) : /* @__PURE__ */ s(_b, { ooui: e }, n) });
13612
- }, _b = (t) => {
13632
+ return /* @__PURE__ */ s(tt, { ooui: e, children: r || o ? /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(Ib, { ooui: e }, n) }) : /* @__PURE__ */ s(Ab, { ooui: e }, n) });
13633
+ }, Ab = (t) => {
13613
13634
  var T;
13614
- const { token: e } = xb(), { ooui: n, value: r } = t, { locale: o } = De(), { getContext: i } = Zr(), [a, d] = E(n.icon), [c, l] = E(n.color), [f, u] = E(null), [m, p] = E(!1), [g, h] = ke(
13635
+ const { token: e } = Sb(), { ooui: n, value: r } = t, { locale: o } = De(), { getContext: i } = Zr(), [a, d] = E(n.icon), [c, l] = E(n.color), [f, u] = E(null), [m, p] = E(!1), [g, h] = ke(
13615
13636
  K.getHandler().parseCondition
13616
- ), { fetchReferenceValues: y } = wb({
13637
+ ), { fetchReferenceValues: y } = Cb({
13617
13638
  context: i == null ? void 0 : i()
13618
13639
  }), v = St(
13619
13640
  wt.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
@@ -13723,7 +13744,7 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13723
13744
  }
13724
13745
  );
13725
13746
  return n.card ? /* @__PURE__ */ s(Jr, { children: _ }) : _;
13726
- }, Ab = (t) => {
13747
+ }, Ib = (t) => {
13727
13748
  const { ooui: e } = t, { actionId: n, height: r } = e, { getFieldValue: o, activeId: i } = Zr(), a = e.actionField && parseInt(o(e.actionField) || "0", 10) || n, { actionData: d, treeShortcut: c, loading: l, error: f, fetchData: u } = bp(a), { openShortcut: m } = Qn();
13728
13749
  if (Je(() => {
13729
13750
  !e || !a || u();
@@ -13743,14 +13764,14 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13743
13764
  children: [
13744
13765
  l && /* @__PURE__ */ s(to, {}),
13745
13766
  !l && /* @__PURE__ */ s(Fe, { children: i ? (g == null ? void 0 : g.id) && /* @__PURE__ */ s(
13746
- Ib,
13767
+ Eb,
13747
13768
  {
13748
13769
  fixedHeight: r,
13749
13770
  actionData: d,
13750
- autoRefresh: e.autoRefresh ? Sb : void 0
13771
+ autoRefresh: e.autoRefresh ? Tb : void 0
13751
13772
  }
13752
13773
  ) : /* @__PURE__ */ s(
13753
- Eb,
13774
+ Rb,
13754
13775
  {
13755
13776
  image: pr.PRESENTED_IMAGE_SIMPLE,
13756
13777
  imageStyle: { height: 15 }
@@ -13759,7 +13780,7 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13759
13780
  ]
13760
13781
  }
13761
13782
  );
13762
- }, Ib = ({
13783
+ }, Eb = ({
13763
13784
  actionData: t,
13764
13785
  fixedHeight: e,
13765
13786
  autoRefresh: n
@@ -13835,15 +13856,15 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13835
13856
  error: new Error("Unsupported view type: " + r.type)
13836
13857
  }
13837
13858
  );
13838
- }, Eb = ut(pr)`
13859
+ }, Rb = ut(pr)`
13839
13860
  &.ant-empty.ant-empty-normal {
13840
13861
  margin: 0;
13841
13862
  margin-top: 5px;
13842
13863
  }
13843
- `, Rb = (t) => {
13864
+ `, Fb = (t) => {
13844
13865
  const { ooui: e } = t;
13845
- return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(Fb, { ooui: e }) });
13846
- }, Fb = (t) => {
13866
+ return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(Ob, { ooui: e }) });
13867
+ }, Ob = (t) => {
13847
13868
  const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, i = o.filter((D) => D.operation !== "pendingRemove").map((D) => D.id), [a, d] = E([]), [c, l] = E(), [f, u] = E(!1), { relation: m, context: p, readOnly: g, field: h } = n, y = Ne(ft), { getContext: v } = y || {}, [b, C] = ke(
13848
13869
  K.getHandler().evalDomain
13849
13870
  ), [x, w] = ke(
@@ -13930,10 +13951,10 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13930
13951
  filterOption: (D, P) => P.label.toLowerCase().includes(D.toString().toLowerCase())
13931
13952
  }
13932
13953
  ) }) });
13933
- }, Ob = (t) => {
13934
- const { ooui: e } = t;
13935
- return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Db, { ...t, ooui: e }) }) });
13936
13954
  }, Db = (t) => {
13955
+ const { ooui: e } = t;
13956
+ return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Mb, { ...t, ooui: e }) }) });
13957
+ }, Mb = (t) => {
13937
13958
  var u, m, p;
13938
13959
  const { value: e, ooui: n } = t, r = Ne(
13939
13960
  Rn
@@ -13979,7 +14000,7 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
13979
14000
  width: "100%"
13980
14001
  },
13981
14002
  children: i.map((g, h) => /* @__PURE__ */ s(
13982
- Mb,
14003
+ Nb,
13983
14004
  {
13984
14005
  button: g,
13985
14006
  processAction: r.processAction,
@@ -14001,7 +14022,7 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
14001
14022
  children: d ? /* @__PURE__ */ s(Cl, { label: n.label, icon: a, children: f }) : f
14002
14023
  }
14003
14024
  );
14004
- }, Mb = ({
14025
+ }, Nb = ({
14005
14026
  button: t,
14006
14027
  processAction: e,
14007
14028
  formContext: n,
@@ -14076,13 +14097,13 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
14076
14097
  children: t.name
14077
14098
  }
14078
14099
  );
14079
- }, Nb = 200, kb = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s($b, { ooui: t.ooui, value: t.value }) }), $b = (t) => {
14100
+ }, kb = 200, $b = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Pb, { ooui: t.ooui, value: t.value }) }), Pb = (t) => {
14080
14101
  const { value: e, ooui: n } = t;
14081
14102
  if (!e)
14082
14103
  return null;
14083
14104
  const r = Array.isArray(e) ? String(e[0]) : String(e), o = Array.isArray(e) ? e[1] : e, i = {
14084
14105
  value: r,
14085
- size: n.width || Nb,
14106
+ size: n.width || kb,
14086
14107
  bordered: n.border !== !1
14087
14108
  };
14088
14109
  return /* @__PURE__ */ H(ht, { direction: "vertical", align: "center", children: [
@@ -14099,7 +14120,7 @@ const Td = nt(Cb), { useToken: xb } = ot, Sb = 3 * 1e3, Tb = (t) => {
14099
14120
  }
14100
14121
  ) });
14101
14122
  };
14102
- function Pb(t) {
14123
+ function Lb(t) {
14103
14124
  const { ooui: e, responsiveBehaviour: n } = t, r = Lt(e.icon || ""), { t: o } = De(), i = e.title ? /* @__PURE__ */ H("span", { children: [
14104
14125
  r && /* @__PURE__ */ s("span", { style: { marginRight: "8px" }, children: mn.createElement(r) }),
14105
14126
  e.title
@@ -14122,14 +14143,14 @@ function Pb(t) {
14122
14143
  }
14123
14144
  );
14124
14145
  }
14125
- const Lb = (t) => {
14146
+ const Vb = (t) => {
14126
14147
  switch (t) {
14127
14148
  case "form":
14128
14149
  return Fr;
14129
14150
  case "tree":
14130
14151
  return ao;
14131
14152
  case "notebook":
14132
- return Dw;
14153
+ return Mw;
14133
14154
  case "group":
14134
14155
  return Ud;
14135
14156
  case "label":
@@ -14137,7 +14158,7 @@ const Lb = (t) => {
14137
14158
  case "char":
14138
14159
  return $l;
14139
14160
  case "text":
14140
- return Nw;
14161
+ return kw;
14141
14162
  case "button":
14142
14163
  return Ys;
14143
14164
  case "buttonGroup":
@@ -14145,7 +14166,7 @@ const Lb = (t) => {
14145
14166
  case "selection":
14146
14167
  return Bl;
14147
14168
  case "many2one":
14148
- return rw;
14169
+ return ow;
14149
14170
  case "many2one_lazy":
14150
14171
  return Km;
14151
14172
  case "boolean":
@@ -14157,80 +14178,80 @@ const Lb = (t) => {
14157
14178
  case "progressbar":
14158
14179
  return fh;
14159
14180
  case "date":
14160
- return qw;
14161
- case "datetime":
14162
14181
  return Gw;
14163
- case "time":
14182
+ case "datetime":
14164
14183
  return Kw;
14184
+ case "time":
14185
+ return Jw;
14165
14186
  case "one2many":
14166
14187
  case "one2many_list":
14167
14188
  case "many2many":
14168
- return _w;
14189
+ return Aw;
14169
14190
  case "separator":
14170
- return $w;
14191
+ return Pw;
14171
14192
  case "reference":
14172
- return Qw;
14193
+ return Xw;
14173
14194
  case "binary":
14174
- return e0;
14195
+ return t0;
14175
14196
  case "image":
14176
14197
  return cp;
14177
14198
  case "icon":
14178
14199
  return ap;
14179
14200
  case "url":
14180
- return d0;
14181
- case "email":
14182
14201
  return u0;
14202
+ case "email":
14203
+ return f0;
14183
14204
  case "float_time":
14184
- return Ew;
14205
+ return Rw;
14185
14206
  case "fiber_grid":
14186
14207
  return up;
14187
14208
  case "timeline":
14188
14209
  return yp;
14189
14210
  case "indicator":
14190
- return Tb;
14211
+ return _b;
14191
14212
  case "tags":
14192
- return Rb;
14213
+ return Fb;
14193
14214
  case "tag":
14194
14215
  return wh;
14195
14216
  case "multicheckbox":
14196
- return KC;
14217
+ return JC;
14197
14218
  case "markdown":
14198
- return F0;
14219
+ return O0;
14199
14220
  case "radio":
14200
- return QC;
14221
+ return XC;
14201
14222
  case "switch":
14202
- return ex;
14223
+ return tx;
14203
14224
  case "steps":
14204
- return rx;
14225
+ return ox;
14205
14226
  case "arrow_steps":
14206
- return ix;
14227
+ return ax;
14207
14228
  case "codeeditor":
14208
14229
  case "json":
14209
- return ax;
14230
+ return lx;
14210
14231
  case "comments_timeline":
14211
- return hx;
14212
- case "html_preview":
14213
14232
  return gx;
14214
- case "alert":
14233
+ case "html_preview":
14215
14234
  return yx;
14235
+ case "alert":
14236
+ return vx;
14216
14237
  case "spinner":
14217
14238
  return Eo;
14218
14239
  case "carousel":
14219
- return wx;
14240
+ return Cx;
14220
14241
  case "colorPicker":
14221
- return xx;
14242
+ return Sx;
14222
14243
  case "action_buttons":
14223
- return Ob;
14244
+ return Db;
14224
14245
  case "qrcode":
14225
- return kb;
14246
+ return $b;
14226
14247
  case "card":
14227
- return Pb;
14248
+ return Lb;
14228
14249
  case "avatar":
14229
14250
  return vh;
14230
14251
  default:
14231
14252
  return;
14232
14253
  }
14233
- }, Vb = (t) => {
14254
+ }, Bb = (t) => {
14234
14255
  var d;
14235
14256
  const { ooui: e, selectionToLazy: n } = t, { type: r } = e;
14236
14257
  let o = r, i = e;
@@ -14243,14 +14264,14 @@ const Lb = (t) => {
14243
14264
  readOnly: e.readOnly,
14244
14265
  required: e.required
14245
14266
  }), i.parsedWidgetProps = e.parsedWidgetProps);
14246
- const a = Lb(o);
14267
+ const a = Vb(o);
14247
14268
  return a ? Ga(a, { ...t, ooui: i }) : null;
14248
- }, Bb = ({
14269
+ }, Hb = ({
14249
14270
  item: t,
14250
14271
  responsiveBehaviour: e
14251
14272
  }) => ({
14252
14273
  gridColumnStart: "span " + (e ? 1 : t.colspan)
14253
- }), Hb = ({
14274
+ }), jb = ({
14254
14275
  row: t,
14255
14276
  mustFillWithEmpties: e,
14256
14277
  numberOfColumns: n
@@ -14269,10 +14290,10 @@ const Lb = (t) => {
14269
14290
  r.push(new Cr({ string: "" }));
14270
14291
  }
14271
14292
  }), r;
14272
- }, jb = ({
14293
+ }, Ub = ({
14273
14294
  row: t,
14274
14295
  numberOfColumns: e
14275
- }) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), Ub = (t, e) => {
14296
+ }) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), Wb = (t, e) => {
14276
14297
  const n = t.map((r) => r instanceof Cr && r.fieldForLabel || r instanceof pu ? "auto" : "1fr");
14277
14298
  if (n.length < e) {
14278
14299
  const r = e - n.length;
@@ -14280,27 +14301,27 @@ const Lb = (t) => {
14280
14301
  n.push("1fr");
14281
14302
  }
14282
14303
  return n.join(" ");
14283
- }, Wb = (t, e) => {
14304
+ }, zb = (t, e) => {
14284
14305
  const n = e ? "1fr" : "auto", r = "auto";
14285
14306
  let o = "";
14286
14307
  for (let i = 0; i < t; i++)
14287
14308
  o += i % 2 ? n : r, i + 1 < t && (o += " ");
14288
14309
  return o;
14289
- }, zb = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), bi = (t) => {
14310
+ }, Yb = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), bi = (t) => {
14290
14311
  const { container: e, responsiveBehaviour: n } = t, { rows: r } = e;
14291
14312
  let { columns: o } = e;
14292
14313
  const i = St(
14293
14314
  wt.FEATURE_MANY2ONE_SELECTION_TO_LAZY
14294
- ), a = zb(r);
14315
+ ), a = Yb(r);
14295
14316
  a < o && (o = a);
14296
14317
  let d = !1, c = [];
14297
14318
  const l = r.map((m, p) => {
14298
- const g = m.filter((v) => !v.invisible), h = jb({
14319
+ const g = m.filter((v) => !v.invisible), h = Ub({
14299
14320
  row: g,
14300
14321
  numberOfColumns: o
14301
14322
  });
14302
14323
  let y = h;
14303
- return (p === 0 || !(m.length === 1 && m.some((v) => v.type === "group"))) && (y = Hb({
14324
+ return (p === 0 || !(m.length === 1 && m.some((v) => v.type === "group"))) && (y = jb({
14304
14325
  row: h,
14305
14326
  numberOfColumns: o,
14306
14327
  mustFillWithEmpties: n
@@ -14311,10 +14332,10 @@ const Lb = (t) => {
14311
14332
  "div",
14312
14333
  {
14313
14334
  style: {
14314
- ...Bb({ item: v, responsiveBehaviour: n }),
14335
+ ...Hb({ item: v, responsiveBehaviour: n }),
14315
14336
  minWidth: b
14316
14337
  },
14317
- children: Vb({
14338
+ children: Bb({
14318
14339
  ooui: v,
14319
14340
  responsiveBehaviour: n,
14320
14341
  selectionToLazy: i
@@ -14323,7 +14344,7 @@ const Lb = (t) => {
14323
14344
  v.key
14324
14345
  );
14325
14346
  });
14326
- }), f = r.length === 1 ? Ub(c, o) : Wb(o, d);
14347
+ }), f = r.length === 1 ? Wb(c, o) : zb(o, d);
14327
14348
  return /* @__PURE__ */ s("div", { style: {
14328
14349
  display: "grid",
14329
14350
  gridTemplateColumns: n ? "auto" : f,
@@ -14331,7 +14352,7 @@ const Lb = (t) => {
14331
14352
  minHeight: 0,
14332
14353
  minWidth: 0
14333
14354
  }, children: l });
14334
- }, _d = mn.createContext(null), Yb = (t) => {
14355
+ }, _d = mn.createContext(null), qb = (t) => {
14335
14356
  const { children: e, setTitle: n } = t;
14336
14357
  return /* @__PURE__ */ s(
14337
14358
  _d.Provider,
@@ -14342,12 +14363,12 @@ const Lb = (t) => {
14342
14363
  children: e
14343
14364
  }
14344
14365
  );
14345
- }, qb = (t, e) => {
14366
+ }, Gb = (t, e) => {
14346
14367
  const n = {};
14347
14368
  return Object.keys(t).forEach((r) => {
14348
14369
  n[r] = t[r], e != null && e[r] && (n[r].context = e[r]);
14349
14370
  }), n;
14350
- }, Gb = 3 * 1e3, Kb = (t) => {
14371
+ }, Kb = 3 * 1e3, Jb = (t) => {
14351
14372
  const {
14352
14373
  model: e,
14353
14374
  id: n,
@@ -14386,7 +14407,7 @@ const Lb = (t) => {
14386
14407
  r,
14387
14408
  a
14388
14409
  ]);
14389
- Je(() => (Wt(n) && (o == null ? void 0 : o.length) && l && (g(), c.current = setInterval(g, Gb)), () => {
14410
+ Je(() => (Wt(n) && (o == null ? void 0 : o.length) && l && (g(), c.current = setInterval(g, Kb)), () => {
14390
14411
  m(), c.current && (clearInterval(c.current), c.current = null);
14391
14412
  }), [
14392
14413
  o,
@@ -14403,7 +14424,7 @@ const Lb = (t) => {
14403
14424
  f(!0);
14404
14425
  }, []);
14405
14426
  return { pause: h, resume: y };
14406
- }, Jb = () => {
14427
+ }, Qb = () => {
14407
14428
  const [t, e] = E({}), n = S(
14408
14429
  (c, l, f = "error") => {
14409
14430
  e((u) => ({ ...u, [c]: { message: l, type: f } }));
@@ -14443,8 +14464,8 @@ const Lb = (t) => {
14443
14464
  clearAllFieldMessages: a,
14444
14465
  setFieldMessagesArray: d
14445
14466
  };
14446
- }, Qb = 800;
14447
- function Xb(t, e) {
14467
+ }, Xb = 800;
14468
+ function Zb(t, e) {
14448
14469
  const {
14449
14470
  model: n,
14450
14471
  id: r,
@@ -14470,7 +14491,7 @@ function Xb(t, e) {
14470
14491
  forcedValues: T = {},
14471
14492
  parentWidth: A,
14472
14493
  onMustRefreshParent: O
14473
- } = t, { t: D } = De(), [P, M] = E(!1), [F, R] = E(), [I, k] = E(), [$] = Dt.useForm(), [j, X] = E(), [V, B] = E(), N = Ne(_d), [L, U] = E(), [z, G] = E(!1), [ne, te] = E(0), ye = Q(), de = Q({}), ie = Q(null), se = Q({}), oe = Q({}), re = Q(!1), W = Q(!1), ue = Q(!1), fe = (A !== void 0 ? A : L) < Qb, ce = Ne(ft), { activeId: Ee, getPlainValues: pe } = ce || {}, Me = Q(!1), We = Ne(
14494
+ } = t, { t: D } = De(), [P, M] = E(!1), [F, R] = E(), [I, k] = E(), [$] = Dt.useForm(), [j, X] = E(), [V, B] = E(), N = Ne(_d), [L, U] = E(), [z, G] = E(!1), [ne, te] = E(0), ye = Q(), de = Q({}), ie = Q(null), se = Q({}), oe = Q({}), re = Q(!1), W = Q(!1), ue = Q(!1), fe = (A !== void 0 ? A : L) < Xb, ce = Ne(ft), { activeId: Ee, getPlainValues: pe } = ce || {}, Me = Q(!1), We = Ne(
14474
14495
  Qt
14475
14496
  ), {
14476
14497
  setFormIsSaving: me = void 0,
@@ -14497,7 +14518,7 @@ function Xb(t, e) {
14497
14518
  clearFieldMessage: le,
14498
14519
  clearAllFieldMessages: Ce,
14499
14520
  setFieldMessagesArray: _e
14500
- } = Jb();
14521
+ } = Qb();
14501
14522
  en(e, () => ({
14502
14523
  submitForm: Xt,
14503
14524
  getFields: Tt,
@@ -14738,7 +14759,7 @@ function Xb(t, e) {
14738
14759
  if (Pe = (await K.getHandler().readObjects({
14739
14760
  model: n,
14740
14761
  ids: [Oe()],
14741
- fields: qb(be, Ze == null ? void 0 : Ze.contextForFields),
14762
+ fields: Gb(be, Ze == null ? void 0 : Ze.contextForFields),
14742
14763
  context: b
14743
14764
  }))[0], v)
14744
14765
  return { values: Pe, defaultGetCalled: Ue };
@@ -15088,7 +15109,7 @@ function Xb(t, e) {
15088
15109
  },
15089
15110
  [j, xt, V, Qe, nn]
15090
15111
  );
15091
- Kb({
15112
+ Jb({
15092
15113
  model: n,
15093
15114
  id: qe,
15094
15115
  context: b,
@@ -15225,7 +15246,7 @@ function Xb(t, e) {
15225
15246
  }
15226
15247
  ) : null;
15227
15248
  }
15228
- const Fr = zt(Xb), Zb = (t) => {
15249
+ const Fr = zt(Zb), ew = (t) => {
15229
15250
  const { visible: e, initialName: n, onSave: r, onCancel: o } = t, { t: i } = De(), [a, d] = E(n), [c, l] = E(!1);
15230
15251
  he(() => {
15231
15252
  d(n);
@@ -15278,7 +15299,7 @@ const Fr = zt(Xb), Zb = (t) => {
15278
15299
  ) }) })
15279
15300
  }
15280
15301
  );
15281
- }, ew = (t) => {
15302
+ }, tw = (t) => {
15282
15303
  const {
15283
15304
  isFavourite: e,
15284
15305
  currentShortcutId: n,
@@ -15371,7 +15392,7 @@ const Fr = zt(Xb), Zb = (t) => {
15371
15392
  handleSaveFavourite: A,
15372
15393
  handleCancelNameModal: O,
15373
15394
  initialName: D
15374
- } = ew({
15395
+ } = tw({
15375
15396
  isFavourite: p,
15376
15397
  currentShortcutId: h,
15377
15398
  defaultName: u,
@@ -15420,7 +15441,7 @@ const Fr = zt(Xb), Zb = (t) => {
15420
15441
  ] });
15421
15442
  }
15422
15443
  const R = f * 0.95;
15423
- return /* @__PURE__ */ H(Yb, { setTitle: m, children: [
15444
+ return /* @__PURE__ */ H(qb, { setTitle: m, children: [
15424
15445
  /* @__PURE__ */ s(
15425
15446
  jt,
15426
15447
  {
@@ -15447,7 +15468,7 @@ const Fr = zt(Xb), Zb = (t) => {
15447
15468
  }
15448
15469
  ),
15449
15470
  /* @__PURE__ */ s(
15450
- Zb,
15471
+ ew,
15451
15472
  {
15452
15473
  visible: _,
15453
15474
  initialName: D,
@@ -15580,7 +15601,7 @@ const Fr = zt(Xb), Zb = (t) => {
15580
15601
  }
15581
15602
  )
15582
15603
  ] });
15583
- }, { defaultAlgorithm: tw, defaultSeed: nw } = ot, Ad = tw(nw), rw = (t) => {
15604
+ }, { defaultAlgorithm: nw, defaultSeed: rw } = ot, Ad = nw(rw), ow = (t) => {
15584
15605
  const { ooui: e } = t, { required: n } = e;
15585
15606
  return /* @__PURE__ */ s(tt, { required: n, type: "array", validator: async (o, i) => {
15586
15607
  if (!i)
@@ -15689,7 +15710,7 @@ const Fr = zt(Xb), Zb = (t) => {
15689
15710
  async function ye(W) {
15690
15711
  W.keyCode === 13 ? (W.preventDefault(), W.stopPropagation(), await z()) : W.code === "Backspace" && B !== void 0 && (W.preventDefault(), W.stopPropagation(), L([void 0, ""]));
15691
15712
  }
15692
- const de = o && !a ? ow : Mt, ie = St(
15713
+ const de = o && !a ? sw : Mt, ie = St(
15693
15714
  wt.FEATURE_MANY2ONE_DISABLE_FOLDER
15694
15715
  ), se = St(
15695
15716
  wt.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
@@ -15783,11 +15804,11 @@ const Fr = zt(Xb), Zb = (t) => {
15783
15804
  }
15784
15805
  )
15785
15806
  ] });
15786
- }, ow = ut(Mt)`
15807
+ }, sw = ut(Mt)`
15787
15808
  .ant-input {
15788
15809
  background-color: ${Ad.colorPrimaryBg};
15789
15810
  }
15790
- `, sw = ({
15811
+ `, iw = ({
15791
15812
  title: t,
15792
15813
  content: e,
15793
15814
  onOk: n,
@@ -15834,7 +15855,7 @@ const Fr = zt(Xb), Zb = (t) => {
15834
15855
  const n = Tl(e);
15835
15856
  return n.render(
15836
15857
  /* @__PURE__ */ s(
15837
- sw,
15858
+ iw,
15838
15859
  {
15839
15860
  ...t,
15840
15861
  onOk: async () => {
@@ -16003,7 +16024,7 @@ const Fr = zt(Xb), Zb = (t) => {
16003
16024
  }) => {
16004
16025
  const e = await (t == null ? void 0 : t());
16005
16026
  return e != null && e.succeed ? { succeed: !0, currentId: e.id } : { succeed: !1, currentId: void 0 };
16006
- }, iw = ({
16027
+ }, aw = ({
16007
16028
  currentId: t,
16008
16029
  currentModel: e,
16009
16030
  onItemDuplicated: n,
@@ -16036,8 +16057,8 @@ const Fr = zt(Xb), Zb = (t) => {
16036
16057
  duplicatingItem: o,
16037
16058
  duplicate: d
16038
16059
  };
16039
- }, { useToken: aw } = ot;
16040
- function lw(t) {
16060
+ }, { useToken: lw } = ot;
16061
+ function cw(t) {
16041
16062
  var ye, de, ie, se;
16042
16063
  const {
16043
16064
  title: e,
@@ -16064,7 +16085,7 @@ function lw(t) {
16064
16085
  currentId: _,
16065
16086
  onOpenInListView: T,
16066
16087
  canOpenInListView: A
16067
- } = t, { token: O } = aw(), { t: D } = De(), { activeModel: P } = Zr(), { permissions: M } = jr({
16088
+ } = t, { token: O } = lw(), { t: D } = De(), { activeModel: P } = Zr(), { permissions: M } = jr({
16068
16089
  model: o,
16069
16090
  permissions: ["create", "write", "unlink"],
16070
16091
  enabled: !0
@@ -16072,7 +16093,7 @@ function lw(t) {
16072
16093
  model: P,
16073
16094
  permissions: ["write"],
16074
16095
  enabled: !!P
16075
- }), R = (M == null ? void 0 : M.create) ?? !1, I = (M == null ? void 0 : M.write) ?? !1, k = (M == null ? void 0 : M.unlink) ?? !1, $ = (F == null ? void 0 : F.write) ?? !1, { duplicatingItem: j, duplicate: X } = iw({
16096
+ }), R = (M == null ? void 0 : M.create) ?? !1, I = (M == null ? void 0 : M.write) ?? !1, k = (M == null ? void 0 : M.unlink) ?? !1, $ = (F == null ? void 0 : F.write) ?? !1, { duplicatingItem: j, duplicate: X } = aw({
16076
16097
  currentId: a === "form" ? _ : parseInt(g[0]),
16077
16098
  currentModel: o,
16078
16099
  onItemDuplicated: () => {
@@ -16323,19 +16344,19 @@ const kd = nt(
16323
16344
  }
16324
16345
  );
16325
16346
  kd.displayName = "DeleteButton";
16326
- const wi = nt(lw), cw = {
16347
+ const wi = nt(cw), dw = {
16327
16348
  form: al,
16328
16349
  tree: nl,
16329
16350
  graph: Xn
16330
16351
  };
16331
- function dw(t) {
16352
+ function uw(t) {
16332
16353
  const e = t.map((r) => r.id);
16333
16354
  return t.filter((r, o) => {
16334
16355
  const { id: i } = r;
16335
16356
  return !e.includes(i, o + 1);
16336
16357
  });
16337
16358
  }
16338
- const uw = (t) => {
16359
+ const fw = (t) => {
16339
16360
  var je, Se, ge;
16340
16361
  const { value: e, onChange: n, ooui: r, views: o } = t, { items: i = [] } = e || {}, { currentView: a, setCurrentView: d, itemIndex: c, setItemIndex: l } = Ne(
16341
16362
  Vn
@@ -16371,7 +16392,7 @@ const uw = (t) => {
16371
16392
  var ve, Z;
16372
16393
  n == null || n({
16373
16394
  fields: ((ve = o.get("form")) == null ? void 0 : ve.fields) || ((Z = o.get("tree")) == null ? void 0 : Z.fields),
16374
- items: dw(Y)
16395
+ items: uw(Y)
16375
16396
  });
16376
16397
  }, ue = async () => {
16377
16398
  await ae(), c > se.length - 1 && c !== 0 && l(0);
@@ -16582,7 +16603,7 @@ const uw = (t) => {
16582
16603
  }
16583
16604
  };
16584
16605
  function Re() {
16585
- const Y = cw[a];
16606
+ const Y = dw[a];
16586
16607
  if (a === "graph")
16587
16608
  return il(o.get("graph").arch).string;
16588
16609
  {
@@ -16783,7 +16804,7 @@ const uw = (t) => {
16783
16804
  t
16784
16805
  ]);
16785
16806
  return n;
16786
- }, fw = ({
16807
+ }, mw = ({
16787
16808
  treeView: t,
16788
16809
  relation: e,
16789
16810
  context: n,
@@ -16973,7 +16994,7 @@ const Vd = ({
16973
16994
  const { t: d } = De(), { currentView: c, itemIndex: l, setItemIndex: f } = Ne(
16974
16995
  Vn
16975
16996
  ), { showErrorNotification: u } = Et(), m = S(async () => {
16976
- const y = mw({
16997
+ const y = pw({
16977
16998
  selectedRowKeys: o,
16978
16999
  items: n
16979
17000
  });
@@ -17040,7 +17061,7 @@ const Vd = ({
17040
17061
  });
17041
17062
  }, [t, g, d]) };
17042
17063
  };
17043
- function mw({
17064
+ function pw({
17044
17065
  selectedRowKeys: t,
17045
17066
  items: e
17046
17067
  }) {
@@ -17199,10 +17220,10 @@ const Bd = ({
17199
17220
  onCloseSearchModal: u,
17200
17221
  onSelectSearchValues: p
17201
17222
  };
17202
- }, jd = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, ka = 400, pw = (t, e) => t.filter((n) => {
17223
+ }, jd = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, ka = 400, hw = (t, e) => t.filter((n) => {
17203
17224
  const r = e.find((o) => o.id === n.id);
17204
17225
  return r ? JSON.stringify(n.treeValues) !== JSON.stringify(r.treeValues) : !0;
17205
- }), hw = ({
17226
+ }), gw = ({
17206
17227
  items: t,
17207
17228
  height: e,
17208
17229
  onRowDoubleClick: n,
@@ -17350,7 +17371,7 @@ const Bd = ({
17350
17371
  _.current = t;
17351
17372
  return;
17352
17373
  }
17353
- const ge = pw(t, _.current);
17374
+ const ge = hw(t, _.current);
17354
17375
  _.current = t, ie(), ge.length > 0 && (async () => {
17355
17376
  var ee;
17356
17377
  const Z = ge.filter((le) => le.treeValues).map((le) => le.treeValues);
@@ -17418,7 +17439,7 @@ const Bd = ({
17418
17439
  [n]
17419
17440
  );
17420
17441
  return ye ? /* @__PURE__ */ s(ct, {}) : v === "paginated" ? /* @__PURE__ */ s(
17421
- ib,
17442
+ ab,
17422
17443
  {
17423
17444
  tableRef: x,
17424
17445
  onRowStyle: Ge,
@@ -17476,7 +17497,7 @@ const Bd = ({
17476
17497
  onChangeTableType: b
17477
17498
  }
17478
17499
  );
17479
- }, gw = ["form", "tree", "graph"], yw = (t) => {
17500
+ }, yw = ["form", "tree", "graph"], vw = (t) => {
17480
17501
  var ze, Re, He;
17481
17502
  const e = Q(null), { value: n, onChange: r, ooui: o, views: i, treeType: a, onUserSelectTreeType: d } = t, { items: c = [] } = n || {}, l = Ld({ one2manyItems: c }), { currentView: f, setCurrentView: u, itemIndex: m, setItemIndex: p, setTreeType: g } = Ne(Vn), {
17482
17503
  readOnly: h,
@@ -17499,7 +17520,7 @@ const Bd = ({
17499
17520
  onChangeFirstVisibleRowIndex: $,
17500
17521
  onGetFirstVisibileRowIndex: j,
17501
17522
  onSelectionCheckboxClicked: X
17502
- } = fw({
17523
+ } = mw({
17503
17524
  treeView: i.get("tree"),
17504
17525
  relation: y,
17505
17526
  context: P,
@@ -17674,7 +17695,7 @@ const Bd = ({
17674
17695
  }
17675
17696
  ),
17676
17697
  f === "tree" && i.get("tree") && /* @__PURE__ */ s(
17677
- hw,
17698
+ gw,
17678
17699
  {
17679
17700
  gridRef: e,
17680
17701
  height: o.height,
@@ -17756,12 +17777,12 @@ const Bd = ({
17756
17777
  limit: 0
17757
17778
  }
17758
17779
  ),
17759
- !gw.includes(f) && /* @__PURE__ */ H("span", { children: [
17780
+ !yw.includes(f) && /* @__PURE__ */ H("span", { children: [
17760
17781
  "Unsupported view ",
17761
17782
  f
17762
17783
  ] })
17763
17784
  ] });
17764
- }, vw = ({
17785
+ }, bw = ({
17765
17786
  treeView: t,
17766
17787
  relation: e,
17767
17788
  context: n,
@@ -17824,10 +17845,10 @@ const Bd = ({
17824
17845
  onGetFirstVisibileRowIndex: f,
17825
17846
  onSelectionCheckboxClicked: c
17826
17847
  };
17827
- }, bw = 400, ww = (t, e) => t.filter((n) => {
17848
+ }, ww = 400, Cw = (t, e) => t.filter((n) => {
17828
17849
  const r = e.find((o) => o.id === n.id);
17829
17850
  return r ? JSON.stringify(n.treeValues) !== JSON.stringify(r.treeValues) : !0;
17830
- }), Cw = ({
17851
+ }), xw = ({
17831
17852
  items: t,
17832
17853
  height: e,
17833
17854
  onRowDoubleClick: n,
@@ -17857,7 +17878,7 @@ const Bd = ({
17857
17878
  w.current = t;
17858
17879
  return;
17859
17880
  }
17860
- const $ = ww(t, w.current);
17881
+ const $ = Cw(t, w.current);
17861
17882
  w.current = t, C.current = {}, x.current && (x.current = {}), $.length > 0 && (async () => {
17862
17883
  var N;
17863
17884
  const V = $.filter((L) => L.treeValues).map((L) => L.treeValues);
@@ -17909,7 +17930,7 @@ const Bd = ({
17909
17930
  zs,
17910
17931
  {
17911
17932
  ref: b,
17912
- height: e || bw,
17933
+ height: e || ww,
17913
17934
  columns: P,
17914
17935
  onRequestData: M,
17915
17936
  onRowDoubleClick: n,
@@ -17936,7 +17957,7 @@ const Bd = ({
17936
17957
  }
17937
17958
  }
17938
17959
  );
17939
- }, xw = ({
17960
+ }, Sw = ({
17940
17961
  ooui: t,
17941
17962
  items: e,
17942
17963
  selectedRowKeys: n,
@@ -17949,7 +17970,7 @@ const Bd = ({
17949
17970
  model: r,
17950
17971
  domain: i
17951
17972
  });
17952
- }, Sw = ["form", "tree", "graph"], Tw = (t) => {
17973
+ }, Tw = ["form", "tree", "graph"], _w = (t) => {
17953
17974
  var Me, We, me;
17954
17975
  const e = Q(null), { value: n, onChange: r, ooui: o, views: i } = t, { items: a = [] } = n || {}, d = Ld({ one2manyItems: a }), { currentView: c, setCurrentView: l, itemIndex: f, setItemIndex: u } = Ne(
17955
17976
  Vn
@@ -17974,13 +17995,13 @@ const Bd = ({
17974
17995
  onChangeFirstVisibleRowIndex: R,
17975
17996
  onGetFirstVisibileRowIndex: I,
17976
17997
  onSelectionCheckboxClicked: k
17977
- } = vw({
17998
+ } = bw({
17978
17999
  treeView: i.get("tree"),
17979
18000
  relation: p,
17980
18001
  context: A,
17981
18002
  allRowsIds: d.filter((we) => we.id !== void 0).map((we) => we.id),
17982
18003
  gridRef: e
17983
- }), [, $] = xw({
18004
+ }), [, $] = Sw({
17984
18005
  ooui: D,
17985
18006
  model: p,
17986
18007
  items: d,
@@ -18113,7 +18134,7 @@ const Bd = ({
18113
18134
  }
18114
18135
  ),
18115
18136
  c === "tree" && i.get("tree") && /* @__PURE__ */ s(
18116
- Cw,
18137
+ xw,
18117
18138
  {
18118
18139
  gridRef: e,
18119
18140
  height: o.height,
@@ -18193,12 +18214,12 @@ const Bd = ({
18193
18214
  limit: 0
18194
18215
  }
18195
18216
  ),
18196
- !Sw.includes(c) && /* @__PURE__ */ H("span", { children: [
18217
+ !Tw.includes(c) && /* @__PURE__ */ H("span", { children: [
18197
18218
  "Unsupported view ",
18198
18219
  c
18199
18220
  ] })
18200
18221
  ] });
18201
- }, $a = 30, _w = (t) => {
18222
+ }, $a = 30, Aw = (t) => {
18202
18223
  var F;
18203
18224
  const { ooui: e } = t, { mode: n, relation: r, views: o, required: i, context: a } = e;
18204
18225
  let d;
@@ -18287,7 +18308,7 @@ const Bd = ({
18287
18308
  },
18288
18309
  ...t,
18289
18310
  children: /* @__PURE__ */ s(
18290
- Aw,
18311
+ Iw,
18291
18312
  {
18292
18313
  ooui: e,
18293
18314
  views: m,
@@ -18300,7 +18321,7 @@ const Bd = ({
18300
18321
  )
18301
18322
  }
18302
18323
  ) });
18303
- }, Aw = (t) => {
18324
+ }, Iw = (t) => {
18304
18325
  const { ooui: e, value: n, userTreeTypePreferenceRef: r, onUserSelectTreeType: o } = t, { treeType: i, setTreeType: a } = Fc(), d = St(
18305
18326
  wt.FEATURE_ONE2MANY_ENABLE_NEW_TABLE
18306
18327
  );
@@ -18323,7 +18344,7 @@ const Bd = ({
18323
18344
  return /* @__PURE__ */ s(ct, {});
18324
18345
  if (d)
18325
18346
  return /* @__PURE__ */ s(
18326
- yw,
18347
+ vw,
18327
18348
  {
18328
18349
  ...t,
18329
18350
  treeType: i,
@@ -18331,14 +18352,14 @@ const Bd = ({
18331
18352
  }
18332
18353
  );
18333
18354
  if (i === "infinite")
18334
- return /* @__PURE__ */ s(Tw, { ...t });
18355
+ return /* @__PURE__ */ s(_w, { ...t });
18335
18356
  if (i === "legacy")
18336
- return /* @__PURE__ */ s(uw, { ...t });
18337
- }, { useToken: Iw } = ot, Ew = (t) => {
18357
+ return /* @__PURE__ */ s(fw, { ...t });
18358
+ }, { useToken: Ew } = ot, Rw = (t) => {
18338
18359
  const { ooui: e } = t, { required: n } = e;
18339
- return /* @__PURE__ */ s(tt, { required: n, type: "number", ...t, children: /* @__PURE__ */ s(Rw, { ooui: e }) });
18340
- }, Rw = (t) => {
18341
- const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: i, required: a } = e, { token: d } = Iw(), c = a && !i ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Q(), [f, u] = E(), m = Ne(ft), { elementHasLostFocus: p } = m || {};
18360
+ return /* @__PURE__ */ s(tt, { required: n, type: "number", ...t, children: /* @__PURE__ */ s(Fw, { ooui: e }) });
18361
+ }, Fw = (t) => {
18362
+ const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: i, required: a } = e, { token: d } = Ew(), c = a && !i ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Q(), [f, u] = E(), m = Ne(ft), { elementHasLostFocus: p } = m || {};
18342
18363
  he(() => {
18343
18364
  u(_c(n));
18344
18365
  }, [n]);
@@ -18403,7 +18424,7 @@ function Ud(t) {
18403
18424
  }
18404
18425
  );
18405
18426
  }
18406
- const { TabPane: Fw } = el, Ow = ut(el)`
18427
+ const { TabPane: Ow } = el, Dw = ut(el)`
18407
18428
  .ant-tabs-content-holder {
18408
18429
  border-left: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
18409
18430
  border-right: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
@@ -18423,7 +18444,7 @@ const { TabPane: Fw } = el, Ow = ut(el)`
18423
18444
  margin-bottom: 0 !important;
18424
18445
  }
18425
18446
  `;
18426
- function Dw(t) {
18447
+ function Mw(t) {
18427
18448
  const { ooui: e, responsiveBehaviour: n } = t, r = e.pages, { token: o } = ot.useToken();
18428
18449
  function i(a) {
18429
18450
  if (a) {
@@ -18432,13 +18453,13 @@ function Dw(t) {
18432
18453
  }
18433
18454
  }
18434
18455
  return /* @__PURE__ */ s(
18435
- Ow,
18456
+ Dw,
18436
18457
  {
18437
18458
  defaultActiveKey: "1",
18438
18459
  tabPosition: e.tabPosition,
18439
18460
  $borderRadius: `${o.borderRadius}px`,
18440
18461
  children: r.filter((a) => !a.invisible).map((a) => /* @__PURE__ */ s(
18441
- Fw,
18462
+ Ow,
18442
18463
  {
18443
18464
  tab: /* @__PURE__ */ H(Fe, { children: [
18444
18465
  i(a.icon),
@@ -18459,10 +18480,10 @@ function Dw(t) {
18459
18480
  }
18460
18481
  );
18461
18482
  }
18462
- const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18463
- const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: d } = Mw(), c = o && !r ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Ne(ft), { elementHasLostFocus: f } = l || {};
18483
+ const { useToken: Nw } = ot, { TextArea: ks } = Mt, kw = (t) => {
18484
+ const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: d } = Nw(), c = o && !r ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Ne(ft), { elementHasLostFocus: f } = l || {};
18464
18485
  return /* @__PURE__ */ s(tt, { required: o, ...t, children: a ? /* @__PURE__ */ s(
18465
- kw,
18486
+ $w,
18466
18487
  {
18467
18488
  field: n,
18468
18489
  height: i,
@@ -18482,7 +18503,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18482
18503
  onBlur: f
18483
18504
  }
18484
18505
  ) });
18485
- }, kw = ({
18506
+ }, $w = ({
18486
18507
  value: t,
18487
18508
  field: e,
18488
18509
  requiredStyle: n,
@@ -18572,13 +18593,13 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18572
18593
  }
18573
18594
  ) })
18574
18595
  ] });
18575
- }, $w = (t) => {
18596
+ }, Pw = (t) => {
18576
18597
  const { ooui: e } = t, { label: n, icon: r } = e, o = Lt(r || "");
18577
18598
  return /* @__PURE__ */ s(Gr, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ H(ht, { children: [
18578
18599
  o ? /* @__PURE__ */ s(o, {}) : null,
18579
18600
  n
18580
18601
  ] }) });
18581
- }, Pw = ({
18602
+ }, Lw = ({
18582
18603
  model: t,
18583
18604
  context: e,
18584
18605
  selectedRegistersToExport: n,
@@ -18598,7 +18619,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18598
18619
  ]);
18599
18620
  const { datas: b } = await K.getHandler().exportData({
18600
18621
  model: t,
18601
- fields: Uw({
18622
+ fields: Ww({
18602
18623
  keys: y.selectedKeys,
18603
18624
  fields: a.current
18604
18625
  }),
@@ -18627,7 +18648,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18627
18648
  fields: []
18628
18649
  });
18629
18650
  for (const [w, _] of Object.entries(x))
18630
- x[w].string = Vw({
18651
+ x[w].string = Bw({
18631
18652
  parentTitle: b.string,
18632
18653
  title: _.string
18633
18654
  });
@@ -18638,7 +18659,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18638
18659
  },
18639
18660
  [e]
18640
18661
  ), m = S(async () => {
18641
- const y = await Bw({ model: t, context: e }), v = await jw({
18662
+ const y = await Hw({ model: t, context: e }), v = await Uw({
18642
18663
  predefinedExports: y,
18643
18664
  fields: a.current,
18644
18665
  onGetFieldChilds: u
@@ -18725,7 +18746,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18725
18746
  for (const r of Object.keys(t)) {
18726
18747
  const o = t[r], i = Wd(o), a = o.is_function === !0, d = i && !a;
18727
18748
  n.push({
18728
- key: Lw({ key: r, parentKey: e }),
18749
+ key: Vw({ key: r, parentKey: e }),
18729
18750
  title: o.string,
18730
18751
  tooltip: o.help,
18731
18752
  required: o.required,
@@ -18733,7 +18754,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18733
18754
  });
18734
18755
  }
18735
18756
  return n;
18736
- }, Wd = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", Lw = ({
18757
+ }, Wd = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", Vw = ({
18737
18758
  parentKey: t,
18738
18759
  key: e
18739
18760
  }) => `${t ? t + "/" : ""}${e}`, $s = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), Ps = (t) => {
@@ -18741,10 +18762,10 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18741
18762
  return t;
18742
18763
  const e = t.split("/");
18743
18764
  return e[e.length - 1];
18744
- }, Ls = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[$s(t)], Vw = ({
18765
+ }, Ls = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[$s(t)], Bw = ({
18745
18766
  title: t,
18746
18767
  parentTitle: e
18747
- }) => `${e ? e + " → " : ""}${t}`, Bw = async ({
18768
+ }) => `${e ? e + " → " : ""}${t}`, Hw = async ({
18748
18769
  model: t,
18749
18770
  context: e
18750
18771
  }) => {
@@ -18764,24 +18785,24 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18764
18785
  key: o.find((c) => c.id === a).name
18765
18786
  }))
18766
18787
  }));
18767
- }, Hw = ({
18788
+ }, jw = ({
18768
18789
  fields: t,
18769
18790
  keys: e
18770
- }) => Ww([
18791
+ }) => zw([
18771
18792
  ...new Set(
18772
18793
  e.filter((n) => {
18773
18794
  var r, o;
18774
18795
  return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[$s(n)]) != null && o[n]);
18775
18796
  }).map((n) => $s(n))
18776
18797
  )
18777
- ]), jw = async ({
18798
+ ]), Uw = async ({
18778
18799
  predefinedExports: t,
18779
18800
  fields: e,
18780
18801
  onGetFieldChilds: n
18781
18802
  }) => {
18782
18803
  const r = t.flatMap(
18783
18804
  (a) => a.fields.map((d) => d.key)
18784
- ), o = Hw({
18805
+ ), o = jw({
18785
18806
  fields: e,
18786
18807
  keys: r
18787
18808
  }), i = [];
@@ -18795,13 +18816,13 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18795
18816
  );
18796
18817
  }
18797
18818
  return i;
18798
- }, Uw = ({
18819
+ }, Ww = ({
18799
18820
  keys: t,
18800
18821
  fields: e
18801
18822
  }) => t.map((n) => {
18802
18823
  const r = Ps(n), i = Ls(n, e)[r], a = Wd(i), d = i.is_function === !0;
18803
18824
  return a && !d ? `${n}/id` : n;
18804
- }), Ww = (t) => {
18825
+ }), zw = (t) => {
18805
18826
  const e = /* @__PURE__ */ new Map(), n = [];
18806
18827
  for (const r of t) {
18807
18828
  const o = r.split("/");
@@ -18815,7 +18836,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18815
18836
  const i = r.split("/").length, a = o.split("/").length;
18816
18837
  return i - a;
18817
18838
  }), n;
18818
- }, zw = (t) => {
18839
+ }, Yw = (t) => {
18819
18840
  const {
18820
18841
  visible: e,
18821
18842
  onClose: n,
@@ -18833,7 +18854,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18833
18854
  onGetPredefinedExports: p,
18834
18855
  onSavePredefinedExport: g,
18835
18856
  onRemovePredefinedExport: h
18836
- } = Pw({
18857
+ } = Lw({
18837
18858
  model: r,
18838
18859
  context: o,
18839
18860
  domain: d,
@@ -18857,7 +18878,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18857
18878
  onRemovePredefinedExport: h
18858
18879
  }
18859
18880
  );
18860
- }, Yw = (t) => {
18881
+ }, qw = (t) => {
18861
18882
  const { ooui: e, showTime: n = !1 } = t, { required: r, readOnly: o = !1, timezone: i } = e;
18862
18883
  return St(
18863
18884
  wt.FEATURE_DATE_USE_MASKED_INPUT
@@ -18880,16 +18901,16 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18880
18901
  timezone: i
18881
18902
  }
18882
18903
  ) });
18883
- }, zd = nt(Yw), qw = (t) => {
18904
+ }, zd = nt(qw), Gw = (t) => {
18884
18905
  const { ooui: e } = t;
18885
18906
  return /* @__PURE__ */ s(zd, { ooui: e });
18886
- }, Gw = (t) => {
18887
- const { ooui: e } = t;
18888
- return /* @__PURE__ */ s(zd, { ooui: e, showTime: !0 });
18889
18907
  }, Kw = (t) => {
18890
18908
  const { ooui: e } = t;
18891
- return /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Jw, { ooui: e }) });
18909
+ return /* @__PURE__ */ s(zd, { ooui: e, showTime: !0 });
18892
18910
  }, Jw = (t) => {
18911
+ const { ooui: e } = t;
18912
+ return /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Qw, { ooui: e }) });
18913
+ }, Qw = (t) => {
18893
18914
  const { readOnly: e, required: n } = t.ooui, r = St(
18894
18915
  wt.FEATURE_DATE_USE_MASKED_INPUT
18895
18916
  ), o = (a) => {
@@ -18915,10 +18936,10 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18915
18936
  disabled: e
18916
18937
  }
18917
18938
  );
18918
- }, Qw = (t) => {
18919
- const { ooui: e } = t, { required: n } = e;
18920
- return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(Xw, { ooui: e }) });
18921
18939
  }, Xw = (t) => {
18940
+ const { ooui: e } = t, { required: n } = e;
18941
+ return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(Zw, { ooui: e }) });
18942
+ }, Zw = (t) => {
18922
18943
  const { value: e, onChange: n, ooui: r } = t, { required: o, selectionValues: i, readOnly: a, domain: d } = r, c = e == null ? void 0 : e.split(","), [l, f] = E([]), [u, m] = E();
18923
18944
  return he(() => {
18924
18945
  if (!e) {
@@ -18966,11 +18987,11 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
18966
18987
  }
18967
18988
  ) })
18968
18989
  ] });
18969
- }, { useToken: Zw } = ot, e0 = (t) => {
18990
+ }, { useToken: e0 } = ot, t0 = (t) => {
18970
18991
  const { ooui: e } = t, { required: n } = e;
18971
- return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(t0, { ooui: e }) });
18972
- }, t0 = (t) => {
18973
- const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: i, filenameField: a } = e, { token: d } = Zw(), c = i && !o ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Q(null), { setFieldValue: f, getFieldValue: u } = Ne(ft) || {}, { t: m } = De(), p = n ? Dm(n) : "", g = (C) => {
18992
+ return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(n0, { ooui: e }) });
18993
+ }, n0 = (t) => {
18994
+ const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: i, filenameField: a } = e, { token: d } = e0(), c = i && !o ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Q(null), { setFieldValue: f, getFieldValue: u } = Ne(ft) || {}, { t: m } = De(), p = n ? Dm(n) : "", g = (C) => {
18974
18995
  r == null || r(C);
18975
18996
  };
18976
18997
  async function h() {
@@ -19044,7 +19065,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
19044
19065
  )
19045
19066
  ] }) })
19046
19067
  ] });
19047
- }, n0 = (t) => {
19068
+ }, r0 = (t) => {
19048
19069
  const {
19049
19070
  numberOfAttachments: e,
19050
19071
  attachments: n = [],
@@ -19142,7 +19163,7 @@ const { useToken: Mw } = ot, { TextArea: ks } = Mt, Nw = (t) => {
19142
19163
  }
19143
19164
  );
19144
19165
  };
19145
- function r0(t) {
19166
+ function o0(t) {
19146
19167
  const {
19147
19168
  attachments: e,
19148
19169
  disabled: n = !1,
@@ -19204,7 +19225,7 @@ function r0(t) {
19204
19225
  p();
19205
19226
  }, []), /* @__PURE__ */ H(Fe, { children: [
19206
19227
  /* @__PURE__ */ s(
19207
- n0,
19228
+ r0,
19208
19229
  {
19209
19230
  numberOfAttachments: e.length,
19210
19231
  attachments: d,
@@ -19229,7 +19250,7 @@ function r0(t) {
19229
19250
  )
19230
19251
  ] });
19231
19252
  }
19232
- const o0 = (t) => {
19253
+ const s0 = (t) => {
19233
19254
  const { disabled: e, commentCount: n, onClick: r } = t, { t: o } = De();
19234
19255
  return /* @__PURE__ */ H(
19235
19256
  Nt,
@@ -19249,7 +19270,7 @@ const o0 = (t) => {
19249
19270
  ]
19250
19271
  }
19251
19272
  );
19252
- }, s0 = nt(o0), i0 = () => {
19273
+ }, i0 = nt(s0), a0 = () => {
19253
19274
  const {
19254
19275
  treeType: t,
19255
19276
  totalItems: e = 0,
@@ -19333,12 +19354,12 @@ const o0 = (t) => {
19333
19354
  shouldDisableNavigation: y()
19334
19355
  };
19335
19356
  };
19336
- function a0({ toolbar: t }) {
19357
+ function l0({ toolbar: t }) {
19337
19358
  const e = Ne(
19338
19359
  Cn
19339
19360
  ), { t: n } = De(), r = rn(
19340
19361
  kt.FEATURE_COMMENTS_SYSTEM
19341
- ), { onNextClick: o, onPreviousClick: i, shouldDisableNavigation: a } = i0(), { showErrorNotification: d } = Et(), {
19362
+ ), { onNextClick: o, onPreviousClick: i, shouldDisableNavigation: a } = a0(), { showErrorNotification: d } = Et(), {
19342
19363
  availableViews: c,
19343
19364
  currentView: l,
19344
19365
  setCurrentView: f,
@@ -19594,7 +19615,7 @@ function a0({ toolbar: t }) {
19594
19615
  /* @__PURE__ */ s(An, { icon: /* @__PURE__ */ s(ko, {}), ...ne }),
19595
19616
  /* @__PURE__ */ s(An, { icon: /* @__PURE__ */ s($o, {}), ...te }),
19596
19617
  /* @__PURE__ */ s(
19597
- r0,
19618
+ o0,
19598
19619
  {
19599
19620
  disabled: L,
19600
19621
  attachments: D,
@@ -19604,7 +19625,7 @@ function a0({ toolbar: t }) {
19604
19625
  }
19605
19626
  ),
19606
19627
  r && /* @__PURE__ */ s(
19607
- s0,
19628
+ i0,
19608
19629
  {
19609
19630
  disabled: L || g === void 0,
19610
19631
  commentCount: V ?? 0,
@@ -19615,7 +19636,7 @@ function a0({ toolbar: t }) {
19615
19636
  /* @__PURE__ */ s(zo, { res_id: g })
19616
19637
  ] }) : null;
19617
19638
  }
19618
- const l0 = nt(a0), Yd = nt(
19639
+ const c0 = nt(l0), Yd = nt(
19619
19640
  ({
19620
19641
  disabled: t,
19621
19642
  onPreviousClick: e,
@@ -19654,8 +19675,8 @@ const La = (t, e) => ({
19654
19675
  ],
19655
19676
  values: { selection_associated_object: `${t},${e}` },
19656
19677
  forced_values: { res_model: t, res_id: e }
19657
- }), { useToken: c0 } = ot, qd = (t) => {
19658
- const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: i = "" } = t, { id: a, readOnly: d, required: c } = e, { token: l } = c0(), f = c && !d ? { backgroundColor: l.colorPrimaryBg } : void 0, u = Ne(ft), { elementHasLostFocus: m } = u || {}, [p, g] = E(!1), [h, y] = E(!1);
19678
+ }), { useToken: d0 } = ot, qd = (t) => {
19679
+ const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: i = "" } = t, { id: a, readOnly: d, required: c } = e, { token: l } = d0(), f = c && !d ? { backgroundColor: l.colorPrimaryBg } : void 0, u = Ne(ft), { elementHasLostFocus: m } = u || {}, [p, g] = E(!1), [h, y] = E(!1);
19659
19680
  he(() => {
19660
19681
  d && !p && y(!1), !n && !d && (g(!0), y(!0));
19661
19682
  }, [p, d]);
@@ -19710,7 +19731,7 @@ const La = (t, e) => ({
19710
19731
  }
19711
19732
  ) })
19712
19733
  ] });
19713
- }, d0 = (t) => {
19734
+ }, u0 = (t) => {
19714
19735
  const { ooui: e } = t, { required: n } = e;
19715
19736
  return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(
19716
19737
  qd,
@@ -19719,7 +19740,7 @@ const La = (t, e) => ({
19719
19740
  valueValidator: (r) => r ? uf(r) : !1
19720
19741
  }
19721
19742
  ) });
19722
- }, u0 = (t) => {
19743
+ }, f0 = (t) => {
19723
19744
  const { ooui: e } = t, { required: n } = e;
19724
19745
  return /* @__PURE__ */ s(tt, { required: n, ...t, children: e.multi ? /* @__PURE__ */ s(Ch, { readonly: e.readOnly, maxLength: e.size }) : /* @__PURE__ */ s(
19725
19746
  qd,
@@ -19729,7 +19750,7 @@ const La = (t, e) => ({
19729
19750
  valueValidator: (r) => r ? ff(r, { allow_display_name: !0 }) : !1
19730
19751
  }
19731
19752
  ) });
19732
- }, f0 = (t) => {
19753
+ }, m0 = (t) => {
19733
19754
  const { visible: e, onIdSubmitted: n, onCancel: r, isSearching: o } = t, { t: i } = De(), a = Q(null), d = Q(!1);
19734
19755
  function c(l) {
19735
19756
  const f = l.id.split(",").map((u) => an(u.trim())).filter(
@@ -19814,7 +19835,7 @@ const La = (t, e) => ({
19814
19835
  }
19815
19836
  );
19816
19837
  };
19817
- function m0({ refreshGraph: t }) {
19838
+ function p0({ refreshGraph: t }) {
19818
19839
  const { t: e } = De(), {
19819
19840
  availableViews: n,
19820
19841
  currentView: r,
@@ -19873,10 +19894,10 @@ function m0({ refreshGraph: t }) {
19873
19894
  /* @__PURE__ */ s(zo, { searchParams: i })
19874
19895
  ] });
19875
19896
  }
19876
- const p0 = {
19897
+ const h0 = {
19877
19898
  height: "calc(100vh - 80px - 102px)",
19878
19899
  overflow: "auto"
19879
- }, h0 = (t) => {
19900
+ }, g0 = (t) => {
19880
19901
  const {
19881
19902
  viewData: e,
19882
19903
  visible: n,
@@ -20001,14 +20022,14 @@ const p0 = {
20001
20022
  const oe = f ? vi : Xn;
20002
20023
  return /* @__PURE__ */ H(Fe, { children: [
20003
20024
  /* @__PURE__ */ s(no, { title: e.title || e.name, children: /* @__PURE__ */ s(
20004
- m0,
20025
+ p0,
20005
20026
  {
20006
20027
  refreshGraph: () => {
20007
20028
  z();
20008
20029
  }
20009
20030
  }
20010
20031
  ) }),
20011
- /* @__PURE__ */ H("div", { style: p0, children: [
20032
+ /* @__PURE__ */ H("div", { style: h0, children: [
20012
20033
  /* @__PURE__ */ s(
20013
20034
  Jo,
20014
20035
  {
@@ -20047,8 +20068,8 @@ const p0 = {
20047
20068
  )
20048
20069
  ] })
20049
20070
  ] });
20050
- }, g0 = (t) => t ? t.split(" ").filter((e) => e.length > 1).slice(0, 2).map((e) => e[0].toUpperCase()).join("") : "?", y0 = (t) => {
20051
- const { userName: e, style: n, ...r } = t, o = J(() => g0(e), [e]), i = J(
20071
+ }, y0 = (t) => t ? t.split(" ").filter((e) => e.length > 1).slice(0, 2).map((e) => e[0].toUpperCase()).join("") : "?", v0 = (t) => {
20072
+ const { userName: e, style: n, ...r } = t, o = J(() => y0(e), [e]), i = J(
20052
20073
  () => _r(e || ""),
20053
20074
  [e]
20054
20075
  ), a = J(
@@ -20059,24 +20080,24 @@ const p0 = {
20059
20080
  [i, n]
20060
20081
  );
20061
20082
  return /* @__PURE__ */ s(Fo, { ...r, style: a, "aria-label": e, children: o });
20062
- }, Ro = nt(y0), { Text: Va } = Jt, { useToken: v0 } = ot, b0 = {
20083
+ }, Ro = nt(v0), { Text: Va } = Jt, { useToken: b0 } = ot, w0 = {
20063
20084
  display: "flex",
20064
20085
  alignItems: "flex-start",
20065
20086
  justifyContent: "space-between",
20066
20087
  gap: 12
20067
- }, w0 = {
20088
+ }, C0 = {
20068
20089
  flex: 1,
20069
20090
  minWidth: 0
20070
- }, C0 = {
20091
+ }, x0 = {
20071
20092
  display: "flex",
20072
20093
  alignItems: "center",
20073
20094
  gap: 8,
20074
20095
  marginTop: 12
20075
- }, x0 = {
20096
+ }, S0 = {
20076
20097
  fontSize: 12,
20077
20098
  fontWeight: 600,
20078
20099
  flexShrink: 0
20079
- }, S0 = ({
20100
+ }, T0 = ({
20080
20101
  participants: t,
20081
20102
  isParticipant: e,
20082
20103
  isMuted: n,
@@ -20084,7 +20105,7 @@ const p0 = {
20084
20105
  updating: o,
20085
20106
  onToggleMute: i
20086
20107
  }) => {
20087
- const { token: a } = v0(), { t: d } = De(), c = J(
20108
+ const { token: a } = b0(), { t: d } = De(), c = J(
20088
20109
  () => ({
20089
20110
  padding: "12px 16px",
20090
20111
  borderBottom: `1px solid ${a.colorBorder}`,
@@ -20114,8 +20135,8 @@ const p0 = {
20114
20135
  children: /* @__PURE__ */ s(ct, { size: "small" })
20115
20136
  }
20116
20137
  ) : /* @__PURE__ */ s(It, { children: /* @__PURE__ */ H("div", { style: c, children: [
20117
- /* @__PURE__ */ H("div", { style: b0, children: [
20118
- /* @__PURE__ */ s("div", { style: w0, children: /* @__PURE__ */ s(Va, { style: l, children: u }) }),
20138
+ /* @__PURE__ */ H("div", { style: w0, children: [
20139
+ /* @__PURE__ */ s("div", { style: C0, children: /* @__PURE__ */ s(Va, { style: l, children: u }) }),
20119
20140
  /* @__PURE__ */ s(
20120
20141
  Pt,
20121
20142
  {
@@ -20133,8 +20154,8 @@ const p0 = {
20133
20154
  }
20134
20155
  )
20135
20156
  ] }),
20136
- t.length > 0 && /* @__PURE__ */ H("div", { style: C0, children: [
20137
- /* @__PURE__ */ s(Va, { style: x0, children: d("participants") + ":" }),
20157
+ t.length > 0 && /* @__PURE__ */ H("div", { style: x0, children: [
20158
+ /* @__PURE__ */ s(Va, { style: S0, children: d("participants") + ":" }),
20138
20159
  /* @__PURE__ */ s(
20139
20160
  Fo.Group,
20140
20161
  {
@@ -20145,22 +20166,22 @@ const p0 = {
20145
20166
  )
20146
20167
  ] })
20147
20168
  ] }) });
20148
- }, T0 = nt(S0), { useToken: _0 } = ot, A0 = {
20169
+ }, _0 = nt(T0), { useToken: A0 } = ot, I0 = {
20149
20170
  display: "flex",
20150
20171
  flexDirection: "column",
20151
20172
  alignItems: "flex-end",
20152
20173
  marginBottom: 8
20153
- }, I0 = {
20174
+ }, E0 = {
20154
20175
  display: "flex",
20155
20176
  alignItems: "center",
20156
20177
  gap: 8,
20157
20178
  justifyContent: "flex-end",
20158
20179
  marginRight: 28
20159
- }, Ba = { fontSize: 12 }, E0 = ({
20180
+ }, Ba = { fontSize: 12 }, R0 = ({
20160
20181
  pending: t,
20161
20182
  onRetry: e
20162
20183
  }) => {
20163
- const { token: n } = _0(), { t: r } = De(), o = t.status === "sending", i = t.status === "failed", a = J(
20184
+ const { token: n } = A0(), { t: r } = De(), o = t.status === "sending", i = t.status === "failed", a = J(
20164
20185
  () => ({
20165
20186
  backgroundColor: i ? `${n.colorError}15` : n.colorPrimaryBg,
20166
20187
  padding: "8px 12px",
@@ -20200,7 +20221,7 @@ const p0 = {
20200
20221
  ), f = S(() => {
20201
20222
  e(t.tempId);
20202
20223
  }, [e, t.tempId]);
20203
- return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s("div", { style: A0, children: /* @__PURE__ */ H("div", { style: I0, children: [
20224
+ return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s("div", { style: I0, children: /* @__PURE__ */ H("div", { style: E0, children: [
20204
20225
  /* @__PURE__ */ H("div", { style: d, children: [
20205
20226
  o && /* @__PURE__ */ H(Fe, { children: [
20206
20227
  /* @__PURE__ */ s(Zt, { spin: !0, style: Ba }),
@@ -20223,7 +20244,7 @@ const p0 = {
20223
20244
  ] }),
20224
20245
  /* @__PURE__ */ s("div", { style: a, children: /* @__PURE__ */ s("div", { style: l, children: t.body }) })
20225
20246
  ] }) }) });
20226
- }, R0 = nt(E0), F0 = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(xi, {}) }), O0 = (t) => t.replace(/@(\p{L}[\p{L}\p{N}_]*)/gu, "**@$1**"), xi = zt(
20247
+ }, F0 = nt(R0), O0 = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(xi, {}) }), D0 = (t) => t.replace(/@(\p{L}[\p{L}\p{N}_]*)/gu, "**@$1**"), xi = zt(
20227
20248
  (t, e) => {
20228
20249
  const {
20229
20250
  value: n = "",
@@ -20313,17 +20334,17 @@ const p0 = {
20313
20334
  remarkPlugins: [pf],
20314
20335
  className: d,
20315
20336
  components: g,
20316
- children: O0(c || "")
20337
+ children: D0(c || "")
20317
20338
  }
20318
20339
  ) }) });
20319
20340
  }
20320
20341
  );
20321
20342
  xi.displayName = "MarkdownInput";
20322
- const D0 = {
20343
+ const M0 = {
20323
20344
  margin: 0
20324
- }, M0 = {
20325
- p: ({ children: t }) => /* @__PURE__ */ s("p", { style: D0, children: t })
20326
- }, N0 = ({
20345
+ }, N0 = {
20346
+ p: ({ children: t }) => /* @__PURE__ */ s("p", { style: M0, children: t })
20347
+ }, k0 = ({
20327
20348
  comment: t,
20328
20349
  model: e,
20329
20350
  resourceId: n
@@ -20337,19 +20358,19 @@ const D0 = {
20337
20358
  xi,
20338
20359
  {
20339
20360
  value: t.body,
20340
- components: M0,
20361
+ components: N0,
20341
20362
  className: ""
20342
20363
  }
20343
20364
  )
20344
20365
  }
20345
- ) }) }), { Text: mo } = Jt, { useToken: k0 } = ot, $0 = {
20366
+ ) }) }), { Text: mo } = Jt, { useToken: $0 } = ot, P0 = {
20346
20367
  display: "flex",
20347
20368
  alignItems: "center",
20348
20369
  gap: 12,
20349
20370
  marginTop: 16,
20350
20371
  marginBottom: 12,
20351
20372
  width: "100%"
20352
- }, P0 = {
20373
+ }, L0 = {
20353
20374
  display: "flex",
20354
20375
  alignItems: "center",
20355
20376
  gap: 8
@@ -20368,7 +20389,7 @@ const D0 = {
20368
20389
  skipSeparator: d = !1,
20369
20390
  onDeleteComment: c
20370
20391
  }) => {
20371
- const { token: l } = k0(), { t: f } = De(), [u, m] = E(!1), [p, g] = E(!1), h = t["create_uid.name"], y = it(t.create_date).format(
20392
+ const { token: l } = $0(), { t: f } = De(), [u, m] = E(!1), [p, g] = E(!1), h = t["create_uid.name"], y = it(t.create_date).format(
20372
20393
  "HH:mm · DD/MM/YYYY"
20373
20394
  ), v = it(t.create_date).format("HH:mm"), b = J(
20374
20395
  () => ({
@@ -20481,7 +20502,7 @@ const D0 = {
20481
20502
  c == null || c(t.id);
20482
20503
  }
20483
20504
  });
20484
- }, [f, c, t.id]), $ = /* @__PURE__ */ s("div", { style: P0, children: e ? /* @__PURE__ */ H(Fe, { children: [
20505
+ }, [f, c, t.id]), $ = /* @__PURE__ */ s("div", { style: L0, children: e ? /* @__PURE__ */ H(Fe, { children: [
20485
20506
  /* @__PURE__ */ s(mo, { style: Ha, children: h }),
20486
20507
  /* @__PURE__ */ s(
20487
20508
  Ro,
@@ -20503,7 +20524,7 @@ const D0 = {
20503
20524
  /* @__PURE__ */ s(mo, { style: Ha, children: h })
20504
20525
  ] }) }), j = /* @__PURE__ */ s(Pt, { title: y, children: /* @__PURE__ */ s(mo, { style: O, children: v }) });
20505
20526
  return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ H(Fe, { children: [
20506
- r && o && /* @__PURE__ */ H("div", { style: $0, children: [
20527
+ r && o && /* @__PURE__ */ H("div", { style: P0, children: [
20507
20528
  /* @__PURE__ */ s("div", { style: x }),
20508
20529
  /* @__PURE__ */ s(mo, { style: w, children: o }),
20509
20530
  /* @__PURE__ */ s("div", { style: x })
@@ -20533,7 +20554,7 @@ const D0 = {
20533
20554
  /* @__PURE__ */ H("div", { style: A, children: [
20534
20555
  e && j,
20535
20556
  /* @__PURE__ */ s("div", { style: T, children: /* @__PURE__ */ s(
20536
- N0,
20557
+ k0,
20537
20558
  {
20538
20559
  comment: t,
20539
20560
  model: i,
@@ -20550,7 +20571,7 @@ const D0 = {
20550
20571
  }
20551
20572
  );
20552
20573
  Gd.displayName = "MessageBubble";
20553
- const { useToken: L0 } = ot, V0 = {
20574
+ const { useToken: V0 } = ot, B0 = {
20554
20575
  display: "flex",
20555
20576
  alignItems: "center",
20556
20577
  gap: 12,
@@ -20559,7 +20580,7 @@ const { useToken: L0 } = ot, V0 = {
20559
20580
  width: "100%"
20560
20581
  }, Kd = zt(
20561
20582
  (t, e) => {
20562
- const { label: n } = t, { token: r } = L0(), o = J(
20583
+ const { label: n } = t, { token: r } = V0(), o = J(
20563
20584
  () => ({
20564
20585
  flex: 1,
20565
20586
  height: 2,
@@ -20580,7 +20601,7 @@ const { useToken: L0 } = ot, V0 = {
20580
20601
  "div",
20581
20602
  {
20582
20603
  ref: e,
20583
- style: V0,
20604
+ style: B0,
20584
20605
  role: "separator",
20585
20606
  "aria-label": n,
20586
20607
  children: [
@@ -20593,19 +20614,19 @@ const { useToken: L0 } = ot, V0 = {
20593
20614
  }
20594
20615
  );
20595
20616
  Kd.displayName = "UnreadDivider";
20596
- const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t) => t.charAt(0).toUpperCase() + t.slice(1), z0 = (t) => W0(it(t).calendar()), Vs = 450, ja = 8, Y0 = { minRows: 1, maxRows: 4 }, Ua = {
20617
+ const H0 = nt(Kd), { Title: j0, Text: U0 } = Jt, { useToken: W0 } = ot, z0 = (t) => t.charAt(0).toUpperCase() + t.slice(1), Y0 = (t) => z0(it(t).calendar()), Vs = 450, ja = 8, q0 = { minRows: 1, maxRows: 4 }, Ua = {
20597
20618
  display: "flex",
20598
20619
  justifyContent: "center",
20599
20620
  alignItems: "center",
20600
20621
  flex: 1
20601
- }, q0 = {
20622
+ }, G0 = {
20602
20623
  display: "flex",
20603
20624
  flexDirection: "column"
20604
- }, G0 = { margin: 0 }, K0 = {
20625
+ }, K0 = { margin: 0 }, J0 = {
20605
20626
  display: "flex",
20606
20627
  alignItems: "center",
20607
20628
  gap: 4
20608
- }, J0 = (t) => {
20629
+ }, Q0 = (t) => {
20609
20630
  const {
20610
20631
  visible: e,
20611
20632
  comments: n,
@@ -20627,7 +20648,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20627
20648
  onToggleMute: b,
20628
20649
  lastMessageRead: C,
20629
20650
  onMarkAsRead: x
20630
- } = t, { token: w } = U0(), { t: _ } = De(), [T, A] = E(""), [O, D] = E([]), [P, M] = E(e), [F, R] = E([]), [I, k] = E(!1), [$, j] = E(!1), [X, V] = E(!1), [B, N] = E(!1), [L, U] = E(!1), [z, G] = E(!1), ne = Q(null), te = Q(null), ye = Q(!1), de = Q(null), ie = Q(/* @__PURE__ */ new Map()), se = Q(null), oe = Q(r), re = Q(null), W = n.length > 0 ? n[0].id : null, ue = C !== void 0, ae = J(
20651
+ } = t, { token: w } = W0(), { t: _ } = De(), [T, A] = E(""), [O, D] = E([]), [P, M] = E(e), [F, R] = E([]), [I, k] = E(!1), [$, j] = E(!1), [X, V] = E(!1), [B, N] = E(!1), [L, U] = E(!1), [z, G] = E(!1), ne = Q(null), te = Q(null), ye = Q(!1), de = Q(null), ie = Q(/* @__PURE__ */ new Map()), se = Q(null), oe = Q(r), re = Q(null), W = n.length > 0 ? n[0].id : null, ue = C !== void 0, ae = J(
20631
20652
  () => O.some((Y) => Y.status === "sending"),
20632
20653
  [O]
20633
20654
  ), fe = J(() => {
@@ -20690,7 +20711,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20690
20711
  label: /* @__PURE__ */ H("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
20691
20712
  /* @__PURE__ */ s(Ro, { userName: Y.name, size: 24 }),
20692
20713
  /* @__PURE__ */ s("span", { children: Y.name }),
20693
- /* @__PURE__ */ H(j0, { type: "secondary", style: { fontSize: 12 }, children: [
20714
+ /* @__PURE__ */ H(U0, { type: "secondary", style: { fontSize: 12 }, children: [
20694
20715
  "@",
20695
20716
  Y.login
20696
20717
  ] })
@@ -20818,8 +20839,8 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20818
20839
  style: Ee,
20819
20840
  children: [
20820
20841
  /* @__PURE__ */ s(It, { children: /* @__PURE__ */ H("div", { style: pe, children: [
20821
- /* @__PURE__ */ H("div", { style: K0, children: [
20822
- /* @__PURE__ */ s(H0, { level: 5, style: G0, children: _("comments") }),
20842
+ /* @__PURE__ */ H("div", { style: J0, children: [
20843
+ /* @__PURE__ */ s(j0, { level: 5, style: K0, children: _("comments") }),
20823
20844
  /* @__PURE__ */ s(Pt, { title: _("refresh"), children: /* @__PURE__ */ s(
20824
20845
  Ke,
20825
20846
  {
@@ -20843,7 +20864,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20843
20864
  )
20844
20865
  ] }) }),
20845
20866
  b && /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
20846
- T0,
20867
+ _0,
20847
20868
  {
20848
20869
  participants: p,
20849
20870
  isParticipant: h,
@@ -20859,7 +20880,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20859
20880
  description: _("noComments"),
20860
20881
  image: pr.PRESENTED_IMAGE_SIMPLE
20861
20882
  }
20862
- ) }) : /* @__PURE__ */ H("div", { style: q0, children: [
20883
+ ) }) : /* @__PURE__ */ H("div", { style: G0, children: [
20863
20884
  [...n].reverse().map((Y, ve, Z) => {
20864
20885
  const q = ve > 0 ? Z[ve - 1] : null, ee = !q || q.create_uid !== Y.create_uid, le = !q || !it(q.create_date).isSame(
20865
20886
  it(Y.create_date),
@@ -20874,7 +20895,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20874
20895
  },
20875
20896
  children: [
20876
20897
  Ce && /* @__PURE__ */ s(
20877
- B0,
20898
+ H0,
20878
20899
  {
20879
20900
  ref: Ve,
20880
20901
  label: _("newMessages")
@@ -20887,7 +20908,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20887
20908
  isOwnMessage: Y.create_uid === u,
20888
20909
  isFirstInGroup: ee || le,
20889
20910
  isFirstOfDay: le,
20890
- dayLabel: le ? z0(Y.create_date) : void 0,
20911
+ dayLabel: le ? Y0(Y.create_date) : void 0,
20891
20912
  model: o,
20892
20913
  resourceId: i,
20893
20914
  skipSeparator: Ce,
@@ -20900,7 +20921,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20900
20921
  );
20901
20922
  }),
20902
20923
  O.map((Y) => /* @__PURE__ */ s(
20903
- R0,
20924
+ F0,
20904
20925
  {
20905
20926
  pending: Y,
20906
20927
  onRetry: Le
@@ -20931,7 +20952,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20931
20952
  filterOption: !1,
20932
20953
  notFoundContent: I ? /* @__PURE__ */ s(ct, { size: "small" }) : _("noMatches"),
20933
20954
  placeholder: _("writeComment"),
20934
- autoSize: Y0,
20955
+ autoSize: q0,
20935
20956
  style: { flex: 1 }
20936
20957
  }
20937
20958
  ),
@@ -20951,7 +20972,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
20951
20972
  ]
20952
20973
  }
20953
20974
  ) }) : null;
20954
- }, Q0 = nt(J0), X0 = (t) => {
20975
+ }, X0 = nt(Q0), Z0 = (t) => {
20955
20976
  const { model: e, resourceId: n, context: r } = t, [o, i] = E([]), [a, d] = E([]), [c, l] = E(null), [f, u] = E(!1), [m, p] = ke(
20956
20977
  K.getHandler().rawExecute
20957
20978
  ), g = Q(n), h = S(() => {
@@ -21052,7 +21073,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21052
21073
  cancelRequest: p,
21053
21074
  commentCount: o.length
21054
21075
  };
21055
- }, Z0 = (t) => {
21076
+ }, eC = (t) => {
21056
21077
  const { model: e, resourceId: n, userStatus: r, context: o } = t, [i, a] = E(!1), [d, c] = E(null), [l, f] = ke(
21057
21078
  K.getHandler().rawExecute
21058
21079
  ), u = (r == null ? void 0 : r.is_participant) ?? !1, m = (r == null ? void 0 : r.is_muted) ?? !1, p = (d == null ? void 0 : d.isParticipant) ?? u, g = (d == null ? void 0 : d.isMuted) ?? m;
@@ -21095,7 +21116,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21095
21116
  toggleMute: h,
21096
21117
  cancelRequest: f
21097
21118
  };
21098
- }, { useToken: eC } = ot, tC = (t) => {
21119
+ }, { useToken: tC } = ot, nC = (t) => {
21099
21120
  const {
21100
21121
  visible: e,
21101
21122
  formRef: n,
@@ -21116,7 +21137,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21116
21137
  setCommentCount: y,
21117
21138
  setRefreshComments: v,
21118
21139
  permissions: b
21119
- } = Yt(), { globalValues: C } = on(), { token: x } = eC(), w = rn(
21140
+ } = Yt(), { globalValues: C } = on(), { token: x } = tC(), w = rn(
21120
21141
  kt.FEATURE_COMMENTS_SYSTEM
21121
21142
  ), {
21122
21143
  comments: _,
@@ -21128,7 +21149,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21128
21149
  deleteComment: M,
21129
21150
  fetchMentionUsers: F,
21130
21151
  markAsRead: R
21131
- } = X0({
21152
+ } = Z0({
21132
21153
  model: r,
21133
21154
  resourceId: o,
21134
21155
  context: d
@@ -21137,7 +21158,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21137
21158
  isMuted: k,
21138
21159
  updating: $,
21139
21160
  toggleMute: j
21140
- } = Z0({
21161
+ } = eC({
21141
21162
  model: r,
21142
21163
  resourceId: o,
21143
21164
  userStatus: A,
@@ -21206,7 +21227,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21206
21227
  ]
21207
21228
  );
21208
21229
  return e ? /* @__PURE__ */ H("div", { style: N, children: [
21209
- /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(l0, { toolbar: a == null ? void 0 : a.toolbar }) }),
21230
+ /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(c0, { toolbar: a == null ? void 0 : a.toolbar }) }),
21210
21231
  /* @__PURE__ */ H("div", { style: L, children: [
21211
21232
  /* @__PURE__ */ s("div", { style: U, children: /* @__PURE__ */ s(
21212
21233
  Fr,
@@ -21225,7 +21246,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21225
21246
  }
21226
21247
  ) }),
21227
21248
  w && o !== void 0 && /* @__PURE__ */ s(
21228
- Q0,
21249
+ X0,
21229
21250
  {
21230
21251
  visible: g ?? !1,
21231
21252
  comments: _,
@@ -21251,7 +21272,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21251
21272
  )
21252
21273
  ] })
21253
21274
  ] }) : null;
21254
- }, Si = mn.createContext(null), nC = (t) => {
21275
+ }, Si = mn.createContext(null), rC = (t) => {
21255
21276
  const [e, n] = E(!1), [r, o] = E(!1), { children: i, dashboardRef: a, openAction: d } = t;
21256
21277
  return /* @__PURE__ */ s(
21257
21278
  Si.Provider,
@@ -21268,7 +21289,7 @@ const B0 = nt(Kd), { Title: H0, Text: j0 } = Jt, { useToken: U0 } = ot, W0 = (t)
21268
21289
  }
21269
21290
  );
21270
21291
  };
21271
- function rC() {
21292
+ function oC() {
21272
21293
  const { isLoading: t, dashboardRef: e, moveItemsEnabled: n, setMoveItemsEnabled: r } = Ne(Si), { permissions: o } = Yt(), { t: i } = De();
21273
21294
  return /* @__PURE__ */ H(ht, { wrap: !0, children: [
21274
21295
  (o == null ? void 0 : o.write) && /* @__PURE__ */ s(
@@ -21318,24 +21339,24 @@ function rC() {
21318
21339
  /* @__PURE__ */ s(zo, {})
21319
21340
  ] });
21320
21341
  }
21321
- const oC = {
21342
+ const sC = {
21322
21343
  height: "calc(100vh - 80px - 102px)",
21323
21344
  overflow: "auto"
21324
- }, sC = (t) => {
21345
+ }, iC = (t) => {
21325
21346
  const { dashboardData: e, visible: n } = t, r = Q(), o = Ne(
21326
21347
  Cn
21327
21348
  ), { openShortcut: i } = o || {};
21328
21349
  return !e || !n ? null : /* @__PURE__ */ H(
21329
- nC,
21350
+ rC,
21330
21351
  {
21331
21352
  dashboardRef: r,
21332
21353
  openAction: (a) => {
21333
21354
  i(a);
21334
21355
  },
21335
21356
  children: [
21336
- /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(rC, {}) }),
21337
- /* @__PURE__ */ s("div", { style: oC, children: /* @__PURE__ */ s(
21338
- GC,
21357
+ /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(oC, {}) }),
21358
+ /* @__PURE__ */ s("div", { style: sC, children: /* @__PURE__ */ s(
21359
+ KC,
21339
21360
  {
21340
21361
  ref: r,
21341
21362
  model: e.model,
@@ -21378,7 +21399,7 @@ function Jd({
21378
21399
  [a, t, e, n, r, o]
21379
21400
  ) };
21380
21401
  }
21381
- const iC = ({
21402
+ const aC = ({
21382
21403
  value: t,
21383
21404
  decimalDigits: e
21384
21405
  }) => {
@@ -21388,7 +21409,7 @@ const iC = ({
21388
21409
  decimalDigits: e
21389
21410
  });
21390
21411
  return /* @__PURE__ */ s(Fe, { children: n(t) });
21391
- }, aC = ({
21412
+ }, lC = ({
21392
21413
  value: t
21393
21414
  }) => {
21394
21415
  const e = Ir({
@@ -21397,31 +21418,31 @@ const iC = ({
21397
21418
  localized: !0
21398
21419
  });
21399
21420
  return /* @__PURE__ */ s(Fe, { children: e(t) });
21400
- }, lC = ({
21421
+ }, cC = ({
21401
21422
  value: t,
21402
21423
  ooui: e
21403
21424
  }) => {
21404
21425
  var r;
21405
21426
  const n = ((r = e == null ? void 0 : e.parsedWidgetProps) == null ? void 0 : r.localized) ?? !1;
21406
21427
  return J(
21407
- () => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(iC, { value: t, decimalDigits: e == null ? void 0 : e.decimalDigits }) : t }),
21428
+ () => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(aC, { value: t, decimalDigits: e == null ? void 0 : e.decimalDigits }) : t }),
21408
21429
  [n, t, e == null ? void 0 : e.decimalDigits]
21409
21430
  );
21410
- }, cC = ({
21431
+ }, dC = ({
21411
21432
  value: t,
21412
21433
  ooui: e
21413
21434
  }) => {
21414
21435
  var r;
21415
21436
  const n = ((r = e == null ? void 0 : e.parsedWidgetProps) == null ? void 0 : r.localized) ?? !1;
21416
21437
  return J(
21417
- () => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(aC, { value: t }) : t }),
21438
+ () => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(lC, { value: t }) : t }),
21418
21439
  [n, t]
21419
21440
  );
21420
21441
  }, bs = {
21421
21442
  ...Yo,
21422
- integer: cC,
21423
- float: lC
21424
- }, dC = ut(Jr)`
21443
+ integer: dC,
21444
+ float: cC
21445
+ }, uC = ut(Jr)`
21425
21446
  position: relative;
21426
21447
  background-color: ${(t) => t.$isSelected && t.$selectedBgColor ? t.$selectedBgColor : t.$bgColor};
21427
21448
  border: 1px solid ${(t) => t.$borderColor};
@@ -21448,7 +21469,7 @@ const iC = ({
21448
21469
  &:hover {
21449
21470
  outline: ${(t) => t.$isDraggingActive ? "none" : `3px solid ${t.$color || t.$primaryColor}`};
21450
21471
  }
21451
- `, uC = ut.div`
21472
+ `, fC = ut.div`
21452
21473
  position: absolute;
21453
21474
  left: 0;
21454
21475
  top: 0;
@@ -21456,7 +21477,7 @@ const iC = ({
21456
21477
  width: 5px;
21457
21478
  background-color: ${(t) => t.$color};
21458
21479
  border-radius: 7px 0 0 7px;
21459
- `, fC = ut.div`
21480
+ `, mC = ut.div`
21460
21481
  position: absolute;
21461
21482
  right: 8px;
21462
21483
  top: 8px;
@@ -21464,7 +21485,7 @@ const iC = ({
21464
21485
  height: 10px;
21465
21486
  border-radius: 50%;
21466
21487
  background-color: ${(t) => t.$color};
21467
- `, mC = ut.div`
21488
+ `, pC = ut.div`
21468
21489
  position: absolute;
21469
21490
  left: 0;
21470
21491
  right: 0;
@@ -21475,7 +21496,7 @@ const iC = ({
21475
21496
  transition: opacity 0.15s ease;
21476
21497
  z-index: 10;
21477
21498
  ${(t) => t.$position === "above" ? "top: -5.5px;" : "bottom: -5.5px;"}
21478
- `, { Text: Wa, Link: za } = Jt, { useToken: pC } = ot, hC = (t) => {
21499
+ `, { Text: Wa, Link: za } = Jt, { useToken: hC } = ot, gC = (t) => {
21479
21500
  const {
21480
21501
  record: e,
21481
21502
  kanbanDef: n,
@@ -21493,7 +21514,7 @@ const iC = ({
21493
21514
  isSelected: g = !1,
21494
21515
  activeId: h = null,
21495
21516
  dropPosition: y = null
21496
- } = t, { token: v } = pC(), [b, C] = E(null), { showErrorNotification: x } = Et(), [w, _] = ke(
21517
+ } = t, { token: v } = hC(), [b, C] = E(null), { showErrorNotification: x } = Et(), [w, _] = ke(
21497
21518
  K.getHandler().execute
21498
21519
  );
21499
21520
  he(() => () => {
@@ -21633,9 +21654,9 @@ const iC = ({
21633
21654
  ...O,
21634
21655
  ...D,
21635
21656
  children: [
21636
- B && /* @__PURE__ */ s(mC, { $color: v.colorPrimary, $position: y }),
21657
+ B && /* @__PURE__ */ s(pC, { $color: v.colorPrimary, $position: y }),
21637
21658
  /* @__PURE__ */ H(
21638
- dC,
21659
+ uC,
21639
21660
  {
21640
21661
  size: "small",
21641
21662
  onClick: V,
@@ -21655,8 +21676,8 @@ const iC = ({
21655
21676
  }
21656
21677
  },
21657
21678
  children: [
21658
- i && /* @__PURE__ */ s(uC, { $color: i }),
21659
- a && /* @__PURE__ */ s(fC, { $color: a }),
21679
+ i && /* @__PURE__ */ s(fC, { $color: i }),
21680
+ a && /* @__PURE__ */ s(mC, { $color: a }),
21660
21681
  /* @__PURE__ */ H(It, { children: [
21661
21682
  /* @__PURE__ */ s("div", { style: { marginBottom: "8px" }, children: k.map(
21662
21683
  (N, L) => $(N, L === 0)
@@ -21681,7 +21702,7 @@ const iC = ({
21681
21702
  ]
21682
21703
  }
21683
21704
  );
21684
- }, Qd = nt(hC), gC = (t) => {
21705
+ }, Qd = nt(gC), yC = (t) => {
21685
21706
  const {
21686
21707
  model: e,
21687
21708
  domain: n,
@@ -21851,7 +21872,7 @@ const iC = ({
21851
21872
  refresh: G,
21852
21873
  fetchNextPage: ne
21853
21874
  };
21854
- }, { Text: yC } = Jt, vC = (t) => {
21875
+ }, { Text: vC } = Jt, bC = (t) => {
21855
21876
  const { visible: e, initialLimit: n, onSave: r, onCancel: o } = t, { t: i } = De(), [a, d] = E(n);
21856
21877
  he(() => {
21857
21878
  d(n);
@@ -21905,13 +21926,13 @@ const iC = ({
21905
21926
  autoFocus: !0
21906
21927
  }
21907
21928
  ),
21908
- /* @__PURE__ */ s(yC, { type: "secondary", style: { marginTop: 8, display: "block" }, children: i("column_limit_description") })
21929
+ /* @__PURE__ */ s(vC, { type: "secondary", style: { marginTop: 8, display: "block" }, children: i("column_limit_description") })
21909
21930
  ] }) })
21910
21931
  }
21911
21932
  );
21912
- }, { Text: po } = Jt, { useToken: bC } = ot, wC = En("IconListNumbers"), CC = En("IconExternalLink"), xC = En("IconArrowLeft"), SC = En("IconArrowRight"), TC = En("IconArrowBarToLeft"), _C = En(
21933
+ }, { Text: po } = Jt, { useToken: wC } = ot, CC = En("IconListNumbers"), xC = En("IconExternalLink"), SC = En("IconArrowLeft"), TC = En("IconArrowRight"), _C = En("IconArrowBarToLeft"), AC = En(
21913
21934
  "IconArrowBarToRight"
21914
- ), AC = En("IconChecks"), IC = (t, e) => {
21935
+ ), IC = En("IconChecks"), EC = (t, e) => {
21915
21936
  const {
21916
21937
  column: n,
21917
21938
  model: r,
@@ -21947,7 +21968,7 @@ const iC = ({
21947
21968
  id: k,
21948
21969
  label: $,
21949
21970
  originalValue: j
21950
- } = n, { t: X } = De(), { token: V } = bC(), [B, N] = E(!1), {
21971
+ } = n, { t: X } = De(), { token: V } = wC(), [B, N] = E(!1), {
21951
21972
  records: L,
21952
21973
  count: U,
21953
21974
  aggregates: z,
@@ -21960,7 +21981,7 @@ const iC = ({
21960
21981
  hasMore: se,
21961
21982
  refresh: oe,
21962
21983
  fetchNextPage: re
21963
- } = gC({
21984
+ } = yC({
21964
21985
  model: r,
21965
21986
  domain: o,
21966
21987
  context: i,
@@ -22000,18 +22021,18 @@ const iC = ({
22000
22021
  {
22001
22022
  key: "openInNewTab",
22002
22023
  label: X("open_column_in_new_tab"),
22003
- icon: /* @__PURE__ */ s(CC, { size: 16 })
22024
+ icon: /* @__PURE__ */ s(xC, { size: 16 })
22004
22025
  },
22005
22026
  {
22006
22027
  key: "setLimit",
22007
22028
  label: X("set_limit"),
22008
- icon: /* @__PURE__ */ s(wC, { size: 16 }),
22029
+ icon: /* @__PURE__ */ s(CC, { size: 16 }),
22009
22030
  disabled: !f
22010
22031
  },
22011
22032
  {
22012
22033
  key: "selectAllCards",
22013
22034
  label: X("select_all_cards"),
22014
- icon: /* @__PURE__ */ s(AC, { size: 16 }),
22035
+ icon: /* @__PURE__ */ s(IC, { size: 16 }),
22015
22036
  disabled: L.length === 0
22016
22037
  }
22017
22038
  ]
@@ -22023,19 +22044,19 @@ const iC = ({
22023
22044
  {
22024
22045
  key: "moveLeft",
22025
22046
  label: X("move_left"),
22026
- icon: /* @__PURE__ */ s(xC, { size: 16 }),
22047
+ icon: /* @__PURE__ */ s(SC, { size: 16 }),
22027
22048
  disabled: D
22028
22049
  },
22029
22050
  {
22030
22051
  key: "moveRight",
22031
22052
  label: X("move_right"),
22032
- icon: /* @__PURE__ */ s(SC, { size: 16 }),
22053
+ icon: /* @__PURE__ */ s(TC, { size: 16 }),
22033
22054
  disabled: P
22034
22055
  },
22035
22056
  {
22036
22057
  key: "moveBefore",
22037
22058
  label: X("move_before"),
22038
- icon: /* @__PURE__ */ s(TC, { size: 16 }),
22059
+ icon: /* @__PURE__ */ s(_C, { size: 16 }),
22039
22060
  disabled: me.length === 0,
22040
22061
  children: me.map((Se) => ({
22041
22062
  key: `moveBefore_${Se.id}`,
@@ -22045,7 +22066,7 @@ const iC = ({
22045
22066
  {
22046
22067
  key: "moveAfter",
22047
22068
  label: X("move_after"),
22048
- icon: /* @__PURE__ */ s(_C, { size: 16 }),
22069
+ icon: /* @__PURE__ */ s(AC, { size: 16 }),
22049
22070
  disabled: me.length === 0,
22050
22071
  children: me.map((Se) => ({
22051
22072
  key: `moveAfter_${Se.id}`,
@@ -22370,7 +22391,7 @@ const iC = ({
22370
22391
  }
22371
22392
  ),
22372
22393
  /* @__PURE__ */ s(
22373
- vC,
22394
+ bC,
22374
22395
  {
22375
22396
  visible: B,
22376
22397
  initialLimit: u,
@@ -22381,8 +22402,8 @@ const iC = ({
22381
22402
  ]
22382
22403
  }
22383
22404
  );
22384
- }, EC = nt(
22385
- zt(IC)
22405
+ }, RC = nt(
22406
+ zt(EC)
22386
22407
  ), Un = (t, e, n) => {
22387
22408
  if (t == null && (e == null ? void 0 : e.type) !== "boolean")
22388
22409
  return null;
@@ -22444,7 +22465,7 @@ const iC = ({
22444
22465
  };
22445
22466
  }
22446
22467
  }
22447
- }, RC = (t, e) => {
22468
+ }, FC = (t, e) => {
22448
22469
  const [n, r] = ke(
22449
22470
  K.getHandler().rawExecute
22450
22471
  ), [o, i] = ke(
@@ -22468,7 +22489,7 @@ const iC = ({
22468
22489
  [a, o]
22469
22490
  );
22470
22491
  return { getColumnPrefs: d, saveColumnPrefs: c };
22471
- }, FC = (t) => {
22492
+ }, OC = (t) => {
22472
22493
  const e = _f(t);
22473
22494
  if (e.length > 0)
22474
22495
  return e;
@@ -22477,7 +22498,7 @@ const iC = ({
22477
22498
  id: o.id,
22478
22499
  data: o.data
22479
22500
  }));
22480
- }, OC = (t, e) => {
22501
+ }, DC = (t, e) => {
22481
22502
  var ve, Z;
22482
22503
  const {
22483
22504
  columns: n,
@@ -22503,7 +22524,7 @@ const iC = ({
22503
22524
  onSelectAllInColumn: _
22504
22525
  } = t, { t: T } = De(), { showErrorNotification: A } = Et(), [O, D] = E(null), [P, M] = E(null), [F, R] = E({}), [I, k] = E(null), [$, j] = E(
22505
22526
  null
22506
- ), X = Q({}), V = Q({}), B = Q({}), N = Q({}), L = Q({}), U = Q({}), [z, G] = E([]), ne = Q(!1), { getColumnPrefs: te, saveColumnPrefs: ye } = RC(
22527
+ ), X = Q({}), V = Q({}), B = Q({}), N = Q({}), L = Q({}), U = Q({}), [z, G] = E([]), ne = Q(!1), { getColumnPrefs: te, saveColumnPrefs: ye } = FC(
22507
22528
  o,
22508
22529
  r
22509
22530
  );
@@ -22904,7 +22925,7 @@ const iC = ({
22904
22925
  Sf,
22905
22926
  {
22906
22927
  sensors: ue,
22907
- collisionDetection: FC,
22928
+ collisionDetection: OC,
22908
22929
  onDragStart: ae,
22909
22930
  onDragOver: ce,
22910
22931
  onDragEnd: Le,
@@ -22921,7 +22942,7 @@ const iC = ({
22921
22942
  height: "100%"
22922
22943
  },
22923
22944
  children: de.map((q, ee) => /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
22924
- EC,
22945
+ RC,
22925
22946
  {
22926
22947
  ref: Re[q.id],
22927
22948
  kanbanDef: f,
@@ -22983,9 +23004,9 @@ const iC = ({
22983
23004
  ]
22984
23005
  }
22985
23006
  );
22986
- }, DC = nt(
22987
- zt(OC)
22988
- ), MC = (t) => {
23007
+ }, MC = nt(
23008
+ zt(DC)
23009
+ ), NC = (t) => {
22989
23010
  const {
22990
23011
  model: e,
22991
23012
  domain: n,
@@ -23126,7 +23147,7 @@ const iC = ({
23126
23147
  error: g,
23127
23148
  refresh: A
23128
23149
  };
23129
- }, NC = (t, e) => {
23150
+ }, kC = (t, e) => {
23130
23151
  const {
23131
23152
  kanbanView: n,
23132
23153
  model: r,
@@ -23165,7 +23186,7 @@ const iC = ({
23165
23186
  columns: D,
23166
23187
  isLoading: P,
23167
23188
  error: M
23168
- } = MC({
23189
+ } = NC({
23169
23190
  model: r,
23170
23191
  domain: o,
23171
23192
  context: i,
@@ -23243,7 +23264,7 @@ const iC = ({
23243
23264
  showIcon: !0
23244
23265
  }
23245
23266
  ) : !x || P && D.length === 0 ? /* @__PURE__ */ s(ct, { size: "large" }) : /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
23246
- DC,
23267
+ MC,
23247
23268
  {
23248
23269
  ref: R,
23249
23270
  kanbanDef: x,
@@ -23296,9 +23317,9 @@ const iC = ({
23296
23317
  C
23297
23318
  ]);
23298
23319
  return /* @__PURE__ */ s(Fe, { children: V });
23299
- }, kC = nt(
23300
- zt(NC)
23301
- ), $C = ({
23320
+ }, $C = nt(
23321
+ zt(kC)
23322
+ ), PC = ({
23302
23323
  selectedItems: t,
23303
23324
  setSelectedItems: e,
23304
23325
  getOrderedIds: n
@@ -23321,7 +23342,7 @@ const iC = ({
23321
23342
  e([]), r.current = null;
23322
23343
  }, [e]);
23323
23344
  return { handleSelect: o, clearSelection: i };
23324
- }, PC = 10, LC = (t) => {
23345
+ }, LC = 10, VC = (t) => {
23325
23346
  const {
23326
23347
  visible: e,
23327
23348
  kanbanView: n,
@@ -23343,7 +23364,7 @@ const iC = ({
23343
23364
  setSearchTreeNameSearch: w
23344
23365
  } = mi({ useLocalState: !1 }), [_, T] = E(!1), [A, O] = E(), [D, P] = E(null), [M, F] = E(null), R = d, I = Q(null), k = Q(null), $ = Q(null), j = Q({}), X = ti({
23345
23366
  elementRef: I,
23346
- offset: PC,
23367
+ offset: LC,
23347
23368
  dependencies: [$.current],
23348
23369
  observedRefs: [k, $]
23349
23370
  }), V = J(
@@ -23387,7 +23408,7 @@ const iC = ({
23387
23408
  if (Le.includes(Ie))
23388
23409
  return Le;
23389
23410
  return null;
23390
- }, []), { handleSelect: G, clearSelection: ne } = $C({
23411
+ }, []), { handleSelect: G, clearSelection: ne } = PC({
23391
23412
  selectedItems: g || [],
23392
23413
  setSelectedItems: h || (() => {
23393
23414
  }),
@@ -23587,7 +23608,7 @@ const iC = ({
23587
23608
  style: V,
23588
23609
  onClick: ye,
23589
23610
  children: /* @__PURE__ */ s(
23590
- kC,
23611
+ $C,
23591
23612
  {
23592
23613
  ref: R,
23593
23614
  kanbanView: n,
@@ -23624,8 +23645,8 @@ const iC = ({
23624
23645
  }
23625
23646
  )
23626
23647
  ] }) : null;
23627
- }, VC = nt(LC);
23628
- async function BC(t) {
23648
+ }, BC = nt(VC);
23649
+ async function HC(t) {
23629
23650
  const e = await Promise.all(
23630
23651
  t.map(async (r) => {
23631
23652
  try {
@@ -23640,7 +23661,7 @@ async function BC(t) {
23640
23661
  info: e[o]
23641
23662
  })).filter((r) => r.info !== null);
23642
23663
  }
23643
- function HC({
23664
+ function jC({
23644
23665
  currentTab: t
23645
23666
  }) {
23646
23667
  const { currentView: e, searchParams: n, currentId: r, limit: o, currentPage: i, order: a } = Yt(), { currentTab: d } = Qn(), c = t || d;
@@ -23661,8 +23682,8 @@ function HC({
23661
23682
  let g = !!f;
23662
23683
  return p === "form" && (g = !!f && !!r), { shareUrl: m, canShare: g };
23663
23684
  }
23664
- const jC = () => {
23665
- const { currentTab: t } = Qn(), { title: e } = on(), { shareUrl: n } = HC({ currentTab: t });
23685
+ const UC = () => {
23686
+ const { currentTab: t } = Qn(), { title: e } = on(), { shareUrl: n } = jC({ currentTab: t });
23666
23687
  he(() => {
23667
23688
  if (n) {
23668
23689
  const r = new URL(n, window.location.origin);
@@ -23672,7 +23693,7 @@ const jC = () => {
23672
23693
  document.title = e, t != null && t.title && t.title.length > 0 && (document.title = (t == null ? void 0 : t.title) + " - " + e);
23673
23694
  }, [t, e]);
23674
23695
  };
23675
- function UC(t, e) {
23696
+ function WC(t, e) {
23676
23697
  const {
23677
23698
  domain: n,
23678
23699
  model: r,
@@ -23749,7 +23770,7 @@ function UC(t, e) {
23749
23770
  viewTuple: Se
23750
23771
  });
23751
23772
  }
23752
- const xe = await BC(He);
23773
+ const xe = await HC(He);
23753
23774
  for (const Se of xe) {
23754
23775
  if (!Se)
23755
23776
  continue;
@@ -23934,7 +23955,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
23934
23955
  }
23935
23956
  }
23936
23957
  return D || re ? /* @__PURE__ */ s(ct, {}) : _ ? /* @__PURE__ */ H(
23937
- pb,
23958
+ hb,
23938
23959
  {
23939
23960
  title: a,
23940
23961
  currentView: _,
@@ -23970,7 +23991,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
23970
23991
  initialOpenComments: w,
23971
23992
  children: [
23972
23993
  /* @__PURE__ */ s(
23973
- WC,
23994
+ zC,
23974
23995
  {
23975
23996
  availableViews: A,
23976
23997
  formRef: ue,
@@ -23993,7 +24014,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
23993
24014
  }
23994
24015
  ),
23995
24016
  /* @__PURE__ */ s(
23996
- f0,
24017
+ m0,
23997
24018
  {
23998
24019
  visible: z,
23999
24020
  onIdSubmitted: Le,
@@ -24007,7 +24028,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
24007
24028
  }
24008
24029
  ) : null;
24009
24030
  }
24010
- const WC = ({
24031
+ const zC = ({
24011
24032
  availableViews: t,
24012
24033
  formRef: e,
24013
24034
  currentId: n,
@@ -24026,11 +24047,11 @@ const WC = ({
24026
24047
  searchNameSearch: h,
24027
24048
  setCurrentView: y,
24028
24049
  setCurrentId: v
24029
- }) => (jC(), t.map((b) => {
24050
+ }) => (UC(), t.map((b) => {
24030
24051
  switch (b.type) {
24031
24052
  case "form":
24032
24053
  return /* @__PURE__ */ s(
24033
- tC,
24054
+ nC,
24034
24055
  {
24035
24056
  formRef: e,
24036
24057
  currentId: n,
@@ -24050,7 +24071,7 @@ const WC = ({
24050
24071
  );
24051
24072
  case "tree":
24052
24073
  return /* @__PURE__ */ s(
24053
- mb,
24074
+ pb,
24054
24075
  {
24055
24076
  visible: r.type === b.type && r.view_id === b.view_id,
24056
24077
  limit: p,
@@ -24071,7 +24092,7 @@ const WC = ({
24071
24092
  );
24072
24093
  case "graph":
24073
24094
  return /* @__PURE__ */ s(
24074
- h0,
24095
+ g0,
24075
24096
  {
24076
24097
  visible: r.type === b.type && r.view_id === b.view_id,
24077
24098
  viewData: b,
@@ -24088,7 +24109,7 @@ const WC = ({
24088
24109
  );
24089
24110
  case "dashboard":
24090
24111
  return /* @__PURE__ */ s(
24091
- sC,
24112
+ iC,
24092
24113
  {
24093
24114
  dashboardData: b,
24094
24115
  visible: r.type === b.type && r.view_id === b.view_id
@@ -24097,7 +24118,7 @@ const WC = ({
24097
24118
  );
24098
24119
  case "kanban":
24099
24120
  return /* @__PURE__ */ s(
24100
- VC,
24121
+ BC,
24101
24122
  {
24102
24123
  visible: r.type === b.type && r.view_id === b.view_id,
24103
24124
  kanbanView: b,
@@ -24110,8 +24131,8 @@ const WC = ({
24110
24131
  `${b.type}-${b.view_id}`
24111
24132
  );
24112
24133
  }
24113
- })), Xd = zt(UC);
24114
- const zC = yf(vf), YC = (t) => {
24134
+ })), Xd = zt(WC);
24135
+ const YC = yf(vf), qC = (t) => {
24115
24136
  const { children: e = [], onPositionItemsChanged: n } = t, r = mn.Children.map(
24116
24137
  e,
24117
24138
  (o) => {
@@ -24120,7 +24141,7 @@ const zC = yf(vf), YC = (t) => {
24120
24141
  }
24121
24142
  );
24122
24143
  return /* @__PURE__ */ s(
24123
- zC,
24144
+ YC,
24124
24145
  {
24125
24146
  className: "layout",
24126
24147
  cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
@@ -24141,7 +24162,7 @@ const zC = yf(vf), YC = (t) => {
24141
24162
  }
24142
24163
  );
24143
24164
  }, ws = "line_ids";
24144
- function qC(t, e) {
24165
+ function GC(t, e) {
24145
24166
  const { model: n, context: r = {}, id: o, configAction: i } = t, [a, d] = E([]), [c, l] = E(!1), [f, u] = E(), {
24146
24167
  setIsLoading: m,
24147
24168
  openAction: p,
@@ -24273,7 +24294,7 @@ function qC(t, e) {
24273
24294
  async function P() {
24274
24295
  p(i);
24275
24296
  }
24276
- return c ? /* @__PURE__ */ s(Zt, {}) : f ? (console.error(f), /* @__PURE__ */ s(Ut, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(YC, { onPositionItemsChanged: D, children: a.map((M, F) => {
24297
+ return c ? /* @__PURE__ */ s(Zt, {}) : f ? (console.error(f), /* @__PURE__ */ s(Ut, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(qC, { onPositionItemsChanged: D, children: a.map((M, F) => {
24277
24298
  const { actionData: R, values: I } = M, { position: k, id: $ } = I, {
24278
24299
  actionId: j,
24279
24300
  actionType: X,
@@ -24416,10 +24437,10 @@ function qC(t, e) {
24416
24437
  );
24417
24438
  }) });
24418
24439
  }
24419
- const GC = zt(qC), KC = (t) => {
24440
+ const KC = zt(GC), JC = (t) => {
24420
24441
  const { ooui: e } = t;
24421
- return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(JC, { ooui: e }) });
24422
- }, JC = (t) => {
24442
+ return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(QC, { ooui: e }) });
24443
+ }, QC = (t) => {
24423
24444
  const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, i = o.filter((A) => A.operation !== "pendingRemove").map((A) => A.id), [a, d] = E([]), [c, l] = E(), [f, u] = E(!1), { relation: m, context: p, readOnly: g, field: h, columns: y } = n, v = Ne(ft), { getContext: b } = v || {};
24424
24445
  Je(() => {
24425
24446
  x();
@@ -24500,36 +24521,36 @@ const GC = zt(qC), KC = (t) => {
24500
24521
  /* @__PURE__ */ s(Ke, { onClick: _, disabled: i.length === 0, children: "Uncheck all" })
24501
24522
  ] })
24502
24523
  ] }) });
24503
- }, QC = (t) => {
24504
- const { ooui: e } = t, { required: n } = e;
24505
- return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(XC, { ...t }) });
24506
24524
  }, XC = (t) => {
24525
+ const { ooui: e } = t, { required: n } = e;
24526
+ return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(ZC, { ...t }) });
24527
+ }, ZC = (t) => {
24507
24528
  const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, direction: a } = e, d = Array.from(o.entries()), c = d && d.length && d.map((l) => {
24508
24529
  const [f, u] = l;
24509
24530
  return /* @__PURE__ */ s(_i, { value: f, children: u }, f);
24510
24531
  });
24511
24532
  return /* @__PURE__ */ s(_i.Group, { disabled: i, onChange: n, value: r, children: /* @__PURE__ */ s(ht, { direction: a, children: c }) });
24512
- }, { useToken: ZC } = ot, ex = (t) => {
24533
+ }, { useToken: ex } = ot, tx = (t) => {
24513
24534
  const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
24514
- return /* @__PURE__ */ s(tt, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(tx, { id: n, readOnly: r, required: o }) });
24515
- }, tx = (t) => {
24516
- const { required: e, readOnly: n, ...r } = t, { token: o } = ZC();
24535
+ return /* @__PURE__ */ s(tt, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(nx, { id: n, readOnly: r, required: o }) });
24536
+ }, nx = (t) => {
24537
+ const { required: e, readOnly: n, ...r } = t, { token: o } = ex();
24517
24538
  return e && !n ? /* @__PURE__ */ s(
24518
- nx,
24539
+ rx,
24519
24540
  {
24520
24541
  disabled: n,
24521
24542
  $requiredColor: o.colorPrimaryBg,
24522
24543
  ...r
24523
24544
  }
24524
24545
  ) : /* @__PURE__ */ s(tl, { disabled: n, ...r });
24525
- }, nx = ut(tl)`
24546
+ }, rx = ut(tl)`
24526
24547
  .ant-switch-handle::before {
24527
24548
  background-color: ${(t) => t.$requiredColor};
24528
24549
  }
24529
- `, rx = (t) => {
24550
+ `, ox = (t) => {
24530
24551
  const { ooui: e } = t, { required: n } = e;
24531
- return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(ox, { ...t }) });
24532
- }, ox = (t) => {
24552
+ return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(sx, { ...t }) });
24553
+ }, sx = (t) => {
24533
24554
  const { ooui: e, value: n } = t, { selectionValues: r, errorField: o, lastStep: i } = e, a = Ne(ft);
24534
24555
  let d = [], c;
24535
24556
  e.fieldType === "json" && n ? (d = n.map((u) => [u.title, u.title]), c = n.findIndex((u) => u.active)) : (d = Array.from(r.entries()), c = d.map((u) => u[0]).indexOf(n));
@@ -24542,7 +24563,7 @@ const GC = zt(qC), KC = (t) => {
24542
24563
  },
24543
24564
  u[1]
24544
24565
  )) });
24545
- }, sx = (t) => {
24566
+ }, ix = (t) => {
24546
24567
  const {
24547
24568
  token: {
24548
24569
  colorPrimaryBg: e,
@@ -24605,7 +24626,7 @@ const GC = zt(qC), KC = (t) => {
24605
24626
  /* @__PURE__ */ s("div", { style: f }),
24606
24627
  /* @__PURE__ */ s("div", { style: u(p.active) })
24607
24628
  ] }, g)) });
24608
- }, ix = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(sx, {}) }), ax = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(lx, { ...t }) }), lx = (t) => {
24629
+ }, ax = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(ix, {}) }), lx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(cx, { ...t }) }), cx = (t) => {
24609
24630
  const { ooui: e, value: n, onChange: r } = t, { lang: o, height: i, readOnly: a } = e, d = Ne(ft), { elementHasLostFocus: c } = d || {}, l = S(
24610
24631
  (u) => {
24611
24632
  c && u.onDidBlurEditorWidget(() => c());
@@ -24633,13 +24654,13 @@ const GC = zt(qC), KC = (t) => {
24633
24654
  onChange: r
24634
24655
  }
24635
24656
  );
24636
- }, { Meta: cx } = Jr, { Text: dx } = Jt, ux = ({ email: t, size: e = 40, theme: n = "" }) => {
24657
+ }, { Meta: dx } = Jr, { Text: ux } = Jt, fx = ({ email: t, size: e = 40, theme: n = "" }) => {
24637
24658
  const r = `https://www.gravatar.com/avatar/${gf(
24638
24659
  t
24639
24660
  )}?s=${e}&d=${n}`;
24640
24661
  return /* @__PURE__ */ s(Fo, { src: r, size: e });
24641
24662
  };
24642
- function fx({ text: t }) {
24663
+ function mx({ text: t }) {
24643
24664
  const e = t.split(`
24644
24665
  `);
24645
24666
  return /* @__PURE__ */ s("div", { children: e.map((n, r) => /* @__PURE__ */ H(Gn, { children: [
@@ -24647,13 +24668,13 @@ function fx({ text: t }) {
24647
24668
  r !== e.length - 1 && /* @__PURE__ */ s("br", {})
24648
24669
  ] }, r)) });
24649
24670
  }
24650
- const mx = (t) => {
24671
+ const px = (t) => {
24651
24672
  const { data: e, style: n } = t, { t: r } = De();
24652
24673
  return /* @__PURE__ */ H(Jr, { style: { ...n, textAlign: "start" }, children: [
24653
24674
  /* @__PURE__ */ s(
24654
- cx,
24675
+ dx,
24655
24676
  {
24656
- avatar: /* @__PURE__ */ s(ux, { email: e.email, theme: "mp" }),
24677
+ avatar: /* @__PURE__ */ s(fx, { email: e.email, theme: "mp" }),
24657
24678
  title: e.author,
24658
24679
  description: /* @__PURE__ */ H(ht, { direction: "horizontal", children: [
24659
24680
  /* @__PURE__ */ s("span", { title: e.date, children: it(e.date).fromNow() }),
@@ -24662,12 +24683,12 @@ const mx = (t) => {
24662
24683
  style: { marginBottom: "5px" }
24663
24684
  }
24664
24685
  ),
24665
- /* @__PURE__ */ s(dx, { children: /* @__PURE__ */ s(fx, { text: e.text }) })
24686
+ /* @__PURE__ */ s(ux, { children: /* @__PURE__ */ s(mx, { text: e.text }) })
24666
24687
  ] }, e.id);
24667
24688
  }, Ya = (t) => {
24668
24689
  const e = Lt(t);
24669
24690
  return e && /* @__PURE__ */ s(e, {});
24670
- }, px = (t) => {
24691
+ }, hx = (t) => {
24671
24692
  const { value: e, ooui: n } = t, r = (e || []).map((o) => {
24672
24693
  if (o.type === "action")
24673
24694
  return {
@@ -24679,7 +24700,7 @@ const mx = (t) => {
24679
24700
  color: "gray",
24680
24701
  position: o.event.isSender ? "left" : "right",
24681
24702
  label: o.event.date,
24682
- children: /* @__PURE__ */ s(mx, { data: o.event }),
24703
+ children: /* @__PURE__ */ s(px, { data: o.event }),
24683
24704
  dot: o.icon ? Ya(o.icon) : void 0
24684
24705
  };
24685
24706
  });
@@ -24697,7 +24718,7 @@ const mx = (t) => {
24697
24718
  }
24698
24719
  }
24699
24720
  );
24700
- }, hx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(px, { ooui: t.ooui }) }), gx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Xu, {}) }), yx = (t) => {
24721
+ }, gx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(hx, { ooui: t.ooui }) }), yx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Xu, {}) }), vx = (t) => {
24701
24722
  const { ooui: e } = t, n = Ne(ft);
24702
24723
  let { title: r, text: o, alertType: i, icon: a, buttons: d } = e;
24703
24724
  if (e.fieldType && e.id) {
@@ -24730,9 +24751,9 @@ const mx = (t) => {
24730
24751
  icon: c(a)
24731
24752
  }
24732
24753
  );
24733
- }, { defaultAlgorithm: vx, defaultSeed: bx } = ot, qa = vx(bx), wx = (t) => {
24754
+ }, { defaultAlgorithm: bx, defaultSeed: wx } = ot, qa = bx(wx), Cx = (t) => {
24734
24755
  const { ooui: e, responsiveBehaviour: n = !1 } = t;
24735
- return /* @__PURE__ */ s(Cx, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
24756
+ return /* @__PURE__ */ s(xx, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
24736
24757
  bi,
24737
24758
  {
24738
24759
  container: r.container,
@@ -24740,7 +24761,7 @@ const mx = (t) => {
24740
24761
  },
24741
24762
  o
24742
24763
  )) });
24743
- }, Cx = ut(du)`
24764
+ }, xx = ut(du)`
24744
24765
  .slick-dots li button {
24745
24766
  background-color: ${qa.colorPrimary};
24746
24767
  }
@@ -24750,7 +24771,7 @@ const mx = (t) => {
24750
24771
  .slick-dots-bottom {
24751
24772
  bottom: -15px;
24752
24773
  }
24753
- `, xx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Sx, { ...t }) }), Sx = (t) => {
24774
+ `, Sx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Tx, { ...t }) }), Tx = (t) => {
24754
24775
  const { ooui: e, value: n, onChange: r } = t;
24755
24776
  return /* @__PURE__ */ s(
24756
24777
  Xa,
@@ -24764,12 +24785,12 @@ const mx = (t) => {
24764
24785
  value: n
24765
24786
  }
24766
24787
  );
24767
- }, { Content: Tx } = Za, { Title: _x } = Jt;
24768
- function Ax() {
24788
+ }, { Content: _x } = Za, { Title: Ax } = Jt;
24789
+ function Ix() {
24769
24790
  const { t } = De();
24770
- return /* @__PURE__ */ s(Tx, { className: "m-5 select-none", children: /* @__PURE__ */ s(_x, { level: 5, children: t("welcome") }) });
24791
+ return /* @__PURE__ */ s(_x, { className: "m-5 select-none", children: /* @__PURE__ */ s(Ax, { level: 5, children: t("welcome") }) });
24771
24792
  }
24772
- function Ix(t, e) {
24793
+ function Ex(t, e) {
24773
24794
  const { children: n } = t, [r, o] = E("welcome"), { t: i } = De(), { showErrorNotification: a } = Et(), { globalValues: d, rootContext: c } = on(), l = Wo(
24774
24795
  kt.FEATURE_LOGGABLE_ACTIONS
24775
24796
  ), [f, u] = ke(
@@ -24783,7 +24804,7 @@ function Ix(t, e) {
24783
24804
  title: i("welcome"),
24784
24805
  key: "welcome",
24785
24806
  closable: !0,
24786
- content: /* @__PURE__ */ s(Ax, {}),
24807
+ content: /* @__PURE__ */ s(Ix, {}),
24787
24808
  action: null
24788
24809
  }
24789
24810
  ]), g = Q(/* @__PURE__ */ new Map()), h = Q();
@@ -25293,8 +25314,8 @@ function Ix(t, e) {
25293
25314
  }
25294
25315
  );
25295
25316
  }
25296
- const ES = zt(Ix);
25297
- function Ex(t) {
25317
+ const RS = zt(Ex);
25318
+ function Rx(t) {
25298
25319
  const { tab: e } = t, n = Ne(
25299
25320
  Cn
25300
25321
  ), { activeKey: r } = n || {}, o = {
@@ -25302,57 +25323,57 @@ function Ex(t) {
25302
25323
  };
25303
25324
  return /* @__PURE__ */ s("div", { style: e.key !== r ? o : void 0, children: e.content });
25304
25325
  }
25305
- const RS = mn.memo(Ex, () => !0);
25326
+ const FS = mn.memo(Rx, () => !0);
25306
25327
  export {
25307
- ix as $,
25328
+ ax as $,
25308
25329
  Nm as A,
25309
25330
  Ys as B,
25310
25331
  K as C,
25311
- qw as D,
25312
- u0 as E,
25313
- Zb as F,
25332
+ Gw as D,
25333
+ f0 as E,
25334
+ ew as F,
25314
25335
  Ud as G,
25315
25336
  xp as H,
25316
25337
  zr as I,
25317
25338
  xd as J,
25318
- YC as K,
25339
+ qC as K,
25319
25340
  Ho as L,
25320
- rw as M,
25321
- Dw as N,
25322
- _w as O,
25341
+ ow as M,
25342
+ Mw as N,
25343
+ Aw as O,
25323
25344
  fh as P,
25324
- Rb as Q,
25325
- Qw as R,
25345
+ Fb as Q,
25346
+ Xw as R,
25326
25347
  Bl as S,
25327
25348
  Cn as T,
25328
- d0 as U,
25349
+ u0 as U,
25329
25350
  wh as V,
25330
- KC as W,
25331
- F0 as X,
25332
- QC as Y,
25333
- ex as Z,
25334
- rx as _,
25335
- RS as a,
25336
- ax as a0,
25337
- hx as a1,
25338
- zw as a2,
25351
+ JC as W,
25352
+ O0 as X,
25353
+ XC as Y,
25354
+ tx as Z,
25355
+ ox as _,
25356
+ FS as a,
25357
+ lx as a0,
25358
+ gx as a1,
25359
+ Yw as a2,
25339
25360
  zl as a3,
25340
25361
  Xd as a4,
25341
- AS as a5,
25362
+ IS as a5,
25342
25363
  kt as a6,
25343
25364
  Fm as a7,
25344
- gx as a8,
25345
- yx as a9,
25365
+ yx as a8,
25366
+ vx as a9,
25346
25367
  Eo as aa,
25347
- wx as ab,
25348
- xx as ac,
25349
- kb as ad,
25350
- $b as ae,
25351
- IS as af,
25368
+ Cx as ab,
25369
+ Sx as ac,
25370
+ $b as ad,
25371
+ Pb as ae,
25372
+ ES as af,
25352
25373
  wt as ag,
25353
- mb as ah,
25354
- tC as ai,
25355
- pb as aj,
25374
+ pb as ah,
25375
+ nC as ai,
25376
+ hb as aj,
25356
25377
  qt as ak,
25357
25378
  Nn as al,
25358
25379
  Mm as am,
@@ -25364,7 +25385,7 @@ export {
25364
25385
  Ir as as,
25365
25386
  Nc as at,
25366
25387
  Ro as au,
25367
- O0 as av,
25388
+ D0 as av,
25368
25389
  xi as aw,
25369
25390
  Rn as ax,
25370
25391
  Qf as b,
@@ -25372,25 +25393,25 @@ export {
25372
25393
  hm as d,
25373
25394
  Km as e,
25374
25395
  ao as f,
25375
- Pb as g,
25396
+ Lb as g,
25376
25397
  Jo as h,
25377
25398
  Fr as i,
25378
25399
  si as j,
25379
- Ew as k,
25380
- Nw as l,
25381
- $w as m,
25400
+ Rw as k,
25401
+ kw as l,
25402
+ Pw as m,
25382
25403
  bd as n,
25383
25404
  Fn as o,
25384
25405
  lo as p,
25385
- Gw as q,
25386
- Kw as r,
25406
+ Kw as q,
25407
+ Jw as r,
25387
25408
  bn as s,
25388
- e0 as t,
25389
- l0 as u,
25390
- ES as v,
25409
+ t0 as t,
25410
+ c0 as u,
25411
+ RS as v,
25391
25412
  cp as w,
25392
25413
  ap as x,
25393
25414
  Wm as y,
25394
- GC as z
25415
+ KC as z
25395
25416
  };
25396
- //# sourceMappingURL=TabContent-960b00f8.mjs.map
25417
+ //# sourceMappingURL=TabContent-6af0be4c.mjs.map