prometeo-design-system 2.8.1 → 2.8.3

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 (114) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/Button.es.js +6 -6
  3. package/dist/{CardProfile-CHUivLbW.js → CardProfile-BB-IP1MR.js} +29 -29
  4. package/dist/CardProfile.es.js +1 -1
  5. package/dist/CheckBox.es.js +5 -5
  6. package/dist/DatePicker.es.js +1557 -1497
  7. package/dist/DialogModal.es.js +1 -1
  8. package/dist/DrawerDesktop.es.js +10 -10
  9. package/dist/DrawerMobile.es.js +1 -1
  10. package/dist/DropZone.es.js +33 -33
  11. package/dist/FAButton.es.js +3 -3
  12. package/dist/Header.es.js +1 -1
  13. package/dist/HelperComponent-D_Cqdf1J.js +24 -0
  14. package/dist/Icons/Icons.d.ts +2 -2
  15. package/dist/Icons.es.js +1053 -2
  16. package/dist/Image.es.js +1 -1
  17. package/dist/{ImageGallery-TkgHO3JL.js → ImageGallery-CjaJ0UCN.js} +44 -44
  18. package/dist/ImageGallery.es.js +1 -1
  19. package/dist/{Input-CsNlU1Hu.js → Input-Bdo-Acix.js} +8 -15
  20. package/dist/Input.es.js +1 -1
  21. package/dist/InputMultiple.es.js +52 -52
  22. package/dist/{LayoutGeneric-CbaoatQB.js → LayoutGeneric-B6E-yOYJ.js} +1 -1
  23. package/dist/LayoutGeneric.es.js +1 -1
  24. package/dist/Logo.es.js +4 -4
  25. package/dist/Menu.es.js +3 -3
  26. package/dist/OtpInput.es.js +69 -69
  27. package/dist/Pagination.es.js +2 -2
  28. package/dist/ProfilePictureUpload.es.js +1 -1
  29. package/dist/ProgressBar.es.js +1 -1
  30. package/dist/RadioButton.es.js +2 -2
  31. package/dist/SegmentedButton.es.js +1 -1
  32. package/dist/{Select-D7Cs1OlG.js → Select-D2APaG1z.js} +5 -5
  33. package/dist/Select.es.js +1 -1
  34. package/dist/SelectSearch.es.js +2 -2
  35. package/dist/Skeleton.es.js +1 -1
  36. package/dist/Spinner.es.js +1 -1
  37. package/dist/Steps.es.js +15 -15
  38. package/dist/SwipeContainer.es.js +1 -1
  39. package/dist/Switch.es.js +1 -1
  40. package/dist/TabLinks.es.js +3 -3
  41. package/dist/Table.es.js +3 -3
  42. package/dist/TextArea.es.js +1 -1
  43. package/dist/Toast.es.js +24 -24
  44. package/dist/ToastProvider.es.js +1 -1
  45. package/dist/Tooltip.es.js +8 -8
  46. package/dist/components/Spinner/SpinnerV2.d.ts +12 -0
  47. package/dist/components/Toaster/Toaster.d.ts +3 -3
  48. package/dist/exports/Icons.d.ts +1 -1
  49. package/dist/index.d.ts +0 -12
  50. package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-ByW6EXIE.js} +96 -94
  51. package/dist/prometeo-design-system.css +1 -1
  52. package/dist/prometeo-design-system.es.js +113 -124
  53. package/package.json +272 -294
  54. package/dist/CheckboxFormik.d.ts +0 -6
  55. package/dist/CheckboxFormik.es.js +0 -88
  56. package/dist/HelperComponent-CcGxM09g.js +0 -24
  57. package/dist/Icons-ChYkaR8R.js +0 -899
  58. package/dist/InputFormik.d.ts +0 -6
  59. package/dist/InputFormik.es.js +0 -213
  60. package/dist/InputFormikV2.d.ts +0 -6
  61. package/dist/InputFormikV2.es.js +0 -41
  62. package/dist/RadioButtonFormik.d.ts +0 -2
  63. package/dist/RadioButtonFormik.es.js +0 -30
  64. package/dist/SelectFormik.d.ts +0 -6
  65. package/dist/SelectFormik.es.js +0 -62
  66. package/dist/SelectFormikLegacy.d.ts +0 -6
  67. package/dist/SelectFormikLegacy.es.js +0 -194
  68. package/dist/components/CheckboxFormik/CheckboxFormik.d.ts +0 -12
  69. package/dist/components/InputFormik/InputFormik.d.ts +0 -23
  70. package/dist/components/InputFormik/InputFormikV2.d.ts +0 -6
  71. package/dist/components/RadioButtonFormik/RadioButtonFormik.d.ts +0 -8
  72. package/dist/components/SelectFormik/SelectFormik.d.ts +0 -8
  73. package/dist/components/SelectFormik/SelectFormikLegacy.d.ts +0 -21
  74. package/dist/exports/CheckboxFormik.d.ts +0 -2
  75. package/dist/exports/InputFormik.d.ts +0 -2
  76. package/dist/exports/InputFormikV2.d.ts +0 -2
  77. package/dist/exports/RadioButtonFormik.d.ts +0 -1
  78. package/dist/exports/SelectFormik.d.ts +0 -2
  79. package/dist/exports/SelectFormikLegacy.d.ts +0 -2
  80. package/dist/pages/Autocomplete.page.d.ts +0 -2
  81. package/dist/pages/ButtonsPage.d.ts +0 -2
  82. package/dist/pages/DatePicker.d.ts +0 -2
  83. package/dist/pages/DialogPage.d.ts +0 -2
  84. package/dist/pages/DrawersPage.d.ts +0 -2
  85. package/dist/pages/ImagesPage.d.ts +0 -2
  86. package/dist/pages/OtpPage.d.ts +0 -2
  87. package/dist/pages/RecurrentDatePicker.page.d.ts +0 -2
  88. package/dist/pages/SelectsPage.d.ts +0 -2
  89. package/dist/pages/Skeletons.d.ts +0 -2
  90. package/dist/pages/ToastsPage.d.ts +0 -2
  91. package/dist/preview/AutocompletePreview.d.ts +0 -2
  92. package/dist/preview/ButtonPreview.d.ts +0 -2
  93. package/dist/preview/DialogModalPreview.d.ts +0 -2
  94. package/dist/preview/DrawerMobilePreview.d.ts +0 -2
  95. package/dist/preview/Dropzone.d.ts +0 -2
  96. package/dist/preview/FABPreview.d.ts +0 -2
  97. package/dist/preview/IconsPreview.d.ts +0 -2
  98. package/dist/preview/ImagePreview.d.ts +0 -2
  99. package/dist/preview/InputsPreviews.d.ts +0 -2
  100. package/dist/preview/Layout.d.ts +0 -2
  101. package/dist/preview/OTPPreview.d.ts +0 -2
  102. package/dist/preview/RadioButtonPreview.d.ts +0 -2
  103. package/dist/preview/RecurrentDatePickerPreview.d.ts +0 -2
  104. package/dist/preview/SegmentedButtonPreview.d.ts +0 -2
  105. package/dist/preview/SelectPreview/CustomFooterExample.d.ts +0 -2
  106. package/dist/preview/SelectPreview/SelectGroupedOptionsPreview.d.ts +0 -2
  107. package/dist/preview/SelectPreview/SelectPreview.d.ts +0 -2
  108. package/dist/preview/SidebarPreview.d.ts +0 -2
  109. package/dist/preview/StepsPreview.d.ts +0 -2
  110. package/dist/preview/SwitchPreview.d.ts +0 -2
  111. package/dist/preview/TabLinks.d.ts +0 -2
  112. package/dist/preview/TablePreview.d.ts +0 -2
  113. package/dist/preview/TextArea.d.ts +0 -2
  114. package/dist/preview/ToastsPreview.d.ts +0 -2
package/dist/Toast.es.js CHANGED
@@ -1,52 +1,52 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import b from "react";
1
+ import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
+ import w from "react";
3
3
  import { toast as p } from "sonner";
4
- import { I as m } from "./Icons-ChYkaR8R.js";
5
4
  import { c as s } from "./cn-B6yFEsav.js";
6
- import u from "./Button.es.js";
5
+ import { Info as m, Error as u, Cancel as f, CheckCircle as b, Close as C } from "./Icons.es.js";
6
+ import h from "./Button.es.js";
7
7
  const x = {
8
8
  dark: {
9
9
  success: {
10
10
  container: "border-b-[2px] border-success-default-default",
11
11
  iconClass: "text-success-medium-default",
12
- icon: "CheckCircle"
12
+ icon: b
13
13
  },
14
14
  error: {
15
15
  container: "border-b-[2px] border-error-default-default",
16
16
  iconClass: "text-error-medium-default",
17
- icon: "Cancel"
17
+ icon: f
18
18
  },
19
19
  warning: {
20
20
  container: "border-b-[2px] border-warning-default-default",
21
21
  iconClass: "text-warning-medium-default",
22
- icon: "Error"
22
+ icon: u
23
23
  },
24
24
  info: {
25
25
  container: " border-b-[2px] border-primary-default-default",
26
26
  iconClass: "text-primary-default-default",
27
- icon: "Info"
27
+ icon: m
28
28
  }
29
29
  },
30
30
  light: {
31
31
  success: {
32
32
  container: "",
33
33
  iconClass: "text-success-default-pressed",
34
- icon: "CheckCircle"
34
+ icon: b
35
35
  },
36
36
  error: {
37
37
  container: "",
38
38
  iconClass: "text-error-medium-pressed",
39
- icon: "Cancel"
39
+ icon: f
40
40
  },
41
41
  warning: {
42
42
  container: "",
43
43
  iconClass: "text-warning-medium-pressed",
44
- icon: "Error"
44
+ icon: u
45
45
  },
46
46
  info: {
47
47
  container: "",
48
48
  iconClass: "text-primary-default-pressed",
49
- icon: "Info"
49
+ icon: m
50
50
  }
51
51
  }
52
52
  }, i = {
@@ -62,8 +62,8 @@ const x = {
62
62
  description: "text-neutral-medium-focused",
63
63
  shadow: "0px 0px 2px 0px rgba(0, 0, 0, 0.35),8px 8px 20px 0px rgba(0, 0, 0, 0.3),0px 0px 15px 0px rgba(0, 0, 0, 0.2),0px 0px 20px 0px rgba(21, 21, 21, 0.3) inset,6px 0px 100px 0px rgba(0, 0, 0, 0.05) inset"
64
64
  }
65
- }, h = (l) => {
66
- const { title: a, description: o, button: r, id: n, icon: c, variant: d = "info", colorMode: t = "dark", showClose: f = !1 } = l;
65
+ }, v = (l) => {
66
+ const { title: a, description: o, button: r, id: n, icon: c, variant: d = "info", colorMode: t = "dark", showClose: g = !1 } = l;
67
67
  return /* @__PURE__ */ e.jsxs(
68
68
  "div",
69
69
  {
@@ -82,7 +82,7 @@ const x = {
82
82
  {
83
83
  className: "flex items-center justify-start gap-2 max-h-[38px] h-[38px] overflow-hidden flex-1 ",
84
84
  children: [
85
- /* @__PURE__ */ e.jsx("div", { className: "f", style: { color: "inherit" }, children: b.createElement(m[x[t][d].icon || c], { size: 24, className: x[t][d].iconClass }) }),
85
+ /* @__PURE__ */ e.jsx("div", { className: "f", style: { color: "inherit" }, children: w.createElement(c || x[t][d].icon, { size: 24, className: x[t][d].iconClass }) }),
86
86
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex flex-col gap-1", children: [
87
87
  /* @__PURE__ */ e.jsx("p", { className: s("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", i[t].title), children: a }),
88
88
  o && /* @__PURE__ */ e.jsx("p", { className: s("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", i[t].description), children: o })
@@ -90,8 +90,8 @@ const x = {
90
90
  ]
91
91
  }
92
92
  ),
93
- r?.label && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx(
94
- u,
93
+ r?.label && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
94
+ h,
95
95
  {
96
96
  label: r?.label,
97
97
  onClick: () => {
@@ -101,8 +101,8 @@ const x = {
101
101
  color: "secondary"
102
102
  }
103
103
  ) }),
104
- f && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx(
105
- u,
104
+ g && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
105
+ h,
106
106
  {
107
107
  onClick: () => {
108
108
  p.dismiss(n);
@@ -110,7 +110,7 @@ const x = {
110
110
  label: "",
111
111
  size: "small",
112
112
  color: "secondary",
113
- icon: /* @__PURE__ */ e.jsx(m.Close, { className: s(t === "light" ? "text-neutral-medium-focused " : "") }),
113
+ icon: /* @__PURE__ */ e.jsx(C, { className: s(t === "light" ? "text-neutral-medium-focused " : "") }),
114
114
  variant: "text",
115
115
  animate: !1,
116
116
  className: s(t === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
@@ -120,10 +120,10 @@ const x = {
120
120
  }
121
121
  );
122
122
  };
123
- function y(l, a) {
123
+ function M(l, a) {
124
124
  const { duration: o = 2500, showClose: r = !1, colorMode: n = "dark" } = a || {};
125
125
  return p.custom((c) => /* @__PURE__ */ e.jsx(
126
- h,
126
+ v,
127
127
  {
128
128
  id: c,
129
129
  variant: a?.variant || "success",
@@ -140,6 +140,6 @@ function y(l, a) {
140
140
  });
141
141
  }
142
142
  export {
143
- h as default,
144
- y as toastpyrion
143
+ v as default,
144
+ M as toastpyrion
145
145
  };
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { Toaster as r } from "sonner";
3
3
  const i = ({ ...o }) => /* @__PURE__ */ t.jsx(r, { ...o, position: "bottom-right", richColors: !1, theme: "light" });
4
4
  export {
@@ -1,7 +1,7 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import { AnimatePresence as f, motion as n } from "framer-motion";
3
- import { useState as p, cloneElement as x } from "react";
4
- import { I as b } from "./Icons-ChYkaR8R.js";
1
+ import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
+ import { Close as f } from "./Icons.es.js";
3
+ import { AnimatePresence as p, motion as n } from "framer-motion";
4
+ import { useState as x, cloneElement as b } from "react";
5
5
  const N = ({
6
6
  title: i,
7
7
  trigger: o,
@@ -9,7 +9,7 @@ const N = ({
9
9
  position: t = "top",
10
10
  component: c
11
11
  }) => {
12
- const [s, l] = p(!1), m = () => l(!0), a = () => l(!1), u = o === "hover" ? {
12
+ const [s, l] = x(!1), m = () => l(!0), a = () => l(!1), u = o === "hover" ? {
13
13
  onMouseEnter: m,
14
14
  onMouseLeave: a
15
15
  } : {
@@ -21,8 +21,8 @@ const N = ({
21
21
  right: "left-full top-1/2 -translate-y-1/2 ml-2"
22
22
  };
23
23
  return /* @__PURE__ */ e.jsxs("div", { className: "relative inline-block", children: [
24
- x(r, u),
25
- /* @__PURE__ */ e.jsx(f, { children: s && /* @__PURE__ */ e.jsx(
24
+ b(r, u),
25
+ /* @__PURE__ */ e.jsx(p, { children: s && /* @__PURE__ */ e.jsx(
26
26
  n.div,
27
27
  {
28
28
  initial: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
@@ -49,7 +49,7 @@ const N = ({
49
49
  className: "absolute cursor-pointer -top-2 -right-2 w-6 h-6 bg-neutral-strong-default hover:bg-neutral-medium-default rounded-full flex items-center justify-center transition-colors z-10",
50
50
  whileHover: { scale: 1.1 },
51
51
  whileTap: { scale: 0.95 },
52
- children: /* @__PURE__ */ e.jsx(b.Close, { size: 14, className: "text-white" })
52
+ children: /* @__PURE__ */ e.jsx(f, { size: 14, className: "text-white" })
53
53
  }
54
54
  )
55
55
  ] })
@@ -0,0 +1,12 @@
1
+ import { SizeVariant } from '../Shared/types';
2
+ type SpinnerVariant = 'sync' | 'clip' | 'bounce' | 'dot' | 'grid' | 'hash';
3
+ export interface SpinnerProps {
4
+ color?: string;
5
+ secondaryColor?: string;
6
+ size?: SizeVariant;
7
+ className?: string;
8
+ speedMultiplier?: number;
9
+ variant?: SpinnerVariant;
10
+ }
11
+ declare const SpinnerV2: (props: SpinnerProps) => import("react/jsx-runtime").JSX.Element | null;
12
+ export default SpinnerV2;
@@ -1,9 +1,9 @@
1
- import { Icons } from '../../Icons/Icons';
2
1
  import { ColorMode } from '../Shared/types';
2
+ import { IconComponent } from '../../Icons/Icons';
3
3
  type ToastElementsProps = {
4
4
  container: string;
5
5
  iconClass: string;
6
- icon: keyof typeof Icons;
6
+ icon: IconComponent;
7
7
  };
8
8
  type ToastVarians = 'success' | 'error' | 'warning' | 'info';
9
9
  type ToastVariantClassnames = {
@@ -20,7 +20,7 @@ export interface PyrionToastProps {
20
20
  variant?: keyof typeof toastVariants['dark'];
21
21
  title?: string;
22
22
  description?: string;
23
- icon?: keyof typeof Icons;
23
+ icon?: IconComponent;
24
24
  duration?: number;
25
25
  button?: {
26
26
  label?: string;
@@ -1 +1 @@
1
- export { Icons } from '../Icons/Icons';
1
+ export * from '../Icons/Icons';
package/dist/index.d.ts CHANGED
@@ -2,13 +2,11 @@ export { default as Avatar } from './components/Avatar/Avatar';
2
2
  export { default as Button } from './components/Button/Button';
3
3
  export { CardProfile } from './components/CardProfile/CardProfile';
4
4
  export { default as CheckBox } from './components/CheckBox/CheckBox';
5
- export { default as CheckboxFormik } from './components/CheckboxFormik/CheckboxFormik';
6
5
  export { default as DialogModal } from './components/Dialog/Dialog';
7
6
  export { default as DrawerDesktop } from './components/Drawer/DrawerDesktop';
8
7
  export { default as DrawerMobile } from './components/Drawer/DrawerMobile';
9
8
  export { default as Header } from './components/Header/Header';
10
9
  export { default as Input } from './components/Input/Input';
11
- export { default as InputFormik } from './components/InputFormik/InputFormik';
12
10
  export { default as InputMultiple } from './components/InputMultiple/InputMultiple';
13
11
  export { default as Logo } from './components/Logo/Logo';
14
12
  export { Menu } from './components/Menu/MenuComposable';
@@ -16,8 +14,6 @@ export { default as Pagination } from './components/Pagination/Pagination';
16
14
  export { ProfilePictureUpload } from './components/ProfilePictureUpload/ProfilePictureUpload';
17
15
  export { default as ProgressBar } from './components/ProgressBar/ProgressBar';
18
16
  export { default as Select } from './components/Select/Select';
19
- export { default as SelectFormikLegacy } from './components/SelectFormik/SelectFormikLegacy';
20
- export { default as SelectFormik } from './components/SelectFormik/SelectFormik';
21
17
  export { default as ChangueAccount } from './components/Sidebar/components/changue-account';
22
18
  export { default as Spinner } from './components/Spinner/Spinner';
23
19
  export { default as Steps } from './components/Steps/Steps';
@@ -38,8 +34,6 @@ export { default as ToastProvider } from './components/Toaster/ToastProvider';
38
34
  export { toastpyrion } from './components/Toaster/Toaster';
39
35
  export { default as SelectSearch } from './components/SelectSearch/SelectSearch';
40
36
  export { default as FAButton } from './components/FAB/FAButton';
41
- export { default as InputFormikV2 } from './components/InputFormik/InputFormikV2';
42
- export { default as RadioButtonFormik } from './components/RadioButtonFormik/RadioButtonFormik';
43
37
  export { default as RadioButton } from './components/RadioButton/RadioButton';
44
38
  export * from './components/Sidebar';
45
39
  export { SecondaryBar } from './components/Sidebar/SecondaryBar/SecondaryBar';
@@ -60,11 +54,9 @@ export { useIsMobile } from './hooks/useDevice';
60
54
  export type { ButtonProps } from './components/Button/Button';
61
55
  export type { ISessionLocalStorage } from './components/CardProfile/CardProfile';
62
56
  export type { CheckBoxProps } from './components/CheckBox/CheckBox';
63
- export type { ICheckboxFormik } from './components/CheckboxFormik/CheckboxFormik';
64
57
  export type { DropZoneProps } from './components/DropZone/DropZone';
65
58
  export type { IHeader } from './components/Header/Header';
66
59
  export type { InputProps, InputSize, InputVariant, } from './components/Input/Input';
67
- export type { IInputFormik } from './components/InputFormik/InputFormik';
68
60
  export type { IMenuItems, IMenuRoot } from './components/Menu/MenuComposable';
69
61
  export type { OtpInputProps } from './components/OtpInput/OtpInput';
70
62
  export type { BadgeProps } from './components/Sidebar/components/badge';
@@ -80,8 +72,6 @@ export type { PaginationProps } from './components/Pagination/Pagination';
80
72
  export type { ProfilePictureUploadProps } from './components/ProfilePictureUpload/ProfilePictureUpload';
81
73
  export type { Step, StepsProps } from './components/Steps/Steps';
82
74
  export type { SelectProps } from './components/Select/Select';
83
- export type { ISelectFormik, ISelectFormikOption, } from './components/SelectFormik/SelectFormikLegacy';
84
- export type { SelectFormikProps } from './components/SelectFormik/SelectFormik';
85
75
  export type { DialogHandle } from './components/Dialog/Dialog';
86
76
  export { DropZone } from './components/DropZone/DropZone';
87
77
  export type { PyrionToastProps as ToasterPrometeo } from './components/Toaster/Toaster';
@@ -106,7 +96,5 @@ export type { SelectControlsHandler } from './components/Select/Select';
106
96
  export type { SelectOptionType } from './components/Select/Select';
107
97
  export type { BaseSelectSearchProps as SelectSearchProps } from './components/SelectSearch/SelectSearch';
108
98
  export type { FAButtonProps } from './components/FAB/FAButton';
109
- export type { IInputFormikV2 } from './components/InputFormik/InputFormikV2';
110
99
  export type { RadioButtonProps } from './components/RadioButton/RadioButton';
111
- export type { RadioButtonFormikProps } from './components/RadioButtonFormik/RadioButtonFormik';
112
100
  export { Icons } from './Icons/Icons';
@@ -1,5 +1,5 @@
1
- import K from "react";
2
- var v = { exports: {} }, m = {};
1
+ import ee from "react";
2
+ var v = { exports: {} }, _ = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.js
@@ -9,29 +9,29 @@ var v = { exports: {} }, m = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var I;
13
- function ee() {
14
- if (I) return m;
15
- I = 1;
16
- var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
17
- function c(i, o, s) {
18
- var f = null;
19
- if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
12
+ var F;
13
+ function re() {
14
+ if (F) return _;
15
+ F = 1;
16
+ var l = Symbol.for("react.transitional.element"), T = Symbol.for("react.fragment");
17
+ function f(d, o, s) {
18
+ var m = null;
19
+ if (s !== void 0 && (m = "" + s), o.key !== void 0 && (m = "" + o.key), "key" in o) {
20
20
  s = {};
21
- for (var d in o)
22
- d !== "key" && (s[d] = o[d]);
21
+ for (var E in o)
22
+ E !== "key" && (s[E] = o[E]);
23
23
  } else s = o;
24
24
  return o = s.ref, {
25
25
  $$typeof: l,
26
- type: i,
27
- key: f,
26
+ type: d,
27
+ key: m,
28
28
  ref: o !== void 0 ? o : null,
29
29
  props: s
30
30
  };
31
31
  }
32
- return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
32
+ return _.Fragment = T, _.jsx = f, _.jsxs = f, _;
33
33
  }
34
- var _ = {};
34
+ var R = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -41,44 +41,44 @@ var _ = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var $;
45
- function re() {
46
- return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
44
+ var D;
45
+ function te() {
46
+ return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
47
47
  function l(e) {
48
48
  if (e == null) return null;
49
49
  if (typeof e == "function")
50
- return e.$$typeof === H ? null : e.displayName || e.name || null;
50
+ return e.$$typeof === Z ? null : e.displayName || e.name || null;
51
51
  if (typeof e == "string") return e;
52
52
  switch (e) {
53
53
  case p:
54
54
  return "Fragment";
55
- case U:
55
+ case J:
56
56
  return "Profiler";
57
- case W:
57
+ case U:
58
58
  return "StrictMode";
59
- case z:
60
- return "Suspense";
61
59
  case G:
60
+ return "Suspense";
61
+ case X:
62
62
  return "SuspenseList";
63
- case B:
63
+ case H:
64
64
  return "Activity";
65
65
  }
66
66
  if (typeof e == "object")
67
67
  switch (typeof e.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
69
  ), e.$$typeof) {
70
- case M:
70
+ case W:
71
71
  return "Portal";
72
- case V:
73
- return e.displayName || "Context";
74
- case J:
75
- return (e._context.displayName || "Context") + ".Consumer";
72
+ case z:
73
+ return (e.displayName || "Context") + ".Provider";
76
74
  case q:
75
+ return (e._context.displayName || "Context") + ".Consumer";
76
+ case V:
77
77
  var r = e.render;
78
78
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case X:
79
+ case B:
80
80
  return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
- case T:
81
+ case g:
82
82
  r = e._payload, e = e._init;
83
83
  try {
84
84
  return l(e(r));
@@ -87,10 +87,10 @@ function re() {
87
87
  }
88
88
  return null;
89
89
  }
90
- function b(e) {
90
+ function T(e) {
91
91
  return "" + e;
92
92
  }
93
- function c(e) {
93
+ function f(e) {
94
94
  try {
95
95
  var r = !1;
96
96
  } catch {
@@ -103,12 +103,12 @@ function re() {
103
103
  r,
104
104
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105
105
  n
106
- ), b(e);
106
+ ), T(e);
107
107
  }
108
108
  }
109
- function i(e) {
109
+ function d(e) {
110
110
  if (e === p) return "<>";
111
- if (typeof e == "object" && e !== null && e.$$typeof === T)
111
+ if (typeof e == "object" && e !== null && e.$$typeof === g)
112
112
  return "<...>";
113
113
  try {
114
114
  var r = l(e);
@@ -124,16 +124,16 @@ function re() {
124
124
  function s() {
125
125
  return Error("react-stack-top-frame");
126
126
  }
127
- function f(e) {
128
- if (x.call(e, "key")) {
127
+ function m(e) {
128
+ if (h.call(e, "key")) {
129
129
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
130
130
  if (r && r.isReactWarning) return !1;
131
131
  }
132
132
  return e.key !== void 0;
133
133
  }
134
- function d(e, r) {
134
+ function E(e, r) {
135
135
  function t() {
136
- g || (g = !0, console.error(
136
+ y || (y = !0, console.error(
137
137
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
138
138
  r
139
139
  ));
@@ -143,23 +143,22 @@ function re() {
143
143
  configurable: !0
144
144
  });
145
145
  }
146
- function D() {
146
+ function L() {
147
147
  var e = l(this.type);
148
- return h[e] || (h[e] = !0, console.error(
148
+ return N[e] || (N[e] = !0, console.error(
149
149
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
150
150
  )), e = this.props.ref, e !== void 0 ? e : null;
151
151
  }
152
- function L(e, r, t, n, R, A) {
153
- var a = t.ref;
154
- return e = {
155
- $$typeof: j,
152
+ function M(e, r, t, n, c, u, A, S) {
153
+ return t = u.ref, e = {
154
+ $$typeof: x,
156
155
  type: e,
157
156
  key: r,
158
- props: t,
159
- _owner: n
160
- }, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
157
+ props: u,
158
+ _owner: c
159
+ }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
161
160
  enumerable: !1,
162
- get: D
161
+ get: L
163
162
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
163
  configurable: !1,
165
164
  enumerable: !1,
@@ -174,19 +173,19 @@ function re() {
174
173
  configurable: !1,
175
174
  enumerable: !1,
176
175
  writable: !0,
177
- value: R
176
+ value: A
178
177
  }), Object.defineProperty(e, "_debugTask", {
179
178
  configurable: !1,
180
179
  enumerable: !1,
181
180
  writable: !0,
182
- value: A
181
+ value: S
183
182
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
183
  }
185
- function P(e, r, t, n, R, A) {
184
+ function j(e, r, t, n, c, u, A, S) {
186
185
  var a = r.children;
187
186
  if (a !== void 0)
188
187
  if (n)
189
- if (Z(a)) {
188
+ if (Q(a)) {
190
189
  for (n = 0; n < a.length; n++)
191
190
  w(a[n]);
192
191
  Object.freeze && Object.freeze(a);
@@ -195,12 +194,12 @@ function re() {
195
194
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
195
  );
197
196
  else w(a);
198
- if (x.call(r, "key")) {
197
+ if (h.call(r, "key")) {
199
198
  a = l(e);
200
- var u = Object.keys(r).filter(function(Q) {
201
- return Q !== "key";
199
+ var i = Object.keys(r).filter(function(K) {
200
+ return K !== "key";
202
201
  });
203
- n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
202
+ n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[a + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
204
203
  `A props object containing a "key" prop is being spread into JSX:
205
204
  let props = %s;
206
205
  <%s {...props} />
@@ -209,73 +208,76 @@ React keys must be passed directly to JSX without using spread:
209
208
  <%s key={someKey} {...props} />`,
210
209
  n,
211
210
  a,
212
- u,
211
+ i,
213
212
  a
214
- ), Y[a + n] = !0);
213
+ ), I[a + n] = !0);
215
214
  }
216
- if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
215
+ if (a = null, t !== void 0 && (f(t), a = "" + t), m(r) && (f(r.key), a = "" + r.key), "key" in r) {
217
216
  t = {};
218
- for (var S in r)
219
- S !== "key" && (t[S] = r[S]);
217
+ for (var P in r)
218
+ P !== "key" && (t[P] = r[P]);
220
219
  } else t = r;
221
- return a && d(
220
+ return a && E(
222
221
  t,
223
222
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
224
- ), L(
223
+ ), M(
225
224
  e,
226
225
  a,
227
- t,
226
+ u,
227
+ c,
228
228
  o(),
229
- R,
230
- A
229
+ t,
230
+ A,
231
+ S
231
232
  );
232
233
  }
233
234
  function w(e) {
234
- y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
235
- }
236
- function y(e) {
237
- return typeof e == "object" && e !== null && e.$$typeof === j;
235
+ typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
238
236
  }
239
- var E = K, j = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), V = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), k = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
237
+ var b = ee, x = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
240
238
  return null;
241
239
  };
242
- E = {
240
+ b = {
243
241
  react_stack_bottom_frame: function(e) {
244
242
  return e();
245
243
  }
246
244
  };
247
- var g, h = {}, N = E.react_stack_bottom_frame.bind(
248
- E,
245
+ var y, N = {}, C = b.react_stack_bottom_frame.bind(
246
+ b,
249
247
  s
250
- )(), C = O(i(s)), Y = {};
251
- _.Fragment = p, _.jsx = function(e, r, t) {
252
- var n = 1e4 > k.recentlyCreatedOwnerStacks++;
253
- return P(
248
+ )(), Y = O(d(s)), I = {};
249
+ R.Fragment = p, R.jsx = function(e, r, t, n, c) {
250
+ var u = 1e4 > k.recentlyCreatedOwnerStacks++;
251
+ return j(
254
252
  e,
255
253
  r,
256
254
  t,
257
255
  !1,
258
- n ? Error("react-stack-top-frame") : N,
259
- n ? O(i(e)) : C
256
+ n,
257
+ c,
258
+ u ? Error("react-stack-top-frame") : C,
259
+ u ? O(d(e)) : Y
260
260
  );
261
- }, _.jsxs = function(e, r, t) {
262
- var n = 1e4 > k.recentlyCreatedOwnerStacks++;
263
- return P(
261
+ }, R.jsxs = function(e, r, t, n, c) {
262
+ var u = 1e4 > k.recentlyCreatedOwnerStacks++;
263
+ return j(
264
264
  e,
265
265
  r,
266
266
  t,
267
267
  !0,
268
- n ? Error("react-stack-top-frame") : N,
269
- n ? O(i(e)) : C
268
+ n,
269
+ c,
270
+ u ? Error("react-stack-top-frame") : C,
271
+ u ? O(d(e)) : Y
270
272
  );
271
273
  };
272
- })()), _;
274
+ })()), R;
273
275
  }
274
- var F;
275
- function te() {
276
- return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ ee() : v.exports = /* @__PURE__ */ re()), v.exports;
276
+ var $;
277
+ function ne() {
278
+ return $ || ($ = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ re() : v.exports = /* @__PURE__ */ te()), v.exports;
277
279
  }
278
- var ae = /* @__PURE__ */ te();
280
+ var oe = /* @__PURE__ */ ne();
279
281
  export {
280
- ae as j
282
+ oe as j
281
283
  };