lawgic-dev-kit 0.16.8 → 0.17.0

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 (32) hide show
  1. package/dist/_virtual/index2.js +2 -3
  2. package/dist/_virtual/index3.js +3 -3
  3. package/dist/_virtual/index4.js +3 -5
  4. package/dist/_virtual/index5.js +5 -2
  5. package/dist/_virtual/index6.js +2 -2
  6. package/dist/_virtual/index7.js +2 -2
  7. package/dist/components/atoms/CircleProgress/CircleProgress.d.ts +22 -0
  8. package/dist/components/atoms/CircleProgress/CircleProgress.js +78 -0
  9. package/dist/components/atoms/CircleProgress/index.d.ts +1 -0
  10. package/dist/components/atoms/Switch/Switch.d.ts +7 -0
  11. package/dist/components/atoms/Switch/Switch.js +33 -0
  12. package/dist/components/atoms/Switch/index.d.ts +1 -0
  13. package/dist/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js +52 -59
  14. package/dist/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts +6 -2
  15. package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.d.ts → ThresholdProgressBar/ThresholdProgressBar.d.ts} +1 -1
  16. package/dist/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
  17. package/dist/components/atoms/index.d.ts +3 -1
  18. package/dist/index.js +71 -67
  19. package/dist/lawgic-dev-kit.css +1 -1
  20. package/dist/lawgic-dev-kit.umd.js +59 -50
  21. package/dist/node_modules/prop-types/index.js +1 -1
  22. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  23. package/dist/node_modules/toposort/index.js +1 -1
  24. package/dist/node_modules/yup/index.esm.js +3 -3
  25. package/dist/src/components/atoms/ThresholdProgressBar/ThresholdProgressBar.d.ts +4 -0
  26. package/dist/src/components/atoms/ThresholdProgressBar/ThresholdProgressBar.types.d.ts +22 -0
  27. package/dist/src/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
  28. package/dist/src/components/atoms/index.d.ts +3 -1
  29. package/package.json +1 -1
  30. package/dist/components/atoms/TresholdProgressBar/index.d.ts +0 -1
  31. /package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.js → ThresholdProgressBar/ThresholdProgressBar.js} +0 -0
  32. /package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.types.d.ts → ThresholdProgressBar/ThresholdProgressBar.types.d.ts} +0 -0
@@ -1,5 +1,4 @@
1
- import { __require as r } from "../node_modules/property-expr/index.js";
2
- var e = r();
1
+ var p = { exports: {} };
3
2
  export {
4
- e as p
3
+ p as __module
5
4
  };
@@ -1,5 +1,5 @@
1
- import { __require as r } from "../node_modules/tiny-case/index.js";
2
- var a = r();
1
+ import { __require as r } from "../node_modules/property-expr/index.js";
2
+ var e = r();
3
3
  export {
4
- a as t
4
+ e as p
5
5
  };
@@ -1,7 +1,5 @@
1
- import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
- import { __require as r } from "../node_modules/toposort/index.js";
3
- var t = r();
4
- const s = /* @__PURE__ */ o(t);
1
+ import { __require as r } from "../node_modules/tiny-case/index.js";
2
+ var a = r();
5
3
  export {
6
- s as default
4
+ a as t
7
5
  };
@@ -1,4 +1,7 @@
1
- var p = { exports: {} };
1
+ import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/toposort/index.js";
3
+ var t = r();
4
+ const s = /* @__PURE__ */ o(t);
2
5
  export {
3
- p as __module
6
+ s as default
4
7
  };
@@ -1,4 +1,4 @@
1
- var o = { exports: {} };
1
+ var e = { exports: {} };
2
2
  export {
3
- o as __module
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var o = { exports: {} };
2
2
  export {
3
- e as __module
3
+ o as __module
4
4
  };
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ interface CircleProgressProps {
3
+ progress?: number;
4
+ label?: string;
5
+ showPercentage?: boolean;
6
+ progressLabel?: string;
7
+ color?: string;
8
+ backgroundColor?: string;
9
+ labelClassName?: string;
10
+ percentaeLabel?: string;
11
+ percentageLabelClassName?: string;
12
+ showPercentageLabel?: boolean;
13
+ percentageClassName?: string;
14
+ className?: string;
15
+ percentageLabel?: string;
16
+ size?: number;
17
+ strokeWidth?: number;
18
+ clockwise?: boolean;
19
+ startAngle?: number;
20
+ }
21
+ declare const CircleProgress: React.FC<CircleProgressProps>;
22
+ export default CircleProgress;
@@ -0,0 +1,78 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ const E = ({
3
+ progress: l = 0,
4
+ showPercentage: x = !0,
5
+ size: s = 120,
6
+ strokeWidth: r = 8,
7
+ color: m = "#4570EB",
8
+ backgroundColor: d = "#E4E4E7",
9
+ label: n,
10
+ className: h = "",
11
+ labelClassName: f = "",
12
+ percentageLabel: o = "",
13
+ percentageClassName: j = "",
14
+ showPercentageLabel: u = !1,
15
+ percentageLabelClassName: y = "",
16
+ clockwise: p = !0,
17
+ startAngle: N = -90
18
+ }) => {
19
+ const i = Math.min(100, Math.max(0, l)), e = s / 2, a = (s - r) / 2, c = 2 * Math.PI * a, $ = c, v = c - i / 100 * c, g = `rotate(${N} ${e} ${e}) scale(${p ? 1 : -1}, 1)`;
20
+ return /* @__PURE__ */ t.jsxs("div", { className: `flex flex-col items-center gap-2 ${h}`, children: [
21
+ /* @__PURE__ */ t.jsxs("div", { className: "relative", style: { width: s, height: s }, children: [
22
+ /* @__PURE__ */ t.jsxs(
23
+ "svg",
24
+ {
25
+ width: s,
26
+ height: s,
27
+ className: "transform -rotate-90",
28
+ viewBox: `0 0 ${s} ${s}`,
29
+ children: [
30
+ /* @__PURE__ */ t.jsx(
31
+ "circle",
32
+ {
33
+ cx: e,
34
+ cy: e,
35
+ r: a,
36
+ fill: "transparent",
37
+ stroke: d,
38
+ strokeWidth: r,
39
+ className: "opacity-20"
40
+ }
41
+ ),
42
+ /* @__PURE__ */ t.jsx(
43
+ "circle",
44
+ {
45
+ cx: e,
46
+ cy: e,
47
+ r: a,
48
+ fill: "transparent",
49
+ stroke: m,
50
+ strokeWidth: r,
51
+ strokeDasharray: $,
52
+ strokeDashoffset: v,
53
+ strokeLinecap: "round",
54
+ transform: g,
55
+ className: "transition-all ease-out",
56
+ style: {
57
+ transitionDuration: "1.5s",
58
+ transitionProperty: "stroke-dashoffset, stroke"
59
+ }
60
+ }
61
+ )
62
+ ]
63
+ }
64
+ ),
65
+ /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ t.jsxs("div", { className: "text-center", children: [
66
+ x && /* @__PURE__ */ t.jsxs("div", { className: `text-2xl font-bold text-gray-800 ${j}`, children: [
67
+ Math.round(i),
68
+ "%"
69
+ ] }),
70
+ o && u && /* @__PURE__ */ t.jsx("div", { className: `text-xs text-gray-500 mt-1 ${y}`, children: o })
71
+ ] }) })
72
+ ] }),
73
+ n && /* @__PURE__ */ t.jsx("p", { className: `text-gray-500 text-label mt-6 ${f}`, children: n })
74
+ ] });
75
+ };
76
+ export {
77
+ E as default
78
+ };
@@ -0,0 +1 @@
1
+ export { default as CircleProgress } from './CircleProgress';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export type SwitchProps = {
3
+ active: boolean;
4
+ onClick?: () => void;
5
+ };
6
+ declare const Switch: React.FC<SwitchProps>;
7
+ export default Switch;
@@ -0,0 +1,33 @@
1
+ import { j as s } from "../../../_virtual/jsx-runtime.js";
2
+ import { useTheme as t } from "../../../hooks/useTheme.js";
3
+ const l = ({ active: n, onClick: e }) => {
4
+ const { defaultColorScheme: o } = t();
5
+ return /* @__PURE__ */ s.jsxs(
6
+ "button",
7
+ {
8
+ onClick: e,
9
+ className: `
10
+ relative inline-flex min-h-24 min-w-48 items-center rounded-full
11
+ transition-colors duration-200 ease-in-out focus:outline-none
12
+ shadow-lg
13
+ ${n ? `bg-${o}-500` : "bg-gray-200"}
14
+ `,
15
+ children: [
16
+ /* @__PURE__ */ s.jsx("span", { className: "sr-only", children: n ? "On" : "Off" }),
17
+ /* @__PURE__ */ s.jsx(
18
+ "span",
19
+ {
20
+ className: `
21
+ inline-block h-20 w-20 transform rounded-full bg-white
22
+ transition-transform duration-200 ease-in-out drop-shadow-xl
23
+ ${n ? "translate-x-24" : "translate-x-3"}
24
+ `
25
+ }
26
+ )
27
+ ]
28
+ }
29
+ );
30
+ };
31
+ export {
32
+ l as default
33
+ };
@@ -0,0 +1 @@
1
+ export { default as Switch } from './Switch';
@@ -1,49 +1,53 @@
1
1
  import { j as e } from "../../../_virtual/jsx-runtime.js";
2
- const F = ({
3
- progress: p,
4
- showPercentage: f = !0,
5
- showLabel: m = !1,
6
- percentageLabel: u = "progreso",
7
- className: y = "",
2
+ const K = ({
3
+ progress: j = 0,
4
+ showPercentage: p = !0,
5
+ showPercentageLabel: y = !1,
6
+ label: d,
7
+ percentageLabel: f = "progreso",
8
+ percentageClassName: N = "",
9
+ percentageLabelClassName: $ = "",
10
+ labelClassName: v = "",
11
+ className: b = "",
8
12
  size: s = 120,
9
13
  strokeWidth: l = 8,
10
- backgroundColor: N = "#e5e7eb",
11
- animated: g = !0,
12
- animationDuration: v = "1.5s",
14
+ backgroundColor: k = "#e5e7eb",
15
+ animated: u = !0,
16
+ animationDuration: D = "1.5s",
13
17
  colorThresholds: n,
14
- lowThreshold: b = 30,
15
- mediumThreshold: $ = 70,
16
- lowColor: k = "#ef4444",
17
- mediumColor: D = "#eab308",
18
- highColor: M = "#22c55e",
19
- singleColor: j,
20
- clockwise: P = !0,
21
- startAngle: C = -90
18
+ lowThreshold: P = 30,
19
+ mediumThreshold: M = 70,
20
+ lowColor: w = "#ef4444",
21
+ mediumColor: C = "#eab308",
22
+ highColor: L = "#22c55e",
23
+ singleColor: m,
24
+ clockwise: B = !0,
25
+ startAngle: E = -90
22
26
  }) => {
23
- const w = (c) => {
24
- if (j)
25
- return j;
27
+ const I = (a) => {
28
+ if (m)
29
+ return m;
26
30
  if (n && n.length > 0) {
27
31
  const r = [...n].sort(
28
- (t, h) => t.threshold - h.threshold
32
+ (t, x) => t.threshold - x.threshold
29
33
  );
30
34
  for (let t = r.length - 1; t >= 0; t--)
31
- if (c >= r[t].threshold)
35
+ if (a >= r[t].threshold)
32
36
  return r[t].color;
33
37
  return r[0].color;
34
38
  }
35
- return c < b ? k : c < $ ? D : M;
36
- }, B = (c) => {
39
+ return a < P ? w : a < M ? C : L;
40
+ }, R = (a) => {
37
41
  if (!n || n.length === 0) return;
38
42
  const r = [...n].sort(
39
- (t, h) => t.threshold - h.threshold
43
+ (t, x) => t.threshold - x.threshold
40
44
  );
41
45
  for (let t = r.length - 1; t >= 0; t--)
42
- if (c >= r[t].threshold)
46
+ if (a >= r[t].threshold)
43
47
  return r[t].label;
44
48
  return r[0].label;
45
- }, o = Math.min(100, Math.max(0, p)), E = w(o), i = B(o), a = s / 2, x = (s - l) / 2, d = 2 * Math.PI * x, I = d, L = d - o / 100 * d, R = `rotate(${C} ${a} ${a}) scale(${P ? 1 : -1}, 1)`;
46
- return /* @__PURE__ */ e.jsxs("div", { className: `flex flex-col items-center gap-2 ${y}`, children: [
49
+ }, c = Math.min(100, Math.max(0, j)), q = I(c), g = R(c), o = s / 2, i = (s - l) / 2, h = 2 * Math.PI * i, A = h, F = h - c / 100 * h, G = `rotate(${E} ${o} ${o}) scale(${B ? 1 : -1}, 1)`;
50
+ return /* @__PURE__ */ e.jsxs("div", { className: `flex flex-col items-center gap-2 ${b}`, children: [
47
51
  /* @__PURE__ */ e.jsxs("div", { className: "relative", style: { width: s, height: s }, children: [
48
52
  /* @__PURE__ */ e.jsxs(
49
53
  "svg",
@@ -56,11 +60,11 @@ const F = ({
56
60
  /* @__PURE__ */ e.jsx(
57
61
  "circle",
58
62
  {
59
- cx: a,
60
- cy: a,
61
- r: x,
63
+ cx: o,
64
+ cy: o,
65
+ r: i,
62
66
  fill: "transparent",
63
- stroke: N,
67
+ stroke: k,
64
68
  strokeWidth: l,
65
69
  className: "opacity-20"
66
70
  }
@@ -68,19 +72,19 @@ const F = ({
68
72
  /* @__PURE__ */ e.jsx(
69
73
  "circle",
70
74
  {
71
- cx: a,
72
- cy: a,
73
- r: x,
75
+ cx: o,
76
+ cy: o,
77
+ r: i,
74
78
  fill: "transparent",
75
- stroke: E,
79
+ stroke: q,
76
80
  strokeWidth: l,
77
- strokeDasharray: I,
78
- strokeDashoffset: L,
81
+ strokeDasharray: A,
82
+ strokeDashoffset: F,
79
83
  strokeLinecap: "round",
80
- transform: R,
81
- className: g ? "transition-all ease-out" : "",
82
- style: g ? {
83
- transitionDuration: v,
84
+ transform: G,
85
+ className: u ? "transition-all ease-out" : "",
86
+ style: u ? {
87
+ transitionDuration: D,
84
88
  transitionProperty: "stroke-dashoffset, stroke"
85
89
  } : {}
86
90
  }
@@ -88,28 +92,17 @@ const F = ({
88
92
  ]
89
93
  }
90
94
  ),
91
- f && /* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
92
- /* @__PURE__ */ e.jsxs("div", { className: "text-2xl font-bold text-gray-800", children: [
93
- Math.round(o),
95
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
96
+ p && /* @__PURE__ */ e.jsxs("div", { className: `text-2xl font-bold text-gray-800 ${N}`, children: [
97
+ Math.round(c),
94
98
  "%"
95
99
  ] }),
96
- m && /* @__PURE__ */ e.jsx("div", { className: "text-xs text-gray-500 mt-1", children: i || u })
100
+ (g || f) && y && /* @__PURE__ */ e.jsx("div", { className: `text-xs text-gray-500 mt-1 ${$}`, children: g || f })
97
101
  ] }) })
98
102
  ] }),
99
- m && !f && /* @__PURE__ */ e.jsxs("div", { className: "text-sm text-gray-600 text-center", children: [
100
- /* @__PURE__ */ e.jsxs("span", { className: "font-medium", children: [
101
- Math.round(o),
102
- "%"
103
- ] }),
104
- i && /* @__PURE__ */ e.jsxs("span", { className: "text-xs text-gray-500 block", children: [
105
- "(",
106
- i,
107
- ")"
108
- ] }),
109
- /* @__PURE__ */ e.jsx("span", { className: "text-gray-500", children: u })
110
- ] })
103
+ d && /* @__PURE__ */ e.jsx("p", { className: `text-gray-500 text-label mt-6 ${v}`, children: d })
111
104
  ] });
112
105
  };
113
106
  export {
114
- F as default
107
+ K as default
115
108
  };
@@ -4,10 +4,14 @@ export interface ColorThreshold {
4
4
  label?: string;
5
5
  }
6
6
  export interface ThresholdCircleProgressProps {
7
- progress: number;
7
+ progress?: number;
8
8
  showPercentage?: boolean;
9
- showLabel?: boolean;
9
+ showPercentageLabel?: boolean;
10
+ percentageClassName?: string;
11
+ percentageLabelClassName?: string;
10
12
  percentageLabel?: string;
13
+ label?: string;
14
+ labelClassName?: string;
11
15
  className?: string;
12
16
  size?: number;
13
17
  strokeWidth?: number;
@@ -1,4 +1,4 @@
1
1
  import { default as React } from 'react';
2
- import { ThresholdProgressBarProps } from './TresholdProgressBar.types';
2
+ import { ThresholdProgressBarProps } from './ThresholdProgressBar.types';
3
3
  declare const ThresholdProgressBar: React.FC<ThresholdProgressBarProps>;
4
4
  export default ThresholdProgressBar;
@@ -0,0 +1 @@
1
+ export { default as ThresholdProgressBar } from './ThresholdProgressBar';
@@ -34,4 +34,6 @@ export * from './UploadContainer/index';
34
34
  export * from './Tooltip/index';
35
35
  export * from './LoadingProgress/index';
36
36
  export * from './ThresholdCircleProgress/index';
37
- export * from './TresholdProgressBar/index';
37
+ export * from './ThresholdProgressBar/index';
38
+ export * from './CircleProgress/index';
39
+ export * from './Switch/index';
package/dist/index.js CHANGED
@@ -8,11 +8,11 @@ import { default as i } from "./components/atoms/CenterModal/CenterModal.js";
8
8
  import { default as I } from "./components/atoms/Checkbox/Checkbox.js";
9
9
  import { default as g } from "./components/atoms/CountryInput/CountryInput.js";
10
10
  import { default as h } from "./components/atoms/CountryLabel/CountryLabel.js";
11
- import { default as S } from "./components/atoms/CountrySelectInput/CountryDropdown.js";
12
- import { default as P } from "./components/atoms/Divider/Divider.js";
11
+ import { default as B } from "./components/atoms/CountrySelectInput/CountryDropdown.js";
12
+ import { default as M } from "./components/atoms/Divider/Divider.js";
13
13
  import { default as y } from "./components/atoms/IconButton/IconButton.js";
14
- import { default as L } from "./components/atoms/ImageProfileInput/ImageProfileInput.js";
15
- import { default as w } from "./components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
14
+ import { default as w } from "./components/atoms/ImageProfileInput/ImageProfileInput.js";
15
+ import { default as U } from "./components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
16
16
  import { default as v } from "./components/atoms/IndexedStep/IndexedStep.js";
17
17
  import { default as z } from "./components/atoms/InfoCard/InfoCard.js";
18
18
  import { default as O } from "./components/atoms/InformationDisclaimer/InformationDisclaimer.js";
@@ -34,100 +34,104 @@ import { default as no } from "./components/atoms/UncontrolledTextInput/Uncontro
34
34
  import { default as co } from "./components/atoms/UploadContainer/UploadContainer.js";
35
35
  import { default as To } from "./components/atoms/Tooltip/Tooltip.js";
36
36
  import { default as Co } from "./components/atoms/LoadingProgress/LoadingProgress.js";
37
- import { default as Bo } from "./components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js";
38
- import { default as Mo } from "./components/atoms/TresholdProgressBar/TresholdProgressBar.js";
39
- import { default as Do } from "./components/molecules/AlertModal/AlertModal.js";
40
- import { default as bo } from "./components/molecules/CalendarSelector/CalendarSelector.js";
41
- import { default as Uo } from "./components/molecules/DateInput/DateInput.js";
42
- import { default as Ao } from "./components/molecules/DialogModal/DialogModal.js";
43
- import { default as Fo } from "./components/molecules/Dropdown/Dropdown.js";
44
- import { default as ko } from "./components/molecules/FileUpload/FileUpload.js";
45
- import { default as Vo } from "./components/molecules/FloatingMenu/FloatingMenu.js";
46
- import { default as qo } from "./components/molecules/IndexedStepper/IndexedStepper.js";
47
- import { default as Go } from "./components/molecules/InformationContainer/InformationContainer.js";
48
- import { default as Jo } from "./components/molecules/SearchModal/SearchModal.js";
49
- import { default as No } from "./components/molecules/Stepper/Stepper.js";
50
- import { default as Ro } from "./components/molecules/Tabs/Tabs.js";
51
- import { default as Xo } from "./components/molecules/UncontrolledDateInput/UncontrolledDateInput.js";
52
- import { Organism as Zo } from "./components/organisms/index.js";
53
- import { formatLocalizedDate as $o } from "./utils/dates.js";
54
- import { toBase64 as ee, translateBytes as te } from "./utils/files.js";
55
- import { getImageUrl as ae } from "./utils/images.js";
56
- import { ModalContainer as le, closeModal as pe, openCustomModal as de, openModal as se } from "./utils/modal.js";
57
- import { renderTabContent as ue } from "./utils/renderContentOptions.js";
58
- import { capitalizeFirstLetter as ne, stringToColor as ie } from "./utils/strings.js";
59
- import { showToastAsync as Ie, showToastLoading as Te, toast as ge } from "./utils/toast.js";
60
- import { ThemeProvider as he } from "./providers/ThemeProvider.js";
61
- import { useTheme as Se } from "./hooks/useTheme.js";
37
+ import { default as So } from "./components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js";
38
+ import { default as Po } from "./components/atoms/ThresholdProgressBar/ThresholdProgressBar.js";
39
+ import { default as Do } from "./components/atoms/CircleProgress/CircleProgress.js";
40
+ import { default as bo } from "./components/atoms/Switch/Switch.js";
41
+ import { default as Lo } from "./components/molecules/AlertModal/AlertModal.js";
42
+ import { default as Ao } from "./components/molecules/CalendarSelector/CalendarSelector.js";
43
+ import { default as Fo } from "./components/molecules/DateInput/DateInput.js";
44
+ import { default as ko } from "./components/molecules/DialogModal/DialogModal.js";
45
+ import { default as Vo } from "./components/molecules/Dropdown/Dropdown.js";
46
+ import { default as qo } from "./components/molecules/FileUpload/FileUpload.js";
47
+ import { default as Go } from "./components/molecules/FloatingMenu/FloatingMenu.js";
48
+ import { default as Jo } from "./components/molecules/IndexedStepper/IndexedStepper.js";
49
+ import { default as No } from "./components/molecules/InformationContainer/InformationContainer.js";
50
+ import { default as Ro } from "./components/molecules/SearchModal/SearchModal.js";
51
+ import { default as Xo } from "./components/molecules/Stepper/Stepper.js";
52
+ import { default as Zo } from "./components/molecules/Tabs/Tabs.js";
53
+ import { default as $o } from "./components/molecules/UncontrolledDateInput/UncontrolledDateInput.js";
54
+ import { Organism as ee } from "./components/organisms/index.js";
55
+ import { formatLocalizedDate as re } from "./utils/dates.js";
56
+ import { toBase64 as fe, translateBytes as le } from "./utils/files.js";
57
+ import { getImageUrl as de } from "./utils/images.js";
58
+ import { ModalContainer as me, closeModal as ue, openCustomModal as xe, openModal as ne } from "./utils/modal.js";
59
+ import { renderTabContent as ce } from "./utils/renderContentOptions.js";
60
+ import { capitalizeFirstLetter as Te, stringToColor as ge } from "./utils/strings.js";
61
+ import { showToastAsync as he, showToastLoading as Se, toast as Be } from "./utils/toast.js";
62
+ import { ThemeProvider as Me } from "./providers/ThemeProvider.js";
63
+ import { useTheme as ye } from "./hooks/useTheme.js";
62
64
  import "./contexts/themeContext.js";
63
- import { defaultTheme as Pe } from "./themes/default.js";
65
+ import { defaultTheme as we } from "./themes/default.js";
64
66
  export {
65
67
  a as ActionButton,
66
- Do as AlertModal,
68
+ Lo as AlertModal,
67
69
  l as AsyncToast,
68
70
  d as Avatar,
69
71
  m as BoxContainer,
70
72
  x as Button,
71
- bo as CalendarSelector,
73
+ Ao as CalendarSelector,
72
74
  i as CenterModal,
73
75
  I as Checkbox,
74
- S as CountryDropdown,
76
+ Do as CircleProgress,
77
+ B as CountryDropdown,
75
78
  g as CountryInput,
76
79
  h as CountryLabel,
77
- Uo as DateInput,
78
- Ao as DialogModal,
79
- P as Divider,
80
- Fo as Dropdown,
81
- ko as FileUpload,
82
- Vo as FloatingMenu,
80
+ Fo as DateInput,
81
+ ko as DialogModal,
82
+ M as Divider,
83
+ Vo as Dropdown,
84
+ qo as FileUpload,
85
+ Go as FloatingMenu,
83
86
  y as IconButton,
84
- L as ImageProfileInput,
87
+ w as ImageProfileInput,
85
88
  v as IndexedStep,
86
- qo as IndexedStepper,
89
+ Jo as IndexedStepper,
87
90
  z as InfoCard,
88
- Go as InformationContainer,
91
+ No as InformationContainer,
89
92
  O as InformationDisclaimer,
90
93
  Co as LoadingProgress,
91
94
  j as LoadingSpinner,
92
- le as ModalContainer,
93
- Zo as Organism,
95
+ me as ModalContainer,
96
+ ee as Organism,
94
97
  E as PasswordInput,
95
98
  H as PhoneInput,
96
99
  K as ProgressBar,
97
100
  Q as SearchBar,
98
- Jo as SearchModal,
101
+ Ro as SearchModal,
99
102
  W as SectionButton,
100
103
  Y as SelectInput,
101
104
  _ as SidebarButton,
102
- No as Stepper,
105
+ Xo as Stepper,
106
+ bo as Switch,
103
107
  oo as Tab,
104
- Ro as Tabs,
108
+ Zo as Tabs,
105
109
  to as TextButton,
106
110
  ao as TextInput,
107
111
  lo as TextStaticInput,
108
- he as ThemeProvider,
109
- Bo as ThresholdCircleProgress,
112
+ Me as ThemeProvider,
113
+ So as ThresholdCircleProgress,
114
+ Po as ThresholdProgressBar,
110
115
  so as Toast,
111
116
  To as Tooltip,
112
- Mo as TresholdProgressBar,
113
- Xo as UncontrolledDateInput,
117
+ $o as UncontrolledDateInput,
114
118
  uo as UncontrolledSelector,
115
119
  no as UncontrolledTextInput,
116
120
  co as UploadContainer,
117
- ne as capitalizeFirstLetter,
118
- pe as closeModal,
119
- Pe as defaultTheme,
120
- $o as formatLocalizedDate,
121
- ae as getImageUrl,
122
- de as openCustomModal,
123
- se as openModal,
124
- ue as renderTabContent,
125
- Ie as showToastAsync,
126
- Te as showToastLoading,
127
- ie as stringToColor,
128
- ee as toBase64,
129
- ge as toast,
130
- te as translateBytes,
131
- Se as useTheme,
132
- w as yupImageProfileValidator
121
+ Te as capitalizeFirstLetter,
122
+ ue as closeModal,
123
+ we as defaultTheme,
124
+ re as formatLocalizedDate,
125
+ de as getImageUrl,
126
+ xe as openCustomModal,
127
+ ne as openModal,
128
+ ce as renderTabContent,
129
+ he as showToastAsync,
130
+ Se as showToastLoading,
131
+ ge as stringToColor,
132
+ fe as toBase64,
133
+ Be as toast,
134
+ le as translateBytes,
135
+ ye as useTheme,
136
+ U as yupImageProfileValidator
133
137
  };