prometeo-design-system 2.8.8 → 2.9.1
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/{components/Avatar/Avatar.js → Avatar.es.js} +24 -24
- package/dist/{components/Button/Button.js → Button.es.js} +55 -55
- package/dist/{components/CardProfile/CardProfile.js → CardProfile-CsytJlKZ.js} +94 -68
- package/dist/CardProfile.es.js +5 -0
- package/dist/{components/CheckBox/CheckBox.js → CheckBox.es.js} +25 -25
- package/dist/DatePicker.es.js +3441 -0
- package/dist/DialogModal.es.js +75 -0
- package/dist/DrawerDesktop.es.js +192 -0
- package/dist/DrawerMobile.es.js +242 -0
- package/dist/DropZone.es.js +87 -0
- package/dist/{components/FAB/FAButton.js → FAButton.es.js} +5 -5
- package/dist/Header.es.js +32 -0
- package/dist/HelperComponent-g_xuKWzK.js +24 -0
- package/dist/Icons-DtFC5DJ7.js +1079 -0
- package/dist/Icons.es.js +5 -0
- package/dist/{components/Image/Image.js → Image.es.js} +32 -32
- package/dist/ImageGallery-Ckxg9OIC.js +317 -0
- package/dist/{components/Image/useImageGallery.js → ImageGallery.es.js} +2 -0
- package/dist/Input-Cck37DpG.js +240 -0
- package/dist/Input.es.js +4 -0
- package/dist/InputMultiple.es.js +263 -0
- package/dist/LayoutGeneric-CbaoatQB.js +26 -0
- package/dist/LayoutGeneric.es.js +4 -0
- package/dist/Logo.es.js +9 -0
- package/dist/{components/Menu/MenuComposable.js → Menu.es.js} +13 -12
- package/dist/OtpInput.es.js +301 -0
- package/dist/{components/Pagination/Pagination.js → Pagination.es.js} +32 -32
- package/dist/{components/ProfilePictureUpload/ProfilePictureUpload.js → ProfilePictureUpload.es.js} +57 -56
- package/dist/ProgressBar.es.js +70 -0
- package/dist/{components/RadioButton/RadioButton.js → RadioButton.es.js} +36 -35
- package/dist/{components/SegmentedButton/SegmentedButton.js → SegmentedButton.es.js} +38 -37
- package/dist/Select-BD5FTxVw.js +1100 -0
- package/dist/Select.es.js +4 -0
- package/dist/SelectSearch.es.js +237 -0
- package/dist/{components/Skeleton/Skeleton.js → Skeleton.es.js} +18 -16
- package/dist/Spinner.es.js +52 -0
- package/dist/{components/Steps/Steps.js → Steps.es.js} +62 -61
- package/dist/{components/SwipeContainer/SwipeContainer.js → SwipeContainer.es.js} +68 -68
- package/dist/{components/Switch/Switch.js → Switch.es.js} +18 -17
- package/dist/{components/TabLinks/TabLinks.js → TabLinks.es.js} +11 -11
- package/dist/{components/Table/Table.js → Table.es.js} +41 -38
- package/dist/{components/TextArea/TextArea.js → TextArea.es.js} +26 -24
- package/dist/{components/Toaster/Toaster.js → Toast.es.js} +48 -48
- package/dist/ToastProvider.es.js +6 -0
- package/dist/Tooltip.es.js +62 -0
- package/dist/{lib/cn.js → cn-B6yFEsav.js} +2 -2
- package/dist/{node_modules/class-variance-authority/dist/index.js → index-BOQuZ0gG.js} +9 -10
- package/dist/index.d.ts +12 -16
- package/dist/jsx-runtime-DKDX3adD.js +281 -0
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +1002 -0
- package/dist/{hooks/useDragScroll.js → useDragScroll-CHN9OMwn.js} +1 -1
- package/package.json +120 -116
- package/src/styles/base.css +464 -473
- package/dist/Avatar.js +0 -4
- package/dist/Button.js +0 -4
- package/dist/CardProfile.js +0 -5
- package/dist/CheckBox.js +0 -4
- package/dist/DatePicker.js +0 -5
- package/dist/DialogModal.js +0 -6
- package/dist/DrawerDesktop.js +0 -6
- package/dist/DrawerMobile.js +0 -6
- package/dist/DropZone.js +0 -5
- package/dist/FAButton.js +0 -4
- package/dist/Header.js +0 -4
- package/dist/Icons/Icons.js +0 -1055
- package/dist/Icons.js +0 -5
- package/dist/Image.js +0 -4
- package/dist/ImageGallery.js +0 -6
- package/dist/Input.js +0 -4
- package/dist/InputMultiple.js +0 -5
- package/dist/LayoutGeneric.js +0 -4
- package/dist/Logo.js +0 -4
- package/dist/Menu.js +0 -5
- package/dist/OtpInput.js +0 -4
- package/dist/Pagination.js +0 -4
- package/dist/ProfilePictureUpload.js +0 -5
- package/dist/ProgressBar.js +0 -4
- package/dist/RadioButton.js +0 -5
- package/dist/SegmentedButton.js +0 -5
- package/dist/Select.js +0 -4
- package/dist/SelectSearch.js +0 -4
- package/dist/Skeleton.js +0 -5
- package/dist/Spinner.js +0 -4
- package/dist/Steps.js +0 -5
- package/dist/SwipeContainer.js +0 -4
- package/dist/Switch.js +0 -5
- package/dist/TabLinks.js +0 -4
- package/dist/Table.js +0 -11
- package/dist/TextArea.js +0 -4
- package/dist/Toast.js +0 -5
- package/dist/ToastProvider.js +0 -4
- package/dist/Tooltip.js +0 -4
- package/dist/components/Autocomplete/useAutocomplete.js +0 -143
- package/dist/components/DatePicker/DatePicker.js +0 -396
- package/dist/components/Dialog/Dialog.js +0 -60
- package/dist/components/Dialog/useDialogControl.js +0 -18
- package/dist/components/Drawer/DrawerDesktop.js +0 -179
- package/dist/components/Drawer/DrawerMobile.js +0 -219
- package/dist/components/Drawer/useDrawerDesktop.js +0 -18
- package/dist/components/Drawer/useDrawerMobile.js +0 -27
- package/dist/components/DropZone/DropZone.js +0 -86
- package/dist/components/DropZone/useFileDropzone.js +0 -24
- package/dist/components/Header/Header.js +0 -32
- package/dist/components/Image/GalleryPreview.js +0 -40
- package/dist/components/Image/ImageGallery.js +0 -68
- package/dist/components/Image/LightBox.js +0 -223
- package/dist/components/Input/Input.js +0 -219
- package/dist/components/InputMultiple/InputMultiple.js +0 -262
- package/dist/components/Layout/LayoutGeneric.js +0 -13
- package/dist/components/Logo/Logo.js +0 -9
- package/dist/components/OtpInput/OtpInput.js +0 -112
- package/dist/components/ProgressBar/ProgressBar.js +0 -70
- package/dist/components/Select/Select.js +0 -1005
- package/dist/components/SelectSearch/SelectSearch.js +0 -101
- package/dist/components/Shared/Chip.js +0 -55
- package/dist/components/Shared/HelperComponent.js +0 -24
- package/dist/components/Sidebar/SecondaryBar/SecondaryBar.js +0 -62
- package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.js +0 -59
- package/dist/components/Sidebar/SidebarComposable.js +0 -84
- package/dist/components/Sidebar/components/NavigationLink.js +0 -34
- package/dist/components/Sidebar/components/badge.js +0 -33
- package/dist/components/Sidebar/components/changue-account.js +0 -31
- package/dist/components/Sidebar/components/collapse-button.js +0 -18
- package/dist/components/Sidebar/components/company-logo.js +0 -12
- package/dist/components/Sidebar/components/nav-actions.js +0 -98
- package/dist/components/Sidebar/components/nav-links.js +0 -100
- package/dist/components/Sidebar/context/SidebarContext.js +0 -19
- package/dist/components/Sidebar/hooks/SidebarProvider.js +0 -33
- package/dist/components/Sidebar/hooks/useNavBarActions.js +0 -9
- package/dist/components/Sidebar/hooks/useNavBarCollapse.js +0 -11
- package/dist/components/Sidebar/hooks/useSidebarHook.js +0 -13
- package/dist/components/Sidebar/ui/useNavbarAnimation.js +0 -326
- package/dist/components/Spinner/Spinner.js +0 -52
- package/dist/components/TabSwitch/TabSwitch.js +0 -57
- package/dist/components/Toaster/ToastProvider.js +0 -6
- package/dist/components/Tooltip/Tootip.js +0 -62
- package/dist/hooks/useClickOutside.js +0 -24
- package/dist/hooks/useLabelBackground.js +0 -25
- package/dist/index.js +0 -127
- package/dist/lib/utils.js +0 -54
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -583
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -59
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -52
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
- package/dist/node_modules/date-fns/addDays.js +0 -10
- package/dist/node_modules/date-fns/addMonths.js +0 -20
- package/dist/node_modules/date-fns/addWeeks.js +0 -8
- package/dist/node_modules/date-fns/addYears.js +0 -8
- package/dist/node_modules/date-fns/constants.js +0 -6
- package/dist/node_modules/date-fns/constructFrom.js +0 -8
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
- package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
- package/dist/node_modules/date-fns/endOfMonth.js +0 -9
- package/dist/node_modules/date-fns/endOfWeek.js +0 -10
- package/dist/node_modules/date-fns/endOfYear.js +0 -9
- package/dist/node_modules/date-fns/format.js +0 -58
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
- package/dist/node_modules/date-fns/getISOWeek.js +0 -12
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
- package/dist/node_modules/date-fns/getMonth.js +0 -8
- package/dist/node_modules/date-fns/getWeek.js +0 -12
- package/dist/node_modules/date-fns/getWeekYear.js +0 -16
- package/dist/node_modules/date-fns/getYear.js +0 -8
- package/dist/node_modules/date-fns/isAfter.js +0 -8
- package/dist/node_modules/date-fns/isBefore.js +0 -8
- package/dist/node_modules/date-fns/isDate.js +0 -7
- package/dist/node_modules/date-fns/isSameDay.js +0 -14
- package/dist/node_modules/date-fns/isSameMonth.js +0 -13
- package/dist/node_modules/date-fns/isSameYear.js +0 -13
- package/dist/node_modules/date-fns/isValid.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
- package/dist/node_modules/date-fns/locale/en-US.js +0 -21
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -70
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -18
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +0 -143
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +0 -116
- package/dist/node_modules/date-fns/locale/es.js +0 -21
- package/dist/node_modules/date-fns/max.js +0 -14
- package/dist/node_modules/date-fns/min.js +0 -14
- package/dist/node_modules/date-fns/setMonth.js +0 -13
- package/dist/node_modules/date-fns/setYear.js +0 -10
- package/dist/node_modules/date-fns/startOfDay.js +0 -9
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
- package/dist/node_modules/date-fns/startOfMonth.js +0 -9
- package/dist/node_modules/date-fns/startOfWeek.js +0 -10
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
- package/dist/node_modules/date-fns/startOfYear.js +0 -9
- package/dist/node_modules/date-fns/toDate.js +0 -8
- package/dist/node_modules/input-otp/dist/index.js +0 -194
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -227
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -147
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
- package/dist/useDevice.js +0 -4
- /package/dist/{hooks/useDevice.js → useDevice.es.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { toast as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
const
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
+
import w from "react";
|
|
3
|
+
import { toast as p } from "sonner";
|
|
4
|
+
import { c as r } from "./cn-B6yFEsav.js";
|
|
5
|
+
import { I as m, E as u, i as f, k as b, a as C } from "./Icons-DtFC5DJ7.js";
|
|
6
|
+
import h from "./Button.es.js";
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
34
|
+
icon: b
|
|
35
35
|
},
|
|
36
36
|
error: {
|
|
37
37
|
container: "",
|
|
38
38
|
iconClass: "text-error-medium-pressed",
|
|
39
|
-
icon:
|
|
39
|
+
icon: f
|
|
40
40
|
},
|
|
41
41
|
warning: {
|
|
42
42
|
container: "",
|
|
43
43
|
iconClass: "text-warning-medium-pressed",
|
|
44
|
-
icon:
|
|
44
|
+
icon: u
|
|
45
45
|
},
|
|
46
46
|
info: {
|
|
47
47
|
container: "",
|
|
48
48
|
iconClass: "text-primary-default-pressed",
|
|
49
|
-
icon:
|
|
49
|
+
icon: m
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}, i = {
|
|
@@ -62,84 +62,84 @@ const p = {
|
|
|
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
|
-
},
|
|
66
|
-
const { title:
|
|
67
|
-
return /* @__PURE__ */
|
|
65
|
+
}, v = (l) => {
|
|
66
|
+
const { title: t, description: o, button: s, id: n, icon: c, variant: d = "info", colorMode: a = "dark", showClose: g = !1 } = l;
|
|
67
|
+
return /* @__PURE__ */ e.jsxs(
|
|
68
68
|
"div",
|
|
69
69
|
{
|
|
70
70
|
style: {
|
|
71
|
-
boxShadow: i[
|
|
71
|
+
boxShadow: i[a].shadow
|
|
72
72
|
},
|
|
73
|
-
className:
|
|
73
|
+
className: r(
|
|
74
74
|
"flex p-3 pb-4 md:w-[485px] md:max-w-[485px] md:min-w-[485px] md:h-[68px] md:max-h-[68px] rounded-lg gap-2",
|
|
75
75
|
"w-[345px] max-w-[345px] min-w-[345px] h-[68px] max-h-[68px]",
|
|
76
|
-
i[
|
|
77
|
-
|
|
76
|
+
i[a].container,
|
|
77
|
+
x[a][d].container
|
|
78
78
|
),
|
|
79
79
|
children: [
|
|
80
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ e.jsxs(
|
|
81
81
|
"div",
|
|
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__ */
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
85
|
+
/* @__PURE__ */ e.jsx("div", { className: "f", style: { color: "inherit" }, children: w.createElement(c || x[a][d].icon, { size: 24, className: x[a][d].iconClass }) }),
|
|
86
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex flex-col gap-1", children: [
|
|
87
|
+
/* @__PURE__ */ e.jsx("p", { className: r("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", i[a].title), children: t }),
|
|
88
|
+
o && /* @__PURE__ */ e.jsx("p", { className: r("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", i[a].description), children: o })
|
|
89
89
|
] })
|
|
90
90
|
]
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
s?.label && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ e.jsx(
|
|
94
|
+
h,
|
|
95
95
|
{
|
|
96
|
-
label:
|
|
96
|
+
label: s?.label,
|
|
97
97
|
onClick: () => {
|
|
98
|
-
|
|
98
|
+
s?.onClick(), p.dismiss(n);
|
|
99
99
|
},
|
|
100
100
|
size: "small",
|
|
101
101
|
color: "secondary"
|
|
102
102
|
}
|
|
103
103
|
) }),
|
|
104
|
-
|
|
105
|
-
|
|
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);
|
|
109
109
|
},
|
|
110
110
|
label: "",
|
|
111
111
|
size: "small",
|
|
112
112
|
color: "secondary",
|
|
113
|
-
icon: /* @__PURE__ */
|
|
113
|
+
icon: /* @__PURE__ */ e.jsx(C, { className: r(a === "light" ? "text-neutral-medium-focused " : "") }),
|
|
114
114
|
variant: "text",
|
|
115
115
|
animate: !1,
|
|
116
|
-
className:
|
|
116
|
+
className: r(a === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
|
|
117
117
|
}
|
|
118
118
|
) })
|
|
119
119
|
]
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
122
|
};
|
|
123
|
-
function
|
|
124
|
-
const { duration:
|
|
125
|
-
return
|
|
126
|
-
|
|
123
|
+
function M(l, t) {
|
|
124
|
+
const { duration: o = 2500, showClose: s = !1, colorMode: n = "dark" } = t || {};
|
|
125
|
+
return p.custom((c) => /* @__PURE__ */ e.jsx(
|
|
126
|
+
v,
|
|
127
127
|
{
|
|
128
128
|
id: c,
|
|
129
|
-
variant:
|
|
129
|
+
variant: t?.variant || "success",
|
|
130
130
|
title: l,
|
|
131
|
-
description:
|
|
132
|
-
icon:
|
|
133
|
-
button:
|
|
134
|
-
showClose:
|
|
131
|
+
description: t?.description,
|
|
132
|
+
icon: t?.icon,
|
|
133
|
+
button: t?.button,
|
|
134
|
+
showClose: s,
|
|
135
135
|
colorMode: n
|
|
136
136
|
}
|
|
137
137
|
), {
|
|
138
|
-
duration:
|
|
138
|
+
duration: o,
|
|
139
139
|
unstyled: !0
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
v as default,
|
|
144
|
+
M as toastpyrion
|
|
145
145
|
};
|
|
@@ -0,0 +1,62 @@
|
|
|
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,17 +1,17 @@
|
|
|
1
1
|
import { clsx as O } from "clsx";
|
|
2
2
|
const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
|
|
3
|
-
var
|
|
3
|
+
var u;
|
|
4
4
|
if (l?.variants == null) return y(e, n?.class, n?.className);
|
|
5
5
|
const { variants: r, defaultVariants: d } = l, V = Object.keys(r).map((t) => {
|
|
6
|
-
const a = n?.[t],
|
|
6
|
+
const a = n?.[t], s = d?.[t];
|
|
7
7
|
if (a === null) return null;
|
|
8
|
-
const i = m(a) || m(
|
|
8
|
+
const i = m(a) || m(s);
|
|
9
9
|
return r[t][i];
|
|
10
10
|
}), v = n && Object.entries(n).reduce((t, a) => {
|
|
11
|
-
let [
|
|
12
|
-
return i === void 0 || (t[
|
|
13
|
-
}, {}), N = l == null || (
|
|
14
|
-
let { class:
|
|
11
|
+
let [s, i] = a;
|
|
12
|
+
return i === void 0 || (t[s] = i), t;
|
|
13
|
+
}, {}), N = l == null || (u = l.compoundVariants) === null || u === void 0 ? void 0 : u.reduce((t, a) => {
|
|
14
|
+
let { class: s, className: i, ...f } = a;
|
|
15
15
|
return Object.entries(f).every((C) => {
|
|
16
16
|
let [c, o] = C;
|
|
17
17
|
return Array.isArray(o) ? o.includes({
|
|
@@ -23,13 +23,12 @@ const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j =
|
|
|
23
23
|
}[c] === o;
|
|
24
24
|
}) ? [
|
|
25
25
|
...t,
|
|
26
|
-
|
|
26
|
+
s,
|
|
27
27
|
i
|
|
28
28
|
] : t;
|
|
29
29
|
}, []);
|
|
30
30
|
return y(e, V, N, n?.class, n?.className);
|
|
31
31
|
};
|
|
32
32
|
export {
|
|
33
|
-
j as
|
|
34
|
-
y as cx
|
|
33
|
+
j as c
|
|
35
34
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,13 @@ export { NavbarCollapseButton } from './components/Sidebar/components/collapse-b
|
|
|
40
40
|
export { CompanyLogo } from './components/Sidebar/components/company-logo';
|
|
41
41
|
export { NavbarLinks } from './components/Sidebar/components/nav-links';
|
|
42
42
|
export { default as OtpInput } from './components/OtpInput/OtpInput';
|
|
43
|
+
export { useDialogControl } from './components/Dialog/useDialogControl';
|
|
44
|
+
export { useFileDropzone } from './components/DropZone/useFileDropzone';
|
|
45
|
+
export { SidebarProvider as SidebarRefProvider, useSidebarContext, } from './components/Sidebar/context/SidebarContext';
|
|
46
|
+
export { SidebarProvider } from './components/Sidebar/hooks/SidebarProvider';
|
|
47
|
+
export { useSidebar } from './components/Sidebar/hooks/useSidebarHook';
|
|
48
|
+
export { useClickOutside } from './hooks/useClickOutside';
|
|
49
|
+
export { useIsMobile } from './hooks/useDevice';
|
|
43
50
|
export type { ButtonProps } from './components/Button/Button';
|
|
44
51
|
export type { ISessionLocalStorage } from './components/CardProfile/CardProfile';
|
|
45
52
|
export type { CheckBoxProps } from './components/CheckBox/CheckBox';
|
|
@@ -61,6 +68,7 @@ export type { PaginationProps } from './components/Pagination/Pagination';
|
|
|
61
68
|
export type { ProfilePictureUploadProps } from './components/ProfilePictureUpload/ProfilePictureUpload';
|
|
62
69
|
export type { Step, StepsProps } from './components/Steps/Steps';
|
|
63
70
|
export type { SelectProps } from './components/Select/Select';
|
|
71
|
+
export type { DialogHandle } from './components/Dialog/Dialog';
|
|
64
72
|
export { DropZone } from './components/DropZone/DropZone';
|
|
65
73
|
export type { PyrionToastProps as ToasterPrometeo } from './components/Toaster/Toaster';
|
|
66
74
|
export type { LayoutGenericProps } from './components/Layout/LayoutGeneric';
|
|
@@ -74,6 +82,10 @@ export type { DatePickerProps } from './components/DatePicker/DatePicker';
|
|
|
74
82
|
export type { ImageProps } from './components/Image/Image';
|
|
75
83
|
export type { ImageGalleryProps } from './components/Image/ImageGallery';
|
|
76
84
|
export type { ImageGalleryHandle } from './components/Image/ImageGallery';
|
|
85
|
+
export type { DrawerMobileProps } from './components/Drawer/DrawerMobile';
|
|
86
|
+
export type { DrawerDesktopProps } from './components/Drawer/DrawerDesktop';
|
|
87
|
+
export type { DrawerMobileHandle } from './components/Drawer/DrawerMobile';
|
|
88
|
+
export type { DrawerDesktopHandle } from './components/Drawer/DrawerDesktop';
|
|
77
89
|
export type { CustomSelectionDisplayProps } from './components/Select/Select';
|
|
78
90
|
export type { CustomSelectOptionRendererProps } from './components/Select/Select';
|
|
79
91
|
export type { SelectControlsHandler } from './components/Select/Select';
|
|
@@ -82,19 +94,3 @@ export type { BaseSelectSearchProps as SelectSearchProps } from './components/Se
|
|
|
82
94
|
export type { FAButtonProps } from './components/FAB/FAButton';
|
|
83
95
|
export type { RadioButtonProps } from './components/RadioButton/RadioButton';
|
|
84
96
|
export { Icons } from './Icons/Icons';
|
|
85
|
-
export { default as DrawerDesktop } from './components/Drawer/DrawerDesktop';
|
|
86
|
-
export { default as DrawerMobile } from './components/Drawer/DrawerMobile';
|
|
87
|
-
export type { DrawerMobileProps } from './components/Drawer/DrawerMobile';
|
|
88
|
-
export type { DrawerDesktopProps } from './components/Drawer/DrawerDesktop';
|
|
89
|
-
export type { DrawerMobileHandle } from './components/Drawer/DrawerMobile';
|
|
90
|
-
export type { DrawerDesktopHandle } from './components/Drawer/DrawerDesktop';
|
|
91
|
-
export type { DialogHandle } from './components/Dialog/Dialog';
|
|
92
|
-
export { useDrawerMobile } from './components/Drawer/useDrawerMobile';
|
|
93
|
-
export { useDrawerDesktop } from './components/Drawer/useDrawerDesktop';
|
|
94
|
-
export { SidebarProvider } from './components/Sidebar/hooks/SidebarProvider';
|
|
95
|
-
export { useSidebar } from './components/Sidebar/hooks/useSidebarHook';
|
|
96
|
-
export { useClickOutside } from './hooks/useClickOutside';
|
|
97
|
-
export { useIsMobile } from './hooks/useDevice';
|
|
98
|
-
export { useDialogControl } from './components/Dialog/useDialogControl';
|
|
99
|
-
export { useFileDropzone } from './components/DropZone/useFileDropzone';
|
|
100
|
-
export { SidebarProvider as SidebarRefProvider, useSidebarContext, } from './components/Sidebar/context/SidebarContext';
|
|
@@ -0,0 +1,281 @@
|
|
|
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
|
+
};
|