@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoComplete.js","sources":["../../../../lib/@ecme/components/shared/AutoComplete.tsx"],"sourcesContent":["import { ReactNode, ChangeEvent, useRef, useState, useEffect } from 'react'\nimport {\n autoUpdate,\n size,\n flip,\n useId,\n useDismiss,\n useFloating,\n useInteractions,\n useListNavigation,\n useRole,\n FloatingFocusManager,\n FloatingPortal,\n} from '@floating-ui/react'\nimport Input, { InputProps } from '@/components/ui/Input'\n\ninterface ItemProps {\n children: React.ReactNode\n active: boolean\n ref?: React.Ref<HTMLDivElement>\n}\n\ntype AutoCompleteProps<T> = Omit<InputProps, 'onChange'> & {\n data: Array<T>\n optionKey: (obj: T) => string\n value: string\n onInputChange: (value: string) => void\n onOptionSelected: (option: T) => void\n renderOption: (option: T) => ReactNode\n}\n\nconst Item = ({\n children,\n active,\n ref,\n ...rest\n}: ItemProps & React.HTMLProps<HTMLDivElement>) => {\n const id = useId()\n return (\n <div\n ref={ref}\n role=\"option\"\n id={id}\n aria-selected={active}\n {...rest}\n className=\"select-option hover:text-gray-800 hover:dark:text-gray-100\"\n >\n {children}\n </div>\n )\n}\n\nfunction AutoComplete<T>(props: AutoCompleteProps<T>) {\n const {\n data = [],\n optionKey,\n value,\n onInputChange,\n onOptionSelected,\n renderOption,\n ...rest\n } = props\n const [open, setOpen] = useState(false)\n const [activeIndex, setActiveIndex] = useState<number | null>(null)\n\n const [options, setOptions] = useState<Array<T>>([])\n\n const listRef = useRef<Array<HTMLElement | null>>([])\n\n useEffect(() => {\n const items = data.filter((item) =>\n optionKey(item).toLowerCase().includes(value.toLowerCase()),\n )\n setOptions(items)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value])\n\n const { refs, floatingStyles, context } = useFloating<HTMLInputElement>({\n whileElementsMounted: autoUpdate,\n open,\n onOpenChange: setOpen,\n middleware: [\n flip({ padding: 10 }),\n size({\n apply({ rects, availableHeight, elements }) {\n Object.assign(elements.floating.style, {\n width: `${rects.reference.width}px`,\n maxHeight: `${availableHeight}px`,\n })\n },\n padding: 10,\n }),\n ],\n })\n\n const role = useRole(context, { role: 'listbox' })\n const dismiss = useDismiss(context)\n const listNav = useListNavigation(context, {\n listRef,\n activeIndex,\n onNavigate: setActiveIndex,\n virtual: true,\n loop: true,\n })\n\n const { getReferenceProps, getFloatingProps, getItemProps } =\n useInteractions([role, dismiss, listNav])\n\n function onAutoCompleteChange(event: ChangeEvent<HTMLInputElement>) {\n const value = event.target.value\n onInputChange(value)\n const items = data.filter((item) =>\n optionKey(item).toLowerCase().includes(value.toLowerCase()),\n )\n if (value && items.length > 0) {\n setOpen(true)\n setActiveIndex(0)\n } else {\n setOpen(false)\n }\n }\n\n return (\n <>\n <Input\n {...rest}\n {...getReferenceProps({\n ref: refs.setReference,\n onChange: onAutoCompleteChange,\n value: value,\n 'aria-autocomplete': 'list',\n onKeyDown(event) {\n if (\n event.key === 'Enter' &&\n activeIndex != null &&\n options[activeIndex]\n ) {\n onInputChange(optionKey(options[activeIndex]))\n setActiveIndex(null)\n setOpen(false)\n }\n },\n })}\n />\n <FloatingPortal>\n {open && (\n <FloatingFocusManager\n visuallyHiddenDismiss\n context={context}\n initialFocus={-1}\n >\n <div\n {...getFloatingProps({\n ref: refs.setFloating,\n style: {\n ...floatingStyles,\n },\n className: 'select-menu py-1',\n })}\n >\n {options.map((item, index) => (\n <Item\n {...getItemProps({\n key: optionKey(item),\n ref(node) {\n listRef.current[index] = node\n },\n onClick() {\n onInputChange(optionKey(item))\n onOptionSelected(item)\n setOpen(false)\n refs.domReference.current?.focus()\n },\n })}\n key={`auto-complete-item-${index}`}\n active={activeIndex === index}\n >\n {renderOption(item)}\n </Item>\n ))}\n </div>\n </FloatingFocusManager>\n )}\n </FloatingPortal>\n </>\n )\n}\n\nexport default AutoComplete\n"],"names":["Item","children","active","ref","rest","id","useId","jsx","AutoComplete","props","data","optionKey","value","onInputChange","onOptionSelected","renderOption","open","setOpen","useState","activeIndex","setActiveIndex","options","setOptions","listRef","useRef","useEffect","items","item","refs","floatingStyles","context","useFloating","autoUpdate","flip","size","rects","availableHeight","elements","role","useRole","dismiss","useDismiss","listNav","useListNavigation","getReferenceProps","getFloatingProps","getItemProps","useInteractions","onAutoCompleteChange","event","jsxs","Fragment","Input","FloatingPortal","FloatingFocusManager","index","createElement","node"
|
|
1
|
+
{"version":3,"file":"AutoComplete.js","sources":["../../../../lib/@ecme/components/shared/AutoComplete.tsx"],"sourcesContent":["import { ReactNode, ChangeEvent, useRef, useState, useEffect } from 'react'\nimport {\n autoUpdate,\n size,\n flip,\n useId,\n useDismiss,\n useFloating,\n useInteractions,\n useListNavigation,\n useRole,\n FloatingFocusManager,\n FloatingPortal,\n} from '@floating-ui/react'\nimport Input, { InputProps } from '@/components/ui/Input'\n\ninterface ItemProps {\n children: React.ReactNode\n active: boolean\n ref?: React.Ref<HTMLDivElement>\n}\n\ntype AutoCompleteProps<T> = Omit<InputProps, 'onChange'> & {\n data: Array<T>\n optionKey: (obj: T) => string\n value: string\n onInputChange: (value: string) => void\n onOptionSelected: (option: T) => void\n renderOption: (option: T) => ReactNode\n}\n\nconst Item = ({\n children,\n active,\n ref,\n ...rest\n}: ItemProps & React.HTMLProps<HTMLDivElement>) => {\n const id = useId()\n return (\n <div\n ref={ref}\n role=\"option\"\n id={id}\n aria-selected={active}\n {...rest}\n className=\"select-option hover:text-gray-800 hover:dark:text-gray-100\"\n >\n {children}\n </div>\n )\n}\n\nfunction AutoComplete<T>(props: AutoCompleteProps<T>) {\n const {\n data = [],\n optionKey,\n value,\n onInputChange,\n onOptionSelected,\n renderOption,\n ...rest\n } = props\n const [open, setOpen] = useState(false)\n const [activeIndex, setActiveIndex] = useState<number | null>(null)\n\n const [options, setOptions] = useState<Array<T>>([])\n\n const listRef = useRef<Array<HTMLElement | null>>([])\n\n useEffect(() => {\n const items = data.filter((item) =>\n optionKey(item).toLowerCase().includes(value.toLowerCase()),\n )\n setOptions(items)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value])\n\n const { refs, floatingStyles, context } = useFloating<HTMLInputElement>({\n whileElementsMounted: autoUpdate,\n open,\n onOpenChange: setOpen,\n middleware: [\n flip({ padding: 10 }),\n size({\n apply({ rects, availableHeight, elements }) {\n Object.assign(elements.floating.style, {\n width: `${rects.reference.width}px`,\n maxHeight: `${availableHeight}px`,\n })\n },\n padding: 10,\n }),\n ],\n })\n\n const role = useRole(context, { role: 'listbox' })\n const dismiss = useDismiss(context)\n const listNav = useListNavigation(context, {\n listRef,\n activeIndex,\n onNavigate: setActiveIndex,\n virtual: true,\n loop: true,\n })\n\n const { getReferenceProps, getFloatingProps, getItemProps } =\n useInteractions([role, dismiss, listNav])\n\n function onAutoCompleteChange(event: ChangeEvent<HTMLInputElement>) {\n const value = event.target.value\n onInputChange(value)\n const items = data.filter((item) =>\n optionKey(item).toLowerCase().includes(value.toLowerCase()),\n )\n if (value && items.length > 0) {\n setOpen(true)\n setActiveIndex(0)\n } else {\n setOpen(false)\n }\n }\n\n return (\n <>\n <Input\n {...rest}\n {...getReferenceProps({\n ref: refs.setReference,\n onChange: onAutoCompleteChange,\n value: value,\n 'aria-autocomplete': 'list',\n onKeyDown(event) {\n if (\n event.key === 'Enter' &&\n activeIndex != null &&\n options[activeIndex]\n ) {\n onInputChange(optionKey(options[activeIndex]))\n setActiveIndex(null)\n setOpen(false)\n }\n },\n })}\n />\n <FloatingPortal>\n {open && (\n <FloatingFocusManager\n visuallyHiddenDismiss\n context={context}\n initialFocus={-1}\n >\n <div\n {...getFloatingProps({\n ref: refs.setFloating,\n style: {\n ...floatingStyles,\n },\n className: 'select-menu py-1',\n })}\n >\n {options.map((item, index) => (\n <Item\n {...getItemProps({\n key: optionKey(item),\n ref(node) {\n listRef.current[index] = node\n },\n onClick() {\n onInputChange(optionKey(item))\n onOptionSelected(item)\n setOpen(false)\n refs.domReference.current?.focus()\n },\n })}\n key={`auto-complete-item-${index}`}\n active={activeIndex === index}\n >\n {renderOption(item)}\n </Item>\n ))}\n </div>\n </FloatingFocusManager>\n )}\n </FloatingPortal>\n </>\n )\n}\n\nexport default AutoComplete\n"],"names":["Item","children","active","ref","rest","id","useId","jsx","AutoComplete","props","data","optionKey","value","onInputChange","onOptionSelected","renderOption","open","setOpen","useState","activeIndex","setActiveIndex","options","setOptions","listRef","useRef","useEffect","items","item","refs","floatingStyles","context","useFloating","autoUpdate","flip","size","rects","availableHeight","elements","role","useRole","dismiss","useDismiss","listNav","useListNavigation","getReferenceProps","getFloatingProps","getItemProps","useInteractions","onAutoCompleteChange","event","jsxs","Fragment","Input","FloatingPortal","FloatingFocusManager","index","createElement","node"],"mappings":";;;;;AA+BA,MAAMA,IAAO,CAAC;AAAA,EACV,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,KAAAC;AAAA,EACA,GAAGC;AACP,MAAmD;AAC/C,QAAMC,IAAKC,EAAA;AACX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c;AAAA,QAEd,UAAA,gBAAAvB;AAAA,UAAC;AAAA,UAAA;AAAA,YACI,GAAGsC,EAAiB;AAAA,cACjB,KAAKjB,EAAK;AAAA,cACV,OAAO;AAAA,gBACH,GAAGC;AAAA,cAAA;AAAA,cAEP,WAAW;AAAA,YAAA,CACd;AAAA,YAEA,UAAAR,EAAQ,IAAI,CAACM,GAAM4B,MAChB,gBAAAC;AAAA,cAACxD;AAAA,cAAA;AAAA,gBACI,GAAG8C,EAAa;AAAA,kBACb,KAAKnC,EAAUgB,CAAI;AAAA,kBACnB,IAAI8B,GAAM;AACN,oBAAAlC,EAAQ,QAAQgC,CAAK,IAAIE;AAAA,kBAC7B;AAAA,kBACA,UAAU;AACN,oBAAA5C,EAAcF,EAAUgB,CAAI,CAAC,GAC7Bb,EAAiBa,CAAI,GACrBV,EAAQ,EAAK,GACbW,EAAK,aAAa,SAAS,MAAA;AAAA,kBAC/B;AAAA,gBAAA,CACH;AAAA,gBACD,KAAK,sBAAsB2B,CAAK;AAAA,gBAChC,QAAQpC,MAAgBoC;AAAA,cAAA;AAAA,cAEvBxC,EAAaY,CAAI;AAAA,YAAA,CAEzB;AAAA,UAAA;AAAA,QAAA;AAAA,MACL;AAAA,IAAA,EACJ,CAER;AAAA,EAAA,GACJ;AAER;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { jsx as n, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import i from "../../utils/classNames.js";
|
|
3
|
+
import g from "@fullcalendar/react";
|
|
4
|
+
import m from "@fullcalendar/daygrid";
|
|
5
|
+
import u from "@fullcalendar/timegrid";
|
|
6
|
+
import x from "@fullcalendar/interaction";
|
|
7
7
|
const e = {
|
|
8
8
|
red: {
|
|
9
9
|
bg: "bg-[#fbddd9]",
|
|
@@ -29,14 +29,14 @@ const e = {
|
|
|
29
29
|
bg: "bg-[#ccbbfc]",
|
|
30
30
|
text: "text-gray-900"
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, G = (a) => {
|
|
33
33
|
const {
|
|
34
|
-
wrapperClass:
|
|
34
|
+
wrapperClass: s,
|
|
35
35
|
eventColors: l = () => e,
|
|
36
|
-
...
|
|
37
|
-
} =
|
|
38
|
-
return /* @__PURE__ */ n("div", { className:
|
|
39
|
-
|
|
36
|
+
...b
|
|
37
|
+
} = a;
|
|
38
|
+
return /* @__PURE__ */ n("div", { className: i("calendar", s), children: /* @__PURE__ */ n(
|
|
39
|
+
g,
|
|
40
40
|
{
|
|
41
41
|
initialView: "dayGridMonth",
|
|
42
42
|
headerToolbar: {
|
|
@@ -45,15 +45,14 @@ const e = {
|
|
|
45
45
|
right: "dayGridMonth,timeGridWeek,timeGridDay prev,next"
|
|
46
46
|
},
|
|
47
47
|
eventContent: (t) => {
|
|
48
|
-
var i, a;
|
|
49
48
|
const { extendedProps: r } = t.event, { isEnd: o, isStart: d } = t;
|
|
50
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ c(
|
|
51
50
|
"div",
|
|
52
51
|
{
|
|
53
|
-
className:
|
|
52
|
+
className: i(
|
|
54
53
|
"custom-calendar-event",
|
|
55
|
-
r.eventColor ? (
|
|
56
|
-
r.eventColor ? (
|
|
54
|
+
r.eventColor ? (l(e) || e)[r.eventColor]?.bg : "",
|
|
55
|
+
r.eventColor ? (l(e) || e)[r.eventColor]?.text : "",
|
|
57
56
|
o && !d && "!rounded-tl-none !rounded-bl-none !rtl:rounded-tr-none !rtl:rounded-br-none",
|
|
58
57
|
!o && d && "!rounded-tr-none !rounded-br-none !rtl:rounded-tl-none !rtl:rounded-bl-none"
|
|
59
58
|
),
|
|
@@ -64,12 +63,12 @@ const e = {
|
|
|
64
63
|
}
|
|
65
64
|
);
|
|
66
65
|
},
|
|
67
|
-
plugins: [
|
|
68
|
-
...
|
|
66
|
+
plugins: [m, u, x],
|
|
67
|
+
...b
|
|
69
68
|
}
|
|
70
69
|
) });
|
|
71
70
|
};
|
|
72
71
|
export {
|
|
73
|
-
|
|
72
|
+
G as default
|
|
74
73
|
};
|
|
75
74
|
//# sourceMappingURL=CalendarView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarView.js","sources":["../../../../lib/@ecme/components/shared/CalendarView.tsx"],"sourcesContent":["import classNames from '@/utils/classNames'\nimport FullCalendar from '@fullcalendar/react'\nimport dayGridPlugin from '@fullcalendar/daygrid'\nimport timeGridPlugin from '@fullcalendar/timegrid'\nimport interactionPlugin from '@fullcalendar/interaction'\nimport { CalendarOptions } from '@fullcalendar/core'\n\ntype EventColors = Record<\n string,\n {\n bg: string\n text: string\n }\n>\n\ninterface CalendarViewProps extends CalendarOptions {\n wrapperClass?: string\n eventColors?: (colors: EventColors) => EventColors\n}\n\nconst defaultColorList: Record<\n string,\n {\n bg: string\n text: string\n }\n> = {\n red: {\n bg: 'bg-[#fbddd9]',\n text: 'text-gray-900',\n },\n orange: {\n bg: 'bg-[#ffc6ab]',\n text: 'text-gray-900',\n },\n yellow: {\n bg: 'bg-[#ffd993]',\n text: 'text-gray-900',\n },\n green: {\n bg: 'bg-[#bee9d3]',\n text: 'text-gray-900',\n },\n blue: {\n bg: 'bg-[#bce9fb]',\n text: 'text-gray-900',\n },\n purple: {\n bg: 'bg-[#ccbbfc]',\n text: 'text-gray-900',\n },\n}\n\nconst CalendarView = (props: CalendarViewProps) => {\n const {\n wrapperClass,\n eventColors = () => defaultColorList,\n ...rest\n } = props\n\n return (\n <div className={classNames('calendar', wrapperClass)}>\n <FullCalendar\n initialView=\"dayGridMonth\"\n headerToolbar={{\n left: 'title',\n center: '',\n right: 'dayGridMonth,timeGridWeek,timeGridDay prev,next',\n }}\n eventContent={(arg) => {\n const { extendedProps } = arg.event\n const { isEnd, isStart } = arg\n return (\n <div\n className={classNames(\n 'custom-calendar-event',\n extendedProps.eventColor\n ? (eventColors(defaultColorList) ||\n defaultColorList)[\n extendedProps.eventColor\n ]?.bg\n : '',\n extendedProps.eventColor\n ? (eventColors(defaultColorList) ||\n defaultColorList)[\n extendedProps.eventColor\n ]?.text\n : '',\n isEnd &&\n !isStart &&\n '!rounded-tl-none !rounded-bl-none !rtl:rounded-tr-none !rtl:rounded-br-none',\n !isEnd &&\n isStart &&\n '!rounded-tr-none !rounded-br-none !rtl:rounded-tl-none !rtl:rounded-bl-none',\n )}\n >\n {!(isEnd && !isStart) && (\n <span>{arg.timeText}</span>\n )}\n <span className=\"font-bold ml-1 rtl:mr-1\">\n {arg.event.title}\n </span>\n </div>\n )\n }}\n plugins={[dayGridPlugin, timeGridPlugin, interactionPlugin]}\n {...rest}\n />\n </div>\n )\n}\n\nexport default CalendarView\n"],"names":["defaultColorList","CalendarView","props","wrapperClass","eventColors","rest","classNames","jsx","FullCalendar","arg","extendedProps","isEnd","isStart","jsxs","
|
|
1
|
+
{"version":3,"file":"CalendarView.js","sources":["../../../../lib/@ecme/components/shared/CalendarView.tsx"],"sourcesContent":["import classNames from '@/utils/classNames'\nimport FullCalendar from '@fullcalendar/react'\nimport dayGridPlugin from '@fullcalendar/daygrid'\nimport timeGridPlugin from '@fullcalendar/timegrid'\nimport interactionPlugin from '@fullcalendar/interaction'\nimport { CalendarOptions } from '@fullcalendar/core'\n\ntype EventColors = Record<\n string,\n {\n bg: string\n text: string\n }\n>\n\ninterface CalendarViewProps extends CalendarOptions {\n wrapperClass?: string\n eventColors?: (colors: EventColors) => EventColors\n}\n\nconst defaultColorList: Record<\n string,\n {\n bg: string\n text: string\n }\n> = {\n red: {\n bg: 'bg-[#fbddd9]',\n text: 'text-gray-900',\n },\n orange: {\n bg: 'bg-[#ffc6ab]',\n text: 'text-gray-900',\n },\n yellow: {\n bg: 'bg-[#ffd993]',\n text: 'text-gray-900',\n },\n green: {\n bg: 'bg-[#bee9d3]',\n text: 'text-gray-900',\n },\n blue: {\n bg: 'bg-[#bce9fb]',\n text: 'text-gray-900',\n },\n purple: {\n bg: 'bg-[#ccbbfc]',\n text: 'text-gray-900',\n },\n}\n\nconst CalendarView = (props: CalendarViewProps) => {\n const {\n wrapperClass,\n eventColors = () => defaultColorList,\n ...rest\n } = props\n\n return (\n <div className={classNames('calendar', wrapperClass)}>\n <FullCalendar\n initialView=\"dayGridMonth\"\n headerToolbar={{\n left: 'title',\n center: '',\n right: 'dayGridMonth,timeGridWeek,timeGridDay prev,next',\n }}\n eventContent={(arg) => {\n const { extendedProps } = arg.event\n const { isEnd, isStart } = arg\n return (\n <div\n className={classNames(\n 'custom-calendar-event',\n extendedProps.eventColor\n ? (eventColors(defaultColorList) ||\n defaultColorList)[\n extendedProps.eventColor\n ]?.bg\n : '',\n extendedProps.eventColor\n ? (eventColors(defaultColorList) ||\n defaultColorList)[\n extendedProps.eventColor\n ]?.text\n : '',\n isEnd &&\n !isStart &&\n '!rounded-tl-none !rounded-bl-none !rtl:rounded-tr-none !rtl:rounded-br-none',\n !isEnd &&\n isStart &&\n '!rounded-tr-none !rounded-br-none !rtl:rounded-tl-none !rtl:rounded-bl-none',\n )}\n >\n {!(isEnd && !isStart) && (\n <span>{arg.timeText}</span>\n )}\n <span className=\"font-bold ml-1 rtl:mr-1\">\n {arg.event.title}\n </span>\n </div>\n )\n }}\n plugins={[dayGridPlugin, timeGridPlugin, interactionPlugin]}\n {...rest}\n />\n </div>\n )\n}\n\nexport default CalendarView\n"],"names":["defaultColorList","CalendarView","props","wrapperClass","eventColors","rest","classNames","jsx","FullCalendar","arg","extendedProps","isEnd","isStart","jsxs","dayGridPlugin","timeGridPlugin","interactionPlugin"],"mappings":";;;;;;AAoBA,MAAMA,IAMF;AAAA,EACA,KAAK;AAAA,IACD,IAAI;AAAA,IACJ,MAAM;AAAA,EAAA;AAAA,EAEV,QAAQ;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,EAAA;AAAA,EAEV,QAAQ;AAAA,IACJ,IAAI;AAAA,IACJ,M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A,IAAA;AAAA,EAAA,GAEZ;AAER;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { HiOutlineExclamation as f, HiOutlineExclamationCircle as g, HiCheckCircle as
|
|
2
|
+
import { HiOutlineExclamation as f, HiOutlineExclamationCircle as g, HiCheckCircle as C, HiOutlineInformationCircle as N } from "react-icons/hi";
|
|
3
3
|
import { Avatar as a } from "../ui/Avatar/index.js";
|
|
4
4
|
import "../ui/Button/index.js";
|
|
5
5
|
import "../ui/Dialog/index.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import k from "../ui/Dialog/Dialog.js";
|
|
7
|
+
import t from "../ui/Button/Button.js";
|
|
8
8
|
const v = ({ status: l }) => {
|
|
9
9
|
switch (l) {
|
|
10
10
|
case "info":
|
|
@@ -13,7 +13,7 @@ const v = ({ status: l }) => {
|
|
|
13
13
|
{
|
|
14
14
|
className: "bg-blue-100 text-blue-600 dark:bg-blue-500/20 dark:text-blue-100",
|
|
15
15
|
shape: "circle",
|
|
16
|
-
children: /* @__PURE__ */ e("span", { className: "text-2xl", children: /* @__PURE__ */ e(
|
|
16
|
+
children: /* @__PURE__ */ e("span", { className: "text-2xl", children: /* @__PURE__ */ e(N, {}) })
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
case "success":
|
|
@@ -22,7 +22,7 @@ const v = ({ status: l }) => {
|
|
|
22
22
|
{
|
|
23
23
|
className: "bg-emerald-100 text-emerald-600 dark:bg-emerald-500/20 dark:text-emerald-100",
|
|
24
24
|
shape: "circle",
|
|
25
|
-
children: /* @__PURE__ */ e("span", { className: "text-2xl", children: /* @__PURE__ */ e(
|
|
25
|
+
children: /* @__PURE__ */ e("span", { className: "text-2xl", children: /* @__PURE__ */ e(C, {}) })
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
case "warning":
|
|
@@ -49,31 +49,31 @@ const v = ({ status: l }) => {
|
|
|
49
49
|
}, D = (l) => {
|
|
50
50
|
const {
|
|
51
51
|
type: n = "info",
|
|
52
|
-
title:
|
|
53
|
-
children:
|
|
54
|
-
onCancel:
|
|
55
|
-
onConfirm:
|
|
52
|
+
title: c,
|
|
53
|
+
children: i,
|
|
54
|
+
onCancel: s,
|
|
55
|
+
onConfirm: d,
|
|
56
56
|
cancelText: m = "Cancel",
|
|
57
57
|
confirmText: o = "Confirm",
|
|
58
58
|
confirmButtonProps: x,
|
|
59
59
|
cancelButtonProps: h,
|
|
60
60
|
...p
|
|
61
61
|
} = l, u = () => {
|
|
62
|
-
|
|
62
|
+
s?.();
|
|
63
63
|
}, b = () => {
|
|
64
|
-
|
|
64
|
+
d?.();
|
|
65
65
|
};
|
|
66
|
-
return /* @__PURE__ */ r(
|
|
66
|
+
return /* @__PURE__ */ r(k, { contentClassName: "pb-0 px-0", ...p, children: [
|
|
67
67
|
/* @__PURE__ */ r("div", { className: "px-6 pb-6 pt-2 flex", children: [
|
|
68
68
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(v, { status: n }) }),
|
|
69
69
|
/* @__PURE__ */ r("div", { className: "ml-4 rtl:mr-4", children: [
|
|
70
|
-
/* @__PURE__ */ e("h5", { className: "mb-2", children:
|
|
71
|
-
|
|
70
|
+
/* @__PURE__ */ e("h5", { className: "mb-2", children: c }),
|
|
71
|
+
i
|
|
72
72
|
] })
|
|
73
73
|
] }),
|
|
74
74
|
/* @__PURE__ */ e("div", { className: "px-6 py-3 bg-gray-100 dark:bg-gray-700 rounded-bl-2xl rounded-br-2xl", children: /* @__PURE__ */ r("div", { className: "flex justify-end items-center gap-2", children: [
|
|
75
75
|
/* @__PURE__ */ e(
|
|
76
|
-
|
|
76
|
+
t,
|
|
77
77
|
{
|
|
78
78
|
size: "sm",
|
|
79
79
|
onClick: u,
|
|
@@ -82,7 +82,7 @@ const v = ({ status: l }) => {
|
|
|
82
82
|
}
|
|
83
83
|
),
|
|
84
84
|
/* @__PURE__ */ e(
|
|
85
|
-
|
|
85
|
+
t,
|
|
86
86
|
{
|
|
87
87
|
size: "sm",
|
|
88
88
|
variant: "solid",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.js","sources":["../../../../lib/@ecme/components/shared/ConfirmDialog.tsx"],"sourcesContent":["import {\n HiCheckCircle,\n HiOutlineInformationCircle,\n HiOutlineExclamation,\n HiOutlineExclamationCircle,\n} from 'react-icons/hi'\nimport Avatar from '@/components/ui/Avatar'\nimport Button from '@/components/ui/Button'\nimport Dialog from '@/components/ui/Dialog'\nimport type { ReactNode } from 'react'\nimport type { DialogProps } from '@/components/ui/Dialog'\nimport type { ButtonProps } from '@/components/ui/Button'\n\ntype StatusType = 'info' | 'success' | 'warning' | 'danger'\n\ninterface ConfirmDialogProps extends DialogProps {\n cancelText?: ReactNode | string\n confirmText?: ReactNode | string\n confirmButtonProps?: ButtonProps\n cancelButtonProps?: ButtonProps\n type?: StatusType\n title?: ReactNode | string\n onCancel?: () => void\n onConfirm?: () => void\n}\n\nconst StatusIcon = ({ status }: { status: StatusType }) => {\n switch (status) {\n case 'info':\n return (\n <Avatar\n className=\"bg-blue-100 text-blue-600 dark:bg-blue-500/20 dark:text-blue-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiOutlineInformationCircle />\n </span>\n </Avatar>\n )\n case 'success':\n return (\n <Avatar\n className=\"bg-emerald-100 text-emerald-600 dark:bg-emerald-500/20 dark:text-emerald-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiCheckCircle />\n </span>\n </Avatar>\n )\n case 'warning':\n return (\n <Avatar\n className=\"text-amber-600 bg-amber-100 dark:text-amber-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiOutlineExclamationCircle />\n </span>\n </Avatar>\n )\n case 'danger':\n return (\n <Avatar\n className=\"text-red-600 bg-red-100 dark:text-red-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiOutlineExclamation />\n </span>\n </Avatar>\n )\n\n default:\n return null\n }\n}\n\nconst ConfirmDialog = (props: ConfirmDialogProps) => {\n const {\n type = 'info',\n title,\n children,\n onCancel,\n onConfirm,\n cancelText = 'Cancel',\n confirmText = 'Confirm',\n confirmButtonProps,\n cancelButtonProps,\n ...rest\n } = props\n\n const handleCancel = () => {\n onCancel?.()\n }\n\n const handleConfirm = () => {\n onConfirm?.()\n }\n\n return (\n <Dialog contentClassName=\"pb-0 px-0\" {...rest}>\n <div className=\"px-6 pb-6 pt-2 flex\">\n <div>\n <StatusIcon status={type} />\n </div>\n <div className=\"ml-4 rtl:mr-4\">\n <h5 className=\"mb-2\">{title}</h5>\n {children}\n </div>\n </div>\n <div className=\"px-6 py-3 bg-gray-100 dark:bg-gray-700 rounded-bl-2xl rounded-br-2xl\">\n <div className=\"flex justify-end items-center gap-2\">\n <Button\n size=\"sm\"\n onClick={handleCancel}\n {...cancelButtonProps}\n >\n {cancelText}\n </Button>\n <Button\n size=\"sm\"\n variant=\"solid\"\n onClick={handleConfirm}\n {...confirmButtonProps}\n >\n {confirmText}\n </Button>\n </div>\n </div>\n </Dialog>\n )\n}\n\nexport default ConfirmDialog\n"],"names":["StatusIcon","status","jsx","Avatar","HiOutlineInformationCircle","HiCheckCircle","HiOutlineExclamationCircle","HiOutlineExclamation","ConfirmDialog","props","type","title","children","onCancel","onConfirm","cancelText","confirmText","confirmButtonProps","cancelButtonProps","rest","handleCancel","handleConfirm","jsxs","Dialog","Button"],"mappings":";;;;;;;AA0BA,MAAMA,IAAa,CAAC,EAAE,QAAAC,QAAqC;AACvD,UAAQA,GAAA;AAAA,IACJ,KAAK;AACD,aACI,gBAAAC;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACE,KAA2B,EAAA,CAChC;AAAA,QAAA;AAAA,MAAA;AAAA,IAGZ,KAAK;AACD,aACI,gBAAAF;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACG,KAAc,EAAA,CACnB;AAAA,QAAA;AAAA,MAAA;AAAA,IAGZ,KAAK;AACD,aACI,gBAAAH;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACI,KAA2B,EAAA,CAChC;AAAA,QAAA;AAAA,MAAA;AAAA,IAGZ,KAAK;AACD,aACI,gBAAAJ;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACK,KAAqB,EAAA,CAC1B;AAAA,QAAA;AAAA,MAAA;AAAA,IAIZ;AACI,aAAO;AAAA,EAAA;AAEnB,GAEMC,IAAgB,CAACC,MAA8B;AACjD,QAAM;AAAA,IACF,MAAAC,IAAO;AAAA,IACP,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,aAAAC,IAAc;AAAA,IACd,oBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IACHV,GAEEW,IAAe,MAAM;AACvB,IAAAP,
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.js","sources":["../../../../lib/@ecme/components/shared/ConfirmDialog.tsx"],"sourcesContent":["import {\n HiCheckCircle,\n HiOutlineInformationCircle,\n HiOutlineExclamation,\n HiOutlineExclamationCircle,\n} from 'react-icons/hi'\nimport Avatar from '@/components/ui/Avatar'\nimport Button from '@/components/ui/Button'\nimport Dialog from '@/components/ui/Dialog'\nimport type { ReactNode } from 'react'\nimport type { DialogProps } from '@/components/ui/Dialog'\nimport type { ButtonProps } from '@/components/ui/Button'\n\ntype StatusType = 'info' | 'success' | 'warning' | 'danger'\n\ninterface ConfirmDialogProps extends DialogProps {\n cancelText?: ReactNode | string\n confirmText?: ReactNode | string\n confirmButtonProps?: ButtonProps\n cancelButtonProps?: ButtonProps\n type?: StatusType\n title?: ReactNode | string\n onCancel?: () => void\n onConfirm?: () => void\n}\n\nconst StatusIcon = ({ status }: { status: StatusType }) => {\n switch (status) {\n case 'info':\n return (\n <Avatar\n className=\"bg-blue-100 text-blue-600 dark:bg-blue-500/20 dark:text-blue-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiOutlineInformationCircle />\n </span>\n </Avatar>\n )\n case 'success':\n return (\n <Avatar\n className=\"bg-emerald-100 text-emerald-600 dark:bg-emerald-500/20 dark:text-emerald-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiCheckCircle />\n </span>\n </Avatar>\n )\n case 'warning':\n return (\n <Avatar\n className=\"text-amber-600 bg-amber-100 dark:text-amber-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiOutlineExclamationCircle />\n </span>\n </Avatar>\n )\n case 'danger':\n return (\n <Avatar\n className=\"text-red-600 bg-red-100 dark:text-red-100\"\n shape=\"circle\"\n >\n <span className=\"text-2xl\">\n <HiOutlineExclamation />\n </span>\n </Avatar>\n )\n\n default:\n return null\n }\n}\n\nconst ConfirmDialog = (props: ConfirmDialogProps) => {\n const {\n type = 'info',\n title,\n children,\n onCancel,\n onConfirm,\n cancelText = 'Cancel',\n confirmText = 'Confirm',\n confirmButtonProps,\n cancelButtonProps,\n ...rest\n } = props\n\n const handleCancel = () => {\n onCancel?.()\n }\n\n const handleConfirm = () => {\n onConfirm?.()\n }\n\n return (\n <Dialog contentClassName=\"pb-0 px-0\" {...rest}>\n <div className=\"px-6 pb-6 pt-2 flex\">\n <div>\n <StatusIcon status={type} />\n </div>\n <div className=\"ml-4 rtl:mr-4\">\n <h5 className=\"mb-2\">{title}</h5>\n {children}\n </div>\n </div>\n <div className=\"px-6 py-3 bg-gray-100 dark:bg-gray-700 rounded-bl-2xl rounded-br-2xl\">\n <div className=\"flex justify-end items-center gap-2\">\n <Button\n size=\"sm\"\n onClick={handleCancel}\n {...cancelButtonProps}\n >\n {cancelText}\n </Button>\n <Button\n size=\"sm\"\n variant=\"solid\"\n onClick={handleConfirm}\n {...confirmButtonProps}\n >\n {confirmText}\n </Button>\n </div>\n </div>\n </Dialog>\n )\n}\n\nexport default ConfirmDialog\n"],"names":["StatusIcon","status","jsx","Avatar","HiOutlineInformationCircle","HiCheckCircle","HiOutlineExclamationCircle","HiOutlineExclamation","ConfirmDialog","props","type","title","children","onCancel","onConfirm","cancelText","confirmText","confirmButtonProps","cancelButtonProps","rest","handleCancel","handleConfirm","jsxs","Dialog","Button"],"mappings":";;;;;;;AA0BA,MAAMA,IAAa,CAAC,EAAE,QAAAC,QAAqC;AACvD,UAAQA,GAAA;AAAA,IACJ,KAAK;AACD,aACI,gBAAAC;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACE,KAA2B,EAAA,CAChC;AAAA,QAAA;AAAA,MAAA;AAAA,IAGZ,KAAK;AACD,aACI,gBAAAF;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACG,KAAc,EAAA,CACnB;AAAA,QAAA;AAAA,MAAA;AAAA,IAGZ,KAAK;AACD,aACI,gBAAAH;AAAA,QAACC;AAAA,QAAA;AAAA,UACG,WAAU;AAAA,UACV,OAAM;AAAA,UAEN,4BAAC,QAAA,EAAK,WAAU,YACZ,UAAA,gBAAAD,EAACI,KAA2B,EAAA,CAChC;AAAA,QAAA;AAAA,MAAA;AAAA,IAGZ,KAAK;AACD,aACI,gBAAAJ;AAAA,QAACC;AAA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