react-luminus-components 1.5.35 → 1.5.36

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.
package/dist/main.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as a, c as _, t as Ae, a as Rr, s as Fi, g as Vi, m as qc, d as xr, b as Yc, e as Kc, f as It, h as Xc, i as Jc, k as Qc, l as Zc, n as ed, o as td, p as nd, T as _s, q as Os, r as $i, E as rd, u as Ps, v as Ga, w as Ts, x as ad, y as Re, z as Ua, F as As, A as id, B as od, C as sd, D as ld, M as cd, G as dd, H as ud, I as pd, J as fd, K as md, L as Ca, N as gd, O as vd, P as X, Q as mt, R as hd, S as bd, U as bt, V as te, W as Ha, X as xe, Y as Wa, Z as dt, _ as qe, $ as pe, a0 as et, a1 as L, a2 as kr, a3 as xd, a4 as yd, a5 as wd, a6 as Rs, a7 as jd, a8 as Nd, a9 as ht, aa as Dd, ab as Sd, ac as Dr, ad as oe, ae as ks, af as Cd, ag as Ed, ah as Id, ai as Bs, aj as Ls, ak as za, al as Sr, am as Bt, an as _d, ao as ze, ap as Od, aq as Pd, ar as Td, as as Lt, at as Ad, au as Ms, av as Rd, aw as Ke, ax as en, ay as kd, az as Je, aA as qa, aB as Ya, aC as Fs, aD as Ka, aE as Vs, aF as $s, aG as Te, aH as Pt, aI as Bd, aJ as Ld, aK as ct, aL as Mt, aM as Ft, aN as Md, aO as Ye, aP as pt, aQ as Fd, aR as Dt, aS as Vd, aT as $d, aU as In, aV as ft, aW as Gs, aX as xt, aY as tn, aZ as Gd, a_ as Jr, a$ as nn, b0 as Us, b1 as Ud, b2 as Hd, b3 as Fn, b4 as Br, b5 as mn, b6 as Cr, b7 as Xa, b8 as Nt, b9 as Wd, ba as Hs, bb as or, bc as St, bd as rn, be as gn, bf as zd, bg as Lr, bh as Ws, bi as dn, bj as Mr, bk as Ja, bl as qd, bm as Yd, bn as Kd, bo as Xd, bp as Jd, bq as Qd, br as zs, bs as Zd, bt as eu, bu as tu, bv as nu, bw as ru, bx as au } from "./ShortcutLinksContext-CXaPhocV.js";
1
+ import { j as a, c as _, t as Ae, a as Rr, s as Fi, g as Vi, m as qc, d as xr, b as Yc, e as Kc, f as It, h as Xc, i as Jc, k as Qc, l as Zc, n as ed, o as td, p as nd, T as _s, q as Os, r as $i, E as rd, u as Ps, v as Ga, w as Ts, x as ad, y as Re, z as Ua, F as As, A as id, B as od, C as sd, D as ld, M as cd, G as dd, H as ud, I as pd, J as fd, K as md, L as Ca, N as gd, O as vd, P as X, Q as mt, R as hd, S as bd, U as bt, V as te, W as Ha, X as xe, Y as Wa, Z as dt, _ as qe, $ as pe, a0 as Ke, a1 as L, a2 as kr, a3 as xd, a4 as yd, a5 as wd, a6 as Rs, a7 as jd, a8 as Nd, a9 as ht, aa as Dd, ab as Sd, ac as Dr, ad as oe, ae as ks, af as Cd, ag as Ed, ah as Id, ai as Bs, aj as Ls, ak as za, al as Sr, am as Bt, an as _d, ao as ze, ap as Od, aq as Pd, ar as Td, as as Lt, at as Ad, au as Ms, av as Rd, aw as Xe, ax as en, ay as kd, az as Qe, aA as qa, aB as Ya, aC as Fs, aD as Ka, aE as Vs, aF as $s, aG as Te, aH as Pt, aI as Bd, aJ as Ld, aK as ct, aL as Mt, aM as Ft, aN as Md, aO as Ye, aP as pt, aQ as Fd, aR as Dt, aS as Vd, aT as $d, aU as In, aV as ft, aW as Gs, aX as xt, aY as tn, aZ as Gd, a_ as Jr, a$ as nn, b0 as Us, b1 as Ud, b2 as Hd, b3 as Fn, b4 as Br, b5 as mn, b6 as Cr, b7 as Xa, b8 as Nt, b9 as Wd, ba as Hs, bb as or, bc as St, bd as rn, be as gn, bf as zd, bg as Lr, bh as Ws, bi as dn, bj as Mr, bk as Ja, bl as qd, bm as Yd, bn as Kd, bo as Xd, bp as Jd, bq as Qd, br as zs, bs as Zd, bt as eu, bu as tu, bv as nu, bw as ru, bx as au } from "./ShortcutLinksContext-CXaPhocV.js";
2
2
  import { bA as iD, by as oD, bz as sD } from "./ShortcutLinksContext-CXaPhocV.js";
3
3
  import * as Oe from "react";
4
4
  import ue, { useCallback as R, useMemo as k, useState as B, useRef as ae, useEffect as U, useContext as $, useId as iu, Component as ou, isValidElement as Gi, Suspense as su, useLayoutEffect as Qa, useReducer as lu, Fragment as cu } from "react";
@@ -890,7 +890,7 @@ const tp = (e) => (n) => {
890
890
  return l(((p = d.target) == null ? void 0 : p.value) ?? "");
891
891
  }, className: "me-3", style: { maxWidth: "200px" } })
892
892
  ] }),
893
- /* @__PURE__ */ a.jsx(pe.Body, { className: "flex-column gap-3", children: c.length === 0 ? /* @__PURE__ */ a.jsx(et, { variant: "warning", children: o.noWidgets }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
893
+ /* @__PURE__ */ a.jsx(pe.Body, { className: "flex-column gap-3", children: c.length === 0 ? /* @__PURE__ */ a.jsx(Ke, { variant: "warning", children: o.noWidgets }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
894
894
  u.map((d) => /* @__PURE__ */ a.jsx(Er, { defaultOpen: !0, title: d.name ?? "", children: /* @__PURE__ */ a.jsx("div", { className: "p-1", children: /* @__PURE__ */ a.jsx("div", { className: _("row gx-3 gy-3", nt.widgetsRow), children: c.filter((p) => p.group === d.id).map((p) => /* @__PURE__ */ a.jsx("div", { className: "col col-4", children: /* @__PURE__ */ a.jsxs("div", { role: "button", className: _("p-0 pt-2 bg-white rounded shadow-sm", nt.widget), onClick: () => i(p.id), children: [
895
895
  /* @__PURE__ */ a.jsx("div", { className: nt.widgetImg, style: {
896
896
  backgroundImage: p.img ? `url(${p.img})` : void 0
@@ -2327,7 +2327,7 @@ var nm = function(e) {
2327
2327
  x: t.x + n.x,
2328
2328
  y: t.y + n.y
2329
2329
  };
2330
- }, Xe = function(t, n) {
2330
+ }, Je = function(t, n) {
2331
2331
  return {
2332
2332
  x: t.x - n.x,
2333
2333
  y: t.y - n.y
@@ -2408,7 +2408,7 @@ var nm = function(e) {
2408
2408
  };
2409
2409
  }, di = function(e, t) {
2410
2410
  e.frame || (process.env.NODE_ENV, D());
2411
- var n = e.frame, r = Xe(t, n.scroll.initial), i = yn(r), o = oe({}, n, {
2411
+ var n = e.frame, r = Je(t, n.scroll.initial), i = yn(r), o = oe({}, n, {
2412
2412
  scroll: {
2413
2413
  initial: n.scroll.initial,
2414
2414
  current: t,
@@ -2854,7 +2854,7 @@ var Cm = function(e) {
2854
2854
  var t = Rm(e), n = e.droppable, r = n ? Aa(n, t) : t;
2855
2855
  return r;
2856
2856
  }, $l = function(e, t) {
2857
- var n = Xe(t, e.scroll.initial), r = yn(n), i = ut({
2857
+ var n = Je(t, e.scroll.initial), r = yn(n), i = ut({
2858
2858
  top: t.y,
2859
2859
  bottom: t.y + e.frame.height,
2860
2860
  left: t.x,
@@ -2921,10 +2921,10 @@ var Bm = function(e) {
2921
2921
  }, Lm = function(e, t) {
2922
2922
  return Fe(e.scroll.diff.displacement, t);
2923
2923
  }, vi = function(e) {
2924
- var t = e.pageBorderBoxCenter, n = e.draggable, r = e.viewport, i = Lm(r, t), o = Xe(i, n.page.borderBox.center);
2924
+ var t = e.pageBorderBoxCenter, n = e.draggable, r = e.viewport, i = Lm(r, t), o = Je(i, n.page.borderBox.center);
2925
2925
  return Fe(n.client.borderBox.center, o);
2926
2926
  }, Gl = function(e) {
2927
- var t = e.draggable, n = e.destination, r = e.newPageBorderBoxCenter, i = e.viewport, o = e.withDroppableDisplacement, s = e.onlyOnMainAxis, l = s === void 0 ? !1 : s, c = Xe(r, t.page.borderBox.center), u = Zn(t.page.borderBox, c), d = {
2927
+ var t = e.draggable, n = e.destination, r = e.newPageBorderBoxCenter, i = e.viewport, o = e.withDroppableDisplacement, s = e.onlyOnMainAxis, l = s === void 0 ? !1 : s, c = Je(r, t.page.borderBox.center), u = Zn(t.page.borderBox, c), d = {
2928
2928
  target: u,
2929
2929
  destination: n,
2930
2930
  withDroppableDisplacement: o,
@@ -2980,7 +2980,7 @@ var Bm = function(e) {
2980
2980
  scrollJumpRequest: null
2981
2981
  };
2982
2982
  }
2983
- var b = Xe(m, l), v = Bm({
2983
+ var b = Je(m, l), v = Bm({
2984
2984
  impact: f,
2985
2985
  viewport: s,
2986
2986
  destination: r,
@@ -3035,7 +3035,7 @@ var Bm = function(e) {
3035
3035
  })[0];
3036
3036
  }, Ro = function(t, n) {
3037
3037
  var r = t.page.borderBox.center;
3038
- return kt(t.descriptor.id, n) ? Xe(r, n.displacedBy.point) : r;
3038
+ return kt(t.descriptor.id, n) ? Je(r, n.displacedBy.point) : r;
3039
3039
  }, Vm = function(t, n) {
3040
3040
  var r = t.page.borderBox;
3041
3041
  return kt(t.descriptor.id, n) ? Zn(r, yn(n.displacedBy.point)) : r;
@@ -3216,11 +3216,11 @@ var Bm = function(e) {
3216
3216
  impact: f,
3217
3217
  scrollJumpRequest: null
3218
3218
  };
3219
- }, Qe = function(e) {
3219
+ }, Ze = function(e) {
3220
3220
  var t = e.at;
3221
3221
  return t ? t.type === "REORDER" ? t.destination.droppableId : t.combine.droppableId : null;
3222
3222
  }, zm = function(t, n) {
3223
- var r = Qe(t);
3223
+ var r = Ze(t);
3224
3224
  return r ? n[r] : null;
3225
3225
  }, qm = function(e) {
3226
3226
  var t = e.state, n = e.type, r = zm(t.impact, t.dimensions.droppables), i = !!r, o = t.dimensions.droppables[t.critical.droppable.id], s = r || o, l = s.axis.direction, c = l === "vertical" && (n === "MOVE_UP" || n === "MOVE_DOWN") || l === "horizontal" && (n === "MOVE_LEFT" || n === "MOVE_RIGHT");
@@ -3379,7 +3379,7 @@ var Zm = function(e) {
3379
3379
  var n;
3380
3380
  return oe({}, e, (n = {}, n[t.descriptor.id] = t, n));
3381
3381
  }, ng = function(t) {
3382
- var n = t.previousImpact, r = t.impact, i = t.droppables, o = Qe(n), s = Qe(r);
3382
+ var n = t.previousImpact, r = t.impact, i = t.droppables, o = Ze(n), s = Ze(r);
3383
3383
  if (!o || o === s)
3384
3384
  return i;
3385
3385
  var l = i[o];
@@ -3392,7 +3392,7 @@ var Zm = function(e) {
3392
3392
  previousImpact: i,
3393
3393
  impact: o,
3394
3394
  droppables: r
3395
- }), l = Qe(o);
3395
+ }), l = Ze(o);
3396
3396
  if (!l)
3397
3397
  return s;
3398
3398
  var c = r[l];
@@ -3401,7 +3401,7 @@ var Zm = function(e) {
3401
3401
  var u = Hl(c, t, n);
3402
3402
  return hi(s, u);
3403
3403
  }, Bn = function(e) {
3404
- var t = e.state, n = e.clientSelection, r = e.dimensions, i = e.viewport, o = e.impact, s = e.scrollJumpRequest, l = i || t.viewport, c = r || t.dimensions, u = n || t.current.client.selection, d = Xe(u, t.initial.client.selection), p = {
3404
+ var t = e.state, n = e.clientSelection, r = e.dimensions, i = e.viewport, o = e.impact, s = e.scrollJumpRequest, l = i || t.viewport, c = r || t.dimensions, u = n || t.current.client.selection, d = Je(u, t.initial.client.selection), p = {
3405
3405
  offset: d,
3406
3406
  selection: u,
3407
3407
  borderBoxCenter: Fe(t.initial.client.borderBoxCenter, d)
@@ -3481,7 +3481,7 @@ var Kl = function(e) {
3481
3481
  }, Jl = function(e) {
3482
3482
  var t = e.state, n = e.dimensions, r = e.viewport;
3483
3483
  t.movementMode !== "SNAP" && (process.env.NODE_ENV, D());
3484
- var i = t.impact, o = r || t.viewport, s = n || t.dimensions, l = s.draggables, c = s.droppables, u = l[t.critical.draggable.id], d = Qe(i);
3484
+ var i = t.impact, o = r || t.viewport, s = n || t.dimensions, l = s.draggables, c = s.droppables, u = l[t.critical.draggable.id], d = Ze(i);
3485
3485
  d || (process.env.NODE_ENV !== "production" ? D(!1, "Must be over a destination in SNAP movement mode") : D());
3486
3486
  var p = c[d], f = Kl({
3487
3487
  impact: i,
@@ -3584,7 +3584,7 @@ var Kl = function(e) {
3584
3584
  var l = {
3585
3585
  droppables: i,
3586
3586
  draggables: s
3587
- }, c = Qe(t.impact), u = c ? l.droppables[c] : null, d = l.draggables[t.critical.draggable.id], p = l.droppables[t.critical.droppable.id], f = Ql({
3587
+ }, c = Ze(t.impact), u = c ? l.droppables[c] : null, d = l.draggables[t.critical.draggable.id], p = l.droppables[t.critical.droppable.id], f = Ql({
3588
3588
  draggable: d,
3589
3589
  home: p,
3590
3590
  draggables: s,
@@ -4043,14 +4043,14 @@ var Og = function(e) {
4043
4043
  var o = i / Lo, s = Ba + Tg * o, l = r === "CANCEL" ? s * Ag : s;
4044
4044
  return Number(l.toFixed(2));
4045
4045
  }, kg = function(e) {
4046
- var t = e.impact, n = e.draggable, r = e.dimensions, i = e.viewport, o = e.afterCritical, s = r.draggables, l = r.droppables, c = Qe(t), u = c ? l[c] : null, d = l[n.descriptor.droppableId], p = Xl({
4046
+ var t = e.impact, n = e.draggable, r = e.dimensions, i = e.viewport, o = e.afterCritical, s = r.draggables, l = r.droppables, c = Ze(t), u = c ? l[c] : null, d = l[n.descriptor.droppableId], p = Xl({
4047
4047
  impact: t,
4048
4048
  draggable: n,
4049
4049
  draggables: s,
4050
4050
  afterCritical: o,
4051
4051
  droppable: u || d,
4052
4052
  viewport: i
4053
- }), f = Xe(p, n.client.borderBox.center);
4053
+ }), f = Je(p, n.client.borderBox.center);
4054
4054
  return f;
4055
4055
  }, Bg = function(e) {
4056
4056
  var t = e.draggables, n = e.reason, r = e.lastImpact, i = e.home, o = e.viewport, s = e.onLiftImpact;
@@ -4531,7 +4531,7 @@ function av(e) {
4531
4531
  };
4532
4532
  }
4533
4533
  var ac = function(e) {
4534
- var t = e.scrollHeight, n = e.scrollWidth, r = e.height, i = e.width, o = Xe({
4534
+ var t = e.scrollHeight, n = e.scrollWidth, r = e.height, i = e.width, o = Je({
4535
4535
  x: n,
4536
4536
  y: t
4537
4537
  }, {
@@ -4878,7 +4878,7 @@ var sv = function(e, t) {
4878
4878
  }
4879
4879
  var p = uv({
4880
4880
  center: s,
4881
- destination: Qe(t.impact),
4881
+ destination: Ze(t.impact),
4882
4882
  droppables: t.dimensions.droppables
4883
4883
  });
4884
4884
  if (p) {
@@ -4937,9 +4937,9 @@ var sv = function(e, t) {
4937
4937
  var p = xv(u, d);
4938
4938
  if (!p)
4939
4939
  return n(u.descriptor.id, d), null;
4940
- var f = Xe(d, p);
4940
+ var f = Je(d, p);
4941
4941
  n(u.descriptor.id, f);
4942
- var m = Xe(d, f);
4942
+ var m = Je(d, f);
4943
4943
  return m;
4944
4944
  }, s = function(u, d, p) {
4945
4945
  if (!u || !Di(d, p))
@@ -4947,14 +4947,14 @@ var sv = function(e, t) {
4947
4947
  var f = bv(d, p);
4948
4948
  if (!f)
4949
4949
  return r(p), null;
4950
- var m = Xe(p, f);
4950
+ var m = Je(p, f);
4951
4951
  r(m);
4952
- var g = Xe(p, m);
4952
+ var g = Je(p, m);
4953
4953
  return g;
4954
4954
  }, l = function(u) {
4955
4955
  var d = u.scrollJumpRequest;
4956
4956
  if (d) {
4957
- var p = Qe(u.impact);
4957
+ var p = Ze(u.impact);
4958
4958
  p || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot perform a jump scroll when there is no destination") : D());
4959
4959
  var f = o(u.dimensions.droppables[p], d);
4960
4960
  if (f) {
@@ -5075,7 +5075,7 @@ var sv = function(e, t) {
5075
5075
  dropAnimating: Pn(s, "dropAnimating"),
5076
5076
  userCancel: Pn(s, "userCancel")
5077
5077
  };
5078
- }, Ze = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Qa : U, pa = function() {
5078
+ }, et = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Qa : U, pa = function() {
5079
5079
  var t = document.querySelector("head");
5080
5080
  return t || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot find the head to append a style to") : D()), t;
5081
5081
  }, Wo = function(t) {
@@ -5092,7 +5092,7 @@ function _v(e, t) {
5092
5092
  var f = r.current;
5093
5093
  f || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot set dynamic style element if it is not set") : D()), f.textContent = p;
5094
5094
  }, []);
5095
- Ze(function() {
5095
+ et(function() {
5096
5096
  !r.current && !i.current || (process.env.NODE_ENV !== "production" ? D(!1, "style elements already mounted") : D());
5097
5097
  var p = Wo(t), f = Wo(t);
5098
5098
  return r.current = p, i.current = f, p.setAttribute(bn + "-always", e), f.setAttribute(bn + "-dynamic", e), pa().appendChild(p), pa().appendChild(f), s(n.always), o(n.resting), function() {
@@ -5163,7 +5163,7 @@ function Ov(e) {
5163
5163
  var m = document.activeElement;
5164
5164
  m && m.getAttribute(xn.draggableId) === f && (n.current = f);
5165
5165
  }, []);
5166
- Ze(function() {
5166
+ et(function() {
5167
5167
  return i.current = !0, function() {
5168
5168
  i.current = !1;
5169
5169
  var f = r.current;
@@ -5634,7 +5634,7 @@ function oh(e) {
5634
5634
  actions: p
5635
5635
  }, c();
5636
5636
  }, [c]);
5637
- Ze(function() {
5637
+ et(function() {
5638
5638
  return o(), function() {
5639
5639
  n.current();
5640
5640
  };
@@ -5744,7 +5744,7 @@ function dh(e) {
5744
5744
  };
5745
5745
  t.current = at(window, [n], o);
5746
5746
  }, [n]);
5747
- Ze(function() {
5747
+ et(function() {
5748
5748
  return r(), function() {
5749
5749
  t.current();
5750
5750
  };
@@ -5923,13 +5923,13 @@ function gh(e) {
5923
5923
  longPressTimerId: h
5924
5924
  }), u();
5925
5925
  }, [u, r, i, d]);
5926
- Ze(function() {
5926
+ et(function() {
5927
5927
  return s(), function() {
5928
5928
  n.current();
5929
5929
  var g = r();
5930
5930
  g.type === "PENDING" && (clearTimeout(g.longPressTimerId), i(ma));
5931
5931
  };
5932
- }, [r, s, i]), Ze(function() {
5932
+ }, [r, s, i]), et(function() {
5933
5933
  var m = at(window, [{
5934
5934
  eventName: "touchmove",
5935
5935
  fn: function() {
@@ -6199,13 +6199,13 @@ function Oh(e) {
6199
6199
  })[0], c = ee(function(x, N) {
6200
6200
  x.isDragging && !N.isDragging && l.tryAbandon();
6201
6201
  }, [l]);
6202
- Ze(function() {
6202
+ et(function() {
6203
6203
  var x = n.getState(), N = n.subscribe(function() {
6204
6204
  var w = n.getState();
6205
6205
  c(x, w), x = w;
6206
6206
  });
6207
6207
  return N;
6208
- }, [l, n, c]), Ze(function() {
6208
+ }, [l, n, c]), et(function() {
6209
6209
  return l.tryAbandon;
6210
6210
  }, [l.tryAbandon]);
6211
6211
  var u = ee(function(v) {
@@ -6606,13 +6606,13 @@ function Kh(e) {
6606
6606
  callbacks: x
6607
6607
  };
6608
6608
  }, [x, l, r]);
6609
- Ze(function() {
6609
+ et(function() {
6610
6610
  return c.current = N.descriptor, i.droppable.register(N), function() {
6611
6611
  t.current && (process.env.NODE_ENV !== "production" && Ee("Unsupported: changing the droppableId or type of a Droppable during a drag"), b()), i.droppable.unregister(N);
6612
6612
  };
6613
- }, [x, l, b, N, o, i.droppable]), Ze(function() {
6613
+ }, [x, l, b, N, o, i.droppable]), et(function() {
6614
6614
  t.current && o.updateDroppableIsEnabled(c.current.id, !e.isDropDisabled);
6615
- }, [e.isDropDisabled, o]), Ze(function() {
6615
+ }, [e.isDropDisabled, o]), et(function() {
6616
6616
  t.current && o.updateDroppableIsCombineEnabled(c.current.id, e.isCombineEnabled);
6617
6617
  }, [e.isCombineEnabled, o]);
6618
6618
  }
@@ -6839,11 +6839,11 @@ function pb(e) {
6839
6839
  getDimension: u
6840
6840
  };
6841
6841
  }, [n, u, c, t]), p = ae(d), f = ae(!0);
6842
- Ze(function() {
6842
+ et(function() {
6843
6843
  return r.draggable.register(p.current), function() {
6844
6844
  return r.draggable.unregister(p.current);
6845
6845
  };
6846
- }, [r.draggable]), Ze(function() {
6846
+ }, [r.draggable]), et(function() {
6847
6847
  if (f.current) {
6848
6848
  f.current = !1;
6849
6849
  return;
@@ -6980,7 +6980,7 @@ function xb() {
6980
6980
  if (o.isDragging) {
6981
6981
  if (o.critical.draggable.id !== s.draggableId)
6982
6982
  return null;
6983
- var l = o.current.client.offset, c = o.dimensions.draggables[s.draggableId], u = Qe(o.impact), d = bb(o.impact), p = o.forceShouldAnimate;
6983
+ var l = o.current.client.offset, c = o.dimensions.draggables[s.draggableId], u = Ze(o.impact), d = bb(o.impact), p = o.forceShouldAnimate;
6984
6984
  return n(e(l.x, l.y), o.movementMode, c, s.isClone, u, d, p);
6985
6985
  }
6986
6986
  if (o.phase === "DROP_ANIMATING") {
@@ -7248,7 +7248,7 @@ var ba = function(t, n) {
7248
7248
  var m = l.critical;
7249
7249
  if (!ba(d, m))
7250
7250
  return n;
7251
- var g = Zo(m, l.dimensions), h = Qe(l.impact) === u;
7251
+ var g = Zo(m, l.dimensions), h = Ze(l.impact) === u;
7252
7252
  return i(u, p, h, h, g, f);
7253
7253
  }
7254
7254
  if (l.phase === "DROP_ANIMATING") {
@@ -7256,13 +7256,13 @@ var ba = function(t, n) {
7256
7256
  if (!ba(d, b.critical))
7257
7257
  return n;
7258
7258
  var v = Zo(b.critical, l.dimensions);
7259
- return i(u, p, Nc(b.result) === u, Qe(b.impact) === u, v, f);
7259
+ return i(u, p, Nc(b.result) === u, Ze(b.impact) === u, v, f);
7260
7260
  }
7261
7261
  if (l.phase === "IDLE" && l.completed && !l.shouldFlush) {
7262
7262
  var x = l.completed;
7263
7263
  if (!ba(d, x.critical))
7264
7264
  return n;
7265
- var N = Qe(x.impact) === u, w = !!(x.impact.at && x.impact.at.type === "COMBINE"), y = x.critical.droppable.id === u;
7265
+ var N = Ze(x.impact) === u, w = !!(x.impact.at && x.impact.at.type === "COMBINE"), y = x.critical.droppable.id === u;
7266
7266
  return N ? w ? t : n : y ? t : n;
7267
7267
  }
7268
7268
  return n;
@@ -7629,7 +7629,7 @@ const _c = ({ src: e, alt: t, baseUrl: n, customToken: r, placeholder: i, render
7629
7629
  /* @__PURE__ */ a.jsx("div", { className: _("text-primary", Ut.stepIcon), children: n.icon ?? /* @__PURE__ */ a.jsx(Rd, {}) })
7630
7630
  ] }) })
7631
7631
  ] }, r)) }), wx = (e, t, n, r = !0) => {
7632
- const i = Ke({ silent: r, differentBaseUrl: t, customToken: n }), [o, s] = B(!1), [l, c] = B(null), u = R(async (d) => {
7632
+ const i = Xe({ silent: r, differentBaseUrl: t, customToken: n }), [o, s] = B(!1), [l, c] = B(null), u = R(async (d) => {
7633
7633
  s(!0), c(null), i.get(e, {
7634
7634
  signal: d,
7635
7635
  responseType: "blob"
@@ -7828,7 +7828,7 @@ const _c = ({ src: e, alt: t, baseUrl: n, customToken: r, placeholder: i, render
7828
7828
  ] })
7829
7829
  ] })
7830
7830
  ] });
7831
- }, iN = ({ value: e, label: t, InputContainer: n = en, className: r, withoutLabel: i, hidden: o, disabled: s, contactType: l, ...c }) => o ? null : /* @__PURE__ */ a.jsx(Oc, { contactType: l, value: e, withoutLabel: i, label: t, className: r, children: /* @__PURE__ */ a.jsx(Je, { type: "text", value: e, disabled: s, InputContainer: n, size: "sm", withoutLabel: !0, ...c }) }), oN = ({ InputContainer: e = en, items: t, selectedItemNavigateTo: n, onSearchQueryChange: r, texts: i, isLoading: o, value: s, onSelect: l, label: c, withoutLabel: u, size: d, dropdownItemsNameWidth: p, additionalColumns: f, hidden: m, disabled: g, displayIdAsName: h, CustomOnChangeComponent: b, className: v, archiveColumn: x, icon: N, hint: w, addNewOptionPath: y, refreshOptions: j, MiniDetailComponent: S, miniDetailPlacement: E, suggestedItems: I, suggestedItemsTitle: O, customEllipsisOptions: T }) => {
7831
+ }, iN = ({ value: e, label: t, InputContainer: n = en, className: r, withoutLabel: i, hidden: o, disabled: s, contactType: l, ...c }) => o ? null : /* @__PURE__ */ a.jsx(Oc, { contactType: l, value: e, withoutLabel: i, label: t, className: r, children: /* @__PURE__ */ a.jsx(Qe, { type: "text", value: e, disabled: s, InputContainer: n, size: "sm", withoutLabel: !0, ...c }) }), oN = ({ InputContainer: e = en, items: t, selectedItemNavigateTo: n, onSearchQueryChange: r, texts: i, isLoading: o, value: s, onSelect: l, label: c, withoutLabel: u, size: d, dropdownItemsNameWidth: p, additionalColumns: f, hidden: m, disabled: g, displayIdAsName: h, CustomOnChangeComponent: b, className: v, archiveColumn: x, icon: N, hint: w, addNewOptionPath: y, refreshOptions: j, MiniDetailComponent: S, miniDetailPlacement: E, suggestedItems: I, suggestedItemsTitle: O, customEllipsisOptions: T }) => {
7832
7832
  const [M, C] = B(!1), P = R((W) => {
7833
7833
  l && l(W);
7834
7834
  }, [l]), z = R((W) => {
@@ -8626,9 +8626,9 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
8626
8626
  c(-1);
8627
8627
  }, children: /* @__PURE__ */ a.jsx(o, { icon: "chevron-left" }) }),
8628
8628
  /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
8629
- /* @__PURE__ */ a.jsx(Je, { type: "date", value: e.from, onChange: (m) => d("from", m === null ? null : m.toString()), InputContainer: ct, size: r }),
8629
+ /* @__PURE__ */ a.jsx(Qe, { type: "date", value: e.from, onChange: (m) => d("from", m === null ? null : m.toString()), InputContainer: ct, size: r }),
8630
8630
  /* @__PURE__ */ a.jsx(Mt, { toggle: /* @__PURE__ */ a.jsx(Ft, { text: i[ss.find((m) => m[0] === s)[1]].substring(0, 1), as: Md }), children: ss.map((m) => /* @__PURE__ */ a.jsx(Ye, { disabled: m[0] === s, className: _(m[0] === s ? "text-black-50" : ""), onClick: () => u(m[0]), role: "button", children: i[m[1]] }, m[0])) }),
8631
- /* @__PURE__ */ a.jsx(Je, { type: "date", value: e.to, onChange: (m) => d("to", m === null ? null : m.toString()), InputContainer: ct, size: r })
8631
+ /* @__PURE__ */ a.jsx(Qe, { type: "date", value: e.to, onChange: (m) => d("to", m === null ? null : m.toString()), InputContainer: ct, size: r })
8632
8632
  ] }) }),
8633
8633
  /* @__PURE__ */ a.jsx(te, { disabled: p, onClick: () => {
8634
8634
  c(1);
@@ -8914,15 +8914,15 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
8914
8914
  const h = g || i ? !0 : r ? !o : !1;
8915
8915
  switch (e) {
8916
8916
  case "NUM":
8917
- return s && s.length > 0 ? f ? /* @__PURE__ */ a.jsx(us, { field: n, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (v) => c(n, v), valuesForSelect: s, disabled: h }) : /* @__PURE__ */ a.jsx(ft, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (v) => c(n, v === null ? null : Number(v)), options: s, disabled: h, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ a.jsx(Je, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", type: "number", value: t === null ? null : Number(t), onChange: (v) => c(n, v === null ? null : Number(v)), disabled: h, showClearIcon: !u, clearValue: d });
8917
+ return s && s.length > 0 ? f ? /* @__PURE__ */ a.jsx(us, { field: n, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (v) => c(n, v), valuesForSelect: s, disabled: h }) : /* @__PURE__ */ a.jsx(ft, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (v) => c(n, v === null ? null : Number(v)), options: s, disabled: h, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ a.jsx(Qe, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", type: "number", value: t === null ? null : Number(t), onChange: (v) => c(n, v === null ? null : Number(v)), disabled: h, showClearIcon: !u, clearValue: d });
8918
8918
  case "STR":
8919
8919
  return s && s.length > 0 ? f ? /* @__PURE__ */ a.jsx(us, { field: n, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (v) => {
8920
8920
  c(n, v);
8921
- }, valuesForSelect: s, disabled: h }) : /* @__PURE__ */ a.jsx(ft, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (v) => c(n, (v == null ? void 0 : v.toString()) ?? null), options: s, disabled: h, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ a.jsx(Je, { withoutLabel: !0, InputContainer: ct, className: _(jt.input, jt.longer), size: "sm", type: "text", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (v) => c(n, (v == null ? void 0 : v.toString()) ?? null), disabled: h, showClearIcon: !u, clearValue: d });
8921
+ }, valuesForSelect: s, disabled: h }) : /* @__PURE__ */ a.jsx(ft, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (v) => c(n, (v == null ? void 0 : v.toString()) ?? null), options: s, disabled: h, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ a.jsx(Qe, { withoutLabel: !0, InputContainer: ct, className: _(jt.input, jt.longer), size: "sm", type: "text", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (v) => c(n, (v == null ? void 0 : v.toString()) ?? null), disabled: h, showClearIcon: !u, clearValue: d });
8922
8922
  case "BIT":
8923
8923
  return /* @__PURE__ */ a.jsx(Xn, { InputContainer: ct, className: jt.input, value: t === !0, onChange: (v) => c(n, v), disabled: h });
8924
8924
  case "DT":
8925
- return /* @__PURE__ */ a.jsx(Je, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", type: "date", value: t ? t.toString().split("T")[0] ?? "" : "", onChange: (v) => c(n, (v == null ? void 0 : v.toString()) ?? null), disabled: h, showClearIcon: !u, clearValue: d });
8925
+ return /* @__PURE__ */ a.jsx(Qe, { withoutLabel: !0, InputContainer: ct, className: jt.input, size: "sm", type: "date", value: t ? t.toString().split("T")[0] ?? "" : "", onChange: (v) => c(n, (v == null ? void 0 : v.toString()) ?? null), disabled: h, showClearIcon: !u, clearValue: d });
8926
8926
  default: {
8927
8927
  const v = p == null ? void 0 : p.find((x) => x.type === e);
8928
8928
  return v ? /* @__PURE__ */ a.jsx(v.picker, { className: _(jt.input, jt.longer), value: t ? {
@@ -9100,7 +9100,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
9100
9100
  g.map((b) => /* @__PURE__ */ a.jsx("th", { className: _("table-head", Ce.tableHead), children: b.valuesForSelect && b.valuesForSelect.length > 0 || b.type === "BIT" ? /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(ft, { InputContainer: ct, withoutLabel: !0, size: "sm", value: o[b.field] ?? "", onChange: (v) => s(b.field, (v == null ? void 0 : v.toString()) ?? null), options: b.type === "BIT" ? [
9101
9101
  { id: 1, name: m.yes },
9102
9102
  { id: 0, name: m.no }
9103
- ] : b.valuesForSelect ?? [], isNumber: b.type === "BIT", showClearIcon: !0, dropdownWidth: 200 }) }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(Je, { InputContainer: ct, withoutLabel: !0, size: "sm", type: b.type === "NUM" ? "number" : b.type === "DT" ? "date" : "text", value: o[b.field] ?? "", onChange: (v) => s(b.field, (v == null ? void 0 : v.toString()) ?? null) }) }) }, `${e.id}-${b.field}`)),
9103
+ ] : b.valuesForSelect ?? [], isNumber: b.type === "BIT", showClearIcon: !0, dropdownWidth: 200 }) }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(Qe, { InputContainer: ct, withoutLabel: !0, size: "sm", type: b.type === "NUM" ? "number" : b.type === "DT" ? "date" : "text", value: o[b.field] ?? "", onChange: (v) => s(b.field, (v == null ? void 0 : v.toString()) ?? null) }) }) }, `${e.id}-${b.field}`)),
9104
9104
  /* @__PURE__ */ a.jsx("th", { className: _("table-head", Ce.tableHead, Ce.actionColumn, Ce.stickyLast) })
9105
9105
  ] })
9106
9106
  ] }),
@@ -9122,7 +9122,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
9122
9122
  apiExportGet: "/dynamicForms/export"
9123
9123
  }, mN = ({ id: e, page: t, setPage: n, filters: r, setFilter: i, sortByField: o, sortByType: s, setSortBy: l, appUrls: { appDetail: c = fs.appDetail } = fs, apiUrls: { apiSchemaGet: u = Ht.apiSchemaGet, apiDataGet: d = Ht.apiDataGet, apiItemPost: p = Ht.apiItemPost, apiItemDelete: f = Ht.apiItemDelete, apiItemCreate: m = Ht.apiItemCreate, apiExportGet: g = Ht.apiExportGet } = Ht, customPickers: h }) => {
9124
9124
  var Ve, ot, st, on, Bi, Li, Mi;
9125
- const { texts: { dynamicForms: b }, ProjectIconComponent: v } = $(X), x = Ke(), { startLoading: N, stopLoading: w } = $(xt), [y, j] = B(null), [S, E] = B(null), [I, O] = B(null), [T, M] = B(null), [C, P] = B(!1), { addNotification: z } = tn(), [F, V] = B([]), { confirm: q } = Dt(), H = 20, W = H + 1, A = T ? Math.ceil(T.length / H) : 1, K = t ? t > 1 : !1, Z = t ? t < A : !1, ne = t ? (t - 1) * H : 0, ve = t ? t * H : H, se = k(() => T ? T.length > W : !1, [T, W]), J = k(() => se ? (T == null ? void 0 : T.slice(ne, ve)) ?? null : T ?? null, [se, T, ne, ve]), [le, Ie] = Jt("masterId", null, "string"), [me, Q] = B(le);
9125
+ const { texts: { dynamicForms: b }, ProjectIconComponent: v } = $(X), x = Xe(), { startLoading: N, stopLoading: w } = $(xt), [y, j] = B(null), [S, E] = B(null), [I, O] = B(null), [T, M] = B(null), [C, P] = B(!1), { addNotification: z } = tn(), [F, V] = B([]), { confirm: q } = Dt(), H = 20, W = H + 1, A = T ? Math.ceil(T.length / H) : 1, K = t ? t > 1 : !1, Z = t ? t < A : !1, ne = t ? (t - 1) * H : 0, ve = t ? t * H : H, se = k(() => T ? T.length > W : !1, [T, W]), J = k(() => se ? (T == null ? void 0 : T.slice(ne, ve)) ?? null : T ?? null, [se, T, ne, ve]), [le, Ie] = Jt("masterId", null, "string"), [me, Q] = B(le);
9126
9126
  U(() => {
9127
9127
  j(null), E(null), P(!1), V([]);
9128
9128
  }, [e]), U(() => {
@@ -9304,7 +9304,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
9304
9304
  ] })
9305
9305
  ] }),
9306
9306
  (y == null ? void 0 : y.description) && /* @__PURE__ */ a.jsx(L, { variant: "body2", className: "mb-3", children: y == null ? void 0 : y.description }),
9307
- y != null && y.masterReference && !me ? /* @__PURE__ */ a.jsx(et, { variant: "warning", children: b.selectMaster(((Mi = (Li = y.columns) == null ? void 0 : Li.find((ce) => ce.field === y.masterReferenceColumn)) == null ? void 0 : Mi.caption) ?? "").toLowerCase() }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
9307
+ y != null && y.masterReference && !me ? /* @__PURE__ */ a.jsx(Ke, { variant: "warning", children: b.selectMaster(((Mi = (Li = y.columns) == null ? void 0 : Li.find((ce) => ce.field === y.masterReferenceColumn)) == null ? void 0 : Mi.caption) ?? "").toLowerCase() }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
9308
9308
  y && F.length > 0 && /* @__PURE__ */ a.jsx("div", { className: "mb-2", children: /* @__PURE__ */ a.jsx(dy, { errors: F, schema: y }) }),
9309
9309
  y && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
9310
9310
  /* @__PURE__ */ a.jsx("div", { className: _("rounded border overflow-auto", ps.tableContainer), children: /* @__PURE__ */ a.jsx(By, { schema: y, items: !se && T && (T == null ? void 0 : T.length) > W ? [] : (se ? J : T) ?? [], onEditItem: G, onDeleteItem: ie, onCreateItem: ge, filters: r, setFilter: i, sortByField: o, sortByType: s, setSortBy: l, selectedMaster: (me == null ? void 0 : me.toString()) ?? null, customPickers: h, appDetail: c }) }),
@@ -9339,7 +9339,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
9339
9339
  e.description && /* @__PURE__ */ a.jsx(L, { variant: "body2", className: "text-muted mt-2", children: e.description })
9340
9340
  ] }) : /* @__PURE__ */ a.jsx(Fy, { item: e, children: /* @__PURE__ */ a.jsx(vs, { disabled: !!o, to: `${vn(n, { id: (c = e.id) == null ? void 0 : c.toString() })}?type=${e.type}&search=${r ?? ""}`, className: `text-nowrap list-group-item list-group-item-action ${(i == null ? void 0 : i.toString()) === ((u = e.id) == null ? void 0 : u.toString()) ? "active" : ""}`, children: /* @__PURE__ */ a.jsx(L, { variant: "body2", children: e.name }) }) }, e.id);
9341
9341
  }, gN = ({ activeId: e, anchoredForms: t, otherForms: n = [], groupsDefs: r = [], searchQuery: i, fullSize: o, appUrls: { appDetail: s = ms.appDetail } = ms, apiUrls: { apiDynamicFormsGet: l = gs.apiDynamicFormsGet } = gs }) => {
9342
- const c = Ke(), { startLoading: u, stopLoading: d } = $(xt), [p, f] = B(null), [m] = Jt("search", ""), g = k(() => (t == null ? void 0 : t.filter((x) => qe(x.name, i) || qe(x.description, i)).sort((x, N) => (x.name ?? "").localeCompare(N.name ?? ""))) ?? [], [t, i]), h = k(() => [
9342
+ const c = Xe(), { startLoading: u, stopLoading: d } = $(xt), [p, f] = B(null), [m] = Jt("search", ""), g = k(() => (t == null ? void 0 : t.filter((x) => qe(x.name, i) || qe(x.description, i)).sort((x, N) => (x.name ?? "").localeCompare(N.name ?? ""))) ?? [], [t, i]), h = k(() => [
9343
9343
  ...(p == null ? void 0 : p.map((x) => ({
9344
9344
  ...x,
9345
9345
  type: "dynamic-form"
@@ -9948,7 +9948,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
9948
9948
  C && /* @__PURE__ */ a.jsx(rn, { message: C.message })
9949
9949
  ] });
9950
9950
  }, dw = (e, t) => {
9951
- const n = Ke(), r = Fr(), { startLoading: i, stopLoading: o } = $(xt), { zDateRequired: s, zNumberRequired: l } = Lr(), { addNotification: c } = tn(), { refreshAvailableDelegations: u } = $(Ws), { user: d } = $(Lt), { texts: { substitutions: { detail: p } } } = $(X), f = dn.object({
9951
+ const n = Xe(), r = Fr(), { startLoading: i, stopLoading: o } = $(xt), { zDateRequired: s, zNumberRequired: l } = Lr(), { addNotification: c } = tn(), { refreshAvailableDelegations: u } = $(Ws), { user: d } = $(Lt), { texts: { substitutions: { detail: p } } } = $(X), f = dn.object({
9952
9952
  id: l(),
9953
9953
  employeeId: l(),
9954
9954
  substituteId: l(),
@@ -9998,7 +9998,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
9998
9998
  }, [m, g]), { formSchema: f, onSubmit: h, formMethods: g };
9999
9999
  }, LN = ({ indexRoute: e }) => {
10000
10000
  var y;
10001
- const { id: t } = qs(), { user: n } = $(Lt), r = Ke(), i = Fr(), { confirm: o } = Dt(), { texts: { substitutions: { detail: s } } } = $(X), { data: l } = Be(`/permissions/substitutions/${t}`, {
10001
+ const { id: t } = qs(), { user: n } = $(Lt), r = Xe(), i = Fr(), { confirm: o } = Dt(), { texts: { substitutions: { detail: s } } } = $(X), { data: l } = Be(`/permissions/substitutions/${t}`, {
10002
10002
  enabled: t !== void 0
10003
10003
  }), { data: c } = Be("/permissions/users"), { onSubmit: u, formMethods: d } = dw(l, e), p = d.watch("employeeId"), { data: f } = Be(`/permissions/roles?userName=${(y = c == null ? void 0 : c.find((j) => j.employeeId === p)) == null ? void 0 : y.name}`, { enabled: p > 0 && !!c }), { refreshAvailableDelegations: m } = $(Ws), { checkUserHasPermissions: g } = Hs(), h = R(async () => {
10004
10004
  await o(s.deleteConfirm) && (await r.delete(`/permissions/substitutions/${t}`), m(), i(e));
@@ -10084,7 +10084,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
10084
10084
  }, [t, n]);
10085
10085
  return /* @__PURE__ */ a.jsx(e, { tableId: r, columnsDef: s, data: o, onRowClick: l, useSearchState: !0, useScrollableContainer: !0 });
10086
10086
  }, pw = (e, t = "/approval/delegation/runningProcess", n = "/approval/delegation", r = (i) => `/approval/delegation/${i}`) => {
10087
- const i = Ke(), { startLoading: o, stopLoading: s } = $(xt), l = R(async (d, p) => {
10087
+ const i = Xe(), { startLoading: o, stopLoading: s } = $(xt), l = R(async (d, p) => {
10088
10088
  let f = null;
10089
10089
  o("getHasRunningProcesses");
10090
10090
  try {
@@ -10174,7 +10174,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
10174
10174
  }, EmployeePickerComponent: l, apiApprovalDefinitions: i, apiHasRunningProcess: t, apiPostEditDelegation: n, apiDeleteDelegation: r })
10175
10175
  ] });
10176
10176
  }, mw = ({ show: e, handleClose: t, onConfirm: n, currentEmployee: r, approvalApproverId: i, apiPostChangeEmployee: o, EmployeePickerComponent: s }) => {
10177
- const { texts: { approval: l } } = $(X), { zNumberRequired: c } = Lr(), u = Ke(), { startLoading: d, stopLoading: p } = $(xt), { addNotification: f } = tn(), m = dn.object({
10177
+ const { texts: { approval: l } } = $(X), { zNumberRequired: c } = Lr(), u = Xe(), { startLoading: d, stopLoading: p } = $(xt), { addNotification: f } = tn(), m = dn.object({
10178
10178
  employeeId: c()
10179
10179
  }), g = Vr({
10180
10180
  resolver: Mr(m)
@@ -10251,7 +10251,7 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
10251
10251
  ] })
10252
10252
  ] }, l.id);
10253
10253
  }) }) : null }),
10254
- s && s.length === 0 ? /* @__PURE__ */ a.jsx(et, { variant: "secondary", size: "sm", children: i.delegations.noDelegations }) : null
10254
+ s && s.length === 0 ? /* @__PURE__ */ a.jsx(Ke, { variant: "secondary", size: "sm", children: i.delegations.noDelegations }) : null
10255
10255
  ] });
10256
10256
  }, hw = ({ approval: e, reloadApproval: t, appEmployeeDetail: n, apiPostChangeEmployee: r, apiApprovalDelegations: i, EmployeePickerComponent: o }) => {
10257
10257
  var l, c;
@@ -10308,10 +10308,10 @@ const ty = ({ InputContainer: e = en, value: t, onChange: n, debounceMs: r, labe
10308
10308
  /* @__PURE__ */ a.jsx(L, { variant: "h3", children: n.title }),
10309
10309
  /* @__PURE__ */ a.jsxs("div", { className: "d-flex gap-1 align-items-center justify-content-start", children: [
10310
10310
  /* @__PURE__ */ a.jsx(te, { onClick: () => l(-1), children: /* @__PURE__ */ a.jsx(t, { icon: "chevron-left" }) }),
10311
- /* @__PURE__ */ a.jsx(Je, { type: "date", withoutLabel: !0, value: r, onChange: (p) => i((p == null ? void 0 : p.toString()) ?? ""), size: "sm", className: "mb-1" }),
10311
+ /* @__PURE__ */ a.jsx(Qe, { type: "date", withoutLabel: !0, value: r, onChange: (p) => i((p == null ? void 0 : p.toString()) ?? ""), size: "sm", className: "mb-1" }),
10312
10312
  /* @__PURE__ */ a.jsx(te, { onClick: () => l(1), children: /* @__PURE__ */ a.jsx(t, { icon: "chevron-right" }) })
10313
10313
  ] })
10314
- ] }), children: s !== null && s.length < 1 ? /* @__PURE__ */ a.jsx(et, { variant: "warning", children: n.noMails }) : /* @__PURE__ */ a.jsxs("div", { className: "d-flex overflow-hidden gap-3 h-100", children: [
10314
+ ] }), children: s !== null && s.length < 1 ? /* @__PURE__ */ a.jsx(Ke, { variant: "warning", children: n.noMails }) : /* @__PURE__ */ a.jsxs("div", { className: "d-flex overflow-hidden gap-3 h-100", children: [
10315
10315
  /* @__PURE__ */ a.jsx("div", { className: "h-100 overflow-y-auto overflow-x-hidden", style: { minWidth: "260px" }, children: /* @__PURE__ */ a.jsx("div", { className: "list-group", children: s == null ? void 0 : s.map((p) => /* @__PURE__ */ a.jsxs("div", { role: "button", onClick: () => u(p.id), className: _("list-group-item list-group-item-action d-flex gap-3 justify-content-between p-2", { active: c === p.id }), children: [
10316
10316
  /* @__PURE__ */ a.jsx(L, { variant: "body2", children: p.subject }),
10317
10317
  /* @__PURE__ */ a.jsx(L, { variant: "caption", children: bt(pt(p.date ?? ""), "HH:mm") })
@@ -10517,7 +10517,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10517
10517
  }
10518
10518
  ) });
10519
10519
  }, jw = (e, t, n, r) => {
10520
- const { texts: { reports: i } } = $(X), { prompt: o } = Kd(), { confirm: s } = Dt(), l = Ke(), { user: c } = $(Lt), { startLoading: u, stopLoading: d } = $(xt), { addNotification: p } = tn(), f = R(async (v) => {
10520
+ const { texts: { reports: i } } = $(X), { prompt: o } = Kd(), { confirm: s } = Dt(), l = Xe(), { user: c } = $(Lt), { startLoading: u, stopLoading: d } = $(xt), { addNotification: p } = tn(), f = R(async (v) => {
10521
10521
  u("report-versionSavingAs");
10522
10522
  try {
10523
10523
  const x = await l.post("/reports/version", v);
@@ -10601,7 +10601,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10601
10601
  ]);
10602
10602
  return { saveAs: g, save: m, archive: h, detach: b };
10603
10603
  }, Nw = (e) => {
10604
- const t = Ke(), { startLoading: n, stopLoading: r } = $(xt);
10604
+ const t = Xe(), { startLoading: n, stopLoading: r } = $(xt);
10605
10605
  return { changeEmployeeRights: R(async (o, s) => {
10606
10606
  let l = null;
10607
10607
  n("reportSharing-addPerson");
@@ -10722,7 +10722,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10722
10722
  var J, le;
10723
10723
  v === null && x(((J = S == null ? void 0 : S.reportVersions.find((Ie) => Ie.isSystem === !0)) == null ? void 0 : J.reportVersionId) ?? ((le = S == null ? void 0 : S.reportVersions[0]) == null ? void 0 : le.reportVersionId) ?? null);
10724
10724
  }, [S == null ? void 0 : S.reportVersions, v, x]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10725
- /* @__PURE__ */ a.jsx(Nt, { variant: "fullScreen", title: /* @__PURE__ */ a.jsxs("div", { className: "d-flex justify-content-start gap-3", children: [
10725
+ /* @__PURE__ */ a.jsx(Nt, { variant: "fullScreen", title: /* @__PURE__ */ a.jsxs("div", { className: "d-flex justify-content-start gap-3 align-items-center", children: [
10726
10726
  /* @__PURE__ */ a.jsx(L, { variant: "h3", children: t }),
10727
10727
  r,
10728
10728
  /* @__PURE__ */ a.jsxs("div", { className: "d-flex gap-1 align-items-center", children: [
@@ -10740,7 +10740,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10740
10740
  ne && !(P != null && P.isSystem) ? /* @__PURE__ */ a.jsx(Ye, { color: "danger", onClick: se, children: f.detach }) : null
10741
10741
  ] })
10742
10742
  ] })
10743
- ] }), children: /* @__PURE__ */ a.jsx("div", { className: _("h-100 w-100", A.data && A.data.length > 0 ? "" : "d-none"), children: /* @__PURE__ */ a.jsx(ww, { dataSource: A, settings: O, pivotRef: y, enabled: A.data && A.data.length > 0, roomPasportization: p, localization: o, licenseKey: s, hyperlinkColumn: d }) }) }),
10743
+ ] }), children: A.data && A.data.length > 0 ? /* @__PURE__ */ a.jsx("div", { className: "h-100 w-100", children: /* @__PURE__ */ a.jsx(ww, { dataSource: A, settings: O, pivotRef: y, enabled: A.data && A.data.length > 0, roomPasportization: p, localization: o, licenseKey: s, hyperlinkColumn: d }) }) : /* @__PURE__ */ a.jsx(Ke, { children: f.emptyReportDataSource }) }),
10744
10744
  P !== null ? /* @__PURE__ */ a.jsx(
10745
10745
  Dw,
10746
10746
  {
@@ -10799,7 +10799,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10799
10799
  ] })
10800
10800
  ] }),
10801
10801
  !t && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10802
- e.length === 0 && /* @__PURE__ */ a.jsx(et, { variant: "info", size: "sm", className: "mt-2", children: s.noMessages }),
10802
+ e.length === 0 && /* @__PURE__ */ a.jsx(Ke, { variant: "info", size: "sm", className: "mt-2", children: s.noMessages }),
10803
10803
  /* @__PURE__ */ a.jsx("div", { className: "h-100 overflow-y-auto d-flex flex-column gap-2 luminus-thin-scrollbar", children: u.map((d) => /* @__PURE__ */ a.jsx(Iw, { message: d, onDeleteMessage: n, onClickMessage: r, getIcon: i, getLinksTo: o }, d.id)) })
10804
10804
  ] })
10805
10805
  ] });
@@ -10807,7 +10807,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10807
10807
  apiGet: "/messageBoard",
10808
10808
  apiDelete: "/messageBoard/"
10809
10809
  }, UN = ({ renderAsNotifPanel: e, notifIcon: t, apiUrls: { apiGet: n = ja.apiGet, apiDelete: r = ja.apiDelete } = ja, getIcon: i, getLinksTo: o }) => {
10810
- const l = Ke(), [c, u] = B([]), [d, p] = B(!1), [f, m] = B(!1), [g, h] = B(!1), b = R(async () => {
10810
+ const l = Xe(), [c, u] = B([]), [d, p] = B(!1), [f, m] = B(!1), [g, h] = B(!1), b = R(async () => {
10811
10811
  m(!0), await l.get(n).then(({ data: y }) => {
10812
10812
  u(y), p(!0), m(!1);
10813
10813
  }).catch(() => {
@@ -10895,7 +10895,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10895
10895
  r({ ...e, icon: s, name: c });
10896
10896
  }, [r, s, c, e]);
10897
10897
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10898
- /* @__PURE__ */ a.jsx("td", { className: "align-middle", children: /* @__PURE__ */ a.jsx(Je, { type: "text", maxLength: 20, value: c, onChange: u, className: "d-flex-grow-1", InputContainer: ct, size: "sm" }) }),
10898
+ /* @__PURE__ */ a.jsx("td", { className: "align-middle", children: /* @__PURE__ */ a.jsx(Qe, { type: "text", maxLength: 20, value: c, onChange: u, className: "d-flex-grow-1", InputContainer: ct, size: "sm" }) }),
10899
10899
  /* @__PURE__ */ a.jsx("td", { className: "align-middle", children: /* @__PURE__ */ a.jsx("div", { className: "d-flex justify-content-center align-items-center", children: /* @__PURE__ */ a.jsx(Gc, { icon: s, setIcon: l, IconComponent: t, IconTypeArray: n }) }) }),
10900
10900
  /* @__PURE__ */ a.jsx("td", { className: "align-middle", style: { width: "7em" }, children: /* @__PURE__ */ a.jsxs("div", { className: "d-flex gap-2 align-items-center justify-content-end", children: [
10901
10901
  d && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -10926,7 +10926,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10926
10926
  /* @__PURE__ */ a.jsx("th", {})
10927
10927
  ] }) }),
10928
10928
  /* @__PURE__ */ a.jsx("tbody", { children: r == null ? void 0 : r.map((s) => /* @__PURE__ */ a.jsx(Uw, { shortcutLink: s, IconComponent: e, IconTypeArray: t, editShortcutLink: i, deleteShortcutLink: o }, s.id)) })
10929
- ] }) : /* @__PURE__ */ a.jsx(et, { variant: "info", size: "sm", children: n.shortcutLinks.addLinksToEditThemHereInfo }) });
10929
+ ] }) : /* @__PURE__ */ a.jsx(Ke, { variant: "info", size: "sm", children: n.shortcutLinks.addLinksToEditThemHereInfo }) });
10930
10930
  }, $a = 5, Hw = "_linkButton_pnlvi_1", Ww = "_linkAddButton_pnlvi_31", zw = "_createLinkRow_pnlvi_39", fn = {
10931
10931
  linkButton: Hw,
10932
10932
  linkAddButton: Ww,
@@ -10949,7 +10949,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10949
10949
  ] }),
10950
10950
  /* @__PURE__ */ a.jsxs("div", { className: fn.createLinkRow, children: [
10951
10951
  /* @__PURE__ */ a.jsx(L, { variant: "form-label", className: "pe-3 text-end", children: l.shortcutLinks.name }),
10952
- /* @__PURE__ */ a.jsx("div", { className: "d-flex align-items-middle fw-bold", children: /* @__PURE__ */ a.jsx(Je, { type: "text", maxLength: 25, value: d, onChange: p, className: "w-100", InputContainer: Te, withoutLabel: !0 }) })
10952
+ /* @__PURE__ */ a.jsx("div", { className: "d-flex align-items-middle fw-bold", children: /* @__PURE__ */ a.jsx(Qe, { type: "text", maxLength: 25, value: d, onChange: p, className: "w-100", InputContainer: Te, withoutLabel: !0 }) })
10953
10953
  ] }),
10954
10954
  /* @__PURE__ */ a.jsxs("div", { className: fn.createLinkRow, children: [
10955
10955
  /* @__PURE__ */ a.jsx(L, { variant: "form-label", className: "pe-3 text-end", children: l.shortcutLinks.icon }),
@@ -10971,7 +10971,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
10971
10971
  o && /* @__PURE__ */ a.jsx(Kw, { IconComponent: e, IconTypeArray: t, pageTitlePrefix: n, createLink: i })
10972
10972
  ] }) });
10973
10973
  }, Xw = (e) => {
10974
- const t = Ke(), { startLoading: n, stopLoading: r } = $(xt), i = R(async (l) => {
10974
+ const t = Xe(), { startLoading: n, stopLoading: r } = $(xt), i = R(async (l) => {
10975
10975
  n("submit-createShortcutLink");
10976
10976
  try {
10977
10977
  await t.post(`/dynamicForms/insert?referenceId=${e}`, l);
@@ -11067,7 +11067,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11067
11067
  /* @__PURE__ */ a.jsx(L, { className: "text-truncate text-primary", variant: "subtitle", children: p.subjectTemplate }),
11068
11068
  /* @__PURE__ */ a.jsx(te, { size: "sm", onClick: () => d(!0), children: /* @__PURE__ */ a.jsx(c, { icon: "add" }) })
11069
11069
  ] }),
11070
- /* @__PURE__ */ a.jsx("div", { className: "my-2 ps-3 pe-2", children: p.targets.length > 0 ? /* @__PURE__ */ a.jsx(Qw, { targets: p.targets, removeNotifTarget: o }) : /* @__PURE__ */ a.jsx(et, { size: "sm", variant: "warning", children: l.noTargets }) })
11070
+ /* @__PURE__ */ a.jsx("div", { className: "my-2 ps-3 pe-2", children: p.targets.length > 0 ? /* @__PURE__ */ a.jsx(Qw, { targets: p.targets, removeNotifTarget: o }) : /* @__PURE__ */ a.jsx(Ke, { size: "sm", variant: "warning", children: l.noTargets }) })
11071
11071
  ] }, p.id)) }),
11072
11072
  /* @__PURE__ */ a.jsx(Zw, { show: u, onHide: () => d(!1), roles: r ?? [], onAddTarget: i, EmployeePicker: s, templateId: t })
11073
11073
  ] });
@@ -11178,7 +11178,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11178
11178
  }, EmployeePicker: c }) }),
11179
11179
  f && /* @__PURE__ */ a.jsx("div", { className: "h-75 w-75 overflow-hidden border rounded bg-white", children: /* @__PURE__ */ a.jsx("iframe", { title: "notification", className: "w-100 h-100", srcDoc: (g == null ? void 0 : g.message) ?? ((W = P.find((A) => A.id === f)) == null ? void 0 : W.textTemplate) }) }),
11180
11180
  f && /* @__PURE__ */ a.jsx("div", { className: "w-25 h-75 overflow-y-scroll", children: O.length > 0 ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
11181
- /* @__PURE__ */ a.jsx(Je, { type: "text", value: x, onChange: (A) => N((A == null ? void 0 : A.toString()) ?? ""), InputContainer: en, label: u.historyLookup, size: "sm", className: "mx-1 mb-1" }),
11181
+ /* @__PURE__ */ a.jsx(Qe, { type: "text", value: x, onChange: (A) => N((A == null ? void 0 : A.toString()) ?? ""), InputContainer: en, label: u.historyLookup, size: "sm", className: "mx-1 mb-1" }),
11182
11182
  /* @__PURE__ */ a.jsx("div", { children: O.filter((A) => {
11183
11183
  var K;
11184
11184
  return x ? (K = A.recipients) == null ? void 0 : K.map((Z) => Z.name).join(",").toLocaleLowerCase().includes(x) : A;
@@ -11189,7 +11189,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11189
11189
  /* @__PURE__ */ a.jsx("div", { className: "d-flex gap-1", children: (K = A.recipients) == null ? void 0 : K.map((Z) => /* @__PURE__ */ a.jsx(L, { variant: "caption", children: `${Z.name}` }, Z.email)) })
11190
11190
  ] }, A.id);
11191
11191
  }) })
11192
- ] }) : /* @__PURE__ */ a.jsx(et, { variant: "warning", children: "Empty" }) }),
11192
+ ] }) : /* @__PURE__ */ a.jsx(Ke, { variant: "warning", children: "Empty" }) }),
11193
11193
  /* @__PURE__ */ a.jsx(tj, { show: b, onHide: () => v(!1), template: P.find((A) => A.id === f) ?? null, onEdit: F })
11194
11194
  ] })
11195
11195
  ] });
@@ -11294,7 +11294,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11294
11294
  width: 500
11295
11295
  }
11296
11296
  ], [i.row, i.column, i.error]);
11297
- return e ? /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(et, { variant: e.success ? "success" : "danger", size: "sm", className: "mb-2 p-2", children: /* @__PURE__ */ a.jsxs("div", { className: "d-flex gap-3 align-items-start", children: [
11297
+ return e ? /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(Ke, { variant: e.success ? "success" : "danger", size: "sm", className: "mb-2 p-2", children: /* @__PURE__ */ a.jsxs("div", { className: "d-flex gap-3 align-items-start", children: [
11298
11298
  /* @__PURE__ */ a.jsxs("div", { className: "w-100", children: [
11299
11299
  /* @__PURE__ */ a.jsx("div", { className: "w-100 text-center", children: e.success ? i.importSuccess : i.importFailed }),
11300
11300
  e.success && ((l = e.data) != null && l.added || (c = e.data) != null && c.updated || (u = e.data) != null && u.deleted) ? /* @__PURE__ */ a.jsx("div", { className: "d-flex justify-content-center mt-2", children: /* @__PURE__ */ a.jsxs("div", { className: "list-group", children: [
@@ -11379,7 +11379,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11379
11379
  await i([{ fileName: e + ".json", items: [{ key: n, value: l }] }]), await r();
11380
11380
  }, [n, r, i, e, l]), d = k(() => l !== s, [s, l]);
11381
11381
  return /* @__PURE__ */ a.jsxs("div", { className: "d-flex", children: [
11382
- /* @__PURE__ */ a.jsx(Je, { label: e + n, type: "text", value: l, onChange: (p) => {
11382
+ /* @__PURE__ */ a.jsx(Qe, { label: e + n, type: "text", value: l, onChange: (p) => {
11383
11383
  c(typeof p != "string" ? "" : p);
11384
11384
  }, InputContainer: Te, withoutLabel: !0, className: "flex-grow-1" }),
11385
11385
  d ? /* @__PURE__ */ a.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
@@ -11461,7 +11461,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11461
11461
  E(u);
11462
11462
  }, [E, u, j]), U(() => {
11463
11463
  I();
11464
- }, [I]), s === void 0 ? /* @__PURE__ */ a.jsx(Nt, { children: /* @__PURE__ */ a.jsxs(et, { variant: "danger", className: "fw-bold", children: [
11464
+ }, [I]), s === void 0 ? /* @__PURE__ */ a.jsx(Nt, { children: /* @__PURE__ */ a.jsxs(Ke, { variant: "danger", className: "fw-bold", children: [
11465
11465
  l.cantRunLocalizationSettings,
11466
11466
  /* @__PURE__ */ a.jsx("br", {}),
11467
11467
  /* @__PURE__ */ a.jsx("br", {}),
@@ -11477,7 +11477,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11477
11477
  })), value: m, onChange: (C) => typeof C != "number" ? g(C) : null, size: "sm", label: l.localizationFile, className: Ge.fileSelect, noSortOptions: !0 }),
11478
11478
  /* @__PURE__ */ a.jsxs("div", { className: _(Ge.searchBox, "d-flex align-items-center gap-2 border rounded"), children: [
11479
11479
  /* @__PURE__ */ a.jsx(c, { icon: "search", className: "text-muted", size: 18, iconProps: { className: "mt- me-n4" } }),
11480
- /* @__PURE__ */ a.jsx(Je, { type: "text", value: h, onChange: (C) => b(typeof C == "string" ? C : ""), size: "sm", showClearIcon: h !== "", withoutLabel: !0, placeholder: "vyhledávat...", className: "placeholder-muted bg-transparent border-0 my-0 py-0 w-100" })
11480
+ /* @__PURE__ */ a.jsx(Qe, { type: "text", value: h, onChange: (C) => b(typeof C == "string" ? C : ""), size: "sm", showClearIcon: h !== "", withoutLabel: !0, placeholder: "vyhledávat...", className: "placeholder-muted bg-transparent border-0 my-0 py-0 w-100" })
11481
11481
  ] }),
11482
11482
  /* @__PURE__ */ a.jsxs(za, { children: [
11483
11483
  /* @__PURE__ */ a.jsx(Sr, { cKey: "export", hideOn: "always", onClick: r, icon: /* @__PURE__ */ a.jsx(eu, { fileExtension: "xls" }), children: l.xlsExport }),
@@ -11490,7 +11490,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11490
11490
  T ? /* @__PURE__ */ a.jsx(ft, { options: w, value: null, onChange: (C) => N((P) => (typeof C == "string" && P.add(C), new Set(P))), size: "sm", label: l.addLanguage, InputContainer: Te, className: _(Ge.lngSelect, Ge.addLng) }) : null
11491
11491
  ] }),
11492
11492
  /* @__PURE__ */ a.jsxs("div", { className: _(Ge.subgrid, Ge.tableBody), children: [
11493
- y.length === 0 || j.length === 0 ? /* @__PURE__ */ a.jsx(et, { variant: "warning", className: _(Ge.tableFullWidth, Ge.emptyTableAlert, "my-n1"), children: y.length === 0 ? l.noDataLoaded : j.length === 0 ? l.noDataFiltered : null }) : null,
11493
+ y.length === 0 || j.length === 0 ? /* @__PURE__ */ a.jsx(Ke, { variant: "warning", className: _(Ge.tableFullWidth, Ge.emptyTableAlert, "my-n1"), children: y.length === 0 ? l.noDataLoaded : j.length === 0 ? l.noDataFiltered : null }) : null,
11494
11494
  j.slice(hr * (u - 1), hr * u).map((C) => /* @__PURE__ */ a.jsxs("div", { className: _(Ge.subgrid, Ge.tableItem), children: [
11495
11495
  /* @__PURE__ */ a.jsx(L, { variant: "form-label", children: C.key }),
11496
11496
  Array.from(v).map((P) => /* @__PURE__ */ a.jsx(lj, { localizationKey: C.key, lngsData: p, selLng: P, reloadData: O, saveChanges: i }, P))
@@ -11530,7 +11530,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11530
11530
  var n;
11531
11531
  return ((n = t == null ? void 0 : t.customNameBuilder) == null ? void 0 : n.call(t, e)) ?? e.name;
11532
11532
  }, zc = (e, t, n, r, i) => {
11533
- const o = Ke(), [s, l] = B(!1), [c, u] = B([]), d = e === "", p = R(() => {
11533
+ const o = Xe(), [s, l] = B(!1), [c, u] = B([]), d = e === "", p = R(() => {
11534
11534
  u([]), !(t.length < Is) && (l(!0), o.get(Ia(n, {
11535
11535
  path: { query: t },
11536
11536
  query: {
@@ -11675,7 +11675,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11675
11675
  const { texts: { userSettings: e } } = $(X), [t, n] = $n("file-download-try-opening", !0);
11676
11676
  return /* @__PURE__ */ a.jsx(Qt, { collapsible: !0, title: e.downloads, defaultOpen: !0, children: /* @__PURE__ */ a.jsx(Xn, { type: "switch", value: t === void 0 ? !0 : t, onChange: n, label: e.tryOpenFileLabel }) });
11677
11677
  }, Mj = ({ show: e, handleClose: t, onConfirm: n, apiCreateBackup: r }) => {
11678
- const { texts: { userSettings: i } } = $(X), { zStringRequired: o } = Lr(), { addNotification: s } = tn(), l = Ke(), { startLoading: c, stopLoading: u } = $(xt), [d, p] = B(null), f = dn.object({
11678
+ const { texts: { userSettings: i } } = $(X), { zStringRequired: o } = Lr(), { addNotification: s } = tn(), l = Xe(), { startLoading: c, stopLoading: u } = $(xt), [d, p] = B(null), f = dn.object({
11679
11679
  name: o()
11680
11680
  }), m = Vr({ resolver: Mr(f) }), g = R(async (b, v) => (c("localStorageSettingPost"), l.post(r, {
11681
11681
  name: b,
@@ -11689,7 +11689,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11689
11689
  /* @__PURE__ */ a.jsx(pe.Header, { closeButton: !0, children: /* @__PURE__ */ a.jsx(pe.Title, { children: i.localStorageCreateBackup }) }),
11690
11690
  /* @__PURE__ */ a.jsx($r, { ...m, children: /* @__PURE__ */ a.jsxs(xe, { onSubmit: m.handleSubmit(h), noValidate: !0, children: [
11691
11691
  /* @__PURE__ */ a.jsxs(pe.Body, { children: [
11692
- /* @__PURE__ */ a.jsx(et, { variant: "info", size: "sm", children: i.localStorageCreateBackupInfo(Object.keys(d || {}).length) }),
11692
+ /* @__PURE__ */ a.jsx(Ke, { variant: "info", size: "sm", children: i.localStorageCreateBackupInfo(Object.keys(d || {}).length) }),
11693
11693
  /* @__PURE__ */ a.jsx(gn, { required: !0, label: i.localStorageCreateBackupName, formField: "name", type: "text" })
11694
11694
  ] }),
11695
11695
  /* @__PURE__ */ a.jsx(pe.Footer, { className: "justify-content-end", children: /* @__PURE__ */ a.jsx(mt, { type: "submit", children: i.localStorageCreateBackupSave }) })
@@ -11700,7 +11700,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11700
11700
  apiCreateBackup: "/localStorageSettings",
11701
11701
  apiDeleteBackup: "/localStorageSettings"
11702
11702
  }, tD = ({ apiUrls: { apiGetBackups: e = br.apiGetBackups, apiCreateBackup: t = br.apiCreateBackup, apiDeleteBackup: n = br.apiDeleteBackup } = br }) => {
11703
- const { ProjectIconComponent: r, texts: { userSettings: i } } = $(X), { confirm: o } = Dt(), s = Ke(), { startLoading: l, stopLoading: c } = $(xt), { addNotification: u } = tn(), [d, p] = B(!1), { data: f, setData: m, reloadData: g } = Be(e), h = R(async (x) => (l("localStorageSettingDelete"), s.delete(`${n}/${x}`).then(() => !0).catch(() => !1).finally(() => c("localStorageSettingDelete"))), [s, n, l, c]), b = R(async (x) => {
11703
+ const { ProjectIconComponent: r, texts: { userSettings: i } } = $(X), { confirm: o } = Dt(), s = Xe(), { startLoading: l, stopLoading: c } = $(xt), { addNotification: u } = tn(), [d, p] = B(!1), { data: f, setData: m, reloadData: g } = Be(e), h = R(async (x) => (l("localStorageSettingDelete"), s.delete(`${n}/${x}`).then(() => !0).catch(() => !1).finally(() => c("localStorageSettingDelete"))), [s, n, l, c]), b = R(async (x) => {
11704
11704
  await o(i.localStorageDeleteBackupConfirm) && await h(x) && (u(i.localStorageDeleteBackupSuccess, "success"), m((N) => (N == null ? void 0 : N.filter((w) => w.id !== x)) ?? null));
11705
11705
  }, [o, i, h, u, m]), v = R(async (x) => {
11706
11706
  x.setting && await o(i.localStorageLoadBackup) && (Nu(x.setting) ? u(i.localStorageLoadBackupSuccess, "success") : u(i.localStorageLoadBackupError, "danger"));
@@ -11724,7 +11724,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11724
11724
  ]
11725
11725
  },
11726
11726
  N
11727
- )) }) : f ? /* @__PURE__ */ a.jsx(et, { variant: "secondary", size: "sm", children: i.localStorageNoBackups }) : null,
11727
+ )) }) : f ? /* @__PURE__ */ a.jsx(Ke, { variant: "secondary", size: "sm", children: i.localStorageNoBackups }) : null,
11728
11728
  /* @__PURE__ */ a.jsx(Mj, { show: d, handleClose: () => p(!1), onConfirm: () => {
11729
11729
  p(!1), g();
11730
11730
  }, apiCreateBackup: t })
@@ -11734,7 +11734,7 @@ e.label === "", js = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Ns =
11734
11734
  return /* @__PURE__ */ a.jsx(Qt, { collapsible: !0, title: e.searchSettings, defaultOpen: !0, children: /* @__PURE__ */ a.jsx(Xn, { type: "switch", value: t === void 0 ? !0 : t, onChange: n, label: e.searchSettingsUseAsterisk }) });
11735
11735
  };
11736
11736
  export {
11737
- et as Alert,
11737
+ Ke as Alert,
11738
11738
  cx as AlertItem,
11739
11739
  Jj as ApiFileDownloadButton,
11740
11740
  QN as AppSearch,
@@ -11845,7 +11845,7 @@ export {
11845
11845
  Tw as TabPanel,
11846
11846
  Vc as Tabs,
11847
11847
  sN as TextAreaInput,
11848
- Je as TextInput,
11848
+ Qe as TextInput,
11849
11849
  yx as Timeline,
11850
11850
  bN as TypedFormGroup,
11851
11851
  L as Typography,