lawgic-dev-kit 0.14.2 → 0.14.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 (45) 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/ActionButton/ActionButton.d.ts +1 -1
  8. package/dist/components/atoms/Avatar/Avatar.d.ts +1 -1
  9. package/dist/components/atoms/Avatar/Avatar.js +14 -4
  10. package/dist/components/atoms/CenterModal/CenterModal.js +25 -24
  11. package/dist/components/atoms/CenterModal/CenterModal.types.d.ts +1 -0
  12. package/dist/components/atoms/SectionButton/mobile/MobileSectionButton.styles.js +3 -9
  13. package/dist/components/atoms/Tooltip/Tooltip.d.ts +4 -0
  14. package/dist/components/atoms/Tooltip/Tooltip.js +121 -0
  15. package/dist/components/atoms/Tooltip/Tooltip.types.d.ts +9 -0
  16. package/dist/components/atoms/Tooltip/index.d.ts +1 -0
  17. package/dist/components/atoms/UploadContainer/UploadContainer.js +3 -2
  18. package/dist/components/atoms/index.d.ts +1 -0
  19. package/dist/components/molecules/AlertModal/AlertModal.js +7 -6
  20. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +3 -2
  21. package/dist/components/molecules/DialogModal/DialogModal.js +3 -2
  22. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +7 -6
  23. package/dist/components/molecules/IndexedStepper/IndexedStepper.js +15 -0
  24. package/dist/components/molecules/InformationContainer/InformationContainer.js +13 -0
  25. package/dist/components/molecules/Tabs/Tabs.js +3 -2
  26. package/dist/components/molecules/UncontrolledDateInput/UncontrolledDateInput.js +96 -0
  27. package/dist/components/molecules/UncontrolledDateInput/index.d.ts +1 -1
  28. package/dist/components/molecules/index.d.ts +15 -10
  29. package/dist/index.js +65 -57
  30. package/dist/lab/Laboratory.d.ts +2 -0
  31. package/dist/lab/LaboratoryLayout.d.ts +4 -0
  32. package/dist/lab/index.lab.d.ts +0 -0
  33. package/dist/lawgic-dev-kit.css +1 -1
  34. package/dist/lawgic-dev-kit.umd.js +56 -56
  35. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +712 -396
  36. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +81 -33
  37. package/dist/node_modules/prop-types/index.js +1 -1
  38. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  39. package/dist/node_modules/toposort/index.js +1 -1
  40. package/dist/node_modules/yup/index.esm.js +3 -3
  41. package/dist/src/components/atoms/CenterModal/CenterModal.types.d.ts +6 -0
  42. package/dist/src/lab/LaboratoryLayout.d.ts +5 -0
  43. package/dist/utils/modal.js +17 -16
  44. package/dist/utils/toast.js +17 -16
  45. package/package.json +4 -3
@@ -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
  };
@@ -1,6 +1,6 @@
1
1
  import { IconProp } from '@fortawesome/fontawesome-svg-core';
2
2
  import { FC } from 'react';
3
- interface ActionButtonProps {
3
+ export interface ActionButtonProps {
4
4
  title: string;
5
5
  icon?: IconProp;
6
6
  imageUrl?: string;
@@ -1,5 +1,5 @@
1
1
  import { UserStructure } from 'legal-cycle-api-types';
2
- interface AvatarProps {
2
+ export interface AvatarProps {
3
3
  containerProps?: React.HTMLProps<HTMLDivElement>;
4
4
  imageProps?: React.HTMLProps<HTMLImageElement>;
5
5
  src?: string;
@@ -9,8 +9,18 @@ import "../../../contexts/themeContext.js";
9
9
  import "react-hook-form";
10
10
  import "../../../constants/countries.js";
11
11
  import "../ImageProfileInput/ImageProfileInput.validators.js";
12
- const V = ({ containerProps: x = {}, imageProps: d = {}, src: m = "", alt: i = "", size: e = 30, user: t = null }) => {
13
- const { className: p = " ", ...g } = x, { className: s = " ", ...v } = d, o = e + "px", n = e * 0.5 + "px", l = e * 0.4 + "px", [j, w] = W(!1), N = () => i ? h(i) : t ? h(t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email) : "#9CA1B6", c = (f) => {
12
+ import "../../molecules/InformationContainer/InformationContainer.js";
13
+ const $ = ({
14
+ containerProps: x = {},
15
+ imageProps: p = {},
16
+ src: m = "",
17
+ alt: i = "",
18
+ size: e = 30,
19
+ user: t = null
20
+ }) => {
21
+ const { className: d = " ", ...g } = x, { className: s = " ", ...v } = p, o = e + "px", n = e * 0.5 + "px", l = e * 0.4 + "px", [j, w] = W(!1), N = () => i ? h(i) : t ? h(
22
+ t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email
23
+ ) : "#9CA1B6", c = (f) => {
14
24
  try {
15
25
  return f ? (new URL(f), !0) : !1;
16
26
  } catch (C) {
@@ -52,7 +62,7 @@ const V = ({ containerProps: x = {}, imageProps: d = {}, src: m = "", alt: i = "
52
62
  return /* @__PURE__ */ a.jsxs(
53
63
  "div",
54
64
  {
55
- className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " + p,
65
+ className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " + d,
56
66
  style: {
57
67
  maxWidth: o,
58
68
  maxHeight: o,
@@ -96,5 +106,5 @@ const V = ({ containerProps: x = {}, imageProps: d = {}, src: m = "", alt: i = "
96
106
  );
97
107
  };
98
108
  export {
99
- V as default
109
+ $ as default
100
110
  };
@@ -1,20 +1,21 @@
1
1
  import { j as i } from "../../../_virtual/jsx-runtime.js";
2
- import m from "../BoxContainer/BoxContainer.js";
3
- import { FontAwesomeIcon as c } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
2
+ import c from "../BoxContainer/BoxContainer.js";
3
+ import { FontAwesomeIcon as x } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import { faX as d } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
5
- import x from "../Divider/Divider.js";
6
- import { AnimatePresence as p } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
5
+ import p from "../Divider/Divider.js";
6
+ import { AnimatePresence as f } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
7
7
  import { motion as s } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
8
- const b = ({
8
+ const N = ({
9
9
  open: n,
10
- onClose: e,
11
- title: t,
12
- children: a
10
+ onClose: a,
11
+ title: e,
12
+ children: t,
13
+ className: o = ""
13
14
  }) => {
14
- const o = {
15
+ const r = {
15
16
  hidden: { opacity: 0 },
16
17
  visible: { opacity: 1 }
17
- }, r = {
18
+ }, l = {
18
19
  hidden: {
19
20
  opacity: 0,
20
21
  scale: 0.9
@@ -34,40 +35,40 @@ const b = ({
34
35
  }
35
36
  }
36
37
  };
37
- return /* @__PURE__ */ i.jsx(p, { children: n && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
38
+ return /* @__PURE__ */ i.jsx(f, { children: n && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
38
39
  s.div,
39
40
  {
40
41
  className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
41
42
  initial: "hidden",
42
43
  animate: "visible",
43
44
  exit: "hidden",
44
- variants: o,
45
- onClick: e,
45
+ variants: r,
46
+ onClick: a,
46
47
  children: /* @__PURE__ */ i.jsx(
47
48
  s.div,
48
49
  {
49
- className: "w-full max-w-lg mx-16 z-50",
50
- variants: r,
50
+ className: `w-full max-w-lg mx-16 z-50 ${o}`,
51
+ variants: l,
51
52
  initial: "hidden",
52
53
  animate: "visible",
53
54
  exit: "exit",
54
- onClick: (l) => l.stopPropagation(),
55
- children: /* @__PURE__ */ i.jsxs(m, { className: "flex flex-col gap-16 md:gap-24 p-0!", children: [
56
- /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0", children: [
55
+ onClick: (m) => m.stopPropagation(),
56
+ children: /* @__PURE__ */ i.jsxs(c, { className: `flex flex-col ${e && "gap-16 md:gap-24"} p-0!`, children: [
57
+ /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-16 md:gap-24 md:p-32 pb-0!", children: [
57
58
  /* @__PURE__ */ i.jsxs("div", { className: "flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0", children: [
58
- t && /* @__PURE__ */ i.jsx("h2", { className: "text-black font-700 text-2xl", children: t }),
59
+ e && /* @__PURE__ */ i.jsx("h2", { className: "text-black font-700 text-2xl", children: e }),
59
60
  /* @__PURE__ */ i.jsx(
60
- c,
61
+ x,
61
62
  {
62
63
  icon: d,
63
64
  className: "cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",
64
- onClick: e
65
+ onClick: a
65
66
  }
66
67
  )
67
68
  ] }),
68
- t && /* @__PURE__ */ i.jsx(x, { className: "bg-gray-100!" })
69
+ e && /* @__PURE__ */ i.jsx(p, { className: "bg-gray-100!" })
69
70
  ] }),
70
- /* @__PURE__ */ i.jsx("div", { className: "flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4", children: typeof a == "function" ? a(e) : a })
71
+ /* @__PURE__ */ i.jsx("div", { className: "flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4", children: typeof t == "function" ? t(a) : t })
71
72
  ] })
72
73
  }
73
74
  )
@@ -75,5 +76,5 @@ const b = ({
75
76
  ) }) });
76
77
  };
77
78
  export {
78
- b as default
79
+ N as default
79
80
  };
@@ -2,4 +2,5 @@ import { ModalProps } from '../../../types';
2
2
  export interface CenterModalProps extends ModalProps {
3
3
  title?: string;
4
4
  children: React.ReactNode | ((onClose: () => void) => React.ReactNode);
5
+ className?: string;
5
6
  }
@@ -5,7 +5,7 @@ const s = "w-fit transition-colors group ease-in-out duration-200 flex flex-col
5
5
  }, n = {
6
6
  true: "text-aqua-500 hover:text-aqua-500",
7
7
  false: "text-gray-800 hover:text-aqua-500"
8
- }, l = "flex size-24 items-center justify-center transition-colors ease-in-out duration-200 rounded-full", c = {
8
+ }, l = "flex h-32 w-32 items-center justify-center transition-colors ease-in-out duration-200 rounded-full", c = {
9
9
  true: "text-blue-500 bg-blue-100 rounded-full",
10
10
  false: "text-gray-800 hover:text-blue-500 active:text-blue-500 group-hover:bg-blue-100 group-hover:text-blue-500"
11
11
  }, i = {
@@ -23,10 +23,7 @@ const s = "w-fit transition-colors group ease-in-out duration-200 flex flex-col
23
23
  t = i[e];
24
24
  break;
25
25
  }
26
- return u(
27
- l,
28
- t
29
- );
26
+ return u(l, t);
30
27
  }, f = (a = !1, o = "blue") => {
31
28
  const e = String(a);
32
29
  let t;
@@ -39,10 +36,7 @@ const s = "w-fit transition-colors group ease-in-out duration-200 flex flex-col
39
36
  t = r[e];
40
37
  break;
41
38
  }
42
- return u(
43
- s,
44
- t
45
- );
39
+ return u(s, t);
46
40
  };
47
41
  export {
48
42
  f as resolveSectionButtonClasses,
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TooltipProps } from './Tooltip.types';
3
+ declare const Tooltip: React.FC<TooltipProps>;
4
+ export default Tooltip;
@@ -0,0 +1,121 @@
1
+ import { j as e } from "../../../_virtual/jsx-runtime.js";
2
+ import S, { useState as j, useRef as E } from "react";
3
+ import { useFloating as P, useHover as v, useFocus as L, useDismiss as D, useRole as F, useInteractions as W } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
4
+ import { AnimatePresence as B } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
5
+ import { motion as N } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
6
+ import { autoUpdate as X } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
7
+ import { offset as H, flip as M, shift as Y, arrow as Z } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
8
+ const t = 8, z = 1e3, U = "300px", k = {
9
+ top: "bottom",
10
+ right: "left",
11
+ bottom: "top",
12
+ left: "right"
13
+ }, q = {
14
+ top: {
15
+ borderLeft: `${t}px solid transparent`,
16
+ borderRight: `${t}px solid transparent`,
17
+ borderTop: `${t}px solid #C7C8CA`
18
+ },
19
+ bottom: {
20
+ borderLeft: `${t}px solid transparent`,
21
+ borderRight: `${t}px solid transparent`,
22
+ borderBottom: `${t}px solid #C7C8CA`
23
+ },
24
+ left: {
25
+ borderTop: `${t}px solid transparent`,
26
+ borderBottom: `${t}px solid transparent`,
27
+ borderLeft: `${t}px solid #C7C8CA`
28
+ },
29
+ right: {
30
+ borderTop: `${t}px solid transparent`,
31
+ borderBottom: `${t}px solid transparent`,
32
+ borderRight: `${t}px solid #C7C8CA`
33
+ }
34
+ }, ot = ({
35
+ children: p,
36
+ message: d,
37
+ className: c = "",
38
+ placement: m = "top",
39
+ offset: x = 8,
40
+ delay: f = 0
41
+ }) => {
42
+ const [r, u] = j(!1), s = E(null), {
43
+ x: h,
44
+ y: g,
45
+ strategy: b,
46
+ placement: R,
47
+ refs: n,
48
+ context: o,
49
+ middlewareData: $
50
+ } = P({
51
+ open: r,
52
+ onOpenChange: u,
53
+ placement: m,
54
+ middleware: [
55
+ H(x),
56
+ M(),
57
+ Y({ padding: 8 }),
58
+ Z({ element: s })
59
+ ],
60
+ whileElementsMounted: X
61
+ }), C = v(o, { delay: f }), w = L(o), y = D(o), T = F(o, { role: "tooltip" }), { getReferenceProps: I, getFloatingProps: O } = W([
62
+ C,
63
+ w,
64
+ y,
65
+ T
66
+ ]), i = R.split(
67
+ "-"
68
+ )[0], A = k[i], { x: a, y: l } = $.arrow || { x: 0, y: 0 }, _ = S.cloneElement(p, {
69
+ // @ts-expect-error - Ref is not a valid prop for the children
70
+ ref: n.setReference,
71
+ ...I()
72
+ });
73
+ return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
74
+ _,
75
+ /* @__PURE__ */ e.jsx(B, { children: r && /* @__PURE__ */ e.jsx(
76
+ "div",
77
+ {
78
+ ref: n.setFloating,
79
+ style: {
80
+ position: b,
81
+ top: g ?? 0,
82
+ left: h ?? 0,
83
+ zIndex: z,
84
+ width: "max-content",
85
+ maxWidth: U
86
+ },
87
+ ...O(),
88
+ children: /* @__PURE__ */ e.jsxs(
89
+ N.div,
90
+ {
91
+ className: `py-10 px-16 rounded-xl text-md bg-gray-200 text-gray-800 font-600 shadow-lg ${c} relative`,
92
+ initial: { opacity: 0, scale: 0.95 },
93
+ animate: { opacity: 1, scale: 1 },
94
+ exit: { opacity: 0, scale: 0.95 },
95
+ transition: { duration: 0.1, ease: "easeOut" },
96
+ children: [
97
+ d,
98
+ /* @__PURE__ */ e.jsx(
99
+ "div",
100
+ {
101
+ ref: s,
102
+ className: "absolute w-0 h-0 tooltip-arrow-light",
103
+ style: {
104
+ position: "absolute",
105
+ left: a != null ? `${a}px` : "",
106
+ top: l != null ? `${l}px` : "",
107
+ [A]: "-7px",
108
+ ...q[i]
109
+ }
110
+ }
111
+ )
112
+ ]
113
+ }
114
+ )
115
+ }
116
+ ) })
117
+ ] });
118
+ };
119
+ export {
120
+ ot as default
121
+ };
@@ -0,0 +1,9 @@
1
+ import { Placement } from '@floating-ui/dom';
2
+ export interface TooltipProps {
3
+ message: React.ReactNode;
4
+ children: React.ReactElement;
5
+ className?: string;
6
+ placement?: Placement;
7
+ offset?: number;
8
+ delay?: number;
9
+ }
@@ -0,0 +1 @@
1
+ export { default as Tooltip } from './Tooltip';
@@ -8,7 +8,8 @@ import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
8
8
  import "react-hook-form";
9
9
  import "../../../constants/countries.js";
10
10
  import "../ImageProfileInput/ImageProfileInput.validators.js";
11
- const q = ({
11
+ import "../../molecules/InformationContainer/InformationContainer.js";
12
+ const z = ({
12
13
  title: h = "drag_and_drop_your_files_here",
13
14
  subtitle: d = null,
14
15
  buttonTitle: v = "choose_files",
@@ -112,5 +113,5 @@ const q = ({
112
113
  ] });
113
114
  };
114
115
  export {
115
- q as default
116
+ z as default
116
117
  };
@@ -31,3 +31,4 @@ export * from './Toast/index';
31
31
  export * from './UncontrolledSelector/index';
32
32
  export * from './UncontrolledTextInput/index';
33
33
  export * from './UploadContainer/index';
34
+ export * from './Tooltip/index';
@@ -5,18 +5,19 @@ import "react";
5
5
  import "../../../_virtual/lodash.js";
6
6
  import { useTheme as j } from "../../../hooks/useTheme.js";
7
7
  import "react-hook-form";
8
+ import "../InformationContainer/InformationContainer.js";
8
9
  import g from "../../atoms/BoxContainer/BoxContainer.js";
9
10
  import a from "../../atoms/Button/Button.js";
10
11
  import "../../../constants/countries.js";
11
12
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
12
13
  import { AnimatePresence as u } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
13
14
  import { motion as n } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
14
- const I = ({
15
+ const M = ({
15
16
  title: s,
16
17
  description: r,
17
- open: l,
18
+ open: o,
18
19
  onClose: i,
19
- onConfirm: o,
20
+ onConfirm: l,
20
21
  onCancel: c
21
22
  }) => {
22
23
  const { t: e } = j(), m = {
@@ -47,11 +48,11 @@ const I = ({
47
48
  }
48
49
  }
49
50
  }, p = () => {
50
- o(), i();
51
+ l(), i();
51
52
  }, d = () => {
52
53
  c(), i();
53
54
  };
54
- return /* @__PURE__ */ t.jsx(u, { children: l && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
55
+ return /* @__PURE__ */ t.jsx(u, { children: o && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
55
56
  n.div,
56
57
  {
57
58
  className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
@@ -108,5 +109,5 @@ const I = ({
108
109
  ) }) });
109
110
  };
110
111
  export {
111
- I as default
112
+ M as default
112
113
  };
@@ -10,6 +10,7 @@ import ie from "./PeriodToggle.js";
10
10
  import le from "./TimeDisplay.js";
11
11
  import { faChevronDown as ce } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
12
12
  import "react-hook-form";
13
+ import "../InformationContainer/InformationContainer.js";
13
14
  import "../../../constants/countries.js";
14
15
  import I from "../../atoms/IconButton/IconButton.js";
15
16
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
@@ -30,7 +31,7 @@ import { setMinutes as R } from "../../../node_modules/date-fns/setMinutes.js";
30
31
  import { setSeconds as L } from "../../../node_modules/date-fns/setSeconds.js";
31
32
  import { formatDate as u } from "../../../node_modules/date-fns/format.js";
32
33
  import { es as h } from "../../../node_modules/date-fns/locale/es.js";
33
- const et = ({
34
+ const tt = ({
34
35
  date: c,
35
36
  onDateChange: S,
36
37
  showTimeSelector: _ = !0,
@@ -295,5 +296,5 @@ const et = ({
295
296
  ] });
296
297
  };
297
298
  export {
298
- et as default
299
+ tt as default
299
300
  };
@@ -6,13 +6,14 @@ import "../../../_virtual/lodash.js";
6
6
  import { useTheme as y } from "../../../hooks/useTheme.js";
7
7
  import { faCheck as v } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
8
8
  import "react-hook-form";
9
+ import "../InformationContainer/InformationContainer.js";
9
10
  import g from "../../atoms/BoxContainer/BoxContainer.js";
10
11
  import l from "../../atoms/Button/Button.js";
11
12
  import "../../../constants/countries.js";
12
13
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
13
14
  import { AnimatePresence as N } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
14
15
  import { motion as r } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
15
- const R = ({
16
+ const T = ({
16
17
  title: n,
17
18
  description: c,
18
19
  open: o,
@@ -122,5 +123,5 @@ const R = ({
122
123
  ) }) });
123
124
  };
124
125
  export {
125
- R as default
126
+ T as default
126
127
  };
@@ -5,19 +5,20 @@ import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
5
5
  import "../../../_virtual/lodash.js";
6
6
  import "../../../contexts/themeContext.js";
7
7
  import "react-hook-form";
8
+ import "../InformationContainer/InformationContainer.js";
8
9
  import _ from "../../atoms/BoxContainer/BoxContainer.js";
9
10
  import "../../../constants/countries.js";
10
11
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
11
12
  import { autoUpdate as z } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
12
13
  import { offset as B, flip as D, shift as T } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
13
- const W = ({
14
+ const X = ({
14
15
  open: e,
15
16
  onClose: s,
16
17
  component: i,
17
18
  children: a,
18
19
  placement: l = "bottom",
19
- className: f = "",
20
- strategy: m = "absolute",
20
+ className: m = "",
21
+ strategy: f = "absolute",
21
22
  offset: c = 8,
22
23
  padding: p = 8
23
24
  }) => {
@@ -28,7 +29,7 @@ const W = ({
28
29
  const u = () => {
29
30
  r(!1), s == null || s();
30
31
  }, { x: g, y: x, strategy: y, refs: n, context: o } = M({
31
- strategy: m,
32
+ strategy: f,
32
33
  open: d,
33
34
  onOpenChange: (I) => {
34
35
  I || u();
@@ -72,11 +73,11 @@ const W = ({
72
73
  },
73
74
  ...E(),
74
75
  className: "floating-element",
75
- children: /* @__PURE__ */ t.jsx(_, { className: f, children: typeof i == "function" ? k.createElement(i) : i })
76
+ children: /* @__PURE__ */ t.jsx(_, { className: m, children: typeof i == "function" ? k.createElement(i) : i })
76
77
  }
77
78
  )
78
79
  ] });
79
80
  };
80
81
  export {
81
- W as default
82
+ X as default
82
83
  };
@@ -0,0 +1,15 @@
1
+ import { j as a } from "../../../_virtual/jsx-runtime.js";
2
+ import p from "../../atoms/IndexedStep/IndexedStep.js";
3
+ const r = ({ currentStep: t, steps: l }) => /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-16", children: l.map((o, e) => /* @__PURE__ */ a.jsx(
4
+ p,
5
+ {
6
+ label: o,
7
+ index: e + 1,
8
+ active: e + 1 === t,
9
+ completed: e + 1 < t
10
+ },
11
+ e
12
+ )) });
13
+ export {
14
+ r as default
15
+ };
@@ -0,0 +1,13 @@
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
+ import l from "react";
3
+ const n = ({ label: s, value: e }) => /* @__PURE__ */ t.jsxs("div", { className: "col-span-2 flex flex-col gap-6", children: [
4
+ /* @__PURE__ */ t.jsx("h4", { className: "text-body-m font-600", children: s }),
5
+ /* @__PURE__ */ t.jsx("div", { className: "text-body-s text-gray-600", children: typeof e == "string" || l.isValidElement(e) ? e : null })
6
+ ] }), o = ({ title: s, children: e, className: r = "" }) => /* @__PURE__ */ t.jsxs("div", { className: `w-full flex flex-col gap-16 ${r}`, children: [
7
+ /* @__PURE__ */ t.jsx("h4", { className: "text-body-m font-600", children: s }),
8
+ /* @__PURE__ */ t.jsx("div", { className: "w-full grid grid-cols-4 gap-8 bg-white p-16 rounded-2xl border-1 border-blue-100", children: e })
9
+ ] });
10
+ o.Entry = n;
11
+ export {
12
+ o as default
13
+ };
@@ -4,11 +4,12 @@ import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import "../../../_virtual/lodash.js";
5
5
  import { useTheme as S } from "../../../hooks/useTheme.js";
6
6
  import "react-hook-form";
7
+ import "../InformationContainer/InformationContainer.js";
7
8
  import "../../../constants/countries.js";
8
9
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
9
10
  import L from "../../atoms/Tab/Tab.js";
10
11
  import { motion as a } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
11
- const A = ({
12
+ const D = ({
12
13
  variant: p = "underline",
13
14
  color: h = "blue",
14
15
  tabs: i,
@@ -89,5 +90,5 @@ const A = ({
89
90
  );
90
91
  };
91
92
  export {
92
- A as default
93
+ D as default
93
94
  };