prometeo-design-system 2.8.4 → 2.8.7

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 (339) hide show
  1. package/dist/Avatar.js +4 -0
  2. package/dist/Button.js +4 -0
  3. package/dist/CardProfile.d.ts +4 -0
  4. package/dist/CardProfile.js +5 -0
  5. package/dist/CheckBox.js +4 -0
  6. package/dist/DatePicker.d.ts +2 -0
  7. package/dist/DatePicker.js +5 -0
  8. package/dist/DialogModal.js +6 -0
  9. package/dist/DrawerDesktop.js +6 -0
  10. package/dist/DrawerMobile.js +6 -0
  11. package/dist/DropZone.d.ts +4 -0
  12. package/dist/DropZone.js +5 -0
  13. package/dist/FAButton.js +4 -0
  14. package/dist/Header.js +4 -0
  15. package/dist/Icons/Icons.d.ts +1 -1
  16. package/dist/Icons/Icons.js +1055 -0
  17. package/dist/Icons.d.ts +4 -0
  18. package/dist/Icons.js +5 -0
  19. package/dist/Image.js +4 -0
  20. package/dist/ImageGallery.js +6 -0
  21. package/dist/Input.js +4 -0
  22. package/dist/InputMultiple.d.ts +4 -0
  23. package/dist/InputMultiple.js +5 -0
  24. package/dist/LayoutGeneric.js +4 -0
  25. package/dist/Logo.js +4 -0
  26. package/dist/Menu.d.ts +4 -0
  27. package/dist/Menu.js +5 -0
  28. package/dist/OtpInput.js +4 -0
  29. package/dist/Pagination.js +4 -0
  30. package/dist/ProfilePictureUpload.d.ts +4 -0
  31. package/dist/ProfilePictureUpload.js +5 -0
  32. package/dist/ProgressBar.js +4 -0
  33. package/dist/RadioButton.d.ts +4 -0
  34. package/dist/RadioButton.js +5 -0
  35. package/dist/SegmentedButton.d.ts +4 -0
  36. package/dist/SegmentedButton.js +5 -0
  37. package/dist/Select.js +4 -0
  38. package/dist/SelectSearch.js +4 -0
  39. package/dist/Skeleton.d.ts +4 -0
  40. package/dist/Skeleton.js +5 -0
  41. package/dist/Spinner.js +4 -0
  42. package/dist/Steps.d.ts +4 -0
  43. package/dist/Steps.js +5 -0
  44. package/dist/SwipeContainer.js +4 -0
  45. package/dist/Switch.d.ts +4 -0
  46. package/dist/Switch.js +5 -0
  47. package/dist/TabLinks.js +4 -0
  48. package/dist/Table.js +11 -0
  49. package/dist/TextArea.js +4 -0
  50. package/dist/Toast.js +5 -0
  51. package/dist/ToastProvider.js +4 -0
  52. package/dist/Tooltip.js +4 -0
  53. package/dist/components/Autocomplete/useAutocomplete.js +143 -0
  54. package/dist/{Avatar.es.js → components/Avatar/Avatar.js} +28 -33
  55. package/dist/{Button.es.js → components/Button/Button.js} +55 -55
  56. package/dist/{CardProfile-BB-IP1MR.js → components/CardProfile/CardProfile.js} +68 -94
  57. package/dist/{CheckBox.es.js → components/CheckBox/CheckBox.js} +25 -25
  58. package/dist/components/DatePicker/DatePicker.js +396 -0
  59. package/dist/components/Dialog/Dialog.js +60 -0
  60. package/dist/components/Dialog/useDialogControl.js +18 -0
  61. package/dist/components/Drawer/DrawerDesktop.js +179 -0
  62. package/dist/components/Drawer/DrawerMobile.js +219 -0
  63. package/dist/components/Drawer/useDrawerDesktop.js +18 -0
  64. package/dist/components/Drawer/useDrawerMobile.js +27 -0
  65. package/dist/components/DropZone/DropZone.js +86 -0
  66. package/dist/components/DropZone/useFileDropzone.js +24 -0
  67. package/dist/{FAButton.es.js → components/FAB/FAButton.js} +5 -5
  68. package/dist/components/Header/Header.js +32 -0
  69. package/dist/components/Image/GalleryPreview.js +40 -0
  70. package/dist/{Image.es.js → components/Image/Image.js} +32 -32
  71. package/dist/components/Image/ImageGallery.js +68 -0
  72. package/dist/components/Image/LightBox.js +223 -0
  73. package/dist/{ImageGallery.es.js → components/Image/useImageGallery.js} +0 -2
  74. package/dist/components/Input/Input.js +219 -0
  75. package/dist/{InputMultiple.es.js → components/InputMultiple/InputMultiple.js} +91 -91
  76. package/dist/components/Layout/LayoutGeneric.js +13 -0
  77. package/dist/components/Logo/Logo.js +9 -0
  78. package/dist/{Menu.es.js → components/Menu/MenuComposable.js} +11 -11
  79. package/dist/components/OtpInput/OtpInput.js +112 -0
  80. package/dist/{Pagination.es.js → components/Pagination/Pagination.js} +32 -32
  81. package/dist/components/ProfilePictureUpload/ProfilePictureUpload.d.ts +1 -1
  82. package/dist/{ProfilePictureUpload.es.js → components/ProfilePictureUpload/ProfilePictureUpload.js} +73 -98
  83. package/dist/components/ProgressBar/ProgressBar.js +70 -0
  84. package/dist/{RadioButton.es.js → components/RadioButton/RadioButton.js} +35 -35
  85. package/dist/{SegmentedButton.es.js → components/SegmentedButton/SegmentedButton.js} +37 -37
  86. package/dist/components/Select/Select.js +1005 -0
  87. package/dist/components/SelectSearch/SelectSearch.js +101 -0
  88. package/dist/components/Shared/Chip.js +55 -0
  89. package/dist/components/Shared/HelperComponent.js +24 -0
  90. package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +62 -0
  91. package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +59 -0
  92. package/dist/components/Sidebar/SidebarComposable.js +84 -0
  93. package/dist/components/Sidebar/components/NavigationLink.js +34 -0
  94. package/dist/components/Sidebar/components/badge.js +33 -0
  95. package/dist/components/Sidebar/components/changue-account.js +31 -0
  96. package/dist/components/Sidebar/components/collapse-button.js +18 -0
  97. package/dist/components/Sidebar/components/company-logo.js +12 -0
  98. package/dist/components/Sidebar/components/nav-actions.js +98 -0
  99. package/dist/components/Sidebar/components/nav-links.js +100 -0
  100. package/dist/components/Sidebar/context/SidebarContext.js +19 -0
  101. package/dist/components/Sidebar/hooks/SidebarProvider.js +33 -0
  102. package/dist/components/Sidebar/hooks/useNavBarActions.js +9 -0
  103. package/dist/components/Sidebar/hooks/useNavBarCollapse.js +11 -0
  104. package/dist/components/Sidebar/hooks/useSidebarHook.js +13 -0
  105. package/dist/components/Sidebar/ui/useNavbarAnimation.js +326 -0
  106. package/dist/{Skeleton.es.js → components/Skeleton/Skeleton.js} +16 -17
  107. package/dist/components/Spinner/Spinner.js +52 -0
  108. package/dist/{Steps.es.js → components/Steps/Steps.js} +61 -61
  109. package/dist/{SwipeContainer.es.js → components/SwipeContainer/SwipeContainer.js} +68 -68
  110. package/dist/{Switch.es.js → components/Switch/Switch.js} +17 -17
  111. package/dist/{TabLinks.es.js → components/TabLinks/TabLinks.js} +11 -11
  112. package/dist/components/TabSwitch/TabSwitch.js +57 -0
  113. package/dist/{Table.es.js → components/Table/Table.js} +38 -41
  114. package/dist/{TextArea.es.js → components/TextArea/TextArea.js} +24 -26
  115. package/dist/components/Toaster/ToastProvider.js +6 -0
  116. package/dist/{Toast.es.js → components/Toaster/Toaster.js} +42 -42
  117. package/dist/components/Tooltip/Tootip.js +62 -0
  118. package/dist/exports/CardProfile.d.ts +1 -0
  119. package/dist/exports/DatePicker.d.ts +2 -0
  120. package/dist/exports/DropZone.d.ts +2 -0
  121. package/dist/exports/Icons.d.ts +2 -1
  122. package/dist/exports/InputMultiple.d.ts +2 -0
  123. package/dist/exports/Menu.d.ts +1 -0
  124. package/dist/exports/ProfilePictureUpload.d.ts +1 -0
  125. package/dist/exports/RadioButton.d.ts +2 -0
  126. package/dist/exports/SegmentedButton.d.ts +2 -0
  127. package/dist/exports/Skeleton.d.ts +2 -0
  128. package/dist/exports/Steps.d.ts +1 -0
  129. package/dist/exports/Switch.d.ts +2 -0
  130. package/dist/hooks/useClickOutside.js +24 -0
  131. package/dist/{useDragScroll-CHN9OMwn.js → hooks/useDragScroll.js} +1 -1
  132. package/dist/hooks/useLabelBackground.js +25 -0
  133. package/dist/index.d.ts +0 -4
  134. package/dist/index.js +119 -0
  135. package/dist/{cn-B6yFEsav.js → lib/cn.js} +2 -2
  136. package/dist/lib/utils.js +54 -0
  137. package/dist/node_modules/@date-fns/tz/date/index.js +61 -0
  138. package/dist/node_modules/@date-fns/tz/date/mini.js +69 -0
  139. package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
  140. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +22 -0
  141. package/dist/{index-BOQuZ0gG.js → node_modules/class-variance-authority/dist/index.js} +10 -9
  142. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  143. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  144. package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
  145. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  146. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  147. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  148. package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
  149. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
  150. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  151. package/dist/node_modules/date-fns/addDays.js +10 -0
  152. package/dist/node_modules/date-fns/addMonths.js +20 -0
  153. package/dist/node_modules/date-fns/addWeeks.js +8 -0
  154. package/dist/node_modules/date-fns/addYears.js +8 -0
  155. package/dist/node_modules/date-fns/constants.js +6 -0
  156. package/dist/node_modules/date-fns/constructFrom.js +8 -0
  157. package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
  158. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +13 -0
  159. package/dist/node_modules/date-fns/eachMonthOfInterval.js +17 -0
  160. package/dist/node_modules/date-fns/eachYearOfInterval.js +17 -0
  161. package/dist/node_modules/date-fns/endOfISOWeek.js +8 -0
  162. package/dist/node_modules/date-fns/endOfMonth.js +9 -0
  163. package/dist/node_modules/date-fns/endOfWeek.js +10 -0
  164. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  165. package/dist/node_modules/date-fns/format.js +58 -0
  166. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  167. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  168. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  169. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  170. package/dist/node_modules/date-fns/getMonth.js +8 -0
  171. package/dist/node_modules/date-fns/getWeek.js +12 -0
  172. package/dist/node_modules/date-fns/getWeekYear.js +16 -0
  173. package/dist/node_modules/date-fns/getYear.js +8 -0
  174. package/dist/node_modules/date-fns/isAfter.js +8 -0
  175. package/dist/node_modules/date-fns/isBefore.js +8 -0
  176. package/dist/node_modules/date-fns/isDate.js +7 -0
  177. package/dist/node_modules/date-fns/isSameDay.js +14 -0
  178. package/dist/node_modules/date-fns/isSameMonth.js +13 -0
  179. package/dist/node_modules/date-fns/isSameYear.js +13 -0
  180. package/dist/node_modules/date-fns/isValid.js +9 -0
  181. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  182. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  183. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  184. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  185. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  186. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  187. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  188. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  189. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  190. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  191. package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +70 -0
  192. package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +33 -0
  193. package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -0
  194. package/dist/node_modules/date-fns/locale/es/_lib/localize.js +143 -0
  195. package/dist/node_modules/date-fns/locale/es/_lib/match.js +116 -0
  196. package/dist/node_modules/date-fns/locale/es.js +21 -0
  197. package/dist/node_modules/date-fns/max.js +14 -0
  198. package/dist/node_modules/date-fns/min.js +14 -0
  199. package/dist/node_modules/date-fns/setMonth.js +13 -0
  200. package/dist/node_modules/date-fns/setYear.js +10 -0
  201. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  202. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  203. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  204. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  205. package/dist/node_modules/date-fns/startOfWeek.js +10 -0
  206. package/dist/node_modules/date-fns/startOfWeekYear.js +12 -0
  207. package/dist/node_modules/date-fns/startOfYear.js +9 -0
  208. package/dist/node_modules/date-fns/toDate.js +8 -0
  209. package/dist/node_modules/input-otp/dist/index.js +194 -0
  210. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +227 -0
  211. package/dist/node_modules/react-day-picker/dist/esm/UI.js +22 -0
  212. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +19 -0
  213. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +8 -0
  214. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +8 -0
  215. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +147 -0
  216. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
  217. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
  218. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
  219. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
  220. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +10 -0
  221. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +19 -0
  222. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
  223. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
  224. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
  225. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
  226. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
  227. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
  228. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
  229. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +27 -0
  230. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
  231. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
  232. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
  234. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
  236. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
  237. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
  238. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
  239. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
  240. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
  241. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
  242. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
  243. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +9 -0
  244. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
  245. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
  246. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +7 -0
  247. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
  248. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
  249. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
  250. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
  251. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -0
  252. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +42 -0
  253. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +9 -0
  254. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -0
  255. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +7 -0
  256. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
  257. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +16 -0
  258. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +21 -0
  259. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +10 -0
  260. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +16 -0
  261. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -0
  262. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -0
  263. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +10 -0
  264. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -0
  265. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +13 -0
  266. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +24 -0
  267. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +13 -0
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -0
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +12 -0
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +12 -0
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +13 -0
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +11 -0
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -0
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +16 -0
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +7 -0
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +8 -0
  277. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
  278. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +10 -0
  279. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +9 -0
  280. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +8 -0
  281. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
  282. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
  283. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -0
  284. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
  285. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
  286. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
  287. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
  288. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
  289. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +21 -0
  290. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +18 -0
  291. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +15 -0
  292. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +56 -0
  293. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +44 -0
  294. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +12 -0
  295. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +23 -0
  296. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +19 -0
  297. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +32 -0
  298. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +26 -0
  299. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +15 -0
  300. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +28 -0
  301. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -0
  302. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
  303. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
  304. package/dist/prometeo-design-system.css +1 -1
  305. package/dist/styles.d.ts +0 -0
  306. package/dist/useDevice.js +4 -0
  307. package/package.json +282 -274
  308. package/src/styles/app.css +1314 -0
  309. package/src/styles/base.css +1323 -0
  310. package/src/styles/fonts.css +46 -0
  311. package/src/styles/palette.css +83 -0
  312. package/src/styles/utilities.css +1126 -0
  313. package/dist/CardProfile.es.js +0 -4
  314. package/dist/DatePicker.es.js +0 -3500
  315. package/dist/DialogModal.es.js +0 -75
  316. package/dist/DrawerDesktop.es.js +0 -192
  317. package/dist/DrawerMobile.es.js +0 -242
  318. package/dist/DropZone.es.js +0 -86
  319. package/dist/Header.es.js +0 -32
  320. package/dist/HelperComponent-D_Cqdf1J.js +0 -24
  321. package/dist/Icons.es.js +0 -1055
  322. package/dist/ImageGallery-CjaJ0UCN.js +0 -317
  323. package/dist/Input-Bdo-Acix.js +0 -240
  324. package/dist/Input.es.js +0 -4
  325. package/dist/LayoutGeneric-B6E-yOYJ.js +0 -26
  326. package/dist/LayoutGeneric.es.js +0 -4
  327. package/dist/Logo.es.js +0 -9
  328. package/dist/OtpInput.es.js +0 -301
  329. package/dist/ProgressBar.es.js +0 -70
  330. package/dist/Select-D2APaG1z.js +0 -1100
  331. package/dist/Select.es.js +0 -4
  332. package/dist/SelectSearch.es.js +0 -237
  333. package/dist/Spinner.es.js +0 -52
  334. package/dist/ToastProvider.es.js +0 -6
  335. package/dist/Tooltip.es.js +0 -62
  336. package/dist/components/Button/Button_Legacy.d.ts +0 -29
  337. package/dist/jsx-runtime-ByW6EXIE.js +0 -283
  338. package/dist/prometeo-design-system.es.js +0 -1008
  339. /package/dist/{useDevice.es.js → hooks/useDevice.js} +0 -0
package/dist/Select.es.js DELETED
@@ -1,4 +0,0 @@
1
- import { S as f } from "./Select-D2APaG1z.js";
2
- export {
3
- f as default
4
- };
@@ -1,237 +0,0 @@
1
- import { j as G } from "./jsx-runtime-ByW6EXIE.js";
2
- import { g as i, S as H } from "./Select-D2APaG1z.js";
3
- import { useState as T, useRef as I, useEffect as h, useMemo as Q, useCallback as X } from "react";
4
- function te(e) {
5
- const {
6
- options: O,
7
- fetcher: s,
8
- asyncMode: V = "fetch_in_open",
9
- disabled: S = !1,
10
- debounceDelay: R = 500,
11
- minCharacters: _ = 3,
12
- optionLabel: f,
13
- optionValue: u,
14
- controlledValue: m,
15
- isOpen: F,
16
- inputRef: j,
17
- name: y
18
- } = e || {}, [C, k] = T(O || []), [J, p] = T(O || []), [a, x] = T(""), [M, r] = T(!1), [v, b] = T(!1), g = I(null), D = I(null), N = I(!1), E = I(s), P = e?.multiple === !0 || !1, w = I(P ? [] : void 0), [d, A] = T(P ? [] : void 0);
19
- h(() => {
20
- E.current = s;
21
- }, [s]), h(() => {
22
- m !== void 0 && A(m);
23
- }, [m]), h(() => {
24
- w.current = m !== void 0 ? m : d;
25
- }, [m, d]), h(() => {
26
- e?.options && (k(e.options), p(e.options));
27
- }, [e?.options]);
28
- const U = Q(() => (t, n) => new Promise((o, l) => {
29
- g.current && clearTimeout(g.current), g.current = setTimeout(() => t(a).then(o).catch(l), n);
30
- }), [a]), Y = (t) => {
31
- const n = m !== void 0, o = (l) => u ? i(l, u) : i(l, "id");
32
- if (e?.multiple === !0) {
33
- const l = w.current || [];
34
- let c;
35
- l.some((L) => o(L) === o(t)) ? c = l.filter((L) => o(L) !== o(t)) : c = [...l, t], n ? (w.current = c, e?.onChange?.(c, y)) : (w.current = c, A(c), e?.onChange?.(c, y));
36
- } else
37
- n ? (w.current = t, e?.onChange?.(t, y)) : (w.current = t, A(t), e?.onChange?.(t, y));
38
- }, W = (t) => (e?.onFetchingStart?.(), E.current?.(t) || Promise.resolve([])), K = X((t, n) => t.length === 0 ? n : u ? n.filter((o) => !t.some((l) => i(l, u) === i(o, u))) : n.filter((o) => !t.some((l) => i(l, "id") === i(o, "id"))), [u]);
39
- h(() => {
40
- const t = e?.subscribeOpenChange;
41
- if (!t) return;
42
- const n = t((o) => {
43
- b(o);
44
- });
45
- return () => {
46
- n && n();
47
- };
48
- }, [e?.subscribeOpenChange]);
49
- const B = F !== void 0 ? F : v;
50
- h(() => {
51
- if (!S && E.current && V === "fetch_on_type") {
52
- if (!a || a === "" || a.length < _) {
53
- g.current && clearTimeout(g.current), r(!1);
54
- return;
55
- }
56
- const t = U(W, R);
57
- r(!0), t.then((n) => {
58
- k(n);
59
- }).finally(() => {
60
- r(!1), e?.onFetchingEnd?.();
61
- });
62
- }
63
- }, [V, a, S, R, U, _]), h(() => {
64
- if (!S)
65
- if (B) {
66
- if (e?.onOpen?.(), V === "fetch_in_open") {
67
- if (!E.current)
68
- return;
69
- r(!0), W().then((t) => {
70
- k(() => P && d.length > 0 ? [...K(d, t), ...d] : t);
71
- }).finally(() => {
72
- r(!1), e?.onFetchingEnd?.();
73
- });
74
- }
75
- } else
76
- e?.onClose?.();
77
- }, [B, V, S]);
78
- const q = (t, n) => t.filter((o) => {
79
- if (f)
80
- return i(o, f).toLowerCase().includes(n.toLowerCase());
81
- switch (typeof o) {
82
- case "string":
83
- return o.toLowerCase().includes(n.toLowerCase());
84
- case "number":
85
- return o.toString().includes(n);
86
- case "object":
87
- return Object.values(o).some((c) => c.toString().toLowerCase().includes(n.toLowerCase()));
88
- default:
89
- return !1;
90
- }
91
- }), Z = (t) => t.sort((n, o) => {
92
- if (f)
93
- return i(n, f) < i(o, f) ? -1 : 1;
94
- {
95
- const c = ["label", "name", "value"].find((L) => typeof n == "object" && Object.keys(n).includes(L));
96
- switch (typeof n) {
97
- case "string":
98
- return n < o ? -1 : 1;
99
- case "number":
100
- return n < o ? -1 : 1;
101
- case "object":
102
- if (c) {
103
- const L = i(n, c), ee = i(o, c);
104
- return L < ee ? -1 : 1;
105
- } else
106
- return 1;
107
- default:
108
- return 1;
109
- }
110
- }
111
- }), z = (t) => {
112
- const n = typeof j == "function" ? j() : j;
113
- t.target === n?.current && (D.current && clearTimeout(D.current), N.current || (N.current = !0, e?.onTypeStart?.()), D.current = setTimeout(() => {
114
- N.current = !1;
115
- }, R));
116
- };
117
- return h(() => {
118
- if (a === "")
119
- p(Z(C));
120
- else if (P) {
121
- const t = K(d, C);
122
- p([...q(t, a), ...d]);
123
- } else {
124
- const t = K([d], C);
125
- p([...q(t, a), d]);
126
- }
127
- }, [C]), h(() => (document.addEventListener("keydown", z), () => {
128
- document.removeEventListener("keydown", z);
129
- }), []), {
130
- inputValue: a,
131
- setInputValue: x,
132
- cleanInputValue: () => {
133
- x("");
134
- },
135
- filteredOptions: J,
136
- isLoading: M,
137
- value: d,
138
- setValue: A,
139
- onOptionClick: Y
140
- };
141
- }
142
- const ie = (e) => {
143
- const O = I(null);
144
- h(() => {
145
- e.controls && (e.controls.current = O.current);
146
- }, [e.controls]);
147
- const { asyncMode: s = "fetch_in_open" } = e, V = (r, v, b) => {
148
- const g = {
149
- options: r.options,
150
- fetcher: r.fetcher,
151
- asyncMode: v,
152
- debounceDelay: r.debounceDelay,
153
- minCharacters: r.minCharacters,
154
- disabled: r.disabled,
155
- optionValue: r.optionValue,
156
- optionLabel: r.optionLabel,
157
- onFetchingStart: () => {
158
- v === "fetch_on_type" && b.current?.open();
159
- },
160
- onTypeStart: () => {
161
- !r?.fetcher && b.current?.open();
162
- },
163
- inputRef: () => b.current?.searchInputRef,
164
- subscribeOpenChange: b.current?.subscribeOpenChange,
165
- name: r.name
166
- };
167
- return r.multiple ? {
168
- ...g,
169
- multiple: !0,
170
- controlledValue: r.value,
171
- onChange: r.onChange
172
- } : {
173
- ...g,
174
- multiple: !1,
175
- controlledValue: r.value,
176
- onChange: r.onChange
177
- };
178
- }, { inputValue: S, setInputValue: R, filteredOptions: _, isLoading: f, value: u, onOptionClick: m, cleanInputValue: F } = te(V(e, s, O)), j = X(() => s === "fetch_on_type" ? f : !1, [s, f]), y = Q(() => e.multiple ? u.map((r) => i(r, e.optionValue)) : u ? i(u, e.optionValue) : void 0, [u, e.optionValue, e.multiple]), C = (r) => {
179
- const v = _.find((b) => i(b, e.optionValue) === r.id);
180
- v && m(v);
181
- }, { displayMode: k = e.multiple ? "chips" : "compact", dropdownOptions: J, overflow: p = "scroll", onChange: a, ...x } = e.selectComponentProps || {}, M = {
182
- controledSearchValue: S,
183
- onSearchValueChange: s === "fetch_on_type" ? R : void 0,
184
- onSearchClear: s === "fetch_on_type" ? F : void 0,
185
- inputSearchPlaceholder: e.inputSearchPlaceholder,
186
- isLoading: j(),
187
- ...J || {}
188
- };
189
- return e.multiple ? /* @__PURE__ */ G.jsx(
190
- H,
191
- {
192
- disabled: e.disabled,
193
- className: e.className,
194
- name: e.name,
195
- overflow: p,
196
- ...x,
197
- multiple: !0,
198
- value: y,
199
- label: e.label || "",
200
- options: _,
201
- optionValue: e.optionValue,
202
- optionLabel: e.optionLabel,
203
- renderOption: e.renderOption,
204
- onOptionClick: C,
205
- displayMode: k,
206
- controls: O,
207
- emptyMessage: "Use el buscador para obtener las opciones disponibles",
208
- dropdownOptions: M,
209
- isLoading: s === "fetch_in_open" ? f : !1
210
- }
211
- ) : /* @__PURE__ */ G.jsx(
212
- H,
213
- {
214
- disabled: e.disabled,
215
- ...x,
216
- className: e.className,
217
- overflow: p,
218
- name: e.name,
219
- multiple: !1,
220
- value: y,
221
- label: e.label || "",
222
- options: _,
223
- optionValue: e.optionValue,
224
- optionLabel: e.optionLabel,
225
- renderOption: e.renderOption,
226
- onOptionClick: C,
227
- displayMode: "compact",
228
- controls: O,
229
- emptyMessage: "Use el buscador para obtener las opciones disponibles",
230
- dropdownOptions: M,
231
- isLoading: s === "fetch_in_open" ? f : !1
232
- }
233
- );
234
- };
235
- export {
236
- ie as default
237
- };
@@ -1,52 +0,0 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
- import { ClipLoader as l, SyncLoader as m, HashLoader as p, GridLoader as x, DotLoader as j, BounceLoader as f } from "react-spinners";
3
- import { c as L } from "./cn-B6yFEsav.js";
4
- const y = ({
5
- variant: a = "sync",
6
- color: t = "#3B82F6",
7
- loading: o = !0,
8
- size: s = "medium",
9
- className: c = "",
10
- speedMultiplier: i = 1
11
- }) => {
12
- const n = (() => {
13
- if (typeof s == "number") return s;
14
- switch (s) {
15
- case "small":
16
- return 20;
17
- case "medium":
18
- return 35;
19
- case "large":
20
- return 50;
21
- default:
22
- return 35;
23
- }
24
- })(), r = {
25
- color: t,
26
- loading: o,
27
- size: n,
28
- speedMultiplier: i,
29
- "aria-label": "Loading Spinner",
30
- "data-testid": "spinner"
31
- }, u = L("inline-block", c), d = () => {
32
- switch (a) {
33
- case "bounce":
34
- return /* @__PURE__ */ e.jsx(f, { ...r });
35
- case "dot":
36
- return /* @__PURE__ */ e.jsx(j, { ...r });
37
- case "grid":
38
- return /* @__PURE__ */ e.jsx(x, { ...r, size: n * 0.4 });
39
- case "hash":
40
- return /* @__PURE__ */ e.jsx(p, { ...r });
41
- case "sync":
42
- return /* @__PURE__ */ e.jsx(m, { ...r, size: n * 0.4 });
43
- case "clip":
44
- default:
45
- return /* @__PURE__ */ e.jsx(l, { ...r });
46
- }
47
- };
48
- return /* @__PURE__ */ e.jsx("div", { className: u, children: d() });
49
- };
50
- export {
51
- y as default
52
- };
@@ -1,6 +0,0 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
2
- import { Toaster as r } from "sonner";
3
- const i = ({ ...o }) => /* @__PURE__ */ t.jsx(r, { ...o, position: "bottom-right", richColors: !1, theme: "light" });
4
- export {
5
- i as default
6
- };
@@ -1,62 +0,0 @@
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
- const N = ({
6
- title: i,
7
- trigger: o,
8
- children: r,
9
- position: t = "top",
10
- component: c
11
- }) => {
12
- const [s, l] = x(!1), m = () => l(!0), a = () => l(!1), u = o === "hover" ? {
13
- onMouseEnter: m,
14
- onMouseLeave: a
15
- } : {
16
- onClick: () => l(!s)
17
- }, d = {
18
- top: "bottom-full left-1/2 -translate-x-1/2 mb-2",
19
- bottom: "top-full left-1/2 -translate-x-1/2 mt-2",
20
- left: "right-full top-1/2 -translate-y-1/2 mr-2",
21
- right: "left-full top-1/2 -translate-y-1/2 ml-2"
22
- };
23
- return /* @__PURE__ */ e.jsxs("div", { className: "relative inline-block", children: [
24
- b(r, u),
25
- /* @__PURE__ */ e.jsx(p, { children: s && /* @__PURE__ */ e.jsx(
26
- n.div,
27
- {
28
- initial: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
29
- animate: {
30
- opacity: 1,
31
- scale: 1,
32
- y: 0
33
- },
34
- exit: { opacity: 0, scale: 0.8, y: t === "top" ? 10 : -10 },
35
- transition: {
36
- duration: 0.15,
37
- ease: "easeOut"
38
- },
39
- className: `absolute z-50 ${d[t]}`,
40
- children: /* @__PURE__ */ e.jsxs("div", { className: "min-w-80 max-w-80 min-h-36 h-fit text-white rounded-lg shadow-lg p-3 bg-neutral-medium-default", children: [
41
- /* @__PURE__ */ e.jsx("h3", { className: "font-bold text-sm mb-1 text-neutral-strong-default", children: i }),
42
- c,
43
- o === "click" && /* @__PURE__ */ e.jsx(
44
- n.button,
45
- {
46
- onClick: (h) => {
47
- h.stopPropagation(), a();
48
- },
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
- whileHover: { scale: 1.1 },
51
- whileTap: { scale: 0.95 },
52
- children: /* @__PURE__ */ e.jsx(f, { size: 14, className: "text-white" })
53
- }
54
- )
55
- ] })
56
- }
57
- ) })
58
- ] });
59
- };
60
- export {
61
- N as default
62
- };
@@ -1,29 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- declare const buttonVariants: (props?: ({
3
- variant?: "text" | "outline" | "filled" | null | undefined;
4
- color?: "primary" | "secondary" | null | undefined;
5
- size?: "small" | "medium" | "large" | null | undefined;
6
- disabled?: boolean | null | undefined;
7
- loading?: boolean | null | undefined;
8
- customSize?: boolean | null | undefined;
9
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
- export interface ButtonProps extends VariantProps<typeof buttonVariants> {
11
- label?: string;
12
- onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
13
- icon?: React.ReactNode;
14
- contentClassName?: string;
15
- loadingText?: string;
16
- animate?: boolean;
17
- animateIcon?: boolean;
18
- isLoading?: boolean;
19
- children?: React.ReactNode;
20
- Spinner?: React.ReactNode;
21
- type?: 'button' | "submit" | "reset";
22
- className?: string;
23
- disabled?: boolean;
24
- variant?: "filled" | "outline" | "text";
25
- form?: string;
26
- }
27
- declare function Button({ label, onClick, icon, contentClassName, loadingText, animate, animateIcon, isLoading, disabled, type, variant, color, size, children, Spinner, className, form, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
28
- declare const _default: import('react').MemoExoticComponent<typeof Button>;
29
- export default _default;
@@ -1,283 +0,0 @@
1
- import ee from "react";
2
- var v = { exports: {} }, _ = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
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
- s = {};
21
- for (var E in o)
22
- E !== "key" && (s[E] = o[E]);
23
- } else s = o;
24
- return o = s.ref, {
25
- $$typeof: l,
26
- type: d,
27
- key: m,
28
- ref: o !== void 0 ? o : null,
29
- props: s
30
- };
31
- }
32
- return _.Fragment = T, _.jsx = f, _.jsxs = f, _;
33
- }
34
- var R = {};
35
- /**
36
- * @license React
37
- * react-jsx-runtime.development.js
38
- *
39
- * Copyright (c) Meta Platforms, Inc. and affiliates.
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
44
- var D;
45
- function te() {
46
- return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
47
- function l(e) {
48
- if (e == null) return null;
49
- if (typeof e == "function")
50
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
51
- if (typeof e == "string") return e;
52
- switch (e) {
53
- case p:
54
- return "Fragment";
55
- case J:
56
- return "Profiler";
57
- case U:
58
- return "StrictMode";
59
- case G:
60
- return "Suspense";
61
- case X:
62
- return "SuspenseList";
63
- case H:
64
- return "Activity";
65
- }
66
- if (typeof e == "object")
67
- switch (typeof e.tag == "number" && console.error(
68
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
- ), e.$$typeof) {
70
- case W:
71
- return "Portal";
72
- case z:
73
- return (e.displayName || "Context") + ".Provider";
74
- case q:
75
- return (e._context.displayName || "Context") + ".Consumer";
76
- case V:
77
- var r = e.render;
78
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case B:
80
- return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
- case g:
82
- r = e._payload, e = e._init;
83
- try {
84
- return l(e(r));
85
- } catch {
86
- }
87
- }
88
- return null;
89
- }
90
- function T(e) {
91
- return "" + e;
92
- }
93
- function f(e) {
94
- try {
95
- var r = !1;
96
- } catch {
97
- r = !0;
98
- }
99
- if (r) {
100
- r = console;
101
- var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
102
- return t.call(
103
- r,
104
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105
- n
106
- ), T(e);
107
- }
108
- }
109
- function d(e) {
110
- if (e === p) return "<>";
111
- if (typeof e == "object" && e !== null && e.$$typeof === g)
112
- return "<...>";
113
- try {
114
- var r = l(e);
115
- return r ? "<" + r + ">" : "<...>";
116
- } catch {
117
- return "<...>";
118
- }
119
- }
120
- function o() {
121
- var e = k.A;
122
- return e === null ? null : e.getOwner();
123
- }
124
- function s() {
125
- return Error("react-stack-top-frame");
126
- }
127
- function m(e) {
128
- if (h.call(e, "key")) {
129
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
130
- if (r && r.isReactWarning) return !1;
131
- }
132
- return e.key !== void 0;
133
- }
134
- function E(e, r) {
135
- function t() {
136
- y || (y = !0, console.error(
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
- r
139
- ));
140
- }
141
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
142
- get: t,
143
- configurable: !0
144
- });
145
- }
146
- function L() {
147
- var e = l(this.type);
148
- return N[e] || (N[e] = !0, console.error(
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
- )), e = this.props.ref, e !== void 0 ? e : null;
151
- }
152
- function M(e, r, t, n, c, u, A, S) {
153
- return t = u.ref, e = {
154
- $$typeof: x,
155
- type: e,
156
- key: r,
157
- props: u,
158
- _owner: c
159
- }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
160
- enumerable: !1,
161
- get: L
162
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
163
- configurable: !1,
164
- enumerable: !1,
165
- writable: !0,
166
- value: 0
167
- }), Object.defineProperty(e, "_debugInfo", {
168
- configurable: !1,
169
- enumerable: !1,
170
- writable: !0,
171
- value: null
172
- }), Object.defineProperty(e, "_debugStack", {
173
- configurable: !1,
174
- enumerable: !1,
175
- writable: !0,
176
- value: A
177
- }), Object.defineProperty(e, "_debugTask", {
178
- configurable: !1,
179
- enumerable: !1,
180
- writable: !0,
181
- value: S
182
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
183
- }
184
- function j(e, r, t, n, c, u, A, S) {
185
- var a = r.children;
186
- if (a !== void 0)
187
- if (n)
188
- if (Q(a)) {
189
- for (n = 0; n < a.length; n++)
190
- w(a[n]);
191
- Object.freeze && Object.freeze(a);
192
- } else
193
- console.error(
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."
195
- );
196
- else w(a);
197
- if (h.call(r, "key")) {
198
- a = l(e);
199
- var i = Object.keys(r).filter(function(K) {
200
- return K !== "key";
201
- });
202
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[a + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
203
- `A props object containing a "key" prop is being spread into JSX:
204
- let props = %s;
205
- <%s {...props} />
206
- React keys must be passed directly to JSX without using spread:
207
- let props = %s;
208
- <%s key={someKey} {...props} />`,
209
- n,
210
- a,
211
- i,
212
- a
213
- ), I[a + n] = !0);
214
- }
215
- if (a = null, t !== void 0 && (f(t), a = "" + t), m(r) && (f(r.key), a = "" + r.key), "key" in r) {
216
- t = {};
217
- for (var P in r)
218
- P !== "key" && (t[P] = r[P]);
219
- } else t = r;
220
- return a && E(
221
- t,
222
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
223
- ), M(
224
- e,
225
- a,
226
- u,
227
- c,
228
- o(),
229
- t,
230
- A,
231
- S
232
- );
233
- }
234
- function w(e) {
235
- typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
236
- }
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() {
238
- return null;
239
- };
240
- b = {
241
- react_stack_bottom_frame: function(e) {
242
- return e();
243
- }
244
- };
245
- var y, N = {}, C = b.react_stack_bottom_frame.bind(
246
- b,
247
- s
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(
252
- e,
253
- r,
254
- t,
255
- !1,
256
- n,
257
- c,
258
- u ? Error("react-stack-top-frame") : C,
259
- u ? O(d(e)) : Y
260
- );
261
- }, R.jsxs = function(e, r, t, n, c) {
262
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
263
- return j(
264
- e,
265
- r,
266
- t,
267
- !0,
268
- n,
269
- c,
270
- u ? Error("react-stack-top-frame") : C,
271
- u ? O(d(e)) : Y
272
- );
273
- };
274
- })()), R;
275
- }
276
- var $;
277
- function ne() {
278
- return $ || ($ = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ re() : v.exports = /* @__PURE__ */ te()), v.exports;
279
- }
280
- var oe = /* @__PURE__ */ ne();
281
- export {
282
- oe as j
283
- };