@orbe-agro/client-core 5.3.85 → 5.3.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +0 -19
  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 +11 -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 +6 -7
  501. package/package.json +1 -1
  502. package/tsconfig.json +6 -1
@@ -1,36 +1,35 @@
1
- import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- import { useRef as u, useEffect as h } from "react";
1
+ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
+ import { useRef as l, useEffect as u } from "react";
3
3
  import "../../ui/Card/index.js";
4
- import f from "./CardFooter.js";
5
- import p from "html-react-parser";
6
- import { useLocation as b } from "react-router-dom";
7
- import g from "../../ui/Card/Card.js";
8
- const j = (m) => {
9
- const { demoComponent: d, id: a, title: i, desc: o = "", hideFooter: n, ...l } = m, t = b(), e = u("");
10
- return h(() => {
4
+ import h from "./CardFooter.js";
5
+ import f from "html-react-parser";
6
+ import { useLocation as p } from "react-router-dom";
7
+ import b from "../../ui/Card/Card.js";
8
+ const I = (s) => {
9
+ const { demoComponent: m, id: d, title: a, desc: o = "", hideFooter: i, ...n } = s, t = p(), e = l("");
10
+ return u(() => {
11
11
  t.hash && (e.current = t.hash.slice(1)), e.current && document.getElementById(e.current) && setTimeout(() => {
12
- var c;
13
- (c = document.getElementById(e.current)) == null || c.scrollIntoView({ behavior: "smooth", block: "start" }), e.current = "";
12
+ document.getElementById(e.current)?.scrollIntoView({ behavior: "smooth", block: "start" }), e.current = "";
14
13
  }, 100);
15
- }, [t]), /* @__PURE__ */ s("div", { className: "demo-card py-5", id: a, children: [
16
- /* @__PURE__ */ s("div", { className: "mb-6", children: [
17
- /* @__PURE__ */ r("h4", { children: i }),
18
- o && /* @__PURE__ */ r("div", { className: "mt-1 demo-card-description", children: p(o) })
14
+ }, [t]), /* @__PURE__ */ c("div", { className: "demo-card py-5", id: d, children: [
15
+ /* @__PURE__ */ c("div", { className: "mb-6", children: [
16
+ /* @__PURE__ */ r("h4", { children: a }),
17
+ o && /* @__PURE__ */ r("div", { className: "mt-1 demo-card-description", children: f(o) })
19
18
  ] }),
20
19
  /* @__PURE__ */ r(
21
- g,
20
+ b,
22
21
  {
23
22
  bordered: !0,
24
23
  footer: {
25
- content: !n && /* @__PURE__ */ r(f, { ...l }),
24
+ content: !i && /* @__PURE__ */ r(h, { ...n }),
26
25
  className: "bg-gray-50 dark:bg-gray-700 pb-2 pt-2 rounded-b-2xl"
27
26
  },
28
- children: d
27
+ children: m
29
28
  }
30
29
  )
31
30
  ] });
32
31
  };
33
32
  export {
34
- j as default
33
+ I as default
35
34
  };
36
35
  //# sourceMappingURL=DemoCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DemoCard.js","sources":["../../../../../lib/@ecme/components/docs/DemoCard/DemoCard.tsx"],"sourcesContent":["import { useEffect, useRef } from 'react'\nimport Card from '@/components/ui/Card'\nimport CardFooter from './CardFooter'\nimport ReactHtmlParser from 'html-react-parser'\nimport { useLocation } from 'react-router-dom'\nimport type { ReactNode } from 'react'\nimport type { CardFooterProps } from './CardFooter'\n\nexport interface DemoCardProps extends CardFooterProps {\n demoComponent?: ReactNode\n id?: string\n title?: string\n desc?: string\n hideFooter?: boolean\n cardClass?: string\n}\n\nconst DemoCard = (props: DemoCardProps) => {\n const { demoComponent, id, title, desc = '', hideFooter, ...rest } = props\n\n const location = useLocation()\n const lastHash = useRef('')\n\n useEffect(() => {\n if (location.hash) {\n lastHash.current = location.hash.slice(1)\n }\n\n if (lastHash.current && document.getElementById(lastHash.current)) {\n setTimeout(() => {\n document\n .getElementById(lastHash.current)\n ?.scrollIntoView({ behavior: 'smooth', block: 'start' })\n lastHash.current = ''\n }, 100)\n }\n }, [location])\n\n return (\n <div className=\"demo-card py-5\" id={id}>\n <div className=\"mb-6\">\n <h4>{title}</h4>\n {desc && (\n <div className=\"mt-1 demo-card-description\">\n {ReactHtmlParser(desc)}\n </div>\n )}\n </div>\n <Card\n bordered\n footer={{\n content: !hideFooter && <CardFooter {...rest} />,\n className:\n 'bg-gray-50 dark:bg-gray-700 pb-2 pt-2 rounded-b-2xl',\n }}\n >\n {demoComponent}\n </Card>\n </div>\n )\n}\n\nexport default DemoCard\n"],"names":["DemoCard","props","demoComponent","id","title","desc","hideFooter","rest","location","useLocation","lastHash","useRef","useEffect","_a","jsxs","jsx","ReactHtmlParser","Card","CardFooter"],"mappings":";;;;;;;AAiBA,MAAMA,IAAW,CAACC,MAAyB;AACvC,QAAM,EAAE,eAAAC,GAAe,IAAAC,GAAI,OAAAC,GAAO,MAAAC,IAAO,IAAI,YAAAC,GAAY,GAAGC,EAAA,IAASN,GAE/DO,IAAWC,EAAA,GACXC,IAAWC,EAAO,EAAE;AAE1B,SAAAC,EAAU,MAAM;AACZ,IAAIJ,EAAS,SACTE,EAAS,UAAUF,EAAS,KAAK,MAAM,CAAC,IAGxCE,EAAS,WAAW,SAAS,eAAeA,EAAS,OAAO,KAC5D,WAAW,MAAM;;AACb,OAAAG,IAAA,SACK,eAAeH,EAAS,OAAO,MADpC,QAAAG,EAEM,eAAe,EAAE,UAAU,UAAU,OAAO,YAClDH,EAAS,UAAU;AAAA,IACvB,GAAG,GAAG;AAAA,EAEd,GAAG,CAACF,CAAQ,CAAC,GAGT,gBAAAM,EAAC,OAAA,EAAI,WAAU,kBAAiB,IAAAX,GAC5B,UAAA;AAAA,IAAA,gBAAAW,EAAC,OAAA,EAAI,WAAU,QACX,UAAA;AAAA,MAAA,gBAAAC,EAAC,QAAI,UAAAX,EAAA,CAAM;AAAA,MACVC,KACG,gBAAAU,EAAC,OAAA,EAAI,WAAU,8BACV,UAAAC,EAAgBX,CAAI,EAAA,CACzB;AAAA,IAAA,GAER;AAAA,IACA,gBAAAU;AAAA,MAACE;AAAA,MAAA;AAAA,QACG,UAAQ;AAAA,QACR,QAAQ;AAAA,UACJ,SAAS,CAACX,KAAc,gBAAAS,EAACG,GAAA,EAAY,GAAGX,GAAM;AAAA,UAC9C,WACI;AAAA,QAAA;AAAA,QAGP,UAAAL;AAAA,MAAA;AAAA,IAAA;AAAA,EACL,GACJ;AAER;"}
1
+ {"version":3,"file":"DemoCard.js","sources":["../../../../../lib/@ecme/components/docs/DemoCard/DemoCard.tsx"],"sourcesContent":["import { useEffect, useRef } from 'react'\nimport Card from '@/components/ui/Card'\nimport CardFooter from './CardFooter'\nimport ReactHtmlParser from 'html-react-parser'\nimport { useLocation } from 'react-router-dom'\nimport type { ReactNode } from 'react'\nimport type { CardFooterProps } from './CardFooter'\n\nexport interface DemoCardProps extends CardFooterProps {\n demoComponent?: ReactNode\n id?: string\n title?: string\n desc?: string\n hideFooter?: boolean\n cardClass?: string\n}\n\nconst DemoCard = (props: DemoCardProps) => {\n const { demoComponent, id, title, desc = '', hideFooter, ...rest } = props\n\n const location = useLocation()\n const lastHash = useRef('')\n\n useEffect(() => {\n if (location.hash) {\n lastHash.current = location.hash.slice(1)\n }\n\n if (lastHash.current && document.getElementById(lastHash.current)) {\n setTimeout(() => {\n document\n .getElementById(lastHash.current)\n ?.scrollIntoView({ behavior: 'smooth', block: 'start' })\n lastHash.current = ''\n }, 100)\n }\n }, [location])\n\n return (\n <div className=\"demo-card py-5\" id={id}>\n <div className=\"mb-6\">\n <h4>{title}</h4>\n {desc && (\n <div className=\"mt-1 demo-card-description\">\n {ReactHtmlParser(desc)}\n </div>\n )}\n </div>\n <Card\n bordered\n footer={{\n content: !hideFooter && <CardFooter {...rest} />,\n className:\n 'bg-gray-50 dark:bg-gray-700 pb-2 pt-2 rounded-b-2xl',\n }}\n >\n {demoComponent}\n </Card>\n </div>\n )\n}\n\nexport default DemoCard\n"],"names":["DemoCard","props","demoComponent","id","title","desc","hideFooter","rest","location","useLocation","lastHash","useRef","useEffect","jsxs","jsx","ReactHtmlParser","Card","CardFooter"],"mappings":";;;;;;;AAiBA,MAAMA,IAAW,CAACC,MAAyB;AACvC,QAAM,EAAE,eAAAC,GAAe,IAAAC,GAAI,OAAAC,GAAO,MAAAC,IAAO,IAAI,YAAAC,GAAY,GAAGC,EAAA,IAASN,GAE/DO,IAAWC,EAAA,GACXC,IAAWC,EAAO,EAAE;AAE1B,SAAAC,EAAU,MAAM;AACZ,IAAIJ,EAAS,SACTE,EAAS,UAAUF,EAAS,KAAK,MAAM,CAAC,IAGxCE,EAAS,WAAW,SAAS,eAAeA,EAAS,OAAO,KAC5D,WAAW,MAAM;AACb,eACK,eAAeA,EAAS,OAAO,GAC9B,eAAe,EAAE,UAAU,UAAU,OAAO,SAAS,GAC3DA,EAAS,UAAU;AAAA,IACvB,GAAG,GAAG;AAAA,EAEd,GAAG,CAACF,CAAQ,CAAC,GAGT,gBAAAK,EAAC,OAAA,EAAI,WAAU,kBAAiB,IAAAV,GAC5B,UAAA;AAAA,IAAA,gBAAAU,EAAC,OAAA,EAAI,WAAU,QACX,UAAA;AAAA,MAAA,gBAAAC,EAAC,QAAI,UAAAV,EAAA,CAAM;AAAA,MACVC,KACG,gBAAAS,EAAC,OAAA,EAAI,WAAU,8BACV,UAAAC,EAAgBV,CAAI,EAAA,CACzB;AAAA,IAAA,GAER;AAAA,IACA,gBAAAS;AAAA,MAACE;AAAA,MAAA;AAAA,QACG,UAAQ;AAAA,QACR,QAAQ;AAAA,UACJ,SAAS,CAACV,KAAc,gBAAAQ,EAACG,GAAA,EAAY,GAAGV,GAAM;AAAA,UAC9C,WACI;AAAA,QAAA;AAAA,QAGP,UAAAL;AAAA,MAAA;AAAA,IAAA;AAAA,EACL,GACJ;AAER;"}
@@ -1,45 +1,44 @@
1
- import { jsxs as u, Fragment as f, jsx as t } from "react/jsx-runtime";
2
- import { lazy as o, useMemo as A, Suspense as _ } from "react";
3
- import { LAYOUT_BLANK as O, LAYOUT_CONTENT_OVERLAY as d, LAYOUT_FRAMELESS_SIDE as S, LAYOUT_TOP_BAR_CLASSIC as h, LAYOUT_STACKED_SIDE as E, LAYOUT_COLLAPSIBLE_SIDE as T } from "../../../constants/theme.constant.js";
4
- import Y from "../../shared/Loading.js";
5
- import { useLocation as x } from "react-router-dom";
1
+ import { jsxs as p, Fragment as l, jsx as t } from "react/jsx-runtime";
2
+ import { lazy as o, useMemo as L, Suspense as f } from "react";
3
+ import { LAYOUT_BLANK as A, LAYOUT_CONTENT_OVERLAY as _, LAYOUT_FRAMELESS_SIDE as O, LAYOUT_TOP_BAR_CLASSIC as d, LAYOUT_STACKED_SIDE as S, LAYOUT_COLLAPSIBLE_SIDE as h } from "../../../constants/theme.constant.js";
4
+ import E from "../../shared/Loading.js";
5
+ import { useLocation as R } from "react-router-dom";
6
6
  import "../../../configs/index.js";
7
- import y from "../../shared/loaders/GlobalLoading.js";
8
- import { protectedRoutes as R, publicRoutes as U } from "../../../configs/routes.config/routes.config.js";
9
- const m = {
10
- [T]: o(() => import("./components/CollapsibleSide.js")),
11
- [E]: o(() => import("./components/StackedSide.js")),
12
- [h]: o(() => import("./components/TopBarClassic.js")),
13
- [S]: o(() => import("./components/FrameLessSide.js")),
14
- [d]: o(() => import("./components/ContentOverlay.js")),
15
- [O]: o(() => import("./components/Blank.js"))
16
- }, g = (r, a) => {
17
- for (const e of a)
7
+ import T from "../../shared/loaders/GlobalLoading.js";
8
+ import { protectedRoutes as Y, publicRoutes as x } from "../../../configs/routes.config/routes.config.js";
9
+ const a = {
10
+ [h]: o(() => import("./components/CollapsibleSide.js")),
11
+ [S]: o(() => import("./components/StackedSide.js")),
12
+ [d]: o(() => import("./components/TopBarClassic.js")),
13
+ [O]: o(() => import("./components/FrameLessSide.js")),
14
+ [_]: o(() => import("./components/ContentOverlay.js")),
15
+ [A]: o(() => import("./components/Blank.js"))
16
+ }, y = (r, n) => {
17
+ for (const e of n)
18
18
  if (e.path === r)
19
19
  return e;
20
- }, k = ({
20
+ }, j = ({
21
21
  layoutType: r,
22
- children: a,
22
+ children: n,
23
23
  linkRenderer: e,
24
- pageTitle: p
24
+ pageTitle: m
25
25
  }) => {
26
- const n = x(), l = A(() => {
27
- var s;
28
- const c = [...R, ...U], i = g(n.pathname, c), L = ((s = i == null ? void 0 : i.meta) == null ? void 0 : s.layout) ?? r;
29
- return m[L] ?? m[Object.keys(m)[0]];
30
- }, [n.pathname, r]);
31
- return /* @__PURE__ */ u(f, { children: [
32
- /* @__PURE__ */ t(y, {}),
26
+ const i = R(), s = L(() => {
27
+ const u = [...Y, ...x], c = y(i.pathname, u)?.meta?.layout ?? r;
28
+ return a[c] ?? a[Object.keys(a)[0]];
29
+ }, [i.pathname, r]);
30
+ return /* @__PURE__ */ p(l, { children: [
31
+ /* @__PURE__ */ t(T, {}),
33
32
  /* @__PURE__ */ t(
34
- _,
33
+ f,
35
34
  {
36
- fallback: /* @__PURE__ */ t("div", { className: "flex flex-auto flex-col h-[100vh]", children: /* @__PURE__ */ t(Y, { loading: !0 }) }),
37
- children: /* @__PURE__ */ t(l, { linkRenderer: e, pageTitle: p, children: a })
35
+ fallback: /* @__PURE__ */ t("div", { className: "flex flex-auto flex-col h-[100vh]", children: /* @__PURE__ */ t(E, { loading: !0 }) }),
36
+ children: /* @__PURE__ */ t(s, { linkRenderer: e, pageTitle: m, children: n })
38
37
  }
39
38
  )
40
39
  ] });
41
40
  };
42
41
  export {
43
- k as default
42
+ j as default
44
43
  };
45
44
  //# sourceMappingURL=PostLoginLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostLoginLayout.js","sources":["../../../../../lib/@ecme/components/layouts/PostLoginLayout/PostLoginLayout.tsx"],"sourcesContent":["import { lazy, Suspense, useMemo } from \"react\";\nimport {\n LAYOUT_COLLAPSIBLE_SIDE,\n LAYOUT_STACKED_SIDE,\n LAYOUT_TOP_BAR_CLASSIC,\n LAYOUT_FRAMELESS_SIDE,\n LAYOUT_CONTENT_OVERLAY,\n LAYOUT_BLANK,\n} from \"@/constants/theme.constant\";\nimport Loading from \"@/components/shared/Loading\";\nimport type { CommonProps } from \"@/@types/common\";\nimport type { LazyExoticComponent, JSX } from \"react\";\nimport type { LayoutType } from \"@/@types/theme\";\nimport { LinkRenderer } from \"../Layouts\";\nimport { useLocation } from \"react-router-dom\";\nimport { Routes } from \"@/@types\";\nimport { protectedRoutes, publicRoutes } from \"@/configs\";\nimport { useThemeStore } from \"@/store\";\nimport GlobalLoading from \"@/components/shared/loaders/GlobalLoading\";\n\ntype Layouts = Record<\n string,\n LazyExoticComponent<<T extends CommonProps>(props: T) => JSX.Element>\n>;\n\ninterface PostLoginLayoutProps extends CommonProps {\n layoutType: LayoutType;\n linkRenderer?: LinkRenderer;\n pageTitle?: string;\n}\n\nconst layouts: Layouts = {\n [LAYOUT_COLLAPSIBLE_SIDE]: lazy(() => import(\"./components/CollapsibleSide\")),\n [LAYOUT_STACKED_SIDE]: lazy(() => import(\"./components/StackedSide\")),\n [LAYOUT_TOP_BAR_CLASSIC]: lazy(() => import(\"./components/TopBarClassic\")),\n [LAYOUT_FRAMELESS_SIDE]: lazy(() => import(\"./components/FrameLessSide\")),\n [LAYOUT_CONTENT_OVERLAY]: lazy(() => import(\"./components/ContentOverlay\")),\n [LAYOUT_BLANK]: lazy(() => import(\"./components/Blank\")),\n};\n\nconst findRouteByPath = (\n path: string,\n routes: Routes\n): Routes[0] | undefined => {\n for (const route of routes) {\n if (route.path === path) {\n return route;\n }\n }\n};\n\nconst PostLoginLayout = ({\n layoutType,\n children,\n linkRenderer,\n pageTitle,\n}: PostLoginLayoutProps) => {\n const location = useLocation();\n const AppLayout = useMemo(() => {\n const allRoutes = [...protectedRoutes, ...publicRoutes];\n const currentRoute = findRouteByPath(location.pathname, allRoutes);\n const layout = currentRoute?.meta?.layout ?? layoutType;\n return layouts[layout] ?? layouts[Object.keys(layouts)[0]];\n }, [location.pathname, layoutType]);\n\n return (\n <>\n <GlobalLoading />\n <Suspense\n fallback={\n <div className=\"flex flex-auto flex-col h-[100vh]\">\n <Loading loading={true}/>\n </div>\n }\n >\n {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}\n {/* @ts-ignore */}\n <AppLayout linkRenderer={linkRenderer} pageTitle={pageTitle}>\n {children}\n </AppLayout>\n </Suspense>\n </>\n );\n};\n\nexport default PostLoginLayout;\n"],"names":["layouts","LAYOUT_COLLAPSIBLE_SIDE","lazy","LAYOUT_STACKED_SIDE","LAYOUT_TOP_BAR_CLASSIC","LAYOUT_FRAMELESS_SIDE","LAYOUT_CONTENT_OVERLAY","LAYOUT_BLANK","findRouteByPath","path","routes","route","PostLoginLayout","layoutType","children","linkRenderer","pageTitle","location","useLocation","AppLayout","useMemo","allRoutes","protectedRoutes","publicRoutes","currentRoute","layout","_a","jsxs","Fragment","jsx","GlobalLoading","Suspense","Loading"],"mappings":";;;;;;;;AA+BA,MAAMA,IAAmB;AAAA,EACvB,CAACC,CAAuB,GAAGC,EAAK,MAAM,OAAO,iCAA8B,CAAC;AAAA,EAC5E,CAACC,CAAmB,GAAGD,EAAK,MAAM,OAAO,6BAA0B,CAAC;AAAA,EACpE,CAACE,CAAsB,GAAGF,EAAK,MAAM,OAAO,+BAA4B,CAAC;AAAA,EACzE,CAACG,CAAqB,GAAGH,EAAK,MAAM,OAAO,+BAA4B,CAAC;AAAA,EACxE,CAACI,CAAsB,GAAGJ,EAAK,MAAM,OAAO,gCAA6B,CAAC;AAAA,EAC1E,CAACK,CAAY,GAAGL,EAAK,MAAM,OAAO,uBAAoB,CAAC;AACzD,GAEMM,IAAkB,CACtBC,GACAC,MAC0B;AAC1B,aAAWC,KAASD;AAClB,QAAIC,EAAM,SAASF;AACjB,aAAOE;AAGb,GAEMC,IAAkB,CAAC;AAAA,EACvB,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,WAAAC;AACF,MAA4B;AAC1B,QAAMC,IAAWC,EAAA,GACXC,IAAYC,EAAQ,MAAM;;AAC9B,UAAMC,IAAY,CAAC,GAAGC,GAAiB,GAAGC,CAAY,GAChDC,IAAehB,EAAgBS,EAAS,UAAUI,CAAS,GAC3DI,MAASC,IAAAF,KAAA,gBAAAA,EAAc,SAAd,gBAAAE,EAAoB,WAAUb;AAC7C,WAAOb,EAAQyB,CAAM,KAAKzB,EAAQ,OAAO,KAAKA,CAAO,EAAE,CAAC,CAAC;AAAA,EAC3D,GAAG,CAACiB,EAAS,UAAUJ,CAAU,CAAC;AAElC,SACE,gBAAAc,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAc;AAAA,IACf,gBAAAD;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,4BACG,OAAA,EAAI,WAAU,qCACb,UAAA,gBAAAF,EAACG,GAAA,EAAQ,SAAS,GAAA,CAAK,EAAA,CACzB;AAAA,QAKF,UAAA,gBAAAH,EAACV,GAAA,EAAU,cAAAJ,GAA4B,WAAAC,GACpC,UAAAF,EAAA,CACH;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
1
+ {"version":3,"file":"PostLoginLayout.js","sources":["../../../../../lib/@ecme/components/layouts/PostLoginLayout/PostLoginLayout.tsx"],"sourcesContent":["import { lazy, Suspense, useMemo } from \"react\";\nimport {\n LAYOUT_COLLAPSIBLE_SIDE,\n LAYOUT_STACKED_SIDE,\n LAYOUT_TOP_BAR_CLASSIC,\n LAYOUT_FRAMELESS_SIDE,\n LAYOUT_CONTENT_OVERLAY,\n LAYOUT_BLANK,\n} from \"@/constants/theme.constant\";\nimport Loading from \"@/components/shared/Loading\";\nimport type { CommonProps } from \"@/@types/common\";\nimport type { LazyExoticComponent, JSX } from \"react\";\nimport type { LayoutType } from \"@/@types/theme\";\nimport { LinkRenderer } from \"../Layouts\";\nimport { useLocation } from \"react-router-dom\";\nimport { Routes } from \"@/@types\";\nimport { protectedRoutes, publicRoutes } from \"@/configs\";\nimport { useThemeStore } from \"@/store\";\nimport GlobalLoading from \"@/components/shared/loaders/GlobalLoading\";\n\ntype Layouts = Record<\n string,\n LazyExoticComponent<<T extends CommonProps>(props: T) => JSX.Element>\n>;\n\ninterface PostLoginLayoutProps extends CommonProps {\n layoutType: LayoutType;\n linkRenderer?: LinkRenderer;\n pageTitle?: string;\n}\n\nconst layouts: Layouts = {\n [LAYOUT_COLLAPSIBLE_SIDE]: lazy(() => import(\"./components/CollapsibleSide\")),\n [LAYOUT_STACKED_SIDE]: lazy(() => import(\"./components/StackedSide\")),\n [LAYOUT_TOP_BAR_CLASSIC]: lazy(() => import(\"./components/TopBarClassic\")),\n [LAYOUT_FRAMELESS_SIDE]: lazy(() => import(\"./components/FrameLessSide\")),\n [LAYOUT_CONTENT_OVERLAY]: lazy(() => import(\"./components/ContentOverlay\")),\n [LAYOUT_BLANK]: lazy(() => import(\"./components/Blank\")),\n};\n\nconst findRouteByPath = (\n path: string,\n routes: Routes\n): Routes[0] | undefined => {\n for (const route of routes) {\n if (route.path === path) {\n return route;\n }\n }\n};\n\nconst PostLoginLayout = ({\n layoutType,\n children,\n linkRenderer,\n pageTitle,\n}: PostLoginLayoutProps) => {\n const location = useLocation();\n const AppLayout = useMemo(() => {\n const allRoutes = [...protectedRoutes, ...publicRoutes];\n const currentRoute = findRouteByPath(location.pathname, allRoutes);\n const layout = currentRoute?.meta?.layout ?? layoutType;\n return layouts[layout] ?? layouts[Object.keys(layouts)[0]];\n }, [location.pathname, layoutType]);\n\n return (\n <>\n <GlobalLoading />\n <Suspense\n fallback={\n <div className=\"flex flex-auto flex-col h-[100vh]\">\n <Loading loading={true}/>\n </div>\n }\n >\n {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}\n {/* @ts-ignore */}\n <AppLayout linkRenderer={linkRenderer} pageTitle={pageTitle}>\n {children}\n </AppLayout>\n </Suspense>\n </>\n );\n};\n\nexport default PostLoginLayout;\n"],"names":["layouts","LAYOUT_COLLAPSIBLE_SIDE","lazy","LAYOUT_STACKED_SIDE","LAYOUT_TOP_BAR_CLASSIC","LAYOUT_FRAMELESS_SIDE","LAYOUT_CONTENT_OVERLAY","LAYOUT_BLANK","findRouteByPath","path","routes","route","PostLoginLayout","layoutType","children","linkRenderer","pageTitle","location","useLocation","AppLayout","useMemo","allRoutes","protectedRoutes","publicRoutes","layout","jsxs","Fragment","jsx","GlobalLoading","Suspense","Loading"],"mappings":";;;;;;;;AA+BA,MAAMA,IAAmB;AAAA,EACvB,CAACC,CAAuB,GAAGC,EAAK,MAAM,OAAO,iCAA8B,CAAC;AAAA,EAC5E,CAACC,CAAmB,GAAGD,EAAK,MAAM,OAAO,6BAA0B,CAAC;AAAA,EACpE,CAACE,CAAsB,GAAGF,EAAK,MAAM,OAAO,+BAA4B,CAAC;AAAA,EACzE,CAACG,CAAqB,GAAGH,EAAK,MAAM,OAAO,+BAA4B,CAAC;AAAA,EACxE,CAACI,CAAsB,GAAGJ,EAAK,MAAM,OAAO,gCAA6B,CAAC;AAAA,EAC1E,CAACK,CAAY,GAAGL,EAAK,MAAM,OAAO,uBAAoB,CAAC;AACzD,GAEMM,IAAkB,CACtBC,GACAC,MAC0B;AAC1B,aAAWC,KAASD;AAClB,QAAIC,EAAM,SAASF;AACjB,aAAOE;AAGb,GAEMC,IAAkB,CAAC;AAAA,EACvB,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,WAAAC;AACF,MAA4B;AAC1B,QAAMC,IAAWC,EAAA,GACXC,IAAYC,EAAQ,MAAM;AAC9B,UAAMC,IAAY,CAAC,GAAGC,GAAiB,GAAGC,CAAY,GAEhDC,IADehB,EAAgBS,EAAS,UAAUI,CAAS,GACpC,MAAM,UAAUR;AAC7C,WAAOb,EAAQwB,CAAM,KAAKxB,EAAQ,OAAO,KAAKA,CAAO,EAAE,CAAC,CAAC;AAAA,EAC3D,GAAG,CAACiB,EAAS,UAAUJ,CAAU,CAAC;AAElC,SACE,gBAAAY,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAc;AAAA,IACf,gBAAAD;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,4BACG,OAAA,EAAI,WAAU,qCACb,UAAA,gBAAAF,EAACG,GAAA,EAAQ,SAAS,GAAA,CAAK,EAAA,CACzB;AAAA,QAKF,UAAA,gBAAAH,EAACR,GAAA,EAAU,cAAAJ,GAA4B,WAAAC,GACpC,UAAAF,EAAA,CACH;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
@@ -1,111 +1,111 @@
1
- import { jsx as i, jsxs as e, Fragment as l } from "react/jsx-runtime";
2
- import _ from "../../../template/Header.js";
1
+ import { jsx as e, jsxs as a, Fragment as i } from "react/jsx-runtime";
2
+ import u from "../../../template/Header.js";
3
3
  import "../../../template/SidePanel/index.js";
4
- import v from "../../../template/UserProfileDropdown.js";
5
- import b from "../../../template/LanguageSelector.js";
4
+ import _ from "../../../template/UserProfileDropdown.js";
5
+ import v from "../../../template/LanguageSelector.js";
6
6
  import "../../../template/Notification/index.js";
7
- import y from "../../../template/HeaderLogo.js";
8
- import h from "../../../template/Search.js";
7
+ import b from "../../../template/HeaderLogo.js";
8
+ import y from "../../../template/Search.js";
9
9
  import w from "../../../template/MobileNav.js";
10
10
  import k from "../../../template/HorizontalNav.js";
11
11
  import S from "../../../template/LayoutBase.js";
12
- import o from "../../../../utils/classNames.js";
12
+ import t from "../../../../utils/classNames.js";
13
13
  import C from "../../../../utils/hooks/useScrollTop.js";
14
14
  import L from "../../../../utils/hooks/useResponsive.js";
15
15
  import { LAYOUT_CONTENT_OVERLAY as T } from "../../../../constants/theme.constant.js";
16
16
  import H from "../../../template/Notification/Notification.js";
17
17
  import O from "../../../template/SidePanel/SidePanel.js";
18
18
  const K = ({ children: m }) => {
19
- const { isSticky: r } = C(), { larger: s, smaller: n } = L();
20
- return /* @__PURE__ */ i(
19
+ const { isSticky: l } = C(), { larger: s, smaller: n } = L();
20
+ return /* @__PURE__ */ e(
21
21
  S,
22
22
  {
23
23
  type: T,
24
24
  className: "app-layout-content-overlay flex flex-auto flex-col min-h-screen",
25
25
  pageContainerReassemble: ({
26
- children: a,
26
+ children: o,
27
27
  defaultClass: c,
28
- header: t,
29
- pageBackgroundType: p,
30
- pageContainerType: f,
31
- pageContainerGutterClass: d,
32
- footer: x,
33
- PageContainerHeader: N,
34
- PageContainerBody: g,
35
- PageContainerFooter: u
36
- }) => /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(
28
+ header: r,
29
+ pageBackgroundType: d,
30
+ pageContainerType: p,
31
+ pageContainerGutterClass: f,
32
+ footer: h,
33
+ PageContainerHeader: x,
34
+ PageContainerBody: N,
35
+ PageContainerFooter: g
36
+ }) => /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(
37
37
  "div",
38
38
  {
39
- className: o(
39
+ className: t(
40
40
  c,
41
41
  "sm:px-0 px-4",
42
- t != null && t.title ? "-mt-60" : "-mt-60 sm:-mt-40"
42
+ r?.title ? "-mt-60" : "-mt-60 sm:-mt-40"
43
43
  ),
44
- children: /* @__PURE__ */ e("main", { className: "h-full", children: [
45
- /* @__PURE__ */ i("div", { className: "dark container mx-auto relative", children: /* @__PURE__ */ i(
46
- N,
44
+ children: /* @__PURE__ */ a("main", { className: "h-full", children: [
45
+ /* @__PURE__ */ e("div", { className: "dark container mx-auto relative", children: /* @__PURE__ */ e(
46
+ x,
47
47
  {
48
- ...t,
48
+ ...r,
49
49
  className: "mb-20",
50
- customeHeader: () => /* @__PURE__ */ e(l, { children: [
51
- (t == null ? void 0 : t.title) && typeof (t == null ? void 0 : t.title) == "string" && /* @__PURE__ */ i("h2", { className: "mb-2", children: t.title }),
52
- (t == null ? void 0 : t.description) && /* @__PURE__ */ i("p", { className: "text-base text-white opacity-60", children: t.description })
50
+ customeHeader: () => /* @__PURE__ */ a(i, { children: [
51
+ r?.title && typeof r?.title == "string" && /* @__PURE__ */ e("h2", { className: "mb-2", children: r.title }),
52
+ r?.description && /* @__PURE__ */ e("p", { className: "text-base text-white opacity-60", children: r.description })
53
53
  ] })
54
54
  }
55
55
  ) }),
56
- /* @__PURE__ */ e(g, { pageContainerType: "contained", children: [
57
- p === "plain" ? /* @__PURE__ */ i(
56
+ /* @__PURE__ */ a(N, { pageContainerType: "contained", children: [
57
+ d === "plain" ? /* @__PURE__ */ e(
58
58
  "div",
59
59
  {
60
- className: o(
60
+ className: t(
61
61
  "bg-white dark:bg-gray-900 rounded-2xl",
62
- d
62
+ f
63
63
  ),
64
- children: a
64
+ children: o
65
65
  }
66
- ) : a,
67
- /* @__PURE__ */ i(
68
- u,
66
+ ) : o,
67
+ /* @__PURE__ */ e(
68
+ g,
69
69
  {
70
70
  className: "-mb-40 mt-4 md:px-0",
71
- footer: x,
72
- pageContainerType: f
71
+ footer: h,
72
+ pageContainerType: p
73
73
  }
74
74
  )
75
75
  ] })
76
76
  ] })
77
77
  }
78
78
  ) }),
79
- children: /* @__PURE__ */ i("div", { className: "flex flex-auto min-w-0", children: /* @__PURE__ */ e("div", { className: "flex flex-col flex-auto min-h-screen min-w-0 relative w-full", children: [
80
- /* @__PURE__ */ i(
81
- _,
79
+ children: /* @__PURE__ */ e("div", { className: "flex flex-auto min-w-0", children: /* @__PURE__ */ a("div", { className: "flex flex-col flex-auto min-h-screen min-w-0 relative w-full", children: [
80
+ /* @__PURE__ */ e(
81
+ u,
82
82
  {
83
83
  container: !0,
84
- className: o(
84
+ className: t(
85
85
  "fixed",
86
- r ? "shadow dark:shadow-2xl" : "bg-transparent dark"
86
+ l ? "shadow dark:shadow-2xl" : "bg-transparent dark"
87
87
  ),
88
88
  wrapperClass: "px-0",
89
- headerStart: /* @__PURE__ */ e(l, { children: [
90
- n.lg && /* @__PURE__ */ i(w, {}),
91
- /* @__PURE__ */ i(
92
- y,
89
+ headerStart: /* @__PURE__ */ a(i, { children: [
90
+ n.lg && /* @__PURE__ */ e(w, {}),
91
+ /* @__PURE__ */ e(
92
+ b,
93
93
  {
94
- ...r ? {} : { mode: "dark" }
94
+ ...l ? {} : { mode: "dark" }
95
95
  }
96
96
  )
97
97
  ] }),
98
- headerMiddle: /* @__PURE__ */ i(l, { children: s.lg && /* @__PURE__ */ i(k, {}) }),
99
- headerEnd: /* @__PURE__ */ e(l, { children: [
100
- /* @__PURE__ */ i(h, {}),
101
- /* @__PURE__ */ i(b, {}),
102
- /* @__PURE__ */ i(H, {}),
103
- /* @__PURE__ */ i(O, {}),
104
- /* @__PURE__ */ i(v, { hoverable: !1 })
98
+ headerMiddle: /* @__PURE__ */ e(i, { children: s.lg && /* @__PURE__ */ e(k, {}) }),
99
+ headerEnd: /* @__PURE__ */ a(i, { children: [
100
+ /* @__PURE__ */ e(y, {}),
101
+ /* @__PURE__ */ e(v, {}),
102
+ /* @__PURE__ */ e(H, {}),
103
+ /* @__PURE__ */ e(O, {}),
104
+ /* @__PURE__ */ e(_, { hoverable: !1 })
105
105
  ] })
106
106
  }
107
107
  ),
108
- /* @__PURE__ */ i("div", { className: "h-[400px] bg-[linear-gradient(220deg,_rgb(9,_12,_17)_10%,_#15122f_35%,_#2b1e38_55%,_#0c2239_70%,_rgb(9,_12,_17)_90%)]", children: /* @__PURE__ */ i("div", { className: "container mx-auto h-full" }) }),
108
+ /* @__PURE__ */ e("div", { className: "h-[400px] bg-[linear-gradient(220deg,_rgb(9,_12,_17)_10%,_#15122f_35%,_#2b1e38_55%,_#0c2239_70%,_rgb(9,_12,_17)_90%)]", children: /* @__PURE__ */ e("div", { className: "container mx-auto h-full" }) }),
109
109
  m
110
110
  ] }) })
111
111
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ContentOverlay.js","sources":["../../../../../../lib/@ecme/components/layouts/PostLoginLayout/components/ContentOverlay.tsx"],"sourcesContent":["import Header from '@/components/template/Header'\nimport SidePanel from '@/components/template/SidePanel'\nimport UserProfileDropdown from '@/components//template/UserProfileDropdown'\nimport LanguageSelector from '@/components/template/LanguageSelector'\nimport Notification from '@/components/template/Notification'\nimport HeaderLogo from '@/components/template/HeaderLogo'\nimport Search from '@/components/template/Search'\nimport MobileNav from '@/components/template/MobileNav'\nimport HorizontalNav from '@/components/template/HorizontalNav'\nimport LayoutBase from '@/components//template/LayoutBase'\nimport classNames from '@/utils/classNames'\nimport useScrollTop from '@/utils/hooks/useScrollTop'\nimport useResponsive from '@/utils/hooks/useResponsive'\nimport { LAYOUT_CONTENT_OVERLAY } from '@/constants/theme.constant'\nimport type { CommonProps } from '@/@types/common'\nimport type { FooterPageContainerType } from '@/components/template/Footer'\n\nconst ContentOverlay = ({ children }: CommonProps) => {\n const { isSticky } = useScrollTop()\n\n const { larger, smaller } = useResponsive()\n\n return (\n <LayoutBase\n type={LAYOUT_CONTENT_OVERLAY}\n className=\"app-layout-content-overlay flex flex-auto flex-col min-h-screen\"\n pageContainerReassemble={({\n children,\n defaultClass,\n header,\n pageBackgroundType,\n pageContainerType,\n pageContainerGutterClass,\n footer,\n PageContainerHeader,\n PageContainerBody,\n PageContainerFooter,\n }) => (\n <>\n <div\n className={classNames(\n defaultClass,\n 'sm:px-0 px-4',\n header?.title ? '-mt-60' : '-mt-60 sm:-mt-40',\n )}\n >\n <main className=\"h-full\">\n <div className=\"dark container mx-auto relative\">\n <PageContainerHeader\n {...header}\n className=\"mb-20\"\n customeHeader={() => (\n <>\n {header?.title &&\n typeof header?.title ===\n 'string' && (\n <h2 className=\"mb-2\">\n {header.title}\n </h2>\n )}\n {header?.description && (\n <p className=\"text-base text-white opacity-60\">\n {header.description}\n </p>\n )}\n </>\n )}\n />\n </div>\n <PageContainerBody pageContainerType={'contained'}>\n {pageBackgroundType === 'plain' ? (\n <div\n className={classNames(\n 'bg-white dark:bg-gray-900 rounded-2xl',\n pageContainerGutterClass,\n )}\n >\n {children}\n </div>\n ) : (\n children\n )}\n <PageContainerFooter\n className=\"-mb-40 mt-4 md:px-0\"\n footer={footer}\n pageContainerType={\n pageContainerType as FooterPageContainerType\n }\n />\n </PageContainerBody>\n </main>\n </div>\n </>\n )}\n >\n <div className=\"flex flex-auto min-w-0\">\n <div className=\"flex flex-col flex-auto min-h-screen min-w-0 relative w-full\">\n <Header\n container\n className={classNames(\n 'fixed',\n isSticky\n ? 'shadow dark:shadow-2xl'\n : 'bg-transparent dark',\n )}\n wrapperClass=\"px-0\"\n headerStart={\n <>\n {smaller.lg && <MobileNav />}\n <HeaderLogo\n {...(!isSticky ? { mode: 'dark' } : {})}\n />\n </>\n }\n headerMiddle={<>{larger.lg && <HorizontalNav />}</>}\n headerEnd={\n <>\n <Search />\n <LanguageSelector />\n <Notification />\n <SidePanel />\n <UserProfileDropdown hoverable={false} />\n </>\n }\n />\n <div className=\"h-[400px] bg-[linear-gradient(220deg,_rgb(9,_12,_17)_10%,_#15122f_35%,_#2b1e38_55%,_#0c2239_70%,_rgb(9,_12,_17)_90%)]\">\n <div className=\"container mx-auto h-full\"></div>\n </div>\n {children}\n </div>\n </div>\n </LayoutBase>\n )\n}\n\nexport default ContentOverlay\n"],"names":["ContentOverlay","children","isSticky","useScrollTop","larger","smaller","useResponsive","jsx","LayoutBase","LAYOUT_CONTENT_OVERLAY","defaultClass","header","pageBackgroundType","pageContainerType","pageContainerGutterClass","footer","PageContainerHeader","PageContainerBody","PageContainerFooter","Fragment","classNames","jsxs","Header","MobileNav","HeaderLogo","HorizontalNav","Search","LanguageSelector","Notification","SidePanel","UserProfileDropdown"],"mappings":"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"}
1
+ {"version":3,"file":"ContentOverlay.js","sources":["../../../../../../lib/@ecme/components/layouts/PostLoginLayout/components/ContentOverlay.tsx"],"sourcesContent":["import Header from '@/components/template/Header'\nimport SidePanel from '@/components/template/SidePanel'\nimport UserProfileDropdown from '@/components//template/UserProfileDropdown'\nimport LanguageSelector from '@/components/template/LanguageSelector'\nimport Notification from '@/components/template/Notification'\nimport HeaderLogo from '@/components/template/HeaderLogo'\nimport Search from '@/components/template/Search'\nimport MobileNav from '@/components/template/MobileNav'\nimport HorizontalNav from '@/components/template/HorizontalNav'\nimport LayoutBase from '@/components//template/LayoutBase'\nimport classNames from '@/utils/classNames'\nimport useScrollTop from '@/utils/hooks/useScrollTop'\nimport useResponsive from '@/utils/hooks/useResponsive'\nimport { LAYOUT_CONTENT_OVERLAY } from '@/constants/theme.constant'\nimport type { CommonProps } from '@/@types/common'\nimport type { FooterPageContainerType } from '@/components/template/Footer'\n\nconst ContentOverlay = ({ children }: CommonProps) => {\n const { isSticky } = useScrollTop()\n\n const { larger, smaller } = useResponsive()\n\n return (\n <LayoutBase\n type={LAYOUT_CONTENT_OVERLAY}\n className=\"app-layout-content-overlay flex flex-auto flex-col min-h-screen\"\n pageContainerReassemble={({\n children,\n defaultClass,\n header,\n pageBackgroundType,\n pageContainerType,\n pageContainerGutterClass,\n footer,\n PageContainerHeader,\n PageContainerBody,\n PageContainerFooter,\n }) => (\n <>\n <div\n className={classNames(\n defaultClass,\n 'sm:px-0 px-4',\n header?.title ? '-mt-60' : '-mt-60 sm:-mt-40',\n )}\n >\n <main className=\"h-full\">\n <div className=\"dark container mx-auto relative\">\n <PageContainerHeader\n {...header}\n className=\"mb-20\"\n customeHeader={() => (\n <>\n {header?.title &&\n typeof header?.title ===\n 'string' && (\n <h2 className=\"mb-2\">\n {header.title}\n </h2>\n )}\n {header?.description && (\n <p className=\"text-base text-white opacity-60\">\n {header.description}\n </p>\n )}\n </>\n )}\n />\n </div>\n <PageContainerBody pageContainerType={'contained'}>\n {pageBackgroundType === 'plain' ? (\n <div\n className={classNames(\n 'bg-white dark:bg-gray-900 rounded-2xl',\n pageContainerGutterClass,\n )}\n >\n {children}\n </div>\n ) : (\n children\n )}\n <PageContainerFooter\n className=\"-mb-40 mt-4 md:px-0\"\n footer={footer}\n pageContainerType={\n pageContainerType as FooterPageContainerType\n }\n />\n </PageContainerBody>\n </main>\n </div>\n </>\n )}\n >\n <div className=\"flex flex-auto min-w-0\">\n <div className=\"flex flex-col flex-auto min-h-screen min-w-0 relative w-full\">\n <Header\n container\n className={classNames(\n 'fixed',\n isSticky\n ? 'shadow dark:shadow-2xl'\n : 'bg-transparent dark',\n )}\n wrapperClass=\"px-0\"\n headerStart={\n <>\n {smaller.lg && <MobileNav />}\n <HeaderLogo\n {...(!isSticky ? { mode: 'dark' } : {})}\n />\n </>\n }\n headerMiddle={<>{larger.lg && <HorizontalNav />}</>}\n headerEnd={\n <>\n <Search />\n <LanguageSelector />\n <Notification />\n <SidePanel />\n <UserProfileDropdown hoverable={false} />\n </>\n }\n />\n <div className=\"h-[400px] bg-[linear-gradient(220deg,_rgb(9,_12,_17)_10%,_#15122f_35%,_#2b1e38_55%,_#0c2239_70%,_rgb(9,_12,_17)_90%)]\">\n <div className=\"container mx-auto h-full\"></div>\n </div>\n {children}\n </div>\n </div>\n </LayoutBase>\n )\n}\n\nexport default ContentOverlay\n"],"names":["ContentOverlay","children","isSticky","useScrollTop","larger","smaller","useResponsive","jsx","LayoutBase","LAYOUT_CONTENT_OVERLAY","defaultClass","header","pageBackgroundType","pageContainerType","pageContainerGutterClass","footer","PageContainerHeader","PageContainerBody","PageContainerFooter","Fragment","classNames","jsxs","Header","MobileNav","HeaderLogo","HorizontalNav","Search","LanguageSelector","Notification","SidePanel","UserProfileDropdown"],"mappings":"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"}
@@ -1,19 +1,19 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { createRef as p, useEffect as a } from "react";
3
3
  import m from "classnames";
4
- function h(c) {
5
- const { offset: s = 0, className: l, children: f } = c, e = p(), r = {
4
+ function h(s) {
5
+ const { offset: i = 0, className: c, children: l } = s, e = p(), r = {
6
6
  position: "",
7
7
  top: "",
8
8
  width: ""
9
- }, d = (i, n) => {
10
- const o = window.scrollY;
9
+ }, f = (o, n) => {
10
+ const d = window.scrollY;
11
11
  if (e.current)
12
- if (i - o < s) {
12
+ if (o - d < i) {
13
13
  if (e.current.style.position !== "fixed") {
14
14
  for (const t in r)
15
15
  r[t] = e.current.style[t];
16
- e.current.style.position = "fixed", e.current.style.width = n + "px", e.current.style.top = s + "px";
16
+ e.current.style.position = "fixed", e.current.style.width = n + "px", e.current.style.top = i + "px";
17
17
  }
18
18
  } else
19
19
  for (const t in r)
@@ -21,17 +21,16 @@ function h(c) {
21
21
  };
22
22
  return a(() => {
23
23
  if (!(typeof window.scrollY > "u") && e.current) {
24
- const i = window.scrollY + e.current.getBoundingClientRect().top, n = () => {
24
+ const o = window.scrollY + e.current.getBoundingClientRect().top, n = () => {
25
25
  e.current && requestAnimationFrame(() => {
26
- var o;
27
- d(i, (o = e.current) == null ? void 0 : o.clientWidth);
26
+ f(o, e.current?.clientWidth);
28
27
  });
29
28
  };
30
29
  return window.addEventListener("scroll", n), () => {
31
30
  window.removeEventListener("scroll", n);
32
31
  };
33
32
  }
34
- }), /* @__PURE__ */ u("div", { ref: e, className: m("z-10", l), children: f });
33
+ }), /* @__PURE__ */ u("div", { ref: e, className: m("z-10", c), children: l });
35
34
  }
36
35
  export {
37
36
  h as default
@@ -1 +1 @@
1
- {"version":3,"file":"Affix.js","sources":["../../../../lib/@ecme/components/shared/Affix.tsx"],"sourcesContent":["import { useEffect, createRef } from 'react'\nimport classNames from 'classnames'\nimport type { CommonProps } from '@/@types/common'\n\ntype AffixStyles = {\n position: string\n top: string\n width: string\n}\n\ninterface AffixProps extends CommonProps {\n offset?: number\n}\n\nfunction Affix(props: AffixProps) {\n const { offset = 0, className, children } = props\n\n const ref = createRef<HTMLDivElement>()\n const prevStyle: AffixStyles = {\n position: '',\n top: '',\n width: '',\n }\n\n const checkPosition = (distanceToBody: number, width?: number) => {\n const scrollTop = window.scrollY\n\n if (ref.current) {\n if (distanceToBody - scrollTop < offset) {\n if (ref.current.style.position !== 'fixed') {\n for (const key in prevStyle) {\n prevStyle[key as keyof AffixStyles] =\n ref.current.style[key as keyof AffixStyles]\n }\n ref.current.style.position = 'fixed'\n ref.current.style.width = width + 'px'\n ref.current.style.top = offset + 'px'\n }\n } else {\n for (const key in prevStyle) {\n ref.current.style[key as keyof AffixStyles] =\n prevStyle[key as keyof AffixStyles]\n }\n }\n }\n }\n\n useEffect(() => {\n if (typeof window.scrollY === 'undefined') {\n return\n }\n\n if (ref.current) {\n const distanceToBody =\n window.scrollY + ref.current.getBoundingClientRect().top\n const handleScroll = () => {\n if (!ref.current) {\n return\n }\n\n requestAnimationFrame(() => {\n checkPosition(distanceToBody, ref.current?.clientWidth)\n })\n }\n\n window.addEventListener('scroll', handleScroll)\n return () => {\n window.removeEventListener('scroll', handleScroll)\n }\n }\n })\n\n return (\n <div ref={ref} className={classNames('z-10', className)}>\n {children}\n </div>\n )\n}\n\nexport default Affix\n"],"names":["Affix","props","offset","className","children","ref","createRef","prevStyle","checkPosition","distanceToBody","width","scrollTop","key","useEffect","handleScroll","_a","jsx","classNames"],"mappings":";;;AAcA,SAASA,EAAMC,GAAmB;AAC9B,QAAM,EAAE,QAAAC,IAAS,GAAG,WAAAC,GAAW,UAAAC,MAAaH,GAEtCI,IAAMC,EAAA,GACNC,IAAyB;AAAA,IAC3B,UAAU;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EAAA,GAGLC,IAAgB,CAACC,GAAwBC,MAAmB;AAC9D,UAAMC,IAAY,OAAO;AAEzB,QAAIN,EAAI;AACJ,UAAII,IAAiBE,IAAYT;AAC7B,YAAIG,EAAI,QAAQ,MAAM,aAAa,SAAS;AACxC,qBAAWO,KAAOL;AACd,YAAAA,EAAUK,CAAwB,IAC9BP,EAAI,QAAQ,MAAMO,CAAwB;AAElD,UAAAP,EAAI,QAAQ,MAAM,WAAW,SAC7BA,EAAI,QAAQ,MAAM,QAAQK,IAAQ,MAClCL,EAAI,QAAQ,MAAM,MAAMH,IAAS;AAAA,QACrC;AAAA;AAEA,mBAAWU,KAAOL;AACd,UAAAF,EAAI,QAAQ,MAAMO,CAAwB,IACtCL,EAAUK,CAAwB;AAAA,EAItD;AAEA,SAAAC,EAAU,MAAM;AACZ,QAAI,SAAO,OAAO,UAAY,QAI1BR,EAAI,SAAS;AACb,YAAMI,IACF,OAAO,UAAUJ,EAAI,QAAQ,wBAAwB,KACnDS,IAAe,MAAM;AACvB,QAAKT,EAAI,WAIT,sBAAsB,MAAM;;AACxB,UAAAG,EAAcC,IAAgBM,IAAAV,EAAI,YAAJ,gBAAAU,EAAa,WAAW;AAAA,QAC1D,CAAC;AAAA,MACL;AAEA,oBAAO,iBAAiB,UAAUD,CAAY,GACvC,MAAM;AACT,eAAO,oBAAoB,UAAUA,CAAY;AAAA,MACrD;AAAA,IACJ;AAAA,EACJ,CAAC,GAGG,gBAAAE,EAAC,SAAI,KAAAX,GAAU,WAAWY,EAAW,QAAQd,CAAS,GACjD,UAAAC,GACL;AAER;"}
1
+ {"version":3,"file":"Affix.js","sources":["../../../../lib/@ecme/components/shared/Affix.tsx"],"sourcesContent":["import { useEffect, createRef } from 'react'\nimport classNames from 'classnames'\nimport type { CommonProps } from '@/@types/common'\n\ntype AffixStyles = {\n position: string\n top: string\n width: string\n}\n\ninterface AffixProps extends CommonProps {\n offset?: number\n}\n\nfunction Affix(props: AffixProps) {\n const { offset = 0, className, children } = props\n\n const ref = createRef<HTMLDivElement>()\n const prevStyle: AffixStyles = {\n position: '',\n top: '',\n width: '',\n }\n\n const checkPosition = (distanceToBody: number, width?: number) => {\n const scrollTop = window.scrollY\n\n if (ref.current) {\n if (distanceToBody - scrollTop < offset) {\n if (ref.current.style.position !== 'fixed') {\n for (const key in prevStyle) {\n prevStyle[key as keyof AffixStyles] =\n ref.current.style[key as keyof AffixStyles]\n }\n ref.current.style.position = 'fixed'\n ref.current.style.width = width + 'px'\n ref.current.style.top = offset + 'px'\n }\n } else {\n for (const key in prevStyle) {\n ref.current.style[key as keyof AffixStyles] =\n prevStyle[key as keyof AffixStyles]\n }\n }\n }\n }\n\n useEffect(() => {\n if (typeof window.scrollY === 'undefined') {\n return\n }\n\n if (ref.current) {\n const distanceToBody =\n window.scrollY + ref.current.getBoundingClientRect().top\n const handleScroll = () => {\n if (!ref.current) {\n return\n }\n\n requestAnimationFrame(() => {\n checkPosition(distanceToBody, ref.current?.clientWidth)\n })\n }\n\n window.addEventListener('scroll', handleScroll)\n return () => {\n window.removeEventListener('scroll', handleScroll)\n }\n }\n })\n\n return (\n <div ref={ref} className={classNames('z-10', className)}>\n {children}\n </div>\n )\n}\n\nexport default Affix\n"],"names":["Affix","props","offset","className","children","ref","createRef","prevStyle","checkPosition","distanceToBody","width","scrollTop","key","useEffect","handleScroll","jsx","classNames"],"mappings":";;;AAcA,SAASA,EAAMC,GAAmB;AAC9B,QAAM,EAAE,QAAAC,IAAS,GAAG,WAAAC,GAAW,UAAAC,MAAaH,GAEtCI,IAAMC,EAAA,GACNC,IAAyB;AAAA,IAC3B,UAAU;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EAAA,GAGLC,IAAgB,CAACC,GAAwBC,MAAmB;AAC9D,UAAMC,IAAY,OAAO;AAEzB,QAAIN,EAAI;AACJ,UAAII,IAAiBE,IAAYT;AAC7B,YAAIG,EAAI,QAAQ,MAAM,aAAa,SAAS;AACxC,qBAAWO,KAAOL;AACd,YAAAA,EAAUK,CAAwB,IAC9BP,EAAI,QAAQ,MAAMO,CAAwB;AAElD,UAAAP,EAAI,QAAQ,MAAM,WAAW,SAC7BA,EAAI,QAAQ,MAAM,QAAQK,IAAQ,MAClCL,EAAI,QAAQ,MAAM,MAAMH,IAAS;AAAA,QACrC;AAAA;AAEA,mBAAWU,KAAOL;AACd,UAAAF,EAAI,QAAQ,MAAMO,CAAwB,IACtCL,EAAUK,CAAwB;AAAA,EAItD;AAEA,SAAAC,EAAU,MAAM;AACZ,QAAI,SAAO,OAAO,UAAY,QAI1BR,EAAI,SAAS;AACb,YAAMI,IACF,OAAO,UAAUJ,EAAI,QAAQ,wBAAwB,KACnDS,IAAe,MAAM;AACvB,QAAKT,EAAI,WAIT,sBAAsB,MAAM;AACxB,UAAAG,EAAcC,GAAgBJ,EAAI,SAAS,WAAW;AAAA,QAC1D,CAAC;AAAA,MACL;AAEA,oBAAO,iBAAiB,UAAUS,CAAY,GACvC,MAAM;AACT,eAAO,oBAAoB,UAAUA,CAAY;AAAA,MACrD;AAAA,IACJ;AAAA,EACJ,CAAC,GAGG,gBAAAC,EAAC,SAAI,KAAAV,GAAU,WAAWW,EAAW,QAAQb,CAAS,GACjD,UAAAC,GACL;AAER;"}
@@ -6,18 +6,18 @@ import T from "../ui/Input/Input.js";
6
6
  const V = ({
7
7
  children: p,
8
8
  active: c,
9
- ref: n,
10
- ...s
9
+ ref: o,
10
+ ...n
11
11
  }) => {
12
- const i = b();
12
+ const s = b();
13
13
  return /* @__PURE__ */ l(
14
14
  "div",
15
15
  {
16
- ref: n,
16
+ ref: o,
17
17
  role: "option",
18
- id: i,
18
+ id: s,
19
19
  "aria-selected": c,
20
- ...s,
20
+ ...n,
21
21
  className: "select-option hover:text-gray-800 hover:dark:text-gray-100",
22
22
  children: p
23
23
  }
@@ -26,28 +26,28 @@ const V = ({
26
26
  function ee(p) {
27
27
  const {
28
28
  data: c = [],
29
- optionKey: n,
30
- value: s,
31
- onInputChange: i,
29
+ optionKey: o,
30
+ value: n,
31
+ onInputChange: s,
32
32
  onOptionSelected: y,
33
33
  renderOption: C,
34
34
  ...x
35
- } = p, [h, a] = g(!1), [r, f] = g(null), [d, w] = g([]), v = D([]);
35
+ } = p, [h, i] = g(!1), [a, f] = g(null), [d, w] = g([]), v = D([]);
36
36
  S(() => {
37
37
  const e = c.filter(
38
- (t) => n(t).toLowerCase().includes(s.toLowerCase())
38
+ (t) => o(t).toLowerCase().includes(n.toLowerCase())
39
39
  );
40
40
  w(e);
41
- }, [s]);
41
+ }, [n]);
42
42
  const { refs: m, floatingStyles: F, context: u } = H({
43
43
  whileElementsMounted: z,
44
44
  open: h,
45
- onOpenChange: a,
45
+ onOpenChange: i,
46
46
  middleware: [
47
47
  K({ padding: 10 }),
48
48
  M({
49
- apply({ rects: e, availableHeight: t, elements: o }) {
50
- Object.assign(o.floating.style, {
49
+ apply({ rects: e, availableHeight: t, elements: r }) {
50
+ Object.assign(r.floating.style, {
51
51
  width: `${e.reference.width}px`,
52
52
  maxHeight: `${t}px`
53
53
  });
@@ -57,18 +57,18 @@ function ee(p) {
57
57
  ]
58
58
  }), I = U(u, { role: "listbox" }), O = q(u), R = B(u, {
59
59
  listRef: v,
60
- activeIndex: r,
60
+ activeIndex: a,
61
61
  onNavigate: f,
62
62
  virtual: !0,
63
63
  loop: !0
64
64
  }), { getReferenceProps: k, getFloatingProps: L, getItemProps: N } = G([I, O, R]);
65
65
  function E(e) {
66
66
  const t = e.target.value;
67
- i(t);
68
- const o = c.filter(
69
- (P) => n(P).toLowerCase().includes(t.toLowerCase())
67
+ s(t);
68
+ const r = c.filter(
69
+ (P) => o(P).toLowerCase().includes(t.toLowerCase())
70
70
  );
71
- t && o.length > 0 ? (a(!0), f(0)) : a(!1);
71
+ t && r.length > 0 ? (i(!0), f(0)) : i(!1);
72
72
  }
73
73
  return /* @__PURE__ */ j(A, { children: [
74
74
  /* @__PURE__ */ l(
@@ -78,10 +78,10 @@ function ee(p) {
78
78
  ...k({
79
79
  ref: m.setReference,
80
80
  onChange: E,
81
- value: s,
81
+ value: n,
82
82
  "aria-autocomplete": "list",
83
83
  onKeyDown(e) {
84
- e.key === "Enter" && r != null && d[r] && (i(n(d[r])), f(null), a(!1));
84
+ e.key === "Enter" && a != null && d[a] && (s(o(d[a])), f(null), i(!1));
85
85
  }
86
86
  })
87
87
  }
@@ -106,17 +106,16 @@ function ee(p) {
106
106
  V,
107
107
  {
108
108
  ...N({
109
- key: n(e),
110
- ref(o) {
111
- v.current[t] = o;
109
+ key: o(e),
110
+ ref(r) {
111
+ v.current[t] = r;
112
112
  },
113
113
  onClick() {
114
- var o;
115
- i(n(e)), y(e), a(!1), (o = m.domReference.current) == null || o.focus();
114
+ s(o(e)), y(e), i(!1), m.domReference.current?.focus();
116
115
  }
117
116
  }),
118
117
  key: `auto-complete-item-${t}`,
119
- active: r === t
118
+ active: a === t
120
119
  },
121
120
  C(e)
122
121
  ))