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