@orbe-agro/client-core 5.3.85 → 5.3.89
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/@ecme/assets/styles/app.css +1 -1
- package/dist/@ecme/assets/styles/components/_dialog.css +1 -1
- package/dist/@ecme/assets/styles/components/_drawer.css +1 -1
- package/dist/@ecme/assets/styles/components/_scrollbar.css +1 -1
- package/dist/@ecme/assets/styles/components/_switcher.css +1 -1
- package/dist/@ecme/assets/styles/components/_upload.css +1 -1
- package/dist/@ecme/assets/styles/components/index.css +1 -1
- package/dist/@ecme/assets/styles/tailwind/index.css +1 -1
- package/dist/@ecme/auth/AuthProvider.js +58 -62
- package/dist/@ecme/auth/AuthProvider.js.map +1 -1
- package/dist/@ecme/components/docs/DemoCard/DemoCard.js +18 -19
- package/dist/@ecme/components/docs/DemoCard/DemoCard.js.map +1 -1
- package/dist/@ecme/components/layouts/PostLoginLayout/PostLoginLayout.js +29 -30
- package/dist/@ecme/components/layouts/PostLoginLayout/PostLoginLayout.js.map +1 -1
- package/dist/@ecme/components/layouts/PostLoginLayout/components/ContentOverlay.js +56 -56
- package/dist/@ecme/components/layouts/PostLoginLayout/components/ContentOverlay.js.map +1 -1
- package/dist/@ecme/components/shared/Affix.js +9 -10
- package/dist/@ecme/components/shared/Affix.js.map +1 -1
- package/dist/@ecme/components/shared/AutoComplete.js +27 -28
- package/dist/@ecme/components/shared/AutoComplete.js.map +1 -1
- package/dist/@ecme/components/shared/CalendarView.js +19 -20
- package/dist/@ecme/components/shared/CalendarView.js.map +1 -1
- package/dist/@ecme/components/shared/ConfirmDialog.js +16 -16
- package/dist/@ecme/components/shared/ConfirmDialog.js.map +1 -1
- package/dist/@ecme/components/shared/DataTable.js +151 -151
- package/dist/@ecme/components/shared/DataTable.js.map +1 -1
- package/dist/@ecme/components/shared/DebounceInput.js +11 -12
- package/dist/@ecme/components/shared/DebounceInput.js.map +1 -1
- package/dist/@ecme/components/shared/GanttChart/GanttChart.js +20 -20
- package/dist/@ecme/components/shared/GanttChart/GanttChart.js.map +1 -1
- package/dist/@ecme/components/shared/GanttChart/TaskListTable.js +22 -22
- package/dist/@ecme/components/shared/GanttChart/TaskListTable.js.map +1 -1
- package/dist/@ecme/components/shared/ImageGallery.js +18 -18
- package/dist/@ecme/components/shared/ImageGallery.js.map +1 -1
- package/dist/@ecme/components/shared/Masonry/Masonry.js +25 -25
- package/dist/@ecme/components/shared/Masonry/Masonry.js.map +1 -1
- package/dist/@ecme/components/shared/OtpInput.js +54 -56
- package/dist/@ecme/components/shared/OtpInput.js.map +1 -1
- package/dist/@ecme/components/shared/PasswordInput.js +6 -6
- package/dist/@ecme/components/shared/PasswordInput.js.map +1 -1
- package/dist/@ecme/components/shared/RegionMap.js +9 -9
- package/dist/@ecme/components/shared/RegionMap.js.map +1 -1
- package/dist/@ecme/components/shared/RichTextEditor/RichTextEditor.js +47 -47
- package/dist/@ecme/components/shared/RichTextEditor/RichTextEditor.js.map +1 -1
- package/dist/@ecme/components/shared/UsersAvatarGroup.js +24 -24
- package/dist/@ecme/components/shared/UsersAvatarGroup.js.map +1 -1
- package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuContent.js +63 -69
- package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuContent.js.map +1 -1
- package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdown.js +48 -48
- package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdown.js.map +1 -1
- package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdownContent.js +220 -231
- package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdownContent.js.map +1 -1
- package/dist/@ecme/components/template/LanguageSelector.js +10 -13
- package/dist/@ecme/components/template/LanguageSelector.js.map +1 -1
- package/dist/@ecme/components/template/Search.js +85 -92
- package/dist/@ecme/components/template/Search.js.map +1 -1
- package/dist/@ecme/components/template/ThemeConfigurator/DirectionSwitcher.js +18 -18
- package/dist/@ecme/components/template/ThemeConfigurator/DirectionSwitcher.js.map +1 -1
- package/dist/@ecme/components/template/VerticalMenuContent/VerticalCollapsedMenuItem.js +17 -17
- package/dist/@ecme/components/template/VerticalMenuContent/VerticalCollapsedMenuItem.js.map +1 -1
- package/dist/@ecme/components/template/VerticalMenuContent/VerticalMenuContent.js +59 -59
- package/dist/@ecme/components/template/VerticalMenuContent/VerticalMenuContent.js.map +1 -1
- package/dist/@ecme/components/template/VerticalMenuContent/VerticalSingleMenuItem.js +34 -34
- package/dist/@ecme/components/template/VerticalMenuContent/VerticalSingleMenuItem.js.map +1 -1
- package/dist/@ecme/components/ui/Alert/Alert.js +29 -29
- package/dist/@ecme/components/ui/Alert/Alert.js.map +1 -1
- package/dist/@ecme/components/ui/Avatar/AvatarGroup.js +30 -30
- package/dist/@ecme/components/ui/Avatar/AvatarGroup.js.map +1 -1
- package/dist/@ecme/components/ui/Button/Button.js +66 -67
- package/dist/@ecme/components/ui/Button/Button.js.map +1 -1
- package/dist/@ecme/components/ui/Card/Card.js +39 -40
- package/dist/@ecme/components/ui/Card/Card.js.map +1 -1
- package/dist/@ecme/components/ui/Checkbox/Checkbox.js +42 -42
- package/dist/@ecme/components/ui/Checkbox/Checkbox.js.map +1 -1
- package/dist/@ecme/components/ui/Checkbox/Group.js +27 -27
- package/dist/@ecme/components/ui/Checkbox/Group.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/BasePicker.js +67 -67
- package/dist/@ecme/components/ui/DatePicker/BasePicker.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/Calendar.js +18 -18
- package/dist/@ecme/components/ui/DatePicker/Calendar.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/CalendarBase.js +77 -78
- package/dist/@ecme/components/ui/DatePicker/CalendarBase.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/DatePicker.js +67 -71
- package/dist/@ecme/components/ui/DatePicker/DatePicker.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/DatePickerRange.js +94 -98
- package/dist/@ecme/components/ui/DatePicker/DatePickerRange.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/DateTimepicker.js +51 -58
- package/dist/@ecme/components/ui/DatePicker/DateTimepicker.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/tables/DateTable.js +67 -67
- package/dist/@ecme/components/ui/DatePicker/tables/DateTable.js.map +1 -1
- package/dist/@ecme/components/ui/DatePicker/tables/components/Day.js +12 -12
- package/dist/@ecme/components/ui/DatePicker/tables/components/Day.js.map +1 -1
- package/dist/@ecme/components/ui/Dialog/Dialog.js +25 -25
- package/dist/@ecme/components/ui/Dialog/Dialog.js.map +1 -1
- package/dist/@ecme/components/ui/Drawer/Drawer.js +32 -32
- package/dist/@ecme/components/ui/Drawer/Drawer.js.map +1 -1
- package/dist/@ecme/components/ui/Dropdown/DropdownItem.js +58 -58
- package/dist/@ecme/components/ui/Dropdown/DropdownItem.js.map +1 -1
- package/dist/@ecme/components/ui/Dropdown/DropdownMenu.js +99 -100
- package/dist/@ecme/components/ui/Dropdown/DropdownMenu.js.map +1 -1
- package/dist/@ecme/components/ui/Dropdown/DropdownSubItem.js +26 -26
- package/dist/@ecme/components/ui/Dropdown/DropdownSubItem.js.map +1 -1
- package/dist/@ecme/components/ui/Form/FormContainer.js +17 -17
- package/dist/@ecme/components/ui/Form/FormContainer.js.map +1 -1
- package/dist/@ecme/components/ui/Form/FormItem.js +38 -38
- package/dist/@ecme/components/ui/Form/FormItem.js.map +1 -1
- package/dist/@ecme/components/ui/Input/Input.js +50 -52
- package/dist/@ecme/components/ui/Input/Input.js.map +1 -1
- package/dist/@ecme/components/ui/InputGroup/Addon.js +12 -13
- package/dist/@ecme/components/ui/InputGroup/Addon.js.map +1 -1
- package/dist/@ecme/components/ui/InputGroup/InputGroup.js +10 -11
- package/dist/@ecme/components/ui/InputGroup/InputGroup.js.map +1 -1
- package/dist/@ecme/components/ui/Notification/Notification.js +19 -19
- package/dist/@ecme/components/ui/Notification/Notification.js.map +1 -1
- package/dist/@ecme/components/ui/Pagination/Pagination.js +45 -45
- package/dist/@ecme/components/ui/Pagination/Pagination.js.map +1 -1
- package/dist/@ecme/components/ui/Radio/Group.js +28 -28
- package/dist/@ecme/components/ui/Radio/Group.js.map +1 -1
- package/dist/@ecme/components/ui/Radio/Radio.js +42 -42
- package/dist/@ecme/components/ui/Radio/Radio.js.map +1 -1
- package/dist/@ecme/components/ui/Segment/SegmentItem.js +53 -53
- package/dist/@ecme/components/ui/Segment/SegmentItem.js.map +1 -1
- package/dist/@ecme/components/ui/Select/Select.js +40 -41
- package/dist/@ecme/components/ui/Select/Select.js.map +1 -1
- package/dist/@ecme/components/ui/Steps/StepItem.js +33 -33
- package/dist/@ecme/components/ui/Steps/StepItem.js.map +1 -1
- package/dist/@ecme/components/ui/Switcher/Switcher.js +24 -24
- package/dist/@ecme/components/ui/Switcher/Switcher.js.map +1 -1
- package/dist/@ecme/components/ui/Tabs/TabNav.js +22 -22
- package/dist/@ecme/components/ui/Tabs/TabNav.js.map +1 -1
- package/dist/@ecme/components/ui/TimeInput/AmPmInput.js +25 -27
- package/dist/@ecme/components/ui/TimeInput/AmPmInput.js.map +1 -1
- package/dist/@ecme/components/ui/TimeInput/TimeInput.js +130 -135
- package/dist/@ecme/components/ui/TimeInput/TimeInput.js.map +1 -1
- package/dist/@ecme/components/ui/TimeInput/TimeInputField.js +22 -24
- package/dist/@ecme/components/ui/TimeInput/TimeInputField.js.map +1 -1
- package/dist/@ecme/components/ui/TimeInput/TimeInputRange.js +65 -68
- package/dist/@ecme/components/ui/TimeInput/TimeInputRange.js.map +1 -1
- package/dist/@ecme/components/ui/TimeInput/utils/createAmPmHandler.js +11 -12
- package/dist/@ecme/components/ui/TimeInput/utils/createAmPmHandler.js.map +1 -1
- package/dist/@ecme/components/ui/TimeInput/utils/createTimeHandler.js +19 -20
- package/dist/@ecme/components/ui/TimeInput/utils/createTimeHandler.js.map +1 -1
- package/dist/@ecme/components/ui/Upload/Upload.js +67 -68
- package/dist/@ecme/components/ui/Upload/Upload.js.map +1 -1
- package/dist/@ecme/components/ui/hooks/useCallbackRef.js +7 -10
- package/dist/@ecme/components/ui/hooks/useCallbackRef.js.map +1 -1
- package/dist/@ecme/components/ui/hooks/useRootClose.js +32 -32
- package/dist/@ecme/components/ui/hooks/useRootClose.js.map +1 -1
- package/dist/@ecme/components/ui/hooks/useTimeout.js +12 -13
- package/dist/@ecme/components/ui/hooks/useTimeout.js.map +1 -1
- package/dist/@ecme/components/ui/toast/ToastWrapper.js +58 -61
- package/dist/@ecme/components/ui/toast/ToastWrapper.js.map +1 -1
- package/dist/@ecme/components/ui/toast/toast.js +16 -19
- package/dist/@ecme/components/ui/toast/toast.js.map +1 -1
- package/dist/@ecme/components/view/Activity/ActivityEvent.js +63 -67
- package/dist/@ecme/components/view/Activity/ActivityEvent.js.map +1 -1
- package/dist/@ecme/components/view/ChatBox/components/Attachment.js +8 -9
- package/dist/@ecme/components/view/ChatBox/components/Attachment.js.map +1 -1
- package/dist/@ecme/components/view/ChatBox/components/ChatInput.js +37 -39
- package/dist/@ecme/components/view/ChatBox/components/ChatInput.js.map +1 -1
- package/dist/@ecme/components/view/ChatBox/components/Message.js +10 -10
- package/dist/@ecme/components/view/ChatBox/components/Message.js.map +1 -1
- package/dist/@ecme/components/view/CreditCardDialog/CreditCardDialog.js +36 -37
- package/dist/@ecme/components/view/CreditCardDialog/CreditCardDialog.js.map +1 -1
- package/dist/@ecme/components/view/TaskItem/TaskItem.js +33 -33
- package/dist/@ecme/components/view/TaskItem/TaskItem.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/chatFakeApi.js +16 -18
- package/dist/@ecme/mock/fakeApi/chatFakeApi.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/customersFakeApi.js +10 -11
- package/dist/@ecme/mock/fakeApi/customersFakeApi.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/helpCenterFakeApi.js +10 -11
- package/dist/@ecme/mock/fakeApi/helpCenterFakeApi.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/mailFakeApi.js +9 -10
- package/dist/@ecme/mock/fakeApi/mailFakeApi.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/ordersFakeApi.js +9 -10
- package/dist/@ecme/mock/fakeApi/ordersFakeApi.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/productsFakeApi.js +7 -8
- package/dist/@ecme/mock/fakeApi/productsFakeApi.js.map +1 -1
- package/dist/@ecme/mock/fakeApi/projectsFakeApi.js +10 -11
- package/dist/@ecme/mock/fakeApi/projectsFakeApi.js.map +1 -1
- package/dist/@ecme/utils/hooks/useInfiniteScroll.js +11 -11
- package/dist/@ecme/utils/hooks/useInfiniteScroll.js.map +1 -1
- package/dist/@ecme/utils/hooks/useMenuActive.js +11 -12
- package/dist/@ecme/utils/hooks/useMenuActive.js.map +1 -1
- package/dist/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.js +36 -37
- package/dist/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.js.map +1 -1
- package/dist/@ecme/views/auth/OtpVerification/OtpVerification.js +14 -14
- package/dist/@ecme/views/auth/OtpVerification/OtpVerification.js.map +1 -1
- package/dist/@ecme/views/auth/OtpVerification/components/OtpVerificationForm.js +41 -42
- package/dist/@ecme/views/auth/OtpVerification/components/OtpVerificationForm.js.map +1 -1
- package/dist/@ecme/views/auth/ResetPassword/components/ResetPasswordForm.js +59 -60
- package/dist/@ecme/views/auth/ResetPassword/components/ResetPasswordForm.js.map +1 -1
- package/dist/@ecme/views/auth/SignIn/components/OauthSignIn.js +27 -27
- package/dist/@ecme/views/auth/SignIn/components/OauthSignIn.js.map +1 -1
- package/dist/@ecme/views/auth/SignIn/components/SignInForm.js +57 -58
- package/dist/@ecme/views/auth/SignIn/components/SignInForm.js.map +1 -1
- package/dist/@ecme/views/auth/SignUp/components/SignUpForm.js +37 -38
- package/dist/@ecme/views/auth/SignUp/components/SignUpForm.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Pricing/components/PaymentDialog.js +44 -45
- package/dist/@ecme/views/concepts/accounts/Pricing/components/PaymentDialog.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Pricing/components/Plans.js +5 -5
- package/dist/@ecme/views/concepts/accounts/Pricing/components/Plans.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsAccessDialog.js +34 -35
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsAccessDialog.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserAction.js +26 -26
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserAction.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserTable.js +28 -29
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserTable.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/hooks/useRolePermissonsUsers.js +8 -8
- package/dist/@ecme/views/concepts/accounts/RolesPermissions/hooks/useRolePermissonsUsers.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingMobileMenu.js +10 -11
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingMobileMenu.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsBilling.js +48 -49
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsBilling.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsMenu.js +14 -14
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsMenu.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsProfile.js +102 -103
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsProfile.js.map +1 -1
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsSecurity.js +34 -35
- package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsSecurity.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomAction.js +16 -16
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomAction.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomContent.js +76 -78
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomContent.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistory.js +23 -23
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistory.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryItem.js +48 -49
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryItem.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryRenameDialog.js +34 -35
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryRenameDialog.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatMobileNav.js +11 -14
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatMobileNav.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatSideNav.js +19 -19
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatSideNav.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatView.js +22 -26
- package/dist/@ecme/views/concepts/ai/Chat/components/ChatView.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Chat/store/generativeChatStore.js +18 -24
- package/dist/@ecme/views/concepts/ai/Chat/store/generativeChatStore.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Image/components/ConfigDropdown.js +22 -22
- package/dist/@ecme/views/concepts/ai/Image/components/ConfigDropdown.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Image/components/GeneratorPrompt.js +31 -32
- package/dist/@ecme/views/concepts/ai/Image/components/GeneratorPrompt.js.map +1 -1
- package/dist/@ecme/views/concepts/ai/Image/components/ImageDialog.js +31 -32
- package/dist/@ecme/views/concepts/ai/Image/components/ImageDialog.js.map +1 -1
- package/dist/@ecme/views/concepts/calendar/Calendar/Calendar.js +38 -39
- package/dist/@ecme/views/concepts/calendar/Calendar/Calendar.js.map +1 -1
- package/dist/@ecme/views/concepts/calendar/Calendar/components/EventDialog.js +68 -69
- package/dist/@ecme/views/concepts/calendar/Calendar/components/EventDialog.js.map +1 -1
- package/dist/@ecme/views/concepts/chat/Chat/components/ChatBody.js +63 -66
- package/dist/@ecme/views/concepts/chat/Chat/components/ChatBody.js.map +1 -1
- package/dist/@ecme/views/concepts/chat/Chat/components/ChatList.js +21 -22
- package/dist/@ecme/views/concepts/chat/Chat/components/ChatList.js.map +1 -1
- package/dist/@ecme/views/concepts/chat/Chat/components/ContactInfoDrawer.js +84 -85
- package/dist/@ecme/views/concepts/chat/Chat/components/ContactInfoDrawer.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerDetails/ActivitySection.js +19 -19
- package/dist/@ecme/views/concepts/customers/CustomerDetails/ActivitySection.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerDetails/BillingSection.js +51 -58
- package/dist/@ecme/views/concepts/customers/CustomerDetails/BillingSection.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerDetails/ProfileSection.js +76 -89
- package/dist/@ecme/views/concepts/customers/CustomerDetails/ProfileSection.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerForm/AddressSection.js +104 -107
- package/dist/@ecme/views/concepts/customers/CustomerForm/AddressSection.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerForm/CustomerForm.js +22 -22
- package/dist/@ecme/views/concepts/customers/CustomerForm/CustomerForm.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerForm/OverviewSection.js +38 -39
- package/dist/@ecme/views/concepts/customers/CustomerForm/OverviewSection.js.map +1 -1
- package/dist/@ecme/views/concepts/customers/CustomerList/hooks/useCustomerList.js +20 -20
- package/dist/@ecme/views/concepts/customers/CustomerList/hooks/useCustomerList.js.map +1 -1
- package/dist/@ecme/views/concepts/files/FileManager/components/FileItemDropdown.js +32 -33
- package/dist/@ecme/views/concepts/files/FileManager/components/FileItemDropdown.js.map +1 -1
- package/dist/@ecme/views/concepts/help-center/EditArticle/components/EditArticleHeader.js +17 -18
- package/dist/@ecme/views/concepts/help-center/EditArticle/components/EditArticleHeader.js.map +1 -1
- package/dist/@ecme/views/concepts/help-center/ManageArticle/hooks/useManageArticle.js +5 -5
- package/dist/@ecme/views/concepts/help-center/ManageArticle/hooks/useManageArticle.js.map +1 -1
- package/dist/@ecme/views/concepts/help-center/SupportHub/components/TopSection.js +12 -13
- package/dist/@ecme/views/concepts/help-center/SupportHub/components/TopSection.js.map +1 -1
- package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailAction.js +28 -29
- package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailAction.js.map +1 -1
- package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailContent.js +63 -67
- package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailContent.js.map +1 -1
- package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailTitle.js +8 -8
- package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailTitle.js.map +1 -1
- package/dist/@ecme/views/concepts/mail/Mail/components/MailEditor.js +36 -37
- package/dist/@ecme/views/concepts/mail/Mail/components/MailEditor.js.map +1 -1
- package/dist/@ecme/views/concepts/mail/Mail/components/MailList.js +134 -137
- package/dist/@ecme/views/concepts/mail/Mail/components/MailList.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderDetails/components/OrderDetailProducts.js +17 -17
- package/dist/@ecme/views/concepts/orders/OrderDetails/components/OrderDetailProducts.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderEdit/OrderEdit.js +35 -35
- package/dist/@ecme/views/concepts/orders/OrderEdit/OrderEdit.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderForm/OrderForm.js +38 -38
- package/dist/@ecme/views/concepts/orders/OrderForm/OrderForm.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderForm/components/BillingAddressSection.js +108 -111
- package/dist/@ecme/views/concepts/orders/OrderForm/components/BillingAddressSection.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderForm/components/CustomerDetailSection.js +44 -45
- package/dist/@ecme/views/concepts/orders/OrderForm/components/CustomerDetailSection.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderForm/components/PaymentMethodSection.js +211 -214
- package/dist/@ecme/views/concepts/orders/OrderForm/components/PaymentMethodSection.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderList/components/OrderListTableFilter.js +17 -17
- package/dist/@ecme/views/concepts/orders/OrderList/components/OrderListTableFilter.js.map +1 -1
- package/dist/@ecme/views/concepts/orders/OrderList/hooks/useOrderlist.js +15 -15
- package/dist/@ecme/views/concepts/orders/OrderList/hooks/useOrderlist.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductForm/ProductForm.js +4 -4
- package/dist/@ecme/views/concepts/products/ProductForm/ProductForm.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductForm/components/AttributeSection.js +97 -100
- package/dist/@ecme/views/concepts/products/ProductForm/components/AttributeSection.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductForm/components/GeneralSection.js +68 -71
- package/dist/@ecme/views/concepts/products/ProductForm/components/GeneralSection.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductForm/components/ImageSection.js +85 -86
- package/dist/@ecme/views/concepts/products/ProductForm/components/ImageSection.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductForm/components/PricingSection.js +121 -124
- package/dist/@ecme/views/concepts/products/ProductForm/components/PricingSection.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductList/components/ProductListSearch.js +11 -11
- package/dist/@ecme/views/concepts/products/ProductList/components/ProductListSearch.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductList/components/ProductTableFilter.js +17 -17
- package/dist/@ecme/views/concepts/products/ProductList/components/ProductTableFilter.js.map +1 -1
- package/dist/@ecme/views/concepts/products/ProductList/hooks/useProductList.js +17 -17
- package/dist/@ecme/views/concepts/products/ProductList/hooks/useProductList.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/Issue/components/IssueBody.js +101 -105
- package/dist/@ecme/views/concepts/projects/Issue/components/IssueBody.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/Issue/components/IssueFooter.js +57 -58
- package/dist/@ecme/views/concepts/projects/Issue/components/IssueFooter.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsHeader.js +51 -52
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsHeader.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsOverview.js +22 -23
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsOverview.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsSetting.js +45 -46
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsSetting.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsTask.js +62 -65
- package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsTask.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectList/components/NewProjectForm.js +52 -53
- package/dist/@ecme/views/concepts/projects/ProjectList/components/NewProjectForm.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectList/components/NewTaskField.js +23 -25
- package/dist/@ecme/views/concepts/projects/ProjectList/components/NewTaskField.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListContent.js +15 -15
- package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListContent.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListHeader.js +16 -16
- package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListHeader.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ProjectList/hooks/useProjectList.js +9 -9
- package/dist/@ecme/views/concepts/projects/ProjectList/hooks/useProjectList.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewColumnContent.js +40 -41
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewColumnContent.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewTicketContent.js +33 -34
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewTicketContent.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/BoardCardList.js +33 -33
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/BoardCardList.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/TicketContent.js +203 -210
- package/dist/@ecme/views/concepts/projects/ScrumBoard/components/TicketContent.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/Tasks/components/AddTask.js +53 -56
- package/dist/@ecme/views/concepts/projects/Tasks/components/AddTask.js.map +1 -1
- package/dist/@ecme/views/concepts/projects/Tasks/components/TaskList.js +80 -83
- package/dist/@ecme/views/concepts/projects/Tasks/components/TaskList.js.map +1 -1
- package/dist/@ecme/views/dashboards/AnalyticDashboard/components/AnalyticHeader.js +6 -6
- package/dist/@ecme/views/dashboards/AnalyticDashboard/components/AnalyticHeader.js.map +1 -1
- package/dist/@ecme/views/dashboards/EcommerceDashboard/components/Overview.js +21 -21
- package/dist/@ecme/views/dashboards/EcommerceDashboard/components/Overview.js.map +1 -1
- package/dist/@ecme/views/dashboards/EcommerceDashboard/components/RevenueByChannel.js +27 -27
- package/dist/@ecme/views/dashboards/EcommerceDashboard/components/RevenueByChannel.js.map +1 -1
- package/dist/@ecme/views/dashboards/EcommerceDashboard/components/SalesTarget.js +27 -27
- package/dist/@ecme/views/dashboards/EcommerceDashboard/components/SalesTarget.js.map +1 -1
- package/dist/@ecme/views/dashboards/MarketingDashboard/components/CreateCampaign.js +59 -60
- package/dist/@ecme/views/dashboards/MarketingDashboard/components/CreateCampaign.js.map +1 -1
- package/dist/@ecme/views/dashboards/ProjectDashboard/components/CreateEventDialog.js +76 -77
- package/dist/@ecme/views/dashboards/ProjectDashboard/components/CreateEventDialog.js.map +1 -1
- package/dist/@ecme/views/dashboards/ProjectDashboard/components/UpcomingSchedule.js +30 -30
- package/dist/@ecme/views/dashboards/ProjectDashboard/components/UpcomingSchedule.js.map +1 -1
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/CustomFormatInputDoc/WithForm.js +21 -22
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/CustomFormatInputDoc/WithForm.js.map +1 -1
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/ImageGalleryDoc/Example.js +15 -15
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/ImageGalleryDoc/Example.js.map +1 -1
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/NumericInputDoc/WithForm.js +20 -21
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/NumericInputDoc/WithForm.js.map +1 -1
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/PatternInputDoc/WithForm.js +20 -21
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/PatternInputDoc/WithForm.js.map +1 -1
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/RichTextEditorDoc/WithForm.js +20 -21
- package/dist/@ecme/views/guide/SharedComponentsDoc/components/RichTextEditorDoc/WithForm.js.map +1 -1
- package/dist/@ecme/views/ui-components/data-display/Table/Editable.js +17 -18
- package/dist/@ecme/views/ui-components/data-display/Table/Editable.js.map +1 -1
- package/dist/@ecme/views/ui-components/data-display/Table/PaginationTable.js +12 -12
- package/dist/@ecme/views/ui-components/data-display/Table/PaginationTable.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/AsyncValidation.js +28 -29
- package/dist/@ecme/views/ui-components/forms/FormControl/AsyncValidation.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/Basic.js +21 -22
- package/dist/@ecme/views/ui-components/forms/FormControl/Basic.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/DependentValidation.js +24 -25
- package/dist/@ecme/views/ui-components/forms/FormControl/DependentValidation.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/DynamicForm.js +75 -79
- package/dist/@ecme/views/ui-components/forms/FormControl/DynamicForm.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/FieldValidation.js +19 -20
- package/dist/@ecme/views/ui-components/forms/FormControl/FieldValidation.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/MixedFormControl.js +90 -91
- package/dist/@ecme/views/ui-components/forms/FormControl/MixedFormControl.js.map +1 -1
- package/dist/@ecme/views/ui-components/forms/FormControl/SchemaValidation.js +22 -23
- package/dist/@ecme/views/ui-components/forms/FormControl/SchemaValidation.js.map +1 -1
- package/dist/@types/base/configs/api.config.d.ts +0 -19
- package/dist/@types/base/configs/api.config.d.ts.map +1 -1
- package/dist/base/assets/styles/init.css +1 -1
- package/dist/base/components/forms/ArraysForms/GenericArrayNumberFormSection.js +24 -25
- package/dist/base/components/forms/ArraysForms/GenericArrayNumberFormSection.js.map +1 -1
- package/dist/base/components/forms/ArraysForms/GenericArrayStringFormSection.js +23 -24
- package/dist/base/components/forms/ArraysForms/GenericArrayStringFormSection.js.map +1 -1
- package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js +30 -31
- package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js.map +1 -1
- package/dist/base/components/forms/GenericFomrsSetValue/GenericStringFormSection.js +25 -26
- package/dist/base/components/forms/GenericFomrsSetValue/GenericStringFormSection.js.map +1 -1
- package/dist/base/components/forms/GenericForms/GenericArrayFormSection.js +49 -50
- package/dist/base/components/forms/GenericForms/GenericArrayFormSection.js.map +1 -1
- package/dist/base/components/forms/GenericForms/GenericNumberFormSection.js +27 -28
- package/dist/base/components/forms/GenericForms/GenericNumberFormSection.js.map +1 -1
- package/dist/base/components/forms/GenericForms/GenericStringFormSection.js +23 -24
- package/dist/base/components/forms/GenericForms/GenericStringFormSection.js.map +1 -1
- package/dist/base/components/forms/GenericForms/GenericUploadFormSection.js +27 -28
- package/dist/base/components/forms/GenericForms/GenericUploadFormSection.js.map +1 -1
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPercentage.js +29 -30
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPercentage.js.map +1 -1
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.js +27 -28
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.js.map +1 -1
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionWeight.js +27 -28
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionWeight.js.map +1 -1
- package/dist/base/components/shared/TransferirProcessoDialog.js +10 -10
- package/dist/base/components/shared/TransferirProcessoDialog.js.map +1 -1
- package/dist/base/components/tools/NavFilter.js +68 -75
- package/dist/base/components/tools/NavFilter.js.map +1 -1
- package/dist/base/configs/api.config.js +11 -14
- package/dist/base/configs/api.config.js.map +1 -1
- package/dist/base/hooks/adm/roles/useRolesList.js +11 -11
- package/dist/base/hooks/adm/roles/useRolesList.js.map +1 -1
- package/dist/base/hooks/adm/users/useUsersList.js +10 -10
- package/dist/base/hooks/adm/users/useUsersList.js.map +1 -1
- package/dist/base/hooks/dm/businessPartner/useBusinessPartnerClienteList.js +5 -5
- package/dist/base/hooks/dm/businessPartner/useBusinessPartnerClienteList.js.map +1 -1
- package/dist/base/hooks/dm/businessPartner/useBusinessPartnerFornecedorList.js +7 -7
- package/dist/base/hooks/dm/businessPartner/useBusinessPartnerFornecedorList.js.map +1 -1
- package/dist/base/hooks/dm/businessPartner/useBusinessPartnerList.js +10 -10
- package/dist/base/hooks/dm/businessPartner/useBusinessPartnerList.js.map +1 -1
- package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoByCodigoList.js +8 -8
- package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoList.js +8 -8
- package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoList.js.map +1 -1
- package/dist/base/hooks/dm/centro/useCentroByCodigoList.js +13 -13
- package/dist/base/hooks/dm/centro/useCentroByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/centro/useCentroList.js +6 -6
- package/dist/base/hooks/dm/centro/useCentroList.js.map +1 -1
- package/dist/base/hooks/dm/condicaoPagamento/useCondicaoPagamentoList.js +4 -4
- package/dist/base/hooks/dm/condicaoPagamento/useCondicaoPagamentoList.js.map +1 -1
- package/dist/base/hooks/dm/deposito/useDepositoByCodigoList.js +9 -9
- package/dist/base/hooks/dm/deposito/useDepositoByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/deposito/useDepositoList.js +5 -5
- package/dist/base/hooks/dm/deposito/useDepositoList.js.map +1 -1
- package/dist/base/hooks/dm/deposito/useDepositosByCodigoCentroList.js +13 -13
- package/dist/base/hooks/dm/deposito/useDepositosByCodigoCentroList.js.map +1 -1
- package/dist/base/hooks/dm/equipeVenda/useEquipeVendaByCodigoList.js +8 -8
- package/dist/base/hooks/dm/equipeVenda/useEquipeVendaByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/equipeVenda/useEquipeVendaList.js +6 -6
- package/dist/base/hooks/dm/equipeVenda/useEquipeVendaList.js.map +1 -1
- package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaByCodigoList.js +10 -10
- package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaList.js +7 -7
- package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaList.js.map +1 -1
- package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoByCodigoList.js +10 -10
- package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoList.js +1 -1
- package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoList.js.map +1 -1
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.js +11 -11
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaList.js +9 -9
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaList.js.map +1 -1
- package/dist/base/hooks/dm/incoterms/useIncotermsList.js +17 -18
- package/dist/base/hooks/dm/incoterms/useIncotermsList.js.map +1 -1
- package/dist/base/hooks/dm/produto/useProdutoByCodigoList.js +13 -13
- package/dist/base/hooks/dm/produto/useProdutoByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/produto/useProdutoByGrupoProdutoList.js +21 -21
- package/dist/base/hooks/dm/produto/useProdutoByGrupoProdutoList.js.map +1 -1
- package/dist/base/hooks/dm/produto/useProdutoFindList.js +8 -8
- package/dist/base/hooks/dm/produto/useProdutoFindList.js.map +1 -1
- package/dist/base/hooks/dm/produto/useProdutoFindMonitorList.js +11 -11
- package/dist/base/hooks/dm/produto/useProdutoFindMonitorList.js.map +1 -1
- package/dist/base/hooks/dm/produto/useProdutoIsPrecificadoRacaoList.js +9 -9
- package/dist/base/hooks/dm/produto/useProdutoIsPrecificadoRacaoList.js.map +1 -1
- package/dist/base/hooks/dm/setorAtividade/useSetorAtividadeList.js +5 -5
- package/dist/base/hooks/dm/setorAtividade/useSetorAtividadeList.js.map +1 -1
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.js +9 -9
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.js +9 -9
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.js.map +1 -1
- package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaByCodigoList.js +10 -10
- package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaByCodigoList.js.map +1 -1
- package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaList.js +9 -9
- package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaList.js.map +1 -1
- package/dist/base/hooks/useList.js +10 -10
- package/dist/base/hooks/useList.js.map +1 -1
- package/dist/base/services/modules/transportadora/ControleDescarga/ControleDescargaService.js +15 -15
- package/dist/base/services/modules/transportadora/ControleDescarga/ControleDescargaService.js.map +1 -1
- package/dist/base/services/modules/transportadora/ControleEmbarque/ControleEmbarqueService.js +7 -7
- package/dist/base/services/modules/transportadora/ControleEmbarque/ControleEmbarqueService.js.map +1 -1
- package/dist/base/services/modules/transportadora/NaturezaCarga/NaturezaCargaService.js +5 -5
- package/dist/base/services/modules/transportadora/NaturezaCarga/NaturezaCargaService.js.map +1 -1
- package/dist/base/utils/functions/stringUtils.js +14 -15
- package/dist/base/utils/functions/stringUtils.js.map +1 -1
- package/lib/base/configs/api.config.ts +6 -7
- package/package.json +1 -1
- package/tsconfig.json +6 -1
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
import { jsxs as M, jsx as
|
|
1
|
+
import { jsxs as M, jsx as r, Fragment as H } from "react/jsx-runtime";
|
|
2
2
|
import v from "classnames";
|
|
3
|
-
import
|
|
3
|
+
import e from "dayjs";
|
|
4
4
|
import { isMonthInRange as N } from "../utils/isMonthInRange.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import I from "./Header.js";
|
|
6
|
+
import R from "./components/Month.js";
|
|
7
|
+
import K from "../../utils/capitalize.js";
|
|
8
8
|
function k({
|
|
9
|
-
month:
|
|
10
|
-
locale:
|
|
11
|
-
format:
|
|
9
|
+
month: m,
|
|
10
|
+
locale: o,
|
|
11
|
+
format: s
|
|
12
12
|
}) {
|
|
13
|
-
return
|
|
13
|
+
return K(e(m).locale(o).format(s));
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const E = (m) => {
|
|
16
16
|
const {
|
|
17
|
-
dateViewCount:
|
|
18
|
-
paginateBy:
|
|
19
|
-
month:
|
|
20
|
-
locale:
|
|
21
|
-
minDate:
|
|
22
|
-
maxDate:
|
|
23
|
-
enableHeaderLabel:
|
|
17
|
+
dateViewCount: o,
|
|
18
|
+
paginateBy: s,
|
|
19
|
+
month: a,
|
|
20
|
+
locale: l,
|
|
21
|
+
minDate: c,
|
|
22
|
+
maxDate: h,
|
|
23
|
+
enableHeaderLabel: u,
|
|
24
24
|
daysRefs: w,
|
|
25
|
-
onMonthChange:
|
|
26
|
-
onNextLevel:
|
|
25
|
+
onMonthChange: p,
|
|
26
|
+
onNextLevel: b,
|
|
27
27
|
onDayKeyDown: C,
|
|
28
|
-
className:
|
|
29
|
-
labelFormat:
|
|
28
|
+
className: f,
|
|
29
|
+
labelFormat: D,
|
|
30
30
|
weekdayLabelFormat: L,
|
|
31
|
-
preventFocus:
|
|
31
|
+
preventFocus: d,
|
|
32
32
|
renderDay: g,
|
|
33
|
-
...
|
|
34
|
-
} =
|
|
35
|
-
const
|
|
33
|
+
...F
|
|
34
|
+
} = m, Y = e(a).add(o, "months").toDate(), j = e(a).subtract(1, "months").toDate(), y = "picker-header-label hover:text-primary", x = Array(o).fill(0).map((P, t) => {
|
|
35
|
+
const i = e(a).add(t, "months").toDate();
|
|
36
36
|
return /* @__PURE__ */ M("div", { className: "day-picker", children: [
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
/* @__PURE__ */ r(
|
|
38
|
+
I,
|
|
39
39
|
{
|
|
40
|
-
hasNext: t + 1 ===
|
|
41
|
-
date:
|
|
42
|
-
minDate:
|
|
43
|
-
maxDate:
|
|
40
|
+
hasNext: t + 1 === o && N({
|
|
41
|
+
date: Y,
|
|
42
|
+
minDate: c,
|
|
43
|
+
maxDate: h
|
|
44
44
|
}),
|
|
45
45
|
hasPrevious: t === 0 && N({
|
|
46
|
-
date:
|
|
47
|
-
minDate:
|
|
48
|
-
maxDate:
|
|
46
|
+
date: j,
|
|
47
|
+
minDate: c,
|
|
48
|
+
maxDate: h
|
|
49
49
|
}),
|
|
50
|
-
className:
|
|
51
|
-
onNext: () =>
|
|
52
|
-
|
|
50
|
+
className: f,
|
|
51
|
+
onNext: () => p(
|
|
52
|
+
e(a).add(s, "months").toDate()
|
|
53
53
|
),
|
|
54
|
-
onPrevious: () =>
|
|
55
|
-
|
|
54
|
+
onPrevious: () => p(
|
|
55
|
+
e(a).subtract(s, "months").toDate()
|
|
56
56
|
),
|
|
57
57
|
children: /* @__PURE__ */ M("div", { children: [
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ r(
|
|
59
59
|
"button",
|
|
60
60
|
{
|
|
61
|
-
className: v(
|
|
62
|
-
disabled: !
|
|
61
|
+
className: v(y),
|
|
62
|
+
disabled: !u,
|
|
63
63
|
tabIndex: t > 0 ? -1 : 0,
|
|
64
64
|
type: "button",
|
|
65
|
-
onClick: () =>
|
|
66
|
-
onMouseDown: (
|
|
65
|
+
onClick: () => b("month"),
|
|
66
|
+
onMouseDown: (n) => d && n.preventDefault(),
|
|
67
67
|
children: k({
|
|
68
|
-
month:
|
|
69
|
-
locale:
|
|
70
|
-
format:
|
|
68
|
+
month: i,
|
|
69
|
+
locale: l,
|
|
70
|
+
format: D?.month || "MMM"
|
|
71
71
|
})
|
|
72
72
|
}
|
|
73
73
|
),
|
|
74
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ r(
|
|
75
75
|
"button",
|
|
76
76
|
{
|
|
77
|
-
className: v(
|
|
78
|
-
disabled: !
|
|
77
|
+
className: v(y),
|
|
78
|
+
disabled: !u,
|
|
79
79
|
tabIndex: t > 0 ? -1 : 0,
|
|
80
80
|
type: "button",
|
|
81
|
-
onClick: () =>
|
|
82
|
-
onMouseDown: (
|
|
81
|
+
onClick: () => b("year"),
|
|
82
|
+
onMouseDown: (n) => d && n.preventDefault(),
|
|
83
83
|
children: k({
|
|
84
|
-
month:
|
|
85
|
-
locale:
|
|
86
|
-
format:
|
|
84
|
+
month: i,
|
|
85
|
+
locale: l,
|
|
86
|
+
format: D?.year || "YYYY"
|
|
87
87
|
})
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
] })
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
|
|
93
|
+
/* @__PURE__ */ r(
|
|
94
|
+
R,
|
|
95
95
|
{
|
|
96
|
-
month:
|
|
96
|
+
month: i,
|
|
97
97
|
daysRefs: w.current[t],
|
|
98
|
-
minDate:
|
|
99
|
-
maxDate:
|
|
100
|
-
className:
|
|
101
|
-
locale:
|
|
98
|
+
minDate: c,
|
|
99
|
+
maxDate: h,
|
|
100
|
+
className: f,
|
|
101
|
+
locale: l,
|
|
102
102
|
focusable: t === 0,
|
|
103
|
-
preventFocus:
|
|
103
|
+
preventFocus: d,
|
|
104
104
|
renderDay: g,
|
|
105
105
|
weekdayLabelFormat: L,
|
|
106
|
-
onDayKeyDown: (...
|
|
107
|
-
...
|
|
106
|
+
onDayKeyDown: (...n) => C(t, ...n),
|
|
107
|
+
...F
|
|
108
108
|
}
|
|
109
109
|
)
|
|
110
110
|
] }, t);
|
|
111
111
|
});
|
|
112
|
-
return /* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ r(H, { children: x });
|
|
113
113
|
};
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
E as default
|
|
116
116
|
};
|
|
117
117
|
//# sourceMappingURL=DateTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTable.js","sources":["../../../../../../lib/@ecme/components/ui/DatePicker/tables/DateTable.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport dayjs from 'dayjs'\nimport { isMonthInRange } from '../utils/isMonthInRange'\nimport Header from './Header'\nimport Month from './components/Month'\nimport capitalize from '../../utils/capitalize'\nimport type { CommonProps } from '../../@types/common'\nimport type { MonthBaseProps } from './components/Month'\nimport type { DayKeydownPayload } from './components/types'\nimport type { RefObject } from 'react'\n\nexport interface DateTableProps extends CommonProps, MonthBaseProps {\n dateViewCount: number\n paginateBy: number\n locale: string\n enableHeaderLabel: boolean\n daysRefs: RefObject<HTMLButtonElement[][][] | null>\n onMonthChange: (month: Date) => void\n onNextLevel: (unit: 'month' | 'year') => void\n onDayKeyDown: (\n monthIndex: number,\n payload: DayKeydownPayload,\n event: React.KeyboardEvent<HTMLButtonElement>,\n ) => void\n labelFormat?: { month: string; year: string }\n weekdayLabelFormat?: string\n onChange?: (value: Date) => void\n onDayMouseEnter?: (date: Date, event: React.MouseEvent) => void\n preventFocus?: boolean\n renderDay?: (date: Date) => React.ReactNode\n range?: [Date, Date]\n}\n\nfunction formatMonthLabel({\n month,\n locale,\n format,\n}: {\n month: Date\n locale: string\n format: string\n}) {\n return capitalize(dayjs(month).locale(locale).format(format))\n}\n\nconst DateTable = (props: DateTableProps) => {\n const {\n dateViewCount,\n paginateBy,\n month,\n locale,\n minDate,\n maxDate,\n enableHeaderLabel,\n daysRefs,\n onMonthChange,\n onNextLevel,\n onDayKeyDown,\n className,\n labelFormat,\n weekdayLabelFormat,\n preventFocus,\n renderDay,\n ...rest\n } = props\n\n const nextMonth = dayjs(month).add(dateViewCount, 'months').toDate()\n const previousMonth = dayjs(month).subtract(1, 'months').toDate()\n\n const pickerHeaderLabelClass = 'picker-header-label hover:text-primary'\n\n const months = Array(dateViewCount)\n .fill(0)\n .map((_, index) => {\n const monthDate = dayjs(month).add(index, 'months').toDate()\n return (\n <div key={index} className=\"day-picker\">\n <Header\n hasNext={\n index + 1 === dateViewCount &&\n isMonthInRange({\n date: nextMonth,\n minDate,\n maxDate,\n })\n }\n hasPrevious={\n index === 0 &&\n isMonthInRange({\n date: previousMonth,\n minDate,\n maxDate,\n })\n }\n className={className}\n onNext={() =>\n onMonthChange(\n dayjs(month).add(paginateBy, 'months').toDate(),\n )\n }\n onPrevious={() =>\n onMonthChange(\n dayjs(month)\n .subtract(paginateBy, 'months')\n .toDate(),\n )\n }\n >\n <div>\n <button\n className={classNames(pickerHeaderLabelClass)}\n disabled={!enableHeaderLabel}\n tabIndex={index > 0 ? -1 : 0}\n type=\"button\"\n onClick={() => onNextLevel('month')}\n onMouseDown={(event) =>\n preventFocus && event.preventDefault()\n }\n >\n {formatMonthLabel({\n month: monthDate,\n locale,\n format: labelFormat?.month || 'MMM',\n })}\n </button>\n <button\n className={classNames(pickerHeaderLabelClass)}\n disabled={!enableHeaderLabel}\n tabIndex={index > 0 ? -1 : 0}\n type=\"button\"\n onClick={() => onNextLevel('year')}\n onMouseDown={(event) =>\n preventFocus && event.preventDefault()\n }\n >\n {formatMonthLabel({\n month: monthDate,\n locale,\n format: labelFormat?.year || 'YYYY',\n })}\n </button>\n </div>\n </Header>\n <Month\n month={monthDate}\n daysRefs={\n (daysRefs.current as HTMLButtonElement[][][])[index]\n }\n minDate={minDate}\n maxDate={maxDate}\n className={className}\n locale={locale}\n focusable={index === 0}\n preventFocus={preventFocus}\n renderDay={renderDay}\n weekdayLabelFormat={weekdayLabelFormat}\n onDayKeyDown={(...args) => onDayKeyDown(index, ...args)}\n {...rest}\n />\n </div>\n )\n })\n\n return <>{months}</>\n}\n\nexport default DateTable\n"],"names":["formatMonthLabel","month","locale","format","capitalize","dayjs","DateTable","props","dateViewCount","paginateBy","minDate","maxDate","enableHeaderLabel","daysRefs","onMonthChange","onNextLevel","onDayKeyDown","className","labelFormat","weekdayLabelFormat","preventFocus","renderDay","rest","nextMonth","previousMonth","pickerHeaderLabelClass","months","_","index","monthDate","jsxs","jsx","Header","isMonthInRange","classNames","event","Month","args"],"mappings":";;;;;;;AAiCA,SAASA,EAAiB;AAAA,EACtB,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,QAAAC;AACJ,GAIG;AACC,SAAOC,EAAWC,EAAMJ,CAAK,EAAE,OAAOC,CAAM,EAAE,OAAOC,CAAM,CA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;AAAA,UAAO;AAAA,UAIpB,4BAAC,OAAA,EACG,UAAA;AAAA,YAAA,gBAAAsB;AAAA,cAAC;AAAA,cAAA;AAAA,gBACG,WAAWG,EAAWT,CAAsB;AAAA,gBAC5C,UAAU,CAACb;AAAA,gBACX,UAAUgB,IAAQ,IAAI,KAAK;AAAA,gBAC3B,MAAK;AAAA,gBACL,SAAS,MAAMb,EAAY,OAAO;AAAA,gBAClC,aAAa,CAACoB,MACVf,KAAgBe,EAAM,eAAA;AAAA,gBAGzB,UAAAnC,EAAiB;AAAA,kBACd,OAAO6B;AAAA,kBACP,QAAA3B;AAAA,kBACA,
|
|
1
|
+
{"version":3,"file":"DateTable.js","sources":["../../../../../../lib/@ecme/components/ui/DatePicker/tables/DateTable.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport dayjs from 'dayjs'\nimport { isMonthInRange } from '../utils/isMonthInRange'\nimport Header from './Header'\nimport Month from './components/Month'\nimport capitalize from '../../utils/capitalize'\nimport type { CommonProps } from '../../@types/common'\nimport type { MonthBaseProps } from './components/Month'\nimport type { DayKeydownPayload } from './components/types'\nimport type { RefObject } from 'react'\n\nexport interface DateTableProps extends CommonProps, MonthBaseProps {\n dateViewCount: number\n paginateBy: number\n locale: string\n enableHeaderLabel: boolean\n daysRefs: RefObject<HTMLButtonElement[][][] | null>\n onMonthChange: (month: Date) => void\n onNextLevel: (unit: 'month' | 'year') => void\n onDayKeyDown: (\n monthIndex: number,\n payload: DayKeydownPayload,\n event: React.KeyboardEvent<HTMLButtonElement>,\n ) => void\n labelFormat?: { month: string; year: string }\n weekdayLabelFormat?: string\n onChange?: (value: Date) => void\n onDayMouseEnter?: (date: Date, event: React.MouseEvent) => void\n preventFocus?: boolean\n renderDay?: (date: Date) => React.ReactNode\n range?: [Date, Date]\n}\n\nfunction formatMonthLabel({\n month,\n locale,\n format,\n}: {\n month: Date\n locale: string\n format: string\n}) {\n return capitalize(dayjs(month).locale(locale).format(format))\n}\n\nconst DateTable = (props: DateTableProps) => {\n const {\n dateViewCount,\n paginateBy,\n month,\n locale,\n minDate,\n maxDate,\n enableHeaderLabel,\n daysRefs,\n onMonthChange,\n onNextLevel,\n onDayKeyDown,\n className,\n labelFormat,\n weekdayLabelFormat,\n preventFocus,\n renderDay,\n ...rest\n } = props\n\n const nextMonth = dayjs(month).add(dateViewCount, 'months').toDate()\n const previousMonth = dayjs(month).subtract(1, 'months').toDate()\n\n const pickerHeaderLabelClass = 'picker-header-label hover:text-primary'\n\n const months = Array(dateViewCount)\n .fill(0)\n .map((_, index) => {\n const monthDate = dayjs(month).add(index, 'months').toDate()\n return (\n <div key={index} className=\"day-picker\">\n <Header\n hasNext={\n index + 1 === dateViewCount &&\n isMonthInRange({\n date: nextMonth,\n minDate,\n maxDate,\n })\n }\n hasPrevious={\n index === 0 &&\n isMonthInRange({\n date: previousMonth,\n minDate,\n maxDate,\n })\n }\n className={className}\n onNext={() =>\n onMonthChange(\n dayjs(month).add(paginateBy, 'months').toDate(),\n )\n }\n onPrevious={() =>\n onMonthChange(\n dayjs(month)\n .subtract(paginateBy, 'months')\n .toDate(),\n )\n }\n >\n <div>\n <button\n className={classNames(pickerHeaderLabelClass)}\n disabled={!enableHeaderLabel}\n tabIndex={index > 0 ? -1 : 0}\n type=\"button\"\n onClick={() => onNextLevel('month')}\n onMouseDown={(event) =>\n preventFocus && event.preventDefault()\n }\n >\n {formatMonthLabel({\n month: monthDate,\n locale,\n format: labelFormat?.month || 'MMM',\n })}\n </button>\n <button\n className={classNames(pickerHeaderLabelClass)}\n disabled={!enableHeaderLabel}\n tabIndex={index > 0 ? -1 : 0}\n type=\"button\"\n onClick={() => onNextLevel('year')}\n onMouseDown={(event) =>\n preventFocus && event.preventDefault()\n }\n >\n {formatMonthLabel({\n month: monthDate,\n locale,\n format: labelFormat?.year || 'YYYY',\n })}\n </button>\n </div>\n </Header>\n <Month\n month={monthDate}\n daysRefs={\n (daysRefs.current as HTMLButtonElement[][][])[index]\n }\n minDate={minDate}\n maxDate={maxDate}\n className={className}\n locale={locale}\n focusable={index === 0}\n preventFocus={preventFocus}\n renderDay={renderDay}\n weekdayLabelFormat={weekdayLabelFormat}\n onDayKeyDown={(...args) => onDayKeyDown(index, ...args)}\n {...rest}\n />\n </div>\n )\n })\n\n return <>{months}</>\n}\n\nexport default DateTable\n"],"names":["formatMonthLabel","month","locale","format","capitalize","dayjs","DateTable","props","dateViewCount","paginateBy","minDate","maxDate","enableHeaderLabel","daysRefs","onMonthChange","onNextLevel","onDayKeyDown","className","labelFormat","weekdayLabelFormat","preventFocus","renderDay","rest","nextMonth","previousMonth","pickerHeaderLabelClass","months","_","index","monthDate","jsxs","jsx","Header","isMonthInRange","classNames","event","Month","args"],"mappings":";;;;;;;AAiCA,SAASA,EAAiB;AAAA,EACtB,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,QAAAC;AACJ,GAIG;AACC,SAAOC,EAAWC,EAAMJ,CAAK,EAAE,OAAOC,CAAM,EAAE,OAAOC,CAAM,CAAC;AAChE;AAEA,MAAMG,IAAY,CAACC,MAA0B;AACzC,QAAM;AAAA,IACF,eAAAC;AAAA,IACA,YAAAC;AAAA,IACA,OAAAR;AAAA,IACA,QAAAC;AAAA,IACA,SAAAQ;AAAA,IACA,SAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IACHf,GAEEgB,IAAYlB,EAAMJ,CAAK,EAAE,IAAIO,GAAe,QAAQ,EAAE,OAAA,GACtDgB,IAAgBnB,EAAMJ,CAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,OAAA,GAEnDwB,IAAyB,0CAEzBC,IAAS,MAAMlB,CAAa,EAC7B,KAAK,CAAC,EACN,IAAI,CAACmB,GAAGC,MAAU;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AAA,gBACL,SAAS,MAAMb,EAAY,MAAM;AAAA,gBACjC,aAAa,CAACoB,MACVf,KAAgBe,EAAM,eAAA;AAAA,gBAGzB,UAAAnC,EAAiB;AAAA,kBACd,OAAO6B;AAAA,kBACP,QAAA3B;AAAA,kBACA,QAAQgB,GAAa,QAAQ;AAAA,gBAAA,CAChC;AAAA,cAAA;AAAA,YAAA;AAAA,UACL,EAAA,CACJ;AAAA,QAAA;AAAA,MAAA;AAAA,MAEJ,gBAAAa;AAAA,QAACK;AAAA,QAAA;AAAA,UACG,OAAOP;AAAA,UACP,UACKhB,EAAS,QAAoCe,CAAK;AAAA,UAEvD,SAAAlB;AAAA,UACA,SAAAC;AAAA,UACA,WAAAM;AAAA,UACA,QAAAf;AAAA,UACA,WAAW0B,MAAU;AAAA,UACrB,cAAAR;AAAA,UACA,WAAAC;AAAA,UACA,oBAAAF;AAAA,UACA,cAAc,IAAIkB,MAASrB,EAAaY,GAAO,GAAGS,CAAI;AAAA,UACrD,GAAGf;AAAA,QAAA;AAAA,MAAA;AAAA,IACR,EAAA,GAlFMM,CAmFV;AAAA,EAER,CAAC;AAEL,gCAAU,UAAAF,EAAA,CAAO;AACrB;"}
|
|
@@ -3,16 +3,16 @@ import D from "classnames";
|
|
|
3
3
|
function I({
|
|
4
4
|
focusable: a,
|
|
5
5
|
hasValue: l,
|
|
6
|
-
selected:
|
|
7
|
-
firstInMonth:
|
|
6
|
+
selected: r,
|
|
7
|
+
firstInMonth: t
|
|
8
8
|
}) {
|
|
9
|
-
return a ? l ?
|
|
9
|
+
return a ? l ? r ? 0 : -1 : t ? 0 : -1 : -1;
|
|
10
10
|
}
|
|
11
11
|
const R = (a) => {
|
|
12
12
|
const {
|
|
13
13
|
className: l,
|
|
14
|
-
value:
|
|
15
|
-
selected:
|
|
14
|
+
value: r,
|
|
15
|
+
selected: t,
|
|
16
16
|
weekend: u,
|
|
17
17
|
outOfMonth: c,
|
|
18
18
|
onMouseEnter: p,
|
|
@@ -41,7 +41,7 @@ const R = (a) => {
|
|
|
41
41
|
tabIndex: I({
|
|
42
42
|
focusable: k,
|
|
43
43
|
hasValue: f,
|
|
44
|
-
selected:
|
|
44
|
+
selected: t,
|
|
45
45
|
firstInMonth: h
|
|
46
46
|
}),
|
|
47
47
|
className: D(
|
|
@@ -51,18 +51,18 @@ const R = (a) => {
|
|
|
51
51
|
u && !e && "date-picker-cell-weekend",
|
|
52
52
|
c && !e && "date-picker-other-month",
|
|
53
53
|
c && m && "d-none",
|
|
54
|
-
!c && !e && !
|
|
55
|
-
!e && !
|
|
56
|
-
|
|
57
|
-
n && !e && !d && !i && !
|
|
54
|
+
!c && !e && !t && "date-picker-cell-current-month",
|
|
55
|
+
!e && !t && !n && "date-picker-cell-hoverable",
|
|
56
|
+
t && !e && "date-picker-cell-selected bg-primary text-neutral",
|
|
57
|
+
n && !e && !d && !i && !t && "bg-primary-subtle",
|
|
58
58
|
!n && !d && !i && "rounded-full",
|
|
59
59
|
n && o && "date-picker-cell-inrange-today",
|
|
60
60
|
d && !e && "date-picker-cell-selected-start",
|
|
61
61
|
i && !e && "date-picker-cell-selected-end",
|
|
62
62
|
l
|
|
63
63
|
),
|
|
64
|
-
onMouseEnter: (y) => p(
|
|
65
|
-
children: typeof s == "function" ? s(
|
|
64
|
+
onMouseEnter: (y) => p(r, y),
|
|
65
|
+
children: typeof s == "function" ? s(r) : r?.getDate()
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Day.js","sources":["../../../../../../../lib/@ecme/components/ui/DatePicker/tables/components/Day.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport type { ComponentPropsWithRef, ReactNode, MouseEvent, Ref } from 'react'\nimport type { CommonProps } from '../../../@types/common'\n\nexport interface DayProps\n extends CommonProps,\n Omit<ComponentPropsWithRef<'button'>, 'value' | 'onMouseEnter'> {\n value: Date\n selected: boolean\n weekend: boolean\n outOfMonth: boolean\n onMouseEnter: (date: Date, event: MouseEvent<HTMLButtonElement>) => void\n hasValue: boolean\n inRange: boolean\n firstInRange: boolean\n lastInRange: boolean\n isToday: boolean\n fullWidth: boolean\n firstInMonth: boolean\n focusable: boolean\n hideOutOfMonthDates?: boolean\n ref?: Ref<HTMLButtonElement>\n renderDay?: (date: Date) => ReactNode\n disabled: boolean\n}\n\nfunction getDayTabIndex({\n focusable,\n hasValue,\n selected,\n firstInMonth,\n}: {\n focusable: boolean\n hasValue: boolean\n selected: boolean\n firstInMonth: boolean\n}) {\n if (!focusable) {\n return -1\n }\n\n if (hasValue) {\n return selected ? 0 : -1\n }\n\n return firstInMonth ? 0 : -1\n}\n\nconst Day = (props: DayProps) => {\n const {\n className,\n value,\n selected,\n weekend,\n outOfMonth,\n onMouseEnter,\n hasValue,\n firstInRange,\n lastInRange,\n inRange,\n isToday,\n firstInMonth,\n focusable,\n hideOutOfMonthDates,\n ref,\n renderDay,\n disabled,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n fullWidth,\n ...others\n } = props\n\n return (\n <button\n {...others}\n ref={ref}\n type=\"button\"\n disabled={disabled}\n tabIndex={getDayTabIndex({\n focusable,\n hasValue,\n selected,\n firstInMonth,\n })}\n className={classNames(\n 'date-picker-cell-content',\n disabled && 'date-picker-cell-disabled',\n isToday && `ring-1 ring-inset ring-primary`,\n weekend && !disabled && 'date-picker-cell-weekend',\n outOfMonth && !disabled && 'date-picker-other-month',\n outOfMonth && hideOutOfMonthDates && 'd-none',\n !outOfMonth &&\n !disabled &&\n !selected &&\n 'date-picker-cell-current-month',\n !disabled &&\n !selected &&\n !inRange &&\n 'date-picker-cell-hoverable',\n selected &&\n !disabled &&\n 'date-picker-cell-selected bg-primary text-neutral',\n inRange &&\n !disabled &&\n !firstInRange &&\n !lastInRange &&\n !selected &&\n 'bg-primary-subtle',\n !inRange && !firstInRange && !lastInRange && 'rounded-full',\n inRange && isToday && 'date-picker-cell-inrange-today',\n firstInRange && !disabled && 'date-picker-cell-selected-start',\n lastInRange && !disabled && 'date-picker-cell-selected-end',\n className,\n )}\n onMouseEnter={(event) => onMouseEnter(value, event)}\n >\n {typeof renderDay === 'function'\n ? renderDay(value)\n : value?.getDate()}\n </button>\n )\n}\n\nexport default Day\n"],"names":["getDayTabIndex","focusable","hasValue","selected","firstInMonth","Day","props","className","value","weekend","outOfMonth","onMouseEnter","firstInRange","lastInRange","inRange","isToday","hideOutOfMonthDates","ref","renderDay","disabled","fullWidth","others","jsx","classNames","event"],"mappings":";;AA0BA,SAASA,EAAe;AAAA,EACpB,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAAAC;AACJ,GAKG;AACC,SAAKH,IAIDC,IACOC,IAAW,IAAI,KAGnBC,IAAe,IAAI,KAPf;AAQf;AAEA,MAAMC,IAAM,CAACC,MAAoB;AAC7B,QAAM;AAAA,IACF,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAL;AAAA,IACA,SAAAM;AAAA,IACA,YAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAAT;AAAA,IACA,cAAAU;AAAA,IACA,aAAAC;AAAA,IACA,SAAAC;AAAA,IACA,SAAAC;AAAA,IACA,cAAAX;AAAA,IACA,WAAAH;AAAA,IACA,qBAAAe;AAAA,IACA,KAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA;AAAA,IAEA,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IACHf;AAEJ,SACI,gBAAAgB;AAAA,IAAC;AAAA,IAAA;AAAA,MACI,GAAGD;AAAA,MACJ,KAAAJ;AAAA,MACA,MAAK;AAAA,MACL,UAAAE;AAAA,MACA,UAAUnB,EAAe;AAAA,QACrB,WAAAC;AAAA,QACA,UAAAC;AAAA,QACA,UAAAC;AAAA,QACA,cAAAC;AAAA,MAAA,CACH;AAAA,MACD,WAAWmB;AAAA,QACP;AAAA,QACAJ,KAAY;AAAA,QACZJ,KAAW;AAAA,QACXN,KAAW,CAACU,KAAY;AAAA,QACxBT,KAAc,CAACS,KAAY;AAAA,QAC3BT,KAAcM,KAAuB;AAAA,QACrC,CAACN,KACG,CAACS,KACD,CAAChB,KACD;AAAA,QACJ,CAACgB,KACG,CAAChB,KACD,CAACW,KACD;AAAA,QACJX,KACI,CAACgB,KACD;AAAA,QACJL,KACI,CAACK,KACD,CAACP,KACD,CAACC,KACD,CAACV,KACD;AAAA,QACJ,CAACW,KAAW,CAACF,KAAgB,CAACC,KAAe;AAAA,QAC7CC,KAAWC,KAAW;AAAA,QACtBH,KAAgB,CAACO,KAAY;AAAA,QAC7BN,KAAe,CAACM,KAAY;AAAA,QAC5BZ;AAAA,MAAA;AAAA,MAEJ,cAAc,CAACiB,MAAUb,EAAaH,GAAOgB,CAAK;AAAA,MAEjD,iBAAON,KAAc,aAChBA,EAAUV,CAAK,IACfA,
|
|
1
|
+
{"version":3,"file":"Day.js","sources":["../../../../../../../lib/@ecme/components/ui/DatePicker/tables/components/Day.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport type { ComponentPropsWithRef, ReactNode, MouseEvent, Ref } from 'react'\nimport type { CommonProps } from '../../../@types/common'\n\nexport interface DayProps\n extends CommonProps,\n Omit<ComponentPropsWithRef<'button'>, 'value' | 'onMouseEnter'> {\n value: Date\n selected: boolean\n weekend: boolean\n outOfMonth: boolean\n onMouseEnter: (date: Date, event: MouseEvent<HTMLButtonElement>) => void\n hasValue: boolean\n inRange: boolean\n firstInRange: boolean\n lastInRange: boolean\n isToday: boolean\n fullWidth: boolean\n firstInMonth: boolean\n focusable: boolean\n hideOutOfMonthDates?: boolean\n ref?: Ref<HTMLButtonElement>\n renderDay?: (date: Date) => ReactNode\n disabled: boolean\n}\n\nfunction getDayTabIndex({\n focusable,\n hasValue,\n selected,\n firstInMonth,\n}: {\n focusable: boolean\n hasValue: boolean\n selected: boolean\n firstInMonth: boolean\n}) {\n if (!focusable) {\n return -1\n }\n\n if (hasValue) {\n return selected ? 0 : -1\n }\n\n return firstInMonth ? 0 : -1\n}\n\nconst Day = (props: DayProps) => {\n const {\n className,\n value,\n selected,\n weekend,\n outOfMonth,\n onMouseEnter,\n hasValue,\n firstInRange,\n lastInRange,\n inRange,\n isToday,\n firstInMonth,\n focusable,\n hideOutOfMonthDates,\n ref,\n renderDay,\n disabled,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n fullWidth,\n ...others\n } = props\n\n return (\n <button\n {...others}\n ref={ref}\n type=\"button\"\n disabled={disabled}\n tabIndex={getDayTabIndex({\n focusable,\n hasValue,\n selected,\n firstInMonth,\n })}\n className={classNames(\n 'date-picker-cell-content',\n disabled && 'date-picker-cell-disabled',\n isToday && `ring-1 ring-inset ring-primary`,\n weekend && !disabled && 'date-picker-cell-weekend',\n outOfMonth && !disabled && 'date-picker-other-month',\n outOfMonth && hideOutOfMonthDates && 'd-none',\n !outOfMonth &&\n !disabled &&\n !selected &&\n 'date-picker-cell-current-month',\n !disabled &&\n !selected &&\n !inRange &&\n 'date-picker-cell-hoverable',\n selected &&\n !disabled &&\n 'date-picker-cell-selected bg-primary text-neutral',\n inRange &&\n !disabled &&\n !firstInRange &&\n !lastInRange &&\n !selected &&\n 'bg-primary-subtle',\n !inRange && !firstInRange && !lastInRange && 'rounded-full',\n inRange && isToday && 'date-picker-cell-inrange-today',\n firstInRange && !disabled && 'date-picker-cell-selected-start',\n lastInRange && !disabled && 'date-picker-cell-selected-end',\n className,\n )}\n onMouseEnter={(event) => onMouseEnter(value, event)}\n >\n {typeof renderDay === 'function'\n ? renderDay(value)\n : value?.getDate()}\n </button>\n )\n}\n\nexport default Day\n"],"names":["getDayTabIndex","focusable","hasValue","selected","firstInMonth","Day","props","className","value","weekend","outOfMonth","onMouseEnter","firstInRange","lastInRange","inRange","isToday","hideOutOfMonthDates","ref","renderDay","disabled","fullWidth","others","jsx","classNames","event"],"mappings":";;AA0BA,SAASA,EAAe;AAAA,EACpB,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAA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;AAAA,MAAA;AAAA,MAEJ,cAAc,CAACiB,MAAUb,EAAaH,GAAOgB,CAAK;AAAA,MAEjD,iBAAON,KAAc,aAChBA,EAAUV,CAAK,IACfA,GAAO,QAAA;AAAA,IAAQ;AAAA,EAAA;AAGjC;"}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i, jsxs as w } from "react/jsx-runtime";
|
|
2
2
|
import O from "react-modal";
|
|
3
3
|
import e from "classnames";
|
|
4
4
|
import "../CloseButton/index.js";
|
|
5
5
|
import { motion as D } from "framer-motion";
|
|
6
6
|
import S from "../hooks/useWindowSize.js";
|
|
7
7
|
import k from "../CloseButton/CloseButton.js";
|
|
8
|
-
const x = (
|
|
9
|
-
const
|
|
10
|
-
bodyOpenClassName:
|
|
11
|
-
children:
|
|
12
|
-
className:
|
|
13
|
-
closable:
|
|
14
|
-
closeTimeoutMS:
|
|
15
|
-
contentClassName:
|
|
16
|
-
height:
|
|
17
|
-
isOpen:
|
|
18
|
-
onClose:
|
|
8
|
+
const x = (n) => {
|
|
9
|
+
const a = S(), {
|
|
10
|
+
bodyOpenClassName: r,
|
|
11
|
+
children: c,
|
|
12
|
+
className: d,
|
|
13
|
+
closable: m = !0,
|
|
14
|
+
closeTimeoutMS: f = 150,
|
|
15
|
+
contentClassName: p,
|
|
16
|
+
height: l,
|
|
17
|
+
isOpen: s,
|
|
18
|
+
onClose: C,
|
|
19
19
|
overlayClassName: g,
|
|
20
20
|
portalClassName: u,
|
|
21
21
|
style: h,
|
|
22
|
-
width:
|
|
22
|
+
width: t = 520,
|
|
23
23
|
...N
|
|
24
|
-
} =
|
|
24
|
+
} = n, y = /* @__PURE__ */ i(
|
|
25
25
|
k,
|
|
26
26
|
{
|
|
27
27
|
absolute: !0,
|
|
28
28
|
className: "ltr:right-6 rtl:left-6 top-4.5",
|
|
29
29
|
onClick: (v) => {
|
|
30
|
-
|
|
30
|
+
C?.(v);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
), o = {
|
|
@@ -36,13 +36,13 @@ const x = (r) => {
|
|
|
36
36
|
},
|
|
37
37
|
...h
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
const b = e("dialog-content",
|
|
41
|
-
return /* @__PURE__ */
|
|
39
|
+
t !== void 0 && (o.content.width = t, typeof a.width < "u" && a.width <= t && (o.content.width = "auto")), l !== void 0 && (o.content.height = l);
|
|
40
|
+
const b = e("dialog-content", p);
|
|
41
|
+
return /* @__PURE__ */ i(
|
|
42
42
|
O,
|
|
43
43
|
{
|
|
44
44
|
className: {
|
|
45
|
-
base: e("dialog",
|
|
45
|
+
base: e("dialog", d),
|
|
46
46
|
afterOpen: "dialog-after-open",
|
|
47
47
|
beforeClose: "dialog-before-close"
|
|
48
48
|
},
|
|
@@ -52,11 +52,11 @@ const x = (r) => {
|
|
|
52
52
|
beforeClose: "dialog-overlay-before-close"
|
|
53
53
|
},
|
|
54
54
|
portalClassName: e("dialog-portal", u),
|
|
55
|
-
bodyOpenClassName: e("dialog-open",
|
|
55
|
+
bodyOpenClassName: e("dialog-open", r),
|
|
56
56
|
ariaHideApp: !1,
|
|
57
|
-
isOpen:
|
|
57
|
+
isOpen: s,
|
|
58
58
|
style: { ...o },
|
|
59
|
-
closeTimeoutMS:
|
|
59
|
+
closeTimeoutMS: f,
|
|
60
60
|
...N,
|
|
61
61
|
children: /* @__PURE__ */ w(
|
|
62
62
|
D.div,
|
|
@@ -64,11 +64,11 @@ const x = (r) => {
|
|
|
64
64
|
className: b,
|
|
65
65
|
initial: { transform: "scale(0.9)" },
|
|
66
66
|
animate: {
|
|
67
|
-
transform:
|
|
67
|
+
transform: s ? "scale(1)" : "scale(0.9)"
|
|
68
68
|
},
|
|
69
69
|
children: [
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
m && y,
|
|
71
|
+
c
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.js","sources":["../../../../../lib/@ecme/components/ui/Dialog/Dialog.tsx"],"sourcesContent":["import Modal from 'react-modal'\nimport classNames from 'classnames'\nimport CloseButton from '../CloseButton'\nimport { motion } from 'framer-motion'\nimport useWindowSize from '../hooks/useWindowSize'\nimport type ReactModal from 'react-modal'\nimport type { MouseEvent } from 'react'\n\nexport interface DialogProps extends ReactModal.Props {\n closable?: boolean\n contentClassName?: string\n height?: string | number\n onClose?: (e: MouseEvent<HTMLSpanElement>) => void\n width?: number\n}\n\nconst Dialog = (props: DialogProps) => {\n const currentSize = useWindowSize()\n\n const {\n bodyOpenClassName,\n children,\n className,\n closable = true,\n closeTimeoutMS = 150,\n contentClassName,\n height,\n isOpen,\n onClose,\n overlayClassName,\n portalClassName,\n style,\n width = 520,\n ...rest\n } = props\n\n const onCloseClick = (e: MouseEvent<HTMLSpanElement>) => {\n onClose?.(e)\n }\n\n const renderCloseButton = (\n <CloseButton\n absolute\n className=\"ltr:right-6 rtl:left-6 top-4.5\"\n onClick={onCloseClick}\n />\n )\n\n const contentStyle = {\n content: {\n inset: 'unset',\n },\n ...style,\n }\n\n if (width !== undefined) {\n contentStyle.content.width = width\n\n if (\n typeof currentSize.width !== 'undefined' &&\n currentSize.width <= width\n ) {\n contentStyle.content.width = 'auto'\n }\n }\n\n if (height !== undefined) {\n contentStyle.content.height = height\n }\n\n const defaultDialogContentClass = 'dialog-content'\n\n const dialogClass = classNames(defaultDialogContentClass, contentClassName)\n\n return (\n <Modal\n className={{\n base: classNames('dialog', className as string),\n afterOpen: 'dialog-after-open',\n beforeClose: 'dialog-before-close',\n }}\n overlayClassName={{\n base: classNames('dialog-overlay', overlayClassName as string),\n afterOpen: 'dialog-overlay-after-open',\n beforeClose: 'dialog-overlay-before-close',\n }}\n portalClassName={classNames('dialog-portal', portalClassName)}\n bodyOpenClassName={classNames('dialog-open', bodyOpenClassName)}\n ariaHideApp={false}\n isOpen={isOpen}\n style={{ ...contentStyle }}\n closeTimeoutMS={closeTimeoutMS}\n {...rest}\n >\n <motion.div\n className={dialogClass}\n initial={{ transform: 'scale(0.9)' }}\n animate={{\n transform: isOpen ? 'scale(1)' : 'scale(0.9)',\n }}\n >\n {closable && renderCloseButton}\n {children}\n </motion.div>\n </Modal>\n )\n}\n\nDialog.displayName = 'Dialog'\n\nexport default Dialog\n"],"names":["Dialog","props","currentSize","useWindowSize","bodyOpenClassName","children","className","closable","closeTimeoutMS","contentClassName","height","isOpen","onClose","overlayClassName","portalClassName","style","width","rest","renderCloseButton","jsx","CloseButton","e","contentStyle","dialogClass","classNames","Modal","jsxs","motion"],"mappings":";;;;;;;AAgBA,MAAMA,IAAS,CAACC,MAAuB;AACnC,QAAMC,IAAcC,EAAA,GAEd;AAAA,IACF,mBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,gBAAAC,IAAiB;AAAA,IACjB,kBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,GAAGC;AAAA,EAAA,IACHhB,GAMEiB,IACF,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACG,UAAQ;AAAA,MACR,WAAU;AAAA,MACV,SARa,CAACC,MAAmC;AACrD,QAAAT,
|
|
1
|
+
{"version":3,"file":"Dialog.js","sources":["../../../../../lib/@ecme/components/ui/Dialog/Dialog.tsx"],"sourcesContent":["import Modal from 'react-modal'\nimport classNames from 'classnames'\nimport CloseButton from '../CloseButton'\nimport { motion } from 'framer-motion'\nimport useWindowSize from '../hooks/useWindowSize'\nimport type ReactModal from 'react-modal'\nimport type { MouseEvent } from 'react'\n\nexport interface DialogProps extends ReactModal.Props {\n closable?: boolean\n contentClassName?: string\n height?: string | number\n onClose?: (e: MouseEvent<HTMLSpanElement>) => void\n width?: number\n}\n\nconst Dialog = (props: DialogProps) => {\n const currentSize = useWindowSize()\n\n const {\n bodyOpenClassName,\n children,\n className,\n closable = true,\n closeTimeoutMS = 150,\n contentClassName,\n height,\n isOpen,\n onClose,\n overlayClassName,\n portalClassName,\n style,\n width = 520,\n ...rest\n } = props\n\n const onCloseClick = (e: MouseEvent<HTMLSpanElement>) => {\n onClose?.(e)\n }\n\n const renderCloseButton = (\n <CloseButton\n absolute\n className=\"ltr:right-6 rtl:left-6 top-4.5\"\n onClick={onCloseClick}\n />\n )\n\n const contentStyle = {\n content: {\n inset: 'unset',\n },\n ...style,\n }\n\n if (width !== undefined) {\n contentStyle.content.width = width\n\n if (\n typeof currentSize.width !== 'undefined' &&\n currentSize.width <= width\n ) {\n contentStyle.content.width = 'auto'\n }\n }\n\n if (height !== undefined) {\n contentStyle.content.height = height\n }\n\n const defaultDialogContentClass = 'dialog-content'\n\n const dialogClass = classNames(defaultDialogContentClass, contentClassName)\n\n return (\n <Modal\n className={{\n base: classNames('dialog', className as string),\n afterOpen: 'dialog-after-open',\n beforeClose: 'dialog-before-close',\n }}\n overlayClassName={{\n base: classNames('dialog-overlay', overlayClassName as string),\n afterOpen: 'dialog-overlay-after-open',\n beforeClose: 'dialog-overlay-before-close',\n }}\n portalClassName={classNames('dialog-portal', portalClassName)}\n bodyOpenClassName={classNames('dialog-open', bodyOpenClassName)}\n ariaHideApp={false}\n isOpen={isOpen}\n style={{ ...contentStyle }}\n closeTimeoutMS={closeTimeoutMS}\n {...rest}\n >\n <motion.div\n className={dialogClass}\n initial={{ transform: 'scale(0.9)' }}\n animate={{\n transform: isOpen ? 'scale(1)' : 'scale(0.9)',\n }}\n >\n {closable && renderCloseButton}\n {children}\n </motion.div>\n </Modal>\n )\n}\n\nDialog.displayName = 'Dialog'\n\nexport default Dialog\n"],"names":["Dialog","props","currentSize","useWindowSize","bodyOpenClassName","children","className","closable","closeTimeoutMS","contentClassName","height","isOpen","onClose","overlayClassName","portalClassName","style","width","rest","renderCloseButton","jsx","C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epB,CAAiB;AAAA,MAC9D,aAAa;AAAA,MACb,QAAAO;AAAA,MACA,OAAO,EAAE,GAAGW,EAAA;AAAA,MACZ,gBAAAd;AAAA,MACC,GAAGS;AAAA,MAEJ,UAAA,gBAAAS;AAAA,QAACC,EAAO;AAAA,QAAP;AAAA,UACG,WAAWJ;AAAA,UACX,SAAS,EAAE,WAAW,aAAA;AAAA,UACtB,SAAS;AAAA,YACL,WAAWZ,IAAS,aAAa;AAAA,UAAA;AAAA,UAGpC,UAAA;AAAA,YAAAJ,KAAYW;AAAA,YACZb;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACL;AAAA,EAAA;AAGZ;AAEAL,EAAO,cAAc;"}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import r from "classnames";
|
|
3
3
|
import D from "react-modal";
|
|
4
4
|
import "../CloseButton/index.js";
|
|
5
5
|
import { motion as M } from "framer-motion";
|
|
6
6
|
import z from "../CloseButton/CloseButton.js";
|
|
7
|
-
const A = (
|
|
7
|
+
const A = (c) => {
|
|
8
8
|
const {
|
|
9
|
-
bodyOpenClassName:
|
|
10
|
-
bodyClass:
|
|
11
|
-
children:
|
|
12
|
-
className:
|
|
13
|
-
closable:
|
|
14
|
-
closeTimeoutMS:
|
|
15
|
-
footer:
|
|
16
|
-
footerClass:
|
|
17
|
-
headerClass:
|
|
9
|
+
bodyOpenClassName: p,
|
|
10
|
+
bodyClass: f,
|
|
11
|
+
children: y,
|
|
12
|
+
className: C,
|
|
13
|
+
closable: s = !0,
|
|
14
|
+
closeTimeoutMS: h = 300,
|
|
15
|
+
footer: n,
|
|
16
|
+
footerClass: w,
|
|
17
|
+
headerClass: b,
|
|
18
18
|
height: t = 400,
|
|
19
|
-
isOpen:
|
|
20
|
-
lockScroll:
|
|
21
|
-
onClose:
|
|
19
|
+
isOpen: i,
|
|
20
|
+
lockScroll: u = !0,
|
|
21
|
+
onClose: N,
|
|
22
22
|
overlayClassName: v,
|
|
23
23
|
placement: e = "right",
|
|
24
24
|
portalClassName: S,
|
|
25
25
|
showBackdrop: g = !0,
|
|
26
26
|
title: a,
|
|
27
|
-
width:
|
|
27
|
+
width: l = 400,
|
|
28
28
|
...k
|
|
29
|
-
} =
|
|
30
|
-
|
|
29
|
+
} = c, x = /* @__PURE__ */ o(z, { onClick: (j) => {
|
|
30
|
+
N?.(j);
|
|
31
31
|
} }), O = () => e === "left" || e === "right" ? {
|
|
32
32
|
dimensionClass: "vertical",
|
|
33
|
-
contentStyle: { width:
|
|
33
|
+
contentStyle: { width: l },
|
|
34
34
|
motionStyle: {
|
|
35
|
-
[e]: `-${
|
|
35
|
+
[e]: `-${l}${typeof l == "number" && "px"}`
|
|
36
36
|
}
|
|
37
37
|
} : e === "top" || e === "bottom" ? {
|
|
38
38
|
dimensionClass: "horizontal",
|
|
@@ -42,12 +42,12 @@ const A = (p) => {
|
|
|
42
42
|
}
|
|
43
43
|
} : {
|
|
44
44
|
motionStyle: {}
|
|
45
|
-
}, { dimensionClass: $, contentStyle: B, motionStyle:
|
|
45
|
+
}, { dimensionClass: $, contentStyle: B, motionStyle: d } = O();
|
|
46
46
|
return /* @__PURE__ */ o(
|
|
47
47
|
D,
|
|
48
48
|
{
|
|
49
49
|
className: {
|
|
50
|
-
base: r("drawer",
|
|
50
|
+
base: r("drawer", C),
|
|
51
51
|
afterOpen: "drawer-after-open",
|
|
52
52
|
beforeClose: "drawer-before-close"
|
|
53
53
|
},
|
|
@@ -63,29 +63,29 @@ const A = (p) => {
|
|
|
63
63
|
portalClassName: r("drawer-portal", S),
|
|
64
64
|
bodyOpenClassName: r(
|
|
65
65
|
"drawer-open",
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
u && "drawer-lock-scroll",
|
|
67
|
+
p
|
|
68
68
|
),
|
|
69
69
|
ariaHideApp: !1,
|
|
70
|
-
isOpen:
|
|
71
|
-
closeTimeoutMS:
|
|
70
|
+
isOpen: i,
|
|
71
|
+
closeTimeoutMS: h,
|
|
72
72
|
...k,
|
|
73
|
-
children: /* @__PURE__ */
|
|
73
|
+
children: /* @__PURE__ */ m(
|
|
74
74
|
M.div,
|
|
75
75
|
{
|
|
76
76
|
className: r("drawer-content", $),
|
|
77
77
|
style: B,
|
|
78
|
-
initial:
|
|
78
|
+
initial: d,
|
|
79
79
|
animate: {
|
|
80
|
-
[e]:
|
|
80
|
+
[e]: i ? 0 : d[e]
|
|
81
81
|
},
|
|
82
82
|
children: [
|
|
83
|
-
a ||
|
|
83
|
+
a || s ? /* @__PURE__ */ m("div", { className: r("drawer-header", b), children: [
|
|
84
84
|
typeof a == "string" ? /* @__PURE__ */ o("h4", { children: a }) : /* @__PURE__ */ o("span", { children: a }),
|
|
85
|
-
|
|
85
|
+
s && x
|
|
86
86
|
] }) : null,
|
|
87
|
-
/* @__PURE__ */ o("div", { className: r("drawer-body",
|
|
88
|
-
|
|
87
|
+
/* @__PURE__ */ o("div", { className: r("drawer-body", f), children: y }),
|
|
88
|
+
n && /* @__PURE__ */ o("div", { className: r("drawer-footer", w), children: n })
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.js","sources":["../../../../../lib/@ecme/components/ui/Drawer/Drawer.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport Modal from 'react-modal'\nimport CloseButton from '../CloseButton'\nimport { motion } from 'framer-motion'\nimport type ReactModal from 'react-modal'\nimport type { MouseEvent, ReactNode } from 'react'\n\nexport interface DrawerProps extends ReactModal.Props {\n bodyClass?: string\n closable?: boolean\n footer?: string | ReactNode\n footerClass?: string\n headerClass?: string\n height?: string | number\n lockScroll?: boolean\n onClose?: (e: MouseEvent<HTMLSpanElement>) => void\n placement?: 'top' | 'right' | 'bottom' | 'left'\n showBackdrop?: boolean\n title?: string | ReactNode\n width?: string | number\n}\n\nconst Drawer = (props: DrawerProps) => {\n const {\n bodyOpenClassName,\n bodyClass,\n children,\n className,\n closable = true,\n closeTimeoutMS = 300,\n footer,\n footerClass,\n headerClass,\n height = 400,\n isOpen,\n lockScroll = true,\n onClose,\n overlayClassName,\n placement = 'right',\n portalClassName,\n showBackdrop = true,\n title,\n width = 400,\n ...rest\n } = props\n\n const onCloseClick = (e: MouseEvent<HTMLSpanElement>) => {\n onClose?.(e)\n }\n\n const renderCloseButton = <CloseButton onClick={onCloseClick} />\n\n const getStyle = (): {\n dimensionClass?: string\n contentStyle?: {\n width?: string | number\n height?: string | number\n }\n motionStyle: {\n [x: string]: string\n }\n } => {\n if (placement === 'left' || placement === 'right') {\n return {\n dimensionClass: 'vertical',\n contentStyle: { width },\n motionStyle: {\n [placement]: `-${width}${\n typeof width === 'number' && 'px'\n }`,\n },\n }\n }\n\n if (placement === 'top' || placement === 'bottom') {\n return {\n dimensionClass: 'horizontal',\n contentStyle: { height },\n motionStyle: {\n [placement]: `-${height}${\n typeof height === 'number' && 'px'\n }`,\n },\n }\n }\n\n return {\n motionStyle: {},\n }\n }\n\n const { dimensionClass, contentStyle, motionStyle } = getStyle()\n\n return (\n <Modal\n className={{\n base: classNames('drawer', className as string),\n afterOpen: 'drawer-after-open',\n beforeClose: 'drawer-before-close',\n }}\n overlayClassName={{\n base: classNames(\n 'drawer-overlay',\n overlayClassName as string,\n !showBackdrop && 'bg-transparent',\n ),\n afterOpen: 'drawer-overlay-after-open',\n beforeClose: 'drawer-overlay-before-close',\n }}\n portalClassName={classNames('drawer-portal', portalClassName)}\n bodyOpenClassName={classNames(\n 'drawer-open',\n lockScroll && 'drawer-lock-scroll',\n bodyOpenClassName,\n )}\n ariaHideApp={false}\n isOpen={isOpen}\n closeTimeoutMS={closeTimeoutMS}\n {...rest}\n >\n <motion.div\n className={classNames('drawer-content', dimensionClass)}\n style={contentStyle}\n initial={motionStyle}\n animate={{\n [placement as 'top' | 'right' | 'bottom' | 'left']: isOpen\n ? 0\n : motionStyle[placement],\n }}\n >\n {title || closable ? (\n <div className={classNames('drawer-header', headerClass)}>\n {typeof title === 'string' ? (\n <h4>{title}</h4>\n ) : (\n <span>{title}</span>\n )}\n {closable && renderCloseButton}\n </div>\n ) : null}\n <div className={classNames('drawer-body', bodyClass)}>\n {children}\n </div>\n {footer && (\n <div className={classNames('drawer-footer', footerClass)}>\n {footer}\n </div>\n )}\n </motion.div>\n </Modal>\n )\n}\n\nDrawer.displayName = 'Drawer'\n\nexport default Drawer\n"],"names":["Drawer","props","bodyOpenClassName","bodyClass","children","className","closable","closeTimeoutMS","footer","footerClass","headerClass","height","isOpen","lockScroll","onClose","overlayClassName","placement","portalClassName","showBackdrop","title","width","rest","renderCloseButton","jsx","CloseButton","e","getStyle","dimensionClass","contentStyle","motionStyle","Modal","classNames","jsxs","motion"],"mappings":";;;;;;AAsBA,MAAMA,IAAS,CAACC,MAAuB;AACnC,QAAM;AAAA,IACF,mBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,gBAAAC,IAAiB;AAAA,IACjB,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,SAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,iBAAAC;AAAA,IACA,cAAAC,IAAe;AAAA,IACf,OAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,GAAGC;AAAA,EAAA,IACHpB,GAMEqB,IAAoB,gBAAAC,EAACC,GAAA,EAAY,SAJlB,CAACC,MAAmC;AACrD,IAAAX,
|
|
1
|
+
{"version":3,"file":"Drawer.js","sources":["../../../../../lib/@ecme/components/ui/Drawer/Drawer.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport Modal from 'react-modal'\nimport CloseButton from '../CloseButton'\nimport { motion } from 'framer-motion'\nimport type ReactModal from 'react-modal'\nimport type { MouseEvent, ReactNode } from 'react'\n\nexport interface DrawerProps extends ReactModal.Props {\n bodyClass?: string\n closable?: boolean\n footer?: string | ReactNode\n footerClass?: string\n headerClass?: string\n height?: string | number\n lockScroll?: boolean\n onClose?: (e: MouseEvent<HTMLSpanElement>) => void\n placement?: 'top' | 'right' | 'bottom' | 'left'\n showBackdrop?: boolean\n title?: string | ReactNode\n width?: string | number\n}\n\nconst Drawer = (props: DrawerProps) => {\n const {\n bodyOpenClassName,\n bodyClass,\n children,\n className,\n closable = true,\n closeTimeoutMS = 300,\n footer,\n footerClass,\n headerClass,\n height = 400,\n isOpen,\n lockScroll = true,\n onClose,\n overlayClassName,\n placement = 'right',\n portalClassName,\n showBackdrop = true,\n title,\n width = 400,\n ...rest\n } = props\n\n const onCloseClick = (e: MouseEvent<HTMLSpanElement>) => {\n onClose?.(e)\n }\n\n const renderCloseButton = <CloseButton onClick={onCloseClick} />\n\n const getStyle = (): {\n dimensionClass?: string\n contentStyle?: {\n width?: string | number\n height?: string | number\n }\n motionStyle: {\n [x: string]: string\n }\n } => {\n if (placement === 'left' || placement === 'right') {\n return {\n dimensionClass: 'vertical',\n contentStyle: { width },\n motionStyle: {\n [placement]: `-${width}${\n typeof width === 'number' && 'px'\n }`,\n },\n }\n }\n\n if (placement === 'top' || placement === 'bottom') {\n return {\n dimensionClass: 'horizontal',\n contentStyle: { height },\n motionStyle: {\n [placement]: `-${height}${\n typeof height === 'number' && 'px'\n }`,\n },\n }\n }\n\n return {\n motionStyle: {},\n }\n }\n\n const { dimensionClass, contentStyle, motionStyle } = getStyle()\n\n return (\n <Modal\n className={{\n base: classNames('drawer', className as string),\n afterOpen: 'drawer-after-open',\n beforeClose: 'drawer-before-close',\n }}\n overlayClassName={{\n base: classNames(\n 'drawer-overlay',\n overlayClassName as string,\n !showBackdrop && 'bg-transparent',\n ),\n afterOpen: 'drawer-overlay-after-open',\n beforeClose: 'drawer-overlay-before-close',\n }}\n portalClassName={classNames('drawer-portal', portalClassName)}\n bodyOpenClassName={classNames(\n 'drawer-open',\n lockScroll && 'drawer-lock-scroll',\n bodyOpenClassName,\n )}\n ariaHideApp={false}\n isOpen={isOpen}\n closeTimeoutMS={closeTimeoutMS}\n {...rest}\n >\n <motion.div\n className={classNames('drawer-content', dimensionClass)}\n style={contentStyle}\n initial={motionStyle}\n animate={{\n [placement as 'top' | 'right' | 'bottom' | 'left']: isOpen\n ? 0\n : motionStyle[placement],\n }}\n >\n {title || closable ? (\n <div className={classNames('drawer-header', headerClass)}>\n {typeof title === 'string' ? (\n <h4>{title}</h4>\n ) : (\n <span>{title}</span>\n )}\n {closable && renderCloseButton}\n </div>\n ) : null}\n <div className={classNames('drawer-body', bodyClass)}>\n {children}\n </div>\n {footer && (\n <div className={classNames('drawer-footer', footerClass)}>\n {footer}\n </div>\n )}\n </motion.div>\n </Modal>\n )\n}\n\nDrawer.displayName = 'Drawer'\n\nexport default Drawer\n"],"names":["Drawer","props","bodyOpenClassName","bodyClass","children","className","closable","closeTimeoutMS","footer","footerClass","headerClass","height","isOpen","lockScroll","onClose","overlayClassName","placement","portalClassName","showBackdrop","title","width","rest","renderCloseButton","jsx","CloseButton","e","getStyle","dimensionClass","contentStyle","motionStyle","Modal","classNames","jsxs","motion"],"mappings":";;;;;;AAsBA,MAAMA,IAAS,CAACC,MAAuB;AACnC,QAAM;AAAA,IACF,mBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,gBAAAC,IAAiB;AAAA,IACjB,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,SAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,iBAAAC;AAAA,IACA,cAAAC,IAAe;AAAA,IACf,OAAAC;AA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