infinity-forge 0.7.0 → 0.7.1

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 (424) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/dist/index.js +3 -3
  3. package/dist/sites/components/brands-carousel/index.d.ts +1 -1
  4. package/dist/sites/components/brands-carousel/index.js +3 -3
  5. package/dist/sites/components/brands-carousel/interfaces.d.ts +1 -1
  6. package/dist/sites/components/carousel/component.d.ts +1 -1
  7. package/dist/sites/components/carousel/component.js +1 -1
  8. package/dist/sites/components/carousel/index.d.ts +1 -1
  9. package/dist/sites/components/carousel/index.js +1 -1
  10. package/dist/sites/components/carousel/interfaces.d.ts +1 -1
  11. package/dist/sites/components/carousel/versions/index.d.ts +1 -1
  12. package/dist/sites/components/carousel/versions/index.js +1 -1
  13. package/dist/sites/components/carousel/versions/version-01/component-01.d.ts +1 -1
  14. package/dist/sites/components/carousel/versions/version-01/component-01.js +1 -1
  15. package/dist/sites/components/counter/component.d.ts +1 -1
  16. package/dist/sites/components/counter/component.js +1 -1
  17. package/dist/sites/components/counter/index.d.ts +1 -1
  18. package/dist/sites/components/counter/index.js +1 -1
  19. package/dist/sites/components/counter/interfaces.d.ts +1 -1
  20. package/dist/sites/components/counter/versions/index.d.ts +1 -1
  21. package/dist/sites/components/counter/versions/index.js +1 -1
  22. package/dist/sites/components/counter/versions/version-01/box/index.d.ts +1 -1
  23. package/dist/sites/components/counter/versions/version-01/box/index.js +2 -2
  24. package/dist/sites/components/counter/versions/version-01/component.d.ts +1 -1
  25. package/dist/sites/components/counter/versions/version-01/component.js +3 -3
  26. package/dist/sites/components/head/component.d.ts +1 -1
  27. package/dist/sites/components/head/index.d.ts +2 -2
  28. package/dist/sites/components/head/index.js +2 -2
  29. package/dist/sites/components/header-link/component.d.ts +1 -1
  30. package/dist/sites/components/header-link/component.js +1 -1
  31. package/dist/sites/components/header-link/index.d.ts +1 -1
  32. package/dist/sites/components/header-link/index.js +1 -1
  33. package/dist/sites/components/header-link/interfaces.d.ts +1 -1
  34. package/dist/sites/components/header-link/versions/index.d.ts +1 -1
  35. package/dist/sites/components/header-link/versions/index.js +1 -1
  36. package/dist/sites/components/header-link/versions/version-01/component.js +2 -2
  37. package/dist/sites/components/header-link/versions/version-01/component.stories.d.ts +1 -1
  38. package/dist/sites/components/header-link/versions/version-01/component.stories.js +2 -2
  39. package/dist/sites/components/index.d.ts +6 -6
  40. package/dist/sites/components/index.js +6 -6
  41. package/dist/sites/components/mvv/component.d.ts +1 -1
  42. package/dist/sites/components/mvv/component.js +1 -1
  43. package/dist/sites/components/mvv/index.d.ts +1 -1
  44. package/dist/sites/components/mvv/index.js +1 -1
  45. package/dist/sites/components/mvv/interfaces.d.ts +1 -1
  46. package/dist/sites/components/mvv/versions/index.d.ts +1 -1
  47. package/dist/sites/components/mvv/versions/index.js +1 -1
  48. package/dist/sites/components/mvv/versions/version-01/component.d.ts +1 -1
  49. package/dist/sites/components/mvv/versions/version-01/component.js +2 -2
  50. package/dist/sites/context/configs/context.d.ts +1 -1
  51. package/dist/sites/context/configs/context.js +3 -3
  52. package/dist/sites/context/configs/index.d.ts +2 -2
  53. package/dist/sites/context/configs/index.js +2 -2
  54. package/dist/sites/context/configs/scripts/acept-cookies/index.js +2 -2
  55. package/dist/sites/context/configs/scripts/acept-ratedr/index.js +2 -2
  56. package/dist/sites/context/configs/scripts/component.d.ts +1 -1
  57. package/dist/sites/context/configs/scripts/component.js +4 -4
  58. package/dist/sites/context/configs/scripts/index.d.ts +5 -5
  59. package/dist/sites/context/configs/scripts/index.js +5 -5
  60. package/dist/sites/context/configs/scripts/interfaces.d.ts +1 -1
  61. package/dist/sites/context/configs/scripts/whatsapp-fixed/index.js +1 -1
  62. package/dist/sites/context/index.d.ts +1 -1
  63. package/dist/sites/context/index.js +1 -1
  64. package/dist/sites/hook/index.d.ts +3 -3
  65. package/dist/sites/hook/index.js +3 -3
  66. package/dist/sites/index.d.ts +3 -3
  67. package/dist/sites/index.js +3 -3
  68. package/dist/sites/interfaces/api-data/index.d.ts +1 -1
  69. package/dist/sites/interfaces/api-data/index.js +1 -1
  70. package/dist/sites/interfaces/index.d.ts +2 -2
  71. package/dist/sites/interfaces/index.js +2 -2
  72. package/dist/system/container/admin/auth/container.js +2 -2
  73. package/dist/system/container/admin/auth/index.d.ts +2 -2
  74. package/dist/system/container/admin/auth/index.js +2 -2
  75. package/dist/system/container/admin/index.d.ts +3 -3
  76. package/dist/system/container/admin/index.js +3 -3
  77. package/dist/system/container/admin/menu/container.js +2 -2
  78. package/dist/system/container/admin/menu/index.d.ts +2 -2
  79. package/dist/system/container/admin/menu/index.js +2 -2
  80. package/dist/system/container/admin/users/container.js +2 -2
  81. package/dist/system/container/admin/users/index.d.ts +2 -2
  82. package/dist/system/container/admin/users/index.js +2 -2
  83. package/dist/system/container/decorators/authorize-http-client-decorator.d.ts +2 -2
  84. package/dist/system/container/decorators/authorize-http-client-decorator.js +3 -3
  85. package/dist/system/container/decorators/index.d.ts +1 -1
  86. package/dist/system/container/decorators/index.js +1 -1
  87. package/dist/system/container/index.d.ts +2 -2
  88. package/dist/system/container/index.js +2 -2
  89. package/dist/system/container/infra/container.js +4 -4
  90. package/dist/system/container/infra/index.d.ts +3 -3
  91. package/dist/system/container/infra/index.js +3 -3
  92. package/dist/system/container/main.d.ts +1 -1
  93. package/dist/system/container/main.js +3 -3
  94. package/dist/system/container/types.js +1 -1
  95. package/dist/system/data/index.d.ts +1 -1
  96. package/dist/system/data/index.js +1 -1
  97. package/dist/system/data/use-cases/auth/index.d.ts +1 -1
  98. package/dist/system/data/use-cases/auth/index.js +1 -1
  99. package/dist/system/data/use-cases/auth/remote-auth-admin.d.ts +3 -3
  100. package/dist/system/data/use-cases/auth/remote-auth-admin.js +4 -4
  101. package/dist/system/data/use-cases/index.d.ts +3 -3
  102. package/dist/system/data/use-cases/index.js +3 -3
  103. package/dist/system/data/use-cases/menu/index.d.ts +1 -1
  104. package/dist/system/data/use-cases/menu/index.js +1 -1
  105. package/dist/system/data/use-cases/menu/remote-get-menu.d.ts +2 -2
  106. package/dist/system/data/use-cases/menu/remote-get-menu.js +3 -3
  107. package/dist/system/data/use-cases/users/index.d.ts +2 -2
  108. package/dist/system/data/use-cases/users/index.js +2 -2
  109. package/dist/system/data/use-cases/users/remote-load-user-admin.d.ts +2 -2
  110. package/dist/system/data/use-cases/users/remote-load-user-admin.js +3 -3
  111. package/dist/system/data/use-cases/users/remote-users.d.ts +2 -2
  112. package/dist/system/data/use-cases/users/remote-users.js +3 -3
  113. package/dist/system/domain/generics/index.d.ts +2 -2
  114. package/dist/system/domain/generics/index.js +2 -2
  115. package/dist/system/domain/index.d.ts +3 -3
  116. package/dist/system/domain/index.js +3 -3
  117. package/dist/system/domain/protocols/cache/get-storage.d.ts +1 -1
  118. package/dist/system/domain/protocols/cache/index.d.ts +3 -3
  119. package/dist/system/domain/protocols/cache/index.js +3 -3
  120. package/dist/system/domain/protocols/cache/set-storage.d.ts +1 -1
  121. package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +5 -5
  122. package/dist/system/domain/protocols/http/errors/http-errors/index.js +5 -5
  123. package/dist/system/domain/protocols/http/errors/index.d.ts +2 -2
  124. package/dist/system/domain/protocols/http/errors/index.js +2 -2
  125. package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -1
  126. package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +1 -1
  127. package/dist/system/domain/protocols/http/http-client.d.ts +1 -1
  128. package/dist/system/domain/protocols/http/index.d.ts +2 -2
  129. package/dist/system/domain/protocols/http/index.js +2 -2
  130. package/dist/system/domain/protocols/index.d.ts +2 -2
  131. package/dist/system/domain/protocols/index.js +2 -2
  132. package/dist/system/domain/use-cases/auth/admin/index.d.ts +1 -1
  133. package/dist/system/domain/use-cases/auth/admin/index.js +1 -1
  134. package/dist/system/domain/use-cases/auth/index.d.ts +1 -1
  135. package/dist/system/domain/use-cases/auth/index.js +1 -1
  136. package/dist/system/domain/use-cases/index.d.ts +3 -3
  137. package/dist/system/domain/use-cases/index.js +3 -3
  138. package/dist/system/domain/use-cases/menu/index.d.ts +1 -1
  139. package/dist/system/domain/use-cases/menu/index.js +1 -1
  140. package/dist/system/domain/use-cases/menu/load-menu.d.ts +2 -2
  141. package/dist/system/domain/use-cases/users/delete-user.d.ts +1 -1
  142. package/dist/system/domain/use-cases/users/edit-user.d.ts +1 -1
  143. package/dist/system/domain/use-cases/users/get-detail-user.d.ts +1 -1
  144. package/dist/system/domain/use-cases/users/index.d.ts +6 -6
  145. package/dist/system/domain/use-cases/users/index.js +6 -6
  146. package/dist/system/domain/use-cases/users/load-all-users.d.ts +1 -1
  147. package/dist/system/index.d.ts +5 -5
  148. package/dist/system/index.js +5 -5
  149. package/dist/system/infra/cache/cookie-storage-adapter.d.ts +2 -2
  150. package/dist/system/infra/cache/index.d.ts +2 -2
  151. package/dist/system/infra/cache/index.js +2 -2
  152. package/dist/system/infra/cache/storage-type.d.ts +1 -1
  153. package/dist/system/infra/http/axios-http-client.d.ts +1 -1
  154. package/dist/system/infra/http/axios-http-client.js +2 -2
  155. package/dist/system/infra/http/index.d.ts +1 -1
  156. package/dist/system/infra/http/index.js +1 -1
  157. package/dist/system/infra/index.d.ts +3 -3
  158. package/dist/system/infra/index.js +3 -3
  159. package/dist/system/infra/type-models/index.d.ts +2 -2
  160. package/dist/system/infra/type-models/index.js +2 -2
  161. package/dist/system/presentation/components/data/avatar/index.js +2 -2
  162. package/dist/system/presentation/components/data/cards/index.d.ts +1 -1
  163. package/dist/system/presentation/components/data/cards/index.js +1 -1
  164. package/dist/system/presentation/components/data/cards/message-card/index.d.ts +1 -1
  165. package/dist/system/presentation/components/data/cards/message-card/index.js +3 -3
  166. package/dist/system/presentation/components/data/index.d.ts +8 -8
  167. package/dist/system/presentation/components/data/index.js +8 -8
  168. package/dist/system/presentation/components/data/logo/index.js +2 -2
  169. package/dist/system/presentation/components/data/overlay/index.d.ts +1 -1
  170. package/dist/system/presentation/components/data/overlay/index.js +2 -2
  171. package/dist/system/presentation/components/data/page-wrapper/index.d.ts +1 -1
  172. package/dist/system/presentation/components/data/page-wrapper/index.js +2 -2
  173. package/dist/system/presentation/components/data/popover/index.d.ts +1 -1
  174. package/dist/system/presentation/components/data/sign-up/index.js +3 -3
  175. package/dist/system/presentation/components/data/skeleton/index.d.ts +1 -1
  176. package/dist/system/presentation/components/data/skeleton/index.js +2 -2
  177. package/dist/system/presentation/components/index.d.ts +3 -3
  178. package/dist/system/presentation/components/index.js +3 -3
  179. package/dist/system/presentation/components/layout/component.d.ts +1 -1
  180. package/dist/system/presentation/components/layout/component.js +3 -3
  181. package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -2
  182. package/dist/system/presentation/components/layout/header/components/index.js +2 -2
  183. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +6 -6
  184. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.d.ts +1 -1
  185. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +3 -3
  186. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
  187. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +4 -4
  188. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +3 -3
  189. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +3 -3
  190. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +4 -4
  191. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +3 -3
  192. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
  193. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +3 -3
  194. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +2 -2
  195. package/dist/system/presentation/components/layout/header/index.js +1 -1
  196. package/dist/system/presentation/components/layout/header/version-01/index.js +3 -3
  197. package/dist/system/presentation/components/layout/index.d.ts +3 -3
  198. package/dist/system/presentation/components/layout/index.js +3 -3
  199. package/dist/system/presentation/components/layout/menu/components/index.d.ts +2 -2
  200. package/dist/system/presentation/components/layout/menu/components/index.js +2 -2
  201. package/dist/system/presentation/components/layout/menu/components/menu/index.js +3 -3
  202. package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +3 -3
  203. package/dist/system/presentation/components/layout/menu/index.js +1 -1
  204. package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -1
  205. package/dist/system/presentation/components/layout/menu/version-01/index.js +3 -3
  206. package/dist/system/presentation/components/pages/index.d.ts +1 -1
  207. package/dist/system/presentation/components/pages/index.js +1 -1
  208. package/dist/system/presentation/components/pages/users/index.d.ts +1 -1
  209. package/dist/system/presentation/components/pages/users/index.js +1 -1
  210. package/dist/system/presentation/components/pages/users/page.js +5 -5
  211. package/dist/system/presentation/components/pages/users/page.js.map +1 -1
  212. package/dist/system/presentation/components/pages/users/table/columns.d.ts +2 -2
  213. package/dist/system/presentation/components/pages/users/table/create.d.ts +2 -2
  214. package/dist/system/presentation/components/pages/users/table/create.js +2 -2
  215. package/dist/system/presentation/components/pages/users/table/delete.js +2 -2
  216. package/dist/system/presentation/components/pages/users/table/edit.d.ts +2 -2
  217. package/dist/system/presentation/components/pages/users/table/edit.js +2 -2
  218. package/dist/system/presentation/components/pages/users/table/index.d.ts +4 -4
  219. package/dist/system/presentation/components/pages/users/table/index.js +4 -4
  220. package/dist/system/presentation/configs/index.d.ts +2 -2
  221. package/dist/system/presentation/configs/index.js +2 -2
  222. package/dist/system/presentation/context/auth/authenticated/index.js +1 -1
  223. package/dist/system/presentation/context/auth/context.d.ts +1 -1
  224. package/dist/system/presentation/context/auth/context.js +2 -2
  225. package/dist/system/presentation/context/auth/index.d.ts +5 -5
  226. package/dist/system/presentation/context/auth/index.js +5 -5
  227. package/dist/system/presentation/context/auth/interfaces.d.ts +1 -1
  228. package/dist/system/presentation/context/auth/login/index.js +3 -3
  229. package/dist/system/presentation/context/auth/private-page/index.js +3 -3
  230. package/dist/system/presentation/context/auth/unauthenticated/index.js +1 -1
  231. package/dist/system/presentation/context/container.js +2 -2
  232. package/dist/system/presentation/context/index.d.ts +2 -2
  233. package/dist/system/presentation/context/index.js +2 -2
  234. package/dist/system/presentation/hooks/index.d.ts +2 -2
  235. package/dist/system/presentation/hooks/index.js +2 -2
  236. package/dist/system/presentation/hooks/menu/index.d.ts +1 -1
  237. package/dist/system/presentation/hooks/menu/index.js +1 -1
  238. package/dist/system/presentation/hooks/menu/use-load-menu.d.ts +1 -1
  239. package/dist/system/presentation/hooks/menu/use-load-menu.js +1 -1
  240. package/dist/system/presentation/hooks/ui/index.d.ts +1 -1
  241. package/dist/system/presentation/hooks/ui/index.js +1 -1
  242. package/dist/system/presentation/hooks/ui/use-table/component.d.ts +1 -1
  243. package/dist/system/presentation/hooks/ui/use-table/component.js +2 -2
  244. package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +1 -1
  245. package/dist/system/presentation/hooks/ui/use-table/components/index.js +1 -1
  246. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +1 -1
  247. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +6 -3
  248. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js.map +1 -1
  249. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +1 -1
  250. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +10 -3
  251. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js.map +1 -1
  252. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
  253. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +8 -8
  254. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
  255. package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js +1 -1
  256. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +1 -1
  257. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +3 -3
  258. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
  259. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +2 -2
  260. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +1 -1
  261. package/dist/system/presentation/hooks/ui/use-table/index.d.ts +3 -3
  262. package/dist/system/presentation/hooks/ui/use-table/index.js +3 -3
  263. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +19 -4
  264. package/dist/system/presentation/hooks/ui/use-table/query.d.ts +2 -2
  265. package/dist/system/presentation/index.d.ts +5 -5
  266. package/dist/system/presentation/index.js +5 -5
  267. package/dist/system/presentation/utils/index.d.ts +1 -1
  268. package/dist/system/presentation/utils/index.js +1 -1
  269. package/dist/system/presentation/utils/use-query/index.d.ts +1 -1
  270. package/dist/system/presentation/utils/use-query/index.js +1 -1
  271. package/dist/ui/components/accordion/index..d.ts +1 -1
  272. package/dist/ui/components/accordion/index..js +2 -2
  273. package/dist/ui/components/breadcrumb/index.d.ts +1 -1
  274. package/dist/ui/components/breadcrumb/index.js +1 -1
  275. package/dist/ui/components/button/component.d.ts +1 -1
  276. package/dist/ui/components/button/component.js +2 -2
  277. package/dist/ui/components/button/index.d.ts +2 -2
  278. package/dist/ui/components/button/index.js +2 -2
  279. package/dist/ui/components/button/interfaces.d.ts +1 -1
  280. package/dist/ui/components/container/index.d.ts +1 -1
  281. package/dist/ui/components/error-boundary/component.d.ts +1 -1
  282. package/dist/ui/components/error-boundary/component.js +1 -1
  283. package/dist/ui/components/error-boundary/error-body.d.ts +1 -1
  284. package/dist/ui/components/error-boundary/index.d.ts +2 -2
  285. package/dist/ui/components/error-boundary/index.js +2 -2
  286. package/dist/ui/components/form/checkbox/index.js +3 -3
  287. package/dist/ui/components/form/handler/custom-submit/index.d.ts +1 -1
  288. package/dist/ui/components/form/handler/custom-submit/index.js +1 -1
  289. package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +1 -1
  290. package/dist/ui/components/form/handler/dynamic_form_handler/index.js +3 -3
  291. package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +7 -7
  292. package/dist/ui/components/form/handler/form-handler/index.d.ts +1 -1
  293. package/dist/ui/components/form/handler/form-handler/index.js +5 -5
  294. package/dist/ui/components/form/handler/index.d.ts +1 -1
  295. package/dist/ui/components/form/handler/index.js +1 -1
  296. package/dist/ui/components/form/handler/interfaces.d.ts +2 -2
  297. package/dist/ui/components/form/index.d.ts +13 -13
  298. package/dist/ui/components/form/index.js +13 -13
  299. package/dist/ui/components/form/input/index.d.ts +1 -1
  300. package/dist/ui/components/form/input/index.js +1 -1
  301. package/dist/ui/components/form/input-control/error/index.d.ts +1 -1
  302. package/dist/ui/components/form/input-control/error/index.js +1 -1
  303. package/dist/ui/components/form/input-control/index.d.ts +1 -1
  304. package/dist/ui/components/form/input-control/index.js +5 -5
  305. package/dist/ui/components/form/input-control/label/index.js +1 -1
  306. package/dist/ui/components/form/input-control/loader-input/index.js +2 -2
  307. package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +1 -1
  308. package/dist/ui/components/form/input-cpf-cnpj/index.js +1 -1
  309. package/dist/ui/components/form/input-currency/index.d.ts +1 -1
  310. package/dist/ui/components/form/input-currency/index.js +1 -1
  311. package/dist/ui/components/form/input-file/index.d.ts +1 -1
  312. package/dist/ui/components/form/input-file/index.js +1 -1
  313. package/dist/ui/components/form/input-mask/index.d.ts +1 -1
  314. package/dist/ui/components/form/input-mask/index.js +1 -1
  315. package/dist/ui/components/form/input-password/index.d.ts +1 -1
  316. package/dist/ui/components/form/input-password/index.js +3 -3
  317. package/dist/ui/components/form/input-switch/index.d.ts +1 -1
  318. package/dist/ui/components/form/input-switch/index.js +1 -1
  319. package/dist/ui/components/form/radio/index.js +2 -2
  320. package/dist/ui/components/form/select/index.d.ts +1 -1
  321. package/dist/ui/components/form/select/index.js +2 -2
  322. package/dist/ui/components/form/select/interfaces.d.ts +1 -1
  323. package/dist/ui/components/form/textarea/index.d.ts +1 -1
  324. package/dist/ui/components/form/textarea/index.js +1 -1
  325. package/dist/ui/components/index.d.ts +10 -10
  326. package/dist/ui/components/index.js +10 -10
  327. package/dist/ui/components/loader-circle/index.d.ts +1 -1
  328. package/dist/ui/components/loading-screen/index.d.ts +1 -1
  329. package/dist/ui/components/loading-screen/index.js +3 -3
  330. package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +1 -1
  331. package/dist/ui/components/menu-mobile/components/nav-links/index.js +2 -2
  332. package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +1 -1
  333. package/dist/ui/components/menu-mobile/index.d.ts +1 -1
  334. package/dist/ui/components/menu-mobile/index.js +4 -4
  335. package/dist/ui/components/menu-mobile/top/index.d.ts +1 -1
  336. package/dist/ui/components/menu-mobile/top/index.js +2 -2
  337. package/dist/ui/components/menu-mobile/top/interfaces.d.ts +1 -1
  338. package/dist/ui/components/next-image/index.d.ts +1 -1
  339. package/dist/ui/components/next-image/index.js +3 -3
  340. package/dist/ui/components/sidebar/index.d.ts +1 -1
  341. package/dist/ui/components/sidebar/index.js +1 -1
  342. package/dist/ui/contexts/index.d.ts +3 -3
  343. package/dist/ui/contexts/index.js +3 -3
  344. package/dist/ui/contexts/theme/context.js +1 -1
  345. package/dist/ui/contexts/theme/index.d.ts +2 -2
  346. package/dist/ui/contexts/theme/index.js +2 -2
  347. package/dist/ui/contexts/toast/index.d.ts +1 -1
  348. package/dist/ui/contexts/toast/index.js +3 -3
  349. package/dist/ui/contexts/toast/toast-item/index.d.ts +1 -1
  350. package/dist/ui/contexts/toast/toast-item/index.js +1 -1
  351. package/dist/ui/hooks/index.d.ts +2 -2
  352. package/dist/ui/hooks/index.js +2 -2
  353. package/dist/ui/icons/index.d.ts +53 -53
  354. package/dist/ui/icons/index.js +53 -53
  355. package/dist/ui/icons/render/Carousel-left-icon.d.ts +1 -1
  356. package/dist/ui/icons/render/Carousel-right-icon.d.ts +1 -1
  357. package/dist/ui/icons/render/Check.d.ts +1 -1
  358. package/dist/ui/icons/render/Clock.d.ts +1 -1
  359. package/dist/ui/icons/render/Close.d.ts +1 -1
  360. package/dist/ui/icons/render/Codie.d.ts +1 -1
  361. package/dist/ui/icons/render/Edit.d.ts +1 -1
  362. package/dist/ui/icons/render/Email.d.ts +1 -1
  363. package/dist/ui/icons/render/Eye.d.ts +1 -1
  364. package/dist/ui/icons/render/Facebook.d.ts +1 -1
  365. package/dist/ui/icons/render/File.d.ts +1 -1
  366. package/dist/ui/icons/render/Folder.d.ts +1 -1
  367. package/dist/ui/icons/render/Globe.d.ts +1 -1
  368. package/dist/ui/icons/render/Home.d.ts +1 -1
  369. package/dist/ui/icons/render/Insagram.d.ts +1 -1
  370. package/dist/ui/icons/render/Linkedin.d.ts +1 -1
  371. package/dist/ui/icons/render/LongArrowRight.d.ts +1 -1
  372. package/dist/ui/icons/render/Lupa.d.ts +1 -1
  373. package/dist/ui/icons/render/Map.d.ts +1 -1
  374. package/dist/ui/icons/render/Microphone.d.ts +1 -1
  375. package/dist/ui/icons/render/Minus.d.ts +1 -1
  376. package/dist/ui/icons/render/NavDown.d.ts +1 -1
  377. package/dist/ui/icons/render/NavLeft.d.ts +1 -1
  378. package/dist/ui/icons/render/NavRight.d.ts +1 -1
  379. package/dist/ui/icons/render/NavUp.d.ts +1 -1
  380. package/dist/ui/icons/render/Phone.d.ts +1 -1
  381. package/dist/ui/icons/render/Pin.d.ts +1 -1
  382. package/dist/ui/icons/render/Play.d.ts +1 -1
  383. package/dist/ui/icons/render/Plus.d.ts +1 -1
  384. package/dist/ui/icons/render/Share.d.ts +1 -1
  385. package/dist/ui/icons/render/TikTok.d.ts +1 -1
  386. package/dist/ui/icons/render/Twitter.d.ts +1 -1
  387. package/dist/ui/icons/render/YouTube.d.ts +1 -1
  388. package/dist/ui/icons/render/box.d.ts +1 -1
  389. package/dist/ui/icons/render/calendar.d.ts +1 -1
  390. package/dist/ui/icons/render/chat.d.ts +1 -1
  391. package/dist/ui/icons/render/component.d.ts +1 -1
  392. package/dist/ui/icons/render/component.js +1 -1
  393. package/dist/ui/icons/render/exclamation.d.ts +1 -1
  394. package/dist/ui/icons/render/eye-off.d.ts +1 -1
  395. package/dist/ui/icons/render/fullfield-bell.d.ts +1 -1
  396. package/dist/ui/icons/render/fullfield-chat.d.ts +1 -1
  397. package/dist/ui/icons/render/image.d.ts +1 -1
  398. package/dist/ui/icons/render/index.d.ts +1 -1
  399. package/dist/ui/icons/render/index.js +1 -1
  400. package/dist/ui/icons/render/keyboard-right-arrow.d.ts +1 -1
  401. package/dist/ui/icons/render/loading.d.ts +1 -1
  402. package/dist/ui/icons/render/not-found.d.ts +1 -1
  403. package/dist/ui/icons/render/phone-message.d.ts +1 -1
  404. package/dist/ui/icons/render/plus-sharp.d.ts +1 -1
  405. package/dist/ui/icons/render/shopping.d.ts +1 -1
  406. package/dist/ui/icons/render/transparent-mail.d.ts +1 -1
  407. package/dist/ui/icons/render/transparent-phone.d.ts +1 -1
  408. package/dist/ui/icons/render/user.d.ts +1 -1
  409. package/dist/ui/icons/render/whats.d.ts +1 -1
  410. package/dist/ui/icons/render-icon/index.d.ts +1 -1
  411. package/dist/ui/icons/render-icon/index.js +1 -1
  412. package/dist/ui/index.d.ts +5 -5
  413. package/dist/ui/index.js +5 -5
  414. package/dist/ui/utils/facebook/index.d.ts +1 -1
  415. package/dist/ui/utils/facebook/index.js +1 -1
  416. package/dist/ui/utils/index.d.ts +5 -5
  417. package/dist/ui/utils/index.js +5 -5
  418. package/dist/ui/utils/libs/index.d.ts +1 -1
  419. package/dist/ui/utils/libs/index.js +1 -1
  420. package/dist/ui/utils/libs/next/index.d.ts +2 -2
  421. package/dist/ui/utils/libs/next/index.js +2 -2
  422. package/dist/ui/utils/validations/index.d.ts +2 -2
  423. package/dist/ui/utils/validations/index.js +2 -2
  424. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ActionsTable } from '../../../interfaces';
1
+ import { ActionsTable } from '../../../interfaces.js';
2
2
  export declare function Actions({ actions, table }: {
3
3
  actions: ActionsTable;
4
4
  table: any;
@@ -55,10 +55,12 @@ var jsx_runtime_1 = require("react/jsx-runtime");
55
55
  var react_1 = require("react");
56
56
  var link_1 = __importDefault(require("next/link"));
57
57
  var semantic_ui_react_1 = require("semantic-ui-react");
58
- var dynamic_form_handler_1 = require("@/ui/components/form/handler/dynamic_form_handler");
58
+ var dynamic_form_handler_1 = require("../../../../../../../../ui/components/form/handler/dynamic_form_handler/index.js");
59
+ var ui_1 = require("../../../../../../../../ui/index.js");
59
60
  function Actions(_a) {
61
+ var _b, _c;
60
62
  var actions = _a.actions, table = _a.table;
61
- var _b = (0, react_1.useState)(false), openEdit = _b[0], setOpenEdit = _b[1];
63
+ var _d = (0, react_1.useState)(false), openEdit = _d[0], setOpenEdit = _d[1];
62
64
  function onSuccessEdit(data) {
63
65
  return __awaiter(this, void 0, void 0, function () {
64
66
  return __generator(this, function (_a) {
@@ -72,7 +74,8 @@ function Actions(_a) {
72
74
  });
73
75
  });
74
76
  }
75
- return ((0, jsx_runtime_1.jsxs)("td", { style: { width: '100px' }, children: [actions.edit && ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openEdit, onClose: function () { return setOpenEdit(false); }, style: { maxWidth: 512, borderRadius: 10 }, trigger: (0, jsx_runtime_1.jsx)("button", { type: 'button', children: "Editar" }), content: (0, jsx_runtime_1.jsx)(dynamic_form_handler_1.DynamicFormHandler, __assign({}, actions.edit, { onSucess: onSuccessEdit, tableItem: table })), onOpen: function () { return setOpenEdit(true); } })), actions.detail && (0, jsx_runtime_1.jsx)(link_1.default, { href: actions.detail(table), children: "Detalhe" }), actions.delete && ((0, jsx_runtime_1.jsx)("button", { type: 'button', onClick: function () { return actions.delete(table); }, children: "Excluir" }))] }));
77
+ return ((0, jsx_runtime_1.jsxs)("td", { style: { width: '100px' }, children: [actions.edit &&
78
+ (((_b = actions.edit) === null || _b === void 0 ? void 0 : _b.link) ? ((0, jsx_runtime_1.jsxs)(link_1.default, { href: actions.edit.link.href(table), children: [((_c = actions.edit.link) === null || _c === void 0 ? void 0 : _c.icon) && (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: actions.edit.link.icon }), actions.edit.link.text] })) : ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openEdit, onClose: function () { return setOpenEdit(false); }, style: { maxWidth: 512, borderRadius: 10 }, trigger: (0, jsx_runtime_1.jsx)("button", { type: 'button', children: "Editar" }), content: (0, jsx_runtime_1.jsx)(dynamic_form_handler_1.DynamicFormHandler, __assign({}, actions.edit, { onSucess: onSuccessEdit, tableItem: table })), onOpen: function () { return setOpenEdit(true); } }))), actions.detail && (0, jsx_runtime_1.jsx)(link_1.default, { href: actions.detail(table), children: "Detalhe" }), actions.delete && ((0, jsx_runtime_1.jsx)("button", { type: 'button', onClick: function () { return actions.delete(table); }, children: "Excluir" }))] }));
76
79
  }
77
80
  exports.Actions = Actions;
78
81
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/actions/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAChC,mDAA4B;AAE5B,uDAAyC;AAEzC,0FAAuF;AAEvF,SAAgB,OAAO,CAAC,EAAyD;QAAvD,OAAO,aAAA,EAAE,KAAK,WAAA;IAChC,IAAA,KAA0B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAxC,QAAQ,QAAA,EAAE,WAAW,QAAmB,CAAC;IAEhD,SAAe,aAAa,CAAC,IAAI;;;;4BAC/B,qBAAM,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA;;wBAAjC,SAAiC,CAAC;wBAElC,WAAW,CAAC,KAAK,CAAC,CAAA;;;;;KACnB;IAED,OAAO,CACL,gCAAI,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,aAE1B,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,yBAAK,IACJ,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,cAAM,OAAA,WAAW,CAAC,KAAK,CAAC,EAAlB,CAAkB,EACjC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,EAC1C,OAAO,EAAE,mCAAQ,IAAI,EAAC,QAAQ,uBAAgB,EAC9C,OAAO,EAAE,uBAAC,yCAAkB,eAAK,OAAO,CAAC,IAAI,IAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,IAAG,EAC3F,MAAM,EAAE,cAAM,OAAA,WAAW,CAAC,IAAI,CAAC,EAAjB,CAAiB,GAC/B,CACH,EAEA,OAAO,CAAC,MAAM,IAAI,uBAAC,cAAI,IAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,wBAAgB,EACnE,OAAO,CAAC,MAAM,IAAI,CACjB,mCAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAArB,CAAqB,wBAEjD,CACV,IACE,CACN,CAAA;AACH,CAAC;AA/BD,0BA+BC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/actions/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAChC,mDAA4B;AAE5B,uDAAyC;AAEzC,0FAAsF;AACtF,2BAA2B;AAE3B,SAAgB,OAAO,CAAC,EAAyD;;QAAvD,OAAO,aAAA,EAAE,KAAK,WAAA;IAChC,IAAA,KAA0B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAxC,QAAQ,QAAA,EAAE,WAAW,QAAmB,CAAA;IAE/C,SAAe,aAAa,CAAC,IAAI;;;;4BAC/B,qBAAM,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA;;wBAAjC,SAAiC,CAAA;wBAEjC,WAAW,CAAC,KAAK,CAAC,CAAA;;;;;KACnB;IAED,OAAO,CACL,gCAAI,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,aAC1B,OAAO,CAAC,IAAI;gBACX,CAAC,CAAA,MAAA,OAAO,CAAC,IAAI,0CAAE,IAAI,EAAC,CAAC,CAAC,CACpB,wBAAC,cAAI,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,aACtC,CAAA,MAAA,OAAO,CAAC,IAAI,CAAC,IAAI,0CAAE,IAAI,KAAI,uBAAC,SAAI,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,GAAI,EACjE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAClB,CACR,CAAC,CAAC,CAAC,CACF,uBAAC,yBAAK,IACJ,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,cAAM,OAAA,WAAW,CAAC,KAAK,CAAC,EAAlB,CAAkB,EACjC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,EAC1C,OAAO,EAAE,mCAAQ,IAAI,EAAC,QAAQ,uBAAgB,EAC9C,OAAO,EAAE,uBAAC,yCAAkB,eAAK,OAAO,CAAC,IAAI,IAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,IAAI,EAC5F,MAAM,EAAE,cAAM,OAAA,WAAW,CAAC,IAAI,CAAC,EAAjB,CAAiB,GAC/B,CACH,CAAC,EAEH,OAAO,CAAC,MAAM,IAAI,uBAAC,cAAI,IAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,wBAAgB,EACnE,OAAO,CAAC,MAAM,IAAI,CACjB,mCAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAArB,CAAqB,wBAEjD,CACV,IACE,CACN,CAAA;AACH,CAAC;AApCD,0BAoCC"}
@@ -1,4 +1,4 @@
1
- import { ActionsTable } from '../../../interfaces';
1
+ import { ActionsTable } from '../../../interfaces.js';
2
2
  export declare function CreateAction({ actions }: {
3
3
  actions: ActionsTable;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -46,15 +46,21 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
46
46
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
47
  }
48
48
  };
49
+ var __importDefault = (this && this.__importDefault) || function (mod) {
50
+ return (mod && mod.__esModule) ? mod : { "default": mod };
51
+ };
49
52
  Object.defineProperty(exports, "__esModule", { value: true });
50
53
  exports.CreateAction = void 0;
51
54
  var jsx_runtime_1 = require("react/jsx-runtime");
52
55
  var react_1 = require("react");
53
56
  var semantic_ui_react_1 = require("semantic-ui-react");
54
- var dynamic_form_handler_1 = require("@/ui/components/form/handler/dynamic_form_handler");
57
+ var dynamic_form_handler_1 = require("../../../../../../../../ui/components/form/handler/dynamic_form_handler/index.js");
58
+ var link_1 = __importDefault(require("next/link"));
59
+ var ui_1 = require("../../../../../../../../ui/index.js");
55
60
  function CreateAction(_a) {
61
+ var _b, _c;
56
62
  var actions = _a.actions;
57
- var _b = (0, react_1.useState)(false), openCreate = _b[0], setOpenCreate = _b[1];
63
+ var _d = (0, react_1.useState)(false), openCreate = _d[0], setOpenCreate = _d[1];
58
64
  function onSuccessCreate(data) {
59
65
  return __awaiter(this, void 0, void 0, function () {
60
66
  return __generator(this, function (_a) {
@@ -68,7 +74,8 @@ function CreateAction(_a) {
68
74
  });
69
75
  });
70
76
  }
71
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: actions.create && ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openCreate, onClose: function () { return setOpenCreate(false); }, style: { maxWidth: 512, borderRadius: 10 }, trigger: (0, jsx_runtime_1.jsx)("button", { type: 'button', children: "Criar" }), content: (0, jsx_runtime_1.jsx)(dynamic_form_handler_1.DynamicFormHandler, __assign({}, actions.create, { onSucess: onSuccessCreate })), onOpen: function () { return setOpenCreate(true); } })) }));
77
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: actions.create &&
78
+ (((_b = actions.create) === null || _b === void 0 ? void 0 : _b.link) ? ((0, jsx_runtime_1.jsxs)(link_1.default, { href: actions.create.link, children: [((_c = actions.create.link) === null || _c === void 0 ? void 0 : _c.icon) && (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: actions.create.link.icon }), actions.create.link.text] })) : ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openCreate, onClose: function () { return setOpenCreate(false); }, style: { maxWidth: 512, borderRadius: 10 }, trigger: (0, jsx_runtime_1.jsx)("button", { type: 'button', children: "Criar" }), content: (0, jsx_runtime_1.jsx)(dynamic_form_handler_1.DynamicFormHandler, __assign({}, actions.create, { onSucess: onSuccessCreate })), onOpen: function () { return setOpenCreate(true); } }))) }));
72
79
  }
73
80
  exports.CreateAction = CreateAction;
74
81
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/create/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAEhC,uDAAyC;AAEzC,0FAAuF;AAEvF,SAAgB,YAAY,CAAC,EAAsC;QAApC,OAAO,aAAA;IAC9B,IAAA,KAA8B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAA;IAEnD,SAAe,eAAe,CAAC,IAAI;;;;4BACjC,qBAAM,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA;;wBAAnC,SAAmC,CAAA;wBAEnC,aAAa,CAAC,KAAK,CAAC,CAAA;;;;;KACrB;IAED,OAAO,CACL,2DACG,OAAO,CAAC,MAAM,IAAI,CACjB,uBAAC,yBAAK,IACJ,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,cAAM,OAAA,aAAa,CAAC,KAAK,CAAC,EAApB,CAAoB,EACnC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,EAC1C,OAAO,EAAE,mCAAQ,IAAI,EAAC,QAAQ,sBAAe,EAC7C,OAAO,EAAE,uBAAC,yCAAkB,eAAK,OAAO,CAAC,MAAM,IAAE,QAAQ,EAAE,eAAe,IAAI,EAC9E,MAAM,EAAE,cAAM,OAAA,aAAa,CAAC,IAAI,CAAC,EAAnB,CAAmB,GACjC,CACH,GACA,CACJ,CAAA;AACH,CAAC;AAvBD,oCAuBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/create/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAEhC,uDAAyC;AAEzC,0FAAsF;AACtF,mDAA4B;AAC5B,2BAA2B;AAE3B,SAAgB,YAAY,CAAC,EAAsC;;QAApC,OAAO,aAAA;IAC9B,IAAA,KAA8B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAA;IAEnD,SAAe,eAAe,CAAC,IAAI;;;;4BACjC,qBAAM,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA;;wBAAnC,SAAmC,CAAA;wBAEnC,aAAa,CAAC,KAAK,CAAC,CAAA;;;;;KACrB;IAED,OAAO,CACL,2DACG,OAAO,CAAC,MAAM;YACb,CAAC,CAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,IAAI,EAAC,CAAC,CAAC,CACtB,wBAAC,cAAI,IAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,aAC5B,CAAA,MAAA,OAAO,CAAC,MAAM,CAAC,IAAI,0CAAE,IAAI,KAAI,uBAAC,SAAI,IAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,GAAI,EAErE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,IACpB,CACR,CAAC,CAAC,CAAC,CACF,uBAAC,yBAAK,IACJ,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,cAAM,OAAA,aAAa,CAAC,KAAK,CAAC,EAApB,CAAoB,EACnC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,EAC1C,OAAO,EAAE,mCAAQ,IAAI,EAAC,QAAQ,sBAAe,EAC7C,OAAO,EAAE,uBAAC,yCAAkB,eAAK,OAAO,CAAC,MAAM,IAAE,QAAQ,EAAE,eAAe,IAAI,EAC9E,MAAM,EAAE,cAAM,OAAA,aAAa,CAAC,IAAI,CAAC,EAAnB,CAAmB,GACjC,CACH,CAAC,GACH,CACJ,CAAA;AACH,CAAC;AA9BD,oCA8BC"}
@@ -1,2 +1,2 @@
1
- import { ITableProps } from './interfaces';
1
+ import { ITableProps } from './interfaces.js';
2
2
  export declare function Table({ configs, isFetching, columnsConfiguration, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
@@ -37,14 +37,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Table = void 0;
38
38
  var jsx_runtime_1 = require("react/jsx-runtime");
39
39
  var router_1 = require("next/router");
40
- var ui_1 = require("@/ui");
41
- var system_1 = require("@/system");
42
- var actions_1 = require("./actions");
43
- var create_1 = require("./create");
44
- var thead_item_1 = require("./thead-item");
45
- var pagination_1 = require("./pagination");
46
- var loader_table_1 = require("./loader-table");
47
- var S = __importStar(require("./styles"));
40
+ var ui_1 = require("../../../../../../../ui/index.js");
41
+ var system_1 = require("../../../../../../../system/index.js");
42
+ var actions_1 = require("./actions/index.js");
43
+ var create_1 = require("./create/index.js");
44
+ var thead_item_1 = require("./thead-item/index.js");
45
+ var pagination_1 = require("./pagination/index.js");
46
+ var loader_table_1 = require("./loader-table/index.js");
47
+ var S = __importStar(require("./styles.js"));
48
48
  function Table(_a) {
49
49
  var _b, _c, _d;
50
50
  var configs = _a.configs, isFetching = _a.isFetching, columnsConfiguration = _a.columnsConfiguration, tableInformations = _a.tableInformations;
@@ -1,5 +1,5 @@
1
- import { List, Pagination } from "@/system";
2
- import { IUseTableProps } from "../../interfaces";
1
+ import { List, Pagination } from "../../../../../../../system/index.js";
2
+ import { IUseTableProps } from "../../interfaces.js";
3
3
  type colunm = keyof any;
4
4
  interface IShowHiden {
5
5
  text: string;
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.LoaderTable = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
- var S = __importStar(require("./styles"));
28
+ var S = __importStar(require("./styles.js"));
29
29
  function LoaderTable() {
30
30
  return ((0, jsx_runtime_1.jsx)(S.LoaderTable, { children: "LOADER COLOCAR" }));
31
31
  }
@@ -1,2 +1,2 @@
1
- import { PaginationModel } from "@/system";
1
+ import { PaginationModel } from "../../../../../../../../system/index.js";
2
2
  export declare function Pagination({ page, endPage, pageSize, totalItems, hasNextPage, hasPreviousPage, }: PaginationModel): import("react/jsx-runtime").JSX.Element;
@@ -27,9 +27,9 @@ exports.Pagination = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
28
  var react_1 = require("react");
29
29
  var router_1 = require("next/router");
30
- var ui_1 = require("@/ui");
31
- var service_1 = require("./service");
32
- var S = __importStar(require("./styles"));
30
+ var ui_1 = require("../../../../../../../../ui/index.js");
31
+ var service_1 = require("./service.js");
32
+ var S = __importStar(require("./styles.js"));
33
33
  function Pagination(_a) {
34
34
  var page = _a.page, endPage = _a.endPage, pageSize = _a.pageSize, totalItems = _a.totalItems, hasNextPage = _a.hasNextPage, hasPreviousPage = _a.hasPreviousPage;
35
35
  var _b = (0, react_1.useState)(null), pagination = _b[0], setPagination = _b[1];
@@ -1,2 +1,2 @@
1
- import { ITHeadItemProps } from './interfaces';
1
+ import { ITHeadItemProps } from './interfaces.js';
2
2
  export declare function THeadItem({ colunm, index, disableOrdenationTable }: ITHeadItemProps): import("react/jsx-runtime").JSX.Element;
@@ -27,8 +27,8 @@ exports.THeadItem = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
28
  var react_1 = require("react");
29
29
  var router_1 = require("next/router");
30
- var ui_1 = require("@/ui");
31
- var S = __importStar(require("./styles"));
30
+ var ui_1 = require("../../../../../../../../ui/index.js");
31
+ var S = __importStar(require("./styles.js"));
32
32
  function THeadItem(_a) {
33
33
  var _b, _c;
34
34
  var colunm = _a.colunm, index = _a.index, disableOrdenationTable = _a.disableOrdenationTable;
@@ -1,4 +1,4 @@
1
- import { Column } from "../../../interfaces";
1
+ import { Column } from "../../../interfaces.js";
2
2
  export interface ITHeadItemProps {
3
3
  index: number;
4
4
  colunm: Column;
@@ -1,3 +1,3 @@
1
- export * from "./component";
2
- export * from "./components";
3
- export * from "./interfaces";
1
+ export * from "./component.js";
2
+ export * from "./components/index.js";
3
+ export * from "./interfaces.js";
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./component"), exports);
18
- __exportStar(require("./components"), exports);
19
- __exportStar(require("./interfaces"), exports);
17
+ __exportStar(require("./component.js"), exports);
18
+ __exportStar(require("./components/index.js"), exports);
19
+ __exportStar(require("./interfaces.js"), exports);
20
20
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { PaginationModel } from '@/system';
3
- import { DynamicFormHandlerProps } from '@/ui/components/form/handler/dynamic_form_handler/interfaces';
2
+ import { PaginationModel } from '../../../../../system/index.js';
3
+ import { IconsNames } from '../../../../../ui/index.js';
4
+ import { DynamicFormHandlerProps } from '../../../../../ui/components/form/handler/dynamic_form_handler/interfaces.js';
4
5
  interface Column<T = any> {
5
6
  id: keyof T;
6
7
  label: string;
@@ -39,8 +40,22 @@ type QueryTable<M = any> = {
39
40
  requireUser?: boolean;
40
41
  };
41
42
  type ActionsTable<T = any> = {
42
- edit?: DynamicFormHandlerProps<T>;
43
- create?: DynamicFormHandlerProps<T>;
43
+ edit?: {
44
+ link?: {
45
+ href: (table: {
46
+ [key in keyof T]: string;
47
+ }) => string;
48
+ text: string;
49
+ icon?: IconsNames;
50
+ };
51
+ } & DynamicFormHandlerProps<T>;
52
+ create?: {
53
+ link?: {
54
+ href: string;
55
+ text: string;
56
+ icon?: IconsNames;
57
+ };
58
+ } & DynamicFormHandlerProps<T>;
44
59
  delete?: (table: {
45
60
  [key in keyof T]: T[key];
46
61
  }) => void;
@@ -1,3 +1,3 @@
1
- import { List, Pagination } from '@/system';
2
- import { QueryTable } from './interfaces';
1
+ import { List, Pagination } from '../../../../../system/index.js';
2
+ import { QueryTable } from './interfaces.js';
3
3
  export declare function useQueryTable({ queryKey, user, requireUser, Types, container }: QueryTable): import("swr/dist/_internal").SWRResponse<List<any> & Pagination, any, any>;
@@ -1,5 +1,5 @@
1
- export * from './utils';
2
- export * from './hooks';
3
- export * from './configs';
4
- export * from './context';
5
- export * from './components';
1
+ export * from './utils/index.js';
2
+ export * from './hooks/index.js';
3
+ export * from './configs/index.js';
4
+ export * from './context/index.js';
5
+ export * from './components/index.js';
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./utils"), exports);
18
- __exportStar(require("./hooks"), exports);
19
- __exportStar(require("./configs"), exports);
20
- __exportStar(require("./context"), exports);
21
- __exportStar(require("./components"), exports);
17
+ __exportStar(require("./utils/index.js"), exports);
18
+ __exportStar(require("./hooks/index.js"), exports);
19
+ __exportStar(require("./configs/index.js"), exports);
20
+ __exportStar(require("./context/index.js"), exports);
21
+ __exportStar(require("./components/index.js"), exports);
22
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export * from './use-query';
1
+ export * from './use-query/index.js';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./use-query"), exports);
17
+ __exportStar(require("./use-query/index.js"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export * from './call-api-one-time';
1
+ export * from './call-api-one-time.js';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./call-api-one-time"), exports);
17
+ __exportStar(require("./call-api-one-time.js"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import { AccordionProps } from './interfaces';
1
+ import { AccordionProps } from './interfaces.js';
2
2
  export declare function Accordion({ title, openIcon, closeIcon, children }: AccordionProps): import("react/jsx-runtime").JSX.Element;
@@ -26,8 +26,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Accordion = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
28
  var react_1 = require("react");
29
- var ui_1 = require("@/ui");
30
- var S = __importStar(require("./styles"));
29
+ var ui_1 = require("../../../ui/index.js");
30
+ var S = __importStar(require("./styles.js"));
31
31
  function Accordion(_a) {
32
32
  var title = _a.title, openIcon = _a.openIcon, closeIcon = _a.closeIcon, children = _a.children;
33
33
  var _b = (0, react_1.useState)(false), isOpen = _b[0], setIsOpen = _b[1];
@@ -1,2 +1,2 @@
1
- import { IBreadcrumbProps } from './interfaces';
1
+ import { IBreadcrumbProps } from './interfaces.js';
2
2
  export declare function Breadcrumb({ links }: IBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
@@ -30,7 +30,7 @@ exports.Breadcrumb = void 0;
30
30
  var jsx_runtime_1 = require("react/jsx-runtime");
31
31
  var link_1 = __importDefault(require("next/link"));
32
32
  var router_1 = require("next/router");
33
- var S = __importStar(require("./styles"));
33
+ var S = __importStar(require("./styles.js"));
34
34
  var react_1 = require("react");
35
35
  function Breadcrumb(_a) {
36
36
  var _b, _c;
@@ -1,2 +1,2 @@
1
- import { ButtonProps } from './interfaces';
1
+ import { ButtonProps } from './interfaces.js';
2
2
  export declare function Button({ text, href, type, loading, svg, target, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -51,8 +51,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.Button = void 0;
52
52
  var jsx_runtime_1 = require("react/jsx-runtime");
53
53
  var link_1 = __importDefault(require("next/link"));
54
- var ui_1 = require("@/ui");
55
- var S = __importStar(require("./styles"));
54
+ var ui_1 = require("../../../ui/index.js");
55
+ var S = __importStar(require("./styles.js"));
56
56
  function Button(_a) {
57
57
  var text = _a.text, href = _a.href, type = _a.type, loading = _a.loading, svg = _a.svg, target = _a.target, props = __rest(_a, ["text", "href", "type", "loading", "svg", "target"]);
58
58
  var contentButton = ((0, jsx_runtime_1.jsxs)("div", { className: 'button-icon', children: [svg && svg && (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: svg }), loading ? (0, jsx_runtime_1.jsx)(ui_1.LoaderCircle, { size: 30, color: '#000' }) : (0, jsx_runtime_1.jsx)("span", { children: text })] }));
@@ -1,2 +1,2 @@
1
- export * from "./component";
2
- export * from "./interfaces";
1
+ export * from "./component.js";
2
+ export * from "./interfaces.js";
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./component"), exports);
18
- __exportStar(require("./interfaces"), exports);
17
+ __exportStar(require("./component.js"), exports);
18
+ __exportStar(require("./interfaces.js"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IconsNames } from '@/ui';
2
+ import { IconsNames } from '../../../ui/index.js';
3
3
  export interface ButtonProps extends React.ButtonHTMLAttributes<any> {
4
4
  text: string;
5
5
  href?: string;
@@ -1,2 +1,2 @@
1
- import { IContainerProps } from './interfaces';
1
+ import { IContainerProps } from './interfaces.js';
2
2
  export declare function Container({ children }: IContainerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IErrorBoundary } from './interfaces';
1
+ import { IErrorBoundary } from './interfaces.js';
2
2
  export declare function Error({ name, children }: IErrorBoundary): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Error = void 0;
4
4
  var jsx_runtime_1 = require("react/jsx-runtime");
5
5
  var react_error_boundary_1 = require("react-error-boundary");
6
- var error_body_1 = require("./error-body");
6
+ var error_body_1 = require("./error-body.js");
7
7
  function Error(_a) {
8
8
  var name = _a.name, children = _a.children;
9
9
  return (0, jsx_runtime_1.jsx)(react_error_boundary_1.ErrorBoundary, { FallbackComponent: function () { return (0, error_body_1.ErrorBoundaryComponent)({ name: name }); }, children: children });
@@ -1,2 +1,2 @@
1
- import { IErrorBoundaryComponentProps } from './interfaces';
1
+ import { IErrorBoundaryComponentProps } from './interfaces.js';
2
2
  export declare const ErrorBoundaryComponent: ({ name }: IErrorBoundaryComponentProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- export * from './component';
2
- export * from './interfaces';
1
+ export * from './component.js';
2
+ export * from './interfaces.js';
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./component"), exports);
18
- __exportStar(require("./interfaces"), exports);
17
+ __exportStar(require("./component.js"), exports);
18
+ __exportStar(require("./interfaces.js"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -37,9 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.InputCheckbox = void 0;
38
38
  var jsx_runtime_1 = require("react/jsx-runtime");
39
39
  var formik_1 = require("formik");
40
- var error_1 = require("../input-control/error");
41
- var input_control_1 = require("../input-control");
42
- var S = __importStar(require("./styles"));
40
+ var error_1 = require("../input-control/error/index.js");
41
+ var input_control_1 = require("../input-control/index.js");
42
+ var S = __importStar(require("./styles.js"));
43
43
  function InputCheckbox(props) {
44
44
  var field = (0, formik_1.useField)({ name: props.name })[0];
45
45
  return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { name: props.name, children: (0, jsx_runtime_1.jsxs)(S.InputCheckbox, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'list-radios', children: props.options.map(function (option, index) { return ((0, jsx_runtime_1.jsxs)("label", { htmlFor: props.name + index, children: [(0, jsx_runtime_1.jsx)("input", __assign({ id: props.name + index }, field, { type: 'checkbox', value: option.value })), option.label] }, option.value)); }) }), (0, jsx_runtime_1.jsx)(error_1.ErrorMessage, { name: props.name })] }) })));
@@ -1,5 +1,5 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
- import { ButtonProps } from '@/ui';
2
+ import { ButtonProps } from '../../../../../ui/index.js';
3
3
  export type ICustomSubmitProps = {
4
4
  props: ButtonProps;
5
5
  action: (data: any, setStateForm: Dispatch<SetStateAction<{
@@ -13,7 +13,7 @@ var __assign = (this && this.__assign) || function () {
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.CustomSubmitButton = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
- var ui_1 = require("@/ui");
16
+ var ui_1 = require("../../../../../ui/index.js");
17
17
  function CustomSubmitButton(_a) {
18
18
  var props = _a.props, action = _a.action, stateForm = _a.stateForm, onSubmit = _a.onSubmit;
19
19
  return (0, jsx_runtime_1.jsx)(ui_1.Button, __assign({}, props, { type: 'button', onClick: function () { return onSubmit(action); }, loading: stateForm.state === 'loading' }));
@@ -1,2 +1,2 @@
1
- import { DynamicFormHandlerProps } from './interfaces';
1
+ import { DynamicFormHandlerProps } from './interfaces.js';
2
2
  export declare function DynamicFormHandler(props: DynamicFormHandlerProps): import("react/jsx-runtime").JSX.Element;
@@ -75,10 +75,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
75
75
  Object.defineProperty(exports, "__esModule", { value: true });
76
76
  exports.DynamicFormHandler = void 0;
77
77
  var jsx_runtime_1 = require("react/jsx-runtime");
78
- var __1 = require("..");
79
- var loader_circle_1 = require("@/ui/components/loader-circle");
78
+ var __1 = require("../index.js");
79
+ var loader_circle_1 = require("../../../../../ui/components/loader-circle/index.js");
80
80
  var swr_1 = __importDefault(require("swr"));
81
- var Inputs = __importStar(require("../../index"));
81
+ var Inputs = __importStar(require("../../index.js"));
82
82
  function DynamicFormHandler(props) {
83
83
  function fetcher() {
84
84
  var _a;
@@ -1,19 +1,19 @@
1
- import { IconsNames } from '@/ui/icons';
2
- import * as Inputs from '../../index';
3
- import { ISelectProps } from '../../select/interfaces';
4
- import { IFormHandler } from '../interfaces';
1
+ import { IconsNames } from '../../../../../ui/icons/index.js';
2
+ import * as Inputs from '../../index.js';
3
+ import { ISelectProps } from '../../select/interfaces.js';
4
+ import { IFormHandler } from '../interfaces.js';
5
5
  type InputProps<T = any> = {
6
6
  name: keyof T;
7
7
  inputComponent: keyof typeof Inputs;
8
8
  } & Partial<Omit<ISelectProps, 'name'>>;
9
9
  export type DynamicFormHandlerProps<T = any> = Partial<IFormHandler> & {
10
- button: {
10
+ button?: {
11
11
  text?: string;
12
12
  icon?: IconsNames;
13
13
  };
14
14
  tableItem?: any;
15
- title: string;
16
- inputs: InputProps<T>[][];
15
+ title?: string;
16
+ inputs?: InputProps<T>[][];
17
17
  getDetails?: {
18
18
  key: (params: {
19
19
  [key in keyof T]: T[key];
@@ -1,2 +1,2 @@
1
- import { IFormHandler } from '../interfaces';
1
+ import { IFormHandler } from '../interfaces.js';
2
2
  export default function FormElement({ button, children, onSucess, customSubmit, onChangeForm }: IFormHandler): import("react/jsx-runtime").JSX.Element;
@@ -82,11 +82,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
82
82
  var jsx_runtime_1 = require("react/jsx-runtime");
83
83
  var react_1 = require("react");
84
84
  var formik_1 = require("formik");
85
- var ui_1 = require("@/ui");
86
- var custom_submit_1 = require("../custom-submit");
87
- var S = __importStar(require("../styles"));
88
- var system_1 = require("@/system");
89
- var conflict_error_1 = require("@/system/domain/protocols/http/errors/http-errors/conflict-error");
85
+ var ui_1 = require("../../../../../ui/index.js");
86
+ var custom_submit_1 = require("../custom-submit/index.js");
87
+ var S = __importStar(require("../styles.js"));
88
+ var system_1 = require("../../../../../system/index.js");
89
+ var conflict_error_1 = require("../../../../../system/domain/protocols/http/errors/http-errors/conflict-error.js");
90
90
  function FormElement(_a) {
91
91
  var button = _a.button, children = _a.children, onSucess = _a.onSucess, customSubmit = _a.customSubmit, onChangeForm = _a.onChangeForm;
92
92
  var _b = (0, react_1.useState)({ state: '', message: '' }), stateForm = _b[0], setStateForm = _b[1];
@@ -1,2 +1,2 @@
1
- import { IFormHandler } from './interfaces';
1
+ import { IFormHandler } from './interfaces.js';
2
2
  export declare function FormHandler(props: IFormHandler): import("react/jsx-runtime").JSX.Element;
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.FormHandler = void 0;
18
18
  var jsx_runtime_1 = require("react/jsx-runtime");
19
19
  var formik_1 = require("formik");
20
- var form_handler_1 = __importDefault(require("./form-handler"));
20
+ var form_handler_1 = __importDefault(require("./form-handler/index.js"));
21
21
  function FormHandler(props) {
22
22
  return ((0, jsx_runtime_1.jsx)(formik_1.Formik, { initialValues: props.initialData || {}, onSubmit: function () { }, children: (0, jsx_runtime_1.jsx)(formik_1.Form, { children: (0, jsx_runtime_1.jsx)(form_handler_1.default, __assign({}, props, { children: props.children })) }) }));
23
23
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ButtonProps } from '@/ui';
3
- import { ICustomSubmitProps } from './custom-submit';
2
+ import { ButtonProps } from '../../../../ui/index.js';
3
+ import { ICustomSubmitProps } from './custom-submit/index.js';
4
4
  export interface IFormHandler {
5
5
  ref?: any;
6
6
  onSucess?: (data: any) => void;
@@ -1,13 +1,13 @@
1
- export * from "./input";
2
- export * from "./radio";
3
- export * from "./select";
4
- export * from "./handler";
5
- export * from "./textarea";
6
- export * from "./checkbox";
7
- export * from "./input-mask";
8
- export * from "./input-file";
9
- export * from "./input-switch";
10
- export * from "./input-control";
11
- export * from "./input-password";
12
- export * from "./input-cpf-cnpj";
13
- export * from "./input-currency";
1
+ export * from "./input/index.js";
2
+ export * from "./radio/index.js";
3
+ export * from "./select/index.js";
4
+ export * from "./handler/index.js";
5
+ export * from "./textarea/index.js";
6
+ export * from "./checkbox/index.js";
7
+ export * from "./input-mask/index.js";
8
+ export * from "./input-file/index.js";
9
+ export * from "./input-switch/index.js";
10
+ export * from "./input-control/index.js";
11
+ export * from "./input-password/index.js";
12
+ export * from "./input-cpf-cnpj/index.js";
13
+ export * from "./input-currency/index.js";