@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,10 +1,10 @@
|
|
|
1
|
-
import { apiFindDmCanalDistribuicaoByCodigo as
|
|
2
|
-
import { useCanalDistribuicaoListStore as
|
|
1
|
+
import { apiFindDmCanalDistribuicaoByCodigo as l } from "../../../services/modules/dm/canalDistribuicao/CanalDistribuicaoService.js";
|
|
2
|
+
import { useCanalDistribuicaoListStore as u } from "../../../store/dm/canalDistribuicao/canalDistribuicaoListStore.js";
|
|
3
3
|
import m from "swr";
|
|
4
4
|
function p() {
|
|
5
|
-
const { tableParams: s, filterParams:
|
|
6
|
-
|
|
7
|
-
([,
|
|
5
|
+
const { tableParams: s, filterParams: a, setTableParams: r, setFilterParams: c } = u((i) => i), o = a?.codigo, { data: t, error: e, isLoading: n, mutate: d } = m(
|
|
6
|
+
o ? ["/api/dm/canal-distribuicao/find/{codigo}", o] : null,
|
|
7
|
+
([, i]) => l(i),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
@@ -12,10 +12,10 @@ function p() {
|
|
|
12
12
|
return {
|
|
13
13
|
data: t,
|
|
14
14
|
canalDistribuicaosByCodigoList: t || [],
|
|
15
|
-
error:
|
|
16
|
-
isLoading:
|
|
15
|
+
error: e,
|
|
16
|
+
isLoading: n,
|
|
17
17
|
tableParams: s,
|
|
18
|
-
filterParams:
|
|
18
|
+
filterParams: a,
|
|
19
19
|
mutate: d,
|
|
20
20
|
setTableParams: r,
|
|
21
21
|
setFilterParams: c
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCanalDistribuicaoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmCanalDistribuicaoByCodigo } from '@base/services/modules/dm/canalDistribuicao/CanalDistribuicaoService'\nimport { useCanalDistribuicaoListStore } from '@base/store/dm/canalDistribuicao/canalDistribuicaoListStore'\nimport useSWR from 'swr'\n\nexport default function useCanalDistribuicaoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useCanalDistribuicaoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/canal-distribuicao/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmCanalDistribuicaoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const canalDistribuicaosByCodigoList = data || []\n\n return {\n data,\n canalDistribuicaosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useCanalDistribuicaoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useCanalDistribuicaoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmCanalDistribuicaoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAmC;AACvD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA8B,CAACC,MAAUA,CAAK,GAE/GC,IAASL,
|
|
1
|
+
{"version":3,"file":"useCanalDistribuicaoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmCanalDistribuicaoByCodigo } from '@base/services/modules/dm/canalDistribuicao/CanalDistribuicaoService'\nimport { useCanalDistribuicaoListStore } from '@base/store/dm/canalDistribuicao/canalDistribuicaoListStore'\nimport useSWR from 'swr'\n\nexport default function useCanalDistribuicaoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useCanalDistribuicaoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/canal-distribuicao/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmCanalDistribuicaoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const canalDistribuicaosByCodigoList = data || []\n\n return {\n data,\n canalDistribuicaosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useCanalDistribuicaoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useCanalDistribuicaoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmCanalDistribuicaoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAmC;AACvD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA8B,CAACC,MAAUA,CAAK,GAE/GC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,4CAA4CA,CAAM,IAAI;AAAA,IAChE,CAAC,GAAGA,CAAM,MAAwBM,EAAmCN,CAAM;AAAA,IAC3E;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,gCAJmCA,KAAQ,CAAA;AAAA,IAK3C,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { apiFindDmCanalDistribuicao as b } from "../../../services/modules/dm/canalDistribuicao/CanalDistribuicaoService.js";
|
|
2
|
-
import { useCanalDistribuicaoListStore as
|
|
3
|
-
import
|
|
2
|
+
import { useCanalDistribuicaoListStore as d } from "../../../store/dm/canalDistribuicao/canalDistribuicaoListStore.js";
|
|
3
|
+
import f from "swr";
|
|
4
4
|
function P() {
|
|
5
|
-
const { tableParams:
|
|
5
|
+
const { tableParams: t, filterParams: i, setTableParams: s, setFilterParams: r } = d((m) => m), o = ["/api/dm/canal-distribuicao/find", i], { data: a, error: e, isLoading: n, mutate: c } = f(
|
|
6
6
|
o,
|
|
7
7
|
() => b(),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
), u =
|
|
9
|
+
), u = a || [], l = a?.length || 0;
|
|
10
10
|
return {
|
|
11
|
-
data:
|
|
11
|
+
data: a,
|
|
12
12
|
canaisDistribuicoesList: u,
|
|
13
13
|
canaisDistribuicoesListTotal: l,
|
|
14
14
|
error: e,
|
|
15
15
|
isLoading: n,
|
|
16
|
-
tableParams:
|
|
17
|
-
filterParams:
|
|
16
|
+
tableParams: t,
|
|
17
|
+
filterParams: i,
|
|
18
18
|
mutate: c,
|
|
19
|
-
setTableParams:
|
|
19
|
+
setTableParams: s,
|
|
20
20
|
setFilterParams: r
|
|
21
21
|
};
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCanalDistribuicaoList.js","sources":["../../../../../lib/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoList.tsx"],"sourcesContent":["import { apiFindDmCanalDistribuicao } from '@base/services/modules/dm/canalDistribuicao/CanalDistribuicaoService'\nimport { useCanalDistribuicaoListStore } from '@base/store/dm/canalDistribuicao/canalDistribuicaoListStore';\nimport useSWR from 'swr'\n\nexport default function useCanalDistribuicaoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useCanalDistribuicaoListStore((state) => state);\n\n const swrKey = [\"/api/dm/canal-distribuicao/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmCanalDistribuicao(),\n { revalidateOnFocus: false }\n );\n\n const canaisDistribuicoesList = data || []\n\n const canaisDistribuicoesListTotal = data?.length || 0\n\n return {\n data,\n canaisDistribuicoesList,\n canaisDistribuicoesListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}"],"names":["useCanalDistribuicaoList","tableParams","filterParams","setTableParams","setFilterParams","useCanalDistribuicaoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmCanalDistribuicao","canaisDistribuicoesList","canaisDistribuicoesListTotal"],"mappings":";;;AAIA,SAAwBA,IAA2B;AAC/C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA8B,CAACC,MAAUA,CAAK,GAE5CC,IAAS,CAAC,mCAAmCL,CAAY,GAEzD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAA0BN,KAAQ,CAAA,GAElCO,
|
|
1
|
+
{"version":3,"file":"useCanalDistribuicaoList.js","sources":["../../../../../lib/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoList.tsx"],"sourcesContent":["import { apiFindDmCanalDistribuicao } from '@base/services/modules/dm/canalDistribuicao/CanalDistribuicaoService'\nimport { useCanalDistribuicaoListStore } from '@base/store/dm/canalDistribuicao/canalDistribuicaoListStore';\nimport useSWR from 'swr'\n\nexport default function useCanalDistribuicaoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useCanalDistribuicaoListStore((state) => state);\n\n const swrKey = [\"/api/dm/canal-distribuicao/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmCanalDistribuicao(),\n { revalidateOnFocus: false }\n );\n\n const canaisDistribuicoesList = data || []\n\n const canaisDistribuicoesListTotal = data?.length || 0\n\n return {\n data,\n canaisDistribuicoesList,\n canaisDistribuicoesListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}"],"names":["useCanalDistribuicaoList","tableParams","filterParams","setTableParams","setFilterParams","useCanalDistribuicaoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmCanalDistribuicao","canaisDistribuicoesList","canaisDistribuicoesListTotal"],"mappings":";;;AAIA,SAAwBA,IAA2B;AAC/C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA8B,CAACC,MAAUA,CAAK,GAE5CC,IAAS,CAAC,mCAAmCL,CAAY,GAEzD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAA0BN,KAAQ,CAAA,GAElCO,IAA+BP,GAAM,UAAU;AAErD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,yBAAAM;AAAA,IACA,8BAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { apiFindDmCentroByCodigo as
|
|
2
|
-
import { useCentroListStore as
|
|
3
|
-
import
|
|
1
|
+
import { apiFindDmCentroByCodigo as c } from "../../../services/modules/dm/centro/CentroService.js";
|
|
2
|
+
import { useCentroListStore as l } from "../../../store/dm/centro/centroListStore.js";
|
|
3
|
+
import u from "swr";
|
|
4
4
|
function L() {
|
|
5
|
-
const { tableParams:
|
|
6
|
-
|
|
7
|
-
([,
|
|
5
|
+
const { tableParams: i, filterParams: t, setTableParams: s, setFilterParams: a } = l((o) => o), r = t?.codigo, { data: e, error: n, isLoading: d, mutate: m } = u(
|
|
6
|
+
r ? ["/api/dm/centro/find/{codigo}", r] : null,
|
|
7
|
+
([, o]) => c(o),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
11
11
|
);
|
|
12
12
|
return {
|
|
13
|
-
data:
|
|
14
|
-
centrosByCodigoList:
|
|
15
|
-
error:
|
|
13
|
+
data: e,
|
|
14
|
+
centrosByCodigoList: e || [],
|
|
15
|
+
error: n,
|
|
16
16
|
isLoading: d,
|
|
17
|
-
tableParams:
|
|
18
|
-
filterParams:
|
|
19
|
-
mutate:
|
|
17
|
+
tableParams: i,
|
|
18
|
+
filterParams: t,
|
|
19
|
+
mutate: m,
|
|
20
20
|
setTableParams: s,
|
|
21
|
-
setFilterParams:
|
|
21
|
+
setFilterParams: a
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCentroByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/centro/useCentroByCodigoList.tsx"],"sourcesContent":["import { apiFindDmCentroByCodigo } from '@base/services/modules/dm/centro/CentroService'\nimport { useCentroListStore } from '@base/store/dm/centro/centroListStore'\nimport useSWR from 'swr'\n\nexport default function useCentroByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useCentroListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/centro/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmCentroByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const centrosByCodigoList = data || []\n\n return {\n data,\n centrosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useCentroByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useCentroListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmCentroByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAwB;AAC5C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAmB,CAACC,MAAUA,CAAK,GAEpGC,IAASL,
|
|
1
|
+
{"version":3,"file":"useCentroByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/centro/useCentroByCodigoList.tsx"],"sourcesContent":["import { apiFindDmCentroByCodigo } from '@base/services/modules/dm/centro/CentroService'\nimport { useCentroListStore } from '@base/store/dm/centro/centroListStore'\nimport useSWR from 'swr'\n\nexport default function useCentroByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useCentroListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/centro/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmCentroByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const centrosByCodigoList = data || []\n\n return {\n data,\n centrosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useCentroByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useCentroListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmCentroByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAwB;AAC5C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAmB,CAACC,MAAUA,CAAK,GAEpGC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,gCAAgCA,CAAM,IAAI;AAAA,IACpD,CAAC,GAAGA,CAAM,MAAwBM,EAAwBN,CAAM;AAAA,IAChE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,qBAJwBA,KAAQ,CAAA;AAAA,IAKhC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { apiFindDmCentro as u } from "../../../services/modules/dm/centro/CentroService.js";
|
|
2
|
-
import { useCentroListStore as
|
|
3
|
-
import
|
|
2
|
+
import { useCentroListStore as d } from "../../../store/dm/centro/centroListStore.js";
|
|
3
|
+
import p from "swr";
|
|
4
4
|
function F() {
|
|
5
|
-
const { tableParams: e, filterParams: r, setTableParams: s, setFilterParams: o } =
|
|
6
|
-
|
|
5
|
+
const { tableParams: e, filterParams: r, setTableParams: s, setFilterParams: o } = d((f) => f), a = ["/api/dm/centro/find", r], { data: t, error: n, isLoading: i, mutate: m } = p(
|
|
6
|
+
a,
|
|
7
7
|
() => u(),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
), c = t || [], l =
|
|
9
|
+
), c = t || [], l = t?.length || 0;
|
|
10
10
|
return {
|
|
11
11
|
data: t,
|
|
12
12
|
centrosList: c,
|
|
13
13
|
centrosListTotal: l,
|
|
14
|
-
error:
|
|
14
|
+
error: n,
|
|
15
15
|
isLoading: i,
|
|
16
16
|
tableParams: e,
|
|
17
17
|
filterParams: r,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCentroList.js","sources":["../../../../../lib/base/hooks/dm/centro/useCentroList.tsx"],"sourcesContent":["import { apiFindDmCentro } from '@base/services/modules/dm/centro/CentroService'\nimport { useCentroListStore } from '@base/store/dm/centro/centroListStore';\nimport useSWR from 'swr'\n\nexport default function useCentroList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useCentroListStore((state) => state);\n\n const swrKey = [\"/api/dm/centro/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmCentro(),\n { revalidateOnFocus: false }\n );\n\n const centrosList = data || []\n\n const centrosListTotal = data?.length || 0\n\n return {\n data,\n centrosList,\n centrosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}"],"names":["useCentroList","tableParams","filterParams","setTableParams","setFilterParams","useCentroListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmCentro","centrosList","centrosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAgB;AACpC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAmB,CAACC,MAAUA,CAAK,GAEjCC,IAAS,CAAC,uBAAuBL,CAAY,GAE7C,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAcN,KAAQ,CAAA,GAEtBO,
|
|
1
|
+
{"version":3,"file":"useCentroList.js","sources":["../../../../../lib/base/hooks/dm/centro/useCentroList.tsx"],"sourcesContent":["import { apiFindDmCentro } from '@base/services/modules/dm/centro/CentroService'\nimport { useCentroListStore } from '@base/store/dm/centro/centroListStore';\nimport useSWR from 'swr'\n\nexport default function useCentroList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useCentroListStore((state) => state);\n\n const swrKey = [\"/api/dm/centro/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmCentro(),\n { revalidateOnFocus: false }\n );\n\n const centrosList = data || []\n\n const centrosListTotal = data?.length || 0\n\n return {\n data,\n centrosList,\n centrosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}"],"names":["useCentroList","tableParams","filterParams","setTableParams","setFilterParams","useCentroListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmCentro","centrosList","centrosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAgB;AACpC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAmB,CAACC,MAAUA,CAAK,GAEjCC,IAAS,CAAC,uBAAuBL,CAAY,GAE7C,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAcN,KAAQ,CAAA,GAEtBO,IAAmBP,GAAM,UAAU;AAEzC,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,aAAAM;AAAA,IACA,kBAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -2,19 +2,19 @@ import { apiFindDmCondicaoPagamento as P } from "../../../services/modules/dm/co
|
|
|
2
2
|
import { useCondicaoPagamentoListStore as f } from "../../../store/dm/condicaoPagamento/condicaoPagamentoListStore.js";
|
|
3
3
|
import g from "swr";
|
|
4
4
|
function C() {
|
|
5
|
-
const { tableParams: t, filterParams:
|
|
5
|
+
const { tableParams: t, filterParams: o, setTableParams: e, setFilterParams: s } = f((l) => l), n = ["/api/dm/condicao-pagamento/find", o], { data: a, error: i, isLoading: r, mutate: m } = g(
|
|
6
6
|
n,
|
|
7
7
|
() => P(),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
), c =
|
|
9
|
+
), c = a || [], d = a?.length || 0;
|
|
10
10
|
return {
|
|
11
|
-
data:
|
|
11
|
+
data: a,
|
|
12
12
|
condicoesPagamentosList: c,
|
|
13
13
|
condicoesPagamentosListTotal: d,
|
|
14
14
|
error: i,
|
|
15
15
|
isLoading: r,
|
|
16
16
|
tableParams: t,
|
|
17
|
-
filterParams:
|
|
17
|
+
filterParams: o,
|
|
18
18
|
mutate: m,
|
|
19
19
|
setTableParams: e,
|
|
20
20
|
setFilterParams: s
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCondicaoPagamentoList.js","sources":["../../../../../lib/base/hooks/dm/condicaoPagamento/useCondicaoPagamentoList.tsx"],"sourcesContent":["import { apiFindDmCondicaoPagamento } from \"@base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService\";\nimport { useCondicaoPagamentoListStore } from \"@base/store/dm/condicaoPagamento/condicaoPagamentoListStore\";\nimport useSWR from \"swr\";\n\nexport default function useCondicaoPagamentoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useCondicaoPagamentoListStore((state) => state);\n\n const swrKey = [\"/api/dm/condicao-pagamento/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmCondicaoPagamento(),\n { revalidateOnFocus: false }\n );\n\n const condicoesPagamentosList = data || [];\n\n const condicoesPagamentosListTotal = data?.length || 0;\n\n return {\n data,\n condicoesPagamentosList,\n condicoesPagamentosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}\n"],"names":["useCondicaoPagamentoList","tableParams","filterParams","setTableParams","setFilterParams","useCondicaoPagamentoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmCondicaoPagamento","condicoesPagamentosList","condicoesPagamentosListTotal"],"mappings":";;;AAIA,SAAwBA,IAA2B;AAC/C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA8B,CAACC,MAAUA,CAAK,GAE5CC,IAAS,CAAC,mCAAmCL,CAAY,GAEzD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAA0BN,KAAQ,CAAA,GAElCO,
|
|
1
|
+
{"version":3,"file":"useCondicaoPagamentoList.js","sources":["../../../../../lib/base/hooks/dm/condicaoPagamento/useCondicaoPagamentoList.tsx"],"sourcesContent":["import { apiFindDmCondicaoPagamento } from \"@base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService\";\nimport { useCondicaoPagamentoListStore } from \"@base/store/dm/condicaoPagamento/condicaoPagamentoListStore\";\nimport useSWR from \"swr\";\n\nexport default function useCondicaoPagamentoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useCondicaoPagamentoListStore((state) => state);\n\n const swrKey = [\"/api/dm/condicao-pagamento/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmCondicaoPagamento(),\n { revalidateOnFocus: false }\n );\n\n const condicoesPagamentosList = data || [];\n\n const condicoesPagamentosListTotal = data?.length || 0;\n\n return {\n data,\n condicoesPagamentosList,\n condicoesPagamentosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}\n"],"names":["useCondicaoPagamentoList","tableParams","filterParams","setTableParams","setFilterParams","useCondicaoPagamentoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmCondicaoPagamento","condicoesPagamentosList","condicoesPagamentosListTotal"],"mappings":";;;AAIA,SAAwBA,IAA2B;AAC/C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA8B,CAACC,MAAUA,CAAK,GAE5CC,IAAS,CAAC,mCAAmCL,CAAY,GAEzD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAA0BN,KAAQ,CAAA,GAElCO,IAA+BP,GAAM,UAAU;AAErD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,yBAAAM;AAAA,IACA,8BAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { apiFindDmDepositoByCodigo as
|
|
1
|
+
import { apiFindDmDepositoByCodigo as p } from "../../../services/modules/dm/deposito/DepositoService.js";
|
|
2
2
|
import { useDepositoListStore as c } from "../../../store/dm/deposito/depositoListStore.js";
|
|
3
|
-
import
|
|
3
|
+
import l from "swr";
|
|
4
4
|
function y() {
|
|
5
|
-
const { tableParams: e, filterParams:
|
|
5
|
+
const { tableParams: e, filterParams: t, setTableParams: a, setFilterParams: r } = c((o) => o), i = t?.codigo, { data: s, error: d, isLoading: m, mutate: n } = l(
|
|
6
6
|
i ? ["/api/dm/deposito/find/{codigo}", i] : null,
|
|
7
|
-
([,
|
|
7
|
+
([, o]) => p(o),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
@@ -12,13 +12,13 @@ function y() {
|
|
|
12
12
|
return {
|
|
13
13
|
data: s,
|
|
14
14
|
depositosByCodigoList: s || [],
|
|
15
|
-
error:
|
|
16
|
-
isLoading:
|
|
15
|
+
error: d,
|
|
16
|
+
isLoading: m,
|
|
17
17
|
tableParams: e,
|
|
18
|
-
filterParams:
|
|
19
|
-
mutate:
|
|
18
|
+
filterParams: t,
|
|
19
|
+
mutate: n,
|
|
20
20
|
setTableParams: a,
|
|
21
|
-
setFilterParams:
|
|
21
|
+
setFilterParams: r
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDepositoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/deposito/useDepositoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmDepositoByCodigo } from '@base/services/modules/dm/deposito/DepositoService'\nimport { useDepositoListStore } from '@base/store/dm/deposito/depositoListStore'\nimport useSWR from 'swr'\n\nexport default function useDepositoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useDepositoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/deposito/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmDepositoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const depositosByCodigoList = data || []\n\n return {\n data,\n depositosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useDepositoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useDepositoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmDepositoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAA0B;AAC9C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAqB,CAACC,MAAUA,CAAK,GAEtGC,IAASL,
|
|
1
|
+
{"version":3,"file":"useDepositoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/deposito/useDepositoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmDepositoByCodigo } from '@base/services/modules/dm/deposito/DepositoService'\nimport { useDepositoListStore } from '@base/store/dm/deposito/depositoListStore'\nimport useSWR from 'swr'\n\nexport default function useDepositoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useDepositoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/deposito/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmDepositoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const depositosByCodigoList = data || []\n\n return {\n data,\n depositosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useDepositoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useDepositoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmDepositoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAA0B;AAC9C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAqB,CAACC,MAAUA,CAAK,GAEtGC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,kCAAkCA,CAAM,IAAI;AAAA,IACtD,CAAC,GAAGA,CAAM,MAAwBM,EAA0BN,CAAM;AAAA,IAClE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,uBAJ0BA,KAAQ,CAAA;AAAA,IAKlC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -2,16 +2,16 @@ import { apiFindDmDeposito as f } from "../../../services/modules/dm/deposito/De
|
|
|
2
2
|
import { useDepositoListStore as u } from "../../../store/dm/deposito/depositoListStore.js";
|
|
3
3
|
import c from "swr";
|
|
4
4
|
function F() {
|
|
5
|
-
const { tableParams: o, filterParams: s, setTableParams: e, setFilterParams: i } = u((
|
|
6
|
-
|
|
5
|
+
const { tableParams: o, filterParams: s, setTableParams: e, setFilterParams: i } = u((l) => l), a = ["/api/dm/deposito/find", s], { data: t, error: r, isLoading: m, mutate: n } = c(
|
|
6
|
+
a,
|
|
7
7
|
() => f(),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
), p = t || [],
|
|
9
|
+
), p = t || [], d = t?.length || 0;
|
|
10
10
|
return {
|
|
11
11
|
data: t,
|
|
12
12
|
depositosList: p,
|
|
13
|
-
depositosListTotal:
|
|
14
|
-
error:
|
|
13
|
+
depositosListTotal: d,
|
|
14
|
+
error: r,
|
|
15
15
|
isLoading: m,
|
|
16
16
|
tableParams: o,
|
|
17
17
|
filterParams: s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDepositoList.js","sources":["../../../../../lib/base/hooks/dm/deposito/useDepositoList.tsx"],"sourcesContent":["import { apiFindDmDeposito } from '@base/services/modules/dm/deposito/DepositoService'\nimport { useDepositoListStore } from '@base/store/dm/deposito/depositoListStore';\nimport useSWR from 'swr'\n\nexport default function useDepositoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useDepositoListStore((state) => state);\n\n const swrKey = [\"/api/dm/deposito/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmDeposito(),\n { revalidateOnFocus: false }\n );\n\n const depositosList = data || []\n\n const depositosListTotal = data?.length || 0\n\n return {\n data,\n depositosList,\n depositosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}"],"names":["useDepositoList","tableParams","filterParams","setTableParams","setFilterParams","useDepositoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmDeposito","depositosList","depositosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAkB;AACtC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAqB,CAACC,MAAUA,CAAK,GAEnCC,IAAS,CAAC,yBAAyBL,CAAY,GAE/C,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAgBN,KAAQ,CAAA,GAExBO,
|
|
1
|
+
{"version":3,"file":"useDepositoList.js","sources":["../../../../../lib/base/hooks/dm/deposito/useDepositoList.tsx"],"sourcesContent":["import { apiFindDmDeposito } from '@base/services/modules/dm/deposito/DepositoService'\nimport { useDepositoListStore } from '@base/store/dm/deposito/depositoListStore';\nimport useSWR from 'swr'\n\nexport default function useDepositoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useDepositoListStore((state) => state);\n\n const swrKey = [\"/api/dm/deposito/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmDeposito(),\n { revalidateOnFocus: false }\n );\n\n const depositosList = data || []\n\n const depositosListTotal = data?.length || 0\n\n return {\n data,\n depositosList,\n depositosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}"],"names":["useDepositoList","tableParams","filterParams","setTableParams","setFilterParams","useDepositoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmDeposito","depositosList","depositosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAkB;AACtC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAqB,CAACC,MAAUA,CAAK,GAEnCC,IAAS,CAAC,yBAAyBL,CAAY,GAE/C,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAgBN,KAAQ,CAAA,GAExBO,IAAqBP,GAAM,UAAU;AAE3C,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,eAAAM;AAAA,IACA,oBAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { apiFindDmDepositosByCodigoCentro as
|
|
2
|
-
import { useDepositoListStore as
|
|
3
|
-
import
|
|
1
|
+
import { apiFindDmDepositosByCodigoCentro as l } from "../../../services/modules/dm/deposito/DepositoService.js";
|
|
2
|
+
import { useDepositoListStore as C } from "../../../store/dm/deposito/depositoListStore.js";
|
|
3
|
+
import g from "swr";
|
|
4
4
|
function L() {
|
|
5
|
-
const { tableParams: i, filterParams:
|
|
5
|
+
const { tableParams: i, filterParams: e, setTableParams: r, setFilterParams: a } = C((t) => t), s = e?.codigoCentro, { data: o, error: n, isLoading: d, mutate: m } = g(
|
|
6
6
|
s ? ["/api/dm/deposito/find-depositos-by-code-centro/{codigoCentro}", s] : null,
|
|
7
|
-
([,
|
|
7
|
+
([, t]) => l(t),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
11
|
-
),
|
|
11
|
+
), p = o || [], c = o?.length || 0;
|
|
12
12
|
return {
|
|
13
13
|
data: o,
|
|
14
|
-
depositosByCodigoCentroList:
|
|
15
|
-
depositosByCodigoCentroListTotal:
|
|
16
|
-
error:
|
|
17
|
-
isLoading:
|
|
14
|
+
depositosByCodigoCentroList: p,
|
|
15
|
+
depositosByCodigoCentroListTotal: c,
|
|
16
|
+
error: n,
|
|
17
|
+
isLoading: d,
|
|
18
18
|
tableParams: i,
|
|
19
|
-
filterParams:
|
|
20
|
-
mutate:
|
|
19
|
+
filterParams: e,
|
|
20
|
+
mutate: m,
|
|
21
21
|
setTableParams: r,
|
|
22
|
-
setFilterParams:
|
|
22
|
+
setFilterParams: a
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDepositosByCodigoCentroList.js","sources":["../../../../../lib/base/hooks/dm/deposito/useDepositosByCodigoCentroList.tsx"],"sourcesContent":["import { apiFindDmDepositosByCodigoCentro } from '@base/services/modules/dm/deposito/DepositoService'\nimport { useDepositoListStore } from '@base/store/dm/deposito/depositoListStore'\nimport useSWR from 'swr'\n\nexport default function useDepositosByCodigoCentroList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useDepositoListStore((state) => state)\n\n const codigoCentro = filterParams?.codigoCentro\n\n const { data, error, isLoading, mutate } = useSWR(\n codigoCentro ? [`/api/dm/deposito/find-depositos-by-code-centro/{codigoCentro}`, codigoCentro] : null,\n ([, codigoCentro]: [string, string]) => apiFindDmDepositosByCodigoCentro(codigoCentro),\n {\n revalidateOnFocus: false,\n }\n )\n\n const depositosByCodigoCentroList = data || []\n\n const depositosByCodigoCentroListTotal = data?.length || 0\n\n return {\n data,\n depositosByCodigoCentroList,\n depositosByCodigoCentroListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useDepositosByCodigoCentroList","tableParams","filterParams","setTableParams","setFilterParams","useDepositoListStore","state","codigoCentro","data","error","isLoading","mutate","useSWR","apiFindDmDepositosByCodigoCentro","depositosByCodigoCentroList","depositosByCodigoCentroListTotal"],"mappings":";;;AAIA,SAAwBA,IAAiC;AACrD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAqB,CAACC,MAAUA,CAAK,GAEtGC,IAAeL,
|
|
1
|
+
{"version":3,"file":"useDepositosByCodigoCentroList.js","sources":["../../../../../lib/base/hooks/dm/deposito/useDepositosByCodigoCentroList.tsx"],"sourcesContent":["import { apiFindDmDepositosByCodigoCentro } from '@base/services/modules/dm/deposito/DepositoService'\nimport { useDepositoListStore } from '@base/store/dm/deposito/depositoListStore'\nimport useSWR from 'swr'\n\nexport default function useDepositosByCodigoCentroList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useDepositoListStore((state) => state)\n\n const codigoCentro = filterParams?.codigoCentro\n\n const { data, error, isLoading, mutate } = useSWR(\n codigoCentro ? [`/api/dm/deposito/find-depositos-by-code-centro/{codigoCentro}`, codigoCentro] : null,\n ([, codigoCentro]: [string, string]) => apiFindDmDepositosByCodigoCentro(codigoCentro),\n {\n revalidateOnFocus: false,\n }\n )\n\n const depositosByCodigoCentroList = data || []\n\n const depositosByCodigoCentroListTotal = data?.length || 0\n\n return {\n data,\n depositosByCodigoCentroList,\n depositosByCodigoCentroListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useDepositosByCodigoCentroList","tableParams","filterParams","setTableParams","setFilterParams","useDepositoListStore","state","codigoCentro","data","error","isLoading","mutate","useSWR","apiFindDmDepositosByCodigoCentro","depositosByCodigoCentroList","depositosByCodigoCentroListTotal"],"mappings":";;;AAIA,SAAwBA,IAAiC;AACrD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAqB,CAACC,MAAUA,CAAK,GAEtGC,IAAeL,GAAc,cAE7B,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAe,CAAC,iEAAiEA,CAAY,IAAI;AAAA,IACjG,CAAC,GAAGA,CAAY,MAAwBM,EAAiCN,CAAY;AAAA,IACrF;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB,GAGEO,IAA8BN,KAAQ,CAAA,GAEtCO,IAAmCP,GAAM,UAAU;AAEzD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,6BAAAM;AAAA,IACA,kCAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { apiFindDmEquipeVendaByCodigo as
|
|
2
|
-
import { useEquipeVendaListStore as
|
|
1
|
+
import { apiFindDmEquipeVendaByCodigo as m } from "../../../services/modules/dm/equipeVenda/EquipeVendaService.js";
|
|
2
|
+
import { useEquipeVendaListStore as p } from "../../../store/dm/equipeVenda/equipeVendaListStore.js";
|
|
3
3
|
import c from "swr";
|
|
4
4
|
function L() {
|
|
5
|
-
const { tableParams: t, filterParams:
|
|
6
|
-
|
|
7
|
-
([,
|
|
5
|
+
const { tableParams: t, filterParams: i, setTableParams: s, setFilterParams: d } = p((e) => e), o = i?.codigo, { data: a, error: r, isLoading: n, mutate: u } = c(
|
|
6
|
+
o ? ["/api/dm/equipe-venda/find/{codigo}", o] : null,
|
|
7
|
+
([, e]) => m(e),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
@@ -12,10 +12,10 @@ function L() {
|
|
|
12
12
|
return {
|
|
13
13
|
data: a,
|
|
14
14
|
equipeVendasByCodigoList: a || [],
|
|
15
|
-
error:
|
|
16
|
-
isLoading:
|
|
15
|
+
error: r,
|
|
16
|
+
isLoading: n,
|
|
17
17
|
tableParams: t,
|
|
18
|
-
filterParams:
|
|
18
|
+
filterParams: i,
|
|
19
19
|
mutate: u,
|
|
20
20
|
setTableParams: s,
|
|
21
21
|
setFilterParams: d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEquipeVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/equipeVenda/useEquipeVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmEquipeVendaByCodigo } from '@base/services/modules/dm/equipeVenda/EquipeVendaService'\nimport { useEquipeVendaListStore } from '@base/store/dm/equipeVenda/equipeVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useEquipeVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useEquipeVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/equipe-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmEquipeVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const equipeVendasByCodigoList = data || []\n\n return {\n data,\n equipeVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEquipeVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useEquipeVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmEquipeVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAA6B;AACjD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAwB,CAACC,MAAUA,CAAK,GAEzGC,IAASL,
|
|
1
|
+
{"version":3,"file":"useEquipeVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/equipeVenda/useEquipeVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmEquipeVendaByCodigo } from '@base/services/modules/dm/equipeVenda/EquipeVendaService'\nimport { useEquipeVendaListStore } from '@base/store/dm/equipeVenda/equipeVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useEquipeVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useEquipeVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/equipe-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmEquipeVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const equipeVendasByCodigoList = data || []\n\n return {\n data,\n equipeVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEquipeVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useEquipeVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmEquipeVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAA6B;AACjD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAwB,CAACC,MAAUA,CAAK,GAEzGC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,sCAAsCA,CAAM,IAAI;AAAA,IAC1D,CAAC,GAAGA,CAAM,MAAwBM,EAA6BN,CAAM;AAAA,IACrE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,0BAJ6BA,KAAQ,CAAA;AAAA,IAKrC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -2,21 +2,21 @@ import { apiFindDmEquipeVenda as l } from "../../../services/modules/dm/equipeVe
|
|
|
2
2
|
import { useEquipeVendaListStore as f } from "../../../store/dm/equipeVenda/equipeVendaListStore.js";
|
|
3
3
|
import c from "swr";
|
|
4
4
|
function P() {
|
|
5
|
-
const { tableParams: t, filterParams:
|
|
5
|
+
const { tableParams: t, filterParams: a, setTableParams: s, setFilterParams: i } = f((p) => p), r = ["/api/dm/equipe-venda/find", a], { data: e, error: n, isLoading: o, mutate: u } = c(
|
|
6
6
|
r,
|
|
7
7
|
() => l(),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
),
|
|
9
|
+
), d = e || [], m = e?.length || 0;
|
|
10
10
|
return {
|
|
11
11
|
data: e,
|
|
12
|
-
equipesVendasList:
|
|
13
|
-
equipesVendasListTotal:
|
|
12
|
+
equipesVendasList: d,
|
|
13
|
+
equipesVendasListTotal: m,
|
|
14
14
|
error: n,
|
|
15
15
|
isLoading: o,
|
|
16
16
|
tableParams: t,
|
|
17
|
-
filterParams:
|
|
17
|
+
filterParams: a,
|
|
18
18
|
mutate: u,
|
|
19
|
-
setTableParams:
|
|
19
|
+
setTableParams: s,
|
|
20
20
|
setFilterParams: i
|
|
21
21
|
};
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEquipeVendaList.js","sources":["../../../../../lib/base/hooks/dm/equipeVenda/useEquipeVendaList.tsx"],"sourcesContent":["import { apiFindDmEquipeVenda } from '@base/services/modules/dm/equipeVenda/EquipeVendaService'\nimport { useEquipeVendaListStore } from '@base/store/dm/equipeVenda/equipeVendaListStore';\nimport useSWR from 'swr'\n\nexport default function useEquipeVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useEquipeVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/equipe-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmEquipeVenda(),\n { revalidateOnFocus: false }\n );\n\n const equipesVendasList = data || []\n\n const equipesVendasListTotal = data?.length || 0\n\n return {\n data,\n equipesVendasList,\n equipesVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEquipeVendaList","tableParams","filterParams","setTableParams","setFilterParams","useEquipeVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmEquipeVenda","equipesVendasList","equipesVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAwB,CAACC,MAAUA,CAAK,GAEtCC,IAAS,CAAC,6BAA6BL,CAAY,GAEnD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAoBN,KAAQ,CAAA,GAE5BO,
|
|
1
|
+
{"version":3,"file":"useEquipeVendaList.js","sources":["../../../../../lib/base/hooks/dm/equipeVenda/useEquipeVendaList.tsx"],"sourcesContent":["import { apiFindDmEquipeVenda } from '@base/services/modules/dm/equipeVenda/EquipeVendaService'\nimport { useEquipeVendaListStore } from '@base/store/dm/equipeVenda/equipeVendaListStore';\nimport useSWR from 'swr'\n\nexport default function useEquipeVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useEquipeVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/equipe-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmEquipeVenda(),\n { revalidateOnFocus: false }\n );\n\n const equipesVendasList = data || []\n\n const equipesVendasListTotal = data?.length || 0\n\n return {\n data,\n equipesVendasList,\n equipesVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEquipeVendaList","tableParams","filterParams","setTableParams","setFilterParams","useEquipeVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmEquipeVenda","equipesVendasList","equipesVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAwB,CAACC,MAAUA,CAAK,GAEtCC,IAAS,CAAC,6BAA6BL,CAAY,GAEnD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAoBN,KAAQ,CAAA,GAE5BO,IAAyBP,GAAM,UAAU;AAE/C,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,mBAAAM;AAAA,IACA,wBAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { apiFindDmEscritorioVendaByCodigo as m } from "../../../services/modules/dm/escritorioVenda/EscritorioVendaService.js";
|
|
2
|
-
import { useEscritorioVendaListStore as
|
|
3
|
-
import
|
|
2
|
+
import { useEscritorioVendaListStore as l } from "../../../store/dm/escritorioVenda/escritorioVendaListStore.js";
|
|
3
|
+
import u from "swr";
|
|
4
4
|
function V() {
|
|
5
|
-
const { tableParams: s, filterParams:
|
|
6
|
-
|
|
7
|
-
([,
|
|
5
|
+
const { tableParams: s, filterParams: i, setTableParams: a, setFilterParams: e } = l((o) => o), r = i?.codigo, { data: t, error: d, isLoading: n, mutate: c } = u(
|
|
6
|
+
r ? ["/api/dm/escritorio-venda/find/{codigo}", r] : null,
|
|
7
|
+
([, o]) => m(o),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
11
11
|
);
|
|
12
12
|
return {
|
|
13
|
-
data:
|
|
14
|
-
escritorioVendasByCodigoList:
|
|
13
|
+
data: t,
|
|
14
|
+
escritorioVendasByCodigoList: t || [],
|
|
15
15
|
error: d,
|
|
16
16
|
isLoading: n,
|
|
17
17
|
tableParams: s,
|
|
18
|
-
filterParams:
|
|
18
|
+
filterParams: i,
|
|
19
19
|
mutate: c,
|
|
20
|
-
setTableParams:
|
|
21
|
-
setFilterParams:
|
|
20
|
+
setTableParams: a,
|
|
21
|
+
setFilterParams: e
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEscritorioVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/escritorioVenda/useEscritorioVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmEscritorioVendaByCodigo } from '@base/services/modules/dm/escritorioVenda/EscritorioVendaService'\nimport { useEscritorioVendaListStore } from '@base/store/dm/escritorioVenda/escritorioVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useEscritorioVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useEscritorioVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/escritorio-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmEscritorioVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const escritorioVendasByCodigoList = data || []\n\n return {\n data,\n escritorioVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEscritorioVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useEscritorioVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmEscritorioVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAiC;AACrD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA4B,CAACC,MAAUA,CAAK,GAE7GC,IAASL,
|
|
1
|
+
{"version":3,"file":"useEscritorioVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/escritorioVenda/useEscritorioVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmEscritorioVendaByCodigo } from '@base/services/modules/dm/escritorioVenda/EscritorioVendaService'\nimport { useEscritorioVendaListStore } from '@base/store/dm/escritorioVenda/escritorioVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useEscritorioVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useEscritorioVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/escritorio-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmEscritorioVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const escritorioVendasByCodigoList = data || []\n\n return {\n data,\n escritorioVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEscritorioVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useEscritorioVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmEscritorioVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAiC;AACrD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA4B,CAACC,MAAUA,CAAK,GAE7GC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,0CAA0CA,CAAM,IAAI;AAAA,IAC9D,CAAC,GAAGA,CAAM,MAAwBM,EAAiCN,CAAM;AAAA,IACzE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,8BAJiCA,KAAQ,CAAA;AAAA,IAKzC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -2,19 +2,19 @@ import { apiFindDmEscritorioVenda as f } from "../../../services/modules/dm/escr
|
|
|
2
2
|
import { useEscritorioVendaListStore as u } from "../../../store/dm/escritorioVenda/escritorioVendaListStore.js";
|
|
3
3
|
import p from "swr";
|
|
4
4
|
function E() {
|
|
5
|
-
const { tableParams:
|
|
5
|
+
const { tableParams: s, filterParams: r, setTableParams: o, setFilterParams: e } = u((l) => l), i = ["/api/dm/escritorio-venda/find", r], { data: t, error: a, isLoading: n, mutate: c } = p(
|
|
6
6
|
i,
|
|
7
7
|
() => f(),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
),
|
|
9
|
+
), d = t || [], m = t?.length || 0;
|
|
10
10
|
return {
|
|
11
|
-
data:
|
|
12
|
-
escritoriosVendasList:
|
|
13
|
-
escritoriosVendasListTotal:
|
|
11
|
+
data: t,
|
|
12
|
+
escritoriosVendasList: d,
|
|
13
|
+
escritoriosVendasListTotal: m,
|
|
14
14
|
error: a,
|
|
15
15
|
isLoading: n,
|
|
16
|
-
tableParams:
|
|
17
|
-
filterParams:
|
|
16
|
+
tableParams: s,
|
|
17
|
+
filterParams: r,
|
|
18
18
|
mutate: c,
|
|
19
19
|
setTableParams: o,
|
|
20
20
|
setFilterParams: e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEscritorioVendaList.js","sources":["../../../../../lib/base/hooks/dm/escritorioVenda/useEscritorioVendaList.tsx"],"sourcesContent":["import { apiFindDmEscritorioVenda } from '@base/services/modules/dm/escritorioVenda/EscritorioVendaService'\nimport { useEscritorioVendaListStore } from '@base/store/dm/escritorioVenda/escritorioVendaListStore';\nimport useSWR from 'swr'\n\nexport default function useEscritorioVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useEscritorioVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/escritorio-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmEscritorioVenda(),\n { revalidateOnFocus: false }\n );\n\n const escritoriosVendasList = data || []\n\n const escritoriosVendasListTotal = data?.length || 0\n\n return {\n data,\n escritoriosVendasList,\n escritoriosVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEscritorioVendaList","tableParams","filterParams","setTableParams","setFilterParams","useEscritorioVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmEscritorioVenda","escritoriosVendasList","escritoriosVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAAyB;AAC7C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA4B,CAACC,MAAUA,CAAK,GAE1CC,IAAS,CAAC,iCAAiCL,CAAY,GAEvD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAwBN,KAAQ,CAAA,GAEhCO,
|
|
1
|
+
{"version":3,"file":"useEscritorioVendaList.js","sources":["../../../../../lib/base/hooks/dm/escritorioVenda/useEscritorioVendaList.tsx"],"sourcesContent":["import { apiFindDmEscritorioVenda } from '@base/services/modules/dm/escritorioVenda/EscritorioVendaService'\nimport { useEscritorioVendaListStore } from '@base/store/dm/escritorioVenda/escritorioVendaListStore';\nimport useSWR from 'swr'\n\nexport default function useEscritorioVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useEscritorioVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/escritorio-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmEscritorioVenda(),\n { revalidateOnFocus: false }\n );\n\n const escritoriosVendasList = data || []\n\n const escritoriosVendasListTotal = data?.length || 0\n\n return {\n data,\n escritoriosVendasList,\n escritoriosVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useEscritorioVendaList","tableParams","filterParams","setTableParams","setFilterParams","useEscritorioVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmEscritorioVenda","escritoriosVendasList","escritoriosVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAAyB;AAC7C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA4B,CAACC,MAAUA,CAAK,GAE1CC,IAAS,CAAC,iCAAiCL,CAAY,GAEvD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAwBN,KAAQ,CAAA,GAEhCO,IAA6BP,GAAM,UAAU;AAEnD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,uBAAAM;AAAA,IACA,4BAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { apiFindDmFormaPagamentoByCodigo as g } from "../../../services/modules/dm/formaPagamento/FormaPagamentoService.js";
|
|
2
|
-
import { useFormaPagamentoListStore as
|
|
3
|
-
import
|
|
2
|
+
import { useFormaPagamentoListStore as f } from "../../../store/dm/formaPagamento/formaPagamentoListStore.js";
|
|
3
|
+
import c from "swr";
|
|
4
4
|
function F() {
|
|
5
|
-
const { tableParams:
|
|
5
|
+
const { tableParams: m, filterParams: a, setTableParams: e, setFilterParams: i } = f((o) => o), t = a?.codigo, { data: r, error: s, isLoading: n, mutate: d } = c(
|
|
6
6
|
t ? ["/api/dm/forma-pagamento/find/{codigo}", t] : null,
|
|
7
|
-
([,
|
|
7
|
+
([, o]) => g(o),
|
|
8
8
|
{
|
|
9
9
|
revalidateOnFocus: !1
|
|
10
10
|
}
|
|
11
11
|
);
|
|
12
12
|
return {
|
|
13
|
-
data:
|
|
14
|
-
formaPagamentoByCodigoList:
|
|
13
|
+
data: r,
|
|
14
|
+
formaPagamentoByCodigoList: r || [],
|
|
15
15
|
error: s,
|
|
16
16
|
isLoading: n,
|
|
17
|
-
tableParams:
|
|
18
|
-
filterParams:
|
|
17
|
+
tableParams: m,
|
|
18
|
+
filterParams: a,
|
|
19
19
|
mutate: d,
|
|
20
|
-
setTableParams:
|
|
21
|
-
setFilterParams:
|
|
20
|
+
setTableParams: e,
|
|
21
|
+
setFilterParams: i
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormaPagamentoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/formaPagamento/useFormaPagamentoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmFormaPagamentoByCodigo } from '@base/services/modules/dm/formaPagamento/FormaPagamentoService'\nimport { useFormaPagamentoListStore } from '@base/store/dm/formaPagamento/formaPagamentoListStore'\nimport useSWR from 'swr'\n\nexport default function useFormaPagamentoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useFormaPagamentoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/forma-pagamento/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmFormaPagamentoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const formaPagamentoByCodigoList = data || []\n\n return {\n data,\n formaPagamentoByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useFormaPagamentoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useFormaPagamentoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmFormaPagamentoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAgC;AACpD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA2B,CAACC,MAAUA,CAAK,GAE5GC,IAASL,
|
|
1
|
+
{"version":3,"file":"useFormaPagamentoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/formaPagamento/useFormaPagamentoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmFormaPagamentoByCodigo } from '@base/services/modules/dm/formaPagamento/FormaPagamentoService'\nimport { useFormaPagamentoListStore } from '@base/store/dm/formaPagamento/formaPagamentoListStore'\nimport useSWR from 'swr'\n\nexport default function useFormaPagamentoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useFormaPagamentoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/forma-pagamento/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmFormaPagamentoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const formaPagamentoByCodigoList = data || []\n\n return {\n data,\n formaPagamentoByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useFormaPagamentoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useFormaPagamentoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmFormaPagamentoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAgC;AACpD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA2B,CAACC,MAAUA,CAAK,GAE5GC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,yCAAyCA,CAAM,IAAI;AAAA,IAC7D,CAAC,GAAGA,CAAM,MAAwBM,EAAgCN,CAAM;AAAA,IACxE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,4BAJ+BA,KAAQ,CAAA;AAAA,IAKvC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|