prometeo-design-system 2.8.5 → 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.
- package/dist/Avatar.js +4 -0
- package/dist/Button.js +4 -0
- package/dist/CardProfile.js +5 -0
- package/dist/CheckBox.js +4 -0
- package/dist/DatePicker.js +5 -0
- package/dist/DialogModal.js +6 -0
- package/dist/DrawerDesktop.js +6 -0
- package/dist/DrawerMobile.js +6 -0
- package/dist/DropZone.js +5 -0
- package/dist/FAButton.js +4 -0
- package/dist/Header.js +4 -0
- package/dist/Icons/Icons.js +1055 -0
- package/dist/Icons.js +5 -0
- package/dist/Image.js +4 -0
- package/dist/ImageGallery.js +6 -0
- package/dist/Input.js +4 -0
- package/dist/InputMultiple.js +5 -0
- package/dist/LayoutGeneric.js +4 -0
- package/dist/Logo.js +4 -0
- package/dist/Menu.js +5 -0
- package/dist/OtpInput.js +4 -0
- package/dist/Pagination.js +4 -0
- package/dist/ProfilePictureUpload.js +5 -0
- package/dist/ProgressBar.js +4 -0
- package/dist/RadioButton.js +5 -0
- package/dist/SegmentedButton.js +5 -0
- package/dist/Select.js +4 -0
- package/dist/SelectSearch.js +4 -0
- package/dist/Skeleton.js +5 -0
- package/dist/Spinner.js +4 -0
- package/dist/Steps.js +5 -0
- package/dist/SwipeContainer.js +4 -0
- package/dist/Switch.js +5 -0
- package/dist/TabLinks.js +4 -0
- package/dist/Table.js +11 -0
- package/dist/TextArea.js +4 -0
- package/dist/Toast.js +5 -0
- package/dist/ToastProvider.js +4 -0
- package/dist/Tooltip.js +4 -0
- package/dist/components/Autocomplete/useAutocomplete.js +143 -0
- package/dist/{Avatar.es.js → components/Avatar/Avatar.js} +24 -24
- package/dist/{Button.es.js → components/Button/Button.js} +55 -55
- package/dist/{CardProfile-CsytJlKZ.js → components/CardProfile/CardProfile.js} +68 -94
- package/dist/{CheckBox.es.js → components/CheckBox/CheckBox.js} +25 -25
- package/dist/components/DatePicker/DatePicker.js +396 -0
- package/dist/components/Dialog/Dialog.js +60 -0
- package/dist/components/Dialog/useDialogControl.js +18 -0
- package/dist/components/Drawer/DrawerDesktop.js +179 -0
- package/dist/components/Drawer/DrawerMobile.js +219 -0
- package/dist/components/Drawer/useDrawerDesktop.js +18 -0
- package/dist/components/Drawer/useDrawerMobile.js +27 -0
- package/dist/components/DropZone/DropZone.js +86 -0
- package/dist/components/DropZone/useFileDropzone.js +24 -0
- package/dist/{FAButton.es.js → components/FAB/FAButton.js} +5 -5
- package/dist/components/Header/Header.js +32 -0
- package/dist/components/Image/GalleryPreview.js +40 -0
- package/dist/{Image.es.js → components/Image/Image.js} +32 -32
- package/dist/components/Image/ImageGallery.js +68 -0
- package/dist/components/Image/LightBox.js +223 -0
- package/dist/{ImageGallery.es.js → components/Image/useImageGallery.js} +0 -2
- package/dist/components/Input/Input.js +219 -0
- package/dist/components/InputMultiple/InputMultiple.js +262 -0
- package/dist/components/Layout/LayoutGeneric.js +13 -0
- package/dist/components/Logo/Logo.js +9 -0
- package/dist/{Menu.es.js → components/Menu/MenuComposable.js} +12 -13
- package/dist/components/OtpInput/OtpInput.js +112 -0
- package/dist/{Pagination.es.js → components/Pagination/Pagination.js} +32 -32
- package/dist/{ProfilePictureUpload.es.js → components/ProfilePictureUpload/ProfilePictureUpload.js} +56 -57
- package/dist/components/ProgressBar/ProgressBar.js +70 -0
- package/dist/{RadioButton.es.js → components/RadioButton/RadioButton.js} +35 -36
- package/dist/{SegmentedButton.es.js → components/SegmentedButton/SegmentedButton.js} +37 -38
- package/dist/components/Select/Select.js +1005 -0
- package/dist/components/SelectSearch/SelectSearch.js +101 -0
- package/dist/components/Shared/Chip.js +55 -0
- package/dist/components/Shared/HelperComponent.js +24 -0
- package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +62 -0
- package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +59 -0
- package/dist/components/Sidebar/SidebarComposable.js +84 -0
- package/dist/components/Sidebar/components/NavigationLink.js +34 -0
- package/dist/components/Sidebar/components/badge.js +33 -0
- package/dist/components/Sidebar/components/changue-account.js +31 -0
- package/dist/components/Sidebar/components/collapse-button.js +18 -0
- package/dist/components/Sidebar/components/company-logo.js +12 -0
- package/dist/components/Sidebar/components/nav-actions.js +98 -0
- package/dist/components/Sidebar/components/nav-links.js +100 -0
- package/dist/components/Sidebar/context/SidebarContext.js +19 -0
- package/dist/components/Sidebar/hooks/SidebarProvider.js +33 -0
- package/dist/components/Sidebar/hooks/useNavBarActions.js +9 -0
- package/dist/components/Sidebar/hooks/useNavBarCollapse.js +11 -0
- package/dist/components/Sidebar/hooks/useSidebarHook.js +13 -0
- package/dist/components/Sidebar/ui/useNavbarAnimation.js +326 -0
- package/dist/{Skeleton.es.js → components/Skeleton/Skeleton.js} +16 -18
- package/dist/components/Spinner/Spinner.js +52 -0
- package/dist/{Steps.es.js → components/Steps/Steps.js} +61 -62
- package/dist/{SwipeContainer.es.js → components/SwipeContainer/SwipeContainer.js} +68 -68
- package/dist/{Switch.es.js → components/Switch/Switch.js} +17 -18
- package/dist/{TabLinks.es.js → components/TabLinks/TabLinks.js} +11 -11
- package/dist/components/TabSwitch/TabSwitch.js +57 -0
- package/dist/{Table.es.js → components/Table/Table.js} +38 -41
- package/dist/{TextArea.es.js → components/TextArea/TextArea.js} +24 -26
- package/dist/components/Toaster/ToastProvider.js +6 -0
- package/dist/{Toast.es.js → components/Toaster/Toaster.js} +48 -48
- package/dist/components/Tooltip/Tootip.js +62 -0
- package/dist/hooks/useClickOutside.js +24 -0
- package/dist/{useDragScroll-CHN9OMwn.js → hooks/useDragScroll.js} +1 -1
- package/dist/hooks/useLabelBackground.js +25 -0
- package/dist/index.js +119 -0
- package/dist/{cn-B6yFEsav.js → lib/cn.js} +2 -2
- package/dist/lib/utils.js +54 -0
- package/dist/node_modules/@date-fns/tz/date/index.js +61 -0
- package/dist/node_modules/@date-fns/tz/date/mini.js +69 -0
- package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +22 -0
- package/dist/{index-BOQuZ0gG.js → node_modules/class-variance-authority/dist/index.js} +10 -9
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/addDays.js +10 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/addWeeks.js +8 -0
- package/dist/node_modules/date-fns/addYears.js +8 -0
- package/dist/node_modules/date-fns/constants.js +6 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +13 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +17 -0
- package/dist/node_modules/date-fns/eachYearOfInterval.js +17 -0
- package/dist/node_modules/date-fns/endOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/endOfMonth.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.js +10 -0
- package/dist/node_modules/date-fns/endOfYear.js +9 -0
- package/dist/node_modules/date-fns/format.js +58 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getMonth.js +8 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +16 -0
- package/dist/node_modules/date-fns/getYear.js +8 -0
- package/dist/node_modules/date-fns/isAfter.js +8 -0
- package/dist/node_modules/date-fns/isBefore.js +8 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isSameDay.js +14 -0
- package/dist/node_modules/date-fns/isSameMonth.js +13 -0
- package/dist/node_modules/date-fns/isSameYear.js +13 -0
- package/dist/node_modules/date-fns/isValid.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -0
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +143 -0
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +116 -0
- package/dist/node_modules/date-fns/locale/es.js +21 -0
- package/dist/node_modules/date-fns/max.js +14 -0
- package/dist/node_modules/date-fns/min.js +14 -0
- package/dist/node_modules/date-fns/setMonth.js +13 -0
- package/dist/node_modules/date-fns/setYear.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.js +10 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +12 -0
- package/dist/node_modules/date-fns/startOfYear.js +9 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/input-otp/dist/index.js +194 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +227 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +22 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +147 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +27 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +24 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +56 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +44 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +32 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +28 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
- package/dist/prometeo-design-system.css +1 -1
- package/dist/useDevice.js +4 -0
- package/package.json +114 -115
- package/dist/CardProfile.es.js +0 -5
- package/dist/DatePicker.es.js +0 -3441
- package/dist/DialogModal.es.js +0 -75
- package/dist/DrawerDesktop.es.js +0 -192
- package/dist/DrawerMobile.es.js +0 -242
- package/dist/DropZone.es.js +0 -87
- package/dist/Header.es.js +0 -32
- package/dist/HelperComponent-g_xuKWzK.js +0 -24
- package/dist/Icons-DtFC5DJ7.js +0 -1079
- package/dist/Icons.es.js +0 -5
- package/dist/ImageGallery-Ckxg9OIC.js +0 -317
- package/dist/Input-Cck37DpG.js +0 -240
- package/dist/Input.es.js +0 -4
- package/dist/InputMultiple.es.js +0 -263
- package/dist/LayoutGeneric-CbaoatQB.js +0 -26
- package/dist/LayoutGeneric.es.js +0 -4
- package/dist/Logo.es.js +0 -9
- package/dist/OtpInput.es.js +0 -301
- package/dist/ProgressBar.es.js +0 -70
- package/dist/Select-BD5FTxVw.js +0 -1100
- package/dist/Select.es.js +0 -4
- package/dist/SelectSearch.es.js +0 -237
- package/dist/Spinner.es.js +0 -52
- package/dist/ToastProvider.es.js +0 -6
- package/dist/Tooltip.es.js +0 -62
- package/dist/jsx-runtime-DKDX3adD.js +0 -281
- package/dist/prometeo-design-system.es.js +0 -1002
- /package/dist/{useDevice.es.js → hooks/useDevice.js} +0 -0
package/dist/Select.es.js
DELETED
package/dist/SelectSearch.es.js
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import { j as G } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
-
import { g as i, S as H } from "./Select-BD5FTxVw.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
|
-
};
|
package/dist/Spinner.es.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-DKDX3adD.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
|
-
};
|
package/dist/ToastProvider.es.js
DELETED
package/dist/Tooltip.es.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
-
import { a as f } from "./Icons-DtFC5DJ7.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,281 +0,0 @@
|
|
|
1
|
-
import K from "react";
|
|
2
|
-
var v = { exports: {} }, m = {};
|
|
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 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) {
|
|
20
|
-
s = {};
|
|
21
|
-
for (var d in o)
|
|
22
|
-
d !== "key" && (s[d] = o[d]);
|
|
23
|
-
} else s = o;
|
|
24
|
-
return o = s.ref, {
|
|
25
|
-
$$typeof: l,
|
|
26
|
-
type: i,
|
|
27
|
-
key: f,
|
|
28
|
-
ref: o !== void 0 ? o : null,
|
|
29
|
-
props: s
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
|
|
33
|
-
}
|
|
34
|
-
var _ = {};
|
|
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 $;
|
|
45
|
-
function re() {
|
|
46
|
-
return $ || ($ = 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 === H ? null : e.displayName || e.name || null;
|
|
51
|
-
if (typeof e == "string") return e;
|
|
52
|
-
switch (e) {
|
|
53
|
-
case p:
|
|
54
|
-
return "Fragment";
|
|
55
|
-
case U:
|
|
56
|
-
return "Profiler";
|
|
57
|
-
case W:
|
|
58
|
-
return "StrictMode";
|
|
59
|
-
case z:
|
|
60
|
-
return "Suspense";
|
|
61
|
-
case G:
|
|
62
|
-
return "SuspenseList";
|
|
63
|
-
case B:
|
|
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 M:
|
|
71
|
-
return "Portal";
|
|
72
|
-
case V:
|
|
73
|
-
return e.displayName || "Context";
|
|
74
|
-
case J:
|
|
75
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case q:
|
|
77
|
-
var r = e.render;
|
|
78
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case X:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
-
case T:
|
|
82
|
-
r = e._payload, e = e._init;
|
|
83
|
-
try {
|
|
84
|
-
return l(e(r));
|
|
85
|
-
} catch {
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
function b(e) {
|
|
91
|
-
return "" + e;
|
|
92
|
-
}
|
|
93
|
-
function c(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
|
-
), b(e);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function i(e) {
|
|
110
|
-
if (e === p) return "<>";
|
|
111
|
-
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
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 f(e) {
|
|
128
|
-
if (x.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 d(e, r) {
|
|
135
|
-
function t() {
|
|
136
|
-
g || (g = !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 D() {
|
|
147
|
-
var e = l(this.type);
|
|
148
|
-
return h[e] || (h[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 L(e, r, t, n, R, A) {
|
|
153
|
-
var a = t.ref;
|
|
154
|
-
return e = {
|
|
155
|
-
$$typeof: j,
|
|
156
|
-
type: e,
|
|
157
|
-
key: r,
|
|
158
|
-
props: t,
|
|
159
|
-
_owner: n
|
|
160
|
-
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
|
-
enumerable: !1,
|
|
162
|
-
get: D
|
|
163
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
|
-
configurable: !1,
|
|
165
|
-
enumerable: !1,
|
|
166
|
-
writable: !0,
|
|
167
|
-
value: 0
|
|
168
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
169
|
-
configurable: !1,
|
|
170
|
-
enumerable: !1,
|
|
171
|
-
writable: !0,
|
|
172
|
-
value: null
|
|
173
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
174
|
-
configurable: !1,
|
|
175
|
-
enumerable: !1,
|
|
176
|
-
writable: !0,
|
|
177
|
-
value: R
|
|
178
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
179
|
-
configurable: !1,
|
|
180
|
-
enumerable: !1,
|
|
181
|
-
writable: !0,
|
|
182
|
-
value: A
|
|
183
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
|
-
}
|
|
185
|
-
function P(e, r, t, n, R, A) {
|
|
186
|
-
var a = r.children;
|
|
187
|
-
if (a !== void 0)
|
|
188
|
-
if (n)
|
|
189
|
-
if (Z(a)) {
|
|
190
|
-
for (n = 0; n < a.length; n++)
|
|
191
|
-
w(a[n]);
|
|
192
|
-
Object.freeze && Object.freeze(a);
|
|
193
|
-
} else
|
|
194
|
-
console.error(
|
|
195
|
-
"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
|
-
);
|
|
197
|
-
else w(a);
|
|
198
|
-
if (x.call(r, "key")) {
|
|
199
|
-
a = l(e);
|
|
200
|
-
var u = Object.keys(r).filter(function(Q) {
|
|
201
|
-
return Q !== "key";
|
|
202
|
-
});
|
|
203
|
-
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
205
|
-
let props = %s;
|
|
206
|
-
<%s {...props} />
|
|
207
|
-
React keys must be passed directly to JSX without using spread:
|
|
208
|
-
let props = %s;
|
|
209
|
-
<%s key={someKey} {...props} />`,
|
|
210
|
-
n,
|
|
211
|
-
a,
|
|
212
|
-
u,
|
|
213
|
-
a
|
|
214
|
-
), Y[a + n] = !0);
|
|
215
|
-
}
|
|
216
|
-
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
217
|
-
t = {};
|
|
218
|
-
for (var S in r)
|
|
219
|
-
S !== "key" && (t[S] = r[S]);
|
|
220
|
-
} else t = r;
|
|
221
|
-
return a && d(
|
|
222
|
-
t,
|
|
223
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
-
), L(
|
|
225
|
-
e,
|
|
226
|
-
a,
|
|
227
|
-
t,
|
|
228
|
-
o(),
|
|
229
|
-
R,
|
|
230
|
-
A
|
|
231
|
-
);
|
|
232
|
-
}
|
|
233
|
-
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;
|
|
238
|
-
}
|
|
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() {
|
|
240
|
-
return null;
|
|
241
|
-
};
|
|
242
|
-
E = {
|
|
243
|
-
react_stack_bottom_frame: function(e) {
|
|
244
|
-
return e();
|
|
245
|
-
}
|
|
246
|
-
};
|
|
247
|
-
var g, h = {}, N = E.react_stack_bottom_frame.bind(
|
|
248
|
-
E,
|
|
249
|
-
s
|
|
250
|
-
)(), C = O(i(s)), Y = {};
|
|
251
|
-
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
252
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
253
|
-
return P(
|
|
254
|
-
e,
|
|
255
|
-
r,
|
|
256
|
-
t,
|
|
257
|
-
!1,
|
|
258
|
-
n ? Error("react-stack-top-frame") : N,
|
|
259
|
-
n ? O(i(e)) : C
|
|
260
|
-
);
|
|
261
|
-
}, _.jsxs = function(e, r, t) {
|
|
262
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
263
|
-
return P(
|
|
264
|
-
e,
|
|
265
|
-
r,
|
|
266
|
-
t,
|
|
267
|
-
!0,
|
|
268
|
-
n ? Error("react-stack-top-frame") : N,
|
|
269
|
-
n ? O(i(e)) : C
|
|
270
|
-
);
|
|
271
|
-
};
|
|
272
|
-
})()), _;
|
|
273
|
-
}
|
|
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;
|
|
277
|
-
}
|
|
278
|
-
var ae = /* @__PURE__ */ te();
|
|
279
|
-
export {
|
|
280
|
-
ae as j
|
|
281
|
-
};
|