prometeo-design-system 3.1.5 → 3.1.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.d.ts +4 -0
- package/dist/Avatar.es.js +94 -0
- package/dist/Button.d.ts +6 -0
- package/dist/Button.es.js +400 -0
- package/dist/CardProfile-y9Knsg26.js +280 -0
- package/dist/CardProfile.d.ts +6 -0
- package/dist/CardProfile.es.js +5 -0
- package/dist/CheckBox.d.ts +6 -0
- package/dist/CheckBox.es.js +112 -0
- package/dist/DatePicker-6eb-0Ns5.js +3733 -0
- package/dist/DatePicker.d.ts +6 -0
- package/dist/DatePicker.es.js +5 -0
- package/dist/DialogModal.d.ts +6 -0
- package/dist/DialogModal.es.js +75 -0
- package/dist/DrawerDesktop.d.ts +6 -0
- package/dist/DrawerDesktop.es.js +217 -0
- package/dist/DrawerMobile.d.ts +6 -0
- package/dist/DrawerMobile.es.js +243 -0
- package/dist/DropZone.d.ts +6 -0
- package/dist/DropZone.es.js +88 -0
- package/dist/FAButton.d.ts +4 -0
- package/dist/FAButton.es.js +111 -0
- package/dist/Header.d.ts +6 -0
- package/dist/Header.es.js +32 -0
- package/dist/HelperComponent-ljsn0xD6.js +26 -0
- package/dist/Icons/AccountCircle.d.ts +6 -0
- package/dist/Icons/AccountCircle.es.js +21 -0
- package/dist/Icons/Add.d.ts +6 -0
- package/dist/Icons/Add.es.js +19 -0
- package/dist/Icons/ArrowLeft.d.ts +6 -0
- package/dist/Icons/ArrowLeft.es.js +19 -0
- package/dist/Icons/ArrowUpDown.d.ts +6 -0
- package/dist/Icons/ArrowUpDown.es.js +21 -0
- package/dist/Icons/AttachFile.d.ts +6 -0
- package/dist/Icons/AttachFile.es.js +19 -0
- package/dist/Icons/Boards.d.ts +6 -0
- package/dist/Icons/Boards.es.js +19 -0
- package/dist/Icons/Calendar.d.ts +6 -0
- package/dist/Icons/Calendar.es.js +19 -0
- package/dist/Icons/Cancel.d.ts +6 -0
- package/dist/Icons/Cancel.es.js +19 -0
- package/dist/Icons/Check.d.ts +6 -0
- package/dist/Icons/Check.es.js +19 -0
- package/dist/Icons/CheckCircle.d.ts +6 -0
- package/dist/Icons/CheckCircle.es.js +21 -0
- package/dist/Icons/CheckList.d.ts +6 -0
- package/dist/Icons/CheckList.es.js +25 -0
- package/dist/Icons/ChevronDown.d.ts +6 -0
- package/dist/Icons/ChevronDown.es.js +21 -0
- package/dist/Icons/Clock.d.ts +6 -0
- package/dist/Icons/Clock.es.js +19 -0
- package/dist/Icons/Close.d.ts +6 -0
- package/dist/Icons/Close.es.js +19 -0
- package/dist/Icons/CloseNavBarDesktop.d.ts +6 -0
- package/dist/Icons/CloseNavBarDesktop.es.js +36 -0
- package/dist/Icons/Collapse.d.ts +6 -0
- package/dist/Icons/Collapse.es.js +19 -0
- package/dist/Icons/Company.d.ts +6 -0
- package/dist/Icons/Company.es.js +25 -0
- package/dist/Icons/Copy.d.ts +6 -0
- package/dist/Icons/Copy.es.js +19 -0
- package/dist/Icons/CrevronLeft.d.ts +6 -0
- package/dist/Icons/CrevronLeft.es.js +21 -0
- package/dist/Icons/CrevronRight.d.ts +6 -0
- package/dist/Icons/CrevronRight.es.js +21 -0
- package/dist/Icons/DocumentFill.d.ts +6 -0
- package/dist/Icons/DocumentFill.es.js +27 -0
- package/dist/Icons/Download.d.ts +6 -0
- package/dist/Icons/Download.es.js +25 -0
- package/dist/Icons/Edit.d.ts +6 -0
- package/dist/Icons/Edit.es.js +19 -0
- package/dist/Icons/EditFill.d.ts +6 -0
- package/dist/Icons/EditFill.es.js +25 -0
- package/dist/Icons/Email.d.ts +6 -0
- package/dist/Icons/Email.es.js +25 -0
- package/dist/Icons/Error.d.ts +6 -0
- package/dist/Icons/Error.es.js +19 -0
- package/dist/Icons/EyeVisibility.d.ts +6 -0
- package/dist/Icons/EyeVisibility.es.js +21 -0
- package/dist/Icons/EyeVisibilityOff.d.ts +6 -0
- package/dist/Icons/EyeVisibilityOff.es.js +21 -0
- package/dist/Icons/FaLock.d.ts +6 -0
- package/dist/Icons/FaLock.es.js +19 -0
- package/dist/Icons/FastForward.d.ts +6 -0
- package/dist/Icons/FastForward.es.js +27 -0
- package/dist/Icons/File.d.ts +6 -0
- package/dist/Icons/File.es.js +25 -0
- package/dist/Icons/Filter.d.ts +6 -0
- package/dist/Icons/Filter.es.js +19 -0
- package/dist/Icons/FormatColorText.d.ts +6 -0
- package/dist/Icons/FormatColorText.es.js +26 -0
- package/dist/Icons/Help.d.ts +6 -0
- package/dist/Icons/Help.es.js +19 -0
- package/dist/Icons/HistoryActivity.d.ts +6 -0
- package/dist/Icons/HistoryActivity.es.js +21 -0
- package/dist/Icons/Home.d.ts +6 -0
- package/dist/Icons/Home.es.js +19 -0
- package/dist/Icons/Image.d.ts +6 -0
- package/dist/Icons/Image.es.js +25 -0
- package/dist/Icons/Info.d.ts +6 -0
- package/dist/Icons/Info.es.js +19 -0
- package/dist/Icons/Logout.d.ts +6 -0
- package/dist/Icons/Logout.es.js +19 -0
- package/dist/Icons/MessageSquare.d.ts +6 -0
- package/dist/Icons/MessageSquare.es.js +21 -0
- package/dist/Icons/MessageSquareFill.d.ts +6 -0
- package/dist/Icons/MessageSquareFill.es.js +27 -0
- package/dist/Icons/MoreVert.d.ts +6 -0
- package/dist/Icons/MoreVert.es.js +19 -0
- package/dist/Icons/Notifications.d.ts +6 -0
- package/dist/Icons/Notifications.es.js +21 -0
- package/dist/Icons/Pause.d.ts +6 -0
- package/dist/Icons/Pause.es.js +19 -0
- package/dist/Icons/Reassignment.d.ts +6 -0
- package/dist/Icons/Reassignment.es.js +22 -0
- package/dist/Icons/ReassignmentFill.d.ts +6 -0
- package/dist/Icons/ReassignmentFill.es.js +52 -0
- package/dist/Icons/Reload.d.ts +6 -0
- package/dist/Icons/Reload.es.js +25 -0
- package/dist/Icons/Search.d.ts +6 -0
- package/dist/Icons/Search.es.js +19 -0
- package/dist/Icons/Send.d.ts +6 -0
- package/dist/Icons/Send.es.js +24 -0
- package/dist/Icons/Settings.d.ts +6 -0
- package/dist/Icons/Settings.es.js +19 -0
- package/dist/Icons/Shared.d.ts +6 -0
- package/dist/Icons/Shared.es.js +19 -0
- package/dist/Icons/Sort.d.ts +6 -0
- package/dist/Icons/Sort.es.js +19 -0
- package/dist/Icons/Stars.d.ts +6 -0
- package/dist/Icons/Stars.es.js +19 -0
- package/dist/Icons/Ticket.d.ts +6 -0
- package/dist/Icons/Ticket.es.js +19 -0
- package/dist/Icons/TicketFilled.d.ts +6 -0
- package/dist/Icons/TicketFilled.es.js +21 -0
- package/dist/Icons/Trash.d.ts +6 -0
- package/dist/Icons/Trash.es.js +19 -0
- package/dist/Icons/TrashFill.d.ts +6 -0
- package/dist/Icons/TrashFill.es.js +25 -0
- package/dist/Icons/Upload.d.ts +6 -0
- package/dist/Icons/Upload.es.js +19 -0
- package/dist/Icons/UploadCloud.d.ts +6 -0
- package/dist/Icons/UploadCloud.es.js +21 -0
- package/dist/Icons/UserAdd.d.ts +6 -0
- package/dist/Icons/UserAdd.es.js +19 -0
- package/dist/Icons/UserAddFill.d.ts +6 -0
- package/dist/Icons/UserAddFill.es.js +27 -0
- package/dist/Icons/UserPerson.d.ts +6 -0
- package/dist/Icons/UserPerson.es.js +19 -0
- package/dist/Icons/WhatsApp.d.ts +6 -0
- package/dist/Icons/WhatsApp.es.js +76 -0
- package/dist/Icons/components/AccountCircle.d.ts +4 -0
- package/dist/Icons/components/Add.d.ts +4 -0
- package/dist/Icons/components/ArrowLeft.d.ts +4 -0
- package/dist/Icons/components/ArrowUpDown.d.ts +4 -0
- package/dist/Icons/components/AttachFile.d.ts +4 -0
- package/dist/Icons/components/Boards.d.ts +4 -0
- package/dist/Icons/components/Calendar.d.ts +4 -0
- package/dist/Icons/components/Cancel.d.ts +4 -0
- package/dist/Icons/components/Check.d.ts +4 -0
- package/dist/Icons/components/CheckCircle.d.ts +4 -0
- package/dist/Icons/components/CheckList.d.ts +4 -0
- package/dist/Icons/components/ChevronDown.d.ts +4 -0
- package/dist/Icons/components/Clock.d.ts +4 -0
- package/dist/Icons/components/Close.d.ts +4 -0
- package/dist/Icons/components/CloseNavBarDesktop.d.ts +4 -0
- package/dist/Icons/components/Collapse.d.ts +4 -0
- package/dist/Icons/components/Company.d.ts +4 -0
- package/dist/Icons/components/Copy.d.ts +4 -0
- package/dist/Icons/components/CrevronLeft.d.ts +4 -0
- package/dist/Icons/components/CrevronRight.d.ts +4 -0
- package/dist/Icons/components/DocumentFill.d.ts +4 -0
- package/dist/Icons/components/Download.d.ts +4 -0
- package/dist/Icons/components/Edit.d.ts +4 -0
- package/dist/Icons/components/EditFill.d.ts +4 -0
- package/dist/Icons/components/Email.d.ts +4 -0
- package/dist/Icons/components/Error.d.ts +4 -0
- package/dist/Icons/components/EyeVisibility.d.ts +4 -0
- package/dist/Icons/components/EyeVisibilityOff.d.ts +4 -0
- package/dist/Icons/components/FaLock.d.ts +4 -0
- package/dist/Icons/components/FastForward.d.ts +4 -0
- package/dist/Icons/components/File.d.ts +4 -0
- package/dist/Icons/components/Filter.d.ts +4 -0
- package/dist/Icons/components/FormatColorText.d.ts +4 -0
- package/dist/Icons/components/Help.d.ts +4 -0
- package/dist/Icons/components/HistoryActivity.d.ts +4 -0
- package/dist/Icons/components/Home.d.ts +4 -0
- package/dist/Icons/components/Image.d.ts +4 -0
- package/dist/Icons/components/Info.d.ts +4 -0
- package/dist/Icons/components/Logout.d.ts +4 -0
- package/dist/Icons/components/MessageSquare.d.ts +4 -0
- package/dist/Icons/components/MessageSquareFill.d.ts +4 -0
- package/dist/Icons/components/MoreVert.d.ts +4 -0
- package/dist/Icons/components/Notifications.d.ts +4 -0
- package/dist/Icons/components/Pause.d.ts +4 -0
- package/dist/Icons/components/Reassignment.d.ts +4 -0
- package/dist/Icons/components/ReassignmentFill.d.ts +4 -0
- package/dist/Icons/components/Reload.d.ts +4 -0
- package/dist/Icons/components/Search.d.ts +4 -0
- package/dist/Icons/components/Send.d.ts +4 -0
- package/dist/Icons/components/Settings.d.ts +4 -0
- package/dist/Icons/components/Shared.d.ts +4 -0
- package/dist/Icons/components/Sort.d.ts +4 -0
- package/dist/Icons/components/Stars.d.ts +4 -0
- package/dist/Icons/components/Ticket.d.ts +4 -0
- package/dist/Icons/components/TicketFilled.d.ts +4 -0
- package/dist/Icons/components/Trash.d.ts +4 -0
- package/dist/Icons/components/TrashFill.d.ts +4 -0
- package/dist/Icons/components/Upload.d.ts +4 -0
- package/dist/Icons/components/UploadCloud.d.ts +4 -0
- package/dist/Icons/components/UserAdd.d.ts +4 -0
- package/dist/Icons/components/UserAddFill.d.ts +4 -0
- package/dist/Icons/components/UserPerson.d.ts +4 -0
- package/dist/Icons/components/WhatsApp.d.ts +4 -0
- package/dist/Icons/iconUtils.d.ts +7 -0
- package/dist/Icons/index.d.ts +65 -0
- package/dist/Icons/types.d.ts +130 -0
- package/dist/Icons.d.ts +2 -0
- package/dist/Icons.es.js +128 -0
- package/dist/Image.d.ts +4 -0
- package/dist/Image.es.js +91 -0
- package/dist/ImageGallery-DG9ovlQ-.js +319 -0
- package/dist/ImageGallery.d.ts +6 -0
- package/dist/ImageGallery.es.js +23 -0
- package/dist/Input.d.ts +6 -0
- package/dist/Input.es.js +220 -0
- package/dist/InputMultiple.d.ts +6 -0
- package/dist/InputMultiple.es.js +265 -0
- package/dist/LayoutGeneric-CfWhV1ov.js +26 -0
- package/dist/LayoutGeneric.d.ts +6 -0
- package/dist/LayoutGeneric.es.js +4 -0
- package/dist/Logo.d.ts +4 -0
- package/dist/Logo.es.js +9 -0
- package/dist/Menu.d.ts +6 -0
- package/dist/Menu.es.js +77 -0
- package/dist/NotificationCard.d.ts +6 -0
- package/dist/NotificationCard.es.js +50 -0
- package/dist/OtpInput.d.ts +6 -0
- package/dist/OtpInput.es.js +302 -0
- package/dist/Pagination.d.ts +6 -0
- package/dist/Pagination.es.js +97 -0
- package/dist/ProfilePictureUpload.d.ts +6 -0
- package/dist/ProfilePictureUpload.es.js +189 -0
- package/dist/ProgressBar.d.ts +6 -0
- package/dist/ProgressBar.es.js +70 -0
- package/dist/PyrionNavigationDrawer.d.ts +6 -0
- package/dist/PyrionNavigationDrawer.es.js +962 -0
- package/dist/RadioButton.d.ts +6 -0
- package/dist/RadioButton.es.js +78 -0
- package/dist/RecurrentDatePicker.d.ts +2 -0
- package/dist/RecurrentDatePicker.es.js +694 -0
- package/dist/RecurrentDatePickerRRule.d.ts +2 -0
- package/dist/RecurrentDatePickerRRule.es.js +1682 -0
- package/dist/Scrollable.d.ts +2 -0
- package/dist/Scrollable.es.js +260 -0
- package/dist/SegmentedButton.d.ts +6 -0
- package/dist/SegmentedButton.es.js +185 -0
- package/dist/Select.d.ts +6 -0
- package/dist/Select.es.js +1061 -0
- package/dist/SelectSearch.d.ts +6 -0
- package/dist/SelectSearch.es.js +284 -0
- package/dist/Skeleton.d.ts +6 -0
- package/dist/Skeleton.es.js +74 -0
- package/dist/Spinner.d.ts +6 -0
- package/dist/Spinner.es.js +178 -0
- package/dist/Steps.d.ts +6 -0
- package/dist/Steps.es.js +214 -0
- package/dist/SwipeContainer.d.ts +4 -0
- package/dist/SwipeContainer.es.js +185 -0
- package/dist/Switch.d.ts +6 -0
- package/dist/Switch.es.js +97 -0
- package/dist/TabLinks.d.ts +4 -0
- package/dist/TabLinks.es.js +94 -0
- package/dist/Table.d.ts +2 -0
- package/dist/Table.es.js +121 -0
- package/dist/TextArea.d.ts +4 -0
- package/dist/TextArea.es.js +66 -0
- package/dist/TicketCard.d.ts +6 -0
- package/dist/TicketCard.es.js +130 -0
- package/dist/Toast.d.ts +6 -0
- package/dist/Toast.es.js +150 -0
- package/dist/ToastProvider.d.ts +6 -0
- package/dist/ToastProvider.es.js +6 -0
- package/dist/Tooltip.d.ts +6 -0
- package/dist/Tooltip.es.js +62 -0
- package/dist/assets/psmlogo.png +0 -0
- package/dist/badge-B1IK_-i5.js +87 -0
- package/dist/cn-B6yFEsav.js +8 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +20 -0
- package/dist/components/Autocomplete/useAutocomplete.d.ts +43 -0
- package/dist/components/Avatar/Avatar.d.ts +11 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +23 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Card/Card.d.ts +12 -0
- package/dist/components/CardProfile/CardProfile.d.ts +55 -0
- package/dist/components/CheckBox/CheckBox.d.ts +11 -0
- package/dist/components/DatePicker/DatePicker.d.ts +82 -0
- package/dist/components/Dialog/Dialog.d.ts +35 -0
- package/dist/components/Dialog/DialogV2.d.ts +35 -0
- package/dist/components/Dialog/useDialogControl.d.ts +8 -0
- package/dist/components/Drawer/DrawerDesktop.d.ts +21 -0
- package/dist/components/Drawer/DrawerMobile.d.ts +24 -0
- package/dist/components/Drawer/useDrawerDesktop.d.ts +8 -0
- package/dist/components/Drawer/useDrawerMobile.d.ts +8 -0
- package/dist/components/DropZone/DropZone.d.ts +16 -0
- package/dist/components/DropZone/DropzoneCompossable.d.ts +54 -0
- package/dist/components/DropZone/useFileDropzone.d.ts +21 -0
- package/dist/components/FAB/FAButton.d.ts +21 -0
- package/dist/components/FileCard/FileCard.d.ts +52 -0
- package/dist/components/Header/Header.d.ts +11 -0
- package/dist/components/Image/GalleryPreview.d.ts +8 -0
- package/dist/components/Image/Image.d.ts +23 -0
- package/dist/components/Image/ImageGallery.d.ts +18 -0
- package/dist/components/Image/LightBox.d.ts +14 -0
- package/dist/components/Image/index.d.ts +5 -0
- package/dist/components/Image/useImageGallery.d.ts +10 -0
- package/dist/components/Input/Input.d.ts +34 -0
- package/dist/components/InputMultiple/InputMultiple.d.ts +25 -0
- package/dist/components/Layout/LayoutGeneric.d.ts +6 -0
- package/dist/components/Logo/Logo.d.ts +2 -0
- package/dist/components/Menu/MenuComposable.d.ts +15 -0
- package/dist/components/NavigationDrawer/NavItemSecondary.d.ts +10 -0
- package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +49 -0
- package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +16 -0
- package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +9 -0
- package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +18 -0
- package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +30 -0
- package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +11 -0
- package/dist/components/NavigationDrawer/index.d.ts +2 -0
- package/dist/components/NotificationCard/NotificationCard.d.ts +25 -0
- package/dist/components/NotificationCard/index.d.ts +3 -0
- package/dist/components/OtpInput/OtpInput.d.ts +30 -0
- package/dist/components/Pagination/Pagination.d.ts +6 -0
- package/dist/components/ProfilePictureUpload/ProfilePictureUpload.d.ts +19 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +18 -0
- package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +8 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +130 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerMobileAppSwitcher.d.ts +10 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerSystemLogo.d.ts +7 -0
- package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +8 -0
- package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +13 -0
- package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +12 -0
- package/dist/components/PyrionNavigationDrawer/index.d.ts +3 -0
- package/dist/components/RadioButton/RadioButton.d.ts +14 -0
- package/dist/components/RecurrentDatePicker/CustomFrequencySettings.d.ts +40 -0
- package/dist/components/RecurrentDatePicker/FrequencySettings.d.ts +13 -0
- package/dist/components/RecurrentDatePicker/MonthlyFrequencySettings.d.ts +35 -0
- package/dist/components/RecurrentDatePicker/PreviewCalendar.d.ts +5 -0
- package/dist/components/RecurrentDatePicker/RecurrentDatePicker.d.ts +39 -0
- package/dist/components/RecurrentDatePicker/RecurrentDatePickerRRule.d.ts +13 -0
- package/dist/components/RecurrentDatePicker/WeekdaysSelector.d.ts +13 -0
- package/dist/components/RecurrentDatePicker/WeeklyFrequencySetting.d.ts +9 -0
- package/dist/components/RecurrentDatePicker/YearlyFrequencySettings.d.ts +21 -0
- package/dist/components/RecurrentDatePicker/recurrentDatePicker.validations.d.ts +69 -0
- package/dist/components/Scrollable/Scrollable.d.ts +31 -0
- package/dist/components/SegmentedButton/SegmentedButton.d.ts +20 -0
- package/dist/components/Select/Select.d.ts +123 -0
- package/dist/components/SelectSearch/SelectSearch.d.ts +40 -0
- package/dist/components/Shared/Chip.d.ts +15 -0
- package/dist/components/Shared/HelperComponent.d.ts +13 -0
- package/dist/components/Sidebar/SecondaryBar/SecondaryBar.d.ts +32 -0
- package/dist/components/Sidebar/SecondaryBar/hooks/useSecondaryBarAnimation.d.ts +2 -0
- package/dist/components/Sidebar/SecondaryBar/index.d.ts +1 -0
- package/dist/components/Sidebar/SidebarComposable.d.ts +43 -0
- package/dist/components/Sidebar/components/NavigationLink.d.ts +11 -0
- package/dist/components/Sidebar/components/badge.d.ts +10 -0
- package/dist/components/Sidebar/components/changue-account.d.ts +5 -0
- package/dist/components/Sidebar/components/collapse-button.d.ts +5 -0
- package/dist/components/Sidebar/components/company-logo.d.ts +5 -0
- package/dist/components/Sidebar/components/nav-actions.d.ts +7 -0
- package/dist/components/Sidebar/components/nav-links.d.ts +7 -0
- package/dist/components/Sidebar/context/SidebarContext.d.ts +13 -0
- package/dist/components/Sidebar/hooks/SidebarProvider.d.ts +3 -0
- package/dist/components/Sidebar/hooks/useNavBarActions.d.ts +9 -0
- package/dist/components/Sidebar/hooks/useNavBarCollapse.d.ts +4 -0
- package/dist/components/Sidebar/hooks/useNavLinks.d.ts +32 -0
- package/dist/components/Sidebar/hooks/useSidebarHook.d.ts +13 -0
- package/dist/components/Sidebar/index.d.ts +12 -0
- package/dist/components/Sidebar/ui/useNavbarAnimation.d.ts +2 -0
- package/dist/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/components/Spinner/Spinner.d.ts +12 -0
- package/dist/components/Steps/Steps.d.ts +21 -0
- package/dist/components/SwipeContainer/SwipeContainer.d.ts +19 -0
- package/dist/components/Switch/Switch.d.ts +11 -0
- package/dist/components/TabLinks/TabLinks.d.ts +23 -0
- package/dist/components/TabSwitch/TabSwitch.d.ts +16 -0
- package/dist/components/Table/Table.d.ts +14 -0
- package/dist/components/Table/TableWithPagination.d.ts +11 -0
- package/dist/components/TextArea/TextArea.d.ts +15 -0
- package/dist/components/TicketCard/TicketCard.d.ts +32 -0
- package/dist/components/TicketCard/index.d.ts +3 -0
- package/dist/components/Toaster/ToastProvider.d.ts +5 -0
- package/dist/components/Toaster/Toaster.d.ts +36 -0
- package/dist/components/Tooltip/Tootip.d.ts +10 -0
- package/dist/components/UserCard/UserCard.d.ts +12 -0
- package/dist/exports/Autocomplete.d.ts +1 -0
- package/dist/exports/Avatar.d.ts +1 -0
- package/dist/exports/Button.d.ts +2 -0
- package/dist/exports/CardProfile.d.ts +3 -0
- package/dist/exports/CheckBox.d.ts +2 -0
- package/dist/exports/DatePicker.d.ts +3 -0
- package/dist/exports/DialogModal.d.ts +2 -0
- package/dist/exports/DrawerDesktop.d.ts +4 -0
- package/dist/exports/DrawerMobile.d.ts +4 -0
- package/dist/exports/DropZone.d.ts +3 -0
- package/dist/exports/FAButton.d.ts +1 -0
- package/dist/exports/Header.d.ts +2 -0
- package/dist/exports/Icons.d.ts +1 -0
- package/dist/exports/Image.d.ts +1 -0
- package/dist/exports/ImageGallery.d.ts +2 -0
- package/dist/exports/Input.d.ts +2 -0
- package/dist/exports/InputMultiple.d.ts +3 -0
- package/dist/exports/LayoutGeneric.d.ts +2 -0
- package/dist/exports/Logo.d.ts +1 -0
- package/dist/exports/Menu.d.ts +3 -0
- package/dist/exports/NotificationCard.d.ts +2 -0
- package/dist/exports/OtpInput.d.ts +2 -0
- package/dist/exports/Pagination.d.ts +2 -0
- package/dist/exports/ProfilePictureUpload.d.ts +3 -0
- package/dist/exports/ProgressBar.d.ts +2 -0
- package/dist/exports/PyrionNavigationDrawer.d.ts +2 -0
- package/dist/exports/RadioButton.d.ts +3 -0
- package/dist/exports/RecurrentDatePicker.d.ts +5 -0
- package/dist/exports/RecurrentDatePickerRRule.d.ts +2 -0
- package/dist/exports/Scrollable.d.ts +2 -0
- package/dist/exports/SegmentedButton.d.ts +3 -0
- package/dist/exports/Select.d.ts +5 -0
- package/dist/exports/SelectSearch.d.ts +3 -0
- package/dist/exports/Skeleton.d.ts +3 -0
- package/dist/exports/Spinner.d.ts +3 -0
- package/dist/exports/Steps.d.ts +3 -0
- package/dist/exports/SwipeContainer.d.ts +1 -0
- package/dist/exports/Switch.d.ts +3 -0
- package/dist/exports/TabLinks.d.ts +1 -0
- package/dist/exports/Table.d.ts +1 -0
- package/dist/exports/TextArea.d.ts +1 -0
- package/dist/exports/TicketCard.d.ts +2 -0
- package/dist/exports/Toast.d.ts +3 -0
- package/dist/exports/ToastProvider.d.ts +2 -0
- package/dist/exports/Tooltip.d.ts +2 -0
- package/dist/exports/useDevice.d.ts +1 -0
- package/dist/exports/usePyrionNavigation.d.ts +1 -0
- package/dist/hooks/useClickOutside.d.ts +8 -0
- package/dist/hooks/useDevice.d.ts +1 -0
- package/dist/hooks/useDragScroll.d.ts +29 -0
- package/dist/hooks/useLabelBackground.d.ts +6 -0
- package/dist/iconUtils-D0lVAgGT.js +5 -0
- package/dist/index-BOQuZ0gG.js +34 -0
- package/dist/index.d.ts +104 -0
- package/dist/jsx-runtime-GkKLlHH4.js +263 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/prometeo-design-system.es.js +918 -0
- package/dist/styles.css +1 -0
- package/dist/styles.d.ts +1 -0
- package/dist/useDevice.d.ts +2 -0
- package/dist/useDevice.es.js +13 -0
- package/dist/useDragScroll-CHN9OMwn.js +165 -0
- package/dist/useLabelBackground-BDIHUdND.js +26 -0
- package/dist/usePyrionNavigation.d.ts +4 -0
- package/dist/usePyrionNavigation.es.js +4 -0
- package/dist/utils-X4-h3cum.js +54 -0
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,918 @@
|
|
|
1
|
+
import { default as ke } from "./Avatar.es.js";
|
|
2
|
+
import { default as Be } from "./Button.es.js";
|
|
3
|
+
import { C as Le, a as Pe } from "./CardProfile-y9Knsg26.js";
|
|
4
|
+
import { default as Ae } from "./CheckBox.es.js";
|
|
5
|
+
import { default as De, useDialogControl as ze } from "./DialogModal.es.js";
|
|
6
|
+
import { default as Oe, useDrawerDesktop as He } from "./DrawerDesktop.es.js";
|
|
7
|
+
import { default as $e, useDrawerMobile as Me } from "./DrawerMobile.es.js";
|
|
8
|
+
import { default as Ue } from "./Header.es.js";
|
|
9
|
+
import { default as Ve } from "./Input.es.js";
|
|
10
|
+
import { default as Xe } from "./InputMultiple.es.js";
|
|
11
|
+
import { default as Je } from "./Logo.es.js";
|
|
12
|
+
import { default as Qe } from "./Menu.es.js";
|
|
13
|
+
import { default as et } from "./Pagination.es.js";
|
|
14
|
+
import { default as rt } from "./ProfilePictureUpload.es.js";
|
|
15
|
+
import { default as ot } from "./ProgressBar.es.js";
|
|
16
|
+
import { default as it } from "./Select.es.js";
|
|
17
|
+
import { default as lt } from "./Spinner.es.js";
|
|
18
|
+
import { default as ut } from "./Steps.es.js";
|
|
19
|
+
import { default as ft } from "./SwipeContainer.es.js";
|
|
20
|
+
import { default as mt } from "./Switch.es.js";
|
|
21
|
+
import { D as bt } from "./DatePicker-6eb-0Ns5.js";
|
|
22
|
+
import { RecurrentDatePicker as vt } from "./RecurrentDatePicker.es.js";
|
|
23
|
+
import { RecurrentDatePickerRRule as gt } from "./RecurrentDatePickerRRule.es.js";
|
|
24
|
+
import { Table as jt, TableBody as Nt, TableCaption as St, TableCell as Ct, TableFooter as kt, TableHead as It, TableHeader as Bt, TableRow as Rt } from "./Table.es.js";
|
|
25
|
+
import { default as Pt } from "./TabLinks.es.js";
|
|
26
|
+
import { default as At } from "./TextArea.es.js";
|
|
27
|
+
import { default as Dt } from "./Tooltip.es.js";
|
|
28
|
+
import { default as Et } from "./Skeleton.es.js";
|
|
29
|
+
import { default as Ht } from "./SegmentedButton.es.js";
|
|
30
|
+
import { u as C } from "./LayoutGeneric-CfWhV1ov.js";
|
|
31
|
+
import { L as $t, S as Mt } from "./LayoutGeneric-CfWhV1ov.js";
|
|
32
|
+
import { I as Ut } from "./ImageGallery-DG9ovlQ-.js";
|
|
33
|
+
import { default as Vt } from "./Image.es.js";
|
|
34
|
+
import { default as Xt, toastpyrion as Zt } from "./Toast.es.js";
|
|
35
|
+
import { default as Kt } from "./ToastProvider.es.js";
|
|
36
|
+
import { default as Yt } from "./SelectSearch.es.js";
|
|
37
|
+
import { default as tr } from "./FAButton.es.js";
|
|
38
|
+
import { default as ar } from "./RadioButton.es.js";
|
|
39
|
+
import { j as r } from "./jsx-runtime-GkKLlHH4.js";
|
|
40
|
+
import { c } from "./cn-B6yFEsav.js";
|
|
41
|
+
import P, { useRef as v, useState as w, useLayoutEffect as q, createContext as A, useContext as T, forwardRef as k, useCallback as D, useEffect as j } from "react";
|
|
42
|
+
import { useGSAP as I } from "@gsap/react";
|
|
43
|
+
import d from "gsap";
|
|
44
|
+
import { T as z, B } from "./badge-B1IK_-i5.js";
|
|
45
|
+
import { CloseNavBarDesktop as h } from "./Icons/CloseNavBarDesktop.es.js";
|
|
46
|
+
import { motion as b, AnimatePresence as E } from "framer-motion";
|
|
47
|
+
import { default as nr } from "./OtpInput.es.js";
|
|
48
|
+
import { useDropzone as O } from "react-dropzone";
|
|
49
|
+
import { useIsMobile as sr } from "./useDevice.es.js";
|
|
50
|
+
import { default as cr } from "./DropZone.es.js";
|
|
51
|
+
const H = (t, e) => {
|
|
52
|
+
I(
|
|
53
|
+
() => {
|
|
54
|
+
if (!t.current) return;
|
|
55
|
+
const a = t.current, o = document.querySelector('[data-main-content="true"]');
|
|
56
|
+
if (e) {
|
|
57
|
+
d.fromTo(
|
|
58
|
+
a,
|
|
59
|
+
{
|
|
60
|
+
width: "0rem",
|
|
61
|
+
opacity: 0
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
width: "40rem",
|
|
65
|
+
opacity: 1,
|
|
66
|
+
duration: 0.4,
|
|
67
|
+
ease: "power2.out"
|
|
68
|
+
}
|
|
69
|
+
), o && d.to(o, {
|
|
70
|
+
marginLeft: a.offsetWidth + "px",
|
|
71
|
+
duration: 0.4,
|
|
72
|
+
ease: "power2.out"
|
|
73
|
+
});
|
|
74
|
+
const n = a.querySelectorAll(".secondary-bar-content > *");
|
|
75
|
+
n.length > 0 && d.fromTo(
|
|
76
|
+
n,
|
|
77
|
+
{
|
|
78
|
+
y: 20,
|
|
79
|
+
opacity: 0
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
y: 0,
|
|
83
|
+
opacity: 1,
|
|
84
|
+
duration: 0.3,
|
|
85
|
+
stagger: 0.05,
|
|
86
|
+
delay: 0.1,
|
|
87
|
+
ease: "power1.out"
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
} else
|
|
91
|
+
d.to(a, {
|
|
92
|
+
width: "0rem",
|
|
93
|
+
opacity: 0,
|
|
94
|
+
duration: 0.3,
|
|
95
|
+
ease: "power2.in"
|
|
96
|
+
}), o && d.to(o, {
|
|
97
|
+
marginLeft: "0px",
|
|
98
|
+
duration: 0.3,
|
|
99
|
+
ease: "power2.in"
|
|
100
|
+
});
|
|
101
|
+
},
|
|
102
|
+
{ scope: t, dependencies: [e] }
|
|
103
|
+
);
|
|
104
|
+
}, S = ({
|
|
105
|
+
children: t,
|
|
106
|
+
isOpen: e = !1,
|
|
107
|
+
className: a = "",
|
|
108
|
+
width: o = "w-96",
|
|
109
|
+
action: n,
|
|
110
|
+
primarySidebarCollapsed: i,
|
|
111
|
+
onClose: s
|
|
112
|
+
}) => {
|
|
113
|
+
const l = v(null), [x, f] = w({ left: 0, width: 0 }), { primarySidebarRef: u, tabBarRef: p } = C();
|
|
114
|
+
return q(() => {
|
|
115
|
+
if (u?.current && p?.current) {
|
|
116
|
+
const m = u.current.getBoundingClientRect();
|
|
117
|
+
f({
|
|
118
|
+
left: m.width + p.current.offsetWidth,
|
|
119
|
+
width: m.width
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
}, [u, e, i, p]), H(l, e), /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
123
|
+
/* @__PURE__ */ r.jsx(
|
|
124
|
+
"div",
|
|
125
|
+
{
|
|
126
|
+
className: "fixed inset-0 bg-black/95 z-40",
|
|
127
|
+
style: {
|
|
128
|
+
left: x.left
|
|
129
|
+
},
|
|
130
|
+
onClick: s
|
|
131
|
+
}
|
|
132
|
+
),
|
|
133
|
+
/* @__PURE__ */ r.jsx(
|
|
134
|
+
"div",
|
|
135
|
+
{
|
|
136
|
+
ref: l,
|
|
137
|
+
className: c(
|
|
138
|
+
"h-screen bg-neutral-default-default border-r border-neutral-strong-default flex flex-col secondary-bar shrink-0",
|
|
139
|
+
"absolute top-0 z-50",
|
|
140
|
+
o,
|
|
141
|
+
a
|
|
142
|
+
),
|
|
143
|
+
style: {
|
|
144
|
+
left: x.left
|
|
145
|
+
},
|
|
146
|
+
"data-action": n,
|
|
147
|
+
children: /* @__PURE__ */ r.jsx("div", { className: "secondary-bar-content", children: t })
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
] }) });
|
|
151
|
+
}, W = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: c("h-16 ", e), children: t }), $ = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: c("flex-1 overflow-y-auto p-4", e), children: t }), M = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: c("p-4 border-t border-neutral-strong-default", e), children: t }), F = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: c("flex-1", t) }), fe = Object.assign(S, {
|
|
152
|
+
Root: S,
|
|
153
|
+
Header: W,
|
|
154
|
+
Content: $,
|
|
155
|
+
Footer: M,
|
|
156
|
+
Spacer: F
|
|
157
|
+
}), R = A(
|
|
158
|
+
void 0
|
|
159
|
+
), pe = () => {
|
|
160
|
+
const t = T(R);
|
|
161
|
+
if (!t)
|
|
162
|
+
throw new Error("useSidebar must be used within a Sidebar.Root");
|
|
163
|
+
return t;
|
|
164
|
+
}, U = ({
|
|
165
|
+
children: t
|
|
166
|
+
}) => {
|
|
167
|
+
const [e, a] = w(!1), [o, n] = w(!1), i = v(null), s = () => {
|
|
168
|
+
a(!1), n(!1);
|
|
169
|
+
}, l = () => {
|
|
170
|
+
a(!0), n(!1);
|
|
171
|
+
}, m = {
|
|
172
|
+
isCollapsed: e,
|
|
173
|
+
setIsCollapsed: a,
|
|
174
|
+
navbarRef: i,
|
|
175
|
+
toggleCollapse: () => {
|
|
176
|
+
e ? s() : l();
|
|
177
|
+
},
|
|
178
|
+
activeSecondaryBar: o ? "notifications" : null,
|
|
179
|
+
openSecondaryBar: () => {
|
|
180
|
+
n(!0);
|
|
181
|
+
},
|
|
182
|
+
closeSecondaryBar: () => {
|
|
183
|
+
n(!1);
|
|
184
|
+
},
|
|
185
|
+
toggleSecondaryBar: () => {
|
|
186
|
+
n((y) => !y);
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
return /* @__PURE__ */ r.jsx(R.Provider, { value: m, children: t });
|
|
190
|
+
}, g = (t, e, a, o) => e && (Array.isArray(e) ? e.length > 0 : e) ? t.to(e, a, o) : t, G = (t, e, a) => {
|
|
191
|
+
I(
|
|
192
|
+
() => {
|
|
193
|
+
if (!t.current) return;
|
|
194
|
+
const o = d.timeline({
|
|
195
|
+
defaults: { duration: 0.7, ease: "power1.out" }
|
|
196
|
+
}), n = {
|
|
197
|
+
navbar: t.current,
|
|
198
|
+
navLabels: d.utils.toArray(".nav-label"),
|
|
199
|
+
navIconWrappers: d.utils.toArray(".nav-icon-wrapper"),
|
|
200
|
+
navIcons: d.utils.toArray(".nav-icon"),
|
|
201
|
+
navLinkItems: d.utils.toArray(".nav-link-item"),
|
|
202
|
+
logoutButton: document.querySelector(".logout-button"),
|
|
203
|
+
logoutLabel: document.querySelector(".logout-label"),
|
|
204
|
+
logoutIcon: document.querySelector(".logout-icon"),
|
|
205
|
+
profileContainer: document.querySelector(".profile-container"),
|
|
206
|
+
profileName: document.querySelector(".profile-name"),
|
|
207
|
+
profileOptions: document.querySelector(".profile-options"),
|
|
208
|
+
profileImageWrapper: document.querySelector(".profile-image-wrapper"),
|
|
209
|
+
coverImageProfile: document.querySelector(".cover-image-profile"),
|
|
210
|
+
navContentWrapper: document.querySelector(
|
|
211
|
+
".nav-content-wrapper-active"
|
|
212
|
+
),
|
|
213
|
+
buttonCrevron: document.querySelector(".button-select-crevron"),
|
|
214
|
+
separatorProfile: document.querySelector(".border-separator-profile"),
|
|
215
|
+
buttonProfile: document.querySelector(".button-profile"),
|
|
216
|
+
profileUserInfo: document.querySelector(".profile-user-info"),
|
|
217
|
+
buttonContentChevron: document.querySelector(".button-content-chevron"),
|
|
218
|
+
logo: {
|
|
219
|
+
contenedor: document.querySelector(".container-logo"),
|
|
220
|
+
icon: document.querySelector(".icon-logo"),
|
|
221
|
+
text: document.querySelector(".text-logo")
|
|
222
|
+
},
|
|
223
|
+
sidebarHeader: document.querySelector(".sidebar-header"),
|
|
224
|
+
containerIconcollapsade: document.querySelector(
|
|
225
|
+
".container-icon-collapsade"
|
|
226
|
+
),
|
|
227
|
+
// Secondary bar elements
|
|
228
|
+
secondaryBar: document.querySelector(".secondary-bar"),
|
|
229
|
+
secondaryBarContent: d.utils.toArray(".secondary-bar *"),
|
|
230
|
+
badgeInLink: d.utils.toArray(".badge-in-link")
|
|
231
|
+
};
|
|
232
|
+
e ? V(o, n) : _(o, n), n.secondaryBar && X(n.secondaryBar);
|
|
233
|
+
},
|
|
234
|
+
{ scope: t, dependencies: [e, a] }
|
|
235
|
+
);
|
|
236
|
+
}, V = (t, e) => {
|
|
237
|
+
t.to(e.navbar, {
|
|
238
|
+
width: "5rem",
|
|
239
|
+
duration: 0.2,
|
|
240
|
+
ease: "bounce.out"
|
|
241
|
+
}).to(
|
|
242
|
+
e.logo.contenedor,
|
|
243
|
+
{
|
|
244
|
+
height: 48,
|
|
245
|
+
width: 48,
|
|
246
|
+
minWidth: 48,
|
|
247
|
+
ease: "bounce.out"
|
|
248
|
+
},
|
|
249
|
+
-1
|
|
250
|
+
).to(
|
|
251
|
+
e.logo.text,
|
|
252
|
+
{
|
|
253
|
+
opacity: 0,
|
|
254
|
+
scale: 0.8,
|
|
255
|
+
duration: 0.5,
|
|
256
|
+
ease: "back.in(1.2)"
|
|
257
|
+
},
|
|
258
|
+
-1
|
|
259
|
+
).set(e.logo.text, {
|
|
260
|
+
display: "none"
|
|
261
|
+
}).to(
|
|
262
|
+
e.sidebarHeader,
|
|
263
|
+
{
|
|
264
|
+
justifyContent: "center",
|
|
265
|
+
display: "flex"
|
|
266
|
+
},
|
|
267
|
+
-1
|
|
268
|
+
).to(e.logo.icon, {
|
|
269
|
+
keyframes: {
|
|
270
|
+
"0%": { scale: 1 },
|
|
271
|
+
"33%": { scale: 1.5 },
|
|
272
|
+
"66%": { scale: 0.5 },
|
|
273
|
+
"100%": { scale: 1 }
|
|
274
|
+
},
|
|
275
|
+
duration: 0.6,
|
|
276
|
+
ease: "power1.inOut"
|
|
277
|
+
}).to(
|
|
278
|
+
e.navLinkItems,
|
|
279
|
+
{
|
|
280
|
+
justifyContent: "center",
|
|
281
|
+
alignItems: "center",
|
|
282
|
+
width: "3rem",
|
|
283
|
+
height: "3rem",
|
|
284
|
+
display: "flex"
|
|
285
|
+
},
|
|
286
|
+
-1
|
|
287
|
+
).to(
|
|
288
|
+
e.navLabels,
|
|
289
|
+
{
|
|
290
|
+
opacity: 0,
|
|
291
|
+
width: 30,
|
|
292
|
+
marginLeft: 0
|
|
293
|
+
},
|
|
294
|
+
0
|
|
295
|
+
).to(e.navIcons, { scale: 0.95, ease: "elastic.out(1, 0.3)" }, 0), g(
|
|
296
|
+
t,
|
|
297
|
+
e.buttonCrevron,
|
|
298
|
+
{
|
|
299
|
+
width: 0,
|
|
300
|
+
opacity: 0,
|
|
301
|
+
duration: 0.7,
|
|
302
|
+
ease: "power1.out",
|
|
303
|
+
onComplete: () => {
|
|
304
|
+
e.buttonCrevron.style.display = "none";
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
0
|
|
308
|
+
), g(
|
|
309
|
+
t,
|
|
310
|
+
e.buttonContentChevron,
|
|
311
|
+
{
|
|
312
|
+
display: "none"
|
|
313
|
+
},
|
|
314
|
+
-1
|
|
315
|
+
).to(
|
|
316
|
+
e.separatorProfile,
|
|
317
|
+
{
|
|
318
|
+
display: "none"
|
|
319
|
+
},
|
|
320
|
+
-1
|
|
321
|
+
).to(
|
|
322
|
+
e.profileUserInfo,
|
|
323
|
+
{
|
|
324
|
+
display: "none"
|
|
325
|
+
},
|
|
326
|
+
-1
|
|
327
|
+
).to(
|
|
328
|
+
e.navLinkItems,
|
|
329
|
+
{
|
|
330
|
+
borderRadius: "8px",
|
|
331
|
+
duration: 0.7,
|
|
332
|
+
ease: "power1.out"
|
|
333
|
+
},
|
|
334
|
+
0.8
|
|
335
|
+
).to(
|
|
336
|
+
e.profileImageWrapper,
|
|
337
|
+
{
|
|
338
|
+
width: 52,
|
|
339
|
+
height: 52,
|
|
340
|
+
marginLeft: 0,
|
|
341
|
+
marginRight: 0
|
|
342
|
+
},
|
|
343
|
+
-1
|
|
344
|
+
).to(
|
|
345
|
+
e.buttonProfile,
|
|
346
|
+
{
|
|
347
|
+
height: 44,
|
|
348
|
+
width: 58,
|
|
349
|
+
margin: 0,
|
|
350
|
+
padding: 0,
|
|
351
|
+
borderRadius: "60px",
|
|
352
|
+
duration: 0.3,
|
|
353
|
+
ease: "power2.out",
|
|
354
|
+
display: "flex",
|
|
355
|
+
justifyContent: "center",
|
|
356
|
+
alignItems: "center"
|
|
357
|
+
},
|
|
358
|
+
-1
|
|
359
|
+
).to(
|
|
360
|
+
e.containerIconcollapsade,
|
|
361
|
+
{
|
|
362
|
+
justifyContent: "center",
|
|
363
|
+
marginRight: 0
|
|
364
|
+
},
|
|
365
|
+
"=-1"
|
|
366
|
+
).to(
|
|
367
|
+
e.badgeInLink,
|
|
368
|
+
{
|
|
369
|
+
position: "absolute",
|
|
370
|
+
right: 1,
|
|
371
|
+
top: -7
|
|
372
|
+
},
|
|
373
|
+
-1
|
|
374
|
+
);
|
|
375
|
+
}, _ = (t, e) => {
|
|
376
|
+
t.to(e.navbar, { width: "20rem" }, -1).to(
|
|
377
|
+
e.navLinkItems,
|
|
378
|
+
{
|
|
379
|
+
borderRadius: "10px",
|
|
380
|
+
duration: 0.3,
|
|
381
|
+
width: "100%",
|
|
382
|
+
justifyContent: "flex-start"
|
|
383
|
+
},
|
|
384
|
+
-1
|
|
385
|
+
), g(
|
|
386
|
+
t,
|
|
387
|
+
e.buttonCrevron,
|
|
388
|
+
{
|
|
389
|
+
width: "auto",
|
|
390
|
+
opacity: 1,
|
|
391
|
+
duration: 0,
|
|
392
|
+
ease: "power1.out",
|
|
393
|
+
onComplete: () => {
|
|
394
|
+
e.buttonCrevron.style.display = "flex";
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
0
|
|
398
|
+
), g(
|
|
399
|
+
t,
|
|
400
|
+
e.buttonContentChevron,
|
|
401
|
+
{
|
|
402
|
+
display: "flex"
|
|
403
|
+
},
|
|
404
|
+
0
|
|
405
|
+
).to(
|
|
406
|
+
e.logo.contenedor,
|
|
407
|
+
{
|
|
408
|
+
width: 185,
|
|
409
|
+
height: 48,
|
|
410
|
+
minWidth: 185
|
|
411
|
+
},
|
|
412
|
+
-1
|
|
413
|
+
).set(
|
|
414
|
+
e.logo.text,
|
|
415
|
+
{
|
|
416
|
+
display: "flex"
|
|
417
|
+
},
|
|
418
|
+
-1
|
|
419
|
+
).to(e.logo.text, {
|
|
420
|
+
opacity: 1,
|
|
421
|
+
duration: 0,
|
|
422
|
+
ease: "back.in(1)"
|
|
423
|
+
}).to(e.logo.icon, {
|
|
424
|
+
keyframes: {
|
|
425
|
+
"0%": { scale: 1 },
|
|
426
|
+
"33%": { scale: 1.5 },
|
|
427
|
+
"66%": { scale: 0.5 },
|
|
428
|
+
"100%": { scale: 1 }
|
|
429
|
+
},
|
|
430
|
+
duration: 0.3,
|
|
431
|
+
ease: "power1.inOut"
|
|
432
|
+
}).to(
|
|
433
|
+
e.sidebarHeader,
|
|
434
|
+
{
|
|
435
|
+
justifyContent: "start",
|
|
436
|
+
display: "flex"
|
|
437
|
+
},
|
|
438
|
+
-1
|
|
439
|
+
).to(
|
|
440
|
+
e.profileImageWrapper,
|
|
441
|
+
{
|
|
442
|
+
marginRight: 0,
|
|
443
|
+
duration: 0.2,
|
|
444
|
+
ease: "bounce.out"
|
|
445
|
+
},
|
|
446
|
+
-1
|
|
447
|
+
).to(
|
|
448
|
+
e.containerIconcollapsade,
|
|
449
|
+
{
|
|
450
|
+
justifyContent: "end",
|
|
451
|
+
marginRight: 20
|
|
452
|
+
},
|
|
453
|
+
-1
|
|
454
|
+
).to(
|
|
455
|
+
e.separatorProfile,
|
|
456
|
+
{
|
|
457
|
+
display: "flex"
|
|
458
|
+
},
|
|
459
|
+
0
|
|
460
|
+
).to(
|
|
461
|
+
e.badgeInLink,
|
|
462
|
+
{
|
|
463
|
+
position: "static",
|
|
464
|
+
right: "auto",
|
|
465
|
+
top: "auto",
|
|
466
|
+
display: "flex",
|
|
467
|
+
justifyContent: "end",
|
|
468
|
+
alignItems: "center"
|
|
469
|
+
},
|
|
470
|
+
-1
|
|
471
|
+
).to(
|
|
472
|
+
e.buttonProfile,
|
|
473
|
+
{
|
|
474
|
+
borderTopLeftRadius: "0.375rem",
|
|
475
|
+
borderBottomLeftRadius: "0.375rem",
|
|
476
|
+
borderTopRightRadius: "0",
|
|
477
|
+
borderBottomRightRadius: "0",
|
|
478
|
+
duration: 0
|
|
479
|
+
},
|
|
480
|
+
-1
|
|
481
|
+
).to(
|
|
482
|
+
e.separatorProfile,
|
|
483
|
+
{
|
|
484
|
+
display: "flex"
|
|
485
|
+
},
|
|
486
|
+
0
|
|
487
|
+
).to(
|
|
488
|
+
e.navLabels,
|
|
489
|
+
{
|
|
490
|
+
opacity: 1,
|
|
491
|
+
width: "auto",
|
|
492
|
+
scaleX: 1
|
|
493
|
+
},
|
|
494
|
+
0
|
|
495
|
+
).to(
|
|
496
|
+
e.profileUserInfo,
|
|
497
|
+
{
|
|
498
|
+
display: "flex",
|
|
499
|
+
ease: "fade.in"
|
|
500
|
+
},
|
|
501
|
+
0
|
|
502
|
+
).to(e.navIcons, { scale: 1 }, 0.3);
|
|
503
|
+
}, X = (t, e) => {
|
|
504
|
+
d.to(t, {
|
|
505
|
+
x: "-100%",
|
|
506
|
+
opacity: 0,
|
|
507
|
+
duration: 0.3,
|
|
508
|
+
ease: "power2.in"
|
|
509
|
+
});
|
|
510
|
+
}, Z = k(
|
|
511
|
+
({ children: t, isCollapsed: e = !1, className: a = "", tabs: o = [], currentTabName: n }, i) => {
|
|
512
|
+
const s = v(null), l = v(null), { registerPrimarySidebar: x, registerTabBar: f } = C(), u = D((p) => {
|
|
513
|
+
s.current = p, typeof i == "function" ? i(p) : i && (i.current = p);
|
|
514
|
+
}, [i]);
|
|
515
|
+
return j(() => {
|
|
516
|
+
s.current && x(s);
|
|
517
|
+
}, [x]), j(() => {
|
|
518
|
+
l.current && f(l);
|
|
519
|
+
}, [f]), G(s, e, !1), /* @__PURE__ */ r.jsxs(
|
|
520
|
+
"div",
|
|
521
|
+
{
|
|
522
|
+
className: c(
|
|
523
|
+
"flex"
|
|
524
|
+
),
|
|
525
|
+
children: [
|
|
526
|
+
o.length > 0 && /* @__PURE__ */ r.jsx(
|
|
527
|
+
z,
|
|
528
|
+
{
|
|
529
|
+
tabs: o,
|
|
530
|
+
ref: l,
|
|
531
|
+
activeColor: "var(--neutral-900)",
|
|
532
|
+
currentTabName: n
|
|
533
|
+
}
|
|
534
|
+
),
|
|
535
|
+
/* @__PURE__ */ r.jsx(
|
|
536
|
+
"div",
|
|
537
|
+
{
|
|
538
|
+
ref: u,
|
|
539
|
+
className: `bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 shrink-0
|
|
540
|
+
${e ? "w-16" : "w-64"} ${a}`,
|
|
541
|
+
children: t
|
|
542
|
+
}
|
|
543
|
+
)
|
|
544
|
+
]
|
|
545
|
+
}
|
|
546
|
+
);
|
|
547
|
+
}
|
|
548
|
+
), N = k(
|
|
549
|
+
(t, e) => /* @__PURE__ */ r.jsx(U, { children: /* @__PURE__ */ r.jsx(Z, { ...t, ref: e }) })
|
|
550
|
+
);
|
|
551
|
+
N.displayName = "SidebarRoot";
|
|
552
|
+
const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("div", { className: c("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", t && ""), children: /* @__PURE__ */ r.jsx(
|
|
553
|
+
"button",
|
|
554
|
+
{
|
|
555
|
+
type: "button",
|
|
556
|
+
onClick: e,
|
|
557
|
+
title: t ? "Expandir Navbar" : "Contraer Navbar",
|
|
558
|
+
"aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
|
|
559
|
+
className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
|
|
560
|
+
children: t ? /* @__PURE__ */ r.jsx(h, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(h, { size: 24, className: "rotate-0 transition-transform duration-300" })
|
|
561
|
+
}
|
|
562
|
+
) }), K = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: `${e} sidebar-header`, children: t }), Q = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: c("px-3 flex justify-center items-center w-full mb-4", t), children: /* @__PURE__ */ r.jsx("div", { className: "border-b border-neutral-strong-default border w-full" }) }), Y = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), ee = ({ className: t, size: e = "auto" }) => {
|
|
563
|
+
const a = () => {
|
|
564
|
+
switch (e) {
|
|
565
|
+
case "auto":
|
|
566
|
+
return "flex-grow";
|
|
567
|
+
case "small":
|
|
568
|
+
return "h-2 w-2";
|
|
569
|
+
case "medium":
|
|
570
|
+
return "h-4 w-4";
|
|
571
|
+
case "large":
|
|
572
|
+
return "h-8 w-8";
|
|
573
|
+
}
|
|
574
|
+
};
|
|
575
|
+
return /* @__PURE__ */ r.jsx("div", { className: c(a(), t) });
|
|
576
|
+
}, te = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), me = Object.assign(N, {
|
|
577
|
+
Root: N,
|
|
578
|
+
CollapseButton: J,
|
|
579
|
+
Header: K,
|
|
580
|
+
Divider: Q,
|
|
581
|
+
Content: Y,
|
|
582
|
+
Spacer: ee,
|
|
583
|
+
Footer: te
|
|
584
|
+
}), xe = ({
|
|
585
|
+
children: t,
|
|
586
|
+
icon: e,
|
|
587
|
+
label: a,
|
|
588
|
+
href: o,
|
|
589
|
+
onClick: n,
|
|
590
|
+
isActive: i = !1,
|
|
591
|
+
className: s
|
|
592
|
+
}) => {
|
|
593
|
+
const l = o ? "a" : "button";
|
|
594
|
+
return /* @__PURE__ */ r.jsxs(
|
|
595
|
+
l,
|
|
596
|
+
{
|
|
597
|
+
href: o,
|
|
598
|
+
onClick: n,
|
|
599
|
+
className: c(
|
|
600
|
+
"nav-link-item",
|
|
601
|
+
"flex items-center w-full px-3 py-2 text-left",
|
|
602
|
+
"hover:bg-neutral-medium-default transition-colors rounded-lg",
|
|
603
|
+
"focus:outline-none focus:ring-2 focus:ring-primary-default-default",
|
|
604
|
+
i && "bg-neutral-medium-default",
|
|
605
|
+
s
|
|
606
|
+
),
|
|
607
|
+
children: [
|
|
608
|
+
e && /* @__PURE__ */ r.jsx("div", { className: "nav-icon-wrapper mr-3 flex-shrink-0", children: /* @__PURE__ */ r.jsx("div", { className: "nav-icon flex items-center justify-center w-5 h-5", children: e }) }),
|
|
609
|
+
a && /* @__PURE__ */ r.jsx("span", { className: "nav-label text-sm text-neutral-strong-default", children: a }),
|
|
610
|
+
t
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
);
|
|
614
|
+
}, be = ({
|
|
615
|
+
linkActions: t,
|
|
616
|
+
onClick: e,
|
|
617
|
+
activeAction: a
|
|
618
|
+
}) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((o, n) => {
|
|
619
|
+
const { isView: i = !1, actionName: s, title: l, icon: x, count: f, viewAccess: u } = o || {}, p = (typeof i == "function" ? i() : i !== !1) && (!u || u()), m = a === s;
|
|
620
|
+
return p && /* @__PURE__ */ r.jsx(
|
|
621
|
+
b.div,
|
|
622
|
+
{
|
|
623
|
+
initial: { opacity: 0 },
|
|
624
|
+
animate: { opacity: 1 },
|
|
625
|
+
transition: {
|
|
626
|
+
duration: 0.4,
|
|
627
|
+
delay: n * 0.03,
|
|
628
|
+
ease: "easeOut"
|
|
629
|
+
},
|
|
630
|
+
className: "relative flex justify-center w-full items-center px-3",
|
|
631
|
+
children: /* @__PURE__ */ r.jsxs(
|
|
632
|
+
"button",
|
|
633
|
+
{
|
|
634
|
+
onClick: () => {
|
|
635
|
+
e?.(s);
|
|
636
|
+
},
|
|
637
|
+
className: c(
|
|
638
|
+
"nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
|
|
639
|
+
"transition-all duration-300 ease-out w-full",
|
|
640
|
+
"group hover:bg-neutral-medium-selected",
|
|
641
|
+
m ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
|
|
642
|
+
),
|
|
643
|
+
children: [
|
|
644
|
+
/* @__PURE__ */ r.jsx(E, { mode: "wait", children: m && /* @__PURE__ */ r.jsx(
|
|
645
|
+
b.div,
|
|
646
|
+
{
|
|
647
|
+
layoutId: "nav-active-bg",
|
|
648
|
+
className: "absolute inset-0 bg-neutral-medium-selected rounded-lg",
|
|
649
|
+
initial: !1,
|
|
650
|
+
animate: { opacity: 1 },
|
|
651
|
+
exit: { opacity: 0 },
|
|
652
|
+
transition: {
|
|
653
|
+
type: "tween",
|
|
654
|
+
duration: 0.25,
|
|
655
|
+
ease: "easeInOut"
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
) }),
|
|
659
|
+
/* @__PURE__ */ r.jsxs(
|
|
660
|
+
b.div,
|
|
661
|
+
{
|
|
662
|
+
className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
|
|
663
|
+
animate: {
|
|
664
|
+
x: 0
|
|
665
|
+
},
|
|
666
|
+
transition: {
|
|
667
|
+
duration: 0.25,
|
|
668
|
+
ease: "easeOut"
|
|
669
|
+
},
|
|
670
|
+
children: [
|
|
671
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
672
|
+
/* @__PURE__ */ r.jsx(
|
|
673
|
+
b.div,
|
|
674
|
+
{
|
|
675
|
+
className: "nav-icon-wrapper flex items-center justify-center shrink-0",
|
|
676
|
+
animate: {
|
|
677
|
+
scale: m ? 1.05 : 1
|
|
678
|
+
},
|
|
679
|
+
transition: {
|
|
680
|
+
duration: 0.25,
|
|
681
|
+
ease: "easeOut"
|
|
682
|
+
},
|
|
683
|
+
children: typeof x == "function" ? x({
|
|
684
|
+
size: 24,
|
|
685
|
+
className: c(
|
|
686
|
+
"nav-icon transition-colors duration-250 ease-out",
|
|
687
|
+
m ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
|
|
688
|
+
)
|
|
689
|
+
}) : null
|
|
690
|
+
}
|
|
691
|
+
),
|
|
692
|
+
/* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: l })
|
|
693
|
+
] }),
|
|
694
|
+
/* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: f && f >= 1 ? /* @__PURE__ */ r.jsx(B, { count: f, maxCount: 9, className: "" }) : "" })
|
|
695
|
+
]
|
|
696
|
+
}
|
|
697
|
+
)
|
|
698
|
+
]
|
|
699
|
+
}
|
|
700
|
+
)
|
|
701
|
+
},
|
|
702
|
+
n
|
|
703
|
+
);
|
|
704
|
+
}) }), ye = ({
|
|
705
|
+
links: t,
|
|
706
|
+
isLinkActive: e,
|
|
707
|
+
onLinkClick: a
|
|
708
|
+
}) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((o, n) => {
|
|
709
|
+
const { isView: i = !1, viewAccess: s, path: l, title: x, icon: f, count: u, relatedPaths: p } = o, m = (typeof i == "function" ? i() : i !== !1) && (!s || s()), y = e(l) || (p?.some(
|
|
710
|
+
(L) => e(L)
|
|
711
|
+
) ?? !1);
|
|
712
|
+
return m && /* @__PURE__ */ r.jsx(
|
|
713
|
+
b.div,
|
|
714
|
+
{
|
|
715
|
+
initial: { opacity: 0 },
|
|
716
|
+
animate: { opacity: 1 },
|
|
717
|
+
transition: {
|
|
718
|
+
duration: 0.4,
|
|
719
|
+
delay: n * 0.03,
|
|
720
|
+
ease: "easeOut"
|
|
721
|
+
},
|
|
722
|
+
className: "relative flex justify-center w-full items-center px-3",
|
|
723
|
+
children: /* @__PURE__ */ r.jsx(
|
|
724
|
+
"button",
|
|
725
|
+
{
|
|
726
|
+
onClick: () => {
|
|
727
|
+
a?.(l);
|
|
728
|
+
},
|
|
729
|
+
className: c(
|
|
730
|
+
"nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
|
|
731
|
+
"transition-all duration-300 ease-out w-full",
|
|
732
|
+
"group hover:bg-neutral-medium-selected",
|
|
733
|
+
y ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
|
|
734
|
+
),
|
|
735
|
+
children: /* @__PURE__ */ r.jsxs(
|
|
736
|
+
b.div,
|
|
737
|
+
{
|
|
738
|
+
className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
|
|
739
|
+
animate: {
|
|
740
|
+
x: 0
|
|
741
|
+
},
|
|
742
|
+
transition: {
|
|
743
|
+
duration: 0.25,
|
|
744
|
+
ease: "easeOut"
|
|
745
|
+
},
|
|
746
|
+
children: [
|
|
747
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
748
|
+
/* @__PURE__ */ r.jsx(
|
|
749
|
+
b.div,
|
|
750
|
+
{
|
|
751
|
+
className: "nav-icon-wrapper flex items-center justify-center shrink-0",
|
|
752
|
+
animate: {
|
|
753
|
+
scale: y ? 1.05 : 1
|
|
754
|
+
},
|
|
755
|
+
transition: {
|
|
756
|
+
duration: 0.25,
|
|
757
|
+
ease: "easeOut"
|
|
758
|
+
},
|
|
759
|
+
children: typeof f == "function" ? f({
|
|
760
|
+
size: 24,
|
|
761
|
+
className: c(
|
|
762
|
+
"nav-icon transition-colors duration-250 ease-out",
|
|
763
|
+
y ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
|
|
764
|
+
)
|
|
765
|
+
}) : null
|
|
766
|
+
}
|
|
767
|
+
),
|
|
768
|
+
/* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: x })
|
|
769
|
+
] }),
|
|
770
|
+
/* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: u && u ? /* @__PURE__ */ r.jsx(B, { count: u, maxCount: 9, className: "" }) : "" })
|
|
771
|
+
]
|
|
772
|
+
}
|
|
773
|
+
)
|
|
774
|
+
}
|
|
775
|
+
)
|
|
776
|
+
},
|
|
777
|
+
n
|
|
778
|
+
);
|
|
779
|
+
}) }), ve = ({
|
|
780
|
+
isActiveModalNotification: t,
|
|
781
|
+
setIsActiveModalNotification: e
|
|
782
|
+
}) => ({ handleNotificationClick: () => {
|
|
783
|
+
e(!0);
|
|
784
|
+
}, isActiveModalNotification: t }), he = (t) => {
|
|
785
|
+
const e = v(null);
|
|
786
|
+
return {
|
|
787
|
+
isCollapsed: t,
|
|
788
|
+
navbarRef: e
|
|
789
|
+
};
|
|
790
|
+
}, ge = ({
|
|
791
|
+
isCollapsed: t,
|
|
792
|
+
onToggle: e
|
|
793
|
+
}) => /* @__PURE__ */ r.jsx("div", { className: "", children: /* @__PURE__ */ r.jsx(
|
|
794
|
+
"button",
|
|
795
|
+
{
|
|
796
|
+
onClick: e,
|
|
797
|
+
title: t ? "Expandir Navbar" : "Contraer Navbar",
|
|
798
|
+
"aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
|
|
799
|
+
className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
|
|
800
|
+
children: t ? /* @__PURE__ */ r.jsx(h, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(h, { size: 34, className: "rotate-0 transition-transform duration-300" })
|
|
801
|
+
}
|
|
802
|
+
) }), we = ({ logoUrl: t, companyName: e }) => /* @__PURE__ */ r.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ r.jsx(
|
|
803
|
+
"img",
|
|
804
|
+
{
|
|
805
|
+
src: t,
|
|
806
|
+
className: "h-2/3 rounded-full",
|
|
807
|
+
alt: e ?? ""
|
|
808
|
+
}
|
|
809
|
+
) });
|
|
810
|
+
function je({
|
|
811
|
+
onFilesAccepted: t,
|
|
812
|
+
onFilesRejected: e,
|
|
813
|
+
...a
|
|
814
|
+
}) {
|
|
815
|
+
const o = P.useCallback(
|
|
816
|
+
(i, s) => {
|
|
817
|
+
i.length > 0 && t?.(i), s.length > 0 && e?.(s);
|
|
818
|
+
},
|
|
819
|
+
[t, e]
|
|
820
|
+
), n = O({
|
|
821
|
+
onDrop: o,
|
|
822
|
+
...a
|
|
823
|
+
});
|
|
824
|
+
return {
|
|
825
|
+
...n,
|
|
826
|
+
hasErrors: n.fileRejections.length > 0
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
const Ne = (t, e = !0) => {
|
|
830
|
+
const a = v(null);
|
|
831
|
+
return j(() => {
|
|
832
|
+
if (!e) return;
|
|
833
|
+
const o = (n) => {
|
|
834
|
+
a.current && !a.current.contains(n.target) && t();
|
|
835
|
+
};
|
|
836
|
+
return document.addEventListener("mousedown", o, {
|
|
837
|
+
capture: !0
|
|
838
|
+
}), document.addEventListener("touchstart", o, {
|
|
839
|
+
capture: !0
|
|
840
|
+
}), () => {
|
|
841
|
+
document.removeEventListener("mousedown", o, {
|
|
842
|
+
capture: !0
|
|
843
|
+
}), document.removeEventListener("touchstart", o, {
|
|
844
|
+
capture: !0
|
|
845
|
+
});
|
|
846
|
+
};
|
|
847
|
+
}, [t, e]), a;
|
|
848
|
+
};
|
|
849
|
+
export {
|
|
850
|
+
ke as Avatar,
|
|
851
|
+
B as Badge,
|
|
852
|
+
Be as Button,
|
|
853
|
+
Le as CardProfile,
|
|
854
|
+
Pe as ChangueAccount,
|
|
855
|
+
Ae as CheckBox,
|
|
856
|
+
we as CompanyLogo,
|
|
857
|
+
bt as DatePicker,
|
|
858
|
+
De as DialogModal,
|
|
859
|
+
Oe as DrawerDesktop,
|
|
860
|
+
$e as DrawerMobile,
|
|
861
|
+
cr as DropZone,
|
|
862
|
+
tr as FAButton,
|
|
863
|
+
Ue as Header,
|
|
864
|
+
Vt as Image,
|
|
865
|
+
Ut as ImageGallery,
|
|
866
|
+
Ve as Input,
|
|
867
|
+
Xe as InputMultiple,
|
|
868
|
+
$t as LayoutGeneric,
|
|
869
|
+
Je as Logo,
|
|
870
|
+
Qe as Menu,
|
|
871
|
+
be as NavBarActions,
|
|
872
|
+
ge as NavbarCollapseButton,
|
|
873
|
+
ye as NavbarLinks,
|
|
874
|
+
xe as NavigationLink,
|
|
875
|
+
nr as OtpInput,
|
|
876
|
+
et as Pagination,
|
|
877
|
+
rt as ProfilePictureUpload,
|
|
878
|
+
ot as ProgressBar,
|
|
879
|
+
ar as RadioButton,
|
|
880
|
+
vt as RecurrentDatePicker,
|
|
881
|
+
gt as RecurrentDatePickerRRule,
|
|
882
|
+
fe as SecondaryBar,
|
|
883
|
+
Ht as SegmentedButton,
|
|
884
|
+
it as Select,
|
|
885
|
+
Yt as SelectSearch,
|
|
886
|
+
me as Sidebar,
|
|
887
|
+
U as SidebarProvider,
|
|
888
|
+
Mt as SidebarRefProvider,
|
|
889
|
+
Et as Skeleton,
|
|
890
|
+
lt as Spinner,
|
|
891
|
+
ut as Steps,
|
|
892
|
+
ft as SwipeContainer,
|
|
893
|
+
mt as Switch,
|
|
894
|
+
Pt as TabLinks,
|
|
895
|
+
jt as Table,
|
|
896
|
+
Nt as TableBody,
|
|
897
|
+
St as TableCaption,
|
|
898
|
+
Ct as TableCell,
|
|
899
|
+
kt as TableFooter,
|
|
900
|
+
It as TableHead,
|
|
901
|
+
Bt as TableHeader,
|
|
902
|
+
Rt as TableRow,
|
|
903
|
+
At as TextArea,
|
|
904
|
+
Xt as Toast,
|
|
905
|
+
Kt as ToastProvider,
|
|
906
|
+
Dt as Tooltip,
|
|
907
|
+
Zt as toastpyrion,
|
|
908
|
+
ve as useActionsNavbar,
|
|
909
|
+
Ne as useClickOutside,
|
|
910
|
+
ze as useDialogControl,
|
|
911
|
+
He as useDrawerDesktop,
|
|
912
|
+
Me as useDrawerMobile,
|
|
913
|
+
je as useFileDropzone,
|
|
914
|
+
sr as useIsMobile,
|
|
915
|
+
he as useNavbarCollapse,
|
|
916
|
+
pe as useSidebar,
|
|
917
|
+
C as useSidebarContext
|
|
918
|
+
};
|