@orbe-agro/client-core 5.3.86 → 5.3.90

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.
Files changed (502) hide show
  1. package/dist/@ecme/assets/styles/app.css +1 -1
  2. package/dist/@ecme/assets/styles/components/_dialog.css +1 -1
  3. package/dist/@ecme/assets/styles/components/_drawer.css +1 -1
  4. package/dist/@ecme/assets/styles/components/_scrollbar.css +1 -1
  5. package/dist/@ecme/assets/styles/components/_switcher.css +1 -1
  6. package/dist/@ecme/assets/styles/components/_upload.css +1 -1
  7. package/dist/@ecme/assets/styles/components/index.css +1 -1
  8. package/dist/@ecme/assets/styles/tailwind/index.css +1 -1
  9. package/dist/@ecme/auth/AuthProvider.js +58 -62
  10. package/dist/@ecme/auth/AuthProvider.js.map +1 -1
  11. package/dist/@ecme/components/docs/DemoCard/DemoCard.js +18 -19
  12. package/dist/@ecme/components/docs/DemoCard/DemoCard.js.map +1 -1
  13. package/dist/@ecme/components/layouts/PostLoginLayout/PostLoginLayout.js +29 -30
  14. package/dist/@ecme/components/layouts/PostLoginLayout/PostLoginLayout.js.map +1 -1
  15. package/dist/@ecme/components/layouts/PostLoginLayout/components/ContentOverlay.js +56 -56
  16. package/dist/@ecme/components/layouts/PostLoginLayout/components/ContentOverlay.js.map +1 -1
  17. package/dist/@ecme/components/shared/Affix.js +9 -10
  18. package/dist/@ecme/components/shared/Affix.js.map +1 -1
  19. package/dist/@ecme/components/shared/AutoComplete.js +27 -28
  20. package/dist/@ecme/components/shared/AutoComplete.js.map +1 -1
  21. package/dist/@ecme/components/shared/CalendarView.js +19 -20
  22. package/dist/@ecme/components/shared/CalendarView.js.map +1 -1
  23. package/dist/@ecme/components/shared/ConfirmDialog.js +16 -16
  24. package/dist/@ecme/components/shared/ConfirmDialog.js.map +1 -1
  25. package/dist/@ecme/components/shared/DataTable.js +151 -151
  26. package/dist/@ecme/components/shared/DataTable.js.map +1 -1
  27. package/dist/@ecme/components/shared/DebounceInput.js +11 -12
  28. package/dist/@ecme/components/shared/DebounceInput.js.map +1 -1
  29. package/dist/@ecme/components/shared/GanttChart/GanttChart.js +20 -20
  30. package/dist/@ecme/components/shared/GanttChart/GanttChart.js.map +1 -1
  31. package/dist/@ecme/components/shared/GanttChart/TaskListTable.js +22 -22
  32. package/dist/@ecme/components/shared/GanttChart/TaskListTable.js.map +1 -1
  33. package/dist/@ecme/components/shared/ImageGallery.js +18 -18
  34. package/dist/@ecme/components/shared/ImageGallery.js.map +1 -1
  35. package/dist/@ecme/components/shared/Masonry/Masonry.js +25 -25
  36. package/dist/@ecme/components/shared/Masonry/Masonry.js.map +1 -1
  37. package/dist/@ecme/components/shared/OtpInput.js +54 -56
  38. package/dist/@ecme/components/shared/OtpInput.js.map +1 -1
  39. package/dist/@ecme/components/shared/PasswordInput.js +6 -6
  40. package/dist/@ecme/components/shared/PasswordInput.js.map +1 -1
  41. package/dist/@ecme/components/shared/RegionMap.js +9 -9
  42. package/dist/@ecme/components/shared/RegionMap.js.map +1 -1
  43. package/dist/@ecme/components/shared/RichTextEditor/RichTextEditor.js +47 -47
  44. package/dist/@ecme/components/shared/RichTextEditor/RichTextEditor.js.map +1 -1
  45. package/dist/@ecme/components/shared/UsersAvatarGroup.js +24 -24
  46. package/dist/@ecme/components/shared/UsersAvatarGroup.js.map +1 -1
  47. package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuContent.js +63 -69
  48. package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuContent.js.map +1 -1
  49. package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdown.js +48 -48
  50. package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdown.js.map +1 -1
  51. package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdownContent.js +220 -231
  52. package/dist/@ecme/components/template/HorizontalMenuContent/HorizontalMenuDropdownContent.js.map +1 -1
  53. package/dist/@ecme/components/template/LanguageSelector.js +10 -13
  54. package/dist/@ecme/components/template/LanguageSelector.js.map +1 -1
  55. package/dist/@ecme/components/template/Search.js +85 -92
  56. package/dist/@ecme/components/template/Search.js.map +1 -1
  57. package/dist/@ecme/components/template/ThemeConfigurator/DirectionSwitcher.js +18 -18
  58. package/dist/@ecme/components/template/ThemeConfigurator/DirectionSwitcher.js.map +1 -1
  59. package/dist/@ecme/components/template/VerticalMenuContent/VerticalCollapsedMenuItem.js +17 -17
  60. package/dist/@ecme/components/template/VerticalMenuContent/VerticalCollapsedMenuItem.js.map +1 -1
  61. package/dist/@ecme/components/template/VerticalMenuContent/VerticalMenuContent.js +59 -59
  62. package/dist/@ecme/components/template/VerticalMenuContent/VerticalMenuContent.js.map +1 -1
  63. package/dist/@ecme/components/template/VerticalMenuContent/VerticalSingleMenuItem.js +34 -34
  64. package/dist/@ecme/components/template/VerticalMenuContent/VerticalSingleMenuItem.js.map +1 -1
  65. package/dist/@ecme/components/ui/Alert/Alert.js +29 -29
  66. package/dist/@ecme/components/ui/Alert/Alert.js.map +1 -1
  67. package/dist/@ecme/components/ui/Avatar/AvatarGroup.js +30 -30
  68. package/dist/@ecme/components/ui/Avatar/AvatarGroup.js.map +1 -1
  69. package/dist/@ecme/components/ui/Button/Button.js +66 -67
  70. package/dist/@ecme/components/ui/Button/Button.js.map +1 -1
  71. package/dist/@ecme/components/ui/Card/Card.js +39 -40
  72. package/dist/@ecme/components/ui/Card/Card.js.map +1 -1
  73. package/dist/@ecme/components/ui/Checkbox/Checkbox.js +42 -42
  74. package/dist/@ecme/components/ui/Checkbox/Checkbox.js.map +1 -1
  75. package/dist/@ecme/components/ui/Checkbox/Group.js +27 -27
  76. package/dist/@ecme/components/ui/Checkbox/Group.js.map +1 -1
  77. package/dist/@ecme/components/ui/DatePicker/BasePicker.js +67 -67
  78. package/dist/@ecme/components/ui/DatePicker/BasePicker.js.map +1 -1
  79. package/dist/@ecme/components/ui/DatePicker/Calendar.js +18 -18
  80. package/dist/@ecme/components/ui/DatePicker/Calendar.js.map +1 -1
  81. package/dist/@ecme/components/ui/DatePicker/CalendarBase.js +77 -78
  82. package/dist/@ecme/components/ui/DatePicker/CalendarBase.js.map +1 -1
  83. package/dist/@ecme/components/ui/DatePicker/DatePicker.js +67 -71
  84. package/dist/@ecme/components/ui/DatePicker/DatePicker.js.map +1 -1
  85. package/dist/@ecme/components/ui/DatePicker/DatePickerRange.js +94 -98
  86. package/dist/@ecme/components/ui/DatePicker/DatePickerRange.js.map +1 -1
  87. package/dist/@ecme/components/ui/DatePicker/DateTimepicker.js +51 -58
  88. package/dist/@ecme/components/ui/DatePicker/DateTimepicker.js.map +1 -1
  89. package/dist/@ecme/components/ui/DatePicker/tables/DateTable.js +67 -67
  90. package/dist/@ecme/components/ui/DatePicker/tables/DateTable.js.map +1 -1
  91. package/dist/@ecme/components/ui/DatePicker/tables/components/Day.js +12 -12
  92. package/dist/@ecme/components/ui/DatePicker/tables/components/Day.js.map +1 -1
  93. package/dist/@ecme/components/ui/Dialog/Dialog.js +25 -25
  94. package/dist/@ecme/components/ui/Dialog/Dialog.js.map +1 -1
  95. package/dist/@ecme/components/ui/Drawer/Drawer.js +32 -32
  96. package/dist/@ecme/components/ui/Drawer/Drawer.js.map +1 -1
  97. package/dist/@ecme/components/ui/Dropdown/DropdownItem.js +58 -58
  98. package/dist/@ecme/components/ui/Dropdown/DropdownItem.js.map +1 -1
  99. package/dist/@ecme/components/ui/Dropdown/DropdownMenu.js +99 -100
  100. package/dist/@ecme/components/ui/Dropdown/DropdownMenu.js.map +1 -1
  101. package/dist/@ecme/components/ui/Dropdown/DropdownSubItem.js +26 -26
  102. package/dist/@ecme/components/ui/Dropdown/DropdownSubItem.js.map +1 -1
  103. package/dist/@ecme/components/ui/Form/FormContainer.js +17 -17
  104. package/dist/@ecme/components/ui/Form/FormContainer.js.map +1 -1
  105. package/dist/@ecme/components/ui/Form/FormItem.js +38 -38
  106. package/dist/@ecme/components/ui/Form/FormItem.js.map +1 -1
  107. package/dist/@ecme/components/ui/Input/Input.js +50 -52
  108. package/dist/@ecme/components/ui/Input/Input.js.map +1 -1
  109. package/dist/@ecme/components/ui/InputGroup/Addon.js +12 -13
  110. package/dist/@ecme/components/ui/InputGroup/Addon.js.map +1 -1
  111. package/dist/@ecme/components/ui/InputGroup/InputGroup.js +10 -11
  112. package/dist/@ecme/components/ui/InputGroup/InputGroup.js.map +1 -1
  113. package/dist/@ecme/components/ui/Notification/Notification.js +19 -19
  114. package/dist/@ecme/components/ui/Notification/Notification.js.map +1 -1
  115. package/dist/@ecme/components/ui/Pagination/Pagination.js +45 -45
  116. package/dist/@ecme/components/ui/Pagination/Pagination.js.map +1 -1
  117. package/dist/@ecme/components/ui/Radio/Group.js +28 -28
  118. package/dist/@ecme/components/ui/Radio/Group.js.map +1 -1
  119. package/dist/@ecme/components/ui/Radio/Radio.js +42 -42
  120. package/dist/@ecme/components/ui/Radio/Radio.js.map +1 -1
  121. package/dist/@ecme/components/ui/Segment/SegmentItem.js +53 -53
  122. package/dist/@ecme/components/ui/Segment/SegmentItem.js.map +1 -1
  123. package/dist/@ecme/components/ui/Select/Select.js +40 -41
  124. package/dist/@ecme/components/ui/Select/Select.js.map +1 -1
  125. package/dist/@ecme/components/ui/Steps/StepItem.js +33 -33
  126. package/dist/@ecme/components/ui/Steps/StepItem.js.map +1 -1
  127. package/dist/@ecme/components/ui/Switcher/Switcher.js +24 -24
  128. package/dist/@ecme/components/ui/Switcher/Switcher.js.map +1 -1
  129. package/dist/@ecme/components/ui/Tabs/TabNav.js +22 -22
  130. package/dist/@ecme/components/ui/Tabs/TabNav.js.map +1 -1
  131. package/dist/@ecme/components/ui/TimeInput/AmPmInput.js +25 -27
  132. package/dist/@ecme/components/ui/TimeInput/AmPmInput.js.map +1 -1
  133. package/dist/@ecme/components/ui/TimeInput/TimeInput.js +130 -135
  134. package/dist/@ecme/components/ui/TimeInput/TimeInput.js.map +1 -1
  135. package/dist/@ecme/components/ui/TimeInput/TimeInputField.js +22 -24
  136. package/dist/@ecme/components/ui/TimeInput/TimeInputField.js.map +1 -1
  137. package/dist/@ecme/components/ui/TimeInput/TimeInputRange.js +65 -68
  138. package/dist/@ecme/components/ui/TimeInput/TimeInputRange.js.map +1 -1
  139. package/dist/@ecme/components/ui/TimeInput/utils/createAmPmHandler.js +11 -12
  140. package/dist/@ecme/components/ui/TimeInput/utils/createAmPmHandler.js.map +1 -1
  141. package/dist/@ecme/components/ui/TimeInput/utils/createTimeHandler.js +19 -20
  142. package/dist/@ecme/components/ui/TimeInput/utils/createTimeHandler.js.map +1 -1
  143. package/dist/@ecme/components/ui/Upload/Upload.js +67 -68
  144. package/dist/@ecme/components/ui/Upload/Upload.js.map +1 -1
  145. package/dist/@ecme/components/ui/hooks/useCallbackRef.js +7 -10
  146. package/dist/@ecme/components/ui/hooks/useCallbackRef.js.map +1 -1
  147. package/dist/@ecme/components/ui/hooks/useRootClose.js +32 -32
  148. package/dist/@ecme/components/ui/hooks/useRootClose.js.map +1 -1
  149. package/dist/@ecme/components/ui/hooks/useTimeout.js +12 -13
  150. package/dist/@ecme/components/ui/hooks/useTimeout.js.map +1 -1
  151. package/dist/@ecme/components/ui/toast/ToastWrapper.js +58 -61
  152. package/dist/@ecme/components/ui/toast/ToastWrapper.js.map +1 -1
  153. package/dist/@ecme/components/ui/toast/toast.js +16 -19
  154. package/dist/@ecme/components/ui/toast/toast.js.map +1 -1
  155. package/dist/@ecme/components/view/Activity/ActivityEvent.js +63 -67
  156. package/dist/@ecme/components/view/Activity/ActivityEvent.js.map +1 -1
  157. package/dist/@ecme/components/view/ChatBox/components/Attachment.js +8 -9
  158. package/dist/@ecme/components/view/ChatBox/components/Attachment.js.map +1 -1
  159. package/dist/@ecme/components/view/ChatBox/components/ChatInput.js +37 -39
  160. package/dist/@ecme/components/view/ChatBox/components/ChatInput.js.map +1 -1
  161. package/dist/@ecme/components/view/ChatBox/components/Message.js +10 -10
  162. package/dist/@ecme/components/view/ChatBox/components/Message.js.map +1 -1
  163. package/dist/@ecme/components/view/CreditCardDialog/CreditCardDialog.js +36 -37
  164. package/dist/@ecme/components/view/CreditCardDialog/CreditCardDialog.js.map +1 -1
  165. package/dist/@ecme/components/view/TaskItem/TaskItem.js +33 -33
  166. package/dist/@ecme/components/view/TaskItem/TaskItem.js.map +1 -1
  167. package/dist/@ecme/mock/fakeApi/chatFakeApi.js +16 -18
  168. package/dist/@ecme/mock/fakeApi/chatFakeApi.js.map +1 -1
  169. package/dist/@ecme/mock/fakeApi/customersFakeApi.js +10 -11
  170. package/dist/@ecme/mock/fakeApi/customersFakeApi.js.map +1 -1
  171. package/dist/@ecme/mock/fakeApi/helpCenterFakeApi.js +10 -11
  172. package/dist/@ecme/mock/fakeApi/helpCenterFakeApi.js.map +1 -1
  173. package/dist/@ecme/mock/fakeApi/mailFakeApi.js +9 -10
  174. package/dist/@ecme/mock/fakeApi/mailFakeApi.js.map +1 -1
  175. package/dist/@ecme/mock/fakeApi/ordersFakeApi.js +9 -10
  176. package/dist/@ecme/mock/fakeApi/ordersFakeApi.js.map +1 -1
  177. package/dist/@ecme/mock/fakeApi/productsFakeApi.js +7 -8
  178. package/dist/@ecme/mock/fakeApi/productsFakeApi.js.map +1 -1
  179. package/dist/@ecme/mock/fakeApi/projectsFakeApi.js +10 -11
  180. package/dist/@ecme/mock/fakeApi/projectsFakeApi.js.map +1 -1
  181. package/dist/@ecme/utils/hooks/useInfiniteScroll.js +11 -11
  182. package/dist/@ecme/utils/hooks/useInfiniteScroll.js.map +1 -1
  183. package/dist/@ecme/utils/hooks/useMenuActive.js +11 -12
  184. package/dist/@ecme/utils/hooks/useMenuActive.js.map +1 -1
  185. package/dist/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.js +36 -37
  186. package/dist/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.js.map +1 -1
  187. package/dist/@ecme/views/auth/OtpVerification/OtpVerification.js +14 -14
  188. package/dist/@ecme/views/auth/OtpVerification/OtpVerification.js.map +1 -1
  189. package/dist/@ecme/views/auth/OtpVerification/components/OtpVerificationForm.js +41 -42
  190. package/dist/@ecme/views/auth/OtpVerification/components/OtpVerificationForm.js.map +1 -1
  191. package/dist/@ecme/views/auth/ResetPassword/components/ResetPasswordForm.js +59 -60
  192. package/dist/@ecme/views/auth/ResetPassword/components/ResetPasswordForm.js.map +1 -1
  193. package/dist/@ecme/views/auth/SignIn/components/OauthSignIn.js +27 -27
  194. package/dist/@ecme/views/auth/SignIn/components/OauthSignIn.js.map +1 -1
  195. package/dist/@ecme/views/auth/SignIn/components/SignInForm.js +57 -58
  196. package/dist/@ecme/views/auth/SignIn/components/SignInForm.js.map +1 -1
  197. package/dist/@ecme/views/auth/SignUp/components/SignUpForm.js +37 -38
  198. package/dist/@ecme/views/auth/SignUp/components/SignUpForm.js.map +1 -1
  199. package/dist/@ecme/views/concepts/accounts/Pricing/components/PaymentDialog.js +44 -45
  200. package/dist/@ecme/views/concepts/accounts/Pricing/components/PaymentDialog.js.map +1 -1
  201. package/dist/@ecme/views/concepts/accounts/Pricing/components/Plans.js +5 -5
  202. package/dist/@ecme/views/concepts/accounts/Pricing/components/Plans.js.map +1 -1
  203. package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsAccessDialog.js +34 -35
  204. package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsAccessDialog.js.map +1 -1
  205. package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserAction.js +26 -26
  206. package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserAction.js.map +1 -1
  207. package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserTable.js +28 -29
  208. package/dist/@ecme/views/concepts/accounts/RolesPermissions/components/RolesPermissionsUserTable.js.map +1 -1
  209. package/dist/@ecme/views/concepts/accounts/RolesPermissions/hooks/useRolePermissonsUsers.js +8 -8
  210. package/dist/@ecme/views/concepts/accounts/RolesPermissions/hooks/useRolePermissonsUsers.js.map +1 -1
  211. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingMobileMenu.js +10 -11
  212. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingMobileMenu.js.map +1 -1
  213. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsBilling.js +48 -49
  214. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsBilling.js.map +1 -1
  215. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsMenu.js +14 -14
  216. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsMenu.js.map +1 -1
  217. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsProfile.js +102 -103
  218. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsProfile.js.map +1 -1
  219. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsSecurity.js +34 -35
  220. package/dist/@ecme/views/concepts/accounts/Settings/components/SettingsSecurity.js.map +1 -1
  221. package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomAction.js +16 -16
  222. package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomAction.js.map +1 -1
  223. package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomContent.js +76 -78
  224. package/dist/@ecme/views/concepts/ai/Chat/components/ChatCustomContent.js.map +1 -1
  225. package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistory.js +23 -23
  226. package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistory.js.map +1 -1
  227. package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryItem.js +48 -49
  228. package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryItem.js.map +1 -1
  229. package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryRenameDialog.js +34 -35
  230. package/dist/@ecme/views/concepts/ai/Chat/components/ChatHistoryRenameDialog.js.map +1 -1
  231. package/dist/@ecme/views/concepts/ai/Chat/components/ChatMobileNav.js +11 -14
  232. package/dist/@ecme/views/concepts/ai/Chat/components/ChatMobileNav.js.map +1 -1
  233. package/dist/@ecme/views/concepts/ai/Chat/components/ChatSideNav.js +19 -19
  234. package/dist/@ecme/views/concepts/ai/Chat/components/ChatSideNav.js.map +1 -1
  235. package/dist/@ecme/views/concepts/ai/Chat/components/ChatView.js +22 -26
  236. package/dist/@ecme/views/concepts/ai/Chat/components/ChatView.js.map +1 -1
  237. package/dist/@ecme/views/concepts/ai/Chat/store/generativeChatStore.js +18 -24
  238. package/dist/@ecme/views/concepts/ai/Chat/store/generativeChatStore.js.map +1 -1
  239. package/dist/@ecme/views/concepts/ai/Image/components/ConfigDropdown.js +22 -22
  240. package/dist/@ecme/views/concepts/ai/Image/components/ConfigDropdown.js.map +1 -1
  241. package/dist/@ecme/views/concepts/ai/Image/components/GeneratorPrompt.js +31 -32
  242. package/dist/@ecme/views/concepts/ai/Image/components/GeneratorPrompt.js.map +1 -1
  243. package/dist/@ecme/views/concepts/ai/Image/components/ImageDialog.js +31 -32
  244. package/dist/@ecme/views/concepts/ai/Image/components/ImageDialog.js.map +1 -1
  245. package/dist/@ecme/views/concepts/calendar/Calendar/Calendar.js +38 -39
  246. package/dist/@ecme/views/concepts/calendar/Calendar/Calendar.js.map +1 -1
  247. package/dist/@ecme/views/concepts/calendar/Calendar/components/EventDialog.js +68 -69
  248. package/dist/@ecme/views/concepts/calendar/Calendar/components/EventDialog.js.map +1 -1
  249. package/dist/@ecme/views/concepts/chat/Chat/components/ChatBody.js +63 -66
  250. package/dist/@ecme/views/concepts/chat/Chat/components/ChatBody.js.map +1 -1
  251. package/dist/@ecme/views/concepts/chat/Chat/components/ChatList.js +21 -22
  252. package/dist/@ecme/views/concepts/chat/Chat/components/ChatList.js.map +1 -1
  253. package/dist/@ecme/views/concepts/chat/Chat/components/ContactInfoDrawer.js +84 -85
  254. package/dist/@ecme/views/concepts/chat/Chat/components/ContactInfoDrawer.js.map +1 -1
  255. package/dist/@ecme/views/concepts/customers/CustomerDetails/ActivitySection.js +19 -19
  256. package/dist/@ecme/views/concepts/customers/CustomerDetails/ActivitySection.js.map +1 -1
  257. package/dist/@ecme/views/concepts/customers/CustomerDetails/BillingSection.js +51 -58
  258. package/dist/@ecme/views/concepts/customers/CustomerDetails/BillingSection.js.map +1 -1
  259. package/dist/@ecme/views/concepts/customers/CustomerDetails/ProfileSection.js +76 -89
  260. package/dist/@ecme/views/concepts/customers/CustomerDetails/ProfileSection.js.map +1 -1
  261. package/dist/@ecme/views/concepts/customers/CustomerForm/AddressSection.js +104 -107
  262. package/dist/@ecme/views/concepts/customers/CustomerForm/AddressSection.js.map +1 -1
  263. package/dist/@ecme/views/concepts/customers/CustomerForm/CustomerForm.js +22 -22
  264. package/dist/@ecme/views/concepts/customers/CustomerForm/CustomerForm.js.map +1 -1
  265. package/dist/@ecme/views/concepts/customers/CustomerForm/OverviewSection.js +38 -39
  266. package/dist/@ecme/views/concepts/customers/CustomerForm/OverviewSection.js.map +1 -1
  267. package/dist/@ecme/views/concepts/customers/CustomerList/hooks/useCustomerList.js +20 -20
  268. package/dist/@ecme/views/concepts/customers/CustomerList/hooks/useCustomerList.js.map +1 -1
  269. package/dist/@ecme/views/concepts/files/FileManager/components/FileItemDropdown.js +32 -33
  270. package/dist/@ecme/views/concepts/files/FileManager/components/FileItemDropdown.js.map +1 -1
  271. package/dist/@ecme/views/concepts/help-center/EditArticle/components/EditArticleHeader.js +17 -18
  272. package/dist/@ecme/views/concepts/help-center/EditArticle/components/EditArticleHeader.js.map +1 -1
  273. package/dist/@ecme/views/concepts/help-center/ManageArticle/hooks/useManageArticle.js +5 -5
  274. package/dist/@ecme/views/concepts/help-center/ManageArticle/hooks/useManageArticle.js.map +1 -1
  275. package/dist/@ecme/views/concepts/help-center/SupportHub/components/TopSection.js +12 -13
  276. package/dist/@ecme/views/concepts/help-center/SupportHub/components/TopSection.js.map +1 -1
  277. package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailAction.js +28 -29
  278. package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailAction.js.map +1 -1
  279. package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailContent.js +63 -67
  280. package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailContent.js.map +1 -1
  281. package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailTitle.js +8 -8
  282. package/dist/@ecme/views/concepts/mail/Mail/components/MailDetailTitle.js.map +1 -1
  283. package/dist/@ecme/views/concepts/mail/Mail/components/MailEditor.js +36 -37
  284. package/dist/@ecme/views/concepts/mail/Mail/components/MailEditor.js.map +1 -1
  285. package/dist/@ecme/views/concepts/mail/Mail/components/MailList.js +134 -137
  286. package/dist/@ecme/views/concepts/mail/Mail/components/MailList.js.map +1 -1
  287. package/dist/@ecme/views/concepts/orders/OrderDetails/components/OrderDetailProducts.js +17 -17
  288. package/dist/@ecme/views/concepts/orders/OrderDetails/components/OrderDetailProducts.js.map +1 -1
  289. package/dist/@ecme/views/concepts/orders/OrderEdit/OrderEdit.js +35 -35
  290. package/dist/@ecme/views/concepts/orders/OrderEdit/OrderEdit.js.map +1 -1
  291. package/dist/@ecme/views/concepts/orders/OrderForm/OrderForm.js +38 -38
  292. package/dist/@ecme/views/concepts/orders/OrderForm/OrderForm.js.map +1 -1
  293. package/dist/@ecme/views/concepts/orders/OrderForm/components/BillingAddressSection.js +108 -111
  294. package/dist/@ecme/views/concepts/orders/OrderForm/components/BillingAddressSection.js.map +1 -1
  295. package/dist/@ecme/views/concepts/orders/OrderForm/components/CustomerDetailSection.js +44 -45
  296. package/dist/@ecme/views/concepts/orders/OrderForm/components/CustomerDetailSection.js.map +1 -1
  297. package/dist/@ecme/views/concepts/orders/OrderForm/components/PaymentMethodSection.js +211 -214
  298. package/dist/@ecme/views/concepts/orders/OrderForm/components/PaymentMethodSection.js.map +1 -1
  299. package/dist/@ecme/views/concepts/orders/OrderList/components/OrderListTableFilter.js +17 -17
  300. package/dist/@ecme/views/concepts/orders/OrderList/components/OrderListTableFilter.js.map +1 -1
  301. package/dist/@ecme/views/concepts/orders/OrderList/hooks/useOrderlist.js +15 -15
  302. package/dist/@ecme/views/concepts/orders/OrderList/hooks/useOrderlist.js.map +1 -1
  303. package/dist/@ecme/views/concepts/products/ProductForm/ProductForm.js +4 -4
  304. package/dist/@ecme/views/concepts/products/ProductForm/ProductForm.js.map +1 -1
  305. package/dist/@ecme/views/concepts/products/ProductForm/components/AttributeSection.js +97 -100
  306. package/dist/@ecme/views/concepts/products/ProductForm/components/AttributeSection.js.map +1 -1
  307. package/dist/@ecme/views/concepts/products/ProductForm/components/GeneralSection.js +68 -71
  308. package/dist/@ecme/views/concepts/products/ProductForm/components/GeneralSection.js.map +1 -1
  309. package/dist/@ecme/views/concepts/products/ProductForm/components/ImageSection.js +85 -86
  310. package/dist/@ecme/views/concepts/products/ProductForm/components/ImageSection.js.map +1 -1
  311. package/dist/@ecme/views/concepts/products/ProductForm/components/PricingSection.js +121 -124
  312. package/dist/@ecme/views/concepts/products/ProductForm/components/PricingSection.js.map +1 -1
  313. package/dist/@ecme/views/concepts/products/ProductList/components/ProductListSearch.js +11 -11
  314. package/dist/@ecme/views/concepts/products/ProductList/components/ProductListSearch.js.map +1 -1
  315. package/dist/@ecme/views/concepts/products/ProductList/components/ProductTableFilter.js +17 -17
  316. package/dist/@ecme/views/concepts/products/ProductList/components/ProductTableFilter.js.map +1 -1
  317. package/dist/@ecme/views/concepts/products/ProductList/hooks/useProductList.js +17 -17
  318. package/dist/@ecme/views/concepts/products/ProductList/hooks/useProductList.js.map +1 -1
  319. package/dist/@ecme/views/concepts/projects/Issue/components/IssueBody.js +101 -105
  320. package/dist/@ecme/views/concepts/projects/Issue/components/IssueBody.js.map +1 -1
  321. package/dist/@ecme/views/concepts/projects/Issue/components/IssueFooter.js +57 -58
  322. package/dist/@ecme/views/concepts/projects/Issue/components/IssueFooter.js.map +1 -1
  323. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsHeader.js +51 -52
  324. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsHeader.js.map +1 -1
  325. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsOverview.js +22 -23
  326. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsOverview.js.map +1 -1
  327. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsSetting.js +45 -46
  328. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsSetting.js.map +1 -1
  329. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsTask.js +62 -65
  330. package/dist/@ecme/views/concepts/projects/ProjectDetails/components/ProjectDetailsTask.js.map +1 -1
  331. package/dist/@ecme/views/concepts/projects/ProjectList/components/NewProjectForm.js +52 -53
  332. package/dist/@ecme/views/concepts/projects/ProjectList/components/NewProjectForm.js.map +1 -1
  333. package/dist/@ecme/views/concepts/projects/ProjectList/components/NewTaskField.js +23 -25
  334. package/dist/@ecme/views/concepts/projects/ProjectList/components/NewTaskField.js.map +1 -1
  335. package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListContent.js +15 -15
  336. package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListContent.js.map +1 -1
  337. package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListHeader.js +16 -16
  338. package/dist/@ecme/views/concepts/projects/ProjectList/components/ProjectListHeader.js.map +1 -1
  339. package/dist/@ecme/views/concepts/projects/ProjectList/hooks/useProjectList.js +9 -9
  340. package/dist/@ecme/views/concepts/projects/ProjectList/hooks/useProjectList.js.map +1 -1
  341. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewColumnContent.js +40 -41
  342. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewColumnContent.js.map +1 -1
  343. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewTicketContent.js +33 -34
  344. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/AddNewTicketContent.js.map +1 -1
  345. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/BoardCardList.js +33 -33
  346. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/BoardCardList.js.map +1 -1
  347. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/TicketContent.js +203 -210
  348. package/dist/@ecme/views/concepts/projects/ScrumBoard/components/TicketContent.js.map +1 -1
  349. package/dist/@ecme/views/concepts/projects/Tasks/components/AddTask.js +53 -56
  350. package/dist/@ecme/views/concepts/projects/Tasks/components/AddTask.js.map +1 -1
  351. package/dist/@ecme/views/concepts/projects/Tasks/components/TaskList.js +80 -83
  352. package/dist/@ecme/views/concepts/projects/Tasks/components/TaskList.js.map +1 -1
  353. package/dist/@ecme/views/dashboards/AnalyticDashboard/components/AnalyticHeader.js +6 -6
  354. package/dist/@ecme/views/dashboards/AnalyticDashboard/components/AnalyticHeader.js.map +1 -1
  355. package/dist/@ecme/views/dashboards/EcommerceDashboard/components/Overview.js +21 -21
  356. package/dist/@ecme/views/dashboards/EcommerceDashboard/components/Overview.js.map +1 -1
  357. package/dist/@ecme/views/dashboards/EcommerceDashboard/components/RevenueByChannel.js +27 -27
  358. package/dist/@ecme/views/dashboards/EcommerceDashboard/components/RevenueByChannel.js.map +1 -1
  359. package/dist/@ecme/views/dashboards/EcommerceDashboard/components/SalesTarget.js +27 -27
  360. package/dist/@ecme/views/dashboards/EcommerceDashboard/components/SalesTarget.js.map +1 -1
  361. package/dist/@ecme/views/dashboards/MarketingDashboard/components/CreateCampaign.js +59 -60
  362. package/dist/@ecme/views/dashboards/MarketingDashboard/components/CreateCampaign.js.map +1 -1
  363. package/dist/@ecme/views/dashboards/ProjectDashboard/components/CreateEventDialog.js +76 -77
  364. package/dist/@ecme/views/dashboards/ProjectDashboard/components/CreateEventDialog.js.map +1 -1
  365. package/dist/@ecme/views/dashboards/ProjectDashboard/components/UpcomingSchedule.js +30 -30
  366. package/dist/@ecme/views/dashboards/ProjectDashboard/components/UpcomingSchedule.js.map +1 -1
  367. package/dist/@ecme/views/guide/SharedComponentsDoc/components/CustomFormatInputDoc/WithForm.js +21 -22
  368. package/dist/@ecme/views/guide/SharedComponentsDoc/components/CustomFormatInputDoc/WithForm.js.map +1 -1
  369. package/dist/@ecme/views/guide/SharedComponentsDoc/components/ImageGalleryDoc/Example.js +15 -15
  370. package/dist/@ecme/views/guide/SharedComponentsDoc/components/ImageGalleryDoc/Example.js.map +1 -1
  371. package/dist/@ecme/views/guide/SharedComponentsDoc/components/NumericInputDoc/WithForm.js +20 -21
  372. package/dist/@ecme/views/guide/SharedComponentsDoc/components/NumericInputDoc/WithForm.js.map +1 -1
  373. package/dist/@ecme/views/guide/SharedComponentsDoc/components/PatternInputDoc/WithForm.js +20 -21
  374. package/dist/@ecme/views/guide/SharedComponentsDoc/components/PatternInputDoc/WithForm.js.map +1 -1
  375. package/dist/@ecme/views/guide/SharedComponentsDoc/components/RichTextEditorDoc/WithForm.js +20 -21
  376. package/dist/@ecme/views/guide/SharedComponentsDoc/components/RichTextEditorDoc/WithForm.js.map +1 -1
  377. package/dist/@ecme/views/ui-components/data-display/Table/Editable.js +17 -18
  378. package/dist/@ecme/views/ui-components/data-display/Table/Editable.js.map +1 -1
  379. package/dist/@ecme/views/ui-components/data-display/Table/PaginationTable.js +12 -12
  380. package/dist/@ecme/views/ui-components/data-display/Table/PaginationTable.js.map +1 -1
  381. package/dist/@ecme/views/ui-components/forms/FormControl/AsyncValidation.js +28 -29
  382. package/dist/@ecme/views/ui-components/forms/FormControl/AsyncValidation.js.map +1 -1
  383. package/dist/@ecme/views/ui-components/forms/FormControl/Basic.js +21 -22
  384. package/dist/@ecme/views/ui-components/forms/FormControl/Basic.js.map +1 -1
  385. package/dist/@ecme/views/ui-components/forms/FormControl/DependentValidation.js +24 -25
  386. package/dist/@ecme/views/ui-components/forms/FormControl/DependentValidation.js.map +1 -1
  387. package/dist/@ecme/views/ui-components/forms/FormControl/DynamicForm.js +75 -79
  388. package/dist/@ecme/views/ui-components/forms/FormControl/DynamicForm.js.map +1 -1
  389. package/dist/@ecme/views/ui-components/forms/FormControl/FieldValidation.js +19 -20
  390. package/dist/@ecme/views/ui-components/forms/FormControl/FieldValidation.js.map +1 -1
  391. package/dist/@ecme/views/ui-components/forms/FormControl/MixedFormControl.js +90 -91
  392. package/dist/@ecme/views/ui-components/forms/FormControl/MixedFormControl.js.map +1 -1
  393. package/dist/@ecme/views/ui-components/forms/FormControl/SchemaValidation.js +22 -23
  394. package/dist/@ecme/views/ui-components/forms/FormControl/SchemaValidation.js.map +1 -1
  395. package/dist/@types/base/configs/api.config.d.ts +3 -22
  396. package/dist/@types/base/configs/api.config.d.ts.map +1 -1
  397. package/dist/base/assets/styles/init.css +1 -1
  398. package/dist/base/components/forms/ArraysForms/GenericArrayNumberFormSection.js +24 -25
  399. package/dist/base/components/forms/ArraysForms/GenericArrayNumberFormSection.js.map +1 -1
  400. package/dist/base/components/forms/ArraysForms/GenericArrayStringFormSection.js +23 -24
  401. package/dist/base/components/forms/ArraysForms/GenericArrayStringFormSection.js.map +1 -1
  402. package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js +30 -31
  403. package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js.map +1 -1
  404. package/dist/base/components/forms/GenericFomrsSetValue/GenericStringFormSection.js +25 -26
  405. package/dist/base/components/forms/GenericFomrsSetValue/GenericStringFormSection.js.map +1 -1
  406. package/dist/base/components/forms/GenericForms/GenericArrayFormSection.js +49 -50
  407. package/dist/base/components/forms/GenericForms/GenericArrayFormSection.js.map +1 -1
  408. package/dist/base/components/forms/GenericForms/GenericNumberFormSection.js +27 -28
  409. package/dist/base/components/forms/GenericForms/GenericNumberFormSection.js.map +1 -1
  410. package/dist/base/components/forms/GenericForms/GenericStringFormSection.js +23 -24
  411. package/dist/base/components/forms/GenericForms/GenericStringFormSection.js.map +1 -1
  412. package/dist/base/components/forms/GenericForms/GenericUploadFormSection.js +27 -28
  413. package/dist/base/components/forms/GenericForms/GenericUploadFormSection.js.map +1 -1
  414. package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPercentage.js +29 -30
  415. package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPercentage.js.map +1 -1
  416. package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.js +27 -28
  417. package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.js.map +1 -1
  418. package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionWeight.js +27 -28
  419. package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionWeight.js.map +1 -1
  420. package/dist/base/components/shared/TransferirProcessoDialog.js +10 -10
  421. package/dist/base/components/shared/TransferirProcessoDialog.js.map +1 -1
  422. package/dist/base/components/tools/NavFilter.js +68 -75
  423. package/dist/base/components/tools/NavFilter.js.map +1 -1
  424. package/dist/base/configs/api.config.js +15 -14
  425. package/dist/base/configs/api.config.js.map +1 -1
  426. package/dist/base/hooks/adm/roles/useRolesList.js +11 -11
  427. package/dist/base/hooks/adm/roles/useRolesList.js.map +1 -1
  428. package/dist/base/hooks/adm/users/useUsersList.js +10 -10
  429. package/dist/base/hooks/adm/users/useUsersList.js.map +1 -1
  430. package/dist/base/hooks/dm/businessPartner/useBusinessPartnerClienteList.js +5 -5
  431. package/dist/base/hooks/dm/businessPartner/useBusinessPartnerClienteList.js.map +1 -1
  432. package/dist/base/hooks/dm/businessPartner/useBusinessPartnerFornecedorList.js +7 -7
  433. package/dist/base/hooks/dm/businessPartner/useBusinessPartnerFornecedorList.js.map +1 -1
  434. package/dist/base/hooks/dm/businessPartner/useBusinessPartnerList.js +10 -10
  435. package/dist/base/hooks/dm/businessPartner/useBusinessPartnerList.js.map +1 -1
  436. package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoByCodigoList.js +8 -8
  437. package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoByCodigoList.js.map +1 -1
  438. package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoList.js +8 -8
  439. package/dist/base/hooks/dm/canalDistribuicao/useCanalDistribuicaoList.js.map +1 -1
  440. package/dist/base/hooks/dm/centro/useCentroByCodigoList.js +13 -13
  441. package/dist/base/hooks/dm/centro/useCentroByCodigoList.js.map +1 -1
  442. package/dist/base/hooks/dm/centro/useCentroList.js +6 -6
  443. package/dist/base/hooks/dm/centro/useCentroList.js.map +1 -1
  444. package/dist/base/hooks/dm/condicaoPagamento/useCondicaoPagamentoList.js +4 -4
  445. package/dist/base/hooks/dm/condicaoPagamento/useCondicaoPagamentoList.js.map +1 -1
  446. package/dist/base/hooks/dm/deposito/useDepositoByCodigoList.js +9 -9
  447. package/dist/base/hooks/dm/deposito/useDepositoByCodigoList.js.map +1 -1
  448. package/dist/base/hooks/dm/deposito/useDepositoList.js +5 -5
  449. package/dist/base/hooks/dm/deposito/useDepositoList.js.map +1 -1
  450. package/dist/base/hooks/dm/deposito/useDepositosByCodigoCentroList.js +13 -13
  451. package/dist/base/hooks/dm/deposito/useDepositosByCodigoCentroList.js.map +1 -1
  452. package/dist/base/hooks/dm/equipeVenda/useEquipeVendaByCodigoList.js +8 -8
  453. package/dist/base/hooks/dm/equipeVenda/useEquipeVendaByCodigoList.js.map +1 -1
  454. package/dist/base/hooks/dm/equipeVenda/useEquipeVendaList.js +6 -6
  455. package/dist/base/hooks/dm/equipeVenda/useEquipeVendaList.js.map +1 -1
  456. package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaByCodigoList.js +10 -10
  457. package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaByCodigoList.js.map +1 -1
  458. package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaList.js +7 -7
  459. package/dist/base/hooks/dm/escritorioVenda/useEscritorioVendaList.js.map +1 -1
  460. package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoByCodigoList.js +10 -10
  461. package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoByCodigoList.js.map +1 -1
  462. package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoList.js +1 -1
  463. package/dist/base/hooks/dm/formaPagamento/useFormaPagamentoList.js.map +1 -1
  464. package/dist/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.js +11 -11
  465. package/dist/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.js.map +1 -1
  466. package/dist/base/hooks/dm/grupoVenda/useGrupoVendaList.js +9 -9
  467. package/dist/base/hooks/dm/grupoVenda/useGrupoVendaList.js.map +1 -1
  468. package/dist/base/hooks/dm/incoterms/useIncotermsList.js +17 -18
  469. package/dist/base/hooks/dm/incoterms/useIncotermsList.js.map +1 -1
  470. package/dist/base/hooks/dm/produto/useProdutoByCodigoList.js +13 -13
  471. package/dist/base/hooks/dm/produto/useProdutoByCodigoList.js.map +1 -1
  472. package/dist/base/hooks/dm/produto/useProdutoByGrupoProdutoList.js +21 -21
  473. package/dist/base/hooks/dm/produto/useProdutoByGrupoProdutoList.js.map +1 -1
  474. package/dist/base/hooks/dm/produto/useProdutoFindList.js +8 -8
  475. package/dist/base/hooks/dm/produto/useProdutoFindList.js.map +1 -1
  476. package/dist/base/hooks/dm/produto/useProdutoFindMonitorList.js +11 -11
  477. package/dist/base/hooks/dm/produto/useProdutoFindMonitorList.js.map +1 -1
  478. package/dist/base/hooks/dm/produto/useProdutoIsPrecificadoRacaoList.js +9 -9
  479. package/dist/base/hooks/dm/produto/useProdutoIsPrecificadoRacaoList.js.map +1 -1
  480. package/dist/base/hooks/dm/setorAtividade/useSetorAtividadeList.js +5 -5
  481. package/dist/base/hooks/dm/setorAtividade/useSetorAtividadeList.js.map +1 -1
  482. package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.js +9 -9
  483. package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.js.map +1 -1
  484. package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.js +9 -9
  485. package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.js.map +1 -1
  486. package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaByCodigoList.js +10 -10
  487. package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaByCodigoList.js.map +1 -1
  488. package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaList.js +9 -9
  489. package/dist/base/hooks/dm/tipoOrdemVenda/useTipoOrdemVendaList.js.map +1 -1
  490. package/dist/base/hooks/useList.js +10 -10
  491. package/dist/base/hooks/useList.js.map +1 -1
  492. package/dist/base/services/modules/transportadora/ControleDescarga/ControleDescargaService.js +15 -15
  493. package/dist/base/services/modules/transportadora/ControleDescarga/ControleDescargaService.js.map +1 -1
  494. package/dist/base/services/modules/transportadora/ControleEmbarque/ControleEmbarqueService.js +7 -7
  495. package/dist/base/services/modules/transportadora/ControleEmbarque/ControleEmbarqueService.js.map +1 -1
  496. package/dist/base/services/modules/transportadora/NaturezaCarga/NaturezaCargaService.js +5 -5
  497. package/dist/base/services/modules/transportadora/NaturezaCarga/NaturezaCargaService.js.map +1 -1
  498. package/dist/base/utils/functions/stringUtils.js +14 -15
  499. package/dist/base/utils/functions/stringUtils.js.map +1 -1
  500. package/lib/base/configs/api.config.ts +9 -7
  501. package/package.json +1 -1
  502. package/tsconfig.json +6 -1
@@ -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,KAAA,gBAAAA,EAAc,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;"}
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;"}
@@ -6,7 +6,7 @@ function L() {
6
6
  e,
7
7
  () => g(),
8
8
  { revalidateOnFocus: !1 }
9
- ), f = a || [], l = (a == null ? void 0 : a.length) || 0;
9
+ ), f = a || [], l = a?.length || 0;
10
10
  return {
11
11
  data: a,
12
12
  formasPagamentosList: f,
@@ -1 +1 @@
1
- {"version":3,"file":"useFormaPagamentoList.js","sources":["../../../../../lib/base/hooks/dm/formaPagamento/useFormaPagamentoList.tsx"],"sourcesContent":["import { apiFindDmFormaPagamento } from '@base/services/modules/dm/formaPagamento/FormaPagamentoService'\nimport { useFormaPagamentoListStore } from '@base/store/dm/formaPagamento/formaPagamentoListStore';\nimport useSWR from 'swr'\n\nexport default function useFormaPagamentoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useFormaPagamentoListStore((state) => state);\n\n const swrKey = [\"/api/dm/forma-pagamento/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmFormaPagamento(),\n { revalidateOnFocus: false }\n );\n\n const formasPagamentosList = data || []\n\n const formasPagamentosListTotal = data?.length || 0\n\n return {\n data,\n formasPagamentosList,\n formasPagamentosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useFormaPagamentoList","tableParams","filterParams","setTableParams","setFilterParams","useFormaPagamentoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmFormaPagamento","formasPagamentosList","formasPagamentosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAwB;AAC5C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA2B,CAACC,MAAUA,CAAK,GAEzCC,IAAS,CAAC,gCAAgCL,CAAY,GAEtD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAuBN,KAAQ,CAAA,GAE/BO,KAA4BP,KAAA,gBAAAA,EAAM,WAAU;AAElD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,sBAAAM;AAAA,IACA,2BAAAC;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
+ {"version":3,"file":"useFormaPagamentoList.js","sources":["../../../../../lib/base/hooks/dm/formaPagamento/useFormaPagamentoList.tsx"],"sourcesContent":["import { apiFindDmFormaPagamento } from '@base/services/modules/dm/formaPagamento/FormaPagamentoService'\nimport { useFormaPagamentoListStore } from '@base/store/dm/formaPagamento/formaPagamentoListStore';\nimport useSWR from 'swr'\n\nexport default function useFormaPagamentoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useFormaPagamentoListStore((state) => state);\n\n const swrKey = [\"/api/dm/forma-pagamento/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmFormaPagamento(),\n { revalidateOnFocus: false }\n );\n\n const formasPagamentosList = data || []\n\n const formasPagamentosListTotal = data?.length || 0\n\n return {\n data,\n formasPagamentosList,\n formasPagamentosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useFormaPagamentoList","tableParams","filterParams","setTableParams","setFilterParams","useFormaPagamentoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmFormaPagamento","formasPagamentosList","formasPagamentosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAwB;AAC5C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA2B,CAACC,MAAUA,CAAK,GAEzCC,IAAS,CAAC,gCAAgCL,CAAY,GAEtD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAuBN,KAAQ,CAAA,GAE/BO,IAA4BP,GAAM,UAAU;AAElD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,sBAAAM;AAAA,IACA,2BAAAC;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,23 +1,23 @@
1
- import { apiFindDmGrupoVendaByCodigo as p } from "../../../services/modules/dm/grupoVenda/GrupoVendaService.js";
2
- import { useGrupoVendaListStore as g } from "../../../store/dm/grupoVenda/grupoVendaListStore.js";
3
- import m from "swr";
1
+ import { apiFindDmGrupoVendaByCodigo as m } from "../../../services/modules/dm/grupoVenda/GrupoVendaService.js";
2
+ import { useGrupoVendaListStore as p } from "../../../store/dm/grupoVenda/grupoVendaListStore.js";
3
+ import g from "swr";
4
4
  function V() {
5
- const { tableParams: i, filterParams: o, setTableParams: r, setFilterParams: s } = g((a) => a), t = o == null ? void 0 : o.codigo, { data: e, error: d, isLoading: n, mutate: u } = m(
6
- t ? ["/api/dm/grupo-venda/find/{codigo}", t] : null,
7
- ([, a]) => p(a),
5
+ const { tableParams: e, filterParams: a, setTableParams: i, setFilterParams: s } = p((o) => o), r = a?.codigo, { data: t, error: d, isLoading: n, mutate: u } = g(
6
+ r ? ["/api/dm/grupo-venda/find/{codigo}", r] : null,
7
+ ([, o]) => m(o),
8
8
  {
9
9
  revalidateOnFocus: !1
10
10
  }
11
11
  );
12
12
  return {
13
- data: e,
14
- grupoVendasByCodigoList: e || [],
13
+ data: t,
14
+ grupoVendasByCodigoList: t || [],
15
15
  error: d,
16
16
  isLoading: n,
17
- tableParams: i,
18
- filterParams: o,
17
+ tableParams: e,
18
+ filterParams: a,
19
19
  mutate: u,
20
- setTableParams: r,
20
+ setTableParams: i,
21
21
  setFilterParams: s
22
22
  };
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useGrupoVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmGrupoVendaByCodigo } from '@base/services/modules/dm/grupoVenda/GrupoVendaService'\nimport { useGrupoVendaListStore } from '@base/store/dm/grupoVenda/grupoVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useGrupoVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useGrupoVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/grupo-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmGrupoVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const grupoVendasByCodigoList = data || []\n\n return {\n data,\n grupoVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useGrupoVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useGrupoVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmGrupoVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAA4B;AAChD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAuB,CAACC,MAAUA,CAAK,GAExGC,IAASL,KAAA,gBAAAA,EAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,qCAAqCA,CAAM,IAAI;AAAA,IACzD,CAAC,GAAGA,CAAM,MAAwBM,EAA4BN,CAAM;AAAA,IACpE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,yBAJ4BA,KAAQ,CAAA;AAAA,IAKpC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useGrupoVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmGrupoVendaByCodigo } from '@base/services/modules/dm/grupoVenda/GrupoVendaService'\nimport { useGrupoVendaListStore } from '@base/store/dm/grupoVenda/grupoVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useGrupoVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useGrupoVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/grupo-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmGrupoVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const grupoVendasByCodigoList = data || []\n\n return {\n data,\n grupoVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useGrupoVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useGrupoVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmGrupoVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAA4B;AAChD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAuB,CAACC,MAAUA,CAAK,GAExGC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,qCAAqCA,CAAM,IAAI;AAAA,IACzD,CAAC,GAAGA,CAAM,MAAwBM,EAA4BN,CAAM;AAAA,IACpE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,yBAJ4BA,KAAQ,CAAA;AAAA,IAKpC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
@@ -2,22 +2,22 @@ import { apiFindDmGrupoVenda as l } from "../../../services/modules/dm/grupoVend
2
2
  import { useGrupoVendaListStore as f } from "../../../store/dm/grupoVenda/grupoVendaListStore.js";
3
3
  import c from "swr";
4
4
  function P() {
5
- const { tableParams: t, filterParams: e, setTableParams: s, setFilterParams: a } = f((d) => d), o = ["/api/dm/grupo-venda/find", e], { data: r, error: n, isLoading: i, mutate: u } = c(
5
+ const { tableParams: r, filterParams: t, setTableParams: e, setFilterParams: s } = f((p) => p), o = ["/api/dm/grupo-venda/find", t], { data: a, error: n, isLoading: i, mutate: u } = c(
6
6
  o,
7
7
  () => l(),
8
8
  { revalidateOnFocus: !1 }
9
- ), m = r || [], p = (r == null ? void 0 : r.length) || 0;
9
+ ), d = a || [], m = a?.length || 0;
10
10
  return {
11
- data: r,
12
- grupoVendasList: m,
13
- grupoVendasListTotal: p,
11
+ data: a,
12
+ grupoVendasList: d,
13
+ grupoVendasListTotal: m,
14
14
  error: n,
15
15
  isLoading: i,
16
- tableParams: t,
17
- filterParams: e,
16
+ tableParams: r,
17
+ filterParams: t,
18
18
  mutate: u,
19
- setTableParams: s,
20
- setFilterParams: a
19
+ setTableParams: e,
20
+ setFilterParams: s
21
21
  };
22
22
  }
23
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useGrupoVendaList.js","sources":["../../../../../lib/base/hooks/dm/grupoVenda/useGrupoVendaList.tsx"],"sourcesContent":["import { apiFindDmGrupoVenda } from '@base/services/modules/dm/grupoVenda/GrupoVendaService';\nimport { useGrupoVendaListStore } from '@base/store/dm/grupoVenda/grupoVendaListStore';\nimport useSWR from 'swr';\n\nexport default function useGrupoVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useGrupoVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/grupo-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmGrupoVenda(),\n { revalidateOnFocus: false }\n );\n\n const grupoVendasList = data || []\n\n const grupoVendasListTotal = data?.length || 0\n\n return {\n data,\n grupoVendasList,\n grupoVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useGrupoVendaList","tableParams","filterParams","setTableParams","setFilterParams","useGrupoVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmGrupoVenda","grupoVendasList","grupoVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAAoB;AACxC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAuB,CAACC,MAAUA,CAAK,GAErCC,IAAS,CAAC,4BAA4BL,CAAY,GAElD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAkBN,KAAQ,CAAA,GAE1BO,KAAuBP,KAAA,gBAAAA,EAAM,WAAU;AAE7C,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,iBAAAM;AAAA,IACA,sBAAAC;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
+ {"version":3,"file":"useGrupoVendaList.js","sources":["../../../../../lib/base/hooks/dm/grupoVenda/useGrupoVendaList.tsx"],"sourcesContent":["import { apiFindDmGrupoVenda } from '@base/services/modules/dm/grupoVenda/GrupoVendaService';\nimport { useGrupoVendaListStore } from '@base/store/dm/grupoVenda/grupoVendaListStore';\nimport useSWR from 'swr';\n\nexport default function useGrupoVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useGrupoVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/grupo-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmGrupoVenda(),\n { revalidateOnFocus: false }\n );\n\n const grupoVendasList = data || []\n\n const grupoVendasListTotal = data?.length || 0\n\n return {\n data,\n grupoVendasList,\n grupoVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useGrupoVendaList","tableParams","filterParams","setTableParams","setFilterParams","useGrupoVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmGrupoVenda","grupoVendasList","grupoVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAAoB;AACxC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAuB,CAACC,MAAUA,CAAK,GAErCC,IAAS,CAAC,4BAA4BL,CAAY,GAElD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAkBN,KAAQ,CAAA,GAE1BO,IAAuBP,GAAM,UAAU;AAE7C,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,iBAAAM;AAAA,IACA,sBAAAC;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,27 +1,26 @@
1
- import { apiFindDmIncoterms as p } from "../../../services/modules/dm/incoterms/IncotermsService.js";
2
- import { useIncotermsListStore as L } from "../../../store/dm/incoterms/incotermsListStore.js";
3
- import P from "swr";
4
- function b() {
5
- var e;
6
- const { tableParams: r, filterParams: s, setTableParams: o, setFilterParams: n } = L((u) => u), i = ["/api/dm/incoterms/find", s], { data: t, error: m, isLoading: c, mutate: a } = P(
7
- i,
8
- () => p(),
1
+ import { apiFindDmIncoterms as u } from "../../../services/modules/dm/incoterms/IncotermsService.js";
2
+ import { useIncotermsListStore as d } from "../../../store/dm/incoterms/incotermsListStore.js";
3
+ import p from "swr";
4
+ function I() {
5
+ const { tableParams: e, filterParams: s, setTableParams: r, setFilterParams: o } = d((f) => f), n = ["/api/dm/incoterms/find", s], { data: t, error: a, isLoading: i, mutate: m } = p(
6
+ n,
7
+ () => u(),
9
8
  { revalidateOnFocus: !1 }
10
- ), l = (t == null ? void 0 : t.content) || [], f = ((e = t == null ? void 0 : t.content) == null ? void 0 : e.length) || 0;
9
+ ), c = t?.content || [], l = t?.content?.length || 0;
11
10
  return {
12
11
  data: t,
13
- incotermsList: l,
14
- incotermsListTotal: f,
15
- error: m,
16
- isLoading: c,
17
- tableParams: r,
12
+ incotermsList: c,
13
+ incotermsListTotal: l,
14
+ error: a,
15
+ isLoading: i,
16
+ tableParams: e,
18
17
  filterParams: s,
19
- mutate: a,
20
- setTableParams: o,
21
- setFilterParams: n
18
+ mutate: m,
19
+ setTableParams: r,
20
+ setFilterParams: o
22
21
  };
23
22
  }
24
23
  export {
25
- b as default
24
+ I as default
26
25
  };
27
26
  //# sourceMappingURL=useIncotermsList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIncotermsList.js","sources":["../../../../../lib/base/hooks/dm/incoterms/useIncotermsList.tsx"],"sourcesContent":["import { apiFindDmIncoterms } from \"@base/services/modules/dm/incoterms/IncotermsService\";\nimport { useIncotermsListStore } from \"@base/store/dm/incoterms/incotermsListStore\";\nimport useSWR from \"swr\";\n\nexport default function useIncotermsList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useIncotermsListStore((state) => state);\n\n const swrKey = [\"/api/dm/incoterms/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmIncoterms(),\n { revalidateOnFocus: false }\n );\n\n const incotermsList = data?.content || [];\n\n const incotermsListTotal = data?.content?.length || 0;\n\n return {\n data,\n incotermsList,\n incotermsListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}\n"],"names":["useIncotermsList","tableParams","filterParams","setTableParams","setFilterParams","useIncotermsListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmIncoterms","incotermsList","incotermsListTotal","_a"],"mappings":";;;AAIA,SAAwBA,IAAmB;;AACvC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAsB,CAACC,MAAUA,CAAK,GAEpCC,IAAS,CAAC,0BAA0BL,CAAY,GAEhD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,KAAgBN,KAAA,gBAAAA,EAAM,YAAW,CAAA,GAEjCO,MAAqBC,IAAAR,KAAA,gBAAAA,EAAM,YAAN,gBAAAQ,EAAe,WAAU;AAEpD,SAAO;AAAA,IACH,MAAAR;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
+ {"version":3,"file":"useIncotermsList.js","sources":["../../../../../lib/base/hooks/dm/incoterms/useIncotermsList.tsx"],"sourcesContent":["import { apiFindDmIncoterms } from \"@base/services/modules/dm/incoterms/IncotermsService\";\nimport { useIncotermsListStore } from \"@base/store/dm/incoterms/incotermsListStore\";\nimport useSWR from \"swr\";\n\nexport default function useIncotermsList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useIncotermsListStore((state) => state);\n\n const swrKey = [\"/api/dm/incoterms/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmIncoterms(),\n { revalidateOnFocus: false }\n );\n\n const incotermsList = data?.content || [];\n\n const incotermsListTotal = data?.content?.length || 0;\n\n return {\n data,\n incotermsList,\n incotermsListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n };\n}\n"],"names":["useIncotermsList","tableParams","filterParams","setTableParams","setFilterParams","useIncotermsListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmIncoterms","incotermsList","incotermsListTotal"],"mappings":";;;AAIA,SAAwBA,IAAmB;AACvC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAsB,CAACC,MAAUA,CAAK,GAEpCC,IAAS,CAAC,0BAA0BL,CAAY,GAEhD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAgBN,GAAM,WAAW,CAAA,GAEjCO,IAAqBP,GAAM,SAAS,UAAU;AAEpD,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,27 +1,27 @@
1
- import { apiFindDmProdutoByCodigo as m } from "../../../services/modules/dm/produto/ProdutoService.js";
1
+ import { apiFindDmProdutoByCodigo as n } from "../../../services/modules/dm/produto/ProdutoService.js";
2
2
  import { useProdutoListStore as c } from "../../../store/dm/produto/produtoListStore.js";
3
- import p from "swr";
4
- function P() {
5
- const { tableParams: s, filterParams: o, setTableParams: d, setFilterParams: a } = c((t) => t), i = o == null ? void 0 : o.codigo, { data: r, error: e, isLoading: u, mutate: n } = p(
6
- i ? ["/api/dm/produto/find/{codigo}", i] : null,
7
- ([, t]) => m(t),
3
+ import l from "swr";
4
+ function L() {
5
+ const { tableParams: s, filterParams: t, setTableParams: a, setFilterParams: d } = c((o) => o), r = t?.codigo, { data: i, error: e, isLoading: u, mutate: m } = l(
6
+ r ? ["/api/dm/produto/find/{codigo}", r] : null,
7
+ ([, o]) => n(o),
8
8
  {
9
9
  revalidateOnFocus: !1
10
10
  }
11
11
  );
12
12
  return {
13
- data: r,
14
- produtosByCodigoList: r || [],
13
+ data: i,
14
+ produtosByCodigoList: i || [],
15
15
  error: e,
16
16
  isLoading: u,
17
17
  tableParams: s,
18
- filterParams: o,
19
- mutate: n,
20
- setTableParams: d,
21
- setFilterParams: a
18
+ filterParams: t,
19
+ mutate: m,
20
+ setTableParams: a,
21
+ setFilterParams: d
22
22
  };
23
23
  }
24
24
  export {
25
- P as default
25
+ L as default
26
26
  };
27
27
  //# sourceMappingURL=useProdutoByCodigoList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useProdutoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmProdutoByCodigo } from '@base/services/modules/dm/produto/ProdutoService'\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore'\nimport useSWR from 'swr'\n\nexport default function useProdutoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useProdutoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/produto/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmProdutoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const produtosByCodigoList = data || []\n\n return {\n data,\n produtosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmProdutoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAyB;AAC7C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAoB,CAACC,MAAUA,CAAK,GAErGC,IAASL,KAAA,gBAAAA,EAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,iCAAiCA,CAAM,IAAI;AAAA,IACrD,CAAC,GAAGA,CAAM,MAAwBM,EAAyBN,CAAM;AAAA,IACjE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,sBAJyBA,KAAQ,CAAA;AAAA,IAKjC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useProdutoByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoByCodigoList.tsx"],"sourcesContent":["import { apiFindDmProdutoByCodigo } from '@base/services/modules/dm/produto/ProdutoService'\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore'\nimport useSWR from 'swr'\n\nexport default function useProdutoByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useProdutoListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/produto/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmProdutoByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const produtosByCodigoList = data || []\n\n return {\n data,\n produtosByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmProdutoByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAyB;AAC7C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAoB,CAACC,MAAUA,CAAK,GAErGC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,iCAAiCA,CAAM,IAAI;AAAA,IACrD,CAAC,GAAGA,CAAM,MAAwBM,EAAyBN,CAAM;AAAA,IACjE;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,sBAJyBA,KAAQ,CAAA;AAAA,IAKjC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
@@ -1,30 +1,30 @@
1
- import { apiFindDmProdutoByGrupoProduto as g } from "../../../services/modules/dm/produto/ProdutoService.js";
2
- import { useProdutoListStore as P } from "../../../store/dm/produto/produtoListStore.js";
3
- import y from "swr";
4
- function G() {
5
- const { tableParams: d, filterParams: o, setTableParams: s, setFilterParams: p } = P((t) => t), i = {
6
- grupoProduto: o == null ? void 0 : o.grupoProduto,
7
- isPrecificadoRacao: o == null ? void 0 : o.isPrecificadoRacao,
8
- codigo: o == null ? void 0 : o.codigo
9
- }, { data: u, error: c, isLoading: e, mutate: n } = y(
10
- o != null && o.grupoProduto ? ["/api/dm/produto/find-produtos-by-grupo-produto", i] : null,
11
- ([, t]) => g(t),
1
+ import { apiFindDmProdutoByGrupoProduto as n } from "../../../services/modules/dm/produto/ProdutoService.js";
2
+ import { useProdutoListStore as m } from "../../../store/dm/produto/produtoListStore.js";
3
+ import l from "swr";
4
+ function B() {
5
+ const { tableParams: a, filterParams: o, setTableParams: s, setFilterParams: d } = m((r) => r), i = {
6
+ grupoProduto: o?.grupoProduto,
7
+ isPrecificadoRacao: o?.isPrecificadoRacao,
8
+ codigo: o?.codigo
9
+ }, { data: t, error: e, isLoading: p, mutate: P } = l(
10
+ o?.grupoProduto ? ["/api/dm/produto/find-produtos-by-grupo-produto", i] : null,
11
+ ([, r]) => n(r),
12
12
  { revalidateOnFocus: !1 }
13
- ), r = u || [], a = r.length;
13
+ ), u = t || [], c = u.length;
14
14
  return {
15
- data: u,
16
- produtosByGrupoProdutoList: r,
17
- produtosByGrupoProdutoListTotal: a,
18
- error: c,
19
- isLoading: e,
20
- tableParams: d,
15
+ data: t,
16
+ produtosByGrupoProdutoList: u,
17
+ produtosByGrupoProdutoListTotal: c,
18
+ error: e,
19
+ isLoading: p,
20
+ tableParams: a,
21
21
  filterParams: o,
22
- mutate: n,
22
+ mutate: P,
23
23
  setTableParams: s,
24
- setFilterParams: p
24
+ setFilterParams: d
25
25
  };
26
26
  }
27
27
  export {
28
- G as default
28
+ B as default
29
29
  };
30
30
  //# sourceMappingURL=useProdutoByGrupoProdutoList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useProdutoByGrupoProdutoList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoByGrupoProdutoList.tsx"],"sourcesContent":["import { apiFindDmProdutoByGrupoProduto } from '@base/services/modules/dm/produto/ProdutoService'\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore'\nimport useSWR from 'swr'\n\nexport default function useProdutoByGrupoProdutoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useProdutoListStore((state) => state)\n\n const requestBody = {\n grupoProduto: filterParams?.grupoProduto as string | undefined,\n isPrecificadoRacao: filterParams?.isPrecificadoRacao as boolean | null,\n codigo: filterParams?.codigo as string | null\n }\n\n const { data, error, isLoading, mutate } = useSWR(\n filterParams?.grupoProduto\n ? ['/api/dm/produto/find-produtos-by-grupo-produto', requestBody]\n : null,\n ([, body]) => apiFindDmProdutoByGrupoProduto(body),\n { revalidateOnFocus: false }\n )\n\n const produtosByGrupoProdutoList = data || []\n const produtosByGrupoProdutoListTotal = produtosByGrupoProdutoList.length\n\n return {\n data,\n produtosByGrupoProdutoList,\n produtosByGrupoProdutoListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoByGrupoProdutoList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","requestBody","data","error","isLoading","mutate","useSWR","body","apiFindDmProdutoByGrupoProduto","produtosByGrupoProdutoList","produtosByGrupoProdutoListTotal"],"mappings":";;;AAIA,SAAwBA,IAA+B;AACnD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAoB,CAACC,MAAUA,CAAK,GAErGC,IAAc;AAAA,IAChB,cAAcL,KAAA,gBAAAA,EAAc;AAAA,IAC5B,oBAAoBA,KAAA,gBAAAA,EAAc;AAAA,IAClC,QAAQA,KAAA,gBAAAA,EAAc;AAAA,EAAA,GAGpB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCV,KAAA,QAAAA,EAAc,eACR,CAAC,kDAAkDK,CAAW,IAC9D;AAAA,IACN,CAAC,GAAGM,CAAI,MAAMC,EAA+BD,CAAI;AAAA,IACjD,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBE,IAA6BP,KAAQ,CAAA,GACrCQ,IAAkCD,EAA2B;AAEnE,SAAO;AAAA,IACH,MAAAP;AAAA,IACA,4BAAAO;AAAA,IACA,iCAAAC;AAAA,IACA,OAAAP;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useProdutoByGrupoProdutoList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoByGrupoProdutoList.tsx"],"sourcesContent":["import { apiFindDmProdutoByGrupoProduto } from '@base/services/modules/dm/produto/ProdutoService'\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore'\nimport useSWR from 'swr'\n\nexport default function useProdutoByGrupoProdutoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useProdutoListStore((state) => state)\n\n const requestBody = {\n grupoProduto: filterParams?.grupoProduto as string | undefined,\n isPrecificadoRacao: filterParams?.isPrecificadoRacao as boolean | null,\n codigo: filterParams?.codigo as string | null\n }\n\n const { data, error, isLoading, mutate } = useSWR(\n filterParams?.grupoProduto\n ? ['/api/dm/produto/find-produtos-by-grupo-produto', requestBody]\n : null,\n ([, body]) => apiFindDmProdutoByGrupoProduto(body),\n { revalidateOnFocus: false }\n )\n\n const produtosByGrupoProdutoList = data || []\n const produtosByGrupoProdutoListTotal = produtosByGrupoProdutoList.length\n\n return {\n data,\n produtosByGrupoProdutoList,\n produtosByGrupoProdutoListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoByGrupoProdutoList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","requestBody","data","error","isLoading","mutate","useSWR","body","apiFindDmProdutoByGrupoProduto","produtosByGrupoProdutoList","produtosByGrupoProdutoListTotal"],"mappings":";;;AAIA,SAAwBA,IAA+B;AACnD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAAoB,CAACC,MAAUA,CAAK,GAErGC,IAAc;AAAA,IAChB,cAAcL,GAAc;AAAA,IAC5B,oBAAoBA,GAAc;AAAA,IAClC,QAAQA,GAAc;AAAA,EAAA,GAGpB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCV,GAAc,eACR,CAAC,kDAAkDK,CAAW,IAC9D;AAAA,IACN,CAAC,GAAGM,CAAI,MAAMC,EAA+BD,CAAI;AAAA,IACjD,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBE,IAA6BP,KAAQ,CAAA,GACrCQ,IAAkCD,EAA2B;AAEnE,SAAO;AAAA,IACH,MAAAP;AAAA,IACA,4BAAAO;AAAA,IACA,iCAAAC;AAAA,IACA,OAAAP;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
@@ -2,22 +2,22 @@ import { apiFindDmProduto as p } from "../../../services/modules/dm/produto/Prod
2
2
  import { useProdutoListStore as f } from "../../../store/dm/produto/produtoListStore.js";
3
3
  import c from "swr";
4
4
  function b() {
5
- const { tableParams: r, filterParams: o, setTableParams: s, setFilterParams: e } = f((l) => l), a = ["/api/dm/produto/find", o], { data: t, error: i, isLoading: n, mutate: u } = c(
6
- a,
5
+ const { tableParams: r, filterParams: o, setTableParams: s, setFilterParams: a } = f((l) => l), e = ["/api/dm/produto/find", o], { data: t, error: i, isLoading: d, mutate: n } = c(
6
+ e,
7
7
  () => p(),
8
8
  { revalidateOnFocus: !1 }
9
- ), m = t || [], d = (t == null ? void 0 : t.length) || 0;
9
+ ), u = t || [], m = t?.length || 0;
10
10
  return {
11
11
  data: t,
12
- produtosList: m,
13
- produtosListTotal: d,
12
+ produtosList: u,
13
+ produtosListTotal: m,
14
14
  error: i,
15
- isLoading: n,
15
+ isLoading: d,
16
16
  tableParams: r,
17
17
  filterParams: o,
18
- mutate: u,
18
+ mutate: n,
19
19
  setTableParams: s,
20
- setFilterParams: e
20
+ setFilterParams: a
21
21
  };
22
22
  }
23
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useProdutoFindList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoFindList.tsx"],"sourcesContent":["import { apiFindDmProduto } from '@base/services/modules/dm/produto/ProdutoService';\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore';\nimport useSWR from 'swr';\n\nexport default function useProdutoFindList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useProdutoListStore((state) => state);\n\n const swrKey = [\"/api/dm/produto/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmProduto(),\n { revalidateOnFocus: false }\n );\n\n const produtosList = data || []\n\n const produtosListTotal = data?.length || 0\n\n return {\n data,\n produtosList,\n produtosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoFindList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmProduto","produtosList","produtosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAoB,CAACC,MAAUA,CAAK,GAElCC,IAAS,CAAC,wBAAwBL,CAAY,GAE9C,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAeN,KAAQ,CAAA,GAEvBO,KAAoBP,KAAA,gBAAAA,EAAM,WAAU;AAE1C,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,cAAAM;AAAA,IACA,mBAAAC;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
+ {"version":3,"file":"useProdutoFindList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoFindList.tsx"],"sourcesContent":["import { apiFindDmProduto } from '@base/services/modules/dm/produto/ProdutoService';\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore';\nimport useSWR from 'swr';\n\nexport default function useProdutoFindList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useProdutoListStore((state) => state);\n\n const swrKey = [\"/api/dm/produto/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmProduto(),\n { revalidateOnFocus: false }\n );\n\n const produtosList = data || []\n\n const produtosListTotal = data?.length || 0\n\n return {\n data,\n produtosList,\n produtosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoFindList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmProduto","produtosList","produtosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAoB,CAACC,MAAUA,CAAK,GAElCC,IAAS,CAAC,wBAAwBL,CAAY,GAE9C,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAeN,KAAQ,CAAA,GAEvBO,IAAoBP,GAAM,UAAU;AAE1C,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,cAAAM;AAAA,IACA,mBAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
@@ -4,25 +4,25 @@ import { useProdutoListStore as f } from "../../../store/dm/produto/produtoListS
4
4
  import P from "swr";
5
5
  import { generateQueryParams as c } from "../../../services/query.js";
6
6
  function S() {
7
- const { tableParams: t, filterParams: r, setTableParams: i, setFilterParams: s } = f((e) => e), { data: o, error: n, isLoading: a, mutate: m } = P(
8
- ["/api/dm/produto/find-monitor", c(r, t)],
7
+ const { tableParams: o, filterParams: r, setTableParams: e, setFilterParams: i } = f((a) => a), { data: t, error: s, isLoading: n, mutate: m } = P(
8
+ ["/api/dm/produto/find-monitor", c(r, o)],
9
9
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
- ([e, d]) => l({ ...d }),
10
+ ([a, p]) => l({ ...p }),
11
11
  {
12
12
  revalidateOnFocus: !1
13
13
  }
14
- ), u = (o == null ? void 0 : o.content) || [], p = (o == null ? void 0 : o.totalElements) || 0;
14
+ ), u = t?.content || [], d = t?.totalElements || 0;
15
15
  return {
16
- data: o,
16
+ data: t,
17
17
  produtoMonitorList: u,
18
- produtoMonitorListTotal: p,
19
- error: n,
20
- isLoading: a,
21
- tableParams: t,
18
+ produtoMonitorListTotal: d,
19
+ error: s,
20
+ isLoading: n,
21
+ tableParams: o,
22
22
  filterParams: r,
23
23
  mutate: m,
24
- setTableParams: i,
25
- setFilterParams: s
24
+ setTableParams: e,
25
+ setFilterParams: i
26
26
  };
27
27
  }
28
28
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useProdutoFindMonitorList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoFindMonitorList.tsx"],"sourcesContent":["import { generateQueryParams } from '@base/services';\nimport { apiFindMonitorProduto } from '@base/services/modules/dm/produto/ProdutoService';\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore';\nimport useSWR from 'swr';\n\nexport default function useProdutoFindMonitorList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useProdutoListStore((state) => state)\n\n const { data, error, isLoading, mutate } = useSWR(\n ['/api/dm/produto/find-monitor', generateQueryParams(filterParams, tableParams)],\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ([_, params]) => apiFindMonitorProduto({ ...params }),\n {\n revalidateOnFocus: false,\n },\n )\n\n const produtoMonitorList = data?.content || []\n\n const produtoMonitorListTotal = data?.totalElements || 0\n\n return {\n data,\n produtoMonitorList,\n produtoMonitorListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoFindMonitorList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","data","error","isLoading","mutate","useSWR","generateQueryParams","_","params","apiFindMonitorProduto","produtoMonitorList","produtoMonitorListTotal"],"mappings":";;;;;AAKA,SAAwBA,IAA4B;AAChD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAoB,CAACC,MAAUA,CAAK,GAElC,EAAE,MAAAC,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvC,CAAC,gCAAgCC,EAAoBV,GAAcD,CAAW,CAAC;AAAA;AAAA,IAE/E,CAAC,CAACY,GAAGC,CAAM,MAAMC,EAAsB,EAAE,GAAGD,GAAQ;AAAA,IACpD;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB,GAGEE,KAAqBT,KAAA,gBAAAA,EAAM,YAAW,CAAA,GAEtCU,KAA0BV,KAAA,gBAAAA,EAAM,kBAAiB;AAEvD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,oBAAAS;AAAA,IACA,yBAAAC;AAAA,IACA,OAAAT;AAAA,IACA,WAAAC;AAAA,IACA,aAAAR;AAAA,IACA,cAAAC;AAAA,IACA,QAAAQ;AAAA,IACA,gBAAAP;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useProdutoFindMonitorList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoFindMonitorList.tsx"],"sourcesContent":["import { generateQueryParams } from '@base/services';\nimport { apiFindMonitorProduto } from '@base/services/modules/dm/produto/ProdutoService';\nimport { useProdutoListStore } from '@base/store/dm/produto/produtoListStore';\nimport useSWR from 'swr';\n\nexport default function useProdutoFindMonitorList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useProdutoListStore((state) => state)\n\n const { data, error, isLoading, mutate } = useSWR(\n ['/api/dm/produto/find-monitor', generateQueryParams(filterParams, tableParams)],\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ([_, params]) => apiFindMonitorProduto({ ...params }),\n {\n revalidateOnFocus: false,\n },\n )\n\n const produtoMonitorList = data?.content || []\n\n const produtoMonitorListTotal = data?.totalElements || 0\n\n return {\n data,\n produtoMonitorList,\n produtoMonitorListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useProdutoFindMonitorList","tableParams","filterParams","setTableParams","setFilterParams","useProdutoListStore","state","data","error","isLoading","mutate","useSWR","generateQueryParams","_","params","apiFindMonitorProduto","produtoMonitorList","produtoMonitorListTotal"],"mappings":";;;;;AAKA,SAAwBA,IAA4B;AAChD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAoB,CAACC,MAAUA,CAAK,GAElC,EAAE,MAAAC,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvC,CAAC,gCAAgCC,EAAoBV,GAAcD,CAAW,CAAC;AAAA;AAAA,IAE/E,CAAC,CAACY,GAAGC,CAAM,MAAMC,EAAsB,EAAE,GAAGD,GAAQ;AAAA,IACpD;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB,GAGEE,IAAqBT,GAAM,WAAW,CAAA,GAEtCU,IAA0BV,GAAM,iBAAiB;AAEvD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,oBAAAS;AAAA,IACA,yBAAAC;AAAA,IACA,OAAAT;AAAA,IACA,WAAAC;AAAA,IACA,aAAAR;AAAA,IACA,cAAAC;AAAA,IACA,QAAAQ;AAAA,IACA,gBAAAP;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
@@ -1,18 +1,18 @@
1
- import { apiFindDmProdutoIsPrecificadoRacao as a } from "../../../services/modules/dm/produto/ProdutoService.js";
2
- import e from "swr";
1
+ import { apiFindDmProdutoIsPrecificadoRacao as c } from "../../../services/modules/dm/produto/ProdutoService.js";
2
+ import d from "swr";
3
3
  function u() {
4
- const { data: o, error: i, isLoading: t, mutate: r } = e(
4
+ const { data: o, error: a, isLoading: t, mutate: i } = d(
5
5
  ["/api/dm/produto/find-produtos-is-precificado-racao"],
6
- ([,]) => a(),
6
+ ([,]) => c(),
7
7
  { revalidateOnFocus: !1 }
8
- ), s = (o == null ? void 0 : o.content) || [], c = (o == null ? void 0 : o.totalElements) || 0;
8
+ ), r = o?.content || [], s = o?.totalElements || 0;
9
9
  return {
10
10
  data: o,
11
- produtosIsPrecificadosRacaoList: s,
12
- produtosIsPrecificadosRacaoListTotal: c,
13
- error: i,
11
+ produtosIsPrecificadosRacaoList: r,
12
+ produtosIsPrecificadosRacaoListTotal: s,
13
+ error: a,
14
14
  isLoading: t,
15
- mutate: r
15
+ mutate: i
16
16
  };
17
17
  }
18
18
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useProdutoIsPrecificadoRacaoList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoIsPrecificadoRacaoList.tsx"],"sourcesContent":["import { apiFindDmProdutoIsPrecificadoRacao } from '@base/services/modules/dm/produto/ProdutoService'\nimport useSWR from 'swr'\n\nexport default function useProdutoIsPrecificadoRacaoList() {\n const { data, error, isLoading, mutate } = useSWR(\n ['/api/dm/produto/find-produtos-is-precificado-racao'],\n ([, ]) => apiFindDmProdutoIsPrecificadoRacao(),\n { revalidateOnFocus: false }\n )\n\n const produtosIsPrecificadosRacaoList = data?.content || []\n\n const produtosIsPrecificadosRacaoListTotal = data?.totalElements || 0\n\n return {\n data,\n produtosIsPrecificadosRacaoList,\n produtosIsPrecificadosRacaoListTotal,\n error,\n isLoading,\n mutate\n }\n}"],"names":["useProdutoIsPrecificadoRacaoList","data","error","isLoading","mutate","useSWR","apiFindDmProdutoIsPrecificadoRacao","produtosIsPrecificadosRacaoList","produtosIsPrecificadosRacaoListTotal"],"mappings":";;AAGA,SAAwBA,IAAmC;AACvD,QAAM,EAAE,MAAAC,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvC,CAAC,oDAAoD;AAAA,IACrD,CAAC,CAAA,CAAA,MAASC,EAAA;AAAA,IACV,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,KAAkCN,KAAA,gBAAAA,EAAM,YAAW,CAAA,GAEnDO,KAAuCP,KAAA,gBAAAA,EAAM,kBAAiB;AAEpE,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,iCAAAM;AAAA,IACA,sCAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useProdutoIsPrecificadoRacaoList.js","sources":["../../../../../lib/base/hooks/dm/produto/useProdutoIsPrecificadoRacaoList.tsx"],"sourcesContent":["import { apiFindDmProdutoIsPrecificadoRacao } from '@base/services/modules/dm/produto/ProdutoService'\nimport useSWR from 'swr'\n\nexport default function useProdutoIsPrecificadoRacaoList() {\n const { data, error, isLoading, mutate } = useSWR(\n ['/api/dm/produto/find-produtos-is-precificado-racao'],\n ([, ]) => apiFindDmProdutoIsPrecificadoRacao(),\n { revalidateOnFocus: false }\n )\n\n const produtosIsPrecificadosRacaoList = data?.content || []\n\n const produtosIsPrecificadosRacaoListTotal = data?.totalElements || 0\n\n return {\n data,\n produtosIsPrecificadosRacaoList,\n produtosIsPrecificadosRacaoListTotal,\n error,\n isLoading,\n mutate\n }\n}"],"names":["useProdutoIsPrecificadoRacaoList","data","error","isLoading","mutate","useSWR","apiFindDmProdutoIsPrecificadoRacao","produtosIsPrecificadosRacaoList","produtosIsPrecificadosRacaoListTotal"],"mappings":";;AAGA,SAAwBA,IAAmC;AACvD,QAAM,EAAE,MAAAC,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvC,CAAC,oDAAoD;AAAA,IACrD,CAAC,CAAA,CAAA,MAASC,EAAA;AAAA,IACV,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAkCN,GAAM,WAAW,CAAA,GAEnDO,IAAuCP,GAAM,iBAAiB;AAEpE,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,iCAAAM;AAAA,IACA,sCAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,EAAA;AAER;"}
@@ -2,11 +2,11 @@ import { apiFindDmSetorAtividade as u } from "../../../services/modules/dm/setor
2
2
  import { useSetorAtividadeListStore as c } from "../../../store/dm/setorAtividade/setorAtividadeListStore.js";
3
3
  import v from "swr";
4
4
  function S() {
5
- const { tableParams: s, filterParams: e, setTableParams: i, setFilterParams: r } = c((f) => f), a = ["/api/dm/setor-atividade/find", e], { data: t, error: o, isLoading: d, mutate: m } = v(
6
- a,
5
+ const { tableParams: s, filterParams: e, setTableParams: a, setFilterParams: i } = c((f) => f), r = ["/api/dm/setor-atividade/find", e], { data: t, error: o, isLoading: d, mutate: m } = v(
6
+ r,
7
7
  () => u(),
8
8
  { revalidateOnFocus: !1 }
9
- ), n = t || [], l = (t == null ? void 0 : t.length) || 0;
9
+ ), n = t || [], l = t?.length || 0;
10
10
  return {
11
11
  data: t,
12
12
  setoresAtividadesList: n,
@@ -16,8 +16,8 @@ function S() {
16
16
  tableParams: s,
17
17
  filterParams: e,
18
18
  mutate: m,
19
- setTableParams: i,
20
- setFilterParams: r
19
+ setTableParams: a,
20
+ setFilterParams: i
21
21
  };
22
22
  }
23
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useSetorAtividadeList.js","sources":["../../../../../lib/base/hooks/dm/setorAtividade/useSetorAtividadeList.ts"],"sourcesContent":["import { apiFindDmSetorAtividade } from '@base/services/modules/dm/setorAtividade/SetorAtividadeService'\nimport { useSetorAtividadeListStore } from '@base/store/dm/setorAtividade/setorAtividadeListStore';\nimport useSWR from 'swr'\n\nexport default function useSetorAtividadeList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useSetorAtividadeListStore((state) => state);\n\n const swrKey = [\"/api/dm/setor-atividade/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmSetorAtividade(),\n { revalidateOnFocus: false }\n );\n\n const setoresAtividadesList = data || []\n\n const setoresAtividadesListTotal = data?.length || 0\n\n return {\n data,\n setoresAtividadesList,\n setoresAtividadesListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useSetorAtividadeList","tableParams","filterParams","setTableParams","setFilterParams","useSetorAtividadeListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmSetorAtividade","setoresAtividadesList","setoresAtividadesListTotal"],"mappings":";;;AAIA,SAAwBA,IAAwB;AAC5C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA2B,CAACC,MAAUA,CAAK,GAEzCC,IAAS,CAAC,gCAAgCL,CAAY,GAEtD,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,KAA6BP,KAAA,gBAAAA,EAAM,WAAU;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
+ {"version":3,"file":"useSetorAtividadeList.js","sources":["../../../../../lib/base/hooks/dm/setorAtividade/useSetorAtividadeList.ts"],"sourcesContent":["import { apiFindDmSetorAtividade } from '@base/services/modules/dm/setorAtividade/SetorAtividadeService'\nimport { useSetorAtividadeListStore } from '@base/store/dm/setorAtividade/setorAtividadeListStore';\nimport useSWR from 'swr'\n\nexport default function useSetorAtividadeList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useSetorAtividadeListStore((state) => state);\n\n const swrKey = [\"/api/dm/setor-atividade/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmSetorAtividade(),\n { revalidateOnFocus: false }\n );\n\n const setoresAtividadesList = data || []\n\n const setoresAtividadesListTotal = data?.length || 0\n\n return {\n data,\n setoresAtividadesList,\n setoresAtividadesListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useSetorAtividadeList","tableParams","filterParams","setTableParams","setFilterParams","useSetorAtividadeListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmSetorAtividade","setoresAtividadesList","setoresAtividadesListTotal"],"mappings":";;;AAIA,SAAwBA,IAAwB;AAC5C,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA2B,CAACC,MAAUA,CAAK,GAEzCC,IAAS,CAAC,gCAAgCL,CAAY,GAEtD,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;"}
@@ -2,9 +2,9 @@ import { apiFindDmTipoDocumentoVendaByCodigo as c } from "../../../services/modu
2
2
  import { useTipoDocumentoVendaListStore as u } from "../../../store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore.js";
3
3
  import p from "swr";
4
4
  function L() {
5
- const { tableParams: n, filterParams: o, setTableParams: a, setFilterParams: d } = u((t) => t), e = o == null ? void 0 : o.codigo, { data: i, error: s, isLoading: m, mutate: r } = p(
5
+ const { tableParams: a, filterParams: t, setTableParams: n, setFilterParams: s } = u((o) => o), e = t?.codigo, { data: i, error: d, isLoading: r, mutate: m } = p(
6
6
  e ? ["/api/dm/tipo-documento-venda/find/{codigo}", e] : null,
7
- ([, t]) => c(t),
7
+ ([, o]) => c(o),
8
8
  {
9
9
  revalidateOnFocus: !1
10
10
  }
@@ -12,13 +12,13 @@ function L() {
12
12
  return {
13
13
  data: i,
14
14
  tipoDocumentoVendasByCodigoList: i || [],
15
- error: s,
16
- isLoading: m,
17
- tableParams: n,
18
- filterParams: o,
19
- mutate: r,
20
- setTableParams: a,
21
- setFilterParams: d
15
+ error: d,
16
+ isLoading: r,
17
+ tableParams: a,
18
+ filterParams: t,
19
+ mutate: m,
20
+ setTableParams: n,
21
+ setFilterParams: s
22
22
  };
23
23
  }
24
24
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useTipoDocumentoVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmTipoDocumentoVendaByCodigo } from '@base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService'\nimport { useTipoDocumentoVendaListStore } from '@base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useTipoDocumentoVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useTipoDocumentoVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/tipo-documento-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmTipoDocumentoVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const tipoDocumentoVendasByCodigoList = data || []\n\n return {\n data,\n tipoDocumentoVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useTipoDocumentoVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useTipoDocumentoVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmTipoDocumentoVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAoC;AACxD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA+B,CAACC,MAAUA,CAAK,GAEhHC,IAASL,KAAA,gBAAAA,EAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,8CAA8CA,CAAM,IAAI;AAAA,IAClE,CAAC,GAAGA,CAAM,MAAwBM,EAAoCN,CAAM;AAAA,IAC5E;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,iCAJoCA,KAAQ,CAAA;AAAA,IAK5C,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useTipoDocumentoVendaByCodigoList.js","sources":["../../../../../lib/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.tsx"],"sourcesContent":["import { apiFindDmTipoDocumentoVendaByCodigo } from '@base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService'\nimport { useTipoDocumentoVendaListStore } from '@base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore'\nimport useSWR from 'swr'\n\nexport default function useTipoDocumentoVendaByCodigoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } = useTipoDocumentoVendaListStore((state) => state)\n\n const codigo = filterParams?.codigo\n\n const { data, error, isLoading, mutate } = useSWR(\n codigo ? [`/api/dm/tipo-documento-venda/find/{codigo}`, codigo] : null,\n ([, codigo]: [string, string]) => apiFindDmTipoDocumentoVendaByCodigo(codigo),\n {\n revalidateOnFocus: false,\n }\n )\n\n const tipoDocumentoVendasByCodigoList = data || []\n\n return {\n data,\n tipoDocumentoVendasByCodigoList,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useTipoDocumentoVendaByCodigoList","tableParams","filterParams","setTableParams","setFilterParams","useTipoDocumentoVendaListStore","state","codigo","data","error","isLoading","mutate","useSWR","apiFindDmTipoDocumentoVendaByCodigo"],"mappings":";;;AAIA,SAAwBA,IAAoC;AACxD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAAoBC,EAA+B,CAACC,MAAUA,CAAK,GAEhHC,IAASL,GAAc,QAEvB,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL,IAAS,CAAC,8CAA8CA,CAAM,IAAI;AAAA,IAClE,CAAC,GAAGA,CAAM,MAAwBM,EAAoCN,CAAM;AAAA,IAC5E;AAAA,MACI,mBAAmB;AAAA,IAAA;AAAA,EACvB;AAKJ,SAAO;AAAA,IACH,MAAAC;AAAA,IACA,iCAJoCA,KAAQ,CAAA;AAAA,IAK5C,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
@@ -2,22 +2,22 @@ import { apiFindDmTipoDocumentoVenda as p } from "../../../services/modules/dm/t
2
2
  import { useTipoDocumentoVendaListStore as l } from "../../../store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore.js";
3
3
  import f from "swr";
4
4
  function V() {
5
- const { tableParams: e, filterParams: t, setTableParams: n, setFilterParams: s } = l((d) => d), a = ["/api/dm/tipo-documento-venda/find", t], { data: o, error: i, isLoading: r, mutate: m } = f(
6
- a,
5
+ const { tableParams: e, filterParams: o, setTableParams: a, setFilterParams: n } = l((c) => c), s = ["/api/dm/tipo-documento-venda/find", o], { data: t, error: i, isLoading: r, mutate: m } = f(
6
+ s,
7
7
  () => p(),
8
8
  { revalidateOnFocus: !1 }
9
- ), u = o || [], c = (o == null ? void 0 : o.length) || 0;
9
+ ), d = t || [], u = t?.length || 0;
10
10
  return {
11
- data: o,
12
- tipoDocumentoVendasList: u,
13
- tipoDocumentoVendasListTotal: c,
11
+ data: t,
12
+ tipoDocumentoVendasList: d,
13
+ tipoDocumentoVendasListTotal: u,
14
14
  error: i,
15
15
  isLoading: r,
16
16
  tableParams: e,
17
- filterParams: t,
17
+ filterParams: o,
18
18
  mutate: m,
19
- setTableParams: n,
20
- setFilterParams: s
19
+ setTableParams: a,
20
+ setFilterParams: n
21
21
  };
22
22
  }
23
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useTipoDocumentoVendaList.js","sources":["../../../../../lib/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.tsx"],"sourcesContent":["import { apiFindDmTipoDocumentoVenda } from '@base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService';\nimport { useTipoDocumentoVendaListStore } from '@base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore';\nimport useSWR from 'swr';\n\nexport default function useTipoDocumentoVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useTipoDocumentoVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/tipo-documento-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmTipoDocumentoVenda(),\n { revalidateOnFocus: false }\n );\n\n const tipoDocumentoVendasList = data || []\n\n const tipoDocumentoVendasListTotal = data?.length || 0\n\n return {\n data,\n tipoDocumentoVendasList,\n tipoDocumentoVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useTipoDocumentoVendaList","tableParams","filterParams","setTableParams","setFilterParams","useTipoDocumentoVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmTipoDocumentoVenda","tipoDocumentoVendasList","tipoDocumentoVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAA4B;AAChD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA+B,CAACC,MAAUA,CAAK,GAE7CC,IAAS,CAAC,qCAAqCL,CAAY,GAE3D,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,KAA+BP,KAAA,gBAAAA,EAAM,WAAU;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
+ {"version":3,"file":"useTipoDocumentoVendaList.js","sources":["../../../../../lib/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.tsx"],"sourcesContent":["import { apiFindDmTipoDocumentoVenda } from '@base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService';\nimport { useTipoDocumentoVendaListStore } from '@base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore';\nimport useSWR from 'swr';\n\nexport default function useTipoDocumentoVendaList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useTipoDocumentoVendaListStore((state) => state);\n\n const swrKey = [\"/api/dm/tipo-documento-venda/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmTipoDocumentoVenda(),\n { revalidateOnFocus: false }\n );\n\n const tipoDocumentoVendasList = data || []\n\n const tipoDocumentoVendasListTotal = data?.length || 0\n\n return {\n data,\n tipoDocumentoVendasList,\n tipoDocumentoVendasListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useTipoDocumentoVendaList","tableParams","filterParams","setTableParams","setFilterParams","useTipoDocumentoVendaListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmTipoDocumentoVenda","tipoDocumentoVendasList","tipoDocumentoVendasListTotal"],"mappings":";;;AAIA,SAAwBA,IAA4B;AAChD,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAA+B,CAACC,MAAUA,CAAK,GAE7CC,IAAS,CAAC,qCAAqCL,CAAY,GAE3D,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;"}