react-luminus-components 1.3.247 → 1.3.249

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.
Files changed (34) hide show
  1. package/dist/.vite/manifest.json +37 -36
  2. package/dist/FormDisabledProvider-LRgVJzfK.js +20 -0
  3. package/dist/FormDisabledProvider-x4rC1kQI.cjs +1 -0
  4. package/dist/{ShortcutLinksContext-3Pe5e-WH.cjs → ShortcutLinksContext-BD6R_0rT.cjs} +21 -21
  5. package/dist/{ShortcutLinksContext-BT5BrTEk.js → ShortcutLinksContext-Bq3NREsX.js} +1591 -1584
  6. package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +3 -0
  7. package/dist/components/common/PermissionsSubstitute/Detail/PermissionSubstituteDetail.d.ts +5 -0
  8. package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +45 -0
  9. package/dist/components/common/PermissionsSubstitute/SubstituteTable/SubstituteTable.d.ts +8 -0
  10. package/dist/components/common/index.d.ts +2 -0
  11. package/dist/contexts.cjs.js +1 -1
  12. package/dist/contexts.es.js +94 -93
  13. package/dist/hooks.cjs.js +1 -1
  14. package/dist/hooks.es.js +22 -22
  15. package/dist/layout.cjs.js +1 -1
  16. package/dist/layout.es.js +20 -20
  17. package/dist/main.cjs.js +44 -44
  18. package/dist/main.d.ts +1 -0
  19. package/dist/main.es.js +3628 -3494
  20. package/dist/models/api/substitutions/PermissionRoleModel.d.ts +8 -0
  21. package/dist/models/api/substitutions/PermissionSubstituteModel.d.ts +11 -0
  22. package/dist/models/api/substitutions/PermissionUserModel.d.ts +10 -0
  23. package/dist/models/index.d.ts +3 -0
  24. package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
  25. package/dist/models/texts/SubstitutionsTexts.d.ts +23 -0
  26. package/dist/{useGetApiData-DqGW6vK6.js → useGetApiData-CrZHy35t.js} +1 -1
  27. package/dist/{useGetApiData-DUBgxAX9.cjs → useGetApiData-srwLsb--.cjs} +1 -1
  28. package/dist/{usePermissions-01Ob594E.cjs → usePermissions-BgT3dbpe.cjs} +1 -1
  29. package/dist/{usePermissions-DyXgE7Q-.js → usePermissions-D-4CYdGh.js} +1 -1
  30. package/dist/utils.cjs.js +1 -1
  31. package/dist/utils.es.js +23 -23
  32. package/package.json +1 -1
  33. package/dist/Loading-BOYTi6Bj.js +0 -19
  34. package/dist/Loading-BdQoiX9B.cjs +0 -1
@@ -1,8 +1,8 @@
1
1
  var Se = Object.defineProperty;
2
2
  var Ee = (e, t, r) => t in e ? Se(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var A = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { t as N, bt as Oe, j as f, bu as we, P as z, bg as Ie, bv as fe, a3 as S, bf as Pe, Q as q, bw as De, a_ as je, aj as ke, aC as de, bx as me, aD as Le, aF as j, aE as He, by as _e, aW as se, bz as $e, ao as pe, bA as oe, bB as Me, bC as Re, b0 as Ue, as as Ne } from "./ShortcutLinksContext-BT5BrTEk.js";
5
- import { bd as Vt } from "./ShortcutLinksContext-BT5BrTEk.js";
4
+ import { t as F, bz as Oe, j as f, bA as we, P as z, bn as Ie, bB as fe, a3 as S, bf as Pe, Q as q, bC as De, a_ as je, aj as ke, aC as de, bh as me, aD as Le, aF as j, aE as He, bD as _e, aW as se, bE as $e, ao as pe, bF as oe, bG as Me, b0 as Re, as as Ue } from "./ShortcutLinksContext-Bq3NREsX.js";
5
+ import { bH as Kt, bd as Bt } from "./ShortcutLinksContext-Bq3NREsX.js";
6
6
  import O, { useState as b, useCallback as m, useMemo as C, useContext as _, useEffect as D, useRef as he, Component as te } from "react";
7
7
  import { EventType as J } from "@azure/msal-browser";
8
8
  import { MsalProvider as Fe } from "@azure/msal-react";
@@ -10,37 +10,38 @@ import "react-router-dom";
10
10
  import "react-dom";
11
11
  import "react-hook-form";
12
12
  import "react-flexmonster";
13
- import { L as Ge } from "./Loading-BOYTi6Bj.js";
14
- import { u as qe } from "./useGetApiData-DqGW6vK6.js";
15
- import { u as ze } from "./useLocalStorageState-Bt99kkCr.js";
16
- function Ke(e) {
17
- const t = N(e);
13
+ import { L as Ne } from "./FormDisabledProvider-LRgVJzfK.js";
14
+ import { F as Yt } from "./FormDisabledProvider-LRgVJzfK.js";
15
+ import { u as Ge } from "./useGetApiData-CrZHy35t.js";
16
+ import { u as qe } from "./useLocalStorageState-Bt99kkCr.js";
17
+ function ze(e) {
18
+ const t = F(e);
18
19
  return t.setHours(23, 59, 59, 999), t;
19
20
  }
20
- function Be() {
21
- return Ke(Date.now());
21
+ function Ke() {
22
+ return ze(Date.now());
22
23
  }
23
- function Ve(e, t) {
24
- const r = +N(e), [n, s] = [
25
- +N(t.start),
26
- +N(t.end)
24
+ function Be(e, t) {
25
+ const r = +F(e), [n, s] = [
26
+ +F(t.start),
27
+ +F(t.end)
27
28
  ].sort((o, l) => o - l);
28
29
  return r >= n && r <= s;
29
30
  }
30
- function Ye() {
31
+ function Ve() {
31
32
  return Oe(Date.now());
32
33
  }
33
- const We = ({ children: e }) => {
34
+ const Ye = ({ children: e }) => {
34
35
  const [t, r] = b(!1), [n, s] = b(""), o = m((c) => {
35
36
  r(!0), s(c);
36
37
  }, []), l = m(() => {
37
38
  r(!1);
38
39
  }, []), a = C(() => ({ show: t, text: n, showConfirm: o, hideConfirm: l }), [t, n, o, l]);
39
40
  return /* @__PURE__ */ f.jsxs(we.Provider, { value: a, children: [
40
- /* @__PURE__ */ f.jsx(Et, {}),
41
+ /* @__PURE__ */ f.jsx(St, {}),
41
42
  e
42
43
  ] });
43
- }, Je = () => {
44
+ }, We = () => {
44
45
  const { texts: { confirm: e } } = _(z), { isShown: t, text: r, onFinish: n } = Ie(), { options: s } = _(fe), [o, l] = b(s.defaultValue ?? ""), a = m(() => {
45
46
  n(null);
46
47
  }, [n]), c = m((u) => {
@@ -69,7 +70,7 @@ const We = ({ children: e }) => {
69
70
  ] })
70
71
  ] })
71
72
  ] });
72
- }, Qe = ({ children: e }) => {
73
+ }, Je = ({ children: e }) => {
73
74
  const [t, r] = b(!1), [n, s] = b(""), [o, l] = b({ input: "textarea", type: "text" }), a = he(() => {
74
75
  }), c = m((d) => {
75
76
  s(d), r(!0);
@@ -86,9 +87,9 @@ const We = ({ children: e }) => {
86
87
  }), [t, n, c, i, o]);
87
88
  return /* @__PURE__ */ f.jsxs(fe.Provider, { value: u, children: [
88
89
  e,
89
- /* @__PURE__ */ f.jsx(Je, {})
90
+ /* @__PURE__ */ f.jsx(We, {})
90
91
  ] });
91
- }, Rt = ({ cookieDomain: e, axiosOptions: t, language: r, texts: n, ProjectIconComponent: s, localizationContext: o, chartColorPalette: l, children: a }) => {
92
+ }, Mt = ({ cookieDomain: e, axiosOptions: t, language: r, texts: n, ProjectIconComponent: s, localizationContext: o, chartColorPalette: l, children: a }) => {
92
93
  const c = C(() => ({
93
94
  axiosOptions: t,
94
95
  cookieDomain: e,
@@ -106,21 +107,21 @@ const We = ({ children: e }) => {
106
107
  n,
107
108
  l
108
109
  ]);
109
- return /* @__PURE__ */ f.jsx(z.Provider, { value: c, children: /* @__PURE__ */ f.jsx(We, { children: /* @__PURE__ */ f.jsxs(Qe, { children: [
110
+ return /* @__PURE__ */ f.jsx(z.Provider, { value: c, children: /* @__PURE__ */ f.jsx(Ye, { children: /* @__PURE__ */ f.jsxs(Je, { children: [
110
111
  /* @__PURE__ */ f.jsx(De, {}),
111
112
  a
112
113
  ] }) }) });
113
- }, Ut = ({ children: e }) => {
114
+ }, Rt = ({ children: e }) => {
114
115
  const [t, r] = b(!1), [n] = b(/* @__PURE__ */ new Set()), s = m((a) => {
115
116
  n.add(a), r(!0);
116
117
  }, [n]), o = m((a) => {
117
118
  n.delete(a), n.size === 0 && r(!1);
118
119
  }, [n]), l = C(() => ({ isLoading: t, startLoading: s, stopLoading: o }), [t, s, o]);
119
120
  return /* @__PURE__ */ f.jsxs(je.Provider, { value: l, children: [
120
- t && /* @__PURE__ */ f.jsx(Ge, {}),
121
+ t && /* @__PURE__ */ f.jsx(Ne, {}),
121
122
  e
122
123
  ] });
123
- }, Nt = ({ children: e }) => {
124
+ }, Ut = ({ children: e }) => {
124
125
  const t = ke(), { msalInstance: r } = _(de), { delegation: n, setDelegation: s, setAvailableDelegations: o, refreshAvailableDelegations: l } = _(me), { getToken: a } = Le(), [c, i] = b(null), u = m(async () => {
125
126
  const y = await a();
126
127
  y && i(y.token);
@@ -223,13 +224,13 @@ const We = ({ children: e }) => {
223
224
  return () => {
224
225
  };
225
226
  }, [e, r, t]), /* @__PURE__ */ f.jsx(de.Provider, { value: n, children: e.useMsal ? /* @__PURE__ */ f.jsx(Fe, { instance: e.msalInstance, children: e.children }) : e.children });
226
- }, Gt = ({ children: e, relativeEndpoint: t }) => {
227
- const [r, n, s] = ze("user-delegation", null), o = C(() => {
227
+ }, Nt = ({ children: e, relativeEndpoint: t }) => {
228
+ const [r, n, s] = qe("user-delegation", null), o = C(() => {
228
229
  if (!r)
229
230
  return null;
230
- const d = r.from ? se(r.from) : Ye(), h = r.to ? se(r.to) : Be();
231
- return Ve(new Date(Date.now()), { start: d, end: h }) ? r : (n(null), null);
232
- }, [r, n]), { data: l, setData: a, reloadData: c } = qe(t, {
231
+ const d = r.from ? se(r.from) : Ve(), h = r.to ? se(r.to) : Ke();
232
+ return Be(new Date(Date.now()), { start: d, end: h }) ? r : (n(null), null);
233
+ }, [r, n]), { data: l, setData: a, reloadData: c } = Ge(t, {
233
234
  nullStateBeforeLoad: !1,
234
235
  nullStateOnFail: !0
235
236
  }), i = he(null);
@@ -263,8 +264,8 @@ const We = ({ children: e }) => {
263
264
  ]);
264
265
  return /* @__PURE__ */ f.jsx(me.Provider, { value: u, children: e });
265
266
  };
266
- var Ze = typeof Element < "u", Xe = typeof Map == "function", et = typeof Set == "function", tt = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
267
- function F(e, t) {
267
+ var Qe = typeof Element < "u", Ze = typeof Map == "function", Xe = typeof Set == "function", et = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
268
+ function N(e, t) {
268
269
  if (e === t) return !0;
269
270
  if (e && t && typeof e == "object" && typeof t == "object") {
270
271
  if (e.constructor !== t.constructor) return !1;
@@ -272,25 +273,25 @@ function F(e, t) {
272
273
  if (Array.isArray(e)) {
273
274
  if (r = e.length, r != t.length) return !1;
274
275
  for (n = r; n-- !== 0; )
275
- if (!F(e[n], t[n])) return !1;
276
+ if (!N(e[n], t[n])) return !1;
276
277
  return !0;
277
278
  }
278
279
  var o;
279
- if (Xe && e instanceof Map && t instanceof Map) {
280
+ if (Ze && e instanceof Map && t instanceof Map) {
280
281
  if (e.size !== t.size) return !1;
281
282
  for (o = e.entries(); !(n = o.next()).done; )
282
283
  if (!t.has(n.value[0])) return !1;
283
284
  for (o = e.entries(); !(n = o.next()).done; )
284
- if (!F(n.value[1], t.get(n.value[0]))) return !1;
285
+ if (!N(n.value[1], t.get(n.value[0]))) return !1;
285
286
  return !0;
286
287
  }
287
- if (et && e instanceof Set && t instanceof Set) {
288
+ if (Xe && e instanceof Set && t instanceof Set) {
288
289
  if (e.size !== t.size) return !1;
289
290
  for (o = e.entries(); !(n = o.next()).done; )
290
291
  if (!t.has(n.value[0])) return !1;
291
292
  return !0;
292
293
  }
293
- if (tt && ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
294
+ if (et && ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
294
295
  if (r = e.length, r != t.length) return !1;
295
296
  for (n = r; n-- !== 0; )
296
297
  if (e[n] !== t[n]) return !1;
@@ -302,25 +303,25 @@ function F(e, t) {
302
303
  if (s = Object.keys(e), r = s.length, r !== Object.keys(t).length) return !1;
303
304
  for (n = r; n-- !== 0; )
304
305
  if (!Object.prototype.hasOwnProperty.call(t, s[n])) return !1;
305
- if (Ze && e instanceof Element) return !1;
306
+ if (Qe && e instanceof Element) return !1;
306
307
  for (n = r; n-- !== 0; )
307
- if (!((s[n] === "_owner" || s[n] === "__v" || s[n] === "__o") && e.$$typeof) && !F(e[s[n]], t[s[n]]))
308
+ if (!((s[n] === "_owner" || s[n] === "__v" || s[n] === "__o") && e.$$typeof) && !N(e[s[n]], t[s[n]]))
308
309
  return !1;
309
310
  return !0;
310
311
  }
311
312
  return e !== e && t !== t;
312
313
  }
313
- var rt = function(t, r) {
314
+ var tt = function(t, r) {
314
315
  try {
315
- return F(t, r);
316
+ return N(t, r);
316
317
  } catch (n) {
317
318
  if ((n.message || "").match(/stack|recursion/i))
318
319
  return console.warn("react-fast-compare cannot handle circular refs"), !1;
319
320
  throw n;
320
321
  }
321
322
  };
322
- const nt = /* @__PURE__ */ pe(rt);
323
- var st = function(t, r, n, s) {
323
+ const rt = /* @__PURE__ */ pe(tt);
324
+ var nt = function(t, r, n, s) {
324
325
  var o = n ? n.call(s, t, r) : void 0;
325
326
  if (o !== void 0)
326
327
  return !!o;
@@ -341,7 +342,7 @@ var st = function(t, r, n, s) {
341
342
  }
342
343
  return !0;
343
344
  };
344
- const ot = /* @__PURE__ */ pe(st);
345
+ const st = /* @__PURE__ */ pe(nt);
345
346
  var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(ye || {}), B = {
346
347
  link: { rel: ["amphtml", "canonical", "alternate"] },
347
348
  script: { type: ["application/ld+json"] },
@@ -373,7 +374,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
373
374
  "http-equiv": "httpEquiv",
374
375
  itemprop: "itemProp",
375
376
  tabindex: "tabIndex"
376
- }, at = Object.entries(re).reduce(
377
+ }, ot = Object.entries(re).reduce(
377
378
  (e, [t, r]) => (e[r] = t, e),
378
379
  {}
379
380
  ), x = "data-rh", L = {
@@ -390,7 +391,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
390
391
  return n[t];
391
392
  }
392
393
  return null;
393
- }, it = (e) => {
394
+ }, at = (e) => {
394
395
  let t = H(
395
396
  e,
396
397
  "title"
@@ -401,8 +402,8 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
401
402
  return r.replace(/%s/g, () => t);
402
403
  const n = H(e, L.DEFAULT_TITLE);
403
404
  return t || n || void 0;
404
- }, lt = (e) => H(e, L.ON_CHANGE_CLIENT_STATE) || (() => {
405
- }), V = (e, t) => t.filter((r) => typeof r[e] < "u").map((r) => r[e]).reduce((r, n) => ({ ...r, ...n }), {}), ct = (e, t) => t.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
405
+ }, it = (e) => H(e, L.ON_CHANGE_CLIENT_STATE) || (() => {
406
+ }), V = (e, t) => t.filter((r) => typeof r[e] < "u").map((r) => r[e]).reduce((r, n) => ({ ...r, ...n }), {}), lt = (e, t) => t.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
406
407
  if (!r.length) {
407
408
  const s = Object.keys(n);
408
409
  for (let o = 0; o < s.length; o += 1) {
@@ -412,9 +413,9 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
412
413
  }
413
414
  }
414
415
  return r;
415
- }, []), ut = (e) => console && typeof console.warn == "function" && console.warn(e), M = (e, t, r) => {
416
+ }, []), ct = (e) => console && typeof console.warn == "function" && console.warn(e), M = (e, t, r) => {
416
417
  const n = {};
417
- return r.filter((s) => Array.isArray(s[e]) ? !0 : (typeof s[e] < "u" && ut(
418
+ return r.filter((s) => Array.isArray(s[e]) ? !0 : (typeof s[e] < "u" && ct(
418
419
  `Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`
419
420
  ), !1)).map((s) => s[e]).reverse().reduce((s, o) => {
420
421
  const l = {};
@@ -440,15 +441,15 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
440
441
  }
441
442
  return s;
442
443
  }, []).reverse();
443
- }, ft = (e, t) => {
444
+ }, ut = (e, t) => {
444
445
  if (Array.isArray(e) && e.length) {
445
446
  for (let r = 0; r < e.length; r += 1)
446
447
  if (e[r][t])
447
448
  return !0;
448
449
  }
449
450
  return !1;
450
- }, dt = (e) => ({
451
- baseTag: ct([
451
+ }, ft = (e) => ({
452
+ baseTag: lt([
452
453
  "href"
453
454
  /* HREF */
454
455
  ], e),
@@ -481,7 +482,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
481
482
  "innerHTML"
482
483
  /* INNER_HTML */
483
484
  ], e),
484
- onChangeClientState: lt(e),
485
+ onChangeClientState: it(e),
485
486
  scriptTags: M(
486
487
  "script",
487
488
  [
@@ -495,22 +496,22 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
495
496
  "cssText"
496
497
  /* CSS_TEXT */
497
498
  ], e),
498
- title: it(e),
499
+ title: at(e),
499
500
  titleAttributes: V("titleAttributes", e),
500
- prioritizeSeoTags: ft(e, L.PRIORITIZE_SEO_TAGS)
501
- }), ge = (e) => Array.isArray(e) ? e.join("") : e, mt = (e, t) => {
501
+ prioritizeSeoTags: ut(e, L.PRIORITIZE_SEO_TAGS)
502
+ }), ge = (e) => Array.isArray(e) ? e.join("") : e, dt = (e, t) => {
502
503
  const r = Object.keys(e);
503
504
  for (let n = 0; n < r.length; n += 1)
504
505
  if (t[r[n]] && t[r[n]].includes(e[r[n]]))
505
506
  return !0;
506
507
  return !1;
507
508
  }, Y = (e, t) => Array.isArray(e) ? e.reduce(
508
- (r, n) => (mt(n, t) ? r.priority.push(n) : r.default.push(n), r),
509
+ (r, n) => (dt(n, t) ? r.priority.push(n) : r.default.push(n), r),
509
510
  { priority: [], default: [] }
510
511
  ) : { default: e, priority: [] }, ie = (e, t) => ({
511
512
  ...e,
512
513
  [t]: void 0
513
- }), pt = [
514
+ }), mt = [
514
515
  "noscript",
515
516
  "script",
516
517
  "style"
@@ -518,7 +519,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
518
519
  ], Q = (e, t = !0) => t === !1 ? String(e) : String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;"), Te = (e) => Object.keys(e).reduce((t, r) => {
519
520
  const n = typeof e[r] < "u" ? `${r}="${e[r]}"` : `${r}`;
520
521
  return t ? `${t} ${n}` : n;
521
- }, ""), ht = (e, t, r, n) => {
522
+ }, ""), pt = (e, t, r, n) => {
522
523
  const s = Te(r), o = ge(t);
523
524
  return s ? `<${e} ${x}="true" ${s}>${Q(
524
525
  o,
@@ -527,18 +528,18 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
527
528
  o,
528
529
  n
529
530
  )}</${e}>`;
530
- }, yt = (e, t, r = !0) => t.reduce((n, s) => {
531
+ }, ht = (e, t, r = !0) => t.reduce((n, s) => {
531
532
  const o = s, l = Object.keys(o).filter(
532
533
  (i) => !(i === "innerHTML" || i === "cssText")
533
534
  ).reduce((i, u) => {
534
535
  const d = typeof o[u] > "u" ? u : `${u}="${Q(o[u], r)}"`;
535
536
  return i ? `${i} ${d}` : d;
536
- }, ""), a = o.innerHTML || o.cssText || "", c = pt.indexOf(e) === -1;
537
+ }, ""), a = o.innerHTML || o.cssText || "", c = mt.indexOf(e) === -1;
537
538
  return `${n}<${e} ${x}="true" ${l}${c ? "/>" : `>${a}</${e}>`}`;
538
539
  }, ""), ve = (e, t = {}) => Object.keys(e).reduce((r, n) => {
539
540
  const s = re[n];
540
541
  return r[s || n] = e[n], r;
541
- }, t), gt = (e, t, r) => {
542
+ }, t), yt = (e, t, r) => {
542
543
  const n = {
543
544
  key: t,
544
545
  [x]: !0
@@ -561,8 +562,8 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
561
562
  switch (e) {
562
563
  case "title":
563
564
  return {
564
- toComponent: () => gt(e, t.title, t.titleAttributes),
565
- toString: () => ht(e, t.title, t.titleAttributes, r)
565
+ toComponent: () => yt(e, t.title, t.titleAttributes),
566
+ toString: () => pt(e, t.title, t.titleAttributes, r)
566
567
  };
567
568
  case "bodyAttributes":
568
569
  case "htmlAttributes":
@@ -573,10 +574,10 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
573
574
  default:
574
575
  return {
575
576
  toComponent: () => G(e, t),
576
- toString: () => yt(e, t, r)
577
+ toString: () => ht(e, t, r)
577
578
  };
578
579
  }
579
- }, Tt = ({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => {
580
+ }, gt = ({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => {
580
581
  const s = Y(e, B.meta), o = Y(t, B.link), l = Y(r, B.script);
581
582
  return {
582
583
  priorityMethods: {
@@ -598,7 +599,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
598
599
  linkTags: o.default,
599
600
  scriptTags: l.default
600
601
  };
601
- }, vt = (e) => {
602
+ }, Tt = (e) => {
602
603
  const {
603
604
  baseTag: t,
604
605
  bodyAttributes: r,
@@ -615,7 +616,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
615
616
  },
616
617
  toString: () => ""
617
618
  };
618
- return i && ({ priorityMethods: p, linkTags: u, metaTags: d, scriptTags: h } = Tt(e)), {
619
+ return i && ({ priorityMethods: p, linkTags: u, metaTags: d, scriptTags: h } = gt(e)), {
619
620
  priority: p,
620
621
  base: T("base", t, n),
621
622
  bodyAttributes: T("bodyAttributes", r, n),
@@ -627,7 +628,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
627
628
  style: T("style", l, n),
628
629
  title: T("title", { title: a, titleAttributes: c }, n)
629
630
  };
630
- }, Z = vt, U = [], xe = !!(typeof window < "u" && window.document && window.document.createElement), X = class {
631
+ }, Z = Tt, U = [], xe = !!(typeof window < "u" && window.document && window.document.createElement), X = class {
631
632
  constructor(e, t) {
632
633
  A(this, "instances", []);
633
634
  A(this, "canUseDOM", xe);
@@ -661,7 +662,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
661
662
  titleAttributes: {}
662
663
  }));
663
664
  }
664
- }, xt = {}, be = O.createContext(xt), P, Ce = (P = class extends te {
665
+ }, vt = {}, be = O.createContext(vt), P, Ce = (P = class extends te {
665
666
  constructor(r) {
666
667
  super(r);
667
668
  A(this, "helmetData");
@@ -710,7 +711,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
710
711
  for (let a = o.length - 1; a >= 0; a -= 1)
711
712
  r.removeAttribute(o[a]);
712
713
  s.length === o.length ? r.removeAttribute(x) : r.getAttribute(x) !== l.join(",") && r.setAttribute(x, l.join(","));
713
- }, bt = (e, t) => {
714
+ }, xt = (e, t) => {
714
715
  typeof e < "u" && document.title !== e && (document.title = ge(e)), ee("title", t);
715
716
  }, le = (e, t) => {
716
717
  const {
@@ -726,7 +727,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
726
727
  title: d,
727
728
  titleAttributes: h
728
729
  } = e;
729
- ee("body", n), ee("html", s), bt(d, h);
730
+ ee("body", n), ee("html", s), xt(d, h);
730
731
  const p = {
731
732
  baseTag: k("base", r),
732
733
  linkTags: k("link", o),
@@ -739,19 +740,19 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
739
740
  const { newTags: E, oldTags: I } = p[w];
740
741
  E.length && (g[w] = E), I.length && ($[w] = p[w].oldTags);
741
742
  }), t && t(), c(e, g, $);
742
- }, R = null, Ct = (e) => {
743
+ }, R = null, bt = (e) => {
743
744
  R && cancelAnimationFrame(R), e.defer ? R = requestAnimationFrame(() => {
744
745
  le(e, () => {
745
746
  R = null;
746
747
  });
747
748
  }) : (le(e), R = null);
748
- }, At = Ct, ce = class extends te {
749
+ }, Ct = bt, ce = class extends te {
749
750
  constructor() {
750
751
  super(...arguments);
751
752
  A(this, "rendered", !1);
752
753
  }
753
754
  shouldComponentUpdate(t) {
754
- return !ot(t, this.props);
755
+ return !st(t, this.props);
755
756
  }
756
757
  componentDidUpdate() {
757
758
  this.emitChange();
@@ -763,13 +764,13 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
763
764
  emitChange() {
764
765
  const { helmetInstances: t, setHelmet: r } = this.props.context;
765
766
  let n = null;
766
- const s = dt(
767
+ const s = ft(
767
768
  t.get().map((o) => {
768
769
  const l = { ...o.props };
769
770
  return delete l.context, l;
770
771
  })
771
772
  );
772
- Ce.canUseDOM ? At(s) : Z && (n = Z(s)), r(n);
773
+ Ce.canUseDOM ? Ct(s) : Z && (n = Z(s)), r(n);
773
774
  }
774
775
  // componentWillMount will be deprecated
775
776
  // for SSR, initialize on first render
@@ -784,9 +785,9 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
784
785
  render() {
785
786
  return this.init(), null;
786
787
  }
787
- }, W, St = (W = class extends te {
788
+ }, W, At = (W = class extends te {
788
789
  shouldComponentUpdate(e) {
789
- return !nt(ie(this.props, "helmetData"), ie(e, "helmetData"));
790
+ return !rt(ie(this.props, "helmetData"), ie(e, "helmetData"));
790
791
  }
791
792
  mapNestedChildrenToProps(e, t) {
792
793
  if (!t)
@@ -869,7 +870,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
869
870
  return O.Children.forEach(e, (n) => {
870
871
  if (!n || !n.props)
871
872
  return;
872
- const { children: s, ...o } = n.props, l = Object.keys(o).reduce((c, i) => (c[at[i] || i] = o[i], c), {});
873
+ const { children: s, ...o } = n.props, l = Object.keys(o).reduce((c, i) => (c[ot[i] || i] = o[i], c), {});
873
874
  let { type: a } = n;
874
875
  switch (typeof a == "symbol" ? a = a.toString() : this.warnOnInvalidChildren(n, s), a) {
875
876
  case "Symbol(react.fragment)":
@@ -907,7 +908,7 @@ var ye = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
907
908
  encodeSpecialCharacters: !0,
908
909
  prioritizeSeoTags: !1
909
910
  }), W);
910
- const ue = (e, t) => e ? `${e} | ${t}` : t, qt = ({ defaultHelmet: e, children: t, helmetPrefix: r }) => {
911
+ const ue = (e, t) => e ? `${e} | ${t}` : t, Gt = ({ defaultHelmet: e, children: t, helmetPrefix: r }) => {
911
912
  const [n, s] = b([
912
913
  ue(r ?? "", e)
913
914
  ]), o = m((i) => {
@@ -916,11 +917,11 @@ const ue = (e, t) => e ? `${e} | ${t}` : t, qt = ({ defaultHelmet: e, children:
916
917
  s((i) => i.length > 1 ? i.slice(0, -1) : i);
917
918
  }, [s]), a = C(() => n.at(-1) ?? "", [n]), c = C(() => ({ addHelmet: o, removeHelmet: l }), [o, l]);
918
919
  return /* @__PURE__ */ f.jsx(Me.Provider, { value: c, children: /* @__PURE__ */ f.jsxs(Ce, { children: [
919
- /* @__PURE__ */ f.jsx(St, { defer: !1, children: /* @__PURE__ */ f.jsx("title", { children: a }) }),
920
+ /* @__PURE__ */ f.jsx(At, { defer: !1, children: /* @__PURE__ */ f.jsx("title", { children: a }) }),
920
921
  t
921
922
  ] }) });
922
- }, zt = ({ children: e, disabled: t }) => /* @__PURE__ */ f.jsx(Re.Provider, { value: t, children: e }), Et = () => {
923
- const { texts: { confirm: e } } = _(z), { onConfirm: t, onCancel: r, text: n, show: s } = Ue(), o = m((l) => {
923
+ }, St = () => {
924
+ const { texts: { confirm: e } } = _(z), { onConfirm: t, onCancel: r, text: n, show: s } = Re(), o = m((l) => {
924
925
  switch (l.key) {
925
926
  case "Enter":
926
927
  l.stopPropagation(), t();
@@ -930,7 +931,7 @@ const ue = (e, t) => e ? `${e} | ${t}` : t, qt = ({ defaultHelmet: e, children:
930
931
  break;
931
932
  }
932
933
  }, [t, r]);
933
- return Ne(o), /* @__PURE__ */ f.jsxs(S, { show: s, size: "sm", centered: !0, onHide: r, children: [
934
+ return Ue(o), /* @__PURE__ */ f.jsxs(S, { show: s, size: "sm", centered: !0, onHide: r, children: [
934
935
  /* @__PURE__ */ f.jsx(S.Header, { className: "justify-content-center", children: /* @__PURE__ */ f.jsx(S.Title, { children: n }) }),
935
936
  /* @__PURE__ */ f.jsx(S.Body, { children: /* @__PURE__ */ f.jsxs("div", { className: "w-100 d-flex gap-5", children: [
936
937
  /* @__PURE__ */ f.jsx(q, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: r, children: e.no }),
@@ -942,16 +943,16 @@ export {
942
943
  de as AuthContext,
943
944
  Ft as AuthProvider,
944
945
  me as DelegationContext,
945
- Gt as DelegationProvider,
946
- Re as FormDisabledContext,
947
- zt as FormDisabledProvider,
946
+ Nt as DelegationProvider,
947
+ Kt as FormDisabledContext,
948
+ Yt as FormDisabledProvider,
948
949
  Me as HelmetContext,
949
- qt as HelmetProvider,
950
+ Gt as HelmetProvider,
950
951
  je as LoadingContext,
951
- Ut as LoadingProvider,
952
+ Rt as LoadingProvider,
952
953
  z as LuminusComponentsContext,
953
- Rt as LuminusComponentsProvider,
954
+ Mt as LuminusComponentsProvider,
954
955
  He as UserContext,
955
- Nt as UserProvider,
956
- Vt as useFormDisabledContext
956
+ Ut as UserProvider,
957
+ Bt as useFormDisabledContext
957
958
  };
package/dist/hooks.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ShortcutLinksContext-3Pe5e-WH.cjs"),k=require("./usePermissions-01Ob594E.cjs"),x=require("./useGetApiData-DUBgxAX9.cjs"),c=require("react"),T=require("./useLocalStorageState-BFc8Gc8H.cjs"),f=require("./useRenderDraggableInPortal-QPCaw-E_.cjs");require("react-router-dom");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");const L=r=>{let t="pending",u;const s=r.then(a=>{t="success",u=a},a=>{t="error",u=a});return()=>{switch(t){case"pending":throw s;case"success":return u;case"error":throw u;default:throw new Error("Unknown status")}}};function G(r,t){const u=e.useAxios({silent:!0,differentBaseUrl:t==null?void 0:t.customBaseUrl,customToken:t==null?void 0:t.customToken}),[s,a]=c.useState(null);return c.useEffect(()=>{(async()=>{const n=u.get(r).then(o=>o.data);a(L(n))})()},[u,r]),s}const B=(r,t,u)=>{let s="pending",a;const i=r.then(n=>{s="success",a=n},n=>{const o=n==null?void 0:n.response;(o==null?void 0:o.status)===404&&u?(s="error-404",a=n):(s="error",a=n)});return()=>{switch(s){case"pending":throw i;case"success":return a;case"error":return null;case"error-404":throw new Error("404");default:throw new Error("Unknown status")}}},l={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},E=(r,{loadOnInit:t=l.loadOnInit,enabled:u=l.enabled,silent:s=l.silent,nullStateBeforeLoad:a=l.nullStateBeforeLoad,nullStateOnFail:i=l.nullStateOnFail,customApiUrl:n,customBearerToken:o,dataTransformer:h,errorBoundaryOn404:S}=l)=>{const p=e.useAxios({silent:s,customToken:o,differentBaseUrl:n,noToastOnStatus:S?[404]:void 0}),{startLoading:D,stopLoading:w}=c.useContext(e.LoadingContext),C=c.useRef(0),{isAuthenticated:P}=e.useAuth(),[b,g]=c.useState(null),m=c.useCallback(async(d,y)=>{if(!P()||u===!1)return;!s&&D(`loadData-${r}-${y}`),a&&g(null);const q=p.get(r,{signal:d}).then(A=>h?h(A.data):A.data).finally(()=>!s&&w(`loadData-${r}-${y}`));g(B(q,i??!1,S??!1))},[P,u,s,D,r,a,p,h,w,i,S]);return c.useEffect(()=>{if(t===!1)return;const d=new AbortController;return m(d.signal,++C.current),()=>{d.abort()}},[m,t]),{data:b,setData:g,reloadData:m}};exports.cancelToken=e.cancelToken;exports.useAuth=e.useAuth;exports.useAxios=e.useAxios;exports.useClickOutside=e.useClickOutside;exports.useClipboard=e.useClipboard;exports.useConfirm=e.useConfirm;exports.useFormControlType=e.useFormControlType;exports.useKeyPress=e.useKeyPress;exports.useNotifications=e.useNotifications;exports.usePrompt=e.usePrompt;exports.useWindowSize=e.useWindowSize;exports.useZodSchemaTypes=e.useZodSchemaTypes;exports.usePermissions=k.usePermissions;exports.useGetApiData=x.useGetApiData;exports.useLocalStorageState=T.useLocalStorageState;exports.useEmployeePhotoPath=f.useEmployeePhotoPath;exports.useRenderDraggableInPortal=f.useRenderDraggableInPortal;exports.useSearchQuery=f.useSearchQuery;exports.useSearchQueryState=f.useSearchQueryState;exports.useGetApiDataBound=E;exports.useGetDataBound=G;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ShortcutLinksContext-BD6R_0rT.cjs"),k=require("./usePermissions-BgT3dbpe.cjs"),x=require("./useGetApiData-srwLsb--.cjs"),c=require("react"),T=require("./useLocalStorageState-BFc8Gc8H.cjs"),f=require("./useRenderDraggableInPortal-QPCaw-E_.cjs");require("react-router-dom");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");const L=r=>{let t="pending",u;const s=r.then(a=>{t="success",u=a},a=>{t="error",u=a});return()=>{switch(t){case"pending":throw s;case"success":return u;case"error":throw u;default:throw new Error("Unknown status")}}};function G(r,t){const u=e.useAxios({silent:!0,differentBaseUrl:t==null?void 0:t.customBaseUrl,customToken:t==null?void 0:t.customToken}),[s,a]=c.useState(null);return c.useEffect(()=>{(async()=>{const n=u.get(r).then(o=>o.data);a(L(n))})()},[u,r]),s}const B=(r,t,u)=>{let s="pending",a;const i=r.then(n=>{s="success",a=n},n=>{const o=n==null?void 0:n.response;(o==null?void 0:o.status)===404&&u?(s="error-404",a=n):(s="error",a=n)});return()=>{switch(s){case"pending":throw i;case"success":return a;case"error":return null;case"error-404":throw new Error("404");default:throw new Error("Unknown status")}}},l={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},E=(r,{loadOnInit:t=l.loadOnInit,enabled:u=l.enabled,silent:s=l.silent,nullStateBeforeLoad:a=l.nullStateBeforeLoad,nullStateOnFail:i=l.nullStateOnFail,customApiUrl:n,customBearerToken:o,dataTransformer:h,errorBoundaryOn404:S}=l)=>{const p=e.useAxios({silent:s,customToken:o,differentBaseUrl:n,noToastOnStatus:S?[404]:void 0}),{startLoading:D,stopLoading:w}=c.useContext(e.LoadingContext),C=c.useRef(0),{isAuthenticated:P}=e.useAuth(),[b,g]=c.useState(null),m=c.useCallback(async(d,y)=>{if(!P()||u===!1)return;!s&&D(`loadData-${r}-${y}`),a&&g(null);const q=p.get(r,{signal:d}).then(A=>h?h(A.data):A.data).finally(()=>!s&&w(`loadData-${r}-${y}`));g(B(q,i??!1,S??!1))},[P,u,s,D,r,a,p,h,w,i,S]);return c.useEffect(()=>{if(t===!1)return;const d=new AbortController;return m(d.signal,++C.current),()=>{d.abort()}},[m,t]),{data:b,setData:g,reloadData:m}};exports.cancelToken=e.cancelToken;exports.useAuth=e.useAuth;exports.useAxios=e.useAxios;exports.useClickOutside=e.useClickOutside;exports.useClipboard=e.useClipboard;exports.useConfirm=e.useConfirm;exports.useFormControlType=e.useFormControlType;exports.useKeyPress=e.useKeyPress;exports.useNotifications=e.useNotifications;exports.usePrompt=e.usePrompt;exports.useWindowSize=e.useWindowSize;exports.useZodSchemaTypes=e.useZodSchemaTypes;exports.usePermissions=k.usePermissions;exports.useGetApiData=x.useGetApiData;exports.useLocalStorageState=T.useLocalStorageState;exports.useEmployeePhotoPath=f.useEmployeePhotoPath;exports.useRenderDraggableInPortal=f.useRenderDraggableInPortal;exports.useSearchQuery=f.useSearchQuery;exports.useSearchQueryState=f.useSearchQueryState;exports.useGetApiDataBound=E;exports.useGetDataBound=G;
package/dist/hooks.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { aj as S, a_ as P, aD as $ } from "./ShortcutLinksContext-BT5BrTEk.js";
2
- import { bD as _, ag as q, bG as H, b0 as J, bF as M, as as V, a$ as X, bg as Y, a6 as ee, bE as te } from "./ShortcutLinksContext-BT5BrTEk.js";
3
- import { u as ae } from "./usePermissions-DyXgE7Q-.js";
4
- import { u as re } from "./useGetApiData-DqGW6vK6.js";
5
- import { useState as x, useEffect as C, useContext as E, useRef as L, useCallback as T } from "react";
1
+ import { aj as S, a_ as P, aD as $ } from "./ShortcutLinksContext-Bq3NREsX.js";
2
+ import { bI as Z, ag as _, bK as q, b0 as H, bJ as M, as as V, a$ as X, bn as Y, a6 as ee, bg as te } from "./ShortcutLinksContext-Bq3NREsX.js";
3
+ import { u as ae } from "./usePermissions-D-4CYdGh.js";
4
+ import { u as re } from "./useGetApiData-CrZHy35t.js";
5
+ import { useState as x, useEffect as C, useContext as L, useRef as T, useCallback as U } from "react";
6
6
  import { u as ue } from "./useLocalStorageState-Bt99kkCr.js";
7
7
  import { c as le, u as ie, a as fe, b as de } from "./useRenderDraggableInPortal-D0OLp7Qb.js";
8
8
  import "react-router-dom";
@@ -11,7 +11,7 @@ import "react-hook-form";
11
11
  import "react-flexmonster";
12
12
  import "@azure/msal-browser";
13
13
  import "@azure/msal-react";
14
- const U = (o) => {
14
+ const B = (o) => {
15
15
  let e = "pending", a;
16
16
  const t = o.then((s) => {
17
17
  e = "success", a = s;
@@ -31,7 +31,7 @@ const U = (o) => {
31
31
  }
32
32
  };
33
33
  };
34
- function z(o, e) {
34
+ function j(o, e) {
35
35
  const a = S({
36
36
  silent: !0,
37
37
  differentBaseUrl: e == null ? void 0 : e.customBaseUrl,
@@ -40,11 +40,11 @@ function z(o, e) {
40
40
  return C(() => {
41
41
  (async () => {
42
42
  const r = a.get(o).then((n) => n.data);
43
- s(U(r));
43
+ s(B(r));
44
44
  })();
45
45
  }, [a, o]), t;
46
46
  }
47
- const B = (o, e, a) => {
47
+ const E = (o, e, a) => {
48
48
  let t = "pending", s;
49
49
  const c = o.then((r) => {
50
50
  t = "success", s = r;
@@ -72,22 +72,22 @@ const B = (o, e, a) => {
72
72
  enabled: !0,
73
73
  nullStateBeforeLoad: !0,
74
74
  nullStateOnFail: !1
75
- }, K = (o, { loadOnInit: e = u.loadOnInit, enabled: a = u.enabled, silent: t = u.silent, nullStateBeforeLoad: s = u.nullStateBeforeLoad, nullStateOnFail: c = u.nullStateOnFail, customApiUrl: r, customBearerToken: n, dataTransformer: i, errorBoundaryOn404: f } = u) => {
75
+ }, z = (o, { loadOnInit: e = u.loadOnInit, enabled: a = u.enabled, silent: t = u.silent, nullStateBeforeLoad: s = u.nullStateBeforeLoad, nullStateOnFail: c = u.nullStateOnFail, customApiUrl: r, customBearerToken: n, dataTransformer: i, errorBoundaryOn404: f } = u) => {
76
76
  const p = S({
77
77
  silent: t,
78
78
  customToken: n,
79
79
  differentBaseUrl: r,
80
80
  noToastOnStatus: f ? [404] : void 0
81
- }), { startLoading: h, stopLoading: g } = E(P), k = L(0), { isAuthenticated: D } = $(), [y, d] = x(null), m = T(async (l, w) => {
82
- if (!D() || a === !1)
81
+ }), { startLoading: h, stopLoading: g } = L(P), k = T(0), { isAuthenticated: w } = $(), [y, d] = x(null), m = U(async (l, D) => {
82
+ if (!w() || a === !1)
83
83
  return;
84
- !t && h(`loadData-${o}-${w}`), s && d(null);
84
+ !t && h(`loadData-${o}-${D}`), s && d(null);
85
85
  const A = p.get(o, {
86
86
  signal: l
87
- }).then((b) => i ? i(b.data) : b.data).finally(() => !t && g(`loadData-${o}-${w}`));
88
- d(B(A, c ?? !1, f ?? !1));
87
+ }).then((b) => i ? i(b.data) : b.data).finally(() => !t && g(`loadData-${o}-${D}`));
88
+ d(E(A, c ?? !1, f ?? !1));
89
89
  }, [
90
- D,
90
+ w,
91
91
  a,
92
92
  t,
93
93
  h,
@@ -109,17 +109,17 @@ const B = (o, e, a) => {
109
109
  }, [m, e]), { data: y, setData: d, reloadData: m };
110
110
  };
111
111
  export {
112
- _ as cancelToken,
112
+ Z as cancelToken,
113
113
  $ as useAuth,
114
114
  S as useAxios,
115
- q as useClickOutside,
116
- H as useClipboard,
117
- J as useConfirm,
115
+ _ as useClickOutside,
116
+ q as useClipboard,
117
+ H as useConfirm,
118
118
  le as useEmployeePhotoPath,
119
119
  M as useFormControlType,
120
120
  re as useGetApiData,
121
- K as useGetApiDataBound,
122
- z as useGetDataBound,
121
+ z as useGetApiDataBound,
122
+ j as useGetDataBound,
123
123
  V as useKeyPress,
124
124
  ue as useLocalStorageState,
125
125
  X as useNotifications,