react-luminus-components 1.1.3 → 1.1.5

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 (27) hide show
  1. package/dist/.vite/manifest.json +45 -45
  2. package/dist/{InvalidFeedback.module-DClnS0tk.mjs → InvalidFeedback.module-CQsHfxQJ.mjs} +3 -3
  3. package/dist/{InvalidFeedback.module-BGAwT2d5.js → InvalidFeedback.module-qFu7MvyE.js} +1 -1
  4. package/dist/{Modal-CntHDyOV.mjs → Modal-Bs3K2O7K.mjs} +2 -2
  5. package/dist/{Modal-Bw1h9tng.js → Modal-DlKQc4pq.js} +1 -1
  6. package/dist/{SimpleTooltip-CSkL8sNV.mjs → SimpleTooltip-DZWzq3h2.mjs} +2 -2
  7. package/dist/{SimpleTooltip-BP3CrA2F.js → SimpleTooltip-pbj3Bl8T.js} +1 -1
  8. package/dist/contexts.cjs.js +1 -1
  9. package/dist/contexts.es.js +3 -3
  10. package/dist/{hasClass-Cu3nPEbB.js → hasClass-cUscnlSs.js} +1 -1
  11. package/dist/{hasClass-D8_VfO6J.mjs → hasClass-mhNP0iJy.mjs} +1 -1
  12. package/dist/hooks.cjs.js +1 -1
  13. package/dist/hooks.es.js +3 -3
  14. package/dist/layout.cjs.js +1 -1
  15. package/dist/layout.es.js +2 -2
  16. package/dist/main.cjs.js +1 -1
  17. package/dist/main.es.js +229 -231
  18. package/dist/models/prop-types/HookFormCheckInputProps.d.ts +1 -0
  19. package/dist/models/prop-types/HookFormEmployeePickerProps.d.ts +1 -0
  20. package/dist/models/prop-types/HookFormRadioInputProps.d.ts +1 -0
  21. package/dist/models/prop-types/HookFormSelectInputProps.d.ts +1 -0
  22. package/dist/models/prop-types/HookFormTextAreaInputProps.d.ts +1 -0
  23. package/dist/models/prop-types/HookFormTextInputProps.d.ts +1 -0
  24. package/dist/style.css +1 -1
  25. package/dist/{useConfirm-Dn-9wfJs.mjs → useConfirm-BnYA1N1U.mjs} +1 -1
  26. package/dist/{useConfirm-DUEZWmp7.js → useConfirm-CKZz4UvA.js} +1 -1
  27. package/package.json +1 -1
package/dist/main.es.js CHANGED
@@ -1,13 +1,13 @@
1
- import { j as s, i as Mn, M as In, L as fe, e as y, k as oe, l as qe, m as Pn, n as He, o as ct, p as Wn, q as Rn, r as G, s as An, t as Ln, v as Yn, w as Kn, h as Bn, x as Ve, y as qn, z as _e, A as Hn, B as Ne, D as ne, E as Vn } from "./InvalidFeedback.module-DClnS0tk.mjs";
1
+ import { j as s, i as Mn, M as In, L as fe, e as y, k as oe, l as Be, m as Pn, n as He, o as ct, p as Wn, q as Rn, r as G, s as An, t as Ln, v as Yn, w as qn, h as Kn, x as Ve, y as Bn, z as _e, A as Hn, B as $e, D as ne, E as Vn } from "./InvalidFeedback.module-CQsHfxQJ.mjs";
2
2
  import * as v from "react";
3
- import H, { useCallback as S, useContext as $, useState as W, useEffect as P, useMemo as K, useRef as A, useReducer as lt } from "react";
4
- import { d as me, u as _n, q as Oe, a as Gn, T as Qn, L as Xn, M as ge } from "./Modal-CntHDyOV.mjs";
3
+ import H, { useCallback as F, useContext as N, useState as W, useEffect as P, useMemo as q, useRef as A, useReducer as lt } from "react";
4
+ import { d as me, u as _n, q as Oe, a as Gn, T as Qn, L as Xn, M as ge } from "./Modal-Bs3K2O7K.mjs";
5
5
  import { m as Un, a as ut } from "./constants-CzNy5yO3.mjs";
6
- import { T as zn, w as Jn, s as Ge, E as Zn, x as er, y as tr, z as nr, A as rr, d as J, g as M, B as or, C as ar, j as sr, u as ir, p as cr, k as ve, q as lr, m as ur, P as Y, N as dt, F as ft } from "./hasClass-D8_VfO6J.mjs";
7
- import { u as dr, m as fr, a as mr, w as Se, b as Me, O as mt, P as $e, T as hr } from "./SimpleTooltip-CSkL8sNV.mjs";
8
- import { S as Bs } from "./SimpleTooltip-CSkL8sNV.mjs";
6
+ import { T as zn, w as Jn, s as Ge, E as Zn, x as er, y as tr, z as nr, A as rr, d as J, g as M, B as or, C as ar, j as sr, u as ir, p as cr, k as ve, q as lr, m as ur, P as Y, N as dt, F as ft } from "./hasClass-mhNP0iJy.mjs";
7
+ import { u as dr, m as fr, a as mr, w as Fe, b as Me, O as mt, P as Ne, T as hr } from "./SimpleTooltip-DZWzq3h2.mjs";
8
+ import { S as Ks } from "./SimpleTooltip-DZWzq3h2.mjs";
9
9
  const ps = ({ fileLoader: e, fileName: t, children: n }) => {
10
- const r = S(async () => {
10
+ const r = F(async () => {
11
11
  var c;
12
12
  const o = await e();
13
13
  if (!o)
@@ -17,7 +17,7 @@ const ps = ({ fileLoader: e, fileName: t, children: n }) => {
17
17
  }, [e, t]);
18
18
  return /* @__PURE__ */ s.jsx("div", { role: "button", onClick: r, children: n });
19
19
  };
20
- function B(e) {
20
+ function K(e) {
21
21
  const t = Object.prototype.toString.call(e);
22
22
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
23
23
  }
@@ -25,7 +25,7 @@ function Q(e, t) {
25
25
  return e instanceof Date ? new e.constructor(t) : new Date(t);
26
26
  }
27
27
  function gr(e, t) {
28
- const n = B(e);
28
+ const n = K(e);
29
29
  if (isNaN(t))
30
30
  return Q(e, NaN);
31
31
  if (!t)
@@ -45,14 +45,14 @@ function ye() {
45
45
  }
46
46
  function de(e, t) {
47
47
  var c, u, d, m;
48
- const n = ye(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((u = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? n.weekStartsOn ?? ((m = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : m.weekStartsOn) ?? 0, o = B(e), a = o.getDay(), i = (a < r ? 7 : 0) + a - r;
48
+ const n = ye(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((u = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? n.weekStartsOn ?? ((m = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : m.weekStartsOn) ?? 0, o = K(e), a = o.getDay(), i = (a < r ? 7 : 0) + a - r;
49
49
  return o.setDate(o.getDate() - i), o.setHours(0, 0, 0, 0), o;
50
50
  }
51
51
  function pe(e) {
52
52
  return de(e, { weekStartsOn: 1 });
53
53
  }
54
54
  function ht(e) {
55
- const t = B(e), n = t.getFullYear(), r = Q(e, 0);
55
+ const t = K(e), n = t.getFullYear(), r = Q(e, 0);
56
56
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
57
57
  const o = pe(r), a = Q(e, 0);
58
58
  a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0);
@@ -60,11 +60,11 @@ function ht(e) {
60
60
  return t.getTime() >= o.getTime() ? n + 1 : t.getTime() >= i.getTime() ? n : n - 1;
61
61
  }
62
62
  function Qe(e) {
63
- const t = B(e);
63
+ const t = K(e);
64
64
  return t.setHours(0, 0, 0, 0), t;
65
65
  }
66
66
  function Xe(e) {
67
- const t = B(e), n = new Date(
67
+ const t = K(e), n = new Date(
68
68
  Date.UTC(
69
69
  t.getFullYear(),
70
70
  t.getMonth(),
@@ -91,11 +91,11 @@ function wr(e) {
91
91
  function vr(e) {
92
92
  if (!wr(e) && typeof e != "number")
93
93
  return !1;
94
- const t = B(e);
94
+ const t = K(e);
95
95
  return !isNaN(Number(t));
96
96
  }
97
97
  function yr(e) {
98
- const t = B(e), n = Q(e, 0);
98
+ const t = K(e), n = Q(e, 0);
99
99
  return n.setFullYear(t.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
100
100
  }
101
101
  const jr = {
@@ -171,12 +171,12 @@ function Ee(e) {
171
171
  return e.formats[n] || e.formats[e.defaultWidth];
172
172
  };
173
173
  }
174
- const Nr = {
174
+ const $r = {
175
175
  full: "EEEE, MMMM do, y",
176
176
  long: "MMMM do, y",
177
177
  medium: "MMM d, y",
178
178
  short: "MM/dd/yyyy"
179
- }, $r = {
179
+ }, Nr = {
180
180
  full: "h:mm:ss a zzzz",
181
181
  long: "h:mm:ss a z",
182
182
  medium: "h:mm:ss a",
@@ -188,11 +188,11 @@ const Nr = {
188
188
  short: "{{date}}, {{time}}"
189
189
  }, kr = {
190
190
  date: Ee({
191
- formats: Nr,
191
+ formats: $r,
192
192
  defaultWidth: "full"
193
193
  }),
194
194
  time: Ee({
195
- formats: $r,
195
+ formats: Nr,
196
196
  defaultWidth: "full"
197
197
  }),
198
198
  dateTime: Ee({
@@ -226,11 +226,11 @@ const Tr = {
226
226
  narrow: ["B", "A"],
227
227
  abbreviated: ["BC", "AD"],
228
228
  wide: ["Before Christ", "Anno Domini"]
229
- }, Fr = {
229
+ }, Sr = {
230
230
  narrow: ["1", "2", "3", "4"],
231
231
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
232
232
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
233
- }, Sr = {
233
+ }, Fr = {
234
234
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
235
235
  abbreviated: [
236
236
  "Jan",
@@ -354,12 +354,12 @@ const Tr = {
354
354
  defaultWidth: "wide"
355
355
  }),
356
356
  quarter: ce({
357
- values: Fr,
357
+ values: Sr,
358
358
  defaultWidth: "wide",
359
359
  argumentCallback: (e) => e - 1
360
360
  }),
361
361
  month: ce({
362
- values: Sr,
362
+ values: Fr,
363
363
  defaultWidth: "wide"
364
364
  }),
365
365
  day: ce({
@@ -415,7 +415,7 @@ function Yr(e) {
415
415
  return { value: i, rest: c };
416
416
  };
417
417
  }
418
- const Kr = /^(\d+)(th|st|nd|rd)?/i, Br = /\d+/i, qr = {
418
+ const qr = /^(\d+)(th|st|nd|rd)?/i, Kr = /\d+/i, Br = {
419
419
  narrow: /^(b|a)/i,
420
420
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
421
421
  wide: /^(before christ|before common era|anno domini|common era)/i
@@ -484,12 +484,12 @@ const Kr = /^(\d+)(th|st|nd|rd)?/i, Br = /\d+/i, qr = {
484
484
  }
485
485
  }, Zr = {
486
486
  ordinalNumber: Yr({
487
- matchPattern: Kr,
488
- parsePattern: Br,
487
+ matchPattern: qr,
488
+ parsePattern: Kr,
489
489
  valueCallback: (e) => parseInt(e, 10)
490
490
  }),
491
491
  era: le({
492
- matchPatterns: qr,
492
+ matchPatterns: Br,
493
493
  defaultMatchWidth: "wide",
494
494
  parsePatterns: Hr,
495
495
  defaultParseWidth: "any"
@@ -532,16 +532,16 @@ const Kr = /^(\d+)(th|st|nd|rd)?/i, Br = /\d+/i, qr = {
532
532
  }
533
533
  };
534
534
  function to(e) {
535
- const t = B(e);
535
+ const t = K(e);
536
536
  return br(t, yr(t)) + 1;
537
537
  }
538
538
  function no(e) {
539
- const t = B(e), n = +pe(t) - +xr(t);
539
+ const t = K(e), n = +pe(t) - +xr(t);
540
540
  return Math.round(n / ut) + 1;
541
541
  }
542
542
  function gt(e, t) {
543
543
  var m, l, f, h;
544
- const n = B(e), r = n.getFullYear(), o = ye(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (m = t == null ? void 0 : t.locale) == null ? void 0 : m.options) == null ? void 0 : l.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((h = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = Q(e, 0);
544
+ const n = K(e), r = n.getFullYear(), o = ye(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (m = t == null ? void 0 : t.locale) == null ? void 0 : m.options) == null ? void 0 : l.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((h = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = Q(e, 0);
545
545
  i.setFullYear(r + 1, 0, a), i.setHours(0, 0, 0, 0);
546
546
  const c = de(i, t), u = Q(e, 0);
547
547
  u.setFullYear(r, 0, a), u.setHours(0, 0, 0, 0);
@@ -554,7 +554,7 @@ function ro(e, t) {
554
554
  return a.setFullYear(o, 0, r), a.setHours(0, 0, 0, 0), de(a, t);
555
555
  }
556
556
  function oo(e, t) {
557
- const n = B(e), r = +de(n, t) - +ro(n, t);
557
+ const n = K(e), r = +de(n, t) - +ro(n, t);
558
558
  return Math.round(r / ut) + 1;
559
559
  }
560
560
  function O(e, t) {
@@ -1190,7 +1190,7 @@ function ho(e, t, n) {
1190
1190
  const go = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, po = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, bo = /^'([^]*?)'?$/, xo = /''/g, wo = /[a-zA-Z]/;
1191
1191
  function vo(e, t, n) {
1192
1192
  var m, l, f, h, g, w, b, C;
1193
- const r = ye(), o = (n == null ? void 0 : n.locale) ?? r.locale ?? eo, a = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((l = (m = n == null ? void 0 : n.locale) == null ? void 0 : m.options) == null ? void 0 : l.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((h = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((w = (g = n == null ? void 0 : n.locale) == null ? void 0 : g.options) == null ? void 0 : w.weekStartsOn) ?? r.weekStartsOn ?? ((C = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : C.weekStartsOn) ?? 0, c = B(e);
1193
+ const r = ye(), o = (n == null ? void 0 : n.locale) ?? r.locale ?? eo, a = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((l = (m = n == null ? void 0 : n.locale) == null ? void 0 : m.options) == null ? void 0 : l.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((h = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((w = (g = n == null ? void 0 : n.locale) == null ? void 0 : g.options) == null ? void 0 : w.weekStartsOn) ?? r.weekStartsOn ?? ((C = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : C.weekStartsOn) ?? 0, c = K(e);
1194
1194
  if (!vr(c))
1195
1195
  throw new RangeError("Invalid time value");
1196
1196
  let u = t.match(po).map((p) => {
@@ -1234,7 +1234,7 @@ function yo(e) {
1234
1234
  return t ? t[1].replace(xo, "'") : e;
1235
1235
  }
1236
1236
  const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1237
- const r = S((o) => {
1237
+ const r = F((o) => {
1238
1238
  t(gr(e, o));
1239
1239
  }, [e, t]);
1240
1240
  return /* @__PURE__ */ s.jsxs("div", { className: "card d-flex flex-row align-items-center m-0 p-1 gap-2", children: [
@@ -1243,16 +1243,16 @@ const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1243
1243
  /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: () => r(1), children: /* @__PURE__ */ s.jsx(In, {}) })
1244
1244
  ] });
1245
1245
  }, jo = ({ variant: e = "filled", color: t = "primary", size: n = "md", className: r, children: o, ...a }) => {
1246
- const { LinkComponent: i } = $(fe);
1246
+ const { LinkComponent: i } = N(fe);
1247
1247
  return a.as === "link" ? /* @__PURE__ */ s.jsx(i, { to: a.href ?? "/", className: y(`btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, oe.button, oe[e], oe[n]), ...a, children: o }) : a.as === "button" ? /* @__PURE__ */ s.jsx("button", { type: "button", className: y(`btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, oe.button, oe[e], oe[n]), ...a, children: o }) : null;
1248
1248
  }, xs = ({ children: e }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1249
- /* @__PURE__ */ s.jsx("div", { className: qe.spacer }),
1250
- /* @__PURE__ */ s.jsx("div", { className: y("luminus-floating-submit-container", qe.submitContainer), children: /* @__PURE__ */ s.jsxs(jo, { as: "button", color: "success", size: "lg", type: "submit", children: [
1249
+ /* @__PURE__ */ s.jsx("div", { className: Be.spacer }),
1250
+ /* @__PURE__ */ s.jsx("div", { className: y("luminus-floating-submit-container", Be.submitContainer), children: /* @__PURE__ */ s.jsxs(jo, { as: "button", color: "success", size: "lg", type: "submit", children: [
1251
1251
  /* @__PURE__ */ s.jsx(Pn, {}),
1252
1252
  e
1253
1253
  ] }) })
1254
1254
  ] }), Co = ({ color: e = "primary", icon: t = /* @__PURE__ */ s.jsx(ct, {}), className: n, children: r, ...o }) => {
1255
- const { LinkComponent: a } = $(fe);
1255
+ const { LinkComponent: a } = N(fe);
1256
1256
  return o.as === "link" ? /* @__PURE__ */ s.jsxs(a, { to: o.href ?? "/", className: y(`luminus-context-button btn text-${e} ${n ?? ""}`, He.button), ...o, children: [
1257
1257
  t,
1258
1258
  r
@@ -1260,7 +1260,7 @@ const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1260
1260
  t,
1261
1261
  r
1262
1262
  ] }) : null;
1263
- }, et = ({ onAdd: e }) => /* @__PURE__ */ s.jsx("div", { className: y("luminus-empty-widget", Wn.widget), children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: () => e(0), children: /* @__PURE__ */ s.jsx(Rn, {}) }) }), No = () => {
1263
+ }, et = ({ onAdd: e }) => /* @__PURE__ */ s.jsx("div", { className: y("luminus-empty-widget", Wn.widget), children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: () => e(0), children: /* @__PURE__ */ s.jsx(Rn, {}) }) }), $o = () => {
1264
1264
  const [e, t] = W({
1265
1265
  widgets: []
1266
1266
  });
@@ -1268,13 +1268,13 @@ const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1268
1268
  const r = localStorage.getItem("dashboardConfig");
1269
1269
  r && t(JSON.parse(r));
1270
1270
  }, []);
1271
- const n = S((r) => {
1271
+ const n = F((r) => {
1272
1272
  t(r), localStorage.setItem("dashboardConfig", JSON.stringify(r));
1273
1273
  }, []);
1274
1274
  return { dashboardConfig: e, onChangeDashboardConfig: n };
1275
1275
  }, ws = ({ availableWidgets: e }) => {
1276
1276
  var m;
1277
- const { homeDashboardTexts: t } = $(fe), { dashboardConfig: n, onChangeDashboardConfig: r } = No(), [o, a] = W(!1), i = S((l, f) => {
1277
+ const { homeDashboardTexts: t } = N(fe), { dashboardConfig: n, onChangeDashboardConfig: r } = $o(), [o, a] = W(!1), i = F((l, f) => {
1278
1278
  var h, g;
1279
1279
  l === ((h = n.widgets) == null ? void 0 : h.length) ? r({
1280
1280
  ...n,
@@ -1283,19 +1283,19 @@ const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1283
1283
  ...n,
1284
1284
  widgets: ((g = n.widgets) == null ? void 0 : g.map((w, b) => b === l ? { widgetId: f, fullWidth: !1 } : w)) ?? []
1285
1285
  });
1286
- }, [n, r]), c = S((l) => {
1286
+ }, [n, r]), c = F((l) => {
1287
1287
  var f, h;
1288
1288
  ((f = n.widgets[l]) == null ? void 0 : f.widgetId) === -1 ? r({
1289
1289
  ...n,
1290
1290
  widgets: ((h = n.widgets) == null ? void 0 : h.filter((g, w) => w !== l)) ?? []
1291
1291
  }) : i(l, -1);
1292
- }, [n, r, i]), u = S((l) => {
1292
+ }, [n, r, i]), u = F((l) => {
1293
1293
  var f;
1294
1294
  r({
1295
1295
  ...n,
1296
1296
  widgets: ((f = n.widgets) == null ? void 0 : f.map((h, g) => g === l ? { ...h, fullWidth: !h.fullWidth } : h)) ?? []
1297
1297
  });
1298
- }, [n, r]), d = S((l, f, h) => l ? /* @__PURE__ */ s.jsxs("div", { className: y(G.widgetWrapper, {
1298
+ }, [n, r]), d = F((l, f, h) => l ? /* @__PURE__ */ s.jsxs("div", { className: y(G.widgetWrapper, {
1299
1299
  [G.widgetEdit]: o && l.id !== -1
1300
1300
  }, { [G.fullWidth]: h }), children: [
1301
1301
  o && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
@@ -1306,7 +1306,7 @@ const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1306
1306
  l.id > -1 && o && /* @__PURE__ */ s.jsx("div", { className: G.widgetEditOverlay })
1307
1307
  ] }, f) : /* @__PURE__ */ s.jsx(s.Fragment, {}), [o, i, c, u]);
1308
1308
  return /* @__PURE__ */ s.jsxs("div", { className: G.dashboard, children: [
1309
- /* @__PURE__ */ s.jsx("div", { className: "mb-3 d-flex align-items-center justify-content-end", children: /* @__PURE__ */ s.jsx(Co, { as: "button", color: o ? "success" : "primary", icon: o ? /* @__PURE__ */ s.jsx(Yn, {}) : /* @__PURE__ */ s.jsx(Kn, {}), onClick: () => a(!o), children: o ? t.dashboardEditDone : t.dashboardEdit }) }),
1309
+ /* @__PURE__ */ s.jsx("div", { className: "mb-3 d-flex align-items-center justify-content-end", children: /* @__PURE__ */ s.jsx(Co, { as: "button", color: o ? "success" : "primary", icon: o ? /* @__PURE__ */ s.jsx(Yn, {}) : /* @__PURE__ */ s.jsx(qn, {}), onClick: () => a(!o), children: o ? t.dashboardEditDone : t.dashboardEdit }) }),
1310
1310
  /* @__PURE__ */ s.jsxs("div", { className: G.widgetsGrid, children: [
1311
1311
  (m = n.widgets) == null ? void 0 : m.map((l, f) => d(e.find((h) => h.id === l.widgetId), f, l.fullWidth)),
1312
1312
  o && /* @__PURE__ */ s.jsx(et, { onAdd: (l) => {
@@ -1316,7 +1316,7 @@ const bs = ({ month: e, onChangeMonth: t, locale: n }) => {
1316
1316
  ] })
1317
1317
  ] });
1318
1318
  };
1319
- var $o = function(e, t, n, r, o, a, i, c) {
1319
+ var No = function(e, t, n, r, o, a, i, c) {
1320
1320
  if (process.env.NODE_ENV !== "production" && t === void 0)
1321
1321
  throw new Error("invariant requires an error message argument");
1322
1322
  if (!e) {
@@ -1335,8 +1335,8 @@ var $o = function(e, t, n, r, o, a, i, c) {
1335
1335
  }
1336
1336
  throw u.framesToPop = 1, u;
1337
1337
  }
1338
- }, Eo = $o;
1339
- const tt = /* @__PURE__ */ Bn(Eo);
1338
+ }, Eo = No;
1339
+ const tt = /* @__PURE__ */ Kn(Eo);
1340
1340
  function ue(...e) {
1341
1341
  return e.filter((t) => t != null).reduce((t, n) => {
1342
1342
  if (typeof n != "function")
@@ -1378,16 +1378,16 @@ const Do = {
1378
1378
  getDimensionValue: h = Oo,
1379
1379
  ...g
1380
1380
  }, w) => {
1381
- const b = typeof c == "function" ? c() : c, C = K(() => ue((E) => {
1381
+ const b = typeof c == "function" ? c() : c, C = q(() => ue((E) => {
1382
1382
  E.style[b] = "0";
1383
- }, e), [b, e]), p = K(() => ue((E) => {
1384
- const F = `scroll${b[0].toUpperCase()}${b.slice(1)}`;
1385
- E.style[b] = `${E[F]}px`;
1386
- }, t), [b, t]), x = K(() => ue((E) => {
1383
+ }, e), [b, e]), p = q(() => ue((E) => {
1384
+ const S = `scroll${b[0].toUpperCase()}${b.slice(1)}`;
1385
+ E.style[b] = `${E[S]}px`;
1386
+ }, t), [b, t]), x = q(() => ue((E) => {
1387
1387
  E.style[b] = null;
1388
- }, n), [b, n]), j = K(() => ue((E) => {
1388
+ }, n), [b, n]), j = q(() => ue((E) => {
1389
1389
  E.style[b] = `${h(b, E)}px`, rr(E);
1390
- }, r), [r, h, b]), k = K(() => ue((E) => {
1390
+ }, r), [r, h, b]), k = q(() => ue((E) => {
1391
1391
  E.style[b] = null;
1392
1392
  }, o), [b, o]);
1393
1393
  return /* @__PURE__ */ s.jsx(zn, {
@@ -1406,13 +1406,13 @@ const Do = {
1406
1406
  mountOnEnter: m,
1407
1407
  unmountOnExit: l,
1408
1408
  appear: f,
1409
- children: (E, F) => /* @__PURE__ */ H.cloneElement(i, {
1410
- ...F,
1409
+ children: (E, S) => /* @__PURE__ */ H.cloneElement(i, {
1410
+ ...S,
1411
1411
  className: y(a, i.props.className, Do[E], b === "width" && "collapse-horizontal")
1412
1412
  })
1413
1413
  });
1414
- }), Fo = To;
1415
- function So(e, t, n, r = !1) {
1414
+ }), So = To;
1415
+ function Fo(e, t, n, r = !1) {
1416
1416
  const o = J(n);
1417
1417
  P(() => {
1418
1418
  const a = typeof e == "function" ? e() : e;
@@ -1555,16 +1555,16 @@ function nt(e, t) {
1555
1555
  let n = 0;
1556
1556
  return v.Children.map(e, (r) => /* @__PURE__ */ v.isValidElement(r) ? t(r, n++) : r);
1557
1557
  }
1558
- function Ko(e, t) {
1558
+ function qo(e, t) {
1559
1559
  let n = 0;
1560
1560
  v.Children.forEach(e, (r) => {
1561
1561
  /* @__PURE__ */ v.isValidElement(r) && t(r, n++);
1562
1562
  });
1563
1563
  }
1564
- function Bo(e, t) {
1564
+ function Ko(e, t) {
1565
1565
  return v.Children.toArray(e).some((n) => /* @__PURE__ */ v.isValidElement(n) && n.type === t);
1566
1566
  }
1567
- function qo({
1567
+ function Bo({
1568
1568
  as: e,
1569
1569
  bsPrefix: t,
1570
1570
  className: n,
@@ -1602,7 +1602,7 @@ const yt = /* @__PURE__ */ v.forwardRef(
1602
1602
  as: o = "div",
1603
1603
  bsPrefix: a,
1604
1604
  spans: i
1605
- }] = qo(e);
1605
+ }] = Bo(e);
1606
1606
  return /* @__PURE__ */ s.jsx(o, {
1607
1607
  ...r,
1608
1608
  ref: t,
@@ -1614,7 +1614,7 @@ yt.displayName = "Col";
1614
1614
  const Ho = yt;
1615
1615
  function jt(e, t, n) {
1616
1616
  const r = A(e !== void 0), [o, a] = W(t), i = e !== void 0, c = r.current;
1617
- return r.current = i, !i && c && o !== t && a(t), [i ? e : o, S((...u) => {
1617
+ return r.current = i, !i && c && o !== t && a(t), [i ? e : o, F((...u) => {
1618
1618
  const [d, ...m] = u;
1619
1619
  let l = n == null ? void 0 : n(d, ...m);
1620
1620
  return a(d), l;
@@ -1635,8 +1635,8 @@ function Go(e, t) {
1635
1635
  }
1636
1636
  const Qo = () => {
1637
1637
  };
1638
- function Nt(e = {}) {
1639
- const t = $(je), [n, r] = sr(), o = A(!1), {
1638
+ function $t(e = {}) {
1639
+ const t = N(je), [n, r] = sr(), o = A(!1), {
1640
1640
  flip: a,
1641
1641
  offset: i,
1642
1642
  rootCloseEvent: c,
@@ -1692,7 +1692,7 @@ function We(e) {
1692
1692
  let {
1693
1693
  children: t
1694
1694
  } = e, n = Go(e, _o);
1695
- const [r, o] = Nt(n);
1695
+ const [r, o] = $t(n);
1696
1696
  return /* @__PURE__ */ s.jsx(s.Fragment, {
1697
1697
  children: t(r, o)
1698
1698
  });
@@ -1702,10 +1702,10 @@ We.defaultProps = Xo;
1702
1702
  const be = {
1703
1703
  prefix: String(Math.round(Math.random() * 1e10)),
1704
1704
  current: 0
1705
- }, $t = /* @__PURE__ */ H.createContext(be), Uo = /* @__PURE__ */ H.createContext(!1);
1705
+ }, Nt = /* @__PURE__ */ H.createContext(be), Uo = /* @__PURE__ */ H.createContext(!1);
1706
1706
  let zo = !!(typeof window < "u" && window.document && window.document.createElement), ke = /* @__PURE__ */ new WeakMap();
1707
1707
  function Jo(e = !1) {
1708
- let t = $($t), n = A(null);
1708
+ let t = N(Nt), n = A(null);
1709
1709
  if (n.current === null && !e) {
1710
1710
  var r, o;
1711
1711
  let a = (o = H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || o === void 0 || (r = o.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
@@ -1721,7 +1721,7 @@ function Jo(e = !1) {
1721
1721
  return n.current;
1722
1722
  }
1723
1723
  function Zo(e) {
1724
- let t = $($t);
1724
+ let t = N(Nt);
1725
1725
  t === be && !zo && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
1726
1726
  let n = Jo(!!e), r = t === be && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
1727
1727
  return e || `${r}-${n}`;
@@ -1742,7 +1742,7 @@ function ra(e) {
1742
1742
  };
1743
1743
  }
1744
1744
  function oa() {
1745
- return typeof H.useSyncExternalStore == "function" ? H.useSyncExternalStore(ra, ta, na) : $(Uo);
1745
+ return typeof H.useSyncExternalStore == "function" ? H.useSyncExternalStore(ra, ta, na) : N(Uo);
1746
1746
  }
1747
1747
  const kt = (e) => {
1748
1748
  var t;
@@ -1755,7 +1755,7 @@ function Ot() {
1755
1755
  toggle: n = rt,
1756
1756
  setToggle: r,
1757
1757
  menuElement: o
1758
- } = $(je) || {}, a = S((c) => {
1758
+ } = N(je) || {}, a = F((c) => {
1759
1759
  n(!t, c);
1760
1760
  }, [t, n]), i = {
1761
1761
  id: e,
@@ -1788,14 +1788,14 @@ function ia(e, t) {
1788
1788
  o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
1789
1789
  return n;
1790
1790
  }
1791
- function Ft({
1791
+ function St({
1792
1792
  key: e,
1793
1793
  href: t,
1794
1794
  active: n,
1795
1795
  disabled: r,
1796
1796
  onClick: o
1797
1797
  }) {
1798
- const a = $(X), i = $(Re), {
1798
+ const a = N(X), i = N(Re), {
1799
1799
  activeKey: c
1800
1800
  } = i || {}, u = te(e, t), d = n == null && e != null ? te(c) === u : n;
1801
1801
  return [{
@@ -1809,7 +1809,7 @@ function Ft({
1809
1809
  isActive: d
1810
1810
  }];
1811
1811
  }
1812
- const St = /* @__PURE__ */ v.forwardRef((e, t) => {
1812
+ const Ft = /* @__PURE__ */ v.forwardRef((e, t) => {
1813
1813
  let {
1814
1814
  eventKey: n,
1815
1815
  disabled: r,
@@ -1817,7 +1817,7 @@ const St = /* @__PURE__ */ v.forwardRef((e, t) => {
1817
1817
  active: a,
1818
1818
  as: i = Pe
1819
1819
  } = e, c = ia(e, sa);
1820
- const [u] = Ft({
1820
+ const [u] = St({
1821
1821
  key: n,
1822
1822
  href: c.href,
1823
1823
  disabled: r,
@@ -1828,9 +1828,9 @@ const St = /* @__PURE__ */ v.forwardRef((e, t) => {
1828
1828
  ref: t
1829
1829
  }, u));
1830
1830
  });
1831
- St.displayName = "DropdownItem";
1831
+ Ft.displayName = "DropdownItem";
1832
1832
  function ot() {
1833
- const e = Ct(), t = A(null), n = S((r) => {
1833
+ const e = Ct(), t = A(null), n = F((r) => {
1834
1834
  t.current = r, e();
1835
1835
  }, [e]);
1836
1836
  return [t, n];
@@ -1845,14 +1845,14 @@ function he({
1845
1845
  placement: i = "bottom-start",
1846
1846
  children: c
1847
1847
  }) {
1848
- const u = ir(), [d, m] = jt(t, e, r), [l, f] = ot(), h = l.current, [g, w] = ot(), b = g.current, C = _n(d), p = A(null), x = A(!1), j = $(X), k = S((N, T, R = T == null ? void 0 : T.type) => {
1849
- m(N, {
1848
+ const u = ir(), [d, m] = jt(t, e, r), [l, f] = ot(), h = l.current, [g, w] = ot(), b = g.current, C = _n(d), p = A(null), x = A(!1), j = N(X), k = F(($, T, R = T == null ? void 0 : T.type) => {
1849
+ m($, {
1850
1850
  originalEvent: T,
1851
1851
  source: R
1852
1852
  });
1853
- }, [m]), E = J((N, T) => {
1854
- n == null || n(N, T), k(!1, T, "select"), T.isPropagationStopped() || j == null || j(N, T);
1855
- }), F = K(() => ({
1853
+ }, [m]), E = J(($, T) => {
1854
+ n == null || n($, T), k(!1, T, "select"), T.isPropagationStopped() || j == null || j($, T);
1855
+ }), S = q(() => ({
1856
1856
  toggle: k,
1857
1857
  placement: i,
1858
1858
  show: d,
@@ -1865,9 +1865,9 @@ function he({
1865
1865
  const D = J(() => {
1866
1866
  b && b.focus && b.focus();
1867
1867
  }), L = J(() => {
1868
- const N = p.current;
1868
+ const $ = p.current;
1869
1869
  let T = a;
1870
- if (T == null && (T = l.current && kt(l.current) ? "keyboard" : !1), T === !1 || T === "keyboard" && !/^key.+$/.test(N))
1870
+ if (T == null && (T = l.current && kt(l.current) ? "keyboard" : !1), T === !1 || T === "keyboard" && !/^key.+$/.test($))
1871
1871
  return;
1872
1872
  const R = Oe(l.current, o)[0];
1873
1873
  R && R.focus && R.focus();
@@ -1877,55 +1877,55 @@ function he({
1877
1877
  }, [d, x, D, L]), P(() => {
1878
1878
  p.current = null;
1879
1879
  });
1880
- const I = (N, T) => {
1880
+ const I = ($, T) => {
1881
1881
  if (!l.current)
1882
1882
  return null;
1883
1883
  const R = Oe(l.current, o);
1884
- let _ = R.indexOf(N) + T;
1884
+ let _ = R.indexOf($) + T;
1885
1885
  return _ = Math.max(0, Math.min(_, R.length)), R[_];
1886
1886
  };
1887
- return So(S(() => u.document, [u]), "keydown", (N) => {
1887
+ return Fo(F(() => u.document, [u]), "keydown", ($) => {
1888
1888
  var T, R;
1889
1889
  const {
1890
1890
  key: _
1891
- } = N, Z = N.target, Ke = (T = l.current) == null ? void 0 : T.contains(Z), Sn = (R = g.current) == null ? void 0 : R.contains(Z);
1892
- if (/input|textarea/i.test(Z.tagName) && (_ === " " || _ !== "Escape" && Ke || _ === "Escape" && Z.type === "search") || !Ke && !Sn || _ === "Tab" && (!l.current || !d))
1891
+ } = $, Z = $.target, qe = (T = l.current) == null ? void 0 : T.contains(Z), Fn = (R = g.current) == null ? void 0 : R.contains(Z);
1892
+ if (/input|textarea/i.test(Z.tagName) && (_ === " " || _ !== "Escape" && qe || _ === "Escape" && Z.type === "search") || !qe && !Fn || _ === "Tab" && (!l.current || !d))
1893
1893
  return;
1894
- p.current = N.type;
1894
+ p.current = $.type;
1895
1895
  const Ce = {
1896
- originalEvent: N,
1897
- source: N.type
1896
+ originalEvent: $,
1897
+ source: $.type
1898
1898
  };
1899
1899
  switch (_) {
1900
1900
  case "ArrowUp": {
1901
- const q = I(Z, -1);
1902
- q && q.focus && q.focus(), N.preventDefault();
1901
+ const B = I(Z, -1);
1902
+ B && B.focus && B.focus(), $.preventDefault();
1903
1903
  return;
1904
1904
  }
1905
1905
  case "ArrowDown":
1906
- if (N.preventDefault(), !d)
1906
+ if ($.preventDefault(), !d)
1907
1907
  m(!0, Ce);
1908
1908
  else {
1909
- const q = I(Z, 1);
1910
- q && q.focus && q.focus();
1909
+ const B = I(Z, 1);
1910
+ B && B.focus && B.focus();
1911
1911
  }
1912
1912
  return;
1913
1913
  case "Tab":
1914
- cr(Z.ownerDocument, "keyup", (q) => {
1915
- var Be;
1916
- (q.key === "Tab" && !q.target || !((Be = l.current) != null && Be.contains(q.target))) && m(!1, Ce);
1914
+ cr(Z.ownerDocument, "keyup", (B) => {
1915
+ var Ke;
1916
+ (B.key === "Tab" && !B.target || !((Ke = l.current) != null && Ke.contains(B.target))) && m(!1, Ce);
1917
1917
  }, {
1918
1918
  once: !0
1919
1919
  });
1920
1920
  break;
1921
1921
  case "Escape":
1922
- _ === "Escape" && (N.preventDefault(), N.stopPropagation()), m(!1, Ce);
1922
+ _ === "Escape" && ($.preventDefault(), $.stopPropagation()), m(!1, Ce);
1923
1923
  break;
1924
1924
  }
1925
1925
  }), /* @__PURE__ */ s.jsx(X.Provider, {
1926
1926
  value: E,
1927
1927
  children: /* @__PURE__ */ s.jsx(je.Provider, {
1928
- value: F,
1928
+ value: S,
1929
1929
  children: c
1930
1930
  })
1931
1931
  });
@@ -1933,7 +1933,7 @@ function he({
1933
1933
  he.displayName = "Dropdown";
1934
1934
  he.Menu = We;
1935
1935
  he.Toggle = Dt;
1936
- he.Item = St;
1936
+ he.Item = Ft;
1937
1937
  const Mt = /* @__PURE__ */ v.createContext({});
1938
1938
  Mt.displayName = "DropdownContext";
1939
1939
  const It = Mt, Pt = /* @__PURE__ */ v.forwardRef(({
@@ -1972,7 +1972,7 @@ const la = Wt, Rt = /* @__PURE__ */ v.forwardRef(({
1972
1972
  as: i = xt,
1973
1973
  ...c
1974
1974
  }, u) => {
1975
- const d = M(e, "dropdown-item"), [m, l] = Ft({
1975
+ const d = M(e, "dropdown-item"), [m, l] = St({
1976
1976
  key: n,
1977
1977
  href: c.href,
1978
1978
  disabled: r,
@@ -2000,13 +2000,13 @@ const ua = Rt, At = /* @__PURE__ */ v.forwardRef(({
2000
2000
  At.displayName = "DropdownItemText";
2001
2001
  const da = At, Lt = /* @__PURE__ */ v.createContext(null);
2002
2002
  Lt.displayName = "InputGroupContext";
2003
- const Yt = Lt, Kt = /* @__PURE__ */ v.createContext(null);
2004
- Kt.displayName = "NavbarContext";
2005
- const Bt = Kt;
2006
- function qt(e, t) {
2003
+ const Yt = Lt, qt = /* @__PURE__ */ v.createContext(null);
2004
+ qt.displayName = "NavbarContext";
2005
+ const Kt = qt;
2006
+ function Bt(e, t) {
2007
2007
  if (process.env.NODE_ENV === "production")
2008
2008
  return e;
2009
- const n = S((r) => {
2009
+ const n = F((r) => {
2010
2010
  r == null || !r.isReactComponent || (process.env.NODE_ENV !== "production" ? tt(!1, `${t} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`) : tt(!1));
2011
2011
  }, [t]);
2012
2012
  return ve(n, e);
@@ -2031,28 +2031,28 @@ const Vt = /* @__PURE__ */ v.forwardRef(({
2031
2031
  ...m
2032
2032
  }, l) => {
2033
2033
  let f = !1;
2034
- const h = $(Bt), g = M(e, "dropdown-menu"), {
2034
+ const h = N(Kt), g = M(e, "dropdown-menu"), {
2035
2035
  align: w,
2036
2036
  drop: b,
2037
2037
  isRTL: C
2038
- } = $(It);
2038
+ } = N(It);
2039
2039
  n = n || w;
2040
- const p = $(Yt), x = [];
2040
+ const p = N(Yt), x = [];
2041
2041
  if (n)
2042
2042
  if (typeof n == "object") {
2043
- const N = Object.keys(n);
2044
- if (process.env.NODE_ENV !== "production" && Se(N.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), N.length) {
2045
- const T = N[0], R = n[T];
2043
+ const $ = Object.keys(n);
2044
+ if (process.env.NODE_ENV !== "production" && Fe($.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), $.length) {
2045
+ const T = $[0], R = n[T];
2046
2046
  f = R === "start", x.push(`${g}-${T}-${R}`);
2047
2047
  }
2048
2048
  } else
2049
2049
  n === "end" && (f = !0);
2050
2050
  const j = Ht(f, b, C), [k, {
2051
2051
  hasShown: E,
2052
- popper: F,
2052
+ popper: S,
2053
2053
  show: D,
2054
2054
  toggle: L
2055
- }] = Nt({
2055
+ }] = $t({
2056
2056
  flip: o,
2057
2057
  rootCloseEvent: r,
2058
2058
  show: a,
@@ -2061,16 +2061,16 @@ const Vt = /* @__PURE__ */ v.forwardRef(({
2061
2061
  popperConfig: u,
2062
2062
  placement: j
2063
2063
  });
2064
- if (k.ref = ve(qt(l, "DropdownMenu"), k.ref), lr(() => {
2065
- D && (F == null || F.update());
2064
+ if (k.ref = ve(Bt(l, "DropdownMenu"), k.ref), lr(() => {
2065
+ D && (S == null || S.update());
2066
2066
  }, [D]), !E && !i && !p)
2067
2067
  return null;
2068
2068
  typeof c != "string" && (k.show = D, k.close = () => L == null ? void 0 : L(!1), k.align = n);
2069
2069
  let I = m.style;
2070
- return F != null && F.placement && (I = {
2070
+ return S != null && S.placement && (I = {
2071
2071
  ...m.style,
2072
2072
  ...k.style
2073
- }, m["x-placement"] = F.placement), /* @__PURE__ */ s.jsx(c, {
2073
+ }, m["x-placement"] = S.placement), /* @__PURE__ */ s.jsx(c, {
2074
2074
  ...m,
2075
2075
  ...k,
2076
2076
  style: I,
@@ -2090,10 +2090,10 @@ const fa = Vt, _t = /* @__PURE__ */ v.forwardRef(({
2090
2090
  as: o = Lo,
2091
2091
  ...a
2092
2092
  }, i) => {
2093
- const c = M(e, "dropdown-toggle"), u = $(je);
2093
+ const c = M(e, "dropdown-toggle"), u = N(je);
2094
2094
  r !== void 0 && (a.bsPrefix = r);
2095
2095
  const [d] = Ot();
2096
- return d.ref = ve(d.ref, qt(i, "DropdownToggle")), /* @__PURE__ */ s.jsx(o, {
2096
+ return d.ref = ve(d.ref, Bt(i, "DropdownToggle")), /* @__PURE__ */ s.jsx(o, {
2097
2097
  className: y(n, c, t && `${c}-split`, (u == null ? void 0 : u.show) && "show"),
2098
2098
  ...d,
2099
2099
  ...a
@@ -2117,10 +2117,10 @@ const ma = _t, Gt = /* @__PURE__ */ v.forwardRef((e, t) => {
2117
2117
  ...h
2118
2118
  } = Me(e, {
2119
2119
  show: "onToggle"
2120
- }), g = $(Yt), w = M(n, "dropdown"), b = ur(), C = (F) => f === !1 ? F === "click" : f === "inside" ? F !== "rootClose" : f === "outside" ? F !== "select" : !0, p = J((F, D) => {
2120
+ }), g = N(Yt), w = M(n, "dropdown"), b = ur(), C = (S) => f === !1 ? S === "click" : f === "inside" ? S !== "rootClose" : f === "outside" ? S !== "select" : !0, p = J((S, D) => {
2121
2121
  var L, I;
2122
- !((L = D.originalEvent) == null || (I = L.target) == null) && I.classList.contains("dropdown-toggle") && D.source === "mousedown" || (D.originalEvent.currentTarget === document && (D.source !== "keydown" || D.originalEvent.key === "Escape") && (D.source = "rootClose"), C(D.source) && (u == null || u(F, D)));
2123
- }), j = Ht(i === "end", r, b), k = K(() => ({
2122
+ !((L = D.originalEvent) == null || (I = L.target) == null) && I.classList.contains("dropdown-toggle") && D.source === "mousedown" || (D.originalEvent.currentTarget === document && (D.source !== "keydown" || D.originalEvent.key === "Escape") && (D.source = "rootClose"), C(D.source) && (u == null || u(S, D)));
2123
+ }), j = Ht(i === "end", r, b), k = q(() => ({
2124
2124
  align: i,
2125
2125
  drop: r,
2126
2126
  isRTL: b
@@ -2196,7 +2196,7 @@ const Qt = Ae, ga = /* @__PURE__ */ v.createContext({}), U = ga, Xt = /* @__PURE
2196
2196
  }, u) => {
2197
2197
  const {
2198
2198
  controlId: d
2199
- } = $(U);
2199
+ } = N(U);
2200
2200
  return t = M(t, "form-check-input"), /* @__PURE__ */ s.jsx(i, {
2201
2201
  ...c,
2202
2202
  ref: u,
@@ -2214,7 +2214,7 @@ const Ut = Xt, zt = /* @__PURE__ */ v.forwardRef(({
2214
2214
  }, o) => {
2215
2215
  const {
2216
2216
  controlId: a
2217
- } = $(U);
2217
+ } = N(U);
2218
2218
  return e = M(e, "form-check-label"), /* @__PURE__ */ s.jsx("label", {
2219
2219
  ...r,
2220
2220
  ref: o,
@@ -2248,9 +2248,9 @@ const De = zt, Jt = /* @__PURE__ */ v.forwardRef(({
2248
2248
  t = M(t, "form-check"), n = M(n, "form-switch");
2249
2249
  const {
2250
2250
  controlId: j
2251
- } = $(U), k = K(() => ({
2251
+ } = N(U), k = q(() => ({
2252
2252
  controlId: e || j
2253
- }), [j, e]), E = !b && w != null && w !== !1 || Bo(b, De), F = /* @__PURE__ */ s.jsx(Ut, {
2253
+ }), [j, e]), E = !b && w != null && w !== !1 || Ko(b, De), S = /* @__PURE__ */ s.jsx(Ut, {
2254
2254
  ...p,
2255
2255
  type: g === "switch" ? "checkbox" : g,
2256
2256
  ref: x,
@@ -2265,7 +2265,7 @@ const De = zt, Jt = /* @__PURE__ */ v.forwardRef(({
2265
2265
  style: f,
2266
2266
  className: y(l, E && t, r && `${t}-inline`, o && `${t}-reverse`, g === "switch" && n),
2267
2267
  children: b || /* @__PURE__ */ s.jsxs(s.Fragment, {
2268
- children: [F, E && /* @__PURE__ */ s.jsx(De, {
2268
+ children: [S, E && /* @__PURE__ */ s.jsx(De, {
2269
2269
  title: h,
2270
2270
  children: w
2271
2271
  }), d && /* @__PURE__ */ s.jsx(Qt, {
@@ -2298,8 +2298,8 @@ const we = Object.assign(Jt, {
2298
2298
  }, f) => {
2299
2299
  const {
2300
2300
  controlId: h
2301
- } = $(U);
2302
- return e = M(e, "form-control"), process.env.NODE_ENV !== "production" && Se(h == null || !o, "`controlId` is ignored on `<FormControl>` when `id` is specified."), /* @__PURE__ */ s.jsx(m, {
2301
+ } = N(U);
2302
+ return e = M(e, "form-control"), process.env.NODE_ENV !== "production" && Fe(h == null || !o, "`controlId` is ignored on `<FormControl>` when `id` is specified."), /* @__PURE__ */ s.jsx(m, {
2303
2303
  ...l,
2304
2304
  type: t,
2305
2305
  size: r,
@@ -2329,7 +2329,7 @@ const ba = en, tn = /* @__PURE__ */ v.forwardRef(({
2329
2329
  as: t = "div",
2330
2330
  ...n
2331
2331
  }, r) => {
2332
- const o = K(() => ({
2332
+ const o = q(() => ({
2333
2333
  controlId: e
2334
2334
  }), [e]);
2335
2335
  return /* @__PURE__ */ s.jsx(U.Provider, {
@@ -2353,12 +2353,12 @@ const nn = tn, rn = /* @__PURE__ */ v.forwardRef(({
2353
2353
  }, c) => {
2354
2354
  const {
2355
2355
  controlId: u
2356
- } = $(U);
2356
+ } = N(U);
2357
2357
  t = M(t, "form-label");
2358
2358
  let d = "col-form-label";
2359
2359
  typeof n == "string" && (d = `${d} ${d}-${n}`);
2360
2360
  const m = y(o, t, r && "visually-hidden", n && d);
2361
- return process.env.NODE_ENV !== "production" && Se(u == null || !a, "`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."), a = a || u, n ? /* @__PURE__ */ s.jsx(Ho, {
2361
+ return process.env.NODE_ENV !== "production" && Fe(u == null || !a, "`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."), a = a || u, n ? /* @__PURE__ */ s.jsx(Ho, {
2362
2362
  ref: c,
2363
2363
  as: "label",
2364
2364
  className: m,
@@ -2383,7 +2383,7 @@ const xa = rn, on = /* @__PURE__ */ v.forwardRef(({
2383
2383
  }, o) => {
2384
2384
  const {
2385
2385
  controlId: a
2386
- } = $(U);
2386
+ } = N(U);
2387
2387
  return e = M(e, "form-range"), /* @__PURE__ */ s.jsx("input", {
2388
2388
  ...r,
2389
2389
  type: "range",
@@ -2405,7 +2405,7 @@ const wa = on, an = /* @__PURE__ */ v.forwardRef(({
2405
2405
  }, u) => {
2406
2406
  const {
2407
2407
  controlId: d
2408
- } = $(U);
2408
+ } = N(U);
2409
2409
  return e = M(e, "form-select"), /* @__PURE__ */ s.jsx("select", {
2410
2410
  ...c,
2411
2411
  size: n,
@@ -2497,7 +2497,7 @@ const V = Object.assign(Le, {
2497
2497
  Range: wa,
2498
2498
  Select: va,
2499
2499
  FloatingLabel: un
2500
- }), Na = /* @__PURE__ */ v.createContext(null), se = Na, $a = ["as", "active", "eventKey"];
2500
+ }), $a = /* @__PURE__ */ v.createContext(null), se = $a, Na = ["as", "active", "eventKey"];
2501
2501
  function Ea(e, t) {
2502
2502
  if (e == null)
2503
2503
  return {};
@@ -2514,7 +2514,7 @@ function dn({
2514
2514
  role: o,
2515
2515
  disabled: a
2516
2516
  }) {
2517
- const i = $(X), c = $(Re), u = $(se);
2517
+ const i = N(X), c = N(Re), u = N(se);
2518
2518
  let d = n;
2519
2519
  const m = {
2520
2520
  role: o
@@ -2535,7 +2535,7 @@ const fn = /* @__PURE__ */ v.forwardRef((e, t) => {
2535
2535
  as: n = Pe,
2536
2536
  active: r,
2537
2537
  eventKey: o
2538
- } = e, a = Ea(e, $a);
2538
+ } = e, a = Ea(e, Na);
2539
2539
  const [i, c] = dn(Object.assign({
2540
2540
  key: te(o, a.href),
2541
2541
  active: r
@@ -2564,7 +2564,7 @@ const at = () => {
2564
2564
  role: a,
2565
2565
  onKeyDown: i
2566
2566
  } = e, c = Da(e, Oa);
2567
- const u = Ct(), d = A(!1), m = $(X), l = $(se);
2567
+ const u = Ct(), d = A(!1), m = N(X), l = N(se);
2568
2568
  let f, h;
2569
2569
  l && (a = a || "tablist", o = l.activeKey, f = l.getControlledId, h = l.getControllerId);
2570
2570
  const g = A(null), w = (x) => {
@@ -2574,10 +2574,10 @@ const at = () => {
2574
2574
  const k = Oe(j, `[${st}]:not([aria-disabled=true])`), E = j.querySelector("[aria-selected=true]");
2575
2575
  if (!E || E !== document.activeElement)
2576
2576
  return null;
2577
- const F = k.indexOf(E);
2578
- if (F === -1)
2577
+ const S = k.indexOf(E);
2578
+ if (S === -1)
2579
2579
  return null;
2580
- let D = F + x;
2580
+ let D = S + x;
2581
2581
  return D >= k.length && (D = 0), D < 0 && (D = k.length - 1), k[D];
2582
2582
  }, b = (x, j) => {
2583
2583
  x != null && (r == null || r(x, j), m == null || m(x, j));
@@ -2648,12 +2648,12 @@ var it = { exports: {} }, Te = { exports: {} };
2648
2648
  }
2649
2649
  e.exports = t.default;
2650
2650
  })(Te, Te.exports);
2651
- var Fa = Te.exports;
2651
+ var Sa = Te.exports;
2652
2652
  (function(e, t) {
2653
2653
  Object.defineProperty(t, "__esModule", {
2654
2654
  value: !0
2655
2655
  }), t.default = a;
2656
- var n = Fa, r = o(n);
2656
+ var n = Sa, r = o(n);
2657
2657
  function o(i) {
2658
2658
  return i && i.__esModule ? i : { default: i };
2659
2659
  }
@@ -2727,7 +2727,7 @@ const bn = pn, xn = /* @__PURE__ */ v.forwardRef((e, t) => {
2727
2727
  activeKey: "onSelect"
2728
2728
  }), f = M(r, "nav");
2729
2729
  let h, g, w = !1;
2730
- const b = $(Bt), C = $(Yo);
2730
+ const b = N(Kt), C = N(Yo);
2731
2731
  return b ? (h = b.bsPrefix, w = c ?? !0) : C && ({
2732
2732
  cardHeaderBsPrefix: g
2733
2733
  } = C), /* @__PURE__ */ s.jsx(Ta, {
@@ -2747,11 +2747,11 @@ const bn = pn, xn = /* @__PURE__ */ v.forwardRef((e, t) => {
2747
2747
  });
2748
2748
  });
2749
2749
  xn.displayName = "Nav";
2750
- const Sa = Object.assign(xn, {
2750
+ const Fa = Object.assign(xn, {
2751
2751
  Item: gn,
2752
2752
  Link: bn
2753
2753
  }), Ma = ["active", "eventKey", "mountOnEnter", "transition", "unmountOnExit", "role", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited"], Ia = ["activeKey", "getControlledId", "getControllerId"], Pa = ["as"];
2754
- function Fe(e, t) {
2754
+ function Se(e, t) {
2755
2755
  if (e == null)
2756
2756
  return {};
2757
2757
  var n = {}, r = Object.keys(e), o, a;
@@ -2773,8 +2773,8 @@ function wn(e) {
2773
2773
  onExit: m,
2774
2774
  onExiting: l,
2775
2775
  onExited: f
2776
- } = e, h = Fe(e, Ma);
2777
- const g = $(se);
2776
+ } = e, h = Se(e, Ma);
2777
+ const g = N(se);
2778
2778
  if (!g)
2779
2779
  return [Object.assign({}, h, {
2780
2780
  role: i
@@ -2795,7 +2795,7 @@ function wn(e) {
2795
2795
  activeKey: w,
2796
2796
  getControlledId: b,
2797
2797
  getControllerId: C
2798
- } = g, p = Fe(g, Ia), x = te(n);
2798
+ } = g, p = Se(g, Ia), x = te(n);
2799
2799
  return [Object.assign({}, h, {
2800
2800
  role: i,
2801
2801
  id: b(n),
@@ -2819,7 +2819,7 @@ const vn = /* @__PURE__ */ v.forwardRef(
2819
2819
  (e, t) => {
2820
2820
  let {
2821
2821
  as: n = "div"
2822
- } = e, r = Fe(e, Pa);
2822
+ } = e, r = Se(e, Pa);
2823
2823
  const [o, {
2824
2824
  isActive: a,
2825
2825
  onEnter: i,
@@ -2868,7 +2868,7 @@ const yn = (e) => {
2868
2868
  mountOnEnter: c,
2869
2869
  unmountOnExit: u,
2870
2870
  children: d
2871
- } = e, [m, l] = jt(o, a, r), f = Et(t), h = K(() => n || ((w, b) => f ? `${f}-${b}-${w}` : null), [f, n]), g = K(() => ({
2871
+ } = e, [m, l] = jt(o, a, r), f = Et(t), h = q(() => n || ((w, b) => f ? `${f}-${b}-${w}` : null), [f, n]), g = q(() => ({
2872
2872
  onSelect: l,
2873
2873
  activeKey: m,
2874
2874
  transition: i,
@@ -2898,7 +2898,7 @@ const Cn = ({
2898
2898
  transition: Ye(e)
2899
2899
  });
2900
2900
  Cn.displayName = "TabContainer";
2901
- const Wa = Cn, Nn = /* @__PURE__ */ v.forwardRef(({
2901
+ const Wa = Cn, $n = /* @__PURE__ */ v.forwardRef(({
2902
2902
  className: e,
2903
2903
  bsPrefix: t,
2904
2904
  as: n = "div",
@@ -2908,8 +2908,8 @@ const Wa = Cn, Nn = /* @__PURE__ */ v.forwardRef(({
2908
2908
  className: y(e, t),
2909
2909
  ...r
2910
2910
  })));
2911
- Nn.displayName = "TabContent";
2912
- const $n = Nn, En = /* @__PURE__ */ v.forwardRef(({
2911
+ $n.displayName = "TabContent";
2912
+ const Nn = $n, En = /* @__PURE__ */ v.forwardRef(({
2913
2913
  bsPrefix: e,
2914
2914
  transition: t,
2915
2915
  ...n
@@ -2982,12 +2982,12 @@ const kn = En, Ra = {
2982
2982
  On.propTypes = Ra;
2983
2983
  const Aa = Object.assign(On, {
2984
2984
  Container: Wa,
2985
- Content: $n,
2985
+ Content: Nn,
2986
2986
  Pane: kn
2987
2987
  });
2988
2988
  function La(e) {
2989
2989
  let t;
2990
- return Ko(e, (n) => {
2990
+ return qo(e, (n) => {
2991
2991
  t == null && (t = n.props.eventKey);
2992
2992
  }), t;
2993
2993
  }
@@ -3036,14 +3036,14 @@ const Dn = (e) => {
3036
3036
  transition: Ye(r),
3037
3037
  mountOnEnter: o,
3038
3038
  unmountOnExit: a,
3039
- children: [/* @__PURE__ */ s.jsx(Sa, {
3039
+ children: [/* @__PURE__ */ s.jsx(Fa, {
3040
3040
  id: t,
3041
3041
  ...d,
3042
3042
  role: "tablist",
3043
3043
  as: "ul",
3044
3044
  variant: i,
3045
3045
  children: nt(c, Ya)
3046
- }), /* @__PURE__ */ s.jsx($n, {
3046
+ }), /* @__PURE__ */ s.jsx(Nn, {
3047
3047
  children: nt(c, (m) => {
3048
3048
  const l = {
3049
3049
  ...m.props
@@ -3056,27 +3056,27 @@ const Dn = (e) => {
3056
3056
  });
3057
3057
  };
3058
3058
  Dn.displayName = "Tabs";
3059
- const Ka = Dn, vs = ({ children: e, color: t = "primary", size: n = "md", className: r }) => /* @__PURE__ */ s.jsx("span", { className: y(`luminus-badge badge bg-${t} ${r ?? ""}`, Ve.badge, Ve[n]), children: e }), ys = ({ title: e, children: t, className: n }) => {
3059
+ const qa = Dn, vs = ({ children: e, color: t = "primary", size: n = "md", className: r }) => /* @__PURE__ */ s.jsx("span", { className: y(`luminus-badge badge bg-${t} ${r ?? ""}`, Ve.badge, Ve[n]), children: e }), ys = ({ title: e, children: t, className: n }) => {
3060
3060
  const [r, o] = W(!1);
3061
3061
  return /* @__PURE__ */ s.jsxs("div", { className: n ?? "", children: [
3062
3062
  /* @__PURE__ */ s.jsxs("div", { role: "button", className: "d-flex align-items-center justify-content-between pb-2 pt-2", onClick: () => o(!r), children: [
3063
3063
  /* @__PURE__ */ s.jsx(Qn, { variant: "h6", children: e }),
3064
- /* @__PURE__ */ s.jsx(qn, { className: y(_e.collapseIcon, { [_e.collapsed]: r }) })
3064
+ /* @__PURE__ */ s.jsx(Bn, { className: y(_e.collapseIcon, { [_e.collapsed]: r }) })
3065
3065
  ] }),
3066
- /* @__PURE__ */ s.jsx(Fo, { in: r, children: /* @__PURE__ */ s.jsx("div", { children: t }) }),
3066
+ /* @__PURE__ */ s.jsx(So, { in: r, children: /* @__PURE__ */ s.jsx("div", { children: t }) }),
3067
3067
  /* @__PURE__ */ s.jsx("hr", { className: `my-0 ${r ? "mt-3" : ""}` })
3068
3068
  ] });
3069
3069
  }, re = ({ withoutLabel: e, label: t, hidden: n, children: r }) => e ? /* @__PURE__ */ s.jsx(s.Fragment, { children: r }) : /* @__PURE__ */ s.jsx(un, { label: t, hidden: n ?? !1, className: y("luminus-floating-label", Hn.floatingLabel), children: r }), ie = ({ message: e, forFloating: t }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
3070
- /* @__PURE__ */ s.jsx("div", { className: y("invalid-feedback luminus-invalid-feedback", Ne.feedback, {
3071
- [Ne.forFloating]: t
3070
+ /* @__PURE__ */ s.jsx("div", { className: y("invalid-feedback luminus-invalid-feedback", $e.feedback, {
3071
+ [$e.forFloating]: t
3072
3072
  }), children: e }),
3073
- t && /* @__PURE__ */ s.jsx("div", { className: Ne.feedbackSpacer, children: e })
3074
- ] }), js = ({ heading: e, content: t, placement: n, children: r, trigger: o }) => /* @__PURE__ */ s.jsx(mt, { placement: n, overlay: /* @__PURE__ */ s.jsxs($e, { className: "luminus-tooltip", children: [
3075
- /* @__PURE__ */ s.jsx($e.Header, { as: "h3", children: e }),
3076
- /* @__PURE__ */ s.jsx($e.Body, { children: t })
3077
- ] }), trigger: o ?? "hover", rootClose: !0, children: r }), Ba = "_avatar-icon_1axl6_1", qa = {
3073
+ t && /* @__PURE__ */ s.jsx("div", { className: $e.feedbackSpacer, children: e })
3074
+ ] }), js = ({ heading: e, content: t, placement: n, children: r, trigger: o }) => /* @__PURE__ */ s.jsx(mt, { placement: n, overlay: /* @__PURE__ */ s.jsxs(Ne, { className: "luminus-tooltip", children: [
3075
+ /* @__PURE__ */ s.jsx(Ne.Header, { as: "h3", children: e }),
3076
+ /* @__PURE__ */ s.jsx(Ne.Body, { children: t })
3077
+ ] }), trigger: o ?? "hover", rootClose: !0, children: r }), Ka = "_avatar-icon_1axl6_1", Ba = {
3078
3078
  "avatar-icon": "_avatar-icon_1axl6_1",
3079
- avatarIcon: Ba
3079
+ avatarIcon: Ka
3080
3080
  }, Tn = ({ name: e, fontSize: t, size: n }) => {
3081
3081
  const r = (o) => {
3082
3082
  let a = 0, i;
@@ -3089,7 +3089,7 @@ const Ka = Dn, vs = ({ children: e, color: t = "primary", size: n = "md", classN
3089
3089
  }
3090
3090
  return c;
3091
3091
  };
3092
- return /* @__PURE__ */ s.jsx(mt, { placement: "bottom", overlay: /* @__PURE__ */ s.jsx(hr, { children: e }), children: /* @__PURE__ */ s.jsx("div", { className: qa.avatarIcon, style: {
3092
+ return /* @__PURE__ */ s.jsx(mt, { placement: "bottom", overlay: /* @__PURE__ */ s.jsx(hr, { children: e }), children: /* @__PURE__ */ s.jsx("div", { className: Ba.avatarIcon, style: {
3093
3093
  backgroundColor: r(e),
3094
3094
  fontSize: t ?? void 0,
3095
3095
  height: n ?? void 0,
@@ -3109,31 +3109,31 @@ function Ha(e, t, n) {
3109
3109
  l.current = !1;
3110
3110
  };
3111
3111
  }, []);
3112
- var x = K(function() {
3112
+ var x = q(function() {
3113
3113
  var j = function(I) {
3114
- var N = c.current, T = u.current;
3115
- return c.current = u.current = null, a.current = I, d.current = m.current.apply(T, N);
3116
- }, k = function(I, N) {
3117
- h && cancelAnimationFrame(i.current), i.current = h ? requestAnimationFrame(I) : setTimeout(I, N);
3114
+ var $ = c.current, T = u.current;
3115
+ return c.current = u.current = null, a.current = I, d.current = m.current.apply(T, $);
3116
+ }, k = function(I, $) {
3117
+ h && cancelAnimationFrame(i.current), i.current = h ? requestAnimationFrame(I) : setTimeout(I, $);
3118
3118
  }, E = function(I) {
3119
3119
  if (!l.current)
3120
3120
  return !1;
3121
- var N = I - o.current;
3122
- return !o.current || N >= t || N < 0 || b && I - a.current >= p;
3123
- }, F = function(I) {
3121
+ var $ = I - o.current;
3122
+ return !o.current || $ >= t || $ < 0 || b && I - a.current >= p;
3123
+ }, S = function(I) {
3124
3124
  return i.current = null, w && c.current ? j(I) : (c.current = u.current = null, d.current);
3125
3125
  }, D = function I() {
3126
- var N = Date.now();
3127
- if (E(N))
3128
- return F(N);
3126
+ var $ = Date.now();
3127
+ if (E($))
3128
+ return S($);
3129
3129
  if (l.current) {
3130
- var T = t - (N - o.current), R = b ? Math.min(T, p - (N - a.current)) : T;
3130
+ var T = t - ($ - o.current), R = b ? Math.min(T, p - ($ - a.current)) : T;
3131
3131
  k(I, R);
3132
3132
  }
3133
3133
  }, L = function() {
3134
3134
  if (f || C) {
3135
- var I = Date.now(), N = E(I);
3136
- if (c.current = [].slice.call(arguments), u.current = r, o.current = I, N) {
3135
+ var I = Date.now(), $ = E(I);
3136
+ if (c.current = [].slice.call(arguments), u.current = r, o.current = I, $) {
3137
3137
  if (!i.current && l.current)
3138
3138
  return a.current = o.current, k(D, t), g ? j(o.current) : d.current;
3139
3139
  if (b)
@@ -3147,7 +3147,7 @@ function Ha(e, t, n) {
3147
3147
  }, L.isPending = function() {
3148
3148
  return !!i.current;
3149
3149
  }, L.flush = function() {
3150
- return i.current ? F(Date.now()) : d.current;
3150
+ return i.current ? S(Date.now()) : d.current;
3151
3151
  }, L;
3152
3152
  }, [g, b, t, p, w, h, f, C]);
3153
3153
  return x;
@@ -3159,7 +3159,7 @@ function _a(e, t) {
3159
3159
  return t;
3160
3160
  }
3161
3161
  function Ga(e, t, n) {
3162
- var r = n && n.equalityFn || Va, o = lt(_a, e), a = o[0], i = o[1], c = Ha(S(function(d) {
3162
+ var r = n && n.equalityFn || Va, o = lt(_a, e), a = o[0], i = o[1], c = Ha(F(function(d) {
3163
3163
  return i(d);
3164
3164
  }, [i]), t, n), u = A(e);
3165
3165
  return r(u.current, e) || (c(e), u.current = e), [a, c];
@@ -3168,7 +3168,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3168
3168
  var u;
3169
3169
  n && n(((u = c.target) == null ? void 0 : u.checked) ?? !1);
3170
3170
  }, className: a ?? "", hidden: r ?? !1, disabled: o ?? !1 }), Qa = ({ type: e, value: t, onChange: n, label: r, withoutLabel: o, placeholder: a, size: i, hidden: c, disabled: u, showClearIcon: d, clearValue: m, className: l }) => {
3171
- const f = e === "number", h = S(() => {
3171
+ const f = e === "number", h = F(() => {
3172
3172
  if (!n)
3173
3173
  return;
3174
3174
  const g = m ?? null;
@@ -3184,8 +3184,8 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3184
3184
  }, className: l ?? "", hidden: c, disabled: u ?? !1 }),
3185
3185
  d && t && n && !u && /* @__PURE__ */ s.jsx("div", { className: `luminus-input-remove-icon ${e !== "text" ? "inset" : ""}`, children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: h, children: /* @__PURE__ */ s.jsx(ne, {}) }) })
3186
3186
  ] });
3187
- }, Ns = ({ value: e, options: t, onChange: n, label: r, withoutLabel: o, isNumber: a, size: i, hidden: c, disabled: u, showClearIcon: d, clearValue: m, noSortOptions: l, className: f }) => {
3188
- const h = S(() => {
3187
+ }, $s = ({ value: e, options: t, onChange: n, label: r, withoutLabel: o, isNumber: a, size: i, hidden: c, disabled: u, showClearIcon: d, clearValue: m, noSortOptions: l, className: f }) => {
3188
+ const h = F(() => {
3189
3189
  if (!n)
3190
3190
  return;
3191
3191
  const g = m ?? null;
@@ -3204,8 +3204,8 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3204
3204
  ] }),
3205
3205
  d && e && n && !u && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon inset", children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: h, children: /* @__PURE__ */ s.jsx(ne, {}) }) })
3206
3206
  ] });
3207
- }, $s = ({ defaultSelection: e, onSelect: t, label: n, withoutLabel: r, size: o, hidden: a, disabled: i }) => {
3208
- const [c, u] = W(e), [d, m] = W(!1), l = S((f) => {
3207
+ }, Ns = ({ defaultSelection: e, onSelect: t, label: n, withoutLabel: r, size: o, hidden: a, disabled: i }) => {
3208
+ const [c, u] = W(e), [d, m] = W(!1), l = F((f) => {
3209
3209
  u(f ? { id: f.id, name: f.fullName } : null);
3210
3210
  }, []);
3211
3211
  return P(() => {
@@ -3225,7 +3225,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3225
3225
  ] }),
3226
3226
  c && !i && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon inset", children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: () => l(null), children: /* @__PURE__ */ s.jsx(ne, {}) }) })
3227
3227
  ] }),
3228
- d && /* @__PURE__ */ s.jsx(Fn, { show: d, onCancel: () => m(!1), onEmployeeSelected: (f) => {
3228
+ d && /* @__PURE__ */ s.jsx(Sn, { show: d, onCancel: () => m(!1), onEmployeeSelected: (f) => {
3229
3229
  m(!1), l(f);
3230
3230
  } })
3231
3231
  ] });
@@ -3239,7 +3239,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3239
3239
  /* @__PURE__ */ s.jsx("div", { children: e.profession })
3240
3240
  ] })
3241
3241
  ] }), Ua = ({ onEmployeeSelected: e }) => {
3242
- const { axiosInstance: t, employeePickerModalTexts: n } = $(fe), [r, o] = W(!1), [a, i] = W(""), [c, u] = Ga(a, 500), [d, m] = W(null), l = !c, f = S(() => {
3242
+ const { axiosInstance: t, employeePickerModalTexts: n } = N(fe), [r, o] = W(!1), [a, i] = W(""), [c, u] = Ga(a, 500), [d, m] = W(null), l = !c, f = F(() => {
3243
3243
  if (l) {
3244
3244
  m(null);
3245
3245
  return;
@@ -3268,8 +3268,8 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3268
3268
  modalContent: Ja,
3269
3269
  "modal-body": "_modal-body_18hh3_5",
3270
3270
  modalBody: Za
3271
- }, Fn = ({ show: e, onCancel: t, onEmployeeSelected: n }) => {
3272
- const { employeePickerModalTexts: r } = $(fe);
3271
+ }, Sn = ({ show: e, onCancel: t, onEmployeeSelected: n }) => {
3272
+ const { employeePickerModalTexts: r } = N(fe);
3273
3273
  return /* @__PURE__ */ s.jsxs(ge, { show: e, onHide: () => t(), className: es.modal, children: [
3274
3274
  /* @__PURE__ */ s.jsx(ge.Header, { closeButton: !0, children: /* @__PURE__ */ s.jsx(ge.Title, { children: r.modalHeader }) }),
3275
3275
  /* @__PURE__ */ s.jsx(ge.Body, { className: "p-0", children: /* @__PURE__ */ s.jsx(Ua, { onEmployeeSelected: n }) })
@@ -3283,7 +3283,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3283
3283
  f !== void 0 && (f = f[h]);
3284
3284
  }), m(f);
3285
3285
  }, [r, a]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
3286
- /* @__PURE__ */ s.jsx(V.Check, { id: `check-${a}`, type: u ?? "checkbox", label: i, ...n(a, {
3286
+ /* @__PURE__ */ s.jsx(V.Check, { id: `check-${a}`, type: u ?? "checkbox", label: `${i}${t.required ? " *" : ""}`, ...n(a, {
3287
3287
  onChange: () => {
3288
3288
  c && c.forEach((l) => o(l, null));
3289
3289
  }
@@ -3301,7 +3301,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3301
3301
  }, [r, c]), P(() => {
3302
3302
  a(c, o(c));
3303
3303
  }, [u, c, o, a]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
3304
- u.map((f) => /* @__PURE__ */ s.jsx(V.Check, { id: `radio-${f.id}`, label: f.name, type: "radio", value: f.id ?? "", checked: i(c) === f.id, ...n(c, {
3304
+ u.map((f) => /* @__PURE__ */ s.jsx(V.Check, { id: `radio-${f.id}`, label: `${f.name}${t.required ? " *" : ""}`, type: "radio", value: f.id ?? "", checked: i(c) === f.id, ...n(c, {
3305
3305
  onChange: () => {
3306
3306
  d && d.forEach((h) => a(h, null));
3307
3307
  }
@@ -3309,7 +3309,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3309
3309
  m && /* @__PURE__ */ s.jsx(ie, { message: m.message })
3310
3310
  ] });
3311
3311
  }, Os = ({ hookFormProps: e, inputProps: t }) => {
3312
- const { register: n, formState: r, getValues: o, setValue: a, watch: i } = e, { formField: c, label: u, resetsFields: d, options: m, isNumber: l, size: f, showClearIcon: h, clearValue: g } = t, [w, b] = W(void 0), C = S(() => {
3312
+ const { register: n, formState: r, getValues: o, setValue: a, watch: i } = e, { formField: c, label: u, resetsFields: d, options: m, isNumber: l, size: f, showClearIcon: h, clearValue: g } = t, [w, b] = W(void 0), C = F(() => {
3313
3313
  const p = g ?? null;
3314
3314
  l ? a(c, p ? Number(p) : null) : a(c, (p == null ? void 0 : p.toString()) ?? "");
3315
3315
  }, [g, l, a, c]);
@@ -3321,7 +3321,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3321
3321
  }), b(x);
3322
3322
  }, [r, c]), P(() => {
3323
3323
  a(c, o(c));
3324
- }, [m, c, o, a]), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(re, { label: u, hidden: t.hidden, withoutLabel: !1, children: [
3324
+ }, [m, c, o, a]), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(re, { label: `${u}${t.required ? " *" : ""}`, hidden: t.hidden, withoutLabel: !1, children: [
3325
3325
  /* @__PURE__ */ s.jsxs(V.Select, { size: f, ...n(c, {
3326
3326
  setValueAs: (p) => l ? p ? parseInt(p, 10) : null : p == null || p === "" ? null : p,
3327
3327
  onChange: () => {
@@ -3335,10 +3335,10 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3335
3335
  w && /* @__PURE__ */ s.jsx(ie, { message: w.message, forFloating: !0 })
3336
3336
  ] }) });
3337
3337
  }, Ds = ({ hookFormProps: e, inputProps: t }) => {
3338
- const { register: n, formState: r, setValue: o, watch: a } = e, { formField: i, label: c, resetsFields: u, size: d, showClearIcon: m, clearValue: l } = t, [f, h] = W(void 0), g = S(() => {
3338
+ const { register: n, formState: r, setValue: o, watch: a } = e, { formField: i, label: c, resetsFields: u, size: d, showClearIcon: m, clearValue: l } = t, [f, h] = W(void 0), g = F(() => {
3339
3339
  const b = l ?? null;
3340
3340
  o(i, (b == null ? void 0 : b.toString()) ?? "");
3341
- }, [l, o, i]), w = S(() => {
3341
+ }, [l, o, i]), w = F(() => {
3342
3342
  const b = i.split(".");
3343
3343
  let C = r.errors;
3344
3344
  b.forEach((p) => {
@@ -3347,22 +3347,20 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3347
3347
  }, [r, i]);
3348
3348
  return P(() => {
3349
3349
  w();
3350
- }, [w]), /* @__PURE__ */ s.jsxs("div", { className: "position-relative", children: [
3351
- /* @__PURE__ */ s.jsxs(re, { label: c, hidden: t.hidden, withoutLabel: !1, children: [
3352
- /* @__PURE__ */ s.jsx(V.Control, { as: "textarea", size: d, ...n(i, {
3353
- onChange: () => {
3354
- u && u.forEach((b) => o(b, null));
3355
- }
3356
- }), isInvalid: f !== void 0, hidden: t.hidden, disabled: t.disabled }),
3357
- m && a(i) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: g, children: /* @__PURE__ */ s.jsx(ne, {}) }) })
3358
- ] }),
3350
+ }, [w]), /* @__PURE__ */ s.jsxs(re, { label: `${c}${t.required ? " *" : ""}`, hidden: t.hidden, withoutLabel: !1, children: [
3351
+ /* @__PURE__ */ s.jsx(V.Control, { as: "textarea", size: d, ...n(i, {
3352
+ onChange: () => {
3353
+ u && u.forEach((b) => o(b, null));
3354
+ }
3355
+ }), isInvalid: f !== void 0, hidden: t.hidden, disabled: t.disabled }),
3356
+ m && a(i) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: g, children: /* @__PURE__ */ s.jsx(ne, {}) }) }),
3359
3357
  f && /* @__PURE__ */ s.jsx(ie, { message: f.message, forFloating: !0 })
3360
3358
  ] });
3361
3359
  }, Ts = ({ hookFormProps: e, inputProps: t }) => {
3362
- const { register: n, formState: r, setValue: o, watch: a } = e, { type: i, formField: c, label: u, placeholder: d, size: m, resetsFields: l, showClearIcon: f, clearValue: h } = t, [g, w] = W(void 0), b = S(() => {
3360
+ const { register: n, formState: r, setValue: o, watch: a } = e, { type: i, formField: c, label: u, placeholder: d, size: m, resetsFields: l, showClearIcon: f, clearValue: h } = t, [g, w] = W(void 0), b = F(() => {
3363
3361
  const p = h ?? null;
3364
3362
  i === "number" ? o(c, p ? Number(p) : null) : o(c, (p == null ? void 0 : p.toString()) ?? "");
3365
- }, [h, i, o, c]), C = S(() => {
3363
+ }, [h, i, o, c]), C = F(() => {
3366
3364
  const p = c.split(".");
3367
3365
  let x = r.errors;
3368
3366
  p.forEach((j) => {
@@ -3371,7 +3369,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3371
3369
  }, [r, c]);
3372
3370
  return P(() => {
3373
3371
  C();
3374
- }, [C]), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(re, { label: u, hidden: t.hidden, withoutLabel: !1, children: [
3372
+ }, [C]), /* @__PURE__ */ s.jsxs(re, { label: `${u}${t.required ? " *" : ""}`, hidden: t.hidden, withoutLabel: !1, children: [
3375
3373
  /* @__PURE__ */ s.jsx(V.Control, { type: i, placeholder: d ?? u, size: m, ...n(c, {
3376
3374
  setValueAs: (p) => i === "number" ? p ? parseInt(p, 10) : null : p == null || p === "" ? null : p,
3377
3375
  onChange: () => {
@@ -3380,15 +3378,15 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3380
3378
  }), isInvalid: g !== void 0, hidden: t.hidden, disabled: t.disabled }),
3381
3379
  f && a(c) && /* @__PURE__ */ s.jsx("div", { className: `luminus-input-remove-icon ${i !== "text" ? "inset" : ""}`, children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: b, children: /* @__PURE__ */ s.jsx(ne, {}) }) }),
3382
3380
  g && /* @__PURE__ */ s.jsx(ie, { message: g.message, forFloating: !0 })
3383
- ] }) });
3384
- }, Fs = ({ hookFormProps: e, inputProps: t }) => {
3385
- const { register: n, formState: r, setValue: o, watch: a } = e, { formField: i, label: c, size: u, defaultSelection: d, resetsFields: m } = t, [l, f] = W(d), [h, g] = W(void 0), [w, b] = W(!1), C = S(() => {
3381
+ ] });
3382
+ }, Ss = ({ hookFormProps: e, inputProps: t }) => {
3383
+ const { register: n, formState: r, setValue: o, watch: a } = e, { formField: i, label: c, size: u, defaultSelection: d, resetsFields: m } = t, [l, f] = W(d), [h, g] = W(void 0), [w, b] = W(!1), C = F(() => {
3386
3384
  const x = i.split(".");
3387
3385
  let j = r.errors;
3388
3386
  x.forEach((k) => {
3389
3387
  j !== void 0 && (j = j[k]);
3390
3388
  }), g(j);
3391
- }, [r, i]), p = S((x) => {
3389
+ }, [r, i]), p = F((x) => {
3392
3390
  f(x ? { id: x.id, name: x.fullName } : null);
3393
3391
  }, []);
3394
3392
  return P(() => {
@@ -3398,7 +3396,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3398
3396
  }, [l, i, o]), P(() => {
3399
3397
  C();
3400
3398
  }, [C]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
3401
- /* @__PURE__ */ s.jsxs(re, { label: c, hidden: t.hidden, withoutLabel: !1, children: [
3399
+ /* @__PURE__ */ s.jsxs(re, { label: `${c}${t.required ? " *" : ""}`, hidden: t.hidden, withoutLabel: !1, children: [
3402
3400
  /* @__PURE__ */ s.jsxs(V.Select, { size: u, onMouseDown: (x) => {
3403
3401
  x.currentTarget.focus(), x.preventDefault();
3404
3402
  }, onClick: () => {
@@ -3416,13 +3414,13 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3416
3414
  a(i) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon inset", children: /* @__PURE__ */ s.jsx("button", { type: "button", className: "icon-button", onClick: () => p(null), children: /* @__PURE__ */ s.jsx(ne, {}) }) }),
3417
3415
  h && /* @__PURE__ */ s.jsx(ie, { message: h.message, forFloating: !0 })
3418
3416
  ] }),
3419
- w && /* @__PURE__ */ s.jsx(Fn, { show: w, onCancel: () => b(!1), onEmployeeSelected: (x) => {
3417
+ w && /* @__PURE__ */ s.jsx(Sn, { show: w, onCancel: () => b(!1), onEmployeeSelected: (x) => {
3420
3418
  b(!1), p(x);
3421
3419
  } })
3422
3420
  ] });
3423
3421
  }, ts = "_item_1jpus_1", ns = {
3424
3422
  item: ts
3425
- }, Ss = ({ color: e = "primary", icon: t = /* @__PURE__ */ s.jsx(ct, {}), className: n, children: r, ...o }) => /* @__PURE__ */ s.jsxs(xe.Item, { className: y(`btn luminus-dropdown-item rounded text-${e} ${n ?? ""}`, ns.item), ...o, children: [
3423
+ }, Fs = ({ color: e = "primary", icon: t = /* @__PURE__ */ s.jsx(ct, {}), className: n, children: r, ...o }) => /* @__PURE__ */ s.jsxs(xe.Item, { className: y(`btn luminus-dropdown-item rounded text-${e} ${n ?? ""}`, ns.item), ...o, children: [
3426
3424
  t,
3427
3425
  r
3428
3426
  ] }), rs = "_button_146se_1", os = {
@@ -3448,7 +3446,7 @@ const Cs = ({ label: e, value: t, onChange: n, hidden: r, disabled: o, className
3448
3446
  /* @__PURE__ */ s.jsx(xe.Menu, { className: y("luminus-dropdown rounded shadow", ss.dropdown), children: t })
3449
3447
  ] }), Rs = ({ cell: { value: e } }) => /* @__PURE__ */ s.jsx(s.Fragment, { children: e ? /* @__PURE__ */ s.jsx(Tn, { name: e, size: 22, fontSize: 12 }) : /* @__PURE__ */ s.jsx(s.Fragment, {}) }), is = "_tabs_13chm_1", cs = {
3450
3448
  tabs: is
3451
- }, As = ({ children: e, className: t, ...n }) => /* @__PURE__ */ s.jsx(Ka, { className: y(`luminus-tabs ${t ?? ""}`, cs.tabs), ...n, children: e }), Ls = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx(Aa, { ...t, children: e });
3449
+ }, As = ({ children: e, className: t, ...n }) => /* @__PURE__ */ s.jsx(qa, { className: y(`luminus-tabs ${t ?? ""}`, cs.tabs), ...n, children: e }), Ls = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx(Aa, { ...t, children: e });
3452
3450
  export {
3453
3451
  ps as ApiFileDownloadButton,
3454
3452
  Tn as AvatarIcon,
@@ -3457,15 +3455,15 @@ export {
3457
3455
  ys as Collapse,
3458
3456
  Co as ContextButton,
3459
3457
  Ws as Dropdown,
3460
- Ss as DropdownItem,
3458
+ Fs as DropdownItem,
3461
3459
  Ps as DropdownToggle,
3462
- $s as EmployeePicker,
3460
+ Ns as EmployeePicker,
3463
3461
  Ua as EmployeeSearch,
3464
- Fn as EmployeeSearchModal,
3462
+ Sn as EmployeeSearchModal,
3465
3463
  xs as FloatingFormSubmit,
3466
3464
  ws as HomeDashboard,
3467
3465
  Es as HookFormCheckInput,
3468
- Fs as HookFormEmployeePicker,
3466
+ Ss as HookFormEmployeePicker,
3469
3467
  ks as HookFormRadioInput,
3470
3468
  Os as HookFormSelectInput,
3471
3469
  Ds as HookFormTextAreaInput,
@@ -3476,9 +3474,9 @@ export {
3476
3474
  Xn as Loading,
3477
3475
  bs as MonthPicker,
3478
3476
  jo as PrimaryButton,
3479
- Ns as SelectInput,
3477
+ $s as SelectInput,
3480
3478
  Ms as SimpleToggle,
3481
- Bs as SimpleTooltip,
3479
+ Ks as SimpleTooltip,
3482
3480
  Ls as Tab,
3483
3481
  As as Tabs,
3484
3482
  Qa as TextInput,